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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

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

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

8 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")

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

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

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

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

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

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

8 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

8 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).

8 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!)

8 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

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

8 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

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

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

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

8 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

8 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

8 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

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

8 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

8 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

8 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

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

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

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

8 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

8 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

8 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

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

8 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

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

8 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

8 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

8 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'

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

8 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

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

8 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

8 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

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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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

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

8 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

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

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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

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

8 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

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

8 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

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

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

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

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

8 years agoadd support for provider attribution and logo, as required by Bing. Add an entry...
Richard Fairhurst [Tue, 30 Nov 2010 00:48:21 +0000 (00:48 +0000)]
add support for provider attribution and logo, as required by Bing. Add an entry to imagery.xml like this:
  <set>
<name>Bing</name>
<url>http://ecn.t0.tiles.virtualearth.net/tiles/a$quadkey.jpeg?g=587&mkt=en-gb&n=z</url>
<scheme>microsoft</scheme>
<sourcetag>Bing</sourcetag>
<attribution_url>http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial/0,0?zl=1&mapVersion=v1&key=Arzdiw4nlOJzRwOz__qailc8NiR31Tt51dN2D7cm57NrnceZnCpgOkmJhNpGoppU&include=ImageryProviders&output=xml</attribution_url>
<logo>bing_maps.png</logo>
<logo_url>http://www.bing.com/maps</logo_url>
</set>

8 years agoUse the name supplied in the config file for the vector layer
Andy Allan [Mon, 29 Nov 2010 17:27:46 +0000 (17:27 +0000)]
Use the name supplied in the config file for the vector layer

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