source: josm

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author
(edit) @19331   7 months stoecker

checkstyle

(edit) @19330   7 months stoecker

see #24104 - removed deprecated functions

(edit) @19329   7 months stoecker

fix #24160, fix typo

(edit) @19328   7 months stoecker

see #24104 - removed deprecated functions

(edit) @19327   7 months stoecker

fix #24016 - better visibility of correlation status, patch by StephaneP

(edit) @19326   7 months stoecker

i18n update

(edit) @19325   7 months stoecker

fix #21007, fix failing unit test, patch by StephaneP

(edit) @19324   7 months stoecker

fix #22948 - use redo/undo shortcuts in text boxes, patch by Taylor

(edit) @19323   7 months stoecker

increase possible number of steps for zooming, see #24145

(edit) @19322   7 months stoecker

see #24104 - drop deprecated test

(edit) @19321   7 months stoecker

checkstyle

(edit) @19320   7 months stoecker

see #24104 - drop deprecated elements which aren't used anywhere

(edit) @19319   7 months stoecker

see #24104, add deprecated dates for remaining used functions, patch by gaben (stripped down a lot)

(edit) @19318   7 months stoecker

fix #24004 - add option the prevent deleting of support layer, patch by StephaneP (default value modified)

(edit) @19317   7 months stoecker

see #21007 - now add the missing file I was sure I already added

(edit) @19316   7 months stoecker

support 2 more circle drawing data sources for NMEA, patch by StephaneP (slightly modified), fix #21007

(edit) @19315   7 months GerdP

fix #24137 : Wrong plural in Warning message?

(edit) @19314   7 months stoecker

fix #21961, fix #24142 - apply patch by Taylor - fix ISE with F11 usage

(edit) @19313   7 months stoecker

update i18n

(edit) @19312   7 months stoecker

I18n - drop broken vi.lang files

(edit) @19311   7 months stoecker

fix #24121, fix null access

(edit) @19310   7 months stoecker

disable inactive social media

(edit) @19309   7 months stoecker

fix CID 1591123, add missing break

(edit) @19308   7 months stoecker

increase JMapViewer to 2.24, fix #24116

(edit) @19307   7 months taylor.smock

Fix most new PMD issues

It would be better to use the newer switch syntax introduced in Java 14 (JEP 361),
but we currently target Java 11+. When we move to Java 17, this should be
reverted and the newer switch syntax should be used.

(edit) @19306   7 months stoecker

i18n update

(edit) @19305   7 months stoecker

add Taylor

(edit) @19304   7 months stoecker

checkstyle

(edit) @19303   7 months stoecker

update pmd

(edit) @19302   7 months stoecker

update pmd

(edit) @19301   7 months taylor.smock

Revert errorprone to 2.31 since that was the last version to officially work on Java 11

(edit) @19300   7 months stoecker

fix PMD

(edit) @19299   7 months stoecker

fix another valid PMD complain

(edit) @19298   7 months taylor.smock

i18n updates

(edit) @19297   7 months taylor.smock

Fix compile errors

(edit) @19296   7 months stoecker

remove most of the new PMD messages (forgot to save one file befor submit :-)

(edit) @19295   7 months stoecker

remove most of the new PMD messages

(edit) @19294   7 months taylor.smock

Fix test broken by dependency updates

EqualsVerifier did not like having two fields with the same name for an object.

(edit) @19293   7 months taylor.smock

See #23913: Fetch remote API keys for Bing imagery

Update JMapViewer and other dependencies

(edit) @19292   7 months taylor.smock

See #23913: Fetch remote API keys for Bing imagery

This disables a test that appears to be causing other tests to fail.

More debugging is needed.

(edit) @19291   7 months taylor.smock

Fix tests broken by r19289

(edit) @19290   8 months taylor.smock

Fix #24093: Wrong page is linked for context sensitive help for Edit -> Delete action

(edit) @19289   8 months taylor.smock

Fix #24097: Zoom to imagery layer

This fixes two issues:

  1. Adds implementation for visitBoundingBox used by the Zoom to layer action
  2. Uses addLayer(Layer, boolean) to avoid zooming to the bounds of the layer on layer add

Also, clean up some deprecation warnings.

(edit) @19288   8 months stoecker

add missing escape characters to mapcss parser, fix #24095

(edit) @19287   8 months stoecker

I18n update, see #24067

(edit) @19286   8 months taylor.smock

See #24075: Reduce memory allocations for TaggingPresetItem#matches

Make PMD happy again.

As noted in the comments for the for loop in question, this is a fairly
significant performance optimization. The for-each loop that PMD prefers has
significant penalties on hot code sections for ArrayList objects, which we use
extensively.

TBH, the JVM should probably do this optimization for (at minimum) ArrayList
objects.

(edit) @19285   8 months taylor.smock

Fix #24075: Reduce memory allocations for TaggingPresetItem#matches

This is done by doing the following:

  • Converting KeyedItem.match to a MatchType from a String
    • This avoids calling MatchType#ofString repeatedly
    • This does decrease the visibility of the match field and change the type
  • Avoiding ArrayList.Itr creation in TaggingPresetItem#matches
    • This does produce some duplicate code, unfortunately.

The KeyedItem.match change reduces memory allocations in KeyedItem#matches by
98% and CPU cycles by 77%.
The TaggingPresetItem#matches change to avoid ArrayList.Itr creation reduces
memory allocations by 100% and CPU cycles by 94% for ArrayList (only looking at
changes between the for loop types).

The net change for TaggingPresetItem#matches is a reduction of memory
allocations by 99% and CPU cycles by 74%. As noted in the ticket, there was a
reduction in GC by ~80%.

(edit) @19284   8 months stoecker

add one more discardable tag from wiki

(edit) @19283   8 months stoecker

see #24067 - I18n update

(edit) @19282   8 months stoecker

add some more auto-discard tags to match wiki description, see https://wiki.openstreetmap.org/wiki/LINZ/Invented_Tags, thanks Frederik for his new TagInfo overview

(edit) @19281   8 months stoecker

converted_by no longer exists in the database, stop handling it special

(edit) @19280   8 months GerdP

fix #23718: Console messages: WARNING: Not downloading all tiles because there is more than 40 tiles on an axis!
Correct syntax "there is more than" -> "there are more than"

(edit) @19279   8 months GerdP

fix #24037

  • revert the changes from r17423 in GenericRelationEditor
  • use GuiHelper.runInEDT() to avoid the EDT violations reported in #20228
(edit) @19278   8 months stoecker

i18n update

(edit) @19277   8 months stoecker

i18n update

(edit) @19276   8 months stoecker

add Welsh and readd Turkish languages

(edit) @19275   8 months stoecker

checkstyle

(edit) @19274   8 months stoecker

no longer strip apikeys from URL, we have api key handling now

(edit) @19273   8 months stoecker

fix #24054 - no longer silently ignore identical or mismatching asserts in mapcss tag checker

(edit) @19272   9 months taylor.smock

See #24046: Reduce cost of Geometry#filterInsidePolygon when a primitive is a relation

This was done by checking that the bounds of the polygon contain the bounds of
the multipolygon ring before creating an area from the multipolygon ring.

If the polygon does not contain the bounds of the ring, then at least part
of the ring is outside the polygon, and thus is not inside the polygon.

Measurements using validators at (57.5183581,-75.0512982),(57.2181217,-73.9434821):

  • CPU: -87%
  • Memory: -62%

Please note that the test area is still very expensive in
Geometry#filterInsideMultipolygon (note the Multipolygon).

(edit) @19271   9 months taylor.smock

Fix a performance issue when working with large datasets

The primary issue is that the collection passed to the resetTiles method is a
filtered collection with no defined size. In order to calculate the size, it must
iterate through the collection which becomes expensive with large datasets.

The fix for this is to remove the dependency on the size of the dataset, and just
look at the number of primitives passed in.

In addition, if the current renderer is not StyledTiledMapRenderer, clear the cache and return.

(edit) @19270   9 months stoecker

prevent CI test failures on Windows java 11, where 500ms are only 497ms sometimes

(edit) @19269   9 months stoecker

silence PMD - some of these rules are bullshit - explicit initialization is always better than default ones even if it costs a little space

(edit) @19268   9 months stoecker

split mismatching translations, fix #24024

(edit) @19267   9 months taylor.smock

Fix #22035: Add preset amenity=driver_training (patch by SteveLz, modified)

Modifications are as follows:

  • Add similar but different tag links
  • Add rendering for amenity=driver_training when it is a node

amenity=driver_training is different from amenity=driving_school in that
amenity=driver_training is where the student driver can physically drive a
vehicle for practice. amenity=driving_school may also teach theoretical driving
practices and may have physical training aids.

(edit) @19266   9 months taylor.smock

Fix #23945: ImageViewerDialog.displayImages() - do not re-center if the image has not changed (patch by IreuN)

(edit) @19265   9 months taylor.smock

i18n updates

(edit) @19264   9 months taylor.smock

Fix #24030: JEP 486 (in Java 24) always throws an UnsupportedOperationException when attempting to set security policy

This merely fixes startup issues. There are a few other locations which may
cause issues, but did not during relatively minimal testing.

(edit) @19263   9 months stoecker

indicate possible shortcuts for parser

(edit) @19262   10 months taylor.smock

pmd

(edit) @19261   10 months taylor.smock

See #24014: Add multiline and normalize attributes to preset xsd

normalize="false" will prevent all whitespace normalization while
normalize="true" + multiline="true" will strip start and end whitespace and
inner whitespace that is not newlines.

The primary reason for this change is osmwiki:Key:inscription which can have
newlines in order to match the inscription.

This does not modify UI elements to support multiline editing.

(edit) @19260   10 months taylor.smock

Fix #24023: Add pashto (ps) as an RTL language

(edit) @19259   10 months stoecker

fix #23943 - patch by Famlam - allow negative values for substring to count from the end of the string

(edit) @19258   10 months stoecker

fix #24009 - don't call setting storage in settings setup stage or checkbox state gets lost

(edit) @19257   10 months stoecker

fix #23932 - patch by huntertur - Add cycleway:*:buffer to Highways/Ways/Cycle Lane/Track preset

(edit) @19256   10 months taylor.smock

Add/ignore popular tags

Add:

  • advertising=totem
(edit) @19255   10 months stoecker

fix URL joining for WMTS when URL comes from capabilities and doesn't end in a separation, fix #23980

(edit) @19254   10 months stoecker

some small cleanups

(edit) @19253   10 months taylor.smock

Fix #23988: Add api.openhistoricalmap.org as a possible endpoint for OHM when getting the default client id (patch by Rub21)

(edit) @19252   10 months taylor.smock

i18n updates

(edit) @19251   10 months taylor.smock

Dependency updates

Most plugins have been moved to require a minimum version of r19044 (mostly for
Java 11+ build reasons).

(edit) @19250   11 months taylor.smock

Dependency updates

ivy.xml:

  • junit5-system-exit: 1.1.2 -> 2.0.0 on Java 17+. This is needed since there are patches currently being applied to the JDK to remove the security manager (see JEP 486), and the 1.x series will no longer work. The 2.x series is Java 17+ only and runs as a javaagent.
  • tag2link: 2024.8.21 -> 2024.10.21
  • wiremock: 3.9.1 -> 3.9.2
  • junit5: 5.11.0 -> 5.11.3

tools/ivy.xml:

  • checkstyle: 10.18.1 -> 10.18.2
  • proguard-ant: 7.5.0 -> 7.6.0
  • pmd: 7.5.0 -> 7.6.0
  • errorprone: Not upgraded from 2.31.0 -> 2.34.0 (since it is Java 17+ only)
(edit) @19249   11 months taylor.smock

Fix #23978: Windows does not like paths with multiple :

This fixes an issue where a gpx track with attached images could cause an
exception.

(edit) @19248   11 months stoecker

see #23964 - One typo in each added word - was probably not my best day ;-)

(edit) @19247   11 months taylor.smock

Fix #23950: Fix a StackOverflowError that occurs when a self-referencing relation exists

Also disable StyledTiledMapRendererTest in CI for now.

(edit) @19246   11 months taylor.smock

Fix #23920: Wrapped ReportedException don't keep data on bug report

(edit) @19245   11 months taylor.smock

Fix #23253: Remove landuse=paddy from the ignore list

It looks like most of the landuse=paddy uses were removed (probably from a
revert).

(edit) @19244   11 months stoecker

cut long line

(edit) @19243   11 months taylor.smock

See r19242: Ensure that seasonal is removed when it is seasonal=no

(edit) @19242   11 months taylor.smock

Add/ignore popular tags

Add:

  • fountain -- the type of water fountain for drinking water. Some miscellaneous tags for water fountains were also added.
(edit) @19241   11 months stoecker

forgot Bopo, see #23964

(edit) @19240   11 months stoecker

add some more script variants, fix #23964

(edit) @19239   11 months Klumbumbus

see #23184 - Change color of bus in busway icon from black to blue to be more consistent with similar icons, e.g. steps, bicycle_road, living_street or pedestrian

(edit) @19238   11 months taylor.smock

See #23926: Fix new coverity issues

Coverity doesn't like null checks when a previous statement would have thrown
a NullPointerException on the object being checked for null. This fixes the
"defect" by removing the null checks and adding a null check in
ColorScale#addTitle.

(edit) @19237   11 months taylor.smock

See #23948: Fix url type (faq to help for /wiki/Help) and add a link for contribute

This additionally adds system requirements (both required and recommended).
The memory requirements comes from downloading
39.0642941;-108.5662508;39.0654645;-108.5642928
and displaying the Mesa County GIS Valleywide 2024 imagery. This was after a GC
was triggered manually; as such, JOSM is technically usable.

(edit) @19236   11 months taylor.smock

Fix #23926: Extend GPS legend for time information, improve design (patch by Pauline, modified)

Modifications are as follows:

  • Reduction of code duplication
  • Addition of functions in ColorHelper to calculate contrast ratios
(edit) @19235   11 months taylor.smock

Fix #23956: JsonParsingException when the destination server returns 200 and a malformed document

In this case, the destination server performed a redirect via javascript in the
response.

(edit) @19234   11 months taylor.smock

Fix #23951: Fix free in startup linux scripts when it is in a localized environment

(edit) @19233   11 months stoecker

drop list url, see #23948

(edit) @19232   11 months taylor.smock

Fix #23948: Update AppStream metadata (patch by sebastic, modified)

Modifications are as follows:

  • Addition of caption to screenshot
  • Addition of various supplementary URLs
Note: See TracRevisionLog for help on using the revision log.