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)
Tor Lillqvist [Sun, 27 Mar 2005 19:14:14 +0000 (19:14 +0000)]
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.
Matthias Clasen [Sat, 26 Mar 2005 03:00:44 +0000 (03:00 +0000)]
Don't do the second lookup if the name was already canonical. (#171502,
2005-03-25 Matthias Clasen <mclasen@redhat.com>
* gparam.c (param_spec_ht_lookup): Don't do the second
lookup if the name was already canonical. (#171502, Morten
Welinder)
Tor Lillqvist [Wed, 23 Mar 2005 14:53:35 +0000 (14:53 +0000)]
[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.
Manish Singh [Tue, 22 Mar 2005 22:16:10 +0000 (22:16 +0000)]
cast away any constness on assignment.
Tue Mar 22 14:15:23 2005 Manish Singh <yosh@gimp.org>
* gparam.c (g_param_spec_internal): cast away any constness on
assignment.
Matthias Clasen [Tue, 22 Mar 2005 04:11:56 +0000 (04:11 +0000)]
Add g_try_malloc0
2005-03-21 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Add g_try_malloc0
Matthias Clasen [Tue, 22 Mar 2005 04:09:17 +0000 (04:09 +0000)]
Add g_try_new, g_try_new0, g_try_renew and g_try_malloc0. (#169611, Stefan
2005-03-21 Matthias Clasen <mclasen@redhat.com>
* glib/gmem.h: Add g_try_new, g_try_new0, g_try_renew and
g_try_malloc0. (#169611, Stefan Kost)
* glib/gmem.c: Implement g_try_malloc0.
Matthias Clasen [Tue, 22 Mar 2005 04:02:13 +0000 (04:02 +0000)]
Add g_try_new, g_try_new0 and g_try_renew. (#169611, Stefan Kost)
2005-03-21 Matthias Clasen <mclasen@redhat.com>
* glib/gmem.h: Add g_try_new, g_try_new0 and
g_try_renew. (#169611, Stefan Kost)
Matthias Clasen [Tue, 22 Mar 2005 03:49:01 +0000 (03:49 +0000)]
forgotten log entry
Matthias Clasen [Tue, 22 Mar 2005 03:48:05 +0000 (03:48 +0000)]
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)
Matthias Clasen [Mon, 21 Mar 2005 04:55:26 +0000 (04:55 +0000)]
Don't copy strings which are marked as static. Don't allow non-canonical
2005-03-20 Matthias Clasen <mclasen@redhat.com>
* gparam.c (g_param_spec_internal): Don't copy strings
which are marked as static. Don't allow non-canonical static
names.
* gparam.h (GParamFlags): Add G_PARAM_STATIC_{NAME,NICK,BLURB}
flags. (#160655, Ben Maurer)
Tor Lillqvist [Sun, 20 Mar 2005 20:08:23 +0000 (20:08 +0000)]
Minor printout change, now identical as in glib-2-6 branch.
Tor Lillqvist [Sun, 20 Mar 2005 11:52:09 +0000 (11:52 +0000)]
Typo.
Tor Lillqvist [Sun, 20 Mar 2005 11:46:27 +0000 (11:46 +0000)]
Close the process handle if the called 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 called 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.
Tor Lillqvist [Sun, 20 Mar 2005 11:35:48 +0000 (11:35 +0000)]
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)
Tor Lillqvist [Sun, 20 Mar 2005 10:52:38 +0000 (10:52 +0000)]
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).
Tor Lillqvist [Sun, 20 Mar 2005 10:43:38 +0000 (10:43 +0000)]
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.
Hans Breuer [Fri, 18 Mar 2005 17:44:51 +0000 (17:44 +0000)]
handle galiasdef.c (although completely useless for msvc build)
2005-03-18 Hans Breuer <hans@breuer.org>
* glib/makefile.msc.in : handle galiasdef.c (although completely
useless for msvc build)
* glib/gbacktrace.c glib/gmessage.c : need at least _WIN_VER 0x0401
for IsDebuggerPresent()
* gobject/makefile.msc.in : handle gobjectaliasdef.c
Matthias Clasen [Thu, 17 Mar 2005 19:28:15 +0000 (19:28 +0000)]
Update the documentation, reflecting the fact that the special case for
2005-03-17 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Update the documentation, reflecting the
fact that the special case for !group_name --> start_group
got removed. (#170566, Tim-Philipp Müller)
Manish Singh [Thu, 17 Mar 2005 04:02:27 +0000 (04:02 +0000)]
Shut up CVS
Adam Weinberger [Wed, 16 Mar 2005 04:51:00 +0000 (04:51 +0000)]
Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
Matthias Clasen [Tue, 15 Mar 2005 13:24:22 +0000 (13:24 +0000)]
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)
Matthias Clasen [Mon, 14 Mar 2005 06:47:51 +0000 (06:47 +0000)]
Make work again.
2005-03-14 Matthias Clasen <mclasen@redhat.com>
* abicheck.sh: Make work again.
* gsourceclosure.c: Fix a typo.
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.
Manish Singh [Mon, 14 Mar 2005 06:01:51 +0000 (06:01 +0000)]
delete a bunch of dead code.
Sun Mar 13 22:01:17 2005 Manish Singh <yosh@gimp.org>
* tests/array-test.c: delete a bunch of dead code.
Manish Singh [Mon, 14 Mar 2005 05:30:08 +0000 (05:30 +0000)]
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.
Manish Singh [Mon, 14 Mar 2005 05:07:52 +0000 (05:07 +0000)]
Shut up CVS
Matthias Clasen [Mon, 14 Mar 2005 05:06:17 +0000 (05:06 +0000)]
Some fixes
Matthias Clasen [Mon, 14 Mar 2005 04:30:25 +0000 (04:30 +0000)]
Still need to include glibconfig.h
Matthias Clasen [Mon, 14 Mar 2005 04:26:57 +0000 (04:26 +0000)]
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.
Roozbeh Pournader [Sun, 13 Mar 2005 12:54:24 +0000 (12:54 +0000)]
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>.
Soeren Sandmann [Sat, 12 Mar 2005 05:45:32 +0000 (05:45 +0000)]
Don't try and generate a dotfile from the name -- it doesn't work with
Fri Mar 11 23:51:12 2005 Soeren Sandmann <sandmann@redhat.com>
* glib/gfileutils.c (write_to_temp_file): Don't try and generate
a dotfile from the name -- it doesn't work with absolute
paths. Also make documentation indicate that symlinks will be
overwritten. Both pointed out by Alexis S. L. Carvalho.
Matthias Clasen [Fri, 11 Mar 2005 18:02:35 +0000 (18:02 +0000)]
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.
Matthias Clasen [Fri, 11 Mar 2005 04:10:53 +0000 (04:10 +0000)]
Remove a lot of pointless g_return_if_fail() checks. (#169859, Morten
2005-03-10 Matthias Clasen <mclasen@redhat.com>
* glib/gdate.c: Remove a lot of pointless g_return_if_fail()
checks. (#169859, Morten Welinder)
Sven Neumann [Thu, 10 Mar 2005 17:12:35 +0000 (17:12 +0000)]
include <gstdio.h>.
2005-03-10 Sven Neumann <sven@gimp.org>
* tests/file-test.c: include <gstdio.h>.
Sven Neumann [Thu, 10 Mar 2005 12:56:01 +0000 (12:56 +0000)]
delay memory allocation until after the first read. Saves a bunch of
2005-03-10 Sven Neumann <sven@gimp.org>
* glib/gfileutils.c (get_contents_stdio): delay memory allocation
until after the first read. Saves a bunch of reallocs. Also
increased the buffer size to 4096 bytes. (bug #165954)
* tests/file-test.c (test_get_contents): added a (very basic) test
for g_file_get_contents().
Manish Singh [Thu, 10 Mar 2005 03:07:21 +0000 (03:07 +0000)]
Add g_file_replace.
Wed Mar 9 19:06:45 2005 Manish Singh <yosh@gimp.org>
* glib/glib.symbols: Add g_file_replace.
Matthias Clasen [Wed, 9 Mar 2005 19:38:42 +0000 (19:38 +0000)]
Bump version
Ahmad Riza H Nst [Wed, 9 Mar 2005 14:40:04 +0000 (14:40 +0000)]
Updated Indonesian Translation
2005-03-09 Ahmad Riza H Nst <ari@160c.afraid.org>
* id.po: Updated Indonesian Translation
Sven Neumann [Wed, 9 Mar 2005 11:22:09 +0000 (11:22 +0000)]
avoid unnecessary filename conversions.
2005-03-09 Sven Neumann <sven@gimp.org>
* glib/gfileutils.c (g_file_replace): avoid unnecessary filename
conversions.
Tor Lillqvist [Wed, 9 Mar 2005 02:08:34 +0000 (02:08 +0000)]
[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.
Søren Sandmann [Tue, 8 Mar 2005 20:51:49 +0000 (20:51 +0000)]
New API. A function to atomically create a file.
Tue Mar 8 15:46:54 2005 Søren Sandmann <sandmann@redhat.com>
* glib/gfileutils.c (g_file_replace): New API. A function to
atomically create a file.
Matthias Clasen [Tue, 8 Mar 2005 05:59:03 +0000 (05:59 +0000)]
Add the new attributes here too.
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Add the new attributes here too.
Matthias Clasen [Tue, 8 Mar 2005 05:41:45 +0000 (05:41 +0000)]
Define G_GNUC_NULL_TERMINATED. (#164706, Marc Meissner)
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* glib/gmacros.h: Define G_GNUC_NULL_TERMINATED.
(#164706, Marc Meissner)
* glib/gstrfuncs.h:
* glib/gfileutils.h: Use G_GNUC_NULL_TERMINATED where
appropriate.
Matthias Clasen [Tue, 8 Mar 2005 05:20:47 +0000 (05:20 +0000)]
Fix an error message. (#168751, Hazael Maldonado Torres)
2005-03-08 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c (parse_int): Fix an error message.
(#168751, Hazael Maldonado Torres)
Matthias Clasen [Tue, 8 Mar 2005 05:15:57 +0000 (05:15 +0000)]
Small cleanup (use G_BEGIN/END_DECLS). (#168474, Fabricio Barros Cabral)
2005-03-07 Matthias Clasen <mclasen@redhat.com>
* glib/gdebug.h: Small cleanup (use G_BEGIN/END_DECLS).
(#168474, Fabricio Barros Cabral)
Matthias Clasen [Tue, 8 Mar 2005 04:43:00 +0000 (04:43 +0000)]
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)
Matthias Clasen [Mon, 7 Mar 2005 13:49:24 +0000 (13:49 +0000)]
Mark the last paragraph of the docs as Windows-specific. (#169433)
2005-03-07 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c (g_find_program_in_path): Mark the last
paragraph of the docs as Windows-specific. (#169433)
Matthias Clasen [Sun, 6 Mar 2005 20:26:28 +0000 (20:26 +0000)]
Fix error reporting in gmarkup
Dan Damian [Sat, 5 Mar 2005 16:01:49 +0000 (16:01 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@go.ro>.
* ro.po: Updated Romanian translation by Mişu Moldovan <dumol@go.ro>.
Kostas Papadimas [Mon, 28 Feb 2005 08:39:06 +0000 (08:39 +0000)]
Updated Greek Translation.
Ivan Stojmirov [Sat, 26 Feb 2005 14:18:32 +0000 (14:18 +0000)]
done
Tor Lillqvist [Thu, 24 Feb 2005 23:55:51 +0000 (23:55 +0000)]
Typo.
Tor Lillqvist [Thu, 24 Feb 2005 23:52:35 +0000 (23:52 +0000)]
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)
Tor Lillqvist [Thu, 24 Feb 2005 23:46:36 +0000 (23:46 +0000)]
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)