15:03:51 Tim Janik [Thu, 20 Dec 2007 14:01:26 +0000 (14:01 +0000)]
new python script that generates an HTML unit test report from the XML
2007-12-20 15:03:51 Tim Janik <timj@imendio.com>
* glib/gtester-report: new python script that generates an HTML
unit test report from the XML files generated by gtester.
* glib/Makefile.am: install gtester-report in $bindir and configure
it upon installation (version number and python shebang).
svn path=/trunk/; revision=6171
Alexander Larsson [Thu, 20 Dec 2007 13:30:47 +0000 (13:30 +0000)]
File attribute renames: std:: -> standard:: fs:: -> filesystem:: id::fs ->
2007-12-20 Alexander Larsson <alexl@redhat.com>
* gfile.c:
* gfileattribute.c:
* gfileinfo.c:
* gfileinfo.h:
* gfilenamecompleter.c:
* glocalfile.c:
* glocalfileinfo.c:
* gpollfilemonitor.c:
File attribute renames:
std:: -> standard::
fs:: -> filesystem::
id::fs -> id::filesystem
svn path=/trunk/; revision=6170
Alexander Larsson [Thu, 20 Dec 2007 11:48:14 +0000 (11:48 +0000)]
Add GMountUnmountFlags to all unmount and eject calls. Add
2007-12-20 Alexander Larsson <alexl@redhat.com>
* gfile.[ch]:
* gdrive.[ch]:
* gmount.[ch]:
* gvolume.[ch]:
* gunixmount.c:
* gunixvolume.c:
* gio.symbols:
Add GMountUnmountFlags to all unmount and
eject calls.
Add g_mount_remount() call.
svn path=/trunk/; revision=6169
Alexander Larsson [Thu, 20 Dec 2007 10:57:45 +0000 (10:57 +0000)]
Fix unused variable warning
2007-12-20 Alexander Larsson <alexl@redhat.com>
* gvfs.c (get_default_vfs):
Fix unused variable warning
svn path=/trunk/; revision=6168
Matthias Clasen [Thu, 20 Dec 2007 03:16:02 +0000 (03:16 +0000)]
Updates
svn path=/trunk/; revision=6167
Matthias Clasen [Thu, 20 Dec 2007 03:12:24 +0000 (03:12 +0000)]
Remove C99 comments
svn path=/trunk/; revision=6166
Matthias Clasen [Thu, 20 Dec 2007 03:11:11 +0000 (03:11 +0000)]
Additions
svn path=/trunk/; revision=6165
Matthias Clasen [Thu, 20 Dec 2007 02:56:03 +0000 (02:56 +0000)]
Additions
svn path=/trunk/; revision=6164
20:30:18 Tim Janik [Wed, 19 Dec 2007 19:28:55 +0000 (19:28 +0000)]
capture g_log() messages and send to gtester. also, send assertion
2007-12-19 20:30:18 Tim Janik <timj@imendio.com>
* glib/gtestutils.c: capture g_log() messages and send to gtester.
also, send assertion messages to gtester.
* glib/gtester.c: add error messages to output log file.
force child poll loop to abort if waitpid() signaled child exit,
eventhough the child's report file descriptor wasn't closed.
svn path=/trunk/; revision=6163
Christian Persch [Wed, 19 Dec 2007 18:53:27 +0000 (18:53 +0000)]
Add g_checksum_type_get_length, and change g_checksum_get_digest to use a
2007-12-19 Christian Persch <chpe@gnome.org>
* glib/gchecksum.c: (g_checksum_type_get_length),
(g_checksum_get_digest):
* glib/gchecksum.h:
* glib/glib.symbols:
* tests/checksum-test.c: (test_checksum): Add
g_checksum_type_get_length, and change g_checksum_get_digest to use a
provided buffer instead of returning allocated memory. Bug #501853.
svn path=/trunk/; revision=6162
Emmanuele Bassi [Wed, 19 Dec 2007 17:28:38 +0000 (17:28 +0000)]
Fix the date validation check. (#503029)
2007-12-19 Emmanuele Bassi <ebassi@gnome.org>
* glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
check. (#503029)
* tests/testglib.c (various_string_tests): Add an invalid date
for testing the above fix.
svn path=/trunk/; revision=6160
Alexander Larsson [Wed, 19 Dec 2007 16:08:55 +0000 (16:08 +0000)]
Make g_io_modules_load_all_in_directory not unuse loaded modules so that
2007-12-19 Alexander Larsson <alexl@redhat.com>
* giomodule.c:
Make g_io_modules_load_all_in_directory not unuse
loaded modules so that users of it can do stuff
before unloading.
Init internal "module" types.
Initialize static prio and name for types so that
we don't have to load modules to get it.
* gnativevolumemonitor.h:
* gvolumemonitor.h:
Move is_supported to parent class so that
non-native monitors can avoid being initialized
too. (For instance GDaemonVolumeMonitor if we're
not using GDaemonVfs.)
* glocaldirectorymonitor.[ch]:
* glocalfilemonitor.[ch]:
* gunionvolumemonitor.c:
* gunixvolumemonitor.c:
* gvfs.c:
Find plugins using the static prio+name to
avoid unnecessarily loading the modules.
svn path=/trunk/; revision=6159
Alexander Larsson [Wed, 19 Dec 2007 13:25:09 +0000 (13:25 +0000)]
Rename g_format_file_size_for_display to g_format_size_for_display.
2007-12-19 Alexander Larsson <alexl@redhat.com>
* glib/gfileutils.[ch]:
* glib/glib.symbols:
Rename g_format_file_size_for_display to g_format_size_for_display.
svn path=/trunk/; revision=6158
Alexander Larsson [Wed, 19 Dec 2007 13:18:34 +0000 (13:18 +0000)]
Remove warnings
2007-12-19 Alexander Larsson <alexl@redhat.com>
* giomodule.c:
Remove warnings
svn path=/trunk/; revision=6157
Alexander Larsson [Wed, 19 Dec 2007 13:10:22 +0000 (13:10 +0000)]
Store the native type as GType, not class so that we can unload it. But
2007-12-19 Alexander Larsson <alexl@redhat.com>
* gunionvolumemonitor.c:
Store the native type as GType, not class so that
we can unload it. But still avoid unnecessarily
unload modules.
svn path=/trunk/; revision=6156
Kjartan Maraas [Wed, 19 Dec 2007 11:52:37 +0000 (11:52 +0000)]
Updated Norwegian bokmål translation.
2007-12-19 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=6155
Alexander Larsson [Wed, 19 Dec 2007 11:19:12 +0000 (11:19 +0000)]
Some minor fixes and additions.
2007-12-19 Alexander Larsson <alexl@redhat.com>
* gio/migrating.xml:
* gio/overview.xml:
Some minor fixes and additions.
svn path=/trunk/; revision=6154
David Zeuthen [Wed, 19 Dec 2007 09:39:50 +0000 (09:39 +0000)]
Introduce g_volume_monitor_adopt_orphan_mount() function. Also add signals
2007-12-19 David Zeuthen <davidz@redhat.com>
Introduce g_volume_monitor_adopt_orphan_mount() function. Also
add signals 'disconnected' and 'eject-button' on GDrive. Add
signal 'removed' on GVolume and 'unmounted' on GMount.
* gdrive.c: (g_drive_base_init):
* gdrive.h:
* gfile.c: (g_file_mount_mountable),
(g_file_mount_enclosing_volume):
* gio.symbols:
* gioerror.h:
* gmount.c: (g_mount_base_init):
* gmount.h:
* gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
* gunixvolumemonitor.c: (update_volumes), (update_mounts):
* gvolume.c: (g_volume_base_init), (g_volume_mount):
* gvolume.h:
* gvolumemonitor.h:
svn path=/trunk/; revision=6153
Tim-Philipp Müller [Tue, 18 Dec 2007 16:46:36 +0000 (16:46 +0000)]
add g_async_queue_new_full() which takes a GDestroyNotify function to free
* docs/reference/glib/glib-sections.txt:
* glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
(g_async_queue_unref):
* glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
GDestroyNotify function to free any remaining queue items when the
queue is destroyed after the final atomic unref (#367550).
svn path=/trunk/; revision=6152
13:45:23 Tim Janik [Tue, 18 Dec 2007 13:43:46 +0000 (13:43 +0000)]
added g_test_trap_assert_stdout_unmatched() and
2007-12-18 13:45:23 Tim Janik <timj@imendio.com>
* glib/gtestutils.[hc]: added g_test_trap_assert_stdout_unmatched() and
g_test_trap_assert_stderr_unmatched(), based on a suggestion by Mathias
Hasselmann. reworked g_test_trap_assertions() to use flags to encode
assertion semantics, fixes #504227.
svn path=/trunk/; revision=6151
Matthias Clasen [Tue, 18 Dec 2007 03:14:39 +0000 (03:14 +0000)]
Flesh out the docs
svn path=/trunk/; revision=6150
Matthias Clasen [Tue, 18 Dec 2007 02:52:11 +0000 (02:52 +0000)]
Fix up includes in section docs
svn path=/trunk/; revision=6149
Matthias Clasen [Tue, 18 Dec 2007 00:56:35 +0000 (00:56 +0000)]
Additions
svn path=/trunk/; revision=6148
Jorge Gonzalez Gonzalez [Mon, 17 Dec 2007 19:52:46 +0000 (19:52 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6147
Matthias Clasen [Mon, 17 Dec 2007 17:54:02 +0000 (17:54 +0000)]
Add some very modest beginnings
svn path=/trunk/; revision=6146
Matthias Clasen [Mon, 17 Dec 2007 17:28:40 +0000 (17:28 +0000)]
Stub of a migration chapter Stub of an overview Overview diagram taken
2007-12-17 Matthias Clasen <mclasen@redhat.com>
* gio/migration.xml: Stub of a migration chapter
* gio/overview.xml: Stub of an overview
* gio/gvfs-overview.{odg,png}: Overview diagram taken
from Alex Guadec slides.
* gio/Makefile.am:
* gio/gio-docs.xml: Include these
svn path=/trunk/; revision=6145
Alexander Larsson [Mon, 17 Dec 2007 16:00:33 +0000 (16:00 +0000)]
Add is_supported() to GNativeVolumeMonitorClass so that we can avoid
2007-12-17 Alexander Larsson <alexl@redhat.com>
* gnativevolumemonitor.h:
* gunionvolumemonitor.c:
* gunixvolumemonitor.c:
Add is_supported() to GNativeVolumeMonitorClass so
that we can avoid having to create an object to see
if the backend is supported at runtime.
Also add name member and an env var to pick a specific
volume monitor backend.
* gmountprivate.h:
* glocalfile.c:
Add cancellable to _g_mount_get_for_mount_path()
* glocaldirectorymonitor.c:
* glocalfilemonitor.c:
Avoid loading and unloading modules while sorting.
svn path=/trunk/; revision=6144
Matthias Clasen [Mon, 17 Dec 2007 14:59:23 +0000 (14:59 +0000)]
Namespace waste reduction, move some g_get_unix_mount functions to the
2007-12-17 Matthias Clasen <mclasen@redhat.com>
* gio.symbols:
* gunixmounts.[hc]: Namespace waste reduction, move some
g_get_unix_mount functions to the g_unix_mount namespace.
* gunixmounts.c:
* gunixvolumemonitor.c:
* glocalfile.c:
* glocaldirectorymonitor.c: Update all callers.
* gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
svn path=/trunk/; revision=6143
Alexander Larsson [Mon, 17 Dec 2007 11:26:34 +0000 (11:26 +0000)]
Add doc comments about what GFile operations are guaranteed to not block.
2007-12-17 Alexander Larsson <alexl@redhat.com>
* gfile.c:
Add doc comments about what GFile operations are
guaranteed to not block.
svn path=/trunk/; revision=6142
Alexander Larsson [Mon, 17 Dec 2007 10:53:53 +0000 (10:53 +0000)]
Add missing #ifdef fixing OSX build. (#503334, patch from Richard Hult)
2007-12-17 Alexander Larsson <alexl@redhat.com>
* gunixmounts.c:
Add missing #ifdef fixing OSX build.
(#503334, patch from Richard Hult)
svn path=/trunk/; revision=6141
David Zeuthen [Mon, 17 Dec 2007 09:31:08 +0000 (09:31 +0000)]
Provide eject() on both GMount and GVolume and utility functions to guess
2007-12-14 David Zeuthen <davidz@redhat.com>
* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:
Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.
svn path=/trunk/; revision=6140
Matthias Clasen [Mon, 17 Dec 2007 07:05:28 +0000 (07:05 +0000)]
Updates
svn path=/trunk/; revision=6139
Matthias Clasen [Mon, 17 Dec 2007 07:04:51 +0000 (07:04 +0000)]
Documentation updates
svn path=/trunk/; revision=6138
Mathias Hasselmann [Sun, 16 Dec 2007 15:04:51 +0000 (15:04 +0000)]
Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)
* glib/gutils.c:
Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)
svn path=/trunk/; revision=6137
Jorge Gonzalez Gonzalez [Sat, 15 Dec 2007 20:57:31 +0000 (20:57 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6136
Kjartan Maraas [Sat, 15 Dec 2007 11:44:34 +0000 (11:44 +0000)]
Add gio-ls.c Updated Norwegian bokmål translation.
2007-12-15 Kjartan Maraas <kmaraas@gnome.org>
* POTFILES.in: Add gio-ls.c
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=6135
Matthias Clasen [Sat, 15 Dec 2007 06:05:40 +0000 (06:05 +0000)]
More doc fixups
svn path=/trunk/; revision=6134
Matthias Clasen [Sat, 15 Dec 2007 06:03:35 +0000 (06:03 +0000)]
Fix up docs
svn path=/trunk/; revision=6133
Matthias Clasen [Sat, 15 Dec 2007 04:39:26 +0000 (04:39 +0000)]
Use hash iterators
svn path=/trunk/; revision=6132
Matthias Clasen [Sat, 15 Dec 2007 04:13:15 +0000 (04:13 +0000)]
Fix up docs
svn path=/trunk/; revision=6131
Matthias Clasen [Sat, 15 Dec 2007 03:54:09 +0000 (03:54 +0000)]
Add hash table iterators. (#500507, Jean-Yves Lefort)
2007-12-14 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/ghash.[hc]: Add hash table iterators. (#500507,
Jean-Yves Lefort)
* tests/hash-test.c: Test iterators.
svn path=/trunk/; revision=6130
Alexander Larsson [Fri, 14 Dec 2007 15:56:56 +0000 (15:56 +0000)]
Move GFileAttributeValue to a private header, as its sort of ugly.
2007-12-14 Alexander Larsson <alexl@redhat.com>
* Makefile.am:
* gfileattribute.[ch]:
* gfileattribute-priv.h:
Move GFileAttributeValue to a private header, as
its sort of ugly.
* gfile.[ch]:
Make set_attribute take a type + a pointer instead
of a GFileAttributeValue.
* gfileinfo.[ch]:
Fix up for above changes.
Add g_file_info_get_attribute_data to get
all info in one call, g_file_info_get_attribute_status
to get the status and g_file_info_get_attribute_as_string.
* gio.symbols:
* glocalfile.c:
* glocalfileinfo.[ch]:
Update for changes
* gunixmounts.c:
Make _guess_type static.
svn path=/trunk/; revision=6129
Yevgen Muntyan [Fri, 14 Dec 2007 14:36:08 +0000 (14:36 +0000)]
Say Makefile.am instead of gio/Makefile.am in changelog
svn path=/trunk/; revision=6128
Yevgen Muntyan [Fri, 14 Dec 2007 14:34:11 +0000 (14:34 +0000)]
Moved the ChangeLog entry to gio/ChangeLog
svn path=/trunk/; revision=6127
Yevgen Muntyan [Fri, 14 Dec 2007 14:28:35 +0000 (14:28 +0000)]
Fixed build when srcdir != builddir, made mkenums and friends use
2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
* gio/Makefile.am:
* gio/inotify/Makefile.am: Fixed build when srcdir != builddir,
made mkenums and friends use temporary files to avoid leaving
empty generated files on failure (#503470).
svn path=/trunk/; revision=6126
Jorge Gonzalez Gonzalez [Fri, 14 Dec 2007 14:11:08 +0000 (14:11 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6125
Stéphane Raimbault [Fri, 14 Dec 2007 13:24:32 +0000 (13:24 +0000)]
Updated French translation by Robert-André Mauchin and Stéphane
2007-12-14 Stéphane Raimbault <stephane.raimbault@gmail.com>
* fr.po: Updated French translation by Robert-André Mauchin and
Stéphane Raimbault.
svn path=/trunk/; revision=6124
Stéphane Raimbault [Fri, 14 Dec 2007 12:08:52 +0000 (12:08 +0000)]
Updated file list (gio).
2007-12-14 Stéphane Raimbault <stephane.raimbault@gmail.com>
* POTFILES.in: Updated file list (gio).
svn path=/trunk/; revision=6122
Alexander Larsson [Fri, 14 Dec 2007 11:17:44 +0000 (11:17 +0000)]
Fix AKS -> ASK typo
2007-12-14 Alexander Larsson <alexl@redhat.com>
* gmountoperation.h:
Fix AKS -> ASK typo
svn path=/trunk/; revision=6120
Alexander Larsson [Fri, 14 Dec 2007 11:07:31 +0000 (11:07 +0000)]
Clean up all flags enums to not have _FLAGS in them Make the names of some
2007-12-14 Alexander Larsson <alexl@redhat.com>
* gappinfo.h:
* gfile.[ch]:
* gfileattribute.[ch]:
* gio.symbols:
* glocalfile.c:
* glocalfileoutputstream.c:
* gmountoperation.[ch]:
* goutputstream.[ch]:
Clean up all flags enums to not have _FLAGS in them
Make the names of some of the enums better.
* glocalfileinfo.c:
Fix warning
svn path=/trunk/; revision=6119
Michael Natterer [Fri, 14 Dec 2007 10:59:10 +0000 (10:59 +0000)]
fix g_io_scheduler symbol names.
2007-12-14 Michael Natterer <mitch@imendio.com>
* gio.symbols: fix g_io_scheduler symbol names.
svn path=/trunk/; revision=6118
Alexander Larsson [Fri, 14 Dec 2007 10:35:24 +0000 (10:35 +0000)]
Only allow including <gio/gio.h> from apps
2007-12-14 Alexander Larsson <alexl@redhat.com>
* Makefile.am:
* fam/Makefile.am:
* gappinfo.h:
* gasyncresult.h:
* gbufferedinputstream.h:
* gbufferedoutputstream.h:
* gcancellable.h:
* gcontenttype.h:
* gdatainputstream.h:
* gdataoutputstream.h:
* gdesktopappinfo.h:
* gdirectorymonitor.h:
* gdrive.h:
* gfile.h:
* gfileattribute.h:
* gfileenumerator.h:
* gfileicon.h:
* gfileinfo.h:
* gfileinputstream.h:
* gfilemonitor.h:
* gfilenamecompleter.h:
* gfileoutputstream.h:
* gfilterinputstream.h:
* gfilteroutputstream.h:
* gicon.h:
* ginputstream.h:
* gio.h:
* gioerror.h:
* giomodule.h:
* gioscheduler.h:
* gloadableicon.h:
* gmemoryinputstream.h:
* gmemoryoutputstream.h:
* gmount.h:
* gmountoperation.h:
* goutputstream.h:
* gseekable.h:
* gsimpleasyncresult.h:
* gthemedicon.h:
* gunixinputstream.h:
* gunixmounts.h:
* gunixoutputstream.h:
* gvfs.h:
* gvolume.h:
* gvolumemonitor.h:
* inotify/Makefile.am:
Only allow including <gio/gio.h> from apps
svn path=/trunk/; revision=6117
Alexander Larsson [Fri, 14 Dec 2007 09:42:59 +0000 (09:42 +0000)]
Rename gioscheduler calls so they all use the g_io_schedule_ prefix. Split
2007-12-14 Alexander Larsson <alexl@redhat.com>
* gioscheduler.[ch]:
* gsimpleasyncresult.c:
Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
Split out the send_to_mainloop call into two versions instead
of having the block argument.
svn path=/trunk/; revision=6116
Alexander Larsson [Thu, 13 Dec 2007 16:48:06 +0000 (16:48 +0000)]
g_push/pop_current_cancellable -> g_cancellable_push/pop_current
2007-12-13 Alexander Larsson <alexl@redhat.com>
* gcancellable.[ch]:
* gio.symbols:
* gbufferedinputstream.c:
* gfileenumerator.c:
* gfileinputstream.c:
* gfileoutputstream.c:
* ginputstream.c:
* gioscheduler.c:
* goutputstream.c:
g_push/pop_current_cancellable ->
g_cancellable_push/pop_current
svn path=/trunk/; revision=6115
Alexander Larsson [Thu, 13 Dec 2007 16:22:43 +0000 (16:22 +0000)]
Rename g_mount_for_location to g_file_mount_enclosing_volume.
2007-12-13 Alexander Larsson <alexl@redhat.com>
* gfile.[ch]:
* gio.symbols:
Rename g_mount_for_location to g_file_mount_enclosing_volume.
svn path=/trunk/; revision=6114
Mathias Hasselmann [Thu, 13 Dec 2007 15:08:59 +0000 (15:08 +0000)]
Give exmples in error message unsupported case-changing escape
sequences. (503222)
* glib/gregex.c: Add examples to error message for PCRE-ERR37.
svn path=/trunk/; revision=6113
Matej Urbančič [Thu, 13 Dec 2007 14:56:27 +0000 (14:56 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=6112
Bastien Nocera [Thu, 13 Dec 2007 14:44:37 +0000 (14:44 +0000)]
Don't try to parse dates that start with anything but a digit, a plus or a
2007-12-13 Bastien Nocera <hadess@hadess.net>
* glib/gtimer.c: (g_time_val_from_iso8601):
Don't try to parse dates that start with anything but a
digit, a plus or a minus sign, as those can't be valid
ISO8601 dates (Closes: #503029)
svn path=/trunk/; revision=6111
Jorge Gonzalez Gonzalez [Thu, 13 Dec 2007 14:41:26 +0000 (14:41 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6108
Matthias Clasen [Thu, 13 Dec 2007 13:56:08 +0000 (13:56 +0000)]
Free group_hash. (#503420, Christian Persch)
2007-12-13 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_clear): Free group_hash.
(#503420, Christian Persch)
svn path=/trunk/; revision=6107
Alexander Larsson [Thu, 13 Dec 2007 13:35:25 +0000 (13:35 +0000)]
G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2007-12-13 Alexander Larsson <alexl@redhat.com>
* gmountoperation.h:
G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
svn path=/trunk/; revision=6106
Alexander Larsson [Wed, 12 Dec 2007 19:34:19 +0000 (19:34 +0000)]
Fix race condition when freeing proxy in g_io_job_send_to_mainloop().
2007-12-12 Alexander Larsson <alexl@redhat.com>
* gioscheduler.c:
Fix race condition when freeing proxy in
g_io_job_send_to_mainloop().
svn path=/trunk/; revision=6105
Alexander Larsson [Wed, 12 Dec 2007 15:50:45 +0000 (15:50 +0000)]
Make attribute namespace separator "::" instead of ":". Use - instead of _
2007-12-12 Alexander Larsson <alexl@redhat.com>
* gfileattribute.c:
* gfileinfo.[ch]:
* glocalfile.c:
* glocalfileinfo.c:
Make attribute namespace separator "::" instead of ":".
Use - instead of _ as separator in attribute names.
svn path=/trunk/; revision=6104
16:06:11 Tim Janik [Wed, 12 Dec 2007 15:09:08 +0000 (15:09 +0000)]
split up tests and reworked code to use the new test framework.
2007-12-12 16:06:11 Tim Janik <timj@imendio.com>
* tests/testglib.c: split up tests and reworked code to use
the new test framework.
* tests/Makefile.am: added testglib to TEST_PROGS.
svn path=/trunk/; revision=6103
Alexander Larsson [Wed, 12 Dec 2007 14:33:20 +0000 (14:33 +0000)]
s/parent/parent_instance/ in GObjects
2007-12-12 Alexander Larsson <alexl@redhat.com>
* gbufferedinputstream.h:
* gbufferedoutputstream.h:
* gdatainputstream.h:
* gdataoutputstream.h:
* gdirectorymonitor.h:
* gfileenumerator.h:
* gfileinputstream.h:
* gfilemonitor.h:
* gfileoutputstream.h:
* gfilterinputstream.h:
* gfilteroutputstream.h:
* ginputstream.h:
* glocalfileinputstream.h:
* glocalfileoutputstream.h:
* gmemoryinputstream.h:
* gmemoryoutputstream.h:
* gnativevolumemonitor.h:
* goutputstream.h:
* gunixinputstream.h:
* gunixoutputstream.h:
* gvfs.h:
* gvolumemonitor.h:
s/parent/parent_instance/ in GObjects
svn path=/trunk/; revision=6102
Alexander Larsson [Wed, 12 Dec 2007 14:03:36 +0000 (14:03 +0000)]
No need for padding for interfaces
2007-12-12 Alexander Larsson <alexl@redhat.com>
* gdrive.h:
* gmount.h:
* gvolume.h:
No need for padding for interfaces
svn path=/trunk/; revision=6101
Alexander Larsson [Wed, 12 Dec 2007 12:19:02 +0000 (12:19 +0000)]
Fix up a bunch of details in the docs.
2007-12-12 Alexander Larsson <alexl@redhat.com>
* gappinfo.[ch]:
* gasyncresult.c:
* gbufferedinputstream.c:
* gbufferedoutputstream.c:
* gcancellable.c:
* gcontenttype.c:
* gdatainputstream.[ch]:
* gdesktopappinfo.c:
* gdirectorymonitor.c:
* gfile.[ch]:
* gfileattribute.[ch]:
* gfileicon.[ch]:
* gfileinfo.h:
* gfileinputstream.h:
* gfilemonitor.[ch]:
* gfileoutputstream.[ch]:
* gfilterinputstream.h:
* gfilteroutputstream.h:
* gicon.h:
* gioscheduler.c:
* gloadableicon.[ch]:
* gmemoryinputstream.c:
* gmountoperation.c:
* gthemedicon.c:
Fix up a bunch of details in the docs.
* glocalfileinfo.c:
CR/LF -> LF fixups
svn path=/trunk/; revision=6100
Mathias Hasselmann [Wed, 12 Dec 2007 10:36:08 +0000 (10:36 +0000)]
Use proper ChangeLog file for the rev 6098 change.
svn path=/trunk/; revision=6099
Mathias Hasselmann [Wed, 12 Dec 2007 10:19:43 +0000 (10:19 +0000)]
Always exit with non-zero error code when printing warnings.
* gobject/glib-genmarshal.c: Add global exit_status variable, and use
it in pad() and process_signature() to return with non-zero error code
when printing warnings. (#495294)
svn path=/trunk/; revision=6098
Jorge Gonzalez Gonzalez [Tue, 11 Dec 2007 21:31:49 +0000 (21:31 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6097
David Zeuthen [Tue, 11 Dec 2007 21:23:55 +0000 (21:23 +0000)]
Rework how volumes, drives and volume monitoring is done. Previosly the
2007-12-11 David Zeuthen <davidz@redhat.com>
Rework how volumes, drives and volume monitoring is
done. Previosly the model was
GDrive <1-1> GVolume
where a GDrive instance represented a mount point and a GVolume
instance represented a mounted file system. This patch changes it
the model to
GDrive <1-N> GVolume <1-1> GMount
where GMount now serves the purpose of the old GVolume and the new
GVolume serves the purpose of the old GDrive. In addition the new
GDrive interface is used to represent a collection of GVolume
instances (typically partitions) and also contains utility to query
the state of the physical drive the GDrive object represents (such
as checking for media, polling the drive, ejecting the media etc.).
Also implement mounting and unmounting in the Unix volume monitor
backend. A subquent patch will introduce GDrive support for ejection
of media.
* Makefile.am:
* gdrive.c: (g_drive_is_media_check_automatic),
(g_drive_is_media_removable), (g_drive_has_media),
(g_drive_can_poll_for_media), (g_drive_eject),
(g_drive_eject_finish), (g_drive_poll_for_media),
(g_drive_poll_for_media_finish):
* gdrive.h:
* gfile.c: (g_file_find_enclosing_mount):
* gfile.h:
* gio.symbols:
* glocaldirectorymonitor.c:
(g_local_directory_monitor_constructor), (mounts_changed):
* glocalfile.c: (get_mount_info),
(g_local_file_find_enclosing_mount),
(g_local_file_file_iface_init):
* gnativevolumemonitor.h:
* gunionvolumemonitor.c: (get_mounts), (get_volumes),
(get_connected_drives), (g_union_volume_monitor_class_init),
(child_volume_added), (child_volume_removed),
(child_volume_changed), (child_mount_added), (child_mount_removed),
(child_mount_pre_unmount), (child_mount_changed),
(child_drive_changed), (g_union_volume_monitor_add_monitor),
(g_union_volume_monitor_remove_monitor),
(_g_mount_get_for_mount_path):
* gunixmounts.c: (g_unix_is_mount_path_system_internal),
(guess_system_internal), (_g_get_unix_mounts),
(_g_get_unix_mount_points), (g_get_unix_mount_at),
(g_unix_mount_free), (g_unix_mount_compare),
(g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
(g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
(g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
(type_to_icon), (g_unix_mount_guess_name),
(g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
(g_unix_mount_point_guess_icon), (_canonicalize_filename),
(_resolve_symlink), (_resolve_dev_root):
* gunixmounts.h:
* gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
(_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
(_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
(g_unix_volume_get_name), (g_unix_volume_can_mount),
(g_unix_volume_get_drive), (g_unix_volume_get_mount),
(_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
(g_unix_volume_mount), (g_unix_volume_mount_finish),
(g_unix_volume_volume_iface_init):
* gunixvolume.h:
* gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
(get_mounts), (get_volumes), (get_connected_drives),
(get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
(mountpoints_changed), (mounts_changed),
(g_unix_volume_monitor_init),
(_g_unix_volume_monitor_lookup_volume_for_mount_path),
(find_mount_by_mountpath), (update_volumes), (update_mounts):
* gunixvolumemonitor.h:
* gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
(g_volume_mount), (g_volume_mount_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_class_init),
(g_volume_monitor_get_connected_drives),
(g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
* gvolumemonitor.h:
svn path=/trunk/; revision=6095
Rahul Bhalerao [Tue, 11 Dec 2007 12:37:30 +0000 (12:37 +0000)]
Added Marathi Translations
svn path=/trunk/; revision=6094
Matthias Clasen [Tue, 11 Dec 2007 01:48:23 +0000 (01:48 +0000)]
Include gurifuncs.h
2007-12-10 Matthias Clasen <mclasen@redhat.com>
* glib/glib.h: Include gurifuncs.h
svn path=/trunk/; revision=6093
Benjamin Otte [Mon, 10 Dec 2007 22:27:40 +0000 (22:27 +0000)]
use an intermediate cast to void * in g_array_index() to not trigger cast
* glib/garray.h: use an intermediate cast to void * in g_array_index()
to not trigger cast alignment warnings, fixes #502927.
svn path=/trunk/; revision=6092
Matthias Clasen [Mon, 10 Dec 2007 18:54:24 +0000 (18:54 +0000)]
Close the gap
svn path=/trunk/; revision=6091
Matthias Clasen [Mon, 10 Dec 2007 18:51:21 +0000 (18:51 +0000)]
Install gdesktopappinfo as unix-specific api
svn path=/trunk/; revision=6090
Bastien Nocera [Mon, 10 Dec 2007 17:02:29 +0000 (17:02 +0000)]
Mention the difference in handling booleans between GKeyFile and .INI
2007-12-10 Bastien Nocera <hadess@hadess.net>
* glib/tmpl/keyfile.sgml: Mention the difference
in handling booleans between GKeyFile and .INI files
(Closes: #468882)
svn path=/trunk/; revision=6089
Tor Lillqvist [Mon, 10 Dec 2007 15:24:53 +0000 (15:24 +0000)]
Add some more G_OS_WIN32 conditionals to silence gcc warnings.
2007-12-10 Tor Lillqvist <tml@novell.com>
* glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
gcc warnings.
svn path=/trunk/; revision=6088
15:08:59 Tim Janik [Mon, 10 Dec 2007 14:07:42 +0000 (14:07 +0000)]
mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
2007-12-10 15:08:59 Tim Janik <timj@imendio.com>
* let g_warn_if_fail replace g_assert as discussed here:
http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
* fix bug #502498: Test framework assertion failures should follow
gcc error format.
* gmessages.h, gmessages.c: deprecated g_assert_warning() which is
unused now. removed g_assert*() definitions whcih are provided by
gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()
which are recommended as g_assert/g_assert_not_reached replacements
for non-test programs.
added g_warn_message() to implement g_warn_*() macros.
use emacs-next-error friendly formatting for file:line: for warnings.
* gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
implement g_assert_not_reached() with g_assertion_message() and
g_assert() in terms of g_assertion_message_expr() so we'll be able to
provide assertion messages in test logs.
* gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
or g_return_if_fail() where suitable.
* gio/: changed g_assert to g_warn_if_fail.
svn path=/trunk/; revision=6086
13:02:08 Tim Janik [Mon, 10 Dec 2007 12:02:48 +0000 (12:02 +0000)]
applied patch by Tommi Komulainen to fix int64 printouts, fixes #502511.
2007-12-10 13:02:08 Tim Janik <timj@imendio.com>
* glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
Komulainen to fix int64 printouts, fixes #502511.
svn path=/trunk/; revision=6085
Alexander Larsson [Mon, 10 Dec 2007 11:19:41 +0000 (11:19 +0000)]
Don't hardcode '/' (#502727)
2007-12-10 Alexander Larsson <alexl@redhat.com>
* gfile.c (g_file_set_display_name):
Don't hardcode '/' (#502727)
svn path=/trunk/; revision=6084
Alexander Larsson [Mon, 10 Dec 2007 10:58:43 +0000 (10:58 +0000)]
Remove more internal headers.
2007-12-10 Alexander Larsson <alexl@redhat.com>
* gio/Makefile.am:
Remove more internal headers.
* gio/gio-sections.txt:
Update for changes
svn path=/trunk/; revision=6083
Matthias Clasen [Mon, 10 Dec 2007 07:26:01 +0000 (07:26 +0000)]
Updates
svn path=/trunk/; revision=6082
Matthias Clasen [Mon, 10 Dec 2007 05:24:36 +0000 (05:24 +0000)]
Change prototype to take msgctxtid + offset instead of two strings, to
2007-12-10 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.h:
* glib/gstrfuncs.c (g_dpgettext): Change prototype to take
msgctxtid + offset instead of two strings, to avoid duplication
of string constants if the compiler/linker don't perform constant
suffix merging. (#502590, Christian Persch)
* glib/gi18n.h:
* glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
svn path=/trunk/; revision=6081
Hans Breuer [Sun, 9 Dec 2007 22:10:40 +0000 (22:10 +0000)]
follow lib naming convention working implementation for user and group
2007-12-09 Hans Breuer <hans@breuer.org>
* makefile.msc : follow lib naming convention
* glocalfileinfo.c(win32_get_file_user_info) : working implementation
for user and group name, tested with ../tests/gio-ls
svn path=/trunk/; revision=6080
Hans Breuer [Sun, 9 Dec 2007 22:02:15 +0000 (22:02 +0000)]
a test program emulating some of 'ls' build it (currently on win32)
2007-12-09 Hans Breuer <hans@breuer.org>
* tests/gio-ls.c : (new file) a test program emulating some of 'ls'
* tests/makefile.msc.in : build it (currently on win32)
svn path=/trunk/; revision=6079
Jorge Gonzalez Gonzalez [Sun, 9 Dec 2007 20:02:36 +0000 (20:02 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6078
A. Walton [Sun, 9 Dec 2007 15:51:12 +0000 (15:51 +0000)]
More documentation cleanup and filling in missing information, bringing
2007-12-09 A. Walton <awalton@svn.gnome.org>
* gdesktopappinfo.c:
* gdrive.c:
* gdrive.h:
* gfile.c:
* gfile.h:
* gfileattribute.c:
* gfileenumerator.c:
* gioerror.c:
* gioscheduler.c:
* gioscheduler.h:
* gloadableicon.c:
* gmemoryinputstream.c:
* gmemoryoutputstream.c:
* goutputstream.h:
* gsimpleasyncresult.c:
More documentation cleanup and filling in missing information,
bringing
GIO to 99% symbol coverage.
svn path=/trunk/; revision=6077
Hans Breuer [Sun, 9 Dec 2007 14:38:26 +0000 (14:38 +0000)]
removed -GD to compile with msvc9 (vs2008) with less complains
2007-12-09 Hans Breuer <hans@breuer.org>
* **/makefile.msc glib/makefile.msc.in : removed -GD to compile
with msvc9 (vs2008) with less complains
* glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
msv8 (vs2005) and above
* glib/gfileutils.c : s/stricmp/_stricmp/
* msvc_recommended_pragmas.h : work around Microsoft's premature
attempt to deprecate the C-Library
* tests/makefile.msc.in : added checksum-test
svn path=/trunk/; revision=6076
Espen Stefansen [Sat, 8 Dec 2007 23:40:15 +0000 (23:40 +0000)]
Updated Norwegian bokmål translation.
2007-12-09 Espen Stefansen <espens@svn.gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=6075
Christian Persch [Sat, 8 Dec 2007 14:29:37 +0000 (14:29 +0000)]
Add forgotten #ifdef G_OS_WIN32 to fix the build on linux.
2007-12-08 Christian Persch <chpe@gnome.org>
* gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
#ifdef G_OS_WIN32 to fix the build on linux.
svn path=/trunk/; revision=6074
Kjartan Maraas [Sat, 8 Dec 2007 13:05:07 +0000 (13:05 +0000)]
Updated Norwegian bokmål translation.
2007-12-08 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=6073
Kjartan Maraas [Sat, 8 Dec 2007 13:00:46 +0000 (13:00 +0000)]
Add missing file.
2007-12-08 Kjartan Maraas <kmaraas@gnome.org>
* POTFILES.in: Add missing file.
svn path=/trunk/; revision=6072
Hans Breuer [Sat, 8 Dec 2007 12:02:22 +0000 (12:02 +0000)]
build gchecksum.obj
2007-12-08 Hans Breuer <hans@breuer.org>
* glib/makefile.msc.in : build gchecksum.obj
svn path=/trunk/; revision=6071
Hans Breuer [Sat, 8 Dec 2007 12:01:06 +0000 (12:01 +0000)]
[gio compiles and links on win32, not sure how much already works] ifdefed
2007-12-08 Hans Breuer <hans@breuer.org>
[gio compiles and links on win32, not sure how much already works]
* glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
* glocalfile.c : use HAVE_UNISTD_H; implement file system size info
base on win32 API; prefer g_lstat() over lstat(); instead of
localtime_r() use an all GLib implementation on win32;
get_mount_info() still needs a win32 specifc implementation
* glocalfileinfo.c : use HAVE_*_H; start of implementation of
win32_get_file_user_info to get owner/group info without uid/gid
* glocalfileinputstream.c : include <io.h> on win32
* glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
definition, use g_win32_ftruncate() for G_OS_WIN32
* gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
it is available with mingw/w32api but a mess with the M$ Platform SDKs
see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
* makefile.msc : updated
svn path=/trunk/; revision=6070
Jakub Friedl [Sat, 8 Dec 2007 08:13:28 +0000 (08:13 +0000)]
Czech Translation updated by Petr Kovar.
2007-12-08 Jakub Friedl <jfriedl@suse.cz>
* cs.po: Czech Translation updated by Petr Kovar.
svn path=/trunk/; revision=6069
Leonardo Ferreira Fontenelle [Sat, 8 Dec 2007 01:25:10 +0000 (01:25 +0000)]
Brazilian Portuguese translation updated by Vladimir Melo.
2007-12-07 Leonardo Ferreira Fontenelle <leonardof@svn.gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Vladimir Melo.
svn path=/trunk/; revision=6068
Ihar Hrachyshka [Fri, 7 Dec 2007 22:36:01 +0000 (22:36 +0000)]
Updated Belarusian Latin translation.
svn path=/trunk/; revision=6066
Alexander Larsson [Fri, 7 Dec 2007 11:47:31 +0000 (11:47 +0000)]
Avoid warning spew if error == NULL
2007-12-07 Alexander Larsson <alexl@redhat.com>
* glocalfileenumerator.c (_g_local_file_enumerator_new):
Avoid warning spew if error == NULL
svn path=/trunk/; revision=6065
Alexander Larsson [Fri, 7 Dec 2007 09:16:32 +0000 (09:16 +0000)]
Update docs wrt etags
2007-12-07 Alexander Larsson <alexl@redhat.com>
* gfile.c:
Update docs wrt etags
svn path=/trunk/; revision=6064