potlatch2.git
8 years agoADD @vmatch attribute to <tag> element of feature in map_features.xml. Matching tag...
Steve Bennett [Tue, 8 Feb 2011 13:33:57 +0000 (13:33 +0000)]
ADD @vmatch attribute to <tag> element of feature in map_features.xml. Matching tag values can be specified as a literal, a *, or a regex. This allows grouping of several closely related tags into one feature, and also allows deprecated tags to be matched without being propagated.
FIX definition of traffic_calming=* and demonstrate the new feature. Previously once you chose an item from the drop down, it wouldn't be recognised as a traffic_calming any more.

Addresses http://trac.openstreetmap.org/ticket/3528

8 years agoADD map feature: ToyShop
Steve Bennett [Tue, 8 Feb 2011 12:20:58 +0000 (12:20 +0000)]
ADD map feature: ToyShop
IMPROVE all "shopping" features work for areas as well as points
BONUS comments in Feature.as and remove commented code in WayUI.as

8 years agoADD "has-tags" styles to wireframe.css in response to http://trac.openstreetmap.org...
Steve Bennett [Mon, 7 Feb 2011 13:12:32 +0000 (13:12 +0000)]
ADD "has-tags" styles to wireframe.css in response to trac.openstreetmap.org/ticket/3404

8 years agoTWEAK combobox drop-down height, to allow up to 15 choices to be visible at once...
Steve Bennett [Mon, 7 Feb 2011 12:48:40 +0000 (12:48 +0000)]
TWEAK combobox drop-down height, to allow up to 15 choices to be visible at once. Makes editing tags with many choices (like cuisine, surface, voltage...) much more pleasant.

8 years agoADD 'arrows-reversed' line decoration rendering solely to cater for "highway=*, onewa...
Steve Bennett [Sun, 6 Feb 2011 13:55:38 +0000 (13:55 +0000)]
ADD 'arrows-reversed' line decoration rendering solely to cater for "highway=*, oneway=-1". This fixes trac.openstreetmap.org/ticket/3384 .
ADD oneway=-1 feature to core_ways.css
SPEEDUP dash and arrow rendering by removing all trig functions

8 years agouse HTTPService for diff uploads so that we can tell Flash not to timeout
Richard Fairhurst [Sat, 5 Feb 2011 19:32:12 +0000 (19:32 +0000)]
use HTTPService for diff uploads so that we can tell Flash not to timeout

8 years agoADD reporting of lat/long of mouse cursor when you press L. This is in response to...
Steve Bennett [Sat, 5 Feb 2011 13:44:56 +0000 (13:44 +0000)]
ADD reporting of lat/long of mouse cursor when you press L. This is in response to trac.openstreetmap.org/ticket/3509 . I'm not very familiar with event-oriented programming, so I've probably done this wrong. I ended up creating new MapEvent types which doesn't feel right somehow. But it works...someone else can perhaps tell me the right way to have done this.

8 years agoDOCUMENT Elastic.as and MapEvent.as.
Steve Bennett [Sat, 5 Feb 2011 12:43:16 +0000 (12:43 +0000)]
DOCUMENT Elastic.as and MapEvent.as.

8 years agoSPLIT map_features.xml into a dozen sub-files, following Richard Fairhurst's suggesti...
Steve Bennett [Sat, 5 Feb 2011 06:13:56 +0000 (06:13 +0000)]
SPLIT map_features.xml into a dozen sub-files, following Richard Fairhurst's suggestions on Jan 10, 2011. It's a fairly rough split and shows that the divisions between amenities, buildings, and shopping are a bit arbitray. Similarly, leisure, landuse, sport, natural and agriculture are all dumped into landuse.xml. Still, it's a start.

8 years agoADD help text for 'follow' feature.
Steve Bennett [Wed, 2 Feb 2011 13:41:05 +0000 (13:41 +0000)]
ADD help text for 'follow' feature.

8 years agoADD denomination choice to place_of_worship, with about 25 choices.
Steve Bennett [Tue, 1 Feb 2011 12:50:50 +0000 (12:50 +0000)]
ADD denomination choice to place_of_worship, with about 25 choices.

8 years agoADD more religion=* types for http://trac.openstreetmap.org/ticket/3496
Steve Bennett [Tue, 1 Feb 2011 12:12:24 +0000 (12:12 +0000)]
ADD more religion=* types for trac.openstreetmap.org/ticket/3496

8 years agoTWEAK following logic to allow you to follow a loop all the way to the end.
Steve Bennett [Tue, 1 Feb 2011 12:04:27 +0000 (12:04 +0000)]
TWEAK following logic to allow you to follow a loop all the way to the end.

8 years agoFIX way splitting: P shaped ways are now handled correctly. Had to modify SplitWayAct...
Steve Bennett [Mon, 31 Jan 2011 22:32:55 +0000 (22:32 +0000)]
FIX way splitting: P shaped ways are now handled correctly. Had to modify SplitWayAction.as to support duplicate nodes. In response to #3495.

8 years agoFix #3480
Richard Fairhurst [Sun, 30 Jan 2011 16:12:07 +0000 (16:12 +0000)]
Fix #3480

8 years agoignore any com/ too
Richard Fairhurst [Sun, 30 Jan 2011 16:11:40 +0000 (16:11 +0000)]
ignore any com/ too

8 years agoMore styleparser documentation.
Richard Fairhurst [Sun, 30 Jan 2011 14:23:37 +0000 (14:23 +0000)]
More styleparser documentation.

8 years agoStart work on Halcyon styleparser documentation
Richard Fairhurst [Sat, 29 Jan 2011 20:01:16 +0000 (20:01 +0000)]
Start work on Halcyon styleparser documentation

8 years agogah
Richard Fairhurst [Sat, 29 Jan 2011 19:09:48 +0000 (19:09 +0000)]
gah

8 years agoadd 'line' and 'area' MapCSS objects
Richard Fairhurst [Sat, 29 Jan 2011 18:20:57 +0000 (18:20 +0000)]
add 'line' and 'area' MapCSS objects

8 years agofollow stylesheet URL change if SavedObject name found
Richard Fairhurst [Sat, 29 Jan 2011 11:33:02 +0000 (11:33 +0000)]
follow stylesheet URL change if SavedObject name found

8 years agorevert r25133 which was fouling up the tag panel
Richard Fairhurst [Sat, 29 Jan 2011 11:27:11 +0000 (11:27 +0000)]
revert r25133 which was fouling up the tag panel

8 years agoslight code tidy, and remove event listener properly
Richard Fairhurst [Sat, 29 Jan 2011 11:23:07 +0000 (11:23 +0000)]
slight code tidy, and remove event listener properly

8 years agoAdd to several relations at once. Closes #3485
Richard Fairhurst [Fri, 28 Jan 2011 14:32:20 +0000 (14:32 +0000)]
Add to several relations at once. Closes #3485

8 years agook, this should update the toolbox without incurring the tag panel time penalty
Richard Fairhurst [Fri, 28 Jan 2011 13:12:23 +0000 (13:12 +0000)]
ok, this should update the toolbox without incurring the tag panel time penalty

8 years agothis was slowing DrawWay down something chronic - though I suspect the tag panel...
Richard Fairhurst [Fri, 28 Jan 2011 13:04:17 +0000 (13:04 +0000)]
this was slowing DrawWay down something chronic - though I suspect the tag panel can still be sped up

8 years agostart to use @import rules for stylesheets. Add "enhanced" (access, direction &c...
Richard Fairhurst [Fri, 28 Jan 2011 00:07:23 +0000 (00:07 +0000)]
start to use @import rules for stylesheets. Add "enhanced" (access, direction &c.) and "network" (no landuse) stylesheets

8 years agohide non-universal styles from the main stylesheet menu (still selectable for vector...
Richard Fairhurst [Thu, 27 Jan 2011 22:00:54 +0000 (22:00 +0000)]
hide non-universal styles from the main stylesheet menu (still selectable for vector backgrounds)

8 years agomove stylesheets into dedicated directory
Richard Fairhurst [Thu, 27 Jan 2011 21:36:31 +0000 (21:36 +0000)]
move stylesheets into dedicated directory

8 years agoregularise indentation
Richard Fairhurst [Thu, 27 Jan 2011 21:21:04 +0000 (21:21 +0000)]
regularise indentation

8 years agoremove "follow way" warnings, and fix elastic behaviour
Richard Fairhurst [Thu, 27 Jan 2011 21:14:14 +0000 (21:14 +0000)]
remove "follow way" warnings, and fix elastic behaviour

8 years agoTriangle line decoration. Patch by Rafal Rudzik
Andy Allan [Wed, 26 Jan 2011 12:31:33 +0000 (12:31 +0000)]
Triangle line decoration. Patch by Rafal Rudzik

8 years agoThis is not the bodge you are looking for
Andy Allan [Wed, 26 Jan 2011 12:06:15 +0000 (12:06 +0000)]
This is not the bodge you are looking for

8 years agoupdate toolbox when reversing a way, or when adding nodes during drawway
Andy Allan [Wed, 26 Jan 2011 12:06:13 +0000 (12:06 +0000)]
update toolbox when reversing a way, or when adding nodes during drawway

8 years agoADD getNextNode(), getPrevNode() to net/systemeD/halcyon/connection/Way.as. These...
Steve Bennett [Wed, 26 Jan 2011 11:56:53 +0000 (11:56 +0000)]
ADD getNextNode(), getPrevNode() to net/systemeD/halcyon/connection/Way.as. These assist with navigating ways that are circular.
ADD followWay() to net/systemeD/potlatch2/controller/DrawWay.as. A new way to draw a way, by following an existing way. This is useful for making two areas touch each other exactly, or for a road to partially run along a border, or whatever local mapping practice dictates. Press "F" to use it.

TODO better user feedback on Follow, documenting it in user instructions, verifying correctness of getNextNode/getPrevNode.

8 years agoAdd a wrapper hbox around the rotating one, to stop glitches in the viewstack
Andy Allan [Tue, 25 Jan 2011 19:25:44 +0000 (19:25 +0000)]
Add a wrapper hbox around the rotating one, to stop glitches in the viewstack

8 years agoAdd a direction-sensing reverse arrow, with one or two caveats
Andy Allan [Tue, 25 Jan 2011 18:52:20 +0000 (18:52 +0000)]
Add a direction-sensing reverse arrow, with one or two caveats

8 years agoAdd an angle calculation for ways
Andy Allan [Tue, 25 Jan 2011 18:52:18 +0000 (18:52 +0000)]
Add an angle calculation for ways

8 years agoUnit tests for Feature, using mockito to mock MapFeatures
Andy Allan [Tue, 25 Jan 2011 10:57:34 +0000 (10:57 +0000)]
Unit tests for Feature, using mockito to mock MapFeatures

8 years agoAdd mockito - flex mocking library
Andy Allan [Tue, 25 Jan 2011 10:57:30 +0000 (10:57 +0000)]
Add mockito - flex mocking library

8 years agoUpgrade flexunit to 4.1.0 RC2
Andy Allan [Tue, 25 Jan 2011 10:57:21 +0000 (10:57 +0000)]
Upgrade flexunit to 4.1.0 RC2

8 years agoAdd keys to Feature tags while parsing inputSets - better list of keys for autocomplete
Andy Allan [Mon, 24 Jan 2011 16:11:48 +0000 (16:11 +0000)]
Add keys to Feature tags while parsing inputSets - better list of keys for autocomplete

8 years agoClean confusing indentation
Andy Allan [Mon, 24 Jan 2011 16:11:46 +0000 (16:11 +0000)]
Clean confusing indentation

8 years agoADD railway=disused, railway=abandoned as faded brown version of normal railway ...
Steve Bennett [Mon, 24 Jan 2011 14:00:02 +0000 (14:00 +0000)]
ADD railway=disused, railway=abandoned as faded brown version of normal railway (no distinction between them)
ADD aeroway=aerodrome, aeroway=taxiway, aeroway=runway, aeroway=apron. It's possible, but highly unlikely, that I went too far in the eye candy department on aeroway=runway.

8 years agoAdd Danish Fugro imagery to presets
Andy Allan [Mon, 24 Jan 2011 10:23:54 +0000 (10:23 +0000)]
Add Danish Fugro imagery to presets

8 years agoSupport @import directives in MapCSS files
Richard Fairhurst [Sun, 23 Jan 2011 17:55:01 +0000 (17:55 +0000)]
Support @import directives in MapCSS files

8 years agoFIX error introduced in previous checkin [25117]. I will continue to review my qualit...
Steve Bennett [Sun, 23 Jan 2011 11:04:59 +0000 (11:04 +0000)]
FIX error introduced in previous checkin [25117]. I will continue to review my quality control procedures, with greater urgency.

8 years agoADD directional arrows to highway=*, waterway=*, railway=*, aerial_way=* when selected.
Steve Bennett [Sun, 23 Jan 2011 10:20:34 +0000 (10:20 +0000)]
ADD directional arrows to highway=*, waterway=*, railway=*, aerial_way=* when selected.

This was inspired by http://trac.openstreetmap.org/ticket/3380. I actually think it works pretty well. Even on my ancient desktop, where potlatch as a whole runs pretty slow, I don't see any performance hit. I've tried to keep it as unobtrusive as possible - in many instances you need to zoom in to see the arrows, which I think is ok.

8 years ago[removing some noise accidentally checked in in 25114. I will review my quality contr...
Steve Bennett [Sun, 23 Jan 2011 09:42:58 +0000 (09:42 +0000)]
[removing some noise accidentally checked in in 25114. I will review my quality control procedures.]

8 years agoADD support for "sourcekey" entity in imagery.xml and controller/ControllerState.as.
Steve Bennett [Sun, 23 Jan 2011 09:33:23 +0000 (09:33 +0000)]
ADD support for "sourcekey" entity in imagery.xml and controller/ControllerState.as.

http://trac.openstreetmap.org/ticket/3472

8 years agoModify behaviour when removing node from way (minus key): remove, but don't delete...
Steve Bennett [Sun, 23 Jan 2011 08:59:46 +0000 (08:59 +0000)]
Modify behaviour when removing node from way (minus key): remove, but don't delete, nodes that have interesting tags.
http://trac.openstreetmap.org/ticket/3473

8 years agomove lots of eventListeners to weak references; fix a few dodgy (or non-existent...
Richard Fairhurst [Sat, 22 Jan 2011 22:27:16 +0000 (22:27 +0000)]
move lots of eventListeners to weak references; fix a few dodgy (or non-existent) disposals of eventListeners

8 years agomore important TODOs
Richard Fairhurst [Thu, 20 Jan 2011 16:27:45 +0000 (16:27 +0000)]
more important TODOs

8 years agomake note of critical bug
Richard Fairhurst [Thu, 20 Jan 2011 14:29:02 +0000 (14:29 +0000)]
make note of critical bug

8 years agowe don't actually need a mask any more now that we have a ScrollRect
Richard Fairhurst [Sun, 16 Jan 2011 18:58:06 +0000 (18:58 +0000)]
we don't actually need a mask any more now that we have a ScrollRect

8 years agosupport reverting individual entities - makes conflict resolution work
Richard Fairhurst [Sun, 16 Jan 2011 16:55:35 +0000 (16:55 +0000)]
support reverting individual entities - makes conflict resolution work

8 years agoremove no-longer needed types from MapEvent
Richard Fairhurst [Sun, 16 Jan 2011 16:55:05 +0000 (16:55 +0000)]
remove no-longer needed types from MapEvent

8 years agoSaveDialog support for floating alerts
Richard Fairhurst [Sun, 16 Jan 2011 16:54:39 +0000 (16:54 +0000)]
SaveDialog support for floating alerts

8 years agoadd namespace for VideoPlayer
Richard Fairhurst [Sun, 16 Jan 2011 16:54:08 +0000 (16:54 +0000)]
add namespace for VideoPlayer

8 years agofloating alerts
Richard Fairhurst [Sun, 16 Jan 2011 16:53:32 +0000 (16:53 +0000)]
floating alerts

8 years agosupport embedded video in help dialogue
Richard Fairhurst [Sun, 16 Jan 2011 16:52:56 +0000 (16:52 +0000)]
support embedded video in help dialogue

8 years agopress J to merge ways
Richard Fairhurst [Sun, 16 Jan 2011 16:52:28 +0000 (16:52 +0000)]
press J to merge ways

8 years agodon't leave name hanging around when moving nodes; ignore drawExcept/drawOnly for...
Richard Fairhurst [Sun, 16 Jan 2011 16:51:34 +0000 (16:51 +0000)]
don't leave name hanging around when moving nodes; ignore drawExcept/drawOnly for areas

8 years agodon't throw an exception if imagery logo/attribution is unreachable
Richard Fairhurst [Sun, 16 Jan 2011 16:50:59 +0000 (16:50 +0000)]
don't throw an exception if imagery logo/attribution is unreachable

8 years agorelation actions menu. This should make it easier to merge relations, etc. etc.
Richard Fairhurst [Fri, 14 Jan 2011 19:08:41 +0000 (19:08 +0000)]
relation actions menu. This should make it easier to merge relations, etc. etc.

8 years agoAdd fix for 0-byte-reporting browsers
Andy Allan [Fri, 14 Jan 2011 16:48:22 +0000 (16:48 +0000)]
Add fix for 0-byte-reporting browsers

8 years agoCustom preloader based on idea and code from Pathfinder Development
Andy Allan [Fri, 14 Jan 2011 14:39:50 +0000 (14:39 +0000)]
Custom preloader based on idea and code from Pathfinder Development

8 years agoPosition the X button more prettily
Andy Allan [Fri, 14 Jan 2011 13:01:18 +0000 (13:01 +0000)]
Position the X button more prettily

8 years agoDocument new Q shortcut
Andy Allan [Thu, 13 Jan 2011 18:33:41 +0000 (18:33 +0000)]
Document new Q shortcut

8 years agoMake quadralaterawhatsit work on selected waynodes, too. Add Q shortcut for both.
Andy Allan [Thu, 13 Jan 2011 18:27:40 +0000 (18:27 +0000)]
Make quadralaterawhatsit work on selected waynodes, too. Add Q shortcut for both.

8 years agoFilter out bad_routing bugs and don't bother fetching closed bugs either
Andy Allan [Thu, 13 Jan 2011 17:18:23 +0000 (17:18 +0000)]
Filter out bad_routing bugs and don't bother fetching closed bugs either

8 years agoMove the cutting/embankment highlighting to be below other things, so that roads...
Andy Allan [Thu, 13 Jan 2011 16:27:03 +0000 (16:27 +0000)]
Move the cutting/embankment highlighting to be below other things, so that roads in a cutting don't resemble railway trackbeds so much

8 years agomove Scottish Popular Edition to ooc.osm.org now that Ollie's UCL machine has been...
Richard Fairhurst [Mon, 10 Jan 2011 17:50:45 +0000 (17:50 +0000)]
move Scottish Popular Edition to ooc.osm.org now that Ollie's UCL machine has been turned off

8 years agomap_features.xml:
Steve Bennett [Sun, 9 Jan 2011 21:22:01 +0000 (21:22 +0000)]
map_features.xml:
ADD several common shop=*: car, kiosk, florist
REWORK building=yes assumption as a checkbox option

potlatch.css:
ADD highway=living_street

ADD flowers.png (needs work to make it fit in)

8 years agoallow <feature>s to be grouped
Richard Fairhurst [Sun, 9 Jan 2011 17:09:50 +0000 (17:09 +0000)]
allow <feature>s to be grouped

8 years agopermit XML file nesting in map_features.xml
Richard Fairhurst [Sun, 9 Jan 2011 16:50:08 +0000 (16:50 +0000)]
permit XML file nesting in map_features.xml

8 years agoADD 6 types of boundaries to map_features.xml
Steve Bennett [Sun, 9 Jan 2011 01:02:32 +0000 (01:02 +0000)]
ADD 6 types of boundaries to map_features.xml
ADD several boundary types to potlatch.css, including a catch-all
REMOVE way[sport] from potlatch.css (it is only a support tag, should theoretically not be rendered without an accompanying leisure=, amenity= etc.
TODO icons for boundaries in map_features.xml
TODO work out whether the other boundary types are worth supporting (and wtf the difference between boundary=town and place=town is)

8 years agoadd dummy error handler to stop #2044s being thrown in the debug player when Skobbler...
Richard Fairhurst [Thu, 6 Jan 2011 10:32:24 +0000 (10:32 +0000)]
add dummy error handler to stop #2044s being thrown in the debug player when Skobbler's site is screwing up

8 years agodon't update value after every keystroke (forcing expensive redraws), but rather...
Richard Fairhurst [Tue, 4 Jan 2011 19:39:28 +0000 (19:39 +0000)]
don't update value after every keystroke (forcing expensive redraws), but rather, only when the change is complete

8 years agodon't allow users to set empty keys
Richard Fairhurst [Tue, 4 Jan 2011 19:19:39 +0000 (19:19 +0000)]
don't allow users to set empty keys

8 years agoshow what's being undone as a tooltip
Richard Fairhurst [Tue, 4 Jan 2011 15:24:11 +0000 (15:24 +0000)]
show what's being undone as a tooltip

8 years agomake '+' work when tab focus is on Delete button, too
Richard Fairhurst [Tue, 4 Jan 2011 14:03:51 +0000 (14:03 +0000)]
make '+' work when tab focus is on Delete button, too

8 years agoFix autocomplete issues #3388 and #3403. Back out comments from previous change ...
Richard Fairhurst [Tue, 4 Jan 2011 13:09:48 +0000 (13:09 +0000)]
Fix autocomplete issues #3388 and #3403. Back out comments from previous change - sorry, I couldn't read the actual code with so much surrounding verbiage. Will document AutoComplete.as in due course when I'm feeling brave. :)

8 years agoshop=books. Closes #3376.
Richard Fairhurst [Tue, 4 Jan 2011 11:54:50 +0000 (11:54 +0000)]
shop=books. Closes #3376.

8 years agorelation editing for multiple selections
Richard Fairhurst [Fri, 31 Dec 2010 17:38:09 +0000 (17:38 +0000)]
relation editing for multiple selections

8 years agodrag multiple items
Richard Fairhurst [Fri, 31 Dec 2010 13:27:38 +0000 (13:27 +0000)]
drag multiple items

8 years agoAdd lots of icons. All from SJJB except two from http://www.clker.com/.
Steve Bennett [Tue, 28 Dec 2010 13:23:24 +0000 (13:23 +0000)]
Add lots of icons. All from SJJB except two from clker.com/.

8 years agomake + keypress work even if the advanced panel isn't currently selected
Richard Fairhurst [Tue, 28 Dec 2010 13:11:31 +0000 (13:11 +0000)]
make + keypress work even if the advanced panel isn't currently selected

8 years agomultipolygons shouldn't have non-Way members
Richard Fairhurst [Fri, 24 Dec 2010 10:33:33 +0000 (10:33 +0000)]
multipolygons shouldn't have non-Way members

8 years agostop space-drag from breaking when in SelectedWayNode state
Richard Fairhurst [Fri, 24 Dec 2010 10:10:29 +0000 (10:10 +0000)]
stop space-drag from breaking when in SelectedWayNode state

8 years agoDocument all tools, and SelectedParallelWay.
Steve Bennett [Fri, 24 Dec 2010 02:25:06 +0000 (02:25 +0000)]
Document all tools, and SelectedParallelWay.

8 years agoADD note about changing global flash security settings
Steve Bennett [Fri, 24 Dec 2010 01:48:48 +0000 (01:48 +0000)]
ADD note about changing global flash security settings
ADD note about using Flex Builder/Flash Builder
REWORD the "before you begin" to make it easier for skim readers who never read anything properly, like me.

8 years agoADD lots of amenity tags and more cuisine types. Trying to be systematic, working...
Steve Bennett [Thu, 23 Dec 2010 06:39:43 +0000 (06:39 +0000)]
ADD lots of amenity tags and more cuisine types. Trying to be systematic, working through taginfo from most popular to least. The top 30 cuisines and top 30 amenities are now represented. (Still much work to go on amenities: even the 30th most popular has nearly 19,000 uses.)
MODIFY some landuse and buildings, in particular removing some building=yes

8 years agoADD highway=path
Steve Bennett [Thu, 23 Dec 2010 01:48:48 +0000 (01:48 +0000)]
ADD highway=path
IMPROVE highway=cycleway, highway=footway (add help text)

8 years agoMake conjoint waterway/administrative boundary play nicely.
Steve Bennett [Thu, 23 Dec 2010 01:41:13 +0000 (01:41 +0000)]
Make conjoint waterway/administrative boundary play nicely.

8 years agoFix to bug 3409 (http://trac.openstreetmap.org/ticket/3409)
Steve Bennett [Wed, 22 Dec 2010 13:39:58 +0000 (13:39 +0000)]
Fix to bug 3409 (trac.openstreetmap.org/ticket/3409)

I've left in a heap of (disabled) trace code because it's likely someone will want to debug something similar.

In amongst all that there are two lines of code that fix the bug: one that sets selectedIndex to -1, and another that updates the cursor position. Basically with the incorrect index being set, it was partially acting like an autocomplete was being triggered, and then the cursor position was getting set to weird values.

Still some more usability issues remain.

8 years agoJust documentation in a few random places to do with styles, hitzones, layers etc.
Steve Bennett [Mon, 20 Dec 2010 12:22:12 +0000 (12:22 +0000)]
Just documentation in a few random places to do with styles, hitzones, layers etc.

8 years agoFix bug in TileSet where certain tiles would never get loaded. (Turned out to be...
Steve Bennett [Sun, 19 Dec 2010 13:58:17 +0000 (13:58 +0000)]
Fix bug in TileSet where certain tiles would never get loaded. (Turned out to be because map had scrolled, meaning tile was no longer needed on screen, but it didn't get reset to "unqueued".)

Hurray!

Also, a bunch of random doco.

8 years agoImplement speed-up for the case of a drawn way intersecting with another way. Do...
Steve Bennett [Sun, 19 Dec 2010 11:02:37 +0000 (11:02 +0000)]
Implement speed-up for the case of a drawn way intersecting with another way. Do this by not highlighting nodes that are offscreen. Added a bit of extra logic to make this happen, like tracking the "highlighted node" state of a way, and updating nodes when appropriate. I suspect I missed a much simpler way of doing this, in the UpdateEntityUIs logic somewhere...

Also a bunch of ASDoc documentation.

8 years agopressing Enter in the changeset comment field automatically clicks 'Save'
Richard Fairhurst [Sat, 18 Dec 2010 10:05:59 +0000 (10:05 +0000)]
pressing Enter in the changeset comment field automatically clicks 'Save'