summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Move GFileAttributeValue to a private header, as its sort of ugly.Alexander Larsson2007-12-1414-282/+455
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Say Makefile.am instead of gio/Makefile.am in changelogYevgen Muntyan2007-12-141-2/+2
| | | | svn path=/trunk/; revision=6128
* Moved the ChangeLog entry to gio/ChangeLogYevgen Muntyan2007-12-142-7/+7
| | | | svn path=/trunk/; revision=6127
* Fixed build when srcdir != builddir, made mkenums and friends useYevgen Muntyan2007-12-143-9/+25
| | | | | | | | | | | | 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
* Updated Spanish translationJorge Gonzalez Gonzalez2007-12-142-158/+143
| | | | svn path=/trunk/; revision=6125
* Updated French translation by Robert-André Mauchin and StéphaneStéphane Raimbault2007-12-142-81/+833
| | | | | | | | | 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
* Updated file list (gio).Stéphane Raimbault2007-12-142-37/+25
| | | | | | | | 2007-12-14 Stéphane Raimbault <stephane.raimbault@gmail.com> * POTFILES.in: Updated file list (gio). svn path=/trunk/; revision=6122
* Fix AKS -> ASK typoAlexander Larsson2007-12-142-1/+6
| | | | | | | | | | 2007-12-14 Alexander Larsson <alexl@redhat.com> * gmountoperation.h: Fix AKS -> ASK typo svn path=/trunk/; revision=6120
* Clean up all flags enums to not have _FLAGS in them Make the names of someAlexander Larsson2007-12-1414-69/+86
| | | | | | | | | | | | | | | | | | | | | 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
* fix g_io_scheduler symbol names.Michael Natterer2007-12-142-3/+8
| | | | | | | | | 2007-12-14 Michael Natterer <mitch@imendio.com> * gio.symbols: fix g_io_scheduler symbol names. svn path=/trunk/; revision=6118
* Only allow including <gio/gio.h> from appsAlexander Larsson2007-12-1447-6/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename gioscheduler calls so they all use the g_io_schedule_ prefix. SplitAlexander Larsson2007-12-144-84/+132
| | | | | | | | | | | | | 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
* g_push/pop_current_cancellable -> g_cancellable_push/pop_currentAlexander Larsson2007-12-1311-44/+58
| | | | | | | | | | | | | | | | | | | 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
* Rename g_mount_for_location to g_file_mount_enclosing_volume.Alexander Larsson2007-12-134-29/+35
| | | | | | | | | | | 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
* Give exmples in error message unsupported case-changing escapeMathias Hasselmann2007-12-132-2/+13
| | | | | | | | sequences. (503222) * glib/gregex.c: Add examples to error message for PCRE-ERR37. svn path=/trunk/; revision=6113
* Updated Slovenian translationMatej Urbančič2007-12-132-72/+830
| | | | svn path=/trunk/; revision=6112
* Don't try to parse dates that start with anything but a digit, a plus or aBastien Nocera2007-12-132-0/+17
| | | | | | | | | | | | 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
* Updated Spanish translationJorge Gonzalez Gonzalez2007-12-132-56/+62
| | | | svn path=/trunk/; revision=6108
* Free group_hash. (#503420, Christian Persch)Matthias Clasen2007-12-132-0/+8
| | | | | | | | | | 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
* G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTEDAlexander Larsson2007-12-132-6/+11
| | | | | | | | | | 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
* Fix race condition when freeing proxy in g_io_job_send_to_mainloop().Alexander Larsson2007-12-122-21/+17
| | | | | | | | | | | | 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
* Make attribute namespace separator "::" instead of ":". Use - instead of _Alexander Larsson2007-12-126-142/+151
| | | | | | | | | | | | | | 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
* split up tests and reworked code to use the new test framework.16:06:11 Tim Janik2007-12-123-891/+902
| | | | | | | | | | | | | 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
* s/parent/parent_instance/ in GObjectsAlexander Larsson2007-12-1223-26/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* No need for padding for interfacesAlexander Larsson2007-12-124-33/+7
| | | | | | | | | | | | 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
* Fix up a bunch of details in the docs.Alexander Larsson2007-12-1234-537/+690
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use proper ChangeLog file for the rev 6098 change.Mathias Hasselmann2007-12-122-8/+8
| | | | svn path=/trunk/; revision=6099
* Always exit with non-zero error code when printing warnings.Mathias Hasselmann2007-12-122-4/+15
| | | | | | | | * 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
* Updated Spanish translationJorge Gonzalez Gonzalez2007-12-112-108/+113
| | | | svn path=/trunk/; revision=6097
* Rework how volumes, drives and volume monitoring is done. Previosly theDavid Zeuthen2007-12-1129-1211/+2336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added Marathi TranslationsRahul Bhalerao2007-12-114-1/+1421
| | | | svn path=/trunk/; revision=6094
* Include gurifuncs.hMatthias Clasen2007-12-112-0/+5
| | | | | | | | | | 2007-12-10 Matthias Clasen <mclasen@redhat.com> * glib/glib.h: Include gurifuncs.h svn path=/trunk/; revision=6093
* use an intermediate cast to void * in g_array_index() to not trigger castBenjamin Otte2007-12-102-1/+6
| | | | | | | * 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
* Close the gapMatthias Clasen2007-12-102-2/+6
| | | | svn path=/trunk/; revision=6091
* Install gdesktopappinfo as unix-specific apiMatthias Clasen2007-12-109-18/+60
| | | | svn path=/trunk/; revision=6090
* Mention the difference in handling booleans between GKeyFile and .INIBastien Nocera2007-12-102-0/+11
| | | | | | | | | | | 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
* Add some more G_OS_WIN32 conditionals to silence gcc warnings.Tor Lillqvist2007-12-102-4/+22
| | | | | | | | | | 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
* http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html15:08:59 Tim Janik2007-12-1031-148/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* applied patch by Tommi Komulainen to fix int64 printouts, fixes #502511.13:02:08 Tim Janik2007-12-102-1/+6
| | | | | | | | | | | 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
* Don't hardcode '/' (#502727)Alexander Larsson2007-12-102-2/+7
| | | | | | | | | | 2007-12-10 Alexander Larsson <alexl@redhat.com> * gfile.c (g_file_set_display_name): Don't hardcode '/' (#502727) svn path=/trunk/; revision=6084
* Remove more internal headers.Alexander Larsson2007-12-103-39/+22
| | | | | | | | | | | | | | 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
* UpdatesMatthias Clasen2007-12-103-2/+46
| | | | svn path=/trunk/; revision=6082
* Change prototype to take msgctxtid + offset instead of two strings, toMatthias Clasen2007-12-105-15/+27
| | | | | | | | | | | | | | | | 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
* follow lib naming convention working implementation for user and groupHans Breuer2007-12-093-29/+79
| | | | | | | | | | | 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
* a test program emulating some of 'ls' build it (currently on win32)Hans Breuer2007-12-093-0/+133
| | | | | | | | | | 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
* Updated Spanish translationJorge Gonzalez Gonzalez2007-12-092-187/+357
| | | | svn path=/trunk/; revision=6078
* More documentation cleanup and filling in missing information, bringingA. Walton2007-12-0917-90/+213
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* removed -GD to compile with msvc9 (vs2008) with less complainsHans Breuer2007-12-098-12/+31
| | | | | | | | | | | | | | | | | | | 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
* Updated Norwegian bokmål translation.Espen Stefansen2007-12-082-259/+304
| | | | | | | | | 2007-12-09 Espen Stefansen <espens@svn.gnome.org> * nb.po: Updated Norwegian bokmål translation. svn path=/trunk/; revision=6075
* Add forgotten #ifdef G_OS_WIN32 to fix the build on linux.Christian Persch2007-12-082-0/+7
| | | | | | | | | 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