1887 Commits

Author SHA1 Message Date
Daniel Yacob
becf4980c0 Updating Amharic translation. 2002-12-11 01:51:49 +00:00
Owen Taylor
19131075b5 Don't distribute ref-add/del.sed., fixing problem with srcdir != destdir.
Fri Dec  6 12:40:00 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/libcharset/Makefile.am (EXTRA_DIST): Don't
        distribute ref-add/del.sed., fixing problem with
        srcdir != destdir. (#99813, Phuc LeHong)
2002-12-06 17:43:19 +00:00
Owen Taylor
3d179881f5 chmod 0755 scripts in AC_OUTPUT(), since install -c won't necessarily do
Fri Dec  6 12:31:30 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: chmod 0755 scripts in AC_OUTPUT(), since
        install -c won't necessarily do that. (#74376, Martin
        Gansser, Joshua Weage)
2002-12-06 17:37:33 +00:00
Owen Taylor
1d404c0921 Properly refcount the main module if it is already open. (#98648)
Tue Dec  3 20:56:19 2002  Owen Taylor  <otaylor@redhat.com>

        * gmodule.c (g_module_open): Properly refcount the
        main module if it is already open. (#98648)
2002-12-04 02:01:37 +00:00
Owen Taylor
55a987099f Use datadir, not $(prefix)/share. (#89339)
Tue Dec  3 20:40:56 2002  Owen Taylor  <otaylor@redhat.com>

        * Makefile.in.in: Use datadir, not $(prefix)/share. (#89339)
2002-12-04 01:49:22 +00:00
Dmitry Mastrukov
6a34843373 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2002-12-03 13:36:39 +00:00
Tor Lillqvist
133051b074 Fix two bugs: 1) If abs_time is NULL, should use infinite time. 2) Check
2002-11-23  Tor Lillqvist  <tml@iki.fi>

	* gthread-win32.c (g_cond_timed_wait_win32_impl): Fix two bugs: 1)
	If abs_time is NULL, should use infinite time. 2) Check for
	current time already being past abs_time. (#99294, Christopher
	R. Palmer, fix by Sebastian Wilhelmi)
2002-11-25 23:05:13 +00:00
Ole Laursen
46afa1fe85 Updated Danish translation.
2002-11-25  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-11-25 21:50:28 +00:00
Christian Neumair
515faab7d6 Updated German translation 2002-11-25 13:23:16 +00:00
Christophe Merlet
2acd3465c3 Updated French translation. 2002-11-24 09:58:59 +00:00
Gustavo Noronha Silva
06958f9697 updated translation 2002-11-23 04:36:05 +00:00
Matthias Clasen
68ff29e1bc Add Copyright notice.
* glib/gdir.h: Add Copyright notice.
2002-11-22 23:47:42 +00:00
Sebastian Wilhelmi
0689865df4 Fixed typo: PTHREAD_PRIO_MIN -> PTHREAD_PRIO_MAX. (Laurent Vivier,
2002-11-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

        * configure.in: Fixed typo: PTHREAD_PRIO_MIN ->
	PTHREAD_PRIO_MAX. (Laurent Vivier, #99293). Merged from HEAD.
2002-11-22 17:42:55 +00:00
Dmitry Mastrukov
b070488c97 be.po: Updated Belarusian translation from Belarusian team <i18n@mova.org>. 2002-11-22 05:39:36 +00:00
Owen Taylor
5f95219f44 Patch from Morten Welinder to make ghash.c properly obey
Thu Nov 21 16:19:21 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/ghash.c: Patch from Morten Welinder to
        make ghash.c properly obey DISABLE_MEM_POOLS. (#96600)
2002-11-21 21:22:30 +00:00
Yanko Kaneti
394748d9b0 Updated Bulgarian translation.
2002-11-21  Yanko Kaneti <yaneti@declera.com>

* bg.po: Updated Bulgarian translation.
2002-11-21 15:37:12 +00:00
Miloslav Trmac
5297e954ca Update Czech translation 2002-11-20 19:20:47 +00:00
Jordi Mallach
e9ebc86d5f Updated Catalan translation. 2002-11-20 08:43:45 +00:00
Kjartan Maraas
ab6c4d03b1 Updated Norwegian (bokmal) translation.
2002-11-19  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokmal) translation.

2002-11-18  Christian Rose  <menthos@menthos.com>
2002-11-19 07:42:30 +00:00
Christian Rose
073b45b2cd Updated Swedish translation.
2002-11-18  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2002-11-18 19:15:21 +00:00
Tor Lillqvist
e40e038028 Do handle G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If
2002-11-18  Tor Lillqvist  <tml@iki.fi>

	* glib/gspawn-win32.c (do_spawn_with_pipes): Do handle
	G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the
	flag is not set, don't call DuplicateHandle() on the handle
	returned by the helper process, and set the "child pid" as
	returned to the called to zero. Close the handle to the helper
	process in all cases.

	* glib/gspawn.c (g_spawn_async_with_pipes): Document Windows
	behaviour of G_SPAWN_DO_NOT_REAP_CHILD.
2002-11-18 09:40:51 +00:00
Tor Lillqvist
f7fdd45436 Check that child_pid isn't NULL before using it. 2002-11-17 23:19:59 +00:00
Tor Lillqvist
a31dd1fb89 [Win32] Fix the asynchronous g_spawn* to return the process handle of the
2002-11-18  Tor Lillqvist  <tml@iki.fi>

	[Win32] Fix the asynchronous g_spawn* to return the process handle
	of the started program properly. (Note: not the process id. The
	spawn*() functions in the C runtime return the created process's
	handle. There doesn't seem to be any way to get the process id of
	a child process if you have the handle. But then, the process
	handle usually is more useful anyway.)

	* glib/gspawn-win32-helper.c (WinMain): If the spawning of the
	child process succeeded, and if asynchronous spawn (P_NOWAIT),
	write the result handle up to the parent process, waiting to read
	it in do_spawn_with_pipes().

	* glib/gspawn-win32.c (do_spawn): Use return value from spawning
	the helper. If it is -1 the helper wasn't found or couldn't be run
	for some reason. Otherwise it is the helper's process handle.

	(g_spawn_async_with_pipes): Pass the child_pid parameter on to
	do_spawn_with_pipes().

	(do_spawn_with_pipes): Take also a child_pid parameter. If
	do_spawn() returned -1, fail immediately. Otherwise make the
	handle passed to us by the helper process into a handle valid in
	this process by calling DuplicateHandle().
2002-11-17 23:01:55 +00:00
Tor Lillqvist
148e2f6bb8 New file. Test program to be linked as a GUI application. Behaves
2002-11-17  Tor Lillqvist  <tml@iki.fi>

	* tests/spawn-test-win32-gui.c: New file. Test program to be
	linked as a GUI application. Behaves differently depending on how
	invoked (by spawn-test).
2002-11-17 03:30:22 +00:00
Tor Lillqvist
11b83893b3 Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully
2002-11-17  Tor Lillqvist  <tml@iki.fi>

	* glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
	G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
	on Windows, at least not now. Always pass dont_wait as TRUE to
	do_spawn_with_pipes(). The semantics of the dont_wait parameter is
	very different from the semantics of the intermediate_child
	parameter to fork_exec_with_pipes() in the Unix version. This
	fixes a serious bug, g_spawn_async() in fact behaved
	synchronously.

	(do_spawn_with_pipes, do_spawn): Rename from
	fork_exec_with_pipes() and do_exec(), those names were from the
	Unix bersion, and misleading.

	(close_and_invalidate): Don't try to close invalid fds.

	* glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
	Windows behaviour. There is no fork(), so the child_setup()
	function is in fact called in the parent.

	* glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
	debugging output.

	* tests/spawn-test-win32-gui.c: New file. Test program to be
	linked as a GUI application. Behaves differently depending on how
	invoked (by spawn-test).

	* tests/spawn-test.c (run_tests): On Win32, run the
	spawn-test-win32-gui program, too, in several ways, synchronously
	and asynchronously.

	* tests/Makefile.am: Corresponding change.

	* tests/testglib.c (main): On Win32, show result of g_get_charset().
2002-11-17 03:29:01 +00:00
Laurent Dhima
f35c38e4e4 added sq to ALL_LINGUAS
* configure.in: added sq to ALL_LINGUAS
2002-11-15 22:26:48 +00:00
Laurent Dhima
0e9ce27a0d updated albanian
* sq.po: updated albanian
2002-11-15 22:23:40 +00:00
Laurent Dhima
2fd4685b27 updated 2002-11-15 22:20:49 +00:00
Ole Laursen
a26f667e20 Added da to ALL_LINGUAS.
2002-11-10  Ole Laursen  <olau@hardworking.dk>

	* configure.in: Added da to ALL_LINGUAS.
2002-11-10 20:36:55 +00:00
Daniel Yacob
556c0fa045 Can't add am.po, taking out am from LINGUAS_ALL list. 2002-11-10 03:05:34 +00:00
Daniel Yacob
afcfc2b117 Adding am to LINGUAS_ALL list. 2002-11-10 02:48:56 +00:00
Daniel Yacob
8559a1173d Adding Amharic translation. 2002-11-07 15:31:03 +00:00
Simos Xenitellis
3b712921ed Updated Greek translation 2002-11-06 19:18:41 +00:00
Tor Lillqvist
34f2844eb7 Add g_main_thread_init, called by gthread/gthread-impl.c. Sorry for not
2002-11-05  Tor Lillqvist  <tml@iki.fi>

	* glib/glib.def: Add g_main_thread_init, called by
	gthread/gthread-impl.c. Sorry for not noticing earlier.
2002-11-05 03:37:18 +00:00
Owen Taylor
33f74ad5e7 ==== Released 2.0.7 ====
Mon Nov  4 15:23:20 2002  Owen Taylor  <otaylor@redhat.com>

        * ==== Released 2.0.7 ====

        * NEWS: Updated.

        * configure.in: version, 2.0.7, binary, interface age 7.
GLIB_2_0_7
2002-11-04 20:41:35 +00:00
Owen Taylor
d089e382c3 Include config.h so DISABLE_MEMPOOLS actually has an effect. (#96437,
Mon Nov  4 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gbsearcharray.c: Include config.h
        so DISABLE_MEMPOOLS actually has an effect.
        (#96437, Morten Welinder)

        * tests/uri-test.c: Include <config.h>

Mon Nov  4 14:42:36 2002  Owen Taylor  <otaylor@redhat.com>

        * gtype.c gsignal.c gvaluearray.c: Include config.h
        so DISABLE_MEMPOOLS actually has an effect.
        (#96437, Morten Welinder)

        * gsignal.c: Conditionalize definition of g_handler_ts
        on DISABLE_MEM_POOLS (#96437)

Mon Nov  4 14:45:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gthread-posix.c gthread-solaris.c: Include <config.h>
2002-11-04 20:10:34 +00:00
Owen Taylor
289b42f231 Back out API additions from glib-2-0 branch.
Mon Nov  4 12:59:01 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gscanner.[ch] glib/gstrfuncs.[ch] configure.in:
        Back out API additions from glib-2-0 branch.

        * glib/gscanner.c: Fix parsing of unsigned long
        without using g_ascii_strtoull.
2002-11-04 19:23:23 +00:00
Peteris Krisjanis
d89f8192eb 2002-11-04 Peteris Krisjanis <peteris.krisjanis@os.lv> * lv.po: Updated Latvian translation 2002-11-04 17:59:24 +00:00
Peteris Krisjanis
7a7ddf5a69 2002-11-04 Peteris Krisjanis <peteris.krisjanis@os.lv> Updated Latvian translation 2002-11-04 17:59:11 +00:00
Dmitry Mastrukov
2337686ae5 configure.in: Added Belarusian to ALL_LINGUAS 2002-11-03 04:08:56 +00:00
Dmitry Mastrukov
60c7654076 be.po: Added Belarusian translation from Belarusian team <i18n@infonet.by>. 2002-11-03 03:41:26 +00:00
Daniel Elstner
c2fb30decf Fix left_len calculation in the from UTF-8 to UTF-8 case: left_len should
2002-11-02  Daniel Elstner  <daniel.elstner@gmx.net>

* glib/giochannel.c (g_io_channel_write_chars): Fix left_len calculation in the from UTF-8 to UTF-8 case: left_len should be the number of bytes left in the input buffer rather than channel->write_buf. (#96373)
2002-11-02 00:09:27 +00:00
Tor Lillqvist
f71872e74a Don't set on Win32, only causes trouble.
2002-10-27  Tor Lillqvist  <tml@iki.fi>

	* configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes
	trouble.

	* glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs
	(http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html)
	and others. We waited for events only for GPollFDs whose events
	field had G_IO_IN set. We need to wait also for events for
	GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the
	process of being connect()ed are one such case. Also silence a
	couple of gcc warnings.
2002-10-26 22:40:44 +00:00
Manish Singh
56a4b49e8a avoid creating negative values out of unsigned values using MAX, check to
Fri Oct 18 13:44:24 2002  Manish Singh  <yosh@gimp.org>

        * glib/giochannel.c (g_io_channel_read_line_backend): avoid
        creating negative values out of unsigned values using MAX,
        check to see if the result would be positive before doing
        the calculation.
2002-10-18 20:44:40 +00:00
Manish Singh
488398cda5 use gsize instead of int where appropriate (64-bit cleanliness fix).
Tue Oct 15 15:49:11 2002  Manish Singh  <yosh@gimp.org>

        * tests/iochannel-test.c: use gsize instead of int where appropriate
        (64-bit cleanliness fix). Removed leftover line_term cruft.
2002-10-15 22:50:05 +00:00
Owen Taylor
99df46dd10 Fix a memory leak. (#94550, Sebastian Rittau)
Mon Oct 14 15:51:05 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
        leak. (#94550, Sebastian Rittau)
2002-10-14 22:13:38 +00:00
Owen Taylor
d55e8a0aea Make prefix argument const. (#91662, Gustavo Carneiro)
Mon Oct 14 15:36:11 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gcompletion.[ch] (g_completion_complete): Make
        prefix argument const. (#91662, Gustavo Carneiro)
2002-10-14 19:38:44 +00:00
Owen Taylor
ab5edca1d6 Fix a minor memory leak.
Mon Oct 14 15:32:14 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/mainloop-test.c (adder_response): Fix a minor memory
        leak.
2002-10-14 19:33:47 +00:00
Tim Janik
deb9510cf6 test creation of new fundamental types.
Sat Oct 12 22:02:32 2002  Tim Janik  <timj@gtk.org>

        * testgobject.c: test creation of new fundamental types.

        * gtype.c (g_type_fundamental_next), (type_node_fundamental_new_W):
        account for static_fundamental_next storing non-shifted fundamental
        IDs. this fixes g_type_fundamental_next() not returning a new usable
        fundamental ID.
2002-10-12 20:01:36 +00:00
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