1 2008-07-20 Matthias Clasen <mclasen@redhat.com>
8 * gmount.c: Documentation fixes
10 2008-07-19 Matthias Clasen <mclasen@redhat.com>
12 543504 – crash in Epiphany Web Browser: Opening local file
23 * gvolume.c: Register types thread-safely.
24 Patch by Christian Persch
26 2008-07-18 Matthias Clasen <mclasen@redhat.com>
28 * gcontenttype.c: Remove debug spew
30 2008-07-18 Matthias Clasen <mclasen@redhat.com>
32 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
35 * fen/fen-kernel.c: Remove a warning that was causing
36 crashes. Reported by Lin Ma.
38 2008-07-18 Matthias Clasen <mclasen@redhat.com>
40 Bug 543040 – async reading on dummy file will crash on
43 * gfile.c (open_read_async_thread): Cope with read_fn being
44 NULL. Reported by Lin Ma.
46 2008-07-18 Matthias Clasen <mclasen@redhat.com>
49 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
51 2008-07-16 Matthias Clasen <mclasen@redhat.com>
55 * giomodule.c: Rename a chapter id to avoid filename conflict.
57 2008-07-16 Matthias Clasen <mclasen@redhat.com>
59 Bug 540616 – mem leak in filechooser button
61 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
62 the mount entry. Reported by Chrisitan Persch
64 2008-07-16 Matthias Clasen <mclasen@redhat.com>
66 * gfile.c: Small documentation fixes.
68 2008-07-15 Matthias Clasen <mclasen@redhat.com>
70 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
72 2008-07-08 Matthias Clasen <mclasen@redhat.com>
77 * gmount.c: Documentation improvements.
79 2008-07-08 Matthias Clasen <mclasen@redhat.com>
82 * gmount.[hc]: Add g_mount_guess_content_type().
84 2008-07-06 David Zeuthen <davidz@redhat.com>
87 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
88 is needed for easily handling adoption of foreign volumes by
89 out-of-process volume monitors (#541793)
91 2008-07-06 David Zeuthen <davidz@redhat.com>
93 * gvolumemonitor.[ch]:
94 * gunionvolumemonitor.c: Export the eject-button signal on the
95 volume monitor class (#541794).
97 2008-07-06 Matthias Clasen <mclasen@redhat.com>
99 * gappinfo.c: More doc tweaks
101 2008-07-05 Matthias Clasen <mclasen@redhat.com>
103 * gappinfo.c: Clarify some docs
105 2008-07-03 Matthias Clasen <mclasen@redhat.com>
107 * gdesktopappinfo.c: Fix a stupid mistake.
109 2008-07-02 Matthias Clasen <mclasen@redhat.com>
111 * === Released 2.17.3 ===
113 2008-07-02 Matthias Clasen <mclasen@redhat.com>
115 * gfilemonitor.c: Fix the build.
117 2008-07-02 Matthias Clasen <mclasen@redhat.com>
119 Bug 536160 – Add g_file_monitor()
122 * gfile.[hc]: Add g_file_monitor which can return either
123 a file or a directory monitor. Proposed by Behdad Esfahbod
125 2008-07-02 Matthias Clasen <mclasen@redhat.com>
127 536733 – gio build failure on Irix
129 * glocalfile.c: Use a configure check for structfs.f_bavail.
131 2008-07-02 Matthias Clasen <mclasen@redhat.com>
133 Bug 534639 – add g_desktop_app_info_new_from_keyfile
136 * gdesktopappinfo.[hc]: Add a function to create a
137 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
139 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
141 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
143 2008-07-01 Matthias Clasen <mclasen@redhat.com>
145 * gunixmounts.c: Fix a doc typo.
147 2008-07-01 Cody Russell <bratsche@gnome.org>
149 * gio/gcontenttype.c:
150 * gio/gwin32appinfo.c:
151 * gio/gwin32volumemonitor.c:
152 * gio/gwin32mount.c: Fixed some include problems.
154 2008-07-01 Cody Russell <bratsche@gnome.org>
158 Moved all relevant typedefs into these files.
161 Updated wrt added files.
163 Split types into separate file for easier maintainership. (#538564)
165 2008-06-30 Matthias Clasen <mclasen@redhat.com>
167 Bug 540331 – g_file_append_to () documentation: can return NULL
169 * gfile.c (g_file_append_to): Clarify docs.
172 2008-06-30 Matthias Clasen <mclasen@redhat.com>
174 Bug 539090 – g_content_type_from_mime_type() should unalias
176 * gcontentype.c (g_content_type_from_mime_type): Unalias.
177 Patch by Markus Bergman
179 2008-06-30 Matthias Clasen <mclasen@redhat.com>
181 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
184 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
185 on ppc and alpha. Reported by Mart Raudsepp
187 2008-06-29 Matthias Clasen <mclasen@redhat.com>
190 * tests/memory-output-stream.c: Add some tests for
193 2008-06-29 Matthias Clasen <mclasen@redhat.com>
195 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
198 * gmemoryoutputstream.c (array_resize): Handle truncation to
199 zero correctly. Reported by Akira Tagoh
201 2008-06-29 Matthias Clasen <mclasen@redhat.com>
203 * gmemoryoutputstream.c: Trivial doc fixes
205 2008-06-29 Matthias Clasen <mclasen@redhat.com>
207 Bug 540802 – g_list_prepend doesn't concat lists
209 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
210 one list to another. Pointed out by Jan Arne Petersen
212 2008-06-28 Michael Natterer <mitch@imendio.com>
214 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
216 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
218 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
219 to avoid problems with partial icon themes.
221 2008-06-17 Hans Breuer <hans@breuer.org>
223 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
224 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
225 access again on win32, see bug #538127
226 * giomodule.c : ensure GWin32VolumeMonitor is registered
227 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
228 * Makefile.am makefile.msc : updated
230 2008-06-16 Hans Breuer <hans@breuer.org>
232 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
233 and initialization in one step avoids c99ism
235 2008-06-16 Christian Persch <chpe@gnome.org>
238 * gio/gbufferedinputstream.c
240 * gio/gdatainputstream.c
241 * gio/gdesktopappinfo.c
243 * gio/gfileenumerator.c
244 * gio/gfileinputstream.c
245 * gio/gfileoutputstream.c
247 * gio/glocaldirectorymonitor.c
249 * gio/glocalfileenumerator.c
250 * gio/glocalfileinfo.c
251 * gio/glocalfilemonitor.c
252 * gio/glocalfileoutputstream.c
253 * gio/gmemoryinputstream.c
254 * gio/gmemoryoutputstream.c
255 * gio/goutputstream.c
256 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
259 2008-06-16 Tor Lillqvist <tml@novell.com>
261 Bug 538362 - Get Win32 icons back in the file chooser
263 * gcontenttype.c (g_content_type_get_icon): Look up the icon
264 corresponding to a file extension in the Registry. Patch by Hans
266 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
268 2008-06-16 Tor Lillqvist <tml@novell.com>
270 Patches by Hans Breuer:
272 * glocalfile.c (is_xp_or_later): Handle compiling against older
273 SDK headers with missing VerifyVersionInfo(). Conditioned on
274 _MSC_VER, but should probably use some better test.
275 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
276 uninitialised statfs_result variable on Win32.
278 2008-06-16 Michael Natterer <mitch@imendio.com>
280 * *.c: chain up unconditionally in finalize() and dispose(). Also
281 don't dereference these function pointers when calling them since
282 that has no meaning at all.
284 2008-06-16 Ross Burton <ross@burtonini.com>
287 Remove check for dispose implementation as it annoys Emmanuele.
289 2008-06-16 Ross Burton <ross@burtonini.com>
291 Bug 536252 – GFileEnumerator should allow access to the containing
297 Add g_file_enumerator_get_container() and a container writeable
298 construct-only property. Also shuffle around typedefs to make it
301 * glocalfileenumerator.c:
302 * glocalfileenumerator.h:
304 Instead of a string filename take a GFile in the constructor and
305 use it to set the container property.
310 2008-06-16 Matthias Clasen <mclasen@redhat.com>
312 * gfile.c: Make includes more uniform
314 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
316 * tests/live-g-file.c (sample_struct):
317 Use less fancy unicode filenames, so the test doesn't fail
318 on Mac OS X (#531476).
320 2008-06-12 Matthias Clasen <mclasen@redhat.com>
322 * === Released 2.17.2 ===
324 2008-06-12 Matthias Clasen <mclasen@redhat.com>
326 * === Released 2.17.1 ===
328 2008-06-11 A. Walton <awalton@gnome.org>
330 * tests/g-file.c (test_g_file_new_null):
331 Fix broken test case.
333 2008-06-11 Matthias Clasen <mclasen@redhat.com>
335 * pltcheck.sh: We use g_clear_error now.
337 2008-06-11 Matthias Clasen <mclasen@redhat.com>
339 * glocalfile.c (g_local_file_enumerate_children): Revert
340 an unintended change.
342 2008-06-11 Matthias Clasen <mclasen@redhat.com>
344 * gfile.c (g_file_replace_contents): Don't unref before the last use.
346 2008-06-10 Matthias Clasen <mclasen@redhat.com>
348 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
351 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
352 as icon for the desktop directory, also make user-home and
353 user-desktop the preferred icons.
355 2008-06-10 Matthias Clasen <mclasen@redhat.com>
358 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
359 to add a name to the front of the list.
361 2008-06-10 Matthias Clasen <mclasen@redhat.com>
363 Bug 537392 – Additional colon in xattr name
365 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
366 too. Reported by Alessandro Morandi
368 2008-06-10 Matthias Clasen <mclasen@redhat.com>
370 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
373 * glocalfile.c (get_fs_type): Add afs and autofs.
374 Patch by Danny Baumann.
376 2008-06-10 Matthias Clasen <mclasen@redhat.com>
378 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
380 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
381 is no parent. (Owen Taylor, patch by Christian Neumair)
383 2008-06-10 Paolo Borelli <pborelli@katamail.com>
385 * gfile.c (g_file_replace_contents): do not leak the output stream.
387 2008-06-10 Michael Natterer <mitch@imendio.com>
389 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
390 uninitialized memory as array index.
392 2008-06-10 Tor Lillqvist <tml@novell.com>
394 * gcontenttype.c (g_content_type_can_be_executable)
395 (g_content_type_get_icon) [Win32]: Add TODO comments.
397 2008-06-09 Matthias Clasen <mclasen@redhat.com>
399 * xdgmime/Makefile.am: Fix the build
401 2008-06-09 Matthias Clasen <mclasen@redhat.com>
403 * gcontenttype.c (g_content_type_get_icon): Use icons specified
404 in the shared mime database, if available.
406 * xdgmime/*: Sync with upstream. This brings support for
407 glob weights, generic icons, and changes the cache format to
410 2008-05-28 Michael Natterer <mitch@imendio.com>
412 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
413 the global CPPFLAGS now.
415 * tests/data-input-stream.c
416 * tests/data-output-stream.c
417 * tests/g-file-info.c
419 * tests/live-g-file.c
420 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
422 2008-05-27 Matthias Clasen <mclasen@redhat.com>
424 * === Released 2.17.0 ===
426 * tests/live-g-file.c: Clean up after the tests, so make distcheck
427 doesn't complain about leftover files.
429 2008-05-27 simon.zheng <simon.zheng@sun.com>
431 * glocalfile.c: (g_local_file_query_filesystem_info):
432 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
434 2008-05-26 Michael Natterer <mitch@imendio.com>
436 * gmemoryoutputstream.h: declare
437 g_memory_output_stream_get_data_size().
439 2008-05-26 Matthias Clasen <mclasen@redhat.com>
441 * tests/*: Make tests work
443 2008-05-26 Matthias Clasen <mclasen@redhat.com>
445 * gio.symbols: Add g_memory_output_stream_get_data_size.
447 2008-05-25 Ross Burton <ross@burtonini.com>
450 Fix typo in error message (#534764).
452 2008-05-25 Ross Burton <ross@burtonini.com>
455 Fix circular dependency loop for gioenumtypes.h (#534759).
457 2008-05-19 Hans Breuer <hans@breuer.org>
459 * Makefile.am : EXTRA_DIST += makefile.msc
461 2008-05-17 Matthias Clasen <mclasen@redhat.com>
464 * gcontenttype.c: (g_content_type_from_mime_type):
465 New function to create a content type from a mime type. (#527175,
468 2008-05-17 Matthias Clasen <mclasen@redhat.com>
470 Bug 532965 – Should not return filesystem::free for certain file systems
472 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
473 free space for ncpfs.
475 2008-05-17 Matthias Clasen <mclasen@redhat.com>
477 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
479 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
480 st_dev might be zero.
482 2008-05-16 Tor Lillqvist <tml@novell.com>
484 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
485 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
487 2008-05-13 Bastien Nocera <hadess@hadess.net>
489 * gfile.c (has_valid_scheme): A URI scheme must start with a
490 letter, even if later more characters are allowed (#532852)
492 2008-05-05 Michael Natterer <mitch@imendio.com>
494 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
495 code from being checked in that breaks the build of applications
496 which use G_DISABLE_SINGLE_INCLUDES.
498 * makegioalias.pl: make the alias file include "glib.h" instead of
501 * gio.symbols: whitespace change to force regeneration of the
502 alias file after above script change.
504 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
506 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
508 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
510 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
512 2008-04-28 David Zeuthen <davidz@redhat.com>
514 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
515 displaying mounts in a subdirectory not accessible to the
518 2008-04-22 Michael Natterer <mitch@imendio.com>
520 * Makefile.am: fix library versioning (it was 0.0.0).
522 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
524 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
525 Default disable all loggings.
526 * fen/fen-kernel.c: (printevent), (port_add_kevent),
527 (port_fetch_event_cb): Fixed two macro nits.
529 2008-04-16 Matthias Clasen <mclasen@redhat.com>
531 * xdgmime/xdgmime.c: Rework the timestamp checking code
532 to protect against duplicate directories in XDG_DATA_DIRS.
533 Fixes fd.o bug 12513, reported by Joe Shaw.
535 2008-04-16 Matthias Clasen <mclasen@redhat.com>
537 Partically revert the last commit after realizing that
538 xdg_mime_media_type_equal doesn't have to init at all.
541 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
543 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
545 2008-04-16 Matthias Clasen <mclasen@redhat.com>
547 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
548 reported by Joe Shaw and Federico Mena Quintero.
550 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
551 (xdg_mime_media_type_equal): Turn into a wrapper around the
554 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
555 functions throughout.
557 2008-04-16 Michael Meeks <michael.meeks@novell.com>
559 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
560 tolerate an empty TryExec= line without failing; nautilus used
561 to create launchers with these in previous versions. Fixes #528433
563 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
565 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
566 after name. Fixes #527132.
568 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
570 * gfile.c: (g_file_replace):
573 2008-04-07 Matthias Clasen <mclasen@redhat.com>
575 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
577 * gfile.c (file_copy_fallback): Fix the argument order. Patch
578 by Christian Kellner.
580 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
582 * gunixmounts.c: (g_unix_mount_guess_should_display):
583 Don't list the user directory as a mount, fix potential issue
584 when other users have a similar naming and don't special case the
585 gvfs mounts there since that's not required (#525866)
587 2008-03-31 Alexander Larsson <alexl@redhat.com>
589 * glocalfile.c (get_parent):
592 2008-03-31 A. Walton <awalton@svn.gnome.org>
594 * gfile.c (g_file_query_file_type):
595 Always return a GFileType enum value (#520715).
597 2008-03-31 Alexander Larsson <alexl@redhat.com>
599 * glocalfileenumerator.c:
600 Read readdir() info in chunks (of 1000) and sort
601 the chunks by inode before stat:ing.
602 This is a 20% performance increase in testing
603 gvfs-ls on /usr/bin with cold cache.
605 2008-03-31 Alexander Larsson <alexl@redhat.com>
607 * gmemoryoutputstream.c:
608 Clarify docs for g_memory_output_stream_get_size.
609 Add g_memory_output_stream_get_data_size.
611 2008-03-30 Matthias Clasen <mclasen@redhat.com>
615 * gfile.h: Add g_file_query_file_type convenience function
616 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
618 2008-03-30 Matthias Clasen <mclasen@redhat.com>
621 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
623 2008-03-28 A. Walton <awalton@svn.gnome.org>
625 * giomodule.c (_g_io_modules_ensure_loaded):
626 Adds GIO_EXTRA_MODULES environment variable support, closing bug
629 2008-03-28 Alexander Larsson <alexl@redhat.com>
632 (copy_stream_with_progress):
635 2008-03-28 Alexander Larsson <alexl@redhat.com>
638 (copy_stream_with_progress):
639 (file_copy_fallback):
640 Fallback to g_file_query_info for source size
641 if g_file_input_stream_query_info fails. (#524579)
643 2008-03-28 Alexander Larsson <alexl@redhat.com>
645 * glocalfile.c (g_local_file_move):
646 Reuse old string instead of adding new one.
648 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
650 * fen/*.[hc]: still copyright issue. I hate copyright.
652 2008-03-27 Alexander Larsson <alexl@redhat.com>
654 * glocalfile.c (g_local_file_move):
655 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
656 file over directory. This is according to the docs and what the move via
657 copy+remove fallback does.
659 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
661 * fen/*.[hc]: Updated copyright.
663 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
665 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
667 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
669 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
670 not emit attribute changed events when optimizing changed events.
671 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
674 2008-03-19 Matthias Clasen <mclasen@redhat.com>
676 * gmountoperation.[hc]: Small documentation additions
678 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
680 * gunixmounts.c: (guess_mount_type):
681 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
683 2008-03-19 Alexander Larsson <alexl@redhat.com>
686 (copy_stream_with_progress):
687 Bump block side for copy to 64k to minimize
688 overhead for low latency links. (#523015)
690 2008-03-16 Tor Lillqvist <tml@novell.com>
692 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
693 depend on gio.def on Windows.
695 2008-03-12 David Zeuthen <davidz@redhat.com>
699 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
701 2008-03-14 Alexander Larsson <alexl@redhat.com>
705 Avoid redudant tests (#521851)
706 Patch from Josselin Mouette
708 2008-03-14 Alexander Larsson <alexl@redhat.com>
711 (g_file_monitor_is_cancelled):
712 Fix C89 issue (#521672)
713 Patch from Jens Granseuer
715 2008-03-14 Alexander Larsson <alexl@redhat.com>
717 * fam/fam-helper.[ch]:
719 Shut down fam (including removing fam GSource) when
720 module is unloaded (#521513)
721 Patch from Joe Marcus Clarke
723 2008-03-14 Alexander Larsson <alexl@redhat.com>
726 (_g_io_modules_ensure_loaded):
729 2008-03-14 Alexander Larsson <alexl@redhat.com>
732 (g_local_file_query_filesystem_info):
733 Use right define name for f_fstypename member check
735 2008-03-14 Alexander Larsson <alexl@redhat.com>
738 * fen/Makefile.am: Added.
739 * fen/fen-data.[ch]: Added.
740 * fen/fen-dump.[ch]: Added.
741 * fen/fen-helper.[ch]: Added.
742 * fen/fen-kernel.[ch]: Added.
743 * fen/fen-missing.[ch]: Added.
744 * fen/fen-node.[ch]: Added.
745 * fen/fen-sub.[ch]: Added.
746 * fen/gfendirectorymonitor.[ch]: Added.
747 * fen/gfenfilemonitor.[ch]: Added.
749 Added Solaris FEN file notification backend.
750 Patch from Lin Ma <Lin.Ma@Sun.COM>
752 2008-03-13 Tor Lillqvist <tml@novell.com>
754 * Makefile.am: Actually use the gio.def file when linking the
755 library on Windows. Produce .lib library for Microsoft's toolchain
756 when possible. Install the .lib and .def file like for the other
759 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
761 * tests/live-g-file.c:
762 Include live-g-file in standard set of tests, making a temporary
763 directory in source structure.
765 Clean target directory before the tests (write mode only)
767 2008-03-12 Tor Lillqvist <tml@novell.com>
769 Bug 517419 - gio win32 directory monitor
770 Implementation by Vlad Grecescu.
773 * win32/gwin32directorymonitor.h
774 * win32/gwin32directorymonitor.c: New files.
776 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
778 * Makefile.am: Add the win32 subdirectory.
780 2008-03-12 Tor Lillqvist <tml@novell.com>
782 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
783 normal struct stat on Unix but struct _stati64 on Windows to have
784 access to 64-bit file size information. Use that instead of struct
785 stat in the functions declared here in this private header.
787 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
788 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
789 warnings about unused functions and variables. Don't set
790 meaningless attributes like inode numbers on Windows.
792 2008-03-12 Benjamin Otte <otte@gnome.org>
795 trim whitespace so gtk-doc groks the function name
797 2008-03-12 Tor Lillqvist <tml@novell.com>
799 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
800 returning FALSE, on Win32.
802 2008-03-11 Alexander Larsson <alexl@redhat.com>
805 * glocalfileinfo.[ch]:
806 Correctly implement can_trash by actually
807 looking for a trash dir, not just assuming
810 2008-03-10 Matthias Clasen <mclasen@redhat.com>
812 * === Released 2.16.1 ===
814 2008-03-11 Alexander Larsson <alexl@redhat.com>
817 Fix crashes in new constructor and properties code
819 2008-03-10 Murray Cumming <murrayc@murrayc.com>
821 * gfile.c: Minor spelling correction in documentation:
822 existance -> existence.
824 2008-03-10 Matthias Clasen <mclasen@redhat.com>
826 * === Released 2.16.0 ===
828 2008-03-10 Matthias Clasen <mclasen@redhat.com>
830 * gio.symbols: Remove g_file_contains_file here, too.
832 2008-03-10 Matthias Clasen <mclasen@redhat.com>
834 * gthemedicon.c: Add properties to make bindings happy. (#517676,
835 Samuel Cormier-Iijima)
837 2008-03-08 Tor Lillqvist <tml@novell.com>
839 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
842 2008-03-07 Alexander Larsson <alexl@redhat.com>
845 (g_local_file_query_filesystem_info):
846 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
847 Patch from Jasper Lievisse Adriaanse
849 2008-03-06 Tor Lillqvist <tml@novell.com>
851 * gfileinfo.h: Correct milliseconds to microseconds in the doc
852 comments for the *_USEC attributes.
854 2008-03-06 Alexander Larsson <alexl@redhat.com>
856 * gfile.c (g_file_query_exists):
857 Add g_return_val_if_fail check (#520700)
859 2008-03-06 Alexander Larsson <alexl@redhat.com>
864 * gunionvolumemonitor.c:
867 * tests/live-g-file.c:
868 * xdgmime/xdgmimecache.c:
869 Fix sparse warnings (#519489)
871 2008-03-05 Alexander Larsson <alexl@redhat.com>
874 Make cancellation threadsafe (i.e.
875 guarantee its only done once, and always
878 * glocaldirectorymonitor.c:
879 Make sure we the monitor lives while the
880 mounts_changed callback is being called (#520484)
882 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
884 * gbufferedinputstream.c: Fix typo in parameter
887 2008-03-04 Alexander Larsson <alexl@redhat.com>
890 Remove deprecated symbols we kept for one release.
892 2008-03-04 Murray Cumming <murrayc@murrayc.com>
895 * goutputstream.c: Tiny documentation corrections.
897 2008-03-03 Alexander Larsson <alexl@redhat.com>
899 * gunionvolumemonitor.c:
901 Fix the adopt_orphan_mount vfunc to take a
902 volume_monitor reference in an ABI compat way.
903 This change is not API compat, but the added
904 arg is not used in the only user of this vfunc, so
905 all we get is a harmless warning in gvfs (#520169)
907 2008-03-01 Benjamin Otte <otte@gnome.org>
910 clarify docs for g_file_delete().
912 2008-02-29 Alexander Larsson <alexl@redhat.com>
916 Make sure empty files get text/plain type (#518720)
918 2008-02-27 Alexander Larsson <alexl@redhat.com>
924 (g_unix_volume_mount):
925 Add missing GMountMountFlags argument
927 2008-02-26 Alexander Larsson <alexl@redhat.com>
930 (g_local_file_delete):
931 Handle filesystems (like ntfs-3g) that return EEXIST instead
932 of ENOTEMPTY (#518816)
934 2008-02-25 Matthias Clasen <mclasen@redhat.com>
936 * === Released 2.15.6 ===
938 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
940 * gfile.c (g_file_find_enclosing_mount):
941 * ginputstream.c (g_input_stream_set_pending):
942 * glocalfile.c (g_local_file_find_enclosing_mount):
943 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
944 * goutputstream.c (g_output_stream_set_pending):
946 Fixup translator comments (#518578).
948 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
950 * gfile.c (g_file_find_enclosing_mount):
952 * glocalfile.c (g_local_file_find_enclosing_mount):
955 Fix a few typos in translator comments and documentation.
957 2008-02-25 Alexander Larsson <alexl@redhat.com>
964 Add translator comments (#518578)
966 2008-02-25 Alexander Larsson <alexl@redhat.com>
969 Reintroduce g_file_contains_file, keep around for one
970 unstable release cycle to avoid crashing to many apps.
971 Make sure to delete after release.
973 2008-02-25 Alexander Larsson <alexl@redhat.com>
976 Remove deprecated g_file_contains_file.
978 2008-02-25 Alexander Larsson <alexl@redhat.com>
981 Emit actual change signals in an idle handler.
982 This avoids reentrance and locking problems in
983 the file notification backends.
985 2008-02-25 Alexander Larsson <alexl@redhat.com>
988 (g_unix_mount_guess_should_display):
989 Remove type guessing, instead just display
990 mounts in /media and in ~/.
992 2008-02-25 Alexander Larsson <alexl@redhat.com>
995 Make new strings reuse old ones.
997 2008-02-25 Alexander Larsson <alexl@redhat.com>
1000 Implement trashing and filesystem::readonly for win32 (#517235)
1001 Patch from Yevgen Muntyan
1003 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1005 * gfileinfo.h: Documentation fixes.
1007 2008-02-22 Alexander Larsson <alexl@redhat.com>
1009 * gcontenttype.c (g_content_type_get_icon):
1010 Look at old-style gnome mime icon names too, as many
1011 have not moved to the new style.
1013 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1015 * *.c: Correct the @include in for section docs.
1017 2008-02-21 David Zeuthen <davidz@redhat.com>
1019 * glocalfileinfo.c: (_g_local_file_info_get):
1021 (g_content_type_get_icon): Implement this function by
1022 moving bits from glocalfileinfo.c
1023 (g_content_type_get_description): Unalias before getting
1024 description (#517687)
1026 * gfile.c: (g_file_class_init),
1027 (g_file_query_filesystem_info_async),
1028 (g_file_query_filesystem_info_finish),
1029 (query_filesystem_info_data_free),
1030 (query_filesystem_info_async_thread),
1031 (g_file_real_query_filesystem_info_async),
1032 (g_file_real_query_filesystem_info_finish):
1033 * gfile.h: Implement async version of
1034 g_file_query_filesystem_info()
1036 * gfileinfo.h: Add new attributes for filesystem::use-preview
1038 * gio.symbols: Update
1040 * gthemedicon.c: (g_themed_icon_append_name):
1041 * gthemedicon.h: Add new new convenience function.
1043 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1044 (get_mounts), (get_volumes), (get_connected_drives),
1045 (get_volume_for_uuid), (get_mount_for_uuid),
1046 (g_union_volume_monitor_init), (populate_union_monitor),
1047 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1048 (g_volume_monitor_adopt_orphan_mount):
1050 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1051 monitor implementations to call into the main volume monitor. Also
1052 separate object initialization and volume monitor initialization
1053 such that non-native volume monitors can properly adopt their
1056 2008-02-21 Alexander Larsson <alexl@redhat.com>
1061 2008-02-21 Alexander Larsson <alexl@redhat.com>
1064 Add more documentation about how GFiles work (from #517086)
1066 2008-02-21 Alexander Larsson <alexl@redhat.com>
1070 Add new g_file_has_prefix that does the same as g_file_contains_file.
1071 Deprecate g_file_contains_file and add a macro that converts
1072 it to g_file_has_prefix.
1073 The reason for this change is that the contains_file() name seems to
1074 imply that this does more work than what it does, but its really only
1075 a name match (from #517086)
1080 Update to match the above change.
1082 2008-02-20 Benjamin Otte <otte@gnome.org>
1084 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1085 (g_file_eject_mountable):
1086 even more cases of not returning in error path
1088 2008-02-20 Benjamin Otte <otte@gnome.org>
1090 * gfile.c: (g_file_mount_mountable):
1091 return from function in error path.
1093 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1096 Remove trailing coma in GMountMountFlags struct
1098 2008-02-18 Alexander Larsson <alexl@redhat.com>
1102 * glocalfileoutputstream.c:
1103 Use g_unlink/g_rename instead of unlink/rename;
1104 do not pass raw filenames to g_set_error. (#517239)
1105 Patch from Yevgen Muntyan.
1107 2008-02-18 Alexander Larsson <alexl@redhat.com>
1110 * glocalfileoutputstream.c:
1111 Open files with O_BINARY on windows. (#517140)
1113 2008-02-14 Alexander Larsson <alexl@redhat.com>
1115 * glocalfileoutputstream.c:
1116 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1118 2008-02-14 Alexander Larsson <alexl@redhat.com>
1121 Copy permissions with file on copy (#514084)
1122 This is what cp does and makes sure e.g. the
1123 exec permissions are kept.
1124 Its kinda weird in that it keeps the permission bits
1125 the same while the uid and gid are different. However
1126 the new uid is the user so its not a security issue,
1127 and I've heard no complaints about cp on this issue.
1129 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1131 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1133 2008-02-13 Alexander Larsson <alexl@redhat.com>
1135 * inotify/inotify-path.c:
1136 Define IN_ONLYDIR if not in header (#515346)
1138 2008-02-12 Alexander Larsson <alexl@redhat.com>
1140 * tests/live-g-file.c:
1143 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1145 * === Released 2.15.5 ===
1147 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1149 * gio.symbols: Add g_mount_mount_flags_get_type.
1151 2008-02-11 Alexander Larsson <alexl@redhat.com>
1154 (g_file_info_set_attribute_mask):
1155 (g_file_attribute_matcher_matches_id):
1156 Correctly handle NULL GAttributeMatcher meaning
1157 matches nothing. (Fixes #513492)
1159 2008-02-11 Alexander Larsson <alexl@redhat.com>
1164 Added GMountMountFlags enum and added a flags
1165 argument to all mount calls.
1167 This is an API/ABI change for future extensibility,
1168 as I think we will need at least an
1169 inhibit-autorun flag (the panel needs this).
1170 There are no flags defined yet though.
1172 2008-02-11 Alexander Larsson <alexl@redhat.com>
1175 Added new standard::description attribute.
1176 Requested by Vincent, and useful for both
1179 2008-02-11 Alexander Larsson <alexl@redhat.com>
1181 * gdesktopappinfo.c:
1184 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1186 * *.c: Documentation additions
1188 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1190 * gappinfo.h: Formatting cleanup
1191 * gappinfo.c: Fix up docs.
1193 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1195 * gunixmounts.c: Consistently use getmntent_r() and fall
1196 back to getmntent(). (#515492)
1198 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1200 * gbufferedinputstream.c:
1202 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1204 * tests/data-input-stream.c:
1205 * tests/data-output-stream.c: Portability fixes.
1207 2008-02-08 Alexander Larsson <alexl@redhat.com>
1212 Add g_volume_should_automount.
1215 2008-02-07 Tor Lillqvist <tml@novell.com>
1217 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1218 Win32, too Unix-specific.
1220 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1222 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1223 a local plt if the compiler doesn't support what we want. Bug #514702
1225 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1227 reviewed by: <delete if not using a buddy>
1230 * gunixinputstream.c:
1231 * gunixoutputstream.c:
1233 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1235 * tests/Makefile.am:
1236 * tests/live-g-file.c:
1237 * tests/live-g-file.txt:
1238 New GIO testing module working over real data
1240 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1242 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1243 Fallback to rename() if link() is not available
1244 (when no support on target filesystem)
1246 2008-02-06 Michael Natterer <mitch@imendio.com>
1248 * gfileinfo.c (g_file_info_get_icon): replace
1249 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1251 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1253 * gfile.c (g_file_create):
1254 Documentation update of error codes
1256 2008-02-06 Alexander Larsson <alexl@redhat.com>
1258 * gdesktopappinfo.c:
1259 Update to use both mimeapps.list and
1260 defaults.list as discussed on xdg list.
1262 2008-02-06 Benjamin Otte <otte@gnome.org>
1265 * gfilenamecompleter.c:
1266 Fix some typos in the documentation.
1268 2008-02-06 Alexander Larsson <alexl@redhat.com>
1270 * glocalfile.c (g_local_file_trash):
1271 Don't succeed with trash if newly created
1272 trash dir has the wrong owner. (#514696)
1274 2008-02-05 Alexander Larsson <alexl@redhat.com>
1276 * glocalfile.c (g_local_file_move):
1277 Don't spew warnings when destination is not
1280 2008-02-03 Hans Breuer <hans@breuer.org>
1282 * makefile.msc : update
1284 2008-02-01 Michael Natterer <mitch@imendio.com>
1286 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1287 return value of xdg_mime_list_mime_parents() to a variable of the
1290 2008-02-01 Alexander Larsson <alexl@redhat.com>
1292 * gappinfo.c (g_app_info_launch_uris):
1293 Actually call the launch_uris method, not
1296 2008-02-01 Alexander Larsson <alexl@redhat.com>
1298 * gdesktopappinfo.c (g_desktop_app_info_equal):
1299 Ensure appinfos with no id but same pointer value
1302 2008-02-01 Alexander Larsson <alexl@redhat.com>
1304 * gappinfo.c (g_app_info_launch_default_for_uri):
1307 2008-02-01 Alexander Larsson <alexl@redhat.com>
1311 Add g_app_info_launch_default_for_uri utility
1314 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1316 * gdesktopappinfo.c:
1317 Doc fix for g_app_info_get_default_for_uri_scheme ()
1320 2008-01-30 Alexander Larsson <alexl@redhat.com>
1323 Add doc comment about uris vs GFiles to
1326 * gdesktopappinfo.c:
1327 Ensure uris passed to g_app_info_launch_uris()
1328 are not roundtriped through GFile (as that
1329 may be slightly destructive for e.g. mailto: links)
1331 2008-01-30 Alexander Larsson <alexl@redhat.com>
1333 * tests/data-input-stream.c:
1334 * tests/data-output-stream.c:
1335 C89 fixes from Jens Granseuer (#512849)
1337 2008-01-30 Alexander Larsson <alexl@redhat.com>
1340 Fix gamin/fam difference build issue. (#509419)
1342 2008-01-29 Alexander Larsson <alexl@redhat.com>
1345 * gdesktopappinfo.c:
1346 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1348 2008-01-29 Alexander Larsson <alexl@redhat.com>
1350 * gdesktopappinfo.c:
1351 * gdesktopappinfo.h:
1352 giomodule-priv.h include moved to .c file.
1354 2008-01-29 Alexander Larsson <alexl@redhat.com>
1356 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1357 Remove unused prio/name fields.
1359 2008-01-29 Alexander Larsson <alexl@redhat.com>
1361 * gcontenttype.c (looks_like_text):
1362 Don't treat whitespace as control chars.
1364 2008-01-29 Alexander Larsson <alexl@redhat.com>
1366 * gdesktopappinfo.c:
1367 Lazily create the desktop files for appinfos created
1368 by g_app_info_create_from_commandline() when needed
1369 for mime associations. This allows run-time use
1370 of GAppInfo object without creating unnecessary
1373 2008-01-29 Alexander Larsson <alexl@redhat.com>
1376 Added new symbols to gio.symbols
1378 2008-01-29 Alexander Larsson <alexl@redhat.com>
1381 Add g_file_query_default_handler utility to easily look up
1382 the GAppInfo that handles a file.
1384 * gdesktopappinfo.[ch]:
1386 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1389 Remove unused function
1391 2008-01-29 Alexander Larsson <alexl@redhat.com>
1393 * gfileenumerator.c:
1394 Mention need to free returned value in
1395 g_file_enumerator_next_files_finish docs.
1396 Fix leak if g_file_enumerator_next_files_finish()
1399 2008-01-29 Alexander Larsson <alexl@redhat.com>
1402 (_g_unix_content_type_get_parents):
1403 Use list_parents, not get_parents from xdgmime, because
1404 the later doesn't use the cache.
1406 * xdgmime/xdgmimecache.c:
1407 (_xdg_mime_cache_list_mime_parents):
1408 Don't list the same type as parent multiple times.
1410 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1412 * === Released 2.15.4 ===
1414 2008-01-28 Alexander Larsson <alexl@redhat.com>
1417 Register local vfs with prio 0.
1420 Remove old name and prio class members
1422 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1424 * tests/g-file.c: Disable some tests that are failing in
1425 the absence of a http backend.
1427 2008-01-28 Alexander Larsson <alexl@redhat.com>
1431 Add registration hooks for extension points.
1432 Register the gio extension points.
1434 * fam/gfamdirectorymonitor.c:
1435 * fam/gfamfilemonitor.c:
1436 * glocaldirectorymonitor.[ch]:
1437 * glocalfilemonitor.[ch]:
1438 * gnativevolumemonitor.h:
1439 * gunionvolumemonitor.c:
1440 * gunixvolumemonitor.c:
1443 * inotify/ginotifydirectorymonitor.c:
1444 * inotify/ginotifyfilemonitor.c:
1445 Use the extension points registration instead
1446 of g_type_children().
1448 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1451 * gvolume.[hc]: Document new API.
1453 * gfile.c (g_file_copy_async): Fix docs
1455 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1457 * gbufferedinputstream.c:
1459 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1462 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1464 * glocalfile.c: Avoid trivial differences in translatable strings.
1466 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1468 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1469 build with gcc 3.4 (#509419)
1471 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1473 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1474 (#509994, Murray Cumming)
1476 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1478 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1479 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1480 this allows big jobs to be executed in chunks, instead of blocking
1481 the main loop for a long time.
1483 * gsimpleasyncresult.c:
1484 * giofile.c: Adapt callers.
1486 2008-01-25 Alexander Larsson <alexl@redhat.com>
1488 * gdesktopappinfo.c:
1489 Implement changes discussed on xdg list.
1490 Now we can add supported mimetypes by just using defaults.list
1491 We can also remove associations in defaults.list.
1493 2008-01-25 Alexander Larsson <alexl@redhat.com>
1495 * gdesktopappinfo.c:
1496 Don't make local copy of desktop file
1497 for mimetype changes if the file already
1498 supports the new mimetype.
1500 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1504 * gbufferedinputstream.c:
1505 * glocalfile.c: String improvements. (#511966,
1506 Theppitak Karoonboonyanan)
1508 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1510 * gioscheduler.h: Expand docs a bit.
1512 2008-01-24 Alexander Larsson <alexl@redhat.com>
1515 Add g_drive_get_identifier and
1516 g_drive_enumerate_identifiers
1519 Add g_volume_get_identifier and
1520 g_volume_enumerate_identifiers
1526 Implement identifiers for unix backend
1528 2008-01-24 Alexander Larsson <alexl@redhat.com>
1533 Add g_file_copy_async() (#511580)
1534 Based on patch from Carlos Garcia Campos
1536 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1538 * gioscheduler.c: Some documentation additions.
1540 2008-01-22 Alexander Larsson <alexl@redhat.com>
1542 * gdesktopappinfo.c:
1543 (g_desktop_app_info_new):
1544 Don't leak basename.
1546 2008-01-22 Alexander Larsson <alexl@redhat.com>
1548 * gdesktopappinfo.c:
1549 (g_desktop_app_info_new_from_filename):
1552 2008-01-22 Alexander Larsson <alexl@redhat.com>
1554 * glocalfileinfo.c (get_thumbnail_attributes):
1557 2008-01-22 Alexander Larsson <alexl@redhat.com>
1560 (canonicalize_filename):
1561 Canonicalize paths that start with more than
1565 (compare_two_files):
1566 (test_g_file_new_for_path):
1569 2008-01-22 Alexander Larsson <alexl@redhat.com>
1572 Allow UTF-8 in file:// parse names.
1574 * tests/Makefile.am:
1575 * tests/data-input-stream.c:
1576 * tests/data-output-stream.c:
1577 * tests/g-file-info.c:
1579 Added a bunch of tests from Tomas Bzatek
1581 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1583 * === Released 2.15.3 ===
1585 2008-01-21 Alexander Larsson <alexl@redhat.com>
1587 * gfileinputstream.[ch]:
1588 * gfileoutputstream.[ch]:
1590 Remove duplicated GSeekable functions. (#509990)
1591 Just use the g_seekable_xxx() calls instead.
1593 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1596 * gvolumemanager.c: Whitespace cleanups.
1598 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1599 Use the right mode when creating the file.
1601 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1603 * gfileenumerator.c:
1604 * gfileinputstream.c:
1606 * goutputstream.c: Documentation: Fixed minor typos
1607 and added more mentions of specific _finish() functions.
1609 2008-01-21 Alexander Larsson <alexl@redhat.com>
1611 * inotify/Makefile.am:
1612 * inotify/inotify-helper.c:
1613 * inotify/inotify-kernel.c:
1614 * inotify/inotify-path.c:
1615 * inotify/local_inotify.h: Removed.
1616 * inotify/local_inotify_syscalls.h: Removed.
1617 Removed the included copies of the inotify
1618 headers. We now only use the <sys/inotify.h>
1619 header which exists on modern systems.
1620 This fixes problems on ARM and SH5 (#510448)
1621 but is also generally much cleaner and future
1622 safe. For instance, if other OSes add support
1623 for inotify it should "just work".
1625 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1627 * inotify/*.c: Coding style fixes.
1628 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1629 for the 1/4 Hz timer.
1631 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1634 * gfilemonitor.[hc]:
1635 * gmemoryinputstream.c:
1636 * gmemoryoutputstream.c:
1637 * gmountoperation.c:
1638 * gthemedicon.c: Documentation updates
1640 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1642 * gfile.c: documentation: Fixed more minor
1645 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1647 * gmount.c: (g_mount_remount): documentation:
1648 Mention g_mount_remount_finish() instead of
1649 g_mount_unmount_finish().
1651 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1655 * gfile.c: Fixed some minor typos in the
1658 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1660 * gio/gvolumemonitor.c:
1661 (g_volume_monitor_get_connected_drives):
1662 (g_volume_monitor_get_volumes):
1663 (g_volume_monitor_get_mounts): Documentation:
1664 Clarify the ownership of the regurn GLists.
1666 2008-01-17 Alexander Larsson <alexl@redhat.com>
1669 Add the async find_enclosing_mount version
1670 to the header file too.
1672 2008-01-17 Alexander Larsson <alexl@redhat.com>
1675 Add async version of find_enclosing_mount
1676 with default implementation.
1678 2008-01-17 Alexander Larsson <alexl@redhat.com>
1683 Allow calls to implementation of copy and write
1684 even if the type of the file implementations is
1685 different. This can be used to implement native
1686 upload and download calls in a vfs.
1689 (g_local_file_move):
1690 Protect against the case where move is called
1691 with one file not being local.
1693 Make sure we call the progress callback once
1694 in the native move operation so that the caller
1695 knows how many bytes were copied.
1697 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1700 * gdatainputstream.c:
1702 * gfileoutputstream.c:
1707 * gunixmounts.c: Corrected some typos in the documentation:
1708 occured -> occurred.
1709 its -> it's (where appropriate).
1711 2008-01-16 Alexander Larsson <alexl@redhat.com>
1715 Add g_file_query_exists (#508771)
1717 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1722 * gvolume.c: For async functions that have no non-async
1723 version, document that the GAsyncReadyCallback may be NULL.
1726 2008-01-15 Alexander Larsson <alexl@redhat.com>
1728 * gmemoryinputstream.c:
1729 * gmemoryoutputstream.c:
1730 Don't do pointer arithmetic on void * (#508602)
1731 Patch from Kazuki IWAMOTO
1733 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1735 * === Released 2.15.2 ===
1737 2008-01-14 Alexander Larsson <alexl@redhat.com>
1739 * gfile.c (g_file_monitor_file):
1740 Don't set error here, since we fallback to polling monitor.
1742 2008-01-14 Alexander Larsson <alexl@redhat.com>
1745 (g_file_monitor_directory):
1746 (g_file_monitor_file):
1747 Add GError to file monitor calls
1749 * glocaldirectorymonitor.c:
1750 * glocaldirectorymonitor.h:
1752 * glocalfilemonitor.c:
1753 * glocalfilemonitor.h:
1755 Update for above change
1757 2008-01-14 Alexander Larsson <alexl@redhat.com>
1761 Handle root correctly in g_file_get_relative_path (#508719)
1763 2008-01-14 Alexander Larsson <alexl@redhat.com>
1766 Clean up docs and example for GAsyncResult (#508074)
1768 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1770 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1771 and correct some spelling mistakes. Bug #508108.
1773 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1775 * glocalfileinfo.c: Add a comment.
1777 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1779 * gfileinfo.c: GFileInfo description: Mention
1780 how to actually set attributes in a GFile and how to discover
1781 which attributes are settable. Bug #508378.
1783 2008-01-10 A. Walton <awalton@svn.gnome.org>
1785 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1786 (g_app_info_get_default_for_type):
1787 Check for NULL content types.
1789 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1791 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1793 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1795 * gfile.c: *_async() functions: Several small corrections
1796 to the documentation, mostly correcting copy/paste errors
1797 and improving some sentences.
1799 2008-01-09 Dan Winship <danw@gnome.org>
1801 * glocalfile.c (get_unique_filename): x86_64 fix
1803 2008-01-09 Alexander Larsson <alexl@redhat.com>
1808 Add g_unix_mount_guess_should_display and use
1809 for unix volume monitor backend.
1810 This means we more or less show what the
1811 gnome-vfs backend did.
1812 Based on patch from Padraig O'Briain
1814 2008-01-09 Alexander Larsson <alexl@redhat.com>
1818 Add g_themed_icon_new_with_default_fallbacks
1821 Use default fallbacks for icons
1823 2008-01-09 Alexander Larsson <alexl@redhat.com>
1826 * gmountoperation.[ch]:
1827 Change the API a bit so that unhandled methods
1828 get reported via the reply, rather than by
1829 the signal emission return value. This is because
1830 some handlers can't know this immediately without
1831 doing I/O, and this is an async operation that
1834 2008-01-09 Alexander Larsson <alexl@redhat.com>
1837 * fam/gfamdirectorymonitor.c:
1838 * fam/gfamfilemonitor.c:
1839 Fix double free crash (#508224)
1840 Patch from Joe Marcus Clarke
1842 008-01-07 Matthias Clasen <mclasen@redhat.com>
1844 * === Released 2.15.1 ===
1846 2008-01-07 Alexander Larsson <alexl@redhat.com>
1848 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1849 Fix warning (#507835)
1851 2008-01-07 Alexander Larsson <alexl@redhat.com>
1854 Pass --internal to glib-genmarshal
1857 * gmountoperation.c:
1859 Use better types for signal arguments (#507822)
1861 2008-01-07 Alexander Larsson <alexl@redhat.com>
1864 Build test subdir after .
1865 Remove gdirectorymonitor.[ch]
1867 * gdirectorymonitor.[ch]:
1871 Remove GDirectoryMonitor and make
1872 GFileMonitor the baseclass for both file and
1873 directory monitors. Lift the more generic
1874 rate limiting code from GDirectoryMonitor
1878 * fam/gfamdirectorymonitor.[ch]:
1879 * inotify/ginotifydirectorymonitor.[ch]:
1880 * inotify/inotify-helper.c:
1881 * glocaldirectorymonitor.[ch]:
1884 Update for the removed GDirectoryMonitor.
1886 * gmemoryoutputstream.c:
1887 Remove ununsed variable
1889 2008-01-07 Alexander Larsson <alexl@redhat.com>
1891 * gmemoryinputstream.c:
1892 Translate error strings
1895 * gmemoryoutputstream.[ch]:
1896 New implementation that avoids using GByteArray
1897 in implementation and API. (#506377)
1899 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1901 * tests/*: Add a test for memory input streams.
1903 * Makefile.am: Add tests to SUBDIRS.
1905 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1907 * glocalfilemonitor.c:
1908 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1911 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1913 * gdesktopappinfo.c: Fix a docs typo.
1915 * gfileattribute.c: Add information about extended attributes
1916 to the documentation. (#505058)
1918 2008-01-04 Alexander Larsson <alexl@redhat.com>
1921 * gmountoperation.c:
1922 Use the right type (uint) for the ask_password signal.
1924 2008-01-04 Alexander Larsson <alexl@redhat.com>
1929 Add g_app_info_supports_files()
1930 Remove desktop arg from g_app_info_should_show().
1932 * gdesktopappinfo.[ch]:
1933 Implement g_app_info_supports_files() and new should_show()
1934 Add g_desktop_app_info_set_desktop_env() to set the desktop
1935 for should_show(). (This will be set by gtk+ later)
1937 2008-01-04 Alexander Larsson <alexl@redhat.com>
1940 * gmemoryinputstream.[ch]:
1941 Improve API so that you can use multiple chunks
1942 of memory and custom destroy functions. (#506374)
1944 2008-01-03 Alexander Larsson <alexl@redhat.com>
1947 Handle NULL attribute matchers safely, as we return this
1948 for empty attribute matcher strings.
1950 2008-01-03 Alexander Larsson <alexl@redhat.com>
1952 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1953 Add /usr/local to list of internal mountpoints
1955 2008-01-03 Alexander Larsson <alexl@redhat.com>
1958 Check for HAVE_LCHOWN (#505887)
1960 2008-01-03 Alexander Larsson <alexl@redhat.com>
1964 Add define for selinux context attribute.
1965 Fix missing : -> :: namespace separator change
1966 Fix missing _ -> - name change for xattr-sys.
1969 2008-01-03 Alexander Larsson <alexl@redhat.com>
1972 Link to libglib and libgobject directly (#504879)
1973 Patch from Sebastien Bacher
1975 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1977 * gfile.c: Expanded the g_file_new_for_commandline_arg
1978 description a bit, based on the code and the docs of the
1979 other g_file_new_for_* functions.
1981 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1983 * gfilemonitor.h: Fixed typo in docs.
1985 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1987 Updates to GIO documentation. (#506395, Mikael Hermansson)
1989 * gcontenttype.c: Describe memory management for return value of
1990 g_content_types_get_registered(). Missing piece from #505815.
1991 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1992 GVolume, GDrive, GMounts, which hopefully gives the user less
1993 confusions when using this API. Following explainations from
1994 Alexander Larsson on gtk-devel-list.
1996 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1998 * gfileinfo.c: Expand the long description.
2000 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2003 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2004 fix builds with --disable-visibility. (#500273, Christian Persch)
2006 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2008 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2009 in the list of returned app infos.
2011 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2013 * gappinfo.c: Fix a cross-reference
2015 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2017 * gfileinputstream.c:
2018 * gfileoutputstream.c:
2022 * gdesktopappinfo.c:
2024 * gfileinfo.c: Documentation updates.
2026 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2028 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2031 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2033 * gcontenttype.c (g_content_types_get_registered): Don't return
2034 freed memory (#505815, Mikael Hermansson)
2036 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2038 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2039 used to detect statbuf->st_blocks. (#505042)
2041 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2043 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2044 environment handling. (#504829, Cosimo Cecchi)
2046 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2048 * gappinfo.c: Doc improvements
2050 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2053 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2055 * === Released 2.15.0 ===
2057 2007-12-20 Hans Breuer <hans@breuer.org>
2059 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2060 with symbols gwin32appinfo.obj, added gmount.obj
2061 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2063 2007-12-20 Alexander Larsson <alexl@redhat.com>
2069 * gfilenamecompleter.c:
2072 * gpollfilemonitor.c:
2073 File attribute renames:
2075 fs:: -> filesystem::
2076 id::fs -> id::filesystem
2078 2007-12-20 Alexander Larsson <alexl@redhat.com>
2087 Add GMountUnmountFlags to all unmount and
2089 Add g_mount_remount() call.
2091 2007-12-20 Alexander Larsson <alexl@redhat.com>
2093 * gvfs.c (get_default_vfs):
2094 Fix unused variable warning
2096 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2098 * pltcheck.sh: Update
2100 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2102 * gunionvolumemonitor.c:
2103 * gunixmount.c: Remove C99 comments
2105 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2107 * gio.symbols: Add some missing symbols
2109 2007-12-19 Alexander Larsson <alexl@redhat.com>
2112 Make g_io_modules_load_all_in_directory not unuse
2113 loaded modules so that users of it can do stuff
2115 Init internal "module" types.
2116 Initialize static prio and name for types so that
2117 we don't have to load modules to get it.
2119 * gnativevolumemonitor.h:
2121 Move is_supported to parent class so that
2122 non-native monitors can avoid being initialized
2123 too. (For instance GDaemonVolumeMonitor if we're
2124 not using GDaemonVfs.)
2126 * glocaldirectorymonitor.[ch]:
2127 * glocalfilemonitor.[ch]:
2128 * gunionvolumemonitor.c:
2129 * gunixvolumemonitor.c:
2131 Find plugins using the static prio+name to
2132 avoid unnecessarily loading the modules.
2134 2007-12-19 Alexander Larsson <alexl@redhat.com>
2139 2007-12-19 Alexander Larsson <alexl@redhat.com>
2141 * gunionvolumemonitor.c:
2142 Store the native type as GType, not class so that
2143 we can unload it. But still avoid unnecessarily
2146 2007-12-19 David Zeuthen <davidz@redhat.com>
2148 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2149 add signals 'disconnected' and 'eject-button' on GDrive. Add
2150 signal 'removed' on GVolume and 'unmounted' on GMount.
2152 * gdrive.c: (g_drive_base_init):
2154 * gfile.c: (g_file_mount_mountable),
2155 (g_file_mount_enclosing_volume):
2158 * gmount.c: (g_mount_base_init):
2160 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2161 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2162 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2166 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2168 * *.c: Fix up includes in the section docs.
2170 2007-12-17 Alexander Larsson <alexl@redhat.com>
2172 * gnativevolumemonitor.h:
2173 * gunionvolumemonitor.c:
2174 * gunixvolumemonitor.c:
2175 Add is_supported() to GNativeVolumeMonitorClass so
2176 that we can avoid having to create an object to see
2177 if the backend is supported at runtime.
2178 Also add name member and an env var to pick a specific
2179 volume monitor backend.
2183 Add cancellable to _g_mount_get_for_mount_path()
2185 * glocaldirectorymonitor.c:
2186 * glocalfilemonitor.c:
2187 Avoid loading and unloading modules while sorting.
2189 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2192 * gunixmounts.[hc]: Namespace waste reduction, move some
2193 g_get_unix_mount functions to the g_unix_mount namespace.
2196 * gunixvolumemonitor.c:
2198 * glocaldirectorymonitor.c: Update all callers.
2200 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2202 2007-12-17 Alexander Larsson <alexl@redhat.com>
2205 Add doc comments about what GFile operations are
2206 guaranteed to not block.
2208 2007-12-17 Alexander Larsson <alexl@redhat.com>
2211 Add missing #ifdef fixing OSX build.
2212 (#503334, patch from Richard Hult)
2214 2007-12-14 David Zeuthen <davidz@redhat.com>
2218 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2219 (g_mount_eject), (g_mount_eject_finish):
2221 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2222 (get_volume_for_uuid), (get_mount_for_uuid),
2223 (g_union_volume_monitor_class_init),
2224 (get_default_native_type_with_exclude), (get_default_native_type),
2225 (get_native_type), (update_native_type),
2226 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2227 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2228 (g_unix_mount_can_eject), (eject_unmount_cb),
2229 (eject_unmount_read_error), (eject_unmount_do),
2230 (g_unix_mount_unmount), (g_unix_mount_eject),
2231 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2232 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2233 (g_unix_mount_point_guess_can_eject):
2235 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2236 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2237 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2238 (g_unix_volume_mount), (g_unix_volume_eject),
2239 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2240 * gunixvolumemonitor.c: (get_volume_for_uuid),
2241 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2243 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2244 (g_volume_eject), (g_volume_eject_finish):
2246 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2247 (g_volume_monitor_get_mount_for_uuid):
2250 Provide eject() on both GMount and GVolume and utility functions
2251 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2252 ejected. Introduce the concept of UUID's and wire it into GVolume
2253 and GMount and provide API on GVolumeMonitor to find such
2254 instances. Also handle the case where an external
2255 GNativeVolumeMonitor fails to initialize. Lock around the
2256 _g_get_mount_for_mount_path() function such that volume monitor
2257 implementations won't have to do locking themselves.
2259 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2261 * gdesktopappinfo.c:
2267 * gvolume.h: Documentation updates
2269 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2272 * gfile.h: Doc updates
2274 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2277 * gdesktopappinfo.c: Use hash table iterators.
2279 2007-12-14 Alexander Larsson <alexl@redhat.com>
2282 * gfileattribute.[ch]:
2283 * gfileattribute-priv.h:
2284 Move GFileAttributeValue to a private header, as
2288 Make set_attribute take a type + a pointer instead
2289 of a GFileAttributeValue.
2292 Fix up for above changes.
2293 Add g_file_info_get_attribute_data to get
2294 all info in one call, g_file_info_get_attribute_status
2295 to get the status and g_file_info_get_attribute_as_string.
2299 * glocalfileinfo.[ch]:
2303 Make _guess_type static.
2305 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2308 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2309 made mkenums and friends use temporary files to avoid leaving
2310 empty generated files on failure (#503470).
2312 2007-12-14 Alexander Larsson <alexl@redhat.com>
2314 * gmountoperation.h:
2317 2007-12-14 Alexander Larsson <alexl@redhat.com>
2321 * gfileattribute.[ch]:
2324 * glocalfileoutputstream.c:
2325 * gmountoperation.[ch]:
2326 * goutputstream.[ch]:
2327 Clean up all flags enums to not have _FLAGS in them
2328 Make the names of some of the enums better.
2333 2007-12-14 Michael Natterer <mitch@imendio.com>
2335 * gio.symbols: fix g_io_scheduler symbol names.
2337 2007-12-14 Alexander Larsson <alexl@redhat.com>
2343 * gbufferedinputstream.h:
2344 * gbufferedoutputstream.h:
2347 * gdatainputstream.h:
2348 * gdataoutputstream.h:
2349 * gdesktopappinfo.h:
2350 * gdirectorymonitor.h:
2354 * gfileenumerator.h:
2357 * gfileinputstream.h:
2359 * gfilenamecompleter.h:
2360 * gfileoutputstream.h:
2361 * gfilterinputstream.h:
2362 * gfilteroutputstream.h:
2370 * gmemoryinputstream.h:
2371 * gmemoryoutputstream.h:
2373 * gmountoperation.h:
2376 * gsimpleasyncresult.h:
2378 * gunixinputstream.h:
2380 * gunixoutputstream.h:
2384 * inotify/Makefile.am:
2385 Only allow including <gio/gio.h> from apps
2387 2007-12-14 Alexander Larsson <alexl@redhat.com>
2389 * gioscheduler.[ch]:
2390 * gsimpleasyncresult.c:
2391 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2392 Split out the send_to_mainloop call into two versions instead
2393 of having the block argument.
2395 2007-12-13 Alexander Larsson <alexl@redhat.com>
2397 * gcancellable.[ch]:
2399 * gbufferedinputstream.c:
2400 * gfileenumerator.c:
2401 * gfileinputstream.c:
2402 * gfileoutputstream.c:
2406 g_push/pop_current_cancellable ->
2407 g_cancellable_push/pop_current
2409 2007-12-13 Alexander Larsson <alexl@redhat.com>
2413 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2415 2007-12-13 Alexander Larsson <alexl@redhat.com>
2417 * gmountoperation.h:
2418 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2420 2007-12-12 Alexander Larsson <alexl@redhat.com>
2423 Fix race condition when freeing proxy in
2424 g_io_job_send_to_mainloop().
2426 2007-12-12 Alexander Larsson <alexl@redhat.com>
2432 Make attribute namespace separator "::" instead of ":".
2433 Use - instead of _ as separator in attribute names.
2435 2007-12-12 Alexander Larsson <alexl@redhat.com>
2437 * gbufferedinputstream.h:
2438 * gbufferedoutputstream.h:
2439 * gdatainputstream.h:
2440 * gdataoutputstream.h:
2441 * gdirectorymonitor.h:
2442 * gfileenumerator.h:
2443 * gfileinputstream.h:
2445 * gfileoutputstream.h:
2446 * gfilterinputstream.h:
2447 * gfilteroutputstream.h:
2449 * glocalfileinputstream.h:
2450 * glocalfileoutputstream.h:
2451 * gmemoryinputstream.h:
2452 * gmemoryoutputstream.h:
2453 * gnativevolumemonitor.h:
2455 * gunixinputstream.h:
2456 * gunixoutputstream.h:
2459 s/parent/parent_instance/ in GObjects
2461 2007-12-12 Alexander Larsson <alexl@redhat.com>
2466 No need for padding for interfaces
2468 2007-12-12 Alexander Larsson <alexl@redhat.com>
2472 * gbufferedinputstream.c:
2473 * gbufferedoutputstream.c:
2476 * gdatainputstream.[ch]:
2477 * gdesktopappinfo.c:
2478 * gdirectorymonitor.c:
2480 * gfileattribute.[ch]:
2483 * gfileinputstream.h:
2484 * gfilemonitor.[ch]:
2485 * gfileoutputstream.[ch]:
2486 * gfilterinputstream.h:
2487 * gfilteroutputstream.h:
2490 * gloadableicon.[ch]:
2491 * gmemoryinputstream.c:
2492 * gmountoperation.c:
2494 Fix up a bunch of details in the docs.
2499 2007-12-11 David Zeuthen <davidz@redhat.com>
2501 Rework how volumes, drives and volume monitoring is
2502 done. Previosly the model was
2504 GDrive <1-1> GVolume
2506 where a GDrive instance represented a mount point and a GVolume
2507 instance represented a mounted file system. This patch changes it
2510 GDrive <1-N> GVolume <1-1> GMount
2512 where GMount now serves the purpose of the old GVolume and the new
2513 GVolume serves the purpose of the old GDrive. In addition the new
2514 GDrive interface is used to represent a collection of GVolume
2515 instances (typically partitions) and also contains utility to query
2516 the state of the physical drive the GDrive object represents (such
2517 as checking for media, polling the drive, ejecting the media etc.).
2519 Also implement mounting and unmounting in the Unix volume monitor
2520 backend. A subquent patch will introduce GDrive support for ejection
2524 * gdrive.c: (g_drive_is_media_check_automatic),
2525 (g_drive_is_media_removable), (g_drive_has_media),
2526 (g_drive_can_poll_for_media), (g_drive_eject),
2527 (g_drive_eject_finish), (g_drive_poll_for_media),
2528 (g_drive_poll_for_media_finish):
2530 * gfile.c: (g_file_find_enclosing_mount):
2533 * glocaldirectorymonitor.c:
2534 (g_local_directory_monitor_constructor), (mounts_changed):
2535 * glocalfile.c: (get_mount_info),
2536 (g_local_file_find_enclosing_mount),
2537 (g_local_file_file_iface_init):
2538 * gnativevolumemonitor.h:
2539 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2540 (get_connected_drives), (g_union_volume_monitor_class_init),
2541 (child_volume_added), (child_volume_removed),
2542 (child_volume_changed), (child_mount_added), (child_mount_removed),
2543 (child_mount_pre_unmount), (child_mount_changed),
2544 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2545 (g_union_volume_monitor_remove_monitor),
2546 (_g_mount_get_for_mount_path):
2547 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2548 (guess_system_internal), (_g_get_unix_mounts),
2549 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2550 (g_unix_mount_free), (g_unix_mount_compare),
2551 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2552 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2553 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2554 (type_to_icon), (g_unix_mount_guess_name),
2555 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2556 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2557 (_resolve_symlink), (_resolve_dev_root):
2559 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2560 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2561 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2562 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2563 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2564 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2565 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2566 (g_unix_volume_volume_iface_init):
2568 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2569 (get_mounts), (get_volumes), (get_connected_drives),
2570 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2571 (mountpoints_changed), (mounts_changed),
2572 (g_unix_volume_monitor_init),
2573 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2574 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2575 * gunixvolumemonitor.h:
2576 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2577 (g_volume_mount), (g_volume_mount_finish):
2579 * gvolumemonitor.c: (g_volume_monitor_class_init),
2580 (g_volume_monitor_get_connected_drives),
2581 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2584 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2586 * gmountoperation.h (GPasswordFlags): Close the gap
2588 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2590 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2592 * gdesktopappinfo.[hc]: Remove _-prefixes
2594 2007-12-10 Tor Lillqvist <tml@novell.com>
2596 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2599 2007-12-10 Alexander Larsson <alexl@redhat.com>
2601 * gfile.c (g_file_set_display_name):
2602 Don't hardcode '/' (#502727)
2604 2007-12-09 Hans Breuer <hans@breuer.org>
2606 * makefile.msc : follow lib naming convention
2607 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2608 for user and group name, tested with ../tests/gio-ls
2610 2007-12-09 A. Walton <awalton@svn.gnome.org>
2612 * gdesktopappinfo.c:
2618 * gfileenumerator.c:
2623 * gmemoryinputstream.c:
2624 * gmemoryoutputstream.c:
2626 * gsimpleasyncresult.c:
2627 More documentation cleanup and filling in missing information, bringing
2628 GIO to 99% symbol coverage.
2630 2007-12-08 Hans Breuer <hans@breuer.org>
2632 [gio compiles and links on win32, not sure how much already works]
2633 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2634 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2635 base on win32 API; prefer g_lstat() over lstat(); instead of
2636 localtime_r() use an all GLib implementation on win32;
2637 get_mount_info() still needs a win32 specifc implementation
2638 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2639 win32_get_file_user_info to get owner/group info without uid/gid
2640 * glocalfileinputstream.c : include <io.h> on win32
2641 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2642 definition, use g_win32_ftruncate() for G_OS_WIN32
2643 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2644 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2645 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2646 * makefile.msc : updated
2648 2007-12-07 Alexander Larsson <alexl@redhat.com>
2650 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2651 Avoid warning spew if error == NULL
2653 2007-12-07 Alexander Larsson <alexl@redhat.com>
2656 Update docs wrt etags
2658 2007-12-06 Alexander Larsson <alexl@redhat.com>
2661 Include sys/types.h for dev_t (#501919)
2663 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2667 Make abicheck and pltcheck pass.
2669 2007-12-05 Alexander Larsson <alexl@redhat.com>
2672 * giomodule-priv.h: Added.
2673 * glocaldirectorymonitor.c:
2674 * glocalfilemonitor.c:
2675 * gunionvolumemonitor.c:
2677 Actually add the declaration of _g_io_modules_ensure_loaded
2679 2007-12-05 Alexander Larsson <alexl@redhat.com>
2681 * gdatainputstream.c:
2686 * glocaldirectorymonitor.c:
2687 * glocalfilemonitor.c:
2688 * gunionvolumemonitor.c:
2690 Make g_io_modules_ensure_loaded a private function and
2691 don't pass in the dirname. This means we can do magic
2692 directory finding in the win32 version.
2693 Export the actual load-modules-in-directory code so that
2694 gvfs can reuse that.
2696 2007-12-05 Alexander Larsson <alexl@redhat.com>
2698 * gbufferedinputstream.c:
2699 * gbufferedoutputstream.c:
2702 * gfileenumerator.[ch]:
2703 * gfileinputstream.c:
2704 * gfileoutputstream.[ch]:
2705 * gfilterinputstream.c:
2706 * gfilteroutputstream.c:
2707 * ginputstream.[ch]:
2709 * glocalfileenumerator.c:
2710 * glocalfileinputstream.c:
2711 * glocalfileoutputstream.c:
2712 * gmemoryinputstream.c:
2713 * gmemoryoutputstream.c:
2714 * goutputstream.[ch]:
2717 * gunixinputstream.c:
2718 * gunixoutputstream.c:
2719 Rename all struct members named:
2720 read, write, close, truncate, or mount
2721 to foo_fn, as these are reserved names
2722 and could be defined as macros in libc.
2725 2007-12-04 Alexander Larsson <alexl@redhat.com>
2728 (g_output_stream_close):
2729 Only call flush if non-null.
2731 2007-11-30 Dan Winship <danw@gnome.org>
2733 * ginputstream.c (g_input_stream_set_pending): Make this take a
2734 GError and return a gboolean, and do the "outstanding operation"
2735 check (and the "stream is already closed" check) itself.
2736 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2738 * goutputstream.c (g_output_stream_set_pending)
2739 (g_output_stream_clear_pending): Likewise
2741 * gbufferedinputstream.c:
2742 * gfileinputstream.c:
2743 * gfileoutputstream.c: Update for that
2745 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2746 Like g_simple_async_report_error_in_idle, but takes a GError
2747 rather than building one.
2749 2007-11-30 Dan Winship <danw@gnome.org>
2751 * goutputstream.c: Don't cheat and unset the "pending" flag around
2752 inner calls. Instead, call the class method directly rather than
2753 the wrapper function that checks "pending"
2755 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2757 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2759 2007-12-03 Hans Breuer <hans@breuer.org>
2761 [start of port to win32/msvc]
2762 * gcancellable.c : HAVE_UNIST_H and _pipe()
2763 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2764 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2765 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2767 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2768 * glocalvfs.c : use HAVE_PWD_H
2769 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2770 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2771 * Makefile.am : added to EXTRA_DIST
2773 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2775 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2778 2007-12-03 Alexander Larsson <alexl@redhat.com>
2781 Handle OSX style xattrs API (#500506)
2783 2007-12-03 Alexander Larsson <alexl@redhat.com>
2787 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2789 2007-12-02 A. Walton <awalton@svn.gnome.org>
2793 Documentation accuracy fixes.
2795 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2797 * gioenumtypes.c.template: Fix typo.
2799 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2801 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2803 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2805 * gdirectorymonitor.c:
2806 * gfilemonitor.c: Add properties
2808 * gbufferedoutputstream.c: Don't mark buffer-size property
2811 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2813 * gbufferedoutputstream.c: Add auto-grow property.
2815 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2817 * *.c: Unify the capitalization of section headings.
2819 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2821 * gmountoperation.c: Add properties
2823 * gdatainputstream.c: Turn byte-order and newline-type into
2826 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2828 * gioenumtypes.[hc].template: Templates for enum registration
2830 * Makefile.am: Generate gioenumtypes.[hc]
2832 * gio.h: Include gioenumtypes.h
2834 * gfile.h: Add some explicit nicks.
2836 * gio.symbols: Add new symbols
2838 * pltcheck.sh: Adjust
2840 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2842 * *.c: Explain etags and link to the explanation
2844 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2846 * *.c: Explain I/O priority.
2848 * *.c: More coding style fixes.
2850 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2852 * gasyncresult.c: Add another paragraph to the intro,
2853 adjust coding style of example.
2855 2007-11-29 A. Walton <awalton@svn.gnome.org>
2858 Fixes unknown meaning in GAppLaunchContext docs.
2860 Clarify asynchronous ops.
2862 Fix entity tag docs.
2865 Provides missing gtk-doc section, fixes API docs slighly.
2866 * gsimpleasyncresult.c:
2867 Fill in missing info in docs.
2868 * gunixinputstream.c:
2869 * gunixoutputstream.c:
2870 Be more expressive in short description.
2872 Remove gtk-doc stubs for non-public API.
2874 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2876 * *.c: Coding style fixups
2878 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2880 * inotify/inotify-helper.c: Don't export the lock from libgio.
2882 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2885 * abicheck.sh: Fix copy-and-paste leftovers
2887 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2889 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2891 2007-11-28 Alexander Larsson <alexl@redhat.com>
2895 Removed unnecessary file
2897 * gdesktopappinfo.[ch]:
2900 * glocaldirectorymonitor.[ch]:
2902 * glocalfileenumerator.[ch]:
2903 * glocalfileinputstream.[ch]:
2904 * glocalfilemonitor.[ch]:
2905 * glocalfileoutputstream.[ch]:
2907 * gnativevolumemonitor.c:
2908 * gpollfilemonitor.[ch]:
2909 * gunionvolumemonitor.[ch]:
2912 * gunixvolumemonitor.[ch]:
2915 * inotify/ginotifydirectorymonitor.[ch]:
2916 * inotify/ginotifyfilemonitor.[ch]:
2917 * inotify/inotify-helper.c:
2918 Append _ to all internal functions
2922 Export symbols needed for modules
2924 2007-11-28 Alexander Larsson <alexl@redhat.com>
2927 * abicheck.sh: Added.
2928 * makegioalias.pl: Added.
2929 * pltcheck.sh: Added.
2930 * gio.symbols: Added.
2933 Initial work on adding symbol handling.
2936 Correct ifdef guard name
2939 * inotify/Makefile.am:
2940 * xdgmime/Makefile.am:
2941 Include toplevel Makefile.decl
2943 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2945 * gcontenttype.c: Move doc comments to the unix section.
2947 * *.[hc]: More trivial doc corrections.
2949 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2951 * gpollfilemonitor.c:
2955 * gdesktopappinfo.c:
2960 * gdatainputstream.c:
2961 * gdatainputstream.h:
2962 * gdataoutputstream.c:
2963 * gdataoutputstream.h:
2964 * gfileinfo.h: Doc cleanups
2966 2007-11-28 Andre Klapper <a9016009@gmx.de>
2968 * gdesktopappinfo.c: Fix a typo.
2970 2007-11-27 Andre Klapper <a9016009@gmx.de>
2972 * glocalfileoutputstream.c: Fix a typo.
2974 2007-11-27 Alexander Larsson <alexl@redhat.com>
2977 Don't include removed headers
2979 2007-11-27 Alexander Larsson <alexl@redhat.com>
2982 * gsocketinputstream.[ch]: Removed.
2983 * gsocketoutputstream.[ch]: Removed.
2984 * gunixinputstream.[ch]: Added.
2985 * gunixoutputstream.[ch]: Added.
2986 Renamed GSocket*Stream to GUnix*Stream and made
2987 it unix-only, since its not really only for sockets
2988 and it only works on unix (but is highly useful there).
2990 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2996 * gbufferedinputstream.c:
2997 * gbufferedinputstream.h:
2998 * gbufferedoutputstream.c:
2999 * gbufferedoutputstream.h:
3003 * gdatainputstream.c:
3004 * gdatainputstream.h:
3005 * gdataoutputstream.c:
3006 * gdataoutputstream.h:
3007 * gdirectorymonitor.c:
3008 * gdirectorymonitor.h:
3015 * gfileenumerator.c:
3016 * gfileenumerator.h:
3021 * gfileinputstream.c:
3022 * gfileinputstream.h:
3025 * gfilenamecompleter.c:
3026 * gfilenamecompleter.h:
3027 * gfileoutputstream.c:
3028 * gfileoutputstream.h:
3029 * gfilterinputstream.c:
3030 * gfilterinputstream.h:
3031 * gfilteroutputstream.c:
3032 * gfilteroutputstream.h:
3045 * glocalfileoutputstream.c:
3046 * gmemoryinputstream.c:
3047 * gmemoryinputstream.h:
3048 * gmemoryoutputstream.c:
3049 * gmemoryoutputstream.h:
3050 * gmountoperation.c:
3051 * gmountoperation.h:
3054 * gpollfilemonitor.c:
3057 * gsimpleasyncresult.c:
3058 * gsimpleasyncresult.h:
3059 * gsocketinputstream.c:
3060 * gsocketinputstream.h:
3061 * gsocketoutputstream.c:
3062 * gsocketoutputstream.h:
3069 * gunixvolumemonitor.c:
3078 Bumps documentation to 93% symbol coverage, touching most
3079 of the public files. Fixes broken function documentation prototypes.
3080 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3081 gtk-doc headers in private files.
3083 2007-11-27 Jürg Billeter <j@bitron.ch>
3085 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3086 (g_buffered_input_stream_read_byte):
3087 * gbufferedinputstream.h:
3088 New functions for efficient access to buffer and simple single byte
3091 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3092 (g_data_input_stream_read_until):
3093 * gdatainputstream.h:
3094 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3095 read_until with multiple stop chars.
3097 2007-11-27 Alexander Larsson <alexl@redhat.com>
3101 * inotify/Makefile.am:
3102 Use the user-specified giomoduledir
3104 2007-11-27 Alexander Larsson <alexl@redhat.com>
3108 Add catch-all gio.h header
3109 Don't install gdummyfile.h
3111 2007-11-26 Alexander Larsson <alexl@redhat.com>
3113 * Makefile.am (gioinclude_HEADERS):
3114 Remove trailing whitespace
3116 2007-11-26 Alexander Larsson <alexl@redhat.com>
3118 Merge gio-standalone into glib
3120 2007-11-25 Christian Kellner <gicmo@gnome.org>
3122 * gio/goutputstream.c:
3123 Fix small mistake in the docs.
3125 2007-11-21 Christian Persch <chpe@gnome.org>
3127 * gio/glocalfile.c: (g_local_file_trash):
3128 Convert filenames to UTF-8 for GError.
3129 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3130 as per xdg base dir spec.
3132 2007-11-21 Christian Persch <chpe@gnome.org>
3134 * gio/gdesktopappinfo.c:
3135 Use that g_key_file_to_data cannot fail.
3137 Use stock defines for the key file group and key names.
3140 2007-11-21 Alexander Larsson <alexl@redhat.com>
3143 (copy_stream_with_progress):
3144 Make sure we do a final progress callback with
3145 the full total size.
3147 2007-11-21 Alexander Larsson <alexl@redhat.com>
3150 Export g_file_copy_attributes
3151 Remove padding as its not needed for interfaces
3153 2007-11-20 Alexander Larsson <alexl@redhat.com>
3158 Add G_IO_ERROR_WOULD_MERGE for
3159 copy/move dir on dir with overwrite.
3161 2007-11-20 Alexander Larsson <alexl@redhat.com>
3164 * gio/glocalfileinfo.c:
3165 Add COPY_NAME (this is an optional
3166 non-modified utf8 version of the name) that
3169 2007-11-20 Alexander Larsson <alexl@redhat.com>
3171 * gio/glocalfileenumerator.c:
3172 Report errors as GIOError, not GFileError
3174 2007-11-16 Alexander Larsson <alexl@redhat.com>
3176 * gio/glocalfileoutputstream.c:
3177 * gio/gwin32appinfo.c:
3178 Fix typos in strings.
3179 Patch from Luca Ferretti <elle.uca@libero.it>
3181 2007-11-15 Alexander Larsson <alexl@redhat.com>
3184 Post release version bump
3186 === gio-standalone 0.1.2 ===
3188 2007-11-15 Alexander Larsson <alexl@redhat.com>
3190 * docs/reference/gio/Makefile.am:
3191 Fix up distcheck by removing weird
3197 2007-11-14 Alexander Larsson <alexl@redhat.com>
3199 * gio/gdesktopappinfo.c:
3200 * gio/glocaldirectorymonitor.c:
3202 * gio/glocalfileinfo.c:
3203 * gio/inotify/inotify-sub.c:
3204 * programs/gio-cat.c:
3205 * programs/gio-copy.c:
3206 * programs/gio-info.c:
3207 * programs/gio-ls.c:
3208 * programs/gio-monitor-dir.c:
3209 * programs/gio-monitor-file.c:
3210 * programs/gio-mount.c:
3211 * programs/gio-move.c:
3212 * programs/gio-rm.c:
3213 * programs/gio-save.c:
3214 * programs/gio-trash.c:
3215 Leak fixes from Kjartan Maraas
3217 2007-11-14 Alexander Larsson <alexl@redhat.com>
3219 * gio/fam/fam-helper.c:
3221 * gio/glocalfileinfo.c:
3225 * gio/inotify/inotify-diag.c:
3226 * gio/inotify/inotify-kernel.c:
3227 Various code cleanups from Kjartan Maraas
3229 2007-11-14 Alexander Larsson <alexl@redhat.com>
3231 * gio/gioscheduler.c:
3233 Set up threadpool so that we cache 2 unused
3234 idle threads for at 15 secs. This means we
3235 will reuse thread-local data (like dbus connections)
3238 2007-11-14 Alexander Larsson <alexl@redhat.com>
3240 * gio/fam/fam-helper.c:
3241 * gio/fam/gfamdirectorymonitor.c:
3242 * gio/fam/gfamfilemonitor.c:
3244 * gio/gcontenttype.c:
3245 * gio/gdatainputstream.c:
3246 * gio/gdataoutputstream.c:
3250 * gio/gfileattribute.h:
3251 * gio/gfileenumerator.c:
3253 * gio/ginputstream.c:
3256 * gio/glocalfileinfo.c:
3257 * gio/goutputstream.c:
3258 * gio/gpollfilemonitor.c:
3259 * gio/gsimpleasyncresult.c:
3260 * gio/gunixmounts.c:
3261 * gio/gunixmounts.h:
3262 * gio/inotify/ginotifydirectorymonitor.c:
3263 * gio/inotify/ginotifyfilemonitor.c:
3264 * gio/inotify/inotify-diag.c:
3265 * gio/inotify/inotify-kernel.c:
3266 * gio/inotify/inotify-path.c:
3268 * gio/test-streams.c:
3269 * programs/gio-info.c:
3270 * programs/gio-monitor-dir.c:
3271 * programs/gio-monitor-file.c:
3272 Various code cleanups from Kjartan Maraas
3274 2007-11-13 Alexander Larsson <alexl@redhat.com>
3277 Handle the uri-scheme calls for dummy files
3279 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3281 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3282 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3283 to avoid clash with the C++ keyword.
3285 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3287 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3288 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3290 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3292 * gio/glocaldirectorymonitor.c:
3293 * gio/glocalfilemonitor.c:
3294 * gio/gunionvolumemonitor.c:
3295 Don't use g_once_init_*() for initializations that could fail and
3296 could leave the initialization variable set to 0 but use GOnce.
3297 This prevents a deadlock on the second call when trying to create
3298 a monitor and no monitor type is available. Thanks to Sven Herzberg
3301 2007-11-11 Sven Herzberg <sven@imendio.com>
3303 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3304 #ifdef (make it work on MacOS X again)
3306 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3308 Fixes Changelog for last two commits (sorry guys).
3310 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3312 * gio/gbufferedinputstream.c:
3313 * gio/gdatainputstream.c:
3315 * gio/gfileoutputstream.c:
3316 * gio/gfilterinputstream.c:
3317 * gio/glocalfileinputstream.c:
3320 More consistency fixes in g*stream.c files.
3321 Significant clean of gfile's documentation, filling in of
3322 asynchronous operations documentation.
3324 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3326 * gio/gasyncresult.c:
3327 * gio/gbufferedinputstream.c:
3328 * gio/gbufferedoutputstream.c:
3329 * gio/gcancellable.c:
3330 * gio/gcontenttype.c:
3331 * gio/gdatainputstream.c:
3332 * gio/gdataoutputstream.c:
3333 * gio/gdesktopappinfo.c:
3336 * gio/gfileattribute.c:
3337 * gio/gio/gfileenumerator.c:
3339 * gio/gfileinputstream.c:
3340 * gio/gfilemonitor.c:
3341 * gio/gfileoutputstream.c:
3342 * gio/ginputstream.c:
3344 * gio/gioscheduler.c:
3345 * gio/gloadableicon.c:
3346 * gio/glocalfileoutputstream.c:
3347 * gio/gmemoryoutputstream.c:
3348 * gio/gmountoperation.c:
3349 * gio/goutputstream.c:
3351 * gio/gsimpleasyncresult.c:
3352 * gio/gunionvolumemonitor.c:
3353 * gio/gunixmounts.c:
3354 * gio/gunixvolume.c:
3358 * gio/gvolumemonitor.c:
3359 Updated documentation stubs, working towards consistency and
3362 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3364 * gio/gmemoryoutputstream.c:
3365 * gio/gmemoryoutputstream.h:
3366 Change g_memory_output_stream_set_free_on_close() to
3367 g_memory_output_stream_set_free_data() as this makes more sense and
3368 is more consistent with GMemoryInputStream.
3370 2007-11-07 Alexander Larsson <alexl@redhat.com>
3377 Change how we find the default vfs so that
3378 we can handle a gvfs failing to init
3380 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3382 * gio/gbufferedoutputstream.c:
3383 * gio/gdatainputstream.c:
3384 * gio/gdataoutputstream.c:
3385 * gio/gfileinputstream.c:
3386 * gio/gfileoutputstream.c:
3387 * gio/gfilterinputstream.c:
3388 * gio/gfilteroutputstream.c:
3389 * gio/ginputstream.c:
3390 * gio/gmemoryinputstream.c:
3391 * gio/gmemoryoutputstream.c:
3392 * gio/goutputstream.c:
3393 * gio/gsimpleasyncresult.c:
3394 * gio/gsocketinputstream.c:
3395 * gio/gsocketoutputstream.c:
3396 Add guards to the remaining public functions, add a TODO for
3397 an unimplemented function and remove some useless guards.
3399 2007-11-07 Alexander Larsson <alexl@redhat.com>
3402 Autoconf checks for the various types of
3403 getpwuid_r and getgrgid_r
3405 * gio/glocalfileinfo.c:
3406 Use the autoconf checks from above
3408 2007-11-07 Alexander Larsson <alexl@redhat.com>
3411 (g_local_file_query_filesystem_info):
3412 Some fixes for the statvfs case
3414 2007-11-07 Alexander Larsson <alexl@redhat.com>
3417 (g_local_file_query_filesystem_info):
3418 Pick the "best" of statfs / statvfs for the system
3419 if both are availible.
3421 2007-11-07 Alexander Larsson <alexl@redhat.com>
3423 Solaris fixes from Halton.Huo@Sun.COM:
3430 * gio/glocalfileinfo.c:
3431 Fix for solaris definition of getpwuid_r
3433 * gio/test-streams.c:
3434 Use G_GNUC_PRETTY_FUNCTION
3436 2007-11-07 Alexander Larsson <alexl@redhat.com>
3438 * gio/gdesktopappinfo.c:
3439 (update_default_list):
3440 Remove double semicolon.
3441 Patch from Jens Granseuer
3443 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3445 * docs/reference/gio/gio-sections.txt:
3446 * gio/gbufferedinputstream.c:
3447 * gio/gbufferedinputstream.h:
3448 * gio/gdatainputstream.c:
3449 * gio/gfileenumerator.c:
3450 * gio/gioscheduler.c:
3451 * gio/gunionvolumemonitor.c:
3453 * programs/gio-save.c:
3454 Fix typo: availible -> available. Unfortuntely this breaks API
3455 and ABI as g_buffered_input_stream_get_available() was renamed.
3457 * gio/gunixmounts.c:
3458 * gio/gbufferedinputstream.c:
3459 Add guards for public functions.
3461 2007-11-06 Ross Burton <ross@openedhand.com>
3463 * docs/reference/gio/Makefile.am:
3464 Fix invalid += usage which automake 1.10 doesn't like.
3466 2007-11-06 Alexander Larsson <alexl@redhat.com>
3469 (g_app_launch_context_class_init):
3472 Patch from Ross Burton
3474 2007-11-06 Alexander Larsson <alexl@redhat.com>
3477 Post release version bump
3479 === gio-standalone 0.1.1 ===
3481 2007-11-06 Alexander Larsson <alexl@redhat.com>
3484 Bump version to 0.1.1
3486 * gio/gsimpleasyncresult.c:
3487 (g_simple_async_result_set_from_error):
3488 Remove bogus g_return_if_fail
3490 2007-11-06 Alexander Larsson <alexl@redhat.com>
3493 The name is gio-standalone
3496 Add top src/builddir to includedir
3498 2007-11-06 Alexander Larsson <alexl@redhat.com>
3500 * docs/reference/gio/gio-sections.txt:
3502 * gio/gbufferedinputstream.c:
3503 * gio/gbufferedoutputstream.c:
3504 * gio/gcancellable.c:
3505 * gio/gdatainputstream.h:
3506 * gio/gdataoutputstream.c:
3507 * gio/gdataoutputstream.h:
3508 * gio/gdirectorymonitor.c:
3510 * gio/gfileattribute.c:
3511 * gio/gfileattribute.h:
3512 * gio/gfileenumerator.c:
3513 * gio/gfileenumerator.h:
3516 * gio/gfileinputstream.h:
3517 * gio/gfilemonitor.c:
3518 * gio/gfileoutputstream.h:
3519 * gio/glocalfilemonitor.h:
3520 * gio/glocalfileoutputstream.h:
3521 * gio/gmemoryinputstream.c:
3522 * gio/gmemoryoutputstream.c:
3523 * gio/gmountoperation.c:
3524 * gio/goutputstream.c:
3525 * gio/goutputstream.h:
3527 * gio/gsimpleasyncresult.c:
3528 * gio/gunixmounts.c:
3529 * gio/gunixmounts.h:
3531 * gio/inotify/inotify-helper.c:
3532 Fix gtk-doc warnings
3534 Patch from Ross Burton
3536 2007-11-06 Alexander Larsson <alexl@redhat.com>
3538 * gio/gfilenamecompleter.c:
3539 (g_filename_completer_get_completions):
3542 * gio/gunixvolume.c:
3543 Remove unused function
3545 Patches from Ross Burton
3547 2007-11-06 Alexander Larsson <alexl@redhat.com>
3552 Padding not needed for interfaces
3554 2007-11-06 Alexander Larsson <alexl@redhat.com>
3556 * gio/gfilemonitor.c:
3560 Make giotypes.h an internal file
3563 * gio/gbufferedinputstream.h:
3564 * gio/gbufferedoutputstream.h:
3565 * gio/gcancellable.h:
3566 * gio/gdatainputstream.h:
3567 * gio/gdataoutputstream.h:
3568 * gio/gdirectorymonitor.c:
3569 * gio/gdirectorymonitor.h:
3574 * gio/gfileattribute.h:
3575 * gio/gfileenumerator.h:
3580 * gio/gfilemonitor.c:
3581 * gio/gfilemonitor.h:
3582 * gio/gfilenamecompleter.c:
3583 * gio/gfilenamecompleter.h:
3584 * gio/gfilterinputstream.h:
3585 * gio/gfilteroutputstream.h:
3586 * gio/ginputstream.h:
3587 * gio/gmemoryinputstream.h:
3588 * gio/gmemoryoutputstream.h:
3589 * gio/gmountoperation.c:
3590 * gio/gmountoperation.h:
3591 * gio/gnativevolumemonitor.c:
3592 * gio/goutputstream.h:
3595 * gio/gsimpleasyncresult.c:
3596 * gio/gsimpleasyncresult.h:
3597 * gio/gsocketinputstream.h:
3598 * gio/gsocketoutputstream.h:
3599 * gio/gthemedicon.c:
3600 * gio/gthemedicon.h:
3604 * gio/gvolumemonitor.c:
3605 * gio/gvolumemonitor.h:
3606 Add padding in classes where it seems useful
3607 Don't include giotypes.h from public headers
3608 Move in Class definitions into c file where possible
3613 2007-11-06 Alexander Larsson <alexl@redhat.com>
3615 * docs/reference/gio/gio-docs.xml:
3616 Better structure for API docs
3618 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3621 * gio/gloadableicon.c:
3622 * gio/gsimpleasyncresult.c:
3623 * gio/gthemedicon.c:
3624 Add some more guards to public functions. Only files missing are now
3627 2007-11-06 Alexander Larsson <alexl@redhat.com>
3629 * docs/reference/gio/gio-docs.xml:
3630 Remove old files, add missing ones
3632 2007-11-06 Alexander Larsson <alexl@redhat.com>
3634 * docs/reference/gio/gio-sections.txt:
3637 Hide implementation classes
3639 * gio/gdriveprivate.h:
3640 * gio/gvolumeprivate.h:
3641 Remove non-existing function declarations
3643 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3646 Fix compilation warnings and add guards to the new functions.
3648 * gio/gasyncresult.c:
3650 Add guards to the public functions.
3653 Implement get_path().
3655 2007-11-06 Alexander Larsson <alexl@redhat.com>
3657 * gio/gfilenamecompleter.c:
3658 Make g_filename_completer_get_completions
3659 return char ** instead of GList for
3662 * docs/reference/gio/gio-docs.xml:
3663 * docs/reference/gio/gio-sections.txt:
3665 * gio/gasyncresult.c:
3666 * gio/gbufferedinputstream.c:
3667 * gio/gbufferedoutputstream.c:
3668 * gio/gcancellable.c:
3669 * gio/gcontenttype.c:
3670 * gio/gdatainputstream.c:
3671 * gio/gdataoutputstream.c:
3672 * gio/gdesktopappinfo.c:
3673 * gio/gdirectorymonitor.c:
3677 * gio/gfileattribute.c:
3678 * gio/gfileenumerator.c:
3681 * gio/gfileinputstream.c:
3682 * gio/gfilemonitor.c:
3683 * gio/gfilenamecompleter.c:
3684 * gio/gfilenamecompleter.h:
3685 * gio/gfileoutputstream.c:
3686 * gio/gfilterinputstream.c:
3688 * gio/ginputstream.c:
3690 * gio/gioscheduler.c:
3691 * gio/gloadableicon.c:
3692 * gio/glocaldirectorymonitor.c:
3694 * gio/glocalfileinputstream.c:
3695 * gio/glocalfilemonitor.c:
3696 * gio/glocalfileoutputstream.c:
3698 * gio/gmemoryinputstream.c:
3699 * gio/gmemoryoutputstream.c:
3700 * gio/gmountoperation.c:
3701 * gio/goutputstream.c:
3702 * gio/gpollfilemonitor.c:
3704 * gio/gsimpleasyncresult.c:
3705 * gio/gsocketinputstream.c:
3706 * gio/gsocketoutputstream.c:
3707 * gio/gthemedicon.c:
3708 * gio/gunionvolumemonitor.c:
3710 * gio/gunixmounts.c:
3711 * gio/gunixvolume.c:
3712 * gio/gunixvolumemonitor.c:
3716 * gio/gvolumemonitor.c:
3717 * gio/gwin32appinfo.c:
3718 Add (mostly stub) doc strings to public functions.
3719 Patch from Andrew Walton (awalton@gmail.com)
3721 2007-11-06 Alexander Larsson <alexl@redhat.com>
3723 * gio/gappinfo.[ch]:
3724 Added GAppLaunchContext object and pass that to launch.
3725 This allows simple implementation of both
3726 launch-on-screen and startup notification via a gtk+
3727 subclass of GAppLaunchContext
3729 * gio/gdesktopappinfo.c:
3730 Implement GAppLaunchContext API
3732 * gio/gwin32appinfo.c:
3735 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3737 * gio/gmountoperation.c:
3738 Add some guards to GMountOperation's public functions.
3740 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3744 * gio/gcancellable.c:
3745 * gio/gdirectorymonitor.c:
3747 * gio/gfileenumerator.c:
3748 * gio/gfilemonitor.c:,
3749 * gio/gfilenamecompleter.c:
3752 * gio/gioscheduler.c:
3756 * gio/gvolumemonitor.c:
3757 Add even more guards to various public functions.
3759 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3762 Add guards to the public functions of GAppInfo.
3764 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3766 * gio/gcontenttype.c:
3767 Add some more guards for public functions.
3769 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3771 * gio/fam/fam-module.c:
3772 * gio/fam/gfamdirectorymonitor.c:
3773 * gio/fam/gfamdirectorymonitor.h:
3774 * gio/fam/gfamfilemonitor.c:
3775 * gio/fam/gfamfilemonitor.h:
3776 * gio/inotify/ginotifydirectorymonitor.c:
3777 * gio/inotify/ginotifydirectorymonitor.h:
3778 * gio/inotify/ginotifyfilemonitor.c:
3779 * gio/inotify/ginotifyfilemonitor.h:
3780 Add proper copyright information and remove an unused variable
3781 in the GInotifyFileMonitor constructor.
3783 * gio/gcancellable.c:
3784 Add a guard for a public function and an assertion to prevent
3785 an undefined program state.
3787 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3789 * gio/gfileattribute.c:
3790 Don't run into an assertion if the given attribute value is NULL
3791 in g_file_attribute_value_get_*() but instead return a fallback
3792 value that makes sense in most situations. Passing them a attribute
3793 value with the wrong type will still run into an assertion.
3795 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3797 * gio/gfileattribute.c:
3799 Add even more guards to the public functions. Also fix the refcounting
3800 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3801 let g_file_info_list_attributes() filter the attributes by namespace
3802 instead of simply ignoring the namespace parameter.
3804 2007-11-03 Sven Herzberg <sven@imendio.com>
3806 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3807 (This makes gio work on MacOS X again)
3809 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3812 Build the gio subdirectory before the docs. Otherwise the build will
3815 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3816 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3817 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3818 Add guards to the public functions.
3820 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3822 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3823 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3824 to prevent a compiler warning.
3826 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3827 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3828 return something in the non-void function find_topdir_for().
3830 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3837 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3839 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3840 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3841 * gwin32appinfo.c (g_win32_app_info_launch):
3842 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3843 envp_for_startup_id, g_desktop_app_info_launch,
3844 g_desktop_app_info_launch_uris):
3846 Give an opaque 'startup_id' string instead of 'envp'.
3847 Support empty file lists for launching new windows.
3848 Fix infinite recursion bug when launching URIs.
3850 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3853 Add guard to the new g_file_get_uri_scheme() function.
3855 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3858 Convert a g_return_val_if_fail() to setting the GError instead as
3859 otherwise applications have to verify the parameter before otherwise
3860 and the parameter might come directly from the user.
3862 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3864 * gio/inotify/ginotify*.[ch]:
3865 Add missing copyright information.
3867 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3870 Add guards in the beginning of public functions to check for valid
3871 parameters and fix a bug in copy_stream_with_progress() that could've
3872 caused writing less bytes than reading.
3873 * gio/glocalfileinfo.c:
3874 Check for a NULL parameter and set the GError accordingly then.
3875 * gio/goutputstream.c:
3876 Fix the same bug as in gfile.c that could've caused writing less bytes
3877 than reading in g_output_stream_real_splice().
3879 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3882 Use the correct gvolumeprivate.h naming
3884 2007-11-01 Christian Kellner <gicmo@gnome.org>
3887 Remove leftover "$(daemon_sources)" entry.
3889 2007-11-01 Christian Kellner <gicmo@gnome.org>
3894 Add copyright information to source files.
3896 2007-11-01 Alexander Larsson <alexl@redhat.com>
3900 Add g_file_get_uri_scheme
3902 2007-11-01 Alexander Larsson <alexl@redhat.com>
3905 * gio/gdesktopappinfo.c:
3906 * gio/gwin32appinfo.c:
3907 Add g_app_info_get_default_for_uri_scheme.
3909 2007-11-01 Alexander Larsson <alexl@redhat.com>
3912 Correct filename for gdriveprivate.h
3914 2007-10-31 Alexander Larsson <alexl@redhat.com>
3917 Rename id:value to id:file
3920 * gio/glocalfileinfo.c:
3923 2007-10-31 Alexander Larsson <alexl@redhat.com>
3925 * gio/gunixvolume.c:
3927 Remove g_volume_get_platform_id, as thats not
3928 needed with the simpler union volume monitor
3930 2007-10-31 Alexander Larsson <alexl@redhat.com>
3933 * gio/guniondrive.[ch]: Removed.
3934 * gio/gunionvolume.[ch]: Removed.
3935 Remove GUnionDrive/Volume
3937 * gio/gunionvolumemonitor.c:
3938 Simplify union volume monitor, now we
3939 only have one native volume monitor and
3940 we use the actual volumes/drives from the
3941 child monitors instead of wrapping them
3943 * gio/gnativevolumemonitor.[ch]:
3944 Base class for native volume monitors.
3945 Includes priority and get_volume_for_mountpoint
3948 Add g_file_find_enclosing_volume
3951 Remove volume name fs attribute
3952 Add readonly fs attribute
3955 Implement readonly attribute
3956 remove volume name attribute
3957 Implement find_enclosing volume
3959 * gio/gunixmounts.c:
3960 Add a volume for "/".
3962 * gio/gunixvolume.[ch]:
3963 Set better name for /
3965 * gio/gunixvolumemonitor.[ch]:
3966 Derive from GNativeVolumeMonitor
3967 Implement get_volume_for_mountpoint
3970 GVolume typedef moved to gfile.h
3972 * gio/gvolumeprivate.h:
3973 Add g_volume_get_for_mount_path
3975 2007-10-31 Alexander Larsson <alexl@redhat.com>
3977 * gio/gunixmounts.[ch]:
3978 Add cache info to unix mount listers
3979 Make getmntent use threadsafe
3980 Add is_system_internal attribute for GUnixMount
3982 * gio/gunixvolume.c:
3983 (g_unix_volume_new):
3984 Use is_system_internal instead of own code
3986 * gio/glocaldirectorymonitor.c:
3987 * gio/gunixvolumemonitor.c:
3988 Update to new gunixmounts API
3993 2007-10-30 Alexander Larsson <alexl@redhat.com>
3996 Add volume name fsinfo attribute
3999 Read volume name info
4001 * gio/gunionvolumemonitor.c:
4002 Fix infinite loops when finalizing a union volume monitor
4004 2007-10-30 Alexander Larsson <alexl@redhat.com>
4006 * gio/goutputstream.[ch]:
4007 Add splice() with default implementation
4009 * gio/gsocketoutputstream.c:
4010 (g_socket_output_stream_write):
4011 Return error on cancellation correctly.
4013 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4015 * gio/glocalfile.c (g_local_file_trash):
4016 Do not leak a string.
4018 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4020 * gio/gfile.c (g_file_load_contents):
4021 Unref the stream after closing it.
4023 2007-10-25 Alexander Larsson <alexl@redhat.com>
4025 * gio/gioscheduler.h:
4028 2007-10-25 Alexander Larsson <alexl@redhat.com>
4032 Add g_file_has_uri_scheme and implement for local files
4034 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4036 * gio/gdesktopappinfo.c: do not leak a string.
4038 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4040 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4041 (g_local_directory_monitor_new):
4042 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4043 (g_local_file_monitor_new):
4044 Only look for the monitor type that should be used the first time
4045 and use g_qsort_with_data() instead of our own bubble sort
4048 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4051 * gio/fam/Makefile.am:
4052 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4053 * gio/fam/fam-helper.h:
4054 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4055 * gio/fam/gfamdirectorymonitor.c:
4056 * gio/fam/gfamdirectorymonitor.h:
4057 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4058 * gio/fam/gfamfilemonitor.h:
4059 * gio/glocaldirectorymonitor.c:
4060 * gio/glocaldirectorymonitor.h:
4061 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4062 * gio/glocalfilemonitor.h:
4063 * gio/inotify/Makefile.am:
4064 * gio/inotify/ginotifydirectorymonitor.c:
4065 * gio/inotify/ginotifydirectorymonitor.h:
4066 * gio/inotify/ginotifyfilemonitor.c:
4067 * gio/inotify/ginotifyfilemonitor.h:
4068 Implement the FAM and Inotify monitors as
4069 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4070 their own GIO module. GLocal(Directory|File)Monitor will use the
4071 monitor with the highest rank that is supported on that machine.
4073 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4076 Change GIO module dir to $(libdir)/gio/modules and change
4077 the log domain from GVFS to GIO. Also only export symbols starting
4078 with g_ in the resulting library.
4079 * gio/test-streams.c: (main):
4080 Set log handler for the GIO log domain.
4082 2007-10-22 Alexander Larsson <alexl@redhat.com>
4084 * gio/gfilenamecompleter.[ch]:
4085 Add g_filename_completer_set_dirs_only
4087 2007-10-22 Alexander Larsson <alexl@redhat.com>
4090 * gio/gurifuncs.[ch]:
4091 Add some simple URI helpers
4093 * gio/gfilenamecompleter.[ch]:
4094 Added object for filename (parse name actually) completion
4097 Handle ~ in parse names
4099 2007-10-17 Alexander Larsson <alexl@redhat.com>
4102 * gio/glocalfileinfo.c:
4103 Add and implement id:value attribute
4105 2007-10-17 Alexander Larsson <alexl@redhat.com>
4108 * gio/guniondrive.c:
4110 Add and implement g_drive_has_volumes
4112 2007-10-17 Alexander Larsson <alexl@redhat.com>
4115 * gio/glocalfileinfo.[ch]:
4116 Add unix:is_mountpoint and implement for local files
4118 2007-10-16 Alexander Larsson <alexl@redhat.com>
4120 * gio/gunionvolumemonitor.c:
4121 (g_union_volume_monitor_init):
4122 Fix up the unix type getting so that it works with gcc
4124 2007-10-12 Alexander Larsson <alexl@redhat.com>
4127 * gio/glocalfileinfo.c:
4128 Add thumbnail:failed to file info
4130 2007-10-12 Richard Hult <richard@imendio.com>
4132 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4133 optimizing away the get_type call (happens with some gcc versions,
4134 like the one shipped with OS X 10.4).
4136 2007-10-12 Alexander Larsson <alexl@redhat.com>
4138 * gio/glocalfileinfo.c:
4139 (_g_local_file_info_set_attribute):
4140 Fix build if not HAVE_XATTR
4141 Patch from Milosz Derezynski <internalerror@gmail.com>
4143 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4145 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4146 around for review, otherwise I would have asked you before
4149 2007-10-11 Alexander Larsson <alexl@redhat.com>
4152 Add thumbnail:path attribute
4154 * gio/glocalfileinfo.c:
4155 Implement thumbnail:path for local files
4157 2007-10-11 Alexander Larsson <alexl@redhat.com>
4159 * gio/glocalfileinfo.c:
4160 (_g_local_file_info_get):
4161 Avoid duplicate icon names
4163 2007-10-11 Alexander Larsson <alexl@redhat.com>
4165 * gio/gthemedicon.[ch]:
4166 Change g_themed_icon_get_names return type to const
4168 2007-10-10 Alexander Larsson <alexl@redhat.com>
4170 * gio/glocalfileinfo.c:
4171 Don't reference freed memory
4173 2007-10-10 Alexander Larsson <alexl@redhat.com>
4175 * gio/gfileattribute.c:
4178 * gio/glocalfileinfo.c:
4181 2007-10-10 Alexander Larsson <alexl@redhat.com>
4184 Check for NULL icons
4186 * gio/gfileattribute.c:
4187 Don't dup when getting objects (same as for string attributes)
4189 * gio/gicon.c (g_icon_equal):
4190 Safely handle NULLs in equal
4192 2007-10-10 Alexander Larsson <alexl@redhat.com>
4195 Fix c++ compilation issues
4196 Patch from Milosz Derezynski <internalerror@gmail.com>
4198 2007-10-10 Alexander Larsson <alexl@redhat.com>
4200 * programs/gio-monitor-dir.c:
4201 Don't crash if dir monitor not supported.
4203 2007-10-09 Alexander Larsson <alexl@redhat.com>
4206 Add missing G_END_DECLS
4208 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4210 * gio/gfile.c: (g_file_set_display_name),
4211 (g_file_query_settable_attributes),
4212 (g_file_query_writable_namespaces):
4213 Return NULL not FALSE on errors as the return type is a pointer.
4215 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4217 * gio/glocalfile.c: (g_local_file_monitor_file):
4218 Don't call monitor_file on the default interface vtable (which
4219 is NULL) but simply return NULL. The caller, GFile, will create a
4220 polling monitor if NULL is returned.
4222 2007-10-09 Alexander Larsson <alexl@redhat.com>
4226 * gio-unix-2.0.pc.in:
4227 Add gio-unix-2.0.pc if OS_UNIX
4230 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4232 2007-10-09 Alexander Larsson <alexl@redhat.com>
4234 * gio/gunixmounts.[ch]:
4235 Make unix mount monitoring API sane.
4236 Now its just a object with mounts_changed
4237 and mountpoints_changed signals.
4239 * gio/glocaldirectorymonitor.c:
4240 * gio/gunixvolumemonitor.c:
4241 Use new mount monitor api
4243 2007-10-09 Alexander Larsson <alexl@redhat.com>
4245 * gio/gunixmounts.[ch]:
4246 Move guess type into one call for mounts and one for mountpoints
4249 * gio/gunixvolume.c:
4252 2007-10-09 Alexander Larsson <alexl@redhat.com>
4254 * gio/gunixmounts.[ch]:
4255 Remove _ prefix in preparation to make this semi-public
4256 Hide implementation of structs
4258 * gio/glocaldirectorymonitor.c:
4260 * gio/gunixvolume.c:
4261 * gio/gunixvolumemonitor.c:
4262 Update for above API changes
4264 2007-10-08 Alexander Larsson <alexl@redhat.com>
4267 Better polling fallback. This also handles the case where we have
4268 a monitor_file implementation, but it fails.
4270 2007-10-08 Alexander Larsson <alexl@redhat.com>
4274 * gio/gunixmounts.c:
4275 * programs/gio-monitor-dir.c:
4276 * programs/gio-monitor-file.c:
4277 Added cancellable to file monitoring calls.
4278 These are really sync calls and need this.
4280 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4282 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4283 (g_local_vfs_class_init):
4284 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4285 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4287 2007-10-05 Alexander Larsson <alexl@redhat.com>
4289 * gio/gdirectorymonitorprivate.h:
4290 * gio/gfilemonitorprivate.h:
4291 * gio/gdirectorymonitor.h:
4292 * gio/gfilemonitor.h:
4293 Remove *private.h and move to the public API, so that
4294 we can do implementations outside gio (such as in gvfs)
4296 * gio/gdirectorymonitor.c:
4297 * gio/gfilemonitor.c:
4298 * gio/glocaldirectorymonitor.c:
4299 * gio/gpollfilemonitor.c:
4300 * gio/inotify/inotify-helper.c:
4301 * gio/fam/fam-helper.c:
4302 Update to the new header names
4304 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4306 * gio/gdirectorymonitor.c:
4307 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4310 2007-10-04 Alexander Larsson <alexl@redhat.com>
4312 * gio/glocalfileinfo.c (get_access_rights):
4313 Set CAN_TRASH when we can move the file.
4314 We should really also check for a parent trash dir.
4316 2007-10-04 Alexander Larsson <alexl@redhat.com>
4318 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4319 Add can_trash access attribute
4321 2007-10-04 Alexander Larsson <alexl@redhat.com>
4324 (g_local_file_trash):
4325 Create info file first. This is per-spec and allows
4326 us to actually trash directories.
4328 2007-10-02 Alexander Larsson <alexl@redhat.com>
4330 * gio/gdesktopappinfo.c:
4331 Implement the new mime support code.
4332 Always set app as handling mimetype when being set as default for it
4334 2007-10-01 Alexander Larsson <alexl@redhat.com>
4336 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4337 Fix up check for xattrs:
4339 2007-10-01 Alexander Larsson <alexl@redhat.com>
4342 (g_app_info_set_as_default_for_extension):
4343 (g_app_info_add_supports_type):
4344 (g_app_info_can_remove_supports_type):
4345 (g_app_info_remove_supports_type):
4346 Make these fail nicely if not implemented
4348 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4350 * gio/glocalfileoutputstream.c:
4351 * gio/glocalfileoutputstream.h:
4356 * programs/gio-save.c:
4357 Add a GFileCreateFlags argument to operations that can create
4360 2007-10-01 Alexander Larsson <alexl@redhat.com>
4362 * gio/gappinfo.[ch]:
4363 * gio/gdesktopappinfo.c:
4364 Add more (stubbed out) mime API needed for nautilus
4366 2007-10-01 Alexander Larsson <alexl@redhat.com>
4369 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4370 Add g_app_info_set_as_default_for_extension.
4372 * gio/gdesktopappinfo.c:
4373 Dummy for g_app_info_set_as_default_for_extension
4374 Support flags in g_app_info_create_from_commandline
4376 * gio/gwin32appinfo.c:
4378 Update for API changes
4380 * gio/gthemedicon.c:
4381 Properly NULL-terminate list of icon names
4383 2007-09-28 Alexander Larsson <alexl@redhat.com>
4385 * gio/gloadableicon.h:
4386 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4388 2007-09-28 Alexander Larsson <alexl@redhat.com>
4391 Install headers in $includedir/gio-standalone/
4393 * gio-2.0.pc.in: Added.
4394 * gio-standalone.pc.in: Removed.
4397 Renamed pkg-config file to match glib (for future move)
4398 Update to the new include dir
4401 Add more TODO comments
4403 2007-09-28 Alexander Larsson <alexl@redhat.com>
4405 * gio/gdesktopappinfo.[ch]:
4406 Expose new_from_filename
4407 Add getter for is_hidden and handle it better
4409 2007-09-28 Alexander Larsson <alexl@redhat.com>
4411 * gio/gfileinfo.[ch]:
4412 Rename g_file_size_format_for_display to
4413 g_format_file_size_for_display.
4414 Now it doesn't have the g_file prefix, so we
4415 can later move it to glib.
4417 2007-09-28 Alexander Larsson <alexl@redhat.com>
4419 * gio/gappinfo.[ch]:
4420 Add g_app_info_get_id and g_app_info_get_executable.
4421 Make all getters non-reffing
4422 Make g_app_info_launch take GFile arguments.
4423 Add must_support_uris argument to g_app_info_get_default_for_type.
4425 * gio/gwin32appinfo.c:
4426 Update to GAppInfo api changes
4428 * gio/gdesktopappinfo.c:
4429 Update to GAppInfo api changes
4430 Implement supports_xdg_startup_notify
4432 * gio/gfileicon.c (g_file_icon_get_file):
4433 Make getter non-reffing.
4438 2007-09-27 Alexander Larsson <alexl@redhat.com>
4440 * gio/gfileinfo.[ch]:
4441 Add g_file_size_format_for_display helper
4443 2007-09-27 Alexander Larsson <alexl@redhat.com>
4445 * gio/glocalfileinfo.c:
4446 Set UNIX_GID from gid, not from uid
4448 2007-09-27 Alexander Larsson <alexl@redhat.com>
4451 Add g_file_set_attributes_async
4453 2007-09-27 Alexander Larsson <alexl@redhat.com>
4455 * gio/glocalfile.c (g_local_file_set_display_name):
4456 Fix set_display_name to actually rename to the right place.
4457 Use lstat to look for existing files so we don't overwrite
4460 2007-09-26 Alexander Larsson <alexl@redhat.com>
4463 Add g_file_set_display_name_async()
4465 2007-09-26 Alexander Larsson <alexl@redhat.com>
4468 Add load_partial_contents async calls
4471 Make internal function static
4473 2007-09-26 Alexander Larsson <alexl@redhat.com>
4475 * gio/glocalfileinfo.c:
4476 Correctly detect broken symlinks
4478 2007-09-26 Alexander Larsson <alexl@redhat.com>
4480 * gio/gcancellable.c (g_cancellable_cancel):
4481 Allow cancel on NULL cancellable
4483 2007-09-25 Alexander Larsson <alexl@redhat.com>
4485 * gio/gsimpleasyncresult.c:
4486 Don't allocate g_error manually.
4487 Fixes g_slice/g_new mixup crash
4489 2007-09-25 Alexander Larsson <alexl@redhat.com>
4491 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4492 Actually set active_backend.
4493 This means the monitor will be cancelled correctly.
4495 2007-09-25 Alexander Larsson <alexl@redhat.com>
4497 * gio/gdirectorymonitor.c:
4498 Set timeout to NULL when destroying
4500 2007-09-25 Alexander Larsson <alexl@redhat.com>
4503 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4504 that is a better description of the error.
4506 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4508 * gio/gvfs.c: (g_vfs_get_local):
4509 Make the local vfs variable static. The same instance should
4512 2007-09-24 Alexander Larsson <alexl@redhat.com>
4514 * gio/glocalfileinfo.c:
4515 Pass in actual length read into sniffer, not the length
4518 2007-09-21 Alexander Larsson <alexl@redhat.com>
4520 * gio/gfileenumerator.c:
4523 * gio/gfileinputstream.c:
4524 * gio/gfileoutputstream.c:
4525 * gio/ginputstream.c:
4526 * gio/goutputstream.c:
4527 Don't crash if async callbacks are NULL
4529 2007-09-20 Alexander Larsson <alexl@redhat.com>
4532 Add async enumerate_children method and default
4535 2007-09-20 Alexander Larsson <alexl@redhat.com>
4538 Add g_file_contains_file & g_file_get_relative_path, since they
4539 were needed for nautilus.
4540 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4545 Implement new methods
4547 2007-09-17 Alexander Larsson <alexl@redhat.com>
4550 * gio/gfileinputstream.[ch]:
4551 * gio/gfileoutputstream.[ch]:
4553 * gio/glocalfileenumerator.[ch]:
4554 * gio/glocalfileinfo.[ch]:
4555 * gio/glocalfileinputstream.c:
4556 * gio/glocalfileoutputstream.c:
4557 * gio/gpollfilemonitor.c:
4558 * programs/gio-copy.c:
4559 * programs/gio-info.c:
4560 * programs/gio-move.c:
4561 Rename get_file_info to query_info() to make it clearer
4562 that these are not simple getters, but do i/o.
4564 2007-09-17 Alexander Larsson <alexl@redhat.com>
4566 * gio/gdatainputstream.[ch]:
4567 * gio/test-streams.c:
4568 Use _read_XXX instead of _get_XXX for the i/o calls
4571 2007-09-17 Alexander Larsson <alexl@redhat.com>
4574 Added needed stuff to TODO comment
4576 2007-09-17 Alexander Larsson <alexl@redhat.com>
4578 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4579 Don't error out removing the backup copy if it doesn't
4582 2007-09-14 Alexander Larsson <alexl@redhat.com>
4584 * programs/Makefile.am:
4585 * programs/gvfs-*.c:
4587 Renamed apps from gvfs-xxx to gio-xxx.
4589 2007-09-14 Alexander Larsson <alexl@redhat.com>
4592 * gio/gfileoutputstream.[ch]:
4593 * gio/glocalfileoutputstream.c:
4594 * programs/gvfs-save.c:
4595 g_file_output_stream_get_etag doesn't do i/o, so remove
4596 cancellation and error.
4598 2007-09-14 Alexander Larsson <alexl@redhat.com>
4601 Add new_etag output to replace_contents functions
4603 2007-09-14 Alexander Larsson <alexl@redhat.com>
4605 * gio/gfileoutputstream.[ch]:
4606 Add async get_file_info and default implementation
4608 2007-09-14 Alexander Larsson <alexl@redhat.com>
4610 * gio/gfileinputstream.c:
4611 Implement fallback wrapper for async get_file_info
4613 2007-09-14 Alexander Larsson <alexl@redhat.com>
4616 Add etag out argument to load_contents
4621 2007-09-14 Alexander Larsson <alexl@redhat.com>
4623 * gio/gcontenttype.c (looks_like_text):
4624 Whitespace like tab, cr and lf do not make the
4627 2007-09-14 Alexander Larsson <alexl@redhat.com>
4629 * gio/gfileinputstream.[ch]:
4630 Add async get_file_info.
4632 2007-09-13 Alexander Larsson <alexl@redhat.com>
4634 * gio/goutputstream.c (g_output_stream_write_all):
4635 Allow NULL for bytes_written
4637 2007-09-13 Alexander Larsson <alexl@redhat.com>
4639 * gio/gmemoryinputstream.[ch]:
4640 Add accessors for data
4642 2007-09-13 Alexander Larsson <alexl@redhat.com>
4644 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4645 Don't crash if length is NULL