Commit Graph

3257 Commits

Author SHA1 Message Date
Matthias Clasen
0c2739405c Pass the option name also in the NO_ARG case. (#308602, Masatake YAMATO)
2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (parse_short_option, parse_long_option):
	Pass the option name also in the NO_ARG case.  (#308602,
	Masatake YAMATO)
2005-06-22 16:24:22 +00:00
Tor Lillqvist
1833a93ddd New function. Creates a directory including intermediate parent
2005-06-22  Tor Lillqvist  <tml@novell.com>

	* glib/gfileutils.c (g_makepath): New function. Creates a
	directory including intermediate parent directories as
	needed. (#60509)

	* glib/gfileutils.h: Declare it.

	* glib/glib.symbols: Add it.

	* tests/testglib.c: Test it.
2005-06-22 09:43:37 +00:00
Tor Lillqvist
adb066fa11 Add Since: 2.8 to g_get_host_name(). 2005-06-22 09:02:41 +00:00
Tor Lillqvist
477989f555 New function. Returns the machine's name, or one of its names. Document
2005-06-22  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (g_get_host_name): New function. Returns the
	machine's name, or one of its names. Document that it is
	best-effort only, and not guaranteed to be unique or anything.
	(g_get_any_init): Get the host name here. On Unix use
	gethostname(), on Windows use GetComputerName(). (#5200)

	* glib/gutils.h
	* glib/glib.symbols: Add here, too.

	* tests/testglib.c: Test it.
2005-06-22 08:54:28 +00:00
Priit Laes
da4aefe4a1 Translation updated.
2005-06-21  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated.
2005-06-20 21:01:38 +00:00
Matthias Clasen
e884a3954b Avoid a warning. (#308295, Murray Cumming).
2005-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gparam.h (GParamFlags): Avoid a warning.  (#308295,
	Murray Cumming).
2005-06-20 03:09:35 +00:00
Matthias Clasen
3a7a096682 Add G_OPTION_FLAG_NO_ARG and G_OPTION_FLAG_FILENAME to allow greater
2005-06-18  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.h:
	* glib/goption.c: Add G_OPTION_FLAG_NO_ARG and
	G_OPTION_FLAG_FILENAME to allow greater control of
	G_OPTION_ARG_CALLBACK options. (#302632, Dan Winship)

	* tests/option-test.c: test callback args
2005-06-18 04:55:26 +00:00
Adam Weinberger
2e5ed68b65 Updated Canadian English translation.
2005-06-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-06-17 05:39:09 +00:00
Vincent van Adrighem
94533b8e2a Translation updated by Tino Meinen.
2005-06-16  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-06-16 16:20:48 +00:00
Mathieu Lacage
15c7e35b33 fix typo reported by Hong Gang XU.
2005-06-16  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_gtype.xml: fix typo reported by Hong Gang XU.
2005-06-16 07:46:37 +00:00
Marcel Telka
2ac976e8aa Updated Slovak translation.
2005-06-15  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-06-15 19:09:33 +00:00
Theppitak Karoonboonyanan
ef3ae3af4f Added 'th' (Thai) to ALL_LINGUAS. Added Thai translation.
2005-06-14  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* configure.in: Added 'th' (Thai) to ALL_LINGUAS.
	* po/th.po: Added Thai translation.
2005-06-14 09:30:08 +00:00
Rajesh Ranjan
1d93aadc69 updated by rranajn 2005-06-14 05:27:48 +00:00
Francisco Javier F. Serrador
898278802f Updated Spanish translation.
2005-06-13  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-06-13 19:18:53 +00:00
Matthias Clasen
7ba9d5000f Re-add G_PARAM_PRIVATE as a deprecated name for bit 5, since some language
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gparam.h (GParamFlags): Re-add G_PARAM_PRIVATE as a
	deprecated name for bit 5, since some language bindings
	have it bound.
2005-06-13 18:08:05 +00:00
Alexander Shopov
c7c71e600f Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2005-06-13  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2005-06-13 06:21:43 +00:00
Terance Sola
7ca4c8264c Updated Norwegian translation. Same as above.
2005-06-13  Terance Sola  <terance@lyse.net>

	* nb.po: Updated Norwegian translation.
	* no.po: Same as above.
2005-06-12 22:33:22 +00:00
Miloslav Trmac
02df5d9a6c Updated Czech translation.
2005-06-12  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-06-12 12:46:33 +00:00
Martin Willemoes Hansen
d326e33b5f Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-11 08:24:39 +00:00
Priit Laes
29af7dccd3 Translation updated.
2005-06-10  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated.
2005-06-10 18:45:17 +00:00
Matthias Clasen
74a1197296 Post-release version bump 2005-06-10 16:06:40 +00:00
Matthias Clasen
604ad5fa3d 2.7.0 2005-06-10 15:48:25 +00:00
Matthias Clasen
0b5df1e378 Updates 2005-06-10 14:58:32 +00:00
Matthias Clasen
72b87045e8 Forgotten log entry 2005-06-10 13:25:11 +00:00
Matthias Clasen
42a32a7817 Forgotten file 2005-06-10 13:24:30 +00:00
Matthias Clasen
0abf02e121 Minor stylistic fix 2005-06-10 13:24:02 +00:00
Matthias Clasen
9eedca42b1 Add g_chdir
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Add g_chdir
2005-06-10 03:13:43 +00:00
Matthias Clasen
e90cd618b1 Set errno to 0 before calling strtol. (#306388, Morten Welinder)
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (parse_int): Set errno to 0 before calling
	strtol.  (#306388, Morten Welinder)
2005-06-09 15:39:29 +00:00
Matthias Clasen
f15bb122ce Allow setstacksize to fail. (#304790, Michael Banck)
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gthread-posix.c (g_thread_create_posix_impl): Allow
	setstacksize to fail.  (#304790, Michael Banck)
2005-06-09 15:25:01 +00:00
Tor Lillqvist
f928d83482 glib/gstdio.h glib/gstdio.c Add a chdir() wrapper, too.
2005-06-09  Tor Lillqvist  <tml@novell.com>

	* glib/gstdio.h
	* glib/gstdio.c
	* glib/glib.symbols: Add a chdir() wrapper, too.

	* glib/glib.symbols: Add g_win32_locale_filename_from_utf8().

	* glib/gwin32.c (g_win32_locale_filename_from_utf8): Clarify doc
	comment.
2005-06-09 10:46:21 +00:00
Tor Lillqvist
b8d34f6609 New helper function on Win32, returns the root of the drive (or possibly
2005-06-08  Tor Lillqvist  <tml@novell.com>

	* glib/gutils.c (get_windows_directory_root): New helper function
	on Win32, returns the root of the drive (or possibly share) where
	the Windows directory is. (In the case of Terminal Server sessions
	the Windows directory is a per-user folder.)
	(g_get_any_init): Use get_windows_directory_root() as last resort
	for both temp directory and home directory. g_get_home_dir() now
	never returns NULL on Win32. Don't look at HOMEDRIVE and
	HOMEPATH. HOME, USERPROFILE, CSIDL_PROFILE and Windows directory
	drive root should be enough.
2005-06-08 20:03:12 +00:00
Martin Willemoes Hansen
9eec791d98 Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-08 12:28:43 +00:00
Martin Willemoes Hansen
32d299f523 Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-08 11:50:43 +00:00
Martin Willemoes Hansen
3f4a51f77f Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-08 11:49:47 +00:00
Matthias Clasen
e6cc98c9cd New function to calculate collation keys which are more suitable for
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols:
	* glib/gunicode.h:
	* glib/gunicollate.c (g_utf8_collate_key_for_filename):
	New function to calculate collation keys which are more
	suitable for sorting filenames.  (#172690, Ole Laursen)
2005-06-08 05:22:05 +00:00
Vincent van Adrighem
cf424bfcdb Translation updated by Tino Meinen.
2005-06-06  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-06-06 16:46:54 +00:00
Ignacio Casal Quinteiro
38f8fcfb72 *** empty log message *** 2005-06-05 18:04:23 +00:00
Funda Wang
aef4f9a42a Updated Simplified Chinese translation 2005-05-30 02:15:18 +00:00
Sanlig Badral
0c3c4a1a81 Updated Mongolian translation. 2005-05-29 23:27:48 +00:00
Miloslav Trmac
7ed6812d7c Updated Czech translation.
2005-05-29  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-05-29 12:16:12 +00:00
Adam Weinberger
02698e025e Updated Canadian English translation.
2005-05-28  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-05-28 18:39:55 +00:00
Manish Singh
ba5a4d9db6 initialize option_name before using it.
Fri May 27 17:18:00 2005  Manish Singh  <yosh@gimp.org>

        * glib/goption.c (parse_short_option): initialize option_name
        before using it.
2005-05-28 00:19:14 +00:00
Matthias Clasen
4c4f106344 Return an error if an option is missing its argument. (#305576, Björn
2005-05-27  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (parse_short_option, parse_long_option):
	Return an error if an option is missing its argument.  (#305576,
	Björn Lindqvist)

	* tests/option-test.c (missing_arg_test): Add a testcase.
2005-05-27 18:30:34 +00:00
Mathieu Lacage
8db223409d fix lots of typos, some of which were reported by Leonardo Boshell.
2005-05-25  Mathieu Lacage <mathieu@gnome.org>

	* gobject/tut_*.xml: fix lots of typos,
	some of which were reported by Leonardo Boshell.
2005-05-27 12:04:54 +00:00
Manish Singh
1397c53eb7 rest_description should be const.
Wed May 25 15:33:51 2005  Manish Singh  <yosh@gimp.org>

        * glib/goption.c (print_help): rest_description should be const.
2005-05-25 22:37:48 +00:00
Matthias Clasen
499d7937b7 Don't eat Hangul when normalizing. (#301742, reported by Christian Biere,
2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* glib/gunidecomp.c (combine_hangul): Don't eat Hangul
	when normalizing.  (#301742, reported by Christian Biere,
	patch by Noah Levitt)
2005-05-25 16:03:13 +00:00
Matthias Clasen
0b8e42a2f5 If the remaining argument has an arg_description, display the synopsis as
2005-05-24  Matthias Clasen  <mclasen@redhat.com>

	* glib/goption.c (print_help): If the remaining argument
	has an arg_description, display the synopsis as
	PROGNAME [OPTION...] REST  (#305346, Noah Levitt)
2005-05-25 02:42:21 +00:00
Matthias Clasen
d38febf6b3 Point out exceptions to the general GLib data structure locking rules.
2005-05-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/tmpl/threads.sgml: Point out exceptions to the
	general GLib data structure locking rules.
2005-05-23 19:10:54 +00:00
Pawan Chitrakar
921b8bc1c7 nepali translation updated 2005-05-21 10:45:40 +00:00
Matthias Clasen
b5c20b801c dup the new value before freeing the old, just in case. (#172142, Morten
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* gvaluetypes.c (g_value_set_string): dup the new value
	before freeing the old, just in case.  (#172142, Morten
	Welinder)
2005-05-20 20:51:38 +00:00