1 2008-07-01 Cody Russell <bratsche@gnome.org>
4 * gio/gwin32mount.c: Fixed some include problems.
6 2008-07-01 Cody Russell <bratsche@gnome.org>
10 Moved all relevant typedefs into these files.
13 Updated wrt added files.
15 Split types into separate file for easier maintainership. (#538564)
17 2008-06-30 Matthias Clasen <mclasen@redhat.com>
19 Bug 540331 – g_file_append_to () documentation: can return NULL
21 * gfile.c (g_file_append_to): Clarify docs.
24 2008-06-30 Matthias Clasen <mclasen@redhat.com>
26 Bug 539090 – g_content_type_from_mime_type() should unalias
28 * gcontentype.c (g_content_type_from_mime_type): Unalias.
29 Patch by Markus Bergman
31 2008-06-30 Matthias Clasen <mclasen@redhat.com>
33 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
36 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
37 on ppc and alpha. Reported by Mart Raudsepp
39 2008-06-29 Matthias Clasen <mclasen@redhat.com>
42 * tests/memory-output-stream.c: Add some tests for
45 2008-06-29 Matthias Clasen <mclasen@redhat.com>
47 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
50 * gmemoryoutputstream.c (array_resize): Handle truncation to
51 zero correctly. Reported by Akira Tagoh
53 2008-06-29 Matthias Clasen <mclasen@redhat.com>
55 * gmemoryoutputstream.c: Trivial doc fixes
57 2008-06-29 Matthias Clasen <mclasen@redhat.com>
59 Bug 540802 – g_list_prepend doesn't concat lists
61 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
62 one list to another. Pointed out by Jan Arne Petersen
64 2008-06-28 Michael Natterer <mitch@imendio.com>
66 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
68 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
70 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
71 to avoid problems with partial icon themes.
73 2008-06-17 Hans Breuer <hans@breuer.org>
75 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
76 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
77 access again on win32, see bug #538127
78 * giomodule.c : ensure GWin32VolumeMonitor is registered
79 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
80 * Makefile.am makefile.msc : updated
82 2008-06-16 Hans Breuer <hans@breuer.org>
84 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
85 and initialization in one step avoids c99ism
87 2008-06-16 Christian Persch <chpe@gnome.org>
90 * gio/gbufferedinputstream.c
92 * gio/gdatainputstream.c
93 * gio/gdesktopappinfo.c
95 * gio/gfileenumerator.c
96 * gio/gfileinputstream.c
97 * gio/gfileoutputstream.c
99 * gio/glocaldirectorymonitor.c
101 * gio/glocalfileenumerator.c
102 * gio/glocalfileinfo.c
103 * gio/glocalfilemonitor.c
104 * gio/glocalfileoutputstream.c
105 * gio/gmemoryinputstream.c
106 * gio/gmemoryoutputstream.c
107 * gio/goutputstream.c
108 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
111 2008-06-16 Tor Lillqvist <tml@novell.com>
113 Bug 538362 - Get Win32 icons back in the file chooser
115 * gcontenttype.c (g_content_type_get_icon): Look up the icon
116 corresponding to a file extension in the Registry. Patch by Hans
118 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
120 2008-06-16 Tor Lillqvist <tml@novell.com>
122 Patches by Hans Breuer:
124 * glocalfile.c (is_xp_or_later): Handle compiling against older
125 SDK headers with missing VerifyVersionInfo(). Conditioned on
126 _MSC_VER, but should probably use some better test.
127 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
128 uninitialised statfs_result variable on Win32.
130 2008-06-16 Michael Natterer <mitch@imendio.com>
132 * *.c: chain up unconditionally in finalize() and dispose(). Also
133 don't dereference these function pointers when calling them since
134 that has no meaning at all.
136 2008-06-16 Ross Burton <ross@burtonini.com>
139 Remove check for dispose implementation as it annoys Emmanuele.
141 2008-06-16 Ross Burton <ross@burtonini.com>
143 Bug 536252 – GFileEnumerator should allow access to the containing
149 Add g_file_enumerator_get_container() and a container writeable
150 construct-only property. Also shuffle around typedefs to make it
153 * glocalfileenumerator.c:
154 * glocalfileenumerator.h:
156 Instead of a string filename take a GFile in the constructor and
157 use it to set the container property.
162 2008-06-16 Matthias Clasen <mclasen@redhat.com>
164 * gfile.c: Make includes more uniform
166 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
168 * tests/live-g-file.c (sample_struct):
169 Use less fancy unicode filenames, so the test doesn't fail
170 on Mac OS X (#531476).
172 2008-06-12 Matthias Clasen <mclasen@redhat.com>
174 * === Released 2.17.2 ===
176 2008-06-12 Matthias Clasen <mclasen@redhat.com>
178 * === Released 2.17.1 ===
180 2008-06-11 A. Walton <awalton@gnome.org>
182 * tests/g-file.c (test_g_file_new_null):
183 Fix broken test case.
185 2008-06-11 Matthias Clasen <mclasen@redhat.com>
187 * pltcheck.sh: We use g_clear_error now.
189 2008-06-11 Matthias Clasen <mclasen@redhat.com>
191 * glocalfile.c (g_local_file_enumerate_children): Revert
192 an unintended change.
194 2008-06-11 Matthias Clasen <mclasen@redhat.com>
196 * gfile.c (g_file_replace_contents): Don't unref before the last use.
198 2008-06-10 Matthias Clasen <mclasen@redhat.com>
200 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
203 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
204 as icon for the desktop directory, also make user-home and
205 user-desktop the preferred icons.
207 2008-06-10 Matthias Clasen <mclasen@redhat.com>
210 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
211 to add a name to the front of the list.
213 2008-06-10 Matthias Clasen <mclasen@redhat.com>
215 Bug 537392 – Additional colon in xattr name
217 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
218 too. Reported by Alessandro Morandi
220 2008-06-10 Matthias Clasen <mclasen@redhat.com>
222 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
225 * glocalfile.c (get_fs_type): Add afs and autofs.
226 Patch by Danny Baumann.
228 2008-06-10 Matthias Clasen <mclasen@redhat.com>
230 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
232 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
233 is no parent. (Owen Taylor, patch by Christian Neumair)
235 2008-06-10 Paolo Borelli <pborelli@katamail.com>
237 * gfile.c (g_file_replace_contents): do not leak the output stream.
239 2008-06-10 Michael Natterer <mitch@imendio.com>
241 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
242 uninitialized memory as array index.
244 2008-06-10 Tor Lillqvist <tml@novell.com>
246 * gcontenttype.c (g_content_type_can_be_executable)
247 (g_content_type_get_icon) [Win32]: Add TODO comments.
249 2008-06-09 Matthias Clasen <mclasen@redhat.com>
251 * xdgmime/Makefile.am: Fix the build
253 2008-06-09 Matthias Clasen <mclasen@redhat.com>
255 * gcontenttype.c (g_content_type_get_icon): Use icons specified
256 in the shared mime database, if available.
258 * xdgmime/*: Sync with upstream. This brings support for
259 glob weights, generic icons, and changes the cache format to
262 2008-05-28 Michael Natterer <mitch@imendio.com>
264 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
265 the global CPPFLAGS now.
267 * tests/data-input-stream.c
268 * tests/data-output-stream.c
269 * tests/g-file-info.c
271 * tests/live-g-file.c
272 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
274 2008-05-27 Matthias Clasen <mclasen@redhat.com>
276 * === Released 2.17.0 ===
278 * tests/live-g-file.c: Clean up after the tests, so make distcheck
279 doesn't complain about leftover files.
281 2008-05-27 simon.zheng <simon.zheng@sun.com>
283 * glocalfile.c: (g_local_file_query_filesystem_info):
284 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
286 2008-05-26 Michael Natterer <mitch@imendio.com>
288 * gmemoryoutputstream.h: declare
289 g_memory_output_stream_get_data_size().
291 2008-05-26 Matthias Clasen <mclasen@redhat.com>
293 * tests/*: Make tests work
295 2008-05-26 Matthias Clasen <mclasen@redhat.com>
297 * gio.symbols: Add g_memory_output_stream_get_data_size.
299 2008-05-25 Ross Burton <ross@burtonini.com>
302 Fix typo in error message (#534764).
304 2008-05-25 Ross Burton <ross@burtonini.com>
307 Fix circular dependency loop for gioenumtypes.h (#534759).
309 2008-05-19 Hans Breuer <hans@breuer.org>
311 * Makefile.am : EXTRA_DIST += makefile.msc
313 2008-05-17 Matthias Clasen <mclasen@redhat.com>
316 * gcontenttype.c: (g_content_type_from_mime_type):
317 New function to create a content type from a mime type. (#527175,
320 2008-05-17 Matthias Clasen <mclasen@redhat.com>
322 Bug 532965 – Should not return filesystem::free for certain file systems
324 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
325 free space for ncpfs.
327 2008-05-17 Matthias Clasen <mclasen@redhat.com>
329 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
331 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
332 st_dev might be zero.
334 2008-05-16 Tor Lillqvist <tml@novell.com>
336 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
337 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
339 2008-05-13 Bastien Nocera <hadess@hadess.net>
341 * gfile.c (has_valid_scheme): A URI scheme must start with a
342 letter, even if later more characters are allowed (#532852)
344 2008-05-05 Michael Natterer <mitch@imendio.com>
346 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
347 code from being checked in that breaks the build of applications
348 which use G_DISABLE_SINGLE_INCLUDES.
350 * makegioalias.pl: make the alias file include "glib.h" instead of
353 * gio.symbols: whitespace change to force regeneration of the
354 alias file after above script change.
356 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
358 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
360 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
362 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
364 2008-04-28 David Zeuthen <davidz@redhat.com>
366 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
367 displaying mounts in a subdirectory not accessible to the
370 2008-04-22 Michael Natterer <mitch@imendio.com>
372 * Makefile.am: fix library versioning (it was 0.0.0).
374 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
376 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
377 Default disable all loggings.
378 * fen/fen-kernel.c: (printevent), (port_add_kevent),
379 (port_fetch_event_cb): Fixed two macro nits.
381 2008-04-16 Matthias Clasen <mclasen@redhat.com>
383 * xdgmime/xdgmime.c: Rework the timestamp checking code
384 to protect against duplicate directories in XDG_DATA_DIRS.
385 Fixes fd.o bug 12513, reported by Joe Shaw.
387 2008-04-16 Matthias Clasen <mclasen@redhat.com>
389 Partically revert the last commit after realizing that
390 xdg_mime_media_type_equal doesn't have to init at all.
393 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
395 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
397 2008-04-16 Matthias Clasen <mclasen@redhat.com>
399 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
400 reported by Joe Shaw and Federico Mena Quintero.
402 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
403 (xdg_mime_media_type_equal): Turn into a wrapper around the
406 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
407 functions throughout.
409 2008-04-16 Michael Meeks <michael.meeks@novell.com>
411 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
412 tolerate an empty TryExec= line without failing; nautilus used
413 to create launchers with these in previous versions. Fixes #528433
415 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
417 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
418 after name. Fixes #527132.
420 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
422 * gfile.c: (g_file_replace):
425 2008-04-07 Matthias Clasen <mclasen@redhat.com>
427 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
429 * gfile.c (file_copy_fallback): Fix the argument order. Patch
430 by Christian Kellner.
432 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
434 * gunixmounts.c: (g_unix_mount_guess_should_display):
435 Don't list the user directory as a mount, fix potential issue
436 when other users have a similar naming and don't special case the
437 gvfs mounts there since that's not required (#525866)
439 2008-03-31 Alexander Larsson <alexl@redhat.com>
441 * glocalfile.c (get_parent):
444 2008-03-31 A. Walton <awalton@svn.gnome.org>
446 * gfile.c (g_file_query_file_type):
447 Always return a GFileType enum value (#520715).
449 2008-03-31 Alexander Larsson <alexl@redhat.com>
451 * glocalfileenumerator.c:
452 Read readdir() info in chunks (of 1000) and sort
453 the chunks by inode before stat:ing.
454 This is a 20% performance increase in testing
455 gvfs-ls on /usr/bin with cold cache.
457 2008-03-31 Alexander Larsson <alexl@redhat.com>
459 * gmemoryoutputstream.c:
460 Clarify docs for g_memory_output_stream_get_size.
461 Add g_memory_output_stream_get_data_size.
463 2008-03-30 Matthias Clasen <mclasen@redhat.com>
467 * gfile.h: Add g_file_query_file_type convenience function
468 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
470 2008-03-30 Matthias Clasen <mclasen@redhat.com>
473 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
475 2008-03-28 A. Walton <awalton@svn.gnome.org>
477 * giomodule.c (_g_io_modules_ensure_loaded):
478 Adds GIO_EXTRA_MODULES environment variable support, closing bug
481 2008-03-28 Alexander Larsson <alexl@redhat.com>
484 (copy_stream_with_progress):
487 2008-03-28 Alexander Larsson <alexl@redhat.com>
490 (copy_stream_with_progress):
491 (file_copy_fallback):
492 Fallback to g_file_query_info for source size
493 if g_file_input_stream_query_info fails. (#524579)
495 2008-03-28 Alexander Larsson <alexl@redhat.com>
497 * glocalfile.c (g_local_file_move):
498 Reuse old string instead of adding new one.
500 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
502 * fen/*.[hc]: still copyright issue. I hate copyright.
504 2008-03-27 Alexander Larsson <alexl@redhat.com>
506 * glocalfile.c (g_local_file_move):
507 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
508 file over directory. This is according to the docs and what the move via
509 copy+remove fallback does.
511 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
513 * fen/*.[hc]: Updated copyright.
515 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
517 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
519 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
521 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
522 not emit attribute changed events when optimizing changed events.
523 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
526 2008-03-19 Matthias Clasen <mclasen@redhat.com>
528 * gmountoperation.[hc]: Small documentation additions
530 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
532 * gunixmounts.c: (guess_mount_type):
533 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
535 2008-03-19 Alexander Larsson <alexl@redhat.com>
538 (copy_stream_with_progress):
539 Bump block side for copy to 64k to minimize
540 overhead for low latency links. (#523015)
542 2008-03-16 Tor Lillqvist <tml@novell.com>
544 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
545 depend on gio.def on Windows.
547 2008-03-12 David Zeuthen <davidz@redhat.com>
551 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
553 2008-03-14 Alexander Larsson <alexl@redhat.com>
557 Avoid redudant tests (#521851)
558 Patch from Josselin Mouette
560 2008-03-14 Alexander Larsson <alexl@redhat.com>
563 (g_file_monitor_is_cancelled):
564 Fix C89 issue (#521672)
565 Patch from Jens Granseuer
567 2008-03-14 Alexander Larsson <alexl@redhat.com>
569 * fam/fam-helper.[ch]:
571 Shut down fam (including removing fam GSource) when
572 module is unloaded (#521513)
573 Patch from Joe Marcus Clarke
575 2008-03-14 Alexander Larsson <alexl@redhat.com>
578 (_g_io_modules_ensure_loaded):
581 2008-03-14 Alexander Larsson <alexl@redhat.com>
584 (g_local_file_query_filesystem_info):
585 Use right define name for f_fstypename member check
587 2008-03-14 Alexander Larsson <alexl@redhat.com>
590 * fen/Makefile.am: Added.
591 * fen/fen-data.[ch]: Added.
592 * fen/fen-dump.[ch]: Added.
593 * fen/fen-helper.[ch]: Added.
594 * fen/fen-kernel.[ch]: Added.
595 * fen/fen-missing.[ch]: Added.
596 * fen/fen-node.[ch]: Added.
597 * fen/fen-sub.[ch]: Added.
598 * fen/gfendirectorymonitor.[ch]: Added.
599 * fen/gfenfilemonitor.[ch]: Added.
601 Added Solaris FEN file notification backend.
602 Patch from Lin Ma <Lin.Ma@Sun.COM>
604 2008-03-13 Tor Lillqvist <tml@novell.com>
606 * Makefile.am: Actually use the gio.def file when linking the
607 library on Windows. Produce .lib library for Microsoft's toolchain
608 when possible. Install the .lib and .def file like for the other
611 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
613 * tests/live-g-file.c:
614 Include live-g-file in standard set of tests, making a temporary
615 directory in source structure.
617 Clean target directory before the tests (write mode only)
619 2008-03-12 Tor Lillqvist <tml@novell.com>
621 Bug 517419 - gio win32 directory monitor
622 Implementation by Vlad Grecescu.
625 * win32/gwin32directorymonitor.h
626 * win32/gwin32directorymonitor.c: New files.
628 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
630 * Makefile.am: Add the win32 subdirectory.
632 2008-03-12 Tor Lillqvist <tml@novell.com>
634 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
635 normal struct stat on Unix but struct _stati64 on Windows to have
636 access to 64-bit file size information. Use that instead of struct
637 stat in the functions declared here in this private header.
639 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
640 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
641 warnings about unused functions and variables. Don't set
642 meaningless attributes like inode numbers on Windows.
644 2008-03-12 Benjamin Otte <otte@gnome.org>
647 trim whitespace so gtk-doc groks the function name
649 2008-03-12 Tor Lillqvist <tml@novell.com>
651 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
652 returning FALSE, on Win32.
654 2008-03-11 Alexander Larsson <alexl@redhat.com>
657 * glocalfileinfo.[ch]:
658 Correctly implement can_trash by actually
659 looking for a trash dir, not just assuming
662 2008-03-10 Matthias Clasen <mclasen@redhat.com>
664 * === Released 2.16.1 ===
666 2008-03-11 Alexander Larsson <alexl@redhat.com>
669 Fix crashes in new constructor and properties code
671 2008-03-10 Murray Cumming <murrayc@murrayc.com>
673 * gfile.c: Minor spelling correction in documentation:
674 existance -> existence.
676 2008-03-10 Matthias Clasen <mclasen@redhat.com>
678 * === Released 2.16.0 ===
680 2008-03-10 Matthias Clasen <mclasen@redhat.com>
682 * gio.symbols: Remove g_file_contains_file here, too.
684 2008-03-10 Matthias Clasen <mclasen@redhat.com>
686 * gthemedicon.c: Add properties to make bindings happy. (#517676,
687 Samuel Cormier-Iijima)
689 2008-03-08 Tor Lillqvist <tml@novell.com>
691 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
694 2008-03-07 Alexander Larsson <alexl@redhat.com>
697 (g_local_file_query_filesystem_info):
698 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
699 Patch from Jasper Lievisse Adriaanse
701 2008-03-06 Tor Lillqvist <tml@novell.com>
703 * gfileinfo.h: Correct milliseconds to microseconds in the doc
704 comments for the *_USEC attributes.
706 2008-03-06 Alexander Larsson <alexl@redhat.com>
708 * gfile.c (g_file_query_exists):
709 Add g_return_val_if_fail check (#520700)
711 2008-03-06 Alexander Larsson <alexl@redhat.com>
716 * gunionvolumemonitor.c:
719 * tests/live-g-file.c:
720 * xdgmime/xdgmimecache.c:
721 Fix sparse warnings (#519489)
723 2008-03-05 Alexander Larsson <alexl@redhat.com>
726 Make cancellation threadsafe (i.e.
727 guarantee its only done once, and always
730 * glocaldirectorymonitor.c:
731 Make sure we the monitor lives while the
732 mounts_changed callback is being called (#520484)
734 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
736 * gbufferedinputstream.c: Fix typo in parameter
739 2008-03-04 Alexander Larsson <alexl@redhat.com>
742 Remove deprecated symbols we kept for one release.
744 2008-03-04 Murray Cumming <murrayc@murrayc.com>
747 * goutputstream.c: Tiny documentation corrections.
749 2008-03-03 Alexander Larsson <alexl@redhat.com>
751 * gunionvolumemonitor.c:
753 Fix the adopt_orphan_mount vfunc to take a
754 volume_monitor reference in an ABI compat way.
755 This change is not API compat, but the added
756 arg is not used in the only user of this vfunc, so
757 all we get is a harmless warning in gvfs (#520169)
759 2008-03-01 Benjamin Otte <otte@gnome.org>
762 clarify docs for g_file_delete().
764 2008-02-29 Alexander Larsson <alexl@redhat.com>
768 Make sure empty files get text/plain type (#518720)
770 2008-02-27 Alexander Larsson <alexl@redhat.com>
776 (g_unix_volume_mount):
777 Add missing GMountMountFlags argument
779 2008-02-26 Alexander Larsson <alexl@redhat.com>
782 (g_local_file_delete):
783 Handle filesystems (like ntfs-3g) that return EEXIST instead
784 of ENOTEMPTY (#518816)
786 2008-02-25 Matthias Clasen <mclasen@redhat.com>
788 * === Released 2.15.6 ===
790 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
792 * gfile.c (g_file_find_enclosing_mount):
793 * ginputstream.c (g_input_stream_set_pending):
794 * glocalfile.c (g_local_file_find_enclosing_mount):
795 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
796 * goutputstream.c (g_output_stream_set_pending):
798 Fixup translator comments (#518578).
800 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
802 * gfile.c (g_file_find_enclosing_mount):
804 * glocalfile.c (g_local_file_find_enclosing_mount):
807 Fix a few typos in translator comments and documentation.
809 2008-02-25 Alexander Larsson <alexl@redhat.com>
816 Add translator comments (#518578)
818 2008-02-25 Alexander Larsson <alexl@redhat.com>
821 Reintroduce g_file_contains_file, keep around for one
822 unstable release cycle to avoid crashing to many apps.
823 Make sure to delete after release.
825 2008-02-25 Alexander Larsson <alexl@redhat.com>
828 Remove deprecated g_file_contains_file.
830 2008-02-25 Alexander Larsson <alexl@redhat.com>
833 Emit actual change signals in an idle handler.
834 This avoids reentrance and locking problems in
835 the file notification backends.
837 2008-02-25 Alexander Larsson <alexl@redhat.com>
840 (g_unix_mount_guess_should_display):
841 Remove type guessing, instead just display
842 mounts in /media and in ~/.
844 2008-02-25 Alexander Larsson <alexl@redhat.com>
847 Make new strings reuse old ones.
849 2008-02-25 Alexander Larsson <alexl@redhat.com>
852 Implement trashing and filesystem::readonly for win32 (#517235)
853 Patch from Yevgen Muntyan
855 2008-02-23 Matthias Clasen <mclasen@redhat.com>
857 * gfileinfo.h: Documentation fixes.
859 2008-02-22 Alexander Larsson <alexl@redhat.com>
861 * gcontenttype.c (g_content_type_get_icon):
862 Look at old-style gnome mime icon names too, as many
863 have not moved to the new style.
865 2008-02-21 Matthias Clasen <mclasen@redhat.com>
867 * *.c: Correct the @include in for section docs.
869 2008-02-21 David Zeuthen <davidz@redhat.com>
871 * glocalfileinfo.c: (_g_local_file_info_get):
873 (g_content_type_get_icon): Implement this function by
874 moving bits from glocalfileinfo.c
875 (g_content_type_get_description): Unalias before getting
876 description (#517687)
878 * gfile.c: (g_file_class_init),
879 (g_file_query_filesystem_info_async),
880 (g_file_query_filesystem_info_finish),
881 (query_filesystem_info_data_free),
882 (query_filesystem_info_async_thread),
883 (g_file_real_query_filesystem_info_async),
884 (g_file_real_query_filesystem_info_finish):
885 * gfile.h: Implement async version of
886 g_file_query_filesystem_info()
888 * gfileinfo.h: Add new attributes for filesystem::use-preview
890 * gio.symbols: Update
892 * gthemedicon.c: (g_themed_icon_append_name):
893 * gthemedicon.h: Add new new convenience function.
895 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
896 (get_mounts), (get_volumes), (get_connected_drives),
897 (get_volume_for_uuid), (get_mount_for_uuid),
898 (g_union_volume_monitor_init), (populate_union_monitor),
899 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
900 (g_volume_monitor_adopt_orphan_mount):
902 * gvolumemonitor.h: Use recursive locks so it's safe for volume
903 monitor implementations to call into the main volume monitor. Also
904 separate object initialization and volume monitor initialization
905 such that non-native volume monitors can properly adopt their
908 2008-02-21 Alexander Larsson <alexl@redhat.com>
913 2008-02-21 Alexander Larsson <alexl@redhat.com>
916 Add more documentation about how GFiles work (from #517086)
918 2008-02-21 Alexander Larsson <alexl@redhat.com>
922 Add new g_file_has_prefix that does the same as g_file_contains_file.
923 Deprecate g_file_contains_file and add a macro that converts
924 it to g_file_has_prefix.
925 The reason for this change is that the contains_file() name seems to
926 imply that this does more work than what it does, but its really only
927 a name match (from #517086)
932 Update to match the above change.
934 2008-02-20 Benjamin Otte <otte@gnome.org>
936 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
937 (g_file_eject_mountable):
938 even more cases of not returning in error path
940 2008-02-20 Benjamin Otte <otte@gnome.org>
942 * gfile.c: (g_file_mount_mountable):
943 return from function in error path.
945 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
948 Remove trailing coma in GMountMountFlags struct
950 2008-02-18 Alexander Larsson <alexl@redhat.com>
954 * glocalfileoutputstream.c:
955 Use g_unlink/g_rename instead of unlink/rename;
956 do not pass raw filenames to g_set_error. (#517239)
957 Patch from Yevgen Muntyan.
959 2008-02-18 Alexander Larsson <alexl@redhat.com>
962 * glocalfileoutputstream.c:
963 Open files with O_BINARY on windows. (#517140)
965 2008-02-14 Alexander Larsson <alexl@redhat.com>
967 * glocalfileoutputstream.c:
968 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
970 2008-02-14 Alexander Larsson <alexl@redhat.com>
973 Copy permissions with file on copy (#514084)
974 This is what cp does and makes sure e.g. the
975 exec permissions are kept.
976 Its kinda weird in that it keeps the permission bits
977 the same while the uid and gid are different. However
978 the new uid is the user so its not a security issue,
979 and I've heard no complaints about cp on this issue.
981 2008-02-13 Ryan Lortie <desrt@desrt.ca>
983 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
985 2008-02-13 Alexander Larsson <alexl@redhat.com>
987 * inotify/inotify-path.c:
988 Define IN_ONLYDIR if not in header (#515346)
990 2008-02-12 Alexander Larsson <alexl@redhat.com>
992 * tests/live-g-file.c:
995 2008-02-11 Matthias Clasen <mclasen@redhat.com>
997 * === Released 2.15.5 ===
999 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1001 * gio.symbols: Add g_mount_mount_flags_get_type.
1003 2008-02-11 Alexander Larsson <alexl@redhat.com>
1006 (g_file_info_set_attribute_mask):
1007 (g_file_attribute_matcher_matches_id):
1008 Correctly handle NULL GAttributeMatcher meaning
1009 matches nothing. (Fixes #513492)
1011 2008-02-11 Alexander Larsson <alexl@redhat.com>
1016 Added GMountMountFlags enum and added a flags
1017 argument to all mount calls.
1019 This is an API/ABI change for future extensibility,
1020 as I think we will need at least an
1021 inhibit-autorun flag (the panel needs this).
1022 There are no flags defined yet though.
1024 2008-02-11 Alexander Larsson <alexl@redhat.com>
1027 Added new standard::description attribute.
1028 Requested by Vincent, and useful for both
1031 2008-02-11 Alexander Larsson <alexl@redhat.com>
1033 * gdesktopappinfo.c:
1036 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1038 * *.c: Documentation additions
1040 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1042 * gappinfo.h: Formatting cleanup
1043 * gappinfo.c: Fix up docs.
1045 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1047 * gunixmounts.c: Consistently use getmntent_r() and fall
1048 back to getmntent(). (#515492)
1050 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1052 * gbufferedinputstream.c:
1054 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1056 * tests/data-input-stream.c:
1057 * tests/data-output-stream.c: Portability fixes.
1059 2008-02-08 Alexander Larsson <alexl@redhat.com>
1064 Add g_volume_should_automount.
1067 2008-02-07 Tor Lillqvist <tml@novell.com>
1069 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1070 Win32, too Unix-specific.
1072 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1074 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1075 a local plt if the compiler doesn't support what we want. Bug #514702
1077 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1079 reviewed by: <delete if not using a buddy>
1082 * gunixinputstream.c:
1083 * gunixoutputstream.c:
1085 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1087 * tests/Makefile.am:
1088 * tests/live-g-file.c:
1089 * tests/live-g-file.txt:
1090 New GIO testing module working over real data
1092 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1094 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1095 Fallback to rename() if link() is not available
1096 (when no support on target filesystem)
1098 2008-02-06 Michael Natterer <mitch@imendio.com>
1100 * gfileinfo.c (g_file_info_get_icon): replace
1101 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1103 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1105 * gfile.c (g_file_create):
1106 Documentation update of error codes
1108 2008-02-06 Alexander Larsson <alexl@redhat.com>
1110 * gdesktopappinfo.c:
1111 Update to use both mimeapps.list and
1112 defaults.list as discussed on xdg list.
1114 2008-02-06 Benjamin Otte <otte@gnome.org>
1117 * gfilenamecompleter.c:
1118 Fix some typos in the documentation.
1120 2008-02-06 Alexander Larsson <alexl@redhat.com>
1122 * glocalfile.c (g_local_file_trash):
1123 Don't succeed with trash if newly created
1124 trash dir has the wrong owner. (#514696)
1126 2008-02-05 Alexander Larsson <alexl@redhat.com>
1128 * glocalfile.c (g_local_file_move):
1129 Don't spew warnings when destination is not
1132 2008-02-03 Hans Breuer <hans@breuer.org>
1134 * makefile.msc : update
1136 2008-02-01 Michael Natterer <mitch@imendio.com>
1138 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1139 return value of xdg_mime_list_mime_parents() to a variable of the
1142 2008-02-01 Alexander Larsson <alexl@redhat.com>
1144 * gappinfo.c (g_app_info_launch_uris):
1145 Actually call the launch_uris method, not
1148 2008-02-01 Alexander Larsson <alexl@redhat.com>
1150 * gdesktopappinfo.c (g_desktop_app_info_equal):
1151 Ensure appinfos with no id but same pointer value
1154 2008-02-01 Alexander Larsson <alexl@redhat.com>
1156 * gappinfo.c (g_app_info_launch_default_for_uri):
1159 2008-02-01 Alexander Larsson <alexl@redhat.com>
1163 Add g_app_info_launch_default_for_uri utility
1166 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1168 * gdesktopappinfo.c:
1169 Doc fix for g_app_info_get_default_for_uri_scheme ()
1172 2008-01-30 Alexander Larsson <alexl@redhat.com>
1175 Add doc comment about uris vs GFiles to
1178 * gdesktopappinfo.c:
1179 Ensure uris passed to g_app_info_launch_uris()
1180 are not roundtriped through GFile (as that
1181 may be slightly destructive for e.g. mailto: links)
1183 2008-01-30 Alexander Larsson <alexl@redhat.com>
1185 * tests/data-input-stream.c:
1186 * tests/data-output-stream.c:
1187 C89 fixes from Jens Granseuer (#512849)
1189 2008-01-30 Alexander Larsson <alexl@redhat.com>
1192 Fix gamin/fam difference build issue. (#509419)
1194 2008-01-29 Alexander Larsson <alexl@redhat.com>
1197 * gdesktopappinfo.c:
1198 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1200 2008-01-29 Alexander Larsson <alexl@redhat.com>
1202 * gdesktopappinfo.c:
1203 * gdesktopappinfo.h:
1204 giomodule-priv.h include moved to .c file.
1206 2008-01-29 Alexander Larsson <alexl@redhat.com>
1208 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1209 Remove unused prio/name fields.
1211 2008-01-29 Alexander Larsson <alexl@redhat.com>
1213 * gcontenttype.c (looks_like_text):
1214 Don't treat whitespace as control chars.
1216 2008-01-29 Alexander Larsson <alexl@redhat.com>
1218 * gdesktopappinfo.c:
1219 Lazily create the desktop files for appinfos created
1220 by g_app_info_create_from_commandline() when needed
1221 for mime associations. This allows run-time use
1222 of GAppInfo object without creating unnecessary
1225 2008-01-29 Alexander Larsson <alexl@redhat.com>
1228 Added new symbols to gio.symbols
1230 2008-01-29 Alexander Larsson <alexl@redhat.com>
1233 Add g_file_query_default_handler utility to easily look up
1234 the GAppInfo that handles a file.
1236 * gdesktopappinfo.[ch]:
1238 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1241 Remove unused function
1243 2008-01-29 Alexander Larsson <alexl@redhat.com>
1245 * gfileenumerator.c:
1246 Mention need to free returned value in
1247 g_file_enumerator_next_files_finish docs.
1248 Fix leak if g_file_enumerator_next_files_finish()
1251 2008-01-29 Alexander Larsson <alexl@redhat.com>
1254 (_g_unix_content_type_get_parents):
1255 Use list_parents, not get_parents from xdgmime, because
1256 the later doesn't use the cache.
1258 * xdgmime/xdgmimecache.c:
1259 (_xdg_mime_cache_list_mime_parents):
1260 Don't list the same type as parent multiple times.
1262 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1264 * === Released 2.15.4 ===
1266 2008-01-28 Alexander Larsson <alexl@redhat.com>
1269 Register local vfs with prio 0.
1272 Remove old name and prio class members
1274 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1276 * tests/g-file.c: Disable some tests that are failing in
1277 the absence of a http backend.
1279 2008-01-28 Alexander Larsson <alexl@redhat.com>
1283 Add registration hooks for extension points.
1284 Register the gio extension points.
1286 * fam/gfamdirectorymonitor.c:
1287 * fam/gfamfilemonitor.c:
1288 * glocaldirectorymonitor.[ch]:
1289 * glocalfilemonitor.[ch]:
1290 * gnativevolumemonitor.h:
1291 * gunionvolumemonitor.c:
1292 * gunixvolumemonitor.c:
1295 * inotify/ginotifydirectorymonitor.c:
1296 * inotify/ginotifyfilemonitor.c:
1297 Use the extension points registration instead
1298 of g_type_children().
1300 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1303 * gvolume.[hc]: Document new API.
1305 * gfile.c (g_file_copy_async): Fix docs
1307 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1309 * gbufferedinputstream.c:
1311 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1314 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1316 * glocalfile.c: Avoid trivial differences in translatable strings.
1318 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1320 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1321 build with gcc 3.4 (#509419)
1323 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1325 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1326 (#509994, Murray Cumming)
1328 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1330 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1331 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1332 this allows big jobs to be executed in chunks, instead of blocking
1333 the main loop for a long time.
1335 * gsimpleasyncresult.c:
1336 * giofile.c: Adapt callers.
1338 2008-01-25 Alexander Larsson <alexl@redhat.com>
1340 * gdesktopappinfo.c:
1341 Implement changes discussed on xdg list.
1342 Now we can add supported mimetypes by just using defaults.list
1343 We can also remove associations in defaults.list.
1345 2008-01-25 Alexander Larsson <alexl@redhat.com>
1347 * gdesktopappinfo.c:
1348 Don't make local copy of desktop file
1349 for mimetype changes if the file already
1350 supports the new mimetype.
1352 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1356 * gbufferedinputstream.c:
1357 * glocalfile.c: String improvements. (#511966,
1358 Theppitak Karoonboonyanan)
1360 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1362 * gioscheduler.h: Expand docs a bit.
1364 2008-01-24 Alexander Larsson <alexl@redhat.com>
1367 Add g_drive_get_identifier and
1368 g_drive_enumerate_identifiers
1371 Add g_volume_get_identifier and
1372 g_volume_enumerate_identifiers
1378 Implement identifiers for unix backend
1380 2008-01-24 Alexander Larsson <alexl@redhat.com>
1385 Add g_file_copy_async() (#511580)
1386 Based on patch from Carlos Garcia Campos
1388 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1390 * gioscheduler.c: Some documentation additions.
1392 2008-01-22 Alexander Larsson <alexl@redhat.com>
1394 * gdesktopappinfo.c:
1395 (g_desktop_app_info_new):
1396 Don't leak basename.
1398 2008-01-22 Alexander Larsson <alexl@redhat.com>
1400 * gdesktopappinfo.c:
1401 (g_desktop_app_info_new_from_filename):
1404 2008-01-22 Alexander Larsson <alexl@redhat.com>
1406 * glocalfileinfo.c (get_thumbnail_attributes):
1409 2008-01-22 Alexander Larsson <alexl@redhat.com>
1412 (canonicalize_filename):
1413 Canonicalize paths that start with more than
1417 (compare_two_files):
1418 (test_g_file_new_for_path):
1421 2008-01-22 Alexander Larsson <alexl@redhat.com>
1424 Allow UTF-8 in file:// parse names.
1426 * tests/Makefile.am:
1427 * tests/data-input-stream.c:
1428 * tests/data-output-stream.c:
1429 * tests/g-file-info.c:
1431 Added a bunch of tests from Tomas Bzatek
1433 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1435 * === Released 2.15.3 ===
1437 2008-01-21 Alexander Larsson <alexl@redhat.com>
1439 * gfileinputstream.[ch]:
1440 * gfileoutputstream.[ch]:
1442 Remove duplicated GSeekable functions. (#509990)
1443 Just use the g_seekable_xxx() calls instead.
1445 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1448 * gvolumemanager.c: Whitespace cleanups.
1450 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1451 Use the right mode when creating the file.
1453 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1455 * gfileenumerator.c:
1456 * gfileinputstream.c:
1458 * goutputstream.c: Documentation: Fixed minor typos
1459 and added more mentions of specific _finish() functions.
1461 2008-01-21 Alexander Larsson <alexl@redhat.com>
1463 * inotify/Makefile.am:
1464 * inotify/inotify-helper.c:
1465 * inotify/inotify-kernel.c:
1466 * inotify/inotify-path.c:
1467 * inotify/local_inotify.h: Removed.
1468 * inotify/local_inotify_syscalls.h: Removed.
1469 Removed the included copies of the inotify
1470 headers. We now only use the <sys/inotify.h>
1471 header which exists on modern systems.
1472 This fixes problems on ARM and SH5 (#510448)
1473 but is also generally much cleaner and future
1474 safe. For instance, if other OSes add support
1475 for inotify it should "just work".
1477 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1479 * inotify/*.c: Coding style fixes.
1480 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1481 for the 1/4 Hz timer.
1483 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1486 * gfilemonitor.[hc]:
1487 * gmemoryinputstream.c:
1488 * gmemoryoutputstream.c:
1489 * gmountoperation.c:
1490 * gthemedicon.c: Documentation updates
1492 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1494 * gfile.c: documentation: Fixed more minor
1497 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1499 * gmount.c: (g_mount_remount): documentation:
1500 Mention g_mount_remount_finish() instead of
1501 g_mount_unmount_finish().
1503 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1507 * gfile.c: Fixed some minor typos in the
1510 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1512 * gio/gvolumemonitor.c:
1513 (g_volume_monitor_get_connected_drives):
1514 (g_volume_monitor_get_volumes):
1515 (g_volume_monitor_get_mounts): Documentation:
1516 Clarify the ownership of the regurn GLists.
1518 2008-01-17 Alexander Larsson <alexl@redhat.com>
1521 Add the async find_enclosing_mount version
1522 to the header file too.
1524 2008-01-17 Alexander Larsson <alexl@redhat.com>
1527 Add async version of find_enclosing_mount
1528 with default implementation.
1530 2008-01-17 Alexander Larsson <alexl@redhat.com>
1535 Allow calls to implementation of copy and write
1536 even if the type of the file implementations is
1537 different. This can be used to implement native
1538 upload and download calls in a vfs.
1541 (g_local_file_move):
1542 Protect against the case where move is called
1543 with one file not being local.
1545 Make sure we call the progress callback once
1546 in the native move operation so that the caller
1547 knows how many bytes were copied.
1549 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1552 * gdatainputstream.c:
1554 * gfileoutputstream.c:
1559 * gunixmounts.c: Corrected some typos in the documentation:
1560 occured -> occurred.
1561 its -> it's (where appropriate).
1563 2008-01-16 Alexander Larsson <alexl@redhat.com>
1567 Add g_file_query_exists (#508771)
1569 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1574 * gvolume.c: For async functions that have no non-async
1575 version, document that the GAsyncReadyCallback may be NULL.
1578 2008-01-15 Alexander Larsson <alexl@redhat.com>
1580 * gmemoryinputstream.c:
1581 * gmemoryoutputstream.c:
1582 Don't do pointer arithmetic on void * (#508602)
1583 Patch from Kazuki IWAMOTO
1585 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1587 * === Released 2.15.2 ===
1589 2008-01-14 Alexander Larsson <alexl@redhat.com>
1591 * gfile.c (g_file_monitor_file):
1592 Don't set error here, since we fallback to polling monitor.
1594 2008-01-14 Alexander Larsson <alexl@redhat.com>
1597 (g_file_monitor_directory):
1598 (g_file_monitor_file):
1599 Add GError to file monitor calls
1601 * glocaldirectorymonitor.c:
1602 * glocaldirectorymonitor.h:
1604 * glocalfilemonitor.c:
1605 * glocalfilemonitor.h:
1607 Update for above change
1609 2008-01-14 Alexander Larsson <alexl@redhat.com>
1613 Handle root correctly in g_file_get_relative_path (#508719)
1615 2008-01-14 Alexander Larsson <alexl@redhat.com>
1618 Clean up docs and example for GAsyncResult (#508074)
1620 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1622 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1623 and correct some spelling mistakes. Bug #508108.
1625 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1627 * glocalfileinfo.c: Add a comment.
1629 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1631 * gfileinfo.c: GFileInfo description: Mention
1632 how to actually set attributes in a GFile and how to discover
1633 which attributes are settable. Bug #508378.
1635 2008-01-10 A. Walton <awalton@svn.gnome.org>
1637 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1638 (g_app_info_get_default_for_type):
1639 Check for NULL content types.
1641 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1643 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1645 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1647 * gfile.c: *_async() functions: Several small corrections
1648 to the documentation, mostly correcting copy/paste errors
1649 and improving some sentences.
1651 2008-01-09 Dan Winship <danw@gnome.org>
1653 * glocalfile.c (get_unique_filename): x86_64 fix
1655 2008-01-09 Alexander Larsson <alexl@redhat.com>
1660 Add g_unix_mount_guess_should_display and use
1661 for unix volume monitor backend.
1662 This means we more or less show what the
1663 gnome-vfs backend did.
1664 Based on patch from Padraig O'Briain
1666 2008-01-09 Alexander Larsson <alexl@redhat.com>
1670 Add g_themed_icon_new_with_default_fallbacks
1673 Use default fallbacks for icons
1675 2008-01-09 Alexander Larsson <alexl@redhat.com>
1678 * gmountoperation.[ch]:
1679 Change the API a bit so that unhandled methods
1680 get reported via the reply, rather than by
1681 the signal emission return value. This is because
1682 some handlers can't know this immediately without
1683 doing I/O, and this is an async operation that
1686 2008-01-09 Alexander Larsson <alexl@redhat.com>
1689 * fam/gfamdirectorymonitor.c:
1690 * fam/gfamfilemonitor.c:
1691 Fix double free crash (#508224)
1692 Patch from Joe Marcus Clarke
1694 008-01-07 Matthias Clasen <mclasen@redhat.com>
1696 * === Released 2.15.1 ===
1698 2008-01-07 Alexander Larsson <alexl@redhat.com>
1700 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1701 Fix warning (#507835)
1703 2008-01-07 Alexander Larsson <alexl@redhat.com>
1706 Pass --internal to glib-genmarshal
1709 * gmountoperation.c:
1711 Use better types for signal arguments (#507822)
1713 2008-01-07 Alexander Larsson <alexl@redhat.com>
1716 Build test subdir after .
1717 Remove gdirectorymonitor.[ch]
1719 * gdirectorymonitor.[ch]:
1723 Remove GDirectoryMonitor and make
1724 GFileMonitor the baseclass for both file and
1725 directory monitors. Lift the more generic
1726 rate limiting code from GDirectoryMonitor
1730 * fam/gfamdirectorymonitor.[ch]:
1731 * inotify/ginotifydirectorymonitor.[ch]:
1732 * inotify/inotify-helper.c:
1733 * glocaldirectorymonitor.[ch]:
1736 Update for the removed GDirectoryMonitor.
1738 * gmemoryoutputstream.c:
1739 Remove ununsed variable
1741 2008-01-07 Alexander Larsson <alexl@redhat.com>
1743 * gmemoryinputstream.c:
1744 Translate error strings
1747 * gmemoryoutputstream.[ch]:
1748 New implementation that avoids using GByteArray
1749 in implementation and API. (#506377)
1751 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1753 * tests/*: Add a test for memory input streams.
1755 * Makefile.am: Add tests to SUBDIRS.
1757 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1759 * glocalfilemonitor.c:
1760 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1763 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1765 * gdesktopappinfo.c: Fix a docs typo.
1767 * gfileattribute.c: Add information about extended attributes
1768 to the documentation. (#505058)
1770 2008-01-04 Alexander Larsson <alexl@redhat.com>
1773 * gmountoperation.c:
1774 Use the right type (uint) for the ask_password signal.
1776 2008-01-04 Alexander Larsson <alexl@redhat.com>
1781 Add g_app_info_supports_files()
1782 Remove desktop arg from g_app_info_should_show().
1784 * gdesktopappinfo.[ch]:
1785 Implement g_app_info_supports_files() and new should_show()
1786 Add g_desktop_app_info_set_desktop_env() to set the desktop
1787 for should_show(). (This will be set by gtk+ later)
1789 2008-01-04 Alexander Larsson <alexl@redhat.com>
1792 * gmemoryinputstream.[ch]:
1793 Improve API so that you can use multiple chunks
1794 of memory and custom destroy functions. (#506374)
1796 2008-01-03 Alexander Larsson <alexl@redhat.com>
1799 Handle NULL attribute matchers safely, as we return this
1800 for empty attribute matcher strings.
1802 2008-01-03 Alexander Larsson <alexl@redhat.com>
1804 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1805 Add /usr/local to list of internal mountpoints
1807 2008-01-03 Alexander Larsson <alexl@redhat.com>
1810 Check for HAVE_LCHOWN (#505887)
1812 2008-01-03 Alexander Larsson <alexl@redhat.com>
1816 Add define for selinux context attribute.
1817 Fix missing : -> :: namespace separator change
1818 Fix missing _ -> - name change for xattr-sys.
1821 2008-01-03 Alexander Larsson <alexl@redhat.com>
1824 Link to libglib and libgobject directly (#504879)
1825 Patch from Sebastien Bacher
1827 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1829 * gfile.c: Expanded the g_file_new_for_commandline_arg
1830 description a bit, based on the code and the docs of the
1831 other g_file_new_for_* functions.
1833 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1835 * gfilemonitor.h: Fixed typo in docs.
1837 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1839 Updates to GIO documentation. (#506395, Mikael Hermansson)
1841 * gcontenttype.c: Describe memory management for return value of
1842 g_content_types_get_registered(). Missing piece from #505815.
1843 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1844 GVolume, GDrive, GMounts, which hopefully gives the user less
1845 confusions when using this API. Following explainations from
1846 Alexander Larsson on gtk-devel-list.
1848 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1850 * gfileinfo.c: Expand the long description.
1852 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1855 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1856 fix builds with --disable-visibility. (#500273, Christian Persch)
1858 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1860 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1861 in the list of returned app infos.
1863 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1865 * gappinfo.c: Fix a cross-reference
1867 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1869 * gfileinputstream.c:
1870 * gfileoutputstream.c:
1874 * gdesktopappinfo.c:
1876 * gfileinfo.c: Documentation updates.
1878 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1880 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1883 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1885 * gcontenttype.c (g_content_types_get_registered): Don't return
1886 freed memory (#505815, Mikael Hermansson)
1888 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1890 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1891 used to detect statbuf->st_blocks. (#505042)
1893 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1895 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1896 environment handling. (#504829, Cosimo Cecchi)
1898 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1900 * gappinfo.c: Doc improvements
1902 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1905 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1907 * === Released 2.15.0 ===
1909 2007-12-20 Hans Breuer <hans@breuer.org>
1911 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1912 with symbols gwin32appinfo.obj, added gmount.obj
1913 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1915 2007-12-20 Alexander Larsson <alexl@redhat.com>
1921 * gfilenamecompleter.c:
1924 * gpollfilemonitor.c:
1925 File attribute renames:
1927 fs:: -> filesystem::
1928 id::fs -> id::filesystem
1930 2007-12-20 Alexander Larsson <alexl@redhat.com>
1939 Add GMountUnmountFlags to all unmount and
1941 Add g_mount_remount() call.
1943 2007-12-20 Alexander Larsson <alexl@redhat.com>
1945 * gvfs.c (get_default_vfs):
1946 Fix unused variable warning
1948 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1950 * pltcheck.sh: Update
1952 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1954 * gunionvolumemonitor.c:
1955 * gunixmount.c: Remove C99 comments
1957 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1959 * gio.symbols: Add some missing symbols
1961 2007-12-19 Alexander Larsson <alexl@redhat.com>
1964 Make g_io_modules_load_all_in_directory not unuse
1965 loaded modules so that users of it can do stuff
1967 Init internal "module" types.
1968 Initialize static prio and name for types so that
1969 we don't have to load modules to get it.
1971 * gnativevolumemonitor.h:
1973 Move is_supported to parent class so that
1974 non-native monitors can avoid being initialized
1975 too. (For instance GDaemonVolumeMonitor if we're
1976 not using GDaemonVfs.)
1978 * glocaldirectorymonitor.[ch]:
1979 * glocalfilemonitor.[ch]:
1980 * gunionvolumemonitor.c:
1981 * gunixvolumemonitor.c:
1983 Find plugins using the static prio+name to
1984 avoid unnecessarily loading the modules.
1986 2007-12-19 Alexander Larsson <alexl@redhat.com>
1991 2007-12-19 Alexander Larsson <alexl@redhat.com>
1993 * gunionvolumemonitor.c:
1994 Store the native type as GType, not class so that
1995 we can unload it. But still avoid unnecessarily
1998 2007-12-19 David Zeuthen <davidz@redhat.com>
2000 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2001 add signals 'disconnected' and 'eject-button' on GDrive. Add
2002 signal 'removed' on GVolume and 'unmounted' on GMount.
2004 * gdrive.c: (g_drive_base_init):
2006 * gfile.c: (g_file_mount_mountable),
2007 (g_file_mount_enclosing_volume):
2010 * gmount.c: (g_mount_base_init):
2012 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2013 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2014 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2018 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2020 * *.c: Fix up includes in the section docs.
2022 2007-12-17 Alexander Larsson <alexl@redhat.com>
2024 * gnativevolumemonitor.h:
2025 * gunionvolumemonitor.c:
2026 * gunixvolumemonitor.c:
2027 Add is_supported() to GNativeVolumeMonitorClass so
2028 that we can avoid having to create an object to see
2029 if the backend is supported at runtime.
2030 Also add name member and an env var to pick a specific
2031 volume monitor backend.
2035 Add cancellable to _g_mount_get_for_mount_path()
2037 * glocaldirectorymonitor.c:
2038 * glocalfilemonitor.c:
2039 Avoid loading and unloading modules while sorting.
2041 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2044 * gunixmounts.[hc]: Namespace waste reduction, move some
2045 g_get_unix_mount functions to the g_unix_mount namespace.
2048 * gunixvolumemonitor.c:
2050 * glocaldirectorymonitor.c: Update all callers.
2052 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2054 2007-12-17 Alexander Larsson <alexl@redhat.com>
2057 Add doc comments about what GFile operations are
2058 guaranteed to not block.
2060 2007-12-17 Alexander Larsson <alexl@redhat.com>
2063 Add missing #ifdef fixing OSX build.
2064 (#503334, patch from Richard Hult)
2066 2007-12-14 David Zeuthen <davidz@redhat.com>
2070 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2071 (g_mount_eject), (g_mount_eject_finish):
2073 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2074 (get_volume_for_uuid), (get_mount_for_uuid),
2075 (g_union_volume_monitor_class_init),
2076 (get_default_native_type_with_exclude), (get_default_native_type),
2077 (get_native_type), (update_native_type),
2078 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2079 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2080 (g_unix_mount_can_eject), (eject_unmount_cb),
2081 (eject_unmount_read_error), (eject_unmount_do),
2082 (g_unix_mount_unmount), (g_unix_mount_eject),
2083 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2084 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2085 (g_unix_mount_point_guess_can_eject):
2087 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2088 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2089 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2090 (g_unix_volume_mount), (g_unix_volume_eject),
2091 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2092 * gunixvolumemonitor.c: (get_volume_for_uuid),
2093 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2095 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2096 (g_volume_eject), (g_volume_eject_finish):
2098 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2099 (g_volume_monitor_get_mount_for_uuid):
2102 Provide eject() on both GMount and GVolume and utility functions
2103 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2104 ejected. Introduce the concept of UUID's and wire it into GVolume
2105 and GMount and provide API on GVolumeMonitor to find such
2106 instances. Also handle the case where an external
2107 GNativeVolumeMonitor fails to initialize. Lock around the
2108 _g_get_mount_for_mount_path() function such that volume monitor
2109 implementations won't have to do locking themselves.
2111 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2113 * gdesktopappinfo.c:
2119 * gvolume.h: Documentation updates
2121 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2124 * gfile.h: Doc updates
2126 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2129 * gdesktopappinfo.c: Use hash table iterators.
2131 2007-12-14 Alexander Larsson <alexl@redhat.com>
2134 * gfileattribute.[ch]:
2135 * gfileattribute-priv.h:
2136 Move GFileAttributeValue to a private header, as
2140 Make set_attribute take a type + a pointer instead
2141 of a GFileAttributeValue.
2144 Fix up for above changes.
2145 Add g_file_info_get_attribute_data to get
2146 all info in one call, g_file_info_get_attribute_status
2147 to get the status and g_file_info_get_attribute_as_string.
2151 * glocalfileinfo.[ch]:
2155 Make _guess_type static.
2157 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2160 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2161 made mkenums and friends use temporary files to avoid leaving
2162 empty generated files on failure (#503470).
2164 2007-12-14 Alexander Larsson <alexl@redhat.com>
2166 * gmountoperation.h:
2169 2007-12-14 Alexander Larsson <alexl@redhat.com>
2173 * gfileattribute.[ch]:
2176 * glocalfileoutputstream.c:
2177 * gmountoperation.[ch]:
2178 * goutputstream.[ch]:
2179 Clean up all flags enums to not have _FLAGS in them
2180 Make the names of some of the enums better.
2185 2007-12-14 Michael Natterer <mitch@imendio.com>
2187 * gio.symbols: fix g_io_scheduler symbol names.
2189 2007-12-14 Alexander Larsson <alexl@redhat.com>
2195 * gbufferedinputstream.h:
2196 * gbufferedoutputstream.h:
2199 * gdatainputstream.h:
2200 * gdataoutputstream.h:
2201 * gdesktopappinfo.h:
2202 * gdirectorymonitor.h:
2206 * gfileenumerator.h:
2209 * gfileinputstream.h:
2211 * gfilenamecompleter.h:
2212 * gfileoutputstream.h:
2213 * gfilterinputstream.h:
2214 * gfilteroutputstream.h:
2222 * gmemoryinputstream.h:
2223 * gmemoryoutputstream.h:
2225 * gmountoperation.h:
2228 * gsimpleasyncresult.h:
2230 * gunixinputstream.h:
2232 * gunixoutputstream.h:
2236 * inotify/Makefile.am:
2237 Only allow including <gio/gio.h> from apps
2239 2007-12-14 Alexander Larsson <alexl@redhat.com>
2241 * gioscheduler.[ch]:
2242 * gsimpleasyncresult.c:
2243 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2244 Split out the send_to_mainloop call into two versions instead
2245 of having the block argument.
2247 2007-12-13 Alexander Larsson <alexl@redhat.com>
2249 * gcancellable.[ch]:
2251 * gbufferedinputstream.c:
2252 * gfileenumerator.c:
2253 * gfileinputstream.c:
2254 * gfileoutputstream.c:
2258 g_push/pop_current_cancellable ->
2259 g_cancellable_push/pop_current
2261 2007-12-13 Alexander Larsson <alexl@redhat.com>
2265 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2267 2007-12-13 Alexander Larsson <alexl@redhat.com>
2269 * gmountoperation.h:
2270 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2272 2007-12-12 Alexander Larsson <alexl@redhat.com>
2275 Fix race condition when freeing proxy in
2276 g_io_job_send_to_mainloop().
2278 2007-12-12 Alexander Larsson <alexl@redhat.com>
2284 Make attribute namespace separator "::" instead of ":".
2285 Use - instead of _ as separator in attribute names.
2287 2007-12-12 Alexander Larsson <alexl@redhat.com>
2289 * gbufferedinputstream.h:
2290 * gbufferedoutputstream.h:
2291 * gdatainputstream.h:
2292 * gdataoutputstream.h:
2293 * gdirectorymonitor.h:
2294 * gfileenumerator.h:
2295 * gfileinputstream.h:
2297 * gfileoutputstream.h:
2298 * gfilterinputstream.h:
2299 * gfilteroutputstream.h:
2301 * glocalfileinputstream.h:
2302 * glocalfileoutputstream.h:
2303 * gmemoryinputstream.h:
2304 * gmemoryoutputstream.h:
2305 * gnativevolumemonitor.h:
2307 * gunixinputstream.h:
2308 * gunixoutputstream.h:
2311 s/parent/parent_instance/ in GObjects
2313 2007-12-12 Alexander Larsson <alexl@redhat.com>
2318 No need for padding for interfaces
2320 2007-12-12 Alexander Larsson <alexl@redhat.com>
2324 * gbufferedinputstream.c:
2325 * gbufferedoutputstream.c:
2328 * gdatainputstream.[ch]:
2329 * gdesktopappinfo.c:
2330 * gdirectorymonitor.c:
2332 * gfileattribute.[ch]:
2335 * gfileinputstream.h:
2336 * gfilemonitor.[ch]:
2337 * gfileoutputstream.[ch]:
2338 * gfilterinputstream.h:
2339 * gfilteroutputstream.h:
2342 * gloadableicon.[ch]:
2343 * gmemoryinputstream.c:
2344 * gmountoperation.c:
2346 Fix up a bunch of details in the docs.
2351 2007-12-11 David Zeuthen <davidz@redhat.com>
2353 Rework how volumes, drives and volume monitoring is
2354 done. Previosly the model was
2356 GDrive <1-1> GVolume
2358 where a GDrive instance represented a mount point and a GVolume
2359 instance represented a mounted file system. This patch changes it
2362 GDrive <1-N> GVolume <1-1> GMount
2364 where GMount now serves the purpose of the old GVolume and the new
2365 GVolume serves the purpose of the old GDrive. In addition the new
2366 GDrive interface is used to represent a collection of GVolume
2367 instances (typically partitions) and also contains utility to query
2368 the state of the physical drive the GDrive object represents (such
2369 as checking for media, polling the drive, ejecting the media etc.).
2371 Also implement mounting and unmounting in the Unix volume monitor
2372 backend. A subquent patch will introduce GDrive support for ejection
2376 * gdrive.c: (g_drive_is_media_check_automatic),
2377 (g_drive_is_media_removable), (g_drive_has_media),
2378 (g_drive_can_poll_for_media), (g_drive_eject),
2379 (g_drive_eject_finish), (g_drive_poll_for_media),
2380 (g_drive_poll_for_media_finish):
2382 * gfile.c: (g_file_find_enclosing_mount):
2385 * glocaldirectorymonitor.c:
2386 (g_local_directory_monitor_constructor), (mounts_changed):
2387 * glocalfile.c: (get_mount_info),
2388 (g_local_file_find_enclosing_mount),
2389 (g_local_file_file_iface_init):
2390 * gnativevolumemonitor.h:
2391 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2392 (get_connected_drives), (g_union_volume_monitor_class_init),
2393 (child_volume_added), (child_volume_removed),
2394 (child_volume_changed), (child_mount_added), (child_mount_removed),
2395 (child_mount_pre_unmount), (child_mount_changed),
2396 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2397 (g_union_volume_monitor_remove_monitor),
2398 (_g_mount_get_for_mount_path):
2399 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2400 (guess_system_internal), (_g_get_unix_mounts),
2401 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2402 (g_unix_mount_free), (g_unix_mount_compare),
2403 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2404 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2405 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2406 (type_to_icon), (g_unix_mount_guess_name),
2407 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2408 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2409 (_resolve_symlink), (_resolve_dev_root):
2411 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2412 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2413 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2414 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2415 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2416 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2417 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2418 (g_unix_volume_volume_iface_init):
2420 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2421 (get_mounts), (get_volumes), (get_connected_drives),
2422 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2423 (mountpoints_changed), (mounts_changed),
2424 (g_unix_volume_monitor_init),
2425 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2426 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2427 * gunixvolumemonitor.h:
2428 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2429 (g_volume_mount), (g_volume_mount_finish):
2431 * gvolumemonitor.c: (g_volume_monitor_class_init),
2432 (g_volume_monitor_get_connected_drives),
2433 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2436 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2438 * gmountoperation.h (GPasswordFlags): Close the gap
2440 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2442 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2444 * gdesktopappinfo.[hc]: Remove _-prefixes
2446 2007-12-10 Tor Lillqvist <tml@novell.com>
2448 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2451 2007-12-10 Alexander Larsson <alexl@redhat.com>
2453 * gfile.c (g_file_set_display_name):
2454 Don't hardcode '/' (#502727)
2456 2007-12-09 Hans Breuer <hans@breuer.org>
2458 * makefile.msc : follow lib naming convention
2459 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2460 for user and group name, tested with ../tests/gio-ls
2462 2007-12-09 A. Walton <awalton@svn.gnome.org>
2464 * gdesktopappinfo.c:
2470 * gfileenumerator.c:
2475 * gmemoryinputstream.c:
2476 * gmemoryoutputstream.c:
2478 * gsimpleasyncresult.c:
2479 More documentation cleanup and filling in missing information, bringing
2480 GIO to 99% symbol coverage.
2482 2007-12-08 Hans Breuer <hans@breuer.org>
2484 [gio compiles and links on win32, not sure how much already works]
2485 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2486 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2487 base on win32 API; prefer g_lstat() over lstat(); instead of
2488 localtime_r() use an all GLib implementation on win32;
2489 get_mount_info() still needs a win32 specifc implementation
2490 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2491 win32_get_file_user_info to get owner/group info without uid/gid
2492 * glocalfileinputstream.c : include <io.h> on win32
2493 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2494 definition, use g_win32_ftruncate() for G_OS_WIN32
2495 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2496 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2497 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2498 * makefile.msc : updated
2500 2007-12-07 Alexander Larsson <alexl@redhat.com>
2502 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2503 Avoid warning spew if error == NULL
2505 2007-12-07 Alexander Larsson <alexl@redhat.com>
2508 Update docs wrt etags
2510 2007-12-06 Alexander Larsson <alexl@redhat.com>
2513 Include sys/types.h for dev_t (#501919)
2515 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2519 Make abicheck and pltcheck pass.
2521 2007-12-05 Alexander Larsson <alexl@redhat.com>
2524 * giomodule-priv.h: Added.
2525 * glocaldirectorymonitor.c:
2526 * glocalfilemonitor.c:
2527 * gunionvolumemonitor.c:
2529 Actually add the declaration of _g_io_modules_ensure_loaded
2531 2007-12-05 Alexander Larsson <alexl@redhat.com>
2533 * gdatainputstream.c:
2538 * glocaldirectorymonitor.c:
2539 * glocalfilemonitor.c:
2540 * gunionvolumemonitor.c:
2542 Make g_io_modules_ensure_loaded a private function and
2543 don't pass in the dirname. This means we can do magic
2544 directory finding in the win32 version.
2545 Export the actual load-modules-in-directory code so that
2546 gvfs can reuse that.
2548 2007-12-05 Alexander Larsson <alexl@redhat.com>
2550 * gbufferedinputstream.c:
2551 * gbufferedoutputstream.c:
2554 * gfileenumerator.[ch]:
2555 * gfileinputstream.c:
2556 * gfileoutputstream.[ch]:
2557 * gfilterinputstream.c:
2558 * gfilteroutputstream.c:
2559 * ginputstream.[ch]:
2561 * glocalfileenumerator.c:
2562 * glocalfileinputstream.c:
2563 * glocalfileoutputstream.c:
2564 * gmemoryinputstream.c:
2565 * gmemoryoutputstream.c:
2566 * goutputstream.[ch]:
2569 * gunixinputstream.c:
2570 * gunixoutputstream.c:
2571 Rename all struct members named:
2572 read, write, close, truncate, or mount
2573 to foo_fn, as these are reserved names
2574 and could be defined as macros in libc.
2577 2007-12-04 Alexander Larsson <alexl@redhat.com>
2580 (g_output_stream_close):
2581 Only call flush if non-null.
2583 2007-11-30 Dan Winship <danw@gnome.org>
2585 * ginputstream.c (g_input_stream_set_pending): Make this take a
2586 GError and return a gboolean, and do the "outstanding operation"
2587 check (and the "stream is already closed" check) itself.
2588 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2590 * goutputstream.c (g_output_stream_set_pending)
2591 (g_output_stream_clear_pending): Likewise
2593 * gbufferedinputstream.c:
2594 * gfileinputstream.c:
2595 * gfileoutputstream.c: Update for that
2597 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2598 Like g_simple_async_report_error_in_idle, but takes a GError
2599 rather than building one.
2601 2007-11-30 Dan Winship <danw@gnome.org>
2603 * goutputstream.c: Don't cheat and unset the "pending" flag around
2604 inner calls. Instead, call the class method directly rather than
2605 the wrapper function that checks "pending"
2607 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2609 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2611 2007-12-03 Hans Breuer <hans@breuer.org>
2613 [start of port to win32/msvc]
2614 * gcancellable.c : HAVE_UNIST_H and _pipe()
2615 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2616 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2617 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2619 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2620 * glocalvfs.c : use HAVE_PWD_H
2621 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2622 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2623 * Makefile.am : added to EXTRA_DIST
2625 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2627 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2630 2007-12-03 Alexander Larsson <alexl@redhat.com>
2633 Handle OSX style xattrs API (#500506)
2635 2007-12-03 Alexander Larsson <alexl@redhat.com>
2639 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2641 2007-12-02 A. Walton <awalton@svn.gnome.org>
2645 Documentation accuracy fixes.
2647 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2649 * gioenumtypes.c.template: Fix typo.
2651 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2653 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2655 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2657 * gdirectorymonitor.c:
2658 * gfilemonitor.c: Add properties
2660 * gbufferedoutputstream.c: Don't mark buffer-size property
2663 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2665 * gbufferedoutputstream.c: Add auto-grow property.
2667 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2669 * *.c: Unify the capitalization of section headings.
2671 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2673 * gmountoperation.c: Add properties
2675 * gdatainputstream.c: Turn byte-order and newline-type into
2678 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2680 * gioenumtypes.[hc].template: Templates for enum registration
2682 * Makefile.am: Generate gioenumtypes.[hc]
2684 * gio.h: Include gioenumtypes.h
2686 * gfile.h: Add some explicit nicks.
2688 * gio.symbols: Add new symbols
2690 * pltcheck.sh: Adjust
2692 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2694 * *.c: Explain etags and link to the explanation
2696 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2698 * *.c: Explain I/O priority.
2700 * *.c: More coding style fixes.
2702 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2704 * gasyncresult.c: Add another paragraph to the intro,
2705 adjust coding style of example.
2707 2007-11-29 A. Walton <awalton@svn.gnome.org>
2710 Fixes unknown meaning in GAppLaunchContext docs.
2712 Clarify asynchronous ops.
2714 Fix entity tag docs.
2717 Provides missing gtk-doc section, fixes API docs slighly.
2718 * gsimpleasyncresult.c:
2719 Fill in missing info in docs.
2720 * gunixinputstream.c:
2721 * gunixoutputstream.c:
2722 Be more expressive in short description.
2724 Remove gtk-doc stubs for non-public API.
2726 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2728 * *.c: Coding style fixups
2730 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2732 * inotify/inotify-helper.c: Don't export the lock from libgio.
2734 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2737 * abicheck.sh: Fix copy-and-paste leftovers
2739 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2741 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2743 2007-11-28 Alexander Larsson <alexl@redhat.com>
2747 Removed unnecessary file
2749 * gdesktopappinfo.[ch]:
2752 * glocaldirectorymonitor.[ch]:
2754 * glocalfileenumerator.[ch]:
2755 * glocalfileinputstream.[ch]:
2756 * glocalfilemonitor.[ch]:
2757 * glocalfileoutputstream.[ch]:
2759 * gnativevolumemonitor.c:
2760 * gpollfilemonitor.[ch]:
2761 * gunionvolumemonitor.[ch]:
2764 * gunixvolumemonitor.[ch]:
2767 * inotify/ginotifydirectorymonitor.[ch]:
2768 * inotify/ginotifyfilemonitor.[ch]:
2769 * inotify/inotify-helper.c:
2770 Append _ to all internal functions
2774 Export symbols needed for modules
2776 2007-11-28 Alexander Larsson <alexl@redhat.com>
2779 * abicheck.sh: Added.
2780 * makegioalias.pl: Added.
2781 * pltcheck.sh: Added.
2782 * gio.symbols: Added.
2785 Initial work on adding symbol handling.
2788 Correct ifdef guard name
2791 * inotify/Makefile.am:
2792 * xdgmime/Makefile.am:
2793 Include toplevel Makefile.decl
2795 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2797 * gcontenttype.c: Move doc comments to the unix section.
2799 * *.[hc]: More trivial doc corrections.
2801 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2803 * gpollfilemonitor.c:
2807 * gdesktopappinfo.c:
2812 * gdatainputstream.c:
2813 * gdatainputstream.h:
2814 * gdataoutputstream.c:
2815 * gdataoutputstream.h:
2816 * gfileinfo.h: Doc cleanups
2818 2007-11-28 Andre Klapper <a9016009@gmx.de>
2820 * gdesktopappinfo.c: Fix a typo.
2822 2007-11-27 Andre Klapper <a9016009@gmx.de>
2824 * glocalfileoutputstream.c: Fix a typo.
2826 2007-11-27 Alexander Larsson <alexl@redhat.com>
2829 Don't include removed headers
2831 2007-11-27 Alexander Larsson <alexl@redhat.com>
2834 * gsocketinputstream.[ch]: Removed.
2835 * gsocketoutputstream.[ch]: Removed.
2836 * gunixinputstream.[ch]: Added.
2837 * gunixoutputstream.[ch]: Added.
2838 Renamed GSocket*Stream to GUnix*Stream and made
2839 it unix-only, since its not really only for sockets
2840 and it only works on unix (but is highly useful there).
2842 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2848 * gbufferedinputstream.c:
2849 * gbufferedinputstream.h:
2850 * gbufferedoutputstream.c:
2851 * gbufferedoutputstream.h:
2855 * gdatainputstream.c:
2856 * gdatainputstream.h:
2857 * gdataoutputstream.c:
2858 * gdataoutputstream.h:
2859 * gdirectorymonitor.c:
2860 * gdirectorymonitor.h:
2867 * gfileenumerator.c:
2868 * gfileenumerator.h:
2873 * gfileinputstream.c:
2874 * gfileinputstream.h:
2877 * gfilenamecompleter.c:
2878 * gfilenamecompleter.h:
2879 * gfileoutputstream.c:
2880 * gfileoutputstream.h:
2881 * gfilterinputstream.c:
2882 * gfilterinputstream.h:
2883 * gfilteroutputstream.c:
2884 * gfilteroutputstream.h:
2897 * glocalfileoutputstream.c:
2898 * gmemoryinputstream.c:
2899 * gmemoryinputstream.h:
2900 * gmemoryoutputstream.c:
2901 * gmemoryoutputstream.h:
2902 * gmountoperation.c:
2903 * gmountoperation.h:
2906 * gpollfilemonitor.c:
2909 * gsimpleasyncresult.c:
2910 * gsimpleasyncresult.h:
2911 * gsocketinputstream.c:
2912 * gsocketinputstream.h:
2913 * gsocketoutputstream.c:
2914 * gsocketoutputstream.h:
2921 * gunixvolumemonitor.c:
2930 Bumps documentation to 93% symbol coverage, touching most
2931 of the public files. Fixes broken function documentation prototypes.
2932 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2933 gtk-doc headers in private files.
2935 2007-11-27 Jürg Billeter <j@bitron.ch>
2937 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2938 (g_buffered_input_stream_read_byte):
2939 * gbufferedinputstream.h:
2940 New functions for efficient access to buffer and simple single byte
2943 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2944 (g_data_input_stream_read_until):
2945 * gdatainputstream.h:
2946 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2947 read_until with multiple stop chars.
2949 2007-11-27 Alexander Larsson <alexl@redhat.com>
2953 * inotify/Makefile.am:
2954 Use the user-specified giomoduledir
2956 2007-11-27 Alexander Larsson <alexl@redhat.com>
2960 Add catch-all gio.h header
2961 Don't install gdummyfile.h
2963 2007-11-26 Alexander Larsson <alexl@redhat.com>
2965 * Makefile.am (gioinclude_HEADERS):
2966 Remove trailing whitespace
2968 2007-11-26 Alexander Larsson <alexl@redhat.com>
2970 Merge gio-standalone into glib
2972 2007-11-25 Christian Kellner <gicmo@gnome.org>
2974 * gio/goutputstream.c:
2975 Fix small mistake in the docs.
2977 2007-11-21 Christian Persch <chpe@gnome.org>
2979 * gio/glocalfile.c: (g_local_file_trash):
2980 Convert filenames to UTF-8 for GError.
2981 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2982 as per xdg base dir spec.
2984 2007-11-21 Christian Persch <chpe@gnome.org>
2986 * gio/gdesktopappinfo.c:
2987 Use that g_key_file_to_data cannot fail.
2989 Use stock defines for the key file group and key names.
2992 2007-11-21 Alexander Larsson <alexl@redhat.com>
2995 (copy_stream_with_progress):
2996 Make sure we do a final progress callback with
2997 the full total size.
2999 2007-11-21 Alexander Larsson <alexl@redhat.com>
3002 Export g_file_copy_attributes
3003 Remove padding as its not needed for interfaces
3005 2007-11-20 Alexander Larsson <alexl@redhat.com>
3010 Add G_IO_ERROR_WOULD_MERGE for
3011 copy/move dir on dir with overwrite.
3013 2007-11-20 Alexander Larsson <alexl@redhat.com>
3016 * gio/glocalfileinfo.c:
3017 Add COPY_NAME (this is an optional
3018 non-modified utf8 version of the name) that
3021 2007-11-20 Alexander Larsson <alexl@redhat.com>
3023 * gio/glocalfileenumerator.c:
3024 Report errors as GIOError, not GFileError
3026 2007-11-16 Alexander Larsson <alexl@redhat.com>
3028 * gio/glocalfileoutputstream.c:
3029 * gio/gwin32appinfo.c:
3030 Fix typos in strings.
3031 Patch from Luca Ferretti <elle.uca@libero.it>
3033 2007-11-15 Alexander Larsson <alexl@redhat.com>
3036 Post release version bump
3038 === gio-standalone 0.1.2 ===
3040 2007-11-15 Alexander Larsson <alexl@redhat.com>
3042 * docs/reference/gio/Makefile.am:
3043 Fix up distcheck by removing weird
3049 2007-11-14 Alexander Larsson <alexl@redhat.com>
3051 * gio/gdesktopappinfo.c:
3052 * gio/glocaldirectorymonitor.c:
3054 * gio/glocalfileinfo.c:
3055 * gio/inotify/inotify-sub.c:
3056 * programs/gio-cat.c:
3057 * programs/gio-copy.c:
3058 * programs/gio-info.c:
3059 * programs/gio-ls.c:
3060 * programs/gio-monitor-dir.c:
3061 * programs/gio-monitor-file.c:
3062 * programs/gio-mount.c:
3063 * programs/gio-move.c:
3064 * programs/gio-rm.c:
3065 * programs/gio-save.c:
3066 * programs/gio-trash.c:
3067 Leak fixes from Kjartan Maraas
3069 2007-11-14 Alexander Larsson <alexl@redhat.com>
3071 * gio/fam/fam-helper.c:
3073 * gio/glocalfileinfo.c:
3077 * gio/inotify/inotify-diag.c:
3078 * gio/inotify/inotify-kernel.c:
3079 Various code cleanups from Kjartan Maraas
3081 2007-11-14 Alexander Larsson <alexl@redhat.com>
3083 * gio/gioscheduler.c:
3085 Set up threadpool so that we cache 2 unused
3086 idle threads for at 15 secs. This means we
3087 will reuse thread-local data (like dbus connections)
3090 2007-11-14 Alexander Larsson <alexl@redhat.com>
3092 * gio/fam/fam-helper.c:
3093 * gio/fam/gfamdirectorymonitor.c:
3094 * gio/fam/gfamfilemonitor.c:
3096 * gio/gcontenttype.c:
3097 * gio/gdatainputstream.c:
3098 * gio/gdataoutputstream.c:
3102 * gio/gfileattribute.h:
3103 * gio/gfileenumerator.c:
3105 * gio/ginputstream.c:
3108 * gio/glocalfileinfo.c:
3109 * gio/goutputstream.c:
3110 * gio/gpollfilemonitor.c:
3111 * gio/gsimpleasyncresult.c:
3112 * gio/gunixmounts.c:
3113 * gio/gunixmounts.h:
3114 * gio/inotify/ginotifydirectorymonitor.c:
3115 * gio/inotify/ginotifyfilemonitor.c:
3116 * gio/inotify/inotify-diag.c:
3117 * gio/inotify/inotify-kernel.c:
3118 * gio/inotify/inotify-path.c:
3120 * gio/test-streams.c:
3121 * programs/gio-info.c:
3122 * programs/gio-monitor-dir.c:
3123 * programs/gio-monitor-file.c:
3124 Various code cleanups from Kjartan Maraas
3126 2007-11-13 Alexander Larsson <alexl@redhat.com>
3129 Handle the uri-scheme calls for dummy files
3131 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3133 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3134 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3135 to avoid clash with the C++ keyword.
3137 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3139 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3140 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3142 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3144 * gio/glocaldirectorymonitor.c:
3145 * gio/glocalfilemonitor.c:
3146 * gio/gunionvolumemonitor.c:
3147 Don't use g_once_init_*() for initializations that could fail and
3148 could leave the initialization variable set to 0 but use GOnce.
3149 This prevents a deadlock on the second call when trying to create
3150 a monitor and no monitor type is available. Thanks to Sven Herzberg
3153 2007-11-11 Sven Herzberg <sven@imendio.com>
3155 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3156 #ifdef (make it work on MacOS X again)
3158 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3160 Fixes Changelog for last two commits (sorry guys).
3162 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3164 * gio/gbufferedinputstream.c:
3165 * gio/gdatainputstream.c:
3167 * gio/gfileoutputstream.c:
3168 * gio/gfilterinputstream.c:
3169 * gio/glocalfileinputstream.c:
3172 More consistency fixes in g*stream.c files.
3173 Significant clean of gfile's documentation, filling in of
3174 asynchronous operations documentation.
3176 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3178 * gio/gasyncresult.c:
3179 * gio/gbufferedinputstream.c:
3180 * gio/gbufferedoutputstream.c:
3181 * gio/gcancellable.c:
3182 * gio/gcontenttype.c:
3183 * gio/gdatainputstream.c:
3184 * gio/gdataoutputstream.c:
3185 * gio/gdesktopappinfo.c:
3188 * gio/gfileattribute.c:
3189 * gio/gio/gfileenumerator.c:
3191 * gio/gfileinputstream.c:
3192 * gio/gfilemonitor.c:
3193 * gio/gfileoutputstream.c:
3194 * gio/ginputstream.c:
3196 * gio/gioscheduler.c:
3197 * gio/gloadableicon.c:
3198 * gio/glocalfileoutputstream.c:
3199 * gio/gmemoryoutputstream.c:
3200 * gio/gmountoperation.c:
3201 * gio/goutputstream.c:
3203 * gio/gsimpleasyncresult.c:
3204 * gio/gunionvolumemonitor.c:
3205 * gio/gunixmounts.c:
3206 * gio/gunixvolume.c:
3210 * gio/gvolumemonitor.c:
3211 Updated documentation stubs, working towards consistency and
3214 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3216 * gio/gmemoryoutputstream.c:
3217 * gio/gmemoryoutputstream.h:
3218 Change g_memory_output_stream_set_free_on_close() to
3219 g_memory_output_stream_set_free_data() as this makes more sense and
3220 is more consistent with GMemoryInputStream.
3222 2007-11-07 Alexander Larsson <alexl@redhat.com>
3229 Change how we find the default vfs so that
3230 we can handle a gvfs failing to init
3232 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3234 * gio/gbufferedoutputstream.c:
3235 * gio/gdatainputstream.c:
3236 * gio/gdataoutputstream.c:
3237 * gio/gfileinputstream.c:
3238 * gio/gfileoutputstream.c:
3239 * gio/gfilterinputstream.c:
3240 * gio/gfilteroutputstream.c:
3241 * gio/ginputstream.c:
3242 * gio/gmemoryinputstream.c:
3243 * gio/gmemoryoutputstream.c:
3244 * gio/goutputstream.c:
3245 * gio/gsimpleasyncresult.c:
3246 * gio/gsocketinputstream.c:
3247 * gio/gsocketoutputstream.c:
3248 Add guards to the remaining public functions, add a TODO for
3249 an unimplemented function and remove some useless guards.
3251 2007-11-07 Alexander Larsson <alexl@redhat.com>
3254 Autoconf checks for the various types of
3255 getpwuid_r and getgrgid_r
3257 * gio/glocalfileinfo.c:
3258 Use the autoconf checks from above
3260 2007-11-07 Alexander Larsson <alexl@redhat.com>
3263 (g_local_file_query_filesystem_info):
3264 Some fixes for the statvfs case
3266 2007-11-07 Alexander Larsson <alexl@redhat.com>
3269 (g_local_file_query_filesystem_info):
3270 Pick the "best" of statfs / statvfs for the system
3271 if both are availible.
3273 2007-11-07 Alexander Larsson <alexl@redhat.com>
3275 Solaris fixes from Halton.Huo@Sun.COM:
3282 * gio/glocalfileinfo.c:
3283 Fix for solaris definition of getpwuid_r
3285 * gio/test-streams.c:
3286 Use G_GNUC_PRETTY_FUNCTION
3288 2007-11-07 Alexander Larsson <alexl@redhat.com>
3290 * gio/gdesktopappinfo.c:
3291 (update_default_list):
3292 Remove double semicolon.
3293 Patch from Jens Granseuer
3295 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3297 * docs/reference/gio/gio-sections.txt:
3298 * gio/gbufferedinputstream.c:
3299 * gio/gbufferedinputstream.h:
3300 * gio/gdatainputstream.c:
3301 * gio/gfileenumerator.c:
3302 * gio/gioscheduler.c:
3303 * gio/gunionvolumemonitor.c:
3305 * programs/gio-save.c:
3306 Fix typo: availible -> available. Unfortuntely this breaks API
3307 and ABI as g_buffered_input_stream_get_available() was renamed.
3309 * gio/gunixmounts.c:
3310 * gio/gbufferedinputstream.c:
3311 Add guards for public functions.
3313 2007-11-06 Ross Burton <ross@openedhand.com>
3315 * docs/reference/gio/Makefile.am:
3316 Fix invalid += usage which automake 1.10 doesn't like.
3318 2007-11-06 Alexander Larsson <alexl@redhat.com>
3321 (g_app_launch_context_class_init):
3324 Patch from Ross Burton
3326 2007-11-06 Alexander Larsson <alexl@redhat.com>
3329 Post release version bump
3331 === gio-standalone 0.1.1 ===
3333 2007-11-06 Alexander Larsson <alexl@redhat.com>
3336 Bump version to 0.1.1
3338 * gio/gsimpleasyncresult.c:
3339 (g_simple_async_result_set_from_error):
3340 Remove bogus g_return_if_fail
3342 2007-11-06 Alexander Larsson <alexl@redhat.com>
3345 The name is gio-standalone
3348 Add top src/builddir to includedir
3350 2007-11-06 Alexander Larsson <alexl@redhat.com>
3352 * docs/reference/gio/gio-sections.txt:
3354 * gio/gbufferedinputstream.c:
3355 * gio/gbufferedoutputstream.c:
3356 * gio/gcancellable.c:
3357 * gio/gdatainputstream.h:
3358 * gio/gdataoutputstream.c:
3359 * gio/gdataoutputstream.h:
3360 * gio/gdirectorymonitor.c:
3362 * gio/gfileattribute.c:
3363 * gio/gfileattribute.h:
3364 * gio/gfileenumerator.c:
3365 * gio/gfileenumerator.h:
3368 * gio/gfileinputstream.h:
3369 * gio/gfilemonitor.c:
3370 * gio/gfileoutputstream.h:
3371 * gio/glocalfilemonitor.h:
3372 * gio/glocalfileoutputstream.h:
3373 * gio/gmemoryinputstream.c:
3374 * gio/gmemoryoutputstream.c:
3375 * gio/gmountoperation.c:
3376 * gio/goutputstream.c:
3377 * gio/goutputstream.h:
3379 * gio/gsimpleasyncresult.c:
3380 * gio/gunixmounts.c:
3381 * gio/gunixmounts.h:
3383 * gio/inotify/inotify-helper.c:
3384 Fix gtk-doc warnings
3386 Patch from Ross Burton
3388 2007-11-06 Alexander Larsson <alexl@redhat.com>
3390 * gio/gfilenamecompleter.c:
3391 (g_filename_completer_get_completions):
3394 * gio/gunixvolume.c:
3395 Remove unused function
3397 Patches from Ross Burton
3399 2007-11-06 Alexander Larsson <alexl@redhat.com>
3404 Padding not needed for interfaces
3406 2007-11-06 Alexander Larsson <alexl@redhat.com>
3408 * gio/gfilemonitor.c:
3412 Make giotypes.h an internal file
3415 * gio/gbufferedinputstream.h:
3416 * gio/gbufferedoutputstream.h:
3417 * gio/gcancellable.h:
3418 * gio/gdatainputstream.h:
3419 * gio/gdataoutputstream.h:
3420 * gio/gdirectorymonitor.c:
3421 * gio/gdirectorymonitor.h:
3426 * gio/gfileattribute.h:
3427 * gio/gfileenumerator.h:
3432 * gio/gfilemonitor.c:
3433 * gio/gfilemonitor.h:
3434 * gio/gfilenamecompleter.c:
3435 * gio/gfilenamecompleter.h:
3436 * gio/gfilterinputstream.h:
3437 * gio/gfilteroutputstream.h:
3438 * gio/ginputstream.h:
3439 * gio/gmemoryinputstream.h:
3440 * gio/gmemoryoutputstream.h:
3441 * gio/gmountoperation.c:
3442 * gio/gmountoperation.h:
3443 * gio/gnativevolumemonitor.c:
3444 * gio/goutputstream.h:
3447 * gio/gsimpleasyncresult.c:
3448 * gio/gsimpleasyncresult.h:
3449 * gio/gsocketinputstream.h:
3450 * gio/gsocketoutputstream.h:
3451 * gio/gthemedicon.c:
3452 * gio/gthemedicon.h:
3456 * gio/gvolumemonitor.c:
3457 * gio/gvolumemonitor.h:
3458 Add padding in classes where it seems useful
3459 Don't include giotypes.h from public headers
3460 Move in Class definitions into c file where possible
3465 2007-11-06 Alexander Larsson <alexl@redhat.com>
3467 * docs/reference/gio/gio-docs.xml:
3468 Better structure for API docs
3470 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3473 * gio/gloadableicon.c:
3474 * gio/gsimpleasyncresult.c:
3475 * gio/gthemedicon.c:
3476 Add some more guards to public functions. Only files missing are now
3479 2007-11-06 Alexander Larsson <alexl@redhat.com>
3481 * docs/reference/gio/gio-docs.xml:
3482 Remove old files, add missing ones
3484 2007-11-06 Alexander Larsson <alexl@redhat.com>
3486 * docs/reference/gio/gio-sections.txt:
3489 Hide implementation classes
3491 * gio/gdriveprivate.h:
3492 * gio/gvolumeprivate.h:
3493 Remove non-existing function declarations
3495 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3498 Fix compilation warnings and add guards to the new functions.
3500 * gio/gasyncresult.c:
3502 Add guards to the public functions.
3505 Implement get_path().
3507 2007-11-06 Alexander Larsson <alexl@redhat.com>
3509 * gio/gfilenamecompleter.c:
3510 Make g_filename_completer_get_completions
3511 return char ** instead of GList for
3514 * docs/reference/gio/gio-docs.xml:
3515 * docs/reference/gio/gio-sections.txt:
3517 * gio/gasyncresult.c:
3518 * gio/gbufferedinputstream.c:
3519 * gio/gbufferedoutputstream.c:
3520 * gio/gcancellable.c:
3521 * gio/gcontenttype.c:
3522 * gio/gdatainputstream.c:
3523 * gio/gdataoutputstream.c:
3524 * gio/gdesktopappinfo.c:
3525 * gio/gdirectorymonitor.c:
3529 * gio/gfileattribute.c:
3530 * gio/gfileenumerator.c:
3533 * gio/gfileinputstream.c:
3534 * gio/gfilemonitor.c:
3535 * gio/gfilenamecompleter.c:
3536 * gio/gfilenamecompleter.h:
3537 * gio/gfileoutputstream.c:
3538 * gio/gfilterinputstream.c:
3540 * gio/ginputstream.c:
3542 * gio/gioscheduler.c:
3543 * gio/gloadableicon.c:
3544 * gio/glocaldirectorymonitor.c:
3546 * gio/glocalfileinputstream.c:
3547 * gio/glocalfilemonitor.c:
3548 * gio/glocalfileoutputstream.c:
3550 * gio/gmemoryinputstream.c:
3551 * gio/gmemoryoutputstream.c:
3552 * gio/gmountoperation.c:
3553 * gio/goutputstream.c:
3554 * gio/gpollfilemonitor.c:
3556 * gio/gsimpleasyncresult.c:
3557 * gio/gsocketinputstream.c:
3558 * gio/gsocketoutputstream.c:
3559 * gio/gthemedicon.c:
3560 * gio/gunionvolumemonitor.c:
3562 * gio/gunixmounts.c:
3563 * gio/gunixvolume.c:
3564 * gio/gunixvolumemonitor.c:
3568 * gio/gvolumemonitor.c:
3569 * gio/gwin32appinfo.c:
3570 Add (mostly stub) doc strings to public functions.
3571 Patch from Andrew Walton (awalton@gmail.com)
3573 2007-11-06 Alexander Larsson <alexl@redhat.com>
3575 * gio/gappinfo.[ch]:
3576 Added GAppLaunchContext object and pass that to launch.
3577 This allows simple implementation of both
3578 launch-on-screen and startup notification via a gtk+
3579 subclass of GAppLaunchContext
3581 * gio/gdesktopappinfo.c:
3582 Implement GAppLaunchContext API
3584 * gio/gwin32appinfo.c:
3587 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3589 * gio/gmountoperation.c:
3590 Add some guards to GMountOperation's public functions.
3592 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3596 * gio/gcancellable.c:
3597 * gio/gdirectorymonitor.c:
3599 * gio/gfileenumerator.c:
3600 * gio/gfilemonitor.c:,
3601 * gio/gfilenamecompleter.c:
3604 * gio/gioscheduler.c:
3608 * gio/gvolumemonitor.c:
3609 Add even more guards to various public functions.
3611 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3614 Add guards to the public functions of GAppInfo.
3616 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3618 * gio/gcontenttype.c:
3619 Add some more guards for public functions.
3621 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3623 * gio/fam/fam-module.c:
3624 * gio/fam/gfamdirectorymonitor.c:
3625 * gio/fam/gfamdirectorymonitor.h:
3626 * gio/fam/gfamfilemonitor.c:
3627 * gio/fam/gfamfilemonitor.h:
3628 * gio/inotify/ginotifydirectorymonitor.c:
3629 * gio/inotify/ginotifydirectorymonitor.h:
3630 * gio/inotify/ginotifyfilemonitor.c:
3631 * gio/inotify/ginotifyfilemonitor.h:
3632 Add proper copyright information and remove an unused variable
3633 in the GInotifyFileMonitor constructor.
3635 * gio/gcancellable.c:
3636 Add a guard for a public function and an assertion to prevent
3637 an undefined program state.
3639 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3641 * gio/gfileattribute.c:
3642 Don't run into an assertion if the given attribute value is NULL
3643 in g_file_attribute_value_get_*() but instead return a fallback
3644 value that makes sense in most situations. Passing them a attribute
3645 value with the wrong type will still run into an assertion.
3647 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3649 * gio/gfileattribute.c:
3651 Add even more guards to the public functions. Also fix the refcounting
3652 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3653 let g_file_info_list_attributes() filter the attributes by namespace
3654 instead of simply ignoring the namespace parameter.
3656 2007-11-03 Sven Herzberg <sven@imendio.com>
3658 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3659 (This makes gio work on MacOS X again)
3661 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3664 Build the gio subdirectory before the docs. Otherwise the build will
3667 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3668 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3669 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3670 Add guards to the public functions.
3672 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3674 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3675 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3676 to prevent a compiler warning.
3678 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3679 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3680 return something in the non-void function find_topdir_for().
3682 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3689 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3691 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3692 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3693 * gwin32appinfo.c (g_win32_app_info_launch):
3694 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3695 envp_for_startup_id, g_desktop_app_info_launch,
3696 g_desktop_app_info_launch_uris):
3698 Give an opaque 'startup_id' string instead of 'envp'.
3699 Support empty file lists for launching new windows.
3700 Fix infinite recursion bug when launching URIs.
3702 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3705 Add guard to the new g_file_get_uri_scheme() function.
3707 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3710 Convert a g_return_val_if_fail() to setting the GError instead as
3711 otherwise applications have to verify the parameter before otherwise
3712 and the parameter might come directly from the user.
3714 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3716 * gio/inotify/ginotify*.[ch]:
3717 Add missing copyright information.
3719 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3722 Add guards in the beginning of public functions to check for valid
3723 parameters and fix a bug in copy_stream_with_progress() that could've
3724 caused writing less bytes than reading.
3725 * gio/glocalfileinfo.c:
3726 Check for a NULL parameter and set the GError accordingly then.
3727 * gio/goutputstream.c:
3728 Fix the same bug as in gfile.c that could've caused writing less bytes
3729 than reading in g_output_stream_real_splice().
3731 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3734 Use the correct gvolumeprivate.h naming
3736 2007-11-01 Christian Kellner <gicmo@gnome.org>
3739 Remove leftover "$(daemon_sources)" entry.
3741 2007-11-01 Christian Kellner <gicmo@gnome.org>
3746 Add copyright information to source files.
3748 2007-11-01 Alexander Larsson <alexl@redhat.com>
3752 Add g_file_get_uri_scheme
3754 2007-11-01 Alexander Larsson <alexl@redhat.com>
3757 * gio/gdesktopappinfo.c:
3758 * gio/gwin32appinfo.c:
3759 Add g_app_info_get_default_for_uri_scheme.
3761 2007-11-01 Alexander Larsson <alexl@redhat.com>
3764 Correct filename for gdriveprivate.h
3766 2007-10-31 Alexander Larsson <alexl@redhat.com>
3769 Rename id:value to id:file
3772 * gio/glocalfileinfo.c:
3775 2007-10-31 Alexander Larsson <alexl@redhat.com>
3777 * gio/gunixvolume.c:
3779 Remove g_volume_get_platform_id, as thats not
3780 needed with the simpler union volume monitor
3782 2007-10-31 Alexander Larsson <alexl@redhat.com>
3785 * gio/guniondrive.[ch]: Removed.
3786 * gio/gunionvolume.[ch]: Removed.
3787 Remove GUnionDrive/Volume
3789 * gio/gunionvolumemonitor.c:
3790 Simplify union volume monitor, now we
3791 only have one native volume monitor and
3792 we use the actual volumes/drives from the
3793 child monitors instead of wrapping them
3795 * gio/gnativevolumemonitor.[ch]:
3796 Base class for native volume monitors.
3797 Includes priority and get_volume_for_mountpoint
3800 Add g_file_find_enclosing_volume
3803 Remove volume name fs attribute
3804 Add readonly fs attribute
3807 Implement readonly attribute
3808 remove volume name attribute
3809 Implement find_enclosing volume
3811 * gio/gunixmounts.c:
3812 Add a volume for "/".
3814 * gio/gunixvolume.[ch]:
3815 Set better name for /
3817 * gio/gunixvolumemonitor.[ch]:
3818 Derive from GNativeVolumeMonitor
3819 Implement get_volume_for_mountpoint
3822 GVolume typedef moved to gfile.h
3824 * gio/gvolumeprivate.h:
3825 Add g_volume_get_for_mount_path
3827 2007-10-31 Alexander Larsson <alexl@redhat.com>
3829 * gio/gunixmounts.[ch]:
3830 Add cache info to unix mount listers
3831 Make getmntent use threadsafe
3832 Add is_system_internal attribute for GUnixMount
3834 * gio/gunixvolume.c:
3835 (g_unix_volume_new):
3836 Use is_system_internal instead of own code
3838 * gio/glocaldirectorymonitor.c:
3839 * gio/gunixvolumemonitor.c:
3840 Update to new gunixmounts API
3845 2007-10-30 Alexander Larsson <alexl@redhat.com>
3848 Add volume name fsinfo attribute
3851 Read volume name info
3853 * gio/gunionvolumemonitor.c:
3854 Fix infinite loops when finalizing a union volume monitor
3856 2007-10-30 Alexander Larsson <alexl@redhat.com>
3858 * gio/goutputstream.[ch]:
3859 Add splice() with default implementation
3861 * gio/gsocketoutputstream.c:
3862 (g_socket_output_stream_write):
3863 Return error on cancellation correctly.
3865 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3867 * gio/glocalfile.c (g_local_file_trash):
3868 Do not leak a string.
3870 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3872 * gio/gfile.c (g_file_load_contents):
3873 Unref the stream after closing it.
3875 2007-10-25 Alexander Larsson <alexl@redhat.com>
3877 * gio/gioscheduler.h:
3880 2007-10-25 Alexander Larsson <alexl@redhat.com>
3884 Add g_file_has_uri_scheme and implement for local files
3886 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3888 * gio/gdesktopappinfo.c: do not leak a string.
3890 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3892 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3893 (g_local_directory_monitor_new):
3894 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3895 (g_local_file_monitor_new):
3896 Only look for the monitor type that should be used the first time
3897 and use g_qsort_with_data() instead of our own bubble sort
3900 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3903 * gio/fam/Makefile.am:
3904 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3905 * gio/fam/fam-helper.h:
3906 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3907 * gio/fam/gfamdirectorymonitor.c:
3908 * gio/fam/gfamdirectorymonitor.h:
3909 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3910 * gio/fam/gfamfilemonitor.h:
3911 * gio/glocaldirectorymonitor.c:
3912 * gio/glocaldirectorymonitor.h:
3913 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3914 * gio/glocalfilemonitor.h:
3915 * gio/inotify/Makefile.am:
3916 * gio/inotify/ginotifydirectorymonitor.c:
3917 * gio/inotify/ginotifydirectorymonitor.h:
3918 * gio/inotify/ginotifyfilemonitor.c:
3919 * gio/inotify/ginotifyfilemonitor.h:
3920 Implement the FAM and Inotify monitors as
3921 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3922 their own GIO module. GLocal(Directory|File)Monitor will use the
3923 monitor with the highest rank that is supported on that machine.
3925 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3928 Change GIO module dir to $(libdir)/gio/modules and change
3929 the log domain from GVFS to GIO. Also only export symbols starting
3930 with g_ in the resulting library.
3931 * gio/test-streams.c: (main):
3932 Set log handler for the GIO log domain.
3934 2007-10-22 Alexander Larsson <alexl@redhat.com>
3936 * gio/gfilenamecompleter.[ch]:
3937 Add g_filename_completer_set_dirs_only
3939 2007-10-22 Alexander Larsson <alexl@redhat.com>
3942 * gio/gurifuncs.[ch]:
3943 Add some simple URI helpers
3945 * gio/gfilenamecompleter.[ch]:
3946 Added object for filename (parse name actually) completion
3949 Handle ~ in parse names
3951 2007-10-17 Alexander Larsson <alexl@redhat.com>
3954 * gio/glocalfileinfo.c:
3955 Add and implement id:value attribute
3957 2007-10-17 Alexander Larsson <alexl@redhat.com>
3960 * gio/guniondrive.c:
3962 Add and implement g_drive_has_volumes
3964 2007-10-17 Alexander Larsson <alexl@redhat.com>
3967 * gio/glocalfileinfo.[ch]:
3968 Add unix:is_mountpoint and implement for local files
3970 2007-10-16 Alexander Larsson <alexl@redhat.com>
3972 * gio/gunionvolumemonitor.c:
3973 (g_union_volume_monitor_init):
3974 Fix up the unix type getting so that it works with gcc
3976 2007-10-12 Alexander Larsson <alexl@redhat.com>
3979 * gio/glocalfileinfo.c:
3980 Add thumbnail:failed to file info
3982 2007-10-12 Richard Hult <richard@imendio.com>
3984 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3985 optimizing away the get_type call (happens with some gcc versions,
3986 like the one shipped with OS X 10.4).
3988 2007-10-12 Alexander Larsson <alexl@redhat.com>
3990 * gio/glocalfileinfo.c:
3991 (_g_local_file_info_set_attribute):
3992 Fix build if not HAVE_XATTR
3993 Patch from Milosz Derezynski <internalerror@gmail.com>
3995 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3997 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3998 around for review, otherwise I would have asked you before
4001 2007-10-11 Alexander Larsson <alexl@redhat.com>
4004 Add thumbnail:path attribute
4006 * gio/glocalfileinfo.c:
4007 Implement thumbnail:path for local files
4009 2007-10-11 Alexander Larsson <alexl@redhat.com>
4011 * gio/glocalfileinfo.c:
4012 (_g_local_file_info_get):
4013 Avoid duplicate icon names
4015 2007-10-11 Alexander Larsson <alexl@redhat.com>
4017 * gio/gthemedicon.[ch]:
4018 Change g_themed_icon_get_names return type to const
4020 2007-10-10 Alexander Larsson <alexl@redhat.com>
4022 * gio/glocalfileinfo.c:
4023 Don't reference freed memory
4025 2007-10-10 Alexander Larsson <alexl@redhat.com>
4027 * gio/gfileattribute.c:
4030 * gio/glocalfileinfo.c:
4033 2007-10-10 Alexander Larsson <alexl@redhat.com>
4036 Check for NULL icons
4038 * gio/gfileattribute.c:
4039 Don't dup when getting objects (same as for string attributes)
4041 * gio/gicon.c (g_icon_equal):
4042 Safely handle NULLs in equal
4044 2007-10-10 Alexander Larsson <alexl@redhat.com>
4047 Fix c++ compilation issues
4048 Patch from Milosz Derezynski <internalerror@gmail.com>
4050 2007-10-10 Alexander Larsson <alexl@redhat.com>
4052 * programs/gio-monitor-dir.c:
4053 Don't crash if dir monitor not supported.
4055 2007-10-09 Alexander Larsson <alexl@redhat.com>
4058 Add missing G_END_DECLS
4060 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4062 * gio/gfile.c: (g_file_set_display_name),
4063 (g_file_query_settable_attributes),
4064 (g_file_query_writable_namespaces):
4065 Return NULL not FALSE on errors as the return type is a pointer.
4067 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4069 * gio/glocalfile.c: (g_local_file_monitor_file):
4070 Don't call monitor_file on the default interface vtable (which
4071 is NULL) but simply return NULL. The caller, GFile, will create a
4072 polling monitor if NULL is returned.
4074 2007-10-09 Alexander Larsson <alexl@redhat.com>
4078 * gio-unix-2.0.pc.in:
4079 Add gio-unix-2.0.pc if OS_UNIX
4082 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4084 2007-10-09 Alexander Larsson <alexl@redhat.com>
4086 * gio/gunixmounts.[ch]:
4087 Make unix mount monitoring API sane.
4088 Now its just a object with mounts_changed
4089 and mountpoints_changed signals.
4091 * gio/glocaldirectorymonitor.c:
4092 * gio/gunixvolumemonitor.c:
4093 Use new mount monitor api
4095 2007-10-09 Alexander Larsson <alexl@redhat.com>
4097 * gio/gunixmounts.[ch]:
4098 Move guess type into one call for mounts and one for mountpoints
4101 * gio/gunixvolume.c:
4104 2007-10-09 Alexander Larsson <alexl@redhat.com>
4106 * gio/gunixmounts.[ch]:
4107 Remove _ prefix in preparation to make this semi-public
4108 Hide implementation of structs
4110 * gio/glocaldirectorymonitor.c:
4112 * gio/gunixvolume.c:
4113 * gio/gunixvolumemonitor.c:
4114 Update for above API changes
4116 2007-10-08 Alexander Larsson <alexl@redhat.com>
4119 Better polling fallback. This also handles the case where we have
4120 a monitor_file implementation, but it fails.
4122 2007-10-08 Alexander Larsson <alexl@redhat.com>
4126 * gio/gunixmounts.c:
4127 * programs/gio-monitor-dir.c:
4128 * programs/gio-monitor-file.c:
4129 Added cancellable to file monitoring calls.
4130 These are really sync calls and need this.
4132 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4134 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4135 (g_local_vfs_class_init):
4136 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4137 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4139 2007-10-05 Alexander Larsson <alexl@redhat.com>
4141 * gio/gdirectorymonitorprivate.h:
4142 * gio/gfilemonitorprivate.h:
4143 * gio/gdirectorymonitor.h:
4144 * gio/gfilemonitor.h:
4145 Remove *private.h and move to the public API, so that
4146 we can do implementations outside gio (such as in gvfs)
4148 * gio/gdirectorymonitor.c:
4149 * gio/gfilemonitor.c:
4150 * gio/glocaldirectorymonitor.c:
4151 * gio/gpollfilemonitor.c:
4152 * gio/inotify/inotify-helper.c:
4153 * gio/fam/fam-helper.c:
4154 Update to the new header names
4156 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4158 * gio/gdirectorymonitor.c:
4159 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4162 2007-10-04 Alexander Larsson <alexl@redhat.com>
4164 * gio/glocalfileinfo.c (get_access_rights):
4165 Set CAN_TRASH when we can move the file.
4166 We should really also check for a parent trash dir.
4168 2007-10-04 Alexander Larsson <alexl@redhat.com>
4170 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4171 Add can_trash access attribute
4173 2007-10-04 Alexander Larsson <alexl@redhat.com>
4176 (g_local_file_trash):
4177 Create info file first. This is per-spec and allows
4178 us to actually trash directories.
4180 2007-10-02 Alexander Larsson <alexl@redhat.com>
4182 * gio/gdesktopappinfo.c:
4183 Implement the new mime support code.
4184 Always set app as handling mimetype when being set as default for it
4186 2007-10-01 Alexander Larsson <alexl@redhat.com>
4188 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4189 Fix up check for xattrs:
4191 2007-10-01 Alexander Larsson <alexl@redhat.com>
4194 (g_app_info_set_as_default_for_extension):
4195 (g_app_info_add_supports_type):
4196 (g_app_info_can_remove_supports_type):
4197 (g_app_info_remove_supports_type):
4198 Make these fail nicely if not implemented
4200 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4202 * gio/glocalfileoutputstream.c:
4203 * gio/glocalfileoutputstream.h:
4208 * programs/gio-save.c:
4209 Add a GFileCreateFlags argument to operations that can create
4212 2007-10-01 Alexander Larsson <alexl@redhat.com>
4214 * gio/gappinfo.[ch]:
4215 * gio/gdesktopappinfo.c:
4216 Add more (stubbed out) mime API needed for nautilus
4218 2007-10-01 Alexander Larsson <alexl@redhat.com>
4221 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4222 Add g_app_info_set_as_default_for_extension.
4224 * gio/gdesktopappinfo.c:
4225 Dummy for g_app_info_set_as_default_for_extension
4226 Support flags in g_app_info_create_from_commandline
4228 * gio/gwin32appinfo.c:
4230 Update for API changes
4232 * gio/gthemedicon.c:
4233 Properly NULL-terminate list of icon names
4235 2007-09-28 Alexander Larsson <alexl@redhat.com>
4237 * gio/gloadableicon.h:
4238 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4240 2007-09-28 Alexander Larsson <alexl@redhat.com>
4243 Install headers in $includedir/gio-standalone/
4245 * gio-2.0.pc.in: Added.
4246 * gio-standalone.pc.in: Removed.
4249 Renamed pkg-config file to match glib (for future move)
4250 Update to the new include dir
4253 Add more TODO comments
4255 2007-09-28 Alexander Larsson <alexl@redhat.com>
4257 * gio/gdesktopappinfo.[ch]:
4258 Expose new_from_filename
4259 Add getter for is_hidden and handle it better
4261 2007-09-28 Alexander Larsson <alexl@redhat.com>
4263 * gio/gfileinfo.[ch]:
4264 Rename g_file_size_format_for_display to
4265 g_format_file_size_for_display.
4266 Now it doesn't have the g_file prefix, so we
4267 can later move it to glib.
4269 2007-09-28 Alexander Larsson <alexl@redhat.com>
4271 * gio/gappinfo.[ch]:
4272 Add g_app_info_get_id and g_app_info_get_executable.
4273 Make all getters non-reffing
4274 Make g_app_info_launch take GFile arguments.
4275 Add must_support_uris argument to g_app_info_get_default_for_type.
4277 * gio/gwin32appinfo.c:
4278 Update to GAppInfo api changes
4280 * gio/gdesktopappinfo.c:
4281 Update to GAppInfo api changes
4282 Implement supports_xdg_startup_notify
4284 * gio/gfileicon.c (g_file_icon_get_file):
4285 Make getter non-reffing.
4290 2007-09-27 Alexander Larsson <alexl@redhat.com>
4292 * gio/gfileinfo.[ch]:
4293 Add g_file_size_format_for_display helper
4295 2007-09-27 Alexander Larsson <alexl@redhat.com>
4297 * gio/glocalfileinfo.c:
4298 Set UNIX_GID from gid, not from uid
4300 2007-09-27 Alexander Larsson <alexl@redhat.com>
4303 Add g_file_set_attributes_async
4305 2007-09-27 Alexander Larsson <alexl@redhat.com>
4307 * gio/glocalfile.c (g_local_file_set_display_name):
4308 Fix set_display_name to actually rename to the right place.
4309 Use lstat to look for existing files so we don't overwrite
4312 2007-09-26 Alexander Larsson <alexl@redhat.com>
4315 Add g_file_set_display_name_async()
4317 2007-09-26 Alexander Larsson <alexl@redhat.com>
4320 Add load_partial_contents async calls
4323 Make internal function static
4325 2007-09-26 Alexander Larsson <alexl@redhat.com>
4327 * gio/glocalfileinfo.c:
4328 Correctly detect broken symlinks
4330 2007-09-26 Alexander Larsson <alexl@redhat.com>
4332 * gio/gcancellable.c (g_cancellable_cancel):
4333 Allow cancel on NULL cancellable
4335 2007-09-25 Alexander Larsson <alexl@redhat.com>
4337 * gio/gsimpleasyncresult.c:
4338 Don't allocate g_error manually.
4339 Fixes g_slice/g_new mixup crash
4341 2007-09-25 Alexander Larsson <alexl@redhat.com>
4343 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4344 Actually set active_backend.
4345 This means the monitor will be cancelled correctly.
4347 2007-09-25 Alexander Larsson <alexl@redhat.com>
4349 * gio/gdirectorymonitor.c:
4350 Set timeout to NULL when destroying
4352 2007-09-25 Alexander Larsson <alexl@redhat.com>
4355 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4356 that is a better description of the error.
4358 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4360 * gio/gvfs.c: (g_vfs_get_local):
4361 Make the local vfs variable static. The same instance should
4364 2007-09-24 Alexander Larsson <alexl@redhat.com>
4366 * gio/glocalfileinfo.c:
4367 Pass in actual length read into sniffer, not the length
4370 2007-09-21 Alexander Larsson <alexl@redhat.com>
4372 * gio/gfileenumerator.c:
4375 * gio/gfileinputstream.c:
4376 * gio/gfileoutputstream.c:
4377 * gio/ginputstream.c:
4378 * gio/goutputstream.c:
4379 Don't crash if async callbacks are NULL
4381 2007-09-20 Alexander Larsson <alexl@redhat.com>
4384 Add async enumerate_children method and default
4387 2007-09-20 Alexander Larsson <alexl@redhat.com>
4390 Add g_file_contains_file & g_file_get_relative_path, since they
4391 were needed for nautilus.
4392 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4397 Implement new methods
4399 2007-09-17 Alexander Larsson <alexl@redhat.com>
4402 * gio/gfileinputstream.[ch]:
4403 * gio/gfileoutputstream.[ch]:
4405 * gio/glocalfileenumerator.[ch]:
4406 * gio/glocalfileinfo.[ch]:
4407 * gio/glocalfileinputstream.c:
4408 * gio/glocalfileoutputstream.c:
4409 * gio/gpollfilemonitor.c:
4410 * programs/gio-copy.c:
4411 * programs/gio-info.c:
4412 * programs/gio-move.c:
4413 Rename get_file_info to query_info() to make it clearer
4414 that these are not simple getters, but do i/o.
4416 2007-09-17 Alexander Larsson <alexl@redhat.com>
4418 * gio/gdatainputstream.[ch]:
4419 * gio/test-streams.c:
4420 Use _read_XXX instead of _get_XXX for the i/o calls
4423 2007-09-17 Alexander Larsson <alexl@redhat.com>
4426 Added needed stuff to TODO comment
4428 2007-09-17 Alexander Larsson <alexl@redhat.com>
4430 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4431 Don't error out removing the backup copy if it doesn't
4434 2007-09-14 Alexander Larsson <alexl@redhat.com>
4436 * programs/Makefile.am:
4437 * programs/gvfs-*.c:
4439 Renamed apps from gvfs-xxx to gio-xxx.
4441 2007-09-14 Alexander Larsson <alexl@redhat.com>
4444 * gio/gfileoutputstream.[ch]:
4445 * gio/glocalfileoutputstream.c:
4446 * programs/gvfs-save.c:
4447 g_file_output_stream_get_etag doesn't do i/o, so remove
4448 cancellation and error.
4450 2007-09-14 Alexander Larsson <alexl@redhat.com>
4453 Add new_etag output to replace_contents functions
4455 2007-09-14 Alexander Larsson <alexl@redhat.com>
4457 * gio/gfileoutputstream.[ch]:
4458 Add async get_file_info and default implementation
4460 2007-09-14 Alexander Larsson <alexl@redhat.com>
4462 * gio/gfileinputstream.c:
4463 Implement fallback wrapper for async get_file_info
4465 2007-09-14 Alexander Larsson <alexl@redhat.com>
4468 Add etag out argument to load_contents
4473 2007-09-14 Alexander Larsson <alexl@redhat.com>
4475 * gio/gcontenttype.c (looks_like_text):
4476 Whitespace like tab, cr and lf do not make the
4479 2007-09-14 Alexander Larsson <alexl@redhat.com>
4481 * gio/gfileinputstream.[ch]:
4482 Add async get_file_info.
4484 2007-09-13 Alexander Larsson <alexl@redhat.com>
4486 * gio/goutputstream.c (g_output_stream_write_all):
4487 Allow NULL for bytes_written
4489 2007-09-13 Alexander Larsson <alexl@redhat.com>
4491 * gio/gmemoryinputstream.[ch]:
4492 Add accessors for data
4494 2007-09-13 Alexander Larsson <alexl@redhat.com>
4496 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4497 Don't crash if length is NULL