Dear Geany-devs,
I like Geany and I especially like the fast pace of improvements and addition of cool features! What I don't like is that the plugin API seems to change quite often and thus breaks my most favorite plugin: geanyprj... ;(
Can somebody help me with getting geanyprj to compile again?
The error:
<...> geanyprj.c: In function 'reload_project': geanyprj.c:55: error: 'struct DocumentFuncs' has no member named 'get_cur_idx' geanyprj.c:63: error: 'project' undeclared (first use in this function) geanyprj.c:63: error: (Each undeclared identifier is reported only once geanyprj.c:63: error: for each function it appears in.) geanyprj.c: At top level: geanyprj.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'geany_callbacks' geanyprj.c: In function 'plugin_init': geanyprj.c:133: error: invalid type argument of '->' geanyprj.c: In function 'plugin_cleanup': geanyprj.c:149: error: invalid type argument of '->' geanyprj.c:155: error: 'project' undeclared (first use in this function)
-tnx!-
Harold.
On Mon, July 21, 2008 11:28 am, Harold Aling wrote:
Dear Geany-devs,
I like Geany and I especially like the fast pace of improvements and addition of cool features! What I don't like is that the plugin API seems to change quite often and thus breaks my most favorite plugin: geanyprj... ;(
you are using svn version of Geany ;)
Can somebody help me with getting geanyprj to compile again?
The error:
<...> geanyprj.c: In function 'reload_project': geanyprj.c:55: error: 'struct DocumentFuncs' has no member named 'get_cur_idx' geanyprj.c:63: error: 'project' undeclared (first use in this function) geanyprj.c:63: error: (Each undeclared identifier is reported only once geanyprj.c:63: error: for each function it appears in.) geanyprj.c: At top level: geanyprj.c:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'geany_callbacks' geanyprj.c: In function 'plugin_init': geanyprj.c:133: error: invalid type argument of '->' geanyprj.c: In function 'plugin_cleanup': geanyprj.c:149: error: invalid type argument of '->' geanyprj.c:155: error: 'project' undeclared (first use in this function)
Will try to update svn version of plugin to current plugin API this evening.
Regards, Frank
On Mon, 21 Jul 2008 12:04:20 -0000 (UTC), "Frank Lanitz" frank@frank.uvena.de wrote:
On Mon, July 21, 2008 11:28 am, Harold Aling wrote:
Dear Geany-devs,
I like Geany and I especially like the fast pace of improvements and addition of cool features! What I don't like is that the plugin API
seems
to change quite often and thus breaks my most favorite plugin:
geanyprj...
;(
you are using svn version of Geany ;)
Can somebody help me with getting geanyprj to compile again?
Will try to update svn version of plugin to current plugin API this evening.
It looks like you've done your homework just perfectly! ;)
Happy geanyprj user again! ;)
Thank you very, very much!
-H-
Regards, Frank
On Tue, 22 Jul 2008 09:46:27 +0200, Harold Aling geany@sait.nl wrote:
Can somebody help me with getting geanyprj to compile again?
Will try to update svn version of plugin to current plugin API this evening.
It looks like you've done your homework just perfectly! ;)
It seems I cheered too soon...
Changing tabs/documents causes the project to reload itself so it's practically unusable in it's current state...
-H-
Regards, Frank
On Tue, July 22, 2008 7:52 am, Harold Aling wrote:
On Tue, 22 Jul 2008 09:46:27 +0200, Harold Aling geany@sait.nl wrote:
Can somebody help me with getting geanyprj to compile again?
Will try to update svn version of plugin to current plugin API this evening.
It looks like you've done your homework just perfectly! ;)
It seems I cheered too soon...
Changing tabs/documents causes the project to reload itself so it's practically unusable in it's current state...
So we'll need to have another look. Stay tuned ;)
Thanks, Frank
On Tue, 22 Jul 2008 09:52:07 +0200 Harold Aling geany@sait.nl wrote:
Will try to update svn version of plugin to current plugin API this evening.
It looks like you've done your homework just perfectly! ;)
It seems I cheered too soon...
Changing tabs/documents causes the project to reload itself so it's practically unusable in it's current state...
Try again, should be fixed now.
On Wed, 23 Jul 2008 10:31:44 +0300 Yura Siamashka yurand2@gmail.com wrote:
Try again, should be fixed now.
Just broke it in latest SVN, but see patch attached.
(I haven't tried geanyprj as I don't have g_hash_table_remove_all/GLib 2.12 here)
Regards, Nick
On Mon, 21 Jul 2008 13:28:40 +0200 Harold Aling geany@sait.nl wrote:
I like Geany and I especially like the fast pace of improvements and addition of cool features! What I don't like is that the plugin API seems to change quite often and thus breaks my most favorite plugin: geanyprj... ;(
The reason the plugin API is changing so much at the moment is so that we won't have to change it so much in future. Also a neater plugin API is one that can grow to support more features of Geany, instead of being limited, and one that is easier for devs to learn & use.
Can somebody help me with getting geanyprj to compile again?
The error:
<...> geanyprj.c: In function 'reload_project': geanyprj.c:55: error: 'struct DocumentFuncs' has no member named 'get_cur_idx'
That error is already fixed in geanyprj SVN. Some of the other errors require geanyprj to be ported to the new API. I expect this will be done by the next Geany release (if not, I'll help). For now you can use an older version of Geany.
Regards, Nick