potlatch2.git
9 years agoImpliment ExternalInterface calls for preventing windowunload when changes need saving
Andy Allan [Fri, 3 Sep 2010 18:46:03 +0000 (18:46 +0000)]
Impliment ExternalInterface calls for preventing windowunload when changes need saving

9 years agoAdd a little dark-red border to make overlapping nodes a little easier to spot
Andy Allan [Fri, 3 Sep 2010 17:15:27 +0000 (17:15 +0000)]
Add a little dark-red border to make overlapping nodes a little easier to spot

9 years agoFix two map-panning bugs - when drawing a way (doesn't do sharedmouseevents) and...
Andy Allan [Fri, 3 Sep 2010 17:15:25 +0000 (17:15 +0000)]
Fix two map-panning bugs - when drawing a way (doesn't do sharedmouseevents) and also handle when dragstate=NOT_MOVED

9 years agoPrevent error if + pressed while nothing is selected
Andy Allan [Fri, 3 Sep 2010 14:08:35 +0000 (14:08 +0000)]
Prevent error if + pressed while nothing is selected

9 years agoAdjust behaviour of numberEditor - add clear button, and explanitory text for when...
Andy Allan [Fri, 3 Sep 2010 12:37:56 +0000 (12:37 +0000)]
Adjust behaviour of numberEditor - add clear button, and explanitory text for when its disabled.

9 years agoFix backspaceNode leaving junctions highlighted
Andy Allan [Fri, 3 Sep 2010 11:04:41 +0000 (11:04 +0000)]
Fix backspaceNode leaving junctions highlighted

9 years agoYahoo fixes
Richard Fairhurst [Thu, 2 Sep 2010 21:14:15 +0000 (21:14 +0000)]
Yahoo fixes

9 years agopress S to save, C to close changeset
Richard Fairhurst [Thu, 2 Sep 2010 20:54:28 +0000 (20:54 +0000)]
press S to save, C to close changeset

9 years agoModify the add junction code to run all the necessary changes into one Composite...
Andy Allan [Thu, 2 Sep 2010 18:54:05 +0000 (18:54 +0000)]
Modify the add junction code to run all the necessary changes into one Composite Action. Fixes another undo bug

9 years agoUpdate TODO with a few yahoo-related bugs
Andy Allan [Thu, 2 Sep 2010 17:06:44 +0000 (17:06 +0000)]
Update TODO with a few yahoo-related bugs

9 years agokeep changesets open throughout subsequent uploads, unless we go past the timeout
Richard Fairhurst [Thu, 2 Sep 2010 16:52:11 +0000 (16:52 +0000)]
keep changesets open throughout subsequent uploads, unless we go past the timeout

9 years agoUpgrade flexlib to 2.5 release. Fixes infinite loop in SuperTabNavigator dropdown.
Andy Allan [Thu, 2 Sep 2010 16:05:22 +0000 (16:05 +0000)]
Upgrade flexlib to 2.5 release. Fixes infinite loop in SuperTabNavigator dropdown.

http://code.google.com/p/flexlib/issues/detail?id=271

9 years agodouble-click to add new tag
Richard Fairhurst [Thu, 2 Sep 2010 14:58:19 +0000 (14:58 +0000)]
double-click to add new tag

9 years agoFind and fix issues with fill colours being black and use isNaN comparisons
Andy Allan [Thu, 2 Sep 2010 14:33:03 +0000 (14:33 +0000)]
Find and fix issues with fill colours being black and use isNaN comparisons

9 years agocursor-key panning, and fix "infinite drag" bug
Richard Fairhurst [Thu, 2 Sep 2010 11:41:55 +0000 (11:41 +0000)]
cursor-key panning, and fix "infinite drag" bug

9 years agoadd + and T keypresses
Richard Fairhurst [Thu, 2 Sep 2010 11:22:52 +0000 (11:22 +0000)]
add + and T keypresses

9 years agoAdding website box
Serge Wroclawski [Thu, 2 Sep 2010 01:59:02 +0000 (01:59 +0000)]
Adding website box

9 years agoFirst stab at getting nodes with interesting tags to show up. Few kinks need to be...
Andy Allan [Wed, 1 Sep 2010 19:07:06 +0000 (19:07 +0000)]
First stab at getting nodes with interesting tags to show up. Few kinks need to be worked out

9 years agoFix the backspace+zero length way blocker.
Andy Allan [Wed, 1 Sep 2010 17:21:43 +0000 (17:21 +0000)]
Fix the backspace+zero length way blocker.

9 years agobetter "drop point or drag map?" detection (same logic as P1)
Richard Fairhurst [Wed, 1 Sep 2010 14:02:33 +0000 (14:02 +0000)]
better "drop point or drag map?" detection (same logic as P1)

9 years agoRecalculate lengths when extending / shortening ways - allows names to update position
Andy Allan [Wed, 1 Sep 2010 13:39:38 +0000 (13:39 +0000)]
Recalculate lengths when extending / shortening ways - allows names to update position

9 years agoFix small flaw in the stylesheet choosing logic
Andy Allan [Wed, 1 Sep 2010 12:47:42 +0000 (12:47 +0000)]
Fix small flaw in the stylesheet choosing logic

9 years agoremove mx.controls.Alert dependency from halcyon_viewer - Flex should only be used...
Richard Fairhurst [Wed, 1 Sep 2010 12:27:17 +0000 (12:27 +0000)]
remove mx.controls.Alert dependency from halcyon_viewer - Flex should only be used in P2, not Halcyon

9 years agoDefault to the first style in the stylesheet list unless another one is passed via...
Andy Allan [Tue, 31 Aug 2010 17:00:04 +0000 (17:00 +0000)]
Default to the first style in the stylesheet list unless another one is passed via parameters or was previously saved.

This makes it easier to deploy with e.g. opencyclemap as the default style for first-time users, without overriding saved preferences with a loaderparam.

9 years agoFixed Stuff
Richard Fairhurst [Tue, 31 Aug 2010 16:26:02 +0000 (16:26 +0000)]
Fixed Stuff

9 years agoDon't attempt to update the elastic if the way has been removed already.
Andy Allan [Tue, 31 Aug 2010 14:49:47 +0000 (14:49 +0000)]
Don't attempt to update the elastic if the way has been removed already.

9 years agodisable caching when using Flash Debug Player
Richard Fairhurst [Tue, 31 Aug 2010 14:32:32 +0000 (14:32 +0000)]
disable caching when using Flash Debug Player

9 years agoDon't let editor panels fuck up _factory.relationTags
Richard Fairhurst [Tue, 31 Aug 2010 08:58:25 +0000 (08:58 +0000)]
Don't let editor panels fuck up _factory.relationTags

9 years agoModified JavaScript to allow passing of lat, lon and zoom into page in URL query.
Jonathan Bennett [Mon, 30 Aug 2010 21:49:56 +0000 (21:49 +0000)]
Modified JavaScript to allow passing of lat, lon and zoom into page in URL query.

9 years agoadd number spinner editor and remove excess boxes from other components
Dave Stubbs [Sun, 29 Aug 2010 16:06:21 +0000 (16:06 +0000)]
add number spinner editor and remove excess boxes from other components

9 years agoadd layer tag editing using a nice slider
Dave Stubbs [Sat, 28 Aug 2010 18:26:31 +0000 (18:26 +0000)]
add layer tag editing using a nice slider

9 years agoadd note to use Flex 3.4 or 3.5 to avoid http://bugs.adobe.com/jira/browse/SDK-16705
Dave Stubbs [Sat, 28 Aug 2010 16:46:16 +0000 (16:46 +0000)]
add note to use Flex 3.4 or 3.5 to avoid bugs.adobe.com/jira/browse/SDK-16705

9 years agostop scroll bars on tag choice boxes
Dave Stubbs [Sat, 28 Aug 2010 16:03:07 +0000 (16:03 +0000)]
stop scroll bars on tag choice boxes

9 years agoListen for changes to the way nodes, and update the elastic. Fixes another undo/redo...
Andy Allan [Thu, 26 Aug 2010 15:52:18 +0000 (15:52 +0000)]
Listen for changes to the way nodes, and update the elastic. Fixes another undo/redo glitch

9 years agoProtect setHightlightOnNodes against hover/click on POI (i.e. focus = entity = Node)
Andy Allan [Thu, 26 Aug 2010 15:10:24 +0000 (15:10 +0000)]
Protect setHightlightOnNodes against hover/click on POI (i.e. focus = entity = Node)

9 years agoUpdates to todo, and remove spurious comment about backspacenode (!= undo)
Andy Allan [Thu, 26 Aug 2010 14:03:47 +0000 (14:03 +0000)]
Updates to todo, and remove spurious comment about backspacenode (!= undo)

9 years agofew more TODOs
Richard Fairhurst [Thu, 26 Aug 2010 09:15:28 +0000 (09:15 +0000)]
few more TODOs

9 years agoMerge branch 'undo_drawway'
Andy Allan [Wed, 25 Aug 2010 16:57:32 +0000 (16:57 +0000)]
Merge branch 'undo_drawway'

9 years agomore style tweaks to make everything not blue and leave reasonable spaces
Dave Stubbs [Wed, 25 Aug 2010 16:57:06 +0000 (16:57 +0000)]
more style tweaks to make everything not blue and leave reasonable spaces

9 years agotidy up POI DND layout a bit, and make POI name appear as a tool tip rather than...
Dave Stubbs [Wed, 25 Aug 2010 14:58:41 +0000 (14:58 +0000)]
tidy up POI DND layout a bit, and make POI name appear as a tool tip rather than overriding the prompt

9 years agoUpdate MapPaint to redraw node if the UI already existed - e.g. redoing a new POI.
Andy Allan [Wed, 25 Aug 2010 13:35:46 +0000 (13:35 +0000)]
Update MapPaint to redraw node if the UI already existed - e.g. redoing a new POI.

9 years agoCreatePOIAction, so that redo has a chance to re-register POI and redraw it (not...
Andy Allan [Wed, 25 Aug 2010 13:35:45 +0000 (13:35 +0000)]
CreatePOIAction, so that redo has a chance to re-register POI and redraw it (not yet working)

9 years agoUndo the BeginWay when creating a POI. This avoids changing states of nodes directly...
Andy Allan [Wed, 25 Aug 2010 13:35:42 +0000 (13:35 +0000)]
Undo the BeginWay when creating a POI. This avoids changing states of nodes directly and makes subsequent undos only worry about the POI.

9 years agoConvert beginning a way to a specific (therefore detectable) CUA class
Andy Allan [Wed, 25 Aug 2010 13:35:40 +0000 (13:35 +0000)]
Convert beginning a way to a specific (therefore detectable) CUA class

9 years agoobviously
Richard Fairhurst [Tue, 24 Aug 2010 13:19:12 +0000 (13:19 +0000)]
obviously

9 years agoimprove GPS track support
Richard Fairhurst [Tue, 24 Aug 2010 13:17:43 +0000 (13:17 +0000)]
improve GPS track support

9 years agoFix two infinite loops in the one line: decrement counter towards zero, and a uint...
Andy Allan [Fri, 20 Aug 2010 17:01:15 +0000 (17:01 +0000)]
Fix two infinite loops in the one line: decrement counter towards zero, and a uint would always be >= 0

9 years agoTurn the undo/save issue from a bug to a feature
Andy Allan [Fri, 20 Aug 2010 14:22:16 +0000 (14:22 +0000)]
Turn the undo/save issue from a bug to a feature

9 years agoUpdate todo: splitway+undo now works fine
Andy Allan [Fri, 20 Aug 2010 13:32:20 +0000 (13:32 +0000)]
Update todo: splitway+undo now works fine

9 years agoReverse the markDirty and markClean for entity deletions, if the entity has a negativ...
Andy Allan [Fri, 20 Aug 2010 13:32:18 +0000 (13:32 +0000)]
Reverse the markDirty and markClean for entity deletions, if the entity has a negative id. Also add some hopefully useful comments on what's going on.

9 years agoAllow the CreateEntityAction to set/unset the dirty flags, rather than doing so direc...
Andy Allan [Fri, 20 Aug 2010 13:32:17 +0000 (13:32 +0000)]
Allow the CreateEntityAction to set/unset the dirty flags, rather than doing so directly on the connection when the new entity is created.

This allows undoing the CreateEntityAction an opportunity to mark the connection clean, if the creation was the first action.

9 years agoMore bugs found while investigating the undo work
Andy Allan [Fri, 20 Aug 2010 13:32:15 +0000 (13:32 +0000)]
More bugs found while investigating the undo work

9 years agoupdates to TODO
Andy Allan [Thu, 19 Aug 2010 13:57:45 +0000 (13:57 +0000)]
updates to TODO

9 years agoFirst stab at changing the UI styles - adding rounded corners and spacing to the...
Andy Allan [Thu, 19 Aug 2010 13:57:44 +0000 (13:57 +0000)]
First stab at changing the UI styles - adding rounded corners and spacing to the dndPanel

9 years agoSave state of the toolbox in SharedObject
Andy Allan [Thu, 19 Aug 2010 13:57:42 +0000 (13:57 +0000)]
Save state of the toolbox in SharedObject

9 years agoPrevent changes to created_by and version tags on changesets
Andy Allan [Tue, 17 Aug 2010 17:23:12 +0000 (17:23 +0000)]
Prevent changes to created_by and version tags on changesets

9 years agoA few more drawWay-related TODOs
Andy Allan [Tue, 17 Aug 2010 17:23:11 +0000 (17:23 +0000)]
A few more drawWay-related TODOs

9 years agoAdd things to todo before I forget
Andy Allan [Tue, 17 Aug 2010 16:08:32 +0000 (16:08 +0000)]
Add things to todo before I forget

9 years agoRemove quadralat from todo
Andy Allan [Tue, 17 Aug 2010 13:37:43 +0000 (13:37 +0000)]
Remove quadralat from todo

9 years agoFix copy+paste error - this is simplify, not straighten
Andy Allan [Tue, 17 Aug 2010 09:55:24 +0000 (09:55 +0000)]
Fix copy+paste error - this is simplify, not straighten

9 years agoFix for style switching. Might be better ways to do this with refactoring?
Andy Allan [Tue, 17 Aug 2010 09:53:37 +0000 (09:53 +0000)]
Fix for style switching. Might be better ways to do this with refactoring?

9 years agoadd todo
Richard Fairhurst [Mon, 9 Aug 2010 07:20:54 +0000 (07:20 +0000)]
add todo

9 years agoload GPS tracks from server, needs a bit of refinement still but the basics are there
Richard Fairhurst [Sun, 8 Aug 2010 14:36:05 +0000 (14:36 +0000)]
load GPS tracks from server, needs a bit of refinement still but the basics are there

9 years agoDon't drop a point if the user pans in a drawing mode
Richard Fairhurst [Sat, 7 Aug 2010 09:41:47 +0000 (09:41 +0000)]
Don't drop a point if the user pans in a drawing mode

9 years agocan fixing it really be this simple?
Richard Fairhurst [Mon, 2 Aug 2010 18:56:42 +0000 (18:56 +0000)]
can fixing it really be this simple?

9 years agoFix meadow.
Steve Bennett [Sun, 1 Aug 2010 14:50:10 +0000 (14:50 +0000)]
Fix meadow.

9 years agoAdd agricultural landuse=* tags.
Steve Bennett [Sun, 1 Aug 2010 14:30:39 +0000 (14:30 +0000)]
Add agricultural landuse=* tags.

9 years agoadd:
Steve Bennett [Thu, 29 Jul 2010 14:40:38 +0000 (14:40 +0000)]
add:
- accommodation category (split from tourism): motel, alpine hut, chalet
- misc category (contains places)
- tourism: attraction, information, artwork, theme park

fix:
- add name to tourist attractions, allow areas

icons:
- airport, helipad, blank transport
- blank power icon
- blank accommodation
- tourist blank, tourist information

9 years agoadd:
Steve Bennett [Thu, 29 Jul 2010 09:15:29 +0000 (09:15 +0000)]
add:
- roundabout
- rail electrification (inc voltage and frequency)
- service road categories
- religions for place of worship
- sports pitch types (sports)
- power station energy sources
- fuel types for petrol stations
- turning circle
- traffic calming

fix:
- road lanes (slider not implemented)
- spelling of laundrette

icons:
- icons/power_pole_24.png, icons/speed_hump_16.png, icons/power_tower_24.png (please replace at earliest convenience)

9 years ago- add airports
Steve Bennett [Wed, 28 Jul 2010 06:14:19 +0000 (06:14 +0000)]
- add airports
- add bike lanes
- add foot=yes/no
- extend rivers properties to stream,canal,drain etc
- add cuttings, embankments
- add bicycle=yes/no
- add tentative documentation at top (needs review)
- add power (poles, pylons etc)

Probably some other stuff I have forgotten.

9 years agoMake Quadralaterawhatsit properly undoable
Andy Allan [Sun, 25 Jul 2010 17:14:01 +0000 (17:14 +0000)]
Make Quadralaterawhatsit properly undoable

9 years agorefactor node stateClasses and stylelist calculation
Richard Fairhurst [Tue, 13 Jul 2010 08:46:12 +0000 (08:46 +0000)]
refactor node stateClasses and stylelist calculation

9 years agoremove commented-out line
Richard Fairhurst [Mon, 12 Jul 2010 15:28:18 +0000 (15:28 +0000)]
remove commented-out line

9 years agoblimey, is this still here?
Richard Fairhurst [Mon, 12 Jul 2010 15:23:16 +0000 (15:23 +0000)]
blimey, is this still here?

9 years agosquish a couple of redraw bugs
Richard Fairhurst [Sat, 10 Jul 2010 01:48:48 +0000 (01:48 +0000)]
squish a couple of redraw bugs

9 years agoslash and burn trace statements, and fix areas on vector background layers
Richard Fairhurst [Fri, 9 Jul 2010 19:35:02 +0000 (19:35 +0000)]
slash and burn trace statements, and fix areas on vector background layers

9 years agogive it a big z-index so POIs in ways appear above the way
Richard Fairhurst [Fri, 9 Jul 2010 16:25:16 +0000 (16:25 +0000)]
give it a big z-index so POIs in ways appear above the way

9 years agobetter still...
Richard Fairhurst [Fri, 9 Jul 2010 16:20:27 +0000 (16:20 +0000)]
better still...

9 years agosee if this fixes the "non-instantiator" issue
Richard Fairhurst [Fri, 9 Jul 2010 16:18:20 +0000 (16:18 +0000)]
see if this fixes the "non-instantiator" issue

9 years agooops
Richard Fairhurst [Fri, 9 Jul 2010 16:11:12 +0000 (16:11 +0000)]
oops

9 years ago16x16 icons for default stylesheet
Richard Fairhurst [Fri, 9 Jul 2010 16:09:09 +0000 (16:09 +0000)]
16x16 icons for default stylesheet

9 years agoone or two icons
Richard Fairhurst [Fri, 9 Jul 2010 15:31:58 +0000 (15:31 +0000)]
one or two icons

9 years agofriendlier name
Richard Fairhurst [Fri, 9 Jul 2010 09:35:03 +0000 (09:35 +0000)]
friendlier name

9 years agoadd OSM import for vector background layers
Richard Fairhurst [Fri, 9 Jul 2010 09:03:55 +0000 (09:03 +0000)]
add OSM import for vector background layers

9 years agomove up a level
Richard Fairhurst [Fri, 9 Jul 2010 07:32:03 +0000 (07:32 +0000)]
move up a level

9 years agoLet's just have one type of VectorLayer
Richard Fairhurst [Fri, 9 Jul 2010 07:27:52 +0000 (07:27 +0000)]
Let's just have one type of VectorLayer

9 years agocool vector background layer stuff!
Richard Fairhurst [Thu, 8 Jul 2010 21:11:02 +0000 (21:11 +0000)]
cool vector background layer stuff!

9 years agoobviously this means the stylesheet has to use the same colours to make any sense...
Richard Fairhurst [Thu, 8 Jul 2010 10:26:12 +0000 (10:26 +0000)]
obviously this means the stylesheet has to use the same colours to make any sense, but hey

9 years agofix backspacing issue on self-intersecting ways
Richard Fairhurst [Thu, 8 Jul 2010 10:15:39 +0000 (10:15 +0000)]
fix backspacing issue on self-intersecting ways

9 years agofix self-intersecting ways
Richard Fairhurst [Thu, 8 Jul 2010 09:38:39 +0000 (09:38 +0000)]
fix self-intersecting ways

9 years agomore turn restriction stuff, and checkboxes, and a bunch of little fixes
Richard Fairhurst [Thu, 8 Jul 2010 09:12:04 +0000 (09:12 +0000)]
more turn restriction stuff, and checkboxes, and a bunch of little fixes

9 years agoHmm. Remove blocker. Can't reproduce it now
Andy Allan [Wed, 7 Jul 2010 18:13:04 +0000 (18:13 +0000)]
Hmm. Remove blocker. Can't reproduce it now

9 years agoAdded blocker
Andy Allan [Wed, 7 Jul 2010 17:59:41 +0000 (17:59 +0000)]
Added blocker

9 years agohow do I hate thee, Flex? let me count the ways
Richard Fairhurst [Wed, 7 Jul 2010 17:10:52 +0000 (17:10 +0000)]
how do I hate thee, Flex? let me count the ways

9 years agofix node-drawing bug and add little restriction POI icon
Richard Fairhurst [Wed, 7 Jul 2010 15:45:37 +0000 (15:45 +0000)]
fix node-drawing bug and add little restriction POI icon

9 years agostart of turn restriction editor
Richard Fairhurst [Wed, 7 Jul 2010 13:05:19 +0000 (13:05 +0000)]
start of turn restriction editor

9 years agomore restriction icons
Richard Fairhurst [Wed, 7 Jul 2010 09:25:10 +0000 (09:25 +0000)]
more restriction icons

9 years agomove files to proper location
Richard Fairhurst [Wed, 7 Jul 2010 09:19:44 +0000 (09:19 +0000)]
move files to proper location

9 years agokill some scrollbars
Richard Fairhurst [Fri, 2 Jul 2010 10:50:56 +0000 (10:50 +0000)]
kill some scrollbars

9 years agolittle things that mean a lot... this means you can shift-click right next to an...
Richard Fairhurst [Thu, 1 Jul 2010 11:27:48 +0000 (11:27 +0000)]
little things that mean a lot... this means you can shift-click right next to an existing node (i.e. within the node's highlight) and add a node