1 2008-09-02 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.18.0 ===
5 2008-09-02 Michael Natterer <mitch@imendio.com>
7 * *.h: big header formatting cleanup: indentation, vtable
8 formatting, consistent spacing in (* vfunc), trailing whitespace
9 removal. Formatting should be pretty consistent in all GIO headers
12 2008-09-02 Matthias Clasen <mclasen@redhat.com>
14 * gmount.h: Document guess_content_type sync vfunc.
16 2008-09-02 Michael Natterer <mitch@imendio.com>
18 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
19 fix parent_class member to be GFilterOutputStreamClass (not
20 GOutputStreamClass). Drop three pointers of padding, which is
21 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
22 so the class struct size stays the same.
24 2008-09-02 Matthias Clasen <mclasen@redhat.com>
26 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
28 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
29 nonexisting return values. Pointed out by Cosimo Cecchi.
31 2008-08-23 Tor Lillqvist <tml@novell.com>
33 Bug 548988 - g_file_replace fails on Windows when the target file
36 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
37 Windows, close the file before potentially renaming it (in case we
38 have been writing to a file with a temporary name).
40 (g_local_file_output_stream_close, handle_overwrite_open): Use
41 GLocalFileStat instead of plain struct stat, for passing to
42 _g_local_file_info_create_etag(). Thus also use _fstati64()
43 instead of plain fstat() on Windows.
45 2008-08-18 Matthias Clasen <mclasen@redhat.com>
47 * === Released 2.17.7 ===
49 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
51 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
54 2008-08-13 Tor Lillqvist <tml@novell.com>
58 * win32/gwinhttpfile.c
59 * win32/gwinhttpfileinputstream.c
60 * win32/gwinhttpfileoutputstream.c: Refactor some common code
61 snippets into helper functions. Check HTTP response status
62 codes. Implement g_winhttp_file_query_info(), looking at
63 Content-Length, Content-Type and Last-Modified.
65 * win32/winhttp.h: Add some symbolic constants that are not
66 publicly documented. Just a handful, so it should be OK to use
67 information from the Windows SDK's headers.
69 2008-08-13 Tor Lillqvist <tml@novell.com>
71 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
74 * win32/gwin32directorymonitor.c
75 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
77 2008-08-13 Matthias Clasen <mclasen@redhat.com>
80 * goutputstream.c: Add intro docs.
82 2008-08-13 Tor Lillqvist <tml@novell.com>
84 * win32/gwinhttpfileoutputstream.c
85 (g_winhttp_file_output_stream_write): Don't write the
86 Content-Length header ourselves, WinHttpSendRequest() takes care
87 of that when the dwTotalLength parameter is non-zero. Increment
88 offset by the number of actual bytes sent, although I wonder if
89 such a scenario is possible where less than requested would be
90 sent and accepted by the server without errors.
92 2008-08-13 Tor Lillqvist <tml@novell.com>
96 * win32/gwinhttpfile.c
97 * win32/gwinhttpfile.h
98 * win32/gwinhttpfileinputstream.c
99 * win32/gwinhttpfileinputstream.h
100 * win32/gwinhttpfileoutputstream.c
101 * win32/gwinhttpfileoutputstream.h: New files implementing
102 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
103 Windows. The implementation uses the WinHttp API. Both reading and
104 writing are supported, i.e. GET and PUT requests. When writing,
105 each write call is done using a separate PUT request with a
106 Content-Range header. Requests for file URIs and plain pathnames
107 are forwarded to GLocalVfs.
109 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
110 WINE. Used as there is no <winhttp.h> bundled with mingw, and
111 requiring people to download the Windows SDK just for this one
112 header is not reasonable.
114 * win32/Makefile.am: Add above files.
116 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
117 the plumbing for the above.
119 2008-08-11 Sven Neumann <sven@gimp.org>
121 * gfilenamecompleter.c
122 * glocaldirectorymonitor.c
124 * gunionvolumemonitor.c
128 * gunixvolumemonitor.c
131 * gwin32volumemonitor.c: use canonical signal names.
133 2008-08-11 Tor Lillqvist <tml@novell.com>
135 * Makefile.am: Put a list of the platform-dependent .la files in
136 the subdirectories in the platform_deps Make variable, and make
137 libgio-2.0.la depend on that, so that it gets relinked if one of
138 the dependent libraries has changed.
140 2008-08-11 Tor Lillqvist <tml@novell.com>
142 * Makefile.am (platform_libadd): Remove -lwininet which had been
143 added by mistake. We will probably eventually be using WinHTTP,
144 not the older WinInet anyway. (Actually I am working on it.)
146 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
148 Bug 547080 – g_file_copy leaks expected errors
150 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
151 before trying the next fallback routine.
153 2008-08-09 Loïc Minier <lool@dooz.org>
155 Bug 535124 – umask 002 not being applied for new directories, new
156 files get the correct umask
158 * gfile.c (g_file_make_directory)
159 (g_file_make_directory_with_parents): Document ownership and
160 permissions of newly created directories as being the default
163 2008-08-08 Loïc Minier <lool@dooz.org>
165 Bug 535124 – umask 002 not being applied for new directories, new
166 files get the correct umask
168 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
171 2008-08-08 Tor Lillqvist <tml@novell.com>
173 * gwin32mount.c: Remove unused code. Whitespace cleanup.
175 * gwin32volumemonitor.c (get_connected_drives): Put questionable
176 code that didn't actually do anything inside #if 0, and add a
177 comment wondering what the code was supposed to do. This also gets
178 rid of a leftover debugging printout.
180 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
182 * gfileicon.c (g_file_icon_get_property)
183 (g_file_icon_set_property): New functions.
184 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
186 (g_file_icon_new): Use the property (bug #546132).
188 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
190 * gthemedicon.c (g_themed_icon_get_property): Also handle
191 `PROP_USE_DEFAULT_FALLBACKS'.
192 (g_themed_icon_class_init): Make
193 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
195 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
197 Bug 546371 – Improve docs re g_file_monitor
199 * gfilemonitor.c: Mention g_file_monitor() in the docs.
201 2008-08-04 Matthias Clasen <mclasen@redhat.com>
203 * === Released 2.17.6 ===
205 2008-08-04 Matthias Clasen <mclasen@redhat.com>
207 * === Released 2.17.5 ===
209 2008-08-04 Matthias Clasen <mclasen@redhat.com>
211 Bug 546017 – Don't copy attributes when copying a symlink
213 * gfile.c (g_file_copy_attributes): Specify
214 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
215 g_file_set_attributes_from_info. Patch by Christian Kellner
217 2008-08-04 Matthias Clasen <mclasen@redhat.com>
219 * gemblemedicon.[hc]:
221 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
222 a bit more extensible. Work by Clemens Buss.
224 * gioenums.h: Add GEmblemOrigin.
227 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
229 Bug 546079 – leak in xdgmime
231 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
233 2008-08-03 Tor Lillqvist <tml@novell.com>
235 * win32/gwin32directorymonitor.h
236 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
239 2008-08-03 Tor Lillqvist <tml@novell.com>
241 * win32/gwin32directorymonitor.c
242 (g_win32_directory_monitor_callback): Make prototype match
243 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
244 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
247 (g_win32_directory_monitor_constructor):
248 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
249 names in the GLib API on Windows, so convert to UTF-16 and open
252 2008-08-03 Tor Lillqvist <tml@novell.com>
254 Bug 541036 - Gnumeric crashes when trying to open Desktop or
255 user's folder under Windows
257 * win32/gwin32directorymonitor.c
258 (g_win32_directory_monitor_constructor): Ignore error from
259 CreateFile() when opening directory. Instead of asserting, just
260 store INVALID_HANDLE_VALUE then in
261 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
262 ReadDirectoryChangesW().
263 (g_win32_directory_monitor_cancel): Don't attempt to close
264 directory handle if it is INVALID_HANDLE_VALUE.
266 2008-08-01 Matthias Clasen <mclasen@redhat.com>
268 * gdesktopappinfo.c: Remove debug spew
270 2008-08-01 Hans Breuer <hans@breuer.org>
272 * makefile.msc : add gemblembedicon
274 2008-07-30 Matthias Clasen <mclasen@redhat.com>
276 Bug 545457 – gdmsetup crashed with SIGSEGV in
277 g_unix_mount_guess_should_display()
279 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
280 crash if no mount is found.
282 2008-07-28 Matthias Clasen <mclasen@redhat.com>
284 Bug 545203 – gfile.c: argument is different type.
286 * gfile.c (open_read_async_thread): Pass a GError **
287 to g_file_set_error_literal.
288 Reported by Kazuki Iwamoto
290 2008-07-28 Matthias Clasen <mclasen@redhat.com>
292 Bug 545157 – wrong/no list of "open with" applications for .cc and
295 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
296 Collect all ancestors, not just direct parents. Pointed
297 out by Bastien Nocera
299 2008-07-28 Matthias Clasen <mclasen@redhat.com>
301 * Makefile.am: Install gemblemedicon.h
303 2008-07-28 Matthias Clasen <mclasen@redhat.com>
305 * gemblemedicon.[hc]: Add a GIcon implementation that can
306 add an emblem to another icon.
313 * gfileicon.c: Small documentation additions.
315 2008-07-28 Tor Lillqvist <tml@novell.com>
317 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
320 2008-07-27 Tor Lillqvist <tml@novell.com>
322 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
324 2008-07-24 David Zeuthen <davidz@redhat.com>
328 Also export a g_mount_guess_content_type_sync() function.
330 2008-07-23 Matthias Clasen <mclasen@redhat.com>
332 529694 – SELinux context setting support
334 * gfileinfo.c: Support setting selinux attributes.
335 Patch by Tomas Bzatek
337 2008-07-22 Priit Laes <plaes@plaes.org>
339 Bug 544140 - fam-helper 64-bit issue?
341 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
343 2008-07-21 Matthias Clasen <mclasen@redhat.com>
345 * === Released 2.17.4 ===
347 2008-07-20 Matthias Clasen <mclasen@redhat.com>
349 * gvolumemonitor.[hc]:
354 * gmount.c: Documentation fixes
356 2008-07-19 Matthias Clasen <mclasen@redhat.com>
358 543504 – crash in Epiphany Web Browser: Opening local file
369 * gvolume.c: Register types thread-safely.
370 Patch by Christian Persch
372 2008-07-18 Matthias Clasen <mclasen@redhat.com>
374 * gcontenttype.c: Remove debug spew
376 2008-07-18 Matthias Clasen <mclasen@redhat.com>
378 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
381 * fen/fen-kernel.c: Remove a warning that was causing
382 crashes. Reported by Lin Ma.
384 2008-07-18 Matthias Clasen <mclasen@redhat.com>
386 Bug 543040 – async reading on dummy file will crash on
389 * gfile.c (open_read_async_thread): Cope with read_fn being
390 NULL. Reported by Lin Ma.
392 2008-07-18 Matthias Clasen <mclasen@redhat.com>
395 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
397 2008-07-16 Matthias Clasen <mclasen@redhat.com>
401 * giomodule.c: Rename a chapter id to avoid filename conflict.
403 2008-07-16 Matthias Clasen <mclasen@redhat.com>
405 Bug 540616 – mem leak in filechooser button
407 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
408 the mount entry. Reported by Chrisitan Persch
410 2008-07-16 Matthias Clasen <mclasen@redhat.com>
412 * gfile.c: Small documentation fixes.
414 2008-07-15 Matthias Clasen <mclasen@redhat.com>
416 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
418 2008-07-08 Matthias Clasen <mclasen@redhat.com>
423 * gmount.c: Documentation improvements.
425 2008-07-08 Matthias Clasen <mclasen@redhat.com>
428 * gmount.[hc]: Add g_mount_guess_content_type().
430 2008-07-06 David Zeuthen <davidz@redhat.com>
433 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
434 is needed for easily handling adoption of foreign volumes by
435 out-of-process volume monitors (#541793)
437 2008-07-06 David Zeuthen <davidz@redhat.com>
439 * gvolumemonitor.[ch]:
440 * gunionvolumemonitor.c: Export the eject-button signal on the
441 volume monitor class (#541794).
443 2008-07-06 Matthias Clasen <mclasen@redhat.com>
445 * gappinfo.c: More doc tweaks
447 2008-07-05 Matthias Clasen <mclasen@redhat.com>
449 * gappinfo.c: Clarify some docs
451 2008-07-03 Matthias Clasen <mclasen@redhat.com>
453 * gdesktopappinfo.c: Fix a stupid mistake.
455 2008-07-02 Matthias Clasen <mclasen@redhat.com>
457 * === Released 2.17.3 ===
459 2008-07-02 Matthias Clasen <mclasen@redhat.com>
461 * gfilemonitor.c: Fix the build.
463 2008-07-02 Matthias Clasen <mclasen@redhat.com>
465 Bug 536160 – Add g_file_monitor()
468 * gfile.[hc]: Add g_file_monitor which can return either
469 a file or a directory monitor. Proposed by Behdad Esfahbod
471 2008-07-02 Matthias Clasen <mclasen@redhat.com>
473 536733 – gio build failure on Irix
475 * glocalfile.c: Use a configure check for structfs.f_bavail.
477 2008-07-02 Matthias Clasen <mclasen@redhat.com>
479 Bug 534639 – add g_desktop_app_info_new_from_keyfile
482 * gdesktopappinfo.[hc]: Add a function to create a
483 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
485 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
487 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
489 2008-07-01 Matthias Clasen <mclasen@redhat.com>
491 * gunixmounts.c: Fix a doc typo.
493 2008-07-01 Cody Russell <bratsche@gnome.org>
495 * gio/gcontenttype.c:
496 * gio/gwin32appinfo.c:
497 * gio/gwin32volumemonitor.c:
498 * gio/gwin32mount.c: Fixed some include problems.
500 2008-07-01 Cody Russell <bratsche@gnome.org>
504 Moved all relevant typedefs into these files.
507 Updated wrt added files.
509 Split types into separate file for easier maintainership. (#538564)
511 2008-06-30 Matthias Clasen <mclasen@redhat.com>
513 Bug 540331 – g_file_append_to () documentation: can return NULL
515 * gfile.c (g_file_append_to): Clarify docs.
518 2008-06-30 Matthias Clasen <mclasen@redhat.com>
520 Bug 539090 – g_content_type_from_mime_type() should unalias
522 * gcontentype.c (g_content_type_from_mime_type): Unalias.
523 Patch by Markus Bergman
525 2008-06-30 Matthias Clasen <mclasen@redhat.com>
527 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
530 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
531 on ppc and alpha. Reported by Mart Raudsepp
533 2008-06-29 Matthias Clasen <mclasen@redhat.com>
536 * tests/memory-output-stream.c: Add some tests for
539 2008-06-29 Matthias Clasen <mclasen@redhat.com>
541 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
544 * gmemoryoutputstream.c (array_resize): Handle truncation to
545 zero correctly. Reported by Akira Tagoh
547 2008-06-29 Matthias Clasen <mclasen@redhat.com>
549 * gmemoryoutputstream.c: Trivial doc fixes
551 2008-06-29 Matthias Clasen <mclasen@redhat.com>
553 Bug 540802 – g_list_prepend doesn't concat lists
555 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
556 one list to another. Pointed out by Jan Arne Petersen
558 2008-06-28 Michael Natterer <mitch@imendio.com>
560 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
562 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
564 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
565 to avoid problems with partial icon themes.
567 2008-06-17 Hans Breuer <hans@breuer.org>
569 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
570 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
571 access again on win32, see bug #538127
572 * giomodule.c : ensure GWin32VolumeMonitor is registered
573 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
574 * Makefile.am makefile.msc : updated
576 2008-06-16 Hans Breuer <hans@breuer.org>
578 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
579 and initialization in one step avoids c99ism
581 2008-06-16 Christian Persch <chpe@gnome.org>
584 * gio/gbufferedinputstream.c
586 * gio/gdatainputstream.c
587 * gio/gdesktopappinfo.c
589 * gio/gfileenumerator.c
590 * gio/gfileinputstream.c
591 * gio/gfileoutputstream.c
593 * gio/glocaldirectorymonitor.c
595 * gio/glocalfileenumerator.c
596 * gio/glocalfileinfo.c
597 * gio/glocalfilemonitor.c
598 * gio/glocalfileoutputstream.c
599 * gio/gmemoryinputstream.c
600 * gio/gmemoryoutputstream.c
601 * gio/goutputstream.c
602 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
605 2008-06-16 Tor Lillqvist <tml@novell.com>
607 Bug 538362 - Get Win32 icons back in the file chooser
609 * gcontenttype.c (g_content_type_get_icon): Look up the icon
610 corresponding to a file extension in the Registry. Patch by Hans
612 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
614 2008-06-16 Tor Lillqvist <tml@novell.com>
616 Patches by Hans Breuer:
618 * glocalfile.c (is_xp_or_later): Handle compiling against older
619 SDK headers with missing VerifyVersionInfo(). Conditioned on
620 _MSC_VER, but should probably use some better test.
621 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
622 uninitialised statfs_result variable on Win32.
624 2008-06-16 Michael Natterer <mitch@imendio.com>
626 * *.c: chain up unconditionally in finalize() and dispose(). Also
627 don't dereference these function pointers when calling them since
628 that has no meaning at all.
630 2008-06-16 Ross Burton <ross@burtonini.com>
633 Remove check for dispose implementation as it annoys Emmanuele.
635 2008-06-16 Ross Burton <ross@burtonini.com>
637 Bug 536252 – GFileEnumerator should allow access to the containing
643 Add g_file_enumerator_get_container() and a container writeable
644 construct-only property. Also shuffle around typedefs to make it
647 * glocalfileenumerator.c:
648 * glocalfileenumerator.h:
650 Instead of a string filename take a GFile in the constructor and
651 use it to set the container property.
656 2008-06-16 Matthias Clasen <mclasen@redhat.com>
658 * gfile.c: Make includes more uniform
660 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
662 * tests/live-g-file.c (sample_struct):
663 Use less fancy unicode filenames, so the test doesn't fail
664 on Mac OS X (#531476).
666 2008-06-12 Matthias Clasen <mclasen@redhat.com>
668 * === Released 2.17.2 ===
670 2008-06-12 Matthias Clasen <mclasen@redhat.com>
672 * === Released 2.17.1 ===
674 2008-06-11 A. Walton <awalton@gnome.org>
676 * tests/g-file.c (test_g_file_new_null):
677 Fix broken test case.
679 2008-06-11 Matthias Clasen <mclasen@redhat.com>
681 * pltcheck.sh: We use g_clear_error now.
683 2008-06-11 Matthias Clasen <mclasen@redhat.com>
685 * glocalfile.c (g_local_file_enumerate_children): Revert
686 an unintended change.
688 2008-06-11 Matthias Clasen <mclasen@redhat.com>
690 * gfile.c (g_file_replace_contents): Don't unref before the last use.
692 2008-06-10 Matthias Clasen <mclasen@redhat.com>
694 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
697 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
698 as icon for the desktop directory, also make user-home and
699 user-desktop the preferred icons.
701 2008-06-10 Matthias Clasen <mclasen@redhat.com>
704 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
705 to add a name to the front of the list.
707 2008-06-10 Matthias Clasen <mclasen@redhat.com>
709 Bug 537392 – Additional colon in xattr name
711 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
712 too. Reported by Alessandro Morandi
714 2008-06-10 Matthias Clasen <mclasen@redhat.com>
716 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
719 * glocalfile.c (get_fs_type): Add afs and autofs.
720 Patch by Danny Baumann.
722 2008-06-10 Matthias Clasen <mclasen@redhat.com>
724 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
726 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
727 is no parent. (Owen Taylor, patch by Christian Neumair)
729 2008-06-10 Paolo Borelli <pborelli@katamail.com>
731 * gfile.c (g_file_replace_contents): do not leak the output stream.
733 2008-06-10 Michael Natterer <mitch@imendio.com>
735 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
736 uninitialized memory as array index.
738 2008-06-10 Tor Lillqvist <tml@novell.com>
740 * gcontenttype.c (g_content_type_can_be_executable)
741 (g_content_type_get_icon) [Win32]: Add TODO comments.
743 2008-06-09 Matthias Clasen <mclasen@redhat.com>
745 * xdgmime/Makefile.am: Fix the build
747 2008-06-09 Matthias Clasen <mclasen@redhat.com>
749 * gcontenttype.c (g_content_type_get_icon): Use icons specified
750 in the shared mime database, if available.
752 * xdgmime/*: Sync with upstream. This brings support for
753 glob weights, generic icons, and changes the cache format to
756 2008-05-28 Michael Natterer <mitch@imendio.com>
758 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
759 the global CPPFLAGS now.
761 * tests/data-input-stream.c
762 * tests/data-output-stream.c
763 * tests/g-file-info.c
765 * tests/live-g-file.c
766 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
768 2008-05-27 Matthias Clasen <mclasen@redhat.com>
770 * === Released 2.17.0 ===
772 * tests/live-g-file.c: Clean up after the tests, so make distcheck
773 doesn't complain about leftover files.
775 2008-05-27 simon.zheng <simon.zheng@sun.com>
777 * glocalfile.c: (g_local_file_query_filesystem_info):
778 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
780 2008-05-26 Michael Natterer <mitch@imendio.com>
782 * gmemoryoutputstream.h: declare
783 g_memory_output_stream_get_data_size().
785 2008-05-26 Matthias Clasen <mclasen@redhat.com>
787 * tests/*: Make tests work
789 2008-05-26 Matthias Clasen <mclasen@redhat.com>
791 * gio.symbols: Add g_memory_output_stream_get_data_size.
793 2008-05-25 Ross Burton <ross@burtonini.com>
796 Fix typo in error message (#534764).
798 2008-05-25 Ross Burton <ross@burtonini.com>
801 Fix circular dependency loop for gioenumtypes.h (#534759).
803 2008-05-19 Hans Breuer <hans@breuer.org>
805 * Makefile.am : EXTRA_DIST += makefile.msc
807 2008-05-17 Matthias Clasen <mclasen@redhat.com>
810 * gcontenttype.c: (g_content_type_from_mime_type):
811 New function to create a content type from a mime type. (#527175,
814 2008-05-17 Matthias Clasen <mclasen@redhat.com>
816 Bug 532965 – Should not return filesystem::free for certain file systems
818 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
819 free space for ncpfs.
821 2008-05-17 Matthias Clasen <mclasen@redhat.com>
823 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
825 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
826 st_dev might be zero.
828 2008-05-16 Tor Lillqvist <tml@novell.com>
830 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
831 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
833 2008-05-13 Bastien Nocera <hadess@hadess.net>
835 * gfile.c (has_valid_scheme): A URI scheme must start with a
836 letter, even if later more characters are allowed (#532852)
838 2008-05-05 Michael Natterer <mitch@imendio.com>
840 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
841 code from being checked in that breaks the build of applications
842 which use G_DISABLE_SINGLE_INCLUDES.
844 * makegioalias.pl: make the alias file include "glib.h" instead of
847 * gio.symbols: whitespace change to force regeneration of the
848 alias file after above script change.
850 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
852 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
854 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
856 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
858 2008-04-28 David Zeuthen <davidz@redhat.com>
860 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
861 displaying mounts in a subdirectory not accessible to the
864 2008-04-22 Michael Natterer <mitch@imendio.com>
866 * Makefile.am: fix library versioning (it was 0.0.0).
868 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
870 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
871 Default disable all loggings.
872 * fen/fen-kernel.c: (printevent), (port_add_kevent),
873 (port_fetch_event_cb): Fixed two macro nits.
875 2008-04-16 Matthias Clasen <mclasen@redhat.com>
877 * xdgmime/xdgmime.c: Rework the timestamp checking code
878 to protect against duplicate directories in XDG_DATA_DIRS.
879 Fixes fd.o bug 12513, reported by Joe Shaw.
881 2008-04-16 Matthias Clasen <mclasen@redhat.com>
883 Partically revert the last commit after realizing that
884 xdg_mime_media_type_equal doesn't have to init at all.
887 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
889 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
891 2008-04-16 Matthias Clasen <mclasen@redhat.com>
893 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
894 reported by Joe Shaw and Federico Mena Quintero.
896 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
897 (xdg_mime_media_type_equal): Turn into a wrapper around the
900 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
901 functions throughout.
903 2008-04-16 Michael Meeks <michael.meeks@novell.com>
905 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
906 tolerate an empty TryExec= line without failing; nautilus used
907 to create launchers with these in previous versions. Fixes #528433
909 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
911 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
912 after name. Fixes #527132.
914 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
916 * gfile.c: (g_file_replace):
919 2008-04-07 Matthias Clasen <mclasen@redhat.com>
921 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
923 * gfile.c (file_copy_fallback): Fix the argument order. Patch
924 by Christian Kellner.
926 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
928 * gunixmounts.c: (g_unix_mount_guess_should_display):
929 Don't list the user directory as a mount, fix potential issue
930 when other users have a similar naming and don't special case the
931 gvfs mounts there since that's not required (#525866)
933 2008-03-31 Alexander Larsson <alexl@redhat.com>
935 * glocalfile.c (get_parent):
938 2008-03-31 A. Walton <awalton@svn.gnome.org>
940 * gfile.c (g_file_query_file_type):
941 Always return a GFileType enum value (#520715).
943 2008-03-31 Alexander Larsson <alexl@redhat.com>
945 * glocalfileenumerator.c:
946 Read readdir() info in chunks (of 1000) and sort
947 the chunks by inode before stat:ing.
948 This is a 20% performance increase in testing
949 gvfs-ls on /usr/bin with cold cache.
951 2008-03-31 Alexander Larsson <alexl@redhat.com>
953 * gmemoryoutputstream.c:
954 Clarify docs for g_memory_output_stream_get_size.
955 Add g_memory_output_stream_get_data_size.
957 2008-03-30 Matthias Clasen <mclasen@redhat.com>
961 * gfile.h: Add g_file_query_file_type convenience function
962 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
964 2008-03-30 Matthias Clasen <mclasen@redhat.com>
967 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
969 2008-03-28 A. Walton <awalton@svn.gnome.org>
971 * giomodule.c (_g_io_modules_ensure_loaded):
972 Adds GIO_EXTRA_MODULES environment variable support, closing bug
975 2008-03-28 Alexander Larsson <alexl@redhat.com>
978 (copy_stream_with_progress):
981 2008-03-28 Alexander Larsson <alexl@redhat.com>
984 (copy_stream_with_progress):
985 (file_copy_fallback):
986 Fallback to g_file_query_info for source size
987 if g_file_input_stream_query_info fails. (#524579)
989 2008-03-28 Alexander Larsson <alexl@redhat.com>
991 * glocalfile.c (g_local_file_move):
992 Reuse old string instead of adding new one.
994 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
996 * fen/*.[hc]: still copyright issue. I hate copyright.
998 2008-03-27 Alexander Larsson <alexl@redhat.com>
1000 * glocalfile.c (g_local_file_move):
1001 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1002 file over directory. This is according to the docs and what the move via
1003 copy+remove fallback does.
1005 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1007 * fen/*.[hc]: Updated copyright.
1009 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1011 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1013 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1015 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1016 not emit attribute changed events when optimizing changed events.
1017 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1020 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1022 * gmountoperation.[hc]: Small documentation additions
1024 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1026 * gunixmounts.c: (guess_mount_type):
1027 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1029 2008-03-19 Alexander Larsson <alexl@redhat.com>
1032 (copy_stream_with_progress):
1033 Bump block side for copy to 64k to minimize
1034 overhead for low latency links. (#523015)
1036 2008-03-16 Tor Lillqvist <tml@novell.com>
1038 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1039 depend on gio.def on Windows.
1041 2008-03-12 David Zeuthen <davidz@redhat.com>
1045 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1047 2008-03-14 Alexander Larsson <alexl@redhat.com>
1051 Avoid redudant tests (#521851)
1052 Patch from Josselin Mouette
1054 2008-03-14 Alexander Larsson <alexl@redhat.com>
1057 (g_file_monitor_is_cancelled):
1058 Fix C89 issue (#521672)
1059 Patch from Jens Granseuer
1061 2008-03-14 Alexander Larsson <alexl@redhat.com>
1063 * fam/fam-helper.[ch]:
1065 Shut down fam (including removing fam GSource) when
1066 module is unloaded (#521513)
1067 Patch from Joe Marcus Clarke
1069 2008-03-14 Alexander Larsson <alexl@redhat.com>
1072 (_g_io_modules_ensure_loaded):
1075 2008-03-14 Alexander Larsson <alexl@redhat.com>
1078 (g_local_file_query_filesystem_info):
1079 Use right define name for f_fstypename member check
1081 2008-03-14 Alexander Larsson <alexl@redhat.com>
1084 * fen/Makefile.am: Added.
1085 * fen/fen-data.[ch]: Added.
1086 * fen/fen-dump.[ch]: Added.
1087 * fen/fen-helper.[ch]: Added.
1088 * fen/fen-kernel.[ch]: Added.
1089 * fen/fen-missing.[ch]: Added.
1090 * fen/fen-node.[ch]: Added.
1091 * fen/fen-sub.[ch]: Added.
1092 * fen/gfendirectorymonitor.[ch]: Added.
1093 * fen/gfenfilemonitor.[ch]: Added.
1095 Added Solaris FEN file notification backend.
1096 Patch from Lin Ma <Lin.Ma@Sun.COM>
1098 2008-03-13 Tor Lillqvist <tml@novell.com>
1100 * Makefile.am: Actually use the gio.def file when linking the
1101 library on Windows. Produce .lib library for Microsoft's toolchain
1102 when possible. Install the .lib and .def file like for the other
1105 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1107 * tests/live-g-file.c:
1108 Include live-g-file in standard set of tests, making a temporary
1109 directory in source structure.
1111 Clean target directory before the tests (write mode only)
1113 2008-03-12 Tor Lillqvist <tml@novell.com>
1115 Bug 517419 - gio win32 directory monitor
1116 Implementation by Vlad Grecescu.
1119 * win32/gwin32directorymonitor.h
1120 * win32/gwin32directorymonitor.c: New files.
1122 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1124 * Makefile.am: Add the win32 subdirectory.
1126 2008-03-12 Tor Lillqvist <tml@novell.com>
1128 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1129 normal struct stat on Unix but struct _stati64 on Windows to have
1130 access to 64-bit file size information. Use that instead of struct
1131 stat in the functions declared here in this private header.
1133 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1134 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1135 warnings about unused functions and variables. Don't set
1136 meaningless attributes like inode numbers on Windows.
1138 2008-03-12 Benjamin Otte <otte@gnome.org>
1141 trim whitespace so gtk-doc groks the function name
1143 2008-03-12 Tor Lillqvist <tml@novell.com>
1145 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1146 returning FALSE, on Win32.
1148 2008-03-11 Alexander Larsson <alexl@redhat.com>
1151 * glocalfileinfo.[ch]:
1152 Correctly implement can_trash by actually
1153 looking for a trash dir, not just assuming
1156 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1158 * === Released 2.16.1 ===
1160 2008-03-11 Alexander Larsson <alexl@redhat.com>
1163 Fix crashes in new constructor and properties code
1165 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1167 * gfile.c: Minor spelling correction in documentation:
1168 existance -> existence.
1170 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1172 * === Released 2.16.0 ===
1174 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1176 * gio.symbols: Remove g_file_contains_file here, too.
1178 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1180 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1181 Samuel Cormier-Iijima)
1183 2008-03-08 Tor Lillqvist <tml@novell.com>
1185 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1188 2008-03-07 Alexander Larsson <alexl@redhat.com>
1191 (g_local_file_query_filesystem_info):
1192 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1193 Patch from Jasper Lievisse Adriaanse
1195 2008-03-06 Tor Lillqvist <tml@novell.com>
1197 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1198 comments for the *_USEC attributes.
1200 2008-03-06 Alexander Larsson <alexl@redhat.com>
1202 * gfile.c (g_file_query_exists):
1203 Add g_return_val_if_fail check (#520700)
1205 2008-03-06 Alexander Larsson <alexl@redhat.com>
1207 * gdesktopappinfo.c:
1210 * gunionvolumemonitor.c:
1213 * tests/live-g-file.c:
1214 * xdgmime/xdgmimecache.c:
1215 Fix sparse warnings (#519489)
1217 2008-03-05 Alexander Larsson <alexl@redhat.com>
1220 Make cancellation threadsafe (i.e.
1221 guarantee its only done once, and always
1224 * glocaldirectorymonitor.c:
1225 Make sure we the monitor lives while the
1226 mounts_changed callback is being called (#520484)
1228 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1230 * gbufferedinputstream.c: Fix typo in parameter
1233 2008-03-04 Alexander Larsson <alexl@redhat.com>
1236 Remove deprecated symbols we kept for one release.
1238 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1241 * goutputstream.c: Tiny documentation corrections.
1243 2008-03-03 Alexander Larsson <alexl@redhat.com>
1245 * gunionvolumemonitor.c:
1247 Fix the adopt_orphan_mount vfunc to take a
1248 volume_monitor reference in an ABI compat way.
1249 This change is not API compat, but the added
1250 arg is not used in the only user of this vfunc, so
1251 all we get is a harmless warning in gvfs (#520169)
1253 2008-03-01 Benjamin Otte <otte@gnome.org>
1256 clarify docs for g_file_delete().
1258 2008-02-29 Alexander Larsson <alexl@redhat.com>
1262 Make sure empty files get text/plain type (#518720)
1264 2008-02-27 Alexander Larsson <alexl@redhat.com>
1270 (g_unix_volume_mount):
1271 Add missing GMountMountFlags argument
1273 2008-02-26 Alexander Larsson <alexl@redhat.com>
1276 (g_local_file_delete):
1277 Handle filesystems (like ntfs-3g) that return EEXIST instead
1278 of ENOTEMPTY (#518816)
1280 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1282 * === Released 2.15.6 ===
1284 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1286 * gfile.c (g_file_find_enclosing_mount):
1287 * ginputstream.c (g_input_stream_set_pending):
1288 * glocalfile.c (g_local_file_find_enclosing_mount):
1289 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1290 * goutputstream.c (g_output_stream_set_pending):
1292 Fixup translator comments (#518578).
1294 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1296 * gfile.c (g_file_find_enclosing_mount):
1298 * glocalfile.c (g_local_file_find_enclosing_mount):
1301 Fix a few typos in translator comments and documentation.
1303 2008-02-25 Alexander Larsson <alexl@redhat.com>
1310 Add translator comments (#518578)
1312 2008-02-25 Alexander Larsson <alexl@redhat.com>
1315 Reintroduce g_file_contains_file, keep around for one
1316 unstable release cycle to avoid crashing to many apps.
1317 Make sure to delete after release.
1319 2008-02-25 Alexander Larsson <alexl@redhat.com>
1322 Remove deprecated g_file_contains_file.
1324 2008-02-25 Alexander Larsson <alexl@redhat.com>
1327 Emit actual change signals in an idle handler.
1328 This avoids reentrance and locking problems in
1329 the file notification backends.
1331 2008-02-25 Alexander Larsson <alexl@redhat.com>
1334 (g_unix_mount_guess_should_display):
1335 Remove type guessing, instead just display
1336 mounts in /media and in ~/.
1338 2008-02-25 Alexander Larsson <alexl@redhat.com>
1341 Make new strings reuse old ones.
1343 2008-02-25 Alexander Larsson <alexl@redhat.com>
1346 Implement trashing and filesystem::readonly for win32 (#517235)
1347 Patch from Yevgen Muntyan
1349 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1351 * gfileinfo.h: Documentation fixes.
1353 2008-02-22 Alexander Larsson <alexl@redhat.com>
1355 * gcontenttype.c (g_content_type_get_icon):
1356 Look at old-style gnome mime icon names too, as many
1357 have not moved to the new style.
1359 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1361 * *.c: Correct the @include in for section docs.
1363 2008-02-21 David Zeuthen <davidz@redhat.com>
1365 * glocalfileinfo.c: (_g_local_file_info_get):
1367 (g_content_type_get_icon): Implement this function by
1368 moving bits from glocalfileinfo.c
1369 (g_content_type_get_description): Unalias before getting
1370 description (#517687)
1372 * gfile.c: (g_file_class_init),
1373 (g_file_query_filesystem_info_async),
1374 (g_file_query_filesystem_info_finish),
1375 (query_filesystem_info_data_free),
1376 (query_filesystem_info_async_thread),
1377 (g_file_real_query_filesystem_info_async),
1378 (g_file_real_query_filesystem_info_finish):
1379 * gfile.h: Implement async version of
1380 g_file_query_filesystem_info()
1382 * gfileinfo.h: Add new attributes for filesystem::use-preview
1384 * gio.symbols: Update
1386 * gthemedicon.c: (g_themed_icon_append_name):
1387 * gthemedicon.h: Add new new convenience function.
1389 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1390 (get_mounts), (get_volumes), (get_connected_drives),
1391 (get_volume_for_uuid), (get_mount_for_uuid),
1392 (g_union_volume_monitor_init), (populate_union_monitor),
1393 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1394 (g_volume_monitor_adopt_orphan_mount):
1396 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1397 monitor implementations to call into the main volume monitor. Also
1398 separate object initialization and volume monitor initialization
1399 such that non-native volume monitors can properly adopt their
1402 2008-02-21 Alexander Larsson <alexl@redhat.com>
1407 2008-02-21 Alexander Larsson <alexl@redhat.com>
1410 Add more documentation about how GFiles work (from #517086)
1412 2008-02-21 Alexander Larsson <alexl@redhat.com>
1416 Add new g_file_has_prefix that does the same as g_file_contains_file.
1417 Deprecate g_file_contains_file and add a macro that converts
1418 it to g_file_has_prefix.
1419 The reason for this change is that the contains_file() name seems to
1420 imply that this does more work than what it does, but its really only
1421 a name match (from #517086)
1426 Update to match the above change.
1428 2008-02-20 Benjamin Otte <otte@gnome.org>
1430 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1431 (g_file_eject_mountable):
1432 even more cases of not returning in error path
1434 2008-02-20 Benjamin Otte <otte@gnome.org>
1436 * gfile.c: (g_file_mount_mountable):
1437 return from function in error path.
1439 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1442 Remove trailing coma in GMountMountFlags struct
1444 2008-02-18 Alexander Larsson <alexl@redhat.com>
1448 * glocalfileoutputstream.c:
1449 Use g_unlink/g_rename instead of unlink/rename;
1450 do not pass raw filenames to g_set_error. (#517239)
1451 Patch from Yevgen Muntyan.
1453 2008-02-18 Alexander Larsson <alexl@redhat.com>
1456 * glocalfileoutputstream.c:
1457 Open files with O_BINARY on windows. (#517140)
1459 2008-02-14 Alexander Larsson <alexl@redhat.com>
1461 * glocalfileoutputstream.c:
1462 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1464 2008-02-14 Alexander Larsson <alexl@redhat.com>
1467 Copy permissions with file on copy (#514084)
1468 This is what cp does and makes sure e.g. the
1469 exec permissions are kept.
1470 Its kinda weird in that it keeps the permission bits
1471 the same while the uid and gid are different. However
1472 the new uid is the user so its not a security issue,
1473 and I've heard no complaints about cp on this issue.
1475 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1477 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1479 2008-02-13 Alexander Larsson <alexl@redhat.com>
1481 * inotify/inotify-path.c:
1482 Define IN_ONLYDIR if not in header (#515346)
1484 2008-02-12 Alexander Larsson <alexl@redhat.com>
1486 * tests/live-g-file.c:
1489 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1491 * === Released 2.15.5 ===
1493 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1495 * gio.symbols: Add g_mount_mount_flags_get_type.
1497 2008-02-11 Alexander Larsson <alexl@redhat.com>
1500 (g_file_info_set_attribute_mask):
1501 (g_file_attribute_matcher_matches_id):
1502 Correctly handle NULL GAttributeMatcher meaning
1503 matches nothing. (Fixes #513492)
1505 2008-02-11 Alexander Larsson <alexl@redhat.com>
1510 Added GMountMountFlags enum and added a flags
1511 argument to all mount calls.
1513 This is an API/ABI change for future extensibility,
1514 as I think we will need at least an
1515 inhibit-autorun flag (the panel needs this).
1516 There are no flags defined yet though.
1518 2008-02-11 Alexander Larsson <alexl@redhat.com>
1521 Added new standard::description attribute.
1522 Requested by Vincent, and useful for both
1525 2008-02-11 Alexander Larsson <alexl@redhat.com>
1527 * gdesktopappinfo.c:
1530 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1532 * *.c: Documentation additions
1534 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1536 * gappinfo.h: Formatting cleanup
1537 * gappinfo.c: Fix up docs.
1539 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1541 * gunixmounts.c: Consistently use getmntent_r() and fall
1542 back to getmntent(). (#515492)
1544 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1546 * gbufferedinputstream.c:
1548 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1550 * tests/data-input-stream.c:
1551 * tests/data-output-stream.c: Portability fixes.
1553 2008-02-08 Alexander Larsson <alexl@redhat.com>
1558 Add g_volume_should_automount.
1561 2008-02-07 Tor Lillqvist <tml@novell.com>
1563 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1564 Win32, too Unix-specific.
1566 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1568 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1569 a local plt if the compiler doesn't support what we want. Bug #514702
1571 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1573 reviewed by: <delete if not using a buddy>
1576 * gunixinputstream.c:
1577 * gunixoutputstream.c:
1579 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1581 * tests/Makefile.am:
1582 * tests/live-g-file.c:
1583 * tests/live-g-file.txt:
1584 New GIO testing module working over real data
1586 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1588 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1589 Fallback to rename() if link() is not available
1590 (when no support on target filesystem)
1592 2008-02-06 Michael Natterer <mitch@imendio.com>
1594 * gfileinfo.c (g_file_info_get_icon): replace
1595 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1597 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1599 * gfile.c (g_file_create):
1600 Documentation update of error codes
1602 2008-02-06 Alexander Larsson <alexl@redhat.com>
1604 * gdesktopappinfo.c:
1605 Update to use both mimeapps.list and
1606 defaults.list as discussed on xdg list.
1608 2008-02-06 Benjamin Otte <otte@gnome.org>
1611 * gfilenamecompleter.c:
1612 Fix some typos in the documentation.
1614 2008-02-06 Alexander Larsson <alexl@redhat.com>
1616 * glocalfile.c (g_local_file_trash):
1617 Don't succeed with trash if newly created
1618 trash dir has the wrong owner. (#514696)
1620 2008-02-05 Alexander Larsson <alexl@redhat.com>
1622 * glocalfile.c (g_local_file_move):
1623 Don't spew warnings when destination is not
1626 2008-02-03 Hans Breuer <hans@breuer.org>
1628 * makefile.msc : update
1630 2008-02-01 Michael Natterer <mitch@imendio.com>
1632 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1633 return value of xdg_mime_list_mime_parents() to a variable of the
1636 2008-02-01 Alexander Larsson <alexl@redhat.com>
1638 * gappinfo.c (g_app_info_launch_uris):
1639 Actually call the launch_uris method, not
1642 2008-02-01 Alexander Larsson <alexl@redhat.com>
1644 * gdesktopappinfo.c (g_desktop_app_info_equal):
1645 Ensure appinfos with no id but same pointer value
1648 2008-02-01 Alexander Larsson <alexl@redhat.com>
1650 * gappinfo.c (g_app_info_launch_default_for_uri):
1653 2008-02-01 Alexander Larsson <alexl@redhat.com>
1657 Add g_app_info_launch_default_for_uri utility
1660 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1662 * gdesktopappinfo.c:
1663 Doc fix for g_app_info_get_default_for_uri_scheme ()
1666 2008-01-30 Alexander Larsson <alexl@redhat.com>
1669 Add doc comment about uris vs GFiles to
1672 * gdesktopappinfo.c:
1673 Ensure uris passed to g_app_info_launch_uris()
1674 are not roundtriped through GFile (as that
1675 may be slightly destructive for e.g. mailto: links)
1677 2008-01-30 Alexander Larsson <alexl@redhat.com>
1679 * tests/data-input-stream.c:
1680 * tests/data-output-stream.c:
1681 C89 fixes from Jens Granseuer (#512849)
1683 2008-01-30 Alexander Larsson <alexl@redhat.com>
1686 Fix gamin/fam difference build issue. (#509419)
1688 2008-01-29 Alexander Larsson <alexl@redhat.com>
1691 * gdesktopappinfo.c:
1692 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1694 2008-01-29 Alexander Larsson <alexl@redhat.com>
1696 * gdesktopappinfo.c:
1697 * gdesktopappinfo.h:
1698 giomodule-priv.h include moved to .c file.
1700 2008-01-29 Alexander Larsson <alexl@redhat.com>
1702 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1703 Remove unused prio/name fields.
1705 2008-01-29 Alexander Larsson <alexl@redhat.com>
1707 * gcontenttype.c (looks_like_text):
1708 Don't treat whitespace as control chars.
1710 2008-01-29 Alexander Larsson <alexl@redhat.com>
1712 * gdesktopappinfo.c:
1713 Lazily create the desktop files for appinfos created
1714 by g_app_info_create_from_commandline() when needed
1715 for mime associations. This allows run-time use
1716 of GAppInfo object without creating unnecessary
1719 2008-01-29 Alexander Larsson <alexl@redhat.com>
1722 Added new symbols to gio.symbols
1724 2008-01-29 Alexander Larsson <alexl@redhat.com>
1727 Add g_file_query_default_handler utility to easily look up
1728 the GAppInfo that handles a file.
1730 * gdesktopappinfo.[ch]:
1732 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1735 Remove unused function
1737 2008-01-29 Alexander Larsson <alexl@redhat.com>
1739 * gfileenumerator.c:
1740 Mention need to free returned value in
1741 g_file_enumerator_next_files_finish docs.
1742 Fix leak if g_file_enumerator_next_files_finish()
1745 2008-01-29 Alexander Larsson <alexl@redhat.com>
1748 (_g_unix_content_type_get_parents):
1749 Use list_parents, not get_parents from xdgmime, because
1750 the later doesn't use the cache.
1752 * xdgmime/xdgmimecache.c:
1753 (_xdg_mime_cache_list_mime_parents):
1754 Don't list the same type as parent multiple times.
1756 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1758 * === Released 2.15.4 ===
1760 2008-01-28 Alexander Larsson <alexl@redhat.com>
1763 Register local vfs with prio 0.
1766 Remove old name and prio class members
1768 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1770 * tests/g-file.c: Disable some tests that are failing in
1771 the absence of a http backend.
1773 2008-01-28 Alexander Larsson <alexl@redhat.com>
1777 Add registration hooks for extension points.
1778 Register the gio extension points.
1780 * fam/gfamdirectorymonitor.c:
1781 * fam/gfamfilemonitor.c:
1782 * glocaldirectorymonitor.[ch]:
1783 * glocalfilemonitor.[ch]:
1784 * gnativevolumemonitor.h:
1785 * gunionvolumemonitor.c:
1786 * gunixvolumemonitor.c:
1789 * inotify/ginotifydirectorymonitor.c:
1790 * inotify/ginotifyfilemonitor.c:
1791 Use the extension points registration instead
1792 of g_type_children().
1794 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1797 * gvolume.[hc]: Document new API.
1799 * gfile.c (g_file_copy_async): Fix docs
1801 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1803 * gbufferedinputstream.c:
1805 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1808 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1810 * glocalfile.c: Avoid trivial differences in translatable strings.
1812 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1814 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1815 build with gcc 3.4 (#509419)
1817 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1819 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1820 (#509994, Murray Cumming)
1822 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1824 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1825 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1826 this allows big jobs to be executed in chunks, instead of blocking
1827 the main loop for a long time.
1829 * gsimpleasyncresult.c:
1830 * giofile.c: Adapt callers.
1832 2008-01-25 Alexander Larsson <alexl@redhat.com>
1834 * gdesktopappinfo.c:
1835 Implement changes discussed on xdg list.
1836 Now we can add supported mimetypes by just using defaults.list
1837 We can also remove associations in defaults.list.
1839 2008-01-25 Alexander Larsson <alexl@redhat.com>
1841 * gdesktopappinfo.c:
1842 Don't make local copy of desktop file
1843 for mimetype changes if the file already
1844 supports the new mimetype.
1846 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1850 * gbufferedinputstream.c:
1851 * glocalfile.c: String improvements. (#511966,
1852 Theppitak Karoonboonyanan)
1854 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1856 * gioscheduler.h: Expand docs a bit.
1858 2008-01-24 Alexander Larsson <alexl@redhat.com>
1861 Add g_drive_get_identifier and
1862 g_drive_enumerate_identifiers
1865 Add g_volume_get_identifier and
1866 g_volume_enumerate_identifiers
1872 Implement identifiers for unix backend
1874 2008-01-24 Alexander Larsson <alexl@redhat.com>
1879 Add g_file_copy_async() (#511580)
1880 Based on patch from Carlos Garcia Campos
1882 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1884 * gioscheduler.c: Some documentation additions.
1886 2008-01-22 Alexander Larsson <alexl@redhat.com>
1888 * gdesktopappinfo.c:
1889 (g_desktop_app_info_new):
1890 Don't leak basename.
1892 2008-01-22 Alexander Larsson <alexl@redhat.com>
1894 * gdesktopappinfo.c:
1895 (g_desktop_app_info_new_from_filename):
1898 2008-01-22 Alexander Larsson <alexl@redhat.com>
1900 * glocalfileinfo.c (get_thumbnail_attributes):
1903 2008-01-22 Alexander Larsson <alexl@redhat.com>
1906 (canonicalize_filename):
1907 Canonicalize paths that start with more than
1911 (compare_two_files):
1912 (test_g_file_new_for_path):
1915 2008-01-22 Alexander Larsson <alexl@redhat.com>
1918 Allow UTF-8 in file:// parse names.
1920 * tests/Makefile.am:
1921 * tests/data-input-stream.c:
1922 * tests/data-output-stream.c:
1923 * tests/g-file-info.c:
1925 Added a bunch of tests from Tomas Bzatek
1927 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1929 * === Released 2.15.3 ===
1931 2008-01-21 Alexander Larsson <alexl@redhat.com>
1933 * gfileinputstream.[ch]:
1934 * gfileoutputstream.[ch]:
1936 Remove duplicated GSeekable functions. (#509990)
1937 Just use the g_seekable_xxx() calls instead.
1939 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1942 * gvolumemanager.c: Whitespace cleanups.
1944 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1945 Use the right mode when creating the file.
1947 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1949 * gfileenumerator.c:
1950 * gfileinputstream.c:
1952 * goutputstream.c: Documentation: Fixed minor typos
1953 and added more mentions of specific _finish() functions.
1955 2008-01-21 Alexander Larsson <alexl@redhat.com>
1957 * inotify/Makefile.am:
1958 * inotify/inotify-helper.c:
1959 * inotify/inotify-kernel.c:
1960 * inotify/inotify-path.c:
1961 * inotify/local_inotify.h: Removed.
1962 * inotify/local_inotify_syscalls.h: Removed.
1963 Removed the included copies of the inotify
1964 headers. We now only use the <sys/inotify.h>
1965 header which exists on modern systems.
1966 This fixes problems on ARM and SH5 (#510448)
1967 but is also generally much cleaner and future
1968 safe. For instance, if other OSes add support
1969 for inotify it should "just work".
1971 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1973 * inotify/*.c: Coding style fixes.
1974 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1975 for the 1/4 Hz timer.
1977 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1980 * gfilemonitor.[hc]:
1981 * gmemoryinputstream.c:
1982 * gmemoryoutputstream.c:
1983 * gmountoperation.c:
1984 * gthemedicon.c: Documentation updates
1986 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1988 * gfile.c: documentation: Fixed more minor
1991 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1993 * gmount.c: (g_mount_remount): documentation:
1994 Mention g_mount_remount_finish() instead of
1995 g_mount_unmount_finish().
1997 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2001 * gfile.c: Fixed some minor typos in the
2004 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2006 * gio/gvolumemonitor.c:
2007 (g_volume_monitor_get_connected_drives):
2008 (g_volume_monitor_get_volumes):
2009 (g_volume_monitor_get_mounts): Documentation:
2010 Clarify the ownership of the regurn GLists.
2012 2008-01-17 Alexander Larsson <alexl@redhat.com>
2015 Add the async find_enclosing_mount version
2016 to the header file too.
2018 2008-01-17 Alexander Larsson <alexl@redhat.com>
2021 Add async version of find_enclosing_mount
2022 with default implementation.
2024 2008-01-17 Alexander Larsson <alexl@redhat.com>
2029 Allow calls to implementation of copy and write
2030 even if the type of the file implementations is
2031 different. This can be used to implement native
2032 upload and download calls in a vfs.
2035 (g_local_file_move):
2036 Protect against the case where move is called
2037 with one file not being local.
2039 Make sure we call the progress callback once
2040 in the native move operation so that the caller
2041 knows how many bytes were copied.
2043 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2046 * gdatainputstream.c:
2048 * gfileoutputstream.c:
2053 * gunixmounts.c: Corrected some typos in the documentation:
2054 occured -> occurred.
2055 its -> it's (where appropriate).
2057 2008-01-16 Alexander Larsson <alexl@redhat.com>
2061 Add g_file_query_exists (#508771)
2063 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2068 * gvolume.c: For async functions that have no non-async
2069 version, document that the GAsyncReadyCallback may be NULL.
2072 2008-01-15 Alexander Larsson <alexl@redhat.com>
2074 * gmemoryinputstream.c:
2075 * gmemoryoutputstream.c:
2076 Don't do pointer arithmetic on void * (#508602)
2077 Patch from Kazuki IWAMOTO
2079 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2081 * === Released 2.15.2 ===
2083 2008-01-14 Alexander Larsson <alexl@redhat.com>
2085 * gfile.c (g_file_monitor_file):
2086 Don't set error here, since we fallback to polling monitor.
2088 2008-01-14 Alexander Larsson <alexl@redhat.com>
2091 (g_file_monitor_directory):
2092 (g_file_monitor_file):
2093 Add GError to file monitor calls
2095 * glocaldirectorymonitor.c:
2096 * glocaldirectorymonitor.h:
2098 * glocalfilemonitor.c:
2099 * glocalfilemonitor.h:
2101 Update for above change
2103 2008-01-14 Alexander Larsson <alexl@redhat.com>
2107 Handle root correctly in g_file_get_relative_path (#508719)
2109 2008-01-14 Alexander Larsson <alexl@redhat.com>
2112 Clean up docs and example for GAsyncResult (#508074)
2114 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2116 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2117 and correct some spelling mistakes. Bug #508108.
2119 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2121 * glocalfileinfo.c: Add a comment.
2123 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2125 * gfileinfo.c: GFileInfo description: Mention
2126 how to actually set attributes in a GFile and how to discover
2127 which attributes are settable. Bug #508378.
2129 2008-01-10 A. Walton <awalton@svn.gnome.org>
2131 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2132 (g_app_info_get_default_for_type):
2133 Check for NULL content types.
2135 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2137 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2139 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2141 * gfile.c: *_async() functions: Several small corrections
2142 to the documentation, mostly correcting copy/paste errors
2143 and improving some sentences.
2145 2008-01-09 Dan Winship <danw@gnome.org>
2147 * glocalfile.c (get_unique_filename): x86_64 fix
2149 2008-01-09 Alexander Larsson <alexl@redhat.com>
2154 Add g_unix_mount_guess_should_display and use
2155 for unix volume monitor backend.
2156 This means we more or less show what the
2157 gnome-vfs backend did.
2158 Based on patch from Padraig O'Briain
2160 2008-01-09 Alexander Larsson <alexl@redhat.com>
2164 Add g_themed_icon_new_with_default_fallbacks
2167 Use default fallbacks for icons
2169 2008-01-09 Alexander Larsson <alexl@redhat.com>
2172 * gmountoperation.[ch]:
2173 Change the API a bit so that unhandled methods
2174 get reported via the reply, rather than by
2175 the signal emission return value. This is because
2176 some handlers can't know this immediately without
2177 doing I/O, and this is an async operation that
2180 2008-01-09 Alexander Larsson <alexl@redhat.com>
2183 * fam/gfamdirectorymonitor.c:
2184 * fam/gfamfilemonitor.c:
2185 Fix double free crash (#508224)
2186 Patch from Joe Marcus Clarke
2188 008-01-07 Matthias Clasen <mclasen@redhat.com>
2190 * === Released 2.15.1 ===
2192 2008-01-07 Alexander Larsson <alexl@redhat.com>
2194 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2195 Fix warning (#507835)
2197 2008-01-07 Alexander Larsson <alexl@redhat.com>
2200 Pass --internal to glib-genmarshal
2203 * gmountoperation.c:
2205 Use better types for signal arguments (#507822)
2207 2008-01-07 Alexander Larsson <alexl@redhat.com>
2210 Build test subdir after .
2211 Remove gdirectorymonitor.[ch]
2213 * gdirectorymonitor.[ch]:
2217 Remove GDirectoryMonitor and make
2218 GFileMonitor the baseclass for both file and
2219 directory monitors. Lift the more generic
2220 rate limiting code from GDirectoryMonitor
2224 * fam/gfamdirectorymonitor.[ch]:
2225 * inotify/ginotifydirectorymonitor.[ch]:
2226 * inotify/inotify-helper.c:
2227 * glocaldirectorymonitor.[ch]:
2230 Update for the removed GDirectoryMonitor.
2232 * gmemoryoutputstream.c:
2233 Remove ununsed variable
2235 2008-01-07 Alexander Larsson <alexl@redhat.com>
2237 * gmemoryinputstream.c:
2238 Translate error strings
2241 * gmemoryoutputstream.[ch]:
2242 New implementation that avoids using GByteArray
2243 in implementation and API. (#506377)
2245 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2247 * tests/*: Add a test for memory input streams.
2249 * Makefile.am: Add tests to SUBDIRS.
2251 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2253 * glocalfilemonitor.c:
2254 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2257 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2259 * gdesktopappinfo.c: Fix a docs typo.
2261 * gfileattribute.c: Add information about extended attributes
2262 to the documentation. (#505058)
2264 2008-01-04 Alexander Larsson <alexl@redhat.com>
2267 * gmountoperation.c:
2268 Use the right type (uint) for the ask_password signal.
2270 2008-01-04 Alexander Larsson <alexl@redhat.com>
2275 Add g_app_info_supports_files()
2276 Remove desktop arg from g_app_info_should_show().
2278 * gdesktopappinfo.[ch]:
2279 Implement g_app_info_supports_files() and new should_show()
2280 Add g_desktop_app_info_set_desktop_env() to set the desktop
2281 for should_show(). (This will be set by gtk+ later)
2283 2008-01-04 Alexander Larsson <alexl@redhat.com>
2286 * gmemoryinputstream.[ch]:
2287 Improve API so that you can use multiple chunks
2288 of memory and custom destroy functions. (#506374)
2290 2008-01-03 Alexander Larsson <alexl@redhat.com>
2293 Handle NULL attribute matchers safely, as we return this
2294 for empty attribute matcher strings.
2296 2008-01-03 Alexander Larsson <alexl@redhat.com>
2298 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2299 Add /usr/local to list of internal mountpoints
2301 2008-01-03 Alexander Larsson <alexl@redhat.com>
2304 Check for HAVE_LCHOWN (#505887)
2306 2008-01-03 Alexander Larsson <alexl@redhat.com>
2310 Add define for selinux context attribute.
2311 Fix missing : -> :: namespace separator change
2312 Fix missing _ -> - name change for xattr-sys.
2315 2008-01-03 Alexander Larsson <alexl@redhat.com>
2318 Link to libglib and libgobject directly (#504879)
2319 Patch from Sebastien Bacher
2321 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2323 * gfile.c: Expanded the g_file_new_for_commandline_arg
2324 description a bit, based on the code and the docs of the
2325 other g_file_new_for_* functions.
2327 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2329 * gfilemonitor.h: Fixed typo in docs.
2331 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2333 Updates to GIO documentation. (#506395, Mikael Hermansson)
2335 * gcontenttype.c: Describe memory management for return value of
2336 g_content_types_get_registered(). Missing piece from #505815.
2337 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2338 GVolume, GDrive, GMounts, which hopefully gives the user less
2339 confusions when using this API. Following explainations from
2340 Alexander Larsson on gtk-devel-list.
2342 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2344 * gfileinfo.c: Expand the long description.
2346 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2349 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2350 fix builds with --disable-visibility. (#500273, Christian Persch)
2352 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2354 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2355 in the list of returned app infos.
2357 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2359 * gappinfo.c: Fix a cross-reference
2361 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2363 * gfileinputstream.c:
2364 * gfileoutputstream.c:
2368 * gdesktopappinfo.c:
2370 * gfileinfo.c: Documentation updates.
2372 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2374 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2377 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2379 * gcontenttype.c (g_content_types_get_registered): Don't return
2380 freed memory (#505815, Mikael Hermansson)
2382 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2384 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2385 used to detect statbuf->st_blocks. (#505042)
2387 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2389 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2390 environment handling. (#504829, Cosimo Cecchi)
2392 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2394 * gappinfo.c: Doc improvements
2396 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2399 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2401 * === Released 2.15.0 ===
2403 2007-12-20 Hans Breuer <hans@breuer.org>
2405 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2406 with symbols gwin32appinfo.obj, added gmount.obj
2407 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2409 2007-12-20 Alexander Larsson <alexl@redhat.com>
2415 * gfilenamecompleter.c:
2418 * gpollfilemonitor.c:
2419 File attribute renames:
2421 fs:: -> filesystem::
2422 id::fs -> id::filesystem
2424 2007-12-20 Alexander Larsson <alexl@redhat.com>
2433 Add GMountUnmountFlags to all unmount and
2435 Add g_mount_remount() call.
2437 2007-12-20 Alexander Larsson <alexl@redhat.com>
2439 * gvfs.c (get_default_vfs):
2440 Fix unused variable warning
2442 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2444 * pltcheck.sh: Update
2446 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2448 * gunionvolumemonitor.c:
2449 * gunixmount.c: Remove C99 comments
2451 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2453 * gio.symbols: Add some missing symbols
2455 2007-12-19 Alexander Larsson <alexl@redhat.com>
2458 Make g_io_modules_load_all_in_directory not unuse
2459 loaded modules so that users of it can do stuff
2461 Init internal "module" types.
2462 Initialize static prio and name for types so that
2463 we don't have to load modules to get it.
2465 * gnativevolumemonitor.h:
2467 Move is_supported to parent class so that
2468 non-native monitors can avoid being initialized
2469 too. (For instance GDaemonVolumeMonitor if we're
2470 not using GDaemonVfs.)
2472 * glocaldirectorymonitor.[ch]:
2473 * glocalfilemonitor.[ch]:
2474 * gunionvolumemonitor.c:
2475 * gunixvolumemonitor.c:
2477 Find plugins using the static prio+name to
2478 avoid unnecessarily loading the modules.
2480 2007-12-19 Alexander Larsson <alexl@redhat.com>
2485 2007-12-19 Alexander Larsson <alexl@redhat.com>
2487 * gunionvolumemonitor.c:
2488 Store the native type as GType, not class so that
2489 we can unload it. But still avoid unnecessarily
2492 2007-12-19 David Zeuthen <davidz@redhat.com>
2494 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2495 add signals 'disconnected' and 'eject-button' on GDrive. Add
2496 signal 'removed' on GVolume and 'unmounted' on GMount.
2498 * gdrive.c: (g_drive_base_init):
2500 * gfile.c: (g_file_mount_mountable),
2501 (g_file_mount_enclosing_volume):
2504 * gmount.c: (g_mount_base_init):
2506 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2507 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2508 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2512 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2514 * *.c: Fix up includes in the section docs.
2516 2007-12-17 Alexander Larsson <alexl@redhat.com>
2518 * gnativevolumemonitor.h:
2519 * gunionvolumemonitor.c:
2520 * gunixvolumemonitor.c:
2521 Add is_supported() to GNativeVolumeMonitorClass so
2522 that we can avoid having to create an object to see
2523 if the backend is supported at runtime.
2524 Also add name member and an env var to pick a specific
2525 volume monitor backend.
2529 Add cancellable to _g_mount_get_for_mount_path()
2531 * glocaldirectorymonitor.c:
2532 * glocalfilemonitor.c:
2533 Avoid loading and unloading modules while sorting.
2535 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2538 * gunixmounts.[hc]: Namespace waste reduction, move some
2539 g_get_unix_mount functions to the g_unix_mount namespace.
2542 * gunixvolumemonitor.c:
2544 * glocaldirectorymonitor.c: Update all callers.
2546 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2548 2007-12-17 Alexander Larsson <alexl@redhat.com>
2551 Add doc comments about what GFile operations are
2552 guaranteed to not block.
2554 2007-12-17 Alexander Larsson <alexl@redhat.com>
2557 Add missing #ifdef fixing OSX build.
2558 (#503334, patch from Richard Hult)
2560 2007-12-14 David Zeuthen <davidz@redhat.com>
2564 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2565 (g_mount_eject), (g_mount_eject_finish):
2567 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2568 (get_volume_for_uuid), (get_mount_for_uuid),
2569 (g_union_volume_monitor_class_init),
2570 (get_default_native_type_with_exclude), (get_default_native_type),
2571 (get_native_type), (update_native_type),
2572 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2573 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2574 (g_unix_mount_can_eject), (eject_unmount_cb),
2575 (eject_unmount_read_error), (eject_unmount_do),
2576 (g_unix_mount_unmount), (g_unix_mount_eject),
2577 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2578 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2579 (g_unix_mount_point_guess_can_eject):
2581 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2582 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2583 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2584 (g_unix_volume_mount), (g_unix_volume_eject),
2585 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2586 * gunixvolumemonitor.c: (get_volume_for_uuid),
2587 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2589 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2590 (g_volume_eject), (g_volume_eject_finish):
2592 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2593 (g_volume_monitor_get_mount_for_uuid):
2596 Provide eject() on both GMount and GVolume and utility functions
2597 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2598 ejected. Introduce the concept of UUID's and wire it into GVolume
2599 and GMount and provide API on GVolumeMonitor to find such
2600 instances. Also handle the case where an external
2601 GNativeVolumeMonitor fails to initialize. Lock around the
2602 _g_get_mount_for_mount_path() function such that volume monitor
2603 implementations won't have to do locking themselves.
2605 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2607 * gdesktopappinfo.c:
2613 * gvolume.h: Documentation updates
2615 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2618 * gfile.h: Doc updates
2620 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2623 * gdesktopappinfo.c: Use hash table iterators.
2625 2007-12-14 Alexander Larsson <alexl@redhat.com>
2628 * gfileattribute.[ch]:
2629 * gfileattribute-priv.h:
2630 Move GFileAttributeValue to a private header, as
2634 Make set_attribute take a type + a pointer instead
2635 of a GFileAttributeValue.
2638 Fix up for above changes.
2639 Add g_file_info_get_attribute_data to get
2640 all info in one call, g_file_info_get_attribute_status
2641 to get the status and g_file_info_get_attribute_as_string.
2645 * glocalfileinfo.[ch]:
2649 Make _guess_type static.
2651 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2654 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2655 made mkenums and friends use temporary files to avoid leaving
2656 empty generated files on failure (#503470).
2658 2007-12-14 Alexander Larsson <alexl@redhat.com>
2660 * gmountoperation.h:
2663 2007-12-14 Alexander Larsson <alexl@redhat.com>
2667 * gfileattribute.[ch]:
2670 * glocalfileoutputstream.c:
2671 * gmountoperation.[ch]:
2672 * goutputstream.[ch]:
2673 Clean up all flags enums to not have _FLAGS in them
2674 Make the names of some of the enums better.
2679 2007-12-14 Michael Natterer <mitch@imendio.com>
2681 * gio.symbols: fix g_io_scheduler symbol names.
2683 2007-12-14 Alexander Larsson <alexl@redhat.com>
2689 * gbufferedinputstream.h:
2690 * gbufferedoutputstream.h:
2693 * gdatainputstream.h:
2694 * gdataoutputstream.h:
2695 * gdesktopappinfo.h:
2696 * gdirectorymonitor.h:
2700 * gfileenumerator.h:
2703 * gfileinputstream.h:
2705 * gfilenamecompleter.h:
2706 * gfileoutputstream.h:
2707 * gfilterinputstream.h:
2708 * gfilteroutputstream.h:
2716 * gmemoryinputstream.h:
2717 * gmemoryoutputstream.h:
2719 * gmountoperation.h:
2722 * gsimpleasyncresult.h:
2724 * gunixinputstream.h:
2726 * gunixoutputstream.h:
2730 * inotify/Makefile.am:
2731 Only allow including <gio/gio.h> from apps
2733 2007-12-14 Alexander Larsson <alexl@redhat.com>
2735 * gioscheduler.[ch]:
2736 * gsimpleasyncresult.c:
2737 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2738 Split out the send_to_mainloop call into two versions instead
2739 of having the block argument.
2741 2007-12-13 Alexander Larsson <alexl@redhat.com>
2743 * gcancellable.[ch]:
2745 * gbufferedinputstream.c:
2746 * gfileenumerator.c:
2747 * gfileinputstream.c:
2748 * gfileoutputstream.c:
2752 g_push/pop_current_cancellable ->
2753 g_cancellable_push/pop_current
2755 2007-12-13 Alexander Larsson <alexl@redhat.com>
2759 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2761 2007-12-13 Alexander Larsson <alexl@redhat.com>
2763 * gmountoperation.h:
2764 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2766 2007-12-12 Alexander Larsson <alexl@redhat.com>
2769 Fix race condition when freeing proxy in
2770 g_io_job_send_to_mainloop().
2772 2007-12-12 Alexander Larsson <alexl@redhat.com>
2778 Make attribute namespace separator "::" instead of ":".
2779 Use - instead of _ as separator in attribute names.
2781 2007-12-12 Alexander Larsson <alexl@redhat.com>
2783 * gbufferedinputstream.h:
2784 * gbufferedoutputstream.h:
2785 * gdatainputstream.h:
2786 * gdataoutputstream.h:
2787 * gdirectorymonitor.h:
2788 * gfileenumerator.h:
2789 * gfileinputstream.h:
2791 * gfileoutputstream.h:
2792 * gfilterinputstream.h:
2793 * gfilteroutputstream.h:
2795 * glocalfileinputstream.h:
2796 * glocalfileoutputstream.h:
2797 * gmemoryinputstream.h:
2798 * gmemoryoutputstream.h:
2799 * gnativevolumemonitor.h:
2801 * gunixinputstream.h:
2802 * gunixoutputstream.h:
2805 s/parent/parent_instance/ in GObjects
2807 2007-12-12 Alexander Larsson <alexl@redhat.com>
2812 No need for padding for interfaces
2814 2007-12-12 Alexander Larsson <alexl@redhat.com>
2818 * gbufferedinputstream.c:
2819 * gbufferedoutputstream.c:
2822 * gdatainputstream.[ch]:
2823 * gdesktopappinfo.c:
2824 * gdirectorymonitor.c:
2826 * gfileattribute.[ch]:
2829 * gfileinputstream.h:
2830 * gfilemonitor.[ch]:
2831 * gfileoutputstream.[ch]:
2832 * gfilterinputstream.h:
2833 * gfilteroutputstream.h:
2836 * gloadableicon.[ch]:
2837 * gmemoryinputstream.c:
2838 * gmountoperation.c:
2840 Fix up a bunch of details in the docs.
2845 2007-12-11 David Zeuthen <davidz@redhat.com>
2847 Rework how volumes, drives and volume monitoring is
2848 done. Previosly the model was
2850 GDrive <1-1> GVolume
2852 where a GDrive instance represented a mount point and a GVolume
2853 instance represented a mounted file system. This patch changes it
2856 GDrive <1-N> GVolume <1-1> GMount
2858 where GMount now serves the purpose of the old GVolume and the new
2859 GVolume serves the purpose of the old GDrive. In addition the new
2860 GDrive interface is used to represent a collection of GVolume
2861 instances (typically partitions) and also contains utility to query
2862 the state of the physical drive the GDrive object represents (such
2863 as checking for media, polling the drive, ejecting the media etc.).
2865 Also implement mounting and unmounting in the Unix volume monitor
2866 backend. A subquent patch will introduce GDrive support for ejection
2870 * gdrive.c: (g_drive_is_media_check_automatic),
2871 (g_drive_is_media_removable), (g_drive_has_media),
2872 (g_drive_can_poll_for_media), (g_drive_eject),
2873 (g_drive_eject_finish), (g_drive_poll_for_media),
2874 (g_drive_poll_for_media_finish):
2876 * gfile.c: (g_file_find_enclosing_mount):
2879 * glocaldirectorymonitor.c:
2880 (g_local_directory_monitor_constructor), (mounts_changed):
2881 * glocalfile.c: (get_mount_info),
2882 (g_local_file_find_enclosing_mount),
2883 (g_local_file_file_iface_init):
2884 * gnativevolumemonitor.h:
2885 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2886 (get_connected_drives), (g_union_volume_monitor_class_init),
2887 (child_volume_added), (child_volume_removed),
2888 (child_volume_changed), (child_mount_added), (child_mount_removed),
2889 (child_mount_pre_unmount), (child_mount_changed),
2890 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2891 (g_union_volume_monitor_remove_monitor),
2892 (_g_mount_get_for_mount_path):
2893 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2894 (guess_system_internal), (_g_get_unix_mounts),
2895 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2896 (g_unix_mount_free), (g_unix_mount_compare),
2897 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2898 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2899 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2900 (type_to_icon), (g_unix_mount_guess_name),
2901 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2902 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2903 (_resolve_symlink), (_resolve_dev_root):
2905 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2906 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2907 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2908 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2909 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2910 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2911 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2912 (g_unix_volume_volume_iface_init):
2914 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2915 (get_mounts), (get_volumes), (get_connected_drives),
2916 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2917 (mountpoints_changed), (mounts_changed),
2918 (g_unix_volume_monitor_init),
2919 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2920 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2921 * gunixvolumemonitor.h:
2922 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2923 (g_volume_mount), (g_volume_mount_finish):
2925 * gvolumemonitor.c: (g_volume_monitor_class_init),
2926 (g_volume_monitor_get_connected_drives),
2927 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2930 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2932 * gmountoperation.h (GPasswordFlags): Close the gap
2934 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2936 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2938 * gdesktopappinfo.[hc]: Remove _-prefixes
2940 2007-12-10 Tor Lillqvist <tml@novell.com>
2942 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2945 2007-12-10 Alexander Larsson <alexl@redhat.com>
2947 * gfile.c (g_file_set_display_name):
2948 Don't hardcode '/' (#502727)
2950 2007-12-09 Hans Breuer <hans@breuer.org>
2952 * makefile.msc : follow lib naming convention
2953 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2954 for user and group name, tested with ../tests/gio-ls
2956 2007-12-09 A. Walton <awalton@svn.gnome.org>
2958 * gdesktopappinfo.c:
2964 * gfileenumerator.c:
2969 * gmemoryinputstream.c:
2970 * gmemoryoutputstream.c:
2972 * gsimpleasyncresult.c:
2973 More documentation cleanup and filling in missing information, bringing
2974 GIO to 99% symbol coverage.
2976 2007-12-08 Hans Breuer <hans@breuer.org>
2978 [gio compiles and links on win32, not sure how much already works]
2979 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2980 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2981 base on win32 API; prefer g_lstat() over lstat(); instead of
2982 localtime_r() use an all GLib implementation on win32;
2983 get_mount_info() still needs a win32 specifc implementation
2984 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2985 win32_get_file_user_info to get owner/group info without uid/gid
2986 * glocalfileinputstream.c : include <io.h> on win32
2987 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2988 definition, use g_win32_ftruncate() for G_OS_WIN32
2989 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2990 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2991 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2992 * makefile.msc : updated
2994 2007-12-07 Alexander Larsson <alexl@redhat.com>
2996 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2997 Avoid warning spew if error == NULL
2999 2007-12-07 Alexander Larsson <alexl@redhat.com>
3002 Update docs wrt etags
3004 2007-12-06 Alexander Larsson <alexl@redhat.com>
3007 Include sys/types.h for dev_t (#501919)
3009 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3013 Make abicheck and pltcheck pass.
3015 2007-12-05 Alexander Larsson <alexl@redhat.com>
3018 * giomodule-priv.h: Added.
3019 * glocaldirectorymonitor.c:
3020 * glocalfilemonitor.c:
3021 * gunionvolumemonitor.c:
3023 Actually add the declaration of _g_io_modules_ensure_loaded
3025 2007-12-05 Alexander Larsson <alexl@redhat.com>
3027 * gdatainputstream.c:
3032 * glocaldirectorymonitor.c:
3033 * glocalfilemonitor.c:
3034 * gunionvolumemonitor.c:
3036 Make g_io_modules_ensure_loaded a private function and
3037 don't pass in the dirname. This means we can do magic
3038 directory finding in the win32 version.
3039 Export the actual load-modules-in-directory code so that
3040 gvfs can reuse that.
3042 2007-12-05 Alexander Larsson <alexl@redhat.com>
3044 * gbufferedinputstream.c:
3045 * gbufferedoutputstream.c:
3048 * gfileenumerator.[ch]:
3049 * gfileinputstream.c:
3050 * gfileoutputstream.[ch]:
3051 * gfilterinputstream.c:
3052 * gfilteroutputstream.c:
3053 * ginputstream.[ch]:
3055 * glocalfileenumerator.c:
3056 * glocalfileinputstream.c:
3057 * glocalfileoutputstream.c:
3058 * gmemoryinputstream.c:
3059 * gmemoryoutputstream.c:
3060 * goutputstream.[ch]:
3063 * gunixinputstream.c:
3064 * gunixoutputstream.c:
3065 Rename all struct members named:
3066 read, write, close, truncate, or mount
3067 to foo_fn, as these are reserved names
3068 and could be defined as macros in libc.
3071 2007-12-04 Alexander Larsson <alexl@redhat.com>
3074 (g_output_stream_close):
3075 Only call flush if non-null.
3077 2007-11-30 Dan Winship <danw@gnome.org>
3079 * ginputstream.c (g_input_stream_set_pending): Make this take a
3080 GError and return a gboolean, and do the "outstanding operation"
3081 check (and the "stream is already closed" check) itself.
3082 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3084 * goutputstream.c (g_output_stream_set_pending)
3085 (g_output_stream_clear_pending): Likewise
3087 * gbufferedinputstream.c:
3088 * gfileinputstream.c:
3089 * gfileoutputstream.c: Update for that
3091 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3092 Like g_simple_async_report_error_in_idle, but takes a GError
3093 rather than building one.
3095 2007-11-30 Dan Winship <danw@gnome.org>
3097 * goutputstream.c: Don't cheat and unset the "pending" flag around
3098 inner calls. Instead, call the class method directly rather than
3099 the wrapper function that checks "pending"
3101 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3103 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3105 2007-12-03 Hans Breuer <hans@breuer.org>
3107 [start of port to win32/msvc]
3108 * gcancellable.c : HAVE_UNIST_H and _pipe()
3109 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3110 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3111 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3113 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3114 * glocalvfs.c : use HAVE_PWD_H
3115 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3116 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3117 * Makefile.am : added to EXTRA_DIST
3119 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3121 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3124 2007-12-03 Alexander Larsson <alexl@redhat.com>
3127 Handle OSX style xattrs API (#500506)
3129 2007-12-03 Alexander Larsson <alexl@redhat.com>
3133 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3135 2007-12-02 A. Walton <awalton@svn.gnome.org>
3139 Documentation accuracy fixes.
3141 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3143 * gioenumtypes.c.template: Fix typo.
3145 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3147 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3149 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3151 * gdirectorymonitor.c:
3152 * gfilemonitor.c: Add properties
3154 * gbufferedoutputstream.c: Don't mark buffer-size property
3157 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3159 * gbufferedoutputstream.c: Add auto-grow property.
3161 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3163 * *.c: Unify the capitalization of section headings.
3165 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3167 * gmountoperation.c: Add properties
3169 * gdatainputstream.c: Turn byte-order and newline-type into
3172 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3174 * gioenumtypes.[hc].template: Templates for enum registration
3176 * Makefile.am: Generate gioenumtypes.[hc]
3178 * gio.h: Include gioenumtypes.h
3180 * gfile.h: Add some explicit nicks.
3182 * gio.symbols: Add new symbols
3184 * pltcheck.sh: Adjust
3186 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3188 * *.c: Explain etags and link to the explanation
3190 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3192 * *.c: Explain I/O priority.
3194 * *.c: More coding style fixes.
3196 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3198 * gasyncresult.c: Add another paragraph to the intro,
3199 adjust coding style of example.
3201 2007-11-29 A. Walton <awalton@svn.gnome.org>
3204 Fixes unknown meaning in GAppLaunchContext docs.
3206 Clarify asynchronous ops.
3208 Fix entity tag docs.
3211 Provides missing gtk-doc section, fixes API docs slighly.
3212 * gsimpleasyncresult.c:
3213 Fill in missing info in docs.
3214 * gunixinputstream.c:
3215 * gunixoutputstream.c:
3216 Be more expressive in short description.
3218 Remove gtk-doc stubs for non-public API.
3220 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3222 * *.c: Coding style fixups
3224 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3226 * inotify/inotify-helper.c: Don't export the lock from libgio.
3228 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3231 * abicheck.sh: Fix copy-and-paste leftovers
3233 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3235 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3237 2007-11-28 Alexander Larsson <alexl@redhat.com>
3241 Removed unnecessary file
3243 * gdesktopappinfo.[ch]:
3246 * glocaldirectorymonitor.[ch]:
3248 * glocalfileenumerator.[ch]:
3249 * glocalfileinputstream.[ch]:
3250 * glocalfilemonitor.[ch]:
3251 * glocalfileoutputstream.[ch]:
3253 * gnativevolumemonitor.c:
3254 * gpollfilemonitor.[ch]:
3255 * gunionvolumemonitor.[ch]:
3258 * gunixvolumemonitor.[ch]:
3261 * inotify/ginotifydirectorymonitor.[ch]:
3262 * inotify/ginotifyfilemonitor.[ch]:
3263 * inotify/inotify-helper.c:
3264 Append _ to all internal functions
3268 Export symbols needed for modules
3270 2007-11-28 Alexander Larsson <alexl@redhat.com>
3273 * abicheck.sh: Added.
3274 * makegioalias.pl: Added.
3275 * pltcheck.sh: Added.
3276 * gio.symbols: Added.
3279 Initial work on adding symbol handling.
3282 Correct ifdef guard name
3285 * inotify/Makefile.am:
3286 * xdgmime/Makefile.am:
3287 Include toplevel Makefile.decl
3289 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3291 * gcontenttype.c: Move doc comments to the unix section.
3293 * *.[hc]: More trivial doc corrections.
3295 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3297 * gpollfilemonitor.c:
3301 * gdesktopappinfo.c:
3306 * gdatainputstream.c:
3307 * gdatainputstream.h:
3308 * gdataoutputstream.c:
3309 * gdataoutputstream.h:
3310 * gfileinfo.h: Doc cleanups
3312 2007-11-28 Andre Klapper <a9016009@gmx.de>
3314 * gdesktopappinfo.c: Fix a typo.
3316 2007-11-27 Andre Klapper <a9016009@gmx.de>
3318 * glocalfileoutputstream.c: Fix a typo.
3320 2007-11-27 Alexander Larsson <alexl@redhat.com>
3323 Don't include removed headers
3325 2007-11-27 Alexander Larsson <alexl@redhat.com>
3328 * gsocketinputstream.[ch]: Removed.
3329 * gsocketoutputstream.[ch]: Removed.
3330 * gunixinputstream.[ch]: Added.
3331 * gunixoutputstream.[ch]: Added.
3332 Renamed GSocket*Stream to GUnix*Stream and made
3333 it unix-only, since its not really only for sockets
3334 and it only works on unix (but is highly useful there).
3336 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3342 * gbufferedinputstream.c:
3343 * gbufferedinputstream.h:
3344 * gbufferedoutputstream.c:
3345 * gbufferedoutputstream.h:
3349 * gdatainputstream.c:
3350 * gdatainputstream.h:
3351 * gdataoutputstream.c:
3352 * gdataoutputstream.h:
3353 * gdirectorymonitor.c:
3354 * gdirectorymonitor.h:
3361 * gfileenumerator.c:
3362 * gfileenumerator.h:
3367 * gfileinputstream.c:
3368 * gfileinputstream.h:
3371 * gfilenamecompleter.c:
3372 * gfilenamecompleter.h:
3373 * gfileoutputstream.c:
3374 * gfileoutputstream.h:
3375 * gfilterinputstream.c:
3376 * gfilterinputstream.h:
3377 * gfilteroutputstream.c:
3378 * gfilteroutputstream.h:
3391 * glocalfileoutputstream.c:
3392 * gmemoryinputstream.c:
3393 * gmemoryinputstream.h:
3394 * gmemoryoutputstream.c:
3395 * gmemoryoutputstream.h:
3396 * gmountoperation.c:
3397 * gmountoperation.h:
3400 * gpollfilemonitor.c:
3403 * gsimpleasyncresult.c:
3404 * gsimpleasyncresult.h:
3405 * gsocketinputstream.c:
3406 * gsocketinputstream.h:
3407 * gsocketoutputstream.c:
3408 * gsocketoutputstream.h:
3415 * gunixvolumemonitor.c:
3424 Bumps documentation to 93% symbol coverage, touching most
3425 of the public files. Fixes broken function documentation prototypes.
3426 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3427 gtk-doc headers in private files.
3429 2007-11-27 Jürg Billeter <j@bitron.ch>
3431 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3432 (g_buffered_input_stream_read_byte):
3433 * gbufferedinputstream.h:
3434 New functions for efficient access to buffer and simple single byte
3437 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3438 (g_data_input_stream_read_until):
3439 * gdatainputstream.h:
3440 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3441 read_until with multiple stop chars.
3443 2007-11-27 Alexander Larsson <alexl@redhat.com>
3447 * inotify/Makefile.am:
3448 Use the user-specified giomoduledir
3450 2007-11-27 Alexander Larsson <alexl@redhat.com>
3454 Add catch-all gio.h header
3455 Don't install gdummyfile.h
3457 2007-11-26 Alexander Larsson <alexl@redhat.com>
3459 * Makefile.am (gioinclude_HEADERS):
3460 Remove trailing whitespace
3462 2007-11-26 Alexander Larsson <alexl@redhat.com>
3464 Merge gio-standalone into glib
3466 2007-11-25 Christian Kellner <gicmo@gnome.org>
3468 * gio/goutputstream.c:
3469 Fix small mistake in the docs.
3471 2007-11-21 Christian Persch <chpe@gnome.org>
3473 * gio/glocalfile.c: (g_local_file_trash):
3474 Convert filenames to UTF-8 for GError.
3475 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3476 as per xdg base dir spec.
3478 2007-11-21 Christian Persch <chpe@gnome.org>
3480 * gio/gdesktopappinfo.c:
3481 Use that g_key_file_to_data cannot fail.
3483 Use stock defines for the key file group and key names.
3486 2007-11-21 Alexander Larsson <alexl@redhat.com>
3489 (copy_stream_with_progress):
3490 Make sure we do a final progress callback with
3491 the full total size.
3493 2007-11-21 Alexander Larsson <alexl@redhat.com>
3496 Export g_file_copy_attributes
3497 Remove padding as its not needed for interfaces
3499 2007-11-20 Alexander Larsson <alexl@redhat.com>
3504 Add G_IO_ERROR_WOULD_MERGE for
3505 copy/move dir on dir with overwrite.
3507 2007-11-20 Alexander Larsson <alexl@redhat.com>
3510 * gio/glocalfileinfo.c:
3511 Add COPY_NAME (this is an optional
3512 non-modified utf8 version of the name) that
3515 2007-11-20 Alexander Larsson <alexl@redhat.com>
3517 * gio/glocalfileenumerator.c:
3518 Report errors as GIOError, not GFileError
3520 2007-11-16 Alexander Larsson <alexl@redhat.com>
3522 * gio/glocalfileoutputstream.c:
3523 * gio/gwin32appinfo.c:
3524 Fix typos in strings.
3525 Patch from Luca Ferretti <elle.uca@libero.it>
3527 2007-11-15 Alexander Larsson <alexl@redhat.com>
3530 Post release version bump
3532 === gio-standalone 0.1.2 ===
3534 2007-11-15 Alexander Larsson <alexl@redhat.com>
3536 * docs/reference/gio/Makefile.am:
3537 Fix up distcheck by removing weird
3543 2007-11-14 Alexander Larsson <alexl@redhat.com>
3545 * gio/gdesktopappinfo.c:
3546 * gio/glocaldirectorymonitor.c:
3548 * gio/glocalfileinfo.c:
3549 * gio/inotify/inotify-sub.c:
3550 * programs/gio-cat.c:
3551 * programs/gio-copy.c:
3552 * programs/gio-info.c:
3553 * programs/gio-ls.c:
3554 * programs/gio-monitor-dir.c:
3555 * programs/gio-monitor-file.c:
3556 * programs/gio-mount.c:
3557 * programs/gio-move.c:
3558 * programs/gio-rm.c:
3559 * programs/gio-save.c:
3560 * programs/gio-trash.c:
3561 Leak fixes from Kjartan Maraas
3563 2007-11-14 Alexander Larsson <alexl@redhat.com>
3565 * gio/fam/fam-helper.c:
3567 * gio/glocalfileinfo.c:
3571 * gio/inotify/inotify-diag.c:
3572 * gio/inotify/inotify-kernel.c:
3573 Various code cleanups from Kjartan Maraas
3575 2007-11-14 Alexander Larsson <alexl@redhat.com>
3577 * gio/gioscheduler.c:
3579 Set up threadpool so that we cache 2 unused
3580 idle threads for at 15 secs. This means we
3581 will reuse thread-local data (like dbus connections)
3584 2007-11-14 Alexander Larsson <alexl@redhat.com>
3586 * gio/fam/fam-helper.c:
3587 * gio/fam/gfamdirectorymonitor.c:
3588 * gio/fam/gfamfilemonitor.c:
3590 * gio/gcontenttype.c:
3591 * gio/gdatainputstream.c:
3592 * gio/gdataoutputstream.c:
3596 * gio/gfileattribute.h:
3597 * gio/gfileenumerator.c:
3599 * gio/ginputstream.c:
3602 * gio/glocalfileinfo.c:
3603 * gio/goutputstream.c:
3604 * gio/gpollfilemonitor.c:
3605 * gio/gsimpleasyncresult.c:
3606 * gio/gunixmounts.c:
3607 * gio/gunixmounts.h:
3608 * gio/inotify/ginotifydirectorymonitor.c:
3609 * gio/inotify/ginotifyfilemonitor.c:
3610 * gio/inotify/inotify-diag.c:
3611 * gio/inotify/inotify-kernel.c:
3612 * gio/inotify/inotify-path.c:
3614 * gio/test-streams.c:
3615 * programs/gio-info.c:
3616 * programs/gio-monitor-dir.c:
3617 * programs/gio-monitor-file.c:
3618 Various code cleanups from Kjartan Maraas
3620 2007-11-13 Alexander Larsson <alexl@redhat.com>
3623 Handle the uri-scheme calls for dummy files
3625 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3627 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3628 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3629 to avoid clash with the C++ keyword.
3631 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3633 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3634 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3636 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3638 * gio/glocaldirectorymonitor.c:
3639 * gio/glocalfilemonitor.c:
3640 * gio/gunionvolumemonitor.c:
3641 Don't use g_once_init_*() for initializations that could fail and
3642 could leave the initialization variable set to 0 but use GOnce.
3643 This prevents a deadlock on the second call when trying to create
3644 a monitor and no monitor type is available. Thanks to Sven Herzberg
3647 2007-11-11 Sven Herzberg <sven@imendio.com>
3649 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3650 #ifdef (make it work on MacOS X again)
3652 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3654 Fixes Changelog for last two commits (sorry guys).
3656 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3658 * gio/gbufferedinputstream.c:
3659 * gio/gdatainputstream.c:
3661 * gio/gfileoutputstream.c:
3662 * gio/gfilterinputstream.c:
3663 * gio/glocalfileinputstream.c:
3666 More consistency fixes in g*stream.c files.
3667 Significant clean of gfile's documentation, filling in of
3668 asynchronous operations documentation.
3670 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3672 * gio/gasyncresult.c:
3673 * gio/gbufferedinputstream.c:
3674 * gio/gbufferedoutputstream.c:
3675 * gio/gcancellable.c:
3676 * gio/gcontenttype.c:
3677 * gio/gdatainputstream.c:
3678 * gio/gdataoutputstream.c:
3679 * gio/gdesktopappinfo.c:
3682 * gio/gfileattribute.c:
3683 * gio/gio/gfileenumerator.c:
3685 * gio/gfileinputstream.c:
3686 * gio/gfilemonitor.c:
3687 * gio/gfileoutputstream.c:
3688 * gio/ginputstream.c:
3690 * gio/gioscheduler.c:
3691 * gio/gloadableicon.c:
3692 * gio/glocalfileoutputstream.c:
3693 * gio/gmemoryoutputstream.c:
3694 * gio/gmountoperation.c:
3695 * gio/goutputstream.c:
3697 * gio/gsimpleasyncresult.c:
3698 * gio/gunionvolumemonitor.c:
3699 * gio/gunixmounts.c:
3700 * gio/gunixvolume.c:
3704 * gio/gvolumemonitor.c:
3705 Updated documentation stubs, working towards consistency and
3708 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3710 * gio/gmemoryoutputstream.c:
3711 * gio/gmemoryoutputstream.h:
3712 Change g_memory_output_stream_set_free_on_close() to
3713 g_memory_output_stream_set_free_data() as this makes more sense and
3714 is more consistent with GMemoryInputStream.
3716 2007-11-07 Alexander Larsson <alexl@redhat.com>
3723 Change how we find the default vfs so that
3724 we can handle a gvfs failing to init
3726 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3728 * gio/gbufferedoutputstream.c:
3729 * gio/gdatainputstream.c:
3730 * gio/gdataoutputstream.c:
3731 * gio/gfileinputstream.c:
3732 * gio/gfileoutputstream.c:
3733 * gio/gfilterinputstream.c:
3734 * gio/gfilteroutputstream.c:
3735 * gio/ginputstream.c:
3736 * gio/gmemoryinputstream.c:
3737 * gio/gmemoryoutputstream.c:
3738 * gio/goutputstream.c:
3739 * gio/gsimpleasyncresult.c:
3740 * gio/gsocketinputstream.c:
3741 * gio/gsocketoutputstream.c:
3742 Add guards to the remaining public functions, add a TODO for
3743 an unimplemented function and remove some useless guards.
3745 2007-11-07 Alexander Larsson <alexl@redhat.com>
3748 Autoconf checks for the various types of
3749 getpwuid_r and getgrgid_r
3751 * gio/glocalfileinfo.c:
3752 Use the autoconf checks from above
3754 2007-11-07 Alexander Larsson <alexl@redhat.com>
3757 (g_local_file_query_filesystem_info):
3758 Some fixes for the statvfs case
3760 2007-11-07 Alexander Larsson <alexl@redhat.com>
3763 (g_local_file_query_filesystem_info):
3764 Pick the "best" of statfs / statvfs for the system
3765 if both are availible.
3767 2007-11-07 Alexander Larsson <alexl@redhat.com>
3769 Solaris fixes from Halton.Huo@Sun.COM:
3776 * gio/glocalfileinfo.c:
3777 Fix for solaris definition of getpwuid_r
3779 * gio/test-streams.c:
3780 Use G_GNUC_PRETTY_FUNCTION
3782 2007-11-07 Alexander Larsson <alexl@redhat.com>
3784 * gio/gdesktopappinfo.c:
3785 (update_default_list):
3786 Remove double semicolon.
3787 Patch from Jens Granseuer
3789 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3791 * docs/reference/gio/gio-sections.txt:
3792 * gio/gbufferedinputstream.c:
3793 * gio/gbufferedinputstream.h:
3794 * gio/gdatainputstream.c:
3795 * gio/gfileenumerator.c:
3796 * gio/gioscheduler.c:
3797 * gio/gunionvolumemonitor.c:
3799 * programs/gio-save.c:
3800 Fix typo: availible -> available. Unfortuntely this breaks API
3801 and ABI as g_buffered_input_stream_get_available() was renamed.
3803 * gio/gunixmounts.c:
3804 * gio/gbufferedinputstream.c:
3805 Add guards for public functions.
3807 2007-11-06 Ross Burton <ross@openedhand.com>
3809 * docs/reference/gio/Makefile.am:
3810 Fix invalid += usage which automake 1.10 doesn't like.
3812 2007-11-06 Alexander Larsson <alexl@redhat.com>
3815 (g_app_launch_context_class_init):
3818 Patch from Ross Burton
3820 2007-11-06 Alexander Larsson <alexl@redhat.com>
3823 Post release version bump
3825 === gio-standalone 0.1.1 ===
3827 2007-11-06 Alexander Larsson <alexl@redhat.com>
3830 Bump version to 0.1.1
3832 * gio/gsimpleasyncresult.c:
3833 (g_simple_async_result_set_from_error):
3834 Remove bogus g_return_if_fail
3836 2007-11-06 Alexander Larsson <alexl@redhat.com>
3839 The name is gio-standalone
3842 Add top src/builddir to includedir
3844 2007-11-06 Alexander Larsson <alexl@redhat.com>
3846 * docs/reference/gio/gio-sections.txt:
3848 * gio/gbufferedinputstream.c:
3849 * gio/gbufferedoutputstream.c:
3850 * gio/gcancellable.c:
3851 * gio/gdatainputstream.h:
3852 * gio/gdataoutputstream.c:
3853 * gio/gdataoutputstream.h:
3854 * gio/gdirectorymonitor.c:
3856 * gio/gfileattribute.c:
3857 * gio/gfileattribute.h:
3858 * gio/gfileenumerator.c:
3859 * gio/gfileenumerator.h:
3862 * gio/gfileinputstream.h:
3863 * gio/gfilemonitor.c:
3864 * gio/gfileoutputstream.h:
3865 * gio/glocalfilemonitor.h:
3866 * gio/glocalfileoutputstream.h:
3867 * gio/gmemoryinputstream.c:
3868 * gio/gmemoryoutputstream.c:
3869 * gio/gmountoperation.c:
3870 * gio/goutputstream.c:
3871 * gio/goutputstream.h:
3873 * gio/gsimpleasyncresult.c:
3874 * gio/gunixmounts.c:
3875 * gio/gunixmounts.h:
3877 * gio/inotify/inotify-helper.c:
3878 Fix gtk-doc warnings
3880 Patch from Ross Burton
3882 2007-11-06 Alexander Larsson <alexl@redhat.com>
3884 * gio/gfilenamecompleter.c:
3885 (g_filename_completer_get_completions):
3888 * gio/gunixvolume.c:
3889 Remove unused function
3891 Patches from Ross Burton
3893 2007-11-06 Alexander Larsson <alexl@redhat.com>
3898 Padding not needed for interfaces
3900 2007-11-06 Alexander Larsson <alexl@redhat.com>
3902 * gio/gfilemonitor.c:
3906 Make giotypes.h an internal file
3909 * gio/gbufferedinputstream.h:
3910 * gio/gbufferedoutputstream.h:
3911 * gio/gcancellable.h:
3912 * gio/gdatainputstream.h:
3913 * gio/gdataoutputstream.h:
3914 * gio/gdirectorymonitor.c:
3915 * gio/gdirectorymonitor.h:
3920 * gio/gfileattribute.h:
3921 * gio/gfileenumerator.h:
3926 * gio/gfilemonitor.c:
3927 * gio/gfilemonitor.h:
3928 * gio/gfilenamecompleter.c:
3929 * gio/gfilenamecompleter.h:
3930 * gio/gfilterinputstream.h:
3931 * gio/gfilteroutputstream.h:
3932 * gio/ginputstream.h:
3933 * gio/gmemoryinputstream.h:
3934 * gio/gmemoryoutputstream.h:
3935 * gio/gmountoperation.c:
3936 * gio/gmountoperation.h:
3937 * gio/gnativevolumemonitor.c:
3938 * gio/goutputstream.h:
3941 * gio/gsimpleasyncresult.c:
3942 * gio/gsimpleasyncresult.h:
3943 * gio/gsocketinputstream.h:
3944 * gio/gsocketoutputstream.h:
3945 * gio/gthemedicon.c:
3946 * gio/gthemedicon.h:
3950 * gio/gvolumemonitor.c:
3951 * gio/gvolumemonitor.h:
3952 Add padding in classes where it seems useful
3953 Don't include giotypes.h from public headers
3954 Move in Class definitions into c file where possible
3959 2007-11-06 Alexander Larsson <alexl@redhat.com>
3961 * docs/reference/gio/gio-docs.xml:
3962 Better structure for API docs
3964 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3967 * gio/gloadableicon.c:
3968 * gio/gsimpleasyncresult.c:
3969 * gio/gthemedicon.c:
3970 Add some more guards to public functions. Only files missing are now
3973 2007-11-06 Alexander Larsson <alexl@redhat.com>
3975 * docs/reference/gio/gio-docs.xml:
3976 Remove old files, add missing ones
3978 2007-11-06 Alexander Larsson <alexl@redhat.com>
3980 * docs/reference/gio/gio-sections.txt:
3983 Hide implementation classes
3985 * gio/gdriveprivate.h:
3986 * gio/gvolumeprivate.h:
3987 Remove non-existing function declarations
3989 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3992 Fix compilation warnings and add guards to the new functions.
3994 * gio/gasyncresult.c:
3996 Add guards to the public functions.
3999 Implement get_path().
4001 2007-11-06 Alexander Larsson <alexl@redhat.com>
4003 * gio/gfilenamecompleter.c:
4004 Make g_filename_completer_get_completions
4005 return char ** instead of GList for
4008 * docs/reference/gio/gio-docs.xml:
4009 * docs/reference/gio/gio-sections.txt:
4011 * gio/gasyncresult.c:
4012 * gio/gbufferedinputstream.c:
4013 * gio/gbufferedoutputstream.c:
4014 * gio/gcancellable.c:
4015 * gio/gcontenttype.c:
4016 * gio/gdatainputstream.c:
4017 * gio/gdataoutputstream.c:
4018 * gio/gdesktopappinfo.c:
4019 * gio/gdirectorymonitor.c:
4023 * gio/gfileattribute.c:
4024 * gio/gfileenumerator.c:
4027 * gio/gfileinputstream.c:
4028 * gio/gfilemonitor.c:
4029 * gio/gfilenamecompleter.c:
4030 * gio/gfilenamecompleter.h:
4031 * gio/gfileoutputstream.c:
4032 * gio/gfilterinputstream.c:
4034 * gio/ginputstream.c:
4036 * gio/gioscheduler.c:
4037 * gio/gloadableicon.c:
4038 * gio/glocaldirectorymonitor.c:
4040 * gio/glocalfileinputstream.c:
4041 * gio/glocalfilemonitor.c:
4042 * gio/glocalfileoutputstream.c:
4044 * gio/gmemoryinputstream.c:
4045 * gio/gmemoryoutputstream.c:
4046 * gio/gmountoperation.c:
4047 * gio/goutputstream.c:
4048 * gio/gpollfilemonitor.c:
4050 * gio/gsimpleasyncresult.c:
4051 * gio/gsocketinputstream.c:
4052 * gio/gsocketoutputstream.c:
4053 * gio/gthemedicon.c:
4054 * gio/gunionvolumemonitor.c:
4056 * gio/gunixmounts.c:
4057 * gio/gunixvolume.c:
4058 * gio/gunixvolumemonitor.c:
4062 * gio/gvolumemonitor.c:
4063 * gio/gwin32appinfo.c:
4064 Add (mostly stub) doc strings to public functions.
4065 Patch from Andrew Walton (awalton@gmail.com)
4067 2007-11-06 Alexander Larsson <alexl@redhat.com>
4069 * gio/gappinfo.[ch]:
4070 Added GAppLaunchContext object and pass that to launch.
4071 This allows simple implementation of both
4072 launch-on-screen and startup notification via a gtk+
4073 subclass of GAppLaunchContext
4075 * gio/gdesktopappinfo.c:
4076 Implement GAppLaunchContext API
4078 * gio/gwin32appinfo.c:
4081 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4083 * gio/gmountoperation.c:
4084 Add some guards to GMountOperation's public functions.
4086 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4090 * gio/gcancellable.c:
4091 * gio/gdirectorymonitor.c:
4093 * gio/gfileenumerator.c:
4094 * gio/gfilemonitor.c:,
4095 * gio/gfilenamecompleter.c:
4098 * gio/gioscheduler.c:
4102 * gio/gvolumemonitor.c:
4103 Add even more guards to various public functions.
4105 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4108 Add guards to the public functions of GAppInfo.
4110 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4112 * gio/gcontenttype.c:
4113 Add some more guards for public functions.
4115 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4117 * gio/fam/fam-module.c:
4118 * gio/fam/gfamdirectorymonitor.c:
4119 * gio/fam/gfamdirectorymonitor.h:
4120 * gio/fam/gfamfilemonitor.c:
4121 * gio/fam/gfamfilemonitor.h:
4122 * gio/inotify/ginotifydirectorymonitor.c:
4123 * gio/inotify/ginotifydirectorymonitor.h:
4124 * gio/inotify/ginotifyfilemonitor.c:
4125 * gio/inotify/ginotifyfilemonitor.h:
4126 Add proper copyright information and remove an unused variable
4127 in the GInotifyFileMonitor constructor.
4129 * gio/gcancellable.c:
4130 Add a guard for a public function and an assertion to prevent
4131 an undefined program state.
4133 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4135 * gio/gfileattribute.c:
4136 Don't run into an assertion if the given attribute value is NULL
4137 in g_file_attribute_value_get_*() but instead return a fallback
4138 value that makes sense in most situations. Passing them a attribute
4139 value with the wrong type will still run into an assertion.
4141 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4143 * gio/gfileattribute.c:
4145 Add even more guards to the public functions. Also fix the refcounting
4146 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4147 let g_file_info_list_attributes() filter the attributes by namespace
4148 instead of simply ignoring the namespace parameter.
4150 2007-11-03 Sven Herzberg <sven@imendio.com>
4152 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4153 (This makes gio work on MacOS X again)
4155 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4158 Build the gio subdirectory before the docs. Otherwise the build will
4161 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4162 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4163 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4164 Add guards to the public functions.
4166 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4168 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4169 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4170 to prevent a compiler warning.
4172 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4173 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4174 return something in the non-void function find_topdir_for().
4176 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4183 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4185 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4186 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4187 * gwin32appinfo.c (g_win32_app_info_launch):
4188 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4189 envp_for_startup_id, g_desktop_app_info_launch,
4190 g_desktop_app_info_launch_uris):
4192 Give an opaque 'startup_id' string instead of 'envp'.
4193 Support empty file lists for launching new windows.
4194 Fix infinite recursion bug when launching URIs.
4196 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4199 Add guard to the new g_file_get_uri_scheme() function.
4201 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4204 Convert a g_return_val_if_fail() to setting the GError instead as
4205 otherwise applications have to verify the parameter before otherwise
4206 and the parameter might come directly from the user.
4208 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4210 * gio/inotify/ginotify*.[ch]:
4211 Add missing copyright information.
4213 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4216 Add guards in the beginning of public functions to check for valid
4217 parameters and fix a bug in copy_stream_with_progress() that could've
4218 caused writing less bytes than reading.
4219 * gio/glocalfileinfo.c:
4220 Check for a NULL parameter and set the GError accordingly then.
4221 * gio/goutputstream.c:
4222 Fix the same bug as in gfile.c that could've caused writing less bytes
4223 than reading in g_output_stream_real_splice().
4225 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4228 Use the correct gvolumeprivate.h naming
4230 2007-11-01 Christian Kellner <gicmo@gnome.org>
4233 Remove leftover "$(daemon_sources)" entry.
4235 2007-11-01 Christian Kellner <gicmo@gnome.org>
4240 Add copyright information to source files.
4242 2007-11-01 Alexander Larsson <alexl@redhat.com>
4246 Add g_file_get_uri_scheme
4248 2007-11-01 Alexander Larsson <alexl@redhat.com>
4251 * gio/gdesktopappinfo.c:
4252 * gio/gwin32appinfo.c:
4253 Add g_app_info_get_default_for_uri_scheme.
4255 2007-11-01 Alexander Larsson <alexl@redhat.com>
4258 Correct filename for gdriveprivate.h
4260 2007-10-31 Alexander Larsson <alexl@redhat.com>
4263 Rename id:value to id:file
4266 * gio/glocalfileinfo.c:
4269 2007-10-31 Alexander Larsson <alexl@redhat.com>
4271 * gio/gunixvolume.c:
4273 Remove g_volume_get_platform_id, as thats not
4274 needed with the simpler union volume monitor
4276 2007-10-31 Alexander Larsson <alexl@redhat.com>
4279 * gio/guniondrive.[ch]: Removed.
4280 * gio/gunionvolume.[ch]: Removed.
4281 Remove GUnionDrive/Volume
4283 * gio/gunionvolumemonitor.c:
4284 Simplify union volume monitor, now we
4285 only have one native volume monitor and
4286 we use the actual volumes/drives from the
4287 child monitors instead of wrapping them
4289 * gio/gnativevolumemonitor.[ch]:
4290 Base class for native volume monitors.
4291 Includes priority and get_volume_for_mountpoint
4294 Add g_file_find_enclosing_volume
4297 Remove volume name fs attribute
4298 Add readonly fs attribute
4301 Implement readonly attribute
4302 remove volume name attribute
4303 Implement find_enclosing volume
4305 * gio/gunixmounts.c:
4306 Add a volume for "/".
4308 * gio/gunixvolume.[ch]:
4309 Set better name for /
4311 * gio/gunixvolumemonitor.[ch]:
4312 Derive from GNativeVolumeMonitor
4313 Implement get_volume_for_mountpoint
4316 GVolume typedef moved to gfile.h
4318 * gio/gvolumeprivate.h:
4319 Add g_volume_get_for_mount_path
4321 2007-10-31 Alexander Larsson <alexl@redhat.com>
4323 * gio/gunixmounts.[ch]:
4324 Add cache info to unix mount listers
4325 Make getmntent use threadsafe
4326 Add is_system_internal attribute for GUnixMount
4328 * gio/gunixvolume.c:
4329 (g_unix_volume_new):
4330 Use is_system_internal instead of own code
4332 * gio/glocaldirectorymonitor.c:
4333 * gio/gunixvolumemonitor.c:
4334 Update to new gunixmounts API
4339 2007-10-30 Alexander Larsson <alexl@redhat.com>
4342 Add volume name fsinfo attribute
4345 Read volume name info
4347 * gio/gunionvolumemonitor.c:
4348 Fix infinite loops when finalizing a union volume monitor
4350 2007-10-30 Alexander Larsson <alexl@redhat.com>
4352 * gio/goutputstream.[ch]:
4353 Add splice() with default implementation
4355 * gio/gsocketoutputstream.c:
4356 (g_socket_output_stream_write):
4357 Return error on cancellation correctly.
4359 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4361 * gio/glocalfile.c (g_local_file_trash):
4362 Do not leak a string.
4364 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4366 * gio/gfile.c (g_file_load_contents):
4367 Unref the stream after closing it.
4369 2007-10-25 Alexander Larsson <alexl@redhat.com>
4371 * gio/gioscheduler.h:
4374 2007-10-25 Alexander Larsson <alexl@redhat.com>
4378 Add g_file_has_uri_scheme and implement for local files
4380 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4382 * gio/gdesktopappinfo.c: do not leak a string.
4384 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4386 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4387 (g_local_directory_monitor_new):
4388 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4389 (g_local_file_monitor_new):
4390 Only look for the monitor type that should be used the first time
4391 and use g_qsort_with_data() instead of our own bubble sort
4394 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4397 * gio/fam/Makefile.am:
4398 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4399 * gio/fam/fam-helper.h:
4400 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4401 * gio/fam/gfamdirectorymonitor.c:
4402 * gio/fam/gfamdirectorymonitor.h:
4403 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4404 * gio/fam/gfamfilemonitor.h:
4405 * gio/glocaldirectorymonitor.c:
4406 * gio/glocaldirectorymonitor.h:
4407 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4408 * gio/glocalfilemonitor.h:
4409 * gio/inotify/Makefile.am:
4410 * gio/inotify/ginotifydirectorymonitor.c:
4411 * gio/inotify/ginotifydirectorymonitor.h:
4412 * gio/inotify/ginotifyfilemonitor.c:
4413 * gio/inotify/ginotifyfilemonitor.h:
4414 Implement the FAM and Inotify monitors as
4415 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4416 their own GIO module. GLocal(Directory|File)Monitor will use the
4417 monitor with the highest rank that is supported on that machine.
4419 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4422 Change GIO module dir to $(libdir)/gio/modules and change
4423 the log domain from GVFS to GIO. Also only export symbols starting
4424 with g_ in the resulting library.
4425 * gio/test-streams.c: (main):
4426 Set log handler for the GIO log domain.
4428 2007-10-22 Alexander Larsson <alexl@redhat.com>
4430 * gio/gfilenamecompleter.[ch]:
4431 Add g_filename_completer_set_dirs_only
4433 2007-10-22 Alexander Larsson <alexl@redhat.com>
4436 * gio/gurifuncs.[ch]:
4437 Add some simple URI helpers
4439 * gio/gfilenamecompleter.[ch]:
4440 Added object for filename (parse name actually) completion
4443 Handle ~ in parse names
4445 2007-10-17 Alexander Larsson <alexl@redhat.com>
4448 * gio/glocalfileinfo.c:
4449 Add and implement id:value attribute
4451 2007-10-17 Alexander Larsson <alexl@redhat.com>
4454 * gio/guniondrive.c:
4456 Add and implement g_drive_has_volumes
4458 2007-10-17 Alexander Larsson <alexl@redhat.com>
4461 * gio/glocalfileinfo.[ch]:
4462 Add unix:is_mountpoint and implement for local files
4464 2007-10-16 Alexander Larsson <alexl@redhat.com>
4466 * gio/gunionvolumemonitor.c:
4467 (g_union_volume_monitor_init):
4468 Fix up the unix type getting so that it works with gcc
4470 2007-10-12 Alexander Larsson <alexl@redhat.com>
4473 * gio/glocalfileinfo.c:
4474 Add thumbnail:failed to file info
4476 2007-10-12 Richard Hult <richard@imendio.com>
4478 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4479 optimizing away the get_type call (happens with some gcc versions,
4480 like the one shipped with OS X 10.4).
4482 2007-10-12 Alexander Larsson <alexl@redhat.com>
4484 * gio/glocalfileinfo.c:
4485 (_g_local_file_info_set_attribute):
4486 Fix build if not HAVE_XATTR
4487 Patch from Milosz Derezynski <internalerror@gmail.com>
4489 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4491 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4492 around for review, otherwise I would have asked you before
4495 2007-10-11 Alexander Larsson <alexl@redhat.com>
4498 Add thumbnail:path attribute
4500 * gio/glocalfileinfo.c:
4501 Implement thumbnail:path for local files
4503 2007-10-11 Alexander Larsson <alexl@redhat.com>
4505 * gio/glocalfileinfo.c:
4506 (_g_local_file_info_get):
4507 Avoid duplicate icon names
4509 2007-10-11 Alexander Larsson <alexl@redhat.com>
4511 * gio/gthemedicon.[ch]:
4512 Change g_themed_icon_get_names return type to const
4514 2007-10-10 Alexander Larsson <alexl@redhat.com>
4516 * gio/glocalfileinfo.c:
4517 Don't reference freed memory
4519 2007-10-10 Alexander Larsson <alexl@redhat.com>
4521 * gio/gfileattribute.c:
4524 * gio/glocalfileinfo.c:
4527 2007-10-10 Alexander Larsson <alexl@redhat.com>
4530 Check for NULL icons
4532 * gio/gfileattribute.c:
4533 Don't dup when getting objects (same as for string attributes)
4535 * gio/gicon.c (g_icon_equal):
4536 Safely handle NULLs in equal
4538 2007-10-10 Alexander Larsson <alexl@redhat.com>
4541 Fix c++ compilation issues
4542 Patch from Milosz Derezynski <internalerror@gmail.com>
4544 2007-10-10 Alexander Larsson <alexl@redhat.com>
4546 * programs/gio-monitor-dir.c:
4547 Don't crash if dir monitor not supported.
4549 2007-10-09 Alexander Larsson <alexl@redhat.com>
4552 Add missing G_END_DECLS
4554 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4556 * gio/gfile.c: (g_file_set_display_name),
4557 (g_file_query_settable_attributes),
4558 (g_file_query_writable_namespaces):
4559 Return NULL not FALSE on errors as the return type is a pointer.
4561 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4563 * gio/glocalfile.c: (g_local_file_monitor_file):
4564 Don't call monitor_file on the default interface vtable (which
4565 is NULL) but simply return NULL. The caller, GFile, will create a
4566 polling monitor if NULL is returned.
4568 2007-10-09 Alexander Larsson <alexl@redhat.com>
4572 * gio-unix-2.0.pc.in:
4573 Add gio-unix-2.0.pc if OS_UNIX
4576 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4578 2007-10-09 Alexander Larsson <alexl@redhat.com>
4580 * gio/gunixmounts.[ch]:
4581 Make unix mount monitoring API sane.
4582 Now its just a object with mounts_changed
4583 and mountpoints_changed signals.
4585 * gio/glocaldirectorymonitor.c:
4586 * gio/gunixvolumemonitor.c:
4587 Use new mount monitor api
4589 2007-10-09 Alexander Larsson <alexl@redhat.com>
4591 * gio/gunixmounts.[ch]:
4592 Move guess type into one call for mounts and one for mountpoints
4595 * gio/gunixvolume.c:
4598 2007-10-09 Alexander Larsson <alexl@redhat.com>
4600 * gio/gunixmounts.[ch]:
4601 Remove _ prefix in preparation to make this semi-public
4602 Hide implementation of structs
4604 * gio/glocaldirectorymonitor.c:
4606 * gio/gunixvolume.c:
4607 * gio/gunixvolumemonitor.c:
4608 Update for above API changes
4610 2007-10-08 Alexander Larsson <alexl@redhat.com>
4613 Better polling fallback. This also handles the case where we have
4614 a monitor_file implementation, but it fails.
4616 2007-10-08 Alexander Larsson <alexl@redhat.com>
4620 * gio/gunixmounts.c:
4621 * programs/gio-monitor-dir.c:
4622 * programs/gio-monitor-file.c:
4623 Added cancellable to file monitoring calls.
4624 These are really sync calls and need this.
4626 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4628 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4629 (g_local_vfs_class_init):
4630 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4631 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4633 2007-10-05 Alexander Larsson <alexl@redhat.com>
4635 * gio/gdirectorymonitorprivate.h:
4636 * gio/gfilemonitorprivate.h:
4637 * gio/gdirectorymonitor.h:
4638 * gio/gfilemonitor.h:
4639 Remove *private.h and move to the public API, so that
4640 we can do implementations outside gio (such as in gvfs)
4642 * gio/gdirectorymonitor.c:
4643 * gio/gfilemonitor.c:
4644 * gio/glocaldirectorymonitor.c:
4645 * gio/gpollfilemonitor.c:
4646 * gio/inotify/inotify-helper.c:
4647 * gio/fam/fam-helper.c:
4648 Update to the new header names
4650 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4652 * gio/gdirectorymonitor.c:
4653 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4656 2007-10-04 Alexander Larsson <alexl@redhat.com>
4658 * gio/glocalfileinfo.c (get_access_rights):
4659 Set CAN_TRASH when we can move the file.
4660 We should really also check for a parent trash dir.
4662 2007-10-04 Alexander Larsson <alexl@redhat.com>
4664 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4665 Add can_trash access attribute
4667 2007-10-04 Alexander Larsson <alexl@redhat.com>
4670 (g_local_file_trash):
4671 Create info file first. This is per-spec and allows
4672 us to actually trash directories.
4674 2007-10-02 Alexander Larsson <alexl@redhat.com>
4676 * gio/gdesktopappinfo.c:
4677 Implement the new mime support code.
4678 Always set app as handling mimetype when being set as default for it
4680 2007-10-01 Alexander Larsson <alexl@redhat.com>
4682 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4683 Fix up check for xattrs:
4685 2007-10-01 Alexander Larsson <alexl@redhat.com>
4688 (g_app_info_set_as_default_for_extension):
4689 (g_app_info_add_supports_type):
4690 (g_app_info_can_remove_supports_type):
4691 (g_app_info_remove_supports_type):
4692 Make these fail nicely if not implemented
4694 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4696 * gio/glocalfileoutputstream.c:
4697 * gio/glocalfileoutputstream.h:
4702 * programs/gio-save.c:
4703 Add a GFileCreateFlags argument to operations that can create
4706 2007-10-01 Alexander Larsson <alexl@redhat.com>
4708 * gio/gappinfo.[ch]:
4709 * gio/gdesktopappinfo.c:
4710 Add more (stubbed out) mime API needed for nautilus
4712 2007-10-01 Alexander Larsson <alexl@redhat.com>
4715 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4716 Add g_app_info_set_as_default_for_extension.
4718 * gio/gdesktopappinfo.c:
4719 Dummy for g_app_info_set_as_default_for_extension
4720 Support flags in g_app_info_create_from_commandline
4722 * gio/gwin32appinfo.c:
4724 Update for API changes
4726 * gio/gthemedicon.c:
4727 Properly NULL-terminate list of icon names
4729 2007-09-28 Alexander Larsson <alexl@redhat.com>
4731 * gio/gloadableicon.h:
4732 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4734 2007-09-28 Alexander Larsson <alexl@redhat.com>
4737 Install headers in $includedir/gio-standalone/
4739 * gio-2.0.pc.in: Added.
4740 * gio-standalone.pc.in: Removed.
4743 Renamed pkg-config file to match glib (for future move)
4744 Update to the new include dir
4747 Add more TODO comments
4749 2007-09-28 Alexander Larsson <alexl@redhat.com>
4751 * gio/gdesktopappinfo.[ch]:
4752 Expose new_from_filename
4753 Add getter for is_hidden and handle it better
4755 2007-09-28 Alexander Larsson <alexl@redhat.com>
4757 * gio/gfileinfo.[ch]:
4758 Rename g_file_size_format_for_display to
4759 g_format_file_size_for_display.
4760 Now it doesn't have the g_file prefix, so we
4761 can later move it to glib.
4763 2007-09-28 Alexander Larsson <alexl@redhat.com>
4765 * gio/gappinfo.[ch]:
4766 Add g_app_info_get_id and g_app_info_get_executable.
4767 Make all getters non-reffing
4768 Make g_app_info_launch take GFile arguments.
4769 Add must_support_uris argument to g_app_info_get_default_for_type.
4771 * gio/gwin32appinfo.c:
4772 Update to GAppInfo api changes
4774 * gio/gdesktopappinfo.c:
4775 Update to GAppInfo api changes
4776 Implement supports_xdg_startup_notify
4778 * gio/gfileicon.c (g_file_icon_get_file):
4779 Make getter non-reffing.
4784 2007-09-27 Alexander Larsson <alexl@redhat.com>
4786 * gio/gfileinfo.[ch]:
4787 Add g_file_size_format_for_display helper
4789 2007-09-27 Alexander Larsson <alexl@redhat.com>
4791 * gio/glocalfileinfo.c:
4792 Set UNIX_GID from gid, not from uid
4794 2007-09-27 Alexander Larsson <alexl@redhat.com>
4797 Add g_file_set_attributes_async
4799 2007-09-27 Alexander Larsson <alexl@redhat.com>
4801 * gio/glocalfile.c (g_local_file_set_display_name):
4802 Fix set_display_name to actually rename to the right place.
4803 Use lstat to look for existing files so we don't overwrite
4806 2007-09-26 Alexander Larsson <alexl@redhat.com>
4809 Add g_file_set_display_name_async()
4811 2007-09-26 Alexander Larsson <alexl@redhat.com>
4814 Add load_partial_contents async calls
4817 Make internal function static
4819 2007-09-26 Alexander Larsson <alexl@redhat.com>
4821 * gio/glocalfileinfo.c:
4822 Correctly detect broken symlinks
4824 2007-09-26 Alexander Larsson <alexl@redhat.com>
4826 * gio/gcancellable.c (g_cancellable_cancel):
4827 Allow cancel on NULL cancellable
4829 2007-09-25 Alexander Larsson <alexl@redhat.com>
4831 * gio/gsimpleasyncresult.c:
4832 Don't allocate g_error manually.
4833 Fixes g_slice/g_new mixup crash
4835 2007-09-25 Alexander Larsson <alexl@redhat.com>
4837 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4838 Actually set active_backend.
4839 This means the monitor will be cancelled correctly.
4841 2007-09-25 Alexander Larsson <alexl@redhat.com>
4843 * gio/gdirectorymonitor.c:
4844 Set timeout to NULL when destroying
4846 2007-09-25 Alexander Larsson <alexl@redhat.com>
4849 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4850 that is a better description of the error.
4852 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4854 * gio/gvfs.c: (g_vfs_get_local):
4855 Make the local vfs variable static. The same instance should
4858 2007-09-24 Alexander Larsson <alexl@redhat.com>
4860 * gio/glocalfileinfo.c:
4861 Pass in actual length read into sniffer, not the length
4864 2007-09-21 Alexander Larsson <alexl@redhat.com>
4866 * gio/gfileenumerator.c:
4869 * gio/gfileinputstream.c:
4870 * gio/gfileoutputstream.c:
4871 * gio/ginputstream.c:
4872 * gio/goutputstream.c:
4873 Don't crash if async callbacks are NULL
4875 2007-09-20 Alexander Larsson <alexl@redhat.com>
4878 Add async enumerate_children method and default
4881 2007-09-20 Alexander Larsson <alexl@redhat.com>
4884 Add g_file_contains_file & g_file_get_relative_path, since they
4885 were needed for nautilus.
4886 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4891 Implement new methods
4893 2007-09-17 Alexander Larsson <alexl@redhat.com>
4896 * gio/gfileinputstream.[ch]:
4897 * gio/gfileoutputstream.[ch]:
4899 * gio/glocalfileenumerator.[ch]:
4900 * gio/glocalfileinfo.[ch]:
4901 * gio/glocalfileinputstream.c:
4902 * gio/glocalfileoutputstream.c:
4903 * gio/gpollfilemonitor.c:
4904 * programs/gio-copy.c:
4905 * programs/gio-info.c:
4906 * programs/gio-move.c:
4907 Rename get_file_info to query_info() to make it clearer
4908 that these are not simple getters, but do i/o.
4910 2007-09-17 Alexander Larsson <alexl@redhat.com>
4912 * gio/gdatainputstream.[ch]:
4913 * gio/test-streams.c:
4914 Use _read_XXX instead of _get_XXX for the i/o calls
4917 2007-09-17 Alexander Larsson <alexl@redhat.com>
4920 Added needed stuff to TODO comment
4922 2007-09-17 Alexander Larsson <alexl@redhat.com>
4924 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4925 Don't error out removing the backup copy if it doesn't
4928 2007-09-14 Alexander Larsson <alexl@redhat.com>
4930 * programs/Makefile.am:
4931 * programs/gvfs-*.c:
4933 Renamed apps from gvfs-xxx to gio-xxx.
4935 2007-09-14 Alexander Larsson <alexl@redhat.com>
4938 * gio/gfileoutputstream.[ch]:
4939 * gio/glocalfileoutputstream.c:
4940 * programs/gvfs-save.c:
4941 g_file_output_stream_get_etag doesn't do i/o, so remove
4942 cancellation and error.
4944 2007-09-14 Alexander Larsson <alexl@redhat.com>
4947 Add new_etag output to replace_contents functions
4949 2007-09-14 Alexander Larsson <alexl@redhat.com>
4951 * gio/gfileoutputstream.[ch]:
4952 Add async get_file_info and default implementation
4954 2007-09-14 Alexander Larsson <alexl@redhat.com>
4956 * gio/gfileinputstream.c:
4957 Implement fallback wrapper for async get_file_info
4959 2007-09-14 Alexander Larsson <alexl@redhat.com>
4962 Add etag out argument to load_contents
4967 2007-09-14 Alexander Larsson <alexl@redhat.com>
4969 * gio/gcontenttype.c (looks_like_text):
4970 Whitespace like tab, cr and lf do not make the
4973 2007-09-14 Alexander Larsson <alexl@redhat.com>
4975 * gio/gfileinputstream.[ch]:
4976 Add async get_file_info.
4978 2007-09-13 Alexander Larsson <alexl@redhat.com>
4980 * gio/goutputstream.c (g_output_stream_write_all):
4981 Allow NULL for bytes_written
4983 2007-09-13 Alexander Larsson <alexl@redhat.com>
4985 * gio/gmemoryinputstream.[ch]:
4986 Add accessors for data
4988 2007-09-13 Alexander Larsson <alexl@redhat.com>
4990 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4991 Don't crash if length is NULL