potlatch2.git
9 years agoMake wayuis, nodeuis and markeruis private
Richard Fairhurst [Thu, 9 Jun 2011 14:16:43 +0000 (15:16 +0100)]
Make wayuis, nodeuis and markeruis private

9 years agoRemove VectorLayer.as. Cursory check suggests all the vectorlayer-based refactoring...
Andy Allan [Thu, 26 May 2011 16:15:22 +0000 (17:15 +0100)]
Remove VectorLayer.as. Cursory check suggests all the vectorlayer-based refactoring is complete.

9 years agoReimplement pullThrough in a more undo-friendly fashion - only one undo to reverse...
Andy Allan [Thu, 26 May 2011 16:09:35 +0000 (17:09 +0100)]
Reimplement pullThrough in a more undo-friendly fashion - only one undo to reverse it all

9 years agoRe-enable loading gpx files from vectors.xml
Andy Allan [Thu, 26 May 2011 15:10:41 +0000 (16:10 +0100)]
Re-enable loading gpx files from vectors.xml

9 years agoRefactor all the Importer classes to use connections instead of vectorlayers
Andy Allan [Thu, 26 May 2011 15:03:39 +0000 (16:03 +0100)]
Refactor all the Importer classes to use connections instead of vectorlayers

9 years agoWhile I notice it, simplify.as adds undostack items when e.g. importing GPX into...
Andy Allan [Thu, 26 May 2011 13:56:31 +0000 (14:56 +0100)]
While I notice it, simplify.as adds undostack items when e.g. importing GPX into background layers

9 years agoRemove VectorLayer import statements from refactored files
Andy Allan [Thu, 26 May 2011 13:19:30 +0000 (14:19 +0100)]
Remove VectorLayer import statements from refactored files

9 years agoRemove VectorLayer from EditController and fix up references in various sidebar panels
Andy Allan [Thu, 26 May 2011 13:13:34 +0000 (14:13 +0100)]
Remove VectorLayer from EditController and fix up references in various sidebar panels

9 years agoexplain some of the variables
Andy Allan [Tue, 24 May 2011 15:26:36 +0000 (16:26 +0100)]
explain some of the variables

9 years agoRefactor the comments
Andy Allan [Tue, 24 May 2011 14:44:39 +0000 (15:44 +0100)]
Refactor the comments

9 years agoRefactor Trace.as
Andy Allan [Tue, 24 May 2011 14:31:08 +0000 (15:31 +0100)]
Refactor Trace.as

9 years agoCurvies, not squaries
Andy Allan [Tue, 24 May 2011 14:29:43 +0000 (15:29 +0100)]
Curvies, not squaries

9 years agoShould we remove Globals access from Connection?
Andy Allan [Tue, 24 May 2011 13:41:31 +0000 (14:41 +0100)]
Should we remove Globals access from Connection?

9 years agoMake paintContainer private, and add a method to access all MapPaint objects
Andy Allan [Tue, 24 May 2011 13:10:56 +0000 (14:10 +0100)]
Make paintContainer private, and add a method to access all MapPaint objects

9 years agoUpdate connections to use instance copies of apiBaseURL. Untested, but allows docs...
Andy Allan [Tue, 24 May 2011 11:44:53 +0000 (12:44 +0100)]
Update connections to use instance copies of apiBaseURL. Untested, but allows docs to compile again.

9 years agoRe-enable VectorSourceDialog
Andy Allan [Tue, 24 May 2011 11:28:21 +0000 (12:28 +0100)]
Re-enable VectorSourceDialog

9 years agoPartial refactoring of VectorSourceDialog. Not happy with iterating over Map.paintCon...
Andy Allan [Tue, 24 May 2011 11:27:20 +0000 (12:27 +0100)]
Partial refactoring of VectorSourceDialog. Not happy with iterating over Map.paintContainer though

9 years agoAllow knowledge of the style in use in MapPaint - similar to VectorBackground did...
Andy Allan [Tue, 24 May 2011 10:51:51 +0000 (11:51 +0100)]
Allow knowledge of the style in use in MapPaint - similar to VectorBackground did for VectorSourceDialog reasons

9 years agoRework BikeShopLoader/Layer so that it responds to loadBbox calls
Andy Allan [Mon, 23 May 2011 17:49:56 +0000 (18:49 +0100)]
Rework BikeShopLoader/Layer so that it responds to loadBbox calls

9 years agotidy
Andy Allan [Mon, 23 May 2011 17:47:23 +0000 (18:47 +0100)]
tidy

9 years agoMove security file handling down into the connection for buglayers
Andy Allan [Mon, 23 May 2011 17:45:11 +0000 (18:45 +0100)]
Move security file handling down into the connection for buglayers

9 years agoDraw new markers when they are created, and save the data loaders from worrying about...
Andy Allan [Mon, 23 May 2011 16:06:42 +0000 (17:06 +0100)]
Draw new markers when they are created, and save the data loaders from worrying about the UI

9 years agoDispatch NEW_MARKER events when markers are created
Andy Allan [Mon, 23 May 2011 16:05:26 +0000 (17:05 +0100)]
Dispatch NEW_MARKER events when markers are created

9 years agoRefactor BugLayer to extend connection, and rename it to BugConnection to save confusion
Andy Allan [Mon, 23 May 2011 15:30:25 +0000 (16:30 +0100)]
Refactor BugLayer to extend connection, and rename it to BugConnection to save confusion

9 years agoFix the long-anticipated 'map.init completes first' failure mode
Andy Allan [Mon, 23 May 2011 15:27:53 +0000 (16:27 +0100)]
Fix the long-anticipated 'map.init completes first' failure mode

9 years agoExpand createMarker to have the old VBL createmarker syntax. Needs renaming and/or...
Andy Allan [Mon, 23 May 2011 15:25:10 +0000 (16:25 +0100)]
Expand createMarker to have the old VBL createmarker syntax. Needs renaming and/or refactoring, as noted

9 years agoRemove unnecessary import statement
Andy Allan [Mon, 23 May 2011 15:23:39 +0000 (16:23 +0100)]
Remove unnecessary import statement

9 years agoAdapt BikeShopLoader to the new world order
Andy Allan [Mon, 23 May 2011 14:02:55 +0000 (15:02 +0100)]
Adapt BikeShopLoader to the new world order

9 years agoAdd Marker support to Connection - was previously only supported in VectorLayers
Andy Allan [Mon, 23 May 2011 13:59:52 +0000 (14:59 +0100)]
Add Marker support to Connection - was previously only supported in VectorLayers

9 years agoNo need for this to be a public function
Andy Allan [Mon, 23 May 2011 11:48:42 +0000 (12:48 +0100)]
No need for this to be a public function

9 years agoDocument the TrackLoader
Andy Allan [Mon, 23 May 2011 11:48:22 +0000 (12:48 +0100)]
Document the TrackLoader

9 years agoUpdate trackloader to avoid using VectorLayer
Andy Allan [Mon, 23 May 2011 11:22:08 +0000 (12:22 +0100)]
Update trackloader to avoid using VectorLayer

9 years agoRemove a couple of debug traces.
Richard Fairhurst [Sat, 21 May 2011 22:21:41 +0000 (23:21 +0100)]
Remove a couple of debug traces.

9 years agoThe branch now loads maps again. Lots of messy code; most of the VectorLayer stuff...
Richard Fairhurst [Sat, 21 May 2011 21:43:15 +0000 (22:43 +0100)]
The branch now loads maps again. Lots of messy code; most of the VectorLayer stuff is commented out and/or derelict. See REFACTOR.txt for more details.

9 years agoMore refactoring work-in-progress
Richard Fairhurst [Sat, 21 May 2011 17:18:05 +0000 (18:18 +0100)]
More refactoring work-in-progress

9 years agoMore refactoring in progress
Richard Fairhurst [Sat, 21 May 2011 15:33:52 +0000 (16:33 +0100)]
More refactoring in progress

9 years agoGive Entity a back-reference to the Connection it belongs to. (If we figure out anoth...
Richard Fairhurst [Sat, 21 May 2011 13:57:29 +0000 (14:57 +0100)]
Give Entity a back-reference to the Connection it belongs to. (If we figure out another smart way of doing this we can replace the Entity getter.)

9 years agoWork in progress
Richard Fairhurst [Sat, 21 May 2011 12:53:46 +0000 (13:53 +0100)]
Work in progress

9 years agoRefactoring notes
Richard Fairhurst [Sat, 21 May 2011 11:53:25 +0000 (12:53 +0100)]
Refactoring notes

9 years agoRefactoring in progress
Richard Fairhurst [Sat, 21 May 2011 11:53:10 +0000 (12:53 +0100)]
Refactoring in progress

9 years agoRefactoring in progress
Richard Fairhurst [Sat, 21 May 2011 11:52:54 +0000 (12:52 +0100)]
Refactoring in progress

9 years agoDon't initialise Yahoo component until it's actually wanted. Should stop P2 from...
Richard Fairhurst [Sat, 7 May 2011 19:04:48 +0000 (20:04 +0100)]
Don't initialise Yahoo component until it's actually wanted. Should stop P2 from loading a bunch of Yahoo tiles (and clogging up my error log)

9 years agoMove Yahoo into imagery.xml rather than hard-coding it into the menu
Richard Fairhurst [Sat, 7 May 2011 18:18:18 +0000 (19:18 +0100)]
Move Yahoo into imagery.xml rather than hard-coding it into the menu

9 years agoAdd "Delete relation" option
Richard Fairhurst [Sat, 7 May 2011 18:08:40 +0000 (19:08 +0100)]
Add "Delete relation" option

9 years agoMerge branch 'drawquad' into staging
Richard Fairhurst [Sat, 7 May 2011 17:11:27 +0000 (18:11 +0100)]
Merge branch 'drawquad' into staging

9 years agoMerge branch 'loadrelation' into staging
Richard Fairhurst [Sat, 7 May 2011 17:07:03 +0000 (18:07 +0100)]
Merge branch 'loadrelation' into staging

9 years agoremove some more MQ-specific stuff
Richard Fairhurst [Sat, 7 May 2011 13:33:51 +0000 (14:33 +0100)]
remove some more MQ-specific stuff

9 years agoremove some MQ files
Richard Fairhurst [Sat, 7 May 2011 13:30:28 +0000 (14:30 +0100)]
remove some MQ files

9 years agoIntegrating search functionality from AntTheLimey
Richard Fairhurst [Sat, 7 May 2011 13:21:30 +0000 (14:21 +0100)]
Integrating search functionality from AntTheLimey

9 years agofinishing find function
Antony Pegg [Tue, 26 Apr 2011 19:55:59 +0000 (15:55 -0400)]
finishing find function

10 years agomerging mapquest to addNominatim
Antony Pegg [Thu, 21 Apr 2011 12:35:43 +0000 (08:35 -0400)]
merging mapquest to addNominatim

10 years agoadding nominatim to P2
Antony Pegg [Thu, 21 Apr 2011 12:24:25 +0000 (08:24 -0400)]
adding nominatim to P2

10 years agomaking try access button get autopressed on oAuth return, and upgrading potlatch2...
Antony Pegg [Mon, 18 Apr 2011 20:00:19 +0000 (16:00 -0400)]
making try access button get autopressed on oAuth return, and upgrading potlatch2,html to use swfobject 2.2 so it works in IE

10 years agoMerge branch 'master' into mapquest
Antony Pegg [Mon, 18 Apr 2011 15:38:01 +0000 (11:38 -0400)]
Merge branch 'master' into mapquest

10 years agomaking oAuth open up in a smaller centred window
Antony Pegg [Mon, 18 Apr 2011 15:29:49 +0000 (11:29 -0400)]
making oAuth open up in a smaller centred window

10 years agoSend X-Error-Format workaround on OAuth PUT too
Richard Fairhurst [Mon, 18 Apr 2011 11:36:39 +0000 (12:36 +0100)]
Send X-Error-Format workaround on OAuth PUT too

10 years agoMove to c.tile.osm.org as per request by Firefishy
Richard Fairhurst [Mon, 18 Apr 2011 11:34:32 +0000 (12:34 +0100)]
Move to c.tile.osm.org as per request by Firefishy

10 years agoConstruct array properly
Richard Fairhurst [Mon, 18 Apr 2011 11:34:05 +0000 (12:34 +0100)]
Construct array properly

10 years agoMerge branch 'master' into mapquest
Antony Pegg [Thu, 14 Apr 2011 11:51:10 +0000 (07:51 -0400)]
Merge branch 'master' into mapquest

10 years agoFix the OS 1:25k background to use jpg, not png
Andy Allan [Tue, 12 Apr 2011 14:10:09 +0000 (15:10 +0100)]
Fix the OS 1:25k background to use jpg, not png

10 years agoMerge branch 'master' into mapquest
Antony Pegg [Tue, 12 Apr 2011 13:28:03 +0000 (09:28 -0400)]
Merge branch 'master' into mapquest

10 years agoMerge branch 'master' into mapquest
Antony Pegg [Tue, 12 Apr 2011 12:47:42 +0000 (08:47 -0400)]
Merge branch 'master' into mapquest

Conflicts:
net/systemeD/potlatch2/Toolbox.mxml
version.as.template

10 years agoThrow a floating alert when quadrilateralise blows up
Richard Fairhurst [Fri, 8 Apr 2011 17:41:29 +0000 (18:41 +0100)]
Throw a floating alert when quadrilateralise blows up

10 years agoAdd 'clear' to i18n
Richard Fairhurst [Fri, 8 Apr 2011 14:56:09 +0000 (15:56 +0100)]
Add 'clear' to i18n

10 years agoMerge branch 'master' of https://github.com/systemed/potlatch2
Richard Fairhurst [Fri, 8 Apr 2011 14:42:17 +0000 (15:42 +0100)]
Merge branch 'master' of https://github.com/systemed/potlatch2

10 years agoDon't let nodes occur twice successively in ways
Richard Fairhurst [Fri, 8 Apr 2011 14:41:11 +0000 (15:41 +0100)]
Don't let nodes occur twice successively in ways

10 years agoFix temporary duplicate key issue
Richard Fairhurst [Wed, 6 Apr 2011 15:53:26 +0000 (16:53 +0100)]
Fix temporary duplicate key issue

10 years agoMerge branch 'master' of https://github.com/systemed/potlatch2 into drawquad
Richard Fairhurst [Tue, 5 Apr 2011 14:18:31 +0000 (15:18 +0100)]
Merge branch 'master' of https://github.com/systemed/potlatch2 into drawquad

10 years agoFix tag repeat bug
Richard Fairhurst [Tue, 5 Apr 2011 09:06:04 +0000 (10:06 +0100)]
Fix tag repeat bug

10 years agoMerge remote branch 'gravitystorm/nulltags'
Richard Fairhurst [Mon, 4 Apr 2011 11:26:25 +0000 (12:26 +0100)]
Merge remote branch 'gravitystorm/nulltags'

10 years agoFix issue with adding new tags in advanced view
Richard Fairhurst [Mon, 4 Apr 2011 10:18:12 +0000 (11:18 +0100)]
Fix issue with adding new tags in advanced view

10 years agoBugfix: tag values can be null (e.g. changing feature type), so guard against that...
Andy Allan [Sun, 3 Apr 2011 14:43:31 +0000 (15:43 +0100)]
Bugfix: tag values can be null (e.g. changing feature type), so guard against that when length limiting.

10 years agoAdd unit tests to expose problem with setting null strings in tags
Andy Allan [Sun, 3 Apr 2011 14:38:28 +0000 (15:38 +0100)]
Add unit tests to expose problem with setting null strings in tags

10 years agoVersion 2.0 2.0
Richard Fairhurst [Sun, 3 Apr 2011 12:58:18 +0000 (13:58 +0100)]
Version 2.0

10 years agoDon't let empty comments through
Richard Fairhurst [Sun, 3 Apr 2011 12:54:48 +0000 (13:54 +0100)]
Don't let empty comments through

10 years agoPrevent keys/values exceeding 255 characters
Richard Fairhurst [Sun, 3 Apr 2011 12:47:13 +0000 (13:47 +0100)]
Prevent keys/values exceeding 255 characters

10 years agoComplete support for loading relations by ID
Richard Fairhurst [Sat, 2 Apr 2011 21:35:13 +0000 (22:35 +0100)]
Complete support for loading relations by ID

10 years agoLoad relations from the server on supplying the ID
Richard Fairhurst [Sat, 2 Apr 2011 18:14:20 +0000 (19:14 +0100)]
Load relations from the server on supplying the ID

10 years agoCorrectly redraw junction nodes when removed from a way
Richard Fairhurst [Sat, 2 Apr 2011 17:28:44 +0000 (18:28 +0100)]
Correctly redraw junction nodes when removed from a way

10 years agoMerge remote-tracking branch 'gravitystorm/redo' into staging
Richard Fairhurst [Sat, 2 Apr 2011 16:51:15 +0000 (17:51 +0100)]
Merge remote-tracking branch 'gravitystorm/redo' into staging

10 years agoMerge remote-tracking branch 'gravitystorm/i18n' into staging
Richard Fairhurst [Sat, 2 Apr 2011 16:48:47 +0000 (17:48 +0100)]
Merge remote-tracking branch 'gravitystorm/i18n' into staging

10 years agoMerge remote-tracking branch 'gravitystorm/icons' into staging
Richard Fairhurst [Sat, 2 Apr 2011 16:45:03 +0000 (17:45 +0100)]
Merge remote-tracking branch 'gravitystorm/icons' into staging

10 years agoMerge remote-tracking branch 'gravitystorm/relation-fixing' into staging
Richard Fairhurst [Sat, 2 Apr 2011 16:44:08 +0000 (17:44 +0100)]
Merge remote-tracking branch 'gravitystorm/relation-fixing' into staging

10 years agoPOI-to-quadrilateral drawing mode
Richard Fairhurst [Sat, 2 Apr 2011 16:40:07 +0000 (17:40 +0100)]
POI-to-quadrilateral drawing mode

10 years agoMove the connection fixing to a Before method so it applies to all the tests
Andy Allan [Sat, 2 Apr 2011 15:26:36 +0000 (16:26 +0100)]
Move the connection fixing to a Before method so it applies to all the tests

10 years agoCheck that relation appending member and setting member end up in the right place
Andy Allan [Sat, 2 Apr 2011 14:55:35 +0000 (15:55 +0100)]
Check that relation appending member and setting member end up in the right place

10 years agoAdd support for TMS tile-numbering scheme
Richard Fairhurst [Sat, 2 Apr 2011 14:39:07 +0000 (15:39 +0100)]
Add support for TMS tile-numbering scheme

10 years agoA little splice test to demonstrate the bug that the unit test will cover
Andy Allan [Sat, 2 Apr 2011 14:23:29 +0000 (15:23 +0100)]
A little splice test to demonstrate the bug that the unit test will cover

10 years agoFix the failing unit test
Andy Allan [Sat, 2 Apr 2011 14:12:09 +0000 (15:12 +0100)]
Fix the failing unit test

10 years agoMerge remote-tracking branch 'randomjunk/minor-updates'
Richard Fairhurst [Sat, 2 Apr 2011 12:52:44 +0000 (13:52 +0100)]
Merge remote-tracking branch 'randomjunk/minor-updates'

10 years agoEnlarge requested bbox by 20% on each side to make for easier panning; keep list...
Richard Fairhurst [Sat, 2 Apr 2011 12:49:31 +0000 (13:49 +0100)]
Enlarge requested bbox by 20% on each side to make for easier panning; keep list of loaded bboxes in memory; increase ways-in-memory limit to 3000. Overall, should reduce number of /map calls and make editing more seamless.

10 years agoAdd tests for AddMemberToRelationAction, but I can't get the main one working and...
Andy Allan [Tue, 29 Mar 2011 18:28:46 +0000 (19:28 +0100)]
Add tests for AddMemberToRelationAction, but I can't get the main one working and can't figure out why

10 years agoFix OS7 imagery definition (png -> jpg) -- fixes #3597
Dave Stubbs [Sat, 2 Apr 2011 10:43:47 +0000 (11:43 +0100)]
Fix OS7 imagery definition (png -> jpg) -- fixes #3597

10 years agoMake advanced tag panel listen to tag changes; fix issues with panel not responding...
Richard Fairhurst [Sat, 2 Apr 2011 09:53:05 +0000 (10:53 +0100)]
Make advanced tag panel listen to tag changes; fix issues with panel not responding correctly.

10 years agoConvert Relation.setMember to use the undo system. Fixes 3586. This stuff could do...
Andy Allan [Tue, 29 Mar 2011 19:47:16 +0000 (20:47 +0100)]
Convert Relation.setMember to use the undo system. Fixes 3586. This stuff could do with some functioning unit tests.

10 years agoOnly remove parent if the entity doesn't appear elsewhere in the members list.
Andy Allan [Tue, 29 Mar 2011 19:34:04 +0000 (20:34 +0100)]
Only remove parent if the entity doesn't appear elsewhere in the members list.

10 years agoBugfix - if index is given as -1, insert after last member rather than before. See...
Andy Allan [Tue, 29 Mar 2011 19:29:13 +0000 (20:29 +0100)]
Bugfix - if index is given as -1, insert after last member rather than before. See also AddNodeToWayAction

10 years agoBugfix - index can be -ve. Fixes problem with undo/redo leading to ever increasingly...
Andy Allan [Tue, 29 Mar 2011 19:28:09 +0000 (20:28 +0100)]
Bugfix - index can be -ve. Fixes problem with undo/redo leading to ever increasingly repeated relation membership

10 years agoDispatch a load complete event even on error, so that loading... labels are handled...
Andy Allan [Tue, 29 Mar 2011 15:20:16 +0000 (16:20 +0100)]
Dispatch a load complete event even on error, so that loading... labels are handled properly

10 years agoFix flex bug with dragEvent returning negative stageX/stageY. Fixes #3613
Andy Allan [Tue, 29 Mar 2011 13:49:12 +0000 (14:49 +0100)]
Fix flex bug with dragEvent returning negative stageX/stageY. Fixes #3613