1 2008-07-18 Matthias Clasen <mclasen@redhat.com>
3 * gcontenttype.c: Remove debug spew
5 2008-07-18 Matthias Clasen <mclasen@redhat.com>
7 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
10 * fen/fen-kernel.c: Remove a warning that was causing
11 crashes. Reported by Lin Ma.
13 2008-07-18 Matthias Clasen <mclasen@redhat.com>
15 Bug 543040 – async reading on dummy file will crash on
18 * gfile.c (open_read_async_thread): Cope with read_fn being
19 NULL. Reported by Lin Ma.
21 2008-07-18 Matthias Clasen <mclasen@redhat.com>
24 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
26 2008-07-16 Matthias Clasen <mclasen@redhat.com>
30 * giomodule.c: Rename a chapter id to avoid filename conflict.
32 2008-07-16 Matthias Clasen <mclasen@redhat.com>
34 Bug 540616 – mem leak in filechooser button
36 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
37 the mount entry. Reported by Chrisitan Persch
39 2008-07-16 Matthias Clasen <mclasen@redhat.com>
41 * gfile.c: Small documentation fixes.
43 2008-07-15 Matthias Clasen <mclasen@redhat.com>
45 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
47 2008-07-08 Matthias Clasen <mclasen@redhat.com>
52 * gmount.c: Documentation improvements.
54 2008-07-08 Matthias Clasen <mclasen@redhat.com>
57 * gmount.[hc]: Add g_mount_guess_content_type().
59 2008-07-06 David Zeuthen <davidz@redhat.com>
62 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
63 is needed for easily handling adoption of foreign volumes by
64 out-of-process volume monitors (#541793)
66 2008-07-06 David Zeuthen <davidz@redhat.com>
68 * gvolumemonitor.[ch]:
69 * gunionvolumemonitor.c: Export the eject-button signal on the
70 volume monitor class (#541794).
72 2008-07-06 Matthias Clasen <mclasen@redhat.com>
74 * gappinfo.c: More doc tweaks
76 2008-07-05 Matthias Clasen <mclasen@redhat.com>
78 * gappinfo.c: Clarify some docs
80 2008-07-03 Matthias Clasen <mclasen@redhat.com>
82 * gdesktopappinfo.c: Fix a stupid mistake.
84 2008-07-02 Matthias Clasen <mclasen@redhat.com>
86 * === Released 2.17.3 ===
88 2008-07-02 Matthias Clasen <mclasen@redhat.com>
90 * gfilemonitor.c: Fix the build.
92 2008-07-02 Matthias Clasen <mclasen@redhat.com>
94 Bug 536160 – Add g_file_monitor()
97 * gfile.[hc]: Add g_file_monitor which can return either
98 a file or a directory monitor. Proposed by Behdad Esfahbod
100 2008-07-02 Matthias Clasen <mclasen@redhat.com>
102 536733 – gio build failure on Irix
104 * glocalfile.c: Use a configure check for structfs.f_bavail.
106 2008-07-02 Matthias Clasen <mclasen@redhat.com>
108 Bug 534639 – add g_desktop_app_info_new_from_keyfile
111 * gdesktopappinfo.[hc]: Add a function to create a
112 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
114 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
116 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
118 2008-07-01 Matthias Clasen <mclasen@redhat.com>
120 * gunixmounts.c: Fix a doc typo.
122 2008-07-01 Cody Russell <bratsche@gnome.org>
124 * gio/gcontenttype.c:
125 * gio/gwin32appinfo.c:
126 * gio/gwin32volumemonitor.c:
127 * gio/gwin32mount.c: Fixed some include problems.
129 2008-07-01 Cody Russell <bratsche@gnome.org>
133 Moved all relevant typedefs into these files.
136 Updated wrt added files.
138 Split types into separate file for easier maintainership. (#538564)
140 2008-06-30 Matthias Clasen <mclasen@redhat.com>
142 Bug 540331 – g_file_append_to () documentation: can return NULL
144 * gfile.c (g_file_append_to): Clarify docs.
147 2008-06-30 Matthias Clasen <mclasen@redhat.com>
149 Bug 539090 – g_content_type_from_mime_type() should unalias
151 * gcontentype.c (g_content_type_from_mime_type): Unalias.
152 Patch by Markus Bergman
154 2008-06-30 Matthias Clasen <mclasen@redhat.com>
156 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
159 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
160 on ppc and alpha. Reported by Mart Raudsepp
162 2008-06-29 Matthias Clasen <mclasen@redhat.com>
165 * tests/memory-output-stream.c: Add some tests for
168 2008-06-29 Matthias Clasen <mclasen@redhat.com>
170 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
173 * gmemoryoutputstream.c (array_resize): Handle truncation to
174 zero correctly. Reported by Akira Tagoh
176 2008-06-29 Matthias Clasen <mclasen@redhat.com>
178 * gmemoryoutputstream.c: Trivial doc fixes
180 2008-06-29 Matthias Clasen <mclasen@redhat.com>
182 Bug 540802 – g_list_prepend doesn't concat lists
184 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
185 one list to another. Pointed out by Jan Arne Petersen
187 2008-06-28 Michael Natterer <mitch@imendio.com>
189 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
191 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
193 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
194 to avoid problems with partial icon themes.
196 2008-06-17 Hans Breuer <hans@breuer.org>
198 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
199 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
200 access again on win32, see bug #538127
201 * giomodule.c : ensure GWin32VolumeMonitor is registered
202 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
203 * Makefile.am makefile.msc : updated
205 2008-06-16 Hans Breuer <hans@breuer.org>
207 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
208 and initialization in one step avoids c99ism
210 2008-06-16 Christian Persch <chpe@gnome.org>
213 * gio/gbufferedinputstream.c
215 * gio/gdatainputstream.c
216 * gio/gdesktopappinfo.c
218 * gio/gfileenumerator.c
219 * gio/gfileinputstream.c
220 * gio/gfileoutputstream.c
222 * gio/glocaldirectorymonitor.c
224 * gio/glocalfileenumerator.c
225 * gio/glocalfileinfo.c
226 * gio/glocalfilemonitor.c
227 * gio/glocalfileoutputstream.c
228 * gio/gmemoryinputstream.c
229 * gio/gmemoryoutputstream.c
230 * gio/goutputstream.c
231 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
234 2008-06-16 Tor Lillqvist <tml@novell.com>
236 Bug 538362 - Get Win32 icons back in the file chooser
238 * gcontenttype.c (g_content_type_get_icon): Look up the icon
239 corresponding to a file extension in the Registry. Patch by Hans
241 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
243 2008-06-16 Tor Lillqvist <tml@novell.com>
245 Patches by Hans Breuer:
247 * glocalfile.c (is_xp_or_later): Handle compiling against older
248 SDK headers with missing VerifyVersionInfo(). Conditioned on
249 _MSC_VER, but should probably use some better test.
250 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
251 uninitialised statfs_result variable on Win32.
253 2008-06-16 Michael Natterer <mitch@imendio.com>
255 * *.c: chain up unconditionally in finalize() and dispose(). Also
256 don't dereference these function pointers when calling them since
257 that has no meaning at all.
259 2008-06-16 Ross Burton <ross@burtonini.com>
262 Remove check for dispose implementation as it annoys Emmanuele.
264 2008-06-16 Ross Burton <ross@burtonini.com>
266 Bug 536252 – GFileEnumerator should allow access to the containing
272 Add g_file_enumerator_get_container() and a container writeable
273 construct-only property. Also shuffle around typedefs to make it
276 * glocalfileenumerator.c:
277 * glocalfileenumerator.h:
279 Instead of a string filename take a GFile in the constructor and
280 use it to set the container property.
285 2008-06-16 Matthias Clasen <mclasen@redhat.com>
287 * gfile.c: Make includes more uniform
289 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
291 * tests/live-g-file.c (sample_struct):
292 Use less fancy unicode filenames, so the test doesn't fail
293 on Mac OS X (#531476).
295 2008-06-12 Matthias Clasen <mclasen@redhat.com>
297 * === Released 2.17.2 ===
299 2008-06-12 Matthias Clasen <mclasen@redhat.com>
301 * === Released 2.17.1 ===
303 2008-06-11 A. Walton <awalton@gnome.org>
305 * tests/g-file.c (test_g_file_new_null):
306 Fix broken test case.
308 2008-06-11 Matthias Clasen <mclasen@redhat.com>
310 * pltcheck.sh: We use g_clear_error now.
312 2008-06-11 Matthias Clasen <mclasen@redhat.com>
314 * glocalfile.c (g_local_file_enumerate_children): Revert
315 an unintended change.
317 2008-06-11 Matthias Clasen <mclasen@redhat.com>
319 * gfile.c (g_file_replace_contents): Don't unref before the last use.
321 2008-06-10 Matthias Clasen <mclasen@redhat.com>
323 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
326 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
327 as icon for the desktop directory, also make user-home and
328 user-desktop the preferred icons.
330 2008-06-10 Matthias Clasen <mclasen@redhat.com>
333 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
334 to add a name to the front of the list.
336 2008-06-10 Matthias Clasen <mclasen@redhat.com>
338 Bug 537392 – Additional colon in xattr name
340 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
341 too. Reported by Alessandro Morandi
343 2008-06-10 Matthias Clasen <mclasen@redhat.com>
345 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
348 * glocalfile.c (get_fs_type): Add afs and autofs.
349 Patch by Danny Baumann.
351 2008-06-10 Matthias Clasen <mclasen@redhat.com>
353 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
355 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
356 is no parent. (Owen Taylor, patch by Christian Neumair)
358 2008-06-10 Paolo Borelli <pborelli@katamail.com>
360 * gfile.c (g_file_replace_contents): do not leak the output stream.
362 2008-06-10 Michael Natterer <mitch@imendio.com>
364 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
365 uninitialized memory as array index.
367 2008-06-10 Tor Lillqvist <tml@novell.com>
369 * gcontenttype.c (g_content_type_can_be_executable)
370 (g_content_type_get_icon) [Win32]: Add TODO comments.
372 2008-06-09 Matthias Clasen <mclasen@redhat.com>
374 * xdgmime/Makefile.am: Fix the build
376 2008-06-09 Matthias Clasen <mclasen@redhat.com>
378 * gcontenttype.c (g_content_type_get_icon): Use icons specified
379 in the shared mime database, if available.
381 * xdgmime/*: Sync with upstream. This brings support for
382 glob weights, generic icons, and changes the cache format to
385 2008-05-28 Michael Natterer <mitch@imendio.com>
387 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
388 the global CPPFLAGS now.
390 * tests/data-input-stream.c
391 * tests/data-output-stream.c
392 * tests/g-file-info.c
394 * tests/live-g-file.c
395 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
397 2008-05-27 Matthias Clasen <mclasen@redhat.com>
399 * === Released 2.17.0 ===
401 * tests/live-g-file.c: Clean up after the tests, so make distcheck
402 doesn't complain about leftover files.
404 2008-05-27 simon.zheng <simon.zheng@sun.com>
406 * glocalfile.c: (g_local_file_query_filesystem_info):
407 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
409 2008-05-26 Michael Natterer <mitch@imendio.com>
411 * gmemoryoutputstream.h: declare
412 g_memory_output_stream_get_data_size().
414 2008-05-26 Matthias Clasen <mclasen@redhat.com>
416 * tests/*: Make tests work
418 2008-05-26 Matthias Clasen <mclasen@redhat.com>
420 * gio.symbols: Add g_memory_output_stream_get_data_size.
422 2008-05-25 Ross Burton <ross@burtonini.com>
425 Fix typo in error message (#534764).
427 2008-05-25 Ross Burton <ross@burtonini.com>
430 Fix circular dependency loop for gioenumtypes.h (#534759).
432 2008-05-19 Hans Breuer <hans@breuer.org>
434 * Makefile.am : EXTRA_DIST += makefile.msc
436 2008-05-17 Matthias Clasen <mclasen@redhat.com>
439 * gcontenttype.c: (g_content_type_from_mime_type):
440 New function to create a content type from a mime type. (#527175,
443 2008-05-17 Matthias Clasen <mclasen@redhat.com>
445 Bug 532965 – Should not return filesystem::free for certain file systems
447 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
448 free space for ncpfs.
450 2008-05-17 Matthias Clasen <mclasen@redhat.com>
452 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
454 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
455 st_dev might be zero.
457 2008-05-16 Tor Lillqvist <tml@novell.com>
459 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
460 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
462 2008-05-13 Bastien Nocera <hadess@hadess.net>
464 * gfile.c (has_valid_scheme): A URI scheme must start with a
465 letter, even if later more characters are allowed (#532852)
467 2008-05-05 Michael Natterer <mitch@imendio.com>
469 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
470 code from being checked in that breaks the build of applications
471 which use G_DISABLE_SINGLE_INCLUDES.
473 * makegioalias.pl: make the alias file include "glib.h" instead of
476 * gio.symbols: whitespace change to force regeneration of the
477 alias file after above script change.
479 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
481 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
483 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
485 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
487 2008-04-28 David Zeuthen <davidz@redhat.com>
489 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
490 displaying mounts in a subdirectory not accessible to the
493 2008-04-22 Michael Natterer <mitch@imendio.com>
495 * Makefile.am: fix library versioning (it was 0.0.0).
497 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
499 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
500 Default disable all loggings.
501 * fen/fen-kernel.c: (printevent), (port_add_kevent),
502 (port_fetch_event_cb): Fixed two macro nits.
504 2008-04-16 Matthias Clasen <mclasen@redhat.com>
506 * xdgmime/xdgmime.c: Rework the timestamp checking code
507 to protect against duplicate directories in XDG_DATA_DIRS.
508 Fixes fd.o bug 12513, reported by Joe Shaw.
510 2008-04-16 Matthias Clasen <mclasen@redhat.com>
512 Partically revert the last commit after realizing that
513 xdg_mime_media_type_equal doesn't have to init at all.
516 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
518 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
520 2008-04-16 Matthias Clasen <mclasen@redhat.com>
522 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
523 reported by Joe Shaw and Federico Mena Quintero.
525 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
526 (xdg_mime_media_type_equal): Turn into a wrapper around the
529 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
530 functions throughout.
532 2008-04-16 Michael Meeks <michael.meeks@novell.com>
534 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
535 tolerate an empty TryExec= line without failing; nautilus used
536 to create launchers with these in previous versions. Fixes #528433
538 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
540 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
541 after name. Fixes #527132.
543 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
545 * gfile.c: (g_file_replace):
548 2008-04-07 Matthias Clasen <mclasen@redhat.com>
550 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
552 * gfile.c (file_copy_fallback): Fix the argument order. Patch
553 by Christian Kellner.
555 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
557 * gunixmounts.c: (g_unix_mount_guess_should_display):
558 Don't list the user directory as a mount, fix potential issue
559 when other users have a similar naming and don't special case the
560 gvfs mounts there since that's not required (#525866)
562 2008-03-31 Alexander Larsson <alexl@redhat.com>
564 * glocalfile.c (get_parent):
567 2008-03-31 A. Walton <awalton@svn.gnome.org>
569 * gfile.c (g_file_query_file_type):
570 Always return a GFileType enum value (#520715).
572 2008-03-31 Alexander Larsson <alexl@redhat.com>
574 * glocalfileenumerator.c:
575 Read readdir() info in chunks (of 1000) and sort
576 the chunks by inode before stat:ing.
577 This is a 20% performance increase in testing
578 gvfs-ls on /usr/bin with cold cache.
580 2008-03-31 Alexander Larsson <alexl@redhat.com>
582 * gmemoryoutputstream.c:
583 Clarify docs for g_memory_output_stream_get_size.
584 Add g_memory_output_stream_get_data_size.
586 2008-03-30 Matthias Clasen <mclasen@redhat.com>
590 * gfile.h: Add g_file_query_file_type convenience function
591 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
593 2008-03-30 Matthias Clasen <mclasen@redhat.com>
596 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
598 2008-03-28 A. Walton <awalton@svn.gnome.org>
600 * giomodule.c (_g_io_modules_ensure_loaded):
601 Adds GIO_EXTRA_MODULES environment variable support, closing bug
604 2008-03-28 Alexander Larsson <alexl@redhat.com>
607 (copy_stream_with_progress):
610 2008-03-28 Alexander Larsson <alexl@redhat.com>
613 (copy_stream_with_progress):
614 (file_copy_fallback):
615 Fallback to g_file_query_info for source size
616 if g_file_input_stream_query_info fails. (#524579)
618 2008-03-28 Alexander Larsson <alexl@redhat.com>
620 * glocalfile.c (g_local_file_move):
621 Reuse old string instead of adding new one.
623 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
625 * fen/*.[hc]: still copyright issue. I hate copyright.
627 2008-03-27 Alexander Larsson <alexl@redhat.com>
629 * glocalfile.c (g_local_file_move):
630 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
631 file over directory. This is according to the docs and what the move via
632 copy+remove fallback does.
634 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
636 * fen/*.[hc]: Updated copyright.
638 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
640 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
642 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
644 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
645 not emit attribute changed events when optimizing changed events.
646 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
649 2008-03-19 Matthias Clasen <mclasen@redhat.com>
651 * gmountoperation.[hc]: Small documentation additions
653 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
655 * gunixmounts.c: (guess_mount_type):
656 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
658 2008-03-19 Alexander Larsson <alexl@redhat.com>
661 (copy_stream_with_progress):
662 Bump block side for copy to 64k to minimize
663 overhead for low latency links. (#523015)
665 2008-03-16 Tor Lillqvist <tml@novell.com>
667 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
668 depend on gio.def on Windows.
670 2008-03-12 David Zeuthen <davidz@redhat.com>
674 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
676 2008-03-14 Alexander Larsson <alexl@redhat.com>
680 Avoid redudant tests (#521851)
681 Patch from Josselin Mouette
683 2008-03-14 Alexander Larsson <alexl@redhat.com>
686 (g_file_monitor_is_cancelled):
687 Fix C89 issue (#521672)
688 Patch from Jens Granseuer
690 2008-03-14 Alexander Larsson <alexl@redhat.com>
692 * fam/fam-helper.[ch]:
694 Shut down fam (including removing fam GSource) when
695 module is unloaded (#521513)
696 Patch from Joe Marcus Clarke
698 2008-03-14 Alexander Larsson <alexl@redhat.com>
701 (_g_io_modules_ensure_loaded):
704 2008-03-14 Alexander Larsson <alexl@redhat.com>
707 (g_local_file_query_filesystem_info):
708 Use right define name for f_fstypename member check
710 2008-03-14 Alexander Larsson <alexl@redhat.com>
713 * fen/Makefile.am: Added.
714 * fen/fen-data.[ch]: Added.
715 * fen/fen-dump.[ch]: Added.
716 * fen/fen-helper.[ch]: Added.
717 * fen/fen-kernel.[ch]: Added.
718 * fen/fen-missing.[ch]: Added.
719 * fen/fen-node.[ch]: Added.
720 * fen/fen-sub.[ch]: Added.
721 * fen/gfendirectorymonitor.[ch]: Added.
722 * fen/gfenfilemonitor.[ch]: Added.
724 Added Solaris FEN file notification backend.
725 Patch from Lin Ma <Lin.Ma@Sun.COM>
727 2008-03-13 Tor Lillqvist <tml@novell.com>
729 * Makefile.am: Actually use the gio.def file when linking the
730 library on Windows. Produce .lib library for Microsoft's toolchain
731 when possible. Install the .lib and .def file like for the other
734 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
736 * tests/live-g-file.c:
737 Include live-g-file in standard set of tests, making a temporary
738 directory in source structure.
740 Clean target directory before the tests (write mode only)
742 2008-03-12 Tor Lillqvist <tml@novell.com>
744 Bug 517419 - gio win32 directory monitor
745 Implementation by Vlad Grecescu.
748 * win32/gwin32directorymonitor.h
749 * win32/gwin32directorymonitor.c: New files.
751 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
753 * Makefile.am: Add the win32 subdirectory.
755 2008-03-12 Tor Lillqvist <tml@novell.com>
757 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
758 normal struct stat on Unix but struct _stati64 on Windows to have
759 access to 64-bit file size information. Use that instead of struct
760 stat in the functions declared here in this private header.
762 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
763 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
764 warnings about unused functions and variables. Don't set
765 meaningless attributes like inode numbers on Windows.
767 2008-03-12 Benjamin Otte <otte@gnome.org>
770 trim whitespace so gtk-doc groks the function name
772 2008-03-12 Tor Lillqvist <tml@novell.com>
774 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
775 returning FALSE, on Win32.
777 2008-03-11 Alexander Larsson <alexl@redhat.com>
780 * glocalfileinfo.[ch]:
781 Correctly implement can_trash by actually
782 looking for a trash dir, not just assuming
785 2008-03-10 Matthias Clasen <mclasen@redhat.com>
787 * === Released 2.16.1 ===
789 2008-03-11 Alexander Larsson <alexl@redhat.com>
792 Fix crashes in new constructor and properties code
794 2008-03-10 Murray Cumming <murrayc@murrayc.com>
796 * gfile.c: Minor spelling correction in documentation:
797 existance -> existence.
799 2008-03-10 Matthias Clasen <mclasen@redhat.com>
801 * === Released 2.16.0 ===
803 2008-03-10 Matthias Clasen <mclasen@redhat.com>
805 * gio.symbols: Remove g_file_contains_file here, too.
807 2008-03-10 Matthias Clasen <mclasen@redhat.com>
809 * gthemedicon.c: Add properties to make bindings happy. (#517676,
810 Samuel Cormier-Iijima)
812 2008-03-08 Tor Lillqvist <tml@novell.com>
814 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
817 2008-03-07 Alexander Larsson <alexl@redhat.com>
820 (g_local_file_query_filesystem_info):
821 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
822 Patch from Jasper Lievisse Adriaanse
824 2008-03-06 Tor Lillqvist <tml@novell.com>
826 * gfileinfo.h: Correct milliseconds to microseconds in the doc
827 comments for the *_USEC attributes.
829 2008-03-06 Alexander Larsson <alexl@redhat.com>
831 * gfile.c (g_file_query_exists):
832 Add g_return_val_if_fail check (#520700)
834 2008-03-06 Alexander Larsson <alexl@redhat.com>
839 * gunionvolumemonitor.c:
842 * tests/live-g-file.c:
843 * xdgmime/xdgmimecache.c:
844 Fix sparse warnings (#519489)
846 2008-03-05 Alexander Larsson <alexl@redhat.com>
849 Make cancellation threadsafe (i.e.
850 guarantee its only done once, and always
853 * glocaldirectorymonitor.c:
854 Make sure we the monitor lives while the
855 mounts_changed callback is being called (#520484)
857 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
859 * gbufferedinputstream.c: Fix typo in parameter
862 2008-03-04 Alexander Larsson <alexl@redhat.com>
865 Remove deprecated symbols we kept for one release.
867 2008-03-04 Murray Cumming <murrayc@murrayc.com>
870 * goutputstream.c: Tiny documentation corrections.
872 2008-03-03 Alexander Larsson <alexl@redhat.com>
874 * gunionvolumemonitor.c:
876 Fix the adopt_orphan_mount vfunc to take a
877 volume_monitor reference in an ABI compat way.
878 This change is not API compat, but the added
879 arg is not used in the only user of this vfunc, so
880 all we get is a harmless warning in gvfs (#520169)
882 2008-03-01 Benjamin Otte <otte@gnome.org>
885 clarify docs for g_file_delete().
887 2008-02-29 Alexander Larsson <alexl@redhat.com>
891 Make sure empty files get text/plain type (#518720)
893 2008-02-27 Alexander Larsson <alexl@redhat.com>
899 (g_unix_volume_mount):
900 Add missing GMountMountFlags argument
902 2008-02-26 Alexander Larsson <alexl@redhat.com>
905 (g_local_file_delete):
906 Handle filesystems (like ntfs-3g) that return EEXIST instead
907 of ENOTEMPTY (#518816)
909 2008-02-25 Matthias Clasen <mclasen@redhat.com>
911 * === Released 2.15.6 ===
913 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
915 * gfile.c (g_file_find_enclosing_mount):
916 * ginputstream.c (g_input_stream_set_pending):
917 * glocalfile.c (g_local_file_find_enclosing_mount):
918 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
919 * goutputstream.c (g_output_stream_set_pending):
921 Fixup translator comments (#518578).
923 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
925 * gfile.c (g_file_find_enclosing_mount):
927 * glocalfile.c (g_local_file_find_enclosing_mount):
930 Fix a few typos in translator comments and documentation.
932 2008-02-25 Alexander Larsson <alexl@redhat.com>
939 Add translator comments (#518578)
941 2008-02-25 Alexander Larsson <alexl@redhat.com>
944 Reintroduce g_file_contains_file, keep around for one
945 unstable release cycle to avoid crashing to many apps.
946 Make sure to delete after release.
948 2008-02-25 Alexander Larsson <alexl@redhat.com>
951 Remove deprecated g_file_contains_file.
953 2008-02-25 Alexander Larsson <alexl@redhat.com>
956 Emit actual change signals in an idle handler.
957 This avoids reentrance and locking problems in
958 the file notification backends.
960 2008-02-25 Alexander Larsson <alexl@redhat.com>
963 (g_unix_mount_guess_should_display):
964 Remove type guessing, instead just display
965 mounts in /media and in ~/.
967 2008-02-25 Alexander Larsson <alexl@redhat.com>
970 Make new strings reuse old ones.
972 2008-02-25 Alexander Larsson <alexl@redhat.com>
975 Implement trashing and filesystem::readonly for win32 (#517235)
976 Patch from Yevgen Muntyan
978 2008-02-23 Matthias Clasen <mclasen@redhat.com>
980 * gfileinfo.h: Documentation fixes.
982 2008-02-22 Alexander Larsson <alexl@redhat.com>
984 * gcontenttype.c (g_content_type_get_icon):
985 Look at old-style gnome mime icon names too, as many
986 have not moved to the new style.
988 2008-02-21 Matthias Clasen <mclasen@redhat.com>
990 * *.c: Correct the @include in for section docs.
992 2008-02-21 David Zeuthen <davidz@redhat.com>
994 * glocalfileinfo.c: (_g_local_file_info_get):
996 (g_content_type_get_icon): Implement this function by
997 moving bits from glocalfileinfo.c
998 (g_content_type_get_description): Unalias before getting
999 description (#517687)
1001 * gfile.c: (g_file_class_init),
1002 (g_file_query_filesystem_info_async),
1003 (g_file_query_filesystem_info_finish),
1004 (query_filesystem_info_data_free),
1005 (query_filesystem_info_async_thread),
1006 (g_file_real_query_filesystem_info_async),
1007 (g_file_real_query_filesystem_info_finish):
1008 * gfile.h: Implement async version of
1009 g_file_query_filesystem_info()
1011 * gfileinfo.h: Add new attributes for filesystem::use-preview
1013 * gio.symbols: Update
1015 * gthemedicon.c: (g_themed_icon_append_name):
1016 * gthemedicon.h: Add new new convenience function.
1018 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1019 (get_mounts), (get_volumes), (get_connected_drives),
1020 (get_volume_for_uuid), (get_mount_for_uuid),
1021 (g_union_volume_monitor_init), (populate_union_monitor),
1022 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1023 (g_volume_monitor_adopt_orphan_mount):
1025 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1026 monitor implementations to call into the main volume monitor. Also
1027 separate object initialization and volume monitor initialization
1028 such that non-native volume monitors can properly adopt their
1031 2008-02-21 Alexander Larsson <alexl@redhat.com>
1036 2008-02-21 Alexander Larsson <alexl@redhat.com>
1039 Add more documentation about how GFiles work (from #517086)
1041 2008-02-21 Alexander Larsson <alexl@redhat.com>
1045 Add new g_file_has_prefix that does the same as g_file_contains_file.
1046 Deprecate g_file_contains_file and add a macro that converts
1047 it to g_file_has_prefix.
1048 The reason for this change is that the contains_file() name seems to
1049 imply that this does more work than what it does, but its really only
1050 a name match (from #517086)
1055 Update to match the above change.
1057 2008-02-20 Benjamin Otte <otte@gnome.org>
1059 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1060 (g_file_eject_mountable):
1061 even more cases of not returning in error path
1063 2008-02-20 Benjamin Otte <otte@gnome.org>
1065 * gfile.c: (g_file_mount_mountable):
1066 return from function in error path.
1068 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1071 Remove trailing coma in GMountMountFlags struct
1073 2008-02-18 Alexander Larsson <alexl@redhat.com>
1077 * glocalfileoutputstream.c:
1078 Use g_unlink/g_rename instead of unlink/rename;
1079 do not pass raw filenames to g_set_error. (#517239)
1080 Patch from Yevgen Muntyan.
1082 2008-02-18 Alexander Larsson <alexl@redhat.com>
1085 * glocalfileoutputstream.c:
1086 Open files with O_BINARY on windows. (#517140)
1088 2008-02-14 Alexander Larsson <alexl@redhat.com>
1090 * glocalfileoutputstream.c:
1091 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1093 2008-02-14 Alexander Larsson <alexl@redhat.com>
1096 Copy permissions with file on copy (#514084)
1097 This is what cp does and makes sure e.g. the
1098 exec permissions are kept.
1099 Its kinda weird in that it keeps the permission bits
1100 the same while the uid and gid are different. However
1101 the new uid is the user so its not a security issue,
1102 and I've heard no complaints about cp on this issue.
1104 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1106 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1108 2008-02-13 Alexander Larsson <alexl@redhat.com>
1110 * inotify/inotify-path.c:
1111 Define IN_ONLYDIR if not in header (#515346)
1113 2008-02-12 Alexander Larsson <alexl@redhat.com>
1115 * tests/live-g-file.c:
1118 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1120 * === Released 2.15.5 ===
1122 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1124 * gio.symbols: Add g_mount_mount_flags_get_type.
1126 2008-02-11 Alexander Larsson <alexl@redhat.com>
1129 (g_file_info_set_attribute_mask):
1130 (g_file_attribute_matcher_matches_id):
1131 Correctly handle NULL GAttributeMatcher meaning
1132 matches nothing. (Fixes #513492)
1134 2008-02-11 Alexander Larsson <alexl@redhat.com>
1139 Added GMountMountFlags enum and added a flags
1140 argument to all mount calls.
1142 This is an API/ABI change for future extensibility,
1143 as I think we will need at least an
1144 inhibit-autorun flag (the panel needs this).
1145 There are no flags defined yet though.
1147 2008-02-11 Alexander Larsson <alexl@redhat.com>
1150 Added new standard::description attribute.
1151 Requested by Vincent, and useful for both
1154 2008-02-11 Alexander Larsson <alexl@redhat.com>
1156 * gdesktopappinfo.c:
1159 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1161 * *.c: Documentation additions
1163 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1165 * gappinfo.h: Formatting cleanup
1166 * gappinfo.c: Fix up docs.
1168 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1170 * gunixmounts.c: Consistently use getmntent_r() and fall
1171 back to getmntent(). (#515492)
1173 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1175 * gbufferedinputstream.c:
1177 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1179 * tests/data-input-stream.c:
1180 * tests/data-output-stream.c: Portability fixes.
1182 2008-02-08 Alexander Larsson <alexl@redhat.com>
1187 Add g_volume_should_automount.
1190 2008-02-07 Tor Lillqvist <tml@novell.com>
1192 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1193 Win32, too Unix-specific.
1195 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1197 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1198 a local plt if the compiler doesn't support what we want. Bug #514702
1200 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1202 reviewed by: <delete if not using a buddy>
1205 * gunixinputstream.c:
1206 * gunixoutputstream.c:
1208 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1210 * tests/Makefile.am:
1211 * tests/live-g-file.c:
1212 * tests/live-g-file.txt:
1213 New GIO testing module working over real data
1215 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1217 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1218 Fallback to rename() if link() is not available
1219 (when no support on target filesystem)
1221 2008-02-06 Michael Natterer <mitch@imendio.com>
1223 * gfileinfo.c (g_file_info_get_icon): replace
1224 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1226 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1228 * gfile.c (g_file_create):
1229 Documentation update of error codes
1231 2008-02-06 Alexander Larsson <alexl@redhat.com>
1233 * gdesktopappinfo.c:
1234 Update to use both mimeapps.list and
1235 defaults.list as discussed on xdg list.
1237 2008-02-06 Benjamin Otte <otte@gnome.org>
1240 * gfilenamecompleter.c:
1241 Fix some typos in the documentation.
1243 2008-02-06 Alexander Larsson <alexl@redhat.com>
1245 * glocalfile.c (g_local_file_trash):
1246 Don't succeed with trash if newly created
1247 trash dir has the wrong owner. (#514696)
1249 2008-02-05 Alexander Larsson <alexl@redhat.com>
1251 * glocalfile.c (g_local_file_move):
1252 Don't spew warnings when destination is not
1255 2008-02-03 Hans Breuer <hans@breuer.org>
1257 * makefile.msc : update
1259 2008-02-01 Michael Natterer <mitch@imendio.com>
1261 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1262 return value of xdg_mime_list_mime_parents() to a variable of the
1265 2008-02-01 Alexander Larsson <alexl@redhat.com>
1267 * gappinfo.c (g_app_info_launch_uris):
1268 Actually call the launch_uris method, not
1271 2008-02-01 Alexander Larsson <alexl@redhat.com>
1273 * gdesktopappinfo.c (g_desktop_app_info_equal):
1274 Ensure appinfos with no id but same pointer value
1277 2008-02-01 Alexander Larsson <alexl@redhat.com>
1279 * gappinfo.c (g_app_info_launch_default_for_uri):
1282 2008-02-01 Alexander Larsson <alexl@redhat.com>
1286 Add g_app_info_launch_default_for_uri utility
1289 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1291 * gdesktopappinfo.c:
1292 Doc fix for g_app_info_get_default_for_uri_scheme ()
1295 2008-01-30 Alexander Larsson <alexl@redhat.com>
1298 Add doc comment about uris vs GFiles to
1301 * gdesktopappinfo.c:
1302 Ensure uris passed to g_app_info_launch_uris()
1303 are not roundtriped through GFile (as that
1304 may be slightly destructive for e.g. mailto: links)
1306 2008-01-30 Alexander Larsson <alexl@redhat.com>
1308 * tests/data-input-stream.c:
1309 * tests/data-output-stream.c:
1310 C89 fixes from Jens Granseuer (#512849)
1312 2008-01-30 Alexander Larsson <alexl@redhat.com>
1315 Fix gamin/fam difference build issue. (#509419)
1317 2008-01-29 Alexander Larsson <alexl@redhat.com>
1320 * gdesktopappinfo.c:
1321 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1323 2008-01-29 Alexander Larsson <alexl@redhat.com>
1325 * gdesktopappinfo.c:
1326 * gdesktopappinfo.h:
1327 giomodule-priv.h include moved to .c file.
1329 2008-01-29 Alexander Larsson <alexl@redhat.com>
1331 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1332 Remove unused prio/name fields.
1334 2008-01-29 Alexander Larsson <alexl@redhat.com>
1336 * gcontenttype.c (looks_like_text):
1337 Don't treat whitespace as control chars.
1339 2008-01-29 Alexander Larsson <alexl@redhat.com>
1341 * gdesktopappinfo.c:
1342 Lazily create the desktop files for appinfos created
1343 by g_app_info_create_from_commandline() when needed
1344 for mime associations. This allows run-time use
1345 of GAppInfo object without creating unnecessary
1348 2008-01-29 Alexander Larsson <alexl@redhat.com>
1351 Added new symbols to gio.symbols
1353 2008-01-29 Alexander Larsson <alexl@redhat.com>
1356 Add g_file_query_default_handler utility to easily look up
1357 the GAppInfo that handles a file.
1359 * gdesktopappinfo.[ch]:
1361 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1364 Remove unused function
1366 2008-01-29 Alexander Larsson <alexl@redhat.com>
1368 * gfileenumerator.c:
1369 Mention need to free returned value in
1370 g_file_enumerator_next_files_finish docs.
1371 Fix leak if g_file_enumerator_next_files_finish()
1374 2008-01-29 Alexander Larsson <alexl@redhat.com>
1377 (_g_unix_content_type_get_parents):
1378 Use list_parents, not get_parents from xdgmime, because
1379 the later doesn't use the cache.
1381 * xdgmime/xdgmimecache.c:
1382 (_xdg_mime_cache_list_mime_parents):
1383 Don't list the same type as parent multiple times.
1385 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1387 * === Released 2.15.4 ===
1389 2008-01-28 Alexander Larsson <alexl@redhat.com>
1392 Register local vfs with prio 0.
1395 Remove old name and prio class members
1397 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1399 * tests/g-file.c: Disable some tests that are failing in
1400 the absence of a http backend.
1402 2008-01-28 Alexander Larsson <alexl@redhat.com>
1406 Add registration hooks for extension points.
1407 Register the gio extension points.
1409 * fam/gfamdirectorymonitor.c:
1410 * fam/gfamfilemonitor.c:
1411 * glocaldirectorymonitor.[ch]:
1412 * glocalfilemonitor.[ch]:
1413 * gnativevolumemonitor.h:
1414 * gunionvolumemonitor.c:
1415 * gunixvolumemonitor.c:
1418 * inotify/ginotifydirectorymonitor.c:
1419 * inotify/ginotifyfilemonitor.c:
1420 Use the extension points registration instead
1421 of g_type_children().
1423 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1426 * gvolume.[hc]: Document new API.
1428 * gfile.c (g_file_copy_async): Fix docs
1430 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1432 * gbufferedinputstream.c:
1434 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1437 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1439 * glocalfile.c: Avoid trivial differences in translatable strings.
1441 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1443 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1444 build with gcc 3.4 (#509419)
1446 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1448 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1449 (#509994, Murray Cumming)
1451 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1453 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1454 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1455 this allows big jobs to be executed in chunks, instead of blocking
1456 the main loop for a long time.
1458 * gsimpleasyncresult.c:
1459 * giofile.c: Adapt callers.
1461 2008-01-25 Alexander Larsson <alexl@redhat.com>
1463 * gdesktopappinfo.c:
1464 Implement changes discussed on xdg list.
1465 Now we can add supported mimetypes by just using defaults.list
1466 We can also remove associations in defaults.list.
1468 2008-01-25 Alexander Larsson <alexl@redhat.com>
1470 * gdesktopappinfo.c:
1471 Don't make local copy of desktop file
1472 for mimetype changes if the file already
1473 supports the new mimetype.
1475 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1479 * gbufferedinputstream.c:
1480 * glocalfile.c: String improvements. (#511966,
1481 Theppitak Karoonboonyanan)
1483 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1485 * gioscheduler.h: Expand docs a bit.
1487 2008-01-24 Alexander Larsson <alexl@redhat.com>
1490 Add g_drive_get_identifier and
1491 g_drive_enumerate_identifiers
1494 Add g_volume_get_identifier and
1495 g_volume_enumerate_identifiers
1501 Implement identifiers for unix backend
1503 2008-01-24 Alexander Larsson <alexl@redhat.com>
1508 Add g_file_copy_async() (#511580)
1509 Based on patch from Carlos Garcia Campos
1511 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1513 * gioscheduler.c: Some documentation additions.
1515 2008-01-22 Alexander Larsson <alexl@redhat.com>
1517 * gdesktopappinfo.c:
1518 (g_desktop_app_info_new):
1519 Don't leak basename.
1521 2008-01-22 Alexander Larsson <alexl@redhat.com>
1523 * gdesktopappinfo.c:
1524 (g_desktop_app_info_new_from_filename):
1527 2008-01-22 Alexander Larsson <alexl@redhat.com>
1529 * glocalfileinfo.c (get_thumbnail_attributes):
1532 2008-01-22 Alexander Larsson <alexl@redhat.com>
1535 (canonicalize_filename):
1536 Canonicalize paths that start with more than
1540 (compare_two_files):
1541 (test_g_file_new_for_path):
1544 2008-01-22 Alexander Larsson <alexl@redhat.com>
1547 Allow UTF-8 in file:// parse names.
1549 * tests/Makefile.am:
1550 * tests/data-input-stream.c:
1551 * tests/data-output-stream.c:
1552 * tests/g-file-info.c:
1554 Added a bunch of tests from Tomas Bzatek
1556 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1558 * === Released 2.15.3 ===
1560 2008-01-21 Alexander Larsson <alexl@redhat.com>
1562 * gfileinputstream.[ch]:
1563 * gfileoutputstream.[ch]:
1565 Remove duplicated GSeekable functions. (#509990)
1566 Just use the g_seekable_xxx() calls instead.
1568 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1571 * gvolumemanager.c: Whitespace cleanups.
1573 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1574 Use the right mode when creating the file.
1576 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1578 * gfileenumerator.c:
1579 * gfileinputstream.c:
1581 * goutputstream.c: Documentation: Fixed minor typos
1582 and added more mentions of specific _finish() functions.
1584 2008-01-21 Alexander Larsson <alexl@redhat.com>
1586 * inotify/Makefile.am:
1587 * inotify/inotify-helper.c:
1588 * inotify/inotify-kernel.c:
1589 * inotify/inotify-path.c:
1590 * inotify/local_inotify.h: Removed.
1591 * inotify/local_inotify_syscalls.h: Removed.
1592 Removed the included copies of the inotify
1593 headers. We now only use the <sys/inotify.h>
1594 header which exists on modern systems.
1595 This fixes problems on ARM and SH5 (#510448)
1596 but is also generally much cleaner and future
1597 safe. For instance, if other OSes add support
1598 for inotify it should "just work".
1600 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1602 * inotify/*.c: Coding style fixes.
1603 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1604 for the 1/4 Hz timer.
1606 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1609 * gfilemonitor.[hc]:
1610 * gmemoryinputstream.c:
1611 * gmemoryoutputstream.c:
1612 * gmountoperation.c:
1613 * gthemedicon.c: Documentation updates
1615 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1617 * gfile.c: documentation: Fixed more minor
1620 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1622 * gmount.c: (g_mount_remount): documentation:
1623 Mention g_mount_remount_finish() instead of
1624 g_mount_unmount_finish().
1626 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1630 * gfile.c: Fixed some minor typos in the
1633 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1635 * gio/gvolumemonitor.c:
1636 (g_volume_monitor_get_connected_drives):
1637 (g_volume_monitor_get_volumes):
1638 (g_volume_monitor_get_mounts): Documentation:
1639 Clarify the ownership of the regurn GLists.
1641 2008-01-17 Alexander Larsson <alexl@redhat.com>
1644 Add the async find_enclosing_mount version
1645 to the header file too.
1647 2008-01-17 Alexander Larsson <alexl@redhat.com>
1650 Add async version of find_enclosing_mount
1651 with default implementation.
1653 2008-01-17 Alexander Larsson <alexl@redhat.com>
1658 Allow calls to implementation of copy and write
1659 even if the type of the file implementations is
1660 different. This can be used to implement native
1661 upload and download calls in a vfs.
1664 (g_local_file_move):
1665 Protect against the case where move is called
1666 with one file not being local.
1668 Make sure we call the progress callback once
1669 in the native move operation so that the caller
1670 knows how many bytes were copied.
1672 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1675 * gdatainputstream.c:
1677 * gfileoutputstream.c:
1682 * gunixmounts.c: Corrected some typos in the documentation:
1683 occured -> occurred.
1684 its -> it's (where appropriate).
1686 2008-01-16 Alexander Larsson <alexl@redhat.com>
1690 Add g_file_query_exists (#508771)
1692 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1697 * gvolume.c: For async functions that have no non-async
1698 version, document that the GAsyncReadyCallback may be NULL.
1701 2008-01-15 Alexander Larsson <alexl@redhat.com>
1703 * gmemoryinputstream.c:
1704 * gmemoryoutputstream.c:
1705 Don't do pointer arithmetic on void * (#508602)
1706 Patch from Kazuki IWAMOTO
1708 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1710 * === Released 2.15.2 ===
1712 2008-01-14 Alexander Larsson <alexl@redhat.com>
1714 * gfile.c (g_file_monitor_file):
1715 Don't set error here, since we fallback to polling monitor.
1717 2008-01-14 Alexander Larsson <alexl@redhat.com>
1720 (g_file_monitor_directory):
1721 (g_file_monitor_file):
1722 Add GError to file monitor calls
1724 * glocaldirectorymonitor.c:
1725 * glocaldirectorymonitor.h:
1727 * glocalfilemonitor.c:
1728 * glocalfilemonitor.h:
1730 Update for above change
1732 2008-01-14 Alexander Larsson <alexl@redhat.com>
1736 Handle root correctly in g_file_get_relative_path (#508719)
1738 2008-01-14 Alexander Larsson <alexl@redhat.com>
1741 Clean up docs and example for GAsyncResult (#508074)
1743 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1745 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1746 and correct some spelling mistakes. Bug #508108.
1748 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1750 * glocalfileinfo.c: Add a comment.
1752 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1754 * gfileinfo.c: GFileInfo description: Mention
1755 how to actually set attributes in a GFile and how to discover
1756 which attributes are settable. Bug #508378.
1758 2008-01-10 A. Walton <awalton@svn.gnome.org>
1760 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1761 (g_app_info_get_default_for_type):
1762 Check for NULL content types.
1764 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1766 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1768 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1770 * gfile.c: *_async() functions: Several small corrections
1771 to the documentation, mostly correcting copy/paste errors
1772 and improving some sentences.
1774 2008-01-09 Dan Winship <danw@gnome.org>
1776 * glocalfile.c (get_unique_filename): x86_64 fix
1778 2008-01-09 Alexander Larsson <alexl@redhat.com>
1783 Add g_unix_mount_guess_should_display and use
1784 for unix volume monitor backend.
1785 This means we more or less show what the
1786 gnome-vfs backend did.
1787 Based on patch from Padraig O'Briain
1789 2008-01-09 Alexander Larsson <alexl@redhat.com>
1793 Add g_themed_icon_new_with_default_fallbacks
1796 Use default fallbacks for icons
1798 2008-01-09 Alexander Larsson <alexl@redhat.com>
1801 * gmountoperation.[ch]:
1802 Change the API a bit so that unhandled methods
1803 get reported via the reply, rather than by
1804 the signal emission return value. This is because
1805 some handlers can't know this immediately without
1806 doing I/O, and this is an async operation that
1809 2008-01-09 Alexander Larsson <alexl@redhat.com>
1812 * fam/gfamdirectorymonitor.c:
1813 * fam/gfamfilemonitor.c:
1814 Fix double free crash (#508224)
1815 Patch from Joe Marcus Clarke
1817 008-01-07 Matthias Clasen <mclasen@redhat.com>
1819 * === Released 2.15.1 ===
1821 2008-01-07 Alexander Larsson <alexl@redhat.com>
1823 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1824 Fix warning (#507835)
1826 2008-01-07 Alexander Larsson <alexl@redhat.com>
1829 Pass --internal to glib-genmarshal
1832 * gmountoperation.c:
1834 Use better types for signal arguments (#507822)
1836 2008-01-07 Alexander Larsson <alexl@redhat.com>
1839 Build test subdir after .
1840 Remove gdirectorymonitor.[ch]
1842 * gdirectorymonitor.[ch]:
1846 Remove GDirectoryMonitor and make
1847 GFileMonitor the baseclass for both file and
1848 directory monitors. Lift the more generic
1849 rate limiting code from GDirectoryMonitor
1853 * fam/gfamdirectorymonitor.[ch]:
1854 * inotify/ginotifydirectorymonitor.[ch]:
1855 * inotify/inotify-helper.c:
1856 * glocaldirectorymonitor.[ch]:
1859 Update for the removed GDirectoryMonitor.
1861 * gmemoryoutputstream.c:
1862 Remove ununsed variable
1864 2008-01-07 Alexander Larsson <alexl@redhat.com>
1866 * gmemoryinputstream.c:
1867 Translate error strings
1870 * gmemoryoutputstream.[ch]:
1871 New implementation that avoids using GByteArray
1872 in implementation and API. (#506377)
1874 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1876 * tests/*: Add a test for memory input streams.
1878 * Makefile.am: Add tests to SUBDIRS.
1880 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1882 * glocalfilemonitor.c:
1883 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1886 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1888 * gdesktopappinfo.c: Fix a docs typo.
1890 * gfileattribute.c: Add information about extended attributes
1891 to the documentation. (#505058)
1893 2008-01-04 Alexander Larsson <alexl@redhat.com>
1896 * gmountoperation.c:
1897 Use the right type (uint) for the ask_password signal.
1899 2008-01-04 Alexander Larsson <alexl@redhat.com>
1904 Add g_app_info_supports_files()
1905 Remove desktop arg from g_app_info_should_show().
1907 * gdesktopappinfo.[ch]:
1908 Implement g_app_info_supports_files() and new should_show()
1909 Add g_desktop_app_info_set_desktop_env() to set the desktop
1910 for should_show(). (This will be set by gtk+ later)
1912 2008-01-04 Alexander Larsson <alexl@redhat.com>
1915 * gmemoryinputstream.[ch]:
1916 Improve API so that you can use multiple chunks
1917 of memory and custom destroy functions. (#506374)
1919 2008-01-03 Alexander Larsson <alexl@redhat.com>
1922 Handle NULL attribute matchers safely, as we return this
1923 for empty attribute matcher strings.
1925 2008-01-03 Alexander Larsson <alexl@redhat.com>
1927 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1928 Add /usr/local to list of internal mountpoints
1930 2008-01-03 Alexander Larsson <alexl@redhat.com>
1933 Check for HAVE_LCHOWN (#505887)
1935 2008-01-03 Alexander Larsson <alexl@redhat.com>
1939 Add define for selinux context attribute.
1940 Fix missing : -> :: namespace separator change
1941 Fix missing _ -> - name change for xattr-sys.
1944 2008-01-03 Alexander Larsson <alexl@redhat.com>
1947 Link to libglib and libgobject directly (#504879)
1948 Patch from Sebastien Bacher
1950 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1952 * gfile.c: Expanded the g_file_new_for_commandline_arg
1953 description a bit, based on the code and the docs of the
1954 other g_file_new_for_* functions.
1956 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1958 * gfilemonitor.h: Fixed typo in docs.
1960 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1962 Updates to GIO documentation. (#506395, Mikael Hermansson)
1964 * gcontenttype.c: Describe memory management for return value of
1965 g_content_types_get_registered(). Missing piece from #505815.
1966 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1967 GVolume, GDrive, GMounts, which hopefully gives the user less
1968 confusions when using this API. Following explainations from
1969 Alexander Larsson on gtk-devel-list.
1971 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1973 * gfileinfo.c: Expand the long description.
1975 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1978 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1979 fix builds with --disable-visibility. (#500273, Christian Persch)
1981 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1983 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1984 in the list of returned app infos.
1986 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1988 * gappinfo.c: Fix a cross-reference
1990 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1992 * gfileinputstream.c:
1993 * gfileoutputstream.c:
1997 * gdesktopappinfo.c:
1999 * gfileinfo.c: Documentation updates.
2001 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2003 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2006 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2008 * gcontenttype.c (g_content_types_get_registered): Don't return
2009 freed memory (#505815, Mikael Hermansson)
2011 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2013 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2014 used to detect statbuf->st_blocks. (#505042)
2016 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2018 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2019 environment handling. (#504829, Cosimo Cecchi)
2021 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2023 * gappinfo.c: Doc improvements
2025 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2028 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2030 * === Released 2.15.0 ===
2032 2007-12-20 Hans Breuer <hans@breuer.org>
2034 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2035 with symbols gwin32appinfo.obj, added gmount.obj
2036 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2038 2007-12-20 Alexander Larsson <alexl@redhat.com>
2044 * gfilenamecompleter.c:
2047 * gpollfilemonitor.c:
2048 File attribute renames:
2050 fs:: -> filesystem::
2051 id::fs -> id::filesystem
2053 2007-12-20 Alexander Larsson <alexl@redhat.com>
2062 Add GMountUnmountFlags to all unmount and
2064 Add g_mount_remount() call.
2066 2007-12-20 Alexander Larsson <alexl@redhat.com>
2068 * gvfs.c (get_default_vfs):
2069 Fix unused variable warning
2071 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2073 * pltcheck.sh: Update
2075 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2077 * gunionvolumemonitor.c:
2078 * gunixmount.c: Remove C99 comments
2080 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2082 * gio.symbols: Add some missing symbols
2084 2007-12-19 Alexander Larsson <alexl@redhat.com>
2087 Make g_io_modules_load_all_in_directory not unuse
2088 loaded modules so that users of it can do stuff
2090 Init internal "module" types.
2091 Initialize static prio and name for types so that
2092 we don't have to load modules to get it.
2094 * gnativevolumemonitor.h:
2096 Move is_supported to parent class so that
2097 non-native monitors can avoid being initialized
2098 too. (For instance GDaemonVolumeMonitor if we're
2099 not using GDaemonVfs.)
2101 * glocaldirectorymonitor.[ch]:
2102 * glocalfilemonitor.[ch]:
2103 * gunionvolumemonitor.c:
2104 * gunixvolumemonitor.c:
2106 Find plugins using the static prio+name to
2107 avoid unnecessarily loading the modules.
2109 2007-12-19 Alexander Larsson <alexl@redhat.com>
2114 2007-12-19 Alexander Larsson <alexl@redhat.com>
2116 * gunionvolumemonitor.c:
2117 Store the native type as GType, not class so that
2118 we can unload it. But still avoid unnecessarily
2121 2007-12-19 David Zeuthen <davidz@redhat.com>
2123 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2124 add signals 'disconnected' and 'eject-button' on GDrive. Add
2125 signal 'removed' on GVolume and 'unmounted' on GMount.
2127 * gdrive.c: (g_drive_base_init):
2129 * gfile.c: (g_file_mount_mountable),
2130 (g_file_mount_enclosing_volume):
2133 * gmount.c: (g_mount_base_init):
2135 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2136 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2137 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2141 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2143 * *.c: Fix up includes in the section docs.
2145 2007-12-17 Alexander Larsson <alexl@redhat.com>
2147 * gnativevolumemonitor.h:
2148 * gunionvolumemonitor.c:
2149 * gunixvolumemonitor.c:
2150 Add is_supported() to GNativeVolumeMonitorClass so
2151 that we can avoid having to create an object to see
2152 if the backend is supported at runtime.
2153 Also add name member and an env var to pick a specific
2154 volume monitor backend.
2158 Add cancellable to _g_mount_get_for_mount_path()
2160 * glocaldirectorymonitor.c:
2161 * glocalfilemonitor.c:
2162 Avoid loading and unloading modules while sorting.
2164 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2167 * gunixmounts.[hc]: Namespace waste reduction, move some
2168 g_get_unix_mount functions to the g_unix_mount namespace.
2171 * gunixvolumemonitor.c:
2173 * glocaldirectorymonitor.c: Update all callers.
2175 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2177 2007-12-17 Alexander Larsson <alexl@redhat.com>
2180 Add doc comments about what GFile operations are
2181 guaranteed to not block.
2183 2007-12-17 Alexander Larsson <alexl@redhat.com>
2186 Add missing #ifdef fixing OSX build.
2187 (#503334, patch from Richard Hult)
2189 2007-12-14 David Zeuthen <davidz@redhat.com>
2193 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2194 (g_mount_eject), (g_mount_eject_finish):
2196 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2197 (get_volume_for_uuid), (get_mount_for_uuid),
2198 (g_union_volume_monitor_class_init),
2199 (get_default_native_type_with_exclude), (get_default_native_type),
2200 (get_native_type), (update_native_type),
2201 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2202 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2203 (g_unix_mount_can_eject), (eject_unmount_cb),
2204 (eject_unmount_read_error), (eject_unmount_do),
2205 (g_unix_mount_unmount), (g_unix_mount_eject),
2206 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2207 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2208 (g_unix_mount_point_guess_can_eject):
2210 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2211 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2212 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2213 (g_unix_volume_mount), (g_unix_volume_eject),
2214 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2215 * gunixvolumemonitor.c: (get_volume_for_uuid),
2216 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2218 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2219 (g_volume_eject), (g_volume_eject_finish):
2221 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2222 (g_volume_monitor_get_mount_for_uuid):
2225 Provide eject() on both GMount and GVolume and utility functions
2226 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2227 ejected. Introduce the concept of UUID's and wire it into GVolume
2228 and GMount and provide API on GVolumeMonitor to find such
2229 instances. Also handle the case where an external
2230 GNativeVolumeMonitor fails to initialize. Lock around the
2231 _g_get_mount_for_mount_path() function such that volume monitor
2232 implementations won't have to do locking themselves.
2234 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2236 * gdesktopappinfo.c:
2242 * gvolume.h: Documentation updates
2244 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2247 * gfile.h: Doc updates
2249 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2252 * gdesktopappinfo.c: Use hash table iterators.
2254 2007-12-14 Alexander Larsson <alexl@redhat.com>
2257 * gfileattribute.[ch]:
2258 * gfileattribute-priv.h:
2259 Move GFileAttributeValue to a private header, as
2263 Make set_attribute take a type + a pointer instead
2264 of a GFileAttributeValue.
2267 Fix up for above changes.
2268 Add g_file_info_get_attribute_data to get
2269 all info in one call, g_file_info_get_attribute_status
2270 to get the status and g_file_info_get_attribute_as_string.
2274 * glocalfileinfo.[ch]:
2278 Make _guess_type static.
2280 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2283 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2284 made mkenums and friends use temporary files to avoid leaving
2285 empty generated files on failure (#503470).
2287 2007-12-14 Alexander Larsson <alexl@redhat.com>
2289 * gmountoperation.h:
2292 2007-12-14 Alexander Larsson <alexl@redhat.com>
2296 * gfileattribute.[ch]:
2299 * glocalfileoutputstream.c:
2300 * gmountoperation.[ch]:
2301 * goutputstream.[ch]:
2302 Clean up all flags enums to not have _FLAGS in them
2303 Make the names of some of the enums better.
2308 2007-12-14 Michael Natterer <mitch@imendio.com>
2310 * gio.symbols: fix g_io_scheduler symbol names.
2312 2007-12-14 Alexander Larsson <alexl@redhat.com>
2318 * gbufferedinputstream.h:
2319 * gbufferedoutputstream.h:
2322 * gdatainputstream.h:
2323 * gdataoutputstream.h:
2324 * gdesktopappinfo.h:
2325 * gdirectorymonitor.h:
2329 * gfileenumerator.h:
2332 * gfileinputstream.h:
2334 * gfilenamecompleter.h:
2335 * gfileoutputstream.h:
2336 * gfilterinputstream.h:
2337 * gfilteroutputstream.h:
2345 * gmemoryinputstream.h:
2346 * gmemoryoutputstream.h:
2348 * gmountoperation.h:
2351 * gsimpleasyncresult.h:
2353 * gunixinputstream.h:
2355 * gunixoutputstream.h:
2359 * inotify/Makefile.am:
2360 Only allow including <gio/gio.h> from apps
2362 2007-12-14 Alexander Larsson <alexl@redhat.com>
2364 * gioscheduler.[ch]:
2365 * gsimpleasyncresult.c:
2366 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2367 Split out the send_to_mainloop call into two versions instead
2368 of having the block argument.
2370 2007-12-13 Alexander Larsson <alexl@redhat.com>
2372 * gcancellable.[ch]:
2374 * gbufferedinputstream.c:
2375 * gfileenumerator.c:
2376 * gfileinputstream.c:
2377 * gfileoutputstream.c:
2381 g_push/pop_current_cancellable ->
2382 g_cancellable_push/pop_current
2384 2007-12-13 Alexander Larsson <alexl@redhat.com>
2388 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2390 2007-12-13 Alexander Larsson <alexl@redhat.com>
2392 * gmountoperation.h:
2393 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2395 2007-12-12 Alexander Larsson <alexl@redhat.com>
2398 Fix race condition when freeing proxy in
2399 g_io_job_send_to_mainloop().
2401 2007-12-12 Alexander Larsson <alexl@redhat.com>
2407 Make attribute namespace separator "::" instead of ":".
2408 Use - instead of _ as separator in attribute names.
2410 2007-12-12 Alexander Larsson <alexl@redhat.com>
2412 * gbufferedinputstream.h:
2413 * gbufferedoutputstream.h:
2414 * gdatainputstream.h:
2415 * gdataoutputstream.h:
2416 * gdirectorymonitor.h:
2417 * gfileenumerator.h:
2418 * gfileinputstream.h:
2420 * gfileoutputstream.h:
2421 * gfilterinputstream.h:
2422 * gfilteroutputstream.h:
2424 * glocalfileinputstream.h:
2425 * glocalfileoutputstream.h:
2426 * gmemoryinputstream.h:
2427 * gmemoryoutputstream.h:
2428 * gnativevolumemonitor.h:
2430 * gunixinputstream.h:
2431 * gunixoutputstream.h:
2434 s/parent/parent_instance/ in GObjects
2436 2007-12-12 Alexander Larsson <alexl@redhat.com>
2441 No need for padding for interfaces
2443 2007-12-12 Alexander Larsson <alexl@redhat.com>
2447 * gbufferedinputstream.c:
2448 * gbufferedoutputstream.c:
2451 * gdatainputstream.[ch]:
2452 * gdesktopappinfo.c:
2453 * gdirectorymonitor.c:
2455 * gfileattribute.[ch]:
2458 * gfileinputstream.h:
2459 * gfilemonitor.[ch]:
2460 * gfileoutputstream.[ch]:
2461 * gfilterinputstream.h:
2462 * gfilteroutputstream.h:
2465 * gloadableicon.[ch]:
2466 * gmemoryinputstream.c:
2467 * gmountoperation.c:
2469 Fix up a bunch of details in the docs.
2474 2007-12-11 David Zeuthen <davidz@redhat.com>
2476 Rework how volumes, drives and volume monitoring is
2477 done. Previosly the model was
2479 GDrive <1-1> GVolume
2481 where a GDrive instance represented a mount point and a GVolume
2482 instance represented a mounted file system. This patch changes it
2485 GDrive <1-N> GVolume <1-1> GMount
2487 where GMount now serves the purpose of the old GVolume and the new
2488 GVolume serves the purpose of the old GDrive. In addition the new
2489 GDrive interface is used to represent a collection of GVolume
2490 instances (typically partitions) and also contains utility to query
2491 the state of the physical drive the GDrive object represents (such
2492 as checking for media, polling the drive, ejecting the media etc.).
2494 Also implement mounting and unmounting in the Unix volume monitor
2495 backend. A subquent patch will introduce GDrive support for ejection
2499 * gdrive.c: (g_drive_is_media_check_automatic),
2500 (g_drive_is_media_removable), (g_drive_has_media),
2501 (g_drive_can_poll_for_media), (g_drive_eject),
2502 (g_drive_eject_finish), (g_drive_poll_for_media),
2503 (g_drive_poll_for_media_finish):
2505 * gfile.c: (g_file_find_enclosing_mount):
2508 * glocaldirectorymonitor.c:
2509 (g_local_directory_monitor_constructor), (mounts_changed):
2510 * glocalfile.c: (get_mount_info),
2511 (g_local_file_find_enclosing_mount),
2512 (g_local_file_file_iface_init):
2513 * gnativevolumemonitor.h:
2514 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2515 (get_connected_drives), (g_union_volume_monitor_class_init),
2516 (child_volume_added), (child_volume_removed),
2517 (child_volume_changed), (child_mount_added), (child_mount_removed),
2518 (child_mount_pre_unmount), (child_mount_changed),
2519 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2520 (g_union_volume_monitor_remove_monitor),
2521 (_g_mount_get_for_mount_path):
2522 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2523 (guess_system_internal), (_g_get_unix_mounts),
2524 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2525 (g_unix_mount_free), (g_unix_mount_compare),
2526 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2527 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2528 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2529 (type_to_icon), (g_unix_mount_guess_name),
2530 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2531 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2532 (_resolve_symlink), (_resolve_dev_root):
2534 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2535 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2536 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2537 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2538 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2539 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2540 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2541 (g_unix_volume_volume_iface_init):
2543 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2544 (get_mounts), (get_volumes), (get_connected_drives),
2545 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2546 (mountpoints_changed), (mounts_changed),
2547 (g_unix_volume_monitor_init),
2548 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2549 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2550 * gunixvolumemonitor.h:
2551 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2552 (g_volume_mount), (g_volume_mount_finish):
2554 * gvolumemonitor.c: (g_volume_monitor_class_init),
2555 (g_volume_monitor_get_connected_drives),
2556 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2559 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2561 * gmountoperation.h (GPasswordFlags): Close the gap
2563 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2565 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2567 * gdesktopappinfo.[hc]: Remove _-prefixes
2569 2007-12-10 Tor Lillqvist <tml@novell.com>
2571 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2574 2007-12-10 Alexander Larsson <alexl@redhat.com>
2576 * gfile.c (g_file_set_display_name):
2577 Don't hardcode '/' (#502727)
2579 2007-12-09 Hans Breuer <hans@breuer.org>
2581 * makefile.msc : follow lib naming convention
2582 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2583 for user and group name, tested with ../tests/gio-ls
2585 2007-12-09 A. Walton <awalton@svn.gnome.org>
2587 * gdesktopappinfo.c:
2593 * gfileenumerator.c:
2598 * gmemoryinputstream.c:
2599 * gmemoryoutputstream.c:
2601 * gsimpleasyncresult.c:
2602 More documentation cleanup and filling in missing information, bringing
2603 GIO to 99% symbol coverage.
2605 2007-12-08 Hans Breuer <hans@breuer.org>
2607 [gio compiles and links on win32, not sure how much already works]
2608 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2609 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2610 base on win32 API; prefer g_lstat() over lstat(); instead of
2611 localtime_r() use an all GLib implementation on win32;
2612 get_mount_info() still needs a win32 specifc implementation
2613 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2614 win32_get_file_user_info to get owner/group info without uid/gid
2615 * glocalfileinputstream.c : include <io.h> on win32
2616 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2617 definition, use g_win32_ftruncate() for G_OS_WIN32
2618 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2619 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2620 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2621 * makefile.msc : updated
2623 2007-12-07 Alexander Larsson <alexl@redhat.com>
2625 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2626 Avoid warning spew if error == NULL
2628 2007-12-07 Alexander Larsson <alexl@redhat.com>
2631 Update docs wrt etags
2633 2007-12-06 Alexander Larsson <alexl@redhat.com>
2636 Include sys/types.h for dev_t (#501919)
2638 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2642 Make abicheck and pltcheck pass.
2644 2007-12-05 Alexander Larsson <alexl@redhat.com>
2647 * giomodule-priv.h: Added.
2648 * glocaldirectorymonitor.c:
2649 * glocalfilemonitor.c:
2650 * gunionvolumemonitor.c:
2652 Actually add the declaration of _g_io_modules_ensure_loaded
2654 2007-12-05 Alexander Larsson <alexl@redhat.com>
2656 * gdatainputstream.c:
2661 * glocaldirectorymonitor.c:
2662 * glocalfilemonitor.c:
2663 * gunionvolumemonitor.c:
2665 Make g_io_modules_ensure_loaded a private function and
2666 don't pass in the dirname. This means we can do magic
2667 directory finding in the win32 version.
2668 Export the actual load-modules-in-directory code so that
2669 gvfs can reuse that.
2671 2007-12-05 Alexander Larsson <alexl@redhat.com>
2673 * gbufferedinputstream.c:
2674 * gbufferedoutputstream.c:
2677 * gfileenumerator.[ch]:
2678 * gfileinputstream.c:
2679 * gfileoutputstream.[ch]:
2680 * gfilterinputstream.c:
2681 * gfilteroutputstream.c:
2682 * ginputstream.[ch]:
2684 * glocalfileenumerator.c:
2685 * glocalfileinputstream.c:
2686 * glocalfileoutputstream.c:
2687 * gmemoryinputstream.c:
2688 * gmemoryoutputstream.c:
2689 * goutputstream.[ch]:
2692 * gunixinputstream.c:
2693 * gunixoutputstream.c:
2694 Rename all struct members named:
2695 read, write, close, truncate, or mount
2696 to foo_fn, as these are reserved names
2697 and could be defined as macros in libc.
2700 2007-12-04 Alexander Larsson <alexl@redhat.com>
2703 (g_output_stream_close):
2704 Only call flush if non-null.
2706 2007-11-30 Dan Winship <danw@gnome.org>
2708 * ginputstream.c (g_input_stream_set_pending): Make this take a
2709 GError and return a gboolean, and do the "outstanding operation"
2710 check (and the "stream is already closed" check) itself.
2711 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2713 * goutputstream.c (g_output_stream_set_pending)
2714 (g_output_stream_clear_pending): Likewise
2716 * gbufferedinputstream.c:
2717 * gfileinputstream.c:
2718 * gfileoutputstream.c: Update for that
2720 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2721 Like g_simple_async_report_error_in_idle, but takes a GError
2722 rather than building one.
2724 2007-11-30 Dan Winship <danw@gnome.org>
2726 * goutputstream.c: Don't cheat and unset the "pending" flag around
2727 inner calls. Instead, call the class method directly rather than
2728 the wrapper function that checks "pending"
2730 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2732 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2734 2007-12-03 Hans Breuer <hans@breuer.org>
2736 [start of port to win32/msvc]
2737 * gcancellable.c : HAVE_UNIST_H and _pipe()
2738 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2739 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2740 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2742 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2743 * glocalvfs.c : use HAVE_PWD_H
2744 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2745 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2746 * Makefile.am : added to EXTRA_DIST
2748 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2750 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2753 2007-12-03 Alexander Larsson <alexl@redhat.com>
2756 Handle OSX style xattrs API (#500506)
2758 2007-12-03 Alexander Larsson <alexl@redhat.com>
2762 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2764 2007-12-02 A. Walton <awalton@svn.gnome.org>
2768 Documentation accuracy fixes.
2770 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2772 * gioenumtypes.c.template: Fix typo.
2774 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2776 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2778 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2780 * gdirectorymonitor.c:
2781 * gfilemonitor.c: Add properties
2783 * gbufferedoutputstream.c: Don't mark buffer-size property
2786 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2788 * gbufferedoutputstream.c: Add auto-grow property.
2790 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2792 * *.c: Unify the capitalization of section headings.
2794 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2796 * gmountoperation.c: Add properties
2798 * gdatainputstream.c: Turn byte-order and newline-type into
2801 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2803 * gioenumtypes.[hc].template: Templates for enum registration
2805 * Makefile.am: Generate gioenumtypes.[hc]
2807 * gio.h: Include gioenumtypes.h
2809 * gfile.h: Add some explicit nicks.
2811 * gio.symbols: Add new symbols
2813 * pltcheck.sh: Adjust
2815 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2817 * *.c: Explain etags and link to the explanation
2819 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2821 * *.c: Explain I/O priority.
2823 * *.c: More coding style fixes.
2825 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2827 * gasyncresult.c: Add another paragraph to the intro,
2828 adjust coding style of example.
2830 2007-11-29 A. Walton <awalton@svn.gnome.org>
2833 Fixes unknown meaning in GAppLaunchContext docs.
2835 Clarify asynchronous ops.
2837 Fix entity tag docs.
2840 Provides missing gtk-doc section, fixes API docs slighly.
2841 * gsimpleasyncresult.c:
2842 Fill in missing info in docs.
2843 * gunixinputstream.c:
2844 * gunixoutputstream.c:
2845 Be more expressive in short description.
2847 Remove gtk-doc stubs for non-public API.
2849 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2851 * *.c: Coding style fixups
2853 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2855 * inotify/inotify-helper.c: Don't export the lock from libgio.
2857 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2860 * abicheck.sh: Fix copy-and-paste leftovers
2862 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2864 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2866 2007-11-28 Alexander Larsson <alexl@redhat.com>
2870 Removed unnecessary file
2872 * gdesktopappinfo.[ch]:
2875 * glocaldirectorymonitor.[ch]:
2877 * glocalfileenumerator.[ch]:
2878 * glocalfileinputstream.[ch]:
2879 * glocalfilemonitor.[ch]:
2880 * glocalfileoutputstream.[ch]:
2882 * gnativevolumemonitor.c:
2883 * gpollfilemonitor.[ch]:
2884 * gunionvolumemonitor.[ch]:
2887 * gunixvolumemonitor.[ch]:
2890 * inotify/ginotifydirectorymonitor.[ch]:
2891 * inotify/ginotifyfilemonitor.[ch]:
2892 * inotify/inotify-helper.c:
2893 Append _ to all internal functions
2897 Export symbols needed for modules
2899 2007-11-28 Alexander Larsson <alexl@redhat.com>
2902 * abicheck.sh: Added.
2903 * makegioalias.pl: Added.
2904 * pltcheck.sh: Added.
2905 * gio.symbols: Added.
2908 Initial work on adding symbol handling.
2911 Correct ifdef guard name
2914 * inotify/Makefile.am:
2915 * xdgmime/Makefile.am:
2916 Include toplevel Makefile.decl
2918 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2920 * gcontenttype.c: Move doc comments to the unix section.
2922 * *.[hc]: More trivial doc corrections.
2924 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2926 * gpollfilemonitor.c:
2930 * gdesktopappinfo.c:
2935 * gdatainputstream.c:
2936 * gdatainputstream.h:
2937 * gdataoutputstream.c:
2938 * gdataoutputstream.h:
2939 * gfileinfo.h: Doc cleanups
2941 2007-11-28 Andre Klapper <a9016009@gmx.de>
2943 * gdesktopappinfo.c: Fix a typo.
2945 2007-11-27 Andre Klapper <a9016009@gmx.de>
2947 * glocalfileoutputstream.c: Fix a typo.
2949 2007-11-27 Alexander Larsson <alexl@redhat.com>
2952 Don't include removed headers
2954 2007-11-27 Alexander Larsson <alexl@redhat.com>
2957 * gsocketinputstream.[ch]: Removed.
2958 * gsocketoutputstream.[ch]: Removed.
2959 * gunixinputstream.[ch]: Added.
2960 * gunixoutputstream.[ch]: Added.
2961 Renamed GSocket*Stream to GUnix*Stream and made
2962 it unix-only, since its not really only for sockets
2963 and it only works on unix (but is highly useful there).
2965 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2971 * gbufferedinputstream.c:
2972 * gbufferedinputstream.h:
2973 * gbufferedoutputstream.c:
2974 * gbufferedoutputstream.h:
2978 * gdatainputstream.c:
2979 * gdatainputstream.h:
2980 * gdataoutputstream.c:
2981 * gdataoutputstream.h:
2982 * gdirectorymonitor.c:
2983 * gdirectorymonitor.h:
2990 * gfileenumerator.c:
2991 * gfileenumerator.h:
2996 * gfileinputstream.c:
2997 * gfileinputstream.h:
3000 * gfilenamecompleter.c:
3001 * gfilenamecompleter.h:
3002 * gfileoutputstream.c:
3003 * gfileoutputstream.h:
3004 * gfilterinputstream.c:
3005 * gfilterinputstream.h:
3006 * gfilteroutputstream.c:
3007 * gfilteroutputstream.h:
3020 * glocalfileoutputstream.c:
3021 * gmemoryinputstream.c:
3022 * gmemoryinputstream.h:
3023 * gmemoryoutputstream.c:
3024 * gmemoryoutputstream.h:
3025 * gmountoperation.c:
3026 * gmountoperation.h:
3029 * gpollfilemonitor.c:
3032 * gsimpleasyncresult.c:
3033 * gsimpleasyncresult.h:
3034 * gsocketinputstream.c:
3035 * gsocketinputstream.h:
3036 * gsocketoutputstream.c:
3037 * gsocketoutputstream.h:
3044 * gunixvolumemonitor.c:
3053 Bumps documentation to 93% symbol coverage, touching most
3054 of the public files. Fixes broken function documentation prototypes.
3055 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3056 gtk-doc headers in private files.
3058 2007-11-27 Jürg Billeter <j@bitron.ch>
3060 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3061 (g_buffered_input_stream_read_byte):
3062 * gbufferedinputstream.h:
3063 New functions for efficient access to buffer and simple single byte
3066 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3067 (g_data_input_stream_read_until):
3068 * gdatainputstream.h:
3069 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3070 read_until with multiple stop chars.
3072 2007-11-27 Alexander Larsson <alexl@redhat.com>
3076 * inotify/Makefile.am:
3077 Use the user-specified giomoduledir
3079 2007-11-27 Alexander Larsson <alexl@redhat.com>
3083 Add catch-all gio.h header
3084 Don't install gdummyfile.h
3086 2007-11-26 Alexander Larsson <alexl@redhat.com>
3088 * Makefile.am (gioinclude_HEADERS):
3089 Remove trailing whitespace
3091 2007-11-26 Alexander Larsson <alexl@redhat.com>
3093 Merge gio-standalone into glib
3095 2007-11-25 Christian Kellner <gicmo@gnome.org>
3097 * gio/goutputstream.c:
3098 Fix small mistake in the docs.
3100 2007-11-21 Christian Persch <chpe@gnome.org>
3102 * gio/glocalfile.c: (g_local_file_trash):
3103 Convert filenames to UTF-8 for GError.
3104 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3105 as per xdg base dir spec.
3107 2007-11-21 Christian Persch <chpe@gnome.org>
3109 * gio/gdesktopappinfo.c:
3110 Use that g_key_file_to_data cannot fail.
3112 Use stock defines for the key file group and key names.
3115 2007-11-21 Alexander Larsson <alexl@redhat.com>
3118 (copy_stream_with_progress):
3119 Make sure we do a final progress callback with
3120 the full total size.
3122 2007-11-21 Alexander Larsson <alexl@redhat.com>
3125 Export g_file_copy_attributes
3126 Remove padding as its not needed for interfaces
3128 2007-11-20 Alexander Larsson <alexl@redhat.com>
3133 Add G_IO_ERROR_WOULD_MERGE for
3134 copy/move dir on dir with overwrite.
3136 2007-11-20 Alexander Larsson <alexl@redhat.com>
3139 * gio/glocalfileinfo.c:
3140 Add COPY_NAME (this is an optional
3141 non-modified utf8 version of the name) that
3144 2007-11-20 Alexander Larsson <alexl@redhat.com>
3146 * gio/glocalfileenumerator.c:
3147 Report errors as GIOError, not GFileError
3149 2007-11-16 Alexander Larsson <alexl@redhat.com>
3151 * gio/glocalfileoutputstream.c:
3152 * gio/gwin32appinfo.c:
3153 Fix typos in strings.
3154 Patch from Luca Ferretti <elle.uca@libero.it>
3156 2007-11-15 Alexander Larsson <alexl@redhat.com>
3159 Post release version bump
3161 === gio-standalone 0.1.2 ===
3163 2007-11-15 Alexander Larsson <alexl@redhat.com>
3165 * docs/reference/gio/Makefile.am:
3166 Fix up distcheck by removing weird
3172 2007-11-14 Alexander Larsson <alexl@redhat.com>
3174 * gio/gdesktopappinfo.c:
3175 * gio/glocaldirectorymonitor.c:
3177 * gio/glocalfileinfo.c:
3178 * gio/inotify/inotify-sub.c:
3179 * programs/gio-cat.c:
3180 * programs/gio-copy.c:
3181 * programs/gio-info.c:
3182 * programs/gio-ls.c:
3183 * programs/gio-monitor-dir.c:
3184 * programs/gio-monitor-file.c:
3185 * programs/gio-mount.c:
3186 * programs/gio-move.c:
3187 * programs/gio-rm.c:
3188 * programs/gio-save.c:
3189 * programs/gio-trash.c:
3190 Leak fixes from Kjartan Maraas
3192 2007-11-14 Alexander Larsson <alexl@redhat.com>
3194 * gio/fam/fam-helper.c:
3196 * gio/glocalfileinfo.c:
3200 * gio/inotify/inotify-diag.c:
3201 * gio/inotify/inotify-kernel.c:
3202 Various code cleanups from Kjartan Maraas
3204 2007-11-14 Alexander Larsson <alexl@redhat.com>
3206 * gio/gioscheduler.c:
3208 Set up threadpool so that we cache 2 unused
3209 idle threads for at 15 secs. This means we
3210 will reuse thread-local data (like dbus connections)
3213 2007-11-14 Alexander Larsson <alexl@redhat.com>
3215 * gio/fam/fam-helper.c:
3216 * gio/fam/gfamdirectorymonitor.c:
3217 * gio/fam/gfamfilemonitor.c:
3219 * gio/gcontenttype.c:
3220 * gio/gdatainputstream.c:
3221 * gio/gdataoutputstream.c:
3225 * gio/gfileattribute.h:
3226 * gio/gfileenumerator.c:
3228 * gio/ginputstream.c:
3231 * gio/glocalfileinfo.c:
3232 * gio/goutputstream.c:
3233 * gio/gpollfilemonitor.c:
3234 * gio/gsimpleasyncresult.c:
3235 * gio/gunixmounts.c:
3236 * gio/gunixmounts.h:
3237 * gio/inotify/ginotifydirectorymonitor.c:
3238 * gio/inotify/ginotifyfilemonitor.c:
3239 * gio/inotify/inotify-diag.c:
3240 * gio/inotify/inotify-kernel.c:
3241 * gio/inotify/inotify-path.c:
3243 * gio/test-streams.c:
3244 * programs/gio-info.c:
3245 * programs/gio-monitor-dir.c:
3246 * programs/gio-monitor-file.c:
3247 Various code cleanups from Kjartan Maraas
3249 2007-11-13 Alexander Larsson <alexl@redhat.com>
3252 Handle the uri-scheme calls for dummy files
3254 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3256 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3257 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3258 to avoid clash with the C++ keyword.
3260 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3262 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3263 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3265 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3267 * gio/glocaldirectorymonitor.c:
3268 * gio/glocalfilemonitor.c:
3269 * gio/gunionvolumemonitor.c:
3270 Don't use g_once_init_*() for initializations that could fail and
3271 could leave the initialization variable set to 0 but use GOnce.
3272 This prevents a deadlock on the second call when trying to create
3273 a monitor and no monitor type is available. Thanks to Sven Herzberg
3276 2007-11-11 Sven Herzberg <sven@imendio.com>
3278 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3279 #ifdef (make it work on MacOS X again)
3281 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3283 Fixes Changelog for last two commits (sorry guys).
3285 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3287 * gio/gbufferedinputstream.c:
3288 * gio/gdatainputstream.c:
3290 * gio/gfileoutputstream.c:
3291 * gio/gfilterinputstream.c:
3292 * gio/glocalfileinputstream.c:
3295 More consistency fixes in g*stream.c files.
3296 Significant clean of gfile's documentation, filling in of
3297 asynchronous operations documentation.
3299 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3301 * gio/gasyncresult.c:
3302 * gio/gbufferedinputstream.c:
3303 * gio/gbufferedoutputstream.c:
3304 * gio/gcancellable.c:
3305 * gio/gcontenttype.c:
3306 * gio/gdatainputstream.c:
3307 * gio/gdataoutputstream.c:
3308 * gio/gdesktopappinfo.c:
3311 * gio/gfileattribute.c:
3312 * gio/gio/gfileenumerator.c:
3314 * gio/gfileinputstream.c:
3315 * gio/gfilemonitor.c:
3316 * gio/gfileoutputstream.c:
3317 * gio/ginputstream.c:
3319 * gio/gioscheduler.c:
3320 * gio/gloadableicon.c:
3321 * gio/glocalfileoutputstream.c:
3322 * gio/gmemoryoutputstream.c:
3323 * gio/gmountoperation.c:
3324 * gio/goutputstream.c:
3326 * gio/gsimpleasyncresult.c:
3327 * gio/gunionvolumemonitor.c:
3328 * gio/gunixmounts.c:
3329 * gio/gunixvolume.c:
3333 * gio/gvolumemonitor.c:
3334 Updated documentation stubs, working towards consistency and
3337 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3339 * gio/gmemoryoutputstream.c:
3340 * gio/gmemoryoutputstream.h:
3341 Change g_memory_output_stream_set_free_on_close() to
3342 g_memory_output_stream_set_free_data() as this makes more sense and
3343 is more consistent with GMemoryInputStream.
3345 2007-11-07 Alexander Larsson <alexl@redhat.com>
3352 Change how we find the default vfs so that
3353 we can handle a gvfs failing to init
3355 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3357 * gio/gbufferedoutputstream.c:
3358 * gio/gdatainputstream.c:
3359 * gio/gdataoutputstream.c:
3360 * gio/gfileinputstream.c:
3361 * gio/gfileoutputstream.c:
3362 * gio/gfilterinputstream.c:
3363 * gio/gfilteroutputstream.c:
3364 * gio/ginputstream.c:
3365 * gio/gmemoryinputstream.c:
3366 * gio/gmemoryoutputstream.c:
3367 * gio/goutputstream.c:
3368 * gio/gsimpleasyncresult.c:
3369 * gio/gsocketinputstream.c:
3370 * gio/gsocketoutputstream.c:
3371 Add guards to the remaining public functions, add a TODO for
3372 an unimplemented function and remove some useless guards.
3374 2007-11-07 Alexander Larsson <alexl@redhat.com>
3377 Autoconf checks for the various types of
3378 getpwuid_r and getgrgid_r
3380 * gio/glocalfileinfo.c:
3381 Use the autoconf checks from above
3383 2007-11-07 Alexander Larsson <alexl@redhat.com>
3386 (g_local_file_query_filesystem_info):
3387 Some fixes for the statvfs case
3389 2007-11-07 Alexander Larsson <alexl@redhat.com>
3392 (g_local_file_query_filesystem_info):
3393 Pick the "best" of statfs / statvfs for the system
3394 if both are availible.
3396 2007-11-07 Alexander Larsson <alexl@redhat.com>
3398 Solaris fixes from Halton.Huo@Sun.COM:
3405 * gio/glocalfileinfo.c:
3406 Fix for solaris definition of getpwuid_r
3408 * gio/test-streams.c:
3409 Use G_GNUC_PRETTY_FUNCTION
3411 2007-11-07 Alexander Larsson <alexl@redhat.com>
3413 * gio/gdesktopappinfo.c:
3414 (update_default_list):
3415 Remove double semicolon.
3416 Patch from Jens Granseuer
3418 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3420 * docs/reference/gio/gio-sections.txt:
3421 * gio/gbufferedinputstream.c:
3422 * gio/gbufferedinputstream.h:
3423 * gio/gdatainputstream.c:
3424 * gio/gfileenumerator.c:
3425 * gio/gioscheduler.c:
3426 * gio/gunionvolumemonitor.c:
3428 * programs/gio-save.c:
3429 Fix typo: availible -> available. Unfortuntely this breaks API
3430 and ABI as g_buffered_input_stream_get_available() was renamed.
3432 * gio/gunixmounts.c:
3433 * gio/gbufferedinputstream.c:
3434 Add guards for public functions.
3436 2007-11-06 Ross Burton <ross@openedhand.com>
3438 * docs/reference/gio/Makefile.am:
3439 Fix invalid += usage which automake 1.10 doesn't like.
3441 2007-11-06 Alexander Larsson <alexl@redhat.com>
3444 (g_app_launch_context_class_init):
3447 Patch from Ross Burton
3449 2007-11-06 Alexander Larsson <alexl@redhat.com>
3452 Post release version bump
3454 === gio-standalone 0.1.1 ===
3456 2007-11-06 Alexander Larsson <alexl@redhat.com>
3459 Bump version to 0.1.1
3461 * gio/gsimpleasyncresult.c:
3462 (g_simple_async_result_set_from_error):
3463 Remove bogus g_return_if_fail
3465 2007-11-06 Alexander Larsson <alexl@redhat.com>
3468 The name is gio-standalone
3471 Add top src/builddir to includedir
3473 2007-11-06 Alexander Larsson <alexl@redhat.com>
3475 * docs/reference/gio/gio-sections.txt:
3477 * gio/gbufferedinputstream.c:
3478 * gio/gbufferedoutputstream.c:
3479 * gio/gcancellable.c:
3480 * gio/gdatainputstream.h:
3481 * gio/gdataoutputstream.c:
3482 * gio/gdataoutputstream.h:
3483 * gio/gdirectorymonitor.c:
3485 * gio/gfileattribute.c:
3486 * gio/gfileattribute.h:
3487 * gio/gfileenumerator.c:
3488 * gio/gfileenumerator.h:
3491 * gio/gfileinputstream.h:
3492 * gio/gfilemonitor.c:
3493 * gio/gfileoutputstream.h:
3494 * gio/glocalfilemonitor.h:
3495 * gio/glocalfileoutputstream.h:
3496 * gio/gmemoryinputstream.c:
3497 * gio/gmemoryoutputstream.c:
3498 * gio/gmountoperation.c:
3499 * gio/goutputstream.c:
3500 * gio/goutputstream.h:
3502 * gio/gsimpleasyncresult.c:
3503 * gio/gunixmounts.c:
3504 * gio/gunixmounts.h:
3506 * gio/inotify/inotify-helper.c:
3507 Fix gtk-doc warnings
3509 Patch from Ross Burton
3511 2007-11-06 Alexander Larsson <alexl@redhat.com>
3513 * gio/gfilenamecompleter.c:
3514 (g_filename_completer_get_completions):
3517 * gio/gunixvolume.c:
3518 Remove unused function
3520 Patches from Ross Burton
3522 2007-11-06 Alexander Larsson <alexl@redhat.com>
3527 Padding not needed for interfaces
3529 2007-11-06 Alexander Larsson <alexl@redhat.com>
3531 * gio/gfilemonitor.c:
3535 Make giotypes.h an internal file
3538 * gio/gbufferedinputstream.h:
3539 * gio/gbufferedoutputstream.h:
3540 * gio/gcancellable.h:
3541 * gio/gdatainputstream.h:
3542 * gio/gdataoutputstream.h:
3543 * gio/gdirectorymonitor.c:
3544 * gio/gdirectorymonitor.h:
3549 * gio/gfileattribute.h:
3550 * gio/gfileenumerator.h:
3555 * gio/gfilemonitor.c:
3556 * gio/gfilemonitor.h:
3557 * gio/gfilenamecompleter.c:
3558 * gio/gfilenamecompleter.h:
3559 * gio/gfilterinputstream.h:
3560 * gio/gfilteroutputstream.h:
3561 * gio/ginputstream.h:
3562 * gio/gmemoryinputstream.h:
3563 * gio/gmemoryoutputstream.h:
3564 * gio/gmountoperation.c:
3565 * gio/gmountoperation.h:
3566 * gio/gnativevolumemonitor.c:
3567 * gio/goutputstream.h:
3570 * gio/gsimpleasyncresult.c:
3571 * gio/gsimpleasyncresult.h:
3572 * gio/gsocketinputstream.h:
3573 * gio/gsocketoutputstream.h:
3574 * gio/gthemedicon.c:
3575 * gio/gthemedicon.h:
3579 * gio/gvolumemonitor.c:
3580 * gio/gvolumemonitor.h:
3581 Add padding in classes where it seems useful
3582 Don't include giotypes.h from public headers
3583 Move in Class definitions into c file where possible
3588 2007-11-06 Alexander Larsson <alexl@redhat.com>
3590 * docs/reference/gio/gio-docs.xml:
3591 Better structure for API docs
3593 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3596 * gio/gloadableicon.c:
3597 * gio/gsimpleasyncresult.c:
3598 * gio/gthemedicon.c:
3599 Add some more guards to public functions. Only files missing are now
3602 2007-11-06 Alexander Larsson <alexl@redhat.com>
3604 * docs/reference/gio/gio-docs.xml:
3605 Remove old files, add missing ones
3607 2007-11-06 Alexander Larsson <alexl@redhat.com>
3609 * docs/reference/gio/gio-sections.txt:
3612 Hide implementation classes
3614 * gio/gdriveprivate.h:
3615 * gio/gvolumeprivate.h:
3616 Remove non-existing function declarations
3618 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3621 Fix compilation warnings and add guards to the new functions.
3623 * gio/gasyncresult.c:
3625 Add guards to the public functions.
3628 Implement get_path().
3630 2007-11-06 Alexander Larsson <alexl@redhat.com>
3632 * gio/gfilenamecompleter.c:
3633 Make g_filename_completer_get_completions
3634 return char ** instead of GList for
3637 * docs/reference/gio/gio-docs.xml:
3638 * docs/reference/gio/gio-sections.txt:
3640 * gio/gasyncresult.c:
3641 * gio/gbufferedinputstream.c:
3642 * gio/gbufferedoutputstream.c:
3643 * gio/gcancellable.c:
3644 * gio/gcontenttype.c:
3645 * gio/gdatainputstream.c:
3646 * gio/gdataoutputstream.c:
3647 * gio/gdesktopappinfo.c:
3648 * gio/gdirectorymonitor.c:
3652 * gio/gfileattribute.c:
3653 * gio/gfileenumerator.c:
3656 * gio/gfileinputstream.c:
3657 * gio/gfilemonitor.c:
3658 * gio/gfilenamecompleter.c:
3659 * gio/gfilenamecompleter.h:
3660 * gio/gfileoutputstream.c:
3661 * gio/gfilterinputstream.c:
3663 * gio/ginputstream.c:
3665 * gio/gioscheduler.c:
3666 * gio/gloadableicon.c:
3667 * gio/glocaldirectorymonitor.c:
3669 * gio/glocalfileinputstream.c:
3670 * gio/glocalfilemonitor.c:
3671 * gio/glocalfileoutputstream.c:
3673 * gio/gmemoryinputstream.c:
3674 * gio/gmemoryoutputstream.c:
3675 * gio/gmountoperation.c:
3676 * gio/goutputstream.c:
3677 * gio/gpollfilemonitor.c:
3679 * gio/gsimpleasyncresult.c:
3680 * gio/gsocketinputstream.c:
3681 * gio/gsocketoutputstream.c:
3682 * gio/gthemedicon.c:
3683 * gio/gunionvolumemonitor.c:
3685 * gio/gunixmounts.c:
3686 * gio/gunixvolume.c:
3687 * gio/gunixvolumemonitor.c:
3691 * gio/gvolumemonitor.c:
3692 * gio/gwin32appinfo.c:
3693 Add (mostly stub) doc strings to public functions.
3694 Patch from Andrew Walton (awalton@gmail.com)
3696 2007-11-06 Alexander Larsson <alexl@redhat.com>
3698 * gio/gappinfo.[ch]:
3699 Added GAppLaunchContext object and pass that to launch.
3700 This allows simple implementation of both
3701 launch-on-screen and startup notification via a gtk+
3702 subclass of GAppLaunchContext
3704 * gio/gdesktopappinfo.c:
3705 Implement GAppLaunchContext API
3707 * gio/gwin32appinfo.c:
3710 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3712 * gio/gmountoperation.c:
3713 Add some guards to GMountOperation's public functions.
3715 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3719 * gio/gcancellable.c:
3720 * gio/gdirectorymonitor.c:
3722 * gio/gfileenumerator.c:
3723 * gio/gfilemonitor.c:,
3724 * gio/gfilenamecompleter.c:
3727 * gio/gioscheduler.c:
3731 * gio/gvolumemonitor.c:
3732 Add even more guards to various public functions.
3734 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3737 Add guards to the public functions of GAppInfo.
3739 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3741 * gio/gcontenttype.c:
3742 Add some more guards for public functions.
3744 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3746 * gio/fam/fam-module.c:
3747 * gio/fam/gfamdirectorymonitor.c:
3748 * gio/fam/gfamdirectorymonitor.h:
3749 * gio/fam/gfamfilemonitor.c:
3750 * gio/fam/gfamfilemonitor.h:
3751 * gio/inotify/ginotifydirectorymonitor.c:
3752 * gio/inotify/ginotifydirectorymonitor.h:
3753 * gio/inotify/ginotifyfilemonitor.c:
3754 * gio/inotify/ginotifyfilemonitor.h:
3755 Add proper copyright information and remove an unused variable
3756 in the GInotifyFileMonitor constructor.
3758 * gio/gcancellable.c:
3759 Add a guard for a public function and an assertion to prevent
3760 an undefined program state.
3762 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3764 * gio/gfileattribute.c:
3765 Don't run into an assertion if the given attribute value is NULL
3766 in g_file_attribute_value_get_*() but instead return a fallback
3767 value that makes sense in most situations. Passing them a attribute
3768 value with the wrong type will still run into an assertion.
3770 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3772 * gio/gfileattribute.c:
3774 Add even more guards to the public functions. Also fix the refcounting
3775 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3776 let g_file_info_list_attributes() filter the attributes by namespace
3777 instead of simply ignoring the namespace parameter.
3779 2007-11-03 Sven Herzberg <sven@imendio.com>
3781 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3782 (This makes gio work on MacOS X again)
3784 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3787 Build the gio subdirectory before the docs. Otherwise the build will
3790 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3791 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3792 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3793 Add guards to the public functions.
3795 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3797 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3798 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3799 to prevent a compiler warning.
3801 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3802 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3803 return something in the non-void function find_topdir_for().
3805 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3812 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3814 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3815 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3816 * gwin32appinfo.c (g_win32_app_info_launch):
3817 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3818 envp_for_startup_id, g_desktop_app_info_launch,
3819 g_desktop_app_info_launch_uris):
3821 Give an opaque 'startup_id' string instead of 'envp'.
3822 Support empty file lists for launching new windows.
3823 Fix infinite recursion bug when launching URIs.
3825 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3828 Add guard to the new g_file_get_uri_scheme() function.
3830 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3833 Convert a g_return_val_if_fail() to setting the GError instead as
3834 otherwise applications have to verify the parameter before otherwise
3835 and the parameter might come directly from the user.
3837 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3839 * gio/inotify/ginotify*.[ch]:
3840 Add missing copyright information.
3842 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3845 Add guards in the beginning of public functions to check for valid
3846 parameters and fix a bug in copy_stream_with_progress() that could've
3847 caused writing less bytes than reading.
3848 * gio/glocalfileinfo.c:
3849 Check for a NULL parameter and set the GError accordingly then.
3850 * gio/goutputstream.c:
3851 Fix the same bug as in gfile.c that could've caused writing less bytes
3852 than reading in g_output_stream_real_splice().
3854 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3857 Use the correct gvolumeprivate.h naming
3859 2007-11-01 Christian Kellner <gicmo@gnome.org>
3862 Remove leftover "$(daemon_sources)" entry.
3864 2007-11-01 Christian Kellner <gicmo@gnome.org>
3869 Add copyright information to source files.
3871 2007-11-01 Alexander Larsson <alexl@redhat.com>
3875 Add g_file_get_uri_scheme
3877 2007-11-01 Alexander Larsson <alexl@redhat.com>
3880 * gio/gdesktopappinfo.c:
3881 * gio/gwin32appinfo.c:
3882 Add g_app_info_get_default_for_uri_scheme.
3884 2007-11-01 Alexander Larsson <alexl@redhat.com>
3887 Correct filename for gdriveprivate.h
3889 2007-10-31 Alexander Larsson <alexl@redhat.com>
3892 Rename id:value to id:file
3895 * gio/glocalfileinfo.c:
3898 2007-10-31 Alexander Larsson <alexl@redhat.com>
3900 * gio/gunixvolume.c:
3902 Remove g_volume_get_platform_id, as thats not
3903 needed with the simpler union volume monitor
3905 2007-10-31 Alexander Larsson <alexl@redhat.com>
3908 * gio/guniondrive.[ch]: Removed.
3909 * gio/gunionvolume.[ch]: Removed.
3910 Remove GUnionDrive/Volume
3912 * gio/gunionvolumemonitor.c:
3913 Simplify union volume monitor, now we
3914 only have one native volume monitor and
3915 we use the actual volumes/drives from the
3916 child monitors instead of wrapping them
3918 * gio/gnativevolumemonitor.[ch]:
3919 Base class for native volume monitors.
3920 Includes priority and get_volume_for_mountpoint
3923 Add g_file_find_enclosing_volume
3926 Remove volume name fs attribute
3927 Add readonly fs attribute
3930 Implement readonly attribute
3931 remove volume name attribute
3932 Implement find_enclosing volume
3934 * gio/gunixmounts.c:
3935 Add a volume for "/".
3937 * gio/gunixvolume.[ch]:
3938 Set better name for /
3940 * gio/gunixvolumemonitor.[ch]:
3941 Derive from GNativeVolumeMonitor
3942 Implement get_volume_for_mountpoint
3945 GVolume typedef moved to gfile.h
3947 * gio/gvolumeprivate.h:
3948 Add g_volume_get_for_mount_path
3950 2007-10-31 Alexander Larsson <alexl@redhat.com>
3952 * gio/gunixmounts.[ch]:
3953 Add cache info to unix mount listers
3954 Make getmntent use threadsafe
3955 Add is_system_internal attribute for GUnixMount
3957 * gio/gunixvolume.c:
3958 (g_unix_volume_new):
3959 Use is_system_internal instead of own code
3961 * gio/glocaldirectorymonitor.c:
3962 * gio/gunixvolumemonitor.c:
3963 Update to new gunixmounts API
3968 2007-10-30 Alexander Larsson <alexl@redhat.com>
3971 Add volume name fsinfo attribute
3974 Read volume name info
3976 * gio/gunionvolumemonitor.c:
3977 Fix infinite loops when finalizing a union volume monitor
3979 2007-10-30 Alexander Larsson <alexl@redhat.com>
3981 * gio/goutputstream.[ch]:
3982 Add splice() with default implementation
3984 * gio/gsocketoutputstream.c:
3985 (g_socket_output_stream_write):
3986 Return error on cancellation correctly.
3988 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3990 * gio/glocalfile.c (g_local_file_trash):
3991 Do not leak a string.
3993 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3995 * gio/gfile.c (g_file_load_contents):
3996 Unref the stream after closing it.
3998 2007-10-25 Alexander Larsson <alexl@redhat.com>
4000 * gio/gioscheduler.h:
4003 2007-10-25 Alexander Larsson <alexl@redhat.com>
4007 Add g_file_has_uri_scheme and implement for local files
4009 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4011 * gio/gdesktopappinfo.c: do not leak a string.
4013 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4015 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4016 (g_local_directory_monitor_new):
4017 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4018 (g_local_file_monitor_new):
4019 Only look for the monitor type that should be used the first time
4020 and use g_qsort_with_data() instead of our own bubble sort
4023 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4026 * gio/fam/Makefile.am:
4027 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4028 * gio/fam/fam-helper.h:
4029 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4030 * gio/fam/gfamdirectorymonitor.c:
4031 * gio/fam/gfamdirectorymonitor.h:
4032 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4033 * gio/fam/gfamfilemonitor.h:
4034 * gio/glocaldirectorymonitor.c:
4035 * gio/glocaldirectorymonitor.h:
4036 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4037 * gio/glocalfilemonitor.h:
4038 * gio/inotify/Makefile.am:
4039 * gio/inotify/ginotifydirectorymonitor.c:
4040 * gio/inotify/ginotifydirectorymonitor.h:
4041 * gio/inotify/ginotifyfilemonitor.c:
4042 * gio/inotify/ginotifyfilemonitor.h:
4043 Implement the FAM and Inotify monitors as
4044 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4045 their own GIO module. GLocal(Directory|File)Monitor will use the
4046 monitor with the highest rank that is supported on that machine.
4048 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4051 Change GIO module dir to $(libdir)/gio/modules and change
4052 the log domain from GVFS to GIO. Also only export symbols starting
4053 with g_ in the resulting library.
4054 * gio/test-streams.c: (main):
4055 Set log handler for the GIO log domain.
4057 2007-10-22 Alexander Larsson <alexl@redhat.com>
4059 * gio/gfilenamecompleter.[ch]:
4060 Add g_filename_completer_set_dirs_only
4062 2007-10-22 Alexander Larsson <alexl@redhat.com>
4065 * gio/gurifuncs.[ch]:
4066 Add some simple URI helpers
4068 * gio/gfilenamecompleter.[ch]:
4069 Added object for filename (parse name actually) completion
4072 Handle ~ in parse names
4074 2007-10-17 Alexander Larsson <alexl@redhat.com>
4077 * gio/glocalfileinfo.c:
4078 Add and implement id:value attribute
4080 2007-10-17 Alexander Larsson <alexl@redhat.com>
4083 * gio/guniondrive.c:
4085 Add and implement g_drive_has_volumes
4087 2007-10-17 Alexander Larsson <alexl@redhat.com>
4090 * gio/glocalfileinfo.[ch]:
4091 Add unix:is_mountpoint and implement for local files
4093 2007-10-16 Alexander Larsson <alexl@redhat.com>
4095 * gio/gunionvolumemonitor.c:
4096 (g_union_volume_monitor_init):
4097 Fix up the unix type getting so that it works with gcc
4099 2007-10-12 Alexander Larsson <alexl@redhat.com>
4102 * gio/glocalfileinfo.c:
4103 Add thumbnail:failed to file info
4105 2007-10-12 Richard Hult <richard@imendio.com>
4107 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4108 optimizing away the get_type call (happens with some gcc versions,
4109 like the one shipped with OS X 10.4).
4111 2007-10-12 Alexander Larsson <alexl@redhat.com>
4113 * gio/glocalfileinfo.c:
4114 (_g_local_file_info_set_attribute):
4115 Fix build if not HAVE_XATTR
4116 Patch from Milosz Derezynski <internalerror@gmail.com>
4118 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4120 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4121 around for review, otherwise I would have asked you before
4124 2007-10-11 Alexander Larsson <alexl@redhat.com>
4127 Add thumbnail:path attribute
4129 * gio/glocalfileinfo.c:
4130 Implement thumbnail:path for local files
4132 2007-10-11 Alexander Larsson <alexl@redhat.com>
4134 * gio/glocalfileinfo.c:
4135 (_g_local_file_info_get):
4136 Avoid duplicate icon names
4138 2007-10-11 Alexander Larsson <alexl@redhat.com>
4140 * gio/gthemedicon.[ch]:
4141 Change g_themed_icon_get_names return type to const
4143 2007-10-10 Alexander Larsson <alexl@redhat.com>
4145 * gio/glocalfileinfo.c:
4146 Don't reference freed memory
4148 2007-10-10 Alexander Larsson <alexl@redhat.com>
4150 * gio/gfileattribute.c:
4153 * gio/glocalfileinfo.c:
4156 2007-10-10 Alexander Larsson <alexl@redhat.com>
4159 Check for NULL icons
4161 * gio/gfileattribute.c:
4162 Don't dup when getting objects (same as for string attributes)
4164 * gio/gicon.c (g_icon_equal):
4165 Safely handle NULLs in equal
4167 2007-10-10 Alexander Larsson <alexl@redhat.com>
4170 Fix c++ compilation issues
4171 Patch from Milosz Derezynski <internalerror@gmail.com>
4173 2007-10-10 Alexander Larsson <alexl@redhat.com>
4175 * programs/gio-monitor-dir.c:
4176 Don't crash if dir monitor not supported.
4178 2007-10-09 Alexander Larsson <alexl@redhat.com>
4181 Add missing G_END_DECLS
4183 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4185 * gio/gfile.c: (g_file_set_display_name),
4186 (g_file_query_settable_attributes),
4187 (g_file_query_writable_namespaces):
4188 Return NULL not FALSE on errors as the return type is a pointer.
4190 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4192 * gio/glocalfile.c: (g_local_file_monitor_file):
4193 Don't call monitor_file on the default interface vtable (which
4194 is NULL) but simply return NULL. The caller, GFile, will create a
4195 polling monitor if NULL is returned.
4197 2007-10-09 Alexander Larsson <alexl@redhat.com>
4201 * gio-unix-2.0.pc.in:
4202 Add gio-unix-2.0.pc if OS_UNIX
4205 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4207 2007-10-09 Alexander Larsson <alexl@redhat.com>
4209 * gio/gunixmounts.[ch]:
4210 Make unix mount monitoring API sane.
4211 Now its just a object with mounts_changed
4212 and mountpoints_changed signals.
4214 * gio/glocaldirectorymonitor.c:
4215 * gio/gunixvolumemonitor.c:
4216 Use new mount monitor api
4218 2007-10-09 Alexander Larsson <alexl@redhat.com>
4220 * gio/gunixmounts.[ch]:
4221 Move guess type into one call for mounts and one for mountpoints
4224 * gio/gunixvolume.c:
4227 2007-10-09 Alexander Larsson <alexl@redhat.com>
4229 * gio/gunixmounts.[ch]:
4230 Remove _ prefix in preparation to make this semi-public
4231 Hide implementation of structs
4233 * gio/glocaldirectorymonitor.c:
4235 * gio/gunixvolume.c:
4236 * gio/gunixvolumemonitor.c:
4237 Update for above API changes
4239 2007-10-08 Alexander Larsson <alexl@redhat.com>
4242 Better polling fallback. This also handles the case where we have
4243 a monitor_file implementation, but it fails.
4245 2007-10-08 Alexander Larsson <alexl@redhat.com>
4249 * gio/gunixmounts.c:
4250 * programs/gio-monitor-dir.c:
4251 * programs/gio-monitor-file.c:
4252 Added cancellable to file monitoring calls.
4253 These are really sync calls and need this.
4255 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4257 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4258 (g_local_vfs_class_init):
4259 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4260 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4262 2007-10-05 Alexander Larsson <alexl@redhat.com>
4264 * gio/gdirectorymonitorprivate.h:
4265 * gio/gfilemonitorprivate.h:
4266 * gio/gdirectorymonitor.h:
4267 * gio/gfilemonitor.h:
4268 Remove *private.h and move to the public API, so that
4269 we can do implementations outside gio (such as in gvfs)
4271 * gio/gdirectorymonitor.c:
4272 * gio/gfilemonitor.c:
4273 * gio/glocaldirectorymonitor.c:
4274 * gio/gpollfilemonitor.c:
4275 * gio/inotify/inotify-helper.c:
4276 * gio/fam/fam-helper.c:
4277 Update to the new header names
4279 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4281 * gio/gdirectorymonitor.c:
4282 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4285 2007-10-04 Alexander Larsson <alexl@redhat.com>
4287 * gio/glocalfileinfo.c (get_access_rights):
4288 Set CAN_TRASH when we can move the file.
4289 We should really also check for a parent trash dir.
4291 2007-10-04 Alexander Larsson <alexl@redhat.com>
4293 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4294 Add can_trash access attribute
4296 2007-10-04 Alexander Larsson <alexl@redhat.com>
4299 (g_local_file_trash):
4300 Create info file first. This is per-spec and allows
4301 us to actually trash directories.
4303 2007-10-02 Alexander Larsson <alexl@redhat.com>
4305 * gio/gdesktopappinfo.c:
4306 Implement the new mime support code.
4307 Always set app as handling mimetype when being set as default for it
4309 2007-10-01 Alexander Larsson <alexl@redhat.com>
4311 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4312 Fix up check for xattrs:
4314 2007-10-01 Alexander Larsson <alexl@redhat.com>
4317 (g_app_info_set_as_default_for_extension):
4318 (g_app_info_add_supports_type):
4319 (g_app_info_can_remove_supports_type):
4320 (g_app_info_remove_supports_type):
4321 Make these fail nicely if not implemented
4323 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4325 * gio/glocalfileoutputstream.c:
4326 * gio/glocalfileoutputstream.h:
4331 * programs/gio-save.c:
4332 Add a GFileCreateFlags argument to operations that can create
4335 2007-10-01 Alexander Larsson <alexl@redhat.com>
4337 * gio/gappinfo.[ch]:
4338 * gio/gdesktopappinfo.c:
4339 Add more (stubbed out) mime API needed for nautilus
4341 2007-10-01 Alexander Larsson <alexl@redhat.com>
4344 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4345 Add g_app_info_set_as_default_for_extension.
4347 * gio/gdesktopappinfo.c:
4348 Dummy for g_app_info_set_as_default_for_extension
4349 Support flags in g_app_info_create_from_commandline
4351 * gio/gwin32appinfo.c:
4353 Update for API changes
4355 * gio/gthemedicon.c:
4356 Properly NULL-terminate list of icon names
4358 2007-09-28 Alexander Larsson <alexl@redhat.com>
4360 * gio/gloadableicon.h:
4361 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4363 2007-09-28 Alexander Larsson <alexl@redhat.com>
4366 Install headers in $includedir/gio-standalone/
4368 * gio-2.0.pc.in: Added.
4369 * gio-standalone.pc.in: Removed.
4372 Renamed pkg-config file to match glib (for future move)
4373 Update to the new include dir
4376 Add more TODO comments
4378 2007-09-28 Alexander Larsson <alexl@redhat.com>
4380 * gio/gdesktopappinfo.[ch]:
4381 Expose new_from_filename
4382 Add getter for is_hidden and handle it better
4384 2007-09-28 Alexander Larsson <alexl@redhat.com>
4386 * gio/gfileinfo.[ch]:
4387 Rename g_file_size_format_for_display to
4388 g_format_file_size_for_display.
4389 Now it doesn't have the g_file prefix, so we
4390 can later move it to glib.
4392 2007-09-28 Alexander Larsson <alexl@redhat.com>
4394 * gio/gappinfo.[ch]:
4395 Add g_app_info_get_id and g_app_info_get_executable.
4396 Make all getters non-reffing
4397 Make g_app_info_launch take GFile arguments.
4398 Add must_support_uris argument to g_app_info_get_default_for_type.
4400 * gio/gwin32appinfo.c:
4401 Update to GAppInfo api changes
4403 * gio/gdesktopappinfo.c:
4404 Update to GAppInfo api changes
4405 Implement supports_xdg_startup_notify
4407 * gio/gfileicon.c (g_file_icon_get_file):
4408 Make getter non-reffing.
4413 2007-09-27 Alexander Larsson <alexl@redhat.com>
4415 * gio/gfileinfo.[ch]:
4416 Add g_file_size_format_for_display helper
4418 2007-09-27 Alexander Larsson <alexl@redhat.com>
4420 * gio/glocalfileinfo.c:
4421 Set UNIX_GID from gid, not from uid
4423 2007-09-27 Alexander Larsson <alexl@redhat.com>
4426 Add g_file_set_attributes_async
4428 2007-09-27 Alexander Larsson <alexl@redhat.com>
4430 * gio/glocalfile.c (g_local_file_set_display_name):
4431 Fix set_display_name to actually rename to the right place.
4432 Use lstat to look for existing files so we don't overwrite
4435 2007-09-26 Alexander Larsson <alexl@redhat.com>
4438 Add g_file_set_display_name_async()
4440 2007-09-26 Alexander Larsson <alexl@redhat.com>
4443 Add load_partial_contents async calls
4446 Make internal function static
4448 2007-09-26 Alexander Larsson <alexl@redhat.com>
4450 * gio/glocalfileinfo.c:
4451 Correctly detect broken symlinks
4453 2007-09-26 Alexander Larsson <alexl@redhat.com>
4455 * gio/gcancellable.c (g_cancellable_cancel):
4456 Allow cancel on NULL cancellable
4458 2007-09-25 Alexander Larsson <alexl@redhat.com>
4460 * gio/gsimpleasyncresult.c:
4461 Don't allocate g_error manually.
4462 Fixes g_slice/g_new mixup crash
4464 2007-09-25 Alexander Larsson <alexl@redhat.com>
4466 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4467 Actually set active_backend.
4468 This means the monitor will be cancelled correctly.
4470 2007-09-25 Alexander Larsson <alexl@redhat.com>
4472 * gio/gdirectorymonitor.c:
4473 Set timeout to NULL when destroying
4475 2007-09-25 Alexander Larsson <alexl@redhat.com>
4478 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4479 that is a better description of the error.
4481 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4483 * gio/gvfs.c: (g_vfs_get_local):
4484 Make the local vfs variable static. The same instance should
4487 2007-09-24 Alexander Larsson <alexl@redhat.com>
4489 * gio/glocalfileinfo.c:
4490 Pass in actual length read into sniffer, not the length
4493 2007-09-21 Alexander Larsson <alexl@redhat.com>
4495 * gio/gfileenumerator.c:
4498 * gio/gfileinputstream.c:
4499 * gio/gfileoutputstream.c:
4500 * gio/ginputstream.c:
4501 * gio/goutputstream.c:
4502 Don't crash if async callbacks are NULL
4504 2007-09-20 Alexander Larsson <alexl@redhat.com>
4507 Add async enumerate_children method and default
4510 2007-09-20 Alexander Larsson <alexl@redhat.com>
4513 Add g_file_contains_file & g_file_get_relative_path, since they
4514 were needed for nautilus.
4515 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4520 Implement new methods
4522 2007-09-17 Alexander Larsson <alexl@redhat.com>
4525 * gio/gfileinputstream.[ch]:
4526 * gio/gfileoutputstream.[ch]:
4528 * gio/glocalfileenumerator.[ch]:
4529 * gio/glocalfileinfo.[ch]:
4530 * gio/glocalfileinputstream.c:
4531 * gio/glocalfileoutputstream.c:
4532 * gio/gpollfilemonitor.c:
4533 * programs/gio-copy.c:
4534 * programs/gio-info.c:
4535 * programs/gio-move.c:
4536 Rename get_file_info to query_info() to make it clearer
4537 that these are not simple getters, but do i/o.
4539 2007-09-17 Alexander Larsson <alexl@redhat.com>
4541 * gio/gdatainputstream.[ch]:
4542 * gio/test-streams.c:
4543 Use _read_XXX instead of _get_XXX for the i/o calls
4546 2007-09-17 Alexander Larsson <alexl@redhat.com>
4549 Added needed stuff to TODO comment
4551 2007-09-17 Alexander Larsson <alexl@redhat.com>
4553 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4554 Don't error out removing the backup copy if it doesn't
4557 2007-09-14 Alexander Larsson <alexl@redhat.com>
4559 * programs/Makefile.am:
4560 * programs/gvfs-*.c:
4562 Renamed apps from gvfs-xxx to gio-xxx.
4564 2007-09-14 Alexander Larsson <alexl@redhat.com>
4567 * gio/gfileoutputstream.[ch]:
4568 * gio/glocalfileoutputstream.c:
4569 * programs/gvfs-save.c:
4570 g_file_output_stream_get_etag doesn't do i/o, so remove
4571 cancellation and error.
4573 2007-09-14 Alexander Larsson <alexl@redhat.com>
4576 Add new_etag output to replace_contents functions
4578 2007-09-14 Alexander Larsson <alexl@redhat.com>
4580 * gio/gfileoutputstream.[ch]:
4581 Add async get_file_info and default implementation
4583 2007-09-14 Alexander Larsson <alexl@redhat.com>
4585 * gio/gfileinputstream.c:
4586 Implement fallback wrapper for async get_file_info
4588 2007-09-14 Alexander Larsson <alexl@redhat.com>
4591 Add etag out argument to load_contents
4596 2007-09-14 Alexander Larsson <alexl@redhat.com>
4598 * gio/gcontenttype.c (looks_like_text):
4599 Whitespace like tab, cr and lf do not make the
4602 2007-09-14 Alexander Larsson <alexl@redhat.com>
4604 * gio/gfileinputstream.[ch]:
4605 Add async get_file_info.
4607 2007-09-13 Alexander Larsson <alexl@redhat.com>
4609 * gio/goutputstream.c (g_output_stream_write_all):
4610 Allow NULL for bytes_written
4612 2007-09-13 Alexander Larsson <alexl@redhat.com>
4614 * gio/gmemoryinputstream.[ch]:
4615 Add accessors for data
4617 2007-09-13 Alexander Larsson <alexl@redhat.com>
4619 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4620 Don't crash if length is NULL