1 2008-05-28 Michael Natterer <mitch@imendio.com>
3 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
4 the global CPPFLAGS now.
6 * tests/data-input-stream.c
7 * tests/data-output-stream.c
11 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
13 2008-05-27 Matthias Clasen <mclasen@redhat.com>
15 * === Released 2.17.0 ===
17 * tests/live-g-file.c: Clean up after the tests, so make distcheck
18 doesn't complain about leftover files.
20 2008-05-27 simon.zheng <simon.zheng@sun.com>
22 * glocalfile.c: (g_local_file_query_filesystem_info):
23 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
25 2008-05-26 Michael Natterer <mitch@imendio.com>
27 * gmemoryoutputstream.h: declare
28 g_memory_output_stream_get_data_size().
30 2008-05-26 Matthias Clasen <mclasen@redhat.com>
32 * tests/*: Make tests work
34 2008-05-26 Matthias Clasen <mclasen@redhat.com>
36 * gio.symbols: Add g_memory_output_stream_get_data_size.
38 2008-05-25 Ross Burton <ross@burtonini.com>
41 Fix typo in error message (#534764).
43 2008-05-25 Ross Burton <ross@burtonini.com>
46 Fix circular dependency loop for gioenumtypes.h (#534759).
48 2008-05-19 Hans Breuer <hans@breuer.org>
50 * Makefile.am : EXTRA_DIST += makefile.msc
52 2008-05-17 Matthias Clasen <mclasen@redhat.com>
54 Bug 532965 – Should not return filesystem::free for certain file systems
56 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
59 2008-05-17 Matthias Clasen <mclasen@redhat.com>
61 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
63 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
66 2008-05-16 Tor Lillqvist <tml@novell.com>
68 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
69 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
71 2008-05-13 Bastien Nocera <hadess@hadess.net>
73 * gfile.c (has_valid_scheme): A URI scheme must start with a
74 letter, even if later more characters are allowed (#532852)
76 2008-05-05 Michael Natterer <mitch@imendio.com>
78 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
79 code from being checked in that breaks the build of applications
80 which use G_DISABLE_SINGLE_INCLUDES.
82 * makegioalias.pl: make the alias file include "glib.h" instead of
85 * gio.symbols: whitespace change to force regeneration of the
86 alias file after above script change.
88 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
90 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
92 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
94 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
96 2008-04-28 David Zeuthen <davidz@redhat.com>
98 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
99 displaying mounts in a subdirectory not accessible to the
102 2008-04-22 Michael Natterer <mitch@imendio.com>
104 * Makefile.am: fix library versioning (it was 0.0.0).
106 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
108 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
109 Default disable all loggings.
110 * fen/fen-kernel.c: (printevent), (port_add_kevent),
111 (port_fetch_event_cb): Fixed two macro nits.
113 2008-04-16 Matthias Clasen <mclasen@redhat.com>
115 * xdgmime/xdgmime.c: Rework the timestamp checking code
116 to protect against duplicate directories in XDG_DATA_DIRS.
117 Fixes fd.o bug 12513, reported by Joe Shaw.
119 2008-04-16 Matthias Clasen <mclasen@redhat.com>
121 Partically revert the last commit after realizing that
122 xdg_mime_media_type_equal doesn't have to init at all.
125 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
127 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
129 2008-04-16 Matthias Clasen <mclasen@redhat.com>
131 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
132 reported by Joe Shaw and Federico Mena Quintero.
134 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
135 (xdg_mime_media_type_equal): Turn into a wrapper around the
138 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
139 functions throughout.
141 2008-04-16 Michael Meeks <michael.meeks@novell.com>
143 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
144 tolerate an empty TryExec= line without failing; nautilus used
145 to create launchers with these in previous versions. Fixes #528433
147 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
149 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
150 after name. Fixes #527132.
152 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
154 * gfile.c: (g_file_replace):
157 2008-04-07 Matthias Clasen <mclasen@redhat.com>
159 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
161 * gfile.c (file_copy_fallback): Fix the argument order. Patch
162 by Christian Kellner.
164 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
166 * gunixmounts.c: (g_unix_mount_guess_should_display):
167 Don't list the user directory as a mount, fix potential issue
168 when other users have a similar naming and don't special case the
169 gvfs mounts there since that's not required (#525866)
171 2008-03-31 Alexander Larsson <alexl@redhat.com>
173 * glocalfile.c (get_parent):
176 2008-03-31 A. Walton <awalton@svn.gnome.org>
178 * gfile.c (g_file_query_file_type):
179 Always return a GFileType enum value (#520715).
181 2008-03-31 Alexander Larsson <alexl@redhat.com>
183 * glocalfileenumerator.c:
184 Read readdir() info in chunks (of 1000) and sort
185 the chunks by inode before stat:ing.
186 This is a 20% performance increase in testing
187 gvfs-ls on /usr/bin with cold cache.
189 2008-03-31 Alexander Larsson <alexl@redhat.com>
191 * gmemoryoutputstream.c:
192 Clarify docs for g_memory_output_stream_get_size.
193 Add g_memory_output_stream_get_data_size.
195 2008-03-30 Matthias Clasen <mclasen@redhat.com>
199 * gfile.h: Add g_file_query_file_type convenience function
200 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
202 2008-03-30 Matthias Clasen <mclasen@redhat.com>
205 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
207 2008-03-28 A. Walton <awalton@svn.gnome.org>
209 * giomodule.c (_g_io_modules_ensure_loaded):
210 Adds GIO_EXTRA_MODULES environment variable support, closing bug
213 2008-03-28 Alexander Larsson <alexl@redhat.com>
216 (copy_stream_with_progress):
219 2008-03-28 Alexander Larsson <alexl@redhat.com>
222 (copy_stream_with_progress):
223 (file_copy_fallback):
224 Fallback to g_file_query_info for source size
225 if g_file_input_stream_query_info fails. (#524579)
227 2008-03-28 Alexander Larsson <alexl@redhat.com>
229 * glocalfile.c (g_local_file_move):
230 Reuse old string instead of adding new one.
232 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
234 * fen/*.[hc]: still copyright issue. I hate copyright.
236 2008-03-27 Alexander Larsson <alexl@redhat.com>
238 * glocalfile.c (g_local_file_move):
239 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
240 file over directory. This is according to the docs and what the move via
241 copy+remove fallback does.
243 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
245 * fen/*.[hc]: Updated copyright.
247 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
249 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
251 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
253 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
254 not emit attribute changed events when optimizing changed events.
255 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
258 2008-03-19 Matthias Clasen <mclasen@redhat.com>
260 * gmountoperation.[hc]: Small documentation additions
262 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
264 * gunixmounts.c: (guess_mount_type):
265 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
267 2008-03-19 Alexander Larsson <alexl@redhat.com>
270 (copy_stream_with_progress):
271 Bump block side for copy to 64k to minimize
272 overhead for low latency links. (#523015)
274 2008-03-16 Tor Lillqvist <tml@novell.com>
276 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
277 depend on gio.def on Windows.
279 2008-03-12 David Zeuthen <davidz@redhat.com>
283 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
285 2008-03-14 Alexander Larsson <alexl@redhat.com>
289 Avoid redudant tests (#521851)
290 Patch from Josselin Mouette
292 2008-03-14 Alexander Larsson <alexl@redhat.com>
295 (g_file_monitor_is_cancelled):
296 Fix C89 issue (#521672)
297 Patch from Jens Granseuer
299 2008-03-14 Alexander Larsson <alexl@redhat.com>
301 * fam/fam-helper.[ch]:
303 Shut down fam (including removing fam GSource) when
304 module is unloaded (#521513)
305 Patch from Joe Marcus Clarke
307 2008-03-14 Alexander Larsson <alexl@redhat.com>
310 (_g_io_modules_ensure_loaded):
313 2008-03-14 Alexander Larsson <alexl@redhat.com>
316 (g_local_file_query_filesystem_info):
317 Use right define name for f_fstypename member check
319 2008-03-14 Alexander Larsson <alexl@redhat.com>
322 * fen/Makefile.am: Added.
323 * fen/fen-data.[ch]: Added.
324 * fen/fen-dump.[ch]: Added.
325 * fen/fen-helper.[ch]: Added.
326 * fen/fen-kernel.[ch]: Added.
327 * fen/fen-missing.[ch]: Added.
328 * fen/fen-node.[ch]: Added.
329 * fen/fen-sub.[ch]: Added.
330 * fen/gfendirectorymonitor.[ch]: Added.
331 * fen/gfenfilemonitor.[ch]: Added.
333 Added Solaris FEN file notification backend.
334 Patch from Lin Ma <Lin.Ma@Sun.COM>
336 2008-03-13 Tor Lillqvist <tml@novell.com>
338 * Makefile.am: Actually use the gio.def file when linking the
339 library on Windows. Produce .lib library for Microsoft's toolchain
340 when possible. Install the .lib and .def file like for the other
343 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
345 * tests/live-g-file.c:
346 Include live-g-file in standard set of tests, making a temporary
347 directory in source structure.
349 Clean target directory before the tests (write mode only)
351 2008-03-12 Tor Lillqvist <tml@novell.com>
353 Bug 517419 - gio win32 directory monitor
354 Implementation by Vlad Grecescu.
357 * win32/gwin32directorymonitor.h
358 * win32/gwin32directorymonitor.c: New files.
360 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
362 * Makefile.am: Add the win32 subdirectory.
364 2008-03-12 Tor Lillqvist <tml@novell.com>
366 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
367 normal struct stat on Unix but struct _stati64 on Windows to have
368 access to 64-bit file size information. Use that instead of struct
369 stat in the functions declared here in this private header.
371 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
372 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
373 warnings about unused functions and variables. Don't set
374 meaningless attributes like inode numbers on Windows.
376 2008-03-12 Benjamin Otte <otte@gnome.org>
379 trim whitespace so gtk-doc groks the function name
381 2008-03-12 Tor Lillqvist <tml@novell.com>
383 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
384 returning FALSE, on Win32.
386 2008-03-11 Alexander Larsson <alexl@redhat.com>
389 * glocalfileinfo.[ch]:
390 Correctly implement can_trash by actually
391 looking for a trash dir, not just assuming
394 2008-03-10 Matthias Clasen <mclasen@redhat.com>
396 * === Released 2.16.1 ===
398 2008-03-11 Alexander Larsson <alexl@redhat.com>
401 Fix crashes in new constructor and properties code
403 2008-03-10 Murray Cumming <murrayc@murrayc.com>
405 * gfile.c: Minor spelling correction in documentation:
406 existance -> existence.
408 2008-03-10 Matthias Clasen <mclasen@redhat.com>
410 * === Released 2.16.0 ===
412 2008-03-10 Matthias Clasen <mclasen@redhat.com>
414 * gio.symbols: Remove g_file_contains_file here, too.
416 2008-03-10 Matthias Clasen <mclasen@redhat.com>
418 * gthemedicon.c: Add properties to make bindings happy. (#517676,
419 Samuel Cormier-Iijima)
421 2008-03-08 Tor Lillqvist <tml@novell.com>
423 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
426 2008-03-07 Alexander Larsson <alexl@redhat.com>
429 (g_local_file_query_filesystem_info):
430 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
431 Patch from Jasper Lievisse Adriaanse
433 2008-03-06 Tor Lillqvist <tml@novell.com>
435 * gfileinfo.h: Correct milliseconds to microseconds in the doc
436 comments for the *_USEC attributes.
438 2008-03-06 Alexander Larsson <alexl@redhat.com>
440 * gfile.c (g_file_query_exists):
441 Add g_return_val_if_fail check (#520700)
443 2008-03-06 Alexander Larsson <alexl@redhat.com>
448 * gunionvolumemonitor.c:
451 * tests/live-g-file.c:
452 * xdgmime/xdgmimecache.c:
453 Fix sparse warnings (#519489)
455 2008-03-05 Alexander Larsson <alexl@redhat.com>
458 Make cancellation threadsafe (i.e.
459 guarantee its only done once, and always
462 * glocaldirectorymonitor.c:
463 Make sure we the monitor lives while the
464 mounts_changed callback is being called (#520484)
466 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
468 * gbufferedinputstream.c: Fix typo in parameter
471 2008-03-04 Alexander Larsson <alexl@redhat.com>
474 Remove deprecated symbols we kept for one release.
476 2008-03-04 Murray Cumming <murrayc@murrayc.com>
479 * goutputstream.c: Tiny documentation corrections.
481 2008-03-03 Alexander Larsson <alexl@redhat.com>
483 * gunionvolumemonitor.c:
485 Fix the adopt_orphan_mount vfunc to take a
486 volume_monitor reference in an ABI compat way.
487 This change is not API compat, but the added
488 arg is not used in the only user of this vfunc, so
489 all we get is a harmless warning in gvfs (#520169)
491 2008-03-01 Benjamin Otte <otte@gnome.org>
494 clarify docs for g_file_delete().
496 2008-02-29 Alexander Larsson <alexl@redhat.com>
500 Make sure empty files get text/plain type (#518720)
502 2008-02-27 Alexander Larsson <alexl@redhat.com>
508 (g_unix_volume_mount):
509 Add missing GMountMountFlags argument
511 2008-02-26 Alexander Larsson <alexl@redhat.com>
514 (g_local_file_delete):
515 Handle filesystems (like ntfs-3g) that return EEXIST instead
516 of ENOTEMPTY (#518816)
518 2008-02-25 Matthias Clasen <mclasen@redhat.com>
520 * === Released 2.15.6 ===
522 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
524 * gfile.c (g_file_find_enclosing_mount):
525 * ginputstream.c (g_input_stream_set_pending):
526 * glocalfile.c (g_local_file_find_enclosing_mount):
527 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
528 * goutputstream.c (g_output_stream_set_pending):
530 Fixup translator comments (#518578).
532 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
534 * gfile.c (g_file_find_enclosing_mount):
536 * glocalfile.c (g_local_file_find_enclosing_mount):
539 Fix a few typos in translator comments and documentation.
541 2008-02-25 Alexander Larsson <alexl@redhat.com>
548 Add translator comments (#518578)
550 2008-02-25 Alexander Larsson <alexl@redhat.com>
553 Reintroduce g_file_contains_file, keep around for one
554 unstable release cycle to avoid crashing to many apps.
555 Make sure to delete after release.
557 2008-02-25 Alexander Larsson <alexl@redhat.com>
560 Remove deprecated g_file_contains_file.
562 2008-02-25 Alexander Larsson <alexl@redhat.com>
565 Emit actual change signals in an idle handler.
566 This avoids reentrance and locking problems in
567 the file notification backends.
569 2008-02-25 Alexander Larsson <alexl@redhat.com>
572 (g_unix_mount_guess_should_display):
573 Remove type guessing, instead just display
574 mounts in /media and in ~/.
576 2008-02-25 Alexander Larsson <alexl@redhat.com>
579 Make new strings reuse old ones.
581 2008-02-25 Alexander Larsson <alexl@redhat.com>
584 Implement trashing and filesystem::readonly for win32 (#517235)
585 Patch from Yevgen Muntyan
587 2008-02-23 Matthias Clasen <mclasen@redhat.com>
589 * gfileinfo.h: Documentation fixes.
591 2008-02-22 Alexander Larsson <alexl@redhat.com>
593 * gcontenttype.c (g_content_type_get_icon):
594 Look at old-style gnome mime icon names too, as many
595 have not moved to the new style.
597 2008-02-21 Matthias Clasen <mclasen@redhat.com>
599 * *.c: Correct the @include in for section docs.
601 2008-02-21 David Zeuthen <davidz@redhat.com>
603 * glocalfileinfo.c: (_g_local_file_info_get):
605 (g_content_type_get_icon): Implement this function by
606 moving bits from glocalfileinfo.c
607 (g_content_type_get_description): Unalias before getting
608 description (#517687)
610 * gfile.c: (g_file_class_init),
611 (g_file_query_filesystem_info_async),
612 (g_file_query_filesystem_info_finish),
613 (query_filesystem_info_data_free),
614 (query_filesystem_info_async_thread),
615 (g_file_real_query_filesystem_info_async),
616 (g_file_real_query_filesystem_info_finish):
617 * gfile.h: Implement async version of
618 g_file_query_filesystem_info()
620 * gfileinfo.h: Add new attributes for filesystem::use-preview
622 * gio.symbols: Update
624 * gthemedicon.c: (g_themed_icon_append_name):
625 * gthemedicon.h: Add new new convenience function.
627 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
628 (get_mounts), (get_volumes), (get_connected_drives),
629 (get_volume_for_uuid), (get_mount_for_uuid),
630 (g_union_volume_monitor_init), (populate_union_monitor),
631 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
632 (g_volume_monitor_adopt_orphan_mount):
634 * gvolumemonitor.h: Use recursive locks so it's safe for volume
635 monitor implementations to call into the main volume monitor. Also
636 separate object initialization and volume monitor initialization
637 such that non-native volume monitors can properly adopt their
640 2008-02-21 Alexander Larsson <alexl@redhat.com>
645 2008-02-21 Alexander Larsson <alexl@redhat.com>
648 Add more documentation about how GFiles work (from #517086)
650 2008-02-21 Alexander Larsson <alexl@redhat.com>
654 Add new g_file_has_prefix that does the same as g_file_contains_file.
655 Deprecate g_file_contains_file and add a macro that converts
656 it to g_file_has_prefix.
657 The reason for this change is that the contains_file() name seems to
658 imply that this does more work than what it does, but its really only
659 a name match (from #517086)
664 Update to match the above change.
666 2008-02-20 Benjamin Otte <otte@gnome.org>
668 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
669 (g_file_eject_mountable):
670 even more cases of not returning in error path
672 2008-02-20 Benjamin Otte <otte@gnome.org>
674 * gfile.c: (g_file_mount_mountable):
675 return from function in error path.
677 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
680 Remove trailing coma in GMountMountFlags struct
682 2008-02-18 Alexander Larsson <alexl@redhat.com>
686 * glocalfileoutputstream.c:
687 Use g_unlink/g_rename instead of unlink/rename;
688 do not pass raw filenames to g_set_error. (#517239)
689 Patch from Yevgen Muntyan.
691 2008-02-18 Alexander Larsson <alexl@redhat.com>
694 * glocalfileoutputstream.c:
695 Open files with O_BINARY on windows. (#517140)
697 2008-02-14 Alexander Larsson <alexl@redhat.com>
699 * glocalfileoutputstream.c:
700 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
702 2008-02-14 Alexander Larsson <alexl@redhat.com>
705 Copy permissions with file on copy (#514084)
706 This is what cp does and makes sure e.g. the
707 exec permissions are kept.
708 Its kinda weird in that it keeps the permission bits
709 the same while the uid and gid are different. However
710 the new uid is the user so its not a security issue,
711 and I've heard no complaints about cp on this issue.
713 2008-02-13 Ryan Lortie <desrt@desrt.ca>
715 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
717 2008-02-13 Alexander Larsson <alexl@redhat.com>
719 * inotify/inotify-path.c:
720 Define IN_ONLYDIR if not in header (#515346)
722 2008-02-12 Alexander Larsson <alexl@redhat.com>
724 * tests/live-g-file.c:
727 2008-02-11 Matthias Clasen <mclasen@redhat.com>
729 * === Released 2.15.5 ===
731 2008-02-11 Matthias Clasen <mclasen@redhat.com>
733 * gio.symbols: Add g_mount_mount_flags_get_type.
735 2008-02-11 Alexander Larsson <alexl@redhat.com>
738 (g_file_info_set_attribute_mask):
739 (g_file_attribute_matcher_matches_id):
740 Correctly handle NULL GAttributeMatcher meaning
741 matches nothing. (Fixes #513492)
743 2008-02-11 Alexander Larsson <alexl@redhat.com>
748 Added GMountMountFlags enum and added a flags
749 argument to all mount calls.
751 This is an API/ABI change for future extensibility,
752 as I think we will need at least an
753 inhibit-autorun flag (the panel needs this).
754 There are no flags defined yet though.
756 2008-02-11 Alexander Larsson <alexl@redhat.com>
759 Added new standard::description attribute.
760 Requested by Vincent, and useful for both
763 2008-02-11 Alexander Larsson <alexl@redhat.com>
768 2008-02-11 Matthias Clasen <mclasen@redhat.com>
770 * *.c: Documentation additions
772 2008-02-10 Matthias Clasen <mclasen@redhat.com>
774 * gappinfo.h: Formatting cleanup
775 * gappinfo.c: Fix up docs.
777 2008-02-09 Matthias Clasen <mclasen@redhat.com>
779 * gunixmounts.c: Consistently use getmntent_r() and fall
780 back to getmntent(). (#515492)
782 2008-02-09 Matthias Clasen <mclasen@redhat.com>
784 * gbufferedinputstream.c:
786 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
788 * tests/data-input-stream.c:
789 * tests/data-output-stream.c: Portability fixes.
791 2008-02-08 Alexander Larsson <alexl@redhat.com>
796 Add g_volume_should_automount.
799 2008-02-07 Tor Lillqvist <tml@novell.com>
801 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
802 Win32, too Unix-specific.
804 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
806 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
807 a local plt if the compiler doesn't support what we want. Bug #514702
809 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
811 reviewed by: <delete if not using a buddy>
814 * gunixinputstream.c:
815 * gunixoutputstream.c:
817 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
820 * tests/live-g-file.c:
821 * tests/live-g-file.txt:
822 New GIO testing module working over real data
824 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
826 * glocalfileoutputstream.c (g_local_file_output_stream_close):
827 Fallback to rename() if link() is not available
828 (when no support on target filesystem)
830 2008-02-06 Michael Natterer <mitch@imendio.com>
832 * gfileinfo.c (g_file_info_get_icon): replace
833 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
835 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
837 * gfile.c (g_file_create):
838 Documentation update of error codes
840 2008-02-06 Alexander Larsson <alexl@redhat.com>
843 Update to use both mimeapps.list and
844 defaults.list as discussed on xdg list.
846 2008-02-06 Benjamin Otte <otte@gnome.org>
849 * gfilenamecompleter.c:
850 Fix some typos in the documentation.
852 2008-02-06 Alexander Larsson <alexl@redhat.com>
854 * glocalfile.c (g_local_file_trash):
855 Don't succeed with trash if newly created
856 trash dir has the wrong owner. (#514696)
858 2008-02-05 Alexander Larsson <alexl@redhat.com>
860 * glocalfile.c (g_local_file_move):
861 Don't spew warnings when destination is not
864 2008-02-03 Hans Breuer <hans@breuer.org>
866 * makefile.msc : update
868 2008-02-01 Michael Natterer <mitch@imendio.com>
870 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
871 return value of xdg_mime_list_mime_parents() to a variable of the
874 2008-02-01 Alexander Larsson <alexl@redhat.com>
876 * gappinfo.c (g_app_info_launch_uris):
877 Actually call the launch_uris method, not
880 2008-02-01 Alexander Larsson <alexl@redhat.com>
882 * gdesktopappinfo.c (g_desktop_app_info_equal):
883 Ensure appinfos with no id but same pointer value
886 2008-02-01 Alexander Larsson <alexl@redhat.com>
888 * gappinfo.c (g_app_info_launch_default_for_uri):
891 2008-02-01 Alexander Larsson <alexl@redhat.com>
895 Add g_app_info_launch_default_for_uri utility
898 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
901 Doc fix for g_app_info_get_default_for_uri_scheme ()
904 2008-01-30 Alexander Larsson <alexl@redhat.com>
907 Add doc comment about uris vs GFiles to
911 Ensure uris passed to g_app_info_launch_uris()
912 are not roundtriped through GFile (as that
913 may be slightly destructive for e.g. mailto: links)
915 2008-01-30 Alexander Larsson <alexl@redhat.com>
917 * tests/data-input-stream.c:
918 * tests/data-output-stream.c:
919 C89 fixes from Jens Granseuer (#512849)
921 2008-01-30 Alexander Larsson <alexl@redhat.com>
924 Fix gamin/fam difference build issue. (#509419)
926 2008-01-29 Alexander Larsson <alexl@redhat.com>
930 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
932 2008-01-29 Alexander Larsson <alexl@redhat.com>
936 giomodule-priv.h include moved to .c file.
938 2008-01-29 Alexander Larsson <alexl@redhat.com>
940 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
941 Remove unused prio/name fields.
943 2008-01-29 Alexander Larsson <alexl@redhat.com>
945 * gcontenttype.c (looks_like_text):
946 Don't treat whitespace as control chars.
948 2008-01-29 Alexander Larsson <alexl@redhat.com>
951 Lazily create the desktop files for appinfos created
952 by g_app_info_create_from_commandline() when needed
953 for mime associations. This allows run-time use
954 of GAppInfo object without creating unnecessary
957 2008-01-29 Alexander Larsson <alexl@redhat.com>
960 Added new symbols to gio.symbols
962 2008-01-29 Alexander Larsson <alexl@redhat.com>
965 Add g_file_query_default_handler utility to easily look up
966 the GAppInfo that handles a file.
968 * gdesktopappinfo.[ch]:
970 Set up an extension point for g_app_info_get_default_for_uri_scheme()
973 Remove unused function
975 2008-01-29 Alexander Larsson <alexl@redhat.com>
978 Mention need to free returned value in
979 g_file_enumerator_next_files_finish docs.
980 Fix leak if g_file_enumerator_next_files_finish()
983 2008-01-29 Alexander Larsson <alexl@redhat.com>
986 (_g_unix_content_type_get_parents):
987 Use list_parents, not get_parents from xdgmime, because
988 the later doesn't use the cache.
990 * xdgmime/xdgmimecache.c:
991 (_xdg_mime_cache_list_mime_parents):
992 Don't list the same type as parent multiple times.
994 2008-01-28 Matthias Clasen <mclasen@redhat.com>
996 * === Released 2.15.4 ===
998 2008-01-28 Alexander Larsson <alexl@redhat.com>
1001 Register local vfs with prio 0.
1004 Remove old name and prio class members
1006 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1008 * tests/g-file.c: Disable some tests that are failing in
1009 the absence of a http backend.
1011 2008-01-28 Alexander Larsson <alexl@redhat.com>
1015 Add registration hooks for extension points.
1016 Register the gio extension points.
1018 * fam/gfamdirectorymonitor.c:
1019 * fam/gfamfilemonitor.c:
1020 * glocaldirectorymonitor.[ch]:
1021 * glocalfilemonitor.[ch]:
1022 * gnativevolumemonitor.h:
1023 * gunionvolumemonitor.c:
1024 * gunixvolumemonitor.c:
1027 * inotify/ginotifydirectorymonitor.c:
1028 * inotify/ginotifyfilemonitor.c:
1029 Use the extension points registration instead
1030 of g_type_children().
1032 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1035 * gvolume.[hc]: Document new API.
1037 * gfile.c (g_file_copy_async): Fix docs
1039 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1041 * gbufferedinputstream.c:
1043 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1046 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1048 * glocalfile.c: Avoid trivial differences in translatable strings.
1050 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1052 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1053 build with gcc 3.4 (#509419)
1055 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1057 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1058 (#509994, Murray Cumming)
1060 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1062 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1063 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1064 this allows big jobs to be executed in chunks, instead of blocking
1065 the main loop for a long time.
1067 * gsimpleasyncresult.c:
1068 * giofile.c: Adapt callers.
1070 2008-01-25 Alexander Larsson <alexl@redhat.com>
1072 * gdesktopappinfo.c:
1073 Implement changes discussed on xdg list.
1074 Now we can add supported mimetypes by just using defaults.list
1075 We can also remove associations in defaults.list.
1077 2008-01-25 Alexander Larsson <alexl@redhat.com>
1079 * gdesktopappinfo.c:
1080 Don't make local copy of desktop file
1081 for mimetype changes if the file already
1082 supports the new mimetype.
1084 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1088 * gbufferedinputstream.c:
1089 * glocalfile.c: String improvements. (#511966,
1090 Theppitak Karoonboonyanan)
1092 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1094 * gioscheduler.h: Expand docs a bit.
1096 2008-01-24 Alexander Larsson <alexl@redhat.com>
1099 Add g_drive_get_identifier and
1100 g_drive_enumerate_identifiers
1103 Add g_volume_get_identifier and
1104 g_volume_enumerate_identifiers
1110 Implement identifiers for unix backend
1112 2008-01-24 Alexander Larsson <alexl@redhat.com>
1117 Add g_file_copy_async() (#511580)
1118 Based on patch from Carlos Garcia Campos
1120 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1122 * gioscheduler.c: Some documentation additions.
1124 2008-01-22 Alexander Larsson <alexl@redhat.com>
1126 * gdesktopappinfo.c:
1127 (g_desktop_app_info_new):
1128 Don't leak basename.
1130 2008-01-22 Alexander Larsson <alexl@redhat.com>
1132 * gdesktopappinfo.c:
1133 (g_desktop_app_info_new_from_filename):
1136 2008-01-22 Alexander Larsson <alexl@redhat.com>
1138 * glocalfileinfo.c (get_thumbnail_attributes):
1141 2008-01-22 Alexander Larsson <alexl@redhat.com>
1144 (canonicalize_filename):
1145 Canonicalize paths that start with more than
1149 (compare_two_files):
1150 (test_g_file_new_for_path):
1153 2008-01-22 Alexander Larsson <alexl@redhat.com>
1156 Allow UTF-8 in file:// parse names.
1158 * tests/Makefile.am:
1159 * tests/data-input-stream.c:
1160 * tests/data-output-stream.c:
1161 * tests/g-file-info.c:
1163 Added a bunch of tests from Tomas Bzatek
1165 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1167 * === Released 2.15.3 ===
1169 2008-01-21 Alexander Larsson <alexl@redhat.com>
1171 * gfileinputstream.[ch]:
1172 * gfileoutputstream.[ch]:
1174 Remove duplicated GSeekable functions. (#509990)
1175 Just use the g_seekable_xxx() calls instead.
1177 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1180 * gvolumemanager.c: Whitespace cleanups.
1182 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1183 Use the right mode when creating the file.
1185 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1187 * gfileenumerator.c:
1188 * gfileinputstream.c:
1190 * goutputstream.c: Documentation: Fixed minor typos
1191 and added more mentions of specific _finish() functions.
1193 2008-01-21 Alexander Larsson <alexl@redhat.com>
1195 * inotify/Makefile.am:
1196 * inotify/inotify-helper.c:
1197 * inotify/inotify-kernel.c:
1198 * inotify/inotify-path.c:
1199 * inotify/local_inotify.h: Removed.
1200 * inotify/local_inotify_syscalls.h: Removed.
1201 Removed the included copies of the inotify
1202 headers. We now only use the <sys/inotify.h>
1203 header which exists on modern systems.
1204 This fixes problems on ARM and SH5 (#510448)
1205 but is also generally much cleaner and future
1206 safe. For instance, if other OSes add support
1207 for inotify it should "just work".
1209 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1211 * inotify/*.c: Coding style fixes.
1212 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1213 for the 1/4 Hz timer.
1215 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1218 * gfilemonitor.[hc]:
1219 * gmemoryinputstream.c:
1220 * gmemoryoutputstream.c:
1221 * gmountoperation.c:
1222 * gthemedicon.c: Documentation updates
1224 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1226 * gfile.c: documentation: Fixed more minor
1229 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1231 * gmount.c: (g_mount_remount): documentation:
1232 Mention g_mount_remount_finish() instead of
1233 g_mount_unmount_finish().
1235 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1239 * gfile.c: Fixed some minor typos in the
1242 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1244 * gio/gvolumemonitor.c:
1245 (g_volume_monitor_get_connected_drives):
1246 (g_volume_monitor_get_volumes):
1247 (g_volume_monitor_get_mounts): Documentation:
1248 Clarify the ownership of the regurn GLists.
1250 2008-01-17 Alexander Larsson <alexl@redhat.com>
1253 Add the async find_enclosing_mount version
1254 to the header file too.
1256 2008-01-17 Alexander Larsson <alexl@redhat.com>
1259 Add async version of find_enclosing_mount
1260 with default implementation.
1262 2008-01-17 Alexander Larsson <alexl@redhat.com>
1267 Allow calls to implementation of copy and write
1268 even if the type of the file implementations is
1269 different. This can be used to implement native
1270 upload and download calls in a vfs.
1273 (g_local_file_move):
1274 Protect against the case where move is called
1275 with one file not being local.
1277 Make sure we call the progress callback once
1278 in the native move operation so that the caller
1279 knows how many bytes were copied.
1281 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1284 * gdatainputstream.c:
1286 * gfileoutputstream.c:
1291 * gunixmounts.c: Corrected some typos in the documentation:
1292 occured -> occurred.
1293 its -> it's (where appropriate).
1295 2008-01-16 Alexander Larsson <alexl@redhat.com>
1299 Add g_file_query_exists (#508771)
1301 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1306 * gvolume.c: For async functions that have no non-async
1307 version, document that the GAsyncReadyCallback may be NULL.
1310 2008-01-15 Alexander Larsson <alexl@redhat.com>
1312 * gmemoryinputstream.c:
1313 * gmemoryoutputstream.c:
1314 Don't do pointer arithmetic on void * (#508602)
1315 Patch from Kazuki IWAMOTO
1317 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1319 * === Released 2.15.2 ===
1321 2008-01-14 Alexander Larsson <alexl@redhat.com>
1323 * gfile.c (g_file_monitor_file):
1324 Don't set error here, since we fallback to polling monitor.
1326 2008-01-14 Alexander Larsson <alexl@redhat.com>
1329 (g_file_monitor_directory):
1330 (g_file_monitor_file):
1331 Add GError to file monitor calls
1333 * glocaldirectorymonitor.c:
1334 * glocaldirectorymonitor.h:
1336 * glocalfilemonitor.c:
1337 * glocalfilemonitor.h:
1339 Update for above change
1341 2008-01-14 Alexander Larsson <alexl@redhat.com>
1345 Handle root correctly in g_file_get_relative_path (#508719)
1347 2008-01-14 Alexander Larsson <alexl@redhat.com>
1350 Clean up docs and example for GAsyncResult (#508074)
1352 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1354 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1355 and correct some spelling mistakes. Bug #508108.
1357 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1359 * glocalfileinfo.c: Add a comment.
1361 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1363 * gfileinfo.c: GFileInfo description: Mention
1364 how to actually set attributes in a GFile and how to discover
1365 which attributes are settable. Bug #508378.
1367 2008-01-10 A. Walton <awalton@svn.gnome.org>
1369 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1370 (g_app_info_get_default_for_type):
1371 Check for NULL content types.
1373 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1375 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1377 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1379 * gfile.c: *_async() functions: Several small corrections
1380 to the documentation, mostly correcting copy/paste errors
1381 and improving some sentences.
1383 2008-01-09 Dan Winship <danw@gnome.org>
1385 * glocalfile.c (get_unique_filename): x86_64 fix
1387 2008-01-09 Alexander Larsson <alexl@redhat.com>
1392 Add g_unix_mount_guess_should_display and use
1393 for unix volume monitor backend.
1394 This means we more or less show what the
1395 gnome-vfs backend did.
1396 Based on patch from Padraig O'Briain
1398 2008-01-09 Alexander Larsson <alexl@redhat.com>
1402 Add g_themed_icon_new_with_default_fallbacks
1405 Use default fallbacks for icons
1407 2008-01-09 Alexander Larsson <alexl@redhat.com>
1410 * gmountoperation.[ch]:
1411 Change the API a bit so that unhandled methods
1412 get reported via the reply, rather than by
1413 the signal emission return value. This is because
1414 some handlers can't know this immediately without
1415 doing I/O, and this is an async operation that
1418 2008-01-09 Alexander Larsson <alexl@redhat.com>
1421 * fam/gfamdirectorymonitor.c:
1422 * fam/gfamfilemonitor.c:
1423 Fix double free crash (#508224)
1424 Patch from Joe Marcus Clarke
1426 008-01-07 Matthias Clasen <mclasen@redhat.com>
1428 * === Released 2.15.1 ===
1430 2008-01-07 Alexander Larsson <alexl@redhat.com>
1432 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1433 Fix warning (#507835)
1435 2008-01-07 Alexander Larsson <alexl@redhat.com>
1438 Pass --internal to glib-genmarshal
1441 * gmountoperation.c:
1443 Use better types for signal arguments (#507822)
1445 2008-01-07 Alexander Larsson <alexl@redhat.com>
1448 Build test subdir after .
1449 Remove gdirectorymonitor.[ch]
1451 * gdirectorymonitor.[ch]:
1455 Remove GDirectoryMonitor and make
1456 GFileMonitor the baseclass for both file and
1457 directory monitors. Lift the more generic
1458 rate limiting code from GDirectoryMonitor
1462 * fam/gfamdirectorymonitor.[ch]:
1463 * inotify/ginotifydirectorymonitor.[ch]:
1464 * inotify/inotify-helper.c:
1465 * glocaldirectorymonitor.[ch]:
1468 Update for the removed GDirectoryMonitor.
1470 * gmemoryoutputstream.c:
1471 Remove ununsed variable
1473 2008-01-07 Alexander Larsson <alexl@redhat.com>
1475 * gmemoryinputstream.c:
1476 Translate error strings
1479 * gmemoryoutputstream.[ch]:
1480 New implementation that avoids using GByteArray
1481 in implementation and API. (#506377)
1483 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1485 * tests/*: Add a test for memory input streams.
1487 * Makefile.am: Add tests to SUBDIRS.
1489 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1491 * glocalfilemonitor.c:
1492 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1495 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1497 * gdesktopappinfo.c: Fix a docs typo.
1499 * gfileattribute.c: Add information about extended attributes
1500 to the documentation. (#505058)
1502 2008-01-04 Alexander Larsson <alexl@redhat.com>
1505 * gmountoperation.c:
1506 Use the right type (uint) for the ask_password signal.
1508 2008-01-04 Alexander Larsson <alexl@redhat.com>
1513 Add g_app_info_supports_files()
1514 Remove desktop arg from g_app_info_should_show().
1516 * gdesktopappinfo.[ch]:
1517 Implement g_app_info_supports_files() and new should_show()
1518 Add g_desktop_app_info_set_desktop_env() to set the desktop
1519 for should_show(). (This will be set by gtk+ later)
1521 2008-01-04 Alexander Larsson <alexl@redhat.com>
1524 * gmemoryinputstream.[ch]:
1525 Improve API so that you can use multiple chunks
1526 of memory and custom destroy functions. (#506374)
1528 2008-01-03 Alexander Larsson <alexl@redhat.com>
1531 Handle NULL attribute matchers safely, as we return this
1532 for empty attribute matcher strings.
1534 2008-01-03 Alexander Larsson <alexl@redhat.com>
1536 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1537 Add /usr/local to list of internal mountpoints
1539 2008-01-03 Alexander Larsson <alexl@redhat.com>
1542 Check for HAVE_LCHOWN (#505887)
1544 2008-01-03 Alexander Larsson <alexl@redhat.com>
1548 Add define for selinux context attribute.
1549 Fix missing : -> :: namespace separator change
1550 Fix missing _ -> - name change for xattr-sys.
1553 2008-01-03 Alexander Larsson <alexl@redhat.com>
1556 Link to libglib and libgobject directly (#504879)
1557 Patch from Sebastien Bacher
1559 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1561 * gfile.c: Expanded the g_file_new_for_commandline_arg
1562 description a bit, based on the code and the docs of the
1563 other g_file_new_for_* functions.
1565 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1567 * gfilemonitor.h: Fixed typo in docs.
1569 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1571 Updates to GIO documentation. (#506395, Mikael Hermansson)
1573 * gcontenttype.c: Describe memory management for return value of
1574 g_content_types_get_registered(). Missing piece from #505815.
1575 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1576 GVolume, GDrive, GMounts, which hopefully gives the user less
1577 confusions when using this API. Following explainations from
1578 Alexander Larsson on gtk-devel-list.
1580 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1582 * gfileinfo.c: Expand the long description.
1584 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1587 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1588 fix builds with --disable-visibility. (#500273, Christian Persch)
1590 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1592 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1593 in the list of returned app infos.
1595 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1597 * gappinfo.c: Fix a cross-reference
1599 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1601 * gfileinputstream.c:
1602 * gfileoutputstream.c:
1606 * gdesktopappinfo.c:
1608 * gfileinfo.c: Documentation updates.
1610 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1612 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1615 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1617 * gcontenttype.c (g_content_types_get_registered): Don't return
1618 freed memory (#505815, Mikael Hermansson)
1620 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1622 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1623 used to detect statbuf->st_blocks. (#505042)
1625 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1627 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1628 environment handling. (#504829, Cosimo Cecchi)
1630 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1632 * gappinfo.c: Doc improvements
1634 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1637 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1639 * === Released 2.15.0 ===
1641 2007-12-20 Hans Breuer <hans@breuer.org>
1643 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1644 with symbols gwin32appinfo.obj, added gmount.obj
1645 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1647 2007-12-20 Alexander Larsson <alexl@redhat.com>
1653 * gfilenamecompleter.c:
1656 * gpollfilemonitor.c:
1657 File attribute renames:
1659 fs:: -> filesystem::
1660 id::fs -> id::filesystem
1662 2007-12-20 Alexander Larsson <alexl@redhat.com>
1671 Add GMountUnmountFlags to all unmount and
1673 Add g_mount_remount() call.
1675 2007-12-20 Alexander Larsson <alexl@redhat.com>
1677 * gvfs.c (get_default_vfs):
1678 Fix unused variable warning
1680 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1682 * pltcheck.sh: Update
1684 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1686 * gunionvolumemonitor.c:
1687 * gunixmount.c: Remove C99 comments
1689 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1691 * gio.symbols: Add some missing symbols
1693 2007-12-19 Alexander Larsson <alexl@redhat.com>
1696 Make g_io_modules_load_all_in_directory not unuse
1697 loaded modules so that users of it can do stuff
1699 Init internal "module" types.
1700 Initialize static prio and name for types so that
1701 we don't have to load modules to get it.
1703 * gnativevolumemonitor.h:
1705 Move is_supported to parent class so that
1706 non-native monitors can avoid being initialized
1707 too. (For instance GDaemonVolumeMonitor if we're
1708 not using GDaemonVfs.)
1710 * glocaldirectorymonitor.[ch]:
1711 * glocalfilemonitor.[ch]:
1712 * gunionvolumemonitor.c:
1713 * gunixvolumemonitor.c:
1715 Find plugins using the static prio+name to
1716 avoid unnecessarily loading the modules.
1718 2007-12-19 Alexander Larsson <alexl@redhat.com>
1723 2007-12-19 Alexander Larsson <alexl@redhat.com>
1725 * gunionvolumemonitor.c:
1726 Store the native type as GType, not class so that
1727 we can unload it. But still avoid unnecessarily
1730 2007-12-19 David Zeuthen <davidz@redhat.com>
1732 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1733 add signals 'disconnected' and 'eject-button' on GDrive. Add
1734 signal 'removed' on GVolume and 'unmounted' on GMount.
1736 * gdrive.c: (g_drive_base_init):
1738 * gfile.c: (g_file_mount_mountable),
1739 (g_file_mount_enclosing_volume):
1742 * gmount.c: (g_mount_base_init):
1744 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1745 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1746 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1750 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1752 * *.c: Fix up includes in the section docs.
1754 2007-12-17 Alexander Larsson <alexl@redhat.com>
1756 * gnativevolumemonitor.h:
1757 * gunionvolumemonitor.c:
1758 * gunixvolumemonitor.c:
1759 Add is_supported() to GNativeVolumeMonitorClass so
1760 that we can avoid having to create an object to see
1761 if the backend is supported at runtime.
1762 Also add name member and an env var to pick a specific
1763 volume monitor backend.
1767 Add cancellable to _g_mount_get_for_mount_path()
1769 * glocaldirectorymonitor.c:
1770 * glocalfilemonitor.c:
1771 Avoid loading and unloading modules while sorting.
1773 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1776 * gunixmounts.[hc]: Namespace waste reduction, move some
1777 g_get_unix_mount functions to the g_unix_mount namespace.
1780 * gunixvolumemonitor.c:
1782 * glocaldirectorymonitor.c: Update all callers.
1784 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1786 2007-12-17 Alexander Larsson <alexl@redhat.com>
1789 Add doc comments about what GFile operations are
1790 guaranteed to not block.
1792 2007-12-17 Alexander Larsson <alexl@redhat.com>
1795 Add missing #ifdef fixing OSX build.
1796 (#503334, patch from Richard Hult)
1798 2007-12-14 David Zeuthen <davidz@redhat.com>
1802 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1803 (g_mount_eject), (g_mount_eject_finish):
1805 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1806 (get_volume_for_uuid), (get_mount_for_uuid),
1807 (g_union_volume_monitor_class_init),
1808 (get_default_native_type_with_exclude), (get_default_native_type),
1809 (get_native_type), (update_native_type),
1810 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1811 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1812 (g_unix_mount_can_eject), (eject_unmount_cb),
1813 (eject_unmount_read_error), (eject_unmount_do),
1814 (g_unix_mount_unmount), (g_unix_mount_eject),
1815 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1816 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1817 (g_unix_mount_point_guess_can_eject):
1819 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1820 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1821 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1822 (g_unix_volume_mount), (g_unix_volume_eject),
1823 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1824 * gunixvolumemonitor.c: (get_volume_for_uuid),
1825 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1827 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1828 (g_volume_eject), (g_volume_eject_finish):
1830 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1831 (g_volume_monitor_get_mount_for_uuid):
1834 Provide eject() on both GMount and GVolume and utility functions
1835 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1836 ejected. Introduce the concept of UUID's and wire it into GVolume
1837 and GMount and provide API on GVolumeMonitor to find such
1838 instances. Also handle the case where an external
1839 GNativeVolumeMonitor fails to initialize. Lock around the
1840 _g_get_mount_for_mount_path() function such that volume monitor
1841 implementations won't have to do locking themselves.
1843 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1845 * gdesktopappinfo.c:
1851 * gvolume.h: Documentation updates
1853 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1856 * gfile.h: Doc updates
1858 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1861 * gdesktopappinfo.c: Use hash table iterators.
1863 2007-12-14 Alexander Larsson <alexl@redhat.com>
1866 * gfileattribute.[ch]:
1867 * gfileattribute-priv.h:
1868 Move GFileAttributeValue to a private header, as
1872 Make set_attribute take a type + a pointer instead
1873 of a GFileAttributeValue.
1876 Fix up for above changes.
1877 Add g_file_info_get_attribute_data to get
1878 all info in one call, g_file_info_get_attribute_status
1879 to get the status and g_file_info_get_attribute_as_string.
1883 * glocalfileinfo.[ch]:
1887 Make _guess_type static.
1889 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1892 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1893 made mkenums and friends use temporary files to avoid leaving
1894 empty generated files on failure (#503470).
1896 2007-12-14 Alexander Larsson <alexl@redhat.com>
1898 * gmountoperation.h:
1901 2007-12-14 Alexander Larsson <alexl@redhat.com>
1905 * gfileattribute.[ch]:
1908 * glocalfileoutputstream.c:
1909 * gmountoperation.[ch]:
1910 * goutputstream.[ch]:
1911 Clean up all flags enums to not have _FLAGS in them
1912 Make the names of some of the enums better.
1917 2007-12-14 Michael Natterer <mitch@imendio.com>
1919 * gio.symbols: fix g_io_scheduler symbol names.
1921 2007-12-14 Alexander Larsson <alexl@redhat.com>
1927 * gbufferedinputstream.h:
1928 * gbufferedoutputstream.h:
1931 * gdatainputstream.h:
1932 * gdataoutputstream.h:
1933 * gdesktopappinfo.h:
1934 * gdirectorymonitor.h:
1938 * gfileenumerator.h:
1941 * gfileinputstream.h:
1943 * gfilenamecompleter.h:
1944 * gfileoutputstream.h:
1945 * gfilterinputstream.h:
1946 * gfilteroutputstream.h:
1954 * gmemoryinputstream.h:
1955 * gmemoryoutputstream.h:
1957 * gmountoperation.h:
1960 * gsimpleasyncresult.h:
1962 * gunixinputstream.h:
1964 * gunixoutputstream.h:
1968 * inotify/Makefile.am:
1969 Only allow including <gio/gio.h> from apps
1971 2007-12-14 Alexander Larsson <alexl@redhat.com>
1973 * gioscheduler.[ch]:
1974 * gsimpleasyncresult.c:
1975 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1976 Split out the send_to_mainloop call into two versions instead
1977 of having the block argument.
1979 2007-12-13 Alexander Larsson <alexl@redhat.com>
1981 * gcancellable.[ch]:
1983 * gbufferedinputstream.c:
1984 * gfileenumerator.c:
1985 * gfileinputstream.c:
1986 * gfileoutputstream.c:
1990 g_push/pop_current_cancellable ->
1991 g_cancellable_push/pop_current
1993 2007-12-13 Alexander Larsson <alexl@redhat.com>
1997 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1999 2007-12-13 Alexander Larsson <alexl@redhat.com>
2001 * gmountoperation.h:
2002 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2004 2007-12-12 Alexander Larsson <alexl@redhat.com>
2007 Fix race condition when freeing proxy in
2008 g_io_job_send_to_mainloop().
2010 2007-12-12 Alexander Larsson <alexl@redhat.com>
2016 Make attribute namespace separator "::" instead of ":".
2017 Use - instead of _ as separator in attribute names.
2019 2007-12-12 Alexander Larsson <alexl@redhat.com>
2021 * gbufferedinputstream.h:
2022 * gbufferedoutputstream.h:
2023 * gdatainputstream.h:
2024 * gdataoutputstream.h:
2025 * gdirectorymonitor.h:
2026 * gfileenumerator.h:
2027 * gfileinputstream.h:
2029 * gfileoutputstream.h:
2030 * gfilterinputstream.h:
2031 * gfilteroutputstream.h:
2033 * glocalfileinputstream.h:
2034 * glocalfileoutputstream.h:
2035 * gmemoryinputstream.h:
2036 * gmemoryoutputstream.h:
2037 * gnativevolumemonitor.h:
2039 * gunixinputstream.h:
2040 * gunixoutputstream.h:
2043 s/parent/parent_instance/ in GObjects
2045 2007-12-12 Alexander Larsson <alexl@redhat.com>
2050 No need for padding for interfaces
2052 2007-12-12 Alexander Larsson <alexl@redhat.com>
2056 * gbufferedinputstream.c:
2057 * gbufferedoutputstream.c:
2060 * gdatainputstream.[ch]:
2061 * gdesktopappinfo.c:
2062 * gdirectorymonitor.c:
2064 * gfileattribute.[ch]:
2067 * gfileinputstream.h:
2068 * gfilemonitor.[ch]:
2069 * gfileoutputstream.[ch]:
2070 * gfilterinputstream.h:
2071 * gfilteroutputstream.h:
2074 * gloadableicon.[ch]:
2075 * gmemoryinputstream.c:
2076 * gmountoperation.c:
2078 Fix up a bunch of details in the docs.
2083 2007-12-11 David Zeuthen <davidz@redhat.com>
2085 Rework how volumes, drives and volume monitoring is
2086 done. Previosly the model was
2088 GDrive <1-1> GVolume
2090 where a GDrive instance represented a mount point and a GVolume
2091 instance represented a mounted file system. This patch changes it
2094 GDrive <1-N> GVolume <1-1> GMount
2096 where GMount now serves the purpose of the old GVolume and the new
2097 GVolume serves the purpose of the old GDrive. In addition the new
2098 GDrive interface is used to represent a collection of GVolume
2099 instances (typically partitions) and also contains utility to query
2100 the state of the physical drive the GDrive object represents (such
2101 as checking for media, polling the drive, ejecting the media etc.).
2103 Also implement mounting and unmounting in the Unix volume monitor
2104 backend. A subquent patch will introduce GDrive support for ejection
2108 * gdrive.c: (g_drive_is_media_check_automatic),
2109 (g_drive_is_media_removable), (g_drive_has_media),
2110 (g_drive_can_poll_for_media), (g_drive_eject),
2111 (g_drive_eject_finish), (g_drive_poll_for_media),
2112 (g_drive_poll_for_media_finish):
2114 * gfile.c: (g_file_find_enclosing_mount):
2117 * glocaldirectorymonitor.c:
2118 (g_local_directory_monitor_constructor), (mounts_changed):
2119 * glocalfile.c: (get_mount_info),
2120 (g_local_file_find_enclosing_mount),
2121 (g_local_file_file_iface_init):
2122 * gnativevolumemonitor.h:
2123 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2124 (get_connected_drives), (g_union_volume_monitor_class_init),
2125 (child_volume_added), (child_volume_removed),
2126 (child_volume_changed), (child_mount_added), (child_mount_removed),
2127 (child_mount_pre_unmount), (child_mount_changed),
2128 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2129 (g_union_volume_monitor_remove_monitor),
2130 (_g_mount_get_for_mount_path):
2131 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2132 (guess_system_internal), (_g_get_unix_mounts),
2133 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2134 (g_unix_mount_free), (g_unix_mount_compare),
2135 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2136 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2137 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2138 (type_to_icon), (g_unix_mount_guess_name),
2139 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2140 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2141 (_resolve_symlink), (_resolve_dev_root):
2143 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2144 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2145 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2146 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2147 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2148 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2149 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2150 (g_unix_volume_volume_iface_init):
2152 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2153 (get_mounts), (get_volumes), (get_connected_drives),
2154 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2155 (mountpoints_changed), (mounts_changed),
2156 (g_unix_volume_monitor_init),
2157 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2158 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2159 * gunixvolumemonitor.h:
2160 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2161 (g_volume_mount), (g_volume_mount_finish):
2163 * gvolumemonitor.c: (g_volume_monitor_class_init),
2164 (g_volume_monitor_get_connected_drives),
2165 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2168 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2170 * gmountoperation.h (GPasswordFlags): Close the gap
2172 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2174 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2176 * gdesktopappinfo.[hc]: Remove _-prefixes
2178 2007-12-10 Tor Lillqvist <tml@novell.com>
2180 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2183 2007-12-10 Alexander Larsson <alexl@redhat.com>
2185 * gfile.c (g_file_set_display_name):
2186 Don't hardcode '/' (#502727)
2188 2007-12-09 Hans Breuer <hans@breuer.org>
2190 * makefile.msc : follow lib naming convention
2191 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2192 for user and group name, tested with ../tests/gio-ls
2194 2007-12-09 A. Walton <awalton@svn.gnome.org>
2196 * gdesktopappinfo.c:
2202 * gfileenumerator.c:
2207 * gmemoryinputstream.c:
2208 * gmemoryoutputstream.c:
2210 * gsimpleasyncresult.c:
2211 More documentation cleanup and filling in missing information, bringing
2212 GIO to 99% symbol coverage.
2214 2007-12-08 Hans Breuer <hans@breuer.org>
2216 [gio compiles and links on win32, not sure how much already works]
2217 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2218 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2219 base on win32 API; prefer g_lstat() over lstat(); instead of
2220 localtime_r() use an all GLib implementation on win32;
2221 get_mount_info() still needs a win32 specifc implementation
2222 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2223 win32_get_file_user_info to get owner/group info without uid/gid
2224 * glocalfileinputstream.c : include <io.h> on win32
2225 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2226 definition, use g_win32_ftruncate() for G_OS_WIN32
2227 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2228 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2229 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2230 * makefile.msc : updated
2232 2007-12-07 Alexander Larsson <alexl@redhat.com>
2234 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2235 Avoid warning spew if error == NULL
2237 2007-12-07 Alexander Larsson <alexl@redhat.com>
2240 Update docs wrt etags
2242 2007-12-06 Alexander Larsson <alexl@redhat.com>
2245 Include sys/types.h for dev_t (#501919)
2247 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2251 Make abicheck and pltcheck pass.
2253 2007-12-05 Alexander Larsson <alexl@redhat.com>
2256 * giomodule-priv.h: Added.
2257 * glocaldirectorymonitor.c:
2258 * glocalfilemonitor.c:
2259 * gunionvolumemonitor.c:
2261 Actually add the declaration of _g_io_modules_ensure_loaded
2263 2007-12-05 Alexander Larsson <alexl@redhat.com>
2265 * gdatainputstream.c:
2270 * glocaldirectorymonitor.c:
2271 * glocalfilemonitor.c:
2272 * gunionvolumemonitor.c:
2274 Make g_io_modules_ensure_loaded a private function and
2275 don't pass in the dirname. This means we can do magic
2276 directory finding in the win32 version.
2277 Export the actual load-modules-in-directory code so that
2278 gvfs can reuse that.
2280 2007-12-05 Alexander Larsson <alexl@redhat.com>
2282 * gbufferedinputstream.c:
2283 * gbufferedoutputstream.c:
2286 * gfileenumerator.[ch]:
2287 * gfileinputstream.c:
2288 * gfileoutputstream.[ch]:
2289 * gfilterinputstream.c:
2290 * gfilteroutputstream.c:
2291 * ginputstream.[ch]:
2293 * glocalfileenumerator.c:
2294 * glocalfileinputstream.c:
2295 * glocalfileoutputstream.c:
2296 * gmemoryinputstream.c:
2297 * gmemoryoutputstream.c:
2298 * goutputstream.[ch]:
2301 * gunixinputstream.c:
2302 * gunixoutputstream.c:
2303 Rename all struct members named:
2304 read, write, close, truncate, or mount
2305 to foo_fn, as these are reserved names
2306 and could be defined as macros in libc.
2309 2007-12-04 Alexander Larsson <alexl@redhat.com>
2312 (g_output_stream_close):
2313 Only call flush if non-null.
2315 2007-11-30 Dan Winship <danw@gnome.org>
2317 * ginputstream.c (g_input_stream_set_pending): Make this take a
2318 GError and return a gboolean, and do the "outstanding operation"
2319 check (and the "stream is already closed" check) itself.
2320 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2322 * goutputstream.c (g_output_stream_set_pending)
2323 (g_output_stream_clear_pending): Likewise
2325 * gbufferedinputstream.c:
2326 * gfileinputstream.c:
2327 * gfileoutputstream.c: Update for that
2329 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2330 Like g_simple_async_report_error_in_idle, but takes a GError
2331 rather than building one.
2333 2007-11-30 Dan Winship <danw@gnome.org>
2335 * goutputstream.c: Don't cheat and unset the "pending" flag around
2336 inner calls. Instead, call the class method directly rather than
2337 the wrapper function that checks "pending"
2339 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2341 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2343 2007-12-03 Hans Breuer <hans@breuer.org>
2345 [start of port to win32/msvc]
2346 * gcancellable.c : HAVE_UNIST_H and _pipe()
2347 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2348 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2349 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2351 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2352 * glocalvfs.c : use HAVE_PWD_H
2353 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2354 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2355 * Makefile.am : added to EXTRA_DIST
2357 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2359 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2362 2007-12-03 Alexander Larsson <alexl@redhat.com>
2365 Handle OSX style xattrs API (#500506)
2367 2007-12-03 Alexander Larsson <alexl@redhat.com>
2371 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2373 2007-12-02 A. Walton <awalton@svn.gnome.org>
2377 Documentation accuracy fixes.
2379 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2381 * gioenumtypes.c.template: Fix typo.
2383 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2385 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2387 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2389 * gdirectorymonitor.c:
2390 * gfilemonitor.c: Add properties
2392 * gbufferedoutputstream.c: Don't mark buffer-size property
2395 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2397 * gbufferedoutputstream.c: Add auto-grow property.
2399 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2401 * *.c: Unify the capitalization of section headings.
2403 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2405 * gmountoperation.c: Add properties
2407 * gdatainputstream.c: Turn byte-order and newline-type into
2410 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2412 * gioenumtypes.[hc].template: Templates for enum registration
2414 * Makefile.am: Generate gioenumtypes.[hc]
2416 * gio.h: Include gioenumtypes.h
2418 * gfile.h: Add some explicit nicks.
2420 * gio.symbols: Add new symbols
2422 * pltcheck.sh: Adjust
2424 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2426 * *.c: Explain etags and link to the explanation
2428 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2430 * *.c: Explain I/O priority.
2432 * *.c: More coding style fixes.
2434 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2436 * gasyncresult.c: Add another paragraph to the intro,
2437 adjust coding style of example.
2439 2007-11-29 A. Walton <awalton@svn.gnome.org>
2442 Fixes unknown meaning in GAppLaunchContext docs.
2444 Clarify asynchronous ops.
2446 Fix entity tag docs.
2449 Provides missing gtk-doc section, fixes API docs slighly.
2450 * gsimpleasyncresult.c:
2451 Fill in missing info in docs.
2452 * gunixinputstream.c:
2453 * gunixoutputstream.c:
2454 Be more expressive in short description.
2456 Remove gtk-doc stubs for non-public API.
2458 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2460 * *.c: Coding style fixups
2462 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2464 * inotify/inotify-helper.c: Don't export the lock from libgio.
2466 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2469 * abicheck.sh: Fix copy-and-paste leftovers
2471 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2473 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2475 2007-11-28 Alexander Larsson <alexl@redhat.com>
2479 Removed unnecessary file
2481 * gdesktopappinfo.[ch]:
2484 * glocaldirectorymonitor.[ch]:
2486 * glocalfileenumerator.[ch]:
2487 * glocalfileinputstream.[ch]:
2488 * glocalfilemonitor.[ch]:
2489 * glocalfileoutputstream.[ch]:
2491 * gnativevolumemonitor.c:
2492 * gpollfilemonitor.[ch]:
2493 * gunionvolumemonitor.[ch]:
2496 * gunixvolumemonitor.[ch]:
2499 * inotify/ginotifydirectorymonitor.[ch]:
2500 * inotify/ginotifyfilemonitor.[ch]:
2501 * inotify/inotify-helper.c:
2502 Append _ to all internal functions
2506 Export symbols needed for modules
2508 2007-11-28 Alexander Larsson <alexl@redhat.com>
2511 * abicheck.sh: Added.
2512 * makegioalias.pl: Added.
2513 * pltcheck.sh: Added.
2514 * gio.symbols: Added.
2517 Initial work on adding symbol handling.
2520 Correct ifdef guard name
2523 * inotify/Makefile.am:
2524 * xdgmime/Makefile.am:
2525 Include toplevel Makefile.decl
2527 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2529 * gcontenttype.c: Move doc comments to the unix section.
2531 * *.[hc]: More trivial doc corrections.
2533 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2535 * gpollfilemonitor.c:
2539 * gdesktopappinfo.c:
2544 * gdatainputstream.c:
2545 * gdatainputstream.h:
2546 * gdataoutputstream.c:
2547 * gdataoutputstream.h:
2548 * gfileinfo.h: Doc cleanups
2550 2007-11-28 Andre Klapper <a9016009@gmx.de>
2552 * gdesktopappinfo.c: Fix a typo.
2554 2007-11-27 Andre Klapper <a9016009@gmx.de>
2556 * glocalfileoutputstream.c: Fix a typo.
2558 2007-11-27 Alexander Larsson <alexl@redhat.com>
2561 Don't include removed headers
2563 2007-11-27 Alexander Larsson <alexl@redhat.com>
2566 * gsocketinputstream.[ch]: Removed.
2567 * gsocketoutputstream.[ch]: Removed.
2568 * gunixinputstream.[ch]: Added.
2569 * gunixoutputstream.[ch]: Added.
2570 Renamed GSocket*Stream to GUnix*Stream and made
2571 it unix-only, since its not really only for sockets
2572 and it only works on unix (but is highly useful there).
2574 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2580 * gbufferedinputstream.c:
2581 * gbufferedinputstream.h:
2582 * gbufferedoutputstream.c:
2583 * gbufferedoutputstream.h:
2587 * gdatainputstream.c:
2588 * gdatainputstream.h:
2589 * gdataoutputstream.c:
2590 * gdataoutputstream.h:
2591 * gdirectorymonitor.c:
2592 * gdirectorymonitor.h:
2599 * gfileenumerator.c:
2600 * gfileenumerator.h:
2605 * gfileinputstream.c:
2606 * gfileinputstream.h:
2609 * gfilenamecompleter.c:
2610 * gfilenamecompleter.h:
2611 * gfileoutputstream.c:
2612 * gfileoutputstream.h:
2613 * gfilterinputstream.c:
2614 * gfilterinputstream.h:
2615 * gfilteroutputstream.c:
2616 * gfilteroutputstream.h:
2629 * glocalfileoutputstream.c:
2630 * gmemoryinputstream.c:
2631 * gmemoryinputstream.h:
2632 * gmemoryoutputstream.c:
2633 * gmemoryoutputstream.h:
2634 * gmountoperation.c:
2635 * gmountoperation.h:
2638 * gpollfilemonitor.c:
2641 * gsimpleasyncresult.c:
2642 * gsimpleasyncresult.h:
2643 * gsocketinputstream.c:
2644 * gsocketinputstream.h:
2645 * gsocketoutputstream.c:
2646 * gsocketoutputstream.h:
2653 * gunixvolumemonitor.c:
2662 Bumps documentation to 93% symbol coverage, touching most
2663 of the public files. Fixes broken function documentation prototypes.
2664 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2665 gtk-doc headers in private files.
2667 2007-11-27 Jürg Billeter <j@bitron.ch>
2669 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2670 (g_buffered_input_stream_read_byte):
2671 * gbufferedinputstream.h:
2672 New functions for efficient access to buffer and simple single byte
2675 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2676 (g_data_input_stream_read_until):
2677 * gdatainputstream.h:
2678 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2679 read_until with multiple stop chars.
2681 2007-11-27 Alexander Larsson <alexl@redhat.com>
2685 * inotify/Makefile.am:
2686 Use the user-specified giomoduledir
2688 2007-11-27 Alexander Larsson <alexl@redhat.com>
2692 Add catch-all gio.h header
2693 Don't install gdummyfile.h
2695 2007-11-26 Alexander Larsson <alexl@redhat.com>
2697 * Makefile.am (gioinclude_HEADERS):
2698 Remove trailing whitespace
2700 2007-11-26 Alexander Larsson <alexl@redhat.com>
2702 Merge gio-standalone into glib
2704 2007-11-25 Christian Kellner <gicmo@gnome.org>
2706 * gio/goutputstream.c:
2707 Fix small mistake in the docs.
2709 2007-11-21 Christian Persch <chpe@gnome.org>
2711 * gio/glocalfile.c: (g_local_file_trash):
2712 Convert filenames to UTF-8 for GError.
2713 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2714 as per xdg base dir spec.
2716 2007-11-21 Christian Persch <chpe@gnome.org>
2718 * gio/gdesktopappinfo.c:
2719 Use that g_key_file_to_data cannot fail.
2721 Use stock defines for the key file group and key names.
2724 2007-11-21 Alexander Larsson <alexl@redhat.com>
2727 (copy_stream_with_progress):
2728 Make sure we do a final progress callback with
2729 the full total size.
2731 2007-11-21 Alexander Larsson <alexl@redhat.com>
2734 Export g_file_copy_attributes
2735 Remove padding as its not needed for interfaces
2737 2007-11-20 Alexander Larsson <alexl@redhat.com>
2742 Add G_IO_ERROR_WOULD_MERGE for
2743 copy/move dir on dir with overwrite.
2745 2007-11-20 Alexander Larsson <alexl@redhat.com>
2748 * gio/glocalfileinfo.c:
2749 Add COPY_NAME (this is an optional
2750 non-modified utf8 version of the name) that
2753 2007-11-20 Alexander Larsson <alexl@redhat.com>
2755 * gio/glocalfileenumerator.c:
2756 Report errors as GIOError, not GFileError
2758 2007-11-16 Alexander Larsson <alexl@redhat.com>
2760 * gio/glocalfileoutputstream.c:
2761 * gio/gwin32appinfo.c:
2762 Fix typos in strings.
2763 Patch from Luca Ferretti <elle.uca@libero.it>
2765 2007-11-15 Alexander Larsson <alexl@redhat.com>
2768 Post release version bump
2770 === gio-standalone 0.1.2 ===
2772 2007-11-15 Alexander Larsson <alexl@redhat.com>
2774 * docs/reference/gio/Makefile.am:
2775 Fix up distcheck by removing weird
2781 2007-11-14 Alexander Larsson <alexl@redhat.com>
2783 * gio/gdesktopappinfo.c:
2784 * gio/glocaldirectorymonitor.c:
2786 * gio/glocalfileinfo.c:
2787 * gio/inotify/inotify-sub.c:
2788 * programs/gio-cat.c:
2789 * programs/gio-copy.c:
2790 * programs/gio-info.c:
2791 * programs/gio-ls.c:
2792 * programs/gio-monitor-dir.c:
2793 * programs/gio-monitor-file.c:
2794 * programs/gio-mount.c:
2795 * programs/gio-move.c:
2796 * programs/gio-rm.c:
2797 * programs/gio-save.c:
2798 * programs/gio-trash.c:
2799 Leak fixes from Kjartan Maraas
2801 2007-11-14 Alexander Larsson <alexl@redhat.com>
2803 * gio/fam/fam-helper.c:
2805 * gio/glocalfileinfo.c:
2809 * gio/inotify/inotify-diag.c:
2810 * gio/inotify/inotify-kernel.c:
2811 Various code cleanups from Kjartan Maraas
2813 2007-11-14 Alexander Larsson <alexl@redhat.com>
2815 * gio/gioscheduler.c:
2817 Set up threadpool so that we cache 2 unused
2818 idle threads for at 15 secs. This means we
2819 will reuse thread-local data (like dbus connections)
2822 2007-11-14 Alexander Larsson <alexl@redhat.com>
2824 * gio/fam/fam-helper.c:
2825 * gio/fam/gfamdirectorymonitor.c:
2826 * gio/fam/gfamfilemonitor.c:
2828 * gio/gcontenttype.c:
2829 * gio/gdatainputstream.c:
2830 * gio/gdataoutputstream.c:
2834 * gio/gfileattribute.h:
2835 * gio/gfileenumerator.c:
2837 * gio/ginputstream.c:
2840 * gio/glocalfileinfo.c:
2841 * gio/goutputstream.c:
2842 * gio/gpollfilemonitor.c:
2843 * gio/gsimpleasyncresult.c:
2844 * gio/gunixmounts.c:
2845 * gio/gunixmounts.h:
2846 * gio/inotify/ginotifydirectorymonitor.c:
2847 * gio/inotify/ginotifyfilemonitor.c:
2848 * gio/inotify/inotify-diag.c:
2849 * gio/inotify/inotify-kernel.c:
2850 * gio/inotify/inotify-path.c:
2852 * gio/test-streams.c:
2853 * programs/gio-info.c:
2854 * programs/gio-monitor-dir.c:
2855 * programs/gio-monitor-file.c:
2856 Various code cleanups from Kjartan Maraas
2858 2007-11-13 Alexander Larsson <alexl@redhat.com>
2861 Handle the uri-scheme calls for dummy files
2863 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2865 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2866 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2867 to avoid clash with the C++ keyword.
2869 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2871 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2872 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2874 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2876 * gio/glocaldirectorymonitor.c:
2877 * gio/glocalfilemonitor.c:
2878 * gio/gunionvolumemonitor.c:
2879 Don't use g_once_init_*() for initializations that could fail and
2880 could leave the initialization variable set to 0 but use GOnce.
2881 This prevents a deadlock on the second call when trying to create
2882 a monitor and no monitor type is available. Thanks to Sven Herzberg
2885 2007-11-11 Sven Herzberg <sven@imendio.com>
2887 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2888 #ifdef (make it work on MacOS X again)
2890 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2892 Fixes Changelog for last two commits (sorry guys).
2894 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2896 * gio/gbufferedinputstream.c:
2897 * gio/gdatainputstream.c:
2899 * gio/gfileoutputstream.c:
2900 * gio/gfilterinputstream.c:
2901 * gio/glocalfileinputstream.c:
2904 More consistency fixes in g*stream.c files.
2905 Significant clean of gfile's documentation, filling in of
2906 asynchronous operations documentation.
2908 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2910 * gio/gasyncresult.c:
2911 * gio/gbufferedinputstream.c:
2912 * gio/gbufferedoutputstream.c:
2913 * gio/gcancellable.c:
2914 * gio/gcontenttype.c:
2915 * gio/gdatainputstream.c:
2916 * gio/gdataoutputstream.c:
2917 * gio/gdesktopappinfo.c:
2920 * gio/gfileattribute.c:
2921 * gio/gio/gfileenumerator.c:
2923 * gio/gfileinputstream.c:
2924 * gio/gfilemonitor.c:
2925 * gio/gfileoutputstream.c:
2926 * gio/ginputstream.c:
2928 * gio/gioscheduler.c:
2929 * gio/gloadableicon.c:
2930 * gio/glocalfileoutputstream.c:
2931 * gio/gmemoryoutputstream.c:
2932 * gio/gmountoperation.c:
2933 * gio/goutputstream.c:
2935 * gio/gsimpleasyncresult.c:
2936 * gio/gunionvolumemonitor.c:
2937 * gio/gunixmounts.c:
2938 * gio/gunixvolume.c:
2942 * gio/gvolumemonitor.c:
2943 Updated documentation stubs, working towards consistency and
2946 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2948 * gio/gmemoryoutputstream.c:
2949 * gio/gmemoryoutputstream.h:
2950 Change g_memory_output_stream_set_free_on_close() to
2951 g_memory_output_stream_set_free_data() as this makes more sense and
2952 is more consistent with GMemoryInputStream.
2954 2007-11-07 Alexander Larsson <alexl@redhat.com>
2961 Change how we find the default vfs so that
2962 we can handle a gvfs failing to init
2964 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2966 * gio/gbufferedoutputstream.c:
2967 * gio/gdatainputstream.c:
2968 * gio/gdataoutputstream.c:
2969 * gio/gfileinputstream.c:
2970 * gio/gfileoutputstream.c:
2971 * gio/gfilterinputstream.c:
2972 * gio/gfilteroutputstream.c:
2973 * gio/ginputstream.c:
2974 * gio/gmemoryinputstream.c:
2975 * gio/gmemoryoutputstream.c:
2976 * gio/goutputstream.c:
2977 * gio/gsimpleasyncresult.c:
2978 * gio/gsocketinputstream.c:
2979 * gio/gsocketoutputstream.c:
2980 Add guards to the remaining public functions, add a TODO for
2981 an unimplemented function and remove some useless guards.
2983 2007-11-07 Alexander Larsson <alexl@redhat.com>
2986 Autoconf checks for the various types of
2987 getpwuid_r and getgrgid_r
2989 * gio/glocalfileinfo.c:
2990 Use the autoconf checks from above
2992 2007-11-07 Alexander Larsson <alexl@redhat.com>
2995 (g_local_file_query_filesystem_info):
2996 Some fixes for the statvfs case
2998 2007-11-07 Alexander Larsson <alexl@redhat.com>
3001 (g_local_file_query_filesystem_info):
3002 Pick the "best" of statfs / statvfs for the system
3003 if both are availible.
3005 2007-11-07 Alexander Larsson <alexl@redhat.com>
3007 Solaris fixes from Halton.Huo@Sun.COM:
3014 * gio/glocalfileinfo.c:
3015 Fix for solaris definition of getpwuid_r
3017 * gio/test-streams.c:
3018 Use G_GNUC_PRETTY_FUNCTION
3020 2007-11-07 Alexander Larsson <alexl@redhat.com>
3022 * gio/gdesktopappinfo.c:
3023 (update_default_list):
3024 Remove double semicolon.
3025 Patch from Jens Granseuer
3027 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3029 * docs/reference/gio/gio-sections.txt:
3030 * gio/gbufferedinputstream.c:
3031 * gio/gbufferedinputstream.h:
3032 * gio/gdatainputstream.c:
3033 * gio/gfileenumerator.c:
3034 * gio/gioscheduler.c:
3035 * gio/gunionvolumemonitor.c:
3037 * programs/gio-save.c:
3038 Fix typo: availible -> available. Unfortuntely this breaks API
3039 and ABI as g_buffered_input_stream_get_available() was renamed.
3041 * gio/gunixmounts.c:
3042 * gio/gbufferedinputstream.c:
3043 Add guards for public functions.
3045 2007-11-06 Ross Burton <ross@openedhand.com>
3047 * docs/reference/gio/Makefile.am:
3048 Fix invalid += usage which automake 1.10 doesn't like.
3050 2007-11-06 Alexander Larsson <alexl@redhat.com>
3053 (g_app_launch_context_class_init):
3056 Patch from Ross Burton
3058 2007-11-06 Alexander Larsson <alexl@redhat.com>
3061 Post release version bump
3063 === gio-standalone 0.1.1 ===
3065 2007-11-06 Alexander Larsson <alexl@redhat.com>
3068 Bump version to 0.1.1
3070 * gio/gsimpleasyncresult.c:
3071 (g_simple_async_result_set_from_error):
3072 Remove bogus g_return_if_fail
3074 2007-11-06 Alexander Larsson <alexl@redhat.com>
3077 The name is gio-standalone
3080 Add top src/builddir to includedir
3082 2007-11-06 Alexander Larsson <alexl@redhat.com>
3084 * docs/reference/gio/gio-sections.txt:
3086 * gio/gbufferedinputstream.c:
3087 * gio/gbufferedoutputstream.c:
3088 * gio/gcancellable.c:
3089 * gio/gdatainputstream.h:
3090 * gio/gdataoutputstream.c:
3091 * gio/gdataoutputstream.h:
3092 * gio/gdirectorymonitor.c:
3094 * gio/gfileattribute.c:
3095 * gio/gfileattribute.h:
3096 * gio/gfileenumerator.c:
3097 * gio/gfileenumerator.h:
3100 * gio/gfileinputstream.h:
3101 * gio/gfilemonitor.c:
3102 * gio/gfileoutputstream.h:
3103 * gio/glocalfilemonitor.h:
3104 * gio/glocalfileoutputstream.h:
3105 * gio/gmemoryinputstream.c:
3106 * gio/gmemoryoutputstream.c:
3107 * gio/gmountoperation.c:
3108 * gio/goutputstream.c:
3109 * gio/goutputstream.h:
3111 * gio/gsimpleasyncresult.c:
3112 * gio/gunixmounts.c:
3113 * gio/gunixmounts.h:
3115 * gio/inotify/inotify-helper.c:
3116 Fix gtk-doc warnings
3118 Patch from Ross Burton
3120 2007-11-06 Alexander Larsson <alexl@redhat.com>
3122 * gio/gfilenamecompleter.c:
3123 (g_filename_completer_get_completions):
3126 * gio/gunixvolume.c:
3127 Remove unused function
3129 Patches from Ross Burton
3131 2007-11-06 Alexander Larsson <alexl@redhat.com>
3136 Padding not needed for interfaces
3138 2007-11-06 Alexander Larsson <alexl@redhat.com>
3140 * gio/gfilemonitor.c:
3144 Make giotypes.h an internal file
3147 * gio/gbufferedinputstream.h:
3148 * gio/gbufferedoutputstream.h:
3149 * gio/gcancellable.h:
3150 * gio/gdatainputstream.h:
3151 * gio/gdataoutputstream.h:
3152 * gio/gdirectorymonitor.c:
3153 * gio/gdirectorymonitor.h:
3158 * gio/gfileattribute.h:
3159 * gio/gfileenumerator.h:
3164 * gio/gfilemonitor.c:
3165 * gio/gfilemonitor.h:
3166 * gio/gfilenamecompleter.c:
3167 * gio/gfilenamecompleter.h:
3168 * gio/gfilterinputstream.h:
3169 * gio/gfilteroutputstream.h:
3170 * gio/ginputstream.h:
3171 * gio/gmemoryinputstream.h:
3172 * gio/gmemoryoutputstream.h:
3173 * gio/gmountoperation.c:
3174 * gio/gmountoperation.h:
3175 * gio/gnativevolumemonitor.c:
3176 * gio/goutputstream.h:
3179 * gio/gsimpleasyncresult.c:
3180 * gio/gsimpleasyncresult.h:
3181 * gio/gsocketinputstream.h:
3182 * gio/gsocketoutputstream.h:
3183 * gio/gthemedicon.c:
3184 * gio/gthemedicon.h:
3188 * gio/gvolumemonitor.c:
3189 * gio/gvolumemonitor.h:
3190 Add padding in classes where it seems useful
3191 Don't include giotypes.h from public headers
3192 Move in Class definitions into c file where possible
3197 2007-11-06 Alexander Larsson <alexl@redhat.com>
3199 * docs/reference/gio/gio-docs.xml:
3200 Better structure for API docs
3202 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3205 * gio/gloadableicon.c:
3206 * gio/gsimpleasyncresult.c:
3207 * gio/gthemedicon.c:
3208 Add some more guards to public functions. Only files missing are now
3211 2007-11-06 Alexander Larsson <alexl@redhat.com>
3213 * docs/reference/gio/gio-docs.xml:
3214 Remove old files, add missing ones
3216 2007-11-06 Alexander Larsson <alexl@redhat.com>
3218 * docs/reference/gio/gio-sections.txt:
3221 Hide implementation classes
3223 * gio/gdriveprivate.h:
3224 * gio/gvolumeprivate.h:
3225 Remove non-existing function declarations
3227 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3230 Fix compilation warnings and add guards to the new functions.
3232 * gio/gasyncresult.c:
3234 Add guards to the public functions.
3237 Implement get_path().
3239 2007-11-06 Alexander Larsson <alexl@redhat.com>
3241 * gio/gfilenamecompleter.c:
3242 Make g_filename_completer_get_completions
3243 return char ** instead of GList for
3246 * docs/reference/gio/gio-docs.xml:
3247 * docs/reference/gio/gio-sections.txt:
3249 * gio/gasyncresult.c:
3250 * gio/gbufferedinputstream.c:
3251 * gio/gbufferedoutputstream.c:
3252 * gio/gcancellable.c:
3253 * gio/gcontenttype.c:
3254 * gio/gdatainputstream.c:
3255 * gio/gdataoutputstream.c:
3256 * gio/gdesktopappinfo.c:
3257 * gio/gdirectorymonitor.c:
3261 * gio/gfileattribute.c:
3262 * gio/gfileenumerator.c:
3265 * gio/gfileinputstream.c:
3266 * gio/gfilemonitor.c:
3267 * gio/gfilenamecompleter.c:
3268 * gio/gfilenamecompleter.h:
3269 * gio/gfileoutputstream.c:
3270 * gio/gfilterinputstream.c:
3272 * gio/ginputstream.c:
3274 * gio/gioscheduler.c:
3275 * gio/gloadableicon.c:
3276 * gio/glocaldirectorymonitor.c:
3278 * gio/glocalfileinputstream.c:
3279 * gio/glocalfilemonitor.c:
3280 * gio/glocalfileoutputstream.c:
3282 * gio/gmemoryinputstream.c:
3283 * gio/gmemoryoutputstream.c:
3284 * gio/gmountoperation.c:
3285 * gio/goutputstream.c:
3286 * gio/gpollfilemonitor.c:
3288 * gio/gsimpleasyncresult.c:
3289 * gio/gsocketinputstream.c:
3290 * gio/gsocketoutputstream.c:
3291 * gio/gthemedicon.c:
3292 * gio/gunionvolumemonitor.c:
3294 * gio/gunixmounts.c:
3295 * gio/gunixvolume.c:
3296 * gio/gunixvolumemonitor.c:
3300 * gio/gvolumemonitor.c:
3301 * gio/gwin32appinfo.c:
3302 Add (mostly stub) doc strings to public functions.
3303 Patch from Andrew Walton (awalton@gmail.com)
3305 2007-11-06 Alexander Larsson <alexl@redhat.com>
3307 * gio/gappinfo.[ch]:
3308 Added GAppLaunchContext object and pass that to launch.
3309 This allows simple implementation of both
3310 launch-on-screen and startup notification via a gtk+
3311 subclass of GAppLaunchContext
3313 * gio/gdesktopappinfo.c:
3314 Implement GAppLaunchContext API
3316 * gio/gwin32appinfo.c:
3319 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3321 * gio/gmountoperation.c:
3322 Add some guards to GMountOperation's public functions.
3324 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3328 * gio/gcancellable.c:
3329 * gio/gdirectorymonitor.c:
3331 * gio/gfileenumerator.c:
3332 * gio/gfilemonitor.c:,
3333 * gio/gfilenamecompleter.c:
3336 * gio/gioscheduler.c:
3340 * gio/gvolumemonitor.c:
3341 Add even more guards to various public functions.
3343 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3346 Add guards to the public functions of GAppInfo.
3348 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3350 * gio/gcontenttype.c:
3351 Add some more guards for public functions.
3353 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3355 * gio/fam/fam-module.c:
3356 * gio/fam/gfamdirectorymonitor.c:
3357 * gio/fam/gfamdirectorymonitor.h:
3358 * gio/fam/gfamfilemonitor.c:
3359 * gio/fam/gfamfilemonitor.h:
3360 * gio/inotify/ginotifydirectorymonitor.c:
3361 * gio/inotify/ginotifydirectorymonitor.h:
3362 * gio/inotify/ginotifyfilemonitor.c:
3363 * gio/inotify/ginotifyfilemonitor.h:
3364 Add proper copyright information and remove an unused variable
3365 in the GInotifyFileMonitor constructor.
3367 * gio/gcancellable.c:
3368 Add a guard for a public function and an assertion to prevent
3369 an undefined program state.
3371 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3373 * gio/gfileattribute.c:
3374 Don't run into an assertion if the given attribute value is NULL
3375 in g_file_attribute_value_get_*() but instead return a fallback
3376 value that makes sense in most situations. Passing them a attribute
3377 value with the wrong type will still run into an assertion.
3379 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3381 * gio/gfileattribute.c:
3383 Add even more guards to the public functions. Also fix the refcounting
3384 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3385 let g_file_info_list_attributes() filter the attributes by namespace
3386 instead of simply ignoring the namespace parameter.
3388 2007-11-03 Sven Herzberg <sven@imendio.com>
3390 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3391 (This makes gio work on MacOS X again)
3393 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3396 Build the gio subdirectory before the docs. Otherwise the build will
3399 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3400 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3401 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3402 Add guards to the public functions.
3404 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3406 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3407 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3408 to prevent a compiler warning.
3410 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3411 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3412 return something in the non-void function find_topdir_for().
3414 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3421 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3423 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3424 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3425 * gwin32appinfo.c (g_win32_app_info_launch):
3426 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3427 envp_for_startup_id, g_desktop_app_info_launch,
3428 g_desktop_app_info_launch_uris):
3430 Give an opaque 'startup_id' string instead of 'envp'.
3431 Support empty file lists for launching new windows.
3432 Fix infinite recursion bug when launching URIs.
3434 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3437 Add guard to the new g_file_get_uri_scheme() function.
3439 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3442 Convert a g_return_val_if_fail() to setting the GError instead as
3443 otherwise applications have to verify the parameter before otherwise
3444 and the parameter might come directly from the user.
3446 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3448 * gio/inotify/ginotify*.[ch]:
3449 Add missing copyright information.
3451 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3454 Add guards in the beginning of public functions to check for valid
3455 parameters and fix a bug in copy_stream_with_progress() that could've
3456 caused writing less bytes than reading.
3457 * gio/glocalfileinfo.c:
3458 Check for a NULL parameter and set the GError accordingly then.
3459 * gio/goutputstream.c:
3460 Fix the same bug as in gfile.c that could've caused writing less bytes
3461 than reading in g_output_stream_real_splice().
3463 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3466 Use the correct gvolumeprivate.h naming
3468 2007-11-01 Christian Kellner <gicmo@gnome.org>
3471 Remove leftover "$(daemon_sources)" entry.
3473 2007-11-01 Christian Kellner <gicmo@gnome.org>
3478 Add copyright information to source files.
3480 2007-11-01 Alexander Larsson <alexl@redhat.com>
3484 Add g_file_get_uri_scheme
3486 2007-11-01 Alexander Larsson <alexl@redhat.com>
3489 * gio/gdesktopappinfo.c:
3490 * gio/gwin32appinfo.c:
3491 Add g_app_info_get_default_for_uri_scheme.
3493 2007-11-01 Alexander Larsson <alexl@redhat.com>
3496 Correct filename for gdriveprivate.h
3498 2007-10-31 Alexander Larsson <alexl@redhat.com>
3501 Rename id:value to id:file
3504 * gio/glocalfileinfo.c:
3507 2007-10-31 Alexander Larsson <alexl@redhat.com>
3509 * gio/gunixvolume.c:
3511 Remove g_volume_get_platform_id, as thats not
3512 needed with the simpler union volume monitor
3514 2007-10-31 Alexander Larsson <alexl@redhat.com>
3517 * gio/guniondrive.[ch]: Removed.
3518 * gio/gunionvolume.[ch]: Removed.
3519 Remove GUnionDrive/Volume
3521 * gio/gunionvolumemonitor.c:
3522 Simplify union volume monitor, now we
3523 only have one native volume monitor and
3524 we use the actual volumes/drives from the
3525 child monitors instead of wrapping them
3527 * gio/gnativevolumemonitor.[ch]:
3528 Base class for native volume monitors.
3529 Includes priority and get_volume_for_mountpoint
3532 Add g_file_find_enclosing_volume
3535 Remove volume name fs attribute
3536 Add readonly fs attribute
3539 Implement readonly attribute
3540 remove volume name attribute
3541 Implement find_enclosing volume
3543 * gio/gunixmounts.c:
3544 Add a volume for "/".
3546 * gio/gunixvolume.[ch]:
3547 Set better name for /
3549 * gio/gunixvolumemonitor.[ch]:
3550 Derive from GNativeVolumeMonitor
3551 Implement get_volume_for_mountpoint
3554 GVolume typedef moved to gfile.h
3556 * gio/gvolumeprivate.h:
3557 Add g_volume_get_for_mount_path
3559 2007-10-31 Alexander Larsson <alexl@redhat.com>
3561 * gio/gunixmounts.[ch]:
3562 Add cache info to unix mount listers
3563 Make getmntent use threadsafe
3564 Add is_system_internal attribute for GUnixMount
3566 * gio/gunixvolume.c:
3567 (g_unix_volume_new):
3568 Use is_system_internal instead of own code
3570 * gio/glocaldirectorymonitor.c:
3571 * gio/gunixvolumemonitor.c:
3572 Update to new gunixmounts API
3577 2007-10-30 Alexander Larsson <alexl@redhat.com>
3580 Add volume name fsinfo attribute
3583 Read volume name info
3585 * gio/gunionvolumemonitor.c:
3586 Fix infinite loops when finalizing a union volume monitor
3588 2007-10-30 Alexander Larsson <alexl@redhat.com>
3590 * gio/goutputstream.[ch]:
3591 Add splice() with default implementation
3593 * gio/gsocketoutputstream.c:
3594 (g_socket_output_stream_write):
3595 Return error on cancellation correctly.
3597 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3599 * gio/glocalfile.c (g_local_file_trash):
3600 Do not leak a string.
3602 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3604 * gio/gfile.c (g_file_load_contents):
3605 Unref the stream after closing it.
3607 2007-10-25 Alexander Larsson <alexl@redhat.com>
3609 * gio/gioscheduler.h:
3612 2007-10-25 Alexander Larsson <alexl@redhat.com>
3616 Add g_file_has_uri_scheme and implement for local files
3618 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3620 * gio/gdesktopappinfo.c: do not leak a string.
3622 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3624 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3625 (g_local_directory_monitor_new):
3626 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3627 (g_local_file_monitor_new):
3628 Only look for the monitor type that should be used the first time
3629 and use g_qsort_with_data() instead of our own bubble sort
3632 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3635 * gio/fam/Makefile.am:
3636 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3637 * gio/fam/fam-helper.h:
3638 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3639 * gio/fam/gfamdirectorymonitor.c:
3640 * gio/fam/gfamdirectorymonitor.h:
3641 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3642 * gio/fam/gfamfilemonitor.h:
3643 * gio/glocaldirectorymonitor.c:
3644 * gio/glocaldirectorymonitor.h:
3645 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3646 * gio/glocalfilemonitor.h:
3647 * gio/inotify/Makefile.am:
3648 * gio/inotify/ginotifydirectorymonitor.c:
3649 * gio/inotify/ginotifydirectorymonitor.h:
3650 * gio/inotify/ginotifyfilemonitor.c:
3651 * gio/inotify/ginotifyfilemonitor.h:
3652 Implement the FAM and Inotify monitors as
3653 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3654 their own GIO module. GLocal(Directory|File)Monitor will use the
3655 monitor with the highest rank that is supported on that machine.
3657 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3660 Change GIO module dir to $(libdir)/gio/modules and change
3661 the log domain from GVFS to GIO. Also only export symbols starting
3662 with g_ in the resulting library.
3663 * gio/test-streams.c: (main):
3664 Set log handler for the GIO log domain.
3666 2007-10-22 Alexander Larsson <alexl@redhat.com>
3668 * gio/gfilenamecompleter.[ch]:
3669 Add g_filename_completer_set_dirs_only
3671 2007-10-22 Alexander Larsson <alexl@redhat.com>
3674 * gio/gurifuncs.[ch]:
3675 Add some simple URI helpers
3677 * gio/gfilenamecompleter.[ch]:
3678 Added object for filename (parse name actually) completion
3681 Handle ~ in parse names
3683 2007-10-17 Alexander Larsson <alexl@redhat.com>
3686 * gio/glocalfileinfo.c:
3687 Add and implement id:value attribute
3689 2007-10-17 Alexander Larsson <alexl@redhat.com>
3692 * gio/guniondrive.c:
3694 Add and implement g_drive_has_volumes
3696 2007-10-17 Alexander Larsson <alexl@redhat.com>
3699 * gio/glocalfileinfo.[ch]:
3700 Add unix:is_mountpoint and implement for local files
3702 2007-10-16 Alexander Larsson <alexl@redhat.com>
3704 * gio/gunionvolumemonitor.c:
3705 (g_union_volume_monitor_init):
3706 Fix up the unix type getting so that it works with gcc
3708 2007-10-12 Alexander Larsson <alexl@redhat.com>
3711 * gio/glocalfileinfo.c:
3712 Add thumbnail:failed to file info
3714 2007-10-12 Richard Hult <richard@imendio.com>
3716 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3717 optimizing away the get_type call (happens with some gcc versions,
3718 like the one shipped with OS X 10.4).
3720 2007-10-12 Alexander Larsson <alexl@redhat.com>
3722 * gio/glocalfileinfo.c:
3723 (_g_local_file_info_set_attribute):
3724 Fix build if not HAVE_XATTR
3725 Patch from Milosz Derezynski <internalerror@gmail.com>
3727 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3729 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3730 around for review, otherwise I would have asked you before
3733 2007-10-11 Alexander Larsson <alexl@redhat.com>
3736 Add thumbnail:path attribute
3738 * gio/glocalfileinfo.c:
3739 Implement thumbnail:path for local files
3741 2007-10-11 Alexander Larsson <alexl@redhat.com>
3743 * gio/glocalfileinfo.c:
3744 (_g_local_file_info_get):
3745 Avoid duplicate icon names
3747 2007-10-11 Alexander Larsson <alexl@redhat.com>
3749 * gio/gthemedicon.[ch]:
3750 Change g_themed_icon_get_names return type to const
3752 2007-10-10 Alexander Larsson <alexl@redhat.com>
3754 * gio/glocalfileinfo.c:
3755 Don't reference freed memory
3757 2007-10-10 Alexander Larsson <alexl@redhat.com>
3759 * gio/gfileattribute.c:
3762 * gio/glocalfileinfo.c:
3765 2007-10-10 Alexander Larsson <alexl@redhat.com>
3768 Check for NULL icons
3770 * gio/gfileattribute.c:
3771 Don't dup when getting objects (same as for string attributes)
3773 * gio/gicon.c (g_icon_equal):
3774 Safely handle NULLs in equal
3776 2007-10-10 Alexander Larsson <alexl@redhat.com>
3779 Fix c++ compilation issues
3780 Patch from Milosz Derezynski <internalerror@gmail.com>
3782 2007-10-10 Alexander Larsson <alexl@redhat.com>
3784 * programs/gio-monitor-dir.c:
3785 Don't crash if dir monitor not supported.
3787 2007-10-09 Alexander Larsson <alexl@redhat.com>
3790 Add missing G_END_DECLS
3792 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3794 * gio/gfile.c: (g_file_set_display_name),
3795 (g_file_query_settable_attributes),
3796 (g_file_query_writable_namespaces):
3797 Return NULL not FALSE on errors as the return type is a pointer.
3799 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3801 * gio/glocalfile.c: (g_local_file_monitor_file):
3802 Don't call monitor_file on the default interface vtable (which
3803 is NULL) but simply return NULL. The caller, GFile, will create a
3804 polling monitor if NULL is returned.
3806 2007-10-09 Alexander Larsson <alexl@redhat.com>
3810 * gio-unix-2.0.pc.in:
3811 Add gio-unix-2.0.pc if OS_UNIX
3814 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3816 2007-10-09 Alexander Larsson <alexl@redhat.com>
3818 * gio/gunixmounts.[ch]:
3819 Make unix mount monitoring API sane.
3820 Now its just a object with mounts_changed
3821 and mountpoints_changed signals.
3823 * gio/glocaldirectorymonitor.c:
3824 * gio/gunixvolumemonitor.c:
3825 Use new mount monitor api
3827 2007-10-09 Alexander Larsson <alexl@redhat.com>
3829 * gio/gunixmounts.[ch]:
3830 Move guess type into one call for mounts and one for mountpoints
3833 * gio/gunixvolume.c:
3836 2007-10-09 Alexander Larsson <alexl@redhat.com>
3838 * gio/gunixmounts.[ch]:
3839 Remove _ prefix in preparation to make this semi-public
3840 Hide implementation of structs
3842 * gio/glocaldirectorymonitor.c:
3844 * gio/gunixvolume.c:
3845 * gio/gunixvolumemonitor.c:
3846 Update for above API changes
3848 2007-10-08 Alexander Larsson <alexl@redhat.com>
3851 Better polling fallback. This also handles the case where we have
3852 a monitor_file implementation, but it fails.
3854 2007-10-08 Alexander Larsson <alexl@redhat.com>
3858 * gio/gunixmounts.c:
3859 * programs/gio-monitor-dir.c:
3860 * programs/gio-monitor-file.c:
3861 Added cancellable to file monitoring calls.
3862 These are really sync calls and need this.
3864 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3866 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3867 (g_local_vfs_class_init):
3868 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3869 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3871 2007-10-05 Alexander Larsson <alexl@redhat.com>
3873 * gio/gdirectorymonitorprivate.h:
3874 * gio/gfilemonitorprivate.h:
3875 * gio/gdirectorymonitor.h:
3876 * gio/gfilemonitor.h:
3877 Remove *private.h and move to the public API, so that
3878 we can do implementations outside gio (such as in gvfs)
3880 * gio/gdirectorymonitor.c:
3881 * gio/gfilemonitor.c:
3882 * gio/glocaldirectorymonitor.c:
3883 * gio/gpollfilemonitor.c:
3884 * gio/inotify/inotify-helper.c:
3885 * gio/fam/fam-helper.c:
3886 Update to the new header names
3888 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3890 * gio/gdirectorymonitor.c:
3891 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3894 2007-10-04 Alexander Larsson <alexl@redhat.com>
3896 * gio/glocalfileinfo.c (get_access_rights):
3897 Set CAN_TRASH when we can move the file.
3898 We should really also check for a parent trash dir.
3900 2007-10-04 Alexander Larsson <alexl@redhat.com>
3902 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3903 Add can_trash access attribute
3905 2007-10-04 Alexander Larsson <alexl@redhat.com>
3908 (g_local_file_trash):
3909 Create info file first. This is per-spec and allows
3910 us to actually trash directories.
3912 2007-10-02 Alexander Larsson <alexl@redhat.com>
3914 * gio/gdesktopappinfo.c:
3915 Implement the new mime support code.
3916 Always set app as handling mimetype when being set as default for it
3918 2007-10-01 Alexander Larsson <alexl@redhat.com>
3920 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3921 Fix up check for xattrs:
3923 2007-10-01 Alexander Larsson <alexl@redhat.com>
3926 (g_app_info_set_as_default_for_extension):
3927 (g_app_info_add_supports_type):
3928 (g_app_info_can_remove_supports_type):
3929 (g_app_info_remove_supports_type):
3930 Make these fail nicely if not implemented
3932 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3934 * gio/glocalfileoutputstream.c:
3935 * gio/glocalfileoutputstream.h:
3940 * programs/gio-save.c:
3941 Add a GFileCreateFlags argument to operations that can create
3944 2007-10-01 Alexander Larsson <alexl@redhat.com>
3946 * gio/gappinfo.[ch]:
3947 * gio/gdesktopappinfo.c:
3948 Add more (stubbed out) mime API needed for nautilus
3950 2007-10-01 Alexander Larsson <alexl@redhat.com>
3953 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3954 Add g_app_info_set_as_default_for_extension.
3956 * gio/gdesktopappinfo.c:
3957 Dummy for g_app_info_set_as_default_for_extension
3958 Support flags in g_app_info_create_from_commandline
3960 * gio/gwin32appinfo.c:
3962 Update for API changes
3964 * gio/gthemedicon.c:
3965 Properly NULL-terminate list of icon names
3967 2007-09-28 Alexander Larsson <alexl@redhat.com>
3969 * gio/gloadableicon.h:
3970 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3972 2007-09-28 Alexander Larsson <alexl@redhat.com>
3975 Install headers in $includedir/gio-standalone/
3977 * gio-2.0.pc.in: Added.
3978 * gio-standalone.pc.in: Removed.
3981 Renamed pkg-config file to match glib (for future move)
3982 Update to the new include dir
3985 Add more TODO comments
3987 2007-09-28 Alexander Larsson <alexl@redhat.com>
3989 * gio/gdesktopappinfo.[ch]:
3990 Expose new_from_filename
3991 Add getter for is_hidden and handle it better
3993 2007-09-28 Alexander Larsson <alexl@redhat.com>
3995 * gio/gfileinfo.[ch]:
3996 Rename g_file_size_format_for_display to
3997 g_format_file_size_for_display.
3998 Now it doesn't have the g_file prefix, so we
3999 can later move it to glib.
4001 2007-09-28 Alexander Larsson <alexl@redhat.com>
4003 * gio/gappinfo.[ch]:
4004 Add g_app_info_get_id and g_app_info_get_executable.
4005 Make all getters non-reffing
4006 Make g_app_info_launch take GFile arguments.
4007 Add must_support_uris argument to g_app_info_get_default_for_type.
4009 * gio/gwin32appinfo.c:
4010 Update to GAppInfo api changes
4012 * gio/gdesktopappinfo.c:
4013 Update to GAppInfo api changes
4014 Implement supports_xdg_startup_notify
4016 * gio/gfileicon.c (g_file_icon_get_file):
4017 Make getter non-reffing.
4022 2007-09-27 Alexander Larsson <alexl@redhat.com>
4024 * gio/gfileinfo.[ch]:
4025 Add g_file_size_format_for_display helper
4027 2007-09-27 Alexander Larsson <alexl@redhat.com>
4029 * gio/glocalfileinfo.c:
4030 Set UNIX_GID from gid, not from uid
4032 2007-09-27 Alexander Larsson <alexl@redhat.com>
4035 Add g_file_set_attributes_async
4037 2007-09-27 Alexander Larsson <alexl@redhat.com>
4039 * gio/glocalfile.c (g_local_file_set_display_name):
4040 Fix set_display_name to actually rename to the right place.
4041 Use lstat to look for existing files so we don't overwrite
4044 2007-09-26 Alexander Larsson <alexl@redhat.com>
4047 Add g_file_set_display_name_async()
4049 2007-09-26 Alexander Larsson <alexl@redhat.com>
4052 Add load_partial_contents async calls
4055 Make internal function static
4057 2007-09-26 Alexander Larsson <alexl@redhat.com>
4059 * gio/glocalfileinfo.c:
4060 Correctly detect broken symlinks
4062 2007-09-26 Alexander Larsson <alexl@redhat.com>
4064 * gio/gcancellable.c (g_cancellable_cancel):
4065 Allow cancel on NULL cancellable
4067 2007-09-25 Alexander Larsson <alexl@redhat.com>
4069 * gio/gsimpleasyncresult.c:
4070 Don't allocate g_error manually.
4071 Fixes g_slice/g_new mixup crash
4073 2007-09-25 Alexander Larsson <alexl@redhat.com>
4075 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4076 Actually set active_backend.
4077 This means the monitor will be cancelled correctly.
4079 2007-09-25 Alexander Larsson <alexl@redhat.com>
4081 * gio/gdirectorymonitor.c:
4082 Set timeout to NULL when destroying
4084 2007-09-25 Alexander Larsson <alexl@redhat.com>
4087 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4088 that is a better description of the error.
4090 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4092 * gio/gvfs.c: (g_vfs_get_local):
4093 Make the local vfs variable static. The same instance should
4096 2007-09-24 Alexander Larsson <alexl@redhat.com>
4098 * gio/glocalfileinfo.c:
4099 Pass in actual length read into sniffer, not the length
4102 2007-09-21 Alexander Larsson <alexl@redhat.com>
4104 * gio/gfileenumerator.c:
4107 * gio/gfileinputstream.c:
4108 * gio/gfileoutputstream.c:
4109 * gio/ginputstream.c:
4110 * gio/goutputstream.c:
4111 Don't crash if async callbacks are NULL
4113 2007-09-20 Alexander Larsson <alexl@redhat.com>
4116 Add async enumerate_children method and default
4119 2007-09-20 Alexander Larsson <alexl@redhat.com>
4122 Add g_file_contains_file & g_file_get_relative_path, since they
4123 were needed for nautilus.
4124 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4129 Implement new methods
4131 2007-09-17 Alexander Larsson <alexl@redhat.com>
4134 * gio/gfileinputstream.[ch]:
4135 * gio/gfileoutputstream.[ch]:
4137 * gio/glocalfileenumerator.[ch]:
4138 * gio/glocalfileinfo.[ch]:
4139 * gio/glocalfileinputstream.c:
4140 * gio/glocalfileoutputstream.c:
4141 * gio/gpollfilemonitor.c:
4142 * programs/gio-copy.c:
4143 * programs/gio-info.c:
4144 * programs/gio-move.c:
4145 Rename get_file_info to query_info() to make it clearer
4146 that these are not simple getters, but do i/o.
4148 2007-09-17 Alexander Larsson <alexl@redhat.com>
4150 * gio/gdatainputstream.[ch]:
4151 * gio/test-streams.c:
4152 Use _read_XXX instead of _get_XXX for the i/o calls
4155 2007-09-17 Alexander Larsson <alexl@redhat.com>
4158 Added needed stuff to TODO comment
4160 2007-09-17 Alexander Larsson <alexl@redhat.com>
4162 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4163 Don't error out removing the backup copy if it doesn't
4166 2007-09-14 Alexander Larsson <alexl@redhat.com>
4168 * programs/Makefile.am:
4169 * programs/gvfs-*.c:
4171 Renamed apps from gvfs-xxx to gio-xxx.
4173 2007-09-14 Alexander Larsson <alexl@redhat.com>
4176 * gio/gfileoutputstream.[ch]:
4177 * gio/glocalfileoutputstream.c:
4178 * programs/gvfs-save.c:
4179 g_file_output_stream_get_etag doesn't do i/o, so remove
4180 cancellation and error.
4182 2007-09-14 Alexander Larsson <alexl@redhat.com>
4185 Add new_etag output to replace_contents functions
4187 2007-09-14 Alexander Larsson <alexl@redhat.com>
4189 * gio/gfileoutputstream.[ch]:
4190 Add async get_file_info and default implementation
4192 2007-09-14 Alexander Larsson <alexl@redhat.com>
4194 * gio/gfileinputstream.c:
4195 Implement fallback wrapper for async get_file_info
4197 2007-09-14 Alexander Larsson <alexl@redhat.com>
4200 Add etag out argument to load_contents
4205 2007-09-14 Alexander Larsson <alexl@redhat.com>
4207 * gio/gcontenttype.c (looks_like_text):
4208 Whitespace like tab, cr and lf do not make the
4211 2007-09-14 Alexander Larsson <alexl@redhat.com>
4213 * gio/gfileinputstream.[ch]:
4214 Add async get_file_info.
4216 2007-09-13 Alexander Larsson <alexl@redhat.com>
4218 * gio/goutputstream.c (g_output_stream_write_all):
4219 Allow NULL for bytes_written
4221 2007-09-13 Alexander Larsson <alexl@redhat.com>
4223 * gio/gmemoryinputstream.[ch]:
4224 Add accessors for data
4226 2007-09-13 Alexander Larsson <alexl@redhat.com>
4228 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4229 Don't crash if length is NULL