1 2008-07-22 Priit Laes <plaes@plaes.org>
3 Bug 544140 - fam-helper 64-bit issue?
5 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
7 2008-07-21 Matthias Clasen <mclasen2redhat.com>
9 * === Released 2.17.4 ===
11 2008-07-20 Matthias Clasen <mclasen@redhat.com>
13 * gvolumemonitor.[hc]:
18 * gmount.c: Documentation fixes
20 2008-07-19 Matthias Clasen <mclasen@redhat.com>
22 543504 – crash in Epiphany Web Browser: Opening local file
33 * gvolume.c: Register types thread-safely.
34 Patch by Christian Persch
36 2008-07-18 Matthias Clasen <mclasen@redhat.com>
38 * gcontenttype.c: Remove debug spew
40 2008-07-18 Matthias Clasen <mclasen@redhat.com>
42 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
45 * fen/fen-kernel.c: Remove a warning that was causing
46 crashes. Reported by Lin Ma.
48 2008-07-18 Matthias Clasen <mclasen@redhat.com>
50 Bug 543040 – async reading on dummy file will crash on
53 * gfile.c (open_read_async_thread): Cope with read_fn being
54 NULL. Reported by Lin Ma.
56 2008-07-18 Matthias Clasen <mclasen@redhat.com>
59 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
61 2008-07-16 Matthias Clasen <mclasen@redhat.com>
65 * giomodule.c: Rename a chapter id to avoid filename conflict.
67 2008-07-16 Matthias Clasen <mclasen@redhat.com>
69 Bug 540616 – mem leak in filechooser button
71 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
72 the mount entry. Reported by Chrisitan Persch
74 2008-07-16 Matthias Clasen <mclasen@redhat.com>
76 * gfile.c: Small documentation fixes.
78 2008-07-15 Matthias Clasen <mclasen@redhat.com>
80 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
82 2008-07-08 Matthias Clasen <mclasen@redhat.com>
87 * gmount.c: Documentation improvements.
89 2008-07-08 Matthias Clasen <mclasen@redhat.com>
92 * gmount.[hc]: Add g_mount_guess_content_type().
94 2008-07-06 David Zeuthen <davidz@redhat.com>
97 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
98 is needed for easily handling adoption of foreign volumes by
99 out-of-process volume monitors (#541793)
101 2008-07-06 David Zeuthen <davidz@redhat.com>
103 * gvolumemonitor.[ch]:
104 * gunionvolumemonitor.c: Export the eject-button signal on the
105 volume monitor class (#541794).
107 2008-07-06 Matthias Clasen <mclasen@redhat.com>
109 * gappinfo.c: More doc tweaks
111 2008-07-05 Matthias Clasen <mclasen@redhat.com>
113 * gappinfo.c: Clarify some docs
115 2008-07-03 Matthias Clasen <mclasen@redhat.com>
117 * gdesktopappinfo.c: Fix a stupid mistake.
119 2008-07-02 Matthias Clasen <mclasen@redhat.com>
121 * === Released 2.17.3 ===
123 2008-07-02 Matthias Clasen <mclasen@redhat.com>
125 * gfilemonitor.c: Fix the build.
127 2008-07-02 Matthias Clasen <mclasen@redhat.com>
129 Bug 536160 – Add g_file_monitor()
132 * gfile.[hc]: Add g_file_monitor which can return either
133 a file or a directory monitor. Proposed by Behdad Esfahbod
135 2008-07-02 Matthias Clasen <mclasen@redhat.com>
137 536733 – gio build failure on Irix
139 * glocalfile.c: Use a configure check for structfs.f_bavail.
141 2008-07-02 Matthias Clasen <mclasen@redhat.com>
143 Bug 534639 – add g_desktop_app_info_new_from_keyfile
146 * gdesktopappinfo.[hc]: Add a function to create a
147 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
149 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
151 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
153 2008-07-01 Matthias Clasen <mclasen@redhat.com>
155 * gunixmounts.c: Fix a doc typo.
157 2008-07-01 Cody Russell <bratsche@gnome.org>
159 * gio/gcontenttype.c:
160 * gio/gwin32appinfo.c:
161 * gio/gwin32volumemonitor.c:
162 * gio/gwin32mount.c: Fixed some include problems.
164 2008-07-01 Cody Russell <bratsche@gnome.org>
168 Moved all relevant typedefs into these files.
171 Updated wrt added files.
173 Split types into separate file for easier maintainership. (#538564)
175 2008-06-30 Matthias Clasen <mclasen@redhat.com>
177 Bug 540331 – g_file_append_to () documentation: can return NULL
179 * gfile.c (g_file_append_to): Clarify docs.
182 2008-06-30 Matthias Clasen <mclasen@redhat.com>
184 Bug 539090 – g_content_type_from_mime_type() should unalias
186 * gcontentype.c (g_content_type_from_mime_type): Unalias.
187 Patch by Markus Bergman
189 2008-06-30 Matthias Clasen <mclasen@redhat.com>
191 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
194 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
195 on ppc and alpha. Reported by Mart Raudsepp
197 2008-06-29 Matthias Clasen <mclasen@redhat.com>
200 * tests/memory-output-stream.c: Add some tests for
203 2008-06-29 Matthias Clasen <mclasen@redhat.com>
205 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
208 * gmemoryoutputstream.c (array_resize): Handle truncation to
209 zero correctly. Reported by Akira Tagoh
211 2008-06-29 Matthias Clasen <mclasen@redhat.com>
213 * gmemoryoutputstream.c: Trivial doc fixes
215 2008-06-29 Matthias Clasen <mclasen@redhat.com>
217 Bug 540802 – g_list_prepend doesn't concat lists
219 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
220 one list to another. Pointed out by Jan Arne Petersen
222 2008-06-28 Michael Natterer <mitch@imendio.com>
224 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
226 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
228 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
229 to avoid problems with partial icon themes.
231 2008-06-17 Hans Breuer <hans@breuer.org>
233 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
234 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
235 access again on win32, see bug #538127
236 * giomodule.c : ensure GWin32VolumeMonitor is registered
237 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
238 * Makefile.am makefile.msc : updated
240 2008-06-16 Hans Breuer <hans@breuer.org>
242 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
243 and initialization in one step avoids c99ism
245 2008-06-16 Christian Persch <chpe@gnome.org>
248 * gio/gbufferedinputstream.c
250 * gio/gdatainputstream.c
251 * gio/gdesktopappinfo.c
253 * gio/gfileenumerator.c
254 * gio/gfileinputstream.c
255 * gio/gfileoutputstream.c
257 * gio/glocaldirectorymonitor.c
259 * gio/glocalfileenumerator.c
260 * gio/glocalfileinfo.c
261 * gio/glocalfilemonitor.c
262 * gio/glocalfileoutputstream.c
263 * gio/gmemoryinputstream.c
264 * gio/gmemoryoutputstream.c
265 * gio/goutputstream.c
266 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
269 2008-06-16 Tor Lillqvist <tml@novell.com>
271 Bug 538362 - Get Win32 icons back in the file chooser
273 * gcontenttype.c (g_content_type_get_icon): Look up the icon
274 corresponding to a file extension in the Registry. Patch by Hans
276 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
278 2008-06-16 Tor Lillqvist <tml@novell.com>
280 Patches by Hans Breuer:
282 * glocalfile.c (is_xp_or_later): Handle compiling against older
283 SDK headers with missing VerifyVersionInfo(). Conditioned on
284 _MSC_VER, but should probably use some better test.
285 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
286 uninitialised statfs_result variable on Win32.
288 2008-06-16 Michael Natterer <mitch@imendio.com>
290 * *.c: chain up unconditionally in finalize() and dispose(). Also
291 don't dereference these function pointers when calling them since
292 that has no meaning at all.
294 2008-06-16 Ross Burton <ross@burtonini.com>
297 Remove check for dispose implementation as it annoys Emmanuele.
299 2008-06-16 Ross Burton <ross@burtonini.com>
301 Bug 536252 – GFileEnumerator should allow access to the containing
307 Add g_file_enumerator_get_container() and a container writeable
308 construct-only property. Also shuffle around typedefs to make it
311 * glocalfileenumerator.c:
312 * glocalfileenumerator.h:
314 Instead of a string filename take a GFile in the constructor and
315 use it to set the container property.
320 2008-06-16 Matthias Clasen <mclasen@redhat.com>
322 * gfile.c: Make includes more uniform
324 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
326 * tests/live-g-file.c (sample_struct):
327 Use less fancy unicode filenames, so the test doesn't fail
328 on Mac OS X (#531476).
330 2008-06-12 Matthias Clasen <mclasen@redhat.com>
332 * === Released 2.17.2 ===
334 2008-06-12 Matthias Clasen <mclasen@redhat.com>
336 * === Released 2.17.1 ===
338 2008-06-11 A. Walton <awalton@gnome.org>
340 * tests/g-file.c (test_g_file_new_null):
341 Fix broken test case.
343 2008-06-11 Matthias Clasen <mclasen@redhat.com>
345 * pltcheck.sh: We use g_clear_error now.
347 2008-06-11 Matthias Clasen <mclasen@redhat.com>
349 * glocalfile.c (g_local_file_enumerate_children): Revert
350 an unintended change.
352 2008-06-11 Matthias Clasen <mclasen@redhat.com>
354 * gfile.c (g_file_replace_contents): Don't unref before the last use.
356 2008-06-10 Matthias Clasen <mclasen@redhat.com>
358 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
361 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
362 as icon for the desktop directory, also make user-home and
363 user-desktop the preferred icons.
365 2008-06-10 Matthias Clasen <mclasen@redhat.com>
368 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
369 to add a name to the front of the list.
371 2008-06-10 Matthias Clasen <mclasen@redhat.com>
373 Bug 537392 – Additional colon in xattr name
375 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
376 too. Reported by Alessandro Morandi
378 2008-06-10 Matthias Clasen <mclasen@redhat.com>
380 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
383 * glocalfile.c (get_fs_type): Add afs and autofs.
384 Patch by Danny Baumann.
386 2008-06-10 Matthias Clasen <mclasen@redhat.com>
388 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
390 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
391 is no parent. (Owen Taylor, patch by Christian Neumair)
393 2008-06-10 Paolo Borelli <pborelli@katamail.com>
395 * gfile.c (g_file_replace_contents): do not leak the output stream.
397 2008-06-10 Michael Natterer <mitch@imendio.com>
399 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
400 uninitialized memory as array index.
402 2008-06-10 Tor Lillqvist <tml@novell.com>
404 * gcontenttype.c (g_content_type_can_be_executable)
405 (g_content_type_get_icon) [Win32]: Add TODO comments.
407 2008-06-09 Matthias Clasen <mclasen@redhat.com>
409 * xdgmime/Makefile.am: Fix the build
411 2008-06-09 Matthias Clasen <mclasen@redhat.com>
413 * gcontenttype.c (g_content_type_get_icon): Use icons specified
414 in the shared mime database, if available.
416 * xdgmime/*: Sync with upstream. This brings support for
417 glob weights, generic icons, and changes the cache format to
420 2008-05-28 Michael Natterer <mitch@imendio.com>
422 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
423 the global CPPFLAGS now.
425 * tests/data-input-stream.c
426 * tests/data-output-stream.c
427 * tests/g-file-info.c
429 * tests/live-g-file.c
430 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
432 2008-05-27 Matthias Clasen <mclasen@redhat.com>
434 * === Released 2.17.0 ===
436 * tests/live-g-file.c: Clean up after the tests, so make distcheck
437 doesn't complain about leftover files.
439 2008-05-27 simon.zheng <simon.zheng@sun.com>
441 * glocalfile.c: (g_local_file_query_filesystem_info):
442 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
444 2008-05-26 Michael Natterer <mitch@imendio.com>
446 * gmemoryoutputstream.h: declare
447 g_memory_output_stream_get_data_size().
449 2008-05-26 Matthias Clasen <mclasen@redhat.com>
451 * tests/*: Make tests work
453 2008-05-26 Matthias Clasen <mclasen@redhat.com>
455 * gio.symbols: Add g_memory_output_stream_get_data_size.
457 2008-05-25 Ross Burton <ross@burtonini.com>
460 Fix typo in error message (#534764).
462 2008-05-25 Ross Burton <ross@burtonini.com>
465 Fix circular dependency loop for gioenumtypes.h (#534759).
467 2008-05-19 Hans Breuer <hans@breuer.org>
469 * Makefile.am : EXTRA_DIST += makefile.msc
471 2008-05-17 Matthias Clasen <mclasen@redhat.com>
474 * gcontenttype.c: (g_content_type_from_mime_type):
475 New function to create a content type from a mime type. (#527175,
478 2008-05-17 Matthias Clasen <mclasen@redhat.com>
480 Bug 532965 – Should not return filesystem::free for certain file systems
482 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
483 free space for ncpfs.
485 2008-05-17 Matthias Clasen <mclasen@redhat.com>
487 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
489 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
490 st_dev might be zero.
492 2008-05-16 Tor Lillqvist <tml@novell.com>
494 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
495 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
497 2008-05-13 Bastien Nocera <hadess@hadess.net>
499 * gfile.c (has_valid_scheme): A URI scheme must start with a
500 letter, even if later more characters are allowed (#532852)
502 2008-05-05 Michael Natterer <mitch@imendio.com>
504 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
505 code from being checked in that breaks the build of applications
506 which use G_DISABLE_SINGLE_INCLUDES.
508 * makegioalias.pl: make the alias file include "glib.h" instead of
511 * gio.symbols: whitespace change to force regeneration of the
512 alias file after above script change.
514 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
516 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
518 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
520 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
522 2008-04-28 David Zeuthen <davidz@redhat.com>
524 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
525 displaying mounts in a subdirectory not accessible to the
528 2008-04-22 Michael Natterer <mitch@imendio.com>
530 * Makefile.am: fix library versioning (it was 0.0.0).
532 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
534 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
535 Default disable all loggings.
536 * fen/fen-kernel.c: (printevent), (port_add_kevent),
537 (port_fetch_event_cb): Fixed two macro nits.
539 2008-04-16 Matthias Clasen <mclasen@redhat.com>
541 * xdgmime/xdgmime.c: Rework the timestamp checking code
542 to protect against duplicate directories in XDG_DATA_DIRS.
543 Fixes fd.o bug 12513, reported by Joe Shaw.
545 2008-04-16 Matthias Clasen <mclasen@redhat.com>
547 Partically revert the last commit after realizing that
548 xdg_mime_media_type_equal doesn't have to init at all.
551 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
553 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
555 2008-04-16 Matthias Clasen <mclasen@redhat.com>
557 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
558 reported by Joe Shaw and Federico Mena Quintero.
560 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
561 (xdg_mime_media_type_equal): Turn into a wrapper around the
564 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
565 functions throughout.
567 2008-04-16 Michael Meeks <michael.meeks@novell.com>
569 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
570 tolerate an empty TryExec= line without failing; nautilus used
571 to create launchers with these in previous versions. Fixes #528433
573 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
575 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
576 after name. Fixes #527132.
578 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
580 * gfile.c: (g_file_replace):
583 2008-04-07 Matthias Clasen <mclasen@redhat.com>
585 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
587 * gfile.c (file_copy_fallback): Fix the argument order. Patch
588 by Christian Kellner.
590 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
592 * gunixmounts.c: (g_unix_mount_guess_should_display):
593 Don't list the user directory as a mount, fix potential issue
594 when other users have a similar naming and don't special case the
595 gvfs mounts there since that's not required (#525866)
597 2008-03-31 Alexander Larsson <alexl@redhat.com>
599 * glocalfile.c (get_parent):
602 2008-03-31 A. Walton <awalton@svn.gnome.org>
604 * gfile.c (g_file_query_file_type):
605 Always return a GFileType enum value (#520715).
607 2008-03-31 Alexander Larsson <alexl@redhat.com>
609 * glocalfileenumerator.c:
610 Read readdir() info in chunks (of 1000) and sort
611 the chunks by inode before stat:ing.
612 This is a 20% performance increase in testing
613 gvfs-ls on /usr/bin with cold cache.
615 2008-03-31 Alexander Larsson <alexl@redhat.com>
617 * gmemoryoutputstream.c:
618 Clarify docs for g_memory_output_stream_get_size.
619 Add g_memory_output_stream_get_data_size.
621 2008-03-30 Matthias Clasen <mclasen@redhat.com>
625 * gfile.h: Add g_file_query_file_type convenience function
626 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
628 2008-03-30 Matthias Clasen <mclasen@redhat.com>
631 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
633 2008-03-28 A. Walton <awalton@svn.gnome.org>
635 * giomodule.c (_g_io_modules_ensure_loaded):
636 Adds GIO_EXTRA_MODULES environment variable support, closing bug
639 2008-03-28 Alexander Larsson <alexl@redhat.com>
642 (copy_stream_with_progress):
645 2008-03-28 Alexander Larsson <alexl@redhat.com>
648 (copy_stream_with_progress):
649 (file_copy_fallback):
650 Fallback to g_file_query_info for source size
651 if g_file_input_stream_query_info fails. (#524579)
653 2008-03-28 Alexander Larsson <alexl@redhat.com>
655 * glocalfile.c (g_local_file_move):
656 Reuse old string instead of adding new one.
658 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
660 * fen/*.[hc]: still copyright issue. I hate copyright.
662 2008-03-27 Alexander Larsson <alexl@redhat.com>
664 * glocalfile.c (g_local_file_move):
665 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
666 file over directory. This is according to the docs and what the move via
667 copy+remove fallback does.
669 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
671 * fen/*.[hc]: Updated copyright.
673 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
675 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
677 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
679 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
680 not emit attribute changed events when optimizing changed events.
681 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
684 2008-03-19 Matthias Clasen <mclasen@redhat.com>
686 * gmountoperation.[hc]: Small documentation additions
688 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
690 * gunixmounts.c: (guess_mount_type):
691 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
693 2008-03-19 Alexander Larsson <alexl@redhat.com>
696 (copy_stream_with_progress):
697 Bump block side for copy to 64k to minimize
698 overhead for low latency links. (#523015)
700 2008-03-16 Tor Lillqvist <tml@novell.com>
702 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
703 depend on gio.def on Windows.
705 2008-03-12 David Zeuthen <davidz@redhat.com>
709 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
711 2008-03-14 Alexander Larsson <alexl@redhat.com>
715 Avoid redudant tests (#521851)
716 Patch from Josselin Mouette
718 2008-03-14 Alexander Larsson <alexl@redhat.com>
721 (g_file_monitor_is_cancelled):
722 Fix C89 issue (#521672)
723 Patch from Jens Granseuer
725 2008-03-14 Alexander Larsson <alexl@redhat.com>
727 * fam/fam-helper.[ch]:
729 Shut down fam (including removing fam GSource) when
730 module is unloaded (#521513)
731 Patch from Joe Marcus Clarke
733 2008-03-14 Alexander Larsson <alexl@redhat.com>
736 (_g_io_modules_ensure_loaded):
739 2008-03-14 Alexander Larsson <alexl@redhat.com>
742 (g_local_file_query_filesystem_info):
743 Use right define name for f_fstypename member check
745 2008-03-14 Alexander Larsson <alexl@redhat.com>
748 * fen/Makefile.am: Added.
749 * fen/fen-data.[ch]: Added.
750 * fen/fen-dump.[ch]: Added.
751 * fen/fen-helper.[ch]: Added.
752 * fen/fen-kernel.[ch]: Added.
753 * fen/fen-missing.[ch]: Added.
754 * fen/fen-node.[ch]: Added.
755 * fen/fen-sub.[ch]: Added.
756 * fen/gfendirectorymonitor.[ch]: Added.
757 * fen/gfenfilemonitor.[ch]: Added.
759 Added Solaris FEN file notification backend.
760 Patch from Lin Ma <Lin.Ma@Sun.COM>
762 2008-03-13 Tor Lillqvist <tml@novell.com>
764 * Makefile.am: Actually use the gio.def file when linking the
765 library on Windows. Produce .lib library for Microsoft's toolchain
766 when possible. Install the .lib and .def file like for the other
769 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
771 * tests/live-g-file.c:
772 Include live-g-file in standard set of tests, making a temporary
773 directory in source structure.
775 Clean target directory before the tests (write mode only)
777 2008-03-12 Tor Lillqvist <tml@novell.com>
779 Bug 517419 - gio win32 directory monitor
780 Implementation by Vlad Grecescu.
783 * win32/gwin32directorymonitor.h
784 * win32/gwin32directorymonitor.c: New files.
786 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
788 * Makefile.am: Add the win32 subdirectory.
790 2008-03-12 Tor Lillqvist <tml@novell.com>
792 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
793 normal struct stat on Unix but struct _stati64 on Windows to have
794 access to 64-bit file size information. Use that instead of struct
795 stat in the functions declared here in this private header.
797 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
798 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
799 warnings about unused functions and variables. Don't set
800 meaningless attributes like inode numbers on Windows.
802 2008-03-12 Benjamin Otte <otte@gnome.org>
805 trim whitespace so gtk-doc groks the function name
807 2008-03-12 Tor Lillqvist <tml@novell.com>
809 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
810 returning FALSE, on Win32.
812 2008-03-11 Alexander Larsson <alexl@redhat.com>
815 * glocalfileinfo.[ch]:
816 Correctly implement can_trash by actually
817 looking for a trash dir, not just assuming
820 2008-03-10 Matthias Clasen <mclasen@redhat.com>
822 * === Released 2.16.1 ===
824 2008-03-11 Alexander Larsson <alexl@redhat.com>
827 Fix crashes in new constructor and properties code
829 2008-03-10 Murray Cumming <murrayc@murrayc.com>
831 * gfile.c: Minor spelling correction in documentation:
832 existance -> existence.
834 2008-03-10 Matthias Clasen <mclasen@redhat.com>
836 * === Released 2.16.0 ===
838 2008-03-10 Matthias Clasen <mclasen@redhat.com>
840 * gio.symbols: Remove g_file_contains_file here, too.
842 2008-03-10 Matthias Clasen <mclasen@redhat.com>
844 * gthemedicon.c: Add properties to make bindings happy. (#517676,
845 Samuel Cormier-Iijima)
847 2008-03-08 Tor Lillqvist <tml@novell.com>
849 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
852 2008-03-07 Alexander Larsson <alexl@redhat.com>
855 (g_local_file_query_filesystem_info):
856 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
857 Patch from Jasper Lievisse Adriaanse
859 2008-03-06 Tor Lillqvist <tml@novell.com>
861 * gfileinfo.h: Correct milliseconds to microseconds in the doc
862 comments for the *_USEC attributes.
864 2008-03-06 Alexander Larsson <alexl@redhat.com>
866 * gfile.c (g_file_query_exists):
867 Add g_return_val_if_fail check (#520700)
869 2008-03-06 Alexander Larsson <alexl@redhat.com>
874 * gunionvolumemonitor.c:
877 * tests/live-g-file.c:
878 * xdgmime/xdgmimecache.c:
879 Fix sparse warnings (#519489)
881 2008-03-05 Alexander Larsson <alexl@redhat.com>
884 Make cancellation threadsafe (i.e.
885 guarantee its only done once, and always
888 * glocaldirectorymonitor.c:
889 Make sure we the monitor lives while the
890 mounts_changed callback is being called (#520484)
892 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
894 * gbufferedinputstream.c: Fix typo in parameter
897 2008-03-04 Alexander Larsson <alexl@redhat.com>
900 Remove deprecated symbols we kept for one release.
902 2008-03-04 Murray Cumming <murrayc@murrayc.com>
905 * goutputstream.c: Tiny documentation corrections.
907 2008-03-03 Alexander Larsson <alexl@redhat.com>
909 * gunionvolumemonitor.c:
911 Fix the adopt_orphan_mount vfunc to take a
912 volume_monitor reference in an ABI compat way.
913 This change is not API compat, but the added
914 arg is not used in the only user of this vfunc, so
915 all we get is a harmless warning in gvfs (#520169)
917 2008-03-01 Benjamin Otte <otte@gnome.org>
920 clarify docs for g_file_delete().
922 2008-02-29 Alexander Larsson <alexl@redhat.com>
926 Make sure empty files get text/plain type (#518720)
928 2008-02-27 Alexander Larsson <alexl@redhat.com>
934 (g_unix_volume_mount):
935 Add missing GMountMountFlags argument
937 2008-02-26 Alexander Larsson <alexl@redhat.com>
940 (g_local_file_delete):
941 Handle filesystems (like ntfs-3g) that return EEXIST instead
942 of ENOTEMPTY (#518816)
944 2008-02-25 Matthias Clasen <mclasen@redhat.com>
946 * === Released 2.15.6 ===
948 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
950 * gfile.c (g_file_find_enclosing_mount):
951 * ginputstream.c (g_input_stream_set_pending):
952 * glocalfile.c (g_local_file_find_enclosing_mount):
953 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
954 * goutputstream.c (g_output_stream_set_pending):
956 Fixup translator comments (#518578).
958 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
960 * gfile.c (g_file_find_enclosing_mount):
962 * glocalfile.c (g_local_file_find_enclosing_mount):
965 Fix a few typos in translator comments and documentation.
967 2008-02-25 Alexander Larsson <alexl@redhat.com>
974 Add translator comments (#518578)
976 2008-02-25 Alexander Larsson <alexl@redhat.com>
979 Reintroduce g_file_contains_file, keep around for one
980 unstable release cycle to avoid crashing to many apps.
981 Make sure to delete after release.
983 2008-02-25 Alexander Larsson <alexl@redhat.com>
986 Remove deprecated g_file_contains_file.
988 2008-02-25 Alexander Larsson <alexl@redhat.com>
991 Emit actual change signals in an idle handler.
992 This avoids reentrance and locking problems in
993 the file notification backends.
995 2008-02-25 Alexander Larsson <alexl@redhat.com>
998 (g_unix_mount_guess_should_display):
999 Remove type guessing, instead just display
1000 mounts in /media and in ~/.
1002 2008-02-25 Alexander Larsson <alexl@redhat.com>
1005 Make new strings reuse old ones.
1007 2008-02-25 Alexander Larsson <alexl@redhat.com>
1010 Implement trashing and filesystem::readonly for win32 (#517235)
1011 Patch from Yevgen Muntyan
1013 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1015 * gfileinfo.h: Documentation fixes.
1017 2008-02-22 Alexander Larsson <alexl@redhat.com>
1019 * gcontenttype.c (g_content_type_get_icon):
1020 Look at old-style gnome mime icon names too, as many
1021 have not moved to the new style.
1023 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1025 * *.c: Correct the @include in for section docs.
1027 2008-02-21 David Zeuthen <davidz@redhat.com>
1029 * glocalfileinfo.c: (_g_local_file_info_get):
1031 (g_content_type_get_icon): Implement this function by
1032 moving bits from glocalfileinfo.c
1033 (g_content_type_get_description): Unalias before getting
1034 description (#517687)
1036 * gfile.c: (g_file_class_init),
1037 (g_file_query_filesystem_info_async),
1038 (g_file_query_filesystem_info_finish),
1039 (query_filesystem_info_data_free),
1040 (query_filesystem_info_async_thread),
1041 (g_file_real_query_filesystem_info_async),
1042 (g_file_real_query_filesystem_info_finish):
1043 * gfile.h: Implement async version of
1044 g_file_query_filesystem_info()
1046 * gfileinfo.h: Add new attributes for filesystem::use-preview
1048 * gio.symbols: Update
1050 * gthemedicon.c: (g_themed_icon_append_name):
1051 * gthemedicon.h: Add new new convenience function.
1053 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1054 (get_mounts), (get_volumes), (get_connected_drives),
1055 (get_volume_for_uuid), (get_mount_for_uuid),
1056 (g_union_volume_monitor_init), (populate_union_monitor),
1057 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1058 (g_volume_monitor_adopt_orphan_mount):
1060 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1061 monitor implementations to call into the main volume monitor. Also
1062 separate object initialization and volume monitor initialization
1063 such that non-native volume monitors can properly adopt their
1066 2008-02-21 Alexander Larsson <alexl@redhat.com>
1071 2008-02-21 Alexander Larsson <alexl@redhat.com>
1074 Add more documentation about how GFiles work (from #517086)
1076 2008-02-21 Alexander Larsson <alexl@redhat.com>
1080 Add new g_file_has_prefix that does the same as g_file_contains_file.
1081 Deprecate g_file_contains_file and add a macro that converts
1082 it to g_file_has_prefix.
1083 The reason for this change is that the contains_file() name seems to
1084 imply that this does more work than what it does, but its really only
1085 a name match (from #517086)
1090 Update to match the above change.
1092 2008-02-20 Benjamin Otte <otte@gnome.org>
1094 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1095 (g_file_eject_mountable):
1096 even more cases of not returning in error path
1098 2008-02-20 Benjamin Otte <otte@gnome.org>
1100 * gfile.c: (g_file_mount_mountable):
1101 return from function in error path.
1103 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1106 Remove trailing coma in GMountMountFlags struct
1108 2008-02-18 Alexander Larsson <alexl@redhat.com>
1112 * glocalfileoutputstream.c:
1113 Use g_unlink/g_rename instead of unlink/rename;
1114 do not pass raw filenames to g_set_error. (#517239)
1115 Patch from Yevgen Muntyan.
1117 2008-02-18 Alexander Larsson <alexl@redhat.com>
1120 * glocalfileoutputstream.c:
1121 Open files with O_BINARY on windows. (#517140)
1123 2008-02-14 Alexander Larsson <alexl@redhat.com>
1125 * glocalfileoutputstream.c:
1126 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1128 2008-02-14 Alexander Larsson <alexl@redhat.com>
1131 Copy permissions with file on copy (#514084)
1132 This is what cp does and makes sure e.g. the
1133 exec permissions are kept.
1134 Its kinda weird in that it keeps the permission bits
1135 the same while the uid and gid are different. However
1136 the new uid is the user so its not a security issue,
1137 and I've heard no complaints about cp on this issue.
1139 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1141 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1143 2008-02-13 Alexander Larsson <alexl@redhat.com>
1145 * inotify/inotify-path.c:
1146 Define IN_ONLYDIR if not in header (#515346)
1148 2008-02-12 Alexander Larsson <alexl@redhat.com>
1150 * tests/live-g-file.c:
1153 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1155 * === Released 2.15.5 ===
1157 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1159 * gio.symbols: Add g_mount_mount_flags_get_type.
1161 2008-02-11 Alexander Larsson <alexl@redhat.com>
1164 (g_file_info_set_attribute_mask):
1165 (g_file_attribute_matcher_matches_id):
1166 Correctly handle NULL GAttributeMatcher meaning
1167 matches nothing. (Fixes #513492)
1169 2008-02-11 Alexander Larsson <alexl@redhat.com>
1174 Added GMountMountFlags enum and added a flags
1175 argument to all mount calls.
1177 This is an API/ABI change for future extensibility,
1178 as I think we will need at least an
1179 inhibit-autorun flag (the panel needs this).
1180 There are no flags defined yet though.
1182 2008-02-11 Alexander Larsson <alexl@redhat.com>
1185 Added new standard::description attribute.
1186 Requested by Vincent, and useful for both
1189 2008-02-11 Alexander Larsson <alexl@redhat.com>
1191 * gdesktopappinfo.c:
1194 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1196 * *.c: Documentation additions
1198 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1200 * gappinfo.h: Formatting cleanup
1201 * gappinfo.c: Fix up docs.
1203 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1205 * gunixmounts.c: Consistently use getmntent_r() and fall
1206 back to getmntent(). (#515492)
1208 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1210 * gbufferedinputstream.c:
1212 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1214 * tests/data-input-stream.c:
1215 * tests/data-output-stream.c: Portability fixes.
1217 2008-02-08 Alexander Larsson <alexl@redhat.com>
1222 Add g_volume_should_automount.
1225 2008-02-07 Tor Lillqvist <tml@novell.com>
1227 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1228 Win32, too Unix-specific.
1230 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1232 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1233 a local plt if the compiler doesn't support what we want. Bug #514702
1235 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1237 reviewed by: <delete if not using a buddy>
1240 * gunixinputstream.c:
1241 * gunixoutputstream.c:
1243 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1245 * tests/Makefile.am:
1246 * tests/live-g-file.c:
1247 * tests/live-g-file.txt:
1248 New GIO testing module working over real data
1250 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1252 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1253 Fallback to rename() if link() is not available
1254 (when no support on target filesystem)
1256 2008-02-06 Michael Natterer <mitch@imendio.com>
1258 * gfileinfo.c (g_file_info_get_icon): replace
1259 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1261 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1263 * gfile.c (g_file_create):
1264 Documentation update of error codes
1266 2008-02-06 Alexander Larsson <alexl@redhat.com>
1268 * gdesktopappinfo.c:
1269 Update to use both mimeapps.list and
1270 defaults.list as discussed on xdg list.
1272 2008-02-06 Benjamin Otte <otte@gnome.org>
1275 * gfilenamecompleter.c:
1276 Fix some typos in the documentation.
1278 2008-02-06 Alexander Larsson <alexl@redhat.com>
1280 * glocalfile.c (g_local_file_trash):
1281 Don't succeed with trash if newly created
1282 trash dir has the wrong owner. (#514696)
1284 2008-02-05 Alexander Larsson <alexl@redhat.com>
1286 * glocalfile.c (g_local_file_move):
1287 Don't spew warnings when destination is not
1290 2008-02-03 Hans Breuer <hans@breuer.org>
1292 * makefile.msc : update
1294 2008-02-01 Michael Natterer <mitch@imendio.com>
1296 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1297 return value of xdg_mime_list_mime_parents() to a variable of the
1300 2008-02-01 Alexander Larsson <alexl@redhat.com>
1302 * gappinfo.c (g_app_info_launch_uris):
1303 Actually call the launch_uris method, not
1306 2008-02-01 Alexander Larsson <alexl@redhat.com>
1308 * gdesktopappinfo.c (g_desktop_app_info_equal):
1309 Ensure appinfos with no id but same pointer value
1312 2008-02-01 Alexander Larsson <alexl@redhat.com>
1314 * gappinfo.c (g_app_info_launch_default_for_uri):
1317 2008-02-01 Alexander Larsson <alexl@redhat.com>
1321 Add g_app_info_launch_default_for_uri utility
1324 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1326 * gdesktopappinfo.c:
1327 Doc fix for g_app_info_get_default_for_uri_scheme ()
1330 2008-01-30 Alexander Larsson <alexl@redhat.com>
1333 Add doc comment about uris vs GFiles to
1336 * gdesktopappinfo.c:
1337 Ensure uris passed to g_app_info_launch_uris()
1338 are not roundtriped through GFile (as that
1339 may be slightly destructive for e.g. mailto: links)
1341 2008-01-30 Alexander Larsson <alexl@redhat.com>
1343 * tests/data-input-stream.c:
1344 * tests/data-output-stream.c:
1345 C89 fixes from Jens Granseuer (#512849)
1347 2008-01-30 Alexander Larsson <alexl@redhat.com>
1350 Fix gamin/fam difference build issue. (#509419)
1352 2008-01-29 Alexander Larsson <alexl@redhat.com>
1355 * gdesktopappinfo.c:
1356 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1358 2008-01-29 Alexander Larsson <alexl@redhat.com>
1360 * gdesktopappinfo.c:
1361 * gdesktopappinfo.h:
1362 giomodule-priv.h include moved to .c file.
1364 2008-01-29 Alexander Larsson <alexl@redhat.com>
1366 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1367 Remove unused prio/name fields.
1369 2008-01-29 Alexander Larsson <alexl@redhat.com>
1371 * gcontenttype.c (looks_like_text):
1372 Don't treat whitespace as control chars.
1374 2008-01-29 Alexander Larsson <alexl@redhat.com>
1376 * gdesktopappinfo.c:
1377 Lazily create the desktop files for appinfos created
1378 by g_app_info_create_from_commandline() when needed
1379 for mime associations. This allows run-time use
1380 of GAppInfo object without creating unnecessary
1383 2008-01-29 Alexander Larsson <alexl@redhat.com>
1386 Added new symbols to gio.symbols
1388 2008-01-29 Alexander Larsson <alexl@redhat.com>
1391 Add g_file_query_default_handler utility to easily look up
1392 the GAppInfo that handles a file.
1394 * gdesktopappinfo.[ch]:
1396 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1399 Remove unused function
1401 2008-01-29 Alexander Larsson <alexl@redhat.com>
1403 * gfileenumerator.c:
1404 Mention need to free returned value in
1405 g_file_enumerator_next_files_finish docs.
1406 Fix leak if g_file_enumerator_next_files_finish()
1409 2008-01-29 Alexander Larsson <alexl@redhat.com>
1412 (_g_unix_content_type_get_parents):
1413 Use list_parents, not get_parents from xdgmime, because
1414 the later doesn't use the cache.
1416 * xdgmime/xdgmimecache.c:
1417 (_xdg_mime_cache_list_mime_parents):
1418 Don't list the same type as parent multiple times.
1420 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1422 * === Released 2.15.4 ===
1424 2008-01-28 Alexander Larsson <alexl@redhat.com>
1427 Register local vfs with prio 0.
1430 Remove old name and prio class members
1432 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1434 * tests/g-file.c: Disable some tests that are failing in
1435 the absence of a http backend.
1437 2008-01-28 Alexander Larsson <alexl@redhat.com>
1441 Add registration hooks for extension points.
1442 Register the gio extension points.
1444 * fam/gfamdirectorymonitor.c:
1445 * fam/gfamfilemonitor.c:
1446 * glocaldirectorymonitor.[ch]:
1447 * glocalfilemonitor.[ch]:
1448 * gnativevolumemonitor.h:
1449 * gunionvolumemonitor.c:
1450 * gunixvolumemonitor.c:
1453 * inotify/ginotifydirectorymonitor.c:
1454 * inotify/ginotifyfilemonitor.c:
1455 Use the extension points registration instead
1456 of g_type_children().
1458 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1461 * gvolume.[hc]: Document new API.
1463 * gfile.c (g_file_copy_async): Fix docs
1465 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1467 * gbufferedinputstream.c:
1469 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1472 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1474 * glocalfile.c: Avoid trivial differences in translatable strings.
1476 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1478 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1479 build with gcc 3.4 (#509419)
1481 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1483 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1484 (#509994, Murray Cumming)
1486 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1488 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1489 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1490 this allows big jobs to be executed in chunks, instead of blocking
1491 the main loop for a long time.
1493 * gsimpleasyncresult.c:
1494 * giofile.c: Adapt callers.
1496 2008-01-25 Alexander Larsson <alexl@redhat.com>
1498 * gdesktopappinfo.c:
1499 Implement changes discussed on xdg list.
1500 Now we can add supported mimetypes by just using defaults.list
1501 We can also remove associations in defaults.list.
1503 2008-01-25 Alexander Larsson <alexl@redhat.com>
1505 * gdesktopappinfo.c:
1506 Don't make local copy of desktop file
1507 for mimetype changes if the file already
1508 supports the new mimetype.
1510 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1514 * gbufferedinputstream.c:
1515 * glocalfile.c: String improvements. (#511966,
1516 Theppitak Karoonboonyanan)
1518 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1520 * gioscheduler.h: Expand docs a bit.
1522 2008-01-24 Alexander Larsson <alexl@redhat.com>
1525 Add g_drive_get_identifier and
1526 g_drive_enumerate_identifiers
1529 Add g_volume_get_identifier and
1530 g_volume_enumerate_identifiers
1536 Implement identifiers for unix backend
1538 2008-01-24 Alexander Larsson <alexl@redhat.com>
1543 Add g_file_copy_async() (#511580)
1544 Based on patch from Carlos Garcia Campos
1546 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1548 * gioscheduler.c: Some documentation additions.
1550 2008-01-22 Alexander Larsson <alexl@redhat.com>
1552 * gdesktopappinfo.c:
1553 (g_desktop_app_info_new):
1554 Don't leak basename.
1556 2008-01-22 Alexander Larsson <alexl@redhat.com>
1558 * gdesktopappinfo.c:
1559 (g_desktop_app_info_new_from_filename):
1562 2008-01-22 Alexander Larsson <alexl@redhat.com>
1564 * glocalfileinfo.c (get_thumbnail_attributes):
1567 2008-01-22 Alexander Larsson <alexl@redhat.com>
1570 (canonicalize_filename):
1571 Canonicalize paths that start with more than
1575 (compare_two_files):
1576 (test_g_file_new_for_path):
1579 2008-01-22 Alexander Larsson <alexl@redhat.com>
1582 Allow UTF-8 in file:// parse names.
1584 * tests/Makefile.am:
1585 * tests/data-input-stream.c:
1586 * tests/data-output-stream.c:
1587 * tests/g-file-info.c:
1589 Added a bunch of tests from Tomas Bzatek
1591 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1593 * === Released 2.15.3 ===
1595 2008-01-21 Alexander Larsson <alexl@redhat.com>
1597 * gfileinputstream.[ch]:
1598 * gfileoutputstream.[ch]:
1600 Remove duplicated GSeekable functions. (#509990)
1601 Just use the g_seekable_xxx() calls instead.
1603 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1606 * gvolumemanager.c: Whitespace cleanups.
1608 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1609 Use the right mode when creating the file.
1611 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1613 * gfileenumerator.c:
1614 * gfileinputstream.c:
1616 * goutputstream.c: Documentation: Fixed minor typos
1617 and added more mentions of specific _finish() functions.
1619 2008-01-21 Alexander Larsson <alexl@redhat.com>
1621 * inotify/Makefile.am:
1622 * inotify/inotify-helper.c:
1623 * inotify/inotify-kernel.c:
1624 * inotify/inotify-path.c:
1625 * inotify/local_inotify.h: Removed.
1626 * inotify/local_inotify_syscalls.h: Removed.
1627 Removed the included copies of the inotify
1628 headers. We now only use the <sys/inotify.h>
1629 header which exists on modern systems.
1630 This fixes problems on ARM and SH5 (#510448)
1631 but is also generally much cleaner and future
1632 safe. For instance, if other OSes add support
1633 for inotify it should "just work".
1635 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1637 * inotify/*.c: Coding style fixes.
1638 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1639 for the 1/4 Hz timer.
1641 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1644 * gfilemonitor.[hc]:
1645 * gmemoryinputstream.c:
1646 * gmemoryoutputstream.c:
1647 * gmountoperation.c:
1648 * gthemedicon.c: Documentation updates
1650 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1652 * gfile.c: documentation: Fixed more minor
1655 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1657 * gmount.c: (g_mount_remount): documentation:
1658 Mention g_mount_remount_finish() instead of
1659 g_mount_unmount_finish().
1661 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1665 * gfile.c: Fixed some minor typos in the
1668 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1670 * gio/gvolumemonitor.c:
1671 (g_volume_monitor_get_connected_drives):
1672 (g_volume_monitor_get_volumes):
1673 (g_volume_monitor_get_mounts): Documentation:
1674 Clarify the ownership of the regurn GLists.
1676 2008-01-17 Alexander Larsson <alexl@redhat.com>
1679 Add the async find_enclosing_mount version
1680 to the header file too.
1682 2008-01-17 Alexander Larsson <alexl@redhat.com>
1685 Add async version of find_enclosing_mount
1686 with default implementation.
1688 2008-01-17 Alexander Larsson <alexl@redhat.com>
1693 Allow calls to implementation of copy and write
1694 even if the type of the file implementations is
1695 different. This can be used to implement native
1696 upload and download calls in a vfs.
1699 (g_local_file_move):
1700 Protect against the case where move is called
1701 with one file not being local.
1703 Make sure we call the progress callback once
1704 in the native move operation so that the caller
1705 knows how many bytes were copied.
1707 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1710 * gdatainputstream.c:
1712 * gfileoutputstream.c:
1717 * gunixmounts.c: Corrected some typos in the documentation:
1718 occured -> occurred.
1719 its -> it's (where appropriate).
1721 2008-01-16 Alexander Larsson <alexl@redhat.com>
1725 Add g_file_query_exists (#508771)
1727 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1732 * gvolume.c: For async functions that have no non-async
1733 version, document that the GAsyncReadyCallback may be NULL.
1736 2008-01-15 Alexander Larsson <alexl@redhat.com>
1738 * gmemoryinputstream.c:
1739 * gmemoryoutputstream.c:
1740 Don't do pointer arithmetic on void * (#508602)
1741 Patch from Kazuki IWAMOTO
1743 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1745 * === Released 2.15.2 ===
1747 2008-01-14 Alexander Larsson <alexl@redhat.com>
1749 * gfile.c (g_file_monitor_file):
1750 Don't set error here, since we fallback to polling monitor.
1752 2008-01-14 Alexander Larsson <alexl@redhat.com>
1755 (g_file_monitor_directory):
1756 (g_file_monitor_file):
1757 Add GError to file monitor calls
1759 * glocaldirectorymonitor.c:
1760 * glocaldirectorymonitor.h:
1762 * glocalfilemonitor.c:
1763 * glocalfilemonitor.h:
1765 Update for above change
1767 2008-01-14 Alexander Larsson <alexl@redhat.com>
1771 Handle root correctly in g_file_get_relative_path (#508719)
1773 2008-01-14 Alexander Larsson <alexl@redhat.com>
1776 Clean up docs and example for GAsyncResult (#508074)
1778 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1780 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1781 and correct some spelling mistakes. Bug #508108.
1783 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1785 * glocalfileinfo.c: Add a comment.
1787 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1789 * gfileinfo.c: GFileInfo description: Mention
1790 how to actually set attributes in a GFile and how to discover
1791 which attributes are settable. Bug #508378.
1793 2008-01-10 A. Walton <awalton@svn.gnome.org>
1795 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1796 (g_app_info_get_default_for_type):
1797 Check for NULL content types.
1799 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1801 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1803 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1805 * gfile.c: *_async() functions: Several small corrections
1806 to the documentation, mostly correcting copy/paste errors
1807 and improving some sentences.
1809 2008-01-09 Dan Winship <danw@gnome.org>
1811 * glocalfile.c (get_unique_filename): x86_64 fix
1813 2008-01-09 Alexander Larsson <alexl@redhat.com>
1818 Add g_unix_mount_guess_should_display and use
1819 for unix volume monitor backend.
1820 This means we more or less show what the
1821 gnome-vfs backend did.
1822 Based on patch from Padraig O'Briain
1824 2008-01-09 Alexander Larsson <alexl@redhat.com>
1828 Add g_themed_icon_new_with_default_fallbacks
1831 Use default fallbacks for icons
1833 2008-01-09 Alexander Larsson <alexl@redhat.com>
1836 * gmountoperation.[ch]:
1837 Change the API a bit so that unhandled methods
1838 get reported via the reply, rather than by
1839 the signal emission return value. This is because
1840 some handlers can't know this immediately without
1841 doing I/O, and this is an async operation that
1844 2008-01-09 Alexander Larsson <alexl@redhat.com>
1847 * fam/gfamdirectorymonitor.c:
1848 * fam/gfamfilemonitor.c:
1849 Fix double free crash (#508224)
1850 Patch from Joe Marcus Clarke
1852 008-01-07 Matthias Clasen <mclasen@redhat.com>
1854 * === Released 2.15.1 ===
1856 2008-01-07 Alexander Larsson <alexl@redhat.com>
1858 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1859 Fix warning (#507835)
1861 2008-01-07 Alexander Larsson <alexl@redhat.com>
1864 Pass --internal to glib-genmarshal
1867 * gmountoperation.c:
1869 Use better types for signal arguments (#507822)
1871 2008-01-07 Alexander Larsson <alexl@redhat.com>
1874 Build test subdir after .
1875 Remove gdirectorymonitor.[ch]
1877 * gdirectorymonitor.[ch]:
1881 Remove GDirectoryMonitor and make
1882 GFileMonitor the baseclass for both file and
1883 directory monitors. Lift the more generic
1884 rate limiting code from GDirectoryMonitor
1888 * fam/gfamdirectorymonitor.[ch]:
1889 * inotify/ginotifydirectorymonitor.[ch]:
1890 * inotify/inotify-helper.c:
1891 * glocaldirectorymonitor.[ch]:
1894 Update for the removed GDirectoryMonitor.
1896 * gmemoryoutputstream.c:
1897 Remove ununsed variable
1899 2008-01-07 Alexander Larsson <alexl@redhat.com>
1901 * gmemoryinputstream.c:
1902 Translate error strings
1905 * gmemoryoutputstream.[ch]:
1906 New implementation that avoids using GByteArray
1907 in implementation and API. (#506377)
1909 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1911 * tests/*: Add a test for memory input streams.
1913 * Makefile.am: Add tests to SUBDIRS.
1915 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1917 * glocalfilemonitor.c:
1918 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1921 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1923 * gdesktopappinfo.c: Fix a docs typo.
1925 * gfileattribute.c: Add information about extended attributes
1926 to the documentation. (#505058)
1928 2008-01-04 Alexander Larsson <alexl@redhat.com>
1931 * gmountoperation.c:
1932 Use the right type (uint) for the ask_password signal.
1934 2008-01-04 Alexander Larsson <alexl@redhat.com>
1939 Add g_app_info_supports_files()
1940 Remove desktop arg from g_app_info_should_show().
1942 * gdesktopappinfo.[ch]:
1943 Implement g_app_info_supports_files() and new should_show()
1944 Add g_desktop_app_info_set_desktop_env() to set the desktop
1945 for should_show(). (This will be set by gtk+ later)
1947 2008-01-04 Alexander Larsson <alexl@redhat.com>
1950 * gmemoryinputstream.[ch]:
1951 Improve API so that you can use multiple chunks
1952 of memory and custom destroy functions. (#506374)
1954 2008-01-03 Alexander Larsson <alexl@redhat.com>
1957 Handle NULL attribute matchers safely, as we return this
1958 for empty attribute matcher strings.
1960 2008-01-03 Alexander Larsson <alexl@redhat.com>
1962 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1963 Add /usr/local to list of internal mountpoints
1965 2008-01-03 Alexander Larsson <alexl@redhat.com>
1968 Check for HAVE_LCHOWN (#505887)
1970 2008-01-03 Alexander Larsson <alexl@redhat.com>
1974 Add define for selinux context attribute.
1975 Fix missing : -> :: namespace separator change
1976 Fix missing _ -> - name change for xattr-sys.
1979 2008-01-03 Alexander Larsson <alexl@redhat.com>
1982 Link to libglib and libgobject directly (#504879)
1983 Patch from Sebastien Bacher
1985 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1987 * gfile.c: Expanded the g_file_new_for_commandline_arg
1988 description a bit, based on the code and the docs of the
1989 other g_file_new_for_* functions.
1991 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1993 * gfilemonitor.h: Fixed typo in docs.
1995 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1997 Updates to GIO documentation. (#506395, Mikael Hermansson)
1999 * gcontenttype.c: Describe memory management for return value of
2000 g_content_types_get_registered(). Missing piece from #505815.
2001 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2002 GVolume, GDrive, GMounts, which hopefully gives the user less
2003 confusions when using this API. Following explainations from
2004 Alexander Larsson on gtk-devel-list.
2006 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2008 * gfileinfo.c: Expand the long description.
2010 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2013 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2014 fix builds with --disable-visibility. (#500273, Christian Persch)
2016 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2018 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2019 in the list of returned app infos.
2021 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2023 * gappinfo.c: Fix a cross-reference
2025 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2027 * gfileinputstream.c:
2028 * gfileoutputstream.c:
2032 * gdesktopappinfo.c:
2034 * gfileinfo.c: Documentation updates.
2036 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2038 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2041 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2043 * gcontenttype.c (g_content_types_get_registered): Don't return
2044 freed memory (#505815, Mikael Hermansson)
2046 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2048 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2049 used to detect statbuf->st_blocks. (#505042)
2051 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2053 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2054 environment handling. (#504829, Cosimo Cecchi)
2056 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2058 * gappinfo.c: Doc improvements
2060 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2063 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2065 * === Released 2.15.0 ===
2067 2007-12-20 Hans Breuer <hans@breuer.org>
2069 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2070 with symbols gwin32appinfo.obj, added gmount.obj
2071 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2073 2007-12-20 Alexander Larsson <alexl@redhat.com>
2079 * gfilenamecompleter.c:
2082 * gpollfilemonitor.c:
2083 File attribute renames:
2085 fs:: -> filesystem::
2086 id::fs -> id::filesystem
2088 2007-12-20 Alexander Larsson <alexl@redhat.com>
2097 Add GMountUnmountFlags to all unmount and
2099 Add g_mount_remount() call.
2101 2007-12-20 Alexander Larsson <alexl@redhat.com>
2103 * gvfs.c (get_default_vfs):
2104 Fix unused variable warning
2106 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2108 * pltcheck.sh: Update
2110 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2112 * gunionvolumemonitor.c:
2113 * gunixmount.c: Remove C99 comments
2115 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2117 * gio.symbols: Add some missing symbols
2119 2007-12-19 Alexander Larsson <alexl@redhat.com>
2122 Make g_io_modules_load_all_in_directory not unuse
2123 loaded modules so that users of it can do stuff
2125 Init internal "module" types.
2126 Initialize static prio and name for types so that
2127 we don't have to load modules to get it.
2129 * gnativevolumemonitor.h:
2131 Move is_supported to parent class so that
2132 non-native monitors can avoid being initialized
2133 too. (For instance GDaemonVolumeMonitor if we're
2134 not using GDaemonVfs.)
2136 * glocaldirectorymonitor.[ch]:
2137 * glocalfilemonitor.[ch]:
2138 * gunionvolumemonitor.c:
2139 * gunixvolumemonitor.c:
2141 Find plugins using the static prio+name to
2142 avoid unnecessarily loading the modules.
2144 2007-12-19 Alexander Larsson <alexl@redhat.com>
2149 2007-12-19 Alexander Larsson <alexl@redhat.com>
2151 * gunionvolumemonitor.c:
2152 Store the native type as GType, not class so that
2153 we can unload it. But still avoid unnecessarily
2156 2007-12-19 David Zeuthen <davidz@redhat.com>
2158 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2159 add signals 'disconnected' and 'eject-button' on GDrive. Add
2160 signal 'removed' on GVolume and 'unmounted' on GMount.
2162 * gdrive.c: (g_drive_base_init):
2164 * gfile.c: (g_file_mount_mountable),
2165 (g_file_mount_enclosing_volume):
2168 * gmount.c: (g_mount_base_init):
2170 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2171 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2172 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2176 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2178 * *.c: Fix up includes in the section docs.
2180 2007-12-17 Alexander Larsson <alexl@redhat.com>
2182 * gnativevolumemonitor.h:
2183 * gunionvolumemonitor.c:
2184 * gunixvolumemonitor.c:
2185 Add is_supported() to GNativeVolumeMonitorClass so
2186 that we can avoid having to create an object to see
2187 if the backend is supported at runtime.
2188 Also add name member and an env var to pick a specific
2189 volume monitor backend.
2193 Add cancellable to _g_mount_get_for_mount_path()
2195 * glocaldirectorymonitor.c:
2196 * glocalfilemonitor.c:
2197 Avoid loading and unloading modules while sorting.
2199 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2202 * gunixmounts.[hc]: Namespace waste reduction, move some
2203 g_get_unix_mount functions to the g_unix_mount namespace.
2206 * gunixvolumemonitor.c:
2208 * glocaldirectorymonitor.c: Update all callers.
2210 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2212 2007-12-17 Alexander Larsson <alexl@redhat.com>
2215 Add doc comments about what GFile operations are
2216 guaranteed to not block.
2218 2007-12-17 Alexander Larsson <alexl@redhat.com>
2221 Add missing #ifdef fixing OSX build.
2222 (#503334, patch from Richard Hult)
2224 2007-12-14 David Zeuthen <davidz@redhat.com>
2228 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2229 (g_mount_eject), (g_mount_eject_finish):
2231 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2232 (get_volume_for_uuid), (get_mount_for_uuid),
2233 (g_union_volume_monitor_class_init),
2234 (get_default_native_type_with_exclude), (get_default_native_type),
2235 (get_native_type), (update_native_type),
2236 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2237 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2238 (g_unix_mount_can_eject), (eject_unmount_cb),
2239 (eject_unmount_read_error), (eject_unmount_do),
2240 (g_unix_mount_unmount), (g_unix_mount_eject),
2241 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2242 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2243 (g_unix_mount_point_guess_can_eject):
2245 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2246 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2247 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2248 (g_unix_volume_mount), (g_unix_volume_eject),
2249 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2250 * gunixvolumemonitor.c: (get_volume_for_uuid),
2251 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2253 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2254 (g_volume_eject), (g_volume_eject_finish):
2256 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2257 (g_volume_monitor_get_mount_for_uuid):
2260 Provide eject() on both GMount and GVolume and utility functions
2261 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2262 ejected. Introduce the concept of UUID's and wire it into GVolume
2263 and GMount and provide API on GVolumeMonitor to find such
2264 instances. Also handle the case where an external
2265 GNativeVolumeMonitor fails to initialize. Lock around the
2266 _g_get_mount_for_mount_path() function such that volume monitor
2267 implementations won't have to do locking themselves.
2269 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2271 * gdesktopappinfo.c:
2277 * gvolume.h: Documentation updates
2279 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2282 * gfile.h: Doc updates
2284 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2287 * gdesktopappinfo.c: Use hash table iterators.
2289 2007-12-14 Alexander Larsson <alexl@redhat.com>
2292 * gfileattribute.[ch]:
2293 * gfileattribute-priv.h:
2294 Move GFileAttributeValue to a private header, as
2298 Make set_attribute take a type + a pointer instead
2299 of a GFileAttributeValue.
2302 Fix up for above changes.
2303 Add g_file_info_get_attribute_data to get
2304 all info in one call, g_file_info_get_attribute_status
2305 to get the status and g_file_info_get_attribute_as_string.
2309 * glocalfileinfo.[ch]:
2313 Make _guess_type static.
2315 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2318 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2319 made mkenums and friends use temporary files to avoid leaving
2320 empty generated files on failure (#503470).
2322 2007-12-14 Alexander Larsson <alexl@redhat.com>
2324 * gmountoperation.h:
2327 2007-12-14 Alexander Larsson <alexl@redhat.com>
2331 * gfileattribute.[ch]:
2334 * glocalfileoutputstream.c:
2335 * gmountoperation.[ch]:
2336 * goutputstream.[ch]:
2337 Clean up all flags enums to not have _FLAGS in them
2338 Make the names of some of the enums better.
2343 2007-12-14 Michael Natterer <mitch@imendio.com>
2345 * gio.symbols: fix g_io_scheduler symbol names.
2347 2007-12-14 Alexander Larsson <alexl@redhat.com>
2353 * gbufferedinputstream.h:
2354 * gbufferedoutputstream.h:
2357 * gdatainputstream.h:
2358 * gdataoutputstream.h:
2359 * gdesktopappinfo.h:
2360 * gdirectorymonitor.h:
2364 * gfileenumerator.h:
2367 * gfileinputstream.h:
2369 * gfilenamecompleter.h:
2370 * gfileoutputstream.h:
2371 * gfilterinputstream.h:
2372 * gfilteroutputstream.h:
2380 * gmemoryinputstream.h:
2381 * gmemoryoutputstream.h:
2383 * gmountoperation.h:
2386 * gsimpleasyncresult.h:
2388 * gunixinputstream.h:
2390 * gunixoutputstream.h:
2394 * inotify/Makefile.am:
2395 Only allow including <gio/gio.h> from apps
2397 2007-12-14 Alexander Larsson <alexl@redhat.com>
2399 * gioscheduler.[ch]:
2400 * gsimpleasyncresult.c:
2401 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2402 Split out the send_to_mainloop call into two versions instead
2403 of having the block argument.
2405 2007-12-13 Alexander Larsson <alexl@redhat.com>
2407 * gcancellable.[ch]:
2409 * gbufferedinputstream.c:
2410 * gfileenumerator.c:
2411 * gfileinputstream.c:
2412 * gfileoutputstream.c:
2416 g_push/pop_current_cancellable ->
2417 g_cancellable_push/pop_current
2419 2007-12-13 Alexander Larsson <alexl@redhat.com>
2423 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2425 2007-12-13 Alexander Larsson <alexl@redhat.com>
2427 * gmountoperation.h:
2428 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2430 2007-12-12 Alexander Larsson <alexl@redhat.com>
2433 Fix race condition when freeing proxy in
2434 g_io_job_send_to_mainloop().
2436 2007-12-12 Alexander Larsson <alexl@redhat.com>
2442 Make attribute namespace separator "::" instead of ":".
2443 Use - instead of _ as separator in attribute names.
2445 2007-12-12 Alexander Larsson <alexl@redhat.com>
2447 * gbufferedinputstream.h:
2448 * gbufferedoutputstream.h:
2449 * gdatainputstream.h:
2450 * gdataoutputstream.h:
2451 * gdirectorymonitor.h:
2452 * gfileenumerator.h:
2453 * gfileinputstream.h:
2455 * gfileoutputstream.h:
2456 * gfilterinputstream.h:
2457 * gfilteroutputstream.h:
2459 * glocalfileinputstream.h:
2460 * glocalfileoutputstream.h:
2461 * gmemoryinputstream.h:
2462 * gmemoryoutputstream.h:
2463 * gnativevolumemonitor.h:
2465 * gunixinputstream.h:
2466 * gunixoutputstream.h:
2469 s/parent/parent_instance/ in GObjects
2471 2007-12-12 Alexander Larsson <alexl@redhat.com>
2476 No need for padding for interfaces
2478 2007-12-12 Alexander Larsson <alexl@redhat.com>
2482 * gbufferedinputstream.c:
2483 * gbufferedoutputstream.c:
2486 * gdatainputstream.[ch]:
2487 * gdesktopappinfo.c:
2488 * gdirectorymonitor.c:
2490 * gfileattribute.[ch]:
2493 * gfileinputstream.h:
2494 * gfilemonitor.[ch]:
2495 * gfileoutputstream.[ch]:
2496 * gfilterinputstream.h:
2497 * gfilteroutputstream.h:
2500 * gloadableicon.[ch]:
2501 * gmemoryinputstream.c:
2502 * gmountoperation.c:
2504 Fix up a bunch of details in the docs.
2509 2007-12-11 David Zeuthen <davidz@redhat.com>
2511 Rework how volumes, drives and volume monitoring is
2512 done. Previosly the model was
2514 GDrive <1-1> GVolume
2516 where a GDrive instance represented a mount point and a GVolume
2517 instance represented a mounted file system. This patch changes it
2520 GDrive <1-N> GVolume <1-1> GMount
2522 where GMount now serves the purpose of the old GVolume and the new
2523 GVolume serves the purpose of the old GDrive. In addition the new
2524 GDrive interface is used to represent a collection of GVolume
2525 instances (typically partitions) and also contains utility to query
2526 the state of the physical drive the GDrive object represents (such
2527 as checking for media, polling the drive, ejecting the media etc.).
2529 Also implement mounting and unmounting in the Unix volume monitor
2530 backend. A subquent patch will introduce GDrive support for ejection
2534 * gdrive.c: (g_drive_is_media_check_automatic),
2535 (g_drive_is_media_removable), (g_drive_has_media),
2536 (g_drive_can_poll_for_media), (g_drive_eject),
2537 (g_drive_eject_finish), (g_drive_poll_for_media),
2538 (g_drive_poll_for_media_finish):
2540 * gfile.c: (g_file_find_enclosing_mount):
2543 * glocaldirectorymonitor.c:
2544 (g_local_directory_monitor_constructor), (mounts_changed):
2545 * glocalfile.c: (get_mount_info),
2546 (g_local_file_find_enclosing_mount),
2547 (g_local_file_file_iface_init):
2548 * gnativevolumemonitor.h:
2549 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2550 (get_connected_drives), (g_union_volume_monitor_class_init),
2551 (child_volume_added), (child_volume_removed),
2552 (child_volume_changed), (child_mount_added), (child_mount_removed),
2553 (child_mount_pre_unmount), (child_mount_changed),
2554 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2555 (g_union_volume_monitor_remove_monitor),
2556 (_g_mount_get_for_mount_path):
2557 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2558 (guess_system_internal), (_g_get_unix_mounts),
2559 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2560 (g_unix_mount_free), (g_unix_mount_compare),
2561 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2562 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2563 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2564 (type_to_icon), (g_unix_mount_guess_name),
2565 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2566 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2567 (_resolve_symlink), (_resolve_dev_root):
2569 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2570 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2571 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2572 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2573 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2574 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2575 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2576 (g_unix_volume_volume_iface_init):
2578 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2579 (get_mounts), (get_volumes), (get_connected_drives),
2580 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2581 (mountpoints_changed), (mounts_changed),
2582 (g_unix_volume_monitor_init),
2583 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2584 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2585 * gunixvolumemonitor.h:
2586 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2587 (g_volume_mount), (g_volume_mount_finish):
2589 * gvolumemonitor.c: (g_volume_monitor_class_init),
2590 (g_volume_monitor_get_connected_drives),
2591 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2594 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2596 * gmountoperation.h (GPasswordFlags): Close the gap
2598 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2600 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2602 * gdesktopappinfo.[hc]: Remove _-prefixes
2604 2007-12-10 Tor Lillqvist <tml@novell.com>
2606 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2609 2007-12-10 Alexander Larsson <alexl@redhat.com>
2611 * gfile.c (g_file_set_display_name):
2612 Don't hardcode '/' (#502727)
2614 2007-12-09 Hans Breuer <hans@breuer.org>
2616 * makefile.msc : follow lib naming convention
2617 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2618 for user and group name, tested with ../tests/gio-ls
2620 2007-12-09 A. Walton <awalton@svn.gnome.org>
2622 * gdesktopappinfo.c:
2628 * gfileenumerator.c:
2633 * gmemoryinputstream.c:
2634 * gmemoryoutputstream.c:
2636 * gsimpleasyncresult.c:
2637 More documentation cleanup and filling in missing information, bringing
2638 GIO to 99% symbol coverage.
2640 2007-12-08 Hans Breuer <hans@breuer.org>
2642 [gio compiles and links on win32, not sure how much already works]
2643 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2644 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2645 base on win32 API; prefer g_lstat() over lstat(); instead of
2646 localtime_r() use an all GLib implementation on win32;
2647 get_mount_info() still needs a win32 specifc implementation
2648 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2649 win32_get_file_user_info to get owner/group info without uid/gid
2650 * glocalfileinputstream.c : include <io.h> on win32
2651 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2652 definition, use g_win32_ftruncate() for G_OS_WIN32
2653 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2654 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2655 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2656 * makefile.msc : updated
2658 2007-12-07 Alexander Larsson <alexl@redhat.com>
2660 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2661 Avoid warning spew if error == NULL
2663 2007-12-07 Alexander Larsson <alexl@redhat.com>
2666 Update docs wrt etags
2668 2007-12-06 Alexander Larsson <alexl@redhat.com>
2671 Include sys/types.h for dev_t (#501919)
2673 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2677 Make abicheck and pltcheck pass.
2679 2007-12-05 Alexander Larsson <alexl@redhat.com>
2682 * giomodule-priv.h: Added.
2683 * glocaldirectorymonitor.c:
2684 * glocalfilemonitor.c:
2685 * gunionvolumemonitor.c:
2687 Actually add the declaration of _g_io_modules_ensure_loaded
2689 2007-12-05 Alexander Larsson <alexl@redhat.com>
2691 * gdatainputstream.c:
2696 * glocaldirectorymonitor.c:
2697 * glocalfilemonitor.c:
2698 * gunionvolumemonitor.c:
2700 Make g_io_modules_ensure_loaded a private function and
2701 don't pass in the dirname. This means we can do magic
2702 directory finding in the win32 version.
2703 Export the actual load-modules-in-directory code so that
2704 gvfs can reuse that.
2706 2007-12-05 Alexander Larsson <alexl@redhat.com>
2708 * gbufferedinputstream.c:
2709 * gbufferedoutputstream.c:
2712 * gfileenumerator.[ch]:
2713 * gfileinputstream.c:
2714 * gfileoutputstream.[ch]:
2715 * gfilterinputstream.c:
2716 * gfilteroutputstream.c:
2717 * ginputstream.[ch]:
2719 * glocalfileenumerator.c:
2720 * glocalfileinputstream.c:
2721 * glocalfileoutputstream.c:
2722 * gmemoryinputstream.c:
2723 * gmemoryoutputstream.c:
2724 * goutputstream.[ch]:
2727 * gunixinputstream.c:
2728 * gunixoutputstream.c:
2729 Rename all struct members named:
2730 read, write, close, truncate, or mount
2731 to foo_fn, as these are reserved names
2732 and could be defined as macros in libc.
2735 2007-12-04 Alexander Larsson <alexl@redhat.com>
2738 (g_output_stream_close):
2739 Only call flush if non-null.
2741 2007-11-30 Dan Winship <danw@gnome.org>
2743 * ginputstream.c (g_input_stream_set_pending): Make this take a
2744 GError and return a gboolean, and do the "outstanding operation"
2745 check (and the "stream is already closed" check) itself.
2746 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2748 * goutputstream.c (g_output_stream_set_pending)
2749 (g_output_stream_clear_pending): Likewise
2751 * gbufferedinputstream.c:
2752 * gfileinputstream.c:
2753 * gfileoutputstream.c: Update for that
2755 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2756 Like g_simple_async_report_error_in_idle, but takes a GError
2757 rather than building one.
2759 2007-11-30 Dan Winship <danw@gnome.org>
2761 * goutputstream.c: Don't cheat and unset the "pending" flag around
2762 inner calls. Instead, call the class method directly rather than
2763 the wrapper function that checks "pending"
2765 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2767 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2769 2007-12-03 Hans Breuer <hans@breuer.org>
2771 [start of port to win32/msvc]
2772 * gcancellable.c : HAVE_UNIST_H and _pipe()
2773 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2774 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2775 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2777 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2778 * glocalvfs.c : use HAVE_PWD_H
2779 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2780 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2781 * Makefile.am : added to EXTRA_DIST
2783 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2785 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2788 2007-12-03 Alexander Larsson <alexl@redhat.com>
2791 Handle OSX style xattrs API (#500506)
2793 2007-12-03 Alexander Larsson <alexl@redhat.com>
2797 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2799 2007-12-02 A. Walton <awalton@svn.gnome.org>
2803 Documentation accuracy fixes.
2805 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2807 * gioenumtypes.c.template: Fix typo.
2809 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2811 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2813 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2815 * gdirectorymonitor.c:
2816 * gfilemonitor.c: Add properties
2818 * gbufferedoutputstream.c: Don't mark buffer-size property
2821 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2823 * gbufferedoutputstream.c: Add auto-grow property.
2825 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2827 * *.c: Unify the capitalization of section headings.
2829 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2831 * gmountoperation.c: Add properties
2833 * gdatainputstream.c: Turn byte-order and newline-type into
2836 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2838 * gioenumtypes.[hc].template: Templates for enum registration
2840 * Makefile.am: Generate gioenumtypes.[hc]
2842 * gio.h: Include gioenumtypes.h
2844 * gfile.h: Add some explicit nicks.
2846 * gio.symbols: Add new symbols
2848 * pltcheck.sh: Adjust
2850 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2852 * *.c: Explain etags and link to the explanation
2854 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2856 * *.c: Explain I/O priority.
2858 * *.c: More coding style fixes.
2860 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2862 * gasyncresult.c: Add another paragraph to the intro,
2863 adjust coding style of example.
2865 2007-11-29 A. Walton <awalton@svn.gnome.org>
2868 Fixes unknown meaning in GAppLaunchContext docs.
2870 Clarify asynchronous ops.
2872 Fix entity tag docs.
2875 Provides missing gtk-doc section, fixes API docs slighly.
2876 * gsimpleasyncresult.c:
2877 Fill in missing info in docs.
2878 * gunixinputstream.c:
2879 * gunixoutputstream.c:
2880 Be more expressive in short description.
2882 Remove gtk-doc stubs for non-public API.
2884 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2886 * *.c: Coding style fixups
2888 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2890 * inotify/inotify-helper.c: Don't export the lock from libgio.
2892 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2895 * abicheck.sh: Fix copy-and-paste leftovers
2897 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2899 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2901 2007-11-28 Alexander Larsson <alexl@redhat.com>
2905 Removed unnecessary file
2907 * gdesktopappinfo.[ch]:
2910 * glocaldirectorymonitor.[ch]:
2912 * glocalfileenumerator.[ch]:
2913 * glocalfileinputstream.[ch]:
2914 * glocalfilemonitor.[ch]:
2915 * glocalfileoutputstream.[ch]:
2917 * gnativevolumemonitor.c:
2918 * gpollfilemonitor.[ch]:
2919 * gunionvolumemonitor.[ch]:
2922 * gunixvolumemonitor.[ch]:
2925 * inotify/ginotifydirectorymonitor.[ch]:
2926 * inotify/ginotifyfilemonitor.[ch]:
2927 * inotify/inotify-helper.c:
2928 Append _ to all internal functions
2932 Export symbols needed for modules
2934 2007-11-28 Alexander Larsson <alexl@redhat.com>
2937 * abicheck.sh: Added.
2938 * makegioalias.pl: Added.
2939 * pltcheck.sh: Added.
2940 * gio.symbols: Added.
2943 Initial work on adding symbol handling.
2946 Correct ifdef guard name
2949 * inotify/Makefile.am:
2950 * xdgmime/Makefile.am:
2951 Include toplevel Makefile.decl
2953 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2955 * gcontenttype.c: Move doc comments to the unix section.
2957 * *.[hc]: More trivial doc corrections.
2959 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2961 * gpollfilemonitor.c:
2965 * gdesktopappinfo.c:
2970 * gdatainputstream.c:
2971 * gdatainputstream.h:
2972 * gdataoutputstream.c:
2973 * gdataoutputstream.h:
2974 * gfileinfo.h: Doc cleanups
2976 2007-11-28 Andre Klapper <a9016009@gmx.de>
2978 * gdesktopappinfo.c: Fix a typo.
2980 2007-11-27 Andre Klapper <a9016009@gmx.de>
2982 * glocalfileoutputstream.c: Fix a typo.
2984 2007-11-27 Alexander Larsson <alexl@redhat.com>
2987 Don't include removed headers
2989 2007-11-27 Alexander Larsson <alexl@redhat.com>
2992 * gsocketinputstream.[ch]: Removed.
2993 * gsocketoutputstream.[ch]: Removed.
2994 * gunixinputstream.[ch]: Added.
2995 * gunixoutputstream.[ch]: Added.
2996 Renamed GSocket*Stream to GUnix*Stream and made
2997 it unix-only, since its not really only for sockets
2998 and it only works on unix (but is highly useful there).
3000 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3006 * gbufferedinputstream.c:
3007 * gbufferedinputstream.h:
3008 * gbufferedoutputstream.c:
3009 * gbufferedoutputstream.h:
3013 * gdatainputstream.c:
3014 * gdatainputstream.h:
3015 * gdataoutputstream.c:
3016 * gdataoutputstream.h:
3017 * gdirectorymonitor.c:
3018 * gdirectorymonitor.h:
3025 * gfileenumerator.c:
3026 * gfileenumerator.h:
3031 * gfileinputstream.c:
3032 * gfileinputstream.h:
3035 * gfilenamecompleter.c:
3036 * gfilenamecompleter.h:
3037 * gfileoutputstream.c:
3038 * gfileoutputstream.h:
3039 * gfilterinputstream.c:
3040 * gfilterinputstream.h:
3041 * gfilteroutputstream.c:
3042 * gfilteroutputstream.h:
3055 * glocalfileoutputstream.c:
3056 * gmemoryinputstream.c:
3057 * gmemoryinputstream.h:
3058 * gmemoryoutputstream.c:
3059 * gmemoryoutputstream.h:
3060 * gmountoperation.c:
3061 * gmountoperation.h:
3064 * gpollfilemonitor.c:
3067 * gsimpleasyncresult.c:
3068 * gsimpleasyncresult.h:
3069 * gsocketinputstream.c:
3070 * gsocketinputstream.h:
3071 * gsocketoutputstream.c:
3072 * gsocketoutputstream.h:
3079 * gunixvolumemonitor.c:
3088 Bumps documentation to 93% symbol coverage, touching most
3089 of the public files. Fixes broken function documentation prototypes.
3090 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3091 gtk-doc headers in private files.
3093 2007-11-27 Jürg Billeter <j@bitron.ch>
3095 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3096 (g_buffered_input_stream_read_byte):
3097 * gbufferedinputstream.h:
3098 New functions for efficient access to buffer and simple single byte
3101 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3102 (g_data_input_stream_read_until):
3103 * gdatainputstream.h:
3104 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3105 read_until with multiple stop chars.
3107 2007-11-27 Alexander Larsson <alexl@redhat.com>
3111 * inotify/Makefile.am:
3112 Use the user-specified giomoduledir
3114 2007-11-27 Alexander Larsson <alexl@redhat.com>
3118 Add catch-all gio.h header
3119 Don't install gdummyfile.h
3121 2007-11-26 Alexander Larsson <alexl@redhat.com>
3123 * Makefile.am (gioinclude_HEADERS):
3124 Remove trailing whitespace
3126 2007-11-26 Alexander Larsson <alexl@redhat.com>
3128 Merge gio-standalone into glib
3130 2007-11-25 Christian Kellner <gicmo@gnome.org>
3132 * gio/goutputstream.c:
3133 Fix small mistake in the docs.
3135 2007-11-21 Christian Persch <chpe@gnome.org>
3137 * gio/glocalfile.c: (g_local_file_trash):
3138 Convert filenames to UTF-8 for GError.
3139 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3140 as per xdg base dir spec.
3142 2007-11-21 Christian Persch <chpe@gnome.org>
3144 * gio/gdesktopappinfo.c:
3145 Use that g_key_file_to_data cannot fail.
3147 Use stock defines for the key file group and key names.
3150 2007-11-21 Alexander Larsson <alexl@redhat.com>
3153 (copy_stream_with_progress):
3154 Make sure we do a final progress callback with
3155 the full total size.
3157 2007-11-21 Alexander Larsson <alexl@redhat.com>
3160 Export g_file_copy_attributes
3161 Remove padding as its not needed for interfaces
3163 2007-11-20 Alexander Larsson <alexl@redhat.com>
3168 Add G_IO_ERROR_WOULD_MERGE for
3169 copy/move dir on dir with overwrite.
3171 2007-11-20 Alexander Larsson <alexl@redhat.com>
3174 * gio/glocalfileinfo.c:
3175 Add COPY_NAME (this is an optional
3176 non-modified utf8 version of the name) that
3179 2007-11-20 Alexander Larsson <alexl@redhat.com>
3181 * gio/glocalfileenumerator.c:
3182 Report errors as GIOError, not GFileError
3184 2007-11-16 Alexander Larsson <alexl@redhat.com>
3186 * gio/glocalfileoutputstream.c:
3187 * gio/gwin32appinfo.c:
3188 Fix typos in strings.
3189 Patch from Luca Ferretti <elle.uca@libero.it>
3191 2007-11-15 Alexander Larsson <alexl@redhat.com>
3194 Post release version bump
3196 === gio-standalone 0.1.2 ===
3198 2007-11-15 Alexander Larsson <alexl@redhat.com>
3200 * docs/reference/gio/Makefile.am:
3201 Fix up distcheck by removing weird
3207 2007-11-14 Alexander Larsson <alexl@redhat.com>
3209 * gio/gdesktopappinfo.c:
3210 * gio/glocaldirectorymonitor.c:
3212 * gio/glocalfileinfo.c:
3213 * gio/inotify/inotify-sub.c:
3214 * programs/gio-cat.c:
3215 * programs/gio-copy.c:
3216 * programs/gio-info.c:
3217 * programs/gio-ls.c:
3218 * programs/gio-monitor-dir.c:
3219 * programs/gio-monitor-file.c:
3220 * programs/gio-mount.c:
3221 * programs/gio-move.c:
3222 * programs/gio-rm.c:
3223 * programs/gio-save.c:
3224 * programs/gio-trash.c:
3225 Leak fixes from Kjartan Maraas
3227 2007-11-14 Alexander Larsson <alexl@redhat.com>
3229 * gio/fam/fam-helper.c:
3231 * gio/glocalfileinfo.c:
3235 * gio/inotify/inotify-diag.c:
3236 * gio/inotify/inotify-kernel.c:
3237 Various code cleanups from Kjartan Maraas
3239 2007-11-14 Alexander Larsson <alexl@redhat.com>
3241 * gio/gioscheduler.c:
3243 Set up threadpool so that we cache 2 unused
3244 idle threads for at 15 secs. This means we
3245 will reuse thread-local data (like dbus connections)
3248 2007-11-14 Alexander Larsson <alexl@redhat.com>
3250 * gio/fam/fam-helper.c:
3251 * gio/fam/gfamdirectorymonitor.c:
3252 * gio/fam/gfamfilemonitor.c:
3254 * gio/gcontenttype.c:
3255 * gio/gdatainputstream.c:
3256 * gio/gdataoutputstream.c:
3260 * gio/gfileattribute.h:
3261 * gio/gfileenumerator.c:
3263 * gio/ginputstream.c:
3266 * gio/glocalfileinfo.c:
3267 * gio/goutputstream.c:
3268 * gio/gpollfilemonitor.c:
3269 * gio/gsimpleasyncresult.c:
3270 * gio/gunixmounts.c:
3271 * gio/gunixmounts.h:
3272 * gio/inotify/ginotifydirectorymonitor.c:
3273 * gio/inotify/ginotifyfilemonitor.c:
3274 * gio/inotify/inotify-diag.c:
3275 * gio/inotify/inotify-kernel.c:
3276 * gio/inotify/inotify-path.c:
3278 * gio/test-streams.c:
3279 * programs/gio-info.c:
3280 * programs/gio-monitor-dir.c:
3281 * programs/gio-monitor-file.c:
3282 Various code cleanups from Kjartan Maraas
3284 2007-11-13 Alexander Larsson <alexl@redhat.com>
3287 Handle the uri-scheme calls for dummy files
3289 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3291 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3292 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3293 to avoid clash with the C++ keyword.
3295 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3297 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3298 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3300 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3302 * gio/glocaldirectorymonitor.c:
3303 * gio/glocalfilemonitor.c:
3304 * gio/gunionvolumemonitor.c:
3305 Don't use g_once_init_*() for initializations that could fail and
3306 could leave the initialization variable set to 0 but use GOnce.
3307 This prevents a deadlock on the second call when trying to create
3308 a monitor and no monitor type is available. Thanks to Sven Herzberg
3311 2007-11-11 Sven Herzberg <sven@imendio.com>
3313 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3314 #ifdef (make it work on MacOS X again)
3316 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3318 Fixes Changelog for last two commits (sorry guys).
3320 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3322 * gio/gbufferedinputstream.c:
3323 * gio/gdatainputstream.c:
3325 * gio/gfileoutputstream.c:
3326 * gio/gfilterinputstream.c:
3327 * gio/glocalfileinputstream.c:
3330 More consistency fixes in g*stream.c files.
3331 Significant clean of gfile's documentation, filling in of
3332 asynchronous operations documentation.
3334 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3336 * gio/gasyncresult.c:
3337 * gio/gbufferedinputstream.c:
3338 * gio/gbufferedoutputstream.c:
3339 * gio/gcancellable.c:
3340 * gio/gcontenttype.c:
3341 * gio/gdatainputstream.c:
3342 * gio/gdataoutputstream.c:
3343 * gio/gdesktopappinfo.c:
3346 * gio/gfileattribute.c:
3347 * gio/gio/gfileenumerator.c:
3349 * gio/gfileinputstream.c:
3350 * gio/gfilemonitor.c:
3351 * gio/gfileoutputstream.c:
3352 * gio/ginputstream.c:
3354 * gio/gioscheduler.c:
3355 * gio/gloadableicon.c:
3356 * gio/glocalfileoutputstream.c:
3357 * gio/gmemoryoutputstream.c:
3358 * gio/gmountoperation.c:
3359 * gio/goutputstream.c:
3361 * gio/gsimpleasyncresult.c:
3362 * gio/gunionvolumemonitor.c:
3363 * gio/gunixmounts.c:
3364 * gio/gunixvolume.c:
3368 * gio/gvolumemonitor.c:
3369 Updated documentation stubs, working towards consistency and
3372 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3374 * gio/gmemoryoutputstream.c:
3375 * gio/gmemoryoutputstream.h:
3376 Change g_memory_output_stream_set_free_on_close() to
3377 g_memory_output_stream_set_free_data() as this makes more sense and
3378 is more consistent with GMemoryInputStream.
3380 2007-11-07 Alexander Larsson <alexl@redhat.com>
3387 Change how we find the default vfs so that
3388 we can handle a gvfs failing to init
3390 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3392 * gio/gbufferedoutputstream.c:
3393 * gio/gdatainputstream.c:
3394 * gio/gdataoutputstream.c:
3395 * gio/gfileinputstream.c:
3396 * gio/gfileoutputstream.c:
3397 * gio/gfilterinputstream.c:
3398 * gio/gfilteroutputstream.c:
3399 * gio/ginputstream.c:
3400 * gio/gmemoryinputstream.c:
3401 * gio/gmemoryoutputstream.c:
3402 * gio/goutputstream.c:
3403 * gio/gsimpleasyncresult.c:
3404 * gio/gsocketinputstream.c:
3405 * gio/gsocketoutputstream.c:
3406 Add guards to the remaining public functions, add a TODO for
3407 an unimplemented function and remove some useless guards.
3409 2007-11-07 Alexander Larsson <alexl@redhat.com>
3412 Autoconf checks for the various types of
3413 getpwuid_r and getgrgid_r
3415 * gio/glocalfileinfo.c:
3416 Use the autoconf checks from above
3418 2007-11-07 Alexander Larsson <alexl@redhat.com>
3421 (g_local_file_query_filesystem_info):
3422 Some fixes for the statvfs case
3424 2007-11-07 Alexander Larsson <alexl@redhat.com>
3427 (g_local_file_query_filesystem_info):
3428 Pick the "best" of statfs / statvfs for the system
3429 if both are availible.
3431 2007-11-07 Alexander Larsson <alexl@redhat.com>
3433 Solaris fixes from Halton.Huo@Sun.COM:
3440 * gio/glocalfileinfo.c:
3441 Fix for solaris definition of getpwuid_r
3443 * gio/test-streams.c:
3444 Use G_GNUC_PRETTY_FUNCTION
3446 2007-11-07 Alexander Larsson <alexl@redhat.com>
3448 * gio/gdesktopappinfo.c:
3449 (update_default_list):
3450 Remove double semicolon.
3451 Patch from Jens Granseuer
3453 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3455 * docs/reference/gio/gio-sections.txt:
3456 * gio/gbufferedinputstream.c:
3457 * gio/gbufferedinputstream.h:
3458 * gio/gdatainputstream.c:
3459 * gio/gfileenumerator.c:
3460 * gio/gioscheduler.c:
3461 * gio/gunionvolumemonitor.c:
3463 * programs/gio-save.c:
3464 Fix typo: availible -> available. Unfortuntely this breaks API
3465 and ABI as g_buffered_input_stream_get_available() was renamed.
3467 * gio/gunixmounts.c:
3468 * gio/gbufferedinputstream.c:
3469 Add guards for public functions.
3471 2007-11-06 Ross Burton <ross@openedhand.com>
3473 * docs/reference/gio/Makefile.am:
3474 Fix invalid += usage which automake 1.10 doesn't like.
3476 2007-11-06 Alexander Larsson <alexl@redhat.com>
3479 (g_app_launch_context_class_init):
3482 Patch from Ross Burton
3484 2007-11-06 Alexander Larsson <alexl@redhat.com>
3487 Post release version bump
3489 === gio-standalone 0.1.1 ===
3491 2007-11-06 Alexander Larsson <alexl@redhat.com>
3494 Bump version to 0.1.1
3496 * gio/gsimpleasyncresult.c:
3497 (g_simple_async_result_set_from_error):
3498 Remove bogus g_return_if_fail
3500 2007-11-06 Alexander Larsson <alexl@redhat.com>
3503 The name is gio-standalone
3506 Add top src/builddir to includedir
3508 2007-11-06 Alexander Larsson <alexl@redhat.com>
3510 * docs/reference/gio/gio-sections.txt:
3512 * gio/gbufferedinputstream.c:
3513 * gio/gbufferedoutputstream.c:
3514 * gio/gcancellable.c:
3515 * gio/gdatainputstream.h:
3516 * gio/gdataoutputstream.c:
3517 * gio/gdataoutputstream.h:
3518 * gio/gdirectorymonitor.c:
3520 * gio/gfileattribute.c:
3521 * gio/gfileattribute.h:
3522 * gio/gfileenumerator.c:
3523 * gio/gfileenumerator.h:
3526 * gio/gfileinputstream.h:
3527 * gio/gfilemonitor.c:
3528 * gio/gfileoutputstream.h:
3529 * gio/glocalfilemonitor.h:
3530 * gio/glocalfileoutputstream.h:
3531 * gio/gmemoryinputstream.c:
3532 * gio/gmemoryoutputstream.c:
3533 * gio/gmountoperation.c:
3534 * gio/goutputstream.c:
3535 * gio/goutputstream.h:
3537 * gio/gsimpleasyncresult.c:
3538 * gio/gunixmounts.c:
3539 * gio/gunixmounts.h:
3541 * gio/inotify/inotify-helper.c:
3542 Fix gtk-doc warnings
3544 Patch from Ross Burton
3546 2007-11-06 Alexander Larsson <alexl@redhat.com>
3548 * gio/gfilenamecompleter.c:
3549 (g_filename_completer_get_completions):
3552 * gio/gunixvolume.c:
3553 Remove unused function
3555 Patches from Ross Burton
3557 2007-11-06 Alexander Larsson <alexl@redhat.com>
3562 Padding not needed for interfaces
3564 2007-11-06 Alexander Larsson <alexl@redhat.com>
3566 * gio/gfilemonitor.c:
3570 Make giotypes.h an internal file
3573 * gio/gbufferedinputstream.h:
3574 * gio/gbufferedoutputstream.h:
3575 * gio/gcancellable.h:
3576 * gio/gdatainputstream.h:
3577 * gio/gdataoutputstream.h:
3578 * gio/gdirectorymonitor.c:
3579 * gio/gdirectorymonitor.h:
3584 * gio/gfileattribute.h:
3585 * gio/gfileenumerator.h:
3590 * gio/gfilemonitor.c:
3591 * gio/gfilemonitor.h:
3592 * gio/gfilenamecompleter.c:
3593 * gio/gfilenamecompleter.h:
3594 * gio/gfilterinputstream.h:
3595 * gio/gfilteroutputstream.h:
3596 * gio/ginputstream.h:
3597 * gio/gmemoryinputstream.h:
3598 * gio/gmemoryoutputstream.h:
3599 * gio/gmountoperation.c:
3600 * gio/gmountoperation.h:
3601 * gio/gnativevolumemonitor.c:
3602 * gio/goutputstream.h:
3605 * gio/gsimpleasyncresult.c:
3606 * gio/gsimpleasyncresult.h:
3607 * gio/gsocketinputstream.h:
3608 * gio/gsocketoutputstream.h:
3609 * gio/gthemedicon.c:
3610 * gio/gthemedicon.h:
3614 * gio/gvolumemonitor.c:
3615 * gio/gvolumemonitor.h:
3616 Add padding in classes where it seems useful
3617 Don't include giotypes.h from public headers
3618 Move in Class definitions into c file where possible
3623 2007-11-06 Alexander Larsson <alexl@redhat.com>
3625 * docs/reference/gio/gio-docs.xml:
3626 Better structure for API docs
3628 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3631 * gio/gloadableicon.c:
3632 * gio/gsimpleasyncresult.c:
3633 * gio/gthemedicon.c:
3634 Add some more guards to public functions. Only files missing are now
3637 2007-11-06 Alexander Larsson <alexl@redhat.com>
3639 * docs/reference/gio/gio-docs.xml:
3640 Remove old files, add missing ones
3642 2007-11-06 Alexander Larsson <alexl@redhat.com>
3644 * docs/reference/gio/gio-sections.txt:
3647 Hide implementation classes
3649 * gio/gdriveprivate.h:
3650 * gio/gvolumeprivate.h:
3651 Remove non-existing function declarations
3653 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3656 Fix compilation warnings and add guards to the new functions.
3658 * gio/gasyncresult.c:
3660 Add guards to the public functions.
3663 Implement get_path().
3665 2007-11-06 Alexander Larsson <alexl@redhat.com>
3667 * gio/gfilenamecompleter.c:
3668 Make g_filename_completer_get_completions
3669 return char ** instead of GList for
3672 * docs/reference/gio/gio-docs.xml:
3673 * docs/reference/gio/gio-sections.txt:
3675 * gio/gasyncresult.c:
3676 * gio/gbufferedinputstream.c:
3677 * gio/gbufferedoutputstream.c:
3678 * gio/gcancellable.c:
3679 * gio/gcontenttype.c:
3680 * gio/gdatainputstream.c:
3681 * gio/gdataoutputstream.c:
3682 * gio/gdesktopappinfo.c:
3683 * gio/gdirectorymonitor.c:
3687 * gio/gfileattribute.c:
3688 * gio/gfileenumerator.c:
3691 * gio/gfileinputstream.c:
3692 * gio/gfilemonitor.c:
3693 * gio/gfilenamecompleter.c:
3694 * gio/gfilenamecompleter.h:
3695 * gio/gfileoutputstream.c:
3696 * gio/gfilterinputstream.c:
3698 * gio/ginputstream.c:
3700 * gio/gioscheduler.c:
3701 * gio/gloadableicon.c:
3702 * gio/glocaldirectorymonitor.c:
3704 * gio/glocalfileinputstream.c:
3705 * gio/glocalfilemonitor.c:
3706 * gio/glocalfileoutputstream.c:
3708 * gio/gmemoryinputstream.c:
3709 * gio/gmemoryoutputstream.c:
3710 * gio/gmountoperation.c:
3711 * gio/goutputstream.c:
3712 * gio/gpollfilemonitor.c:
3714 * gio/gsimpleasyncresult.c:
3715 * gio/gsocketinputstream.c:
3716 * gio/gsocketoutputstream.c:
3717 * gio/gthemedicon.c:
3718 * gio/gunionvolumemonitor.c:
3720 * gio/gunixmounts.c:
3721 * gio/gunixvolume.c:
3722 * gio/gunixvolumemonitor.c:
3726 * gio/gvolumemonitor.c:
3727 * gio/gwin32appinfo.c:
3728 Add (mostly stub) doc strings to public functions.
3729 Patch from Andrew Walton (awalton@gmail.com)
3731 2007-11-06 Alexander Larsson <alexl@redhat.com>
3733 * gio/gappinfo.[ch]:
3734 Added GAppLaunchContext object and pass that to launch.
3735 This allows simple implementation of both
3736 launch-on-screen and startup notification via a gtk+
3737 subclass of GAppLaunchContext
3739 * gio/gdesktopappinfo.c:
3740 Implement GAppLaunchContext API
3742 * gio/gwin32appinfo.c:
3745 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3747 * gio/gmountoperation.c:
3748 Add some guards to GMountOperation's public functions.
3750 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3754 * gio/gcancellable.c:
3755 * gio/gdirectorymonitor.c:
3757 * gio/gfileenumerator.c:
3758 * gio/gfilemonitor.c:,
3759 * gio/gfilenamecompleter.c:
3762 * gio/gioscheduler.c:
3766 * gio/gvolumemonitor.c:
3767 Add even more guards to various public functions.
3769 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3772 Add guards to the public functions of GAppInfo.
3774 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3776 * gio/gcontenttype.c:
3777 Add some more guards for public functions.
3779 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3781 * gio/fam/fam-module.c:
3782 * gio/fam/gfamdirectorymonitor.c:
3783 * gio/fam/gfamdirectorymonitor.h:
3784 * gio/fam/gfamfilemonitor.c:
3785 * gio/fam/gfamfilemonitor.h:
3786 * gio/inotify/ginotifydirectorymonitor.c:
3787 * gio/inotify/ginotifydirectorymonitor.h:
3788 * gio/inotify/ginotifyfilemonitor.c:
3789 * gio/inotify/ginotifyfilemonitor.h:
3790 Add proper copyright information and remove an unused variable
3791 in the GInotifyFileMonitor constructor.
3793 * gio/gcancellable.c:
3794 Add a guard for a public function and an assertion to prevent
3795 an undefined program state.
3797 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3799 * gio/gfileattribute.c:
3800 Don't run into an assertion if the given attribute value is NULL
3801 in g_file_attribute_value_get_*() but instead return a fallback
3802 value that makes sense in most situations. Passing them a attribute
3803 value with the wrong type will still run into an assertion.
3805 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3807 * gio/gfileattribute.c:
3809 Add even more guards to the public functions. Also fix the refcounting
3810 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3811 let g_file_info_list_attributes() filter the attributes by namespace
3812 instead of simply ignoring the namespace parameter.
3814 2007-11-03 Sven Herzberg <sven@imendio.com>
3816 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3817 (This makes gio work on MacOS X again)
3819 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3822 Build the gio subdirectory before the docs. Otherwise the build will
3825 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3826 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3827 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3828 Add guards to the public functions.
3830 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3832 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3833 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3834 to prevent a compiler warning.
3836 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3837 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3838 return something in the non-void function find_topdir_for().
3840 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3847 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3849 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3850 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3851 * gwin32appinfo.c (g_win32_app_info_launch):
3852 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3853 envp_for_startup_id, g_desktop_app_info_launch,
3854 g_desktop_app_info_launch_uris):
3856 Give an opaque 'startup_id' string instead of 'envp'.
3857 Support empty file lists for launching new windows.
3858 Fix infinite recursion bug when launching URIs.
3860 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3863 Add guard to the new g_file_get_uri_scheme() function.
3865 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3868 Convert a g_return_val_if_fail() to setting the GError instead as
3869 otherwise applications have to verify the parameter before otherwise
3870 and the parameter might come directly from the user.
3872 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3874 * gio/inotify/ginotify*.[ch]:
3875 Add missing copyright information.
3877 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3880 Add guards in the beginning of public functions to check for valid
3881 parameters and fix a bug in copy_stream_with_progress() that could've
3882 caused writing less bytes than reading.
3883 * gio/glocalfileinfo.c:
3884 Check for a NULL parameter and set the GError accordingly then.
3885 * gio/goutputstream.c:
3886 Fix the same bug as in gfile.c that could've caused writing less bytes
3887 than reading in g_output_stream_real_splice().
3889 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3892 Use the correct gvolumeprivate.h naming
3894 2007-11-01 Christian Kellner <gicmo@gnome.org>
3897 Remove leftover "$(daemon_sources)" entry.
3899 2007-11-01 Christian Kellner <gicmo@gnome.org>
3904 Add copyright information to source files.
3906 2007-11-01 Alexander Larsson <alexl@redhat.com>
3910 Add g_file_get_uri_scheme
3912 2007-11-01 Alexander Larsson <alexl@redhat.com>
3915 * gio/gdesktopappinfo.c:
3916 * gio/gwin32appinfo.c:
3917 Add g_app_info_get_default_for_uri_scheme.
3919 2007-11-01 Alexander Larsson <alexl@redhat.com>
3922 Correct filename for gdriveprivate.h
3924 2007-10-31 Alexander Larsson <alexl@redhat.com>
3927 Rename id:value to id:file
3930 * gio/glocalfileinfo.c:
3933 2007-10-31 Alexander Larsson <alexl@redhat.com>
3935 * gio/gunixvolume.c:
3937 Remove g_volume_get_platform_id, as thats not
3938 needed with the simpler union volume monitor
3940 2007-10-31 Alexander Larsson <alexl@redhat.com>
3943 * gio/guniondrive.[ch]: Removed.
3944 * gio/gunionvolume.[ch]: Removed.
3945 Remove GUnionDrive/Volume
3947 * gio/gunionvolumemonitor.c:
3948 Simplify union volume monitor, now we
3949 only have one native volume monitor and
3950 we use the actual volumes/drives from the
3951 child monitors instead of wrapping them
3953 * gio/gnativevolumemonitor.[ch]:
3954 Base class for native volume monitors.
3955 Includes priority and get_volume_for_mountpoint
3958 Add g_file_find_enclosing_volume
3961 Remove volume name fs attribute
3962 Add readonly fs attribute
3965 Implement readonly attribute
3966 remove volume name attribute
3967 Implement find_enclosing volume
3969 * gio/gunixmounts.c:
3970 Add a volume for "/".
3972 * gio/gunixvolume.[ch]:
3973 Set better name for /
3975 * gio/gunixvolumemonitor.[ch]:
3976 Derive from GNativeVolumeMonitor
3977 Implement get_volume_for_mountpoint
3980 GVolume typedef moved to gfile.h
3982 * gio/gvolumeprivate.h:
3983 Add g_volume_get_for_mount_path
3985 2007-10-31 Alexander Larsson <alexl@redhat.com>
3987 * gio/gunixmounts.[ch]:
3988 Add cache info to unix mount listers
3989 Make getmntent use threadsafe
3990 Add is_system_internal attribute for GUnixMount
3992 * gio/gunixvolume.c:
3993 (g_unix_volume_new):
3994 Use is_system_internal instead of own code
3996 * gio/glocaldirectorymonitor.c:
3997 * gio/gunixvolumemonitor.c:
3998 Update to new gunixmounts API
4003 2007-10-30 Alexander Larsson <alexl@redhat.com>
4006 Add volume name fsinfo attribute
4009 Read volume name info
4011 * gio/gunionvolumemonitor.c:
4012 Fix infinite loops when finalizing a union volume monitor
4014 2007-10-30 Alexander Larsson <alexl@redhat.com>
4016 * gio/goutputstream.[ch]:
4017 Add splice() with default implementation
4019 * gio/gsocketoutputstream.c:
4020 (g_socket_output_stream_write):
4021 Return error on cancellation correctly.
4023 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4025 * gio/glocalfile.c (g_local_file_trash):
4026 Do not leak a string.
4028 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4030 * gio/gfile.c (g_file_load_contents):
4031 Unref the stream after closing it.
4033 2007-10-25 Alexander Larsson <alexl@redhat.com>
4035 * gio/gioscheduler.h:
4038 2007-10-25 Alexander Larsson <alexl@redhat.com>
4042 Add g_file_has_uri_scheme and implement for local files
4044 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4046 * gio/gdesktopappinfo.c: do not leak a string.
4048 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4050 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4051 (g_local_directory_monitor_new):
4052 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4053 (g_local_file_monitor_new):
4054 Only look for the monitor type that should be used the first time
4055 and use g_qsort_with_data() instead of our own bubble sort
4058 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4061 * gio/fam/Makefile.am:
4062 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4063 * gio/fam/fam-helper.h:
4064 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4065 * gio/fam/gfamdirectorymonitor.c:
4066 * gio/fam/gfamdirectorymonitor.h:
4067 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4068 * gio/fam/gfamfilemonitor.h:
4069 * gio/glocaldirectorymonitor.c:
4070 * gio/glocaldirectorymonitor.h:
4071 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4072 * gio/glocalfilemonitor.h:
4073 * gio/inotify/Makefile.am:
4074 * gio/inotify/ginotifydirectorymonitor.c:
4075 * gio/inotify/ginotifydirectorymonitor.h:
4076 * gio/inotify/ginotifyfilemonitor.c:
4077 * gio/inotify/ginotifyfilemonitor.h:
4078 Implement the FAM and Inotify monitors as
4079 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4080 their own GIO module. GLocal(Directory|File)Monitor will use the
4081 monitor with the highest rank that is supported on that machine.
4083 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4086 Change GIO module dir to $(libdir)/gio/modules and change
4087 the log domain from GVFS to GIO. Also only export symbols starting
4088 with g_ in the resulting library.
4089 * gio/test-streams.c: (main):
4090 Set log handler for the GIO log domain.
4092 2007-10-22 Alexander Larsson <alexl@redhat.com>
4094 * gio/gfilenamecompleter.[ch]:
4095 Add g_filename_completer_set_dirs_only
4097 2007-10-22 Alexander Larsson <alexl@redhat.com>
4100 * gio/gurifuncs.[ch]:
4101 Add some simple URI helpers
4103 * gio/gfilenamecompleter.[ch]:
4104 Added object for filename (parse name actually) completion
4107 Handle ~ in parse names
4109 2007-10-17 Alexander Larsson <alexl@redhat.com>
4112 * gio/glocalfileinfo.c:
4113 Add and implement id:value attribute
4115 2007-10-17 Alexander Larsson <alexl@redhat.com>
4118 * gio/guniondrive.c:
4120 Add and implement g_drive_has_volumes
4122 2007-10-17 Alexander Larsson <alexl@redhat.com>
4125 * gio/glocalfileinfo.[ch]:
4126 Add unix:is_mountpoint and implement for local files
4128 2007-10-16 Alexander Larsson <alexl@redhat.com>
4130 * gio/gunionvolumemonitor.c:
4131 (g_union_volume_monitor_init):
4132 Fix up the unix type getting so that it works with gcc
4134 2007-10-12 Alexander Larsson <alexl@redhat.com>
4137 * gio/glocalfileinfo.c:
4138 Add thumbnail:failed to file info
4140 2007-10-12 Richard Hult <richard@imendio.com>
4142 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4143 optimizing away the get_type call (happens with some gcc versions,
4144 like the one shipped with OS X 10.4).
4146 2007-10-12 Alexander Larsson <alexl@redhat.com>
4148 * gio/glocalfileinfo.c:
4149 (_g_local_file_info_set_attribute):
4150 Fix build if not HAVE_XATTR
4151 Patch from Milosz Derezynski <internalerror@gmail.com>
4153 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4155 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4156 around for review, otherwise I would have asked you before
4159 2007-10-11 Alexander Larsson <alexl@redhat.com>
4162 Add thumbnail:path attribute
4164 * gio/glocalfileinfo.c:
4165 Implement thumbnail:path for local files
4167 2007-10-11 Alexander Larsson <alexl@redhat.com>
4169 * gio/glocalfileinfo.c:
4170 (_g_local_file_info_get):
4171 Avoid duplicate icon names
4173 2007-10-11 Alexander Larsson <alexl@redhat.com>
4175 * gio/gthemedicon.[ch]:
4176 Change g_themed_icon_get_names return type to const
4178 2007-10-10 Alexander Larsson <alexl@redhat.com>
4180 * gio/glocalfileinfo.c:
4181 Don't reference freed memory
4183 2007-10-10 Alexander Larsson <alexl@redhat.com>
4185 * gio/gfileattribute.c:
4188 * gio/glocalfileinfo.c:
4191 2007-10-10 Alexander Larsson <alexl@redhat.com>
4194 Check for NULL icons
4196 * gio/gfileattribute.c:
4197 Don't dup when getting objects (same as for string attributes)
4199 * gio/gicon.c (g_icon_equal):
4200 Safely handle NULLs in equal
4202 2007-10-10 Alexander Larsson <alexl@redhat.com>
4205 Fix c++ compilation issues
4206 Patch from Milosz Derezynski <internalerror@gmail.com>
4208 2007-10-10 Alexander Larsson <alexl@redhat.com>
4210 * programs/gio-monitor-dir.c:
4211 Don't crash if dir monitor not supported.
4213 2007-10-09 Alexander Larsson <alexl@redhat.com>
4216 Add missing G_END_DECLS
4218 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4220 * gio/gfile.c: (g_file_set_display_name),
4221 (g_file_query_settable_attributes),
4222 (g_file_query_writable_namespaces):
4223 Return NULL not FALSE on errors as the return type is a pointer.
4225 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4227 * gio/glocalfile.c: (g_local_file_monitor_file):
4228 Don't call monitor_file on the default interface vtable (which
4229 is NULL) but simply return NULL. The caller, GFile, will create a
4230 polling monitor if NULL is returned.
4232 2007-10-09 Alexander Larsson <alexl@redhat.com>
4236 * gio-unix-2.0.pc.in:
4237 Add gio-unix-2.0.pc if OS_UNIX
4240 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4242 2007-10-09 Alexander Larsson <alexl@redhat.com>
4244 * gio/gunixmounts.[ch]:
4245 Make unix mount monitoring API sane.
4246 Now its just a object with mounts_changed
4247 and mountpoints_changed signals.
4249 * gio/glocaldirectorymonitor.c:
4250 * gio/gunixvolumemonitor.c:
4251 Use new mount monitor api
4253 2007-10-09 Alexander Larsson <alexl@redhat.com>
4255 * gio/gunixmounts.[ch]:
4256 Move guess type into one call for mounts and one for mountpoints
4259 * gio/gunixvolume.c:
4262 2007-10-09 Alexander Larsson <alexl@redhat.com>
4264 * gio/gunixmounts.[ch]:
4265 Remove _ prefix in preparation to make this semi-public
4266 Hide implementation of structs
4268 * gio/glocaldirectorymonitor.c:
4270 * gio/gunixvolume.c:
4271 * gio/gunixvolumemonitor.c:
4272 Update for above API changes
4274 2007-10-08 Alexander Larsson <alexl@redhat.com>
4277 Better polling fallback. This also handles the case where we have
4278 a monitor_file implementation, but it fails.
4280 2007-10-08 Alexander Larsson <alexl@redhat.com>
4284 * gio/gunixmounts.c:
4285 * programs/gio-monitor-dir.c:
4286 * programs/gio-monitor-file.c:
4287 Added cancellable to file monitoring calls.
4288 These are really sync calls and need this.
4290 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4292 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4293 (g_local_vfs_class_init):
4294 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4295 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4297 2007-10-05 Alexander Larsson <alexl@redhat.com>
4299 * gio/gdirectorymonitorprivate.h:
4300 * gio/gfilemonitorprivate.h:
4301 * gio/gdirectorymonitor.h:
4302 * gio/gfilemonitor.h:
4303 Remove *private.h and move to the public API, so that
4304 we can do implementations outside gio (such as in gvfs)
4306 * gio/gdirectorymonitor.c:
4307 * gio/gfilemonitor.c:
4308 * gio/glocaldirectorymonitor.c:
4309 * gio/gpollfilemonitor.c:
4310 * gio/inotify/inotify-helper.c:
4311 * gio/fam/fam-helper.c:
4312 Update to the new header names
4314 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4316 * gio/gdirectorymonitor.c:
4317 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4320 2007-10-04 Alexander Larsson <alexl@redhat.com>
4322 * gio/glocalfileinfo.c (get_access_rights):
4323 Set CAN_TRASH when we can move the file.
4324 We should really also check for a parent trash dir.
4326 2007-10-04 Alexander Larsson <alexl@redhat.com>
4328 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4329 Add can_trash access attribute
4331 2007-10-04 Alexander Larsson <alexl@redhat.com>
4334 (g_local_file_trash):
4335 Create info file first. This is per-spec and allows
4336 us to actually trash directories.
4338 2007-10-02 Alexander Larsson <alexl@redhat.com>
4340 * gio/gdesktopappinfo.c:
4341 Implement the new mime support code.
4342 Always set app as handling mimetype when being set as default for it
4344 2007-10-01 Alexander Larsson <alexl@redhat.com>
4346 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4347 Fix up check for xattrs:
4349 2007-10-01 Alexander Larsson <alexl@redhat.com>
4352 (g_app_info_set_as_default_for_extension):
4353 (g_app_info_add_supports_type):
4354 (g_app_info_can_remove_supports_type):
4355 (g_app_info_remove_supports_type):
4356 Make these fail nicely if not implemented
4358 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4360 * gio/glocalfileoutputstream.c:
4361 * gio/glocalfileoutputstream.h:
4366 * programs/gio-save.c:
4367 Add a GFileCreateFlags argument to operations that can create
4370 2007-10-01 Alexander Larsson <alexl@redhat.com>
4372 * gio/gappinfo.[ch]:
4373 * gio/gdesktopappinfo.c:
4374 Add more (stubbed out) mime API needed for nautilus
4376 2007-10-01 Alexander Larsson <alexl@redhat.com>
4379 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4380 Add g_app_info_set_as_default_for_extension.
4382 * gio/gdesktopappinfo.c:
4383 Dummy for g_app_info_set_as_default_for_extension
4384 Support flags in g_app_info_create_from_commandline
4386 * gio/gwin32appinfo.c:
4388 Update for API changes
4390 * gio/gthemedicon.c:
4391 Properly NULL-terminate list of icon names
4393 2007-09-28 Alexander Larsson <alexl@redhat.com>
4395 * gio/gloadableicon.h:
4396 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4398 2007-09-28 Alexander Larsson <alexl@redhat.com>
4401 Install headers in $includedir/gio-standalone/
4403 * gio-2.0.pc.in: Added.
4404 * gio-standalone.pc.in: Removed.
4407 Renamed pkg-config file to match glib (for future move)
4408 Update to the new include dir
4411 Add more TODO comments
4413 2007-09-28 Alexander Larsson <alexl@redhat.com>
4415 * gio/gdesktopappinfo.[ch]:
4416 Expose new_from_filename
4417 Add getter for is_hidden and handle it better
4419 2007-09-28 Alexander Larsson <alexl@redhat.com>
4421 * gio/gfileinfo.[ch]:
4422 Rename g_file_size_format_for_display to
4423 g_format_file_size_for_display.
4424 Now it doesn't have the g_file prefix, so we
4425 can later move it to glib.
4427 2007-09-28 Alexander Larsson <alexl@redhat.com>
4429 * gio/gappinfo.[ch]:
4430 Add g_app_info_get_id and g_app_info_get_executable.
4431 Make all getters non-reffing
4432 Make g_app_info_launch take GFile arguments.
4433 Add must_support_uris argument to g_app_info_get_default_for_type.
4435 * gio/gwin32appinfo.c:
4436 Update to GAppInfo api changes
4438 * gio/gdesktopappinfo.c:
4439 Update to GAppInfo api changes
4440 Implement supports_xdg_startup_notify
4442 * gio/gfileicon.c (g_file_icon_get_file):
4443 Make getter non-reffing.
4448 2007-09-27 Alexander Larsson <alexl@redhat.com>
4450 * gio/gfileinfo.[ch]:
4451 Add g_file_size_format_for_display helper
4453 2007-09-27 Alexander Larsson <alexl@redhat.com>
4455 * gio/glocalfileinfo.c:
4456 Set UNIX_GID from gid, not from uid
4458 2007-09-27 Alexander Larsson <alexl@redhat.com>
4461 Add g_file_set_attributes_async
4463 2007-09-27 Alexander Larsson <alexl@redhat.com>
4465 * gio/glocalfile.c (g_local_file_set_display_name):
4466 Fix set_display_name to actually rename to the right place.
4467 Use lstat to look for existing files so we don't overwrite
4470 2007-09-26 Alexander Larsson <alexl@redhat.com>
4473 Add g_file_set_display_name_async()
4475 2007-09-26 Alexander Larsson <alexl@redhat.com>
4478 Add load_partial_contents async calls
4481 Make internal function static
4483 2007-09-26 Alexander Larsson <alexl@redhat.com>
4485 * gio/glocalfileinfo.c:
4486 Correctly detect broken symlinks
4488 2007-09-26 Alexander Larsson <alexl@redhat.com>
4490 * gio/gcancellable.c (g_cancellable_cancel):
4491 Allow cancel on NULL cancellable
4493 2007-09-25 Alexander Larsson <alexl@redhat.com>
4495 * gio/gsimpleasyncresult.c:
4496 Don't allocate g_error manually.
4497 Fixes g_slice/g_new mixup crash
4499 2007-09-25 Alexander Larsson <alexl@redhat.com>
4501 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4502 Actually set active_backend.
4503 This means the monitor will be cancelled correctly.
4505 2007-09-25 Alexander Larsson <alexl@redhat.com>
4507 * gio/gdirectorymonitor.c:
4508 Set timeout to NULL when destroying
4510 2007-09-25 Alexander Larsson <alexl@redhat.com>
4513 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4514 that is a better description of the error.
4516 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4518 * gio/gvfs.c: (g_vfs_get_local):
4519 Make the local vfs variable static. The same instance should
4522 2007-09-24 Alexander Larsson <alexl@redhat.com>
4524 * gio/glocalfileinfo.c:
4525 Pass in actual length read into sniffer, not the length
4528 2007-09-21 Alexander Larsson <alexl@redhat.com>
4530 * gio/gfileenumerator.c:
4533 * gio/gfileinputstream.c:
4534 * gio/gfileoutputstream.c:
4535 * gio/ginputstream.c:
4536 * gio/goutputstream.c:
4537 Don't crash if async callbacks are NULL
4539 2007-09-20 Alexander Larsson <alexl@redhat.com>
4542 Add async enumerate_children method and default
4545 2007-09-20 Alexander Larsson <alexl@redhat.com>
4548 Add g_file_contains_file & g_file_get_relative_path, since they
4549 were needed for nautilus.
4550 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4555 Implement new methods
4557 2007-09-17 Alexander Larsson <alexl@redhat.com>
4560 * gio/gfileinputstream.[ch]:
4561 * gio/gfileoutputstream.[ch]:
4563 * gio/glocalfileenumerator.[ch]:
4564 * gio/glocalfileinfo.[ch]:
4565 * gio/glocalfileinputstream.c:
4566 * gio/glocalfileoutputstream.c:
4567 * gio/gpollfilemonitor.c:
4568 * programs/gio-copy.c:
4569 * programs/gio-info.c:
4570 * programs/gio-move.c:
4571 Rename get_file_info to query_info() to make it clearer
4572 that these are not simple getters, but do i/o.
4574 2007-09-17 Alexander Larsson <alexl@redhat.com>
4576 * gio/gdatainputstream.[ch]:
4577 * gio/test-streams.c:
4578 Use _read_XXX instead of _get_XXX for the i/o calls
4581 2007-09-17 Alexander Larsson <alexl@redhat.com>
4584 Added needed stuff to TODO comment
4586 2007-09-17 Alexander Larsson <alexl@redhat.com>
4588 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4589 Don't error out removing the backup copy if it doesn't
4592 2007-09-14 Alexander Larsson <alexl@redhat.com>
4594 * programs/Makefile.am:
4595 * programs/gvfs-*.c:
4597 Renamed apps from gvfs-xxx to gio-xxx.
4599 2007-09-14 Alexander Larsson <alexl@redhat.com>
4602 * gio/gfileoutputstream.[ch]:
4603 * gio/glocalfileoutputstream.c:
4604 * programs/gvfs-save.c:
4605 g_file_output_stream_get_etag doesn't do i/o, so remove
4606 cancellation and error.
4608 2007-09-14 Alexander Larsson <alexl@redhat.com>
4611 Add new_etag output to replace_contents functions
4613 2007-09-14 Alexander Larsson <alexl@redhat.com>
4615 * gio/gfileoutputstream.[ch]:
4616 Add async get_file_info and default implementation
4618 2007-09-14 Alexander Larsson <alexl@redhat.com>
4620 * gio/gfileinputstream.c:
4621 Implement fallback wrapper for async get_file_info
4623 2007-09-14 Alexander Larsson <alexl@redhat.com>
4626 Add etag out argument to load_contents
4631 2007-09-14 Alexander Larsson <alexl@redhat.com>
4633 * gio/gcontenttype.c (looks_like_text):
4634 Whitespace like tab, cr and lf do not make the
4637 2007-09-14 Alexander Larsson <alexl@redhat.com>
4639 * gio/gfileinputstream.[ch]:
4640 Add async get_file_info.
4642 2007-09-13 Alexander Larsson <alexl@redhat.com>
4644 * gio/goutputstream.c (g_output_stream_write_all):
4645 Allow NULL for bytes_written
4647 2007-09-13 Alexander Larsson <alexl@redhat.com>
4649 * gio/gmemoryinputstream.[ch]:
4650 Add accessors for data
4652 2007-09-13 Alexander Larsson <alexl@redhat.com>
4654 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4655 Don't crash if length is NULL