29961 Commits

Author SHA1 Message Date
Matthias Kuhn
4b3083d9a7 [FEATURE] Add translate expression function
Funded by
 * Regional Council of Picardy
 * ADUGA
 * Ville de Nyon
 * Wetu GIT cc
2015-12-08 08:49:05 +01:00
Matthias Kuhn
f961ecef46 [FEATURE] Add an eval expression
Funded by
 * Regional Council of Picardy
 * ADUGA
 * Ville de Nyon
 * Wetu GIT cc
2015-12-08 08:43:45 +01:00
rldhont
6035d98b4a Merge pull request #2517 from rldhont/raster_open_adf
Open adf raster file as a directory
2015-12-07 18:17:39 +01:00
Nyall Dawson
4f0b9dda79 Fix deprecated warnings on Travis 2015-12-07 23:24:05 +11:00
Nyall Dawson
08ab4d4b70 Ensure all classes derived from QObject include the Q_OBJECT macro 2015-12-07 22:10:45 +11:00
Alessandro Pasotti
6127851a09 Renamed test to test_RemoveLayerShouldNotSegFault 2015-12-07 12:07:03 +01:00
Nyall Dawson
9cc9d424ce Add extra check for deprecations to documentation test
This check tests that if a function has been declared deprecated
with either Q_DECL_DEPRECATED or has a @deprecated Doxygen note
then it MUST have both the Q_DECL_DEPRECATD and @deprecated note.

It's important that both are used, as Q_DECL_DEPRECATED allows
throwing a warning if that method is used in code, while the
@deprecated doxygen note gives an indication to devs/PyQGIS users
of why it's deprecated and what should be used instead.

Ideally we'd also test for SIP /Deprecated/ tags, but I can't
find any reliable way to do this.
2015-12-07 21:55:36 +11:00
Nyall Dawson
de1001b9f7 Fix SIP type handling for QgsColorScheme subclasses 2015-12-07 21:55:36 +11:00
Nyall Dawson
930b4850e0 Fix bad assert in TestQgsRectangle 2015-12-07 21:55:36 +11:00
Juergen E. Fischer
6bfde52dd6 osgeo4w: include PYTHONPATH in apache conf template 2015-12-07 10:19:42 +01:00
Juergen E. Fischer
c4ae8cdcd4 indentation test: handle removed files 2015-12-07 10:07:35 +01:00
Alexander Bruy
584771e907 fix missed import in the Processing alg 2015-12-07 10:12:21 +02:00
Nyall Dawson
6b15361bf1 Avoid warning on Travis build 2015-12-07 15:36:28 +11:00
Nathan Woodrow
b39e6d1760 Goodbye SPIT plugin 2015-12-07 11:46:21 +10:00
Juergen E. Fischer
9c340d7b4b [FEATURE] cache WMS capabililies 2015-12-06 23:58:13 +01:00
Juergen E. Fischer
bf79ecc779 doxygen: enable dot multimode 2015-12-06 22:26:18 +01:00
Juergen E. Fischer
245659f798 debian packaging update
* sync other branches
* avoid testing and installing twice
* manually merge PR#2524
2015-12-06 22:26:18 +01:00
Juergen E. Fischer
a2a10e9713 more precise fixes (followup be81716) 2015-12-06 22:26:18 +01:00
Nyall Dawson
91f7918e21 [FEATURE] Add a show/hide all context menu for layer tree symbol items
Allows toggling on/off all the symbol items for categorized/graduated/
rule based layers via the right click menu on an item. Previously
you'd have to manually toggle each item one-by-one.

Fix #13458
2015-12-07 07:39:20 +11:00
Juergen E. Fischer
dc73fb2a09 debian build: include stretch builds 2015-12-05 22:34:07 +01:00
Juergen E. Fischer
60b4f77126 indentation test: include autopep8 in tips (followup 0d5d3bc) 2015-12-05 21:35:59 +01:00
Juergen E. Fischer
3df5880f83 trim link list of application 2015-12-05 21:31:52 +01:00
Juergen E. Fischer
be817165d6 fix precise build 2015-12-05 21:31:13 +01:00
Alessandro Pasotti
3d311d6329 Merge pull request #2498 from elpaso/pythoninitcode
Refactored the python init function selector
2015-12-05 12:40:58 +01:00
elpaso
3ca5441076 Honour relative path setting 2015-12-05 10:04:41 +01:00
elpaso
bc489c947a Added error messages with QMessageBox
Errors on:
* init function not found
* init function with wrong parameters count
2015-12-05 09:45:10 +01:00
elpaso
5d144d4040 Added b/w compatibility for "dot" module/function
When loading a function init with a dot, this
is transformed to a proper import and the
python init configuration is changed to support
the new python loading system.

Also check for inspect errors.

Still missing: warn the user on configuration and
trapped runtime errors
2015-12-05 09:45:10 +01:00
elpaso
ab0f9a6c35 Hide file selector when not needed 2015-12-05 09:45:10 +01:00
elpaso
e5ca63deed Refactored the python init function selector
Do not rely on the presence of a dot to load
a module. Loading a module can now be achieved
through the code editor in the dialog.

* added an option to load from environment
* added a file selector to specify the file
* changed tooltips accordingly
2015-12-05 09:45:09 +01:00
Alessandro Pasotti
de3ce1560c Changed comment title 2015-12-05 09:43:20 +01:00
elpaso
5a7ee20fa9 Added test for QgsMapLayerRegistry
See: PR #2534
2015-12-05 09:33:12 +01:00
Juergen E. Fischer
0e82974a81 disable astyle on windows nightlies (followup 0d5d3bc) 2015-12-05 03:41:13 +01:00
Juergen E. Fischer
65ee1839a6 [FEATURE] oracle provider: initial expression compiler support 2015-12-05 02:51:36 +01:00
Juergen E. Fischer
5e4312b13c [FEATURE] oracle provider: add Feature limit support for feature requests (followup 3ece33f) 2015-12-05 00:46:45 +01:00
Nyall Dawson
edb16d0014 [FEATURE] Feature limit support for feature requests
Limits the maximum number of features returned by the iterator.
Some providers (postgres, spatialite, MS SQL) pass the limit on
to the provider to result in faster queries.
2015-12-05 10:24:42 +11:00
Juergen E. Fischer
60ad6887c2 indentation update 2015-12-04 22:52:31 +01:00
Juergen E. Fischer
f210fc7ee8 make december postfix translatable 2015-12-04 21:57:46 +01:00
Juergen E. Fischer
fc7fea55ce postgres provider: verify uniqueness of parent table primary keys (fixes #13947) 2015-12-04 21:08:29 +01:00
Alessandro Pasotti
7829497399 Merge pull request #2534 from mhugo/fix_nullp
Fix a crash when trying to removeMapLayer a null pointer
2015-12-04 15:33:36 +01:00
Matthias Kuhn
ab3542abf8 Write debug output on travis
This should make it easier to debug issues when they fail on travis.
But at the sime time it also decreases the SNR and increases test times.
Will have to check if this makes sense in the long run.
2015-12-04 15:27:43 +01:00
Juergen E. Fischer
b54f28e8f9 fix translation string 2015-12-04 11:53:50 +01:00
Juergen E. Fischer
0d5d3bc9b8 travis: add indentation check after running tests 2015-12-04 11:50:42 +01:00
Nyall Dawson
7e3dc30cbf Fix bounding box calculation of geometry collections, fix #4102 2015-12-04 16:52:41 +11:00
Nathan Woodrow
2794ea1650 Something about the session ;) 2015-12-04 13:59:23 +10:00
Nathan Woodrow
0d3bbc9819 Add \n button to expression builder 2015-12-04 12:28:21 +10:00
Nathan Woodrow
c64ed1c8dd Identify result default to right side 2015-12-04 11:56:19 +10:00
Nathan Woodrow
99f01fdc40 Missed one 2015-12-04 11:56:19 +10:00
Larry Shaffer
36e7026c0d [FEATURE][auth] Add support to Plugin Manager 2015-12-03 17:52:22 -07:00
Nathan Woodrow
487be231a4 Even more default path fixes 2015-12-04 10:21:48 +10:00
Nyall Dawson
5198f634b4 Followup 701d970, fix sizes for font marker test 2015-12-04 10:46:29 +11:00