1 2008-07-05 Matthias Clasen <mclasen@redhat.com>
3 * gappinfo.c: Clarify some docs
5 2008-07-03 Matthias Clasen <mclasen@redhat.com>
7 * gdesktopappinfo.c: Fix a stupid mistake.
9 2008-07-02 Matthias Clasen <mclasen@redhat.com>
11 * === Released 2.17.3 ===
13 2008-07-02 Matthias Clasen <mclasen@redhat.com>
15 * gfilemonitor.c: Fix the build.
17 2008-07-02 Matthias Clasen <mclasen@redhat.com>
19 Bug 536160 – Add g_file_monitor()
22 * gfile.[hc]: Add g_file_monitor which can return either
23 a file or a directory monitor. Proposed by Behdad Esfahbod
25 2008-07-02 Matthias Clasen <mclasen@redhat.com>
27 536733 – gio build failure on Irix
29 * glocalfile.c: Use a configure check for structfs.f_bavail.
31 2008-07-02 Matthias Clasen <mclasen@redhat.com>
33 Bug 534639 – add g_desktop_app_info_new_from_keyfile
36 * gdesktopappinfo.[hc]: Add a function to create a
37 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
39 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
41 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
43 2008-07-01 Matthias Clasen <mclasen@redhat.com>
45 * gunixmounts.c: Fix a doc typo.
47 2008-07-01 Cody Russell <bratsche@gnome.org>
50 * gio/gwin32appinfo.c:
51 * gio/gwin32volumemonitor.c:
52 * gio/gwin32mount.c: Fixed some include problems.
54 2008-07-01 Cody Russell <bratsche@gnome.org>
58 Moved all relevant typedefs into these files.
61 Updated wrt added files.
63 Split types into separate file for easier maintainership. (#538564)
65 2008-06-30 Matthias Clasen <mclasen@redhat.com>
67 Bug 540331 – g_file_append_to () documentation: can return NULL
69 * gfile.c (g_file_append_to): Clarify docs.
72 2008-06-30 Matthias Clasen <mclasen@redhat.com>
74 Bug 539090 – g_content_type_from_mime_type() should unalias
76 * gcontentype.c (g_content_type_from_mime_type): Unalias.
77 Patch by Markus Bergman
79 2008-06-30 Matthias Clasen <mclasen@redhat.com>
81 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
84 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
85 on ppc and alpha. Reported by Mart Raudsepp
87 2008-06-29 Matthias Clasen <mclasen@redhat.com>
90 * tests/memory-output-stream.c: Add some tests for
93 2008-06-29 Matthias Clasen <mclasen@redhat.com>
95 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
98 * gmemoryoutputstream.c (array_resize): Handle truncation to
99 zero correctly. Reported by Akira Tagoh
101 2008-06-29 Matthias Clasen <mclasen@redhat.com>
103 * gmemoryoutputstream.c: Trivial doc fixes
105 2008-06-29 Matthias Clasen <mclasen@redhat.com>
107 Bug 540802 – g_list_prepend doesn't concat lists
109 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
110 one list to another. Pointed out by Jan Arne Petersen
112 2008-06-28 Michael Natterer <mitch@imendio.com>
114 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
116 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
118 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
119 to avoid problems with partial icon themes.
121 2008-06-17 Hans Breuer <hans@breuer.org>
123 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
124 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
125 access again on win32, see bug #538127
126 * giomodule.c : ensure GWin32VolumeMonitor is registered
127 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
128 * Makefile.am makefile.msc : updated
130 2008-06-16 Hans Breuer <hans@breuer.org>
132 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
133 and initialization in one step avoids c99ism
135 2008-06-16 Christian Persch <chpe@gnome.org>
138 * gio/gbufferedinputstream.c
140 * gio/gdatainputstream.c
141 * gio/gdesktopappinfo.c
143 * gio/gfileenumerator.c
144 * gio/gfileinputstream.c
145 * gio/gfileoutputstream.c
147 * gio/glocaldirectorymonitor.c
149 * gio/glocalfileenumerator.c
150 * gio/glocalfileinfo.c
151 * gio/glocalfilemonitor.c
152 * gio/glocalfileoutputstream.c
153 * gio/gmemoryinputstream.c
154 * gio/gmemoryoutputstream.c
155 * gio/goutputstream.c
156 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
159 2008-06-16 Tor Lillqvist <tml@novell.com>
161 Bug 538362 - Get Win32 icons back in the file chooser
163 * gcontenttype.c (g_content_type_get_icon): Look up the icon
164 corresponding to a file extension in the Registry. Patch by Hans
166 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
168 2008-06-16 Tor Lillqvist <tml@novell.com>
170 Patches by Hans Breuer:
172 * glocalfile.c (is_xp_or_later): Handle compiling against older
173 SDK headers with missing VerifyVersionInfo(). Conditioned on
174 _MSC_VER, but should probably use some better test.
175 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
176 uninitialised statfs_result variable on Win32.
178 2008-06-16 Michael Natterer <mitch@imendio.com>
180 * *.c: chain up unconditionally in finalize() and dispose(). Also
181 don't dereference these function pointers when calling them since
182 that has no meaning at all.
184 2008-06-16 Ross Burton <ross@burtonini.com>
187 Remove check for dispose implementation as it annoys Emmanuele.
189 2008-06-16 Ross Burton <ross@burtonini.com>
191 Bug 536252 – GFileEnumerator should allow access to the containing
197 Add g_file_enumerator_get_container() and a container writeable
198 construct-only property. Also shuffle around typedefs to make it
201 * glocalfileenumerator.c:
202 * glocalfileenumerator.h:
204 Instead of a string filename take a GFile in the constructor and
205 use it to set the container property.
210 2008-06-16 Matthias Clasen <mclasen@redhat.com>
212 * gfile.c: Make includes more uniform
214 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
216 * tests/live-g-file.c (sample_struct):
217 Use less fancy unicode filenames, so the test doesn't fail
218 on Mac OS X (#531476).
220 2008-06-12 Matthias Clasen <mclasen@redhat.com>
222 * === Released 2.17.2 ===
224 2008-06-12 Matthias Clasen <mclasen@redhat.com>
226 * === Released 2.17.1 ===
228 2008-06-11 A. Walton <awalton@gnome.org>
230 * tests/g-file.c (test_g_file_new_null):
231 Fix broken test case.
233 2008-06-11 Matthias Clasen <mclasen@redhat.com>
235 * pltcheck.sh: We use g_clear_error now.
237 2008-06-11 Matthias Clasen <mclasen@redhat.com>
239 * glocalfile.c (g_local_file_enumerate_children): Revert
240 an unintended change.
242 2008-06-11 Matthias Clasen <mclasen@redhat.com>
244 * gfile.c (g_file_replace_contents): Don't unref before the last use.
246 2008-06-10 Matthias Clasen <mclasen@redhat.com>
248 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
251 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
252 as icon for the desktop directory, also make user-home and
253 user-desktop the preferred icons.
255 2008-06-10 Matthias Clasen <mclasen@redhat.com>
258 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
259 to add a name to the front of the list.
261 2008-06-10 Matthias Clasen <mclasen@redhat.com>
263 Bug 537392 – Additional colon in xattr name
265 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
266 too. Reported by Alessandro Morandi
268 2008-06-10 Matthias Clasen <mclasen@redhat.com>
270 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
273 * glocalfile.c (get_fs_type): Add afs and autofs.
274 Patch by Danny Baumann.
276 2008-06-10 Matthias Clasen <mclasen@redhat.com>
278 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
280 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
281 is no parent. (Owen Taylor, patch by Christian Neumair)
283 2008-06-10 Paolo Borelli <pborelli@katamail.com>
285 * gfile.c (g_file_replace_contents): do not leak the output stream.
287 2008-06-10 Michael Natterer <mitch@imendio.com>
289 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
290 uninitialized memory as array index.
292 2008-06-10 Tor Lillqvist <tml@novell.com>
294 * gcontenttype.c (g_content_type_can_be_executable)
295 (g_content_type_get_icon) [Win32]: Add TODO comments.
297 2008-06-09 Matthias Clasen <mclasen@redhat.com>
299 * xdgmime/Makefile.am: Fix the build
301 2008-06-09 Matthias Clasen <mclasen@redhat.com>
303 * gcontenttype.c (g_content_type_get_icon): Use icons specified
304 in the shared mime database, if available.
306 * xdgmime/*: Sync with upstream. This brings support for
307 glob weights, generic icons, and changes the cache format to
310 2008-05-28 Michael Natterer <mitch@imendio.com>
312 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
313 the global CPPFLAGS now.
315 * tests/data-input-stream.c
316 * tests/data-output-stream.c
317 * tests/g-file-info.c
319 * tests/live-g-file.c
320 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
322 2008-05-27 Matthias Clasen <mclasen@redhat.com>
324 * === Released 2.17.0 ===
326 * tests/live-g-file.c: Clean up after the tests, so make distcheck
327 doesn't complain about leftover files.
329 2008-05-27 simon.zheng <simon.zheng@sun.com>
331 * glocalfile.c: (g_local_file_query_filesystem_info):
332 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
334 2008-05-26 Michael Natterer <mitch@imendio.com>
336 * gmemoryoutputstream.h: declare
337 g_memory_output_stream_get_data_size().
339 2008-05-26 Matthias Clasen <mclasen@redhat.com>
341 * tests/*: Make tests work
343 2008-05-26 Matthias Clasen <mclasen@redhat.com>
345 * gio.symbols: Add g_memory_output_stream_get_data_size.
347 2008-05-25 Ross Burton <ross@burtonini.com>
350 Fix typo in error message (#534764).
352 2008-05-25 Ross Burton <ross@burtonini.com>
355 Fix circular dependency loop for gioenumtypes.h (#534759).
357 2008-05-19 Hans Breuer <hans@breuer.org>
359 * Makefile.am : EXTRA_DIST += makefile.msc
361 2008-05-17 Matthias Clasen <mclasen@redhat.com>
364 * gcontenttype.c: (g_content_type_from_mime_type):
365 New function to create a content type from a mime type. (#527175,
368 2008-05-17 Matthias Clasen <mclasen@redhat.com>
370 Bug 532965 – Should not return filesystem::free for certain file systems
372 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
373 free space for ncpfs.
375 2008-05-17 Matthias Clasen <mclasen@redhat.com>
377 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
379 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
380 st_dev might be zero.
382 2008-05-16 Tor Lillqvist <tml@novell.com>
384 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
385 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
387 2008-05-13 Bastien Nocera <hadess@hadess.net>
389 * gfile.c (has_valid_scheme): A URI scheme must start with a
390 letter, even if later more characters are allowed (#532852)
392 2008-05-05 Michael Natterer <mitch@imendio.com>
394 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
395 code from being checked in that breaks the build of applications
396 which use G_DISABLE_SINGLE_INCLUDES.
398 * makegioalias.pl: make the alias file include "glib.h" instead of
401 * gio.symbols: whitespace change to force regeneration of the
402 alias file after above script change.
404 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
406 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
408 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
410 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
412 2008-04-28 David Zeuthen <davidz@redhat.com>
414 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
415 displaying mounts in a subdirectory not accessible to the
418 2008-04-22 Michael Natterer <mitch@imendio.com>
420 * Makefile.am: fix library versioning (it was 0.0.0).
422 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
424 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
425 Default disable all loggings.
426 * fen/fen-kernel.c: (printevent), (port_add_kevent),
427 (port_fetch_event_cb): Fixed two macro nits.
429 2008-04-16 Matthias Clasen <mclasen@redhat.com>
431 * xdgmime/xdgmime.c: Rework the timestamp checking code
432 to protect against duplicate directories in XDG_DATA_DIRS.
433 Fixes fd.o bug 12513, reported by Joe Shaw.
435 2008-04-16 Matthias Clasen <mclasen@redhat.com>
437 Partically revert the last commit after realizing that
438 xdg_mime_media_type_equal doesn't have to init at all.
441 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
443 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
445 2008-04-16 Matthias Clasen <mclasen@redhat.com>
447 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
448 reported by Joe Shaw and Federico Mena Quintero.
450 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
451 (xdg_mime_media_type_equal): Turn into a wrapper around the
454 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
455 functions throughout.
457 2008-04-16 Michael Meeks <michael.meeks@novell.com>
459 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
460 tolerate an empty TryExec= line without failing; nautilus used
461 to create launchers with these in previous versions. Fixes #528433
463 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
465 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
466 after name. Fixes #527132.
468 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
470 * gfile.c: (g_file_replace):
473 2008-04-07 Matthias Clasen <mclasen@redhat.com>
475 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
477 * gfile.c (file_copy_fallback): Fix the argument order. Patch
478 by Christian Kellner.
480 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
482 * gunixmounts.c: (g_unix_mount_guess_should_display):
483 Don't list the user directory as a mount, fix potential issue
484 when other users have a similar naming and don't special case the
485 gvfs mounts there since that's not required (#525866)
487 2008-03-31 Alexander Larsson <alexl@redhat.com>
489 * glocalfile.c (get_parent):
492 2008-03-31 A. Walton <awalton@svn.gnome.org>
494 * gfile.c (g_file_query_file_type):
495 Always return a GFileType enum value (#520715).
497 2008-03-31 Alexander Larsson <alexl@redhat.com>
499 * glocalfileenumerator.c:
500 Read readdir() info in chunks (of 1000) and sort
501 the chunks by inode before stat:ing.
502 This is a 20% performance increase in testing
503 gvfs-ls on /usr/bin with cold cache.
505 2008-03-31 Alexander Larsson <alexl@redhat.com>
507 * gmemoryoutputstream.c:
508 Clarify docs for g_memory_output_stream_get_size.
509 Add g_memory_output_stream_get_data_size.
511 2008-03-30 Matthias Clasen <mclasen@redhat.com>
515 * gfile.h: Add g_file_query_file_type convenience function
516 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
518 2008-03-30 Matthias Clasen <mclasen@redhat.com>
521 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
523 2008-03-28 A. Walton <awalton@svn.gnome.org>
525 * giomodule.c (_g_io_modules_ensure_loaded):
526 Adds GIO_EXTRA_MODULES environment variable support, closing bug
529 2008-03-28 Alexander Larsson <alexl@redhat.com>
532 (copy_stream_with_progress):
535 2008-03-28 Alexander Larsson <alexl@redhat.com>
538 (copy_stream_with_progress):
539 (file_copy_fallback):
540 Fallback to g_file_query_info for source size
541 if g_file_input_stream_query_info fails. (#524579)
543 2008-03-28 Alexander Larsson <alexl@redhat.com>
545 * glocalfile.c (g_local_file_move):
546 Reuse old string instead of adding new one.
548 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
550 * fen/*.[hc]: still copyright issue. I hate copyright.
552 2008-03-27 Alexander Larsson <alexl@redhat.com>
554 * glocalfile.c (g_local_file_move):
555 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
556 file over directory. This is according to the docs and what the move via
557 copy+remove fallback does.
559 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
561 * fen/*.[hc]: Updated copyright.
563 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
565 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
567 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
569 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
570 not emit attribute changed events when optimizing changed events.
571 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
574 2008-03-19 Matthias Clasen <mclasen@redhat.com>
576 * gmountoperation.[hc]: Small documentation additions
578 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
580 * gunixmounts.c: (guess_mount_type):
581 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
583 2008-03-19 Alexander Larsson <alexl@redhat.com>
586 (copy_stream_with_progress):
587 Bump block side for copy to 64k to minimize
588 overhead for low latency links. (#523015)
590 2008-03-16 Tor Lillqvist <tml@novell.com>
592 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
593 depend on gio.def on Windows.
595 2008-03-12 David Zeuthen <davidz@redhat.com>
599 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
601 2008-03-14 Alexander Larsson <alexl@redhat.com>
605 Avoid redudant tests (#521851)
606 Patch from Josselin Mouette
608 2008-03-14 Alexander Larsson <alexl@redhat.com>
611 (g_file_monitor_is_cancelled):
612 Fix C89 issue (#521672)
613 Patch from Jens Granseuer
615 2008-03-14 Alexander Larsson <alexl@redhat.com>
617 * fam/fam-helper.[ch]:
619 Shut down fam (including removing fam GSource) when
620 module is unloaded (#521513)
621 Patch from Joe Marcus Clarke
623 2008-03-14 Alexander Larsson <alexl@redhat.com>
626 (_g_io_modules_ensure_loaded):
629 2008-03-14 Alexander Larsson <alexl@redhat.com>
632 (g_local_file_query_filesystem_info):
633 Use right define name for f_fstypename member check
635 2008-03-14 Alexander Larsson <alexl@redhat.com>
638 * fen/Makefile.am: Added.
639 * fen/fen-data.[ch]: Added.
640 * fen/fen-dump.[ch]: Added.
641 * fen/fen-helper.[ch]: Added.
642 * fen/fen-kernel.[ch]: Added.
643 * fen/fen-missing.[ch]: Added.
644 * fen/fen-node.[ch]: Added.
645 * fen/fen-sub.[ch]: Added.
646 * fen/gfendirectorymonitor.[ch]: Added.
647 * fen/gfenfilemonitor.[ch]: Added.
649 Added Solaris FEN file notification backend.
650 Patch from Lin Ma <Lin.Ma@Sun.COM>
652 2008-03-13 Tor Lillqvist <tml@novell.com>
654 * Makefile.am: Actually use the gio.def file when linking the
655 library on Windows. Produce .lib library for Microsoft's toolchain
656 when possible. Install the .lib and .def file like for the other
659 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
661 * tests/live-g-file.c:
662 Include live-g-file in standard set of tests, making a temporary
663 directory in source structure.
665 Clean target directory before the tests (write mode only)
667 2008-03-12 Tor Lillqvist <tml@novell.com>
669 Bug 517419 - gio win32 directory monitor
670 Implementation by Vlad Grecescu.
673 * win32/gwin32directorymonitor.h
674 * win32/gwin32directorymonitor.c: New files.
676 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
678 * Makefile.am: Add the win32 subdirectory.
680 2008-03-12 Tor Lillqvist <tml@novell.com>
682 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
683 normal struct stat on Unix but struct _stati64 on Windows to have
684 access to 64-bit file size information. Use that instead of struct
685 stat in the functions declared here in this private header.
687 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
688 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
689 warnings about unused functions and variables. Don't set
690 meaningless attributes like inode numbers on Windows.
692 2008-03-12 Benjamin Otte <otte@gnome.org>
695 trim whitespace so gtk-doc groks the function name
697 2008-03-12 Tor Lillqvist <tml@novell.com>
699 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
700 returning FALSE, on Win32.
702 2008-03-11 Alexander Larsson <alexl@redhat.com>
705 * glocalfileinfo.[ch]:
706 Correctly implement can_trash by actually
707 looking for a trash dir, not just assuming
710 2008-03-10 Matthias Clasen <mclasen@redhat.com>
712 * === Released 2.16.1 ===
714 2008-03-11 Alexander Larsson <alexl@redhat.com>
717 Fix crashes in new constructor and properties code
719 2008-03-10 Murray Cumming <murrayc@murrayc.com>
721 * gfile.c: Minor spelling correction in documentation:
722 existance -> existence.
724 2008-03-10 Matthias Clasen <mclasen@redhat.com>
726 * === Released 2.16.0 ===
728 2008-03-10 Matthias Clasen <mclasen@redhat.com>
730 * gio.symbols: Remove g_file_contains_file here, too.
732 2008-03-10 Matthias Clasen <mclasen@redhat.com>
734 * gthemedicon.c: Add properties to make bindings happy. (#517676,
735 Samuel Cormier-Iijima)
737 2008-03-08 Tor Lillqvist <tml@novell.com>
739 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
742 2008-03-07 Alexander Larsson <alexl@redhat.com>
745 (g_local_file_query_filesystem_info):
746 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
747 Patch from Jasper Lievisse Adriaanse
749 2008-03-06 Tor Lillqvist <tml@novell.com>
751 * gfileinfo.h: Correct milliseconds to microseconds in the doc
752 comments for the *_USEC attributes.
754 2008-03-06 Alexander Larsson <alexl@redhat.com>
756 * gfile.c (g_file_query_exists):
757 Add g_return_val_if_fail check (#520700)
759 2008-03-06 Alexander Larsson <alexl@redhat.com>
764 * gunionvolumemonitor.c:
767 * tests/live-g-file.c:
768 * xdgmime/xdgmimecache.c:
769 Fix sparse warnings (#519489)
771 2008-03-05 Alexander Larsson <alexl@redhat.com>
774 Make cancellation threadsafe (i.e.
775 guarantee its only done once, and always
778 * glocaldirectorymonitor.c:
779 Make sure we the monitor lives while the
780 mounts_changed callback is being called (#520484)
782 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
784 * gbufferedinputstream.c: Fix typo in parameter
787 2008-03-04 Alexander Larsson <alexl@redhat.com>
790 Remove deprecated symbols we kept for one release.
792 2008-03-04 Murray Cumming <murrayc@murrayc.com>
795 * goutputstream.c: Tiny documentation corrections.
797 2008-03-03 Alexander Larsson <alexl@redhat.com>
799 * gunionvolumemonitor.c:
801 Fix the adopt_orphan_mount vfunc to take a
802 volume_monitor reference in an ABI compat way.
803 This change is not API compat, but the added
804 arg is not used in the only user of this vfunc, so
805 all we get is a harmless warning in gvfs (#520169)
807 2008-03-01 Benjamin Otte <otte@gnome.org>
810 clarify docs for g_file_delete().
812 2008-02-29 Alexander Larsson <alexl@redhat.com>
816 Make sure empty files get text/plain type (#518720)
818 2008-02-27 Alexander Larsson <alexl@redhat.com>
824 (g_unix_volume_mount):
825 Add missing GMountMountFlags argument
827 2008-02-26 Alexander Larsson <alexl@redhat.com>
830 (g_local_file_delete):
831 Handle filesystems (like ntfs-3g) that return EEXIST instead
832 of ENOTEMPTY (#518816)
834 2008-02-25 Matthias Clasen <mclasen@redhat.com>
836 * === Released 2.15.6 ===
838 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
840 * gfile.c (g_file_find_enclosing_mount):
841 * ginputstream.c (g_input_stream_set_pending):
842 * glocalfile.c (g_local_file_find_enclosing_mount):
843 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
844 * goutputstream.c (g_output_stream_set_pending):
846 Fixup translator comments (#518578).
848 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
850 * gfile.c (g_file_find_enclosing_mount):
852 * glocalfile.c (g_local_file_find_enclosing_mount):
855 Fix a few typos in translator comments and documentation.
857 2008-02-25 Alexander Larsson <alexl@redhat.com>
864 Add translator comments (#518578)
866 2008-02-25 Alexander Larsson <alexl@redhat.com>
869 Reintroduce g_file_contains_file, keep around for one
870 unstable release cycle to avoid crashing to many apps.
871 Make sure to delete after release.
873 2008-02-25 Alexander Larsson <alexl@redhat.com>
876 Remove deprecated g_file_contains_file.
878 2008-02-25 Alexander Larsson <alexl@redhat.com>
881 Emit actual change signals in an idle handler.
882 This avoids reentrance and locking problems in
883 the file notification backends.
885 2008-02-25 Alexander Larsson <alexl@redhat.com>
888 (g_unix_mount_guess_should_display):
889 Remove type guessing, instead just display
890 mounts in /media and in ~/.
892 2008-02-25 Alexander Larsson <alexl@redhat.com>
895 Make new strings reuse old ones.
897 2008-02-25 Alexander Larsson <alexl@redhat.com>
900 Implement trashing and filesystem::readonly for win32 (#517235)
901 Patch from Yevgen Muntyan
903 2008-02-23 Matthias Clasen <mclasen@redhat.com>
905 * gfileinfo.h: Documentation fixes.
907 2008-02-22 Alexander Larsson <alexl@redhat.com>
909 * gcontenttype.c (g_content_type_get_icon):
910 Look at old-style gnome mime icon names too, as many
911 have not moved to the new style.
913 2008-02-21 Matthias Clasen <mclasen@redhat.com>
915 * *.c: Correct the @include in for section docs.
917 2008-02-21 David Zeuthen <davidz@redhat.com>
919 * glocalfileinfo.c: (_g_local_file_info_get):
921 (g_content_type_get_icon): Implement this function by
922 moving bits from glocalfileinfo.c
923 (g_content_type_get_description): Unalias before getting
924 description (#517687)
926 * gfile.c: (g_file_class_init),
927 (g_file_query_filesystem_info_async),
928 (g_file_query_filesystem_info_finish),
929 (query_filesystem_info_data_free),
930 (query_filesystem_info_async_thread),
931 (g_file_real_query_filesystem_info_async),
932 (g_file_real_query_filesystem_info_finish):
933 * gfile.h: Implement async version of
934 g_file_query_filesystem_info()
936 * gfileinfo.h: Add new attributes for filesystem::use-preview
938 * gio.symbols: Update
940 * gthemedicon.c: (g_themed_icon_append_name):
941 * gthemedicon.h: Add new new convenience function.
943 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
944 (get_mounts), (get_volumes), (get_connected_drives),
945 (get_volume_for_uuid), (get_mount_for_uuid),
946 (g_union_volume_monitor_init), (populate_union_monitor),
947 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
948 (g_volume_monitor_adopt_orphan_mount):
950 * gvolumemonitor.h: Use recursive locks so it's safe for volume
951 monitor implementations to call into the main volume monitor. Also
952 separate object initialization and volume monitor initialization
953 such that non-native volume monitors can properly adopt their
956 2008-02-21 Alexander Larsson <alexl@redhat.com>
961 2008-02-21 Alexander Larsson <alexl@redhat.com>
964 Add more documentation about how GFiles work (from #517086)
966 2008-02-21 Alexander Larsson <alexl@redhat.com>
970 Add new g_file_has_prefix that does the same as g_file_contains_file.
971 Deprecate g_file_contains_file and add a macro that converts
972 it to g_file_has_prefix.
973 The reason for this change is that the contains_file() name seems to
974 imply that this does more work than what it does, but its really only
975 a name match (from #517086)
980 Update to match the above change.
982 2008-02-20 Benjamin Otte <otte@gnome.org>
984 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
985 (g_file_eject_mountable):
986 even more cases of not returning in error path
988 2008-02-20 Benjamin Otte <otte@gnome.org>
990 * gfile.c: (g_file_mount_mountable):
991 return from function in error path.
993 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
996 Remove trailing coma in GMountMountFlags struct
998 2008-02-18 Alexander Larsson <alexl@redhat.com>
1002 * glocalfileoutputstream.c:
1003 Use g_unlink/g_rename instead of unlink/rename;
1004 do not pass raw filenames to g_set_error. (#517239)
1005 Patch from Yevgen Muntyan.
1007 2008-02-18 Alexander Larsson <alexl@redhat.com>
1010 * glocalfileoutputstream.c:
1011 Open files with O_BINARY on windows. (#517140)
1013 2008-02-14 Alexander Larsson <alexl@redhat.com>
1015 * glocalfileoutputstream.c:
1016 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1018 2008-02-14 Alexander Larsson <alexl@redhat.com>
1021 Copy permissions with file on copy (#514084)
1022 This is what cp does and makes sure e.g. the
1023 exec permissions are kept.
1024 Its kinda weird in that it keeps the permission bits
1025 the same while the uid and gid are different. However
1026 the new uid is the user so its not a security issue,
1027 and I've heard no complaints about cp on this issue.
1029 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1031 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1033 2008-02-13 Alexander Larsson <alexl@redhat.com>
1035 * inotify/inotify-path.c:
1036 Define IN_ONLYDIR if not in header (#515346)
1038 2008-02-12 Alexander Larsson <alexl@redhat.com>
1040 * tests/live-g-file.c:
1043 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1045 * === Released 2.15.5 ===
1047 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1049 * gio.symbols: Add g_mount_mount_flags_get_type.
1051 2008-02-11 Alexander Larsson <alexl@redhat.com>
1054 (g_file_info_set_attribute_mask):
1055 (g_file_attribute_matcher_matches_id):
1056 Correctly handle NULL GAttributeMatcher meaning
1057 matches nothing. (Fixes #513492)
1059 2008-02-11 Alexander Larsson <alexl@redhat.com>
1064 Added GMountMountFlags enum and added a flags
1065 argument to all mount calls.
1067 This is an API/ABI change for future extensibility,
1068 as I think we will need at least an
1069 inhibit-autorun flag (the panel needs this).
1070 There are no flags defined yet though.
1072 2008-02-11 Alexander Larsson <alexl@redhat.com>
1075 Added new standard::description attribute.
1076 Requested by Vincent, and useful for both
1079 2008-02-11 Alexander Larsson <alexl@redhat.com>
1081 * gdesktopappinfo.c:
1084 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1086 * *.c: Documentation additions
1088 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1090 * gappinfo.h: Formatting cleanup
1091 * gappinfo.c: Fix up docs.
1093 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1095 * gunixmounts.c: Consistently use getmntent_r() and fall
1096 back to getmntent(). (#515492)
1098 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1100 * gbufferedinputstream.c:
1102 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1104 * tests/data-input-stream.c:
1105 * tests/data-output-stream.c: Portability fixes.
1107 2008-02-08 Alexander Larsson <alexl@redhat.com>
1112 Add g_volume_should_automount.
1115 2008-02-07 Tor Lillqvist <tml@novell.com>
1117 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1118 Win32, too Unix-specific.
1120 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1122 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1123 a local plt if the compiler doesn't support what we want. Bug #514702
1125 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1127 reviewed by: <delete if not using a buddy>
1130 * gunixinputstream.c:
1131 * gunixoutputstream.c:
1133 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1135 * tests/Makefile.am:
1136 * tests/live-g-file.c:
1137 * tests/live-g-file.txt:
1138 New GIO testing module working over real data
1140 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1142 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1143 Fallback to rename() if link() is not available
1144 (when no support on target filesystem)
1146 2008-02-06 Michael Natterer <mitch@imendio.com>
1148 * gfileinfo.c (g_file_info_get_icon): replace
1149 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1151 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1153 * gfile.c (g_file_create):
1154 Documentation update of error codes
1156 2008-02-06 Alexander Larsson <alexl@redhat.com>
1158 * gdesktopappinfo.c:
1159 Update to use both mimeapps.list and
1160 defaults.list as discussed on xdg list.
1162 2008-02-06 Benjamin Otte <otte@gnome.org>
1165 * gfilenamecompleter.c:
1166 Fix some typos in the documentation.
1168 2008-02-06 Alexander Larsson <alexl@redhat.com>
1170 * glocalfile.c (g_local_file_trash):
1171 Don't succeed with trash if newly created
1172 trash dir has the wrong owner. (#514696)
1174 2008-02-05 Alexander Larsson <alexl@redhat.com>
1176 * glocalfile.c (g_local_file_move):
1177 Don't spew warnings when destination is not
1180 2008-02-03 Hans Breuer <hans@breuer.org>
1182 * makefile.msc : update
1184 2008-02-01 Michael Natterer <mitch@imendio.com>
1186 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1187 return value of xdg_mime_list_mime_parents() to a variable of the
1190 2008-02-01 Alexander Larsson <alexl@redhat.com>
1192 * gappinfo.c (g_app_info_launch_uris):
1193 Actually call the launch_uris method, not
1196 2008-02-01 Alexander Larsson <alexl@redhat.com>
1198 * gdesktopappinfo.c (g_desktop_app_info_equal):
1199 Ensure appinfos with no id but same pointer value
1202 2008-02-01 Alexander Larsson <alexl@redhat.com>
1204 * gappinfo.c (g_app_info_launch_default_for_uri):
1207 2008-02-01 Alexander Larsson <alexl@redhat.com>
1211 Add g_app_info_launch_default_for_uri utility
1214 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1216 * gdesktopappinfo.c:
1217 Doc fix for g_app_info_get_default_for_uri_scheme ()
1220 2008-01-30 Alexander Larsson <alexl@redhat.com>
1223 Add doc comment about uris vs GFiles to
1226 * gdesktopappinfo.c:
1227 Ensure uris passed to g_app_info_launch_uris()
1228 are not roundtriped through GFile (as that
1229 may be slightly destructive for e.g. mailto: links)
1231 2008-01-30 Alexander Larsson <alexl@redhat.com>
1233 * tests/data-input-stream.c:
1234 * tests/data-output-stream.c:
1235 C89 fixes from Jens Granseuer (#512849)
1237 2008-01-30 Alexander Larsson <alexl@redhat.com>
1240 Fix gamin/fam difference build issue. (#509419)
1242 2008-01-29 Alexander Larsson <alexl@redhat.com>
1245 * gdesktopappinfo.c:
1246 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1248 2008-01-29 Alexander Larsson <alexl@redhat.com>
1250 * gdesktopappinfo.c:
1251 * gdesktopappinfo.h:
1252 giomodule-priv.h include moved to .c file.
1254 2008-01-29 Alexander Larsson <alexl@redhat.com>
1256 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1257 Remove unused prio/name fields.
1259 2008-01-29 Alexander Larsson <alexl@redhat.com>
1261 * gcontenttype.c (looks_like_text):
1262 Don't treat whitespace as control chars.
1264 2008-01-29 Alexander Larsson <alexl@redhat.com>
1266 * gdesktopappinfo.c:
1267 Lazily create the desktop files for appinfos created
1268 by g_app_info_create_from_commandline() when needed
1269 for mime associations. This allows run-time use
1270 of GAppInfo object without creating unnecessary
1273 2008-01-29 Alexander Larsson <alexl@redhat.com>
1276 Added new symbols to gio.symbols
1278 2008-01-29 Alexander Larsson <alexl@redhat.com>
1281 Add g_file_query_default_handler utility to easily look up
1282 the GAppInfo that handles a file.
1284 * gdesktopappinfo.[ch]:
1286 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1289 Remove unused function
1291 2008-01-29 Alexander Larsson <alexl@redhat.com>
1293 * gfileenumerator.c:
1294 Mention need to free returned value in
1295 g_file_enumerator_next_files_finish docs.
1296 Fix leak if g_file_enumerator_next_files_finish()
1299 2008-01-29 Alexander Larsson <alexl@redhat.com>
1302 (_g_unix_content_type_get_parents):
1303 Use list_parents, not get_parents from xdgmime, because
1304 the later doesn't use the cache.
1306 * xdgmime/xdgmimecache.c:
1307 (_xdg_mime_cache_list_mime_parents):
1308 Don't list the same type as parent multiple times.
1310 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1312 * === Released 2.15.4 ===
1314 2008-01-28 Alexander Larsson <alexl@redhat.com>
1317 Register local vfs with prio 0.
1320 Remove old name and prio class members
1322 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1324 * tests/g-file.c: Disable some tests that are failing in
1325 the absence of a http backend.
1327 2008-01-28 Alexander Larsson <alexl@redhat.com>
1331 Add registration hooks for extension points.
1332 Register the gio extension points.
1334 * fam/gfamdirectorymonitor.c:
1335 * fam/gfamfilemonitor.c:
1336 * glocaldirectorymonitor.[ch]:
1337 * glocalfilemonitor.[ch]:
1338 * gnativevolumemonitor.h:
1339 * gunionvolumemonitor.c:
1340 * gunixvolumemonitor.c:
1343 * inotify/ginotifydirectorymonitor.c:
1344 * inotify/ginotifyfilemonitor.c:
1345 Use the extension points registration instead
1346 of g_type_children().
1348 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1351 * gvolume.[hc]: Document new API.
1353 * gfile.c (g_file_copy_async): Fix docs
1355 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1357 * gbufferedinputstream.c:
1359 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1362 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1364 * glocalfile.c: Avoid trivial differences in translatable strings.
1366 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1368 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1369 build with gcc 3.4 (#509419)
1371 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1373 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1374 (#509994, Murray Cumming)
1376 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1378 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1379 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1380 this allows big jobs to be executed in chunks, instead of blocking
1381 the main loop for a long time.
1383 * gsimpleasyncresult.c:
1384 * giofile.c: Adapt callers.
1386 2008-01-25 Alexander Larsson <alexl@redhat.com>
1388 * gdesktopappinfo.c:
1389 Implement changes discussed on xdg list.
1390 Now we can add supported mimetypes by just using defaults.list
1391 We can also remove associations in defaults.list.
1393 2008-01-25 Alexander Larsson <alexl@redhat.com>
1395 * gdesktopappinfo.c:
1396 Don't make local copy of desktop file
1397 for mimetype changes if the file already
1398 supports the new mimetype.
1400 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1404 * gbufferedinputstream.c:
1405 * glocalfile.c: String improvements. (#511966,
1406 Theppitak Karoonboonyanan)
1408 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1410 * gioscheduler.h: Expand docs a bit.
1412 2008-01-24 Alexander Larsson <alexl@redhat.com>
1415 Add g_drive_get_identifier and
1416 g_drive_enumerate_identifiers
1419 Add g_volume_get_identifier and
1420 g_volume_enumerate_identifiers
1426 Implement identifiers for unix backend
1428 2008-01-24 Alexander Larsson <alexl@redhat.com>
1433 Add g_file_copy_async() (#511580)
1434 Based on patch from Carlos Garcia Campos
1436 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1438 * gioscheduler.c: Some documentation additions.
1440 2008-01-22 Alexander Larsson <alexl@redhat.com>
1442 * gdesktopappinfo.c:
1443 (g_desktop_app_info_new):
1444 Don't leak basename.
1446 2008-01-22 Alexander Larsson <alexl@redhat.com>
1448 * gdesktopappinfo.c:
1449 (g_desktop_app_info_new_from_filename):
1452 2008-01-22 Alexander Larsson <alexl@redhat.com>
1454 * glocalfileinfo.c (get_thumbnail_attributes):
1457 2008-01-22 Alexander Larsson <alexl@redhat.com>
1460 (canonicalize_filename):
1461 Canonicalize paths that start with more than
1465 (compare_two_files):
1466 (test_g_file_new_for_path):
1469 2008-01-22 Alexander Larsson <alexl@redhat.com>
1472 Allow UTF-8 in file:// parse names.
1474 * tests/Makefile.am:
1475 * tests/data-input-stream.c:
1476 * tests/data-output-stream.c:
1477 * tests/g-file-info.c:
1479 Added a bunch of tests from Tomas Bzatek
1481 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1483 * === Released 2.15.3 ===
1485 2008-01-21 Alexander Larsson <alexl@redhat.com>
1487 * gfileinputstream.[ch]:
1488 * gfileoutputstream.[ch]:
1490 Remove duplicated GSeekable functions. (#509990)
1491 Just use the g_seekable_xxx() calls instead.
1493 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1496 * gvolumemanager.c: Whitespace cleanups.
1498 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1499 Use the right mode when creating the file.
1501 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1503 * gfileenumerator.c:
1504 * gfileinputstream.c:
1506 * goutputstream.c: Documentation: Fixed minor typos
1507 and added more mentions of specific _finish() functions.
1509 2008-01-21 Alexander Larsson <alexl@redhat.com>
1511 * inotify/Makefile.am:
1512 * inotify/inotify-helper.c:
1513 * inotify/inotify-kernel.c:
1514 * inotify/inotify-path.c:
1515 * inotify/local_inotify.h: Removed.
1516 * inotify/local_inotify_syscalls.h: Removed.
1517 Removed the included copies of the inotify
1518 headers. We now only use the <sys/inotify.h>
1519 header which exists on modern systems.
1520 This fixes problems on ARM and SH5 (#510448)
1521 but is also generally much cleaner and future
1522 safe. For instance, if other OSes add support
1523 for inotify it should "just work".
1525 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1527 * inotify/*.c: Coding style fixes.
1528 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1529 for the 1/4 Hz timer.
1531 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1534 * gfilemonitor.[hc]:
1535 * gmemoryinputstream.c:
1536 * gmemoryoutputstream.c:
1537 * gmountoperation.c:
1538 * gthemedicon.c: Documentation updates
1540 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1542 * gfile.c: documentation: Fixed more minor
1545 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1547 * gmount.c: (g_mount_remount): documentation:
1548 Mention g_mount_remount_finish() instead of
1549 g_mount_unmount_finish().
1551 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1555 * gfile.c: Fixed some minor typos in the
1558 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1560 * gio/gvolumemonitor.c:
1561 (g_volume_monitor_get_connected_drives):
1562 (g_volume_monitor_get_volumes):
1563 (g_volume_monitor_get_mounts): Documentation:
1564 Clarify the ownership of the regurn GLists.
1566 2008-01-17 Alexander Larsson <alexl@redhat.com>
1569 Add the async find_enclosing_mount version
1570 to the header file too.
1572 2008-01-17 Alexander Larsson <alexl@redhat.com>
1575 Add async version of find_enclosing_mount
1576 with default implementation.
1578 2008-01-17 Alexander Larsson <alexl@redhat.com>
1583 Allow calls to implementation of copy and write
1584 even if the type of the file implementations is
1585 different. This can be used to implement native
1586 upload and download calls in a vfs.
1589 (g_local_file_move):
1590 Protect against the case where move is called
1591 with one file not being local.
1593 Make sure we call the progress callback once
1594 in the native move operation so that the caller
1595 knows how many bytes were copied.
1597 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1600 * gdatainputstream.c:
1602 * gfileoutputstream.c:
1607 * gunixmounts.c: Corrected some typos in the documentation:
1608 occured -> occurred.
1609 its -> it's (where appropriate).
1611 2008-01-16 Alexander Larsson <alexl@redhat.com>
1615 Add g_file_query_exists (#508771)
1617 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1622 * gvolume.c: For async functions that have no non-async
1623 version, document that the GAsyncReadyCallback may be NULL.
1626 2008-01-15 Alexander Larsson <alexl@redhat.com>
1628 * gmemoryinputstream.c:
1629 * gmemoryoutputstream.c:
1630 Don't do pointer arithmetic on void * (#508602)
1631 Patch from Kazuki IWAMOTO
1633 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1635 * === Released 2.15.2 ===
1637 2008-01-14 Alexander Larsson <alexl@redhat.com>
1639 * gfile.c (g_file_monitor_file):
1640 Don't set error here, since we fallback to polling monitor.
1642 2008-01-14 Alexander Larsson <alexl@redhat.com>
1645 (g_file_monitor_directory):
1646 (g_file_monitor_file):
1647 Add GError to file monitor calls
1649 * glocaldirectorymonitor.c:
1650 * glocaldirectorymonitor.h:
1652 * glocalfilemonitor.c:
1653 * glocalfilemonitor.h:
1655 Update for above change
1657 2008-01-14 Alexander Larsson <alexl@redhat.com>
1661 Handle root correctly in g_file_get_relative_path (#508719)
1663 2008-01-14 Alexander Larsson <alexl@redhat.com>
1666 Clean up docs and example for GAsyncResult (#508074)
1668 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1670 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1671 and correct some spelling mistakes. Bug #508108.
1673 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1675 * glocalfileinfo.c: Add a comment.
1677 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1679 * gfileinfo.c: GFileInfo description: Mention
1680 how to actually set attributes in a GFile and how to discover
1681 which attributes are settable. Bug #508378.
1683 2008-01-10 A. Walton <awalton@svn.gnome.org>
1685 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1686 (g_app_info_get_default_for_type):
1687 Check for NULL content types.
1689 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1691 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1693 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1695 * gfile.c: *_async() functions: Several small corrections
1696 to the documentation, mostly correcting copy/paste errors
1697 and improving some sentences.
1699 2008-01-09 Dan Winship <danw@gnome.org>
1701 * glocalfile.c (get_unique_filename): x86_64 fix
1703 2008-01-09 Alexander Larsson <alexl@redhat.com>
1708 Add g_unix_mount_guess_should_display and use
1709 for unix volume monitor backend.
1710 This means we more or less show what the
1711 gnome-vfs backend did.
1712 Based on patch from Padraig O'Briain
1714 2008-01-09 Alexander Larsson <alexl@redhat.com>
1718 Add g_themed_icon_new_with_default_fallbacks
1721 Use default fallbacks for icons
1723 2008-01-09 Alexander Larsson <alexl@redhat.com>
1726 * gmountoperation.[ch]:
1727 Change the API a bit so that unhandled methods
1728 get reported via the reply, rather than by
1729 the signal emission return value. This is because
1730 some handlers can't know this immediately without
1731 doing I/O, and this is an async operation that
1734 2008-01-09 Alexander Larsson <alexl@redhat.com>
1737 * fam/gfamdirectorymonitor.c:
1738 * fam/gfamfilemonitor.c:
1739 Fix double free crash (#508224)
1740 Patch from Joe Marcus Clarke
1742 008-01-07 Matthias Clasen <mclasen@redhat.com>
1744 * === Released 2.15.1 ===
1746 2008-01-07 Alexander Larsson <alexl@redhat.com>
1748 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1749 Fix warning (#507835)
1751 2008-01-07 Alexander Larsson <alexl@redhat.com>
1754 Pass --internal to glib-genmarshal
1757 * gmountoperation.c:
1759 Use better types for signal arguments (#507822)
1761 2008-01-07 Alexander Larsson <alexl@redhat.com>
1764 Build test subdir after .
1765 Remove gdirectorymonitor.[ch]
1767 * gdirectorymonitor.[ch]:
1771 Remove GDirectoryMonitor and make
1772 GFileMonitor the baseclass for both file and
1773 directory monitors. Lift the more generic
1774 rate limiting code from GDirectoryMonitor
1778 * fam/gfamdirectorymonitor.[ch]:
1779 * inotify/ginotifydirectorymonitor.[ch]:
1780 * inotify/inotify-helper.c:
1781 * glocaldirectorymonitor.[ch]:
1784 Update for the removed GDirectoryMonitor.
1786 * gmemoryoutputstream.c:
1787 Remove ununsed variable
1789 2008-01-07 Alexander Larsson <alexl@redhat.com>
1791 * gmemoryinputstream.c:
1792 Translate error strings
1795 * gmemoryoutputstream.[ch]:
1796 New implementation that avoids using GByteArray
1797 in implementation and API. (#506377)
1799 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1801 * tests/*: Add a test for memory input streams.
1803 * Makefile.am: Add tests to SUBDIRS.
1805 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1807 * glocalfilemonitor.c:
1808 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1811 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1813 * gdesktopappinfo.c: Fix a docs typo.
1815 * gfileattribute.c: Add information about extended attributes
1816 to the documentation. (#505058)
1818 2008-01-04 Alexander Larsson <alexl@redhat.com>
1821 * gmountoperation.c:
1822 Use the right type (uint) for the ask_password signal.
1824 2008-01-04 Alexander Larsson <alexl@redhat.com>
1829 Add g_app_info_supports_files()
1830 Remove desktop arg from g_app_info_should_show().
1832 * gdesktopappinfo.[ch]:
1833 Implement g_app_info_supports_files() and new should_show()
1834 Add g_desktop_app_info_set_desktop_env() to set the desktop
1835 for should_show(). (This will be set by gtk+ later)
1837 2008-01-04 Alexander Larsson <alexl@redhat.com>
1840 * gmemoryinputstream.[ch]:
1841 Improve API so that you can use multiple chunks
1842 of memory and custom destroy functions. (#506374)
1844 2008-01-03 Alexander Larsson <alexl@redhat.com>
1847 Handle NULL attribute matchers safely, as we return this
1848 for empty attribute matcher strings.
1850 2008-01-03 Alexander Larsson <alexl@redhat.com>
1852 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1853 Add /usr/local to list of internal mountpoints
1855 2008-01-03 Alexander Larsson <alexl@redhat.com>
1858 Check for HAVE_LCHOWN (#505887)
1860 2008-01-03 Alexander Larsson <alexl@redhat.com>
1864 Add define for selinux context attribute.
1865 Fix missing : -> :: namespace separator change
1866 Fix missing _ -> - name change for xattr-sys.
1869 2008-01-03 Alexander Larsson <alexl@redhat.com>
1872 Link to libglib and libgobject directly (#504879)
1873 Patch from Sebastien Bacher
1875 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1877 * gfile.c: Expanded the g_file_new_for_commandline_arg
1878 description a bit, based on the code and the docs of the
1879 other g_file_new_for_* functions.
1881 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1883 * gfilemonitor.h: Fixed typo in docs.
1885 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1887 Updates to GIO documentation. (#506395, Mikael Hermansson)
1889 * gcontenttype.c: Describe memory management for return value of
1890 g_content_types_get_registered(). Missing piece from #505815.
1891 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1892 GVolume, GDrive, GMounts, which hopefully gives the user less
1893 confusions when using this API. Following explainations from
1894 Alexander Larsson on gtk-devel-list.
1896 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1898 * gfileinfo.c: Expand the long description.
1900 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1903 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1904 fix builds with --disable-visibility. (#500273, Christian Persch)
1906 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1908 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1909 in the list of returned app infos.
1911 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1913 * gappinfo.c: Fix a cross-reference
1915 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1917 * gfileinputstream.c:
1918 * gfileoutputstream.c:
1922 * gdesktopappinfo.c:
1924 * gfileinfo.c: Documentation updates.
1926 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1928 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1931 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1933 * gcontenttype.c (g_content_types_get_registered): Don't return
1934 freed memory (#505815, Mikael Hermansson)
1936 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1938 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1939 used to detect statbuf->st_blocks. (#505042)
1941 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1943 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1944 environment handling. (#504829, Cosimo Cecchi)
1946 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1948 * gappinfo.c: Doc improvements
1950 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1953 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1955 * === Released 2.15.0 ===
1957 2007-12-20 Hans Breuer <hans@breuer.org>
1959 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1960 with symbols gwin32appinfo.obj, added gmount.obj
1961 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1963 2007-12-20 Alexander Larsson <alexl@redhat.com>
1969 * gfilenamecompleter.c:
1972 * gpollfilemonitor.c:
1973 File attribute renames:
1975 fs:: -> filesystem::
1976 id::fs -> id::filesystem
1978 2007-12-20 Alexander Larsson <alexl@redhat.com>
1987 Add GMountUnmountFlags to all unmount and
1989 Add g_mount_remount() call.
1991 2007-12-20 Alexander Larsson <alexl@redhat.com>
1993 * gvfs.c (get_default_vfs):
1994 Fix unused variable warning
1996 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1998 * pltcheck.sh: Update
2000 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2002 * gunionvolumemonitor.c:
2003 * gunixmount.c: Remove C99 comments
2005 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2007 * gio.symbols: Add some missing symbols
2009 2007-12-19 Alexander Larsson <alexl@redhat.com>
2012 Make g_io_modules_load_all_in_directory not unuse
2013 loaded modules so that users of it can do stuff
2015 Init internal "module" types.
2016 Initialize static prio and name for types so that
2017 we don't have to load modules to get it.
2019 * gnativevolumemonitor.h:
2021 Move is_supported to parent class so that
2022 non-native monitors can avoid being initialized
2023 too. (For instance GDaemonVolumeMonitor if we're
2024 not using GDaemonVfs.)
2026 * glocaldirectorymonitor.[ch]:
2027 * glocalfilemonitor.[ch]:
2028 * gunionvolumemonitor.c:
2029 * gunixvolumemonitor.c:
2031 Find plugins using the static prio+name to
2032 avoid unnecessarily loading the modules.
2034 2007-12-19 Alexander Larsson <alexl@redhat.com>
2039 2007-12-19 Alexander Larsson <alexl@redhat.com>
2041 * gunionvolumemonitor.c:
2042 Store the native type as GType, not class so that
2043 we can unload it. But still avoid unnecessarily
2046 2007-12-19 David Zeuthen <davidz@redhat.com>
2048 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2049 add signals 'disconnected' and 'eject-button' on GDrive. Add
2050 signal 'removed' on GVolume and 'unmounted' on GMount.
2052 * gdrive.c: (g_drive_base_init):
2054 * gfile.c: (g_file_mount_mountable),
2055 (g_file_mount_enclosing_volume):
2058 * gmount.c: (g_mount_base_init):
2060 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2061 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2062 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2066 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2068 * *.c: Fix up includes in the section docs.
2070 2007-12-17 Alexander Larsson <alexl@redhat.com>
2072 * gnativevolumemonitor.h:
2073 * gunionvolumemonitor.c:
2074 * gunixvolumemonitor.c:
2075 Add is_supported() to GNativeVolumeMonitorClass so
2076 that we can avoid having to create an object to see
2077 if the backend is supported at runtime.
2078 Also add name member and an env var to pick a specific
2079 volume monitor backend.
2083 Add cancellable to _g_mount_get_for_mount_path()
2085 * glocaldirectorymonitor.c:
2086 * glocalfilemonitor.c:
2087 Avoid loading and unloading modules while sorting.
2089 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2092 * gunixmounts.[hc]: Namespace waste reduction, move some
2093 g_get_unix_mount functions to the g_unix_mount namespace.
2096 * gunixvolumemonitor.c:
2098 * glocaldirectorymonitor.c: Update all callers.
2100 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2102 2007-12-17 Alexander Larsson <alexl@redhat.com>
2105 Add doc comments about what GFile operations are
2106 guaranteed to not block.
2108 2007-12-17 Alexander Larsson <alexl@redhat.com>
2111 Add missing #ifdef fixing OSX build.
2112 (#503334, patch from Richard Hult)
2114 2007-12-14 David Zeuthen <davidz@redhat.com>
2118 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2119 (g_mount_eject), (g_mount_eject_finish):
2121 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2122 (get_volume_for_uuid), (get_mount_for_uuid),
2123 (g_union_volume_monitor_class_init),
2124 (get_default_native_type_with_exclude), (get_default_native_type),
2125 (get_native_type), (update_native_type),
2126 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2127 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2128 (g_unix_mount_can_eject), (eject_unmount_cb),
2129 (eject_unmount_read_error), (eject_unmount_do),
2130 (g_unix_mount_unmount), (g_unix_mount_eject),
2131 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2132 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2133 (g_unix_mount_point_guess_can_eject):
2135 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2136 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2137 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2138 (g_unix_volume_mount), (g_unix_volume_eject),
2139 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2140 * gunixvolumemonitor.c: (get_volume_for_uuid),
2141 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2143 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2144 (g_volume_eject), (g_volume_eject_finish):
2146 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2147 (g_volume_monitor_get_mount_for_uuid):
2150 Provide eject() on both GMount and GVolume and utility functions
2151 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2152 ejected. Introduce the concept of UUID's and wire it into GVolume
2153 and GMount and provide API on GVolumeMonitor to find such
2154 instances. Also handle the case where an external
2155 GNativeVolumeMonitor fails to initialize. Lock around the
2156 _g_get_mount_for_mount_path() function such that volume monitor
2157 implementations won't have to do locking themselves.
2159 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2161 * gdesktopappinfo.c:
2167 * gvolume.h: Documentation updates
2169 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2172 * gfile.h: Doc updates
2174 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2177 * gdesktopappinfo.c: Use hash table iterators.
2179 2007-12-14 Alexander Larsson <alexl@redhat.com>
2182 * gfileattribute.[ch]:
2183 * gfileattribute-priv.h:
2184 Move GFileAttributeValue to a private header, as
2188 Make set_attribute take a type + a pointer instead
2189 of a GFileAttributeValue.
2192 Fix up for above changes.
2193 Add g_file_info_get_attribute_data to get
2194 all info in one call, g_file_info_get_attribute_status
2195 to get the status and g_file_info_get_attribute_as_string.
2199 * glocalfileinfo.[ch]:
2203 Make _guess_type static.
2205 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2208 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2209 made mkenums and friends use temporary files to avoid leaving
2210 empty generated files on failure (#503470).
2212 2007-12-14 Alexander Larsson <alexl@redhat.com>
2214 * gmountoperation.h:
2217 2007-12-14 Alexander Larsson <alexl@redhat.com>
2221 * gfileattribute.[ch]:
2224 * glocalfileoutputstream.c:
2225 * gmountoperation.[ch]:
2226 * goutputstream.[ch]:
2227 Clean up all flags enums to not have _FLAGS in them
2228 Make the names of some of the enums better.
2233 2007-12-14 Michael Natterer <mitch@imendio.com>
2235 * gio.symbols: fix g_io_scheduler symbol names.
2237 2007-12-14 Alexander Larsson <alexl@redhat.com>
2243 * gbufferedinputstream.h:
2244 * gbufferedoutputstream.h:
2247 * gdatainputstream.h:
2248 * gdataoutputstream.h:
2249 * gdesktopappinfo.h:
2250 * gdirectorymonitor.h:
2254 * gfileenumerator.h:
2257 * gfileinputstream.h:
2259 * gfilenamecompleter.h:
2260 * gfileoutputstream.h:
2261 * gfilterinputstream.h:
2262 * gfilteroutputstream.h:
2270 * gmemoryinputstream.h:
2271 * gmemoryoutputstream.h:
2273 * gmountoperation.h:
2276 * gsimpleasyncresult.h:
2278 * gunixinputstream.h:
2280 * gunixoutputstream.h:
2284 * inotify/Makefile.am:
2285 Only allow including <gio/gio.h> from apps
2287 2007-12-14 Alexander Larsson <alexl@redhat.com>
2289 * gioscheduler.[ch]:
2290 * gsimpleasyncresult.c:
2291 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2292 Split out the send_to_mainloop call into two versions instead
2293 of having the block argument.
2295 2007-12-13 Alexander Larsson <alexl@redhat.com>
2297 * gcancellable.[ch]:
2299 * gbufferedinputstream.c:
2300 * gfileenumerator.c:
2301 * gfileinputstream.c:
2302 * gfileoutputstream.c:
2306 g_push/pop_current_cancellable ->
2307 g_cancellable_push/pop_current
2309 2007-12-13 Alexander Larsson <alexl@redhat.com>
2313 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2315 2007-12-13 Alexander Larsson <alexl@redhat.com>
2317 * gmountoperation.h:
2318 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2320 2007-12-12 Alexander Larsson <alexl@redhat.com>
2323 Fix race condition when freeing proxy in
2324 g_io_job_send_to_mainloop().
2326 2007-12-12 Alexander Larsson <alexl@redhat.com>
2332 Make attribute namespace separator "::" instead of ":".
2333 Use - instead of _ as separator in attribute names.
2335 2007-12-12 Alexander Larsson <alexl@redhat.com>
2337 * gbufferedinputstream.h:
2338 * gbufferedoutputstream.h:
2339 * gdatainputstream.h:
2340 * gdataoutputstream.h:
2341 * gdirectorymonitor.h:
2342 * gfileenumerator.h:
2343 * gfileinputstream.h:
2345 * gfileoutputstream.h:
2346 * gfilterinputstream.h:
2347 * gfilteroutputstream.h:
2349 * glocalfileinputstream.h:
2350 * glocalfileoutputstream.h:
2351 * gmemoryinputstream.h:
2352 * gmemoryoutputstream.h:
2353 * gnativevolumemonitor.h:
2355 * gunixinputstream.h:
2356 * gunixoutputstream.h:
2359 s/parent/parent_instance/ in GObjects
2361 2007-12-12 Alexander Larsson <alexl@redhat.com>
2366 No need for padding for interfaces
2368 2007-12-12 Alexander Larsson <alexl@redhat.com>
2372 * gbufferedinputstream.c:
2373 * gbufferedoutputstream.c:
2376 * gdatainputstream.[ch]:
2377 * gdesktopappinfo.c:
2378 * gdirectorymonitor.c:
2380 * gfileattribute.[ch]:
2383 * gfileinputstream.h:
2384 * gfilemonitor.[ch]:
2385 * gfileoutputstream.[ch]:
2386 * gfilterinputstream.h:
2387 * gfilteroutputstream.h:
2390 * gloadableicon.[ch]:
2391 * gmemoryinputstream.c:
2392 * gmountoperation.c:
2394 Fix up a bunch of details in the docs.
2399 2007-12-11 David Zeuthen <davidz@redhat.com>
2401 Rework how volumes, drives and volume monitoring is
2402 done. Previosly the model was
2404 GDrive <1-1> GVolume
2406 where a GDrive instance represented a mount point and a GVolume
2407 instance represented a mounted file system. This patch changes it
2410 GDrive <1-N> GVolume <1-1> GMount
2412 where GMount now serves the purpose of the old GVolume and the new
2413 GVolume serves the purpose of the old GDrive. In addition the new
2414 GDrive interface is used to represent a collection of GVolume
2415 instances (typically partitions) and also contains utility to query
2416 the state of the physical drive the GDrive object represents (such
2417 as checking for media, polling the drive, ejecting the media etc.).
2419 Also implement mounting and unmounting in the Unix volume monitor
2420 backend. A subquent patch will introduce GDrive support for ejection
2424 * gdrive.c: (g_drive_is_media_check_automatic),
2425 (g_drive_is_media_removable), (g_drive_has_media),
2426 (g_drive_can_poll_for_media), (g_drive_eject),
2427 (g_drive_eject_finish), (g_drive_poll_for_media),
2428 (g_drive_poll_for_media_finish):
2430 * gfile.c: (g_file_find_enclosing_mount):
2433 * glocaldirectorymonitor.c:
2434 (g_local_directory_monitor_constructor), (mounts_changed):
2435 * glocalfile.c: (get_mount_info),
2436 (g_local_file_find_enclosing_mount),
2437 (g_local_file_file_iface_init):
2438 * gnativevolumemonitor.h:
2439 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2440 (get_connected_drives), (g_union_volume_monitor_class_init),
2441 (child_volume_added), (child_volume_removed),
2442 (child_volume_changed), (child_mount_added), (child_mount_removed),
2443 (child_mount_pre_unmount), (child_mount_changed),
2444 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2445 (g_union_volume_monitor_remove_monitor),
2446 (_g_mount_get_for_mount_path):
2447 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2448 (guess_system_internal), (_g_get_unix_mounts),
2449 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2450 (g_unix_mount_free), (g_unix_mount_compare),
2451 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2452 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2453 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2454 (type_to_icon), (g_unix_mount_guess_name),
2455 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2456 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2457 (_resolve_symlink), (_resolve_dev_root):
2459 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2460 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2461 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2462 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2463 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2464 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2465 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2466 (g_unix_volume_volume_iface_init):
2468 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2469 (get_mounts), (get_volumes), (get_connected_drives),
2470 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2471 (mountpoints_changed), (mounts_changed),
2472 (g_unix_volume_monitor_init),
2473 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2474 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2475 * gunixvolumemonitor.h:
2476 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2477 (g_volume_mount), (g_volume_mount_finish):
2479 * gvolumemonitor.c: (g_volume_monitor_class_init),
2480 (g_volume_monitor_get_connected_drives),
2481 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2484 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2486 * gmountoperation.h (GPasswordFlags): Close the gap
2488 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2490 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2492 * gdesktopappinfo.[hc]: Remove _-prefixes
2494 2007-12-10 Tor Lillqvist <tml@novell.com>
2496 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2499 2007-12-10 Alexander Larsson <alexl@redhat.com>
2501 * gfile.c (g_file_set_display_name):
2502 Don't hardcode '/' (#502727)
2504 2007-12-09 Hans Breuer <hans@breuer.org>
2506 * makefile.msc : follow lib naming convention
2507 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2508 for user and group name, tested with ../tests/gio-ls
2510 2007-12-09 A. Walton <awalton@svn.gnome.org>
2512 * gdesktopappinfo.c:
2518 * gfileenumerator.c:
2523 * gmemoryinputstream.c:
2524 * gmemoryoutputstream.c:
2526 * gsimpleasyncresult.c:
2527 More documentation cleanup and filling in missing information, bringing
2528 GIO to 99% symbol coverage.
2530 2007-12-08 Hans Breuer <hans@breuer.org>
2532 [gio compiles and links on win32, not sure how much already works]
2533 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2534 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2535 base on win32 API; prefer g_lstat() over lstat(); instead of
2536 localtime_r() use an all GLib implementation on win32;
2537 get_mount_info() still needs a win32 specifc implementation
2538 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2539 win32_get_file_user_info to get owner/group info without uid/gid
2540 * glocalfileinputstream.c : include <io.h> on win32
2541 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2542 definition, use g_win32_ftruncate() for G_OS_WIN32
2543 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2544 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2545 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2546 * makefile.msc : updated
2548 2007-12-07 Alexander Larsson <alexl@redhat.com>
2550 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2551 Avoid warning spew if error == NULL
2553 2007-12-07 Alexander Larsson <alexl@redhat.com>
2556 Update docs wrt etags
2558 2007-12-06 Alexander Larsson <alexl@redhat.com>
2561 Include sys/types.h for dev_t (#501919)
2563 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2567 Make abicheck and pltcheck pass.
2569 2007-12-05 Alexander Larsson <alexl@redhat.com>
2572 * giomodule-priv.h: Added.
2573 * glocaldirectorymonitor.c:
2574 * glocalfilemonitor.c:
2575 * gunionvolumemonitor.c:
2577 Actually add the declaration of _g_io_modules_ensure_loaded
2579 2007-12-05 Alexander Larsson <alexl@redhat.com>
2581 * gdatainputstream.c:
2586 * glocaldirectorymonitor.c:
2587 * glocalfilemonitor.c:
2588 * gunionvolumemonitor.c:
2590 Make g_io_modules_ensure_loaded a private function and
2591 don't pass in the dirname. This means we can do magic
2592 directory finding in the win32 version.
2593 Export the actual load-modules-in-directory code so that
2594 gvfs can reuse that.
2596 2007-12-05 Alexander Larsson <alexl@redhat.com>
2598 * gbufferedinputstream.c:
2599 * gbufferedoutputstream.c:
2602 * gfileenumerator.[ch]:
2603 * gfileinputstream.c:
2604 * gfileoutputstream.[ch]:
2605 * gfilterinputstream.c:
2606 * gfilteroutputstream.c:
2607 * ginputstream.[ch]:
2609 * glocalfileenumerator.c:
2610 * glocalfileinputstream.c:
2611 * glocalfileoutputstream.c:
2612 * gmemoryinputstream.c:
2613 * gmemoryoutputstream.c:
2614 * goutputstream.[ch]:
2617 * gunixinputstream.c:
2618 * gunixoutputstream.c:
2619 Rename all struct members named:
2620 read, write, close, truncate, or mount
2621 to foo_fn, as these are reserved names
2622 and could be defined as macros in libc.
2625 2007-12-04 Alexander Larsson <alexl@redhat.com>
2628 (g_output_stream_close):
2629 Only call flush if non-null.
2631 2007-11-30 Dan Winship <danw@gnome.org>
2633 * ginputstream.c (g_input_stream_set_pending): Make this take a
2634 GError and return a gboolean, and do the "outstanding operation"
2635 check (and the "stream is already closed" check) itself.
2636 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2638 * goutputstream.c (g_output_stream_set_pending)
2639 (g_output_stream_clear_pending): Likewise
2641 * gbufferedinputstream.c:
2642 * gfileinputstream.c:
2643 * gfileoutputstream.c: Update for that
2645 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2646 Like g_simple_async_report_error_in_idle, but takes a GError
2647 rather than building one.
2649 2007-11-30 Dan Winship <danw@gnome.org>
2651 * goutputstream.c: Don't cheat and unset the "pending" flag around
2652 inner calls. Instead, call the class method directly rather than
2653 the wrapper function that checks "pending"
2655 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2657 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2659 2007-12-03 Hans Breuer <hans@breuer.org>
2661 [start of port to win32/msvc]
2662 * gcancellable.c : HAVE_UNIST_H and _pipe()
2663 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2664 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2665 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2667 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2668 * glocalvfs.c : use HAVE_PWD_H
2669 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2670 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2671 * Makefile.am : added to EXTRA_DIST
2673 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2675 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2678 2007-12-03 Alexander Larsson <alexl@redhat.com>
2681 Handle OSX style xattrs API (#500506)
2683 2007-12-03 Alexander Larsson <alexl@redhat.com>
2687 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2689 2007-12-02 A. Walton <awalton@svn.gnome.org>
2693 Documentation accuracy fixes.
2695 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2697 * gioenumtypes.c.template: Fix typo.
2699 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2701 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2703 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2705 * gdirectorymonitor.c:
2706 * gfilemonitor.c: Add properties
2708 * gbufferedoutputstream.c: Don't mark buffer-size property
2711 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2713 * gbufferedoutputstream.c: Add auto-grow property.
2715 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2717 * *.c: Unify the capitalization of section headings.
2719 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2721 * gmountoperation.c: Add properties
2723 * gdatainputstream.c: Turn byte-order and newline-type into
2726 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2728 * gioenumtypes.[hc].template: Templates for enum registration
2730 * Makefile.am: Generate gioenumtypes.[hc]
2732 * gio.h: Include gioenumtypes.h
2734 * gfile.h: Add some explicit nicks.
2736 * gio.symbols: Add new symbols
2738 * pltcheck.sh: Adjust
2740 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2742 * *.c: Explain etags and link to the explanation
2744 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2746 * *.c: Explain I/O priority.
2748 * *.c: More coding style fixes.
2750 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2752 * gasyncresult.c: Add another paragraph to the intro,
2753 adjust coding style of example.
2755 2007-11-29 A. Walton <awalton@svn.gnome.org>
2758 Fixes unknown meaning in GAppLaunchContext docs.
2760 Clarify asynchronous ops.
2762 Fix entity tag docs.
2765 Provides missing gtk-doc section, fixes API docs slighly.
2766 * gsimpleasyncresult.c:
2767 Fill in missing info in docs.
2768 * gunixinputstream.c:
2769 * gunixoutputstream.c:
2770 Be more expressive in short description.
2772 Remove gtk-doc stubs for non-public API.
2774 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2776 * *.c: Coding style fixups
2778 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2780 * inotify/inotify-helper.c: Don't export the lock from libgio.
2782 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2785 * abicheck.sh: Fix copy-and-paste leftovers
2787 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2789 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2791 2007-11-28 Alexander Larsson <alexl@redhat.com>
2795 Removed unnecessary file
2797 * gdesktopappinfo.[ch]:
2800 * glocaldirectorymonitor.[ch]:
2802 * glocalfileenumerator.[ch]:
2803 * glocalfileinputstream.[ch]:
2804 * glocalfilemonitor.[ch]:
2805 * glocalfileoutputstream.[ch]:
2807 * gnativevolumemonitor.c:
2808 * gpollfilemonitor.[ch]:
2809 * gunionvolumemonitor.[ch]:
2812 * gunixvolumemonitor.[ch]:
2815 * inotify/ginotifydirectorymonitor.[ch]:
2816 * inotify/ginotifyfilemonitor.[ch]:
2817 * inotify/inotify-helper.c:
2818 Append _ to all internal functions
2822 Export symbols needed for modules
2824 2007-11-28 Alexander Larsson <alexl@redhat.com>
2827 * abicheck.sh: Added.
2828 * makegioalias.pl: Added.
2829 * pltcheck.sh: Added.
2830 * gio.symbols: Added.
2833 Initial work on adding symbol handling.
2836 Correct ifdef guard name
2839 * inotify/Makefile.am:
2840 * xdgmime/Makefile.am:
2841 Include toplevel Makefile.decl
2843 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2845 * gcontenttype.c: Move doc comments to the unix section.
2847 * *.[hc]: More trivial doc corrections.
2849 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2851 * gpollfilemonitor.c:
2855 * gdesktopappinfo.c:
2860 * gdatainputstream.c:
2861 * gdatainputstream.h:
2862 * gdataoutputstream.c:
2863 * gdataoutputstream.h:
2864 * gfileinfo.h: Doc cleanups
2866 2007-11-28 Andre Klapper <a9016009@gmx.de>
2868 * gdesktopappinfo.c: Fix a typo.
2870 2007-11-27 Andre Klapper <a9016009@gmx.de>
2872 * glocalfileoutputstream.c: Fix a typo.
2874 2007-11-27 Alexander Larsson <alexl@redhat.com>
2877 Don't include removed headers
2879 2007-11-27 Alexander Larsson <alexl@redhat.com>
2882 * gsocketinputstream.[ch]: Removed.
2883 * gsocketoutputstream.[ch]: Removed.
2884 * gunixinputstream.[ch]: Added.
2885 * gunixoutputstream.[ch]: Added.
2886 Renamed GSocket*Stream to GUnix*Stream and made
2887 it unix-only, since its not really only for sockets
2888 and it only works on unix (but is highly useful there).
2890 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2896 * gbufferedinputstream.c:
2897 * gbufferedinputstream.h:
2898 * gbufferedoutputstream.c:
2899 * gbufferedoutputstream.h:
2903 * gdatainputstream.c:
2904 * gdatainputstream.h:
2905 * gdataoutputstream.c:
2906 * gdataoutputstream.h:
2907 * gdirectorymonitor.c:
2908 * gdirectorymonitor.h:
2915 * gfileenumerator.c:
2916 * gfileenumerator.h:
2921 * gfileinputstream.c:
2922 * gfileinputstream.h:
2925 * gfilenamecompleter.c:
2926 * gfilenamecompleter.h:
2927 * gfileoutputstream.c:
2928 * gfileoutputstream.h:
2929 * gfilterinputstream.c:
2930 * gfilterinputstream.h:
2931 * gfilteroutputstream.c:
2932 * gfilteroutputstream.h:
2945 * glocalfileoutputstream.c:
2946 * gmemoryinputstream.c:
2947 * gmemoryinputstream.h:
2948 * gmemoryoutputstream.c:
2949 * gmemoryoutputstream.h:
2950 * gmountoperation.c:
2951 * gmountoperation.h:
2954 * gpollfilemonitor.c:
2957 * gsimpleasyncresult.c:
2958 * gsimpleasyncresult.h:
2959 * gsocketinputstream.c:
2960 * gsocketinputstream.h:
2961 * gsocketoutputstream.c:
2962 * gsocketoutputstream.h:
2969 * gunixvolumemonitor.c:
2978 Bumps documentation to 93% symbol coverage, touching most
2979 of the public files. Fixes broken function documentation prototypes.
2980 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2981 gtk-doc headers in private files.
2983 2007-11-27 Jürg Billeter <j@bitron.ch>
2985 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2986 (g_buffered_input_stream_read_byte):
2987 * gbufferedinputstream.h:
2988 New functions for efficient access to buffer and simple single byte
2991 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2992 (g_data_input_stream_read_until):
2993 * gdatainputstream.h:
2994 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2995 read_until with multiple stop chars.
2997 2007-11-27 Alexander Larsson <alexl@redhat.com>
3001 * inotify/Makefile.am:
3002 Use the user-specified giomoduledir
3004 2007-11-27 Alexander Larsson <alexl@redhat.com>
3008 Add catch-all gio.h header
3009 Don't install gdummyfile.h
3011 2007-11-26 Alexander Larsson <alexl@redhat.com>
3013 * Makefile.am (gioinclude_HEADERS):
3014 Remove trailing whitespace
3016 2007-11-26 Alexander Larsson <alexl@redhat.com>
3018 Merge gio-standalone into glib
3020 2007-11-25 Christian Kellner <gicmo@gnome.org>
3022 * gio/goutputstream.c:
3023 Fix small mistake in the docs.
3025 2007-11-21 Christian Persch <chpe@gnome.org>
3027 * gio/glocalfile.c: (g_local_file_trash):
3028 Convert filenames to UTF-8 for GError.
3029 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3030 as per xdg base dir spec.
3032 2007-11-21 Christian Persch <chpe@gnome.org>
3034 * gio/gdesktopappinfo.c:
3035 Use that g_key_file_to_data cannot fail.
3037 Use stock defines for the key file group and key names.
3040 2007-11-21 Alexander Larsson <alexl@redhat.com>
3043 (copy_stream_with_progress):
3044 Make sure we do a final progress callback with
3045 the full total size.
3047 2007-11-21 Alexander Larsson <alexl@redhat.com>
3050 Export g_file_copy_attributes
3051 Remove padding as its not needed for interfaces
3053 2007-11-20 Alexander Larsson <alexl@redhat.com>
3058 Add G_IO_ERROR_WOULD_MERGE for
3059 copy/move dir on dir with overwrite.
3061 2007-11-20 Alexander Larsson <alexl@redhat.com>
3064 * gio/glocalfileinfo.c:
3065 Add COPY_NAME (this is an optional
3066 non-modified utf8 version of the name) that
3069 2007-11-20 Alexander Larsson <alexl@redhat.com>
3071 * gio/glocalfileenumerator.c:
3072 Report errors as GIOError, not GFileError
3074 2007-11-16 Alexander Larsson <alexl@redhat.com>
3076 * gio/glocalfileoutputstream.c:
3077 * gio/gwin32appinfo.c:
3078 Fix typos in strings.
3079 Patch from Luca Ferretti <elle.uca@libero.it>
3081 2007-11-15 Alexander Larsson <alexl@redhat.com>
3084 Post release version bump
3086 === gio-standalone 0.1.2 ===
3088 2007-11-15 Alexander Larsson <alexl@redhat.com>
3090 * docs/reference/gio/Makefile.am:
3091 Fix up distcheck by removing weird
3097 2007-11-14 Alexander Larsson <alexl@redhat.com>
3099 * gio/gdesktopappinfo.c:
3100 * gio/glocaldirectorymonitor.c:
3102 * gio/glocalfileinfo.c:
3103 * gio/inotify/inotify-sub.c:
3104 * programs/gio-cat.c:
3105 * programs/gio-copy.c:
3106 * programs/gio-info.c:
3107 * programs/gio-ls.c:
3108 * programs/gio-monitor-dir.c:
3109 * programs/gio-monitor-file.c:
3110 * programs/gio-mount.c:
3111 * programs/gio-move.c:
3112 * programs/gio-rm.c:
3113 * programs/gio-save.c:
3114 * programs/gio-trash.c:
3115 Leak fixes from Kjartan Maraas
3117 2007-11-14 Alexander Larsson <alexl@redhat.com>
3119 * gio/fam/fam-helper.c:
3121 * gio/glocalfileinfo.c:
3125 * gio/inotify/inotify-diag.c:
3126 * gio/inotify/inotify-kernel.c:
3127 Various code cleanups from Kjartan Maraas
3129 2007-11-14 Alexander Larsson <alexl@redhat.com>
3131 * gio/gioscheduler.c:
3133 Set up threadpool so that we cache 2 unused
3134 idle threads for at 15 secs. This means we
3135 will reuse thread-local data (like dbus connections)
3138 2007-11-14 Alexander Larsson <alexl@redhat.com>
3140 * gio/fam/fam-helper.c:
3141 * gio/fam/gfamdirectorymonitor.c:
3142 * gio/fam/gfamfilemonitor.c:
3144 * gio/gcontenttype.c:
3145 * gio/gdatainputstream.c:
3146 * gio/gdataoutputstream.c:
3150 * gio/gfileattribute.h:
3151 * gio/gfileenumerator.c:
3153 * gio/ginputstream.c:
3156 * gio/glocalfileinfo.c:
3157 * gio/goutputstream.c:
3158 * gio/gpollfilemonitor.c:
3159 * gio/gsimpleasyncresult.c:
3160 * gio/gunixmounts.c:
3161 * gio/gunixmounts.h:
3162 * gio/inotify/ginotifydirectorymonitor.c:
3163 * gio/inotify/ginotifyfilemonitor.c:
3164 * gio/inotify/inotify-diag.c:
3165 * gio/inotify/inotify-kernel.c:
3166 * gio/inotify/inotify-path.c:
3168 * gio/test-streams.c:
3169 * programs/gio-info.c:
3170 * programs/gio-monitor-dir.c:
3171 * programs/gio-monitor-file.c:
3172 Various code cleanups from Kjartan Maraas
3174 2007-11-13 Alexander Larsson <alexl@redhat.com>
3177 Handle the uri-scheme calls for dummy files
3179 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3181 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3182 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3183 to avoid clash with the C++ keyword.
3185 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3187 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3188 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3190 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3192 * gio/glocaldirectorymonitor.c:
3193 * gio/glocalfilemonitor.c:
3194 * gio/gunionvolumemonitor.c:
3195 Don't use g_once_init_*() for initializations that could fail and
3196 could leave the initialization variable set to 0 but use GOnce.
3197 This prevents a deadlock on the second call when trying to create
3198 a monitor and no monitor type is available. Thanks to Sven Herzberg
3201 2007-11-11 Sven Herzberg <sven@imendio.com>
3203 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3204 #ifdef (make it work on MacOS X again)
3206 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3208 Fixes Changelog for last two commits (sorry guys).
3210 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3212 * gio/gbufferedinputstream.c:
3213 * gio/gdatainputstream.c:
3215 * gio/gfileoutputstream.c:
3216 * gio/gfilterinputstream.c:
3217 * gio/glocalfileinputstream.c:
3220 More consistency fixes in g*stream.c files.
3221 Significant clean of gfile's documentation, filling in of
3222 asynchronous operations documentation.
3224 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3226 * gio/gasyncresult.c:
3227 * gio/gbufferedinputstream.c:
3228 * gio/gbufferedoutputstream.c:
3229 * gio/gcancellable.c:
3230 * gio/gcontenttype.c:
3231 * gio/gdatainputstream.c:
3232 * gio/gdataoutputstream.c:
3233 * gio/gdesktopappinfo.c:
3236 * gio/gfileattribute.c:
3237 * gio/gio/gfileenumerator.c:
3239 * gio/gfileinputstream.c:
3240 * gio/gfilemonitor.c:
3241 * gio/gfileoutputstream.c:
3242 * gio/ginputstream.c:
3244 * gio/gioscheduler.c:
3245 * gio/gloadableicon.c:
3246 * gio/glocalfileoutputstream.c:
3247 * gio/gmemoryoutputstream.c:
3248 * gio/gmountoperation.c:
3249 * gio/goutputstream.c:
3251 * gio/gsimpleasyncresult.c:
3252 * gio/gunionvolumemonitor.c:
3253 * gio/gunixmounts.c:
3254 * gio/gunixvolume.c:
3258 * gio/gvolumemonitor.c:
3259 Updated documentation stubs, working towards consistency and
3262 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3264 * gio/gmemoryoutputstream.c:
3265 * gio/gmemoryoutputstream.h:
3266 Change g_memory_output_stream_set_free_on_close() to
3267 g_memory_output_stream_set_free_data() as this makes more sense and
3268 is more consistent with GMemoryInputStream.
3270 2007-11-07 Alexander Larsson <alexl@redhat.com>
3277 Change how we find the default vfs so that
3278 we can handle a gvfs failing to init
3280 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3282 * gio/gbufferedoutputstream.c:
3283 * gio/gdatainputstream.c:
3284 * gio/gdataoutputstream.c:
3285 * gio/gfileinputstream.c:
3286 * gio/gfileoutputstream.c:
3287 * gio/gfilterinputstream.c:
3288 * gio/gfilteroutputstream.c:
3289 * gio/ginputstream.c:
3290 * gio/gmemoryinputstream.c:
3291 * gio/gmemoryoutputstream.c:
3292 * gio/goutputstream.c:
3293 * gio/gsimpleasyncresult.c:
3294 * gio/gsocketinputstream.c:
3295 * gio/gsocketoutputstream.c:
3296 Add guards to the remaining public functions, add a TODO for
3297 an unimplemented function and remove some useless guards.
3299 2007-11-07 Alexander Larsson <alexl@redhat.com>
3302 Autoconf checks for the various types of
3303 getpwuid_r and getgrgid_r
3305 * gio/glocalfileinfo.c:
3306 Use the autoconf checks from above
3308 2007-11-07 Alexander Larsson <alexl@redhat.com>
3311 (g_local_file_query_filesystem_info):
3312 Some fixes for the statvfs case
3314 2007-11-07 Alexander Larsson <alexl@redhat.com>
3317 (g_local_file_query_filesystem_info):
3318 Pick the "best" of statfs / statvfs for the system
3319 if both are availible.
3321 2007-11-07 Alexander Larsson <alexl@redhat.com>
3323 Solaris fixes from Halton.Huo@Sun.COM:
3330 * gio/glocalfileinfo.c:
3331 Fix for solaris definition of getpwuid_r
3333 * gio/test-streams.c:
3334 Use G_GNUC_PRETTY_FUNCTION
3336 2007-11-07 Alexander Larsson <alexl@redhat.com>
3338 * gio/gdesktopappinfo.c:
3339 (update_default_list):
3340 Remove double semicolon.
3341 Patch from Jens Granseuer
3343 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3345 * docs/reference/gio/gio-sections.txt:
3346 * gio/gbufferedinputstream.c:
3347 * gio/gbufferedinputstream.h:
3348 * gio/gdatainputstream.c:
3349 * gio/gfileenumerator.c:
3350 * gio/gioscheduler.c:
3351 * gio/gunionvolumemonitor.c:
3353 * programs/gio-save.c:
3354 Fix typo: availible -> available. Unfortuntely this breaks API
3355 and ABI as g_buffered_input_stream_get_available() was renamed.
3357 * gio/gunixmounts.c:
3358 * gio/gbufferedinputstream.c:
3359 Add guards for public functions.
3361 2007-11-06 Ross Burton <ross@openedhand.com>
3363 * docs/reference/gio/Makefile.am:
3364 Fix invalid += usage which automake 1.10 doesn't like.
3366 2007-11-06 Alexander Larsson <alexl@redhat.com>
3369 (g_app_launch_context_class_init):
3372 Patch from Ross Burton
3374 2007-11-06 Alexander Larsson <alexl@redhat.com>
3377 Post release version bump
3379 === gio-standalone 0.1.1 ===
3381 2007-11-06 Alexander Larsson <alexl@redhat.com>
3384 Bump version to 0.1.1
3386 * gio/gsimpleasyncresult.c:
3387 (g_simple_async_result_set_from_error):
3388 Remove bogus g_return_if_fail
3390 2007-11-06 Alexander Larsson <alexl@redhat.com>
3393 The name is gio-standalone
3396 Add top src/builddir to includedir
3398 2007-11-06 Alexander Larsson <alexl@redhat.com>
3400 * docs/reference/gio/gio-sections.txt:
3402 * gio/gbufferedinputstream.c:
3403 * gio/gbufferedoutputstream.c:
3404 * gio/gcancellable.c:
3405 * gio/gdatainputstream.h:
3406 * gio/gdataoutputstream.c:
3407 * gio/gdataoutputstream.h:
3408 * gio/gdirectorymonitor.c:
3410 * gio/gfileattribute.c:
3411 * gio/gfileattribute.h:
3412 * gio/gfileenumerator.c:
3413 * gio/gfileenumerator.h:
3416 * gio/gfileinputstream.h:
3417 * gio/gfilemonitor.c:
3418 * gio/gfileoutputstream.h:
3419 * gio/glocalfilemonitor.h:
3420 * gio/glocalfileoutputstream.h:
3421 * gio/gmemoryinputstream.c:
3422 * gio/gmemoryoutputstream.c:
3423 * gio/gmountoperation.c:
3424 * gio/goutputstream.c:
3425 * gio/goutputstream.h:
3427 * gio/gsimpleasyncresult.c:
3428 * gio/gunixmounts.c:
3429 * gio/gunixmounts.h:
3431 * gio/inotify/inotify-helper.c:
3432 Fix gtk-doc warnings
3434 Patch from Ross Burton
3436 2007-11-06 Alexander Larsson <alexl@redhat.com>
3438 * gio/gfilenamecompleter.c:
3439 (g_filename_completer_get_completions):
3442 * gio/gunixvolume.c:
3443 Remove unused function
3445 Patches from Ross Burton
3447 2007-11-06 Alexander Larsson <alexl@redhat.com>
3452 Padding not needed for interfaces
3454 2007-11-06 Alexander Larsson <alexl@redhat.com>
3456 * gio/gfilemonitor.c:
3460 Make giotypes.h an internal file
3463 * gio/gbufferedinputstream.h:
3464 * gio/gbufferedoutputstream.h:
3465 * gio/gcancellable.h:
3466 * gio/gdatainputstream.h:
3467 * gio/gdataoutputstream.h:
3468 * gio/gdirectorymonitor.c:
3469 * gio/gdirectorymonitor.h:
3474 * gio/gfileattribute.h:
3475 * gio/gfileenumerator.h:
3480 * gio/gfilemonitor.c:
3481 * gio/gfilemonitor.h:
3482 * gio/gfilenamecompleter.c:
3483 * gio/gfilenamecompleter.h:
3484 * gio/gfilterinputstream.h:
3485 * gio/gfilteroutputstream.h:
3486 * gio/ginputstream.h:
3487 * gio/gmemoryinputstream.h:
3488 * gio/gmemoryoutputstream.h:
3489 * gio/gmountoperation.c:
3490 * gio/gmountoperation.h:
3491 * gio/gnativevolumemonitor.c:
3492 * gio/goutputstream.h:
3495 * gio/gsimpleasyncresult.c:
3496 * gio/gsimpleasyncresult.h:
3497 * gio/gsocketinputstream.h:
3498 * gio/gsocketoutputstream.h:
3499 * gio/gthemedicon.c:
3500 * gio/gthemedicon.h:
3504 * gio/gvolumemonitor.c:
3505 * gio/gvolumemonitor.h:
3506 Add padding in classes where it seems useful
3507 Don't include giotypes.h from public headers
3508 Move in Class definitions into c file where possible
3513 2007-11-06 Alexander Larsson <alexl@redhat.com>
3515 * docs/reference/gio/gio-docs.xml:
3516 Better structure for API docs
3518 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3521 * gio/gloadableicon.c:
3522 * gio/gsimpleasyncresult.c:
3523 * gio/gthemedicon.c:
3524 Add some more guards to public functions. Only files missing are now
3527 2007-11-06 Alexander Larsson <alexl@redhat.com>
3529 * docs/reference/gio/gio-docs.xml:
3530 Remove old files, add missing ones
3532 2007-11-06 Alexander Larsson <alexl@redhat.com>
3534 * docs/reference/gio/gio-sections.txt:
3537 Hide implementation classes
3539 * gio/gdriveprivate.h:
3540 * gio/gvolumeprivate.h:
3541 Remove non-existing function declarations
3543 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3546 Fix compilation warnings and add guards to the new functions.
3548 * gio/gasyncresult.c:
3550 Add guards to the public functions.
3553 Implement get_path().
3555 2007-11-06 Alexander Larsson <alexl@redhat.com>
3557 * gio/gfilenamecompleter.c:
3558 Make g_filename_completer_get_completions
3559 return char ** instead of GList for
3562 * docs/reference/gio/gio-docs.xml:
3563 * docs/reference/gio/gio-sections.txt:
3565 * gio/gasyncresult.c:
3566 * gio/gbufferedinputstream.c:
3567 * gio/gbufferedoutputstream.c:
3568 * gio/gcancellable.c:
3569 * gio/gcontenttype.c:
3570 * gio/gdatainputstream.c:
3571 * gio/gdataoutputstream.c:
3572 * gio/gdesktopappinfo.c:
3573 * gio/gdirectorymonitor.c:
3577 * gio/gfileattribute.c:
3578 * gio/gfileenumerator.c:
3581 * gio/gfileinputstream.c:
3582 * gio/gfilemonitor.c:
3583 * gio/gfilenamecompleter.c:
3584 * gio/gfilenamecompleter.h:
3585 * gio/gfileoutputstream.c:
3586 * gio/gfilterinputstream.c:
3588 * gio/ginputstream.c:
3590 * gio/gioscheduler.c:
3591 * gio/gloadableicon.c:
3592 * gio/glocaldirectorymonitor.c:
3594 * gio/glocalfileinputstream.c:
3595 * gio/glocalfilemonitor.c:
3596 * gio/glocalfileoutputstream.c:
3598 * gio/gmemoryinputstream.c:
3599 * gio/gmemoryoutputstream.c:
3600 * gio/gmountoperation.c:
3601 * gio/goutputstream.c:
3602 * gio/gpollfilemonitor.c:
3604 * gio/gsimpleasyncresult.c:
3605 * gio/gsocketinputstream.c:
3606 * gio/gsocketoutputstream.c:
3607 * gio/gthemedicon.c:
3608 * gio/gunionvolumemonitor.c:
3610 * gio/gunixmounts.c:
3611 * gio/gunixvolume.c:
3612 * gio/gunixvolumemonitor.c:
3616 * gio/gvolumemonitor.c:
3617 * gio/gwin32appinfo.c:
3618 Add (mostly stub) doc strings to public functions.
3619 Patch from Andrew Walton (awalton@gmail.com)
3621 2007-11-06 Alexander Larsson <alexl@redhat.com>
3623 * gio/gappinfo.[ch]:
3624 Added GAppLaunchContext object and pass that to launch.
3625 This allows simple implementation of both
3626 launch-on-screen and startup notification via a gtk+
3627 subclass of GAppLaunchContext
3629 * gio/gdesktopappinfo.c:
3630 Implement GAppLaunchContext API
3632 * gio/gwin32appinfo.c:
3635 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3637 * gio/gmountoperation.c:
3638 Add some guards to GMountOperation's public functions.
3640 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3644 * gio/gcancellable.c:
3645 * gio/gdirectorymonitor.c:
3647 * gio/gfileenumerator.c:
3648 * gio/gfilemonitor.c:,
3649 * gio/gfilenamecompleter.c:
3652 * gio/gioscheduler.c:
3656 * gio/gvolumemonitor.c:
3657 Add even more guards to various public functions.
3659 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3662 Add guards to the public functions of GAppInfo.
3664 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3666 * gio/gcontenttype.c:
3667 Add some more guards for public functions.
3669 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3671 * gio/fam/fam-module.c:
3672 * gio/fam/gfamdirectorymonitor.c:
3673 * gio/fam/gfamdirectorymonitor.h:
3674 * gio/fam/gfamfilemonitor.c:
3675 * gio/fam/gfamfilemonitor.h:
3676 * gio/inotify/ginotifydirectorymonitor.c:
3677 * gio/inotify/ginotifydirectorymonitor.h:
3678 * gio/inotify/ginotifyfilemonitor.c:
3679 * gio/inotify/ginotifyfilemonitor.h:
3680 Add proper copyright information and remove an unused variable
3681 in the GInotifyFileMonitor constructor.
3683 * gio/gcancellable.c:
3684 Add a guard for a public function and an assertion to prevent
3685 an undefined program state.
3687 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3689 * gio/gfileattribute.c:
3690 Don't run into an assertion if the given attribute value is NULL
3691 in g_file_attribute_value_get_*() but instead return a fallback
3692 value that makes sense in most situations. Passing them a attribute
3693 value with the wrong type will still run into an assertion.
3695 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3697 * gio/gfileattribute.c:
3699 Add even more guards to the public functions. Also fix the refcounting
3700 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3701 let g_file_info_list_attributes() filter the attributes by namespace
3702 instead of simply ignoring the namespace parameter.
3704 2007-11-03 Sven Herzberg <sven@imendio.com>
3706 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3707 (This makes gio work on MacOS X again)
3709 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3712 Build the gio subdirectory before the docs. Otherwise the build will
3715 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3716 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3717 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3718 Add guards to the public functions.
3720 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3722 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3723 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3724 to prevent a compiler warning.
3726 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3727 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3728 return something in the non-void function find_topdir_for().
3730 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3737 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3739 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3740 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3741 * gwin32appinfo.c (g_win32_app_info_launch):
3742 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3743 envp_for_startup_id, g_desktop_app_info_launch,
3744 g_desktop_app_info_launch_uris):
3746 Give an opaque 'startup_id' string instead of 'envp'.
3747 Support empty file lists for launching new windows.
3748 Fix infinite recursion bug when launching URIs.
3750 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3753 Add guard to the new g_file_get_uri_scheme() function.
3755 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3758 Convert a g_return_val_if_fail() to setting the GError instead as
3759 otherwise applications have to verify the parameter before otherwise
3760 and the parameter might come directly from the user.
3762 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3764 * gio/inotify/ginotify*.[ch]:
3765 Add missing copyright information.
3767 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3770 Add guards in the beginning of public functions to check for valid
3771 parameters and fix a bug in copy_stream_with_progress() that could've
3772 caused writing less bytes than reading.
3773 * gio/glocalfileinfo.c:
3774 Check for a NULL parameter and set the GError accordingly then.
3775 * gio/goutputstream.c:
3776 Fix the same bug as in gfile.c that could've caused writing less bytes
3777 than reading in g_output_stream_real_splice().
3779 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3782 Use the correct gvolumeprivate.h naming
3784 2007-11-01 Christian Kellner <gicmo@gnome.org>
3787 Remove leftover "$(daemon_sources)" entry.
3789 2007-11-01 Christian Kellner <gicmo@gnome.org>
3794 Add copyright information to source files.
3796 2007-11-01 Alexander Larsson <alexl@redhat.com>
3800 Add g_file_get_uri_scheme
3802 2007-11-01 Alexander Larsson <alexl@redhat.com>
3805 * gio/gdesktopappinfo.c:
3806 * gio/gwin32appinfo.c:
3807 Add g_app_info_get_default_for_uri_scheme.
3809 2007-11-01 Alexander Larsson <alexl@redhat.com>
3812 Correct filename for gdriveprivate.h
3814 2007-10-31 Alexander Larsson <alexl@redhat.com>
3817 Rename id:value to id:file
3820 * gio/glocalfileinfo.c:
3823 2007-10-31 Alexander Larsson <alexl@redhat.com>
3825 * gio/gunixvolume.c:
3827 Remove g_volume_get_platform_id, as thats not
3828 needed with the simpler union volume monitor
3830 2007-10-31 Alexander Larsson <alexl@redhat.com>
3833 * gio/guniondrive.[ch]: Removed.
3834 * gio/gunionvolume.[ch]: Removed.
3835 Remove GUnionDrive/Volume
3837 * gio/gunionvolumemonitor.c:
3838 Simplify union volume monitor, now we
3839 only have one native volume monitor and
3840 we use the actual volumes/drives from the
3841 child monitors instead of wrapping them
3843 * gio/gnativevolumemonitor.[ch]:
3844 Base class for native volume monitors.
3845 Includes priority and get_volume_for_mountpoint
3848 Add g_file_find_enclosing_volume
3851 Remove volume name fs attribute
3852 Add readonly fs attribute
3855 Implement readonly attribute
3856 remove volume name attribute
3857 Implement find_enclosing volume
3859 * gio/gunixmounts.c:
3860 Add a volume for "/".
3862 * gio/gunixvolume.[ch]:
3863 Set better name for /
3865 * gio/gunixvolumemonitor.[ch]:
3866 Derive from GNativeVolumeMonitor
3867 Implement get_volume_for_mountpoint
3870 GVolume typedef moved to gfile.h
3872 * gio/gvolumeprivate.h:
3873 Add g_volume_get_for_mount_path
3875 2007-10-31 Alexander Larsson <alexl@redhat.com>
3877 * gio/gunixmounts.[ch]:
3878 Add cache info to unix mount listers
3879 Make getmntent use threadsafe
3880 Add is_system_internal attribute for GUnixMount
3882 * gio/gunixvolume.c:
3883 (g_unix_volume_new):
3884 Use is_system_internal instead of own code
3886 * gio/glocaldirectorymonitor.c:
3887 * gio/gunixvolumemonitor.c:
3888 Update to new gunixmounts API
3893 2007-10-30 Alexander Larsson <alexl@redhat.com>
3896 Add volume name fsinfo attribute
3899 Read volume name info
3901 * gio/gunionvolumemonitor.c:
3902 Fix infinite loops when finalizing a union volume monitor
3904 2007-10-30 Alexander Larsson <alexl@redhat.com>
3906 * gio/goutputstream.[ch]:
3907 Add splice() with default implementation
3909 * gio/gsocketoutputstream.c:
3910 (g_socket_output_stream_write):
3911 Return error on cancellation correctly.
3913 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3915 * gio/glocalfile.c (g_local_file_trash):
3916 Do not leak a string.
3918 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3920 * gio/gfile.c (g_file_load_contents):
3921 Unref the stream after closing it.
3923 2007-10-25 Alexander Larsson <alexl@redhat.com>
3925 * gio/gioscheduler.h:
3928 2007-10-25 Alexander Larsson <alexl@redhat.com>
3932 Add g_file_has_uri_scheme and implement for local files
3934 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3936 * gio/gdesktopappinfo.c: do not leak a string.
3938 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3940 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3941 (g_local_directory_monitor_new):
3942 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3943 (g_local_file_monitor_new):
3944 Only look for the monitor type that should be used the first time
3945 and use g_qsort_with_data() instead of our own bubble sort
3948 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3951 * gio/fam/Makefile.am:
3952 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3953 * gio/fam/fam-helper.h:
3954 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3955 * gio/fam/gfamdirectorymonitor.c:
3956 * gio/fam/gfamdirectorymonitor.h:
3957 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3958 * gio/fam/gfamfilemonitor.h:
3959 * gio/glocaldirectorymonitor.c:
3960 * gio/glocaldirectorymonitor.h:
3961 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3962 * gio/glocalfilemonitor.h:
3963 * gio/inotify/Makefile.am:
3964 * gio/inotify/ginotifydirectorymonitor.c:
3965 * gio/inotify/ginotifydirectorymonitor.h:
3966 * gio/inotify/ginotifyfilemonitor.c:
3967 * gio/inotify/ginotifyfilemonitor.h:
3968 Implement the FAM and Inotify monitors as
3969 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3970 their own GIO module. GLocal(Directory|File)Monitor will use the
3971 monitor with the highest rank that is supported on that machine.
3973 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3976 Change GIO module dir to $(libdir)/gio/modules and change
3977 the log domain from GVFS to GIO. Also only export symbols starting
3978 with g_ in the resulting library.
3979 * gio/test-streams.c: (main):
3980 Set log handler for the GIO log domain.
3982 2007-10-22 Alexander Larsson <alexl@redhat.com>
3984 * gio/gfilenamecompleter.[ch]:
3985 Add g_filename_completer_set_dirs_only
3987 2007-10-22 Alexander Larsson <alexl@redhat.com>
3990 * gio/gurifuncs.[ch]:
3991 Add some simple URI helpers
3993 * gio/gfilenamecompleter.[ch]:
3994 Added object for filename (parse name actually) completion
3997 Handle ~ in parse names
3999 2007-10-17 Alexander Larsson <alexl@redhat.com>
4002 * gio/glocalfileinfo.c:
4003 Add and implement id:value attribute
4005 2007-10-17 Alexander Larsson <alexl@redhat.com>
4008 * gio/guniondrive.c:
4010 Add and implement g_drive_has_volumes
4012 2007-10-17 Alexander Larsson <alexl@redhat.com>
4015 * gio/glocalfileinfo.[ch]:
4016 Add unix:is_mountpoint and implement for local files
4018 2007-10-16 Alexander Larsson <alexl@redhat.com>
4020 * gio/gunionvolumemonitor.c:
4021 (g_union_volume_monitor_init):
4022 Fix up the unix type getting so that it works with gcc
4024 2007-10-12 Alexander Larsson <alexl@redhat.com>
4027 * gio/glocalfileinfo.c:
4028 Add thumbnail:failed to file info
4030 2007-10-12 Richard Hult <richard@imendio.com>
4032 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4033 optimizing away the get_type call (happens with some gcc versions,
4034 like the one shipped with OS X 10.4).
4036 2007-10-12 Alexander Larsson <alexl@redhat.com>
4038 * gio/glocalfileinfo.c:
4039 (_g_local_file_info_set_attribute):
4040 Fix build if not HAVE_XATTR
4041 Patch from Milosz Derezynski <internalerror@gmail.com>
4043 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4045 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4046 around for review, otherwise I would have asked you before
4049 2007-10-11 Alexander Larsson <alexl@redhat.com>
4052 Add thumbnail:path attribute
4054 * gio/glocalfileinfo.c:
4055 Implement thumbnail:path for local files
4057 2007-10-11 Alexander Larsson <alexl@redhat.com>
4059 * gio/glocalfileinfo.c:
4060 (_g_local_file_info_get):
4061 Avoid duplicate icon names
4063 2007-10-11 Alexander Larsson <alexl@redhat.com>
4065 * gio/gthemedicon.[ch]:
4066 Change g_themed_icon_get_names return type to const
4068 2007-10-10 Alexander Larsson <alexl@redhat.com>
4070 * gio/glocalfileinfo.c:
4071 Don't reference freed memory
4073 2007-10-10 Alexander Larsson <alexl@redhat.com>
4075 * gio/gfileattribute.c:
4078 * gio/glocalfileinfo.c:
4081 2007-10-10 Alexander Larsson <alexl@redhat.com>
4084 Check for NULL icons
4086 * gio/gfileattribute.c:
4087 Don't dup when getting objects (same as for string attributes)
4089 * gio/gicon.c (g_icon_equal):
4090 Safely handle NULLs in equal
4092 2007-10-10 Alexander Larsson <alexl@redhat.com>
4095 Fix c++ compilation issues
4096 Patch from Milosz Derezynski <internalerror@gmail.com>
4098 2007-10-10 Alexander Larsson <alexl@redhat.com>
4100 * programs/gio-monitor-dir.c:
4101 Don't crash if dir monitor not supported.
4103 2007-10-09 Alexander Larsson <alexl@redhat.com>
4106 Add missing G_END_DECLS
4108 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4110 * gio/gfile.c: (g_file_set_display_name),
4111 (g_file_query_settable_attributes),
4112 (g_file_query_writable_namespaces):
4113 Return NULL not FALSE on errors as the return type is a pointer.
4115 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4117 * gio/glocalfile.c: (g_local_file_monitor_file):
4118 Don't call monitor_file on the default interface vtable (which
4119 is NULL) but simply return NULL. The caller, GFile, will create a
4120 polling monitor if NULL is returned.
4122 2007-10-09 Alexander Larsson <alexl@redhat.com>
4126 * gio-unix-2.0.pc.in:
4127 Add gio-unix-2.0.pc if OS_UNIX
4130 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4132 2007-10-09 Alexander Larsson <alexl@redhat.com>
4134 * gio/gunixmounts.[ch]:
4135 Make unix mount monitoring API sane.
4136 Now its just a object with mounts_changed
4137 and mountpoints_changed signals.
4139 * gio/glocaldirectorymonitor.c:
4140 * gio/gunixvolumemonitor.c:
4141 Use new mount monitor api
4143 2007-10-09 Alexander Larsson <alexl@redhat.com>
4145 * gio/gunixmounts.[ch]:
4146 Move guess type into one call for mounts and one for mountpoints
4149 * gio/gunixvolume.c:
4152 2007-10-09 Alexander Larsson <alexl@redhat.com>
4154 * gio/gunixmounts.[ch]:
4155 Remove _ prefix in preparation to make this semi-public
4156 Hide implementation of structs
4158 * gio/glocaldirectorymonitor.c:
4160 * gio/gunixvolume.c:
4161 * gio/gunixvolumemonitor.c:
4162 Update for above API changes
4164 2007-10-08 Alexander Larsson <alexl@redhat.com>
4167 Better polling fallback. This also handles the case where we have
4168 a monitor_file implementation, but it fails.
4170 2007-10-08 Alexander Larsson <alexl@redhat.com>
4174 * gio/gunixmounts.c:
4175 * programs/gio-monitor-dir.c:
4176 * programs/gio-monitor-file.c:
4177 Added cancellable to file monitoring calls.
4178 These are really sync calls and need this.
4180 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4182 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4183 (g_local_vfs_class_init):
4184 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4185 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4187 2007-10-05 Alexander Larsson <alexl@redhat.com>
4189 * gio/gdirectorymonitorprivate.h:
4190 * gio/gfilemonitorprivate.h:
4191 * gio/gdirectorymonitor.h:
4192 * gio/gfilemonitor.h:
4193 Remove *private.h and move to the public API, so that
4194 we can do implementations outside gio (such as in gvfs)
4196 * gio/gdirectorymonitor.c:
4197 * gio/gfilemonitor.c:
4198 * gio/glocaldirectorymonitor.c:
4199 * gio/gpollfilemonitor.c:
4200 * gio/inotify/inotify-helper.c:
4201 * gio/fam/fam-helper.c:
4202 Update to the new header names
4204 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4206 * gio/gdirectorymonitor.c:
4207 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4210 2007-10-04 Alexander Larsson <alexl@redhat.com>
4212 * gio/glocalfileinfo.c (get_access_rights):
4213 Set CAN_TRASH when we can move the file.
4214 We should really also check for a parent trash dir.
4216 2007-10-04 Alexander Larsson <alexl@redhat.com>
4218 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4219 Add can_trash access attribute
4221 2007-10-04 Alexander Larsson <alexl@redhat.com>
4224 (g_local_file_trash):
4225 Create info file first. This is per-spec and allows
4226 us to actually trash directories.
4228 2007-10-02 Alexander Larsson <alexl@redhat.com>
4230 * gio/gdesktopappinfo.c:
4231 Implement the new mime support code.
4232 Always set app as handling mimetype when being set as default for it
4234 2007-10-01 Alexander Larsson <alexl@redhat.com>
4236 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4237 Fix up check for xattrs:
4239 2007-10-01 Alexander Larsson <alexl@redhat.com>
4242 (g_app_info_set_as_default_for_extension):
4243 (g_app_info_add_supports_type):
4244 (g_app_info_can_remove_supports_type):
4245 (g_app_info_remove_supports_type):
4246 Make these fail nicely if not implemented
4248 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4250 * gio/glocalfileoutputstream.c:
4251 * gio/glocalfileoutputstream.h:
4256 * programs/gio-save.c:
4257 Add a GFileCreateFlags argument to operations that can create
4260 2007-10-01 Alexander Larsson <alexl@redhat.com>
4262 * gio/gappinfo.[ch]:
4263 * gio/gdesktopappinfo.c:
4264 Add more (stubbed out) mime API needed for nautilus
4266 2007-10-01 Alexander Larsson <alexl@redhat.com>
4269 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4270 Add g_app_info_set_as_default_for_extension.
4272 * gio/gdesktopappinfo.c:
4273 Dummy for g_app_info_set_as_default_for_extension
4274 Support flags in g_app_info_create_from_commandline
4276 * gio/gwin32appinfo.c:
4278 Update for API changes
4280 * gio/gthemedicon.c:
4281 Properly NULL-terminate list of icon names
4283 2007-09-28 Alexander Larsson <alexl@redhat.com>
4285 * gio/gloadableicon.h:
4286 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4288 2007-09-28 Alexander Larsson <alexl@redhat.com>
4291 Install headers in $includedir/gio-standalone/
4293 * gio-2.0.pc.in: Added.
4294 * gio-standalone.pc.in: Removed.
4297 Renamed pkg-config file to match glib (for future move)
4298 Update to the new include dir
4301 Add more TODO comments
4303 2007-09-28 Alexander Larsson <alexl@redhat.com>
4305 * gio/gdesktopappinfo.[ch]:
4306 Expose new_from_filename
4307 Add getter for is_hidden and handle it better
4309 2007-09-28 Alexander Larsson <alexl@redhat.com>
4311 * gio/gfileinfo.[ch]:
4312 Rename g_file_size_format_for_display to
4313 g_format_file_size_for_display.
4314 Now it doesn't have the g_file prefix, so we
4315 can later move it to glib.
4317 2007-09-28 Alexander Larsson <alexl@redhat.com>
4319 * gio/gappinfo.[ch]:
4320 Add g_app_info_get_id and g_app_info_get_executable.
4321 Make all getters non-reffing
4322 Make g_app_info_launch take GFile arguments.
4323 Add must_support_uris argument to g_app_info_get_default_for_type.
4325 * gio/gwin32appinfo.c:
4326 Update to GAppInfo api changes
4328 * gio/gdesktopappinfo.c:
4329 Update to GAppInfo api changes
4330 Implement supports_xdg_startup_notify
4332 * gio/gfileicon.c (g_file_icon_get_file):
4333 Make getter non-reffing.
4338 2007-09-27 Alexander Larsson <alexl@redhat.com>
4340 * gio/gfileinfo.[ch]:
4341 Add g_file_size_format_for_display helper
4343 2007-09-27 Alexander Larsson <alexl@redhat.com>
4345 * gio/glocalfileinfo.c:
4346 Set UNIX_GID from gid, not from uid
4348 2007-09-27 Alexander Larsson <alexl@redhat.com>
4351 Add g_file_set_attributes_async
4353 2007-09-27 Alexander Larsson <alexl@redhat.com>
4355 * gio/glocalfile.c (g_local_file_set_display_name):
4356 Fix set_display_name to actually rename to the right place.
4357 Use lstat to look for existing files so we don't overwrite
4360 2007-09-26 Alexander Larsson <alexl@redhat.com>
4363 Add g_file_set_display_name_async()
4365 2007-09-26 Alexander Larsson <alexl@redhat.com>
4368 Add load_partial_contents async calls
4371 Make internal function static
4373 2007-09-26 Alexander Larsson <alexl@redhat.com>
4375 * gio/glocalfileinfo.c:
4376 Correctly detect broken symlinks
4378 2007-09-26 Alexander Larsson <alexl@redhat.com>
4380 * gio/gcancellable.c (g_cancellable_cancel):
4381 Allow cancel on NULL cancellable
4383 2007-09-25 Alexander Larsson <alexl@redhat.com>
4385 * gio/gsimpleasyncresult.c:
4386 Don't allocate g_error manually.
4387 Fixes g_slice/g_new mixup crash
4389 2007-09-25 Alexander Larsson <alexl@redhat.com>
4391 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4392 Actually set active_backend.
4393 This means the monitor will be cancelled correctly.
4395 2007-09-25 Alexander Larsson <alexl@redhat.com>
4397 * gio/gdirectorymonitor.c:
4398 Set timeout to NULL when destroying
4400 2007-09-25 Alexander Larsson <alexl@redhat.com>
4403 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4404 that is a better description of the error.
4406 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4408 * gio/gvfs.c: (g_vfs_get_local):
4409 Make the local vfs variable static. The same instance should
4412 2007-09-24 Alexander Larsson <alexl@redhat.com>
4414 * gio/glocalfileinfo.c:
4415 Pass in actual length read into sniffer, not the length
4418 2007-09-21 Alexander Larsson <alexl@redhat.com>
4420 * gio/gfileenumerator.c:
4423 * gio/gfileinputstream.c:
4424 * gio/gfileoutputstream.c:
4425 * gio/ginputstream.c:
4426 * gio/goutputstream.c:
4427 Don't crash if async callbacks are NULL
4429 2007-09-20 Alexander Larsson <alexl@redhat.com>
4432 Add async enumerate_children method and default
4435 2007-09-20 Alexander Larsson <alexl@redhat.com>
4438 Add g_file_contains_file & g_file_get_relative_path, since they
4439 were needed for nautilus.
4440 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4445 Implement new methods
4447 2007-09-17 Alexander Larsson <alexl@redhat.com>
4450 * gio/gfileinputstream.[ch]:
4451 * gio/gfileoutputstream.[ch]:
4453 * gio/glocalfileenumerator.[ch]:
4454 * gio/glocalfileinfo.[ch]:
4455 * gio/glocalfileinputstream.c:
4456 * gio/glocalfileoutputstream.c:
4457 * gio/gpollfilemonitor.c:
4458 * programs/gio-copy.c:
4459 * programs/gio-info.c:
4460 * programs/gio-move.c:
4461 Rename get_file_info to query_info() to make it clearer
4462 that these are not simple getters, but do i/o.
4464 2007-09-17 Alexander Larsson <alexl@redhat.com>
4466 * gio/gdatainputstream.[ch]:
4467 * gio/test-streams.c:
4468 Use _read_XXX instead of _get_XXX for the i/o calls
4471 2007-09-17 Alexander Larsson <alexl@redhat.com>
4474 Added needed stuff to TODO comment
4476 2007-09-17 Alexander Larsson <alexl@redhat.com>
4478 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4479 Don't error out removing the backup copy if it doesn't
4482 2007-09-14 Alexander Larsson <alexl@redhat.com>
4484 * programs/Makefile.am:
4485 * programs/gvfs-*.c:
4487 Renamed apps from gvfs-xxx to gio-xxx.
4489 2007-09-14 Alexander Larsson <alexl@redhat.com>
4492 * gio/gfileoutputstream.[ch]:
4493 * gio/glocalfileoutputstream.c:
4494 * programs/gvfs-save.c:
4495 g_file_output_stream_get_etag doesn't do i/o, so remove
4496 cancellation and error.
4498 2007-09-14 Alexander Larsson <alexl@redhat.com>
4501 Add new_etag output to replace_contents functions
4503 2007-09-14 Alexander Larsson <alexl@redhat.com>
4505 * gio/gfileoutputstream.[ch]:
4506 Add async get_file_info and default implementation
4508 2007-09-14 Alexander Larsson <alexl@redhat.com>
4510 * gio/gfileinputstream.c:
4511 Implement fallback wrapper for async get_file_info
4513 2007-09-14 Alexander Larsson <alexl@redhat.com>
4516 Add etag out argument to load_contents
4521 2007-09-14 Alexander Larsson <alexl@redhat.com>
4523 * gio/gcontenttype.c (looks_like_text):
4524 Whitespace like tab, cr and lf do not make the
4527 2007-09-14 Alexander Larsson <alexl@redhat.com>
4529 * gio/gfileinputstream.[ch]:
4530 Add async get_file_info.
4532 2007-09-13 Alexander Larsson <alexl@redhat.com>
4534 * gio/goutputstream.c (g_output_stream_write_all):
4535 Allow NULL for bytes_written
4537 2007-09-13 Alexander Larsson <alexl@redhat.com>
4539 * gio/gmemoryinputstream.[ch]:
4540 Add accessors for data
4542 2007-09-13 Alexander Larsson <alexl@redhat.com>
4544 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4545 Don't crash if length is NULL