Revision: 4907
http://geany.svn.sourceforge.net/geany/?rev=4907&view=rev
Author: eht16
Date: 2010-05-14 14:22:02 +0000 (Fri, 14 May 2010)
Log Message:
-----------
Set common default "fold.comment" to 0 to disable it. This can be overridden if desired.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/highlighting.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-05-14 14:19:11 UTC (rev 4906)
+++ trunk/ChangeLog 2010-05-14 14:22:02 UTC (rev 4907)
@@ -1,6 +1,6 @@
2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
- * src/classbuilder.c:
+ * plugins/classbuilder.c:
Don't make the 'Create Class' menu item document-sensitive
(patch by Colomban Wendling, thanks).
Add namespace support for GTK+ classes.
@@ -8,6 +8,9 @@
Add typedef of the private structure in the header file instead
of declaring it
(all the above from a patch by Colomban Wendling, thanks).
+ * src/highlighting.c:
+ Set common default "fold.comment" to 0 to disable it. This can
+ be overridden if desired.
2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/highlighting.c
===================================================================
--- trunk/src/highlighting.c 2010-05-14 14:19:11 UTC (rev 4906)
+++ trunk/src/highlighting.c 2010-05-14 14:22:02 UTC (rev 4907)
@@ -781,7 +781,7 @@
sci_set_property(sci, "fold", "1");
sci_set_property(sci, "fold.compact", "0");
- sci_set_property(sci, "fold.comment", "1");
+ sci_set_property(sci, "fold.comment", "0");
sci_set_property(sci, "fold.preprocessor", "1");
sci_set_property(sci, "fold.at.else", "1");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4901
http://geany.svn.sourceforge.net/geany/?rev=4901&view=rev
Author: ntrel
Date: 2010-05-11 12:10:31 +0000 (Tue, 11 May 2010)
Log Message:
-----------
Only replace template filename matching start of word on saving.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
trunk/src/search.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-05-11 11:57:52 UTC (rev 4900)
+++ trunk/ChangeLog 2010-05-11 12:10:31 UTC (rev 4901)
@@ -4,6 +4,8 @@
Fix search_find_text not returning -1 when match is out of range.
This fixes invalid memory reads and wrong template filename
wildcard replacement.
+ * src/search.c, src/document.c:
+ Only replace template filename matching start of word on saving.
2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2010-05-11 11:57:52 UTC (rev 4900)
+++ trunk/src/document.c 2010-05-11 12:10:31 UTC (rev 4901)
@@ -93,7 +93,7 @@
*
* Never assume that the order of document pointers is the same as the order of notebook tabs.
* Notebook tabs can be reordered. Use @c document_get_from_page(). */
-GPtrArray *documents_array;
+GPtrArray *documents_array = NULL;
/* an undo action, also used for redo actions */
@@ -1504,7 +1504,7 @@
g_return_if_fail(doc->file_type != NULL);
if (doc->file_type->extension)
- filebase = g_strconcat(GEANY_STRING_UNTITLED, "\\.\\w+", NULL);
+ filebase = g_strconcat("\\<", GEANY_STRING_UNTITLED, "\\.\\w+", NULL);
else
filebase = g_strdup(GEANY_STRING_UNTITLED);
Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c 2010-05-11 11:57:52 UTC (rev 4900)
+++ trunk/src/search.c 2010-05-11 12:10:31 UTC (rev 4901)
@@ -1647,6 +1647,10 @@
if (~sflags & SCFIND_MATCHCASE)
rflags |= REG_ICASE;
+ if (sflags & (SCFIND_WHOLEWORD | SCFIND_WORDSTART))
+ {
+ g_warning("Unsupported regex flags found!");
+ }
err = regcomp(regex, str, rflags);
if (err != 0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4900
http://geany.svn.sourceforge.net/geany/?rev=4900&view=rev
Author: ntrel
Date: 2010-05-11 11:57:52 +0000 (Tue, 11 May 2010)
Log Message:
-----------
Fix 'null' listed in both primary and secondary keyword lists.
Modified Paths:
--------------
trunk/data/filetypes.java
Modified: trunk/data/filetypes.java
===================================================================
--- trunk/data/filetypes.java 2010-05-11 11:56:55 UTC (rev 4899)
+++ trunk/data/filetypes.java 2010-05-11 11:57:52 UTC (rev 4900)
@@ -26,7 +26,7 @@
[keywords]
primary=abstract assert break case catch class const continue default do else extends final finally for future generic goto if implements import inner instanceof interface native new outer package private protected public rest return static super switch synchronized this throw throws transient try var volatile while true false null
-secondary=boolean byte char double float int long null short void
+secondary=boolean byte char double float int long short void
# documentation keywords for javadoc
doccomment=author deprecated exception param return see serial serialData serialField since throws todo version
typedefs=
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4899
http://geany.svn.sourceforge.net/geany/?rev=4899&view=rev
Author: ntrel
Date: 2010-05-11 11:56:55 +0000 (Tue, 11 May 2010)
Log Message:
-----------
Update and add item:
better file template {filename} wildcard replacement +{BASENAME}
Modified Paths:
--------------
trunk/TODO
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2010-05-11 11:49:09 UTC (rev 4898)
+++ trunk/TODO 2010-05-11 11:56:55 UTC (rev 4899)
@@ -7,14 +7,12 @@
Next version or later:
+ o better file template {filename} wildcard replacement +{BASENAME}
o documentation: list and explain filetype modes
o common default highlighting styles configurable for all
programming languages (done for C-like filetypes using
filetypes.common named styles)
- o configurable filetype and project make commands (e.g. using
- bud for D) - see the build-system SVN branch
o (better custom filetype support)
- o (support for adding plugin filetypes - SCI_LOADLEXERLIBRARY?)
o (custom template insertion - so user can add licenses, etc)
o (selectable menu of arguments to use for Make, from Make Custom)
o (DBUS)
@@ -28,8 +26,6 @@
o stable plugin ABI for the 1.0 series? (Split up geany_data, prefs,
GeanyKeyCommand enum into groups)
o review documentation
- o review any hidden prefs/compile time constants that could be in the
- Prefs dialog, e.g. invert_all syntax highlighting pref
Wishlist
@@ -40,5 +36,6 @@
function_name(arguments) syntax - see python.c:parseArglist())
o (better tags support for popular languages? - this is a moving
target...)
+ o (support for adding plugin filetypes - SCI_LOADLEXERLIBRARY?)
o Some kind of support for CTags tags files
o Python plugin interface (different concept from Lua scripting)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.