3860 Commits

Author SHA1 Message Date
Matej Urbančič
d3374b36f4 Updated Slovenian translation 2009-10-26 14:57:34 +01:00
Baris Cicek
b8f5f06c76 Updated Turkish Translation
svn path=/branches/glib-2-10/; revision=5442
2007-04-08 11:41:22 +00:00
Pawan Chitrakar
648b2d6ab2 Updated Nepali Translation 2006-09-21 07:43:11 +00:00
David Lodge
7c82fbf25a Updated English (British) translation
2006-09-14  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-15 04:23:47 +00:00
Ani Peter
31738eb4dc Updated Malayalam 2006-08-31 04:46:44 +00:00
Christophe Merlet
cdb8b757b1 Updated French translation. 2006-08-26 18:08:14 +00:00
Tor Lillqvist
4978451ca1 Fix crash when printing large 64-bit values on Win32 using the %I64x
2006-08-20  Tor Lillqvist  <tml@novell.com>

	* glib/gnulib/vasnprintf.c (vasnprintf): Fix crash when printing
	large 64-bit values on Win32 using the %I64x format. (#351034,
	Neil Piercy)
2006-08-20 13:37:36 +00:00
Inaki Larranaga
fd3ecf11b7 Fixed some typos.
2006-08-09  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Fixed some typos.
2006-08-09 14:28:23 +00:00
Yair Hershkovitz
ffe73e1f25 updated hebrew translation 2006-07-21 23:20:51 +00:00
Raivis Dejus
5cf4dd3cac Updated Latvian translation.
2006-07-08  Raivis Dejus  <orvils@gmail.com>

        * lv.po: Updated Latvian translation.
2006-07-08 11:14:34 +00:00
Nguyen Thai Ngoc Duy
c9dc5afe5a Fixed misspelled 'phạm vị' 2006-07-06 14:05:34 +00:00
Tor Lillqvist
8349723813 Add Windows notes to doc comment.
2006-06-14  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (g_listenv): Add Windows notes to doc comment.
2006-06-13 22:44:53 +00:00
Tor Lillqvist
d6a1723118 Workaround for bug in strxfrm() in Microsoft's newer C runtimes. (#343919,
2006-06-08  Tor Lillqvist  <tml@novell.com>

	* glib/gunicollate.c (msc_strxfrm_wrapper): Workaround for bug in
	strxfrm() in Microsoft's newer C runtimes. (#343919, Kazuki
	Iwamoto)
2006-06-08 15:22:22 +00:00
Matthias Clasen
dcb0ab0237 Avoid running in an assertion with small writes. (#343566, Chris Wilson)
2006-06-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/giochannel.c (g_io_channel_write_chars): Avoid
	running in an assertion with small writes.  (#343566, Chris
	Wilson)

	* tests/iochannel-test.c: Add a testcase for small writes.
2006-06-01 16:00:51 +00:00
Matthias Clasen
0aaa6299fe Bump version 2006-05-26 14:17:11 +00:00
Matthias Clasen
543baa2efa grr GLIB_2_10_3 2006-05-26 14:15:03 +00:00
Matthias Clasen
8543cea8e0 broken pipe 2006-05-26 14:13:50 +00:00
Matthias Clasen
51f1754532 2.10.3 2006-05-26 14:05:35 +00:00
Priit Laes
c3ea1ea049 Translation updated by Ivar Smolin.
2006-05-18  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-05-18 15:12:22 +00:00
Tim Janik
c7ea27fe63 fixed leak in short option parsing. rewrote parts of the code to be more
Tue May  2 14:18:25 2006  Tim Janik  <timj@gtk.org>

        * glib/goption.c (g_option_context_parse): fixed leak in short
        option parsing. rewrote parts of the code to be more concise to
        enhance readability. fixed exaggerated uses of strlen.
2006-05-15 10:54:37 +00:00
Tor Lillqvist
d774634652 Implement setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
2006-05-12  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c (g_io_win32_sock_set_flags): Implement
	setting/clearing G_IO_FLAG_NONBLOCK for channels attached to
	sockets. (#341192)
	(g_io_win32_unimpl_set_flags): set_flags method for the
	unimplemented case.
2006-05-12 13:10:59 +00:00
Matthias Clasen
fc275ca5e7 Fix invalid memory reads. (#340816, Nick Treleaven)
* glib/gkeyfile.c (g_key_file_set_string_list)
	(g_key_file_set_locale_string_list): Fix invalid memory
	reads.  (#340816, Nick Treleaven)
2006-05-07 04:06:24 +00:00
Pema Geyleg
cfb384811e *** empty log message *** 2006-05-06 08:24:13 +00:00
Tor Lillqvist
23e8756295 Free with free() and not g_free() what has been allocated with calloc().
2006-05-03  Tor Lillqvist  <tml@novell.com>

	* gthread-win32.c (g_thread_exit_win32_impl): Free with free() and
	not g_free() what has been allocated with calloc(). (#340530, Jake
	Goulding)
2006-05-03 14:50:48 +00:00
Matthias Clasen
cdfd413740 Don't repeat a failed fclose() call, since that invokes undefined
2006-04-26  Matthias Clasen  <mclasen@redhat.com>

	* glib/grand.c (g_rand_new): Don't repeat a failed fclose()
	call, since that invokes undefined behaviour.  (Coverity)
2006-04-26 04:22:28 +00:00
Matthias Clasen
efc709e620 Remove redundant code. (g_key_file_get_group_comment): Don't dereference
2006-04-25  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_lookup_group_node): Remove
	redundant code.
	(g_key_file_get_group_comment): Don't dereference before
	checking for NULL.  (#338572, Coverity, Pascal Terjan)
2006-04-25 20:32:49 +00:00
Åsmund Skjæveland
9b1262ad00 Updated Norwegian Nynorsk translation.
2006-04-23  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2006-04-23 12:48:11 +00:00
Matthias Clasen
a114a49428 Add some missing 2.8 tags 2006-04-19 15:03:45 +00:00
Tor Lillqvist
6db673a70b Adapt to the changed prototype of InterlockedCompareExchange() in newer
2006-04-19  Tor Lillqvist  <tml@novell.com>

	* glib/gatomic.c: Adapt to the changed prototype of
	InterlockedCompareExchange() in newer SDKs. Use
	InterlockedCompareExchangePointer() when applicable. (#155884,
	John Ehresman)
2006-04-19 12:29:59 +00:00
Matthias Clasen
2be7079e87 Accept duplicate groups. (#157877, Sebastien Bacher)
2006-04-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_add_group): Accept duplicate
	groups.  (#157877, Sebastien Bacher)

	* tests/keyfile-test.c: Add tests for duplicate key and
	duplicate group handling.
2006-04-19 02:40:41 +00:00
Matthias Clasen
fd2adc3f5d Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau)
2006-04-18  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tut_gobject.xml: Say that ref/unref are thread-safe now.
	(#322883, Christophe Fergeau)
2006-04-18 18:38:10 +00:00
Matthias Clasen
fd2d70f6cf Make passing NULL for new_prefix work as documented. (#338845, Yevgen
2006-04-17  Matthias Clasen  <mclasen@redhat.com>

	* glib/gcompletion.c (g_completion_complete_utf8): Make passing
	NULL for new_prefix work as documented.  (#338845, Yevgen Muntyan)

	* tests/completion-test.c: Test that passing NULL for
	new_prefix in g_completion_complete_utf8 works.
2006-04-18 02:24:35 +00:00
Matthias Clasen
e379856030 fix another coverity bug 2006-04-16 05:17:26 +00:00
Martyn James Russell
88cca804f0 (test_thread_stop_unused): Removed an
assertion which can fail and is not a critical test.
2006-04-07 18:47:11 +00:00
Matthias Clasen
08c7722e6e Bump version 2006-04-07 17:39:46 +00:00
Matthias Clasen
2f298768e5 2.10.2 GLIB_2_10_2 2006-04-07 17:38:35 +00:00
Martyn James Russell
038d94ed1a Make sure g_thread_pool_stop_unused_threads() actually stops unused
* glib/gthreadpool.c: Make sure
g_thread_pool_stop_unused_threads() actually stops unused threads
and global limits (like max idle time and max unused threads) can
be set without creating a thread pool first. Fixed #335215 (patch
from Chris Wilson).

* tests/threadpool-test.c: Added two new tests, tests setting
global limits before creating a thread pool. The second test
makes sure unused threads are actually stopped when using the
g_thread_pool_stop_unused_threads().
2006-04-07 09:25:04 +00:00
Matthias Clasen
46676f6572 Make long long printing work if snprintf is not available. (#332841,
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gnulib/vasnprintf.c (vasnprintf): Make
	long long printing work if snprintf is not
	available.  (#332841, Michael McDonald)
2006-04-05 15:07:42 +00:00
Pema Geyleg
2feb9106d5 *** empty log message *** 2006-04-04 10:27:37 +00:00
Tor Lillqvist
8d12cdb529 Revert change below. It wasn't a good idea after all, says the original
2006-03-31  Tor Lillqvist  <tml@novell.com>

	* glib/gstdio.c (g_remove): Revert change below. It wasn't a good
	idea after all, says the original bug reporter. See bug for
	discussion.
2006-03-31 19:14:21 +00:00
Tor Lillqvist
0e5127e1c8 [Win32] call rmdir() only if remove() fails with errno set to ENOENT, to
2006-03-30  Tor Lillqvist  <tml@novell.com>

	* glib/gstdio.c (g_remove): [Win32] call rmdir() only if remove()
	fails with errno set to ENOENT, to leave errno set to EACCESS if
	that is the problem. (#334799, Yevgen Muntyan)
2006-03-31 00:25:35 +00:00
Matthias Clasen
22eb9cddb9 Make sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)
2006-03-29  Matthias Clasen  <mclasen@redhat.com>

	* gmodule.c (g_module_symbol): Make sure to
	not return TRUE if symbol is NULL.  (#334440,
	ITOH Yasufumi)
2006-03-29 20:56:11 +00:00
Yair Hershkovitz
e83eaad6b9 Updated Hebrew translation 2006-03-27 16:50:25 +00:00
Priit Laes
a01d789da2 Translation updated by Ivar Smolin.
2006-03-27  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-03-27 06:17:56 +00:00
Matthias Clasen
39119f7dd5 Documentation improvements 2006-03-26 20:12:56 +00:00
Martyn James Russell
21b05cd677 Updated the documentation to explain that when the maximum threads is > 1
* glib/gthreadpool.c: Updated the documentation to explain that
when the maximum threads is > 1 the sort functionality is not 100%
accurate due to the ramdom nature of the scheduler choosing which
threads to execute. Fixes bug #334943.

* tests/threadpool-test.c: Disabled the debugging by default and
fixed the sort test to set the maximum threads to 1 to guarantee
the thread entry function is called in order.
2006-03-24 15:22:26 +00:00
Matthias Clasen
0028b643bc Document G_HAVE_GINT64 as deprecated. (#335294, Richard Laager)
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/types.sgml: Document G_HAVE_GINT64 as deprecated.
	(#335294, Richard Laager)
glib-2-10-branchpoint
2006-03-21 01:55:19 +00:00
Vladimer Sichinava
b78ec7a1b5 Updated Georgian translation 2006-03-20 23:21:19 +00:00
Matthias Clasen
acbbe9f88e Fix the build 2006-03-20 20:21:25 +00:00
Matthias Clasen
d0ee63840c use standard_calloc to allocate the profile_data. (#335209, Chris Wilson)
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmem.c (profiler_log): use standard_calloc to allocate
        the profile_data.  (#335209, Chris Wilson)

        * glib/gmain.c (g_main_context_unref): Avoid a deadlock.
        (#335207, Chris Wilson)

        Minor optimizations (#335216, Chris Wilson):

        * glib/gasyncqueue.c (g_async_queue_pop_intern_unlocked): Use
        g_queue_peek_tail_link instead of g_queue_peek_tail.

        * glib/glist.c:
        * glib/gslist.c: Avoid some memset calls.
2006-03-20 18:43:32 +00:00