Re: [Geany-Devel] Escaping replacement for placeholder in build commands

2012-12-14 Thread Lex Trotman
On 15 December 2012 03:53, Colomban Wendling wrote: > Hi guys, > > You probably saw the mail from Jan Lieskovsky about the "security issue" > of not escaping filenames and other placeholders in the build commands. Hi Colomban, No, a reference would be useful ;). > Although I don't really think

Re: [Geany-Devel] Escaping replacement for placeholder in build commands

2012-12-15 Thread Lex Trotman
[...] >>> I don't think Geany should be interpreting what a user meant by their >>> command, there are too many edge cases that don't conform to the >>> "usual" gcc or other rules. That space may be meant to be there, >>> Geany has no way of knowing. Also what if the command has globs in >>> it,

Re: [Geany-Devel] Escaping replacement for placeholder in build commands

2012-12-16 Thread Lex Trotman
[...] >> Hi Colomban, >> >> Hehe, sorry, this email arrived just after another project just did >> something similar to "sanitise" inputs and broke my setup, making me >> very cranky, so I didn't want to have it happen to Geany :) > > Oh, ok, but we have you to make sure we don't brake anything, y

Re: [Geany-Devel] New Plugin: geanydiff

2012-12-27 Thread Lex Trotman
[...] >> Do not set default keybindings, let the user choose them. >> > > I meant providing useful shortcut actions for the user to customize > them, of course. It is not simple to invoke a diff using a shortcut > because you have to choose the "compare to" document from a list. Hi, If you mean

Re: [Geany-Devel] geany SPOJ support

2012-12-27 Thread Lex Trotman
On 28 December 2012 05:47, Mayank Jha wrote: > I was trying to make a plugin that allows you to make SPOJ submissions > form within the geany IDE with the help of a python script . The coding > work is done .But the problem is that ive made changes to the core code > directly inorder to make my f

Re: [Geany-Devel] Lua scripts uploaded for Compare and Hex Edit

2013-01-06 Thread Lex Trotman
On 7 January 2013 15:46, Thrawn wrote: > I have written Lua scripts that partially provide the functionality of the > Notepad++ Compare and Hex Edit plugins. Both are uploaded to wiki.geany.org. > > Any feedback is welcome. Please treat these files as GPL, version 2.0 or > later (although I have

Re: [Geany-Devel] Screenshots in user manual

2013-01-06 Thread Lex Trotman
On 7 January 2013 14:21, Matthew Brush wrote: > Hi, > > If we add a feature that changes the GUI of one of the existing screenshots > in the manual, should we make a new screenshot using whatever > theme/font/icons/etc that we have or is it better just to leave it until > release and do them all u

Re: [Geany-Devel] Accessing argv from plugins

2013-01-07 Thread Lex Trotman
On 7 January 2013 20:25, Matthew Brush wrote: > Hi, > > I want to write a plugin that requires some command line options passed to > it (through geany). Is there a way to make it so Geany will accept arbitrary > arguments and then I can pick them out of /proc//cmdline or > something[1]? I tried bu

Re: [Geany-Devel] Accessing argv from plugins

2013-01-07 Thread Lex Trotman
On 8 January 2013 02:19, Colomban Wendling wrote: > Le 07/01/2013 10:25, Matthew Brush a écrit : >> Hi, >> >> I want to write a plugin that requires some command line options passed >> to it (through geany). Is there a way to make it so Geany will accept >> arbitrary arguments and then I can pick

Re: [Geany-Devel] Querying current file and cursor location

2013-01-17 Thread Lex Trotman
On 18 January 2013 00:17, Thomas Young wrote: > Hello, > > I've hacked a small change into Geany locally, to help with integration with > gdb. > Hi Thomas, Have you tried the debugger plugin, it runs gdb and provides a GUI interface in Geany. Its still relatively new, but seems to work. (Don't

[Geany-Devel] Filetype activated plugins

2013-01-18 Thread Lex Trotman
Hi Colomban and all interested parties, See git://github.com/elextr/geany.git filetype_plugins branch. Warning, barely tested :) The question is which paths to use for the filetype plugins, at the moment its absolute, but that isn't suitable in the long run. I suggest looking in "plugins" subdi

Re: [Geany-Devel] Querying current file and cursor location

2013-01-18 Thread Lex Trotman
sibility to do more things with this > kind of setup, with a very minimal change (in particular, the change doesn't > do anything that geany didn't do already, since it just mimics the existing > code path and logic for the --list-documents command). Probably best to just make a

Re: [Geany-Devel] Querying current file and cursor location

2013-01-18 Thread Lex Trotman
ly, but didn't include a manual update with > this.. Thats the problem with patches to the ML, they get missed and lost and forgotten :) Cheers Lex > > Thomas > > > > On 18/01/13 09:43, Lex Trotman wrote: >>> >>> The proposed change then adds the possib

Re: [Geany-Devel] Querying current file and cursor location

2013-01-18 Thread Lex Trotman
On 18 January 2013 20:36, Thomas Young wrote: > Hmm.. not sure what happens if the filename is UTF-8. DOC_FILENAME is always UTF-8. > > Basically, where some existing code (which is documented as supporting UTF-8 > filenames) was doing; > > filename = DOC_FILENAME(documents[i]);

[Geany-Devel] Indentation (again)

2013-01-19 Thread Lex Trotman
Colomban, Matthew, After our discussion on IRC I had a bit more of a thought about it and got to the following position. It isn't much different from where I think we were, but more precisely described (well in my brain anyway). NOTE: be careful reading new line and newline, the latter is a char

Re: [Geany-Devel] Filetype activated plugins

2013-01-19 Thread Lex Trotman
) this branch can be updated and applied to master. On 18 January 2013 19:31, Lex Trotman wrote: > Hi Colomban and all interested parties, > > See git://github.com/elextr/geany.git filetype_plugins branch. > > Warning, barely tested :) > > The question is which paths to use for

Re: [Geany-Devel] GEANY - New behaviour of "close" document action to close only tabs

2013-01-21 Thread Lex Trotman
On 22 January 2013 09:08, vadim kochan wrote: > Hi all, > May be someone will be interested in this. > > I find useless that file is removed from session when I close it from tab, > and decided to make > changes for this.Not sure if the changes are good, this is first working > version. Something

Re: [Geany-Devel] GEANY - New behaviour of "close" document action to close only tabs

2013-01-21 Thread Lex Trotman
class citizens. We don't want to keep inflating core with more and more options, Geany should remain light and fast. But that will depend on the response to the suggestion. Cheers Lex > > On Tue, Jan 22, 2013 at 12:42 AM, Lex Trotman wrote: >> >> On 22 January 2013 09:08

Re: [Geany-Devel] GEANY - New behaviour of "close" document action to close only tabs

2013-01-21 Thread Lex Trotman
On 22 January 2013 10:32, vadim kochan wrote: > I like current system, but I dont like to keep all loaded files in tabs, You mean you want to keep the file loaded in Geany, but with no GUI presence? If so, thats a significant change to the way tabs operate, and different to most other applicatio

Re: [Geany-Devel] GEANY - New behaviour of "close" document action to close only tabs

2013-01-21 Thread Lex Trotman
On 22 January 2013 11:45, Thrawn wrote: > @vadim: Oh, what you want is a sidebar that will show all files in the > current project, whether or not they are open! That sounds like a good idea > for a plugin. > > You don't need to change the 'close tab' behavior. You just need to add a > sidebar

Re: [Geany-Devel] GEANY - New behaviour of "close" document action to close only tabs

2013-01-22 Thread Lex Trotman
On 22 January 2013 19:15, Thomas Young wrote: > Hi all, > > >> One thing that's different from Geany from other IDEs I've used is that >> it doesn't have "files in the project" but rather just stores "where are >> the project's files" (ie. base path). > > Right. > Speaking for myself, and the buil

[Geany-Devel] Python filetype 2 or 3 or both?

2013-01-22 Thread Lex Trotman
Hi All, We have only one Python filetype, but Python has two versions. There are some differences between them in terms of keywords and builtins. For example exec, nonlocal, True, False and None are not keywords for Python 2 but are for 3. And print is a keyword for 2 but not for 3. There are

Re: [Geany-Devel] Python filetype 2 or 3 or both?

2013-01-23 Thread Lex Trotman
" for more information. >>>> False = True Which is probably why they are keywords in Python 3, so this is illegal :) Cheers Lex >>>> print False > True >>>> > > (I wouldn't do this in real code, but in many situations it is quite > convenien

Re: [Geany-Devel] Python filetype 2 or 3 or both?

2013-01-23 Thread Lex Trotman
On 23 January 2013 21:32, Thomas Young wrote: > Sorry, wasn't asking you to solve this issue. > Just noting that python programmers are likely to be more used to seeing > stuff 'incorrectly' coloured as keywords. I know I am used to accepting this > when writing python. So including 'extra' keywor

[Geany-Devel] Geany plugins website

2013-01-24 Thread Lex Trotman
Dear , Can you please provide windows instructions and make the setup.exe download more obvious, we have had several windows users asking where it is. Cheers Lex ___ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listin

Re: [Geany-Devel] Geany plugins website

2013-01-24 Thread Lex Trotman
On 25 January 2013 16:51, Frank Lanitz wrote: > Am 25.01.2013 01:17, schrieb Lex Trotman: >> Dear , >> >> Can you please provide windows instructions and make the setup.exe >> download more obvious, we have had several windows users asking where >> it is.

[Geany-Devel] Some comments on b4n regex-indent

2013-01-25 Thread Lex Trotman
Hi Colomban, Here are some comments on the subject branch. Solutions left as an exercise for the reader since I don't have any ;) C language, which I assume represents all {} languages 1. Indents relative to the previous line, that means that (tabs, width=4): if(long && more){ blah;

Re: [Geany-Devel] Python filetype 2 or 3 or both?

2013-01-27 Thread Lex Trotman
[...] > +1 > > >> What do other Python users think? >> > > My 2¢ as a themer and Python user is that True, False, None, and nonlocal > should be in 'primary' keywords list and 'print' and 'exec' should go should > into 'identifiers' keywords list (with other built-in functions). Even if > it's Py3

Re: [Geany-Devel] Some comments on b4n regex-indent

2013-01-30 Thread Lex Trotman
On 31 January 2013 09:55, Colomban Wendling wrote: > Le 26/01/2013 03:49, Lex Trotman a écrit : >> Hi Colomban, > > Hey, > >> Here are some comments on the subject branch. > > Thanks. I'll answer the points here, but note that I have updated a few > things r

Re: [Geany-Devel] Lua script idea: vim overlay

2013-02-07 Thread Lex Trotman
[...] > > But we cannot assure it will in future as there is no real maintainer. > Personally I was already thinking of removing the plugin btw. > Yes, without a maintainer, as soon as it breaks with a new version of Geany I would expect it to be removed from G-P package. The G-P maintainers have

[Geany-Devel] Gaeny-plugins: Some minor changes to silence warnings

2013-02-16 Thread Lex Trotman
Attached is a patch containing a few obvious fixes for warnings in the plugins, mostly adding consts, gpointer casts and unsigned int loop counters. The only one that is likely to have been bad (tm) is in treebrowser.c it g_freed a static string. Setting the string const found that. treebrowser.

Re: [Geany-Devel] Gaeny-plugins: Some minor changes to silence warnings

2013-02-19 Thread Lex Trotman
, Colomban Wendling wrote: > Le 19/02/2013 13:22, Frank Lanitz a écrit : >> Am 17.02.2013 04:09, schrieb Lex Trotman: >>> Attached is a patch containing a few obvious fixes for warnings in the >>> plugins, mostly adding consts, gpointer casts and unsigned int loop >&

[Geany-Devel] Addons plugin bug with Geany 1.23 (needs fix before release preferably)

2013-02-20 Thread Lex Trotman
The addons plugin no longer shows an icon in the notification area when the option is selected. My quick diagnosis is that this is because Geany 1.23 no longer sets the icon, it sets the icon name, meaning the addons needs to use gtk_window_get_icon_name and then go and find the icon by name. (Or

Re: [Geany-Devel] Addons plugin bug with Geany 1.23 (needs fix before release preferably)

2013-02-20 Thread Lex Trotman
On 20 February 2013 20:48, Frank Lanitz wrote: > Am 20.02.2013 10:40, schrieb Lex Trotman: >> The addons plugin no longer shows an icon in the notification area >> when the option is selected. >> >> My quick diagnosis is that this is because Geany 1.23 no longer sets &g

Re: [Geany-Devel] [PATCH] configure.ac remove additional c++ test

2013-02-21 Thread Lex Trotman
Hi Andreas, On 21 February 2013 19:46, Andreas Müller wrote: > For openembedded cross-builds CXX can contain something like: > > arm-oe-linux-gnueabi-g++ -march=armv5te -marm -mthumb-interwork > --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm > > This ends up

Re: [Geany-Devel] codesubmit plugin

2013-02-26 Thread Lex Trotman
1) Please get your indentation right, it makes it hard to read with randomly incorrect indentation, limit lines to ~80 characters, sloppy styling makes it hard to read and does not give us much confidence in the quality of your code, layout the python script string so it is legible, remove the comm

Re: [Geany-Devel] codesubmit plugin

2013-02-26 Thread Lex Trotman
On 27 February 2013 10:26, Thomas Martitz wrote: > Am 27.02.2013 00:08, schrieb Mayank Jha: > >> To all esteemed developers Frank Lanitz, Matthew Brush. Kindly review my >> code which i have modified according to your suggestions. > > > > Shall we guess what your plugin does? > > Regarding the emb

Re: [Geany-Devel] Core Terminal Plugin (was Re: [Geany-Users] no Terminal tab in Geany preferences??)

2013-03-02 Thread Lex Trotman
On 3 March 2013 06:44, Dimitar Zhekov wrote: > On Sat, 02 Mar 2013 14:37:46 +0100 > Colomban Wendling wrote: > >> I didn't yet started talking about that in the other thread but I did >> think about it: how do you make a plugin run the execute commands >> without too ugly hackery in Geany? > > Fi

Re: [Geany-Devel] Screenshots in user manual

2013-03-03 Thread Lex Trotman
[...] > I'd personally go for stock Gnome under Debian, but that's only because > I could easily do that (by starting a fresh session and done). OTOH I > guess distros like Ubuntu or Fedora have a more eye-appealing default > theme, so… > I would say whatever is not ugly[1] and is easy, so long a

Re: [Geany-Devel] Gaeny-plugins: Some minor changes to silence warnings

2013-03-04 Thread Lex Trotman
On 4 March 2013 19:41, Frank Lanitz wrote: > Am 19.02.2013 22:22, schrieb Lex Trotman: >> Additional patch to treebrowser.c make sure every path leading to a >> g_free has a g_strdup(), oops. >> >> Note I am only using the HACKING approved "-Wall -Wextra -O2 >&g

Re: [Geany-Devel] Editing the user's manual

2013-03-07 Thread Lex Trotman
On 7 March 2013 19:58, Roger Booth wrote: > Is anyone editing the user's manual, besides updating the screen shots? > If not, I have noticed a few minor issues and will provide patches. I am not aware of anyone specifically updating the manual. Patches of the manual especially welcome :) Note p

Re: [Geany-Devel] Screenshots in user manual

2013-03-07 Thread Lex Trotman
On 7 March 2013 08:41, Enrico Tröger wrote: > On 03/03/13 23:34, Lex Trotman wrote: >> [...] >>> I'd personally go for stock Gnome under Debian, but that's only because >>> I could easily do that (by starting a fresh session and done). OTOH I >>> g

Re: [Geany-Devel] [geany/geany-plugins] 4cc119: Scope: Fix mismatched allocator/deallocator

2013-03-07 Thread Lex Trotman
On 8 March 2013 06:06, Dimitar Zhekov wrote: > On Mon, 04 Mar 2013 22:30:40 - > Colomban Wendling wrote: > >> Log Message: >> --- >> Scope: Fix mismatched allocator/deallocator > > These are not mismatched, I'm using strdup() instead of strdup() for > strings that must never be NULL.

Re: [Geany-Devel] [geany/geany-plugins] 4cc119: Scope: Fix mismatched allocator/deallocator

2013-03-07 Thread Lex Trotman
self: don't use Scope plugin until all files are saved :) > > You should save and compile the source files at least. Otherwise, > debugging may be confusing. ;) > > On Fri, 8 Mar 2013 06:44:15 +1100 > Lex Trotman wrote: > >> In which case this plugin must be removed

[Geany-Devel] Changing terminate signal for stopping executing programs

2013-03-10 Thread Lex Trotman
Hi All, Geany currently uses SIGQUIT to terminate a running program (using the execute menu item or toolbar button when it shows the stop icon). This has always been the case since the stop button was added. There is a big comment in the code explaining why SIGQUIT is used, and its problems:

Re: [Geany-Devel] Changing terminate signal for stopping executing programs

2013-03-10 Thread Lex Trotman
On 11 March 2013 14:58, Chow Loong Jin wrote: > On 11/03/2013 10:18, Lex Trotman wrote: >> Hi All, >> [...] >> My understanding of Unix/Linux signals is that the comment above is >> wrong and always has been wrong, a signal sent to a child process by a >> parent

Re: [Geany-Devel] Changing terminate signal for stopping executing programs

2013-03-11 Thread Lex Trotman
On 12 March 2013 08:25, Enrico Tröger wrote: > Hey Lex, > > did you intentionally answered off-list? Nah, your mail was to list and cc me, so the "smart" mailer chose to reply to you, and its too early in the morning for me to notice :) This cced to the list for the record :) > > >> I don't

Re: [Geany-Devel] Changing terminate signal for stopping executing programs

2013-03-11 Thread Lex Trotman
[...] > That's not the way to go. IIUC what everybody does is triggering > something in the real program flow from the handler. E.g. write > something to a pipe that is monitored by the main loop, and then the > main loop would do the real handling. That don't seem so hard to > implement, is it?

Re: [Geany-Devel] Changing terminate signal for stopping executing programs

2013-03-12 Thread Lex Trotman
On 13 March 2013 04:47, Dimitar Zhekov wrote: > On Mon, 11 Mar 2013 13:18:10 +1100 > Lex Trotman wrote: > >> Geany currently uses SIGQUIT to terminate a running program (using the >> execute menu item or toolbar button when it shows the stop icon). >> This has always b

[Geany-Devel] Setting Windows working directory

2013-03-12 Thread Lex Trotman
Hi Enrico, We have had a report on IRC that running geany on the windows command line will only open files in the Geany install directory unless you use the full path. eg C:\somepath> geany somefile.txt will open installpath\somefile.txt not somepath\somefile.txt. And with the "Open new documen

Re: [Geany-Devel] Setting Windows working directory

2013-03-12 Thread Lex Trotman
On 13 March 2013 17:01, Enrico Tröger wrote: > Hey, > >> We have had a report on IRC that running geany on the windows command >> line will only open files in the Geany install directory unless you >> use the full path. >> >> eg C:\somepath> geany somefile.txt >> >> will open installpath\somefile.

Re: [Geany-Devel] Some Auto-Indentation Ideas

2013-03-14 Thread Lex Trotman
Hi Braden, Indentation, sigh. Search the developer mailing list archives and IRC archives for indentation, that should give you enough reading for a while, so I can get on with a little top-posted rant :). More specific comments below. There have been at least two attempted improvements of the

Re: [Geany-Devel] Some Auto-Indentation Ideas

2013-03-14 Thread Lex Trotman
On 15 March 2013 08:30, Braden Walters wrote: > As a reply to everyone: > > I now see what Thomas Martitz wrote, and I'm surprised I overlooked the > newline strip whitespace option. This will help me out a bit, but I also > understand Roger Booth's comments about indentation in virtual space. > A

Re: [Geany-Devel] [geany/geany] d270e6: Parse compiler provided build date to use the translatable date format string

2013-03-17 Thread Lex Trotman
On 18 March 2013 10:31, Colomban Wendling wrote: > Le 17/03/2013 19:51, Colomban Wendling a écrit : >> Le 17/03/2013 17:42, Colomban Wendling a écrit : >>> Le 17/03/2013 17:17, Christian Dywan a écrit : Branch: refs/heads/master Author: Christian Dywan Committer: Enrico

Re: [Geany-Devel] [geany/geany] d270e6: Parse compiler provided build date to use the translatable date format string

2013-03-17 Thread Lex Trotman
> Perhaps instead we should not try to translate the build date and use > a language independent format like a ISO8601 format. Obligatory xkcd reference http://xkcd.com/1179/ :) > > After all a build date is meant to be unambiguous, not pretty :) > > Cheers > Lex > > >> >> ___

Re: [Geany-Devel] [geany/geany] d270e6: Parse compiler provided build date to use the translatable date format string

2013-03-18 Thread Lex Trotman
On 19 March 2013 02:36, Enrico Tröger wrote: > On 18/03/13 01:27, Lex Trotman wrote: >> On 18 March 2013 10:31, Colomban Wendling wrote: >>> Le 17/03/2013 19:51, Colomban Wendling a écrit : >>>> Le 17/03/2013 17:42, Colomban Wendling a écrit : >>>>>

Re: [Geany-Devel] Find/highlight matching opening/closing HTML tag

2013-03-27 Thread Lex Trotman
On 28 March 2013 09:47, Volodymyr Kononenko wrote: > Hi all, > > I am software developer and I am using Geany almost every day. Let it be a > short introduction :) > > I found out that Geany does not have a feature, mentioned in mail subject. > Is anybody busy with it? > > A little googling showed

[Geany-Devel] Plugins sharing resources

2013-04-04 Thread Lex Trotman
There are several plugins that share limited resources, such as scintilla markers and indicators. At the moment there is no coordination for using those resources so plugins can interfere with one another and possibly with Geany. The only common thing between plugins and Geany is Geany, so this i

Re: [Geany-Devel] Plugins sharing resources

2013-04-05 Thread Lex Trotman
Update: Matthew has pointed out on IRC that the markers and indicators are per scintilla object, not global. He has a suggested alternative API which he will post after its tested. Cheers Lex On 5 April 2013 13:09, Lex Trotman wrote: > There are several plugins that share limited resour

Re: [Geany-Devel] [PATCH geany-plugins 02/10] insertnum: Fix GTK+3 support

2013-04-05 Thread Lex Trotman
Hi Dimitar, On 6 April 2014 04:40, Dimitar Zhekov wrote: > On Fri, 5 Apr 2013 08:58:21 +0200 > Quentin Glidic wrote: > > > geanyinsertnum/src/insertnum.c | 4 ++-- > > - GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT); > > + gtk_widget_set_can_default(button, TRUE); > > > geanyinsertnu

Re: [Geany-Devel] Plugins sharing resources

2013-04-05 Thread Lex Trotman
in isn't using that marker already? Thats the sort of problem this is to solve. Cheers Lex > > > ---- Original Message > > Lex Trotman wrote: > > Update: > > Matthew has pointed out on IRC that the markers and indicators are per > scintilla obj

Re: [Geany-Devel] [PATCH geany-plugins 02/10] insertnum: Fix GTK+3 support

2013-04-06 Thread Lex Trotman
The problem is, my company is certified for information securily, and > getting approval for a new version of any external software is a PITA. > On the other hand, anything written by the employees, like my plugins, > is OK by default - we are hired to write software, after all... :) > Maybe you c

Re: [Geany-Devel] Removing of orphaned plugins

2013-04-06 Thread Lex Trotman
On 7 April 2013 06:19, Matthew Brush wrote: > On 13-04-06 09:26 AM, Frank Lanitz wrote: > >> Hi folks, >> >> Unfortunately we still have a number of orphaned plugins. To get this >> thing cleaned up I've created a branch at >> >> https://github.com/frlan/**geany-plugins/commits/** >> Removing_orp

Re: [Geany-Devel] [PATCH geany-plugins 02/10] insertnum: Fix GTK+3 support

2013-04-06 Thread Lex Trotman
On 7 April 2013 06:31, Matthew Brush wrote: > On 14-04-06 05:04 AM, Dimitar Zhekov wrote: > >> [...] >> >> Anyway, I was too categorical. The old hack of #defining GTK_COMPAT_H >> before including geanyplugin.h, and manually writing any compatibility >> code, will probably work fine with all Gean

Re: [Geany-Devel] [PATCH geany-plugins 02/10] insertnum: Fix GTK+3 support

2013-04-06 Thread Lex Trotman
The problem is that if you want to target any Geany from before 1.24 where > it didn't provide a gtkcompat.h and you use any macros from it, then you > have to assume GTK+ >2.16 because gtkcompat.h defines macros that > transparently provides GTK+ >2.16 functionality for where that version > isn't

Re: [Geany-Devel] Removing of orphaned plugins

2013-04-06 Thread Lex Trotman
On 7 April 2013 07:36, Thomas Martitz wrote: > Am 06.04.2013 22:35, schrieb Lex Trotman: > > >> >> >> On 7 April 2013 06:19, Matthew Brush > mbr...@codebrainz.ca>> wrote: >> >> On 13-04-06 09:26 AM, Frank Lanitz wrote: >> >>

Re: [Geany-Devel] Geany Version Matrix

2013-04-07 Thread Lex Trotman
On 7 April 2013 17:20, Volodymyr Kononenko wrote: > Very useful table. I was searching such a one during development > PairTagHighlighter and found similar table here: > http://wiki.geany.org/plugins/development/api-versions > > IMHO it is better to remove the old one or to move your table to the

Re: [Geany-Devel] Plugins sharing resources

2013-04-10 Thread Lex Trotman
On 11 April 2013 02:25, Dimitar Zhekov wrote: > On Fri, 5 Apr 2013 20:20:55 +1100 > Lex Trotman wrote: > > > Matthew has pointed out on IRC that the markers and indicators are per > > scintilla object, not global. He has a suggested alternative API which > he > &

[Geany-Devel] To whom it may concern (whoever runs the nightlies)

2013-04-12 Thread Lex Trotman
Is there any plan for extending the nightly builds to include GTK3 now its supported? Cheers Lex ___ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Re: [Geany-Devel] Plugins sharing resources

2013-04-12 Thread Lex Trotman
On 13 April 2013 03:19, Dimitar Zhekov wrote: > On Thu, 11 Apr 2013 07:49:41 +1000 > Lex Trotman wrote: > > [...] > > On Thu, 11 Apr 2013 12:56:22 +0100 > William Fraser wrote: > > [...] > > Let me confirm. You haven't checked the total resource usage, b

Re: [Geany-Devel] geany-plugins fail to build with msvc

2013-04-16 Thread Lex Trotman
On 17 April 2013 06:21, Enrico Tröger wrote: > On 16/04/13 20:26, Dimitar Zhekov wrote: > > Hi, > > > > When I run 'python waf configure' under Windows, it detects msvc before > > gcc, but 'python waf make' produces lots of: > > > > cl : Command line warning D9002 : ignoring unknown option > > '-

Re: [Geany-Devel] geany-plugins fail to build with msvc

2013-04-16 Thread Lex Trotman
On 17 April 2013 14:48, Thomas Martitz wrote: > Am 17.04.2013 02:29, schrieb Lex Trotman: > > >> If the errors are only because of a naming clash, this would be quite >> easy to fix I guess. >> >> >> Btw, does Geany build with MSVC? >> >

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-17 Thread Lex Trotman
On 17 April 2013 20:40, Harold Aling wrote: > I use the terminal emulator in Geany mainly for Git-commands and Drush. > > When pulling the work from collegues using Git, geany pops up a file > changed, or deleted warning for all changed or deleted open files > which steals focus from the terminal

Re: [Geany-Devel] geany-plugins fail to build with msvc

2013-04-17 Thread Lex Trotman
On 18 April 2013 02:46, Dimitar Zhekov wrote: > On Wed, 17 Apr 2013 10:29:55 +1000 > Lex Trotman wrote: > > > Note that as I understand it, it would not necessarily work to use a > > plugin compiled with msvc and a Geany compiled with gcc. It might, > > but no guaran

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-18 Thread Lex Trotman
On 19 April 2013 09:06, Matthew Brush wrote: > On 13-04-18 05:16 AM, Thomas Martitz wrote: > >> Am 17.04.2013 16:49, schrieb Steven Blatnick: >> >>> I've always thought the dialogs should be embedded anyway, which >>> doesn't steal focus. What I mean is like gedit does, where at the top >>> of t

Re: [Geany-Devel] geany-plugins fail to build with msvc

2013-04-18 Thread Lex Trotman
On 19 April 2013 03:59, Enrico Tröger wrote: > On 18/04/13 19:36, Dimitar Zhekov wrote: > > On Tue, 16 Apr 2013 22:21:25 +0200 > > Enrico Tröger wrote: > > > >> Btw, does Geany build with MSVC? > > > > No. The '-mms-bitfields' warnings aside, it fails with: > > > > ..\plugins\saveactions.c(30) :

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-19 Thread Lex Trotman
On 20 April 2013 05:07, Dimitar Zhekov wrote: > On Fri, 19 Apr 2013 20:51:46 +0200 > Thomas Martitz wrote: > > > Am 19.04.2013 19:41, schrieb Dimitar Zhekov: > > > > > > The problem is gtk+ 2.18 / 2.20 for win~1 are buggy. > > > So it's either 2.16 or 2.22... > > > > > > > What's the problem wit

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-20 Thread Lex Trotman
own devs don't understand them. :) On 21 April 2013 05:13, Matthew Brush wrote: > On 13-04-20 09:52 AM, Nick Treleaven wrote: > >> On 20/04/2013 16:06, Matthew Brush wrote: >> >>> On 13-04-20 05:59 AM, Harold Aling wrote: >>> >>>>

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-20 Thread Lex Trotman
On 21 April 2013 09:40, Harold Aling wrote: > On Sun, Apr 21, 2013 at 1:20 AM, Lex Trotman wrote: > > And that is irrelevant, a more effective question is, what does Red Hat > 6.0 > > have? (thats a real question, my quick look at their website couldn't > >

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-20 Thread Lex Trotman
[...] > I definitively agree that there's someone/a few people out there, in this > strange self-imposed situation that are mentioned above, but I'd bet good > money it's a such a small minority of Geany's users, possibly even less > than 1%, to be worth bending over backwards for. > The real pro

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-20 Thread Lex Trotman
On 21 April 2013 10:56, Matthew Brush wrote: > On 13-04-20 05:48 PM, Lex Trotman wrote: > >> [...] >> >> I definitively agree that there's someone/a few people out there, in this >>> strange self-imposed situation that are mentioned above, but I'd bet

Re: [Geany-Devel] Don't pop-up messages/steal focus when in terminal

2013-04-21 Thread Lex Trotman
On 21 April 2013 22:47, Harold Aling wrote: > Dear all, > > Sorry for causing so much commotion. Did not expect this to happen, > although I also chipped in on the discussion. > > Lessons learned: bumping to GTK+ 2.18 (Linux) and GTK+ 2.24 (Windows) > is a good idea. > Lessons learned, Geany ML

Re: [Geany-Devel] geany-plugins fail to build with msvc

2013-05-04 Thread Lex Trotman
On 25 April 2013 06:09, Enrico Tröger wrote: > On 19/04/13 01:31, Lex Trotman wrote: > > On 19 April 2013 03:59, Enrico Tröger wrote: > > > >> On 18/04/13 19:36, Dimitar Zhekov wrote: > >>> On Tue, 16 Apr 2013 22:21:25 +0200 > >>> Enrico Tröger

[Geany-Devel] Symbols containing '.' break symbols pane

2013-05-10 Thread Lex Trotman
Colomban, Did some more research. 1. Doesn't happen with rest (I think I must have had the filetype set wrong when I found it before, hence geany.txt is now marked for filetype :) 2. in symbols_get_context_separator() rest returns something other than '.' 3. tried returning impossible rubbish "

Re: [Geany-Devel] Symbols containing '.' break symbols pane

2013-05-14 Thread Lex Trotman
On 11 May 2013 12:44, Lex Trotman wrote: > Colomban, > > Did some more research. > > 1. Doesn't happen with rest (I think I must have had the filetype set > wrong when I found it before, hence geany.txt is now marked for filetype :) > > 2. in symbols_get_con

Re: [Geany-Devel] Symbols containing '.' break symbols pane

2013-05-14 Thread Lex Trotman
On 15 May 2013 11:38, Colomban Wendling wrote: > Le 14/05/2013 09:47, Lex Trotman a écrit : > > > > [...] > > > > > > Colomban, > > > > And while you are in symbols.c (or near there ?) > > Err, your request moves towards c.c… nice try ;) >

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

2013-05-26 Thread Lex Trotman
On 27 May 2013 07:51, Pallai Roland wrote: > Hi, > > > I'm struggling with an issue: GTK focus lost when last document closed. > Can you describe more clearly what the problem you are trying to solve is? AFAICT Geany retains focus after the last document is closed. Cheers Lex > > To grab the

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

2013-05-27 Thread Lex Trotman
do for opening files, and passing a widget pointer to Geany is risky since the plugin may have been closed in the meantime and the widget deleted. Trying to use that is a likely crash. In general this is a situation where Geany can't assume what the user wants to do, it is better to let the u

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

2013-05-27 Thread Lex Trotman
On 28 May 2013 07:51, Pallai Roland wrote: > A very simple implementation based on your comments: > https://github.com/geany/geany/pull/141 > > I will patch geany-plugins too (treebrowser/projects) if you like it. > That means adding the new function to the plugin API, documenting it as such and

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

2013-05-28 Thread Lex Trotman
[...] > > /* It's not about just me, I really believe it makes Geany a bit > better. I presented use cases where it has advantages, no known > drawbacks, code complexity is very low, using of this feature is > optional in plugins, no fully working workaround. > Don't get me wrong, but I don't unde

Re: [Geany-Devel] Idea: use function keys as modifiers?

2013-05-28 Thread Lex Trotman
On 29 May 2013 08:04, Thrawn wrote: > Hi, folks. > > Is it possible to enable the use of the function keys, F1-F12, as modifier > keys? > > I love Geany's custom keybindings, but I'm running out of intuitive > options, especially with multiple plugins and multiple custom Lua scripts. > Using the

Re: [Geany-Devel] New Geany enthusiast here to help :)

2013-06-02 Thread Lex Trotman
Hi, Contributions are welcome, to help guide you, can you provide a quick overview of your experience in terms of programming, documenting, tools, languages etc. And of course of your interests, doing what you are interested in is likely to help you to remain involved. Cheers Lex On 2 June 20

Re: [Geany-Devel] patches to extend Markdown syntax highlighting

2013-06-02 Thread Lex Trotman
On 2 June 2013 23:50, Carsten Allefeld wrote: > Hello, > > Hi, As you say in your original email, Scintilla is a separate project. We try not to have a modified Scintilla since that implies patching and testing every time there is an update. So you should submit the Scintilla patches to that p

Re: [Geany-Devel] Devel Digest, Vol 63, Issue 2

2013-06-04 Thread Lex Trotman
On 4 June 2013 23:44, Ilario Pierbattista wrote: > 2013/6/3 : > > Hi, > > > > Contributions are welcome, to help guide you, can you provide a quick > > overview of your experience in terms of programming, documenting, tools, > > languages etc. > > > > And of course of your interests, doing what

Re: [Geany-Devel] Lua script vs the plugin wishlist

2013-06-04 Thread Lex Trotman
On 5 June 2013 13:19, Thrawn wrote: > Hi, folks. > > I took a look through the plugin wishlist recently, and it seems to me > that a fair number of them could be solved quickly and easily using Lua > scripting. Advanced interaction with Geany's chrome is out, but for text > wrangling and integrat

Re: [Geany-Devel] Lua script vs the plugin wishlist

2013-06-05 Thread Lex Trotman
On 5 June 2013 14:34, Lex Trotman wrote: > > > > On 5 June 2013 13:19, Thrawn wrote: > >> Hi, folks. >> >> I took a look through the plugin wishlist recently, and it seems to me >> that a fair number of them could be solved quickly and easily using Lua

Re: [Geany-Devel] Lua script vs the plugin wishlist

2013-06-07 Thread Lex Trotman
Hi ya, On 8 June 2013 14:54, Thrawn wrote: > Hi, folks. Thanks for your feedback. > > I'm only a novice with C, but I'll take a look sometime at the GeanyLua > source and see whether I think I could fix something broken. Will let the > list know what I decide. > > @Steven: Interesting to hear a

[Geany-Devel] Adding a plugin

2013-06-07 Thread Lex Trotman
Frank and others, Is there something that describes how to go about adding a plugin to geany-plugins? That describes the build system requirements for non-autotools experts etc. I couldn't find anything. Cheers Lex ___ Devel mailing list Devel@lists.g

Re: [Geany-Devel] Adding a plugin

2013-06-08 Thread Lex Trotman
On 8 June 2013 16:25, Matthew Brush wrote: > On 13-06-07 10:51 PM, Lex Trotman wrote: > >> Frank and others, >> >> Is there something that describes how to go about adding a plugin to >> geany-plugins? That describes the build system requirements for >>

Re: [Geany-Devel] Adding a plugin

2013-06-08 Thread Lex Trotman
On 8 June 2013 20:31, Roger Booth wrote: > On 06/08/2013 03:02 AM, Frank Lanitz wrote: > > On Sat, 08 Jun 2013 02:54:38 -0700 > Roger Booth wrote: > > > One thing I could ask for is a reference in the docs to where I can > find the correspondence between api and abi. Maybe thats the wrong > q

<    1   2   3   4   5   6   7   >