1 2008-06-16 Tor Lillqvist <tml@novell.com>
3 Bug 538362 - Get Win32 icons back in the file chooser
5 * gcontenttype.c (g_content_type_get_icon): Look up the icon
6 corresponding to a file extension in the Registry. Patch by Hans
8 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
10 2008-06-16 Tor Lillqvist <tml@novell.com>
12 Patches by Hans Breuer:
14 * glocalfile.c (is_xp_or_later): Handle compiling against older
15 SDK headers with missing VerifyVersionInfo(). Conditioned on
16 _MSC_VER, but should probably use some better test.
17 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
18 uninitialised statfs_result variable on Win32.
20 2008-06-16 Michael Natterer <mitch@imendio.com>
22 * *.c: chain up unconditionally in finalize() and dispose(). Also
23 don't dereference these function pointers when calling them since
24 that has no meaning at all.
26 2008-06-16 Ross Burton <ross@burtonini.com>
29 Remove check for dispose implementation as it annoys Emmanuele.
31 2008-06-16 Ross Burton <ross@burtonini.com>
33 Bug 536252 – GFileEnumerator should allow access to the containing
39 Add g_file_enumerator_get_container() and a container writeable
40 construct-only property. Also shuffle around typedefs to make it
43 * glocalfileenumerator.c:
44 * glocalfileenumerator.h:
46 Instead of a string filename take a GFile in the constructor and
47 use it to set the container property.
52 2008-06-16 Matthias Clasen <mclasen@redhat.com>
54 * gfile.c: Make includes more uniform
56 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
58 * tests/live-g-file.c (sample_struct):
59 Use less fancy unicode filenames, so the test doesn't fail
60 on Mac OS X (#531476).
62 2008-06-12 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.17.2 ===
66 2008-06-12 Matthias Clasen <mclasen@redhat.com>
68 * === Released 2.17.1 ===
70 2008-06-11 A. Walton <awalton@gnome.org>
72 * tests/g-file.c (test_g_file_new_null):
75 2008-06-11 Matthias Clasen <mclasen@redhat.com>
77 * pltcheck.sh: We use g_clear_error now.
79 2008-06-11 Matthias Clasen <mclasen@redhat.com>
81 * glocalfile.c (g_local_file_enumerate_children): Revert
84 2008-06-11 Matthias Clasen <mclasen@redhat.com>
86 * gfile.c (g_file_replace_contents): Don't unref before the last use.
88 2008-06-10 Matthias Clasen <mclasen@redhat.com>
90 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
93 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
94 as icon for the desktop directory, also make user-home and
95 user-desktop the preferred icons.
97 2008-06-10 Matthias Clasen <mclasen@redhat.com>
100 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
101 to add a name to the front of the list.
103 2008-06-10 Matthias Clasen <mclasen@redhat.com>
105 Bug 537392 – Additional colon in xattr name
107 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
108 too. Reported by Alessandro Morandi
110 2008-06-10 Matthias Clasen <mclasen@redhat.com>
112 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
115 * glocalfile.c (get_fs_type): Add afs and autofs.
116 Patch by Danny Baumann.
118 2008-06-10 Matthias Clasen <mclasen@redhat.com>
120 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
122 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
123 is no parent. (Owen Taylor, patch by Christian Neumair)
125 2008-06-10 Paolo Borelli <pborelli@katamail.com>
127 * gfile.c (g_file_replace_contents): do not leak the output stream.
129 2008-06-10 Michael Natterer <mitch@imendio.com>
131 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
132 uninitialized memory as array index.
134 2008-06-10 Tor Lillqvist <tml@novell.com>
136 * gcontenttype.c (g_content_type_can_be_executable)
137 (g_content_type_get_icon) [Win32]: Add TODO comments.
139 2008-06-09 Matthias Clasen <mclasen@redhat.com>
141 * xdgmime/Makefile.am: Fix the build
143 2008-06-09 Matthias Clasen <mclasen@redhat.com>
145 * gcontenttype.c (g_content_type_get_icon): Use icons specified
146 in the shared mime database, if available.
148 * xdgmime/*: Sync with upstream. This brings support for
149 glob weights, generic icons, and changes the cache format to
152 2008-05-28 Michael Natterer <mitch@imendio.com>
154 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
155 the global CPPFLAGS now.
157 * tests/data-input-stream.c
158 * tests/data-output-stream.c
159 * tests/g-file-info.c
161 * tests/live-g-file.c
162 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
164 2008-05-27 Matthias Clasen <mclasen@redhat.com>
166 * === Released 2.17.0 ===
168 * tests/live-g-file.c: Clean up after the tests, so make distcheck
169 doesn't complain about leftover files.
171 2008-05-27 simon.zheng <simon.zheng@sun.com>
173 * glocalfile.c: (g_local_file_query_filesystem_info):
174 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
176 2008-05-26 Michael Natterer <mitch@imendio.com>
178 * gmemoryoutputstream.h: declare
179 g_memory_output_stream_get_data_size().
181 2008-05-26 Matthias Clasen <mclasen@redhat.com>
183 * tests/*: Make tests work
185 2008-05-26 Matthias Clasen <mclasen@redhat.com>
187 * gio.symbols: Add g_memory_output_stream_get_data_size.
189 2008-05-25 Ross Burton <ross@burtonini.com>
192 Fix typo in error message (#534764).
194 2008-05-25 Ross Burton <ross@burtonini.com>
197 Fix circular dependency loop for gioenumtypes.h (#534759).
199 2008-05-19 Hans Breuer <hans@breuer.org>
201 * Makefile.am : EXTRA_DIST += makefile.msc
203 2008-05-17 Matthias Clasen <mclasen@redhat.com>
206 * gcontenttype.c: (g_content_type_from_mime_type):
207 New function to create a content type from a mime type. (#527175,
210 2008-05-17 Matthias Clasen <mclasen@redhat.com>
212 Bug 532965 – Should not return filesystem::free for certain file systems
214 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
215 free space for ncpfs.
217 2008-05-17 Matthias Clasen <mclasen@redhat.com>
219 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
221 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
222 st_dev might be zero.
224 2008-05-16 Tor Lillqvist <tml@novell.com>
226 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
227 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
229 2008-05-13 Bastien Nocera <hadess@hadess.net>
231 * gfile.c (has_valid_scheme): A URI scheme must start with a
232 letter, even if later more characters are allowed (#532852)
234 2008-05-05 Michael Natterer <mitch@imendio.com>
236 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
237 code from being checked in that breaks the build of applications
238 which use G_DISABLE_SINGLE_INCLUDES.
240 * makegioalias.pl: make the alias file include "glib.h" instead of
243 * gio.symbols: whitespace change to force regeneration of the
244 alias file after above script change.
246 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
248 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
250 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
252 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
254 2008-04-28 David Zeuthen <davidz@redhat.com>
256 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
257 displaying mounts in a subdirectory not accessible to the
260 2008-04-22 Michael Natterer <mitch@imendio.com>
262 * Makefile.am: fix library versioning (it was 0.0.0).
264 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
266 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
267 Default disable all loggings.
268 * fen/fen-kernel.c: (printevent), (port_add_kevent),
269 (port_fetch_event_cb): Fixed two macro nits.
271 2008-04-16 Matthias Clasen <mclasen@redhat.com>
273 * xdgmime/xdgmime.c: Rework the timestamp checking code
274 to protect against duplicate directories in XDG_DATA_DIRS.
275 Fixes fd.o bug 12513, reported by Joe Shaw.
277 2008-04-16 Matthias Clasen <mclasen@redhat.com>
279 Partically revert the last commit after realizing that
280 xdg_mime_media_type_equal doesn't have to init at all.
283 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
285 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
287 2008-04-16 Matthias Clasen <mclasen@redhat.com>
289 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
290 reported by Joe Shaw and Federico Mena Quintero.
292 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
293 (xdg_mime_media_type_equal): Turn into a wrapper around the
296 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
297 functions throughout.
299 2008-04-16 Michael Meeks <michael.meeks@novell.com>
301 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
302 tolerate an empty TryExec= line without failing; nautilus used
303 to create launchers with these in previous versions. Fixes #528433
305 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
307 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
308 after name. Fixes #527132.
310 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
312 * gfile.c: (g_file_replace):
315 2008-04-07 Matthias Clasen <mclasen@redhat.com>
317 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
319 * gfile.c (file_copy_fallback): Fix the argument order. Patch
320 by Christian Kellner.
322 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
324 * gunixmounts.c: (g_unix_mount_guess_should_display):
325 Don't list the user directory as a mount, fix potential issue
326 when other users have a similar naming and don't special case the
327 gvfs mounts there since that's not required (#525866)
329 2008-03-31 Alexander Larsson <alexl@redhat.com>
331 * glocalfile.c (get_parent):
334 2008-03-31 A. Walton <awalton@svn.gnome.org>
336 * gfile.c (g_file_query_file_type):
337 Always return a GFileType enum value (#520715).
339 2008-03-31 Alexander Larsson <alexl@redhat.com>
341 * glocalfileenumerator.c:
342 Read readdir() info in chunks (of 1000) and sort
343 the chunks by inode before stat:ing.
344 This is a 20% performance increase in testing
345 gvfs-ls on /usr/bin with cold cache.
347 2008-03-31 Alexander Larsson <alexl@redhat.com>
349 * gmemoryoutputstream.c:
350 Clarify docs for g_memory_output_stream_get_size.
351 Add g_memory_output_stream_get_data_size.
353 2008-03-30 Matthias Clasen <mclasen@redhat.com>
357 * gfile.h: Add g_file_query_file_type convenience function
358 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
360 2008-03-30 Matthias Clasen <mclasen@redhat.com>
363 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
365 2008-03-28 A. Walton <awalton@svn.gnome.org>
367 * giomodule.c (_g_io_modules_ensure_loaded):
368 Adds GIO_EXTRA_MODULES environment variable support, closing bug
371 2008-03-28 Alexander Larsson <alexl@redhat.com>
374 (copy_stream_with_progress):
377 2008-03-28 Alexander Larsson <alexl@redhat.com>
380 (copy_stream_with_progress):
381 (file_copy_fallback):
382 Fallback to g_file_query_info for source size
383 if g_file_input_stream_query_info fails. (#524579)
385 2008-03-28 Alexander Larsson <alexl@redhat.com>
387 * glocalfile.c (g_local_file_move):
388 Reuse old string instead of adding new one.
390 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
392 * fen/*.[hc]: still copyright issue. I hate copyright.
394 2008-03-27 Alexander Larsson <alexl@redhat.com>
396 * glocalfile.c (g_local_file_move):
397 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
398 file over directory. This is according to the docs and what the move via
399 copy+remove fallback does.
401 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
403 * fen/*.[hc]: Updated copyright.
405 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
407 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
409 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
411 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
412 not emit attribute changed events when optimizing changed events.
413 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
416 2008-03-19 Matthias Clasen <mclasen@redhat.com>
418 * gmountoperation.[hc]: Small documentation additions
420 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
422 * gunixmounts.c: (guess_mount_type):
423 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
425 2008-03-19 Alexander Larsson <alexl@redhat.com>
428 (copy_stream_with_progress):
429 Bump block side for copy to 64k to minimize
430 overhead for low latency links. (#523015)
432 2008-03-16 Tor Lillqvist <tml@novell.com>
434 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
435 depend on gio.def on Windows.
437 2008-03-12 David Zeuthen <davidz@redhat.com>
441 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
443 2008-03-14 Alexander Larsson <alexl@redhat.com>
447 Avoid redudant tests (#521851)
448 Patch from Josselin Mouette
450 2008-03-14 Alexander Larsson <alexl@redhat.com>
453 (g_file_monitor_is_cancelled):
454 Fix C89 issue (#521672)
455 Patch from Jens Granseuer
457 2008-03-14 Alexander Larsson <alexl@redhat.com>
459 * fam/fam-helper.[ch]:
461 Shut down fam (including removing fam GSource) when
462 module is unloaded (#521513)
463 Patch from Joe Marcus Clarke
465 2008-03-14 Alexander Larsson <alexl@redhat.com>
468 (_g_io_modules_ensure_loaded):
471 2008-03-14 Alexander Larsson <alexl@redhat.com>
474 (g_local_file_query_filesystem_info):
475 Use right define name for f_fstypename member check
477 2008-03-14 Alexander Larsson <alexl@redhat.com>
480 * fen/Makefile.am: Added.
481 * fen/fen-data.[ch]: Added.
482 * fen/fen-dump.[ch]: Added.
483 * fen/fen-helper.[ch]: Added.
484 * fen/fen-kernel.[ch]: Added.
485 * fen/fen-missing.[ch]: Added.
486 * fen/fen-node.[ch]: Added.
487 * fen/fen-sub.[ch]: Added.
488 * fen/gfendirectorymonitor.[ch]: Added.
489 * fen/gfenfilemonitor.[ch]: Added.
491 Added Solaris FEN file notification backend.
492 Patch from Lin Ma <Lin.Ma@Sun.COM>
494 2008-03-13 Tor Lillqvist <tml@novell.com>
496 * Makefile.am: Actually use the gio.def file when linking the
497 library on Windows. Produce .lib library for Microsoft's toolchain
498 when possible. Install the .lib and .def file like for the other
501 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
503 * tests/live-g-file.c:
504 Include live-g-file in standard set of tests, making a temporary
505 directory in source structure.
507 Clean target directory before the tests (write mode only)
509 2008-03-12 Tor Lillqvist <tml@novell.com>
511 Bug 517419 - gio win32 directory monitor
512 Implementation by Vlad Grecescu.
515 * win32/gwin32directorymonitor.h
516 * win32/gwin32directorymonitor.c: New files.
518 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
520 * Makefile.am: Add the win32 subdirectory.
522 2008-03-12 Tor Lillqvist <tml@novell.com>
524 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
525 normal struct stat on Unix but struct _stati64 on Windows to have
526 access to 64-bit file size information. Use that instead of struct
527 stat in the functions declared here in this private header.
529 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
530 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
531 warnings about unused functions and variables. Don't set
532 meaningless attributes like inode numbers on Windows.
534 2008-03-12 Benjamin Otte <otte@gnome.org>
537 trim whitespace so gtk-doc groks the function name
539 2008-03-12 Tor Lillqvist <tml@novell.com>
541 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
542 returning FALSE, on Win32.
544 2008-03-11 Alexander Larsson <alexl@redhat.com>
547 * glocalfileinfo.[ch]:
548 Correctly implement can_trash by actually
549 looking for a trash dir, not just assuming
552 2008-03-10 Matthias Clasen <mclasen@redhat.com>
554 * === Released 2.16.1 ===
556 2008-03-11 Alexander Larsson <alexl@redhat.com>
559 Fix crashes in new constructor and properties code
561 2008-03-10 Murray Cumming <murrayc@murrayc.com>
563 * gfile.c: Minor spelling correction in documentation:
564 existance -> existence.
566 2008-03-10 Matthias Clasen <mclasen@redhat.com>
568 * === Released 2.16.0 ===
570 2008-03-10 Matthias Clasen <mclasen@redhat.com>
572 * gio.symbols: Remove g_file_contains_file here, too.
574 2008-03-10 Matthias Clasen <mclasen@redhat.com>
576 * gthemedicon.c: Add properties to make bindings happy. (#517676,
577 Samuel Cormier-Iijima)
579 2008-03-08 Tor Lillqvist <tml@novell.com>
581 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
584 2008-03-07 Alexander Larsson <alexl@redhat.com>
587 (g_local_file_query_filesystem_info):
588 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
589 Patch from Jasper Lievisse Adriaanse
591 2008-03-06 Tor Lillqvist <tml@novell.com>
593 * gfileinfo.h: Correct milliseconds to microseconds in the doc
594 comments for the *_USEC attributes.
596 2008-03-06 Alexander Larsson <alexl@redhat.com>
598 * gfile.c (g_file_query_exists):
599 Add g_return_val_if_fail check (#520700)
601 2008-03-06 Alexander Larsson <alexl@redhat.com>
606 * gunionvolumemonitor.c:
609 * tests/live-g-file.c:
610 * xdgmime/xdgmimecache.c:
611 Fix sparse warnings (#519489)
613 2008-03-05 Alexander Larsson <alexl@redhat.com>
616 Make cancellation threadsafe (i.e.
617 guarantee its only done once, and always
620 * glocaldirectorymonitor.c:
621 Make sure we the monitor lives while the
622 mounts_changed callback is being called (#520484)
624 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
626 * gbufferedinputstream.c: Fix typo in parameter
629 2008-03-04 Alexander Larsson <alexl@redhat.com>
632 Remove deprecated symbols we kept for one release.
634 2008-03-04 Murray Cumming <murrayc@murrayc.com>
637 * goutputstream.c: Tiny documentation corrections.
639 2008-03-03 Alexander Larsson <alexl@redhat.com>
641 * gunionvolumemonitor.c:
643 Fix the adopt_orphan_mount vfunc to take a
644 volume_monitor reference in an ABI compat way.
645 This change is not API compat, but the added
646 arg is not used in the only user of this vfunc, so
647 all we get is a harmless warning in gvfs (#520169)
649 2008-03-01 Benjamin Otte <otte@gnome.org>
652 clarify docs for g_file_delete().
654 2008-02-29 Alexander Larsson <alexl@redhat.com>
658 Make sure empty files get text/plain type (#518720)
660 2008-02-27 Alexander Larsson <alexl@redhat.com>
666 (g_unix_volume_mount):
667 Add missing GMountMountFlags argument
669 2008-02-26 Alexander Larsson <alexl@redhat.com>
672 (g_local_file_delete):
673 Handle filesystems (like ntfs-3g) that return EEXIST instead
674 of ENOTEMPTY (#518816)
676 2008-02-25 Matthias Clasen <mclasen@redhat.com>
678 * === Released 2.15.6 ===
680 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
682 * gfile.c (g_file_find_enclosing_mount):
683 * ginputstream.c (g_input_stream_set_pending):
684 * glocalfile.c (g_local_file_find_enclosing_mount):
685 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
686 * goutputstream.c (g_output_stream_set_pending):
688 Fixup translator comments (#518578).
690 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
692 * gfile.c (g_file_find_enclosing_mount):
694 * glocalfile.c (g_local_file_find_enclosing_mount):
697 Fix a few typos in translator comments and documentation.
699 2008-02-25 Alexander Larsson <alexl@redhat.com>
706 Add translator comments (#518578)
708 2008-02-25 Alexander Larsson <alexl@redhat.com>
711 Reintroduce g_file_contains_file, keep around for one
712 unstable release cycle to avoid crashing to many apps.
713 Make sure to delete after release.
715 2008-02-25 Alexander Larsson <alexl@redhat.com>
718 Remove deprecated g_file_contains_file.
720 2008-02-25 Alexander Larsson <alexl@redhat.com>
723 Emit actual change signals in an idle handler.
724 This avoids reentrance and locking problems in
725 the file notification backends.
727 2008-02-25 Alexander Larsson <alexl@redhat.com>
730 (g_unix_mount_guess_should_display):
731 Remove type guessing, instead just display
732 mounts in /media and in ~/.
734 2008-02-25 Alexander Larsson <alexl@redhat.com>
737 Make new strings reuse old ones.
739 2008-02-25 Alexander Larsson <alexl@redhat.com>
742 Implement trashing and filesystem::readonly for win32 (#517235)
743 Patch from Yevgen Muntyan
745 2008-02-23 Matthias Clasen <mclasen@redhat.com>
747 * gfileinfo.h: Documentation fixes.
749 2008-02-22 Alexander Larsson <alexl@redhat.com>
751 * gcontenttype.c (g_content_type_get_icon):
752 Look at old-style gnome mime icon names too, as many
753 have not moved to the new style.
755 2008-02-21 Matthias Clasen <mclasen@redhat.com>
757 * *.c: Correct the @include in for section docs.
759 2008-02-21 David Zeuthen <davidz@redhat.com>
761 * glocalfileinfo.c: (_g_local_file_info_get):
763 (g_content_type_get_icon): Implement this function by
764 moving bits from glocalfileinfo.c
765 (g_content_type_get_description): Unalias before getting
766 description (#517687)
768 * gfile.c: (g_file_class_init),
769 (g_file_query_filesystem_info_async),
770 (g_file_query_filesystem_info_finish),
771 (query_filesystem_info_data_free),
772 (query_filesystem_info_async_thread),
773 (g_file_real_query_filesystem_info_async),
774 (g_file_real_query_filesystem_info_finish):
775 * gfile.h: Implement async version of
776 g_file_query_filesystem_info()
778 * gfileinfo.h: Add new attributes for filesystem::use-preview
780 * gio.symbols: Update
782 * gthemedicon.c: (g_themed_icon_append_name):
783 * gthemedicon.h: Add new new convenience function.
785 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
786 (get_mounts), (get_volumes), (get_connected_drives),
787 (get_volume_for_uuid), (get_mount_for_uuid),
788 (g_union_volume_monitor_init), (populate_union_monitor),
789 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
790 (g_volume_monitor_adopt_orphan_mount):
792 * gvolumemonitor.h: Use recursive locks so it's safe for volume
793 monitor implementations to call into the main volume monitor. Also
794 separate object initialization and volume monitor initialization
795 such that non-native volume monitors can properly adopt their
798 2008-02-21 Alexander Larsson <alexl@redhat.com>
803 2008-02-21 Alexander Larsson <alexl@redhat.com>
806 Add more documentation about how GFiles work (from #517086)
808 2008-02-21 Alexander Larsson <alexl@redhat.com>
812 Add new g_file_has_prefix that does the same as g_file_contains_file.
813 Deprecate g_file_contains_file and add a macro that converts
814 it to g_file_has_prefix.
815 The reason for this change is that the contains_file() name seems to
816 imply that this does more work than what it does, but its really only
817 a name match (from #517086)
822 Update to match the above change.
824 2008-02-20 Benjamin Otte <otte@gnome.org>
826 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
827 (g_file_eject_mountable):
828 even more cases of not returning in error path
830 2008-02-20 Benjamin Otte <otte@gnome.org>
832 * gfile.c: (g_file_mount_mountable):
833 return from function in error path.
835 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
838 Remove trailing coma in GMountMountFlags struct
840 2008-02-18 Alexander Larsson <alexl@redhat.com>
844 * glocalfileoutputstream.c:
845 Use g_unlink/g_rename instead of unlink/rename;
846 do not pass raw filenames to g_set_error. (#517239)
847 Patch from Yevgen Muntyan.
849 2008-02-18 Alexander Larsson <alexl@redhat.com>
852 * glocalfileoutputstream.c:
853 Open files with O_BINARY on windows. (#517140)
855 2008-02-14 Alexander Larsson <alexl@redhat.com>
857 * glocalfileoutputstream.c:
858 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
860 2008-02-14 Alexander Larsson <alexl@redhat.com>
863 Copy permissions with file on copy (#514084)
864 This is what cp does and makes sure e.g. the
865 exec permissions are kept.
866 Its kinda weird in that it keeps the permission bits
867 the same while the uid and gid are different. However
868 the new uid is the user so its not a security issue,
869 and I've heard no complaints about cp on this issue.
871 2008-02-13 Ryan Lortie <desrt@desrt.ca>
873 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
875 2008-02-13 Alexander Larsson <alexl@redhat.com>
877 * inotify/inotify-path.c:
878 Define IN_ONLYDIR if not in header (#515346)
880 2008-02-12 Alexander Larsson <alexl@redhat.com>
882 * tests/live-g-file.c:
885 2008-02-11 Matthias Clasen <mclasen@redhat.com>
887 * === Released 2.15.5 ===
889 2008-02-11 Matthias Clasen <mclasen@redhat.com>
891 * gio.symbols: Add g_mount_mount_flags_get_type.
893 2008-02-11 Alexander Larsson <alexl@redhat.com>
896 (g_file_info_set_attribute_mask):
897 (g_file_attribute_matcher_matches_id):
898 Correctly handle NULL GAttributeMatcher meaning
899 matches nothing. (Fixes #513492)
901 2008-02-11 Alexander Larsson <alexl@redhat.com>
906 Added GMountMountFlags enum and added a flags
907 argument to all mount calls.
909 This is an API/ABI change for future extensibility,
910 as I think we will need at least an
911 inhibit-autorun flag (the panel needs this).
912 There are no flags defined yet though.
914 2008-02-11 Alexander Larsson <alexl@redhat.com>
917 Added new standard::description attribute.
918 Requested by Vincent, and useful for both
921 2008-02-11 Alexander Larsson <alexl@redhat.com>
926 2008-02-11 Matthias Clasen <mclasen@redhat.com>
928 * *.c: Documentation additions
930 2008-02-10 Matthias Clasen <mclasen@redhat.com>
932 * gappinfo.h: Formatting cleanup
933 * gappinfo.c: Fix up docs.
935 2008-02-09 Matthias Clasen <mclasen@redhat.com>
937 * gunixmounts.c: Consistently use getmntent_r() and fall
938 back to getmntent(). (#515492)
940 2008-02-09 Matthias Clasen <mclasen@redhat.com>
942 * gbufferedinputstream.c:
944 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
946 * tests/data-input-stream.c:
947 * tests/data-output-stream.c: Portability fixes.
949 2008-02-08 Alexander Larsson <alexl@redhat.com>
954 Add g_volume_should_automount.
957 2008-02-07 Tor Lillqvist <tml@novell.com>
959 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
960 Win32, too Unix-specific.
962 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
964 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
965 a local plt if the compiler doesn't support what we want. Bug #514702
967 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
969 reviewed by: <delete if not using a buddy>
972 * gunixinputstream.c:
973 * gunixoutputstream.c:
975 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
978 * tests/live-g-file.c:
979 * tests/live-g-file.txt:
980 New GIO testing module working over real data
982 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
984 * glocalfileoutputstream.c (g_local_file_output_stream_close):
985 Fallback to rename() if link() is not available
986 (when no support on target filesystem)
988 2008-02-06 Michael Natterer <mitch@imendio.com>
990 * gfileinfo.c (g_file_info_get_icon): replace
991 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
993 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
995 * gfile.c (g_file_create):
996 Documentation update of error codes
998 2008-02-06 Alexander Larsson <alexl@redhat.com>
1000 * gdesktopappinfo.c:
1001 Update to use both mimeapps.list and
1002 defaults.list as discussed on xdg list.
1004 2008-02-06 Benjamin Otte <otte@gnome.org>
1007 * gfilenamecompleter.c:
1008 Fix some typos in the documentation.
1010 2008-02-06 Alexander Larsson <alexl@redhat.com>
1012 * glocalfile.c (g_local_file_trash):
1013 Don't succeed with trash if newly created
1014 trash dir has the wrong owner. (#514696)
1016 2008-02-05 Alexander Larsson <alexl@redhat.com>
1018 * glocalfile.c (g_local_file_move):
1019 Don't spew warnings when destination is not
1022 2008-02-03 Hans Breuer <hans@breuer.org>
1024 * makefile.msc : update
1026 2008-02-01 Michael Natterer <mitch@imendio.com>
1028 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1029 return value of xdg_mime_list_mime_parents() to a variable of the
1032 2008-02-01 Alexander Larsson <alexl@redhat.com>
1034 * gappinfo.c (g_app_info_launch_uris):
1035 Actually call the launch_uris method, not
1038 2008-02-01 Alexander Larsson <alexl@redhat.com>
1040 * gdesktopappinfo.c (g_desktop_app_info_equal):
1041 Ensure appinfos with no id but same pointer value
1044 2008-02-01 Alexander Larsson <alexl@redhat.com>
1046 * gappinfo.c (g_app_info_launch_default_for_uri):
1049 2008-02-01 Alexander Larsson <alexl@redhat.com>
1053 Add g_app_info_launch_default_for_uri utility
1056 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1058 * gdesktopappinfo.c:
1059 Doc fix for g_app_info_get_default_for_uri_scheme ()
1062 2008-01-30 Alexander Larsson <alexl@redhat.com>
1065 Add doc comment about uris vs GFiles to
1068 * gdesktopappinfo.c:
1069 Ensure uris passed to g_app_info_launch_uris()
1070 are not roundtriped through GFile (as that
1071 may be slightly destructive for e.g. mailto: links)
1073 2008-01-30 Alexander Larsson <alexl@redhat.com>
1075 * tests/data-input-stream.c:
1076 * tests/data-output-stream.c:
1077 C89 fixes from Jens Granseuer (#512849)
1079 2008-01-30 Alexander Larsson <alexl@redhat.com>
1082 Fix gamin/fam difference build issue. (#509419)
1084 2008-01-29 Alexander Larsson <alexl@redhat.com>
1087 * gdesktopappinfo.c:
1088 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1090 2008-01-29 Alexander Larsson <alexl@redhat.com>
1092 * gdesktopappinfo.c:
1093 * gdesktopappinfo.h:
1094 giomodule-priv.h include moved to .c file.
1096 2008-01-29 Alexander Larsson <alexl@redhat.com>
1098 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1099 Remove unused prio/name fields.
1101 2008-01-29 Alexander Larsson <alexl@redhat.com>
1103 * gcontenttype.c (looks_like_text):
1104 Don't treat whitespace as control chars.
1106 2008-01-29 Alexander Larsson <alexl@redhat.com>
1108 * gdesktopappinfo.c:
1109 Lazily create the desktop files for appinfos created
1110 by g_app_info_create_from_commandline() when needed
1111 for mime associations. This allows run-time use
1112 of GAppInfo object without creating unnecessary
1115 2008-01-29 Alexander Larsson <alexl@redhat.com>
1118 Added new symbols to gio.symbols
1120 2008-01-29 Alexander Larsson <alexl@redhat.com>
1123 Add g_file_query_default_handler utility to easily look up
1124 the GAppInfo that handles a file.
1126 * gdesktopappinfo.[ch]:
1128 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1131 Remove unused function
1133 2008-01-29 Alexander Larsson <alexl@redhat.com>
1135 * gfileenumerator.c:
1136 Mention need to free returned value in
1137 g_file_enumerator_next_files_finish docs.
1138 Fix leak if g_file_enumerator_next_files_finish()
1141 2008-01-29 Alexander Larsson <alexl@redhat.com>
1144 (_g_unix_content_type_get_parents):
1145 Use list_parents, not get_parents from xdgmime, because
1146 the later doesn't use the cache.
1148 * xdgmime/xdgmimecache.c:
1149 (_xdg_mime_cache_list_mime_parents):
1150 Don't list the same type as parent multiple times.
1152 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1154 * === Released 2.15.4 ===
1156 2008-01-28 Alexander Larsson <alexl@redhat.com>
1159 Register local vfs with prio 0.
1162 Remove old name and prio class members
1164 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1166 * tests/g-file.c: Disable some tests that are failing in
1167 the absence of a http backend.
1169 2008-01-28 Alexander Larsson <alexl@redhat.com>
1173 Add registration hooks for extension points.
1174 Register the gio extension points.
1176 * fam/gfamdirectorymonitor.c:
1177 * fam/gfamfilemonitor.c:
1178 * glocaldirectorymonitor.[ch]:
1179 * glocalfilemonitor.[ch]:
1180 * gnativevolumemonitor.h:
1181 * gunionvolumemonitor.c:
1182 * gunixvolumemonitor.c:
1185 * inotify/ginotifydirectorymonitor.c:
1186 * inotify/ginotifyfilemonitor.c:
1187 Use the extension points registration instead
1188 of g_type_children().
1190 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1193 * gvolume.[hc]: Document new API.
1195 * gfile.c (g_file_copy_async): Fix docs
1197 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1199 * gbufferedinputstream.c:
1201 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1204 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1206 * glocalfile.c: Avoid trivial differences in translatable strings.
1208 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1210 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1211 build with gcc 3.4 (#509419)
1213 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1215 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1216 (#509994, Murray Cumming)
1218 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1220 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1221 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1222 this allows big jobs to be executed in chunks, instead of blocking
1223 the main loop for a long time.
1225 * gsimpleasyncresult.c:
1226 * giofile.c: Adapt callers.
1228 2008-01-25 Alexander Larsson <alexl@redhat.com>
1230 * gdesktopappinfo.c:
1231 Implement changes discussed on xdg list.
1232 Now we can add supported mimetypes by just using defaults.list
1233 We can also remove associations in defaults.list.
1235 2008-01-25 Alexander Larsson <alexl@redhat.com>
1237 * gdesktopappinfo.c:
1238 Don't make local copy of desktop file
1239 for mimetype changes if the file already
1240 supports the new mimetype.
1242 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1246 * gbufferedinputstream.c:
1247 * glocalfile.c: String improvements. (#511966,
1248 Theppitak Karoonboonyanan)
1250 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1252 * gioscheduler.h: Expand docs a bit.
1254 2008-01-24 Alexander Larsson <alexl@redhat.com>
1257 Add g_drive_get_identifier and
1258 g_drive_enumerate_identifiers
1261 Add g_volume_get_identifier and
1262 g_volume_enumerate_identifiers
1268 Implement identifiers for unix backend
1270 2008-01-24 Alexander Larsson <alexl@redhat.com>
1275 Add g_file_copy_async() (#511580)
1276 Based on patch from Carlos Garcia Campos
1278 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1280 * gioscheduler.c: Some documentation additions.
1282 2008-01-22 Alexander Larsson <alexl@redhat.com>
1284 * gdesktopappinfo.c:
1285 (g_desktop_app_info_new):
1286 Don't leak basename.
1288 2008-01-22 Alexander Larsson <alexl@redhat.com>
1290 * gdesktopappinfo.c:
1291 (g_desktop_app_info_new_from_filename):
1294 2008-01-22 Alexander Larsson <alexl@redhat.com>
1296 * glocalfileinfo.c (get_thumbnail_attributes):
1299 2008-01-22 Alexander Larsson <alexl@redhat.com>
1302 (canonicalize_filename):
1303 Canonicalize paths that start with more than
1307 (compare_two_files):
1308 (test_g_file_new_for_path):
1311 2008-01-22 Alexander Larsson <alexl@redhat.com>
1314 Allow UTF-8 in file:// parse names.
1316 * tests/Makefile.am:
1317 * tests/data-input-stream.c:
1318 * tests/data-output-stream.c:
1319 * tests/g-file-info.c:
1321 Added a bunch of tests from Tomas Bzatek
1323 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1325 * === Released 2.15.3 ===
1327 2008-01-21 Alexander Larsson <alexl@redhat.com>
1329 * gfileinputstream.[ch]:
1330 * gfileoutputstream.[ch]:
1332 Remove duplicated GSeekable functions. (#509990)
1333 Just use the g_seekable_xxx() calls instead.
1335 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1338 * gvolumemanager.c: Whitespace cleanups.
1340 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1341 Use the right mode when creating the file.
1343 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1345 * gfileenumerator.c:
1346 * gfileinputstream.c:
1348 * goutputstream.c: Documentation: Fixed minor typos
1349 and added more mentions of specific _finish() functions.
1351 2008-01-21 Alexander Larsson <alexl@redhat.com>
1353 * inotify/Makefile.am:
1354 * inotify/inotify-helper.c:
1355 * inotify/inotify-kernel.c:
1356 * inotify/inotify-path.c:
1357 * inotify/local_inotify.h: Removed.
1358 * inotify/local_inotify_syscalls.h: Removed.
1359 Removed the included copies of the inotify
1360 headers. We now only use the <sys/inotify.h>
1361 header which exists on modern systems.
1362 This fixes problems on ARM and SH5 (#510448)
1363 but is also generally much cleaner and future
1364 safe. For instance, if other OSes add support
1365 for inotify it should "just work".
1367 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1369 * inotify/*.c: Coding style fixes.
1370 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1371 for the 1/4 Hz timer.
1373 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1376 * gfilemonitor.[hc]:
1377 * gmemoryinputstream.c:
1378 * gmemoryoutputstream.c:
1379 * gmountoperation.c:
1380 * gthemedicon.c: Documentation updates
1382 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1384 * gfile.c: documentation: Fixed more minor
1387 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1389 * gmount.c: (g_mount_remount): documentation:
1390 Mention g_mount_remount_finish() instead of
1391 g_mount_unmount_finish().
1393 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1397 * gfile.c: Fixed some minor typos in the
1400 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1402 * gio/gvolumemonitor.c:
1403 (g_volume_monitor_get_connected_drives):
1404 (g_volume_monitor_get_volumes):
1405 (g_volume_monitor_get_mounts): Documentation:
1406 Clarify the ownership of the regurn GLists.
1408 2008-01-17 Alexander Larsson <alexl@redhat.com>
1411 Add the async find_enclosing_mount version
1412 to the header file too.
1414 2008-01-17 Alexander Larsson <alexl@redhat.com>
1417 Add async version of find_enclosing_mount
1418 with default implementation.
1420 2008-01-17 Alexander Larsson <alexl@redhat.com>
1425 Allow calls to implementation of copy and write
1426 even if the type of the file implementations is
1427 different. This can be used to implement native
1428 upload and download calls in a vfs.
1431 (g_local_file_move):
1432 Protect against the case where move is called
1433 with one file not being local.
1435 Make sure we call the progress callback once
1436 in the native move operation so that the caller
1437 knows how many bytes were copied.
1439 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1442 * gdatainputstream.c:
1444 * gfileoutputstream.c:
1449 * gunixmounts.c: Corrected some typos in the documentation:
1450 occured -> occurred.
1451 its -> it's (where appropriate).
1453 2008-01-16 Alexander Larsson <alexl@redhat.com>
1457 Add g_file_query_exists (#508771)
1459 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1464 * gvolume.c: For async functions that have no non-async
1465 version, document that the GAsyncReadyCallback may be NULL.
1468 2008-01-15 Alexander Larsson <alexl@redhat.com>
1470 * gmemoryinputstream.c:
1471 * gmemoryoutputstream.c:
1472 Don't do pointer arithmetic on void * (#508602)
1473 Patch from Kazuki IWAMOTO
1475 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1477 * === Released 2.15.2 ===
1479 2008-01-14 Alexander Larsson <alexl@redhat.com>
1481 * gfile.c (g_file_monitor_file):
1482 Don't set error here, since we fallback to polling monitor.
1484 2008-01-14 Alexander Larsson <alexl@redhat.com>
1487 (g_file_monitor_directory):
1488 (g_file_monitor_file):
1489 Add GError to file monitor calls
1491 * glocaldirectorymonitor.c:
1492 * glocaldirectorymonitor.h:
1494 * glocalfilemonitor.c:
1495 * glocalfilemonitor.h:
1497 Update for above change
1499 2008-01-14 Alexander Larsson <alexl@redhat.com>
1503 Handle root correctly in g_file_get_relative_path (#508719)
1505 2008-01-14 Alexander Larsson <alexl@redhat.com>
1508 Clean up docs and example for GAsyncResult (#508074)
1510 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1512 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1513 and correct some spelling mistakes. Bug #508108.
1515 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1517 * glocalfileinfo.c: Add a comment.
1519 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1521 * gfileinfo.c: GFileInfo description: Mention
1522 how to actually set attributes in a GFile and how to discover
1523 which attributes are settable. Bug #508378.
1525 2008-01-10 A. Walton <awalton@svn.gnome.org>
1527 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1528 (g_app_info_get_default_for_type):
1529 Check for NULL content types.
1531 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1533 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1535 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1537 * gfile.c: *_async() functions: Several small corrections
1538 to the documentation, mostly correcting copy/paste errors
1539 and improving some sentences.
1541 2008-01-09 Dan Winship <danw@gnome.org>
1543 * glocalfile.c (get_unique_filename): x86_64 fix
1545 2008-01-09 Alexander Larsson <alexl@redhat.com>
1550 Add g_unix_mount_guess_should_display and use
1551 for unix volume monitor backend.
1552 This means we more or less show what the
1553 gnome-vfs backend did.
1554 Based on patch from Padraig O'Briain
1556 2008-01-09 Alexander Larsson <alexl@redhat.com>
1560 Add g_themed_icon_new_with_default_fallbacks
1563 Use default fallbacks for icons
1565 2008-01-09 Alexander Larsson <alexl@redhat.com>
1568 * gmountoperation.[ch]:
1569 Change the API a bit so that unhandled methods
1570 get reported via the reply, rather than by
1571 the signal emission return value. This is because
1572 some handlers can't know this immediately without
1573 doing I/O, and this is an async operation that
1576 2008-01-09 Alexander Larsson <alexl@redhat.com>
1579 * fam/gfamdirectorymonitor.c:
1580 * fam/gfamfilemonitor.c:
1581 Fix double free crash (#508224)
1582 Patch from Joe Marcus Clarke
1584 008-01-07 Matthias Clasen <mclasen@redhat.com>
1586 * === Released 2.15.1 ===
1588 2008-01-07 Alexander Larsson <alexl@redhat.com>
1590 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1591 Fix warning (#507835)
1593 2008-01-07 Alexander Larsson <alexl@redhat.com>
1596 Pass --internal to glib-genmarshal
1599 * gmountoperation.c:
1601 Use better types for signal arguments (#507822)
1603 2008-01-07 Alexander Larsson <alexl@redhat.com>
1606 Build test subdir after .
1607 Remove gdirectorymonitor.[ch]
1609 * gdirectorymonitor.[ch]:
1613 Remove GDirectoryMonitor and make
1614 GFileMonitor the baseclass for both file and
1615 directory monitors. Lift the more generic
1616 rate limiting code from GDirectoryMonitor
1620 * fam/gfamdirectorymonitor.[ch]:
1621 * inotify/ginotifydirectorymonitor.[ch]:
1622 * inotify/inotify-helper.c:
1623 * glocaldirectorymonitor.[ch]:
1626 Update for the removed GDirectoryMonitor.
1628 * gmemoryoutputstream.c:
1629 Remove ununsed variable
1631 2008-01-07 Alexander Larsson <alexl@redhat.com>
1633 * gmemoryinputstream.c:
1634 Translate error strings
1637 * gmemoryoutputstream.[ch]:
1638 New implementation that avoids using GByteArray
1639 in implementation and API. (#506377)
1641 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1643 * tests/*: Add a test for memory input streams.
1645 * Makefile.am: Add tests to SUBDIRS.
1647 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1649 * glocalfilemonitor.c:
1650 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1653 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1655 * gdesktopappinfo.c: Fix a docs typo.
1657 * gfileattribute.c: Add information about extended attributes
1658 to the documentation. (#505058)
1660 2008-01-04 Alexander Larsson <alexl@redhat.com>
1663 * gmountoperation.c:
1664 Use the right type (uint) for the ask_password signal.
1666 2008-01-04 Alexander Larsson <alexl@redhat.com>
1671 Add g_app_info_supports_files()
1672 Remove desktop arg from g_app_info_should_show().
1674 * gdesktopappinfo.[ch]:
1675 Implement g_app_info_supports_files() and new should_show()
1676 Add g_desktop_app_info_set_desktop_env() to set the desktop
1677 for should_show(). (This will be set by gtk+ later)
1679 2008-01-04 Alexander Larsson <alexl@redhat.com>
1682 * gmemoryinputstream.[ch]:
1683 Improve API so that you can use multiple chunks
1684 of memory and custom destroy functions. (#506374)
1686 2008-01-03 Alexander Larsson <alexl@redhat.com>
1689 Handle NULL attribute matchers safely, as we return this
1690 for empty attribute matcher strings.
1692 2008-01-03 Alexander Larsson <alexl@redhat.com>
1694 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1695 Add /usr/local to list of internal mountpoints
1697 2008-01-03 Alexander Larsson <alexl@redhat.com>
1700 Check for HAVE_LCHOWN (#505887)
1702 2008-01-03 Alexander Larsson <alexl@redhat.com>
1706 Add define for selinux context attribute.
1707 Fix missing : -> :: namespace separator change
1708 Fix missing _ -> - name change for xattr-sys.
1711 2008-01-03 Alexander Larsson <alexl@redhat.com>
1714 Link to libglib and libgobject directly (#504879)
1715 Patch from Sebastien Bacher
1717 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1719 * gfile.c: Expanded the g_file_new_for_commandline_arg
1720 description a bit, based on the code and the docs of the
1721 other g_file_new_for_* functions.
1723 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1725 * gfilemonitor.h: Fixed typo in docs.
1727 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1729 Updates to GIO documentation. (#506395, Mikael Hermansson)
1731 * gcontenttype.c: Describe memory management for return value of
1732 g_content_types_get_registered(). Missing piece from #505815.
1733 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1734 GVolume, GDrive, GMounts, which hopefully gives the user less
1735 confusions when using this API. Following explainations from
1736 Alexander Larsson on gtk-devel-list.
1738 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1740 * gfileinfo.c: Expand the long description.
1742 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1745 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1746 fix builds with --disable-visibility. (#500273, Christian Persch)
1748 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1750 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1751 in the list of returned app infos.
1753 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1755 * gappinfo.c: Fix a cross-reference
1757 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1759 * gfileinputstream.c:
1760 * gfileoutputstream.c:
1764 * gdesktopappinfo.c:
1766 * gfileinfo.c: Documentation updates.
1768 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1770 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1773 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1775 * gcontenttype.c (g_content_types_get_registered): Don't return
1776 freed memory (#505815, Mikael Hermansson)
1778 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1780 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1781 used to detect statbuf->st_blocks. (#505042)
1783 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1785 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1786 environment handling. (#504829, Cosimo Cecchi)
1788 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1790 * gappinfo.c: Doc improvements
1792 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1795 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1797 * === Released 2.15.0 ===
1799 2007-12-20 Hans Breuer <hans@breuer.org>
1801 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1802 with symbols gwin32appinfo.obj, added gmount.obj
1803 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1805 2007-12-20 Alexander Larsson <alexl@redhat.com>
1811 * gfilenamecompleter.c:
1814 * gpollfilemonitor.c:
1815 File attribute renames:
1817 fs:: -> filesystem::
1818 id::fs -> id::filesystem
1820 2007-12-20 Alexander Larsson <alexl@redhat.com>
1829 Add GMountUnmountFlags to all unmount and
1831 Add g_mount_remount() call.
1833 2007-12-20 Alexander Larsson <alexl@redhat.com>
1835 * gvfs.c (get_default_vfs):
1836 Fix unused variable warning
1838 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1840 * pltcheck.sh: Update
1842 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1844 * gunionvolumemonitor.c:
1845 * gunixmount.c: Remove C99 comments
1847 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1849 * gio.symbols: Add some missing symbols
1851 2007-12-19 Alexander Larsson <alexl@redhat.com>
1854 Make g_io_modules_load_all_in_directory not unuse
1855 loaded modules so that users of it can do stuff
1857 Init internal "module" types.
1858 Initialize static prio and name for types so that
1859 we don't have to load modules to get it.
1861 * gnativevolumemonitor.h:
1863 Move is_supported to parent class so that
1864 non-native monitors can avoid being initialized
1865 too. (For instance GDaemonVolumeMonitor if we're
1866 not using GDaemonVfs.)
1868 * glocaldirectorymonitor.[ch]:
1869 * glocalfilemonitor.[ch]:
1870 * gunionvolumemonitor.c:
1871 * gunixvolumemonitor.c:
1873 Find plugins using the static prio+name to
1874 avoid unnecessarily loading the modules.
1876 2007-12-19 Alexander Larsson <alexl@redhat.com>
1881 2007-12-19 Alexander Larsson <alexl@redhat.com>
1883 * gunionvolumemonitor.c:
1884 Store the native type as GType, not class so that
1885 we can unload it. But still avoid unnecessarily
1888 2007-12-19 David Zeuthen <davidz@redhat.com>
1890 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1891 add signals 'disconnected' and 'eject-button' on GDrive. Add
1892 signal 'removed' on GVolume and 'unmounted' on GMount.
1894 * gdrive.c: (g_drive_base_init):
1896 * gfile.c: (g_file_mount_mountable),
1897 (g_file_mount_enclosing_volume):
1900 * gmount.c: (g_mount_base_init):
1902 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1903 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1904 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1908 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1910 * *.c: Fix up includes in the section docs.
1912 2007-12-17 Alexander Larsson <alexl@redhat.com>
1914 * gnativevolumemonitor.h:
1915 * gunionvolumemonitor.c:
1916 * gunixvolumemonitor.c:
1917 Add is_supported() to GNativeVolumeMonitorClass so
1918 that we can avoid having to create an object to see
1919 if the backend is supported at runtime.
1920 Also add name member and an env var to pick a specific
1921 volume monitor backend.
1925 Add cancellable to _g_mount_get_for_mount_path()
1927 * glocaldirectorymonitor.c:
1928 * glocalfilemonitor.c:
1929 Avoid loading and unloading modules while sorting.
1931 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1934 * gunixmounts.[hc]: Namespace waste reduction, move some
1935 g_get_unix_mount functions to the g_unix_mount namespace.
1938 * gunixvolumemonitor.c:
1940 * glocaldirectorymonitor.c: Update all callers.
1942 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1944 2007-12-17 Alexander Larsson <alexl@redhat.com>
1947 Add doc comments about what GFile operations are
1948 guaranteed to not block.
1950 2007-12-17 Alexander Larsson <alexl@redhat.com>
1953 Add missing #ifdef fixing OSX build.
1954 (#503334, patch from Richard Hult)
1956 2007-12-14 David Zeuthen <davidz@redhat.com>
1960 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1961 (g_mount_eject), (g_mount_eject_finish):
1963 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1964 (get_volume_for_uuid), (get_mount_for_uuid),
1965 (g_union_volume_monitor_class_init),
1966 (get_default_native_type_with_exclude), (get_default_native_type),
1967 (get_native_type), (update_native_type),
1968 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1969 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1970 (g_unix_mount_can_eject), (eject_unmount_cb),
1971 (eject_unmount_read_error), (eject_unmount_do),
1972 (g_unix_mount_unmount), (g_unix_mount_eject),
1973 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1974 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1975 (g_unix_mount_point_guess_can_eject):
1977 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1978 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1979 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1980 (g_unix_volume_mount), (g_unix_volume_eject),
1981 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1982 * gunixvolumemonitor.c: (get_volume_for_uuid),
1983 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1985 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1986 (g_volume_eject), (g_volume_eject_finish):
1988 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1989 (g_volume_monitor_get_mount_for_uuid):
1992 Provide eject() on both GMount and GVolume and utility functions
1993 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1994 ejected. Introduce the concept of UUID's and wire it into GVolume
1995 and GMount and provide API on GVolumeMonitor to find such
1996 instances. Also handle the case where an external
1997 GNativeVolumeMonitor fails to initialize. Lock around the
1998 _g_get_mount_for_mount_path() function such that volume monitor
1999 implementations won't have to do locking themselves.
2001 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2003 * gdesktopappinfo.c:
2009 * gvolume.h: Documentation updates
2011 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2014 * gfile.h: Doc updates
2016 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2019 * gdesktopappinfo.c: Use hash table iterators.
2021 2007-12-14 Alexander Larsson <alexl@redhat.com>
2024 * gfileattribute.[ch]:
2025 * gfileattribute-priv.h:
2026 Move GFileAttributeValue to a private header, as
2030 Make set_attribute take a type + a pointer instead
2031 of a GFileAttributeValue.
2034 Fix up for above changes.
2035 Add g_file_info_get_attribute_data to get
2036 all info in one call, g_file_info_get_attribute_status
2037 to get the status and g_file_info_get_attribute_as_string.
2041 * glocalfileinfo.[ch]:
2045 Make _guess_type static.
2047 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2050 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2051 made mkenums and friends use temporary files to avoid leaving
2052 empty generated files on failure (#503470).
2054 2007-12-14 Alexander Larsson <alexl@redhat.com>
2056 * gmountoperation.h:
2059 2007-12-14 Alexander Larsson <alexl@redhat.com>
2063 * gfileattribute.[ch]:
2066 * glocalfileoutputstream.c:
2067 * gmountoperation.[ch]:
2068 * goutputstream.[ch]:
2069 Clean up all flags enums to not have _FLAGS in them
2070 Make the names of some of the enums better.
2075 2007-12-14 Michael Natterer <mitch@imendio.com>
2077 * gio.symbols: fix g_io_scheduler symbol names.
2079 2007-12-14 Alexander Larsson <alexl@redhat.com>
2085 * gbufferedinputstream.h:
2086 * gbufferedoutputstream.h:
2089 * gdatainputstream.h:
2090 * gdataoutputstream.h:
2091 * gdesktopappinfo.h:
2092 * gdirectorymonitor.h:
2096 * gfileenumerator.h:
2099 * gfileinputstream.h:
2101 * gfilenamecompleter.h:
2102 * gfileoutputstream.h:
2103 * gfilterinputstream.h:
2104 * gfilteroutputstream.h:
2112 * gmemoryinputstream.h:
2113 * gmemoryoutputstream.h:
2115 * gmountoperation.h:
2118 * gsimpleasyncresult.h:
2120 * gunixinputstream.h:
2122 * gunixoutputstream.h:
2126 * inotify/Makefile.am:
2127 Only allow including <gio/gio.h> from apps
2129 2007-12-14 Alexander Larsson <alexl@redhat.com>
2131 * gioscheduler.[ch]:
2132 * gsimpleasyncresult.c:
2133 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2134 Split out the send_to_mainloop call into two versions instead
2135 of having the block argument.
2137 2007-12-13 Alexander Larsson <alexl@redhat.com>
2139 * gcancellable.[ch]:
2141 * gbufferedinputstream.c:
2142 * gfileenumerator.c:
2143 * gfileinputstream.c:
2144 * gfileoutputstream.c:
2148 g_push/pop_current_cancellable ->
2149 g_cancellable_push/pop_current
2151 2007-12-13 Alexander Larsson <alexl@redhat.com>
2155 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2157 2007-12-13 Alexander Larsson <alexl@redhat.com>
2159 * gmountoperation.h:
2160 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2162 2007-12-12 Alexander Larsson <alexl@redhat.com>
2165 Fix race condition when freeing proxy in
2166 g_io_job_send_to_mainloop().
2168 2007-12-12 Alexander Larsson <alexl@redhat.com>
2174 Make attribute namespace separator "::" instead of ":".
2175 Use - instead of _ as separator in attribute names.
2177 2007-12-12 Alexander Larsson <alexl@redhat.com>
2179 * gbufferedinputstream.h:
2180 * gbufferedoutputstream.h:
2181 * gdatainputstream.h:
2182 * gdataoutputstream.h:
2183 * gdirectorymonitor.h:
2184 * gfileenumerator.h:
2185 * gfileinputstream.h:
2187 * gfileoutputstream.h:
2188 * gfilterinputstream.h:
2189 * gfilteroutputstream.h:
2191 * glocalfileinputstream.h:
2192 * glocalfileoutputstream.h:
2193 * gmemoryinputstream.h:
2194 * gmemoryoutputstream.h:
2195 * gnativevolumemonitor.h:
2197 * gunixinputstream.h:
2198 * gunixoutputstream.h:
2201 s/parent/parent_instance/ in GObjects
2203 2007-12-12 Alexander Larsson <alexl@redhat.com>
2208 No need for padding for interfaces
2210 2007-12-12 Alexander Larsson <alexl@redhat.com>
2214 * gbufferedinputstream.c:
2215 * gbufferedoutputstream.c:
2218 * gdatainputstream.[ch]:
2219 * gdesktopappinfo.c:
2220 * gdirectorymonitor.c:
2222 * gfileattribute.[ch]:
2225 * gfileinputstream.h:
2226 * gfilemonitor.[ch]:
2227 * gfileoutputstream.[ch]:
2228 * gfilterinputstream.h:
2229 * gfilteroutputstream.h:
2232 * gloadableicon.[ch]:
2233 * gmemoryinputstream.c:
2234 * gmountoperation.c:
2236 Fix up a bunch of details in the docs.
2241 2007-12-11 David Zeuthen <davidz@redhat.com>
2243 Rework how volumes, drives and volume monitoring is
2244 done. Previosly the model was
2246 GDrive <1-1> GVolume
2248 where a GDrive instance represented a mount point and a GVolume
2249 instance represented a mounted file system. This patch changes it
2252 GDrive <1-N> GVolume <1-1> GMount
2254 where GMount now serves the purpose of the old GVolume and the new
2255 GVolume serves the purpose of the old GDrive. In addition the new
2256 GDrive interface is used to represent a collection of GVolume
2257 instances (typically partitions) and also contains utility to query
2258 the state of the physical drive the GDrive object represents (such
2259 as checking for media, polling the drive, ejecting the media etc.).
2261 Also implement mounting and unmounting in the Unix volume monitor
2262 backend. A subquent patch will introduce GDrive support for ejection
2266 * gdrive.c: (g_drive_is_media_check_automatic),
2267 (g_drive_is_media_removable), (g_drive_has_media),
2268 (g_drive_can_poll_for_media), (g_drive_eject),
2269 (g_drive_eject_finish), (g_drive_poll_for_media),
2270 (g_drive_poll_for_media_finish):
2272 * gfile.c: (g_file_find_enclosing_mount):
2275 * glocaldirectorymonitor.c:
2276 (g_local_directory_monitor_constructor), (mounts_changed):
2277 * glocalfile.c: (get_mount_info),
2278 (g_local_file_find_enclosing_mount),
2279 (g_local_file_file_iface_init):
2280 * gnativevolumemonitor.h:
2281 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2282 (get_connected_drives), (g_union_volume_monitor_class_init),
2283 (child_volume_added), (child_volume_removed),
2284 (child_volume_changed), (child_mount_added), (child_mount_removed),
2285 (child_mount_pre_unmount), (child_mount_changed),
2286 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2287 (g_union_volume_monitor_remove_monitor),
2288 (_g_mount_get_for_mount_path):
2289 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2290 (guess_system_internal), (_g_get_unix_mounts),
2291 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2292 (g_unix_mount_free), (g_unix_mount_compare),
2293 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2294 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2295 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2296 (type_to_icon), (g_unix_mount_guess_name),
2297 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2298 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2299 (_resolve_symlink), (_resolve_dev_root):
2301 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2302 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2303 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2304 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2305 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2306 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2307 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2308 (g_unix_volume_volume_iface_init):
2310 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2311 (get_mounts), (get_volumes), (get_connected_drives),
2312 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2313 (mountpoints_changed), (mounts_changed),
2314 (g_unix_volume_monitor_init),
2315 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2316 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2317 * gunixvolumemonitor.h:
2318 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2319 (g_volume_mount), (g_volume_mount_finish):
2321 * gvolumemonitor.c: (g_volume_monitor_class_init),
2322 (g_volume_monitor_get_connected_drives),
2323 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2326 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2328 * gmountoperation.h (GPasswordFlags): Close the gap
2330 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2332 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2334 * gdesktopappinfo.[hc]: Remove _-prefixes
2336 2007-12-10 Tor Lillqvist <tml@novell.com>
2338 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2341 2007-12-10 Alexander Larsson <alexl@redhat.com>
2343 * gfile.c (g_file_set_display_name):
2344 Don't hardcode '/' (#502727)
2346 2007-12-09 Hans Breuer <hans@breuer.org>
2348 * makefile.msc : follow lib naming convention
2349 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2350 for user and group name, tested with ../tests/gio-ls
2352 2007-12-09 A. Walton <awalton@svn.gnome.org>
2354 * gdesktopappinfo.c:
2360 * gfileenumerator.c:
2365 * gmemoryinputstream.c:
2366 * gmemoryoutputstream.c:
2368 * gsimpleasyncresult.c:
2369 More documentation cleanup and filling in missing information, bringing
2370 GIO to 99% symbol coverage.
2372 2007-12-08 Hans Breuer <hans@breuer.org>
2374 [gio compiles and links on win32, not sure how much already works]
2375 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2376 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2377 base on win32 API; prefer g_lstat() over lstat(); instead of
2378 localtime_r() use an all GLib implementation on win32;
2379 get_mount_info() still needs a win32 specifc implementation
2380 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2381 win32_get_file_user_info to get owner/group info without uid/gid
2382 * glocalfileinputstream.c : include <io.h> on win32
2383 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2384 definition, use g_win32_ftruncate() for G_OS_WIN32
2385 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2386 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2387 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2388 * makefile.msc : updated
2390 2007-12-07 Alexander Larsson <alexl@redhat.com>
2392 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2393 Avoid warning spew if error == NULL
2395 2007-12-07 Alexander Larsson <alexl@redhat.com>
2398 Update docs wrt etags
2400 2007-12-06 Alexander Larsson <alexl@redhat.com>
2403 Include sys/types.h for dev_t (#501919)
2405 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2409 Make abicheck and pltcheck pass.
2411 2007-12-05 Alexander Larsson <alexl@redhat.com>
2414 * giomodule-priv.h: Added.
2415 * glocaldirectorymonitor.c:
2416 * glocalfilemonitor.c:
2417 * gunionvolumemonitor.c:
2419 Actually add the declaration of _g_io_modules_ensure_loaded
2421 2007-12-05 Alexander Larsson <alexl@redhat.com>
2423 * gdatainputstream.c:
2428 * glocaldirectorymonitor.c:
2429 * glocalfilemonitor.c:
2430 * gunionvolumemonitor.c:
2432 Make g_io_modules_ensure_loaded a private function and
2433 don't pass in the dirname. This means we can do magic
2434 directory finding in the win32 version.
2435 Export the actual load-modules-in-directory code so that
2436 gvfs can reuse that.
2438 2007-12-05 Alexander Larsson <alexl@redhat.com>
2440 * gbufferedinputstream.c:
2441 * gbufferedoutputstream.c:
2444 * gfileenumerator.[ch]:
2445 * gfileinputstream.c:
2446 * gfileoutputstream.[ch]:
2447 * gfilterinputstream.c:
2448 * gfilteroutputstream.c:
2449 * ginputstream.[ch]:
2451 * glocalfileenumerator.c:
2452 * glocalfileinputstream.c:
2453 * glocalfileoutputstream.c:
2454 * gmemoryinputstream.c:
2455 * gmemoryoutputstream.c:
2456 * goutputstream.[ch]:
2459 * gunixinputstream.c:
2460 * gunixoutputstream.c:
2461 Rename all struct members named:
2462 read, write, close, truncate, or mount
2463 to foo_fn, as these are reserved names
2464 and could be defined as macros in libc.
2467 2007-12-04 Alexander Larsson <alexl@redhat.com>
2470 (g_output_stream_close):
2471 Only call flush if non-null.
2473 2007-11-30 Dan Winship <danw@gnome.org>
2475 * ginputstream.c (g_input_stream_set_pending): Make this take a
2476 GError and return a gboolean, and do the "outstanding operation"
2477 check (and the "stream is already closed" check) itself.
2478 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2480 * goutputstream.c (g_output_stream_set_pending)
2481 (g_output_stream_clear_pending): Likewise
2483 * gbufferedinputstream.c:
2484 * gfileinputstream.c:
2485 * gfileoutputstream.c: Update for that
2487 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2488 Like g_simple_async_report_error_in_idle, but takes a GError
2489 rather than building one.
2491 2007-11-30 Dan Winship <danw@gnome.org>
2493 * goutputstream.c: Don't cheat and unset the "pending" flag around
2494 inner calls. Instead, call the class method directly rather than
2495 the wrapper function that checks "pending"
2497 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2499 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2501 2007-12-03 Hans Breuer <hans@breuer.org>
2503 [start of port to win32/msvc]
2504 * gcancellable.c : HAVE_UNIST_H and _pipe()
2505 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2506 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2507 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2509 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2510 * glocalvfs.c : use HAVE_PWD_H
2511 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2512 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2513 * Makefile.am : added to EXTRA_DIST
2515 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2517 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2520 2007-12-03 Alexander Larsson <alexl@redhat.com>
2523 Handle OSX style xattrs API (#500506)
2525 2007-12-03 Alexander Larsson <alexl@redhat.com>
2529 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2531 2007-12-02 A. Walton <awalton@svn.gnome.org>
2535 Documentation accuracy fixes.
2537 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2539 * gioenumtypes.c.template: Fix typo.
2541 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2543 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2545 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2547 * gdirectorymonitor.c:
2548 * gfilemonitor.c: Add properties
2550 * gbufferedoutputstream.c: Don't mark buffer-size property
2553 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2555 * gbufferedoutputstream.c: Add auto-grow property.
2557 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2559 * *.c: Unify the capitalization of section headings.
2561 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2563 * gmountoperation.c: Add properties
2565 * gdatainputstream.c: Turn byte-order and newline-type into
2568 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2570 * gioenumtypes.[hc].template: Templates for enum registration
2572 * Makefile.am: Generate gioenumtypes.[hc]
2574 * gio.h: Include gioenumtypes.h
2576 * gfile.h: Add some explicit nicks.
2578 * gio.symbols: Add new symbols
2580 * pltcheck.sh: Adjust
2582 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2584 * *.c: Explain etags and link to the explanation
2586 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2588 * *.c: Explain I/O priority.
2590 * *.c: More coding style fixes.
2592 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2594 * gasyncresult.c: Add another paragraph to the intro,
2595 adjust coding style of example.
2597 2007-11-29 A. Walton <awalton@svn.gnome.org>
2600 Fixes unknown meaning in GAppLaunchContext docs.
2602 Clarify asynchronous ops.
2604 Fix entity tag docs.
2607 Provides missing gtk-doc section, fixes API docs slighly.
2608 * gsimpleasyncresult.c:
2609 Fill in missing info in docs.
2610 * gunixinputstream.c:
2611 * gunixoutputstream.c:
2612 Be more expressive in short description.
2614 Remove gtk-doc stubs for non-public API.
2616 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2618 * *.c: Coding style fixups
2620 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2622 * inotify/inotify-helper.c: Don't export the lock from libgio.
2624 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2627 * abicheck.sh: Fix copy-and-paste leftovers
2629 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2631 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2633 2007-11-28 Alexander Larsson <alexl@redhat.com>
2637 Removed unnecessary file
2639 * gdesktopappinfo.[ch]:
2642 * glocaldirectorymonitor.[ch]:
2644 * glocalfileenumerator.[ch]:
2645 * glocalfileinputstream.[ch]:
2646 * glocalfilemonitor.[ch]:
2647 * glocalfileoutputstream.[ch]:
2649 * gnativevolumemonitor.c:
2650 * gpollfilemonitor.[ch]:
2651 * gunionvolumemonitor.[ch]:
2654 * gunixvolumemonitor.[ch]:
2657 * inotify/ginotifydirectorymonitor.[ch]:
2658 * inotify/ginotifyfilemonitor.[ch]:
2659 * inotify/inotify-helper.c:
2660 Append _ to all internal functions
2664 Export symbols needed for modules
2666 2007-11-28 Alexander Larsson <alexl@redhat.com>
2669 * abicheck.sh: Added.
2670 * makegioalias.pl: Added.
2671 * pltcheck.sh: Added.
2672 * gio.symbols: Added.
2675 Initial work on adding symbol handling.
2678 Correct ifdef guard name
2681 * inotify/Makefile.am:
2682 * xdgmime/Makefile.am:
2683 Include toplevel Makefile.decl
2685 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2687 * gcontenttype.c: Move doc comments to the unix section.
2689 * *.[hc]: More trivial doc corrections.
2691 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2693 * gpollfilemonitor.c:
2697 * gdesktopappinfo.c:
2702 * gdatainputstream.c:
2703 * gdatainputstream.h:
2704 * gdataoutputstream.c:
2705 * gdataoutputstream.h:
2706 * gfileinfo.h: Doc cleanups
2708 2007-11-28 Andre Klapper <a9016009@gmx.de>
2710 * gdesktopappinfo.c: Fix a typo.
2712 2007-11-27 Andre Klapper <a9016009@gmx.de>
2714 * glocalfileoutputstream.c: Fix a typo.
2716 2007-11-27 Alexander Larsson <alexl@redhat.com>
2719 Don't include removed headers
2721 2007-11-27 Alexander Larsson <alexl@redhat.com>
2724 * gsocketinputstream.[ch]: Removed.
2725 * gsocketoutputstream.[ch]: Removed.
2726 * gunixinputstream.[ch]: Added.
2727 * gunixoutputstream.[ch]: Added.
2728 Renamed GSocket*Stream to GUnix*Stream and made
2729 it unix-only, since its not really only for sockets
2730 and it only works on unix (but is highly useful there).
2732 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2738 * gbufferedinputstream.c:
2739 * gbufferedinputstream.h:
2740 * gbufferedoutputstream.c:
2741 * gbufferedoutputstream.h:
2745 * gdatainputstream.c:
2746 * gdatainputstream.h:
2747 * gdataoutputstream.c:
2748 * gdataoutputstream.h:
2749 * gdirectorymonitor.c:
2750 * gdirectorymonitor.h:
2757 * gfileenumerator.c:
2758 * gfileenumerator.h:
2763 * gfileinputstream.c:
2764 * gfileinputstream.h:
2767 * gfilenamecompleter.c:
2768 * gfilenamecompleter.h:
2769 * gfileoutputstream.c:
2770 * gfileoutputstream.h:
2771 * gfilterinputstream.c:
2772 * gfilterinputstream.h:
2773 * gfilteroutputstream.c:
2774 * gfilteroutputstream.h:
2787 * glocalfileoutputstream.c:
2788 * gmemoryinputstream.c:
2789 * gmemoryinputstream.h:
2790 * gmemoryoutputstream.c:
2791 * gmemoryoutputstream.h:
2792 * gmountoperation.c:
2793 * gmountoperation.h:
2796 * gpollfilemonitor.c:
2799 * gsimpleasyncresult.c:
2800 * gsimpleasyncresult.h:
2801 * gsocketinputstream.c:
2802 * gsocketinputstream.h:
2803 * gsocketoutputstream.c:
2804 * gsocketoutputstream.h:
2811 * gunixvolumemonitor.c:
2820 Bumps documentation to 93% symbol coverage, touching most
2821 of the public files. Fixes broken function documentation prototypes.
2822 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2823 gtk-doc headers in private files.
2825 2007-11-27 Jürg Billeter <j@bitron.ch>
2827 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2828 (g_buffered_input_stream_read_byte):
2829 * gbufferedinputstream.h:
2830 New functions for efficient access to buffer and simple single byte
2833 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2834 (g_data_input_stream_read_until):
2835 * gdatainputstream.h:
2836 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2837 read_until with multiple stop chars.
2839 2007-11-27 Alexander Larsson <alexl@redhat.com>
2843 * inotify/Makefile.am:
2844 Use the user-specified giomoduledir
2846 2007-11-27 Alexander Larsson <alexl@redhat.com>
2850 Add catch-all gio.h header
2851 Don't install gdummyfile.h
2853 2007-11-26 Alexander Larsson <alexl@redhat.com>
2855 * Makefile.am (gioinclude_HEADERS):
2856 Remove trailing whitespace
2858 2007-11-26 Alexander Larsson <alexl@redhat.com>
2860 Merge gio-standalone into glib
2862 2007-11-25 Christian Kellner <gicmo@gnome.org>
2864 * gio/goutputstream.c:
2865 Fix small mistake in the docs.
2867 2007-11-21 Christian Persch <chpe@gnome.org>
2869 * gio/glocalfile.c: (g_local_file_trash):
2870 Convert filenames to UTF-8 for GError.
2871 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2872 as per xdg base dir spec.
2874 2007-11-21 Christian Persch <chpe@gnome.org>
2876 * gio/gdesktopappinfo.c:
2877 Use that g_key_file_to_data cannot fail.
2879 Use stock defines for the key file group and key names.
2882 2007-11-21 Alexander Larsson <alexl@redhat.com>
2885 (copy_stream_with_progress):
2886 Make sure we do a final progress callback with
2887 the full total size.
2889 2007-11-21 Alexander Larsson <alexl@redhat.com>
2892 Export g_file_copy_attributes
2893 Remove padding as its not needed for interfaces
2895 2007-11-20 Alexander Larsson <alexl@redhat.com>
2900 Add G_IO_ERROR_WOULD_MERGE for
2901 copy/move dir on dir with overwrite.
2903 2007-11-20 Alexander Larsson <alexl@redhat.com>
2906 * gio/glocalfileinfo.c:
2907 Add COPY_NAME (this is an optional
2908 non-modified utf8 version of the name) that
2911 2007-11-20 Alexander Larsson <alexl@redhat.com>
2913 * gio/glocalfileenumerator.c:
2914 Report errors as GIOError, not GFileError
2916 2007-11-16 Alexander Larsson <alexl@redhat.com>
2918 * gio/glocalfileoutputstream.c:
2919 * gio/gwin32appinfo.c:
2920 Fix typos in strings.
2921 Patch from Luca Ferretti <elle.uca@libero.it>
2923 2007-11-15 Alexander Larsson <alexl@redhat.com>
2926 Post release version bump
2928 === gio-standalone 0.1.2 ===
2930 2007-11-15 Alexander Larsson <alexl@redhat.com>
2932 * docs/reference/gio/Makefile.am:
2933 Fix up distcheck by removing weird
2939 2007-11-14 Alexander Larsson <alexl@redhat.com>
2941 * gio/gdesktopappinfo.c:
2942 * gio/glocaldirectorymonitor.c:
2944 * gio/glocalfileinfo.c:
2945 * gio/inotify/inotify-sub.c:
2946 * programs/gio-cat.c:
2947 * programs/gio-copy.c:
2948 * programs/gio-info.c:
2949 * programs/gio-ls.c:
2950 * programs/gio-monitor-dir.c:
2951 * programs/gio-monitor-file.c:
2952 * programs/gio-mount.c:
2953 * programs/gio-move.c:
2954 * programs/gio-rm.c:
2955 * programs/gio-save.c:
2956 * programs/gio-trash.c:
2957 Leak fixes from Kjartan Maraas
2959 2007-11-14 Alexander Larsson <alexl@redhat.com>
2961 * gio/fam/fam-helper.c:
2963 * gio/glocalfileinfo.c:
2967 * gio/inotify/inotify-diag.c:
2968 * gio/inotify/inotify-kernel.c:
2969 Various code cleanups from Kjartan Maraas
2971 2007-11-14 Alexander Larsson <alexl@redhat.com>
2973 * gio/gioscheduler.c:
2975 Set up threadpool so that we cache 2 unused
2976 idle threads for at 15 secs. This means we
2977 will reuse thread-local data (like dbus connections)
2980 2007-11-14 Alexander Larsson <alexl@redhat.com>
2982 * gio/fam/fam-helper.c:
2983 * gio/fam/gfamdirectorymonitor.c:
2984 * gio/fam/gfamfilemonitor.c:
2986 * gio/gcontenttype.c:
2987 * gio/gdatainputstream.c:
2988 * gio/gdataoutputstream.c:
2992 * gio/gfileattribute.h:
2993 * gio/gfileenumerator.c:
2995 * gio/ginputstream.c:
2998 * gio/glocalfileinfo.c:
2999 * gio/goutputstream.c:
3000 * gio/gpollfilemonitor.c:
3001 * gio/gsimpleasyncresult.c:
3002 * gio/gunixmounts.c:
3003 * gio/gunixmounts.h:
3004 * gio/inotify/ginotifydirectorymonitor.c:
3005 * gio/inotify/ginotifyfilemonitor.c:
3006 * gio/inotify/inotify-diag.c:
3007 * gio/inotify/inotify-kernel.c:
3008 * gio/inotify/inotify-path.c:
3010 * gio/test-streams.c:
3011 * programs/gio-info.c:
3012 * programs/gio-monitor-dir.c:
3013 * programs/gio-monitor-file.c:
3014 Various code cleanups from Kjartan Maraas
3016 2007-11-13 Alexander Larsson <alexl@redhat.com>
3019 Handle the uri-scheme calls for dummy files
3021 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3023 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3024 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3025 to avoid clash with the C++ keyword.
3027 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3029 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3030 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3032 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3034 * gio/glocaldirectorymonitor.c:
3035 * gio/glocalfilemonitor.c:
3036 * gio/gunionvolumemonitor.c:
3037 Don't use g_once_init_*() for initializations that could fail and
3038 could leave the initialization variable set to 0 but use GOnce.
3039 This prevents a deadlock on the second call when trying to create
3040 a monitor and no monitor type is available. Thanks to Sven Herzberg
3043 2007-11-11 Sven Herzberg <sven@imendio.com>
3045 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3046 #ifdef (make it work on MacOS X again)
3048 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3050 Fixes Changelog for last two commits (sorry guys).
3052 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3054 * gio/gbufferedinputstream.c:
3055 * gio/gdatainputstream.c:
3057 * gio/gfileoutputstream.c:
3058 * gio/gfilterinputstream.c:
3059 * gio/glocalfileinputstream.c:
3062 More consistency fixes in g*stream.c files.
3063 Significant clean of gfile's documentation, filling in of
3064 asynchronous operations documentation.
3066 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3068 * gio/gasyncresult.c:
3069 * gio/gbufferedinputstream.c:
3070 * gio/gbufferedoutputstream.c:
3071 * gio/gcancellable.c:
3072 * gio/gcontenttype.c:
3073 * gio/gdatainputstream.c:
3074 * gio/gdataoutputstream.c:
3075 * gio/gdesktopappinfo.c:
3078 * gio/gfileattribute.c:
3079 * gio/gio/gfileenumerator.c:
3081 * gio/gfileinputstream.c:
3082 * gio/gfilemonitor.c:
3083 * gio/gfileoutputstream.c:
3084 * gio/ginputstream.c:
3086 * gio/gioscheduler.c:
3087 * gio/gloadableicon.c:
3088 * gio/glocalfileoutputstream.c:
3089 * gio/gmemoryoutputstream.c:
3090 * gio/gmountoperation.c:
3091 * gio/goutputstream.c:
3093 * gio/gsimpleasyncresult.c:
3094 * gio/gunionvolumemonitor.c:
3095 * gio/gunixmounts.c:
3096 * gio/gunixvolume.c:
3100 * gio/gvolumemonitor.c:
3101 Updated documentation stubs, working towards consistency and
3104 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3106 * gio/gmemoryoutputstream.c:
3107 * gio/gmemoryoutputstream.h:
3108 Change g_memory_output_stream_set_free_on_close() to
3109 g_memory_output_stream_set_free_data() as this makes more sense and
3110 is more consistent with GMemoryInputStream.
3112 2007-11-07 Alexander Larsson <alexl@redhat.com>
3119 Change how we find the default vfs so that
3120 we can handle a gvfs failing to init
3122 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3124 * gio/gbufferedoutputstream.c:
3125 * gio/gdatainputstream.c:
3126 * gio/gdataoutputstream.c:
3127 * gio/gfileinputstream.c:
3128 * gio/gfileoutputstream.c:
3129 * gio/gfilterinputstream.c:
3130 * gio/gfilteroutputstream.c:
3131 * gio/ginputstream.c:
3132 * gio/gmemoryinputstream.c:
3133 * gio/gmemoryoutputstream.c:
3134 * gio/goutputstream.c:
3135 * gio/gsimpleasyncresult.c:
3136 * gio/gsocketinputstream.c:
3137 * gio/gsocketoutputstream.c:
3138 Add guards to the remaining public functions, add a TODO for
3139 an unimplemented function and remove some useless guards.
3141 2007-11-07 Alexander Larsson <alexl@redhat.com>
3144 Autoconf checks for the various types of
3145 getpwuid_r and getgrgid_r
3147 * gio/glocalfileinfo.c:
3148 Use the autoconf checks from above
3150 2007-11-07 Alexander Larsson <alexl@redhat.com>
3153 (g_local_file_query_filesystem_info):
3154 Some fixes for the statvfs case
3156 2007-11-07 Alexander Larsson <alexl@redhat.com>
3159 (g_local_file_query_filesystem_info):
3160 Pick the "best" of statfs / statvfs for the system
3161 if both are availible.
3163 2007-11-07 Alexander Larsson <alexl@redhat.com>
3165 Solaris fixes from Halton.Huo@Sun.COM:
3172 * gio/glocalfileinfo.c:
3173 Fix for solaris definition of getpwuid_r
3175 * gio/test-streams.c:
3176 Use G_GNUC_PRETTY_FUNCTION
3178 2007-11-07 Alexander Larsson <alexl@redhat.com>
3180 * gio/gdesktopappinfo.c:
3181 (update_default_list):
3182 Remove double semicolon.
3183 Patch from Jens Granseuer
3185 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3187 * docs/reference/gio/gio-sections.txt:
3188 * gio/gbufferedinputstream.c:
3189 * gio/gbufferedinputstream.h:
3190 * gio/gdatainputstream.c:
3191 * gio/gfileenumerator.c:
3192 * gio/gioscheduler.c:
3193 * gio/gunionvolumemonitor.c:
3195 * programs/gio-save.c:
3196 Fix typo: availible -> available. Unfortuntely this breaks API
3197 and ABI as g_buffered_input_stream_get_available() was renamed.
3199 * gio/gunixmounts.c:
3200 * gio/gbufferedinputstream.c:
3201 Add guards for public functions.
3203 2007-11-06 Ross Burton <ross@openedhand.com>
3205 * docs/reference/gio/Makefile.am:
3206 Fix invalid += usage which automake 1.10 doesn't like.
3208 2007-11-06 Alexander Larsson <alexl@redhat.com>
3211 (g_app_launch_context_class_init):
3214 Patch from Ross Burton
3216 2007-11-06 Alexander Larsson <alexl@redhat.com>
3219 Post release version bump
3221 === gio-standalone 0.1.1 ===
3223 2007-11-06 Alexander Larsson <alexl@redhat.com>
3226 Bump version to 0.1.1
3228 * gio/gsimpleasyncresult.c:
3229 (g_simple_async_result_set_from_error):
3230 Remove bogus g_return_if_fail
3232 2007-11-06 Alexander Larsson <alexl@redhat.com>
3235 The name is gio-standalone
3238 Add top src/builddir to includedir
3240 2007-11-06 Alexander Larsson <alexl@redhat.com>
3242 * docs/reference/gio/gio-sections.txt:
3244 * gio/gbufferedinputstream.c:
3245 * gio/gbufferedoutputstream.c:
3246 * gio/gcancellable.c:
3247 * gio/gdatainputstream.h:
3248 * gio/gdataoutputstream.c:
3249 * gio/gdataoutputstream.h:
3250 * gio/gdirectorymonitor.c:
3252 * gio/gfileattribute.c:
3253 * gio/gfileattribute.h:
3254 * gio/gfileenumerator.c:
3255 * gio/gfileenumerator.h:
3258 * gio/gfileinputstream.h:
3259 * gio/gfilemonitor.c:
3260 * gio/gfileoutputstream.h:
3261 * gio/glocalfilemonitor.h:
3262 * gio/glocalfileoutputstream.h:
3263 * gio/gmemoryinputstream.c:
3264 * gio/gmemoryoutputstream.c:
3265 * gio/gmountoperation.c:
3266 * gio/goutputstream.c:
3267 * gio/goutputstream.h:
3269 * gio/gsimpleasyncresult.c:
3270 * gio/gunixmounts.c:
3271 * gio/gunixmounts.h:
3273 * gio/inotify/inotify-helper.c:
3274 Fix gtk-doc warnings
3276 Patch from Ross Burton
3278 2007-11-06 Alexander Larsson <alexl@redhat.com>
3280 * gio/gfilenamecompleter.c:
3281 (g_filename_completer_get_completions):
3284 * gio/gunixvolume.c:
3285 Remove unused function
3287 Patches from Ross Burton
3289 2007-11-06 Alexander Larsson <alexl@redhat.com>
3294 Padding not needed for interfaces
3296 2007-11-06 Alexander Larsson <alexl@redhat.com>
3298 * gio/gfilemonitor.c:
3302 Make giotypes.h an internal file
3305 * gio/gbufferedinputstream.h:
3306 * gio/gbufferedoutputstream.h:
3307 * gio/gcancellable.h:
3308 * gio/gdatainputstream.h:
3309 * gio/gdataoutputstream.h:
3310 * gio/gdirectorymonitor.c:
3311 * gio/gdirectorymonitor.h:
3316 * gio/gfileattribute.h:
3317 * gio/gfileenumerator.h:
3322 * gio/gfilemonitor.c:
3323 * gio/gfilemonitor.h:
3324 * gio/gfilenamecompleter.c:
3325 * gio/gfilenamecompleter.h:
3326 * gio/gfilterinputstream.h:
3327 * gio/gfilteroutputstream.h:
3328 * gio/ginputstream.h:
3329 * gio/gmemoryinputstream.h:
3330 * gio/gmemoryoutputstream.h:
3331 * gio/gmountoperation.c:
3332 * gio/gmountoperation.h:
3333 * gio/gnativevolumemonitor.c:
3334 * gio/goutputstream.h:
3337 * gio/gsimpleasyncresult.c:
3338 * gio/gsimpleasyncresult.h:
3339 * gio/gsocketinputstream.h:
3340 * gio/gsocketoutputstream.h:
3341 * gio/gthemedicon.c:
3342 * gio/gthemedicon.h:
3346 * gio/gvolumemonitor.c:
3347 * gio/gvolumemonitor.h:
3348 Add padding in classes where it seems useful
3349 Don't include giotypes.h from public headers
3350 Move in Class definitions into c file where possible
3355 2007-11-06 Alexander Larsson <alexl@redhat.com>
3357 * docs/reference/gio/gio-docs.xml:
3358 Better structure for API docs
3360 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3363 * gio/gloadableicon.c:
3364 * gio/gsimpleasyncresult.c:
3365 * gio/gthemedicon.c:
3366 Add some more guards to public functions. Only files missing are now
3369 2007-11-06 Alexander Larsson <alexl@redhat.com>
3371 * docs/reference/gio/gio-docs.xml:
3372 Remove old files, add missing ones
3374 2007-11-06 Alexander Larsson <alexl@redhat.com>
3376 * docs/reference/gio/gio-sections.txt:
3379 Hide implementation classes
3381 * gio/gdriveprivate.h:
3382 * gio/gvolumeprivate.h:
3383 Remove non-existing function declarations
3385 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3388 Fix compilation warnings and add guards to the new functions.
3390 * gio/gasyncresult.c:
3392 Add guards to the public functions.
3395 Implement get_path().
3397 2007-11-06 Alexander Larsson <alexl@redhat.com>
3399 * gio/gfilenamecompleter.c:
3400 Make g_filename_completer_get_completions
3401 return char ** instead of GList for
3404 * docs/reference/gio/gio-docs.xml:
3405 * docs/reference/gio/gio-sections.txt:
3407 * gio/gasyncresult.c:
3408 * gio/gbufferedinputstream.c:
3409 * gio/gbufferedoutputstream.c:
3410 * gio/gcancellable.c:
3411 * gio/gcontenttype.c:
3412 * gio/gdatainputstream.c:
3413 * gio/gdataoutputstream.c:
3414 * gio/gdesktopappinfo.c:
3415 * gio/gdirectorymonitor.c:
3419 * gio/gfileattribute.c:
3420 * gio/gfileenumerator.c:
3423 * gio/gfileinputstream.c:
3424 * gio/gfilemonitor.c:
3425 * gio/gfilenamecompleter.c:
3426 * gio/gfilenamecompleter.h:
3427 * gio/gfileoutputstream.c:
3428 * gio/gfilterinputstream.c:
3430 * gio/ginputstream.c:
3432 * gio/gioscheduler.c:
3433 * gio/gloadableicon.c:
3434 * gio/glocaldirectorymonitor.c:
3436 * gio/glocalfileinputstream.c:
3437 * gio/glocalfilemonitor.c:
3438 * gio/glocalfileoutputstream.c:
3440 * gio/gmemoryinputstream.c:
3441 * gio/gmemoryoutputstream.c:
3442 * gio/gmountoperation.c:
3443 * gio/goutputstream.c:
3444 * gio/gpollfilemonitor.c:
3446 * gio/gsimpleasyncresult.c:
3447 * gio/gsocketinputstream.c:
3448 * gio/gsocketoutputstream.c:
3449 * gio/gthemedicon.c:
3450 * gio/gunionvolumemonitor.c:
3452 * gio/gunixmounts.c:
3453 * gio/gunixvolume.c:
3454 * gio/gunixvolumemonitor.c:
3458 * gio/gvolumemonitor.c:
3459 * gio/gwin32appinfo.c:
3460 Add (mostly stub) doc strings to public functions.
3461 Patch from Andrew Walton (awalton@gmail.com)
3463 2007-11-06 Alexander Larsson <alexl@redhat.com>
3465 * gio/gappinfo.[ch]:
3466 Added GAppLaunchContext object and pass that to launch.
3467 This allows simple implementation of both
3468 launch-on-screen and startup notification via a gtk+
3469 subclass of GAppLaunchContext
3471 * gio/gdesktopappinfo.c:
3472 Implement GAppLaunchContext API
3474 * gio/gwin32appinfo.c:
3477 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3479 * gio/gmountoperation.c:
3480 Add some guards to GMountOperation's public functions.
3482 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3486 * gio/gcancellable.c:
3487 * gio/gdirectorymonitor.c:
3489 * gio/gfileenumerator.c:
3490 * gio/gfilemonitor.c:,
3491 * gio/gfilenamecompleter.c:
3494 * gio/gioscheduler.c:
3498 * gio/gvolumemonitor.c:
3499 Add even more guards to various public functions.
3501 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3504 Add guards to the public functions of GAppInfo.
3506 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3508 * gio/gcontenttype.c:
3509 Add some more guards for public functions.
3511 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3513 * gio/fam/fam-module.c:
3514 * gio/fam/gfamdirectorymonitor.c:
3515 * gio/fam/gfamdirectorymonitor.h:
3516 * gio/fam/gfamfilemonitor.c:
3517 * gio/fam/gfamfilemonitor.h:
3518 * gio/inotify/ginotifydirectorymonitor.c:
3519 * gio/inotify/ginotifydirectorymonitor.h:
3520 * gio/inotify/ginotifyfilemonitor.c:
3521 * gio/inotify/ginotifyfilemonitor.h:
3522 Add proper copyright information and remove an unused variable
3523 in the GInotifyFileMonitor constructor.
3525 * gio/gcancellable.c:
3526 Add a guard for a public function and an assertion to prevent
3527 an undefined program state.
3529 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3531 * gio/gfileattribute.c:
3532 Don't run into an assertion if the given attribute value is NULL
3533 in g_file_attribute_value_get_*() but instead return a fallback
3534 value that makes sense in most situations. Passing them a attribute
3535 value with the wrong type will still run into an assertion.
3537 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3539 * gio/gfileattribute.c:
3541 Add even more guards to the public functions. Also fix the refcounting
3542 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3543 let g_file_info_list_attributes() filter the attributes by namespace
3544 instead of simply ignoring the namespace parameter.
3546 2007-11-03 Sven Herzberg <sven@imendio.com>
3548 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3549 (This makes gio work on MacOS X again)
3551 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3554 Build the gio subdirectory before the docs. Otherwise the build will
3557 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3558 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3559 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3560 Add guards to the public functions.
3562 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3564 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3565 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3566 to prevent a compiler warning.
3568 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3569 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3570 return something in the non-void function find_topdir_for().
3572 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3579 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3581 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3582 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3583 * gwin32appinfo.c (g_win32_app_info_launch):
3584 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3585 envp_for_startup_id, g_desktop_app_info_launch,
3586 g_desktop_app_info_launch_uris):
3588 Give an opaque 'startup_id' string instead of 'envp'.
3589 Support empty file lists for launching new windows.
3590 Fix infinite recursion bug when launching URIs.
3592 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3595 Add guard to the new g_file_get_uri_scheme() function.
3597 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3600 Convert a g_return_val_if_fail() to setting the GError instead as
3601 otherwise applications have to verify the parameter before otherwise
3602 and the parameter might come directly from the user.
3604 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3606 * gio/inotify/ginotify*.[ch]:
3607 Add missing copyright information.
3609 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3612 Add guards in the beginning of public functions to check for valid
3613 parameters and fix a bug in copy_stream_with_progress() that could've
3614 caused writing less bytes than reading.
3615 * gio/glocalfileinfo.c:
3616 Check for a NULL parameter and set the GError accordingly then.
3617 * gio/goutputstream.c:
3618 Fix the same bug as in gfile.c that could've caused writing less bytes
3619 than reading in g_output_stream_real_splice().
3621 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3624 Use the correct gvolumeprivate.h naming
3626 2007-11-01 Christian Kellner <gicmo@gnome.org>
3629 Remove leftover "$(daemon_sources)" entry.
3631 2007-11-01 Christian Kellner <gicmo@gnome.org>
3636 Add copyright information to source files.
3638 2007-11-01 Alexander Larsson <alexl@redhat.com>
3642 Add g_file_get_uri_scheme
3644 2007-11-01 Alexander Larsson <alexl@redhat.com>
3647 * gio/gdesktopappinfo.c:
3648 * gio/gwin32appinfo.c:
3649 Add g_app_info_get_default_for_uri_scheme.
3651 2007-11-01 Alexander Larsson <alexl@redhat.com>
3654 Correct filename for gdriveprivate.h
3656 2007-10-31 Alexander Larsson <alexl@redhat.com>
3659 Rename id:value to id:file
3662 * gio/glocalfileinfo.c:
3665 2007-10-31 Alexander Larsson <alexl@redhat.com>
3667 * gio/gunixvolume.c:
3669 Remove g_volume_get_platform_id, as thats not
3670 needed with the simpler union volume monitor
3672 2007-10-31 Alexander Larsson <alexl@redhat.com>
3675 * gio/guniondrive.[ch]: Removed.
3676 * gio/gunionvolume.[ch]: Removed.
3677 Remove GUnionDrive/Volume
3679 * gio/gunionvolumemonitor.c:
3680 Simplify union volume monitor, now we
3681 only have one native volume monitor and
3682 we use the actual volumes/drives from the
3683 child monitors instead of wrapping them
3685 * gio/gnativevolumemonitor.[ch]:
3686 Base class for native volume monitors.
3687 Includes priority and get_volume_for_mountpoint
3690 Add g_file_find_enclosing_volume
3693 Remove volume name fs attribute
3694 Add readonly fs attribute
3697 Implement readonly attribute
3698 remove volume name attribute
3699 Implement find_enclosing volume
3701 * gio/gunixmounts.c:
3702 Add a volume for "/".
3704 * gio/gunixvolume.[ch]:
3705 Set better name for /
3707 * gio/gunixvolumemonitor.[ch]:
3708 Derive from GNativeVolumeMonitor
3709 Implement get_volume_for_mountpoint
3712 GVolume typedef moved to gfile.h
3714 * gio/gvolumeprivate.h:
3715 Add g_volume_get_for_mount_path
3717 2007-10-31 Alexander Larsson <alexl@redhat.com>
3719 * gio/gunixmounts.[ch]:
3720 Add cache info to unix mount listers
3721 Make getmntent use threadsafe
3722 Add is_system_internal attribute for GUnixMount
3724 * gio/gunixvolume.c:
3725 (g_unix_volume_new):
3726 Use is_system_internal instead of own code
3728 * gio/glocaldirectorymonitor.c:
3729 * gio/gunixvolumemonitor.c:
3730 Update to new gunixmounts API
3735 2007-10-30 Alexander Larsson <alexl@redhat.com>
3738 Add volume name fsinfo attribute
3741 Read volume name info
3743 * gio/gunionvolumemonitor.c:
3744 Fix infinite loops when finalizing a union volume monitor
3746 2007-10-30 Alexander Larsson <alexl@redhat.com>
3748 * gio/goutputstream.[ch]:
3749 Add splice() with default implementation
3751 * gio/gsocketoutputstream.c:
3752 (g_socket_output_stream_write):
3753 Return error on cancellation correctly.
3755 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3757 * gio/glocalfile.c (g_local_file_trash):
3758 Do not leak a string.
3760 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3762 * gio/gfile.c (g_file_load_contents):
3763 Unref the stream after closing it.
3765 2007-10-25 Alexander Larsson <alexl@redhat.com>
3767 * gio/gioscheduler.h:
3770 2007-10-25 Alexander Larsson <alexl@redhat.com>
3774 Add g_file_has_uri_scheme and implement for local files
3776 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3778 * gio/gdesktopappinfo.c: do not leak a string.
3780 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3782 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3783 (g_local_directory_monitor_new):
3784 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3785 (g_local_file_monitor_new):
3786 Only look for the monitor type that should be used the first time
3787 and use g_qsort_with_data() instead of our own bubble sort
3790 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gio/fam/Makefile.am:
3794 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3795 * gio/fam/fam-helper.h:
3796 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3797 * gio/fam/gfamdirectorymonitor.c:
3798 * gio/fam/gfamdirectorymonitor.h:
3799 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3800 * gio/fam/gfamfilemonitor.h:
3801 * gio/glocaldirectorymonitor.c:
3802 * gio/glocaldirectorymonitor.h:
3803 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3804 * gio/glocalfilemonitor.h:
3805 * gio/inotify/Makefile.am:
3806 * gio/inotify/ginotifydirectorymonitor.c:
3807 * gio/inotify/ginotifydirectorymonitor.h:
3808 * gio/inotify/ginotifyfilemonitor.c:
3809 * gio/inotify/ginotifyfilemonitor.h:
3810 Implement the FAM and Inotify monitors as
3811 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3812 their own GIO module. GLocal(Directory|File)Monitor will use the
3813 monitor with the highest rank that is supported on that machine.
3815 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3818 Change GIO module dir to $(libdir)/gio/modules and change
3819 the log domain from GVFS to GIO. Also only export symbols starting
3820 with g_ in the resulting library.
3821 * gio/test-streams.c: (main):
3822 Set log handler for the GIO log domain.
3824 2007-10-22 Alexander Larsson <alexl@redhat.com>
3826 * gio/gfilenamecompleter.[ch]:
3827 Add g_filename_completer_set_dirs_only
3829 2007-10-22 Alexander Larsson <alexl@redhat.com>
3832 * gio/gurifuncs.[ch]:
3833 Add some simple URI helpers
3835 * gio/gfilenamecompleter.[ch]:
3836 Added object for filename (parse name actually) completion
3839 Handle ~ in parse names
3841 2007-10-17 Alexander Larsson <alexl@redhat.com>
3844 * gio/glocalfileinfo.c:
3845 Add and implement id:value attribute
3847 2007-10-17 Alexander Larsson <alexl@redhat.com>
3850 * gio/guniondrive.c:
3852 Add and implement g_drive_has_volumes
3854 2007-10-17 Alexander Larsson <alexl@redhat.com>
3857 * gio/glocalfileinfo.[ch]:
3858 Add unix:is_mountpoint and implement for local files
3860 2007-10-16 Alexander Larsson <alexl@redhat.com>
3862 * gio/gunionvolumemonitor.c:
3863 (g_union_volume_monitor_init):
3864 Fix up the unix type getting so that it works with gcc
3866 2007-10-12 Alexander Larsson <alexl@redhat.com>
3869 * gio/glocalfileinfo.c:
3870 Add thumbnail:failed to file info
3872 2007-10-12 Richard Hult <richard@imendio.com>
3874 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3875 optimizing away the get_type call (happens with some gcc versions,
3876 like the one shipped with OS X 10.4).
3878 2007-10-12 Alexander Larsson <alexl@redhat.com>
3880 * gio/glocalfileinfo.c:
3881 (_g_local_file_info_set_attribute):
3882 Fix build if not HAVE_XATTR
3883 Patch from Milosz Derezynski <internalerror@gmail.com>
3885 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3887 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3888 around for review, otherwise I would have asked you before
3891 2007-10-11 Alexander Larsson <alexl@redhat.com>
3894 Add thumbnail:path attribute
3896 * gio/glocalfileinfo.c:
3897 Implement thumbnail:path for local files
3899 2007-10-11 Alexander Larsson <alexl@redhat.com>
3901 * gio/glocalfileinfo.c:
3902 (_g_local_file_info_get):
3903 Avoid duplicate icon names
3905 2007-10-11 Alexander Larsson <alexl@redhat.com>
3907 * gio/gthemedicon.[ch]:
3908 Change g_themed_icon_get_names return type to const
3910 2007-10-10 Alexander Larsson <alexl@redhat.com>
3912 * gio/glocalfileinfo.c:
3913 Don't reference freed memory
3915 2007-10-10 Alexander Larsson <alexl@redhat.com>
3917 * gio/gfileattribute.c:
3920 * gio/glocalfileinfo.c:
3923 2007-10-10 Alexander Larsson <alexl@redhat.com>
3926 Check for NULL icons
3928 * gio/gfileattribute.c:
3929 Don't dup when getting objects (same as for string attributes)
3931 * gio/gicon.c (g_icon_equal):
3932 Safely handle NULLs in equal
3934 2007-10-10 Alexander Larsson <alexl@redhat.com>
3937 Fix c++ compilation issues
3938 Patch from Milosz Derezynski <internalerror@gmail.com>
3940 2007-10-10 Alexander Larsson <alexl@redhat.com>
3942 * programs/gio-monitor-dir.c:
3943 Don't crash if dir monitor not supported.
3945 2007-10-09 Alexander Larsson <alexl@redhat.com>
3948 Add missing G_END_DECLS
3950 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3952 * gio/gfile.c: (g_file_set_display_name),
3953 (g_file_query_settable_attributes),
3954 (g_file_query_writable_namespaces):
3955 Return NULL not FALSE on errors as the return type is a pointer.
3957 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3959 * gio/glocalfile.c: (g_local_file_monitor_file):
3960 Don't call monitor_file on the default interface vtable (which
3961 is NULL) but simply return NULL. The caller, GFile, will create a
3962 polling monitor if NULL is returned.
3964 2007-10-09 Alexander Larsson <alexl@redhat.com>
3968 * gio-unix-2.0.pc.in:
3969 Add gio-unix-2.0.pc if OS_UNIX
3972 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3974 2007-10-09 Alexander Larsson <alexl@redhat.com>
3976 * gio/gunixmounts.[ch]:
3977 Make unix mount monitoring API sane.
3978 Now its just a object with mounts_changed
3979 and mountpoints_changed signals.
3981 * gio/glocaldirectorymonitor.c:
3982 * gio/gunixvolumemonitor.c:
3983 Use new mount monitor api
3985 2007-10-09 Alexander Larsson <alexl@redhat.com>
3987 * gio/gunixmounts.[ch]:
3988 Move guess type into one call for mounts and one for mountpoints
3991 * gio/gunixvolume.c:
3994 2007-10-09 Alexander Larsson <alexl@redhat.com>
3996 * gio/gunixmounts.[ch]:
3997 Remove _ prefix in preparation to make this semi-public
3998 Hide implementation of structs
4000 * gio/glocaldirectorymonitor.c:
4002 * gio/gunixvolume.c:
4003 * gio/gunixvolumemonitor.c:
4004 Update for above API changes
4006 2007-10-08 Alexander Larsson <alexl@redhat.com>
4009 Better polling fallback. This also handles the case where we have
4010 a monitor_file implementation, but it fails.
4012 2007-10-08 Alexander Larsson <alexl@redhat.com>
4016 * gio/gunixmounts.c:
4017 * programs/gio-monitor-dir.c:
4018 * programs/gio-monitor-file.c:
4019 Added cancellable to file monitoring calls.
4020 These are really sync calls and need this.
4022 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4024 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4025 (g_local_vfs_class_init):
4026 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4027 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4029 2007-10-05 Alexander Larsson <alexl@redhat.com>
4031 * gio/gdirectorymonitorprivate.h:
4032 * gio/gfilemonitorprivate.h:
4033 * gio/gdirectorymonitor.h:
4034 * gio/gfilemonitor.h:
4035 Remove *private.h and move to the public API, so that
4036 we can do implementations outside gio (such as in gvfs)
4038 * gio/gdirectorymonitor.c:
4039 * gio/gfilemonitor.c:
4040 * gio/glocaldirectorymonitor.c:
4041 * gio/gpollfilemonitor.c:
4042 * gio/inotify/inotify-helper.c:
4043 * gio/fam/fam-helper.c:
4044 Update to the new header names
4046 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4048 * gio/gdirectorymonitor.c:
4049 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4052 2007-10-04 Alexander Larsson <alexl@redhat.com>
4054 * gio/glocalfileinfo.c (get_access_rights):
4055 Set CAN_TRASH when we can move the file.
4056 We should really also check for a parent trash dir.
4058 2007-10-04 Alexander Larsson <alexl@redhat.com>
4060 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4061 Add can_trash access attribute
4063 2007-10-04 Alexander Larsson <alexl@redhat.com>
4066 (g_local_file_trash):
4067 Create info file first. This is per-spec and allows
4068 us to actually trash directories.
4070 2007-10-02 Alexander Larsson <alexl@redhat.com>
4072 * gio/gdesktopappinfo.c:
4073 Implement the new mime support code.
4074 Always set app as handling mimetype when being set as default for it
4076 2007-10-01 Alexander Larsson <alexl@redhat.com>
4078 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4079 Fix up check for xattrs:
4081 2007-10-01 Alexander Larsson <alexl@redhat.com>
4084 (g_app_info_set_as_default_for_extension):
4085 (g_app_info_add_supports_type):
4086 (g_app_info_can_remove_supports_type):
4087 (g_app_info_remove_supports_type):
4088 Make these fail nicely if not implemented
4090 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4092 * gio/glocalfileoutputstream.c:
4093 * gio/glocalfileoutputstream.h:
4098 * programs/gio-save.c:
4099 Add a GFileCreateFlags argument to operations that can create
4102 2007-10-01 Alexander Larsson <alexl@redhat.com>
4104 * gio/gappinfo.[ch]:
4105 * gio/gdesktopappinfo.c:
4106 Add more (stubbed out) mime API needed for nautilus
4108 2007-10-01 Alexander Larsson <alexl@redhat.com>
4111 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4112 Add g_app_info_set_as_default_for_extension.
4114 * gio/gdesktopappinfo.c:
4115 Dummy for g_app_info_set_as_default_for_extension
4116 Support flags in g_app_info_create_from_commandline
4118 * gio/gwin32appinfo.c:
4120 Update for API changes
4122 * gio/gthemedicon.c:
4123 Properly NULL-terminate list of icon names
4125 2007-09-28 Alexander Larsson <alexl@redhat.com>
4127 * gio/gloadableicon.h:
4128 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4130 2007-09-28 Alexander Larsson <alexl@redhat.com>
4133 Install headers in $includedir/gio-standalone/
4135 * gio-2.0.pc.in: Added.
4136 * gio-standalone.pc.in: Removed.
4139 Renamed pkg-config file to match glib (for future move)
4140 Update to the new include dir
4143 Add more TODO comments
4145 2007-09-28 Alexander Larsson <alexl@redhat.com>
4147 * gio/gdesktopappinfo.[ch]:
4148 Expose new_from_filename
4149 Add getter for is_hidden and handle it better
4151 2007-09-28 Alexander Larsson <alexl@redhat.com>
4153 * gio/gfileinfo.[ch]:
4154 Rename g_file_size_format_for_display to
4155 g_format_file_size_for_display.
4156 Now it doesn't have the g_file prefix, so we
4157 can later move it to glib.
4159 2007-09-28 Alexander Larsson <alexl@redhat.com>
4161 * gio/gappinfo.[ch]:
4162 Add g_app_info_get_id and g_app_info_get_executable.
4163 Make all getters non-reffing
4164 Make g_app_info_launch take GFile arguments.
4165 Add must_support_uris argument to g_app_info_get_default_for_type.
4167 * gio/gwin32appinfo.c:
4168 Update to GAppInfo api changes
4170 * gio/gdesktopappinfo.c:
4171 Update to GAppInfo api changes
4172 Implement supports_xdg_startup_notify
4174 * gio/gfileicon.c (g_file_icon_get_file):
4175 Make getter non-reffing.
4180 2007-09-27 Alexander Larsson <alexl@redhat.com>
4182 * gio/gfileinfo.[ch]:
4183 Add g_file_size_format_for_display helper
4185 2007-09-27 Alexander Larsson <alexl@redhat.com>
4187 * gio/glocalfileinfo.c:
4188 Set UNIX_GID from gid, not from uid
4190 2007-09-27 Alexander Larsson <alexl@redhat.com>
4193 Add g_file_set_attributes_async
4195 2007-09-27 Alexander Larsson <alexl@redhat.com>
4197 * gio/glocalfile.c (g_local_file_set_display_name):
4198 Fix set_display_name to actually rename to the right place.
4199 Use lstat to look for existing files so we don't overwrite
4202 2007-09-26 Alexander Larsson <alexl@redhat.com>
4205 Add g_file_set_display_name_async()
4207 2007-09-26 Alexander Larsson <alexl@redhat.com>
4210 Add load_partial_contents async calls
4213 Make internal function static
4215 2007-09-26 Alexander Larsson <alexl@redhat.com>
4217 * gio/glocalfileinfo.c:
4218 Correctly detect broken symlinks
4220 2007-09-26 Alexander Larsson <alexl@redhat.com>
4222 * gio/gcancellable.c (g_cancellable_cancel):
4223 Allow cancel on NULL cancellable
4225 2007-09-25 Alexander Larsson <alexl@redhat.com>
4227 * gio/gsimpleasyncresult.c:
4228 Don't allocate g_error manually.
4229 Fixes g_slice/g_new mixup crash
4231 2007-09-25 Alexander Larsson <alexl@redhat.com>
4233 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4234 Actually set active_backend.
4235 This means the monitor will be cancelled correctly.
4237 2007-09-25 Alexander Larsson <alexl@redhat.com>
4239 * gio/gdirectorymonitor.c:
4240 Set timeout to NULL when destroying
4242 2007-09-25 Alexander Larsson <alexl@redhat.com>
4245 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4246 that is a better description of the error.
4248 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4250 * gio/gvfs.c: (g_vfs_get_local):
4251 Make the local vfs variable static. The same instance should
4254 2007-09-24 Alexander Larsson <alexl@redhat.com>
4256 * gio/glocalfileinfo.c:
4257 Pass in actual length read into sniffer, not the length
4260 2007-09-21 Alexander Larsson <alexl@redhat.com>
4262 * gio/gfileenumerator.c:
4265 * gio/gfileinputstream.c:
4266 * gio/gfileoutputstream.c:
4267 * gio/ginputstream.c:
4268 * gio/goutputstream.c:
4269 Don't crash if async callbacks are NULL
4271 2007-09-20 Alexander Larsson <alexl@redhat.com>
4274 Add async enumerate_children method and default
4277 2007-09-20 Alexander Larsson <alexl@redhat.com>
4280 Add g_file_contains_file & g_file_get_relative_path, since they
4281 were needed for nautilus.
4282 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4287 Implement new methods
4289 2007-09-17 Alexander Larsson <alexl@redhat.com>
4292 * gio/gfileinputstream.[ch]:
4293 * gio/gfileoutputstream.[ch]:
4295 * gio/glocalfileenumerator.[ch]:
4296 * gio/glocalfileinfo.[ch]:
4297 * gio/glocalfileinputstream.c:
4298 * gio/glocalfileoutputstream.c:
4299 * gio/gpollfilemonitor.c:
4300 * programs/gio-copy.c:
4301 * programs/gio-info.c:
4302 * programs/gio-move.c:
4303 Rename get_file_info to query_info() to make it clearer
4304 that these are not simple getters, but do i/o.
4306 2007-09-17 Alexander Larsson <alexl@redhat.com>
4308 * gio/gdatainputstream.[ch]:
4309 * gio/test-streams.c:
4310 Use _read_XXX instead of _get_XXX for the i/o calls
4313 2007-09-17 Alexander Larsson <alexl@redhat.com>
4316 Added needed stuff to TODO comment
4318 2007-09-17 Alexander Larsson <alexl@redhat.com>
4320 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4321 Don't error out removing the backup copy if it doesn't
4324 2007-09-14 Alexander Larsson <alexl@redhat.com>
4326 * programs/Makefile.am:
4327 * programs/gvfs-*.c:
4329 Renamed apps from gvfs-xxx to gio-xxx.
4331 2007-09-14 Alexander Larsson <alexl@redhat.com>
4334 * gio/gfileoutputstream.[ch]:
4335 * gio/glocalfileoutputstream.c:
4336 * programs/gvfs-save.c:
4337 g_file_output_stream_get_etag doesn't do i/o, so remove
4338 cancellation and error.
4340 2007-09-14 Alexander Larsson <alexl@redhat.com>
4343 Add new_etag output to replace_contents functions
4345 2007-09-14 Alexander Larsson <alexl@redhat.com>
4347 * gio/gfileoutputstream.[ch]:
4348 Add async get_file_info and default implementation
4350 2007-09-14 Alexander Larsson <alexl@redhat.com>
4352 * gio/gfileinputstream.c:
4353 Implement fallback wrapper for async get_file_info
4355 2007-09-14 Alexander Larsson <alexl@redhat.com>
4358 Add etag out argument to load_contents
4363 2007-09-14 Alexander Larsson <alexl@redhat.com>
4365 * gio/gcontenttype.c (looks_like_text):
4366 Whitespace like tab, cr and lf do not make the
4369 2007-09-14 Alexander Larsson <alexl@redhat.com>
4371 * gio/gfileinputstream.[ch]:
4372 Add async get_file_info.
4374 2007-09-13 Alexander Larsson <alexl@redhat.com>
4376 * gio/goutputstream.c (g_output_stream_write_all):
4377 Allow NULL for bytes_written
4379 2007-09-13 Alexander Larsson <alexl@redhat.com>
4381 * gio/gmemoryinputstream.[ch]:
4382 Add accessors for data
4384 2007-09-13 Alexander Larsson <alexl@redhat.com>
4386 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4387 Don't crash if length is NULL