Nyall Dawson
46da64a88e
[console] Better handling of default paths for open/save dialogs
2015-08-18 15:12:22 +10:00
Nyall Dawson
15e452e918
[console] Allow running unsaved script files
...
Previously a (non-default) option existed for auto-saving scripts
on run, which would overwrite the existing script file if set, or
save the script to a temporary file before running.
Now, the auto-save option only applies to scripts which have
already been saved an have a filename.
By default the console now can run scripts without filenames,
or scripts with changes by transparently saving them out to a
temporary file.
2015-08-18 15:12:14 +10:00
Nathan Woodrow
a05a970dff
Add open in external editor to console
2015-08-17 23:25:26 +10:00
Nathan Woodrow
9acc475197
Move python console toolbar to top. More uniform with rest of UI
2015-08-08 23:09:20 +10:00
Salvatore Larosa
9838ea3dbd
switch all png icons to svg ones for plus and minus signs:
...
followup 33b49ff and a7191ab
2015-06-22 16:22:56 +02:00
Nyall Dawson
310419566b
Switch to 16x16 pixel icons for python console for consistency with other dock toolbars
2015-05-31 09:43:31 +10:00
Salvatore Larosa
f6a1b7e202
[pyqgis-console] fix missing import in compile apis script
2015-02-17 23:43:02 +01:00
Juergen E. Fischer
956c155e8f
fix python pep8 warnings and fix some revealed errors
...
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
--exclude="ui_*.py,debian/*,python/ext-libs/*" \
.
2015-02-01 20:46:47 +01:00
Juergen E. Fischer
d4f64d9bde
indentation update and typo fixes
2014-11-13 23:13:13 +01:00
Salvatore Larosa
a0f8060f98
[pyqgis-console] small fix
2014-10-24 09:18:56 +02:00
Salvatore Larosa
5a01b98e3c
[pyqgis-console] restore previously loaded scripts only when editor is instanced
2014-10-08 15:34:35 +02:00
Nathan Woodrow
4d30e05447
[Python Console] Don't set custom background for editor toolbar
2014-10-02 23:06:02 +10:00
Nathan Woodrow
380baa2f0c
Simplify python console init text
2014-09-12 21:24:17 +10:00
Nathan Woodrow
d42c24f28c
Restore tabs on Python console load
2014-08-13 22:43:58 +10:00
Juergen E. Fischer
3f6233079b
python console: workaround for PyQt 4.11 problem
2014-06-17 13:10:58 +02:00
Larry Shaffer
3213d014f3
Refactor plugin staging to build dir and python script compiling
2014-05-20 21:28:42 -06:00
Juergen E. Fischer
5397dfe538
update qgis.org links
2014-02-07 21:02:11 +01:00
Salvatore Larosa
1bf41063ca
[pyqgis-console] fixes save as action in editor
2014-01-08 18:33:19 +01:00
Salvatore Larosa
f21562c86f
[pyqgis-console] fixes #9097 (thanks to Minoru Akagi)
2013-12-02 08:05:06 +01:00
Salvatore Larosa
dcfccbc758
[pyqgis-console] avoid processEvents for stderr output
2013-12-02 08:05:06 +01:00
Salvatore Larosa
a411e79fa7
[pyqgis-console] add save button to history dialog, minor fixes for c38b8cb
2013-11-02 18:40:26 +01:00
Salvatore Larosa
5f916b4009
[pyqgis-console] fixes some translation string
2013-11-02 18:40:26 +01:00
Salvatore Larosa
c4b5812cf9
[pyqgis-console] allows to remove entries from command history dialog
2013-11-02 18:40:26 +01:00
Juergen E. Fischer
ec0f0bea28
indentation update and a few fixed typos
2013-10-24 15:26:39 +02:00
Salvatore Larosa
9de5745520
[pyqgis-console] Sets minimum height for input area based of font metric
2013-10-03 11:09:18 +02:00
Salvatore Larosa
049edb2b10
[pyqgis-console] added more settings for fonts color
2013-09-19 13:17:13 +02:00
Salvatore Larosa
2d728d7f4c
[pyqgis-console] reject changes in settings if they are not applied
2013-09-17 00:12:22 +02:00
Salvatore Larosa
dc1824f560
[pyqgis-console] added some typing setting:
...
- auto insertion "import" string
- auto insertion "):" for classes and methods
2013-09-15 23:31:46 +02:00
Salvatore Larosa
d8b8089e38
[pyqgis-console] allows to set font color in python lexer
2013-09-14 13:49:01 +02:00
Salvatore Larosa
28dbe74ba5
[pyqgis-console] fix undo/redo actions when autocompletion bracket is enabled
2013-09-09 01:18:09 +02:00
Salvatore Larosa
aebf27eb0e
[pyqgis-console] fix autocompletion in editor after 6e19748
2013-09-08 23:56:26 +02:00
Juergen E. Fischer
668a44f81a
indentation update
2013-09-03 21:59:14 +02:00
Larry Shaffer
6e197484ed
[pyqgis-console] Fix build error. Revert adding of qsci-pap-master target
...
- Leave only qsci-pap-src target for updating default pyqgis.pap in source tree
- Mark WITH_QSCIAPI as advanced in CMake, since it mostly a dev function
2013-08-31 14:05:08 -06:00
Salvatore Larosa
460b00786a
[pyqgis-console] adds a "\n" at the end of the header text if it has not been inserted from translators
2013-08-31 17:44:21 +02:00
Larry Shaffer
dc4628599e
[pyqgis-console] Add targets and python script for generating console's QScintilla .pap file, for auto-completion
...
- Run 'make;make qsci-pap-src; make install' to update the default .pap file in source tree
- Run 'make;make qsci-pap-master[; make install]' for local-only .pap that overrides the default .pap (when testing new bindings)
- Update console to override default .pap if master.pap is available
- Include new qgis.core.NULL attribute defined in <src>/python/__init__.py for QPyNullVariant comparisons
- Update 11-month-old default .pap
2013-08-30 13:12:38 -06:00
Salvatore Larosa
b99d51d7cd
[pyqgis-console] avoids IndexError when attempts to run unselected code by keybinding Ctrl+E
2013-08-30 12:22:29 +02:00
Salvatore Larosa
c2310fdbdb
[pyqgis-console] small fix for autocompletion bracket, also sets to False the default setting
2013-08-27 13:21:53 +02:00
Salvatore Larosa
8dc013117f
[pyqgis-console] sextante => processing renaming: followup ec82b52
2013-08-22 17:25:29 +02:00
Alexander Bruy
ec82b52d88
update console for sextante renaming
2013-08-20 12:04:46 +03:00
Salvatore Larosa
2b2e452ba9
[pyqgis-console] fixes translation strings: avoids UnicodeEncode error
2013-08-10 15:04:58 +02:00
Salvatore Larosa
577a72baf5
[pyqgis-console] more encoding fix.
2013-08-10 01:27:11 +02:00
Salvatore Larosa
d821bcc31b
[pyqgis-console] encoding to utf-8 when open or save a script file: again fixes for non-ascii chars
2013-08-07 16:38:40 +02:00
Salvatore Larosa
07c524a928
[pyqgis-console] small fix for non-ascii chars
2013-08-07 14:07:14 +02:00
Salvatore Larosa
3644402bc7
[pyqgis-console][ fix #8392 ] automatically removes the redundant char when autoclosing brackets option is enabled
2013-08-02 15:42:55 +02:00
Alexander J. Dunlap
3aad6df8cc
Update console_output.py
...
Call QCoreApplication.processEvents() after writing to Python console, enabling incremental output from Python scripts. Fixes #8343 .
2013-07-30 13:06:51 -06:00
Salvatore Larosa
8b415708b1
[pyqgis-console] remove unused code
2013-07-28 22:50:00 +02:00
Juergen E. Fischer
5d3223127d
sync qgsrasterblock sip (followup eaa27aa4f)
2013-07-22 17:20:56 +02:00
Nathan Woodrow
d0d2511d13
Auto save Python script file
2013-07-22 08:49:08 +10:00
Nathan Woodrow
1b63204921
Don't show messagebar for syntax check. No need
2013-07-14 09:36:05 +10:00
Nathan Woodrow
e394cfb4fd
Use exec file for python console
2013-07-14 09:36:04 +10:00