1 2008-06-16 Christian Persch <chpe@gnome.org>
4 * gio/gbufferedinputstream.c
6 * gio/gdatainputstream.c
7 * gio/gdesktopappinfo.c
9 * gio/gfileenumerator.c
10 * gio/gfileinputstream.c
11 * gio/gfileoutputstream.c
13 * gio/glocaldirectorymonitor.c
15 * gio/glocalfileenumerator.c
16 * gio/glocalfileinfo.c
17 * gio/glocalfilemonitor.c
18 * gio/glocalfileoutputstream.c
19 * gio/gmemoryinputstream.c
20 * gio/gmemoryoutputstream.c
22 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
25 2008-06-16 Tor Lillqvist <tml@novell.com>
27 Bug 538362 - Get Win32 icons back in the file chooser
29 * gcontenttype.c (g_content_type_get_icon): Look up the icon
30 corresponding to a file extension in the Registry. Patch by Hans
32 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
34 2008-06-16 Tor Lillqvist <tml@novell.com>
36 Patches by Hans Breuer:
38 * glocalfile.c (is_xp_or_later): Handle compiling against older
39 SDK headers with missing VerifyVersionInfo(). Conditioned on
40 _MSC_VER, but should probably use some better test.
41 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
42 uninitialised statfs_result variable on Win32.
44 2008-06-16 Michael Natterer <mitch@imendio.com>
46 * *.c: chain up unconditionally in finalize() and dispose(). Also
47 don't dereference these function pointers when calling them since
48 that has no meaning at all.
50 2008-06-16 Ross Burton <ross@burtonini.com>
53 Remove check for dispose implementation as it annoys Emmanuele.
55 2008-06-16 Ross Burton <ross@burtonini.com>
57 Bug 536252 – GFileEnumerator should allow access to the containing
63 Add g_file_enumerator_get_container() and a container writeable
64 construct-only property. Also shuffle around typedefs to make it
67 * glocalfileenumerator.c:
68 * glocalfileenumerator.h:
70 Instead of a string filename take a GFile in the constructor and
71 use it to set the container property.
76 2008-06-16 Matthias Clasen <mclasen@redhat.com>
78 * gfile.c: Make includes more uniform
80 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
82 * tests/live-g-file.c (sample_struct):
83 Use less fancy unicode filenames, so the test doesn't fail
84 on Mac OS X (#531476).
86 2008-06-12 Matthias Clasen <mclasen@redhat.com>
88 * === Released 2.17.2 ===
90 2008-06-12 Matthias Clasen <mclasen@redhat.com>
92 * === Released 2.17.1 ===
94 2008-06-11 A. Walton <awalton@gnome.org>
96 * tests/g-file.c (test_g_file_new_null):
99 2008-06-11 Matthias Clasen <mclasen@redhat.com>
101 * pltcheck.sh: We use g_clear_error now.
103 2008-06-11 Matthias Clasen <mclasen@redhat.com>
105 * glocalfile.c (g_local_file_enumerate_children): Revert
106 an unintended change.
108 2008-06-11 Matthias Clasen <mclasen@redhat.com>
110 * gfile.c (g_file_replace_contents): Don't unref before the last use.
112 2008-06-10 Matthias Clasen <mclasen@redhat.com>
114 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
117 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
118 as icon for the desktop directory, also make user-home and
119 user-desktop the preferred icons.
121 2008-06-10 Matthias Clasen <mclasen@redhat.com>
124 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
125 to add a name to the front of the list.
127 2008-06-10 Matthias Clasen <mclasen@redhat.com>
129 Bug 537392 – Additional colon in xattr name
131 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
132 too. Reported by Alessandro Morandi
134 2008-06-10 Matthias Clasen <mclasen@redhat.com>
136 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
139 * glocalfile.c (get_fs_type): Add afs and autofs.
140 Patch by Danny Baumann.
142 2008-06-10 Matthias Clasen <mclasen@redhat.com>
144 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
146 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
147 is no parent. (Owen Taylor, patch by Christian Neumair)
149 2008-06-10 Paolo Borelli <pborelli@katamail.com>
151 * gfile.c (g_file_replace_contents): do not leak the output stream.
153 2008-06-10 Michael Natterer <mitch@imendio.com>
155 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
156 uninitialized memory as array index.
158 2008-06-10 Tor Lillqvist <tml@novell.com>
160 * gcontenttype.c (g_content_type_can_be_executable)
161 (g_content_type_get_icon) [Win32]: Add TODO comments.
163 2008-06-09 Matthias Clasen <mclasen@redhat.com>
165 * xdgmime/Makefile.am: Fix the build
167 2008-06-09 Matthias Clasen <mclasen@redhat.com>
169 * gcontenttype.c (g_content_type_get_icon): Use icons specified
170 in the shared mime database, if available.
172 * xdgmime/*: Sync with upstream. This brings support for
173 glob weights, generic icons, and changes the cache format to
176 2008-05-28 Michael Natterer <mitch@imendio.com>
178 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
179 the global CPPFLAGS now.
181 * tests/data-input-stream.c
182 * tests/data-output-stream.c
183 * tests/g-file-info.c
185 * tests/live-g-file.c
186 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
188 2008-05-27 Matthias Clasen <mclasen@redhat.com>
190 * === Released 2.17.0 ===
192 * tests/live-g-file.c: Clean up after the tests, so make distcheck
193 doesn't complain about leftover files.
195 2008-05-27 simon.zheng <simon.zheng@sun.com>
197 * glocalfile.c: (g_local_file_query_filesystem_info):
198 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
200 2008-05-26 Michael Natterer <mitch@imendio.com>
202 * gmemoryoutputstream.h: declare
203 g_memory_output_stream_get_data_size().
205 2008-05-26 Matthias Clasen <mclasen@redhat.com>
207 * tests/*: Make tests work
209 2008-05-26 Matthias Clasen <mclasen@redhat.com>
211 * gio.symbols: Add g_memory_output_stream_get_data_size.
213 2008-05-25 Ross Burton <ross@burtonini.com>
216 Fix typo in error message (#534764).
218 2008-05-25 Ross Burton <ross@burtonini.com>
221 Fix circular dependency loop for gioenumtypes.h (#534759).
223 2008-05-19 Hans Breuer <hans@breuer.org>
225 * Makefile.am : EXTRA_DIST += makefile.msc
227 2008-05-17 Matthias Clasen <mclasen@redhat.com>
230 * gcontenttype.c: (g_content_type_from_mime_type):
231 New function to create a content type from a mime type. (#527175,
234 2008-05-17 Matthias Clasen <mclasen@redhat.com>
236 Bug 532965 – Should not return filesystem::free for certain file systems
238 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
239 free space for ncpfs.
241 2008-05-17 Matthias Clasen <mclasen@redhat.com>
243 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
245 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
246 st_dev might be zero.
248 2008-05-16 Tor Lillqvist <tml@novell.com>
250 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
251 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
253 2008-05-13 Bastien Nocera <hadess@hadess.net>
255 * gfile.c (has_valid_scheme): A URI scheme must start with a
256 letter, even if later more characters are allowed (#532852)
258 2008-05-05 Michael Natterer <mitch@imendio.com>
260 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
261 code from being checked in that breaks the build of applications
262 which use G_DISABLE_SINGLE_INCLUDES.
264 * makegioalias.pl: make the alias file include "glib.h" instead of
267 * gio.symbols: whitespace change to force regeneration of the
268 alias file after above script change.
270 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
272 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
274 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
276 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
278 2008-04-28 David Zeuthen <davidz@redhat.com>
280 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
281 displaying mounts in a subdirectory not accessible to the
284 2008-04-22 Michael Natterer <mitch@imendio.com>
286 * Makefile.am: fix library versioning (it was 0.0.0).
288 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
290 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
291 Default disable all loggings.
292 * fen/fen-kernel.c: (printevent), (port_add_kevent),
293 (port_fetch_event_cb): Fixed two macro nits.
295 2008-04-16 Matthias Clasen <mclasen@redhat.com>
297 * xdgmime/xdgmime.c: Rework the timestamp checking code
298 to protect against duplicate directories in XDG_DATA_DIRS.
299 Fixes fd.o bug 12513, reported by Joe Shaw.
301 2008-04-16 Matthias Clasen <mclasen@redhat.com>
303 Partically revert the last commit after realizing that
304 xdg_mime_media_type_equal doesn't have to init at all.
307 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
309 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
311 2008-04-16 Matthias Clasen <mclasen@redhat.com>
313 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
314 reported by Joe Shaw and Federico Mena Quintero.
316 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
317 (xdg_mime_media_type_equal): Turn into a wrapper around the
320 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
321 functions throughout.
323 2008-04-16 Michael Meeks <michael.meeks@novell.com>
325 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
326 tolerate an empty TryExec= line without failing; nautilus used
327 to create launchers with these in previous versions. Fixes #528433
329 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
331 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
332 after name. Fixes #527132.
334 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
336 * gfile.c: (g_file_replace):
339 2008-04-07 Matthias Clasen <mclasen@redhat.com>
341 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
343 * gfile.c (file_copy_fallback): Fix the argument order. Patch
344 by Christian Kellner.
346 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
348 * gunixmounts.c: (g_unix_mount_guess_should_display):
349 Don't list the user directory as a mount, fix potential issue
350 when other users have a similar naming and don't special case the
351 gvfs mounts there since that's not required (#525866)
353 2008-03-31 Alexander Larsson <alexl@redhat.com>
355 * glocalfile.c (get_parent):
358 2008-03-31 A. Walton <awalton@svn.gnome.org>
360 * gfile.c (g_file_query_file_type):
361 Always return a GFileType enum value (#520715).
363 2008-03-31 Alexander Larsson <alexl@redhat.com>
365 * glocalfileenumerator.c:
366 Read readdir() info in chunks (of 1000) and sort
367 the chunks by inode before stat:ing.
368 This is a 20% performance increase in testing
369 gvfs-ls on /usr/bin with cold cache.
371 2008-03-31 Alexander Larsson <alexl@redhat.com>
373 * gmemoryoutputstream.c:
374 Clarify docs for g_memory_output_stream_get_size.
375 Add g_memory_output_stream_get_data_size.
377 2008-03-30 Matthias Clasen <mclasen@redhat.com>
381 * gfile.h: Add g_file_query_file_type convenience function
382 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
384 2008-03-30 Matthias Clasen <mclasen@redhat.com>
387 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
389 2008-03-28 A. Walton <awalton@svn.gnome.org>
391 * giomodule.c (_g_io_modules_ensure_loaded):
392 Adds GIO_EXTRA_MODULES environment variable support, closing bug
395 2008-03-28 Alexander Larsson <alexl@redhat.com>
398 (copy_stream_with_progress):
401 2008-03-28 Alexander Larsson <alexl@redhat.com>
404 (copy_stream_with_progress):
405 (file_copy_fallback):
406 Fallback to g_file_query_info for source size
407 if g_file_input_stream_query_info fails. (#524579)
409 2008-03-28 Alexander Larsson <alexl@redhat.com>
411 * glocalfile.c (g_local_file_move):
412 Reuse old string instead of adding new one.
414 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
416 * fen/*.[hc]: still copyright issue. I hate copyright.
418 2008-03-27 Alexander Larsson <alexl@redhat.com>
420 * glocalfile.c (g_local_file_move):
421 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
422 file over directory. This is according to the docs and what the move via
423 copy+remove fallback does.
425 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
427 * fen/*.[hc]: Updated copyright.
429 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
431 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
433 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
435 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
436 not emit attribute changed events when optimizing changed events.
437 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
440 2008-03-19 Matthias Clasen <mclasen@redhat.com>
442 * gmountoperation.[hc]: Small documentation additions
444 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
446 * gunixmounts.c: (guess_mount_type):
447 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
449 2008-03-19 Alexander Larsson <alexl@redhat.com>
452 (copy_stream_with_progress):
453 Bump block side for copy to 64k to minimize
454 overhead for low latency links. (#523015)
456 2008-03-16 Tor Lillqvist <tml@novell.com>
458 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
459 depend on gio.def on Windows.
461 2008-03-12 David Zeuthen <davidz@redhat.com>
465 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
467 2008-03-14 Alexander Larsson <alexl@redhat.com>
471 Avoid redudant tests (#521851)
472 Patch from Josselin Mouette
474 2008-03-14 Alexander Larsson <alexl@redhat.com>
477 (g_file_monitor_is_cancelled):
478 Fix C89 issue (#521672)
479 Patch from Jens Granseuer
481 2008-03-14 Alexander Larsson <alexl@redhat.com>
483 * fam/fam-helper.[ch]:
485 Shut down fam (including removing fam GSource) when
486 module is unloaded (#521513)
487 Patch from Joe Marcus Clarke
489 2008-03-14 Alexander Larsson <alexl@redhat.com>
492 (_g_io_modules_ensure_loaded):
495 2008-03-14 Alexander Larsson <alexl@redhat.com>
498 (g_local_file_query_filesystem_info):
499 Use right define name for f_fstypename member check
501 2008-03-14 Alexander Larsson <alexl@redhat.com>
504 * fen/Makefile.am: Added.
505 * fen/fen-data.[ch]: Added.
506 * fen/fen-dump.[ch]: Added.
507 * fen/fen-helper.[ch]: Added.
508 * fen/fen-kernel.[ch]: Added.
509 * fen/fen-missing.[ch]: Added.
510 * fen/fen-node.[ch]: Added.
511 * fen/fen-sub.[ch]: Added.
512 * fen/gfendirectorymonitor.[ch]: Added.
513 * fen/gfenfilemonitor.[ch]: Added.
515 Added Solaris FEN file notification backend.
516 Patch from Lin Ma <Lin.Ma@Sun.COM>
518 2008-03-13 Tor Lillqvist <tml@novell.com>
520 * Makefile.am: Actually use the gio.def file when linking the
521 library on Windows. Produce .lib library for Microsoft's toolchain
522 when possible. Install the .lib and .def file like for the other
525 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
527 * tests/live-g-file.c:
528 Include live-g-file in standard set of tests, making a temporary
529 directory in source structure.
531 Clean target directory before the tests (write mode only)
533 2008-03-12 Tor Lillqvist <tml@novell.com>
535 Bug 517419 - gio win32 directory monitor
536 Implementation by Vlad Grecescu.
539 * win32/gwin32directorymonitor.h
540 * win32/gwin32directorymonitor.c: New files.
542 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
544 * Makefile.am: Add the win32 subdirectory.
546 2008-03-12 Tor Lillqvist <tml@novell.com>
548 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
549 normal struct stat on Unix but struct _stati64 on Windows to have
550 access to 64-bit file size information. Use that instead of struct
551 stat in the functions declared here in this private header.
553 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
554 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
555 warnings about unused functions and variables. Don't set
556 meaningless attributes like inode numbers on Windows.
558 2008-03-12 Benjamin Otte <otte@gnome.org>
561 trim whitespace so gtk-doc groks the function name
563 2008-03-12 Tor Lillqvist <tml@novell.com>
565 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
566 returning FALSE, on Win32.
568 2008-03-11 Alexander Larsson <alexl@redhat.com>
571 * glocalfileinfo.[ch]:
572 Correctly implement can_trash by actually
573 looking for a trash dir, not just assuming
576 2008-03-10 Matthias Clasen <mclasen@redhat.com>
578 * === Released 2.16.1 ===
580 2008-03-11 Alexander Larsson <alexl@redhat.com>
583 Fix crashes in new constructor and properties code
585 2008-03-10 Murray Cumming <murrayc@murrayc.com>
587 * gfile.c: Minor spelling correction in documentation:
588 existance -> existence.
590 2008-03-10 Matthias Clasen <mclasen@redhat.com>
592 * === Released 2.16.0 ===
594 2008-03-10 Matthias Clasen <mclasen@redhat.com>
596 * gio.symbols: Remove g_file_contains_file here, too.
598 2008-03-10 Matthias Clasen <mclasen@redhat.com>
600 * gthemedicon.c: Add properties to make bindings happy. (#517676,
601 Samuel Cormier-Iijima)
603 2008-03-08 Tor Lillqvist <tml@novell.com>
605 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
608 2008-03-07 Alexander Larsson <alexl@redhat.com>
611 (g_local_file_query_filesystem_info):
612 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
613 Patch from Jasper Lievisse Adriaanse
615 2008-03-06 Tor Lillqvist <tml@novell.com>
617 * gfileinfo.h: Correct milliseconds to microseconds in the doc
618 comments for the *_USEC attributes.
620 2008-03-06 Alexander Larsson <alexl@redhat.com>
622 * gfile.c (g_file_query_exists):
623 Add g_return_val_if_fail check (#520700)
625 2008-03-06 Alexander Larsson <alexl@redhat.com>
630 * gunionvolumemonitor.c:
633 * tests/live-g-file.c:
634 * xdgmime/xdgmimecache.c:
635 Fix sparse warnings (#519489)
637 2008-03-05 Alexander Larsson <alexl@redhat.com>
640 Make cancellation threadsafe (i.e.
641 guarantee its only done once, and always
644 * glocaldirectorymonitor.c:
645 Make sure we the monitor lives while the
646 mounts_changed callback is being called (#520484)
648 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
650 * gbufferedinputstream.c: Fix typo in parameter
653 2008-03-04 Alexander Larsson <alexl@redhat.com>
656 Remove deprecated symbols we kept for one release.
658 2008-03-04 Murray Cumming <murrayc@murrayc.com>
661 * goutputstream.c: Tiny documentation corrections.
663 2008-03-03 Alexander Larsson <alexl@redhat.com>
665 * gunionvolumemonitor.c:
667 Fix the adopt_orphan_mount vfunc to take a
668 volume_monitor reference in an ABI compat way.
669 This change is not API compat, but the added
670 arg is not used in the only user of this vfunc, so
671 all we get is a harmless warning in gvfs (#520169)
673 2008-03-01 Benjamin Otte <otte@gnome.org>
676 clarify docs for g_file_delete().
678 2008-02-29 Alexander Larsson <alexl@redhat.com>
682 Make sure empty files get text/plain type (#518720)
684 2008-02-27 Alexander Larsson <alexl@redhat.com>
690 (g_unix_volume_mount):
691 Add missing GMountMountFlags argument
693 2008-02-26 Alexander Larsson <alexl@redhat.com>
696 (g_local_file_delete):
697 Handle filesystems (like ntfs-3g) that return EEXIST instead
698 of ENOTEMPTY (#518816)
700 2008-02-25 Matthias Clasen <mclasen@redhat.com>
702 * === Released 2.15.6 ===
704 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
706 * gfile.c (g_file_find_enclosing_mount):
707 * ginputstream.c (g_input_stream_set_pending):
708 * glocalfile.c (g_local_file_find_enclosing_mount):
709 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
710 * goutputstream.c (g_output_stream_set_pending):
712 Fixup translator comments (#518578).
714 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
716 * gfile.c (g_file_find_enclosing_mount):
718 * glocalfile.c (g_local_file_find_enclosing_mount):
721 Fix a few typos in translator comments and documentation.
723 2008-02-25 Alexander Larsson <alexl@redhat.com>
730 Add translator comments (#518578)
732 2008-02-25 Alexander Larsson <alexl@redhat.com>
735 Reintroduce g_file_contains_file, keep around for one
736 unstable release cycle to avoid crashing to many apps.
737 Make sure to delete after release.
739 2008-02-25 Alexander Larsson <alexl@redhat.com>
742 Remove deprecated g_file_contains_file.
744 2008-02-25 Alexander Larsson <alexl@redhat.com>
747 Emit actual change signals in an idle handler.
748 This avoids reentrance and locking problems in
749 the file notification backends.
751 2008-02-25 Alexander Larsson <alexl@redhat.com>
754 (g_unix_mount_guess_should_display):
755 Remove type guessing, instead just display
756 mounts in /media and in ~/.
758 2008-02-25 Alexander Larsson <alexl@redhat.com>
761 Make new strings reuse old ones.
763 2008-02-25 Alexander Larsson <alexl@redhat.com>
766 Implement trashing and filesystem::readonly for win32 (#517235)
767 Patch from Yevgen Muntyan
769 2008-02-23 Matthias Clasen <mclasen@redhat.com>
771 * gfileinfo.h: Documentation fixes.
773 2008-02-22 Alexander Larsson <alexl@redhat.com>
775 * gcontenttype.c (g_content_type_get_icon):
776 Look at old-style gnome mime icon names too, as many
777 have not moved to the new style.
779 2008-02-21 Matthias Clasen <mclasen@redhat.com>
781 * *.c: Correct the @include in for section docs.
783 2008-02-21 David Zeuthen <davidz@redhat.com>
785 * glocalfileinfo.c: (_g_local_file_info_get):
787 (g_content_type_get_icon): Implement this function by
788 moving bits from glocalfileinfo.c
789 (g_content_type_get_description): Unalias before getting
790 description (#517687)
792 * gfile.c: (g_file_class_init),
793 (g_file_query_filesystem_info_async),
794 (g_file_query_filesystem_info_finish),
795 (query_filesystem_info_data_free),
796 (query_filesystem_info_async_thread),
797 (g_file_real_query_filesystem_info_async),
798 (g_file_real_query_filesystem_info_finish):
799 * gfile.h: Implement async version of
800 g_file_query_filesystem_info()
802 * gfileinfo.h: Add new attributes for filesystem::use-preview
804 * gio.symbols: Update
806 * gthemedicon.c: (g_themed_icon_append_name):
807 * gthemedicon.h: Add new new convenience function.
809 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
810 (get_mounts), (get_volumes), (get_connected_drives),
811 (get_volume_for_uuid), (get_mount_for_uuid),
812 (g_union_volume_monitor_init), (populate_union_monitor),
813 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
814 (g_volume_monitor_adopt_orphan_mount):
816 * gvolumemonitor.h: Use recursive locks so it's safe for volume
817 monitor implementations to call into the main volume monitor. Also
818 separate object initialization and volume monitor initialization
819 such that non-native volume monitors can properly adopt their
822 2008-02-21 Alexander Larsson <alexl@redhat.com>
827 2008-02-21 Alexander Larsson <alexl@redhat.com>
830 Add more documentation about how GFiles work (from #517086)
832 2008-02-21 Alexander Larsson <alexl@redhat.com>
836 Add new g_file_has_prefix that does the same as g_file_contains_file.
837 Deprecate g_file_contains_file and add a macro that converts
838 it to g_file_has_prefix.
839 The reason for this change is that the contains_file() name seems to
840 imply that this does more work than what it does, but its really only
841 a name match (from #517086)
846 Update to match the above change.
848 2008-02-20 Benjamin Otte <otte@gnome.org>
850 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
851 (g_file_eject_mountable):
852 even more cases of not returning in error path
854 2008-02-20 Benjamin Otte <otte@gnome.org>
856 * gfile.c: (g_file_mount_mountable):
857 return from function in error path.
859 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
862 Remove trailing coma in GMountMountFlags struct
864 2008-02-18 Alexander Larsson <alexl@redhat.com>
868 * glocalfileoutputstream.c:
869 Use g_unlink/g_rename instead of unlink/rename;
870 do not pass raw filenames to g_set_error. (#517239)
871 Patch from Yevgen Muntyan.
873 2008-02-18 Alexander Larsson <alexl@redhat.com>
876 * glocalfileoutputstream.c:
877 Open files with O_BINARY on windows. (#517140)
879 2008-02-14 Alexander Larsson <alexl@redhat.com>
881 * glocalfileoutputstream.c:
882 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
884 2008-02-14 Alexander Larsson <alexl@redhat.com>
887 Copy permissions with file on copy (#514084)
888 This is what cp does and makes sure e.g. the
889 exec permissions are kept.
890 Its kinda weird in that it keeps the permission bits
891 the same while the uid and gid are different. However
892 the new uid is the user so its not a security issue,
893 and I've heard no complaints about cp on this issue.
895 2008-02-13 Ryan Lortie <desrt@desrt.ca>
897 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
899 2008-02-13 Alexander Larsson <alexl@redhat.com>
901 * inotify/inotify-path.c:
902 Define IN_ONLYDIR if not in header (#515346)
904 2008-02-12 Alexander Larsson <alexl@redhat.com>
906 * tests/live-g-file.c:
909 2008-02-11 Matthias Clasen <mclasen@redhat.com>
911 * === Released 2.15.5 ===
913 2008-02-11 Matthias Clasen <mclasen@redhat.com>
915 * gio.symbols: Add g_mount_mount_flags_get_type.
917 2008-02-11 Alexander Larsson <alexl@redhat.com>
920 (g_file_info_set_attribute_mask):
921 (g_file_attribute_matcher_matches_id):
922 Correctly handle NULL GAttributeMatcher meaning
923 matches nothing. (Fixes #513492)
925 2008-02-11 Alexander Larsson <alexl@redhat.com>
930 Added GMountMountFlags enum and added a flags
931 argument to all mount calls.
933 This is an API/ABI change for future extensibility,
934 as I think we will need at least an
935 inhibit-autorun flag (the panel needs this).
936 There are no flags defined yet though.
938 2008-02-11 Alexander Larsson <alexl@redhat.com>
941 Added new standard::description attribute.
942 Requested by Vincent, and useful for both
945 2008-02-11 Alexander Larsson <alexl@redhat.com>
950 2008-02-11 Matthias Clasen <mclasen@redhat.com>
952 * *.c: Documentation additions
954 2008-02-10 Matthias Clasen <mclasen@redhat.com>
956 * gappinfo.h: Formatting cleanup
957 * gappinfo.c: Fix up docs.
959 2008-02-09 Matthias Clasen <mclasen@redhat.com>
961 * gunixmounts.c: Consistently use getmntent_r() and fall
962 back to getmntent(). (#515492)
964 2008-02-09 Matthias Clasen <mclasen@redhat.com>
966 * gbufferedinputstream.c:
968 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
970 * tests/data-input-stream.c:
971 * tests/data-output-stream.c: Portability fixes.
973 2008-02-08 Alexander Larsson <alexl@redhat.com>
978 Add g_volume_should_automount.
981 2008-02-07 Tor Lillqvist <tml@novell.com>
983 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
984 Win32, too Unix-specific.
986 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
988 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
989 a local plt if the compiler doesn't support what we want. Bug #514702
991 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
993 reviewed by: <delete if not using a buddy>
996 * gunixinputstream.c:
997 * gunixoutputstream.c:
999 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1001 * tests/Makefile.am:
1002 * tests/live-g-file.c:
1003 * tests/live-g-file.txt:
1004 New GIO testing module working over real data
1006 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1008 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1009 Fallback to rename() if link() is not available
1010 (when no support on target filesystem)
1012 2008-02-06 Michael Natterer <mitch@imendio.com>
1014 * gfileinfo.c (g_file_info_get_icon): replace
1015 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1017 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1019 * gfile.c (g_file_create):
1020 Documentation update of error codes
1022 2008-02-06 Alexander Larsson <alexl@redhat.com>
1024 * gdesktopappinfo.c:
1025 Update to use both mimeapps.list and
1026 defaults.list as discussed on xdg list.
1028 2008-02-06 Benjamin Otte <otte@gnome.org>
1031 * gfilenamecompleter.c:
1032 Fix some typos in the documentation.
1034 2008-02-06 Alexander Larsson <alexl@redhat.com>
1036 * glocalfile.c (g_local_file_trash):
1037 Don't succeed with trash if newly created
1038 trash dir has the wrong owner. (#514696)
1040 2008-02-05 Alexander Larsson <alexl@redhat.com>
1042 * glocalfile.c (g_local_file_move):
1043 Don't spew warnings when destination is not
1046 2008-02-03 Hans Breuer <hans@breuer.org>
1048 * makefile.msc : update
1050 2008-02-01 Michael Natterer <mitch@imendio.com>
1052 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1053 return value of xdg_mime_list_mime_parents() to a variable of the
1056 2008-02-01 Alexander Larsson <alexl@redhat.com>
1058 * gappinfo.c (g_app_info_launch_uris):
1059 Actually call the launch_uris method, not
1062 2008-02-01 Alexander Larsson <alexl@redhat.com>
1064 * gdesktopappinfo.c (g_desktop_app_info_equal):
1065 Ensure appinfos with no id but same pointer value
1068 2008-02-01 Alexander Larsson <alexl@redhat.com>
1070 * gappinfo.c (g_app_info_launch_default_for_uri):
1073 2008-02-01 Alexander Larsson <alexl@redhat.com>
1077 Add g_app_info_launch_default_for_uri utility
1080 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1082 * gdesktopappinfo.c:
1083 Doc fix for g_app_info_get_default_for_uri_scheme ()
1086 2008-01-30 Alexander Larsson <alexl@redhat.com>
1089 Add doc comment about uris vs GFiles to
1092 * gdesktopappinfo.c:
1093 Ensure uris passed to g_app_info_launch_uris()
1094 are not roundtriped through GFile (as that
1095 may be slightly destructive for e.g. mailto: links)
1097 2008-01-30 Alexander Larsson <alexl@redhat.com>
1099 * tests/data-input-stream.c:
1100 * tests/data-output-stream.c:
1101 C89 fixes from Jens Granseuer (#512849)
1103 2008-01-30 Alexander Larsson <alexl@redhat.com>
1106 Fix gamin/fam difference build issue. (#509419)
1108 2008-01-29 Alexander Larsson <alexl@redhat.com>
1111 * gdesktopappinfo.c:
1112 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1114 2008-01-29 Alexander Larsson <alexl@redhat.com>
1116 * gdesktopappinfo.c:
1117 * gdesktopappinfo.h:
1118 giomodule-priv.h include moved to .c file.
1120 2008-01-29 Alexander Larsson <alexl@redhat.com>
1122 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1123 Remove unused prio/name fields.
1125 2008-01-29 Alexander Larsson <alexl@redhat.com>
1127 * gcontenttype.c (looks_like_text):
1128 Don't treat whitespace as control chars.
1130 2008-01-29 Alexander Larsson <alexl@redhat.com>
1132 * gdesktopappinfo.c:
1133 Lazily create the desktop files for appinfos created
1134 by g_app_info_create_from_commandline() when needed
1135 for mime associations. This allows run-time use
1136 of GAppInfo object without creating unnecessary
1139 2008-01-29 Alexander Larsson <alexl@redhat.com>
1142 Added new symbols to gio.symbols
1144 2008-01-29 Alexander Larsson <alexl@redhat.com>
1147 Add g_file_query_default_handler utility to easily look up
1148 the GAppInfo that handles a file.
1150 * gdesktopappinfo.[ch]:
1152 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1155 Remove unused function
1157 2008-01-29 Alexander Larsson <alexl@redhat.com>
1159 * gfileenumerator.c:
1160 Mention need to free returned value in
1161 g_file_enumerator_next_files_finish docs.
1162 Fix leak if g_file_enumerator_next_files_finish()
1165 2008-01-29 Alexander Larsson <alexl@redhat.com>
1168 (_g_unix_content_type_get_parents):
1169 Use list_parents, not get_parents from xdgmime, because
1170 the later doesn't use the cache.
1172 * xdgmime/xdgmimecache.c:
1173 (_xdg_mime_cache_list_mime_parents):
1174 Don't list the same type as parent multiple times.
1176 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1178 * === Released 2.15.4 ===
1180 2008-01-28 Alexander Larsson <alexl@redhat.com>
1183 Register local vfs with prio 0.
1186 Remove old name and prio class members
1188 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1190 * tests/g-file.c: Disable some tests that are failing in
1191 the absence of a http backend.
1193 2008-01-28 Alexander Larsson <alexl@redhat.com>
1197 Add registration hooks for extension points.
1198 Register the gio extension points.
1200 * fam/gfamdirectorymonitor.c:
1201 * fam/gfamfilemonitor.c:
1202 * glocaldirectorymonitor.[ch]:
1203 * glocalfilemonitor.[ch]:
1204 * gnativevolumemonitor.h:
1205 * gunionvolumemonitor.c:
1206 * gunixvolumemonitor.c:
1209 * inotify/ginotifydirectorymonitor.c:
1210 * inotify/ginotifyfilemonitor.c:
1211 Use the extension points registration instead
1212 of g_type_children().
1214 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1217 * gvolume.[hc]: Document new API.
1219 * gfile.c (g_file_copy_async): Fix docs
1221 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1223 * gbufferedinputstream.c:
1225 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1228 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1230 * glocalfile.c: Avoid trivial differences in translatable strings.
1232 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1234 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1235 build with gcc 3.4 (#509419)
1237 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1239 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1240 (#509994, Murray Cumming)
1242 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1244 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1245 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1246 this allows big jobs to be executed in chunks, instead of blocking
1247 the main loop for a long time.
1249 * gsimpleasyncresult.c:
1250 * giofile.c: Adapt callers.
1252 2008-01-25 Alexander Larsson <alexl@redhat.com>
1254 * gdesktopappinfo.c:
1255 Implement changes discussed on xdg list.
1256 Now we can add supported mimetypes by just using defaults.list
1257 We can also remove associations in defaults.list.
1259 2008-01-25 Alexander Larsson <alexl@redhat.com>
1261 * gdesktopappinfo.c:
1262 Don't make local copy of desktop file
1263 for mimetype changes if the file already
1264 supports the new mimetype.
1266 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1270 * gbufferedinputstream.c:
1271 * glocalfile.c: String improvements. (#511966,
1272 Theppitak Karoonboonyanan)
1274 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1276 * gioscheduler.h: Expand docs a bit.
1278 2008-01-24 Alexander Larsson <alexl@redhat.com>
1281 Add g_drive_get_identifier and
1282 g_drive_enumerate_identifiers
1285 Add g_volume_get_identifier and
1286 g_volume_enumerate_identifiers
1292 Implement identifiers for unix backend
1294 2008-01-24 Alexander Larsson <alexl@redhat.com>
1299 Add g_file_copy_async() (#511580)
1300 Based on patch from Carlos Garcia Campos
1302 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1304 * gioscheduler.c: Some documentation additions.
1306 2008-01-22 Alexander Larsson <alexl@redhat.com>
1308 * gdesktopappinfo.c:
1309 (g_desktop_app_info_new):
1310 Don't leak basename.
1312 2008-01-22 Alexander Larsson <alexl@redhat.com>
1314 * gdesktopappinfo.c:
1315 (g_desktop_app_info_new_from_filename):
1318 2008-01-22 Alexander Larsson <alexl@redhat.com>
1320 * glocalfileinfo.c (get_thumbnail_attributes):
1323 2008-01-22 Alexander Larsson <alexl@redhat.com>
1326 (canonicalize_filename):
1327 Canonicalize paths that start with more than
1331 (compare_two_files):
1332 (test_g_file_new_for_path):
1335 2008-01-22 Alexander Larsson <alexl@redhat.com>
1338 Allow UTF-8 in file:// parse names.
1340 * tests/Makefile.am:
1341 * tests/data-input-stream.c:
1342 * tests/data-output-stream.c:
1343 * tests/g-file-info.c:
1345 Added a bunch of tests from Tomas Bzatek
1347 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1349 * === Released 2.15.3 ===
1351 2008-01-21 Alexander Larsson <alexl@redhat.com>
1353 * gfileinputstream.[ch]:
1354 * gfileoutputstream.[ch]:
1356 Remove duplicated GSeekable functions. (#509990)
1357 Just use the g_seekable_xxx() calls instead.
1359 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1362 * gvolumemanager.c: Whitespace cleanups.
1364 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1365 Use the right mode when creating the file.
1367 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1369 * gfileenumerator.c:
1370 * gfileinputstream.c:
1372 * goutputstream.c: Documentation: Fixed minor typos
1373 and added more mentions of specific _finish() functions.
1375 2008-01-21 Alexander Larsson <alexl@redhat.com>
1377 * inotify/Makefile.am:
1378 * inotify/inotify-helper.c:
1379 * inotify/inotify-kernel.c:
1380 * inotify/inotify-path.c:
1381 * inotify/local_inotify.h: Removed.
1382 * inotify/local_inotify_syscalls.h: Removed.
1383 Removed the included copies of the inotify
1384 headers. We now only use the <sys/inotify.h>
1385 header which exists on modern systems.
1386 This fixes problems on ARM and SH5 (#510448)
1387 but is also generally much cleaner and future
1388 safe. For instance, if other OSes add support
1389 for inotify it should "just work".
1391 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1393 * inotify/*.c: Coding style fixes.
1394 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1395 for the 1/4 Hz timer.
1397 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1400 * gfilemonitor.[hc]:
1401 * gmemoryinputstream.c:
1402 * gmemoryoutputstream.c:
1403 * gmountoperation.c:
1404 * gthemedicon.c: Documentation updates
1406 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1408 * gfile.c: documentation: Fixed more minor
1411 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1413 * gmount.c: (g_mount_remount): documentation:
1414 Mention g_mount_remount_finish() instead of
1415 g_mount_unmount_finish().
1417 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1421 * gfile.c: Fixed some minor typos in the
1424 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1426 * gio/gvolumemonitor.c:
1427 (g_volume_monitor_get_connected_drives):
1428 (g_volume_monitor_get_volumes):
1429 (g_volume_monitor_get_mounts): Documentation:
1430 Clarify the ownership of the regurn GLists.
1432 2008-01-17 Alexander Larsson <alexl@redhat.com>
1435 Add the async find_enclosing_mount version
1436 to the header file too.
1438 2008-01-17 Alexander Larsson <alexl@redhat.com>
1441 Add async version of find_enclosing_mount
1442 with default implementation.
1444 2008-01-17 Alexander Larsson <alexl@redhat.com>
1449 Allow calls to implementation of copy and write
1450 even if the type of the file implementations is
1451 different. This can be used to implement native
1452 upload and download calls in a vfs.
1455 (g_local_file_move):
1456 Protect against the case where move is called
1457 with one file not being local.
1459 Make sure we call the progress callback once
1460 in the native move operation so that the caller
1461 knows how many bytes were copied.
1463 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1466 * gdatainputstream.c:
1468 * gfileoutputstream.c:
1473 * gunixmounts.c: Corrected some typos in the documentation:
1474 occured -> occurred.
1475 its -> it's (where appropriate).
1477 2008-01-16 Alexander Larsson <alexl@redhat.com>
1481 Add g_file_query_exists (#508771)
1483 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1488 * gvolume.c: For async functions that have no non-async
1489 version, document that the GAsyncReadyCallback may be NULL.
1492 2008-01-15 Alexander Larsson <alexl@redhat.com>
1494 * gmemoryinputstream.c:
1495 * gmemoryoutputstream.c:
1496 Don't do pointer arithmetic on void * (#508602)
1497 Patch from Kazuki IWAMOTO
1499 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1501 * === Released 2.15.2 ===
1503 2008-01-14 Alexander Larsson <alexl@redhat.com>
1505 * gfile.c (g_file_monitor_file):
1506 Don't set error here, since we fallback to polling monitor.
1508 2008-01-14 Alexander Larsson <alexl@redhat.com>
1511 (g_file_monitor_directory):
1512 (g_file_monitor_file):
1513 Add GError to file monitor calls
1515 * glocaldirectorymonitor.c:
1516 * glocaldirectorymonitor.h:
1518 * glocalfilemonitor.c:
1519 * glocalfilemonitor.h:
1521 Update for above change
1523 2008-01-14 Alexander Larsson <alexl@redhat.com>
1527 Handle root correctly in g_file_get_relative_path (#508719)
1529 2008-01-14 Alexander Larsson <alexl@redhat.com>
1532 Clean up docs and example for GAsyncResult (#508074)
1534 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1536 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1537 and correct some spelling mistakes. Bug #508108.
1539 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1541 * glocalfileinfo.c: Add a comment.
1543 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1545 * gfileinfo.c: GFileInfo description: Mention
1546 how to actually set attributes in a GFile and how to discover
1547 which attributes are settable. Bug #508378.
1549 2008-01-10 A. Walton <awalton@svn.gnome.org>
1551 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1552 (g_app_info_get_default_for_type):
1553 Check for NULL content types.
1555 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1557 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1559 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1561 * gfile.c: *_async() functions: Several small corrections
1562 to the documentation, mostly correcting copy/paste errors
1563 and improving some sentences.
1565 2008-01-09 Dan Winship <danw@gnome.org>
1567 * glocalfile.c (get_unique_filename): x86_64 fix
1569 2008-01-09 Alexander Larsson <alexl@redhat.com>
1574 Add g_unix_mount_guess_should_display and use
1575 for unix volume monitor backend.
1576 This means we more or less show what the
1577 gnome-vfs backend did.
1578 Based on patch from Padraig O'Briain
1580 2008-01-09 Alexander Larsson <alexl@redhat.com>
1584 Add g_themed_icon_new_with_default_fallbacks
1587 Use default fallbacks for icons
1589 2008-01-09 Alexander Larsson <alexl@redhat.com>
1592 * gmountoperation.[ch]:
1593 Change the API a bit so that unhandled methods
1594 get reported via the reply, rather than by
1595 the signal emission return value. This is because
1596 some handlers can't know this immediately without
1597 doing I/O, and this is an async operation that
1600 2008-01-09 Alexander Larsson <alexl@redhat.com>
1603 * fam/gfamdirectorymonitor.c:
1604 * fam/gfamfilemonitor.c:
1605 Fix double free crash (#508224)
1606 Patch from Joe Marcus Clarke
1608 008-01-07 Matthias Clasen <mclasen@redhat.com>
1610 * === Released 2.15.1 ===
1612 2008-01-07 Alexander Larsson <alexl@redhat.com>
1614 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1615 Fix warning (#507835)
1617 2008-01-07 Alexander Larsson <alexl@redhat.com>
1620 Pass --internal to glib-genmarshal
1623 * gmountoperation.c:
1625 Use better types for signal arguments (#507822)
1627 2008-01-07 Alexander Larsson <alexl@redhat.com>
1630 Build test subdir after .
1631 Remove gdirectorymonitor.[ch]
1633 * gdirectorymonitor.[ch]:
1637 Remove GDirectoryMonitor and make
1638 GFileMonitor the baseclass for both file and
1639 directory monitors. Lift the more generic
1640 rate limiting code from GDirectoryMonitor
1644 * fam/gfamdirectorymonitor.[ch]:
1645 * inotify/ginotifydirectorymonitor.[ch]:
1646 * inotify/inotify-helper.c:
1647 * glocaldirectorymonitor.[ch]:
1650 Update for the removed GDirectoryMonitor.
1652 * gmemoryoutputstream.c:
1653 Remove ununsed variable
1655 2008-01-07 Alexander Larsson <alexl@redhat.com>
1657 * gmemoryinputstream.c:
1658 Translate error strings
1661 * gmemoryoutputstream.[ch]:
1662 New implementation that avoids using GByteArray
1663 in implementation and API. (#506377)
1665 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1667 * tests/*: Add a test for memory input streams.
1669 * Makefile.am: Add tests to SUBDIRS.
1671 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1673 * glocalfilemonitor.c:
1674 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1677 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1679 * gdesktopappinfo.c: Fix a docs typo.
1681 * gfileattribute.c: Add information about extended attributes
1682 to the documentation. (#505058)
1684 2008-01-04 Alexander Larsson <alexl@redhat.com>
1687 * gmountoperation.c:
1688 Use the right type (uint) for the ask_password signal.
1690 2008-01-04 Alexander Larsson <alexl@redhat.com>
1695 Add g_app_info_supports_files()
1696 Remove desktop arg from g_app_info_should_show().
1698 * gdesktopappinfo.[ch]:
1699 Implement g_app_info_supports_files() and new should_show()
1700 Add g_desktop_app_info_set_desktop_env() to set the desktop
1701 for should_show(). (This will be set by gtk+ later)
1703 2008-01-04 Alexander Larsson <alexl@redhat.com>
1706 * gmemoryinputstream.[ch]:
1707 Improve API so that you can use multiple chunks
1708 of memory and custom destroy functions. (#506374)
1710 2008-01-03 Alexander Larsson <alexl@redhat.com>
1713 Handle NULL attribute matchers safely, as we return this
1714 for empty attribute matcher strings.
1716 2008-01-03 Alexander Larsson <alexl@redhat.com>
1718 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1719 Add /usr/local to list of internal mountpoints
1721 2008-01-03 Alexander Larsson <alexl@redhat.com>
1724 Check for HAVE_LCHOWN (#505887)
1726 2008-01-03 Alexander Larsson <alexl@redhat.com>
1730 Add define for selinux context attribute.
1731 Fix missing : -> :: namespace separator change
1732 Fix missing _ -> - name change for xattr-sys.
1735 2008-01-03 Alexander Larsson <alexl@redhat.com>
1738 Link to libglib and libgobject directly (#504879)
1739 Patch from Sebastien Bacher
1741 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1743 * gfile.c: Expanded the g_file_new_for_commandline_arg
1744 description a bit, based on the code and the docs of the
1745 other g_file_new_for_* functions.
1747 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1749 * gfilemonitor.h: Fixed typo in docs.
1751 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1753 Updates to GIO documentation. (#506395, Mikael Hermansson)
1755 * gcontenttype.c: Describe memory management for return value of
1756 g_content_types_get_registered(). Missing piece from #505815.
1757 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1758 GVolume, GDrive, GMounts, which hopefully gives the user less
1759 confusions when using this API. Following explainations from
1760 Alexander Larsson on gtk-devel-list.
1762 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1764 * gfileinfo.c: Expand the long description.
1766 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1769 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1770 fix builds with --disable-visibility. (#500273, Christian Persch)
1772 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1774 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1775 in the list of returned app infos.
1777 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1779 * gappinfo.c: Fix a cross-reference
1781 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1783 * gfileinputstream.c:
1784 * gfileoutputstream.c:
1788 * gdesktopappinfo.c:
1790 * gfileinfo.c: Documentation updates.
1792 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1794 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1797 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1799 * gcontenttype.c (g_content_types_get_registered): Don't return
1800 freed memory (#505815, Mikael Hermansson)
1802 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1804 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1805 used to detect statbuf->st_blocks. (#505042)
1807 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1809 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1810 environment handling. (#504829, Cosimo Cecchi)
1812 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1814 * gappinfo.c: Doc improvements
1816 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1819 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1821 * === Released 2.15.0 ===
1823 2007-12-20 Hans Breuer <hans@breuer.org>
1825 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1826 with symbols gwin32appinfo.obj, added gmount.obj
1827 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1829 2007-12-20 Alexander Larsson <alexl@redhat.com>
1835 * gfilenamecompleter.c:
1838 * gpollfilemonitor.c:
1839 File attribute renames:
1841 fs:: -> filesystem::
1842 id::fs -> id::filesystem
1844 2007-12-20 Alexander Larsson <alexl@redhat.com>
1853 Add GMountUnmountFlags to all unmount and
1855 Add g_mount_remount() call.
1857 2007-12-20 Alexander Larsson <alexl@redhat.com>
1859 * gvfs.c (get_default_vfs):
1860 Fix unused variable warning
1862 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1864 * pltcheck.sh: Update
1866 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1868 * gunionvolumemonitor.c:
1869 * gunixmount.c: Remove C99 comments
1871 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1873 * gio.symbols: Add some missing symbols
1875 2007-12-19 Alexander Larsson <alexl@redhat.com>
1878 Make g_io_modules_load_all_in_directory not unuse
1879 loaded modules so that users of it can do stuff
1881 Init internal "module" types.
1882 Initialize static prio and name for types so that
1883 we don't have to load modules to get it.
1885 * gnativevolumemonitor.h:
1887 Move is_supported to parent class so that
1888 non-native monitors can avoid being initialized
1889 too. (For instance GDaemonVolumeMonitor if we're
1890 not using GDaemonVfs.)
1892 * glocaldirectorymonitor.[ch]:
1893 * glocalfilemonitor.[ch]:
1894 * gunionvolumemonitor.c:
1895 * gunixvolumemonitor.c:
1897 Find plugins using the static prio+name to
1898 avoid unnecessarily loading the modules.
1900 2007-12-19 Alexander Larsson <alexl@redhat.com>
1905 2007-12-19 Alexander Larsson <alexl@redhat.com>
1907 * gunionvolumemonitor.c:
1908 Store the native type as GType, not class so that
1909 we can unload it. But still avoid unnecessarily
1912 2007-12-19 David Zeuthen <davidz@redhat.com>
1914 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1915 add signals 'disconnected' and 'eject-button' on GDrive. Add
1916 signal 'removed' on GVolume and 'unmounted' on GMount.
1918 * gdrive.c: (g_drive_base_init):
1920 * gfile.c: (g_file_mount_mountable),
1921 (g_file_mount_enclosing_volume):
1924 * gmount.c: (g_mount_base_init):
1926 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1927 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1928 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1932 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1934 * *.c: Fix up includes in the section docs.
1936 2007-12-17 Alexander Larsson <alexl@redhat.com>
1938 * gnativevolumemonitor.h:
1939 * gunionvolumemonitor.c:
1940 * gunixvolumemonitor.c:
1941 Add is_supported() to GNativeVolumeMonitorClass so
1942 that we can avoid having to create an object to see
1943 if the backend is supported at runtime.
1944 Also add name member and an env var to pick a specific
1945 volume monitor backend.
1949 Add cancellable to _g_mount_get_for_mount_path()
1951 * glocaldirectorymonitor.c:
1952 * glocalfilemonitor.c:
1953 Avoid loading and unloading modules while sorting.
1955 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1958 * gunixmounts.[hc]: Namespace waste reduction, move some
1959 g_get_unix_mount functions to the g_unix_mount namespace.
1962 * gunixvolumemonitor.c:
1964 * glocaldirectorymonitor.c: Update all callers.
1966 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1968 2007-12-17 Alexander Larsson <alexl@redhat.com>
1971 Add doc comments about what GFile operations are
1972 guaranteed to not block.
1974 2007-12-17 Alexander Larsson <alexl@redhat.com>
1977 Add missing #ifdef fixing OSX build.
1978 (#503334, patch from Richard Hult)
1980 2007-12-14 David Zeuthen <davidz@redhat.com>
1984 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1985 (g_mount_eject), (g_mount_eject_finish):
1987 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1988 (get_volume_for_uuid), (get_mount_for_uuid),
1989 (g_union_volume_monitor_class_init),
1990 (get_default_native_type_with_exclude), (get_default_native_type),
1991 (get_native_type), (update_native_type),
1992 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1993 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1994 (g_unix_mount_can_eject), (eject_unmount_cb),
1995 (eject_unmount_read_error), (eject_unmount_do),
1996 (g_unix_mount_unmount), (g_unix_mount_eject),
1997 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1998 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1999 (g_unix_mount_point_guess_can_eject):
2001 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2002 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2003 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2004 (g_unix_volume_mount), (g_unix_volume_eject),
2005 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2006 * gunixvolumemonitor.c: (get_volume_for_uuid),
2007 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2009 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2010 (g_volume_eject), (g_volume_eject_finish):
2012 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2013 (g_volume_monitor_get_mount_for_uuid):
2016 Provide eject() on both GMount and GVolume and utility functions
2017 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2018 ejected. Introduce the concept of UUID's and wire it into GVolume
2019 and GMount and provide API on GVolumeMonitor to find such
2020 instances. Also handle the case where an external
2021 GNativeVolumeMonitor fails to initialize. Lock around the
2022 _g_get_mount_for_mount_path() function such that volume monitor
2023 implementations won't have to do locking themselves.
2025 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2027 * gdesktopappinfo.c:
2033 * gvolume.h: Documentation updates
2035 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2038 * gfile.h: Doc updates
2040 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2043 * gdesktopappinfo.c: Use hash table iterators.
2045 2007-12-14 Alexander Larsson <alexl@redhat.com>
2048 * gfileattribute.[ch]:
2049 * gfileattribute-priv.h:
2050 Move GFileAttributeValue to a private header, as
2054 Make set_attribute take a type + a pointer instead
2055 of a GFileAttributeValue.
2058 Fix up for above changes.
2059 Add g_file_info_get_attribute_data to get
2060 all info in one call, g_file_info_get_attribute_status
2061 to get the status and g_file_info_get_attribute_as_string.
2065 * glocalfileinfo.[ch]:
2069 Make _guess_type static.
2071 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2074 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2075 made mkenums and friends use temporary files to avoid leaving
2076 empty generated files on failure (#503470).
2078 2007-12-14 Alexander Larsson <alexl@redhat.com>
2080 * gmountoperation.h:
2083 2007-12-14 Alexander Larsson <alexl@redhat.com>
2087 * gfileattribute.[ch]:
2090 * glocalfileoutputstream.c:
2091 * gmountoperation.[ch]:
2092 * goutputstream.[ch]:
2093 Clean up all flags enums to not have _FLAGS in them
2094 Make the names of some of the enums better.
2099 2007-12-14 Michael Natterer <mitch@imendio.com>
2101 * gio.symbols: fix g_io_scheduler symbol names.
2103 2007-12-14 Alexander Larsson <alexl@redhat.com>
2109 * gbufferedinputstream.h:
2110 * gbufferedoutputstream.h:
2113 * gdatainputstream.h:
2114 * gdataoutputstream.h:
2115 * gdesktopappinfo.h:
2116 * gdirectorymonitor.h:
2120 * gfileenumerator.h:
2123 * gfileinputstream.h:
2125 * gfilenamecompleter.h:
2126 * gfileoutputstream.h:
2127 * gfilterinputstream.h:
2128 * gfilteroutputstream.h:
2136 * gmemoryinputstream.h:
2137 * gmemoryoutputstream.h:
2139 * gmountoperation.h:
2142 * gsimpleasyncresult.h:
2144 * gunixinputstream.h:
2146 * gunixoutputstream.h:
2150 * inotify/Makefile.am:
2151 Only allow including <gio/gio.h> from apps
2153 2007-12-14 Alexander Larsson <alexl@redhat.com>
2155 * gioscheduler.[ch]:
2156 * gsimpleasyncresult.c:
2157 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2158 Split out the send_to_mainloop call into two versions instead
2159 of having the block argument.
2161 2007-12-13 Alexander Larsson <alexl@redhat.com>
2163 * gcancellable.[ch]:
2165 * gbufferedinputstream.c:
2166 * gfileenumerator.c:
2167 * gfileinputstream.c:
2168 * gfileoutputstream.c:
2172 g_push/pop_current_cancellable ->
2173 g_cancellable_push/pop_current
2175 2007-12-13 Alexander Larsson <alexl@redhat.com>
2179 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2181 2007-12-13 Alexander Larsson <alexl@redhat.com>
2183 * gmountoperation.h:
2184 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2186 2007-12-12 Alexander Larsson <alexl@redhat.com>
2189 Fix race condition when freeing proxy in
2190 g_io_job_send_to_mainloop().
2192 2007-12-12 Alexander Larsson <alexl@redhat.com>
2198 Make attribute namespace separator "::" instead of ":".
2199 Use - instead of _ as separator in attribute names.
2201 2007-12-12 Alexander Larsson <alexl@redhat.com>
2203 * gbufferedinputstream.h:
2204 * gbufferedoutputstream.h:
2205 * gdatainputstream.h:
2206 * gdataoutputstream.h:
2207 * gdirectorymonitor.h:
2208 * gfileenumerator.h:
2209 * gfileinputstream.h:
2211 * gfileoutputstream.h:
2212 * gfilterinputstream.h:
2213 * gfilteroutputstream.h:
2215 * glocalfileinputstream.h:
2216 * glocalfileoutputstream.h:
2217 * gmemoryinputstream.h:
2218 * gmemoryoutputstream.h:
2219 * gnativevolumemonitor.h:
2221 * gunixinputstream.h:
2222 * gunixoutputstream.h:
2225 s/parent/parent_instance/ in GObjects
2227 2007-12-12 Alexander Larsson <alexl@redhat.com>
2232 No need for padding for interfaces
2234 2007-12-12 Alexander Larsson <alexl@redhat.com>
2238 * gbufferedinputstream.c:
2239 * gbufferedoutputstream.c:
2242 * gdatainputstream.[ch]:
2243 * gdesktopappinfo.c:
2244 * gdirectorymonitor.c:
2246 * gfileattribute.[ch]:
2249 * gfileinputstream.h:
2250 * gfilemonitor.[ch]:
2251 * gfileoutputstream.[ch]:
2252 * gfilterinputstream.h:
2253 * gfilteroutputstream.h:
2256 * gloadableicon.[ch]:
2257 * gmemoryinputstream.c:
2258 * gmountoperation.c:
2260 Fix up a bunch of details in the docs.
2265 2007-12-11 David Zeuthen <davidz@redhat.com>
2267 Rework how volumes, drives and volume monitoring is
2268 done. Previosly the model was
2270 GDrive <1-1> GVolume
2272 where a GDrive instance represented a mount point and a GVolume
2273 instance represented a mounted file system. This patch changes it
2276 GDrive <1-N> GVolume <1-1> GMount
2278 where GMount now serves the purpose of the old GVolume and the new
2279 GVolume serves the purpose of the old GDrive. In addition the new
2280 GDrive interface is used to represent a collection of GVolume
2281 instances (typically partitions) and also contains utility to query
2282 the state of the physical drive the GDrive object represents (such
2283 as checking for media, polling the drive, ejecting the media etc.).
2285 Also implement mounting and unmounting in the Unix volume monitor
2286 backend. A subquent patch will introduce GDrive support for ejection
2290 * gdrive.c: (g_drive_is_media_check_automatic),
2291 (g_drive_is_media_removable), (g_drive_has_media),
2292 (g_drive_can_poll_for_media), (g_drive_eject),
2293 (g_drive_eject_finish), (g_drive_poll_for_media),
2294 (g_drive_poll_for_media_finish):
2296 * gfile.c: (g_file_find_enclosing_mount):
2299 * glocaldirectorymonitor.c:
2300 (g_local_directory_monitor_constructor), (mounts_changed):
2301 * glocalfile.c: (get_mount_info),
2302 (g_local_file_find_enclosing_mount),
2303 (g_local_file_file_iface_init):
2304 * gnativevolumemonitor.h:
2305 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2306 (get_connected_drives), (g_union_volume_monitor_class_init),
2307 (child_volume_added), (child_volume_removed),
2308 (child_volume_changed), (child_mount_added), (child_mount_removed),
2309 (child_mount_pre_unmount), (child_mount_changed),
2310 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2311 (g_union_volume_monitor_remove_monitor),
2312 (_g_mount_get_for_mount_path):
2313 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2314 (guess_system_internal), (_g_get_unix_mounts),
2315 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2316 (g_unix_mount_free), (g_unix_mount_compare),
2317 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2318 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2319 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2320 (type_to_icon), (g_unix_mount_guess_name),
2321 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2322 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2323 (_resolve_symlink), (_resolve_dev_root):
2325 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2326 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2327 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2328 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2329 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2330 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2331 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2332 (g_unix_volume_volume_iface_init):
2334 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2335 (get_mounts), (get_volumes), (get_connected_drives),
2336 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2337 (mountpoints_changed), (mounts_changed),
2338 (g_unix_volume_monitor_init),
2339 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2340 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2341 * gunixvolumemonitor.h:
2342 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2343 (g_volume_mount), (g_volume_mount_finish):
2345 * gvolumemonitor.c: (g_volume_monitor_class_init),
2346 (g_volume_monitor_get_connected_drives),
2347 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2350 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2352 * gmountoperation.h (GPasswordFlags): Close the gap
2354 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2356 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2358 * gdesktopappinfo.[hc]: Remove _-prefixes
2360 2007-12-10 Tor Lillqvist <tml@novell.com>
2362 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2365 2007-12-10 Alexander Larsson <alexl@redhat.com>
2367 * gfile.c (g_file_set_display_name):
2368 Don't hardcode '/' (#502727)
2370 2007-12-09 Hans Breuer <hans@breuer.org>
2372 * makefile.msc : follow lib naming convention
2373 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2374 for user and group name, tested with ../tests/gio-ls
2376 2007-12-09 A. Walton <awalton@svn.gnome.org>
2378 * gdesktopappinfo.c:
2384 * gfileenumerator.c:
2389 * gmemoryinputstream.c:
2390 * gmemoryoutputstream.c:
2392 * gsimpleasyncresult.c:
2393 More documentation cleanup and filling in missing information, bringing
2394 GIO to 99% symbol coverage.
2396 2007-12-08 Hans Breuer <hans@breuer.org>
2398 [gio compiles and links on win32, not sure how much already works]
2399 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2400 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2401 base on win32 API; prefer g_lstat() over lstat(); instead of
2402 localtime_r() use an all GLib implementation on win32;
2403 get_mount_info() still needs a win32 specifc implementation
2404 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2405 win32_get_file_user_info to get owner/group info without uid/gid
2406 * glocalfileinputstream.c : include <io.h> on win32
2407 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2408 definition, use g_win32_ftruncate() for G_OS_WIN32
2409 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2410 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2411 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2412 * makefile.msc : updated
2414 2007-12-07 Alexander Larsson <alexl@redhat.com>
2416 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2417 Avoid warning spew if error == NULL
2419 2007-12-07 Alexander Larsson <alexl@redhat.com>
2422 Update docs wrt etags
2424 2007-12-06 Alexander Larsson <alexl@redhat.com>
2427 Include sys/types.h for dev_t (#501919)
2429 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2433 Make abicheck and pltcheck pass.
2435 2007-12-05 Alexander Larsson <alexl@redhat.com>
2438 * giomodule-priv.h: Added.
2439 * glocaldirectorymonitor.c:
2440 * glocalfilemonitor.c:
2441 * gunionvolumemonitor.c:
2443 Actually add the declaration of _g_io_modules_ensure_loaded
2445 2007-12-05 Alexander Larsson <alexl@redhat.com>
2447 * gdatainputstream.c:
2452 * glocaldirectorymonitor.c:
2453 * glocalfilemonitor.c:
2454 * gunionvolumemonitor.c:
2456 Make g_io_modules_ensure_loaded a private function and
2457 don't pass in the dirname. This means we can do magic
2458 directory finding in the win32 version.
2459 Export the actual load-modules-in-directory code so that
2460 gvfs can reuse that.
2462 2007-12-05 Alexander Larsson <alexl@redhat.com>
2464 * gbufferedinputstream.c:
2465 * gbufferedoutputstream.c:
2468 * gfileenumerator.[ch]:
2469 * gfileinputstream.c:
2470 * gfileoutputstream.[ch]:
2471 * gfilterinputstream.c:
2472 * gfilteroutputstream.c:
2473 * ginputstream.[ch]:
2475 * glocalfileenumerator.c:
2476 * glocalfileinputstream.c:
2477 * glocalfileoutputstream.c:
2478 * gmemoryinputstream.c:
2479 * gmemoryoutputstream.c:
2480 * goutputstream.[ch]:
2483 * gunixinputstream.c:
2484 * gunixoutputstream.c:
2485 Rename all struct members named:
2486 read, write, close, truncate, or mount
2487 to foo_fn, as these are reserved names
2488 and could be defined as macros in libc.
2491 2007-12-04 Alexander Larsson <alexl@redhat.com>
2494 (g_output_stream_close):
2495 Only call flush if non-null.
2497 2007-11-30 Dan Winship <danw@gnome.org>
2499 * ginputstream.c (g_input_stream_set_pending): Make this take a
2500 GError and return a gboolean, and do the "outstanding operation"
2501 check (and the "stream is already closed" check) itself.
2502 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2504 * goutputstream.c (g_output_stream_set_pending)
2505 (g_output_stream_clear_pending): Likewise
2507 * gbufferedinputstream.c:
2508 * gfileinputstream.c:
2509 * gfileoutputstream.c: Update for that
2511 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2512 Like g_simple_async_report_error_in_idle, but takes a GError
2513 rather than building one.
2515 2007-11-30 Dan Winship <danw@gnome.org>
2517 * goutputstream.c: Don't cheat and unset the "pending" flag around
2518 inner calls. Instead, call the class method directly rather than
2519 the wrapper function that checks "pending"
2521 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2523 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2525 2007-12-03 Hans Breuer <hans@breuer.org>
2527 [start of port to win32/msvc]
2528 * gcancellable.c : HAVE_UNIST_H and _pipe()
2529 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2530 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2531 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2533 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2534 * glocalvfs.c : use HAVE_PWD_H
2535 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2536 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2537 * Makefile.am : added to EXTRA_DIST
2539 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2541 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2544 2007-12-03 Alexander Larsson <alexl@redhat.com>
2547 Handle OSX style xattrs API (#500506)
2549 2007-12-03 Alexander Larsson <alexl@redhat.com>
2553 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2555 2007-12-02 A. Walton <awalton@svn.gnome.org>
2559 Documentation accuracy fixes.
2561 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2563 * gioenumtypes.c.template: Fix typo.
2565 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2567 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2569 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2571 * gdirectorymonitor.c:
2572 * gfilemonitor.c: Add properties
2574 * gbufferedoutputstream.c: Don't mark buffer-size property
2577 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2579 * gbufferedoutputstream.c: Add auto-grow property.
2581 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2583 * *.c: Unify the capitalization of section headings.
2585 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2587 * gmountoperation.c: Add properties
2589 * gdatainputstream.c: Turn byte-order and newline-type into
2592 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2594 * gioenumtypes.[hc].template: Templates for enum registration
2596 * Makefile.am: Generate gioenumtypes.[hc]
2598 * gio.h: Include gioenumtypes.h
2600 * gfile.h: Add some explicit nicks.
2602 * gio.symbols: Add new symbols
2604 * pltcheck.sh: Adjust
2606 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2608 * *.c: Explain etags and link to the explanation
2610 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2612 * *.c: Explain I/O priority.
2614 * *.c: More coding style fixes.
2616 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2618 * gasyncresult.c: Add another paragraph to the intro,
2619 adjust coding style of example.
2621 2007-11-29 A. Walton <awalton@svn.gnome.org>
2624 Fixes unknown meaning in GAppLaunchContext docs.
2626 Clarify asynchronous ops.
2628 Fix entity tag docs.
2631 Provides missing gtk-doc section, fixes API docs slighly.
2632 * gsimpleasyncresult.c:
2633 Fill in missing info in docs.
2634 * gunixinputstream.c:
2635 * gunixoutputstream.c:
2636 Be more expressive in short description.
2638 Remove gtk-doc stubs for non-public API.
2640 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2642 * *.c: Coding style fixups
2644 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2646 * inotify/inotify-helper.c: Don't export the lock from libgio.
2648 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2651 * abicheck.sh: Fix copy-and-paste leftovers
2653 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2655 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2657 2007-11-28 Alexander Larsson <alexl@redhat.com>
2661 Removed unnecessary file
2663 * gdesktopappinfo.[ch]:
2666 * glocaldirectorymonitor.[ch]:
2668 * glocalfileenumerator.[ch]:
2669 * glocalfileinputstream.[ch]:
2670 * glocalfilemonitor.[ch]:
2671 * glocalfileoutputstream.[ch]:
2673 * gnativevolumemonitor.c:
2674 * gpollfilemonitor.[ch]:
2675 * gunionvolumemonitor.[ch]:
2678 * gunixvolumemonitor.[ch]:
2681 * inotify/ginotifydirectorymonitor.[ch]:
2682 * inotify/ginotifyfilemonitor.[ch]:
2683 * inotify/inotify-helper.c:
2684 Append _ to all internal functions
2688 Export symbols needed for modules
2690 2007-11-28 Alexander Larsson <alexl@redhat.com>
2693 * abicheck.sh: Added.
2694 * makegioalias.pl: Added.
2695 * pltcheck.sh: Added.
2696 * gio.symbols: Added.
2699 Initial work on adding symbol handling.
2702 Correct ifdef guard name
2705 * inotify/Makefile.am:
2706 * xdgmime/Makefile.am:
2707 Include toplevel Makefile.decl
2709 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2711 * gcontenttype.c: Move doc comments to the unix section.
2713 * *.[hc]: More trivial doc corrections.
2715 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2717 * gpollfilemonitor.c:
2721 * gdesktopappinfo.c:
2726 * gdatainputstream.c:
2727 * gdatainputstream.h:
2728 * gdataoutputstream.c:
2729 * gdataoutputstream.h:
2730 * gfileinfo.h: Doc cleanups
2732 2007-11-28 Andre Klapper <a9016009@gmx.de>
2734 * gdesktopappinfo.c: Fix a typo.
2736 2007-11-27 Andre Klapper <a9016009@gmx.de>
2738 * glocalfileoutputstream.c: Fix a typo.
2740 2007-11-27 Alexander Larsson <alexl@redhat.com>
2743 Don't include removed headers
2745 2007-11-27 Alexander Larsson <alexl@redhat.com>
2748 * gsocketinputstream.[ch]: Removed.
2749 * gsocketoutputstream.[ch]: Removed.
2750 * gunixinputstream.[ch]: Added.
2751 * gunixoutputstream.[ch]: Added.
2752 Renamed GSocket*Stream to GUnix*Stream and made
2753 it unix-only, since its not really only for sockets
2754 and it only works on unix (but is highly useful there).
2756 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2762 * gbufferedinputstream.c:
2763 * gbufferedinputstream.h:
2764 * gbufferedoutputstream.c:
2765 * gbufferedoutputstream.h:
2769 * gdatainputstream.c:
2770 * gdatainputstream.h:
2771 * gdataoutputstream.c:
2772 * gdataoutputstream.h:
2773 * gdirectorymonitor.c:
2774 * gdirectorymonitor.h:
2781 * gfileenumerator.c:
2782 * gfileenumerator.h:
2787 * gfileinputstream.c:
2788 * gfileinputstream.h:
2791 * gfilenamecompleter.c:
2792 * gfilenamecompleter.h:
2793 * gfileoutputstream.c:
2794 * gfileoutputstream.h:
2795 * gfilterinputstream.c:
2796 * gfilterinputstream.h:
2797 * gfilteroutputstream.c:
2798 * gfilteroutputstream.h:
2811 * glocalfileoutputstream.c:
2812 * gmemoryinputstream.c:
2813 * gmemoryinputstream.h:
2814 * gmemoryoutputstream.c:
2815 * gmemoryoutputstream.h:
2816 * gmountoperation.c:
2817 * gmountoperation.h:
2820 * gpollfilemonitor.c:
2823 * gsimpleasyncresult.c:
2824 * gsimpleasyncresult.h:
2825 * gsocketinputstream.c:
2826 * gsocketinputstream.h:
2827 * gsocketoutputstream.c:
2828 * gsocketoutputstream.h:
2835 * gunixvolumemonitor.c:
2844 Bumps documentation to 93% symbol coverage, touching most
2845 of the public files. Fixes broken function documentation prototypes.
2846 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2847 gtk-doc headers in private files.
2849 2007-11-27 Jürg Billeter <j@bitron.ch>
2851 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2852 (g_buffered_input_stream_read_byte):
2853 * gbufferedinputstream.h:
2854 New functions for efficient access to buffer and simple single byte
2857 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2858 (g_data_input_stream_read_until):
2859 * gdatainputstream.h:
2860 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2861 read_until with multiple stop chars.
2863 2007-11-27 Alexander Larsson <alexl@redhat.com>
2867 * inotify/Makefile.am:
2868 Use the user-specified giomoduledir
2870 2007-11-27 Alexander Larsson <alexl@redhat.com>
2874 Add catch-all gio.h header
2875 Don't install gdummyfile.h
2877 2007-11-26 Alexander Larsson <alexl@redhat.com>
2879 * Makefile.am (gioinclude_HEADERS):
2880 Remove trailing whitespace
2882 2007-11-26 Alexander Larsson <alexl@redhat.com>
2884 Merge gio-standalone into glib
2886 2007-11-25 Christian Kellner <gicmo@gnome.org>
2888 * gio/goutputstream.c:
2889 Fix small mistake in the docs.
2891 2007-11-21 Christian Persch <chpe@gnome.org>
2893 * gio/glocalfile.c: (g_local_file_trash):
2894 Convert filenames to UTF-8 for GError.
2895 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2896 as per xdg base dir spec.
2898 2007-11-21 Christian Persch <chpe@gnome.org>
2900 * gio/gdesktopappinfo.c:
2901 Use that g_key_file_to_data cannot fail.
2903 Use stock defines for the key file group and key names.
2906 2007-11-21 Alexander Larsson <alexl@redhat.com>
2909 (copy_stream_with_progress):
2910 Make sure we do a final progress callback with
2911 the full total size.
2913 2007-11-21 Alexander Larsson <alexl@redhat.com>
2916 Export g_file_copy_attributes
2917 Remove padding as its not needed for interfaces
2919 2007-11-20 Alexander Larsson <alexl@redhat.com>
2924 Add G_IO_ERROR_WOULD_MERGE for
2925 copy/move dir on dir with overwrite.
2927 2007-11-20 Alexander Larsson <alexl@redhat.com>
2930 * gio/glocalfileinfo.c:
2931 Add COPY_NAME (this is an optional
2932 non-modified utf8 version of the name) that
2935 2007-11-20 Alexander Larsson <alexl@redhat.com>
2937 * gio/glocalfileenumerator.c:
2938 Report errors as GIOError, not GFileError
2940 2007-11-16 Alexander Larsson <alexl@redhat.com>
2942 * gio/glocalfileoutputstream.c:
2943 * gio/gwin32appinfo.c:
2944 Fix typos in strings.
2945 Patch from Luca Ferretti <elle.uca@libero.it>
2947 2007-11-15 Alexander Larsson <alexl@redhat.com>
2950 Post release version bump
2952 === gio-standalone 0.1.2 ===
2954 2007-11-15 Alexander Larsson <alexl@redhat.com>
2956 * docs/reference/gio/Makefile.am:
2957 Fix up distcheck by removing weird
2963 2007-11-14 Alexander Larsson <alexl@redhat.com>
2965 * gio/gdesktopappinfo.c:
2966 * gio/glocaldirectorymonitor.c:
2968 * gio/glocalfileinfo.c:
2969 * gio/inotify/inotify-sub.c:
2970 * programs/gio-cat.c:
2971 * programs/gio-copy.c:
2972 * programs/gio-info.c:
2973 * programs/gio-ls.c:
2974 * programs/gio-monitor-dir.c:
2975 * programs/gio-monitor-file.c:
2976 * programs/gio-mount.c:
2977 * programs/gio-move.c:
2978 * programs/gio-rm.c:
2979 * programs/gio-save.c:
2980 * programs/gio-trash.c:
2981 Leak fixes from Kjartan Maraas
2983 2007-11-14 Alexander Larsson <alexl@redhat.com>
2985 * gio/fam/fam-helper.c:
2987 * gio/glocalfileinfo.c:
2991 * gio/inotify/inotify-diag.c:
2992 * gio/inotify/inotify-kernel.c:
2993 Various code cleanups from Kjartan Maraas
2995 2007-11-14 Alexander Larsson <alexl@redhat.com>
2997 * gio/gioscheduler.c:
2999 Set up threadpool so that we cache 2 unused
3000 idle threads for at 15 secs. This means we
3001 will reuse thread-local data (like dbus connections)
3004 2007-11-14 Alexander Larsson <alexl@redhat.com>
3006 * gio/fam/fam-helper.c:
3007 * gio/fam/gfamdirectorymonitor.c:
3008 * gio/fam/gfamfilemonitor.c:
3010 * gio/gcontenttype.c:
3011 * gio/gdatainputstream.c:
3012 * gio/gdataoutputstream.c:
3016 * gio/gfileattribute.h:
3017 * gio/gfileenumerator.c:
3019 * gio/ginputstream.c:
3022 * gio/glocalfileinfo.c:
3023 * gio/goutputstream.c:
3024 * gio/gpollfilemonitor.c:
3025 * gio/gsimpleasyncresult.c:
3026 * gio/gunixmounts.c:
3027 * gio/gunixmounts.h:
3028 * gio/inotify/ginotifydirectorymonitor.c:
3029 * gio/inotify/ginotifyfilemonitor.c:
3030 * gio/inotify/inotify-diag.c:
3031 * gio/inotify/inotify-kernel.c:
3032 * gio/inotify/inotify-path.c:
3034 * gio/test-streams.c:
3035 * programs/gio-info.c:
3036 * programs/gio-monitor-dir.c:
3037 * programs/gio-monitor-file.c:
3038 Various code cleanups from Kjartan Maraas
3040 2007-11-13 Alexander Larsson <alexl@redhat.com>
3043 Handle the uri-scheme calls for dummy files
3045 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3047 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3048 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3049 to avoid clash with the C++ keyword.
3051 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3053 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3054 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3056 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3058 * gio/glocaldirectorymonitor.c:
3059 * gio/glocalfilemonitor.c:
3060 * gio/gunionvolumemonitor.c:
3061 Don't use g_once_init_*() for initializations that could fail and
3062 could leave the initialization variable set to 0 but use GOnce.
3063 This prevents a deadlock on the second call when trying to create
3064 a monitor and no monitor type is available. Thanks to Sven Herzberg
3067 2007-11-11 Sven Herzberg <sven@imendio.com>
3069 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3070 #ifdef (make it work on MacOS X again)
3072 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3074 Fixes Changelog for last two commits (sorry guys).
3076 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3078 * gio/gbufferedinputstream.c:
3079 * gio/gdatainputstream.c:
3081 * gio/gfileoutputstream.c:
3082 * gio/gfilterinputstream.c:
3083 * gio/glocalfileinputstream.c:
3086 More consistency fixes in g*stream.c files.
3087 Significant clean of gfile's documentation, filling in of
3088 asynchronous operations documentation.
3090 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3092 * gio/gasyncresult.c:
3093 * gio/gbufferedinputstream.c:
3094 * gio/gbufferedoutputstream.c:
3095 * gio/gcancellable.c:
3096 * gio/gcontenttype.c:
3097 * gio/gdatainputstream.c:
3098 * gio/gdataoutputstream.c:
3099 * gio/gdesktopappinfo.c:
3102 * gio/gfileattribute.c:
3103 * gio/gio/gfileenumerator.c:
3105 * gio/gfileinputstream.c:
3106 * gio/gfilemonitor.c:
3107 * gio/gfileoutputstream.c:
3108 * gio/ginputstream.c:
3110 * gio/gioscheduler.c:
3111 * gio/gloadableicon.c:
3112 * gio/glocalfileoutputstream.c:
3113 * gio/gmemoryoutputstream.c:
3114 * gio/gmountoperation.c:
3115 * gio/goutputstream.c:
3117 * gio/gsimpleasyncresult.c:
3118 * gio/gunionvolumemonitor.c:
3119 * gio/gunixmounts.c:
3120 * gio/gunixvolume.c:
3124 * gio/gvolumemonitor.c:
3125 Updated documentation stubs, working towards consistency and
3128 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3130 * gio/gmemoryoutputstream.c:
3131 * gio/gmemoryoutputstream.h:
3132 Change g_memory_output_stream_set_free_on_close() to
3133 g_memory_output_stream_set_free_data() as this makes more sense and
3134 is more consistent with GMemoryInputStream.
3136 2007-11-07 Alexander Larsson <alexl@redhat.com>
3143 Change how we find the default vfs so that
3144 we can handle a gvfs failing to init
3146 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3148 * gio/gbufferedoutputstream.c:
3149 * gio/gdatainputstream.c:
3150 * gio/gdataoutputstream.c:
3151 * gio/gfileinputstream.c:
3152 * gio/gfileoutputstream.c:
3153 * gio/gfilterinputstream.c:
3154 * gio/gfilteroutputstream.c:
3155 * gio/ginputstream.c:
3156 * gio/gmemoryinputstream.c:
3157 * gio/gmemoryoutputstream.c:
3158 * gio/goutputstream.c:
3159 * gio/gsimpleasyncresult.c:
3160 * gio/gsocketinputstream.c:
3161 * gio/gsocketoutputstream.c:
3162 Add guards to the remaining public functions, add a TODO for
3163 an unimplemented function and remove some useless guards.
3165 2007-11-07 Alexander Larsson <alexl@redhat.com>
3168 Autoconf checks for the various types of
3169 getpwuid_r and getgrgid_r
3171 * gio/glocalfileinfo.c:
3172 Use the autoconf checks from above
3174 2007-11-07 Alexander Larsson <alexl@redhat.com>
3177 (g_local_file_query_filesystem_info):
3178 Some fixes for the statvfs case
3180 2007-11-07 Alexander Larsson <alexl@redhat.com>
3183 (g_local_file_query_filesystem_info):
3184 Pick the "best" of statfs / statvfs for the system
3185 if both are availible.
3187 2007-11-07 Alexander Larsson <alexl@redhat.com>
3189 Solaris fixes from Halton.Huo@Sun.COM:
3196 * gio/glocalfileinfo.c:
3197 Fix for solaris definition of getpwuid_r
3199 * gio/test-streams.c:
3200 Use G_GNUC_PRETTY_FUNCTION
3202 2007-11-07 Alexander Larsson <alexl@redhat.com>
3204 * gio/gdesktopappinfo.c:
3205 (update_default_list):
3206 Remove double semicolon.
3207 Patch from Jens Granseuer
3209 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3211 * docs/reference/gio/gio-sections.txt:
3212 * gio/gbufferedinputstream.c:
3213 * gio/gbufferedinputstream.h:
3214 * gio/gdatainputstream.c:
3215 * gio/gfileenumerator.c:
3216 * gio/gioscheduler.c:
3217 * gio/gunionvolumemonitor.c:
3219 * programs/gio-save.c:
3220 Fix typo: availible -> available. Unfortuntely this breaks API
3221 and ABI as g_buffered_input_stream_get_available() was renamed.
3223 * gio/gunixmounts.c:
3224 * gio/gbufferedinputstream.c:
3225 Add guards for public functions.
3227 2007-11-06 Ross Burton <ross@openedhand.com>
3229 * docs/reference/gio/Makefile.am:
3230 Fix invalid += usage which automake 1.10 doesn't like.
3232 2007-11-06 Alexander Larsson <alexl@redhat.com>
3235 (g_app_launch_context_class_init):
3238 Patch from Ross Burton
3240 2007-11-06 Alexander Larsson <alexl@redhat.com>
3243 Post release version bump
3245 === gio-standalone 0.1.1 ===
3247 2007-11-06 Alexander Larsson <alexl@redhat.com>
3250 Bump version to 0.1.1
3252 * gio/gsimpleasyncresult.c:
3253 (g_simple_async_result_set_from_error):
3254 Remove bogus g_return_if_fail
3256 2007-11-06 Alexander Larsson <alexl@redhat.com>
3259 The name is gio-standalone
3262 Add top src/builddir to includedir
3264 2007-11-06 Alexander Larsson <alexl@redhat.com>
3266 * docs/reference/gio/gio-sections.txt:
3268 * gio/gbufferedinputstream.c:
3269 * gio/gbufferedoutputstream.c:
3270 * gio/gcancellable.c:
3271 * gio/gdatainputstream.h:
3272 * gio/gdataoutputstream.c:
3273 * gio/gdataoutputstream.h:
3274 * gio/gdirectorymonitor.c:
3276 * gio/gfileattribute.c:
3277 * gio/gfileattribute.h:
3278 * gio/gfileenumerator.c:
3279 * gio/gfileenumerator.h:
3282 * gio/gfileinputstream.h:
3283 * gio/gfilemonitor.c:
3284 * gio/gfileoutputstream.h:
3285 * gio/glocalfilemonitor.h:
3286 * gio/glocalfileoutputstream.h:
3287 * gio/gmemoryinputstream.c:
3288 * gio/gmemoryoutputstream.c:
3289 * gio/gmountoperation.c:
3290 * gio/goutputstream.c:
3291 * gio/goutputstream.h:
3293 * gio/gsimpleasyncresult.c:
3294 * gio/gunixmounts.c:
3295 * gio/gunixmounts.h:
3297 * gio/inotify/inotify-helper.c:
3298 Fix gtk-doc warnings
3300 Patch from Ross Burton
3302 2007-11-06 Alexander Larsson <alexl@redhat.com>
3304 * gio/gfilenamecompleter.c:
3305 (g_filename_completer_get_completions):
3308 * gio/gunixvolume.c:
3309 Remove unused function
3311 Patches from Ross Burton
3313 2007-11-06 Alexander Larsson <alexl@redhat.com>
3318 Padding not needed for interfaces
3320 2007-11-06 Alexander Larsson <alexl@redhat.com>
3322 * gio/gfilemonitor.c:
3326 Make giotypes.h an internal file
3329 * gio/gbufferedinputstream.h:
3330 * gio/gbufferedoutputstream.h:
3331 * gio/gcancellable.h:
3332 * gio/gdatainputstream.h:
3333 * gio/gdataoutputstream.h:
3334 * gio/gdirectorymonitor.c:
3335 * gio/gdirectorymonitor.h:
3340 * gio/gfileattribute.h:
3341 * gio/gfileenumerator.h:
3346 * gio/gfilemonitor.c:
3347 * gio/gfilemonitor.h:
3348 * gio/gfilenamecompleter.c:
3349 * gio/gfilenamecompleter.h:
3350 * gio/gfilterinputstream.h:
3351 * gio/gfilteroutputstream.h:
3352 * gio/ginputstream.h:
3353 * gio/gmemoryinputstream.h:
3354 * gio/gmemoryoutputstream.h:
3355 * gio/gmountoperation.c:
3356 * gio/gmountoperation.h:
3357 * gio/gnativevolumemonitor.c:
3358 * gio/goutputstream.h:
3361 * gio/gsimpleasyncresult.c:
3362 * gio/gsimpleasyncresult.h:
3363 * gio/gsocketinputstream.h:
3364 * gio/gsocketoutputstream.h:
3365 * gio/gthemedicon.c:
3366 * gio/gthemedicon.h:
3370 * gio/gvolumemonitor.c:
3371 * gio/gvolumemonitor.h:
3372 Add padding in classes where it seems useful
3373 Don't include giotypes.h from public headers
3374 Move in Class definitions into c file where possible
3379 2007-11-06 Alexander Larsson <alexl@redhat.com>
3381 * docs/reference/gio/gio-docs.xml:
3382 Better structure for API docs
3384 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3387 * gio/gloadableicon.c:
3388 * gio/gsimpleasyncresult.c:
3389 * gio/gthemedicon.c:
3390 Add some more guards to public functions. Only files missing are now
3393 2007-11-06 Alexander Larsson <alexl@redhat.com>
3395 * docs/reference/gio/gio-docs.xml:
3396 Remove old files, add missing ones
3398 2007-11-06 Alexander Larsson <alexl@redhat.com>
3400 * docs/reference/gio/gio-sections.txt:
3403 Hide implementation classes
3405 * gio/gdriveprivate.h:
3406 * gio/gvolumeprivate.h:
3407 Remove non-existing function declarations
3409 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3412 Fix compilation warnings and add guards to the new functions.
3414 * gio/gasyncresult.c:
3416 Add guards to the public functions.
3419 Implement get_path().
3421 2007-11-06 Alexander Larsson <alexl@redhat.com>
3423 * gio/gfilenamecompleter.c:
3424 Make g_filename_completer_get_completions
3425 return char ** instead of GList for
3428 * docs/reference/gio/gio-docs.xml:
3429 * docs/reference/gio/gio-sections.txt:
3431 * gio/gasyncresult.c:
3432 * gio/gbufferedinputstream.c:
3433 * gio/gbufferedoutputstream.c:
3434 * gio/gcancellable.c:
3435 * gio/gcontenttype.c:
3436 * gio/gdatainputstream.c:
3437 * gio/gdataoutputstream.c:
3438 * gio/gdesktopappinfo.c:
3439 * gio/gdirectorymonitor.c:
3443 * gio/gfileattribute.c:
3444 * gio/gfileenumerator.c:
3447 * gio/gfileinputstream.c:
3448 * gio/gfilemonitor.c:
3449 * gio/gfilenamecompleter.c:
3450 * gio/gfilenamecompleter.h:
3451 * gio/gfileoutputstream.c:
3452 * gio/gfilterinputstream.c:
3454 * gio/ginputstream.c:
3456 * gio/gioscheduler.c:
3457 * gio/gloadableicon.c:
3458 * gio/glocaldirectorymonitor.c:
3460 * gio/glocalfileinputstream.c:
3461 * gio/glocalfilemonitor.c:
3462 * gio/glocalfileoutputstream.c:
3464 * gio/gmemoryinputstream.c:
3465 * gio/gmemoryoutputstream.c:
3466 * gio/gmountoperation.c:
3467 * gio/goutputstream.c:
3468 * gio/gpollfilemonitor.c:
3470 * gio/gsimpleasyncresult.c:
3471 * gio/gsocketinputstream.c:
3472 * gio/gsocketoutputstream.c:
3473 * gio/gthemedicon.c:
3474 * gio/gunionvolumemonitor.c:
3476 * gio/gunixmounts.c:
3477 * gio/gunixvolume.c:
3478 * gio/gunixvolumemonitor.c:
3482 * gio/gvolumemonitor.c:
3483 * gio/gwin32appinfo.c:
3484 Add (mostly stub) doc strings to public functions.
3485 Patch from Andrew Walton (awalton@gmail.com)
3487 2007-11-06 Alexander Larsson <alexl@redhat.com>
3489 * gio/gappinfo.[ch]:
3490 Added GAppLaunchContext object and pass that to launch.
3491 This allows simple implementation of both
3492 launch-on-screen and startup notification via a gtk+
3493 subclass of GAppLaunchContext
3495 * gio/gdesktopappinfo.c:
3496 Implement GAppLaunchContext API
3498 * gio/gwin32appinfo.c:
3501 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3503 * gio/gmountoperation.c:
3504 Add some guards to GMountOperation's public functions.
3506 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3510 * gio/gcancellable.c:
3511 * gio/gdirectorymonitor.c:
3513 * gio/gfileenumerator.c:
3514 * gio/gfilemonitor.c:,
3515 * gio/gfilenamecompleter.c:
3518 * gio/gioscheduler.c:
3522 * gio/gvolumemonitor.c:
3523 Add even more guards to various public functions.
3525 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3528 Add guards to the public functions of GAppInfo.
3530 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3532 * gio/gcontenttype.c:
3533 Add some more guards for public functions.
3535 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3537 * gio/fam/fam-module.c:
3538 * gio/fam/gfamdirectorymonitor.c:
3539 * gio/fam/gfamdirectorymonitor.h:
3540 * gio/fam/gfamfilemonitor.c:
3541 * gio/fam/gfamfilemonitor.h:
3542 * gio/inotify/ginotifydirectorymonitor.c:
3543 * gio/inotify/ginotifydirectorymonitor.h:
3544 * gio/inotify/ginotifyfilemonitor.c:
3545 * gio/inotify/ginotifyfilemonitor.h:
3546 Add proper copyright information and remove an unused variable
3547 in the GInotifyFileMonitor constructor.
3549 * gio/gcancellable.c:
3550 Add a guard for a public function and an assertion to prevent
3551 an undefined program state.
3553 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3555 * gio/gfileattribute.c:
3556 Don't run into an assertion if the given attribute value is NULL
3557 in g_file_attribute_value_get_*() but instead return a fallback
3558 value that makes sense in most situations. Passing them a attribute
3559 value with the wrong type will still run into an assertion.
3561 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3563 * gio/gfileattribute.c:
3565 Add even more guards to the public functions. Also fix the refcounting
3566 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3567 let g_file_info_list_attributes() filter the attributes by namespace
3568 instead of simply ignoring the namespace parameter.
3570 2007-11-03 Sven Herzberg <sven@imendio.com>
3572 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3573 (This makes gio work on MacOS X again)
3575 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3578 Build the gio subdirectory before the docs. Otherwise the build will
3581 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3582 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3583 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3584 Add guards to the public functions.
3586 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3588 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3589 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3590 to prevent a compiler warning.
3592 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3593 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3594 return something in the non-void function find_topdir_for().
3596 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3603 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3605 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3606 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3607 * gwin32appinfo.c (g_win32_app_info_launch):
3608 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3609 envp_for_startup_id, g_desktop_app_info_launch,
3610 g_desktop_app_info_launch_uris):
3612 Give an opaque 'startup_id' string instead of 'envp'.
3613 Support empty file lists for launching new windows.
3614 Fix infinite recursion bug when launching URIs.
3616 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3619 Add guard to the new g_file_get_uri_scheme() function.
3621 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3624 Convert a g_return_val_if_fail() to setting the GError instead as
3625 otherwise applications have to verify the parameter before otherwise
3626 and the parameter might come directly from the user.
3628 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3630 * gio/inotify/ginotify*.[ch]:
3631 Add missing copyright information.
3633 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3636 Add guards in the beginning of public functions to check for valid
3637 parameters and fix a bug in copy_stream_with_progress() that could've
3638 caused writing less bytes than reading.
3639 * gio/glocalfileinfo.c:
3640 Check for a NULL parameter and set the GError accordingly then.
3641 * gio/goutputstream.c:
3642 Fix the same bug as in gfile.c that could've caused writing less bytes
3643 than reading in g_output_stream_real_splice().
3645 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3648 Use the correct gvolumeprivate.h naming
3650 2007-11-01 Christian Kellner <gicmo@gnome.org>
3653 Remove leftover "$(daemon_sources)" entry.
3655 2007-11-01 Christian Kellner <gicmo@gnome.org>
3660 Add copyright information to source files.
3662 2007-11-01 Alexander Larsson <alexl@redhat.com>
3666 Add g_file_get_uri_scheme
3668 2007-11-01 Alexander Larsson <alexl@redhat.com>
3671 * gio/gdesktopappinfo.c:
3672 * gio/gwin32appinfo.c:
3673 Add g_app_info_get_default_for_uri_scheme.
3675 2007-11-01 Alexander Larsson <alexl@redhat.com>
3678 Correct filename for gdriveprivate.h
3680 2007-10-31 Alexander Larsson <alexl@redhat.com>
3683 Rename id:value to id:file
3686 * gio/glocalfileinfo.c:
3689 2007-10-31 Alexander Larsson <alexl@redhat.com>
3691 * gio/gunixvolume.c:
3693 Remove g_volume_get_platform_id, as thats not
3694 needed with the simpler union volume monitor
3696 2007-10-31 Alexander Larsson <alexl@redhat.com>
3699 * gio/guniondrive.[ch]: Removed.
3700 * gio/gunionvolume.[ch]: Removed.
3701 Remove GUnionDrive/Volume
3703 * gio/gunionvolumemonitor.c:
3704 Simplify union volume monitor, now we
3705 only have one native volume monitor and
3706 we use the actual volumes/drives from the
3707 child monitors instead of wrapping them
3709 * gio/gnativevolumemonitor.[ch]:
3710 Base class for native volume monitors.
3711 Includes priority and get_volume_for_mountpoint
3714 Add g_file_find_enclosing_volume
3717 Remove volume name fs attribute
3718 Add readonly fs attribute
3721 Implement readonly attribute
3722 remove volume name attribute
3723 Implement find_enclosing volume
3725 * gio/gunixmounts.c:
3726 Add a volume for "/".
3728 * gio/gunixvolume.[ch]:
3729 Set better name for /
3731 * gio/gunixvolumemonitor.[ch]:
3732 Derive from GNativeVolumeMonitor
3733 Implement get_volume_for_mountpoint
3736 GVolume typedef moved to gfile.h
3738 * gio/gvolumeprivate.h:
3739 Add g_volume_get_for_mount_path
3741 2007-10-31 Alexander Larsson <alexl@redhat.com>
3743 * gio/gunixmounts.[ch]:
3744 Add cache info to unix mount listers
3745 Make getmntent use threadsafe
3746 Add is_system_internal attribute for GUnixMount
3748 * gio/gunixvolume.c:
3749 (g_unix_volume_new):
3750 Use is_system_internal instead of own code
3752 * gio/glocaldirectorymonitor.c:
3753 * gio/gunixvolumemonitor.c:
3754 Update to new gunixmounts API
3759 2007-10-30 Alexander Larsson <alexl@redhat.com>
3762 Add volume name fsinfo attribute
3765 Read volume name info
3767 * gio/gunionvolumemonitor.c:
3768 Fix infinite loops when finalizing a union volume monitor
3770 2007-10-30 Alexander Larsson <alexl@redhat.com>
3772 * gio/goutputstream.[ch]:
3773 Add splice() with default implementation
3775 * gio/gsocketoutputstream.c:
3776 (g_socket_output_stream_write):
3777 Return error on cancellation correctly.
3779 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3781 * gio/glocalfile.c (g_local_file_trash):
3782 Do not leak a string.
3784 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3786 * gio/gfile.c (g_file_load_contents):
3787 Unref the stream after closing it.
3789 2007-10-25 Alexander Larsson <alexl@redhat.com>
3791 * gio/gioscheduler.h:
3794 2007-10-25 Alexander Larsson <alexl@redhat.com>
3798 Add g_file_has_uri_scheme and implement for local files
3800 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3802 * gio/gdesktopappinfo.c: do not leak a string.
3804 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3806 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3807 (g_local_directory_monitor_new):
3808 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3809 (g_local_file_monitor_new):
3810 Only look for the monitor type that should be used the first time
3811 and use g_qsort_with_data() instead of our own bubble sort
3814 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3817 * gio/fam/Makefile.am:
3818 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3819 * gio/fam/fam-helper.h:
3820 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3821 * gio/fam/gfamdirectorymonitor.c:
3822 * gio/fam/gfamdirectorymonitor.h:
3823 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3824 * gio/fam/gfamfilemonitor.h:
3825 * gio/glocaldirectorymonitor.c:
3826 * gio/glocaldirectorymonitor.h:
3827 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3828 * gio/glocalfilemonitor.h:
3829 * gio/inotify/Makefile.am:
3830 * gio/inotify/ginotifydirectorymonitor.c:
3831 * gio/inotify/ginotifydirectorymonitor.h:
3832 * gio/inotify/ginotifyfilemonitor.c:
3833 * gio/inotify/ginotifyfilemonitor.h:
3834 Implement the FAM and Inotify monitors as
3835 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3836 their own GIO module. GLocal(Directory|File)Monitor will use the
3837 monitor with the highest rank that is supported on that machine.
3839 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3842 Change GIO module dir to $(libdir)/gio/modules and change
3843 the log domain from GVFS to GIO. Also only export symbols starting
3844 with g_ in the resulting library.
3845 * gio/test-streams.c: (main):
3846 Set log handler for the GIO log domain.
3848 2007-10-22 Alexander Larsson <alexl@redhat.com>
3850 * gio/gfilenamecompleter.[ch]:
3851 Add g_filename_completer_set_dirs_only
3853 2007-10-22 Alexander Larsson <alexl@redhat.com>
3856 * gio/gurifuncs.[ch]:
3857 Add some simple URI helpers
3859 * gio/gfilenamecompleter.[ch]:
3860 Added object for filename (parse name actually) completion
3863 Handle ~ in parse names
3865 2007-10-17 Alexander Larsson <alexl@redhat.com>
3868 * gio/glocalfileinfo.c:
3869 Add and implement id:value attribute
3871 2007-10-17 Alexander Larsson <alexl@redhat.com>
3874 * gio/guniondrive.c:
3876 Add and implement g_drive_has_volumes
3878 2007-10-17 Alexander Larsson <alexl@redhat.com>
3881 * gio/glocalfileinfo.[ch]:
3882 Add unix:is_mountpoint and implement for local files
3884 2007-10-16 Alexander Larsson <alexl@redhat.com>
3886 * gio/gunionvolumemonitor.c:
3887 (g_union_volume_monitor_init):
3888 Fix up the unix type getting so that it works with gcc
3890 2007-10-12 Alexander Larsson <alexl@redhat.com>
3893 * gio/glocalfileinfo.c:
3894 Add thumbnail:failed to file info
3896 2007-10-12 Richard Hult <richard@imendio.com>
3898 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3899 optimizing away the get_type call (happens with some gcc versions,
3900 like the one shipped with OS X 10.4).
3902 2007-10-12 Alexander Larsson <alexl@redhat.com>
3904 * gio/glocalfileinfo.c:
3905 (_g_local_file_info_set_attribute):
3906 Fix build if not HAVE_XATTR
3907 Patch from Milosz Derezynski <internalerror@gmail.com>
3909 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3911 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3912 around for review, otherwise I would have asked you before
3915 2007-10-11 Alexander Larsson <alexl@redhat.com>
3918 Add thumbnail:path attribute
3920 * gio/glocalfileinfo.c:
3921 Implement thumbnail:path for local files
3923 2007-10-11 Alexander Larsson <alexl@redhat.com>
3925 * gio/glocalfileinfo.c:
3926 (_g_local_file_info_get):
3927 Avoid duplicate icon names
3929 2007-10-11 Alexander Larsson <alexl@redhat.com>
3931 * gio/gthemedicon.[ch]:
3932 Change g_themed_icon_get_names return type to const
3934 2007-10-10 Alexander Larsson <alexl@redhat.com>
3936 * gio/glocalfileinfo.c:
3937 Don't reference freed memory
3939 2007-10-10 Alexander Larsson <alexl@redhat.com>
3941 * gio/gfileattribute.c:
3944 * gio/glocalfileinfo.c:
3947 2007-10-10 Alexander Larsson <alexl@redhat.com>
3950 Check for NULL icons
3952 * gio/gfileattribute.c:
3953 Don't dup when getting objects (same as for string attributes)
3955 * gio/gicon.c (g_icon_equal):
3956 Safely handle NULLs in equal
3958 2007-10-10 Alexander Larsson <alexl@redhat.com>
3961 Fix c++ compilation issues
3962 Patch from Milosz Derezynski <internalerror@gmail.com>
3964 2007-10-10 Alexander Larsson <alexl@redhat.com>
3966 * programs/gio-monitor-dir.c:
3967 Don't crash if dir monitor not supported.
3969 2007-10-09 Alexander Larsson <alexl@redhat.com>
3972 Add missing G_END_DECLS
3974 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3976 * gio/gfile.c: (g_file_set_display_name),
3977 (g_file_query_settable_attributes),
3978 (g_file_query_writable_namespaces):
3979 Return NULL not FALSE on errors as the return type is a pointer.
3981 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3983 * gio/glocalfile.c: (g_local_file_monitor_file):
3984 Don't call monitor_file on the default interface vtable (which
3985 is NULL) but simply return NULL. The caller, GFile, will create a
3986 polling monitor if NULL is returned.
3988 2007-10-09 Alexander Larsson <alexl@redhat.com>
3992 * gio-unix-2.0.pc.in:
3993 Add gio-unix-2.0.pc if OS_UNIX
3996 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3998 2007-10-09 Alexander Larsson <alexl@redhat.com>
4000 * gio/gunixmounts.[ch]:
4001 Make unix mount monitoring API sane.
4002 Now its just a object with mounts_changed
4003 and mountpoints_changed signals.
4005 * gio/glocaldirectorymonitor.c:
4006 * gio/gunixvolumemonitor.c:
4007 Use new mount monitor api
4009 2007-10-09 Alexander Larsson <alexl@redhat.com>
4011 * gio/gunixmounts.[ch]:
4012 Move guess type into one call for mounts and one for mountpoints
4015 * gio/gunixvolume.c:
4018 2007-10-09 Alexander Larsson <alexl@redhat.com>
4020 * gio/gunixmounts.[ch]:
4021 Remove _ prefix in preparation to make this semi-public
4022 Hide implementation of structs
4024 * gio/glocaldirectorymonitor.c:
4026 * gio/gunixvolume.c:
4027 * gio/gunixvolumemonitor.c:
4028 Update for above API changes
4030 2007-10-08 Alexander Larsson <alexl@redhat.com>
4033 Better polling fallback. This also handles the case where we have
4034 a monitor_file implementation, but it fails.
4036 2007-10-08 Alexander Larsson <alexl@redhat.com>
4040 * gio/gunixmounts.c:
4041 * programs/gio-monitor-dir.c:
4042 * programs/gio-monitor-file.c:
4043 Added cancellable to file monitoring calls.
4044 These are really sync calls and need this.
4046 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4048 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4049 (g_local_vfs_class_init):
4050 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4051 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4053 2007-10-05 Alexander Larsson <alexl@redhat.com>
4055 * gio/gdirectorymonitorprivate.h:
4056 * gio/gfilemonitorprivate.h:
4057 * gio/gdirectorymonitor.h:
4058 * gio/gfilemonitor.h:
4059 Remove *private.h and move to the public API, so that
4060 we can do implementations outside gio (such as in gvfs)
4062 * gio/gdirectorymonitor.c:
4063 * gio/gfilemonitor.c:
4064 * gio/glocaldirectorymonitor.c:
4065 * gio/gpollfilemonitor.c:
4066 * gio/inotify/inotify-helper.c:
4067 * gio/fam/fam-helper.c:
4068 Update to the new header names
4070 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4072 * gio/gdirectorymonitor.c:
4073 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4076 2007-10-04 Alexander Larsson <alexl@redhat.com>
4078 * gio/glocalfileinfo.c (get_access_rights):
4079 Set CAN_TRASH when we can move the file.
4080 We should really also check for a parent trash dir.
4082 2007-10-04 Alexander Larsson <alexl@redhat.com>
4084 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4085 Add can_trash access attribute
4087 2007-10-04 Alexander Larsson <alexl@redhat.com>
4090 (g_local_file_trash):
4091 Create info file first. This is per-spec and allows
4092 us to actually trash directories.
4094 2007-10-02 Alexander Larsson <alexl@redhat.com>
4096 * gio/gdesktopappinfo.c:
4097 Implement the new mime support code.
4098 Always set app as handling mimetype when being set as default for it
4100 2007-10-01 Alexander Larsson <alexl@redhat.com>
4102 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4103 Fix up check for xattrs:
4105 2007-10-01 Alexander Larsson <alexl@redhat.com>
4108 (g_app_info_set_as_default_for_extension):
4109 (g_app_info_add_supports_type):
4110 (g_app_info_can_remove_supports_type):
4111 (g_app_info_remove_supports_type):
4112 Make these fail nicely if not implemented
4114 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4116 * gio/glocalfileoutputstream.c:
4117 * gio/glocalfileoutputstream.h:
4122 * programs/gio-save.c:
4123 Add a GFileCreateFlags argument to operations that can create
4126 2007-10-01 Alexander Larsson <alexl@redhat.com>
4128 * gio/gappinfo.[ch]:
4129 * gio/gdesktopappinfo.c:
4130 Add more (stubbed out) mime API needed for nautilus
4132 2007-10-01 Alexander Larsson <alexl@redhat.com>
4135 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4136 Add g_app_info_set_as_default_for_extension.
4138 * gio/gdesktopappinfo.c:
4139 Dummy for g_app_info_set_as_default_for_extension
4140 Support flags in g_app_info_create_from_commandline
4142 * gio/gwin32appinfo.c:
4144 Update for API changes
4146 * gio/gthemedicon.c:
4147 Properly NULL-terminate list of icon names
4149 2007-09-28 Alexander Larsson <alexl@redhat.com>
4151 * gio/gloadableicon.h:
4152 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4154 2007-09-28 Alexander Larsson <alexl@redhat.com>
4157 Install headers in $includedir/gio-standalone/
4159 * gio-2.0.pc.in: Added.
4160 * gio-standalone.pc.in: Removed.
4163 Renamed pkg-config file to match glib (for future move)
4164 Update to the new include dir
4167 Add more TODO comments
4169 2007-09-28 Alexander Larsson <alexl@redhat.com>
4171 * gio/gdesktopappinfo.[ch]:
4172 Expose new_from_filename
4173 Add getter for is_hidden and handle it better
4175 2007-09-28 Alexander Larsson <alexl@redhat.com>
4177 * gio/gfileinfo.[ch]:
4178 Rename g_file_size_format_for_display to
4179 g_format_file_size_for_display.
4180 Now it doesn't have the g_file prefix, so we
4181 can later move it to glib.
4183 2007-09-28 Alexander Larsson <alexl@redhat.com>
4185 * gio/gappinfo.[ch]:
4186 Add g_app_info_get_id and g_app_info_get_executable.
4187 Make all getters non-reffing
4188 Make g_app_info_launch take GFile arguments.
4189 Add must_support_uris argument to g_app_info_get_default_for_type.
4191 * gio/gwin32appinfo.c:
4192 Update to GAppInfo api changes
4194 * gio/gdesktopappinfo.c:
4195 Update to GAppInfo api changes
4196 Implement supports_xdg_startup_notify
4198 * gio/gfileicon.c (g_file_icon_get_file):
4199 Make getter non-reffing.
4204 2007-09-27 Alexander Larsson <alexl@redhat.com>
4206 * gio/gfileinfo.[ch]:
4207 Add g_file_size_format_for_display helper
4209 2007-09-27 Alexander Larsson <alexl@redhat.com>
4211 * gio/glocalfileinfo.c:
4212 Set UNIX_GID from gid, not from uid
4214 2007-09-27 Alexander Larsson <alexl@redhat.com>
4217 Add g_file_set_attributes_async
4219 2007-09-27 Alexander Larsson <alexl@redhat.com>
4221 * gio/glocalfile.c (g_local_file_set_display_name):
4222 Fix set_display_name to actually rename to the right place.
4223 Use lstat to look for existing files so we don't overwrite
4226 2007-09-26 Alexander Larsson <alexl@redhat.com>
4229 Add g_file_set_display_name_async()
4231 2007-09-26 Alexander Larsson <alexl@redhat.com>
4234 Add load_partial_contents async calls
4237 Make internal function static
4239 2007-09-26 Alexander Larsson <alexl@redhat.com>
4241 * gio/glocalfileinfo.c:
4242 Correctly detect broken symlinks
4244 2007-09-26 Alexander Larsson <alexl@redhat.com>
4246 * gio/gcancellable.c (g_cancellable_cancel):
4247 Allow cancel on NULL cancellable
4249 2007-09-25 Alexander Larsson <alexl@redhat.com>
4251 * gio/gsimpleasyncresult.c:
4252 Don't allocate g_error manually.
4253 Fixes g_slice/g_new mixup crash
4255 2007-09-25 Alexander Larsson <alexl@redhat.com>
4257 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4258 Actually set active_backend.
4259 This means the monitor will be cancelled correctly.
4261 2007-09-25 Alexander Larsson <alexl@redhat.com>
4263 * gio/gdirectorymonitor.c:
4264 Set timeout to NULL when destroying
4266 2007-09-25 Alexander Larsson <alexl@redhat.com>
4269 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4270 that is a better description of the error.
4272 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4274 * gio/gvfs.c: (g_vfs_get_local):
4275 Make the local vfs variable static. The same instance should
4278 2007-09-24 Alexander Larsson <alexl@redhat.com>
4280 * gio/glocalfileinfo.c:
4281 Pass in actual length read into sniffer, not the length
4284 2007-09-21 Alexander Larsson <alexl@redhat.com>
4286 * gio/gfileenumerator.c:
4289 * gio/gfileinputstream.c:
4290 * gio/gfileoutputstream.c:
4291 * gio/ginputstream.c:
4292 * gio/goutputstream.c:
4293 Don't crash if async callbacks are NULL
4295 2007-09-20 Alexander Larsson <alexl@redhat.com>
4298 Add async enumerate_children method and default
4301 2007-09-20 Alexander Larsson <alexl@redhat.com>
4304 Add g_file_contains_file & g_file_get_relative_path, since they
4305 were needed for nautilus.
4306 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4311 Implement new methods
4313 2007-09-17 Alexander Larsson <alexl@redhat.com>
4316 * gio/gfileinputstream.[ch]:
4317 * gio/gfileoutputstream.[ch]:
4319 * gio/glocalfileenumerator.[ch]:
4320 * gio/glocalfileinfo.[ch]:
4321 * gio/glocalfileinputstream.c:
4322 * gio/glocalfileoutputstream.c:
4323 * gio/gpollfilemonitor.c:
4324 * programs/gio-copy.c:
4325 * programs/gio-info.c:
4326 * programs/gio-move.c:
4327 Rename get_file_info to query_info() to make it clearer
4328 that these are not simple getters, but do i/o.
4330 2007-09-17 Alexander Larsson <alexl@redhat.com>
4332 * gio/gdatainputstream.[ch]:
4333 * gio/test-streams.c:
4334 Use _read_XXX instead of _get_XXX for the i/o calls
4337 2007-09-17 Alexander Larsson <alexl@redhat.com>
4340 Added needed stuff to TODO comment
4342 2007-09-17 Alexander Larsson <alexl@redhat.com>
4344 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4345 Don't error out removing the backup copy if it doesn't
4348 2007-09-14 Alexander Larsson <alexl@redhat.com>
4350 * programs/Makefile.am:
4351 * programs/gvfs-*.c:
4353 Renamed apps from gvfs-xxx to gio-xxx.
4355 2007-09-14 Alexander Larsson <alexl@redhat.com>
4358 * gio/gfileoutputstream.[ch]:
4359 * gio/glocalfileoutputstream.c:
4360 * programs/gvfs-save.c:
4361 g_file_output_stream_get_etag doesn't do i/o, so remove
4362 cancellation and error.
4364 2007-09-14 Alexander Larsson <alexl@redhat.com>
4367 Add new_etag output to replace_contents functions
4369 2007-09-14 Alexander Larsson <alexl@redhat.com>
4371 * gio/gfileoutputstream.[ch]:
4372 Add async get_file_info and default implementation
4374 2007-09-14 Alexander Larsson <alexl@redhat.com>
4376 * gio/gfileinputstream.c:
4377 Implement fallback wrapper for async get_file_info
4379 2007-09-14 Alexander Larsson <alexl@redhat.com>
4382 Add etag out argument to load_contents
4387 2007-09-14 Alexander Larsson <alexl@redhat.com>
4389 * gio/gcontenttype.c (looks_like_text):
4390 Whitespace like tab, cr and lf do not make the
4393 2007-09-14 Alexander Larsson <alexl@redhat.com>
4395 * gio/gfileinputstream.[ch]:
4396 Add async get_file_info.
4398 2007-09-13 Alexander Larsson <alexl@redhat.com>
4400 * gio/goutputstream.c (g_output_stream_write_all):
4401 Allow NULL for bytes_written
4403 2007-09-13 Alexander Larsson <alexl@redhat.com>
4405 * gio/gmemoryinputstream.[ch]:
4406 Add accessors for data
4408 2007-09-13 Alexander Larsson <alexl@redhat.com>
4410 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4411 Don't crash if length is NULL