1 2008-06-11 Matthias Clasen <mclasen@redhat.com>
3 * pltcheck.sh: We use g_clear_error now.
5 2008-06-11 Matthias Clasen <mclasen@redhat.com>
7 * glocalfile.c (g_local_file_enumerate_children): Revert
10 2008-06-11 Matthias Clasen <mclasen@redhat.com>
12 * gfile.c (g_file_replace_contents): Don't unref before the last use.
14 2008-06-10 Matthias Clasen <mclasen@redhat.com>
16 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
19 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
20 as icon for the desktop directory, also make user-home and
21 user-desktop the preferred icons.
23 2008-06-10 Matthias Clasen <mclasen@redhat.com>
26 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
27 to add a name to the front of the list.
29 2008-06-10 Matthias Clasen <mclasen@redhat.com>
31 Bug 537392 – Additional colon in xattr name
33 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
34 too. Reported by Alessandro Morandi
36 2008-06-10 Matthias Clasen <mclasen@redhat.com>
38 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
41 * glocalfile.c (get_fs_type): Add afs and autofs.
42 Patch by Danny Baumann.
44 2008-06-10 Matthias Clasen <mclasen@redhat.com>
46 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
48 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
49 is no parent. (Owen Taylor, patch by Christian Neumair)
51 2008-06-10 Paolo Borelli <pborelli@katamail.com>
53 * gfile.c (g_file_replace_contents): do not leak the output stream.
55 2008-06-10 Michael Natterer <mitch@imendio.com>
57 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
58 uninitialized memory as array index.
60 2008-06-10 Tor Lillqvist <tml@novell.com>
62 * gcontenttype.c (g_content_type_can_be_executable)
63 (g_content_type_get_icon) [Win32]: Add TODO comments.
65 2008-06-09 Matthias Clasen <mclasen@redhat.com>
67 * xdgmime/Makefile.am: Fix the build
69 2008-06-09 Matthias Clasen <mclasen@redhat.com>
71 * gcontenttype.c (g_content_type_get_icon): Use icons specified
72 in the shared mime database, if available.
74 * xdgmime/*: Sync with upstream. This brings support for
75 glob weights, generic icons, and changes the cache format to
78 2008-05-28 Michael Natterer <mitch@imendio.com>
80 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
81 the global CPPFLAGS now.
83 * tests/data-input-stream.c
84 * tests/data-output-stream.c
88 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
90 2008-05-27 Matthias Clasen <mclasen@redhat.com>
92 * === Released 2.17.0 ===
94 * tests/live-g-file.c: Clean up after the tests, so make distcheck
95 doesn't complain about leftover files.
97 2008-05-27 simon.zheng <simon.zheng@sun.com>
99 * glocalfile.c: (g_local_file_query_filesystem_info):
100 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
102 2008-05-26 Michael Natterer <mitch@imendio.com>
104 * gmemoryoutputstream.h: declare
105 g_memory_output_stream_get_data_size().
107 2008-05-26 Matthias Clasen <mclasen@redhat.com>
109 * tests/*: Make tests work
111 2008-05-26 Matthias Clasen <mclasen@redhat.com>
113 * gio.symbols: Add g_memory_output_stream_get_data_size.
115 2008-05-25 Ross Burton <ross@burtonini.com>
118 Fix typo in error message (#534764).
120 2008-05-25 Ross Burton <ross@burtonini.com>
123 Fix circular dependency loop for gioenumtypes.h (#534759).
125 2008-05-19 Hans Breuer <hans@breuer.org>
127 * Makefile.am : EXTRA_DIST += makefile.msc
129 2008-05-17 Matthias Clasen <mclasen@redhat.com>
132 * gcontenttype.c: (g_content_type_from_mime_type):
133 New function to create a content type from a mime type. (#527175,
136 2008-05-17 Matthias Clasen <mclasen@redhat.com>
138 Bug 532965 – Should not return filesystem::free for certain file systems
140 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
141 free space for ncpfs.
143 2008-05-17 Matthias Clasen <mclasen@redhat.com>
145 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
147 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
148 st_dev might be zero.
150 2008-05-16 Tor Lillqvist <tml@novell.com>
152 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
153 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
155 2008-05-13 Bastien Nocera <hadess@hadess.net>
157 * gfile.c (has_valid_scheme): A URI scheme must start with a
158 letter, even if later more characters are allowed (#532852)
160 2008-05-05 Michael Natterer <mitch@imendio.com>
162 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
163 code from being checked in that breaks the build of applications
164 which use G_DISABLE_SINGLE_INCLUDES.
166 * makegioalias.pl: make the alias file include "glib.h" instead of
169 * gio.symbols: whitespace change to force regeneration of the
170 alias file after above script change.
172 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
174 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
176 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
178 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
180 2008-04-28 David Zeuthen <davidz@redhat.com>
182 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
183 displaying mounts in a subdirectory not accessible to the
186 2008-04-22 Michael Natterer <mitch@imendio.com>
188 * Makefile.am: fix library versioning (it was 0.0.0).
190 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
192 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
193 Default disable all loggings.
194 * fen/fen-kernel.c: (printevent), (port_add_kevent),
195 (port_fetch_event_cb): Fixed two macro nits.
197 2008-04-16 Matthias Clasen <mclasen@redhat.com>
199 * xdgmime/xdgmime.c: Rework the timestamp checking code
200 to protect against duplicate directories in XDG_DATA_DIRS.
201 Fixes fd.o bug 12513, reported by Joe Shaw.
203 2008-04-16 Matthias Clasen <mclasen@redhat.com>
205 Partically revert the last commit after realizing that
206 xdg_mime_media_type_equal doesn't have to init at all.
209 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
211 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
213 2008-04-16 Matthias Clasen <mclasen@redhat.com>
215 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
216 reported by Joe Shaw and Federico Mena Quintero.
218 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
219 (xdg_mime_media_type_equal): Turn into a wrapper around the
222 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
223 functions throughout.
225 2008-04-16 Michael Meeks <michael.meeks@novell.com>
227 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
228 tolerate an empty TryExec= line without failing; nautilus used
229 to create launchers with these in previous versions. Fixes #528433
231 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
233 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
234 after name. Fixes #527132.
236 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
238 * gfile.c: (g_file_replace):
241 2008-04-07 Matthias Clasen <mclasen@redhat.com>
243 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
245 * gfile.c (file_copy_fallback): Fix the argument order. Patch
246 by Christian Kellner.
248 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
250 * gunixmounts.c: (g_unix_mount_guess_should_display):
251 Don't list the user directory as a mount, fix potential issue
252 when other users have a similar naming and don't special case the
253 gvfs mounts there since that's not required (#525866)
255 2008-03-31 Alexander Larsson <alexl@redhat.com>
257 * glocalfile.c (get_parent):
260 2008-03-31 A. Walton <awalton@svn.gnome.org>
262 * gfile.c (g_file_query_file_type):
263 Always return a GFileType enum value (#520715).
265 2008-03-31 Alexander Larsson <alexl@redhat.com>
267 * glocalfileenumerator.c:
268 Read readdir() info in chunks (of 1000) and sort
269 the chunks by inode before stat:ing.
270 This is a 20% performance increase in testing
271 gvfs-ls on /usr/bin with cold cache.
273 2008-03-31 Alexander Larsson <alexl@redhat.com>
275 * gmemoryoutputstream.c:
276 Clarify docs for g_memory_output_stream_get_size.
277 Add g_memory_output_stream_get_data_size.
279 2008-03-30 Matthias Clasen <mclasen@redhat.com>
283 * gfile.h: Add g_file_query_file_type convenience function
284 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
286 2008-03-30 Matthias Clasen <mclasen@redhat.com>
289 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
291 2008-03-28 A. Walton <awalton@svn.gnome.org>
293 * giomodule.c (_g_io_modules_ensure_loaded):
294 Adds GIO_EXTRA_MODULES environment variable support, closing bug
297 2008-03-28 Alexander Larsson <alexl@redhat.com>
300 (copy_stream_with_progress):
303 2008-03-28 Alexander Larsson <alexl@redhat.com>
306 (copy_stream_with_progress):
307 (file_copy_fallback):
308 Fallback to g_file_query_info for source size
309 if g_file_input_stream_query_info fails. (#524579)
311 2008-03-28 Alexander Larsson <alexl@redhat.com>
313 * glocalfile.c (g_local_file_move):
314 Reuse old string instead of adding new one.
316 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
318 * fen/*.[hc]: still copyright issue. I hate copyright.
320 2008-03-27 Alexander Larsson <alexl@redhat.com>
322 * glocalfile.c (g_local_file_move):
323 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
324 file over directory. This is according to the docs and what the move via
325 copy+remove fallback does.
327 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
329 * fen/*.[hc]: Updated copyright.
331 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
333 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
335 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
337 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
338 not emit attribute changed events when optimizing changed events.
339 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
342 2008-03-19 Matthias Clasen <mclasen@redhat.com>
344 * gmountoperation.[hc]: Small documentation additions
346 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
348 * gunixmounts.c: (guess_mount_type):
349 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
351 2008-03-19 Alexander Larsson <alexl@redhat.com>
354 (copy_stream_with_progress):
355 Bump block side for copy to 64k to minimize
356 overhead for low latency links. (#523015)
358 2008-03-16 Tor Lillqvist <tml@novell.com>
360 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
361 depend on gio.def on Windows.
363 2008-03-12 David Zeuthen <davidz@redhat.com>
367 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
369 2008-03-14 Alexander Larsson <alexl@redhat.com>
373 Avoid redudant tests (#521851)
374 Patch from Josselin Mouette
376 2008-03-14 Alexander Larsson <alexl@redhat.com>
379 (g_file_monitor_is_cancelled):
380 Fix C89 issue (#521672)
381 Patch from Jens Granseuer
383 2008-03-14 Alexander Larsson <alexl@redhat.com>
385 * fam/fam-helper.[ch]:
387 Shut down fam (including removing fam GSource) when
388 module is unloaded (#521513)
389 Patch from Joe Marcus Clarke
391 2008-03-14 Alexander Larsson <alexl@redhat.com>
394 (_g_io_modules_ensure_loaded):
397 2008-03-14 Alexander Larsson <alexl@redhat.com>
400 (g_local_file_query_filesystem_info):
401 Use right define name for f_fstypename member check
403 2008-03-14 Alexander Larsson <alexl@redhat.com>
406 * fen/Makefile.am: Added.
407 * fen/fen-data.[ch]: Added.
408 * fen/fen-dump.[ch]: Added.
409 * fen/fen-helper.[ch]: Added.
410 * fen/fen-kernel.[ch]: Added.
411 * fen/fen-missing.[ch]: Added.
412 * fen/fen-node.[ch]: Added.
413 * fen/fen-sub.[ch]: Added.
414 * fen/gfendirectorymonitor.[ch]: Added.
415 * fen/gfenfilemonitor.[ch]: Added.
417 Added Solaris FEN file notification backend.
418 Patch from Lin Ma <Lin.Ma@Sun.COM>
420 2008-03-13 Tor Lillqvist <tml@novell.com>
422 * Makefile.am: Actually use the gio.def file when linking the
423 library on Windows. Produce .lib library for Microsoft's toolchain
424 when possible. Install the .lib and .def file like for the other
427 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
429 * tests/live-g-file.c:
430 Include live-g-file in standard set of tests, making a temporary
431 directory in source structure.
433 Clean target directory before the tests (write mode only)
435 2008-03-12 Tor Lillqvist <tml@novell.com>
437 Bug 517419 - gio win32 directory monitor
438 Implementation by Vlad Grecescu.
441 * win32/gwin32directorymonitor.h
442 * win32/gwin32directorymonitor.c: New files.
444 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
446 * Makefile.am: Add the win32 subdirectory.
448 2008-03-12 Tor Lillqvist <tml@novell.com>
450 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
451 normal struct stat on Unix but struct _stati64 on Windows to have
452 access to 64-bit file size information. Use that instead of struct
453 stat in the functions declared here in this private header.
455 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
456 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
457 warnings about unused functions and variables. Don't set
458 meaningless attributes like inode numbers on Windows.
460 2008-03-12 Benjamin Otte <otte@gnome.org>
463 trim whitespace so gtk-doc groks the function name
465 2008-03-12 Tor Lillqvist <tml@novell.com>
467 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
468 returning FALSE, on Win32.
470 2008-03-11 Alexander Larsson <alexl@redhat.com>
473 * glocalfileinfo.[ch]:
474 Correctly implement can_trash by actually
475 looking for a trash dir, not just assuming
478 2008-03-10 Matthias Clasen <mclasen@redhat.com>
480 * === Released 2.16.1 ===
482 2008-03-11 Alexander Larsson <alexl@redhat.com>
485 Fix crashes in new constructor and properties code
487 2008-03-10 Murray Cumming <murrayc@murrayc.com>
489 * gfile.c: Minor spelling correction in documentation:
490 existance -> existence.
492 2008-03-10 Matthias Clasen <mclasen@redhat.com>
494 * === Released 2.16.0 ===
496 2008-03-10 Matthias Clasen <mclasen@redhat.com>
498 * gio.symbols: Remove g_file_contains_file here, too.
500 2008-03-10 Matthias Clasen <mclasen@redhat.com>
502 * gthemedicon.c: Add properties to make bindings happy. (#517676,
503 Samuel Cormier-Iijima)
505 2008-03-08 Tor Lillqvist <tml@novell.com>
507 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
510 2008-03-07 Alexander Larsson <alexl@redhat.com>
513 (g_local_file_query_filesystem_info):
514 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
515 Patch from Jasper Lievisse Adriaanse
517 2008-03-06 Tor Lillqvist <tml@novell.com>
519 * gfileinfo.h: Correct milliseconds to microseconds in the doc
520 comments for the *_USEC attributes.
522 2008-03-06 Alexander Larsson <alexl@redhat.com>
524 * gfile.c (g_file_query_exists):
525 Add g_return_val_if_fail check (#520700)
527 2008-03-06 Alexander Larsson <alexl@redhat.com>
532 * gunionvolumemonitor.c:
535 * tests/live-g-file.c:
536 * xdgmime/xdgmimecache.c:
537 Fix sparse warnings (#519489)
539 2008-03-05 Alexander Larsson <alexl@redhat.com>
542 Make cancellation threadsafe (i.e.
543 guarantee its only done once, and always
546 * glocaldirectorymonitor.c:
547 Make sure we the monitor lives while the
548 mounts_changed callback is being called (#520484)
550 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
552 * gbufferedinputstream.c: Fix typo in parameter
555 2008-03-04 Alexander Larsson <alexl@redhat.com>
558 Remove deprecated symbols we kept for one release.
560 2008-03-04 Murray Cumming <murrayc@murrayc.com>
563 * goutputstream.c: Tiny documentation corrections.
565 2008-03-03 Alexander Larsson <alexl@redhat.com>
567 * gunionvolumemonitor.c:
569 Fix the adopt_orphan_mount vfunc to take a
570 volume_monitor reference in an ABI compat way.
571 This change is not API compat, but the added
572 arg is not used in the only user of this vfunc, so
573 all we get is a harmless warning in gvfs (#520169)
575 2008-03-01 Benjamin Otte <otte@gnome.org>
578 clarify docs for g_file_delete().
580 2008-02-29 Alexander Larsson <alexl@redhat.com>
584 Make sure empty files get text/plain type (#518720)
586 2008-02-27 Alexander Larsson <alexl@redhat.com>
592 (g_unix_volume_mount):
593 Add missing GMountMountFlags argument
595 2008-02-26 Alexander Larsson <alexl@redhat.com>
598 (g_local_file_delete):
599 Handle filesystems (like ntfs-3g) that return EEXIST instead
600 of ENOTEMPTY (#518816)
602 2008-02-25 Matthias Clasen <mclasen@redhat.com>
604 * === Released 2.15.6 ===
606 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
608 * gfile.c (g_file_find_enclosing_mount):
609 * ginputstream.c (g_input_stream_set_pending):
610 * glocalfile.c (g_local_file_find_enclosing_mount):
611 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
612 * goutputstream.c (g_output_stream_set_pending):
614 Fixup translator comments (#518578).
616 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
618 * gfile.c (g_file_find_enclosing_mount):
620 * glocalfile.c (g_local_file_find_enclosing_mount):
623 Fix a few typos in translator comments and documentation.
625 2008-02-25 Alexander Larsson <alexl@redhat.com>
632 Add translator comments (#518578)
634 2008-02-25 Alexander Larsson <alexl@redhat.com>
637 Reintroduce g_file_contains_file, keep around for one
638 unstable release cycle to avoid crashing to many apps.
639 Make sure to delete after release.
641 2008-02-25 Alexander Larsson <alexl@redhat.com>
644 Remove deprecated g_file_contains_file.
646 2008-02-25 Alexander Larsson <alexl@redhat.com>
649 Emit actual change signals in an idle handler.
650 This avoids reentrance and locking problems in
651 the file notification backends.
653 2008-02-25 Alexander Larsson <alexl@redhat.com>
656 (g_unix_mount_guess_should_display):
657 Remove type guessing, instead just display
658 mounts in /media and in ~/.
660 2008-02-25 Alexander Larsson <alexl@redhat.com>
663 Make new strings reuse old ones.
665 2008-02-25 Alexander Larsson <alexl@redhat.com>
668 Implement trashing and filesystem::readonly for win32 (#517235)
669 Patch from Yevgen Muntyan
671 2008-02-23 Matthias Clasen <mclasen@redhat.com>
673 * gfileinfo.h: Documentation fixes.
675 2008-02-22 Alexander Larsson <alexl@redhat.com>
677 * gcontenttype.c (g_content_type_get_icon):
678 Look at old-style gnome mime icon names too, as many
679 have not moved to the new style.
681 2008-02-21 Matthias Clasen <mclasen@redhat.com>
683 * *.c: Correct the @include in for section docs.
685 2008-02-21 David Zeuthen <davidz@redhat.com>
687 * glocalfileinfo.c: (_g_local_file_info_get):
689 (g_content_type_get_icon): Implement this function by
690 moving bits from glocalfileinfo.c
691 (g_content_type_get_description): Unalias before getting
692 description (#517687)
694 * gfile.c: (g_file_class_init),
695 (g_file_query_filesystem_info_async),
696 (g_file_query_filesystem_info_finish),
697 (query_filesystem_info_data_free),
698 (query_filesystem_info_async_thread),
699 (g_file_real_query_filesystem_info_async),
700 (g_file_real_query_filesystem_info_finish):
701 * gfile.h: Implement async version of
702 g_file_query_filesystem_info()
704 * gfileinfo.h: Add new attributes for filesystem::use-preview
706 * gio.symbols: Update
708 * gthemedicon.c: (g_themed_icon_append_name):
709 * gthemedicon.h: Add new new convenience function.
711 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
712 (get_mounts), (get_volumes), (get_connected_drives),
713 (get_volume_for_uuid), (get_mount_for_uuid),
714 (g_union_volume_monitor_init), (populate_union_monitor),
715 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
716 (g_volume_monitor_adopt_orphan_mount):
718 * gvolumemonitor.h: Use recursive locks so it's safe for volume
719 monitor implementations to call into the main volume monitor. Also
720 separate object initialization and volume monitor initialization
721 such that non-native volume monitors can properly adopt their
724 2008-02-21 Alexander Larsson <alexl@redhat.com>
729 2008-02-21 Alexander Larsson <alexl@redhat.com>
732 Add more documentation about how GFiles work (from #517086)
734 2008-02-21 Alexander Larsson <alexl@redhat.com>
738 Add new g_file_has_prefix that does the same as g_file_contains_file.
739 Deprecate g_file_contains_file and add a macro that converts
740 it to g_file_has_prefix.
741 The reason for this change is that the contains_file() name seems to
742 imply that this does more work than what it does, but its really only
743 a name match (from #517086)
748 Update to match the above change.
750 2008-02-20 Benjamin Otte <otte@gnome.org>
752 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
753 (g_file_eject_mountable):
754 even more cases of not returning in error path
756 2008-02-20 Benjamin Otte <otte@gnome.org>
758 * gfile.c: (g_file_mount_mountable):
759 return from function in error path.
761 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
764 Remove trailing coma in GMountMountFlags struct
766 2008-02-18 Alexander Larsson <alexl@redhat.com>
770 * glocalfileoutputstream.c:
771 Use g_unlink/g_rename instead of unlink/rename;
772 do not pass raw filenames to g_set_error. (#517239)
773 Patch from Yevgen Muntyan.
775 2008-02-18 Alexander Larsson <alexl@redhat.com>
778 * glocalfileoutputstream.c:
779 Open files with O_BINARY on windows. (#517140)
781 2008-02-14 Alexander Larsson <alexl@redhat.com>
783 * glocalfileoutputstream.c:
784 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
786 2008-02-14 Alexander Larsson <alexl@redhat.com>
789 Copy permissions with file on copy (#514084)
790 This is what cp does and makes sure e.g. the
791 exec permissions are kept.
792 Its kinda weird in that it keeps the permission bits
793 the same while the uid and gid are different. However
794 the new uid is the user so its not a security issue,
795 and I've heard no complaints about cp on this issue.
797 2008-02-13 Ryan Lortie <desrt@desrt.ca>
799 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
801 2008-02-13 Alexander Larsson <alexl@redhat.com>
803 * inotify/inotify-path.c:
804 Define IN_ONLYDIR if not in header (#515346)
806 2008-02-12 Alexander Larsson <alexl@redhat.com>
808 * tests/live-g-file.c:
811 2008-02-11 Matthias Clasen <mclasen@redhat.com>
813 * === Released 2.15.5 ===
815 2008-02-11 Matthias Clasen <mclasen@redhat.com>
817 * gio.symbols: Add g_mount_mount_flags_get_type.
819 2008-02-11 Alexander Larsson <alexl@redhat.com>
822 (g_file_info_set_attribute_mask):
823 (g_file_attribute_matcher_matches_id):
824 Correctly handle NULL GAttributeMatcher meaning
825 matches nothing. (Fixes #513492)
827 2008-02-11 Alexander Larsson <alexl@redhat.com>
832 Added GMountMountFlags enum and added a flags
833 argument to all mount calls.
835 This is an API/ABI change for future extensibility,
836 as I think we will need at least an
837 inhibit-autorun flag (the panel needs this).
838 There are no flags defined yet though.
840 2008-02-11 Alexander Larsson <alexl@redhat.com>
843 Added new standard::description attribute.
844 Requested by Vincent, and useful for both
847 2008-02-11 Alexander Larsson <alexl@redhat.com>
852 2008-02-11 Matthias Clasen <mclasen@redhat.com>
854 * *.c: Documentation additions
856 2008-02-10 Matthias Clasen <mclasen@redhat.com>
858 * gappinfo.h: Formatting cleanup
859 * gappinfo.c: Fix up docs.
861 2008-02-09 Matthias Clasen <mclasen@redhat.com>
863 * gunixmounts.c: Consistently use getmntent_r() and fall
864 back to getmntent(). (#515492)
866 2008-02-09 Matthias Clasen <mclasen@redhat.com>
868 * gbufferedinputstream.c:
870 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
872 * tests/data-input-stream.c:
873 * tests/data-output-stream.c: Portability fixes.
875 2008-02-08 Alexander Larsson <alexl@redhat.com>
880 Add g_volume_should_automount.
883 2008-02-07 Tor Lillqvist <tml@novell.com>
885 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
886 Win32, too Unix-specific.
888 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
890 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
891 a local plt if the compiler doesn't support what we want. Bug #514702
893 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
895 reviewed by: <delete if not using a buddy>
898 * gunixinputstream.c:
899 * gunixoutputstream.c:
901 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
904 * tests/live-g-file.c:
905 * tests/live-g-file.txt:
906 New GIO testing module working over real data
908 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
910 * glocalfileoutputstream.c (g_local_file_output_stream_close):
911 Fallback to rename() if link() is not available
912 (when no support on target filesystem)
914 2008-02-06 Michael Natterer <mitch@imendio.com>
916 * gfileinfo.c (g_file_info_get_icon): replace
917 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
919 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
921 * gfile.c (g_file_create):
922 Documentation update of error codes
924 2008-02-06 Alexander Larsson <alexl@redhat.com>
927 Update to use both mimeapps.list and
928 defaults.list as discussed on xdg list.
930 2008-02-06 Benjamin Otte <otte@gnome.org>
933 * gfilenamecompleter.c:
934 Fix some typos in the documentation.
936 2008-02-06 Alexander Larsson <alexl@redhat.com>
938 * glocalfile.c (g_local_file_trash):
939 Don't succeed with trash if newly created
940 trash dir has the wrong owner. (#514696)
942 2008-02-05 Alexander Larsson <alexl@redhat.com>
944 * glocalfile.c (g_local_file_move):
945 Don't spew warnings when destination is not
948 2008-02-03 Hans Breuer <hans@breuer.org>
950 * makefile.msc : update
952 2008-02-01 Michael Natterer <mitch@imendio.com>
954 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
955 return value of xdg_mime_list_mime_parents() to a variable of the
958 2008-02-01 Alexander Larsson <alexl@redhat.com>
960 * gappinfo.c (g_app_info_launch_uris):
961 Actually call the launch_uris method, not
964 2008-02-01 Alexander Larsson <alexl@redhat.com>
966 * gdesktopappinfo.c (g_desktop_app_info_equal):
967 Ensure appinfos with no id but same pointer value
970 2008-02-01 Alexander Larsson <alexl@redhat.com>
972 * gappinfo.c (g_app_info_launch_default_for_uri):
975 2008-02-01 Alexander Larsson <alexl@redhat.com>
979 Add g_app_info_launch_default_for_uri utility
982 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
985 Doc fix for g_app_info_get_default_for_uri_scheme ()
988 2008-01-30 Alexander Larsson <alexl@redhat.com>
991 Add doc comment about uris vs GFiles to
995 Ensure uris passed to g_app_info_launch_uris()
996 are not roundtriped through GFile (as that
997 may be slightly destructive for e.g. mailto: links)
999 2008-01-30 Alexander Larsson <alexl@redhat.com>
1001 * tests/data-input-stream.c:
1002 * tests/data-output-stream.c:
1003 C89 fixes from Jens Granseuer (#512849)
1005 2008-01-30 Alexander Larsson <alexl@redhat.com>
1008 Fix gamin/fam difference build issue. (#509419)
1010 2008-01-29 Alexander Larsson <alexl@redhat.com>
1013 * gdesktopappinfo.c:
1014 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1016 2008-01-29 Alexander Larsson <alexl@redhat.com>
1018 * gdesktopappinfo.c:
1019 * gdesktopappinfo.h:
1020 giomodule-priv.h include moved to .c file.
1022 2008-01-29 Alexander Larsson <alexl@redhat.com>
1024 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1025 Remove unused prio/name fields.
1027 2008-01-29 Alexander Larsson <alexl@redhat.com>
1029 * gcontenttype.c (looks_like_text):
1030 Don't treat whitespace as control chars.
1032 2008-01-29 Alexander Larsson <alexl@redhat.com>
1034 * gdesktopappinfo.c:
1035 Lazily create the desktop files for appinfos created
1036 by g_app_info_create_from_commandline() when needed
1037 for mime associations. This allows run-time use
1038 of GAppInfo object without creating unnecessary
1041 2008-01-29 Alexander Larsson <alexl@redhat.com>
1044 Added new symbols to gio.symbols
1046 2008-01-29 Alexander Larsson <alexl@redhat.com>
1049 Add g_file_query_default_handler utility to easily look up
1050 the GAppInfo that handles a file.
1052 * gdesktopappinfo.[ch]:
1054 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1057 Remove unused function
1059 2008-01-29 Alexander Larsson <alexl@redhat.com>
1061 * gfileenumerator.c:
1062 Mention need to free returned value in
1063 g_file_enumerator_next_files_finish docs.
1064 Fix leak if g_file_enumerator_next_files_finish()
1067 2008-01-29 Alexander Larsson <alexl@redhat.com>
1070 (_g_unix_content_type_get_parents):
1071 Use list_parents, not get_parents from xdgmime, because
1072 the later doesn't use the cache.
1074 * xdgmime/xdgmimecache.c:
1075 (_xdg_mime_cache_list_mime_parents):
1076 Don't list the same type as parent multiple times.
1078 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1080 * === Released 2.15.4 ===
1082 2008-01-28 Alexander Larsson <alexl@redhat.com>
1085 Register local vfs with prio 0.
1088 Remove old name and prio class members
1090 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1092 * tests/g-file.c: Disable some tests that are failing in
1093 the absence of a http backend.
1095 2008-01-28 Alexander Larsson <alexl@redhat.com>
1099 Add registration hooks for extension points.
1100 Register the gio extension points.
1102 * fam/gfamdirectorymonitor.c:
1103 * fam/gfamfilemonitor.c:
1104 * glocaldirectorymonitor.[ch]:
1105 * glocalfilemonitor.[ch]:
1106 * gnativevolumemonitor.h:
1107 * gunionvolumemonitor.c:
1108 * gunixvolumemonitor.c:
1111 * inotify/ginotifydirectorymonitor.c:
1112 * inotify/ginotifyfilemonitor.c:
1113 Use the extension points registration instead
1114 of g_type_children().
1116 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1119 * gvolume.[hc]: Document new API.
1121 * gfile.c (g_file_copy_async): Fix docs
1123 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1125 * gbufferedinputstream.c:
1127 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1130 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1132 * glocalfile.c: Avoid trivial differences in translatable strings.
1134 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1136 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1137 build with gcc 3.4 (#509419)
1139 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1141 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1142 (#509994, Murray Cumming)
1144 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1146 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1147 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1148 this allows big jobs to be executed in chunks, instead of blocking
1149 the main loop for a long time.
1151 * gsimpleasyncresult.c:
1152 * giofile.c: Adapt callers.
1154 2008-01-25 Alexander Larsson <alexl@redhat.com>
1156 * gdesktopappinfo.c:
1157 Implement changes discussed on xdg list.
1158 Now we can add supported mimetypes by just using defaults.list
1159 We can also remove associations in defaults.list.
1161 2008-01-25 Alexander Larsson <alexl@redhat.com>
1163 * gdesktopappinfo.c:
1164 Don't make local copy of desktop file
1165 for mimetype changes if the file already
1166 supports the new mimetype.
1168 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1172 * gbufferedinputstream.c:
1173 * glocalfile.c: String improvements. (#511966,
1174 Theppitak Karoonboonyanan)
1176 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1178 * gioscheduler.h: Expand docs a bit.
1180 2008-01-24 Alexander Larsson <alexl@redhat.com>
1183 Add g_drive_get_identifier and
1184 g_drive_enumerate_identifiers
1187 Add g_volume_get_identifier and
1188 g_volume_enumerate_identifiers
1194 Implement identifiers for unix backend
1196 2008-01-24 Alexander Larsson <alexl@redhat.com>
1201 Add g_file_copy_async() (#511580)
1202 Based on patch from Carlos Garcia Campos
1204 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1206 * gioscheduler.c: Some documentation additions.
1208 2008-01-22 Alexander Larsson <alexl@redhat.com>
1210 * gdesktopappinfo.c:
1211 (g_desktop_app_info_new):
1212 Don't leak basename.
1214 2008-01-22 Alexander Larsson <alexl@redhat.com>
1216 * gdesktopappinfo.c:
1217 (g_desktop_app_info_new_from_filename):
1220 2008-01-22 Alexander Larsson <alexl@redhat.com>
1222 * glocalfileinfo.c (get_thumbnail_attributes):
1225 2008-01-22 Alexander Larsson <alexl@redhat.com>
1228 (canonicalize_filename):
1229 Canonicalize paths that start with more than
1233 (compare_two_files):
1234 (test_g_file_new_for_path):
1237 2008-01-22 Alexander Larsson <alexl@redhat.com>
1240 Allow UTF-8 in file:// parse names.
1242 * tests/Makefile.am:
1243 * tests/data-input-stream.c:
1244 * tests/data-output-stream.c:
1245 * tests/g-file-info.c:
1247 Added a bunch of tests from Tomas Bzatek
1249 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1251 * === Released 2.15.3 ===
1253 2008-01-21 Alexander Larsson <alexl@redhat.com>
1255 * gfileinputstream.[ch]:
1256 * gfileoutputstream.[ch]:
1258 Remove duplicated GSeekable functions. (#509990)
1259 Just use the g_seekable_xxx() calls instead.
1261 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1264 * gvolumemanager.c: Whitespace cleanups.
1266 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1267 Use the right mode when creating the file.
1269 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1271 * gfileenumerator.c:
1272 * gfileinputstream.c:
1274 * goutputstream.c: Documentation: Fixed minor typos
1275 and added more mentions of specific _finish() functions.
1277 2008-01-21 Alexander Larsson <alexl@redhat.com>
1279 * inotify/Makefile.am:
1280 * inotify/inotify-helper.c:
1281 * inotify/inotify-kernel.c:
1282 * inotify/inotify-path.c:
1283 * inotify/local_inotify.h: Removed.
1284 * inotify/local_inotify_syscalls.h: Removed.
1285 Removed the included copies of the inotify
1286 headers. We now only use the <sys/inotify.h>
1287 header which exists on modern systems.
1288 This fixes problems on ARM and SH5 (#510448)
1289 but is also generally much cleaner and future
1290 safe. For instance, if other OSes add support
1291 for inotify it should "just work".
1293 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1295 * inotify/*.c: Coding style fixes.
1296 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1297 for the 1/4 Hz timer.
1299 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1302 * gfilemonitor.[hc]:
1303 * gmemoryinputstream.c:
1304 * gmemoryoutputstream.c:
1305 * gmountoperation.c:
1306 * gthemedicon.c: Documentation updates
1308 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1310 * gfile.c: documentation: Fixed more minor
1313 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1315 * gmount.c: (g_mount_remount): documentation:
1316 Mention g_mount_remount_finish() instead of
1317 g_mount_unmount_finish().
1319 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1323 * gfile.c: Fixed some minor typos in the
1326 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1328 * gio/gvolumemonitor.c:
1329 (g_volume_monitor_get_connected_drives):
1330 (g_volume_monitor_get_volumes):
1331 (g_volume_monitor_get_mounts): Documentation:
1332 Clarify the ownership of the regurn GLists.
1334 2008-01-17 Alexander Larsson <alexl@redhat.com>
1337 Add the async find_enclosing_mount version
1338 to the header file too.
1340 2008-01-17 Alexander Larsson <alexl@redhat.com>
1343 Add async version of find_enclosing_mount
1344 with default implementation.
1346 2008-01-17 Alexander Larsson <alexl@redhat.com>
1351 Allow calls to implementation of copy and write
1352 even if the type of the file implementations is
1353 different. This can be used to implement native
1354 upload and download calls in a vfs.
1357 (g_local_file_move):
1358 Protect against the case where move is called
1359 with one file not being local.
1361 Make sure we call the progress callback once
1362 in the native move operation so that the caller
1363 knows how many bytes were copied.
1365 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1368 * gdatainputstream.c:
1370 * gfileoutputstream.c:
1375 * gunixmounts.c: Corrected some typos in the documentation:
1376 occured -> occurred.
1377 its -> it's (where appropriate).
1379 2008-01-16 Alexander Larsson <alexl@redhat.com>
1383 Add g_file_query_exists (#508771)
1385 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1390 * gvolume.c: For async functions that have no non-async
1391 version, document that the GAsyncReadyCallback may be NULL.
1394 2008-01-15 Alexander Larsson <alexl@redhat.com>
1396 * gmemoryinputstream.c:
1397 * gmemoryoutputstream.c:
1398 Don't do pointer arithmetic on void * (#508602)
1399 Patch from Kazuki IWAMOTO
1401 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1403 * === Released 2.15.2 ===
1405 2008-01-14 Alexander Larsson <alexl@redhat.com>
1407 * gfile.c (g_file_monitor_file):
1408 Don't set error here, since we fallback to polling monitor.
1410 2008-01-14 Alexander Larsson <alexl@redhat.com>
1413 (g_file_monitor_directory):
1414 (g_file_monitor_file):
1415 Add GError to file monitor calls
1417 * glocaldirectorymonitor.c:
1418 * glocaldirectorymonitor.h:
1420 * glocalfilemonitor.c:
1421 * glocalfilemonitor.h:
1423 Update for above change
1425 2008-01-14 Alexander Larsson <alexl@redhat.com>
1429 Handle root correctly in g_file_get_relative_path (#508719)
1431 2008-01-14 Alexander Larsson <alexl@redhat.com>
1434 Clean up docs and example for GAsyncResult (#508074)
1436 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1438 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1439 and correct some spelling mistakes. Bug #508108.
1441 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1443 * glocalfileinfo.c: Add a comment.
1445 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1447 * gfileinfo.c: GFileInfo description: Mention
1448 how to actually set attributes in a GFile and how to discover
1449 which attributes are settable. Bug #508378.
1451 2008-01-10 A. Walton <awalton@svn.gnome.org>
1453 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1454 (g_app_info_get_default_for_type):
1455 Check for NULL content types.
1457 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1459 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1461 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1463 * gfile.c: *_async() functions: Several small corrections
1464 to the documentation, mostly correcting copy/paste errors
1465 and improving some sentences.
1467 2008-01-09 Dan Winship <danw@gnome.org>
1469 * glocalfile.c (get_unique_filename): x86_64 fix
1471 2008-01-09 Alexander Larsson <alexl@redhat.com>
1476 Add g_unix_mount_guess_should_display and use
1477 for unix volume monitor backend.
1478 This means we more or less show what the
1479 gnome-vfs backend did.
1480 Based on patch from Padraig O'Briain
1482 2008-01-09 Alexander Larsson <alexl@redhat.com>
1486 Add g_themed_icon_new_with_default_fallbacks
1489 Use default fallbacks for icons
1491 2008-01-09 Alexander Larsson <alexl@redhat.com>
1494 * gmountoperation.[ch]:
1495 Change the API a bit so that unhandled methods
1496 get reported via the reply, rather than by
1497 the signal emission return value. This is because
1498 some handlers can't know this immediately without
1499 doing I/O, and this is an async operation that
1502 2008-01-09 Alexander Larsson <alexl@redhat.com>
1505 * fam/gfamdirectorymonitor.c:
1506 * fam/gfamfilemonitor.c:
1507 Fix double free crash (#508224)
1508 Patch from Joe Marcus Clarke
1510 008-01-07 Matthias Clasen <mclasen@redhat.com>
1512 * === Released 2.15.1 ===
1514 2008-01-07 Alexander Larsson <alexl@redhat.com>
1516 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1517 Fix warning (#507835)
1519 2008-01-07 Alexander Larsson <alexl@redhat.com>
1522 Pass --internal to glib-genmarshal
1525 * gmountoperation.c:
1527 Use better types for signal arguments (#507822)
1529 2008-01-07 Alexander Larsson <alexl@redhat.com>
1532 Build test subdir after .
1533 Remove gdirectorymonitor.[ch]
1535 * gdirectorymonitor.[ch]:
1539 Remove GDirectoryMonitor and make
1540 GFileMonitor the baseclass for both file and
1541 directory monitors. Lift the more generic
1542 rate limiting code from GDirectoryMonitor
1546 * fam/gfamdirectorymonitor.[ch]:
1547 * inotify/ginotifydirectorymonitor.[ch]:
1548 * inotify/inotify-helper.c:
1549 * glocaldirectorymonitor.[ch]:
1552 Update for the removed GDirectoryMonitor.
1554 * gmemoryoutputstream.c:
1555 Remove ununsed variable
1557 2008-01-07 Alexander Larsson <alexl@redhat.com>
1559 * gmemoryinputstream.c:
1560 Translate error strings
1563 * gmemoryoutputstream.[ch]:
1564 New implementation that avoids using GByteArray
1565 in implementation and API. (#506377)
1567 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1569 * tests/*: Add a test for memory input streams.
1571 * Makefile.am: Add tests to SUBDIRS.
1573 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1575 * glocalfilemonitor.c:
1576 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1579 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1581 * gdesktopappinfo.c: Fix a docs typo.
1583 * gfileattribute.c: Add information about extended attributes
1584 to the documentation. (#505058)
1586 2008-01-04 Alexander Larsson <alexl@redhat.com>
1589 * gmountoperation.c:
1590 Use the right type (uint) for the ask_password signal.
1592 2008-01-04 Alexander Larsson <alexl@redhat.com>
1597 Add g_app_info_supports_files()
1598 Remove desktop arg from g_app_info_should_show().
1600 * gdesktopappinfo.[ch]:
1601 Implement g_app_info_supports_files() and new should_show()
1602 Add g_desktop_app_info_set_desktop_env() to set the desktop
1603 for should_show(). (This will be set by gtk+ later)
1605 2008-01-04 Alexander Larsson <alexl@redhat.com>
1608 * gmemoryinputstream.[ch]:
1609 Improve API so that you can use multiple chunks
1610 of memory and custom destroy functions. (#506374)
1612 2008-01-03 Alexander Larsson <alexl@redhat.com>
1615 Handle NULL attribute matchers safely, as we return this
1616 for empty attribute matcher strings.
1618 2008-01-03 Alexander Larsson <alexl@redhat.com>
1620 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1621 Add /usr/local to list of internal mountpoints
1623 2008-01-03 Alexander Larsson <alexl@redhat.com>
1626 Check for HAVE_LCHOWN (#505887)
1628 2008-01-03 Alexander Larsson <alexl@redhat.com>
1632 Add define for selinux context attribute.
1633 Fix missing : -> :: namespace separator change
1634 Fix missing _ -> - name change for xattr-sys.
1637 2008-01-03 Alexander Larsson <alexl@redhat.com>
1640 Link to libglib and libgobject directly (#504879)
1641 Patch from Sebastien Bacher
1643 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1645 * gfile.c: Expanded the g_file_new_for_commandline_arg
1646 description a bit, based on the code and the docs of the
1647 other g_file_new_for_* functions.
1649 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1651 * gfilemonitor.h: Fixed typo in docs.
1653 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1655 Updates to GIO documentation. (#506395, Mikael Hermansson)
1657 * gcontenttype.c: Describe memory management for return value of
1658 g_content_types_get_registered(). Missing piece from #505815.
1659 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1660 GVolume, GDrive, GMounts, which hopefully gives the user less
1661 confusions when using this API. Following explainations from
1662 Alexander Larsson on gtk-devel-list.
1664 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1666 * gfileinfo.c: Expand the long description.
1668 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1671 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1672 fix builds with --disable-visibility. (#500273, Christian Persch)
1674 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1676 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1677 in the list of returned app infos.
1679 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1681 * gappinfo.c: Fix a cross-reference
1683 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1685 * gfileinputstream.c:
1686 * gfileoutputstream.c:
1690 * gdesktopappinfo.c:
1692 * gfileinfo.c: Documentation updates.
1694 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1696 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1699 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1701 * gcontenttype.c (g_content_types_get_registered): Don't return
1702 freed memory (#505815, Mikael Hermansson)
1704 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1706 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1707 used to detect statbuf->st_blocks. (#505042)
1709 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1711 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1712 environment handling. (#504829, Cosimo Cecchi)
1714 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1716 * gappinfo.c: Doc improvements
1718 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1721 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1723 * === Released 2.15.0 ===
1725 2007-12-20 Hans Breuer <hans@breuer.org>
1727 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1728 with symbols gwin32appinfo.obj, added gmount.obj
1729 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1731 2007-12-20 Alexander Larsson <alexl@redhat.com>
1737 * gfilenamecompleter.c:
1740 * gpollfilemonitor.c:
1741 File attribute renames:
1743 fs:: -> filesystem::
1744 id::fs -> id::filesystem
1746 2007-12-20 Alexander Larsson <alexl@redhat.com>
1755 Add GMountUnmountFlags to all unmount and
1757 Add g_mount_remount() call.
1759 2007-12-20 Alexander Larsson <alexl@redhat.com>
1761 * gvfs.c (get_default_vfs):
1762 Fix unused variable warning
1764 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1766 * pltcheck.sh: Update
1768 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1770 * gunionvolumemonitor.c:
1771 * gunixmount.c: Remove C99 comments
1773 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1775 * gio.symbols: Add some missing symbols
1777 2007-12-19 Alexander Larsson <alexl@redhat.com>
1780 Make g_io_modules_load_all_in_directory not unuse
1781 loaded modules so that users of it can do stuff
1783 Init internal "module" types.
1784 Initialize static prio and name for types so that
1785 we don't have to load modules to get it.
1787 * gnativevolumemonitor.h:
1789 Move is_supported to parent class so that
1790 non-native monitors can avoid being initialized
1791 too. (For instance GDaemonVolumeMonitor if we're
1792 not using GDaemonVfs.)
1794 * glocaldirectorymonitor.[ch]:
1795 * glocalfilemonitor.[ch]:
1796 * gunionvolumemonitor.c:
1797 * gunixvolumemonitor.c:
1799 Find plugins using the static prio+name to
1800 avoid unnecessarily loading the modules.
1802 2007-12-19 Alexander Larsson <alexl@redhat.com>
1807 2007-12-19 Alexander Larsson <alexl@redhat.com>
1809 * gunionvolumemonitor.c:
1810 Store the native type as GType, not class so that
1811 we can unload it. But still avoid unnecessarily
1814 2007-12-19 David Zeuthen <davidz@redhat.com>
1816 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1817 add signals 'disconnected' and 'eject-button' on GDrive. Add
1818 signal 'removed' on GVolume and 'unmounted' on GMount.
1820 * gdrive.c: (g_drive_base_init):
1822 * gfile.c: (g_file_mount_mountable),
1823 (g_file_mount_enclosing_volume):
1826 * gmount.c: (g_mount_base_init):
1828 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1829 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1830 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1834 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1836 * *.c: Fix up includes in the section docs.
1838 2007-12-17 Alexander Larsson <alexl@redhat.com>
1840 * gnativevolumemonitor.h:
1841 * gunionvolumemonitor.c:
1842 * gunixvolumemonitor.c:
1843 Add is_supported() to GNativeVolumeMonitorClass so
1844 that we can avoid having to create an object to see
1845 if the backend is supported at runtime.
1846 Also add name member and an env var to pick a specific
1847 volume monitor backend.
1851 Add cancellable to _g_mount_get_for_mount_path()
1853 * glocaldirectorymonitor.c:
1854 * glocalfilemonitor.c:
1855 Avoid loading and unloading modules while sorting.
1857 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1860 * gunixmounts.[hc]: Namespace waste reduction, move some
1861 g_get_unix_mount functions to the g_unix_mount namespace.
1864 * gunixvolumemonitor.c:
1866 * glocaldirectorymonitor.c: Update all callers.
1868 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1870 2007-12-17 Alexander Larsson <alexl@redhat.com>
1873 Add doc comments about what GFile operations are
1874 guaranteed to not block.
1876 2007-12-17 Alexander Larsson <alexl@redhat.com>
1879 Add missing #ifdef fixing OSX build.
1880 (#503334, patch from Richard Hult)
1882 2007-12-14 David Zeuthen <davidz@redhat.com>
1886 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1887 (g_mount_eject), (g_mount_eject_finish):
1889 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1890 (get_volume_for_uuid), (get_mount_for_uuid),
1891 (g_union_volume_monitor_class_init),
1892 (get_default_native_type_with_exclude), (get_default_native_type),
1893 (get_native_type), (update_native_type),
1894 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1895 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1896 (g_unix_mount_can_eject), (eject_unmount_cb),
1897 (eject_unmount_read_error), (eject_unmount_do),
1898 (g_unix_mount_unmount), (g_unix_mount_eject),
1899 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1900 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1901 (g_unix_mount_point_guess_can_eject):
1903 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1904 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1905 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1906 (g_unix_volume_mount), (g_unix_volume_eject),
1907 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1908 * gunixvolumemonitor.c: (get_volume_for_uuid),
1909 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1911 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1912 (g_volume_eject), (g_volume_eject_finish):
1914 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1915 (g_volume_monitor_get_mount_for_uuid):
1918 Provide eject() on both GMount and GVolume and utility functions
1919 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1920 ejected. Introduce the concept of UUID's and wire it into GVolume
1921 and GMount and provide API on GVolumeMonitor to find such
1922 instances. Also handle the case where an external
1923 GNativeVolumeMonitor fails to initialize. Lock around the
1924 _g_get_mount_for_mount_path() function such that volume monitor
1925 implementations won't have to do locking themselves.
1927 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1929 * gdesktopappinfo.c:
1935 * gvolume.h: Documentation updates
1937 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1940 * gfile.h: Doc updates
1942 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1945 * gdesktopappinfo.c: Use hash table iterators.
1947 2007-12-14 Alexander Larsson <alexl@redhat.com>
1950 * gfileattribute.[ch]:
1951 * gfileattribute-priv.h:
1952 Move GFileAttributeValue to a private header, as
1956 Make set_attribute take a type + a pointer instead
1957 of a GFileAttributeValue.
1960 Fix up for above changes.
1961 Add g_file_info_get_attribute_data to get
1962 all info in one call, g_file_info_get_attribute_status
1963 to get the status and g_file_info_get_attribute_as_string.
1967 * glocalfileinfo.[ch]:
1971 Make _guess_type static.
1973 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1976 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1977 made mkenums and friends use temporary files to avoid leaving
1978 empty generated files on failure (#503470).
1980 2007-12-14 Alexander Larsson <alexl@redhat.com>
1982 * gmountoperation.h:
1985 2007-12-14 Alexander Larsson <alexl@redhat.com>
1989 * gfileattribute.[ch]:
1992 * glocalfileoutputstream.c:
1993 * gmountoperation.[ch]:
1994 * goutputstream.[ch]:
1995 Clean up all flags enums to not have _FLAGS in them
1996 Make the names of some of the enums better.
2001 2007-12-14 Michael Natterer <mitch@imendio.com>
2003 * gio.symbols: fix g_io_scheduler symbol names.
2005 2007-12-14 Alexander Larsson <alexl@redhat.com>
2011 * gbufferedinputstream.h:
2012 * gbufferedoutputstream.h:
2015 * gdatainputstream.h:
2016 * gdataoutputstream.h:
2017 * gdesktopappinfo.h:
2018 * gdirectorymonitor.h:
2022 * gfileenumerator.h:
2025 * gfileinputstream.h:
2027 * gfilenamecompleter.h:
2028 * gfileoutputstream.h:
2029 * gfilterinputstream.h:
2030 * gfilteroutputstream.h:
2038 * gmemoryinputstream.h:
2039 * gmemoryoutputstream.h:
2041 * gmountoperation.h:
2044 * gsimpleasyncresult.h:
2046 * gunixinputstream.h:
2048 * gunixoutputstream.h:
2052 * inotify/Makefile.am:
2053 Only allow including <gio/gio.h> from apps
2055 2007-12-14 Alexander Larsson <alexl@redhat.com>
2057 * gioscheduler.[ch]:
2058 * gsimpleasyncresult.c:
2059 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2060 Split out the send_to_mainloop call into two versions instead
2061 of having the block argument.
2063 2007-12-13 Alexander Larsson <alexl@redhat.com>
2065 * gcancellable.[ch]:
2067 * gbufferedinputstream.c:
2068 * gfileenumerator.c:
2069 * gfileinputstream.c:
2070 * gfileoutputstream.c:
2074 g_push/pop_current_cancellable ->
2075 g_cancellable_push/pop_current
2077 2007-12-13 Alexander Larsson <alexl@redhat.com>
2081 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2083 2007-12-13 Alexander Larsson <alexl@redhat.com>
2085 * gmountoperation.h:
2086 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2088 2007-12-12 Alexander Larsson <alexl@redhat.com>
2091 Fix race condition when freeing proxy in
2092 g_io_job_send_to_mainloop().
2094 2007-12-12 Alexander Larsson <alexl@redhat.com>
2100 Make attribute namespace separator "::" instead of ":".
2101 Use - instead of _ as separator in attribute names.
2103 2007-12-12 Alexander Larsson <alexl@redhat.com>
2105 * gbufferedinputstream.h:
2106 * gbufferedoutputstream.h:
2107 * gdatainputstream.h:
2108 * gdataoutputstream.h:
2109 * gdirectorymonitor.h:
2110 * gfileenumerator.h:
2111 * gfileinputstream.h:
2113 * gfileoutputstream.h:
2114 * gfilterinputstream.h:
2115 * gfilteroutputstream.h:
2117 * glocalfileinputstream.h:
2118 * glocalfileoutputstream.h:
2119 * gmemoryinputstream.h:
2120 * gmemoryoutputstream.h:
2121 * gnativevolumemonitor.h:
2123 * gunixinputstream.h:
2124 * gunixoutputstream.h:
2127 s/parent/parent_instance/ in GObjects
2129 2007-12-12 Alexander Larsson <alexl@redhat.com>
2134 No need for padding for interfaces
2136 2007-12-12 Alexander Larsson <alexl@redhat.com>
2140 * gbufferedinputstream.c:
2141 * gbufferedoutputstream.c:
2144 * gdatainputstream.[ch]:
2145 * gdesktopappinfo.c:
2146 * gdirectorymonitor.c:
2148 * gfileattribute.[ch]:
2151 * gfileinputstream.h:
2152 * gfilemonitor.[ch]:
2153 * gfileoutputstream.[ch]:
2154 * gfilterinputstream.h:
2155 * gfilteroutputstream.h:
2158 * gloadableicon.[ch]:
2159 * gmemoryinputstream.c:
2160 * gmountoperation.c:
2162 Fix up a bunch of details in the docs.
2167 2007-12-11 David Zeuthen <davidz@redhat.com>
2169 Rework how volumes, drives and volume monitoring is
2170 done. Previosly the model was
2172 GDrive <1-1> GVolume
2174 where a GDrive instance represented a mount point and a GVolume
2175 instance represented a mounted file system. This patch changes it
2178 GDrive <1-N> GVolume <1-1> GMount
2180 where GMount now serves the purpose of the old GVolume and the new
2181 GVolume serves the purpose of the old GDrive. In addition the new
2182 GDrive interface is used to represent a collection of GVolume
2183 instances (typically partitions) and also contains utility to query
2184 the state of the physical drive the GDrive object represents (such
2185 as checking for media, polling the drive, ejecting the media etc.).
2187 Also implement mounting and unmounting in the Unix volume monitor
2188 backend. A subquent patch will introduce GDrive support for ejection
2192 * gdrive.c: (g_drive_is_media_check_automatic),
2193 (g_drive_is_media_removable), (g_drive_has_media),
2194 (g_drive_can_poll_for_media), (g_drive_eject),
2195 (g_drive_eject_finish), (g_drive_poll_for_media),
2196 (g_drive_poll_for_media_finish):
2198 * gfile.c: (g_file_find_enclosing_mount):
2201 * glocaldirectorymonitor.c:
2202 (g_local_directory_monitor_constructor), (mounts_changed):
2203 * glocalfile.c: (get_mount_info),
2204 (g_local_file_find_enclosing_mount),
2205 (g_local_file_file_iface_init):
2206 * gnativevolumemonitor.h:
2207 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2208 (get_connected_drives), (g_union_volume_monitor_class_init),
2209 (child_volume_added), (child_volume_removed),
2210 (child_volume_changed), (child_mount_added), (child_mount_removed),
2211 (child_mount_pre_unmount), (child_mount_changed),
2212 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2213 (g_union_volume_monitor_remove_monitor),
2214 (_g_mount_get_for_mount_path):
2215 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2216 (guess_system_internal), (_g_get_unix_mounts),
2217 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2218 (g_unix_mount_free), (g_unix_mount_compare),
2219 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2220 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2221 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2222 (type_to_icon), (g_unix_mount_guess_name),
2223 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2224 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2225 (_resolve_symlink), (_resolve_dev_root):
2227 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2228 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2229 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2230 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2231 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2232 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2233 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2234 (g_unix_volume_volume_iface_init):
2236 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2237 (get_mounts), (get_volumes), (get_connected_drives),
2238 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2239 (mountpoints_changed), (mounts_changed),
2240 (g_unix_volume_monitor_init),
2241 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2242 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2243 * gunixvolumemonitor.h:
2244 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2245 (g_volume_mount), (g_volume_mount_finish):
2247 * gvolumemonitor.c: (g_volume_monitor_class_init),
2248 (g_volume_monitor_get_connected_drives),
2249 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2252 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2254 * gmountoperation.h (GPasswordFlags): Close the gap
2256 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2258 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2260 * gdesktopappinfo.[hc]: Remove _-prefixes
2262 2007-12-10 Tor Lillqvist <tml@novell.com>
2264 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2267 2007-12-10 Alexander Larsson <alexl@redhat.com>
2269 * gfile.c (g_file_set_display_name):
2270 Don't hardcode '/' (#502727)
2272 2007-12-09 Hans Breuer <hans@breuer.org>
2274 * makefile.msc : follow lib naming convention
2275 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2276 for user and group name, tested with ../tests/gio-ls
2278 2007-12-09 A. Walton <awalton@svn.gnome.org>
2280 * gdesktopappinfo.c:
2286 * gfileenumerator.c:
2291 * gmemoryinputstream.c:
2292 * gmemoryoutputstream.c:
2294 * gsimpleasyncresult.c:
2295 More documentation cleanup and filling in missing information, bringing
2296 GIO to 99% symbol coverage.
2298 2007-12-08 Hans Breuer <hans@breuer.org>
2300 [gio compiles and links on win32, not sure how much already works]
2301 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2302 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2303 base on win32 API; prefer g_lstat() over lstat(); instead of
2304 localtime_r() use an all GLib implementation on win32;
2305 get_mount_info() still needs a win32 specifc implementation
2306 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2307 win32_get_file_user_info to get owner/group info without uid/gid
2308 * glocalfileinputstream.c : include <io.h> on win32
2309 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2310 definition, use g_win32_ftruncate() for G_OS_WIN32
2311 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2312 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2313 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2314 * makefile.msc : updated
2316 2007-12-07 Alexander Larsson <alexl@redhat.com>
2318 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2319 Avoid warning spew if error == NULL
2321 2007-12-07 Alexander Larsson <alexl@redhat.com>
2324 Update docs wrt etags
2326 2007-12-06 Alexander Larsson <alexl@redhat.com>
2329 Include sys/types.h for dev_t (#501919)
2331 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2335 Make abicheck and pltcheck pass.
2337 2007-12-05 Alexander Larsson <alexl@redhat.com>
2340 * giomodule-priv.h: Added.
2341 * glocaldirectorymonitor.c:
2342 * glocalfilemonitor.c:
2343 * gunionvolumemonitor.c:
2345 Actually add the declaration of _g_io_modules_ensure_loaded
2347 2007-12-05 Alexander Larsson <alexl@redhat.com>
2349 * gdatainputstream.c:
2354 * glocaldirectorymonitor.c:
2355 * glocalfilemonitor.c:
2356 * gunionvolumemonitor.c:
2358 Make g_io_modules_ensure_loaded a private function and
2359 don't pass in the dirname. This means we can do magic
2360 directory finding in the win32 version.
2361 Export the actual load-modules-in-directory code so that
2362 gvfs can reuse that.
2364 2007-12-05 Alexander Larsson <alexl@redhat.com>
2366 * gbufferedinputstream.c:
2367 * gbufferedoutputstream.c:
2370 * gfileenumerator.[ch]:
2371 * gfileinputstream.c:
2372 * gfileoutputstream.[ch]:
2373 * gfilterinputstream.c:
2374 * gfilteroutputstream.c:
2375 * ginputstream.[ch]:
2377 * glocalfileenumerator.c:
2378 * glocalfileinputstream.c:
2379 * glocalfileoutputstream.c:
2380 * gmemoryinputstream.c:
2381 * gmemoryoutputstream.c:
2382 * goutputstream.[ch]:
2385 * gunixinputstream.c:
2386 * gunixoutputstream.c:
2387 Rename all struct members named:
2388 read, write, close, truncate, or mount
2389 to foo_fn, as these are reserved names
2390 and could be defined as macros in libc.
2393 2007-12-04 Alexander Larsson <alexl@redhat.com>
2396 (g_output_stream_close):
2397 Only call flush if non-null.
2399 2007-11-30 Dan Winship <danw@gnome.org>
2401 * ginputstream.c (g_input_stream_set_pending): Make this take a
2402 GError and return a gboolean, and do the "outstanding operation"
2403 check (and the "stream is already closed" check) itself.
2404 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2406 * goutputstream.c (g_output_stream_set_pending)
2407 (g_output_stream_clear_pending): Likewise
2409 * gbufferedinputstream.c:
2410 * gfileinputstream.c:
2411 * gfileoutputstream.c: Update for that
2413 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2414 Like g_simple_async_report_error_in_idle, but takes a GError
2415 rather than building one.
2417 2007-11-30 Dan Winship <danw@gnome.org>
2419 * goutputstream.c: Don't cheat and unset the "pending" flag around
2420 inner calls. Instead, call the class method directly rather than
2421 the wrapper function that checks "pending"
2423 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2425 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2427 2007-12-03 Hans Breuer <hans@breuer.org>
2429 [start of port to win32/msvc]
2430 * gcancellable.c : HAVE_UNIST_H and _pipe()
2431 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2432 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2433 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2435 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2436 * glocalvfs.c : use HAVE_PWD_H
2437 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2438 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2439 * Makefile.am : added to EXTRA_DIST
2441 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2443 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2446 2007-12-03 Alexander Larsson <alexl@redhat.com>
2449 Handle OSX style xattrs API (#500506)
2451 2007-12-03 Alexander Larsson <alexl@redhat.com>
2455 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2457 2007-12-02 A. Walton <awalton@svn.gnome.org>
2461 Documentation accuracy fixes.
2463 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2465 * gioenumtypes.c.template: Fix typo.
2467 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2469 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2471 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2473 * gdirectorymonitor.c:
2474 * gfilemonitor.c: Add properties
2476 * gbufferedoutputstream.c: Don't mark buffer-size property
2479 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2481 * gbufferedoutputstream.c: Add auto-grow property.
2483 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2485 * *.c: Unify the capitalization of section headings.
2487 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2489 * gmountoperation.c: Add properties
2491 * gdatainputstream.c: Turn byte-order and newline-type into
2494 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2496 * gioenumtypes.[hc].template: Templates for enum registration
2498 * Makefile.am: Generate gioenumtypes.[hc]
2500 * gio.h: Include gioenumtypes.h
2502 * gfile.h: Add some explicit nicks.
2504 * gio.symbols: Add new symbols
2506 * pltcheck.sh: Adjust
2508 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2510 * *.c: Explain etags and link to the explanation
2512 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2514 * *.c: Explain I/O priority.
2516 * *.c: More coding style fixes.
2518 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2520 * gasyncresult.c: Add another paragraph to the intro,
2521 adjust coding style of example.
2523 2007-11-29 A. Walton <awalton@svn.gnome.org>
2526 Fixes unknown meaning in GAppLaunchContext docs.
2528 Clarify asynchronous ops.
2530 Fix entity tag docs.
2533 Provides missing gtk-doc section, fixes API docs slighly.
2534 * gsimpleasyncresult.c:
2535 Fill in missing info in docs.
2536 * gunixinputstream.c:
2537 * gunixoutputstream.c:
2538 Be more expressive in short description.
2540 Remove gtk-doc stubs for non-public API.
2542 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2544 * *.c: Coding style fixups
2546 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2548 * inotify/inotify-helper.c: Don't export the lock from libgio.
2550 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2553 * abicheck.sh: Fix copy-and-paste leftovers
2555 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2557 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2559 2007-11-28 Alexander Larsson <alexl@redhat.com>
2563 Removed unnecessary file
2565 * gdesktopappinfo.[ch]:
2568 * glocaldirectorymonitor.[ch]:
2570 * glocalfileenumerator.[ch]:
2571 * glocalfileinputstream.[ch]:
2572 * glocalfilemonitor.[ch]:
2573 * glocalfileoutputstream.[ch]:
2575 * gnativevolumemonitor.c:
2576 * gpollfilemonitor.[ch]:
2577 * gunionvolumemonitor.[ch]:
2580 * gunixvolumemonitor.[ch]:
2583 * inotify/ginotifydirectorymonitor.[ch]:
2584 * inotify/ginotifyfilemonitor.[ch]:
2585 * inotify/inotify-helper.c:
2586 Append _ to all internal functions
2590 Export symbols needed for modules
2592 2007-11-28 Alexander Larsson <alexl@redhat.com>
2595 * abicheck.sh: Added.
2596 * makegioalias.pl: Added.
2597 * pltcheck.sh: Added.
2598 * gio.symbols: Added.
2601 Initial work on adding symbol handling.
2604 Correct ifdef guard name
2607 * inotify/Makefile.am:
2608 * xdgmime/Makefile.am:
2609 Include toplevel Makefile.decl
2611 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2613 * gcontenttype.c: Move doc comments to the unix section.
2615 * *.[hc]: More trivial doc corrections.
2617 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2619 * gpollfilemonitor.c:
2623 * gdesktopappinfo.c:
2628 * gdatainputstream.c:
2629 * gdatainputstream.h:
2630 * gdataoutputstream.c:
2631 * gdataoutputstream.h:
2632 * gfileinfo.h: Doc cleanups
2634 2007-11-28 Andre Klapper <a9016009@gmx.de>
2636 * gdesktopappinfo.c: Fix a typo.
2638 2007-11-27 Andre Klapper <a9016009@gmx.de>
2640 * glocalfileoutputstream.c: Fix a typo.
2642 2007-11-27 Alexander Larsson <alexl@redhat.com>
2645 Don't include removed headers
2647 2007-11-27 Alexander Larsson <alexl@redhat.com>
2650 * gsocketinputstream.[ch]: Removed.
2651 * gsocketoutputstream.[ch]: Removed.
2652 * gunixinputstream.[ch]: Added.
2653 * gunixoutputstream.[ch]: Added.
2654 Renamed GSocket*Stream to GUnix*Stream and made
2655 it unix-only, since its not really only for sockets
2656 and it only works on unix (but is highly useful there).
2658 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2664 * gbufferedinputstream.c:
2665 * gbufferedinputstream.h:
2666 * gbufferedoutputstream.c:
2667 * gbufferedoutputstream.h:
2671 * gdatainputstream.c:
2672 * gdatainputstream.h:
2673 * gdataoutputstream.c:
2674 * gdataoutputstream.h:
2675 * gdirectorymonitor.c:
2676 * gdirectorymonitor.h:
2683 * gfileenumerator.c:
2684 * gfileenumerator.h:
2689 * gfileinputstream.c:
2690 * gfileinputstream.h:
2693 * gfilenamecompleter.c:
2694 * gfilenamecompleter.h:
2695 * gfileoutputstream.c:
2696 * gfileoutputstream.h:
2697 * gfilterinputstream.c:
2698 * gfilterinputstream.h:
2699 * gfilteroutputstream.c:
2700 * gfilteroutputstream.h:
2713 * glocalfileoutputstream.c:
2714 * gmemoryinputstream.c:
2715 * gmemoryinputstream.h:
2716 * gmemoryoutputstream.c:
2717 * gmemoryoutputstream.h:
2718 * gmountoperation.c:
2719 * gmountoperation.h:
2722 * gpollfilemonitor.c:
2725 * gsimpleasyncresult.c:
2726 * gsimpleasyncresult.h:
2727 * gsocketinputstream.c:
2728 * gsocketinputstream.h:
2729 * gsocketoutputstream.c:
2730 * gsocketoutputstream.h:
2737 * gunixvolumemonitor.c:
2746 Bumps documentation to 93% symbol coverage, touching most
2747 of the public files. Fixes broken function documentation prototypes.
2748 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2749 gtk-doc headers in private files.
2751 2007-11-27 Jürg Billeter <j@bitron.ch>
2753 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2754 (g_buffered_input_stream_read_byte):
2755 * gbufferedinputstream.h:
2756 New functions for efficient access to buffer and simple single byte
2759 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2760 (g_data_input_stream_read_until):
2761 * gdatainputstream.h:
2762 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2763 read_until with multiple stop chars.
2765 2007-11-27 Alexander Larsson <alexl@redhat.com>
2769 * inotify/Makefile.am:
2770 Use the user-specified giomoduledir
2772 2007-11-27 Alexander Larsson <alexl@redhat.com>
2776 Add catch-all gio.h header
2777 Don't install gdummyfile.h
2779 2007-11-26 Alexander Larsson <alexl@redhat.com>
2781 * Makefile.am (gioinclude_HEADERS):
2782 Remove trailing whitespace
2784 2007-11-26 Alexander Larsson <alexl@redhat.com>
2786 Merge gio-standalone into glib
2788 2007-11-25 Christian Kellner <gicmo@gnome.org>
2790 * gio/goutputstream.c:
2791 Fix small mistake in the docs.
2793 2007-11-21 Christian Persch <chpe@gnome.org>
2795 * gio/glocalfile.c: (g_local_file_trash):
2796 Convert filenames to UTF-8 for GError.
2797 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2798 as per xdg base dir spec.
2800 2007-11-21 Christian Persch <chpe@gnome.org>
2802 * gio/gdesktopappinfo.c:
2803 Use that g_key_file_to_data cannot fail.
2805 Use stock defines for the key file group and key names.
2808 2007-11-21 Alexander Larsson <alexl@redhat.com>
2811 (copy_stream_with_progress):
2812 Make sure we do a final progress callback with
2813 the full total size.
2815 2007-11-21 Alexander Larsson <alexl@redhat.com>
2818 Export g_file_copy_attributes
2819 Remove padding as its not needed for interfaces
2821 2007-11-20 Alexander Larsson <alexl@redhat.com>
2826 Add G_IO_ERROR_WOULD_MERGE for
2827 copy/move dir on dir with overwrite.
2829 2007-11-20 Alexander Larsson <alexl@redhat.com>
2832 * gio/glocalfileinfo.c:
2833 Add COPY_NAME (this is an optional
2834 non-modified utf8 version of the name) that
2837 2007-11-20 Alexander Larsson <alexl@redhat.com>
2839 * gio/glocalfileenumerator.c:
2840 Report errors as GIOError, not GFileError
2842 2007-11-16 Alexander Larsson <alexl@redhat.com>
2844 * gio/glocalfileoutputstream.c:
2845 * gio/gwin32appinfo.c:
2846 Fix typos in strings.
2847 Patch from Luca Ferretti <elle.uca@libero.it>
2849 2007-11-15 Alexander Larsson <alexl@redhat.com>
2852 Post release version bump
2854 === gio-standalone 0.1.2 ===
2856 2007-11-15 Alexander Larsson <alexl@redhat.com>
2858 * docs/reference/gio/Makefile.am:
2859 Fix up distcheck by removing weird
2865 2007-11-14 Alexander Larsson <alexl@redhat.com>
2867 * gio/gdesktopappinfo.c:
2868 * gio/glocaldirectorymonitor.c:
2870 * gio/glocalfileinfo.c:
2871 * gio/inotify/inotify-sub.c:
2872 * programs/gio-cat.c:
2873 * programs/gio-copy.c:
2874 * programs/gio-info.c:
2875 * programs/gio-ls.c:
2876 * programs/gio-monitor-dir.c:
2877 * programs/gio-monitor-file.c:
2878 * programs/gio-mount.c:
2879 * programs/gio-move.c:
2880 * programs/gio-rm.c:
2881 * programs/gio-save.c:
2882 * programs/gio-trash.c:
2883 Leak fixes from Kjartan Maraas
2885 2007-11-14 Alexander Larsson <alexl@redhat.com>
2887 * gio/fam/fam-helper.c:
2889 * gio/glocalfileinfo.c:
2893 * gio/inotify/inotify-diag.c:
2894 * gio/inotify/inotify-kernel.c:
2895 Various code cleanups from Kjartan Maraas
2897 2007-11-14 Alexander Larsson <alexl@redhat.com>
2899 * gio/gioscheduler.c:
2901 Set up threadpool so that we cache 2 unused
2902 idle threads for at 15 secs. This means we
2903 will reuse thread-local data (like dbus connections)
2906 2007-11-14 Alexander Larsson <alexl@redhat.com>
2908 * gio/fam/fam-helper.c:
2909 * gio/fam/gfamdirectorymonitor.c:
2910 * gio/fam/gfamfilemonitor.c:
2912 * gio/gcontenttype.c:
2913 * gio/gdatainputstream.c:
2914 * gio/gdataoutputstream.c:
2918 * gio/gfileattribute.h:
2919 * gio/gfileenumerator.c:
2921 * gio/ginputstream.c:
2924 * gio/glocalfileinfo.c:
2925 * gio/goutputstream.c:
2926 * gio/gpollfilemonitor.c:
2927 * gio/gsimpleasyncresult.c:
2928 * gio/gunixmounts.c:
2929 * gio/gunixmounts.h:
2930 * gio/inotify/ginotifydirectorymonitor.c:
2931 * gio/inotify/ginotifyfilemonitor.c:
2932 * gio/inotify/inotify-diag.c:
2933 * gio/inotify/inotify-kernel.c:
2934 * gio/inotify/inotify-path.c:
2936 * gio/test-streams.c:
2937 * programs/gio-info.c:
2938 * programs/gio-monitor-dir.c:
2939 * programs/gio-monitor-file.c:
2940 Various code cleanups from Kjartan Maraas
2942 2007-11-13 Alexander Larsson <alexl@redhat.com>
2945 Handle the uri-scheme calls for dummy files
2947 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2949 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2950 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2951 to avoid clash with the C++ keyword.
2953 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2955 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2956 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2958 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2960 * gio/glocaldirectorymonitor.c:
2961 * gio/glocalfilemonitor.c:
2962 * gio/gunionvolumemonitor.c:
2963 Don't use g_once_init_*() for initializations that could fail and
2964 could leave the initialization variable set to 0 but use GOnce.
2965 This prevents a deadlock on the second call when trying to create
2966 a monitor and no monitor type is available. Thanks to Sven Herzberg
2969 2007-11-11 Sven Herzberg <sven@imendio.com>
2971 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2972 #ifdef (make it work on MacOS X again)
2974 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2976 Fixes Changelog for last two commits (sorry guys).
2978 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2980 * gio/gbufferedinputstream.c:
2981 * gio/gdatainputstream.c:
2983 * gio/gfileoutputstream.c:
2984 * gio/gfilterinputstream.c:
2985 * gio/glocalfileinputstream.c:
2988 More consistency fixes in g*stream.c files.
2989 Significant clean of gfile's documentation, filling in of
2990 asynchronous operations documentation.
2992 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2994 * gio/gasyncresult.c:
2995 * gio/gbufferedinputstream.c:
2996 * gio/gbufferedoutputstream.c:
2997 * gio/gcancellable.c:
2998 * gio/gcontenttype.c:
2999 * gio/gdatainputstream.c:
3000 * gio/gdataoutputstream.c:
3001 * gio/gdesktopappinfo.c:
3004 * gio/gfileattribute.c:
3005 * gio/gio/gfileenumerator.c:
3007 * gio/gfileinputstream.c:
3008 * gio/gfilemonitor.c:
3009 * gio/gfileoutputstream.c:
3010 * gio/ginputstream.c:
3012 * gio/gioscheduler.c:
3013 * gio/gloadableicon.c:
3014 * gio/glocalfileoutputstream.c:
3015 * gio/gmemoryoutputstream.c:
3016 * gio/gmountoperation.c:
3017 * gio/goutputstream.c:
3019 * gio/gsimpleasyncresult.c:
3020 * gio/gunionvolumemonitor.c:
3021 * gio/gunixmounts.c:
3022 * gio/gunixvolume.c:
3026 * gio/gvolumemonitor.c:
3027 Updated documentation stubs, working towards consistency and
3030 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3032 * gio/gmemoryoutputstream.c:
3033 * gio/gmemoryoutputstream.h:
3034 Change g_memory_output_stream_set_free_on_close() to
3035 g_memory_output_stream_set_free_data() as this makes more sense and
3036 is more consistent with GMemoryInputStream.
3038 2007-11-07 Alexander Larsson <alexl@redhat.com>
3045 Change how we find the default vfs so that
3046 we can handle a gvfs failing to init
3048 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3050 * gio/gbufferedoutputstream.c:
3051 * gio/gdatainputstream.c:
3052 * gio/gdataoutputstream.c:
3053 * gio/gfileinputstream.c:
3054 * gio/gfileoutputstream.c:
3055 * gio/gfilterinputstream.c:
3056 * gio/gfilteroutputstream.c:
3057 * gio/ginputstream.c:
3058 * gio/gmemoryinputstream.c:
3059 * gio/gmemoryoutputstream.c:
3060 * gio/goutputstream.c:
3061 * gio/gsimpleasyncresult.c:
3062 * gio/gsocketinputstream.c:
3063 * gio/gsocketoutputstream.c:
3064 Add guards to the remaining public functions, add a TODO for
3065 an unimplemented function and remove some useless guards.
3067 2007-11-07 Alexander Larsson <alexl@redhat.com>
3070 Autoconf checks for the various types of
3071 getpwuid_r and getgrgid_r
3073 * gio/glocalfileinfo.c:
3074 Use the autoconf checks from above
3076 2007-11-07 Alexander Larsson <alexl@redhat.com>
3079 (g_local_file_query_filesystem_info):
3080 Some fixes for the statvfs case
3082 2007-11-07 Alexander Larsson <alexl@redhat.com>
3085 (g_local_file_query_filesystem_info):
3086 Pick the "best" of statfs / statvfs for the system
3087 if both are availible.
3089 2007-11-07 Alexander Larsson <alexl@redhat.com>
3091 Solaris fixes from Halton.Huo@Sun.COM:
3098 * gio/glocalfileinfo.c:
3099 Fix for solaris definition of getpwuid_r
3101 * gio/test-streams.c:
3102 Use G_GNUC_PRETTY_FUNCTION
3104 2007-11-07 Alexander Larsson <alexl@redhat.com>
3106 * gio/gdesktopappinfo.c:
3107 (update_default_list):
3108 Remove double semicolon.
3109 Patch from Jens Granseuer
3111 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3113 * docs/reference/gio/gio-sections.txt:
3114 * gio/gbufferedinputstream.c:
3115 * gio/gbufferedinputstream.h:
3116 * gio/gdatainputstream.c:
3117 * gio/gfileenumerator.c:
3118 * gio/gioscheduler.c:
3119 * gio/gunionvolumemonitor.c:
3121 * programs/gio-save.c:
3122 Fix typo: availible -> available. Unfortuntely this breaks API
3123 and ABI as g_buffered_input_stream_get_available() was renamed.
3125 * gio/gunixmounts.c:
3126 * gio/gbufferedinputstream.c:
3127 Add guards for public functions.
3129 2007-11-06 Ross Burton <ross@openedhand.com>
3131 * docs/reference/gio/Makefile.am:
3132 Fix invalid += usage which automake 1.10 doesn't like.
3134 2007-11-06 Alexander Larsson <alexl@redhat.com>
3137 (g_app_launch_context_class_init):
3140 Patch from Ross Burton
3142 2007-11-06 Alexander Larsson <alexl@redhat.com>
3145 Post release version bump
3147 === gio-standalone 0.1.1 ===
3149 2007-11-06 Alexander Larsson <alexl@redhat.com>
3152 Bump version to 0.1.1
3154 * gio/gsimpleasyncresult.c:
3155 (g_simple_async_result_set_from_error):
3156 Remove bogus g_return_if_fail
3158 2007-11-06 Alexander Larsson <alexl@redhat.com>
3161 The name is gio-standalone
3164 Add top src/builddir to includedir
3166 2007-11-06 Alexander Larsson <alexl@redhat.com>
3168 * docs/reference/gio/gio-sections.txt:
3170 * gio/gbufferedinputstream.c:
3171 * gio/gbufferedoutputstream.c:
3172 * gio/gcancellable.c:
3173 * gio/gdatainputstream.h:
3174 * gio/gdataoutputstream.c:
3175 * gio/gdataoutputstream.h:
3176 * gio/gdirectorymonitor.c:
3178 * gio/gfileattribute.c:
3179 * gio/gfileattribute.h:
3180 * gio/gfileenumerator.c:
3181 * gio/gfileenumerator.h:
3184 * gio/gfileinputstream.h:
3185 * gio/gfilemonitor.c:
3186 * gio/gfileoutputstream.h:
3187 * gio/glocalfilemonitor.h:
3188 * gio/glocalfileoutputstream.h:
3189 * gio/gmemoryinputstream.c:
3190 * gio/gmemoryoutputstream.c:
3191 * gio/gmountoperation.c:
3192 * gio/goutputstream.c:
3193 * gio/goutputstream.h:
3195 * gio/gsimpleasyncresult.c:
3196 * gio/gunixmounts.c:
3197 * gio/gunixmounts.h:
3199 * gio/inotify/inotify-helper.c:
3200 Fix gtk-doc warnings
3202 Patch from Ross Burton
3204 2007-11-06 Alexander Larsson <alexl@redhat.com>
3206 * gio/gfilenamecompleter.c:
3207 (g_filename_completer_get_completions):
3210 * gio/gunixvolume.c:
3211 Remove unused function
3213 Patches from Ross Burton
3215 2007-11-06 Alexander Larsson <alexl@redhat.com>
3220 Padding not needed for interfaces
3222 2007-11-06 Alexander Larsson <alexl@redhat.com>
3224 * gio/gfilemonitor.c:
3228 Make giotypes.h an internal file
3231 * gio/gbufferedinputstream.h:
3232 * gio/gbufferedoutputstream.h:
3233 * gio/gcancellable.h:
3234 * gio/gdatainputstream.h:
3235 * gio/gdataoutputstream.h:
3236 * gio/gdirectorymonitor.c:
3237 * gio/gdirectorymonitor.h:
3242 * gio/gfileattribute.h:
3243 * gio/gfileenumerator.h:
3248 * gio/gfilemonitor.c:
3249 * gio/gfilemonitor.h:
3250 * gio/gfilenamecompleter.c:
3251 * gio/gfilenamecompleter.h:
3252 * gio/gfilterinputstream.h:
3253 * gio/gfilteroutputstream.h:
3254 * gio/ginputstream.h:
3255 * gio/gmemoryinputstream.h:
3256 * gio/gmemoryoutputstream.h:
3257 * gio/gmountoperation.c:
3258 * gio/gmountoperation.h:
3259 * gio/gnativevolumemonitor.c:
3260 * gio/goutputstream.h:
3263 * gio/gsimpleasyncresult.c:
3264 * gio/gsimpleasyncresult.h:
3265 * gio/gsocketinputstream.h:
3266 * gio/gsocketoutputstream.h:
3267 * gio/gthemedicon.c:
3268 * gio/gthemedicon.h:
3272 * gio/gvolumemonitor.c:
3273 * gio/gvolumemonitor.h:
3274 Add padding in classes where it seems useful
3275 Don't include giotypes.h from public headers
3276 Move in Class definitions into c file where possible
3281 2007-11-06 Alexander Larsson <alexl@redhat.com>
3283 * docs/reference/gio/gio-docs.xml:
3284 Better structure for API docs
3286 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3289 * gio/gloadableicon.c:
3290 * gio/gsimpleasyncresult.c:
3291 * gio/gthemedicon.c:
3292 Add some more guards to public functions. Only files missing are now
3295 2007-11-06 Alexander Larsson <alexl@redhat.com>
3297 * docs/reference/gio/gio-docs.xml:
3298 Remove old files, add missing ones
3300 2007-11-06 Alexander Larsson <alexl@redhat.com>
3302 * docs/reference/gio/gio-sections.txt:
3305 Hide implementation classes
3307 * gio/gdriveprivate.h:
3308 * gio/gvolumeprivate.h:
3309 Remove non-existing function declarations
3311 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3314 Fix compilation warnings and add guards to the new functions.
3316 * gio/gasyncresult.c:
3318 Add guards to the public functions.
3321 Implement get_path().
3323 2007-11-06 Alexander Larsson <alexl@redhat.com>
3325 * gio/gfilenamecompleter.c:
3326 Make g_filename_completer_get_completions
3327 return char ** instead of GList for
3330 * docs/reference/gio/gio-docs.xml:
3331 * docs/reference/gio/gio-sections.txt:
3333 * gio/gasyncresult.c:
3334 * gio/gbufferedinputstream.c:
3335 * gio/gbufferedoutputstream.c:
3336 * gio/gcancellable.c:
3337 * gio/gcontenttype.c:
3338 * gio/gdatainputstream.c:
3339 * gio/gdataoutputstream.c:
3340 * gio/gdesktopappinfo.c:
3341 * gio/gdirectorymonitor.c:
3345 * gio/gfileattribute.c:
3346 * gio/gfileenumerator.c:
3349 * gio/gfileinputstream.c:
3350 * gio/gfilemonitor.c:
3351 * gio/gfilenamecompleter.c:
3352 * gio/gfilenamecompleter.h:
3353 * gio/gfileoutputstream.c:
3354 * gio/gfilterinputstream.c:
3356 * gio/ginputstream.c:
3358 * gio/gioscheduler.c:
3359 * gio/gloadableicon.c:
3360 * gio/glocaldirectorymonitor.c:
3362 * gio/glocalfileinputstream.c:
3363 * gio/glocalfilemonitor.c:
3364 * gio/glocalfileoutputstream.c:
3366 * gio/gmemoryinputstream.c:
3367 * gio/gmemoryoutputstream.c:
3368 * gio/gmountoperation.c:
3369 * gio/goutputstream.c:
3370 * gio/gpollfilemonitor.c:
3372 * gio/gsimpleasyncresult.c:
3373 * gio/gsocketinputstream.c:
3374 * gio/gsocketoutputstream.c:
3375 * gio/gthemedicon.c:
3376 * gio/gunionvolumemonitor.c:
3378 * gio/gunixmounts.c:
3379 * gio/gunixvolume.c:
3380 * gio/gunixvolumemonitor.c:
3384 * gio/gvolumemonitor.c:
3385 * gio/gwin32appinfo.c:
3386 Add (mostly stub) doc strings to public functions.
3387 Patch from Andrew Walton (awalton@gmail.com)
3389 2007-11-06 Alexander Larsson <alexl@redhat.com>
3391 * gio/gappinfo.[ch]:
3392 Added GAppLaunchContext object and pass that to launch.
3393 This allows simple implementation of both
3394 launch-on-screen and startup notification via a gtk+
3395 subclass of GAppLaunchContext
3397 * gio/gdesktopappinfo.c:
3398 Implement GAppLaunchContext API
3400 * gio/gwin32appinfo.c:
3403 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3405 * gio/gmountoperation.c:
3406 Add some guards to GMountOperation's public functions.
3408 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3412 * gio/gcancellable.c:
3413 * gio/gdirectorymonitor.c:
3415 * gio/gfileenumerator.c:
3416 * gio/gfilemonitor.c:,
3417 * gio/gfilenamecompleter.c:
3420 * gio/gioscheduler.c:
3424 * gio/gvolumemonitor.c:
3425 Add even more guards to various public functions.
3427 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3430 Add guards to the public functions of GAppInfo.
3432 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3434 * gio/gcontenttype.c:
3435 Add some more guards for public functions.
3437 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3439 * gio/fam/fam-module.c:
3440 * gio/fam/gfamdirectorymonitor.c:
3441 * gio/fam/gfamdirectorymonitor.h:
3442 * gio/fam/gfamfilemonitor.c:
3443 * gio/fam/gfamfilemonitor.h:
3444 * gio/inotify/ginotifydirectorymonitor.c:
3445 * gio/inotify/ginotifydirectorymonitor.h:
3446 * gio/inotify/ginotifyfilemonitor.c:
3447 * gio/inotify/ginotifyfilemonitor.h:
3448 Add proper copyright information and remove an unused variable
3449 in the GInotifyFileMonitor constructor.
3451 * gio/gcancellable.c:
3452 Add a guard for a public function and an assertion to prevent
3453 an undefined program state.
3455 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3457 * gio/gfileattribute.c:
3458 Don't run into an assertion if the given attribute value is NULL
3459 in g_file_attribute_value_get_*() but instead return a fallback
3460 value that makes sense in most situations. Passing them a attribute
3461 value with the wrong type will still run into an assertion.
3463 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3465 * gio/gfileattribute.c:
3467 Add even more guards to the public functions. Also fix the refcounting
3468 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3469 let g_file_info_list_attributes() filter the attributes by namespace
3470 instead of simply ignoring the namespace parameter.
3472 2007-11-03 Sven Herzberg <sven@imendio.com>
3474 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3475 (This makes gio work on MacOS X again)
3477 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3480 Build the gio subdirectory before the docs. Otherwise the build will
3483 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3484 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3485 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3486 Add guards to the public functions.
3488 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3490 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3491 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3492 to prevent a compiler warning.
3494 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3495 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3496 return something in the non-void function find_topdir_for().
3498 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3505 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3507 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3508 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3509 * gwin32appinfo.c (g_win32_app_info_launch):
3510 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3511 envp_for_startup_id, g_desktop_app_info_launch,
3512 g_desktop_app_info_launch_uris):
3514 Give an opaque 'startup_id' string instead of 'envp'.
3515 Support empty file lists for launching new windows.
3516 Fix infinite recursion bug when launching URIs.
3518 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3521 Add guard to the new g_file_get_uri_scheme() function.
3523 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3526 Convert a g_return_val_if_fail() to setting the GError instead as
3527 otherwise applications have to verify the parameter before otherwise
3528 and the parameter might come directly from the user.
3530 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3532 * gio/inotify/ginotify*.[ch]:
3533 Add missing copyright information.
3535 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3538 Add guards in the beginning of public functions to check for valid
3539 parameters and fix a bug in copy_stream_with_progress() that could've
3540 caused writing less bytes than reading.
3541 * gio/glocalfileinfo.c:
3542 Check for a NULL parameter and set the GError accordingly then.
3543 * gio/goutputstream.c:
3544 Fix the same bug as in gfile.c that could've caused writing less bytes
3545 than reading in g_output_stream_real_splice().
3547 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3550 Use the correct gvolumeprivate.h naming
3552 2007-11-01 Christian Kellner <gicmo@gnome.org>
3555 Remove leftover "$(daemon_sources)" entry.
3557 2007-11-01 Christian Kellner <gicmo@gnome.org>
3562 Add copyright information to source files.
3564 2007-11-01 Alexander Larsson <alexl@redhat.com>
3568 Add g_file_get_uri_scheme
3570 2007-11-01 Alexander Larsson <alexl@redhat.com>
3573 * gio/gdesktopappinfo.c:
3574 * gio/gwin32appinfo.c:
3575 Add g_app_info_get_default_for_uri_scheme.
3577 2007-11-01 Alexander Larsson <alexl@redhat.com>
3580 Correct filename for gdriveprivate.h
3582 2007-10-31 Alexander Larsson <alexl@redhat.com>
3585 Rename id:value to id:file
3588 * gio/glocalfileinfo.c:
3591 2007-10-31 Alexander Larsson <alexl@redhat.com>
3593 * gio/gunixvolume.c:
3595 Remove g_volume_get_platform_id, as thats not
3596 needed with the simpler union volume monitor
3598 2007-10-31 Alexander Larsson <alexl@redhat.com>
3601 * gio/guniondrive.[ch]: Removed.
3602 * gio/gunionvolume.[ch]: Removed.
3603 Remove GUnionDrive/Volume
3605 * gio/gunionvolumemonitor.c:
3606 Simplify union volume monitor, now we
3607 only have one native volume monitor and
3608 we use the actual volumes/drives from the
3609 child monitors instead of wrapping them
3611 * gio/gnativevolumemonitor.[ch]:
3612 Base class for native volume monitors.
3613 Includes priority and get_volume_for_mountpoint
3616 Add g_file_find_enclosing_volume
3619 Remove volume name fs attribute
3620 Add readonly fs attribute
3623 Implement readonly attribute
3624 remove volume name attribute
3625 Implement find_enclosing volume
3627 * gio/gunixmounts.c:
3628 Add a volume for "/".
3630 * gio/gunixvolume.[ch]:
3631 Set better name for /
3633 * gio/gunixvolumemonitor.[ch]:
3634 Derive from GNativeVolumeMonitor
3635 Implement get_volume_for_mountpoint
3638 GVolume typedef moved to gfile.h
3640 * gio/gvolumeprivate.h:
3641 Add g_volume_get_for_mount_path
3643 2007-10-31 Alexander Larsson <alexl@redhat.com>
3645 * gio/gunixmounts.[ch]:
3646 Add cache info to unix mount listers
3647 Make getmntent use threadsafe
3648 Add is_system_internal attribute for GUnixMount
3650 * gio/gunixvolume.c:
3651 (g_unix_volume_new):
3652 Use is_system_internal instead of own code
3654 * gio/glocaldirectorymonitor.c:
3655 * gio/gunixvolumemonitor.c:
3656 Update to new gunixmounts API
3661 2007-10-30 Alexander Larsson <alexl@redhat.com>
3664 Add volume name fsinfo attribute
3667 Read volume name info
3669 * gio/gunionvolumemonitor.c:
3670 Fix infinite loops when finalizing a union volume monitor
3672 2007-10-30 Alexander Larsson <alexl@redhat.com>
3674 * gio/goutputstream.[ch]:
3675 Add splice() with default implementation
3677 * gio/gsocketoutputstream.c:
3678 (g_socket_output_stream_write):
3679 Return error on cancellation correctly.
3681 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3683 * gio/glocalfile.c (g_local_file_trash):
3684 Do not leak a string.
3686 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3688 * gio/gfile.c (g_file_load_contents):
3689 Unref the stream after closing it.
3691 2007-10-25 Alexander Larsson <alexl@redhat.com>
3693 * gio/gioscheduler.h:
3696 2007-10-25 Alexander Larsson <alexl@redhat.com>
3700 Add g_file_has_uri_scheme and implement for local files
3702 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3704 * gio/gdesktopappinfo.c: do not leak a string.
3706 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3708 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3709 (g_local_directory_monitor_new):
3710 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3711 (g_local_file_monitor_new):
3712 Only look for the monitor type that should be used the first time
3713 and use g_qsort_with_data() instead of our own bubble sort
3716 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3719 * gio/fam/Makefile.am:
3720 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3721 * gio/fam/fam-helper.h:
3722 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3723 * gio/fam/gfamdirectorymonitor.c:
3724 * gio/fam/gfamdirectorymonitor.h:
3725 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3726 * gio/fam/gfamfilemonitor.h:
3727 * gio/glocaldirectorymonitor.c:
3728 * gio/glocaldirectorymonitor.h:
3729 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3730 * gio/glocalfilemonitor.h:
3731 * gio/inotify/Makefile.am:
3732 * gio/inotify/ginotifydirectorymonitor.c:
3733 * gio/inotify/ginotifydirectorymonitor.h:
3734 * gio/inotify/ginotifyfilemonitor.c:
3735 * gio/inotify/ginotifyfilemonitor.h:
3736 Implement the FAM and Inotify monitors as
3737 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3738 their own GIO module. GLocal(Directory|File)Monitor will use the
3739 monitor with the highest rank that is supported on that machine.
3741 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3744 Change GIO module dir to $(libdir)/gio/modules and change
3745 the log domain from GVFS to GIO. Also only export symbols starting
3746 with g_ in the resulting library.
3747 * gio/test-streams.c: (main):
3748 Set log handler for the GIO log domain.
3750 2007-10-22 Alexander Larsson <alexl@redhat.com>
3752 * gio/gfilenamecompleter.[ch]:
3753 Add g_filename_completer_set_dirs_only
3755 2007-10-22 Alexander Larsson <alexl@redhat.com>
3758 * gio/gurifuncs.[ch]:
3759 Add some simple URI helpers
3761 * gio/gfilenamecompleter.[ch]:
3762 Added object for filename (parse name actually) completion
3765 Handle ~ in parse names
3767 2007-10-17 Alexander Larsson <alexl@redhat.com>
3770 * gio/glocalfileinfo.c:
3771 Add and implement id:value attribute
3773 2007-10-17 Alexander Larsson <alexl@redhat.com>
3776 * gio/guniondrive.c:
3778 Add and implement g_drive_has_volumes
3780 2007-10-17 Alexander Larsson <alexl@redhat.com>
3783 * gio/glocalfileinfo.[ch]:
3784 Add unix:is_mountpoint and implement for local files
3786 2007-10-16 Alexander Larsson <alexl@redhat.com>
3788 * gio/gunionvolumemonitor.c:
3789 (g_union_volume_monitor_init):
3790 Fix up the unix type getting so that it works with gcc
3792 2007-10-12 Alexander Larsson <alexl@redhat.com>
3795 * gio/glocalfileinfo.c:
3796 Add thumbnail:failed to file info
3798 2007-10-12 Richard Hult <richard@imendio.com>
3800 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3801 optimizing away the get_type call (happens with some gcc versions,
3802 like the one shipped with OS X 10.4).
3804 2007-10-12 Alexander Larsson <alexl@redhat.com>
3806 * gio/glocalfileinfo.c:
3807 (_g_local_file_info_set_attribute):
3808 Fix build if not HAVE_XATTR
3809 Patch from Milosz Derezynski <internalerror@gmail.com>
3811 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3813 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3814 around for review, otherwise I would have asked you before
3817 2007-10-11 Alexander Larsson <alexl@redhat.com>
3820 Add thumbnail:path attribute
3822 * gio/glocalfileinfo.c:
3823 Implement thumbnail:path for local files
3825 2007-10-11 Alexander Larsson <alexl@redhat.com>
3827 * gio/glocalfileinfo.c:
3828 (_g_local_file_info_get):
3829 Avoid duplicate icon names
3831 2007-10-11 Alexander Larsson <alexl@redhat.com>
3833 * gio/gthemedicon.[ch]:
3834 Change g_themed_icon_get_names return type to const
3836 2007-10-10 Alexander Larsson <alexl@redhat.com>
3838 * gio/glocalfileinfo.c:
3839 Don't reference freed memory
3841 2007-10-10 Alexander Larsson <alexl@redhat.com>
3843 * gio/gfileattribute.c:
3846 * gio/glocalfileinfo.c:
3849 2007-10-10 Alexander Larsson <alexl@redhat.com>
3852 Check for NULL icons
3854 * gio/gfileattribute.c:
3855 Don't dup when getting objects (same as for string attributes)
3857 * gio/gicon.c (g_icon_equal):
3858 Safely handle NULLs in equal
3860 2007-10-10 Alexander Larsson <alexl@redhat.com>
3863 Fix c++ compilation issues
3864 Patch from Milosz Derezynski <internalerror@gmail.com>
3866 2007-10-10 Alexander Larsson <alexl@redhat.com>
3868 * programs/gio-monitor-dir.c:
3869 Don't crash if dir monitor not supported.
3871 2007-10-09 Alexander Larsson <alexl@redhat.com>
3874 Add missing G_END_DECLS
3876 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3878 * gio/gfile.c: (g_file_set_display_name),
3879 (g_file_query_settable_attributes),
3880 (g_file_query_writable_namespaces):
3881 Return NULL not FALSE on errors as the return type is a pointer.
3883 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3885 * gio/glocalfile.c: (g_local_file_monitor_file):
3886 Don't call monitor_file on the default interface vtable (which
3887 is NULL) but simply return NULL. The caller, GFile, will create a
3888 polling monitor if NULL is returned.
3890 2007-10-09 Alexander Larsson <alexl@redhat.com>
3894 * gio-unix-2.0.pc.in:
3895 Add gio-unix-2.0.pc if OS_UNIX
3898 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3900 2007-10-09 Alexander Larsson <alexl@redhat.com>
3902 * gio/gunixmounts.[ch]:
3903 Make unix mount monitoring API sane.
3904 Now its just a object with mounts_changed
3905 and mountpoints_changed signals.
3907 * gio/glocaldirectorymonitor.c:
3908 * gio/gunixvolumemonitor.c:
3909 Use new mount monitor api
3911 2007-10-09 Alexander Larsson <alexl@redhat.com>
3913 * gio/gunixmounts.[ch]:
3914 Move guess type into one call for mounts and one for mountpoints
3917 * gio/gunixvolume.c:
3920 2007-10-09 Alexander Larsson <alexl@redhat.com>
3922 * gio/gunixmounts.[ch]:
3923 Remove _ prefix in preparation to make this semi-public
3924 Hide implementation of structs
3926 * gio/glocaldirectorymonitor.c:
3928 * gio/gunixvolume.c:
3929 * gio/gunixvolumemonitor.c:
3930 Update for above API changes
3932 2007-10-08 Alexander Larsson <alexl@redhat.com>
3935 Better polling fallback. This also handles the case where we have
3936 a monitor_file implementation, but it fails.
3938 2007-10-08 Alexander Larsson <alexl@redhat.com>
3942 * gio/gunixmounts.c:
3943 * programs/gio-monitor-dir.c:
3944 * programs/gio-monitor-file.c:
3945 Added cancellable to file monitoring calls.
3946 These are really sync calls and need this.
3948 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3950 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3951 (g_local_vfs_class_init):
3952 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3953 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3955 2007-10-05 Alexander Larsson <alexl@redhat.com>
3957 * gio/gdirectorymonitorprivate.h:
3958 * gio/gfilemonitorprivate.h:
3959 * gio/gdirectorymonitor.h:
3960 * gio/gfilemonitor.h:
3961 Remove *private.h and move to the public API, so that
3962 we can do implementations outside gio (such as in gvfs)
3964 * gio/gdirectorymonitor.c:
3965 * gio/gfilemonitor.c:
3966 * gio/glocaldirectorymonitor.c:
3967 * gio/gpollfilemonitor.c:
3968 * gio/inotify/inotify-helper.c:
3969 * gio/fam/fam-helper.c:
3970 Update to the new header names
3972 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3974 * gio/gdirectorymonitor.c:
3975 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3978 2007-10-04 Alexander Larsson <alexl@redhat.com>
3980 * gio/glocalfileinfo.c (get_access_rights):
3981 Set CAN_TRASH when we can move the file.
3982 We should really also check for a parent trash dir.
3984 2007-10-04 Alexander Larsson <alexl@redhat.com>
3986 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3987 Add can_trash access attribute
3989 2007-10-04 Alexander Larsson <alexl@redhat.com>
3992 (g_local_file_trash):
3993 Create info file first. This is per-spec and allows
3994 us to actually trash directories.
3996 2007-10-02 Alexander Larsson <alexl@redhat.com>
3998 * gio/gdesktopappinfo.c:
3999 Implement the new mime support code.
4000 Always set app as handling mimetype when being set as default for it
4002 2007-10-01 Alexander Larsson <alexl@redhat.com>
4004 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4005 Fix up check for xattrs:
4007 2007-10-01 Alexander Larsson <alexl@redhat.com>
4010 (g_app_info_set_as_default_for_extension):
4011 (g_app_info_add_supports_type):
4012 (g_app_info_can_remove_supports_type):
4013 (g_app_info_remove_supports_type):
4014 Make these fail nicely if not implemented
4016 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4018 * gio/glocalfileoutputstream.c:
4019 * gio/glocalfileoutputstream.h:
4024 * programs/gio-save.c:
4025 Add a GFileCreateFlags argument to operations that can create
4028 2007-10-01 Alexander Larsson <alexl@redhat.com>
4030 * gio/gappinfo.[ch]:
4031 * gio/gdesktopappinfo.c:
4032 Add more (stubbed out) mime API needed for nautilus
4034 2007-10-01 Alexander Larsson <alexl@redhat.com>
4037 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4038 Add g_app_info_set_as_default_for_extension.
4040 * gio/gdesktopappinfo.c:
4041 Dummy for g_app_info_set_as_default_for_extension
4042 Support flags in g_app_info_create_from_commandline
4044 * gio/gwin32appinfo.c:
4046 Update for API changes
4048 * gio/gthemedicon.c:
4049 Properly NULL-terminate list of icon names
4051 2007-09-28 Alexander Larsson <alexl@redhat.com>
4053 * gio/gloadableicon.h:
4054 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4056 2007-09-28 Alexander Larsson <alexl@redhat.com>
4059 Install headers in $includedir/gio-standalone/
4061 * gio-2.0.pc.in: Added.
4062 * gio-standalone.pc.in: Removed.
4065 Renamed pkg-config file to match glib (for future move)
4066 Update to the new include dir
4069 Add more TODO comments
4071 2007-09-28 Alexander Larsson <alexl@redhat.com>
4073 * gio/gdesktopappinfo.[ch]:
4074 Expose new_from_filename
4075 Add getter for is_hidden and handle it better
4077 2007-09-28 Alexander Larsson <alexl@redhat.com>
4079 * gio/gfileinfo.[ch]:
4080 Rename g_file_size_format_for_display to
4081 g_format_file_size_for_display.
4082 Now it doesn't have the g_file prefix, so we
4083 can later move it to glib.
4085 2007-09-28 Alexander Larsson <alexl@redhat.com>
4087 * gio/gappinfo.[ch]:
4088 Add g_app_info_get_id and g_app_info_get_executable.
4089 Make all getters non-reffing
4090 Make g_app_info_launch take GFile arguments.
4091 Add must_support_uris argument to g_app_info_get_default_for_type.
4093 * gio/gwin32appinfo.c:
4094 Update to GAppInfo api changes
4096 * gio/gdesktopappinfo.c:
4097 Update to GAppInfo api changes
4098 Implement supports_xdg_startup_notify
4100 * gio/gfileicon.c (g_file_icon_get_file):
4101 Make getter non-reffing.
4106 2007-09-27 Alexander Larsson <alexl@redhat.com>
4108 * gio/gfileinfo.[ch]:
4109 Add g_file_size_format_for_display helper
4111 2007-09-27 Alexander Larsson <alexl@redhat.com>
4113 * gio/glocalfileinfo.c:
4114 Set UNIX_GID from gid, not from uid
4116 2007-09-27 Alexander Larsson <alexl@redhat.com>
4119 Add g_file_set_attributes_async
4121 2007-09-27 Alexander Larsson <alexl@redhat.com>
4123 * gio/glocalfile.c (g_local_file_set_display_name):
4124 Fix set_display_name to actually rename to the right place.
4125 Use lstat to look for existing files so we don't overwrite
4128 2007-09-26 Alexander Larsson <alexl@redhat.com>
4131 Add g_file_set_display_name_async()
4133 2007-09-26 Alexander Larsson <alexl@redhat.com>
4136 Add load_partial_contents async calls
4139 Make internal function static
4141 2007-09-26 Alexander Larsson <alexl@redhat.com>
4143 * gio/glocalfileinfo.c:
4144 Correctly detect broken symlinks
4146 2007-09-26 Alexander Larsson <alexl@redhat.com>
4148 * gio/gcancellable.c (g_cancellable_cancel):
4149 Allow cancel on NULL cancellable
4151 2007-09-25 Alexander Larsson <alexl@redhat.com>
4153 * gio/gsimpleasyncresult.c:
4154 Don't allocate g_error manually.
4155 Fixes g_slice/g_new mixup crash
4157 2007-09-25 Alexander Larsson <alexl@redhat.com>
4159 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4160 Actually set active_backend.
4161 This means the monitor will be cancelled correctly.
4163 2007-09-25 Alexander Larsson <alexl@redhat.com>
4165 * gio/gdirectorymonitor.c:
4166 Set timeout to NULL when destroying
4168 2007-09-25 Alexander Larsson <alexl@redhat.com>
4171 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4172 that is a better description of the error.
4174 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4176 * gio/gvfs.c: (g_vfs_get_local):
4177 Make the local vfs variable static. The same instance should
4180 2007-09-24 Alexander Larsson <alexl@redhat.com>
4182 * gio/glocalfileinfo.c:
4183 Pass in actual length read into sniffer, not the length
4186 2007-09-21 Alexander Larsson <alexl@redhat.com>
4188 * gio/gfileenumerator.c:
4191 * gio/gfileinputstream.c:
4192 * gio/gfileoutputstream.c:
4193 * gio/ginputstream.c:
4194 * gio/goutputstream.c:
4195 Don't crash if async callbacks are NULL
4197 2007-09-20 Alexander Larsson <alexl@redhat.com>
4200 Add async enumerate_children method and default
4203 2007-09-20 Alexander Larsson <alexl@redhat.com>
4206 Add g_file_contains_file & g_file_get_relative_path, since they
4207 were needed for nautilus.
4208 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4213 Implement new methods
4215 2007-09-17 Alexander Larsson <alexl@redhat.com>
4218 * gio/gfileinputstream.[ch]:
4219 * gio/gfileoutputstream.[ch]:
4221 * gio/glocalfileenumerator.[ch]:
4222 * gio/glocalfileinfo.[ch]:
4223 * gio/glocalfileinputstream.c:
4224 * gio/glocalfileoutputstream.c:
4225 * gio/gpollfilemonitor.c:
4226 * programs/gio-copy.c:
4227 * programs/gio-info.c:
4228 * programs/gio-move.c:
4229 Rename get_file_info to query_info() to make it clearer
4230 that these are not simple getters, but do i/o.
4232 2007-09-17 Alexander Larsson <alexl@redhat.com>
4234 * gio/gdatainputstream.[ch]:
4235 * gio/test-streams.c:
4236 Use _read_XXX instead of _get_XXX for the i/o calls
4239 2007-09-17 Alexander Larsson <alexl@redhat.com>
4242 Added needed stuff to TODO comment
4244 2007-09-17 Alexander Larsson <alexl@redhat.com>
4246 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4247 Don't error out removing the backup copy if it doesn't
4250 2007-09-14 Alexander Larsson <alexl@redhat.com>
4252 * programs/Makefile.am:
4253 * programs/gvfs-*.c:
4255 Renamed apps from gvfs-xxx to gio-xxx.
4257 2007-09-14 Alexander Larsson <alexl@redhat.com>
4260 * gio/gfileoutputstream.[ch]:
4261 * gio/glocalfileoutputstream.c:
4262 * programs/gvfs-save.c:
4263 g_file_output_stream_get_etag doesn't do i/o, so remove
4264 cancellation and error.
4266 2007-09-14 Alexander Larsson <alexl@redhat.com>
4269 Add new_etag output to replace_contents functions
4271 2007-09-14 Alexander Larsson <alexl@redhat.com>
4273 * gio/gfileoutputstream.[ch]:
4274 Add async get_file_info and default implementation
4276 2007-09-14 Alexander Larsson <alexl@redhat.com>
4278 * gio/gfileinputstream.c:
4279 Implement fallback wrapper for async get_file_info
4281 2007-09-14 Alexander Larsson <alexl@redhat.com>
4284 Add etag out argument to load_contents
4289 2007-09-14 Alexander Larsson <alexl@redhat.com>
4291 * gio/gcontenttype.c (looks_like_text):
4292 Whitespace like tab, cr and lf do not make the
4295 2007-09-14 Alexander Larsson <alexl@redhat.com>
4297 * gio/gfileinputstream.[ch]:
4298 Add async get_file_info.
4300 2007-09-13 Alexander Larsson <alexl@redhat.com>
4302 * gio/goutputstream.c (g_output_stream_write_all):
4303 Allow NULL for bytes_written
4305 2007-09-13 Alexander Larsson <alexl@redhat.com>
4307 * gio/gmemoryinputstream.[ch]:
4308 Add accessors for data
4310 2007-09-13 Alexander Larsson <alexl@redhat.com>
4312 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4313 Don't crash if length is NULL