82 Commits

Author SHA1 Message Date
Nyall Dawson
cb409f7f6d Add overrides (part 3) 2015-01-19 16:14:37 +11:00
Juergen E. Fischer
6a65050faf translation string fixes 2015-01-18 00:48:08 +01:00
Nathan Woodrow
59162bc178 [FEATURE] Function editor for expression widget.
Allows for adding on the fly functions to the expression engine.
Functions are saved in qgis2\python\expressions.

New qgis.user module in Python.

The qgis.user.expressions package points to the qgis2\python\expressions
package in the users home
2015-01-16 19:43:47 +10:00
Juergen E. Fischer
2b58df4d3c add missed files (followup 313f2c8d) 2015-01-16 08:55:00 +01:00
Nyall Dawson
0e354957b5 Add overrides pt 2 2015-01-15 22:25:17 +11:00
Juergen E. Fischer
6a1e1bb668 * fix server plugin build on windows
* move src/mapserver to src/server (IMHO better name and in sync with
  python/server)
* rename cmake option WITH_MAPSERVER to WITH_SERVER
* rename define MAPSERVER_HAVE_PYTHON_PLUGINS to HAVE_SERVER_PYTHON_PLUGINS
2014-11-28 16:46:29 +01:00
elpaso
98cab97409 Added python server plugins 2014-11-26 16:02:32 +01:00
Martin Dobias
fafa58ed24 Merge remote-tracking branch 'origin/master' into threading-revival
Conflicts:
	src/core/qgspallabeling.cpp
	src/core/qgsrenderchecker.h
	src/core/qgsvectorlayer.cpp
	src/core/symbology-ng/qgslinesymbollayerv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.cpp
	src/providers/wms/qgswmsdataitems.cpp
	tests/src/core/testqgsblendmodes.cpp
2014-02-23 20:12:50 +07:00
Hugo Mercier
63d84ec21b Fix windows path escaping for QGIS_PLUGINPATH 2014-02-19 14:27:38 +01:00
Martin Dobias
e1ea342ffc Enable Python in background threads. Fixed drawing of plugin layers. 2013-12-05 18:59:44 +07:00
Juergen E. Fischer
17fc3e90db python's expanduser doesn't necessarily returns utf-8 (followup 4cb37b1a) 2013-10-12 22:18:28 +02:00
Juergen E. Fischer
4cb37b1af2 support for python plugin directory with accents in username (fixes #2512 again) 2013-10-10 23:55:28 +02:00
Larry Shaffer
4c1b95ba9e Add support for PYTHONSTARTUP-like environment variable, PYQGIS_STARTUP
- Different than user's 'startup.py,' since it is loaded just after Py_Initialize, specifically from env variable
- Useful for cleaning sys.path, e.g. isolating/loading the initial environ without requiring a virt env, like homebrew or MacPorts installs on Mac
2013-09-24 15:42:05 -06:00
Juergen E. Fischer
51297d5990 indentation update (note to self: always run scripts/prepare-commit.sh before committing) 2013-09-17 12:41:43 +02:00
Tim Sutton
64c947b2f0 Merge pull request #749 from Oslandia/issue8045b
Unit tests for command line arguments
2013-09-15 02:47:07 -07:00
Juergen E. Fischer
0a1d44fc63 make qgis_app a shared library and fix some more stl warnings with msvc 2013-09-07 00:22:10 +02:00
Hugo Mercier
a8b9d439e4 refs #8045 Fix python plugin path encoding issues 2013-07-18 15:02:29 +02:00
Matthias Kuhn
2e08ca13ed Let python utils manage all python cleanup 2013-07-03 15:43:28 +02:00
Juergen E. Fischer
9bbc647c54 identation update and fix clang 3.3 warnings 2013-06-20 23:40:51 +02:00
Nathan Woodrow
17d424340e Start sipapi update 2013-05-29 22:08:16 +10:00
Martin Dobias
ba49ef078c [API] Removed QgsSymbol, QgsMarkerCatalgoue and QgsSymbologyUtils 2013-04-07 23:46:57 +02:00
Martin Dobias
7cc3031f88 [API] Removed old symbology's QgsRenderer 2013-04-07 23:46:57 +02:00
Juergen E. Fischer
dbe0c9e9ec update .qgis to .qgis2 (to be updated on release and some more utf8 fixes
(fixes #7537)
2013-04-07 23:14:37 +02:00
Minoru Akagi
5edc9df06b fix #4303 2013-04-07 13:41:20 +02:00
Nathan Woodrow
84c709f1a6 Fix #6764 again. Replace backslash for python code only 2012-11-28 23:05:59 +10:00
Juergen E. Fischer
98e8ba484b indentation update 2012-10-31 23:47:29 +01:00
Sandro Santilli
6461a0125b Allow loading plugins from output dir
See http://hub.qgis.org/issues/5879

Still needs to find plugins under output/ dir for them to be
loaded ...
2012-10-19 23:22:12 +02:00
Juergen E. Fischer
7a929f1779 fix #5894 2012-08-29 17:30:23 +02:00
Nathan Woodrow
924e7eb9f2 Add startup python script support 2012-08-28 07:31:19 +10:00
Juergen E. Fischer
5ae312cfad add 'foreach' to astyle and re-run indentation 2012-08-03 06:57:11 +02:00
Juergen E. Fischer
6b9d5a72c6 fix warnings and indentation 2012-06-15 18:48:56 +02:00
Juergen E. Fischer
ed0cb5d468 fix #5544 2012-05-17 23:28:54 +02:00
Juergen E. Fischer
98dbb8e0fc use install rpath only on apple 2012-04-20 09:39:36 +02:00
Giuseppe Sucameli
dfd8b81857 [FEATURE] allow multiline feature actions 2012-04-01 00:04:10 +02:00
Juergen E. Fischer
215e05be9a fix python path setting in windows 2012-01-29 18:22:04 +01:00
Juergen E. Fischer
b60a63bbe9 use os.path.expand user for home directories for python (reintroduces fixes from #2515) 2012-01-29 15:51:53 +01:00
Marco BErnasocchi
4b4cbe51ec Added support for unversioned libs for android 2011-11-23 00:24:46 +01:00
Martin Dobias
d8dc04f574 Fix #4444. Patch by Vaclav Petras 2011-10-31 10:14:28 -03:00
Martin Dobias
90eaa87d85 [FEATURE] Allow running QGIS from build directory without installing 2011-07-25 19:23:29 +02:00
William Kyngesburye
405226893f OS X frameworks for qgis libs;
dev frameworks install option;
cmake cleanup
2011-07-04 11:15:40 -05:00
Juergen E. Fischer
5a6d3cebcc remove svn Id tags 2011-05-26 23:05:55 +02:00
Juergen E. Fischer
4d480fc3bb update version tracking to git 2011-05-04 21:56:25 +02:00
jef
8087f64025 skip empty parts of QGIS_PLUGINPATH
git-svn-id: http://svn.osgeo.org/qgis/trunk@15079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-25 18:57:12 +00:00
jef
d80c90deda don't split QGIS_PLUGINPATH at colon on windows
git-svn-id: http://svn.osgeo.org/qgis/trunk@15073 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-25 00:43:57 +00:00
wonder
752bad8d76 Make calls to python api safer by ensuring we have global interpreter lock
git-svn-id: http://svn.osgeo.org/qgis/trunk@14434 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-25 21:01:50 +00:00
jef
e82a8f8c6a automatic indentation update (r13658-r14312)
git-svn-id: http://svn.osgeo.org/qgis/trunk@14313 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-29 20:39:42 +00:00
wonder
50734ac052 Better handling of python path and plugins paths.
Additionally, plugin paths in QGIS_PLUGINPATH can be separated by either semicolon or colon.


git-svn-id: http://svn.osgeo.org/qgis/trunk@13943 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-20 13:06:49 +00:00
jef
0d14526732 fix python feature form identifier in case of non-ascii layer ids
git-svn-id: http://svn.osgeo.org/qgis/trunk@13842 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-29 14:04:34 +00:00
wonder
52a49c90f3 Report python errors when running python commands from qgis gui (e.g. run actions, feature form init).
Try to delete feature form only if exists (#2590).


git-svn-id: http://svn.osgeo.org/qgis/trunk@13751 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-20 13:09:33 +00:00
jef
8696c2fc51 automatic indentation update (r12600-r13658)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13659 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-05 13:21:40 +00:00