2194 Commits

Author SHA1 Message Date
Gareth Owen
fe71c764c4 Added British translation from Dave Lodge <dave@cirt.net> 2004-03-23 01:24:07 +00:00
Tor Lillqvist
df98b4973e glib/gspawn-win32.c Implement G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce
2004-03-10  Tor Lillqvist  <tml@iki.fi>

	* glib/gspawn-win32.c
	* glib/gspawn-win32-helper.c: Implement
	G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce Hochstetler)

	* tests/spawn-test.c
	* tests/spawn-test-win32-gui.c: Test it.
2004-03-10 22:36:27 +00:00
Manish Singh
d34c5313cd m4macros/glib-2.0.m4 quote AC_DEFUN macro names so automake 1.8 won't
Tue Jan 27 18:45:47 2004  Manish Singh  <yosh@gimp.org>

        * m4macros/glib-2.0.m4
        * m4macros/glib-gettext.m4: quote AC_DEFUN macro names so automake
        1.8 won't whine at us.
2004-01-28 02:46:55 +00:00
Tor Lillqvist
76980f36b8 Distribute makefile.msc.
2004-01-16  Tor Lillqvist  <tml@iki.fi>

	* glib/trio/Makefile.am: Distribute makefile.msc.
2004-01-16 22:59:45 +00:00
Manish Singh
47e9706bc3 #define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.
Sun Jan 11 16:05:35 2004  Manish Singh  <yosh@gimp.org>

        * glib/giounix.c: #define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.
2004-01-12 00:08:45 +00:00
Manish Singh
fa901fdf19 wrap g_io_channel_ref in a function that returns the passed in GIOChannel,
Sun Jan 11 15:34:35 2004  Manish Singh  <yosh@gimp.org>

        * gsourceclosure.c: wrap g_io_channel_ref in a function that returns
        the passed in GIOChannel, so we aren't abusing GBoxedCopyFunc
        semantics. Fixes bug #131076.
2004-01-12 00:01:38 +00:00
Manish Singh
a723c99dc9 64-bit cleanliness fixes.
Sat Jan 10 00:11:12 2004  Manish Singh  <yosh@gimp.org>

        * glib/gutils.h (g_bit_nth_lsf,g_bit_nth_msf): 64-bit cleanliness
        fixes.

        * docs/reference/glib/tmpl/misc_utils.sgml: update to reflect the
        above take gulongs now. My docs suck, someone should revisit it.
2004-01-10 08:20:26 +00:00
Owen Taylor
1147ef896f Check defined (__OPTIMIZE__) not __OPTIMIZE__. (Zack Rusin)
Tue Jan  6 15:38:30 2004  Owen Taylor  <otaylor@redhat.com>

        * glib/gutils.h: Check defined (__OPTIMIZE__) not
        __OPTIMIZE__. (Zack Rusin)
2004-01-06 20:45:32 +00:00
Dmitry Mastrukov
ee708cd665 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2003-12-17 05:26:30 +00:00
Roozbeh Pournader
ff2a2ade4b Fixed a bad pointer comparison in g_ascii_strtod that came up in fa_IR
Wed Nov 26 16:45:16 2003  Roozbeh Pournader  <roozbeh@sharif.edu>

	* glib/gstrfuncs.c: Fixed a bad pointer comparison in
	g_ascii_strtod that came up in fa_IR locale (#126640, Behdad
	Esfahbod).

	* tests/strtod-test.c: Fixed the tests to catch the above.
2003-11-26 13:46:23 +00:00
15 2003 Andrew Lanoix
eba5fee99d Bind inter-thread comminication sockets to INADDR_LOOPBACK instead of
Sat Nov 22 14:16:51.15 2003  Andrew Lanoix  <alanoix@umich.edu>

* glib/giowin32.c: Bind inter-thread comminication
sockets to INADDR_LOOPBACK instead of INADDR_ANY.
2003-11-22 19:25:34 +00:00
Tor Lillqvist
c4688b247f Fix for MSVC build: Skip strtod-test, use correct glib libraries, with 2.0
2003-11-15  Tor Lillqvist  <tml@iki.fi>

	* tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use
	correct glib libraries, with 2.0 in the names. (#126906, John
	Ehresman)
2003-11-15 03:09:20 +00:00
Jordi Mallach
cd0b7238a6 Updated Catalan translation. 2003-11-13 14:00:31 +00:00
Owen Taylor
7b76ff18ed Remove leftover from a move operation in head 2003-11-12 20:01:00 +00:00
Tor Lillqvist
202f1ed346 Add some missing entries.
2003-10-24  Tor Lillqvist  <tml@iki.fi>

	* glib/glib.def: Add some missing entries.
2003-10-24 02:14:53 +00:00
Yuri Syrota
a444dd7857 Updated Ukrainian translation 2003-10-06 10:28:53 +00:00
Nguyen Thai Ngoc Duy
4ae9f2bdf0 update vi.po 2003-10-02 00:41:49 +00:00
Tor Lillqvist
d116419688 Call protect_argv() in do_spawn() instead of in do_spawn_with_pipes() so
2003-09-30  Tor Lillqvist  <tml@iki.fi>

	* glib/gspawn-win32.c (do_spawn): Call protect_argv() in
	do_spawn() instead of in do_spawn_with_pipes() so that we can use
	the original argv[0] as the program file name parameter to
	spawnv() in the shortcut (doing without helper process)
	code. Fixes problem if GIMP 1.3 was installed in a path with
	spaces in the name.
2003-09-30 19:59:14 +00:00
Tor Lillqvist
51a143693f Remove leftover >>>> line. 2003-09-29 22:37:47 +00:00
Tor Lillqvist
384cefab93 Use hardcoded name for DLL, as there is no reliable way to determine it at
2003-09-29  Tor Lillqvist  <tml@iki.fi>

	* tests/testglib.c (main): Use hardcoded name for DLL, as there is
	no reliable way to determine it at compile or run time anyway.
2003-09-29 22:36:49 +00:00
Gustavo Maciel Dias Vieira
8974526371 Applied revision by Augusta Marques da Silva <augusta.marques@gmx.net>.
2003-09-29  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>

        * pt_BR.po: Applied revision by Augusta Marques da Silva
        <augusta.marques@gmx.net>.
2003-09-29 20:41:38 +00:00
Gediminas Paulauskas
8b017d8dc3 Add Lithuanian translation 2003-09-28 18:10:32 +00:00
Tor Lillqvist
abdb420dab Use G_GINT64_CONSTANT to define G_MININT64 etc, like in the
2003-09-03  Tor Lillqvist  <tml@iki.fi>

	* glibconfig.h.win32.in: Use G_GINT64_CONSTANT to define
	G_MININT64 etc, like in the configure-generated glibnconfig.h.
2003-09-03 19:19:14 +00:00
Pablo Gonzalo del Campo
37f2ea894c Revision of Spanish translation by Francisco Javier F. Serrador
2003-08-28  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Revision of Spanish translation by
                 Francisco Javier F. Serrador <serrador@arrakis.es>.
2003-08-28 15:04:27 +00:00
Matthias Clasen
b6227171ad Fix a C99ism. (#120821, Thomas Klausner)
2003-08-28  Matthias Clasen  <maclas@gmx.de>

	* tests/patterntest.c (verbose): Fix a C99ism.  (#120821, Thomas
	Klausner)
2003-08-27 22:30:30 +00:00
Andraz Tori
3e4fcb094a Updated Slovenian translation 2003-08-27 11:48:30 +00:00
Hans Breuer
0ea0a8696e link with trio, add gprintf.obj
2003-08-26  Hans Breuer  <hans@breuer.org>

	* glib/trio/makefile.msc : (new file)
	* glib/makefile.msc.in : link with trio, add gprintf.obj

	* glib/gscanner.c : need to include 'glib.h' before
	using G_OS_WIN32
	workaround for clumsy compiler : gscanner.c(1198) : error C2520:
	conversion from unsigned __int64 to double not implemented,
	use signed __int64 ...

	* tests/spawn-test.c : include <io.h> om G_OS_WIN32
2003-08-26 21:06:44 +00:00
Owen Taylor
6427c7e2d7 === Released 2.2.3 ===
Tue Aug 26 12:40:57 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.3 ===

        * configure.in: Added is to ALL_LINGUAS.
GLIB_2_2_3
2003-08-26 16:52:28 +00:00
Owen Taylor
970e9c29d5 === Released 2.2.3 ===
Mon Aug 25 20:30:06 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.3 ===

        * configure.in: Version 2.2.3, interface age 3.

        * NEWS: Updated.
2003-08-26 01:10:33 +00:00
Manish Singh
43ca2ef7bf fix typo in last commit, cast to GTypeValueTable * to get rid of const
Mon Aug 25 14:51:46 2003  Manish Singh  <yosh@gimp.org>

        * gtypemodule.c (g_type_module_register_type): fix typo in last
        commit, cast to GTypeValueTable * to get rid of const warning.
2003-08-25 22:04:07 +00:00
Tor Lillqvist
6e733d34d2 Avoid UNLOCKing the critical section twice, which might cause a hang.
2003-08-25  Tor Lillqvist  <tml@iki.fi>

	* glib/giowin32.c (read_thread): Avoid UNLOCKing the critical
	section twice, which might cause a hang. (#120653)

	* glib/giowin32.c (g_io_channel_unix_new): Warn if fd is both a
	valid file descriptor and socket.

	* glib/trio/trio.c: Use <locale.h> and USE_LOCALE also on
	Windows. (#115286, Ernst Lippe)
2003-08-25 21:16:13 +00:00
Owen Taylor
89628b345b add bug number 2003-08-25 18:43:15 +00:00
Owen Taylor
c3f3742947 Clarify docs on the return. Fix a memory leak if a type with a value table
Mon Aug 25 14:16:48 2003  Owen Taylor  <otaylor@redhat.com>

        * gtypemodule.c (g_type_module_register_type): Clarify
        docs on the return. Fix a memory leak if a type with a
        value table is reloaded.
2003-08-25 18:24:06 +00:00
Owen Taylor
ed4a3ed152 When DISABLE_MEM_POOLS is set, loop through and free the poll records
Mon Aug 25 12:17:20 2003  Owen Taylor  <otaylor@redhat.com>

        * glib/gmain.c (g_main_context_unref_and_unlock):
        When DISABLE_MEM_POOLS is set, loop through and free
        the poll records explicitely, since g_mem_chunk_destroy()
        won't do it. (#118121, Morten Welinder)
2003-08-25 16:20:55 +00:00
Richard Allen
8c303690a9 *** empty log message *** 2003-08-20 15:09:30 +00:00
Tor Lillqvist
0beb21e7bd [Win32] Make the fatal error message box easier to notice with
2003-08-19  Tor Lillqvist  <tml@iki.fi>

	* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
	box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
	to get a nice stop-sign icon.
2003-08-19 19:09:16 +00:00
Owen Taylor
99403027d7 Add $INTLLIBS to $LIBS temporarily, not -lintl. (Problem with fix for
Tue Aug 19 09:42:06 2003  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
        temporarily, not -lintl. (Problem with fix for
        #119171, pointed out by James Henstridge)
2003-08-19 13:45:40 +00:00
Dafydd Harries
289dc3c0f4 Updated Welsh translation. 2003-08-19 04:51:59 +00:00
Richard Allen
e44cd6a039 *** empty log message *** 2003-08-18 21:31:11 +00:00
Richard Allen
e5dfc4c48b *** empty log message *** 2003-08-18 19:43:31 +00:00
Richard Allen
bd0d48b2fc *** empty log message *** 2003-08-18 19:05:17 +00:00
Richard Allen
c4ad5f8273 Added Icelandic transdlation 2003-08-18 18:04:07 +00:00
Richard Allen
3beb5e5662 Added Icelandic translation 2003-08-18 18:03:49 +00:00
Metin Amiroff
a834e8fdfd Updated Azerbaijani translation.
2003-08-18  Metin Amiroff <metin@karegen.com>

	* az.po: Updated Azerbaijani translation.
2003-08-18 10:12:25 +00:00
Tor Lillqvist
d735a83fd6 Fix #117925 (Dov Grobgeld):
2003-08-16  Tor Lillqvist  <tml@iki.fi>

	Fix #117925 (Dov Grobgeld):

	* glib/gutils.c (g_find_program_in_path, g_basename,
	g_path_get_basename, g_path_is_absolute, g_path_skip_root,
	g_path_get_dirname, g_get_any_init): On Win32, look also for
	slashes ('/') as pathname separators.

	* glib/gfileutils.c (g_file_open_tmp): Ditto. If the template
	contains a pathname separator, include the actual one in the error
	message, instead of always the canonical one.

	(g_build_filename): Separate implementation on Win32 that looks
	for either slash or backslash. Document Unix/Windows differences.

	* tests/testglib.c
	* tests/strfunc-test.c: Test above functionality on Win32.
2003-08-16 16:42:15 +00:00
Tor Lillqvist
00f400b5ad [Win32] Don't exceed handle array bounds. Warn if there would be too many
2003-08-15  Tor Lillqvist  <tml@iki.fi>

	* glib/gmain.c (g_poll): [Win32] Don't exceed handle array
	bounds. Warn if there would be too many handles to wait
	for. (WaitForMultipleObjects() has a relatively low limit of 64
	handles. The Win32 IO channel code should be fixed not to need to
2003-08-15 05:04:20 +00:00
Tor Lillqvist
4fd57bb66b glib/Makefile.am gmodule/Makefile.am gobject/Makefile.am Use srcdir also
2003-08-13  Tor Lillqvist  <tml@iki.fi>

	* glib/Makefile.am
	* gmodule/Makefile.am
	* gobject/Makefile.am
	* gthread/Makefile.am: Use srcdir also in references to the .def
	files. (#118885, Jeff Bonggren)
2003-08-13 00:22:57 +00:00
Tor Lillqvist
52dbad4e92 Drop the Win32-specific implementation. It used WideCharToMultiByte(),
2003-08-12  Tor Lillqvist  <tml@iki.fi>

	* glib/gconvert.c (g_locale_from_utf8): Drop the Win32-specific
	implementation. It used WideCharToMultiByte(), which is broken as
	it stores unconvertable characters as fallback characters
	(question marks) in the destination string without being able to
	tell how much of the conversion succeeded. Using g_convert() like
	on Unix is better and simpler. (#117872)

	(g_locale_to_utf8): No need for the Win32-specific implementation
	here, either.

	* glib/glib.def: Remove two dups.
2003-08-12 23:45:52 +00:00
Tor Lillqvist
f80d5fadaa Remove two dups.
2003-08-12  Tor Lillqvist  <tml@iki.fi>

	* glib/glib.def: Remove two dups.
2003-08-12 23:09:05 +00:00
Matthias Clasen
9e985fb446 Copy the G_GNUC_DEPRECATED docs from HEAD.
* glib/tmpl/macros_misc.sgml: Copy the G_GNUC_DEPRECATED docs from HEAD.
2003-08-08 20:15:43 +00:00