potlatch2.git
9 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.

9 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.

9 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.

9 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...

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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>

9 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?

9 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

9 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

9 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.

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

9 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)

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

9 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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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)

9 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

9 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

9 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.

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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

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

9 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.

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

9 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

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

9 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.

9 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

9 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)

9 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

9 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

9 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

9 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.

9 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

9 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.

9 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

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

9 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.

9 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.

9 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.

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

9 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

9 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

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

9 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

9 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)

9 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

9 years agoremove "Loading data..." once a GPX track has loaded
Richard Fairhurst [Fri, 5 Nov 2010 14:34:36 +0000 (14:34 +0000)]
remove "Loading data..." once a GPX track has loaded

9 years agoFirst bash at duplicate node highlighting. Needs a rethink to cope with nodes being...
Andy Allan [Fri, 5 Nov 2010 11:35:34 +0000 (11:35 +0000)]
First bash at duplicate node highlighting. Needs a rethink to cope with nodes being on other vector layers.

9 years agoit's all a cunning ploy to get me to use git, I know it
Richard Fairhurst [Fri, 5 Nov 2010 11:09:29 +0000 (11:09 +0000)]
it's all a cunning ploy to get me to use git, I know it

9 years agoa whole load more event listener fixes, plus the start of multiple selection
Richard Fairhurst [Fri, 5 Nov 2010 01:18:46 +0000 (01:18 +0000)]
a whole load more event listener fixes, plus the start of multiple selection

9 years agoremove the [_] junction box when unjoining
Richard Fairhurst [Thu, 4 Nov 2010 18:04:18 +0000 (18:04 +0000)]
remove the [_] junction box when unjoining

9 years agoMake the undo for unjoin work
Andy Allan [Thu, 4 Nov 2010 17:39:05 +0000 (17:39 +0000)]
Make the undo for unjoin work

9 years agoNeed to wrap the suspend/resume around the actual 'doing' bit
Andy Allan [Thu, 4 Nov 2010 17:32:15 +0000 (17:32 +0000)]
Need to wrap the suspend/resume around the actual 'doing' bit

9 years agoHelps if you actually do the actions, but still buggy
Andy Allan [Thu, 4 Nov 2010 17:28:19 +0000 (17:28 +0000)]
Helps if you actually do the actions, but still buggy

9 years agoprevent fallthrough to deleteNode if you press j without shift
Andy Allan [Thu, 4 Nov 2010 16:50:50 +0000 (16:50 +0000)]
prevent fallthrough to deleteNode if you press j without shift

9 years agofirst stab at unjoin - problems with the UIs not matching up
Andy Allan [Thu, 4 Nov 2010 16:38:42 +0000 (16:38 +0000)]
first stab at unjoin - problems with the UIs not matching up

9 years agoupdate todo (build numbers)
Andy Allan [Thu, 4 Nov 2010 12:07:35 +0000 (12:07 +0000)]
update todo (build numbers)

9 years agoLoad the environment as properties and add an example to the build.properties
Tom Hughes [Thu, 4 Nov 2010 12:01:42 +0000 (12:01 +0000)]
Load the environment as properties and add an example to the build.properties
template showing how to inherit FLEX_HOME from the environment.

9 years agofix refactoring bug
Richard Fairhurst [Thu, 4 Nov 2010 11:50:51 +0000 (11:50 +0000)]
fix refactoring bug

9 years agoAnt target for building halcyon
Andy Allan [Thu, 4 Nov 2010 10:28:59 +0000 (10:28 +0000)]
Ant target for building halcyon

9 years agoupdate the README
Richard Fairhurst [Wed, 3 Nov 2010 17:38:00 +0000 (17:38 +0000)]
update the README

9 years agoUse build numbers in changeset tag, and also in help dialog (for testers)
Andy Allan [Wed, 3 Nov 2010 16:44:24 +0000 (16:44 +0000)]
Use build numbers in changeset tag, and also in help dialog (for testers)

9 years agoAdd ant-based build system
Andy Allan [Wed, 3 Nov 2010 16:44:21 +0000 (16:44 +0000)]
Add ant-based build system

9 years agorefactoring and some bugfixes
Richard Fairhurst [Wed, 3 Nov 2010 11:25:13 +0000 (11:25 +0000)]
refactoring and some bugfixes

9 years agoseparate out TagGrid and do all the lovely autocomplete stuff
Richard Fairhurst [Tue, 2 Nov 2010 09:45:59 +0000 (09:45 +0000)]
separate out TagGrid and do all the lovely autocomplete stuff

9 years agodelete icon for tags
Richard Fairhurst [Mon, 1 Nov 2010 17:47:12 +0000 (17:47 +0000)]
delete icon for tags