Mario Baranzini
78af413dcc
Remove python future compatibility layer
2017-08-07 10:27:15 +02:00
Matthias Kuhn
4b6b8434f4
Avoid endless wait cursors in console
2017-07-30 21:53:41 +02:00
Matthias Kuhn
0e09fdacde
Use monospace fonts for console on all platforms
2017-04-12 22:21:59 +02:00
Juergen E. Fischer
ecc5bb508e
pep8/pyflakes3 cleanups
2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383
More QgsSettings updates:
...
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Denis Rouzaud
4c3968b9aa
more spelling fixes
2017-01-20 15:06:09 +01:00
Denis Rouzaud
0a63d1f2c2
[spellcheck] properly look into various cases and add more fixes"
2017-01-16 16:39:20 +01:00
Denis Rouzaud
37ebcdd1cd
[spellcheck] allow inwords checks and line skipping
...
spell check will be done automatically in words by default (when some conditions are fulfilled)
possibility to avoid in words checking by adding :* at the end in spelling.dat
one can add #spellok at the end of a line of code to skip spell check on this line
2017-01-10 20:18:37 +01:00
Larry Shaffer
1d58e532b8
[pyqgis-console] Use python3 for editor subprocess calls
2016-12-29 11:40:26 -07:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Juergen E. Fischer
6b8130d54d
remove pngs which are available as svg
...
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
Nyall Dawson
eba6101357
Fix broken python save/open dialogs under PyQt5
...
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Nyall Dawson
fd0d804341
Fix error when executing python code under python 3
2016-09-05 10:17:37 +10:00
Nyall Dawson
11ee2fc809
Fix running unsaved script in console
2016-05-16 18:14:58 +10:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Nyall Dawson
99210ecfd7
[FEATURE][console] Improvements to find functionality
...
- add key shortcut to open find widget, set focus to find text input
automatically (uses default shortcut for DE, eg usually Ctrl+F)
- add key shortcuts for find next/previous (using default DE
shortcut, eg Ctrl+G/Shift+Ctrl+G)
- automatically find first match when typing in find box
- set initial find string to selection when opening find
- pressing Escape closes the find bar
2016-04-15 07:51:58 +10:00
Matthias Kuhn
e133b42896
Enable console with Python3 / PyQt5
2016-03-29 08:20:43 +02:00
Juergen E. Fischer
885d0ec993
python console: switch to pyqt wrappers and new style signals, flake8 fixes, show exceptions in console also with pyqt5
2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e
python fixes:
...
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
python/console/console_sci.py:547 QsciScintillaCompat?
python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Nyall Dawson
d6346c882b
Use clearer cut/copy/paste icons in python console
2016-02-26 11:46:52 +11:00
Nyall Dawson
72df8901f5
Clean up python console toolbars/menus:
...
- Consistent capitalization
- Add missing ellipsis
- Rename "settings" to "options" for consistency with main window
- Remove some excessive use of separators
2016-02-24 14:06:40 +11:00
Nathan Woodrow
1b435ed965
[Py Console] Remove message on file change
2015-11-03 10:30:37 +10:00
Juergen E. Fischer
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02:00
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
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
Nathan Woodrow
d42c24f28c
Restore tabs on Python console load
2014-08-13 22:43:58 +10:00
Salvatore Larosa
f21562c86f
[pyqgis-console] fixes #9097 (thanks to Minoru Akagi)
2013-12-02 08:05:06 +01:00
Salvatore Larosa
5f916b4009
[pyqgis-console] fixes some translation string
2013-11-02 18:40:26 +01:00
Salvatore Larosa
049edb2b10
[pyqgis-console] added more settings for fonts color
2013-09-19 13:17:13 +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
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
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
3644402bc7
[pyqgis-console][ fix #8392 ] automatically removes the redundant char when autoclosing brackets option is enabled
2013-08-02 15:42:55 +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
Nathan Woodrow
272400e30d
Use positional for str.format(). Fix #8277
2013-07-12 22:03:48 +10:00
Salvatore Larosa
57cb57537e
Merge pull request #619 from slarosa/generate_pap
...
[FEATURE] Module to generate prepared APIs file for call tips and auto-completion in Python Console
2013-06-11 17:24:02 -07:00
Salvatore Larosa
1bfa97091c
[pyqgis-console] improving to auto closing bracket
2013-06-11 20:01:59 +02:00
Salvatore Larosa
a415950d63
[pyqgis-console] another updating to new SIP API
2013-06-11 18:20:26 +02:00
Salvatore Larosa
3b4dfd724d
[FEATURE] [pyqgis-console] Module to generate prepared APIs for calltips and auto-completion
2013-06-11 14:16:58 +02:00