Revision: 5454
http://geany.svn.sourceforge.net/geany/?rev=5454&view=rev
Author: ntrel
Date: 2010-11-30 18:25:16 +0000 (Tue, 30 Nov 2010)
Log Message:
-----------
Add warning for utils_write_file() that g_file_set_contents() is a better choice because it handles disk exhaustion safely.
Modified Paths:
--------------
trunk/src/utils.c
Modified: trunk/src/utils.c
===================================================================
--- trunk/src/utils.c 2010-11-30 18:18:24 UTC (rev 5453)
+++ trunk/src/utils.c 2010-11-30 18:25:16 UTC (rev 5454)
@@ -217,15 +217,19 @@
/**
- * Writes the given @a text into a file with @a filename.
- * If the file doesn't exist, it will be created.
- * If it already exists, it will be overwritten.
+ * Writes @a text into a file named @a filename.
+ * If the file doesn't exist, it will be created.
+ * If it already exists, it will be overwritten.
*
- * @param filename The filename of the file to write, in locale encoding.
- * @param text The text to write into the file.
+ * @warning You should use @c g_file_set_contents() instead if you don't need
+ * file permissions and other metadata to be preserved, as that always handles
+ * disk exhaustion safely.
*
- * @return 0 if the file was successfully written, otherwise the @c errno of the
- * failed operation is returned.
+ * @param filename The filename of the file to write, in locale encoding.
+ * @param text The text to write into the file.
+ *
+ * @return 0 if the file was successfully written, otherwise the @c errno of the
+ * failed operation is returned.
**/
gint utils_write_file(const gchar *filename, const gchar *text)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5452
http://geany.svn.sourceforge.net/geany/?rev=5452&view=rev
Author: ntrel
Date: 2010-11-30 18:12:15 +0000 (Tue, 30 Nov 2010)
Log Message:
-----------
Add notes for making a new release.
Added Paths:
-----------
trunk/doc/making-a-release
Added: trunk/doc/making-a-release
===================================================================
--- trunk/doc/making-a-release (rev 0)
+++ trunk/doc/making-a-release 2010-11-30 18:12:15 UTC (rev 5452)
@@ -0,0 +1,27 @@
+Update NEWS & release date.
+Add changelog entry with release date.
+
+Export branch into a new directory (i.e. not usual working copy).
+Run 'make distcheck'.
+Delete the created archive and run 'make dist' and 'make dist-bzip2'.
+
+Put the resulting tarballs on uvena.de - upload to home directory
+and after the upload is finished move them into
+/home/www/files.uvena.de/geany/.
+Rename LATEST-IS-... to the new version number in
+/home/www/files.uvena.de/geany/ and /home/www/www.geany.org/files.
+Tag release in SVN, remove the branch if used.
+Add the GPG signatures (enrico?).
+Windows builds (enrico?).
+
+Website: update Releases, Documentation links and add a News item
+Update the manual data and links in the filesystem
+(/home/www/www.geany.org/manual/) and the two links on the Manual
+Wiki page.
+
+Announce on geany, devel, i18n mailing lists (check you're subscribed).
+Put a news item on Sourceforge (add a new release on Freshmeat.net
+and update the information on gnomefiles.org - enrico?).
+
+For non-trunk releases, merge NEWS into trunk and any branch-only
+commits that need to merged.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5451
http://geany.svn.sourceforge.net/geany/?rev=5451&view=rev
Author: ntrel
Date: 2010-11-30 18:00:45 +0000 (Tue, 30 Nov 2010)
Log Message:
-----------
Update for 0.19.2.
Modified Paths:
--------------
branches/Geany-0_19_2/NEWS
Modified: branches/Geany-0_19_2/NEWS
===================================================================
--- branches/Geany-0_19_2/NEWS 2010-11-29 18:01:03 UTC (rev 5450)
+++ branches/Geany-0_19_2/NEWS 2010-11-30 18:00:45 UTC (rev 5451)
@@ -1,3 +1,10 @@
+Geany 0.19.2 (TBA)
+
+ Fixes:
+ * Fix not always reporting an error message when saving a document
+ fails.
+
+
Geany 0.19.1 (August 18, 2010)
Fixes:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5450
http://geany.svn.sourceforge.net/geany/?rev=5450&view=rev
Author: ntrel
Date: 2010-11-29 18:01:03 +0000 (Mon, 29 Nov 2010)
Log Message:
-----------
Add missing entry for 0.19.1 release.
Modified Paths:
--------------
branches/Geany-0_19_2/ChangeLog
Modified: branches/Geany-0_19_2/ChangeLog
===================================================================
--- branches/Geany-0_19_2/ChangeLog 2010-11-29 17:52:38 UTC (rev 5449)
+++ branches/Geany-0_19_2/ChangeLog 2010-11-29 18:01:03 UTC (rev 5450)
@@ -7,6 +7,11 @@
Set errno to 0 before doing disk I/O.
+2010-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * New release: Geany 0.19.1.
+
+
2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/LexMarkdown.cxx:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5447
http://geany.svn.sourceforge.net/geany/?rev=5447&view=rev
Author: ntrel
Date: 2010-11-29 12:48:33 +0000 (Mon, 29 Nov 2010)
Log Message:
-----------
Create branch for 0.19.2 release from 0.19.1 tag.
Added Paths:
-----------
branches/Geany-0_19_2/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5446
http://geany.svn.sourceforge.net/geany/?rev=5446&view=rev
Author: eht16
Date: 2010-11-28 17:41:37 +0000 (Sun, 28 Nov 2010)
Log Message:
-----------
Enable GIO and built-in regex support on Windows when compiling without Waf.
Modified Paths:
--------------
trunk/ChangeLog
trunk/win32-config.h
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2010-11-28 15:37:13 UTC (rev 5445)
+++ trunk/ChangeLog 2010-11-28 17:41:37 UTC (rev 5446)
@@ -1,3 +1,10 @@
+2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * win32-config.h:
+ Enable GIO and built-in regex support on Windows
+ when compiling without Waf.
+
+
2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany_private.rc:
Modified: trunk/win32-config.h
===================================================================
--- trunk/win32-config.h 2010-11-28 15:37:13 UTC (rev 5445)
+++ trunk/win32-config.h 2010-11-28 17:41:37 UTC (rev 5446)
@@ -321,6 +321,9 @@
/* Define if you want to detect a running instance */
#define HAVE_SOCKET 1
-/* Define if GIO should be used, we don't use GIO on Windows */
-/* #define HAVE_GIO 1 */
+/* Define if GIO should be used */
+#define HAVE_GIO 1
+/* Define if include regex library should be used */
+#define USE_INCLUDED_REGEX 1
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.