1 2008-07-23 Matthias Clasen <mclasen@redhat.com>
3 529694 – SELinux context setting support
5 * gfileinfo.c: Support setting selinux attributes.
8 2008-07-22 Priit Laes <plaes@plaes.org>
10 Bug 544140 - fam-helper 64-bit issue?
12 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
14 2008-07-21 Matthias Clasen <mclasen@redhat.com>
16 * === Released 2.17.4 ===
18 2008-07-20 Matthias Clasen <mclasen@redhat.com>
20 * gvolumemonitor.[hc]:
25 * gmount.c: Documentation fixes
27 2008-07-19 Matthias Clasen <mclasen@redhat.com>
29 543504 – crash in Epiphany Web Browser: Opening local file
40 * gvolume.c: Register types thread-safely.
41 Patch by Christian Persch
43 2008-07-18 Matthias Clasen <mclasen@redhat.com>
45 * gcontenttype.c: Remove debug spew
47 2008-07-18 Matthias Clasen <mclasen@redhat.com>
49 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
52 * fen/fen-kernel.c: Remove a warning that was causing
53 crashes. Reported by Lin Ma.
55 2008-07-18 Matthias Clasen <mclasen@redhat.com>
57 Bug 543040 – async reading on dummy file will crash on
60 * gfile.c (open_read_async_thread): Cope with read_fn being
61 NULL. Reported by Lin Ma.
63 2008-07-18 Matthias Clasen <mclasen@redhat.com>
66 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
68 2008-07-16 Matthias Clasen <mclasen@redhat.com>
72 * giomodule.c: Rename a chapter id to avoid filename conflict.
74 2008-07-16 Matthias Clasen <mclasen@redhat.com>
76 Bug 540616 – mem leak in filechooser button
78 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
79 the mount entry. Reported by Chrisitan Persch
81 2008-07-16 Matthias Clasen <mclasen@redhat.com>
83 * gfile.c: Small documentation fixes.
85 2008-07-15 Matthias Clasen <mclasen@redhat.com>
87 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
89 2008-07-08 Matthias Clasen <mclasen@redhat.com>
94 * gmount.c: Documentation improvements.
96 2008-07-08 Matthias Clasen <mclasen@redhat.com>
99 * gmount.[hc]: Add g_mount_guess_content_type().
101 2008-07-06 David Zeuthen <davidz@redhat.com>
104 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
105 is needed for easily handling adoption of foreign volumes by
106 out-of-process volume monitors (#541793)
108 2008-07-06 David Zeuthen <davidz@redhat.com>
110 * gvolumemonitor.[ch]:
111 * gunionvolumemonitor.c: Export the eject-button signal on the
112 volume monitor class (#541794).
114 2008-07-06 Matthias Clasen <mclasen@redhat.com>
116 * gappinfo.c: More doc tweaks
118 2008-07-05 Matthias Clasen <mclasen@redhat.com>
120 * gappinfo.c: Clarify some docs
122 2008-07-03 Matthias Clasen <mclasen@redhat.com>
124 * gdesktopappinfo.c: Fix a stupid mistake.
126 2008-07-02 Matthias Clasen <mclasen@redhat.com>
128 * === Released 2.17.3 ===
130 2008-07-02 Matthias Clasen <mclasen@redhat.com>
132 * gfilemonitor.c: Fix the build.
134 2008-07-02 Matthias Clasen <mclasen@redhat.com>
136 Bug 536160 – Add g_file_monitor()
139 * gfile.[hc]: Add g_file_monitor which can return either
140 a file or a directory monitor. Proposed by Behdad Esfahbod
142 2008-07-02 Matthias Clasen <mclasen@redhat.com>
144 536733 – gio build failure on Irix
146 * glocalfile.c: Use a configure check for structfs.f_bavail.
148 2008-07-02 Matthias Clasen <mclasen@redhat.com>
150 Bug 534639 – add g_desktop_app_info_new_from_keyfile
153 * gdesktopappinfo.[hc]: Add a function to create a
154 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
156 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
158 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
160 2008-07-01 Matthias Clasen <mclasen@redhat.com>
162 * gunixmounts.c: Fix a doc typo.
164 2008-07-01 Cody Russell <bratsche@gnome.org>
166 * gio/gcontenttype.c:
167 * gio/gwin32appinfo.c:
168 * gio/gwin32volumemonitor.c:
169 * gio/gwin32mount.c: Fixed some include problems.
171 2008-07-01 Cody Russell <bratsche@gnome.org>
175 Moved all relevant typedefs into these files.
178 Updated wrt added files.
180 Split types into separate file for easier maintainership. (#538564)
182 2008-06-30 Matthias Clasen <mclasen@redhat.com>
184 Bug 540331 – g_file_append_to () documentation: can return NULL
186 * gfile.c (g_file_append_to): Clarify docs.
189 2008-06-30 Matthias Clasen <mclasen@redhat.com>
191 Bug 539090 – g_content_type_from_mime_type() should unalias
193 * gcontentype.c (g_content_type_from_mime_type): Unalias.
194 Patch by Markus Bergman
196 2008-06-30 Matthias Clasen <mclasen@redhat.com>
198 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
201 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
202 on ppc and alpha. Reported by Mart Raudsepp
204 2008-06-29 Matthias Clasen <mclasen@redhat.com>
207 * tests/memory-output-stream.c: Add some tests for
210 2008-06-29 Matthias Clasen <mclasen@redhat.com>
212 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
215 * gmemoryoutputstream.c (array_resize): Handle truncation to
216 zero correctly. Reported by Akira Tagoh
218 2008-06-29 Matthias Clasen <mclasen@redhat.com>
220 * gmemoryoutputstream.c: Trivial doc fixes
222 2008-06-29 Matthias Clasen <mclasen@redhat.com>
224 Bug 540802 – g_list_prepend doesn't concat lists
226 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
227 one list to another. Pointed out by Jan Arne Petersen
229 2008-06-28 Michael Natterer <mitch@imendio.com>
231 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
233 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
235 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
236 to avoid problems with partial icon themes.
238 2008-06-17 Hans Breuer <hans@breuer.org>
240 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
241 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
242 access again on win32, see bug #538127
243 * giomodule.c : ensure GWin32VolumeMonitor is registered
244 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
245 * Makefile.am makefile.msc : updated
247 2008-06-16 Hans Breuer <hans@breuer.org>
249 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
250 and initialization in one step avoids c99ism
252 2008-06-16 Christian Persch <chpe@gnome.org>
255 * gio/gbufferedinputstream.c
257 * gio/gdatainputstream.c
258 * gio/gdesktopappinfo.c
260 * gio/gfileenumerator.c
261 * gio/gfileinputstream.c
262 * gio/gfileoutputstream.c
264 * gio/glocaldirectorymonitor.c
266 * gio/glocalfileenumerator.c
267 * gio/glocalfileinfo.c
268 * gio/glocalfilemonitor.c
269 * gio/glocalfileoutputstream.c
270 * gio/gmemoryinputstream.c
271 * gio/gmemoryoutputstream.c
272 * gio/goutputstream.c
273 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
276 2008-06-16 Tor Lillqvist <tml@novell.com>
278 Bug 538362 - Get Win32 icons back in the file chooser
280 * gcontenttype.c (g_content_type_get_icon): Look up the icon
281 corresponding to a file extension in the Registry. Patch by Hans
283 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
285 2008-06-16 Tor Lillqvist <tml@novell.com>
287 Patches by Hans Breuer:
289 * glocalfile.c (is_xp_or_later): Handle compiling against older
290 SDK headers with missing VerifyVersionInfo(). Conditioned on
291 _MSC_VER, but should probably use some better test.
292 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
293 uninitialised statfs_result variable on Win32.
295 2008-06-16 Michael Natterer <mitch@imendio.com>
297 * *.c: chain up unconditionally in finalize() and dispose(). Also
298 don't dereference these function pointers when calling them since
299 that has no meaning at all.
301 2008-06-16 Ross Burton <ross@burtonini.com>
304 Remove check for dispose implementation as it annoys Emmanuele.
306 2008-06-16 Ross Burton <ross@burtonini.com>
308 Bug 536252 – GFileEnumerator should allow access to the containing
314 Add g_file_enumerator_get_container() and a container writeable
315 construct-only property. Also shuffle around typedefs to make it
318 * glocalfileenumerator.c:
319 * glocalfileenumerator.h:
321 Instead of a string filename take a GFile in the constructor and
322 use it to set the container property.
327 2008-06-16 Matthias Clasen <mclasen@redhat.com>
329 * gfile.c: Make includes more uniform
331 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
333 * tests/live-g-file.c (sample_struct):
334 Use less fancy unicode filenames, so the test doesn't fail
335 on Mac OS X (#531476).
337 2008-06-12 Matthias Clasen <mclasen@redhat.com>
339 * === Released 2.17.2 ===
341 2008-06-12 Matthias Clasen <mclasen@redhat.com>
343 * === Released 2.17.1 ===
345 2008-06-11 A. Walton <awalton@gnome.org>
347 * tests/g-file.c (test_g_file_new_null):
348 Fix broken test case.
350 2008-06-11 Matthias Clasen <mclasen@redhat.com>
352 * pltcheck.sh: We use g_clear_error now.
354 2008-06-11 Matthias Clasen <mclasen@redhat.com>
356 * glocalfile.c (g_local_file_enumerate_children): Revert
357 an unintended change.
359 2008-06-11 Matthias Clasen <mclasen@redhat.com>
361 * gfile.c (g_file_replace_contents): Don't unref before the last use.
363 2008-06-10 Matthias Clasen <mclasen@redhat.com>
365 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
368 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
369 as icon for the desktop directory, also make user-home and
370 user-desktop the preferred icons.
372 2008-06-10 Matthias Clasen <mclasen@redhat.com>
375 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
376 to add a name to the front of the list.
378 2008-06-10 Matthias Clasen <mclasen@redhat.com>
380 Bug 537392 – Additional colon in xattr name
382 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
383 too. Reported by Alessandro Morandi
385 2008-06-10 Matthias Clasen <mclasen@redhat.com>
387 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
390 * glocalfile.c (get_fs_type): Add afs and autofs.
391 Patch by Danny Baumann.
393 2008-06-10 Matthias Clasen <mclasen@redhat.com>
395 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
397 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
398 is no parent. (Owen Taylor, patch by Christian Neumair)
400 2008-06-10 Paolo Borelli <pborelli@katamail.com>
402 * gfile.c (g_file_replace_contents): do not leak the output stream.
404 2008-06-10 Michael Natterer <mitch@imendio.com>
406 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
407 uninitialized memory as array index.
409 2008-06-10 Tor Lillqvist <tml@novell.com>
411 * gcontenttype.c (g_content_type_can_be_executable)
412 (g_content_type_get_icon) [Win32]: Add TODO comments.
414 2008-06-09 Matthias Clasen <mclasen@redhat.com>
416 * xdgmime/Makefile.am: Fix the build
418 2008-06-09 Matthias Clasen <mclasen@redhat.com>
420 * gcontenttype.c (g_content_type_get_icon): Use icons specified
421 in the shared mime database, if available.
423 * xdgmime/*: Sync with upstream. This brings support for
424 glob weights, generic icons, and changes the cache format to
427 2008-05-28 Michael Natterer <mitch@imendio.com>
429 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
430 the global CPPFLAGS now.
432 * tests/data-input-stream.c
433 * tests/data-output-stream.c
434 * tests/g-file-info.c
436 * tests/live-g-file.c
437 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
439 2008-05-27 Matthias Clasen <mclasen@redhat.com>
441 * === Released 2.17.0 ===
443 * tests/live-g-file.c: Clean up after the tests, so make distcheck
444 doesn't complain about leftover files.
446 2008-05-27 simon.zheng <simon.zheng@sun.com>
448 * glocalfile.c: (g_local_file_query_filesystem_info):
449 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
451 2008-05-26 Michael Natterer <mitch@imendio.com>
453 * gmemoryoutputstream.h: declare
454 g_memory_output_stream_get_data_size().
456 2008-05-26 Matthias Clasen <mclasen@redhat.com>
458 * tests/*: Make tests work
460 2008-05-26 Matthias Clasen <mclasen@redhat.com>
462 * gio.symbols: Add g_memory_output_stream_get_data_size.
464 2008-05-25 Ross Burton <ross@burtonini.com>
467 Fix typo in error message (#534764).
469 2008-05-25 Ross Burton <ross@burtonini.com>
472 Fix circular dependency loop for gioenumtypes.h (#534759).
474 2008-05-19 Hans Breuer <hans@breuer.org>
476 * Makefile.am : EXTRA_DIST += makefile.msc
478 2008-05-17 Matthias Clasen <mclasen@redhat.com>
481 * gcontenttype.c: (g_content_type_from_mime_type):
482 New function to create a content type from a mime type. (#527175,
485 2008-05-17 Matthias Clasen <mclasen@redhat.com>
487 Bug 532965 – Should not return filesystem::free for certain file systems
489 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
490 free space for ncpfs.
492 2008-05-17 Matthias Clasen <mclasen@redhat.com>
494 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
496 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
497 st_dev might be zero.
499 2008-05-16 Tor Lillqvist <tml@novell.com>
501 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
502 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
504 2008-05-13 Bastien Nocera <hadess@hadess.net>
506 * gfile.c (has_valid_scheme): A URI scheme must start with a
507 letter, even if later more characters are allowed (#532852)
509 2008-05-05 Michael Natterer <mitch@imendio.com>
511 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
512 code from being checked in that breaks the build of applications
513 which use G_DISABLE_SINGLE_INCLUDES.
515 * makegioalias.pl: make the alias file include "glib.h" instead of
518 * gio.symbols: whitespace change to force regeneration of the
519 alias file after above script change.
521 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
523 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
525 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
527 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
529 2008-04-28 David Zeuthen <davidz@redhat.com>
531 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
532 displaying mounts in a subdirectory not accessible to the
535 2008-04-22 Michael Natterer <mitch@imendio.com>
537 * Makefile.am: fix library versioning (it was 0.0.0).
539 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
541 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
542 Default disable all loggings.
543 * fen/fen-kernel.c: (printevent), (port_add_kevent),
544 (port_fetch_event_cb): Fixed two macro nits.
546 2008-04-16 Matthias Clasen <mclasen@redhat.com>
548 * xdgmime/xdgmime.c: Rework the timestamp checking code
549 to protect against duplicate directories in XDG_DATA_DIRS.
550 Fixes fd.o bug 12513, reported by Joe Shaw.
552 2008-04-16 Matthias Clasen <mclasen@redhat.com>
554 Partically revert the last commit after realizing that
555 xdg_mime_media_type_equal doesn't have to init at all.
558 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
560 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
562 2008-04-16 Matthias Clasen <mclasen@redhat.com>
564 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
565 reported by Joe Shaw and Federico Mena Quintero.
567 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
568 (xdg_mime_media_type_equal): Turn into a wrapper around the
571 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
572 functions throughout.
574 2008-04-16 Michael Meeks <michael.meeks@novell.com>
576 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
577 tolerate an empty TryExec= line without failing; nautilus used
578 to create launchers with these in previous versions. Fixes #528433
580 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
582 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
583 after name. Fixes #527132.
585 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
587 * gfile.c: (g_file_replace):
590 2008-04-07 Matthias Clasen <mclasen@redhat.com>
592 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
594 * gfile.c (file_copy_fallback): Fix the argument order. Patch
595 by Christian Kellner.
597 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
599 * gunixmounts.c: (g_unix_mount_guess_should_display):
600 Don't list the user directory as a mount, fix potential issue
601 when other users have a similar naming and don't special case the
602 gvfs mounts there since that's not required (#525866)
604 2008-03-31 Alexander Larsson <alexl@redhat.com>
606 * glocalfile.c (get_parent):
609 2008-03-31 A. Walton <awalton@svn.gnome.org>
611 * gfile.c (g_file_query_file_type):
612 Always return a GFileType enum value (#520715).
614 2008-03-31 Alexander Larsson <alexl@redhat.com>
616 * glocalfileenumerator.c:
617 Read readdir() info in chunks (of 1000) and sort
618 the chunks by inode before stat:ing.
619 This is a 20% performance increase in testing
620 gvfs-ls on /usr/bin with cold cache.
622 2008-03-31 Alexander Larsson <alexl@redhat.com>
624 * gmemoryoutputstream.c:
625 Clarify docs for g_memory_output_stream_get_size.
626 Add g_memory_output_stream_get_data_size.
628 2008-03-30 Matthias Clasen <mclasen@redhat.com>
632 * gfile.h: Add g_file_query_file_type convenience function
633 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
635 2008-03-30 Matthias Clasen <mclasen@redhat.com>
638 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
640 2008-03-28 A. Walton <awalton@svn.gnome.org>
642 * giomodule.c (_g_io_modules_ensure_loaded):
643 Adds GIO_EXTRA_MODULES environment variable support, closing bug
646 2008-03-28 Alexander Larsson <alexl@redhat.com>
649 (copy_stream_with_progress):
652 2008-03-28 Alexander Larsson <alexl@redhat.com>
655 (copy_stream_with_progress):
656 (file_copy_fallback):
657 Fallback to g_file_query_info for source size
658 if g_file_input_stream_query_info fails. (#524579)
660 2008-03-28 Alexander Larsson <alexl@redhat.com>
662 * glocalfile.c (g_local_file_move):
663 Reuse old string instead of adding new one.
665 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
667 * fen/*.[hc]: still copyright issue. I hate copyright.
669 2008-03-27 Alexander Larsson <alexl@redhat.com>
671 * glocalfile.c (g_local_file_move):
672 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
673 file over directory. This is according to the docs and what the move via
674 copy+remove fallback does.
676 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
678 * fen/*.[hc]: Updated copyright.
680 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
682 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
684 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
686 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
687 not emit attribute changed events when optimizing changed events.
688 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
691 2008-03-19 Matthias Clasen <mclasen@redhat.com>
693 * gmountoperation.[hc]: Small documentation additions
695 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
697 * gunixmounts.c: (guess_mount_type):
698 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
700 2008-03-19 Alexander Larsson <alexl@redhat.com>
703 (copy_stream_with_progress):
704 Bump block side for copy to 64k to minimize
705 overhead for low latency links. (#523015)
707 2008-03-16 Tor Lillqvist <tml@novell.com>
709 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
710 depend on gio.def on Windows.
712 2008-03-12 David Zeuthen <davidz@redhat.com>
716 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
718 2008-03-14 Alexander Larsson <alexl@redhat.com>
722 Avoid redudant tests (#521851)
723 Patch from Josselin Mouette
725 2008-03-14 Alexander Larsson <alexl@redhat.com>
728 (g_file_monitor_is_cancelled):
729 Fix C89 issue (#521672)
730 Patch from Jens Granseuer
732 2008-03-14 Alexander Larsson <alexl@redhat.com>
734 * fam/fam-helper.[ch]:
736 Shut down fam (including removing fam GSource) when
737 module is unloaded (#521513)
738 Patch from Joe Marcus Clarke
740 2008-03-14 Alexander Larsson <alexl@redhat.com>
743 (_g_io_modules_ensure_loaded):
746 2008-03-14 Alexander Larsson <alexl@redhat.com>
749 (g_local_file_query_filesystem_info):
750 Use right define name for f_fstypename member check
752 2008-03-14 Alexander Larsson <alexl@redhat.com>
755 * fen/Makefile.am: Added.
756 * fen/fen-data.[ch]: Added.
757 * fen/fen-dump.[ch]: Added.
758 * fen/fen-helper.[ch]: Added.
759 * fen/fen-kernel.[ch]: Added.
760 * fen/fen-missing.[ch]: Added.
761 * fen/fen-node.[ch]: Added.
762 * fen/fen-sub.[ch]: Added.
763 * fen/gfendirectorymonitor.[ch]: Added.
764 * fen/gfenfilemonitor.[ch]: Added.
766 Added Solaris FEN file notification backend.
767 Patch from Lin Ma <Lin.Ma@Sun.COM>
769 2008-03-13 Tor Lillqvist <tml@novell.com>
771 * Makefile.am: Actually use the gio.def file when linking the
772 library on Windows. Produce .lib library for Microsoft's toolchain
773 when possible. Install the .lib and .def file like for the other
776 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
778 * tests/live-g-file.c:
779 Include live-g-file in standard set of tests, making a temporary
780 directory in source structure.
782 Clean target directory before the tests (write mode only)
784 2008-03-12 Tor Lillqvist <tml@novell.com>
786 Bug 517419 - gio win32 directory monitor
787 Implementation by Vlad Grecescu.
790 * win32/gwin32directorymonitor.h
791 * win32/gwin32directorymonitor.c: New files.
793 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
795 * Makefile.am: Add the win32 subdirectory.
797 2008-03-12 Tor Lillqvist <tml@novell.com>
799 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
800 normal struct stat on Unix but struct _stati64 on Windows to have
801 access to 64-bit file size information. Use that instead of struct
802 stat in the functions declared here in this private header.
804 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
805 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
806 warnings about unused functions and variables. Don't set
807 meaningless attributes like inode numbers on Windows.
809 2008-03-12 Benjamin Otte <otte@gnome.org>
812 trim whitespace so gtk-doc groks the function name
814 2008-03-12 Tor Lillqvist <tml@novell.com>
816 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
817 returning FALSE, on Win32.
819 2008-03-11 Alexander Larsson <alexl@redhat.com>
822 * glocalfileinfo.[ch]:
823 Correctly implement can_trash by actually
824 looking for a trash dir, not just assuming
827 2008-03-10 Matthias Clasen <mclasen@redhat.com>
829 * === Released 2.16.1 ===
831 2008-03-11 Alexander Larsson <alexl@redhat.com>
834 Fix crashes in new constructor and properties code
836 2008-03-10 Murray Cumming <murrayc@murrayc.com>
838 * gfile.c: Minor spelling correction in documentation:
839 existance -> existence.
841 2008-03-10 Matthias Clasen <mclasen@redhat.com>
843 * === Released 2.16.0 ===
845 2008-03-10 Matthias Clasen <mclasen@redhat.com>
847 * gio.symbols: Remove g_file_contains_file here, too.
849 2008-03-10 Matthias Clasen <mclasen@redhat.com>
851 * gthemedicon.c: Add properties to make bindings happy. (#517676,
852 Samuel Cormier-Iijima)
854 2008-03-08 Tor Lillqvist <tml@novell.com>
856 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
859 2008-03-07 Alexander Larsson <alexl@redhat.com>
862 (g_local_file_query_filesystem_info):
863 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
864 Patch from Jasper Lievisse Adriaanse
866 2008-03-06 Tor Lillqvist <tml@novell.com>
868 * gfileinfo.h: Correct milliseconds to microseconds in the doc
869 comments for the *_USEC attributes.
871 2008-03-06 Alexander Larsson <alexl@redhat.com>
873 * gfile.c (g_file_query_exists):
874 Add g_return_val_if_fail check (#520700)
876 2008-03-06 Alexander Larsson <alexl@redhat.com>
881 * gunionvolumemonitor.c:
884 * tests/live-g-file.c:
885 * xdgmime/xdgmimecache.c:
886 Fix sparse warnings (#519489)
888 2008-03-05 Alexander Larsson <alexl@redhat.com>
891 Make cancellation threadsafe (i.e.
892 guarantee its only done once, and always
895 * glocaldirectorymonitor.c:
896 Make sure we the monitor lives while the
897 mounts_changed callback is being called (#520484)
899 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
901 * gbufferedinputstream.c: Fix typo in parameter
904 2008-03-04 Alexander Larsson <alexl@redhat.com>
907 Remove deprecated symbols we kept for one release.
909 2008-03-04 Murray Cumming <murrayc@murrayc.com>
912 * goutputstream.c: Tiny documentation corrections.
914 2008-03-03 Alexander Larsson <alexl@redhat.com>
916 * gunionvolumemonitor.c:
918 Fix the adopt_orphan_mount vfunc to take a
919 volume_monitor reference in an ABI compat way.
920 This change is not API compat, but the added
921 arg is not used in the only user of this vfunc, so
922 all we get is a harmless warning in gvfs (#520169)
924 2008-03-01 Benjamin Otte <otte@gnome.org>
927 clarify docs for g_file_delete().
929 2008-02-29 Alexander Larsson <alexl@redhat.com>
933 Make sure empty files get text/plain type (#518720)
935 2008-02-27 Alexander Larsson <alexl@redhat.com>
941 (g_unix_volume_mount):
942 Add missing GMountMountFlags argument
944 2008-02-26 Alexander Larsson <alexl@redhat.com>
947 (g_local_file_delete):
948 Handle filesystems (like ntfs-3g) that return EEXIST instead
949 of ENOTEMPTY (#518816)
951 2008-02-25 Matthias Clasen <mclasen@redhat.com>
953 * === Released 2.15.6 ===
955 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
957 * gfile.c (g_file_find_enclosing_mount):
958 * ginputstream.c (g_input_stream_set_pending):
959 * glocalfile.c (g_local_file_find_enclosing_mount):
960 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
961 * goutputstream.c (g_output_stream_set_pending):
963 Fixup translator comments (#518578).
965 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
967 * gfile.c (g_file_find_enclosing_mount):
969 * glocalfile.c (g_local_file_find_enclosing_mount):
972 Fix a few typos in translator comments and documentation.
974 2008-02-25 Alexander Larsson <alexl@redhat.com>
981 Add translator comments (#518578)
983 2008-02-25 Alexander Larsson <alexl@redhat.com>
986 Reintroduce g_file_contains_file, keep around for one
987 unstable release cycle to avoid crashing to many apps.
988 Make sure to delete after release.
990 2008-02-25 Alexander Larsson <alexl@redhat.com>
993 Remove deprecated g_file_contains_file.
995 2008-02-25 Alexander Larsson <alexl@redhat.com>
998 Emit actual change signals in an idle handler.
999 This avoids reentrance and locking problems in
1000 the file notification backends.
1002 2008-02-25 Alexander Larsson <alexl@redhat.com>
1005 (g_unix_mount_guess_should_display):
1006 Remove type guessing, instead just display
1007 mounts in /media and in ~/.
1009 2008-02-25 Alexander Larsson <alexl@redhat.com>
1012 Make new strings reuse old ones.
1014 2008-02-25 Alexander Larsson <alexl@redhat.com>
1017 Implement trashing and filesystem::readonly for win32 (#517235)
1018 Patch from Yevgen Muntyan
1020 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1022 * gfileinfo.h: Documentation fixes.
1024 2008-02-22 Alexander Larsson <alexl@redhat.com>
1026 * gcontenttype.c (g_content_type_get_icon):
1027 Look at old-style gnome mime icon names too, as many
1028 have not moved to the new style.
1030 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1032 * *.c: Correct the @include in for section docs.
1034 2008-02-21 David Zeuthen <davidz@redhat.com>
1036 * glocalfileinfo.c: (_g_local_file_info_get):
1038 (g_content_type_get_icon): Implement this function by
1039 moving bits from glocalfileinfo.c
1040 (g_content_type_get_description): Unalias before getting
1041 description (#517687)
1043 * gfile.c: (g_file_class_init),
1044 (g_file_query_filesystem_info_async),
1045 (g_file_query_filesystem_info_finish),
1046 (query_filesystem_info_data_free),
1047 (query_filesystem_info_async_thread),
1048 (g_file_real_query_filesystem_info_async),
1049 (g_file_real_query_filesystem_info_finish):
1050 * gfile.h: Implement async version of
1051 g_file_query_filesystem_info()
1053 * gfileinfo.h: Add new attributes for filesystem::use-preview
1055 * gio.symbols: Update
1057 * gthemedicon.c: (g_themed_icon_append_name):
1058 * gthemedicon.h: Add new new convenience function.
1060 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1061 (get_mounts), (get_volumes), (get_connected_drives),
1062 (get_volume_for_uuid), (get_mount_for_uuid),
1063 (g_union_volume_monitor_init), (populate_union_monitor),
1064 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1065 (g_volume_monitor_adopt_orphan_mount):
1067 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1068 monitor implementations to call into the main volume monitor. Also
1069 separate object initialization and volume monitor initialization
1070 such that non-native volume monitors can properly adopt their
1073 2008-02-21 Alexander Larsson <alexl@redhat.com>
1078 2008-02-21 Alexander Larsson <alexl@redhat.com>
1081 Add more documentation about how GFiles work (from #517086)
1083 2008-02-21 Alexander Larsson <alexl@redhat.com>
1087 Add new g_file_has_prefix that does the same as g_file_contains_file.
1088 Deprecate g_file_contains_file and add a macro that converts
1089 it to g_file_has_prefix.
1090 The reason for this change is that the contains_file() name seems to
1091 imply that this does more work than what it does, but its really only
1092 a name match (from #517086)
1097 Update to match the above change.
1099 2008-02-20 Benjamin Otte <otte@gnome.org>
1101 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1102 (g_file_eject_mountable):
1103 even more cases of not returning in error path
1105 2008-02-20 Benjamin Otte <otte@gnome.org>
1107 * gfile.c: (g_file_mount_mountable):
1108 return from function in error path.
1110 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1113 Remove trailing coma in GMountMountFlags struct
1115 2008-02-18 Alexander Larsson <alexl@redhat.com>
1119 * glocalfileoutputstream.c:
1120 Use g_unlink/g_rename instead of unlink/rename;
1121 do not pass raw filenames to g_set_error. (#517239)
1122 Patch from Yevgen Muntyan.
1124 2008-02-18 Alexander Larsson <alexl@redhat.com>
1127 * glocalfileoutputstream.c:
1128 Open files with O_BINARY on windows. (#517140)
1130 2008-02-14 Alexander Larsson <alexl@redhat.com>
1132 * glocalfileoutputstream.c:
1133 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1135 2008-02-14 Alexander Larsson <alexl@redhat.com>
1138 Copy permissions with file on copy (#514084)
1139 This is what cp does and makes sure e.g. the
1140 exec permissions are kept.
1141 Its kinda weird in that it keeps the permission bits
1142 the same while the uid and gid are different. However
1143 the new uid is the user so its not a security issue,
1144 and I've heard no complaints about cp on this issue.
1146 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1148 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1150 2008-02-13 Alexander Larsson <alexl@redhat.com>
1152 * inotify/inotify-path.c:
1153 Define IN_ONLYDIR if not in header (#515346)
1155 2008-02-12 Alexander Larsson <alexl@redhat.com>
1157 * tests/live-g-file.c:
1160 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1162 * === Released 2.15.5 ===
1164 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1166 * gio.symbols: Add g_mount_mount_flags_get_type.
1168 2008-02-11 Alexander Larsson <alexl@redhat.com>
1171 (g_file_info_set_attribute_mask):
1172 (g_file_attribute_matcher_matches_id):
1173 Correctly handle NULL GAttributeMatcher meaning
1174 matches nothing. (Fixes #513492)
1176 2008-02-11 Alexander Larsson <alexl@redhat.com>
1181 Added GMountMountFlags enum and added a flags
1182 argument to all mount calls.
1184 This is an API/ABI change for future extensibility,
1185 as I think we will need at least an
1186 inhibit-autorun flag (the panel needs this).
1187 There are no flags defined yet though.
1189 2008-02-11 Alexander Larsson <alexl@redhat.com>
1192 Added new standard::description attribute.
1193 Requested by Vincent, and useful for both
1196 2008-02-11 Alexander Larsson <alexl@redhat.com>
1198 * gdesktopappinfo.c:
1201 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1203 * *.c: Documentation additions
1205 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1207 * gappinfo.h: Formatting cleanup
1208 * gappinfo.c: Fix up docs.
1210 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1212 * gunixmounts.c: Consistently use getmntent_r() and fall
1213 back to getmntent(). (#515492)
1215 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1217 * gbufferedinputstream.c:
1219 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1221 * tests/data-input-stream.c:
1222 * tests/data-output-stream.c: Portability fixes.
1224 2008-02-08 Alexander Larsson <alexl@redhat.com>
1229 Add g_volume_should_automount.
1232 2008-02-07 Tor Lillqvist <tml@novell.com>
1234 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1235 Win32, too Unix-specific.
1237 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1239 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1240 a local plt if the compiler doesn't support what we want. Bug #514702
1242 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1244 reviewed by: <delete if not using a buddy>
1247 * gunixinputstream.c:
1248 * gunixoutputstream.c:
1250 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1252 * tests/Makefile.am:
1253 * tests/live-g-file.c:
1254 * tests/live-g-file.txt:
1255 New GIO testing module working over real data
1257 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1259 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1260 Fallback to rename() if link() is not available
1261 (when no support on target filesystem)
1263 2008-02-06 Michael Natterer <mitch@imendio.com>
1265 * gfileinfo.c (g_file_info_get_icon): replace
1266 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1268 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1270 * gfile.c (g_file_create):
1271 Documentation update of error codes
1273 2008-02-06 Alexander Larsson <alexl@redhat.com>
1275 * gdesktopappinfo.c:
1276 Update to use both mimeapps.list and
1277 defaults.list as discussed on xdg list.
1279 2008-02-06 Benjamin Otte <otte@gnome.org>
1282 * gfilenamecompleter.c:
1283 Fix some typos in the documentation.
1285 2008-02-06 Alexander Larsson <alexl@redhat.com>
1287 * glocalfile.c (g_local_file_trash):
1288 Don't succeed with trash if newly created
1289 trash dir has the wrong owner. (#514696)
1291 2008-02-05 Alexander Larsson <alexl@redhat.com>
1293 * glocalfile.c (g_local_file_move):
1294 Don't spew warnings when destination is not
1297 2008-02-03 Hans Breuer <hans@breuer.org>
1299 * makefile.msc : update
1301 2008-02-01 Michael Natterer <mitch@imendio.com>
1303 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1304 return value of xdg_mime_list_mime_parents() to a variable of the
1307 2008-02-01 Alexander Larsson <alexl@redhat.com>
1309 * gappinfo.c (g_app_info_launch_uris):
1310 Actually call the launch_uris method, not
1313 2008-02-01 Alexander Larsson <alexl@redhat.com>
1315 * gdesktopappinfo.c (g_desktop_app_info_equal):
1316 Ensure appinfos with no id but same pointer value
1319 2008-02-01 Alexander Larsson <alexl@redhat.com>
1321 * gappinfo.c (g_app_info_launch_default_for_uri):
1324 2008-02-01 Alexander Larsson <alexl@redhat.com>
1328 Add g_app_info_launch_default_for_uri utility
1331 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1333 * gdesktopappinfo.c:
1334 Doc fix for g_app_info_get_default_for_uri_scheme ()
1337 2008-01-30 Alexander Larsson <alexl@redhat.com>
1340 Add doc comment about uris vs GFiles to
1343 * gdesktopappinfo.c:
1344 Ensure uris passed to g_app_info_launch_uris()
1345 are not roundtriped through GFile (as that
1346 may be slightly destructive for e.g. mailto: links)
1348 2008-01-30 Alexander Larsson <alexl@redhat.com>
1350 * tests/data-input-stream.c:
1351 * tests/data-output-stream.c:
1352 C89 fixes from Jens Granseuer (#512849)
1354 2008-01-30 Alexander Larsson <alexl@redhat.com>
1357 Fix gamin/fam difference build issue. (#509419)
1359 2008-01-29 Alexander Larsson <alexl@redhat.com>
1362 * gdesktopappinfo.c:
1363 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1365 2008-01-29 Alexander Larsson <alexl@redhat.com>
1367 * gdesktopappinfo.c:
1368 * gdesktopappinfo.h:
1369 giomodule-priv.h include moved to .c file.
1371 2008-01-29 Alexander Larsson <alexl@redhat.com>
1373 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1374 Remove unused prio/name fields.
1376 2008-01-29 Alexander Larsson <alexl@redhat.com>
1378 * gcontenttype.c (looks_like_text):
1379 Don't treat whitespace as control chars.
1381 2008-01-29 Alexander Larsson <alexl@redhat.com>
1383 * gdesktopappinfo.c:
1384 Lazily create the desktop files for appinfos created
1385 by g_app_info_create_from_commandline() when needed
1386 for mime associations. This allows run-time use
1387 of GAppInfo object without creating unnecessary
1390 2008-01-29 Alexander Larsson <alexl@redhat.com>
1393 Added new symbols to gio.symbols
1395 2008-01-29 Alexander Larsson <alexl@redhat.com>
1398 Add g_file_query_default_handler utility to easily look up
1399 the GAppInfo that handles a file.
1401 * gdesktopappinfo.[ch]:
1403 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1406 Remove unused function
1408 2008-01-29 Alexander Larsson <alexl@redhat.com>
1410 * gfileenumerator.c:
1411 Mention need to free returned value in
1412 g_file_enumerator_next_files_finish docs.
1413 Fix leak if g_file_enumerator_next_files_finish()
1416 2008-01-29 Alexander Larsson <alexl@redhat.com>
1419 (_g_unix_content_type_get_parents):
1420 Use list_parents, not get_parents from xdgmime, because
1421 the later doesn't use the cache.
1423 * xdgmime/xdgmimecache.c:
1424 (_xdg_mime_cache_list_mime_parents):
1425 Don't list the same type as parent multiple times.
1427 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1429 * === Released 2.15.4 ===
1431 2008-01-28 Alexander Larsson <alexl@redhat.com>
1434 Register local vfs with prio 0.
1437 Remove old name and prio class members
1439 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1441 * tests/g-file.c: Disable some tests that are failing in
1442 the absence of a http backend.
1444 2008-01-28 Alexander Larsson <alexl@redhat.com>
1448 Add registration hooks for extension points.
1449 Register the gio extension points.
1451 * fam/gfamdirectorymonitor.c:
1452 * fam/gfamfilemonitor.c:
1453 * glocaldirectorymonitor.[ch]:
1454 * glocalfilemonitor.[ch]:
1455 * gnativevolumemonitor.h:
1456 * gunionvolumemonitor.c:
1457 * gunixvolumemonitor.c:
1460 * inotify/ginotifydirectorymonitor.c:
1461 * inotify/ginotifyfilemonitor.c:
1462 Use the extension points registration instead
1463 of g_type_children().
1465 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1468 * gvolume.[hc]: Document new API.
1470 * gfile.c (g_file_copy_async): Fix docs
1472 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1474 * gbufferedinputstream.c:
1476 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1479 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1481 * glocalfile.c: Avoid trivial differences in translatable strings.
1483 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1485 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1486 build with gcc 3.4 (#509419)
1488 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1490 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1491 (#509994, Murray Cumming)
1493 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1495 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1496 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1497 this allows big jobs to be executed in chunks, instead of blocking
1498 the main loop for a long time.
1500 * gsimpleasyncresult.c:
1501 * giofile.c: Adapt callers.
1503 2008-01-25 Alexander Larsson <alexl@redhat.com>
1505 * gdesktopappinfo.c:
1506 Implement changes discussed on xdg list.
1507 Now we can add supported mimetypes by just using defaults.list
1508 We can also remove associations in defaults.list.
1510 2008-01-25 Alexander Larsson <alexl@redhat.com>
1512 * gdesktopappinfo.c:
1513 Don't make local copy of desktop file
1514 for mimetype changes if the file already
1515 supports the new mimetype.
1517 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1521 * gbufferedinputstream.c:
1522 * glocalfile.c: String improvements. (#511966,
1523 Theppitak Karoonboonyanan)
1525 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1527 * gioscheduler.h: Expand docs a bit.
1529 2008-01-24 Alexander Larsson <alexl@redhat.com>
1532 Add g_drive_get_identifier and
1533 g_drive_enumerate_identifiers
1536 Add g_volume_get_identifier and
1537 g_volume_enumerate_identifiers
1543 Implement identifiers for unix backend
1545 2008-01-24 Alexander Larsson <alexl@redhat.com>
1550 Add g_file_copy_async() (#511580)
1551 Based on patch from Carlos Garcia Campos
1553 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1555 * gioscheduler.c: Some documentation additions.
1557 2008-01-22 Alexander Larsson <alexl@redhat.com>
1559 * gdesktopappinfo.c:
1560 (g_desktop_app_info_new):
1561 Don't leak basename.
1563 2008-01-22 Alexander Larsson <alexl@redhat.com>
1565 * gdesktopappinfo.c:
1566 (g_desktop_app_info_new_from_filename):
1569 2008-01-22 Alexander Larsson <alexl@redhat.com>
1571 * glocalfileinfo.c (get_thumbnail_attributes):
1574 2008-01-22 Alexander Larsson <alexl@redhat.com>
1577 (canonicalize_filename):
1578 Canonicalize paths that start with more than
1582 (compare_two_files):
1583 (test_g_file_new_for_path):
1586 2008-01-22 Alexander Larsson <alexl@redhat.com>
1589 Allow UTF-8 in file:// parse names.
1591 * tests/Makefile.am:
1592 * tests/data-input-stream.c:
1593 * tests/data-output-stream.c:
1594 * tests/g-file-info.c:
1596 Added a bunch of tests from Tomas Bzatek
1598 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1600 * === Released 2.15.3 ===
1602 2008-01-21 Alexander Larsson <alexl@redhat.com>
1604 * gfileinputstream.[ch]:
1605 * gfileoutputstream.[ch]:
1607 Remove duplicated GSeekable functions. (#509990)
1608 Just use the g_seekable_xxx() calls instead.
1610 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1613 * gvolumemanager.c: Whitespace cleanups.
1615 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1616 Use the right mode when creating the file.
1618 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1620 * gfileenumerator.c:
1621 * gfileinputstream.c:
1623 * goutputstream.c: Documentation: Fixed minor typos
1624 and added more mentions of specific _finish() functions.
1626 2008-01-21 Alexander Larsson <alexl@redhat.com>
1628 * inotify/Makefile.am:
1629 * inotify/inotify-helper.c:
1630 * inotify/inotify-kernel.c:
1631 * inotify/inotify-path.c:
1632 * inotify/local_inotify.h: Removed.
1633 * inotify/local_inotify_syscalls.h: Removed.
1634 Removed the included copies of the inotify
1635 headers. We now only use the <sys/inotify.h>
1636 header which exists on modern systems.
1637 This fixes problems on ARM and SH5 (#510448)
1638 but is also generally much cleaner and future
1639 safe. For instance, if other OSes add support
1640 for inotify it should "just work".
1642 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1644 * inotify/*.c: Coding style fixes.
1645 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1646 for the 1/4 Hz timer.
1648 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1651 * gfilemonitor.[hc]:
1652 * gmemoryinputstream.c:
1653 * gmemoryoutputstream.c:
1654 * gmountoperation.c:
1655 * gthemedicon.c: Documentation updates
1657 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1659 * gfile.c: documentation: Fixed more minor
1662 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1664 * gmount.c: (g_mount_remount): documentation:
1665 Mention g_mount_remount_finish() instead of
1666 g_mount_unmount_finish().
1668 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1672 * gfile.c: Fixed some minor typos in the
1675 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1677 * gio/gvolumemonitor.c:
1678 (g_volume_monitor_get_connected_drives):
1679 (g_volume_monitor_get_volumes):
1680 (g_volume_monitor_get_mounts): Documentation:
1681 Clarify the ownership of the regurn GLists.
1683 2008-01-17 Alexander Larsson <alexl@redhat.com>
1686 Add the async find_enclosing_mount version
1687 to the header file too.
1689 2008-01-17 Alexander Larsson <alexl@redhat.com>
1692 Add async version of find_enclosing_mount
1693 with default implementation.
1695 2008-01-17 Alexander Larsson <alexl@redhat.com>
1700 Allow calls to implementation of copy and write
1701 even if the type of the file implementations is
1702 different. This can be used to implement native
1703 upload and download calls in a vfs.
1706 (g_local_file_move):
1707 Protect against the case where move is called
1708 with one file not being local.
1710 Make sure we call the progress callback once
1711 in the native move operation so that the caller
1712 knows how many bytes were copied.
1714 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1717 * gdatainputstream.c:
1719 * gfileoutputstream.c:
1724 * gunixmounts.c: Corrected some typos in the documentation:
1725 occured -> occurred.
1726 its -> it's (where appropriate).
1728 2008-01-16 Alexander Larsson <alexl@redhat.com>
1732 Add g_file_query_exists (#508771)
1734 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1739 * gvolume.c: For async functions that have no non-async
1740 version, document that the GAsyncReadyCallback may be NULL.
1743 2008-01-15 Alexander Larsson <alexl@redhat.com>
1745 * gmemoryinputstream.c:
1746 * gmemoryoutputstream.c:
1747 Don't do pointer arithmetic on void * (#508602)
1748 Patch from Kazuki IWAMOTO
1750 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1752 * === Released 2.15.2 ===
1754 2008-01-14 Alexander Larsson <alexl@redhat.com>
1756 * gfile.c (g_file_monitor_file):
1757 Don't set error here, since we fallback to polling monitor.
1759 2008-01-14 Alexander Larsson <alexl@redhat.com>
1762 (g_file_monitor_directory):
1763 (g_file_monitor_file):
1764 Add GError to file monitor calls
1766 * glocaldirectorymonitor.c:
1767 * glocaldirectorymonitor.h:
1769 * glocalfilemonitor.c:
1770 * glocalfilemonitor.h:
1772 Update for above change
1774 2008-01-14 Alexander Larsson <alexl@redhat.com>
1778 Handle root correctly in g_file_get_relative_path (#508719)
1780 2008-01-14 Alexander Larsson <alexl@redhat.com>
1783 Clean up docs and example for GAsyncResult (#508074)
1785 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1787 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1788 and correct some spelling mistakes. Bug #508108.
1790 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1792 * glocalfileinfo.c: Add a comment.
1794 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1796 * gfileinfo.c: GFileInfo description: Mention
1797 how to actually set attributes in a GFile and how to discover
1798 which attributes are settable. Bug #508378.
1800 2008-01-10 A. Walton <awalton@svn.gnome.org>
1802 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1803 (g_app_info_get_default_for_type):
1804 Check for NULL content types.
1806 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1808 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1810 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1812 * gfile.c: *_async() functions: Several small corrections
1813 to the documentation, mostly correcting copy/paste errors
1814 and improving some sentences.
1816 2008-01-09 Dan Winship <danw@gnome.org>
1818 * glocalfile.c (get_unique_filename): x86_64 fix
1820 2008-01-09 Alexander Larsson <alexl@redhat.com>
1825 Add g_unix_mount_guess_should_display and use
1826 for unix volume monitor backend.
1827 This means we more or less show what the
1828 gnome-vfs backend did.
1829 Based on patch from Padraig O'Briain
1831 2008-01-09 Alexander Larsson <alexl@redhat.com>
1835 Add g_themed_icon_new_with_default_fallbacks
1838 Use default fallbacks for icons
1840 2008-01-09 Alexander Larsson <alexl@redhat.com>
1843 * gmountoperation.[ch]:
1844 Change the API a bit so that unhandled methods
1845 get reported via the reply, rather than by
1846 the signal emission return value. This is because
1847 some handlers can't know this immediately without
1848 doing I/O, and this is an async operation that
1851 2008-01-09 Alexander Larsson <alexl@redhat.com>
1854 * fam/gfamdirectorymonitor.c:
1855 * fam/gfamfilemonitor.c:
1856 Fix double free crash (#508224)
1857 Patch from Joe Marcus Clarke
1859 008-01-07 Matthias Clasen <mclasen@redhat.com>
1861 * === Released 2.15.1 ===
1863 2008-01-07 Alexander Larsson <alexl@redhat.com>
1865 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1866 Fix warning (#507835)
1868 2008-01-07 Alexander Larsson <alexl@redhat.com>
1871 Pass --internal to glib-genmarshal
1874 * gmountoperation.c:
1876 Use better types for signal arguments (#507822)
1878 2008-01-07 Alexander Larsson <alexl@redhat.com>
1881 Build test subdir after .
1882 Remove gdirectorymonitor.[ch]
1884 * gdirectorymonitor.[ch]:
1888 Remove GDirectoryMonitor and make
1889 GFileMonitor the baseclass for both file and
1890 directory monitors. Lift the more generic
1891 rate limiting code from GDirectoryMonitor
1895 * fam/gfamdirectorymonitor.[ch]:
1896 * inotify/ginotifydirectorymonitor.[ch]:
1897 * inotify/inotify-helper.c:
1898 * glocaldirectorymonitor.[ch]:
1901 Update for the removed GDirectoryMonitor.
1903 * gmemoryoutputstream.c:
1904 Remove ununsed variable
1906 2008-01-07 Alexander Larsson <alexl@redhat.com>
1908 * gmemoryinputstream.c:
1909 Translate error strings
1912 * gmemoryoutputstream.[ch]:
1913 New implementation that avoids using GByteArray
1914 in implementation and API. (#506377)
1916 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1918 * tests/*: Add a test for memory input streams.
1920 * Makefile.am: Add tests to SUBDIRS.
1922 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1924 * glocalfilemonitor.c:
1925 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1928 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1930 * gdesktopappinfo.c: Fix a docs typo.
1932 * gfileattribute.c: Add information about extended attributes
1933 to the documentation. (#505058)
1935 2008-01-04 Alexander Larsson <alexl@redhat.com>
1938 * gmountoperation.c:
1939 Use the right type (uint) for the ask_password signal.
1941 2008-01-04 Alexander Larsson <alexl@redhat.com>
1946 Add g_app_info_supports_files()
1947 Remove desktop arg from g_app_info_should_show().
1949 * gdesktopappinfo.[ch]:
1950 Implement g_app_info_supports_files() and new should_show()
1951 Add g_desktop_app_info_set_desktop_env() to set the desktop
1952 for should_show(). (This will be set by gtk+ later)
1954 2008-01-04 Alexander Larsson <alexl@redhat.com>
1957 * gmemoryinputstream.[ch]:
1958 Improve API so that you can use multiple chunks
1959 of memory and custom destroy functions. (#506374)
1961 2008-01-03 Alexander Larsson <alexl@redhat.com>
1964 Handle NULL attribute matchers safely, as we return this
1965 for empty attribute matcher strings.
1967 2008-01-03 Alexander Larsson <alexl@redhat.com>
1969 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1970 Add /usr/local to list of internal mountpoints
1972 2008-01-03 Alexander Larsson <alexl@redhat.com>
1975 Check for HAVE_LCHOWN (#505887)
1977 2008-01-03 Alexander Larsson <alexl@redhat.com>
1981 Add define for selinux context attribute.
1982 Fix missing : -> :: namespace separator change
1983 Fix missing _ -> - name change for xattr-sys.
1986 2008-01-03 Alexander Larsson <alexl@redhat.com>
1989 Link to libglib and libgobject directly (#504879)
1990 Patch from Sebastien Bacher
1992 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1994 * gfile.c: Expanded the g_file_new_for_commandline_arg
1995 description a bit, based on the code and the docs of the
1996 other g_file_new_for_* functions.
1998 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2000 * gfilemonitor.h: Fixed typo in docs.
2002 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2004 Updates to GIO documentation. (#506395, Mikael Hermansson)
2006 * gcontenttype.c: Describe memory management for return value of
2007 g_content_types_get_registered(). Missing piece from #505815.
2008 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2009 GVolume, GDrive, GMounts, which hopefully gives the user less
2010 confusions when using this API. Following explainations from
2011 Alexander Larsson on gtk-devel-list.
2013 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2015 * gfileinfo.c: Expand the long description.
2017 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2020 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2021 fix builds with --disable-visibility. (#500273, Christian Persch)
2023 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2025 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2026 in the list of returned app infos.
2028 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2030 * gappinfo.c: Fix a cross-reference
2032 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2034 * gfileinputstream.c:
2035 * gfileoutputstream.c:
2039 * gdesktopappinfo.c:
2041 * gfileinfo.c: Documentation updates.
2043 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2045 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2048 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2050 * gcontenttype.c (g_content_types_get_registered): Don't return
2051 freed memory (#505815, Mikael Hermansson)
2053 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2055 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2056 used to detect statbuf->st_blocks. (#505042)
2058 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2060 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2061 environment handling. (#504829, Cosimo Cecchi)
2063 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2065 * gappinfo.c: Doc improvements
2067 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2070 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2072 * === Released 2.15.0 ===
2074 2007-12-20 Hans Breuer <hans@breuer.org>
2076 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2077 with symbols gwin32appinfo.obj, added gmount.obj
2078 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2080 2007-12-20 Alexander Larsson <alexl@redhat.com>
2086 * gfilenamecompleter.c:
2089 * gpollfilemonitor.c:
2090 File attribute renames:
2092 fs:: -> filesystem::
2093 id::fs -> id::filesystem
2095 2007-12-20 Alexander Larsson <alexl@redhat.com>
2104 Add GMountUnmountFlags to all unmount and
2106 Add g_mount_remount() call.
2108 2007-12-20 Alexander Larsson <alexl@redhat.com>
2110 * gvfs.c (get_default_vfs):
2111 Fix unused variable warning
2113 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2115 * pltcheck.sh: Update
2117 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2119 * gunionvolumemonitor.c:
2120 * gunixmount.c: Remove C99 comments
2122 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2124 * gio.symbols: Add some missing symbols
2126 2007-12-19 Alexander Larsson <alexl@redhat.com>
2129 Make g_io_modules_load_all_in_directory not unuse
2130 loaded modules so that users of it can do stuff
2132 Init internal "module" types.
2133 Initialize static prio and name for types so that
2134 we don't have to load modules to get it.
2136 * gnativevolumemonitor.h:
2138 Move is_supported to parent class so that
2139 non-native monitors can avoid being initialized
2140 too. (For instance GDaemonVolumeMonitor if we're
2141 not using GDaemonVfs.)
2143 * glocaldirectorymonitor.[ch]:
2144 * glocalfilemonitor.[ch]:
2145 * gunionvolumemonitor.c:
2146 * gunixvolumemonitor.c:
2148 Find plugins using the static prio+name to
2149 avoid unnecessarily loading the modules.
2151 2007-12-19 Alexander Larsson <alexl@redhat.com>
2156 2007-12-19 Alexander Larsson <alexl@redhat.com>
2158 * gunionvolumemonitor.c:
2159 Store the native type as GType, not class so that
2160 we can unload it. But still avoid unnecessarily
2163 2007-12-19 David Zeuthen <davidz@redhat.com>
2165 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2166 add signals 'disconnected' and 'eject-button' on GDrive. Add
2167 signal 'removed' on GVolume and 'unmounted' on GMount.
2169 * gdrive.c: (g_drive_base_init):
2171 * gfile.c: (g_file_mount_mountable),
2172 (g_file_mount_enclosing_volume):
2175 * gmount.c: (g_mount_base_init):
2177 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2178 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2179 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2183 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2185 * *.c: Fix up includes in the section docs.
2187 2007-12-17 Alexander Larsson <alexl@redhat.com>
2189 * gnativevolumemonitor.h:
2190 * gunionvolumemonitor.c:
2191 * gunixvolumemonitor.c:
2192 Add is_supported() to GNativeVolumeMonitorClass so
2193 that we can avoid having to create an object to see
2194 if the backend is supported at runtime.
2195 Also add name member and an env var to pick a specific
2196 volume monitor backend.
2200 Add cancellable to _g_mount_get_for_mount_path()
2202 * glocaldirectorymonitor.c:
2203 * glocalfilemonitor.c:
2204 Avoid loading and unloading modules while sorting.
2206 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2209 * gunixmounts.[hc]: Namespace waste reduction, move some
2210 g_get_unix_mount functions to the g_unix_mount namespace.
2213 * gunixvolumemonitor.c:
2215 * glocaldirectorymonitor.c: Update all callers.
2217 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2219 2007-12-17 Alexander Larsson <alexl@redhat.com>
2222 Add doc comments about what GFile operations are
2223 guaranteed to not block.
2225 2007-12-17 Alexander Larsson <alexl@redhat.com>
2228 Add missing #ifdef fixing OSX build.
2229 (#503334, patch from Richard Hult)
2231 2007-12-14 David Zeuthen <davidz@redhat.com>
2235 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2236 (g_mount_eject), (g_mount_eject_finish):
2238 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2239 (get_volume_for_uuid), (get_mount_for_uuid),
2240 (g_union_volume_monitor_class_init),
2241 (get_default_native_type_with_exclude), (get_default_native_type),
2242 (get_native_type), (update_native_type),
2243 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2244 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2245 (g_unix_mount_can_eject), (eject_unmount_cb),
2246 (eject_unmount_read_error), (eject_unmount_do),
2247 (g_unix_mount_unmount), (g_unix_mount_eject),
2248 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2249 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2250 (g_unix_mount_point_guess_can_eject):
2252 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2253 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2254 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2255 (g_unix_volume_mount), (g_unix_volume_eject),
2256 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2257 * gunixvolumemonitor.c: (get_volume_for_uuid),
2258 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2260 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2261 (g_volume_eject), (g_volume_eject_finish):
2263 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2264 (g_volume_monitor_get_mount_for_uuid):
2267 Provide eject() on both GMount and GVolume and utility functions
2268 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2269 ejected. Introduce the concept of UUID's and wire it into GVolume
2270 and GMount and provide API on GVolumeMonitor to find such
2271 instances. Also handle the case where an external
2272 GNativeVolumeMonitor fails to initialize. Lock around the
2273 _g_get_mount_for_mount_path() function such that volume monitor
2274 implementations won't have to do locking themselves.
2276 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2278 * gdesktopappinfo.c:
2284 * gvolume.h: Documentation updates
2286 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2289 * gfile.h: Doc updates
2291 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2294 * gdesktopappinfo.c: Use hash table iterators.
2296 2007-12-14 Alexander Larsson <alexl@redhat.com>
2299 * gfileattribute.[ch]:
2300 * gfileattribute-priv.h:
2301 Move GFileAttributeValue to a private header, as
2305 Make set_attribute take a type + a pointer instead
2306 of a GFileAttributeValue.
2309 Fix up for above changes.
2310 Add g_file_info_get_attribute_data to get
2311 all info in one call, g_file_info_get_attribute_status
2312 to get the status and g_file_info_get_attribute_as_string.
2316 * glocalfileinfo.[ch]:
2320 Make _guess_type static.
2322 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2325 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2326 made mkenums and friends use temporary files to avoid leaving
2327 empty generated files on failure (#503470).
2329 2007-12-14 Alexander Larsson <alexl@redhat.com>
2331 * gmountoperation.h:
2334 2007-12-14 Alexander Larsson <alexl@redhat.com>
2338 * gfileattribute.[ch]:
2341 * glocalfileoutputstream.c:
2342 * gmountoperation.[ch]:
2343 * goutputstream.[ch]:
2344 Clean up all flags enums to not have _FLAGS in them
2345 Make the names of some of the enums better.
2350 2007-12-14 Michael Natterer <mitch@imendio.com>
2352 * gio.symbols: fix g_io_scheduler symbol names.
2354 2007-12-14 Alexander Larsson <alexl@redhat.com>
2360 * gbufferedinputstream.h:
2361 * gbufferedoutputstream.h:
2364 * gdatainputstream.h:
2365 * gdataoutputstream.h:
2366 * gdesktopappinfo.h:
2367 * gdirectorymonitor.h:
2371 * gfileenumerator.h:
2374 * gfileinputstream.h:
2376 * gfilenamecompleter.h:
2377 * gfileoutputstream.h:
2378 * gfilterinputstream.h:
2379 * gfilteroutputstream.h:
2387 * gmemoryinputstream.h:
2388 * gmemoryoutputstream.h:
2390 * gmountoperation.h:
2393 * gsimpleasyncresult.h:
2395 * gunixinputstream.h:
2397 * gunixoutputstream.h:
2401 * inotify/Makefile.am:
2402 Only allow including <gio/gio.h> from apps
2404 2007-12-14 Alexander Larsson <alexl@redhat.com>
2406 * gioscheduler.[ch]:
2407 * gsimpleasyncresult.c:
2408 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2409 Split out the send_to_mainloop call into two versions instead
2410 of having the block argument.
2412 2007-12-13 Alexander Larsson <alexl@redhat.com>
2414 * gcancellable.[ch]:
2416 * gbufferedinputstream.c:
2417 * gfileenumerator.c:
2418 * gfileinputstream.c:
2419 * gfileoutputstream.c:
2423 g_push/pop_current_cancellable ->
2424 g_cancellable_push/pop_current
2426 2007-12-13 Alexander Larsson <alexl@redhat.com>
2430 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2432 2007-12-13 Alexander Larsson <alexl@redhat.com>
2434 * gmountoperation.h:
2435 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2437 2007-12-12 Alexander Larsson <alexl@redhat.com>
2440 Fix race condition when freeing proxy in
2441 g_io_job_send_to_mainloop().
2443 2007-12-12 Alexander Larsson <alexl@redhat.com>
2449 Make attribute namespace separator "::" instead of ":".
2450 Use - instead of _ as separator in attribute names.
2452 2007-12-12 Alexander Larsson <alexl@redhat.com>
2454 * gbufferedinputstream.h:
2455 * gbufferedoutputstream.h:
2456 * gdatainputstream.h:
2457 * gdataoutputstream.h:
2458 * gdirectorymonitor.h:
2459 * gfileenumerator.h:
2460 * gfileinputstream.h:
2462 * gfileoutputstream.h:
2463 * gfilterinputstream.h:
2464 * gfilteroutputstream.h:
2466 * glocalfileinputstream.h:
2467 * glocalfileoutputstream.h:
2468 * gmemoryinputstream.h:
2469 * gmemoryoutputstream.h:
2470 * gnativevolumemonitor.h:
2472 * gunixinputstream.h:
2473 * gunixoutputstream.h:
2476 s/parent/parent_instance/ in GObjects
2478 2007-12-12 Alexander Larsson <alexl@redhat.com>
2483 No need for padding for interfaces
2485 2007-12-12 Alexander Larsson <alexl@redhat.com>
2489 * gbufferedinputstream.c:
2490 * gbufferedoutputstream.c:
2493 * gdatainputstream.[ch]:
2494 * gdesktopappinfo.c:
2495 * gdirectorymonitor.c:
2497 * gfileattribute.[ch]:
2500 * gfileinputstream.h:
2501 * gfilemonitor.[ch]:
2502 * gfileoutputstream.[ch]:
2503 * gfilterinputstream.h:
2504 * gfilteroutputstream.h:
2507 * gloadableicon.[ch]:
2508 * gmemoryinputstream.c:
2509 * gmountoperation.c:
2511 Fix up a bunch of details in the docs.
2516 2007-12-11 David Zeuthen <davidz@redhat.com>
2518 Rework how volumes, drives and volume monitoring is
2519 done. Previosly the model was
2521 GDrive <1-1> GVolume
2523 where a GDrive instance represented a mount point and a GVolume
2524 instance represented a mounted file system. This patch changes it
2527 GDrive <1-N> GVolume <1-1> GMount
2529 where GMount now serves the purpose of the old GVolume and the new
2530 GVolume serves the purpose of the old GDrive. In addition the new
2531 GDrive interface is used to represent a collection of GVolume
2532 instances (typically partitions) and also contains utility to query
2533 the state of the physical drive the GDrive object represents (such
2534 as checking for media, polling the drive, ejecting the media etc.).
2536 Also implement mounting and unmounting in the Unix volume monitor
2537 backend. A subquent patch will introduce GDrive support for ejection
2541 * gdrive.c: (g_drive_is_media_check_automatic),
2542 (g_drive_is_media_removable), (g_drive_has_media),
2543 (g_drive_can_poll_for_media), (g_drive_eject),
2544 (g_drive_eject_finish), (g_drive_poll_for_media),
2545 (g_drive_poll_for_media_finish):
2547 * gfile.c: (g_file_find_enclosing_mount):
2550 * glocaldirectorymonitor.c:
2551 (g_local_directory_monitor_constructor), (mounts_changed):
2552 * glocalfile.c: (get_mount_info),
2553 (g_local_file_find_enclosing_mount),
2554 (g_local_file_file_iface_init):
2555 * gnativevolumemonitor.h:
2556 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2557 (get_connected_drives), (g_union_volume_monitor_class_init),
2558 (child_volume_added), (child_volume_removed),
2559 (child_volume_changed), (child_mount_added), (child_mount_removed),
2560 (child_mount_pre_unmount), (child_mount_changed),
2561 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2562 (g_union_volume_monitor_remove_monitor),
2563 (_g_mount_get_for_mount_path):
2564 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2565 (guess_system_internal), (_g_get_unix_mounts),
2566 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2567 (g_unix_mount_free), (g_unix_mount_compare),
2568 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2569 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2570 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2571 (type_to_icon), (g_unix_mount_guess_name),
2572 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2573 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2574 (_resolve_symlink), (_resolve_dev_root):
2576 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2577 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2578 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2579 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2580 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2581 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2582 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2583 (g_unix_volume_volume_iface_init):
2585 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2586 (get_mounts), (get_volumes), (get_connected_drives),
2587 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2588 (mountpoints_changed), (mounts_changed),
2589 (g_unix_volume_monitor_init),
2590 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2591 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2592 * gunixvolumemonitor.h:
2593 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2594 (g_volume_mount), (g_volume_mount_finish):
2596 * gvolumemonitor.c: (g_volume_monitor_class_init),
2597 (g_volume_monitor_get_connected_drives),
2598 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2601 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2603 * gmountoperation.h (GPasswordFlags): Close the gap
2605 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2607 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2609 * gdesktopappinfo.[hc]: Remove _-prefixes
2611 2007-12-10 Tor Lillqvist <tml@novell.com>
2613 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2616 2007-12-10 Alexander Larsson <alexl@redhat.com>
2618 * gfile.c (g_file_set_display_name):
2619 Don't hardcode '/' (#502727)
2621 2007-12-09 Hans Breuer <hans@breuer.org>
2623 * makefile.msc : follow lib naming convention
2624 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2625 for user and group name, tested with ../tests/gio-ls
2627 2007-12-09 A. Walton <awalton@svn.gnome.org>
2629 * gdesktopappinfo.c:
2635 * gfileenumerator.c:
2640 * gmemoryinputstream.c:
2641 * gmemoryoutputstream.c:
2643 * gsimpleasyncresult.c:
2644 More documentation cleanup and filling in missing information, bringing
2645 GIO to 99% symbol coverage.
2647 2007-12-08 Hans Breuer <hans@breuer.org>
2649 [gio compiles and links on win32, not sure how much already works]
2650 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2651 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2652 base on win32 API; prefer g_lstat() over lstat(); instead of
2653 localtime_r() use an all GLib implementation on win32;
2654 get_mount_info() still needs a win32 specifc implementation
2655 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2656 win32_get_file_user_info to get owner/group info without uid/gid
2657 * glocalfileinputstream.c : include <io.h> on win32
2658 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2659 definition, use g_win32_ftruncate() for G_OS_WIN32
2660 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2661 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2662 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2663 * makefile.msc : updated
2665 2007-12-07 Alexander Larsson <alexl@redhat.com>
2667 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2668 Avoid warning spew if error == NULL
2670 2007-12-07 Alexander Larsson <alexl@redhat.com>
2673 Update docs wrt etags
2675 2007-12-06 Alexander Larsson <alexl@redhat.com>
2678 Include sys/types.h for dev_t (#501919)
2680 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2684 Make abicheck and pltcheck pass.
2686 2007-12-05 Alexander Larsson <alexl@redhat.com>
2689 * giomodule-priv.h: Added.
2690 * glocaldirectorymonitor.c:
2691 * glocalfilemonitor.c:
2692 * gunionvolumemonitor.c:
2694 Actually add the declaration of _g_io_modules_ensure_loaded
2696 2007-12-05 Alexander Larsson <alexl@redhat.com>
2698 * gdatainputstream.c:
2703 * glocaldirectorymonitor.c:
2704 * glocalfilemonitor.c:
2705 * gunionvolumemonitor.c:
2707 Make g_io_modules_ensure_loaded a private function and
2708 don't pass in the dirname. This means we can do magic
2709 directory finding in the win32 version.
2710 Export the actual load-modules-in-directory code so that
2711 gvfs can reuse that.
2713 2007-12-05 Alexander Larsson <alexl@redhat.com>
2715 * gbufferedinputstream.c:
2716 * gbufferedoutputstream.c:
2719 * gfileenumerator.[ch]:
2720 * gfileinputstream.c:
2721 * gfileoutputstream.[ch]:
2722 * gfilterinputstream.c:
2723 * gfilteroutputstream.c:
2724 * ginputstream.[ch]:
2726 * glocalfileenumerator.c:
2727 * glocalfileinputstream.c:
2728 * glocalfileoutputstream.c:
2729 * gmemoryinputstream.c:
2730 * gmemoryoutputstream.c:
2731 * goutputstream.[ch]:
2734 * gunixinputstream.c:
2735 * gunixoutputstream.c:
2736 Rename all struct members named:
2737 read, write, close, truncate, or mount
2738 to foo_fn, as these are reserved names
2739 and could be defined as macros in libc.
2742 2007-12-04 Alexander Larsson <alexl@redhat.com>
2745 (g_output_stream_close):
2746 Only call flush if non-null.
2748 2007-11-30 Dan Winship <danw@gnome.org>
2750 * ginputstream.c (g_input_stream_set_pending): Make this take a
2751 GError and return a gboolean, and do the "outstanding operation"
2752 check (and the "stream is already closed" check) itself.
2753 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2755 * goutputstream.c (g_output_stream_set_pending)
2756 (g_output_stream_clear_pending): Likewise
2758 * gbufferedinputstream.c:
2759 * gfileinputstream.c:
2760 * gfileoutputstream.c: Update for that
2762 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2763 Like g_simple_async_report_error_in_idle, but takes a GError
2764 rather than building one.
2766 2007-11-30 Dan Winship <danw@gnome.org>
2768 * goutputstream.c: Don't cheat and unset the "pending" flag around
2769 inner calls. Instead, call the class method directly rather than
2770 the wrapper function that checks "pending"
2772 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2774 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2776 2007-12-03 Hans Breuer <hans@breuer.org>
2778 [start of port to win32/msvc]
2779 * gcancellable.c : HAVE_UNIST_H and _pipe()
2780 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2781 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2782 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2784 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2785 * glocalvfs.c : use HAVE_PWD_H
2786 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2787 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2788 * Makefile.am : added to EXTRA_DIST
2790 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2792 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2795 2007-12-03 Alexander Larsson <alexl@redhat.com>
2798 Handle OSX style xattrs API (#500506)
2800 2007-12-03 Alexander Larsson <alexl@redhat.com>
2804 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2806 2007-12-02 A. Walton <awalton@svn.gnome.org>
2810 Documentation accuracy fixes.
2812 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2814 * gioenumtypes.c.template: Fix typo.
2816 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2818 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2820 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2822 * gdirectorymonitor.c:
2823 * gfilemonitor.c: Add properties
2825 * gbufferedoutputstream.c: Don't mark buffer-size property
2828 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2830 * gbufferedoutputstream.c: Add auto-grow property.
2832 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2834 * *.c: Unify the capitalization of section headings.
2836 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2838 * gmountoperation.c: Add properties
2840 * gdatainputstream.c: Turn byte-order and newline-type into
2843 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2845 * gioenumtypes.[hc].template: Templates for enum registration
2847 * Makefile.am: Generate gioenumtypes.[hc]
2849 * gio.h: Include gioenumtypes.h
2851 * gfile.h: Add some explicit nicks.
2853 * gio.symbols: Add new symbols
2855 * pltcheck.sh: Adjust
2857 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2859 * *.c: Explain etags and link to the explanation
2861 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2863 * *.c: Explain I/O priority.
2865 * *.c: More coding style fixes.
2867 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2869 * gasyncresult.c: Add another paragraph to the intro,
2870 adjust coding style of example.
2872 2007-11-29 A. Walton <awalton@svn.gnome.org>
2875 Fixes unknown meaning in GAppLaunchContext docs.
2877 Clarify asynchronous ops.
2879 Fix entity tag docs.
2882 Provides missing gtk-doc section, fixes API docs slighly.
2883 * gsimpleasyncresult.c:
2884 Fill in missing info in docs.
2885 * gunixinputstream.c:
2886 * gunixoutputstream.c:
2887 Be more expressive in short description.
2889 Remove gtk-doc stubs for non-public API.
2891 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2893 * *.c: Coding style fixups
2895 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2897 * inotify/inotify-helper.c: Don't export the lock from libgio.
2899 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2902 * abicheck.sh: Fix copy-and-paste leftovers
2904 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2906 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2908 2007-11-28 Alexander Larsson <alexl@redhat.com>
2912 Removed unnecessary file
2914 * gdesktopappinfo.[ch]:
2917 * glocaldirectorymonitor.[ch]:
2919 * glocalfileenumerator.[ch]:
2920 * glocalfileinputstream.[ch]:
2921 * glocalfilemonitor.[ch]:
2922 * glocalfileoutputstream.[ch]:
2924 * gnativevolumemonitor.c:
2925 * gpollfilemonitor.[ch]:
2926 * gunionvolumemonitor.[ch]:
2929 * gunixvolumemonitor.[ch]:
2932 * inotify/ginotifydirectorymonitor.[ch]:
2933 * inotify/ginotifyfilemonitor.[ch]:
2934 * inotify/inotify-helper.c:
2935 Append _ to all internal functions
2939 Export symbols needed for modules
2941 2007-11-28 Alexander Larsson <alexl@redhat.com>
2944 * abicheck.sh: Added.
2945 * makegioalias.pl: Added.
2946 * pltcheck.sh: Added.
2947 * gio.symbols: Added.
2950 Initial work on adding symbol handling.
2953 Correct ifdef guard name
2956 * inotify/Makefile.am:
2957 * xdgmime/Makefile.am:
2958 Include toplevel Makefile.decl
2960 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2962 * gcontenttype.c: Move doc comments to the unix section.
2964 * *.[hc]: More trivial doc corrections.
2966 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2968 * gpollfilemonitor.c:
2972 * gdesktopappinfo.c:
2977 * gdatainputstream.c:
2978 * gdatainputstream.h:
2979 * gdataoutputstream.c:
2980 * gdataoutputstream.h:
2981 * gfileinfo.h: Doc cleanups
2983 2007-11-28 Andre Klapper <a9016009@gmx.de>
2985 * gdesktopappinfo.c: Fix a typo.
2987 2007-11-27 Andre Klapper <a9016009@gmx.de>
2989 * glocalfileoutputstream.c: Fix a typo.
2991 2007-11-27 Alexander Larsson <alexl@redhat.com>
2994 Don't include removed headers
2996 2007-11-27 Alexander Larsson <alexl@redhat.com>
2999 * gsocketinputstream.[ch]: Removed.
3000 * gsocketoutputstream.[ch]: Removed.
3001 * gunixinputstream.[ch]: Added.
3002 * gunixoutputstream.[ch]: Added.
3003 Renamed GSocket*Stream to GUnix*Stream and made
3004 it unix-only, since its not really only for sockets
3005 and it only works on unix (but is highly useful there).
3007 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3013 * gbufferedinputstream.c:
3014 * gbufferedinputstream.h:
3015 * gbufferedoutputstream.c:
3016 * gbufferedoutputstream.h:
3020 * gdatainputstream.c:
3021 * gdatainputstream.h:
3022 * gdataoutputstream.c:
3023 * gdataoutputstream.h:
3024 * gdirectorymonitor.c:
3025 * gdirectorymonitor.h:
3032 * gfileenumerator.c:
3033 * gfileenumerator.h:
3038 * gfileinputstream.c:
3039 * gfileinputstream.h:
3042 * gfilenamecompleter.c:
3043 * gfilenamecompleter.h:
3044 * gfileoutputstream.c:
3045 * gfileoutputstream.h:
3046 * gfilterinputstream.c:
3047 * gfilterinputstream.h:
3048 * gfilteroutputstream.c:
3049 * gfilteroutputstream.h:
3062 * glocalfileoutputstream.c:
3063 * gmemoryinputstream.c:
3064 * gmemoryinputstream.h:
3065 * gmemoryoutputstream.c:
3066 * gmemoryoutputstream.h:
3067 * gmountoperation.c:
3068 * gmountoperation.h:
3071 * gpollfilemonitor.c:
3074 * gsimpleasyncresult.c:
3075 * gsimpleasyncresult.h:
3076 * gsocketinputstream.c:
3077 * gsocketinputstream.h:
3078 * gsocketoutputstream.c:
3079 * gsocketoutputstream.h:
3086 * gunixvolumemonitor.c:
3095 Bumps documentation to 93% symbol coverage, touching most
3096 of the public files. Fixes broken function documentation prototypes.
3097 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3098 gtk-doc headers in private files.
3100 2007-11-27 Jürg Billeter <j@bitron.ch>
3102 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3103 (g_buffered_input_stream_read_byte):
3104 * gbufferedinputstream.h:
3105 New functions for efficient access to buffer and simple single byte
3108 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3109 (g_data_input_stream_read_until):
3110 * gdatainputstream.h:
3111 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3112 read_until with multiple stop chars.
3114 2007-11-27 Alexander Larsson <alexl@redhat.com>
3118 * inotify/Makefile.am:
3119 Use the user-specified giomoduledir
3121 2007-11-27 Alexander Larsson <alexl@redhat.com>
3125 Add catch-all gio.h header
3126 Don't install gdummyfile.h
3128 2007-11-26 Alexander Larsson <alexl@redhat.com>
3130 * Makefile.am (gioinclude_HEADERS):
3131 Remove trailing whitespace
3133 2007-11-26 Alexander Larsson <alexl@redhat.com>
3135 Merge gio-standalone into glib
3137 2007-11-25 Christian Kellner <gicmo@gnome.org>
3139 * gio/goutputstream.c:
3140 Fix small mistake in the docs.
3142 2007-11-21 Christian Persch <chpe@gnome.org>
3144 * gio/glocalfile.c: (g_local_file_trash):
3145 Convert filenames to UTF-8 for GError.
3146 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3147 as per xdg base dir spec.
3149 2007-11-21 Christian Persch <chpe@gnome.org>
3151 * gio/gdesktopappinfo.c:
3152 Use that g_key_file_to_data cannot fail.
3154 Use stock defines for the key file group and key names.
3157 2007-11-21 Alexander Larsson <alexl@redhat.com>
3160 (copy_stream_with_progress):
3161 Make sure we do a final progress callback with
3162 the full total size.
3164 2007-11-21 Alexander Larsson <alexl@redhat.com>
3167 Export g_file_copy_attributes
3168 Remove padding as its not needed for interfaces
3170 2007-11-20 Alexander Larsson <alexl@redhat.com>
3175 Add G_IO_ERROR_WOULD_MERGE for
3176 copy/move dir on dir with overwrite.
3178 2007-11-20 Alexander Larsson <alexl@redhat.com>
3181 * gio/glocalfileinfo.c:
3182 Add COPY_NAME (this is an optional
3183 non-modified utf8 version of the name) that
3186 2007-11-20 Alexander Larsson <alexl@redhat.com>
3188 * gio/glocalfileenumerator.c:
3189 Report errors as GIOError, not GFileError
3191 2007-11-16 Alexander Larsson <alexl@redhat.com>
3193 * gio/glocalfileoutputstream.c:
3194 * gio/gwin32appinfo.c:
3195 Fix typos in strings.
3196 Patch from Luca Ferretti <elle.uca@libero.it>
3198 2007-11-15 Alexander Larsson <alexl@redhat.com>
3201 Post release version bump
3203 === gio-standalone 0.1.2 ===
3205 2007-11-15 Alexander Larsson <alexl@redhat.com>
3207 * docs/reference/gio/Makefile.am:
3208 Fix up distcheck by removing weird
3214 2007-11-14 Alexander Larsson <alexl@redhat.com>
3216 * gio/gdesktopappinfo.c:
3217 * gio/glocaldirectorymonitor.c:
3219 * gio/glocalfileinfo.c:
3220 * gio/inotify/inotify-sub.c:
3221 * programs/gio-cat.c:
3222 * programs/gio-copy.c:
3223 * programs/gio-info.c:
3224 * programs/gio-ls.c:
3225 * programs/gio-monitor-dir.c:
3226 * programs/gio-monitor-file.c:
3227 * programs/gio-mount.c:
3228 * programs/gio-move.c:
3229 * programs/gio-rm.c:
3230 * programs/gio-save.c:
3231 * programs/gio-trash.c:
3232 Leak fixes from Kjartan Maraas
3234 2007-11-14 Alexander Larsson <alexl@redhat.com>
3236 * gio/fam/fam-helper.c:
3238 * gio/glocalfileinfo.c:
3242 * gio/inotify/inotify-diag.c:
3243 * gio/inotify/inotify-kernel.c:
3244 Various code cleanups from Kjartan Maraas
3246 2007-11-14 Alexander Larsson <alexl@redhat.com>
3248 * gio/gioscheduler.c:
3250 Set up threadpool so that we cache 2 unused
3251 idle threads for at 15 secs. This means we
3252 will reuse thread-local data (like dbus connections)
3255 2007-11-14 Alexander Larsson <alexl@redhat.com>
3257 * gio/fam/fam-helper.c:
3258 * gio/fam/gfamdirectorymonitor.c:
3259 * gio/fam/gfamfilemonitor.c:
3261 * gio/gcontenttype.c:
3262 * gio/gdatainputstream.c:
3263 * gio/gdataoutputstream.c:
3267 * gio/gfileattribute.h:
3268 * gio/gfileenumerator.c:
3270 * gio/ginputstream.c:
3273 * gio/glocalfileinfo.c:
3274 * gio/goutputstream.c:
3275 * gio/gpollfilemonitor.c:
3276 * gio/gsimpleasyncresult.c:
3277 * gio/gunixmounts.c:
3278 * gio/gunixmounts.h:
3279 * gio/inotify/ginotifydirectorymonitor.c:
3280 * gio/inotify/ginotifyfilemonitor.c:
3281 * gio/inotify/inotify-diag.c:
3282 * gio/inotify/inotify-kernel.c:
3283 * gio/inotify/inotify-path.c:
3285 * gio/test-streams.c:
3286 * programs/gio-info.c:
3287 * programs/gio-monitor-dir.c:
3288 * programs/gio-monitor-file.c:
3289 Various code cleanups from Kjartan Maraas
3291 2007-11-13 Alexander Larsson <alexl@redhat.com>
3294 Handle the uri-scheme calls for dummy files
3296 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3298 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3299 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3300 to avoid clash with the C++ keyword.
3302 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3304 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3305 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3307 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3309 * gio/glocaldirectorymonitor.c:
3310 * gio/glocalfilemonitor.c:
3311 * gio/gunionvolumemonitor.c:
3312 Don't use g_once_init_*() for initializations that could fail and
3313 could leave the initialization variable set to 0 but use GOnce.
3314 This prevents a deadlock on the second call when trying to create
3315 a monitor and no monitor type is available. Thanks to Sven Herzberg
3318 2007-11-11 Sven Herzberg <sven@imendio.com>
3320 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3321 #ifdef (make it work on MacOS X again)
3323 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3325 Fixes Changelog for last two commits (sorry guys).
3327 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3329 * gio/gbufferedinputstream.c:
3330 * gio/gdatainputstream.c:
3332 * gio/gfileoutputstream.c:
3333 * gio/gfilterinputstream.c:
3334 * gio/glocalfileinputstream.c:
3337 More consistency fixes in g*stream.c files.
3338 Significant clean of gfile's documentation, filling in of
3339 asynchronous operations documentation.
3341 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3343 * gio/gasyncresult.c:
3344 * gio/gbufferedinputstream.c:
3345 * gio/gbufferedoutputstream.c:
3346 * gio/gcancellable.c:
3347 * gio/gcontenttype.c:
3348 * gio/gdatainputstream.c:
3349 * gio/gdataoutputstream.c:
3350 * gio/gdesktopappinfo.c:
3353 * gio/gfileattribute.c:
3354 * gio/gio/gfileenumerator.c:
3356 * gio/gfileinputstream.c:
3357 * gio/gfilemonitor.c:
3358 * gio/gfileoutputstream.c:
3359 * gio/ginputstream.c:
3361 * gio/gioscheduler.c:
3362 * gio/gloadableicon.c:
3363 * gio/glocalfileoutputstream.c:
3364 * gio/gmemoryoutputstream.c:
3365 * gio/gmountoperation.c:
3366 * gio/goutputstream.c:
3368 * gio/gsimpleasyncresult.c:
3369 * gio/gunionvolumemonitor.c:
3370 * gio/gunixmounts.c:
3371 * gio/gunixvolume.c:
3375 * gio/gvolumemonitor.c:
3376 Updated documentation stubs, working towards consistency and
3379 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3381 * gio/gmemoryoutputstream.c:
3382 * gio/gmemoryoutputstream.h:
3383 Change g_memory_output_stream_set_free_on_close() to
3384 g_memory_output_stream_set_free_data() as this makes more sense and
3385 is more consistent with GMemoryInputStream.
3387 2007-11-07 Alexander Larsson <alexl@redhat.com>
3394 Change how we find the default vfs so that
3395 we can handle a gvfs failing to init
3397 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3399 * gio/gbufferedoutputstream.c:
3400 * gio/gdatainputstream.c:
3401 * gio/gdataoutputstream.c:
3402 * gio/gfileinputstream.c:
3403 * gio/gfileoutputstream.c:
3404 * gio/gfilterinputstream.c:
3405 * gio/gfilteroutputstream.c:
3406 * gio/ginputstream.c:
3407 * gio/gmemoryinputstream.c:
3408 * gio/gmemoryoutputstream.c:
3409 * gio/goutputstream.c:
3410 * gio/gsimpleasyncresult.c:
3411 * gio/gsocketinputstream.c:
3412 * gio/gsocketoutputstream.c:
3413 Add guards to the remaining public functions, add a TODO for
3414 an unimplemented function and remove some useless guards.
3416 2007-11-07 Alexander Larsson <alexl@redhat.com>
3419 Autoconf checks for the various types of
3420 getpwuid_r and getgrgid_r
3422 * gio/glocalfileinfo.c:
3423 Use the autoconf checks from above
3425 2007-11-07 Alexander Larsson <alexl@redhat.com>
3428 (g_local_file_query_filesystem_info):
3429 Some fixes for the statvfs case
3431 2007-11-07 Alexander Larsson <alexl@redhat.com>
3434 (g_local_file_query_filesystem_info):
3435 Pick the "best" of statfs / statvfs for the system
3436 if both are availible.
3438 2007-11-07 Alexander Larsson <alexl@redhat.com>
3440 Solaris fixes from Halton.Huo@Sun.COM:
3447 * gio/glocalfileinfo.c:
3448 Fix for solaris definition of getpwuid_r
3450 * gio/test-streams.c:
3451 Use G_GNUC_PRETTY_FUNCTION
3453 2007-11-07 Alexander Larsson <alexl@redhat.com>
3455 * gio/gdesktopappinfo.c:
3456 (update_default_list):
3457 Remove double semicolon.
3458 Patch from Jens Granseuer
3460 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3462 * docs/reference/gio/gio-sections.txt:
3463 * gio/gbufferedinputstream.c:
3464 * gio/gbufferedinputstream.h:
3465 * gio/gdatainputstream.c:
3466 * gio/gfileenumerator.c:
3467 * gio/gioscheduler.c:
3468 * gio/gunionvolumemonitor.c:
3470 * programs/gio-save.c:
3471 Fix typo: availible -> available. Unfortuntely this breaks API
3472 and ABI as g_buffered_input_stream_get_available() was renamed.
3474 * gio/gunixmounts.c:
3475 * gio/gbufferedinputstream.c:
3476 Add guards for public functions.
3478 2007-11-06 Ross Burton <ross@openedhand.com>
3480 * docs/reference/gio/Makefile.am:
3481 Fix invalid += usage which automake 1.10 doesn't like.
3483 2007-11-06 Alexander Larsson <alexl@redhat.com>
3486 (g_app_launch_context_class_init):
3489 Patch from Ross Burton
3491 2007-11-06 Alexander Larsson <alexl@redhat.com>
3494 Post release version bump
3496 === gio-standalone 0.1.1 ===
3498 2007-11-06 Alexander Larsson <alexl@redhat.com>
3501 Bump version to 0.1.1
3503 * gio/gsimpleasyncresult.c:
3504 (g_simple_async_result_set_from_error):
3505 Remove bogus g_return_if_fail
3507 2007-11-06 Alexander Larsson <alexl@redhat.com>
3510 The name is gio-standalone
3513 Add top src/builddir to includedir
3515 2007-11-06 Alexander Larsson <alexl@redhat.com>
3517 * docs/reference/gio/gio-sections.txt:
3519 * gio/gbufferedinputstream.c:
3520 * gio/gbufferedoutputstream.c:
3521 * gio/gcancellable.c:
3522 * gio/gdatainputstream.h:
3523 * gio/gdataoutputstream.c:
3524 * gio/gdataoutputstream.h:
3525 * gio/gdirectorymonitor.c:
3527 * gio/gfileattribute.c:
3528 * gio/gfileattribute.h:
3529 * gio/gfileenumerator.c:
3530 * gio/gfileenumerator.h:
3533 * gio/gfileinputstream.h:
3534 * gio/gfilemonitor.c:
3535 * gio/gfileoutputstream.h:
3536 * gio/glocalfilemonitor.h:
3537 * gio/glocalfileoutputstream.h:
3538 * gio/gmemoryinputstream.c:
3539 * gio/gmemoryoutputstream.c:
3540 * gio/gmountoperation.c:
3541 * gio/goutputstream.c:
3542 * gio/goutputstream.h:
3544 * gio/gsimpleasyncresult.c:
3545 * gio/gunixmounts.c:
3546 * gio/gunixmounts.h:
3548 * gio/inotify/inotify-helper.c:
3549 Fix gtk-doc warnings
3551 Patch from Ross Burton
3553 2007-11-06 Alexander Larsson <alexl@redhat.com>
3555 * gio/gfilenamecompleter.c:
3556 (g_filename_completer_get_completions):
3559 * gio/gunixvolume.c:
3560 Remove unused function
3562 Patches from Ross Burton
3564 2007-11-06 Alexander Larsson <alexl@redhat.com>
3569 Padding not needed for interfaces
3571 2007-11-06 Alexander Larsson <alexl@redhat.com>
3573 * gio/gfilemonitor.c:
3577 Make giotypes.h an internal file
3580 * gio/gbufferedinputstream.h:
3581 * gio/gbufferedoutputstream.h:
3582 * gio/gcancellable.h:
3583 * gio/gdatainputstream.h:
3584 * gio/gdataoutputstream.h:
3585 * gio/gdirectorymonitor.c:
3586 * gio/gdirectorymonitor.h:
3591 * gio/gfileattribute.h:
3592 * gio/gfileenumerator.h:
3597 * gio/gfilemonitor.c:
3598 * gio/gfilemonitor.h:
3599 * gio/gfilenamecompleter.c:
3600 * gio/gfilenamecompleter.h:
3601 * gio/gfilterinputstream.h:
3602 * gio/gfilteroutputstream.h:
3603 * gio/ginputstream.h:
3604 * gio/gmemoryinputstream.h:
3605 * gio/gmemoryoutputstream.h:
3606 * gio/gmountoperation.c:
3607 * gio/gmountoperation.h:
3608 * gio/gnativevolumemonitor.c:
3609 * gio/goutputstream.h:
3612 * gio/gsimpleasyncresult.c:
3613 * gio/gsimpleasyncresult.h:
3614 * gio/gsocketinputstream.h:
3615 * gio/gsocketoutputstream.h:
3616 * gio/gthemedicon.c:
3617 * gio/gthemedicon.h:
3621 * gio/gvolumemonitor.c:
3622 * gio/gvolumemonitor.h:
3623 Add padding in classes where it seems useful
3624 Don't include giotypes.h from public headers
3625 Move in Class definitions into c file where possible
3630 2007-11-06 Alexander Larsson <alexl@redhat.com>
3632 * docs/reference/gio/gio-docs.xml:
3633 Better structure for API docs
3635 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3638 * gio/gloadableicon.c:
3639 * gio/gsimpleasyncresult.c:
3640 * gio/gthemedicon.c:
3641 Add some more guards to public functions. Only files missing are now
3644 2007-11-06 Alexander Larsson <alexl@redhat.com>
3646 * docs/reference/gio/gio-docs.xml:
3647 Remove old files, add missing ones
3649 2007-11-06 Alexander Larsson <alexl@redhat.com>
3651 * docs/reference/gio/gio-sections.txt:
3654 Hide implementation classes
3656 * gio/gdriveprivate.h:
3657 * gio/gvolumeprivate.h:
3658 Remove non-existing function declarations
3660 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3663 Fix compilation warnings and add guards to the new functions.
3665 * gio/gasyncresult.c:
3667 Add guards to the public functions.
3670 Implement get_path().
3672 2007-11-06 Alexander Larsson <alexl@redhat.com>
3674 * gio/gfilenamecompleter.c:
3675 Make g_filename_completer_get_completions
3676 return char ** instead of GList for
3679 * docs/reference/gio/gio-docs.xml:
3680 * docs/reference/gio/gio-sections.txt:
3682 * gio/gasyncresult.c:
3683 * gio/gbufferedinputstream.c:
3684 * gio/gbufferedoutputstream.c:
3685 * gio/gcancellable.c:
3686 * gio/gcontenttype.c:
3687 * gio/gdatainputstream.c:
3688 * gio/gdataoutputstream.c:
3689 * gio/gdesktopappinfo.c:
3690 * gio/gdirectorymonitor.c:
3694 * gio/gfileattribute.c:
3695 * gio/gfileenumerator.c:
3698 * gio/gfileinputstream.c:
3699 * gio/gfilemonitor.c:
3700 * gio/gfilenamecompleter.c:
3701 * gio/gfilenamecompleter.h:
3702 * gio/gfileoutputstream.c:
3703 * gio/gfilterinputstream.c:
3705 * gio/ginputstream.c:
3707 * gio/gioscheduler.c:
3708 * gio/gloadableicon.c:
3709 * gio/glocaldirectorymonitor.c:
3711 * gio/glocalfileinputstream.c:
3712 * gio/glocalfilemonitor.c:
3713 * gio/glocalfileoutputstream.c:
3715 * gio/gmemoryinputstream.c:
3716 * gio/gmemoryoutputstream.c:
3717 * gio/gmountoperation.c:
3718 * gio/goutputstream.c:
3719 * gio/gpollfilemonitor.c:
3721 * gio/gsimpleasyncresult.c:
3722 * gio/gsocketinputstream.c:
3723 * gio/gsocketoutputstream.c:
3724 * gio/gthemedicon.c:
3725 * gio/gunionvolumemonitor.c:
3727 * gio/gunixmounts.c:
3728 * gio/gunixvolume.c:
3729 * gio/gunixvolumemonitor.c:
3733 * gio/gvolumemonitor.c:
3734 * gio/gwin32appinfo.c:
3735 Add (mostly stub) doc strings to public functions.
3736 Patch from Andrew Walton (awalton@gmail.com)
3738 2007-11-06 Alexander Larsson <alexl@redhat.com>
3740 * gio/gappinfo.[ch]:
3741 Added GAppLaunchContext object and pass that to launch.
3742 This allows simple implementation of both
3743 launch-on-screen and startup notification via a gtk+
3744 subclass of GAppLaunchContext
3746 * gio/gdesktopappinfo.c:
3747 Implement GAppLaunchContext API
3749 * gio/gwin32appinfo.c:
3752 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3754 * gio/gmountoperation.c:
3755 Add some guards to GMountOperation's public functions.
3757 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3761 * gio/gcancellable.c:
3762 * gio/gdirectorymonitor.c:
3764 * gio/gfileenumerator.c:
3765 * gio/gfilemonitor.c:,
3766 * gio/gfilenamecompleter.c:
3769 * gio/gioscheduler.c:
3773 * gio/gvolumemonitor.c:
3774 Add even more guards to various public functions.
3776 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3779 Add guards to the public functions of GAppInfo.
3781 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3783 * gio/gcontenttype.c:
3784 Add some more guards for public functions.
3786 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3788 * gio/fam/fam-module.c:
3789 * gio/fam/gfamdirectorymonitor.c:
3790 * gio/fam/gfamdirectorymonitor.h:
3791 * gio/fam/gfamfilemonitor.c:
3792 * gio/fam/gfamfilemonitor.h:
3793 * gio/inotify/ginotifydirectorymonitor.c:
3794 * gio/inotify/ginotifydirectorymonitor.h:
3795 * gio/inotify/ginotifyfilemonitor.c:
3796 * gio/inotify/ginotifyfilemonitor.h:
3797 Add proper copyright information and remove an unused variable
3798 in the GInotifyFileMonitor constructor.
3800 * gio/gcancellable.c:
3801 Add a guard for a public function and an assertion to prevent
3802 an undefined program state.
3804 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3806 * gio/gfileattribute.c:
3807 Don't run into an assertion if the given attribute value is NULL
3808 in g_file_attribute_value_get_*() but instead return a fallback
3809 value that makes sense in most situations. Passing them a attribute
3810 value with the wrong type will still run into an assertion.
3812 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3814 * gio/gfileattribute.c:
3816 Add even more guards to the public functions. Also fix the refcounting
3817 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3818 let g_file_info_list_attributes() filter the attributes by namespace
3819 instead of simply ignoring the namespace parameter.
3821 2007-11-03 Sven Herzberg <sven@imendio.com>
3823 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3824 (This makes gio work on MacOS X again)
3826 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3829 Build the gio subdirectory before the docs. Otherwise the build will
3832 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3833 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3834 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3835 Add guards to the public functions.
3837 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3839 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3840 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3841 to prevent a compiler warning.
3843 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3844 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3845 return something in the non-void function find_topdir_for().
3847 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3854 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3856 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3857 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3858 * gwin32appinfo.c (g_win32_app_info_launch):
3859 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3860 envp_for_startup_id, g_desktop_app_info_launch,
3861 g_desktop_app_info_launch_uris):
3863 Give an opaque 'startup_id' string instead of 'envp'.
3864 Support empty file lists for launching new windows.
3865 Fix infinite recursion bug when launching URIs.
3867 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3870 Add guard to the new g_file_get_uri_scheme() function.
3872 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3875 Convert a g_return_val_if_fail() to setting the GError instead as
3876 otherwise applications have to verify the parameter before otherwise
3877 and the parameter might come directly from the user.
3879 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3881 * gio/inotify/ginotify*.[ch]:
3882 Add missing copyright information.
3884 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3887 Add guards in the beginning of public functions to check for valid
3888 parameters and fix a bug in copy_stream_with_progress() that could've
3889 caused writing less bytes than reading.
3890 * gio/glocalfileinfo.c:
3891 Check for a NULL parameter and set the GError accordingly then.
3892 * gio/goutputstream.c:
3893 Fix the same bug as in gfile.c that could've caused writing less bytes
3894 than reading in g_output_stream_real_splice().
3896 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3899 Use the correct gvolumeprivate.h naming
3901 2007-11-01 Christian Kellner <gicmo@gnome.org>
3904 Remove leftover "$(daemon_sources)" entry.
3906 2007-11-01 Christian Kellner <gicmo@gnome.org>
3911 Add copyright information to source files.
3913 2007-11-01 Alexander Larsson <alexl@redhat.com>
3917 Add g_file_get_uri_scheme
3919 2007-11-01 Alexander Larsson <alexl@redhat.com>
3922 * gio/gdesktopappinfo.c:
3923 * gio/gwin32appinfo.c:
3924 Add g_app_info_get_default_for_uri_scheme.
3926 2007-11-01 Alexander Larsson <alexl@redhat.com>
3929 Correct filename for gdriveprivate.h
3931 2007-10-31 Alexander Larsson <alexl@redhat.com>
3934 Rename id:value to id:file
3937 * gio/glocalfileinfo.c:
3940 2007-10-31 Alexander Larsson <alexl@redhat.com>
3942 * gio/gunixvolume.c:
3944 Remove g_volume_get_platform_id, as thats not
3945 needed with the simpler union volume monitor
3947 2007-10-31 Alexander Larsson <alexl@redhat.com>
3950 * gio/guniondrive.[ch]: Removed.
3951 * gio/gunionvolume.[ch]: Removed.
3952 Remove GUnionDrive/Volume
3954 * gio/gunionvolumemonitor.c:
3955 Simplify union volume monitor, now we
3956 only have one native volume monitor and
3957 we use the actual volumes/drives from the
3958 child monitors instead of wrapping them
3960 * gio/gnativevolumemonitor.[ch]:
3961 Base class for native volume monitors.
3962 Includes priority and get_volume_for_mountpoint
3965 Add g_file_find_enclosing_volume
3968 Remove volume name fs attribute
3969 Add readonly fs attribute
3972 Implement readonly attribute
3973 remove volume name attribute
3974 Implement find_enclosing volume
3976 * gio/gunixmounts.c:
3977 Add a volume for "/".
3979 * gio/gunixvolume.[ch]:
3980 Set better name for /
3982 * gio/gunixvolumemonitor.[ch]:
3983 Derive from GNativeVolumeMonitor
3984 Implement get_volume_for_mountpoint
3987 GVolume typedef moved to gfile.h
3989 * gio/gvolumeprivate.h:
3990 Add g_volume_get_for_mount_path
3992 2007-10-31 Alexander Larsson <alexl@redhat.com>
3994 * gio/gunixmounts.[ch]:
3995 Add cache info to unix mount listers
3996 Make getmntent use threadsafe
3997 Add is_system_internal attribute for GUnixMount
3999 * gio/gunixvolume.c:
4000 (g_unix_volume_new):
4001 Use is_system_internal instead of own code
4003 * gio/glocaldirectorymonitor.c:
4004 * gio/gunixvolumemonitor.c:
4005 Update to new gunixmounts API
4010 2007-10-30 Alexander Larsson <alexl@redhat.com>
4013 Add volume name fsinfo attribute
4016 Read volume name info
4018 * gio/gunionvolumemonitor.c:
4019 Fix infinite loops when finalizing a union volume monitor
4021 2007-10-30 Alexander Larsson <alexl@redhat.com>
4023 * gio/goutputstream.[ch]:
4024 Add splice() with default implementation
4026 * gio/gsocketoutputstream.c:
4027 (g_socket_output_stream_write):
4028 Return error on cancellation correctly.
4030 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4032 * gio/glocalfile.c (g_local_file_trash):
4033 Do not leak a string.
4035 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4037 * gio/gfile.c (g_file_load_contents):
4038 Unref the stream after closing it.
4040 2007-10-25 Alexander Larsson <alexl@redhat.com>
4042 * gio/gioscheduler.h:
4045 2007-10-25 Alexander Larsson <alexl@redhat.com>
4049 Add g_file_has_uri_scheme and implement for local files
4051 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4053 * gio/gdesktopappinfo.c: do not leak a string.
4055 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4057 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4058 (g_local_directory_monitor_new):
4059 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4060 (g_local_file_monitor_new):
4061 Only look for the monitor type that should be used the first time
4062 and use g_qsort_with_data() instead of our own bubble sort
4065 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4068 * gio/fam/Makefile.am:
4069 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4070 * gio/fam/fam-helper.h:
4071 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4072 * gio/fam/gfamdirectorymonitor.c:
4073 * gio/fam/gfamdirectorymonitor.h:
4074 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4075 * gio/fam/gfamfilemonitor.h:
4076 * gio/glocaldirectorymonitor.c:
4077 * gio/glocaldirectorymonitor.h:
4078 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4079 * gio/glocalfilemonitor.h:
4080 * gio/inotify/Makefile.am:
4081 * gio/inotify/ginotifydirectorymonitor.c:
4082 * gio/inotify/ginotifydirectorymonitor.h:
4083 * gio/inotify/ginotifyfilemonitor.c:
4084 * gio/inotify/ginotifyfilemonitor.h:
4085 Implement the FAM and Inotify monitors as
4086 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4087 their own GIO module. GLocal(Directory|File)Monitor will use the
4088 monitor with the highest rank that is supported on that machine.
4090 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4093 Change GIO module dir to $(libdir)/gio/modules and change
4094 the log domain from GVFS to GIO. Also only export symbols starting
4095 with g_ in the resulting library.
4096 * gio/test-streams.c: (main):
4097 Set log handler for the GIO log domain.
4099 2007-10-22 Alexander Larsson <alexl@redhat.com>
4101 * gio/gfilenamecompleter.[ch]:
4102 Add g_filename_completer_set_dirs_only
4104 2007-10-22 Alexander Larsson <alexl@redhat.com>
4107 * gio/gurifuncs.[ch]:
4108 Add some simple URI helpers
4110 * gio/gfilenamecompleter.[ch]:
4111 Added object for filename (parse name actually) completion
4114 Handle ~ in parse names
4116 2007-10-17 Alexander Larsson <alexl@redhat.com>
4119 * gio/glocalfileinfo.c:
4120 Add and implement id:value attribute
4122 2007-10-17 Alexander Larsson <alexl@redhat.com>
4125 * gio/guniondrive.c:
4127 Add and implement g_drive_has_volumes
4129 2007-10-17 Alexander Larsson <alexl@redhat.com>
4132 * gio/glocalfileinfo.[ch]:
4133 Add unix:is_mountpoint and implement for local files
4135 2007-10-16 Alexander Larsson <alexl@redhat.com>
4137 * gio/gunionvolumemonitor.c:
4138 (g_union_volume_monitor_init):
4139 Fix up the unix type getting so that it works with gcc
4141 2007-10-12 Alexander Larsson <alexl@redhat.com>
4144 * gio/glocalfileinfo.c:
4145 Add thumbnail:failed to file info
4147 2007-10-12 Richard Hult <richard@imendio.com>
4149 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4150 optimizing away the get_type call (happens with some gcc versions,
4151 like the one shipped with OS X 10.4).
4153 2007-10-12 Alexander Larsson <alexl@redhat.com>
4155 * gio/glocalfileinfo.c:
4156 (_g_local_file_info_set_attribute):
4157 Fix build if not HAVE_XATTR
4158 Patch from Milosz Derezynski <internalerror@gmail.com>
4160 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4162 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4163 around for review, otherwise I would have asked you before
4166 2007-10-11 Alexander Larsson <alexl@redhat.com>
4169 Add thumbnail:path attribute
4171 * gio/glocalfileinfo.c:
4172 Implement thumbnail:path for local files
4174 2007-10-11 Alexander Larsson <alexl@redhat.com>
4176 * gio/glocalfileinfo.c:
4177 (_g_local_file_info_get):
4178 Avoid duplicate icon names
4180 2007-10-11 Alexander Larsson <alexl@redhat.com>
4182 * gio/gthemedicon.[ch]:
4183 Change g_themed_icon_get_names return type to const
4185 2007-10-10 Alexander Larsson <alexl@redhat.com>
4187 * gio/glocalfileinfo.c:
4188 Don't reference freed memory
4190 2007-10-10 Alexander Larsson <alexl@redhat.com>
4192 * gio/gfileattribute.c:
4195 * gio/glocalfileinfo.c:
4198 2007-10-10 Alexander Larsson <alexl@redhat.com>
4201 Check for NULL icons
4203 * gio/gfileattribute.c:
4204 Don't dup when getting objects (same as for string attributes)
4206 * gio/gicon.c (g_icon_equal):
4207 Safely handle NULLs in equal
4209 2007-10-10 Alexander Larsson <alexl@redhat.com>
4212 Fix c++ compilation issues
4213 Patch from Milosz Derezynski <internalerror@gmail.com>
4215 2007-10-10 Alexander Larsson <alexl@redhat.com>
4217 * programs/gio-monitor-dir.c:
4218 Don't crash if dir monitor not supported.
4220 2007-10-09 Alexander Larsson <alexl@redhat.com>
4223 Add missing G_END_DECLS
4225 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4227 * gio/gfile.c: (g_file_set_display_name),
4228 (g_file_query_settable_attributes),
4229 (g_file_query_writable_namespaces):
4230 Return NULL not FALSE on errors as the return type is a pointer.
4232 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4234 * gio/glocalfile.c: (g_local_file_monitor_file):
4235 Don't call monitor_file on the default interface vtable (which
4236 is NULL) but simply return NULL. The caller, GFile, will create a
4237 polling monitor if NULL is returned.
4239 2007-10-09 Alexander Larsson <alexl@redhat.com>
4243 * gio-unix-2.0.pc.in:
4244 Add gio-unix-2.0.pc if OS_UNIX
4247 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4249 2007-10-09 Alexander Larsson <alexl@redhat.com>
4251 * gio/gunixmounts.[ch]:
4252 Make unix mount monitoring API sane.
4253 Now its just a object with mounts_changed
4254 and mountpoints_changed signals.
4256 * gio/glocaldirectorymonitor.c:
4257 * gio/gunixvolumemonitor.c:
4258 Use new mount monitor api
4260 2007-10-09 Alexander Larsson <alexl@redhat.com>
4262 * gio/gunixmounts.[ch]:
4263 Move guess type into one call for mounts and one for mountpoints
4266 * gio/gunixvolume.c:
4269 2007-10-09 Alexander Larsson <alexl@redhat.com>
4271 * gio/gunixmounts.[ch]:
4272 Remove _ prefix in preparation to make this semi-public
4273 Hide implementation of structs
4275 * gio/glocaldirectorymonitor.c:
4277 * gio/gunixvolume.c:
4278 * gio/gunixvolumemonitor.c:
4279 Update for above API changes
4281 2007-10-08 Alexander Larsson <alexl@redhat.com>
4284 Better polling fallback. This also handles the case where we have
4285 a monitor_file implementation, but it fails.
4287 2007-10-08 Alexander Larsson <alexl@redhat.com>
4291 * gio/gunixmounts.c:
4292 * programs/gio-monitor-dir.c:
4293 * programs/gio-monitor-file.c:
4294 Added cancellable to file monitoring calls.
4295 These are really sync calls and need this.
4297 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4299 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4300 (g_local_vfs_class_init):
4301 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4302 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4304 2007-10-05 Alexander Larsson <alexl@redhat.com>
4306 * gio/gdirectorymonitorprivate.h:
4307 * gio/gfilemonitorprivate.h:
4308 * gio/gdirectorymonitor.h:
4309 * gio/gfilemonitor.h:
4310 Remove *private.h and move to the public API, so that
4311 we can do implementations outside gio (such as in gvfs)
4313 * gio/gdirectorymonitor.c:
4314 * gio/gfilemonitor.c:
4315 * gio/glocaldirectorymonitor.c:
4316 * gio/gpollfilemonitor.c:
4317 * gio/inotify/inotify-helper.c:
4318 * gio/fam/fam-helper.c:
4319 Update to the new header names
4321 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4323 * gio/gdirectorymonitor.c:
4324 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4327 2007-10-04 Alexander Larsson <alexl@redhat.com>
4329 * gio/glocalfileinfo.c (get_access_rights):
4330 Set CAN_TRASH when we can move the file.
4331 We should really also check for a parent trash dir.
4333 2007-10-04 Alexander Larsson <alexl@redhat.com>
4335 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4336 Add can_trash access attribute
4338 2007-10-04 Alexander Larsson <alexl@redhat.com>
4341 (g_local_file_trash):
4342 Create info file first. This is per-spec and allows
4343 us to actually trash directories.
4345 2007-10-02 Alexander Larsson <alexl@redhat.com>
4347 * gio/gdesktopappinfo.c:
4348 Implement the new mime support code.
4349 Always set app as handling mimetype when being set as default for it
4351 2007-10-01 Alexander Larsson <alexl@redhat.com>
4353 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4354 Fix up check for xattrs:
4356 2007-10-01 Alexander Larsson <alexl@redhat.com>
4359 (g_app_info_set_as_default_for_extension):
4360 (g_app_info_add_supports_type):
4361 (g_app_info_can_remove_supports_type):
4362 (g_app_info_remove_supports_type):
4363 Make these fail nicely if not implemented
4365 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4367 * gio/glocalfileoutputstream.c:
4368 * gio/glocalfileoutputstream.h:
4373 * programs/gio-save.c:
4374 Add a GFileCreateFlags argument to operations that can create
4377 2007-10-01 Alexander Larsson <alexl@redhat.com>
4379 * gio/gappinfo.[ch]:
4380 * gio/gdesktopappinfo.c:
4381 Add more (stubbed out) mime API needed for nautilus
4383 2007-10-01 Alexander Larsson <alexl@redhat.com>
4386 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4387 Add g_app_info_set_as_default_for_extension.
4389 * gio/gdesktopappinfo.c:
4390 Dummy for g_app_info_set_as_default_for_extension
4391 Support flags in g_app_info_create_from_commandline
4393 * gio/gwin32appinfo.c:
4395 Update for API changes
4397 * gio/gthemedicon.c:
4398 Properly NULL-terminate list of icon names
4400 2007-09-28 Alexander Larsson <alexl@redhat.com>
4402 * gio/gloadableicon.h:
4403 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4405 2007-09-28 Alexander Larsson <alexl@redhat.com>
4408 Install headers in $includedir/gio-standalone/
4410 * gio-2.0.pc.in: Added.
4411 * gio-standalone.pc.in: Removed.
4414 Renamed pkg-config file to match glib (for future move)
4415 Update to the new include dir
4418 Add more TODO comments
4420 2007-09-28 Alexander Larsson <alexl@redhat.com>
4422 * gio/gdesktopappinfo.[ch]:
4423 Expose new_from_filename
4424 Add getter for is_hidden and handle it better
4426 2007-09-28 Alexander Larsson <alexl@redhat.com>
4428 * gio/gfileinfo.[ch]:
4429 Rename g_file_size_format_for_display to
4430 g_format_file_size_for_display.
4431 Now it doesn't have the g_file prefix, so we
4432 can later move it to glib.
4434 2007-09-28 Alexander Larsson <alexl@redhat.com>
4436 * gio/gappinfo.[ch]:
4437 Add g_app_info_get_id and g_app_info_get_executable.
4438 Make all getters non-reffing
4439 Make g_app_info_launch take GFile arguments.
4440 Add must_support_uris argument to g_app_info_get_default_for_type.
4442 * gio/gwin32appinfo.c:
4443 Update to GAppInfo api changes
4445 * gio/gdesktopappinfo.c:
4446 Update to GAppInfo api changes
4447 Implement supports_xdg_startup_notify
4449 * gio/gfileicon.c (g_file_icon_get_file):
4450 Make getter non-reffing.
4455 2007-09-27 Alexander Larsson <alexl@redhat.com>
4457 * gio/gfileinfo.[ch]:
4458 Add g_file_size_format_for_display helper
4460 2007-09-27 Alexander Larsson <alexl@redhat.com>
4462 * gio/glocalfileinfo.c:
4463 Set UNIX_GID from gid, not from uid
4465 2007-09-27 Alexander Larsson <alexl@redhat.com>
4468 Add g_file_set_attributes_async
4470 2007-09-27 Alexander Larsson <alexl@redhat.com>
4472 * gio/glocalfile.c (g_local_file_set_display_name):
4473 Fix set_display_name to actually rename to the right place.
4474 Use lstat to look for existing files so we don't overwrite
4477 2007-09-26 Alexander Larsson <alexl@redhat.com>
4480 Add g_file_set_display_name_async()
4482 2007-09-26 Alexander Larsson <alexl@redhat.com>
4485 Add load_partial_contents async calls
4488 Make internal function static
4490 2007-09-26 Alexander Larsson <alexl@redhat.com>
4492 * gio/glocalfileinfo.c:
4493 Correctly detect broken symlinks
4495 2007-09-26 Alexander Larsson <alexl@redhat.com>
4497 * gio/gcancellable.c (g_cancellable_cancel):
4498 Allow cancel on NULL cancellable
4500 2007-09-25 Alexander Larsson <alexl@redhat.com>
4502 * gio/gsimpleasyncresult.c:
4503 Don't allocate g_error manually.
4504 Fixes g_slice/g_new mixup crash
4506 2007-09-25 Alexander Larsson <alexl@redhat.com>
4508 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4509 Actually set active_backend.
4510 This means the monitor will be cancelled correctly.
4512 2007-09-25 Alexander Larsson <alexl@redhat.com>
4514 * gio/gdirectorymonitor.c:
4515 Set timeout to NULL when destroying
4517 2007-09-25 Alexander Larsson <alexl@redhat.com>
4520 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4521 that is a better description of the error.
4523 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4525 * gio/gvfs.c: (g_vfs_get_local):
4526 Make the local vfs variable static. The same instance should
4529 2007-09-24 Alexander Larsson <alexl@redhat.com>
4531 * gio/glocalfileinfo.c:
4532 Pass in actual length read into sniffer, not the length
4535 2007-09-21 Alexander Larsson <alexl@redhat.com>
4537 * gio/gfileenumerator.c:
4540 * gio/gfileinputstream.c:
4541 * gio/gfileoutputstream.c:
4542 * gio/ginputstream.c:
4543 * gio/goutputstream.c:
4544 Don't crash if async callbacks are NULL
4546 2007-09-20 Alexander Larsson <alexl@redhat.com>
4549 Add async enumerate_children method and default
4552 2007-09-20 Alexander Larsson <alexl@redhat.com>
4555 Add g_file_contains_file & g_file_get_relative_path, since they
4556 were needed for nautilus.
4557 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4562 Implement new methods
4564 2007-09-17 Alexander Larsson <alexl@redhat.com>
4567 * gio/gfileinputstream.[ch]:
4568 * gio/gfileoutputstream.[ch]:
4570 * gio/glocalfileenumerator.[ch]:
4571 * gio/glocalfileinfo.[ch]:
4572 * gio/glocalfileinputstream.c:
4573 * gio/glocalfileoutputstream.c:
4574 * gio/gpollfilemonitor.c:
4575 * programs/gio-copy.c:
4576 * programs/gio-info.c:
4577 * programs/gio-move.c:
4578 Rename get_file_info to query_info() to make it clearer
4579 that these are not simple getters, but do i/o.
4581 2007-09-17 Alexander Larsson <alexl@redhat.com>
4583 * gio/gdatainputstream.[ch]:
4584 * gio/test-streams.c:
4585 Use _read_XXX instead of _get_XXX for the i/o calls
4588 2007-09-17 Alexander Larsson <alexl@redhat.com>
4591 Added needed stuff to TODO comment
4593 2007-09-17 Alexander Larsson <alexl@redhat.com>
4595 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4596 Don't error out removing the backup copy if it doesn't
4599 2007-09-14 Alexander Larsson <alexl@redhat.com>
4601 * programs/Makefile.am:
4602 * programs/gvfs-*.c:
4604 Renamed apps from gvfs-xxx to gio-xxx.
4606 2007-09-14 Alexander Larsson <alexl@redhat.com>
4609 * gio/gfileoutputstream.[ch]:
4610 * gio/glocalfileoutputstream.c:
4611 * programs/gvfs-save.c:
4612 g_file_output_stream_get_etag doesn't do i/o, so remove
4613 cancellation and error.
4615 2007-09-14 Alexander Larsson <alexl@redhat.com>
4618 Add new_etag output to replace_contents functions
4620 2007-09-14 Alexander Larsson <alexl@redhat.com>
4622 * gio/gfileoutputstream.[ch]:
4623 Add async get_file_info and default implementation
4625 2007-09-14 Alexander Larsson <alexl@redhat.com>
4627 * gio/gfileinputstream.c:
4628 Implement fallback wrapper for async get_file_info
4630 2007-09-14 Alexander Larsson <alexl@redhat.com>
4633 Add etag out argument to load_contents
4638 2007-09-14 Alexander Larsson <alexl@redhat.com>
4640 * gio/gcontenttype.c (looks_like_text):
4641 Whitespace like tab, cr and lf do not make the
4644 2007-09-14 Alexander Larsson <alexl@redhat.com>
4646 * gio/gfileinputstream.[ch]:
4647 Add async get_file_info.
4649 2007-09-13 Alexander Larsson <alexl@redhat.com>
4651 * gio/goutputstream.c (g_output_stream_write_all):
4652 Allow NULL for bytes_written
4654 2007-09-13 Alexander Larsson <alexl@redhat.com>
4656 * gio/gmemoryinputstream.[ch]:
4657 Add accessors for data
4659 2007-09-13 Alexander Larsson <alexl@redhat.com>
4661 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4662 Don't crash if length is NULL