1 2008-07-02 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.17.3 ===
5 2008-07-02 Matthias Clasen <mclasen@redhat.com>
7 * gfilemonitor.c: Fix the build.
9 2008-07-02 Matthias Clasen <mclasen@redhat.com>
11 Bug 536160 – Add g_file_monitor()
14 * gfile.[hc]: Add g_file_monitor which can return either
15 a file or a directory monitor. Proposed by Behdad Esfahbod
17 2008-07-02 Matthias Clasen <mclasen@redhat.com>
19 536733 – gio build failure on Irix
21 * glocalfile.c: Use a configure check for structfs.f_bavail.
23 2008-07-02 Matthias Clasen <mclasen@redhat.com>
25 Bug 534639 – add g_desktop_app_info_new_from_keyfile
28 * gdesktopappinfo.[hc]: Add a function to create a
29 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
31 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
33 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
35 2008-07-01 Matthias Clasen <mclasen@redhat.com>
37 * gunixmounts.c: Fix a doc typo.
39 2008-07-01 Cody Russell <bratsche@gnome.org>
42 * gio/gwin32appinfo.c:
43 * gio/gwin32volumemonitor.c:
44 * gio/gwin32mount.c: Fixed some include problems.
46 2008-07-01 Cody Russell <bratsche@gnome.org>
50 Moved all relevant typedefs into these files.
53 Updated wrt added files.
55 Split types into separate file for easier maintainership. (#538564)
57 2008-06-30 Matthias Clasen <mclasen@redhat.com>
59 Bug 540331 – g_file_append_to () documentation: can return NULL
61 * gfile.c (g_file_append_to): Clarify docs.
64 2008-06-30 Matthias Clasen <mclasen@redhat.com>
66 Bug 539090 – g_content_type_from_mime_type() should unalias
68 * gcontentype.c (g_content_type_from_mime_type): Unalias.
69 Patch by Markus Bergman
71 2008-06-30 Matthias Clasen <mclasen@redhat.com>
73 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
76 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
77 on ppc and alpha. Reported by Mart Raudsepp
79 2008-06-29 Matthias Clasen <mclasen@redhat.com>
82 * tests/memory-output-stream.c: Add some tests for
85 2008-06-29 Matthias Clasen <mclasen@redhat.com>
87 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
90 * gmemoryoutputstream.c (array_resize): Handle truncation to
91 zero correctly. Reported by Akira Tagoh
93 2008-06-29 Matthias Clasen <mclasen@redhat.com>
95 * gmemoryoutputstream.c: Trivial doc fixes
97 2008-06-29 Matthias Clasen <mclasen@redhat.com>
99 Bug 540802 – g_list_prepend doesn't concat lists
101 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
102 one list to another. Pointed out by Jan Arne Petersen
104 2008-06-28 Michael Natterer <mitch@imendio.com>
106 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
108 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
110 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
111 to avoid problems with partial icon themes.
113 2008-06-17 Hans Breuer <hans@breuer.org>
115 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
116 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
117 access again on win32, see bug #538127
118 * giomodule.c : ensure GWin32VolumeMonitor is registered
119 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
120 * Makefile.am makefile.msc : updated
122 2008-06-16 Hans Breuer <hans@breuer.org>
124 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
125 and initialization in one step avoids c99ism
127 2008-06-16 Christian Persch <chpe@gnome.org>
130 * gio/gbufferedinputstream.c
132 * gio/gdatainputstream.c
133 * gio/gdesktopappinfo.c
135 * gio/gfileenumerator.c
136 * gio/gfileinputstream.c
137 * gio/gfileoutputstream.c
139 * gio/glocaldirectorymonitor.c
141 * gio/glocalfileenumerator.c
142 * gio/glocalfileinfo.c
143 * gio/glocalfilemonitor.c
144 * gio/glocalfileoutputstream.c
145 * gio/gmemoryinputstream.c
146 * gio/gmemoryoutputstream.c
147 * gio/goutputstream.c
148 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
151 2008-06-16 Tor Lillqvist <tml@novell.com>
153 Bug 538362 - Get Win32 icons back in the file chooser
155 * gcontenttype.c (g_content_type_get_icon): Look up the icon
156 corresponding to a file extension in the Registry. Patch by Hans
158 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
160 2008-06-16 Tor Lillqvist <tml@novell.com>
162 Patches by Hans Breuer:
164 * glocalfile.c (is_xp_or_later): Handle compiling against older
165 SDK headers with missing VerifyVersionInfo(). Conditioned on
166 _MSC_VER, but should probably use some better test.
167 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
168 uninitialised statfs_result variable on Win32.
170 2008-06-16 Michael Natterer <mitch@imendio.com>
172 * *.c: chain up unconditionally in finalize() and dispose(). Also
173 don't dereference these function pointers when calling them since
174 that has no meaning at all.
176 2008-06-16 Ross Burton <ross@burtonini.com>
179 Remove check for dispose implementation as it annoys Emmanuele.
181 2008-06-16 Ross Burton <ross@burtonini.com>
183 Bug 536252 – GFileEnumerator should allow access to the containing
189 Add g_file_enumerator_get_container() and a container writeable
190 construct-only property. Also shuffle around typedefs to make it
193 * glocalfileenumerator.c:
194 * glocalfileenumerator.h:
196 Instead of a string filename take a GFile in the constructor and
197 use it to set the container property.
202 2008-06-16 Matthias Clasen <mclasen@redhat.com>
204 * gfile.c: Make includes more uniform
206 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
208 * tests/live-g-file.c (sample_struct):
209 Use less fancy unicode filenames, so the test doesn't fail
210 on Mac OS X (#531476).
212 2008-06-12 Matthias Clasen <mclasen@redhat.com>
214 * === Released 2.17.2 ===
216 2008-06-12 Matthias Clasen <mclasen@redhat.com>
218 * === Released 2.17.1 ===
220 2008-06-11 A. Walton <awalton@gnome.org>
222 * tests/g-file.c (test_g_file_new_null):
223 Fix broken test case.
225 2008-06-11 Matthias Clasen <mclasen@redhat.com>
227 * pltcheck.sh: We use g_clear_error now.
229 2008-06-11 Matthias Clasen <mclasen@redhat.com>
231 * glocalfile.c (g_local_file_enumerate_children): Revert
232 an unintended change.
234 2008-06-11 Matthias Clasen <mclasen@redhat.com>
236 * gfile.c (g_file_replace_contents): Don't unref before the last use.
238 2008-06-10 Matthias Clasen <mclasen@redhat.com>
240 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
243 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
244 as icon for the desktop directory, also make user-home and
245 user-desktop the preferred icons.
247 2008-06-10 Matthias Clasen <mclasen@redhat.com>
250 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
251 to add a name to the front of the list.
253 2008-06-10 Matthias Clasen <mclasen@redhat.com>
255 Bug 537392 – Additional colon in xattr name
257 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
258 too. Reported by Alessandro Morandi
260 2008-06-10 Matthias Clasen <mclasen@redhat.com>
262 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
265 * glocalfile.c (get_fs_type): Add afs and autofs.
266 Patch by Danny Baumann.
268 2008-06-10 Matthias Clasen <mclasen@redhat.com>
270 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
272 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
273 is no parent. (Owen Taylor, patch by Christian Neumair)
275 2008-06-10 Paolo Borelli <pborelli@katamail.com>
277 * gfile.c (g_file_replace_contents): do not leak the output stream.
279 2008-06-10 Michael Natterer <mitch@imendio.com>
281 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
282 uninitialized memory as array index.
284 2008-06-10 Tor Lillqvist <tml@novell.com>
286 * gcontenttype.c (g_content_type_can_be_executable)
287 (g_content_type_get_icon) [Win32]: Add TODO comments.
289 2008-06-09 Matthias Clasen <mclasen@redhat.com>
291 * xdgmime/Makefile.am: Fix the build
293 2008-06-09 Matthias Clasen <mclasen@redhat.com>
295 * gcontenttype.c (g_content_type_get_icon): Use icons specified
296 in the shared mime database, if available.
298 * xdgmime/*: Sync with upstream. This brings support for
299 glob weights, generic icons, and changes the cache format to
302 2008-05-28 Michael Natterer <mitch@imendio.com>
304 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
305 the global CPPFLAGS now.
307 * tests/data-input-stream.c
308 * tests/data-output-stream.c
309 * tests/g-file-info.c
311 * tests/live-g-file.c
312 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
314 2008-05-27 Matthias Clasen <mclasen@redhat.com>
316 * === Released 2.17.0 ===
318 * tests/live-g-file.c: Clean up after the tests, so make distcheck
319 doesn't complain about leftover files.
321 2008-05-27 simon.zheng <simon.zheng@sun.com>
323 * glocalfile.c: (g_local_file_query_filesystem_info):
324 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
326 2008-05-26 Michael Natterer <mitch@imendio.com>
328 * gmemoryoutputstream.h: declare
329 g_memory_output_stream_get_data_size().
331 2008-05-26 Matthias Clasen <mclasen@redhat.com>
333 * tests/*: Make tests work
335 2008-05-26 Matthias Clasen <mclasen@redhat.com>
337 * gio.symbols: Add g_memory_output_stream_get_data_size.
339 2008-05-25 Ross Burton <ross@burtonini.com>
342 Fix typo in error message (#534764).
344 2008-05-25 Ross Burton <ross@burtonini.com>
347 Fix circular dependency loop for gioenumtypes.h (#534759).
349 2008-05-19 Hans Breuer <hans@breuer.org>
351 * Makefile.am : EXTRA_DIST += makefile.msc
353 2008-05-17 Matthias Clasen <mclasen@redhat.com>
356 * gcontenttype.c: (g_content_type_from_mime_type):
357 New function to create a content type from a mime type. (#527175,
360 2008-05-17 Matthias Clasen <mclasen@redhat.com>
362 Bug 532965 – Should not return filesystem::free for certain file systems
364 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
365 free space for ncpfs.
367 2008-05-17 Matthias Clasen <mclasen@redhat.com>
369 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
371 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
372 st_dev might be zero.
374 2008-05-16 Tor Lillqvist <tml@novell.com>
376 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
377 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
379 2008-05-13 Bastien Nocera <hadess@hadess.net>
381 * gfile.c (has_valid_scheme): A URI scheme must start with a
382 letter, even if later more characters are allowed (#532852)
384 2008-05-05 Michael Natterer <mitch@imendio.com>
386 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
387 code from being checked in that breaks the build of applications
388 which use G_DISABLE_SINGLE_INCLUDES.
390 * makegioalias.pl: make the alias file include "glib.h" instead of
393 * gio.symbols: whitespace change to force regeneration of the
394 alias file after above script change.
396 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
398 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
400 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
402 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
404 2008-04-28 David Zeuthen <davidz@redhat.com>
406 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
407 displaying mounts in a subdirectory not accessible to the
410 2008-04-22 Michael Natterer <mitch@imendio.com>
412 * Makefile.am: fix library versioning (it was 0.0.0).
414 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
416 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
417 Default disable all loggings.
418 * fen/fen-kernel.c: (printevent), (port_add_kevent),
419 (port_fetch_event_cb): Fixed two macro nits.
421 2008-04-16 Matthias Clasen <mclasen@redhat.com>
423 * xdgmime/xdgmime.c: Rework the timestamp checking code
424 to protect against duplicate directories in XDG_DATA_DIRS.
425 Fixes fd.o bug 12513, reported by Joe Shaw.
427 2008-04-16 Matthias Clasen <mclasen@redhat.com>
429 Partically revert the last commit after realizing that
430 xdg_mime_media_type_equal doesn't have to init at all.
433 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
435 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
437 2008-04-16 Matthias Clasen <mclasen@redhat.com>
439 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
440 reported by Joe Shaw and Federico Mena Quintero.
442 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
443 (xdg_mime_media_type_equal): Turn into a wrapper around the
446 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
447 functions throughout.
449 2008-04-16 Michael Meeks <michael.meeks@novell.com>
451 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
452 tolerate an empty TryExec= line without failing; nautilus used
453 to create launchers with these in previous versions. Fixes #528433
455 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
457 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
458 after name. Fixes #527132.
460 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
462 * gfile.c: (g_file_replace):
465 2008-04-07 Matthias Clasen <mclasen@redhat.com>
467 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
469 * gfile.c (file_copy_fallback): Fix the argument order. Patch
470 by Christian Kellner.
472 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
474 * gunixmounts.c: (g_unix_mount_guess_should_display):
475 Don't list the user directory as a mount, fix potential issue
476 when other users have a similar naming and don't special case the
477 gvfs mounts there since that's not required (#525866)
479 2008-03-31 Alexander Larsson <alexl@redhat.com>
481 * glocalfile.c (get_parent):
484 2008-03-31 A. Walton <awalton@svn.gnome.org>
486 * gfile.c (g_file_query_file_type):
487 Always return a GFileType enum value (#520715).
489 2008-03-31 Alexander Larsson <alexl@redhat.com>
491 * glocalfileenumerator.c:
492 Read readdir() info in chunks (of 1000) and sort
493 the chunks by inode before stat:ing.
494 This is a 20% performance increase in testing
495 gvfs-ls on /usr/bin with cold cache.
497 2008-03-31 Alexander Larsson <alexl@redhat.com>
499 * gmemoryoutputstream.c:
500 Clarify docs for g_memory_output_stream_get_size.
501 Add g_memory_output_stream_get_data_size.
503 2008-03-30 Matthias Clasen <mclasen@redhat.com>
507 * gfile.h: Add g_file_query_file_type convenience function
508 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
510 2008-03-30 Matthias Clasen <mclasen@redhat.com>
513 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
515 2008-03-28 A. Walton <awalton@svn.gnome.org>
517 * giomodule.c (_g_io_modules_ensure_loaded):
518 Adds GIO_EXTRA_MODULES environment variable support, closing bug
521 2008-03-28 Alexander Larsson <alexl@redhat.com>
524 (copy_stream_with_progress):
527 2008-03-28 Alexander Larsson <alexl@redhat.com>
530 (copy_stream_with_progress):
531 (file_copy_fallback):
532 Fallback to g_file_query_info for source size
533 if g_file_input_stream_query_info fails. (#524579)
535 2008-03-28 Alexander Larsson <alexl@redhat.com>
537 * glocalfile.c (g_local_file_move):
538 Reuse old string instead of adding new one.
540 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
542 * fen/*.[hc]: still copyright issue. I hate copyright.
544 2008-03-27 Alexander Larsson <alexl@redhat.com>
546 * glocalfile.c (g_local_file_move):
547 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
548 file over directory. This is according to the docs and what the move via
549 copy+remove fallback does.
551 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
553 * fen/*.[hc]: Updated copyright.
555 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
557 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
559 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
561 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
562 not emit attribute changed events when optimizing changed events.
563 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
566 2008-03-19 Matthias Clasen <mclasen@redhat.com>
568 * gmountoperation.[hc]: Small documentation additions
570 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
572 * gunixmounts.c: (guess_mount_type):
573 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
575 2008-03-19 Alexander Larsson <alexl@redhat.com>
578 (copy_stream_with_progress):
579 Bump block side for copy to 64k to minimize
580 overhead for low latency links. (#523015)
582 2008-03-16 Tor Lillqvist <tml@novell.com>
584 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
585 depend on gio.def on Windows.
587 2008-03-12 David Zeuthen <davidz@redhat.com>
591 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
593 2008-03-14 Alexander Larsson <alexl@redhat.com>
597 Avoid redudant tests (#521851)
598 Patch from Josselin Mouette
600 2008-03-14 Alexander Larsson <alexl@redhat.com>
603 (g_file_monitor_is_cancelled):
604 Fix C89 issue (#521672)
605 Patch from Jens Granseuer
607 2008-03-14 Alexander Larsson <alexl@redhat.com>
609 * fam/fam-helper.[ch]:
611 Shut down fam (including removing fam GSource) when
612 module is unloaded (#521513)
613 Patch from Joe Marcus Clarke
615 2008-03-14 Alexander Larsson <alexl@redhat.com>
618 (_g_io_modules_ensure_loaded):
621 2008-03-14 Alexander Larsson <alexl@redhat.com>
624 (g_local_file_query_filesystem_info):
625 Use right define name for f_fstypename member check
627 2008-03-14 Alexander Larsson <alexl@redhat.com>
630 * fen/Makefile.am: Added.
631 * fen/fen-data.[ch]: Added.
632 * fen/fen-dump.[ch]: Added.
633 * fen/fen-helper.[ch]: Added.
634 * fen/fen-kernel.[ch]: Added.
635 * fen/fen-missing.[ch]: Added.
636 * fen/fen-node.[ch]: Added.
637 * fen/fen-sub.[ch]: Added.
638 * fen/gfendirectorymonitor.[ch]: Added.
639 * fen/gfenfilemonitor.[ch]: Added.
641 Added Solaris FEN file notification backend.
642 Patch from Lin Ma <Lin.Ma@Sun.COM>
644 2008-03-13 Tor Lillqvist <tml@novell.com>
646 * Makefile.am: Actually use the gio.def file when linking the
647 library on Windows. Produce .lib library for Microsoft's toolchain
648 when possible. Install the .lib and .def file like for the other
651 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
653 * tests/live-g-file.c:
654 Include live-g-file in standard set of tests, making a temporary
655 directory in source structure.
657 Clean target directory before the tests (write mode only)
659 2008-03-12 Tor Lillqvist <tml@novell.com>
661 Bug 517419 - gio win32 directory monitor
662 Implementation by Vlad Grecescu.
665 * win32/gwin32directorymonitor.h
666 * win32/gwin32directorymonitor.c: New files.
668 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
670 * Makefile.am: Add the win32 subdirectory.
672 2008-03-12 Tor Lillqvist <tml@novell.com>
674 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
675 normal struct stat on Unix but struct _stati64 on Windows to have
676 access to 64-bit file size information. Use that instead of struct
677 stat in the functions declared here in this private header.
679 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
680 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
681 warnings about unused functions and variables. Don't set
682 meaningless attributes like inode numbers on Windows.
684 2008-03-12 Benjamin Otte <otte@gnome.org>
687 trim whitespace so gtk-doc groks the function name
689 2008-03-12 Tor Lillqvist <tml@novell.com>
691 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
692 returning FALSE, on Win32.
694 2008-03-11 Alexander Larsson <alexl@redhat.com>
697 * glocalfileinfo.[ch]:
698 Correctly implement can_trash by actually
699 looking for a trash dir, not just assuming
702 2008-03-10 Matthias Clasen <mclasen@redhat.com>
704 * === Released 2.16.1 ===
706 2008-03-11 Alexander Larsson <alexl@redhat.com>
709 Fix crashes in new constructor and properties code
711 2008-03-10 Murray Cumming <murrayc@murrayc.com>
713 * gfile.c: Minor spelling correction in documentation:
714 existance -> existence.
716 2008-03-10 Matthias Clasen <mclasen@redhat.com>
718 * === Released 2.16.0 ===
720 2008-03-10 Matthias Clasen <mclasen@redhat.com>
722 * gio.symbols: Remove g_file_contains_file here, too.
724 2008-03-10 Matthias Clasen <mclasen@redhat.com>
726 * gthemedicon.c: Add properties to make bindings happy. (#517676,
727 Samuel Cormier-Iijima)
729 2008-03-08 Tor Lillqvist <tml@novell.com>
731 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
734 2008-03-07 Alexander Larsson <alexl@redhat.com>
737 (g_local_file_query_filesystem_info):
738 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
739 Patch from Jasper Lievisse Adriaanse
741 2008-03-06 Tor Lillqvist <tml@novell.com>
743 * gfileinfo.h: Correct milliseconds to microseconds in the doc
744 comments for the *_USEC attributes.
746 2008-03-06 Alexander Larsson <alexl@redhat.com>
748 * gfile.c (g_file_query_exists):
749 Add g_return_val_if_fail check (#520700)
751 2008-03-06 Alexander Larsson <alexl@redhat.com>
756 * gunionvolumemonitor.c:
759 * tests/live-g-file.c:
760 * xdgmime/xdgmimecache.c:
761 Fix sparse warnings (#519489)
763 2008-03-05 Alexander Larsson <alexl@redhat.com>
766 Make cancellation threadsafe (i.e.
767 guarantee its only done once, and always
770 * glocaldirectorymonitor.c:
771 Make sure we the monitor lives while the
772 mounts_changed callback is being called (#520484)
774 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
776 * gbufferedinputstream.c: Fix typo in parameter
779 2008-03-04 Alexander Larsson <alexl@redhat.com>
782 Remove deprecated symbols we kept for one release.
784 2008-03-04 Murray Cumming <murrayc@murrayc.com>
787 * goutputstream.c: Tiny documentation corrections.
789 2008-03-03 Alexander Larsson <alexl@redhat.com>
791 * gunionvolumemonitor.c:
793 Fix the adopt_orphan_mount vfunc to take a
794 volume_monitor reference in an ABI compat way.
795 This change is not API compat, but the added
796 arg is not used in the only user of this vfunc, so
797 all we get is a harmless warning in gvfs (#520169)
799 2008-03-01 Benjamin Otte <otte@gnome.org>
802 clarify docs for g_file_delete().
804 2008-02-29 Alexander Larsson <alexl@redhat.com>
808 Make sure empty files get text/plain type (#518720)
810 2008-02-27 Alexander Larsson <alexl@redhat.com>
816 (g_unix_volume_mount):
817 Add missing GMountMountFlags argument
819 2008-02-26 Alexander Larsson <alexl@redhat.com>
822 (g_local_file_delete):
823 Handle filesystems (like ntfs-3g) that return EEXIST instead
824 of ENOTEMPTY (#518816)
826 2008-02-25 Matthias Clasen <mclasen@redhat.com>
828 * === Released 2.15.6 ===
830 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
832 * gfile.c (g_file_find_enclosing_mount):
833 * ginputstream.c (g_input_stream_set_pending):
834 * glocalfile.c (g_local_file_find_enclosing_mount):
835 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
836 * goutputstream.c (g_output_stream_set_pending):
838 Fixup translator comments (#518578).
840 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
842 * gfile.c (g_file_find_enclosing_mount):
844 * glocalfile.c (g_local_file_find_enclosing_mount):
847 Fix a few typos in translator comments and documentation.
849 2008-02-25 Alexander Larsson <alexl@redhat.com>
856 Add translator comments (#518578)
858 2008-02-25 Alexander Larsson <alexl@redhat.com>
861 Reintroduce g_file_contains_file, keep around for one
862 unstable release cycle to avoid crashing to many apps.
863 Make sure to delete after release.
865 2008-02-25 Alexander Larsson <alexl@redhat.com>
868 Remove deprecated g_file_contains_file.
870 2008-02-25 Alexander Larsson <alexl@redhat.com>
873 Emit actual change signals in an idle handler.
874 This avoids reentrance and locking problems in
875 the file notification backends.
877 2008-02-25 Alexander Larsson <alexl@redhat.com>
880 (g_unix_mount_guess_should_display):
881 Remove type guessing, instead just display
882 mounts in /media and in ~/.
884 2008-02-25 Alexander Larsson <alexl@redhat.com>
887 Make new strings reuse old ones.
889 2008-02-25 Alexander Larsson <alexl@redhat.com>
892 Implement trashing and filesystem::readonly for win32 (#517235)
893 Patch from Yevgen Muntyan
895 2008-02-23 Matthias Clasen <mclasen@redhat.com>
897 * gfileinfo.h: Documentation fixes.
899 2008-02-22 Alexander Larsson <alexl@redhat.com>
901 * gcontenttype.c (g_content_type_get_icon):
902 Look at old-style gnome mime icon names too, as many
903 have not moved to the new style.
905 2008-02-21 Matthias Clasen <mclasen@redhat.com>
907 * *.c: Correct the @include in for section docs.
909 2008-02-21 David Zeuthen <davidz@redhat.com>
911 * glocalfileinfo.c: (_g_local_file_info_get):
913 (g_content_type_get_icon): Implement this function by
914 moving bits from glocalfileinfo.c
915 (g_content_type_get_description): Unalias before getting
916 description (#517687)
918 * gfile.c: (g_file_class_init),
919 (g_file_query_filesystem_info_async),
920 (g_file_query_filesystem_info_finish),
921 (query_filesystem_info_data_free),
922 (query_filesystem_info_async_thread),
923 (g_file_real_query_filesystem_info_async),
924 (g_file_real_query_filesystem_info_finish):
925 * gfile.h: Implement async version of
926 g_file_query_filesystem_info()
928 * gfileinfo.h: Add new attributes for filesystem::use-preview
930 * gio.symbols: Update
932 * gthemedicon.c: (g_themed_icon_append_name):
933 * gthemedicon.h: Add new new convenience function.
935 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
936 (get_mounts), (get_volumes), (get_connected_drives),
937 (get_volume_for_uuid), (get_mount_for_uuid),
938 (g_union_volume_monitor_init), (populate_union_monitor),
939 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
940 (g_volume_monitor_adopt_orphan_mount):
942 * gvolumemonitor.h: Use recursive locks so it's safe for volume
943 monitor implementations to call into the main volume monitor. Also
944 separate object initialization and volume monitor initialization
945 such that non-native volume monitors can properly adopt their
948 2008-02-21 Alexander Larsson <alexl@redhat.com>
953 2008-02-21 Alexander Larsson <alexl@redhat.com>
956 Add more documentation about how GFiles work (from #517086)
958 2008-02-21 Alexander Larsson <alexl@redhat.com>
962 Add new g_file_has_prefix that does the same as g_file_contains_file.
963 Deprecate g_file_contains_file and add a macro that converts
964 it to g_file_has_prefix.
965 The reason for this change is that the contains_file() name seems to
966 imply that this does more work than what it does, but its really only
967 a name match (from #517086)
972 Update to match the above change.
974 2008-02-20 Benjamin Otte <otte@gnome.org>
976 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
977 (g_file_eject_mountable):
978 even more cases of not returning in error path
980 2008-02-20 Benjamin Otte <otte@gnome.org>
982 * gfile.c: (g_file_mount_mountable):
983 return from function in error path.
985 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
988 Remove trailing coma in GMountMountFlags struct
990 2008-02-18 Alexander Larsson <alexl@redhat.com>
994 * glocalfileoutputstream.c:
995 Use g_unlink/g_rename instead of unlink/rename;
996 do not pass raw filenames to g_set_error. (#517239)
997 Patch from Yevgen Muntyan.
999 2008-02-18 Alexander Larsson <alexl@redhat.com>
1002 * glocalfileoutputstream.c:
1003 Open files with O_BINARY on windows. (#517140)
1005 2008-02-14 Alexander Larsson <alexl@redhat.com>
1007 * glocalfileoutputstream.c:
1008 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1010 2008-02-14 Alexander Larsson <alexl@redhat.com>
1013 Copy permissions with file on copy (#514084)
1014 This is what cp does and makes sure e.g. the
1015 exec permissions are kept.
1016 Its kinda weird in that it keeps the permission bits
1017 the same while the uid and gid are different. However
1018 the new uid is the user so its not a security issue,
1019 and I've heard no complaints about cp on this issue.
1021 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1023 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1025 2008-02-13 Alexander Larsson <alexl@redhat.com>
1027 * inotify/inotify-path.c:
1028 Define IN_ONLYDIR if not in header (#515346)
1030 2008-02-12 Alexander Larsson <alexl@redhat.com>
1032 * tests/live-g-file.c:
1035 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1037 * === Released 2.15.5 ===
1039 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1041 * gio.symbols: Add g_mount_mount_flags_get_type.
1043 2008-02-11 Alexander Larsson <alexl@redhat.com>
1046 (g_file_info_set_attribute_mask):
1047 (g_file_attribute_matcher_matches_id):
1048 Correctly handle NULL GAttributeMatcher meaning
1049 matches nothing. (Fixes #513492)
1051 2008-02-11 Alexander Larsson <alexl@redhat.com>
1056 Added GMountMountFlags enum and added a flags
1057 argument to all mount calls.
1059 This is an API/ABI change for future extensibility,
1060 as I think we will need at least an
1061 inhibit-autorun flag (the panel needs this).
1062 There are no flags defined yet though.
1064 2008-02-11 Alexander Larsson <alexl@redhat.com>
1067 Added new standard::description attribute.
1068 Requested by Vincent, and useful for both
1071 2008-02-11 Alexander Larsson <alexl@redhat.com>
1073 * gdesktopappinfo.c:
1076 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1078 * *.c: Documentation additions
1080 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1082 * gappinfo.h: Formatting cleanup
1083 * gappinfo.c: Fix up docs.
1085 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1087 * gunixmounts.c: Consistently use getmntent_r() and fall
1088 back to getmntent(). (#515492)
1090 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1092 * gbufferedinputstream.c:
1094 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1096 * tests/data-input-stream.c:
1097 * tests/data-output-stream.c: Portability fixes.
1099 2008-02-08 Alexander Larsson <alexl@redhat.com>
1104 Add g_volume_should_automount.
1107 2008-02-07 Tor Lillqvist <tml@novell.com>
1109 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1110 Win32, too Unix-specific.
1112 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1114 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1115 a local plt if the compiler doesn't support what we want. Bug #514702
1117 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1119 reviewed by: <delete if not using a buddy>
1122 * gunixinputstream.c:
1123 * gunixoutputstream.c:
1125 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1127 * tests/Makefile.am:
1128 * tests/live-g-file.c:
1129 * tests/live-g-file.txt:
1130 New GIO testing module working over real data
1132 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1134 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1135 Fallback to rename() if link() is not available
1136 (when no support on target filesystem)
1138 2008-02-06 Michael Natterer <mitch@imendio.com>
1140 * gfileinfo.c (g_file_info_get_icon): replace
1141 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1143 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1145 * gfile.c (g_file_create):
1146 Documentation update of error codes
1148 2008-02-06 Alexander Larsson <alexl@redhat.com>
1150 * gdesktopappinfo.c:
1151 Update to use both mimeapps.list and
1152 defaults.list as discussed on xdg list.
1154 2008-02-06 Benjamin Otte <otte@gnome.org>
1157 * gfilenamecompleter.c:
1158 Fix some typos in the documentation.
1160 2008-02-06 Alexander Larsson <alexl@redhat.com>
1162 * glocalfile.c (g_local_file_trash):
1163 Don't succeed with trash if newly created
1164 trash dir has the wrong owner. (#514696)
1166 2008-02-05 Alexander Larsson <alexl@redhat.com>
1168 * glocalfile.c (g_local_file_move):
1169 Don't spew warnings when destination is not
1172 2008-02-03 Hans Breuer <hans@breuer.org>
1174 * makefile.msc : update
1176 2008-02-01 Michael Natterer <mitch@imendio.com>
1178 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1179 return value of xdg_mime_list_mime_parents() to a variable of the
1182 2008-02-01 Alexander Larsson <alexl@redhat.com>
1184 * gappinfo.c (g_app_info_launch_uris):
1185 Actually call the launch_uris method, not
1188 2008-02-01 Alexander Larsson <alexl@redhat.com>
1190 * gdesktopappinfo.c (g_desktop_app_info_equal):
1191 Ensure appinfos with no id but same pointer value
1194 2008-02-01 Alexander Larsson <alexl@redhat.com>
1196 * gappinfo.c (g_app_info_launch_default_for_uri):
1199 2008-02-01 Alexander Larsson <alexl@redhat.com>
1203 Add g_app_info_launch_default_for_uri utility
1206 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1208 * gdesktopappinfo.c:
1209 Doc fix for g_app_info_get_default_for_uri_scheme ()
1212 2008-01-30 Alexander Larsson <alexl@redhat.com>
1215 Add doc comment about uris vs GFiles to
1218 * gdesktopappinfo.c:
1219 Ensure uris passed to g_app_info_launch_uris()
1220 are not roundtriped through GFile (as that
1221 may be slightly destructive for e.g. mailto: links)
1223 2008-01-30 Alexander Larsson <alexl@redhat.com>
1225 * tests/data-input-stream.c:
1226 * tests/data-output-stream.c:
1227 C89 fixes from Jens Granseuer (#512849)
1229 2008-01-30 Alexander Larsson <alexl@redhat.com>
1232 Fix gamin/fam difference build issue. (#509419)
1234 2008-01-29 Alexander Larsson <alexl@redhat.com>
1237 * gdesktopappinfo.c:
1238 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1240 2008-01-29 Alexander Larsson <alexl@redhat.com>
1242 * gdesktopappinfo.c:
1243 * gdesktopappinfo.h:
1244 giomodule-priv.h include moved to .c file.
1246 2008-01-29 Alexander Larsson <alexl@redhat.com>
1248 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1249 Remove unused prio/name fields.
1251 2008-01-29 Alexander Larsson <alexl@redhat.com>
1253 * gcontenttype.c (looks_like_text):
1254 Don't treat whitespace as control chars.
1256 2008-01-29 Alexander Larsson <alexl@redhat.com>
1258 * gdesktopappinfo.c:
1259 Lazily create the desktop files for appinfos created
1260 by g_app_info_create_from_commandline() when needed
1261 for mime associations. This allows run-time use
1262 of GAppInfo object without creating unnecessary
1265 2008-01-29 Alexander Larsson <alexl@redhat.com>
1268 Added new symbols to gio.symbols
1270 2008-01-29 Alexander Larsson <alexl@redhat.com>
1273 Add g_file_query_default_handler utility to easily look up
1274 the GAppInfo that handles a file.
1276 * gdesktopappinfo.[ch]:
1278 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1281 Remove unused function
1283 2008-01-29 Alexander Larsson <alexl@redhat.com>
1285 * gfileenumerator.c:
1286 Mention need to free returned value in
1287 g_file_enumerator_next_files_finish docs.
1288 Fix leak if g_file_enumerator_next_files_finish()
1291 2008-01-29 Alexander Larsson <alexl@redhat.com>
1294 (_g_unix_content_type_get_parents):
1295 Use list_parents, not get_parents from xdgmime, because
1296 the later doesn't use the cache.
1298 * xdgmime/xdgmimecache.c:
1299 (_xdg_mime_cache_list_mime_parents):
1300 Don't list the same type as parent multiple times.
1302 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1304 * === Released 2.15.4 ===
1306 2008-01-28 Alexander Larsson <alexl@redhat.com>
1309 Register local vfs with prio 0.
1312 Remove old name and prio class members
1314 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1316 * tests/g-file.c: Disable some tests that are failing in
1317 the absence of a http backend.
1319 2008-01-28 Alexander Larsson <alexl@redhat.com>
1323 Add registration hooks for extension points.
1324 Register the gio extension points.
1326 * fam/gfamdirectorymonitor.c:
1327 * fam/gfamfilemonitor.c:
1328 * glocaldirectorymonitor.[ch]:
1329 * glocalfilemonitor.[ch]:
1330 * gnativevolumemonitor.h:
1331 * gunionvolumemonitor.c:
1332 * gunixvolumemonitor.c:
1335 * inotify/ginotifydirectorymonitor.c:
1336 * inotify/ginotifyfilemonitor.c:
1337 Use the extension points registration instead
1338 of g_type_children().
1340 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1343 * gvolume.[hc]: Document new API.
1345 * gfile.c (g_file_copy_async): Fix docs
1347 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1349 * gbufferedinputstream.c:
1351 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1354 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1356 * glocalfile.c: Avoid trivial differences in translatable strings.
1358 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1360 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1361 build with gcc 3.4 (#509419)
1363 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1365 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1366 (#509994, Murray Cumming)
1368 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1370 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1371 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1372 this allows big jobs to be executed in chunks, instead of blocking
1373 the main loop for a long time.
1375 * gsimpleasyncresult.c:
1376 * giofile.c: Adapt callers.
1378 2008-01-25 Alexander Larsson <alexl@redhat.com>
1380 * gdesktopappinfo.c:
1381 Implement changes discussed on xdg list.
1382 Now we can add supported mimetypes by just using defaults.list
1383 We can also remove associations in defaults.list.
1385 2008-01-25 Alexander Larsson <alexl@redhat.com>
1387 * gdesktopappinfo.c:
1388 Don't make local copy of desktop file
1389 for mimetype changes if the file already
1390 supports the new mimetype.
1392 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1396 * gbufferedinputstream.c:
1397 * glocalfile.c: String improvements. (#511966,
1398 Theppitak Karoonboonyanan)
1400 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1402 * gioscheduler.h: Expand docs a bit.
1404 2008-01-24 Alexander Larsson <alexl@redhat.com>
1407 Add g_drive_get_identifier and
1408 g_drive_enumerate_identifiers
1411 Add g_volume_get_identifier and
1412 g_volume_enumerate_identifiers
1418 Implement identifiers for unix backend
1420 2008-01-24 Alexander Larsson <alexl@redhat.com>
1425 Add g_file_copy_async() (#511580)
1426 Based on patch from Carlos Garcia Campos
1428 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1430 * gioscheduler.c: Some documentation additions.
1432 2008-01-22 Alexander Larsson <alexl@redhat.com>
1434 * gdesktopappinfo.c:
1435 (g_desktop_app_info_new):
1436 Don't leak basename.
1438 2008-01-22 Alexander Larsson <alexl@redhat.com>
1440 * gdesktopappinfo.c:
1441 (g_desktop_app_info_new_from_filename):
1444 2008-01-22 Alexander Larsson <alexl@redhat.com>
1446 * glocalfileinfo.c (get_thumbnail_attributes):
1449 2008-01-22 Alexander Larsson <alexl@redhat.com>
1452 (canonicalize_filename):
1453 Canonicalize paths that start with more than
1457 (compare_two_files):
1458 (test_g_file_new_for_path):
1461 2008-01-22 Alexander Larsson <alexl@redhat.com>
1464 Allow UTF-8 in file:// parse names.
1466 * tests/Makefile.am:
1467 * tests/data-input-stream.c:
1468 * tests/data-output-stream.c:
1469 * tests/g-file-info.c:
1471 Added a bunch of tests from Tomas Bzatek
1473 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1475 * === Released 2.15.3 ===
1477 2008-01-21 Alexander Larsson <alexl@redhat.com>
1479 * gfileinputstream.[ch]:
1480 * gfileoutputstream.[ch]:
1482 Remove duplicated GSeekable functions. (#509990)
1483 Just use the g_seekable_xxx() calls instead.
1485 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1488 * gvolumemanager.c: Whitespace cleanups.
1490 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1491 Use the right mode when creating the file.
1493 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1495 * gfileenumerator.c:
1496 * gfileinputstream.c:
1498 * goutputstream.c: Documentation: Fixed minor typos
1499 and added more mentions of specific _finish() functions.
1501 2008-01-21 Alexander Larsson <alexl@redhat.com>
1503 * inotify/Makefile.am:
1504 * inotify/inotify-helper.c:
1505 * inotify/inotify-kernel.c:
1506 * inotify/inotify-path.c:
1507 * inotify/local_inotify.h: Removed.
1508 * inotify/local_inotify_syscalls.h: Removed.
1509 Removed the included copies of the inotify
1510 headers. We now only use the <sys/inotify.h>
1511 header which exists on modern systems.
1512 This fixes problems on ARM and SH5 (#510448)
1513 but is also generally much cleaner and future
1514 safe. For instance, if other OSes add support
1515 for inotify it should "just work".
1517 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1519 * inotify/*.c: Coding style fixes.
1520 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1521 for the 1/4 Hz timer.
1523 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1526 * gfilemonitor.[hc]:
1527 * gmemoryinputstream.c:
1528 * gmemoryoutputstream.c:
1529 * gmountoperation.c:
1530 * gthemedicon.c: Documentation updates
1532 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1534 * gfile.c: documentation: Fixed more minor
1537 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1539 * gmount.c: (g_mount_remount): documentation:
1540 Mention g_mount_remount_finish() instead of
1541 g_mount_unmount_finish().
1543 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1547 * gfile.c: Fixed some minor typos in the
1550 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1552 * gio/gvolumemonitor.c:
1553 (g_volume_monitor_get_connected_drives):
1554 (g_volume_monitor_get_volumes):
1555 (g_volume_monitor_get_mounts): Documentation:
1556 Clarify the ownership of the regurn GLists.
1558 2008-01-17 Alexander Larsson <alexl@redhat.com>
1561 Add the async find_enclosing_mount version
1562 to the header file too.
1564 2008-01-17 Alexander Larsson <alexl@redhat.com>
1567 Add async version of find_enclosing_mount
1568 with default implementation.
1570 2008-01-17 Alexander Larsson <alexl@redhat.com>
1575 Allow calls to implementation of copy and write
1576 even if the type of the file implementations is
1577 different. This can be used to implement native
1578 upload and download calls in a vfs.
1581 (g_local_file_move):
1582 Protect against the case where move is called
1583 with one file not being local.
1585 Make sure we call the progress callback once
1586 in the native move operation so that the caller
1587 knows how many bytes were copied.
1589 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1592 * gdatainputstream.c:
1594 * gfileoutputstream.c:
1599 * gunixmounts.c: Corrected some typos in the documentation:
1600 occured -> occurred.
1601 its -> it's (where appropriate).
1603 2008-01-16 Alexander Larsson <alexl@redhat.com>
1607 Add g_file_query_exists (#508771)
1609 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1614 * gvolume.c: For async functions that have no non-async
1615 version, document that the GAsyncReadyCallback may be NULL.
1618 2008-01-15 Alexander Larsson <alexl@redhat.com>
1620 * gmemoryinputstream.c:
1621 * gmemoryoutputstream.c:
1622 Don't do pointer arithmetic on void * (#508602)
1623 Patch from Kazuki IWAMOTO
1625 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1627 * === Released 2.15.2 ===
1629 2008-01-14 Alexander Larsson <alexl@redhat.com>
1631 * gfile.c (g_file_monitor_file):
1632 Don't set error here, since we fallback to polling monitor.
1634 2008-01-14 Alexander Larsson <alexl@redhat.com>
1637 (g_file_monitor_directory):
1638 (g_file_monitor_file):
1639 Add GError to file monitor calls
1641 * glocaldirectorymonitor.c:
1642 * glocaldirectorymonitor.h:
1644 * glocalfilemonitor.c:
1645 * glocalfilemonitor.h:
1647 Update for above change
1649 2008-01-14 Alexander Larsson <alexl@redhat.com>
1653 Handle root correctly in g_file_get_relative_path (#508719)
1655 2008-01-14 Alexander Larsson <alexl@redhat.com>
1658 Clean up docs and example for GAsyncResult (#508074)
1660 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1662 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1663 and correct some spelling mistakes. Bug #508108.
1665 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1667 * glocalfileinfo.c: Add a comment.
1669 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1671 * gfileinfo.c: GFileInfo description: Mention
1672 how to actually set attributes in a GFile and how to discover
1673 which attributes are settable. Bug #508378.
1675 2008-01-10 A. Walton <awalton@svn.gnome.org>
1677 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1678 (g_app_info_get_default_for_type):
1679 Check for NULL content types.
1681 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1683 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1685 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1687 * gfile.c: *_async() functions: Several small corrections
1688 to the documentation, mostly correcting copy/paste errors
1689 and improving some sentences.
1691 2008-01-09 Dan Winship <danw@gnome.org>
1693 * glocalfile.c (get_unique_filename): x86_64 fix
1695 2008-01-09 Alexander Larsson <alexl@redhat.com>
1700 Add g_unix_mount_guess_should_display and use
1701 for unix volume monitor backend.
1702 This means we more or less show what the
1703 gnome-vfs backend did.
1704 Based on patch from Padraig O'Briain
1706 2008-01-09 Alexander Larsson <alexl@redhat.com>
1710 Add g_themed_icon_new_with_default_fallbacks
1713 Use default fallbacks for icons
1715 2008-01-09 Alexander Larsson <alexl@redhat.com>
1718 * gmountoperation.[ch]:
1719 Change the API a bit so that unhandled methods
1720 get reported via the reply, rather than by
1721 the signal emission return value. This is because
1722 some handlers can't know this immediately without
1723 doing I/O, and this is an async operation that
1726 2008-01-09 Alexander Larsson <alexl@redhat.com>
1729 * fam/gfamdirectorymonitor.c:
1730 * fam/gfamfilemonitor.c:
1731 Fix double free crash (#508224)
1732 Patch from Joe Marcus Clarke
1734 008-01-07 Matthias Clasen <mclasen@redhat.com>
1736 * === Released 2.15.1 ===
1738 2008-01-07 Alexander Larsson <alexl@redhat.com>
1740 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1741 Fix warning (#507835)
1743 2008-01-07 Alexander Larsson <alexl@redhat.com>
1746 Pass --internal to glib-genmarshal
1749 * gmountoperation.c:
1751 Use better types for signal arguments (#507822)
1753 2008-01-07 Alexander Larsson <alexl@redhat.com>
1756 Build test subdir after .
1757 Remove gdirectorymonitor.[ch]
1759 * gdirectorymonitor.[ch]:
1763 Remove GDirectoryMonitor and make
1764 GFileMonitor the baseclass for both file and
1765 directory monitors. Lift the more generic
1766 rate limiting code from GDirectoryMonitor
1770 * fam/gfamdirectorymonitor.[ch]:
1771 * inotify/ginotifydirectorymonitor.[ch]:
1772 * inotify/inotify-helper.c:
1773 * glocaldirectorymonitor.[ch]:
1776 Update for the removed GDirectoryMonitor.
1778 * gmemoryoutputstream.c:
1779 Remove ununsed variable
1781 2008-01-07 Alexander Larsson <alexl@redhat.com>
1783 * gmemoryinputstream.c:
1784 Translate error strings
1787 * gmemoryoutputstream.[ch]:
1788 New implementation that avoids using GByteArray
1789 in implementation and API. (#506377)
1791 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1793 * tests/*: Add a test for memory input streams.
1795 * Makefile.am: Add tests to SUBDIRS.
1797 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1799 * glocalfilemonitor.c:
1800 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1803 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1805 * gdesktopappinfo.c: Fix a docs typo.
1807 * gfileattribute.c: Add information about extended attributes
1808 to the documentation. (#505058)
1810 2008-01-04 Alexander Larsson <alexl@redhat.com>
1813 * gmountoperation.c:
1814 Use the right type (uint) for the ask_password signal.
1816 2008-01-04 Alexander Larsson <alexl@redhat.com>
1821 Add g_app_info_supports_files()
1822 Remove desktop arg from g_app_info_should_show().
1824 * gdesktopappinfo.[ch]:
1825 Implement g_app_info_supports_files() and new should_show()
1826 Add g_desktop_app_info_set_desktop_env() to set the desktop
1827 for should_show(). (This will be set by gtk+ later)
1829 2008-01-04 Alexander Larsson <alexl@redhat.com>
1832 * gmemoryinputstream.[ch]:
1833 Improve API so that you can use multiple chunks
1834 of memory and custom destroy functions. (#506374)
1836 2008-01-03 Alexander Larsson <alexl@redhat.com>
1839 Handle NULL attribute matchers safely, as we return this
1840 for empty attribute matcher strings.
1842 2008-01-03 Alexander Larsson <alexl@redhat.com>
1844 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1845 Add /usr/local to list of internal mountpoints
1847 2008-01-03 Alexander Larsson <alexl@redhat.com>
1850 Check for HAVE_LCHOWN (#505887)
1852 2008-01-03 Alexander Larsson <alexl@redhat.com>
1856 Add define for selinux context attribute.
1857 Fix missing : -> :: namespace separator change
1858 Fix missing _ -> - name change for xattr-sys.
1861 2008-01-03 Alexander Larsson <alexl@redhat.com>
1864 Link to libglib and libgobject directly (#504879)
1865 Patch from Sebastien Bacher
1867 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1869 * gfile.c: Expanded the g_file_new_for_commandline_arg
1870 description a bit, based on the code and the docs of the
1871 other g_file_new_for_* functions.
1873 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1875 * gfilemonitor.h: Fixed typo in docs.
1877 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1879 Updates to GIO documentation. (#506395, Mikael Hermansson)
1881 * gcontenttype.c: Describe memory management for return value of
1882 g_content_types_get_registered(). Missing piece from #505815.
1883 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1884 GVolume, GDrive, GMounts, which hopefully gives the user less
1885 confusions when using this API. Following explainations from
1886 Alexander Larsson on gtk-devel-list.
1888 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1890 * gfileinfo.c: Expand the long description.
1892 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1895 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1896 fix builds with --disable-visibility. (#500273, Christian Persch)
1898 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1900 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1901 in the list of returned app infos.
1903 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1905 * gappinfo.c: Fix a cross-reference
1907 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1909 * gfileinputstream.c:
1910 * gfileoutputstream.c:
1914 * gdesktopappinfo.c:
1916 * gfileinfo.c: Documentation updates.
1918 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1920 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1923 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1925 * gcontenttype.c (g_content_types_get_registered): Don't return
1926 freed memory (#505815, Mikael Hermansson)
1928 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1930 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1931 used to detect statbuf->st_blocks. (#505042)
1933 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1935 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1936 environment handling. (#504829, Cosimo Cecchi)
1938 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1940 * gappinfo.c: Doc improvements
1942 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1945 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1947 * === Released 2.15.0 ===
1949 2007-12-20 Hans Breuer <hans@breuer.org>
1951 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1952 with symbols gwin32appinfo.obj, added gmount.obj
1953 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1955 2007-12-20 Alexander Larsson <alexl@redhat.com>
1961 * gfilenamecompleter.c:
1964 * gpollfilemonitor.c:
1965 File attribute renames:
1967 fs:: -> filesystem::
1968 id::fs -> id::filesystem
1970 2007-12-20 Alexander Larsson <alexl@redhat.com>
1979 Add GMountUnmountFlags to all unmount and
1981 Add g_mount_remount() call.
1983 2007-12-20 Alexander Larsson <alexl@redhat.com>
1985 * gvfs.c (get_default_vfs):
1986 Fix unused variable warning
1988 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1990 * pltcheck.sh: Update
1992 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1994 * gunionvolumemonitor.c:
1995 * gunixmount.c: Remove C99 comments
1997 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1999 * gio.symbols: Add some missing symbols
2001 2007-12-19 Alexander Larsson <alexl@redhat.com>
2004 Make g_io_modules_load_all_in_directory not unuse
2005 loaded modules so that users of it can do stuff
2007 Init internal "module" types.
2008 Initialize static prio and name for types so that
2009 we don't have to load modules to get it.
2011 * gnativevolumemonitor.h:
2013 Move is_supported to parent class so that
2014 non-native monitors can avoid being initialized
2015 too. (For instance GDaemonVolumeMonitor if we're
2016 not using GDaemonVfs.)
2018 * glocaldirectorymonitor.[ch]:
2019 * glocalfilemonitor.[ch]:
2020 * gunionvolumemonitor.c:
2021 * gunixvolumemonitor.c:
2023 Find plugins using the static prio+name to
2024 avoid unnecessarily loading the modules.
2026 2007-12-19 Alexander Larsson <alexl@redhat.com>
2031 2007-12-19 Alexander Larsson <alexl@redhat.com>
2033 * gunionvolumemonitor.c:
2034 Store the native type as GType, not class so that
2035 we can unload it. But still avoid unnecessarily
2038 2007-12-19 David Zeuthen <davidz@redhat.com>
2040 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2041 add signals 'disconnected' and 'eject-button' on GDrive. Add
2042 signal 'removed' on GVolume and 'unmounted' on GMount.
2044 * gdrive.c: (g_drive_base_init):
2046 * gfile.c: (g_file_mount_mountable),
2047 (g_file_mount_enclosing_volume):
2050 * gmount.c: (g_mount_base_init):
2052 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2053 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2054 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2058 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2060 * *.c: Fix up includes in the section docs.
2062 2007-12-17 Alexander Larsson <alexl@redhat.com>
2064 * gnativevolumemonitor.h:
2065 * gunionvolumemonitor.c:
2066 * gunixvolumemonitor.c:
2067 Add is_supported() to GNativeVolumeMonitorClass so
2068 that we can avoid having to create an object to see
2069 if the backend is supported at runtime.
2070 Also add name member and an env var to pick a specific
2071 volume monitor backend.
2075 Add cancellable to _g_mount_get_for_mount_path()
2077 * glocaldirectorymonitor.c:
2078 * glocalfilemonitor.c:
2079 Avoid loading and unloading modules while sorting.
2081 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2084 * gunixmounts.[hc]: Namespace waste reduction, move some
2085 g_get_unix_mount functions to the g_unix_mount namespace.
2088 * gunixvolumemonitor.c:
2090 * glocaldirectorymonitor.c: Update all callers.
2092 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2094 2007-12-17 Alexander Larsson <alexl@redhat.com>
2097 Add doc comments about what GFile operations are
2098 guaranteed to not block.
2100 2007-12-17 Alexander Larsson <alexl@redhat.com>
2103 Add missing #ifdef fixing OSX build.
2104 (#503334, patch from Richard Hult)
2106 2007-12-14 David Zeuthen <davidz@redhat.com>
2110 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2111 (g_mount_eject), (g_mount_eject_finish):
2113 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2114 (get_volume_for_uuid), (get_mount_for_uuid),
2115 (g_union_volume_monitor_class_init),
2116 (get_default_native_type_with_exclude), (get_default_native_type),
2117 (get_native_type), (update_native_type),
2118 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2119 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2120 (g_unix_mount_can_eject), (eject_unmount_cb),
2121 (eject_unmount_read_error), (eject_unmount_do),
2122 (g_unix_mount_unmount), (g_unix_mount_eject),
2123 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2124 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2125 (g_unix_mount_point_guess_can_eject):
2127 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2128 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2129 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2130 (g_unix_volume_mount), (g_unix_volume_eject),
2131 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2132 * gunixvolumemonitor.c: (get_volume_for_uuid),
2133 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2135 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2136 (g_volume_eject), (g_volume_eject_finish):
2138 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2139 (g_volume_monitor_get_mount_for_uuid):
2142 Provide eject() on both GMount and GVolume and utility functions
2143 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2144 ejected. Introduce the concept of UUID's and wire it into GVolume
2145 and GMount and provide API on GVolumeMonitor to find such
2146 instances. Also handle the case where an external
2147 GNativeVolumeMonitor fails to initialize. Lock around the
2148 _g_get_mount_for_mount_path() function such that volume monitor
2149 implementations won't have to do locking themselves.
2151 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2153 * gdesktopappinfo.c:
2159 * gvolume.h: Documentation updates
2161 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2164 * gfile.h: Doc updates
2166 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2169 * gdesktopappinfo.c: Use hash table iterators.
2171 2007-12-14 Alexander Larsson <alexl@redhat.com>
2174 * gfileattribute.[ch]:
2175 * gfileattribute-priv.h:
2176 Move GFileAttributeValue to a private header, as
2180 Make set_attribute take a type + a pointer instead
2181 of a GFileAttributeValue.
2184 Fix up for above changes.
2185 Add g_file_info_get_attribute_data to get
2186 all info in one call, g_file_info_get_attribute_status
2187 to get the status and g_file_info_get_attribute_as_string.
2191 * glocalfileinfo.[ch]:
2195 Make _guess_type static.
2197 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2200 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2201 made mkenums and friends use temporary files to avoid leaving
2202 empty generated files on failure (#503470).
2204 2007-12-14 Alexander Larsson <alexl@redhat.com>
2206 * gmountoperation.h:
2209 2007-12-14 Alexander Larsson <alexl@redhat.com>
2213 * gfileattribute.[ch]:
2216 * glocalfileoutputstream.c:
2217 * gmountoperation.[ch]:
2218 * goutputstream.[ch]:
2219 Clean up all flags enums to not have _FLAGS in them
2220 Make the names of some of the enums better.
2225 2007-12-14 Michael Natterer <mitch@imendio.com>
2227 * gio.symbols: fix g_io_scheduler symbol names.
2229 2007-12-14 Alexander Larsson <alexl@redhat.com>
2235 * gbufferedinputstream.h:
2236 * gbufferedoutputstream.h:
2239 * gdatainputstream.h:
2240 * gdataoutputstream.h:
2241 * gdesktopappinfo.h:
2242 * gdirectorymonitor.h:
2246 * gfileenumerator.h:
2249 * gfileinputstream.h:
2251 * gfilenamecompleter.h:
2252 * gfileoutputstream.h:
2253 * gfilterinputstream.h:
2254 * gfilteroutputstream.h:
2262 * gmemoryinputstream.h:
2263 * gmemoryoutputstream.h:
2265 * gmountoperation.h:
2268 * gsimpleasyncresult.h:
2270 * gunixinputstream.h:
2272 * gunixoutputstream.h:
2276 * inotify/Makefile.am:
2277 Only allow including <gio/gio.h> from apps
2279 2007-12-14 Alexander Larsson <alexl@redhat.com>
2281 * gioscheduler.[ch]:
2282 * gsimpleasyncresult.c:
2283 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2284 Split out the send_to_mainloop call into two versions instead
2285 of having the block argument.
2287 2007-12-13 Alexander Larsson <alexl@redhat.com>
2289 * gcancellable.[ch]:
2291 * gbufferedinputstream.c:
2292 * gfileenumerator.c:
2293 * gfileinputstream.c:
2294 * gfileoutputstream.c:
2298 g_push/pop_current_cancellable ->
2299 g_cancellable_push/pop_current
2301 2007-12-13 Alexander Larsson <alexl@redhat.com>
2305 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2307 2007-12-13 Alexander Larsson <alexl@redhat.com>
2309 * gmountoperation.h:
2310 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2312 2007-12-12 Alexander Larsson <alexl@redhat.com>
2315 Fix race condition when freeing proxy in
2316 g_io_job_send_to_mainloop().
2318 2007-12-12 Alexander Larsson <alexl@redhat.com>
2324 Make attribute namespace separator "::" instead of ":".
2325 Use - instead of _ as separator in attribute names.
2327 2007-12-12 Alexander Larsson <alexl@redhat.com>
2329 * gbufferedinputstream.h:
2330 * gbufferedoutputstream.h:
2331 * gdatainputstream.h:
2332 * gdataoutputstream.h:
2333 * gdirectorymonitor.h:
2334 * gfileenumerator.h:
2335 * gfileinputstream.h:
2337 * gfileoutputstream.h:
2338 * gfilterinputstream.h:
2339 * gfilteroutputstream.h:
2341 * glocalfileinputstream.h:
2342 * glocalfileoutputstream.h:
2343 * gmemoryinputstream.h:
2344 * gmemoryoutputstream.h:
2345 * gnativevolumemonitor.h:
2347 * gunixinputstream.h:
2348 * gunixoutputstream.h:
2351 s/parent/parent_instance/ in GObjects
2353 2007-12-12 Alexander Larsson <alexl@redhat.com>
2358 No need for padding for interfaces
2360 2007-12-12 Alexander Larsson <alexl@redhat.com>
2364 * gbufferedinputstream.c:
2365 * gbufferedoutputstream.c:
2368 * gdatainputstream.[ch]:
2369 * gdesktopappinfo.c:
2370 * gdirectorymonitor.c:
2372 * gfileattribute.[ch]:
2375 * gfileinputstream.h:
2376 * gfilemonitor.[ch]:
2377 * gfileoutputstream.[ch]:
2378 * gfilterinputstream.h:
2379 * gfilteroutputstream.h:
2382 * gloadableicon.[ch]:
2383 * gmemoryinputstream.c:
2384 * gmountoperation.c:
2386 Fix up a bunch of details in the docs.
2391 2007-12-11 David Zeuthen <davidz@redhat.com>
2393 Rework how volumes, drives and volume monitoring is
2394 done. Previosly the model was
2396 GDrive <1-1> GVolume
2398 where a GDrive instance represented a mount point and a GVolume
2399 instance represented a mounted file system. This patch changes it
2402 GDrive <1-N> GVolume <1-1> GMount
2404 where GMount now serves the purpose of the old GVolume and the new
2405 GVolume serves the purpose of the old GDrive. In addition the new
2406 GDrive interface is used to represent a collection of GVolume
2407 instances (typically partitions) and also contains utility to query
2408 the state of the physical drive the GDrive object represents (such
2409 as checking for media, polling the drive, ejecting the media etc.).
2411 Also implement mounting and unmounting in the Unix volume monitor
2412 backend. A subquent patch will introduce GDrive support for ejection
2416 * gdrive.c: (g_drive_is_media_check_automatic),
2417 (g_drive_is_media_removable), (g_drive_has_media),
2418 (g_drive_can_poll_for_media), (g_drive_eject),
2419 (g_drive_eject_finish), (g_drive_poll_for_media),
2420 (g_drive_poll_for_media_finish):
2422 * gfile.c: (g_file_find_enclosing_mount):
2425 * glocaldirectorymonitor.c:
2426 (g_local_directory_monitor_constructor), (mounts_changed):
2427 * glocalfile.c: (get_mount_info),
2428 (g_local_file_find_enclosing_mount),
2429 (g_local_file_file_iface_init):
2430 * gnativevolumemonitor.h:
2431 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2432 (get_connected_drives), (g_union_volume_monitor_class_init),
2433 (child_volume_added), (child_volume_removed),
2434 (child_volume_changed), (child_mount_added), (child_mount_removed),
2435 (child_mount_pre_unmount), (child_mount_changed),
2436 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2437 (g_union_volume_monitor_remove_monitor),
2438 (_g_mount_get_for_mount_path):
2439 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2440 (guess_system_internal), (_g_get_unix_mounts),
2441 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2442 (g_unix_mount_free), (g_unix_mount_compare),
2443 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2444 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2445 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2446 (type_to_icon), (g_unix_mount_guess_name),
2447 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2448 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2449 (_resolve_symlink), (_resolve_dev_root):
2451 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2452 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2453 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2454 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2455 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2456 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2457 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2458 (g_unix_volume_volume_iface_init):
2460 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2461 (get_mounts), (get_volumes), (get_connected_drives),
2462 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2463 (mountpoints_changed), (mounts_changed),
2464 (g_unix_volume_monitor_init),
2465 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2466 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2467 * gunixvolumemonitor.h:
2468 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2469 (g_volume_mount), (g_volume_mount_finish):
2471 * gvolumemonitor.c: (g_volume_monitor_class_init),
2472 (g_volume_monitor_get_connected_drives),
2473 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2476 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2478 * gmountoperation.h (GPasswordFlags): Close the gap
2480 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2482 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2484 * gdesktopappinfo.[hc]: Remove _-prefixes
2486 2007-12-10 Tor Lillqvist <tml@novell.com>
2488 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2491 2007-12-10 Alexander Larsson <alexl@redhat.com>
2493 * gfile.c (g_file_set_display_name):
2494 Don't hardcode '/' (#502727)
2496 2007-12-09 Hans Breuer <hans@breuer.org>
2498 * makefile.msc : follow lib naming convention
2499 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2500 for user and group name, tested with ../tests/gio-ls
2502 2007-12-09 A. Walton <awalton@svn.gnome.org>
2504 * gdesktopappinfo.c:
2510 * gfileenumerator.c:
2515 * gmemoryinputstream.c:
2516 * gmemoryoutputstream.c:
2518 * gsimpleasyncresult.c:
2519 More documentation cleanup and filling in missing information, bringing
2520 GIO to 99% symbol coverage.
2522 2007-12-08 Hans Breuer <hans@breuer.org>
2524 [gio compiles and links on win32, not sure how much already works]
2525 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2526 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2527 base on win32 API; prefer g_lstat() over lstat(); instead of
2528 localtime_r() use an all GLib implementation on win32;
2529 get_mount_info() still needs a win32 specifc implementation
2530 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2531 win32_get_file_user_info to get owner/group info without uid/gid
2532 * glocalfileinputstream.c : include <io.h> on win32
2533 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2534 definition, use g_win32_ftruncate() for G_OS_WIN32
2535 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2536 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2537 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2538 * makefile.msc : updated
2540 2007-12-07 Alexander Larsson <alexl@redhat.com>
2542 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2543 Avoid warning spew if error == NULL
2545 2007-12-07 Alexander Larsson <alexl@redhat.com>
2548 Update docs wrt etags
2550 2007-12-06 Alexander Larsson <alexl@redhat.com>
2553 Include sys/types.h for dev_t (#501919)
2555 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2559 Make abicheck and pltcheck pass.
2561 2007-12-05 Alexander Larsson <alexl@redhat.com>
2564 * giomodule-priv.h: Added.
2565 * glocaldirectorymonitor.c:
2566 * glocalfilemonitor.c:
2567 * gunionvolumemonitor.c:
2569 Actually add the declaration of _g_io_modules_ensure_loaded
2571 2007-12-05 Alexander Larsson <alexl@redhat.com>
2573 * gdatainputstream.c:
2578 * glocaldirectorymonitor.c:
2579 * glocalfilemonitor.c:
2580 * gunionvolumemonitor.c:
2582 Make g_io_modules_ensure_loaded a private function and
2583 don't pass in the dirname. This means we can do magic
2584 directory finding in the win32 version.
2585 Export the actual load-modules-in-directory code so that
2586 gvfs can reuse that.
2588 2007-12-05 Alexander Larsson <alexl@redhat.com>
2590 * gbufferedinputstream.c:
2591 * gbufferedoutputstream.c:
2594 * gfileenumerator.[ch]:
2595 * gfileinputstream.c:
2596 * gfileoutputstream.[ch]:
2597 * gfilterinputstream.c:
2598 * gfilteroutputstream.c:
2599 * ginputstream.[ch]:
2601 * glocalfileenumerator.c:
2602 * glocalfileinputstream.c:
2603 * glocalfileoutputstream.c:
2604 * gmemoryinputstream.c:
2605 * gmemoryoutputstream.c:
2606 * goutputstream.[ch]:
2609 * gunixinputstream.c:
2610 * gunixoutputstream.c:
2611 Rename all struct members named:
2612 read, write, close, truncate, or mount
2613 to foo_fn, as these are reserved names
2614 and could be defined as macros in libc.
2617 2007-12-04 Alexander Larsson <alexl@redhat.com>
2620 (g_output_stream_close):
2621 Only call flush if non-null.
2623 2007-11-30 Dan Winship <danw@gnome.org>
2625 * ginputstream.c (g_input_stream_set_pending): Make this take a
2626 GError and return a gboolean, and do the "outstanding operation"
2627 check (and the "stream is already closed" check) itself.
2628 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2630 * goutputstream.c (g_output_stream_set_pending)
2631 (g_output_stream_clear_pending): Likewise
2633 * gbufferedinputstream.c:
2634 * gfileinputstream.c:
2635 * gfileoutputstream.c: Update for that
2637 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2638 Like g_simple_async_report_error_in_idle, but takes a GError
2639 rather than building one.
2641 2007-11-30 Dan Winship <danw@gnome.org>
2643 * goutputstream.c: Don't cheat and unset the "pending" flag around
2644 inner calls. Instead, call the class method directly rather than
2645 the wrapper function that checks "pending"
2647 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2649 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2651 2007-12-03 Hans Breuer <hans@breuer.org>
2653 [start of port to win32/msvc]
2654 * gcancellable.c : HAVE_UNIST_H and _pipe()
2655 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2656 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2657 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2659 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2660 * glocalvfs.c : use HAVE_PWD_H
2661 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2662 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2663 * Makefile.am : added to EXTRA_DIST
2665 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2667 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2670 2007-12-03 Alexander Larsson <alexl@redhat.com>
2673 Handle OSX style xattrs API (#500506)
2675 2007-12-03 Alexander Larsson <alexl@redhat.com>
2679 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2681 2007-12-02 A. Walton <awalton@svn.gnome.org>
2685 Documentation accuracy fixes.
2687 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2689 * gioenumtypes.c.template: Fix typo.
2691 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2693 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2695 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2697 * gdirectorymonitor.c:
2698 * gfilemonitor.c: Add properties
2700 * gbufferedoutputstream.c: Don't mark buffer-size property
2703 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2705 * gbufferedoutputstream.c: Add auto-grow property.
2707 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2709 * *.c: Unify the capitalization of section headings.
2711 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2713 * gmountoperation.c: Add properties
2715 * gdatainputstream.c: Turn byte-order and newline-type into
2718 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2720 * gioenumtypes.[hc].template: Templates for enum registration
2722 * Makefile.am: Generate gioenumtypes.[hc]
2724 * gio.h: Include gioenumtypes.h
2726 * gfile.h: Add some explicit nicks.
2728 * gio.symbols: Add new symbols
2730 * pltcheck.sh: Adjust
2732 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2734 * *.c: Explain etags and link to the explanation
2736 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2738 * *.c: Explain I/O priority.
2740 * *.c: More coding style fixes.
2742 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2744 * gasyncresult.c: Add another paragraph to the intro,
2745 adjust coding style of example.
2747 2007-11-29 A. Walton <awalton@svn.gnome.org>
2750 Fixes unknown meaning in GAppLaunchContext docs.
2752 Clarify asynchronous ops.
2754 Fix entity tag docs.
2757 Provides missing gtk-doc section, fixes API docs slighly.
2758 * gsimpleasyncresult.c:
2759 Fill in missing info in docs.
2760 * gunixinputstream.c:
2761 * gunixoutputstream.c:
2762 Be more expressive in short description.
2764 Remove gtk-doc stubs for non-public API.
2766 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2768 * *.c: Coding style fixups
2770 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2772 * inotify/inotify-helper.c: Don't export the lock from libgio.
2774 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2777 * abicheck.sh: Fix copy-and-paste leftovers
2779 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2781 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2783 2007-11-28 Alexander Larsson <alexl@redhat.com>
2787 Removed unnecessary file
2789 * gdesktopappinfo.[ch]:
2792 * glocaldirectorymonitor.[ch]:
2794 * glocalfileenumerator.[ch]:
2795 * glocalfileinputstream.[ch]:
2796 * glocalfilemonitor.[ch]:
2797 * glocalfileoutputstream.[ch]:
2799 * gnativevolumemonitor.c:
2800 * gpollfilemonitor.[ch]:
2801 * gunionvolumemonitor.[ch]:
2804 * gunixvolumemonitor.[ch]:
2807 * inotify/ginotifydirectorymonitor.[ch]:
2808 * inotify/ginotifyfilemonitor.[ch]:
2809 * inotify/inotify-helper.c:
2810 Append _ to all internal functions
2814 Export symbols needed for modules
2816 2007-11-28 Alexander Larsson <alexl@redhat.com>
2819 * abicheck.sh: Added.
2820 * makegioalias.pl: Added.
2821 * pltcheck.sh: Added.
2822 * gio.symbols: Added.
2825 Initial work on adding symbol handling.
2828 Correct ifdef guard name
2831 * inotify/Makefile.am:
2832 * xdgmime/Makefile.am:
2833 Include toplevel Makefile.decl
2835 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2837 * gcontenttype.c: Move doc comments to the unix section.
2839 * *.[hc]: More trivial doc corrections.
2841 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2843 * gpollfilemonitor.c:
2847 * gdesktopappinfo.c:
2852 * gdatainputstream.c:
2853 * gdatainputstream.h:
2854 * gdataoutputstream.c:
2855 * gdataoutputstream.h:
2856 * gfileinfo.h: Doc cleanups
2858 2007-11-28 Andre Klapper <a9016009@gmx.de>
2860 * gdesktopappinfo.c: Fix a typo.
2862 2007-11-27 Andre Klapper <a9016009@gmx.de>
2864 * glocalfileoutputstream.c: Fix a typo.
2866 2007-11-27 Alexander Larsson <alexl@redhat.com>
2869 Don't include removed headers
2871 2007-11-27 Alexander Larsson <alexl@redhat.com>
2874 * gsocketinputstream.[ch]: Removed.
2875 * gsocketoutputstream.[ch]: Removed.
2876 * gunixinputstream.[ch]: Added.
2877 * gunixoutputstream.[ch]: Added.
2878 Renamed GSocket*Stream to GUnix*Stream and made
2879 it unix-only, since its not really only for sockets
2880 and it only works on unix (but is highly useful there).
2882 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2888 * gbufferedinputstream.c:
2889 * gbufferedinputstream.h:
2890 * gbufferedoutputstream.c:
2891 * gbufferedoutputstream.h:
2895 * gdatainputstream.c:
2896 * gdatainputstream.h:
2897 * gdataoutputstream.c:
2898 * gdataoutputstream.h:
2899 * gdirectorymonitor.c:
2900 * gdirectorymonitor.h:
2907 * gfileenumerator.c:
2908 * gfileenumerator.h:
2913 * gfileinputstream.c:
2914 * gfileinputstream.h:
2917 * gfilenamecompleter.c:
2918 * gfilenamecompleter.h:
2919 * gfileoutputstream.c:
2920 * gfileoutputstream.h:
2921 * gfilterinputstream.c:
2922 * gfilterinputstream.h:
2923 * gfilteroutputstream.c:
2924 * gfilteroutputstream.h:
2937 * glocalfileoutputstream.c:
2938 * gmemoryinputstream.c:
2939 * gmemoryinputstream.h:
2940 * gmemoryoutputstream.c:
2941 * gmemoryoutputstream.h:
2942 * gmountoperation.c:
2943 * gmountoperation.h:
2946 * gpollfilemonitor.c:
2949 * gsimpleasyncresult.c:
2950 * gsimpleasyncresult.h:
2951 * gsocketinputstream.c:
2952 * gsocketinputstream.h:
2953 * gsocketoutputstream.c:
2954 * gsocketoutputstream.h:
2961 * gunixvolumemonitor.c:
2970 Bumps documentation to 93% symbol coverage, touching most
2971 of the public files. Fixes broken function documentation prototypes.
2972 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2973 gtk-doc headers in private files.
2975 2007-11-27 Jürg Billeter <j@bitron.ch>
2977 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2978 (g_buffered_input_stream_read_byte):
2979 * gbufferedinputstream.h:
2980 New functions for efficient access to buffer and simple single byte
2983 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2984 (g_data_input_stream_read_until):
2985 * gdatainputstream.h:
2986 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2987 read_until with multiple stop chars.
2989 2007-11-27 Alexander Larsson <alexl@redhat.com>
2993 * inotify/Makefile.am:
2994 Use the user-specified giomoduledir
2996 2007-11-27 Alexander Larsson <alexl@redhat.com>
3000 Add catch-all gio.h header
3001 Don't install gdummyfile.h
3003 2007-11-26 Alexander Larsson <alexl@redhat.com>
3005 * Makefile.am (gioinclude_HEADERS):
3006 Remove trailing whitespace
3008 2007-11-26 Alexander Larsson <alexl@redhat.com>
3010 Merge gio-standalone into glib
3012 2007-11-25 Christian Kellner <gicmo@gnome.org>
3014 * gio/goutputstream.c:
3015 Fix small mistake in the docs.
3017 2007-11-21 Christian Persch <chpe@gnome.org>
3019 * gio/glocalfile.c: (g_local_file_trash):
3020 Convert filenames to UTF-8 for GError.
3021 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3022 as per xdg base dir spec.
3024 2007-11-21 Christian Persch <chpe@gnome.org>
3026 * gio/gdesktopappinfo.c:
3027 Use that g_key_file_to_data cannot fail.
3029 Use stock defines for the key file group and key names.
3032 2007-11-21 Alexander Larsson <alexl@redhat.com>
3035 (copy_stream_with_progress):
3036 Make sure we do a final progress callback with
3037 the full total size.
3039 2007-11-21 Alexander Larsson <alexl@redhat.com>
3042 Export g_file_copy_attributes
3043 Remove padding as its not needed for interfaces
3045 2007-11-20 Alexander Larsson <alexl@redhat.com>
3050 Add G_IO_ERROR_WOULD_MERGE for
3051 copy/move dir on dir with overwrite.
3053 2007-11-20 Alexander Larsson <alexl@redhat.com>
3056 * gio/glocalfileinfo.c:
3057 Add COPY_NAME (this is an optional
3058 non-modified utf8 version of the name) that
3061 2007-11-20 Alexander Larsson <alexl@redhat.com>
3063 * gio/glocalfileenumerator.c:
3064 Report errors as GIOError, not GFileError
3066 2007-11-16 Alexander Larsson <alexl@redhat.com>
3068 * gio/glocalfileoutputstream.c:
3069 * gio/gwin32appinfo.c:
3070 Fix typos in strings.
3071 Patch from Luca Ferretti <elle.uca@libero.it>
3073 2007-11-15 Alexander Larsson <alexl@redhat.com>
3076 Post release version bump
3078 === gio-standalone 0.1.2 ===
3080 2007-11-15 Alexander Larsson <alexl@redhat.com>
3082 * docs/reference/gio/Makefile.am:
3083 Fix up distcheck by removing weird
3089 2007-11-14 Alexander Larsson <alexl@redhat.com>
3091 * gio/gdesktopappinfo.c:
3092 * gio/glocaldirectorymonitor.c:
3094 * gio/glocalfileinfo.c:
3095 * gio/inotify/inotify-sub.c:
3096 * programs/gio-cat.c:
3097 * programs/gio-copy.c:
3098 * programs/gio-info.c:
3099 * programs/gio-ls.c:
3100 * programs/gio-monitor-dir.c:
3101 * programs/gio-monitor-file.c:
3102 * programs/gio-mount.c:
3103 * programs/gio-move.c:
3104 * programs/gio-rm.c:
3105 * programs/gio-save.c:
3106 * programs/gio-trash.c:
3107 Leak fixes from Kjartan Maraas
3109 2007-11-14 Alexander Larsson <alexl@redhat.com>
3111 * gio/fam/fam-helper.c:
3113 * gio/glocalfileinfo.c:
3117 * gio/inotify/inotify-diag.c:
3118 * gio/inotify/inotify-kernel.c:
3119 Various code cleanups from Kjartan Maraas
3121 2007-11-14 Alexander Larsson <alexl@redhat.com>
3123 * gio/gioscheduler.c:
3125 Set up threadpool so that we cache 2 unused
3126 idle threads for at 15 secs. This means we
3127 will reuse thread-local data (like dbus connections)
3130 2007-11-14 Alexander Larsson <alexl@redhat.com>
3132 * gio/fam/fam-helper.c:
3133 * gio/fam/gfamdirectorymonitor.c:
3134 * gio/fam/gfamfilemonitor.c:
3136 * gio/gcontenttype.c:
3137 * gio/gdatainputstream.c:
3138 * gio/gdataoutputstream.c:
3142 * gio/gfileattribute.h:
3143 * gio/gfileenumerator.c:
3145 * gio/ginputstream.c:
3148 * gio/glocalfileinfo.c:
3149 * gio/goutputstream.c:
3150 * gio/gpollfilemonitor.c:
3151 * gio/gsimpleasyncresult.c:
3152 * gio/gunixmounts.c:
3153 * gio/gunixmounts.h:
3154 * gio/inotify/ginotifydirectorymonitor.c:
3155 * gio/inotify/ginotifyfilemonitor.c:
3156 * gio/inotify/inotify-diag.c:
3157 * gio/inotify/inotify-kernel.c:
3158 * gio/inotify/inotify-path.c:
3160 * gio/test-streams.c:
3161 * programs/gio-info.c:
3162 * programs/gio-monitor-dir.c:
3163 * programs/gio-monitor-file.c:
3164 Various code cleanups from Kjartan Maraas
3166 2007-11-13 Alexander Larsson <alexl@redhat.com>
3169 Handle the uri-scheme calls for dummy files
3171 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3173 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3174 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3175 to avoid clash with the C++ keyword.
3177 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3179 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3180 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3182 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3184 * gio/glocaldirectorymonitor.c:
3185 * gio/glocalfilemonitor.c:
3186 * gio/gunionvolumemonitor.c:
3187 Don't use g_once_init_*() for initializations that could fail and
3188 could leave the initialization variable set to 0 but use GOnce.
3189 This prevents a deadlock on the second call when trying to create
3190 a monitor and no monitor type is available. Thanks to Sven Herzberg
3193 2007-11-11 Sven Herzberg <sven@imendio.com>
3195 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3196 #ifdef (make it work on MacOS X again)
3198 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3200 Fixes Changelog for last two commits (sorry guys).
3202 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3204 * gio/gbufferedinputstream.c:
3205 * gio/gdatainputstream.c:
3207 * gio/gfileoutputstream.c:
3208 * gio/gfilterinputstream.c:
3209 * gio/glocalfileinputstream.c:
3212 More consistency fixes in g*stream.c files.
3213 Significant clean of gfile's documentation, filling in of
3214 asynchronous operations documentation.
3216 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3218 * gio/gasyncresult.c:
3219 * gio/gbufferedinputstream.c:
3220 * gio/gbufferedoutputstream.c:
3221 * gio/gcancellable.c:
3222 * gio/gcontenttype.c:
3223 * gio/gdatainputstream.c:
3224 * gio/gdataoutputstream.c:
3225 * gio/gdesktopappinfo.c:
3228 * gio/gfileattribute.c:
3229 * gio/gio/gfileenumerator.c:
3231 * gio/gfileinputstream.c:
3232 * gio/gfilemonitor.c:
3233 * gio/gfileoutputstream.c:
3234 * gio/ginputstream.c:
3236 * gio/gioscheduler.c:
3237 * gio/gloadableicon.c:
3238 * gio/glocalfileoutputstream.c:
3239 * gio/gmemoryoutputstream.c:
3240 * gio/gmountoperation.c:
3241 * gio/goutputstream.c:
3243 * gio/gsimpleasyncresult.c:
3244 * gio/gunionvolumemonitor.c:
3245 * gio/gunixmounts.c:
3246 * gio/gunixvolume.c:
3250 * gio/gvolumemonitor.c:
3251 Updated documentation stubs, working towards consistency and
3254 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3256 * gio/gmemoryoutputstream.c:
3257 * gio/gmemoryoutputstream.h:
3258 Change g_memory_output_stream_set_free_on_close() to
3259 g_memory_output_stream_set_free_data() as this makes more sense and
3260 is more consistent with GMemoryInputStream.
3262 2007-11-07 Alexander Larsson <alexl@redhat.com>
3269 Change how we find the default vfs so that
3270 we can handle a gvfs failing to init
3272 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3274 * gio/gbufferedoutputstream.c:
3275 * gio/gdatainputstream.c:
3276 * gio/gdataoutputstream.c:
3277 * gio/gfileinputstream.c:
3278 * gio/gfileoutputstream.c:
3279 * gio/gfilterinputstream.c:
3280 * gio/gfilteroutputstream.c:
3281 * gio/ginputstream.c:
3282 * gio/gmemoryinputstream.c:
3283 * gio/gmemoryoutputstream.c:
3284 * gio/goutputstream.c:
3285 * gio/gsimpleasyncresult.c:
3286 * gio/gsocketinputstream.c:
3287 * gio/gsocketoutputstream.c:
3288 Add guards to the remaining public functions, add a TODO for
3289 an unimplemented function and remove some useless guards.
3291 2007-11-07 Alexander Larsson <alexl@redhat.com>
3294 Autoconf checks for the various types of
3295 getpwuid_r and getgrgid_r
3297 * gio/glocalfileinfo.c:
3298 Use the autoconf checks from above
3300 2007-11-07 Alexander Larsson <alexl@redhat.com>
3303 (g_local_file_query_filesystem_info):
3304 Some fixes for the statvfs case
3306 2007-11-07 Alexander Larsson <alexl@redhat.com>
3309 (g_local_file_query_filesystem_info):
3310 Pick the "best" of statfs / statvfs for the system
3311 if both are availible.
3313 2007-11-07 Alexander Larsson <alexl@redhat.com>
3315 Solaris fixes from Halton.Huo@Sun.COM:
3322 * gio/glocalfileinfo.c:
3323 Fix for solaris definition of getpwuid_r
3325 * gio/test-streams.c:
3326 Use G_GNUC_PRETTY_FUNCTION
3328 2007-11-07 Alexander Larsson <alexl@redhat.com>
3330 * gio/gdesktopappinfo.c:
3331 (update_default_list):
3332 Remove double semicolon.
3333 Patch from Jens Granseuer
3335 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3337 * docs/reference/gio/gio-sections.txt:
3338 * gio/gbufferedinputstream.c:
3339 * gio/gbufferedinputstream.h:
3340 * gio/gdatainputstream.c:
3341 * gio/gfileenumerator.c:
3342 * gio/gioscheduler.c:
3343 * gio/gunionvolumemonitor.c:
3345 * programs/gio-save.c:
3346 Fix typo: availible -> available. Unfortuntely this breaks API
3347 and ABI as g_buffered_input_stream_get_available() was renamed.
3349 * gio/gunixmounts.c:
3350 * gio/gbufferedinputstream.c:
3351 Add guards for public functions.
3353 2007-11-06 Ross Burton <ross@openedhand.com>
3355 * docs/reference/gio/Makefile.am:
3356 Fix invalid += usage which automake 1.10 doesn't like.
3358 2007-11-06 Alexander Larsson <alexl@redhat.com>
3361 (g_app_launch_context_class_init):
3364 Patch from Ross Burton
3366 2007-11-06 Alexander Larsson <alexl@redhat.com>
3369 Post release version bump
3371 === gio-standalone 0.1.1 ===
3373 2007-11-06 Alexander Larsson <alexl@redhat.com>
3376 Bump version to 0.1.1
3378 * gio/gsimpleasyncresult.c:
3379 (g_simple_async_result_set_from_error):
3380 Remove bogus g_return_if_fail
3382 2007-11-06 Alexander Larsson <alexl@redhat.com>
3385 The name is gio-standalone
3388 Add top src/builddir to includedir
3390 2007-11-06 Alexander Larsson <alexl@redhat.com>
3392 * docs/reference/gio/gio-sections.txt:
3394 * gio/gbufferedinputstream.c:
3395 * gio/gbufferedoutputstream.c:
3396 * gio/gcancellable.c:
3397 * gio/gdatainputstream.h:
3398 * gio/gdataoutputstream.c:
3399 * gio/gdataoutputstream.h:
3400 * gio/gdirectorymonitor.c:
3402 * gio/gfileattribute.c:
3403 * gio/gfileattribute.h:
3404 * gio/gfileenumerator.c:
3405 * gio/gfileenumerator.h:
3408 * gio/gfileinputstream.h:
3409 * gio/gfilemonitor.c:
3410 * gio/gfileoutputstream.h:
3411 * gio/glocalfilemonitor.h:
3412 * gio/glocalfileoutputstream.h:
3413 * gio/gmemoryinputstream.c:
3414 * gio/gmemoryoutputstream.c:
3415 * gio/gmountoperation.c:
3416 * gio/goutputstream.c:
3417 * gio/goutputstream.h:
3419 * gio/gsimpleasyncresult.c:
3420 * gio/gunixmounts.c:
3421 * gio/gunixmounts.h:
3423 * gio/inotify/inotify-helper.c:
3424 Fix gtk-doc warnings
3426 Patch from Ross Burton
3428 2007-11-06 Alexander Larsson <alexl@redhat.com>
3430 * gio/gfilenamecompleter.c:
3431 (g_filename_completer_get_completions):
3434 * gio/gunixvolume.c:
3435 Remove unused function
3437 Patches from Ross Burton
3439 2007-11-06 Alexander Larsson <alexl@redhat.com>
3444 Padding not needed for interfaces
3446 2007-11-06 Alexander Larsson <alexl@redhat.com>
3448 * gio/gfilemonitor.c:
3452 Make giotypes.h an internal file
3455 * gio/gbufferedinputstream.h:
3456 * gio/gbufferedoutputstream.h:
3457 * gio/gcancellable.h:
3458 * gio/gdatainputstream.h:
3459 * gio/gdataoutputstream.h:
3460 * gio/gdirectorymonitor.c:
3461 * gio/gdirectorymonitor.h:
3466 * gio/gfileattribute.h:
3467 * gio/gfileenumerator.h:
3472 * gio/gfilemonitor.c:
3473 * gio/gfilemonitor.h:
3474 * gio/gfilenamecompleter.c:
3475 * gio/gfilenamecompleter.h:
3476 * gio/gfilterinputstream.h:
3477 * gio/gfilteroutputstream.h:
3478 * gio/ginputstream.h:
3479 * gio/gmemoryinputstream.h:
3480 * gio/gmemoryoutputstream.h:
3481 * gio/gmountoperation.c:
3482 * gio/gmountoperation.h:
3483 * gio/gnativevolumemonitor.c:
3484 * gio/goutputstream.h:
3487 * gio/gsimpleasyncresult.c:
3488 * gio/gsimpleasyncresult.h:
3489 * gio/gsocketinputstream.h:
3490 * gio/gsocketoutputstream.h:
3491 * gio/gthemedicon.c:
3492 * gio/gthemedicon.h:
3496 * gio/gvolumemonitor.c:
3497 * gio/gvolumemonitor.h:
3498 Add padding in classes where it seems useful
3499 Don't include giotypes.h from public headers
3500 Move in Class definitions into c file where possible
3505 2007-11-06 Alexander Larsson <alexl@redhat.com>
3507 * docs/reference/gio/gio-docs.xml:
3508 Better structure for API docs
3510 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3513 * gio/gloadableicon.c:
3514 * gio/gsimpleasyncresult.c:
3515 * gio/gthemedicon.c:
3516 Add some more guards to public functions. Only files missing are now
3519 2007-11-06 Alexander Larsson <alexl@redhat.com>
3521 * docs/reference/gio/gio-docs.xml:
3522 Remove old files, add missing ones
3524 2007-11-06 Alexander Larsson <alexl@redhat.com>
3526 * docs/reference/gio/gio-sections.txt:
3529 Hide implementation classes
3531 * gio/gdriveprivate.h:
3532 * gio/gvolumeprivate.h:
3533 Remove non-existing function declarations
3535 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3538 Fix compilation warnings and add guards to the new functions.
3540 * gio/gasyncresult.c:
3542 Add guards to the public functions.
3545 Implement get_path().
3547 2007-11-06 Alexander Larsson <alexl@redhat.com>
3549 * gio/gfilenamecompleter.c:
3550 Make g_filename_completer_get_completions
3551 return char ** instead of GList for
3554 * docs/reference/gio/gio-docs.xml:
3555 * docs/reference/gio/gio-sections.txt:
3557 * gio/gasyncresult.c:
3558 * gio/gbufferedinputstream.c:
3559 * gio/gbufferedoutputstream.c:
3560 * gio/gcancellable.c:
3561 * gio/gcontenttype.c:
3562 * gio/gdatainputstream.c:
3563 * gio/gdataoutputstream.c:
3564 * gio/gdesktopappinfo.c:
3565 * gio/gdirectorymonitor.c:
3569 * gio/gfileattribute.c:
3570 * gio/gfileenumerator.c:
3573 * gio/gfileinputstream.c:
3574 * gio/gfilemonitor.c:
3575 * gio/gfilenamecompleter.c:
3576 * gio/gfilenamecompleter.h:
3577 * gio/gfileoutputstream.c:
3578 * gio/gfilterinputstream.c:
3580 * gio/ginputstream.c:
3582 * gio/gioscheduler.c:
3583 * gio/gloadableicon.c:
3584 * gio/glocaldirectorymonitor.c:
3586 * gio/glocalfileinputstream.c:
3587 * gio/glocalfilemonitor.c:
3588 * gio/glocalfileoutputstream.c:
3590 * gio/gmemoryinputstream.c:
3591 * gio/gmemoryoutputstream.c:
3592 * gio/gmountoperation.c:
3593 * gio/goutputstream.c:
3594 * gio/gpollfilemonitor.c:
3596 * gio/gsimpleasyncresult.c:
3597 * gio/gsocketinputstream.c:
3598 * gio/gsocketoutputstream.c:
3599 * gio/gthemedicon.c:
3600 * gio/gunionvolumemonitor.c:
3602 * gio/gunixmounts.c:
3603 * gio/gunixvolume.c:
3604 * gio/gunixvolumemonitor.c:
3608 * gio/gvolumemonitor.c:
3609 * gio/gwin32appinfo.c:
3610 Add (mostly stub) doc strings to public functions.
3611 Patch from Andrew Walton (awalton@gmail.com)
3613 2007-11-06 Alexander Larsson <alexl@redhat.com>
3615 * gio/gappinfo.[ch]:
3616 Added GAppLaunchContext object and pass that to launch.
3617 This allows simple implementation of both
3618 launch-on-screen and startup notification via a gtk+
3619 subclass of GAppLaunchContext
3621 * gio/gdesktopappinfo.c:
3622 Implement GAppLaunchContext API
3624 * gio/gwin32appinfo.c:
3627 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3629 * gio/gmountoperation.c:
3630 Add some guards to GMountOperation's public functions.
3632 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3636 * gio/gcancellable.c:
3637 * gio/gdirectorymonitor.c:
3639 * gio/gfileenumerator.c:
3640 * gio/gfilemonitor.c:,
3641 * gio/gfilenamecompleter.c:
3644 * gio/gioscheduler.c:
3648 * gio/gvolumemonitor.c:
3649 Add even more guards to various public functions.
3651 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3654 Add guards to the public functions of GAppInfo.
3656 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3658 * gio/gcontenttype.c:
3659 Add some more guards for public functions.
3661 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3663 * gio/fam/fam-module.c:
3664 * gio/fam/gfamdirectorymonitor.c:
3665 * gio/fam/gfamdirectorymonitor.h:
3666 * gio/fam/gfamfilemonitor.c:
3667 * gio/fam/gfamfilemonitor.h:
3668 * gio/inotify/ginotifydirectorymonitor.c:
3669 * gio/inotify/ginotifydirectorymonitor.h:
3670 * gio/inotify/ginotifyfilemonitor.c:
3671 * gio/inotify/ginotifyfilemonitor.h:
3672 Add proper copyright information and remove an unused variable
3673 in the GInotifyFileMonitor constructor.
3675 * gio/gcancellable.c:
3676 Add a guard for a public function and an assertion to prevent
3677 an undefined program state.
3679 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3681 * gio/gfileattribute.c:
3682 Don't run into an assertion if the given attribute value is NULL
3683 in g_file_attribute_value_get_*() but instead return a fallback
3684 value that makes sense in most situations. Passing them a attribute
3685 value with the wrong type will still run into an assertion.
3687 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3689 * gio/gfileattribute.c:
3691 Add even more guards to the public functions. Also fix the refcounting
3692 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3693 let g_file_info_list_attributes() filter the attributes by namespace
3694 instead of simply ignoring the namespace parameter.
3696 2007-11-03 Sven Herzberg <sven@imendio.com>
3698 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3699 (This makes gio work on MacOS X again)
3701 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3704 Build the gio subdirectory before the docs. Otherwise the build will
3707 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3708 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3709 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3710 Add guards to the public functions.
3712 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3714 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3715 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3716 to prevent a compiler warning.
3718 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3719 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3720 return something in the non-void function find_topdir_for().
3722 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3729 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3731 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3732 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3733 * gwin32appinfo.c (g_win32_app_info_launch):
3734 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3735 envp_for_startup_id, g_desktop_app_info_launch,
3736 g_desktop_app_info_launch_uris):
3738 Give an opaque 'startup_id' string instead of 'envp'.
3739 Support empty file lists for launching new windows.
3740 Fix infinite recursion bug when launching URIs.
3742 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3745 Add guard to the new g_file_get_uri_scheme() function.
3747 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3750 Convert a g_return_val_if_fail() to setting the GError instead as
3751 otherwise applications have to verify the parameter before otherwise
3752 and the parameter might come directly from the user.
3754 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3756 * gio/inotify/ginotify*.[ch]:
3757 Add missing copyright information.
3759 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3762 Add guards in the beginning of public functions to check for valid
3763 parameters and fix a bug in copy_stream_with_progress() that could've
3764 caused writing less bytes than reading.
3765 * gio/glocalfileinfo.c:
3766 Check for a NULL parameter and set the GError accordingly then.
3767 * gio/goutputstream.c:
3768 Fix the same bug as in gfile.c that could've caused writing less bytes
3769 than reading in g_output_stream_real_splice().
3771 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3774 Use the correct gvolumeprivate.h naming
3776 2007-11-01 Christian Kellner <gicmo@gnome.org>
3779 Remove leftover "$(daemon_sources)" entry.
3781 2007-11-01 Christian Kellner <gicmo@gnome.org>
3786 Add copyright information to source files.
3788 2007-11-01 Alexander Larsson <alexl@redhat.com>
3792 Add g_file_get_uri_scheme
3794 2007-11-01 Alexander Larsson <alexl@redhat.com>
3797 * gio/gdesktopappinfo.c:
3798 * gio/gwin32appinfo.c:
3799 Add g_app_info_get_default_for_uri_scheme.
3801 2007-11-01 Alexander Larsson <alexl@redhat.com>
3804 Correct filename for gdriveprivate.h
3806 2007-10-31 Alexander Larsson <alexl@redhat.com>
3809 Rename id:value to id:file
3812 * gio/glocalfileinfo.c:
3815 2007-10-31 Alexander Larsson <alexl@redhat.com>
3817 * gio/gunixvolume.c:
3819 Remove g_volume_get_platform_id, as thats not
3820 needed with the simpler union volume monitor
3822 2007-10-31 Alexander Larsson <alexl@redhat.com>
3825 * gio/guniondrive.[ch]: Removed.
3826 * gio/gunionvolume.[ch]: Removed.
3827 Remove GUnionDrive/Volume
3829 * gio/gunionvolumemonitor.c:
3830 Simplify union volume monitor, now we
3831 only have one native volume monitor and
3832 we use the actual volumes/drives from the
3833 child monitors instead of wrapping them
3835 * gio/gnativevolumemonitor.[ch]:
3836 Base class for native volume monitors.
3837 Includes priority and get_volume_for_mountpoint
3840 Add g_file_find_enclosing_volume
3843 Remove volume name fs attribute
3844 Add readonly fs attribute
3847 Implement readonly attribute
3848 remove volume name attribute
3849 Implement find_enclosing volume
3851 * gio/gunixmounts.c:
3852 Add a volume for "/".
3854 * gio/gunixvolume.[ch]:
3855 Set better name for /
3857 * gio/gunixvolumemonitor.[ch]:
3858 Derive from GNativeVolumeMonitor
3859 Implement get_volume_for_mountpoint
3862 GVolume typedef moved to gfile.h
3864 * gio/gvolumeprivate.h:
3865 Add g_volume_get_for_mount_path
3867 2007-10-31 Alexander Larsson <alexl@redhat.com>
3869 * gio/gunixmounts.[ch]:
3870 Add cache info to unix mount listers
3871 Make getmntent use threadsafe
3872 Add is_system_internal attribute for GUnixMount
3874 * gio/gunixvolume.c:
3875 (g_unix_volume_new):
3876 Use is_system_internal instead of own code
3878 * gio/glocaldirectorymonitor.c:
3879 * gio/gunixvolumemonitor.c:
3880 Update to new gunixmounts API
3885 2007-10-30 Alexander Larsson <alexl@redhat.com>
3888 Add volume name fsinfo attribute
3891 Read volume name info
3893 * gio/gunionvolumemonitor.c:
3894 Fix infinite loops when finalizing a union volume monitor
3896 2007-10-30 Alexander Larsson <alexl@redhat.com>
3898 * gio/goutputstream.[ch]:
3899 Add splice() with default implementation
3901 * gio/gsocketoutputstream.c:
3902 (g_socket_output_stream_write):
3903 Return error on cancellation correctly.
3905 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3907 * gio/glocalfile.c (g_local_file_trash):
3908 Do not leak a string.
3910 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3912 * gio/gfile.c (g_file_load_contents):
3913 Unref the stream after closing it.
3915 2007-10-25 Alexander Larsson <alexl@redhat.com>
3917 * gio/gioscheduler.h:
3920 2007-10-25 Alexander Larsson <alexl@redhat.com>
3924 Add g_file_has_uri_scheme and implement for local files
3926 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3928 * gio/gdesktopappinfo.c: do not leak a string.
3930 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3932 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3933 (g_local_directory_monitor_new):
3934 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3935 (g_local_file_monitor_new):
3936 Only look for the monitor type that should be used the first time
3937 and use g_qsort_with_data() instead of our own bubble sort
3940 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3943 * gio/fam/Makefile.am:
3944 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3945 * gio/fam/fam-helper.h:
3946 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3947 * gio/fam/gfamdirectorymonitor.c:
3948 * gio/fam/gfamdirectorymonitor.h:
3949 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3950 * gio/fam/gfamfilemonitor.h:
3951 * gio/glocaldirectorymonitor.c:
3952 * gio/glocaldirectorymonitor.h:
3953 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3954 * gio/glocalfilemonitor.h:
3955 * gio/inotify/Makefile.am:
3956 * gio/inotify/ginotifydirectorymonitor.c:
3957 * gio/inotify/ginotifydirectorymonitor.h:
3958 * gio/inotify/ginotifyfilemonitor.c:
3959 * gio/inotify/ginotifyfilemonitor.h:
3960 Implement the FAM and Inotify monitors as
3961 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3962 their own GIO module. GLocal(Directory|File)Monitor will use the
3963 monitor with the highest rank that is supported on that machine.
3965 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3968 Change GIO module dir to $(libdir)/gio/modules and change
3969 the log domain from GVFS to GIO. Also only export symbols starting
3970 with g_ in the resulting library.
3971 * gio/test-streams.c: (main):
3972 Set log handler for the GIO log domain.
3974 2007-10-22 Alexander Larsson <alexl@redhat.com>
3976 * gio/gfilenamecompleter.[ch]:
3977 Add g_filename_completer_set_dirs_only
3979 2007-10-22 Alexander Larsson <alexl@redhat.com>
3982 * gio/gurifuncs.[ch]:
3983 Add some simple URI helpers
3985 * gio/gfilenamecompleter.[ch]:
3986 Added object for filename (parse name actually) completion
3989 Handle ~ in parse names
3991 2007-10-17 Alexander Larsson <alexl@redhat.com>
3994 * gio/glocalfileinfo.c:
3995 Add and implement id:value attribute
3997 2007-10-17 Alexander Larsson <alexl@redhat.com>
4000 * gio/guniondrive.c:
4002 Add and implement g_drive_has_volumes
4004 2007-10-17 Alexander Larsson <alexl@redhat.com>
4007 * gio/glocalfileinfo.[ch]:
4008 Add unix:is_mountpoint and implement for local files
4010 2007-10-16 Alexander Larsson <alexl@redhat.com>
4012 * gio/gunionvolumemonitor.c:
4013 (g_union_volume_monitor_init):
4014 Fix up the unix type getting so that it works with gcc
4016 2007-10-12 Alexander Larsson <alexl@redhat.com>
4019 * gio/glocalfileinfo.c:
4020 Add thumbnail:failed to file info
4022 2007-10-12 Richard Hult <richard@imendio.com>
4024 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4025 optimizing away the get_type call (happens with some gcc versions,
4026 like the one shipped with OS X 10.4).
4028 2007-10-12 Alexander Larsson <alexl@redhat.com>
4030 * gio/glocalfileinfo.c:
4031 (_g_local_file_info_set_attribute):
4032 Fix build if not HAVE_XATTR
4033 Patch from Milosz Derezynski <internalerror@gmail.com>
4035 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4037 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4038 around for review, otherwise I would have asked you before
4041 2007-10-11 Alexander Larsson <alexl@redhat.com>
4044 Add thumbnail:path attribute
4046 * gio/glocalfileinfo.c:
4047 Implement thumbnail:path for local files
4049 2007-10-11 Alexander Larsson <alexl@redhat.com>
4051 * gio/glocalfileinfo.c:
4052 (_g_local_file_info_get):
4053 Avoid duplicate icon names
4055 2007-10-11 Alexander Larsson <alexl@redhat.com>
4057 * gio/gthemedicon.[ch]:
4058 Change g_themed_icon_get_names return type to const
4060 2007-10-10 Alexander Larsson <alexl@redhat.com>
4062 * gio/glocalfileinfo.c:
4063 Don't reference freed memory
4065 2007-10-10 Alexander Larsson <alexl@redhat.com>
4067 * gio/gfileattribute.c:
4070 * gio/glocalfileinfo.c:
4073 2007-10-10 Alexander Larsson <alexl@redhat.com>
4076 Check for NULL icons
4078 * gio/gfileattribute.c:
4079 Don't dup when getting objects (same as for string attributes)
4081 * gio/gicon.c (g_icon_equal):
4082 Safely handle NULLs in equal
4084 2007-10-10 Alexander Larsson <alexl@redhat.com>
4087 Fix c++ compilation issues
4088 Patch from Milosz Derezynski <internalerror@gmail.com>
4090 2007-10-10 Alexander Larsson <alexl@redhat.com>
4092 * programs/gio-monitor-dir.c:
4093 Don't crash if dir monitor not supported.
4095 2007-10-09 Alexander Larsson <alexl@redhat.com>
4098 Add missing G_END_DECLS
4100 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4102 * gio/gfile.c: (g_file_set_display_name),
4103 (g_file_query_settable_attributes),
4104 (g_file_query_writable_namespaces):
4105 Return NULL not FALSE on errors as the return type is a pointer.
4107 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4109 * gio/glocalfile.c: (g_local_file_monitor_file):
4110 Don't call monitor_file on the default interface vtable (which
4111 is NULL) but simply return NULL. The caller, GFile, will create a
4112 polling monitor if NULL is returned.
4114 2007-10-09 Alexander Larsson <alexl@redhat.com>
4118 * gio-unix-2.0.pc.in:
4119 Add gio-unix-2.0.pc if OS_UNIX
4122 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4124 2007-10-09 Alexander Larsson <alexl@redhat.com>
4126 * gio/gunixmounts.[ch]:
4127 Make unix mount monitoring API sane.
4128 Now its just a object with mounts_changed
4129 and mountpoints_changed signals.
4131 * gio/glocaldirectorymonitor.c:
4132 * gio/gunixvolumemonitor.c:
4133 Use new mount monitor api
4135 2007-10-09 Alexander Larsson <alexl@redhat.com>
4137 * gio/gunixmounts.[ch]:
4138 Move guess type into one call for mounts and one for mountpoints
4141 * gio/gunixvolume.c:
4144 2007-10-09 Alexander Larsson <alexl@redhat.com>
4146 * gio/gunixmounts.[ch]:
4147 Remove _ prefix in preparation to make this semi-public
4148 Hide implementation of structs
4150 * gio/glocaldirectorymonitor.c:
4152 * gio/gunixvolume.c:
4153 * gio/gunixvolumemonitor.c:
4154 Update for above API changes
4156 2007-10-08 Alexander Larsson <alexl@redhat.com>
4159 Better polling fallback. This also handles the case where we have
4160 a monitor_file implementation, but it fails.
4162 2007-10-08 Alexander Larsson <alexl@redhat.com>
4166 * gio/gunixmounts.c:
4167 * programs/gio-monitor-dir.c:
4168 * programs/gio-monitor-file.c:
4169 Added cancellable to file monitoring calls.
4170 These are really sync calls and need this.
4172 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4174 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4175 (g_local_vfs_class_init):
4176 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4177 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4179 2007-10-05 Alexander Larsson <alexl@redhat.com>
4181 * gio/gdirectorymonitorprivate.h:
4182 * gio/gfilemonitorprivate.h:
4183 * gio/gdirectorymonitor.h:
4184 * gio/gfilemonitor.h:
4185 Remove *private.h and move to the public API, so that
4186 we can do implementations outside gio (such as in gvfs)
4188 * gio/gdirectorymonitor.c:
4189 * gio/gfilemonitor.c:
4190 * gio/glocaldirectorymonitor.c:
4191 * gio/gpollfilemonitor.c:
4192 * gio/inotify/inotify-helper.c:
4193 * gio/fam/fam-helper.c:
4194 Update to the new header names
4196 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4198 * gio/gdirectorymonitor.c:
4199 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4202 2007-10-04 Alexander Larsson <alexl@redhat.com>
4204 * gio/glocalfileinfo.c (get_access_rights):
4205 Set CAN_TRASH when we can move the file.
4206 We should really also check for a parent trash dir.
4208 2007-10-04 Alexander Larsson <alexl@redhat.com>
4210 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4211 Add can_trash access attribute
4213 2007-10-04 Alexander Larsson <alexl@redhat.com>
4216 (g_local_file_trash):
4217 Create info file first. This is per-spec and allows
4218 us to actually trash directories.
4220 2007-10-02 Alexander Larsson <alexl@redhat.com>
4222 * gio/gdesktopappinfo.c:
4223 Implement the new mime support code.
4224 Always set app as handling mimetype when being set as default for it
4226 2007-10-01 Alexander Larsson <alexl@redhat.com>
4228 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4229 Fix up check for xattrs:
4231 2007-10-01 Alexander Larsson <alexl@redhat.com>
4234 (g_app_info_set_as_default_for_extension):
4235 (g_app_info_add_supports_type):
4236 (g_app_info_can_remove_supports_type):
4237 (g_app_info_remove_supports_type):
4238 Make these fail nicely if not implemented
4240 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4242 * gio/glocalfileoutputstream.c:
4243 * gio/glocalfileoutputstream.h:
4248 * programs/gio-save.c:
4249 Add a GFileCreateFlags argument to operations that can create
4252 2007-10-01 Alexander Larsson <alexl@redhat.com>
4254 * gio/gappinfo.[ch]:
4255 * gio/gdesktopappinfo.c:
4256 Add more (stubbed out) mime API needed for nautilus
4258 2007-10-01 Alexander Larsson <alexl@redhat.com>
4261 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4262 Add g_app_info_set_as_default_for_extension.
4264 * gio/gdesktopappinfo.c:
4265 Dummy for g_app_info_set_as_default_for_extension
4266 Support flags in g_app_info_create_from_commandline
4268 * gio/gwin32appinfo.c:
4270 Update for API changes
4272 * gio/gthemedicon.c:
4273 Properly NULL-terminate list of icon names
4275 2007-09-28 Alexander Larsson <alexl@redhat.com>
4277 * gio/gloadableicon.h:
4278 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4280 2007-09-28 Alexander Larsson <alexl@redhat.com>
4283 Install headers in $includedir/gio-standalone/
4285 * gio-2.0.pc.in: Added.
4286 * gio-standalone.pc.in: Removed.
4289 Renamed pkg-config file to match glib (for future move)
4290 Update to the new include dir
4293 Add more TODO comments
4295 2007-09-28 Alexander Larsson <alexl@redhat.com>
4297 * gio/gdesktopappinfo.[ch]:
4298 Expose new_from_filename
4299 Add getter for is_hidden and handle it better
4301 2007-09-28 Alexander Larsson <alexl@redhat.com>
4303 * gio/gfileinfo.[ch]:
4304 Rename g_file_size_format_for_display to
4305 g_format_file_size_for_display.
4306 Now it doesn't have the g_file prefix, so we
4307 can later move it to glib.
4309 2007-09-28 Alexander Larsson <alexl@redhat.com>
4311 * gio/gappinfo.[ch]:
4312 Add g_app_info_get_id and g_app_info_get_executable.
4313 Make all getters non-reffing
4314 Make g_app_info_launch take GFile arguments.
4315 Add must_support_uris argument to g_app_info_get_default_for_type.
4317 * gio/gwin32appinfo.c:
4318 Update to GAppInfo api changes
4320 * gio/gdesktopappinfo.c:
4321 Update to GAppInfo api changes
4322 Implement supports_xdg_startup_notify
4324 * gio/gfileicon.c (g_file_icon_get_file):
4325 Make getter non-reffing.
4330 2007-09-27 Alexander Larsson <alexl@redhat.com>
4332 * gio/gfileinfo.[ch]:
4333 Add g_file_size_format_for_display helper
4335 2007-09-27 Alexander Larsson <alexl@redhat.com>
4337 * gio/glocalfileinfo.c:
4338 Set UNIX_GID from gid, not from uid
4340 2007-09-27 Alexander Larsson <alexl@redhat.com>
4343 Add g_file_set_attributes_async
4345 2007-09-27 Alexander Larsson <alexl@redhat.com>
4347 * gio/glocalfile.c (g_local_file_set_display_name):
4348 Fix set_display_name to actually rename to the right place.
4349 Use lstat to look for existing files so we don't overwrite
4352 2007-09-26 Alexander Larsson <alexl@redhat.com>
4355 Add g_file_set_display_name_async()
4357 2007-09-26 Alexander Larsson <alexl@redhat.com>
4360 Add load_partial_contents async calls
4363 Make internal function static
4365 2007-09-26 Alexander Larsson <alexl@redhat.com>
4367 * gio/glocalfileinfo.c:
4368 Correctly detect broken symlinks
4370 2007-09-26 Alexander Larsson <alexl@redhat.com>
4372 * gio/gcancellable.c (g_cancellable_cancel):
4373 Allow cancel on NULL cancellable
4375 2007-09-25 Alexander Larsson <alexl@redhat.com>
4377 * gio/gsimpleasyncresult.c:
4378 Don't allocate g_error manually.
4379 Fixes g_slice/g_new mixup crash
4381 2007-09-25 Alexander Larsson <alexl@redhat.com>
4383 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4384 Actually set active_backend.
4385 This means the monitor will be cancelled correctly.
4387 2007-09-25 Alexander Larsson <alexl@redhat.com>
4389 * gio/gdirectorymonitor.c:
4390 Set timeout to NULL when destroying
4392 2007-09-25 Alexander Larsson <alexl@redhat.com>
4395 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4396 that is a better description of the error.
4398 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4400 * gio/gvfs.c: (g_vfs_get_local):
4401 Make the local vfs variable static. The same instance should
4404 2007-09-24 Alexander Larsson <alexl@redhat.com>
4406 * gio/glocalfileinfo.c:
4407 Pass in actual length read into sniffer, not the length
4410 2007-09-21 Alexander Larsson <alexl@redhat.com>
4412 * gio/gfileenumerator.c:
4415 * gio/gfileinputstream.c:
4416 * gio/gfileoutputstream.c:
4417 * gio/ginputstream.c:
4418 * gio/goutputstream.c:
4419 Don't crash if async callbacks are NULL
4421 2007-09-20 Alexander Larsson <alexl@redhat.com>
4424 Add async enumerate_children method and default
4427 2007-09-20 Alexander Larsson <alexl@redhat.com>
4430 Add g_file_contains_file & g_file_get_relative_path, since they
4431 were needed for nautilus.
4432 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4437 Implement new methods
4439 2007-09-17 Alexander Larsson <alexl@redhat.com>
4442 * gio/gfileinputstream.[ch]:
4443 * gio/gfileoutputstream.[ch]:
4445 * gio/glocalfileenumerator.[ch]:
4446 * gio/glocalfileinfo.[ch]:
4447 * gio/glocalfileinputstream.c:
4448 * gio/glocalfileoutputstream.c:
4449 * gio/gpollfilemonitor.c:
4450 * programs/gio-copy.c:
4451 * programs/gio-info.c:
4452 * programs/gio-move.c:
4453 Rename get_file_info to query_info() to make it clearer
4454 that these are not simple getters, but do i/o.
4456 2007-09-17 Alexander Larsson <alexl@redhat.com>
4458 * gio/gdatainputstream.[ch]:
4459 * gio/test-streams.c:
4460 Use _read_XXX instead of _get_XXX for the i/o calls
4463 2007-09-17 Alexander Larsson <alexl@redhat.com>
4466 Added needed stuff to TODO comment
4468 2007-09-17 Alexander Larsson <alexl@redhat.com>
4470 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4471 Don't error out removing the backup copy if it doesn't
4474 2007-09-14 Alexander Larsson <alexl@redhat.com>
4476 * programs/Makefile.am:
4477 * programs/gvfs-*.c:
4479 Renamed apps from gvfs-xxx to gio-xxx.
4481 2007-09-14 Alexander Larsson <alexl@redhat.com>
4484 * gio/gfileoutputstream.[ch]:
4485 * gio/glocalfileoutputstream.c:
4486 * programs/gvfs-save.c:
4487 g_file_output_stream_get_etag doesn't do i/o, so remove
4488 cancellation and error.
4490 2007-09-14 Alexander Larsson <alexl@redhat.com>
4493 Add new_etag output to replace_contents functions
4495 2007-09-14 Alexander Larsson <alexl@redhat.com>
4497 * gio/gfileoutputstream.[ch]:
4498 Add async get_file_info and default implementation
4500 2007-09-14 Alexander Larsson <alexl@redhat.com>
4502 * gio/gfileinputstream.c:
4503 Implement fallback wrapper for async get_file_info
4505 2007-09-14 Alexander Larsson <alexl@redhat.com>
4508 Add etag out argument to load_contents
4513 2007-09-14 Alexander Larsson <alexl@redhat.com>
4515 * gio/gcontenttype.c (looks_like_text):
4516 Whitespace like tab, cr and lf do not make the
4519 2007-09-14 Alexander Larsson <alexl@redhat.com>
4521 * gio/gfileinputstream.[ch]:
4522 Add async get_file_info.
4524 2007-09-13 Alexander Larsson <alexl@redhat.com>
4526 * gio/goutputstream.c (g_output_stream_write_all):
4527 Allow NULL for bytes_written
4529 2007-09-13 Alexander Larsson <alexl@redhat.com>
4531 * gio/gmemoryinputstream.[ch]:
4532 Add accessors for data
4534 2007-09-13 Alexander Larsson <alexl@redhat.com>
4536 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4537 Don't crash if length is NULL