1 2008-07-28 Tor Lillqvist <tml@novell.com>
3 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
6 2008-07-27 Tor Lillqvist <tml@novell.com>
8 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
10 2008-07-24 David Zeuthen <davidz@redhat.com>
14 Also export a g_mount_guess_content_type_sync() function.
16 2008-07-23 Matthias Clasen <mclasen@redhat.com>
18 529694 – SELinux context setting support
20 * gfileinfo.c: Support setting selinux attributes.
23 2008-07-22 Priit Laes <plaes@plaes.org>
25 Bug 544140 - fam-helper 64-bit issue?
27 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
29 2008-07-21 Matthias Clasen <mclasen@redhat.com>
31 * === Released 2.17.4 ===
33 2008-07-20 Matthias Clasen <mclasen@redhat.com>
35 * gvolumemonitor.[hc]:
40 * gmount.c: Documentation fixes
42 2008-07-19 Matthias Clasen <mclasen@redhat.com>
44 543504 – crash in Epiphany Web Browser: Opening local file
55 * gvolume.c: Register types thread-safely.
56 Patch by Christian Persch
58 2008-07-18 Matthias Clasen <mclasen@redhat.com>
60 * gcontenttype.c: Remove debug spew
62 2008-07-18 Matthias Clasen <mclasen@redhat.com>
64 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
67 * fen/fen-kernel.c: Remove a warning that was causing
68 crashes. Reported by Lin Ma.
70 2008-07-18 Matthias Clasen <mclasen@redhat.com>
72 Bug 543040 – async reading on dummy file will crash on
75 * gfile.c (open_read_async_thread): Cope with read_fn being
76 NULL. Reported by Lin Ma.
78 2008-07-18 Matthias Clasen <mclasen@redhat.com>
81 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
83 2008-07-16 Matthias Clasen <mclasen@redhat.com>
87 * giomodule.c: Rename a chapter id to avoid filename conflict.
89 2008-07-16 Matthias Clasen <mclasen@redhat.com>
91 Bug 540616 – mem leak in filechooser button
93 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
94 the mount entry. Reported by Chrisitan Persch
96 2008-07-16 Matthias Clasen <mclasen@redhat.com>
98 * gfile.c: Small documentation fixes.
100 2008-07-15 Matthias Clasen <mclasen@redhat.com>
102 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
104 2008-07-08 Matthias Clasen <mclasen@redhat.com>
109 * gmount.c: Documentation improvements.
111 2008-07-08 Matthias Clasen <mclasen@redhat.com>
114 * gmount.[hc]: Add g_mount_guess_content_type().
116 2008-07-06 David Zeuthen <davidz@redhat.com>
119 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
120 is needed for easily handling adoption of foreign volumes by
121 out-of-process volume monitors (#541793)
123 2008-07-06 David Zeuthen <davidz@redhat.com>
125 * gvolumemonitor.[ch]:
126 * gunionvolumemonitor.c: Export the eject-button signal on the
127 volume monitor class (#541794).
129 2008-07-06 Matthias Clasen <mclasen@redhat.com>
131 * gappinfo.c: More doc tweaks
133 2008-07-05 Matthias Clasen <mclasen@redhat.com>
135 * gappinfo.c: Clarify some docs
137 2008-07-03 Matthias Clasen <mclasen@redhat.com>
139 * gdesktopappinfo.c: Fix a stupid mistake.
141 2008-07-02 Matthias Clasen <mclasen@redhat.com>
143 * === Released 2.17.3 ===
145 2008-07-02 Matthias Clasen <mclasen@redhat.com>
147 * gfilemonitor.c: Fix the build.
149 2008-07-02 Matthias Clasen <mclasen@redhat.com>
151 Bug 536160 – Add g_file_monitor()
154 * gfile.[hc]: Add g_file_monitor which can return either
155 a file or a directory monitor. Proposed by Behdad Esfahbod
157 2008-07-02 Matthias Clasen <mclasen@redhat.com>
159 536733 – gio build failure on Irix
161 * glocalfile.c: Use a configure check for structfs.f_bavail.
163 2008-07-02 Matthias Clasen <mclasen@redhat.com>
165 Bug 534639 – add g_desktop_app_info_new_from_keyfile
168 * gdesktopappinfo.[hc]: Add a function to create a
169 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
171 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
173 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
175 2008-07-01 Matthias Clasen <mclasen@redhat.com>
177 * gunixmounts.c: Fix a doc typo.
179 2008-07-01 Cody Russell <bratsche@gnome.org>
181 * gio/gcontenttype.c:
182 * gio/gwin32appinfo.c:
183 * gio/gwin32volumemonitor.c:
184 * gio/gwin32mount.c: Fixed some include problems.
186 2008-07-01 Cody Russell <bratsche@gnome.org>
190 Moved all relevant typedefs into these files.
193 Updated wrt added files.
195 Split types into separate file for easier maintainership. (#538564)
197 2008-06-30 Matthias Clasen <mclasen@redhat.com>
199 Bug 540331 – g_file_append_to () documentation: can return NULL
201 * gfile.c (g_file_append_to): Clarify docs.
204 2008-06-30 Matthias Clasen <mclasen@redhat.com>
206 Bug 539090 – g_content_type_from_mime_type() should unalias
208 * gcontentype.c (g_content_type_from_mime_type): Unalias.
209 Patch by Markus Bergman
211 2008-06-30 Matthias Clasen <mclasen@redhat.com>
213 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
216 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
217 on ppc and alpha. Reported by Mart Raudsepp
219 2008-06-29 Matthias Clasen <mclasen@redhat.com>
222 * tests/memory-output-stream.c: Add some tests for
225 2008-06-29 Matthias Clasen <mclasen@redhat.com>
227 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
230 * gmemoryoutputstream.c (array_resize): Handle truncation to
231 zero correctly. Reported by Akira Tagoh
233 2008-06-29 Matthias Clasen <mclasen@redhat.com>
235 * gmemoryoutputstream.c: Trivial doc fixes
237 2008-06-29 Matthias Clasen <mclasen@redhat.com>
239 Bug 540802 – g_list_prepend doesn't concat lists
241 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
242 one list to another. Pointed out by Jan Arne Petersen
244 2008-06-28 Michael Natterer <mitch@imendio.com>
246 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
248 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
250 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
251 to avoid problems with partial icon themes.
253 2008-06-17 Hans Breuer <hans@breuer.org>
255 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
256 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
257 access again on win32, see bug #538127
258 * giomodule.c : ensure GWin32VolumeMonitor is registered
259 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
260 * Makefile.am makefile.msc : updated
262 2008-06-16 Hans Breuer <hans@breuer.org>
264 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
265 and initialization in one step avoids c99ism
267 2008-06-16 Christian Persch <chpe@gnome.org>
270 * gio/gbufferedinputstream.c
272 * gio/gdatainputstream.c
273 * gio/gdesktopappinfo.c
275 * gio/gfileenumerator.c
276 * gio/gfileinputstream.c
277 * gio/gfileoutputstream.c
279 * gio/glocaldirectorymonitor.c
281 * gio/glocalfileenumerator.c
282 * gio/glocalfileinfo.c
283 * gio/glocalfilemonitor.c
284 * gio/glocalfileoutputstream.c
285 * gio/gmemoryinputstream.c
286 * gio/gmemoryoutputstream.c
287 * gio/goutputstream.c
288 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
291 2008-06-16 Tor Lillqvist <tml@novell.com>
293 Bug 538362 - Get Win32 icons back in the file chooser
295 * gcontenttype.c (g_content_type_get_icon): Look up the icon
296 corresponding to a file extension in the Registry. Patch by Hans
298 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
300 2008-06-16 Tor Lillqvist <tml@novell.com>
302 Patches by Hans Breuer:
304 * glocalfile.c (is_xp_or_later): Handle compiling against older
305 SDK headers with missing VerifyVersionInfo(). Conditioned on
306 _MSC_VER, but should probably use some better test.
307 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
308 uninitialised statfs_result variable on Win32.
310 2008-06-16 Michael Natterer <mitch@imendio.com>
312 * *.c: chain up unconditionally in finalize() and dispose(). Also
313 don't dereference these function pointers when calling them since
314 that has no meaning at all.
316 2008-06-16 Ross Burton <ross@burtonini.com>
319 Remove check for dispose implementation as it annoys Emmanuele.
321 2008-06-16 Ross Burton <ross@burtonini.com>
323 Bug 536252 – GFileEnumerator should allow access to the containing
329 Add g_file_enumerator_get_container() and a container writeable
330 construct-only property. Also shuffle around typedefs to make it
333 * glocalfileenumerator.c:
334 * glocalfileenumerator.h:
336 Instead of a string filename take a GFile in the constructor and
337 use it to set the container property.
342 2008-06-16 Matthias Clasen <mclasen@redhat.com>
344 * gfile.c: Make includes more uniform
346 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
348 * tests/live-g-file.c (sample_struct):
349 Use less fancy unicode filenames, so the test doesn't fail
350 on Mac OS X (#531476).
352 2008-06-12 Matthias Clasen <mclasen@redhat.com>
354 * === Released 2.17.2 ===
356 2008-06-12 Matthias Clasen <mclasen@redhat.com>
358 * === Released 2.17.1 ===
360 2008-06-11 A. Walton <awalton@gnome.org>
362 * tests/g-file.c (test_g_file_new_null):
363 Fix broken test case.
365 2008-06-11 Matthias Clasen <mclasen@redhat.com>
367 * pltcheck.sh: We use g_clear_error now.
369 2008-06-11 Matthias Clasen <mclasen@redhat.com>
371 * glocalfile.c (g_local_file_enumerate_children): Revert
372 an unintended change.
374 2008-06-11 Matthias Clasen <mclasen@redhat.com>
376 * gfile.c (g_file_replace_contents): Don't unref before the last use.
378 2008-06-10 Matthias Clasen <mclasen@redhat.com>
380 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
383 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
384 as icon for the desktop directory, also make user-home and
385 user-desktop the preferred icons.
387 2008-06-10 Matthias Clasen <mclasen@redhat.com>
390 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
391 to add a name to the front of the list.
393 2008-06-10 Matthias Clasen <mclasen@redhat.com>
395 Bug 537392 – Additional colon in xattr name
397 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
398 too. Reported by Alessandro Morandi
400 2008-06-10 Matthias Clasen <mclasen@redhat.com>
402 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
405 * glocalfile.c (get_fs_type): Add afs and autofs.
406 Patch by Danny Baumann.
408 2008-06-10 Matthias Clasen <mclasen@redhat.com>
410 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
412 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
413 is no parent. (Owen Taylor, patch by Christian Neumair)
415 2008-06-10 Paolo Borelli <pborelli@katamail.com>
417 * gfile.c (g_file_replace_contents): do not leak the output stream.
419 2008-06-10 Michael Natterer <mitch@imendio.com>
421 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
422 uninitialized memory as array index.
424 2008-06-10 Tor Lillqvist <tml@novell.com>
426 * gcontenttype.c (g_content_type_can_be_executable)
427 (g_content_type_get_icon) [Win32]: Add TODO comments.
429 2008-06-09 Matthias Clasen <mclasen@redhat.com>
431 * xdgmime/Makefile.am: Fix the build
433 2008-06-09 Matthias Clasen <mclasen@redhat.com>
435 * gcontenttype.c (g_content_type_get_icon): Use icons specified
436 in the shared mime database, if available.
438 * xdgmime/*: Sync with upstream. This brings support for
439 glob weights, generic icons, and changes the cache format to
442 2008-05-28 Michael Natterer <mitch@imendio.com>
444 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
445 the global CPPFLAGS now.
447 * tests/data-input-stream.c
448 * tests/data-output-stream.c
449 * tests/g-file-info.c
451 * tests/live-g-file.c
452 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
454 2008-05-27 Matthias Clasen <mclasen@redhat.com>
456 * === Released 2.17.0 ===
458 * tests/live-g-file.c: Clean up after the tests, so make distcheck
459 doesn't complain about leftover files.
461 2008-05-27 simon.zheng <simon.zheng@sun.com>
463 * glocalfile.c: (g_local_file_query_filesystem_info):
464 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
466 2008-05-26 Michael Natterer <mitch@imendio.com>
468 * gmemoryoutputstream.h: declare
469 g_memory_output_stream_get_data_size().
471 2008-05-26 Matthias Clasen <mclasen@redhat.com>
473 * tests/*: Make tests work
475 2008-05-26 Matthias Clasen <mclasen@redhat.com>
477 * gio.symbols: Add g_memory_output_stream_get_data_size.
479 2008-05-25 Ross Burton <ross@burtonini.com>
482 Fix typo in error message (#534764).
484 2008-05-25 Ross Burton <ross@burtonini.com>
487 Fix circular dependency loop for gioenumtypes.h (#534759).
489 2008-05-19 Hans Breuer <hans@breuer.org>
491 * Makefile.am : EXTRA_DIST += makefile.msc
493 2008-05-17 Matthias Clasen <mclasen@redhat.com>
496 * gcontenttype.c: (g_content_type_from_mime_type):
497 New function to create a content type from a mime type. (#527175,
500 2008-05-17 Matthias Clasen <mclasen@redhat.com>
502 Bug 532965 – Should not return filesystem::free for certain file systems
504 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
505 free space for ncpfs.
507 2008-05-17 Matthias Clasen <mclasen@redhat.com>
509 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
511 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
512 st_dev might be zero.
514 2008-05-16 Tor Lillqvist <tml@novell.com>
516 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
517 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
519 2008-05-13 Bastien Nocera <hadess@hadess.net>
521 * gfile.c (has_valid_scheme): A URI scheme must start with a
522 letter, even if later more characters are allowed (#532852)
524 2008-05-05 Michael Natterer <mitch@imendio.com>
526 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
527 code from being checked in that breaks the build of applications
528 which use G_DISABLE_SINGLE_INCLUDES.
530 * makegioalias.pl: make the alias file include "glib.h" instead of
533 * gio.symbols: whitespace change to force regeneration of the
534 alias file after above script change.
536 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
538 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
540 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
542 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
544 2008-04-28 David Zeuthen <davidz@redhat.com>
546 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
547 displaying mounts in a subdirectory not accessible to the
550 2008-04-22 Michael Natterer <mitch@imendio.com>
552 * Makefile.am: fix library versioning (it was 0.0.0).
554 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
556 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
557 Default disable all loggings.
558 * fen/fen-kernel.c: (printevent), (port_add_kevent),
559 (port_fetch_event_cb): Fixed two macro nits.
561 2008-04-16 Matthias Clasen <mclasen@redhat.com>
563 * xdgmime/xdgmime.c: Rework the timestamp checking code
564 to protect against duplicate directories in XDG_DATA_DIRS.
565 Fixes fd.o bug 12513, reported by Joe Shaw.
567 2008-04-16 Matthias Clasen <mclasen@redhat.com>
569 Partically revert the last commit after realizing that
570 xdg_mime_media_type_equal doesn't have to init at all.
573 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
575 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
577 2008-04-16 Matthias Clasen <mclasen@redhat.com>
579 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
580 reported by Joe Shaw and Federico Mena Quintero.
582 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
583 (xdg_mime_media_type_equal): Turn into a wrapper around the
586 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
587 functions throughout.
589 2008-04-16 Michael Meeks <michael.meeks@novell.com>
591 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
592 tolerate an empty TryExec= line without failing; nautilus used
593 to create launchers with these in previous versions. Fixes #528433
595 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
597 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
598 after name. Fixes #527132.
600 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
602 * gfile.c: (g_file_replace):
605 2008-04-07 Matthias Clasen <mclasen@redhat.com>
607 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
609 * gfile.c (file_copy_fallback): Fix the argument order. Patch
610 by Christian Kellner.
612 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
614 * gunixmounts.c: (g_unix_mount_guess_should_display):
615 Don't list the user directory as a mount, fix potential issue
616 when other users have a similar naming and don't special case the
617 gvfs mounts there since that's not required (#525866)
619 2008-03-31 Alexander Larsson <alexl@redhat.com>
621 * glocalfile.c (get_parent):
624 2008-03-31 A. Walton <awalton@svn.gnome.org>
626 * gfile.c (g_file_query_file_type):
627 Always return a GFileType enum value (#520715).
629 2008-03-31 Alexander Larsson <alexl@redhat.com>
631 * glocalfileenumerator.c:
632 Read readdir() info in chunks (of 1000) and sort
633 the chunks by inode before stat:ing.
634 This is a 20% performance increase in testing
635 gvfs-ls on /usr/bin with cold cache.
637 2008-03-31 Alexander Larsson <alexl@redhat.com>
639 * gmemoryoutputstream.c:
640 Clarify docs for g_memory_output_stream_get_size.
641 Add g_memory_output_stream_get_data_size.
643 2008-03-30 Matthias Clasen <mclasen@redhat.com>
647 * gfile.h: Add g_file_query_file_type convenience function
648 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
650 2008-03-30 Matthias Clasen <mclasen@redhat.com>
653 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
655 2008-03-28 A. Walton <awalton@svn.gnome.org>
657 * giomodule.c (_g_io_modules_ensure_loaded):
658 Adds GIO_EXTRA_MODULES environment variable support, closing bug
661 2008-03-28 Alexander Larsson <alexl@redhat.com>
664 (copy_stream_with_progress):
667 2008-03-28 Alexander Larsson <alexl@redhat.com>
670 (copy_stream_with_progress):
671 (file_copy_fallback):
672 Fallback to g_file_query_info for source size
673 if g_file_input_stream_query_info fails. (#524579)
675 2008-03-28 Alexander Larsson <alexl@redhat.com>
677 * glocalfile.c (g_local_file_move):
678 Reuse old string instead of adding new one.
680 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
682 * fen/*.[hc]: still copyright issue. I hate copyright.
684 2008-03-27 Alexander Larsson <alexl@redhat.com>
686 * glocalfile.c (g_local_file_move):
687 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
688 file over directory. This is according to the docs and what the move via
689 copy+remove fallback does.
691 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
693 * fen/*.[hc]: Updated copyright.
695 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
697 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
699 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
701 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
702 not emit attribute changed events when optimizing changed events.
703 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
706 2008-03-19 Matthias Clasen <mclasen@redhat.com>
708 * gmountoperation.[hc]: Small documentation additions
710 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
712 * gunixmounts.c: (guess_mount_type):
713 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
715 2008-03-19 Alexander Larsson <alexl@redhat.com>
718 (copy_stream_with_progress):
719 Bump block side for copy to 64k to minimize
720 overhead for low latency links. (#523015)
722 2008-03-16 Tor Lillqvist <tml@novell.com>
724 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
725 depend on gio.def on Windows.
727 2008-03-12 David Zeuthen <davidz@redhat.com>
731 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
733 2008-03-14 Alexander Larsson <alexl@redhat.com>
737 Avoid redudant tests (#521851)
738 Patch from Josselin Mouette
740 2008-03-14 Alexander Larsson <alexl@redhat.com>
743 (g_file_monitor_is_cancelled):
744 Fix C89 issue (#521672)
745 Patch from Jens Granseuer
747 2008-03-14 Alexander Larsson <alexl@redhat.com>
749 * fam/fam-helper.[ch]:
751 Shut down fam (including removing fam GSource) when
752 module is unloaded (#521513)
753 Patch from Joe Marcus Clarke
755 2008-03-14 Alexander Larsson <alexl@redhat.com>
758 (_g_io_modules_ensure_loaded):
761 2008-03-14 Alexander Larsson <alexl@redhat.com>
764 (g_local_file_query_filesystem_info):
765 Use right define name for f_fstypename member check
767 2008-03-14 Alexander Larsson <alexl@redhat.com>
770 * fen/Makefile.am: Added.
771 * fen/fen-data.[ch]: Added.
772 * fen/fen-dump.[ch]: Added.
773 * fen/fen-helper.[ch]: Added.
774 * fen/fen-kernel.[ch]: Added.
775 * fen/fen-missing.[ch]: Added.
776 * fen/fen-node.[ch]: Added.
777 * fen/fen-sub.[ch]: Added.
778 * fen/gfendirectorymonitor.[ch]: Added.
779 * fen/gfenfilemonitor.[ch]: Added.
781 Added Solaris FEN file notification backend.
782 Patch from Lin Ma <Lin.Ma@Sun.COM>
784 2008-03-13 Tor Lillqvist <tml@novell.com>
786 * Makefile.am: Actually use the gio.def file when linking the
787 library on Windows. Produce .lib library for Microsoft's toolchain
788 when possible. Install the .lib and .def file like for the other
791 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
793 * tests/live-g-file.c:
794 Include live-g-file in standard set of tests, making a temporary
795 directory in source structure.
797 Clean target directory before the tests (write mode only)
799 2008-03-12 Tor Lillqvist <tml@novell.com>
801 Bug 517419 - gio win32 directory monitor
802 Implementation by Vlad Grecescu.
805 * win32/gwin32directorymonitor.h
806 * win32/gwin32directorymonitor.c: New files.
808 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
810 * Makefile.am: Add the win32 subdirectory.
812 2008-03-12 Tor Lillqvist <tml@novell.com>
814 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
815 normal struct stat on Unix but struct _stati64 on Windows to have
816 access to 64-bit file size information. Use that instead of struct
817 stat in the functions declared here in this private header.
819 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
820 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
821 warnings about unused functions and variables. Don't set
822 meaningless attributes like inode numbers on Windows.
824 2008-03-12 Benjamin Otte <otte@gnome.org>
827 trim whitespace so gtk-doc groks the function name
829 2008-03-12 Tor Lillqvist <tml@novell.com>
831 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
832 returning FALSE, on Win32.
834 2008-03-11 Alexander Larsson <alexl@redhat.com>
837 * glocalfileinfo.[ch]:
838 Correctly implement can_trash by actually
839 looking for a trash dir, not just assuming
842 2008-03-10 Matthias Clasen <mclasen@redhat.com>
844 * === Released 2.16.1 ===
846 2008-03-11 Alexander Larsson <alexl@redhat.com>
849 Fix crashes in new constructor and properties code
851 2008-03-10 Murray Cumming <murrayc@murrayc.com>
853 * gfile.c: Minor spelling correction in documentation:
854 existance -> existence.
856 2008-03-10 Matthias Clasen <mclasen@redhat.com>
858 * === Released 2.16.0 ===
860 2008-03-10 Matthias Clasen <mclasen@redhat.com>
862 * gio.symbols: Remove g_file_contains_file here, too.
864 2008-03-10 Matthias Clasen <mclasen@redhat.com>
866 * gthemedicon.c: Add properties to make bindings happy. (#517676,
867 Samuel Cormier-Iijima)
869 2008-03-08 Tor Lillqvist <tml@novell.com>
871 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
874 2008-03-07 Alexander Larsson <alexl@redhat.com>
877 (g_local_file_query_filesystem_info):
878 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
879 Patch from Jasper Lievisse Adriaanse
881 2008-03-06 Tor Lillqvist <tml@novell.com>
883 * gfileinfo.h: Correct milliseconds to microseconds in the doc
884 comments for the *_USEC attributes.
886 2008-03-06 Alexander Larsson <alexl@redhat.com>
888 * gfile.c (g_file_query_exists):
889 Add g_return_val_if_fail check (#520700)
891 2008-03-06 Alexander Larsson <alexl@redhat.com>
896 * gunionvolumemonitor.c:
899 * tests/live-g-file.c:
900 * xdgmime/xdgmimecache.c:
901 Fix sparse warnings (#519489)
903 2008-03-05 Alexander Larsson <alexl@redhat.com>
906 Make cancellation threadsafe (i.e.
907 guarantee its only done once, and always
910 * glocaldirectorymonitor.c:
911 Make sure we the monitor lives while the
912 mounts_changed callback is being called (#520484)
914 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
916 * gbufferedinputstream.c: Fix typo in parameter
919 2008-03-04 Alexander Larsson <alexl@redhat.com>
922 Remove deprecated symbols we kept for one release.
924 2008-03-04 Murray Cumming <murrayc@murrayc.com>
927 * goutputstream.c: Tiny documentation corrections.
929 2008-03-03 Alexander Larsson <alexl@redhat.com>
931 * gunionvolumemonitor.c:
933 Fix the adopt_orphan_mount vfunc to take a
934 volume_monitor reference in an ABI compat way.
935 This change is not API compat, but the added
936 arg is not used in the only user of this vfunc, so
937 all we get is a harmless warning in gvfs (#520169)
939 2008-03-01 Benjamin Otte <otte@gnome.org>
942 clarify docs for g_file_delete().
944 2008-02-29 Alexander Larsson <alexl@redhat.com>
948 Make sure empty files get text/plain type (#518720)
950 2008-02-27 Alexander Larsson <alexl@redhat.com>
956 (g_unix_volume_mount):
957 Add missing GMountMountFlags argument
959 2008-02-26 Alexander Larsson <alexl@redhat.com>
962 (g_local_file_delete):
963 Handle filesystems (like ntfs-3g) that return EEXIST instead
964 of ENOTEMPTY (#518816)
966 2008-02-25 Matthias Clasen <mclasen@redhat.com>
968 * === Released 2.15.6 ===
970 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
972 * gfile.c (g_file_find_enclosing_mount):
973 * ginputstream.c (g_input_stream_set_pending):
974 * glocalfile.c (g_local_file_find_enclosing_mount):
975 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
976 * goutputstream.c (g_output_stream_set_pending):
978 Fixup translator comments (#518578).
980 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
982 * gfile.c (g_file_find_enclosing_mount):
984 * glocalfile.c (g_local_file_find_enclosing_mount):
987 Fix a few typos in translator comments and documentation.
989 2008-02-25 Alexander Larsson <alexl@redhat.com>
996 Add translator comments (#518578)
998 2008-02-25 Alexander Larsson <alexl@redhat.com>
1001 Reintroduce g_file_contains_file, keep around for one
1002 unstable release cycle to avoid crashing to many apps.
1003 Make sure to delete after release.
1005 2008-02-25 Alexander Larsson <alexl@redhat.com>
1008 Remove deprecated g_file_contains_file.
1010 2008-02-25 Alexander Larsson <alexl@redhat.com>
1013 Emit actual change signals in an idle handler.
1014 This avoids reentrance and locking problems in
1015 the file notification backends.
1017 2008-02-25 Alexander Larsson <alexl@redhat.com>
1020 (g_unix_mount_guess_should_display):
1021 Remove type guessing, instead just display
1022 mounts in /media and in ~/.
1024 2008-02-25 Alexander Larsson <alexl@redhat.com>
1027 Make new strings reuse old ones.
1029 2008-02-25 Alexander Larsson <alexl@redhat.com>
1032 Implement trashing and filesystem::readonly for win32 (#517235)
1033 Patch from Yevgen Muntyan
1035 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1037 * gfileinfo.h: Documentation fixes.
1039 2008-02-22 Alexander Larsson <alexl@redhat.com>
1041 * gcontenttype.c (g_content_type_get_icon):
1042 Look at old-style gnome mime icon names too, as many
1043 have not moved to the new style.
1045 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1047 * *.c: Correct the @include in for section docs.
1049 2008-02-21 David Zeuthen <davidz@redhat.com>
1051 * glocalfileinfo.c: (_g_local_file_info_get):
1053 (g_content_type_get_icon): Implement this function by
1054 moving bits from glocalfileinfo.c
1055 (g_content_type_get_description): Unalias before getting
1056 description (#517687)
1058 * gfile.c: (g_file_class_init),
1059 (g_file_query_filesystem_info_async),
1060 (g_file_query_filesystem_info_finish),
1061 (query_filesystem_info_data_free),
1062 (query_filesystem_info_async_thread),
1063 (g_file_real_query_filesystem_info_async),
1064 (g_file_real_query_filesystem_info_finish):
1065 * gfile.h: Implement async version of
1066 g_file_query_filesystem_info()
1068 * gfileinfo.h: Add new attributes for filesystem::use-preview
1070 * gio.symbols: Update
1072 * gthemedicon.c: (g_themed_icon_append_name):
1073 * gthemedicon.h: Add new new convenience function.
1075 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1076 (get_mounts), (get_volumes), (get_connected_drives),
1077 (get_volume_for_uuid), (get_mount_for_uuid),
1078 (g_union_volume_monitor_init), (populate_union_monitor),
1079 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1080 (g_volume_monitor_adopt_orphan_mount):
1082 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1083 monitor implementations to call into the main volume monitor. Also
1084 separate object initialization and volume monitor initialization
1085 such that non-native volume monitors can properly adopt their
1088 2008-02-21 Alexander Larsson <alexl@redhat.com>
1093 2008-02-21 Alexander Larsson <alexl@redhat.com>
1096 Add more documentation about how GFiles work (from #517086)
1098 2008-02-21 Alexander Larsson <alexl@redhat.com>
1102 Add new g_file_has_prefix that does the same as g_file_contains_file.
1103 Deprecate g_file_contains_file and add a macro that converts
1104 it to g_file_has_prefix.
1105 The reason for this change is that the contains_file() name seems to
1106 imply that this does more work than what it does, but its really only
1107 a name match (from #517086)
1112 Update to match the above change.
1114 2008-02-20 Benjamin Otte <otte@gnome.org>
1116 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1117 (g_file_eject_mountable):
1118 even more cases of not returning in error path
1120 2008-02-20 Benjamin Otte <otte@gnome.org>
1122 * gfile.c: (g_file_mount_mountable):
1123 return from function in error path.
1125 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1128 Remove trailing coma in GMountMountFlags struct
1130 2008-02-18 Alexander Larsson <alexl@redhat.com>
1134 * glocalfileoutputstream.c:
1135 Use g_unlink/g_rename instead of unlink/rename;
1136 do not pass raw filenames to g_set_error. (#517239)
1137 Patch from Yevgen Muntyan.
1139 2008-02-18 Alexander Larsson <alexl@redhat.com>
1142 * glocalfileoutputstream.c:
1143 Open files with O_BINARY on windows. (#517140)
1145 2008-02-14 Alexander Larsson <alexl@redhat.com>
1147 * glocalfileoutputstream.c:
1148 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1150 2008-02-14 Alexander Larsson <alexl@redhat.com>
1153 Copy permissions with file on copy (#514084)
1154 This is what cp does and makes sure e.g. the
1155 exec permissions are kept.
1156 Its kinda weird in that it keeps the permission bits
1157 the same while the uid and gid are different. However
1158 the new uid is the user so its not a security issue,
1159 and I've heard no complaints about cp on this issue.
1161 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1163 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1165 2008-02-13 Alexander Larsson <alexl@redhat.com>
1167 * inotify/inotify-path.c:
1168 Define IN_ONLYDIR if not in header (#515346)
1170 2008-02-12 Alexander Larsson <alexl@redhat.com>
1172 * tests/live-g-file.c:
1175 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1177 * === Released 2.15.5 ===
1179 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1181 * gio.symbols: Add g_mount_mount_flags_get_type.
1183 2008-02-11 Alexander Larsson <alexl@redhat.com>
1186 (g_file_info_set_attribute_mask):
1187 (g_file_attribute_matcher_matches_id):
1188 Correctly handle NULL GAttributeMatcher meaning
1189 matches nothing. (Fixes #513492)
1191 2008-02-11 Alexander Larsson <alexl@redhat.com>
1196 Added GMountMountFlags enum and added a flags
1197 argument to all mount calls.
1199 This is an API/ABI change for future extensibility,
1200 as I think we will need at least an
1201 inhibit-autorun flag (the panel needs this).
1202 There are no flags defined yet though.
1204 2008-02-11 Alexander Larsson <alexl@redhat.com>
1207 Added new standard::description attribute.
1208 Requested by Vincent, and useful for both
1211 2008-02-11 Alexander Larsson <alexl@redhat.com>
1213 * gdesktopappinfo.c:
1216 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1218 * *.c: Documentation additions
1220 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1222 * gappinfo.h: Formatting cleanup
1223 * gappinfo.c: Fix up docs.
1225 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1227 * gunixmounts.c: Consistently use getmntent_r() and fall
1228 back to getmntent(). (#515492)
1230 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1232 * gbufferedinputstream.c:
1234 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1236 * tests/data-input-stream.c:
1237 * tests/data-output-stream.c: Portability fixes.
1239 2008-02-08 Alexander Larsson <alexl@redhat.com>
1244 Add g_volume_should_automount.
1247 2008-02-07 Tor Lillqvist <tml@novell.com>
1249 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1250 Win32, too Unix-specific.
1252 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1254 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1255 a local plt if the compiler doesn't support what we want. Bug #514702
1257 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1259 reviewed by: <delete if not using a buddy>
1262 * gunixinputstream.c:
1263 * gunixoutputstream.c:
1265 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1267 * tests/Makefile.am:
1268 * tests/live-g-file.c:
1269 * tests/live-g-file.txt:
1270 New GIO testing module working over real data
1272 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1274 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1275 Fallback to rename() if link() is not available
1276 (when no support on target filesystem)
1278 2008-02-06 Michael Natterer <mitch@imendio.com>
1280 * gfileinfo.c (g_file_info_get_icon): replace
1281 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1283 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1285 * gfile.c (g_file_create):
1286 Documentation update of error codes
1288 2008-02-06 Alexander Larsson <alexl@redhat.com>
1290 * gdesktopappinfo.c:
1291 Update to use both mimeapps.list and
1292 defaults.list as discussed on xdg list.
1294 2008-02-06 Benjamin Otte <otte@gnome.org>
1297 * gfilenamecompleter.c:
1298 Fix some typos in the documentation.
1300 2008-02-06 Alexander Larsson <alexl@redhat.com>
1302 * glocalfile.c (g_local_file_trash):
1303 Don't succeed with trash if newly created
1304 trash dir has the wrong owner. (#514696)
1306 2008-02-05 Alexander Larsson <alexl@redhat.com>
1308 * glocalfile.c (g_local_file_move):
1309 Don't spew warnings when destination is not
1312 2008-02-03 Hans Breuer <hans@breuer.org>
1314 * makefile.msc : update
1316 2008-02-01 Michael Natterer <mitch@imendio.com>
1318 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1319 return value of xdg_mime_list_mime_parents() to a variable of the
1322 2008-02-01 Alexander Larsson <alexl@redhat.com>
1324 * gappinfo.c (g_app_info_launch_uris):
1325 Actually call the launch_uris method, not
1328 2008-02-01 Alexander Larsson <alexl@redhat.com>
1330 * gdesktopappinfo.c (g_desktop_app_info_equal):
1331 Ensure appinfos with no id but same pointer value
1334 2008-02-01 Alexander Larsson <alexl@redhat.com>
1336 * gappinfo.c (g_app_info_launch_default_for_uri):
1339 2008-02-01 Alexander Larsson <alexl@redhat.com>
1343 Add g_app_info_launch_default_for_uri utility
1346 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1348 * gdesktopappinfo.c:
1349 Doc fix for g_app_info_get_default_for_uri_scheme ()
1352 2008-01-30 Alexander Larsson <alexl@redhat.com>
1355 Add doc comment about uris vs GFiles to
1358 * gdesktopappinfo.c:
1359 Ensure uris passed to g_app_info_launch_uris()
1360 are not roundtriped through GFile (as that
1361 may be slightly destructive for e.g. mailto: links)
1363 2008-01-30 Alexander Larsson <alexl@redhat.com>
1365 * tests/data-input-stream.c:
1366 * tests/data-output-stream.c:
1367 C89 fixes from Jens Granseuer (#512849)
1369 2008-01-30 Alexander Larsson <alexl@redhat.com>
1372 Fix gamin/fam difference build issue. (#509419)
1374 2008-01-29 Alexander Larsson <alexl@redhat.com>
1377 * gdesktopappinfo.c:
1378 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1380 2008-01-29 Alexander Larsson <alexl@redhat.com>
1382 * gdesktopappinfo.c:
1383 * gdesktopappinfo.h:
1384 giomodule-priv.h include moved to .c file.
1386 2008-01-29 Alexander Larsson <alexl@redhat.com>
1388 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1389 Remove unused prio/name fields.
1391 2008-01-29 Alexander Larsson <alexl@redhat.com>
1393 * gcontenttype.c (looks_like_text):
1394 Don't treat whitespace as control chars.
1396 2008-01-29 Alexander Larsson <alexl@redhat.com>
1398 * gdesktopappinfo.c:
1399 Lazily create the desktop files for appinfos created
1400 by g_app_info_create_from_commandline() when needed
1401 for mime associations. This allows run-time use
1402 of GAppInfo object without creating unnecessary
1405 2008-01-29 Alexander Larsson <alexl@redhat.com>
1408 Added new symbols to gio.symbols
1410 2008-01-29 Alexander Larsson <alexl@redhat.com>
1413 Add g_file_query_default_handler utility to easily look up
1414 the GAppInfo that handles a file.
1416 * gdesktopappinfo.[ch]:
1418 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1421 Remove unused function
1423 2008-01-29 Alexander Larsson <alexl@redhat.com>
1425 * gfileenumerator.c:
1426 Mention need to free returned value in
1427 g_file_enumerator_next_files_finish docs.
1428 Fix leak if g_file_enumerator_next_files_finish()
1431 2008-01-29 Alexander Larsson <alexl@redhat.com>
1434 (_g_unix_content_type_get_parents):
1435 Use list_parents, not get_parents from xdgmime, because
1436 the later doesn't use the cache.
1438 * xdgmime/xdgmimecache.c:
1439 (_xdg_mime_cache_list_mime_parents):
1440 Don't list the same type as parent multiple times.
1442 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1444 * === Released 2.15.4 ===
1446 2008-01-28 Alexander Larsson <alexl@redhat.com>
1449 Register local vfs with prio 0.
1452 Remove old name and prio class members
1454 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1456 * tests/g-file.c: Disable some tests that are failing in
1457 the absence of a http backend.
1459 2008-01-28 Alexander Larsson <alexl@redhat.com>
1463 Add registration hooks for extension points.
1464 Register the gio extension points.
1466 * fam/gfamdirectorymonitor.c:
1467 * fam/gfamfilemonitor.c:
1468 * glocaldirectorymonitor.[ch]:
1469 * glocalfilemonitor.[ch]:
1470 * gnativevolumemonitor.h:
1471 * gunionvolumemonitor.c:
1472 * gunixvolumemonitor.c:
1475 * inotify/ginotifydirectorymonitor.c:
1476 * inotify/ginotifyfilemonitor.c:
1477 Use the extension points registration instead
1478 of g_type_children().
1480 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1483 * gvolume.[hc]: Document new API.
1485 * gfile.c (g_file_copy_async): Fix docs
1487 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1489 * gbufferedinputstream.c:
1491 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1494 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1496 * glocalfile.c: Avoid trivial differences in translatable strings.
1498 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1500 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1501 build with gcc 3.4 (#509419)
1503 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1505 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1506 (#509994, Murray Cumming)
1508 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1510 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1511 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1512 this allows big jobs to be executed in chunks, instead of blocking
1513 the main loop for a long time.
1515 * gsimpleasyncresult.c:
1516 * giofile.c: Adapt callers.
1518 2008-01-25 Alexander Larsson <alexl@redhat.com>
1520 * gdesktopappinfo.c:
1521 Implement changes discussed on xdg list.
1522 Now we can add supported mimetypes by just using defaults.list
1523 We can also remove associations in defaults.list.
1525 2008-01-25 Alexander Larsson <alexl@redhat.com>
1527 * gdesktopappinfo.c:
1528 Don't make local copy of desktop file
1529 for mimetype changes if the file already
1530 supports the new mimetype.
1532 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1536 * gbufferedinputstream.c:
1537 * glocalfile.c: String improvements. (#511966,
1538 Theppitak Karoonboonyanan)
1540 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1542 * gioscheduler.h: Expand docs a bit.
1544 2008-01-24 Alexander Larsson <alexl@redhat.com>
1547 Add g_drive_get_identifier and
1548 g_drive_enumerate_identifiers
1551 Add g_volume_get_identifier and
1552 g_volume_enumerate_identifiers
1558 Implement identifiers for unix backend
1560 2008-01-24 Alexander Larsson <alexl@redhat.com>
1565 Add g_file_copy_async() (#511580)
1566 Based on patch from Carlos Garcia Campos
1568 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1570 * gioscheduler.c: Some documentation additions.
1572 2008-01-22 Alexander Larsson <alexl@redhat.com>
1574 * gdesktopappinfo.c:
1575 (g_desktop_app_info_new):
1576 Don't leak basename.
1578 2008-01-22 Alexander Larsson <alexl@redhat.com>
1580 * gdesktopappinfo.c:
1581 (g_desktop_app_info_new_from_filename):
1584 2008-01-22 Alexander Larsson <alexl@redhat.com>
1586 * glocalfileinfo.c (get_thumbnail_attributes):
1589 2008-01-22 Alexander Larsson <alexl@redhat.com>
1592 (canonicalize_filename):
1593 Canonicalize paths that start with more than
1597 (compare_two_files):
1598 (test_g_file_new_for_path):
1601 2008-01-22 Alexander Larsson <alexl@redhat.com>
1604 Allow UTF-8 in file:// parse names.
1606 * tests/Makefile.am:
1607 * tests/data-input-stream.c:
1608 * tests/data-output-stream.c:
1609 * tests/g-file-info.c:
1611 Added a bunch of tests from Tomas Bzatek
1613 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1615 * === Released 2.15.3 ===
1617 2008-01-21 Alexander Larsson <alexl@redhat.com>
1619 * gfileinputstream.[ch]:
1620 * gfileoutputstream.[ch]:
1622 Remove duplicated GSeekable functions. (#509990)
1623 Just use the g_seekable_xxx() calls instead.
1625 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1628 * gvolumemanager.c: Whitespace cleanups.
1630 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1631 Use the right mode when creating the file.
1633 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1635 * gfileenumerator.c:
1636 * gfileinputstream.c:
1638 * goutputstream.c: Documentation: Fixed minor typos
1639 and added more mentions of specific _finish() functions.
1641 2008-01-21 Alexander Larsson <alexl@redhat.com>
1643 * inotify/Makefile.am:
1644 * inotify/inotify-helper.c:
1645 * inotify/inotify-kernel.c:
1646 * inotify/inotify-path.c:
1647 * inotify/local_inotify.h: Removed.
1648 * inotify/local_inotify_syscalls.h: Removed.
1649 Removed the included copies of the inotify
1650 headers. We now only use the <sys/inotify.h>
1651 header which exists on modern systems.
1652 This fixes problems on ARM and SH5 (#510448)
1653 but is also generally much cleaner and future
1654 safe. For instance, if other OSes add support
1655 for inotify it should "just work".
1657 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1659 * inotify/*.c: Coding style fixes.
1660 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1661 for the 1/4 Hz timer.
1663 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1666 * gfilemonitor.[hc]:
1667 * gmemoryinputstream.c:
1668 * gmemoryoutputstream.c:
1669 * gmountoperation.c:
1670 * gthemedicon.c: Documentation updates
1672 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1674 * gfile.c: documentation: Fixed more minor
1677 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1679 * gmount.c: (g_mount_remount): documentation:
1680 Mention g_mount_remount_finish() instead of
1681 g_mount_unmount_finish().
1683 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1687 * gfile.c: Fixed some minor typos in the
1690 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1692 * gio/gvolumemonitor.c:
1693 (g_volume_monitor_get_connected_drives):
1694 (g_volume_monitor_get_volumes):
1695 (g_volume_monitor_get_mounts): Documentation:
1696 Clarify the ownership of the regurn GLists.
1698 2008-01-17 Alexander Larsson <alexl@redhat.com>
1701 Add the async find_enclosing_mount version
1702 to the header file too.
1704 2008-01-17 Alexander Larsson <alexl@redhat.com>
1707 Add async version of find_enclosing_mount
1708 with default implementation.
1710 2008-01-17 Alexander Larsson <alexl@redhat.com>
1715 Allow calls to implementation of copy and write
1716 even if the type of the file implementations is
1717 different. This can be used to implement native
1718 upload and download calls in a vfs.
1721 (g_local_file_move):
1722 Protect against the case where move is called
1723 with one file not being local.
1725 Make sure we call the progress callback once
1726 in the native move operation so that the caller
1727 knows how many bytes were copied.
1729 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1732 * gdatainputstream.c:
1734 * gfileoutputstream.c:
1739 * gunixmounts.c: Corrected some typos in the documentation:
1740 occured -> occurred.
1741 its -> it's (where appropriate).
1743 2008-01-16 Alexander Larsson <alexl@redhat.com>
1747 Add g_file_query_exists (#508771)
1749 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1754 * gvolume.c: For async functions that have no non-async
1755 version, document that the GAsyncReadyCallback may be NULL.
1758 2008-01-15 Alexander Larsson <alexl@redhat.com>
1760 * gmemoryinputstream.c:
1761 * gmemoryoutputstream.c:
1762 Don't do pointer arithmetic on void * (#508602)
1763 Patch from Kazuki IWAMOTO
1765 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1767 * === Released 2.15.2 ===
1769 2008-01-14 Alexander Larsson <alexl@redhat.com>
1771 * gfile.c (g_file_monitor_file):
1772 Don't set error here, since we fallback to polling monitor.
1774 2008-01-14 Alexander Larsson <alexl@redhat.com>
1777 (g_file_monitor_directory):
1778 (g_file_monitor_file):
1779 Add GError to file monitor calls
1781 * glocaldirectorymonitor.c:
1782 * glocaldirectorymonitor.h:
1784 * glocalfilemonitor.c:
1785 * glocalfilemonitor.h:
1787 Update for above change
1789 2008-01-14 Alexander Larsson <alexl@redhat.com>
1793 Handle root correctly in g_file_get_relative_path (#508719)
1795 2008-01-14 Alexander Larsson <alexl@redhat.com>
1798 Clean up docs and example for GAsyncResult (#508074)
1800 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1802 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1803 and correct some spelling mistakes. Bug #508108.
1805 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1807 * glocalfileinfo.c: Add a comment.
1809 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1811 * gfileinfo.c: GFileInfo description: Mention
1812 how to actually set attributes in a GFile and how to discover
1813 which attributes are settable. Bug #508378.
1815 2008-01-10 A. Walton <awalton@svn.gnome.org>
1817 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1818 (g_app_info_get_default_for_type):
1819 Check for NULL content types.
1821 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1823 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1825 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1827 * gfile.c: *_async() functions: Several small corrections
1828 to the documentation, mostly correcting copy/paste errors
1829 and improving some sentences.
1831 2008-01-09 Dan Winship <danw@gnome.org>
1833 * glocalfile.c (get_unique_filename): x86_64 fix
1835 2008-01-09 Alexander Larsson <alexl@redhat.com>
1840 Add g_unix_mount_guess_should_display and use
1841 for unix volume monitor backend.
1842 This means we more or less show what the
1843 gnome-vfs backend did.
1844 Based on patch from Padraig O'Briain
1846 2008-01-09 Alexander Larsson <alexl@redhat.com>
1850 Add g_themed_icon_new_with_default_fallbacks
1853 Use default fallbacks for icons
1855 2008-01-09 Alexander Larsson <alexl@redhat.com>
1858 * gmountoperation.[ch]:
1859 Change the API a bit so that unhandled methods
1860 get reported via the reply, rather than by
1861 the signal emission return value. This is because
1862 some handlers can't know this immediately without
1863 doing I/O, and this is an async operation that
1866 2008-01-09 Alexander Larsson <alexl@redhat.com>
1869 * fam/gfamdirectorymonitor.c:
1870 * fam/gfamfilemonitor.c:
1871 Fix double free crash (#508224)
1872 Patch from Joe Marcus Clarke
1874 008-01-07 Matthias Clasen <mclasen@redhat.com>
1876 * === Released 2.15.1 ===
1878 2008-01-07 Alexander Larsson <alexl@redhat.com>
1880 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1881 Fix warning (#507835)
1883 2008-01-07 Alexander Larsson <alexl@redhat.com>
1886 Pass --internal to glib-genmarshal
1889 * gmountoperation.c:
1891 Use better types for signal arguments (#507822)
1893 2008-01-07 Alexander Larsson <alexl@redhat.com>
1896 Build test subdir after .
1897 Remove gdirectorymonitor.[ch]
1899 * gdirectorymonitor.[ch]:
1903 Remove GDirectoryMonitor and make
1904 GFileMonitor the baseclass for both file and
1905 directory monitors. Lift the more generic
1906 rate limiting code from GDirectoryMonitor
1910 * fam/gfamdirectorymonitor.[ch]:
1911 * inotify/ginotifydirectorymonitor.[ch]:
1912 * inotify/inotify-helper.c:
1913 * glocaldirectorymonitor.[ch]:
1916 Update for the removed GDirectoryMonitor.
1918 * gmemoryoutputstream.c:
1919 Remove ununsed variable
1921 2008-01-07 Alexander Larsson <alexl@redhat.com>
1923 * gmemoryinputstream.c:
1924 Translate error strings
1927 * gmemoryoutputstream.[ch]:
1928 New implementation that avoids using GByteArray
1929 in implementation and API. (#506377)
1931 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1933 * tests/*: Add a test for memory input streams.
1935 * Makefile.am: Add tests to SUBDIRS.
1937 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1939 * glocalfilemonitor.c:
1940 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1943 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1945 * gdesktopappinfo.c: Fix a docs typo.
1947 * gfileattribute.c: Add information about extended attributes
1948 to the documentation. (#505058)
1950 2008-01-04 Alexander Larsson <alexl@redhat.com>
1953 * gmountoperation.c:
1954 Use the right type (uint) for the ask_password signal.
1956 2008-01-04 Alexander Larsson <alexl@redhat.com>
1961 Add g_app_info_supports_files()
1962 Remove desktop arg from g_app_info_should_show().
1964 * gdesktopappinfo.[ch]:
1965 Implement g_app_info_supports_files() and new should_show()
1966 Add g_desktop_app_info_set_desktop_env() to set the desktop
1967 for should_show(). (This will be set by gtk+ later)
1969 2008-01-04 Alexander Larsson <alexl@redhat.com>
1972 * gmemoryinputstream.[ch]:
1973 Improve API so that you can use multiple chunks
1974 of memory and custom destroy functions. (#506374)
1976 2008-01-03 Alexander Larsson <alexl@redhat.com>
1979 Handle NULL attribute matchers safely, as we return this
1980 for empty attribute matcher strings.
1982 2008-01-03 Alexander Larsson <alexl@redhat.com>
1984 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1985 Add /usr/local to list of internal mountpoints
1987 2008-01-03 Alexander Larsson <alexl@redhat.com>
1990 Check for HAVE_LCHOWN (#505887)
1992 2008-01-03 Alexander Larsson <alexl@redhat.com>
1996 Add define for selinux context attribute.
1997 Fix missing : -> :: namespace separator change
1998 Fix missing _ -> - name change for xattr-sys.
2001 2008-01-03 Alexander Larsson <alexl@redhat.com>
2004 Link to libglib and libgobject directly (#504879)
2005 Patch from Sebastien Bacher
2007 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2009 * gfile.c: Expanded the g_file_new_for_commandline_arg
2010 description a bit, based on the code and the docs of the
2011 other g_file_new_for_* functions.
2013 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2015 * gfilemonitor.h: Fixed typo in docs.
2017 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2019 Updates to GIO documentation. (#506395, Mikael Hermansson)
2021 * gcontenttype.c: Describe memory management for return value of
2022 g_content_types_get_registered(). Missing piece from #505815.
2023 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2024 GVolume, GDrive, GMounts, which hopefully gives the user less
2025 confusions when using this API. Following explainations from
2026 Alexander Larsson on gtk-devel-list.
2028 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2030 * gfileinfo.c: Expand the long description.
2032 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2035 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2036 fix builds with --disable-visibility. (#500273, Christian Persch)
2038 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2040 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2041 in the list of returned app infos.
2043 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2045 * gappinfo.c: Fix a cross-reference
2047 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2049 * gfileinputstream.c:
2050 * gfileoutputstream.c:
2054 * gdesktopappinfo.c:
2056 * gfileinfo.c: Documentation updates.
2058 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2060 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2063 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2065 * gcontenttype.c (g_content_types_get_registered): Don't return
2066 freed memory (#505815, Mikael Hermansson)
2068 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2070 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2071 used to detect statbuf->st_blocks. (#505042)
2073 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2075 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2076 environment handling. (#504829, Cosimo Cecchi)
2078 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2080 * gappinfo.c: Doc improvements
2082 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2085 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2087 * === Released 2.15.0 ===
2089 2007-12-20 Hans Breuer <hans@breuer.org>
2091 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2092 with symbols gwin32appinfo.obj, added gmount.obj
2093 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2095 2007-12-20 Alexander Larsson <alexl@redhat.com>
2101 * gfilenamecompleter.c:
2104 * gpollfilemonitor.c:
2105 File attribute renames:
2107 fs:: -> filesystem::
2108 id::fs -> id::filesystem
2110 2007-12-20 Alexander Larsson <alexl@redhat.com>
2119 Add GMountUnmountFlags to all unmount and
2121 Add g_mount_remount() call.
2123 2007-12-20 Alexander Larsson <alexl@redhat.com>
2125 * gvfs.c (get_default_vfs):
2126 Fix unused variable warning
2128 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2130 * pltcheck.sh: Update
2132 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2134 * gunionvolumemonitor.c:
2135 * gunixmount.c: Remove C99 comments
2137 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2139 * gio.symbols: Add some missing symbols
2141 2007-12-19 Alexander Larsson <alexl@redhat.com>
2144 Make g_io_modules_load_all_in_directory not unuse
2145 loaded modules so that users of it can do stuff
2147 Init internal "module" types.
2148 Initialize static prio and name for types so that
2149 we don't have to load modules to get it.
2151 * gnativevolumemonitor.h:
2153 Move is_supported to parent class so that
2154 non-native monitors can avoid being initialized
2155 too. (For instance GDaemonVolumeMonitor if we're
2156 not using GDaemonVfs.)
2158 * glocaldirectorymonitor.[ch]:
2159 * glocalfilemonitor.[ch]:
2160 * gunionvolumemonitor.c:
2161 * gunixvolumemonitor.c:
2163 Find plugins using the static prio+name to
2164 avoid unnecessarily loading the modules.
2166 2007-12-19 Alexander Larsson <alexl@redhat.com>
2171 2007-12-19 Alexander Larsson <alexl@redhat.com>
2173 * gunionvolumemonitor.c:
2174 Store the native type as GType, not class so that
2175 we can unload it. But still avoid unnecessarily
2178 2007-12-19 David Zeuthen <davidz@redhat.com>
2180 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2181 add signals 'disconnected' and 'eject-button' on GDrive. Add
2182 signal 'removed' on GVolume and 'unmounted' on GMount.
2184 * gdrive.c: (g_drive_base_init):
2186 * gfile.c: (g_file_mount_mountable),
2187 (g_file_mount_enclosing_volume):
2190 * gmount.c: (g_mount_base_init):
2192 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2193 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2194 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2198 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2200 * *.c: Fix up includes in the section docs.
2202 2007-12-17 Alexander Larsson <alexl@redhat.com>
2204 * gnativevolumemonitor.h:
2205 * gunionvolumemonitor.c:
2206 * gunixvolumemonitor.c:
2207 Add is_supported() to GNativeVolumeMonitorClass so
2208 that we can avoid having to create an object to see
2209 if the backend is supported at runtime.
2210 Also add name member and an env var to pick a specific
2211 volume monitor backend.
2215 Add cancellable to _g_mount_get_for_mount_path()
2217 * glocaldirectorymonitor.c:
2218 * glocalfilemonitor.c:
2219 Avoid loading and unloading modules while sorting.
2221 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2224 * gunixmounts.[hc]: Namespace waste reduction, move some
2225 g_get_unix_mount functions to the g_unix_mount namespace.
2228 * gunixvolumemonitor.c:
2230 * glocaldirectorymonitor.c: Update all callers.
2232 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2234 2007-12-17 Alexander Larsson <alexl@redhat.com>
2237 Add doc comments about what GFile operations are
2238 guaranteed to not block.
2240 2007-12-17 Alexander Larsson <alexl@redhat.com>
2243 Add missing #ifdef fixing OSX build.
2244 (#503334, patch from Richard Hult)
2246 2007-12-14 David Zeuthen <davidz@redhat.com>
2250 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2251 (g_mount_eject), (g_mount_eject_finish):
2253 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2254 (get_volume_for_uuid), (get_mount_for_uuid),
2255 (g_union_volume_monitor_class_init),
2256 (get_default_native_type_with_exclude), (get_default_native_type),
2257 (get_native_type), (update_native_type),
2258 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2259 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2260 (g_unix_mount_can_eject), (eject_unmount_cb),
2261 (eject_unmount_read_error), (eject_unmount_do),
2262 (g_unix_mount_unmount), (g_unix_mount_eject),
2263 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2264 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2265 (g_unix_mount_point_guess_can_eject):
2267 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2268 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2269 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2270 (g_unix_volume_mount), (g_unix_volume_eject),
2271 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2272 * gunixvolumemonitor.c: (get_volume_for_uuid),
2273 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2275 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2276 (g_volume_eject), (g_volume_eject_finish):
2278 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2279 (g_volume_monitor_get_mount_for_uuid):
2282 Provide eject() on both GMount and GVolume and utility functions
2283 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2284 ejected. Introduce the concept of UUID's and wire it into GVolume
2285 and GMount and provide API on GVolumeMonitor to find such
2286 instances. Also handle the case where an external
2287 GNativeVolumeMonitor fails to initialize. Lock around the
2288 _g_get_mount_for_mount_path() function such that volume monitor
2289 implementations won't have to do locking themselves.
2291 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2293 * gdesktopappinfo.c:
2299 * gvolume.h: Documentation updates
2301 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2304 * gfile.h: Doc updates
2306 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2309 * gdesktopappinfo.c: Use hash table iterators.
2311 2007-12-14 Alexander Larsson <alexl@redhat.com>
2314 * gfileattribute.[ch]:
2315 * gfileattribute-priv.h:
2316 Move GFileAttributeValue to a private header, as
2320 Make set_attribute take a type + a pointer instead
2321 of a GFileAttributeValue.
2324 Fix up for above changes.
2325 Add g_file_info_get_attribute_data to get
2326 all info in one call, g_file_info_get_attribute_status
2327 to get the status and g_file_info_get_attribute_as_string.
2331 * glocalfileinfo.[ch]:
2335 Make _guess_type static.
2337 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2340 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2341 made mkenums and friends use temporary files to avoid leaving
2342 empty generated files on failure (#503470).
2344 2007-12-14 Alexander Larsson <alexl@redhat.com>
2346 * gmountoperation.h:
2349 2007-12-14 Alexander Larsson <alexl@redhat.com>
2353 * gfileattribute.[ch]:
2356 * glocalfileoutputstream.c:
2357 * gmountoperation.[ch]:
2358 * goutputstream.[ch]:
2359 Clean up all flags enums to not have _FLAGS in them
2360 Make the names of some of the enums better.
2365 2007-12-14 Michael Natterer <mitch@imendio.com>
2367 * gio.symbols: fix g_io_scheduler symbol names.
2369 2007-12-14 Alexander Larsson <alexl@redhat.com>
2375 * gbufferedinputstream.h:
2376 * gbufferedoutputstream.h:
2379 * gdatainputstream.h:
2380 * gdataoutputstream.h:
2381 * gdesktopappinfo.h:
2382 * gdirectorymonitor.h:
2386 * gfileenumerator.h:
2389 * gfileinputstream.h:
2391 * gfilenamecompleter.h:
2392 * gfileoutputstream.h:
2393 * gfilterinputstream.h:
2394 * gfilteroutputstream.h:
2402 * gmemoryinputstream.h:
2403 * gmemoryoutputstream.h:
2405 * gmountoperation.h:
2408 * gsimpleasyncresult.h:
2410 * gunixinputstream.h:
2412 * gunixoutputstream.h:
2416 * inotify/Makefile.am:
2417 Only allow including <gio/gio.h> from apps
2419 2007-12-14 Alexander Larsson <alexl@redhat.com>
2421 * gioscheduler.[ch]:
2422 * gsimpleasyncresult.c:
2423 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2424 Split out the send_to_mainloop call into two versions instead
2425 of having the block argument.
2427 2007-12-13 Alexander Larsson <alexl@redhat.com>
2429 * gcancellable.[ch]:
2431 * gbufferedinputstream.c:
2432 * gfileenumerator.c:
2433 * gfileinputstream.c:
2434 * gfileoutputstream.c:
2438 g_push/pop_current_cancellable ->
2439 g_cancellable_push/pop_current
2441 2007-12-13 Alexander Larsson <alexl@redhat.com>
2445 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2447 2007-12-13 Alexander Larsson <alexl@redhat.com>
2449 * gmountoperation.h:
2450 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2452 2007-12-12 Alexander Larsson <alexl@redhat.com>
2455 Fix race condition when freeing proxy in
2456 g_io_job_send_to_mainloop().
2458 2007-12-12 Alexander Larsson <alexl@redhat.com>
2464 Make attribute namespace separator "::" instead of ":".
2465 Use - instead of _ as separator in attribute names.
2467 2007-12-12 Alexander Larsson <alexl@redhat.com>
2469 * gbufferedinputstream.h:
2470 * gbufferedoutputstream.h:
2471 * gdatainputstream.h:
2472 * gdataoutputstream.h:
2473 * gdirectorymonitor.h:
2474 * gfileenumerator.h:
2475 * gfileinputstream.h:
2477 * gfileoutputstream.h:
2478 * gfilterinputstream.h:
2479 * gfilteroutputstream.h:
2481 * glocalfileinputstream.h:
2482 * glocalfileoutputstream.h:
2483 * gmemoryinputstream.h:
2484 * gmemoryoutputstream.h:
2485 * gnativevolumemonitor.h:
2487 * gunixinputstream.h:
2488 * gunixoutputstream.h:
2491 s/parent/parent_instance/ in GObjects
2493 2007-12-12 Alexander Larsson <alexl@redhat.com>
2498 No need for padding for interfaces
2500 2007-12-12 Alexander Larsson <alexl@redhat.com>
2504 * gbufferedinputstream.c:
2505 * gbufferedoutputstream.c:
2508 * gdatainputstream.[ch]:
2509 * gdesktopappinfo.c:
2510 * gdirectorymonitor.c:
2512 * gfileattribute.[ch]:
2515 * gfileinputstream.h:
2516 * gfilemonitor.[ch]:
2517 * gfileoutputstream.[ch]:
2518 * gfilterinputstream.h:
2519 * gfilteroutputstream.h:
2522 * gloadableicon.[ch]:
2523 * gmemoryinputstream.c:
2524 * gmountoperation.c:
2526 Fix up a bunch of details in the docs.
2531 2007-12-11 David Zeuthen <davidz@redhat.com>
2533 Rework how volumes, drives and volume monitoring is
2534 done. Previosly the model was
2536 GDrive <1-1> GVolume
2538 where a GDrive instance represented a mount point and a GVolume
2539 instance represented a mounted file system. This patch changes it
2542 GDrive <1-N> GVolume <1-1> GMount
2544 where GMount now serves the purpose of the old GVolume and the new
2545 GVolume serves the purpose of the old GDrive. In addition the new
2546 GDrive interface is used to represent a collection of GVolume
2547 instances (typically partitions) and also contains utility to query
2548 the state of the physical drive the GDrive object represents (such
2549 as checking for media, polling the drive, ejecting the media etc.).
2551 Also implement mounting and unmounting in the Unix volume monitor
2552 backend. A subquent patch will introduce GDrive support for ejection
2556 * gdrive.c: (g_drive_is_media_check_automatic),
2557 (g_drive_is_media_removable), (g_drive_has_media),
2558 (g_drive_can_poll_for_media), (g_drive_eject),
2559 (g_drive_eject_finish), (g_drive_poll_for_media),
2560 (g_drive_poll_for_media_finish):
2562 * gfile.c: (g_file_find_enclosing_mount):
2565 * glocaldirectorymonitor.c:
2566 (g_local_directory_monitor_constructor), (mounts_changed):
2567 * glocalfile.c: (get_mount_info),
2568 (g_local_file_find_enclosing_mount),
2569 (g_local_file_file_iface_init):
2570 * gnativevolumemonitor.h:
2571 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2572 (get_connected_drives), (g_union_volume_monitor_class_init),
2573 (child_volume_added), (child_volume_removed),
2574 (child_volume_changed), (child_mount_added), (child_mount_removed),
2575 (child_mount_pre_unmount), (child_mount_changed),
2576 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2577 (g_union_volume_monitor_remove_monitor),
2578 (_g_mount_get_for_mount_path):
2579 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2580 (guess_system_internal), (_g_get_unix_mounts),
2581 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2582 (g_unix_mount_free), (g_unix_mount_compare),
2583 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2584 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2585 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2586 (type_to_icon), (g_unix_mount_guess_name),
2587 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2588 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2589 (_resolve_symlink), (_resolve_dev_root):
2591 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2592 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2593 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2594 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2595 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2596 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2597 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2598 (g_unix_volume_volume_iface_init):
2600 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2601 (get_mounts), (get_volumes), (get_connected_drives),
2602 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2603 (mountpoints_changed), (mounts_changed),
2604 (g_unix_volume_monitor_init),
2605 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2606 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2607 * gunixvolumemonitor.h:
2608 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2609 (g_volume_mount), (g_volume_mount_finish):
2611 * gvolumemonitor.c: (g_volume_monitor_class_init),
2612 (g_volume_monitor_get_connected_drives),
2613 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2616 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2618 * gmountoperation.h (GPasswordFlags): Close the gap
2620 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2622 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2624 * gdesktopappinfo.[hc]: Remove _-prefixes
2626 2007-12-10 Tor Lillqvist <tml@novell.com>
2628 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2631 2007-12-10 Alexander Larsson <alexl@redhat.com>
2633 * gfile.c (g_file_set_display_name):
2634 Don't hardcode '/' (#502727)
2636 2007-12-09 Hans Breuer <hans@breuer.org>
2638 * makefile.msc : follow lib naming convention
2639 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2640 for user and group name, tested with ../tests/gio-ls
2642 2007-12-09 A. Walton <awalton@svn.gnome.org>
2644 * gdesktopappinfo.c:
2650 * gfileenumerator.c:
2655 * gmemoryinputstream.c:
2656 * gmemoryoutputstream.c:
2658 * gsimpleasyncresult.c:
2659 More documentation cleanup and filling in missing information, bringing
2660 GIO to 99% symbol coverage.
2662 2007-12-08 Hans Breuer <hans@breuer.org>
2664 [gio compiles and links on win32, not sure how much already works]
2665 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2666 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2667 base on win32 API; prefer g_lstat() over lstat(); instead of
2668 localtime_r() use an all GLib implementation on win32;
2669 get_mount_info() still needs a win32 specifc implementation
2670 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2671 win32_get_file_user_info to get owner/group info without uid/gid
2672 * glocalfileinputstream.c : include <io.h> on win32
2673 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2674 definition, use g_win32_ftruncate() for G_OS_WIN32
2675 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2676 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2677 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2678 * makefile.msc : updated
2680 2007-12-07 Alexander Larsson <alexl@redhat.com>
2682 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2683 Avoid warning spew if error == NULL
2685 2007-12-07 Alexander Larsson <alexl@redhat.com>
2688 Update docs wrt etags
2690 2007-12-06 Alexander Larsson <alexl@redhat.com>
2693 Include sys/types.h for dev_t (#501919)
2695 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2699 Make abicheck and pltcheck pass.
2701 2007-12-05 Alexander Larsson <alexl@redhat.com>
2704 * giomodule-priv.h: Added.
2705 * glocaldirectorymonitor.c:
2706 * glocalfilemonitor.c:
2707 * gunionvolumemonitor.c:
2709 Actually add the declaration of _g_io_modules_ensure_loaded
2711 2007-12-05 Alexander Larsson <alexl@redhat.com>
2713 * gdatainputstream.c:
2718 * glocaldirectorymonitor.c:
2719 * glocalfilemonitor.c:
2720 * gunionvolumemonitor.c:
2722 Make g_io_modules_ensure_loaded a private function and
2723 don't pass in the dirname. This means we can do magic
2724 directory finding in the win32 version.
2725 Export the actual load-modules-in-directory code so that
2726 gvfs can reuse that.
2728 2007-12-05 Alexander Larsson <alexl@redhat.com>
2730 * gbufferedinputstream.c:
2731 * gbufferedoutputstream.c:
2734 * gfileenumerator.[ch]:
2735 * gfileinputstream.c:
2736 * gfileoutputstream.[ch]:
2737 * gfilterinputstream.c:
2738 * gfilteroutputstream.c:
2739 * ginputstream.[ch]:
2741 * glocalfileenumerator.c:
2742 * glocalfileinputstream.c:
2743 * glocalfileoutputstream.c:
2744 * gmemoryinputstream.c:
2745 * gmemoryoutputstream.c:
2746 * goutputstream.[ch]:
2749 * gunixinputstream.c:
2750 * gunixoutputstream.c:
2751 Rename all struct members named:
2752 read, write, close, truncate, or mount
2753 to foo_fn, as these are reserved names
2754 and could be defined as macros in libc.
2757 2007-12-04 Alexander Larsson <alexl@redhat.com>
2760 (g_output_stream_close):
2761 Only call flush if non-null.
2763 2007-11-30 Dan Winship <danw@gnome.org>
2765 * ginputstream.c (g_input_stream_set_pending): Make this take a
2766 GError and return a gboolean, and do the "outstanding operation"
2767 check (and the "stream is already closed" check) itself.
2768 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2770 * goutputstream.c (g_output_stream_set_pending)
2771 (g_output_stream_clear_pending): Likewise
2773 * gbufferedinputstream.c:
2774 * gfileinputstream.c:
2775 * gfileoutputstream.c: Update for that
2777 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2778 Like g_simple_async_report_error_in_idle, but takes a GError
2779 rather than building one.
2781 2007-11-30 Dan Winship <danw@gnome.org>
2783 * goutputstream.c: Don't cheat and unset the "pending" flag around
2784 inner calls. Instead, call the class method directly rather than
2785 the wrapper function that checks "pending"
2787 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2789 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2791 2007-12-03 Hans Breuer <hans@breuer.org>
2793 [start of port to win32/msvc]
2794 * gcancellable.c : HAVE_UNIST_H and _pipe()
2795 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2796 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2797 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2799 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2800 * glocalvfs.c : use HAVE_PWD_H
2801 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2802 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2803 * Makefile.am : added to EXTRA_DIST
2805 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2807 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2810 2007-12-03 Alexander Larsson <alexl@redhat.com>
2813 Handle OSX style xattrs API (#500506)
2815 2007-12-03 Alexander Larsson <alexl@redhat.com>
2819 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2821 2007-12-02 A. Walton <awalton@svn.gnome.org>
2825 Documentation accuracy fixes.
2827 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2829 * gioenumtypes.c.template: Fix typo.
2831 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2833 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2835 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2837 * gdirectorymonitor.c:
2838 * gfilemonitor.c: Add properties
2840 * gbufferedoutputstream.c: Don't mark buffer-size property
2843 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2845 * gbufferedoutputstream.c: Add auto-grow property.
2847 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2849 * *.c: Unify the capitalization of section headings.
2851 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2853 * gmountoperation.c: Add properties
2855 * gdatainputstream.c: Turn byte-order and newline-type into
2858 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2860 * gioenumtypes.[hc].template: Templates for enum registration
2862 * Makefile.am: Generate gioenumtypes.[hc]
2864 * gio.h: Include gioenumtypes.h
2866 * gfile.h: Add some explicit nicks.
2868 * gio.symbols: Add new symbols
2870 * pltcheck.sh: Adjust
2872 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2874 * *.c: Explain etags and link to the explanation
2876 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2878 * *.c: Explain I/O priority.
2880 * *.c: More coding style fixes.
2882 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2884 * gasyncresult.c: Add another paragraph to the intro,
2885 adjust coding style of example.
2887 2007-11-29 A. Walton <awalton@svn.gnome.org>
2890 Fixes unknown meaning in GAppLaunchContext docs.
2892 Clarify asynchronous ops.
2894 Fix entity tag docs.
2897 Provides missing gtk-doc section, fixes API docs slighly.
2898 * gsimpleasyncresult.c:
2899 Fill in missing info in docs.
2900 * gunixinputstream.c:
2901 * gunixoutputstream.c:
2902 Be more expressive in short description.
2904 Remove gtk-doc stubs for non-public API.
2906 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2908 * *.c: Coding style fixups
2910 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2912 * inotify/inotify-helper.c: Don't export the lock from libgio.
2914 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2917 * abicheck.sh: Fix copy-and-paste leftovers
2919 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2921 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2923 2007-11-28 Alexander Larsson <alexl@redhat.com>
2927 Removed unnecessary file
2929 * gdesktopappinfo.[ch]:
2932 * glocaldirectorymonitor.[ch]:
2934 * glocalfileenumerator.[ch]:
2935 * glocalfileinputstream.[ch]:
2936 * glocalfilemonitor.[ch]:
2937 * glocalfileoutputstream.[ch]:
2939 * gnativevolumemonitor.c:
2940 * gpollfilemonitor.[ch]:
2941 * gunionvolumemonitor.[ch]:
2944 * gunixvolumemonitor.[ch]:
2947 * inotify/ginotifydirectorymonitor.[ch]:
2948 * inotify/ginotifyfilemonitor.[ch]:
2949 * inotify/inotify-helper.c:
2950 Append _ to all internal functions
2954 Export symbols needed for modules
2956 2007-11-28 Alexander Larsson <alexl@redhat.com>
2959 * abicheck.sh: Added.
2960 * makegioalias.pl: Added.
2961 * pltcheck.sh: Added.
2962 * gio.symbols: Added.
2965 Initial work on adding symbol handling.
2968 Correct ifdef guard name
2971 * inotify/Makefile.am:
2972 * xdgmime/Makefile.am:
2973 Include toplevel Makefile.decl
2975 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2977 * gcontenttype.c: Move doc comments to the unix section.
2979 * *.[hc]: More trivial doc corrections.
2981 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2983 * gpollfilemonitor.c:
2987 * gdesktopappinfo.c:
2992 * gdatainputstream.c:
2993 * gdatainputstream.h:
2994 * gdataoutputstream.c:
2995 * gdataoutputstream.h:
2996 * gfileinfo.h: Doc cleanups
2998 2007-11-28 Andre Klapper <a9016009@gmx.de>
3000 * gdesktopappinfo.c: Fix a typo.
3002 2007-11-27 Andre Klapper <a9016009@gmx.de>
3004 * glocalfileoutputstream.c: Fix a typo.
3006 2007-11-27 Alexander Larsson <alexl@redhat.com>
3009 Don't include removed headers
3011 2007-11-27 Alexander Larsson <alexl@redhat.com>
3014 * gsocketinputstream.[ch]: Removed.
3015 * gsocketoutputstream.[ch]: Removed.
3016 * gunixinputstream.[ch]: Added.
3017 * gunixoutputstream.[ch]: Added.
3018 Renamed GSocket*Stream to GUnix*Stream and made
3019 it unix-only, since its not really only for sockets
3020 and it only works on unix (but is highly useful there).
3022 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3028 * gbufferedinputstream.c:
3029 * gbufferedinputstream.h:
3030 * gbufferedoutputstream.c:
3031 * gbufferedoutputstream.h:
3035 * gdatainputstream.c:
3036 * gdatainputstream.h:
3037 * gdataoutputstream.c:
3038 * gdataoutputstream.h:
3039 * gdirectorymonitor.c:
3040 * gdirectorymonitor.h:
3047 * gfileenumerator.c:
3048 * gfileenumerator.h:
3053 * gfileinputstream.c:
3054 * gfileinputstream.h:
3057 * gfilenamecompleter.c:
3058 * gfilenamecompleter.h:
3059 * gfileoutputstream.c:
3060 * gfileoutputstream.h:
3061 * gfilterinputstream.c:
3062 * gfilterinputstream.h:
3063 * gfilteroutputstream.c:
3064 * gfilteroutputstream.h:
3077 * glocalfileoutputstream.c:
3078 * gmemoryinputstream.c:
3079 * gmemoryinputstream.h:
3080 * gmemoryoutputstream.c:
3081 * gmemoryoutputstream.h:
3082 * gmountoperation.c:
3083 * gmountoperation.h:
3086 * gpollfilemonitor.c:
3089 * gsimpleasyncresult.c:
3090 * gsimpleasyncresult.h:
3091 * gsocketinputstream.c:
3092 * gsocketinputstream.h:
3093 * gsocketoutputstream.c:
3094 * gsocketoutputstream.h:
3101 * gunixvolumemonitor.c:
3110 Bumps documentation to 93% symbol coverage, touching most
3111 of the public files. Fixes broken function documentation prototypes.
3112 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3113 gtk-doc headers in private files.
3115 2007-11-27 Jürg Billeter <j@bitron.ch>
3117 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3118 (g_buffered_input_stream_read_byte):
3119 * gbufferedinputstream.h:
3120 New functions for efficient access to buffer and simple single byte
3123 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3124 (g_data_input_stream_read_until):
3125 * gdatainputstream.h:
3126 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3127 read_until with multiple stop chars.
3129 2007-11-27 Alexander Larsson <alexl@redhat.com>
3133 * inotify/Makefile.am:
3134 Use the user-specified giomoduledir
3136 2007-11-27 Alexander Larsson <alexl@redhat.com>
3140 Add catch-all gio.h header
3141 Don't install gdummyfile.h
3143 2007-11-26 Alexander Larsson <alexl@redhat.com>
3145 * Makefile.am (gioinclude_HEADERS):
3146 Remove trailing whitespace
3148 2007-11-26 Alexander Larsson <alexl@redhat.com>
3150 Merge gio-standalone into glib
3152 2007-11-25 Christian Kellner <gicmo@gnome.org>
3154 * gio/goutputstream.c:
3155 Fix small mistake in the docs.
3157 2007-11-21 Christian Persch <chpe@gnome.org>
3159 * gio/glocalfile.c: (g_local_file_trash):
3160 Convert filenames to UTF-8 for GError.
3161 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3162 as per xdg base dir spec.
3164 2007-11-21 Christian Persch <chpe@gnome.org>
3166 * gio/gdesktopappinfo.c:
3167 Use that g_key_file_to_data cannot fail.
3169 Use stock defines for the key file group and key names.
3172 2007-11-21 Alexander Larsson <alexl@redhat.com>
3175 (copy_stream_with_progress):
3176 Make sure we do a final progress callback with
3177 the full total size.
3179 2007-11-21 Alexander Larsson <alexl@redhat.com>
3182 Export g_file_copy_attributes
3183 Remove padding as its not needed for interfaces
3185 2007-11-20 Alexander Larsson <alexl@redhat.com>
3190 Add G_IO_ERROR_WOULD_MERGE for
3191 copy/move dir on dir with overwrite.
3193 2007-11-20 Alexander Larsson <alexl@redhat.com>
3196 * gio/glocalfileinfo.c:
3197 Add COPY_NAME (this is an optional
3198 non-modified utf8 version of the name) that
3201 2007-11-20 Alexander Larsson <alexl@redhat.com>
3203 * gio/glocalfileenumerator.c:
3204 Report errors as GIOError, not GFileError
3206 2007-11-16 Alexander Larsson <alexl@redhat.com>
3208 * gio/glocalfileoutputstream.c:
3209 * gio/gwin32appinfo.c:
3210 Fix typos in strings.
3211 Patch from Luca Ferretti <elle.uca@libero.it>
3213 2007-11-15 Alexander Larsson <alexl@redhat.com>
3216 Post release version bump
3218 === gio-standalone 0.1.2 ===
3220 2007-11-15 Alexander Larsson <alexl@redhat.com>
3222 * docs/reference/gio/Makefile.am:
3223 Fix up distcheck by removing weird
3229 2007-11-14 Alexander Larsson <alexl@redhat.com>
3231 * gio/gdesktopappinfo.c:
3232 * gio/glocaldirectorymonitor.c:
3234 * gio/glocalfileinfo.c:
3235 * gio/inotify/inotify-sub.c:
3236 * programs/gio-cat.c:
3237 * programs/gio-copy.c:
3238 * programs/gio-info.c:
3239 * programs/gio-ls.c:
3240 * programs/gio-monitor-dir.c:
3241 * programs/gio-monitor-file.c:
3242 * programs/gio-mount.c:
3243 * programs/gio-move.c:
3244 * programs/gio-rm.c:
3245 * programs/gio-save.c:
3246 * programs/gio-trash.c:
3247 Leak fixes from Kjartan Maraas
3249 2007-11-14 Alexander Larsson <alexl@redhat.com>
3251 * gio/fam/fam-helper.c:
3253 * gio/glocalfileinfo.c:
3257 * gio/inotify/inotify-diag.c:
3258 * gio/inotify/inotify-kernel.c:
3259 Various code cleanups from Kjartan Maraas
3261 2007-11-14 Alexander Larsson <alexl@redhat.com>
3263 * gio/gioscheduler.c:
3265 Set up threadpool so that we cache 2 unused
3266 idle threads for at 15 secs. This means we
3267 will reuse thread-local data (like dbus connections)
3270 2007-11-14 Alexander Larsson <alexl@redhat.com>
3272 * gio/fam/fam-helper.c:
3273 * gio/fam/gfamdirectorymonitor.c:
3274 * gio/fam/gfamfilemonitor.c:
3276 * gio/gcontenttype.c:
3277 * gio/gdatainputstream.c:
3278 * gio/gdataoutputstream.c:
3282 * gio/gfileattribute.h:
3283 * gio/gfileenumerator.c:
3285 * gio/ginputstream.c:
3288 * gio/glocalfileinfo.c:
3289 * gio/goutputstream.c:
3290 * gio/gpollfilemonitor.c:
3291 * gio/gsimpleasyncresult.c:
3292 * gio/gunixmounts.c:
3293 * gio/gunixmounts.h:
3294 * gio/inotify/ginotifydirectorymonitor.c:
3295 * gio/inotify/ginotifyfilemonitor.c:
3296 * gio/inotify/inotify-diag.c:
3297 * gio/inotify/inotify-kernel.c:
3298 * gio/inotify/inotify-path.c:
3300 * gio/test-streams.c:
3301 * programs/gio-info.c:
3302 * programs/gio-monitor-dir.c:
3303 * programs/gio-monitor-file.c:
3304 Various code cleanups from Kjartan Maraas
3306 2007-11-13 Alexander Larsson <alexl@redhat.com>
3309 Handle the uri-scheme calls for dummy files
3311 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3313 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3314 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3315 to avoid clash with the C++ keyword.
3317 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3319 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3320 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3322 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3324 * gio/glocaldirectorymonitor.c:
3325 * gio/glocalfilemonitor.c:
3326 * gio/gunionvolumemonitor.c:
3327 Don't use g_once_init_*() for initializations that could fail and
3328 could leave the initialization variable set to 0 but use GOnce.
3329 This prevents a deadlock on the second call when trying to create
3330 a monitor and no monitor type is available. Thanks to Sven Herzberg
3333 2007-11-11 Sven Herzberg <sven@imendio.com>
3335 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3336 #ifdef (make it work on MacOS X again)
3338 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3340 Fixes Changelog for last two commits (sorry guys).
3342 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3344 * gio/gbufferedinputstream.c:
3345 * gio/gdatainputstream.c:
3347 * gio/gfileoutputstream.c:
3348 * gio/gfilterinputstream.c:
3349 * gio/glocalfileinputstream.c:
3352 More consistency fixes in g*stream.c files.
3353 Significant clean of gfile's documentation, filling in of
3354 asynchronous operations documentation.
3356 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3358 * gio/gasyncresult.c:
3359 * gio/gbufferedinputstream.c:
3360 * gio/gbufferedoutputstream.c:
3361 * gio/gcancellable.c:
3362 * gio/gcontenttype.c:
3363 * gio/gdatainputstream.c:
3364 * gio/gdataoutputstream.c:
3365 * gio/gdesktopappinfo.c:
3368 * gio/gfileattribute.c:
3369 * gio/gio/gfileenumerator.c:
3371 * gio/gfileinputstream.c:
3372 * gio/gfilemonitor.c:
3373 * gio/gfileoutputstream.c:
3374 * gio/ginputstream.c:
3376 * gio/gioscheduler.c:
3377 * gio/gloadableicon.c:
3378 * gio/glocalfileoutputstream.c:
3379 * gio/gmemoryoutputstream.c:
3380 * gio/gmountoperation.c:
3381 * gio/goutputstream.c:
3383 * gio/gsimpleasyncresult.c:
3384 * gio/gunionvolumemonitor.c:
3385 * gio/gunixmounts.c:
3386 * gio/gunixvolume.c:
3390 * gio/gvolumemonitor.c:
3391 Updated documentation stubs, working towards consistency and
3394 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3396 * gio/gmemoryoutputstream.c:
3397 * gio/gmemoryoutputstream.h:
3398 Change g_memory_output_stream_set_free_on_close() to
3399 g_memory_output_stream_set_free_data() as this makes more sense and
3400 is more consistent with GMemoryInputStream.
3402 2007-11-07 Alexander Larsson <alexl@redhat.com>
3409 Change how we find the default vfs so that
3410 we can handle a gvfs failing to init
3412 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3414 * gio/gbufferedoutputstream.c:
3415 * gio/gdatainputstream.c:
3416 * gio/gdataoutputstream.c:
3417 * gio/gfileinputstream.c:
3418 * gio/gfileoutputstream.c:
3419 * gio/gfilterinputstream.c:
3420 * gio/gfilteroutputstream.c:
3421 * gio/ginputstream.c:
3422 * gio/gmemoryinputstream.c:
3423 * gio/gmemoryoutputstream.c:
3424 * gio/goutputstream.c:
3425 * gio/gsimpleasyncresult.c:
3426 * gio/gsocketinputstream.c:
3427 * gio/gsocketoutputstream.c:
3428 Add guards to the remaining public functions, add a TODO for
3429 an unimplemented function and remove some useless guards.
3431 2007-11-07 Alexander Larsson <alexl@redhat.com>
3434 Autoconf checks for the various types of
3435 getpwuid_r and getgrgid_r
3437 * gio/glocalfileinfo.c:
3438 Use the autoconf checks from above
3440 2007-11-07 Alexander Larsson <alexl@redhat.com>
3443 (g_local_file_query_filesystem_info):
3444 Some fixes for the statvfs case
3446 2007-11-07 Alexander Larsson <alexl@redhat.com>
3449 (g_local_file_query_filesystem_info):
3450 Pick the "best" of statfs / statvfs for the system
3451 if both are availible.
3453 2007-11-07 Alexander Larsson <alexl@redhat.com>
3455 Solaris fixes from Halton.Huo@Sun.COM:
3462 * gio/glocalfileinfo.c:
3463 Fix for solaris definition of getpwuid_r
3465 * gio/test-streams.c:
3466 Use G_GNUC_PRETTY_FUNCTION
3468 2007-11-07 Alexander Larsson <alexl@redhat.com>
3470 * gio/gdesktopappinfo.c:
3471 (update_default_list):
3472 Remove double semicolon.
3473 Patch from Jens Granseuer
3475 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3477 * docs/reference/gio/gio-sections.txt:
3478 * gio/gbufferedinputstream.c:
3479 * gio/gbufferedinputstream.h:
3480 * gio/gdatainputstream.c:
3481 * gio/gfileenumerator.c:
3482 * gio/gioscheduler.c:
3483 * gio/gunionvolumemonitor.c:
3485 * programs/gio-save.c:
3486 Fix typo: availible -> available. Unfortuntely this breaks API
3487 and ABI as g_buffered_input_stream_get_available() was renamed.
3489 * gio/gunixmounts.c:
3490 * gio/gbufferedinputstream.c:
3491 Add guards for public functions.
3493 2007-11-06 Ross Burton <ross@openedhand.com>
3495 * docs/reference/gio/Makefile.am:
3496 Fix invalid += usage which automake 1.10 doesn't like.
3498 2007-11-06 Alexander Larsson <alexl@redhat.com>
3501 (g_app_launch_context_class_init):
3504 Patch from Ross Burton
3506 2007-11-06 Alexander Larsson <alexl@redhat.com>
3509 Post release version bump
3511 === gio-standalone 0.1.1 ===
3513 2007-11-06 Alexander Larsson <alexl@redhat.com>
3516 Bump version to 0.1.1
3518 * gio/gsimpleasyncresult.c:
3519 (g_simple_async_result_set_from_error):
3520 Remove bogus g_return_if_fail
3522 2007-11-06 Alexander Larsson <alexl@redhat.com>
3525 The name is gio-standalone
3528 Add top src/builddir to includedir
3530 2007-11-06 Alexander Larsson <alexl@redhat.com>
3532 * docs/reference/gio/gio-sections.txt:
3534 * gio/gbufferedinputstream.c:
3535 * gio/gbufferedoutputstream.c:
3536 * gio/gcancellable.c:
3537 * gio/gdatainputstream.h:
3538 * gio/gdataoutputstream.c:
3539 * gio/gdataoutputstream.h:
3540 * gio/gdirectorymonitor.c:
3542 * gio/gfileattribute.c:
3543 * gio/gfileattribute.h:
3544 * gio/gfileenumerator.c:
3545 * gio/gfileenumerator.h:
3548 * gio/gfileinputstream.h:
3549 * gio/gfilemonitor.c:
3550 * gio/gfileoutputstream.h:
3551 * gio/glocalfilemonitor.h:
3552 * gio/glocalfileoutputstream.h:
3553 * gio/gmemoryinputstream.c:
3554 * gio/gmemoryoutputstream.c:
3555 * gio/gmountoperation.c:
3556 * gio/goutputstream.c:
3557 * gio/goutputstream.h:
3559 * gio/gsimpleasyncresult.c:
3560 * gio/gunixmounts.c:
3561 * gio/gunixmounts.h:
3563 * gio/inotify/inotify-helper.c:
3564 Fix gtk-doc warnings
3566 Patch from Ross Burton
3568 2007-11-06 Alexander Larsson <alexl@redhat.com>
3570 * gio/gfilenamecompleter.c:
3571 (g_filename_completer_get_completions):
3574 * gio/gunixvolume.c:
3575 Remove unused function
3577 Patches from Ross Burton
3579 2007-11-06 Alexander Larsson <alexl@redhat.com>
3584 Padding not needed for interfaces
3586 2007-11-06 Alexander Larsson <alexl@redhat.com>
3588 * gio/gfilemonitor.c:
3592 Make giotypes.h an internal file
3595 * gio/gbufferedinputstream.h:
3596 * gio/gbufferedoutputstream.h:
3597 * gio/gcancellable.h:
3598 * gio/gdatainputstream.h:
3599 * gio/gdataoutputstream.h:
3600 * gio/gdirectorymonitor.c:
3601 * gio/gdirectorymonitor.h:
3606 * gio/gfileattribute.h:
3607 * gio/gfileenumerator.h:
3612 * gio/gfilemonitor.c:
3613 * gio/gfilemonitor.h:
3614 * gio/gfilenamecompleter.c:
3615 * gio/gfilenamecompleter.h:
3616 * gio/gfilterinputstream.h:
3617 * gio/gfilteroutputstream.h:
3618 * gio/ginputstream.h:
3619 * gio/gmemoryinputstream.h:
3620 * gio/gmemoryoutputstream.h:
3621 * gio/gmountoperation.c:
3622 * gio/gmountoperation.h:
3623 * gio/gnativevolumemonitor.c:
3624 * gio/goutputstream.h:
3627 * gio/gsimpleasyncresult.c:
3628 * gio/gsimpleasyncresult.h:
3629 * gio/gsocketinputstream.h:
3630 * gio/gsocketoutputstream.h:
3631 * gio/gthemedicon.c:
3632 * gio/gthemedicon.h:
3636 * gio/gvolumemonitor.c:
3637 * gio/gvolumemonitor.h:
3638 Add padding in classes where it seems useful
3639 Don't include giotypes.h from public headers
3640 Move in Class definitions into c file where possible
3645 2007-11-06 Alexander Larsson <alexl@redhat.com>
3647 * docs/reference/gio/gio-docs.xml:
3648 Better structure for API docs
3650 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3653 * gio/gloadableicon.c:
3654 * gio/gsimpleasyncresult.c:
3655 * gio/gthemedicon.c:
3656 Add some more guards to public functions. Only files missing are now
3659 2007-11-06 Alexander Larsson <alexl@redhat.com>
3661 * docs/reference/gio/gio-docs.xml:
3662 Remove old files, add missing ones
3664 2007-11-06 Alexander Larsson <alexl@redhat.com>
3666 * docs/reference/gio/gio-sections.txt:
3669 Hide implementation classes
3671 * gio/gdriveprivate.h:
3672 * gio/gvolumeprivate.h:
3673 Remove non-existing function declarations
3675 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3678 Fix compilation warnings and add guards to the new functions.
3680 * gio/gasyncresult.c:
3682 Add guards to the public functions.
3685 Implement get_path().
3687 2007-11-06 Alexander Larsson <alexl@redhat.com>
3689 * gio/gfilenamecompleter.c:
3690 Make g_filename_completer_get_completions
3691 return char ** instead of GList for
3694 * docs/reference/gio/gio-docs.xml:
3695 * docs/reference/gio/gio-sections.txt:
3697 * gio/gasyncresult.c:
3698 * gio/gbufferedinputstream.c:
3699 * gio/gbufferedoutputstream.c:
3700 * gio/gcancellable.c:
3701 * gio/gcontenttype.c:
3702 * gio/gdatainputstream.c:
3703 * gio/gdataoutputstream.c:
3704 * gio/gdesktopappinfo.c:
3705 * gio/gdirectorymonitor.c:
3709 * gio/gfileattribute.c:
3710 * gio/gfileenumerator.c:
3713 * gio/gfileinputstream.c:
3714 * gio/gfilemonitor.c:
3715 * gio/gfilenamecompleter.c:
3716 * gio/gfilenamecompleter.h:
3717 * gio/gfileoutputstream.c:
3718 * gio/gfilterinputstream.c:
3720 * gio/ginputstream.c:
3722 * gio/gioscheduler.c:
3723 * gio/gloadableicon.c:
3724 * gio/glocaldirectorymonitor.c:
3726 * gio/glocalfileinputstream.c:
3727 * gio/glocalfilemonitor.c:
3728 * gio/glocalfileoutputstream.c:
3730 * gio/gmemoryinputstream.c:
3731 * gio/gmemoryoutputstream.c:
3732 * gio/gmountoperation.c:
3733 * gio/goutputstream.c:
3734 * gio/gpollfilemonitor.c:
3736 * gio/gsimpleasyncresult.c:
3737 * gio/gsocketinputstream.c:
3738 * gio/gsocketoutputstream.c:
3739 * gio/gthemedicon.c:
3740 * gio/gunionvolumemonitor.c:
3742 * gio/gunixmounts.c:
3743 * gio/gunixvolume.c:
3744 * gio/gunixvolumemonitor.c:
3748 * gio/gvolumemonitor.c:
3749 * gio/gwin32appinfo.c:
3750 Add (mostly stub) doc strings to public functions.
3751 Patch from Andrew Walton (awalton@gmail.com)
3753 2007-11-06 Alexander Larsson <alexl@redhat.com>
3755 * gio/gappinfo.[ch]:
3756 Added GAppLaunchContext object and pass that to launch.
3757 This allows simple implementation of both
3758 launch-on-screen and startup notification via a gtk+
3759 subclass of GAppLaunchContext
3761 * gio/gdesktopappinfo.c:
3762 Implement GAppLaunchContext API
3764 * gio/gwin32appinfo.c:
3767 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3769 * gio/gmountoperation.c:
3770 Add some guards to GMountOperation's public functions.
3772 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3776 * gio/gcancellable.c:
3777 * gio/gdirectorymonitor.c:
3779 * gio/gfileenumerator.c:
3780 * gio/gfilemonitor.c:,
3781 * gio/gfilenamecompleter.c:
3784 * gio/gioscheduler.c:
3788 * gio/gvolumemonitor.c:
3789 Add even more guards to various public functions.
3791 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3794 Add guards to the public functions of GAppInfo.
3796 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3798 * gio/gcontenttype.c:
3799 Add some more guards for public functions.
3801 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3803 * gio/fam/fam-module.c:
3804 * gio/fam/gfamdirectorymonitor.c:
3805 * gio/fam/gfamdirectorymonitor.h:
3806 * gio/fam/gfamfilemonitor.c:
3807 * gio/fam/gfamfilemonitor.h:
3808 * gio/inotify/ginotifydirectorymonitor.c:
3809 * gio/inotify/ginotifydirectorymonitor.h:
3810 * gio/inotify/ginotifyfilemonitor.c:
3811 * gio/inotify/ginotifyfilemonitor.h:
3812 Add proper copyright information and remove an unused variable
3813 in the GInotifyFileMonitor constructor.
3815 * gio/gcancellable.c:
3816 Add a guard for a public function and an assertion to prevent
3817 an undefined program state.
3819 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3821 * gio/gfileattribute.c:
3822 Don't run into an assertion if the given attribute value is NULL
3823 in g_file_attribute_value_get_*() but instead return a fallback
3824 value that makes sense in most situations. Passing them a attribute
3825 value with the wrong type will still run into an assertion.
3827 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3829 * gio/gfileattribute.c:
3831 Add even more guards to the public functions. Also fix the refcounting
3832 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3833 let g_file_info_list_attributes() filter the attributes by namespace
3834 instead of simply ignoring the namespace parameter.
3836 2007-11-03 Sven Herzberg <sven@imendio.com>
3838 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3839 (This makes gio work on MacOS X again)
3841 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3844 Build the gio subdirectory before the docs. Otherwise the build will
3847 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3848 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3849 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3850 Add guards to the public functions.
3852 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3854 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3855 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3856 to prevent a compiler warning.
3858 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3859 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3860 return something in the non-void function find_topdir_for().
3862 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3869 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3871 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3872 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3873 * gwin32appinfo.c (g_win32_app_info_launch):
3874 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3875 envp_for_startup_id, g_desktop_app_info_launch,
3876 g_desktop_app_info_launch_uris):
3878 Give an opaque 'startup_id' string instead of 'envp'.
3879 Support empty file lists for launching new windows.
3880 Fix infinite recursion bug when launching URIs.
3882 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3885 Add guard to the new g_file_get_uri_scheme() function.
3887 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3890 Convert a g_return_val_if_fail() to setting the GError instead as
3891 otherwise applications have to verify the parameter before otherwise
3892 and the parameter might come directly from the user.
3894 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3896 * gio/inotify/ginotify*.[ch]:
3897 Add missing copyright information.
3899 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3902 Add guards in the beginning of public functions to check for valid
3903 parameters and fix a bug in copy_stream_with_progress() that could've
3904 caused writing less bytes than reading.
3905 * gio/glocalfileinfo.c:
3906 Check for a NULL parameter and set the GError accordingly then.
3907 * gio/goutputstream.c:
3908 Fix the same bug as in gfile.c that could've caused writing less bytes
3909 than reading in g_output_stream_real_splice().
3911 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3914 Use the correct gvolumeprivate.h naming
3916 2007-11-01 Christian Kellner <gicmo@gnome.org>
3919 Remove leftover "$(daemon_sources)" entry.
3921 2007-11-01 Christian Kellner <gicmo@gnome.org>
3926 Add copyright information to source files.
3928 2007-11-01 Alexander Larsson <alexl@redhat.com>
3932 Add g_file_get_uri_scheme
3934 2007-11-01 Alexander Larsson <alexl@redhat.com>
3937 * gio/gdesktopappinfo.c:
3938 * gio/gwin32appinfo.c:
3939 Add g_app_info_get_default_for_uri_scheme.
3941 2007-11-01 Alexander Larsson <alexl@redhat.com>
3944 Correct filename for gdriveprivate.h
3946 2007-10-31 Alexander Larsson <alexl@redhat.com>
3949 Rename id:value to id:file
3952 * gio/glocalfileinfo.c:
3955 2007-10-31 Alexander Larsson <alexl@redhat.com>
3957 * gio/gunixvolume.c:
3959 Remove g_volume_get_platform_id, as thats not
3960 needed with the simpler union volume monitor
3962 2007-10-31 Alexander Larsson <alexl@redhat.com>
3965 * gio/guniondrive.[ch]: Removed.
3966 * gio/gunionvolume.[ch]: Removed.
3967 Remove GUnionDrive/Volume
3969 * gio/gunionvolumemonitor.c:
3970 Simplify union volume monitor, now we
3971 only have one native volume monitor and
3972 we use the actual volumes/drives from the
3973 child monitors instead of wrapping them
3975 * gio/gnativevolumemonitor.[ch]:
3976 Base class for native volume monitors.
3977 Includes priority and get_volume_for_mountpoint
3980 Add g_file_find_enclosing_volume
3983 Remove volume name fs attribute
3984 Add readonly fs attribute
3987 Implement readonly attribute
3988 remove volume name attribute
3989 Implement find_enclosing volume
3991 * gio/gunixmounts.c:
3992 Add a volume for "/".
3994 * gio/gunixvolume.[ch]:
3995 Set better name for /
3997 * gio/gunixvolumemonitor.[ch]:
3998 Derive from GNativeVolumeMonitor
3999 Implement get_volume_for_mountpoint
4002 GVolume typedef moved to gfile.h
4004 * gio/gvolumeprivate.h:
4005 Add g_volume_get_for_mount_path
4007 2007-10-31 Alexander Larsson <alexl@redhat.com>
4009 * gio/gunixmounts.[ch]:
4010 Add cache info to unix mount listers
4011 Make getmntent use threadsafe
4012 Add is_system_internal attribute for GUnixMount
4014 * gio/gunixvolume.c:
4015 (g_unix_volume_new):
4016 Use is_system_internal instead of own code
4018 * gio/glocaldirectorymonitor.c:
4019 * gio/gunixvolumemonitor.c:
4020 Update to new gunixmounts API
4025 2007-10-30 Alexander Larsson <alexl@redhat.com>
4028 Add volume name fsinfo attribute
4031 Read volume name info
4033 * gio/gunionvolumemonitor.c:
4034 Fix infinite loops when finalizing a union volume monitor
4036 2007-10-30 Alexander Larsson <alexl@redhat.com>
4038 * gio/goutputstream.[ch]:
4039 Add splice() with default implementation
4041 * gio/gsocketoutputstream.c:
4042 (g_socket_output_stream_write):
4043 Return error on cancellation correctly.
4045 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4047 * gio/glocalfile.c (g_local_file_trash):
4048 Do not leak a string.
4050 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4052 * gio/gfile.c (g_file_load_contents):
4053 Unref the stream after closing it.
4055 2007-10-25 Alexander Larsson <alexl@redhat.com>
4057 * gio/gioscheduler.h:
4060 2007-10-25 Alexander Larsson <alexl@redhat.com>
4064 Add g_file_has_uri_scheme and implement for local files
4066 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4068 * gio/gdesktopappinfo.c: do not leak a string.
4070 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4072 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4073 (g_local_directory_monitor_new):
4074 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4075 (g_local_file_monitor_new):
4076 Only look for the monitor type that should be used the first time
4077 and use g_qsort_with_data() instead of our own bubble sort
4080 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4083 * gio/fam/Makefile.am:
4084 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4085 * gio/fam/fam-helper.h:
4086 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4087 * gio/fam/gfamdirectorymonitor.c:
4088 * gio/fam/gfamdirectorymonitor.h:
4089 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4090 * gio/fam/gfamfilemonitor.h:
4091 * gio/glocaldirectorymonitor.c:
4092 * gio/glocaldirectorymonitor.h:
4093 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4094 * gio/glocalfilemonitor.h:
4095 * gio/inotify/Makefile.am:
4096 * gio/inotify/ginotifydirectorymonitor.c:
4097 * gio/inotify/ginotifydirectorymonitor.h:
4098 * gio/inotify/ginotifyfilemonitor.c:
4099 * gio/inotify/ginotifyfilemonitor.h:
4100 Implement the FAM and Inotify monitors as
4101 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4102 their own GIO module. GLocal(Directory|File)Monitor will use the
4103 monitor with the highest rank that is supported on that machine.
4105 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4108 Change GIO module dir to $(libdir)/gio/modules and change
4109 the log domain from GVFS to GIO. Also only export symbols starting
4110 with g_ in the resulting library.
4111 * gio/test-streams.c: (main):
4112 Set log handler for the GIO log domain.
4114 2007-10-22 Alexander Larsson <alexl@redhat.com>
4116 * gio/gfilenamecompleter.[ch]:
4117 Add g_filename_completer_set_dirs_only
4119 2007-10-22 Alexander Larsson <alexl@redhat.com>
4122 * gio/gurifuncs.[ch]:
4123 Add some simple URI helpers
4125 * gio/gfilenamecompleter.[ch]:
4126 Added object for filename (parse name actually) completion
4129 Handle ~ in parse names
4131 2007-10-17 Alexander Larsson <alexl@redhat.com>
4134 * gio/glocalfileinfo.c:
4135 Add and implement id:value attribute
4137 2007-10-17 Alexander Larsson <alexl@redhat.com>
4140 * gio/guniondrive.c:
4142 Add and implement g_drive_has_volumes
4144 2007-10-17 Alexander Larsson <alexl@redhat.com>
4147 * gio/glocalfileinfo.[ch]:
4148 Add unix:is_mountpoint and implement for local files
4150 2007-10-16 Alexander Larsson <alexl@redhat.com>
4152 * gio/gunionvolumemonitor.c:
4153 (g_union_volume_monitor_init):
4154 Fix up the unix type getting so that it works with gcc
4156 2007-10-12 Alexander Larsson <alexl@redhat.com>
4159 * gio/glocalfileinfo.c:
4160 Add thumbnail:failed to file info
4162 2007-10-12 Richard Hult <richard@imendio.com>
4164 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4165 optimizing away the get_type call (happens with some gcc versions,
4166 like the one shipped with OS X 10.4).
4168 2007-10-12 Alexander Larsson <alexl@redhat.com>
4170 * gio/glocalfileinfo.c:
4171 (_g_local_file_info_set_attribute):
4172 Fix build if not HAVE_XATTR
4173 Patch from Milosz Derezynski <internalerror@gmail.com>
4175 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4177 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4178 around for review, otherwise I would have asked you before
4181 2007-10-11 Alexander Larsson <alexl@redhat.com>
4184 Add thumbnail:path attribute
4186 * gio/glocalfileinfo.c:
4187 Implement thumbnail:path for local files
4189 2007-10-11 Alexander Larsson <alexl@redhat.com>
4191 * gio/glocalfileinfo.c:
4192 (_g_local_file_info_get):
4193 Avoid duplicate icon names
4195 2007-10-11 Alexander Larsson <alexl@redhat.com>
4197 * gio/gthemedicon.[ch]:
4198 Change g_themed_icon_get_names return type to const
4200 2007-10-10 Alexander Larsson <alexl@redhat.com>
4202 * gio/glocalfileinfo.c:
4203 Don't reference freed memory
4205 2007-10-10 Alexander Larsson <alexl@redhat.com>
4207 * gio/gfileattribute.c:
4210 * gio/glocalfileinfo.c:
4213 2007-10-10 Alexander Larsson <alexl@redhat.com>
4216 Check for NULL icons
4218 * gio/gfileattribute.c:
4219 Don't dup when getting objects (same as for string attributes)
4221 * gio/gicon.c (g_icon_equal):
4222 Safely handle NULLs in equal
4224 2007-10-10 Alexander Larsson <alexl@redhat.com>
4227 Fix c++ compilation issues
4228 Patch from Milosz Derezynski <internalerror@gmail.com>
4230 2007-10-10 Alexander Larsson <alexl@redhat.com>
4232 * programs/gio-monitor-dir.c:
4233 Don't crash if dir monitor not supported.
4235 2007-10-09 Alexander Larsson <alexl@redhat.com>
4238 Add missing G_END_DECLS
4240 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4242 * gio/gfile.c: (g_file_set_display_name),
4243 (g_file_query_settable_attributes),
4244 (g_file_query_writable_namespaces):
4245 Return NULL not FALSE on errors as the return type is a pointer.
4247 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4249 * gio/glocalfile.c: (g_local_file_monitor_file):
4250 Don't call monitor_file on the default interface vtable (which
4251 is NULL) but simply return NULL. The caller, GFile, will create a
4252 polling monitor if NULL is returned.
4254 2007-10-09 Alexander Larsson <alexl@redhat.com>
4258 * gio-unix-2.0.pc.in:
4259 Add gio-unix-2.0.pc if OS_UNIX
4262 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4264 2007-10-09 Alexander Larsson <alexl@redhat.com>
4266 * gio/gunixmounts.[ch]:
4267 Make unix mount monitoring API sane.
4268 Now its just a object with mounts_changed
4269 and mountpoints_changed signals.
4271 * gio/glocaldirectorymonitor.c:
4272 * gio/gunixvolumemonitor.c:
4273 Use new mount monitor api
4275 2007-10-09 Alexander Larsson <alexl@redhat.com>
4277 * gio/gunixmounts.[ch]:
4278 Move guess type into one call for mounts and one for mountpoints
4281 * gio/gunixvolume.c:
4284 2007-10-09 Alexander Larsson <alexl@redhat.com>
4286 * gio/gunixmounts.[ch]:
4287 Remove _ prefix in preparation to make this semi-public
4288 Hide implementation of structs
4290 * gio/glocaldirectorymonitor.c:
4292 * gio/gunixvolume.c:
4293 * gio/gunixvolumemonitor.c:
4294 Update for above API changes
4296 2007-10-08 Alexander Larsson <alexl@redhat.com>
4299 Better polling fallback. This also handles the case where we have
4300 a monitor_file implementation, but it fails.
4302 2007-10-08 Alexander Larsson <alexl@redhat.com>
4306 * gio/gunixmounts.c:
4307 * programs/gio-monitor-dir.c:
4308 * programs/gio-monitor-file.c:
4309 Added cancellable to file monitoring calls.
4310 These are really sync calls and need this.
4312 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4314 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4315 (g_local_vfs_class_init):
4316 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4317 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4319 2007-10-05 Alexander Larsson <alexl@redhat.com>
4321 * gio/gdirectorymonitorprivate.h:
4322 * gio/gfilemonitorprivate.h:
4323 * gio/gdirectorymonitor.h:
4324 * gio/gfilemonitor.h:
4325 Remove *private.h and move to the public API, so that
4326 we can do implementations outside gio (such as in gvfs)
4328 * gio/gdirectorymonitor.c:
4329 * gio/gfilemonitor.c:
4330 * gio/glocaldirectorymonitor.c:
4331 * gio/gpollfilemonitor.c:
4332 * gio/inotify/inotify-helper.c:
4333 * gio/fam/fam-helper.c:
4334 Update to the new header names
4336 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4338 * gio/gdirectorymonitor.c:
4339 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4342 2007-10-04 Alexander Larsson <alexl@redhat.com>
4344 * gio/glocalfileinfo.c (get_access_rights):
4345 Set CAN_TRASH when we can move the file.
4346 We should really also check for a parent trash dir.
4348 2007-10-04 Alexander Larsson <alexl@redhat.com>
4350 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4351 Add can_trash access attribute
4353 2007-10-04 Alexander Larsson <alexl@redhat.com>
4356 (g_local_file_trash):
4357 Create info file first. This is per-spec and allows
4358 us to actually trash directories.
4360 2007-10-02 Alexander Larsson <alexl@redhat.com>
4362 * gio/gdesktopappinfo.c:
4363 Implement the new mime support code.
4364 Always set app as handling mimetype when being set as default for it
4366 2007-10-01 Alexander Larsson <alexl@redhat.com>
4368 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4369 Fix up check for xattrs:
4371 2007-10-01 Alexander Larsson <alexl@redhat.com>
4374 (g_app_info_set_as_default_for_extension):
4375 (g_app_info_add_supports_type):
4376 (g_app_info_can_remove_supports_type):
4377 (g_app_info_remove_supports_type):
4378 Make these fail nicely if not implemented
4380 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4382 * gio/glocalfileoutputstream.c:
4383 * gio/glocalfileoutputstream.h:
4388 * programs/gio-save.c:
4389 Add a GFileCreateFlags argument to operations that can create
4392 2007-10-01 Alexander Larsson <alexl@redhat.com>
4394 * gio/gappinfo.[ch]:
4395 * gio/gdesktopappinfo.c:
4396 Add more (stubbed out) mime API needed for nautilus
4398 2007-10-01 Alexander Larsson <alexl@redhat.com>
4401 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4402 Add g_app_info_set_as_default_for_extension.
4404 * gio/gdesktopappinfo.c:
4405 Dummy for g_app_info_set_as_default_for_extension
4406 Support flags in g_app_info_create_from_commandline
4408 * gio/gwin32appinfo.c:
4410 Update for API changes
4412 * gio/gthemedicon.c:
4413 Properly NULL-terminate list of icon names
4415 2007-09-28 Alexander Larsson <alexl@redhat.com>
4417 * gio/gloadableicon.h:
4418 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4420 2007-09-28 Alexander Larsson <alexl@redhat.com>
4423 Install headers in $includedir/gio-standalone/
4425 * gio-2.0.pc.in: Added.
4426 * gio-standalone.pc.in: Removed.
4429 Renamed pkg-config file to match glib (for future move)
4430 Update to the new include dir
4433 Add more TODO comments
4435 2007-09-28 Alexander Larsson <alexl@redhat.com>
4437 * gio/gdesktopappinfo.[ch]:
4438 Expose new_from_filename
4439 Add getter for is_hidden and handle it better
4441 2007-09-28 Alexander Larsson <alexl@redhat.com>
4443 * gio/gfileinfo.[ch]:
4444 Rename g_file_size_format_for_display to
4445 g_format_file_size_for_display.
4446 Now it doesn't have the g_file prefix, so we
4447 can later move it to glib.
4449 2007-09-28 Alexander Larsson <alexl@redhat.com>
4451 * gio/gappinfo.[ch]:
4452 Add g_app_info_get_id and g_app_info_get_executable.
4453 Make all getters non-reffing
4454 Make g_app_info_launch take GFile arguments.
4455 Add must_support_uris argument to g_app_info_get_default_for_type.
4457 * gio/gwin32appinfo.c:
4458 Update to GAppInfo api changes
4460 * gio/gdesktopappinfo.c:
4461 Update to GAppInfo api changes
4462 Implement supports_xdg_startup_notify
4464 * gio/gfileicon.c (g_file_icon_get_file):
4465 Make getter non-reffing.
4470 2007-09-27 Alexander Larsson <alexl@redhat.com>
4472 * gio/gfileinfo.[ch]:
4473 Add g_file_size_format_for_display helper
4475 2007-09-27 Alexander Larsson <alexl@redhat.com>
4477 * gio/glocalfileinfo.c:
4478 Set UNIX_GID from gid, not from uid
4480 2007-09-27 Alexander Larsson <alexl@redhat.com>
4483 Add g_file_set_attributes_async
4485 2007-09-27 Alexander Larsson <alexl@redhat.com>
4487 * gio/glocalfile.c (g_local_file_set_display_name):
4488 Fix set_display_name to actually rename to the right place.
4489 Use lstat to look for existing files so we don't overwrite
4492 2007-09-26 Alexander Larsson <alexl@redhat.com>
4495 Add g_file_set_display_name_async()
4497 2007-09-26 Alexander Larsson <alexl@redhat.com>
4500 Add load_partial_contents async calls
4503 Make internal function static
4505 2007-09-26 Alexander Larsson <alexl@redhat.com>
4507 * gio/glocalfileinfo.c:
4508 Correctly detect broken symlinks
4510 2007-09-26 Alexander Larsson <alexl@redhat.com>
4512 * gio/gcancellable.c (g_cancellable_cancel):
4513 Allow cancel on NULL cancellable
4515 2007-09-25 Alexander Larsson <alexl@redhat.com>
4517 * gio/gsimpleasyncresult.c:
4518 Don't allocate g_error manually.
4519 Fixes g_slice/g_new mixup crash
4521 2007-09-25 Alexander Larsson <alexl@redhat.com>
4523 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4524 Actually set active_backend.
4525 This means the monitor will be cancelled correctly.
4527 2007-09-25 Alexander Larsson <alexl@redhat.com>
4529 * gio/gdirectorymonitor.c:
4530 Set timeout to NULL when destroying
4532 2007-09-25 Alexander Larsson <alexl@redhat.com>
4535 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4536 that is a better description of the error.
4538 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4540 * gio/gvfs.c: (g_vfs_get_local):
4541 Make the local vfs variable static. The same instance should
4544 2007-09-24 Alexander Larsson <alexl@redhat.com>
4546 * gio/glocalfileinfo.c:
4547 Pass in actual length read into sniffer, not the length
4550 2007-09-21 Alexander Larsson <alexl@redhat.com>
4552 * gio/gfileenumerator.c:
4555 * gio/gfileinputstream.c:
4556 * gio/gfileoutputstream.c:
4557 * gio/ginputstream.c:
4558 * gio/goutputstream.c:
4559 Don't crash if async callbacks are NULL
4561 2007-09-20 Alexander Larsson <alexl@redhat.com>
4564 Add async enumerate_children method and default
4567 2007-09-20 Alexander Larsson <alexl@redhat.com>
4570 Add g_file_contains_file & g_file_get_relative_path, since they
4571 were needed for nautilus.
4572 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4577 Implement new methods
4579 2007-09-17 Alexander Larsson <alexl@redhat.com>
4582 * gio/gfileinputstream.[ch]:
4583 * gio/gfileoutputstream.[ch]:
4585 * gio/glocalfileenumerator.[ch]:
4586 * gio/glocalfileinfo.[ch]:
4587 * gio/glocalfileinputstream.c:
4588 * gio/glocalfileoutputstream.c:
4589 * gio/gpollfilemonitor.c:
4590 * programs/gio-copy.c:
4591 * programs/gio-info.c:
4592 * programs/gio-move.c:
4593 Rename get_file_info to query_info() to make it clearer
4594 that these are not simple getters, but do i/o.
4596 2007-09-17 Alexander Larsson <alexl@redhat.com>
4598 * gio/gdatainputstream.[ch]:
4599 * gio/test-streams.c:
4600 Use _read_XXX instead of _get_XXX for the i/o calls
4603 2007-09-17 Alexander Larsson <alexl@redhat.com>
4606 Added needed stuff to TODO comment
4608 2007-09-17 Alexander Larsson <alexl@redhat.com>
4610 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4611 Don't error out removing the backup copy if it doesn't
4614 2007-09-14 Alexander Larsson <alexl@redhat.com>
4616 * programs/Makefile.am:
4617 * programs/gvfs-*.c:
4619 Renamed apps from gvfs-xxx to gio-xxx.
4621 2007-09-14 Alexander Larsson <alexl@redhat.com>
4624 * gio/gfileoutputstream.[ch]:
4625 * gio/glocalfileoutputstream.c:
4626 * programs/gvfs-save.c:
4627 g_file_output_stream_get_etag doesn't do i/o, so remove
4628 cancellation and error.
4630 2007-09-14 Alexander Larsson <alexl@redhat.com>
4633 Add new_etag output to replace_contents functions
4635 2007-09-14 Alexander Larsson <alexl@redhat.com>
4637 * gio/gfileoutputstream.[ch]:
4638 Add async get_file_info and default implementation
4640 2007-09-14 Alexander Larsson <alexl@redhat.com>
4642 * gio/gfileinputstream.c:
4643 Implement fallback wrapper for async get_file_info
4645 2007-09-14 Alexander Larsson <alexl@redhat.com>
4648 Add etag out argument to load_contents
4653 2007-09-14 Alexander Larsson <alexl@redhat.com>
4655 * gio/gcontenttype.c (looks_like_text):
4656 Whitespace like tab, cr and lf do not make the
4659 2007-09-14 Alexander Larsson <alexl@redhat.com>
4661 * gio/gfileinputstream.[ch]:
4662 Add async get_file_info.
4664 2007-09-13 Alexander Larsson <alexl@redhat.com>
4666 * gio/goutputstream.c (g_output_stream_write_all):
4667 Allow NULL for bytes_written
4669 2007-09-13 Alexander Larsson <alexl@redhat.com>
4671 * gio/gmemoryinputstream.[ch]:
4672 Add accessors for data
4674 2007-09-13 Alexander Larsson <alexl@redhat.com>
4676 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4677 Don't crash if length is NULL