Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Code Log


Commit Date  
[1ce4b1] by Colomban Wendling Colomban Wendling

Fix a reference to a file in HACKING

2012-07-27 22:32:26 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:32:26 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:32:26 Tree
[a09123] by Colomban Wendling Colomban Wendling

Fix searching out of document range

If a search matched the very last character of the document, next
search attempt started out of the document bounds. This even lead
to an infinite loop due to an improper sanity check.

By the way, this fixes matching of contiguous results, as the next
search used to improperly skip one character after the result.
Although this looks like a huge issue, it was actually visible almost
only on the match count since the whole matching line was printed.

2012-07-27 22:32:26 Tree
[f90bdc] by Nick Treleaven Nick Treleaven

Only set Find in Files directory once per-document

Use the current document's directory unless the directory field has
already been edited and the current document has not changed.
Otherwise, prepend the current document's directory to the drop-down
history in case it is wanted.

This is useful to avoid losing the edited directory when it is less
likely the user wants to use the current document's directory.

2012-07-26 15:13:34 Tree
[98452e] by Nick Treleaven Nick Treleaven

Update manual for search pref changes; add some links

2012-07-26 14:34:45 Tree
[924882] by Nick Treleaven Nick Treleaven

Fix installing data files with MSYS (Windows makefiles)

2012-07-26 12:27:58 Tree
[14daf9] by Nick Treleaven Nick Treleaven

indent switch, add braces

2012-07-26 11:58:55 Tree
[5fff1e] by Matthew Brush Matthew Brush

Add NULL guard for reloading "untitled" documents

Previously it was using a GLIB assertion which shouldn't be used
to detect a normal condition and so it caused a warning on the
console output when clicking "Reload" with an "untitled" document.

2012-07-25 00:56:29 Tree
[d11f9a] by Colomban Wendling Colomban Wendling

Rely on GModule for adding or not the `--export-dynamic` linker flag

We explicitly use GModule's .pc since 7b2f0fe, and it provides the
appropriate flag: we don't need to add it ourselves anymore. Moreover,
since this flag is not needed (nor available) on all platforms (e.g.
Windows or MacOS X), it is safer to let GModule deal with adding it
anyway.

2012-07-17 21:09:00 Tree
[f0f3fc] by Nick Treleaven Nick Treleaven

Allow '!' char in D parameter lists

2012-07-09 12:31:05 Tree
[8d2645] by Nick Treleaven Nick Treleaven

Add status bar warning if Windows spawn timed out

2012-07-09 12:31:04 Tree
[deb5f3] by Colomban Wendling Colomban Wendling

Bump API version to reflect Scintilla's SCI_{GET,SET}USEPALETTE removal

Scintilla deprecated SCI_GETUSEPALETTE and SCI_SETUSEPALETTE messages,
and since we don't build with deprecated API support they aren't
available anymore.

2012-07-08 23:07:52 Tree
[5af4da] by Nick Treleaven Nick Treleaven

Fix showing project name in sidebar documents

This was broken if the base path ended with a directory separator.

2012-07-06 12:17:54 Tree
[74959b] by Nick Treleaven Nick Treleaven

Support MSYS=1 to enable building with MSYS; use $/ instead of DIRSEP

Defining MSYS=1 is cleaner than requiring users to define CP, RM, etc.

2012-07-04 16:13:14 Tree
[65fe86] by Nick Treleaven Nick Treleaven

Use PREFIX=C:/libs and minor cleanup (Windows makefiles)

This PREFIX works on both cmd.exe and MSYS, whereas backslash confuses
MSYS.
Use copy /y in doc/makefile.win32.
Remove unused targets binclean, exec.

2012-07-04 15:47:38 Tree
[bfa2db] by Nick Treleaven Nick Treleaven

Merge branch 'tm/tree-refactoring'

This moves CTags files into their own subdirectory and moves the
tagmanager source and header files into their own subdirectory.

The bulk of the work was done by Colomban.

2012-07-04 11:40:41 Tree
[c72dce] by Nick Treleaven Nick Treleaven

Merge remote-tracking branch 'origin/master' into tm/tree-refactoring

Conflicts:
makefile.win32
src/makefile.win32

2012-07-04 11:15:53 Tree
[40ab39] by Colomban Wendling Colomban Wendling

Map all filetype's character styles to 'character' named style

2012-07-01 13:20:21 Tree
[409c1a] by Colomban Wendling Colomban Wendling

Make argument checking in Scintilla update script more strict

2012-06-30 20:00:42 Tree
[f0b245] by Colomban Wendling Colomban Wendling

Fix a typo in the Scintilla update script (oops)

2012-06-30 19:58:09 Tree
[a6c0dc] by Colomban Wendling Colomban Wendling

Merge branch 'scintilla-update'

2012-06-30 18:13:56 Tree
[098f12] by Colomban Wendling Colomban Wendling

Drop now unused "scalar" named style

2012-06-29 23:54:08 Tree
[3d2302] by Colomban Wendling Colomban Wendling

Fix a few Shell style mappings

2012-06-29 23:54:08 Tree
[ad0297] by Colomban Wendling Colomban Wendling

Fix a few Perl style mappings

2012-06-29 23:54:08 Tree
Older >