This is a mirror of https://github.com/codebrainz/geanypy/pull/37. @codebrainz said he's fine if this gets merged into G-P first.
Anyway, the commits tell the story. This PR converts geanypy to a proxy plugin (needs Geany git master/1.26), and then adds the long-awaited keybindings support.
With this, python plugins are just like other plugins w.r.t to the PM dialog, configuration and keybindings
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/295
-- Commit Summary --
* geanypy: Fix build on some systems
* geanypy: convert to a proxy plugin
* geanypy: new type geany.PluginBase
* geanypy: add support for keybindings.
-- File Changes --
M geanypy/geany/Makefile.am (2)
M geanypy/geany/__init__.py (2)
D geanypy/geany/loader.py (172)
D geanypy/geany/manager.py (179)
M geanypy/geany/plugin.py (9)
M geanypy/plugins/Makefile.am (2)
M geanypy/plugins/console.py (16)
M geanypy/src/Makefile.am (4)
M geanypy/src/geanypy-plugin.c (506)
M geanypy/src/geanypy-plugin.h (10)
M geanypy/src/geanypy-signalmanager.c (1)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/295.patchhttps://github.com/geany/geany-plugins/pull/295.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/295
This is a helper script to easily fetch and extract plugin dependencies
on Windows using the MSYS2 environment.
Inspired and based on @kugel- 's initial script in https://github.com/geany/geany/pull/560.
Currently it installs the dependencies we had already in the past (enchant, lua, libgit2, libsoup, ctpl, libxml2) and a few new ones which we got for free from MSYS2 (webkitgtk, ctags, gnupg/gpgme).
This script works like the one from Geany but only extracts additional dependencies to be merged into the bundle created for Geany.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/375
-- Commit Summary --
* Add shell script to add plugin dependencies into GTK bundle on MSYS2
-- File Changes --
A build/gtk-bundle-from-msys2.sh (184)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/375.patchhttps://github.com/geany/geany-plugins/pull/375.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/375
For instance when performing goto tag for Foo and Foo is defined as
typedef struct Foo {} Foo;
go immediately to the struct location without showing the goto popup with
both the struct name and typedef.
Note the missing
g_strcmp0(second->var_type, first->name) == 0
in the check - in this particular case we won't get the type to which the
typedef refers inside var_type because at the time the typedef tag is
generated in c.c the struct tag doesn't exist yet. On the other hand
there's no second->var_type == NULL either because this behaviour seems
to be rather implementation-specific and might easily change in the
future. The existing checks are probably sufficient for the real-world
code.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/923
-- Commit Summary --
* Don't show the goto popup for typedef synonyms
-- File Changes --
M src/symbols.c (12)
-- Patch Links --
https://github.com/geany/geany/pull/923.patchhttps://github.com/geany/geany/pull/923.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/923
In old versions, One could open a file over an ssh connection with geany to do editing.
Im not using a version of linux that has GTK anymore, so compiling older versions isnt going so well.
And no, Im not planning on installing old as hell gtk to see if geany 0.21 will allow for editing files over the network. It used to work, and it works no more. The file editor pluma has no problem with this functionality, but pluma is a sucky editor/ compiler. The mechanism I use to connect to files, is thought the window manager caja, then to select geany when opening the file. Geany does in cfact open, but no file is present. Please advise, I will provide any log if it helps to fix this.
here is geany -v for starters:
```
$ geany -v
(process:20174): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Geany-INFO: Geany 1.26 (git >= c089861), C
Geany-INFO: GTK 2.24.25, GLib 2.42.1
Geany-INFO: System data dir: /usr/local/share/geany
Geany-INFO: User config dir: /home/e/.config/geany
Geany-INFO: System plugin path: /usr/local/lib/geany
Geany-INFO: Added filetype Graphviz (61).
Geany-INFO: Added filetype CUDA (62).
Geany-INFO: Added filetype JSON (63).
Geany-INFO: Added filetype Cython (64).
Geany-INFO: Added filetype Clojure (65).
Geany-INFO: Added filetype Scala (66).
Geany-INFO: Added filetype Genie (67).
Geany-INFO: /home/e/Desktop/f.html : HTML (UTF-8)
Geany-INFO: /home/e/Downloads/jcamp-1.0/uvvis_spectra/toluene.jdx : None (UTF-8)
Geany-INFO: /home/e/Downloads/jcamp-1.0/jcamp.py : Python (UTF-8)
Geany-INFO: Loaded /usr/local/share/geany/python.tags (Python), 5964 tag(s).
Geany-INFO: /home/e/Downloads/jcamp-1.0/setup.py : Python (UTF-8)
Geany-INFO: /home/e/Desktop/shit.py : Python (UTF-8)
Geany-INFO: /home/e/public_html/index.html : HTML (UTF-8)
Geany-INFO: /home/e/Desktop/HoursJ2015-F2016 : None (UTF-8)
Geany-INFO: /home/e/Downloads/phpuri-master/README.md : Markdown (UTF-8)
Geany-INFO: Bad color 'string_3'
Geany-INFO: Bad color 'string_3'
Geany-INFO: Bad color 'string_4'
Geany-INFO: Bad color 'string_4'
Geany-INFO: /home/e/Downloads/phpuri-master/composer.json : JSON (UTF-8)
Geany-INFO: /home/e/Downloads/phpuri-master/phpuri.php : PHP (UTF-8)
Geany-INFO: Loaded /usr/local/share/geany/php.tags (PHP), 4396 tag(s).
```
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/921
Hi folks,
The find in file dialog generates the following error:
c:\program files\geany\bin\grep: unrecognized option `--include=*.c'
The fix seems to be to replace the grep.exe file with the GNU version of grep.
This was OK in 1.24 as the user had to supply his own grep command and need to make sure it was OK.
Terry
Fresh install of Geany 1.26 on Microsoft Windows [Version 6.1.7601]
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/789
Since the new spawn API, which is used by utils_spawn_sync() as well,
passing a whole command line in argv[0] doesn't work any longer.
So use the new spawn API directly which conveniently offers to
pass the command either as command line or as argv.
Tested on Linux and Windows.
I bumped the required API version. It seems unfortunately we didn't bump the API version in Geany when merging the spawn API but the currently used 226 is newer than the spawn API and is already available in the last Geany release, so it should be ok.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/372
-- Commit Summary --
* Use new spawn API to fix broken Win32 ctags.exe command execution
-- File Changes --
M geanyctags/src/geanyctags.c (24)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/372.patchhttps://github.com/geany/geany-plugins/pull/372.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/372
To encourage making "proper" prefs that users can find, instead of "various" prefs that nobody sees, the HACKING should point to the stash docs in the plugin API.
Will make PR "soon" if nobody beats me to it.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/919