1 2008-07-06 David Zeuthen <davidz@redhat.com>
4 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
5 is needed for easily handling adoption of foreign volumes by
6 out-of-process volume monitors (#541793)
8 2008-07-06 David Zeuthen <davidz@redhat.com>
10 * gvolumemonitor.[ch]:
11 * gunionvolumemonitor.c: Export the eject-button signal on the
12 volume monitor class (#541794).
14 2008-07-06 Matthias Clasen <mclasen@redhat.com>
16 * gappinfo.c: More doc tweaks
18 2008-07-05 Matthias Clasen <mclasen@redhat.com>
20 * gappinfo.c: Clarify some docs
22 2008-07-03 Matthias Clasen <mclasen@redhat.com>
24 * gdesktopappinfo.c: Fix a stupid mistake.
26 2008-07-02 Matthias Clasen <mclasen@redhat.com>
28 * === Released 2.17.3 ===
30 2008-07-02 Matthias Clasen <mclasen@redhat.com>
32 * gfilemonitor.c: Fix the build.
34 2008-07-02 Matthias Clasen <mclasen@redhat.com>
36 Bug 536160 – Add g_file_monitor()
39 * gfile.[hc]: Add g_file_monitor which can return either
40 a file or a directory monitor. Proposed by Behdad Esfahbod
42 2008-07-02 Matthias Clasen <mclasen@redhat.com>
44 536733 – gio build failure on Irix
46 * glocalfile.c: Use a configure check for structfs.f_bavail.
48 2008-07-02 Matthias Clasen <mclasen@redhat.com>
50 Bug 534639 – add g_desktop_app_info_new_from_keyfile
53 * gdesktopappinfo.[hc]: Add a function to create a
54 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
56 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
58 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
60 2008-07-01 Matthias Clasen <mclasen@redhat.com>
62 * gunixmounts.c: Fix a doc typo.
64 2008-07-01 Cody Russell <bratsche@gnome.org>
67 * gio/gwin32appinfo.c:
68 * gio/gwin32volumemonitor.c:
69 * gio/gwin32mount.c: Fixed some include problems.
71 2008-07-01 Cody Russell <bratsche@gnome.org>
75 Moved all relevant typedefs into these files.
78 Updated wrt added files.
80 Split types into separate file for easier maintainership. (#538564)
82 2008-06-30 Matthias Clasen <mclasen@redhat.com>
84 Bug 540331 – g_file_append_to () documentation: can return NULL
86 * gfile.c (g_file_append_to): Clarify docs.
89 2008-06-30 Matthias Clasen <mclasen@redhat.com>
91 Bug 539090 – g_content_type_from_mime_type() should unalias
93 * gcontentype.c (g_content_type_from_mime_type): Unalias.
94 Patch by Markus Bergman
96 2008-06-30 Matthias Clasen <mclasen@redhat.com>
98 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
101 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
102 on ppc and alpha. Reported by Mart Raudsepp
104 2008-06-29 Matthias Clasen <mclasen@redhat.com>
107 * tests/memory-output-stream.c: Add some tests for
110 2008-06-29 Matthias Clasen <mclasen@redhat.com>
112 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
115 * gmemoryoutputstream.c (array_resize): Handle truncation to
116 zero correctly. Reported by Akira Tagoh
118 2008-06-29 Matthias Clasen <mclasen@redhat.com>
120 * gmemoryoutputstream.c: Trivial doc fixes
122 2008-06-29 Matthias Clasen <mclasen@redhat.com>
124 Bug 540802 – g_list_prepend doesn't concat lists
126 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
127 one list to another. Pointed out by Jan Arne Petersen
129 2008-06-28 Michael Natterer <mitch@imendio.com>
131 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
133 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
135 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
136 to avoid problems with partial icon themes.
138 2008-06-17 Hans Breuer <hans@breuer.org>
140 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
141 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
142 access again on win32, see bug #538127
143 * giomodule.c : ensure GWin32VolumeMonitor is registered
144 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
145 * Makefile.am makefile.msc : updated
147 2008-06-16 Hans Breuer <hans@breuer.org>
149 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
150 and initialization in one step avoids c99ism
152 2008-06-16 Christian Persch <chpe@gnome.org>
155 * gio/gbufferedinputstream.c
157 * gio/gdatainputstream.c
158 * gio/gdesktopappinfo.c
160 * gio/gfileenumerator.c
161 * gio/gfileinputstream.c
162 * gio/gfileoutputstream.c
164 * gio/glocaldirectorymonitor.c
166 * gio/glocalfileenumerator.c
167 * gio/glocalfileinfo.c
168 * gio/glocalfilemonitor.c
169 * gio/glocalfileoutputstream.c
170 * gio/gmemoryinputstream.c
171 * gio/gmemoryoutputstream.c
172 * gio/goutputstream.c
173 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
176 2008-06-16 Tor Lillqvist <tml@novell.com>
178 Bug 538362 - Get Win32 icons back in the file chooser
180 * gcontenttype.c (g_content_type_get_icon): Look up the icon
181 corresponding to a file extension in the Registry. Patch by Hans
183 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
185 2008-06-16 Tor Lillqvist <tml@novell.com>
187 Patches by Hans Breuer:
189 * glocalfile.c (is_xp_or_later): Handle compiling against older
190 SDK headers with missing VerifyVersionInfo(). Conditioned on
191 _MSC_VER, but should probably use some better test.
192 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
193 uninitialised statfs_result variable on Win32.
195 2008-06-16 Michael Natterer <mitch@imendio.com>
197 * *.c: chain up unconditionally in finalize() and dispose(). Also
198 don't dereference these function pointers when calling them since
199 that has no meaning at all.
201 2008-06-16 Ross Burton <ross@burtonini.com>
204 Remove check for dispose implementation as it annoys Emmanuele.
206 2008-06-16 Ross Burton <ross@burtonini.com>
208 Bug 536252 – GFileEnumerator should allow access to the containing
214 Add g_file_enumerator_get_container() and a container writeable
215 construct-only property. Also shuffle around typedefs to make it
218 * glocalfileenumerator.c:
219 * glocalfileenumerator.h:
221 Instead of a string filename take a GFile in the constructor and
222 use it to set the container property.
227 2008-06-16 Matthias Clasen <mclasen@redhat.com>
229 * gfile.c: Make includes more uniform
231 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
233 * tests/live-g-file.c (sample_struct):
234 Use less fancy unicode filenames, so the test doesn't fail
235 on Mac OS X (#531476).
237 2008-06-12 Matthias Clasen <mclasen@redhat.com>
239 * === Released 2.17.2 ===
241 2008-06-12 Matthias Clasen <mclasen@redhat.com>
243 * === Released 2.17.1 ===
245 2008-06-11 A. Walton <awalton@gnome.org>
247 * tests/g-file.c (test_g_file_new_null):
248 Fix broken test case.
250 2008-06-11 Matthias Clasen <mclasen@redhat.com>
252 * pltcheck.sh: We use g_clear_error now.
254 2008-06-11 Matthias Clasen <mclasen@redhat.com>
256 * glocalfile.c (g_local_file_enumerate_children): Revert
257 an unintended change.
259 2008-06-11 Matthias Clasen <mclasen@redhat.com>
261 * gfile.c (g_file_replace_contents): Don't unref before the last use.
263 2008-06-10 Matthias Clasen <mclasen@redhat.com>
265 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
268 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
269 as icon for the desktop directory, also make user-home and
270 user-desktop the preferred icons.
272 2008-06-10 Matthias Clasen <mclasen@redhat.com>
275 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
276 to add a name to the front of the list.
278 2008-06-10 Matthias Clasen <mclasen@redhat.com>
280 Bug 537392 – Additional colon in xattr name
282 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
283 too. Reported by Alessandro Morandi
285 2008-06-10 Matthias Clasen <mclasen@redhat.com>
287 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
290 * glocalfile.c (get_fs_type): Add afs and autofs.
291 Patch by Danny Baumann.
293 2008-06-10 Matthias Clasen <mclasen@redhat.com>
295 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
297 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
298 is no parent. (Owen Taylor, patch by Christian Neumair)
300 2008-06-10 Paolo Borelli <pborelli@katamail.com>
302 * gfile.c (g_file_replace_contents): do not leak the output stream.
304 2008-06-10 Michael Natterer <mitch@imendio.com>
306 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
307 uninitialized memory as array index.
309 2008-06-10 Tor Lillqvist <tml@novell.com>
311 * gcontenttype.c (g_content_type_can_be_executable)
312 (g_content_type_get_icon) [Win32]: Add TODO comments.
314 2008-06-09 Matthias Clasen <mclasen@redhat.com>
316 * xdgmime/Makefile.am: Fix the build
318 2008-06-09 Matthias Clasen <mclasen@redhat.com>
320 * gcontenttype.c (g_content_type_get_icon): Use icons specified
321 in the shared mime database, if available.
323 * xdgmime/*: Sync with upstream. This brings support for
324 glob weights, generic icons, and changes the cache format to
327 2008-05-28 Michael Natterer <mitch@imendio.com>
329 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
330 the global CPPFLAGS now.
332 * tests/data-input-stream.c
333 * tests/data-output-stream.c
334 * tests/g-file-info.c
336 * tests/live-g-file.c
337 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
339 2008-05-27 Matthias Clasen <mclasen@redhat.com>
341 * === Released 2.17.0 ===
343 * tests/live-g-file.c: Clean up after the tests, so make distcheck
344 doesn't complain about leftover files.
346 2008-05-27 simon.zheng <simon.zheng@sun.com>
348 * glocalfile.c: (g_local_file_query_filesystem_info):
349 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
351 2008-05-26 Michael Natterer <mitch@imendio.com>
353 * gmemoryoutputstream.h: declare
354 g_memory_output_stream_get_data_size().
356 2008-05-26 Matthias Clasen <mclasen@redhat.com>
358 * tests/*: Make tests work
360 2008-05-26 Matthias Clasen <mclasen@redhat.com>
362 * gio.symbols: Add g_memory_output_stream_get_data_size.
364 2008-05-25 Ross Burton <ross@burtonini.com>
367 Fix typo in error message (#534764).
369 2008-05-25 Ross Burton <ross@burtonini.com>
372 Fix circular dependency loop for gioenumtypes.h (#534759).
374 2008-05-19 Hans Breuer <hans@breuer.org>
376 * Makefile.am : EXTRA_DIST += makefile.msc
378 2008-05-17 Matthias Clasen <mclasen@redhat.com>
381 * gcontenttype.c: (g_content_type_from_mime_type):
382 New function to create a content type from a mime type. (#527175,
385 2008-05-17 Matthias Clasen <mclasen@redhat.com>
387 Bug 532965 – Should not return filesystem::free for certain file systems
389 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
390 free space for ncpfs.
392 2008-05-17 Matthias Clasen <mclasen@redhat.com>
394 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
396 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
397 st_dev might be zero.
399 2008-05-16 Tor Lillqvist <tml@novell.com>
401 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
402 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
404 2008-05-13 Bastien Nocera <hadess@hadess.net>
406 * gfile.c (has_valid_scheme): A URI scheme must start with a
407 letter, even if later more characters are allowed (#532852)
409 2008-05-05 Michael Natterer <mitch@imendio.com>
411 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
412 code from being checked in that breaks the build of applications
413 which use G_DISABLE_SINGLE_INCLUDES.
415 * makegioalias.pl: make the alias file include "glib.h" instead of
418 * gio.symbols: whitespace change to force regeneration of the
419 alias file after above script change.
421 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
423 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
425 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
427 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
429 2008-04-28 David Zeuthen <davidz@redhat.com>
431 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
432 displaying mounts in a subdirectory not accessible to the
435 2008-04-22 Michael Natterer <mitch@imendio.com>
437 * Makefile.am: fix library versioning (it was 0.0.0).
439 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
441 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
442 Default disable all loggings.
443 * fen/fen-kernel.c: (printevent), (port_add_kevent),
444 (port_fetch_event_cb): Fixed two macro nits.
446 2008-04-16 Matthias Clasen <mclasen@redhat.com>
448 * xdgmime/xdgmime.c: Rework the timestamp checking code
449 to protect against duplicate directories in XDG_DATA_DIRS.
450 Fixes fd.o bug 12513, reported by Joe Shaw.
452 2008-04-16 Matthias Clasen <mclasen@redhat.com>
454 Partically revert the last commit after realizing that
455 xdg_mime_media_type_equal doesn't have to init at all.
458 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
460 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
462 2008-04-16 Matthias Clasen <mclasen@redhat.com>
464 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
465 reported by Joe Shaw and Federico Mena Quintero.
467 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
468 (xdg_mime_media_type_equal): Turn into a wrapper around the
471 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
472 functions throughout.
474 2008-04-16 Michael Meeks <michael.meeks@novell.com>
476 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
477 tolerate an empty TryExec= line without failing; nautilus used
478 to create launchers with these in previous versions. Fixes #528433
480 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
482 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
483 after name. Fixes #527132.
485 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
487 * gfile.c: (g_file_replace):
490 2008-04-07 Matthias Clasen <mclasen@redhat.com>
492 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
494 * gfile.c (file_copy_fallback): Fix the argument order. Patch
495 by Christian Kellner.
497 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
499 * gunixmounts.c: (g_unix_mount_guess_should_display):
500 Don't list the user directory as a mount, fix potential issue
501 when other users have a similar naming and don't special case the
502 gvfs mounts there since that's not required (#525866)
504 2008-03-31 Alexander Larsson <alexl@redhat.com>
506 * glocalfile.c (get_parent):
509 2008-03-31 A. Walton <awalton@svn.gnome.org>
511 * gfile.c (g_file_query_file_type):
512 Always return a GFileType enum value (#520715).
514 2008-03-31 Alexander Larsson <alexl@redhat.com>
516 * glocalfileenumerator.c:
517 Read readdir() info in chunks (of 1000) and sort
518 the chunks by inode before stat:ing.
519 This is a 20% performance increase in testing
520 gvfs-ls on /usr/bin with cold cache.
522 2008-03-31 Alexander Larsson <alexl@redhat.com>
524 * gmemoryoutputstream.c:
525 Clarify docs for g_memory_output_stream_get_size.
526 Add g_memory_output_stream_get_data_size.
528 2008-03-30 Matthias Clasen <mclasen@redhat.com>
532 * gfile.h: Add g_file_query_file_type convenience function
533 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
535 2008-03-30 Matthias Clasen <mclasen@redhat.com>
538 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
540 2008-03-28 A. Walton <awalton@svn.gnome.org>
542 * giomodule.c (_g_io_modules_ensure_loaded):
543 Adds GIO_EXTRA_MODULES environment variable support, closing bug
546 2008-03-28 Alexander Larsson <alexl@redhat.com>
549 (copy_stream_with_progress):
552 2008-03-28 Alexander Larsson <alexl@redhat.com>
555 (copy_stream_with_progress):
556 (file_copy_fallback):
557 Fallback to g_file_query_info for source size
558 if g_file_input_stream_query_info fails. (#524579)
560 2008-03-28 Alexander Larsson <alexl@redhat.com>
562 * glocalfile.c (g_local_file_move):
563 Reuse old string instead of adding new one.
565 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
567 * fen/*.[hc]: still copyright issue. I hate copyright.
569 2008-03-27 Alexander Larsson <alexl@redhat.com>
571 * glocalfile.c (g_local_file_move):
572 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
573 file over directory. This is according to the docs and what the move via
574 copy+remove fallback does.
576 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
578 * fen/*.[hc]: Updated copyright.
580 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
582 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
584 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
586 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
587 not emit attribute changed events when optimizing changed events.
588 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
591 2008-03-19 Matthias Clasen <mclasen@redhat.com>
593 * gmountoperation.[hc]: Small documentation additions
595 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
597 * gunixmounts.c: (guess_mount_type):
598 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
600 2008-03-19 Alexander Larsson <alexl@redhat.com>
603 (copy_stream_with_progress):
604 Bump block side for copy to 64k to minimize
605 overhead for low latency links. (#523015)
607 2008-03-16 Tor Lillqvist <tml@novell.com>
609 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
610 depend on gio.def on Windows.
612 2008-03-12 David Zeuthen <davidz@redhat.com>
616 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
618 2008-03-14 Alexander Larsson <alexl@redhat.com>
622 Avoid redudant tests (#521851)
623 Patch from Josselin Mouette
625 2008-03-14 Alexander Larsson <alexl@redhat.com>
628 (g_file_monitor_is_cancelled):
629 Fix C89 issue (#521672)
630 Patch from Jens Granseuer
632 2008-03-14 Alexander Larsson <alexl@redhat.com>
634 * fam/fam-helper.[ch]:
636 Shut down fam (including removing fam GSource) when
637 module is unloaded (#521513)
638 Patch from Joe Marcus Clarke
640 2008-03-14 Alexander Larsson <alexl@redhat.com>
643 (_g_io_modules_ensure_loaded):
646 2008-03-14 Alexander Larsson <alexl@redhat.com>
649 (g_local_file_query_filesystem_info):
650 Use right define name for f_fstypename member check
652 2008-03-14 Alexander Larsson <alexl@redhat.com>
655 * fen/Makefile.am: Added.
656 * fen/fen-data.[ch]: Added.
657 * fen/fen-dump.[ch]: Added.
658 * fen/fen-helper.[ch]: Added.
659 * fen/fen-kernel.[ch]: Added.
660 * fen/fen-missing.[ch]: Added.
661 * fen/fen-node.[ch]: Added.
662 * fen/fen-sub.[ch]: Added.
663 * fen/gfendirectorymonitor.[ch]: Added.
664 * fen/gfenfilemonitor.[ch]: Added.
666 Added Solaris FEN file notification backend.
667 Patch from Lin Ma <Lin.Ma@Sun.COM>
669 2008-03-13 Tor Lillqvist <tml@novell.com>
671 * Makefile.am: Actually use the gio.def file when linking the
672 library on Windows. Produce .lib library for Microsoft's toolchain
673 when possible. Install the .lib and .def file like for the other
676 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
678 * tests/live-g-file.c:
679 Include live-g-file in standard set of tests, making a temporary
680 directory in source structure.
682 Clean target directory before the tests (write mode only)
684 2008-03-12 Tor Lillqvist <tml@novell.com>
686 Bug 517419 - gio win32 directory monitor
687 Implementation by Vlad Grecescu.
690 * win32/gwin32directorymonitor.h
691 * win32/gwin32directorymonitor.c: New files.
693 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
695 * Makefile.am: Add the win32 subdirectory.
697 2008-03-12 Tor Lillqvist <tml@novell.com>
699 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
700 normal struct stat on Unix but struct _stati64 on Windows to have
701 access to 64-bit file size information. Use that instead of struct
702 stat in the functions declared here in this private header.
704 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
705 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
706 warnings about unused functions and variables. Don't set
707 meaningless attributes like inode numbers on Windows.
709 2008-03-12 Benjamin Otte <otte@gnome.org>
712 trim whitespace so gtk-doc groks the function name
714 2008-03-12 Tor Lillqvist <tml@novell.com>
716 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
717 returning FALSE, on Win32.
719 2008-03-11 Alexander Larsson <alexl@redhat.com>
722 * glocalfileinfo.[ch]:
723 Correctly implement can_trash by actually
724 looking for a trash dir, not just assuming
727 2008-03-10 Matthias Clasen <mclasen@redhat.com>
729 * === Released 2.16.1 ===
731 2008-03-11 Alexander Larsson <alexl@redhat.com>
734 Fix crashes in new constructor and properties code
736 2008-03-10 Murray Cumming <murrayc@murrayc.com>
738 * gfile.c: Minor spelling correction in documentation:
739 existance -> existence.
741 2008-03-10 Matthias Clasen <mclasen@redhat.com>
743 * === Released 2.16.0 ===
745 2008-03-10 Matthias Clasen <mclasen@redhat.com>
747 * gio.symbols: Remove g_file_contains_file here, too.
749 2008-03-10 Matthias Clasen <mclasen@redhat.com>
751 * gthemedicon.c: Add properties to make bindings happy. (#517676,
752 Samuel Cormier-Iijima)
754 2008-03-08 Tor Lillqvist <tml@novell.com>
756 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
759 2008-03-07 Alexander Larsson <alexl@redhat.com>
762 (g_local_file_query_filesystem_info):
763 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
764 Patch from Jasper Lievisse Adriaanse
766 2008-03-06 Tor Lillqvist <tml@novell.com>
768 * gfileinfo.h: Correct milliseconds to microseconds in the doc
769 comments for the *_USEC attributes.
771 2008-03-06 Alexander Larsson <alexl@redhat.com>
773 * gfile.c (g_file_query_exists):
774 Add g_return_val_if_fail check (#520700)
776 2008-03-06 Alexander Larsson <alexl@redhat.com>
781 * gunionvolumemonitor.c:
784 * tests/live-g-file.c:
785 * xdgmime/xdgmimecache.c:
786 Fix sparse warnings (#519489)
788 2008-03-05 Alexander Larsson <alexl@redhat.com>
791 Make cancellation threadsafe (i.e.
792 guarantee its only done once, and always
795 * glocaldirectorymonitor.c:
796 Make sure we the monitor lives while the
797 mounts_changed callback is being called (#520484)
799 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
801 * gbufferedinputstream.c: Fix typo in parameter
804 2008-03-04 Alexander Larsson <alexl@redhat.com>
807 Remove deprecated symbols we kept for one release.
809 2008-03-04 Murray Cumming <murrayc@murrayc.com>
812 * goutputstream.c: Tiny documentation corrections.
814 2008-03-03 Alexander Larsson <alexl@redhat.com>
816 * gunionvolumemonitor.c:
818 Fix the adopt_orphan_mount vfunc to take a
819 volume_monitor reference in an ABI compat way.
820 This change is not API compat, but the added
821 arg is not used in the only user of this vfunc, so
822 all we get is a harmless warning in gvfs (#520169)
824 2008-03-01 Benjamin Otte <otte@gnome.org>
827 clarify docs for g_file_delete().
829 2008-02-29 Alexander Larsson <alexl@redhat.com>
833 Make sure empty files get text/plain type (#518720)
835 2008-02-27 Alexander Larsson <alexl@redhat.com>
841 (g_unix_volume_mount):
842 Add missing GMountMountFlags argument
844 2008-02-26 Alexander Larsson <alexl@redhat.com>
847 (g_local_file_delete):
848 Handle filesystems (like ntfs-3g) that return EEXIST instead
849 of ENOTEMPTY (#518816)
851 2008-02-25 Matthias Clasen <mclasen@redhat.com>
853 * === Released 2.15.6 ===
855 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
857 * gfile.c (g_file_find_enclosing_mount):
858 * ginputstream.c (g_input_stream_set_pending):
859 * glocalfile.c (g_local_file_find_enclosing_mount):
860 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
861 * goutputstream.c (g_output_stream_set_pending):
863 Fixup translator comments (#518578).
865 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
867 * gfile.c (g_file_find_enclosing_mount):
869 * glocalfile.c (g_local_file_find_enclosing_mount):
872 Fix a few typos in translator comments and documentation.
874 2008-02-25 Alexander Larsson <alexl@redhat.com>
881 Add translator comments (#518578)
883 2008-02-25 Alexander Larsson <alexl@redhat.com>
886 Reintroduce g_file_contains_file, keep around for one
887 unstable release cycle to avoid crashing to many apps.
888 Make sure to delete after release.
890 2008-02-25 Alexander Larsson <alexl@redhat.com>
893 Remove deprecated g_file_contains_file.
895 2008-02-25 Alexander Larsson <alexl@redhat.com>
898 Emit actual change signals in an idle handler.
899 This avoids reentrance and locking problems in
900 the file notification backends.
902 2008-02-25 Alexander Larsson <alexl@redhat.com>
905 (g_unix_mount_guess_should_display):
906 Remove type guessing, instead just display
907 mounts in /media and in ~/.
909 2008-02-25 Alexander Larsson <alexl@redhat.com>
912 Make new strings reuse old ones.
914 2008-02-25 Alexander Larsson <alexl@redhat.com>
917 Implement trashing and filesystem::readonly for win32 (#517235)
918 Patch from Yevgen Muntyan
920 2008-02-23 Matthias Clasen <mclasen@redhat.com>
922 * gfileinfo.h: Documentation fixes.
924 2008-02-22 Alexander Larsson <alexl@redhat.com>
926 * gcontenttype.c (g_content_type_get_icon):
927 Look at old-style gnome mime icon names too, as many
928 have not moved to the new style.
930 2008-02-21 Matthias Clasen <mclasen@redhat.com>
932 * *.c: Correct the @include in for section docs.
934 2008-02-21 David Zeuthen <davidz@redhat.com>
936 * glocalfileinfo.c: (_g_local_file_info_get):
938 (g_content_type_get_icon): Implement this function by
939 moving bits from glocalfileinfo.c
940 (g_content_type_get_description): Unalias before getting
941 description (#517687)
943 * gfile.c: (g_file_class_init),
944 (g_file_query_filesystem_info_async),
945 (g_file_query_filesystem_info_finish),
946 (query_filesystem_info_data_free),
947 (query_filesystem_info_async_thread),
948 (g_file_real_query_filesystem_info_async),
949 (g_file_real_query_filesystem_info_finish):
950 * gfile.h: Implement async version of
951 g_file_query_filesystem_info()
953 * gfileinfo.h: Add new attributes for filesystem::use-preview
955 * gio.symbols: Update
957 * gthemedicon.c: (g_themed_icon_append_name):
958 * gthemedicon.h: Add new new convenience function.
960 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
961 (get_mounts), (get_volumes), (get_connected_drives),
962 (get_volume_for_uuid), (get_mount_for_uuid),
963 (g_union_volume_monitor_init), (populate_union_monitor),
964 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
965 (g_volume_monitor_adopt_orphan_mount):
967 * gvolumemonitor.h: Use recursive locks so it's safe for volume
968 monitor implementations to call into the main volume monitor. Also
969 separate object initialization and volume monitor initialization
970 such that non-native volume monitors can properly adopt their
973 2008-02-21 Alexander Larsson <alexl@redhat.com>
978 2008-02-21 Alexander Larsson <alexl@redhat.com>
981 Add more documentation about how GFiles work (from #517086)
983 2008-02-21 Alexander Larsson <alexl@redhat.com>
987 Add new g_file_has_prefix that does the same as g_file_contains_file.
988 Deprecate g_file_contains_file and add a macro that converts
989 it to g_file_has_prefix.
990 The reason for this change is that the contains_file() name seems to
991 imply that this does more work than what it does, but its really only
992 a name match (from #517086)
997 Update to match the above change.
999 2008-02-20 Benjamin Otte <otte@gnome.org>
1001 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1002 (g_file_eject_mountable):
1003 even more cases of not returning in error path
1005 2008-02-20 Benjamin Otte <otte@gnome.org>
1007 * gfile.c: (g_file_mount_mountable):
1008 return from function in error path.
1010 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1013 Remove trailing coma in GMountMountFlags struct
1015 2008-02-18 Alexander Larsson <alexl@redhat.com>
1019 * glocalfileoutputstream.c:
1020 Use g_unlink/g_rename instead of unlink/rename;
1021 do not pass raw filenames to g_set_error. (#517239)
1022 Patch from Yevgen Muntyan.
1024 2008-02-18 Alexander Larsson <alexl@redhat.com>
1027 * glocalfileoutputstream.c:
1028 Open files with O_BINARY on windows. (#517140)
1030 2008-02-14 Alexander Larsson <alexl@redhat.com>
1032 * glocalfileoutputstream.c:
1033 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1035 2008-02-14 Alexander Larsson <alexl@redhat.com>
1038 Copy permissions with file on copy (#514084)
1039 This is what cp does and makes sure e.g. the
1040 exec permissions are kept.
1041 Its kinda weird in that it keeps the permission bits
1042 the same while the uid and gid are different. However
1043 the new uid is the user so its not a security issue,
1044 and I've heard no complaints about cp on this issue.
1046 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1048 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1050 2008-02-13 Alexander Larsson <alexl@redhat.com>
1052 * inotify/inotify-path.c:
1053 Define IN_ONLYDIR if not in header (#515346)
1055 2008-02-12 Alexander Larsson <alexl@redhat.com>
1057 * tests/live-g-file.c:
1060 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1062 * === Released 2.15.5 ===
1064 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1066 * gio.symbols: Add g_mount_mount_flags_get_type.
1068 2008-02-11 Alexander Larsson <alexl@redhat.com>
1071 (g_file_info_set_attribute_mask):
1072 (g_file_attribute_matcher_matches_id):
1073 Correctly handle NULL GAttributeMatcher meaning
1074 matches nothing. (Fixes #513492)
1076 2008-02-11 Alexander Larsson <alexl@redhat.com>
1081 Added GMountMountFlags enum and added a flags
1082 argument to all mount calls.
1084 This is an API/ABI change for future extensibility,
1085 as I think we will need at least an
1086 inhibit-autorun flag (the panel needs this).
1087 There are no flags defined yet though.
1089 2008-02-11 Alexander Larsson <alexl@redhat.com>
1092 Added new standard::description attribute.
1093 Requested by Vincent, and useful for both
1096 2008-02-11 Alexander Larsson <alexl@redhat.com>
1098 * gdesktopappinfo.c:
1101 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1103 * *.c: Documentation additions
1105 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1107 * gappinfo.h: Formatting cleanup
1108 * gappinfo.c: Fix up docs.
1110 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1112 * gunixmounts.c: Consistently use getmntent_r() and fall
1113 back to getmntent(). (#515492)
1115 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1117 * gbufferedinputstream.c:
1119 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1121 * tests/data-input-stream.c:
1122 * tests/data-output-stream.c: Portability fixes.
1124 2008-02-08 Alexander Larsson <alexl@redhat.com>
1129 Add g_volume_should_automount.
1132 2008-02-07 Tor Lillqvist <tml@novell.com>
1134 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1135 Win32, too Unix-specific.
1137 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1139 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1140 a local plt if the compiler doesn't support what we want. Bug #514702
1142 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1144 reviewed by: <delete if not using a buddy>
1147 * gunixinputstream.c:
1148 * gunixoutputstream.c:
1150 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1152 * tests/Makefile.am:
1153 * tests/live-g-file.c:
1154 * tests/live-g-file.txt:
1155 New GIO testing module working over real data
1157 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1159 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1160 Fallback to rename() if link() is not available
1161 (when no support on target filesystem)
1163 2008-02-06 Michael Natterer <mitch@imendio.com>
1165 * gfileinfo.c (g_file_info_get_icon): replace
1166 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1168 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1170 * gfile.c (g_file_create):
1171 Documentation update of error codes
1173 2008-02-06 Alexander Larsson <alexl@redhat.com>
1175 * gdesktopappinfo.c:
1176 Update to use both mimeapps.list and
1177 defaults.list as discussed on xdg list.
1179 2008-02-06 Benjamin Otte <otte@gnome.org>
1182 * gfilenamecompleter.c:
1183 Fix some typos in the documentation.
1185 2008-02-06 Alexander Larsson <alexl@redhat.com>
1187 * glocalfile.c (g_local_file_trash):
1188 Don't succeed with trash if newly created
1189 trash dir has the wrong owner. (#514696)
1191 2008-02-05 Alexander Larsson <alexl@redhat.com>
1193 * glocalfile.c (g_local_file_move):
1194 Don't spew warnings when destination is not
1197 2008-02-03 Hans Breuer <hans@breuer.org>
1199 * makefile.msc : update
1201 2008-02-01 Michael Natterer <mitch@imendio.com>
1203 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1204 return value of xdg_mime_list_mime_parents() to a variable of the
1207 2008-02-01 Alexander Larsson <alexl@redhat.com>
1209 * gappinfo.c (g_app_info_launch_uris):
1210 Actually call the launch_uris method, not
1213 2008-02-01 Alexander Larsson <alexl@redhat.com>
1215 * gdesktopappinfo.c (g_desktop_app_info_equal):
1216 Ensure appinfos with no id but same pointer value
1219 2008-02-01 Alexander Larsson <alexl@redhat.com>
1221 * gappinfo.c (g_app_info_launch_default_for_uri):
1224 2008-02-01 Alexander Larsson <alexl@redhat.com>
1228 Add g_app_info_launch_default_for_uri utility
1231 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1233 * gdesktopappinfo.c:
1234 Doc fix for g_app_info_get_default_for_uri_scheme ()
1237 2008-01-30 Alexander Larsson <alexl@redhat.com>
1240 Add doc comment about uris vs GFiles to
1243 * gdesktopappinfo.c:
1244 Ensure uris passed to g_app_info_launch_uris()
1245 are not roundtriped through GFile (as that
1246 may be slightly destructive for e.g. mailto: links)
1248 2008-01-30 Alexander Larsson <alexl@redhat.com>
1250 * tests/data-input-stream.c:
1251 * tests/data-output-stream.c:
1252 C89 fixes from Jens Granseuer (#512849)
1254 2008-01-30 Alexander Larsson <alexl@redhat.com>
1257 Fix gamin/fam difference build issue. (#509419)
1259 2008-01-29 Alexander Larsson <alexl@redhat.com>
1262 * gdesktopappinfo.c:
1263 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1265 2008-01-29 Alexander Larsson <alexl@redhat.com>
1267 * gdesktopappinfo.c:
1268 * gdesktopappinfo.h:
1269 giomodule-priv.h include moved to .c file.
1271 2008-01-29 Alexander Larsson <alexl@redhat.com>
1273 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1274 Remove unused prio/name fields.
1276 2008-01-29 Alexander Larsson <alexl@redhat.com>
1278 * gcontenttype.c (looks_like_text):
1279 Don't treat whitespace as control chars.
1281 2008-01-29 Alexander Larsson <alexl@redhat.com>
1283 * gdesktopappinfo.c:
1284 Lazily create the desktop files for appinfos created
1285 by g_app_info_create_from_commandline() when needed
1286 for mime associations. This allows run-time use
1287 of GAppInfo object without creating unnecessary
1290 2008-01-29 Alexander Larsson <alexl@redhat.com>
1293 Added new symbols to gio.symbols
1295 2008-01-29 Alexander Larsson <alexl@redhat.com>
1298 Add g_file_query_default_handler utility to easily look up
1299 the GAppInfo that handles a file.
1301 * gdesktopappinfo.[ch]:
1303 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1306 Remove unused function
1308 2008-01-29 Alexander Larsson <alexl@redhat.com>
1310 * gfileenumerator.c:
1311 Mention need to free returned value in
1312 g_file_enumerator_next_files_finish docs.
1313 Fix leak if g_file_enumerator_next_files_finish()
1316 2008-01-29 Alexander Larsson <alexl@redhat.com>
1319 (_g_unix_content_type_get_parents):
1320 Use list_parents, not get_parents from xdgmime, because
1321 the later doesn't use the cache.
1323 * xdgmime/xdgmimecache.c:
1324 (_xdg_mime_cache_list_mime_parents):
1325 Don't list the same type as parent multiple times.
1327 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1329 * === Released 2.15.4 ===
1331 2008-01-28 Alexander Larsson <alexl@redhat.com>
1334 Register local vfs with prio 0.
1337 Remove old name and prio class members
1339 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1341 * tests/g-file.c: Disable some tests that are failing in
1342 the absence of a http backend.
1344 2008-01-28 Alexander Larsson <alexl@redhat.com>
1348 Add registration hooks for extension points.
1349 Register the gio extension points.
1351 * fam/gfamdirectorymonitor.c:
1352 * fam/gfamfilemonitor.c:
1353 * glocaldirectorymonitor.[ch]:
1354 * glocalfilemonitor.[ch]:
1355 * gnativevolumemonitor.h:
1356 * gunionvolumemonitor.c:
1357 * gunixvolumemonitor.c:
1360 * inotify/ginotifydirectorymonitor.c:
1361 * inotify/ginotifyfilemonitor.c:
1362 Use the extension points registration instead
1363 of g_type_children().
1365 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1368 * gvolume.[hc]: Document new API.
1370 * gfile.c (g_file_copy_async): Fix docs
1372 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1374 * gbufferedinputstream.c:
1376 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1379 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1381 * glocalfile.c: Avoid trivial differences in translatable strings.
1383 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1385 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1386 build with gcc 3.4 (#509419)
1388 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1390 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1391 (#509994, Murray Cumming)
1393 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1395 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1396 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1397 this allows big jobs to be executed in chunks, instead of blocking
1398 the main loop for a long time.
1400 * gsimpleasyncresult.c:
1401 * giofile.c: Adapt callers.
1403 2008-01-25 Alexander Larsson <alexl@redhat.com>
1405 * gdesktopappinfo.c:
1406 Implement changes discussed on xdg list.
1407 Now we can add supported mimetypes by just using defaults.list
1408 We can also remove associations in defaults.list.
1410 2008-01-25 Alexander Larsson <alexl@redhat.com>
1412 * gdesktopappinfo.c:
1413 Don't make local copy of desktop file
1414 for mimetype changes if the file already
1415 supports the new mimetype.
1417 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1421 * gbufferedinputstream.c:
1422 * glocalfile.c: String improvements. (#511966,
1423 Theppitak Karoonboonyanan)
1425 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1427 * gioscheduler.h: Expand docs a bit.
1429 2008-01-24 Alexander Larsson <alexl@redhat.com>
1432 Add g_drive_get_identifier and
1433 g_drive_enumerate_identifiers
1436 Add g_volume_get_identifier and
1437 g_volume_enumerate_identifiers
1443 Implement identifiers for unix backend
1445 2008-01-24 Alexander Larsson <alexl@redhat.com>
1450 Add g_file_copy_async() (#511580)
1451 Based on patch from Carlos Garcia Campos
1453 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1455 * gioscheduler.c: Some documentation additions.
1457 2008-01-22 Alexander Larsson <alexl@redhat.com>
1459 * gdesktopappinfo.c:
1460 (g_desktop_app_info_new):
1461 Don't leak basename.
1463 2008-01-22 Alexander Larsson <alexl@redhat.com>
1465 * gdesktopappinfo.c:
1466 (g_desktop_app_info_new_from_filename):
1469 2008-01-22 Alexander Larsson <alexl@redhat.com>
1471 * glocalfileinfo.c (get_thumbnail_attributes):
1474 2008-01-22 Alexander Larsson <alexl@redhat.com>
1477 (canonicalize_filename):
1478 Canonicalize paths that start with more than
1482 (compare_two_files):
1483 (test_g_file_new_for_path):
1486 2008-01-22 Alexander Larsson <alexl@redhat.com>
1489 Allow UTF-8 in file:// parse names.
1491 * tests/Makefile.am:
1492 * tests/data-input-stream.c:
1493 * tests/data-output-stream.c:
1494 * tests/g-file-info.c:
1496 Added a bunch of tests from Tomas Bzatek
1498 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1500 * === Released 2.15.3 ===
1502 2008-01-21 Alexander Larsson <alexl@redhat.com>
1504 * gfileinputstream.[ch]:
1505 * gfileoutputstream.[ch]:
1507 Remove duplicated GSeekable functions. (#509990)
1508 Just use the g_seekable_xxx() calls instead.
1510 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1513 * gvolumemanager.c: Whitespace cleanups.
1515 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1516 Use the right mode when creating the file.
1518 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1520 * gfileenumerator.c:
1521 * gfileinputstream.c:
1523 * goutputstream.c: Documentation: Fixed minor typos
1524 and added more mentions of specific _finish() functions.
1526 2008-01-21 Alexander Larsson <alexl@redhat.com>
1528 * inotify/Makefile.am:
1529 * inotify/inotify-helper.c:
1530 * inotify/inotify-kernel.c:
1531 * inotify/inotify-path.c:
1532 * inotify/local_inotify.h: Removed.
1533 * inotify/local_inotify_syscalls.h: Removed.
1534 Removed the included copies of the inotify
1535 headers. We now only use the <sys/inotify.h>
1536 header which exists on modern systems.
1537 This fixes problems on ARM and SH5 (#510448)
1538 but is also generally much cleaner and future
1539 safe. For instance, if other OSes add support
1540 for inotify it should "just work".
1542 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1544 * inotify/*.c: Coding style fixes.
1545 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1546 for the 1/4 Hz timer.
1548 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1551 * gfilemonitor.[hc]:
1552 * gmemoryinputstream.c:
1553 * gmemoryoutputstream.c:
1554 * gmountoperation.c:
1555 * gthemedicon.c: Documentation updates
1557 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1559 * gfile.c: documentation: Fixed more minor
1562 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1564 * gmount.c: (g_mount_remount): documentation:
1565 Mention g_mount_remount_finish() instead of
1566 g_mount_unmount_finish().
1568 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1572 * gfile.c: Fixed some minor typos in the
1575 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1577 * gio/gvolumemonitor.c:
1578 (g_volume_monitor_get_connected_drives):
1579 (g_volume_monitor_get_volumes):
1580 (g_volume_monitor_get_mounts): Documentation:
1581 Clarify the ownership of the regurn GLists.
1583 2008-01-17 Alexander Larsson <alexl@redhat.com>
1586 Add the async find_enclosing_mount version
1587 to the header file too.
1589 2008-01-17 Alexander Larsson <alexl@redhat.com>
1592 Add async version of find_enclosing_mount
1593 with default implementation.
1595 2008-01-17 Alexander Larsson <alexl@redhat.com>
1600 Allow calls to implementation of copy and write
1601 even if the type of the file implementations is
1602 different. This can be used to implement native
1603 upload and download calls in a vfs.
1606 (g_local_file_move):
1607 Protect against the case where move is called
1608 with one file not being local.
1610 Make sure we call the progress callback once
1611 in the native move operation so that the caller
1612 knows how many bytes were copied.
1614 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1617 * gdatainputstream.c:
1619 * gfileoutputstream.c:
1624 * gunixmounts.c: Corrected some typos in the documentation:
1625 occured -> occurred.
1626 its -> it's (where appropriate).
1628 2008-01-16 Alexander Larsson <alexl@redhat.com>
1632 Add g_file_query_exists (#508771)
1634 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1639 * gvolume.c: For async functions that have no non-async
1640 version, document that the GAsyncReadyCallback may be NULL.
1643 2008-01-15 Alexander Larsson <alexl@redhat.com>
1645 * gmemoryinputstream.c:
1646 * gmemoryoutputstream.c:
1647 Don't do pointer arithmetic on void * (#508602)
1648 Patch from Kazuki IWAMOTO
1650 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1652 * === Released 2.15.2 ===
1654 2008-01-14 Alexander Larsson <alexl@redhat.com>
1656 * gfile.c (g_file_monitor_file):
1657 Don't set error here, since we fallback to polling monitor.
1659 2008-01-14 Alexander Larsson <alexl@redhat.com>
1662 (g_file_monitor_directory):
1663 (g_file_monitor_file):
1664 Add GError to file monitor calls
1666 * glocaldirectorymonitor.c:
1667 * glocaldirectorymonitor.h:
1669 * glocalfilemonitor.c:
1670 * glocalfilemonitor.h:
1672 Update for above change
1674 2008-01-14 Alexander Larsson <alexl@redhat.com>
1678 Handle root correctly in g_file_get_relative_path (#508719)
1680 2008-01-14 Alexander Larsson <alexl@redhat.com>
1683 Clean up docs and example for GAsyncResult (#508074)
1685 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1687 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1688 and correct some spelling mistakes. Bug #508108.
1690 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1692 * glocalfileinfo.c: Add a comment.
1694 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1696 * gfileinfo.c: GFileInfo description: Mention
1697 how to actually set attributes in a GFile and how to discover
1698 which attributes are settable. Bug #508378.
1700 2008-01-10 A. Walton <awalton@svn.gnome.org>
1702 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1703 (g_app_info_get_default_for_type):
1704 Check for NULL content types.
1706 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1708 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1710 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1712 * gfile.c: *_async() functions: Several small corrections
1713 to the documentation, mostly correcting copy/paste errors
1714 and improving some sentences.
1716 2008-01-09 Dan Winship <danw@gnome.org>
1718 * glocalfile.c (get_unique_filename): x86_64 fix
1720 2008-01-09 Alexander Larsson <alexl@redhat.com>
1725 Add g_unix_mount_guess_should_display and use
1726 for unix volume monitor backend.
1727 This means we more or less show what the
1728 gnome-vfs backend did.
1729 Based on patch from Padraig O'Briain
1731 2008-01-09 Alexander Larsson <alexl@redhat.com>
1735 Add g_themed_icon_new_with_default_fallbacks
1738 Use default fallbacks for icons
1740 2008-01-09 Alexander Larsson <alexl@redhat.com>
1743 * gmountoperation.[ch]:
1744 Change the API a bit so that unhandled methods
1745 get reported via the reply, rather than by
1746 the signal emission return value. This is because
1747 some handlers can't know this immediately without
1748 doing I/O, and this is an async operation that
1751 2008-01-09 Alexander Larsson <alexl@redhat.com>
1754 * fam/gfamdirectorymonitor.c:
1755 * fam/gfamfilemonitor.c:
1756 Fix double free crash (#508224)
1757 Patch from Joe Marcus Clarke
1759 008-01-07 Matthias Clasen <mclasen@redhat.com>
1761 * === Released 2.15.1 ===
1763 2008-01-07 Alexander Larsson <alexl@redhat.com>
1765 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1766 Fix warning (#507835)
1768 2008-01-07 Alexander Larsson <alexl@redhat.com>
1771 Pass --internal to glib-genmarshal
1774 * gmountoperation.c:
1776 Use better types for signal arguments (#507822)
1778 2008-01-07 Alexander Larsson <alexl@redhat.com>
1781 Build test subdir after .
1782 Remove gdirectorymonitor.[ch]
1784 * gdirectorymonitor.[ch]:
1788 Remove GDirectoryMonitor and make
1789 GFileMonitor the baseclass for both file and
1790 directory monitors. Lift the more generic
1791 rate limiting code from GDirectoryMonitor
1795 * fam/gfamdirectorymonitor.[ch]:
1796 * inotify/ginotifydirectorymonitor.[ch]:
1797 * inotify/inotify-helper.c:
1798 * glocaldirectorymonitor.[ch]:
1801 Update for the removed GDirectoryMonitor.
1803 * gmemoryoutputstream.c:
1804 Remove ununsed variable
1806 2008-01-07 Alexander Larsson <alexl@redhat.com>
1808 * gmemoryinputstream.c:
1809 Translate error strings
1812 * gmemoryoutputstream.[ch]:
1813 New implementation that avoids using GByteArray
1814 in implementation and API. (#506377)
1816 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1818 * tests/*: Add a test for memory input streams.
1820 * Makefile.am: Add tests to SUBDIRS.
1822 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1824 * glocalfilemonitor.c:
1825 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1828 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1830 * gdesktopappinfo.c: Fix a docs typo.
1832 * gfileattribute.c: Add information about extended attributes
1833 to the documentation. (#505058)
1835 2008-01-04 Alexander Larsson <alexl@redhat.com>
1838 * gmountoperation.c:
1839 Use the right type (uint) for the ask_password signal.
1841 2008-01-04 Alexander Larsson <alexl@redhat.com>
1846 Add g_app_info_supports_files()
1847 Remove desktop arg from g_app_info_should_show().
1849 * gdesktopappinfo.[ch]:
1850 Implement g_app_info_supports_files() and new should_show()
1851 Add g_desktop_app_info_set_desktop_env() to set the desktop
1852 for should_show(). (This will be set by gtk+ later)
1854 2008-01-04 Alexander Larsson <alexl@redhat.com>
1857 * gmemoryinputstream.[ch]:
1858 Improve API so that you can use multiple chunks
1859 of memory and custom destroy functions. (#506374)
1861 2008-01-03 Alexander Larsson <alexl@redhat.com>
1864 Handle NULL attribute matchers safely, as we return this
1865 for empty attribute matcher strings.
1867 2008-01-03 Alexander Larsson <alexl@redhat.com>
1869 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1870 Add /usr/local to list of internal mountpoints
1872 2008-01-03 Alexander Larsson <alexl@redhat.com>
1875 Check for HAVE_LCHOWN (#505887)
1877 2008-01-03 Alexander Larsson <alexl@redhat.com>
1881 Add define for selinux context attribute.
1882 Fix missing : -> :: namespace separator change
1883 Fix missing _ -> - name change for xattr-sys.
1886 2008-01-03 Alexander Larsson <alexl@redhat.com>
1889 Link to libglib and libgobject directly (#504879)
1890 Patch from Sebastien Bacher
1892 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1894 * gfile.c: Expanded the g_file_new_for_commandline_arg
1895 description a bit, based on the code and the docs of the
1896 other g_file_new_for_* functions.
1898 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1900 * gfilemonitor.h: Fixed typo in docs.
1902 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1904 Updates to GIO documentation. (#506395, Mikael Hermansson)
1906 * gcontenttype.c: Describe memory management for return value of
1907 g_content_types_get_registered(). Missing piece from #505815.
1908 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1909 GVolume, GDrive, GMounts, which hopefully gives the user less
1910 confusions when using this API. Following explainations from
1911 Alexander Larsson on gtk-devel-list.
1913 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1915 * gfileinfo.c: Expand the long description.
1917 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1920 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1921 fix builds with --disable-visibility. (#500273, Christian Persch)
1923 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1925 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1926 in the list of returned app infos.
1928 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1930 * gappinfo.c: Fix a cross-reference
1932 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1934 * gfileinputstream.c:
1935 * gfileoutputstream.c:
1939 * gdesktopappinfo.c:
1941 * gfileinfo.c: Documentation updates.
1943 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1945 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1948 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1950 * gcontenttype.c (g_content_types_get_registered): Don't return
1951 freed memory (#505815, Mikael Hermansson)
1953 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1955 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1956 used to detect statbuf->st_blocks. (#505042)
1958 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1960 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1961 environment handling. (#504829, Cosimo Cecchi)
1963 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1965 * gappinfo.c: Doc improvements
1967 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1970 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1972 * === Released 2.15.0 ===
1974 2007-12-20 Hans Breuer <hans@breuer.org>
1976 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1977 with symbols gwin32appinfo.obj, added gmount.obj
1978 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1980 2007-12-20 Alexander Larsson <alexl@redhat.com>
1986 * gfilenamecompleter.c:
1989 * gpollfilemonitor.c:
1990 File attribute renames:
1992 fs:: -> filesystem::
1993 id::fs -> id::filesystem
1995 2007-12-20 Alexander Larsson <alexl@redhat.com>
2004 Add GMountUnmountFlags to all unmount and
2006 Add g_mount_remount() call.
2008 2007-12-20 Alexander Larsson <alexl@redhat.com>
2010 * gvfs.c (get_default_vfs):
2011 Fix unused variable warning
2013 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2015 * pltcheck.sh: Update
2017 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2019 * gunionvolumemonitor.c:
2020 * gunixmount.c: Remove C99 comments
2022 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2024 * gio.symbols: Add some missing symbols
2026 2007-12-19 Alexander Larsson <alexl@redhat.com>
2029 Make g_io_modules_load_all_in_directory not unuse
2030 loaded modules so that users of it can do stuff
2032 Init internal "module" types.
2033 Initialize static prio and name for types so that
2034 we don't have to load modules to get it.
2036 * gnativevolumemonitor.h:
2038 Move is_supported to parent class so that
2039 non-native monitors can avoid being initialized
2040 too. (For instance GDaemonVolumeMonitor if we're
2041 not using GDaemonVfs.)
2043 * glocaldirectorymonitor.[ch]:
2044 * glocalfilemonitor.[ch]:
2045 * gunionvolumemonitor.c:
2046 * gunixvolumemonitor.c:
2048 Find plugins using the static prio+name to
2049 avoid unnecessarily loading the modules.
2051 2007-12-19 Alexander Larsson <alexl@redhat.com>
2056 2007-12-19 Alexander Larsson <alexl@redhat.com>
2058 * gunionvolumemonitor.c:
2059 Store the native type as GType, not class so that
2060 we can unload it. But still avoid unnecessarily
2063 2007-12-19 David Zeuthen <davidz@redhat.com>
2065 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2066 add signals 'disconnected' and 'eject-button' on GDrive. Add
2067 signal 'removed' on GVolume and 'unmounted' on GMount.
2069 * gdrive.c: (g_drive_base_init):
2071 * gfile.c: (g_file_mount_mountable),
2072 (g_file_mount_enclosing_volume):
2075 * gmount.c: (g_mount_base_init):
2077 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2078 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2079 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2083 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2085 * *.c: Fix up includes in the section docs.
2087 2007-12-17 Alexander Larsson <alexl@redhat.com>
2089 * gnativevolumemonitor.h:
2090 * gunionvolumemonitor.c:
2091 * gunixvolumemonitor.c:
2092 Add is_supported() to GNativeVolumeMonitorClass so
2093 that we can avoid having to create an object to see
2094 if the backend is supported at runtime.
2095 Also add name member and an env var to pick a specific
2096 volume monitor backend.
2100 Add cancellable to _g_mount_get_for_mount_path()
2102 * glocaldirectorymonitor.c:
2103 * glocalfilemonitor.c:
2104 Avoid loading and unloading modules while sorting.
2106 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2109 * gunixmounts.[hc]: Namespace waste reduction, move some
2110 g_get_unix_mount functions to the g_unix_mount namespace.
2113 * gunixvolumemonitor.c:
2115 * glocaldirectorymonitor.c: Update all callers.
2117 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2119 2007-12-17 Alexander Larsson <alexl@redhat.com>
2122 Add doc comments about what GFile operations are
2123 guaranteed to not block.
2125 2007-12-17 Alexander Larsson <alexl@redhat.com>
2128 Add missing #ifdef fixing OSX build.
2129 (#503334, patch from Richard Hult)
2131 2007-12-14 David Zeuthen <davidz@redhat.com>
2135 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2136 (g_mount_eject), (g_mount_eject_finish):
2138 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2139 (get_volume_for_uuid), (get_mount_for_uuid),
2140 (g_union_volume_monitor_class_init),
2141 (get_default_native_type_with_exclude), (get_default_native_type),
2142 (get_native_type), (update_native_type),
2143 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2144 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2145 (g_unix_mount_can_eject), (eject_unmount_cb),
2146 (eject_unmount_read_error), (eject_unmount_do),
2147 (g_unix_mount_unmount), (g_unix_mount_eject),
2148 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2149 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2150 (g_unix_mount_point_guess_can_eject):
2152 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2153 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2154 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2155 (g_unix_volume_mount), (g_unix_volume_eject),
2156 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2157 * gunixvolumemonitor.c: (get_volume_for_uuid),
2158 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2160 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2161 (g_volume_eject), (g_volume_eject_finish):
2163 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2164 (g_volume_monitor_get_mount_for_uuid):
2167 Provide eject() on both GMount and GVolume and utility functions
2168 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2169 ejected. Introduce the concept of UUID's and wire it into GVolume
2170 and GMount and provide API on GVolumeMonitor to find such
2171 instances. Also handle the case where an external
2172 GNativeVolumeMonitor fails to initialize. Lock around the
2173 _g_get_mount_for_mount_path() function such that volume monitor
2174 implementations won't have to do locking themselves.
2176 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2178 * gdesktopappinfo.c:
2184 * gvolume.h: Documentation updates
2186 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2189 * gfile.h: Doc updates
2191 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2194 * gdesktopappinfo.c: Use hash table iterators.
2196 2007-12-14 Alexander Larsson <alexl@redhat.com>
2199 * gfileattribute.[ch]:
2200 * gfileattribute-priv.h:
2201 Move GFileAttributeValue to a private header, as
2205 Make set_attribute take a type + a pointer instead
2206 of a GFileAttributeValue.
2209 Fix up for above changes.
2210 Add g_file_info_get_attribute_data to get
2211 all info in one call, g_file_info_get_attribute_status
2212 to get the status and g_file_info_get_attribute_as_string.
2216 * glocalfileinfo.[ch]:
2220 Make _guess_type static.
2222 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2225 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2226 made mkenums and friends use temporary files to avoid leaving
2227 empty generated files on failure (#503470).
2229 2007-12-14 Alexander Larsson <alexl@redhat.com>
2231 * gmountoperation.h:
2234 2007-12-14 Alexander Larsson <alexl@redhat.com>
2238 * gfileattribute.[ch]:
2241 * glocalfileoutputstream.c:
2242 * gmountoperation.[ch]:
2243 * goutputstream.[ch]:
2244 Clean up all flags enums to not have _FLAGS in them
2245 Make the names of some of the enums better.
2250 2007-12-14 Michael Natterer <mitch@imendio.com>
2252 * gio.symbols: fix g_io_scheduler symbol names.
2254 2007-12-14 Alexander Larsson <alexl@redhat.com>
2260 * gbufferedinputstream.h:
2261 * gbufferedoutputstream.h:
2264 * gdatainputstream.h:
2265 * gdataoutputstream.h:
2266 * gdesktopappinfo.h:
2267 * gdirectorymonitor.h:
2271 * gfileenumerator.h:
2274 * gfileinputstream.h:
2276 * gfilenamecompleter.h:
2277 * gfileoutputstream.h:
2278 * gfilterinputstream.h:
2279 * gfilteroutputstream.h:
2287 * gmemoryinputstream.h:
2288 * gmemoryoutputstream.h:
2290 * gmountoperation.h:
2293 * gsimpleasyncresult.h:
2295 * gunixinputstream.h:
2297 * gunixoutputstream.h:
2301 * inotify/Makefile.am:
2302 Only allow including <gio/gio.h> from apps
2304 2007-12-14 Alexander Larsson <alexl@redhat.com>
2306 * gioscheduler.[ch]:
2307 * gsimpleasyncresult.c:
2308 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2309 Split out the send_to_mainloop call into two versions instead
2310 of having the block argument.
2312 2007-12-13 Alexander Larsson <alexl@redhat.com>
2314 * gcancellable.[ch]:
2316 * gbufferedinputstream.c:
2317 * gfileenumerator.c:
2318 * gfileinputstream.c:
2319 * gfileoutputstream.c:
2323 g_push/pop_current_cancellable ->
2324 g_cancellable_push/pop_current
2326 2007-12-13 Alexander Larsson <alexl@redhat.com>
2330 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2332 2007-12-13 Alexander Larsson <alexl@redhat.com>
2334 * gmountoperation.h:
2335 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2337 2007-12-12 Alexander Larsson <alexl@redhat.com>
2340 Fix race condition when freeing proxy in
2341 g_io_job_send_to_mainloop().
2343 2007-12-12 Alexander Larsson <alexl@redhat.com>
2349 Make attribute namespace separator "::" instead of ":".
2350 Use - instead of _ as separator in attribute names.
2352 2007-12-12 Alexander Larsson <alexl@redhat.com>
2354 * gbufferedinputstream.h:
2355 * gbufferedoutputstream.h:
2356 * gdatainputstream.h:
2357 * gdataoutputstream.h:
2358 * gdirectorymonitor.h:
2359 * gfileenumerator.h:
2360 * gfileinputstream.h:
2362 * gfileoutputstream.h:
2363 * gfilterinputstream.h:
2364 * gfilteroutputstream.h:
2366 * glocalfileinputstream.h:
2367 * glocalfileoutputstream.h:
2368 * gmemoryinputstream.h:
2369 * gmemoryoutputstream.h:
2370 * gnativevolumemonitor.h:
2372 * gunixinputstream.h:
2373 * gunixoutputstream.h:
2376 s/parent/parent_instance/ in GObjects
2378 2007-12-12 Alexander Larsson <alexl@redhat.com>
2383 No need for padding for interfaces
2385 2007-12-12 Alexander Larsson <alexl@redhat.com>
2389 * gbufferedinputstream.c:
2390 * gbufferedoutputstream.c:
2393 * gdatainputstream.[ch]:
2394 * gdesktopappinfo.c:
2395 * gdirectorymonitor.c:
2397 * gfileattribute.[ch]:
2400 * gfileinputstream.h:
2401 * gfilemonitor.[ch]:
2402 * gfileoutputstream.[ch]:
2403 * gfilterinputstream.h:
2404 * gfilteroutputstream.h:
2407 * gloadableicon.[ch]:
2408 * gmemoryinputstream.c:
2409 * gmountoperation.c:
2411 Fix up a bunch of details in the docs.
2416 2007-12-11 David Zeuthen <davidz@redhat.com>
2418 Rework how volumes, drives and volume monitoring is
2419 done. Previosly the model was
2421 GDrive <1-1> GVolume
2423 where a GDrive instance represented a mount point and a GVolume
2424 instance represented a mounted file system. This patch changes it
2427 GDrive <1-N> GVolume <1-1> GMount
2429 where GMount now serves the purpose of the old GVolume and the new
2430 GVolume serves the purpose of the old GDrive. In addition the new
2431 GDrive interface is used to represent a collection of GVolume
2432 instances (typically partitions) and also contains utility to query
2433 the state of the physical drive the GDrive object represents (such
2434 as checking for media, polling the drive, ejecting the media etc.).
2436 Also implement mounting and unmounting in the Unix volume monitor
2437 backend. A subquent patch will introduce GDrive support for ejection
2441 * gdrive.c: (g_drive_is_media_check_automatic),
2442 (g_drive_is_media_removable), (g_drive_has_media),
2443 (g_drive_can_poll_for_media), (g_drive_eject),
2444 (g_drive_eject_finish), (g_drive_poll_for_media),
2445 (g_drive_poll_for_media_finish):
2447 * gfile.c: (g_file_find_enclosing_mount):
2450 * glocaldirectorymonitor.c:
2451 (g_local_directory_monitor_constructor), (mounts_changed):
2452 * glocalfile.c: (get_mount_info),
2453 (g_local_file_find_enclosing_mount),
2454 (g_local_file_file_iface_init):
2455 * gnativevolumemonitor.h:
2456 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2457 (get_connected_drives), (g_union_volume_monitor_class_init),
2458 (child_volume_added), (child_volume_removed),
2459 (child_volume_changed), (child_mount_added), (child_mount_removed),
2460 (child_mount_pre_unmount), (child_mount_changed),
2461 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2462 (g_union_volume_monitor_remove_monitor),
2463 (_g_mount_get_for_mount_path):
2464 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2465 (guess_system_internal), (_g_get_unix_mounts),
2466 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2467 (g_unix_mount_free), (g_unix_mount_compare),
2468 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2469 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2470 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2471 (type_to_icon), (g_unix_mount_guess_name),
2472 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2473 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2474 (_resolve_symlink), (_resolve_dev_root):
2476 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2477 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2478 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2479 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2480 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2481 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2482 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2483 (g_unix_volume_volume_iface_init):
2485 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2486 (get_mounts), (get_volumes), (get_connected_drives),
2487 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2488 (mountpoints_changed), (mounts_changed),
2489 (g_unix_volume_monitor_init),
2490 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2491 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2492 * gunixvolumemonitor.h:
2493 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2494 (g_volume_mount), (g_volume_mount_finish):
2496 * gvolumemonitor.c: (g_volume_monitor_class_init),
2497 (g_volume_monitor_get_connected_drives),
2498 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2501 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2503 * gmountoperation.h (GPasswordFlags): Close the gap
2505 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2507 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2509 * gdesktopappinfo.[hc]: Remove _-prefixes
2511 2007-12-10 Tor Lillqvist <tml@novell.com>
2513 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2516 2007-12-10 Alexander Larsson <alexl@redhat.com>
2518 * gfile.c (g_file_set_display_name):
2519 Don't hardcode '/' (#502727)
2521 2007-12-09 Hans Breuer <hans@breuer.org>
2523 * makefile.msc : follow lib naming convention
2524 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2525 for user and group name, tested with ../tests/gio-ls
2527 2007-12-09 A. Walton <awalton@svn.gnome.org>
2529 * gdesktopappinfo.c:
2535 * gfileenumerator.c:
2540 * gmemoryinputstream.c:
2541 * gmemoryoutputstream.c:
2543 * gsimpleasyncresult.c:
2544 More documentation cleanup and filling in missing information, bringing
2545 GIO to 99% symbol coverage.
2547 2007-12-08 Hans Breuer <hans@breuer.org>
2549 [gio compiles and links on win32, not sure how much already works]
2550 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2551 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2552 base on win32 API; prefer g_lstat() over lstat(); instead of
2553 localtime_r() use an all GLib implementation on win32;
2554 get_mount_info() still needs a win32 specifc implementation
2555 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2556 win32_get_file_user_info to get owner/group info without uid/gid
2557 * glocalfileinputstream.c : include <io.h> on win32
2558 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2559 definition, use g_win32_ftruncate() for G_OS_WIN32
2560 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2561 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2562 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2563 * makefile.msc : updated
2565 2007-12-07 Alexander Larsson <alexl@redhat.com>
2567 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2568 Avoid warning spew if error == NULL
2570 2007-12-07 Alexander Larsson <alexl@redhat.com>
2573 Update docs wrt etags
2575 2007-12-06 Alexander Larsson <alexl@redhat.com>
2578 Include sys/types.h for dev_t (#501919)
2580 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2584 Make abicheck and pltcheck pass.
2586 2007-12-05 Alexander Larsson <alexl@redhat.com>
2589 * giomodule-priv.h: Added.
2590 * glocaldirectorymonitor.c:
2591 * glocalfilemonitor.c:
2592 * gunionvolumemonitor.c:
2594 Actually add the declaration of _g_io_modules_ensure_loaded
2596 2007-12-05 Alexander Larsson <alexl@redhat.com>
2598 * gdatainputstream.c:
2603 * glocaldirectorymonitor.c:
2604 * glocalfilemonitor.c:
2605 * gunionvolumemonitor.c:
2607 Make g_io_modules_ensure_loaded a private function and
2608 don't pass in the dirname. This means we can do magic
2609 directory finding in the win32 version.
2610 Export the actual load-modules-in-directory code so that
2611 gvfs can reuse that.
2613 2007-12-05 Alexander Larsson <alexl@redhat.com>
2615 * gbufferedinputstream.c:
2616 * gbufferedoutputstream.c:
2619 * gfileenumerator.[ch]:
2620 * gfileinputstream.c:
2621 * gfileoutputstream.[ch]:
2622 * gfilterinputstream.c:
2623 * gfilteroutputstream.c:
2624 * ginputstream.[ch]:
2626 * glocalfileenumerator.c:
2627 * glocalfileinputstream.c:
2628 * glocalfileoutputstream.c:
2629 * gmemoryinputstream.c:
2630 * gmemoryoutputstream.c:
2631 * goutputstream.[ch]:
2634 * gunixinputstream.c:
2635 * gunixoutputstream.c:
2636 Rename all struct members named:
2637 read, write, close, truncate, or mount
2638 to foo_fn, as these are reserved names
2639 and could be defined as macros in libc.
2642 2007-12-04 Alexander Larsson <alexl@redhat.com>
2645 (g_output_stream_close):
2646 Only call flush if non-null.
2648 2007-11-30 Dan Winship <danw@gnome.org>
2650 * ginputstream.c (g_input_stream_set_pending): Make this take a
2651 GError and return a gboolean, and do the "outstanding operation"
2652 check (and the "stream is already closed" check) itself.
2653 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2655 * goutputstream.c (g_output_stream_set_pending)
2656 (g_output_stream_clear_pending): Likewise
2658 * gbufferedinputstream.c:
2659 * gfileinputstream.c:
2660 * gfileoutputstream.c: Update for that
2662 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2663 Like g_simple_async_report_error_in_idle, but takes a GError
2664 rather than building one.
2666 2007-11-30 Dan Winship <danw@gnome.org>
2668 * goutputstream.c: Don't cheat and unset the "pending" flag around
2669 inner calls. Instead, call the class method directly rather than
2670 the wrapper function that checks "pending"
2672 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2674 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2676 2007-12-03 Hans Breuer <hans@breuer.org>
2678 [start of port to win32/msvc]
2679 * gcancellable.c : HAVE_UNIST_H and _pipe()
2680 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2681 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2682 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2684 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2685 * glocalvfs.c : use HAVE_PWD_H
2686 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2687 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2688 * Makefile.am : added to EXTRA_DIST
2690 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2692 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2695 2007-12-03 Alexander Larsson <alexl@redhat.com>
2698 Handle OSX style xattrs API (#500506)
2700 2007-12-03 Alexander Larsson <alexl@redhat.com>
2704 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2706 2007-12-02 A. Walton <awalton@svn.gnome.org>
2710 Documentation accuracy fixes.
2712 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2714 * gioenumtypes.c.template: Fix typo.
2716 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2718 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2720 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2722 * gdirectorymonitor.c:
2723 * gfilemonitor.c: Add properties
2725 * gbufferedoutputstream.c: Don't mark buffer-size property
2728 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2730 * gbufferedoutputstream.c: Add auto-grow property.
2732 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2734 * *.c: Unify the capitalization of section headings.
2736 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2738 * gmountoperation.c: Add properties
2740 * gdatainputstream.c: Turn byte-order and newline-type into
2743 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2745 * gioenumtypes.[hc].template: Templates for enum registration
2747 * Makefile.am: Generate gioenumtypes.[hc]
2749 * gio.h: Include gioenumtypes.h
2751 * gfile.h: Add some explicit nicks.
2753 * gio.symbols: Add new symbols
2755 * pltcheck.sh: Adjust
2757 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2759 * *.c: Explain etags and link to the explanation
2761 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2763 * *.c: Explain I/O priority.
2765 * *.c: More coding style fixes.
2767 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2769 * gasyncresult.c: Add another paragraph to the intro,
2770 adjust coding style of example.
2772 2007-11-29 A. Walton <awalton@svn.gnome.org>
2775 Fixes unknown meaning in GAppLaunchContext docs.
2777 Clarify asynchronous ops.
2779 Fix entity tag docs.
2782 Provides missing gtk-doc section, fixes API docs slighly.
2783 * gsimpleasyncresult.c:
2784 Fill in missing info in docs.
2785 * gunixinputstream.c:
2786 * gunixoutputstream.c:
2787 Be more expressive in short description.
2789 Remove gtk-doc stubs for non-public API.
2791 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2793 * *.c: Coding style fixups
2795 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2797 * inotify/inotify-helper.c: Don't export the lock from libgio.
2799 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2802 * abicheck.sh: Fix copy-and-paste leftovers
2804 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2806 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2808 2007-11-28 Alexander Larsson <alexl@redhat.com>
2812 Removed unnecessary file
2814 * gdesktopappinfo.[ch]:
2817 * glocaldirectorymonitor.[ch]:
2819 * glocalfileenumerator.[ch]:
2820 * glocalfileinputstream.[ch]:
2821 * glocalfilemonitor.[ch]:
2822 * glocalfileoutputstream.[ch]:
2824 * gnativevolumemonitor.c:
2825 * gpollfilemonitor.[ch]:
2826 * gunionvolumemonitor.[ch]:
2829 * gunixvolumemonitor.[ch]:
2832 * inotify/ginotifydirectorymonitor.[ch]:
2833 * inotify/ginotifyfilemonitor.[ch]:
2834 * inotify/inotify-helper.c:
2835 Append _ to all internal functions
2839 Export symbols needed for modules
2841 2007-11-28 Alexander Larsson <alexl@redhat.com>
2844 * abicheck.sh: Added.
2845 * makegioalias.pl: Added.
2846 * pltcheck.sh: Added.
2847 * gio.symbols: Added.
2850 Initial work on adding symbol handling.
2853 Correct ifdef guard name
2856 * inotify/Makefile.am:
2857 * xdgmime/Makefile.am:
2858 Include toplevel Makefile.decl
2860 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2862 * gcontenttype.c: Move doc comments to the unix section.
2864 * *.[hc]: More trivial doc corrections.
2866 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2868 * gpollfilemonitor.c:
2872 * gdesktopappinfo.c:
2877 * gdatainputstream.c:
2878 * gdatainputstream.h:
2879 * gdataoutputstream.c:
2880 * gdataoutputstream.h:
2881 * gfileinfo.h: Doc cleanups
2883 2007-11-28 Andre Klapper <a9016009@gmx.de>
2885 * gdesktopappinfo.c: Fix a typo.
2887 2007-11-27 Andre Klapper <a9016009@gmx.de>
2889 * glocalfileoutputstream.c: Fix a typo.
2891 2007-11-27 Alexander Larsson <alexl@redhat.com>
2894 Don't include removed headers
2896 2007-11-27 Alexander Larsson <alexl@redhat.com>
2899 * gsocketinputstream.[ch]: Removed.
2900 * gsocketoutputstream.[ch]: Removed.
2901 * gunixinputstream.[ch]: Added.
2902 * gunixoutputstream.[ch]: Added.
2903 Renamed GSocket*Stream to GUnix*Stream and made
2904 it unix-only, since its not really only for sockets
2905 and it only works on unix (but is highly useful there).
2907 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2913 * gbufferedinputstream.c:
2914 * gbufferedinputstream.h:
2915 * gbufferedoutputstream.c:
2916 * gbufferedoutputstream.h:
2920 * gdatainputstream.c:
2921 * gdatainputstream.h:
2922 * gdataoutputstream.c:
2923 * gdataoutputstream.h:
2924 * gdirectorymonitor.c:
2925 * gdirectorymonitor.h:
2932 * gfileenumerator.c:
2933 * gfileenumerator.h:
2938 * gfileinputstream.c:
2939 * gfileinputstream.h:
2942 * gfilenamecompleter.c:
2943 * gfilenamecompleter.h:
2944 * gfileoutputstream.c:
2945 * gfileoutputstream.h:
2946 * gfilterinputstream.c:
2947 * gfilterinputstream.h:
2948 * gfilteroutputstream.c:
2949 * gfilteroutputstream.h:
2962 * glocalfileoutputstream.c:
2963 * gmemoryinputstream.c:
2964 * gmemoryinputstream.h:
2965 * gmemoryoutputstream.c:
2966 * gmemoryoutputstream.h:
2967 * gmountoperation.c:
2968 * gmountoperation.h:
2971 * gpollfilemonitor.c:
2974 * gsimpleasyncresult.c:
2975 * gsimpleasyncresult.h:
2976 * gsocketinputstream.c:
2977 * gsocketinputstream.h:
2978 * gsocketoutputstream.c:
2979 * gsocketoutputstream.h:
2986 * gunixvolumemonitor.c:
2995 Bumps documentation to 93% symbol coverage, touching most
2996 of the public files. Fixes broken function documentation prototypes.
2997 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2998 gtk-doc headers in private files.
3000 2007-11-27 Jürg Billeter <j@bitron.ch>
3002 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3003 (g_buffered_input_stream_read_byte):
3004 * gbufferedinputstream.h:
3005 New functions for efficient access to buffer and simple single byte
3008 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3009 (g_data_input_stream_read_until):
3010 * gdatainputstream.h:
3011 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3012 read_until with multiple stop chars.
3014 2007-11-27 Alexander Larsson <alexl@redhat.com>
3018 * inotify/Makefile.am:
3019 Use the user-specified giomoduledir
3021 2007-11-27 Alexander Larsson <alexl@redhat.com>
3025 Add catch-all gio.h header
3026 Don't install gdummyfile.h
3028 2007-11-26 Alexander Larsson <alexl@redhat.com>
3030 * Makefile.am (gioinclude_HEADERS):
3031 Remove trailing whitespace
3033 2007-11-26 Alexander Larsson <alexl@redhat.com>
3035 Merge gio-standalone into glib
3037 2007-11-25 Christian Kellner <gicmo@gnome.org>
3039 * gio/goutputstream.c:
3040 Fix small mistake in the docs.
3042 2007-11-21 Christian Persch <chpe@gnome.org>
3044 * gio/glocalfile.c: (g_local_file_trash):
3045 Convert filenames to UTF-8 for GError.
3046 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3047 as per xdg base dir spec.
3049 2007-11-21 Christian Persch <chpe@gnome.org>
3051 * gio/gdesktopappinfo.c:
3052 Use that g_key_file_to_data cannot fail.
3054 Use stock defines for the key file group and key names.
3057 2007-11-21 Alexander Larsson <alexl@redhat.com>
3060 (copy_stream_with_progress):
3061 Make sure we do a final progress callback with
3062 the full total size.
3064 2007-11-21 Alexander Larsson <alexl@redhat.com>
3067 Export g_file_copy_attributes
3068 Remove padding as its not needed for interfaces
3070 2007-11-20 Alexander Larsson <alexl@redhat.com>
3075 Add G_IO_ERROR_WOULD_MERGE for
3076 copy/move dir on dir with overwrite.
3078 2007-11-20 Alexander Larsson <alexl@redhat.com>
3081 * gio/glocalfileinfo.c:
3082 Add COPY_NAME (this is an optional
3083 non-modified utf8 version of the name) that
3086 2007-11-20 Alexander Larsson <alexl@redhat.com>
3088 * gio/glocalfileenumerator.c:
3089 Report errors as GIOError, not GFileError
3091 2007-11-16 Alexander Larsson <alexl@redhat.com>
3093 * gio/glocalfileoutputstream.c:
3094 * gio/gwin32appinfo.c:
3095 Fix typos in strings.
3096 Patch from Luca Ferretti <elle.uca@libero.it>
3098 2007-11-15 Alexander Larsson <alexl@redhat.com>
3101 Post release version bump
3103 === gio-standalone 0.1.2 ===
3105 2007-11-15 Alexander Larsson <alexl@redhat.com>
3107 * docs/reference/gio/Makefile.am:
3108 Fix up distcheck by removing weird
3114 2007-11-14 Alexander Larsson <alexl@redhat.com>
3116 * gio/gdesktopappinfo.c:
3117 * gio/glocaldirectorymonitor.c:
3119 * gio/glocalfileinfo.c:
3120 * gio/inotify/inotify-sub.c:
3121 * programs/gio-cat.c:
3122 * programs/gio-copy.c:
3123 * programs/gio-info.c:
3124 * programs/gio-ls.c:
3125 * programs/gio-monitor-dir.c:
3126 * programs/gio-monitor-file.c:
3127 * programs/gio-mount.c:
3128 * programs/gio-move.c:
3129 * programs/gio-rm.c:
3130 * programs/gio-save.c:
3131 * programs/gio-trash.c:
3132 Leak fixes from Kjartan Maraas
3134 2007-11-14 Alexander Larsson <alexl@redhat.com>
3136 * gio/fam/fam-helper.c:
3138 * gio/glocalfileinfo.c:
3142 * gio/inotify/inotify-diag.c:
3143 * gio/inotify/inotify-kernel.c:
3144 Various code cleanups from Kjartan Maraas
3146 2007-11-14 Alexander Larsson <alexl@redhat.com>
3148 * gio/gioscheduler.c:
3150 Set up threadpool so that we cache 2 unused
3151 idle threads for at 15 secs. This means we
3152 will reuse thread-local data (like dbus connections)
3155 2007-11-14 Alexander Larsson <alexl@redhat.com>
3157 * gio/fam/fam-helper.c:
3158 * gio/fam/gfamdirectorymonitor.c:
3159 * gio/fam/gfamfilemonitor.c:
3161 * gio/gcontenttype.c:
3162 * gio/gdatainputstream.c:
3163 * gio/gdataoutputstream.c:
3167 * gio/gfileattribute.h:
3168 * gio/gfileenumerator.c:
3170 * gio/ginputstream.c:
3173 * gio/glocalfileinfo.c:
3174 * gio/goutputstream.c:
3175 * gio/gpollfilemonitor.c:
3176 * gio/gsimpleasyncresult.c:
3177 * gio/gunixmounts.c:
3178 * gio/gunixmounts.h:
3179 * gio/inotify/ginotifydirectorymonitor.c:
3180 * gio/inotify/ginotifyfilemonitor.c:
3181 * gio/inotify/inotify-diag.c:
3182 * gio/inotify/inotify-kernel.c:
3183 * gio/inotify/inotify-path.c:
3185 * gio/test-streams.c:
3186 * programs/gio-info.c:
3187 * programs/gio-monitor-dir.c:
3188 * programs/gio-monitor-file.c:
3189 Various code cleanups from Kjartan Maraas
3191 2007-11-13 Alexander Larsson <alexl@redhat.com>
3194 Handle the uri-scheme calls for dummy files
3196 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3198 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3199 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3200 to avoid clash with the C++ keyword.
3202 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3204 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3205 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3207 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3209 * gio/glocaldirectorymonitor.c:
3210 * gio/glocalfilemonitor.c:
3211 * gio/gunionvolumemonitor.c:
3212 Don't use g_once_init_*() for initializations that could fail and
3213 could leave the initialization variable set to 0 but use GOnce.
3214 This prevents a deadlock on the second call when trying to create
3215 a monitor and no monitor type is available. Thanks to Sven Herzberg
3218 2007-11-11 Sven Herzberg <sven@imendio.com>
3220 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3221 #ifdef (make it work on MacOS X again)
3223 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3225 Fixes Changelog for last two commits (sorry guys).
3227 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3229 * gio/gbufferedinputstream.c:
3230 * gio/gdatainputstream.c:
3232 * gio/gfileoutputstream.c:
3233 * gio/gfilterinputstream.c:
3234 * gio/glocalfileinputstream.c:
3237 More consistency fixes in g*stream.c files.
3238 Significant clean of gfile's documentation, filling in of
3239 asynchronous operations documentation.
3241 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3243 * gio/gasyncresult.c:
3244 * gio/gbufferedinputstream.c:
3245 * gio/gbufferedoutputstream.c:
3246 * gio/gcancellable.c:
3247 * gio/gcontenttype.c:
3248 * gio/gdatainputstream.c:
3249 * gio/gdataoutputstream.c:
3250 * gio/gdesktopappinfo.c:
3253 * gio/gfileattribute.c:
3254 * gio/gio/gfileenumerator.c:
3256 * gio/gfileinputstream.c:
3257 * gio/gfilemonitor.c:
3258 * gio/gfileoutputstream.c:
3259 * gio/ginputstream.c:
3261 * gio/gioscheduler.c:
3262 * gio/gloadableicon.c:
3263 * gio/glocalfileoutputstream.c:
3264 * gio/gmemoryoutputstream.c:
3265 * gio/gmountoperation.c:
3266 * gio/goutputstream.c:
3268 * gio/gsimpleasyncresult.c:
3269 * gio/gunionvolumemonitor.c:
3270 * gio/gunixmounts.c:
3271 * gio/gunixvolume.c:
3275 * gio/gvolumemonitor.c:
3276 Updated documentation stubs, working towards consistency and
3279 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3281 * gio/gmemoryoutputstream.c:
3282 * gio/gmemoryoutputstream.h:
3283 Change g_memory_output_stream_set_free_on_close() to
3284 g_memory_output_stream_set_free_data() as this makes more sense and
3285 is more consistent with GMemoryInputStream.
3287 2007-11-07 Alexander Larsson <alexl@redhat.com>
3294 Change how we find the default vfs so that
3295 we can handle a gvfs failing to init
3297 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3299 * gio/gbufferedoutputstream.c:
3300 * gio/gdatainputstream.c:
3301 * gio/gdataoutputstream.c:
3302 * gio/gfileinputstream.c:
3303 * gio/gfileoutputstream.c:
3304 * gio/gfilterinputstream.c:
3305 * gio/gfilteroutputstream.c:
3306 * gio/ginputstream.c:
3307 * gio/gmemoryinputstream.c:
3308 * gio/gmemoryoutputstream.c:
3309 * gio/goutputstream.c:
3310 * gio/gsimpleasyncresult.c:
3311 * gio/gsocketinputstream.c:
3312 * gio/gsocketoutputstream.c:
3313 Add guards to the remaining public functions, add a TODO for
3314 an unimplemented function and remove some useless guards.
3316 2007-11-07 Alexander Larsson <alexl@redhat.com>
3319 Autoconf checks for the various types of
3320 getpwuid_r and getgrgid_r
3322 * gio/glocalfileinfo.c:
3323 Use the autoconf checks from above
3325 2007-11-07 Alexander Larsson <alexl@redhat.com>
3328 (g_local_file_query_filesystem_info):
3329 Some fixes for the statvfs case
3331 2007-11-07 Alexander Larsson <alexl@redhat.com>
3334 (g_local_file_query_filesystem_info):
3335 Pick the "best" of statfs / statvfs for the system
3336 if both are availible.
3338 2007-11-07 Alexander Larsson <alexl@redhat.com>
3340 Solaris fixes from Halton.Huo@Sun.COM:
3347 * gio/glocalfileinfo.c:
3348 Fix for solaris definition of getpwuid_r
3350 * gio/test-streams.c:
3351 Use G_GNUC_PRETTY_FUNCTION
3353 2007-11-07 Alexander Larsson <alexl@redhat.com>
3355 * gio/gdesktopappinfo.c:
3356 (update_default_list):
3357 Remove double semicolon.
3358 Patch from Jens Granseuer
3360 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3362 * docs/reference/gio/gio-sections.txt:
3363 * gio/gbufferedinputstream.c:
3364 * gio/gbufferedinputstream.h:
3365 * gio/gdatainputstream.c:
3366 * gio/gfileenumerator.c:
3367 * gio/gioscheduler.c:
3368 * gio/gunionvolumemonitor.c:
3370 * programs/gio-save.c:
3371 Fix typo: availible -> available. Unfortuntely this breaks API
3372 and ABI as g_buffered_input_stream_get_available() was renamed.
3374 * gio/gunixmounts.c:
3375 * gio/gbufferedinputstream.c:
3376 Add guards for public functions.
3378 2007-11-06 Ross Burton <ross@openedhand.com>
3380 * docs/reference/gio/Makefile.am:
3381 Fix invalid += usage which automake 1.10 doesn't like.
3383 2007-11-06 Alexander Larsson <alexl@redhat.com>
3386 (g_app_launch_context_class_init):
3389 Patch from Ross Burton
3391 2007-11-06 Alexander Larsson <alexl@redhat.com>
3394 Post release version bump
3396 === gio-standalone 0.1.1 ===
3398 2007-11-06 Alexander Larsson <alexl@redhat.com>
3401 Bump version to 0.1.1
3403 * gio/gsimpleasyncresult.c:
3404 (g_simple_async_result_set_from_error):
3405 Remove bogus g_return_if_fail
3407 2007-11-06 Alexander Larsson <alexl@redhat.com>
3410 The name is gio-standalone
3413 Add top src/builddir to includedir
3415 2007-11-06 Alexander Larsson <alexl@redhat.com>
3417 * docs/reference/gio/gio-sections.txt:
3419 * gio/gbufferedinputstream.c:
3420 * gio/gbufferedoutputstream.c:
3421 * gio/gcancellable.c:
3422 * gio/gdatainputstream.h:
3423 * gio/gdataoutputstream.c:
3424 * gio/gdataoutputstream.h:
3425 * gio/gdirectorymonitor.c:
3427 * gio/gfileattribute.c:
3428 * gio/gfileattribute.h:
3429 * gio/gfileenumerator.c:
3430 * gio/gfileenumerator.h:
3433 * gio/gfileinputstream.h:
3434 * gio/gfilemonitor.c:
3435 * gio/gfileoutputstream.h:
3436 * gio/glocalfilemonitor.h:
3437 * gio/glocalfileoutputstream.h:
3438 * gio/gmemoryinputstream.c:
3439 * gio/gmemoryoutputstream.c:
3440 * gio/gmountoperation.c:
3441 * gio/goutputstream.c:
3442 * gio/goutputstream.h:
3444 * gio/gsimpleasyncresult.c:
3445 * gio/gunixmounts.c:
3446 * gio/gunixmounts.h:
3448 * gio/inotify/inotify-helper.c:
3449 Fix gtk-doc warnings
3451 Patch from Ross Burton
3453 2007-11-06 Alexander Larsson <alexl@redhat.com>
3455 * gio/gfilenamecompleter.c:
3456 (g_filename_completer_get_completions):
3459 * gio/gunixvolume.c:
3460 Remove unused function
3462 Patches from Ross Burton
3464 2007-11-06 Alexander Larsson <alexl@redhat.com>
3469 Padding not needed for interfaces
3471 2007-11-06 Alexander Larsson <alexl@redhat.com>
3473 * gio/gfilemonitor.c:
3477 Make giotypes.h an internal file
3480 * gio/gbufferedinputstream.h:
3481 * gio/gbufferedoutputstream.h:
3482 * gio/gcancellable.h:
3483 * gio/gdatainputstream.h:
3484 * gio/gdataoutputstream.h:
3485 * gio/gdirectorymonitor.c:
3486 * gio/gdirectorymonitor.h:
3491 * gio/gfileattribute.h:
3492 * gio/gfileenumerator.h:
3497 * gio/gfilemonitor.c:
3498 * gio/gfilemonitor.h:
3499 * gio/gfilenamecompleter.c:
3500 * gio/gfilenamecompleter.h:
3501 * gio/gfilterinputstream.h:
3502 * gio/gfilteroutputstream.h:
3503 * gio/ginputstream.h:
3504 * gio/gmemoryinputstream.h:
3505 * gio/gmemoryoutputstream.h:
3506 * gio/gmountoperation.c:
3507 * gio/gmountoperation.h:
3508 * gio/gnativevolumemonitor.c:
3509 * gio/goutputstream.h:
3512 * gio/gsimpleasyncresult.c:
3513 * gio/gsimpleasyncresult.h:
3514 * gio/gsocketinputstream.h:
3515 * gio/gsocketoutputstream.h:
3516 * gio/gthemedicon.c:
3517 * gio/gthemedicon.h:
3521 * gio/gvolumemonitor.c:
3522 * gio/gvolumemonitor.h:
3523 Add padding in classes where it seems useful
3524 Don't include giotypes.h from public headers
3525 Move in Class definitions into c file where possible
3530 2007-11-06 Alexander Larsson <alexl@redhat.com>
3532 * docs/reference/gio/gio-docs.xml:
3533 Better structure for API docs
3535 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3538 * gio/gloadableicon.c:
3539 * gio/gsimpleasyncresult.c:
3540 * gio/gthemedicon.c:
3541 Add some more guards to public functions. Only files missing are now
3544 2007-11-06 Alexander Larsson <alexl@redhat.com>
3546 * docs/reference/gio/gio-docs.xml:
3547 Remove old files, add missing ones
3549 2007-11-06 Alexander Larsson <alexl@redhat.com>
3551 * docs/reference/gio/gio-sections.txt:
3554 Hide implementation classes
3556 * gio/gdriveprivate.h:
3557 * gio/gvolumeprivate.h:
3558 Remove non-existing function declarations
3560 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3563 Fix compilation warnings and add guards to the new functions.
3565 * gio/gasyncresult.c:
3567 Add guards to the public functions.
3570 Implement get_path().
3572 2007-11-06 Alexander Larsson <alexl@redhat.com>
3574 * gio/gfilenamecompleter.c:
3575 Make g_filename_completer_get_completions
3576 return char ** instead of GList for
3579 * docs/reference/gio/gio-docs.xml:
3580 * docs/reference/gio/gio-sections.txt:
3582 * gio/gasyncresult.c:
3583 * gio/gbufferedinputstream.c:
3584 * gio/gbufferedoutputstream.c:
3585 * gio/gcancellable.c:
3586 * gio/gcontenttype.c:
3587 * gio/gdatainputstream.c:
3588 * gio/gdataoutputstream.c:
3589 * gio/gdesktopappinfo.c:
3590 * gio/gdirectorymonitor.c:
3594 * gio/gfileattribute.c:
3595 * gio/gfileenumerator.c:
3598 * gio/gfileinputstream.c:
3599 * gio/gfilemonitor.c:
3600 * gio/gfilenamecompleter.c:
3601 * gio/gfilenamecompleter.h:
3602 * gio/gfileoutputstream.c:
3603 * gio/gfilterinputstream.c:
3605 * gio/ginputstream.c:
3607 * gio/gioscheduler.c:
3608 * gio/gloadableicon.c:
3609 * gio/glocaldirectorymonitor.c:
3611 * gio/glocalfileinputstream.c:
3612 * gio/glocalfilemonitor.c:
3613 * gio/glocalfileoutputstream.c:
3615 * gio/gmemoryinputstream.c:
3616 * gio/gmemoryoutputstream.c:
3617 * gio/gmountoperation.c:
3618 * gio/goutputstream.c:
3619 * gio/gpollfilemonitor.c:
3621 * gio/gsimpleasyncresult.c:
3622 * gio/gsocketinputstream.c:
3623 * gio/gsocketoutputstream.c:
3624 * gio/gthemedicon.c:
3625 * gio/gunionvolumemonitor.c:
3627 * gio/gunixmounts.c:
3628 * gio/gunixvolume.c:
3629 * gio/gunixvolumemonitor.c:
3633 * gio/gvolumemonitor.c:
3634 * gio/gwin32appinfo.c:
3635 Add (mostly stub) doc strings to public functions.
3636 Patch from Andrew Walton (awalton@gmail.com)
3638 2007-11-06 Alexander Larsson <alexl@redhat.com>
3640 * gio/gappinfo.[ch]:
3641 Added GAppLaunchContext object and pass that to launch.
3642 This allows simple implementation of both
3643 launch-on-screen and startup notification via a gtk+
3644 subclass of GAppLaunchContext
3646 * gio/gdesktopappinfo.c:
3647 Implement GAppLaunchContext API
3649 * gio/gwin32appinfo.c:
3652 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3654 * gio/gmountoperation.c:
3655 Add some guards to GMountOperation's public functions.
3657 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3661 * gio/gcancellable.c:
3662 * gio/gdirectorymonitor.c:
3664 * gio/gfileenumerator.c:
3665 * gio/gfilemonitor.c:,
3666 * gio/gfilenamecompleter.c:
3669 * gio/gioscheduler.c:
3673 * gio/gvolumemonitor.c:
3674 Add even more guards to various public functions.
3676 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3679 Add guards to the public functions of GAppInfo.
3681 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3683 * gio/gcontenttype.c:
3684 Add some more guards for public functions.
3686 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3688 * gio/fam/fam-module.c:
3689 * gio/fam/gfamdirectorymonitor.c:
3690 * gio/fam/gfamdirectorymonitor.h:
3691 * gio/fam/gfamfilemonitor.c:
3692 * gio/fam/gfamfilemonitor.h:
3693 * gio/inotify/ginotifydirectorymonitor.c:
3694 * gio/inotify/ginotifydirectorymonitor.h:
3695 * gio/inotify/ginotifyfilemonitor.c:
3696 * gio/inotify/ginotifyfilemonitor.h:
3697 Add proper copyright information and remove an unused variable
3698 in the GInotifyFileMonitor constructor.
3700 * gio/gcancellable.c:
3701 Add a guard for a public function and an assertion to prevent
3702 an undefined program state.
3704 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3706 * gio/gfileattribute.c:
3707 Don't run into an assertion if the given attribute value is NULL
3708 in g_file_attribute_value_get_*() but instead return a fallback
3709 value that makes sense in most situations. Passing them a attribute
3710 value with the wrong type will still run into an assertion.
3712 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3714 * gio/gfileattribute.c:
3716 Add even more guards to the public functions. Also fix the refcounting
3717 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3718 let g_file_info_list_attributes() filter the attributes by namespace
3719 instead of simply ignoring the namespace parameter.
3721 2007-11-03 Sven Herzberg <sven@imendio.com>
3723 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3724 (This makes gio work on MacOS X again)
3726 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3729 Build the gio subdirectory before the docs. Otherwise the build will
3732 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3733 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3734 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3735 Add guards to the public functions.
3737 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3739 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3740 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3741 to prevent a compiler warning.
3743 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3744 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3745 return something in the non-void function find_topdir_for().
3747 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3754 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3756 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3757 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3758 * gwin32appinfo.c (g_win32_app_info_launch):
3759 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3760 envp_for_startup_id, g_desktop_app_info_launch,
3761 g_desktop_app_info_launch_uris):
3763 Give an opaque 'startup_id' string instead of 'envp'.
3764 Support empty file lists for launching new windows.
3765 Fix infinite recursion bug when launching URIs.
3767 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3770 Add guard to the new g_file_get_uri_scheme() function.
3772 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3775 Convert a g_return_val_if_fail() to setting the GError instead as
3776 otherwise applications have to verify the parameter before otherwise
3777 and the parameter might come directly from the user.
3779 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3781 * gio/inotify/ginotify*.[ch]:
3782 Add missing copyright information.
3784 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3787 Add guards in the beginning of public functions to check for valid
3788 parameters and fix a bug in copy_stream_with_progress() that could've
3789 caused writing less bytes than reading.
3790 * gio/glocalfileinfo.c:
3791 Check for a NULL parameter and set the GError accordingly then.
3792 * gio/goutputstream.c:
3793 Fix the same bug as in gfile.c that could've caused writing less bytes
3794 than reading in g_output_stream_real_splice().
3796 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3799 Use the correct gvolumeprivate.h naming
3801 2007-11-01 Christian Kellner <gicmo@gnome.org>
3804 Remove leftover "$(daemon_sources)" entry.
3806 2007-11-01 Christian Kellner <gicmo@gnome.org>
3811 Add copyright information to source files.
3813 2007-11-01 Alexander Larsson <alexl@redhat.com>
3817 Add g_file_get_uri_scheme
3819 2007-11-01 Alexander Larsson <alexl@redhat.com>
3822 * gio/gdesktopappinfo.c:
3823 * gio/gwin32appinfo.c:
3824 Add g_app_info_get_default_for_uri_scheme.
3826 2007-11-01 Alexander Larsson <alexl@redhat.com>
3829 Correct filename for gdriveprivate.h
3831 2007-10-31 Alexander Larsson <alexl@redhat.com>
3834 Rename id:value to id:file
3837 * gio/glocalfileinfo.c:
3840 2007-10-31 Alexander Larsson <alexl@redhat.com>
3842 * gio/gunixvolume.c:
3844 Remove g_volume_get_platform_id, as thats not
3845 needed with the simpler union volume monitor
3847 2007-10-31 Alexander Larsson <alexl@redhat.com>
3850 * gio/guniondrive.[ch]: Removed.
3851 * gio/gunionvolume.[ch]: Removed.
3852 Remove GUnionDrive/Volume
3854 * gio/gunionvolumemonitor.c:
3855 Simplify union volume monitor, now we
3856 only have one native volume monitor and
3857 we use the actual volumes/drives from the
3858 child monitors instead of wrapping them
3860 * gio/gnativevolumemonitor.[ch]:
3861 Base class for native volume monitors.
3862 Includes priority and get_volume_for_mountpoint
3865 Add g_file_find_enclosing_volume
3868 Remove volume name fs attribute
3869 Add readonly fs attribute
3872 Implement readonly attribute
3873 remove volume name attribute
3874 Implement find_enclosing volume
3876 * gio/gunixmounts.c:
3877 Add a volume for "/".
3879 * gio/gunixvolume.[ch]:
3880 Set better name for /
3882 * gio/gunixvolumemonitor.[ch]:
3883 Derive from GNativeVolumeMonitor
3884 Implement get_volume_for_mountpoint
3887 GVolume typedef moved to gfile.h
3889 * gio/gvolumeprivate.h:
3890 Add g_volume_get_for_mount_path
3892 2007-10-31 Alexander Larsson <alexl@redhat.com>
3894 * gio/gunixmounts.[ch]:
3895 Add cache info to unix mount listers
3896 Make getmntent use threadsafe
3897 Add is_system_internal attribute for GUnixMount
3899 * gio/gunixvolume.c:
3900 (g_unix_volume_new):
3901 Use is_system_internal instead of own code
3903 * gio/glocaldirectorymonitor.c:
3904 * gio/gunixvolumemonitor.c:
3905 Update to new gunixmounts API
3910 2007-10-30 Alexander Larsson <alexl@redhat.com>
3913 Add volume name fsinfo attribute
3916 Read volume name info
3918 * gio/gunionvolumemonitor.c:
3919 Fix infinite loops when finalizing a union volume monitor
3921 2007-10-30 Alexander Larsson <alexl@redhat.com>
3923 * gio/goutputstream.[ch]:
3924 Add splice() with default implementation
3926 * gio/gsocketoutputstream.c:
3927 (g_socket_output_stream_write):
3928 Return error on cancellation correctly.
3930 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3932 * gio/glocalfile.c (g_local_file_trash):
3933 Do not leak a string.
3935 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3937 * gio/gfile.c (g_file_load_contents):
3938 Unref the stream after closing it.
3940 2007-10-25 Alexander Larsson <alexl@redhat.com>
3942 * gio/gioscheduler.h:
3945 2007-10-25 Alexander Larsson <alexl@redhat.com>
3949 Add g_file_has_uri_scheme and implement for local files
3951 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3953 * gio/gdesktopappinfo.c: do not leak a string.
3955 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3957 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3958 (g_local_directory_monitor_new):
3959 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3960 (g_local_file_monitor_new):
3961 Only look for the monitor type that should be used the first time
3962 and use g_qsort_with_data() instead of our own bubble sort
3965 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3968 * gio/fam/Makefile.am:
3969 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3970 * gio/fam/fam-helper.h:
3971 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3972 * gio/fam/gfamdirectorymonitor.c:
3973 * gio/fam/gfamdirectorymonitor.h:
3974 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3975 * gio/fam/gfamfilemonitor.h:
3976 * gio/glocaldirectorymonitor.c:
3977 * gio/glocaldirectorymonitor.h:
3978 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3979 * gio/glocalfilemonitor.h:
3980 * gio/inotify/Makefile.am:
3981 * gio/inotify/ginotifydirectorymonitor.c:
3982 * gio/inotify/ginotifydirectorymonitor.h:
3983 * gio/inotify/ginotifyfilemonitor.c:
3984 * gio/inotify/ginotifyfilemonitor.h:
3985 Implement the FAM and Inotify monitors as
3986 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3987 their own GIO module. GLocal(Directory|File)Monitor will use the
3988 monitor with the highest rank that is supported on that machine.
3990 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3993 Change GIO module dir to $(libdir)/gio/modules and change
3994 the log domain from GVFS to GIO. Also only export symbols starting
3995 with g_ in the resulting library.
3996 * gio/test-streams.c: (main):
3997 Set log handler for the GIO log domain.
3999 2007-10-22 Alexander Larsson <alexl@redhat.com>
4001 * gio/gfilenamecompleter.[ch]:
4002 Add g_filename_completer_set_dirs_only
4004 2007-10-22 Alexander Larsson <alexl@redhat.com>
4007 * gio/gurifuncs.[ch]:
4008 Add some simple URI helpers
4010 * gio/gfilenamecompleter.[ch]:
4011 Added object for filename (parse name actually) completion
4014 Handle ~ in parse names
4016 2007-10-17 Alexander Larsson <alexl@redhat.com>
4019 * gio/glocalfileinfo.c:
4020 Add and implement id:value attribute
4022 2007-10-17 Alexander Larsson <alexl@redhat.com>
4025 * gio/guniondrive.c:
4027 Add and implement g_drive_has_volumes
4029 2007-10-17 Alexander Larsson <alexl@redhat.com>
4032 * gio/glocalfileinfo.[ch]:
4033 Add unix:is_mountpoint and implement for local files
4035 2007-10-16 Alexander Larsson <alexl@redhat.com>
4037 * gio/gunionvolumemonitor.c:
4038 (g_union_volume_monitor_init):
4039 Fix up the unix type getting so that it works with gcc
4041 2007-10-12 Alexander Larsson <alexl@redhat.com>
4044 * gio/glocalfileinfo.c:
4045 Add thumbnail:failed to file info
4047 2007-10-12 Richard Hult <richard@imendio.com>
4049 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4050 optimizing away the get_type call (happens with some gcc versions,
4051 like the one shipped with OS X 10.4).
4053 2007-10-12 Alexander Larsson <alexl@redhat.com>
4055 * gio/glocalfileinfo.c:
4056 (_g_local_file_info_set_attribute):
4057 Fix build if not HAVE_XATTR
4058 Patch from Milosz Derezynski <internalerror@gmail.com>
4060 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4062 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4063 around for review, otherwise I would have asked you before
4066 2007-10-11 Alexander Larsson <alexl@redhat.com>
4069 Add thumbnail:path attribute
4071 * gio/glocalfileinfo.c:
4072 Implement thumbnail:path for local files
4074 2007-10-11 Alexander Larsson <alexl@redhat.com>
4076 * gio/glocalfileinfo.c:
4077 (_g_local_file_info_get):
4078 Avoid duplicate icon names
4080 2007-10-11 Alexander Larsson <alexl@redhat.com>
4082 * gio/gthemedicon.[ch]:
4083 Change g_themed_icon_get_names return type to const
4085 2007-10-10 Alexander Larsson <alexl@redhat.com>
4087 * gio/glocalfileinfo.c:
4088 Don't reference freed memory
4090 2007-10-10 Alexander Larsson <alexl@redhat.com>
4092 * gio/gfileattribute.c:
4095 * gio/glocalfileinfo.c:
4098 2007-10-10 Alexander Larsson <alexl@redhat.com>
4101 Check for NULL icons
4103 * gio/gfileattribute.c:
4104 Don't dup when getting objects (same as for string attributes)
4106 * gio/gicon.c (g_icon_equal):
4107 Safely handle NULLs in equal
4109 2007-10-10 Alexander Larsson <alexl@redhat.com>
4112 Fix c++ compilation issues
4113 Patch from Milosz Derezynski <internalerror@gmail.com>
4115 2007-10-10 Alexander Larsson <alexl@redhat.com>
4117 * programs/gio-monitor-dir.c:
4118 Don't crash if dir monitor not supported.
4120 2007-10-09 Alexander Larsson <alexl@redhat.com>
4123 Add missing G_END_DECLS
4125 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4127 * gio/gfile.c: (g_file_set_display_name),
4128 (g_file_query_settable_attributes),
4129 (g_file_query_writable_namespaces):
4130 Return NULL not FALSE on errors as the return type is a pointer.
4132 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4134 * gio/glocalfile.c: (g_local_file_monitor_file):
4135 Don't call monitor_file on the default interface vtable (which
4136 is NULL) but simply return NULL. The caller, GFile, will create a
4137 polling monitor if NULL is returned.
4139 2007-10-09 Alexander Larsson <alexl@redhat.com>
4143 * gio-unix-2.0.pc.in:
4144 Add gio-unix-2.0.pc if OS_UNIX
4147 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4149 2007-10-09 Alexander Larsson <alexl@redhat.com>
4151 * gio/gunixmounts.[ch]:
4152 Make unix mount monitoring API sane.
4153 Now its just a object with mounts_changed
4154 and mountpoints_changed signals.
4156 * gio/glocaldirectorymonitor.c:
4157 * gio/gunixvolumemonitor.c:
4158 Use new mount monitor api
4160 2007-10-09 Alexander Larsson <alexl@redhat.com>
4162 * gio/gunixmounts.[ch]:
4163 Move guess type into one call for mounts and one for mountpoints
4166 * gio/gunixvolume.c:
4169 2007-10-09 Alexander Larsson <alexl@redhat.com>
4171 * gio/gunixmounts.[ch]:
4172 Remove _ prefix in preparation to make this semi-public
4173 Hide implementation of structs
4175 * gio/glocaldirectorymonitor.c:
4177 * gio/gunixvolume.c:
4178 * gio/gunixvolumemonitor.c:
4179 Update for above API changes
4181 2007-10-08 Alexander Larsson <alexl@redhat.com>
4184 Better polling fallback. This also handles the case where we have
4185 a monitor_file implementation, but it fails.
4187 2007-10-08 Alexander Larsson <alexl@redhat.com>
4191 * gio/gunixmounts.c:
4192 * programs/gio-monitor-dir.c:
4193 * programs/gio-monitor-file.c:
4194 Added cancellable to file monitoring calls.
4195 These are really sync calls and need this.
4197 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4199 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4200 (g_local_vfs_class_init):
4201 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4202 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4204 2007-10-05 Alexander Larsson <alexl@redhat.com>
4206 * gio/gdirectorymonitorprivate.h:
4207 * gio/gfilemonitorprivate.h:
4208 * gio/gdirectorymonitor.h:
4209 * gio/gfilemonitor.h:
4210 Remove *private.h and move to the public API, so that
4211 we can do implementations outside gio (such as in gvfs)
4213 * gio/gdirectorymonitor.c:
4214 * gio/gfilemonitor.c:
4215 * gio/glocaldirectorymonitor.c:
4216 * gio/gpollfilemonitor.c:
4217 * gio/inotify/inotify-helper.c:
4218 * gio/fam/fam-helper.c:
4219 Update to the new header names
4221 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4223 * gio/gdirectorymonitor.c:
4224 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4227 2007-10-04 Alexander Larsson <alexl@redhat.com>
4229 * gio/glocalfileinfo.c (get_access_rights):
4230 Set CAN_TRASH when we can move the file.
4231 We should really also check for a parent trash dir.
4233 2007-10-04 Alexander Larsson <alexl@redhat.com>
4235 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4236 Add can_trash access attribute
4238 2007-10-04 Alexander Larsson <alexl@redhat.com>
4241 (g_local_file_trash):
4242 Create info file first. This is per-spec and allows
4243 us to actually trash directories.
4245 2007-10-02 Alexander Larsson <alexl@redhat.com>
4247 * gio/gdesktopappinfo.c:
4248 Implement the new mime support code.
4249 Always set app as handling mimetype when being set as default for it
4251 2007-10-01 Alexander Larsson <alexl@redhat.com>
4253 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4254 Fix up check for xattrs:
4256 2007-10-01 Alexander Larsson <alexl@redhat.com>
4259 (g_app_info_set_as_default_for_extension):
4260 (g_app_info_add_supports_type):
4261 (g_app_info_can_remove_supports_type):
4262 (g_app_info_remove_supports_type):
4263 Make these fail nicely if not implemented
4265 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4267 * gio/glocalfileoutputstream.c:
4268 * gio/glocalfileoutputstream.h:
4273 * programs/gio-save.c:
4274 Add a GFileCreateFlags argument to operations that can create
4277 2007-10-01 Alexander Larsson <alexl@redhat.com>
4279 * gio/gappinfo.[ch]:
4280 * gio/gdesktopappinfo.c:
4281 Add more (stubbed out) mime API needed for nautilus
4283 2007-10-01 Alexander Larsson <alexl@redhat.com>
4286 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4287 Add g_app_info_set_as_default_for_extension.
4289 * gio/gdesktopappinfo.c:
4290 Dummy for g_app_info_set_as_default_for_extension
4291 Support flags in g_app_info_create_from_commandline
4293 * gio/gwin32appinfo.c:
4295 Update for API changes
4297 * gio/gthemedicon.c:
4298 Properly NULL-terminate list of icon names
4300 2007-09-28 Alexander Larsson <alexl@redhat.com>
4302 * gio/gloadableicon.h:
4303 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4305 2007-09-28 Alexander Larsson <alexl@redhat.com>
4308 Install headers in $includedir/gio-standalone/
4310 * gio-2.0.pc.in: Added.
4311 * gio-standalone.pc.in: Removed.
4314 Renamed pkg-config file to match glib (for future move)
4315 Update to the new include dir
4318 Add more TODO comments
4320 2007-09-28 Alexander Larsson <alexl@redhat.com>
4322 * gio/gdesktopappinfo.[ch]:
4323 Expose new_from_filename
4324 Add getter for is_hidden and handle it better
4326 2007-09-28 Alexander Larsson <alexl@redhat.com>
4328 * gio/gfileinfo.[ch]:
4329 Rename g_file_size_format_for_display to
4330 g_format_file_size_for_display.
4331 Now it doesn't have the g_file prefix, so we
4332 can later move it to glib.
4334 2007-09-28 Alexander Larsson <alexl@redhat.com>
4336 * gio/gappinfo.[ch]:
4337 Add g_app_info_get_id and g_app_info_get_executable.
4338 Make all getters non-reffing
4339 Make g_app_info_launch take GFile arguments.
4340 Add must_support_uris argument to g_app_info_get_default_for_type.
4342 * gio/gwin32appinfo.c:
4343 Update to GAppInfo api changes
4345 * gio/gdesktopappinfo.c:
4346 Update to GAppInfo api changes
4347 Implement supports_xdg_startup_notify
4349 * gio/gfileicon.c (g_file_icon_get_file):
4350 Make getter non-reffing.
4355 2007-09-27 Alexander Larsson <alexl@redhat.com>
4357 * gio/gfileinfo.[ch]:
4358 Add g_file_size_format_for_display helper
4360 2007-09-27 Alexander Larsson <alexl@redhat.com>
4362 * gio/glocalfileinfo.c:
4363 Set UNIX_GID from gid, not from uid
4365 2007-09-27 Alexander Larsson <alexl@redhat.com>
4368 Add g_file_set_attributes_async
4370 2007-09-27 Alexander Larsson <alexl@redhat.com>
4372 * gio/glocalfile.c (g_local_file_set_display_name):
4373 Fix set_display_name to actually rename to the right place.
4374 Use lstat to look for existing files so we don't overwrite
4377 2007-09-26 Alexander Larsson <alexl@redhat.com>
4380 Add g_file_set_display_name_async()
4382 2007-09-26 Alexander Larsson <alexl@redhat.com>
4385 Add load_partial_contents async calls
4388 Make internal function static
4390 2007-09-26 Alexander Larsson <alexl@redhat.com>
4392 * gio/glocalfileinfo.c:
4393 Correctly detect broken symlinks
4395 2007-09-26 Alexander Larsson <alexl@redhat.com>
4397 * gio/gcancellable.c (g_cancellable_cancel):
4398 Allow cancel on NULL cancellable
4400 2007-09-25 Alexander Larsson <alexl@redhat.com>
4402 * gio/gsimpleasyncresult.c:
4403 Don't allocate g_error manually.
4404 Fixes g_slice/g_new mixup crash
4406 2007-09-25 Alexander Larsson <alexl@redhat.com>
4408 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4409 Actually set active_backend.
4410 This means the monitor will be cancelled correctly.
4412 2007-09-25 Alexander Larsson <alexl@redhat.com>
4414 * gio/gdirectorymonitor.c:
4415 Set timeout to NULL when destroying
4417 2007-09-25 Alexander Larsson <alexl@redhat.com>
4420 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4421 that is a better description of the error.
4423 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4425 * gio/gvfs.c: (g_vfs_get_local):
4426 Make the local vfs variable static. The same instance should
4429 2007-09-24 Alexander Larsson <alexl@redhat.com>
4431 * gio/glocalfileinfo.c:
4432 Pass in actual length read into sniffer, not the length
4435 2007-09-21 Alexander Larsson <alexl@redhat.com>
4437 * gio/gfileenumerator.c:
4440 * gio/gfileinputstream.c:
4441 * gio/gfileoutputstream.c:
4442 * gio/ginputstream.c:
4443 * gio/goutputstream.c:
4444 Don't crash if async callbacks are NULL
4446 2007-09-20 Alexander Larsson <alexl@redhat.com>
4449 Add async enumerate_children method and default
4452 2007-09-20 Alexander Larsson <alexl@redhat.com>
4455 Add g_file_contains_file & g_file_get_relative_path, since they
4456 were needed for nautilus.
4457 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4462 Implement new methods
4464 2007-09-17 Alexander Larsson <alexl@redhat.com>
4467 * gio/gfileinputstream.[ch]:
4468 * gio/gfileoutputstream.[ch]:
4470 * gio/glocalfileenumerator.[ch]:
4471 * gio/glocalfileinfo.[ch]:
4472 * gio/glocalfileinputstream.c:
4473 * gio/glocalfileoutputstream.c:
4474 * gio/gpollfilemonitor.c:
4475 * programs/gio-copy.c:
4476 * programs/gio-info.c:
4477 * programs/gio-move.c:
4478 Rename get_file_info to query_info() to make it clearer
4479 that these are not simple getters, but do i/o.
4481 2007-09-17 Alexander Larsson <alexl@redhat.com>
4483 * gio/gdatainputstream.[ch]:
4484 * gio/test-streams.c:
4485 Use _read_XXX instead of _get_XXX for the i/o calls
4488 2007-09-17 Alexander Larsson <alexl@redhat.com>
4491 Added needed stuff to TODO comment
4493 2007-09-17 Alexander Larsson <alexl@redhat.com>
4495 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4496 Don't error out removing the backup copy if it doesn't
4499 2007-09-14 Alexander Larsson <alexl@redhat.com>
4501 * programs/Makefile.am:
4502 * programs/gvfs-*.c:
4504 Renamed apps from gvfs-xxx to gio-xxx.
4506 2007-09-14 Alexander Larsson <alexl@redhat.com>
4509 * gio/gfileoutputstream.[ch]:
4510 * gio/glocalfileoutputstream.c:
4511 * programs/gvfs-save.c:
4512 g_file_output_stream_get_etag doesn't do i/o, so remove
4513 cancellation and error.
4515 2007-09-14 Alexander Larsson <alexl@redhat.com>
4518 Add new_etag output to replace_contents functions
4520 2007-09-14 Alexander Larsson <alexl@redhat.com>
4522 * gio/gfileoutputstream.[ch]:
4523 Add async get_file_info and default implementation
4525 2007-09-14 Alexander Larsson <alexl@redhat.com>
4527 * gio/gfileinputstream.c:
4528 Implement fallback wrapper for async get_file_info
4530 2007-09-14 Alexander Larsson <alexl@redhat.com>
4533 Add etag out argument to load_contents
4538 2007-09-14 Alexander Larsson <alexl@redhat.com>
4540 * gio/gcontenttype.c (looks_like_text):
4541 Whitespace like tab, cr and lf do not make the
4544 2007-09-14 Alexander Larsson <alexl@redhat.com>
4546 * gio/gfileinputstream.[ch]:
4547 Add async get_file_info.
4549 2007-09-13 Alexander Larsson <alexl@redhat.com>
4551 * gio/goutputstream.c (g_output_stream_write_all):
4552 Allow NULL for bytes_written
4554 2007-09-13 Alexander Larsson <alexl@redhat.com>
4556 * gio/gmemoryinputstream.[ch]:
4557 Add accessors for data
4559 2007-09-13 Alexander Larsson <alexl@redhat.com>
4561 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4562 Don't crash if length is NULL