Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Fri, 10 Feb 2012 00:18:30
Commit: 01fea3e7470756b51d1616e9b732a641f500de1b
https://github.com/geany/geany/commit/01fea3e7470756b51d1616e9b732a641f500d…
Log Message:
-----------
Remove possible '/' from display name when building socket filename
MacOS X seems to have slashes in the display name, which prevent the
socket file from being created. So, replace such characters that may
not appear in a filename with an underscore.
Modified Paths:
--------------
src/socket.c
Modified: src/socket.c
8 files changed, 6 insertions(+), 2 deletions(-)
===================================================================
@@ -281,8 +281,12 @@ gint socket_init(gint argc, gchar **argv)
/* these lines are taken from dcopc.c in kdelibs */
if ((p = strrchr(display_name, '.')) > strrchr(display_name, ':') && p != NULL)
*p = '\0';
- while ((p = strchr(display_name, ':')) != NULL)
- *p = '_';
+ /* remove characters that may not be acceptable in a filename */
+ for (p = display_name; *p; p++)
+ {
+ if (*p == ':' || *p == '/')
+ *p = '_';
+ }
if (socket_info.file_name == NULL)
socket_info.file_name = g_strdup_printf("%s%cgeany_socket_%s_%s",
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven(a)btinternet.com>
Committer: Nick Treleaven <nick.treleaven(a)btinternet.com>
Date: Mon, 06 Feb 2012 16:14:42
Commit: 402249f1b814952e80c8df01863450fe1cd41b93
https://github.com/geany/geany/commit/402249f1b814952e80c8df01863450fe1cd41…
Log Message:
-----------
Revert "Don't append file truncation warning if file doesn't exist"
This reverts commit 7cc443e1420b77d041815a464fe5b20bc62412f4.
Showing the truncation message only when the file exists doesn't work
when writing to a network file and the connection drops out (thanks to
Lex).
Modified Paths:
--------------
src/document.c
Modified: src/document.c
3 files changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -1767,8 +1767,7 @@ gboolean document_save_file(GeanyDocument *doc, gboolean force)
{
ui_set_statusbar(TRUE, _("Error saving file (%s)."), errmsg);
- if (!file_prefs.use_safe_file_saving &&
- g_file_test(locale_filename, G_FILE_TEST_IS_REGULAR))
+ if (!file_prefs.use_safe_file_saving)
{
SETPTR(errmsg,
g_strdup_printf(_("%s\n\nThe file on disk may now be truncated!"), errmsg));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Mon, 06 Feb 2012 10:26:50
Commit: 8f453d14cfa375a71b0687c79ed387752d2783d5
https://github.com/geany/geany/commit/8f453d14cfa375a71b0687c79ed387752d278…
Log Message:
-----------
Update of Traditional Chinese translation provided by Matthew Lien.
Modified Paths:
--------------
po/ChangeLog
po/zh_TW.po
Modified: po/ChangeLog
7 files changed, 6 insertions(+), 1 deletions(-)
===================================================================
@@ -1,6 +1,11 @@
+2012-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * zh_TW.po: Update of Traditional Chinese translation provided by Matthew Lien.
+
+
2012-01-26 Frank Lanitz <frlan(a)frank.uvena.de>
- * id.po: Added Indonesian translation, provided by Fajar Wahyu.
+ * id.po: Added Indonesian translation, provided by Fajar Wahyu.
2011-12-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: po/zh_TW.po
1390 files changed, 733 insertions(+), 657 deletions(-)
===================================================================
No diff available, check online
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).