Commit Graph

2948 Commits

Author SHA1 Message Date
Johan Dahlin
b1fd99b62a Remove oc since oc.po is gone.
2008-01-30  Johan Dahlin  <johan@gnome.org>

        * configure.in: Remove oc since oc.po is gone.


svn path=/trunk/; revision=6430
2008-01-30 22:57:45 +00:00
Wouter Bolsterlee
ca25b31ee3 Fixed gtk-doc warnings by updating the documentation of various functions.
2008-01-30  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* glib/gchecksum.c:
	* glib/gtestutils.c:
	* glib/gutils.c:

	Fixed gtk-doc warnings by updating the documentation of
	various functions.

svn path=/trunk/; revision=6429
2008-01-30 20:52:13 +00:00
Christian Persch
9ac7dbc9b4 G_GNUC_[PRETTY_]FUNCTION are deprecated since 2.16, not 2.14.
2008-01-29  Christian Persch  <chpe@gnome.org>

	* docs/reference/glib/tmpl/macros_misc.sgml: G_GNUC_[PRETTY_]FUNCTION
	are deprecated since 2.16, not 2.14.

svn path=/trunk/; revision=6419
2008-01-29 18:04:23 +00:00
14:58:31 Tim Janik
1fcaf2fe8d changed size argument type from gulong to gsize as discussed on
2008-01-29 14:58:31  Tim Janik  <timj@imendio.com>

        * glib/gmem.[hc]: changed size argument type from gulong to gsize as
        discussed on gtk-devel-list:
          http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html
        this should be ABI compatible on all platforms except win64 for which
        no ABI binding port exists yet.



svn path=/trunk/; revision=6413
2008-01-29 14:10:43 +00:00
Sebastian Wilhelmi
fa7351324a Grab thread_counter_pools LOCK when increasing leftover_task_counter.
2008-01-29  Sebastian Wilhelmi  <wilhelmi@google.com>

	* tests/threadpool-test.c (test_thread_pools): Grab
	thread_counter_pools LOCK when increasing
	leftover_task_counter. Fixes race in test. (#512624, Simon Murray)

svn path=/trunk/; revision=6406
2008-01-29 10:07:07 +00:00
Matthias Clasen
9646d971ac Bump version
svn path=/trunk/; revision=6404
2008-01-29 00:03:29 +00:00
Matthias Clasen
fb5ddf6ecf 2.15.4
svn path=/trunk/; revision=6402
2008-01-29 00:00:31 +00:00
Matthias Clasen
17ca7b0310 Updates
svn path=/trunk/; revision=6395
2008-01-28 16:23:29 +00:00
Matthias Clasen
c4bad41855 Check for gmtime_r. Use gmtime_r when available. (#511807, Sebastian
2008-01-28  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Check for gmtime_r.
        * glib/gtimer.c: Use gmtime_r when available.  (#511807,
        Sebastian Dröge)



svn path=/trunk/; revision=6393
2008-01-28 06:27:28 +00:00
Matthias Clasen
cf9b04e7df Move docs inline. (#316260, Philippe Blain)
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gnode.[hc]: Move docs inline.  (#316260, Philippe Blain)



svn path=/trunk/; revision=6392
2008-01-28 04:50:12 +00:00
Matthias Clasen
137fdf9089 Document limitations of this function. (#487909, Peter Moulder)
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutf8.c (g_utf8_strreverse): Document limitations
        of this function.  (#487909, Peter Moulder)



svn path=/trunk/; revision=6391
2008-01-28 03:15:23 +00:00
Matthias Clasen
76e53c6ed3 Removed unused variable is_main_group. (#512381, Wouter Bolsterlee)
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/goption.c: (group_list_has_visible_entries):
        Removed unused variable is_main_group.  (#512381,
        Wouter Bolsterlee)



svn path=/trunk/; revision=6390
2008-01-27 23:57:32 +00:00
Matthias Clasen
7bfc60de2e Deprecate G_GNUC_(PRETTY)_FUNCTION.
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION.



svn path=/trunk/; revision=6389
2008-01-27 23:42:33 +00:00
Matthias Clasen
69c903e5b2 Remove AC_CANONICAL_HOST from GLIB_WITH_NLS again. (#385132)
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * m4macros/glib-gettext.m4: Remove AC_CANONICAL_HOST from
        GLIB_WITH_NLS again.  (#385132)



svn path=/trunk/; revision=6388
2008-01-27 23:01:43 +00:00
Matthias Clasen
3773991fdf Fix the pcre Unicode test to work with LDFLAGS=-Wl,--as-needed. (#484261,
2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Fix the pcre Unicode test to work with
        LDFLAGS=-Wl,--as-needed.  (#484261, Mark Lee)



svn path=/trunk/; revision=6387
2008-01-27 22:49:25 +00:00
Murray Cumming
7b4933fe02 Document that the new_etags output gchar* should be freed.
2008-01-27  Murray Cumming  <murrayc@murrayc.com>

* gio/gfile.c: (g_file_replace_contents),
(g_file_replace_contents_finish): Document that the new_etags output 
gchar* should be freed.

svn path=/trunk/; revision=6383
2008-01-27 07:25:29 +00:00
Loïc Minier
64c2dc4a06 Pass context down the implementation to check for the main_group. Bug
2008-01-25  Loïc Minier  <lool@dooz.org>

       * glib/goption.c: (group_has_visible_entries),
       (group_list_has_visible_entires), (g_option_context_get_help): Pass
       context down the implementation to check for the main_group.
       Bug #510292.
       * glib/tests/option-context.c:
       Don't set G_OPTION_FLAG_IN_MAIN in main_entries
       (group_captions): only create group when actually adding it to the
       context; add an exit(0) to make sure the test succeeds.

svn path=/trunk/; revision=6377
2008-01-25 17:49:53 +00:00
Jens Granseuer
afc9506e9e Only declare variables at the beginning of a code block. Bug #511654.
2008-01-23  Jens Granseuer  <jensgr@gmx.net>

	* glib/gtestutils.c: (g_test_trap_fork):
	* glib/tests/testing.c: (test_assertions): Only declare variables at
	the beginning of a code block. Bug #511654.

svn path=/trunk/; revision=6361
2008-01-23 22:22:27 +00:00
Matthias Clasen
8e191a31d6 Bump version
svn path=/trunk/; revision=6349
2008-01-21 18:09:53 +00:00
Matthias Clasen
1b8bad5973 2.15.3
svn path=/trunk/; revision=6347
2008-01-21 18:07:13 +00:00
Tor Lillqvist
3d89d5890e Add the gio DLL to the runtime zipfile.
2008-01-21  Tor Lillqvist  <tml@novell.com>

	* glib-zip.in: Add the gio DLL to the runtime zipfile.


svn path=/trunk/; revision=6346
2008-01-21 17:29:43 +00:00
Matthias Clasen
2a0a4e8780 Updates
svn path=/trunk/; revision=6344
2008-01-21 15:50:34 +00:00
Murray Cumming
5fbfef4cb7 Accept -1 for the data length if the data is a null-terminated string. Bug
2008-01-20  Murray Cumming  <murrayc@murrayc.com>

        * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data 
        length if the data is a null-terminated string. Bug #510855.

svn path=/trunk/; revision=6340
2008-01-21 13:11:13 +00:00
Alexander Larsson
d8473705b0 Removed. Removed. Removed the included copies of the inotify headers. We
2008-01-21  Alexander Larsson  <alexl@redhat.com>

        * inotify/Makefile.am:
        * inotify/inotify-helper.c:
        * inotify/inotify-kernel.c:
        * inotify/inotify-path.c:
        * inotify/local_inotify.h: Removed.
        * inotify/local_inotify_syscalls.h: Removed.
	Removed the included copies of the inotify
	headers. We now only use the <sys/inotify.h>
	header which exists on modern systems.
	This fixes problems on ARM and SH5 (#510448)
	but is also generally much cleaner and future
	safe. For instance, if other OSes add support
	for inotify it should "just work".



svn path=/trunk/; revision=6338
2008-01-21 10:35:44 +00:00
16:51:23 Tim Janik
d83d3a382c don't define __GNUC_PREREQ which is not in the glib namespace. for gcc,
2008-01-18 16:51:23  Tim Janik  <timj@imendio.com>

        * glib/gutils.h: don't define __GNUC_PREREQ which is not in the glib
        namespace. for gcc, define G_INLINE_FUNC to "static inline" as with
        all other C compilers, because newer GCC versions incompatibly
        changed "extern inline" semantics.



svn path=/trunk/; revision=6333
2008-01-18 15:51:49 +00:00
Murray Cumming
d4b9875df1 Fixed some minor typos in the documentation.
2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* glib/gfileutils.c:
* glib/gsequence.c:
* glib/gstring.c: Fixed some minor typos in the documentation.

svn path=/trunk/; revision=6332
2008-01-18 09:41:46 +00:00
Dan Winship
f1332511ee Fix another bug (which doesn't affect the results, but may cause it to
* glib/gchecksum.c (md5_sum_update): Fix another bug (which
	doesn't affect the results, but may cause it to read bad memory).

svn path=/trunk/; revision=6323
2008-01-16 21:28:04 +00:00
Alexander Larsson
9d0f6b8f94 Clarify docs for g_uri_unescape_string() (#508773)
2008-01-15  Alexander Larsson  <alexl@redhat.com>

        * glib/gurifuncs.c:
	Clarify docs for g_uri_unescape_string() (#508773)



svn path=/trunk/; revision=6317
2008-01-15 13:09:07 +00:00
Dan Winship
5fa9ff14a9 Support gio in AM_PATH_GLIB_2_0 (#509465)
2008-01-14  Dan Winship  <danw@gnome.org>

	* m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)



svn path=/trunk/; revision=6315
2008-01-15 10:12:58 +00:00
Dan Winship
cc1404cfc8 fix this; the previous code gave the wrong md5sum when called in certain
* glib/gchecksum.c (md5_sum_update): fix this; the previous code
	gave the wrong md5sum when called in certain ways with buffers
	larger than 64 bytes.
	(g_checksum_update): remove the unnecessary "length > 1"
	restriction

	* tests/checksum-test.c: Rewrite this to be much more exhaustive
	(and in particular to test the md5_sum_update bugfix).

svn path=/trunk/; revision=6314
2008-01-15 06:21:58 +00:00
Matthias Clasen
fcf94e391d Bump version
svn path=/trunk/; revision=6312
2008-01-14 17:13:07 +00:00
Matthias Clasen
da7494c1e9 2.15.2
svn path=/trunk/; revision=6310
2008-01-14 16:43:59 +00:00
Matthias Clasen
1473596b34 Updates
svn path=/trunk/; revision=6308
2008-01-14 15:12:21 +00:00
Alexander Larsson
f879f67a81 Clarify docs for g_uri_escape_string (#508773)
2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * glib/gurifuncs.c:
	Clarify docs for g_uri_escape_string (#508773)



svn path=/trunk/; revision=6304
2008-01-14 14:39:28 +00:00
Andre Klapper
bca51e6c4a ALL_LINGUAS: remove line breaks from previous commit to get damned-lies
2008-01-12  Andre Klapper  <a9016009@gmx.de>

	* configure.in: ALL_LINGUAS: remove line breaks from previous 
	commit to get damned-lies stats correct again. Add Sinhala (si).


svn path=/trunk/; revision=6298
2008-01-12 13:33:22 +00:00
Tim Janik
9318ab51dd Fixed copyright and credit for Asbjoern Pettersen.
svn path=/trunk/; revision=6297
2008-01-11 16:59:44 +00:00
Matthias Clasen
2cc67d528e hook up testutils docs
svn path=/trunk/; revision=6296
2008-01-11 16:44:15 +00:00
12:55:19 Tim Janik
b07304fd89 added g_base64_encode()/g_base64_decode() test case by Asbjoern
2008-01-11 12:55:19  Tim Janik  <timj@imendio.com>

        * tests/testingbase64.c: added g_base64_encode()/g_base64_decode()
        test case by Asbjoern <asbgpe@online.no>. fixed up coding style.



svn path=/trunk/; revision=6292
2008-01-11 11:57:15 +00:00
09:00:28 Tim Janik
902391e387 use mv/sed/rm on a temporary file instead of "sed -i" which is not
2008-01-11 09:00:28  Tim Janik  <timj@imendio.com>                                                                                                            
                                                                                                                                                              
        * glib/Makefile.am (install-exec-hook): use mv/sed/rm on a temporary                                                                                  
        file instead of "sed -i" which is not portable enough.                                                                                                
                                                                                                                                                              


svn path=/trunk/; revision=6291
2008-01-11 08:01:44 +00:00
Alexander Larsson
9c95329347 Add gio/gio.h include to check for c++ problems.
2008-01-08  Alexander Larsson  <alexl@redhat.com>

	* tests/cxx-test.C:
	Add gio/gio.h include to check for c++ problems.


svn path=/trunk/; revision=6280
2008-01-08 20:37:43 +00:00
Matthias Clasen
a23f2d81f5 bump version
svn path=/trunk/; revision=6269
2008-01-07 17:00:01 +00:00
Matthias Clasen
60c8bdfe8f 2.15.1
svn path=/trunk/; revision=6267
2008-01-07 16:47:36 +00:00
Alexander Larsson
1a41a8c6c8 Add gio/test/Makefile to AC_CONFIG_FILES
2008-01-07  Alexander Larsson  <alexl@redhat.com>

	* configure.in:
	Add gio/test/Makefile to AC_CONFIG_FILES



svn path=/trunk/; revision=6259
2008-01-07 08:57:29 +00:00
Matthias Clasen
5f1ac741c6 Updates
svn path=/trunk/; revision=6258
2008-01-07 06:19:27 +00:00
Matthias Clasen
1b2fe32904 Add a translator comment (#503051, Pedro de Medeiros)
2008-01-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gregex.c: Add a translator comment (#503051,
        Pedro de Medeiros)

svn path=/trunk/; revision=6255
2008-01-07 03:39:41 +00:00
Matthias Clasen
3f15a98f8d Cope with gcc 4.3 changed 'extern inline' semantics. (#315437, patch by
2008-01-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
        semantics.  (#315437, patch by Loïc Minier)



svn path=/trunk/; revision=6254
2008-01-07 03:08:37 +00:00
Matthias Clasen
6554c8509f Fix fdwalk on OS X
svn path=/trunk/; revision=6253
2008-01-06 23:12:24 +00:00
Matthias Clasen
dbc8cd84c5 Document new dependencies
svn path=/trunk/; revision=6252
2008-01-06 17:48:41 +00:00
Matthias Clasen
ccbb383989 Require glib-2.0
svn path=/trunk/; revision=6251
2008-01-06 17:18:52 +00:00
Mathias Hasselmann
bef69cd7b3 Resolve 64 bit-shift bug in g_markup_collect_attributes.
Spotted by Lieven van der Heide.

* glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.

svn path=/trunk/; revision=6243
2008-01-04 12:40:03 +00:00