Commit Graph

3438 Commits

Author SHA1 Message Date
Matthias Clasen
785bed2e18 Update README files to refer to git
Update various README files to refer to git instead of svn.
Add a README.commits that is pretty much a copy of the same file
in GTK+. Also discontinue ChangeLog files.
2009-03-31 19:39:16 -04:00
Matthias Clasen
a6ebda3d69 Copy a va_list when using it multiple times. Reported by Wim Lewis.
* glib/gmessages.c (g_logv): Copy a va_list when using it
        multiple times. Reported by Wim Lewis.


svn path=/trunk/; revision=8021
2009-03-29 19:08:57 +00:00
Ryan Lortie
8df23d2283 trivial spelling/whitespace fixes
svn path=/trunk/; revision=8011
2009-03-17 23:03:33 +00:00
Alexander Larsson
6cff88ba18 Bug 575555 – Use fsync() when replacing files to avoid data loss on
2009-03-16  Alexander Larsson  <alexl@redhat.com>

	Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

        * configure.in:
	Look for fsync().

        * glib/gfileutils.c:
        (write_to_temp_file):
	fsync temp file if destination file exists

2009-03-16  Alexander Larsson  <alexl@redhat.com>

	Bug 575555 – Use fsync() when replacing files to avoid data loss on crash

        * glocalfileoutputstream.c:
        (g_local_file_output_stream_close):
        (_g_local_file_output_stream_replace):
	fsync temp file before closing if replacing target file

	

svn path=/trunk/; revision=7991
2009-03-16 16:03:13 +00:00
Matthias Clasen
621ef866b1 Bump version
svn path=/trunk/; revision=7978
2009-03-13 05:45:53 +00:00
Matthias Clasen
5a8a224ff0 2.20.0
svn path=/trunk/; revision=7976
2009-03-13 05:44:11 +00:00
Matthias Clasen
3c34e43575 Updates
svn path=/trunk/; revision=7975
2009-03-13 04:09:21 +00:00
Matthias Clasen
2ad1af5b1e Avoid integer overflows in the base64 functions. Fixes CVE-2008-4316
2009-03-12  Matthias Clasen  <mclasen@redhat.com>

        * glib/gbase64.c: Avoid integer overflows in the base64
        functions. Fixes CVE-2008-4316


svn path=/trunk/; revision=7973
2009-03-12 13:30:55 +00:00
Stefan Walter
a4d3d1f3c8 Document and guarantee hex digests will be returned in lower case.
See bug #574019

svn path=/trunk/; revision=7971
2009-03-11 15:47:36 +00:00
Matthias Clasen
7707cf78b1 Bump version
svn path=/trunk/; revision=7944
2009-03-02 06:49:25 +00:00
Matthias Clasen
a902f5257c 2.19.10
svn path=/trunk/; revision=7942
2009-03-02 06:36:08 +00:00
Matthias Clasen
d1e4cc4ec0 Bump version
svn path=/trunk/; revision=7941
2009-03-02 05:52:09 +00:00
Matthias Clasen
3f07ef2119 2.19.9
svn path=/trunk/; revision=7939
2009-03-02 05:49:44 +00:00
Matthias Clasen
e2b962933b Updates
svn path=/trunk/; revision=7938
2009-03-02 05:07:37 +00:00
Matthias Clasen
bd02a9f778 Fix docs
svn path=/trunk/; revision=7933
2009-03-01 17:00:21 +00:00
Matthias Clasen
84fdf0d00e Fix distcheck
svn path=/trunk/; revision=7932
2009-03-01 16:46:45 +00:00
Tor Lillqvist
56f54c0ebc Bug 167569 - g_string_append_printf crashes on win32 when used with a NULL
2009-02-27  Tor Lillqvist  <tml@novell.com>

	Bug 167569 - g_string_append_printf crashes on win32 when used
	with a NULL argument

	* glib/gnulib/vasnprintf.c (vasnprintf): Add workaround for buggy
	programs. Patch by Owen.


svn path=/trunk/; revision=7917
2009-02-27 07:46:32 +00:00
Paolo Borelli
e1b7a25342 sanity check the input paramter.
2009-02-23  Paolo Borelli  <pborelli@katamail.com>

	* glib/gutf8.c (_g_utf8_make_valid):
	sanity check the input paramter. 

svn path=/trunk/; revision=7902
2009-02-23 14:38:20 +00:00
Tor Lillqvist
739a81e08a Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion of
2009-02-23  Tor Lillqvist  <tml@novell.com>

	Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
	of function pointer to object pointer

	* glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
	the type of the function's parameter to be explicitly a function
	pointer.

	* glib/gutils.h (_g_win32_get_system_data_dirs): Modify
	declaration and the only caller, the inline
	_g_win32_get_system_data_dirs(), accordingly. Add comments
	pointing out these are internal GLib functions.


svn path=/trunk/; revision=7899
2009-02-23 09:52:48 +00:00
Matthias Clasen
f548330275 Fix "it's" vs "its" confusion throughout the source. Patch by Will
* Fix "it's" vs "its" confusion throughout the source. Patch
        by Will Thompson.


svn path=/trunk/; revision=7897
2009-02-23 04:30:06 +00:00
Matthias Clasen
8ad668c7f0 Improve docs
svn path=/trunk/; revision=7896
2009-02-23 04:23:14 +00:00
Matthias Clasen
45fdc135b2 Add a necessary cast back. Pointed out by Kazuki Iwamoto.
* glib/gthread.c (g_once_init_leave): Add a necessary cast back.
        Pointed out by Kazuki Iwamoto.


svn path=/trunk/; revision=7895
2009-02-23 04:07:58 +00:00
Matthias Clasen
6438f1689c Bump version
svn path=/trunk/; revision=7878
2009-02-17 18:48:26 +00:00
Matthias Clasen
4611dadadd 2.19.8
svn path=/trunk/; revision=7876
2009-02-17 18:36:36 +00:00
Matthias Clasen
c8e37b63e7 Fix strict aliasing warnings and viiolations to make GLib and
GLib users buildable with gcc 4.4. Patch by Jakub Jelinek.

        * glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments,
        fix macro versions to only operate on objects of the same size.

        * glib/gdataset.c:
        * glib/gthread.[hc]:
        * glib/gdatasetprivate.h: Remove unnecessary casts in
        g_atomic_pointer_get calls.


svn path=/trunk/; revision=7875
2009-02-17 16:14:39 +00:00
Matthias Clasen
cf3c12cb6d Bump version
svn path=/trunk/; revision=7870
2009-02-17 02:51:46 +00:00
Matthias Clasen
7b106d2066 2.19.7
svn path=/trunk/; revision=7868
2009-02-17 02:49:52 +00:00
Matthias Clasen
23aad87a54 Updates
svn path=/trunk/; revision=7867
2009-02-17 01:35:09 +00:00
Mathias Hasselmann
cf01757ba0 Add note about g_utf8_offset_to_pointer() not checking string
boundaries.

* glib/gutf8.c (g_utf8_offset_to_pointer()): See summary.

svn path=/trunk/; revision=7861
2009-02-13 14:20:17 +00:00
Matthias Clasen
82e1d3e753 Bug 523742 – Use noinst for non-installable libraries
* tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled
        libraries.Patch by Björn Lindqvist


svn path=/trunk/; revision=7860
2009-02-12 03:55:38 +00:00
Murray Cumming
a431c976af Correct the grammar in some property documentation.
2009-02-06  Murray Cumming  <murrayc@murrayc.com>

* gio/gfilterinputstream.c:
* gio/gfilteroutputstream.c: Correct the grammar in some property 
documentation.
* gio/gdatainputstream.c:
* glib/gregex.c: Correct the spelling of 
occurrence in documentation.

svn path=/trunk/; revision=7856
2009-02-06 14:08:19 +00:00
Matthias Clasen
e194c48373 bump version
svn path=/trunk/; revision=7847
2009-02-02 21:42:11 +00:00
Matthias Clasen
afa157a73d 2.19.6
svn path=/trunk/; revision=7845
2009-02-02 20:09:08 +00:00
Matthias Clasen
a9243ac8f6 Bump version
svn path=/trunk/; revision=7844
2009-02-02 19:19:53 +00:00
Matthias Clasen
66107b3d4d Updates
svn path=/trunk/; revision=7843
2009-02-02 15:40:16 +00:00
Matthias Clasen
e4f6ecbda6 i * glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
Pointed out by Matthias Drochner.


svn path=/trunk/; revision=7840
2009-01-31 19:19:21 +00:00
Christian Persch
17b9b43a7a Add G_GOFFSET_FORMAT and friends. Bug #563141.
* configure.in:
	* docs/reference/glib/glib-sections.txt:
	* docs/reference/macros_misc.sgml:
	* docs/reference/glib/tmpl/types.sgml: Add
	G_GOFFSET_FORMAT and friends. Bug #563141.

svn path=/trunk/; revision=7834
2009-01-28 14:09:18 +00:00
Stefan Kost
0b3588bc12 Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix on
* docs/reference/glib/Makefile.am:
	  Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix
	  on problem with the doc build.


svn path=/trunk/; revision=7829
2009-01-23 15:10:31 +00:00
Tor Lillqvist
98d2cdd9e6 Drop the code in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0).
2009-01-21  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code
	in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop
	unused variables.


svn path=/trunk/; revision=7826
2009-01-21 16:18:39 +00:00
Matthias Clasen
a5156974cc fix a typo
svn path=/trunk/; revision=7823
2009-01-20 17:05:26 +00:00
Matthias Clasen
af6a048743 2.19.5
svn path=/trunk/; revision=7820
2009-01-19 07:46:43 +00:00
Matthias Clasen
b71046b70f Fix a typo
svn path=/trunk/; revision=7818
2009-01-19 07:01:57 +00:00
Matthias Clasen
8e3622114b Updates
svn path=/trunk/; revision=7816
2009-01-18 07:33:37 +00:00
Matthias Clasen
a5fd60a8ac Define an ENABLE_REGEX macro
* configure.in: Define an ENABLE_REGEX macro

        * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
        is not defined.


svn path=/trunk/; revision=7815
2009-01-18 06:53:44 +00:00
Matthias Clasen
a55229a520 Quell some compiler wanrings
svn path=/trunk/; revision=7814
2009-01-18 06:44:04 +00:00
Matthias Clasen
d6f23279e7 Update PCRE to 7.8
svn path=/trunk/; revision=7813
2009-01-18 06:32:03 +00:00
Matthias Clasen
1da8112081 If !ENABLE_NLS, make textomain() macro return "messages" in case of a NULL
* glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
        return "messages" in case of a NULL argument. Patch by
        Peter Kjellerstedt.


svn path=/trunk/; revision=7812
2009-01-18 01:08:17 +00:00
Matthias Clasen
ed6c7f0e32 Use offsetof instead of __builtin_offsetof, for icc's sake. Proposed by
* glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of
        __builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.



svn path=/trunk/; revision=7811
2009-01-18 01:03:00 +00:00
Matthias Clasen
c8dd07333a Bug 564728 Add function to decode base64 encoded data in place
2009-01-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 564728 Add function to decode base64 encoded data in place

        * glib/glib.symbols:
        * glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
        API to decode in place, overwriting the input string. Patch by
        Sebastian Dröge.


svn path=/trunk/; revision=7807
2009-01-13 19:59:32 +00:00
Matthias Clasen
cc1dc5ce20 Improve docs
svn path=/trunk/; revision=7805
2009-01-13 02:24:46 +00:00