Matthias Clasen [Fri, 10 Jun 2005 03:13:43 +0000 (03:13 +0000)]
Add g_chdir
2005-06-09 Matthias Clasen <mclasen@redhat.com>
* glib/glib-sections.txt: Add g_chdir
Matthias Clasen [Thu, 9 Jun 2005 15:39:29 +0000 (15:39 +0000)]
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)
Matthias Clasen [Thu, 9 Jun 2005 15:25:01 +0000 (15:25 +0000)]
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)
Tor Lillqvist [Thu, 9 Jun 2005 10:46:21 +0000 (10:46 +0000)]
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.
Tor Lillqvist [Wed, 8 Jun 2005 20:03:12 +0000 (20:03 +0000)]
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.
Martin Willemoes Hansen [Wed, 8 Jun 2005 12:28:43 +0000 (12:28 +0000)]
Updated Danish translation.
* da.po: Updated Danish translation.
Martin Willemoes Hansen [Wed, 8 Jun 2005 11:50:43 +0000 (11:50 +0000)]
Updated Danish translation.
* da.po: Updated Danish translation.
Martin Willemoes Hansen [Wed, 8 Jun 2005 11:49:47 +0000 (11:49 +0000)]
Updated Danish translation.
* da.po: Updated Danish translation.
Matthias Clasen [Wed, 8 Jun 2005 05:22:05 +0000 (05:22 +0000)]
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)
Vincent van Adrighem [Mon, 6 Jun 2005 16:46:54 +0000 (16:46 +0000)]
Translation updated by Tino Meinen.
2005-06-06 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Ignacio Casal Quinteiro [Sun, 5 Jun 2005 18:04:23 +0000 (18:04 +0000)]
*** empty log message ***
Funda Wang [Mon, 30 May 2005 02:15:18 +0000 (02:15 +0000)]
Updated Simplified Chinese translation
Sanlig Badral [Sun, 29 May 2005 23:27:48 +0000 (23:27 +0000)]
Updated Mongolian translation.
Miloslav Trmac [Sun, 29 May 2005 12:16:12 +0000 (12:16 +0000)]
Updated Czech translation.
2005-05-29 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
Adam Weinberger [Sat, 28 May 2005 18:39:55 +0000 (18:39 +0000)]
Updated Canadian English translation.
2005-05-28 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Manish Singh [Sat, 28 May 2005 00:19:14 +0000 (00:19 +0000)]
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.
Matthias Clasen [Fri, 27 May 2005 18:30:34 +0000 (18:30 +0000)]
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.
Mathieu Lacage [Fri, 27 May 2005 12:04:54 +0000 (12:04 +0000)]
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.
Manish Singh [Wed, 25 May 2005 22:37:48 +0000 (22:37 +0000)]
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.
Matthias Clasen [Wed, 25 May 2005 16:03:13 +0000 (16:03 +0000)]
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)
Matthias Clasen [Wed, 25 May 2005 02:42:21 +0000 (02:42 +0000)]
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)
Matthias Clasen [Mon, 23 May 2005 19:10:54 +0000 (19:10 +0000)]
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.
Pawan Chitrakar [Sat, 21 May 2005 10:45:40 +0000 (10:45 +0000)]
nepali translation updated
Matthias Clasen [Fri, 20 May 2005 20:51:38 +0000 (20:51 +0000)]
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)
Federico Mena Quintero [Fri, 20 May 2005 19:30:02 +0000 (19:30 +0000)]
Merged from glib-2-6:
2005-05-20 Federico Mena Quintero <federico@ximian.com>
Merged from glib-2-6:
* glib/gspawn.c (g_spawn_command_line_sync): Clarify the meaning
of exit_status(); it's not the return code from the child, but
rather the waitpid() status.
Matthias Clasen [Fri, 20 May 2005 17:15:37 +0000 (17:15 +0000)]
Add a paragraph about thread safety of GLib data structures.
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/threads.sgml: Add a paragraph about thread
safety of GLib data structures.
Matthias Clasen [Fri, 20 May 2005 14:33:21 +0000 (14:33 +0000)]
Add a warning
Matthias Clasen [Fri, 20 May 2005 14:27:54 +0000 (14:27 +0000)]
Update an example from 1.3 to 2.x
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* glib/compiling.sgml: Update an example from 1.3 to 2.x
Matthias Clasen [Wed, 18 May 2005 13:41:11 +0000 (13:41 +0000)]
Correct the end of the Hangul Syllables range, from 0xd7af to 0xd7a3, in
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* glib/gunidecomp.c: Correct the end of the Hangul
Syllables range, from 0xd7af to 0xd7a3, in several
places. (#301984, Changwoo Ryu)
Matthias Clasen [Tue, 17 May 2005 15:33:36 +0000 (15:33 +0000)]
Check the return values of g_tree_remove().
2005-05-17 Matthias Clasen <mclasen@redhat.com>
* tests/tree-test.c (main): Check the return values of
g_tree_remove().
* glib/gtree.c (g_tree_remove, g_tree_steal): Return
a boolean indicating wether the key was found. (#302545,
Matthew F. Barnes)
Pawan chitrakr [Sun, 15 May 2005 01:32:51 +0000 (01:32 +0000)]
updated nepali translation
2005-05-15 Pawan chitrakr <pawan@nplinux.org>
* ne.po: updated nepali translation
Vincent van Adrighem [Sat, 14 May 2005 15:48:35 +0000 (15:48 +0000)]
Translation updated by Tino Meinen.
2005-05-14 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Priit Laes [Sat, 14 May 2005 15:20:53 +0000 (15:20 +0000)]
Translation updated by Ivar Smolin.
2005-05-14 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated by Ivar Smolin.
Matthias Clasen [Fri, 13 May 2005 18:09:01 +0000 (18:09 +0000)]
Mention 64bit integer types.
2005-05-13 Matthias Clasen <mclasen@redhat.com>
* gobject/glib-genmarshal.1:
* gobject/glib-genmarshal.xml: Mention 64bit integer
types.
Matthias Clasen [Tue, 10 May 2005 13:30:27 +0000 (13:30 +0000)]
Fix sloppy language, pointed out by Daniel Vaillard.
2005-05-10 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/markup.sgml: Fix sloppy language, pointed out by
Daniel Vaillard.
Manish Singh [Mon, 9 May 2005 18:21:02 +0000 (18:21 +0000)]
Shut up CVS
Matthias Clasen [Mon, 9 May 2005 05:25:21 +0000 (05:25 +0000)]
Add long descriptions.
2005-05-09 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/value_collection.sgml:
* gobject/tmpl/gboxed.sgml:
* gobject/tmpl/enumerations_flags.sgml:
* gobject/tmpl/objects.sgml: Add long descriptions.
Brian Cameron [Fri, 6 May 2005 21:54:52 +0000 (21:54 +0000)]
Added gmodule-no-export-2.0-uninstalled.pc.in to allow building of other
2005-05-06 Brian Cameron <brian.cameron@sun.com>
* configure.in, gmodule-no-export-2.0-uninstalled.pc.in,
Makefile.am: Added gmodule-no-export-2.0-uninstalled.pc.in
to allow building of other libraries like pango when
glib is uninstalled.
Matthias Clasen [Fri, 6 May 2005 20:10:52 +0000 (20:10 +0000)]
Add a testcase.
2005-05-06 Matthias Clasen <mclasen@redhat.com>
* tests/option-test.c: Add a testcase.
* glib/goption.c (g_option_context_parse): Treat '-'
on its own as a non-option argument. (#168008, Tim Musson,
Thomas Leonard and others)
Owen Taylor [Thu, 5 May 2005 14:57:29 +0000 (14:57 +0000)]
Add g_object_add/remove_toggle_ref() functions to get notification when a
2005-05-05 Owen Taylor <otaylor@redhat.com>
* gobject.[ch] gobject.symbols: Add
g_object_add/remove_toggle_ref() functions to get notification
when a reference count is the last remaining reference; this
enables better memory management for language bindings.
(http://mail.gnome.org/archives/gtk-devel-list/2005-April/msg00095.html)
2005-05-05 Owen Taylor <otaylor@redhat.com>
* glib/gdataset.[ch] glib/gdatasetprivate.h: Add
g_datalist_set/unset_flags(), g_datalist_get_flags() functions
to squeeze some bits into a GDataSet... this is needed for
efficient implementation of toggle references in GObject.
* tests/gobject/references.c tests/gobject/Makefile.am:
Add a test case for weak and toggle references.
* glib/gfileutils.[ch]: Rename g_file_replace() back
to g_file_set_contents().
* glib/glib.symbols: Update.
2005-05-05 Owen Taylor <otaylor@redhat.com>
* glib/Makefile.am glib/glib-sections.txt gobject/gobject-sections.txt:
Update
* gobject/tmpl/objects.sgml: Document toggle-references.
Matthias Clasen [Mon, 2 May 2005 15:45:45 +0000 (15:45 +0000)]
Documentation trivia
Matthias Clasen [Mon, 2 May 2005 15:29:43 +0000 (15:29 +0000)]
Small additions.
2005-05-02 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/signals.sgml:
* gobject/tmpl/generic_values.sgml:
* gobject/tmpl/gtype.sgml:
* gobject/tmpl/value_arrays.sgml:
* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/gtypemodule.sgml:
* gobject/tmpl/enumerations_flags.sgml: Small additions.
Priit Laes [Mon, 2 May 2005 06:07:16 +0000 (06:07 +0000)]
Translation updated by Ivar Smolin.
2005-05-02 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated by Ivar Smolin.
Matthias Clasen [Sun, 1 May 2005 22:28:57 +0000 (22:28 +0000)]
One more parameter renamed
Matthias Clasen [Sun, 1 May 2005 22:02:16 +0000 (22:02 +0000)]
Additions
Matthias Clasen [Sun, 1 May 2005 21:57:49 +0000 (21:57 +0000)]
More doc fixups
Matthias Clasen [Sun, 1 May 2005 21:55:40 +0000 (21:55 +0000)]
More cosmetics
Matthias Clasen [Sun, 1 May 2005 21:53:02 +0000 (21:53 +0000)]
cosmetics
Matthias Clasen [Sun, 1 May 2005 21:40:46 +0000 (21:40 +0000)]
Fix some typos
Matthias Clasen [Sun, 1 May 2005 21:39:23 +0000 (21:39 +0000)]
Additions
Matthias Clasen [Sun, 1 May 2005 21:37:37 +0000 (21:37 +0000)]
Additions
Matthias Clasen [Sun, 1 May 2005 21:28:32 +0000 (21:28 +0000)]
Additions
Matthias Clasen [Sun, 1 May 2005 21:26:18 +0000 (21:26 +0000)]
Doc fixes
Matthias Clasen [Sun, 1 May 2005 21:20:20 +0000 (21:20 +0000)]
Some additions
Matthias Clasen [Sun, 1 May 2005 21:14:13 +0000 (21:14 +0000)]
Cosmetics
Miloslav Trmac [Sat, 30 Apr 2005 14:43:49 +0000 (14:43 +0000)]
Updated Czech translation.
2005-04-30 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
Matthias Clasen [Fri, 29 Apr 2005 18:33:41 +0000 (18:33 +0000)]
Add a boxed type for GDate. (#301787, Tim-Philipp Müller)
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols:
* gboxed.h (G_TYPE_DATE):
* gboxed.c: Add a boxed type for GDate. (#301787, Tim-Philipp
Müller)
Matthias Clasen [Fri, 29 Apr 2005 18:28:56 +0000 (18:28 +0000)]
Clarify some docs. (#302062, Matthew F. Barnes)
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* glib/gtree.c: Clarify some docs. (#302062, Matthew F. Barnes)
Matthias Clasen [Thu, 28 Apr 2005 20:47:51 +0000 (20:47 +0000)]
Warn and don't crash when meeting a trailing \\. (#301373, Benjamin Otte)
2005-04-28 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c (g_strcompress): Warn and don't crash
when meeting a trailing \\. (#301373, Benjamin Otte)
Tor Lillqvist [Wed, 27 Apr 2005 09:50:09 +0000 (09:50 +0000)]
Don't call g_set_error() unless the GError pointer is non-NULL. This
2005-04-27 Tor Lillqvist <tml@novell.com>
* glib/gconvert.c (open_converter, g_convert_with_iconv): Don't
call g_set_error() unless the GError pointer is non-NULL. This
avoids infinite recursion problems in certain rare situations on
Windows, when g_locale_from_utf8() is called from
_glib_get_locale_dir() after the change below. It's the
_glib_gettext() calls to translate error messages that are
parameters to g_set_error() that cause the recursion, not
g_set_error() itself.
* glib/gwin32.c (g_win32_locale_filename_from_utf8): New
function. Converts a filename to the system codepage, and if a
straight conversion isn't possible (because the filename contains
characters not in the system codepage), try looking up the
filename (which should refer to an existing file for this to
succeed) with short (8.3) pathname components.
* glib/gutils.c (_glib_get_locale_dir): No need to cache the
result, this function is normally called only once. Return the
path to the locale directory in system codepage, not UTF-8. The
path is passed to bindtextdomain(), which doesn't use UTF-8 file
names. Use g_win32_locale_filename_from_utf8(). (#301772)
Don't do run-time lookup of message catalog directory on
Cygwin. Cygwin is supposed to look and feel like Unix, and on Unix
we use paths fixed at configure time.
Gabor Kelemen [Wed, 27 Apr 2005 00:24:10 +0000 (00:24 +0000)]
Added hu to ALL_LINGUAS.
2005-04-27 Gabor Kelemen <kelemeng@gnome.hu>
* configure.in: Added hu to ALL_LINGUAS.
Gabor Kelemen [Wed, 27 Apr 2005 00:24:04 +0000 (00:24 +0000)]
Hungarian translation added.
2005-04-27 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Hungarian translation added.
Francisco Javier F. Serrador [Sat, 23 Apr 2005 16:13:03 +0000 (16:13 +0000)]
Updated Spanish translation.
2005-04-23 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Stefan Kost [Sat, 23 Apr 2005 09:50:36 +0000 (09:50 +0000)]
all interface examples use 'interface' instead of 'class'
Stefan Kost [Fri, 22 Apr 2005 18:34:41 +0000 (18:34 +0000)]
add missing image
Stefan Kost [Fri, 22 Apr 2005 10:27:37 +0000 (10:27 +0000)]
merged in docs form the gobject tutorial
David Lodge [Tue, 19 Apr 2005 19:08:40 +0000 (19:08 +0000)]
Updated British English translation.
2005-04-18 David Lodge <dave@cirt.net>
* en_GB.po: Updated British English translation.
Tor Lillqvist [Tue, 19 Apr 2005 08:08:36 +0000 (08:08 +0000)]
Minor comment improvement.
2005-04-19 Tor Lillqvist <tml@novell.com>
* glib/gutils.h: Minor comment improvement.
2005-04-18 Tor Lillqvist <tml@novell.com>
* glib/gfileutils.c: No <sys/wait.h> on Win32. Definition of
save_errno was missing in one place.
Adam Weinberger [Sun, 17 Apr 2005 06:25:42 +0000 (06:25 +0000)]
Updated Canadian English translation.
2005-04-17 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Soeren Sandmann [Sun, 17 Apr 2005 00:16:51 +0000 (00:16 +0000)]
Save the errno in various places
Sat Apr 16 20:15:44 2005 Soeren Sandmann <sandmann@redhat.com>
* glib/gfileutils.c (g_file_replace): Save the errno in various
places
* glib/gfileutils.c (set_umask_permissions): Fork a child and do
chmod() to the umask() permissions there.
Iñaki Larrañaga [Tue, 12 Apr 2005 17:02:13 +0000 (17:02 +0000)]
Updated Basque translation.
2005-04-12 Iñaki Larrañaga <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
Laurent Dhima [Tue, 12 Apr 2005 08:21:47 +0000 (08:21 +0000)]
Updated Albanian translation.
2005-04-12 Laurent Dhima <laurenti@alblinux.net>
* sq.po: Updated Albanian translation.
Matthias Clasen [Mon, 11 Apr 2005 01:03:37 +0000 (01:03 +0000)]
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)
Tor Lillqvist [Sat, 9 Apr 2005 01:21:29 +0000 (01:21 +0000)]
Include <process.h> on Win32 for getpid(). (#173094)
2005-04-09 Tor Lillqvist <tml@novell.com>
* glib/gutils.c: Include <process.h> on Win32 for getpid(). (#173094)
Tor Lillqvist [Fri, 8 Apr 2005 12:21:28 +0000 (12:21 +0000)]
glib/gstdio.h glib/gstdio.c Wrap also creat(). (#171285)
2005-04-08 Tor Lillqvist <tml@novell.com>
* glib/gstdio.h
* glib/gstdio.c
* glib/glib.symbols (g_creat): Wrap also creat(). (#171285)
Tor Lillqvist [Fri, 8 Apr 2005 12:11:41 +0000 (12:11 +0000)]
glib/gstdio.h glib/gstdio.c Wrap also access() and chmod(). (#169623)
2005-04-08 Tor Lillqvist <tml@novell.com>
* glib/gstdio.h
* glib/gstdio.c
* glib/glib.symbols (g_access, g_chmod): Wrap also access() and
chmod(). (#169623)
Tor Lillqvist [Fri, 8 Apr 2005 12:03:16 +0000 (12:03 +0000)]
Improve g_get_system_data_dirs() on Windows. A library that calls
2005-04-08 Tor Lillqvist <tml@novell.com>
Improve g_get_system_data_dirs() on Windows. A library that calls
g_get_system_data_dirs() might be installed in a different
top-level prefix than GLib or the application being run.
* glib/gutils.h (g_win32_get_system_data_dirs): New static
function defined in this header. Calls
g_win32_get_system_data_dirs_for_module() passing the address of
itself as parameter. g_get_system_data_dirs() is #defined as this
function.
* glib/gutils.c (g_win32_get_system_data_dirs_for_module): New
function. If the address parameter is non-NULL, the corresponding
module's installation location is used for one of the returned
path names, in addition to the COMMON_APPDATA, COMMON_DOCUMENTS,
glib top-level and application top-level folders.
(g_get_system_data_dirs): Now just for backward compatibility on
Win32. Just call g_win32_get_system_data_dirs_for_module(NULL).
* glib/glib.symbols: Add g_win32_get_system_data_dirs_for_module.
Tor Lillqvist [Fri, 8 Apr 2005 06:48:17 +0000 (06:48 +0000)]
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..
Tor Lillqvist [Fri, 8 Apr 2005 06:37:50 +0000 (06:37 +0000)]
Cosmetics.
5 [Fri, 8 Apr 2005 05:52:20 +0000 (05:52 +0000)]
Declare glib_top_share_dir and exe_top_share_dir only in G_OS_WIN32.
Thu Apr 7 22:51:15 2005 <yosh@gimp.org>
* glib/gutils.c (g_get_system_data_dirs): Declare glib_top_share_dir
and exe_top_share_dir only in G_OS_WIN32.
Gareth Owen [Fri, 8 Apr 2005 01:01:56 +0000 (01:01 +0000)]
Updated British English translation
Tor Lillqvist [Fri, 8 Apr 2005 00:40:02 +0000 (00:40 +0000)]
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 should do. 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.
Tor Lillqvist [Thu, 7 Apr 2005 23:46:38 +0000 (23:46 +0000)]
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.
Matthias Clasen [Tue, 5 Apr 2005 04:09:49 +0000 (04:09 +0000)]
Avoid memory leaks in borderline cases. (#172612, Morten Welinder)
2005-04-05 Matthias Clasen <mclasen@redhat.com>
* glib/gfileutils.c (get_contents_stdio): Avoid memory
leaks in borderline cases. (#172612, Morten Welinder)
Matthias Clasen [Tue, 5 Apr 2005 03:56:40 +0000 (03:56 +0000)]
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)
Tor Lillqvist [Tue, 5 Apr 2005 00:55:03 +0000 (00:55 +0000)]
Mention related bug number.
Matthias Clasen [Mon, 4 Apr 2005 03:45:13 +0000 (03:45 +0000)]
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)
Matthias Clasen [Fri, 1 Apr 2005 21:40:43 +0000 (21:40 +0000)]
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)
Miloslav Trmac [Thu, 31 Mar 2005 09:08:15 +0000 (09:08 +0000)]
Updated Czech translation.
2005-03-31 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
Steven Michael Murphy [Thu, 31 Mar 2005 06:22:19 +0000 (06:22 +0000)]
Added new Language, Kinyarwanda (rw), to this package
Estêvão Samuel Procópio [Wed, 30 Mar 2005 22:40:46 +0000 (22:40 +0000)]
Updated Brazilian Portuguese Translation.
Sven Neumann [Wed, 30 Mar 2005 21:59:40 +0000 (21:59 +0000)]
handle the unlikely case that no bytes are read from the file and allocate
2005-03-30 Sven Neumann <sven@gimp.org>
* glib/gfileutils.c (get_contents_stdio): handle the unlikely case
that no bytes are read from the file and allocate an empty string.
Tor Lillqvist [Wed, 30 Mar 2005 12:03:39 +0000 (12:03 +0000)]
Typo.
Tor Lillqvist [Wed, 30 Mar 2005 12:01:27 +0000 (12:01 +0000)]
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 gve any useful information.
Matthias Clasen [Tue, 29 Mar 2005 13:51:34 +0000 (13:51 +0000)]
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)
Matthias Clasen [Tue, 29 Mar 2005 13:47:23 +0000 (13:47 +0000)]
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)
Tor Lillqvist [Tue, 29 Mar 2005 08:27:02 +0000 (08:27 +0000)]
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.
Tor Lillqvist [Tue, 29 Mar 2005 08:24:48 +0000 (08:24 +0000)]
[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.
Tor Lillqvist [Tue, 29 Mar 2005 08:00:53 +0000 (08:00 +0000)]
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.
Matthias Clasen [Mon, 28 Mar 2005 05:22:56 +0000 (05:22 +0000)]
Add tests for g_date_get_iso8601_week_of_year().
2005-03-28 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)