Commit Graph

3486 Commits

Author SHA1 Message Date
Matthias Clasen
047558bc21 Clarify docs.
2005-09-12  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmarkup.c (g_markup_escape_text): Clarify docs.
2005-09-12 18:23:43 +00:00
Sebastian Wilhelmi
d8d12ca541 Link the the refcount tests to the system thread library $(G_THREAD_LIBS).
2005-09-11  Sebastian Wilhelmi  <seppi@seppi.de>

	* tests/refcount/Makefile.am (INCLUDES): Link the the refcount
	tests to the system thread library $(G_THREAD_LIBS). Fixes #313744
	and #314217.
2005-09-11 16:48:38 +00:00
Kjartan Maraas
2d3fff85d7 Remove some dead code. Closes bug #315278.
2005-09-11  Kjartan Maraas  <kmaraas@gnome.org>

	* glib/gmain.c: (g_child_watch_prepare), (g_child_watch_check),
	(child_watch_helper_thread): Remove some dead code. Closes
	bug #315278.
2005-09-11 15:20:52 +00:00
Matthias Clasen
21bbad188f Move a few strings from .data to .rodata.
2005-09-10  Matthias Clasen  <mclasen@redhat.com>

	* gtype.c (INVALID_RECURSION, check_type_name_I): Move a few strings
	from .data to .rodata.
2005-09-10 04:01:03 +00:00
Kjartan Maraas
2147c486b0 Remove some unused code. Same here And here Mark some functions static.
2005-09-08  Kjartan Maraas  <kmaraas@gnome.org>

	* gclosure.c: (g_closure_set_meta_marshal): Remove some unused
	code.
	* gsignal.c: (g_signal_emitv): Same here
	* gtype.c: (g_type_register_fundamental): And here
	* testgobject.c: Mark some functions static.
2005-09-08 06:35:44 +00:00
Tor Lillqvist
17045b64d3 Create also a console version of the gspawn-win32-helper program,
2005-09-07  Tor Lillqvist  <tml@novell.com>

	* glib/Makefile.am: Create also a console version of the
	gspawn-win32-helper program, gspawn-win32-helper-console.exe.
	It's otherwise identical to gspawn-win32-helper.exe, except marked
	as a console application (linked without the -mwindows option).

	* glib/gspawn-win32.c (do_spawn_directly, do_spawn_with_pipes):
	Drop the dont_wait parameter. Its truth value correlated 100% with
	the NULLness of the exit_status parameter anyway, so it's enough
	to check whether exit_status is NULL. Invert the sense of the
	dont_return_handle parameter and rename it to do_return_handle, to
	make the code easier to read by avoiding double negations.

	(g_spawn_sync_utf8, g_spawn_async_with_pipes_utf8): Modify calls
	to do_spawn_with_pipes() accordingly.

	(do_spawn_with_pipes): If we have a console, use the console
	version of the helper program, otherwise use the GUI one. This
	avoids extra console windows opening up in some situations. (In
	case a console application uses the GUI gspawn-win32-helper.exe to
	spawn another console application we would get a separate console
	for the spawned console application).

	* glib-zip.in: Distribute also gspawn-win32-helper-console.exe.
2005-09-07 10:10:49 +00:00
Matthias Clasen
81eb80112f Tell xgettext about all the printf-like functions we use.
2005-09-06  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.in.in: Tell xgettext about all the
        printf-like functions we use.
2005-09-06 16:33:28 +00:00
Matthias Clasen
8161643a39 Make the name field const. (g_signal_newv): Don't keep an unnecessary
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* gsignal.c (struct _SignalNode): Make the name field const.
	(g_signal_newv): Don't keep an unnecessary extra copy of the
	signal name around, and don't forget to free the name if
	an existing node is reused.
2005-09-05 19:23:32 +00:00
Matthias Clasen
38094ffb5c Report an error if the file is too large. (#315275, Kjartan Maraas)
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmappedfile.c (g_mapped_file_new): Report an error
	if the file is too large.  (#315275, Kjartan Maraas)
2005-09-05 18:20:24 +00:00
Inaki Larranaga
d2ae3b0c0c Added Basque translation.
2005-09-05  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Added Basque translation.
2005-09-05 18:07:52 +00:00
Matthias Clasen
1c0b689399 The return value of read() is signed. (#315273, Kjartan Maraas)
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_load_from_fd): The return value
	of read() is signed.  (#315273, Kjartan Maraas)
2005-09-05 17:55:11 +00:00
Priit Laes
c05c2782ea Translation updated by Ivar Smolin.
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-09-04 20:31:46 +00:00
Chao-Hsiung Liao
92dbde9561 Updated Traditional Chinese translation.
2005-09-03  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_TW.po: Updated Traditional Chinese translation.
2005-09-03 05:48:01 +00:00
Christophe Merlet
dfd78152aa Updated French translation. 2005-09-02 08:15:31 +00:00
Priit Laes
de532ac6db Translation updated by Ivar Smolin.
2005-09-01  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-09-01 18:33:56 +00:00
Raphael Higino
107bbe2277 Updated pt_BR translation 2005-09-01 14:32:17 +00:00
Matthias Clasen
6d2d63f6fd Don't forget to free the tmp string 2005-09-01 13:59:05 +00:00
Clytie Siddall
a327d1d6fd #LOCALTIME Clytie Siddall <clyties@cvs.gnome.org>
* vi.po: Updated Vietnamese translation.
2005-09-01 05:45:02 +00:00
Tor Lillqvist
130763338c Wrapping atexit() is a bad idea on Windows, where the EXE and each DLL
2005-08-31  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
	the EXE and each DLL have their own atexit function chains.

	#define g_atexit as atexit instead. This means it has a
	better chance of doing what the caller wants. For instance,
	gtkhtml calls g_atexit() registering a function in gtkhtml
	itself. This caused a crash when g_atexit() was implemented as a
	function in the GLib DLL. The gtkhtml DLL was already unloaded by
	the time the GLib DLL got unloaded.

	* glib/gutils.c: #undef the #define mentioned above, to also get a
	real g_atexit() into the DLL for backward compatibility. Document
	the Windows behaviour of g_atexit(), and document the varying ways
	atexit() can behave in the context of dynamically loaded modules
	on Unix.
2005-08-31 21:02:47 +00:00
Mugurel Tudor
49003b01ff Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>
2005-08-31  Mugurel Tudor  <mugurelu@gnome.ro>

	* ro.po: Updated Romanian translation
	by Misu Moldovan <dumol@gnome.ro>
2005-08-31 21:00:11 +00:00
Matthias Clasen
f7a681d65d Intern the signal name.
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

	* gobject.c (g_object_do_class_init): Intern the signal name.
2005-08-31 19:42:51 +00:00
Matthias Clasen
5e08d524c3 Intern the name here, since we need the quark anyway when sending change
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

	* gparam.c (g_param_spec_internal): Intern the name here,
	since we need the quark anyway when sending change notification.
2005-08-31 19:13:26 +00:00
Matthias Clasen
63b1b0c187 More string interning 2005-08-31 17:56:49 +00:00
Matthias Clasen
3a151501cc Intern type name before registering the type.
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

	* gtype.h (G_DEFINE_TYPE_EXTENDED): Intern type name
	before registering the type.
2005-08-31 14:49:20 +00:00
Matthias Clasen
07c4d80d55 Intern type names before registering the type to avoid unnecessary copies.
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

	* gvaluetypes.c (g_value_types_init):
	* gtypeplugin.c (g_type_plugin_get_type):
	* gtypemodule.c (g_type_module_get_type):
	* gparam.c (g_param_type_init):
	* gobject.c (g_object_type_init):
	* genums.c (g_enum_types_init):
	* gboxed.c (g_boxed_type_init): Intern type names
	before registering the type to avoid unnecessary
	copies.
2005-08-31 14:38:18 +00:00
Matthias Clasen
70af0de0ef Add functions to intern strings.
2005-08-31  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gquark.h:
	* glib/gdataset.c: Add functions to intern strings.
2005-08-31 14:25:45 +00:00
Mohammad DAMT
9b9ec85b28 Updated Indonesian translation.
2005-08-30  Mohammad DAMT  <mdamt@gnome.org>
  * id.po: Updated Indonesian translation.
2005-08-30 19:42:01 +00:00
Matthias Clasen
555b46b039 Enhance sort() documentation. (#314839, Behdad Esfahbod)
2005-08-30  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays.sgml:
	* glib/tmpl/arrays_pointer.sgml:
	* glib/tmpl/arrays_byte.sgml: Enhance sort() documentation.
	(#314839, Behdad Esfahbod)
2005-08-30 14:19:56 +00:00
Clytie Siddall
141cf2434e vi.po: Updated Vietnamese translation.CVS: ---------------------------------------------------------------------- 2005-08-29 03:33:56 +00:00
Francisco Javier F. Serrador
b633bb61cc Updated Spanish translation
2005-08-28  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation
2005-08-28 17:23:28 +00:00
Tomasz Kłoczko
062b37e4f7 kill fuzzy. 2005-08-28 15:49:12 +00:00
Ivan Stojmirov
0e8aa83171 Updated mk translation 2005-08-28 14:57:45 +00:00
Maxim Dziumanenko
129416869a Updated Ukrainian translation.
2005-08-28  Maxim Dziumanenko <mvd@mylinux.ua>

	* Updated Ukrainian translation.
2005-08-28 14:05:31 +00:00
Josep Puigdemont i Casamajó
c86e122b01 Updated Catalan translation. 2005-08-28 08:21:44 +00:00
Ankitkumar Rameshchandra Patel
fed4de401b Updated Translations 2005-08-28 07:48:17 +00:00
Matthias Clasen
f60ede1724 Unify some near-duplicate strings. (#314654, Clytie Siddall)
2005-08-28  Matthias Clasen  <mclasen@redhat.com>

	* glib/giochannel.c: Unify some near-duplicate strings. (#314654,
	Clytie Siddall)
2005-08-28 06:11:55 +00:00
Adam Weinberger
33672401a0 Updated Canadian English translation.
2005-08-27  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-08-27 23:13:15 +00:00
Terance Sola
2ae1389b36 Updated Norwegian bokmål translation. Same.
2005-08-27  Terance Sola  <terance@lyse.net>

	* nb.po: Updated Norwegian bokmål translation.
	* no.po: Same.
2005-08-27 18:00:14 +00:00
Clytie Siddall
b1965e6405 vi.po: Updated Vietnamese translation. 2005-08-27 12:30:56 +00:00
Christophe Merlet
c1ec71a1fb Updated French translation. 2005-08-27 10:52:06 +00:00
Ivan Stojmirov
4ac3e8313c Updated Macedonian Translation 2005-08-27 10:22:04 +00:00
Ankitkumar Rameshchandra Patel
7a2c06eb5e Updated Translations 2005-08-27 09:38:49 +00:00
Mugurel Tudor
70a0edf4f5 Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>
2005-08-27  Mugurel Tudor  <mugurelu@gnome.ro>

	* ro.po: Updated Romanian translation
	by Misu Moldovan <dumol@gnome.ro>
2005-08-27 07:22:07 +00:00
Francisco Javier F. Serrador
ecc5407988 Updated Spanish translation.
2005-08-27  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-08-26 22:32:52 +00:00
Matthias Clasen
6f3e44dc4f Add new indices 2005-08-26 19:28:26 +00:00
Matthias Clasen
6c1eca79c8 Bump version 2005-08-26 19:27:01 +00:00
Laurent Dhima
345ea170da Updated Albanian translation.
2005-08-26  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-08-26 17:03:12 +00:00
Matthias Clasen
c593d2b180 Improvements pointed out by Behdad Esfahbod (#314460):
2005-08-26  Matthias Clasen  <mclasen@redhat.com>

	Improvements pointed out by Behdad Esfahbod (#314460):

	* glib/tmpl/strings.sgml: Fix up some character/byte
	sloppyness.

	* glib/tmpl/iochannels.sgml: Don't mention deprecated
	functions in the introduction.
2005-08-26 16:46:09 +00:00
Jordi Mallach
1b43764b52 Updated Catalan translation. 2005-08-26 13:00:04 +00:00
Priit Laes
89213d8b2d Translation updated by Ivar Smolin.
2005-08-26  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-08-26 08:55:34 +00:00