Commit Graph

3282 Commits

Author SHA1 Message Date
Ivan Stojmirov
1bef5ab27c done 2005-02-26 14:18:32 +00:00
Tor Lillqvist
e807014a09 Typo. 2005-02-24 23:55:51 +00:00
Tor Lillqvist
b8997fbe90 Don't distribute glib.def. (#167496, J. Ali Harlow)
2005-02-24  Tor Lillqvist  <tml@novell.com>

	* Makefile.am (BUILT_EXTRA_DIST): Don't distribute
	glib.def. (#167496, J. Ali Harlow)

	* gobject/Makefile.am (EXTRA_DIST): Don't distribute
	gobject.def. (#167496, J. Ali Harlow)
2005-02-24 23:52:35 +00:00
Tor Lillqvist
ec66d4530e Use g_fopen(). (#168341, Daniel Atallah)
2005-02-24  Tor Lillqvist  <tml@novell.com>

	* glib/gfileutils.c (get_contents_win32): Use g_fopen(). (#168341,
	Daniel Atallah)
2005-02-24 23:46:36 +00:00
Matthias Clasen
fecea1491e Don't forget to set G_THREAD_LIBS_FOR_GTHREAD on non-linux platforms.
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Don't forget to set G_THREAD_LIBS_FOR_GTHREAD
	on non-linux platforms.  (#168177, Michael Banck)
2005-02-24 04:24:16 +00:00
Matthias Clasen
db0d5b6b61 Set LANGUAGE instead of LC_ALL to shield against LANGUAGE being set in the
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c (test_locale_string): Set LANGUAGE
	instead of LC_ALL to shield against LANGUAGE being set in
	the environment.  (#168311, Suren A. Chilingaryan)
2005-02-24 03:54:42 +00:00
Manish Singh
1ecb9a686c On G_OS_UNIX, simple #define g_open and co. as aliases for their
Tue Feb 22 22:03:38 2005  Manish Singh  <yosh@gimp.org>

        * glib/gstdio.h: On G_OS_UNIX, simple #define g_open and co. as
        aliases for their respective C library functions, instead of
        using the function wrappers. This avoids library users having to
        care about matching large file support with whatever glib has been
        built with. Fixes bug #167942.

        * glib/gstdio.c
        * glib/abicheck.sh
        * glib/glib.symbols
        * glib/makegalias.pl: Logic to make the gstdio wrappers still
        available for compatibility, but not used in new code.
2005-02-23 06:04:05 +00:00
Manish Singh
ea28f59fc1 Simplify the loop for the fix below.
Tue Feb 22 18:33:07 2005  Manish Singh  <yosh@gimp.org>

        * glib/gtimer.c (g_usleep): Simplify the loop for the fix below.
2005-02-23 02:33:54 +00:00
Matthias Clasen
0e2279a092 Use a memchunk for sizeof(GQueue)-sized chunks. (#167984, Fabrício Barros
2005-02-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/gqueue.c (g_queue_new): Use a memchunk for
	sizeof(GQueue)-sized chunks.  (#167984, Fabrício Barros Cabral)
2005-02-21 04:35:29 +00:00
Matthias Clasen
92e7a4f3c9 Fix usage of nanosleep(). (#163039, Bastien Nocera)
2005-02-20  Matthias Clasen  <mclasen@redhat.com>

	* glib/gtimer.c (g_usleep): Fix usage of
	nanosleep().  (#163039, Bastien Nocera)
2005-02-21 03:50:50 +00:00
Christophe Merlet
0def87725b Updated French translation. 2005-02-20 11:37:54 +00:00
Christophe Merlet
980cf5286c Updated French translation. 2005-02-20 11:05:16 +00:00
Adi Attar
2d82003e98 Added Xhosa translation Added "xh" to ALL_LINGUAS.
2005-02-16  Adi Attar  <aattar@cvs.gnome.org>

	* xh.po: Added Xhosa translation
	* configure.in: Added "xh" to ALL_LINGUAS.
2005-02-16 16:42:20 +00:00
Amanpreet Singh Alam
e821ed2fb6 updated by amanpreetalam@yahoo.com 2005-02-16 07:52:07 +00:00
Baris Cicek
4fbbf8efdf Updated Turkish Translation by Onur Can Cakmak
* tr.po: Updated Turkish Translation by Onur Can Cakmak
2005-02-15 21:51:52 +00:00
Benoît Dejean
57c953d09d Updated French translation.
* fr.po: Updated French translation.
2005-02-13 22:16:10 +00:00
Tor Lillqvist
ab908b3c45 Include winsock2.h before windows.h, to avoid compilation errors with
2005-02-11  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c: Include winsock2.h before windows.h, to avoid
	compilation errors with MSVC. (#167105)
2005-02-11 22:43:32 +00:00
Danilo Šegan
92c6ff18cb Updated Serbian translation. 2005-02-11 12:31:14 +00:00
Matthias Clasen
1795e0aeb0 Take main group options into account when calculating column size.
2005-02-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (print_help): Take main group options into
	account when calculating column size.  (#166921)
	(g_option_context_parse): Accept -? as documented.  (#166977)
2005-02-11 04:11:34 +00:00
Matthias Clasen
de2763c99a Don't leak path
2005-02-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (find_file_in_data_dirs): Don't leak path
2005-02-09 15:40:12 +00:00
Francisco Javier F. Serrador
574076fb80 Updated Spanish translation.
2005-02-09  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-02-09 13:21:22 +00:00
Maxim Dziumanenko
80810c3b10 Update Ukrainian translation.
2005-02-09  Maxim Dziumanenko <mvd@mylinux.com.ua>

	* Update Ukrainian translation.
2005-02-09 12:20:01 +00:00
Matthias Clasen
348da88e27 Don't write out of bounds.
2005-02-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c (g_key_file_parse_value_as_string): Don't
	write out of bounds.

	* glib/goption.c (g_option_context_parse): Fix a
	one-too-short memory allocation.  (#166609, Nicolas Laurent)

	* tests/Makefile.am (TESTS_ENVIRONMENT): Add tests with
	MALLOC_CHECK_.

	* tests/option-test.c: Add a test for unkown short options.
2005-02-08 15:14:31 +00:00
Matthias Clasen
f18cab0ce3 New function to list all environment variables. (#166327, Hans Petter
2005-02-07  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gutils.h:
	* glib/gutils.c (g_listenv): New function to list all
	environment variables.  (#166327, Hans Petter Jansson)
2005-02-08 04:28:31 +00:00
Tor Lillqvist
7b93170258 Add gmodule-no-export-2.0.pc.
2005-02-07  Tor Lillqvist  <tml@novell.com>

	* glib-zip.in: Add gmodule-no-export-2.0.pc.
2005-02-07 16:31:54 +00:00
Manish Singh
f5db7d0bb3 feed the contents of config.h and glibconfig.h into the preprocessor,
Sun Feb  6 22:00:46 2005  Manish Singh  <yosh@gimp.org>

        * abicheck.sh: feed the contents of config.h and glibconfig.h
        into the preprocessor, since glib.symbols could need #defines
        from them.
2005-02-07 06:01:18 +00:00
Manish Singh
3e4de7da09 feed the contents of config.h and glibconfig.h into the preprocessor,
Sun Feb  6 21:59:09 2005  Manish Singh  <yosh@gimp.org>

        * glib/abicheck.sh: feed the contents of config.h and glibconfig.h
        into the preprocessor, since glib.symbols could need #defines
        from them.
2005-02-07 06:00:32 +00:00
Manish Singh
181d7721b2 Don't use matching constraints for asm mem parameters. This makes the code
Sun Feb  6 12:09:55 2005  Manish Singh  <yosh@gimp.org>

        * glib/gatomic.c: Don't use matching constraints for asm mem
        parameters. This makes the code match with current glibc, and
        quiets some warnings with gcc 3.4.
2005-02-06 20:25:42 +00:00
Kostas Papadimas
d049c6e557 Updated Greek Translation. 2005-02-06 09:08:43 +00:00
Tor Lillqvist
02ef59aeb7 configure.in (G_LIBS_EXTRA) I think we can include <winsock2.h> and link
2005-02-05  Tor Lillqvist  <tml@novell.com>

	* configure.in (G_LIBS_EXTRA)
	* glib/giowin32.c: I think we can include <winsock2.h> and link
	with -lws2_32. Only Windows 95 originally didn't have Winsock 2,
	and it's available as an update for it. Not that we use any actual
	Winsock 2 -only features, but still, simpler to link directly with
	ws2_32.dll instead of going through wsock32.dll.
2005-02-05 22:39:40 +00:00
Tor Lillqvist
fc67e936f8 In the Win32 ABI stability version, call g_file_get_contents_utf8(), not
2005-02-05  Tor Lillqvist  <tml@novell.com>

	* glib/gfileutils.c (g_file_get_contents): In the Win32 ABI
	stability version, call g_file_get_contents_utf8(), not
	itself. (#166386)
2005-02-05 22:09:11 +00:00
Matthias Clasen
f92617db07 Remove the --enable-ansi option (#160469)
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Remove the --enable-ansi option  (#160469)
2005-02-05 03:38:06 +00:00
Matthias Clasen
161e54209e Add a note regarding inefficiency of repeated appends. (#166271, Olivier
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/linked_lists_double.sgml:
	* glib/tmpl/linked_lists_single.sgml: Add a note
	regarding inefficiency of repeated appends. (#166271,
	Olivier Sessink)
2005-02-05 03:12:06 +00:00
Matthias Clasen
1adf109e5d Define a HAVE_GNUC_VISIBILITY automake conditional.
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Define a HAVE_GNUC_VISIBILITY automake
	conditional.

	* glib/Makefile.am (TESTS): Only check the abi if
	the compiler supports visibility, otherwise we
	know there will be (harmless) extra symbols.
	(#166181, Ed Avis)
2005-02-05 03:02:20 +00:00
Matthias Clasen
d2c401d55a Add a warning against using g_quark_from_static_string() in dynamically
2005-02-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/quarks.sgml: Add a warning against
	using g_quark_from_static_string() in dynamically
	loaded modules.
2005-02-03 05:45:21 +00:00
Tor Lillqvist
6add23f1b9 Add bug number. 2005-02-02 23:55:04 +00:00
Tor Lillqvist
e7121f5c35 Remove misleading comment, too. 2005-02-02 23:54:01 +00:00
Tor Lillqvist
67221dc03b Remove unnecessary MSVC-only typedef for pid_t. GLib does not pretend to
2005-02-02  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.h: Remove unnecessary MSVC-only typedef for
	pid_t. GLib does not pretend to be a POSIX emulation library.
2005-02-02 23:52:31 +00:00
Tor Lillqvist
031ebdd193 Don't use potentially incorrect errno in several places. (#165951)
2005-02-02  Tor Lillqvist  <tml@novell.com>

	* glib/gfileutils.c: Don't use potentially incorrect errno in
	several places. (#165951)
	(g_mkstemp): Set errno appropriately.
2005-02-02 23:28:18 +00:00
Tor Lillqvist
92c4eebc05 In the Win32 part of all functions, handle invalid UTF-8 more robustly.
2005-02-02  Tor Lillqvist  <tml@novell.com>

	* glib/gstdio.c: In the Win32 part of all functions, handle
	invalid UTF-8 more robustly. Don't pass the resulting NULL
	wide-char or codepage strings on to C library functions, but bail
	out early. (#166084)
2005-02-02 23:12:38 +00:00
Matthias Clasen
5a866843df Move doc comments inline.
2005-02-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.c: Move doc comments inline.

	* glib/ghash.h: Adjust some argument names.

	* configure.in: Give meaningful names to g_memmove()
	arguments.
2005-02-02 06:07:14 +00:00
Matthias Clasen
4a2773ee7b Add test case for key removal.
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c (test_key_remove): Add test case for
	key removal.

	* glib/gkeyfile.c (g_key_file_remove_key): Actually remove
	the key from the list of pairs.  (#165980, David Hoover)
2005-02-02 03:25:00 +00:00
Raphael Higino
8625601eab Updated pt_BR translation 2005-02-01 23:43:27 +00:00
Matthias Clasen
afb83c6f3b Doc clarifications. (#165907, Vincent Untz)
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/gkeyfile.c: Doc clarifications.  (#165907, Vincent Untz)
2005-02-01 14:17:25 +00:00
Matthias Clasen
df59e8e19b Add test case for group removal.
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c (test_group_remove): Add test case for
	group removal.

	* glib/gkeyfile.c (g_key_file_remove_group): Don't segfault
	if the group doesn't exist.  (#165887, Mathias Hasselmann)
2005-02-01 14:10:46 +00:00
Žygimantas Beručka
0e93338bc0 Updated Lithuanian translation.
2005-01-31  Žygimantas Beručka  <uid0@akl.lt>

        * lt.po: Updated Lithuanian translation.
2005-01-31 09:33:51 +00:00
Alessio Frusciante
854396364a Updated Italian translation. 2005-01-30 16:17:25 +00:00
Matthias Clasen
396253b84d Some more unit tests.
2005-01-30  Matthias Clasen  <mclasen@redhat.com>

	* tests/keyfile-test.c: Some more unit tests.
2005-01-30 06:33:10 +00:00
Christian Rose
638ff5498d Added "tl" to ALL_LINGUAS. Added Tagalog translation by Eric Pareja
2005-01-28  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "tl" to ALL_LINGUAS.
	* po/tl.po: Added Tagalog translation by
	Eric Pareja <xenos@upm.edu.ph>.
2005-01-28 18:43:34 +00:00
Matthias Clasen
5d549e5bdb Let $srcdir default to .
2005-01-24  Matthias Clasen  <mclasen@redhat.com>

	* tests/run-markup-tests.sh: Let $srcdir default to .
2005-01-24 17:35:44 +00:00