1 2007-12-14 Matthias Clasen <mclasen@redhat.com>
4 * gdesktopappinfo.c: Use hash table iterators.
6 2007-12-14 Alexander Larsson <alexl@redhat.com>
10 * gfileattribute-priv.h:
11 Move GFileAttributeValue to a private header, as
15 Make set_attribute take a type + a pointer instead
16 of a GFileAttributeValue.
19 Fix up for above changes.
20 Add g_file_info_get_attribute_data to get
21 all info in one call, g_file_info_get_attribute_status
22 to get the status and g_file_info_get_attribute_as_string.
26 * glocalfileinfo.[ch]:
30 Make _guess_type static.
32 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
35 * inotify/Makefile.am: Fixed build when srcdir != builddir,
36 made mkenums and friends use temporary files to avoid leaving
37 empty generated files on failure (#503470).
39 2007-12-14 Alexander Larsson <alexl@redhat.com>
44 2007-12-14 Alexander Larsson <alexl@redhat.com>
48 * gfileattribute.[ch]:
51 * glocalfileoutputstream.c:
52 * gmountoperation.[ch]:
54 Clean up all flags enums to not have _FLAGS in them
55 Make the names of some of the enums better.
60 2007-12-14 Michael Natterer <mitch@imendio.com>
62 * gio.symbols: fix g_io_scheduler symbol names.
64 2007-12-14 Alexander Larsson <alexl@redhat.com>
70 * gbufferedinputstream.h:
71 * gbufferedoutputstream.h:
75 * gdataoutputstream.h:
77 * gdirectorymonitor.h:
86 * gfilenamecompleter.h:
87 * gfileoutputstream.h:
88 * gfilterinputstream.h:
89 * gfilteroutputstream.h:
97 * gmemoryinputstream.h:
98 * gmemoryoutputstream.h:
103 * gsimpleasyncresult.h:
105 * gunixinputstream.h:
107 * gunixoutputstream.h:
111 * inotify/Makefile.am:
112 Only allow including <gio/gio.h> from apps
114 2007-12-14 Alexander Larsson <alexl@redhat.com>
117 * gsimpleasyncresult.c:
118 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
119 Split out the send_to_mainloop call into two versions instead
120 of having the block argument.
122 2007-12-13 Alexander Larsson <alexl@redhat.com>
126 * gbufferedinputstream.c:
128 * gfileinputstream.c:
129 * gfileoutputstream.c:
133 g_push/pop_current_cancellable ->
134 g_cancellable_push/pop_current
136 2007-12-13 Alexander Larsson <alexl@redhat.com>
140 Rename g_mount_for_location to g_file_mount_enclosing_volume.
142 2007-12-13 Alexander Larsson <alexl@redhat.com>
145 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
147 2007-12-12 Alexander Larsson <alexl@redhat.com>
150 Fix race condition when freeing proxy in
151 g_io_job_send_to_mainloop().
153 2007-12-12 Alexander Larsson <alexl@redhat.com>
159 Make attribute namespace separator "::" instead of ":".
160 Use - instead of _ as separator in attribute names.
162 2007-12-12 Alexander Larsson <alexl@redhat.com>
164 * gbufferedinputstream.h:
165 * gbufferedoutputstream.h:
166 * gdatainputstream.h:
167 * gdataoutputstream.h:
168 * gdirectorymonitor.h:
170 * gfileinputstream.h:
172 * gfileoutputstream.h:
173 * gfilterinputstream.h:
174 * gfilteroutputstream.h:
176 * glocalfileinputstream.h:
177 * glocalfileoutputstream.h:
178 * gmemoryinputstream.h:
179 * gmemoryoutputstream.h:
180 * gnativevolumemonitor.h:
182 * gunixinputstream.h:
183 * gunixoutputstream.h:
186 s/parent/parent_instance/ in GObjects
188 2007-12-12 Alexander Larsson <alexl@redhat.com>
193 No need for padding for interfaces
195 2007-12-12 Alexander Larsson <alexl@redhat.com>
199 * gbufferedinputstream.c:
200 * gbufferedoutputstream.c:
203 * gdatainputstream.[ch]:
205 * gdirectorymonitor.c:
207 * gfileattribute.[ch]:
210 * gfileinputstream.h:
212 * gfileoutputstream.[ch]:
213 * gfilterinputstream.h:
214 * gfilteroutputstream.h:
217 * gloadableicon.[ch]:
218 * gmemoryinputstream.c:
221 Fix up a bunch of details in the docs.
226 2007-12-11 David Zeuthen <davidz@redhat.com>
228 Rework how volumes, drives and volume monitoring is
229 done. Previosly the model was
233 where a GDrive instance represented a mount point and a GVolume
234 instance represented a mounted file system. This patch changes it
237 GDrive <1-N> GVolume <1-1> GMount
239 where GMount now serves the purpose of the old GVolume and the new
240 GVolume serves the purpose of the old GDrive. In addition the new
241 GDrive interface is used to represent a collection of GVolume
242 instances (typically partitions) and also contains utility to query
243 the state of the physical drive the GDrive object represents (such
244 as checking for media, polling the drive, ejecting the media etc.).
246 Also implement mounting and unmounting in the Unix volume monitor
247 backend. A subquent patch will introduce GDrive support for ejection
251 * gdrive.c: (g_drive_is_media_check_automatic),
252 (g_drive_is_media_removable), (g_drive_has_media),
253 (g_drive_can_poll_for_media), (g_drive_eject),
254 (g_drive_eject_finish), (g_drive_poll_for_media),
255 (g_drive_poll_for_media_finish):
257 * gfile.c: (g_file_find_enclosing_mount):
260 * glocaldirectorymonitor.c:
261 (g_local_directory_monitor_constructor), (mounts_changed):
262 * glocalfile.c: (get_mount_info),
263 (g_local_file_find_enclosing_mount),
264 (g_local_file_file_iface_init):
265 * gnativevolumemonitor.h:
266 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
267 (get_connected_drives), (g_union_volume_monitor_class_init),
268 (child_volume_added), (child_volume_removed),
269 (child_volume_changed), (child_mount_added), (child_mount_removed),
270 (child_mount_pre_unmount), (child_mount_changed),
271 (child_drive_changed), (g_union_volume_monitor_add_monitor),
272 (g_union_volume_monitor_remove_monitor),
273 (_g_mount_get_for_mount_path):
274 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
275 (guess_system_internal), (_g_get_unix_mounts),
276 (_g_get_unix_mount_points), (g_get_unix_mount_at),
277 (g_unix_mount_free), (g_unix_mount_compare),
278 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
279 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
280 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
281 (type_to_icon), (g_unix_mount_guess_name),
282 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
283 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
284 (_resolve_symlink), (_resolve_dev_root):
286 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
287 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
288 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
289 (g_unix_volume_get_name), (g_unix_volume_can_mount),
290 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
291 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
292 (g_unix_volume_mount), (g_unix_volume_mount_finish),
293 (g_unix_volume_volume_iface_init):
295 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
296 (get_mounts), (get_volumes), (get_connected_drives),
297 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
298 (mountpoints_changed), (mounts_changed),
299 (g_unix_volume_monitor_init),
300 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
301 (find_mount_by_mountpath), (update_volumes), (update_mounts):
302 * gunixvolumemonitor.h:
303 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
304 (g_volume_mount), (g_volume_mount_finish):
306 * gvolumemonitor.c: (g_volume_monitor_class_init),
307 (g_volume_monitor_get_connected_drives),
308 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
311 2007-12-10 Matthias Clasen <mclasen@redhat.com>
313 * gmountoperation.h (GPasswordFlags): Close the gap
315 2007-12-10 Matthias Clasen <mclasen@redhat.com>
317 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
319 * gdesktopappinfo.[hc]: Remove _-prefixes
321 2007-12-10 Tor Lillqvist <tml@novell.com>
323 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
326 2007-12-10 Alexander Larsson <alexl@redhat.com>
328 * gfile.c (g_file_set_display_name):
329 Don't hardcode '/' (#502727)
331 2007-12-09 Hans Breuer <hans@breuer.org>
333 * makefile.msc : follow lib naming convention
334 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
335 for user and group name, tested with ../tests/gio-ls
337 2007-12-09 A. Walton <awalton@svn.gnome.org>
350 * gmemoryinputstream.c:
351 * gmemoryoutputstream.c:
353 * gsimpleasyncresult.c:
354 More documentation cleanup and filling in missing information, bringing
355 GIO to 99% symbol coverage.
357 2007-12-08 Hans Breuer <hans@breuer.org>
359 [gio compiles and links on win32, not sure how much already works]
360 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
361 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
362 base on win32 API; prefer g_lstat() over lstat(); instead of
363 localtime_r() use an all GLib implementation on win32;
364 get_mount_info() still needs a win32 specifc implementation
365 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
366 win32_get_file_user_info to get owner/group info without uid/gid
367 * glocalfileinputstream.c : include <io.h> on win32
368 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
369 definition, use g_win32_ftruncate() for G_OS_WIN32
370 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
371 it is available with mingw/w32api but a mess with the M$ Platform SDKs
372 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
373 * makefile.msc : updated
375 2007-12-07 Alexander Larsson <alexl@redhat.com>
377 * glocalfileenumerator.c (_g_local_file_enumerator_new):
378 Avoid warning spew if error == NULL
380 2007-12-07 Alexander Larsson <alexl@redhat.com>
383 Update docs wrt etags
385 2007-12-06 Alexander Larsson <alexl@redhat.com>
388 Include sys/types.h for dev_t (#501919)
390 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
394 Make abicheck and pltcheck pass.
396 2007-12-05 Alexander Larsson <alexl@redhat.com>
399 * giomodule-priv.h: Added.
400 * glocaldirectorymonitor.c:
401 * glocalfilemonitor.c:
402 * gunionvolumemonitor.c:
404 Actually add the declaration of _g_io_modules_ensure_loaded
406 2007-12-05 Alexander Larsson <alexl@redhat.com>
408 * gdatainputstream.c:
413 * glocaldirectorymonitor.c:
414 * glocalfilemonitor.c:
415 * gunionvolumemonitor.c:
417 Make g_io_modules_ensure_loaded a private function and
418 don't pass in the dirname. This means we can do magic
419 directory finding in the win32 version.
420 Export the actual load-modules-in-directory code so that
423 2007-12-05 Alexander Larsson <alexl@redhat.com>
425 * gbufferedinputstream.c:
426 * gbufferedoutputstream.c:
429 * gfileenumerator.[ch]:
430 * gfileinputstream.c:
431 * gfileoutputstream.[ch]:
432 * gfilterinputstream.c:
433 * gfilteroutputstream.c:
436 * glocalfileenumerator.c:
437 * glocalfileinputstream.c:
438 * glocalfileoutputstream.c:
439 * gmemoryinputstream.c:
440 * gmemoryoutputstream.c:
441 * goutputstream.[ch]:
444 * gunixinputstream.c:
445 * gunixoutputstream.c:
446 Rename all struct members named:
447 read, write, close, truncate, or mount
448 to foo_fn, as these are reserved names
449 and could be defined as macros in libc.
452 2007-12-04 Alexander Larsson <alexl@redhat.com>
455 (g_output_stream_close):
456 Only call flush if non-null.
458 2007-11-30 Dan Winship <danw@gnome.org>
460 * ginputstream.c (g_input_stream_set_pending): Make this take a
461 GError and return a gboolean, and do the "outstanding operation"
462 check (and the "stream is already closed" check) itself.
463 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
465 * goutputstream.c (g_output_stream_set_pending)
466 (g_output_stream_clear_pending): Likewise
468 * gbufferedinputstream.c:
469 * gfileinputstream.c:
470 * gfileoutputstream.c: Update for that
472 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
473 Like g_simple_async_report_error_in_idle, but takes a GError
474 rather than building one.
476 2007-11-30 Dan Winship <danw@gnome.org>
478 * goutputstream.c: Don't cheat and unset the "pending" flag around
479 inner calls. Instead, call the class method directly rather than
480 the wrapper function that checks "pending"
482 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
484 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
486 2007-12-03 Hans Breuer <hans@breuer.org>
488 [start of port to win32/msvc]
489 * gcancellable.c : HAVE_UNIST_H and _pipe()
490 * gcontenttype.c : only include <dirent.h> in the UNIX branch
491 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
492 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
494 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
495 * glocalvfs.c : use HAVE_PWD_H
496 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
497 * makefile.msc : new file (maybe later converted to makefile.msc.in)
498 * Makefile.am : added to EXTRA_DIST
500 2007-12-03 Matthias Clasen <mclasen@redhat.com>
502 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
505 2007-12-03 Alexander Larsson <alexl@redhat.com>
508 Handle OSX style xattrs API (#500506)
510 2007-12-03 Alexander Larsson <alexl@redhat.com>
514 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
516 2007-12-02 A. Walton <awalton@svn.gnome.org>
520 Documentation accuracy fixes.
522 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
524 * gioenumtypes.c.template: Fix typo.
526 2007-12-01 Matthias Clasen <mclasen@redhat.com>
528 * gioenumtypes.c.template: Make threadsafe get_type() functions.
530 2007-12-01 Matthias Clasen <mclasen@redhat.com>
532 * gdirectorymonitor.c:
533 * gfilemonitor.c: Add properties
535 * gbufferedoutputstream.c: Don't mark buffer-size property
538 2007-12-01 Matthias Clasen <mclasen@redhat.com>
540 * gbufferedoutputstream.c: Add auto-grow property.
542 2007-11-30 Matthias Clasen <mclasen@redhat.com>
544 * *.c: Unify the capitalization of section headings.
546 2007-11-30 Matthias Clasen <mclasen@redhat.com>
548 * gmountoperation.c: Add properties
550 * gdatainputstream.c: Turn byte-order and newline-type into
553 2007-11-30 Matthias Clasen <mclasen@redhat.com>
555 * gioenumtypes.[hc].template: Templates for enum registration
557 * Makefile.am: Generate gioenumtypes.[hc]
559 * gio.h: Include gioenumtypes.h
561 * gfile.h: Add some explicit nicks.
563 * gio.symbols: Add new symbols
565 * pltcheck.sh: Adjust
567 2007-11-30 Matthias Clasen <mclasen@redhat.com>
569 * *.c: Explain etags and link to the explanation
571 2007-11-29 Matthias Clasen <mclasen@redhat.com>
573 * *.c: Explain I/O priority.
575 * *.c: More coding style fixes.
577 2007-11-29 Matthias Clasen <mclasen@redhat.com>
579 * gasyncresult.c: Add another paragraph to the intro,
580 adjust coding style of example.
582 2007-11-29 A. Walton <awalton@svn.gnome.org>
585 Fixes unknown meaning in GAppLaunchContext docs.
587 Clarify asynchronous ops.
592 Provides missing gtk-doc section, fixes API docs slighly.
593 * gsimpleasyncresult.c:
594 Fill in missing info in docs.
595 * gunixinputstream.c:
596 * gunixoutputstream.c:
597 Be more expressive in short description.
599 Remove gtk-doc stubs for non-public API.
601 2007-11-28 Matthias Clasen <mclasen@redhat.com>
603 * *.c: Coding style fixups
605 2007-11-28 Matthias Clasen <mclasen@redhat.com>
607 * inotify/inotify-helper.c: Don't export the lock from libgio.
609 2007-11-28 Matthias Clasen <mclasen@redhat.com>
612 * abicheck.sh: Fix copy-and-paste leftovers
614 2007-11-28 Matthias Clasen <mclasen@redhat.com>
616 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
618 2007-11-28 Alexander Larsson <alexl@redhat.com>
622 Removed unnecessary file
624 * gdesktopappinfo.[ch]:
627 * glocaldirectorymonitor.[ch]:
629 * glocalfileenumerator.[ch]:
630 * glocalfileinputstream.[ch]:
631 * glocalfilemonitor.[ch]:
632 * glocalfileoutputstream.[ch]:
634 * gnativevolumemonitor.c:
635 * gpollfilemonitor.[ch]:
636 * gunionvolumemonitor.[ch]:
639 * gunixvolumemonitor.[ch]:
642 * inotify/ginotifydirectorymonitor.[ch]:
643 * inotify/ginotifyfilemonitor.[ch]:
644 * inotify/inotify-helper.c:
645 Append _ to all internal functions
649 Export symbols needed for modules
651 2007-11-28 Alexander Larsson <alexl@redhat.com>
654 * abicheck.sh: Added.
655 * makegioalias.pl: Added.
656 * pltcheck.sh: Added.
657 * gio.symbols: Added.
660 Initial work on adding symbol handling.
663 Correct ifdef guard name
666 * inotify/Makefile.am:
667 * xdgmime/Makefile.am:
668 Include toplevel Makefile.decl
670 2007-11-27 Matthias Clasen <mclasen@redhat.com>
672 * gcontenttype.c: Move doc comments to the unix section.
674 * *.[hc]: More trivial doc corrections.
676 2007-11-27 Matthias Clasen <mclasen@redhat.com>
678 * gpollfilemonitor.c:
687 * gdatainputstream.c:
688 * gdatainputstream.h:
689 * gdataoutputstream.c:
690 * gdataoutputstream.h:
691 * gfileinfo.h: Doc cleanups
693 2007-11-28 Andre Klapper <a9016009@gmx.de>
695 * gdesktopappinfo.c: Fix a typo.
697 2007-11-27 Andre Klapper <a9016009@gmx.de>
699 * glocalfileoutputstream.c: Fix a typo.
701 2007-11-27 Alexander Larsson <alexl@redhat.com>
704 Don't include removed headers
706 2007-11-27 Alexander Larsson <alexl@redhat.com>
709 * gsocketinputstream.[ch]: Removed.
710 * gsocketoutputstream.[ch]: Removed.
711 * gunixinputstream.[ch]: Added.
712 * gunixoutputstream.[ch]: Added.
713 Renamed GSocket*Stream to GUnix*Stream and made
714 it unix-only, since its not really only for sockets
715 and it only works on unix (but is highly useful there).
717 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
723 * gbufferedinputstream.c:
724 * gbufferedinputstream.h:
725 * gbufferedoutputstream.c:
726 * gbufferedoutputstream.h:
730 * gdatainputstream.c:
731 * gdatainputstream.h:
732 * gdataoutputstream.c:
733 * gdataoutputstream.h:
734 * gdirectorymonitor.c:
735 * gdirectorymonitor.h:
748 * gfileinputstream.c:
749 * gfileinputstream.h:
752 * gfilenamecompleter.c:
753 * gfilenamecompleter.h:
754 * gfileoutputstream.c:
755 * gfileoutputstream.h:
756 * gfilterinputstream.c:
757 * gfilterinputstream.h:
758 * gfilteroutputstream.c:
759 * gfilteroutputstream.h:
772 * glocalfileoutputstream.c:
773 * gmemoryinputstream.c:
774 * gmemoryinputstream.h:
775 * gmemoryoutputstream.c:
776 * gmemoryoutputstream.h:
781 * gpollfilemonitor.c:
784 * gsimpleasyncresult.c:
785 * gsimpleasyncresult.h:
786 * gsocketinputstream.c:
787 * gsocketinputstream.h:
788 * gsocketoutputstream.c:
789 * gsocketoutputstream.h:
796 * gunixvolumemonitor.c:
805 Bumps documentation to 93% symbol coverage, touching most
806 of the public files. Fixes broken function documentation prototypes.
807 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
808 gtk-doc headers in private files.
810 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
812 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
813 (g_buffered_input_stream_read_byte):
814 * gbufferedinputstream.h:
815 New functions for efficient access to buffer and simple single byte
818 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
819 (g_data_input_stream_read_until):
820 * gdatainputstream.h:
821 Use peek_buffer to avoid memcpy in scan_for_newline, implement
822 read_until with multiple stop chars.
824 2007-11-27 Alexander Larsson <alexl@redhat.com>
828 * inotify/Makefile.am:
829 Use the user-specified giomoduledir
831 2007-11-27 Alexander Larsson <alexl@redhat.com>
835 Add catch-all gio.h header
836 Don't install gdummyfile.h
838 2007-11-26 Alexander Larsson <alexl@redhat.com>
840 * Makefile.am (gioinclude_HEADERS):
841 Remove trailing whitespace
843 2007-11-26 Alexander Larsson <alexl@redhat.com>
845 Merge gio-standalone into glib
847 2007-11-25 Christian Kellner <gicmo@gnome.org>
849 * gio/goutputstream.c:
850 Fix small mistake in the docs.
852 2007-11-21 Christian Persch <chpe@gnome.org>
854 * gio/glocalfile.c: (g_local_file_trash):
855 Convert filenames to UTF-8 for GError.
856 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
857 as per xdg base dir spec.
859 2007-11-21 Christian Persch <chpe@gnome.org>
861 * gio/gdesktopappinfo.c:
862 Use that g_key_file_to_data cannot fail.
864 Use stock defines for the key file group and key names.
867 2007-11-21 Alexander Larsson <alexl@redhat.com>
870 (copy_stream_with_progress):
871 Make sure we do a final progress callback with
874 2007-11-21 Alexander Larsson <alexl@redhat.com>
877 Export g_file_copy_attributes
878 Remove padding as its not needed for interfaces
880 2007-11-20 Alexander Larsson <alexl@redhat.com>
885 Add G_IO_ERROR_WOULD_MERGE for
886 copy/move dir on dir with overwrite.
888 2007-11-20 Alexander Larsson <alexl@redhat.com>
891 * gio/glocalfileinfo.c:
892 Add COPY_NAME (this is an optional
893 non-modified utf8 version of the name) that
896 2007-11-20 Alexander Larsson <alexl@redhat.com>
898 * gio/glocalfileenumerator.c:
899 Report errors as GIOError, not GFileError
901 2007-11-16 Alexander Larsson <alexl@redhat.com>
903 * gio/glocalfileoutputstream.c:
904 * gio/gwin32appinfo.c:
905 Fix typos in strings.
906 Patch from Luca Ferretti <elle.uca@libero.it>
908 2007-11-15 Alexander Larsson <alexl@redhat.com>
911 Post release version bump
913 === gio-standalone 0.1.2 ===
915 2007-11-15 Alexander Larsson <alexl@redhat.com>
917 * docs/reference/gio/Makefile.am:
918 Fix up distcheck by removing weird
924 2007-11-14 Alexander Larsson <alexl@redhat.com>
926 * gio/gdesktopappinfo.c:
927 * gio/glocaldirectorymonitor.c:
929 * gio/glocalfileinfo.c:
930 * gio/inotify/inotify-sub.c:
931 * programs/gio-cat.c:
932 * programs/gio-copy.c:
933 * programs/gio-info.c:
935 * programs/gio-monitor-dir.c:
936 * programs/gio-monitor-file.c:
937 * programs/gio-mount.c:
938 * programs/gio-move.c:
940 * programs/gio-save.c:
941 * programs/gio-trash.c:
942 Leak fixes from Kjartan Maraas
944 2007-11-14 Alexander Larsson <alexl@redhat.com>
946 * gio/fam/fam-helper.c:
948 * gio/glocalfileinfo.c:
952 * gio/inotify/inotify-diag.c:
953 * gio/inotify/inotify-kernel.c:
954 Various code cleanups from Kjartan Maraas
956 2007-11-14 Alexander Larsson <alexl@redhat.com>
958 * gio/gioscheduler.c:
960 Set up threadpool so that we cache 2 unused
961 idle threads for at 15 secs. This means we
962 will reuse thread-local data (like dbus connections)
965 2007-11-14 Alexander Larsson <alexl@redhat.com>
967 * gio/fam/fam-helper.c:
968 * gio/fam/gfamdirectorymonitor.c:
969 * gio/fam/gfamfilemonitor.c:
971 * gio/gcontenttype.c:
972 * gio/gdatainputstream.c:
973 * gio/gdataoutputstream.c:
977 * gio/gfileattribute.h:
978 * gio/gfileenumerator.c:
980 * gio/ginputstream.c:
983 * gio/glocalfileinfo.c:
984 * gio/goutputstream.c:
985 * gio/gpollfilemonitor.c:
986 * gio/gsimpleasyncresult.c:
989 * gio/inotify/ginotifydirectorymonitor.c:
990 * gio/inotify/ginotifyfilemonitor.c:
991 * gio/inotify/inotify-diag.c:
992 * gio/inotify/inotify-kernel.c:
993 * gio/inotify/inotify-path.c:
995 * gio/test-streams.c:
996 * programs/gio-info.c:
997 * programs/gio-monitor-dir.c:
998 * programs/gio-monitor-file.c:
999 Various code cleanups from Kjartan Maraas
1001 2007-11-13 Alexander Larsson <alexl@redhat.com>
1004 Handle the uri-scheme calls for dummy files
1006 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1008 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1009 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1010 to avoid clash with the C++ keyword.
1012 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1014 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1015 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1017 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1019 * gio/glocaldirectorymonitor.c:
1020 * gio/glocalfilemonitor.c:
1021 * gio/gunionvolumemonitor.c:
1022 Don't use g_once_init_*() for initializations that could fail and
1023 could leave the initialization variable set to 0 but use GOnce.
1024 This prevents a deadlock on the second call when trying to create
1025 a monitor and no monitor type is available. Thanks to Sven Herzberg
1028 2007-11-11 Sven Herzberg <sven@imendio.com>
1030 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1031 #ifdef (make it work on MacOS X again)
1033 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1035 Fixes Changelog for last two commits (sorry guys).
1037 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1039 * gio/gbufferedinputstream.c:
1040 * gio/gdatainputstream.c:
1042 * gio/gfileoutputstream.c:
1043 * gio/gfilterinputstream.c:
1044 * gio/glocalfileinputstream.c:
1047 More consistency fixes in g*stream.c files.
1048 Significant clean of gfile's documentation, filling in of
1049 asynchronous operations documentation.
1051 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1053 * gio/gasyncresult.c:
1054 * gio/gbufferedinputstream.c:
1055 * gio/gbufferedoutputstream.c:
1056 * gio/gcancellable.c:
1057 * gio/gcontenttype.c:
1058 * gio/gdatainputstream.c:
1059 * gio/gdataoutputstream.c:
1060 * gio/gdesktopappinfo.c:
1063 * gio/gfileattribute.c:
1064 * gio/gio/gfileenumerator.c:
1066 * gio/gfileinputstream.c:
1067 * gio/gfilemonitor.c:
1068 * gio/gfileoutputstream.c:
1069 * gio/ginputstream.c:
1071 * gio/gioscheduler.c:
1072 * gio/gloadableicon.c:
1073 * gio/glocalfileoutputstream.c:
1074 * gio/gmemoryoutputstream.c:
1075 * gio/gmountoperation.c:
1076 * gio/goutputstream.c:
1078 * gio/gsimpleasyncresult.c:
1079 * gio/gunionvolumemonitor.c:
1080 * gio/gunixmounts.c:
1081 * gio/gunixvolume.c:
1085 * gio/gvolumemonitor.c:
1086 Updated documentation stubs, working towards consistency and
1089 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1091 * gio/gmemoryoutputstream.c:
1092 * gio/gmemoryoutputstream.h:
1093 Change g_memory_output_stream_set_free_on_close() to
1094 g_memory_output_stream_set_free_data() as this makes more sense and
1095 is more consistent with GMemoryInputStream.
1097 2007-11-07 Alexander Larsson <alexl@redhat.com>
1104 Change how we find the default vfs so that
1105 we can handle a gvfs failing to init
1107 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1109 * gio/gbufferedoutputstream.c:
1110 * gio/gdatainputstream.c:
1111 * gio/gdataoutputstream.c:
1112 * gio/gfileinputstream.c:
1113 * gio/gfileoutputstream.c:
1114 * gio/gfilterinputstream.c:
1115 * gio/gfilteroutputstream.c:
1116 * gio/ginputstream.c:
1117 * gio/gmemoryinputstream.c:
1118 * gio/gmemoryoutputstream.c:
1119 * gio/goutputstream.c:
1120 * gio/gsimpleasyncresult.c:
1121 * gio/gsocketinputstream.c:
1122 * gio/gsocketoutputstream.c:
1123 Add guards to the remaining public functions, add a TODO for
1124 an unimplemented function and remove some useless guards.
1126 2007-11-07 Alexander Larsson <alexl@redhat.com>
1129 Autoconf checks for the various types of
1130 getpwuid_r and getgrgid_r
1132 * gio/glocalfileinfo.c:
1133 Use the autoconf checks from above
1135 2007-11-07 Alexander Larsson <alexl@redhat.com>
1138 (g_local_file_query_filesystem_info):
1139 Some fixes for the statvfs case
1141 2007-11-07 Alexander Larsson <alexl@redhat.com>
1144 (g_local_file_query_filesystem_info):
1145 Pick the "best" of statfs / statvfs for the system
1146 if both are availible.
1148 2007-11-07 Alexander Larsson <alexl@redhat.com>
1150 Solaris fixes from Halton.Huo@Sun.COM:
1157 * gio/glocalfileinfo.c:
1158 Fix for solaris definition of getpwuid_r
1160 * gio/test-streams.c:
1161 Use G_GNUC_PRETTY_FUNCTION
1163 2007-11-07 Alexander Larsson <alexl@redhat.com>
1165 * gio/gdesktopappinfo.c:
1166 (update_default_list):
1167 Remove double semicolon.
1168 Patch from Jens Granseuer
1170 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1172 * docs/reference/gio/gio-sections.txt:
1173 * gio/gbufferedinputstream.c:
1174 * gio/gbufferedinputstream.h:
1175 * gio/gdatainputstream.c:
1176 * gio/gfileenumerator.c:
1177 * gio/gioscheduler.c:
1178 * gio/gunionvolumemonitor.c:
1180 * programs/gio-save.c:
1181 Fix typo: availible -> available. Unfortuntely this breaks API
1182 and ABI as g_buffered_input_stream_get_available() was renamed.
1184 * gio/gunixmounts.c:
1185 * gio/gbufferedinputstream.c:
1186 Add guards for public functions.
1188 2007-11-06 Ross Burton <ross@openedhand.com>
1190 * docs/reference/gio/Makefile.am:
1191 Fix invalid += usage which automake 1.10 doesn't like.
1193 2007-11-06 Alexander Larsson <alexl@redhat.com>
1196 (g_app_launch_context_class_init):
1199 Patch from Ross Burton
1201 2007-11-06 Alexander Larsson <alexl@redhat.com>
1204 Post release version bump
1206 === gio-standalone 0.1.1 ===
1208 2007-11-06 Alexander Larsson <alexl@redhat.com>
1211 Bump version to 0.1.1
1213 * gio/gsimpleasyncresult.c:
1214 (g_simple_async_result_set_from_error):
1215 Remove bogus g_return_if_fail
1217 2007-11-06 Alexander Larsson <alexl@redhat.com>
1220 The name is gio-standalone
1223 Add top src/builddir to includedir
1225 2007-11-06 Alexander Larsson <alexl@redhat.com>
1227 * docs/reference/gio/gio-sections.txt:
1229 * gio/gbufferedinputstream.c:
1230 * gio/gbufferedoutputstream.c:
1231 * gio/gcancellable.c:
1232 * gio/gdatainputstream.h:
1233 * gio/gdataoutputstream.c:
1234 * gio/gdataoutputstream.h:
1235 * gio/gdirectorymonitor.c:
1237 * gio/gfileattribute.c:
1238 * gio/gfileattribute.h:
1239 * gio/gfileenumerator.c:
1240 * gio/gfileenumerator.h:
1243 * gio/gfileinputstream.h:
1244 * gio/gfilemonitor.c:
1245 * gio/gfileoutputstream.h:
1246 * gio/glocalfilemonitor.h:
1247 * gio/glocalfileoutputstream.h:
1248 * gio/gmemoryinputstream.c:
1249 * gio/gmemoryoutputstream.c:
1250 * gio/gmountoperation.c:
1251 * gio/goutputstream.c:
1252 * gio/goutputstream.h:
1254 * gio/gsimpleasyncresult.c:
1255 * gio/gunixmounts.c:
1256 * gio/gunixmounts.h:
1258 * gio/inotify/inotify-helper.c:
1259 Fix gtk-doc warnings
1261 Patch from Ross Burton
1263 2007-11-06 Alexander Larsson <alexl@redhat.com>
1265 * gio/gfilenamecompleter.c:
1266 (g_filename_completer_get_completions):
1269 * gio/gunixvolume.c:
1270 Remove unused function
1272 Patches from Ross Burton
1274 2007-11-06 Alexander Larsson <alexl@redhat.com>
1279 Padding not needed for interfaces
1281 2007-11-06 Alexander Larsson <alexl@redhat.com>
1283 * gio/gfilemonitor.c:
1287 Make giotypes.h an internal file
1290 * gio/gbufferedinputstream.h:
1291 * gio/gbufferedoutputstream.h:
1292 * gio/gcancellable.h:
1293 * gio/gdatainputstream.h:
1294 * gio/gdataoutputstream.h:
1295 * gio/gdirectorymonitor.c:
1296 * gio/gdirectorymonitor.h:
1301 * gio/gfileattribute.h:
1302 * gio/gfileenumerator.h:
1307 * gio/gfilemonitor.c:
1308 * gio/gfilemonitor.h:
1309 * gio/gfilenamecompleter.c:
1310 * gio/gfilenamecompleter.h:
1311 * gio/gfilterinputstream.h:
1312 * gio/gfilteroutputstream.h:
1313 * gio/ginputstream.h:
1314 * gio/gmemoryinputstream.h:
1315 * gio/gmemoryoutputstream.h:
1316 * gio/gmountoperation.c:
1317 * gio/gmountoperation.h:
1318 * gio/gnativevolumemonitor.c:
1319 * gio/goutputstream.h:
1322 * gio/gsimpleasyncresult.c:
1323 * gio/gsimpleasyncresult.h:
1324 * gio/gsocketinputstream.h:
1325 * gio/gsocketoutputstream.h:
1326 * gio/gthemedicon.c:
1327 * gio/gthemedicon.h:
1331 * gio/gvolumemonitor.c:
1332 * gio/gvolumemonitor.h:
1333 Add padding in classes where it seems useful
1334 Don't include giotypes.h from public headers
1335 Move in Class definitions into c file where possible
1340 2007-11-06 Alexander Larsson <alexl@redhat.com>
1342 * docs/reference/gio/gio-docs.xml:
1343 Better structure for API docs
1345 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1348 * gio/gloadableicon.c:
1349 * gio/gsimpleasyncresult.c:
1350 * gio/gthemedicon.c:
1351 Add some more guards to public functions. Only files missing are now
1354 2007-11-06 Alexander Larsson <alexl@redhat.com>
1356 * docs/reference/gio/gio-docs.xml:
1357 Remove old files, add missing ones
1359 2007-11-06 Alexander Larsson <alexl@redhat.com>
1361 * docs/reference/gio/gio-sections.txt:
1364 Hide implementation classes
1366 * gio/gdriveprivate.h:
1367 * gio/gvolumeprivate.h:
1368 Remove non-existing function declarations
1370 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1373 Fix compilation warnings and add guards to the new functions.
1375 * gio/gasyncresult.c:
1377 Add guards to the public functions.
1380 Implement get_path().
1382 2007-11-06 Alexander Larsson <alexl@redhat.com>
1384 * gio/gfilenamecompleter.c:
1385 Make g_filename_completer_get_completions
1386 return char ** instead of GList for
1389 * docs/reference/gio/gio-docs.xml:
1390 * docs/reference/gio/gio-sections.txt:
1392 * gio/gasyncresult.c:
1393 * gio/gbufferedinputstream.c:
1394 * gio/gbufferedoutputstream.c:
1395 * gio/gcancellable.c:
1396 * gio/gcontenttype.c:
1397 * gio/gdatainputstream.c:
1398 * gio/gdataoutputstream.c:
1399 * gio/gdesktopappinfo.c:
1400 * gio/gdirectorymonitor.c:
1404 * gio/gfileattribute.c:
1405 * gio/gfileenumerator.c:
1408 * gio/gfileinputstream.c:
1409 * gio/gfilemonitor.c:
1410 * gio/gfilenamecompleter.c:
1411 * gio/gfilenamecompleter.h:
1412 * gio/gfileoutputstream.c:
1413 * gio/gfilterinputstream.c:
1415 * gio/ginputstream.c:
1417 * gio/gioscheduler.c:
1418 * gio/gloadableicon.c:
1419 * gio/glocaldirectorymonitor.c:
1421 * gio/glocalfileinputstream.c:
1422 * gio/glocalfilemonitor.c:
1423 * gio/glocalfileoutputstream.c:
1425 * gio/gmemoryinputstream.c:
1426 * gio/gmemoryoutputstream.c:
1427 * gio/gmountoperation.c:
1428 * gio/goutputstream.c:
1429 * gio/gpollfilemonitor.c:
1431 * gio/gsimpleasyncresult.c:
1432 * gio/gsocketinputstream.c:
1433 * gio/gsocketoutputstream.c:
1434 * gio/gthemedicon.c:
1435 * gio/gunionvolumemonitor.c:
1437 * gio/gunixmounts.c:
1438 * gio/gunixvolume.c:
1439 * gio/gunixvolumemonitor.c:
1443 * gio/gvolumemonitor.c:
1444 * gio/gwin32appinfo.c:
1445 Add (mostly stub) doc strings to public functions.
1446 Patch from Andrew Walton (awalton@gmail.com)
1448 2007-11-06 Alexander Larsson <alexl@redhat.com>
1450 * gio/gappinfo.[ch]:
1451 Added GAppLaunchContext object and pass that to launch.
1452 This allows simple implementation of both
1453 launch-on-screen and startup notification via a gtk+
1454 subclass of GAppLaunchContext
1456 * gio/gdesktopappinfo.c:
1457 Implement GAppLaunchContext API
1459 * gio/gwin32appinfo.c:
1462 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1464 * gio/gmountoperation.c:
1465 Add some guards to GMountOperation's public functions.
1467 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1471 * gio/gcancellable.c:
1472 * gio/gdirectorymonitor.c:
1474 * gio/gfileenumerator.c:
1475 * gio/gfilemonitor.c:,
1476 * gio/gfilenamecompleter.c:
1479 * gio/gioscheduler.c:
1483 * gio/gvolumemonitor.c:
1484 Add even more guards to various public functions.
1486 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1489 Add guards to the public functions of GAppInfo.
1491 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1493 * gio/gcontenttype.c:
1494 Add some more guards for public functions.
1496 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1498 * gio/fam/fam-module.c:
1499 * gio/fam/gfamdirectorymonitor.c:
1500 * gio/fam/gfamdirectorymonitor.h:
1501 * gio/fam/gfamfilemonitor.c:
1502 * gio/fam/gfamfilemonitor.h:
1503 * gio/inotify/ginotifydirectorymonitor.c:
1504 * gio/inotify/ginotifydirectorymonitor.h:
1505 * gio/inotify/ginotifyfilemonitor.c:
1506 * gio/inotify/ginotifyfilemonitor.h:
1507 Add proper copyright information and remove an unused variable
1508 in the GInotifyFileMonitor constructor.
1510 * gio/gcancellable.c:
1511 Add a guard for a public function and an assertion to prevent
1512 an undefined program state.
1514 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1516 * gio/gfileattribute.c:
1517 Don't run into an assertion if the given attribute value is NULL
1518 in g_file_attribute_value_get_*() but instead return a fallback
1519 value that makes sense in most situations. Passing them a attribute
1520 value with the wrong type will still run into an assertion.
1522 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1524 * gio/gfileattribute.c:
1526 Add even more guards to the public functions. Also fix the refcounting
1527 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1528 let g_file_info_list_attributes() filter the attributes by namespace
1529 instead of simply ignoring the namespace parameter.
1531 2007-11-03 Sven Herzberg <sven@imendio.com>
1533 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1534 (This makes gio work on MacOS X again)
1536 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1539 Build the gio subdirectory before the docs. Otherwise the build will
1542 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1543 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1544 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1545 Add guards to the public functions.
1547 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1549 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1550 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1551 to prevent a compiler warning.
1553 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1554 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1555 return something in the non-void function find_topdir_for().
1557 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1564 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1566 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1567 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1568 * gwin32appinfo.c (g_win32_app_info_launch):
1569 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1570 envp_for_startup_id, g_desktop_app_info_launch,
1571 g_desktop_app_info_launch_uris):
1573 Give an opaque 'startup_id' string instead of 'envp'.
1574 Support empty file lists for launching new windows.
1575 Fix infinite recursion bug when launching URIs.
1577 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1580 Add guard to the new g_file_get_uri_scheme() function.
1582 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1585 Convert a g_return_val_if_fail() to setting the GError instead as
1586 otherwise applications have to verify the parameter before otherwise
1587 and the parameter might come directly from the user.
1589 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1591 * gio/inotify/ginotify*.[ch]:
1592 Add missing copyright information.
1594 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1597 Add guards in the beginning of public functions to check for valid
1598 parameters and fix a bug in copy_stream_with_progress() that could've
1599 caused writing less bytes than reading.
1600 * gio/glocalfileinfo.c:
1601 Check for a NULL parameter and set the GError accordingly then.
1602 * gio/goutputstream.c:
1603 Fix the same bug as in gfile.c that could've caused writing less bytes
1604 than reading in g_output_stream_real_splice().
1606 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1609 Use the correct gvolumeprivate.h naming
1611 2007-11-01 Christian Kellner <gicmo@gnome.org>
1614 Remove leftover "$(daemon_sources)" entry.
1616 2007-11-01 Christian Kellner <gicmo@gnome.org>
1621 Add copyright information to source files.
1623 2007-11-01 Alexander Larsson <alexl@redhat.com>
1627 Add g_file_get_uri_scheme
1629 2007-11-01 Alexander Larsson <alexl@redhat.com>
1632 * gio/gdesktopappinfo.c:
1633 * gio/gwin32appinfo.c:
1634 Add g_app_info_get_default_for_uri_scheme.
1636 2007-11-01 Alexander Larsson <alexl@redhat.com>
1639 Correct filename for gdriveprivate.h
1641 2007-10-31 Alexander Larsson <alexl@redhat.com>
1644 Rename id:value to id:file
1647 * gio/glocalfileinfo.c:
1650 2007-10-31 Alexander Larsson <alexl@redhat.com>
1652 * gio/gunixvolume.c:
1654 Remove g_volume_get_platform_id, as thats not
1655 needed with the simpler union volume monitor
1657 2007-10-31 Alexander Larsson <alexl@redhat.com>
1660 * gio/guniondrive.[ch]: Removed.
1661 * gio/gunionvolume.[ch]: Removed.
1662 Remove GUnionDrive/Volume
1664 * gio/gunionvolumemonitor.c:
1665 Simplify union volume monitor, now we
1666 only have one native volume monitor and
1667 we use the actual volumes/drives from the
1668 child monitors instead of wrapping them
1670 * gio/gnativevolumemonitor.[ch]:
1671 Base class for native volume monitors.
1672 Includes priority and get_volume_for_mountpoint
1675 Add g_file_find_enclosing_volume
1678 Remove volume name fs attribute
1679 Add readonly fs attribute
1682 Implement readonly attribute
1683 remove volume name attribute
1684 Implement find_enclosing volume
1686 * gio/gunixmounts.c:
1687 Add a volume for "/".
1689 * gio/gunixvolume.[ch]:
1690 Set better name for /
1692 * gio/gunixvolumemonitor.[ch]:
1693 Derive from GNativeVolumeMonitor
1694 Implement get_volume_for_mountpoint
1697 GVolume typedef moved to gfile.h
1699 * gio/gvolumeprivate.h:
1700 Add g_volume_get_for_mount_path
1702 2007-10-31 Alexander Larsson <alexl@redhat.com>
1704 * gio/gunixmounts.[ch]:
1705 Add cache info to unix mount listers
1706 Make getmntent use threadsafe
1707 Add is_system_internal attribute for GUnixMount
1709 * gio/gunixvolume.c:
1710 (g_unix_volume_new):
1711 Use is_system_internal instead of own code
1713 * gio/glocaldirectorymonitor.c:
1714 * gio/gunixvolumemonitor.c:
1715 Update to new gunixmounts API
1720 2007-10-30 Alexander Larsson <alexl@redhat.com>
1723 Add volume name fsinfo attribute
1726 Read volume name info
1728 * gio/gunionvolumemonitor.c:
1729 Fix infinite loops when finalizing a union volume monitor
1731 2007-10-30 Alexander Larsson <alexl@redhat.com>
1733 * gio/goutputstream.[ch]:
1734 Add splice() with default implementation
1736 * gio/gsocketoutputstream.c:
1737 (g_socket_output_stream_write):
1738 Return error on cancellation correctly.
1740 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1742 * gio/glocalfile.c (g_local_file_trash):
1743 Do not leak a string.
1745 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1747 * gio/gfile.c (g_file_load_contents):
1748 Unref the stream after closing it.
1750 2007-10-25 Alexander Larsson <alexl@redhat.com>
1752 * gio/gioscheduler.h:
1755 2007-10-25 Alexander Larsson <alexl@redhat.com>
1759 Add g_file_has_uri_scheme and implement for local files
1761 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1763 * gio/gdesktopappinfo.c: do not leak a string.
1765 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1767 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1768 (g_local_directory_monitor_new):
1769 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1770 (g_local_file_monitor_new):
1771 Only look for the monitor type that should be used the first time
1772 and use g_qsort_with_data() instead of our own bubble sort
1775 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1778 * gio/fam/Makefile.am:
1779 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1780 * gio/fam/fam-helper.h:
1781 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1782 * gio/fam/gfamdirectorymonitor.c:
1783 * gio/fam/gfamdirectorymonitor.h:
1784 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1785 * gio/fam/gfamfilemonitor.h:
1786 * gio/glocaldirectorymonitor.c:
1787 * gio/glocaldirectorymonitor.h:
1788 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1789 * gio/glocalfilemonitor.h:
1790 * gio/inotify/Makefile.am:
1791 * gio/inotify/ginotifydirectorymonitor.c:
1792 * gio/inotify/ginotifydirectorymonitor.h:
1793 * gio/inotify/ginotifyfilemonitor.c:
1794 * gio/inotify/ginotifyfilemonitor.h:
1795 Implement the FAM and Inotify monitors as
1796 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1797 their own GIO module. GLocal(Directory|File)Monitor will use the
1798 monitor with the highest rank that is supported on that machine.
1800 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1803 Change GIO module dir to $(libdir)/gio/modules and change
1804 the log domain from GVFS to GIO. Also only export symbols starting
1805 with g_ in the resulting library.
1806 * gio/test-streams.c: (main):
1807 Set log handler for the GIO log domain.
1809 2007-10-22 Alexander Larsson <alexl@redhat.com>
1811 * gio/gfilenamecompleter.[ch]:
1812 Add g_filename_completer_set_dirs_only
1814 2007-10-22 Alexander Larsson <alexl@redhat.com>
1817 * gio/gurifuncs.[ch]:
1818 Add some simple URI helpers
1820 * gio/gfilenamecompleter.[ch]:
1821 Added object for filename (parse name actually) completion
1824 Handle ~ in parse names
1826 2007-10-17 Alexander Larsson <alexl@redhat.com>
1829 * gio/glocalfileinfo.c:
1830 Add and implement id:value attribute
1832 2007-10-17 Alexander Larsson <alexl@redhat.com>
1835 * gio/guniondrive.c:
1837 Add and implement g_drive_has_volumes
1839 2007-10-17 Alexander Larsson <alexl@redhat.com>
1842 * gio/glocalfileinfo.[ch]:
1843 Add unix:is_mountpoint and implement for local files
1845 2007-10-16 Alexander Larsson <alexl@redhat.com>
1847 * gio/gunionvolumemonitor.c:
1848 (g_union_volume_monitor_init):
1849 Fix up the unix type getting so that it works with gcc
1851 2007-10-12 Alexander Larsson <alexl@redhat.com>
1854 * gio/glocalfileinfo.c:
1855 Add thumbnail:failed to file info
1857 2007-10-12 Richard Hult <richard@imendio.com>
1859 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1860 optimizing away the get_type call (happens with some gcc versions,
1861 like the one shipped with OS X 10.4).
1863 2007-10-12 Alexander Larsson <alexl@redhat.com>
1865 * gio/glocalfileinfo.c:
1866 (_g_local_file_info_set_attribute):
1867 Fix build if not HAVE_XATTR
1868 Patch from Milosz Derezynski <internalerror@gmail.com>
1870 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1872 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1873 around for review, otherwise I would have asked you before
1876 2007-10-11 Alexander Larsson <alexl@redhat.com>
1879 Add thumbnail:path attribute
1881 * gio/glocalfileinfo.c:
1882 Implement thumbnail:path for local files
1884 2007-10-11 Alexander Larsson <alexl@redhat.com>
1886 * gio/glocalfileinfo.c:
1887 (_g_local_file_info_get):
1888 Avoid duplicate icon names
1890 2007-10-11 Alexander Larsson <alexl@redhat.com>
1892 * gio/gthemedicon.[ch]:
1893 Change g_themed_icon_get_names return type to const
1895 2007-10-10 Alexander Larsson <alexl@redhat.com>
1897 * gio/glocalfileinfo.c:
1898 Don't reference freed memory
1900 2007-10-10 Alexander Larsson <alexl@redhat.com>
1902 * gio/gfileattribute.c:
1905 * gio/glocalfileinfo.c:
1908 2007-10-10 Alexander Larsson <alexl@redhat.com>
1911 Check for NULL icons
1913 * gio/gfileattribute.c:
1914 Don't dup when getting objects (same as for string attributes)
1916 * gio/gicon.c (g_icon_equal):
1917 Safely handle NULLs in equal
1919 2007-10-10 Alexander Larsson <alexl@redhat.com>
1922 Fix c++ compilation issues
1923 Patch from Milosz Derezynski <internalerror@gmail.com>
1925 2007-10-10 Alexander Larsson <alexl@redhat.com>
1927 * programs/gio-monitor-dir.c:
1928 Don't crash if dir monitor not supported.
1930 2007-10-09 Alexander Larsson <alexl@redhat.com>
1933 Add missing G_END_DECLS
1935 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1937 * gio/gfile.c: (g_file_set_display_name),
1938 (g_file_query_settable_attributes),
1939 (g_file_query_writable_namespaces):
1940 Return NULL not FALSE on errors as the return type is a pointer.
1942 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1944 * gio/glocalfile.c: (g_local_file_monitor_file):
1945 Don't call monitor_file on the default interface vtable (which
1946 is NULL) but simply return NULL. The caller, GFile, will create a
1947 polling monitor if NULL is returned.
1949 2007-10-09 Alexander Larsson <alexl@redhat.com>
1953 * gio-unix-2.0.pc.in:
1954 Add gio-unix-2.0.pc if OS_UNIX
1957 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1959 2007-10-09 Alexander Larsson <alexl@redhat.com>
1961 * gio/gunixmounts.[ch]:
1962 Make unix mount monitoring API sane.
1963 Now its just a object with mounts_changed
1964 and mountpoints_changed signals.
1966 * gio/glocaldirectorymonitor.c:
1967 * gio/gunixvolumemonitor.c:
1968 Use new mount monitor api
1970 2007-10-09 Alexander Larsson <alexl@redhat.com>
1972 * gio/gunixmounts.[ch]:
1973 Move guess type into one call for mounts and one for mountpoints
1976 * gio/gunixvolume.c:
1979 2007-10-09 Alexander Larsson <alexl@redhat.com>
1981 * gio/gunixmounts.[ch]:
1982 Remove _ prefix in preparation to make this semi-public
1983 Hide implementation of structs
1985 * gio/glocaldirectorymonitor.c:
1987 * gio/gunixvolume.c:
1988 * gio/gunixvolumemonitor.c:
1989 Update for above API changes
1991 2007-10-08 Alexander Larsson <alexl@redhat.com>
1994 Better polling fallback. This also handles the case where we have
1995 a monitor_file implementation, but it fails.
1997 2007-10-08 Alexander Larsson <alexl@redhat.com>
2001 * gio/gunixmounts.c:
2002 * programs/gio-monitor-dir.c:
2003 * programs/gio-monitor-file.c:
2004 Added cancellable to file monitoring calls.
2005 These are really sync calls and need this.
2007 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2009 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2010 (g_local_vfs_class_init):
2011 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2012 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2014 2007-10-05 Alexander Larsson <alexl@redhat.com>
2016 * gio/gdirectorymonitorprivate.h:
2017 * gio/gfilemonitorprivate.h:
2018 * gio/gdirectorymonitor.h:
2019 * gio/gfilemonitor.h:
2020 Remove *private.h and move to the public API, so that
2021 we can do implementations outside gio (such as in gvfs)
2023 * gio/gdirectorymonitor.c:
2024 * gio/gfilemonitor.c:
2025 * gio/glocaldirectorymonitor.c:
2026 * gio/gpollfilemonitor.c:
2027 * gio/inotify/inotify-helper.c:
2028 * gio/fam/fam-helper.c:
2029 Update to the new header names
2031 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2033 * gio/gdirectorymonitor.c:
2034 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2037 2007-10-04 Alexander Larsson <alexl@redhat.com>
2039 * gio/glocalfileinfo.c (get_access_rights):
2040 Set CAN_TRASH when we can move the file.
2041 We should really also check for a parent trash dir.
2043 2007-10-04 Alexander Larsson <alexl@redhat.com>
2045 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2046 Add can_trash access attribute
2048 2007-10-04 Alexander Larsson <alexl@redhat.com>
2051 (g_local_file_trash):
2052 Create info file first. This is per-spec and allows
2053 us to actually trash directories.
2055 2007-10-02 Alexander Larsson <alexl@redhat.com>
2057 * gio/gdesktopappinfo.c:
2058 Implement the new mime support code.
2059 Always set app as handling mimetype when being set as default for it
2061 2007-10-01 Alexander Larsson <alexl@redhat.com>
2063 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2064 Fix up check for xattrs:
2066 2007-10-01 Alexander Larsson <alexl@redhat.com>
2069 (g_app_info_set_as_default_for_extension):
2070 (g_app_info_add_supports_type):
2071 (g_app_info_can_remove_supports_type):
2072 (g_app_info_remove_supports_type):
2073 Make these fail nicely if not implemented
2075 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2077 * gio/glocalfileoutputstream.c:
2078 * gio/glocalfileoutputstream.h:
2083 * programs/gio-save.c:
2084 Add a GFileCreateFlags argument to operations that can create
2087 2007-10-01 Alexander Larsson <alexl@redhat.com>
2089 * gio/gappinfo.[ch]:
2090 * gio/gdesktopappinfo.c:
2091 Add more (stubbed out) mime API needed for nautilus
2093 2007-10-01 Alexander Larsson <alexl@redhat.com>
2096 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2097 Add g_app_info_set_as_default_for_extension.
2099 * gio/gdesktopappinfo.c:
2100 Dummy for g_app_info_set_as_default_for_extension
2101 Support flags in g_app_info_create_from_commandline
2103 * gio/gwin32appinfo.c:
2105 Update for API changes
2107 * gio/gthemedicon.c:
2108 Properly NULL-terminate list of icon names
2110 2007-09-28 Alexander Larsson <alexl@redhat.com>
2112 * gio/gloadableicon.h:
2113 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2115 2007-09-28 Alexander Larsson <alexl@redhat.com>
2118 Install headers in $includedir/gio-standalone/
2120 * gio-2.0.pc.in: Added.
2121 * gio-standalone.pc.in: Removed.
2124 Renamed pkg-config file to match glib (for future move)
2125 Update to the new include dir
2128 Add more TODO comments
2130 2007-09-28 Alexander Larsson <alexl@redhat.com>
2132 * gio/gdesktopappinfo.[ch]:
2133 Expose new_from_filename
2134 Add getter for is_hidden and handle it better
2136 2007-09-28 Alexander Larsson <alexl@redhat.com>
2138 * gio/gfileinfo.[ch]:
2139 Rename g_file_size_format_for_display to
2140 g_format_file_size_for_display.
2141 Now it doesn't have the g_file prefix, so we
2142 can later move it to glib.
2144 2007-09-28 Alexander Larsson <alexl@redhat.com>
2146 * gio/gappinfo.[ch]:
2147 Add g_app_info_get_id and g_app_info_get_executable.
2148 Make all getters non-reffing
2149 Make g_app_info_launch take GFile arguments.
2150 Add must_support_uris argument to g_app_info_get_default_for_type.
2152 * gio/gwin32appinfo.c:
2153 Update to GAppInfo api changes
2155 * gio/gdesktopappinfo.c:
2156 Update to GAppInfo api changes
2157 Implement supports_xdg_startup_notify
2159 * gio/gfileicon.c (g_file_icon_get_file):
2160 Make getter non-reffing.
2165 2007-09-27 Alexander Larsson <alexl@redhat.com>
2167 * gio/gfileinfo.[ch]:
2168 Add g_file_size_format_for_display helper
2170 2007-09-27 Alexander Larsson <alexl@redhat.com>
2172 * gio/glocalfileinfo.c:
2173 Set UNIX_GID from gid, not from uid
2175 2007-09-27 Alexander Larsson <alexl@redhat.com>
2178 Add g_file_set_attributes_async
2180 2007-09-27 Alexander Larsson <alexl@redhat.com>
2182 * gio/glocalfile.c (g_local_file_set_display_name):
2183 Fix set_display_name to actually rename to the right place.
2184 Use lstat to look for existing files so we don't overwrite
2187 2007-09-26 Alexander Larsson <alexl@redhat.com>
2190 Add g_file_set_display_name_async()
2192 2007-09-26 Alexander Larsson <alexl@redhat.com>
2195 Add load_partial_contents async calls
2198 Make internal function static
2200 2007-09-26 Alexander Larsson <alexl@redhat.com>
2202 * gio/glocalfileinfo.c:
2203 Correctly detect broken symlinks
2205 2007-09-26 Alexander Larsson <alexl@redhat.com>
2207 * gio/gcancellable.c (g_cancellable_cancel):
2208 Allow cancel on NULL cancellable
2210 2007-09-25 Alexander Larsson <alexl@redhat.com>
2212 * gio/gsimpleasyncresult.c:
2213 Don't allocate g_error manually.
2214 Fixes g_slice/g_new mixup crash
2216 2007-09-25 Alexander Larsson <alexl@redhat.com>
2218 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2219 Actually set active_backend.
2220 This means the monitor will be cancelled correctly.
2222 2007-09-25 Alexander Larsson <alexl@redhat.com>
2224 * gio/gdirectorymonitor.c:
2225 Set timeout to NULL when destroying
2227 2007-09-25 Alexander Larsson <alexl@redhat.com>
2230 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2231 that is a better description of the error.
2233 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2235 * gio/gvfs.c: (g_vfs_get_local):
2236 Make the local vfs variable static. The same instance should
2239 2007-09-24 Alexander Larsson <alexl@redhat.com>
2241 * gio/glocalfileinfo.c:
2242 Pass in actual length read into sniffer, not the length
2245 2007-09-21 Alexander Larsson <alexl@redhat.com>
2247 * gio/gfileenumerator.c:
2250 * gio/gfileinputstream.c:
2251 * gio/gfileoutputstream.c:
2252 * gio/ginputstream.c:
2253 * gio/goutputstream.c:
2254 Don't crash if async callbacks are NULL
2256 2007-09-20 Alexander Larsson <alexl@redhat.com>
2259 Add async enumerate_children method and default
2262 2007-09-20 Alexander Larsson <alexl@redhat.com>
2265 Add g_file_contains_file & g_file_get_relative_path, since they
2266 were needed for nautilus.
2267 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2272 Implement new methods
2274 2007-09-17 Alexander Larsson <alexl@redhat.com>
2277 * gio/gfileinputstream.[ch]:
2278 * gio/gfileoutputstream.[ch]:
2280 * gio/glocalfileenumerator.[ch]:
2281 * gio/glocalfileinfo.[ch]:
2282 * gio/glocalfileinputstream.c:
2283 * gio/glocalfileoutputstream.c:
2284 * gio/gpollfilemonitor.c:
2285 * programs/gio-copy.c:
2286 * programs/gio-info.c:
2287 * programs/gio-move.c:
2288 Rename get_file_info to query_info() to make it clearer
2289 that these are not simple getters, but do i/o.
2291 2007-09-17 Alexander Larsson <alexl@redhat.com>
2293 * gio/gdatainputstream.[ch]:
2294 * gio/test-streams.c:
2295 Use _read_XXX instead of _get_XXX for the i/o calls
2298 2007-09-17 Alexander Larsson <alexl@redhat.com>
2301 Added needed stuff to TODO comment
2303 2007-09-17 Alexander Larsson <alexl@redhat.com>
2305 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2306 Don't error out removing the backup copy if it doesn't
2309 2007-09-14 Alexander Larsson <alexl@redhat.com>
2311 * programs/Makefile.am:
2312 * programs/gvfs-*.c:
2314 Renamed apps from gvfs-xxx to gio-xxx.
2316 2007-09-14 Alexander Larsson <alexl@redhat.com>
2319 * gio/gfileoutputstream.[ch]:
2320 * gio/glocalfileoutputstream.c:
2321 * programs/gvfs-save.c:
2322 g_file_output_stream_get_etag doesn't do i/o, so remove
2323 cancellation and error.
2325 2007-09-14 Alexander Larsson <alexl@redhat.com>
2328 Add new_etag output to replace_contents functions
2330 2007-09-14 Alexander Larsson <alexl@redhat.com>
2332 * gio/gfileoutputstream.[ch]:
2333 Add async get_file_info and default implementation
2335 2007-09-14 Alexander Larsson <alexl@redhat.com>
2337 * gio/gfileinputstream.c:
2338 Implement fallback wrapper for async get_file_info
2340 2007-09-14 Alexander Larsson <alexl@redhat.com>
2343 Add etag out argument to load_contents
2348 2007-09-14 Alexander Larsson <alexl@redhat.com>
2350 * gio/gcontenttype.c (looks_like_text):
2351 Whitespace like tab, cr and lf do not make the
2354 2007-09-14 Alexander Larsson <alexl@redhat.com>
2356 * gio/gfileinputstream.[ch]:
2357 Add async get_file_info.
2359 2007-09-13 Alexander Larsson <alexl@redhat.com>
2361 * gio/goutputstream.c (g_output_stream_write_all):
2362 Allow NULL for bytes_written
2364 2007-09-13 Alexander Larsson <alexl@redhat.com>
2366 * gio/gmemoryinputstream.[ch]:
2367 Add accessors for data
2369 2007-09-13 Alexander Larsson <alexl@redhat.com>
2371 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2372 Don't crash if length is NULL