3158 Commits

Author SHA1 Message Date
Tor Lillqvist
468fd8a9e8 If the event fired, assign f->revents=f->events. We can't know whether the
2005-03-29  Tor Lillqvist  <tml@novell.com>

	* glib/gmain.c (g_poll): If the event fired, assign
	f->revents=f->events. We can't know whether the upper layer using
	the event actually is readable, writeable or what, so say that all
	the conditions hold. Remove the ResetEvent() call that has been
	ifdeffed out anyway for a long time. Remove an "#ifdef 1" and
	#endif pair of lines, that code is not optional.
2005-03-29 07:44:55 +00:00
Tor Lillqvist
7152646679 Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated after all, and in fact
2005-03-27  Tor Lillqvist  <tml@novell.com>

	* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
	after all, and in fact necessary with HEAD libtool.
2005-03-27 19:15:26 +00:00
Tor Lillqvist
55e383a1c3 [Win32] Fix corner case bug when environment variable value is exactly one
2005-03-23  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (g_getenv): [Win32] Fix corner case bug when
	environment variable value is exactly one character.
2005-03-23 14:55:02 +00:00
Matthias Clasen
06ba5a1e73 Avoid forcing extra newlines when using template files. (#171005)
2005-03-21  Matthias Clasen  <mclasen@redhat.com>

	* glib-mkenums.in: Avoid forcing extra newlines when using
	template files.  (#171005)
2005-03-22 03:49:58 +00:00
Tor Lillqvist
aed082e1e0 Print more detailled output from the timer tests. Don't print home
2005-03-20  Tor Lillqvist  <tml@novell.com>

	* tests/testglib.c (main): Print more detailled output from the
	timer tests. Don't print home directory twice. Test
	g_win32_error_message().

	* tests/spawn-test.c (run_tests): On Win32, run netstat instead of
	ipconfig. On Windows XP collecting output from ipconfig doesn't
	seem to work for some reason.
2005-03-20 20:06:49 +00:00
Tor Lillqvist
30a062866d glib/gmessages.c (g_log_default_handler) Move the Win32 code that asks the
2005-03-20  Tor Lillqvist  <tml@novell.com>

	* glib/gmessages.c (g_log_default_handler)
	* glib/gutils.c (g_get_prgname): Move the Win32 code that asks the
	program name from the system to g_get_prgname(). Do output the pid
	also on Win32 (useful in case there are several instances of the
	same program running).
2005-03-20 12:01:55 +00:00
Tor Lillqvist
69aae7e623 On Win32, use GetSystemTimeAsFileTime() instead of GetTickCount().
2005-03-20  Tor Lillqvist  <tml@novell.com>

	* glib/gtimer.c: On Win32, use GetSystemTimeAsFileTime() instead
	of GetTickCount(). (#159507)
2005-03-20 11:57:20 +00:00
Tor Lillqvist
24b14aa184 Close the process handle if the caller doesn't want it also in the case
2005-03-20  Tor Lillqvist  <tml@novell.com>

	* glib/gspawn-win32.c (do_spawn_with_pipes): Close the process
	handle if the caller doesn't want it also in the case without a
	helper process.
	(g_spawn_sync): Don't ask for a child pid which we don't need.
2005-03-20 11:52:51 +00:00
Gabor Kelemen
199da9b9b0 Added hu to ALL_LINGUAS.
2005-03-18  Gabor Kelemen  <kelemeng@gnome.hu>

	* configure.in: Added hu to ALL_LINGUAS.
2005-03-18 21:40:26 +00:00
Gabor Kelemen
d9e4271e4b Hungarian translation added.
2005-03-18  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation added.
2005-03-18 21:40:19 +00:00
Matthias Clasen
141b0b5b5b Fix keyfile documentation 2005-03-17 19:26:31 +00:00
Manish Singh
809299ece0 Shut up CVS 2005-03-16 04:36:33 +00:00
Matthias Clasen
99232a3cc8 Warn if there already is a main group. (#170445, Jeff Franks)
2005-03-15  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (g_option_context_set_main_group): Warn
	if there already is a main group.  (#170445, Jeff Franks)
2005-03-15 13:26:02 +00:00
Matthias Clasen
c0ad28bae6 Make work again.
2005-03-14  Matthias Clasen  <mclasen@redhat.com>

	* abicheck.sh: Make work again.

	* gsourceclosure.c: Fix a typo.
2005-03-14 06:46:44 +00:00
Matthias Clasen
fc28997f23 Make PLT-reduction work with gcc4, and don't include everything in
2005-03-14  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in gobjectalias.h:

	* gobject.symbols: Group symbols by header and source
	file.
	* makegobjectalias.pl: Protect definitions by the same
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is
	produced when calling makegalias.pl -def
	* Makefile.am (gobjectaliasdef.c): Add a rule to
	build this file.
	* *.c: Include gobjectalias.h after the other i
        GLib headers, include gobjectaliasdef.c at the bottom.
2005-03-14 06:39:23 +00:00
Manish Singh
447f2b0917 Shut up CVS 2005-03-14 05:32:36 +00:00
Manish Singh
001f2be6b2 remove spurious IA prefix from g_quark_try_string.
Sun Mar 13 21:28:47 2005  Manish Singh  <yosh@gimp.org>

        * glib/gdataset.c: remove spurious IA prefix from g_quark_try_string.
2005-03-14 05:32:05 +00:00
Matthias Clasen
0578f2e824 More small fixes 2005-03-14 05:10:53 +00:00
Matthias Clasen
4d6d7d2981 Another fix 2005-03-14 05:02:41 +00:00
Matthias Clasen
64b847e590 Include galias.h last 2005-03-14 05:00:58 +00:00
Matthias Clasen
94dd80b7b5 Still need to include glibconfig.h 2005-03-14 04:29:33 +00:00
Matthias Clasen
7e5ee25eab Revert accidental change 2005-03-14 04:20:56 +00:00
Matthias Clasen
8a10a94a87 Make PLT-reduction work with gcc4, and don't include everything in
2005-03-13  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in galias.h:

	* glib/glib.symbols: Group symbols by header and source file.
	* glib/makegalias.pl: Protect definitions by the same
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is
	produced when calling makegalias.pl -def
	* glib/Makefile.am (galiasdef.c): Add a rule to generate this
	file.
	* glib/*.c: Include galias.h after the other GLib headers,
	include galiasdef.c at the bottom.
2005-03-14 04:02:07 +00:00
Roozbeh Pournader
401238abcc Updated Persian translation by Hamed Malek <hamed@farsiweb.info>.
2005-03-13  Roozbeh Pournader  <roozbeh@farsiweb.info>

	* fa.po: Updated Persian translation by
	  Hamed Malek <hamed@farsiweb.info>.
2005-03-13 12:52:40 +00:00
Matthias Clasen
9f5961baf3 Avoid stupid compiler complaints about precision loss.
2005-03-11  Matthias Clasen  <mclasen@redhat.com>

	* m4macros/glib-gettext.m4: Avoid stupid compiler complaints
	about precision loss.
2005-03-11 18:01:05 +00:00
Matthias Clasen
37b4cd49d7 Add tests for g_date_get_iso8601_week_of_year().
2005-03-10  Matthias Clasen  <mclasen@redhat.com>

	* tests/date-test.c:
	* tests/testgdate.c: Add tests for
	g_date_get_iso8601_week_of_year().

	* glib/gdate.c (g_date_get_iso8601_week_of_year):
	Fix the calculation.  (#169858, Jon-Kare Hellan)
2005-03-11 05:04:10 +00:00
Ahmad Riza H Nst
dbe2a7acd2 Updated Indonesian Translation.
2005-03-09  Ahmad Riza H Nst  <ari@160c.afraid.org>

        * id.po: Updated Indonesian Translation.
2005-03-09 14:52:28 +00:00
Tor Lillqvist
82c7040646 glib/Makefile.am Merge from HEAD: Use grep | head -n 1 instead of grep -m
2005-03-09  Tor Lillqvist  <tml@novell.com>

	* glib/Makefile.am
	* gmodule/Makefile.am: Merge from HEAD: Use grep | head -n 1
	instead of grep -m 1 which doesn't work with slightly older
	versions of GNU grep in install-libtool-import-lib rule.
2005-03-09 02:23:10 +00:00
Tor Lillqvist
5355e610ba [Win32] Don't leak return value from get_special_folder(). (#169348,
2005-03-09  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (g_get_user_data_dir, g_get_user_config_dir,
	g_get_user_cache_dir, g_get_system_data_dirs,
	g_get_system_config_dirs): [Win32] Don't leak return value from
	get_special_folder(). (#169348, Daniel Atallah) Guard against
	g_home_dir being NULL, use g_tmp_dir/g_user_name in that case.
2005-03-09 02:22:20 +00:00
Matthias Clasen
ccdc2bdd3d Apply patches by Stefan Kost to document naming restrictions. (#167614)
2005-03-07  Matthias Clasen  <mclasen@redhat.com>

	* gobject/tmpl/gtype.sgml:
	* gobject/tmpl/param_value_types.sgml:
	* gobject/tmpl/gparamspec.sgml: Apply patches by
	Stefan Kost to document naming restrictions. (#167614)
2005-03-08 04:46:05 +00:00
Matthias Clasen
d1fceb3123 Fix error reporting in gmarkup. 2005-03-06 20:23:23 +00:00
Dan Damian
ae1dcae743 Updated Romanian translation by Mişu Moldovan <dumol@go.ro>.
* ro.po: Updated Romanian translation by         Mişu Moldovan <dumol@go.ro>.
2005-03-05 16:11:39 +00:00
Amanpreet Singh Alam
0fdb7103a4 update by amanpreetalam@yahoo.com for pa.po 2005-03-03 16:00:25 +00:00
Kostas Papadimas
4dbdb9fd2d Updated Greek Translation. 2005-02-28 08:37:34 +00:00
Matthias Clasen
9ef6022845 Bump version 2005-02-28 06:12:22 +00:00
Matthias Clasen
3a55b870d7 2.6.3 GLIB_2_6_3 2005-02-28 05:49:17 +00:00
Matthias Clasen
fec9af0266 Updates 2005-02-28 05:04:06 +00:00
Ivan Stojmirov
c5fdb081c8 done 2005-02-26 14:30:51 +00:00
Tor Lillqvist
dc8a120b65 Don't distribute glib.def. (#167496, J. Ali Harlow)
2005-02-24  Tor Lillqvist  <tml@novell.com>

	* glib/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:55:26 +00:00
Tor Lillqvist
4861e60c1e 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:47:02 +00:00
Matthias Clasen
95262ff478 Updates 2005-02-24 20:49:04 +00:00
Arafat Medini
4749dfbe4c Updated Arabic translation.
2005-02-24  Arafat Medini  <kinryu@silverpen.de>

	* ar.po: Updated Arabic translation.
2005-02-24 19:24:20 +00:00
Matthias Clasen
354bac249e Cosmetic fix 2005-02-24 04:23:02 +00:00
Matthias Clasen
acf9b5e815 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:22:09 +00:00
Matthias Clasen
6aa2a6bf38 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:53:41 +00:00
Matthias Clasen
02207fe486 Forgotten log entry 2005-02-24 03:28:19 +00:00
Manish Singh
ca5963a0ea 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:05:24 +00:00
Manish Singh
ad2f98909f 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:35:46 +00:00
Priit Laes
6551ede0f9 Translation updated by Ivar Smolin.
2005-02-21  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-02-21 08:24:56 +00:00
Ankitkumar Rameshchandra Patel
008dce5c9a Updated Translation 2005-02-21 05:04:46 +00:00