Re: [Geany-Devel] Geany-Plugins rework -- RFC

2015-11-21 Thread Dimitar Zhekov
On 11/21/2015 15:42, Frank Lanitz wrote: 2) Cleaning off NEWS, Changelog etc. from individual plugin folders Personally I world prefer to keep Scope NEWS and ChangeLog. The global NEWS contains only the most important changes in short format, and the git change log, common to all plugins,

Re: [Geany-Devel] WAFarewell

2015-11-19 Thread Dimitar Zhekov
On 11/18/2015 02:41, Lex Trotman wrote: Who is gonna make the PR (for milestone 1.27, after a whole 1.26 release deprecated) ready to remove Waf, not forgetting the documentation, README, INSTALL etc and the website (hint Enrico ;) Farewell then. It served us well. Due to the slow process

[Geany-Devel] gtk 3.16 statusbar size under Win~1

2015-11-02 Thread Dimitar Zhekov
Hi, all, I upgraded my home computer, and am now using msys2 (which was very slow on the previous machine). So, I installed msys2 gtk+ 3.16.x and tweaked the funny default theme to make it usable, but encountered a slight problem with the status bar: it's too big, at least on "Medium" fonts.

[Geany-Devel] Use GStatBuf for g_[l]stat, not struct stat

2015-10-05 Thread Dimitar Zhekov
Hi, all, Can somebody please review and apply PR #677? I'm having constant problems with this... -- E-gards: Jimmy ___ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Re: [Geany-Devel] SPAWN_LEAVE_STDIN_OPEN

2015-09-24 Thread Dimitar Zhekov
On 22.9.2015 г. 17:23, Dimitar Zhekov wrote: It seems that one more spawn flag will be useful: SPAWN_LEAVE_STDIN_OPEN. [...] Since there were no comments, I created a PR for it. Also, PR #666 get! :) -- E-gards: Jimmy ___ Devel mailing list Devel

Re: [Geany-Devel] spawn_kill_process TERM or KILL?

2015-09-23 Thread Dimitar Zhekov
On 23.9.2015 г. 01:42, Lex Trotman wrote: On 23 September 2015 at 00:35, Dimitar Zhekov<dimitar.zhe...@gmail.com> wrote: Should spawn_kill_process send a SIGTERM or SIGKILL to the child under *nix? - SIGTERM lets the child exit gracefully, removing temporary files etc. This says

[Geany-Devel] spawn_kill_process TERM or KILL?

2015-09-22 Thread Dimitar Zhekov
Hi, all, Should spawn_kill_process send a SIGTERM or SIGKILL to the child under *nix? - SIGTERM lets the child exit gracefully, removing temporary files etc. - the original build.c:kill_process from Geany <= 1.24 sends SIGTERM - the child may refuse to terminate on SIGTERM (or be unable to

[Geany-Devel] SPAWN_LEAVE_STDIN_OPEN

2015-09-22 Thread Dimitar Zhekov
Hi, all, It seems that one more spawn flag will be useful: SPAWN_LEAVE_STDIN_OPEN. Suppose that you need to send data to your child not constantly, but only from time to time (possibly after sending some startup data). You should to discard the initial stdin callback/source, to prevent it

Re: [Geany-Devel] CDK Plugin

2015-07-30 Thread Dimitar Zhekov
On 30.7.2015 г. 02:32, Matthew Brush wrote: On 15-07-29 08:46 AM, Pavel Roschin wrote: Is GTK3 really unavoidable dependency? I could spend effort trying to make stuff compatible with both GTK2 and 3 but since GTK+ 2 is obsolete and even Geany will be depending on GTK+ 3 by default soon, it

[Geany-Devel] Failed to build 1.25-release with the makefile.win32 build system

2015-07-13 Thread Dimitar Zhekov
On both my older and newer MinGW-s, make -f makefile.win32 ended up with: make[1]: Entering directory '.../geany/plugins' gcc -O2 -Wall -pipe -mms-bitfields -DHAVE_CONFIG_H -DGTK -I.. -I../src -I../scintilla/include -I../tagmanager/src -Id:/opt/gtk+/include/gtk-2.0

Re: [Geany-Devel] Windows installer snapshots with GTK 2.24

2015-07-06 Thread Dimitar Zhekov
On 03.7.2015 г. 22:55, Enrico Tröger wrote: On 03/07/15 18:27, Dimitar Zhekov wrote: objdump of my Geany 1.25 built on or after Apr 25 2015 with WAF, MinGW gcc-4.8.1 and binutils/ld 2.24: [...] The versions look like those I had until I upgraded my Mingw setup yesterday. Where did you get

Re: [Geany-Devel] Windows installer snapshots with GTK 2.24

2015-07-03 Thread Dimitar Zhekov
On 03.7.2015 г. 02:03, Matthew Brush wrote: On 2015-07-02 01:36 PM, Enrico Tröger wrote: On 02/07/15 01:17, Matthew Brush wrote: Another alternative might be `-static -lwinpthread-1` with or without the `-1`. Thanks. I already tried static -lpthread and now also your variants but all without

Re: [Geany-Devel] Spawn module API

2015-06-29 Thread Dimitar Zhekov
On 27.6.2015 г. 23:50, Lex Trotman wrote: On 28 June 2015 at 05:46, Dimitar Zhekovdimitar.zhe...@gmail.com wrote: On 27.6.2015 г. 04:40, Lex Trotman wrote: spawn_write_data This one looks platform independent, but it's actually very easy to create a stdin-write function that blocks under

Re: [Geany-Devel] Spawn module API

2015-06-26 Thread Dimitar Zhekov
On 24.6.2015 г. 02:05, Colomban Wendling wrote: BTW, I just noticed that on Windows spawn_async_with_pipes() requires the GLib main loop to be running if child_pid=NULL (well, it registers a watch func, not sure what happens if it doesn't execute -- zombie?). We probably don't care much though.

Re: [Geany-Devel] Spawn module API

2015-06-26 Thread Dimitar Zhekov
On 26.6.2015 г. 01:47, Lex Trotman wrote: Hi Dimitar, Hi, Lex. On 26 June 2015 at 03:13, Dimitar Zhekovdimitar.zhe...@gmail.com wrote: It uses quoting internally [...bla-bla-bla unneeded tech details...] I'm now totally confused, so let me ask the important question directly: I should

Re: [Geany-Devel] Spawn module API

2015-06-25 Thread Dimitar Zhekov
On 24.6.2015 г. 03:12, Lex Trotman wrote: On 24 June 2015 at 10:06, Colomban Wendlinglists@herbesfolles.org wrote: Le 24/06/2015 01:57, Lex Trotman a écrit : Colomban, Correct me if I'm wrong, but despite my loudly voiced misgivings :) doesn't the spawn_* series do command quoting and

Re: [Geany-Devel] Spawn module API

2015-06-23 Thread Dimitar Zhekov
On 23.6.2015 г. 02:25, Matthew Brush wrote: [...] One thing I forgot: the plugin API currently exports utils_spawn_[a]sync, and a few plugins use utils_spawn_sync. These functions were (partially correct) wrappers around the old glib/win32 spawn, and are now wrappers around spawn_[a]sync.

Re: [Geany-Devel] Spawn module API

2015-06-22 Thread Dimitar Zhekov
On 21.6.2015 г. 20:39, Matthew Brush wrote: On 2015-06-21 04:25 AM, Dimitar Zhekov wrote: On 21.6.2015 г. 06:12, Matthew Brush wrote: [...] Spawn neither requires not uses anything from Geany (except i18n), and does not change anything in Geany state, so it's functions are not Yeah

Re: [Geany-Devel] Msys2 to compile on win32

2015-06-06 Thread Dimitar Zhekov
On 05.6.2015 г. 19:52, Enrico Tröger wrote: On 29/05/15 11:00, Thomas Martitz wrote: Msys2 is a successor to msys which offers a unix-like environment on Windows combined with a pacman-based package manager. [...] My standard test: [D:]grep 00A0 uni\*.uni grep: uni*.uni: No such file or

Re: [Geany-Devel] [geany/geany] 826f65: Merge pull request #441 from zhekov/spawn

2015-05-19 Thread Dimitar Zhekov
On 15.5.2015 г. 19:54, Colomban Wendling wrote: Merge pull request #441 from zhekov/spawn Add a spawn module for Geany If you have any questions, notice bugs, or have ideas about API improvements, do not hesitate to [fill a bug and] drop me a note. Thanks a lot for Dimitar's hard work,

Re: [Geany-Devel] [geany/geany-plugins] 377322: Scope: Fix a typo

2015-04-25 Thread Dimitar Zhekov
On 22.4.2015 г. 21:19, Frank Lanitz wrote: Am 22.04.2015 um 20:14 schrieb Dimitar Zhekov: -property name=label translatable=yesShow =li_brary messages/property +property name=label translatable=yesShow li_brary messages/property That's not a typo, they are =library-... library alone does

Re: [Geany-Devel] [geany/geany-plugins] 73ae49: waf: Fix the checks for openpty() on FreeBSD

2015-04-25 Thread Dimitar Zhekov
On 19.4.2015 г. 16:43, Enrico Tröger wrote: On 17/04/15 21:42, Dimitar Zhekov wrote: Alright, I finally got it. To whoever might be interested: 1. The default theme for gtk+ 2.24 under Windows has been changed [...] 2. The horizontal (only) notebook tabs backgrounds under MS-Windows

Re: [Geany-Devel] [geany/geany-plugins] 73ae49: waf: Fix the checks for openpty() on FreeBSD

2015-04-17 Thread Dimitar Zhekov
On 16.4.2015 г. 23:36, Colomban Wendling wrote: I can't seem to really change the colors when using the MS-Windows theme, but I guess it's kinda expected some things aren't really overridable with a native theme that uses the Windows theming API or something. But the vertical tabs still

Re: [Geany-Devel] [geany/geany-plugins] 73ae49: waf: Fix the checks for openpty() on FreeBSD

2015-04-16 Thread Dimitar Zhekov
On 16.4.2015 г. 03:41, Matthew Brush wrote: On 15-04-15 10:15 AM, Dimitar Zhekov wrote: That's exactly what I'm talking about. The white horizontal line, which normally gives nice outline [vertical_tabs], but is almost lost [...] We could re-parent the Scintilla widget into a frame

Re: [Geany-Devel] [geany/geany-plugins] 73ae49: waf: Fix the checks for openpty() on FreeBSD

2015-04-13 Thread Dimitar Zhekov
On 13.4.2015 г. 04:11, Matthew Brush wrote: While on configuring, the README file still lists gtk+ 2.16 as a minimum requirement for Geany - but it's actually 2.18 with GtkInfoBar now, right? I just merged PR #245[0], so 2.24 should be good version to use. On 13.4.2015 г. 04:12, Lex Trotman

Re: [Geany-Devel] [geany/geany-plugins] 73ae49: waf: Fix the checks for openpty() on FreeBSD

2015-04-12 Thread Dimitar Zhekov
On 10.4.2015 г. 18:36, Colomban Wendling wrote: waf: Fix the checks for openpty() on FreeBSD ACK. Please, be sure to use the same check for debugger, it probably needs it. While on configuring, the README file still lists gtk+ 2.16 as a minimum requirement for Geany - but it's actually

Re: [Geany-Devel] Placeholder replacement in (build) commands

2015-04-03 Thread Dimitar Zhekov
On 03.4.2015 г. 03:52, Lex Trotman wrote: To find proper quoting for Windows, you'll need to look no further than spawn_append_argument() in the new spawn. :) Well, thats obviously the name of a quoting function, perhaps it should be spawn_append_argument_win_quoted() so I might have noticed

Re: [Geany-Devel] Placeholder replacement in (build) commands

2015-04-02 Thread Dimitar Zhekov
On 02.4.2015 г. 03:40, Lex Trotman wrote: On 31.3.2015 г. 03:16, Lex Trotman wrote: - In all default Geany commands, the placeholders are unquoted, meaning that any file name with space(s) currently breaks. Shame on us. :) Well some of the default commands are double quoted, but not all

Re: [Geany-Devel] Placeholder replacement in (build) commands

2015-04-01 Thread Dimitar Zhekov
On 01.4.2015 г. 04:33, Lex Trotman wrote: On 1 April 2015 at 04:45, Dimitar Zhekovdimitar.zhe...@gmail.com wrote: On 31.3.2015 г. 03:16, Lex Trotman wrote: - In all default Geany commands, the placeholders are unquoted, meaning that any file name with space(s) currently breaks. Shame on us.

Re: [Geany-Devel] Placeholder replacement in (build) commands

2015-03-30 Thread Dimitar Zhekov
On 30.3.2015 г. 20:18, Colomban Wendling wrote: To offload the discussion from PR#441 [1] from this partly off-topic discussion and give it more visibility, I'm moving it here to the ML. [...] One thing I forgot to mention is that it would be good to have some kind of OS-variable

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-26 Thread Dimitar Zhekov
On 26.3.2015 г. 01:16, Thomas Martitz wrote: Now, do we really want the plugins to run arbitrary resource checking code, and display their own error messages, only because they are queried (or registered, as you put it), each time the list is build? Yes plugins should be able to run

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-20 Thread Dimitar Zhekov
On 19.3.2015 г. 00:05, Thomas Martitz wrote: Am 18.03.2015 um 22:15 schrieb Matthew Brush: [...] void (*init) (GeanyPlugin *plugin, gpointer pdata); Please make this gboolean. A plugin may have the correct API and ABI, but be unable to startup / initialize for some reason. For example,

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-20 Thread Dimitar Zhekov
On 18.3.2015 г. 22:51, Thomas Martitz wrote: Am 18.03.2015 um 21:23 schrieb Dimitar Zhekov: On 18.3.2015 г. 18:42, Thomas Martitz wrote: Do you generally like or support my proposal? Yes, because the final goal is to be able to support different languages with gtk+ bindings, like

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-20 Thread Dimitar Zhekov
On 18.3.2015 г. 23:15, Matthew Brush wrote: Scope contains 20 source files and 22 headers. Using static is not an option, and marking everything global as hidden will be cumbersome, ugly, and easy to miss (inexperienced plugin developers are sure to miss symbols). Why does it need so many

Re: [Geany-Devel] New plugin loader mechanisms

2015-03-18 Thread Dimitar Zhekov
On 18.3.2015 г. 18:42, Thomas Martitz wrote: - Global symbols. Plugins binaries have to export a number of global symbols (geany_{functions,data,plugin}, plugin_{init,...,cleanup}). This kind of sucks, because they pollute the global namespace (in theory). Luckily on unix or win32 systems this

Re: [Geany-Devel] Switched to Win~1

2014-10-11 Thread Dimitar Zhekov
On 22.9.2014 г. 18:34, Kernc wrote: If I'm going to distro-hop, why not Windows? A working desktop, if nothing else. Yeah, good luck with that. http://catb.org/esr/writings/unix-koans/returning.html A mirror may only show what it reflects. A branch is judged by it's fruits, not the

Re: [Geany-Devel] Switched to Win~1

2014-10-11 Thread Dimitar Zhekov
On 11.10.2014 г. 13:12, Dimitar Zhekov wrote: here [1] is an illustrated collection of more than 150. :) Missed the link. Here: http://thecodelesscode.com/contents -- E-gards: Jimmy ___ Devel mailing list Devel@lists.geany.org https

Re: [Geany-Devel] Switched to Win~1

2014-09-23 Thread Dimitar Zhekov
On 22.9.2014 г. 14:12, Nick Treleaven wrote: Now, Geany under Win~1 has some deficiencies, due to gtk+, so I'll Such as? Compared to a regular programmers editor for Win~1: +++ It's an IDE, not simply an editor, and is still light. ++ I have experience with it. + Nice plugins. + Real code

Re: [Geany-Devel] Switched to Win~1

2014-09-22 Thread Dimitar Zhekov
On 22.9.2014 г. 08:46, Thomas Martitz wrote: Am 21.09.2014 um 15:48 schrieb Dimitar Zhekov: Since Debian is leaning more and more towards systemd, especially with gvfs installed, and since systemd-init breaks my system, I finally sat on my back and migrated to Windows. It's not a good system

[Geany-Devel] Switched to Win~1

2014-09-21 Thread Dimitar Zhekov
Hi, Since Debian is leaning more and more towards systemd, especially with gvfs installed, and since systemd-init breaks my system, I finally sat on my back and migrated to Windows. It's not a good system either, but gets the job done. Now, Geany under Win~1 has some deficiencies, due to

Re: [Geany-Devel] Proxy Plugins Update

2014-07-08 Thread Dimitar Zhekov
On Mon, 07 Jul 2014 18:48:00 +0200 Thomas Martitz ku...@rockbox.org wrote: Hello, I'm still working on proxy plugins, sorts of. I thought it would be useful to give you an update. [...] 1) backward-compat: Libpeas is fundamentally based on describing plugin metadata with a separate

Re: [Geany-Devel] Geany with gtk+ 3.6.4 under Windows

2014-06-24 Thread Dimitar Zhekov
On Tue, 17 Jun 2014 17:34:22 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 14-06-17 09:28 AM, Dimitar Zhekov wrote: 5. The waf build of geany plugins does not currently support gtk+3. Not a problem with GTK3, just a matter of those using/responsible for Waf to update the build

Re: [Geany-Devel] Geany with gtk+ 3.6.4 under Windows

2014-06-21 Thread Dimitar Zhekov
Hi, Some more informatin on $subject and related topics. -- At the time when gtk_widget_get_window(main_widgets.window) is invoked, there is indeed no main window (GetActionWindow() returns NULL). Since this is about reopening files on startup, their shortcuts, if any, were already resolved

Re: [Geany-Devel] Geany with gtk+ 3.6.4 under Windows

2014-06-18 Thread Dimitar Zhekov
On Tue, 17 Jun 2014 17:34:22 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 14-06-17 09:28 AM, Dimitar Zhekov wrote: Program received signal SIGSEGV, Segmentation fault. 0x006e4340 in gdk_window_has_impl () from c:\tmp\scp\gtk+\bin ... ... I coudn't get a proper HWND

[Geany-Devel] Geany with gtk+ 3.6.4 under Windows

2014-06-17 Thread Dimitar Zhekov
Hi, Taking point from [Geany-Users] I can't see highlighted item in menu, here are some results of compiling and running Geany under Windows with the official gtk+3.6.4 binary: 1. Compiles and install normally (waf build system). 2. On start, if at least 1 file was open, crashes with: Program

[Geany-Devel] Geany uses g_signal_handlers_disconnect_by_data from glib 2.32

2014-06-02 Thread Dimitar Zhekov
Hello, all, While attempting to compile the latest Geany snapshot, I received a compiler warning and then a linked error: src\document.c.5.o:document.c: (.text +0x5b97): undefined reference to `g_signal_handlers_disconnect_by_data' g_signal_handlers_disconnect_by_data() is since glib 2.32. Our

Re: [Geany-Devel] The (mostly windows) spawning fix

2014-05-22 Thread Dimitar Zhekov
On Wed, 21 May 2014 11:19:40 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 14-05-21 11:02 AM, Dimitar Zhekov wrote: Hi, Now that Geany 1.24[.1] is out, will we apply $subject? [1] [2] [1] https://github.com/geany/geany/pull/274 [2] http://sourceforge.net/p/geany/bugs/943/?page=3

[Geany-Devel] The (mostly windows) spawning fix

2014-05-21 Thread Dimitar Zhekov
Hi, Now that Geany 1.24[.1] is out, will we apply $subject? [1] [2] [1] https://github.com/geany/geany/pull/274 [2] http://sourceforge.net/p/geany/bugs/943/?page=3 -- E-gards: Jimmy ___ Devel mailing list Devel@lists.geany.org

Re: [Geany-Devel] Geany/plugins win32 waf build/install

2014-05-18 Thread Dimitar Zhekov
On Sun, 18 May 2014 15:30:21 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: On 16/05/14 18:41, Dimitar Zhekov wrote: The prefix problem is workarounded. Since geany.pc is installed in \geany\path\lib\pkgconfig now, win32 pkg-config automatically uses /geany/path, replacing

Re: [Geany-Devel] RFC: Proxy plugins

2014-05-16 Thread Dimitar Zhekov
On Fri, 16 May 2014 16:59:17 +0200 Thomas Martitz ku...@rockbox.org wrote: I have a question regarding libpeas. There doesn't seem to be a public (nor documented) API to add loaders. From what I can see the current language support of libpeas is quite poor (only python and seed (that's JS

Re: [Geany-Devel] RFC: Proxy plugins

2014-05-13 Thread Dimitar Zhekov
On Tue, 13 May 2014 09:54:09 +0200 Thomas Martitz ku...@rockbox.org wrote: Am 11.05.2014 20:31, schrieb Dimitar Zhekov: On Sat, 10 May 2014 21:56:30 +0200 Thomas Martitz ku...@rockbox.org wrote: On Sat, 10 May 2014 14:47:17 -0700 Matthew Brush mbr...@codebrainz.ca wrote: +1

Re: [Geany-Devel] RFC: Proxy plugins

2014-05-11 Thread Dimitar Zhekov
for GGeanyDocument fields being changed directly from C, but we don't support such signals anyway. Am 10.05.2014 21:06, schrieb Dimitar Zhekov: After that I'd say that LibPeas is perhaps something to be considered for new application but not for our existing codebase. I think we want something

Re: [Geany-Devel] RFC: Proxy plugins

2014-05-10 Thread Dimitar Zhekov
On Fri, 09 May 2014 22:18:41 +0200 Thomas Martitz ku...@rockbox.org wrote: Am 08.05.2014 02:33, schrieb Matthew Brush: Hi Thomas, Disclaimer: I'm not a LibPeas expert or even user but from what I've read about it (the docs, tutorials) it sounds like pretty much exactly the end-goal

Re: [Geany-Devel] RFC: Proxy plugins

2014-05-09 Thread Dimitar Zhekov
On Fri, 09 May 2014 12:29:58 +0200 Thomas Martitz ku...@rockbox.org wrote: The basic idea is that proxy plugins initially call a Geany API to register themselves as proxies, providing criterias to select potential plugins (for now, this is only a list of file extensions) Geany will match

Re: [Geany-Devel] RFC: Proxy plugins

2014-05-08 Thread Dimitar Zhekov
On Wed, 07 May 2014 23:58:11 +0200 Thomas Martitz ku...@rockbox.org wrote: Am 07.05.2014 19:59, schrieb Dimitar Zhekov: On Wed, 07 May 2014 08:40:13 +0200 Thomas Martitz ku...@rockbox.org wrote: I'm (as of now) motivated to implement proxy plugins (to my amusement, until splitwindow2

Re: [Geany-Devel] RFC: Proxy plugins

2014-05-07 Thread Dimitar Zhekov
On Wed, 07 May 2014 08:40:13 +0200 Thomas Martitz ku...@rockbox.org wrote: I'm (as of now) motivated to implement proxy plugins (to my amusement, until splitwindow2 gets finally reviewed...). Therefore I would like to receive comments on my proposed concept and APIs (further below).

Re: [Geany-Devel] Implementing stdlib/glib in Geany

2014-04-28 Thread Dimitar Zhekov
On Sun, 27 Apr 2014 23:05:46 +0200 Colomban Wendling lists@herbesfolles.org wrote: Le 27/04/2014 22:28, Pavel Roschin a écrit : I found interesting function in utils.c: gboolean utils_str_equal(const gchar *a, const gchar *b) - GLib has similar g_strcmp0 function since 2.16

[Geany-Devel] multiterm should be disabled if no valac is found

2014-04-27 Thread Dimitar Zhekov
$ ./autogen.sh ... checking for valac... valac configure: WARNING: no proper vala compiler found configure: WARNING: you will not be able to compile vala source files ... Plugins: MultiTerm: yes $ make ... make[3]: Entering directory `/home/build/projects/plugins/testing/multiterm/src' VALAC

Re: [Geany-Devel] Geany 1.23 Waf install under win32

2014-04-14 Thread Dimitar Zhekov
On Fri, 11 Apr 2014 00:16:41 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: On 16/06/13 20:37, Dimitar Zhekov wrote: On Sun, 16 Jun 2013 15:59:14 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: On 06/16/13 15:11, Dimitar Zhekov wrote: - no header fiels are installed, or maybe

Re: [Geany-Devel] My PR isn't good ?

2014-03-29 Thread Dimitar Zhekov
On Fri, 28 Mar 2014 17:35:17 -0700 Matthew Brush mbr...@codebrainz.ca wrote: The last two are both windows. None of the devs uses windows regularly [...] This may change. Recent kernel and x11 updates made my wi-fi and video slower, and [...] I plan to give Windows a try. You might

Re: [Geany-Devel] Request to merge PR #226

2014-03-29 Thread Dimitar Zhekov
On Fri, 28 Mar 2014 12:06:24 -0700 Shankhoneer Chakrovarty shankhon...@gmail.com wrote: Last and least, pull request #191 and SF patch #11 are earlier than #226. If one of them is applied, #226 will be seriously broken. I had no idea about these PRs. Thanks for pointing this out. I will

Re: [Geany-Devel] My PR isn't good ?

2014-03-28 Thread Dimitar Zhekov
On Fri, 28 Mar 2014 23:28:02 +1100 Lex Trotman ele...@gmail.com wrote: The last two are both windows. None of the devs uses windows regularly (and some like me refuse categorically to do so) so windows changes will likely be slower than Linux ones anyway, simply because fewer people will

Re: [Geany-Devel] Hi!

2014-03-18 Thread Dimitar Zhekov
On 3/16/14, Shankhoneer Chakrovarty shankhon...@gmail.com wrote: On Thu, Mar 13, 2014 at 11:42 AM, Dimitar Zhekov dimitar.zhe...@gmail.comwrote: + { + *type = g_strstrip(g_strdup(fields[data-line_idx+2])); Errr, why do you assume that type is always at line_idx+2?.. As far as I could

Re: [Geany-Devel] Code review for feature #683

2014-03-01 Thread Dimitar Zhekov
On Sat, 1 Mar 2014 11:28:13 +0100 Steven VALSESIA steven.valse...@gmail.com wrote: Hi everybody ! Hi. Please, take a look to my patch concerning the feature request #683. A disclaimer first: I'm not using the autosave actions plugin. The code seems to match autosave closely, with no obvious

[Geany-Devel] fix for regex error message parsing

2014-01-21 Thread Dimitar Zhekov
17 00:00:00 2001 From: Dimitar Zhekov dimitar.zhe...@gmail.com Date: Tue, 21 Jan 2014 20:22:28 +0200 Subject: [PATCH] fix regex error message parsing (GRegex indexes subgroups, not matches) --- src/filetypes.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff

Re: [Geany-Devel] Compiler tab suggestions

2014-01-19 Thread Dimitar Zhekov
On Sat, 18 Jan 2014 17:10:37 +0200 Arthur Rosenstein artros.m...@gmail.com wrote: I took a quick glance at patch 11 [...] It treats compiler column numbers as if they're actually column numbers, while in reality they almost never are. Which means that it's not going to work right as soon as

Re: [Geany-Devel] Compiler tab suggestions

2014-01-19 Thread Dimitar Zhekov
On Sun, 19 Jan 2014 19:34:01 +0200 Arthur Rosenstein artros.m...@gmail.com wrote: utils.c:643:33: error: expected ')' before 'xxx' Double click on the message: seeks to the first 'x', Geany status bar shows line 643, column 43 (column # depends on the tab size). But it *does* seek

Re: [Geany-Devel] Compiler tab suggestions

2014-01-13 Thread Dimitar Zhekov
On Sun, 12 Jan 2014 20:16:26 +1100 Lex Trotman ele...@gmail.com wrote: On 12 January 2014 11:17, Steven Blatnick steve8tr...@yahoo.com wrote: My external-tools plugin takes file paths and opens them like a blue link in a webpage. The output is in a textarea-like instead of those table tree

Re: [Geany-Devel] Compiler tab suggestions

2014-01-12 Thread Dimitar Zhekov
b1aaae2a12aadc0364917295b8be955639cc60ce Mon Sep 17 00:00:00 2001 From: Dimitar Zhekov dimitar.zhe...@gmail.com Date: Sun, 12 Jan 2014 13:56:54 +0200 Subject: [PATCH] Parse an optional column # in the Compiler messages --- doc/geany.txt | 14 -- src/build.c| 4 ++-- src/filetypes.c| 47

[Geany-Devel] Unexisting keys assigned to Send selection to - ...

2013-12-24 Thread Dimitar Zhekov
From cd9f3fd4f5cec30e96f219b8f0032e99b39917e4 Mon Sep 17 00:00:00 2001 From: Dimitar Zhekov dimitar.zhe...@gmail.com Date: Tue, 24 Dec 2013 18:29:40 +0200 Subject: [PATCH] fix unexisting keys assigned to Send selection to - ... --- src/tools.c | 7 +-- 1 file changed, 5 insertions(+), 2

Re: [Geany-Devel] spawning rewrite - RFC

2013-11-17 Thread Dimitar Zhekov
On Sat, 16 Nov 2013 15:12:03 -0800 Matthew Brush mbr...@codebrainz.ca wrote: It's an on-going effort to improve the situation with process spawning on Win32 in Geany core for [...] build commands and such. BTW, the patched build.c runs the build [non-execute] commands without sh. I'm not sure

Re: [Geany-Devel] Gtk2 vs Gtk3 (was. Re: A direction for Geany)

2013-11-14 Thread Dimitar Zhekov
On Tue, 12 Nov 2013 15:27:20 -0800 Matthew Brush mbr...@codebrainz.ca wrote: Unless we're going to switch toolkits or someone is volunteering to maintain a fork, there's really no logical reason to avoid the inevitable, [switch to GTK+3] I've heard this a lot when Vista came out. And it

Re: [Geany-Devel] A direction for Geany

2013-11-14 Thread Dimitar Zhekov
On Tue, 12 Nov 2013 17:47:26 -0800 Matthew Brush mbr...@codebrainz.ca wrote: On 13-11-12 10:43 AM, Dimitar Zhekov wrote: On Mon, 11 Nov 2013 01:31:35 -0800 Matthew Brush mbr...@codebrainz.ca wrote: 1. An architecture that allows multi-threading to be used for non-GUI tasks. Another

Re: [Geany-Devel] A direction for Geany

2013-11-14 Thread Dimitar Zhekov
On Wed, 13 Nov 2013 10:59:47 +0100 Harold Aling ge...@sait.nl wrote: How many Geany on Windows users are there? is it 90% POSIX/10% Windows? Or more? Less? I'm a big fan of the 90% rule. If 90% of the users don't need/want it, don't implement or support it. Same goes for library versions:

Re: [Geany-Devel] A direction for Geany

2013-11-12 Thread Dimitar Zhekov
On Mon, 11 Nov 2013 01:31:35 -0800 Matthew Brush mbr...@codebrainz.ca wrote: 1. An architecture that allows multi-threading to be used for non-GUI tasks. Another (perhaps more obvious) candidate here is file loading/saving, which is *way* easier than the parsing stuff since [...] and

Re: [Geany-Devel] spawning rewrite - RFC

2013-11-05 Thread Dimitar Zhekov
On Mon, 04 Nov 2013 21:33:36 +0100 Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 04.11.2013 19:04, schrieb Dimitar Zhekov: On Mon, 4 Nov 2013 09:44:45 +1100 Lex Trotman ele...@gmail.com wrote: I propose to always create the win~1 programs with a minimized, non-focused

Re: [Geany-Devel] spawning rewrite - RFC

2013-11-04 Thread Dimitar Zhekov
On Mon, 4 Nov 2013 09:44:45 +1100 Lex Trotman ele...@gmail.com wrote: I propose to always create the win~1 programs with a minimized, non-focused window. For console programs, the uncaptured output will go to the console, and will be lost when the console is auto closed by win~1, but

[Geany-Devel] spawning rewrite - RFC

2013-11-04 Thread Dimitar Zhekov
Hi again, Win~1 supports some weird command line syntaxises: c:\some path\program.exe - without closing quote c:\some path\program.exefoo bar qux - runs program.exe with: argv[0] = c:\some path\program.exefoo (or something similar) argv[1] = bar argv[1] = qux I'm going to disallow the first

Re: [Geany-Devel] bug hunting with cppcheck

2013-11-03 Thread Dimitar Zhekov
On Sat, 2 Nov 2013 23:41:08 +0400 Pavel Roschin ros...@scriptumplus.ru wrote: I checked the code with cppcheck (version from git). Also I created gtk config for cppcheck - if you are interested in, you could help me to fill it to improve analysis: https://gist.github.com/scriptum/7282198

Re: [Geany-Devel] Ping on Bug #943 - windows build command

2013-10-16 Thread Dimitar Zhekov
On Tue, 15 Oct 2013 22:02:45 +0200 Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 15.10.2013 19:05, schrieb Dimitar Zhekov: The last time FiF-ed, glib did not contain any calls to PeekNamedPipe or SetNamedPipeHandleState. [...] Speaking of PeekNamedPipe... A few months

Re: [Geany-Devel] Ping on Bug #943 - windows build command

2013-10-15 Thread Dimitar Zhekov
On Tue, 15 Oct 2013 11:29:17 +1100 Lex Trotman ele...@gmail.com wrote: A good news first: using a bit of Scope code, I was able to pipe 12.3MB of mixed stdout and stderr output into Geany, in async mode, for just a few seconds. There is a delay when scrolling the messages down, and the scroll

Re: [Geany-Devel] Ping on Bug #943 - windows build command

2013-10-14 Thread Dimitar Zhekov
Hi, I'm looking how to fix this famous bug without too many changes, and found something strange: tools.c runs it's command with spawn async, but uses blocking I/O to read the data from stdout/stderr. Any idea why is that? What comes to ming is blocking Geany until the command finishes, to be

[Geany-Devel] Fix next/previous message keys to work without docs

2013-10-14 Thread Dimitar Zhekov
, and lets only Search FiF if there isn't any. Here is a fix. It not very pretty, with multiply return-s, it would be nicer to place the doc-related code and keys in a default: case of the new switch. -- E-gards: Jimmy From 6d0db7ca5f39585a8c1da6de16601a90b461dd6c Mon Sep 17 00:00:00 2001 From: Dimitar

Re: [Geany-Devel] Improving FiF

2013-10-12 Thread Dimitar Zhekov
On Fri, 11 Oct 2013 20:18:50 +0200 Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 11.10.2013 20:08, schrieb Dimitar Zhekov: Proposition: Remove the combo box. Add a paste icon on the right of files, above the Directory selection icon, and set it's tooltip to Paste

Re: [Geany-Devel] Improving FiF

2013-10-12 Thread Dimitar Zhekov
On Sat, 12 Oct 2013 08:24:56 +1100 Lex Trotman ele...@gmail.com wrote: The key point of the project option is that the file patterns are stored in the *project* file not in the *user* preferences. I know, and never proposed to make patterns indicated as project editable. Hopefully explained

Re: [Geany-Devel] Drop GtkStock and use symbolic icons

2013-10-11 Thread Dimitar Zhekov
On Fri, 11 Oct 2013 02:14:59 +0200 Yosef Or Boczko yosef...@gmail.com wrote: The icons in Stock is icons in some sizes, not SVG. GTK_ICON_SIZE_* do not specify any hardcoded pixel sizes. You can patch Geany with GTK_ICON_LOOKUP_FORCE_SVG, if you want. The symbolic icons is SVG, better

Re: [Geany-Devel] Ping on Bug #943 - windows build command

2013-10-10 Thread Dimitar Zhekov
Hi, I don't have today, so the results quickly. Short test proram, which writes The quick brown fox jumps over the stdout/err %d times\n, plus a few characters in stdout to create valid gdb output. Geany, with 1 iterations: dies at stdout 140, stderr 128. I cancelled it after 2 minutes, then

Re: [Geany-Devel] Ping on Bug #943 - windows build command

2013-10-09 Thread Dimitar Zhekov
On Tue, 08 Oct 2013 17:50:15 -0700 Matthew Brush mbr...@codebrainz.ca wrote: On 13-10-08 10:28 AM, Dimitar Zhekov wrote: On Mon, 07 Oct 2013 12:28:49 -0700 Matthew Brush mbr...@codebrainz.ca wrote: [...] Any chance you could find time to review and test Geany's implementation

[Geany-Devel] Improving FiF

2013-10-09 Thread Dimitar Zhekov
Hi, all, I want to discuss how our FiF works, why, and possible improvements. 1. The FiF dialog is created programatically. Is there any reason for that, or simply nobody cared to XML-ize it? I'm not aware of anything that can be done gtk+ calls, but can't be done by loading a XML and less gtk+

Re: [Geany-Devel] Ping on Bug #943 - windows build command

2013-10-08 Thread Dimitar Zhekov
On Mon, 07 Oct 2013 12:28:49 -0700 Matthew Brush mbr...@codebrainz.ca wrote: [...] Any chance you could find time to review and test Geany's implementation to see if anything looks fishy? I can simply test FiF with regex = ., which will generate a lot of output quite fast. Without the

Re: [Geany-Devel] Ping on Bug #943 - windows build command

2013-10-05 Thread Dimitar Zhekov
On Sat, 05 Oct 2013 07:40:15 -0700 Matthew Brush mbr...@codebrainz.ca wrote: So with the pull request adding system() as a fallback/hidden preference, maybe we could just drop the win32 API code altogether, switch back to using the same codepath as all platforms (ie. GLib async spawning)

Re: [Geany-Devel] RFC: Policy for Glade File Updates

2013-10-02 Thread Dimitar Zhekov
On Wed, 02 Oct 2013 17:01:09 +0200 Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: To sum the problem up: - As long as we're still on GTK+ 2.x we won't be able to use upstream Glade (Geany on GTK+3 is fine, btw, thanks for that work). - Worse, only a few older versions work.

[Geany-Devel] Plugins which register new GType-s can be unloadable

2013-09-21 Thread Dimitar Zhekov
Hi, all, I found a way to make plugin that registers a new GType unloadable. That requires some work and is a bit hackish, so you'd better avoid it for simple plugins. First, replace g_intern_static_string() with g_intern_string(). Note that G_DEFINE_TYPE_WITH_CODE() uses

Re: [Geany-Devel] RFC: Policy for Glade File Updates

2013-09-19 Thread Dimitar Zhekov
On Wed, 11 Sep 2013 17:38:58 -0700 Matthew Brush mbr...@codebrainz.ca wrote: P.S. Are we all still agreed to using old 3.8.1 version of Glade? After 2.x, I'm using Glade only to generate object templates in a test file, and edit the real glade files with Geany. It's much easier. Thoughts?

Re: [Geany-Devel] Scope/VTE size bug

2013-08-30 Thread Dimitar Zhekov
On Thu, 29 Aug 2013 17:50:52 -0700 Matthew Brush mbr...@codebrainz.ca wrote: There was a bug report about message window sizing issues that seems to be caused by the Scope plugin: https://sourceforge.net/p/geany/bugs/988/ I'm not sure how to move the ticket to the Geany-Plugins bug

Re: [Geany-Devel] Let's move to C++98 - Re: Lets move to C99

2013-08-28 Thread Dimitar Zhekov
On Wed, 28 Aug 2013 15:52:17 +0100 Nick Treleaven nick.trelea...@btinternet.com wrote: * Developer enjoyment, productivity gaining more experience with C++. (This might be an incentive for e.g. me to spend more time working on Geany). This has to be offset against those that might need to

Re: [Geany-Devel] Compiling 1.23.1 under Windows

2013-06-07 Thread Dimitar Zhekov
On Fri, 07 Jun 2013 06:59:13 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: On 06/06/13 19:29, Dimitar Zhekov wrote: [...] Speaking of which, it'll be a good idea to change the C++ compiler detection as well [...] Tested with 1.23.1 (not git), but that's a 1-liner and can't

Re: [Geany-Devel] Focus lost when last document closed

2013-05-29 Thread Dimitar Zhekov
On Wed, 29 May 2013 00:04:31 +0200 Pallai Roland pall...@magex.hu wrote: 2013/5/28 Dimitar Zhekov dimitar.zhe...@gmail.com: Long story short, why don't you write a plugin that connects to document-close, and focuses your favorite widget when the last document is closed? [...] I

Re: [Geany-Devel] Focus lost when last document closed

2013-05-28 Thread Dimitar Zhekov
On Mon, 27 May 2013 22:12:35 +0200 Pallai Roland pall...@magex.hu wrote: 2013/5/27 Dimitar Zhekov dimitar.zhe...@gmail.com: Do you agree that the problem exists and should be solved? No. [...] [...] Long story short, why don't you write a plugin that connects to document-close

Re: [Geany-Devel] Focus lost when last document closed

2013-05-27 Thread Dimitar Zhekov
On Mon, 27 May 2013 13:22:02 +0200 Pallai Roland pall...@magex.hu wrote: Do you agree that the problem exists and should be solved? No. If Geany supported several main activities, such as browsing interface objects and clicking on their event handlers to edit the code behind, or browsing a

  1   2   >