1838 Commits

Author SHA1 Message Date
Tim Janik
e33442beb1 up version number to 2.0.7, binary 7, interface 0.
Sat Oct 12 21:30:41 2002  Tim Janik  <timj@gtk.org>

        * configure.in (GLIB_VERSION): up version number to 2.0.7, binary 7,
        interface 0.

        * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
        (g_ascii_strtoull): new function, acting like strtoull(3) in the C
        locale.

        * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
        support storing 64bit values in GTokenValue by
        using g_ascii_strtoull().
2002-10-12 19:32:35 +00:00
Tim Janik
21e2e109de if input_name is NULL, print out "<memory>" instead of completely skipping
Thu Oct 10 23:27:02 2002  Tim Janik  <timj@gtk.org>

        * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
        print out "<memory>" instead of completely skipping input specification
        and thusly loosing error line information.
2002-10-10 21:24:55 +00:00
Manish Singh
d20b6a1357 use gsize instead of int where appropriate (64-bit cleanliness fix)
Sun Sep 29 12:12:08 2002  Manish Singh  <yosh@gimp.org>

        * tests/mainloop-test.c: use gsize instead of int where appropriate
        (64-bit cleanliness fix)
2002-09-29 19:14:34 +00:00
Tor Lillqvist
a8819a24a1 Instead of forcing -fnative-struct into CFLAGS when using gcc for Win32,
2002-09-29  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Instead of forcing -fnative-struct into CFLAGS
	when using gcc for Win32, check for gcc version 3.x which uses
	-mms-bitfields instead. Also check if either of these switches is
	actually available at all, and warn if not. Thanks to Soren
	Andersen for the inspiration.
2002-09-28 23:50:34 +00:00
Tor Lillqvist
dc823669fd Say we require autoconf 2.52 as that is what configure.in does.
2002-09-29  Tor Lillqvist  <tml@iki.fi>

	* HACKING: Say we require autoconf 2.52 as that is what
	configure.in does.
2002-09-28 22:13:36 +00:00
Stanislav Brabec
29e1b1ce54 Fix in ChangeLog entry - translation was updated, not added. 2002-09-26 09:01:52 +00:00
Stanislav Brabec
3d6fce0658 Added Czech translation from Miloslav Trmac <mitr@volny.cz>.
2002-09-26  Stanislav Brabec  <sbrabec@suse.cz>

	* cs.po: Added Czech translation from Miloslav Trmac
	<mitr@volny.cz>.
2002-09-26 08:58:29 +00:00
Arvind Samptur
96f86ba11d when the child fails we need to reap it to avoid a zombie. This would
2002-09-23  Arvind Samptur <arvind.samptur@wipro.com>
        * glib/gspawn.c (fork_exec_with_pipes) : when the child fails
        we need to reap it to avoid a zombie. This would
        happen in case of g_spawn_sync. Fixes #92658
2002-09-23 06:46:50 +00:00
Christopher R. Gabriel
0bb2df377a added italian translation 2002-09-21 23:40:16 +00:00
Matthias Clasen
5e27547bba Don't print scanner->input_name when it is NULL. (#93752)
* glib/gscanner.c (g_scanner_msg_handler): Don't print
	scanner->input_name when it is NULL.  (#93752)
2002-09-20 21:37:09 +00:00
Fatih Demir
29d32a3c35 Updated tr.po 2002-09-19 19:45:19 +00:00
Dom Lachowicz
47ded4008a Fix problems with excessive C++ warnings: "ISO C++ forbids nested groups
Wed Sep 11 16:50:20 2002  Dom Lachowicz <cinamod@hotmail.com>

        * gtype.h: Fix problems with excessive C++ warnings: "ISO C++ forbids nested groups within expressions"
2002-09-12 04:04:46 +00:00
Peteris Krisjanis
f3f724f46a 2002-09-02 Peteris Krisjanis <peteris.krisjanis@os.lv> * lv.po: Updated Latvian translation 2002-09-02 17:04:40 +00:00
Peteris Krisjanis
7d80360953 2002-09-02 Peteris Krisjanis <peteris.krisjanis@os.lv> Updated Latvian translation 2002-09-02 17:04:29 +00:00
Tor Lillqvist
26619331ee Don't link with -lwsock32 on Cygwin (#91696, Masahiro Sakai).
2002-08-26  Tor Lillqvist  <tml@iki.fi>

	* configure.in (G_LIBS_EXTRA): Don't link with -lwsock32 on
	Cygwin (#91696, Masahiro Sakai).
2002-08-26 19:39:52 +00:00
Roozbeh Pournader
ea766b765d Updated Persian Translation. 2002-08-23 19:53:23 +00:00
Roozbeh Pournader
e91aefd91d Added Persian tranlsation. 2002-08-23 19:49:58 +00:00
Peteris Krisjanis
87d4ce523d 2002-08-23 Peteris Krisjanis <peteris.krisjanis@os.lv> * lv.po: Updated Latvian translation 2002-08-23 09:48:38 +00:00
Peteris Krisjanis
bbfbe12dfa 2002-08-23 Peteris Krisjanis <peteris.krisjanis@os.lv> Updated Latvian translation 2002-08-23 09:48:11 +00:00
Hidetoshi Tajima
9f2cd5145b validate 'len' argument properly for the case that input string is not
* glib/gconvert.c (strdup_len): validate 'len' argument properly
	for the case that input string is not null-terminated. (#91222)
	(ChangeLog entry update only)
2002-08-20 23:03:50 +00:00
Hidetoshi Tajima
43cb4a5a1e should copy utf8string at most 'len' bytes if the given utf8string is not
* glib/gconvert.c (strdup_len): should copy utf8string
	at most 'len' bytes if the given utf8string is not null
	terminated. (#91222)
2002-08-20 20:08:11 +00:00
Peteris Krisjanis
aed74400ae 2002-08-20 Peteris Krisjanis <peteris.krisjanis@os.lv> Updated Latvian translation. 2002-08-20 15:29:29 +00:00
Peteris Krisjanis
cd1f9ab5e0 2002-08-20 Peteris Krisjanis <peteris.krisjanis@os.lv> * lv.po: Updated Latvian translation. 2002-08-20 15:28:27 +00:00
Havoc Pennington
878a5f498d hardcode aclocal-1.4/automake-1.4 so that users with both automake 1.6 and
2002-08-18  Havoc Pennington  <hp@pobox.com>

	* autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with
	both automake 1.6 and 1.4 installed get the right automake. Means
	compilation from CVS will now require the latest automake 1.4
	release, or manually creating symlinks called "automake-1.4" and
	"aclocal-1.4"
2002-08-18 22:21:40 +00:00
Isam Bayazidi
9e033ba9aa Arabic Translation 2002-08-18 09:36:56 +00:00
Gustavo Noronha Silva
f1b3aa003d new brazilian portuguese translation 2002-08-10 18:05:11 +00:00
Tim Janik
20dd22da42 keep entity name in a newly alocated buffer to prevent segfaulting on
Wed Aug  7 17:38:16 2002  Tim Janik  <timj@gtk.org>

        * glib/gmarkup.c (unescape_text): keep entity name in
        a newly alocated buffer to prevent segfaulting on entity
        names which are longer than 5 characters.
2002-08-07 15:46:37 +00:00
Christian Neumair
3631aa8283 Updated German translation 2002-08-06 22:34:47 +00:00
Peteris Krisjanis
9ba5b0c55b 2002-08-06 Peteris Krisjanis <peteris.krisjanis@os.lv> * lv.po: Updated Latvian translation 2002-08-06 20:52:23 +00:00
Peteris Krisjanis
eb7484cb4e 2002-08-06 Peteris Krisjanis <peteris.krisjanis@os.lv> Updated Latvian translation 2002-08-06 20:52:03 +00:00
Sebastian Wilhelmi
b6a467e298 Factor out g_main_context_init_pipe from g_main_context_new to initialize
2002-08-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/gmain.c: Factor out g_main_context_init_pipe from
	g_main_context_new to initialize the wakeup pipe of a
	context. Call that function from g_main_context_new if threads are
	initialized and for all contexts when threads are initialized
	in g_main_thread_init.

	* gthread/gthread-impl.c: Call
	g_main_thread_init. (#86872). Merged from HEAD.
2002-08-06 14:58:21 +00:00
Owen Taylor
9435d5562f Released 2.0.6
Fri Jul 26 18:01:44 2002  Owen Taylor  <otaylor@redhat.com>

        * Released 2.0.6

        * configure.in: 2.0.6, binary, interface age 6

        * NEWS: Updated.
GLIB_2_0_6
2002-07-26 22:22:37 +00:00
Owen Taylor
23a2a8ad34 Clarify the behavior of g_build_path() for empty elements and for leading
Thu Jul 25 14:23:15 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gfileutils.c: Clarify the behavior of g_build_path()
        for empty elements and for leading and trailing copies
        of the separator in the docs.

        * glib/gfileutils.c: Fix problems with leading elements
        consisting only of "/" characters. (#85928, Guillaume Chazarain)

        * tests/strfunc-test.c (main): Add more test cases
        for g_build_filename().
2002-07-26 19:58:07 +00:00
Owen Taylor
1a8852d374 Fix problems with excess ';' by addition of strategic 'extern void
Fri Jul 26 15:46:36 2002  Owen Taylor  <otaylor@redhat.com>

        * gvaluetransform.c: Fix problems with excess ';'
        by addition of strategic 'extern void glib_dummy_decl (void)'
        (#83272, David L. Cooper II)
2002-07-26 19:48:11 +00:00
Changwoo Ryu
b00fc3ddce Updated Korean translation.
* ko.po: Updated Korean translation.
2002-07-26 18:07:29 +00:00
Owen Taylor
e0abb05bab Fix docs for @str_return to conform to the main docs and the
Thu Jul 25 20:57:20 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.c (g_io_channel_read_line): Fix
        docs for @str_return to conform to the main docs
        and the implementation as to whether the terminator
        is included. (#87964, Jacob Berkman)
2002-07-26 00:59:40 +00:00
Owen Taylor
a52032255f When adding ancestral prerequisites, add the grandparents, not the
Thu Jul 25 20:34:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gtype.c (g_type_interface_add_prerequisite): When
        adding ancestral prerequisites, add the grandparents,
        not the siblings. (Problem found by Jon Trowbridge, patch from
        Dave Camp, #86879)
2002-07-26 00:42:32 +00:00
Owen Taylor
2b73fa0f15 Handle the end of the string properly when max_len is set. (#88545, Morten
Thu Jul 25 19:52:41 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/guniprop.c (real_tolower): Handle the
        end of the string properly when max_len is set.
        (#88545, Morten Welinder.) Rename the next_t
        variable to next_type to make cc-mode happy.

        * glib/gconvert.c (g_iconv_open): Fix missing
        label from previous commit.
2002-07-25 23:58:29 +00:00
Owen Taylor
8aea64b56b hu Jul 25 19:41:03 2002 Owen Taylor <otaylor@redhat.com>
* glib/giochannel.c (g_io_channel_get_flags): Fix
        incorrect return value in g_return_val_if_fail
        (#85545, David L. Cooper II)
2002-07-25 23:42:13 +00:00
Owen Taylor
03e5bef754 Clarify that only one of the conditions listed in the docs need to be
Thu Jul 25 19:12:43 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/giochannel.c (g_io_channel_set_encoding): Clarify
        that only one of the conditions listed in the docs
        need to be true, not all of them. (#87176,
        Sebastian Rittau)

        * glib/giochannel.c (g_io_channel_read_line): Fix
        description of the return value. (#87754, Manuel Clos)
2002-07-25 23:15:31 +00:00
Owen Taylor
7a1e68bb66 Remove reference in the docs to @notify parameter. (#87768, Manuel Clos)
Thu Jul 25 19:02:53 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_timeout_add): Remove reference
        in the docs to @notify parameter. (#87768,
        Manuel Clos)
2002-07-25 23:04:14 +00:00
Owen Taylor
87364bf7a4 Fix reference to non-existing @priority parameter. (#88500, Linux Walleij)
Thu Jul 25 18:58:29 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/tmpl/threads.sgml: Fix reference to non-existing
        @priority parameter. (#88500, Linux Walleij)
2002-07-25 23:00:01 +00:00
Owen Taylor
285573026d Document the (GIConv)-1 return value on failure. (#87559, Jarek Dukat)
Thu Jul 25 17:57:07 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gconvert.c (g_iconv_open): Document the
        (GIConv)-1 return value on failure. (#87559,
        Jarek Dukat)

        * glib/gconvert.c (g_iconv_open): Fix potential
        problems with the assumption that (GIConv)(iconv_t)-1
        is the same as (GIConv)-1.
2002-07-25 22:33:02 +00:00
Changwoo Ryu
5db987c5bb Updated Korean translation.
* ko.po: Updated Korean translation.
2002-07-21 11:44:00 +00:00
Anders Carlsson
2fe616e7c5 Remove debugging message, approved by Tim Janik.
2002-07-05  Anders Carlsson  <andersca@gnu.org>

	* gobject.c (g_object_base_class_finalize): Remove debugging
	message, approved by Tim Janik.
2002-07-05 07:55:54 +00:00
Sebastian Wilhelmi
559e8cec55 Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN throughout the
2002-07-04  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* tests/*.c: Added #undef G_DISABLE_ASSERT and #undef G_LOG_DOMAIN
	throughout the files, which didn't already have
	them. (#87312). Merged from HEAD.
2002-07-04 15:28:22 +00:00
Sebastian Wilhelmi
9728e9f91f Fixed bugs in posix thread priority resolution. Also added AIX priorities.
2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed bugs in posix thread priority
	resolution. Also added AIX priorities. Fix from Laurent Vivier
	<Laurent.Vivier@bull.net>. (#82599). Merged from HEAD.
2002-07-03 15:41:52 +00:00
Sebastian Wilhelmi
4d07a1fe1b Use thr_min_stack() instead of sysconf (_SC_THREAD_STACK_MIN). if
2002-07-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gthread/gthread-solaris.c: Use thr_min_stack() instead of
	sysconf (_SC_THREAD_STACK_MIN). if stack_size is 0 on entry to
	g_thread_create_solaris_impl, also pass 0 to thr_create. Otherwise
	the stack might be to small for any nontrivial thread. Discovered
	on intel-solaris by Rajkumar Sivasamy
	<rajkumar.siva@wipro.com>. Merged from HEAD.
2002-07-03 10:40:32 +00:00
Sebastian Wilhelmi
af856ee92b Improve checks for dce/posix threads to also do the right thing, if the
2002-07-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Improve checks for dce/posix threads to also do
	the right thing, if the thread functions are not declared in
	pthread.h. Idea from Miroslaw Dobrzanski-Neumann
	<mne@mosaic-ag.com> in #77981. Merged from HEAD.
2002-07-02 12:44:26 +00:00
Sebastian Wilhelmi
77f148f908 Add parenthesis to protect macro argument. Spotted by Sam Couter
2002-07-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib/garray.h: Add parenthesis to protect macro
	argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
	HEAD. (#86826)
2002-07-01 12:52:42 +00:00