1 2008-08-01 Hans Breuer <hans@breuer.org>
3 * makefile.msc : add gemblembedicon
5 2008-07-30 Matthias Clasen <mclasen@redhat.com>
7 Bug 545457 – gdmsetup crashed with SIGSEGV in
8 g_unix_mount_guess_should_display()
10 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
11 crash if no mount is found.
13 2008-07-28 Matthias Clasen <mclasen@redhat.com>
15 Bug 545203 – gfile.c: argument is different type.
17 * gfile.c (open_read_async_thread): Pass a GError **
18 to g_file_set_error_literal.
19 Reported by Kazuki Iwamoto
21 2008-07-28 Matthias Clasen <mclasen@redhat.com>
23 Bug 545157 – wrong/no list of "open with" applications for .cc and
26 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
27 Collect all ancestors, not just direct parents. Pointed
30 2008-07-28 Matthias Clasen <mclasen@redhat.com>
32 * Makefile.am: Install gemblemedicon.h
34 2008-07-28 Matthias Clasen <mclasen@redhat.com>
36 * gemblemedicon.[hc]: Add a GIcon implementation that can
37 add an emblem to another icon.
44 * gfileicon.c: Small documentation additions.
46 2008-07-28 Tor Lillqvist <tml@novell.com>
48 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
51 2008-07-27 Tor Lillqvist <tml@novell.com>
53 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
55 2008-07-24 David Zeuthen <davidz@redhat.com>
59 Also export a g_mount_guess_content_type_sync() function.
61 2008-07-23 Matthias Clasen <mclasen@redhat.com>
63 529694 – SELinux context setting support
65 * gfileinfo.c: Support setting selinux attributes.
68 2008-07-22 Priit Laes <plaes@plaes.org>
70 Bug 544140 - fam-helper 64-bit issue?
72 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
74 2008-07-21 Matthias Clasen <mclasen@redhat.com>
76 * === Released 2.17.4 ===
78 2008-07-20 Matthias Clasen <mclasen@redhat.com>
80 * gvolumemonitor.[hc]:
85 * gmount.c: Documentation fixes
87 2008-07-19 Matthias Clasen <mclasen@redhat.com>
89 543504 – crash in Epiphany Web Browser: Opening local file
100 * gvolume.c: Register types thread-safely.
101 Patch by Christian Persch
103 2008-07-18 Matthias Clasen <mclasen@redhat.com>
105 * gcontenttype.c: Remove debug spew
107 2008-07-18 Matthias Clasen <mclasen@redhat.com>
109 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
112 * fen/fen-kernel.c: Remove a warning that was causing
113 crashes. Reported by Lin Ma.
115 2008-07-18 Matthias Clasen <mclasen@redhat.com>
117 Bug 543040 – async reading on dummy file will crash on
120 * gfile.c (open_read_async_thread): Cope with read_fn being
121 NULL. Reported by Lin Ma.
123 2008-07-18 Matthias Clasen <mclasen@redhat.com>
126 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
128 2008-07-16 Matthias Clasen <mclasen@redhat.com>
132 * giomodule.c: Rename a chapter id to avoid filename conflict.
134 2008-07-16 Matthias Clasen <mclasen@redhat.com>
136 Bug 540616 – mem leak in filechooser button
138 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
139 the mount entry. Reported by Chrisitan Persch
141 2008-07-16 Matthias Clasen <mclasen@redhat.com>
143 * gfile.c: Small documentation fixes.
145 2008-07-15 Matthias Clasen <mclasen@redhat.com>
147 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
149 2008-07-08 Matthias Clasen <mclasen@redhat.com>
154 * gmount.c: Documentation improvements.
156 2008-07-08 Matthias Clasen <mclasen@redhat.com>
159 * gmount.[hc]: Add g_mount_guess_content_type().
161 2008-07-06 David Zeuthen <davidz@redhat.com>
164 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
165 is needed for easily handling adoption of foreign volumes by
166 out-of-process volume monitors (#541793)
168 2008-07-06 David Zeuthen <davidz@redhat.com>
170 * gvolumemonitor.[ch]:
171 * gunionvolumemonitor.c: Export the eject-button signal on the
172 volume monitor class (#541794).
174 2008-07-06 Matthias Clasen <mclasen@redhat.com>
176 * gappinfo.c: More doc tweaks
178 2008-07-05 Matthias Clasen <mclasen@redhat.com>
180 * gappinfo.c: Clarify some docs
182 2008-07-03 Matthias Clasen <mclasen@redhat.com>
184 * gdesktopappinfo.c: Fix a stupid mistake.
186 2008-07-02 Matthias Clasen <mclasen@redhat.com>
188 * === Released 2.17.3 ===
190 2008-07-02 Matthias Clasen <mclasen@redhat.com>
192 * gfilemonitor.c: Fix the build.
194 2008-07-02 Matthias Clasen <mclasen@redhat.com>
196 Bug 536160 – Add g_file_monitor()
199 * gfile.[hc]: Add g_file_monitor which can return either
200 a file or a directory monitor. Proposed by Behdad Esfahbod
202 2008-07-02 Matthias Clasen <mclasen@redhat.com>
204 536733 – gio build failure on Irix
206 * glocalfile.c: Use a configure check for structfs.f_bavail.
208 2008-07-02 Matthias Clasen <mclasen@redhat.com>
210 Bug 534639 – add g_desktop_app_info_new_from_keyfile
213 * gdesktopappinfo.[hc]: Add a function to create a
214 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
216 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
218 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
220 2008-07-01 Matthias Clasen <mclasen@redhat.com>
222 * gunixmounts.c: Fix a doc typo.
224 2008-07-01 Cody Russell <bratsche@gnome.org>
226 * gio/gcontenttype.c:
227 * gio/gwin32appinfo.c:
228 * gio/gwin32volumemonitor.c:
229 * gio/gwin32mount.c: Fixed some include problems.
231 2008-07-01 Cody Russell <bratsche@gnome.org>
235 Moved all relevant typedefs into these files.
238 Updated wrt added files.
240 Split types into separate file for easier maintainership. (#538564)
242 2008-06-30 Matthias Clasen <mclasen@redhat.com>
244 Bug 540331 – g_file_append_to () documentation: can return NULL
246 * gfile.c (g_file_append_to): Clarify docs.
249 2008-06-30 Matthias Clasen <mclasen@redhat.com>
251 Bug 539090 – g_content_type_from_mime_type() should unalias
253 * gcontentype.c (g_content_type_from_mime_type): Unalias.
254 Patch by Markus Bergman
256 2008-06-30 Matthias Clasen <mclasen@redhat.com>
258 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
261 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
262 on ppc and alpha. Reported by Mart Raudsepp
264 2008-06-29 Matthias Clasen <mclasen@redhat.com>
267 * tests/memory-output-stream.c: Add some tests for
270 2008-06-29 Matthias Clasen <mclasen@redhat.com>
272 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
275 * gmemoryoutputstream.c (array_resize): Handle truncation to
276 zero correctly. Reported by Akira Tagoh
278 2008-06-29 Matthias Clasen <mclasen@redhat.com>
280 * gmemoryoutputstream.c: Trivial doc fixes
282 2008-06-29 Matthias Clasen <mclasen@redhat.com>
284 Bug 540802 – g_list_prepend doesn't concat lists
286 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
287 one list to another. Pointed out by Jan Arne Petersen
289 2008-06-28 Michael Natterer <mitch@imendio.com>
291 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
293 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
295 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
296 to avoid problems with partial icon themes.
298 2008-06-17 Hans Breuer <hans@breuer.org>
300 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
301 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
302 access again on win32, see bug #538127
303 * giomodule.c : ensure GWin32VolumeMonitor is registered
304 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
305 * Makefile.am makefile.msc : updated
307 2008-06-16 Hans Breuer <hans@breuer.org>
309 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
310 and initialization in one step avoids c99ism
312 2008-06-16 Christian Persch <chpe@gnome.org>
315 * gio/gbufferedinputstream.c
317 * gio/gdatainputstream.c
318 * gio/gdesktopappinfo.c
320 * gio/gfileenumerator.c
321 * gio/gfileinputstream.c
322 * gio/gfileoutputstream.c
324 * gio/glocaldirectorymonitor.c
326 * gio/glocalfileenumerator.c
327 * gio/glocalfileinfo.c
328 * gio/glocalfilemonitor.c
329 * gio/glocalfileoutputstream.c
330 * gio/gmemoryinputstream.c
331 * gio/gmemoryoutputstream.c
332 * gio/goutputstream.c
333 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
336 2008-06-16 Tor Lillqvist <tml@novell.com>
338 Bug 538362 - Get Win32 icons back in the file chooser
340 * gcontenttype.c (g_content_type_get_icon): Look up the icon
341 corresponding to a file extension in the Registry. Patch by Hans
343 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
345 2008-06-16 Tor Lillqvist <tml@novell.com>
347 Patches by Hans Breuer:
349 * glocalfile.c (is_xp_or_later): Handle compiling against older
350 SDK headers with missing VerifyVersionInfo(). Conditioned on
351 _MSC_VER, but should probably use some better test.
352 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
353 uninitialised statfs_result variable on Win32.
355 2008-06-16 Michael Natterer <mitch@imendio.com>
357 * *.c: chain up unconditionally in finalize() and dispose(). Also
358 don't dereference these function pointers when calling them since
359 that has no meaning at all.
361 2008-06-16 Ross Burton <ross@burtonini.com>
364 Remove check for dispose implementation as it annoys Emmanuele.
366 2008-06-16 Ross Burton <ross@burtonini.com>
368 Bug 536252 – GFileEnumerator should allow access to the containing
374 Add g_file_enumerator_get_container() and a container writeable
375 construct-only property. Also shuffle around typedefs to make it
378 * glocalfileenumerator.c:
379 * glocalfileenumerator.h:
381 Instead of a string filename take a GFile in the constructor and
382 use it to set the container property.
387 2008-06-16 Matthias Clasen <mclasen@redhat.com>
389 * gfile.c: Make includes more uniform
391 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
393 * tests/live-g-file.c (sample_struct):
394 Use less fancy unicode filenames, so the test doesn't fail
395 on Mac OS X (#531476).
397 2008-06-12 Matthias Clasen <mclasen@redhat.com>
399 * === Released 2.17.2 ===
401 2008-06-12 Matthias Clasen <mclasen@redhat.com>
403 * === Released 2.17.1 ===
405 2008-06-11 A. Walton <awalton@gnome.org>
407 * tests/g-file.c (test_g_file_new_null):
408 Fix broken test case.
410 2008-06-11 Matthias Clasen <mclasen@redhat.com>
412 * pltcheck.sh: We use g_clear_error now.
414 2008-06-11 Matthias Clasen <mclasen@redhat.com>
416 * glocalfile.c (g_local_file_enumerate_children): Revert
417 an unintended change.
419 2008-06-11 Matthias Clasen <mclasen@redhat.com>
421 * gfile.c (g_file_replace_contents): Don't unref before the last use.
423 2008-06-10 Matthias Clasen <mclasen@redhat.com>
425 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
428 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
429 as icon for the desktop directory, also make user-home and
430 user-desktop the preferred icons.
432 2008-06-10 Matthias Clasen <mclasen@redhat.com>
435 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
436 to add a name to the front of the list.
438 2008-06-10 Matthias Clasen <mclasen@redhat.com>
440 Bug 537392 – Additional colon in xattr name
442 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
443 too. Reported by Alessandro Morandi
445 2008-06-10 Matthias Clasen <mclasen@redhat.com>
447 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
450 * glocalfile.c (get_fs_type): Add afs and autofs.
451 Patch by Danny Baumann.
453 2008-06-10 Matthias Clasen <mclasen@redhat.com>
455 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
457 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
458 is no parent. (Owen Taylor, patch by Christian Neumair)
460 2008-06-10 Paolo Borelli <pborelli@katamail.com>
462 * gfile.c (g_file_replace_contents): do not leak the output stream.
464 2008-06-10 Michael Natterer <mitch@imendio.com>
466 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
467 uninitialized memory as array index.
469 2008-06-10 Tor Lillqvist <tml@novell.com>
471 * gcontenttype.c (g_content_type_can_be_executable)
472 (g_content_type_get_icon) [Win32]: Add TODO comments.
474 2008-06-09 Matthias Clasen <mclasen@redhat.com>
476 * xdgmime/Makefile.am: Fix the build
478 2008-06-09 Matthias Clasen <mclasen@redhat.com>
480 * gcontenttype.c (g_content_type_get_icon): Use icons specified
481 in the shared mime database, if available.
483 * xdgmime/*: Sync with upstream. This brings support for
484 glob weights, generic icons, and changes the cache format to
487 2008-05-28 Michael Natterer <mitch@imendio.com>
489 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
490 the global CPPFLAGS now.
492 * tests/data-input-stream.c
493 * tests/data-output-stream.c
494 * tests/g-file-info.c
496 * tests/live-g-file.c
497 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
499 2008-05-27 Matthias Clasen <mclasen@redhat.com>
501 * === Released 2.17.0 ===
503 * tests/live-g-file.c: Clean up after the tests, so make distcheck
504 doesn't complain about leftover files.
506 2008-05-27 simon.zheng <simon.zheng@sun.com>
508 * glocalfile.c: (g_local_file_query_filesystem_info):
509 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
511 2008-05-26 Michael Natterer <mitch@imendio.com>
513 * gmemoryoutputstream.h: declare
514 g_memory_output_stream_get_data_size().
516 2008-05-26 Matthias Clasen <mclasen@redhat.com>
518 * tests/*: Make tests work
520 2008-05-26 Matthias Clasen <mclasen@redhat.com>
522 * gio.symbols: Add g_memory_output_stream_get_data_size.
524 2008-05-25 Ross Burton <ross@burtonini.com>
527 Fix typo in error message (#534764).
529 2008-05-25 Ross Burton <ross@burtonini.com>
532 Fix circular dependency loop for gioenumtypes.h (#534759).
534 2008-05-19 Hans Breuer <hans@breuer.org>
536 * Makefile.am : EXTRA_DIST += makefile.msc
538 2008-05-17 Matthias Clasen <mclasen@redhat.com>
541 * gcontenttype.c: (g_content_type_from_mime_type):
542 New function to create a content type from a mime type. (#527175,
545 2008-05-17 Matthias Clasen <mclasen@redhat.com>
547 Bug 532965 – Should not return filesystem::free for certain file systems
549 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
550 free space for ncpfs.
552 2008-05-17 Matthias Clasen <mclasen@redhat.com>
554 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
556 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
557 st_dev might be zero.
559 2008-05-16 Tor Lillqvist <tml@novell.com>
561 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
562 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
564 2008-05-13 Bastien Nocera <hadess@hadess.net>
566 * gfile.c (has_valid_scheme): A URI scheme must start with a
567 letter, even if later more characters are allowed (#532852)
569 2008-05-05 Michael Natterer <mitch@imendio.com>
571 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
572 code from being checked in that breaks the build of applications
573 which use G_DISABLE_SINGLE_INCLUDES.
575 * makegioalias.pl: make the alias file include "glib.h" instead of
578 * gio.symbols: whitespace change to force regeneration of the
579 alias file after above script change.
581 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
583 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
585 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
587 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
589 2008-04-28 David Zeuthen <davidz@redhat.com>
591 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
592 displaying mounts in a subdirectory not accessible to the
595 2008-04-22 Michael Natterer <mitch@imendio.com>
597 * Makefile.am: fix library versioning (it was 0.0.0).
599 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
601 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
602 Default disable all loggings.
603 * fen/fen-kernel.c: (printevent), (port_add_kevent),
604 (port_fetch_event_cb): Fixed two macro nits.
606 2008-04-16 Matthias Clasen <mclasen@redhat.com>
608 * xdgmime/xdgmime.c: Rework the timestamp checking code
609 to protect against duplicate directories in XDG_DATA_DIRS.
610 Fixes fd.o bug 12513, reported by Joe Shaw.
612 2008-04-16 Matthias Clasen <mclasen@redhat.com>
614 Partically revert the last commit after realizing that
615 xdg_mime_media_type_equal doesn't have to init at all.
618 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
620 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
622 2008-04-16 Matthias Clasen <mclasen@redhat.com>
624 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
625 reported by Joe Shaw and Federico Mena Quintero.
627 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
628 (xdg_mime_media_type_equal): Turn into a wrapper around the
631 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
632 functions throughout.
634 2008-04-16 Michael Meeks <michael.meeks@novell.com>
636 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
637 tolerate an empty TryExec= line without failing; nautilus used
638 to create launchers with these in previous versions. Fixes #528433
640 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
642 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
643 after name. Fixes #527132.
645 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
647 * gfile.c: (g_file_replace):
650 2008-04-07 Matthias Clasen <mclasen@redhat.com>
652 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
654 * gfile.c (file_copy_fallback): Fix the argument order. Patch
655 by Christian Kellner.
657 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
659 * gunixmounts.c: (g_unix_mount_guess_should_display):
660 Don't list the user directory as a mount, fix potential issue
661 when other users have a similar naming and don't special case the
662 gvfs mounts there since that's not required (#525866)
664 2008-03-31 Alexander Larsson <alexl@redhat.com>
666 * glocalfile.c (get_parent):
669 2008-03-31 A. Walton <awalton@svn.gnome.org>
671 * gfile.c (g_file_query_file_type):
672 Always return a GFileType enum value (#520715).
674 2008-03-31 Alexander Larsson <alexl@redhat.com>
676 * glocalfileenumerator.c:
677 Read readdir() info in chunks (of 1000) and sort
678 the chunks by inode before stat:ing.
679 This is a 20% performance increase in testing
680 gvfs-ls on /usr/bin with cold cache.
682 2008-03-31 Alexander Larsson <alexl@redhat.com>
684 * gmemoryoutputstream.c:
685 Clarify docs for g_memory_output_stream_get_size.
686 Add g_memory_output_stream_get_data_size.
688 2008-03-30 Matthias Clasen <mclasen@redhat.com>
692 * gfile.h: Add g_file_query_file_type convenience function
693 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
695 2008-03-30 Matthias Clasen <mclasen@redhat.com>
698 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
700 2008-03-28 A. Walton <awalton@svn.gnome.org>
702 * giomodule.c (_g_io_modules_ensure_loaded):
703 Adds GIO_EXTRA_MODULES environment variable support, closing bug
706 2008-03-28 Alexander Larsson <alexl@redhat.com>
709 (copy_stream_with_progress):
712 2008-03-28 Alexander Larsson <alexl@redhat.com>
715 (copy_stream_with_progress):
716 (file_copy_fallback):
717 Fallback to g_file_query_info for source size
718 if g_file_input_stream_query_info fails. (#524579)
720 2008-03-28 Alexander Larsson <alexl@redhat.com>
722 * glocalfile.c (g_local_file_move):
723 Reuse old string instead of adding new one.
725 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
727 * fen/*.[hc]: still copyright issue. I hate copyright.
729 2008-03-27 Alexander Larsson <alexl@redhat.com>
731 * glocalfile.c (g_local_file_move):
732 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
733 file over directory. This is according to the docs and what the move via
734 copy+remove fallback does.
736 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
738 * fen/*.[hc]: Updated copyright.
740 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
742 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
744 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
746 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
747 not emit attribute changed events when optimizing changed events.
748 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
751 2008-03-19 Matthias Clasen <mclasen@redhat.com>
753 * gmountoperation.[hc]: Small documentation additions
755 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
757 * gunixmounts.c: (guess_mount_type):
758 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
760 2008-03-19 Alexander Larsson <alexl@redhat.com>
763 (copy_stream_with_progress):
764 Bump block side for copy to 64k to minimize
765 overhead for low latency links. (#523015)
767 2008-03-16 Tor Lillqvist <tml@novell.com>
769 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
770 depend on gio.def on Windows.
772 2008-03-12 David Zeuthen <davidz@redhat.com>
776 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
778 2008-03-14 Alexander Larsson <alexl@redhat.com>
782 Avoid redudant tests (#521851)
783 Patch from Josselin Mouette
785 2008-03-14 Alexander Larsson <alexl@redhat.com>
788 (g_file_monitor_is_cancelled):
789 Fix C89 issue (#521672)
790 Patch from Jens Granseuer
792 2008-03-14 Alexander Larsson <alexl@redhat.com>
794 * fam/fam-helper.[ch]:
796 Shut down fam (including removing fam GSource) when
797 module is unloaded (#521513)
798 Patch from Joe Marcus Clarke
800 2008-03-14 Alexander Larsson <alexl@redhat.com>
803 (_g_io_modules_ensure_loaded):
806 2008-03-14 Alexander Larsson <alexl@redhat.com>
809 (g_local_file_query_filesystem_info):
810 Use right define name for f_fstypename member check
812 2008-03-14 Alexander Larsson <alexl@redhat.com>
815 * fen/Makefile.am: Added.
816 * fen/fen-data.[ch]: Added.
817 * fen/fen-dump.[ch]: Added.
818 * fen/fen-helper.[ch]: Added.
819 * fen/fen-kernel.[ch]: Added.
820 * fen/fen-missing.[ch]: Added.
821 * fen/fen-node.[ch]: Added.
822 * fen/fen-sub.[ch]: Added.
823 * fen/gfendirectorymonitor.[ch]: Added.
824 * fen/gfenfilemonitor.[ch]: Added.
826 Added Solaris FEN file notification backend.
827 Patch from Lin Ma <Lin.Ma@Sun.COM>
829 2008-03-13 Tor Lillqvist <tml@novell.com>
831 * Makefile.am: Actually use the gio.def file when linking the
832 library on Windows. Produce .lib library for Microsoft's toolchain
833 when possible. Install the .lib and .def file like for the other
836 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
838 * tests/live-g-file.c:
839 Include live-g-file in standard set of tests, making a temporary
840 directory in source structure.
842 Clean target directory before the tests (write mode only)
844 2008-03-12 Tor Lillqvist <tml@novell.com>
846 Bug 517419 - gio win32 directory monitor
847 Implementation by Vlad Grecescu.
850 * win32/gwin32directorymonitor.h
851 * win32/gwin32directorymonitor.c: New files.
853 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
855 * Makefile.am: Add the win32 subdirectory.
857 2008-03-12 Tor Lillqvist <tml@novell.com>
859 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
860 normal struct stat on Unix but struct _stati64 on Windows to have
861 access to 64-bit file size information. Use that instead of struct
862 stat in the functions declared here in this private header.
864 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
865 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
866 warnings about unused functions and variables. Don't set
867 meaningless attributes like inode numbers on Windows.
869 2008-03-12 Benjamin Otte <otte@gnome.org>
872 trim whitespace so gtk-doc groks the function name
874 2008-03-12 Tor Lillqvist <tml@novell.com>
876 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
877 returning FALSE, on Win32.
879 2008-03-11 Alexander Larsson <alexl@redhat.com>
882 * glocalfileinfo.[ch]:
883 Correctly implement can_trash by actually
884 looking for a trash dir, not just assuming
887 2008-03-10 Matthias Clasen <mclasen@redhat.com>
889 * === Released 2.16.1 ===
891 2008-03-11 Alexander Larsson <alexl@redhat.com>
894 Fix crashes in new constructor and properties code
896 2008-03-10 Murray Cumming <murrayc@murrayc.com>
898 * gfile.c: Minor spelling correction in documentation:
899 existance -> existence.
901 2008-03-10 Matthias Clasen <mclasen@redhat.com>
903 * === Released 2.16.0 ===
905 2008-03-10 Matthias Clasen <mclasen@redhat.com>
907 * gio.symbols: Remove g_file_contains_file here, too.
909 2008-03-10 Matthias Clasen <mclasen@redhat.com>
911 * gthemedicon.c: Add properties to make bindings happy. (#517676,
912 Samuel Cormier-Iijima)
914 2008-03-08 Tor Lillqvist <tml@novell.com>
916 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
919 2008-03-07 Alexander Larsson <alexl@redhat.com>
922 (g_local_file_query_filesystem_info):
923 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
924 Patch from Jasper Lievisse Adriaanse
926 2008-03-06 Tor Lillqvist <tml@novell.com>
928 * gfileinfo.h: Correct milliseconds to microseconds in the doc
929 comments for the *_USEC attributes.
931 2008-03-06 Alexander Larsson <alexl@redhat.com>
933 * gfile.c (g_file_query_exists):
934 Add g_return_val_if_fail check (#520700)
936 2008-03-06 Alexander Larsson <alexl@redhat.com>
941 * gunionvolumemonitor.c:
944 * tests/live-g-file.c:
945 * xdgmime/xdgmimecache.c:
946 Fix sparse warnings (#519489)
948 2008-03-05 Alexander Larsson <alexl@redhat.com>
951 Make cancellation threadsafe (i.e.
952 guarantee its only done once, and always
955 * glocaldirectorymonitor.c:
956 Make sure we the monitor lives while the
957 mounts_changed callback is being called (#520484)
959 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
961 * gbufferedinputstream.c: Fix typo in parameter
964 2008-03-04 Alexander Larsson <alexl@redhat.com>
967 Remove deprecated symbols we kept for one release.
969 2008-03-04 Murray Cumming <murrayc@murrayc.com>
972 * goutputstream.c: Tiny documentation corrections.
974 2008-03-03 Alexander Larsson <alexl@redhat.com>
976 * gunionvolumemonitor.c:
978 Fix the adopt_orphan_mount vfunc to take a
979 volume_monitor reference in an ABI compat way.
980 This change is not API compat, but the added
981 arg is not used in the only user of this vfunc, so
982 all we get is a harmless warning in gvfs (#520169)
984 2008-03-01 Benjamin Otte <otte@gnome.org>
987 clarify docs for g_file_delete().
989 2008-02-29 Alexander Larsson <alexl@redhat.com>
993 Make sure empty files get text/plain type (#518720)
995 2008-02-27 Alexander Larsson <alexl@redhat.com>
1001 (g_unix_volume_mount):
1002 Add missing GMountMountFlags argument
1004 2008-02-26 Alexander Larsson <alexl@redhat.com>
1007 (g_local_file_delete):
1008 Handle filesystems (like ntfs-3g) that return EEXIST instead
1009 of ENOTEMPTY (#518816)
1011 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1013 * === Released 2.15.6 ===
1015 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1017 * gfile.c (g_file_find_enclosing_mount):
1018 * ginputstream.c (g_input_stream_set_pending):
1019 * glocalfile.c (g_local_file_find_enclosing_mount):
1020 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1021 * goutputstream.c (g_output_stream_set_pending):
1023 Fixup translator comments (#518578).
1025 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1027 * gfile.c (g_file_find_enclosing_mount):
1029 * glocalfile.c (g_local_file_find_enclosing_mount):
1032 Fix a few typos in translator comments and documentation.
1034 2008-02-25 Alexander Larsson <alexl@redhat.com>
1041 Add translator comments (#518578)
1043 2008-02-25 Alexander Larsson <alexl@redhat.com>
1046 Reintroduce g_file_contains_file, keep around for one
1047 unstable release cycle to avoid crashing to many apps.
1048 Make sure to delete after release.
1050 2008-02-25 Alexander Larsson <alexl@redhat.com>
1053 Remove deprecated g_file_contains_file.
1055 2008-02-25 Alexander Larsson <alexl@redhat.com>
1058 Emit actual change signals in an idle handler.
1059 This avoids reentrance and locking problems in
1060 the file notification backends.
1062 2008-02-25 Alexander Larsson <alexl@redhat.com>
1065 (g_unix_mount_guess_should_display):
1066 Remove type guessing, instead just display
1067 mounts in /media and in ~/.
1069 2008-02-25 Alexander Larsson <alexl@redhat.com>
1072 Make new strings reuse old ones.
1074 2008-02-25 Alexander Larsson <alexl@redhat.com>
1077 Implement trashing and filesystem::readonly for win32 (#517235)
1078 Patch from Yevgen Muntyan
1080 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1082 * gfileinfo.h: Documentation fixes.
1084 2008-02-22 Alexander Larsson <alexl@redhat.com>
1086 * gcontenttype.c (g_content_type_get_icon):
1087 Look at old-style gnome mime icon names too, as many
1088 have not moved to the new style.
1090 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1092 * *.c: Correct the @include in for section docs.
1094 2008-02-21 David Zeuthen <davidz@redhat.com>
1096 * glocalfileinfo.c: (_g_local_file_info_get):
1098 (g_content_type_get_icon): Implement this function by
1099 moving bits from glocalfileinfo.c
1100 (g_content_type_get_description): Unalias before getting
1101 description (#517687)
1103 * gfile.c: (g_file_class_init),
1104 (g_file_query_filesystem_info_async),
1105 (g_file_query_filesystem_info_finish),
1106 (query_filesystem_info_data_free),
1107 (query_filesystem_info_async_thread),
1108 (g_file_real_query_filesystem_info_async),
1109 (g_file_real_query_filesystem_info_finish):
1110 * gfile.h: Implement async version of
1111 g_file_query_filesystem_info()
1113 * gfileinfo.h: Add new attributes for filesystem::use-preview
1115 * gio.symbols: Update
1117 * gthemedicon.c: (g_themed_icon_append_name):
1118 * gthemedicon.h: Add new new convenience function.
1120 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1121 (get_mounts), (get_volumes), (get_connected_drives),
1122 (get_volume_for_uuid), (get_mount_for_uuid),
1123 (g_union_volume_monitor_init), (populate_union_monitor),
1124 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1125 (g_volume_monitor_adopt_orphan_mount):
1127 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1128 monitor implementations to call into the main volume monitor. Also
1129 separate object initialization and volume monitor initialization
1130 such that non-native volume monitors can properly adopt their
1133 2008-02-21 Alexander Larsson <alexl@redhat.com>
1138 2008-02-21 Alexander Larsson <alexl@redhat.com>
1141 Add more documentation about how GFiles work (from #517086)
1143 2008-02-21 Alexander Larsson <alexl@redhat.com>
1147 Add new g_file_has_prefix that does the same as g_file_contains_file.
1148 Deprecate g_file_contains_file and add a macro that converts
1149 it to g_file_has_prefix.
1150 The reason for this change is that the contains_file() name seems to
1151 imply that this does more work than what it does, but its really only
1152 a name match (from #517086)
1157 Update to match the above change.
1159 2008-02-20 Benjamin Otte <otte@gnome.org>
1161 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1162 (g_file_eject_mountable):
1163 even more cases of not returning in error path
1165 2008-02-20 Benjamin Otte <otte@gnome.org>
1167 * gfile.c: (g_file_mount_mountable):
1168 return from function in error path.
1170 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1173 Remove trailing coma in GMountMountFlags struct
1175 2008-02-18 Alexander Larsson <alexl@redhat.com>
1179 * glocalfileoutputstream.c:
1180 Use g_unlink/g_rename instead of unlink/rename;
1181 do not pass raw filenames to g_set_error. (#517239)
1182 Patch from Yevgen Muntyan.
1184 2008-02-18 Alexander Larsson <alexl@redhat.com>
1187 * glocalfileoutputstream.c:
1188 Open files with O_BINARY on windows. (#517140)
1190 2008-02-14 Alexander Larsson <alexl@redhat.com>
1192 * glocalfileoutputstream.c:
1193 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1195 2008-02-14 Alexander Larsson <alexl@redhat.com>
1198 Copy permissions with file on copy (#514084)
1199 This is what cp does and makes sure e.g. the
1200 exec permissions are kept.
1201 Its kinda weird in that it keeps the permission bits
1202 the same while the uid and gid are different. However
1203 the new uid is the user so its not a security issue,
1204 and I've heard no complaints about cp on this issue.
1206 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1208 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1210 2008-02-13 Alexander Larsson <alexl@redhat.com>
1212 * inotify/inotify-path.c:
1213 Define IN_ONLYDIR if not in header (#515346)
1215 2008-02-12 Alexander Larsson <alexl@redhat.com>
1217 * tests/live-g-file.c:
1220 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1222 * === Released 2.15.5 ===
1224 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1226 * gio.symbols: Add g_mount_mount_flags_get_type.
1228 2008-02-11 Alexander Larsson <alexl@redhat.com>
1231 (g_file_info_set_attribute_mask):
1232 (g_file_attribute_matcher_matches_id):
1233 Correctly handle NULL GAttributeMatcher meaning
1234 matches nothing. (Fixes #513492)
1236 2008-02-11 Alexander Larsson <alexl@redhat.com>
1241 Added GMountMountFlags enum and added a flags
1242 argument to all mount calls.
1244 This is an API/ABI change for future extensibility,
1245 as I think we will need at least an
1246 inhibit-autorun flag (the panel needs this).
1247 There are no flags defined yet though.
1249 2008-02-11 Alexander Larsson <alexl@redhat.com>
1252 Added new standard::description attribute.
1253 Requested by Vincent, and useful for both
1256 2008-02-11 Alexander Larsson <alexl@redhat.com>
1258 * gdesktopappinfo.c:
1261 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1263 * *.c: Documentation additions
1265 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1267 * gappinfo.h: Formatting cleanup
1268 * gappinfo.c: Fix up docs.
1270 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1272 * gunixmounts.c: Consistently use getmntent_r() and fall
1273 back to getmntent(). (#515492)
1275 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1277 * gbufferedinputstream.c:
1279 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1281 * tests/data-input-stream.c:
1282 * tests/data-output-stream.c: Portability fixes.
1284 2008-02-08 Alexander Larsson <alexl@redhat.com>
1289 Add g_volume_should_automount.
1292 2008-02-07 Tor Lillqvist <tml@novell.com>
1294 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1295 Win32, too Unix-specific.
1297 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1299 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1300 a local plt if the compiler doesn't support what we want. Bug #514702
1302 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1304 reviewed by: <delete if not using a buddy>
1307 * gunixinputstream.c:
1308 * gunixoutputstream.c:
1310 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1312 * tests/Makefile.am:
1313 * tests/live-g-file.c:
1314 * tests/live-g-file.txt:
1315 New GIO testing module working over real data
1317 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1319 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1320 Fallback to rename() if link() is not available
1321 (when no support on target filesystem)
1323 2008-02-06 Michael Natterer <mitch@imendio.com>
1325 * gfileinfo.c (g_file_info_get_icon): replace
1326 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1328 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1330 * gfile.c (g_file_create):
1331 Documentation update of error codes
1333 2008-02-06 Alexander Larsson <alexl@redhat.com>
1335 * gdesktopappinfo.c:
1336 Update to use both mimeapps.list and
1337 defaults.list as discussed on xdg list.
1339 2008-02-06 Benjamin Otte <otte@gnome.org>
1342 * gfilenamecompleter.c:
1343 Fix some typos in the documentation.
1345 2008-02-06 Alexander Larsson <alexl@redhat.com>
1347 * glocalfile.c (g_local_file_trash):
1348 Don't succeed with trash if newly created
1349 trash dir has the wrong owner. (#514696)
1351 2008-02-05 Alexander Larsson <alexl@redhat.com>
1353 * glocalfile.c (g_local_file_move):
1354 Don't spew warnings when destination is not
1357 2008-02-03 Hans Breuer <hans@breuer.org>
1359 * makefile.msc : update
1361 2008-02-01 Michael Natterer <mitch@imendio.com>
1363 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1364 return value of xdg_mime_list_mime_parents() to a variable of the
1367 2008-02-01 Alexander Larsson <alexl@redhat.com>
1369 * gappinfo.c (g_app_info_launch_uris):
1370 Actually call the launch_uris method, not
1373 2008-02-01 Alexander Larsson <alexl@redhat.com>
1375 * gdesktopappinfo.c (g_desktop_app_info_equal):
1376 Ensure appinfos with no id but same pointer value
1379 2008-02-01 Alexander Larsson <alexl@redhat.com>
1381 * gappinfo.c (g_app_info_launch_default_for_uri):
1384 2008-02-01 Alexander Larsson <alexl@redhat.com>
1388 Add g_app_info_launch_default_for_uri utility
1391 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1393 * gdesktopappinfo.c:
1394 Doc fix for g_app_info_get_default_for_uri_scheme ()
1397 2008-01-30 Alexander Larsson <alexl@redhat.com>
1400 Add doc comment about uris vs GFiles to
1403 * gdesktopappinfo.c:
1404 Ensure uris passed to g_app_info_launch_uris()
1405 are not roundtriped through GFile (as that
1406 may be slightly destructive for e.g. mailto: links)
1408 2008-01-30 Alexander Larsson <alexl@redhat.com>
1410 * tests/data-input-stream.c:
1411 * tests/data-output-stream.c:
1412 C89 fixes from Jens Granseuer (#512849)
1414 2008-01-30 Alexander Larsson <alexl@redhat.com>
1417 Fix gamin/fam difference build issue. (#509419)
1419 2008-01-29 Alexander Larsson <alexl@redhat.com>
1422 * gdesktopappinfo.c:
1423 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1425 2008-01-29 Alexander Larsson <alexl@redhat.com>
1427 * gdesktopappinfo.c:
1428 * gdesktopappinfo.h:
1429 giomodule-priv.h include moved to .c file.
1431 2008-01-29 Alexander Larsson <alexl@redhat.com>
1433 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1434 Remove unused prio/name fields.
1436 2008-01-29 Alexander Larsson <alexl@redhat.com>
1438 * gcontenttype.c (looks_like_text):
1439 Don't treat whitespace as control chars.
1441 2008-01-29 Alexander Larsson <alexl@redhat.com>
1443 * gdesktopappinfo.c:
1444 Lazily create the desktop files for appinfos created
1445 by g_app_info_create_from_commandline() when needed
1446 for mime associations. This allows run-time use
1447 of GAppInfo object without creating unnecessary
1450 2008-01-29 Alexander Larsson <alexl@redhat.com>
1453 Added new symbols to gio.symbols
1455 2008-01-29 Alexander Larsson <alexl@redhat.com>
1458 Add g_file_query_default_handler utility to easily look up
1459 the GAppInfo that handles a file.
1461 * gdesktopappinfo.[ch]:
1463 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1466 Remove unused function
1468 2008-01-29 Alexander Larsson <alexl@redhat.com>
1470 * gfileenumerator.c:
1471 Mention need to free returned value in
1472 g_file_enumerator_next_files_finish docs.
1473 Fix leak if g_file_enumerator_next_files_finish()
1476 2008-01-29 Alexander Larsson <alexl@redhat.com>
1479 (_g_unix_content_type_get_parents):
1480 Use list_parents, not get_parents from xdgmime, because
1481 the later doesn't use the cache.
1483 * xdgmime/xdgmimecache.c:
1484 (_xdg_mime_cache_list_mime_parents):
1485 Don't list the same type as parent multiple times.
1487 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1489 * === Released 2.15.4 ===
1491 2008-01-28 Alexander Larsson <alexl@redhat.com>
1494 Register local vfs with prio 0.
1497 Remove old name and prio class members
1499 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1501 * tests/g-file.c: Disable some tests that are failing in
1502 the absence of a http backend.
1504 2008-01-28 Alexander Larsson <alexl@redhat.com>
1508 Add registration hooks for extension points.
1509 Register the gio extension points.
1511 * fam/gfamdirectorymonitor.c:
1512 * fam/gfamfilemonitor.c:
1513 * glocaldirectorymonitor.[ch]:
1514 * glocalfilemonitor.[ch]:
1515 * gnativevolumemonitor.h:
1516 * gunionvolumemonitor.c:
1517 * gunixvolumemonitor.c:
1520 * inotify/ginotifydirectorymonitor.c:
1521 * inotify/ginotifyfilemonitor.c:
1522 Use the extension points registration instead
1523 of g_type_children().
1525 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1528 * gvolume.[hc]: Document new API.
1530 * gfile.c (g_file_copy_async): Fix docs
1532 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1534 * gbufferedinputstream.c:
1536 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1539 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1541 * glocalfile.c: Avoid trivial differences in translatable strings.
1543 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1545 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1546 build with gcc 3.4 (#509419)
1548 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1550 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1551 (#509994, Murray Cumming)
1553 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1555 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1556 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1557 this allows big jobs to be executed in chunks, instead of blocking
1558 the main loop for a long time.
1560 * gsimpleasyncresult.c:
1561 * giofile.c: Adapt callers.
1563 2008-01-25 Alexander Larsson <alexl@redhat.com>
1565 * gdesktopappinfo.c:
1566 Implement changes discussed on xdg list.
1567 Now we can add supported mimetypes by just using defaults.list
1568 We can also remove associations in defaults.list.
1570 2008-01-25 Alexander Larsson <alexl@redhat.com>
1572 * gdesktopappinfo.c:
1573 Don't make local copy of desktop file
1574 for mimetype changes if the file already
1575 supports the new mimetype.
1577 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1581 * gbufferedinputstream.c:
1582 * glocalfile.c: String improvements. (#511966,
1583 Theppitak Karoonboonyanan)
1585 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1587 * gioscheduler.h: Expand docs a bit.
1589 2008-01-24 Alexander Larsson <alexl@redhat.com>
1592 Add g_drive_get_identifier and
1593 g_drive_enumerate_identifiers
1596 Add g_volume_get_identifier and
1597 g_volume_enumerate_identifiers
1603 Implement identifiers for unix backend
1605 2008-01-24 Alexander Larsson <alexl@redhat.com>
1610 Add g_file_copy_async() (#511580)
1611 Based on patch from Carlos Garcia Campos
1613 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1615 * gioscheduler.c: Some documentation additions.
1617 2008-01-22 Alexander Larsson <alexl@redhat.com>
1619 * gdesktopappinfo.c:
1620 (g_desktop_app_info_new):
1621 Don't leak basename.
1623 2008-01-22 Alexander Larsson <alexl@redhat.com>
1625 * gdesktopappinfo.c:
1626 (g_desktop_app_info_new_from_filename):
1629 2008-01-22 Alexander Larsson <alexl@redhat.com>
1631 * glocalfileinfo.c (get_thumbnail_attributes):
1634 2008-01-22 Alexander Larsson <alexl@redhat.com>
1637 (canonicalize_filename):
1638 Canonicalize paths that start with more than
1642 (compare_two_files):
1643 (test_g_file_new_for_path):
1646 2008-01-22 Alexander Larsson <alexl@redhat.com>
1649 Allow UTF-8 in file:// parse names.
1651 * tests/Makefile.am:
1652 * tests/data-input-stream.c:
1653 * tests/data-output-stream.c:
1654 * tests/g-file-info.c:
1656 Added a bunch of tests from Tomas Bzatek
1658 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1660 * === Released 2.15.3 ===
1662 2008-01-21 Alexander Larsson <alexl@redhat.com>
1664 * gfileinputstream.[ch]:
1665 * gfileoutputstream.[ch]:
1667 Remove duplicated GSeekable functions. (#509990)
1668 Just use the g_seekable_xxx() calls instead.
1670 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1673 * gvolumemanager.c: Whitespace cleanups.
1675 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1676 Use the right mode when creating the file.
1678 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1680 * gfileenumerator.c:
1681 * gfileinputstream.c:
1683 * goutputstream.c: Documentation: Fixed minor typos
1684 and added more mentions of specific _finish() functions.
1686 2008-01-21 Alexander Larsson <alexl@redhat.com>
1688 * inotify/Makefile.am:
1689 * inotify/inotify-helper.c:
1690 * inotify/inotify-kernel.c:
1691 * inotify/inotify-path.c:
1692 * inotify/local_inotify.h: Removed.
1693 * inotify/local_inotify_syscalls.h: Removed.
1694 Removed the included copies of the inotify
1695 headers. We now only use the <sys/inotify.h>
1696 header which exists on modern systems.
1697 This fixes problems on ARM and SH5 (#510448)
1698 but is also generally much cleaner and future
1699 safe. For instance, if other OSes add support
1700 for inotify it should "just work".
1702 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1704 * inotify/*.c: Coding style fixes.
1705 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1706 for the 1/4 Hz timer.
1708 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1711 * gfilemonitor.[hc]:
1712 * gmemoryinputstream.c:
1713 * gmemoryoutputstream.c:
1714 * gmountoperation.c:
1715 * gthemedicon.c: Documentation updates
1717 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1719 * gfile.c: documentation: Fixed more minor
1722 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1724 * gmount.c: (g_mount_remount): documentation:
1725 Mention g_mount_remount_finish() instead of
1726 g_mount_unmount_finish().
1728 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1732 * gfile.c: Fixed some minor typos in the
1735 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1737 * gio/gvolumemonitor.c:
1738 (g_volume_monitor_get_connected_drives):
1739 (g_volume_monitor_get_volumes):
1740 (g_volume_monitor_get_mounts): Documentation:
1741 Clarify the ownership of the regurn GLists.
1743 2008-01-17 Alexander Larsson <alexl@redhat.com>
1746 Add the async find_enclosing_mount version
1747 to the header file too.
1749 2008-01-17 Alexander Larsson <alexl@redhat.com>
1752 Add async version of find_enclosing_mount
1753 with default implementation.
1755 2008-01-17 Alexander Larsson <alexl@redhat.com>
1760 Allow calls to implementation of copy and write
1761 even if the type of the file implementations is
1762 different. This can be used to implement native
1763 upload and download calls in a vfs.
1766 (g_local_file_move):
1767 Protect against the case where move is called
1768 with one file not being local.
1770 Make sure we call the progress callback once
1771 in the native move operation so that the caller
1772 knows how many bytes were copied.
1774 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1777 * gdatainputstream.c:
1779 * gfileoutputstream.c:
1784 * gunixmounts.c: Corrected some typos in the documentation:
1785 occured -> occurred.
1786 its -> it's (where appropriate).
1788 2008-01-16 Alexander Larsson <alexl@redhat.com>
1792 Add g_file_query_exists (#508771)
1794 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1799 * gvolume.c: For async functions that have no non-async
1800 version, document that the GAsyncReadyCallback may be NULL.
1803 2008-01-15 Alexander Larsson <alexl@redhat.com>
1805 * gmemoryinputstream.c:
1806 * gmemoryoutputstream.c:
1807 Don't do pointer arithmetic on void * (#508602)
1808 Patch from Kazuki IWAMOTO
1810 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1812 * === Released 2.15.2 ===
1814 2008-01-14 Alexander Larsson <alexl@redhat.com>
1816 * gfile.c (g_file_monitor_file):
1817 Don't set error here, since we fallback to polling monitor.
1819 2008-01-14 Alexander Larsson <alexl@redhat.com>
1822 (g_file_monitor_directory):
1823 (g_file_monitor_file):
1824 Add GError to file monitor calls
1826 * glocaldirectorymonitor.c:
1827 * glocaldirectorymonitor.h:
1829 * glocalfilemonitor.c:
1830 * glocalfilemonitor.h:
1832 Update for above change
1834 2008-01-14 Alexander Larsson <alexl@redhat.com>
1838 Handle root correctly in g_file_get_relative_path (#508719)
1840 2008-01-14 Alexander Larsson <alexl@redhat.com>
1843 Clean up docs and example for GAsyncResult (#508074)
1845 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1847 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1848 and correct some spelling mistakes. Bug #508108.
1850 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1852 * glocalfileinfo.c: Add a comment.
1854 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1856 * gfileinfo.c: GFileInfo description: Mention
1857 how to actually set attributes in a GFile and how to discover
1858 which attributes are settable. Bug #508378.
1860 2008-01-10 A. Walton <awalton@svn.gnome.org>
1862 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1863 (g_app_info_get_default_for_type):
1864 Check for NULL content types.
1866 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1868 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1870 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1872 * gfile.c: *_async() functions: Several small corrections
1873 to the documentation, mostly correcting copy/paste errors
1874 and improving some sentences.
1876 2008-01-09 Dan Winship <danw@gnome.org>
1878 * glocalfile.c (get_unique_filename): x86_64 fix
1880 2008-01-09 Alexander Larsson <alexl@redhat.com>
1885 Add g_unix_mount_guess_should_display and use
1886 for unix volume monitor backend.
1887 This means we more or less show what the
1888 gnome-vfs backend did.
1889 Based on patch from Padraig O'Briain
1891 2008-01-09 Alexander Larsson <alexl@redhat.com>
1895 Add g_themed_icon_new_with_default_fallbacks
1898 Use default fallbacks for icons
1900 2008-01-09 Alexander Larsson <alexl@redhat.com>
1903 * gmountoperation.[ch]:
1904 Change the API a bit so that unhandled methods
1905 get reported via the reply, rather than by
1906 the signal emission return value. This is because
1907 some handlers can't know this immediately without
1908 doing I/O, and this is an async operation that
1911 2008-01-09 Alexander Larsson <alexl@redhat.com>
1914 * fam/gfamdirectorymonitor.c:
1915 * fam/gfamfilemonitor.c:
1916 Fix double free crash (#508224)
1917 Patch from Joe Marcus Clarke
1919 008-01-07 Matthias Clasen <mclasen@redhat.com>
1921 * === Released 2.15.1 ===
1923 2008-01-07 Alexander Larsson <alexl@redhat.com>
1925 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1926 Fix warning (#507835)
1928 2008-01-07 Alexander Larsson <alexl@redhat.com>
1931 Pass --internal to glib-genmarshal
1934 * gmountoperation.c:
1936 Use better types for signal arguments (#507822)
1938 2008-01-07 Alexander Larsson <alexl@redhat.com>
1941 Build test subdir after .
1942 Remove gdirectorymonitor.[ch]
1944 * gdirectorymonitor.[ch]:
1948 Remove GDirectoryMonitor and make
1949 GFileMonitor the baseclass for both file and
1950 directory monitors. Lift the more generic
1951 rate limiting code from GDirectoryMonitor
1955 * fam/gfamdirectorymonitor.[ch]:
1956 * inotify/ginotifydirectorymonitor.[ch]:
1957 * inotify/inotify-helper.c:
1958 * glocaldirectorymonitor.[ch]:
1961 Update for the removed GDirectoryMonitor.
1963 * gmemoryoutputstream.c:
1964 Remove ununsed variable
1966 2008-01-07 Alexander Larsson <alexl@redhat.com>
1968 * gmemoryinputstream.c:
1969 Translate error strings
1972 * gmemoryoutputstream.[ch]:
1973 New implementation that avoids using GByteArray
1974 in implementation and API. (#506377)
1976 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1978 * tests/*: Add a test for memory input streams.
1980 * Makefile.am: Add tests to SUBDIRS.
1982 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1984 * glocalfilemonitor.c:
1985 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1988 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1990 * gdesktopappinfo.c: Fix a docs typo.
1992 * gfileattribute.c: Add information about extended attributes
1993 to the documentation. (#505058)
1995 2008-01-04 Alexander Larsson <alexl@redhat.com>
1998 * gmountoperation.c:
1999 Use the right type (uint) for the ask_password signal.
2001 2008-01-04 Alexander Larsson <alexl@redhat.com>
2006 Add g_app_info_supports_files()
2007 Remove desktop arg from g_app_info_should_show().
2009 * gdesktopappinfo.[ch]:
2010 Implement g_app_info_supports_files() and new should_show()
2011 Add g_desktop_app_info_set_desktop_env() to set the desktop
2012 for should_show(). (This will be set by gtk+ later)
2014 2008-01-04 Alexander Larsson <alexl@redhat.com>
2017 * gmemoryinputstream.[ch]:
2018 Improve API so that you can use multiple chunks
2019 of memory and custom destroy functions. (#506374)
2021 2008-01-03 Alexander Larsson <alexl@redhat.com>
2024 Handle NULL attribute matchers safely, as we return this
2025 for empty attribute matcher strings.
2027 2008-01-03 Alexander Larsson <alexl@redhat.com>
2029 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2030 Add /usr/local to list of internal mountpoints
2032 2008-01-03 Alexander Larsson <alexl@redhat.com>
2035 Check for HAVE_LCHOWN (#505887)
2037 2008-01-03 Alexander Larsson <alexl@redhat.com>
2041 Add define for selinux context attribute.
2042 Fix missing : -> :: namespace separator change
2043 Fix missing _ -> - name change for xattr-sys.
2046 2008-01-03 Alexander Larsson <alexl@redhat.com>
2049 Link to libglib and libgobject directly (#504879)
2050 Patch from Sebastien Bacher
2052 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2054 * gfile.c: Expanded the g_file_new_for_commandline_arg
2055 description a bit, based on the code and the docs of the
2056 other g_file_new_for_* functions.
2058 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2060 * gfilemonitor.h: Fixed typo in docs.
2062 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2064 Updates to GIO documentation. (#506395, Mikael Hermansson)
2066 * gcontenttype.c: Describe memory management for return value of
2067 g_content_types_get_registered(). Missing piece from #505815.
2068 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2069 GVolume, GDrive, GMounts, which hopefully gives the user less
2070 confusions when using this API. Following explainations from
2071 Alexander Larsson on gtk-devel-list.
2073 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2075 * gfileinfo.c: Expand the long description.
2077 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2080 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2081 fix builds with --disable-visibility. (#500273, Christian Persch)
2083 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2085 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2086 in the list of returned app infos.
2088 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2090 * gappinfo.c: Fix a cross-reference
2092 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2094 * gfileinputstream.c:
2095 * gfileoutputstream.c:
2099 * gdesktopappinfo.c:
2101 * gfileinfo.c: Documentation updates.
2103 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2105 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2108 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2110 * gcontenttype.c (g_content_types_get_registered): Don't return
2111 freed memory (#505815, Mikael Hermansson)
2113 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2115 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2116 used to detect statbuf->st_blocks. (#505042)
2118 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2120 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2121 environment handling. (#504829, Cosimo Cecchi)
2123 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2125 * gappinfo.c: Doc improvements
2127 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2130 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2132 * === Released 2.15.0 ===
2134 2007-12-20 Hans Breuer <hans@breuer.org>
2136 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2137 with symbols gwin32appinfo.obj, added gmount.obj
2138 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2140 2007-12-20 Alexander Larsson <alexl@redhat.com>
2146 * gfilenamecompleter.c:
2149 * gpollfilemonitor.c:
2150 File attribute renames:
2152 fs:: -> filesystem::
2153 id::fs -> id::filesystem
2155 2007-12-20 Alexander Larsson <alexl@redhat.com>
2164 Add GMountUnmountFlags to all unmount and
2166 Add g_mount_remount() call.
2168 2007-12-20 Alexander Larsson <alexl@redhat.com>
2170 * gvfs.c (get_default_vfs):
2171 Fix unused variable warning
2173 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2175 * pltcheck.sh: Update
2177 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2179 * gunionvolumemonitor.c:
2180 * gunixmount.c: Remove C99 comments
2182 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2184 * gio.symbols: Add some missing symbols
2186 2007-12-19 Alexander Larsson <alexl@redhat.com>
2189 Make g_io_modules_load_all_in_directory not unuse
2190 loaded modules so that users of it can do stuff
2192 Init internal "module" types.
2193 Initialize static prio and name for types so that
2194 we don't have to load modules to get it.
2196 * gnativevolumemonitor.h:
2198 Move is_supported to parent class so that
2199 non-native monitors can avoid being initialized
2200 too. (For instance GDaemonVolumeMonitor if we're
2201 not using GDaemonVfs.)
2203 * glocaldirectorymonitor.[ch]:
2204 * glocalfilemonitor.[ch]:
2205 * gunionvolumemonitor.c:
2206 * gunixvolumemonitor.c:
2208 Find plugins using the static prio+name to
2209 avoid unnecessarily loading the modules.
2211 2007-12-19 Alexander Larsson <alexl@redhat.com>
2216 2007-12-19 Alexander Larsson <alexl@redhat.com>
2218 * gunionvolumemonitor.c:
2219 Store the native type as GType, not class so that
2220 we can unload it. But still avoid unnecessarily
2223 2007-12-19 David Zeuthen <davidz@redhat.com>
2225 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2226 add signals 'disconnected' and 'eject-button' on GDrive. Add
2227 signal 'removed' on GVolume and 'unmounted' on GMount.
2229 * gdrive.c: (g_drive_base_init):
2231 * gfile.c: (g_file_mount_mountable),
2232 (g_file_mount_enclosing_volume):
2235 * gmount.c: (g_mount_base_init):
2237 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2238 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2239 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2243 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2245 * *.c: Fix up includes in the section docs.
2247 2007-12-17 Alexander Larsson <alexl@redhat.com>
2249 * gnativevolumemonitor.h:
2250 * gunionvolumemonitor.c:
2251 * gunixvolumemonitor.c:
2252 Add is_supported() to GNativeVolumeMonitorClass so
2253 that we can avoid having to create an object to see
2254 if the backend is supported at runtime.
2255 Also add name member and an env var to pick a specific
2256 volume monitor backend.
2260 Add cancellable to _g_mount_get_for_mount_path()
2262 * glocaldirectorymonitor.c:
2263 * glocalfilemonitor.c:
2264 Avoid loading and unloading modules while sorting.
2266 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2269 * gunixmounts.[hc]: Namespace waste reduction, move some
2270 g_get_unix_mount functions to the g_unix_mount namespace.
2273 * gunixvolumemonitor.c:
2275 * glocaldirectorymonitor.c: Update all callers.
2277 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2279 2007-12-17 Alexander Larsson <alexl@redhat.com>
2282 Add doc comments about what GFile operations are
2283 guaranteed to not block.
2285 2007-12-17 Alexander Larsson <alexl@redhat.com>
2288 Add missing #ifdef fixing OSX build.
2289 (#503334, patch from Richard Hult)
2291 2007-12-14 David Zeuthen <davidz@redhat.com>
2295 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2296 (g_mount_eject), (g_mount_eject_finish):
2298 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2299 (get_volume_for_uuid), (get_mount_for_uuid),
2300 (g_union_volume_monitor_class_init),
2301 (get_default_native_type_with_exclude), (get_default_native_type),
2302 (get_native_type), (update_native_type),
2303 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2304 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2305 (g_unix_mount_can_eject), (eject_unmount_cb),
2306 (eject_unmount_read_error), (eject_unmount_do),
2307 (g_unix_mount_unmount), (g_unix_mount_eject),
2308 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2309 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2310 (g_unix_mount_point_guess_can_eject):
2312 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2313 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2314 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2315 (g_unix_volume_mount), (g_unix_volume_eject),
2316 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2317 * gunixvolumemonitor.c: (get_volume_for_uuid),
2318 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2320 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2321 (g_volume_eject), (g_volume_eject_finish):
2323 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2324 (g_volume_monitor_get_mount_for_uuid):
2327 Provide eject() on both GMount and GVolume and utility functions
2328 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2329 ejected. Introduce the concept of UUID's and wire it into GVolume
2330 and GMount and provide API on GVolumeMonitor to find such
2331 instances. Also handle the case where an external
2332 GNativeVolumeMonitor fails to initialize. Lock around the
2333 _g_get_mount_for_mount_path() function such that volume monitor
2334 implementations won't have to do locking themselves.
2336 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2338 * gdesktopappinfo.c:
2344 * gvolume.h: Documentation updates
2346 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2349 * gfile.h: Doc updates
2351 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2354 * gdesktopappinfo.c: Use hash table iterators.
2356 2007-12-14 Alexander Larsson <alexl@redhat.com>
2359 * gfileattribute.[ch]:
2360 * gfileattribute-priv.h:
2361 Move GFileAttributeValue to a private header, as
2365 Make set_attribute take a type + a pointer instead
2366 of a GFileAttributeValue.
2369 Fix up for above changes.
2370 Add g_file_info_get_attribute_data to get
2371 all info in one call, g_file_info_get_attribute_status
2372 to get the status and g_file_info_get_attribute_as_string.
2376 * glocalfileinfo.[ch]:
2380 Make _guess_type static.
2382 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2385 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2386 made mkenums and friends use temporary files to avoid leaving
2387 empty generated files on failure (#503470).
2389 2007-12-14 Alexander Larsson <alexl@redhat.com>
2391 * gmountoperation.h:
2394 2007-12-14 Alexander Larsson <alexl@redhat.com>
2398 * gfileattribute.[ch]:
2401 * glocalfileoutputstream.c:
2402 * gmountoperation.[ch]:
2403 * goutputstream.[ch]:
2404 Clean up all flags enums to not have _FLAGS in them
2405 Make the names of some of the enums better.
2410 2007-12-14 Michael Natterer <mitch@imendio.com>
2412 * gio.symbols: fix g_io_scheduler symbol names.
2414 2007-12-14 Alexander Larsson <alexl@redhat.com>
2420 * gbufferedinputstream.h:
2421 * gbufferedoutputstream.h:
2424 * gdatainputstream.h:
2425 * gdataoutputstream.h:
2426 * gdesktopappinfo.h:
2427 * gdirectorymonitor.h:
2431 * gfileenumerator.h:
2434 * gfileinputstream.h:
2436 * gfilenamecompleter.h:
2437 * gfileoutputstream.h:
2438 * gfilterinputstream.h:
2439 * gfilteroutputstream.h:
2447 * gmemoryinputstream.h:
2448 * gmemoryoutputstream.h:
2450 * gmountoperation.h:
2453 * gsimpleasyncresult.h:
2455 * gunixinputstream.h:
2457 * gunixoutputstream.h:
2461 * inotify/Makefile.am:
2462 Only allow including <gio/gio.h> from apps
2464 2007-12-14 Alexander Larsson <alexl@redhat.com>
2466 * gioscheduler.[ch]:
2467 * gsimpleasyncresult.c:
2468 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2469 Split out the send_to_mainloop call into two versions instead
2470 of having the block argument.
2472 2007-12-13 Alexander Larsson <alexl@redhat.com>
2474 * gcancellable.[ch]:
2476 * gbufferedinputstream.c:
2477 * gfileenumerator.c:
2478 * gfileinputstream.c:
2479 * gfileoutputstream.c:
2483 g_push/pop_current_cancellable ->
2484 g_cancellable_push/pop_current
2486 2007-12-13 Alexander Larsson <alexl@redhat.com>
2490 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2492 2007-12-13 Alexander Larsson <alexl@redhat.com>
2494 * gmountoperation.h:
2495 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2497 2007-12-12 Alexander Larsson <alexl@redhat.com>
2500 Fix race condition when freeing proxy in
2501 g_io_job_send_to_mainloop().
2503 2007-12-12 Alexander Larsson <alexl@redhat.com>
2509 Make attribute namespace separator "::" instead of ":".
2510 Use - instead of _ as separator in attribute names.
2512 2007-12-12 Alexander Larsson <alexl@redhat.com>
2514 * gbufferedinputstream.h:
2515 * gbufferedoutputstream.h:
2516 * gdatainputstream.h:
2517 * gdataoutputstream.h:
2518 * gdirectorymonitor.h:
2519 * gfileenumerator.h:
2520 * gfileinputstream.h:
2522 * gfileoutputstream.h:
2523 * gfilterinputstream.h:
2524 * gfilteroutputstream.h:
2526 * glocalfileinputstream.h:
2527 * glocalfileoutputstream.h:
2528 * gmemoryinputstream.h:
2529 * gmemoryoutputstream.h:
2530 * gnativevolumemonitor.h:
2532 * gunixinputstream.h:
2533 * gunixoutputstream.h:
2536 s/parent/parent_instance/ in GObjects
2538 2007-12-12 Alexander Larsson <alexl@redhat.com>
2543 No need for padding for interfaces
2545 2007-12-12 Alexander Larsson <alexl@redhat.com>
2549 * gbufferedinputstream.c:
2550 * gbufferedoutputstream.c:
2553 * gdatainputstream.[ch]:
2554 * gdesktopappinfo.c:
2555 * gdirectorymonitor.c:
2557 * gfileattribute.[ch]:
2560 * gfileinputstream.h:
2561 * gfilemonitor.[ch]:
2562 * gfileoutputstream.[ch]:
2563 * gfilterinputstream.h:
2564 * gfilteroutputstream.h:
2567 * gloadableicon.[ch]:
2568 * gmemoryinputstream.c:
2569 * gmountoperation.c:
2571 Fix up a bunch of details in the docs.
2576 2007-12-11 David Zeuthen <davidz@redhat.com>
2578 Rework how volumes, drives and volume monitoring is
2579 done. Previosly the model was
2581 GDrive <1-1> GVolume
2583 where a GDrive instance represented a mount point and a GVolume
2584 instance represented a mounted file system. This patch changes it
2587 GDrive <1-N> GVolume <1-1> GMount
2589 where GMount now serves the purpose of the old GVolume and the new
2590 GVolume serves the purpose of the old GDrive. In addition the new
2591 GDrive interface is used to represent a collection of GVolume
2592 instances (typically partitions) and also contains utility to query
2593 the state of the physical drive the GDrive object represents (such
2594 as checking for media, polling the drive, ejecting the media etc.).
2596 Also implement mounting and unmounting in the Unix volume monitor
2597 backend. A subquent patch will introduce GDrive support for ejection
2601 * gdrive.c: (g_drive_is_media_check_automatic),
2602 (g_drive_is_media_removable), (g_drive_has_media),
2603 (g_drive_can_poll_for_media), (g_drive_eject),
2604 (g_drive_eject_finish), (g_drive_poll_for_media),
2605 (g_drive_poll_for_media_finish):
2607 * gfile.c: (g_file_find_enclosing_mount):
2610 * glocaldirectorymonitor.c:
2611 (g_local_directory_monitor_constructor), (mounts_changed):
2612 * glocalfile.c: (get_mount_info),
2613 (g_local_file_find_enclosing_mount),
2614 (g_local_file_file_iface_init):
2615 * gnativevolumemonitor.h:
2616 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2617 (get_connected_drives), (g_union_volume_monitor_class_init),
2618 (child_volume_added), (child_volume_removed),
2619 (child_volume_changed), (child_mount_added), (child_mount_removed),
2620 (child_mount_pre_unmount), (child_mount_changed),
2621 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2622 (g_union_volume_monitor_remove_monitor),
2623 (_g_mount_get_for_mount_path):
2624 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2625 (guess_system_internal), (_g_get_unix_mounts),
2626 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2627 (g_unix_mount_free), (g_unix_mount_compare),
2628 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2629 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2630 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2631 (type_to_icon), (g_unix_mount_guess_name),
2632 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2633 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2634 (_resolve_symlink), (_resolve_dev_root):
2636 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2637 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2638 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2639 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2640 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2641 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2642 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2643 (g_unix_volume_volume_iface_init):
2645 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2646 (get_mounts), (get_volumes), (get_connected_drives),
2647 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2648 (mountpoints_changed), (mounts_changed),
2649 (g_unix_volume_monitor_init),
2650 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2651 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2652 * gunixvolumemonitor.h:
2653 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2654 (g_volume_mount), (g_volume_mount_finish):
2656 * gvolumemonitor.c: (g_volume_monitor_class_init),
2657 (g_volume_monitor_get_connected_drives),
2658 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2661 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2663 * gmountoperation.h (GPasswordFlags): Close the gap
2665 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2667 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2669 * gdesktopappinfo.[hc]: Remove _-prefixes
2671 2007-12-10 Tor Lillqvist <tml@novell.com>
2673 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2676 2007-12-10 Alexander Larsson <alexl@redhat.com>
2678 * gfile.c (g_file_set_display_name):
2679 Don't hardcode '/' (#502727)
2681 2007-12-09 Hans Breuer <hans@breuer.org>
2683 * makefile.msc : follow lib naming convention
2684 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2685 for user and group name, tested with ../tests/gio-ls
2687 2007-12-09 A. Walton <awalton@svn.gnome.org>
2689 * gdesktopappinfo.c:
2695 * gfileenumerator.c:
2700 * gmemoryinputstream.c:
2701 * gmemoryoutputstream.c:
2703 * gsimpleasyncresult.c:
2704 More documentation cleanup and filling in missing information, bringing
2705 GIO to 99% symbol coverage.
2707 2007-12-08 Hans Breuer <hans@breuer.org>
2709 [gio compiles and links on win32, not sure how much already works]
2710 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2711 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2712 base on win32 API; prefer g_lstat() over lstat(); instead of
2713 localtime_r() use an all GLib implementation on win32;
2714 get_mount_info() still needs a win32 specifc implementation
2715 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2716 win32_get_file_user_info to get owner/group info without uid/gid
2717 * glocalfileinputstream.c : include <io.h> on win32
2718 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2719 definition, use g_win32_ftruncate() for G_OS_WIN32
2720 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2721 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2722 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2723 * makefile.msc : updated
2725 2007-12-07 Alexander Larsson <alexl@redhat.com>
2727 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2728 Avoid warning spew if error == NULL
2730 2007-12-07 Alexander Larsson <alexl@redhat.com>
2733 Update docs wrt etags
2735 2007-12-06 Alexander Larsson <alexl@redhat.com>
2738 Include sys/types.h for dev_t (#501919)
2740 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2744 Make abicheck and pltcheck pass.
2746 2007-12-05 Alexander Larsson <alexl@redhat.com>
2749 * giomodule-priv.h: Added.
2750 * glocaldirectorymonitor.c:
2751 * glocalfilemonitor.c:
2752 * gunionvolumemonitor.c:
2754 Actually add the declaration of _g_io_modules_ensure_loaded
2756 2007-12-05 Alexander Larsson <alexl@redhat.com>
2758 * gdatainputstream.c:
2763 * glocaldirectorymonitor.c:
2764 * glocalfilemonitor.c:
2765 * gunionvolumemonitor.c:
2767 Make g_io_modules_ensure_loaded a private function and
2768 don't pass in the dirname. This means we can do magic
2769 directory finding in the win32 version.
2770 Export the actual load-modules-in-directory code so that
2771 gvfs can reuse that.
2773 2007-12-05 Alexander Larsson <alexl@redhat.com>
2775 * gbufferedinputstream.c:
2776 * gbufferedoutputstream.c:
2779 * gfileenumerator.[ch]:
2780 * gfileinputstream.c:
2781 * gfileoutputstream.[ch]:
2782 * gfilterinputstream.c:
2783 * gfilteroutputstream.c:
2784 * ginputstream.[ch]:
2786 * glocalfileenumerator.c:
2787 * glocalfileinputstream.c:
2788 * glocalfileoutputstream.c:
2789 * gmemoryinputstream.c:
2790 * gmemoryoutputstream.c:
2791 * goutputstream.[ch]:
2794 * gunixinputstream.c:
2795 * gunixoutputstream.c:
2796 Rename all struct members named:
2797 read, write, close, truncate, or mount
2798 to foo_fn, as these are reserved names
2799 and could be defined as macros in libc.
2802 2007-12-04 Alexander Larsson <alexl@redhat.com>
2805 (g_output_stream_close):
2806 Only call flush if non-null.
2808 2007-11-30 Dan Winship <danw@gnome.org>
2810 * ginputstream.c (g_input_stream_set_pending): Make this take a
2811 GError and return a gboolean, and do the "outstanding operation"
2812 check (and the "stream is already closed" check) itself.
2813 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2815 * goutputstream.c (g_output_stream_set_pending)
2816 (g_output_stream_clear_pending): Likewise
2818 * gbufferedinputstream.c:
2819 * gfileinputstream.c:
2820 * gfileoutputstream.c: Update for that
2822 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2823 Like g_simple_async_report_error_in_idle, but takes a GError
2824 rather than building one.
2826 2007-11-30 Dan Winship <danw@gnome.org>
2828 * goutputstream.c: Don't cheat and unset the "pending" flag around
2829 inner calls. Instead, call the class method directly rather than
2830 the wrapper function that checks "pending"
2832 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2834 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2836 2007-12-03 Hans Breuer <hans@breuer.org>
2838 [start of port to win32/msvc]
2839 * gcancellable.c : HAVE_UNIST_H and _pipe()
2840 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2841 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2842 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2844 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2845 * glocalvfs.c : use HAVE_PWD_H
2846 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2847 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2848 * Makefile.am : added to EXTRA_DIST
2850 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2852 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2855 2007-12-03 Alexander Larsson <alexl@redhat.com>
2858 Handle OSX style xattrs API (#500506)
2860 2007-12-03 Alexander Larsson <alexl@redhat.com>
2864 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2866 2007-12-02 A. Walton <awalton@svn.gnome.org>
2870 Documentation accuracy fixes.
2872 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2874 * gioenumtypes.c.template: Fix typo.
2876 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2878 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2880 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2882 * gdirectorymonitor.c:
2883 * gfilemonitor.c: Add properties
2885 * gbufferedoutputstream.c: Don't mark buffer-size property
2888 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2890 * gbufferedoutputstream.c: Add auto-grow property.
2892 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2894 * *.c: Unify the capitalization of section headings.
2896 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2898 * gmountoperation.c: Add properties
2900 * gdatainputstream.c: Turn byte-order and newline-type into
2903 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2905 * gioenumtypes.[hc].template: Templates for enum registration
2907 * Makefile.am: Generate gioenumtypes.[hc]
2909 * gio.h: Include gioenumtypes.h
2911 * gfile.h: Add some explicit nicks.
2913 * gio.symbols: Add new symbols
2915 * pltcheck.sh: Adjust
2917 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2919 * *.c: Explain etags and link to the explanation
2921 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2923 * *.c: Explain I/O priority.
2925 * *.c: More coding style fixes.
2927 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2929 * gasyncresult.c: Add another paragraph to the intro,
2930 adjust coding style of example.
2932 2007-11-29 A. Walton <awalton@svn.gnome.org>
2935 Fixes unknown meaning in GAppLaunchContext docs.
2937 Clarify asynchronous ops.
2939 Fix entity tag docs.
2942 Provides missing gtk-doc section, fixes API docs slighly.
2943 * gsimpleasyncresult.c:
2944 Fill in missing info in docs.
2945 * gunixinputstream.c:
2946 * gunixoutputstream.c:
2947 Be more expressive in short description.
2949 Remove gtk-doc stubs for non-public API.
2951 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2953 * *.c: Coding style fixups
2955 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2957 * inotify/inotify-helper.c: Don't export the lock from libgio.
2959 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2962 * abicheck.sh: Fix copy-and-paste leftovers
2964 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2966 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2968 2007-11-28 Alexander Larsson <alexl@redhat.com>
2972 Removed unnecessary file
2974 * gdesktopappinfo.[ch]:
2977 * glocaldirectorymonitor.[ch]:
2979 * glocalfileenumerator.[ch]:
2980 * glocalfileinputstream.[ch]:
2981 * glocalfilemonitor.[ch]:
2982 * glocalfileoutputstream.[ch]:
2984 * gnativevolumemonitor.c:
2985 * gpollfilemonitor.[ch]:
2986 * gunionvolumemonitor.[ch]:
2989 * gunixvolumemonitor.[ch]:
2992 * inotify/ginotifydirectorymonitor.[ch]:
2993 * inotify/ginotifyfilemonitor.[ch]:
2994 * inotify/inotify-helper.c:
2995 Append _ to all internal functions
2999 Export symbols needed for modules
3001 2007-11-28 Alexander Larsson <alexl@redhat.com>
3004 * abicheck.sh: Added.
3005 * makegioalias.pl: Added.
3006 * pltcheck.sh: Added.
3007 * gio.symbols: Added.
3010 Initial work on adding symbol handling.
3013 Correct ifdef guard name
3016 * inotify/Makefile.am:
3017 * xdgmime/Makefile.am:
3018 Include toplevel Makefile.decl
3020 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3022 * gcontenttype.c: Move doc comments to the unix section.
3024 * *.[hc]: More trivial doc corrections.
3026 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3028 * gpollfilemonitor.c:
3032 * gdesktopappinfo.c:
3037 * gdatainputstream.c:
3038 * gdatainputstream.h:
3039 * gdataoutputstream.c:
3040 * gdataoutputstream.h:
3041 * gfileinfo.h: Doc cleanups
3043 2007-11-28 Andre Klapper <a9016009@gmx.de>
3045 * gdesktopappinfo.c: Fix a typo.
3047 2007-11-27 Andre Klapper <a9016009@gmx.de>
3049 * glocalfileoutputstream.c: Fix a typo.
3051 2007-11-27 Alexander Larsson <alexl@redhat.com>
3054 Don't include removed headers
3056 2007-11-27 Alexander Larsson <alexl@redhat.com>
3059 * gsocketinputstream.[ch]: Removed.
3060 * gsocketoutputstream.[ch]: Removed.
3061 * gunixinputstream.[ch]: Added.
3062 * gunixoutputstream.[ch]: Added.
3063 Renamed GSocket*Stream to GUnix*Stream and made
3064 it unix-only, since its not really only for sockets
3065 and it only works on unix (but is highly useful there).
3067 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3073 * gbufferedinputstream.c:
3074 * gbufferedinputstream.h:
3075 * gbufferedoutputstream.c:
3076 * gbufferedoutputstream.h:
3080 * gdatainputstream.c:
3081 * gdatainputstream.h:
3082 * gdataoutputstream.c:
3083 * gdataoutputstream.h:
3084 * gdirectorymonitor.c:
3085 * gdirectorymonitor.h:
3092 * gfileenumerator.c:
3093 * gfileenumerator.h:
3098 * gfileinputstream.c:
3099 * gfileinputstream.h:
3102 * gfilenamecompleter.c:
3103 * gfilenamecompleter.h:
3104 * gfileoutputstream.c:
3105 * gfileoutputstream.h:
3106 * gfilterinputstream.c:
3107 * gfilterinputstream.h:
3108 * gfilteroutputstream.c:
3109 * gfilteroutputstream.h:
3122 * glocalfileoutputstream.c:
3123 * gmemoryinputstream.c:
3124 * gmemoryinputstream.h:
3125 * gmemoryoutputstream.c:
3126 * gmemoryoutputstream.h:
3127 * gmountoperation.c:
3128 * gmountoperation.h:
3131 * gpollfilemonitor.c:
3134 * gsimpleasyncresult.c:
3135 * gsimpleasyncresult.h:
3136 * gsocketinputstream.c:
3137 * gsocketinputstream.h:
3138 * gsocketoutputstream.c:
3139 * gsocketoutputstream.h:
3146 * gunixvolumemonitor.c:
3155 Bumps documentation to 93% symbol coverage, touching most
3156 of the public files. Fixes broken function documentation prototypes.
3157 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3158 gtk-doc headers in private files.
3160 2007-11-27 Jürg Billeter <j@bitron.ch>
3162 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3163 (g_buffered_input_stream_read_byte):
3164 * gbufferedinputstream.h:
3165 New functions for efficient access to buffer and simple single byte
3168 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3169 (g_data_input_stream_read_until):
3170 * gdatainputstream.h:
3171 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3172 read_until with multiple stop chars.
3174 2007-11-27 Alexander Larsson <alexl@redhat.com>
3178 * inotify/Makefile.am:
3179 Use the user-specified giomoduledir
3181 2007-11-27 Alexander Larsson <alexl@redhat.com>
3185 Add catch-all gio.h header
3186 Don't install gdummyfile.h
3188 2007-11-26 Alexander Larsson <alexl@redhat.com>
3190 * Makefile.am (gioinclude_HEADERS):
3191 Remove trailing whitespace
3193 2007-11-26 Alexander Larsson <alexl@redhat.com>
3195 Merge gio-standalone into glib
3197 2007-11-25 Christian Kellner <gicmo@gnome.org>
3199 * gio/goutputstream.c:
3200 Fix small mistake in the docs.
3202 2007-11-21 Christian Persch <chpe@gnome.org>
3204 * gio/glocalfile.c: (g_local_file_trash):
3205 Convert filenames to UTF-8 for GError.
3206 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3207 as per xdg base dir spec.
3209 2007-11-21 Christian Persch <chpe@gnome.org>
3211 * gio/gdesktopappinfo.c:
3212 Use that g_key_file_to_data cannot fail.
3214 Use stock defines for the key file group and key names.
3217 2007-11-21 Alexander Larsson <alexl@redhat.com>
3220 (copy_stream_with_progress):
3221 Make sure we do a final progress callback with
3222 the full total size.
3224 2007-11-21 Alexander Larsson <alexl@redhat.com>
3227 Export g_file_copy_attributes
3228 Remove padding as its not needed for interfaces
3230 2007-11-20 Alexander Larsson <alexl@redhat.com>
3235 Add G_IO_ERROR_WOULD_MERGE for
3236 copy/move dir on dir with overwrite.
3238 2007-11-20 Alexander Larsson <alexl@redhat.com>
3241 * gio/glocalfileinfo.c:
3242 Add COPY_NAME (this is an optional
3243 non-modified utf8 version of the name) that
3246 2007-11-20 Alexander Larsson <alexl@redhat.com>
3248 * gio/glocalfileenumerator.c:
3249 Report errors as GIOError, not GFileError
3251 2007-11-16 Alexander Larsson <alexl@redhat.com>
3253 * gio/glocalfileoutputstream.c:
3254 * gio/gwin32appinfo.c:
3255 Fix typos in strings.
3256 Patch from Luca Ferretti <elle.uca@libero.it>
3258 2007-11-15 Alexander Larsson <alexl@redhat.com>
3261 Post release version bump
3263 === gio-standalone 0.1.2 ===
3265 2007-11-15 Alexander Larsson <alexl@redhat.com>
3267 * docs/reference/gio/Makefile.am:
3268 Fix up distcheck by removing weird
3274 2007-11-14 Alexander Larsson <alexl@redhat.com>
3276 * gio/gdesktopappinfo.c:
3277 * gio/glocaldirectorymonitor.c:
3279 * gio/glocalfileinfo.c:
3280 * gio/inotify/inotify-sub.c:
3281 * programs/gio-cat.c:
3282 * programs/gio-copy.c:
3283 * programs/gio-info.c:
3284 * programs/gio-ls.c:
3285 * programs/gio-monitor-dir.c:
3286 * programs/gio-monitor-file.c:
3287 * programs/gio-mount.c:
3288 * programs/gio-move.c:
3289 * programs/gio-rm.c:
3290 * programs/gio-save.c:
3291 * programs/gio-trash.c:
3292 Leak fixes from Kjartan Maraas
3294 2007-11-14 Alexander Larsson <alexl@redhat.com>
3296 * gio/fam/fam-helper.c:
3298 * gio/glocalfileinfo.c:
3302 * gio/inotify/inotify-diag.c:
3303 * gio/inotify/inotify-kernel.c:
3304 Various code cleanups from Kjartan Maraas
3306 2007-11-14 Alexander Larsson <alexl@redhat.com>
3308 * gio/gioscheduler.c:
3310 Set up threadpool so that we cache 2 unused
3311 idle threads for at 15 secs. This means we
3312 will reuse thread-local data (like dbus connections)
3315 2007-11-14 Alexander Larsson <alexl@redhat.com>
3317 * gio/fam/fam-helper.c:
3318 * gio/fam/gfamdirectorymonitor.c:
3319 * gio/fam/gfamfilemonitor.c:
3321 * gio/gcontenttype.c:
3322 * gio/gdatainputstream.c:
3323 * gio/gdataoutputstream.c:
3327 * gio/gfileattribute.h:
3328 * gio/gfileenumerator.c:
3330 * gio/ginputstream.c:
3333 * gio/glocalfileinfo.c:
3334 * gio/goutputstream.c:
3335 * gio/gpollfilemonitor.c:
3336 * gio/gsimpleasyncresult.c:
3337 * gio/gunixmounts.c:
3338 * gio/gunixmounts.h:
3339 * gio/inotify/ginotifydirectorymonitor.c:
3340 * gio/inotify/ginotifyfilemonitor.c:
3341 * gio/inotify/inotify-diag.c:
3342 * gio/inotify/inotify-kernel.c:
3343 * gio/inotify/inotify-path.c:
3345 * gio/test-streams.c:
3346 * programs/gio-info.c:
3347 * programs/gio-monitor-dir.c:
3348 * programs/gio-monitor-file.c:
3349 Various code cleanups from Kjartan Maraas
3351 2007-11-13 Alexander Larsson <alexl@redhat.com>
3354 Handle the uri-scheme calls for dummy files
3356 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3358 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3359 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3360 to avoid clash with the C++ keyword.
3362 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3364 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3365 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3367 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3369 * gio/glocaldirectorymonitor.c:
3370 * gio/glocalfilemonitor.c:
3371 * gio/gunionvolumemonitor.c:
3372 Don't use g_once_init_*() for initializations that could fail and
3373 could leave the initialization variable set to 0 but use GOnce.
3374 This prevents a deadlock on the second call when trying to create
3375 a monitor and no monitor type is available. Thanks to Sven Herzberg
3378 2007-11-11 Sven Herzberg <sven@imendio.com>
3380 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3381 #ifdef (make it work on MacOS X again)
3383 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3385 Fixes Changelog for last two commits (sorry guys).
3387 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3389 * gio/gbufferedinputstream.c:
3390 * gio/gdatainputstream.c:
3392 * gio/gfileoutputstream.c:
3393 * gio/gfilterinputstream.c:
3394 * gio/glocalfileinputstream.c:
3397 More consistency fixes in g*stream.c files.
3398 Significant clean of gfile's documentation, filling in of
3399 asynchronous operations documentation.
3401 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3403 * gio/gasyncresult.c:
3404 * gio/gbufferedinputstream.c:
3405 * gio/gbufferedoutputstream.c:
3406 * gio/gcancellable.c:
3407 * gio/gcontenttype.c:
3408 * gio/gdatainputstream.c:
3409 * gio/gdataoutputstream.c:
3410 * gio/gdesktopappinfo.c:
3413 * gio/gfileattribute.c:
3414 * gio/gio/gfileenumerator.c:
3416 * gio/gfileinputstream.c:
3417 * gio/gfilemonitor.c:
3418 * gio/gfileoutputstream.c:
3419 * gio/ginputstream.c:
3421 * gio/gioscheduler.c:
3422 * gio/gloadableicon.c:
3423 * gio/glocalfileoutputstream.c:
3424 * gio/gmemoryoutputstream.c:
3425 * gio/gmountoperation.c:
3426 * gio/goutputstream.c:
3428 * gio/gsimpleasyncresult.c:
3429 * gio/gunionvolumemonitor.c:
3430 * gio/gunixmounts.c:
3431 * gio/gunixvolume.c:
3435 * gio/gvolumemonitor.c:
3436 Updated documentation stubs, working towards consistency and
3439 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3441 * gio/gmemoryoutputstream.c:
3442 * gio/gmemoryoutputstream.h:
3443 Change g_memory_output_stream_set_free_on_close() to
3444 g_memory_output_stream_set_free_data() as this makes more sense and
3445 is more consistent with GMemoryInputStream.
3447 2007-11-07 Alexander Larsson <alexl@redhat.com>
3454 Change how we find the default vfs so that
3455 we can handle a gvfs failing to init
3457 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3459 * gio/gbufferedoutputstream.c:
3460 * gio/gdatainputstream.c:
3461 * gio/gdataoutputstream.c:
3462 * gio/gfileinputstream.c:
3463 * gio/gfileoutputstream.c:
3464 * gio/gfilterinputstream.c:
3465 * gio/gfilteroutputstream.c:
3466 * gio/ginputstream.c:
3467 * gio/gmemoryinputstream.c:
3468 * gio/gmemoryoutputstream.c:
3469 * gio/goutputstream.c:
3470 * gio/gsimpleasyncresult.c:
3471 * gio/gsocketinputstream.c:
3472 * gio/gsocketoutputstream.c:
3473 Add guards to the remaining public functions, add a TODO for
3474 an unimplemented function and remove some useless guards.
3476 2007-11-07 Alexander Larsson <alexl@redhat.com>
3479 Autoconf checks for the various types of
3480 getpwuid_r and getgrgid_r
3482 * gio/glocalfileinfo.c:
3483 Use the autoconf checks from above
3485 2007-11-07 Alexander Larsson <alexl@redhat.com>
3488 (g_local_file_query_filesystem_info):
3489 Some fixes for the statvfs case
3491 2007-11-07 Alexander Larsson <alexl@redhat.com>
3494 (g_local_file_query_filesystem_info):
3495 Pick the "best" of statfs / statvfs for the system
3496 if both are availible.
3498 2007-11-07 Alexander Larsson <alexl@redhat.com>
3500 Solaris fixes from Halton.Huo@Sun.COM:
3507 * gio/glocalfileinfo.c:
3508 Fix for solaris definition of getpwuid_r
3510 * gio/test-streams.c:
3511 Use G_GNUC_PRETTY_FUNCTION
3513 2007-11-07 Alexander Larsson <alexl@redhat.com>
3515 * gio/gdesktopappinfo.c:
3516 (update_default_list):
3517 Remove double semicolon.
3518 Patch from Jens Granseuer
3520 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3522 * docs/reference/gio/gio-sections.txt:
3523 * gio/gbufferedinputstream.c:
3524 * gio/gbufferedinputstream.h:
3525 * gio/gdatainputstream.c:
3526 * gio/gfileenumerator.c:
3527 * gio/gioscheduler.c:
3528 * gio/gunionvolumemonitor.c:
3530 * programs/gio-save.c:
3531 Fix typo: availible -> available. Unfortuntely this breaks API
3532 and ABI as g_buffered_input_stream_get_available() was renamed.
3534 * gio/gunixmounts.c:
3535 * gio/gbufferedinputstream.c:
3536 Add guards for public functions.
3538 2007-11-06 Ross Burton <ross@openedhand.com>
3540 * docs/reference/gio/Makefile.am:
3541 Fix invalid += usage which automake 1.10 doesn't like.
3543 2007-11-06 Alexander Larsson <alexl@redhat.com>
3546 (g_app_launch_context_class_init):
3549 Patch from Ross Burton
3551 2007-11-06 Alexander Larsson <alexl@redhat.com>
3554 Post release version bump
3556 === gio-standalone 0.1.1 ===
3558 2007-11-06 Alexander Larsson <alexl@redhat.com>
3561 Bump version to 0.1.1
3563 * gio/gsimpleasyncresult.c:
3564 (g_simple_async_result_set_from_error):
3565 Remove bogus g_return_if_fail
3567 2007-11-06 Alexander Larsson <alexl@redhat.com>
3570 The name is gio-standalone
3573 Add top src/builddir to includedir
3575 2007-11-06 Alexander Larsson <alexl@redhat.com>
3577 * docs/reference/gio/gio-sections.txt:
3579 * gio/gbufferedinputstream.c:
3580 * gio/gbufferedoutputstream.c:
3581 * gio/gcancellable.c:
3582 * gio/gdatainputstream.h:
3583 * gio/gdataoutputstream.c:
3584 * gio/gdataoutputstream.h:
3585 * gio/gdirectorymonitor.c:
3587 * gio/gfileattribute.c:
3588 * gio/gfileattribute.h:
3589 * gio/gfileenumerator.c:
3590 * gio/gfileenumerator.h:
3593 * gio/gfileinputstream.h:
3594 * gio/gfilemonitor.c:
3595 * gio/gfileoutputstream.h:
3596 * gio/glocalfilemonitor.h:
3597 * gio/glocalfileoutputstream.h:
3598 * gio/gmemoryinputstream.c:
3599 * gio/gmemoryoutputstream.c:
3600 * gio/gmountoperation.c:
3601 * gio/goutputstream.c:
3602 * gio/goutputstream.h:
3604 * gio/gsimpleasyncresult.c:
3605 * gio/gunixmounts.c:
3606 * gio/gunixmounts.h:
3608 * gio/inotify/inotify-helper.c:
3609 Fix gtk-doc warnings
3611 Patch from Ross Burton
3613 2007-11-06 Alexander Larsson <alexl@redhat.com>
3615 * gio/gfilenamecompleter.c:
3616 (g_filename_completer_get_completions):
3619 * gio/gunixvolume.c:
3620 Remove unused function
3622 Patches from Ross Burton
3624 2007-11-06 Alexander Larsson <alexl@redhat.com>
3629 Padding not needed for interfaces
3631 2007-11-06 Alexander Larsson <alexl@redhat.com>
3633 * gio/gfilemonitor.c:
3637 Make giotypes.h an internal file
3640 * gio/gbufferedinputstream.h:
3641 * gio/gbufferedoutputstream.h:
3642 * gio/gcancellable.h:
3643 * gio/gdatainputstream.h:
3644 * gio/gdataoutputstream.h:
3645 * gio/gdirectorymonitor.c:
3646 * gio/gdirectorymonitor.h:
3651 * gio/gfileattribute.h:
3652 * gio/gfileenumerator.h:
3657 * gio/gfilemonitor.c:
3658 * gio/gfilemonitor.h:
3659 * gio/gfilenamecompleter.c:
3660 * gio/gfilenamecompleter.h:
3661 * gio/gfilterinputstream.h:
3662 * gio/gfilteroutputstream.h:
3663 * gio/ginputstream.h:
3664 * gio/gmemoryinputstream.h:
3665 * gio/gmemoryoutputstream.h:
3666 * gio/gmountoperation.c:
3667 * gio/gmountoperation.h:
3668 * gio/gnativevolumemonitor.c:
3669 * gio/goutputstream.h:
3672 * gio/gsimpleasyncresult.c:
3673 * gio/gsimpleasyncresult.h:
3674 * gio/gsocketinputstream.h:
3675 * gio/gsocketoutputstream.h:
3676 * gio/gthemedicon.c:
3677 * gio/gthemedicon.h:
3681 * gio/gvolumemonitor.c:
3682 * gio/gvolumemonitor.h:
3683 Add padding in classes where it seems useful
3684 Don't include giotypes.h from public headers
3685 Move in Class definitions into c file where possible
3690 2007-11-06 Alexander Larsson <alexl@redhat.com>
3692 * docs/reference/gio/gio-docs.xml:
3693 Better structure for API docs
3695 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3698 * gio/gloadableicon.c:
3699 * gio/gsimpleasyncresult.c:
3700 * gio/gthemedicon.c:
3701 Add some more guards to public functions. Only files missing are now
3704 2007-11-06 Alexander Larsson <alexl@redhat.com>
3706 * docs/reference/gio/gio-docs.xml:
3707 Remove old files, add missing ones
3709 2007-11-06 Alexander Larsson <alexl@redhat.com>
3711 * docs/reference/gio/gio-sections.txt:
3714 Hide implementation classes
3716 * gio/gdriveprivate.h:
3717 * gio/gvolumeprivate.h:
3718 Remove non-existing function declarations
3720 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3723 Fix compilation warnings and add guards to the new functions.
3725 * gio/gasyncresult.c:
3727 Add guards to the public functions.
3730 Implement get_path().
3732 2007-11-06 Alexander Larsson <alexl@redhat.com>
3734 * gio/gfilenamecompleter.c:
3735 Make g_filename_completer_get_completions
3736 return char ** instead of GList for
3739 * docs/reference/gio/gio-docs.xml:
3740 * docs/reference/gio/gio-sections.txt:
3742 * gio/gasyncresult.c:
3743 * gio/gbufferedinputstream.c:
3744 * gio/gbufferedoutputstream.c:
3745 * gio/gcancellable.c:
3746 * gio/gcontenttype.c:
3747 * gio/gdatainputstream.c:
3748 * gio/gdataoutputstream.c:
3749 * gio/gdesktopappinfo.c:
3750 * gio/gdirectorymonitor.c:
3754 * gio/gfileattribute.c:
3755 * gio/gfileenumerator.c:
3758 * gio/gfileinputstream.c:
3759 * gio/gfilemonitor.c:
3760 * gio/gfilenamecompleter.c:
3761 * gio/gfilenamecompleter.h:
3762 * gio/gfileoutputstream.c:
3763 * gio/gfilterinputstream.c:
3765 * gio/ginputstream.c:
3767 * gio/gioscheduler.c:
3768 * gio/gloadableicon.c:
3769 * gio/glocaldirectorymonitor.c:
3771 * gio/glocalfileinputstream.c:
3772 * gio/glocalfilemonitor.c:
3773 * gio/glocalfileoutputstream.c:
3775 * gio/gmemoryinputstream.c:
3776 * gio/gmemoryoutputstream.c:
3777 * gio/gmountoperation.c:
3778 * gio/goutputstream.c:
3779 * gio/gpollfilemonitor.c:
3781 * gio/gsimpleasyncresult.c:
3782 * gio/gsocketinputstream.c:
3783 * gio/gsocketoutputstream.c:
3784 * gio/gthemedicon.c:
3785 * gio/gunionvolumemonitor.c:
3787 * gio/gunixmounts.c:
3788 * gio/gunixvolume.c:
3789 * gio/gunixvolumemonitor.c:
3793 * gio/gvolumemonitor.c:
3794 * gio/gwin32appinfo.c:
3795 Add (mostly stub) doc strings to public functions.
3796 Patch from Andrew Walton (awalton@gmail.com)
3798 2007-11-06 Alexander Larsson <alexl@redhat.com>
3800 * gio/gappinfo.[ch]:
3801 Added GAppLaunchContext object and pass that to launch.
3802 This allows simple implementation of both
3803 launch-on-screen and startup notification via a gtk+
3804 subclass of GAppLaunchContext
3806 * gio/gdesktopappinfo.c:
3807 Implement GAppLaunchContext API
3809 * gio/gwin32appinfo.c:
3812 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3814 * gio/gmountoperation.c:
3815 Add some guards to GMountOperation's public functions.
3817 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3821 * gio/gcancellable.c:
3822 * gio/gdirectorymonitor.c:
3824 * gio/gfileenumerator.c:
3825 * gio/gfilemonitor.c:,
3826 * gio/gfilenamecompleter.c:
3829 * gio/gioscheduler.c:
3833 * gio/gvolumemonitor.c:
3834 Add even more guards to various public functions.
3836 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3839 Add guards to the public functions of GAppInfo.
3841 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3843 * gio/gcontenttype.c:
3844 Add some more guards for public functions.
3846 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3848 * gio/fam/fam-module.c:
3849 * gio/fam/gfamdirectorymonitor.c:
3850 * gio/fam/gfamdirectorymonitor.h:
3851 * gio/fam/gfamfilemonitor.c:
3852 * gio/fam/gfamfilemonitor.h:
3853 * gio/inotify/ginotifydirectorymonitor.c:
3854 * gio/inotify/ginotifydirectorymonitor.h:
3855 * gio/inotify/ginotifyfilemonitor.c:
3856 * gio/inotify/ginotifyfilemonitor.h:
3857 Add proper copyright information and remove an unused variable
3858 in the GInotifyFileMonitor constructor.
3860 * gio/gcancellable.c:
3861 Add a guard for a public function and an assertion to prevent
3862 an undefined program state.
3864 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3866 * gio/gfileattribute.c:
3867 Don't run into an assertion if the given attribute value is NULL
3868 in g_file_attribute_value_get_*() but instead return a fallback
3869 value that makes sense in most situations. Passing them a attribute
3870 value with the wrong type will still run into an assertion.
3872 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3874 * gio/gfileattribute.c:
3876 Add even more guards to the public functions. Also fix the refcounting
3877 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3878 let g_file_info_list_attributes() filter the attributes by namespace
3879 instead of simply ignoring the namespace parameter.
3881 2007-11-03 Sven Herzberg <sven@imendio.com>
3883 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3884 (This makes gio work on MacOS X again)
3886 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3889 Build the gio subdirectory before the docs. Otherwise the build will
3892 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3893 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3894 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3895 Add guards to the public functions.
3897 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3899 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3900 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3901 to prevent a compiler warning.
3903 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3904 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3905 return something in the non-void function find_topdir_for().
3907 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3914 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3916 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3917 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3918 * gwin32appinfo.c (g_win32_app_info_launch):
3919 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3920 envp_for_startup_id, g_desktop_app_info_launch,
3921 g_desktop_app_info_launch_uris):
3923 Give an opaque 'startup_id' string instead of 'envp'.
3924 Support empty file lists for launching new windows.
3925 Fix infinite recursion bug when launching URIs.
3927 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3930 Add guard to the new g_file_get_uri_scheme() function.
3932 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3935 Convert a g_return_val_if_fail() to setting the GError instead as
3936 otherwise applications have to verify the parameter before otherwise
3937 and the parameter might come directly from the user.
3939 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3941 * gio/inotify/ginotify*.[ch]:
3942 Add missing copyright information.
3944 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3947 Add guards in the beginning of public functions to check for valid
3948 parameters and fix a bug in copy_stream_with_progress() that could've
3949 caused writing less bytes than reading.
3950 * gio/glocalfileinfo.c:
3951 Check for a NULL parameter and set the GError accordingly then.
3952 * gio/goutputstream.c:
3953 Fix the same bug as in gfile.c that could've caused writing less bytes
3954 than reading in g_output_stream_real_splice().
3956 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3959 Use the correct gvolumeprivate.h naming
3961 2007-11-01 Christian Kellner <gicmo@gnome.org>
3964 Remove leftover "$(daemon_sources)" entry.
3966 2007-11-01 Christian Kellner <gicmo@gnome.org>
3971 Add copyright information to source files.
3973 2007-11-01 Alexander Larsson <alexl@redhat.com>
3977 Add g_file_get_uri_scheme
3979 2007-11-01 Alexander Larsson <alexl@redhat.com>
3982 * gio/gdesktopappinfo.c:
3983 * gio/gwin32appinfo.c:
3984 Add g_app_info_get_default_for_uri_scheme.
3986 2007-11-01 Alexander Larsson <alexl@redhat.com>
3989 Correct filename for gdriveprivate.h
3991 2007-10-31 Alexander Larsson <alexl@redhat.com>
3994 Rename id:value to id:file
3997 * gio/glocalfileinfo.c:
4000 2007-10-31 Alexander Larsson <alexl@redhat.com>
4002 * gio/gunixvolume.c:
4004 Remove g_volume_get_platform_id, as thats not
4005 needed with the simpler union volume monitor
4007 2007-10-31 Alexander Larsson <alexl@redhat.com>
4010 * gio/guniondrive.[ch]: Removed.
4011 * gio/gunionvolume.[ch]: Removed.
4012 Remove GUnionDrive/Volume
4014 * gio/gunionvolumemonitor.c:
4015 Simplify union volume monitor, now we
4016 only have one native volume monitor and
4017 we use the actual volumes/drives from the
4018 child monitors instead of wrapping them
4020 * gio/gnativevolumemonitor.[ch]:
4021 Base class for native volume monitors.
4022 Includes priority and get_volume_for_mountpoint
4025 Add g_file_find_enclosing_volume
4028 Remove volume name fs attribute
4029 Add readonly fs attribute
4032 Implement readonly attribute
4033 remove volume name attribute
4034 Implement find_enclosing volume
4036 * gio/gunixmounts.c:
4037 Add a volume for "/".
4039 * gio/gunixvolume.[ch]:
4040 Set better name for /
4042 * gio/gunixvolumemonitor.[ch]:
4043 Derive from GNativeVolumeMonitor
4044 Implement get_volume_for_mountpoint
4047 GVolume typedef moved to gfile.h
4049 * gio/gvolumeprivate.h:
4050 Add g_volume_get_for_mount_path
4052 2007-10-31 Alexander Larsson <alexl@redhat.com>
4054 * gio/gunixmounts.[ch]:
4055 Add cache info to unix mount listers
4056 Make getmntent use threadsafe
4057 Add is_system_internal attribute for GUnixMount
4059 * gio/gunixvolume.c:
4060 (g_unix_volume_new):
4061 Use is_system_internal instead of own code
4063 * gio/glocaldirectorymonitor.c:
4064 * gio/gunixvolumemonitor.c:
4065 Update to new gunixmounts API
4070 2007-10-30 Alexander Larsson <alexl@redhat.com>
4073 Add volume name fsinfo attribute
4076 Read volume name info
4078 * gio/gunionvolumemonitor.c:
4079 Fix infinite loops when finalizing a union volume monitor
4081 2007-10-30 Alexander Larsson <alexl@redhat.com>
4083 * gio/goutputstream.[ch]:
4084 Add splice() with default implementation
4086 * gio/gsocketoutputstream.c:
4087 (g_socket_output_stream_write):
4088 Return error on cancellation correctly.
4090 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4092 * gio/glocalfile.c (g_local_file_trash):
4093 Do not leak a string.
4095 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4097 * gio/gfile.c (g_file_load_contents):
4098 Unref the stream after closing it.
4100 2007-10-25 Alexander Larsson <alexl@redhat.com>
4102 * gio/gioscheduler.h:
4105 2007-10-25 Alexander Larsson <alexl@redhat.com>
4109 Add g_file_has_uri_scheme and implement for local files
4111 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4113 * gio/gdesktopappinfo.c: do not leak a string.
4115 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4117 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4118 (g_local_directory_monitor_new):
4119 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4120 (g_local_file_monitor_new):
4121 Only look for the monitor type that should be used the first time
4122 and use g_qsort_with_data() instead of our own bubble sort
4125 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4128 * gio/fam/Makefile.am:
4129 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4130 * gio/fam/fam-helper.h:
4131 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4132 * gio/fam/gfamdirectorymonitor.c:
4133 * gio/fam/gfamdirectorymonitor.h:
4134 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4135 * gio/fam/gfamfilemonitor.h:
4136 * gio/glocaldirectorymonitor.c:
4137 * gio/glocaldirectorymonitor.h:
4138 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4139 * gio/glocalfilemonitor.h:
4140 * gio/inotify/Makefile.am:
4141 * gio/inotify/ginotifydirectorymonitor.c:
4142 * gio/inotify/ginotifydirectorymonitor.h:
4143 * gio/inotify/ginotifyfilemonitor.c:
4144 * gio/inotify/ginotifyfilemonitor.h:
4145 Implement the FAM and Inotify monitors as
4146 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4147 their own GIO module. GLocal(Directory|File)Monitor will use the
4148 monitor with the highest rank that is supported on that machine.
4150 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4153 Change GIO module dir to $(libdir)/gio/modules and change
4154 the log domain from GVFS to GIO. Also only export symbols starting
4155 with g_ in the resulting library.
4156 * gio/test-streams.c: (main):
4157 Set log handler for the GIO log domain.
4159 2007-10-22 Alexander Larsson <alexl@redhat.com>
4161 * gio/gfilenamecompleter.[ch]:
4162 Add g_filename_completer_set_dirs_only
4164 2007-10-22 Alexander Larsson <alexl@redhat.com>
4167 * gio/gurifuncs.[ch]:
4168 Add some simple URI helpers
4170 * gio/gfilenamecompleter.[ch]:
4171 Added object for filename (parse name actually) completion
4174 Handle ~ in parse names
4176 2007-10-17 Alexander Larsson <alexl@redhat.com>
4179 * gio/glocalfileinfo.c:
4180 Add and implement id:value attribute
4182 2007-10-17 Alexander Larsson <alexl@redhat.com>
4185 * gio/guniondrive.c:
4187 Add and implement g_drive_has_volumes
4189 2007-10-17 Alexander Larsson <alexl@redhat.com>
4192 * gio/glocalfileinfo.[ch]:
4193 Add unix:is_mountpoint and implement for local files
4195 2007-10-16 Alexander Larsson <alexl@redhat.com>
4197 * gio/gunionvolumemonitor.c:
4198 (g_union_volume_monitor_init):
4199 Fix up the unix type getting so that it works with gcc
4201 2007-10-12 Alexander Larsson <alexl@redhat.com>
4204 * gio/glocalfileinfo.c:
4205 Add thumbnail:failed to file info
4207 2007-10-12 Richard Hult <richard@imendio.com>
4209 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4210 optimizing away the get_type call (happens with some gcc versions,
4211 like the one shipped with OS X 10.4).
4213 2007-10-12 Alexander Larsson <alexl@redhat.com>
4215 * gio/glocalfileinfo.c:
4216 (_g_local_file_info_set_attribute):
4217 Fix build if not HAVE_XATTR
4218 Patch from Milosz Derezynski <internalerror@gmail.com>
4220 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4222 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4223 around for review, otherwise I would have asked you before
4226 2007-10-11 Alexander Larsson <alexl@redhat.com>
4229 Add thumbnail:path attribute
4231 * gio/glocalfileinfo.c:
4232 Implement thumbnail:path for local files
4234 2007-10-11 Alexander Larsson <alexl@redhat.com>
4236 * gio/glocalfileinfo.c:
4237 (_g_local_file_info_get):
4238 Avoid duplicate icon names
4240 2007-10-11 Alexander Larsson <alexl@redhat.com>
4242 * gio/gthemedicon.[ch]:
4243 Change g_themed_icon_get_names return type to const
4245 2007-10-10 Alexander Larsson <alexl@redhat.com>
4247 * gio/glocalfileinfo.c:
4248 Don't reference freed memory
4250 2007-10-10 Alexander Larsson <alexl@redhat.com>
4252 * gio/gfileattribute.c:
4255 * gio/glocalfileinfo.c:
4258 2007-10-10 Alexander Larsson <alexl@redhat.com>
4261 Check for NULL icons
4263 * gio/gfileattribute.c:
4264 Don't dup when getting objects (same as for string attributes)
4266 * gio/gicon.c (g_icon_equal):
4267 Safely handle NULLs in equal
4269 2007-10-10 Alexander Larsson <alexl@redhat.com>
4272 Fix c++ compilation issues
4273 Patch from Milosz Derezynski <internalerror@gmail.com>
4275 2007-10-10 Alexander Larsson <alexl@redhat.com>
4277 * programs/gio-monitor-dir.c:
4278 Don't crash if dir monitor not supported.
4280 2007-10-09 Alexander Larsson <alexl@redhat.com>
4283 Add missing G_END_DECLS
4285 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4287 * gio/gfile.c: (g_file_set_display_name),
4288 (g_file_query_settable_attributes),
4289 (g_file_query_writable_namespaces):
4290 Return NULL not FALSE on errors as the return type is a pointer.
4292 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4294 * gio/glocalfile.c: (g_local_file_monitor_file):
4295 Don't call monitor_file on the default interface vtable (which
4296 is NULL) but simply return NULL. The caller, GFile, will create a
4297 polling monitor if NULL is returned.
4299 2007-10-09 Alexander Larsson <alexl@redhat.com>
4303 * gio-unix-2.0.pc.in:
4304 Add gio-unix-2.0.pc if OS_UNIX
4307 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4309 2007-10-09 Alexander Larsson <alexl@redhat.com>
4311 * gio/gunixmounts.[ch]:
4312 Make unix mount monitoring API sane.
4313 Now its just a object with mounts_changed
4314 and mountpoints_changed signals.
4316 * gio/glocaldirectorymonitor.c:
4317 * gio/gunixvolumemonitor.c:
4318 Use new mount monitor api
4320 2007-10-09 Alexander Larsson <alexl@redhat.com>
4322 * gio/gunixmounts.[ch]:
4323 Move guess type into one call for mounts and one for mountpoints
4326 * gio/gunixvolume.c:
4329 2007-10-09 Alexander Larsson <alexl@redhat.com>
4331 * gio/gunixmounts.[ch]:
4332 Remove _ prefix in preparation to make this semi-public
4333 Hide implementation of structs
4335 * gio/glocaldirectorymonitor.c:
4337 * gio/gunixvolume.c:
4338 * gio/gunixvolumemonitor.c:
4339 Update for above API changes
4341 2007-10-08 Alexander Larsson <alexl@redhat.com>
4344 Better polling fallback. This also handles the case where we have
4345 a monitor_file implementation, but it fails.
4347 2007-10-08 Alexander Larsson <alexl@redhat.com>
4351 * gio/gunixmounts.c:
4352 * programs/gio-monitor-dir.c:
4353 * programs/gio-monitor-file.c:
4354 Added cancellable to file monitoring calls.
4355 These are really sync calls and need this.
4357 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4359 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4360 (g_local_vfs_class_init):
4361 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4362 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4364 2007-10-05 Alexander Larsson <alexl@redhat.com>
4366 * gio/gdirectorymonitorprivate.h:
4367 * gio/gfilemonitorprivate.h:
4368 * gio/gdirectorymonitor.h:
4369 * gio/gfilemonitor.h:
4370 Remove *private.h and move to the public API, so that
4371 we can do implementations outside gio (such as in gvfs)
4373 * gio/gdirectorymonitor.c:
4374 * gio/gfilemonitor.c:
4375 * gio/glocaldirectorymonitor.c:
4376 * gio/gpollfilemonitor.c:
4377 * gio/inotify/inotify-helper.c:
4378 * gio/fam/fam-helper.c:
4379 Update to the new header names
4381 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4383 * gio/gdirectorymonitor.c:
4384 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4387 2007-10-04 Alexander Larsson <alexl@redhat.com>
4389 * gio/glocalfileinfo.c (get_access_rights):
4390 Set CAN_TRASH when we can move the file.
4391 We should really also check for a parent trash dir.
4393 2007-10-04 Alexander Larsson <alexl@redhat.com>
4395 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4396 Add can_trash access attribute
4398 2007-10-04 Alexander Larsson <alexl@redhat.com>
4401 (g_local_file_trash):
4402 Create info file first. This is per-spec and allows
4403 us to actually trash directories.
4405 2007-10-02 Alexander Larsson <alexl@redhat.com>
4407 * gio/gdesktopappinfo.c:
4408 Implement the new mime support code.
4409 Always set app as handling mimetype when being set as default for it
4411 2007-10-01 Alexander Larsson <alexl@redhat.com>
4413 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4414 Fix up check for xattrs:
4416 2007-10-01 Alexander Larsson <alexl@redhat.com>
4419 (g_app_info_set_as_default_for_extension):
4420 (g_app_info_add_supports_type):
4421 (g_app_info_can_remove_supports_type):
4422 (g_app_info_remove_supports_type):
4423 Make these fail nicely if not implemented
4425 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4427 * gio/glocalfileoutputstream.c:
4428 * gio/glocalfileoutputstream.h:
4433 * programs/gio-save.c:
4434 Add a GFileCreateFlags argument to operations that can create
4437 2007-10-01 Alexander Larsson <alexl@redhat.com>
4439 * gio/gappinfo.[ch]:
4440 * gio/gdesktopappinfo.c:
4441 Add more (stubbed out) mime API needed for nautilus
4443 2007-10-01 Alexander Larsson <alexl@redhat.com>
4446 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4447 Add g_app_info_set_as_default_for_extension.
4449 * gio/gdesktopappinfo.c:
4450 Dummy for g_app_info_set_as_default_for_extension
4451 Support flags in g_app_info_create_from_commandline
4453 * gio/gwin32appinfo.c:
4455 Update for API changes
4457 * gio/gthemedicon.c:
4458 Properly NULL-terminate list of icon names
4460 2007-09-28 Alexander Larsson <alexl@redhat.com>
4462 * gio/gloadableicon.h:
4463 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4465 2007-09-28 Alexander Larsson <alexl@redhat.com>
4468 Install headers in $includedir/gio-standalone/
4470 * gio-2.0.pc.in: Added.
4471 * gio-standalone.pc.in: Removed.
4474 Renamed pkg-config file to match glib (for future move)
4475 Update to the new include dir
4478 Add more TODO comments
4480 2007-09-28 Alexander Larsson <alexl@redhat.com>
4482 * gio/gdesktopappinfo.[ch]:
4483 Expose new_from_filename
4484 Add getter for is_hidden and handle it better
4486 2007-09-28 Alexander Larsson <alexl@redhat.com>
4488 * gio/gfileinfo.[ch]:
4489 Rename g_file_size_format_for_display to
4490 g_format_file_size_for_display.
4491 Now it doesn't have the g_file prefix, so we
4492 can later move it to glib.
4494 2007-09-28 Alexander Larsson <alexl@redhat.com>
4496 * gio/gappinfo.[ch]:
4497 Add g_app_info_get_id and g_app_info_get_executable.
4498 Make all getters non-reffing
4499 Make g_app_info_launch take GFile arguments.
4500 Add must_support_uris argument to g_app_info_get_default_for_type.
4502 * gio/gwin32appinfo.c:
4503 Update to GAppInfo api changes
4505 * gio/gdesktopappinfo.c:
4506 Update to GAppInfo api changes
4507 Implement supports_xdg_startup_notify
4509 * gio/gfileicon.c (g_file_icon_get_file):
4510 Make getter non-reffing.
4515 2007-09-27 Alexander Larsson <alexl@redhat.com>
4517 * gio/gfileinfo.[ch]:
4518 Add g_file_size_format_for_display helper
4520 2007-09-27 Alexander Larsson <alexl@redhat.com>
4522 * gio/glocalfileinfo.c:
4523 Set UNIX_GID from gid, not from uid
4525 2007-09-27 Alexander Larsson <alexl@redhat.com>
4528 Add g_file_set_attributes_async
4530 2007-09-27 Alexander Larsson <alexl@redhat.com>
4532 * gio/glocalfile.c (g_local_file_set_display_name):
4533 Fix set_display_name to actually rename to the right place.
4534 Use lstat to look for existing files so we don't overwrite
4537 2007-09-26 Alexander Larsson <alexl@redhat.com>
4540 Add g_file_set_display_name_async()
4542 2007-09-26 Alexander Larsson <alexl@redhat.com>
4545 Add load_partial_contents async calls
4548 Make internal function static
4550 2007-09-26 Alexander Larsson <alexl@redhat.com>
4552 * gio/glocalfileinfo.c:
4553 Correctly detect broken symlinks
4555 2007-09-26 Alexander Larsson <alexl@redhat.com>
4557 * gio/gcancellable.c (g_cancellable_cancel):
4558 Allow cancel on NULL cancellable
4560 2007-09-25 Alexander Larsson <alexl@redhat.com>
4562 * gio/gsimpleasyncresult.c:
4563 Don't allocate g_error manually.
4564 Fixes g_slice/g_new mixup crash
4566 2007-09-25 Alexander Larsson <alexl@redhat.com>
4568 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4569 Actually set active_backend.
4570 This means the monitor will be cancelled correctly.
4572 2007-09-25 Alexander Larsson <alexl@redhat.com>
4574 * gio/gdirectorymonitor.c:
4575 Set timeout to NULL when destroying
4577 2007-09-25 Alexander Larsson <alexl@redhat.com>
4580 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4581 that is a better description of the error.
4583 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4585 * gio/gvfs.c: (g_vfs_get_local):
4586 Make the local vfs variable static. The same instance should
4589 2007-09-24 Alexander Larsson <alexl@redhat.com>
4591 * gio/glocalfileinfo.c:
4592 Pass in actual length read into sniffer, not the length
4595 2007-09-21 Alexander Larsson <alexl@redhat.com>
4597 * gio/gfileenumerator.c:
4600 * gio/gfileinputstream.c:
4601 * gio/gfileoutputstream.c:
4602 * gio/ginputstream.c:
4603 * gio/goutputstream.c:
4604 Don't crash if async callbacks are NULL
4606 2007-09-20 Alexander Larsson <alexl@redhat.com>
4609 Add async enumerate_children method and default
4612 2007-09-20 Alexander Larsson <alexl@redhat.com>
4615 Add g_file_contains_file & g_file_get_relative_path, since they
4616 were needed for nautilus.
4617 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4622 Implement new methods
4624 2007-09-17 Alexander Larsson <alexl@redhat.com>
4627 * gio/gfileinputstream.[ch]:
4628 * gio/gfileoutputstream.[ch]:
4630 * gio/glocalfileenumerator.[ch]:
4631 * gio/glocalfileinfo.[ch]:
4632 * gio/glocalfileinputstream.c:
4633 * gio/glocalfileoutputstream.c:
4634 * gio/gpollfilemonitor.c:
4635 * programs/gio-copy.c:
4636 * programs/gio-info.c:
4637 * programs/gio-move.c:
4638 Rename get_file_info to query_info() to make it clearer
4639 that these are not simple getters, but do i/o.
4641 2007-09-17 Alexander Larsson <alexl@redhat.com>
4643 * gio/gdatainputstream.[ch]:
4644 * gio/test-streams.c:
4645 Use _read_XXX instead of _get_XXX for the i/o calls
4648 2007-09-17 Alexander Larsson <alexl@redhat.com>
4651 Added needed stuff to TODO comment
4653 2007-09-17 Alexander Larsson <alexl@redhat.com>
4655 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4656 Don't error out removing the backup copy if it doesn't
4659 2007-09-14 Alexander Larsson <alexl@redhat.com>
4661 * programs/Makefile.am:
4662 * programs/gvfs-*.c:
4664 Renamed apps from gvfs-xxx to gio-xxx.
4666 2007-09-14 Alexander Larsson <alexl@redhat.com>
4669 * gio/gfileoutputstream.[ch]:
4670 * gio/glocalfileoutputstream.c:
4671 * programs/gvfs-save.c:
4672 g_file_output_stream_get_etag doesn't do i/o, so remove
4673 cancellation and error.
4675 2007-09-14 Alexander Larsson <alexl@redhat.com>
4678 Add new_etag output to replace_contents functions
4680 2007-09-14 Alexander Larsson <alexl@redhat.com>
4682 * gio/gfileoutputstream.[ch]:
4683 Add async get_file_info and default implementation
4685 2007-09-14 Alexander Larsson <alexl@redhat.com>
4687 * gio/gfileinputstream.c:
4688 Implement fallback wrapper for async get_file_info
4690 2007-09-14 Alexander Larsson <alexl@redhat.com>
4693 Add etag out argument to load_contents
4698 2007-09-14 Alexander Larsson <alexl@redhat.com>
4700 * gio/gcontenttype.c (looks_like_text):
4701 Whitespace like tab, cr and lf do not make the
4704 2007-09-14 Alexander Larsson <alexl@redhat.com>
4706 * gio/gfileinputstream.[ch]:
4707 Add async get_file_info.
4709 2007-09-13 Alexander Larsson <alexl@redhat.com>
4711 * gio/goutputstream.c (g_output_stream_write_all):
4712 Allow NULL for bytes_written
4714 2007-09-13 Alexander Larsson <alexl@redhat.com>
4716 * gio/gmemoryinputstream.[ch]:
4717 Add accessors for data
4719 2007-09-13 Alexander Larsson <alexl@redhat.com>
4721 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4722 Don't crash if length is NULL