Revision: 745
Author: eht16
Date: 2006-08-19 07:46:04 -0700 (Sat, 19 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=745&view=rev
Log Message:
-----------
Comment already commented lines, too (re-closes #1521714).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/sci_cb.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-08-19 12:56:30 UTC (rev 744)
+++ trunk/ChangeLog 2006-08-19 14:46:04 UTC (rev 745)
@@ -6,6 +6,8 @@
* src/dialogs.c, src/callbacks.c:
Replaced dialogs_show_make_target() by dialogs_show_input() to have
a general input dialog.
+ * src/sci_cb.c:
+ Comment already commented lines, too (re-closes #1521714).
2006-08-19 Nick Treleaven <nick.treleaven(a)btinternet.com>
Modified: trunk/src/sci_cb.c
===================================================================
--- trunk/src/sci_cb.c 2006-08-19 12:56:30 UTC (rev 744)
+++ trunk/src/sci_cb.c 2006-08-19 14:46:04 UTC (rev 745)
@@ -1102,6 +1102,8 @@
// use single line comment
if (cc == NULL || strlen(cc) == 0)
{
+ /* disabled because of #1521714, it makes sense to double(or triple, ...) comment
+ * if someone think it is not that good we could introduce a config option for it
gboolean do_continue = FALSE;
switch (strlen(co))
{
@@ -1112,7 +1114,7 @@
default: return;
}
if (do_continue) continue;
-
+ */
if (ft->comment_use_indent)
sci_insert_text(doc_list[idx].sci, line_start + x, co);
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 743
Author: ntrel
Date: 2006-08-19 03:00:21 -0700 (Sat, 19 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=743&view=rev
Log Message:
-----------
Fix a segfault at startup if terminal follow path setting is enabled
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/callbacks.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-08-19 09:08:48 UTC (rev 742)
+++ trunk/ChangeLog 2006-08-19 10:00:21 UTC (rev 743)
@@ -1,3 +1,9 @@
+2006-08-19 Nick Treleaven <nick.treleaven(a)btinternet.com>
+
+ * src/callbacks.c: Fix a segfault at startup if terminal follow path
+ setting is enabled.
+
+
2006-08-18 Administrator <Administrator@localhost>
* src/document.c: Use codepage SC_CP_UTF8 because we use always
Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c 2006-08-19 09:08:48 UTC (rev 742)
+++ trunk/src/callbacks.c 2006-08-19 10:00:21 UTC (rev 743)
@@ -781,7 +781,9 @@
}
#ifdef HAVE_VTE
- if (app->have_vte && vc->follow_path && doc_list[idx].file_name != NULL)
+ // at startup, idx is always -1, so terminal startup dir is wrong,
+ // but we could remember the vte dir to fix this.
+ if (idx >= 0 && app->have_vte && vc->follow_path && doc_list[idx].file_name != NULL)
{
gchar *path;
gchar *cmd;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 740
Author: eht16
Date: 2006-08-18 10:44:46 -0700 (Fri, 18 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=740&view=rev
Log Message:
-----------
Use codepage SC_CP_UTF8 because we use always GTK even under Windows.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-08-18 17:26:42 UTC (rev 739)
+++ trunk/ChangeLog 2006-08-18 17:44:46 UTC (rev 740)
@@ -1,3 +1,9 @@
+2006-08-18 Administrator <Administrator@localhost>
+
+ * src/document.c: Use codepage SC_CP_UTF8 because we use always
+ GTK even under Windows.
+
+
2006-08-18 Nick Treleaven <nick.treleaven(a)btinternet.com>
* src/keyfile.c: Fix a small memory leak in configuration_load.
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2006-08-18 17:26:42 UTC (rev 739)
+++ trunk/src/document.c 2006-08-18 17:44:46 UTC (rev 740)
@@ -238,11 +238,7 @@
gtk_widget_show(GTK_WIDGET(sci));
-#ifdef G_OS_WIN32
- sci_set_codepage(sci, 0);
-#else
sci_set_codepage(sci, SC_CP_UTF8);
-#endif
//SSM(sci, SCI_SETWRAPSTARTINDENT, 4, 0);
// disable scintilla provided popup menu
sci_use_popup(sci, FALSE);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 739
Author: ntrel
Date: 2006-08-18 10:26:42 -0700 (Fri, 18 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=739&view=rev
Log Message:
-----------
Remove descriptive buttons entry now we are using dialogs_show_question_full
Modified Paths:
--------------
trunk/TODO
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2006-08-18 17:24:44 UTC (rev 738)
+++ trunk/TODO 2006-08-18 17:26:42 UTC (rev 739)
@@ -11,7 +11,6 @@
o inverting highlighting by selection
o src/sci_cb.c: improve auto completion(include local tags)
o user-definable auto completion structs
- o dialogs to use descriptive buttons and 12px border
o documentation: preferences
o save build includes & arguments
o separate filetype for HTML
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 737
Author: ntrel
Date: 2006-08-18 10:23:40 -0700 (Fri, 18 Aug 2006)
ViewCVS: http://svn.sourceforge.net/geany/?rev=737&view=rev
Log Message:
-----------
Use Reload button for utils_check_disk_status dialog
Modified Paths:
--------------
trunk/src/utils.c
Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c 2006-08-18 17:22:57 UTC (rev 736)
+++ trunk/src/utils.c 2006-08-18 17:23:40 UTC (rev 737)
@@ -980,9 +980,10 @@
{
gchar *basename = g_path_get_basename(doc_list[idx].file_name);
- if (dialogs_show_question(_
- ("The file '%s' on the disk is more recent than\n"
- "the current buffer.\nDo you want to reload it?"), basename))
+ if (dialogs_show_question_full(_("_Reload"), GTK_STOCK_CANCEL,
+ _("Do you want to reload it?"),
+ _("The file '%s' on the disk is more recent than\n"
+ "the current buffer."), basename))
{
document_reload_file(idx, NULL);
doc_list[idx].last_check = t;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.