[Geany-Devel] Request to become a member of the geany organization

2019-06-27 Thread Lars Paulsen
Hello Geany-Core and Plugins-Team, I would like to know if it would be possible to add me to the geany organization at github. My goal is to be able to do some work on my own without the need to disturb others: - merge PRs for plugins which I maintain myself (after 2 weeks?) (scope and workben

[Geany-Devel] Why has the universal ctags project to be merged?

2018-03-21 Thread Lars Paulsen
Hello, I have got a maybe stupid question out of curiosity: Why needs the universal ctags project be merged into Geany instead of e.g. just copying it over? I guess the reason is not that we do not trust their test quality ;-) Greetings, Lars ___ De

[Geany-Devel] How are ctags used?

2018-03-19 Thread Lars Paulsen
Hello, I have got a question regarding the design of Geany or better say how do the components work together regarding ctags. I think I understood that ctags files can contain global tag definitions, e.g. for external APIs. Lexers are there for the syntax highlighting. Scintilla is the edito

Re: [Geany-Devel] GTK version policy

2018-02-25 Thread Lars Paulsen
Hello Lex, hello Matthew, > Not sure GTK2 is worth too much effort though.  GTK2 __will__ reduce > in usage, especially when GTK4 is out later this year. I agree to Matthew. You mentioned GTK4. Wouldn't that also be a reason to put the things in a common lib? If I already have compatibility c

Re: [Geany-Devel] GTK version policy

2018-02-24 Thread Lars Paulsen
2018-02-23 11:53 AM, Lars Paulsen wrote: Hello All, I have ported the scope plugin to GTK3. During that work I also noticed some deprecation warnings for the workbench plugin which I did create not long ago and as suggested by the HACKING file I did write it for GTK2. If I port a plugin to

[Geany-Devel] GTK version policy

2018-02-23 Thread Lars Paulsen
Hello All, I have ported the scope plugin to GTK3. During that work I also noticed some deprecation warnings for the workbench plugin which I did create not long ago and as suggested by the HACKING file I did write it for GTK2. If I port a plugin to GTK3 should it still support GTK2? Should we

Re: [Geany-Devel] Linker issues with VTE

2018-02-23 Thread Lars Paulsen
A short update: Checking the documentation on GNOME Developer Center revealed that no VTE function used in the scope plugin seems to require a specific version. So I posted my PR without any version requirement for VTE (so only [vte-2.91]). Greetings, Lars On 23.02.2018 07:14, Lars Paulsen

Re: [Geany-Devel] Linker issues with VTE

2018-02-22 Thread Lars Paulsen
On 23.02.2018 04:19, Colomban Wendling wrote: Le 22/02/2018 à 15:09, Lars Paulsen a écrit : Then I installed it using apt-get install but Ubuntu only installed a version 0.42 which was older than required. It sounds odd you'd need a version not found in Ubuntu, unless you'd be using

Re: [Geany-Devel] Linker issues with VTE

2018-02-22 Thread Lars Paulsen
t;GdkRGBA" - just what I needed. So far vte issues seems to be solved. Thanks to all for helping out again. Regards, Lars On 22.02.2018 09:08, Lex Trotman wrote: On 22 February 2018 at 16:11, Lars Paulsen wrote: Hello Colomban, I saw that in the GTK3 porting PR for the debugger plugin a

Re: [Geany-Devel] Linker issues with VTE

2018-02-21 Thread Lars Paulsen
t found. I did not see any other build related changes regarding VTE in that PR so I wonder what's missing. Any ideas? Greetings, Lars On 21.02.2018 23:12, Colomban Wendling wrote: Le 21/02/2018 à 15:06, Lars Paulsen a écrit : Hi All, during porting the scope plugin to GTK3 I had

[Geany-Devel] Linker issues with VTE

2018-02-21 Thread Lars Paulsen
Hi All, during porting the scope plugin to GTK3 I had to switch from "GdkColor" to "GdkRGBA". The scope code was calling "vte_terminal_set_color_foreground" which according to the geany header files seems to have a replace

Re: [Geany-Devel] How to force geany-plugins to build against GTK3?

2018-02-21 Thread Lars Paulsen
Thanks a lot, it worked. I am now seeing a GTK3 version number in the debug messages. Greetings, Lars On 20.02.2018 22:59, Lex Trotman wrote: On 21 February 2018 at 06:32, Thomas Martitz wrote: Am 20.02.2018 um 18:00 schrieb Lars Paulsen: Hello All, I have a simple question: how can I

[Geany-Devel] How to force geany-plugins to build against GTK3?

2018-02-20 Thread Lars Paulsen
Hello All, I have a simple question: how can I force geany-plugins to be built against GTK3? I tried "CFLAGS=-dGP_GTK_VERSION_MAJOR=3 ./configure" but that did not help. I saw the line "Geany version:    1.33 (GTK2)" in the configure output. Do I have to re-build geany with the C

Re: [Geany-Devel] Create project files from within a plugin

2018-02-18 Thread Lars Paulsen
er to create/write my on key file. Also it might need to be adjusted if the contents of a standard geany project change. Greetings, Lars On 18.02.2018 22:05, Matthew Brush wrote: On 2018-02-18 10:52 AM, Lars Paulsen wrote: Hi All, is there a API for plugins which lets a plugin create project

[Geany-Devel] Create project files from within a plugin

2018-02-18 Thread Lars Paulsen
Hi All, is there a API for plugins which lets a plugin create project files and fill in some values? I do NOT want to add plugin specific data to an existing project. I want to create a new project with some meaningful data (the fields/values of geany's own project data). After that I would

Re: [Geany-Devel] How can a plugin invoke menu items/geany actions?

2017-12-20 Thread Lars Paulsen
@Lex, @Matthew: thanks for the quick response. On 20.12.2017 23:46, Matthew Brush wrote: On 2017-12-20 01:37 PM, Lars Paulsen wrote: Hi All, I would like to start actions in geany from inside a geany plugin? E.g. start the Color Chooser as if it was selected from the geany tools menu. I

[Geany-Devel] How can a plugin invoke menu items/geany actions?

2017-12-20 Thread Lars Paulsen
Hi All, I would like to start actions in geany from inside a geany plugin? E.g. start the Color Chooser as if it was selected from the geany tools menu. I tried to call the callback function directly but that gives an linker error for geany plugins (just logical). Can I fire/send an event/me

Re: [Geany-Devel] Workbench translation and the use of Directory vs Folder

2017-11-20 Thread Lars Paulsen
like the texts in the context menu being that long. What do you think about "directory" and "sub-directory"? Greetings, Lars On 18.11.2017 10:25, Lex Trotman wrote: On 18 November 2017 at 18:20, Lars Paulsen wrote: Hi Colomban, yeah, that names are ambiguous. Items labeled &

Re: [Geany-Devel] Workbench translation and the use of Directory vs Folder

2017-11-18 Thread Lars Paulsen
Hi Colomban, yeah, that names are ambiguous. Items labeled "Directory" are the root or base directories or external directories that the user can add. Then these directories are scanned for sub-directories and files which are displayed in the workbench project's tree view. So, the base/root/m

[Geany-Devel] document_open_file

2017-10-25 Thread Lars Paulsen
Hi, if I open a document via document_open_file() will it also be opened if it is already opened? So, do I need to check myself if a file is already open to prevent it from being opened again? Thanks for all help in advance. Cheers, Lars ___ Devel

Re: [Geany-Devel] Comments in translation files

2017-08-12 Thread Lars Paulsen
Now I got the strings to. In a clean doirectory. (Also I did try make clean in the other directory) Thanks a lot for your help. Sorry, for wasting your time. Greetings, Lars Am 12.08.2017 um 12:47 schrieb Frank Lanitz: On 04.08.2017 18:59, Lars Paulsen wrote: Hi, any news on this? Maybe I

Re: [Geany-Devel] Comments in translation files

2017-08-04 Thread Lars Paulsen
gards, Lars Am 30.07.2017 um 19:01 schrieb Frank Lanitz: On 30.07.2017 15:08, Lars Paulsen wrote: Hi Frank, hi Lex, thanks for the help so far. My code is now available on github under https://github.com/LarsGit223/geany-plugins, see branch "workbench". See initial commit https://github

Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen
Thanks. Am 30.07.2017 um 19:01 schrieb Frank Lanitz: On 30.07.2017 15:08, Lars Paulsen wrote: Hi Frank, hi Lex, thanks for the help so far. My code is now available on github under https://github.com/LarsGit223/geany-plugins, see branch "workbench". See initial commit https://

Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen
les that I changed. Aside from the plugin's source code in folder "workbench" I changed the following files: - configure.ac - makefile.am - po/POTFILES.in - build/workbench.m4 Greetings, Lars Am 30.07.2017 um 10:08 schrieb Lars Paulsen: Short update: I quickly tried autogen but no

Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen
Short update: I quickly tried autogen but no difference. Cheers, Lars Am 30.07.2017 um 09:59 schrieb Lars Paulsen: Hi Frank, I did not run autogen. Only configure. No my source is not yet available online. I am close to a first usable version but only wanted to upload it after the

Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen
ank Lanitz: On 29.07.2017 16:07, Lars Paulsen wrote: Hello All, I solved my problem with running xgettext from the command line. But I got one question left: How can I update the language files using the geany-plugins makefile? My own plugin is build and installed properly if I run "make&quo

Re: [Geany-Devel] Comments in translation files

2017-07-30 Thread Lars Paulsen
the strings and not adding new ones? But I saw untranslated strings from other plugins so I assume the first is wrong and it should also add new strings. Greetings, Lars Am 30.07.2017 um 00:35 schrieb Lex Trotman: On 30 July 2017 at 00:07, Lars Paulsen wrote: Hello All, I solved my problem w

Re: [Geany-Devel] Comments in translation files

2017-07-29 Thread Lars Paulsen
d my source files to "POTFILES.IN" which makes them appear in "POTFILES" after buidling. I also ran "make update-po" inside the "po" folder but my plugin's strings do not appear in any ".po" files. Regards, Lars Am 29.07.2017 um 15:10 schrieb

Re: [Geany-Devel] Comments in translation files

2017-07-29 Thread Lars Paulsen
Hi Lex, ignore it, found the solution on stackoverflow.com: xgettext -k_ -D . -o - *.c Greetings, Lars Am 29.07.2017 um 14:52 schrieb Lars Paulsen: Hi Lex, thanks for the reply. I tried to use the tool but xgettext does not output any strings for me. I tried to run it like this

Re: [Geany-Devel] Comments in translation files

2017-07-29 Thread Lars Paulsen
2017 at 21:31, Lars Paulsen wrote: Hello All, I got a question about the translation files. If I have a translated string like in the example below, does the comment with the source location have a meaning for the translation tool or is it "only" an information for other developers?

[Geany-Devel] Comments in translation files

2017-07-29 Thread Lars Paulsen
Hello All, I got a question about the translation files. If I have a translated string like in the example below, does the comment with the source location have a meaning for the translation tool or is it "only" an information for other developers? #. Windows #: ../webhelper/src/gwh-plugin.c

Re: [Geany-Devel] Libraries enquiry.

2017-07-09 Thread Lars Paulsen
/. Best Regards, Lars Paulsen Am 09.07.2017 um 20:42 schrieb Saurabh Mishra: Hello everyone, I'm Saurabh Mishra (IT student) from India.I've installed the recent Geany from git. Actually, I'm new to open source and I found the Geany project very interesting. And I really want to m

Re: [Geany-Devel] Plugin interface

2017-06-22 Thread Lars Paulsen
inside geany-plugins. Shouldn't they get a notification anyway from github as soon as I place a PR? If you prefer, I could additionally announce that PRs here in the devel mailing list? Kind Regards, Lars Am 22.06.2017 um 14:21 schrieb Thomas Martitz: Am 22.06.2017 um 07:17 schrieb Lars Pa

Re: [Geany-Devel] Plugin interface

2017-06-21 Thread Lars Paulsen
Hi Lex, > It has been pointed out that I totally avoided actually explicitly > answering the question, yes use the new interface. :-) Ok, will do that. If I find the time I probably will update the one or other existing plugin to the new interface and send a PR. Greetings, Lars __

[Geany-Devel] Plugin interface

2017-06-21 Thread Lars Paulsen
Hi all, I got a simple question: As I understood from the development manual plugins should use geany_load_module() instead of plugin_init()... Is that correct? I am just wondering because it seems t