1 2008-07-28 Matthias Clasen <mclasen@redhat.com>
3 Bug 545203 – gfile.c: argument is different type.
5 * gfile.c (open_read_async_thread): Pass a GError **
6 to g_file_set_error_literal.
7 Reported by Kazuki Iwamoto
9 2008-07-28 Matthias Clasen <mclasen@redhat.com>
11 Bug 545157 – wrong/no list of "open with" applications for .cc and
14 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
15 Collect all ancestors, not just direct parents. Pointed
18 2008-07-28 Matthias Clasen <mclasen@redhat.com>
20 * Makefile.am: Install gemblemedicon.h
22 2008-07-28 Matthias Clasen <mclasen@redhat.com>
24 * gemblemedicon.[hc]: Add a GIcon implementation that can
25 add an emblem to another icon.
32 * gfileicon.c: Small documentation additions.
34 2008-07-28 Tor Lillqvist <tml@novell.com>
36 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
39 2008-07-27 Tor Lillqvist <tml@novell.com>
41 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
43 2008-07-24 David Zeuthen <davidz@redhat.com>
47 Also export a g_mount_guess_content_type_sync() function.
49 2008-07-23 Matthias Clasen <mclasen@redhat.com>
51 529694 – SELinux context setting support
53 * gfileinfo.c: Support setting selinux attributes.
56 2008-07-22 Priit Laes <plaes@plaes.org>
58 Bug 544140 - fam-helper 64-bit issue?
60 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
62 2008-07-21 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.17.4 ===
66 2008-07-20 Matthias Clasen <mclasen@redhat.com>
68 * gvolumemonitor.[hc]:
73 * gmount.c: Documentation fixes
75 2008-07-19 Matthias Clasen <mclasen@redhat.com>
77 543504 – crash in Epiphany Web Browser: Opening local file
88 * gvolume.c: Register types thread-safely.
89 Patch by Christian Persch
91 2008-07-18 Matthias Clasen <mclasen@redhat.com>
93 * gcontenttype.c: Remove debug spew
95 2008-07-18 Matthias Clasen <mclasen@redhat.com>
97 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
100 * fen/fen-kernel.c: Remove a warning that was causing
101 crashes. Reported by Lin Ma.
103 2008-07-18 Matthias Clasen <mclasen@redhat.com>
105 Bug 543040 – async reading on dummy file will crash on
108 * gfile.c (open_read_async_thread): Cope with read_fn being
109 NULL. Reported by Lin Ma.
111 2008-07-18 Matthias Clasen <mclasen@redhat.com>
114 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
116 2008-07-16 Matthias Clasen <mclasen@redhat.com>
120 * giomodule.c: Rename a chapter id to avoid filename conflict.
122 2008-07-16 Matthias Clasen <mclasen@redhat.com>
124 Bug 540616 – mem leak in filechooser button
126 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
127 the mount entry. Reported by Chrisitan Persch
129 2008-07-16 Matthias Clasen <mclasen@redhat.com>
131 * gfile.c: Small documentation fixes.
133 2008-07-15 Matthias Clasen <mclasen@redhat.com>
135 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
137 2008-07-08 Matthias Clasen <mclasen@redhat.com>
142 * gmount.c: Documentation improvements.
144 2008-07-08 Matthias Clasen <mclasen@redhat.com>
147 * gmount.[hc]: Add g_mount_guess_content_type().
149 2008-07-06 David Zeuthen <davidz@redhat.com>
152 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
153 is needed for easily handling adoption of foreign volumes by
154 out-of-process volume monitors (#541793)
156 2008-07-06 David Zeuthen <davidz@redhat.com>
158 * gvolumemonitor.[ch]:
159 * gunionvolumemonitor.c: Export the eject-button signal on the
160 volume monitor class (#541794).
162 2008-07-06 Matthias Clasen <mclasen@redhat.com>
164 * gappinfo.c: More doc tweaks
166 2008-07-05 Matthias Clasen <mclasen@redhat.com>
168 * gappinfo.c: Clarify some docs
170 2008-07-03 Matthias Clasen <mclasen@redhat.com>
172 * gdesktopappinfo.c: Fix a stupid mistake.
174 2008-07-02 Matthias Clasen <mclasen@redhat.com>
176 * === Released 2.17.3 ===
178 2008-07-02 Matthias Clasen <mclasen@redhat.com>
180 * gfilemonitor.c: Fix the build.
182 2008-07-02 Matthias Clasen <mclasen@redhat.com>
184 Bug 536160 – Add g_file_monitor()
187 * gfile.[hc]: Add g_file_monitor which can return either
188 a file or a directory monitor. Proposed by Behdad Esfahbod
190 2008-07-02 Matthias Clasen <mclasen@redhat.com>
192 536733 – gio build failure on Irix
194 * glocalfile.c: Use a configure check for structfs.f_bavail.
196 2008-07-02 Matthias Clasen <mclasen@redhat.com>
198 Bug 534639 – add g_desktop_app_info_new_from_keyfile
201 * gdesktopappinfo.[hc]: Add a function to create a
202 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
204 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
206 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
208 2008-07-01 Matthias Clasen <mclasen@redhat.com>
210 * gunixmounts.c: Fix a doc typo.
212 2008-07-01 Cody Russell <bratsche@gnome.org>
214 * gio/gcontenttype.c:
215 * gio/gwin32appinfo.c:
216 * gio/gwin32volumemonitor.c:
217 * gio/gwin32mount.c: Fixed some include problems.
219 2008-07-01 Cody Russell <bratsche@gnome.org>
223 Moved all relevant typedefs into these files.
226 Updated wrt added files.
228 Split types into separate file for easier maintainership. (#538564)
230 2008-06-30 Matthias Clasen <mclasen@redhat.com>
232 Bug 540331 – g_file_append_to () documentation: can return NULL
234 * gfile.c (g_file_append_to): Clarify docs.
237 2008-06-30 Matthias Clasen <mclasen@redhat.com>
239 Bug 539090 – g_content_type_from_mime_type() should unalias
241 * gcontentype.c (g_content_type_from_mime_type): Unalias.
242 Patch by Markus Bergman
244 2008-06-30 Matthias Clasen <mclasen@redhat.com>
246 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
249 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
250 on ppc and alpha. Reported by Mart Raudsepp
252 2008-06-29 Matthias Clasen <mclasen@redhat.com>
255 * tests/memory-output-stream.c: Add some tests for
258 2008-06-29 Matthias Clasen <mclasen@redhat.com>
260 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
263 * gmemoryoutputstream.c (array_resize): Handle truncation to
264 zero correctly. Reported by Akira Tagoh
266 2008-06-29 Matthias Clasen <mclasen@redhat.com>
268 * gmemoryoutputstream.c: Trivial doc fixes
270 2008-06-29 Matthias Clasen <mclasen@redhat.com>
272 Bug 540802 – g_list_prepend doesn't concat lists
274 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
275 one list to another. Pointed out by Jan Arne Petersen
277 2008-06-28 Michael Natterer <mitch@imendio.com>
279 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
281 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
283 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
284 to avoid problems with partial icon themes.
286 2008-06-17 Hans Breuer <hans@breuer.org>
288 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
289 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
290 access again on win32, see bug #538127
291 * giomodule.c : ensure GWin32VolumeMonitor is registered
292 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
293 * Makefile.am makefile.msc : updated
295 2008-06-16 Hans Breuer <hans@breuer.org>
297 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
298 and initialization in one step avoids c99ism
300 2008-06-16 Christian Persch <chpe@gnome.org>
303 * gio/gbufferedinputstream.c
305 * gio/gdatainputstream.c
306 * gio/gdesktopappinfo.c
308 * gio/gfileenumerator.c
309 * gio/gfileinputstream.c
310 * gio/gfileoutputstream.c
312 * gio/glocaldirectorymonitor.c
314 * gio/glocalfileenumerator.c
315 * gio/glocalfileinfo.c
316 * gio/glocalfilemonitor.c
317 * gio/glocalfileoutputstream.c
318 * gio/gmemoryinputstream.c
319 * gio/gmemoryoutputstream.c
320 * gio/goutputstream.c
321 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
324 2008-06-16 Tor Lillqvist <tml@novell.com>
326 Bug 538362 - Get Win32 icons back in the file chooser
328 * gcontenttype.c (g_content_type_get_icon): Look up the icon
329 corresponding to a file extension in the Registry. Patch by Hans
331 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
333 2008-06-16 Tor Lillqvist <tml@novell.com>
335 Patches by Hans Breuer:
337 * glocalfile.c (is_xp_or_later): Handle compiling against older
338 SDK headers with missing VerifyVersionInfo(). Conditioned on
339 _MSC_VER, but should probably use some better test.
340 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
341 uninitialised statfs_result variable on Win32.
343 2008-06-16 Michael Natterer <mitch@imendio.com>
345 * *.c: chain up unconditionally in finalize() and dispose(). Also
346 don't dereference these function pointers when calling them since
347 that has no meaning at all.
349 2008-06-16 Ross Burton <ross@burtonini.com>
352 Remove check for dispose implementation as it annoys Emmanuele.
354 2008-06-16 Ross Burton <ross@burtonini.com>
356 Bug 536252 – GFileEnumerator should allow access to the containing
362 Add g_file_enumerator_get_container() and a container writeable
363 construct-only property. Also shuffle around typedefs to make it
366 * glocalfileenumerator.c:
367 * glocalfileenumerator.h:
369 Instead of a string filename take a GFile in the constructor and
370 use it to set the container property.
375 2008-06-16 Matthias Clasen <mclasen@redhat.com>
377 * gfile.c: Make includes more uniform
379 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
381 * tests/live-g-file.c (sample_struct):
382 Use less fancy unicode filenames, so the test doesn't fail
383 on Mac OS X (#531476).
385 2008-06-12 Matthias Clasen <mclasen@redhat.com>
387 * === Released 2.17.2 ===
389 2008-06-12 Matthias Clasen <mclasen@redhat.com>
391 * === Released 2.17.1 ===
393 2008-06-11 A. Walton <awalton@gnome.org>
395 * tests/g-file.c (test_g_file_new_null):
396 Fix broken test case.
398 2008-06-11 Matthias Clasen <mclasen@redhat.com>
400 * pltcheck.sh: We use g_clear_error now.
402 2008-06-11 Matthias Clasen <mclasen@redhat.com>
404 * glocalfile.c (g_local_file_enumerate_children): Revert
405 an unintended change.
407 2008-06-11 Matthias Clasen <mclasen@redhat.com>
409 * gfile.c (g_file_replace_contents): Don't unref before the last use.
411 2008-06-10 Matthias Clasen <mclasen@redhat.com>
413 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
416 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
417 as icon for the desktop directory, also make user-home and
418 user-desktop the preferred icons.
420 2008-06-10 Matthias Clasen <mclasen@redhat.com>
423 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
424 to add a name to the front of the list.
426 2008-06-10 Matthias Clasen <mclasen@redhat.com>
428 Bug 537392 – Additional colon in xattr name
430 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
431 too. Reported by Alessandro Morandi
433 2008-06-10 Matthias Clasen <mclasen@redhat.com>
435 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
438 * glocalfile.c (get_fs_type): Add afs and autofs.
439 Patch by Danny Baumann.
441 2008-06-10 Matthias Clasen <mclasen@redhat.com>
443 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
445 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
446 is no parent. (Owen Taylor, patch by Christian Neumair)
448 2008-06-10 Paolo Borelli <pborelli@katamail.com>
450 * gfile.c (g_file_replace_contents): do not leak the output stream.
452 2008-06-10 Michael Natterer <mitch@imendio.com>
454 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
455 uninitialized memory as array index.
457 2008-06-10 Tor Lillqvist <tml@novell.com>
459 * gcontenttype.c (g_content_type_can_be_executable)
460 (g_content_type_get_icon) [Win32]: Add TODO comments.
462 2008-06-09 Matthias Clasen <mclasen@redhat.com>
464 * xdgmime/Makefile.am: Fix the build
466 2008-06-09 Matthias Clasen <mclasen@redhat.com>
468 * gcontenttype.c (g_content_type_get_icon): Use icons specified
469 in the shared mime database, if available.
471 * xdgmime/*: Sync with upstream. This brings support for
472 glob weights, generic icons, and changes the cache format to
475 2008-05-28 Michael Natterer <mitch@imendio.com>
477 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
478 the global CPPFLAGS now.
480 * tests/data-input-stream.c
481 * tests/data-output-stream.c
482 * tests/g-file-info.c
484 * tests/live-g-file.c
485 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
487 2008-05-27 Matthias Clasen <mclasen@redhat.com>
489 * === Released 2.17.0 ===
491 * tests/live-g-file.c: Clean up after the tests, so make distcheck
492 doesn't complain about leftover files.
494 2008-05-27 simon.zheng <simon.zheng@sun.com>
496 * glocalfile.c: (g_local_file_query_filesystem_info):
497 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
499 2008-05-26 Michael Natterer <mitch@imendio.com>
501 * gmemoryoutputstream.h: declare
502 g_memory_output_stream_get_data_size().
504 2008-05-26 Matthias Clasen <mclasen@redhat.com>
506 * tests/*: Make tests work
508 2008-05-26 Matthias Clasen <mclasen@redhat.com>
510 * gio.symbols: Add g_memory_output_stream_get_data_size.
512 2008-05-25 Ross Burton <ross@burtonini.com>
515 Fix typo in error message (#534764).
517 2008-05-25 Ross Burton <ross@burtonini.com>
520 Fix circular dependency loop for gioenumtypes.h (#534759).
522 2008-05-19 Hans Breuer <hans@breuer.org>
524 * Makefile.am : EXTRA_DIST += makefile.msc
526 2008-05-17 Matthias Clasen <mclasen@redhat.com>
529 * gcontenttype.c: (g_content_type_from_mime_type):
530 New function to create a content type from a mime type. (#527175,
533 2008-05-17 Matthias Clasen <mclasen@redhat.com>
535 Bug 532965 – Should not return filesystem::free for certain file systems
537 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
538 free space for ncpfs.
540 2008-05-17 Matthias Clasen <mclasen@redhat.com>
542 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
544 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
545 st_dev might be zero.
547 2008-05-16 Tor Lillqvist <tml@novell.com>
549 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
550 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
552 2008-05-13 Bastien Nocera <hadess@hadess.net>
554 * gfile.c (has_valid_scheme): A URI scheme must start with a
555 letter, even if later more characters are allowed (#532852)
557 2008-05-05 Michael Natterer <mitch@imendio.com>
559 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
560 code from being checked in that breaks the build of applications
561 which use G_DISABLE_SINGLE_INCLUDES.
563 * makegioalias.pl: make the alias file include "glib.h" instead of
566 * gio.symbols: whitespace change to force regeneration of the
567 alias file after above script change.
569 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
571 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
573 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
575 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
577 2008-04-28 David Zeuthen <davidz@redhat.com>
579 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
580 displaying mounts in a subdirectory not accessible to the
583 2008-04-22 Michael Natterer <mitch@imendio.com>
585 * Makefile.am: fix library versioning (it was 0.0.0).
587 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
589 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
590 Default disable all loggings.
591 * fen/fen-kernel.c: (printevent), (port_add_kevent),
592 (port_fetch_event_cb): Fixed two macro nits.
594 2008-04-16 Matthias Clasen <mclasen@redhat.com>
596 * xdgmime/xdgmime.c: Rework the timestamp checking code
597 to protect against duplicate directories in XDG_DATA_DIRS.
598 Fixes fd.o bug 12513, reported by Joe Shaw.
600 2008-04-16 Matthias Clasen <mclasen@redhat.com>
602 Partically revert the last commit after realizing that
603 xdg_mime_media_type_equal doesn't have to init at all.
606 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
608 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
610 2008-04-16 Matthias Clasen <mclasen@redhat.com>
612 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
613 reported by Joe Shaw and Federico Mena Quintero.
615 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
616 (xdg_mime_media_type_equal): Turn into a wrapper around the
619 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
620 functions throughout.
622 2008-04-16 Michael Meeks <michael.meeks@novell.com>
624 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
625 tolerate an empty TryExec= line without failing; nautilus used
626 to create launchers with these in previous versions. Fixes #528433
628 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
630 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
631 after name. Fixes #527132.
633 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
635 * gfile.c: (g_file_replace):
638 2008-04-07 Matthias Clasen <mclasen@redhat.com>
640 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
642 * gfile.c (file_copy_fallback): Fix the argument order. Patch
643 by Christian Kellner.
645 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
647 * gunixmounts.c: (g_unix_mount_guess_should_display):
648 Don't list the user directory as a mount, fix potential issue
649 when other users have a similar naming and don't special case the
650 gvfs mounts there since that's not required (#525866)
652 2008-03-31 Alexander Larsson <alexl@redhat.com>
654 * glocalfile.c (get_parent):
657 2008-03-31 A. Walton <awalton@svn.gnome.org>
659 * gfile.c (g_file_query_file_type):
660 Always return a GFileType enum value (#520715).
662 2008-03-31 Alexander Larsson <alexl@redhat.com>
664 * glocalfileenumerator.c:
665 Read readdir() info in chunks (of 1000) and sort
666 the chunks by inode before stat:ing.
667 This is a 20% performance increase in testing
668 gvfs-ls on /usr/bin with cold cache.
670 2008-03-31 Alexander Larsson <alexl@redhat.com>
672 * gmemoryoutputstream.c:
673 Clarify docs for g_memory_output_stream_get_size.
674 Add g_memory_output_stream_get_data_size.
676 2008-03-30 Matthias Clasen <mclasen@redhat.com>
680 * gfile.h: Add g_file_query_file_type convenience function
681 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
683 2008-03-30 Matthias Clasen <mclasen@redhat.com>
686 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
688 2008-03-28 A. Walton <awalton@svn.gnome.org>
690 * giomodule.c (_g_io_modules_ensure_loaded):
691 Adds GIO_EXTRA_MODULES environment variable support, closing bug
694 2008-03-28 Alexander Larsson <alexl@redhat.com>
697 (copy_stream_with_progress):
700 2008-03-28 Alexander Larsson <alexl@redhat.com>
703 (copy_stream_with_progress):
704 (file_copy_fallback):
705 Fallback to g_file_query_info for source size
706 if g_file_input_stream_query_info fails. (#524579)
708 2008-03-28 Alexander Larsson <alexl@redhat.com>
710 * glocalfile.c (g_local_file_move):
711 Reuse old string instead of adding new one.
713 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
715 * fen/*.[hc]: still copyright issue. I hate copyright.
717 2008-03-27 Alexander Larsson <alexl@redhat.com>
719 * glocalfile.c (g_local_file_move):
720 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
721 file over directory. This is according to the docs and what the move via
722 copy+remove fallback does.
724 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
726 * fen/*.[hc]: Updated copyright.
728 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
730 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
732 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
734 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
735 not emit attribute changed events when optimizing changed events.
736 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
739 2008-03-19 Matthias Clasen <mclasen@redhat.com>
741 * gmountoperation.[hc]: Small documentation additions
743 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
745 * gunixmounts.c: (guess_mount_type):
746 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
748 2008-03-19 Alexander Larsson <alexl@redhat.com>
751 (copy_stream_with_progress):
752 Bump block side for copy to 64k to minimize
753 overhead for low latency links. (#523015)
755 2008-03-16 Tor Lillqvist <tml@novell.com>
757 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
758 depend on gio.def on Windows.
760 2008-03-12 David Zeuthen <davidz@redhat.com>
764 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
766 2008-03-14 Alexander Larsson <alexl@redhat.com>
770 Avoid redudant tests (#521851)
771 Patch from Josselin Mouette
773 2008-03-14 Alexander Larsson <alexl@redhat.com>
776 (g_file_monitor_is_cancelled):
777 Fix C89 issue (#521672)
778 Patch from Jens Granseuer
780 2008-03-14 Alexander Larsson <alexl@redhat.com>
782 * fam/fam-helper.[ch]:
784 Shut down fam (including removing fam GSource) when
785 module is unloaded (#521513)
786 Patch from Joe Marcus Clarke
788 2008-03-14 Alexander Larsson <alexl@redhat.com>
791 (_g_io_modules_ensure_loaded):
794 2008-03-14 Alexander Larsson <alexl@redhat.com>
797 (g_local_file_query_filesystem_info):
798 Use right define name for f_fstypename member check
800 2008-03-14 Alexander Larsson <alexl@redhat.com>
803 * fen/Makefile.am: Added.
804 * fen/fen-data.[ch]: Added.
805 * fen/fen-dump.[ch]: Added.
806 * fen/fen-helper.[ch]: Added.
807 * fen/fen-kernel.[ch]: Added.
808 * fen/fen-missing.[ch]: Added.
809 * fen/fen-node.[ch]: Added.
810 * fen/fen-sub.[ch]: Added.
811 * fen/gfendirectorymonitor.[ch]: Added.
812 * fen/gfenfilemonitor.[ch]: Added.
814 Added Solaris FEN file notification backend.
815 Patch from Lin Ma <Lin.Ma@Sun.COM>
817 2008-03-13 Tor Lillqvist <tml@novell.com>
819 * Makefile.am: Actually use the gio.def file when linking the
820 library on Windows. Produce .lib library for Microsoft's toolchain
821 when possible. Install the .lib and .def file like for the other
824 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
826 * tests/live-g-file.c:
827 Include live-g-file in standard set of tests, making a temporary
828 directory in source structure.
830 Clean target directory before the tests (write mode only)
832 2008-03-12 Tor Lillqvist <tml@novell.com>
834 Bug 517419 - gio win32 directory monitor
835 Implementation by Vlad Grecescu.
838 * win32/gwin32directorymonitor.h
839 * win32/gwin32directorymonitor.c: New files.
841 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
843 * Makefile.am: Add the win32 subdirectory.
845 2008-03-12 Tor Lillqvist <tml@novell.com>
847 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
848 normal struct stat on Unix but struct _stati64 on Windows to have
849 access to 64-bit file size information. Use that instead of struct
850 stat in the functions declared here in this private header.
852 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
853 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
854 warnings about unused functions and variables. Don't set
855 meaningless attributes like inode numbers on Windows.
857 2008-03-12 Benjamin Otte <otte@gnome.org>
860 trim whitespace so gtk-doc groks the function name
862 2008-03-12 Tor Lillqvist <tml@novell.com>
864 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
865 returning FALSE, on Win32.
867 2008-03-11 Alexander Larsson <alexl@redhat.com>
870 * glocalfileinfo.[ch]:
871 Correctly implement can_trash by actually
872 looking for a trash dir, not just assuming
875 2008-03-10 Matthias Clasen <mclasen@redhat.com>
877 * === Released 2.16.1 ===
879 2008-03-11 Alexander Larsson <alexl@redhat.com>
882 Fix crashes in new constructor and properties code
884 2008-03-10 Murray Cumming <murrayc@murrayc.com>
886 * gfile.c: Minor spelling correction in documentation:
887 existance -> existence.
889 2008-03-10 Matthias Clasen <mclasen@redhat.com>
891 * === Released 2.16.0 ===
893 2008-03-10 Matthias Clasen <mclasen@redhat.com>
895 * gio.symbols: Remove g_file_contains_file here, too.
897 2008-03-10 Matthias Clasen <mclasen@redhat.com>
899 * gthemedicon.c: Add properties to make bindings happy. (#517676,
900 Samuel Cormier-Iijima)
902 2008-03-08 Tor Lillqvist <tml@novell.com>
904 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
907 2008-03-07 Alexander Larsson <alexl@redhat.com>
910 (g_local_file_query_filesystem_info):
911 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
912 Patch from Jasper Lievisse Adriaanse
914 2008-03-06 Tor Lillqvist <tml@novell.com>
916 * gfileinfo.h: Correct milliseconds to microseconds in the doc
917 comments for the *_USEC attributes.
919 2008-03-06 Alexander Larsson <alexl@redhat.com>
921 * gfile.c (g_file_query_exists):
922 Add g_return_val_if_fail check (#520700)
924 2008-03-06 Alexander Larsson <alexl@redhat.com>
929 * gunionvolumemonitor.c:
932 * tests/live-g-file.c:
933 * xdgmime/xdgmimecache.c:
934 Fix sparse warnings (#519489)
936 2008-03-05 Alexander Larsson <alexl@redhat.com>
939 Make cancellation threadsafe (i.e.
940 guarantee its only done once, and always
943 * glocaldirectorymonitor.c:
944 Make sure we the monitor lives while the
945 mounts_changed callback is being called (#520484)
947 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
949 * gbufferedinputstream.c: Fix typo in parameter
952 2008-03-04 Alexander Larsson <alexl@redhat.com>
955 Remove deprecated symbols we kept for one release.
957 2008-03-04 Murray Cumming <murrayc@murrayc.com>
960 * goutputstream.c: Tiny documentation corrections.
962 2008-03-03 Alexander Larsson <alexl@redhat.com>
964 * gunionvolumemonitor.c:
966 Fix the adopt_orphan_mount vfunc to take a
967 volume_monitor reference in an ABI compat way.
968 This change is not API compat, but the added
969 arg is not used in the only user of this vfunc, so
970 all we get is a harmless warning in gvfs (#520169)
972 2008-03-01 Benjamin Otte <otte@gnome.org>
975 clarify docs for g_file_delete().
977 2008-02-29 Alexander Larsson <alexl@redhat.com>
981 Make sure empty files get text/plain type (#518720)
983 2008-02-27 Alexander Larsson <alexl@redhat.com>
989 (g_unix_volume_mount):
990 Add missing GMountMountFlags argument
992 2008-02-26 Alexander Larsson <alexl@redhat.com>
995 (g_local_file_delete):
996 Handle filesystems (like ntfs-3g) that return EEXIST instead
997 of ENOTEMPTY (#518816)
999 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1001 * === Released 2.15.6 ===
1003 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1005 * gfile.c (g_file_find_enclosing_mount):
1006 * ginputstream.c (g_input_stream_set_pending):
1007 * glocalfile.c (g_local_file_find_enclosing_mount):
1008 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1009 * goutputstream.c (g_output_stream_set_pending):
1011 Fixup translator comments (#518578).
1013 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1015 * gfile.c (g_file_find_enclosing_mount):
1017 * glocalfile.c (g_local_file_find_enclosing_mount):
1020 Fix a few typos in translator comments and documentation.
1022 2008-02-25 Alexander Larsson <alexl@redhat.com>
1029 Add translator comments (#518578)
1031 2008-02-25 Alexander Larsson <alexl@redhat.com>
1034 Reintroduce g_file_contains_file, keep around for one
1035 unstable release cycle to avoid crashing to many apps.
1036 Make sure to delete after release.
1038 2008-02-25 Alexander Larsson <alexl@redhat.com>
1041 Remove deprecated g_file_contains_file.
1043 2008-02-25 Alexander Larsson <alexl@redhat.com>
1046 Emit actual change signals in an idle handler.
1047 This avoids reentrance and locking problems in
1048 the file notification backends.
1050 2008-02-25 Alexander Larsson <alexl@redhat.com>
1053 (g_unix_mount_guess_should_display):
1054 Remove type guessing, instead just display
1055 mounts in /media and in ~/.
1057 2008-02-25 Alexander Larsson <alexl@redhat.com>
1060 Make new strings reuse old ones.
1062 2008-02-25 Alexander Larsson <alexl@redhat.com>
1065 Implement trashing and filesystem::readonly for win32 (#517235)
1066 Patch from Yevgen Muntyan
1068 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1070 * gfileinfo.h: Documentation fixes.
1072 2008-02-22 Alexander Larsson <alexl@redhat.com>
1074 * gcontenttype.c (g_content_type_get_icon):
1075 Look at old-style gnome mime icon names too, as many
1076 have not moved to the new style.
1078 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1080 * *.c: Correct the @include in for section docs.
1082 2008-02-21 David Zeuthen <davidz@redhat.com>
1084 * glocalfileinfo.c: (_g_local_file_info_get):
1086 (g_content_type_get_icon): Implement this function by
1087 moving bits from glocalfileinfo.c
1088 (g_content_type_get_description): Unalias before getting
1089 description (#517687)
1091 * gfile.c: (g_file_class_init),
1092 (g_file_query_filesystem_info_async),
1093 (g_file_query_filesystem_info_finish),
1094 (query_filesystem_info_data_free),
1095 (query_filesystem_info_async_thread),
1096 (g_file_real_query_filesystem_info_async),
1097 (g_file_real_query_filesystem_info_finish):
1098 * gfile.h: Implement async version of
1099 g_file_query_filesystem_info()
1101 * gfileinfo.h: Add new attributes for filesystem::use-preview
1103 * gio.symbols: Update
1105 * gthemedicon.c: (g_themed_icon_append_name):
1106 * gthemedicon.h: Add new new convenience function.
1108 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1109 (get_mounts), (get_volumes), (get_connected_drives),
1110 (get_volume_for_uuid), (get_mount_for_uuid),
1111 (g_union_volume_monitor_init), (populate_union_monitor),
1112 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1113 (g_volume_monitor_adopt_orphan_mount):
1115 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1116 monitor implementations to call into the main volume monitor. Also
1117 separate object initialization and volume monitor initialization
1118 such that non-native volume monitors can properly adopt their
1121 2008-02-21 Alexander Larsson <alexl@redhat.com>
1126 2008-02-21 Alexander Larsson <alexl@redhat.com>
1129 Add more documentation about how GFiles work (from #517086)
1131 2008-02-21 Alexander Larsson <alexl@redhat.com>
1135 Add new g_file_has_prefix that does the same as g_file_contains_file.
1136 Deprecate g_file_contains_file and add a macro that converts
1137 it to g_file_has_prefix.
1138 The reason for this change is that the contains_file() name seems to
1139 imply that this does more work than what it does, but its really only
1140 a name match (from #517086)
1145 Update to match the above change.
1147 2008-02-20 Benjamin Otte <otte@gnome.org>
1149 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1150 (g_file_eject_mountable):
1151 even more cases of not returning in error path
1153 2008-02-20 Benjamin Otte <otte@gnome.org>
1155 * gfile.c: (g_file_mount_mountable):
1156 return from function in error path.
1158 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1161 Remove trailing coma in GMountMountFlags struct
1163 2008-02-18 Alexander Larsson <alexl@redhat.com>
1167 * glocalfileoutputstream.c:
1168 Use g_unlink/g_rename instead of unlink/rename;
1169 do not pass raw filenames to g_set_error. (#517239)
1170 Patch from Yevgen Muntyan.
1172 2008-02-18 Alexander Larsson <alexl@redhat.com>
1175 * glocalfileoutputstream.c:
1176 Open files with O_BINARY on windows. (#517140)
1178 2008-02-14 Alexander Larsson <alexl@redhat.com>
1180 * glocalfileoutputstream.c:
1181 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1183 2008-02-14 Alexander Larsson <alexl@redhat.com>
1186 Copy permissions with file on copy (#514084)
1187 This is what cp does and makes sure e.g. the
1188 exec permissions are kept.
1189 Its kinda weird in that it keeps the permission bits
1190 the same while the uid and gid are different. However
1191 the new uid is the user so its not a security issue,
1192 and I've heard no complaints about cp on this issue.
1194 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1196 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1198 2008-02-13 Alexander Larsson <alexl@redhat.com>
1200 * inotify/inotify-path.c:
1201 Define IN_ONLYDIR if not in header (#515346)
1203 2008-02-12 Alexander Larsson <alexl@redhat.com>
1205 * tests/live-g-file.c:
1208 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1210 * === Released 2.15.5 ===
1212 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1214 * gio.symbols: Add g_mount_mount_flags_get_type.
1216 2008-02-11 Alexander Larsson <alexl@redhat.com>
1219 (g_file_info_set_attribute_mask):
1220 (g_file_attribute_matcher_matches_id):
1221 Correctly handle NULL GAttributeMatcher meaning
1222 matches nothing. (Fixes #513492)
1224 2008-02-11 Alexander Larsson <alexl@redhat.com>
1229 Added GMountMountFlags enum and added a flags
1230 argument to all mount calls.
1232 This is an API/ABI change for future extensibility,
1233 as I think we will need at least an
1234 inhibit-autorun flag (the panel needs this).
1235 There are no flags defined yet though.
1237 2008-02-11 Alexander Larsson <alexl@redhat.com>
1240 Added new standard::description attribute.
1241 Requested by Vincent, and useful for both
1244 2008-02-11 Alexander Larsson <alexl@redhat.com>
1246 * gdesktopappinfo.c:
1249 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1251 * *.c: Documentation additions
1253 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1255 * gappinfo.h: Formatting cleanup
1256 * gappinfo.c: Fix up docs.
1258 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1260 * gunixmounts.c: Consistently use getmntent_r() and fall
1261 back to getmntent(). (#515492)
1263 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1265 * gbufferedinputstream.c:
1267 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1269 * tests/data-input-stream.c:
1270 * tests/data-output-stream.c: Portability fixes.
1272 2008-02-08 Alexander Larsson <alexl@redhat.com>
1277 Add g_volume_should_automount.
1280 2008-02-07 Tor Lillqvist <tml@novell.com>
1282 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1283 Win32, too Unix-specific.
1285 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1287 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1288 a local plt if the compiler doesn't support what we want. Bug #514702
1290 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1292 reviewed by: <delete if not using a buddy>
1295 * gunixinputstream.c:
1296 * gunixoutputstream.c:
1298 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1300 * tests/Makefile.am:
1301 * tests/live-g-file.c:
1302 * tests/live-g-file.txt:
1303 New GIO testing module working over real data
1305 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1307 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1308 Fallback to rename() if link() is not available
1309 (when no support on target filesystem)
1311 2008-02-06 Michael Natterer <mitch@imendio.com>
1313 * gfileinfo.c (g_file_info_get_icon): replace
1314 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1316 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1318 * gfile.c (g_file_create):
1319 Documentation update of error codes
1321 2008-02-06 Alexander Larsson <alexl@redhat.com>
1323 * gdesktopappinfo.c:
1324 Update to use both mimeapps.list and
1325 defaults.list as discussed on xdg list.
1327 2008-02-06 Benjamin Otte <otte@gnome.org>
1330 * gfilenamecompleter.c:
1331 Fix some typos in the documentation.
1333 2008-02-06 Alexander Larsson <alexl@redhat.com>
1335 * glocalfile.c (g_local_file_trash):
1336 Don't succeed with trash if newly created
1337 trash dir has the wrong owner. (#514696)
1339 2008-02-05 Alexander Larsson <alexl@redhat.com>
1341 * glocalfile.c (g_local_file_move):
1342 Don't spew warnings when destination is not
1345 2008-02-03 Hans Breuer <hans@breuer.org>
1347 * makefile.msc : update
1349 2008-02-01 Michael Natterer <mitch@imendio.com>
1351 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1352 return value of xdg_mime_list_mime_parents() to a variable of the
1355 2008-02-01 Alexander Larsson <alexl@redhat.com>
1357 * gappinfo.c (g_app_info_launch_uris):
1358 Actually call the launch_uris method, not
1361 2008-02-01 Alexander Larsson <alexl@redhat.com>
1363 * gdesktopappinfo.c (g_desktop_app_info_equal):
1364 Ensure appinfos with no id but same pointer value
1367 2008-02-01 Alexander Larsson <alexl@redhat.com>
1369 * gappinfo.c (g_app_info_launch_default_for_uri):
1372 2008-02-01 Alexander Larsson <alexl@redhat.com>
1376 Add g_app_info_launch_default_for_uri utility
1379 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1381 * gdesktopappinfo.c:
1382 Doc fix for g_app_info_get_default_for_uri_scheme ()
1385 2008-01-30 Alexander Larsson <alexl@redhat.com>
1388 Add doc comment about uris vs GFiles to
1391 * gdesktopappinfo.c:
1392 Ensure uris passed to g_app_info_launch_uris()
1393 are not roundtriped through GFile (as that
1394 may be slightly destructive for e.g. mailto: links)
1396 2008-01-30 Alexander Larsson <alexl@redhat.com>
1398 * tests/data-input-stream.c:
1399 * tests/data-output-stream.c:
1400 C89 fixes from Jens Granseuer (#512849)
1402 2008-01-30 Alexander Larsson <alexl@redhat.com>
1405 Fix gamin/fam difference build issue. (#509419)
1407 2008-01-29 Alexander Larsson <alexl@redhat.com>
1410 * gdesktopappinfo.c:
1411 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1413 2008-01-29 Alexander Larsson <alexl@redhat.com>
1415 * gdesktopappinfo.c:
1416 * gdesktopappinfo.h:
1417 giomodule-priv.h include moved to .c file.
1419 2008-01-29 Alexander Larsson <alexl@redhat.com>
1421 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1422 Remove unused prio/name fields.
1424 2008-01-29 Alexander Larsson <alexl@redhat.com>
1426 * gcontenttype.c (looks_like_text):
1427 Don't treat whitespace as control chars.
1429 2008-01-29 Alexander Larsson <alexl@redhat.com>
1431 * gdesktopappinfo.c:
1432 Lazily create the desktop files for appinfos created
1433 by g_app_info_create_from_commandline() when needed
1434 for mime associations. This allows run-time use
1435 of GAppInfo object without creating unnecessary
1438 2008-01-29 Alexander Larsson <alexl@redhat.com>
1441 Added new symbols to gio.symbols
1443 2008-01-29 Alexander Larsson <alexl@redhat.com>
1446 Add g_file_query_default_handler utility to easily look up
1447 the GAppInfo that handles a file.
1449 * gdesktopappinfo.[ch]:
1451 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1454 Remove unused function
1456 2008-01-29 Alexander Larsson <alexl@redhat.com>
1458 * gfileenumerator.c:
1459 Mention need to free returned value in
1460 g_file_enumerator_next_files_finish docs.
1461 Fix leak if g_file_enumerator_next_files_finish()
1464 2008-01-29 Alexander Larsson <alexl@redhat.com>
1467 (_g_unix_content_type_get_parents):
1468 Use list_parents, not get_parents from xdgmime, because
1469 the later doesn't use the cache.
1471 * xdgmime/xdgmimecache.c:
1472 (_xdg_mime_cache_list_mime_parents):
1473 Don't list the same type as parent multiple times.
1475 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1477 * === Released 2.15.4 ===
1479 2008-01-28 Alexander Larsson <alexl@redhat.com>
1482 Register local vfs with prio 0.
1485 Remove old name and prio class members
1487 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1489 * tests/g-file.c: Disable some tests that are failing in
1490 the absence of a http backend.
1492 2008-01-28 Alexander Larsson <alexl@redhat.com>
1496 Add registration hooks for extension points.
1497 Register the gio extension points.
1499 * fam/gfamdirectorymonitor.c:
1500 * fam/gfamfilemonitor.c:
1501 * glocaldirectorymonitor.[ch]:
1502 * glocalfilemonitor.[ch]:
1503 * gnativevolumemonitor.h:
1504 * gunionvolumemonitor.c:
1505 * gunixvolumemonitor.c:
1508 * inotify/ginotifydirectorymonitor.c:
1509 * inotify/ginotifyfilemonitor.c:
1510 Use the extension points registration instead
1511 of g_type_children().
1513 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1516 * gvolume.[hc]: Document new API.
1518 * gfile.c (g_file_copy_async): Fix docs
1520 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1522 * gbufferedinputstream.c:
1524 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1527 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1529 * glocalfile.c: Avoid trivial differences in translatable strings.
1531 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1533 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1534 build with gcc 3.4 (#509419)
1536 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1538 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1539 (#509994, Murray Cumming)
1541 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1543 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1544 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1545 this allows big jobs to be executed in chunks, instead of blocking
1546 the main loop for a long time.
1548 * gsimpleasyncresult.c:
1549 * giofile.c: Adapt callers.
1551 2008-01-25 Alexander Larsson <alexl@redhat.com>
1553 * gdesktopappinfo.c:
1554 Implement changes discussed on xdg list.
1555 Now we can add supported mimetypes by just using defaults.list
1556 We can also remove associations in defaults.list.
1558 2008-01-25 Alexander Larsson <alexl@redhat.com>
1560 * gdesktopappinfo.c:
1561 Don't make local copy of desktop file
1562 for mimetype changes if the file already
1563 supports the new mimetype.
1565 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1569 * gbufferedinputstream.c:
1570 * glocalfile.c: String improvements. (#511966,
1571 Theppitak Karoonboonyanan)
1573 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1575 * gioscheduler.h: Expand docs a bit.
1577 2008-01-24 Alexander Larsson <alexl@redhat.com>
1580 Add g_drive_get_identifier and
1581 g_drive_enumerate_identifiers
1584 Add g_volume_get_identifier and
1585 g_volume_enumerate_identifiers
1591 Implement identifiers for unix backend
1593 2008-01-24 Alexander Larsson <alexl@redhat.com>
1598 Add g_file_copy_async() (#511580)
1599 Based on patch from Carlos Garcia Campos
1601 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1603 * gioscheduler.c: Some documentation additions.
1605 2008-01-22 Alexander Larsson <alexl@redhat.com>
1607 * gdesktopappinfo.c:
1608 (g_desktop_app_info_new):
1609 Don't leak basename.
1611 2008-01-22 Alexander Larsson <alexl@redhat.com>
1613 * gdesktopappinfo.c:
1614 (g_desktop_app_info_new_from_filename):
1617 2008-01-22 Alexander Larsson <alexl@redhat.com>
1619 * glocalfileinfo.c (get_thumbnail_attributes):
1622 2008-01-22 Alexander Larsson <alexl@redhat.com>
1625 (canonicalize_filename):
1626 Canonicalize paths that start with more than
1630 (compare_two_files):
1631 (test_g_file_new_for_path):
1634 2008-01-22 Alexander Larsson <alexl@redhat.com>
1637 Allow UTF-8 in file:// parse names.
1639 * tests/Makefile.am:
1640 * tests/data-input-stream.c:
1641 * tests/data-output-stream.c:
1642 * tests/g-file-info.c:
1644 Added a bunch of tests from Tomas Bzatek
1646 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1648 * === Released 2.15.3 ===
1650 2008-01-21 Alexander Larsson <alexl@redhat.com>
1652 * gfileinputstream.[ch]:
1653 * gfileoutputstream.[ch]:
1655 Remove duplicated GSeekable functions. (#509990)
1656 Just use the g_seekable_xxx() calls instead.
1658 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1661 * gvolumemanager.c: Whitespace cleanups.
1663 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1664 Use the right mode when creating the file.
1666 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1668 * gfileenumerator.c:
1669 * gfileinputstream.c:
1671 * goutputstream.c: Documentation: Fixed minor typos
1672 and added more mentions of specific _finish() functions.
1674 2008-01-21 Alexander Larsson <alexl@redhat.com>
1676 * inotify/Makefile.am:
1677 * inotify/inotify-helper.c:
1678 * inotify/inotify-kernel.c:
1679 * inotify/inotify-path.c:
1680 * inotify/local_inotify.h: Removed.
1681 * inotify/local_inotify_syscalls.h: Removed.
1682 Removed the included copies of the inotify
1683 headers. We now only use the <sys/inotify.h>
1684 header which exists on modern systems.
1685 This fixes problems on ARM and SH5 (#510448)
1686 but is also generally much cleaner and future
1687 safe. For instance, if other OSes add support
1688 for inotify it should "just work".
1690 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1692 * inotify/*.c: Coding style fixes.
1693 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1694 for the 1/4 Hz timer.
1696 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1699 * gfilemonitor.[hc]:
1700 * gmemoryinputstream.c:
1701 * gmemoryoutputstream.c:
1702 * gmountoperation.c:
1703 * gthemedicon.c: Documentation updates
1705 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1707 * gfile.c: documentation: Fixed more minor
1710 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1712 * gmount.c: (g_mount_remount): documentation:
1713 Mention g_mount_remount_finish() instead of
1714 g_mount_unmount_finish().
1716 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1720 * gfile.c: Fixed some minor typos in the
1723 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1725 * gio/gvolumemonitor.c:
1726 (g_volume_monitor_get_connected_drives):
1727 (g_volume_monitor_get_volumes):
1728 (g_volume_monitor_get_mounts): Documentation:
1729 Clarify the ownership of the regurn GLists.
1731 2008-01-17 Alexander Larsson <alexl@redhat.com>
1734 Add the async find_enclosing_mount version
1735 to the header file too.
1737 2008-01-17 Alexander Larsson <alexl@redhat.com>
1740 Add async version of find_enclosing_mount
1741 with default implementation.
1743 2008-01-17 Alexander Larsson <alexl@redhat.com>
1748 Allow calls to implementation of copy and write
1749 even if the type of the file implementations is
1750 different. This can be used to implement native
1751 upload and download calls in a vfs.
1754 (g_local_file_move):
1755 Protect against the case where move is called
1756 with one file not being local.
1758 Make sure we call the progress callback once
1759 in the native move operation so that the caller
1760 knows how many bytes were copied.
1762 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1765 * gdatainputstream.c:
1767 * gfileoutputstream.c:
1772 * gunixmounts.c: Corrected some typos in the documentation:
1773 occured -> occurred.
1774 its -> it's (where appropriate).
1776 2008-01-16 Alexander Larsson <alexl@redhat.com>
1780 Add g_file_query_exists (#508771)
1782 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1787 * gvolume.c: For async functions that have no non-async
1788 version, document that the GAsyncReadyCallback may be NULL.
1791 2008-01-15 Alexander Larsson <alexl@redhat.com>
1793 * gmemoryinputstream.c:
1794 * gmemoryoutputstream.c:
1795 Don't do pointer arithmetic on void * (#508602)
1796 Patch from Kazuki IWAMOTO
1798 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1800 * === Released 2.15.2 ===
1802 2008-01-14 Alexander Larsson <alexl@redhat.com>
1804 * gfile.c (g_file_monitor_file):
1805 Don't set error here, since we fallback to polling monitor.
1807 2008-01-14 Alexander Larsson <alexl@redhat.com>
1810 (g_file_monitor_directory):
1811 (g_file_monitor_file):
1812 Add GError to file monitor calls
1814 * glocaldirectorymonitor.c:
1815 * glocaldirectorymonitor.h:
1817 * glocalfilemonitor.c:
1818 * glocalfilemonitor.h:
1820 Update for above change
1822 2008-01-14 Alexander Larsson <alexl@redhat.com>
1826 Handle root correctly in g_file_get_relative_path (#508719)
1828 2008-01-14 Alexander Larsson <alexl@redhat.com>
1831 Clean up docs and example for GAsyncResult (#508074)
1833 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1835 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1836 and correct some spelling mistakes. Bug #508108.
1838 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1840 * glocalfileinfo.c: Add a comment.
1842 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1844 * gfileinfo.c: GFileInfo description: Mention
1845 how to actually set attributes in a GFile and how to discover
1846 which attributes are settable. Bug #508378.
1848 2008-01-10 A. Walton <awalton@svn.gnome.org>
1850 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1851 (g_app_info_get_default_for_type):
1852 Check for NULL content types.
1854 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1856 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1858 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1860 * gfile.c: *_async() functions: Several small corrections
1861 to the documentation, mostly correcting copy/paste errors
1862 and improving some sentences.
1864 2008-01-09 Dan Winship <danw@gnome.org>
1866 * glocalfile.c (get_unique_filename): x86_64 fix
1868 2008-01-09 Alexander Larsson <alexl@redhat.com>
1873 Add g_unix_mount_guess_should_display and use
1874 for unix volume monitor backend.
1875 This means we more or less show what the
1876 gnome-vfs backend did.
1877 Based on patch from Padraig O'Briain
1879 2008-01-09 Alexander Larsson <alexl@redhat.com>
1883 Add g_themed_icon_new_with_default_fallbacks
1886 Use default fallbacks for icons
1888 2008-01-09 Alexander Larsson <alexl@redhat.com>
1891 * gmountoperation.[ch]:
1892 Change the API a bit so that unhandled methods
1893 get reported via the reply, rather than by
1894 the signal emission return value. This is because
1895 some handlers can't know this immediately without
1896 doing I/O, and this is an async operation that
1899 2008-01-09 Alexander Larsson <alexl@redhat.com>
1902 * fam/gfamdirectorymonitor.c:
1903 * fam/gfamfilemonitor.c:
1904 Fix double free crash (#508224)
1905 Patch from Joe Marcus Clarke
1907 008-01-07 Matthias Clasen <mclasen@redhat.com>
1909 * === Released 2.15.1 ===
1911 2008-01-07 Alexander Larsson <alexl@redhat.com>
1913 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1914 Fix warning (#507835)
1916 2008-01-07 Alexander Larsson <alexl@redhat.com>
1919 Pass --internal to glib-genmarshal
1922 * gmountoperation.c:
1924 Use better types for signal arguments (#507822)
1926 2008-01-07 Alexander Larsson <alexl@redhat.com>
1929 Build test subdir after .
1930 Remove gdirectorymonitor.[ch]
1932 * gdirectorymonitor.[ch]:
1936 Remove GDirectoryMonitor and make
1937 GFileMonitor the baseclass for both file and
1938 directory monitors. Lift the more generic
1939 rate limiting code from GDirectoryMonitor
1943 * fam/gfamdirectorymonitor.[ch]:
1944 * inotify/ginotifydirectorymonitor.[ch]:
1945 * inotify/inotify-helper.c:
1946 * glocaldirectorymonitor.[ch]:
1949 Update for the removed GDirectoryMonitor.
1951 * gmemoryoutputstream.c:
1952 Remove ununsed variable
1954 2008-01-07 Alexander Larsson <alexl@redhat.com>
1956 * gmemoryinputstream.c:
1957 Translate error strings
1960 * gmemoryoutputstream.[ch]:
1961 New implementation that avoids using GByteArray
1962 in implementation and API. (#506377)
1964 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1966 * tests/*: Add a test for memory input streams.
1968 * Makefile.am: Add tests to SUBDIRS.
1970 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1972 * glocalfilemonitor.c:
1973 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1976 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1978 * gdesktopappinfo.c: Fix a docs typo.
1980 * gfileattribute.c: Add information about extended attributes
1981 to the documentation. (#505058)
1983 2008-01-04 Alexander Larsson <alexl@redhat.com>
1986 * gmountoperation.c:
1987 Use the right type (uint) for the ask_password signal.
1989 2008-01-04 Alexander Larsson <alexl@redhat.com>
1994 Add g_app_info_supports_files()
1995 Remove desktop arg from g_app_info_should_show().
1997 * gdesktopappinfo.[ch]:
1998 Implement g_app_info_supports_files() and new should_show()
1999 Add g_desktop_app_info_set_desktop_env() to set the desktop
2000 for should_show(). (This will be set by gtk+ later)
2002 2008-01-04 Alexander Larsson <alexl@redhat.com>
2005 * gmemoryinputstream.[ch]:
2006 Improve API so that you can use multiple chunks
2007 of memory and custom destroy functions. (#506374)
2009 2008-01-03 Alexander Larsson <alexl@redhat.com>
2012 Handle NULL attribute matchers safely, as we return this
2013 for empty attribute matcher strings.
2015 2008-01-03 Alexander Larsson <alexl@redhat.com>
2017 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2018 Add /usr/local to list of internal mountpoints
2020 2008-01-03 Alexander Larsson <alexl@redhat.com>
2023 Check for HAVE_LCHOWN (#505887)
2025 2008-01-03 Alexander Larsson <alexl@redhat.com>
2029 Add define for selinux context attribute.
2030 Fix missing : -> :: namespace separator change
2031 Fix missing _ -> - name change for xattr-sys.
2034 2008-01-03 Alexander Larsson <alexl@redhat.com>
2037 Link to libglib and libgobject directly (#504879)
2038 Patch from Sebastien Bacher
2040 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2042 * gfile.c: Expanded the g_file_new_for_commandline_arg
2043 description a bit, based on the code and the docs of the
2044 other g_file_new_for_* functions.
2046 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2048 * gfilemonitor.h: Fixed typo in docs.
2050 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2052 Updates to GIO documentation. (#506395, Mikael Hermansson)
2054 * gcontenttype.c: Describe memory management for return value of
2055 g_content_types_get_registered(). Missing piece from #505815.
2056 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2057 GVolume, GDrive, GMounts, which hopefully gives the user less
2058 confusions when using this API. Following explainations from
2059 Alexander Larsson on gtk-devel-list.
2061 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2063 * gfileinfo.c: Expand the long description.
2065 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2068 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2069 fix builds with --disable-visibility. (#500273, Christian Persch)
2071 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2073 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2074 in the list of returned app infos.
2076 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2078 * gappinfo.c: Fix a cross-reference
2080 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2082 * gfileinputstream.c:
2083 * gfileoutputstream.c:
2087 * gdesktopappinfo.c:
2089 * gfileinfo.c: Documentation updates.
2091 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2093 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2096 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2098 * gcontenttype.c (g_content_types_get_registered): Don't return
2099 freed memory (#505815, Mikael Hermansson)
2101 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2103 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2104 used to detect statbuf->st_blocks. (#505042)
2106 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2108 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2109 environment handling. (#504829, Cosimo Cecchi)
2111 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2113 * gappinfo.c: Doc improvements
2115 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2118 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2120 * === Released 2.15.0 ===
2122 2007-12-20 Hans Breuer <hans@breuer.org>
2124 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2125 with symbols gwin32appinfo.obj, added gmount.obj
2126 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2128 2007-12-20 Alexander Larsson <alexl@redhat.com>
2134 * gfilenamecompleter.c:
2137 * gpollfilemonitor.c:
2138 File attribute renames:
2140 fs:: -> filesystem::
2141 id::fs -> id::filesystem
2143 2007-12-20 Alexander Larsson <alexl@redhat.com>
2152 Add GMountUnmountFlags to all unmount and
2154 Add g_mount_remount() call.
2156 2007-12-20 Alexander Larsson <alexl@redhat.com>
2158 * gvfs.c (get_default_vfs):
2159 Fix unused variable warning
2161 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2163 * pltcheck.sh: Update
2165 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2167 * gunionvolumemonitor.c:
2168 * gunixmount.c: Remove C99 comments
2170 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2172 * gio.symbols: Add some missing symbols
2174 2007-12-19 Alexander Larsson <alexl@redhat.com>
2177 Make g_io_modules_load_all_in_directory not unuse
2178 loaded modules so that users of it can do stuff
2180 Init internal "module" types.
2181 Initialize static prio and name for types so that
2182 we don't have to load modules to get it.
2184 * gnativevolumemonitor.h:
2186 Move is_supported to parent class so that
2187 non-native monitors can avoid being initialized
2188 too. (For instance GDaemonVolumeMonitor if we're
2189 not using GDaemonVfs.)
2191 * glocaldirectorymonitor.[ch]:
2192 * glocalfilemonitor.[ch]:
2193 * gunionvolumemonitor.c:
2194 * gunixvolumemonitor.c:
2196 Find plugins using the static prio+name to
2197 avoid unnecessarily loading the modules.
2199 2007-12-19 Alexander Larsson <alexl@redhat.com>
2204 2007-12-19 Alexander Larsson <alexl@redhat.com>
2206 * gunionvolumemonitor.c:
2207 Store the native type as GType, not class so that
2208 we can unload it. But still avoid unnecessarily
2211 2007-12-19 David Zeuthen <davidz@redhat.com>
2213 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2214 add signals 'disconnected' and 'eject-button' on GDrive. Add
2215 signal 'removed' on GVolume and 'unmounted' on GMount.
2217 * gdrive.c: (g_drive_base_init):
2219 * gfile.c: (g_file_mount_mountable),
2220 (g_file_mount_enclosing_volume):
2223 * gmount.c: (g_mount_base_init):
2225 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2226 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2227 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2231 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2233 * *.c: Fix up includes in the section docs.
2235 2007-12-17 Alexander Larsson <alexl@redhat.com>
2237 * gnativevolumemonitor.h:
2238 * gunionvolumemonitor.c:
2239 * gunixvolumemonitor.c:
2240 Add is_supported() to GNativeVolumeMonitorClass so
2241 that we can avoid having to create an object to see
2242 if the backend is supported at runtime.
2243 Also add name member and an env var to pick a specific
2244 volume monitor backend.
2248 Add cancellable to _g_mount_get_for_mount_path()
2250 * glocaldirectorymonitor.c:
2251 * glocalfilemonitor.c:
2252 Avoid loading and unloading modules while sorting.
2254 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2257 * gunixmounts.[hc]: Namespace waste reduction, move some
2258 g_get_unix_mount functions to the g_unix_mount namespace.
2261 * gunixvolumemonitor.c:
2263 * glocaldirectorymonitor.c: Update all callers.
2265 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2267 2007-12-17 Alexander Larsson <alexl@redhat.com>
2270 Add doc comments about what GFile operations are
2271 guaranteed to not block.
2273 2007-12-17 Alexander Larsson <alexl@redhat.com>
2276 Add missing #ifdef fixing OSX build.
2277 (#503334, patch from Richard Hult)
2279 2007-12-14 David Zeuthen <davidz@redhat.com>
2283 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2284 (g_mount_eject), (g_mount_eject_finish):
2286 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2287 (get_volume_for_uuid), (get_mount_for_uuid),
2288 (g_union_volume_monitor_class_init),
2289 (get_default_native_type_with_exclude), (get_default_native_type),
2290 (get_native_type), (update_native_type),
2291 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2292 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2293 (g_unix_mount_can_eject), (eject_unmount_cb),
2294 (eject_unmount_read_error), (eject_unmount_do),
2295 (g_unix_mount_unmount), (g_unix_mount_eject),
2296 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2297 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2298 (g_unix_mount_point_guess_can_eject):
2300 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2301 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2302 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2303 (g_unix_volume_mount), (g_unix_volume_eject),
2304 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2305 * gunixvolumemonitor.c: (get_volume_for_uuid),
2306 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2308 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2309 (g_volume_eject), (g_volume_eject_finish):
2311 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2312 (g_volume_monitor_get_mount_for_uuid):
2315 Provide eject() on both GMount and GVolume and utility functions
2316 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2317 ejected. Introduce the concept of UUID's and wire it into GVolume
2318 and GMount and provide API on GVolumeMonitor to find such
2319 instances. Also handle the case where an external
2320 GNativeVolumeMonitor fails to initialize. Lock around the
2321 _g_get_mount_for_mount_path() function such that volume monitor
2322 implementations won't have to do locking themselves.
2324 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2326 * gdesktopappinfo.c:
2332 * gvolume.h: Documentation updates
2334 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2337 * gfile.h: Doc updates
2339 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2342 * gdesktopappinfo.c: Use hash table iterators.
2344 2007-12-14 Alexander Larsson <alexl@redhat.com>
2347 * gfileattribute.[ch]:
2348 * gfileattribute-priv.h:
2349 Move GFileAttributeValue to a private header, as
2353 Make set_attribute take a type + a pointer instead
2354 of a GFileAttributeValue.
2357 Fix up for above changes.
2358 Add g_file_info_get_attribute_data to get
2359 all info in one call, g_file_info_get_attribute_status
2360 to get the status and g_file_info_get_attribute_as_string.
2364 * glocalfileinfo.[ch]:
2368 Make _guess_type static.
2370 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2373 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2374 made mkenums and friends use temporary files to avoid leaving
2375 empty generated files on failure (#503470).
2377 2007-12-14 Alexander Larsson <alexl@redhat.com>
2379 * gmountoperation.h:
2382 2007-12-14 Alexander Larsson <alexl@redhat.com>
2386 * gfileattribute.[ch]:
2389 * glocalfileoutputstream.c:
2390 * gmountoperation.[ch]:
2391 * goutputstream.[ch]:
2392 Clean up all flags enums to not have _FLAGS in them
2393 Make the names of some of the enums better.
2398 2007-12-14 Michael Natterer <mitch@imendio.com>
2400 * gio.symbols: fix g_io_scheduler symbol names.
2402 2007-12-14 Alexander Larsson <alexl@redhat.com>
2408 * gbufferedinputstream.h:
2409 * gbufferedoutputstream.h:
2412 * gdatainputstream.h:
2413 * gdataoutputstream.h:
2414 * gdesktopappinfo.h:
2415 * gdirectorymonitor.h:
2419 * gfileenumerator.h:
2422 * gfileinputstream.h:
2424 * gfilenamecompleter.h:
2425 * gfileoutputstream.h:
2426 * gfilterinputstream.h:
2427 * gfilteroutputstream.h:
2435 * gmemoryinputstream.h:
2436 * gmemoryoutputstream.h:
2438 * gmountoperation.h:
2441 * gsimpleasyncresult.h:
2443 * gunixinputstream.h:
2445 * gunixoutputstream.h:
2449 * inotify/Makefile.am:
2450 Only allow including <gio/gio.h> from apps
2452 2007-12-14 Alexander Larsson <alexl@redhat.com>
2454 * gioscheduler.[ch]:
2455 * gsimpleasyncresult.c:
2456 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2457 Split out the send_to_mainloop call into two versions instead
2458 of having the block argument.
2460 2007-12-13 Alexander Larsson <alexl@redhat.com>
2462 * gcancellable.[ch]:
2464 * gbufferedinputstream.c:
2465 * gfileenumerator.c:
2466 * gfileinputstream.c:
2467 * gfileoutputstream.c:
2471 g_push/pop_current_cancellable ->
2472 g_cancellable_push/pop_current
2474 2007-12-13 Alexander Larsson <alexl@redhat.com>
2478 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2480 2007-12-13 Alexander Larsson <alexl@redhat.com>
2482 * gmountoperation.h:
2483 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2485 2007-12-12 Alexander Larsson <alexl@redhat.com>
2488 Fix race condition when freeing proxy in
2489 g_io_job_send_to_mainloop().
2491 2007-12-12 Alexander Larsson <alexl@redhat.com>
2497 Make attribute namespace separator "::" instead of ":".
2498 Use - instead of _ as separator in attribute names.
2500 2007-12-12 Alexander Larsson <alexl@redhat.com>
2502 * gbufferedinputstream.h:
2503 * gbufferedoutputstream.h:
2504 * gdatainputstream.h:
2505 * gdataoutputstream.h:
2506 * gdirectorymonitor.h:
2507 * gfileenumerator.h:
2508 * gfileinputstream.h:
2510 * gfileoutputstream.h:
2511 * gfilterinputstream.h:
2512 * gfilteroutputstream.h:
2514 * glocalfileinputstream.h:
2515 * glocalfileoutputstream.h:
2516 * gmemoryinputstream.h:
2517 * gmemoryoutputstream.h:
2518 * gnativevolumemonitor.h:
2520 * gunixinputstream.h:
2521 * gunixoutputstream.h:
2524 s/parent/parent_instance/ in GObjects
2526 2007-12-12 Alexander Larsson <alexl@redhat.com>
2531 No need for padding for interfaces
2533 2007-12-12 Alexander Larsson <alexl@redhat.com>
2537 * gbufferedinputstream.c:
2538 * gbufferedoutputstream.c:
2541 * gdatainputstream.[ch]:
2542 * gdesktopappinfo.c:
2543 * gdirectorymonitor.c:
2545 * gfileattribute.[ch]:
2548 * gfileinputstream.h:
2549 * gfilemonitor.[ch]:
2550 * gfileoutputstream.[ch]:
2551 * gfilterinputstream.h:
2552 * gfilteroutputstream.h:
2555 * gloadableicon.[ch]:
2556 * gmemoryinputstream.c:
2557 * gmountoperation.c:
2559 Fix up a bunch of details in the docs.
2564 2007-12-11 David Zeuthen <davidz@redhat.com>
2566 Rework how volumes, drives and volume monitoring is
2567 done. Previosly the model was
2569 GDrive <1-1> GVolume
2571 where a GDrive instance represented a mount point and a GVolume
2572 instance represented a mounted file system. This patch changes it
2575 GDrive <1-N> GVolume <1-1> GMount
2577 where GMount now serves the purpose of the old GVolume and the new
2578 GVolume serves the purpose of the old GDrive. In addition the new
2579 GDrive interface is used to represent a collection of GVolume
2580 instances (typically partitions) and also contains utility to query
2581 the state of the physical drive the GDrive object represents (such
2582 as checking for media, polling the drive, ejecting the media etc.).
2584 Also implement mounting and unmounting in the Unix volume monitor
2585 backend. A subquent patch will introduce GDrive support for ejection
2589 * gdrive.c: (g_drive_is_media_check_automatic),
2590 (g_drive_is_media_removable), (g_drive_has_media),
2591 (g_drive_can_poll_for_media), (g_drive_eject),
2592 (g_drive_eject_finish), (g_drive_poll_for_media),
2593 (g_drive_poll_for_media_finish):
2595 * gfile.c: (g_file_find_enclosing_mount):
2598 * glocaldirectorymonitor.c:
2599 (g_local_directory_monitor_constructor), (mounts_changed):
2600 * glocalfile.c: (get_mount_info),
2601 (g_local_file_find_enclosing_mount),
2602 (g_local_file_file_iface_init):
2603 * gnativevolumemonitor.h:
2604 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2605 (get_connected_drives), (g_union_volume_monitor_class_init),
2606 (child_volume_added), (child_volume_removed),
2607 (child_volume_changed), (child_mount_added), (child_mount_removed),
2608 (child_mount_pre_unmount), (child_mount_changed),
2609 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2610 (g_union_volume_monitor_remove_monitor),
2611 (_g_mount_get_for_mount_path):
2612 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2613 (guess_system_internal), (_g_get_unix_mounts),
2614 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2615 (g_unix_mount_free), (g_unix_mount_compare),
2616 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2617 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2618 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2619 (type_to_icon), (g_unix_mount_guess_name),
2620 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2621 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2622 (_resolve_symlink), (_resolve_dev_root):
2624 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2625 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2626 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2627 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2628 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2629 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2630 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2631 (g_unix_volume_volume_iface_init):
2633 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2634 (get_mounts), (get_volumes), (get_connected_drives),
2635 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2636 (mountpoints_changed), (mounts_changed),
2637 (g_unix_volume_monitor_init),
2638 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2639 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2640 * gunixvolumemonitor.h:
2641 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2642 (g_volume_mount), (g_volume_mount_finish):
2644 * gvolumemonitor.c: (g_volume_monitor_class_init),
2645 (g_volume_monitor_get_connected_drives),
2646 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2649 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2651 * gmountoperation.h (GPasswordFlags): Close the gap
2653 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2655 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2657 * gdesktopappinfo.[hc]: Remove _-prefixes
2659 2007-12-10 Tor Lillqvist <tml@novell.com>
2661 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2664 2007-12-10 Alexander Larsson <alexl@redhat.com>
2666 * gfile.c (g_file_set_display_name):
2667 Don't hardcode '/' (#502727)
2669 2007-12-09 Hans Breuer <hans@breuer.org>
2671 * makefile.msc : follow lib naming convention
2672 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2673 for user and group name, tested with ../tests/gio-ls
2675 2007-12-09 A. Walton <awalton@svn.gnome.org>
2677 * gdesktopappinfo.c:
2683 * gfileenumerator.c:
2688 * gmemoryinputstream.c:
2689 * gmemoryoutputstream.c:
2691 * gsimpleasyncresult.c:
2692 More documentation cleanup and filling in missing information, bringing
2693 GIO to 99% symbol coverage.
2695 2007-12-08 Hans Breuer <hans@breuer.org>
2697 [gio compiles and links on win32, not sure how much already works]
2698 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2699 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2700 base on win32 API; prefer g_lstat() over lstat(); instead of
2701 localtime_r() use an all GLib implementation on win32;
2702 get_mount_info() still needs a win32 specifc implementation
2703 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2704 win32_get_file_user_info to get owner/group info without uid/gid
2705 * glocalfileinputstream.c : include <io.h> on win32
2706 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2707 definition, use g_win32_ftruncate() for G_OS_WIN32
2708 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2709 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2710 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2711 * makefile.msc : updated
2713 2007-12-07 Alexander Larsson <alexl@redhat.com>
2715 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2716 Avoid warning spew if error == NULL
2718 2007-12-07 Alexander Larsson <alexl@redhat.com>
2721 Update docs wrt etags
2723 2007-12-06 Alexander Larsson <alexl@redhat.com>
2726 Include sys/types.h for dev_t (#501919)
2728 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2732 Make abicheck and pltcheck pass.
2734 2007-12-05 Alexander Larsson <alexl@redhat.com>
2737 * giomodule-priv.h: Added.
2738 * glocaldirectorymonitor.c:
2739 * glocalfilemonitor.c:
2740 * gunionvolumemonitor.c:
2742 Actually add the declaration of _g_io_modules_ensure_loaded
2744 2007-12-05 Alexander Larsson <alexl@redhat.com>
2746 * gdatainputstream.c:
2751 * glocaldirectorymonitor.c:
2752 * glocalfilemonitor.c:
2753 * gunionvolumemonitor.c:
2755 Make g_io_modules_ensure_loaded a private function and
2756 don't pass in the dirname. This means we can do magic
2757 directory finding in the win32 version.
2758 Export the actual load-modules-in-directory code so that
2759 gvfs can reuse that.
2761 2007-12-05 Alexander Larsson <alexl@redhat.com>
2763 * gbufferedinputstream.c:
2764 * gbufferedoutputstream.c:
2767 * gfileenumerator.[ch]:
2768 * gfileinputstream.c:
2769 * gfileoutputstream.[ch]:
2770 * gfilterinputstream.c:
2771 * gfilteroutputstream.c:
2772 * ginputstream.[ch]:
2774 * glocalfileenumerator.c:
2775 * glocalfileinputstream.c:
2776 * glocalfileoutputstream.c:
2777 * gmemoryinputstream.c:
2778 * gmemoryoutputstream.c:
2779 * goutputstream.[ch]:
2782 * gunixinputstream.c:
2783 * gunixoutputstream.c:
2784 Rename all struct members named:
2785 read, write, close, truncate, or mount
2786 to foo_fn, as these are reserved names
2787 and could be defined as macros in libc.
2790 2007-12-04 Alexander Larsson <alexl@redhat.com>
2793 (g_output_stream_close):
2794 Only call flush if non-null.
2796 2007-11-30 Dan Winship <danw@gnome.org>
2798 * ginputstream.c (g_input_stream_set_pending): Make this take a
2799 GError and return a gboolean, and do the "outstanding operation"
2800 check (and the "stream is already closed" check) itself.
2801 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2803 * goutputstream.c (g_output_stream_set_pending)
2804 (g_output_stream_clear_pending): Likewise
2806 * gbufferedinputstream.c:
2807 * gfileinputstream.c:
2808 * gfileoutputstream.c: Update for that
2810 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2811 Like g_simple_async_report_error_in_idle, but takes a GError
2812 rather than building one.
2814 2007-11-30 Dan Winship <danw@gnome.org>
2816 * goutputstream.c: Don't cheat and unset the "pending" flag around
2817 inner calls. Instead, call the class method directly rather than
2818 the wrapper function that checks "pending"
2820 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2822 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2824 2007-12-03 Hans Breuer <hans@breuer.org>
2826 [start of port to win32/msvc]
2827 * gcancellable.c : HAVE_UNIST_H and _pipe()
2828 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2829 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2830 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2832 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2833 * glocalvfs.c : use HAVE_PWD_H
2834 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2835 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2836 * Makefile.am : added to EXTRA_DIST
2838 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2840 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2843 2007-12-03 Alexander Larsson <alexl@redhat.com>
2846 Handle OSX style xattrs API (#500506)
2848 2007-12-03 Alexander Larsson <alexl@redhat.com>
2852 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2854 2007-12-02 A. Walton <awalton@svn.gnome.org>
2858 Documentation accuracy fixes.
2860 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2862 * gioenumtypes.c.template: Fix typo.
2864 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2866 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2868 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2870 * gdirectorymonitor.c:
2871 * gfilemonitor.c: Add properties
2873 * gbufferedoutputstream.c: Don't mark buffer-size property
2876 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2878 * gbufferedoutputstream.c: Add auto-grow property.
2880 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2882 * *.c: Unify the capitalization of section headings.
2884 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2886 * gmountoperation.c: Add properties
2888 * gdatainputstream.c: Turn byte-order and newline-type into
2891 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2893 * gioenumtypes.[hc].template: Templates for enum registration
2895 * Makefile.am: Generate gioenumtypes.[hc]
2897 * gio.h: Include gioenumtypes.h
2899 * gfile.h: Add some explicit nicks.
2901 * gio.symbols: Add new symbols
2903 * pltcheck.sh: Adjust
2905 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2907 * *.c: Explain etags and link to the explanation
2909 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2911 * *.c: Explain I/O priority.
2913 * *.c: More coding style fixes.
2915 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2917 * gasyncresult.c: Add another paragraph to the intro,
2918 adjust coding style of example.
2920 2007-11-29 A. Walton <awalton@svn.gnome.org>
2923 Fixes unknown meaning in GAppLaunchContext docs.
2925 Clarify asynchronous ops.
2927 Fix entity tag docs.
2930 Provides missing gtk-doc section, fixes API docs slighly.
2931 * gsimpleasyncresult.c:
2932 Fill in missing info in docs.
2933 * gunixinputstream.c:
2934 * gunixoutputstream.c:
2935 Be more expressive in short description.
2937 Remove gtk-doc stubs for non-public API.
2939 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2941 * *.c: Coding style fixups
2943 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2945 * inotify/inotify-helper.c: Don't export the lock from libgio.
2947 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2950 * abicheck.sh: Fix copy-and-paste leftovers
2952 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2954 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2956 2007-11-28 Alexander Larsson <alexl@redhat.com>
2960 Removed unnecessary file
2962 * gdesktopappinfo.[ch]:
2965 * glocaldirectorymonitor.[ch]:
2967 * glocalfileenumerator.[ch]:
2968 * glocalfileinputstream.[ch]:
2969 * glocalfilemonitor.[ch]:
2970 * glocalfileoutputstream.[ch]:
2972 * gnativevolumemonitor.c:
2973 * gpollfilemonitor.[ch]:
2974 * gunionvolumemonitor.[ch]:
2977 * gunixvolumemonitor.[ch]:
2980 * inotify/ginotifydirectorymonitor.[ch]:
2981 * inotify/ginotifyfilemonitor.[ch]:
2982 * inotify/inotify-helper.c:
2983 Append _ to all internal functions
2987 Export symbols needed for modules
2989 2007-11-28 Alexander Larsson <alexl@redhat.com>
2992 * abicheck.sh: Added.
2993 * makegioalias.pl: Added.
2994 * pltcheck.sh: Added.
2995 * gio.symbols: Added.
2998 Initial work on adding symbol handling.
3001 Correct ifdef guard name
3004 * inotify/Makefile.am:
3005 * xdgmime/Makefile.am:
3006 Include toplevel Makefile.decl
3008 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3010 * gcontenttype.c: Move doc comments to the unix section.
3012 * *.[hc]: More trivial doc corrections.
3014 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3016 * gpollfilemonitor.c:
3020 * gdesktopappinfo.c:
3025 * gdatainputstream.c:
3026 * gdatainputstream.h:
3027 * gdataoutputstream.c:
3028 * gdataoutputstream.h:
3029 * gfileinfo.h: Doc cleanups
3031 2007-11-28 Andre Klapper <a9016009@gmx.de>
3033 * gdesktopappinfo.c: Fix a typo.
3035 2007-11-27 Andre Klapper <a9016009@gmx.de>
3037 * glocalfileoutputstream.c: Fix a typo.
3039 2007-11-27 Alexander Larsson <alexl@redhat.com>
3042 Don't include removed headers
3044 2007-11-27 Alexander Larsson <alexl@redhat.com>
3047 * gsocketinputstream.[ch]: Removed.
3048 * gsocketoutputstream.[ch]: Removed.
3049 * gunixinputstream.[ch]: Added.
3050 * gunixoutputstream.[ch]: Added.
3051 Renamed GSocket*Stream to GUnix*Stream and made
3052 it unix-only, since its not really only for sockets
3053 and it only works on unix (but is highly useful there).
3055 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3061 * gbufferedinputstream.c:
3062 * gbufferedinputstream.h:
3063 * gbufferedoutputstream.c:
3064 * gbufferedoutputstream.h:
3068 * gdatainputstream.c:
3069 * gdatainputstream.h:
3070 * gdataoutputstream.c:
3071 * gdataoutputstream.h:
3072 * gdirectorymonitor.c:
3073 * gdirectorymonitor.h:
3080 * gfileenumerator.c:
3081 * gfileenumerator.h:
3086 * gfileinputstream.c:
3087 * gfileinputstream.h:
3090 * gfilenamecompleter.c:
3091 * gfilenamecompleter.h:
3092 * gfileoutputstream.c:
3093 * gfileoutputstream.h:
3094 * gfilterinputstream.c:
3095 * gfilterinputstream.h:
3096 * gfilteroutputstream.c:
3097 * gfilteroutputstream.h:
3110 * glocalfileoutputstream.c:
3111 * gmemoryinputstream.c:
3112 * gmemoryinputstream.h:
3113 * gmemoryoutputstream.c:
3114 * gmemoryoutputstream.h:
3115 * gmountoperation.c:
3116 * gmountoperation.h:
3119 * gpollfilemonitor.c:
3122 * gsimpleasyncresult.c:
3123 * gsimpleasyncresult.h:
3124 * gsocketinputstream.c:
3125 * gsocketinputstream.h:
3126 * gsocketoutputstream.c:
3127 * gsocketoutputstream.h:
3134 * gunixvolumemonitor.c:
3143 Bumps documentation to 93% symbol coverage, touching most
3144 of the public files. Fixes broken function documentation prototypes.
3145 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3146 gtk-doc headers in private files.
3148 2007-11-27 Jürg Billeter <j@bitron.ch>
3150 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3151 (g_buffered_input_stream_read_byte):
3152 * gbufferedinputstream.h:
3153 New functions for efficient access to buffer and simple single byte
3156 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3157 (g_data_input_stream_read_until):
3158 * gdatainputstream.h:
3159 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3160 read_until with multiple stop chars.
3162 2007-11-27 Alexander Larsson <alexl@redhat.com>
3166 * inotify/Makefile.am:
3167 Use the user-specified giomoduledir
3169 2007-11-27 Alexander Larsson <alexl@redhat.com>
3173 Add catch-all gio.h header
3174 Don't install gdummyfile.h
3176 2007-11-26 Alexander Larsson <alexl@redhat.com>
3178 * Makefile.am (gioinclude_HEADERS):
3179 Remove trailing whitespace
3181 2007-11-26 Alexander Larsson <alexl@redhat.com>
3183 Merge gio-standalone into glib
3185 2007-11-25 Christian Kellner <gicmo@gnome.org>
3187 * gio/goutputstream.c:
3188 Fix small mistake in the docs.
3190 2007-11-21 Christian Persch <chpe@gnome.org>
3192 * gio/glocalfile.c: (g_local_file_trash):
3193 Convert filenames to UTF-8 for GError.
3194 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3195 as per xdg base dir spec.
3197 2007-11-21 Christian Persch <chpe@gnome.org>
3199 * gio/gdesktopappinfo.c:
3200 Use that g_key_file_to_data cannot fail.
3202 Use stock defines for the key file group and key names.
3205 2007-11-21 Alexander Larsson <alexl@redhat.com>
3208 (copy_stream_with_progress):
3209 Make sure we do a final progress callback with
3210 the full total size.
3212 2007-11-21 Alexander Larsson <alexl@redhat.com>
3215 Export g_file_copy_attributes
3216 Remove padding as its not needed for interfaces
3218 2007-11-20 Alexander Larsson <alexl@redhat.com>
3223 Add G_IO_ERROR_WOULD_MERGE for
3224 copy/move dir on dir with overwrite.
3226 2007-11-20 Alexander Larsson <alexl@redhat.com>
3229 * gio/glocalfileinfo.c:
3230 Add COPY_NAME (this is an optional
3231 non-modified utf8 version of the name) that
3234 2007-11-20 Alexander Larsson <alexl@redhat.com>
3236 * gio/glocalfileenumerator.c:
3237 Report errors as GIOError, not GFileError
3239 2007-11-16 Alexander Larsson <alexl@redhat.com>
3241 * gio/glocalfileoutputstream.c:
3242 * gio/gwin32appinfo.c:
3243 Fix typos in strings.
3244 Patch from Luca Ferretti <elle.uca@libero.it>
3246 2007-11-15 Alexander Larsson <alexl@redhat.com>
3249 Post release version bump
3251 === gio-standalone 0.1.2 ===
3253 2007-11-15 Alexander Larsson <alexl@redhat.com>
3255 * docs/reference/gio/Makefile.am:
3256 Fix up distcheck by removing weird
3262 2007-11-14 Alexander Larsson <alexl@redhat.com>
3264 * gio/gdesktopappinfo.c:
3265 * gio/glocaldirectorymonitor.c:
3267 * gio/glocalfileinfo.c:
3268 * gio/inotify/inotify-sub.c:
3269 * programs/gio-cat.c:
3270 * programs/gio-copy.c:
3271 * programs/gio-info.c:
3272 * programs/gio-ls.c:
3273 * programs/gio-monitor-dir.c:
3274 * programs/gio-monitor-file.c:
3275 * programs/gio-mount.c:
3276 * programs/gio-move.c:
3277 * programs/gio-rm.c:
3278 * programs/gio-save.c:
3279 * programs/gio-trash.c:
3280 Leak fixes from Kjartan Maraas
3282 2007-11-14 Alexander Larsson <alexl@redhat.com>
3284 * gio/fam/fam-helper.c:
3286 * gio/glocalfileinfo.c:
3290 * gio/inotify/inotify-diag.c:
3291 * gio/inotify/inotify-kernel.c:
3292 Various code cleanups from Kjartan Maraas
3294 2007-11-14 Alexander Larsson <alexl@redhat.com>
3296 * gio/gioscheduler.c:
3298 Set up threadpool so that we cache 2 unused
3299 idle threads for at 15 secs. This means we
3300 will reuse thread-local data (like dbus connections)
3303 2007-11-14 Alexander Larsson <alexl@redhat.com>
3305 * gio/fam/fam-helper.c:
3306 * gio/fam/gfamdirectorymonitor.c:
3307 * gio/fam/gfamfilemonitor.c:
3309 * gio/gcontenttype.c:
3310 * gio/gdatainputstream.c:
3311 * gio/gdataoutputstream.c:
3315 * gio/gfileattribute.h:
3316 * gio/gfileenumerator.c:
3318 * gio/ginputstream.c:
3321 * gio/glocalfileinfo.c:
3322 * gio/goutputstream.c:
3323 * gio/gpollfilemonitor.c:
3324 * gio/gsimpleasyncresult.c:
3325 * gio/gunixmounts.c:
3326 * gio/gunixmounts.h:
3327 * gio/inotify/ginotifydirectorymonitor.c:
3328 * gio/inotify/ginotifyfilemonitor.c:
3329 * gio/inotify/inotify-diag.c:
3330 * gio/inotify/inotify-kernel.c:
3331 * gio/inotify/inotify-path.c:
3333 * gio/test-streams.c:
3334 * programs/gio-info.c:
3335 * programs/gio-monitor-dir.c:
3336 * programs/gio-monitor-file.c:
3337 Various code cleanups from Kjartan Maraas
3339 2007-11-13 Alexander Larsson <alexl@redhat.com>
3342 Handle the uri-scheme calls for dummy files
3344 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3346 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3347 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3348 to avoid clash with the C++ keyword.
3350 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3352 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3353 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3355 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3357 * gio/glocaldirectorymonitor.c:
3358 * gio/glocalfilemonitor.c:
3359 * gio/gunionvolumemonitor.c:
3360 Don't use g_once_init_*() for initializations that could fail and
3361 could leave the initialization variable set to 0 but use GOnce.
3362 This prevents a deadlock on the second call when trying to create
3363 a monitor and no monitor type is available. Thanks to Sven Herzberg
3366 2007-11-11 Sven Herzberg <sven@imendio.com>
3368 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3369 #ifdef (make it work on MacOS X again)
3371 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3373 Fixes Changelog for last two commits (sorry guys).
3375 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3377 * gio/gbufferedinputstream.c:
3378 * gio/gdatainputstream.c:
3380 * gio/gfileoutputstream.c:
3381 * gio/gfilterinputstream.c:
3382 * gio/glocalfileinputstream.c:
3385 More consistency fixes in g*stream.c files.
3386 Significant clean of gfile's documentation, filling in of
3387 asynchronous operations documentation.
3389 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3391 * gio/gasyncresult.c:
3392 * gio/gbufferedinputstream.c:
3393 * gio/gbufferedoutputstream.c:
3394 * gio/gcancellable.c:
3395 * gio/gcontenttype.c:
3396 * gio/gdatainputstream.c:
3397 * gio/gdataoutputstream.c:
3398 * gio/gdesktopappinfo.c:
3401 * gio/gfileattribute.c:
3402 * gio/gio/gfileenumerator.c:
3404 * gio/gfileinputstream.c:
3405 * gio/gfilemonitor.c:
3406 * gio/gfileoutputstream.c:
3407 * gio/ginputstream.c:
3409 * gio/gioscheduler.c:
3410 * gio/gloadableicon.c:
3411 * gio/glocalfileoutputstream.c:
3412 * gio/gmemoryoutputstream.c:
3413 * gio/gmountoperation.c:
3414 * gio/goutputstream.c:
3416 * gio/gsimpleasyncresult.c:
3417 * gio/gunionvolumemonitor.c:
3418 * gio/gunixmounts.c:
3419 * gio/gunixvolume.c:
3423 * gio/gvolumemonitor.c:
3424 Updated documentation stubs, working towards consistency and
3427 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3429 * gio/gmemoryoutputstream.c:
3430 * gio/gmemoryoutputstream.h:
3431 Change g_memory_output_stream_set_free_on_close() to
3432 g_memory_output_stream_set_free_data() as this makes more sense and
3433 is more consistent with GMemoryInputStream.
3435 2007-11-07 Alexander Larsson <alexl@redhat.com>
3442 Change how we find the default vfs so that
3443 we can handle a gvfs failing to init
3445 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3447 * gio/gbufferedoutputstream.c:
3448 * gio/gdatainputstream.c:
3449 * gio/gdataoutputstream.c:
3450 * gio/gfileinputstream.c:
3451 * gio/gfileoutputstream.c:
3452 * gio/gfilterinputstream.c:
3453 * gio/gfilteroutputstream.c:
3454 * gio/ginputstream.c:
3455 * gio/gmemoryinputstream.c:
3456 * gio/gmemoryoutputstream.c:
3457 * gio/goutputstream.c:
3458 * gio/gsimpleasyncresult.c:
3459 * gio/gsocketinputstream.c:
3460 * gio/gsocketoutputstream.c:
3461 Add guards to the remaining public functions, add a TODO for
3462 an unimplemented function and remove some useless guards.
3464 2007-11-07 Alexander Larsson <alexl@redhat.com>
3467 Autoconf checks for the various types of
3468 getpwuid_r and getgrgid_r
3470 * gio/glocalfileinfo.c:
3471 Use the autoconf checks from above
3473 2007-11-07 Alexander Larsson <alexl@redhat.com>
3476 (g_local_file_query_filesystem_info):
3477 Some fixes for the statvfs case
3479 2007-11-07 Alexander Larsson <alexl@redhat.com>
3482 (g_local_file_query_filesystem_info):
3483 Pick the "best" of statfs / statvfs for the system
3484 if both are availible.
3486 2007-11-07 Alexander Larsson <alexl@redhat.com>
3488 Solaris fixes from Halton.Huo@Sun.COM:
3495 * gio/glocalfileinfo.c:
3496 Fix for solaris definition of getpwuid_r
3498 * gio/test-streams.c:
3499 Use G_GNUC_PRETTY_FUNCTION
3501 2007-11-07 Alexander Larsson <alexl@redhat.com>
3503 * gio/gdesktopappinfo.c:
3504 (update_default_list):
3505 Remove double semicolon.
3506 Patch from Jens Granseuer
3508 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3510 * docs/reference/gio/gio-sections.txt:
3511 * gio/gbufferedinputstream.c:
3512 * gio/gbufferedinputstream.h:
3513 * gio/gdatainputstream.c:
3514 * gio/gfileenumerator.c:
3515 * gio/gioscheduler.c:
3516 * gio/gunionvolumemonitor.c:
3518 * programs/gio-save.c:
3519 Fix typo: availible -> available. Unfortuntely this breaks API
3520 and ABI as g_buffered_input_stream_get_available() was renamed.
3522 * gio/gunixmounts.c:
3523 * gio/gbufferedinputstream.c:
3524 Add guards for public functions.
3526 2007-11-06 Ross Burton <ross@openedhand.com>
3528 * docs/reference/gio/Makefile.am:
3529 Fix invalid += usage which automake 1.10 doesn't like.
3531 2007-11-06 Alexander Larsson <alexl@redhat.com>
3534 (g_app_launch_context_class_init):
3537 Patch from Ross Burton
3539 2007-11-06 Alexander Larsson <alexl@redhat.com>
3542 Post release version bump
3544 === gio-standalone 0.1.1 ===
3546 2007-11-06 Alexander Larsson <alexl@redhat.com>
3549 Bump version to 0.1.1
3551 * gio/gsimpleasyncresult.c:
3552 (g_simple_async_result_set_from_error):
3553 Remove bogus g_return_if_fail
3555 2007-11-06 Alexander Larsson <alexl@redhat.com>
3558 The name is gio-standalone
3561 Add top src/builddir to includedir
3563 2007-11-06 Alexander Larsson <alexl@redhat.com>
3565 * docs/reference/gio/gio-sections.txt:
3567 * gio/gbufferedinputstream.c:
3568 * gio/gbufferedoutputstream.c:
3569 * gio/gcancellable.c:
3570 * gio/gdatainputstream.h:
3571 * gio/gdataoutputstream.c:
3572 * gio/gdataoutputstream.h:
3573 * gio/gdirectorymonitor.c:
3575 * gio/gfileattribute.c:
3576 * gio/gfileattribute.h:
3577 * gio/gfileenumerator.c:
3578 * gio/gfileenumerator.h:
3581 * gio/gfileinputstream.h:
3582 * gio/gfilemonitor.c:
3583 * gio/gfileoutputstream.h:
3584 * gio/glocalfilemonitor.h:
3585 * gio/glocalfileoutputstream.h:
3586 * gio/gmemoryinputstream.c:
3587 * gio/gmemoryoutputstream.c:
3588 * gio/gmountoperation.c:
3589 * gio/goutputstream.c:
3590 * gio/goutputstream.h:
3592 * gio/gsimpleasyncresult.c:
3593 * gio/gunixmounts.c:
3594 * gio/gunixmounts.h:
3596 * gio/inotify/inotify-helper.c:
3597 Fix gtk-doc warnings
3599 Patch from Ross Burton
3601 2007-11-06 Alexander Larsson <alexl@redhat.com>
3603 * gio/gfilenamecompleter.c:
3604 (g_filename_completer_get_completions):
3607 * gio/gunixvolume.c:
3608 Remove unused function
3610 Patches from Ross Burton
3612 2007-11-06 Alexander Larsson <alexl@redhat.com>
3617 Padding not needed for interfaces
3619 2007-11-06 Alexander Larsson <alexl@redhat.com>
3621 * gio/gfilemonitor.c:
3625 Make giotypes.h an internal file
3628 * gio/gbufferedinputstream.h:
3629 * gio/gbufferedoutputstream.h:
3630 * gio/gcancellable.h:
3631 * gio/gdatainputstream.h:
3632 * gio/gdataoutputstream.h:
3633 * gio/gdirectorymonitor.c:
3634 * gio/gdirectorymonitor.h:
3639 * gio/gfileattribute.h:
3640 * gio/gfileenumerator.h:
3645 * gio/gfilemonitor.c:
3646 * gio/gfilemonitor.h:
3647 * gio/gfilenamecompleter.c:
3648 * gio/gfilenamecompleter.h:
3649 * gio/gfilterinputstream.h:
3650 * gio/gfilteroutputstream.h:
3651 * gio/ginputstream.h:
3652 * gio/gmemoryinputstream.h:
3653 * gio/gmemoryoutputstream.h:
3654 * gio/gmountoperation.c:
3655 * gio/gmountoperation.h:
3656 * gio/gnativevolumemonitor.c:
3657 * gio/goutputstream.h:
3660 * gio/gsimpleasyncresult.c:
3661 * gio/gsimpleasyncresult.h:
3662 * gio/gsocketinputstream.h:
3663 * gio/gsocketoutputstream.h:
3664 * gio/gthemedicon.c:
3665 * gio/gthemedicon.h:
3669 * gio/gvolumemonitor.c:
3670 * gio/gvolumemonitor.h:
3671 Add padding in classes where it seems useful
3672 Don't include giotypes.h from public headers
3673 Move in Class definitions into c file where possible
3678 2007-11-06 Alexander Larsson <alexl@redhat.com>
3680 * docs/reference/gio/gio-docs.xml:
3681 Better structure for API docs
3683 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3686 * gio/gloadableicon.c:
3687 * gio/gsimpleasyncresult.c:
3688 * gio/gthemedicon.c:
3689 Add some more guards to public functions. Only files missing are now
3692 2007-11-06 Alexander Larsson <alexl@redhat.com>
3694 * docs/reference/gio/gio-docs.xml:
3695 Remove old files, add missing ones
3697 2007-11-06 Alexander Larsson <alexl@redhat.com>
3699 * docs/reference/gio/gio-sections.txt:
3702 Hide implementation classes
3704 * gio/gdriveprivate.h:
3705 * gio/gvolumeprivate.h:
3706 Remove non-existing function declarations
3708 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3711 Fix compilation warnings and add guards to the new functions.
3713 * gio/gasyncresult.c:
3715 Add guards to the public functions.
3718 Implement get_path().
3720 2007-11-06 Alexander Larsson <alexl@redhat.com>
3722 * gio/gfilenamecompleter.c:
3723 Make g_filename_completer_get_completions
3724 return char ** instead of GList for
3727 * docs/reference/gio/gio-docs.xml:
3728 * docs/reference/gio/gio-sections.txt:
3730 * gio/gasyncresult.c:
3731 * gio/gbufferedinputstream.c:
3732 * gio/gbufferedoutputstream.c:
3733 * gio/gcancellable.c:
3734 * gio/gcontenttype.c:
3735 * gio/gdatainputstream.c:
3736 * gio/gdataoutputstream.c:
3737 * gio/gdesktopappinfo.c:
3738 * gio/gdirectorymonitor.c:
3742 * gio/gfileattribute.c:
3743 * gio/gfileenumerator.c:
3746 * gio/gfileinputstream.c:
3747 * gio/gfilemonitor.c:
3748 * gio/gfilenamecompleter.c:
3749 * gio/gfilenamecompleter.h:
3750 * gio/gfileoutputstream.c:
3751 * gio/gfilterinputstream.c:
3753 * gio/ginputstream.c:
3755 * gio/gioscheduler.c:
3756 * gio/gloadableicon.c:
3757 * gio/glocaldirectorymonitor.c:
3759 * gio/glocalfileinputstream.c:
3760 * gio/glocalfilemonitor.c:
3761 * gio/glocalfileoutputstream.c:
3763 * gio/gmemoryinputstream.c:
3764 * gio/gmemoryoutputstream.c:
3765 * gio/gmountoperation.c:
3766 * gio/goutputstream.c:
3767 * gio/gpollfilemonitor.c:
3769 * gio/gsimpleasyncresult.c:
3770 * gio/gsocketinputstream.c:
3771 * gio/gsocketoutputstream.c:
3772 * gio/gthemedicon.c:
3773 * gio/gunionvolumemonitor.c:
3775 * gio/gunixmounts.c:
3776 * gio/gunixvolume.c:
3777 * gio/gunixvolumemonitor.c:
3781 * gio/gvolumemonitor.c:
3782 * gio/gwin32appinfo.c:
3783 Add (mostly stub) doc strings to public functions.
3784 Patch from Andrew Walton (awalton@gmail.com)
3786 2007-11-06 Alexander Larsson <alexl@redhat.com>
3788 * gio/gappinfo.[ch]:
3789 Added GAppLaunchContext object and pass that to launch.
3790 This allows simple implementation of both
3791 launch-on-screen and startup notification via a gtk+
3792 subclass of GAppLaunchContext
3794 * gio/gdesktopappinfo.c:
3795 Implement GAppLaunchContext API
3797 * gio/gwin32appinfo.c:
3800 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3802 * gio/gmountoperation.c:
3803 Add some guards to GMountOperation's public functions.
3805 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3809 * gio/gcancellable.c:
3810 * gio/gdirectorymonitor.c:
3812 * gio/gfileenumerator.c:
3813 * gio/gfilemonitor.c:,
3814 * gio/gfilenamecompleter.c:
3817 * gio/gioscheduler.c:
3821 * gio/gvolumemonitor.c:
3822 Add even more guards to various public functions.
3824 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3827 Add guards to the public functions of GAppInfo.
3829 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3831 * gio/gcontenttype.c:
3832 Add some more guards for public functions.
3834 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3836 * gio/fam/fam-module.c:
3837 * gio/fam/gfamdirectorymonitor.c:
3838 * gio/fam/gfamdirectorymonitor.h:
3839 * gio/fam/gfamfilemonitor.c:
3840 * gio/fam/gfamfilemonitor.h:
3841 * gio/inotify/ginotifydirectorymonitor.c:
3842 * gio/inotify/ginotifydirectorymonitor.h:
3843 * gio/inotify/ginotifyfilemonitor.c:
3844 * gio/inotify/ginotifyfilemonitor.h:
3845 Add proper copyright information and remove an unused variable
3846 in the GInotifyFileMonitor constructor.
3848 * gio/gcancellable.c:
3849 Add a guard for a public function and an assertion to prevent
3850 an undefined program state.
3852 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3854 * gio/gfileattribute.c:
3855 Don't run into an assertion if the given attribute value is NULL
3856 in g_file_attribute_value_get_*() but instead return a fallback
3857 value that makes sense in most situations. Passing them a attribute
3858 value with the wrong type will still run into an assertion.
3860 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3862 * gio/gfileattribute.c:
3864 Add even more guards to the public functions. Also fix the refcounting
3865 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3866 let g_file_info_list_attributes() filter the attributes by namespace
3867 instead of simply ignoring the namespace parameter.
3869 2007-11-03 Sven Herzberg <sven@imendio.com>
3871 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3872 (This makes gio work on MacOS X again)
3874 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3877 Build the gio subdirectory before the docs. Otherwise the build will
3880 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3881 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3882 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3883 Add guards to the public functions.
3885 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3887 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3888 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3889 to prevent a compiler warning.
3891 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3892 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3893 return something in the non-void function find_topdir_for().
3895 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3902 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3904 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3905 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3906 * gwin32appinfo.c (g_win32_app_info_launch):
3907 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3908 envp_for_startup_id, g_desktop_app_info_launch,
3909 g_desktop_app_info_launch_uris):
3911 Give an opaque 'startup_id' string instead of 'envp'.
3912 Support empty file lists for launching new windows.
3913 Fix infinite recursion bug when launching URIs.
3915 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3918 Add guard to the new g_file_get_uri_scheme() function.
3920 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3923 Convert a g_return_val_if_fail() to setting the GError instead as
3924 otherwise applications have to verify the parameter before otherwise
3925 and the parameter might come directly from the user.
3927 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3929 * gio/inotify/ginotify*.[ch]:
3930 Add missing copyright information.
3932 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3935 Add guards in the beginning of public functions to check for valid
3936 parameters and fix a bug in copy_stream_with_progress() that could've
3937 caused writing less bytes than reading.
3938 * gio/glocalfileinfo.c:
3939 Check for a NULL parameter and set the GError accordingly then.
3940 * gio/goutputstream.c:
3941 Fix the same bug as in gfile.c that could've caused writing less bytes
3942 than reading in g_output_stream_real_splice().
3944 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3947 Use the correct gvolumeprivate.h naming
3949 2007-11-01 Christian Kellner <gicmo@gnome.org>
3952 Remove leftover "$(daemon_sources)" entry.
3954 2007-11-01 Christian Kellner <gicmo@gnome.org>
3959 Add copyright information to source files.
3961 2007-11-01 Alexander Larsson <alexl@redhat.com>
3965 Add g_file_get_uri_scheme
3967 2007-11-01 Alexander Larsson <alexl@redhat.com>
3970 * gio/gdesktopappinfo.c:
3971 * gio/gwin32appinfo.c:
3972 Add g_app_info_get_default_for_uri_scheme.
3974 2007-11-01 Alexander Larsson <alexl@redhat.com>
3977 Correct filename for gdriveprivate.h
3979 2007-10-31 Alexander Larsson <alexl@redhat.com>
3982 Rename id:value to id:file
3985 * gio/glocalfileinfo.c:
3988 2007-10-31 Alexander Larsson <alexl@redhat.com>
3990 * gio/gunixvolume.c:
3992 Remove g_volume_get_platform_id, as thats not
3993 needed with the simpler union volume monitor
3995 2007-10-31 Alexander Larsson <alexl@redhat.com>
3998 * gio/guniondrive.[ch]: Removed.
3999 * gio/gunionvolume.[ch]: Removed.
4000 Remove GUnionDrive/Volume
4002 * gio/gunionvolumemonitor.c:
4003 Simplify union volume monitor, now we
4004 only have one native volume monitor and
4005 we use the actual volumes/drives from the
4006 child monitors instead of wrapping them
4008 * gio/gnativevolumemonitor.[ch]:
4009 Base class for native volume monitors.
4010 Includes priority and get_volume_for_mountpoint
4013 Add g_file_find_enclosing_volume
4016 Remove volume name fs attribute
4017 Add readonly fs attribute
4020 Implement readonly attribute
4021 remove volume name attribute
4022 Implement find_enclosing volume
4024 * gio/gunixmounts.c:
4025 Add a volume for "/".
4027 * gio/gunixvolume.[ch]:
4028 Set better name for /
4030 * gio/gunixvolumemonitor.[ch]:
4031 Derive from GNativeVolumeMonitor
4032 Implement get_volume_for_mountpoint
4035 GVolume typedef moved to gfile.h
4037 * gio/gvolumeprivate.h:
4038 Add g_volume_get_for_mount_path
4040 2007-10-31 Alexander Larsson <alexl@redhat.com>
4042 * gio/gunixmounts.[ch]:
4043 Add cache info to unix mount listers
4044 Make getmntent use threadsafe
4045 Add is_system_internal attribute for GUnixMount
4047 * gio/gunixvolume.c:
4048 (g_unix_volume_new):
4049 Use is_system_internal instead of own code
4051 * gio/glocaldirectorymonitor.c:
4052 * gio/gunixvolumemonitor.c:
4053 Update to new gunixmounts API
4058 2007-10-30 Alexander Larsson <alexl@redhat.com>
4061 Add volume name fsinfo attribute
4064 Read volume name info
4066 * gio/gunionvolumemonitor.c:
4067 Fix infinite loops when finalizing a union volume monitor
4069 2007-10-30 Alexander Larsson <alexl@redhat.com>
4071 * gio/goutputstream.[ch]:
4072 Add splice() with default implementation
4074 * gio/gsocketoutputstream.c:
4075 (g_socket_output_stream_write):
4076 Return error on cancellation correctly.
4078 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4080 * gio/glocalfile.c (g_local_file_trash):
4081 Do not leak a string.
4083 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4085 * gio/gfile.c (g_file_load_contents):
4086 Unref the stream after closing it.
4088 2007-10-25 Alexander Larsson <alexl@redhat.com>
4090 * gio/gioscheduler.h:
4093 2007-10-25 Alexander Larsson <alexl@redhat.com>
4097 Add g_file_has_uri_scheme and implement for local files
4099 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4101 * gio/gdesktopappinfo.c: do not leak a string.
4103 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4105 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4106 (g_local_directory_monitor_new):
4107 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4108 (g_local_file_monitor_new):
4109 Only look for the monitor type that should be used the first time
4110 and use g_qsort_with_data() instead of our own bubble sort
4113 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4116 * gio/fam/Makefile.am:
4117 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4118 * gio/fam/fam-helper.h:
4119 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4120 * gio/fam/gfamdirectorymonitor.c:
4121 * gio/fam/gfamdirectorymonitor.h:
4122 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4123 * gio/fam/gfamfilemonitor.h:
4124 * gio/glocaldirectorymonitor.c:
4125 * gio/glocaldirectorymonitor.h:
4126 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4127 * gio/glocalfilemonitor.h:
4128 * gio/inotify/Makefile.am:
4129 * gio/inotify/ginotifydirectorymonitor.c:
4130 * gio/inotify/ginotifydirectorymonitor.h:
4131 * gio/inotify/ginotifyfilemonitor.c:
4132 * gio/inotify/ginotifyfilemonitor.h:
4133 Implement the FAM and Inotify monitors as
4134 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4135 their own GIO module. GLocal(Directory|File)Monitor will use the
4136 monitor with the highest rank that is supported on that machine.
4138 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4141 Change GIO module dir to $(libdir)/gio/modules and change
4142 the log domain from GVFS to GIO. Also only export symbols starting
4143 with g_ in the resulting library.
4144 * gio/test-streams.c: (main):
4145 Set log handler for the GIO log domain.
4147 2007-10-22 Alexander Larsson <alexl@redhat.com>
4149 * gio/gfilenamecompleter.[ch]:
4150 Add g_filename_completer_set_dirs_only
4152 2007-10-22 Alexander Larsson <alexl@redhat.com>
4155 * gio/gurifuncs.[ch]:
4156 Add some simple URI helpers
4158 * gio/gfilenamecompleter.[ch]:
4159 Added object for filename (parse name actually) completion
4162 Handle ~ in parse names
4164 2007-10-17 Alexander Larsson <alexl@redhat.com>
4167 * gio/glocalfileinfo.c:
4168 Add and implement id:value attribute
4170 2007-10-17 Alexander Larsson <alexl@redhat.com>
4173 * gio/guniondrive.c:
4175 Add and implement g_drive_has_volumes
4177 2007-10-17 Alexander Larsson <alexl@redhat.com>
4180 * gio/glocalfileinfo.[ch]:
4181 Add unix:is_mountpoint and implement for local files
4183 2007-10-16 Alexander Larsson <alexl@redhat.com>
4185 * gio/gunionvolumemonitor.c:
4186 (g_union_volume_monitor_init):
4187 Fix up the unix type getting so that it works with gcc
4189 2007-10-12 Alexander Larsson <alexl@redhat.com>
4192 * gio/glocalfileinfo.c:
4193 Add thumbnail:failed to file info
4195 2007-10-12 Richard Hult <richard@imendio.com>
4197 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4198 optimizing away the get_type call (happens with some gcc versions,
4199 like the one shipped with OS X 10.4).
4201 2007-10-12 Alexander Larsson <alexl@redhat.com>
4203 * gio/glocalfileinfo.c:
4204 (_g_local_file_info_set_attribute):
4205 Fix build if not HAVE_XATTR
4206 Patch from Milosz Derezynski <internalerror@gmail.com>
4208 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4210 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4211 around for review, otherwise I would have asked you before
4214 2007-10-11 Alexander Larsson <alexl@redhat.com>
4217 Add thumbnail:path attribute
4219 * gio/glocalfileinfo.c:
4220 Implement thumbnail:path for local files
4222 2007-10-11 Alexander Larsson <alexl@redhat.com>
4224 * gio/glocalfileinfo.c:
4225 (_g_local_file_info_get):
4226 Avoid duplicate icon names
4228 2007-10-11 Alexander Larsson <alexl@redhat.com>
4230 * gio/gthemedicon.[ch]:
4231 Change g_themed_icon_get_names return type to const
4233 2007-10-10 Alexander Larsson <alexl@redhat.com>
4235 * gio/glocalfileinfo.c:
4236 Don't reference freed memory
4238 2007-10-10 Alexander Larsson <alexl@redhat.com>
4240 * gio/gfileattribute.c:
4243 * gio/glocalfileinfo.c:
4246 2007-10-10 Alexander Larsson <alexl@redhat.com>
4249 Check for NULL icons
4251 * gio/gfileattribute.c:
4252 Don't dup when getting objects (same as for string attributes)
4254 * gio/gicon.c (g_icon_equal):
4255 Safely handle NULLs in equal
4257 2007-10-10 Alexander Larsson <alexl@redhat.com>
4260 Fix c++ compilation issues
4261 Patch from Milosz Derezynski <internalerror@gmail.com>
4263 2007-10-10 Alexander Larsson <alexl@redhat.com>
4265 * programs/gio-monitor-dir.c:
4266 Don't crash if dir monitor not supported.
4268 2007-10-09 Alexander Larsson <alexl@redhat.com>
4271 Add missing G_END_DECLS
4273 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4275 * gio/gfile.c: (g_file_set_display_name),
4276 (g_file_query_settable_attributes),
4277 (g_file_query_writable_namespaces):
4278 Return NULL not FALSE on errors as the return type is a pointer.
4280 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4282 * gio/glocalfile.c: (g_local_file_monitor_file):
4283 Don't call monitor_file on the default interface vtable (which
4284 is NULL) but simply return NULL. The caller, GFile, will create a
4285 polling monitor if NULL is returned.
4287 2007-10-09 Alexander Larsson <alexl@redhat.com>
4291 * gio-unix-2.0.pc.in:
4292 Add gio-unix-2.0.pc if OS_UNIX
4295 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4297 2007-10-09 Alexander Larsson <alexl@redhat.com>
4299 * gio/gunixmounts.[ch]:
4300 Make unix mount monitoring API sane.
4301 Now its just a object with mounts_changed
4302 and mountpoints_changed signals.
4304 * gio/glocaldirectorymonitor.c:
4305 * gio/gunixvolumemonitor.c:
4306 Use new mount monitor api
4308 2007-10-09 Alexander Larsson <alexl@redhat.com>
4310 * gio/gunixmounts.[ch]:
4311 Move guess type into one call for mounts and one for mountpoints
4314 * gio/gunixvolume.c:
4317 2007-10-09 Alexander Larsson <alexl@redhat.com>
4319 * gio/gunixmounts.[ch]:
4320 Remove _ prefix in preparation to make this semi-public
4321 Hide implementation of structs
4323 * gio/glocaldirectorymonitor.c:
4325 * gio/gunixvolume.c:
4326 * gio/gunixvolumemonitor.c:
4327 Update for above API changes
4329 2007-10-08 Alexander Larsson <alexl@redhat.com>
4332 Better polling fallback. This also handles the case where we have
4333 a monitor_file implementation, but it fails.
4335 2007-10-08 Alexander Larsson <alexl@redhat.com>
4339 * gio/gunixmounts.c:
4340 * programs/gio-monitor-dir.c:
4341 * programs/gio-monitor-file.c:
4342 Added cancellable to file monitoring calls.
4343 These are really sync calls and need this.
4345 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4347 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4348 (g_local_vfs_class_init):
4349 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4350 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4352 2007-10-05 Alexander Larsson <alexl@redhat.com>
4354 * gio/gdirectorymonitorprivate.h:
4355 * gio/gfilemonitorprivate.h:
4356 * gio/gdirectorymonitor.h:
4357 * gio/gfilemonitor.h:
4358 Remove *private.h and move to the public API, so that
4359 we can do implementations outside gio (such as in gvfs)
4361 * gio/gdirectorymonitor.c:
4362 * gio/gfilemonitor.c:
4363 * gio/glocaldirectorymonitor.c:
4364 * gio/gpollfilemonitor.c:
4365 * gio/inotify/inotify-helper.c:
4366 * gio/fam/fam-helper.c:
4367 Update to the new header names
4369 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4371 * gio/gdirectorymonitor.c:
4372 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4375 2007-10-04 Alexander Larsson <alexl@redhat.com>
4377 * gio/glocalfileinfo.c (get_access_rights):
4378 Set CAN_TRASH when we can move the file.
4379 We should really also check for a parent trash dir.
4381 2007-10-04 Alexander Larsson <alexl@redhat.com>
4383 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4384 Add can_trash access attribute
4386 2007-10-04 Alexander Larsson <alexl@redhat.com>
4389 (g_local_file_trash):
4390 Create info file first. This is per-spec and allows
4391 us to actually trash directories.
4393 2007-10-02 Alexander Larsson <alexl@redhat.com>
4395 * gio/gdesktopappinfo.c:
4396 Implement the new mime support code.
4397 Always set app as handling mimetype when being set as default for it
4399 2007-10-01 Alexander Larsson <alexl@redhat.com>
4401 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4402 Fix up check for xattrs:
4404 2007-10-01 Alexander Larsson <alexl@redhat.com>
4407 (g_app_info_set_as_default_for_extension):
4408 (g_app_info_add_supports_type):
4409 (g_app_info_can_remove_supports_type):
4410 (g_app_info_remove_supports_type):
4411 Make these fail nicely if not implemented
4413 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4415 * gio/glocalfileoutputstream.c:
4416 * gio/glocalfileoutputstream.h:
4421 * programs/gio-save.c:
4422 Add a GFileCreateFlags argument to operations that can create
4425 2007-10-01 Alexander Larsson <alexl@redhat.com>
4427 * gio/gappinfo.[ch]:
4428 * gio/gdesktopappinfo.c:
4429 Add more (stubbed out) mime API needed for nautilus
4431 2007-10-01 Alexander Larsson <alexl@redhat.com>
4434 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4435 Add g_app_info_set_as_default_for_extension.
4437 * gio/gdesktopappinfo.c:
4438 Dummy for g_app_info_set_as_default_for_extension
4439 Support flags in g_app_info_create_from_commandline
4441 * gio/gwin32appinfo.c:
4443 Update for API changes
4445 * gio/gthemedicon.c:
4446 Properly NULL-terminate list of icon names
4448 2007-09-28 Alexander Larsson <alexl@redhat.com>
4450 * gio/gloadableicon.h:
4451 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4453 2007-09-28 Alexander Larsson <alexl@redhat.com>
4456 Install headers in $includedir/gio-standalone/
4458 * gio-2.0.pc.in: Added.
4459 * gio-standalone.pc.in: Removed.
4462 Renamed pkg-config file to match glib (for future move)
4463 Update to the new include dir
4466 Add more TODO comments
4468 2007-09-28 Alexander Larsson <alexl@redhat.com>
4470 * gio/gdesktopappinfo.[ch]:
4471 Expose new_from_filename
4472 Add getter for is_hidden and handle it better
4474 2007-09-28 Alexander Larsson <alexl@redhat.com>
4476 * gio/gfileinfo.[ch]:
4477 Rename g_file_size_format_for_display to
4478 g_format_file_size_for_display.
4479 Now it doesn't have the g_file prefix, so we
4480 can later move it to glib.
4482 2007-09-28 Alexander Larsson <alexl@redhat.com>
4484 * gio/gappinfo.[ch]:
4485 Add g_app_info_get_id and g_app_info_get_executable.
4486 Make all getters non-reffing
4487 Make g_app_info_launch take GFile arguments.
4488 Add must_support_uris argument to g_app_info_get_default_for_type.
4490 * gio/gwin32appinfo.c:
4491 Update to GAppInfo api changes
4493 * gio/gdesktopappinfo.c:
4494 Update to GAppInfo api changes
4495 Implement supports_xdg_startup_notify
4497 * gio/gfileicon.c (g_file_icon_get_file):
4498 Make getter non-reffing.
4503 2007-09-27 Alexander Larsson <alexl@redhat.com>
4505 * gio/gfileinfo.[ch]:
4506 Add g_file_size_format_for_display helper
4508 2007-09-27 Alexander Larsson <alexl@redhat.com>
4510 * gio/glocalfileinfo.c:
4511 Set UNIX_GID from gid, not from uid
4513 2007-09-27 Alexander Larsson <alexl@redhat.com>
4516 Add g_file_set_attributes_async
4518 2007-09-27 Alexander Larsson <alexl@redhat.com>
4520 * gio/glocalfile.c (g_local_file_set_display_name):
4521 Fix set_display_name to actually rename to the right place.
4522 Use lstat to look for existing files so we don't overwrite
4525 2007-09-26 Alexander Larsson <alexl@redhat.com>
4528 Add g_file_set_display_name_async()
4530 2007-09-26 Alexander Larsson <alexl@redhat.com>
4533 Add load_partial_contents async calls
4536 Make internal function static
4538 2007-09-26 Alexander Larsson <alexl@redhat.com>
4540 * gio/glocalfileinfo.c:
4541 Correctly detect broken symlinks
4543 2007-09-26 Alexander Larsson <alexl@redhat.com>
4545 * gio/gcancellable.c (g_cancellable_cancel):
4546 Allow cancel on NULL cancellable
4548 2007-09-25 Alexander Larsson <alexl@redhat.com>
4550 * gio/gsimpleasyncresult.c:
4551 Don't allocate g_error manually.
4552 Fixes g_slice/g_new mixup crash
4554 2007-09-25 Alexander Larsson <alexl@redhat.com>
4556 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4557 Actually set active_backend.
4558 This means the monitor will be cancelled correctly.
4560 2007-09-25 Alexander Larsson <alexl@redhat.com>
4562 * gio/gdirectorymonitor.c:
4563 Set timeout to NULL when destroying
4565 2007-09-25 Alexander Larsson <alexl@redhat.com>
4568 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4569 that is a better description of the error.
4571 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4573 * gio/gvfs.c: (g_vfs_get_local):
4574 Make the local vfs variable static. The same instance should
4577 2007-09-24 Alexander Larsson <alexl@redhat.com>
4579 * gio/glocalfileinfo.c:
4580 Pass in actual length read into sniffer, not the length
4583 2007-09-21 Alexander Larsson <alexl@redhat.com>
4585 * gio/gfileenumerator.c:
4588 * gio/gfileinputstream.c:
4589 * gio/gfileoutputstream.c:
4590 * gio/ginputstream.c:
4591 * gio/goutputstream.c:
4592 Don't crash if async callbacks are NULL
4594 2007-09-20 Alexander Larsson <alexl@redhat.com>
4597 Add async enumerate_children method and default
4600 2007-09-20 Alexander Larsson <alexl@redhat.com>
4603 Add g_file_contains_file & g_file_get_relative_path, since they
4604 were needed for nautilus.
4605 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4610 Implement new methods
4612 2007-09-17 Alexander Larsson <alexl@redhat.com>
4615 * gio/gfileinputstream.[ch]:
4616 * gio/gfileoutputstream.[ch]:
4618 * gio/glocalfileenumerator.[ch]:
4619 * gio/glocalfileinfo.[ch]:
4620 * gio/glocalfileinputstream.c:
4621 * gio/glocalfileoutputstream.c:
4622 * gio/gpollfilemonitor.c:
4623 * programs/gio-copy.c:
4624 * programs/gio-info.c:
4625 * programs/gio-move.c:
4626 Rename get_file_info to query_info() to make it clearer
4627 that these are not simple getters, but do i/o.
4629 2007-09-17 Alexander Larsson <alexl@redhat.com>
4631 * gio/gdatainputstream.[ch]:
4632 * gio/test-streams.c:
4633 Use _read_XXX instead of _get_XXX for the i/o calls
4636 2007-09-17 Alexander Larsson <alexl@redhat.com>
4639 Added needed stuff to TODO comment
4641 2007-09-17 Alexander Larsson <alexl@redhat.com>
4643 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4644 Don't error out removing the backup copy if it doesn't
4647 2007-09-14 Alexander Larsson <alexl@redhat.com>
4649 * programs/Makefile.am:
4650 * programs/gvfs-*.c:
4652 Renamed apps from gvfs-xxx to gio-xxx.
4654 2007-09-14 Alexander Larsson <alexl@redhat.com>
4657 * gio/gfileoutputstream.[ch]:
4658 * gio/glocalfileoutputstream.c:
4659 * programs/gvfs-save.c:
4660 g_file_output_stream_get_etag doesn't do i/o, so remove
4661 cancellation and error.
4663 2007-09-14 Alexander Larsson <alexl@redhat.com>
4666 Add new_etag output to replace_contents functions
4668 2007-09-14 Alexander Larsson <alexl@redhat.com>
4670 * gio/gfileoutputstream.[ch]:
4671 Add async get_file_info and default implementation
4673 2007-09-14 Alexander Larsson <alexl@redhat.com>
4675 * gio/gfileinputstream.c:
4676 Implement fallback wrapper for async get_file_info
4678 2007-09-14 Alexander Larsson <alexl@redhat.com>
4681 Add etag out argument to load_contents
4686 2007-09-14 Alexander Larsson <alexl@redhat.com>
4688 * gio/gcontenttype.c (looks_like_text):
4689 Whitespace like tab, cr and lf do not make the
4692 2007-09-14 Alexander Larsson <alexl@redhat.com>
4694 * gio/gfileinputstream.[ch]:
4695 Add async get_file_info.
4697 2007-09-13 Alexander Larsson <alexl@redhat.com>
4699 * gio/goutputstream.c (g_output_stream_write_all):
4700 Allow NULL for bytes_written
4702 2007-09-13 Alexander Larsson <alexl@redhat.com>
4704 * gio/gmemoryinputstream.[ch]:
4705 Add accessors for data
4707 2007-09-13 Alexander Larsson <alexl@redhat.com>
4709 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4710 Don't crash if length is NULL