summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.15.0GLIB_2_15_0Matthias Clasen2007-12-21112-13337/+71462
| | | | svn path=/trunk/; revision=6180
* UpdatesMatthias Clasen2007-12-202-0/+122
| | | | svn path=/trunk/; revision=6179
* don't build gdesktopappinfo.obj, it collides with symbolsHans Breuer2007-12-203-1/+12
| | | | | | | | | | | 2007-12-20 Hans Breuer <hans@breuer.org> * makefile.msc : don't build gdesktopappinfo.obj, it collides with symbols gwin32appinfo.obj, added gmount.obj * gio.symbols : mark g_desktop_app_* as G_OS_UNIX svn path=/trunk/; revision=6178
* Fix make distMatthias Clasen2007-12-202-2/+7
| | | | svn path=/trunk/; revision=6177
* commented class definitions. moved HTML character escaping out of16:34:04 Tim Janik2007-12-202-9/+38
| | | | | | | | | | | | 2007-12-20 16:34:04 Tim Janik <timj@imendio.com> * glib/gtester-report: commented class definitions. moved HTML character escaping out of javascript. fixed string->bool conversions. added performance results to test case "Details" window. svn path=/trunk/; revision=6176
* Return NULL if the checksum_type is unknownMatthias Clasen2007-12-203-10/+17
| | | | svn path=/trunk/; revision=6175
* Use g_slice_new0, to fix "conditional jump or move depends onChristian Persch2007-12-202-1/+7
| | | | | | | | | | 2007-12-20 Christian Persch <chpe@gnome.org> * glib/gchecksum.c: (g_checksum_new): Use g_slice_new0, to fix "conditional jump or move depends on uninitialised value(s)" error from valgrind. Bug #504527. svn path=/trunk/; revision=6174
* Updated Slovenian translationMatej Urbančič2007-12-201-258/+265
| | | | svn path=/trunk/; revision=6173
* generate HTML reports for test-report perf-report full-report.15:17:04 Tim Janik2007-12-202-1/+7
| | | | | | | | | | 2007-12-20 15:17:04 Tim Janik <timj@imendio.com> * Makefile.decl: generate HTML reports for test-report perf-report full-report. svn path=/trunk/; revision=6172
* new python script that generates an HTML unit test report from the XML15:03:51 Tim Janik2007-12-203-0/+358
| | | | | | | | | | | | | | 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
* File attribute renames: std:: -> standard:: fs:: -> filesystem:: id::fs ->Alexander Larsson2007-12-209-173/+189
| | | | | | | | | | | | | | | | | | | | 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
* Add GMountUnmountFlags to all unmount and eject calls. AddAlexander Larsson2007-12-2012-12/+164
| | | | | | | | | | | | | | | | | | | 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
* Fix unused variable warningAlexander Larsson2007-12-202-1/+5
| | | | | | | | | | 2007-12-20 Alexander Larsson <alexl@redhat.com> * gvfs.c (get_default_vfs): Fix unused variable warning svn path=/trunk/; revision=6168
* UpdatesMatthias Clasen2007-12-202-1/+5
| | | | svn path=/trunk/; revision=6167
* Remove C99 commentsMatthias Clasen2007-12-203-3/+8
| | | | svn path=/trunk/; revision=6166
* AdditionsMatthias Clasen2007-12-202-1/+8
| | | | svn path=/trunk/; revision=6165
* AdditionsMatthias Clasen2007-12-202-0/+5
| | | | svn path=/trunk/; revision=6164
* capture g_log() messages and send to gtester. also, send assertion20:30:18 Tim Janik2007-12-193-11/+86
| | | | | | | | | | | | | | | 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
* Add g_checksum_type_get_length, and change g_checksum_get_digest to use aChristian Persch2007-12-196-52/+66
| | | | | | | | | | | | | | 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
* Fix the date validation check. (#503029)Emmanuele Bassi2007-12-193-1/+13
| | | | | | | | | | | | 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
* Make g_io_modules_load_all_in_directory not unuse loaded modules so thatAlexander Larsson2007-12-1911-166/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename g_format_file_size_for_display to g_format_size_for_display.Alexander Larsson2007-12-194-9/+17
| | | | | | | | | | | | 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
* Remove warningsAlexander Larsson2007-12-192-4/+7
| | | | | | | | | | 2007-12-19 Alexander Larsson <alexl@redhat.com> * giomodule.c: Remove warnings svn path=/trunk/; revision=6157
* Store the native type as GType, not class so that we can unload it. ButAlexander Larsson2007-12-192-32/+56
| | | | | | | | | | | | 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
* Updated Norwegian bokmål translation.Kjartan Maraas2007-12-192-132/+144
| | | | | | | | 2007-12-19 Kjartan Maraas <kmaraas@gnome.org> * nb.po: Updated Norwegian bokmål translation. svn path=/trunk/; revision=6155
* Some minor fixes and additions.Alexander Larsson2007-12-193-2/+18
| | | | | | | | | | | 2007-12-19 Alexander Larsson <alexl@redhat.com> * gio/migrating.xml: * gio/overview.xml: Some minor fixes and additions. svn path=/trunk/; revision=6154
* Introduce g_volume_monitor_adopt_orphan_mount() function. Also add signalsDavid Zeuthen2007-12-1913-18/+195
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* add g_async_queue_new_full() which takes a GDestroyNotify function to freeTim-Philipp Müller2007-12-184-0/+35
| | | | | | | | | | | | * 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
* added g_test_trap_assert_stdout_unmatched() and13:45:23 Tim Janik2007-12-183-16/+27
| | | | | | | | | | | | | 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
* Flesh out the docsMatthias Clasen2007-12-186-49/+92
| | | | svn path=/trunk/; revision=6150
* Fix up includes in section docsMatthias Clasen2007-12-1844-56/+102
| | | | svn path=/trunk/; revision=6149
* AdditionsMatthias Clasen2007-12-181-3/+93
| | | | svn path=/trunk/; revision=6148
* Updated Spanish translationJorge Gonzalez Gonzalez2007-12-172-13/+25
| | | | svn path=/trunk/; revision=6147
* Add some very modest beginningsMatthias Clasen2007-12-172-1/+20
| | | | svn path=/trunk/; revision=6146
* Stub of a migration chapter Stub of an overview Overview diagram takenMatthias Clasen2007-12-177-7/+48
| | | | | | | | | | | | | | | 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
* Add is_supported() to GNativeVolumeMonitorClass so that we can avoidAlexander Larsson2007-12-178-63/+118
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Namespace waste reduction, move some g_get_unix_mount functions to theMatthias Clasen2007-12-1710-30/+50
| | | | | | | | | | | | | | | | | | 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
* Add doc comments about what GFile operations are guaranteed to not block.Alexander Larsson2007-12-172-1/+41
| | | | | | | | | | | 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
* Add missing #ifdef fixing OSX build. (#503334, patch from Richard Hult)Alexander Larsson2007-12-172-0/+8
| | | | | | | | | | | | 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
* Provide eject() on both GMount and GVolume and utility functions to guessDavid Zeuthen2007-12-1716-81/+721
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* UpdatesMatthias Clasen2007-12-173-55/+72
| | | | svn path=/trunk/; revision=6139
* Documentation updatesMatthias Clasen2007-12-178-19/+73
| | | | svn path=/trunk/; revision=6138
* Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)Mathias Hasselmann2007-12-162-2/+8
| | | | | | | * glib/gutils.c: Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes) svn path=/trunk/; revision=6137
* Updated Spanish translationJorge Gonzalez Gonzalez2007-12-152-54/+72
| | | | svn path=/trunk/; revision=6136
* Add gio-ls.c Updated Norwegian bokmål translation.Kjartan Maraas2007-12-153-435/+392
| | | | | | | | | 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
* More doc fixupsMatthias Clasen2007-12-152-2/+1
| | | | svn path=/trunk/; revision=6134
* Fix up docsMatthias Clasen2007-12-153-6/+13
| | | | svn path=/trunk/; revision=6133
* Use hash iteratorsMatthias Clasen2007-12-153-26/+16
| | | | svn path=/trunk/; revision=6132
* Fix up docsMatthias Clasen2007-12-151-7/+7
| | | | svn path=/trunk/; revision=6131
* Add hash table iterators. (#500507, Jean-Yves Lefort)Matthias Clasen2007-12-158-18/+421
| | | | | | | | | | | | | | 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