3180 Commits

Author SHA1 Message Date
Matthias Clasen
bf6be57380 Use G_LOG_LEVEL_DEBUG in both definitions. (#300071, Tommi Komulainen)
2005-04-10  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmessages.h (g_debug): Use G_LOG_LEVEL_DEBUG in
	both definitions.  (#300071, Tommi Komulainen)
2005-04-11 00:57:02 +00:00
Matthias Clasen
8cc01c6d5f Bump version 2005-04-09 05:59:33 +00:00
Tor Lillqvist
bd1ec28ab8 Not used on Windows. (unalias_lang): Don't do anything on Windows, there
2005-04-08  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (read_aliases): Not used on Windows.
	(unalias_lang): Don't do anything on Windows, there is no
	/usr/share/locale/locale.alias file..
2005-04-08 06:50:12 +00:00
Tor Lillqvist
01f82530aa After investigating more closely the actual use cases of this function, I
2005-04-08  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (g_get_system_data_dirs): After investigating more
	closely the actual use cases of this function, I understand better
	what it needs to do on Windows. In addition to the Windows
	COMMON_APPDATA and COMMON_DOCUMENTS folders, also return the
	"share" subfolders of GLib's installation location and the
	application .exe's installation location, hoping that either
	matches what the function's caller is looking for.
2005-04-08 06:35:30 +00:00
Tor Lillqvist
d7f079f161 Use wide char API if available, and store dll name in UTF-8.
2005-04-08  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.h (G_WIN32_DLLMAIN_FOR_DLL_NAME): Use wide char API
	if available, and store dll name in UTF-8.
2005-04-08 00:09:44 +00:00
Matthias Clasen
2bfadb1c8c 2.6.4 GLIB_2_6_4 2005-04-06 15:11:50 +00:00
Matthias Clasen
c23339e2f5 Clarify docs in some places. (#172404, Morten Welinder)
2005-04-04  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c: Clarify docs in some places. (#172404,
	Morten Welinder)
2005-04-05 03:57:16 +00:00
Tor Lillqvist
9ef0b32f73 Mention related bug number in an old entry. 2005-04-05 00:53:15 +00:00
Matthias Clasen
80f2723ff1 Updates 2005-04-05 00:39:29 +00:00
Pawan Chitrakar
0db2b78108 Updated Nepali Translation
2005-04-04  Pawan Chitrakar  <pawan@nplinux.org>

	* ne.po: Updated Nepali Translation
2005-04-04 04:03:13 +00:00
Matthias Clasen
1ea7fa47f9 Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is defined. This was the pre-2.6
2005-04-03  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.h: Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is
	defined. This was the pre-2.6 behaviour, and without it,
	G_IMPLEMENT_INLINES cannot be used in multiple .c files
	at all.  (#165852, Dave Benson)
2005-04-04 03:40:40 +00:00
Matthias Clasen
70372a2f30 Add a note regarding waitpid(-1).
2005-04-01  Matthias Clasen  <mclasen@redhat.com>

	* glib/gmain.c (g_child_watch_source_new): Add a note regarding
	waitpid(-1).
	(g_child_watch_source_init_multi_threaded):
	(g_child_watch_source_init_single): Don't use SA_RESTART,
	since it causes problems on at least one platform. (#168352)
2005-04-01 21:41:13 +00:00
Steven Michael Murphy
b478e9cc0d Added new Language, Kinyarwanda (rw), to this package 2005-04-01 02:20:29 +00:00
Tor Lillqvist
ea8f5dcaf9 Typo. 2005-03-30 12:02:59 +00:00
Tor Lillqvist
776182692f Always claim file descriptors open to devices are readable, since we can't
2005-03-30  Tor Lillqvist  <tml@novell.com>

	* glib/giowin32.c (g_io_win32_fd_get_flags_internal): Always claim
	file descriptors open to devices are readable, since we can't
	know. fstat() doesn't give any useful information.
2005-03-30 12:02:48 +00:00
Matthias Clasen
e1b5eb1b68 Clarify the docs for g_ptr_array_free and g_ptr_array_remove_range.
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free and g_ptr_array_remove_range.  (#170148,
	#170149, Jared Lash)
2005-03-29 13:50:33 +00:00
Matthias Clasen
c391f555bd Clarify the docs for g_ptr_array_free. (#170149, Jared Lash)
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/arrays_pointer.sgml: Clarify the docs for
	g_ptr_array_free.  (#170149, Jared Lash)
2005-03-29 13:45:14 +00:00
Tor Lillqvist
093f42f5f7 Add Win32 warnings regarding the child setup function.
2005-03-29  Tor Lillqvist  <tml@novell.com>

	* glib/tmpl/spawn.sgml: Add Win32 warnings regarding the child
	setup function.
2005-03-29 08:21:02 +00:00
Tor Lillqvist
41cab42bdf Win32 warnings for child setup function. 2005-03-29 08:18:53 +00:00
Tor Lillqvist
d2e6d6d7ac Typo. 2005-03-29 08:11:07 +00:00
Tor Lillqvist
98dc3bef42 [Win32] Use GetSystemTimeAsFileTime() instead of time() and
2005-03-29  Tor Lillqvist  <tml@novell.com>

	* glib/gmain.c (g_get_current_time): [Win32] Use
	GetSystemTimeAsFileTime() instead of time() and
	GetTickCount(). Much simpler.
2005-03-29 08:08:56 +00:00
Tor Lillqvist
d471f2c2fc Set revents unconditionally if the event fired.
2005-03-29  Tor Lillqvist  <tml@novell.com>

	* glib/gmain.c (g_poll): Set revents unconditionally if the
	event fired.
2005-03-29 07:57:34 +00:00
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