potlatch2.git
10 years agoAdding bicycle=dismount to the bicycle access restrictions for cyclists. Adding descr...
Shaun McDonald [Tue, 14 Dec 2010 15:24:08 +0000 (15:24 +0000)]
Adding bicycle=dismount to the bicycle access restrictions for cyclists. Adding description to the prohibited to note that you are not allowed to even push your bike there.

10 years agoAdd a direct link to the downloads page in the readme.
Shaun McDonald [Tue, 14 Dec 2010 14:49:07 +0000 (14:49 +0000)]
Add a direct link to the downloads page in the readme.

10 years agoAdd the first test for JoinNodeAction
Andy Allan [Tue, 14 Dec 2010 12:57:32 +0000 (12:57 +0000)]
Add the first test for JoinNodeAction

10 years agoFix bug:
Steve Bennett [Tue, 14 Dec 2010 12:49:59 +0000 (12:49 +0000)]
Fix bug:
#3391: Dragging map deselects current way

Mouse up was causing both CLICK and MOUSE_UP events. Like the previous commenter, I don't know what's going on, but this fix will presumably allow correct behaviour for both SelectedMarker and SelectedWay states.

10 years agoAdd some unit tests for Node.within
Andy Allan [Tue, 14 Dec 2010 12:13:44 +0000 (12:13 +0000)]
Add some unit tests for Node.within

10 years agoRecalculate what imagery is available when the map is moved.
Tom Hughes [Tue, 14 Dec 2010 12:05:39 +0000 (12:05 +0000)]
Recalculate what imagery is available when the map is moved.

10 years agoAdd opencyclemap and mapquest tiles as optional background layers
Andy Allan [Tue, 14 Dec 2010 11:36:44 +0000 (11:36 +0000)]
Add opencyclemap and mapquest tiles as optional background layers

10 years agoadd some stuff about dependencies
Richard Fairhurst [Mon, 13 Dec 2010 13:54:31 +0000 (13:54 +0000)]
add some stuff about dependencies

10 years agoIncorporate feedback from randomjunk and TomH
Andy Allan [Mon, 13 Dec 2010 11:30:43 +0000 (11:30 +0000)]
Incorporate feedback from randomjunk and TomH

10 years agoSee, tabs are evil in all kinds of ways
Andy Allan [Mon, 13 Dec 2010 11:11:33 +0000 (11:11 +0000)]
See, tabs are evil in all kinds of ways

10 years agoD'oh, wrong place
Andy Allan [Mon, 13 Dec 2010 11:05:55 +0000 (11:05 +0000)]
D'oh, wrong place

10 years agoWrite down the coding standards that we've been using up to now
Andy Allan [Mon, 13 Dec 2010 11:00:20 +0000 (11:00 +0000)]
Write down the coding standards that we've been using up to now

10 years agoFix documentation typos, and expand entity.markClean/markDirty to warn off using...
Andy Allan [Mon, 13 Dec 2010 10:43:21 +0000 (10:43 +0000)]
Fix documentation typos, and expand entity.markClean/markDirty to warn off using them directly

10 years agoMove bindable metadata to put it immediately adjacent to the function definition...
Andy Allan [Mon, 13 Dec 2010 10:43:19 +0000 (10:43 +0000)]
Move bindable metadata to put it immediately adjacent to the function definition. Indentation tweaks

10 years agoerror/conflict-handling work-in-progress
Richard Fairhurst [Sun, 12 Dec 2010 23:20:25 +0000 (23:20 +0000)]
error/conflict-handling work-in-progress

10 years agoKludge up a one-line fix to another GUI updating bug:
Steve Bennett [Sun, 12 Dec 2010 05:32:50 +0000 (05:32 +0000)]
Kludge up a one-line fix to another GUI updating bug:
1) On advanced tab, change a tag like highway=road to waterway=river
2) Switch to simple tab
3) Although the new feature is recognised, the old editors are present.

Also applied to repeating tags, or deleting all tags.

10 years agoAllow numpad + as well as "equals plus". (Like P1)
Steve Bennett [Sun, 12 Dec 2010 05:16:42 +0000 (05:16 +0000)]
Allow numpad + as well as "equals plus". (Like P1)

10 years agoFix two irritating bugs where the editing panel wasn't being updated:
Steve Bennett [Sun, 12 Dec 2010 04:01:00 +0000 (04:01 +0000)]
Fix two irritating bugs where the editing panel wasn't being updated:
1) On pressing Source button ("B")
2) On repeating tags ("R")

10 years agoTwo more files documented.
Steve Bennett [Sun, 12 Dec 2010 03:47:59 +0000 (03:47 +0000)]
Two more files documented.

10 years agoOne more doco.
Steve Bennett [Sat, 11 Dec 2010 14:51:23 +0000 (14:51 +0000)]
One more doco.

10 years agoSome more doco.
Steve Bennett [Sat, 11 Dec 2010 14:43:52 +0000 (14:43 +0000)]
Some more doco.

10 years agoAdd some ASDoc comments to mapfeature-related classes. Probably best if someone quick...
Steve Bennett [Sat, 11 Dec 2010 12:14:35 +0000 (12:14 +0000)]
Add some ASDoc comments to mapfeature-related classes. Probably best if someone quickly reviews these.

Also replaced a few tab characters with 4 spaces. Hope that's ok.

10 years agostop control characters from being entered (works properly this time. I hope)
Richard Fairhurst [Sat, 11 Dec 2010 12:12:41 +0000 (12:12 +0000)]
stop control characters from being entered (works properly this time. I hope)

10 years agoback out previous change... sigh
Richard Fairhurst [Sat, 11 Dec 2010 00:09:45 +0000 (00:09 +0000)]
back out previous change... sigh

10 years agoprevent control characters from getting into keys and values
Richard Fairhurst [Fri, 10 Dec 2010 21:06:38 +0000 (21:06 +0000)]
prevent control characters from getting into keys and values

10 years agoMake Delete on a 1-length way behave the same as Escape. Closes #3363 (but note also...
Richard Fairhurst [Fri, 10 Dec 2010 17:52:20 +0000 (17:52 +0000)]
Make Delete on a 1-length way behave the same as Escape. Closes #3363 (but note also #3385).

10 years agoapply multiple-selection tagging patch by Christian Resch (thanks!)
Richard Fairhurst [Fri, 10 Dec 2010 17:13:41 +0000 (17:13 +0000)]
apply multiple-selection tagging patch by Christian Resch (thanks!)

10 years agodon't deselect text when mouse pointer is aimlessly wandering around the map
Richard Fairhurst [Thu, 9 Dec 2010 14:45:13 +0000 (14:45 +0000)]
don't deselect text when mouse pointer is aimlessly wandering around the map

10 years agosupport putative new silent delete
Richard Fairhurst [Thu, 9 Dec 2010 12:16:46 +0000 (12:16 +0000)]
support putative new silent delete

10 years agoChange the upload icon colours, and use them instead of the floppy disk
Andy Allan [Thu, 9 Dec 2010 11:47:31 +0000 (11:47 +0000)]
Change the upload icon colours, and use them instead of the floppy disk

10 years agoA better way to adjust the dialogs to fit their contents?
Andy Allan [Thu, 9 Dec 2010 10:45:55 +0000 (10:45 +0000)]
A better way to adjust the dialogs to fit their contents?

10 years agoFix the "can't deselect a marker by clicking on the background" bug. Note the comment...
Andy Allan [Wed, 8 Dec 2010 18:33:34 +0000 (18:33 +0000)]
Fix the "can't deselect a marker by clicking on the background" bug. Note the comment though.

10 years agoAdd unit testing framework, based on flexunit 4.0 . To compile and run the tests...
Andy Allan [Wed, 8 Dec 2010 15:09:42 +0000 (15:09 +0000)]
Add unit testing framework, based on flexunit 4.0 . To compile and run the tests run 'ant test' - currently only two tests for Node have been added.

10 years agoImplement J for Join on selectedWayNode - joins a node to overlapping ways, and remov...
Andy Allan [Tue, 7 Dec 2010 16:46:34 +0000 (16:46 +0000)]
Implement J for Join on selectedWayNode - joins a node to overlapping ways, and removes overlapping duplicate nodes

10 years agoMake relation.removeMemberByIndex into an undoable action thingy
Andy Allan [Tue, 7 Dec 2010 16:46:32 +0000 (16:46 +0000)]
Make relation.removeMemberByIndex into an undoable action thingy

10 years agochange relation.appendMember to use the undo system, and update various places as...
Andy Allan [Tue, 7 Dec 2010 16:46:30 +0000 (16:46 +0000)]
change relation.appendMember to use the undo system, and update various places as appropriate

10 years agoplaceholders for second half of the code (will need a small API update before this...
Richard Fairhurst [Tue, 7 Dec 2010 15:29:19 +0000 (15:29 +0000)]
placeholders for second half of the code (will need a small API update before this is completed)

10 years agoallow deleted nodes to be reloaded if they're referenced by a newly loaded way. First...
Richard Fairhurst [Tue, 7 Dec 2010 14:39:00 +0000 (14:39 +0000)]
allow deleted nodes to be reloaded if they're referenced by a newly loaded way. First step towards fixing the "deleted off-screen node" problem

10 years agoback out cacheAsBitmap on individual EntityUI sprites as it appears to cause weird...
Richard Fairhurst [Tue, 7 Dec 2010 10:30:43 +0000 (10:30 +0000)]
back out cacheAsBitmap on individual EntityUI sprites as it appears to cause weird redraw regions in some edge cases

10 years agowrite changesets to tracelog if an error occurs
Richard Fairhurst [Tue, 7 Dec 2010 00:14:23 +0000 (00:14 +0000)]
write changesets to tracelog if an error occurs

10 years agoimprove display performance, particularly when panning the map and when dragging...
Richard Fairhurst [Mon, 6 Dec 2010 22:25:50 +0000 (22:25 +0000)]
improve display performance, particularly when panning the map and when dragging a node in a way (some issues to sort out with the latter still)

10 years agoDocumentation for the undo system
Andy Allan [Mon, 6 Dec 2010 19:08:58 +0000 (19:08 +0000)]
Documentation for the undo system

10 years agoadd area=yes on roads.
Steve Bennett [Mon, 6 Dec 2010 13:28:56 +0000 (13:28 +0000)]
add area=yes on roads.

10 years agoWhen setting maxspeeds insert a space before the unit. Updated the array purely for...
Andy Allan [Mon, 6 Dec 2010 13:12:54 +0000 (13:12 +0000)]
When setting maxspeeds insert a space before the unit. Updated the array purely for clarity

10 years agoAdd the most common missing maxspeeds from the kmh world
Andy Allan [Mon, 6 Dec 2010 12:57:13 +0000 (12:57 +0000)]
Add the most common missing maxspeeds from the kmh world

10 years agoAdd the MapDust test server (disabled) - use this if you're experimenting with P2...
Andy Allan [Mon, 6 Dec 2010 12:57:11 +0000 (12:57 +0000)]
Add the MapDust test server (disabled) - use this if you're experimenting with P2 bug handling

10 years agomake it look purty
Richard Fairhurst [Mon, 6 Dec 2010 09:29:34 +0000 (09:29 +0000)]
make it look purty

10 years agorestore default namespace after XML parsing, to guard against weird "invalid register...
Richard Fairhurst [Sun, 5 Dec 2010 20:48:59 +0000 (20:48 +0000)]
restore default namespace after XML parsing, to guard against weird "invalid register 3 was accessed" runtime errors

10 years agosupport GPX 1.1 too
Richard Fairhurst [Sun, 5 Dec 2010 16:44:58 +0000 (16:44 +0000)]
support GPX 1.1 too

10 years agopass the URL of a GPX in the gpx_url parameter, as requested by Nop. There's a fair...
Richard Fairhurst [Sun, 5 Dec 2010 00:05:00 +0000 (00:05 +0000)]
pass the URL of a GPX in the gpx_url parameter, as requested by Nop. There's a fair amount of refactoring one could do, but this'll do for now

10 years agopersonally I think using regexes to nuke the fuck out of XML is a greatly underrated...
Richard Fairhurst [Sat, 4 Dec 2010 22:27:58 +0000 (22:27 +0000)]
personally I think using regexes to nuke the fuck out of XML is a greatly underrated pastime

10 years agoautomatically select comment TextField on clicking 'save'
Richard Fairhurst [Sat, 4 Dec 2010 22:05:26 +0000 (22:05 +0000)]
automatically select comment TextField on clicking 'save'

10 years agomake layers work again
Richard Fairhurst [Sat, 4 Dec 2010 22:02:18 +0000 (22:02 +0000)]
make layers work again

10 years agofix issue with creating new relations
Richard Fairhurst [Sat, 4 Dec 2010 21:47:48 +0000 (21:47 +0000)]
fix issue with creating new relations

10 years agooops
Andy Allan [Fri, 3 Dec 2010 18:21:22 +0000 (18:21 +0000)]
oops

10 years agoAdd missing American speed limit presets
Andy Allan [Fri, 3 Dec 2010 18:08:01 +0000 (18:08 +0000)]
Add missing American speed limit presets

10 years agoFixup embankment, cutting to be more regular and smaller, administrative to be long...
Andy Allan [Fri, 3 Dec 2010 18:00:25 +0000 (18:00 +0000)]
Fixup embankment, cutting to be more regular and smaller, administrative to be long thin dashes, and remove the hazard tape

10 years agoAdd more things to map features. Rework the source field.
Andy Allan [Fri, 3 Dec 2010 18:00:23 +0000 (18:00 +0000)]
Add more things to map features. Rework the source field.

10 years agoAllow a javascript function to be called when the map is moved
Tom Hughes [Fri, 3 Dec 2010 14:58:58 +0000 (14:58 +0000)]
Allow a javascript function to be called when the map is moved

10 years agoa few waterway icons
Richard Fairhurst [Fri, 3 Dec 2010 13:02:16 +0000 (13:02 +0000)]
a few waterway icons

10 years agopath icons
Richard Fairhurst [Fri, 3 Dec 2010 11:59:46 +0000 (11:59 +0000)]
path icons

10 years agoAdjust the width (and height) of the dropdown lists based on the size of their contents
Andy Allan [Fri, 3 Dec 2010 11:08:04 +0000 (11:08 +0000)]
Adjust the width (and height) of the dropdown lists based on the size of their contents

10 years agoImprove the XML parsing used for the Bing imagery attribution file
Tom Hughes [Thu, 2 Dec 2010 21:25:32 +0000 (21:25 +0000)]
Improve the XML parsing used for the Bing imagery attribution file

10 years agoDon't bother trying to strip namespaces from OSM files as they don't have them
Tom Hughes [Thu, 2 Dec 2010 21:14:42 +0000 (21:14 +0000)]
Don't bother trying to strip namespaces from OSM files as they don't have them

10 years agoMake the various GPX parsers a bit less mad
Tom Hughes [Thu, 2 Dec 2010 19:24:41 +0000 (19:24 +0000)]
Make the various GPX parsers a bit less mad

10 years agomake sure attribution moves around when you resize the window
Richard Fairhurst [Thu, 2 Dec 2010 19:23:19 +0000 (19:23 +0000)]
make sure attribution moves around when you resize the window

10 years agofix bug with ways not being redrawn on panning back; and be a bit less silly about...
Richard Fairhurst [Thu, 2 Dec 2010 18:45:52 +0000 (18:45 +0000)]
fix bug with ways not being redrawn on panning back; and be a bit less silly about purging when there's a relation with lots of off-screen ways

10 years agoHave a disabled icon for when the save button is disabled
Andy Allan [Thu, 2 Dec 2010 17:32:29 +0000 (17:32 +0000)]
Have a disabled icon for when the save button is disabled

10 years agoAlternative upload symbols
Andy Allan [Thu, 2 Dec 2010 17:32:28 +0000 (17:32 +0000)]
Alternative upload symbols

10 years agoAdd a styleName to the toolbox
Andy Allan [Thu, 2 Dec 2010 17:32:27 +0000 (17:32 +0000)]
Add a styleName to the toolbox

10 years agoAdd styleName hooks for styling. Improve arrangement at the top of the Simple panel...
Andy Allan [Thu, 2 Dec 2010 17:32:25 +0000 (17:32 +0000)]
Add styleName hooks for styling. Improve arrangement at the top of the Simple panel. Remove the dropdown from the tab navigator

10 years agonew highway icons
Richard Fairhurst [Thu, 2 Dec 2010 10:26:15 +0000 (10:26 +0000)]
new highway icons

10 years agoConvert k/v to string before storing them. Fixes #3357
Andy Allan [Wed, 1 Dec 2010 16:14:37 +0000 (16:14 +0000)]
Convert k/v to string before storing them. Fixes #3357

10 years agoDon't copy blank tags to clipboard for nodes either. Don't copy them at all for markers.
Andy Allan [Wed, 1 Dec 2010 14:52:00 +0000 (14:52 +0000)]
Don't copy blank tags to clipboard for nodes either. Don't copy them at all for markers.

10 years agoDon't copy blank tags to the clipboard. This happens when DrawWay.exitState() calls...
Andy Allan [Wed, 1 Dec 2010 14:51:58 +0000 (14:51 +0000)]
Don't copy blank tags to the clipboard. This happens when DrawWay.exitState() calls super(), but is generally not what people would want anyway.

10 years agoFix up the 'everything is a place' bug - you can't have a feature without any tags...
Andy Allan [Wed, 1 Dec 2010 12:45:21 +0000 (12:45 +0000)]
Fix up the 'everything is a place' bug - you can't have a feature without any tags otherwise it acts as a catchall. Introduce some more places with tags, but every other type of place is now unrecognised

10 years agoDon't add the end node if you click on it again, slowly. Closes #3355
Andy Allan [Wed, 1 Dec 2010 11:32:00 +0000 (11:32 +0000)]
Don't add the end node if you click on it again, slowly. Closes #3355

10 years agostop erroring every time a category is selected for an untagged way
Richard Fairhurst [Wed, 1 Dec 2010 10:29:01 +0000 (10:29 +0000)]
stop erroring every time a category is selected for an untagged way

10 years agoRemember dimming/sharpening preferences
Richard Fairhurst [Tue, 30 Nov 2010 21:35:59 +0000 (21:35 +0000)]
Remember dimming/sharpening preferences

10 years agokill stupid tab bug
Richard Fairhurst [Tue, 30 Nov 2010 21:07:16 +0000 (21:07 +0000)]
kill stupid tab bug

10 years agoRemove v='*' entries from map_features. I'd rather have missing functionality than...
Andy Allan [Tue, 30 Nov 2010 19:18:36 +0000 (19:18 +0000)]
Remove v='*' entries from map_features. I'd rather have missing functionality than bogus data

10 years agodon't break when you ctrl-click the background
Richard Fairhurst [Tue, 30 Nov 2010 19:02:40 +0000 (19:02 +0000)]
don't break when you ctrl-click the background

10 years agomove vector background handling to collection, and use singleton method. Now matches...
Andy Allan [Tue, 30 Nov 2010 18:41:35 +0000 (18:41 +0000)]
move vector background handling to collection, and use singleton method. Now matches imagery and stylesheets

10 years agoAdd descriptions for all the packages
Andy Allan [Tue, 30 Nov 2010 18:07:48 +0000 (18:07 +0000)]
Add descriptions for all the packages

10 years agochange Bing terms link to OSM-specific one
Richard Fairhurst [Tue, 30 Nov 2010 17:50:29 +0000 (17:50 +0000)]
change Bing terms link to OSM-specific one

10 years agoread default from imagery.xml rather than using yahoodefault
Richard Fairhurst [Tue, 30 Nov 2010 17:44:11 +0000 (17:44 +0000)]
read default from imagery.xml rather than using yahoodefault

10 years agosuperstar DJs / here we go
Richard Fairhurst [Tue, 30 Nov 2010 17:38:02 +0000 (17:38 +0000)]
superstar DJs / here we go

10 years agoProvide a link to the website, if the <details> parameter is filled out for bug layers.
Andy Allan [Tue, 30 Nov 2010 15:52:43 +0000 (15:52 +0000)]
Provide a link to the website, if the <details> parameter is filled out for bug layers.

10 years agoWrap ExternalInterface call in test - not all players support it
Andy Allan [Tue, 30 Nov 2010 15:52:41 +0000 (15:52 +0000)]
Wrap ExternalInterface call in test - not all players support it

10 years agoSupport loading 1+ GPX files via imagery.xml
Andy Allan [Tue, 30 Nov 2010 15:23:51 +0000 (15:23 +0000)]
Support loading 1+ GPX files via imagery.xml

10 years agohm, shouldn't have committed that quite yet
Richard Fairhurst [Tue, 30 Nov 2010 15:05:59 +0000 (15:05 +0000)]
hm, shouldn't have committed that quite yet

10 years agosupport Potlatch legacy tile scheme; don't support Google
Richard Fairhurst [Tue, 30 Nov 2010 15:05:11 +0000 (15:05 +0000)]
support Potlatch legacy tile scheme; don't support Google

10 years agoRegister a setPosition function that can be used from javascript to
Tom Hughes [Tue, 30 Nov 2010 12:59:53 +0000 (12:59 +0000)]
Register a setPosition function that can be used from javascript to
adjust the map view.

10 years agoMake it much less likely to trigger bugClosed errors, but errors still aren't handled...
Andy Allan [Tue, 30 Nov 2010 12:51:38 +0000 (12:51 +0000)]
Make it much less likely to trigger bugClosed errors, but errors still aren't handled in any way

10 years agoAllow a GPX trace specified by the "gpx" parameter to be loaded at startup.
Tom Hughes [Tue, 30 Nov 2010 12:19:09 +0000 (12:19 +0000)]
Allow a GPX trace specified by the "gpx" parameter to be loaded at startup.

10 years agoAdd shauns suggestion of ordering the relation select panel more usefully - more...
Andy Allan [Tue, 30 Nov 2010 12:02:31 +0000 (12:02 +0000)]
Add shauns suggestion of ordering the relation select panel more usefully - more difficult than it first seemed

10 years agoImproved handling of blank nickname/comment fields (i.e. this is what I meant the...
Andy Allan [Tue, 30 Nov 2010 12:02:30 +0000 (12:02 +0000)]
Improved handling of blank nickname/comment fields (i.e. this is what I meant the first time)

10 years agoAllow two javascript functions to be specified which will maximise and
Tom Hughes [Tue, 30 Nov 2010 10:48:56 +0000 (10:48 +0000)]
Allow two javascript functions to be specified which will maximise and
minimise the editing area and make the M key toggle between states.

10 years agomove attribution to bottom right, and support a 'Terms of use' URL (add <terms_url...
Richard Fairhurst [Tue, 30 Nov 2010 10:23:26 +0000 (10:23 +0000)]
move attribution to bottom right, and support a 'Terms of use' URL (add <terms_url>microsoft.com/maps/product/terms.html</terms_url> to the <set>)

10 years agomake logo clickable
Richard Fairhurst [Tue, 30 Nov 2010 01:03:19 +0000 (01:03 +0000)]
make logo clickable