1 2008-07-03 Matthias Clasen <mclasen@redhat.com>
3 * gdesktopappinfo.c: Fix a stupid mistake.
5 2008-07-02 Matthias Clasen <mclasen@redhat.com>
7 * === Released 2.17.3 ===
9 2008-07-02 Matthias Clasen <mclasen@redhat.com>
11 * gfilemonitor.c: Fix the build.
13 2008-07-02 Matthias Clasen <mclasen@redhat.com>
15 Bug 536160 – Add g_file_monitor()
18 * gfile.[hc]: Add g_file_monitor which can return either
19 a file or a directory monitor. Proposed by Behdad Esfahbod
21 2008-07-02 Matthias Clasen <mclasen@redhat.com>
23 536733 – gio build failure on Irix
25 * glocalfile.c: Use a configure check for structfs.f_bavail.
27 2008-07-02 Matthias Clasen <mclasen@redhat.com>
29 Bug 534639 – add g_desktop_app_info_new_from_keyfile
32 * gdesktopappinfo.[hc]: Add a function to create a
33 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
35 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
37 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
39 2008-07-01 Matthias Clasen <mclasen@redhat.com>
41 * gunixmounts.c: Fix a doc typo.
43 2008-07-01 Cody Russell <bratsche@gnome.org>
46 * gio/gwin32appinfo.c:
47 * gio/gwin32volumemonitor.c:
48 * gio/gwin32mount.c: Fixed some include problems.
50 2008-07-01 Cody Russell <bratsche@gnome.org>
54 Moved all relevant typedefs into these files.
57 Updated wrt added files.
59 Split types into separate file for easier maintainership. (#538564)
61 2008-06-30 Matthias Clasen <mclasen@redhat.com>
63 Bug 540331 – g_file_append_to () documentation: can return NULL
65 * gfile.c (g_file_append_to): Clarify docs.
68 2008-06-30 Matthias Clasen <mclasen@redhat.com>
70 Bug 539090 – g_content_type_from_mime_type() should unalias
72 * gcontentype.c (g_content_type_from_mime_type): Unalias.
73 Patch by Markus Bergman
75 2008-06-30 Matthias Clasen <mclasen@redhat.com>
77 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
80 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
81 on ppc and alpha. Reported by Mart Raudsepp
83 2008-06-29 Matthias Clasen <mclasen@redhat.com>
86 * tests/memory-output-stream.c: Add some tests for
89 2008-06-29 Matthias Clasen <mclasen@redhat.com>
91 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
94 * gmemoryoutputstream.c (array_resize): Handle truncation to
95 zero correctly. Reported by Akira Tagoh
97 2008-06-29 Matthias Clasen <mclasen@redhat.com>
99 * gmemoryoutputstream.c: Trivial doc fixes
101 2008-06-29 Matthias Clasen <mclasen@redhat.com>
103 Bug 540802 – g_list_prepend doesn't concat lists
105 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
106 one list to another. Pointed out by Jan Arne Petersen
108 2008-06-28 Michael Natterer <mitch@imendio.com>
110 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
112 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
114 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
115 to avoid problems with partial icon themes.
117 2008-06-17 Hans Breuer <hans@breuer.org>
119 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
120 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
121 access again on win32, see bug #538127
122 * giomodule.c : ensure GWin32VolumeMonitor is registered
123 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
124 * Makefile.am makefile.msc : updated
126 2008-06-16 Hans Breuer <hans@breuer.org>
128 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
129 and initialization in one step avoids c99ism
131 2008-06-16 Christian Persch <chpe@gnome.org>
134 * gio/gbufferedinputstream.c
136 * gio/gdatainputstream.c
137 * gio/gdesktopappinfo.c
139 * gio/gfileenumerator.c
140 * gio/gfileinputstream.c
141 * gio/gfileoutputstream.c
143 * gio/glocaldirectorymonitor.c
145 * gio/glocalfileenumerator.c
146 * gio/glocalfileinfo.c
147 * gio/glocalfilemonitor.c
148 * gio/glocalfileoutputstream.c
149 * gio/gmemoryinputstream.c
150 * gio/gmemoryoutputstream.c
151 * gio/goutputstream.c
152 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
155 2008-06-16 Tor Lillqvist <tml@novell.com>
157 Bug 538362 - Get Win32 icons back in the file chooser
159 * gcontenttype.c (g_content_type_get_icon): Look up the icon
160 corresponding to a file extension in the Registry. Patch by Hans
162 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
164 2008-06-16 Tor Lillqvist <tml@novell.com>
166 Patches by Hans Breuer:
168 * glocalfile.c (is_xp_or_later): Handle compiling against older
169 SDK headers with missing VerifyVersionInfo(). Conditioned on
170 _MSC_VER, but should probably use some better test.
171 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
172 uninitialised statfs_result variable on Win32.
174 2008-06-16 Michael Natterer <mitch@imendio.com>
176 * *.c: chain up unconditionally in finalize() and dispose(). Also
177 don't dereference these function pointers when calling them since
178 that has no meaning at all.
180 2008-06-16 Ross Burton <ross@burtonini.com>
183 Remove check for dispose implementation as it annoys Emmanuele.
185 2008-06-16 Ross Burton <ross@burtonini.com>
187 Bug 536252 – GFileEnumerator should allow access to the containing
193 Add g_file_enumerator_get_container() and a container writeable
194 construct-only property. Also shuffle around typedefs to make it
197 * glocalfileenumerator.c:
198 * glocalfileenumerator.h:
200 Instead of a string filename take a GFile in the constructor and
201 use it to set the container property.
206 2008-06-16 Matthias Clasen <mclasen@redhat.com>
208 * gfile.c: Make includes more uniform
210 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
212 * tests/live-g-file.c (sample_struct):
213 Use less fancy unicode filenames, so the test doesn't fail
214 on Mac OS X (#531476).
216 2008-06-12 Matthias Clasen <mclasen@redhat.com>
218 * === Released 2.17.2 ===
220 2008-06-12 Matthias Clasen <mclasen@redhat.com>
222 * === Released 2.17.1 ===
224 2008-06-11 A. Walton <awalton@gnome.org>
226 * tests/g-file.c (test_g_file_new_null):
227 Fix broken test case.
229 2008-06-11 Matthias Clasen <mclasen@redhat.com>
231 * pltcheck.sh: We use g_clear_error now.
233 2008-06-11 Matthias Clasen <mclasen@redhat.com>
235 * glocalfile.c (g_local_file_enumerate_children): Revert
236 an unintended change.
238 2008-06-11 Matthias Clasen <mclasen@redhat.com>
240 * gfile.c (g_file_replace_contents): Don't unref before the last use.
242 2008-06-10 Matthias Clasen <mclasen@redhat.com>
244 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
247 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
248 as icon for the desktop directory, also make user-home and
249 user-desktop the preferred icons.
251 2008-06-10 Matthias Clasen <mclasen@redhat.com>
254 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
255 to add a name to the front of the list.
257 2008-06-10 Matthias Clasen <mclasen@redhat.com>
259 Bug 537392 – Additional colon in xattr name
261 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
262 too. Reported by Alessandro Morandi
264 2008-06-10 Matthias Clasen <mclasen@redhat.com>
266 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
269 * glocalfile.c (get_fs_type): Add afs and autofs.
270 Patch by Danny Baumann.
272 2008-06-10 Matthias Clasen <mclasen@redhat.com>
274 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
276 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
277 is no parent. (Owen Taylor, patch by Christian Neumair)
279 2008-06-10 Paolo Borelli <pborelli@katamail.com>
281 * gfile.c (g_file_replace_contents): do not leak the output stream.
283 2008-06-10 Michael Natterer <mitch@imendio.com>
285 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
286 uninitialized memory as array index.
288 2008-06-10 Tor Lillqvist <tml@novell.com>
290 * gcontenttype.c (g_content_type_can_be_executable)
291 (g_content_type_get_icon) [Win32]: Add TODO comments.
293 2008-06-09 Matthias Clasen <mclasen@redhat.com>
295 * xdgmime/Makefile.am: Fix the build
297 2008-06-09 Matthias Clasen <mclasen@redhat.com>
299 * gcontenttype.c (g_content_type_get_icon): Use icons specified
300 in the shared mime database, if available.
302 * xdgmime/*: Sync with upstream. This brings support for
303 glob weights, generic icons, and changes the cache format to
306 2008-05-28 Michael Natterer <mitch@imendio.com>
308 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
309 the global CPPFLAGS now.
311 * tests/data-input-stream.c
312 * tests/data-output-stream.c
313 * tests/g-file-info.c
315 * tests/live-g-file.c
316 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
318 2008-05-27 Matthias Clasen <mclasen@redhat.com>
320 * === Released 2.17.0 ===
322 * tests/live-g-file.c: Clean up after the tests, so make distcheck
323 doesn't complain about leftover files.
325 2008-05-27 simon.zheng <simon.zheng@sun.com>
327 * glocalfile.c: (g_local_file_query_filesystem_info):
328 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
330 2008-05-26 Michael Natterer <mitch@imendio.com>
332 * gmemoryoutputstream.h: declare
333 g_memory_output_stream_get_data_size().
335 2008-05-26 Matthias Clasen <mclasen@redhat.com>
337 * tests/*: Make tests work
339 2008-05-26 Matthias Clasen <mclasen@redhat.com>
341 * gio.symbols: Add g_memory_output_stream_get_data_size.
343 2008-05-25 Ross Burton <ross@burtonini.com>
346 Fix typo in error message (#534764).
348 2008-05-25 Ross Burton <ross@burtonini.com>
351 Fix circular dependency loop for gioenumtypes.h (#534759).
353 2008-05-19 Hans Breuer <hans@breuer.org>
355 * Makefile.am : EXTRA_DIST += makefile.msc
357 2008-05-17 Matthias Clasen <mclasen@redhat.com>
360 * gcontenttype.c: (g_content_type_from_mime_type):
361 New function to create a content type from a mime type. (#527175,
364 2008-05-17 Matthias Clasen <mclasen@redhat.com>
366 Bug 532965 – Should not return filesystem::free for certain file systems
368 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
369 free space for ncpfs.
371 2008-05-17 Matthias Clasen <mclasen@redhat.com>
373 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
375 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
376 st_dev might be zero.
378 2008-05-16 Tor Lillqvist <tml@novell.com>
380 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
381 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
383 2008-05-13 Bastien Nocera <hadess@hadess.net>
385 * gfile.c (has_valid_scheme): A URI scheme must start with a
386 letter, even if later more characters are allowed (#532852)
388 2008-05-05 Michael Natterer <mitch@imendio.com>
390 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
391 code from being checked in that breaks the build of applications
392 which use G_DISABLE_SINGLE_INCLUDES.
394 * makegioalias.pl: make the alias file include "glib.h" instead of
397 * gio.symbols: whitespace change to force regeneration of the
398 alias file after above script change.
400 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
402 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
404 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
406 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
408 2008-04-28 David Zeuthen <davidz@redhat.com>
410 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
411 displaying mounts in a subdirectory not accessible to the
414 2008-04-22 Michael Natterer <mitch@imendio.com>
416 * Makefile.am: fix library versioning (it was 0.0.0).
418 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
420 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
421 Default disable all loggings.
422 * fen/fen-kernel.c: (printevent), (port_add_kevent),
423 (port_fetch_event_cb): Fixed two macro nits.
425 2008-04-16 Matthias Clasen <mclasen@redhat.com>
427 * xdgmime/xdgmime.c: Rework the timestamp checking code
428 to protect against duplicate directories in XDG_DATA_DIRS.
429 Fixes fd.o bug 12513, reported by Joe Shaw.
431 2008-04-16 Matthias Clasen <mclasen@redhat.com>
433 Partically revert the last commit after realizing that
434 xdg_mime_media_type_equal doesn't have to init at all.
437 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
439 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
441 2008-04-16 Matthias Clasen <mclasen@redhat.com>
443 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
444 reported by Joe Shaw and Federico Mena Quintero.
446 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
447 (xdg_mime_media_type_equal): Turn into a wrapper around the
450 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
451 functions throughout.
453 2008-04-16 Michael Meeks <michael.meeks@novell.com>
455 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
456 tolerate an empty TryExec= line without failing; nautilus used
457 to create launchers with these in previous versions. Fixes #528433
459 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
461 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
462 after name. Fixes #527132.
464 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
466 * gfile.c: (g_file_replace):
469 2008-04-07 Matthias Clasen <mclasen@redhat.com>
471 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
473 * gfile.c (file_copy_fallback): Fix the argument order. Patch
474 by Christian Kellner.
476 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
478 * gunixmounts.c: (g_unix_mount_guess_should_display):
479 Don't list the user directory as a mount, fix potential issue
480 when other users have a similar naming and don't special case the
481 gvfs mounts there since that's not required (#525866)
483 2008-03-31 Alexander Larsson <alexl@redhat.com>
485 * glocalfile.c (get_parent):
488 2008-03-31 A. Walton <awalton@svn.gnome.org>
490 * gfile.c (g_file_query_file_type):
491 Always return a GFileType enum value (#520715).
493 2008-03-31 Alexander Larsson <alexl@redhat.com>
495 * glocalfileenumerator.c:
496 Read readdir() info in chunks (of 1000) and sort
497 the chunks by inode before stat:ing.
498 This is a 20% performance increase in testing
499 gvfs-ls on /usr/bin with cold cache.
501 2008-03-31 Alexander Larsson <alexl@redhat.com>
503 * gmemoryoutputstream.c:
504 Clarify docs for g_memory_output_stream_get_size.
505 Add g_memory_output_stream_get_data_size.
507 2008-03-30 Matthias Clasen <mclasen@redhat.com>
511 * gfile.h: Add g_file_query_file_type convenience function
512 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
514 2008-03-30 Matthias Clasen <mclasen@redhat.com>
517 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
519 2008-03-28 A. Walton <awalton@svn.gnome.org>
521 * giomodule.c (_g_io_modules_ensure_loaded):
522 Adds GIO_EXTRA_MODULES environment variable support, closing bug
525 2008-03-28 Alexander Larsson <alexl@redhat.com>
528 (copy_stream_with_progress):
531 2008-03-28 Alexander Larsson <alexl@redhat.com>
534 (copy_stream_with_progress):
535 (file_copy_fallback):
536 Fallback to g_file_query_info for source size
537 if g_file_input_stream_query_info fails. (#524579)
539 2008-03-28 Alexander Larsson <alexl@redhat.com>
541 * glocalfile.c (g_local_file_move):
542 Reuse old string instead of adding new one.
544 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
546 * fen/*.[hc]: still copyright issue. I hate copyright.
548 2008-03-27 Alexander Larsson <alexl@redhat.com>
550 * glocalfile.c (g_local_file_move):
551 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
552 file over directory. This is according to the docs and what the move via
553 copy+remove fallback does.
555 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
557 * fen/*.[hc]: Updated copyright.
559 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
561 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
563 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
565 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
566 not emit attribute changed events when optimizing changed events.
567 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
570 2008-03-19 Matthias Clasen <mclasen@redhat.com>
572 * gmountoperation.[hc]: Small documentation additions
574 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
576 * gunixmounts.c: (guess_mount_type):
577 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
579 2008-03-19 Alexander Larsson <alexl@redhat.com>
582 (copy_stream_with_progress):
583 Bump block side for copy to 64k to minimize
584 overhead for low latency links. (#523015)
586 2008-03-16 Tor Lillqvist <tml@novell.com>
588 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
589 depend on gio.def on Windows.
591 2008-03-12 David Zeuthen <davidz@redhat.com>
595 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
597 2008-03-14 Alexander Larsson <alexl@redhat.com>
601 Avoid redudant tests (#521851)
602 Patch from Josselin Mouette
604 2008-03-14 Alexander Larsson <alexl@redhat.com>
607 (g_file_monitor_is_cancelled):
608 Fix C89 issue (#521672)
609 Patch from Jens Granseuer
611 2008-03-14 Alexander Larsson <alexl@redhat.com>
613 * fam/fam-helper.[ch]:
615 Shut down fam (including removing fam GSource) when
616 module is unloaded (#521513)
617 Patch from Joe Marcus Clarke
619 2008-03-14 Alexander Larsson <alexl@redhat.com>
622 (_g_io_modules_ensure_loaded):
625 2008-03-14 Alexander Larsson <alexl@redhat.com>
628 (g_local_file_query_filesystem_info):
629 Use right define name for f_fstypename member check
631 2008-03-14 Alexander Larsson <alexl@redhat.com>
634 * fen/Makefile.am: Added.
635 * fen/fen-data.[ch]: Added.
636 * fen/fen-dump.[ch]: Added.
637 * fen/fen-helper.[ch]: Added.
638 * fen/fen-kernel.[ch]: Added.
639 * fen/fen-missing.[ch]: Added.
640 * fen/fen-node.[ch]: Added.
641 * fen/fen-sub.[ch]: Added.
642 * fen/gfendirectorymonitor.[ch]: Added.
643 * fen/gfenfilemonitor.[ch]: Added.
645 Added Solaris FEN file notification backend.
646 Patch from Lin Ma <Lin.Ma@Sun.COM>
648 2008-03-13 Tor Lillqvist <tml@novell.com>
650 * Makefile.am: Actually use the gio.def file when linking the
651 library on Windows. Produce .lib library for Microsoft's toolchain
652 when possible. Install the .lib and .def file like for the other
655 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
657 * tests/live-g-file.c:
658 Include live-g-file in standard set of tests, making a temporary
659 directory in source structure.
661 Clean target directory before the tests (write mode only)
663 2008-03-12 Tor Lillqvist <tml@novell.com>
665 Bug 517419 - gio win32 directory monitor
666 Implementation by Vlad Grecescu.
669 * win32/gwin32directorymonitor.h
670 * win32/gwin32directorymonitor.c: New files.
672 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
674 * Makefile.am: Add the win32 subdirectory.
676 2008-03-12 Tor Lillqvist <tml@novell.com>
678 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
679 normal struct stat on Unix but struct _stati64 on Windows to have
680 access to 64-bit file size information. Use that instead of struct
681 stat in the functions declared here in this private header.
683 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
684 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
685 warnings about unused functions and variables. Don't set
686 meaningless attributes like inode numbers on Windows.
688 2008-03-12 Benjamin Otte <otte@gnome.org>
691 trim whitespace so gtk-doc groks the function name
693 2008-03-12 Tor Lillqvist <tml@novell.com>
695 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
696 returning FALSE, on Win32.
698 2008-03-11 Alexander Larsson <alexl@redhat.com>
701 * glocalfileinfo.[ch]:
702 Correctly implement can_trash by actually
703 looking for a trash dir, not just assuming
706 2008-03-10 Matthias Clasen <mclasen@redhat.com>
708 * === Released 2.16.1 ===
710 2008-03-11 Alexander Larsson <alexl@redhat.com>
713 Fix crashes in new constructor and properties code
715 2008-03-10 Murray Cumming <murrayc@murrayc.com>
717 * gfile.c: Minor spelling correction in documentation:
718 existance -> existence.
720 2008-03-10 Matthias Clasen <mclasen@redhat.com>
722 * === Released 2.16.0 ===
724 2008-03-10 Matthias Clasen <mclasen@redhat.com>
726 * gio.symbols: Remove g_file_contains_file here, too.
728 2008-03-10 Matthias Clasen <mclasen@redhat.com>
730 * gthemedicon.c: Add properties to make bindings happy. (#517676,
731 Samuel Cormier-Iijima)
733 2008-03-08 Tor Lillqvist <tml@novell.com>
735 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
738 2008-03-07 Alexander Larsson <alexl@redhat.com>
741 (g_local_file_query_filesystem_info):
742 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
743 Patch from Jasper Lievisse Adriaanse
745 2008-03-06 Tor Lillqvist <tml@novell.com>
747 * gfileinfo.h: Correct milliseconds to microseconds in the doc
748 comments for the *_USEC attributes.
750 2008-03-06 Alexander Larsson <alexl@redhat.com>
752 * gfile.c (g_file_query_exists):
753 Add g_return_val_if_fail check (#520700)
755 2008-03-06 Alexander Larsson <alexl@redhat.com>
760 * gunionvolumemonitor.c:
763 * tests/live-g-file.c:
764 * xdgmime/xdgmimecache.c:
765 Fix sparse warnings (#519489)
767 2008-03-05 Alexander Larsson <alexl@redhat.com>
770 Make cancellation threadsafe (i.e.
771 guarantee its only done once, and always
774 * glocaldirectorymonitor.c:
775 Make sure we the monitor lives while the
776 mounts_changed callback is being called (#520484)
778 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
780 * gbufferedinputstream.c: Fix typo in parameter
783 2008-03-04 Alexander Larsson <alexl@redhat.com>
786 Remove deprecated symbols we kept for one release.
788 2008-03-04 Murray Cumming <murrayc@murrayc.com>
791 * goutputstream.c: Tiny documentation corrections.
793 2008-03-03 Alexander Larsson <alexl@redhat.com>
795 * gunionvolumemonitor.c:
797 Fix the adopt_orphan_mount vfunc to take a
798 volume_monitor reference in an ABI compat way.
799 This change is not API compat, but the added
800 arg is not used in the only user of this vfunc, so
801 all we get is a harmless warning in gvfs (#520169)
803 2008-03-01 Benjamin Otte <otte@gnome.org>
806 clarify docs for g_file_delete().
808 2008-02-29 Alexander Larsson <alexl@redhat.com>
812 Make sure empty files get text/plain type (#518720)
814 2008-02-27 Alexander Larsson <alexl@redhat.com>
820 (g_unix_volume_mount):
821 Add missing GMountMountFlags argument
823 2008-02-26 Alexander Larsson <alexl@redhat.com>
826 (g_local_file_delete):
827 Handle filesystems (like ntfs-3g) that return EEXIST instead
828 of ENOTEMPTY (#518816)
830 2008-02-25 Matthias Clasen <mclasen@redhat.com>
832 * === Released 2.15.6 ===
834 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
836 * gfile.c (g_file_find_enclosing_mount):
837 * ginputstream.c (g_input_stream_set_pending):
838 * glocalfile.c (g_local_file_find_enclosing_mount):
839 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
840 * goutputstream.c (g_output_stream_set_pending):
842 Fixup translator comments (#518578).
844 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
846 * gfile.c (g_file_find_enclosing_mount):
848 * glocalfile.c (g_local_file_find_enclosing_mount):
851 Fix a few typos in translator comments and documentation.
853 2008-02-25 Alexander Larsson <alexl@redhat.com>
860 Add translator comments (#518578)
862 2008-02-25 Alexander Larsson <alexl@redhat.com>
865 Reintroduce g_file_contains_file, keep around for one
866 unstable release cycle to avoid crashing to many apps.
867 Make sure to delete after release.
869 2008-02-25 Alexander Larsson <alexl@redhat.com>
872 Remove deprecated g_file_contains_file.
874 2008-02-25 Alexander Larsson <alexl@redhat.com>
877 Emit actual change signals in an idle handler.
878 This avoids reentrance and locking problems in
879 the file notification backends.
881 2008-02-25 Alexander Larsson <alexl@redhat.com>
884 (g_unix_mount_guess_should_display):
885 Remove type guessing, instead just display
886 mounts in /media and in ~/.
888 2008-02-25 Alexander Larsson <alexl@redhat.com>
891 Make new strings reuse old ones.
893 2008-02-25 Alexander Larsson <alexl@redhat.com>
896 Implement trashing and filesystem::readonly for win32 (#517235)
897 Patch from Yevgen Muntyan
899 2008-02-23 Matthias Clasen <mclasen@redhat.com>
901 * gfileinfo.h: Documentation fixes.
903 2008-02-22 Alexander Larsson <alexl@redhat.com>
905 * gcontenttype.c (g_content_type_get_icon):
906 Look at old-style gnome mime icon names too, as many
907 have not moved to the new style.
909 2008-02-21 Matthias Clasen <mclasen@redhat.com>
911 * *.c: Correct the @include in for section docs.
913 2008-02-21 David Zeuthen <davidz@redhat.com>
915 * glocalfileinfo.c: (_g_local_file_info_get):
917 (g_content_type_get_icon): Implement this function by
918 moving bits from glocalfileinfo.c
919 (g_content_type_get_description): Unalias before getting
920 description (#517687)
922 * gfile.c: (g_file_class_init),
923 (g_file_query_filesystem_info_async),
924 (g_file_query_filesystem_info_finish),
925 (query_filesystem_info_data_free),
926 (query_filesystem_info_async_thread),
927 (g_file_real_query_filesystem_info_async),
928 (g_file_real_query_filesystem_info_finish):
929 * gfile.h: Implement async version of
930 g_file_query_filesystem_info()
932 * gfileinfo.h: Add new attributes for filesystem::use-preview
934 * gio.symbols: Update
936 * gthemedicon.c: (g_themed_icon_append_name):
937 * gthemedicon.h: Add new new convenience function.
939 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
940 (get_mounts), (get_volumes), (get_connected_drives),
941 (get_volume_for_uuid), (get_mount_for_uuid),
942 (g_union_volume_monitor_init), (populate_union_monitor),
943 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
944 (g_volume_monitor_adopt_orphan_mount):
946 * gvolumemonitor.h: Use recursive locks so it's safe for volume
947 monitor implementations to call into the main volume monitor. Also
948 separate object initialization and volume monitor initialization
949 such that non-native volume monitors can properly adopt their
952 2008-02-21 Alexander Larsson <alexl@redhat.com>
957 2008-02-21 Alexander Larsson <alexl@redhat.com>
960 Add more documentation about how GFiles work (from #517086)
962 2008-02-21 Alexander Larsson <alexl@redhat.com>
966 Add new g_file_has_prefix that does the same as g_file_contains_file.
967 Deprecate g_file_contains_file and add a macro that converts
968 it to g_file_has_prefix.
969 The reason for this change is that the contains_file() name seems to
970 imply that this does more work than what it does, but its really only
971 a name match (from #517086)
976 Update to match the above change.
978 2008-02-20 Benjamin Otte <otte@gnome.org>
980 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
981 (g_file_eject_mountable):
982 even more cases of not returning in error path
984 2008-02-20 Benjamin Otte <otte@gnome.org>
986 * gfile.c: (g_file_mount_mountable):
987 return from function in error path.
989 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
992 Remove trailing coma in GMountMountFlags struct
994 2008-02-18 Alexander Larsson <alexl@redhat.com>
998 * glocalfileoutputstream.c:
999 Use g_unlink/g_rename instead of unlink/rename;
1000 do not pass raw filenames to g_set_error. (#517239)
1001 Patch from Yevgen Muntyan.
1003 2008-02-18 Alexander Larsson <alexl@redhat.com>
1006 * glocalfileoutputstream.c:
1007 Open files with O_BINARY on windows. (#517140)
1009 2008-02-14 Alexander Larsson <alexl@redhat.com>
1011 * glocalfileoutputstream.c:
1012 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1014 2008-02-14 Alexander Larsson <alexl@redhat.com>
1017 Copy permissions with file on copy (#514084)
1018 This is what cp does and makes sure e.g. the
1019 exec permissions are kept.
1020 Its kinda weird in that it keeps the permission bits
1021 the same while the uid and gid are different. However
1022 the new uid is the user so its not a security issue,
1023 and I've heard no complaints about cp on this issue.
1025 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1027 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1029 2008-02-13 Alexander Larsson <alexl@redhat.com>
1031 * inotify/inotify-path.c:
1032 Define IN_ONLYDIR if not in header (#515346)
1034 2008-02-12 Alexander Larsson <alexl@redhat.com>
1036 * tests/live-g-file.c:
1039 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1041 * === Released 2.15.5 ===
1043 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1045 * gio.symbols: Add g_mount_mount_flags_get_type.
1047 2008-02-11 Alexander Larsson <alexl@redhat.com>
1050 (g_file_info_set_attribute_mask):
1051 (g_file_attribute_matcher_matches_id):
1052 Correctly handle NULL GAttributeMatcher meaning
1053 matches nothing. (Fixes #513492)
1055 2008-02-11 Alexander Larsson <alexl@redhat.com>
1060 Added GMountMountFlags enum and added a flags
1061 argument to all mount calls.
1063 This is an API/ABI change for future extensibility,
1064 as I think we will need at least an
1065 inhibit-autorun flag (the panel needs this).
1066 There are no flags defined yet though.
1068 2008-02-11 Alexander Larsson <alexl@redhat.com>
1071 Added new standard::description attribute.
1072 Requested by Vincent, and useful for both
1075 2008-02-11 Alexander Larsson <alexl@redhat.com>
1077 * gdesktopappinfo.c:
1080 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1082 * *.c: Documentation additions
1084 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1086 * gappinfo.h: Formatting cleanup
1087 * gappinfo.c: Fix up docs.
1089 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1091 * gunixmounts.c: Consistently use getmntent_r() and fall
1092 back to getmntent(). (#515492)
1094 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1096 * gbufferedinputstream.c:
1098 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1100 * tests/data-input-stream.c:
1101 * tests/data-output-stream.c: Portability fixes.
1103 2008-02-08 Alexander Larsson <alexl@redhat.com>
1108 Add g_volume_should_automount.
1111 2008-02-07 Tor Lillqvist <tml@novell.com>
1113 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1114 Win32, too Unix-specific.
1116 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1118 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1119 a local plt if the compiler doesn't support what we want. Bug #514702
1121 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1123 reviewed by: <delete if not using a buddy>
1126 * gunixinputstream.c:
1127 * gunixoutputstream.c:
1129 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1131 * tests/Makefile.am:
1132 * tests/live-g-file.c:
1133 * tests/live-g-file.txt:
1134 New GIO testing module working over real data
1136 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1138 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1139 Fallback to rename() if link() is not available
1140 (when no support on target filesystem)
1142 2008-02-06 Michael Natterer <mitch@imendio.com>
1144 * gfileinfo.c (g_file_info_get_icon): replace
1145 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1147 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1149 * gfile.c (g_file_create):
1150 Documentation update of error codes
1152 2008-02-06 Alexander Larsson <alexl@redhat.com>
1154 * gdesktopappinfo.c:
1155 Update to use both mimeapps.list and
1156 defaults.list as discussed on xdg list.
1158 2008-02-06 Benjamin Otte <otte@gnome.org>
1161 * gfilenamecompleter.c:
1162 Fix some typos in the documentation.
1164 2008-02-06 Alexander Larsson <alexl@redhat.com>
1166 * glocalfile.c (g_local_file_trash):
1167 Don't succeed with trash if newly created
1168 trash dir has the wrong owner. (#514696)
1170 2008-02-05 Alexander Larsson <alexl@redhat.com>
1172 * glocalfile.c (g_local_file_move):
1173 Don't spew warnings when destination is not
1176 2008-02-03 Hans Breuer <hans@breuer.org>
1178 * makefile.msc : update
1180 2008-02-01 Michael Natterer <mitch@imendio.com>
1182 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1183 return value of xdg_mime_list_mime_parents() to a variable of the
1186 2008-02-01 Alexander Larsson <alexl@redhat.com>
1188 * gappinfo.c (g_app_info_launch_uris):
1189 Actually call the launch_uris method, not
1192 2008-02-01 Alexander Larsson <alexl@redhat.com>
1194 * gdesktopappinfo.c (g_desktop_app_info_equal):
1195 Ensure appinfos with no id but same pointer value
1198 2008-02-01 Alexander Larsson <alexl@redhat.com>
1200 * gappinfo.c (g_app_info_launch_default_for_uri):
1203 2008-02-01 Alexander Larsson <alexl@redhat.com>
1207 Add g_app_info_launch_default_for_uri utility
1210 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1212 * gdesktopappinfo.c:
1213 Doc fix for g_app_info_get_default_for_uri_scheme ()
1216 2008-01-30 Alexander Larsson <alexl@redhat.com>
1219 Add doc comment about uris vs GFiles to
1222 * gdesktopappinfo.c:
1223 Ensure uris passed to g_app_info_launch_uris()
1224 are not roundtriped through GFile (as that
1225 may be slightly destructive for e.g. mailto: links)
1227 2008-01-30 Alexander Larsson <alexl@redhat.com>
1229 * tests/data-input-stream.c:
1230 * tests/data-output-stream.c:
1231 C89 fixes from Jens Granseuer (#512849)
1233 2008-01-30 Alexander Larsson <alexl@redhat.com>
1236 Fix gamin/fam difference build issue. (#509419)
1238 2008-01-29 Alexander Larsson <alexl@redhat.com>
1241 * gdesktopappinfo.c:
1242 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1244 2008-01-29 Alexander Larsson <alexl@redhat.com>
1246 * gdesktopappinfo.c:
1247 * gdesktopappinfo.h:
1248 giomodule-priv.h include moved to .c file.
1250 2008-01-29 Alexander Larsson <alexl@redhat.com>
1252 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1253 Remove unused prio/name fields.
1255 2008-01-29 Alexander Larsson <alexl@redhat.com>
1257 * gcontenttype.c (looks_like_text):
1258 Don't treat whitespace as control chars.
1260 2008-01-29 Alexander Larsson <alexl@redhat.com>
1262 * gdesktopappinfo.c:
1263 Lazily create the desktop files for appinfos created
1264 by g_app_info_create_from_commandline() when needed
1265 for mime associations. This allows run-time use
1266 of GAppInfo object without creating unnecessary
1269 2008-01-29 Alexander Larsson <alexl@redhat.com>
1272 Added new symbols to gio.symbols
1274 2008-01-29 Alexander Larsson <alexl@redhat.com>
1277 Add g_file_query_default_handler utility to easily look up
1278 the GAppInfo that handles a file.
1280 * gdesktopappinfo.[ch]:
1282 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1285 Remove unused function
1287 2008-01-29 Alexander Larsson <alexl@redhat.com>
1289 * gfileenumerator.c:
1290 Mention need to free returned value in
1291 g_file_enumerator_next_files_finish docs.
1292 Fix leak if g_file_enumerator_next_files_finish()
1295 2008-01-29 Alexander Larsson <alexl@redhat.com>
1298 (_g_unix_content_type_get_parents):
1299 Use list_parents, not get_parents from xdgmime, because
1300 the later doesn't use the cache.
1302 * xdgmime/xdgmimecache.c:
1303 (_xdg_mime_cache_list_mime_parents):
1304 Don't list the same type as parent multiple times.
1306 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1308 * === Released 2.15.4 ===
1310 2008-01-28 Alexander Larsson <alexl@redhat.com>
1313 Register local vfs with prio 0.
1316 Remove old name and prio class members
1318 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1320 * tests/g-file.c: Disable some tests that are failing in
1321 the absence of a http backend.
1323 2008-01-28 Alexander Larsson <alexl@redhat.com>
1327 Add registration hooks for extension points.
1328 Register the gio extension points.
1330 * fam/gfamdirectorymonitor.c:
1331 * fam/gfamfilemonitor.c:
1332 * glocaldirectorymonitor.[ch]:
1333 * glocalfilemonitor.[ch]:
1334 * gnativevolumemonitor.h:
1335 * gunionvolumemonitor.c:
1336 * gunixvolumemonitor.c:
1339 * inotify/ginotifydirectorymonitor.c:
1340 * inotify/ginotifyfilemonitor.c:
1341 Use the extension points registration instead
1342 of g_type_children().
1344 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1347 * gvolume.[hc]: Document new API.
1349 * gfile.c (g_file_copy_async): Fix docs
1351 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1353 * gbufferedinputstream.c:
1355 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1358 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1360 * glocalfile.c: Avoid trivial differences in translatable strings.
1362 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1364 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1365 build with gcc 3.4 (#509419)
1367 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1369 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1370 (#509994, Murray Cumming)
1372 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1374 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1375 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1376 this allows big jobs to be executed in chunks, instead of blocking
1377 the main loop for a long time.
1379 * gsimpleasyncresult.c:
1380 * giofile.c: Adapt callers.
1382 2008-01-25 Alexander Larsson <alexl@redhat.com>
1384 * gdesktopappinfo.c:
1385 Implement changes discussed on xdg list.
1386 Now we can add supported mimetypes by just using defaults.list
1387 We can also remove associations in defaults.list.
1389 2008-01-25 Alexander Larsson <alexl@redhat.com>
1391 * gdesktopappinfo.c:
1392 Don't make local copy of desktop file
1393 for mimetype changes if the file already
1394 supports the new mimetype.
1396 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1400 * gbufferedinputstream.c:
1401 * glocalfile.c: String improvements. (#511966,
1402 Theppitak Karoonboonyanan)
1404 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1406 * gioscheduler.h: Expand docs a bit.
1408 2008-01-24 Alexander Larsson <alexl@redhat.com>
1411 Add g_drive_get_identifier and
1412 g_drive_enumerate_identifiers
1415 Add g_volume_get_identifier and
1416 g_volume_enumerate_identifiers
1422 Implement identifiers for unix backend
1424 2008-01-24 Alexander Larsson <alexl@redhat.com>
1429 Add g_file_copy_async() (#511580)
1430 Based on patch from Carlos Garcia Campos
1432 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1434 * gioscheduler.c: Some documentation additions.
1436 2008-01-22 Alexander Larsson <alexl@redhat.com>
1438 * gdesktopappinfo.c:
1439 (g_desktop_app_info_new):
1440 Don't leak basename.
1442 2008-01-22 Alexander Larsson <alexl@redhat.com>
1444 * gdesktopappinfo.c:
1445 (g_desktop_app_info_new_from_filename):
1448 2008-01-22 Alexander Larsson <alexl@redhat.com>
1450 * glocalfileinfo.c (get_thumbnail_attributes):
1453 2008-01-22 Alexander Larsson <alexl@redhat.com>
1456 (canonicalize_filename):
1457 Canonicalize paths that start with more than
1461 (compare_two_files):
1462 (test_g_file_new_for_path):
1465 2008-01-22 Alexander Larsson <alexl@redhat.com>
1468 Allow UTF-8 in file:// parse names.
1470 * tests/Makefile.am:
1471 * tests/data-input-stream.c:
1472 * tests/data-output-stream.c:
1473 * tests/g-file-info.c:
1475 Added a bunch of tests from Tomas Bzatek
1477 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1479 * === Released 2.15.3 ===
1481 2008-01-21 Alexander Larsson <alexl@redhat.com>
1483 * gfileinputstream.[ch]:
1484 * gfileoutputstream.[ch]:
1486 Remove duplicated GSeekable functions. (#509990)
1487 Just use the g_seekable_xxx() calls instead.
1489 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1492 * gvolumemanager.c: Whitespace cleanups.
1494 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1495 Use the right mode when creating the file.
1497 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1499 * gfileenumerator.c:
1500 * gfileinputstream.c:
1502 * goutputstream.c: Documentation: Fixed minor typos
1503 and added more mentions of specific _finish() functions.
1505 2008-01-21 Alexander Larsson <alexl@redhat.com>
1507 * inotify/Makefile.am:
1508 * inotify/inotify-helper.c:
1509 * inotify/inotify-kernel.c:
1510 * inotify/inotify-path.c:
1511 * inotify/local_inotify.h: Removed.
1512 * inotify/local_inotify_syscalls.h: Removed.
1513 Removed the included copies of the inotify
1514 headers. We now only use the <sys/inotify.h>
1515 header which exists on modern systems.
1516 This fixes problems on ARM and SH5 (#510448)
1517 but is also generally much cleaner and future
1518 safe. For instance, if other OSes add support
1519 for inotify it should "just work".
1521 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1523 * inotify/*.c: Coding style fixes.
1524 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1525 for the 1/4 Hz timer.
1527 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1530 * gfilemonitor.[hc]:
1531 * gmemoryinputstream.c:
1532 * gmemoryoutputstream.c:
1533 * gmountoperation.c:
1534 * gthemedicon.c: Documentation updates
1536 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1538 * gfile.c: documentation: Fixed more minor
1541 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1543 * gmount.c: (g_mount_remount): documentation:
1544 Mention g_mount_remount_finish() instead of
1545 g_mount_unmount_finish().
1547 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1551 * gfile.c: Fixed some minor typos in the
1554 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1556 * gio/gvolumemonitor.c:
1557 (g_volume_monitor_get_connected_drives):
1558 (g_volume_monitor_get_volumes):
1559 (g_volume_monitor_get_mounts): Documentation:
1560 Clarify the ownership of the regurn GLists.
1562 2008-01-17 Alexander Larsson <alexl@redhat.com>
1565 Add the async find_enclosing_mount version
1566 to the header file too.
1568 2008-01-17 Alexander Larsson <alexl@redhat.com>
1571 Add async version of find_enclosing_mount
1572 with default implementation.
1574 2008-01-17 Alexander Larsson <alexl@redhat.com>
1579 Allow calls to implementation of copy and write
1580 even if the type of the file implementations is
1581 different. This can be used to implement native
1582 upload and download calls in a vfs.
1585 (g_local_file_move):
1586 Protect against the case where move is called
1587 with one file not being local.
1589 Make sure we call the progress callback once
1590 in the native move operation so that the caller
1591 knows how many bytes were copied.
1593 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1596 * gdatainputstream.c:
1598 * gfileoutputstream.c:
1603 * gunixmounts.c: Corrected some typos in the documentation:
1604 occured -> occurred.
1605 its -> it's (where appropriate).
1607 2008-01-16 Alexander Larsson <alexl@redhat.com>
1611 Add g_file_query_exists (#508771)
1613 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1618 * gvolume.c: For async functions that have no non-async
1619 version, document that the GAsyncReadyCallback may be NULL.
1622 2008-01-15 Alexander Larsson <alexl@redhat.com>
1624 * gmemoryinputstream.c:
1625 * gmemoryoutputstream.c:
1626 Don't do pointer arithmetic on void * (#508602)
1627 Patch from Kazuki IWAMOTO
1629 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1631 * === Released 2.15.2 ===
1633 2008-01-14 Alexander Larsson <alexl@redhat.com>
1635 * gfile.c (g_file_monitor_file):
1636 Don't set error here, since we fallback to polling monitor.
1638 2008-01-14 Alexander Larsson <alexl@redhat.com>
1641 (g_file_monitor_directory):
1642 (g_file_monitor_file):
1643 Add GError to file monitor calls
1645 * glocaldirectorymonitor.c:
1646 * glocaldirectorymonitor.h:
1648 * glocalfilemonitor.c:
1649 * glocalfilemonitor.h:
1651 Update for above change
1653 2008-01-14 Alexander Larsson <alexl@redhat.com>
1657 Handle root correctly in g_file_get_relative_path (#508719)
1659 2008-01-14 Alexander Larsson <alexl@redhat.com>
1662 Clean up docs and example for GAsyncResult (#508074)
1664 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1666 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1667 and correct some spelling mistakes. Bug #508108.
1669 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1671 * glocalfileinfo.c: Add a comment.
1673 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1675 * gfileinfo.c: GFileInfo description: Mention
1676 how to actually set attributes in a GFile and how to discover
1677 which attributes are settable. Bug #508378.
1679 2008-01-10 A. Walton <awalton@svn.gnome.org>
1681 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1682 (g_app_info_get_default_for_type):
1683 Check for NULL content types.
1685 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1687 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1689 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1691 * gfile.c: *_async() functions: Several small corrections
1692 to the documentation, mostly correcting copy/paste errors
1693 and improving some sentences.
1695 2008-01-09 Dan Winship <danw@gnome.org>
1697 * glocalfile.c (get_unique_filename): x86_64 fix
1699 2008-01-09 Alexander Larsson <alexl@redhat.com>
1704 Add g_unix_mount_guess_should_display and use
1705 for unix volume monitor backend.
1706 This means we more or less show what the
1707 gnome-vfs backend did.
1708 Based on patch from Padraig O'Briain
1710 2008-01-09 Alexander Larsson <alexl@redhat.com>
1714 Add g_themed_icon_new_with_default_fallbacks
1717 Use default fallbacks for icons
1719 2008-01-09 Alexander Larsson <alexl@redhat.com>
1722 * gmountoperation.[ch]:
1723 Change the API a bit so that unhandled methods
1724 get reported via the reply, rather than by
1725 the signal emission return value. This is because
1726 some handlers can't know this immediately without
1727 doing I/O, and this is an async operation that
1730 2008-01-09 Alexander Larsson <alexl@redhat.com>
1733 * fam/gfamdirectorymonitor.c:
1734 * fam/gfamfilemonitor.c:
1735 Fix double free crash (#508224)
1736 Patch from Joe Marcus Clarke
1738 008-01-07 Matthias Clasen <mclasen@redhat.com>
1740 * === Released 2.15.1 ===
1742 2008-01-07 Alexander Larsson <alexl@redhat.com>
1744 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1745 Fix warning (#507835)
1747 2008-01-07 Alexander Larsson <alexl@redhat.com>
1750 Pass --internal to glib-genmarshal
1753 * gmountoperation.c:
1755 Use better types for signal arguments (#507822)
1757 2008-01-07 Alexander Larsson <alexl@redhat.com>
1760 Build test subdir after .
1761 Remove gdirectorymonitor.[ch]
1763 * gdirectorymonitor.[ch]:
1767 Remove GDirectoryMonitor and make
1768 GFileMonitor the baseclass for both file and
1769 directory monitors. Lift the more generic
1770 rate limiting code from GDirectoryMonitor
1774 * fam/gfamdirectorymonitor.[ch]:
1775 * inotify/ginotifydirectorymonitor.[ch]:
1776 * inotify/inotify-helper.c:
1777 * glocaldirectorymonitor.[ch]:
1780 Update for the removed GDirectoryMonitor.
1782 * gmemoryoutputstream.c:
1783 Remove ununsed variable
1785 2008-01-07 Alexander Larsson <alexl@redhat.com>
1787 * gmemoryinputstream.c:
1788 Translate error strings
1791 * gmemoryoutputstream.[ch]:
1792 New implementation that avoids using GByteArray
1793 in implementation and API. (#506377)
1795 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1797 * tests/*: Add a test for memory input streams.
1799 * Makefile.am: Add tests to SUBDIRS.
1801 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1803 * glocalfilemonitor.c:
1804 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1807 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1809 * gdesktopappinfo.c: Fix a docs typo.
1811 * gfileattribute.c: Add information about extended attributes
1812 to the documentation. (#505058)
1814 2008-01-04 Alexander Larsson <alexl@redhat.com>
1817 * gmountoperation.c:
1818 Use the right type (uint) for the ask_password signal.
1820 2008-01-04 Alexander Larsson <alexl@redhat.com>
1825 Add g_app_info_supports_files()
1826 Remove desktop arg from g_app_info_should_show().
1828 * gdesktopappinfo.[ch]:
1829 Implement g_app_info_supports_files() and new should_show()
1830 Add g_desktop_app_info_set_desktop_env() to set the desktop
1831 for should_show(). (This will be set by gtk+ later)
1833 2008-01-04 Alexander Larsson <alexl@redhat.com>
1836 * gmemoryinputstream.[ch]:
1837 Improve API so that you can use multiple chunks
1838 of memory and custom destroy functions. (#506374)
1840 2008-01-03 Alexander Larsson <alexl@redhat.com>
1843 Handle NULL attribute matchers safely, as we return this
1844 for empty attribute matcher strings.
1846 2008-01-03 Alexander Larsson <alexl@redhat.com>
1848 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1849 Add /usr/local to list of internal mountpoints
1851 2008-01-03 Alexander Larsson <alexl@redhat.com>
1854 Check for HAVE_LCHOWN (#505887)
1856 2008-01-03 Alexander Larsson <alexl@redhat.com>
1860 Add define for selinux context attribute.
1861 Fix missing : -> :: namespace separator change
1862 Fix missing _ -> - name change for xattr-sys.
1865 2008-01-03 Alexander Larsson <alexl@redhat.com>
1868 Link to libglib and libgobject directly (#504879)
1869 Patch from Sebastien Bacher
1871 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1873 * gfile.c: Expanded the g_file_new_for_commandline_arg
1874 description a bit, based on the code and the docs of the
1875 other g_file_new_for_* functions.
1877 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1879 * gfilemonitor.h: Fixed typo in docs.
1881 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1883 Updates to GIO documentation. (#506395, Mikael Hermansson)
1885 * gcontenttype.c: Describe memory management for return value of
1886 g_content_types_get_registered(). Missing piece from #505815.
1887 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1888 GVolume, GDrive, GMounts, which hopefully gives the user less
1889 confusions when using this API. Following explainations from
1890 Alexander Larsson on gtk-devel-list.
1892 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1894 * gfileinfo.c: Expand the long description.
1896 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1899 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1900 fix builds with --disable-visibility. (#500273, Christian Persch)
1902 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1904 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1905 in the list of returned app infos.
1907 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1909 * gappinfo.c: Fix a cross-reference
1911 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1913 * gfileinputstream.c:
1914 * gfileoutputstream.c:
1918 * gdesktopappinfo.c:
1920 * gfileinfo.c: Documentation updates.
1922 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1924 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1927 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1929 * gcontenttype.c (g_content_types_get_registered): Don't return
1930 freed memory (#505815, Mikael Hermansson)
1932 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1934 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1935 used to detect statbuf->st_blocks. (#505042)
1937 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1939 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1940 environment handling. (#504829, Cosimo Cecchi)
1942 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1944 * gappinfo.c: Doc improvements
1946 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1949 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1951 * === Released 2.15.0 ===
1953 2007-12-20 Hans Breuer <hans@breuer.org>
1955 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1956 with symbols gwin32appinfo.obj, added gmount.obj
1957 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1959 2007-12-20 Alexander Larsson <alexl@redhat.com>
1965 * gfilenamecompleter.c:
1968 * gpollfilemonitor.c:
1969 File attribute renames:
1971 fs:: -> filesystem::
1972 id::fs -> id::filesystem
1974 2007-12-20 Alexander Larsson <alexl@redhat.com>
1983 Add GMountUnmountFlags to all unmount and
1985 Add g_mount_remount() call.
1987 2007-12-20 Alexander Larsson <alexl@redhat.com>
1989 * gvfs.c (get_default_vfs):
1990 Fix unused variable warning
1992 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1994 * pltcheck.sh: Update
1996 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1998 * gunionvolumemonitor.c:
1999 * gunixmount.c: Remove C99 comments
2001 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2003 * gio.symbols: Add some missing symbols
2005 2007-12-19 Alexander Larsson <alexl@redhat.com>
2008 Make g_io_modules_load_all_in_directory not unuse
2009 loaded modules so that users of it can do stuff
2011 Init internal "module" types.
2012 Initialize static prio and name for types so that
2013 we don't have to load modules to get it.
2015 * gnativevolumemonitor.h:
2017 Move is_supported to parent class so that
2018 non-native monitors can avoid being initialized
2019 too. (For instance GDaemonVolumeMonitor if we're
2020 not using GDaemonVfs.)
2022 * glocaldirectorymonitor.[ch]:
2023 * glocalfilemonitor.[ch]:
2024 * gunionvolumemonitor.c:
2025 * gunixvolumemonitor.c:
2027 Find plugins using the static prio+name to
2028 avoid unnecessarily loading the modules.
2030 2007-12-19 Alexander Larsson <alexl@redhat.com>
2035 2007-12-19 Alexander Larsson <alexl@redhat.com>
2037 * gunionvolumemonitor.c:
2038 Store the native type as GType, not class so that
2039 we can unload it. But still avoid unnecessarily
2042 2007-12-19 David Zeuthen <davidz@redhat.com>
2044 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2045 add signals 'disconnected' and 'eject-button' on GDrive. Add
2046 signal 'removed' on GVolume and 'unmounted' on GMount.
2048 * gdrive.c: (g_drive_base_init):
2050 * gfile.c: (g_file_mount_mountable),
2051 (g_file_mount_enclosing_volume):
2054 * gmount.c: (g_mount_base_init):
2056 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2057 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2058 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2062 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2064 * *.c: Fix up includes in the section docs.
2066 2007-12-17 Alexander Larsson <alexl@redhat.com>
2068 * gnativevolumemonitor.h:
2069 * gunionvolumemonitor.c:
2070 * gunixvolumemonitor.c:
2071 Add is_supported() to GNativeVolumeMonitorClass so
2072 that we can avoid having to create an object to see
2073 if the backend is supported at runtime.
2074 Also add name member and an env var to pick a specific
2075 volume monitor backend.
2079 Add cancellable to _g_mount_get_for_mount_path()
2081 * glocaldirectorymonitor.c:
2082 * glocalfilemonitor.c:
2083 Avoid loading and unloading modules while sorting.
2085 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2088 * gunixmounts.[hc]: Namespace waste reduction, move some
2089 g_get_unix_mount functions to the g_unix_mount namespace.
2092 * gunixvolumemonitor.c:
2094 * glocaldirectorymonitor.c: Update all callers.
2096 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2098 2007-12-17 Alexander Larsson <alexl@redhat.com>
2101 Add doc comments about what GFile operations are
2102 guaranteed to not block.
2104 2007-12-17 Alexander Larsson <alexl@redhat.com>
2107 Add missing #ifdef fixing OSX build.
2108 (#503334, patch from Richard Hult)
2110 2007-12-14 David Zeuthen <davidz@redhat.com>
2114 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2115 (g_mount_eject), (g_mount_eject_finish):
2117 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2118 (get_volume_for_uuid), (get_mount_for_uuid),
2119 (g_union_volume_monitor_class_init),
2120 (get_default_native_type_with_exclude), (get_default_native_type),
2121 (get_native_type), (update_native_type),
2122 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2123 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2124 (g_unix_mount_can_eject), (eject_unmount_cb),
2125 (eject_unmount_read_error), (eject_unmount_do),
2126 (g_unix_mount_unmount), (g_unix_mount_eject),
2127 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2128 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2129 (g_unix_mount_point_guess_can_eject):
2131 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2132 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2133 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2134 (g_unix_volume_mount), (g_unix_volume_eject),
2135 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2136 * gunixvolumemonitor.c: (get_volume_for_uuid),
2137 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2139 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2140 (g_volume_eject), (g_volume_eject_finish):
2142 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2143 (g_volume_monitor_get_mount_for_uuid):
2146 Provide eject() on both GMount and GVolume and utility functions
2147 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2148 ejected. Introduce the concept of UUID's and wire it into GVolume
2149 and GMount and provide API on GVolumeMonitor to find such
2150 instances. Also handle the case where an external
2151 GNativeVolumeMonitor fails to initialize. Lock around the
2152 _g_get_mount_for_mount_path() function such that volume monitor
2153 implementations won't have to do locking themselves.
2155 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2157 * gdesktopappinfo.c:
2163 * gvolume.h: Documentation updates
2165 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2168 * gfile.h: Doc updates
2170 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2173 * gdesktopappinfo.c: Use hash table iterators.
2175 2007-12-14 Alexander Larsson <alexl@redhat.com>
2178 * gfileattribute.[ch]:
2179 * gfileattribute-priv.h:
2180 Move GFileAttributeValue to a private header, as
2184 Make set_attribute take a type + a pointer instead
2185 of a GFileAttributeValue.
2188 Fix up for above changes.
2189 Add g_file_info_get_attribute_data to get
2190 all info in one call, g_file_info_get_attribute_status
2191 to get the status and g_file_info_get_attribute_as_string.
2195 * glocalfileinfo.[ch]:
2199 Make _guess_type static.
2201 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2204 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2205 made mkenums and friends use temporary files to avoid leaving
2206 empty generated files on failure (#503470).
2208 2007-12-14 Alexander Larsson <alexl@redhat.com>
2210 * gmountoperation.h:
2213 2007-12-14 Alexander Larsson <alexl@redhat.com>
2217 * gfileattribute.[ch]:
2220 * glocalfileoutputstream.c:
2221 * gmountoperation.[ch]:
2222 * goutputstream.[ch]:
2223 Clean up all flags enums to not have _FLAGS in them
2224 Make the names of some of the enums better.
2229 2007-12-14 Michael Natterer <mitch@imendio.com>
2231 * gio.symbols: fix g_io_scheduler symbol names.
2233 2007-12-14 Alexander Larsson <alexl@redhat.com>
2239 * gbufferedinputstream.h:
2240 * gbufferedoutputstream.h:
2243 * gdatainputstream.h:
2244 * gdataoutputstream.h:
2245 * gdesktopappinfo.h:
2246 * gdirectorymonitor.h:
2250 * gfileenumerator.h:
2253 * gfileinputstream.h:
2255 * gfilenamecompleter.h:
2256 * gfileoutputstream.h:
2257 * gfilterinputstream.h:
2258 * gfilteroutputstream.h:
2266 * gmemoryinputstream.h:
2267 * gmemoryoutputstream.h:
2269 * gmountoperation.h:
2272 * gsimpleasyncresult.h:
2274 * gunixinputstream.h:
2276 * gunixoutputstream.h:
2280 * inotify/Makefile.am:
2281 Only allow including <gio/gio.h> from apps
2283 2007-12-14 Alexander Larsson <alexl@redhat.com>
2285 * gioscheduler.[ch]:
2286 * gsimpleasyncresult.c:
2287 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2288 Split out the send_to_mainloop call into two versions instead
2289 of having the block argument.
2291 2007-12-13 Alexander Larsson <alexl@redhat.com>
2293 * gcancellable.[ch]:
2295 * gbufferedinputstream.c:
2296 * gfileenumerator.c:
2297 * gfileinputstream.c:
2298 * gfileoutputstream.c:
2302 g_push/pop_current_cancellable ->
2303 g_cancellable_push/pop_current
2305 2007-12-13 Alexander Larsson <alexl@redhat.com>
2309 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2311 2007-12-13 Alexander Larsson <alexl@redhat.com>
2313 * gmountoperation.h:
2314 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2316 2007-12-12 Alexander Larsson <alexl@redhat.com>
2319 Fix race condition when freeing proxy in
2320 g_io_job_send_to_mainloop().
2322 2007-12-12 Alexander Larsson <alexl@redhat.com>
2328 Make attribute namespace separator "::" instead of ":".
2329 Use - instead of _ as separator in attribute names.
2331 2007-12-12 Alexander Larsson <alexl@redhat.com>
2333 * gbufferedinputstream.h:
2334 * gbufferedoutputstream.h:
2335 * gdatainputstream.h:
2336 * gdataoutputstream.h:
2337 * gdirectorymonitor.h:
2338 * gfileenumerator.h:
2339 * gfileinputstream.h:
2341 * gfileoutputstream.h:
2342 * gfilterinputstream.h:
2343 * gfilteroutputstream.h:
2345 * glocalfileinputstream.h:
2346 * glocalfileoutputstream.h:
2347 * gmemoryinputstream.h:
2348 * gmemoryoutputstream.h:
2349 * gnativevolumemonitor.h:
2351 * gunixinputstream.h:
2352 * gunixoutputstream.h:
2355 s/parent/parent_instance/ in GObjects
2357 2007-12-12 Alexander Larsson <alexl@redhat.com>
2362 No need for padding for interfaces
2364 2007-12-12 Alexander Larsson <alexl@redhat.com>
2368 * gbufferedinputstream.c:
2369 * gbufferedoutputstream.c:
2372 * gdatainputstream.[ch]:
2373 * gdesktopappinfo.c:
2374 * gdirectorymonitor.c:
2376 * gfileattribute.[ch]:
2379 * gfileinputstream.h:
2380 * gfilemonitor.[ch]:
2381 * gfileoutputstream.[ch]:
2382 * gfilterinputstream.h:
2383 * gfilteroutputstream.h:
2386 * gloadableicon.[ch]:
2387 * gmemoryinputstream.c:
2388 * gmountoperation.c:
2390 Fix up a bunch of details in the docs.
2395 2007-12-11 David Zeuthen <davidz@redhat.com>
2397 Rework how volumes, drives and volume monitoring is
2398 done. Previosly the model was
2400 GDrive <1-1> GVolume
2402 where a GDrive instance represented a mount point and a GVolume
2403 instance represented a mounted file system. This patch changes it
2406 GDrive <1-N> GVolume <1-1> GMount
2408 where GMount now serves the purpose of the old GVolume and the new
2409 GVolume serves the purpose of the old GDrive. In addition the new
2410 GDrive interface is used to represent a collection of GVolume
2411 instances (typically partitions) and also contains utility to query
2412 the state of the physical drive the GDrive object represents (such
2413 as checking for media, polling the drive, ejecting the media etc.).
2415 Also implement mounting and unmounting in the Unix volume monitor
2416 backend. A subquent patch will introduce GDrive support for ejection
2420 * gdrive.c: (g_drive_is_media_check_automatic),
2421 (g_drive_is_media_removable), (g_drive_has_media),
2422 (g_drive_can_poll_for_media), (g_drive_eject),
2423 (g_drive_eject_finish), (g_drive_poll_for_media),
2424 (g_drive_poll_for_media_finish):
2426 * gfile.c: (g_file_find_enclosing_mount):
2429 * glocaldirectorymonitor.c:
2430 (g_local_directory_monitor_constructor), (mounts_changed):
2431 * glocalfile.c: (get_mount_info),
2432 (g_local_file_find_enclosing_mount),
2433 (g_local_file_file_iface_init):
2434 * gnativevolumemonitor.h:
2435 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2436 (get_connected_drives), (g_union_volume_monitor_class_init),
2437 (child_volume_added), (child_volume_removed),
2438 (child_volume_changed), (child_mount_added), (child_mount_removed),
2439 (child_mount_pre_unmount), (child_mount_changed),
2440 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2441 (g_union_volume_monitor_remove_monitor),
2442 (_g_mount_get_for_mount_path):
2443 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2444 (guess_system_internal), (_g_get_unix_mounts),
2445 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2446 (g_unix_mount_free), (g_unix_mount_compare),
2447 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2448 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2449 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2450 (type_to_icon), (g_unix_mount_guess_name),
2451 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2452 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2453 (_resolve_symlink), (_resolve_dev_root):
2455 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2456 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2457 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2458 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2459 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2460 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2461 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2462 (g_unix_volume_volume_iface_init):
2464 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2465 (get_mounts), (get_volumes), (get_connected_drives),
2466 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2467 (mountpoints_changed), (mounts_changed),
2468 (g_unix_volume_monitor_init),
2469 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2470 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2471 * gunixvolumemonitor.h:
2472 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2473 (g_volume_mount), (g_volume_mount_finish):
2475 * gvolumemonitor.c: (g_volume_monitor_class_init),
2476 (g_volume_monitor_get_connected_drives),
2477 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2480 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2482 * gmountoperation.h (GPasswordFlags): Close the gap
2484 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2486 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2488 * gdesktopappinfo.[hc]: Remove _-prefixes
2490 2007-12-10 Tor Lillqvist <tml@novell.com>
2492 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2495 2007-12-10 Alexander Larsson <alexl@redhat.com>
2497 * gfile.c (g_file_set_display_name):
2498 Don't hardcode '/' (#502727)
2500 2007-12-09 Hans Breuer <hans@breuer.org>
2502 * makefile.msc : follow lib naming convention
2503 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2504 for user and group name, tested with ../tests/gio-ls
2506 2007-12-09 A. Walton <awalton@svn.gnome.org>
2508 * gdesktopappinfo.c:
2514 * gfileenumerator.c:
2519 * gmemoryinputstream.c:
2520 * gmemoryoutputstream.c:
2522 * gsimpleasyncresult.c:
2523 More documentation cleanup and filling in missing information, bringing
2524 GIO to 99% symbol coverage.
2526 2007-12-08 Hans Breuer <hans@breuer.org>
2528 [gio compiles and links on win32, not sure how much already works]
2529 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2530 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2531 base on win32 API; prefer g_lstat() over lstat(); instead of
2532 localtime_r() use an all GLib implementation on win32;
2533 get_mount_info() still needs a win32 specifc implementation
2534 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2535 win32_get_file_user_info to get owner/group info without uid/gid
2536 * glocalfileinputstream.c : include <io.h> on win32
2537 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2538 definition, use g_win32_ftruncate() for G_OS_WIN32
2539 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2540 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2541 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2542 * makefile.msc : updated
2544 2007-12-07 Alexander Larsson <alexl@redhat.com>
2546 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2547 Avoid warning spew if error == NULL
2549 2007-12-07 Alexander Larsson <alexl@redhat.com>
2552 Update docs wrt etags
2554 2007-12-06 Alexander Larsson <alexl@redhat.com>
2557 Include sys/types.h for dev_t (#501919)
2559 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2563 Make abicheck and pltcheck pass.
2565 2007-12-05 Alexander Larsson <alexl@redhat.com>
2568 * giomodule-priv.h: Added.
2569 * glocaldirectorymonitor.c:
2570 * glocalfilemonitor.c:
2571 * gunionvolumemonitor.c:
2573 Actually add the declaration of _g_io_modules_ensure_loaded
2575 2007-12-05 Alexander Larsson <alexl@redhat.com>
2577 * gdatainputstream.c:
2582 * glocaldirectorymonitor.c:
2583 * glocalfilemonitor.c:
2584 * gunionvolumemonitor.c:
2586 Make g_io_modules_ensure_loaded a private function and
2587 don't pass in the dirname. This means we can do magic
2588 directory finding in the win32 version.
2589 Export the actual load-modules-in-directory code so that
2590 gvfs can reuse that.
2592 2007-12-05 Alexander Larsson <alexl@redhat.com>
2594 * gbufferedinputstream.c:
2595 * gbufferedoutputstream.c:
2598 * gfileenumerator.[ch]:
2599 * gfileinputstream.c:
2600 * gfileoutputstream.[ch]:
2601 * gfilterinputstream.c:
2602 * gfilteroutputstream.c:
2603 * ginputstream.[ch]:
2605 * glocalfileenumerator.c:
2606 * glocalfileinputstream.c:
2607 * glocalfileoutputstream.c:
2608 * gmemoryinputstream.c:
2609 * gmemoryoutputstream.c:
2610 * goutputstream.[ch]:
2613 * gunixinputstream.c:
2614 * gunixoutputstream.c:
2615 Rename all struct members named:
2616 read, write, close, truncate, or mount
2617 to foo_fn, as these are reserved names
2618 and could be defined as macros in libc.
2621 2007-12-04 Alexander Larsson <alexl@redhat.com>
2624 (g_output_stream_close):
2625 Only call flush if non-null.
2627 2007-11-30 Dan Winship <danw@gnome.org>
2629 * ginputstream.c (g_input_stream_set_pending): Make this take a
2630 GError and return a gboolean, and do the "outstanding operation"
2631 check (and the "stream is already closed" check) itself.
2632 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2634 * goutputstream.c (g_output_stream_set_pending)
2635 (g_output_stream_clear_pending): Likewise
2637 * gbufferedinputstream.c:
2638 * gfileinputstream.c:
2639 * gfileoutputstream.c: Update for that
2641 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2642 Like g_simple_async_report_error_in_idle, but takes a GError
2643 rather than building one.
2645 2007-11-30 Dan Winship <danw@gnome.org>
2647 * goutputstream.c: Don't cheat and unset the "pending" flag around
2648 inner calls. Instead, call the class method directly rather than
2649 the wrapper function that checks "pending"
2651 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2653 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2655 2007-12-03 Hans Breuer <hans@breuer.org>
2657 [start of port to win32/msvc]
2658 * gcancellable.c : HAVE_UNIST_H and _pipe()
2659 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2660 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2661 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2663 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2664 * glocalvfs.c : use HAVE_PWD_H
2665 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2666 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2667 * Makefile.am : added to EXTRA_DIST
2669 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2671 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2674 2007-12-03 Alexander Larsson <alexl@redhat.com>
2677 Handle OSX style xattrs API (#500506)
2679 2007-12-03 Alexander Larsson <alexl@redhat.com>
2683 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2685 2007-12-02 A. Walton <awalton@svn.gnome.org>
2689 Documentation accuracy fixes.
2691 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2693 * gioenumtypes.c.template: Fix typo.
2695 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2697 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2699 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2701 * gdirectorymonitor.c:
2702 * gfilemonitor.c: Add properties
2704 * gbufferedoutputstream.c: Don't mark buffer-size property
2707 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2709 * gbufferedoutputstream.c: Add auto-grow property.
2711 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2713 * *.c: Unify the capitalization of section headings.
2715 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2717 * gmountoperation.c: Add properties
2719 * gdatainputstream.c: Turn byte-order and newline-type into
2722 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2724 * gioenumtypes.[hc].template: Templates for enum registration
2726 * Makefile.am: Generate gioenumtypes.[hc]
2728 * gio.h: Include gioenumtypes.h
2730 * gfile.h: Add some explicit nicks.
2732 * gio.symbols: Add new symbols
2734 * pltcheck.sh: Adjust
2736 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2738 * *.c: Explain etags and link to the explanation
2740 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2742 * *.c: Explain I/O priority.
2744 * *.c: More coding style fixes.
2746 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2748 * gasyncresult.c: Add another paragraph to the intro,
2749 adjust coding style of example.
2751 2007-11-29 A. Walton <awalton@svn.gnome.org>
2754 Fixes unknown meaning in GAppLaunchContext docs.
2756 Clarify asynchronous ops.
2758 Fix entity tag docs.
2761 Provides missing gtk-doc section, fixes API docs slighly.
2762 * gsimpleasyncresult.c:
2763 Fill in missing info in docs.
2764 * gunixinputstream.c:
2765 * gunixoutputstream.c:
2766 Be more expressive in short description.
2768 Remove gtk-doc stubs for non-public API.
2770 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2772 * *.c: Coding style fixups
2774 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2776 * inotify/inotify-helper.c: Don't export the lock from libgio.
2778 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2781 * abicheck.sh: Fix copy-and-paste leftovers
2783 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2785 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2787 2007-11-28 Alexander Larsson <alexl@redhat.com>
2791 Removed unnecessary file
2793 * gdesktopappinfo.[ch]:
2796 * glocaldirectorymonitor.[ch]:
2798 * glocalfileenumerator.[ch]:
2799 * glocalfileinputstream.[ch]:
2800 * glocalfilemonitor.[ch]:
2801 * glocalfileoutputstream.[ch]:
2803 * gnativevolumemonitor.c:
2804 * gpollfilemonitor.[ch]:
2805 * gunionvolumemonitor.[ch]:
2808 * gunixvolumemonitor.[ch]:
2811 * inotify/ginotifydirectorymonitor.[ch]:
2812 * inotify/ginotifyfilemonitor.[ch]:
2813 * inotify/inotify-helper.c:
2814 Append _ to all internal functions
2818 Export symbols needed for modules
2820 2007-11-28 Alexander Larsson <alexl@redhat.com>
2823 * abicheck.sh: Added.
2824 * makegioalias.pl: Added.
2825 * pltcheck.sh: Added.
2826 * gio.symbols: Added.
2829 Initial work on adding symbol handling.
2832 Correct ifdef guard name
2835 * inotify/Makefile.am:
2836 * xdgmime/Makefile.am:
2837 Include toplevel Makefile.decl
2839 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2841 * gcontenttype.c: Move doc comments to the unix section.
2843 * *.[hc]: More trivial doc corrections.
2845 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2847 * gpollfilemonitor.c:
2851 * gdesktopappinfo.c:
2856 * gdatainputstream.c:
2857 * gdatainputstream.h:
2858 * gdataoutputstream.c:
2859 * gdataoutputstream.h:
2860 * gfileinfo.h: Doc cleanups
2862 2007-11-28 Andre Klapper <a9016009@gmx.de>
2864 * gdesktopappinfo.c: Fix a typo.
2866 2007-11-27 Andre Klapper <a9016009@gmx.de>
2868 * glocalfileoutputstream.c: Fix a typo.
2870 2007-11-27 Alexander Larsson <alexl@redhat.com>
2873 Don't include removed headers
2875 2007-11-27 Alexander Larsson <alexl@redhat.com>
2878 * gsocketinputstream.[ch]: Removed.
2879 * gsocketoutputstream.[ch]: Removed.
2880 * gunixinputstream.[ch]: Added.
2881 * gunixoutputstream.[ch]: Added.
2882 Renamed GSocket*Stream to GUnix*Stream and made
2883 it unix-only, since its not really only for sockets
2884 and it only works on unix (but is highly useful there).
2886 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2892 * gbufferedinputstream.c:
2893 * gbufferedinputstream.h:
2894 * gbufferedoutputstream.c:
2895 * gbufferedoutputstream.h:
2899 * gdatainputstream.c:
2900 * gdatainputstream.h:
2901 * gdataoutputstream.c:
2902 * gdataoutputstream.h:
2903 * gdirectorymonitor.c:
2904 * gdirectorymonitor.h:
2911 * gfileenumerator.c:
2912 * gfileenumerator.h:
2917 * gfileinputstream.c:
2918 * gfileinputstream.h:
2921 * gfilenamecompleter.c:
2922 * gfilenamecompleter.h:
2923 * gfileoutputstream.c:
2924 * gfileoutputstream.h:
2925 * gfilterinputstream.c:
2926 * gfilterinputstream.h:
2927 * gfilteroutputstream.c:
2928 * gfilteroutputstream.h:
2941 * glocalfileoutputstream.c:
2942 * gmemoryinputstream.c:
2943 * gmemoryinputstream.h:
2944 * gmemoryoutputstream.c:
2945 * gmemoryoutputstream.h:
2946 * gmountoperation.c:
2947 * gmountoperation.h:
2950 * gpollfilemonitor.c:
2953 * gsimpleasyncresult.c:
2954 * gsimpleasyncresult.h:
2955 * gsocketinputstream.c:
2956 * gsocketinputstream.h:
2957 * gsocketoutputstream.c:
2958 * gsocketoutputstream.h:
2965 * gunixvolumemonitor.c:
2974 Bumps documentation to 93% symbol coverage, touching most
2975 of the public files. Fixes broken function documentation prototypes.
2976 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2977 gtk-doc headers in private files.
2979 2007-11-27 Jürg Billeter <j@bitron.ch>
2981 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2982 (g_buffered_input_stream_read_byte):
2983 * gbufferedinputstream.h:
2984 New functions for efficient access to buffer and simple single byte
2987 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2988 (g_data_input_stream_read_until):
2989 * gdatainputstream.h:
2990 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2991 read_until with multiple stop chars.
2993 2007-11-27 Alexander Larsson <alexl@redhat.com>
2997 * inotify/Makefile.am:
2998 Use the user-specified giomoduledir
3000 2007-11-27 Alexander Larsson <alexl@redhat.com>
3004 Add catch-all gio.h header
3005 Don't install gdummyfile.h
3007 2007-11-26 Alexander Larsson <alexl@redhat.com>
3009 * Makefile.am (gioinclude_HEADERS):
3010 Remove trailing whitespace
3012 2007-11-26 Alexander Larsson <alexl@redhat.com>
3014 Merge gio-standalone into glib
3016 2007-11-25 Christian Kellner <gicmo@gnome.org>
3018 * gio/goutputstream.c:
3019 Fix small mistake in the docs.
3021 2007-11-21 Christian Persch <chpe@gnome.org>
3023 * gio/glocalfile.c: (g_local_file_trash):
3024 Convert filenames to UTF-8 for GError.
3025 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3026 as per xdg base dir spec.
3028 2007-11-21 Christian Persch <chpe@gnome.org>
3030 * gio/gdesktopappinfo.c:
3031 Use that g_key_file_to_data cannot fail.
3033 Use stock defines for the key file group and key names.
3036 2007-11-21 Alexander Larsson <alexl@redhat.com>
3039 (copy_stream_with_progress):
3040 Make sure we do a final progress callback with
3041 the full total size.
3043 2007-11-21 Alexander Larsson <alexl@redhat.com>
3046 Export g_file_copy_attributes
3047 Remove padding as its not needed for interfaces
3049 2007-11-20 Alexander Larsson <alexl@redhat.com>
3054 Add G_IO_ERROR_WOULD_MERGE for
3055 copy/move dir on dir with overwrite.
3057 2007-11-20 Alexander Larsson <alexl@redhat.com>
3060 * gio/glocalfileinfo.c:
3061 Add COPY_NAME (this is an optional
3062 non-modified utf8 version of the name) that
3065 2007-11-20 Alexander Larsson <alexl@redhat.com>
3067 * gio/glocalfileenumerator.c:
3068 Report errors as GIOError, not GFileError
3070 2007-11-16 Alexander Larsson <alexl@redhat.com>
3072 * gio/glocalfileoutputstream.c:
3073 * gio/gwin32appinfo.c:
3074 Fix typos in strings.
3075 Patch from Luca Ferretti <elle.uca@libero.it>
3077 2007-11-15 Alexander Larsson <alexl@redhat.com>
3080 Post release version bump
3082 === gio-standalone 0.1.2 ===
3084 2007-11-15 Alexander Larsson <alexl@redhat.com>
3086 * docs/reference/gio/Makefile.am:
3087 Fix up distcheck by removing weird
3093 2007-11-14 Alexander Larsson <alexl@redhat.com>
3095 * gio/gdesktopappinfo.c:
3096 * gio/glocaldirectorymonitor.c:
3098 * gio/glocalfileinfo.c:
3099 * gio/inotify/inotify-sub.c:
3100 * programs/gio-cat.c:
3101 * programs/gio-copy.c:
3102 * programs/gio-info.c:
3103 * programs/gio-ls.c:
3104 * programs/gio-monitor-dir.c:
3105 * programs/gio-monitor-file.c:
3106 * programs/gio-mount.c:
3107 * programs/gio-move.c:
3108 * programs/gio-rm.c:
3109 * programs/gio-save.c:
3110 * programs/gio-trash.c:
3111 Leak fixes from Kjartan Maraas
3113 2007-11-14 Alexander Larsson <alexl@redhat.com>
3115 * gio/fam/fam-helper.c:
3117 * gio/glocalfileinfo.c:
3121 * gio/inotify/inotify-diag.c:
3122 * gio/inotify/inotify-kernel.c:
3123 Various code cleanups from Kjartan Maraas
3125 2007-11-14 Alexander Larsson <alexl@redhat.com>
3127 * gio/gioscheduler.c:
3129 Set up threadpool so that we cache 2 unused
3130 idle threads for at 15 secs. This means we
3131 will reuse thread-local data (like dbus connections)
3134 2007-11-14 Alexander Larsson <alexl@redhat.com>
3136 * gio/fam/fam-helper.c:
3137 * gio/fam/gfamdirectorymonitor.c:
3138 * gio/fam/gfamfilemonitor.c:
3140 * gio/gcontenttype.c:
3141 * gio/gdatainputstream.c:
3142 * gio/gdataoutputstream.c:
3146 * gio/gfileattribute.h:
3147 * gio/gfileenumerator.c:
3149 * gio/ginputstream.c:
3152 * gio/glocalfileinfo.c:
3153 * gio/goutputstream.c:
3154 * gio/gpollfilemonitor.c:
3155 * gio/gsimpleasyncresult.c:
3156 * gio/gunixmounts.c:
3157 * gio/gunixmounts.h:
3158 * gio/inotify/ginotifydirectorymonitor.c:
3159 * gio/inotify/ginotifyfilemonitor.c:
3160 * gio/inotify/inotify-diag.c:
3161 * gio/inotify/inotify-kernel.c:
3162 * gio/inotify/inotify-path.c:
3164 * gio/test-streams.c:
3165 * programs/gio-info.c:
3166 * programs/gio-monitor-dir.c:
3167 * programs/gio-monitor-file.c:
3168 Various code cleanups from Kjartan Maraas
3170 2007-11-13 Alexander Larsson <alexl@redhat.com>
3173 Handle the uri-scheme calls for dummy files
3175 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3177 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3178 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3179 to avoid clash with the C++ keyword.
3181 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3183 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3184 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3186 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3188 * gio/glocaldirectorymonitor.c:
3189 * gio/glocalfilemonitor.c:
3190 * gio/gunionvolumemonitor.c:
3191 Don't use g_once_init_*() for initializations that could fail and
3192 could leave the initialization variable set to 0 but use GOnce.
3193 This prevents a deadlock on the second call when trying to create
3194 a monitor and no monitor type is available. Thanks to Sven Herzberg
3197 2007-11-11 Sven Herzberg <sven@imendio.com>
3199 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3200 #ifdef (make it work on MacOS X again)
3202 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3204 Fixes Changelog for last two commits (sorry guys).
3206 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3208 * gio/gbufferedinputstream.c:
3209 * gio/gdatainputstream.c:
3211 * gio/gfileoutputstream.c:
3212 * gio/gfilterinputstream.c:
3213 * gio/glocalfileinputstream.c:
3216 More consistency fixes in g*stream.c files.
3217 Significant clean of gfile's documentation, filling in of
3218 asynchronous operations documentation.
3220 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3222 * gio/gasyncresult.c:
3223 * gio/gbufferedinputstream.c:
3224 * gio/gbufferedoutputstream.c:
3225 * gio/gcancellable.c:
3226 * gio/gcontenttype.c:
3227 * gio/gdatainputstream.c:
3228 * gio/gdataoutputstream.c:
3229 * gio/gdesktopappinfo.c:
3232 * gio/gfileattribute.c:
3233 * gio/gio/gfileenumerator.c:
3235 * gio/gfileinputstream.c:
3236 * gio/gfilemonitor.c:
3237 * gio/gfileoutputstream.c:
3238 * gio/ginputstream.c:
3240 * gio/gioscheduler.c:
3241 * gio/gloadableicon.c:
3242 * gio/glocalfileoutputstream.c:
3243 * gio/gmemoryoutputstream.c:
3244 * gio/gmountoperation.c:
3245 * gio/goutputstream.c:
3247 * gio/gsimpleasyncresult.c:
3248 * gio/gunionvolumemonitor.c:
3249 * gio/gunixmounts.c:
3250 * gio/gunixvolume.c:
3254 * gio/gvolumemonitor.c:
3255 Updated documentation stubs, working towards consistency and
3258 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3260 * gio/gmemoryoutputstream.c:
3261 * gio/gmemoryoutputstream.h:
3262 Change g_memory_output_stream_set_free_on_close() to
3263 g_memory_output_stream_set_free_data() as this makes more sense and
3264 is more consistent with GMemoryInputStream.
3266 2007-11-07 Alexander Larsson <alexl@redhat.com>
3273 Change how we find the default vfs so that
3274 we can handle a gvfs failing to init
3276 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3278 * gio/gbufferedoutputstream.c:
3279 * gio/gdatainputstream.c:
3280 * gio/gdataoutputstream.c:
3281 * gio/gfileinputstream.c:
3282 * gio/gfileoutputstream.c:
3283 * gio/gfilterinputstream.c:
3284 * gio/gfilteroutputstream.c:
3285 * gio/ginputstream.c:
3286 * gio/gmemoryinputstream.c:
3287 * gio/gmemoryoutputstream.c:
3288 * gio/goutputstream.c:
3289 * gio/gsimpleasyncresult.c:
3290 * gio/gsocketinputstream.c:
3291 * gio/gsocketoutputstream.c:
3292 Add guards to the remaining public functions, add a TODO for
3293 an unimplemented function and remove some useless guards.
3295 2007-11-07 Alexander Larsson <alexl@redhat.com>
3298 Autoconf checks for the various types of
3299 getpwuid_r and getgrgid_r
3301 * gio/glocalfileinfo.c:
3302 Use the autoconf checks from above
3304 2007-11-07 Alexander Larsson <alexl@redhat.com>
3307 (g_local_file_query_filesystem_info):
3308 Some fixes for the statvfs case
3310 2007-11-07 Alexander Larsson <alexl@redhat.com>
3313 (g_local_file_query_filesystem_info):
3314 Pick the "best" of statfs / statvfs for the system
3315 if both are availible.
3317 2007-11-07 Alexander Larsson <alexl@redhat.com>
3319 Solaris fixes from Halton.Huo@Sun.COM:
3326 * gio/glocalfileinfo.c:
3327 Fix for solaris definition of getpwuid_r
3329 * gio/test-streams.c:
3330 Use G_GNUC_PRETTY_FUNCTION
3332 2007-11-07 Alexander Larsson <alexl@redhat.com>
3334 * gio/gdesktopappinfo.c:
3335 (update_default_list):
3336 Remove double semicolon.
3337 Patch from Jens Granseuer
3339 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3341 * docs/reference/gio/gio-sections.txt:
3342 * gio/gbufferedinputstream.c:
3343 * gio/gbufferedinputstream.h:
3344 * gio/gdatainputstream.c:
3345 * gio/gfileenumerator.c:
3346 * gio/gioscheduler.c:
3347 * gio/gunionvolumemonitor.c:
3349 * programs/gio-save.c:
3350 Fix typo: availible -> available. Unfortuntely this breaks API
3351 and ABI as g_buffered_input_stream_get_available() was renamed.
3353 * gio/gunixmounts.c:
3354 * gio/gbufferedinputstream.c:
3355 Add guards for public functions.
3357 2007-11-06 Ross Burton <ross@openedhand.com>
3359 * docs/reference/gio/Makefile.am:
3360 Fix invalid += usage which automake 1.10 doesn't like.
3362 2007-11-06 Alexander Larsson <alexl@redhat.com>
3365 (g_app_launch_context_class_init):
3368 Patch from Ross Burton
3370 2007-11-06 Alexander Larsson <alexl@redhat.com>
3373 Post release version bump
3375 === gio-standalone 0.1.1 ===
3377 2007-11-06 Alexander Larsson <alexl@redhat.com>
3380 Bump version to 0.1.1
3382 * gio/gsimpleasyncresult.c:
3383 (g_simple_async_result_set_from_error):
3384 Remove bogus g_return_if_fail
3386 2007-11-06 Alexander Larsson <alexl@redhat.com>
3389 The name is gio-standalone
3392 Add top src/builddir to includedir
3394 2007-11-06 Alexander Larsson <alexl@redhat.com>
3396 * docs/reference/gio/gio-sections.txt:
3398 * gio/gbufferedinputstream.c:
3399 * gio/gbufferedoutputstream.c:
3400 * gio/gcancellable.c:
3401 * gio/gdatainputstream.h:
3402 * gio/gdataoutputstream.c:
3403 * gio/gdataoutputstream.h:
3404 * gio/gdirectorymonitor.c:
3406 * gio/gfileattribute.c:
3407 * gio/gfileattribute.h:
3408 * gio/gfileenumerator.c:
3409 * gio/gfileenumerator.h:
3412 * gio/gfileinputstream.h:
3413 * gio/gfilemonitor.c:
3414 * gio/gfileoutputstream.h:
3415 * gio/glocalfilemonitor.h:
3416 * gio/glocalfileoutputstream.h:
3417 * gio/gmemoryinputstream.c:
3418 * gio/gmemoryoutputstream.c:
3419 * gio/gmountoperation.c:
3420 * gio/goutputstream.c:
3421 * gio/goutputstream.h:
3423 * gio/gsimpleasyncresult.c:
3424 * gio/gunixmounts.c:
3425 * gio/gunixmounts.h:
3427 * gio/inotify/inotify-helper.c:
3428 Fix gtk-doc warnings
3430 Patch from Ross Burton
3432 2007-11-06 Alexander Larsson <alexl@redhat.com>
3434 * gio/gfilenamecompleter.c:
3435 (g_filename_completer_get_completions):
3438 * gio/gunixvolume.c:
3439 Remove unused function
3441 Patches from Ross Burton
3443 2007-11-06 Alexander Larsson <alexl@redhat.com>
3448 Padding not needed for interfaces
3450 2007-11-06 Alexander Larsson <alexl@redhat.com>
3452 * gio/gfilemonitor.c:
3456 Make giotypes.h an internal file
3459 * gio/gbufferedinputstream.h:
3460 * gio/gbufferedoutputstream.h:
3461 * gio/gcancellable.h:
3462 * gio/gdatainputstream.h:
3463 * gio/gdataoutputstream.h:
3464 * gio/gdirectorymonitor.c:
3465 * gio/gdirectorymonitor.h:
3470 * gio/gfileattribute.h:
3471 * gio/gfileenumerator.h:
3476 * gio/gfilemonitor.c:
3477 * gio/gfilemonitor.h:
3478 * gio/gfilenamecompleter.c:
3479 * gio/gfilenamecompleter.h:
3480 * gio/gfilterinputstream.h:
3481 * gio/gfilteroutputstream.h:
3482 * gio/ginputstream.h:
3483 * gio/gmemoryinputstream.h:
3484 * gio/gmemoryoutputstream.h:
3485 * gio/gmountoperation.c:
3486 * gio/gmountoperation.h:
3487 * gio/gnativevolumemonitor.c:
3488 * gio/goutputstream.h:
3491 * gio/gsimpleasyncresult.c:
3492 * gio/gsimpleasyncresult.h:
3493 * gio/gsocketinputstream.h:
3494 * gio/gsocketoutputstream.h:
3495 * gio/gthemedicon.c:
3496 * gio/gthemedicon.h:
3500 * gio/gvolumemonitor.c:
3501 * gio/gvolumemonitor.h:
3502 Add padding in classes where it seems useful
3503 Don't include giotypes.h from public headers
3504 Move in Class definitions into c file where possible
3509 2007-11-06 Alexander Larsson <alexl@redhat.com>
3511 * docs/reference/gio/gio-docs.xml:
3512 Better structure for API docs
3514 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3517 * gio/gloadableicon.c:
3518 * gio/gsimpleasyncresult.c:
3519 * gio/gthemedicon.c:
3520 Add some more guards to public functions. Only files missing are now
3523 2007-11-06 Alexander Larsson <alexl@redhat.com>
3525 * docs/reference/gio/gio-docs.xml:
3526 Remove old files, add missing ones
3528 2007-11-06 Alexander Larsson <alexl@redhat.com>
3530 * docs/reference/gio/gio-sections.txt:
3533 Hide implementation classes
3535 * gio/gdriveprivate.h:
3536 * gio/gvolumeprivate.h:
3537 Remove non-existing function declarations
3539 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3542 Fix compilation warnings and add guards to the new functions.
3544 * gio/gasyncresult.c:
3546 Add guards to the public functions.
3549 Implement get_path().
3551 2007-11-06 Alexander Larsson <alexl@redhat.com>
3553 * gio/gfilenamecompleter.c:
3554 Make g_filename_completer_get_completions
3555 return char ** instead of GList for
3558 * docs/reference/gio/gio-docs.xml:
3559 * docs/reference/gio/gio-sections.txt:
3561 * gio/gasyncresult.c:
3562 * gio/gbufferedinputstream.c:
3563 * gio/gbufferedoutputstream.c:
3564 * gio/gcancellable.c:
3565 * gio/gcontenttype.c:
3566 * gio/gdatainputstream.c:
3567 * gio/gdataoutputstream.c:
3568 * gio/gdesktopappinfo.c:
3569 * gio/gdirectorymonitor.c:
3573 * gio/gfileattribute.c:
3574 * gio/gfileenumerator.c:
3577 * gio/gfileinputstream.c:
3578 * gio/gfilemonitor.c:
3579 * gio/gfilenamecompleter.c:
3580 * gio/gfilenamecompleter.h:
3581 * gio/gfileoutputstream.c:
3582 * gio/gfilterinputstream.c:
3584 * gio/ginputstream.c:
3586 * gio/gioscheduler.c:
3587 * gio/gloadableicon.c:
3588 * gio/glocaldirectorymonitor.c:
3590 * gio/glocalfileinputstream.c:
3591 * gio/glocalfilemonitor.c:
3592 * gio/glocalfileoutputstream.c:
3594 * gio/gmemoryinputstream.c:
3595 * gio/gmemoryoutputstream.c:
3596 * gio/gmountoperation.c:
3597 * gio/goutputstream.c:
3598 * gio/gpollfilemonitor.c:
3600 * gio/gsimpleasyncresult.c:
3601 * gio/gsocketinputstream.c:
3602 * gio/gsocketoutputstream.c:
3603 * gio/gthemedicon.c:
3604 * gio/gunionvolumemonitor.c:
3606 * gio/gunixmounts.c:
3607 * gio/gunixvolume.c:
3608 * gio/gunixvolumemonitor.c:
3612 * gio/gvolumemonitor.c:
3613 * gio/gwin32appinfo.c:
3614 Add (mostly stub) doc strings to public functions.
3615 Patch from Andrew Walton (awalton@gmail.com)
3617 2007-11-06 Alexander Larsson <alexl@redhat.com>
3619 * gio/gappinfo.[ch]:
3620 Added GAppLaunchContext object and pass that to launch.
3621 This allows simple implementation of both
3622 launch-on-screen and startup notification via a gtk+
3623 subclass of GAppLaunchContext
3625 * gio/gdesktopappinfo.c:
3626 Implement GAppLaunchContext API
3628 * gio/gwin32appinfo.c:
3631 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3633 * gio/gmountoperation.c:
3634 Add some guards to GMountOperation's public functions.
3636 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3640 * gio/gcancellable.c:
3641 * gio/gdirectorymonitor.c:
3643 * gio/gfileenumerator.c:
3644 * gio/gfilemonitor.c:,
3645 * gio/gfilenamecompleter.c:
3648 * gio/gioscheduler.c:
3652 * gio/gvolumemonitor.c:
3653 Add even more guards to various public functions.
3655 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3658 Add guards to the public functions of GAppInfo.
3660 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3662 * gio/gcontenttype.c:
3663 Add some more guards for public functions.
3665 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3667 * gio/fam/fam-module.c:
3668 * gio/fam/gfamdirectorymonitor.c:
3669 * gio/fam/gfamdirectorymonitor.h:
3670 * gio/fam/gfamfilemonitor.c:
3671 * gio/fam/gfamfilemonitor.h:
3672 * gio/inotify/ginotifydirectorymonitor.c:
3673 * gio/inotify/ginotifydirectorymonitor.h:
3674 * gio/inotify/ginotifyfilemonitor.c:
3675 * gio/inotify/ginotifyfilemonitor.h:
3676 Add proper copyright information and remove an unused variable
3677 in the GInotifyFileMonitor constructor.
3679 * gio/gcancellable.c:
3680 Add a guard for a public function and an assertion to prevent
3681 an undefined program state.
3683 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3685 * gio/gfileattribute.c:
3686 Don't run into an assertion if the given attribute value is NULL
3687 in g_file_attribute_value_get_*() but instead return a fallback
3688 value that makes sense in most situations. Passing them a attribute
3689 value with the wrong type will still run into an assertion.
3691 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gio/gfileattribute.c:
3695 Add even more guards to the public functions. Also fix the refcounting
3696 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3697 let g_file_info_list_attributes() filter the attributes by namespace
3698 instead of simply ignoring the namespace parameter.
3700 2007-11-03 Sven Herzberg <sven@imendio.com>
3702 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3703 (This makes gio work on MacOS X again)
3705 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3708 Build the gio subdirectory before the docs. Otherwise the build will
3711 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3712 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3713 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3714 Add guards to the public functions.
3716 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3718 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3719 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3720 to prevent a compiler warning.
3722 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3723 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3724 return something in the non-void function find_topdir_for().
3726 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3733 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3735 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3736 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3737 * gwin32appinfo.c (g_win32_app_info_launch):
3738 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3739 envp_for_startup_id, g_desktop_app_info_launch,
3740 g_desktop_app_info_launch_uris):
3742 Give an opaque 'startup_id' string instead of 'envp'.
3743 Support empty file lists for launching new windows.
3744 Fix infinite recursion bug when launching URIs.
3746 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3749 Add guard to the new g_file_get_uri_scheme() function.
3751 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3754 Convert a g_return_val_if_fail() to setting the GError instead as
3755 otherwise applications have to verify the parameter before otherwise
3756 and the parameter might come directly from the user.
3758 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3760 * gio/inotify/ginotify*.[ch]:
3761 Add missing copyright information.
3763 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3766 Add guards in the beginning of public functions to check for valid
3767 parameters and fix a bug in copy_stream_with_progress() that could've
3768 caused writing less bytes than reading.
3769 * gio/glocalfileinfo.c:
3770 Check for a NULL parameter and set the GError accordingly then.
3771 * gio/goutputstream.c:
3772 Fix the same bug as in gfile.c that could've caused writing less bytes
3773 than reading in g_output_stream_real_splice().
3775 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3778 Use the correct gvolumeprivate.h naming
3780 2007-11-01 Christian Kellner <gicmo@gnome.org>
3783 Remove leftover "$(daemon_sources)" entry.
3785 2007-11-01 Christian Kellner <gicmo@gnome.org>
3790 Add copyright information to source files.
3792 2007-11-01 Alexander Larsson <alexl@redhat.com>
3796 Add g_file_get_uri_scheme
3798 2007-11-01 Alexander Larsson <alexl@redhat.com>
3801 * gio/gdesktopappinfo.c:
3802 * gio/gwin32appinfo.c:
3803 Add g_app_info_get_default_for_uri_scheme.
3805 2007-11-01 Alexander Larsson <alexl@redhat.com>
3808 Correct filename for gdriveprivate.h
3810 2007-10-31 Alexander Larsson <alexl@redhat.com>
3813 Rename id:value to id:file
3816 * gio/glocalfileinfo.c:
3819 2007-10-31 Alexander Larsson <alexl@redhat.com>
3821 * gio/gunixvolume.c:
3823 Remove g_volume_get_platform_id, as thats not
3824 needed with the simpler union volume monitor
3826 2007-10-31 Alexander Larsson <alexl@redhat.com>
3829 * gio/guniondrive.[ch]: Removed.
3830 * gio/gunionvolume.[ch]: Removed.
3831 Remove GUnionDrive/Volume
3833 * gio/gunionvolumemonitor.c:
3834 Simplify union volume monitor, now we
3835 only have one native volume monitor and
3836 we use the actual volumes/drives from the
3837 child monitors instead of wrapping them
3839 * gio/gnativevolumemonitor.[ch]:
3840 Base class for native volume monitors.
3841 Includes priority and get_volume_for_mountpoint
3844 Add g_file_find_enclosing_volume
3847 Remove volume name fs attribute
3848 Add readonly fs attribute
3851 Implement readonly attribute
3852 remove volume name attribute
3853 Implement find_enclosing volume
3855 * gio/gunixmounts.c:
3856 Add a volume for "/".
3858 * gio/gunixvolume.[ch]:
3859 Set better name for /
3861 * gio/gunixvolumemonitor.[ch]:
3862 Derive from GNativeVolumeMonitor
3863 Implement get_volume_for_mountpoint
3866 GVolume typedef moved to gfile.h
3868 * gio/gvolumeprivate.h:
3869 Add g_volume_get_for_mount_path
3871 2007-10-31 Alexander Larsson <alexl@redhat.com>
3873 * gio/gunixmounts.[ch]:
3874 Add cache info to unix mount listers
3875 Make getmntent use threadsafe
3876 Add is_system_internal attribute for GUnixMount
3878 * gio/gunixvolume.c:
3879 (g_unix_volume_new):
3880 Use is_system_internal instead of own code
3882 * gio/glocaldirectorymonitor.c:
3883 * gio/gunixvolumemonitor.c:
3884 Update to new gunixmounts API
3889 2007-10-30 Alexander Larsson <alexl@redhat.com>
3892 Add volume name fsinfo attribute
3895 Read volume name info
3897 * gio/gunionvolumemonitor.c:
3898 Fix infinite loops when finalizing a union volume monitor
3900 2007-10-30 Alexander Larsson <alexl@redhat.com>
3902 * gio/goutputstream.[ch]:
3903 Add splice() with default implementation
3905 * gio/gsocketoutputstream.c:
3906 (g_socket_output_stream_write):
3907 Return error on cancellation correctly.
3909 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3911 * gio/glocalfile.c (g_local_file_trash):
3912 Do not leak a string.
3914 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3916 * gio/gfile.c (g_file_load_contents):
3917 Unref the stream after closing it.
3919 2007-10-25 Alexander Larsson <alexl@redhat.com>
3921 * gio/gioscheduler.h:
3924 2007-10-25 Alexander Larsson <alexl@redhat.com>
3928 Add g_file_has_uri_scheme and implement for local files
3930 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3932 * gio/gdesktopappinfo.c: do not leak a string.
3934 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3936 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3937 (g_local_directory_monitor_new):
3938 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3939 (g_local_file_monitor_new):
3940 Only look for the monitor type that should be used the first time
3941 and use g_qsort_with_data() instead of our own bubble sort
3944 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3947 * gio/fam/Makefile.am:
3948 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3949 * gio/fam/fam-helper.h:
3950 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3951 * gio/fam/gfamdirectorymonitor.c:
3952 * gio/fam/gfamdirectorymonitor.h:
3953 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3954 * gio/fam/gfamfilemonitor.h:
3955 * gio/glocaldirectorymonitor.c:
3956 * gio/glocaldirectorymonitor.h:
3957 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3958 * gio/glocalfilemonitor.h:
3959 * gio/inotify/Makefile.am:
3960 * gio/inotify/ginotifydirectorymonitor.c:
3961 * gio/inotify/ginotifydirectorymonitor.h:
3962 * gio/inotify/ginotifyfilemonitor.c:
3963 * gio/inotify/ginotifyfilemonitor.h:
3964 Implement the FAM and Inotify monitors as
3965 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3966 their own GIO module. GLocal(Directory|File)Monitor will use the
3967 monitor with the highest rank that is supported on that machine.
3969 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3972 Change GIO module dir to $(libdir)/gio/modules and change
3973 the log domain from GVFS to GIO. Also only export symbols starting
3974 with g_ in the resulting library.
3975 * gio/test-streams.c: (main):
3976 Set log handler for the GIO log domain.
3978 2007-10-22 Alexander Larsson <alexl@redhat.com>
3980 * gio/gfilenamecompleter.[ch]:
3981 Add g_filename_completer_set_dirs_only
3983 2007-10-22 Alexander Larsson <alexl@redhat.com>
3986 * gio/gurifuncs.[ch]:
3987 Add some simple URI helpers
3989 * gio/gfilenamecompleter.[ch]:
3990 Added object for filename (parse name actually) completion
3993 Handle ~ in parse names
3995 2007-10-17 Alexander Larsson <alexl@redhat.com>
3998 * gio/glocalfileinfo.c:
3999 Add and implement id:value attribute
4001 2007-10-17 Alexander Larsson <alexl@redhat.com>
4004 * gio/guniondrive.c:
4006 Add and implement g_drive_has_volumes
4008 2007-10-17 Alexander Larsson <alexl@redhat.com>
4011 * gio/glocalfileinfo.[ch]:
4012 Add unix:is_mountpoint and implement for local files
4014 2007-10-16 Alexander Larsson <alexl@redhat.com>
4016 * gio/gunionvolumemonitor.c:
4017 (g_union_volume_monitor_init):
4018 Fix up the unix type getting so that it works with gcc
4020 2007-10-12 Alexander Larsson <alexl@redhat.com>
4023 * gio/glocalfileinfo.c:
4024 Add thumbnail:failed to file info
4026 2007-10-12 Richard Hult <richard@imendio.com>
4028 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4029 optimizing away the get_type call (happens with some gcc versions,
4030 like the one shipped with OS X 10.4).
4032 2007-10-12 Alexander Larsson <alexl@redhat.com>
4034 * gio/glocalfileinfo.c:
4035 (_g_local_file_info_set_attribute):
4036 Fix build if not HAVE_XATTR
4037 Patch from Milosz Derezynski <internalerror@gmail.com>
4039 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4041 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4042 around for review, otherwise I would have asked you before
4045 2007-10-11 Alexander Larsson <alexl@redhat.com>
4048 Add thumbnail:path attribute
4050 * gio/glocalfileinfo.c:
4051 Implement thumbnail:path for local files
4053 2007-10-11 Alexander Larsson <alexl@redhat.com>
4055 * gio/glocalfileinfo.c:
4056 (_g_local_file_info_get):
4057 Avoid duplicate icon names
4059 2007-10-11 Alexander Larsson <alexl@redhat.com>
4061 * gio/gthemedicon.[ch]:
4062 Change g_themed_icon_get_names return type to const
4064 2007-10-10 Alexander Larsson <alexl@redhat.com>
4066 * gio/glocalfileinfo.c:
4067 Don't reference freed memory
4069 2007-10-10 Alexander Larsson <alexl@redhat.com>
4071 * gio/gfileattribute.c:
4074 * gio/glocalfileinfo.c:
4077 2007-10-10 Alexander Larsson <alexl@redhat.com>
4080 Check for NULL icons
4082 * gio/gfileattribute.c:
4083 Don't dup when getting objects (same as for string attributes)
4085 * gio/gicon.c (g_icon_equal):
4086 Safely handle NULLs in equal
4088 2007-10-10 Alexander Larsson <alexl@redhat.com>
4091 Fix c++ compilation issues
4092 Patch from Milosz Derezynski <internalerror@gmail.com>
4094 2007-10-10 Alexander Larsson <alexl@redhat.com>
4096 * programs/gio-monitor-dir.c:
4097 Don't crash if dir monitor not supported.
4099 2007-10-09 Alexander Larsson <alexl@redhat.com>
4102 Add missing G_END_DECLS
4104 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4106 * gio/gfile.c: (g_file_set_display_name),
4107 (g_file_query_settable_attributes),
4108 (g_file_query_writable_namespaces):
4109 Return NULL not FALSE on errors as the return type is a pointer.
4111 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4113 * gio/glocalfile.c: (g_local_file_monitor_file):
4114 Don't call monitor_file on the default interface vtable (which
4115 is NULL) but simply return NULL. The caller, GFile, will create a
4116 polling monitor if NULL is returned.
4118 2007-10-09 Alexander Larsson <alexl@redhat.com>
4122 * gio-unix-2.0.pc.in:
4123 Add gio-unix-2.0.pc if OS_UNIX
4126 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4128 2007-10-09 Alexander Larsson <alexl@redhat.com>
4130 * gio/gunixmounts.[ch]:
4131 Make unix mount monitoring API sane.
4132 Now its just a object with mounts_changed
4133 and mountpoints_changed signals.
4135 * gio/glocaldirectorymonitor.c:
4136 * gio/gunixvolumemonitor.c:
4137 Use new mount monitor api
4139 2007-10-09 Alexander Larsson <alexl@redhat.com>
4141 * gio/gunixmounts.[ch]:
4142 Move guess type into one call for mounts and one for mountpoints
4145 * gio/gunixvolume.c:
4148 2007-10-09 Alexander Larsson <alexl@redhat.com>
4150 * gio/gunixmounts.[ch]:
4151 Remove _ prefix in preparation to make this semi-public
4152 Hide implementation of structs
4154 * gio/glocaldirectorymonitor.c:
4156 * gio/gunixvolume.c:
4157 * gio/gunixvolumemonitor.c:
4158 Update for above API changes
4160 2007-10-08 Alexander Larsson <alexl@redhat.com>
4163 Better polling fallback. This also handles the case where we have
4164 a monitor_file implementation, but it fails.
4166 2007-10-08 Alexander Larsson <alexl@redhat.com>
4170 * gio/gunixmounts.c:
4171 * programs/gio-monitor-dir.c:
4172 * programs/gio-monitor-file.c:
4173 Added cancellable to file monitoring calls.
4174 These are really sync calls and need this.
4176 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4178 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4179 (g_local_vfs_class_init):
4180 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4181 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4183 2007-10-05 Alexander Larsson <alexl@redhat.com>
4185 * gio/gdirectorymonitorprivate.h:
4186 * gio/gfilemonitorprivate.h:
4187 * gio/gdirectorymonitor.h:
4188 * gio/gfilemonitor.h:
4189 Remove *private.h and move to the public API, so that
4190 we can do implementations outside gio (such as in gvfs)
4192 * gio/gdirectorymonitor.c:
4193 * gio/gfilemonitor.c:
4194 * gio/glocaldirectorymonitor.c:
4195 * gio/gpollfilemonitor.c:
4196 * gio/inotify/inotify-helper.c:
4197 * gio/fam/fam-helper.c:
4198 Update to the new header names
4200 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4202 * gio/gdirectorymonitor.c:
4203 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4206 2007-10-04 Alexander Larsson <alexl@redhat.com>
4208 * gio/glocalfileinfo.c (get_access_rights):
4209 Set CAN_TRASH when we can move the file.
4210 We should really also check for a parent trash dir.
4212 2007-10-04 Alexander Larsson <alexl@redhat.com>
4214 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4215 Add can_trash access attribute
4217 2007-10-04 Alexander Larsson <alexl@redhat.com>
4220 (g_local_file_trash):
4221 Create info file first. This is per-spec and allows
4222 us to actually trash directories.
4224 2007-10-02 Alexander Larsson <alexl@redhat.com>
4226 * gio/gdesktopappinfo.c:
4227 Implement the new mime support code.
4228 Always set app as handling mimetype when being set as default for it
4230 2007-10-01 Alexander Larsson <alexl@redhat.com>
4232 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4233 Fix up check for xattrs:
4235 2007-10-01 Alexander Larsson <alexl@redhat.com>
4238 (g_app_info_set_as_default_for_extension):
4239 (g_app_info_add_supports_type):
4240 (g_app_info_can_remove_supports_type):
4241 (g_app_info_remove_supports_type):
4242 Make these fail nicely if not implemented
4244 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4246 * gio/glocalfileoutputstream.c:
4247 * gio/glocalfileoutputstream.h:
4252 * programs/gio-save.c:
4253 Add a GFileCreateFlags argument to operations that can create
4256 2007-10-01 Alexander Larsson <alexl@redhat.com>
4258 * gio/gappinfo.[ch]:
4259 * gio/gdesktopappinfo.c:
4260 Add more (stubbed out) mime API needed for nautilus
4262 2007-10-01 Alexander Larsson <alexl@redhat.com>
4265 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4266 Add g_app_info_set_as_default_for_extension.
4268 * gio/gdesktopappinfo.c:
4269 Dummy for g_app_info_set_as_default_for_extension
4270 Support flags in g_app_info_create_from_commandline
4272 * gio/gwin32appinfo.c:
4274 Update for API changes
4276 * gio/gthemedicon.c:
4277 Properly NULL-terminate list of icon names
4279 2007-09-28 Alexander Larsson <alexl@redhat.com>
4281 * gio/gloadableicon.h:
4282 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4284 2007-09-28 Alexander Larsson <alexl@redhat.com>
4287 Install headers in $includedir/gio-standalone/
4289 * gio-2.0.pc.in: Added.
4290 * gio-standalone.pc.in: Removed.
4293 Renamed pkg-config file to match glib (for future move)
4294 Update to the new include dir
4297 Add more TODO comments
4299 2007-09-28 Alexander Larsson <alexl@redhat.com>
4301 * gio/gdesktopappinfo.[ch]:
4302 Expose new_from_filename
4303 Add getter for is_hidden and handle it better
4305 2007-09-28 Alexander Larsson <alexl@redhat.com>
4307 * gio/gfileinfo.[ch]:
4308 Rename g_file_size_format_for_display to
4309 g_format_file_size_for_display.
4310 Now it doesn't have the g_file prefix, so we
4311 can later move it to glib.
4313 2007-09-28 Alexander Larsson <alexl@redhat.com>
4315 * gio/gappinfo.[ch]:
4316 Add g_app_info_get_id and g_app_info_get_executable.
4317 Make all getters non-reffing
4318 Make g_app_info_launch take GFile arguments.
4319 Add must_support_uris argument to g_app_info_get_default_for_type.
4321 * gio/gwin32appinfo.c:
4322 Update to GAppInfo api changes
4324 * gio/gdesktopappinfo.c:
4325 Update to GAppInfo api changes
4326 Implement supports_xdg_startup_notify
4328 * gio/gfileicon.c (g_file_icon_get_file):
4329 Make getter non-reffing.
4334 2007-09-27 Alexander Larsson <alexl@redhat.com>
4336 * gio/gfileinfo.[ch]:
4337 Add g_file_size_format_for_display helper
4339 2007-09-27 Alexander Larsson <alexl@redhat.com>
4341 * gio/glocalfileinfo.c:
4342 Set UNIX_GID from gid, not from uid
4344 2007-09-27 Alexander Larsson <alexl@redhat.com>
4347 Add g_file_set_attributes_async
4349 2007-09-27 Alexander Larsson <alexl@redhat.com>
4351 * gio/glocalfile.c (g_local_file_set_display_name):
4352 Fix set_display_name to actually rename to the right place.
4353 Use lstat to look for existing files so we don't overwrite
4356 2007-09-26 Alexander Larsson <alexl@redhat.com>
4359 Add g_file_set_display_name_async()
4361 2007-09-26 Alexander Larsson <alexl@redhat.com>
4364 Add load_partial_contents async calls
4367 Make internal function static
4369 2007-09-26 Alexander Larsson <alexl@redhat.com>
4371 * gio/glocalfileinfo.c:
4372 Correctly detect broken symlinks
4374 2007-09-26 Alexander Larsson <alexl@redhat.com>
4376 * gio/gcancellable.c (g_cancellable_cancel):
4377 Allow cancel on NULL cancellable
4379 2007-09-25 Alexander Larsson <alexl@redhat.com>
4381 * gio/gsimpleasyncresult.c:
4382 Don't allocate g_error manually.
4383 Fixes g_slice/g_new mixup crash
4385 2007-09-25 Alexander Larsson <alexl@redhat.com>
4387 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4388 Actually set active_backend.
4389 This means the monitor will be cancelled correctly.
4391 2007-09-25 Alexander Larsson <alexl@redhat.com>
4393 * gio/gdirectorymonitor.c:
4394 Set timeout to NULL when destroying
4396 2007-09-25 Alexander Larsson <alexl@redhat.com>
4399 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4400 that is a better description of the error.
4402 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4404 * gio/gvfs.c: (g_vfs_get_local):
4405 Make the local vfs variable static. The same instance should
4408 2007-09-24 Alexander Larsson <alexl@redhat.com>
4410 * gio/glocalfileinfo.c:
4411 Pass in actual length read into sniffer, not the length
4414 2007-09-21 Alexander Larsson <alexl@redhat.com>
4416 * gio/gfileenumerator.c:
4419 * gio/gfileinputstream.c:
4420 * gio/gfileoutputstream.c:
4421 * gio/ginputstream.c:
4422 * gio/goutputstream.c:
4423 Don't crash if async callbacks are NULL
4425 2007-09-20 Alexander Larsson <alexl@redhat.com>
4428 Add async enumerate_children method and default
4431 2007-09-20 Alexander Larsson <alexl@redhat.com>
4434 Add g_file_contains_file & g_file_get_relative_path, since they
4435 were needed for nautilus.
4436 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4441 Implement new methods
4443 2007-09-17 Alexander Larsson <alexl@redhat.com>
4446 * gio/gfileinputstream.[ch]:
4447 * gio/gfileoutputstream.[ch]:
4449 * gio/glocalfileenumerator.[ch]:
4450 * gio/glocalfileinfo.[ch]:
4451 * gio/glocalfileinputstream.c:
4452 * gio/glocalfileoutputstream.c:
4453 * gio/gpollfilemonitor.c:
4454 * programs/gio-copy.c:
4455 * programs/gio-info.c:
4456 * programs/gio-move.c:
4457 Rename get_file_info to query_info() to make it clearer
4458 that these are not simple getters, but do i/o.
4460 2007-09-17 Alexander Larsson <alexl@redhat.com>
4462 * gio/gdatainputstream.[ch]:
4463 * gio/test-streams.c:
4464 Use _read_XXX instead of _get_XXX for the i/o calls
4467 2007-09-17 Alexander Larsson <alexl@redhat.com>
4470 Added needed stuff to TODO comment
4472 2007-09-17 Alexander Larsson <alexl@redhat.com>
4474 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4475 Don't error out removing the backup copy if it doesn't
4478 2007-09-14 Alexander Larsson <alexl@redhat.com>
4480 * programs/Makefile.am:
4481 * programs/gvfs-*.c:
4483 Renamed apps from gvfs-xxx to gio-xxx.
4485 2007-09-14 Alexander Larsson <alexl@redhat.com>
4488 * gio/gfileoutputstream.[ch]:
4489 * gio/glocalfileoutputstream.c:
4490 * programs/gvfs-save.c:
4491 g_file_output_stream_get_etag doesn't do i/o, so remove
4492 cancellation and error.
4494 2007-09-14 Alexander Larsson <alexl@redhat.com>
4497 Add new_etag output to replace_contents functions
4499 2007-09-14 Alexander Larsson <alexl@redhat.com>
4501 * gio/gfileoutputstream.[ch]:
4502 Add async get_file_info and default implementation
4504 2007-09-14 Alexander Larsson <alexl@redhat.com>
4506 * gio/gfileinputstream.c:
4507 Implement fallback wrapper for async get_file_info
4509 2007-09-14 Alexander Larsson <alexl@redhat.com>
4512 Add etag out argument to load_contents
4517 2007-09-14 Alexander Larsson <alexl@redhat.com>
4519 * gio/gcontenttype.c (looks_like_text):
4520 Whitespace like tab, cr and lf do not make the
4523 2007-09-14 Alexander Larsson <alexl@redhat.com>
4525 * gio/gfileinputstream.[ch]:
4526 Add async get_file_info.
4528 2007-09-13 Alexander Larsson <alexl@redhat.com>
4530 * gio/goutputstream.c (g_output_stream_write_all):
4531 Allow NULL for bytes_written
4533 2007-09-13 Alexander Larsson <alexl@redhat.com>
4535 * gio/gmemoryinputstream.[ch]:
4536 Add accessors for data
4538 2007-09-13 Alexander Larsson <alexl@redhat.com>
4540 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4541 Don't crash if length is NULL