Revision: 2096
http://geany.svn.sourceforge.net/geany/?rev=2096&view=rev
Author: eht16
Date: 2007-12-09 08:59:21 -0800 (Sun, 09 Dec 2007)
Log Message:
-----------
Fix wrong file filters in file dialogs opened in the preferences dialog.
Fix wrong debug display of filenames which could not be loaded from last session.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/keyfile.c
trunk/src/win32.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-12-09 16:52:59 UTC (rev 2095)
+++ trunk/ChangeLog 2007-12-09 16:59:21 UTC (rev 2096)
@@ -2,6 +2,10 @@
* geany.spec.in: Apply patch from Yura Siamashka and Dominic Hopf
to fix build of rpm package (thanks).
+ * src/win32.c: Fix wrong file filters in file dialogs opened in the
+ preferences dialog.
+ * src/keyfile.c: Fix wrong debug display of filenames which could not
+ be loaded from last session.
2007-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/keyfile.c
===================================================================
--- trunk/src/keyfile.c 2007-12-09 16:52:59 UTC (rev 2095)
+++ trunk/src/keyfile.c 2007-12-09 16:59:21 UTC (rev 2096)
@@ -851,7 +851,7 @@
else
{
failure = TRUE;
- geany_debug("Could not find file '%s'.", tmp[4]);
+ geany_debug("Could not find file '%s'.", tmp[7]);
}
g_free(locale_filename);
Modified: trunk/src/win32.c
===================================================================
--- trunk/src/win32.c 2007-12-09 16:52:59 UTC (rev 2095)
+++ trunk/src/win32.c 2007-12-09 16:59:21 UTC (rev 2096)
@@ -424,7 +424,7 @@
gint retval;
gchar *fname = g_malloc(512);
gchar **field, *filename, *tmp;
- gchar *filters = win32_get_filters(TRUE);
+ gchar *filters = win32_get_filters(FALSE);
fname[0] = '\0';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2090
http://geany.svn.sourceforge.net/geany/?rev=2090&view=rev
Author: eht16
Date: 2007-12-05 05:36:11 -0800 (Wed, 05 Dec 2007)
Log Message:
-----------
Add "b" flag to fopen when saving files to avoid broken line ending characters on Windows (flag was removed by accident, closes #1844405).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-12-04 15:44:45 UTC (rev 2089)
+++ trunk/ChangeLog 2007-12-05 13:36:11 UTC (rev 2090)
@@ -1,3 +1,10 @@
+2007-12-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/document.c: Add "b" flag to fopen when saving files to avoid
+ broken line ending characters on Windows
+ (flag was removed by accident, closes #1844405).
+
+
2007-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2007-12-04 15:44:45 UTC (rev 2089)
+++ trunk/src/document.c 2007-12-05 13:36:11 UTC (rev 2090)
@@ -1271,7 +1271,7 @@
}
locale_filename = utils_get_locale_from_utf8(doc_list[idx].file_name);
- fp = g_fopen(locale_filename, "w");
+ fp = g_fopen(locale_filename, "wb");
g_free(locale_filename);
if (fp == NULL)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.