Re: [Geany-devel] Git Switch (again)

2011-05-02 Thread Thomas Martitz
Am 02.05.2011 03:33, schrieb Matthew Brush: [1] https://github.com/blog/626-announcing-svn-support [2] https://github.com/blog/644-subversion-write-support Ah, that was what I was asking for in my other mail. However, it seems not very ideal for SVN users. Best regards.

[Geany-devel] Fix crash and memory leak in treeviewer.c.

2011-05-02 Thread Thomas Martitz
In path_is_in_dir(), if it's about to return NULL (if the function parameters have no path components in common) it tried to free() a string literal, which causes a crash. In the same function, there was a memory leak, because diffed_path was reassigned without being free()'d before. Fix both

Re: [Geany-devel] Fix crash and memory leak in treeviewer.c.

2011-05-02 Thread Thomas Martitz
Here's the patch. From 6376d5c6c7d1ea1832bd7f427dc03e0bb5103f50 Mon Sep 17 00:00:00 2001 From: Thomas Martitz thomas.mart...@student.htw-berlin.de Date: Mon, 2 May 2011 17:33:40 +0200 Subject: [PATCH] Fix crash and memory leak in treeviewer.c. In path_is_in_dir(), if it's about to return NULL

Re: [Geany-devel] GProject - missing Geany patches

2011-05-02 Thread Colomban Wendling
Le 02/05/2011 00:03, Jiří Techet a écrit : I'll need one more thing - to bump the plugin API version number. Even though the API hasn't changed, people shouldn't use my plugin with previous versions of geany (it wouldn't work because they couldn't specify the patterns). A bit ugly in the

[Geany-devel] save filetypes now

2011-05-02 Thread Dimitar Zhekov
Hi, There were lots of filetype patches recently, but any changes in the global filetype commands (via Build - Set Build Commands) are still buffered and saved on Geany quit. This is out of sync with the other settings, inconvinient, and makes the code a bit more complex. Here is a patch that

Re: [Geany-devel] Git Switch (again)

2011-05-02 Thread Jiří Techet
On Mon, May 2, 2011 at 16:33, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 02.05.2011 00:18, schrieb Jiří Techet: Yes, I would also prefer if there was a proper and complete git switch (it would greatly save maintainer's work IMO) but I haven't seen much enthusiasm from the

Re: [Geany-devel] Git Switch (again)

2011-05-02 Thread Matthew Brush
On 05/02/11 15:43, Jiří Techet wrote: So direct question: Enrico, Nick, what's your opinion on the git switch? As Matthew said, it seems that it's possible to access a github repository both via svn and git so both the current workflow and git-based workflow should be possible. Of course I'll

[Geany-devel] SVN Log Stats

2011-05-02 Thread Matthew Brush
Hi, I was curious about the statistics for the Geany project so I hacked together some Python code to peel out some values from the SVN log. If anyone cares, the following are some of what I found: Total commits: eht16: 2466 ntrel: 2182 frlan: 413 colombanw: 87 kretek: 74

[Geany-devel] [RFC] Plugin Template

2011-05-02 Thread Matthew Brush
Hi, I was thinking it would be useful to have a template directory with all the boiler-plate for a Geany plugin under version control to get people started quicker writing a new plugin that could become part of the Geany Plugins project easier. I saw something similar[1] in the GStreamer