Matthias Clasen [Wed, 2 Jul 2008 19:21:53 +0000 (19:21 +0000)]
Better endianness fix
svn path=/trunk/; revision=7149
Matthias Clasen [Wed, 2 Jul 2008 19:15:52 +0000 (19:15 +0000)]
Updates
svn path=/trunk/; revision=7148
Matthias Clasen [Wed, 2 Jul 2008 19:11:08 +0000 (19:11 +0000)]
Fix syntax
svn path=/trunk/; revision=7147
Colin Walters [Wed, 2 Jul 2008 19:06:08 +0000 (19:06 +0000)]
Use UNLOCK to unlock, not LOCK.
2008-07-02 Colin Walters <walters@redhat.com>
* gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK.
svn path=/trunk/; revision=7146
Matthias Clasen [Wed, 2 Jul 2008 17:19:16 +0000 (17:19 +0000)]
Add g_file_monitor
svn path=/trunk/; revision=7145
Matthias Clasen [Wed, 2 Jul 2008 16:49:04 +0000 (16:49 +0000)]
Use a configure check for structfs.f_bavail.
* glocalfile.c: Use a configure check for structfs.f_bavail.
svn path=/trunk/; revision=7144
Matthias Clasen [Wed, 2 Jul 2008 16:23:23 +0000 (16:23 +0000)]
Add a function to create a GDesktopAppInfo from a GKeyFile. Proposed by
* gio.symbols:
* gdesktopappinfo.[hc]: Add a function to create a
GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
svn path=/trunk/; revision=7143
Matthias Clasen [Wed, 2 Jul 2008 16:16:27 +0000 (16:16 +0000)]
Add a g_return_val_if_fail check in both versions. Proposed by Patrik
* glib/gmain.c (g_get_current_time): Add a g_return_val_if_fail
check in both versions. Proposed by Patrik Olsson in bug 540545.
svn path=/trunk/; revision=7142
Matthias Clasen [Wed, 2 Jul 2008 15:56:27 +0000 (15:56 +0000)]
Workaround AC_C_BIGENDIAN breakage in autoconf 2.61. Add a _cv_ to some
2008-07-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Workaround AC_C_BIGENDIAN breakage in autoconf 2.61.
Add a _cv_ to some variable names, since autoconf wants it.
svn path=/trunk/; revision=7141
Yannig MARCHEGAY [Wed, 2 Jul 2008 14:57:16 +0000 (14:57 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=7140
Yannig MARCHEGAY [Wed, 2 Jul 2008 14:56:53 +0000 (14:56 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=7139
Wouter Bolsterlee [Wed, 2 Jul 2008 13:17:23 +0000 (13:17 +0000)]
Fix ulink in doc to make gtk-doc happy.
2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gappinfo.c: Fix ulink in doc to make gtk-doc happy.
svn path=/trunk/; revision=7138
Matthias Clasen [Wed, 2 Jul 2008 03:43:13 +0000 (03:43 +0000)]
Fix up section comments
svn path=/trunk/; revision=7137
Matthias Clasen [Wed, 2 Jul 2008 03:41:58 +0000 (03:41 +0000)]
Fix a doc typo
svn path=/trunk/; revision=7136
Matthias Clasen [Wed, 2 Jul 2008 02:49:56 +0000 (02:49 +0000)]
Add missing types.
svn path=/trunk/; revision=7135
Cody Russell [Wed, 2 Jul 2008 01:54:16 +0000 (01:54 +0000)]
Fixed some more includes
svn path=/trunk/; revision=7131
Cody Russell [Wed, 2 Jul 2008 01:52:37 +0000 (01:52 +0000)]
Fixed some include problems.
2008-07-01 Cody Russell <bratsche@gnome.org>
* gio/gwin32appinfo.c:
* gio/gwin32mount.c: Fixed some include problems.
svn path=/trunk/; revision=7130
Cody Russell [Tue, 1 Jul 2008 15:18:14 +0000 (15:18 +0000)]
Move my ChangeLog entry to the right place
svn path=/trunk/; revision=7129
Cody Russell [Tue, 1 Jul 2008 06:32:35 +0000 (06:32 +0000)]
Moved all relevant typedefs into these files.
2008-07-01 Cody Russell <bratsche@gnome.org>
* gio/gioenums.h:
* gio/giotypes.h:
Moved all relevant typedefs into these files.
* gio/*.[ch]:
Updated wrt added files.
Split types into separate file for easier maintainership. (#538564)
svn path=/trunk/; revision=7127
Matthias Clasen [Tue, 1 Jul 2008 03:27:14 +0000 (03:27 +0000)]
Apply fix for CVE-2008-2371 to fix a heap-based buffer overflow.
* glib/pcre/pcre_compile.c: Apply fix for CVE-2008-2371 to
fix a heap-based buffer overflow.
svn path=/trunk/; revision=7123
Matthias Clasen [Mon, 30 Jun 2008 05:02:06 +0000 (05:02 +0000)]
Clarify docs. Patch by Jared Moore
* gfile.c (g_file_append_to): Clarify docs.
Patch by Jared Moore
svn path=/trunk/; revision=7110
Matthias Clasen [Mon, 30 Jun 2008 04:59:40 +0000 (04:59 +0000)]
Unalias. Patch by Markus Bergman
* gcontentype.c (g_content_type_from_mime_type): Unalias.
Patch by Markus Bergman
svn path=/trunk/; revision=7109
Matthias Clasen [Mon, 30 Jun 2008 04:55:27 +0000 (04:55 +0000)]
Allow g_atomic_pointer_get
svn path=/trunk/; revision=7108
Matthias Clasen [Mon, 30 Jun 2008 03:47:27 +0000 (03:47 +0000)]
Add some tests for GMemoryOutputStream.
2008-06-29 Matthias Clasen <mclasen@redhat.com>
* tests/Makefile.am:
* tests/memory-output-stream.c: Add some tests for
GMemoryOutputStream.
2008-06-29 Matthias Clasen <mclasen@redhat.com>
Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
0, ...)
* gmemoryoutputstream.c (array_resize): Handle truncation to
zero correctly. Reported by Akira Tagoh
svn path=/trunk/; revision=7106
Matthias Clasen [Mon, 30 Jun 2008 02:55:39 +0000 (02:55 +0000)]
Trivial doc fixes
svn path=/trunk/; revision=7104
Matthias Clasen [Mon, 30 Jun 2008 02:44:52 +0000 (02:44 +0000)]
Don't g_list_prepend one list to another. Pointed out by Jan Arne Petersen
* giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
one list to another. Pointed out by Jan Arne Petersen
svn path=/trunk/; revision=7103
Björn Lindqvist [Sun, 29 Jun 2008 12:09:31 +0000 (12:09 +0000)]
Bug 539626 – Update docstrings for g_object_freeze_notify and
2008-06-29 Björn Lindqvist <bjourne@gmail.com>
Bug 539626 – Update docstrings for g_object_freeze_notify and
g_object_thaw_notify
* gobject/gobject.c: Explain how the freeze count works.
svn path=/trunk/; revision=7102
Michael Natterer [Sat, 28 Jun 2008 20:53:02 +0000 (20:53 +0000)]
remove semicolons from G_IMPLEMENT_INTERFACE().
2008-06-28 Michael Natterer <mitch@imendio.com>
* gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
svn path=/trunk/; revision=7101
Hans Breuer [Fri, 27 Jun 2008 09:59:30 +0000 (09:59 +0000)]
move G_OS_WIN32 inclusion of <io.h> down to where G_OS_WIN32 will be
2008-06-27 Hans Breuer <hans@breuer.org>
* glib-genmarshal.c : move G_OS_WIN32 inclusion of <io.h> down to
where G_OS_WIN32 will be defined (#540047, Kazuki IWAMOTO)
svn path=/trunk/; revision=7100
Cody Russell [Thu, 26 Jun 2008 15:03:05 +0000 (15:03 +0000)]
Add #define GLIB_USING_SYSTEM_PRINTF to glibconfig.h, which specifies if
2008-06-26 Cody Russell <bratsche@gnome.org>
* configure.in: Add #define GLIB_USING_SYSTEM_PRINTF
to glibconfig.h, which specifies if GLib is using
the system printf functions for g_print*().
(#539999, by Tim-Philipp Müller)
svn path=/trunk/; revision=7099
Michael Natterer [Tue, 24 Jun 2008 20:29:24 +0000 (20:29 +0000)]
glib/Makefile.am don't comment out the include of Makefile.decl just
2008-06-24 Michael Natterer <mitch@imendio.com>
* glib/Makefile.am
* gobject/Makefile.am: don't comment out the include of
Makefile.decl just because there are no tests. It needs to be
included in each Makefile.am or make check will fail.
svn path=/trunk/; revision=7098
Paolo Borelli [Tue, 24 Jun 2008 13:55:22 +0000 (13:55 +0000)]
Bug 539770 - migrate gstrfunc unit tests to gtest
2008-06-24 Paolo Borelli <pborelli@katamail.com>
Bug 539770 - migrate gstrfunc unit tests to gtest
* tests/strfunc-test.c:
* tests/testglib.c:
* tests/strtoll-test.c:
* tests/strtod-test.c:
* tests/string-test.c:
* tests/Makefile.am:
Removed old tests.
* glib/tests/fileutils.c:
* glib/tests/strfuncs.c:
* glib/tests/Makefile.am:
Added all the old tests migrated to the new unit test framework
and add new unit tests for some of the functions.
svn path=/trunk/; revision=7097
Kristian Rietveld [Mon, 23 Jun 2008 12:06:39 +0000 (12:06 +0000)]
introduce an ENUMPREFIX substitution.
2008-06-23 Kristian Rietveld <kris@imendio.com>
* gobject/glib-mkenums.in: introduce an ENUMPREFIX substitution.
* gio/gioenumtypes.h.template: use @ENUMPREFIX@ instead of
hard coding "G" as prefix.
svn path=/trunk/; revision=7096
Changwoo Ryu [Sun, 22 Jun 2008 22:40:45 +0000 (22:40 +0000)]
Updated Korean translation
svn path=/trunk/; revision=7095
Stefan Kost [Sun, 22 Jun 2008 16:34:30 +0000 (16:34 +0000)]
Unify the Makefiles. In glib only scan glib folders.
* glib/Makefile.am:
* gobject/Makefile.am:
Unify the Makefiles. In glib only scan glib folders.
svn path=/trunk/; revision=7094
Stefan Kost [Sun, 22 Jun 2008 16:32:18 +0000 (16:32 +0000)]
Fix markup in comment.
* glib/gurifuncs.c:
Fix markup in comment.
svn path=/trunk/; revision=7093
Johan Dahlin [Sun, 22 Jun 2008 15:10:51 +0000 (15:10 +0000)]
Include "config.h" instead of <config.h> Command used: find -name
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Mitch
svn path=/trunk/; revision=7092
Michael Natterer [Sun, 22 Jun 2008 14:53:09 +0000 (14:53 +0000)]
remove trailing whitespace from newly added gtk-doc comments and
2008-06-22 Michael Natterer <mitch@imendio.com>
* *.c: remove trailing whitespace from newly added gtk-doc
comments and reformatted some where they contained overly long or
ill-formatted lines.
svn path=/trunk/; revision=7090
Michael Natterer [Sun, 22 Jun 2008 14:29:25 +0000 (14:29 +0000)]
moved includes back to the top of the files (before gtk-doc SECTION
2008-06-22 Michael Natterer <mitch@imendio.com>
* *.c: moved includes back to the top of the files (before gtk-doc
SECTION comments). Add "config.h" in all files and move system
included before glib includes. Remove trailing whitespace from
SECTION comments and did some reformatting where lines were overly
long, no documentation content was changed.
svn path=/trunk/; revision=7089
Stefan Kost [Sun, 22 Jun 2008 12:35:45 +0000 (12:35 +0000)]
moving changelog entries from main to gobject changelog
svn path=/trunk/; revision=7088
Stefan Kost [Sun, 22 Jun 2008 10:10:59 +0000 (10:10 +0000)]
Move some content for gobject-unused.sgml and cleared empty entries. The
* docs/reference/gobject/tmpl/gobject-unused.sgml:
* gobject/gobject.h:
* gobject/gtype.c:
* gobject/gtype.h:
Move some content for gobject-unused.sgml and cleared empty entries.
The remaining 4 ones should be checked by some else. If they are not
needed. The file can be removed.
svn path=/trunk/; revision=7087
Stefan Kost [Sun, 22 Jun 2008 09:53:11 +0000 (09:53 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/value_collection.sgml:
* gobject/gvaluecollector.h:
Migrating docs.
svn path=/trunk/; revision=7086
Stefan Kost [Sun, 22 Jun 2008 09:45:13 +0000 (09:45 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/value_arrays.sgml:
* gobject/gvaluearray.c:
* gobject/gvaluearray.h:
Migrating docs.
svn path=/trunk/; revision=7085
Stefan Kost [Sun, 22 Jun 2008 09:43:54 +0000 (09:43 +0000)]
Fix compiler warning in format string check.
* gobject/gsignal.c:
Fix compiler warning in format string check.
svn path=/trunk/; revision=7084
Stefan Kost [Sun, 22 Jun 2008 09:29:52 +0000 (09:29 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/signals.sgml:
* gobject/gclosure.c:
* gobject/gobject.c:
* gobject/gsignal.c:
* gobject/gsignal.h:
Migrating docs.
svn path=/trunk/; revision=7083
Stefan Kost [Sat, 21 Jun 2008 22:38:08 +0000 (22:38 +0000)]
Help poor little gtkdoc a bit and tell that it can ignore G_GNUC_INTERNAL.
* docs/reference/gobject/Makefile.am:
Help poor little gtkdoc a bit and tell that it can ignore
G_GNUC_INTERNAL. Also disable including the unit-test header as this
causes warnings and we don't need it here.
svn path=/trunk/; revision=7082
Stefan Kost [Sat, 21 Jun 2008 22:16:14 +0000 (22:16 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/param_value_types.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/genums.c:
* gobject/genums.h:
* gobject/gobject.c:
* gobject/gobject.h:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gparamspecs.c:
* gobject/gparamspecs.h:
* gobject/gvaluetypes.c:
* gobject/gvaluetypes.h:
Migrating docs.
svn path=/trunk/; revision=7081
Stefan Kost [Sat, 21 Jun 2008 20:07:57 +0000 (20:07 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/objects.sgml:
* gobject/gobject.c:
* gobject/gobject.h:
* gobject/gparam.h:
Migrating docs.
svn path=/trunk/; revision=7080
Stefan Kost [Sat, 21 Jun 2008 18:20:43 +0000 (18:20 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/gtypeplugin.sgml:
* gobject/gtypeplugin.c:
* gobject/gtypeplugin.h:
Migrating docs.
svn path=/trunk/; revision=7079
Stefan Kost [Sat, 21 Jun 2008 17:25:17 +0000 (17:25 +0000)]
Add --sgml-mode to allow sgml in doc-fragments (which somehow works before
* docs/reference/gobject/Makefile.am:
Add --sgml-mode to allow sgml in doc-fragments (which somehow works
before already).
* gobject/gboxed.h:
* gobject/gclosure.c:
* gobject/gparam.c:
* gobject/gparam.h:
* gobject/gtype.h:
Convert character entities back. FIx some broken sgml.
svn path=/trunk/; revision=7078
Stefan Kost [Sat, 21 Jun 2008 16:35:50 +0000 (16:35 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/gtypemodule.sgml:
* gobject/gtypemodule.c:
* gobject/gtypemodule.h:
Migrating docs.
svn path=/trunk/; revision=7077
Stefan Kost [Sat, 21 Jun 2008 16:24:52 +0000 (16:24 +0000)]
Add titles back from tmpl.
* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gparam.c:
* gobject/gvalue.c:
Add titles back from tmpl.
svn path=/trunk/; revision=7076
Stefan Kost [Sat, 21 Jun 2008 16:14:18 +0000 (16:14 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/gtype.sgml:
* gobject/gtype.c:
* gobject/gtype.h:
* gobject/gvaluetypes.h:
Migrating docs.
svn path=/trunk/; revision=7075
Stefan Kost [Sat, 21 Jun 2008 14:00:44 +0000 (14:00 +0000)]
Add one missing ':' and reformate GParamFlags docs.
* gobject/gclosure.h:
* gobject/gparam.h:
Add one missing ':' and reformate GParamFlags docs.
svn path=/trunk/; revision=7074
Stefan Kost [Sat, 21 Jun 2008 13:47:14 +0000 (13:47 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/gparamspec.sgml:
* gobject/gparam.c:
* gobject/gparam.h:
Migrating docs.
svn path=/trunk/; revision=7073
Stefan Kost [Sat, 21 Jun 2008 12:57:06 +0000 (12:57 +0000)]
Use file-names from the section file for SECTION: comments.
* gobject/gboxed.c:
* gobject/gclosure.c:
* gobject/genums.c:
* gobject/gvalue.c:
Use file-names from the section file for SECTION: comments.
svn path=/trunk/; revision=7072
Stefan Kost [Sat, 21 Jun 2008 12:45:49 +0000 (12:45 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/generic_values.sgml:
* gobject/gboxed.h:
* gobject/gtype.h:
* gobject/gvalue.c:
* gobject/gvalue.h:
* gobject/gvaluetypes.c:
Migrating docs.
svn path=/trunk/; revision=7071
Stefan Kost [Sat, 21 Jun 2008 12:24:56 +0000 (12:24 +0000)]
Fix documentation for return values.
* gobject/genums.h:
Fix documentation for return values.
svn path=/trunk/; revision=7070
Stefan Kost [Sat, 21 Jun 2008 12:18:12 +0000 (12:18 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/gclosure.sgml:
* gobject/gboxed.h:
* gobject/gclosure.c:
* gobject/gclosure.h:
* gobject/gobject.c:
* gobject/gsourceclosure.c:
* gobject/gsourceclosure.h:
Migrating docs.
svn path=/trunk/; revision=7069
Tor Lillqvist [Sat, 21 Jun 2008 11:36:24 +0000 (11:36 +0000)]
Improve Windows-specific parts of documentation. Mention the different C
2008-06-21 Tor Lillqvist <tml@novell.com>
* glib/gstdio.c: Improve Windows-specific parts of
documentation. Mention the different C library issue in more
places.
svn path=/trunk/; revision=7068
Stefan Kost [Sat, 21 Jun 2008 11:33:53 +0000 (11:33 +0000)]
Remove duplicated entries. They are documented and should be shown.
* docs/reference/gobject/gobject-sections.txt:
Remove duplicated entries. They are documented and should be shown.
svn path=/trunk/; revision=7067
Stefan Kost [Sat, 21 Jun 2008 11:27:45 +0000 (11:27 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/enumerations_flags.sgml:
* gobject/genums.c:
* gobject/genums.h:
Migrating docs.
svn path=/trunk/; revision=7066
Stefan Kost [Sat, 21 Jun 2008 10:19:58 +0000 (10:19 +0000)]
Migrating docs.
* docs/reference/gobject/tmpl/gboxed.sgml:
* gobject/gboxed.c:
* gobject/gboxed.h:
* gobject/gvaluetypes.c:
Migrating docs.
svn path=/trunk/; revision=7065
Sebastian Dröge [Fri, 20 Jun 2008 11:29:25 +0000 (11:29 +0000)]
Bug 316221 - G_LOCK warns about breaking strict-aliasing rules
* configure.in:
* glib/gthread.h: Revert previous patch as it doesn't improve the
situation and results in other warnings.
svn path=/trunk/; revision=7064
Christian Persch [Thu, 19 Jun 2008 14:09:42 +0000 (14:09 +0000)]
Bug 539123 – annotate g_d[n]gettext with G_GNUC_FORMAT
svn path=/trunk/; revision=7062
Tor Lillqvist [Thu, 19 Jun 2008 07:13:36 +0000 (07:13 +0000)]
Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()
2008-06-19 Tor Lillqvist <tml@novell.com>
Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()
* glib/gspawn-win32-helper.c (main): Write also the exit status of
the spawned process to the error report pipe. Patch by Hiroyuki
Ikezoe.
svn path=/trunk/; revision=7060
Matthias Clasen [Thu, 19 Jun 2008 05:21:29 +0000 (05:21 +0000)]
Annotate functions
svn path=/trunk/; revision=7059
Matthias Clasen [Thu, 19 Jun 2008 04:40:15 +0000 (04:40 +0000)]
fix a comment
svn path=/trunk/; revision=7058
Matthias Clasen [Thu, 19 Jun 2008 04:14:25 +0000 (04:14 +0000)]
set tv_usec to 0 rather than 1 when a fraction of a second is not
* glib/gtimer.c (g_time_val_from_iso8601): set tv_usec to 0 rather
than 1 when a fraction of a second is not specified
(g_time_val_from_iso8601): calculate a fraction of a second
correctly even in case it does not happen to consist of exactly
six digits; do not allow random data after the ISO 8601 string,
only whitespace
(make g_time_val_to_iso8601): support fractions of a second
Patch by Peter Kjellerstedt
* tests/testglib.c: Update to match
svn path=/trunk/; revision=7057
Matthias Clasen [Thu, 19 Jun 2008 03:30:17 +0000 (03:30 +0000)]
Don't do fallback for user-home and user-desktop to avoid problems with
* glocalfileinfo.c: Don't do fallback for user-home and user-desktop
to avoid problems with partial icon themes.
svn path=/trunk/; revision=7056
Hans Breuer [Tue, 17 Jun 2008 21:40:04 +0000 (21:40 +0000)]
bits and pieces from gtk-2-12 and gunix*.[hc] to make the file chooser
2008-06-17 Hans Breuer <hans@breuer.org>
* gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
access again on win32, see bug #538127
* giomodule.c : ensure GWin32VolumeMonitor is registered
* glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
* Makefile.am makefile.msc : updated
svn path=/trunk/; revision=7055
Hans Breuer [Mon, 16 Jun 2008 20:35:48 +0000 (20:35 +0000)]
fixed the date
svn path=/trunk/; revision=7053
Hans Breuer [Mon, 16 Jun 2008 20:34:42 +0000 (20:34 +0000)]
declaration and initialization in one step avoids c99ism
2008-05-19 Hans Breuer <hans@breuer.org>
* glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
and initialization in one step avoids c99ism
svn path=/trunk/; revision=7052
Christian Persch [Mon, 16 Jun 2008 16:53:58 +0000 (16:53 +0000)]
Use g_set_error_literal where appropriate. Patch from bug #535947.
svn path=/trunk/; revision=7051
Christian Persch [Mon, 16 Jun 2008 16:41:01 +0000 (16:41 +0000)]
Add g_set_error_literal. Bug #535947.
svn path=/trunk/; revision=7050
Tor Lillqvist [Mon, 16 Jun 2008 13:23:14 +0000 (13:23 +0000)]
Bug 538362 - Get Win32 icons back in the file chooser
2008-06-16 Tor Lillqvist <tml@novell.com>
Bug 538362 - Get Win32 icons back in the file chooser
* gcontenttype.c (g_content_type_get_icon): Look up the icon
corresponding to a file extension in the Registry. Patch by Hans
Breuer.
(get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
2008-06-16 Tor Lillqvist <tml@novell.com>
Patches by Hans Breuer:
* glocalfile.c (is_xp_or_later): Handle compiling against older
SDK headers with missing VerifyVersionInfo(). Conditioned on
_MSC_VER, but should probably use some better test.
* glocalfile.c (g_local_file_query_filesystem_info): Don't test
uninitialised statfs_result variable on Win32.
svn path=/trunk/; revision=7049
Michael Natterer [Mon, 16 Jun 2008 09:54:04 +0000 (09:54 +0000)]
chain up unconditionally in finalize() and dispose(). Also don't
2008-06-16 Michael Natterer <mitch@imendio.com>
* *.c: chain up unconditionally in finalize() and dispose(). Also
don't dereference these function pointers when calling them since
that has no meaning at all.
svn path=/trunk/; revision=7048
Ross Burton [Mon, 16 Jun 2008 09:31:20 +0000 (09:31 +0000)]
Put my changelog entries in the right changelog, whoops
svn path=/trunk/; revision=7047
Michael Natterer [Mon, 16 Jun 2008 09:25:57 +0000 (09:25 +0000)]
changed return value to const gchar* to fix warning.
2008-06-16 Michael Natterer <mitch@imendio.com>
* glib/goption.c (dgettext_swapped): changed return value to
const gchar* to fix warning.
svn path=/trunk/; revision=7046
Ross Burton [Mon, 16 Jun 2008 09:16:25 +0000 (09:16 +0000)]
Remove check for dispose implementation as it annoys Emmanuele.
2008-06-16 Ross Burton <ross@burtonini.com>
* gio/gfileenumerator.c:
Remove check for dispose implementation as it annoys Emmanuele.
svn path=/trunk/; revision=7045
Ross Burton [Mon, 16 Jun 2008 08:49:08 +0000 (08:49 +0000)]
Bug 536252 – GFileEnumerator should allow access to the containing GFile
2008-06-16 Ross Burton <ross@burtonini.com>
Bug 536252 – GFileEnumerator should allow access to the containing
GFile
* gio/gfileenumerator.c:
* gio/gfileenumerator.h:
* gio/gfile.h:
Add g_file_enumerator_get_container() and a container writeable
construct-only property. Also shuffle around typedefs to make it
compile.
* gio/glocalfileenumerator.c:
* gio/glocalfileenumerator.h:
* gio/glocalfile.c:
Instead of a string filename take a GFile in the constructor and
use it to set the container property.
* gio/gio.symbols:
* docs/reference/gio/gio-sections.txt:
Update with new API.
svn path=/trunk/; revision=7044
Matthias Clasen [Mon, 16 Jun 2008 04:36:03 +0000 (04:36 +0000)]
Make includes more uniform
svn path=/trunk/; revision=7043
Matthias Clasen [Sun, 15 Jun 2008 01:50:24 +0000 (01:50 +0000)]
Additions
svn path=/trunk/; revision=7042
Matthias Clasen [Sun, 15 Jun 2008 00:49:30 +0000 (00:49 +0000)]
Move docs around
svn path=/trunk/; revision=7041
Matthias Clasen [Sun, 15 Jun 2008 00:20:03 +0000 (00:20 +0000)]
Document break types
svn path=/trunk/; revision=7040
Matthias Clasen [Sun, 15 Jun 2008 00:04:59 +0000 (00:04 +0000)]
Add docs
svn path=/trunk/; revision=7039
Matthias Clasen [Sun, 15 Jun 2008 00:03:54 +0000 (00:03 +0000)]
Add docs
svn path=/trunk/; revision=7038
Matthias Clasen [Fri, 13 Jun 2008 14:11:03 +0000 (14:11 +0000)]
Don't leak the pipes to child processes. Patch by Thiago Macieira.
* glib/gmain.c (g_main_context_init_pipe): Don't leak the
pipes to child processes. Patch by Thiago Macieira.
svn path=/trunk/; revision=7037
Hans Breuer [Fri, 13 Jun 2008 08:05:33 +0000 (08:05 +0000)]
to get the default translation target on win32 use g_win32_get_locale()
2008-06-13 Hans Breuer <hans@breuer.org>
* glib/gstrfuncs.c : to get the default translation target on
win32 use g_win32_get_locale() instead of setlocale(LS_MESSAGES,NULL)
Fixes bug #538044
* glib/makefile.msc.in gio/makefile.msc : updated
svn path=/trunk/; revision=7036
Yevgen Muntyan [Fri, 13 Jun 2008 03:56:26 +0000 (03:56 +0000)]
Use less fancy unicode filenames, so the test doesn't fail on Mac OS X
2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
* tests/live-g-file.c (sample_struct):
Use less fancy unicode filenames, so the test doesn't fail
on Mac OS X (#531476).
svn path=/trunk/; revision=7035
Matthias Clasen [Thu, 12 Jun 2008 18:39:50 +0000 (18:39 +0000)]
bump version
svn path=/trunk/; revision=7034
Matthias Clasen [Thu, 12 Jun 2008 18:37:44 +0000 (18:37 +0000)]
2.17.2
svn path=/trunk/; revision=7032
Matthias Clasen [Thu, 12 Jun 2008 17:23:35 +0000 (17:23 +0000)]
Bump version
svn path=/trunk/; revision=7031
Matthias Clasen [Thu, 12 Jun 2008 17:21:49 +0000 (17:21 +0000)]
2.17.1
svn path=/trunk/; revision=7029
Matthias Clasen [Thu, 12 Jun 2008 15:47:26 +0000 (15:47 +0000)]
additions
svn path=/trunk/; revision=7028
Matthias Clasen [Thu, 12 Jun 2008 12:59:28 +0000 (12:59 +0000)]
Remove mention of G_WIN32_PRETEND_WIN9X
svn path=/trunk/; revision=7027
Ross Burton [Thu, 12 Jun 2008 10:51:34 +0000 (10:51 +0000)]
Add g_file_make_directory_with_parents.
2008-06-12 Ross Burton <ross@burtonini.com>
* gio/gio-sections.txt:
Add g_file_make_directory_with_parents.
svn path=/trunk/; revision=7026
Matthias Clasen [Thu, 12 Jun 2008 06:20:04 +0000 (06:20 +0000)]
Testing documentation fixups
svn path=/trunk/; revision=7025
Matthias Clasen [Thu, 12 Jun 2008 06:18:14 +0000 (06:18 +0000)]
Documentation fixups
svn path=/trunk/; revision=7024
Matthias Clasen [Thu, 12 Jun 2008 03:55:32 +0000 (03:55 +0000)]
Tiny doc fix
svn path=/trunk/; revision=7023