[Geany-devel] Improved syntactic highlighting for Haskell

2010-08-04 Thread Krasimir Angelov
Dear Geany Hackers, I am using Haskell for most of my work and I want to have better syntactic highlighting for it. After I successfully compiled and installed Geany on my computer I did some fixes in the lexer. The patch is attached. This is the list of problems that I fixed: - some keywords

Re: [Geany-devel] Improved syntactic highlighting for Haskell

2010-08-04 Thread Lex Trotman
On 4 August 2010 23:18, Krasimir Angelov kr.ange...@gmail.com wrote: Dear Geany Hackers, I am using Haskell for most of my work and I want to have better syntactic highlighting for it. After I successfully compiled and installed Geany on my computer I did some fixes in the lexer. The patch

Re: [Geany-devel] Improved syntactic highlighting for Haskell

2010-08-04 Thread Erik de Castro Lopo
Lex Trotman wrote: I probably should let you know that Scintilla has just undergone a significant and partly incompatible change in lexer structure, so your patches may need to be adjusted for the Lexer of the new Scintilla. Any idea when the new scintilla component with be pulled into Geany?

[Geany-devel] Patches for review

2010-08-04 Thread Jiří Techet
Hi, I'm sending my stack of patches against geany again, this time as individual patches. Here's the full list: [PATCH 01/19] Prevent -Wmissing-prototypes report warning when compiling a plugin [PATCH 02/19] Add signals for project options dialog opening and closing [PATCH 03/19] Make the

[Geany-devel] [PATCH 01/19] Prevent -Wmissing-prototypes report warning when compiling a plugin

2010-08-04 Thread Jiří Techet
Signed-off-by: Jiří Techet tec...@gmail.com --- src/plugindata.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/plugindata.h b/src/plugindata.h index 4bd8773..8e44da5 100644 --- a/src/plugindata.h +++ b/src/plugindata.h @@ -68,6 +68,7 @@ enum { * want your plugin

[Geany-devel] [PATCH 02/19] Add signals for project options dialog opening and closing

2010-08-04 Thread Jiří Techet
These signals can be used by plugins to add their settings tab and read the settings when the user presses OK. The code had to be reorganized slightly because first project-dialog-confirmed has to be emitted (so the plugin can read the settings) and project-save afterwards. Signed-off-by: Jiří

[Geany-devel] [PATCH 11/19] File name in the project settings dialog shouldn't look it is editable

2010-08-04 Thread Jiří Techet
Use selectable GtkLabel so it's possible to copy the file name but it is immediatelly clear that it cannot be edited. Signed-off-by: Jiří Techet tec...@gmail.com --- src/project.c | 28 1 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/project.c

[Geany-devel] [PATCH 12/19] Use relative paths in the project files

2010-08-04 Thread Jiří Techet
Right now projects cannot be moved to other directories without losing the base directory setting of the project and the list of open files. This makes the project totally unportable to different machines because even if the directory structure under your home is identical, the user name can be

[Geany-devel] [PATCH 14/19] Rewrite tab switching queue

2010-08-04 Thread Jiří Techet
There was one more bug related to the tab switching. When we switch so many times that we return back to the original document (so we actually don't switch at all) then the following switch attempt doesn't switch immediately to the next document. After spending two hours thinking what is wrong,

[Geany-devel] [PATCH 13/19] Remove the set button from the project properties dialog

2010-08-04 Thread Jiří Techet
Unless I miss something the button just adds %d to the corresponding fields, but this is already the default settings so I don't see any point of doing it. --- src/build.c | 12 src/build.h |2 -- src/project.c | 31 --- 3 files changed, 4

[Geany-devel] [PATCH 15/19] Do not insert --include= when the search pattern entry is empty

2010-08-04 Thread Jiří Techet
As a result search in all files instead in no files --- src/search.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/search.c b/src/search.c index 3f7ff9a..08c74d4 100644 --- a/src/search.c +++ b/src/search.c @@ -1329,7 +1329,8 @@ static GString

[Geany-devel] [PATCH 17/19] Make the tab switching dialog a bit more useful

2010-08-04 Thread Jiří Techet
Right now the tab switching dialog shows the full path of the current file. However this dialog is too narrow and in my case usually displays one directory per line. This makes it hard to find the base filename, which is the thing you are most probably looking for. This patch displays only the

Re: [Geany-devel] [PATCH 12/19] Use relative paths in the project files

2010-08-04 Thread Lex Trotman
On 5 August 2010 09:59, Jiří Techet tec...@gmail.com wrote: Right now projects cannot be moved to other directories without losing the base directory setting of the project and the list of open files. This makes the project totally unportable to different machines because even if the

Re: [Geany-devel] Improved syntactic highlighting for Haskell

2010-08-04 Thread Krasimir Angelov
I sent the patch to scintilla. I am planning language support for another language so l am also interested to know how often the changes in scintilla are pulled back. The tag extraction for Haskell is also far from perfect. Should I send patch here or to some other project? Regards, Krasimir