Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] References to issues updated in code comments #30014

Closed
wants to merge 219 commits into from

Conversation

jgrocha
Copy link
Member

@jgrocha jgrocha commented May 29, 2019

Description

This PR does only changes comments. It replaces old references to Redmine issues with the new reference to GitHub issues.

Even old issues will have new comments in GitHub and not on Redmine. Redmine will became deprecated. Better to do this change while we are aware of the changes we made and we have the issue map around.

To find issues in the code, I did:

find -regex '.*/.*\.\(c\|cpp\|h\|py\)$' | xargs grep "https\?://issues.qgis.org/issues/[0-9]\+" -o

There were 108 references. There were two links to comments:

find -regex '.*/.*\.\(c\|cpp\|h\|py\)$' | xargs grep "https\?://issues.qgis.org/issues/[0-9]\+#.\+" -o
./tests/src/core/testqgsmarkerlinesymbol.cpp:https://issues.qgis.org/issues/13811#note-1
./tests/src/core/testqgsgeometryutils.cpp:https://issues.qgis.org/issues/13952#note-26

All these occurrences were replace using sed.

find -regex '.*/.*\.\(c\|cpp\|h\|py\)$' | xargs grep "https\?://issues.qgis.org/issues/[0-9]\+" -sl | xargs -L1 sed -i -f sed.csv

The two references to comments within issues (#note-\d) were replace manually.

Checklist

Reviewing is a process done by project maintainers, mostly on a volunteer basis. We try to keep the overhead as small as possible and appreciate if you help us to do so by completing the following items. Feel free to ask in a comment if you have troubles with any of them.

  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include fixes #11111 in the commit message next to the description
  • Commits which add new features are tagged with [FEATURE] in the commit message
  • Commits which change the UI or existing user workflows are tagged with [needs-docs] in the commit message and contain sufficient information in the commit message to be documented
  • I have read the QGIS Coding Standards and this PR complies with them
  • This PR passes all existing unit tests (test results will be reported by travis-ci after opening this PR)
  • New unit tests have been added for core changes
  • I have run the scripts/prepare-commit.sh script before each commit

rduivenvoorde and others added 4 commits May 10, 2019 15:52
Instead of only showing the raw values, show also the represented values in the expression builder in the list values preview.
This helps people to choose from readable values (whereas still the raw values get inserted on double click).
@jgrocha
Copy link
Member Author

jgrocha commented May 30, 2019

@jef-n Can you please review this PR? (The find command, for example). Maybe I didn't found all references to issues in code.

rouault and others added 25 commits May 30, 2019 10:13
 qgis#29895)

This fix display of full circles coming from PostGIS.
There was a lack of a JSon array around rings of a polygon.
This issue is not present in 3.4

Also fixes an issue with gcc 5.5 of Ubuntu 16.04 that doesn't behave
properly with C++11 brace syntax with code from nlohmann/json.hpp.
The code compiles but the result is invalid: `json foo{ json::array{} }`
is serialized as [[]] instead of []. So use old-style constructor
instead: `json foo( json::array() )`

This PR is on top of qgis#30010
Avoid redundant network requests when cloning data provider
to changes in connection parameters

And modernise code, sync with AFS provider
conjunction with the "merge connected lines" setting

Refs qgis#12173
with line networks that contains forks and branches

And simplify memory management

Refs qgis#12173
Avoid duplicate calculations
where the label length is greater then the line length
…ightly to encourage more central placements)
nyalldawson and others added 28 commits June 10, 2019 08:24
when linked map is rotated

The rotation wasn't being taken into account, which meant that
visible features weren't shown (and vice versa)
Whenever a https network request is created, QgsAuthManager::sslCertCustomConfigByHost
is used to alter the ssl configuration according to config
stored within the sqlite authentication database. This results
in a database query being created for EVERY request, regardless
of whether a user actually has any ssl configuration set.

Instead, use a cache to avoid firing off this db query
for every request
…by one

Otherwise we often exceed the maximum size of a get query
when atlas feature has a different CRS to table layer

And greatly improve performance when using an attribute table
filtered to the atlas feature
layer rectangle to the background of the icon to give a visual hint of this

Otherwise it's easy to mistake the action as a full map-based action
other layer-related zoom actions

Instead of sitting next to global map based zoom actions
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
Fix json hanlding of bools and complete json(b) PG support
…on-widget-match-name-if-id-fails

When loading a QLR, try to match the layer name if id does not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.