[Geany-Devel] More pointer to member stuff

2012-10-24 Thread Lex Trotman
Hi Colomban, Whilst not Geany specific, we were discussing it on #geany and it shows a use-case for the C++ pointer to member syntax. Consider interfaces between separately compiled things, like Geany plugins. (I am not proposing changing the Geany plugin interface, just using it as an example).

Re: [Geany-Devel] Printing

2012-10-25 Thread Lex Trotman
On 25 October 2012 18:35, Roger Booth rbo...@kabooth.com wrote: On 10/25/2012 12:21 AM, Lex Trotman wrote: On 25 October 2012 18:16, Roger Booth rbo...@kabooth.com wrote: I have built Geany from git. Help / About says Geany 1.23 (git = 8855c14) btw, would be nice if I was able

Re: [Geany-Devel] Proposal from the Mint distro

2012-11-07 Thread Lex Trotman
On 8 November 2012 17:11, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 08.11.2012 03:36, schrieb Lex Trotman: Hi All, So our conclusion is that some seem to think it would be a good idea, but no-one has come forward and said Ok, I will fork it on Github and lead

Re: [Geany-Devel] [Geany-devel] [PATCH] File saving dialog behavior

2012-11-09 Thread Lex Trotman
On 9 November 2012 20:43, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 09.11.2012 10:40, schrieb Lex Trotman: On 9 November 2012 20:31, Thomas Martitz thomas.mart...@student.htw-** berlin.de thomas.mart...@student.htw-berlin.de mailto:thomas.martitz@* *student.htw

Re: [Geany-Devel] [Geany-devel] [PATCH] File saving dialog behavior

2012-11-16 Thread Lex Trotman
[...] Updated and now a pull request: https://github.com/geany/**geany/pull/80https://github.com/geany/geany/pull/80 Hi Nick, This works fine for me, applies cleanly, no warnings, and meets the use cases listed in the thread. For me its committable as is, nice one. Cheers Lex This

Re: [Geany-Devel] Document Message/File Monitoring Behaviour (was Re: Bug: Conflicting Keyboard shortcut in reload file dialog - ID: 3587465)

2012-11-30 Thread Lex Trotman
On 1 December 2012 16:10, Matthew Brush mbr...@codebrainz.ca wrote: Hi again, Attached is a mockup of roughly what I was thinking made in 5 minutes on some website, except I couldn't figure out how to make a warning icon for the infobar and tab label. Yes thats the sort of thing. I agree

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, quoting them

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, you're

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 how to

Re: [Geany-Devel] Screenshots in user manual

2013-01-06 Thread Lex Trotman
On 7 January 2013 14:21, Matthew Brush mbr...@codebrainz.ca 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

Re: [Geany-Devel] Accessing argv from plugins

2013-01-07 Thread Lex Trotman
On 7 January 2013 20:25, Matthew Brush mbr...@codebrainz.ca 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/PID/cmdline or

Re: [Geany-Devel] Accessing argv from plugins

2013-01-07 Thread Lex Trotman
On 8 January 2013 02:19, Colomban Wendling lists@herbesfolles.org 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

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

2013-01-17 Thread Lex Trotman
On 18 January 2013 00:17, Thomas Young thomasyo...@free.fr 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

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

2013-01-18 Thread Lex Trotman
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 possibility to do more things with this kind of setup, with a very minimal change (in particular, the change

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

2013-01-18 Thread Lex Trotman
On 18 January 2013 20:36, Thomas Young thomasyo...@free.fr 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 =

[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

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 ele...@gmail.com 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 the filetype

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 vadi...@gmail.com 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.

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

2013-01-21 Thread Lex Trotman
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 ele...@gmail.com wrote: On 22 January 2013 09:08, vadim kochan vadi...@gmail.com wrote: Hi all, May be someone

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

2013-01-23 Thread Lex Trotman
this is illegal :) Cheers Lex print False True (I wouldn't do this in real code, but in many situations it is quite convenient to not worry about trying to avoid name clashes with built in tags!) Best regards, Thomas On 23/01/13 06:17, Lex Trotman wrote: Hi All, We have only one Python

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

2013-01-23 Thread Lex Trotman
On 23 January 2013 21:32, Thomas Young thomasyo...@free.fr 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

[Geany-Devel] Geany plugins website

2013-01-24 Thread Lex Trotman
Dear whoever is responsible for the plugins website, 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

[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 way, it

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.

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

2013-02-19 Thread Lex Trotman
Wendling lists@herbesfolles.org 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 counters. The only one

[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 fr...@frank.uvena.de 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 the icon, it sets

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

Re: [Geany-Devel] codesubmit plugin

2013-02-26 Thread Lex Trotman
On 27 February 2013 10:26, Thomas Martitz thomas.mart...@student.htw-berlin.de 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

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 as

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 fr...@frank.uvena.de 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 -Wno-unused-parameter

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 dimitar.zhe...@gmail.com wrote: On Mon, 04 Mar 2013 22:30:40 - Colomban Wendling git-nore...@geany.org wrote: Log Message: --- Scope: Fix mismatched allocator/deallocator These are not mismatched, I'm using strdup() instead of strdup() for

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

2013-03-07 Thread Lex Trotman
: 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 ele...@gmail.com wrote: In which case this plugin must be removed from G-P until you have

[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-11 Thread Lex Trotman
On 12 March 2013 08:25, Enrico Tröger enrico.troe...@uvena.de 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 :)

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

2013-03-12 Thread Lex Trotman
On 13 March 2013 04:47, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Mon, 11 Mar 2013 13:18:10 +1100 Lex Trotman ele...@gmail.com 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

[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

Re: [Geany-Devel] Setting Windows working directory

2013-03-13 Thread Lex Trotman
On 13 March 2013 17:01, Enrico Tröger enrico.troe...@uvena.de 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

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

2013-03-14 Thread Lex Trotman
On 15 March 2013 08:30, Braden Walters meobl...@aol.com 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

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 lists@herbesfolles.org 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

[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

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 ele...@gmail.com wrote: There are several plugins that share

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 ge...@sait.nl 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

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 enrico.troe...@uvena.de wrote: On 18/04/13 19:36, Dimitar Zhekov wrote: On Tue, 16 Apr 2013 22:21:25 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: Btw, does Geany build with MSVC? No. The '-mms-bitfields' warnings aside, it fails with:

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

2013-04-20 Thread Lex Trotman
their own devs don't understand them. :) On 21 April 2013 05:13, Matthew Brush mbr...@codebrainz.ca 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: On Sat, Apr 20, 2013 at 1:40 AM, Lex Trotman ele...@gmail.com

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 ge...@sait.nl wrote: On Sun, Apr 21, 2013 at 1:20 AM, Lex Trotman ele...@gmail.com 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 identify what

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 problem

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 mbr...@codebrainz.ca 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 good money it's a such a small

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 enrico.troe...@uvena.de wrote: On 19/04/13 01:31, Lex Trotman wrote: On 19 April 2013 03:59, Enrico Tröger enrico.troe...@uvena.de wrote: On 18/04/13 19:36, Dimitar Zhekov wrote: On Tue, 16 Apr 2013 22:21:25 +0200 Enrico Tröger enrico.troe

[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] Focus lost when last document closed

2013-05-27 Thread Lex Trotman
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 user focus something via the mouse or keybinding. Cheers Lex 2013/5/27 Lex Trotman ele...@gmail.com On 27 May 2013 07:51, Pallai Roland pall

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

2013-05-27 Thread Lex Trotman
On 28 May 2013 07:51, Pallai Roland pall...@magex.hu 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

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

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

2013-05-28 Thread Lex Trotman
On 29 May 2013 08:04, Thrawn shell_layer-ge...@yahoo.com.au 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

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

2013-06-02 Thread Lex Trotman
On 2 June 2013 23:50, Carsten Allefeld carsten.allef...@googlemail.comwrote: 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

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

2013-06-07 Thread Lex Trotman
Hi ya, On 8 June 2013 14:54, Thrawn shell_layer-ge...@yahoo.com.au 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.

Re: [Geany-Devel] help :go to tag defination

2013-06-08 Thread Lex Trotman
On 9 June 2013 13:10, Aravindhan.K aravindlinu...@gmail.com wrote: go to defination does not work for non opened files, (i.e )it only works for workspace tags. How to make it work for files in global tags. It can't because the tag file format does not include the source file or line

Re: [Geany-Devel] Adding a plugin

2013-06-09 Thread Lex Trotman
On 9 June 2013 19:53, Chow Loong Jin hyper...@gmail.com wrote: On Sun, Jun 09, 2013 at 01:59:57AM -0700, Matthew Brush wrote: [...] Yeah I had originally typed a little rant about it in my last email that I removed to avoid being negative/complainy, but I believe it went something like

Re: [Geany-Devel] Adding a plugin

2013-06-09 Thread Lex Trotman
[...] Sorry, but I didn't understand exactly what you were attempting to demonstrate in your example. Please take pity on an admitted moron here and expand a bit on what is going on in the example. Main questions: where does the magic number 211 come from? GEANY_VERSION_CHECK(211...)

Re: [Geany-Devel] Adding a plugin

2013-06-09 Thread Lex Trotman
[...] But if I'm going to *improve* the docs, I *still* have an outstanding (in a manner of speaking) question: Why does the function plugin_init() accept the one parameter GeanyData*? The reason that is a question is that the three global variables GeanyPlugin *geany_plugin;

Re: [Geany-Devel] Adding a plugin

2013-06-09 Thread Lex Trotman
On 10 June 2013 00:43, Roger Booth rbo...@kabooth.com wrote: On 06/09/2013 07:18 AM, Lex Trotman wrote: [...] But if I'm going to *improve* the docs, I *still* have an outstanding (in a manner of speaking) question: Why does the function plugin_init() accept the one parameter GeanyData

Re: [Geany-Devel] [PATCH geany-plugins 1/5] GeanyLaTeX: Fix GTK+3 support

2013-06-22 Thread Lex Trotman
On 22 June 2013 20:14, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: On Fri, 21 Jun 2013 20:49:38 +1000 Lex Trotman ele...@gmail.com wrote: On 21 June 2013 02:35, Frank Lanitz fr...@frank.uvena.de wrote: this will increase the dependencies of Gtk at least to 2.24. Not sure it's

[Geany-Devel] Image in manual wrong

2013-06-25 Thread Lex Trotman
Note to whoever generates the images in the manual or Colomban by default. The image for the prefs-editor-indentation dialog still shows the hard width entry. This was removed by 1b5182333https://github.com/geany/geany/commit/1b51823339c5208c4a568451bedd71a8e5bfa360#geany.glade back on

Re: [Geany-Devel] Geany Setup Custom Commands

2013-06-26 Thread Lex Trotman
On 27 June 2013 00:17, Kostas Dimakis dima...@csd.uoc.gr wrote: I am sorry for the direct mail but for some reason i didn't receive the mail in my inbox. The only reason i saw the mail is that i was checking the mailing list for questions #lucky :D Anyway i think i resolved it. If you can do

Re: [Geany-Devel] Smart tabs

2013-07-15 Thread Lex Trotman
On 16 July 2013 08:09, Thrawn shell_layer-ge...@yahoo.com.au wrote: Hi, folks. I recently came across some articles on the Emacs wiki about spaces vs tabs: http://www.emacswiki.org/emacs/SmartTabs http://www.emacswiki.org/emacs/TabsAreEvil Their argument is that tabs should be used for

Re: [Geany-Devel] Smart tabs

2013-07-16 Thread Lex Trotman
On 16 July 2013 15:45, Thomas Martitz thomas.mart...@student.htw-berlin.dewrote: Am 16.07.2013 03:02, schrieb Lex Trotman: 2) There has been much discussion on the ML and several actual prototypes of improved indentation/alignment schemes that are flexible enough to address many languages

Re: [Geany-Devel] Smart tabs

2013-07-17 Thread Lex Trotman
On 17 July 2013 16:53, Thomas Martitz thomas.mart...@student.htw-berlin.dewrote: Am 17.07.2013 00:49, schrieb Thrawn: Thomas Martitz wrote: Bah, this everything must be a plugin really annoys me... What's wrong with you accepting new code in the core? Actually, I agree that custom

Re: [Geany-Devel] File modified

2013-07-21 Thread Lex Trotman
Make my last *Git* version :) Cheers Lex ___ Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Re: [Geany-Devel] File modified

2013-07-21 Thread Lex Trotman
-- * From: * Lex Trotman ele...@gmail.com; * To: * Steven Blatnick steve8tr...@yahoo.com; Geany development list devel@lists.geany.org; * Subject: * Re: [Geany-Devel] File modified * Sent: * Sun, Jul 21, 2013 7:36:16 AM On 21 July 2013 17:11, Steven Blatnick steve8tr

Re: [Geany-Devel] wordchars in filetypes.r

2013-07-28 Thread Lex Trotman
It has never been defined what a word is in the context of the filetype files. I would have assumed that it meant identifier characters, but since the wordchars setting is commented out in all filetypes files, all languages must only use C identifier characters (the default) :) Even CSS which

Re: [Geany-Devel] wordchars in filetypes.r

2013-07-28 Thread Lex Trotman
On 29 July 2013 15:45, Steven Blatnick steve8tr...@yahoo.com wrote: Personally I wish ctrl+left/right and double clicking would not include _ as word chars so I have the granularity I'm used to, even though I guess including underscore would be more correct for words. Could this be one of

[Geany-Devel] Fwd: wordchars in filetypes.r

2013-07-30 Thread Lex Trotman
. -- Forwarded message -- From: Lex Trotman ele...@gmail.com Date: 29 July 2013 16:39 Subject: Re: [Geany-Devel] wordchars in filetypes.r To: Steven Blatnick steve8tr...@yahoo.com On 29 July 2013 16:13, Steven Blatnick steve8tr...@yahoo.com wrote: Sweet! I've changed some syntax highlighting

[Geany-Devel] Latex Plugin Build Commands

2013-08-01 Thread Lex Trotman
Hi Frank, Yes it should be possible to do what you want without any changes to Geany, basically doing what you proposed on IRC. Detailed algorithm: [n] refers to tl;dr notes at the end 1) Your plugin keeps a list of GeanyDocument pointers that have % master and the master file path [1] 2) On

Re: [Geany-Devel] [geany/geany] 0c7cf8: Fix gcc warning 'cast to pointer from integer of different size'

2013-08-11 Thread Lex Trotman
On 11 August 2013 23:31, Nick Treleaven git-nore...@geany.org wrote: Branch: refs/heads/master Author: Nick Treleaven nick.trelea...@btinternet.com Committer: Nick Treleaven nick.trelea...@btinternet.com Date:Sun, 11 Aug 2013 13:31:30 UTC Commit:

Re: [Geany-Devel] Geany using standard types

2013-08-18 Thread Lex Trotman
On 18 August 2013 19:32, Matthew Brush mbr...@codebrainz.ca wrote: Hi, It was pointed out to me on IRC that I went into too much details/patches and muddied the original question, so I propose it again more simply: Do you agree it would be better for Geany to use standard C types as

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

2013-09-05 Thread Lex Trotman
[...] Hi Nick, Still somewhat noisy IMO. How about this, C++98 (I think): #include boost/foreach.hpp #define FOREACH BOOST_FOREACH FOREACH(Document doc, win.documents()) { // do stuff with each document } Frankly if you want to limit the parts of standard C++ that are used, the

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

2013-09-06 Thread Lex Trotman
[...] We have very few resources (and possibly expertise too) to rewrite the Geany API in C++, and it would be a big distraction and likely cause many arguments (as it already has). I said nothing about re-writing the API, in fact I said it needed to remain POD to be C compatible. As for

Re: [Geany-Devel] Debian Unstable Nightly Builds

2013-09-09 Thread Lex Trotman
In fact all the results for all the Debian builds appear to be missing, not just unstable. Cheers Lex On 9 September 2013 19:21, Matthew Brush mbr...@codebrainz.ca wrote: Hi, It looks like the nightly[1] Debian Unstable builds might be broken somehow. I don't see any logs but there are no

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-18 Thread Lex Trotman
Have you tried to see if the javascript lexer and parser work well enough for QML? its supposed to be based on js. Cheers Lex On 19 September 2013 06:52, Matthew Brush mbr...@codebrainz.ca wrote: On 13-09-18 11:47 AM, Tory Gaurnier wrote: On 09/17/2013 06:45 PM, Matthew Brush wrote: On

Re: [Geany-Devel] Interested making a patch to add QML support

2013-09-18 Thread Lex Trotman
On 19 September 2013 09:35, Lex Trotman ele...@gmail.com wrote: Have you tried to see if the javascript lexer and parser work well enough for QML? its supposed to be based on js. Looks like the js lexer works ok, but the parser simply treats QML constructs as data and skips them, oh well

Re: [Geany-Devel] Geany performance

2013-09-29 Thread Lex Trotman
On 29 September 2013 18:31, Pavel Roschin rp...@post.ru wrote: pos=0 is the default when a new document is opened, only documents in the previous session will be opened with pos != 0. You need to call set_cursor_position() to see if any command line options requested a position other

Re: [Geany-Devel] Geany performance

2013-09-29 Thread Lex Trotman
On 29 September 2013 19:45, Pavel Roschin rp...@post.ru wrote: Shouldn't updateUI called only for _visible_ documents? Anyway it will when you click on tab and change document. No it also does notifications, which doesn't depend on visibility. It shouldn't render if the document is not

Re: [Geany-Devel] Geany performance

2013-09-29 Thread Lex Trotman
On 29 September 2013 20:53, Pavel Roschin rp...@post.ru wrote: Well, the costly part is the rendering, which happens from a delayed GTK idle callback inside scintilla. As Matthew said when the text is inserted into the buffer the cursor is at the end, getting it back to the start before

[Geany-Devel] On Deprecation of Platforms

2013-10-02 Thread Lex Trotman
All Developers, Its time we deprecated windows support!! The windows code in Geany is: - unmaintained and bit-rotting - buggy - holding us at an unreasonably old GTK version - hard to maintain due to being hacks on top of hacks - few of the developers have access to a representative

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

2013-10-02 Thread Lex Trotman
Is there a problem with this approach? That means when the minimum version of GTK is increased we will have to upgrade to version of Glade that supports the new widgets that come with the new GTK. And then apply the fixes. So along with lack of windows maintenance (please lets deprecate it)

Re: [Geany-Devel] On Deprecation of Platforms

2013-10-02 Thread Lex Trotman
On 3 October 2013 11:24, Matthew Brush mbr...@codebrainz.ca wrote: On 13-10-02 05:19 PM, Lex Trotman wrote: All Developers, Its time we deprecated windows support!! The windows code in Geany is: - unmaintained and bit-rotting - buggy - holding us at an unreasonably old GTK version

Re: [Geany-Devel] On Deprecation of Platforms

2013-10-03 Thread Lex Trotman
On 3 October 2013 23:19, Colomban Wendling lists@herbesfolles.orgwrote: Le 03/10/2013 02:19, Lex Trotman a écrit : All Developers, Its time we deprecated windows support!! Although I don't use Windows, I don't really see why. The windows code in Geany is: - unmaintained

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

2013-10-05 Thread Lex Trotman
On 6 October 2013 06:06, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: 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

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-05 Thread Lex Trotman
On 6 October 2013 01:25, Tory Gaurnier tory.gaurn...@linuxmail.org wrote: Just thought I'd give everyone an update, it's still coming along, I have the tree view in the symbol list working as expected (it was easier than I thought, I was overcomplicating it at first), right now I'm working on

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

2013-10-06 Thread Lex Trotman
On 6 October 2013 22:21, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 03.10.2013 02:00, schrieb Lex Trotman: Is there a problem with this approach? That means when the minimum version of GTK is increased we will have to upgrade to version of Glade that supports

Re: [Geany-Devel] On Deprecation of Platforms

2013-10-07 Thread Lex Trotman
[...] Since the only way Windows is stopping any upgrades of the oldest version is the builders using 2.16, maybe stopping windows support is just no longer making those packages, leaving the code inside #ifdef OS_WIN32 there for you to build it with your preferred GTK. I don't understand

Re: [Geany-Devel] Interested making a patch to add QML support

2013-10-08 Thread Lex Trotman
On 8 October 2013 20:08, Lex Trotman ele...@gmail.com wrote: [...] Not sure what you mean by test suite, I've uploaded it to github ( https://github.com/tgaurnier/geany/), and would love for people to test it, it seems to be fairly bug free now, there's things I still want to fix

Re: [Geany-Devel] Improving FiF

2013-10-09 Thread Lex Trotman
On 10 October 2013 07:01, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: 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

Re: [Geany-Devel] Improving FiF

2013-10-09 Thread Lex Trotman
[...] 3. For non-recursive searches, grep does not allow a directory to be specified instead of file. To work around that, we read the directory, back-parse all --include=*.x patterns, and match them manually. Proposition: grep -rl --include=*.c --exclude-dir=[^.]* --exclude-dir=.?* void .

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

2013-10-10 Thread Lex Trotman
[...] In reality it doesn't matter what we think, or what the GNOME design team thinks, such stuff is extremely subjective and personal and the only apps that need to care about GNOME design manifesto are GNOME applications themselves. It not right, you not adds things without any

Re: [Geany-Devel] splitwindow2

2013-10-10 Thread Lex Trotman
[...] - state is not saved/restored across Geany restarts - it's completely awkward because the other view shows a doc that's also in the main view, editing in the other view will change the main view at the same time. I think this is intended and I find it useful personally. I don't

Re: [Geany-Devel] splitwindow2

2013-10-11 Thread Lex Trotman
Hi Thomas, I havn't had a chance to use it yet, but I've looked at it, and have left a few comments on the github code. Certainly at this prototype stage its pretty simple :) Cheers Lex ___ Devel mailing list Devel@lists.geany.org

Re: [Geany-Devel] Improving FiF

2013-10-11 Thread Lex Trotman
[...] custom - this is exactly the same as entering something in Files. Well, its Not Project, ie you need some way to switch away from using project settings, how good Custom is as a name is open. So it only exists because Project exists, and has no intrinsic value. The key point of

  1   2   3   4   5   >