Revision: 5202
http://geany.svn.sourceforge.net/geany/?rev=5202&view=rev
Author: ntrel
Date: 2010-08-26 12:05:50 +0000 (Thu, 26 Aug 2010)
Log Message:
-----------
Make TODO item clearer: Use intermediate pointers for common subexpressions.
Modified Paths:
--------------
trunk/src/build.c
Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c 2010-08-25 17:00:38 UTC (rev 5201)
+++ trunk/src/build.c 2010-08-26 12:05:50 UTC (rev 5202)
@@ -26,8 +26,7 @@
* Build commands and menu items.
*/
/* TODO: tidy code:
- * De-uglify expressions with too much pointer indirection/array indexing by
- * adding intermediate variables.
+ * Use intermediate pointers for common subexpressions.
* Replace defines with enums.
* Other TODOs in code. */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5195
http://geany.svn.sourceforge.net/geany/?rev=5195&view=rev
Author: ntrel
Date: 2010-08-24 12:17:33 +0000 (Tue, 24 Aug 2010)
Log Message:
-----------
Include all files if the Find in Files pattern field is enabled and
empty.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/search.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-08-24 12:07:28 UTC (rev 5194)
+++ trunk/ChangeLog 2010-08-24 12:17:33 UTC (rev 5195)
@@ -7,6 +7,9 @@
doc/geany.html:
Remove the "Set build working directories" button from the project
properties dialog (patch by Jiří Techet, thanks).
+ * src/search.c:
+ Include all files if the Find in Files pattern field is enabled and
+ empty.
2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c 2010-08-24 12:07:28 UTC (rev 5194)
+++ trunk/src/search.c 2010-08-24 12:17:33 UTC (rev 5195)
@@ -1321,12 +1321,12 @@
g_string_append(gstr, settings.fif_extra_options);
}
}
- if (settings.fif_use_files)
+ g_strstrip(settings.fif_files);
+ if (settings.fif_use_files && *settings.fif_files)
{
GString *tmp;
/* put --include= before each pattern */
- g_strstrip(settings.fif_files);
tmp = g_string_new(settings.fif_files);
do {} while (utils_string_replace_all(tmp, " ", " "));
g_string_prepend_c(tmp, ' ');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.