Commit Graph

3470 Commits

Author SHA1 Message Date
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
Tor Lillqvist
4362cb6f26 Improve error reporting. Slight refactoring.
2005-08-26  Tor Lillqvist  <tml@novell.com>

	* glib/gspawn-win32.c: Improve error reporting. Slight refactoring.
2005-08-26 01:43:11 +00:00
Tor Lillqvist
41e833ae4c Make also the g_spawn*() functions take parameters in the GLib file name
2005-08-25  Tor Lillqvist  <tml@novell.com>

	Make also the g_spawn*() functions take parameters in the GLib
	file name encoding, i.e. UTF-8, on Windows. Has no impact on Unix
	API or ABI. Like the other GLib API that was earlier changed to
	use UTF-8 on Windows, the names of the functions that take UTF-8
	have _utf8 suffixes added by using preprocessor macros in the
	header file. The old names are kept for functions with the old
	behaviour, taking parameters in the system codepage, for DLL ABI
	stability.

	* glib/gspawn.h: On Win32 add the suffix _utf8 to the names of the
	g_spawn*() functions.

	* glib/gspawn-win32.c: Use wide-char API on NT-based
	Windows. Convert parameters from UTF-8 to wide chars (NT) or
	system codepage (Win9x) and call the C library _wspawn*() or
	spawn*() functions respectvely. Add DLL ABI stability versions
	that take parameters in the system codepage.

	* glib/gspawn-win32-helper.c: On NT-based Windows use the
	wide-char versions of argv and envp, and use wide-char API to
	change directory and spawn the program to run. Remove the verbose
	debugging output, it was too complex to modify for the wide-char
	features. (Just add temporary debugging printouts if needed, no
	need to have them permanently in the source.)

	* glib/gspawn.c: Corresponding documentation updates.

	* glib/glib.symbols: Corresponding changes: Mark the ABI stability
	symbols as PRIVATE, add the new _utf8-suffixed ones.
2005-08-25 23:28:24 +00:00
Owen Taylor
2982892d98 Truncate ChangeLog after moving aside 2005-08-24 18:53:51 +00:00
Stepan Kasal
d923d1f03f (G_MININT64): Cast to gint64. 2005-08-24 14:14:02 +00:00
Matthias Clasen
4adde8fdca Fix the crt_externs.h include 2005-08-24 03:11:45 +00:00
Stepan Kasal
6072bfbb08 Stepan 2005-08-23 07:16:20 +00:00
Matthias Clasen
be07400b2d Bump version 2005-08-23 04:57:18 +00:00
Matthias Clasen
4bf14f1c4e 2.8.1 2005-08-23 04:35:33 +00:00
Matthias Clasen
d7a216df8f Point out time_t vs GTime pitfalls.
2005-08-22  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/date.sgml: Point out time_t vs GTime pitfalls.
2005-08-22 15:39:34 +00:00
Changwoo Ryu
8680e1fe10 Updated Korean translation.
2005-08-22  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2005-08-21 18:16:37 +00:00
Hans Breuer
0b106554ac link with ws2_32.lib
2005-08-20  Hans Breuer  <hans@breuer.org>

	* glib/makefile.msc.in : link with ws2_32.lib
2005-08-20 13:26:19 +00:00
Rhys Jones
61abc4ac47 Updated Welsh translation.
2005-08-18  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh translation.
2005-08-18 17:24:10 +00:00
Tor Lillqvist
3c449f00cc Check for <sys/wait.h>
2005-08-18  Tor Lillqvist  <tml@novell.com>

	* configure.in: Check for <sys/wait.h>

	* glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
2005-08-18 13:08:18 +00:00
Ross Burton
efa05f88ef Optimise single-character insertions 2005-08-18 09:30:24 +00:00
Matthias Clasen
a1ab92582c Check for crt_externs.h and _NSGetEnviron.
2005-08-17  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for crt_externs.h and _NSGetEnviron.

	* glib/gutils.c: On Darwin, include crt-externs.h and
	define environ using _NSGetEnviron().  (#313731)
2005-08-17 18:31:08 +00:00
Stepan Kasal
63828e25ec Move the body of the big if... (g_get_any_init_do): ... to this new
2005-08-16  Stepan Kasal  <kasal@ucw.cz>

	* glib/gutils.c (g_get_any_init): Move the body of the big if...
	(g_get_any_init_do): ... to this new function.
	(g_get_any_init): Declare as inline.
	(g_get_any_init_locked): New inline function, does the locking.
	Make use of these two throughout the code.
2005-08-17 12:00:51 +00:00