potlatch2.git
8 years agoTag release 0.5 0.5
Andy Allan [Mon, 29 Nov 2010 12:16:00 +0000 (12:16 +0000)]
Tag release 0.5

8 years agoBoog fix with switching styles
Andy Allan [Mon, 29 Nov 2010 11:55:31 +0000 (11:55 +0000)]
Boog fix with switching styles

8 years agomove imagery and stylesheet collection-handling code out of the Application
Richard Fairhurst [Sun, 28 Nov 2010 23:49:41 +0000 (23:49 +0000)]
move imagery and stylesheet collection-handling code out of the Application

8 years agoon a scale of 0 to awesome, I count this as AWESOME
Richard Fairhurst [Sun, 28 Nov 2010 20:00:45 +0000 (20:00 +0000)]
on a scale of 0 to awesome, I count this as AWESOME

8 years agodon't break if trying to cycle ways when there's only one anyway
Richard Fairhurst [Sun, 28 Nov 2010 19:00:53 +0000 (19:00 +0000)]
don't break if trying to cycle ways when there's only one anyway

8 years agouser-definable function keys for background imagery and stylesheets
Richard Fairhurst [Sun, 28 Nov 2010 17:38:13 +0000 (17:38 +0000)]
user-definable function keys for background imagery and stylesheets

8 years agofix problem if user preference was set to Yahoo (I'm so much looking forward to getti...
Richard Fairhurst [Sat, 27 Nov 2010 17:21:47 +0000 (17:21 +0000)]
fix problem if user preference was set to Yahoo (I'm so much looking forward to getting shot of the Yahoo API...)

8 years agopress '/' to cycle through overlapping ways
Richard Fairhurst [Sat, 27 Nov 2010 16:42:35 +0000 (16:42 +0000)]
press '/' to cycle through overlapping ways

8 years agoUpdate ignores.
Tom Hughes [Sat, 27 Nov 2010 11:42:48 +0000 (11:42 +0000)]
Update ignores.

8 years agoadd the ability to lock entities against purging
Richard Fairhurst [Fri, 26 Nov 2010 16:40:25 +0000 (16:40 +0000)]
add the ability to lock entities against purging

8 years agoAdd BikeShopLoader to the autovectorbackground. Also remove the bugs and bike shops...
Andy Allan [Fri, 26 Nov 2010 15:43:54 +0000 (15:43 +0000)]
Add BikeShopLoader to the autovectorbackground. Also remove the bugs and bike shops buttons, since they should now be loaded via config if required.

8 years agoboog spotted
Richard Fairhurst [Fri, 26 Nov 2010 15:33:40 +0000 (15:33 +0000)]
boog spotted

8 years agoLoad policy files only when the layer is created - often the loader can be created...
Andy Allan [Fri, 26 Nov 2010 14:49:26 +0000 (14:49 +0000)]
Load policy files only when the layer is created - often the loader can be created without ever being loaded

8 years agoAutoVectorBackground - load VectorBackground layers from a config file
Andy Allan [Fri, 26 Nov 2010 14:41:48 +0000 (14:41 +0000)]
AutoVectorBackground - load VectorBackground layers from a config file

8 years agoDispatch an event when the map sprites etc have been initialized
Andy Allan [Fri, 26 Nov 2010 14:41:46 +0000 (14:41 +0000)]
Dispatch an event when the map sprites etc have been initialized

8 years agoand remove it from the todo
Richard Fairhurst [Fri, 26 Nov 2010 12:31:59 +0000 (12:31 +0000)]
and remove it from the todo

8 years agomake imagery menu adapt to where you are. I guess it might need to be bindable so...
Richard Fairhurst [Fri, 26 Nov 2010 12:30:53 +0000 (12:30 +0000)]
make imagery menu adapt to where you are. I guess it might need to be bindable so it changes as you pan around, but the whole binding thing still confuses me a bit

8 years agoFix the null reference bug. In the end, the simplist thing was to make the code match...
Andy Allan [Thu, 25 Nov 2010 15:24:40 +0000 (15:24 +0000)]
Fix the null reference bug. In the end, the simplist thing was to make the code match the comment!

8 years agoAllow simplify to work on areas now that the algorithm has been
Tom Hughes [Wed, 24 Nov 2010 22:59:00 +0000 (22:59 +0000)]
Allow simplify to work on areas now that the algorithm has been
fixed to work when there are multiple nodes in the same place.

8 years agoWhen importing a polygon from KML make the start and end points use
Tom Hughes [Wed, 24 Nov 2010 22:27:22 +0000 (22:27 +0000)]
When importing a polygon from KML make the start and end points use
the same node so it is a proper OSM polygon.

8 years agoAvoid division by zero in simplication algorithm when two end points
Tom Hughes [Wed, 24 Nov 2010 21:41:50 +0000 (21:41 +0000)]
Avoid division by zero in simplication algorithm when two end points
we are considering are in the same place.

8 years agoOnly add a new vector layer to the map once we know we have loaded
Tom Hughes [Wed, 24 Nov 2010 21:14:21 +0000 (21:14 +0000)]
Only add a new vector layer to the map once we know we have loaded
it successfully or it will keep reappearing in the dialog.

8 years agoReformat dates. Surprisingly limited options for parsing and displaying dates.
Andy Allan [Wed, 24 Nov 2010 18:25:51 +0000 (18:25 +0000)]
Reformat dates. Surprisingly limited options for parsing and displaying dates.

8 years agoDon't duplicate bugs. The complete reimplementation of Connection in VectorLayer...
Andy Allan [Wed, 24 Nov 2010 17:44:21 +0000 (17:44 +0000)]
Don't duplicate bugs. The complete reimplementation of Connection in VectorLayer draws ever closer...

8 years agobuglayer todos
Andy Allan [Wed, 24 Nov 2010 16:04:43 +0000 (16:04 +0000)]
buglayer todos

8 years agoClose bug as either fixed or invalid
Andy Allan [Wed, 24 Nov 2010 16:04:41 +0000 (16:04 +0000)]
Close bug as either fixed or invalid

8 years agoMore layout work, and set the flow properly between the different states
Andy Allan [Wed, 24 Nov 2010 14:59:33 +0000 (14:59 +0000)]
More layout work, and set the flow properly between the different states

8 years agoRemove the tag grid, and start laying out the details properly
Andy Allan [Wed, 24 Nov 2010 14:06:52 +0000 (14:06 +0000)]
Remove the tag grid, and start laying out the details properly

8 years agoAdd nickname (with character restrictions) and comment fields when closing bug
Andy Allan [Wed, 24 Nov 2010 14:06:51 +0000 (14:06 +0000)]
Add nickname (with character restrictions) and comment fields when closing bug

8 years agoRemove bug stuff from marker panel
Andy Allan [Wed, 24 Nov 2010 14:06:47 +0000 (14:06 +0000)]
Remove bug stuff from marker panel

8 years agodon't barf on old saved data
Richard Fairhurst [Tue, 23 Nov 2010 19:22:17 +0000 (19:22 +0000)]
don't barf on old saved data

8 years agoBing support. Add a <scheme>microsoft</scheme> parameter to imagery.xml for this...
Richard Fairhurst [Tue, 23 Nov 2010 18:31:33 +0000 (18:31 +0000)]
Bing support. Add a <scheme>microsoft</scheme> parameter to imagery.xml for this, and a URL such as <url>ecn.t0.tiles.virtualearth.net/tiles/a$quadkey.jpeg?g=587&mkt=en-gb&n=z</url>

8 years agoCreate a separate BugPanel, and move the panels into a subfolder - perhaps do this...
Andy Allan [Tue, 23 Nov 2010 14:51:10 +0000 (14:51 +0000)]
Create a separate BugPanel, and move the panels into a subfolder - perhaps do this for all the panel variations?

8 years agoupdate todo - new bug involving advancedTagGrid
Andy Allan [Tue, 23 Nov 2010 12:01:46 +0000 (12:01 +0000)]
update todo - new bug involving advancedTagGrid

8 years agoUpdate bug when it has been closed, using the closure approach
Andy Allan [Tue, 23 Nov 2010 12:01:44 +0000 (12:01 +0000)]
Update bug when it has been closed, using the closure approach

8 years agoAdd KML importer as a vector source.
Tom Hughes [Tue, 23 Nov 2010 11:40:10 +0000 (11:40 +0000)]
Add KML importer as a vector source.

8 years agoreport boog of sorts
Richard Fairhurst [Mon, 22 Nov 2010 19:50:40 +0000 (19:50 +0000)]
report boog of sorts

8 years agouse a closure rather than ExtendedURLLoader for Importer (should eventually do this...
Richard Fairhurst [Mon, 22 Nov 2010 19:49:18 +0000 (19:49 +0000)]
use a closure rather than ExtendedURLLoader for Importer (should eventually do this for everything)

8 years agoForgot to update the todo
Andy Allan [Mon, 22 Nov 2010 19:16:09 +0000 (19:16 +0000)]
Forgot to update the todo

8 years agothe bug layer should autmatically download when panning. Move the loading/parsing...
Andy Allan [Mon, 22 Nov 2010 19:15:22 +0000 (19:15 +0000)]
the bug layer should autmatically download when panning. Move the loading/parsing code out of the Loader and into the BugLayer to support this

8 years agoWhen downloading from the Connection, also download from the VectorLayers
Andy Allan [Mon, 22 Nov 2010 19:15:20 +0000 (19:15 +0000)]
When downloading from the Connection, also download from the VectorLayers

8 years agofix dupe nodes stuff
Richard Fairhurst [Mon, 22 Nov 2010 18:38:51 +0000 (18:38 +0000)]
fix dupe nodes stuff

8 years agoBugfix: Parallelise adding too many nodes to way. Thanks to Rafał Rudzik for patch
Andy Allan [Mon, 22 Nov 2010 17:01:13 +0000 (17:01 +0000)]
Bugfix: Parallelise adding too many nodes to way. Thanks to Rafał Rudzik for patch

8 years agoAdd todos regarding the bug layer
Andy Allan [Mon, 22 Nov 2010 16:41:47 +0000 (16:41 +0000)]
Add todos regarding the bug layer

8 years agoProtect against 204 responses; the JSON parser doesn't like empty strings
Andy Allan [Mon, 22 Nov 2010 15:26:12 +0000 (15:26 +0000)]
Protect against 204 responses; the JSON parser doesn't like empty strings

8 years agoDifferent bug symbols for fixed/invalid bugs
Andy Allan [Mon, 22 Nov 2010 15:26:08 +0000 (15:26 +0000)]
Different bug symbols for fixed/invalid bugs

8 years agofix vector background dialogue to cope with changed stylesheets object
Richard Fairhurst [Mon, 22 Nov 2010 15:19:31 +0000 (15:19 +0000)]
fix vector background dialogue to cope with changed stylesheets object

8 years agoThe BikeShopLoader developed during WhereCampUK, but with the button permanently...
Andy Allan [Mon, 22 Nov 2010 12:41:34 +0000 (12:41 +0000)]
The BikeShopLoader developed during WhereCampUK, but with the button permanently hidden for now.

See the BikeShopLoader.as file for documentation.

8 years agoMake the bug layer work with remote server - use POST, crossdomain.xml
Andy Allan [Mon, 22 Nov 2010 12:41:31 +0000 (12:41 +0000)]
Make the bug layer work with remote server - use POST, crossdomain.xml

8 years agofix the "ways no longer seem to belong to a relation" bug
Richard Fairhurst [Thu, 18 Nov 2010 17:16:07 +0000 (17:16 +0000)]
fix the "ways no longer seem to belong to a relation" bug

8 years agowe like dupes, but not _that_ much
Richard Fairhurst [Thu, 18 Nov 2010 13:06:58 +0000 (13:06 +0000)]
we like dupes, but not _that_ much

8 years agoFigure out the layer a Marker is on, and bounce it all the way to the MarkerPanel...
Andy Allan [Wed, 17 Nov 2010 13:03:40 +0000 (13:03 +0000)]
Figure out the layer a Marker is on, and bounce it all the way to the MarkerPanel. Show buttons if the marker is on a BugLayer

8 years agoAdd potlatch2.BugLayer to extend VectorLayer and have added functions for storing...
Andy Allan [Wed, 17 Nov 2010 13:03:38 +0000 (13:03 +0000)]
Add potlatch2.BugLayer to extend VectorLayer and have added functions for storing connection parameters (for closing bugs etc)

8 years agoFix the '+ keypress not adding a second tag' bug by adding event listener to Add...
Andy Allan [Wed, 17 Nov 2010 11:33:46 +0000 (11:33 +0000)]
Fix the '+ keypress not adding a second tag' bug by adding event listener to Add button

8 years agoFix stale tags on AdvancedTagGrid when tags are changed
Andy Allan [Tue, 16 Nov 2010 18:39:21 +0000 (18:39 +0000)]
Fix stale tags on AdvancedTagGrid when tags are changed

8 years agoRemove the tagDataProvider from TagViewer, since I think it's no longer used. TagGrid...
Andy Allan [Tue, 16 Nov 2010 18:39:19 +0000 (18:39 +0000)]
Remove the tagDataProvider from TagViewer, since I think it's no longer used. TagGrid.mxml uses a different variable with the same name.

8 years agoBugFix - Traces now draw immediately when loaded, now that I've learned (and document...
Andy Allan [Tue, 16 Nov 2010 17:50:33 +0000 (17:50 +0000)]
BugFix - Traces now draw immediately when loaded, now that I've learned (and documented) the intracacies of VectorLayer

8 years agoupdate todo, removing some and adding one
Andy Allan [Tue, 16 Nov 2010 17:50:31 +0000 (17:50 +0000)]
update todo, removing some and adding one

8 years agoset the initial NoSelection state before constructing the toolbox, so the icons are...
Andy Allan [Tue, 16 Nov 2010 17:50:28 +0000 (17:50 +0000)]
set the initial NoSelection state before constructing the toolbox, so the icons are initially disabled

8 years agoTweak the path text-offset
Andy Allan [Tue, 16 Nov 2010 17:50:27 +0000 (17:50 +0000)]
Tweak the path text-offset

8 years agoSupport icon opacity in fill (casing-opacity already supported. Makes the dupe nodes...
Andy Allan [Tue, 16 Nov 2010 16:33:12 +0000 (16:33 +0000)]
Support icon opacity in fill (casing-opacity already supported. Makes the dupe nodes look nicer

8 years agoReduce the number of redraws by around a bazillion when dragging nodes around
Andy Allan [Tue, 16 Nov 2010 16:25:45 +0000 (16:25 +0000)]
Reduce the number of redraws by around a bazillion when dragging nodes around

8 years agoMove the area and tiger stateClass assignment to use EntityUI.setStateClass, and...
Andy Allan [Tue, 16 Nov 2010 16:07:21 +0000 (16:07 +0000)]
Move the area and tiger stateClass assignment to use EntityUI.setStateClass, and add some documentation

8 years agoMake the reference to the Potlatch2 Primer a link.
Tom Hughes [Tue, 16 Nov 2010 15:23:57 +0000 (15:23 +0000)]
Make the reference to the Potlatch2 Primer a link.

8 years agoMake bugs button conditional on having appropriate loader parameters
Andy Allan [Tue, 16 Nov 2010 15:01:21 +0000 (15:01 +0000)]
Make bugs button conditional on having appropriate loader parameters

8 years agoMake marker tags grid full height
Andy Allan [Tue, 16 Nov 2010 15:01:19 +0000 (15:01 +0000)]
Make marker tags grid full height

8 years agoCleanup bugloader traces, and add more tags
Andy Allan [Tue, 16 Nov 2010 15:01:17 +0000 (15:01 +0000)]
Cleanup bugloader traces, and add more tags

8 years agoBugfix - remove dataprovider since it's set via script
Andy Allan [Tue, 16 Nov 2010 15:01:15 +0000 (15:01 +0000)]
Bugfix - remove dataprovider since it's set via script

8 years agoAllow markers to be selected, and show a custom marker panel
Andy Allan [Tue, 16 Nov 2010 15:01:13 +0000 (15:01 +0000)]
Allow markers to be selected, and show a custom marker panel

8 years agoadd 'within' to Marker, and bugfix markerui redraws
Andy Allan [Tue, 16 Nov 2010 15:01:09 +0000 (15:01 +0000)]
add 'within' to Marker, and bugfix markerui redraws

8 years agoMarker UIs, implemented using copy+paste
Andy Allan [Tue, 16 Nov 2010 15:01:06 +0000 (15:01 +0000)]
Marker UIs, implemented using copy+paste

8 years agocompile fixes
Andy Allan [Tue, 16 Nov 2010 15:01:04 +0000 (15:01 +0000)]
compile fixes

8 years agoCreate the concept of Marker entities, and use them for bugs
Andy Allan [Tue, 16 Nov 2010 15:01:01 +0000 (15:01 +0000)]
Create the concept of Marker entities, and use them for bugs

8 years agoUse the description of the bug to display the label
Andy Allan [Tue, 16 Nov 2010 15:00:59 +0000 (15:00 +0000)]
Use the description of the bug to display the label

8 years agoFirst stab at displaying bugs
Andy Allan [Tue, 16 Nov 2010 15:00:55 +0000 (15:00 +0000)]
First stab at displaying bugs

8 years agoShow road names for unclassified roads.
Tom Hughes [Tue, 16 Nov 2010 12:35:26 +0000 (12:35 +0000)]
Show road names for unclassified roads.

8 years agoupdate help
Richard Fairhurst [Sun, 14 Nov 2010 20:10:05 +0000 (20:10 +0000)]
update help

8 years agomove way merge to a toolbox function rather than shift-click
Richard Fairhurst [Sun, 14 Nov 2010 19:52:51 +0000 (19:52 +0000)]
move way merge to a toolbox function rather than shift-click

8 years agodial B for source tag
Richard Fairhurst [Sun, 14 Nov 2010 17:40:38 +0000 (17:40 +0000)]
dial B for source tag

8 years agoRemoved executable flag from files which don't need it.
Tom Hughes [Sun, 14 Nov 2010 14:33:55 +0000 (14:33 +0000)]
Removed executable flag from files which don't need it.

8 years agostandardise on 'name' and 'url' elements for stylesheet and imagery objects
Richard Fairhurst [Sun, 14 Nov 2010 14:17:35 +0000 (14:17 +0000)]
standardise on 'name' and 'url' elements for stylesheet and imagery objects

8 years agomake Toolbox act on multiple selections (and light up accordingly)
Richard Fairhurst [Sat, 13 Nov 2010 11:16:17 +0000 (11:16 +0000)]
make Toolbox act on multiple selections (and light up accordingly)

8 years agodon't show tag editor when multiple items are selected
Richard Fairhurst [Sat, 13 Nov 2010 10:46:51 +0000 (10:46 +0000)]
don't show tag editor when multiple items are selected

8 years agofix dynamically applied NodeUI state classes to invalidate style list when changed
Richard Fairhurst [Fri, 12 Nov 2010 10:52:15 +0000 (10:52 +0000)]
fix dynamically applied NodeUI state classes to invalidate style list when changed

8 years agoMove these useful comments into asdoc format
Andy Allan [Thu, 11 Nov 2010 15:59:04 +0000 (15:59 +0000)]
Move these useful comments into asdoc format

8 years agoAdd the icon callback to VectorLayer, since some vector background layers will have...
Andy Allan [Thu, 11 Nov 2010 15:16:15 +0000 (15:16 +0000)]
Add the icon callback to VectorLayer, since some vector background layers will have icons in the stylesheets. Add some more API docs too.

8 years agoDecrement icon counter during error conditions. Without this, an incorrect icon url...
Andy Allan [Thu, 11 Nov 2010 15:16:13 +0000 (15:16 +0000)]
Decrement icon counter during error conditions. Without this, an incorrect icon url in the stylesheet prevents the iconLoadedCallback from firing

8 years agoBugfix - name sprites can be drawn without other icons (or pending icons loading...
Andy Allan [Wed, 10 Nov 2010 19:10:25 +0000 (19:10 +0000)]
Bugfix - name sprites can be drawn without other icons (or pending icons loading), and updatePosition checks the loaded state before drawing.

Without this, these names appeared clustered in the top-left corner of the display.

8 years agoDocument some of the features of VectorLayer.as
Andy Allan [Wed, 10 Nov 2010 17:16:25 +0000 (17:16 +0000)]
Document some of the features of VectorLayer.as

8 years agoAdd build target for asdocs
Andy Allan [Wed, 10 Nov 2010 15:20:20 +0000 (15:20 +0000)]
Add build target for asdocs

8 years agoAdd a couple of bugs I spotted to the todo.
Shaun McDonald [Tue, 9 Nov 2010 23:41:51 +0000 (23:41 +0000)]
Add a couple of bugs I spotted to the todo.

8 years agoDispatch events when the nodes are added or removed from the dupes list. Doesn't...
Andy Allan [Mon, 8 Nov 2010 18:07:07 +0000 (18:07 +0000)]
Dispatch events when the nodes are added or removed from the dupes list. Doesn't actually redraw the remaining node when removing one, and I don't know why.

8 years agoRefactor dupe nodes - store the node rather than just the id, and move the Vector...
Andy Allan [Mon, 8 Nov 2010 18:07:04 +0000 (18:07 +0000)]
Refactor dupe nodes - store the node rather than just the id, and move the Vector Background worries into the connection. Make similar methods consistent.

8 years agoMake the nodePositions array private
Andy Allan [Mon, 8 Nov 2010 18:07:02 +0000 (18:07 +0000)]
Make the nodePositions array private

8 years agoFix logic - something went a bit wrong there
Andy Allan [Mon, 8 Nov 2010 18:07:00 +0000 (18:07 +0000)]
Fix logic - something went a bit wrong there

8 years agoUpdate dupes when node is moved / deleted. Needs further refactoring
Andy Allan [Mon, 8 Nov 2010 18:06:57 +0000 (18:06 +0000)]
Update dupes when node is moved / deleted. Needs further refactoring

8 years agoregisterPOI for vector background layers
Richard Fairhurst [Sun, 7 Nov 2010 18:06:23 +0000 (18:06 +0000)]
registerPOI for vector background layers

8 years agothis should speed up redraw - need to add registerPOI support for vector background...
Richard Fairhurst [Sun, 7 Nov 2010 17:27:49 +0000 (17:27 +0000)]
this should speed up redraw - need to add registerPOI support for vector background layers though

8 years agoallow layers to be overridden in MapCSS; this means we can bring selected nodes to...
Richard Fairhurst [Sun, 7 Nov 2010 15:05:21 +0000 (15:05 +0000)]
allow layers to be overridden in MapCSS; this means we can bring selected nodes to the front (above way names, for example)

8 years agowe should be able to purge now that the event listener problem is fixed
Richard Fairhurst [Fri, 5 Nov 2010 17:48:40 +0000 (17:48 +0000)]
we should be able to purge now that the event listener problem is fixed