Revision: 699
Author: ntrel
Date: 2006-08-11 14:41:05 -0700 (Fri, 11 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=699&view=rev
Log Message:
-----------
Group search related code
Modified Paths:
--------------
trunk/src/callbacks.c
trunk/src/search.h
Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c 2006-08-11 21:12:49 UTC (rev 698)
+++ trunk/src/callbacks.c 2006-08-11 21:41:05 UTC (rev 699)
@@ -117,7 +117,6 @@
g_free(app->configdir);
g_free(app->datadir);
g_free(app->docdir);
- g_free(search_data.text);
g_free(app->editor_font);
g_free(app->tagbar_font);
g_free(app->msgwin_font);
Modified: trunk/src/search.h
===================================================================
--- trunk/src/search.h 2006-08-11 21:12:49 UTC (rev 698)
+++ trunk/src/search.h 2006-08-11 21:41:05 UTC (rev 699)
@@ -28,7 +28,7 @@
FIF_INVERT_MATCH = 1 << 2
} fif_options;
-// the flags given in the search dialog(stored statically for "find next" and "replace")
+// the flags given in the search dialog for "find next"
typedef struct
{
gchar *text;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 697
Author: eht16
Date: 2006-08-11 11:16:28 -0700 (Fri, 11 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=697&view=rev
Log Message:
-----------
Fixed segfault when try to (un)comment some code and no filetype is set(reported by John Gabriele).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/sci_cb.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-08-11 18:01:02 UTC (rev 696)
+++ trunk/ChangeLog 2006-08-11 18:16:28 UTC (rev 697)
@@ -5,6 +5,8 @@
Fixed possible segfault when replacing tabs by spaces.
* tagmanager/python.c: Fixed wrong classification of local functions
as methods(thanks to Sebastian Koch).
+ * src/sci_cb.c: Fixed segfault when try to (un)comment some code and
+ no filetype is set(reported by John Gabriele).
2006-08-09 Enrico Tröger <enrico.troeger(a)uvena.de>
Modified: trunk/src/sci_cb.c
===================================================================
--- trunk/src/sci_cb.c 2006-08-11 18:01:02 UTC (rev 696)
+++ trunk/src/sci_cb.c 2006-08-11 18:16:28 UTC (rev 697)
@@ -859,7 +859,7 @@
gboolean break_loop = FALSE;
filetype *ft;
- if (idx == -1 || ! doc_list[idx].is_valid) return;
+ if (idx == -1 || ! doc_list[idx].is_valid || doc_list[idx].file_type == NULL) return;
ft = doc_list[idx].file_type;
@@ -1000,7 +1000,7 @@
gboolean break_loop = FALSE;
filetype *ft;
- if (idx == -1 || ! doc_list[idx].is_valid) return;
+ if (idx == -1 || ! doc_list[idx].is_valid || doc_list[idx].file_type == NULL) return;
ft = doc_list[idx].file_type;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.