1 2008-07-21 Matthias Clasen <mclasen2redhat.com>
3 * === Released 2.17.4 ===
5 2008-07-20 Matthias Clasen <mclasen@redhat.com>
12 * gmount.c: Documentation fixes
14 2008-07-19 Matthias Clasen <mclasen@redhat.com>
16 543504 – crash in Epiphany Web Browser: Opening local file
27 * gvolume.c: Register types thread-safely.
28 Patch by Christian Persch
30 2008-07-18 Matthias Clasen <mclasen@redhat.com>
32 * gcontenttype.c: Remove debug spew
34 2008-07-18 Matthias Clasen <mclasen@redhat.com>
36 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
39 * fen/fen-kernel.c: Remove a warning that was causing
40 crashes. Reported by Lin Ma.
42 2008-07-18 Matthias Clasen <mclasen@redhat.com>
44 Bug 543040 – async reading on dummy file will crash on
47 * gfile.c (open_read_async_thread): Cope with read_fn being
48 NULL. Reported by Lin Ma.
50 2008-07-18 Matthias Clasen <mclasen@redhat.com>
53 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
55 2008-07-16 Matthias Clasen <mclasen@redhat.com>
59 * giomodule.c: Rename a chapter id to avoid filename conflict.
61 2008-07-16 Matthias Clasen <mclasen@redhat.com>
63 Bug 540616 – mem leak in filechooser button
65 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
66 the mount entry. Reported by Chrisitan Persch
68 2008-07-16 Matthias Clasen <mclasen@redhat.com>
70 * gfile.c: Small documentation fixes.
72 2008-07-15 Matthias Clasen <mclasen@redhat.com>
74 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
76 2008-07-08 Matthias Clasen <mclasen@redhat.com>
81 * gmount.c: Documentation improvements.
83 2008-07-08 Matthias Clasen <mclasen@redhat.com>
86 * gmount.[hc]: Add g_mount_guess_content_type().
88 2008-07-06 David Zeuthen <davidz@redhat.com>
91 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
92 is needed for easily handling adoption of foreign volumes by
93 out-of-process volume monitors (#541793)
95 2008-07-06 David Zeuthen <davidz@redhat.com>
97 * gvolumemonitor.[ch]:
98 * gunionvolumemonitor.c: Export the eject-button signal on the
99 volume monitor class (#541794).
101 2008-07-06 Matthias Clasen <mclasen@redhat.com>
103 * gappinfo.c: More doc tweaks
105 2008-07-05 Matthias Clasen <mclasen@redhat.com>
107 * gappinfo.c: Clarify some docs
109 2008-07-03 Matthias Clasen <mclasen@redhat.com>
111 * gdesktopappinfo.c: Fix a stupid mistake.
113 2008-07-02 Matthias Clasen <mclasen@redhat.com>
115 * === Released 2.17.3 ===
117 2008-07-02 Matthias Clasen <mclasen@redhat.com>
119 * gfilemonitor.c: Fix the build.
121 2008-07-02 Matthias Clasen <mclasen@redhat.com>
123 Bug 536160 – Add g_file_monitor()
126 * gfile.[hc]: Add g_file_monitor which can return either
127 a file or a directory monitor. Proposed by Behdad Esfahbod
129 2008-07-02 Matthias Clasen <mclasen@redhat.com>
131 536733 – gio build failure on Irix
133 * glocalfile.c: Use a configure check for structfs.f_bavail.
135 2008-07-02 Matthias Clasen <mclasen@redhat.com>
137 Bug 534639 – add g_desktop_app_info_new_from_keyfile
140 * gdesktopappinfo.[hc]: Add a function to create a
141 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
143 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
145 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
147 2008-07-01 Matthias Clasen <mclasen@redhat.com>
149 * gunixmounts.c: Fix a doc typo.
151 2008-07-01 Cody Russell <bratsche@gnome.org>
153 * gio/gcontenttype.c:
154 * gio/gwin32appinfo.c:
155 * gio/gwin32volumemonitor.c:
156 * gio/gwin32mount.c: Fixed some include problems.
158 2008-07-01 Cody Russell <bratsche@gnome.org>
162 Moved all relevant typedefs into these files.
165 Updated wrt added files.
167 Split types into separate file for easier maintainership. (#538564)
169 2008-06-30 Matthias Clasen <mclasen@redhat.com>
171 Bug 540331 – g_file_append_to () documentation: can return NULL
173 * gfile.c (g_file_append_to): Clarify docs.
176 2008-06-30 Matthias Clasen <mclasen@redhat.com>
178 Bug 539090 – g_content_type_from_mime_type() should unalias
180 * gcontentype.c (g_content_type_from_mime_type): Unalias.
181 Patch by Markus Bergman
183 2008-06-30 Matthias Clasen <mclasen@redhat.com>
185 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
188 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
189 on ppc and alpha. Reported by Mart Raudsepp
191 2008-06-29 Matthias Clasen <mclasen@redhat.com>
194 * tests/memory-output-stream.c: Add some tests for
197 2008-06-29 Matthias Clasen <mclasen@redhat.com>
199 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
202 * gmemoryoutputstream.c (array_resize): Handle truncation to
203 zero correctly. Reported by Akira Tagoh
205 2008-06-29 Matthias Clasen <mclasen@redhat.com>
207 * gmemoryoutputstream.c: Trivial doc fixes
209 2008-06-29 Matthias Clasen <mclasen@redhat.com>
211 Bug 540802 – g_list_prepend doesn't concat lists
213 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
214 one list to another. Pointed out by Jan Arne Petersen
216 2008-06-28 Michael Natterer <mitch@imendio.com>
218 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
220 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
222 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
223 to avoid problems with partial icon themes.
225 2008-06-17 Hans Breuer <hans@breuer.org>
227 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
228 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
229 access again on win32, see bug #538127
230 * giomodule.c : ensure GWin32VolumeMonitor is registered
231 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
232 * Makefile.am makefile.msc : updated
234 2008-06-16 Hans Breuer <hans@breuer.org>
236 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
237 and initialization in one step avoids c99ism
239 2008-06-16 Christian Persch <chpe@gnome.org>
242 * gio/gbufferedinputstream.c
244 * gio/gdatainputstream.c
245 * gio/gdesktopappinfo.c
247 * gio/gfileenumerator.c
248 * gio/gfileinputstream.c
249 * gio/gfileoutputstream.c
251 * gio/glocaldirectorymonitor.c
253 * gio/glocalfileenumerator.c
254 * gio/glocalfileinfo.c
255 * gio/glocalfilemonitor.c
256 * gio/glocalfileoutputstream.c
257 * gio/gmemoryinputstream.c
258 * gio/gmemoryoutputstream.c
259 * gio/goutputstream.c
260 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
263 2008-06-16 Tor Lillqvist <tml@novell.com>
265 Bug 538362 - Get Win32 icons back in the file chooser
267 * gcontenttype.c (g_content_type_get_icon): Look up the icon
268 corresponding to a file extension in the Registry. Patch by Hans
270 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
272 2008-06-16 Tor Lillqvist <tml@novell.com>
274 Patches by Hans Breuer:
276 * glocalfile.c (is_xp_or_later): Handle compiling against older
277 SDK headers with missing VerifyVersionInfo(). Conditioned on
278 _MSC_VER, but should probably use some better test.
279 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
280 uninitialised statfs_result variable on Win32.
282 2008-06-16 Michael Natterer <mitch@imendio.com>
284 * *.c: chain up unconditionally in finalize() and dispose(). Also
285 don't dereference these function pointers when calling them since
286 that has no meaning at all.
288 2008-06-16 Ross Burton <ross@burtonini.com>
291 Remove check for dispose implementation as it annoys Emmanuele.
293 2008-06-16 Ross Burton <ross@burtonini.com>
295 Bug 536252 – GFileEnumerator should allow access to the containing
301 Add g_file_enumerator_get_container() and a container writeable
302 construct-only property. Also shuffle around typedefs to make it
305 * glocalfileenumerator.c:
306 * glocalfileenumerator.h:
308 Instead of a string filename take a GFile in the constructor and
309 use it to set the container property.
314 2008-06-16 Matthias Clasen <mclasen@redhat.com>
316 * gfile.c: Make includes more uniform
318 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
320 * tests/live-g-file.c (sample_struct):
321 Use less fancy unicode filenames, so the test doesn't fail
322 on Mac OS X (#531476).
324 2008-06-12 Matthias Clasen <mclasen@redhat.com>
326 * === Released 2.17.2 ===
328 2008-06-12 Matthias Clasen <mclasen@redhat.com>
330 * === Released 2.17.1 ===
332 2008-06-11 A. Walton <awalton@gnome.org>
334 * tests/g-file.c (test_g_file_new_null):
335 Fix broken test case.
337 2008-06-11 Matthias Clasen <mclasen@redhat.com>
339 * pltcheck.sh: We use g_clear_error now.
341 2008-06-11 Matthias Clasen <mclasen@redhat.com>
343 * glocalfile.c (g_local_file_enumerate_children): Revert
344 an unintended change.
346 2008-06-11 Matthias Clasen <mclasen@redhat.com>
348 * gfile.c (g_file_replace_contents): Don't unref before the last use.
350 2008-06-10 Matthias Clasen <mclasen@redhat.com>
352 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
355 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
356 as icon for the desktop directory, also make user-home and
357 user-desktop the preferred icons.
359 2008-06-10 Matthias Clasen <mclasen@redhat.com>
362 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
363 to add a name to the front of the list.
365 2008-06-10 Matthias Clasen <mclasen@redhat.com>
367 Bug 537392 – Additional colon in xattr name
369 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
370 too. Reported by Alessandro Morandi
372 2008-06-10 Matthias Clasen <mclasen@redhat.com>
374 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
377 * glocalfile.c (get_fs_type): Add afs and autofs.
378 Patch by Danny Baumann.
380 2008-06-10 Matthias Clasen <mclasen@redhat.com>
382 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
384 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
385 is no parent. (Owen Taylor, patch by Christian Neumair)
387 2008-06-10 Paolo Borelli <pborelli@katamail.com>
389 * gfile.c (g_file_replace_contents): do not leak the output stream.
391 2008-06-10 Michael Natterer <mitch@imendio.com>
393 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
394 uninitialized memory as array index.
396 2008-06-10 Tor Lillqvist <tml@novell.com>
398 * gcontenttype.c (g_content_type_can_be_executable)
399 (g_content_type_get_icon) [Win32]: Add TODO comments.
401 2008-06-09 Matthias Clasen <mclasen@redhat.com>
403 * xdgmime/Makefile.am: Fix the build
405 2008-06-09 Matthias Clasen <mclasen@redhat.com>
407 * gcontenttype.c (g_content_type_get_icon): Use icons specified
408 in the shared mime database, if available.
410 * xdgmime/*: Sync with upstream. This brings support for
411 glob weights, generic icons, and changes the cache format to
414 2008-05-28 Michael Natterer <mitch@imendio.com>
416 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
417 the global CPPFLAGS now.
419 * tests/data-input-stream.c
420 * tests/data-output-stream.c
421 * tests/g-file-info.c
423 * tests/live-g-file.c
424 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
426 2008-05-27 Matthias Clasen <mclasen@redhat.com>
428 * === Released 2.17.0 ===
430 * tests/live-g-file.c: Clean up after the tests, so make distcheck
431 doesn't complain about leftover files.
433 2008-05-27 simon.zheng <simon.zheng@sun.com>
435 * glocalfile.c: (g_local_file_query_filesystem_info):
436 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
438 2008-05-26 Michael Natterer <mitch@imendio.com>
440 * gmemoryoutputstream.h: declare
441 g_memory_output_stream_get_data_size().
443 2008-05-26 Matthias Clasen <mclasen@redhat.com>
445 * tests/*: Make tests work
447 2008-05-26 Matthias Clasen <mclasen@redhat.com>
449 * gio.symbols: Add g_memory_output_stream_get_data_size.
451 2008-05-25 Ross Burton <ross@burtonini.com>
454 Fix typo in error message (#534764).
456 2008-05-25 Ross Burton <ross@burtonini.com>
459 Fix circular dependency loop for gioenumtypes.h (#534759).
461 2008-05-19 Hans Breuer <hans@breuer.org>
463 * Makefile.am : EXTRA_DIST += makefile.msc
465 2008-05-17 Matthias Clasen <mclasen@redhat.com>
468 * gcontenttype.c: (g_content_type_from_mime_type):
469 New function to create a content type from a mime type. (#527175,
472 2008-05-17 Matthias Clasen <mclasen@redhat.com>
474 Bug 532965 – Should not return filesystem::free for certain file systems
476 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
477 free space for ncpfs.
479 2008-05-17 Matthias Clasen <mclasen@redhat.com>
481 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
483 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
484 st_dev might be zero.
486 2008-05-16 Tor Lillqvist <tml@novell.com>
488 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
489 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
491 2008-05-13 Bastien Nocera <hadess@hadess.net>
493 * gfile.c (has_valid_scheme): A URI scheme must start with a
494 letter, even if later more characters are allowed (#532852)
496 2008-05-05 Michael Natterer <mitch@imendio.com>
498 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
499 code from being checked in that breaks the build of applications
500 which use G_DISABLE_SINGLE_INCLUDES.
502 * makegioalias.pl: make the alias file include "glib.h" instead of
505 * gio.symbols: whitespace change to force regeneration of the
506 alias file after above script change.
508 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
510 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
512 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
514 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
516 2008-04-28 David Zeuthen <davidz@redhat.com>
518 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
519 displaying mounts in a subdirectory not accessible to the
522 2008-04-22 Michael Natterer <mitch@imendio.com>
524 * Makefile.am: fix library versioning (it was 0.0.0).
526 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
528 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
529 Default disable all loggings.
530 * fen/fen-kernel.c: (printevent), (port_add_kevent),
531 (port_fetch_event_cb): Fixed two macro nits.
533 2008-04-16 Matthias Clasen <mclasen@redhat.com>
535 * xdgmime/xdgmime.c: Rework the timestamp checking code
536 to protect against duplicate directories in XDG_DATA_DIRS.
537 Fixes fd.o bug 12513, reported by Joe Shaw.
539 2008-04-16 Matthias Clasen <mclasen@redhat.com>
541 Partically revert the last commit after realizing that
542 xdg_mime_media_type_equal doesn't have to init at all.
545 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
547 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
549 2008-04-16 Matthias Clasen <mclasen@redhat.com>
551 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
552 reported by Joe Shaw and Federico Mena Quintero.
554 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
555 (xdg_mime_media_type_equal): Turn into a wrapper around the
558 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
559 functions throughout.
561 2008-04-16 Michael Meeks <michael.meeks@novell.com>
563 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
564 tolerate an empty TryExec= line without failing; nautilus used
565 to create launchers with these in previous versions. Fixes #528433
567 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
569 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
570 after name. Fixes #527132.
572 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
574 * gfile.c: (g_file_replace):
577 2008-04-07 Matthias Clasen <mclasen@redhat.com>
579 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
581 * gfile.c (file_copy_fallback): Fix the argument order. Patch
582 by Christian Kellner.
584 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
586 * gunixmounts.c: (g_unix_mount_guess_should_display):
587 Don't list the user directory as a mount, fix potential issue
588 when other users have a similar naming and don't special case the
589 gvfs mounts there since that's not required (#525866)
591 2008-03-31 Alexander Larsson <alexl@redhat.com>
593 * glocalfile.c (get_parent):
596 2008-03-31 A. Walton <awalton@svn.gnome.org>
598 * gfile.c (g_file_query_file_type):
599 Always return a GFileType enum value (#520715).
601 2008-03-31 Alexander Larsson <alexl@redhat.com>
603 * glocalfileenumerator.c:
604 Read readdir() info in chunks (of 1000) and sort
605 the chunks by inode before stat:ing.
606 This is a 20% performance increase in testing
607 gvfs-ls on /usr/bin with cold cache.
609 2008-03-31 Alexander Larsson <alexl@redhat.com>
611 * gmemoryoutputstream.c:
612 Clarify docs for g_memory_output_stream_get_size.
613 Add g_memory_output_stream_get_data_size.
615 2008-03-30 Matthias Clasen <mclasen@redhat.com>
619 * gfile.h: Add g_file_query_file_type convenience function
620 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
622 2008-03-30 Matthias Clasen <mclasen@redhat.com>
625 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
627 2008-03-28 A. Walton <awalton@svn.gnome.org>
629 * giomodule.c (_g_io_modules_ensure_loaded):
630 Adds GIO_EXTRA_MODULES environment variable support, closing bug
633 2008-03-28 Alexander Larsson <alexl@redhat.com>
636 (copy_stream_with_progress):
639 2008-03-28 Alexander Larsson <alexl@redhat.com>
642 (copy_stream_with_progress):
643 (file_copy_fallback):
644 Fallback to g_file_query_info for source size
645 if g_file_input_stream_query_info fails. (#524579)
647 2008-03-28 Alexander Larsson <alexl@redhat.com>
649 * glocalfile.c (g_local_file_move):
650 Reuse old string instead of adding new one.
652 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
654 * fen/*.[hc]: still copyright issue. I hate copyright.
656 2008-03-27 Alexander Larsson <alexl@redhat.com>
658 * glocalfile.c (g_local_file_move):
659 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
660 file over directory. This is according to the docs and what the move via
661 copy+remove fallback does.
663 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
665 * fen/*.[hc]: Updated copyright.
667 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
669 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
671 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
673 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
674 not emit attribute changed events when optimizing changed events.
675 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
678 2008-03-19 Matthias Clasen <mclasen@redhat.com>
680 * gmountoperation.[hc]: Small documentation additions
682 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
684 * gunixmounts.c: (guess_mount_type):
685 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
687 2008-03-19 Alexander Larsson <alexl@redhat.com>
690 (copy_stream_with_progress):
691 Bump block side for copy to 64k to minimize
692 overhead for low latency links. (#523015)
694 2008-03-16 Tor Lillqvist <tml@novell.com>
696 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
697 depend on gio.def on Windows.
699 2008-03-12 David Zeuthen <davidz@redhat.com>
703 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
705 2008-03-14 Alexander Larsson <alexl@redhat.com>
709 Avoid redudant tests (#521851)
710 Patch from Josselin Mouette
712 2008-03-14 Alexander Larsson <alexl@redhat.com>
715 (g_file_monitor_is_cancelled):
716 Fix C89 issue (#521672)
717 Patch from Jens Granseuer
719 2008-03-14 Alexander Larsson <alexl@redhat.com>
721 * fam/fam-helper.[ch]:
723 Shut down fam (including removing fam GSource) when
724 module is unloaded (#521513)
725 Patch from Joe Marcus Clarke
727 2008-03-14 Alexander Larsson <alexl@redhat.com>
730 (_g_io_modules_ensure_loaded):
733 2008-03-14 Alexander Larsson <alexl@redhat.com>
736 (g_local_file_query_filesystem_info):
737 Use right define name for f_fstypename member check
739 2008-03-14 Alexander Larsson <alexl@redhat.com>
742 * fen/Makefile.am: Added.
743 * fen/fen-data.[ch]: Added.
744 * fen/fen-dump.[ch]: Added.
745 * fen/fen-helper.[ch]: Added.
746 * fen/fen-kernel.[ch]: Added.
747 * fen/fen-missing.[ch]: Added.
748 * fen/fen-node.[ch]: Added.
749 * fen/fen-sub.[ch]: Added.
750 * fen/gfendirectorymonitor.[ch]: Added.
751 * fen/gfenfilemonitor.[ch]: Added.
753 Added Solaris FEN file notification backend.
754 Patch from Lin Ma <Lin.Ma@Sun.COM>
756 2008-03-13 Tor Lillqvist <tml@novell.com>
758 * Makefile.am: Actually use the gio.def file when linking the
759 library on Windows. Produce .lib library for Microsoft's toolchain
760 when possible. Install the .lib and .def file like for the other
763 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
765 * tests/live-g-file.c:
766 Include live-g-file in standard set of tests, making a temporary
767 directory in source structure.
769 Clean target directory before the tests (write mode only)
771 2008-03-12 Tor Lillqvist <tml@novell.com>
773 Bug 517419 - gio win32 directory monitor
774 Implementation by Vlad Grecescu.
777 * win32/gwin32directorymonitor.h
778 * win32/gwin32directorymonitor.c: New files.
780 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
782 * Makefile.am: Add the win32 subdirectory.
784 2008-03-12 Tor Lillqvist <tml@novell.com>
786 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
787 normal struct stat on Unix but struct _stati64 on Windows to have
788 access to 64-bit file size information. Use that instead of struct
789 stat in the functions declared here in this private header.
791 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
792 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
793 warnings about unused functions and variables. Don't set
794 meaningless attributes like inode numbers on Windows.
796 2008-03-12 Benjamin Otte <otte@gnome.org>
799 trim whitespace so gtk-doc groks the function name
801 2008-03-12 Tor Lillqvist <tml@novell.com>
803 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
804 returning FALSE, on Win32.
806 2008-03-11 Alexander Larsson <alexl@redhat.com>
809 * glocalfileinfo.[ch]:
810 Correctly implement can_trash by actually
811 looking for a trash dir, not just assuming
814 2008-03-10 Matthias Clasen <mclasen@redhat.com>
816 * === Released 2.16.1 ===
818 2008-03-11 Alexander Larsson <alexl@redhat.com>
821 Fix crashes in new constructor and properties code
823 2008-03-10 Murray Cumming <murrayc@murrayc.com>
825 * gfile.c: Minor spelling correction in documentation:
826 existance -> existence.
828 2008-03-10 Matthias Clasen <mclasen@redhat.com>
830 * === Released 2.16.0 ===
832 2008-03-10 Matthias Clasen <mclasen@redhat.com>
834 * gio.symbols: Remove g_file_contains_file here, too.
836 2008-03-10 Matthias Clasen <mclasen@redhat.com>
838 * gthemedicon.c: Add properties to make bindings happy. (#517676,
839 Samuel Cormier-Iijima)
841 2008-03-08 Tor Lillqvist <tml@novell.com>
843 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
846 2008-03-07 Alexander Larsson <alexl@redhat.com>
849 (g_local_file_query_filesystem_info):
850 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
851 Patch from Jasper Lievisse Adriaanse
853 2008-03-06 Tor Lillqvist <tml@novell.com>
855 * gfileinfo.h: Correct milliseconds to microseconds in the doc
856 comments for the *_USEC attributes.
858 2008-03-06 Alexander Larsson <alexl@redhat.com>
860 * gfile.c (g_file_query_exists):
861 Add g_return_val_if_fail check (#520700)
863 2008-03-06 Alexander Larsson <alexl@redhat.com>
868 * gunionvolumemonitor.c:
871 * tests/live-g-file.c:
872 * xdgmime/xdgmimecache.c:
873 Fix sparse warnings (#519489)
875 2008-03-05 Alexander Larsson <alexl@redhat.com>
878 Make cancellation threadsafe (i.e.
879 guarantee its only done once, and always
882 * glocaldirectorymonitor.c:
883 Make sure we the monitor lives while the
884 mounts_changed callback is being called (#520484)
886 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
888 * gbufferedinputstream.c: Fix typo in parameter
891 2008-03-04 Alexander Larsson <alexl@redhat.com>
894 Remove deprecated symbols we kept for one release.
896 2008-03-04 Murray Cumming <murrayc@murrayc.com>
899 * goutputstream.c: Tiny documentation corrections.
901 2008-03-03 Alexander Larsson <alexl@redhat.com>
903 * gunionvolumemonitor.c:
905 Fix the adopt_orphan_mount vfunc to take a
906 volume_monitor reference in an ABI compat way.
907 This change is not API compat, but the added
908 arg is not used in the only user of this vfunc, so
909 all we get is a harmless warning in gvfs (#520169)
911 2008-03-01 Benjamin Otte <otte@gnome.org>
914 clarify docs for g_file_delete().
916 2008-02-29 Alexander Larsson <alexl@redhat.com>
920 Make sure empty files get text/plain type (#518720)
922 2008-02-27 Alexander Larsson <alexl@redhat.com>
928 (g_unix_volume_mount):
929 Add missing GMountMountFlags argument
931 2008-02-26 Alexander Larsson <alexl@redhat.com>
934 (g_local_file_delete):
935 Handle filesystems (like ntfs-3g) that return EEXIST instead
936 of ENOTEMPTY (#518816)
938 2008-02-25 Matthias Clasen <mclasen@redhat.com>
940 * === Released 2.15.6 ===
942 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
944 * gfile.c (g_file_find_enclosing_mount):
945 * ginputstream.c (g_input_stream_set_pending):
946 * glocalfile.c (g_local_file_find_enclosing_mount):
947 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
948 * goutputstream.c (g_output_stream_set_pending):
950 Fixup translator comments (#518578).
952 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
954 * gfile.c (g_file_find_enclosing_mount):
956 * glocalfile.c (g_local_file_find_enclosing_mount):
959 Fix a few typos in translator comments and documentation.
961 2008-02-25 Alexander Larsson <alexl@redhat.com>
968 Add translator comments (#518578)
970 2008-02-25 Alexander Larsson <alexl@redhat.com>
973 Reintroduce g_file_contains_file, keep around for one
974 unstable release cycle to avoid crashing to many apps.
975 Make sure to delete after release.
977 2008-02-25 Alexander Larsson <alexl@redhat.com>
980 Remove deprecated g_file_contains_file.
982 2008-02-25 Alexander Larsson <alexl@redhat.com>
985 Emit actual change signals in an idle handler.
986 This avoids reentrance and locking problems in
987 the file notification backends.
989 2008-02-25 Alexander Larsson <alexl@redhat.com>
992 (g_unix_mount_guess_should_display):
993 Remove type guessing, instead just display
994 mounts in /media and in ~/.
996 2008-02-25 Alexander Larsson <alexl@redhat.com>
999 Make new strings reuse old ones.
1001 2008-02-25 Alexander Larsson <alexl@redhat.com>
1004 Implement trashing and filesystem::readonly for win32 (#517235)
1005 Patch from Yevgen Muntyan
1007 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1009 * gfileinfo.h: Documentation fixes.
1011 2008-02-22 Alexander Larsson <alexl@redhat.com>
1013 * gcontenttype.c (g_content_type_get_icon):
1014 Look at old-style gnome mime icon names too, as many
1015 have not moved to the new style.
1017 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1019 * *.c: Correct the @include in for section docs.
1021 2008-02-21 David Zeuthen <davidz@redhat.com>
1023 * glocalfileinfo.c: (_g_local_file_info_get):
1025 (g_content_type_get_icon): Implement this function by
1026 moving bits from glocalfileinfo.c
1027 (g_content_type_get_description): Unalias before getting
1028 description (#517687)
1030 * gfile.c: (g_file_class_init),
1031 (g_file_query_filesystem_info_async),
1032 (g_file_query_filesystem_info_finish),
1033 (query_filesystem_info_data_free),
1034 (query_filesystem_info_async_thread),
1035 (g_file_real_query_filesystem_info_async),
1036 (g_file_real_query_filesystem_info_finish):
1037 * gfile.h: Implement async version of
1038 g_file_query_filesystem_info()
1040 * gfileinfo.h: Add new attributes for filesystem::use-preview
1042 * gio.symbols: Update
1044 * gthemedicon.c: (g_themed_icon_append_name):
1045 * gthemedicon.h: Add new new convenience function.
1047 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1048 (get_mounts), (get_volumes), (get_connected_drives),
1049 (get_volume_for_uuid), (get_mount_for_uuid),
1050 (g_union_volume_monitor_init), (populate_union_monitor),
1051 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1052 (g_volume_monitor_adopt_orphan_mount):
1054 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1055 monitor implementations to call into the main volume monitor. Also
1056 separate object initialization and volume monitor initialization
1057 such that non-native volume monitors can properly adopt their
1060 2008-02-21 Alexander Larsson <alexl@redhat.com>
1065 2008-02-21 Alexander Larsson <alexl@redhat.com>
1068 Add more documentation about how GFiles work (from #517086)
1070 2008-02-21 Alexander Larsson <alexl@redhat.com>
1074 Add new g_file_has_prefix that does the same as g_file_contains_file.
1075 Deprecate g_file_contains_file and add a macro that converts
1076 it to g_file_has_prefix.
1077 The reason for this change is that the contains_file() name seems to
1078 imply that this does more work than what it does, but its really only
1079 a name match (from #517086)
1084 Update to match the above change.
1086 2008-02-20 Benjamin Otte <otte@gnome.org>
1088 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1089 (g_file_eject_mountable):
1090 even more cases of not returning in error path
1092 2008-02-20 Benjamin Otte <otte@gnome.org>
1094 * gfile.c: (g_file_mount_mountable):
1095 return from function in error path.
1097 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1100 Remove trailing coma in GMountMountFlags struct
1102 2008-02-18 Alexander Larsson <alexl@redhat.com>
1106 * glocalfileoutputstream.c:
1107 Use g_unlink/g_rename instead of unlink/rename;
1108 do not pass raw filenames to g_set_error. (#517239)
1109 Patch from Yevgen Muntyan.
1111 2008-02-18 Alexander Larsson <alexl@redhat.com>
1114 * glocalfileoutputstream.c:
1115 Open files with O_BINARY on windows. (#517140)
1117 2008-02-14 Alexander Larsson <alexl@redhat.com>
1119 * glocalfileoutputstream.c:
1120 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1122 2008-02-14 Alexander Larsson <alexl@redhat.com>
1125 Copy permissions with file on copy (#514084)
1126 This is what cp does and makes sure e.g. the
1127 exec permissions are kept.
1128 Its kinda weird in that it keeps the permission bits
1129 the same while the uid and gid are different. However
1130 the new uid is the user so its not a security issue,
1131 and I've heard no complaints about cp on this issue.
1133 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1135 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1137 2008-02-13 Alexander Larsson <alexl@redhat.com>
1139 * inotify/inotify-path.c:
1140 Define IN_ONLYDIR if not in header (#515346)
1142 2008-02-12 Alexander Larsson <alexl@redhat.com>
1144 * tests/live-g-file.c:
1147 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1149 * === Released 2.15.5 ===
1151 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1153 * gio.symbols: Add g_mount_mount_flags_get_type.
1155 2008-02-11 Alexander Larsson <alexl@redhat.com>
1158 (g_file_info_set_attribute_mask):
1159 (g_file_attribute_matcher_matches_id):
1160 Correctly handle NULL GAttributeMatcher meaning
1161 matches nothing. (Fixes #513492)
1163 2008-02-11 Alexander Larsson <alexl@redhat.com>
1168 Added GMountMountFlags enum and added a flags
1169 argument to all mount calls.
1171 This is an API/ABI change for future extensibility,
1172 as I think we will need at least an
1173 inhibit-autorun flag (the panel needs this).
1174 There are no flags defined yet though.
1176 2008-02-11 Alexander Larsson <alexl@redhat.com>
1179 Added new standard::description attribute.
1180 Requested by Vincent, and useful for both
1183 2008-02-11 Alexander Larsson <alexl@redhat.com>
1185 * gdesktopappinfo.c:
1188 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1190 * *.c: Documentation additions
1192 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1194 * gappinfo.h: Formatting cleanup
1195 * gappinfo.c: Fix up docs.
1197 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1199 * gunixmounts.c: Consistently use getmntent_r() and fall
1200 back to getmntent(). (#515492)
1202 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1204 * gbufferedinputstream.c:
1206 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1208 * tests/data-input-stream.c:
1209 * tests/data-output-stream.c: Portability fixes.
1211 2008-02-08 Alexander Larsson <alexl@redhat.com>
1216 Add g_volume_should_automount.
1219 2008-02-07 Tor Lillqvist <tml@novell.com>
1221 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1222 Win32, too Unix-specific.
1224 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1226 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1227 a local plt if the compiler doesn't support what we want. Bug #514702
1229 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1231 reviewed by: <delete if not using a buddy>
1234 * gunixinputstream.c:
1235 * gunixoutputstream.c:
1237 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1239 * tests/Makefile.am:
1240 * tests/live-g-file.c:
1241 * tests/live-g-file.txt:
1242 New GIO testing module working over real data
1244 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1246 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1247 Fallback to rename() if link() is not available
1248 (when no support on target filesystem)
1250 2008-02-06 Michael Natterer <mitch@imendio.com>
1252 * gfileinfo.c (g_file_info_get_icon): replace
1253 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1255 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1257 * gfile.c (g_file_create):
1258 Documentation update of error codes
1260 2008-02-06 Alexander Larsson <alexl@redhat.com>
1262 * gdesktopappinfo.c:
1263 Update to use both mimeapps.list and
1264 defaults.list as discussed on xdg list.
1266 2008-02-06 Benjamin Otte <otte@gnome.org>
1269 * gfilenamecompleter.c:
1270 Fix some typos in the documentation.
1272 2008-02-06 Alexander Larsson <alexl@redhat.com>
1274 * glocalfile.c (g_local_file_trash):
1275 Don't succeed with trash if newly created
1276 trash dir has the wrong owner. (#514696)
1278 2008-02-05 Alexander Larsson <alexl@redhat.com>
1280 * glocalfile.c (g_local_file_move):
1281 Don't spew warnings when destination is not
1284 2008-02-03 Hans Breuer <hans@breuer.org>
1286 * makefile.msc : update
1288 2008-02-01 Michael Natterer <mitch@imendio.com>
1290 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1291 return value of xdg_mime_list_mime_parents() to a variable of the
1294 2008-02-01 Alexander Larsson <alexl@redhat.com>
1296 * gappinfo.c (g_app_info_launch_uris):
1297 Actually call the launch_uris method, not
1300 2008-02-01 Alexander Larsson <alexl@redhat.com>
1302 * gdesktopappinfo.c (g_desktop_app_info_equal):
1303 Ensure appinfos with no id but same pointer value
1306 2008-02-01 Alexander Larsson <alexl@redhat.com>
1308 * gappinfo.c (g_app_info_launch_default_for_uri):
1311 2008-02-01 Alexander Larsson <alexl@redhat.com>
1315 Add g_app_info_launch_default_for_uri utility
1318 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1320 * gdesktopappinfo.c:
1321 Doc fix for g_app_info_get_default_for_uri_scheme ()
1324 2008-01-30 Alexander Larsson <alexl@redhat.com>
1327 Add doc comment about uris vs GFiles to
1330 * gdesktopappinfo.c:
1331 Ensure uris passed to g_app_info_launch_uris()
1332 are not roundtriped through GFile (as that
1333 may be slightly destructive for e.g. mailto: links)
1335 2008-01-30 Alexander Larsson <alexl@redhat.com>
1337 * tests/data-input-stream.c:
1338 * tests/data-output-stream.c:
1339 C89 fixes from Jens Granseuer (#512849)
1341 2008-01-30 Alexander Larsson <alexl@redhat.com>
1344 Fix gamin/fam difference build issue. (#509419)
1346 2008-01-29 Alexander Larsson <alexl@redhat.com>
1349 * gdesktopappinfo.c:
1350 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1352 2008-01-29 Alexander Larsson <alexl@redhat.com>
1354 * gdesktopappinfo.c:
1355 * gdesktopappinfo.h:
1356 giomodule-priv.h include moved to .c file.
1358 2008-01-29 Alexander Larsson <alexl@redhat.com>
1360 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1361 Remove unused prio/name fields.
1363 2008-01-29 Alexander Larsson <alexl@redhat.com>
1365 * gcontenttype.c (looks_like_text):
1366 Don't treat whitespace as control chars.
1368 2008-01-29 Alexander Larsson <alexl@redhat.com>
1370 * gdesktopappinfo.c:
1371 Lazily create the desktop files for appinfos created
1372 by g_app_info_create_from_commandline() when needed
1373 for mime associations. This allows run-time use
1374 of GAppInfo object without creating unnecessary
1377 2008-01-29 Alexander Larsson <alexl@redhat.com>
1380 Added new symbols to gio.symbols
1382 2008-01-29 Alexander Larsson <alexl@redhat.com>
1385 Add g_file_query_default_handler utility to easily look up
1386 the GAppInfo that handles a file.
1388 * gdesktopappinfo.[ch]:
1390 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1393 Remove unused function
1395 2008-01-29 Alexander Larsson <alexl@redhat.com>
1397 * gfileenumerator.c:
1398 Mention need to free returned value in
1399 g_file_enumerator_next_files_finish docs.
1400 Fix leak if g_file_enumerator_next_files_finish()
1403 2008-01-29 Alexander Larsson <alexl@redhat.com>
1406 (_g_unix_content_type_get_parents):
1407 Use list_parents, not get_parents from xdgmime, because
1408 the later doesn't use the cache.
1410 * xdgmime/xdgmimecache.c:
1411 (_xdg_mime_cache_list_mime_parents):
1412 Don't list the same type as parent multiple times.
1414 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1416 * === Released 2.15.4 ===
1418 2008-01-28 Alexander Larsson <alexl@redhat.com>
1421 Register local vfs with prio 0.
1424 Remove old name and prio class members
1426 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1428 * tests/g-file.c: Disable some tests that are failing in
1429 the absence of a http backend.
1431 2008-01-28 Alexander Larsson <alexl@redhat.com>
1435 Add registration hooks for extension points.
1436 Register the gio extension points.
1438 * fam/gfamdirectorymonitor.c:
1439 * fam/gfamfilemonitor.c:
1440 * glocaldirectorymonitor.[ch]:
1441 * glocalfilemonitor.[ch]:
1442 * gnativevolumemonitor.h:
1443 * gunionvolumemonitor.c:
1444 * gunixvolumemonitor.c:
1447 * inotify/ginotifydirectorymonitor.c:
1448 * inotify/ginotifyfilemonitor.c:
1449 Use the extension points registration instead
1450 of g_type_children().
1452 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1455 * gvolume.[hc]: Document new API.
1457 * gfile.c (g_file_copy_async): Fix docs
1459 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1461 * gbufferedinputstream.c:
1463 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1466 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1468 * glocalfile.c: Avoid trivial differences in translatable strings.
1470 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1472 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1473 build with gcc 3.4 (#509419)
1475 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1477 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1478 (#509994, Murray Cumming)
1480 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1482 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1483 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1484 this allows big jobs to be executed in chunks, instead of blocking
1485 the main loop for a long time.
1487 * gsimpleasyncresult.c:
1488 * giofile.c: Adapt callers.
1490 2008-01-25 Alexander Larsson <alexl@redhat.com>
1492 * gdesktopappinfo.c:
1493 Implement changes discussed on xdg list.
1494 Now we can add supported mimetypes by just using defaults.list
1495 We can also remove associations in defaults.list.
1497 2008-01-25 Alexander Larsson <alexl@redhat.com>
1499 * gdesktopappinfo.c:
1500 Don't make local copy of desktop file
1501 for mimetype changes if the file already
1502 supports the new mimetype.
1504 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1508 * gbufferedinputstream.c:
1509 * glocalfile.c: String improvements. (#511966,
1510 Theppitak Karoonboonyanan)
1512 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1514 * gioscheduler.h: Expand docs a bit.
1516 2008-01-24 Alexander Larsson <alexl@redhat.com>
1519 Add g_drive_get_identifier and
1520 g_drive_enumerate_identifiers
1523 Add g_volume_get_identifier and
1524 g_volume_enumerate_identifiers
1530 Implement identifiers for unix backend
1532 2008-01-24 Alexander Larsson <alexl@redhat.com>
1537 Add g_file_copy_async() (#511580)
1538 Based on patch from Carlos Garcia Campos
1540 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1542 * gioscheduler.c: Some documentation additions.
1544 2008-01-22 Alexander Larsson <alexl@redhat.com>
1546 * gdesktopappinfo.c:
1547 (g_desktop_app_info_new):
1548 Don't leak basename.
1550 2008-01-22 Alexander Larsson <alexl@redhat.com>
1552 * gdesktopappinfo.c:
1553 (g_desktop_app_info_new_from_filename):
1556 2008-01-22 Alexander Larsson <alexl@redhat.com>
1558 * glocalfileinfo.c (get_thumbnail_attributes):
1561 2008-01-22 Alexander Larsson <alexl@redhat.com>
1564 (canonicalize_filename):
1565 Canonicalize paths that start with more than
1569 (compare_two_files):
1570 (test_g_file_new_for_path):
1573 2008-01-22 Alexander Larsson <alexl@redhat.com>
1576 Allow UTF-8 in file:// parse names.
1578 * tests/Makefile.am:
1579 * tests/data-input-stream.c:
1580 * tests/data-output-stream.c:
1581 * tests/g-file-info.c:
1583 Added a bunch of tests from Tomas Bzatek
1585 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1587 * === Released 2.15.3 ===
1589 2008-01-21 Alexander Larsson <alexl@redhat.com>
1591 * gfileinputstream.[ch]:
1592 * gfileoutputstream.[ch]:
1594 Remove duplicated GSeekable functions. (#509990)
1595 Just use the g_seekable_xxx() calls instead.
1597 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1600 * gvolumemanager.c: Whitespace cleanups.
1602 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1603 Use the right mode when creating the file.
1605 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1607 * gfileenumerator.c:
1608 * gfileinputstream.c:
1610 * goutputstream.c: Documentation: Fixed minor typos
1611 and added more mentions of specific _finish() functions.
1613 2008-01-21 Alexander Larsson <alexl@redhat.com>
1615 * inotify/Makefile.am:
1616 * inotify/inotify-helper.c:
1617 * inotify/inotify-kernel.c:
1618 * inotify/inotify-path.c:
1619 * inotify/local_inotify.h: Removed.
1620 * inotify/local_inotify_syscalls.h: Removed.
1621 Removed the included copies of the inotify
1622 headers. We now only use the <sys/inotify.h>
1623 header which exists on modern systems.
1624 This fixes problems on ARM and SH5 (#510448)
1625 but is also generally much cleaner and future
1626 safe. For instance, if other OSes add support
1627 for inotify it should "just work".
1629 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1631 * inotify/*.c: Coding style fixes.
1632 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1633 for the 1/4 Hz timer.
1635 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1638 * gfilemonitor.[hc]:
1639 * gmemoryinputstream.c:
1640 * gmemoryoutputstream.c:
1641 * gmountoperation.c:
1642 * gthemedicon.c: Documentation updates
1644 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1646 * gfile.c: documentation: Fixed more minor
1649 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1651 * gmount.c: (g_mount_remount): documentation:
1652 Mention g_mount_remount_finish() instead of
1653 g_mount_unmount_finish().
1655 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1659 * gfile.c: Fixed some minor typos in the
1662 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1664 * gio/gvolumemonitor.c:
1665 (g_volume_monitor_get_connected_drives):
1666 (g_volume_monitor_get_volumes):
1667 (g_volume_monitor_get_mounts): Documentation:
1668 Clarify the ownership of the regurn GLists.
1670 2008-01-17 Alexander Larsson <alexl@redhat.com>
1673 Add the async find_enclosing_mount version
1674 to the header file too.
1676 2008-01-17 Alexander Larsson <alexl@redhat.com>
1679 Add async version of find_enclosing_mount
1680 with default implementation.
1682 2008-01-17 Alexander Larsson <alexl@redhat.com>
1687 Allow calls to implementation of copy and write
1688 even if the type of the file implementations is
1689 different. This can be used to implement native
1690 upload and download calls in a vfs.
1693 (g_local_file_move):
1694 Protect against the case where move is called
1695 with one file not being local.
1697 Make sure we call the progress callback once
1698 in the native move operation so that the caller
1699 knows how many bytes were copied.
1701 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1704 * gdatainputstream.c:
1706 * gfileoutputstream.c:
1711 * gunixmounts.c: Corrected some typos in the documentation:
1712 occured -> occurred.
1713 its -> it's (where appropriate).
1715 2008-01-16 Alexander Larsson <alexl@redhat.com>
1719 Add g_file_query_exists (#508771)
1721 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1726 * gvolume.c: For async functions that have no non-async
1727 version, document that the GAsyncReadyCallback may be NULL.
1730 2008-01-15 Alexander Larsson <alexl@redhat.com>
1732 * gmemoryinputstream.c:
1733 * gmemoryoutputstream.c:
1734 Don't do pointer arithmetic on void * (#508602)
1735 Patch from Kazuki IWAMOTO
1737 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1739 * === Released 2.15.2 ===
1741 2008-01-14 Alexander Larsson <alexl@redhat.com>
1743 * gfile.c (g_file_monitor_file):
1744 Don't set error here, since we fallback to polling monitor.
1746 2008-01-14 Alexander Larsson <alexl@redhat.com>
1749 (g_file_monitor_directory):
1750 (g_file_monitor_file):
1751 Add GError to file monitor calls
1753 * glocaldirectorymonitor.c:
1754 * glocaldirectorymonitor.h:
1756 * glocalfilemonitor.c:
1757 * glocalfilemonitor.h:
1759 Update for above change
1761 2008-01-14 Alexander Larsson <alexl@redhat.com>
1765 Handle root correctly in g_file_get_relative_path (#508719)
1767 2008-01-14 Alexander Larsson <alexl@redhat.com>
1770 Clean up docs and example for GAsyncResult (#508074)
1772 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1774 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1775 and correct some spelling mistakes. Bug #508108.
1777 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1779 * glocalfileinfo.c: Add a comment.
1781 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1783 * gfileinfo.c: GFileInfo description: Mention
1784 how to actually set attributes in a GFile and how to discover
1785 which attributes are settable. Bug #508378.
1787 2008-01-10 A. Walton <awalton@svn.gnome.org>
1789 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1790 (g_app_info_get_default_for_type):
1791 Check for NULL content types.
1793 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1795 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1797 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1799 * gfile.c: *_async() functions: Several small corrections
1800 to the documentation, mostly correcting copy/paste errors
1801 and improving some sentences.
1803 2008-01-09 Dan Winship <danw@gnome.org>
1805 * glocalfile.c (get_unique_filename): x86_64 fix
1807 2008-01-09 Alexander Larsson <alexl@redhat.com>
1812 Add g_unix_mount_guess_should_display and use
1813 for unix volume monitor backend.
1814 This means we more or less show what the
1815 gnome-vfs backend did.
1816 Based on patch from Padraig O'Briain
1818 2008-01-09 Alexander Larsson <alexl@redhat.com>
1822 Add g_themed_icon_new_with_default_fallbacks
1825 Use default fallbacks for icons
1827 2008-01-09 Alexander Larsson <alexl@redhat.com>
1830 * gmountoperation.[ch]:
1831 Change the API a bit so that unhandled methods
1832 get reported via the reply, rather than by
1833 the signal emission return value. This is because
1834 some handlers can't know this immediately without
1835 doing I/O, and this is an async operation that
1838 2008-01-09 Alexander Larsson <alexl@redhat.com>
1841 * fam/gfamdirectorymonitor.c:
1842 * fam/gfamfilemonitor.c:
1843 Fix double free crash (#508224)
1844 Patch from Joe Marcus Clarke
1846 008-01-07 Matthias Clasen <mclasen@redhat.com>
1848 * === Released 2.15.1 ===
1850 2008-01-07 Alexander Larsson <alexl@redhat.com>
1852 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1853 Fix warning (#507835)
1855 2008-01-07 Alexander Larsson <alexl@redhat.com>
1858 Pass --internal to glib-genmarshal
1861 * gmountoperation.c:
1863 Use better types for signal arguments (#507822)
1865 2008-01-07 Alexander Larsson <alexl@redhat.com>
1868 Build test subdir after .
1869 Remove gdirectorymonitor.[ch]
1871 * gdirectorymonitor.[ch]:
1875 Remove GDirectoryMonitor and make
1876 GFileMonitor the baseclass for both file and
1877 directory monitors. Lift the more generic
1878 rate limiting code from GDirectoryMonitor
1882 * fam/gfamdirectorymonitor.[ch]:
1883 * inotify/ginotifydirectorymonitor.[ch]:
1884 * inotify/inotify-helper.c:
1885 * glocaldirectorymonitor.[ch]:
1888 Update for the removed GDirectoryMonitor.
1890 * gmemoryoutputstream.c:
1891 Remove ununsed variable
1893 2008-01-07 Alexander Larsson <alexl@redhat.com>
1895 * gmemoryinputstream.c:
1896 Translate error strings
1899 * gmemoryoutputstream.[ch]:
1900 New implementation that avoids using GByteArray
1901 in implementation and API. (#506377)
1903 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1905 * tests/*: Add a test for memory input streams.
1907 * Makefile.am: Add tests to SUBDIRS.
1909 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1911 * glocalfilemonitor.c:
1912 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1915 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1917 * gdesktopappinfo.c: Fix a docs typo.
1919 * gfileattribute.c: Add information about extended attributes
1920 to the documentation. (#505058)
1922 2008-01-04 Alexander Larsson <alexl@redhat.com>
1925 * gmountoperation.c:
1926 Use the right type (uint) for the ask_password signal.
1928 2008-01-04 Alexander Larsson <alexl@redhat.com>
1933 Add g_app_info_supports_files()
1934 Remove desktop arg from g_app_info_should_show().
1936 * gdesktopappinfo.[ch]:
1937 Implement g_app_info_supports_files() and new should_show()
1938 Add g_desktop_app_info_set_desktop_env() to set the desktop
1939 for should_show(). (This will be set by gtk+ later)
1941 2008-01-04 Alexander Larsson <alexl@redhat.com>
1944 * gmemoryinputstream.[ch]:
1945 Improve API so that you can use multiple chunks
1946 of memory and custom destroy functions. (#506374)
1948 2008-01-03 Alexander Larsson <alexl@redhat.com>
1951 Handle NULL attribute matchers safely, as we return this
1952 for empty attribute matcher strings.
1954 2008-01-03 Alexander Larsson <alexl@redhat.com>
1956 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1957 Add /usr/local to list of internal mountpoints
1959 2008-01-03 Alexander Larsson <alexl@redhat.com>
1962 Check for HAVE_LCHOWN (#505887)
1964 2008-01-03 Alexander Larsson <alexl@redhat.com>
1968 Add define for selinux context attribute.
1969 Fix missing : -> :: namespace separator change
1970 Fix missing _ -> - name change for xattr-sys.
1973 2008-01-03 Alexander Larsson <alexl@redhat.com>
1976 Link to libglib and libgobject directly (#504879)
1977 Patch from Sebastien Bacher
1979 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1981 * gfile.c: Expanded the g_file_new_for_commandline_arg
1982 description a bit, based on the code and the docs of the
1983 other g_file_new_for_* functions.
1985 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1987 * gfilemonitor.h: Fixed typo in docs.
1989 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1991 Updates to GIO documentation. (#506395, Mikael Hermansson)
1993 * gcontenttype.c: Describe memory management for return value of
1994 g_content_types_get_registered(). Missing piece from #505815.
1995 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1996 GVolume, GDrive, GMounts, which hopefully gives the user less
1997 confusions when using this API. Following explainations from
1998 Alexander Larsson on gtk-devel-list.
2000 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2002 * gfileinfo.c: Expand the long description.
2004 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2007 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2008 fix builds with --disable-visibility. (#500273, Christian Persch)
2010 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2012 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2013 in the list of returned app infos.
2015 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2017 * gappinfo.c: Fix a cross-reference
2019 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2021 * gfileinputstream.c:
2022 * gfileoutputstream.c:
2026 * gdesktopappinfo.c:
2028 * gfileinfo.c: Documentation updates.
2030 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2032 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2035 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2037 * gcontenttype.c (g_content_types_get_registered): Don't return
2038 freed memory (#505815, Mikael Hermansson)
2040 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2042 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2043 used to detect statbuf->st_blocks. (#505042)
2045 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2047 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2048 environment handling. (#504829, Cosimo Cecchi)
2050 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2052 * gappinfo.c: Doc improvements
2054 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2057 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2059 * === Released 2.15.0 ===
2061 2007-12-20 Hans Breuer <hans@breuer.org>
2063 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2064 with symbols gwin32appinfo.obj, added gmount.obj
2065 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2067 2007-12-20 Alexander Larsson <alexl@redhat.com>
2073 * gfilenamecompleter.c:
2076 * gpollfilemonitor.c:
2077 File attribute renames:
2079 fs:: -> filesystem::
2080 id::fs -> id::filesystem
2082 2007-12-20 Alexander Larsson <alexl@redhat.com>
2091 Add GMountUnmountFlags to all unmount and
2093 Add g_mount_remount() call.
2095 2007-12-20 Alexander Larsson <alexl@redhat.com>
2097 * gvfs.c (get_default_vfs):
2098 Fix unused variable warning
2100 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2102 * pltcheck.sh: Update
2104 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2106 * gunionvolumemonitor.c:
2107 * gunixmount.c: Remove C99 comments
2109 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2111 * gio.symbols: Add some missing symbols
2113 2007-12-19 Alexander Larsson <alexl@redhat.com>
2116 Make g_io_modules_load_all_in_directory not unuse
2117 loaded modules so that users of it can do stuff
2119 Init internal "module" types.
2120 Initialize static prio and name for types so that
2121 we don't have to load modules to get it.
2123 * gnativevolumemonitor.h:
2125 Move is_supported to parent class so that
2126 non-native monitors can avoid being initialized
2127 too. (For instance GDaemonVolumeMonitor if we're
2128 not using GDaemonVfs.)
2130 * glocaldirectorymonitor.[ch]:
2131 * glocalfilemonitor.[ch]:
2132 * gunionvolumemonitor.c:
2133 * gunixvolumemonitor.c:
2135 Find plugins using the static prio+name to
2136 avoid unnecessarily loading the modules.
2138 2007-12-19 Alexander Larsson <alexl@redhat.com>
2143 2007-12-19 Alexander Larsson <alexl@redhat.com>
2145 * gunionvolumemonitor.c:
2146 Store the native type as GType, not class so that
2147 we can unload it. But still avoid unnecessarily
2150 2007-12-19 David Zeuthen <davidz@redhat.com>
2152 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2153 add signals 'disconnected' and 'eject-button' on GDrive. Add
2154 signal 'removed' on GVolume and 'unmounted' on GMount.
2156 * gdrive.c: (g_drive_base_init):
2158 * gfile.c: (g_file_mount_mountable),
2159 (g_file_mount_enclosing_volume):
2162 * gmount.c: (g_mount_base_init):
2164 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2165 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2166 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2170 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2172 * *.c: Fix up includes in the section docs.
2174 2007-12-17 Alexander Larsson <alexl@redhat.com>
2176 * gnativevolumemonitor.h:
2177 * gunionvolumemonitor.c:
2178 * gunixvolumemonitor.c:
2179 Add is_supported() to GNativeVolumeMonitorClass so
2180 that we can avoid having to create an object to see
2181 if the backend is supported at runtime.
2182 Also add name member and an env var to pick a specific
2183 volume monitor backend.
2187 Add cancellable to _g_mount_get_for_mount_path()
2189 * glocaldirectorymonitor.c:
2190 * glocalfilemonitor.c:
2191 Avoid loading and unloading modules while sorting.
2193 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2196 * gunixmounts.[hc]: Namespace waste reduction, move some
2197 g_get_unix_mount functions to the g_unix_mount namespace.
2200 * gunixvolumemonitor.c:
2202 * glocaldirectorymonitor.c: Update all callers.
2204 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2206 2007-12-17 Alexander Larsson <alexl@redhat.com>
2209 Add doc comments about what GFile operations are
2210 guaranteed to not block.
2212 2007-12-17 Alexander Larsson <alexl@redhat.com>
2215 Add missing #ifdef fixing OSX build.
2216 (#503334, patch from Richard Hult)
2218 2007-12-14 David Zeuthen <davidz@redhat.com>
2222 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2223 (g_mount_eject), (g_mount_eject_finish):
2225 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2226 (get_volume_for_uuid), (get_mount_for_uuid),
2227 (g_union_volume_monitor_class_init),
2228 (get_default_native_type_with_exclude), (get_default_native_type),
2229 (get_native_type), (update_native_type),
2230 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2231 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2232 (g_unix_mount_can_eject), (eject_unmount_cb),
2233 (eject_unmount_read_error), (eject_unmount_do),
2234 (g_unix_mount_unmount), (g_unix_mount_eject),
2235 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2236 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2237 (g_unix_mount_point_guess_can_eject):
2239 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2240 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2241 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2242 (g_unix_volume_mount), (g_unix_volume_eject),
2243 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2244 * gunixvolumemonitor.c: (get_volume_for_uuid),
2245 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2247 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2248 (g_volume_eject), (g_volume_eject_finish):
2250 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2251 (g_volume_monitor_get_mount_for_uuid):
2254 Provide eject() on both GMount and GVolume and utility functions
2255 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2256 ejected. Introduce the concept of UUID's and wire it into GVolume
2257 and GMount and provide API on GVolumeMonitor to find such
2258 instances. Also handle the case where an external
2259 GNativeVolumeMonitor fails to initialize. Lock around the
2260 _g_get_mount_for_mount_path() function such that volume monitor
2261 implementations won't have to do locking themselves.
2263 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2265 * gdesktopappinfo.c:
2271 * gvolume.h: Documentation updates
2273 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2276 * gfile.h: Doc updates
2278 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2281 * gdesktopappinfo.c: Use hash table iterators.
2283 2007-12-14 Alexander Larsson <alexl@redhat.com>
2286 * gfileattribute.[ch]:
2287 * gfileattribute-priv.h:
2288 Move GFileAttributeValue to a private header, as
2292 Make set_attribute take a type + a pointer instead
2293 of a GFileAttributeValue.
2296 Fix up for above changes.
2297 Add g_file_info_get_attribute_data to get
2298 all info in one call, g_file_info_get_attribute_status
2299 to get the status and g_file_info_get_attribute_as_string.
2303 * glocalfileinfo.[ch]:
2307 Make _guess_type static.
2309 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2312 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2313 made mkenums and friends use temporary files to avoid leaving
2314 empty generated files on failure (#503470).
2316 2007-12-14 Alexander Larsson <alexl@redhat.com>
2318 * gmountoperation.h:
2321 2007-12-14 Alexander Larsson <alexl@redhat.com>
2325 * gfileattribute.[ch]:
2328 * glocalfileoutputstream.c:
2329 * gmountoperation.[ch]:
2330 * goutputstream.[ch]:
2331 Clean up all flags enums to not have _FLAGS in them
2332 Make the names of some of the enums better.
2337 2007-12-14 Michael Natterer <mitch@imendio.com>
2339 * gio.symbols: fix g_io_scheduler symbol names.
2341 2007-12-14 Alexander Larsson <alexl@redhat.com>
2347 * gbufferedinputstream.h:
2348 * gbufferedoutputstream.h:
2351 * gdatainputstream.h:
2352 * gdataoutputstream.h:
2353 * gdesktopappinfo.h:
2354 * gdirectorymonitor.h:
2358 * gfileenumerator.h:
2361 * gfileinputstream.h:
2363 * gfilenamecompleter.h:
2364 * gfileoutputstream.h:
2365 * gfilterinputstream.h:
2366 * gfilteroutputstream.h:
2374 * gmemoryinputstream.h:
2375 * gmemoryoutputstream.h:
2377 * gmountoperation.h:
2380 * gsimpleasyncresult.h:
2382 * gunixinputstream.h:
2384 * gunixoutputstream.h:
2388 * inotify/Makefile.am:
2389 Only allow including <gio/gio.h> from apps
2391 2007-12-14 Alexander Larsson <alexl@redhat.com>
2393 * gioscheduler.[ch]:
2394 * gsimpleasyncresult.c:
2395 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2396 Split out the send_to_mainloop call into two versions instead
2397 of having the block argument.
2399 2007-12-13 Alexander Larsson <alexl@redhat.com>
2401 * gcancellable.[ch]:
2403 * gbufferedinputstream.c:
2404 * gfileenumerator.c:
2405 * gfileinputstream.c:
2406 * gfileoutputstream.c:
2410 g_push/pop_current_cancellable ->
2411 g_cancellable_push/pop_current
2413 2007-12-13 Alexander Larsson <alexl@redhat.com>
2417 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2419 2007-12-13 Alexander Larsson <alexl@redhat.com>
2421 * gmountoperation.h:
2422 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2424 2007-12-12 Alexander Larsson <alexl@redhat.com>
2427 Fix race condition when freeing proxy in
2428 g_io_job_send_to_mainloop().
2430 2007-12-12 Alexander Larsson <alexl@redhat.com>
2436 Make attribute namespace separator "::" instead of ":".
2437 Use - instead of _ as separator in attribute names.
2439 2007-12-12 Alexander Larsson <alexl@redhat.com>
2441 * gbufferedinputstream.h:
2442 * gbufferedoutputstream.h:
2443 * gdatainputstream.h:
2444 * gdataoutputstream.h:
2445 * gdirectorymonitor.h:
2446 * gfileenumerator.h:
2447 * gfileinputstream.h:
2449 * gfileoutputstream.h:
2450 * gfilterinputstream.h:
2451 * gfilteroutputstream.h:
2453 * glocalfileinputstream.h:
2454 * glocalfileoutputstream.h:
2455 * gmemoryinputstream.h:
2456 * gmemoryoutputstream.h:
2457 * gnativevolumemonitor.h:
2459 * gunixinputstream.h:
2460 * gunixoutputstream.h:
2463 s/parent/parent_instance/ in GObjects
2465 2007-12-12 Alexander Larsson <alexl@redhat.com>
2470 No need for padding for interfaces
2472 2007-12-12 Alexander Larsson <alexl@redhat.com>
2476 * gbufferedinputstream.c:
2477 * gbufferedoutputstream.c:
2480 * gdatainputstream.[ch]:
2481 * gdesktopappinfo.c:
2482 * gdirectorymonitor.c:
2484 * gfileattribute.[ch]:
2487 * gfileinputstream.h:
2488 * gfilemonitor.[ch]:
2489 * gfileoutputstream.[ch]:
2490 * gfilterinputstream.h:
2491 * gfilteroutputstream.h:
2494 * gloadableicon.[ch]:
2495 * gmemoryinputstream.c:
2496 * gmountoperation.c:
2498 Fix up a bunch of details in the docs.
2503 2007-12-11 David Zeuthen <davidz@redhat.com>
2505 Rework how volumes, drives and volume monitoring is
2506 done. Previosly the model was
2508 GDrive <1-1> GVolume
2510 where a GDrive instance represented a mount point and a GVolume
2511 instance represented a mounted file system. This patch changes it
2514 GDrive <1-N> GVolume <1-1> GMount
2516 where GMount now serves the purpose of the old GVolume and the new
2517 GVolume serves the purpose of the old GDrive. In addition the new
2518 GDrive interface is used to represent a collection of GVolume
2519 instances (typically partitions) and also contains utility to query
2520 the state of the physical drive the GDrive object represents (such
2521 as checking for media, polling the drive, ejecting the media etc.).
2523 Also implement mounting and unmounting in the Unix volume monitor
2524 backend. A subquent patch will introduce GDrive support for ejection
2528 * gdrive.c: (g_drive_is_media_check_automatic),
2529 (g_drive_is_media_removable), (g_drive_has_media),
2530 (g_drive_can_poll_for_media), (g_drive_eject),
2531 (g_drive_eject_finish), (g_drive_poll_for_media),
2532 (g_drive_poll_for_media_finish):
2534 * gfile.c: (g_file_find_enclosing_mount):
2537 * glocaldirectorymonitor.c:
2538 (g_local_directory_monitor_constructor), (mounts_changed):
2539 * glocalfile.c: (get_mount_info),
2540 (g_local_file_find_enclosing_mount),
2541 (g_local_file_file_iface_init):
2542 * gnativevolumemonitor.h:
2543 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2544 (get_connected_drives), (g_union_volume_monitor_class_init),
2545 (child_volume_added), (child_volume_removed),
2546 (child_volume_changed), (child_mount_added), (child_mount_removed),
2547 (child_mount_pre_unmount), (child_mount_changed),
2548 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2549 (g_union_volume_monitor_remove_monitor),
2550 (_g_mount_get_for_mount_path):
2551 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2552 (guess_system_internal), (_g_get_unix_mounts),
2553 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2554 (g_unix_mount_free), (g_unix_mount_compare),
2555 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2556 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2557 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2558 (type_to_icon), (g_unix_mount_guess_name),
2559 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2560 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2561 (_resolve_symlink), (_resolve_dev_root):
2563 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2564 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2565 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2566 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2567 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2568 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2569 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2570 (g_unix_volume_volume_iface_init):
2572 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2573 (get_mounts), (get_volumes), (get_connected_drives),
2574 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2575 (mountpoints_changed), (mounts_changed),
2576 (g_unix_volume_monitor_init),
2577 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2578 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2579 * gunixvolumemonitor.h:
2580 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2581 (g_volume_mount), (g_volume_mount_finish):
2583 * gvolumemonitor.c: (g_volume_monitor_class_init),
2584 (g_volume_monitor_get_connected_drives),
2585 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2588 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2590 * gmountoperation.h (GPasswordFlags): Close the gap
2592 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2594 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2596 * gdesktopappinfo.[hc]: Remove _-prefixes
2598 2007-12-10 Tor Lillqvist <tml@novell.com>
2600 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2603 2007-12-10 Alexander Larsson <alexl@redhat.com>
2605 * gfile.c (g_file_set_display_name):
2606 Don't hardcode '/' (#502727)
2608 2007-12-09 Hans Breuer <hans@breuer.org>
2610 * makefile.msc : follow lib naming convention
2611 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2612 for user and group name, tested with ../tests/gio-ls
2614 2007-12-09 A. Walton <awalton@svn.gnome.org>
2616 * gdesktopappinfo.c:
2622 * gfileenumerator.c:
2627 * gmemoryinputstream.c:
2628 * gmemoryoutputstream.c:
2630 * gsimpleasyncresult.c:
2631 More documentation cleanup and filling in missing information, bringing
2632 GIO to 99% symbol coverage.
2634 2007-12-08 Hans Breuer <hans@breuer.org>
2636 [gio compiles and links on win32, not sure how much already works]
2637 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2638 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2639 base on win32 API; prefer g_lstat() over lstat(); instead of
2640 localtime_r() use an all GLib implementation on win32;
2641 get_mount_info() still needs a win32 specifc implementation
2642 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2643 win32_get_file_user_info to get owner/group info without uid/gid
2644 * glocalfileinputstream.c : include <io.h> on win32
2645 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2646 definition, use g_win32_ftruncate() for G_OS_WIN32
2647 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2648 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2649 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2650 * makefile.msc : updated
2652 2007-12-07 Alexander Larsson <alexl@redhat.com>
2654 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2655 Avoid warning spew if error == NULL
2657 2007-12-07 Alexander Larsson <alexl@redhat.com>
2660 Update docs wrt etags
2662 2007-12-06 Alexander Larsson <alexl@redhat.com>
2665 Include sys/types.h for dev_t (#501919)
2667 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2671 Make abicheck and pltcheck pass.
2673 2007-12-05 Alexander Larsson <alexl@redhat.com>
2676 * giomodule-priv.h: Added.
2677 * glocaldirectorymonitor.c:
2678 * glocalfilemonitor.c:
2679 * gunionvolumemonitor.c:
2681 Actually add the declaration of _g_io_modules_ensure_loaded
2683 2007-12-05 Alexander Larsson <alexl@redhat.com>
2685 * gdatainputstream.c:
2690 * glocaldirectorymonitor.c:
2691 * glocalfilemonitor.c:
2692 * gunionvolumemonitor.c:
2694 Make g_io_modules_ensure_loaded a private function and
2695 don't pass in the dirname. This means we can do magic
2696 directory finding in the win32 version.
2697 Export the actual load-modules-in-directory code so that
2698 gvfs can reuse that.
2700 2007-12-05 Alexander Larsson <alexl@redhat.com>
2702 * gbufferedinputstream.c:
2703 * gbufferedoutputstream.c:
2706 * gfileenumerator.[ch]:
2707 * gfileinputstream.c:
2708 * gfileoutputstream.[ch]:
2709 * gfilterinputstream.c:
2710 * gfilteroutputstream.c:
2711 * ginputstream.[ch]:
2713 * glocalfileenumerator.c:
2714 * glocalfileinputstream.c:
2715 * glocalfileoutputstream.c:
2716 * gmemoryinputstream.c:
2717 * gmemoryoutputstream.c:
2718 * goutputstream.[ch]:
2721 * gunixinputstream.c:
2722 * gunixoutputstream.c:
2723 Rename all struct members named:
2724 read, write, close, truncate, or mount
2725 to foo_fn, as these are reserved names
2726 and could be defined as macros in libc.
2729 2007-12-04 Alexander Larsson <alexl@redhat.com>
2732 (g_output_stream_close):
2733 Only call flush if non-null.
2735 2007-11-30 Dan Winship <danw@gnome.org>
2737 * ginputstream.c (g_input_stream_set_pending): Make this take a
2738 GError and return a gboolean, and do the "outstanding operation"
2739 check (and the "stream is already closed" check) itself.
2740 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2742 * goutputstream.c (g_output_stream_set_pending)
2743 (g_output_stream_clear_pending): Likewise
2745 * gbufferedinputstream.c:
2746 * gfileinputstream.c:
2747 * gfileoutputstream.c: Update for that
2749 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2750 Like g_simple_async_report_error_in_idle, but takes a GError
2751 rather than building one.
2753 2007-11-30 Dan Winship <danw@gnome.org>
2755 * goutputstream.c: Don't cheat and unset the "pending" flag around
2756 inner calls. Instead, call the class method directly rather than
2757 the wrapper function that checks "pending"
2759 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2761 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2763 2007-12-03 Hans Breuer <hans@breuer.org>
2765 [start of port to win32/msvc]
2766 * gcancellable.c : HAVE_UNIST_H and _pipe()
2767 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2768 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2769 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2771 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2772 * glocalvfs.c : use HAVE_PWD_H
2773 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2774 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2775 * Makefile.am : added to EXTRA_DIST
2777 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2779 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2782 2007-12-03 Alexander Larsson <alexl@redhat.com>
2785 Handle OSX style xattrs API (#500506)
2787 2007-12-03 Alexander Larsson <alexl@redhat.com>
2791 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2793 2007-12-02 A. Walton <awalton@svn.gnome.org>
2797 Documentation accuracy fixes.
2799 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2801 * gioenumtypes.c.template: Fix typo.
2803 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2805 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2807 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2809 * gdirectorymonitor.c:
2810 * gfilemonitor.c: Add properties
2812 * gbufferedoutputstream.c: Don't mark buffer-size property
2815 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2817 * gbufferedoutputstream.c: Add auto-grow property.
2819 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2821 * *.c: Unify the capitalization of section headings.
2823 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2825 * gmountoperation.c: Add properties
2827 * gdatainputstream.c: Turn byte-order and newline-type into
2830 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2832 * gioenumtypes.[hc].template: Templates for enum registration
2834 * Makefile.am: Generate gioenumtypes.[hc]
2836 * gio.h: Include gioenumtypes.h
2838 * gfile.h: Add some explicit nicks.
2840 * gio.symbols: Add new symbols
2842 * pltcheck.sh: Adjust
2844 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2846 * *.c: Explain etags and link to the explanation
2848 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2850 * *.c: Explain I/O priority.
2852 * *.c: More coding style fixes.
2854 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2856 * gasyncresult.c: Add another paragraph to the intro,
2857 adjust coding style of example.
2859 2007-11-29 A. Walton <awalton@svn.gnome.org>
2862 Fixes unknown meaning in GAppLaunchContext docs.
2864 Clarify asynchronous ops.
2866 Fix entity tag docs.
2869 Provides missing gtk-doc section, fixes API docs slighly.
2870 * gsimpleasyncresult.c:
2871 Fill in missing info in docs.
2872 * gunixinputstream.c:
2873 * gunixoutputstream.c:
2874 Be more expressive in short description.
2876 Remove gtk-doc stubs for non-public API.
2878 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2880 * *.c: Coding style fixups
2882 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2884 * inotify/inotify-helper.c: Don't export the lock from libgio.
2886 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2889 * abicheck.sh: Fix copy-and-paste leftovers
2891 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2893 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2895 2007-11-28 Alexander Larsson <alexl@redhat.com>
2899 Removed unnecessary file
2901 * gdesktopappinfo.[ch]:
2904 * glocaldirectorymonitor.[ch]:
2906 * glocalfileenumerator.[ch]:
2907 * glocalfileinputstream.[ch]:
2908 * glocalfilemonitor.[ch]:
2909 * glocalfileoutputstream.[ch]:
2911 * gnativevolumemonitor.c:
2912 * gpollfilemonitor.[ch]:
2913 * gunionvolumemonitor.[ch]:
2916 * gunixvolumemonitor.[ch]:
2919 * inotify/ginotifydirectorymonitor.[ch]:
2920 * inotify/ginotifyfilemonitor.[ch]:
2921 * inotify/inotify-helper.c:
2922 Append _ to all internal functions
2926 Export symbols needed for modules
2928 2007-11-28 Alexander Larsson <alexl@redhat.com>
2931 * abicheck.sh: Added.
2932 * makegioalias.pl: Added.
2933 * pltcheck.sh: Added.
2934 * gio.symbols: Added.
2937 Initial work on adding symbol handling.
2940 Correct ifdef guard name
2943 * inotify/Makefile.am:
2944 * xdgmime/Makefile.am:
2945 Include toplevel Makefile.decl
2947 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2949 * gcontenttype.c: Move doc comments to the unix section.
2951 * *.[hc]: More trivial doc corrections.
2953 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2955 * gpollfilemonitor.c:
2959 * gdesktopappinfo.c:
2964 * gdatainputstream.c:
2965 * gdatainputstream.h:
2966 * gdataoutputstream.c:
2967 * gdataoutputstream.h:
2968 * gfileinfo.h: Doc cleanups
2970 2007-11-28 Andre Klapper <a9016009@gmx.de>
2972 * gdesktopappinfo.c: Fix a typo.
2974 2007-11-27 Andre Klapper <a9016009@gmx.de>
2976 * glocalfileoutputstream.c: Fix a typo.
2978 2007-11-27 Alexander Larsson <alexl@redhat.com>
2981 Don't include removed headers
2983 2007-11-27 Alexander Larsson <alexl@redhat.com>
2986 * gsocketinputstream.[ch]: Removed.
2987 * gsocketoutputstream.[ch]: Removed.
2988 * gunixinputstream.[ch]: Added.
2989 * gunixoutputstream.[ch]: Added.
2990 Renamed GSocket*Stream to GUnix*Stream and made
2991 it unix-only, since its not really only for sockets
2992 and it only works on unix (but is highly useful there).
2994 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3000 * gbufferedinputstream.c:
3001 * gbufferedinputstream.h:
3002 * gbufferedoutputstream.c:
3003 * gbufferedoutputstream.h:
3007 * gdatainputstream.c:
3008 * gdatainputstream.h:
3009 * gdataoutputstream.c:
3010 * gdataoutputstream.h:
3011 * gdirectorymonitor.c:
3012 * gdirectorymonitor.h:
3019 * gfileenumerator.c:
3020 * gfileenumerator.h:
3025 * gfileinputstream.c:
3026 * gfileinputstream.h:
3029 * gfilenamecompleter.c:
3030 * gfilenamecompleter.h:
3031 * gfileoutputstream.c:
3032 * gfileoutputstream.h:
3033 * gfilterinputstream.c:
3034 * gfilterinputstream.h:
3035 * gfilteroutputstream.c:
3036 * gfilteroutputstream.h:
3049 * glocalfileoutputstream.c:
3050 * gmemoryinputstream.c:
3051 * gmemoryinputstream.h:
3052 * gmemoryoutputstream.c:
3053 * gmemoryoutputstream.h:
3054 * gmountoperation.c:
3055 * gmountoperation.h:
3058 * gpollfilemonitor.c:
3061 * gsimpleasyncresult.c:
3062 * gsimpleasyncresult.h:
3063 * gsocketinputstream.c:
3064 * gsocketinputstream.h:
3065 * gsocketoutputstream.c:
3066 * gsocketoutputstream.h:
3073 * gunixvolumemonitor.c:
3082 Bumps documentation to 93% symbol coverage, touching most
3083 of the public files. Fixes broken function documentation prototypes.
3084 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3085 gtk-doc headers in private files.
3087 2007-11-27 Jürg Billeter <j@bitron.ch>
3089 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3090 (g_buffered_input_stream_read_byte):
3091 * gbufferedinputstream.h:
3092 New functions for efficient access to buffer and simple single byte
3095 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3096 (g_data_input_stream_read_until):
3097 * gdatainputstream.h:
3098 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3099 read_until with multiple stop chars.
3101 2007-11-27 Alexander Larsson <alexl@redhat.com>
3105 * inotify/Makefile.am:
3106 Use the user-specified giomoduledir
3108 2007-11-27 Alexander Larsson <alexl@redhat.com>
3112 Add catch-all gio.h header
3113 Don't install gdummyfile.h
3115 2007-11-26 Alexander Larsson <alexl@redhat.com>
3117 * Makefile.am (gioinclude_HEADERS):
3118 Remove trailing whitespace
3120 2007-11-26 Alexander Larsson <alexl@redhat.com>
3122 Merge gio-standalone into glib
3124 2007-11-25 Christian Kellner <gicmo@gnome.org>
3126 * gio/goutputstream.c:
3127 Fix small mistake in the docs.
3129 2007-11-21 Christian Persch <chpe@gnome.org>
3131 * gio/glocalfile.c: (g_local_file_trash):
3132 Convert filenames to UTF-8 for GError.
3133 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3134 as per xdg base dir spec.
3136 2007-11-21 Christian Persch <chpe@gnome.org>
3138 * gio/gdesktopappinfo.c:
3139 Use that g_key_file_to_data cannot fail.
3141 Use stock defines for the key file group and key names.
3144 2007-11-21 Alexander Larsson <alexl@redhat.com>
3147 (copy_stream_with_progress):
3148 Make sure we do a final progress callback with
3149 the full total size.
3151 2007-11-21 Alexander Larsson <alexl@redhat.com>
3154 Export g_file_copy_attributes
3155 Remove padding as its not needed for interfaces
3157 2007-11-20 Alexander Larsson <alexl@redhat.com>
3162 Add G_IO_ERROR_WOULD_MERGE for
3163 copy/move dir on dir with overwrite.
3165 2007-11-20 Alexander Larsson <alexl@redhat.com>
3168 * gio/glocalfileinfo.c:
3169 Add COPY_NAME (this is an optional
3170 non-modified utf8 version of the name) that
3173 2007-11-20 Alexander Larsson <alexl@redhat.com>
3175 * gio/glocalfileenumerator.c:
3176 Report errors as GIOError, not GFileError
3178 2007-11-16 Alexander Larsson <alexl@redhat.com>
3180 * gio/glocalfileoutputstream.c:
3181 * gio/gwin32appinfo.c:
3182 Fix typos in strings.
3183 Patch from Luca Ferretti <elle.uca@libero.it>
3185 2007-11-15 Alexander Larsson <alexl@redhat.com>
3188 Post release version bump
3190 === gio-standalone 0.1.2 ===
3192 2007-11-15 Alexander Larsson <alexl@redhat.com>
3194 * docs/reference/gio/Makefile.am:
3195 Fix up distcheck by removing weird
3201 2007-11-14 Alexander Larsson <alexl@redhat.com>
3203 * gio/gdesktopappinfo.c:
3204 * gio/glocaldirectorymonitor.c:
3206 * gio/glocalfileinfo.c:
3207 * gio/inotify/inotify-sub.c:
3208 * programs/gio-cat.c:
3209 * programs/gio-copy.c:
3210 * programs/gio-info.c:
3211 * programs/gio-ls.c:
3212 * programs/gio-monitor-dir.c:
3213 * programs/gio-monitor-file.c:
3214 * programs/gio-mount.c:
3215 * programs/gio-move.c:
3216 * programs/gio-rm.c:
3217 * programs/gio-save.c:
3218 * programs/gio-trash.c:
3219 Leak fixes from Kjartan Maraas
3221 2007-11-14 Alexander Larsson <alexl@redhat.com>
3223 * gio/fam/fam-helper.c:
3225 * gio/glocalfileinfo.c:
3229 * gio/inotify/inotify-diag.c:
3230 * gio/inotify/inotify-kernel.c:
3231 Various code cleanups from Kjartan Maraas
3233 2007-11-14 Alexander Larsson <alexl@redhat.com>
3235 * gio/gioscheduler.c:
3237 Set up threadpool so that we cache 2 unused
3238 idle threads for at 15 secs. This means we
3239 will reuse thread-local data (like dbus connections)
3242 2007-11-14 Alexander Larsson <alexl@redhat.com>
3244 * gio/fam/fam-helper.c:
3245 * gio/fam/gfamdirectorymonitor.c:
3246 * gio/fam/gfamfilemonitor.c:
3248 * gio/gcontenttype.c:
3249 * gio/gdatainputstream.c:
3250 * gio/gdataoutputstream.c:
3254 * gio/gfileattribute.h:
3255 * gio/gfileenumerator.c:
3257 * gio/ginputstream.c:
3260 * gio/glocalfileinfo.c:
3261 * gio/goutputstream.c:
3262 * gio/gpollfilemonitor.c:
3263 * gio/gsimpleasyncresult.c:
3264 * gio/gunixmounts.c:
3265 * gio/gunixmounts.h:
3266 * gio/inotify/ginotifydirectorymonitor.c:
3267 * gio/inotify/ginotifyfilemonitor.c:
3268 * gio/inotify/inotify-diag.c:
3269 * gio/inotify/inotify-kernel.c:
3270 * gio/inotify/inotify-path.c:
3272 * gio/test-streams.c:
3273 * programs/gio-info.c:
3274 * programs/gio-monitor-dir.c:
3275 * programs/gio-monitor-file.c:
3276 Various code cleanups from Kjartan Maraas
3278 2007-11-13 Alexander Larsson <alexl@redhat.com>
3281 Handle the uri-scheme calls for dummy files
3283 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3285 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3286 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3287 to avoid clash with the C++ keyword.
3289 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3291 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3292 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3294 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3296 * gio/glocaldirectorymonitor.c:
3297 * gio/glocalfilemonitor.c:
3298 * gio/gunionvolumemonitor.c:
3299 Don't use g_once_init_*() for initializations that could fail and
3300 could leave the initialization variable set to 0 but use GOnce.
3301 This prevents a deadlock on the second call when trying to create
3302 a monitor and no monitor type is available. Thanks to Sven Herzberg
3305 2007-11-11 Sven Herzberg <sven@imendio.com>
3307 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3308 #ifdef (make it work on MacOS X again)
3310 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3312 Fixes Changelog for last two commits (sorry guys).
3314 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3316 * gio/gbufferedinputstream.c:
3317 * gio/gdatainputstream.c:
3319 * gio/gfileoutputstream.c:
3320 * gio/gfilterinputstream.c:
3321 * gio/glocalfileinputstream.c:
3324 More consistency fixes in g*stream.c files.
3325 Significant clean of gfile's documentation, filling in of
3326 asynchronous operations documentation.
3328 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3330 * gio/gasyncresult.c:
3331 * gio/gbufferedinputstream.c:
3332 * gio/gbufferedoutputstream.c:
3333 * gio/gcancellable.c:
3334 * gio/gcontenttype.c:
3335 * gio/gdatainputstream.c:
3336 * gio/gdataoutputstream.c:
3337 * gio/gdesktopappinfo.c:
3340 * gio/gfileattribute.c:
3341 * gio/gio/gfileenumerator.c:
3343 * gio/gfileinputstream.c:
3344 * gio/gfilemonitor.c:
3345 * gio/gfileoutputstream.c:
3346 * gio/ginputstream.c:
3348 * gio/gioscheduler.c:
3349 * gio/gloadableicon.c:
3350 * gio/glocalfileoutputstream.c:
3351 * gio/gmemoryoutputstream.c:
3352 * gio/gmountoperation.c:
3353 * gio/goutputstream.c:
3355 * gio/gsimpleasyncresult.c:
3356 * gio/gunionvolumemonitor.c:
3357 * gio/gunixmounts.c:
3358 * gio/gunixvolume.c:
3362 * gio/gvolumemonitor.c:
3363 Updated documentation stubs, working towards consistency and
3366 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3368 * gio/gmemoryoutputstream.c:
3369 * gio/gmemoryoutputstream.h:
3370 Change g_memory_output_stream_set_free_on_close() to
3371 g_memory_output_stream_set_free_data() as this makes more sense and
3372 is more consistent with GMemoryInputStream.
3374 2007-11-07 Alexander Larsson <alexl@redhat.com>
3381 Change how we find the default vfs so that
3382 we can handle a gvfs failing to init
3384 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3386 * gio/gbufferedoutputstream.c:
3387 * gio/gdatainputstream.c:
3388 * gio/gdataoutputstream.c:
3389 * gio/gfileinputstream.c:
3390 * gio/gfileoutputstream.c:
3391 * gio/gfilterinputstream.c:
3392 * gio/gfilteroutputstream.c:
3393 * gio/ginputstream.c:
3394 * gio/gmemoryinputstream.c:
3395 * gio/gmemoryoutputstream.c:
3396 * gio/goutputstream.c:
3397 * gio/gsimpleasyncresult.c:
3398 * gio/gsocketinputstream.c:
3399 * gio/gsocketoutputstream.c:
3400 Add guards to the remaining public functions, add a TODO for
3401 an unimplemented function and remove some useless guards.
3403 2007-11-07 Alexander Larsson <alexl@redhat.com>
3406 Autoconf checks for the various types of
3407 getpwuid_r and getgrgid_r
3409 * gio/glocalfileinfo.c:
3410 Use the autoconf checks from above
3412 2007-11-07 Alexander Larsson <alexl@redhat.com>
3415 (g_local_file_query_filesystem_info):
3416 Some fixes for the statvfs case
3418 2007-11-07 Alexander Larsson <alexl@redhat.com>
3421 (g_local_file_query_filesystem_info):
3422 Pick the "best" of statfs / statvfs for the system
3423 if both are availible.
3425 2007-11-07 Alexander Larsson <alexl@redhat.com>
3427 Solaris fixes from Halton.Huo@Sun.COM:
3434 * gio/glocalfileinfo.c:
3435 Fix for solaris definition of getpwuid_r
3437 * gio/test-streams.c:
3438 Use G_GNUC_PRETTY_FUNCTION
3440 2007-11-07 Alexander Larsson <alexl@redhat.com>
3442 * gio/gdesktopappinfo.c:
3443 (update_default_list):
3444 Remove double semicolon.
3445 Patch from Jens Granseuer
3447 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3449 * docs/reference/gio/gio-sections.txt:
3450 * gio/gbufferedinputstream.c:
3451 * gio/gbufferedinputstream.h:
3452 * gio/gdatainputstream.c:
3453 * gio/gfileenumerator.c:
3454 * gio/gioscheduler.c:
3455 * gio/gunionvolumemonitor.c:
3457 * programs/gio-save.c:
3458 Fix typo: availible -> available. Unfortuntely this breaks API
3459 and ABI as g_buffered_input_stream_get_available() was renamed.
3461 * gio/gunixmounts.c:
3462 * gio/gbufferedinputstream.c:
3463 Add guards for public functions.
3465 2007-11-06 Ross Burton <ross@openedhand.com>
3467 * docs/reference/gio/Makefile.am:
3468 Fix invalid += usage which automake 1.10 doesn't like.
3470 2007-11-06 Alexander Larsson <alexl@redhat.com>
3473 (g_app_launch_context_class_init):
3476 Patch from Ross Burton
3478 2007-11-06 Alexander Larsson <alexl@redhat.com>
3481 Post release version bump
3483 === gio-standalone 0.1.1 ===
3485 2007-11-06 Alexander Larsson <alexl@redhat.com>
3488 Bump version to 0.1.1
3490 * gio/gsimpleasyncresult.c:
3491 (g_simple_async_result_set_from_error):
3492 Remove bogus g_return_if_fail
3494 2007-11-06 Alexander Larsson <alexl@redhat.com>
3497 The name is gio-standalone
3500 Add top src/builddir to includedir
3502 2007-11-06 Alexander Larsson <alexl@redhat.com>
3504 * docs/reference/gio/gio-sections.txt:
3506 * gio/gbufferedinputstream.c:
3507 * gio/gbufferedoutputstream.c:
3508 * gio/gcancellable.c:
3509 * gio/gdatainputstream.h:
3510 * gio/gdataoutputstream.c:
3511 * gio/gdataoutputstream.h:
3512 * gio/gdirectorymonitor.c:
3514 * gio/gfileattribute.c:
3515 * gio/gfileattribute.h:
3516 * gio/gfileenumerator.c:
3517 * gio/gfileenumerator.h:
3520 * gio/gfileinputstream.h:
3521 * gio/gfilemonitor.c:
3522 * gio/gfileoutputstream.h:
3523 * gio/glocalfilemonitor.h:
3524 * gio/glocalfileoutputstream.h:
3525 * gio/gmemoryinputstream.c:
3526 * gio/gmemoryoutputstream.c:
3527 * gio/gmountoperation.c:
3528 * gio/goutputstream.c:
3529 * gio/goutputstream.h:
3531 * gio/gsimpleasyncresult.c:
3532 * gio/gunixmounts.c:
3533 * gio/gunixmounts.h:
3535 * gio/inotify/inotify-helper.c:
3536 Fix gtk-doc warnings
3538 Patch from Ross Burton
3540 2007-11-06 Alexander Larsson <alexl@redhat.com>
3542 * gio/gfilenamecompleter.c:
3543 (g_filename_completer_get_completions):
3546 * gio/gunixvolume.c:
3547 Remove unused function
3549 Patches from Ross Burton
3551 2007-11-06 Alexander Larsson <alexl@redhat.com>
3556 Padding not needed for interfaces
3558 2007-11-06 Alexander Larsson <alexl@redhat.com>
3560 * gio/gfilemonitor.c:
3564 Make giotypes.h an internal file
3567 * gio/gbufferedinputstream.h:
3568 * gio/gbufferedoutputstream.h:
3569 * gio/gcancellable.h:
3570 * gio/gdatainputstream.h:
3571 * gio/gdataoutputstream.h:
3572 * gio/gdirectorymonitor.c:
3573 * gio/gdirectorymonitor.h:
3578 * gio/gfileattribute.h:
3579 * gio/gfileenumerator.h:
3584 * gio/gfilemonitor.c:
3585 * gio/gfilemonitor.h:
3586 * gio/gfilenamecompleter.c:
3587 * gio/gfilenamecompleter.h:
3588 * gio/gfilterinputstream.h:
3589 * gio/gfilteroutputstream.h:
3590 * gio/ginputstream.h:
3591 * gio/gmemoryinputstream.h:
3592 * gio/gmemoryoutputstream.h:
3593 * gio/gmountoperation.c:
3594 * gio/gmountoperation.h:
3595 * gio/gnativevolumemonitor.c:
3596 * gio/goutputstream.h:
3599 * gio/gsimpleasyncresult.c:
3600 * gio/gsimpleasyncresult.h:
3601 * gio/gsocketinputstream.h:
3602 * gio/gsocketoutputstream.h:
3603 * gio/gthemedicon.c:
3604 * gio/gthemedicon.h:
3608 * gio/gvolumemonitor.c:
3609 * gio/gvolumemonitor.h:
3610 Add padding in classes where it seems useful
3611 Don't include giotypes.h from public headers
3612 Move in Class definitions into c file where possible
3617 2007-11-06 Alexander Larsson <alexl@redhat.com>
3619 * docs/reference/gio/gio-docs.xml:
3620 Better structure for API docs
3622 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3625 * gio/gloadableicon.c:
3626 * gio/gsimpleasyncresult.c:
3627 * gio/gthemedicon.c:
3628 Add some more guards to public functions. Only files missing are now
3631 2007-11-06 Alexander Larsson <alexl@redhat.com>
3633 * docs/reference/gio/gio-docs.xml:
3634 Remove old files, add missing ones
3636 2007-11-06 Alexander Larsson <alexl@redhat.com>
3638 * docs/reference/gio/gio-sections.txt:
3641 Hide implementation classes
3643 * gio/gdriveprivate.h:
3644 * gio/gvolumeprivate.h:
3645 Remove non-existing function declarations
3647 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3650 Fix compilation warnings and add guards to the new functions.
3652 * gio/gasyncresult.c:
3654 Add guards to the public functions.
3657 Implement get_path().
3659 2007-11-06 Alexander Larsson <alexl@redhat.com>
3661 * gio/gfilenamecompleter.c:
3662 Make g_filename_completer_get_completions
3663 return char ** instead of GList for
3666 * docs/reference/gio/gio-docs.xml:
3667 * docs/reference/gio/gio-sections.txt:
3669 * gio/gasyncresult.c:
3670 * gio/gbufferedinputstream.c:
3671 * gio/gbufferedoutputstream.c:
3672 * gio/gcancellable.c:
3673 * gio/gcontenttype.c:
3674 * gio/gdatainputstream.c:
3675 * gio/gdataoutputstream.c:
3676 * gio/gdesktopappinfo.c:
3677 * gio/gdirectorymonitor.c:
3681 * gio/gfileattribute.c:
3682 * gio/gfileenumerator.c:
3685 * gio/gfileinputstream.c:
3686 * gio/gfilemonitor.c:
3687 * gio/gfilenamecompleter.c:
3688 * gio/gfilenamecompleter.h:
3689 * gio/gfileoutputstream.c:
3690 * gio/gfilterinputstream.c:
3692 * gio/ginputstream.c:
3694 * gio/gioscheduler.c:
3695 * gio/gloadableicon.c:
3696 * gio/glocaldirectorymonitor.c:
3698 * gio/glocalfileinputstream.c:
3699 * gio/glocalfilemonitor.c:
3700 * gio/glocalfileoutputstream.c:
3702 * gio/gmemoryinputstream.c:
3703 * gio/gmemoryoutputstream.c:
3704 * gio/gmountoperation.c:
3705 * gio/goutputstream.c:
3706 * gio/gpollfilemonitor.c:
3708 * gio/gsimpleasyncresult.c:
3709 * gio/gsocketinputstream.c:
3710 * gio/gsocketoutputstream.c:
3711 * gio/gthemedicon.c:
3712 * gio/gunionvolumemonitor.c:
3714 * gio/gunixmounts.c:
3715 * gio/gunixvolume.c:
3716 * gio/gunixvolumemonitor.c:
3720 * gio/gvolumemonitor.c:
3721 * gio/gwin32appinfo.c:
3722 Add (mostly stub) doc strings to public functions.
3723 Patch from Andrew Walton (awalton@gmail.com)
3725 2007-11-06 Alexander Larsson <alexl@redhat.com>
3727 * gio/gappinfo.[ch]:
3728 Added GAppLaunchContext object and pass that to launch.
3729 This allows simple implementation of both
3730 launch-on-screen and startup notification via a gtk+
3731 subclass of GAppLaunchContext
3733 * gio/gdesktopappinfo.c:
3734 Implement GAppLaunchContext API
3736 * gio/gwin32appinfo.c:
3739 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3741 * gio/gmountoperation.c:
3742 Add some guards to GMountOperation's public functions.
3744 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3748 * gio/gcancellable.c:
3749 * gio/gdirectorymonitor.c:
3751 * gio/gfileenumerator.c:
3752 * gio/gfilemonitor.c:,
3753 * gio/gfilenamecompleter.c:
3756 * gio/gioscheduler.c:
3760 * gio/gvolumemonitor.c:
3761 Add even more guards to various public functions.
3763 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3766 Add guards to the public functions of GAppInfo.
3768 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3770 * gio/gcontenttype.c:
3771 Add some more guards for public functions.
3773 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3775 * gio/fam/fam-module.c:
3776 * gio/fam/gfamdirectorymonitor.c:
3777 * gio/fam/gfamdirectorymonitor.h:
3778 * gio/fam/gfamfilemonitor.c:
3779 * gio/fam/gfamfilemonitor.h:
3780 * gio/inotify/ginotifydirectorymonitor.c:
3781 * gio/inotify/ginotifydirectorymonitor.h:
3782 * gio/inotify/ginotifyfilemonitor.c:
3783 * gio/inotify/ginotifyfilemonitor.h:
3784 Add proper copyright information and remove an unused variable
3785 in the GInotifyFileMonitor constructor.
3787 * gio/gcancellable.c:
3788 Add a guard for a public function and an assertion to prevent
3789 an undefined program state.
3791 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gio/gfileattribute.c:
3794 Don't run into an assertion if the given attribute value is NULL
3795 in g_file_attribute_value_get_*() but instead return a fallback
3796 value that makes sense in most situations. Passing them a attribute
3797 value with the wrong type will still run into an assertion.
3799 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3801 * gio/gfileattribute.c:
3803 Add even more guards to the public functions. Also fix the refcounting
3804 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3805 let g_file_info_list_attributes() filter the attributes by namespace
3806 instead of simply ignoring the namespace parameter.
3808 2007-11-03 Sven Herzberg <sven@imendio.com>
3810 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3811 (This makes gio work on MacOS X again)
3813 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3816 Build the gio subdirectory before the docs. Otherwise the build will
3819 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3820 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3821 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3822 Add guards to the public functions.
3824 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3826 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3827 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3828 to prevent a compiler warning.
3830 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3831 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3832 return something in the non-void function find_topdir_for().
3834 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3841 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3843 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3844 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3845 * gwin32appinfo.c (g_win32_app_info_launch):
3846 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3847 envp_for_startup_id, g_desktop_app_info_launch,
3848 g_desktop_app_info_launch_uris):
3850 Give an opaque 'startup_id' string instead of 'envp'.
3851 Support empty file lists for launching new windows.
3852 Fix infinite recursion bug when launching URIs.
3854 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3857 Add guard to the new g_file_get_uri_scheme() function.
3859 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3862 Convert a g_return_val_if_fail() to setting the GError instead as
3863 otherwise applications have to verify the parameter before otherwise
3864 and the parameter might come directly from the user.
3866 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3868 * gio/inotify/ginotify*.[ch]:
3869 Add missing copyright information.
3871 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3874 Add guards in the beginning of public functions to check for valid
3875 parameters and fix a bug in copy_stream_with_progress() that could've
3876 caused writing less bytes than reading.
3877 * gio/glocalfileinfo.c:
3878 Check for a NULL parameter and set the GError accordingly then.
3879 * gio/goutputstream.c:
3880 Fix the same bug as in gfile.c that could've caused writing less bytes
3881 than reading in g_output_stream_real_splice().
3883 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3886 Use the correct gvolumeprivate.h naming
3888 2007-11-01 Christian Kellner <gicmo@gnome.org>
3891 Remove leftover "$(daemon_sources)" entry.
3893 2007-11-01 Christian Kellner <gicmo@gnome.org>
3898 Add copyright information to source files.
3900 2007-11-01 Alexander Larsson <alexl@redhat.com>
3904 Add g_file_get_uri_scheme
3906 2007-11-01 Alexander Larsson <alexl@redhat.com>
3909 * gio/gdesktopappinfo.c:
3910 * gio/gwin32appinfo.c:
3911 Add g_app_info_get_default_for_uri_scheme.
3913 2007-11-01 Alexander Larsson <alexl@redhat.com>
3916 Correct filename for gdriveprivate.h
3918 2007-10-31 Alexander Larsson <alexl@redhat.com>
3921 Rename id:value to id:file
3924 * gio/glocalfileinfo.c:
3927 2007-10-31 Alexander Larsson <alexl@redhat.com>
3929 * gio/gunixvolume.c:
3931 Remove g_volume_get_platform_id, as thats not
3932 needed with the simpler union volume monitor
3934 2007-10-31 Alexander Larsson <alexl@redhat.com>
3937 * gio/guniondrive.[ch]: Removed.
3938 * gio/gunionvolume.[ch]: Removed.
3939 Remove GUnionDrive/Volume
3941 * gio/gunionvolumemonitor.c:
3942 Simplify union volume monitor, now we
3943 only have one native volume monitor and
3944 we use the actual volumes/drives from the
3945 child monitors instead of wrapping them
3947 * gio/gnativevolumemonitor.[ch]:
3948 Base class for native volume monitors.
3949 Includes priority and get_volume_for_mountpoint
3952 Add g_file_find_enclosing_volume
3955 Remove volume name fs attribute
3956 Add readonly fs attribute
3959 Implement readonly attribute
3960 remove volume name attribute
3961 Implement find_enclosing volume
3963 * gio/gunixmounts.c:
3964 Add a volume for "/".
3966 * gio/gunixvolume.[ch]:
3967 Set better name for /
3969 * gio/gunixvolumemonitor.[ch]:
3970 Derive from GNativeVolumeMonitor
3971 Implement get_volume_for_mountpoint
3974 GVolume typedef moved to gfile.h
3976 * gio/gvolumeprivate.h:
3977 Add g_volume_get_for_mount_path
3979 2007-10-31 Alexander Larsson <alexl@redhat.com>
3981 * gio/gunixmounts.[ch]:
3982 Add cache info to unix mount listers
3983 Make getmntent use threadsafe
3984 Add is_system_internal attribute for GUnixMount
3986 * gio/gunixvolume.c:
3987 (g_unix_volume_new):
3988 Use is_system_internal instead of own code
3990 * gio/glocaldirectorymonitor.c:
3991 * gio/gunixvolumemonitor.c:
3992 Update to new gunixmounts API
3997 2007-10-30 Alexander Larsson <alexl@redhat.com>
4000 Add volume name fsinfo attribute
4003 Read volume name info
4005 * gio/gunionvolumemonitor.c:
4006 Fix infinite loops when finalizing a union volume monitor
4008 2007-10-30 Alexander Larsson <alexl@redhat.com>
4010 * gio/goutputstream.[ch]:
4011 Add splice() with default implementation
4013 * gio/gsocketoutputstream.c:
4014 (g_socket_output_stream_write):
4015 Return error on cancellation correctly.
4017 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4019 * gio/glocalfile.c (g_local_file_trash):
4020 Do not leak a string.
4022 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4024 * gio/gfile.c (g_file_load_contents):
4025 Unref the stream after closing it.
4027 2007-10-25 Alexander Larsson <alexl@redhat.com>
4029 * gio/gioscheduler.h:
4032 2007-10-25 Alexander Larsson <alexl@redhat.com>
4036 Add g_file_has_uri_scheme and implement for local files
4038 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4040 * gio/gdesktopappinfo.c: do not leak a string.
4042 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4044 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4045 (g_local_directory_monitor_new):
4046 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4047 (g_local_file_monitor_new):
4048 Only look for the monitor type that should be used the first time
4049 and use g_qsort_with_data() instead of our own bubble sort
4052 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4055 * gio/fam/Makefile.am:
4056 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4057 * gio/fam/fam-helper.h:
4058 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4059 * gio/fam/gfamdirectorymonitor.c:
4060 * gio/fam/gfamdirectorymonitor.h:
4061 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4062 * gio/fam/gfamfilemonitor.h:
4063 * gio/glocaldirectorymonitor.c:
4064 * gio/glocaldirectorymonitor.h:
4065 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4066 * gio/glocalfilemonitor.h:
4067 * gio/inotify/Makefile.am:
4068 * gio/inotify/ginotifydirectorymonitor.c:
4069 * gio/inotify/ginotifydirectorymonitor.h:
4070 * gio/inotify/ginotifyfilemonitor.c:
4071 * gio/inotify/ginotifyfilemonitor.h:
4072 Implement the FAM and Inotify monitors as
4073 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4074 their own GIO module. GLocal(Directory|File)Monitor will use the
4075 monitor with the highest rank that is supported on that machine.
4077 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4080 Change GIO module dir to $(libdir)/gio/modules and change
4081 the log domain from GVFS to GIO. Also only export symbols starting
4082 with g_ in the resulting library.
4083 * gio/test-streams.c: (main):
4084 Set log handler for the GIO log domain.
4086 2007-10-22 Alexander Larsson <alexl@redhat.com>
4088 * gio/gfilenamecompleter.[ch]:
4089 Add g_filename_completer_set_dirs_only
4091 2007-10-22 Alexander Larsson <alexl@redhat.com>
4094 * gio/gurifuncs.[ch]:
4095 Add some simple URI helpers
4097 * gio/gfilenamecompleter.[ch]:
4098 Added object for filename (parse name actually) completion
4101 Handle ~ in parse names
4103 2007-10-17 Alexander Larsson <alexl@redhat.com>
4106 * gio/glocalfileinfo.c:
4107 Add and implement id:value attribute
4109 2007-10-17 Alexander Larsson <alexl@redhat.com>
4112 * gio/guniondrive.c:
4114 Add and implement g_drive_has_volumes
4116 2007-10-17 Alexander Larsson <alexl@redhat.com>
4119 * gio/glocalfileinfo.[ch]:
4120 Add unix:is_mountpoint and implement for local files
4122 2007-10-16 Alexander Larsson <alexl@redhat.com>
4124 * gio/gunionvolumemonitor.c:
4125 (g_union_volume_monitor_init):
4126 Fix up the unix type getting so that it works with gcc
4128 2007-10-12 Alexander Larsson <alexl@redhat.com>
4131 * gio/glocalfileinfo.c:
4132 Add thumbnail:failed to file info
4134 2007-10-12 Richard Hult <richard@imendio.com>
4136 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4137 optimizing away the get_type call (happens with some gcc versions,
4138 like the one shipped with OS X 10.4).
4140 2007-10-12 Alexander Larsson <alexl@redhat.com>
4142 * gio/glocalfileinfo.c:
4143 (_g_local_file_info_set_attribute):
4144 Fix build if not HAVE_XATTR
4145 Patch from Milosz Derezynski <internalerror@gmail.com>
4147 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4149 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4150 around for review, otherwise I would have asked you before
4153 2007-10-11 Alexander Larsson <alexl@redhat.com>
4156 Add thumbnail:path attribute
4158 * gio/glocalfileinfo.c:
4159 Implement thumbnail:path for local files
4161 2007-10-11 Alexander Larsson <alexl@redhat.com>
4163 * gio/glocalfileinfo.c:
4164 (_g_local_file_info_get):
4165 Avoid duplicate icon names
4167 2007-10-11 Alexander Larsson <alexl@redhat.com>
4169 * gio/gthemedicon.[ch]:
4170 Change g_themed_icon_get_names return type to const
4172 2007-10-10 Alexander Larsson <alexl@redhat.com>
4174 * gio/glocalfileinfo.c:
4175 Don't reference freed memory
4177 2007-10-10 Alexander Larsson <alexl@redhat.com>
4179 * gio/gfileattribute.c:
4182 * gio/glocalfileinfo.c:
4185 2007-10-10 Alexander Larsson <alexl@redhat.com>
4188 Check for NULL icons
4190 * gio/gfileattribute.c:
4191 Don't dup when getting objects (same as for string attributes)
4193 * gio/gicon.c (g_icon_equal):
4194 Safely handle NULLs in equal
4196 2007-10-10 Alexander Larsson <alexl@redhat.com>
4199 Fix c++ compilation issues
4200 Patch from Milosz Derezynski <internalerror@gmail.com>
4202 2007-10-10 Alexander Larsson <alexl@redhat.com>
4204 * programs/gio-monitor-dir.c:
4205 Don't crash if dir monitor not supported.
4207 2007-10-09 Alexander Larsson <alexl@redhat.com>
4210 Add missing G_END_DECLS
4212 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4214 * gio/gfile.c: (g_file_set_display_name),
4215 (g_file_query_settable_attributes),
4216 (g_file_query_writable_namespaces):
4217 Return NULL not FALSE on errors as the return type is a pointer.
4219 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4221 * gio/glocalfile.c: (g_local_file_monitor_file):
4222 Don't call monitor_file on the default interface vtable (which
4223 is NULL) but simply return NULL. The caller, GFile, will create a
4224 polling monitor if NULL is returned.
4226 2007-10-09 Alexander Larsson <alexl@redhat.com>
4230 * gio-unix-2.0.pc.in:
4231 Add gio-unix-2.0.pc if OS_UNIX
4234 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4236 2007-10-09 Alexander Larsson <alexl@redhat.com>
4238 * gio/gunixmounts.[ch]:
4239 Make unix mount monitoring API sane.
4240 Now its just a object with mounts_changed
4241 and mountpoints_changed signals.
4243 * gio/glocaldirectorymonitor.c:
4244 * gio/gunixvolumemonitor.c:
4245 Use new mount monitor api
4247 2007-10-09 Alexander Larsson <alexl@redhat.com>
4249 * gio/gunixmounts.[ch]:
4250 Move guess type into one call for mounts and one for mountpoints
4253 * gio/gunixvolume.c:
4256 2007-10-09 Alexander Larsson <alexl@redhat.com>
4258 * gio/gunixmounts.[ch]:
4259 Remove _ prefix in preparation to make this semi-public
4260 Hide implementation of structs
4262 * gio/glocaldirectorymonitor.c:
4264 * gio/gunixvolume.c:
4265 * gio/gunixvolumemonitor.c:
4266 Update for above API changes
4268 2007-10-08 Alexander Larsson <alexl@redhat.com>
4271 Better polling fallback. This also handles the case where we have
4272 a monitor_file implementation, but it fails.
4274 2007-10-08 Alexander Larsson <alexl@redhat.com>
4278 * gio/gunixmounts.c:
4279 * programs/gio-monitor-dir.c:
4280 * programs/gio-monitor-file.c:
4281 Added cancellable to file monitoring calls.
4282 These are really sync calls and need this.
4284 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4286 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4287 (g_local_vfs_class_init):
4288 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4289 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4291 2007-10-05 Alexander Larsson <alexl@redhat.com>
4293 * gio/gdirectorymonitorprivate.h:
4294 * gio/gfilemonitorprivate.h:
4295 * gio/gdirectorymonitor.h:
4296 * gio/gfilemonitor.h:
4297 Remove *private.h and move to the public API, so that
4298 we can do implementations outside gio (such as in gvfs)
4300 * gio/gdirectorymonitor.c:
4301 * gio/gfilemonitor.c:
4302 * gio/glocaldirectorymonitor.c:
4303 * gio/gpollfilemonitor.c:
4304 * gio/inotify/inotify-helper.c:
4305 * gio/fam/fam-helper.c:
4306 Update to the new header names
4308 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4310 * gio/gdirectorymonitor.c:
4311 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4314 2007-10-04 Alexander Larsson <alexl@redhat.com>
4316 * gio/glocalfileinfo.c (get_access_rights):
4317 Set CAN_TRASH when we can move the file.
4318 We should really also check for a parent trash dir.
4320 2007-10-04 Alexander Larsson <alexl@redhat.com>
4322 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4323 Add can_trash access attribute
4325 2007-10-04 Alexander Larsson <alexl@redhat.com>
4328 (g_local_file_trash):
4329 Create info file first. This is per-spec and allows
4330 us to actually trash directories.
4332 2007-10-02 Alexander Larsson <alexl@redhat.com>
4334 * gio/gdesktopappinfo.c:
4335 Implement the new mime support code.
4336 Always set app as handling mimetype when being set as default for it
4338 2007-10-01 Alexander Larsson <alexl@redhat.com>
4340 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4341 Fix up check for xattrs:
4343 2007-10-01 Alexander Larsson <alexl@redhat.com>
4346 (g_app_info_set_as_default_for_extension):
4347 (g_app_info_add_supports_type):
4348 (g_app_info_can_remove_supports_type):
4349 (g_app_info_remove_supports_type):
4350 Make these fail nicely if not implemented
4352 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4354 * gio/glocalfileoutputstream.c:
4355 * gio/glocalfileoutputstream.h:
4360 * programs/gio-save.c:
4361 Add a GFileCreateFlags argument to operations that can create
4364 2007-10-01 Alexander Larsson <alexl@redhat.com>
4366 * gio/gappinfo.[ch]:
4367 * gio/gdesktopappinfo.c:
4368 Add more (stubbed out) mime API needed for nautilus
4370 2007-10-01 Alexander Larsson <alexl@redhat.com>
4373 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4374 Add g_app_info_set_as_default_for_extension.
4376 * gio/gdesktopappinfo.c:
4377 Dummy for g_app_info_set_as_default_for_extension
4378 Support flags in g_app_info_create_from_commandline
4380 * gio/gwin32appinfo.c:
4382 Update for API changes
4384 * gio/gthemedicon.c:
4385 Properly NULL-terminate list of icon names
4387 2007-09-28 Alexander Larsson <alexl@redhat.com>
4389 * gio/gloadableicon.h:
4390 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4392 2007-09-28 Alexander Larsson <alexl@redhat.com>
4395 Install headers in $includedir/gio-standalone/
4397 * gio-2.0.pc.in: Added.
4398 * gio-standalone.pc.in: Removed.
4401 Renamed pkg-config file to match glib (for future move)
4402 Update to the new include dir
4405 Add more TODO comments
4407 2007-09-28 Alexander Larsson <alexl@redhat.com>
4409 * gio/gdesktopappinfo.[ch]:
4410 Expose new_from_filename
4411 Add getter for is_hidden and handle it better
4413 2007-09-28 Alexander Larsson <alexl@redhat.com>
4415 * gio/gfileinfo.[ch]:
4416 Rename g_file_size_format_for_display to
4417 g_format_file_size_for_display.
4418 Now it doesn't have the g_file prefix, so we
4419 can later move it to glib.
4421 2007-09-28 Alexander Larsson <alexl@redhat.com>
4423 * gio/gappinfo.[ch]:
4424 Add g_app_info_get_id and g_app_info_get_executable.
4425 Make all getters non-reffing
4426 Make g_app_info_launch take GFile arguments.
4427 Add must_support_uris argument to g_app_info_get_default_for_type.
4429 * gio/gwin32appinfo.c:
4430 Update to GAppInfo api changes
4432 * gio/gdesktopappinfo.c:
4433 Update to GAppInfo api changes
4434 Implement supports_xdg_startup_notify
4436 * gio/gfileicon.c (g_file_icon_get_file):
4437 Make getter non-reffing.
4442 2007-09-27 Alexander Larsson <alexl@redhat.com>
4444 * gio/gfileinfo.[ch]:
4445 Add g_file_size_format_for_display helper
4447 2007-09-27 Alexander Larsson <alexl@redhat.com>
4449 * gio/glocalfileinfo.c:
4450 Set UNIX_GID from gid, not from uid
4452 2007-09-27 Alexander Larsson <alexl@redhat.com>
4455 Add g_file_set_attributes_async
4457 2007-09-27 Alexander Larsson <alexl@redhat.com>
4459 * gio/glocalfile.c (g_local_file_set_display_name):
4460 Fix set_display_name to actually rename to the right place.
4461 Use lstat to look for existing files so we don't overwrite
4464 2007-09-26 Alexander Larsson <alexl@redhat.com>
4467 Add g_file_set_display_name_async()
4469 2007-09-26 Alexander Larsson <alexl@redhat.com>
4472 Add load_partial_contents async calls
4475 Make internal function static
4477 2007-09-26 Alexander Larsson <alexl@redhat.com>
4479 * gio/glocalfileinfo.c:
4480 Correctly detect broken symlinks
4482 2007-09-26 Alexander Larsson <alexl@redhat.com>
4484 * gio/gcancellable.c (g_cancellable_cancel):
4485 Allow cancel on NULL cancellable
4487 2007-09-25 Alexander Larsson <alexl@redhat.com>
4489 * gio/gsimpleasyncresult.c:
4490 Don't allocate g_error manually.
4491 Fixes g_slice/g_new mixup crash
4493 2007-09-25 Alexander Larsson <alexl@redhat.com>
4495 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4496 Actually set active_backend.
4497 This means the monitor will be cancelled correctly.
4499 2007-09-25 Alexander Larsson <alexl@redhat.com>
4501 * gio/gdirectorymonitor.c:
4502 Set timeout to NULL when destroying
4504 2007-09-25 Alexander Larsson <alexl@redhat.com>
4507 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4508 that is a better description of the error.
4510 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4512 * gio/gvfs.c: (g_vfs_get_local):
4513 Make the local vfs variable static. The same instance should
4516 2007-09-24 Alexander Larsson <alexl@redhat.com>
4518 * gio/glocalfileinfo.c:
4519 Pass in actual length read into sniffer, not the length
4522 2007-09-21 Alexander Larsson <alexl@redhat.com>
4524 * gio/gfileenumerator.c:
4527 * gio/gfileinputstream.c:
4528 * gio/gfileoutputstream.c:
4529 * gio/ginputstream.c:
4530 * gio/goutputstream.c:
4531 Don't crash if async callbacks are NULL
4533 2007-09-20 Alexander Larsson <alexl@redhat.com>
4536 Add async enumerate_children method and default
4539 2007-09-20 Alexander Larsson <alexl@redhat.com>
4542 Add g_file_contains_file & g_file_get_relative_path, since they
4543 were needed for nautilus.
4544 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4549 Implement new methods
4551 2007-09-17 Alexander Larsson <alexl@redhat.com>
4554 * gio/gfileinputstream.[ch]:
4555 * gio/gfileoutputstream.[ch]:
4557 * gio/glocalfileenumerator.[ch]:
4558 * gio/glocalfileinfo.[ch]:
4559 * gio/glocalfileinputstream.c:
4560 * gio/glocalfileoutputstream.c:
4561 * gio/gpollfilemonitor.c:
4562 * programs/gio-copy.c:
4563 * programs/gio-info.c:
4564 * programs/gio-move.c:
4565 Rename get_file_info to query_info() to make it clearer
4566 that these are not simple getters, but do i/o.
4568 2007-09-17 Alexander Larsson <alexl@redhat.com>
4570 * gio/gdatainputstream.[ch]:
4571 * gio/test-streams.c:
4572 Use _read_XXX instead of _get_XXX for the i/o calls
4575 2007-09-17 Alexander Larsson <alexl@redhat.com>
4578 Added needed stuff to TODO comment
4580 2007-09-17 Alexander Larsson <alexl@redhat.com>
4582 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4583 Don't error out removing the backup copy if it doesn't
4586 2007-09-14 Alexander Larsson <alexl@redhat.com>
4588 * programs/Makefile.am:
4589 * programs/gvfs-*.c:
4591 Renamed apps from gvfs-xxx to gio-xxx.
4593 2007-09-14 Alexander Larsson <alexl@redhat.com>
4596 * gio/gfileoutputstream.[ch]:
4597 * gio/glocalfileoutputstream.c:
4598 * programs/gvfs-save.c:
4599 g_file_output_stream_get_etag doesn't do i/o, so remove
4600 cancellation and error.
4602 2007-09-14 Alexander Larsson <alexl@redhat.com>
4605 Add new_etag output to replace_contents functions
4607 2007-09-14 Alexander Larsson <alexl@redhat.com>
4609 * gio/gfileoutputstream.[ch]:
4610 Add async get_file_info and default implementation
4612 2007-09-14 Alexander Larsson <alexl@redhat.com>
4614 * gio/gfileinputstream.c:
4615 Implement fallback wrapper for async get_file_info
4617 2007-09-14 Alexander Larsson <alexl@redhat.com>
4620 Add etag out argument to load_contents
4625 2007-09-14 Alexander Larsson <alexl@redhat.com>
4627 * gio/gcontenttype.c (looks_like_text):
4628 Whitespace like tab, cr and lf do not make the
4631 2007-09-14 Alexander Larsson <alexl@redhat.com>
4633 * gio/gfileinputstream.[ch]:
4634 Add async get_file_info.
4636 2007-09-13 Alexander Larsson <alexl@redhat.com>
4638 * gio/goutputstream.c (g_output_stream_write_all):
4639 Allow NULL for bytes_written
4641 2007-09-13 Alexander Larsson <alexl@redhat.com>
4643 * gio/gmemoryinputstream.[ch]:
4644 Add accessors for data
4646 2007-09-13 Alexander Larsson <alexl@redhat.com>
4648 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4649 Don't crash if length is NULL