Code Log


Commit Date  
[d80bc7] by Colomban Wendling Colomban Wendling

Update FSF address

Closes #3557875.

2012-08-24 17:25:57 Tree
[2b7715] by Frank Lanitz Frank Lanitz

Update of Russian translation provided by Igor Burmistrov

2012-08-20 07:46:07 Tree
[e20a57] by oco oco , pushed by Matthew Brush Matthew Brush

Use all supported keyword sets for Scintilla Forth lexer

Submitted on geany-devel mailing list

2012-08-17 01:35:27 Tree
[7b65d7] by Matthew Brush Matthew Brush

Fix comment style and wording from last commit

Don't use C99/C++ style comments and elaborate a bit on the purpose
of the call.

2012-08-17 00:46:18 Tree
[e1a1c5] by Yosef Or Yosef Or , pushed by Matthew Brush Matthew Brush

Keep code direction LTR

2012-08-12 20:28:24 Tree
[d36db7] by Matthew Brush Matthew Brush

ClassBuilder: Defy GTK+ conventions and instead generate valid C code

2012-08-11 04:05:41 Tree
[7193a1] by Matthew Brush Matthew Brush

Minor style changes from last commit

2012-08-11 01:19:54 Tree
[a17e37] by Alexander Eberspächer Alexander Eberspächer

Test against the lexer instead of the filetype when computing
indentation. This fixes Cython indentation.

2012-08-10 09:03:42 Tree
[9a63e0] by Matthew Brush Matthew Brush

Change plugin manager's OK button response to GTK_RESPONSE_OK

Used to be GTK_RESPONSE_CANCEL for some reason.

2012-08-09 23:49:45 Tree
[bc5b68] by Matthew Brush Matthew Brush

Remove indirection from callback handler

2012-08-09 21:09:27 Tree
[e62bec] by Matthew Brush Matthew Brush

Use `g_build_filename()` instead of `g_strconcat()` for paths

2012-08-10 01:15:47 Tree
[c2c6a7] by Colomban Wendling Colomban Wendling

Open files with leading or trailing whitespaces through the socket

2012-08-08 13:33:45 Tree
[d152c5] by Colomban Wendling Colomban Wendling

Properly indent even if the indenting character isn't the last one

For all languages, this change allows comments at the end of the
checked line, e.g.:

if 42: # magic number
print("I'm indented!")

For languages with braces, it also properly indent if there is code
on the same line as the opening brace, e.g.:

if (42) { printf("some code here...");
printf("...but I'm properly indented");
} else { /* comment! */
printf("normal block is fine too, of course");
}

Although this is uncommon (and quite ugly) it's valid and should be
handled properly.

2012-08-07 15:50:17 Tree
[4c2d89] by Colomban Wendling Colomban Wendling

Fix a reference to a function in the documentation

2012-08-06 14:12:31 Tree
[63249c] by Matthew Brush Matthew Brush

Dedent switch block from last commit, pure noise

2012-08-04 01:49:04 Tree
[e76a35] by Matthew Brush Matthew Brush

Minor tweak to D "!" template parameter list parsing code

Note:
Indentation left as is so that the diff is readable, next commit contains
the indentation fix.

2012-08-04 01:41:15 Tree
[89b7e0] by Colomban Wendling Colomban Wendling

Fix invalid use of strcpy() on overlapping memory

strcpy()'s behavior on overlapping memory is undefined, so replace such
uses with memmove().

Based on CTags r783: https://ctags.svn.sourceforge.net/svnroot/ctags@783

2012-07-30 22:33:53 Tree
[fd40e4] by Colomban Wendling Colomban Wendling

Mark a few things as static

Based on CTags r779: https://ctags.svn.sourceforge.net/svnroot/ctags@779

2012-07-30 22:32:53 Tree
[3a460a] by Colomban Wendling Colomban Wendling

Remove and unused structure member

Based on CTags r769: https://ctags.svn.sourceforge.net/svnroot/ctags@769

2012-07-30 22:31:43 Tree
[13e5c0] by Colomban Wendling Colomban Wendling

Fix Haskell parsing when a comment is the first thing inside a type

Closes #3552129.

2012-07-30 18:08:05 Tree
[cb54cc] by Colomban Wendling Colomban Wendling

Merge branch 'scintilla-update'

2012-07-30 15:06:00 Tree
[5110fa] by Colomban Wendling Colomban Wendling

Fix search and replacement of empty matches (again)

f4eb89cd7d79738a9c6c45e29abdd9d15d22e4fd was partially wrong and
removed legitimate re-matches when two different matches ends at the
same position. Particularly, the replacement changes are reverted.

Interestingly, Perl and Python does not agree on how to do such
replacements. Python does what I did in the above-cited commit, e.g.
doesn't replace twice if the match end overlaps, but Perl does.
Perl looks more legitimate here since both Python and Perl does find
the overlapping matches when performing a search, so Python is the odd
guy here doing it differently on replace than it does upon search.

For example, replacing using the pattern "a?(?=b)" and the replacement
string "_":

Python: ababcdb -> _b_bcd_b
Perl: ababcdb -> __b__bcd_b

But finding using the same pattern on the same input gives the same
results on both:

Python: ababcdb -> ['a', '', 'a', '', '']
Perl: ababcdb -> ['a', '', 'a', '', '']

Anyway, GLib and us claim to support "Perl-compatible regular
expressions", so we gotta follow Perl, especially in such doubtful
situations.

2012-07-28 17:23:37 Tree
[1ce4b1] by Colomban Wendling Colomban Wendling

Fix a reference to a file in HACKING

2012-07-27 22:31:56 Tree
[95d767] by Colomban Wendling Colomban Wendling

Document sci_get_lexer()

This function is part of the plugin API but missed its documentation,
leading to it not appearing in the generated API documentation.

2012-07-27 22:29:27 Tree
[f4eb89] by Colomban Wendling Colomban Wendling

Fix search and replacement of empty matches

Regular expressions might match empty ranges, which weren't handled
properly, but generally simply omitted.

For example, the regular expression "^$" (empty line) never matched
because we assumed empty results were not interesting, and actually
needed more care in the code. Alike, an expression matching only on
its lookahead part, like "a?(?=b)" against "b", would stop further
search, although it could even match a non-empty range if "ab" is
present later in the input. This last kind of expressions also lead
to double-replacement because they first matched "ab" and then "b"
alone when re-matching after the "a" replacement.

This commit fixes:
* searching when the matched range is empty;
* step-by-step search when matching an empty range;
* double replacement when the pattern re-matches an empty range
straight after a replacement;
* replacement to and empty string when the matching an empty range.

A know issue though is the step-by-step replacement that won't replace
an empty match but rather find the next match.

2012-07-27 22:15:24 Tree
Older >

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks