1 2008-08-13 Tor Lillqvist <tml@novell.com>
6 * win32/gwinhttpfileinputstream.c
7 * win32/gwinhttpfileoutputstream.c: Refactor some common code
8 snippets into helper functions. Check HTTP response status
9 codes. Implement g_winhttp_file_query_info(), looking at
10 Content-Length, Content-Type and Last-Modified.
12 * win32/winhttp.h: Add some symbolic constants that are not
13 publicly documented. Just a handful, so it should be OK to use
14 information from the Windows SDK's headers.
16 2008-08-13 Tor Lillqvist <tml@novell.com>
18 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
21 * win32/gwin32directorymonitor.c
22 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
24 2008-08-13 Matthias Clasen <mclasen@redhat.com>
27 * goutputstream.c: Add intro docs.
29 2008-08-13 Tor Lillqvist <tml@novell.com>
31 * win32/gwinhttpfileoutputstream.c
32 (g_winhttp_file_output_stream_write): Don't write the
33 Content-Length header ourselves, WinHttpSendRequest() takes care
34 of that when the dwTotalLength parameter is non-zero. Increment
35 offset by the number of actual bytes sent, although I wonder if
36 such a scenario is possible where less than requested would be
37 sent and accepted by the server without errors.
39 2008-08-13 Tor Lillqvist <tml@novell.com>
43 * win32/gwinhttpfile.c
44 * win32/gwinhttpfile.h
45 * win32/gwinhttpfileinputstream.c
46 * win32/gwinhttpfileinputstream.h
47 * win32/gwinhttpfileoutputstream.c
48 * win32/gwinhttpfileoutputstream.h: New files implementing
49 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
50 Windows. The implementation uses the WinHttp API. Both reading and
51 writing are supported, i.e. GET and PUT requests. When writing,
52 each write call is done using a separate PUT request with a
53 Content-Range header. Requests for file URIs and plain pathnames
54 are forwarded to GLocalVfs.
56 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
57 WINE. Used as there is no <winhttp.h> bundled with mingw, and
58 requiring people to download the Windows SDK just for this one
59 header is not reasonable.
61 * win32/Makefile.am: Add above files.
63 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
64 the plumbing for the above.
66 2008-08-11 Sven Neumann <sven@gimp.org>
68 * gfilenamecompleter.c
69 * glocaldirectorymonitor.c
71 * gunionvolumemonitor.c
75 * gunixvolumemonitor.c
78 * gwin32volumemonitor.c: use canonical signal names.
80 2008-08-11 Tor Lillqvist <tml@novell.com>
82 * Makefile.am: Put a list of the platform-dependent .la files in
83 the subdirectories in the platform_deps Make variable, and make
84 libgio-2.0.la depend on that, so that it gets relinked if one of
85 the dependent libraries has changed.
87 2008-08-11 Tor Lillqvist <tml@novell.com>
89 * Makefile.am (platform_libadd): Remove -lwininet which had been
90 added by mistake. We will probably eventually be using WinHTTP,
91 not the older WinInet anyway. (Actually I am working on it.)
93 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
95 Bug 547080 – g_file_copy leaks expected errors
97 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
98 before trying the next fallback routine.
100 2008-08-09 Loïc Minier <lool@dooz.org>
102 Bug 535124 – umask 002 not being applied for new directories, new
103 files get the correct umask
105 * gfile.c (g_file_make_directory)
106 (g_file_make_directory_with_parents): Document ownership and
107 permissions of newly created directories as being the default
110 2008-08-08 Loïc Minier <lool@dooz.org>
112 Bug 535124 – umask 002 not being applied for new directories, new
113 files get the correct umask
115 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
118 2008-08-08 Tor Lillqvist <tml@novell.com>
120 * gwin32mount.c: Remove unused code. Whitespace cleanup.
122 * gwin32volumemonitor.c (get_connected_drives): Put questionable
123 code that didn't actually do anything inside #if 0, and add a
124 comment wondering what the code was supposed to do. This also gets
125 rid of a leftover debugging printout.
127 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
129 * gfileicon.c (g_file_icon_get_property)
130 (g_file_icon_set_property): New functions.
131 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
133 (g_file_icon_new): Use the property (bug #546132).
135 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
137 * gthemedicon.c (g_themed_icon_get_property): Also handle
138 `PROP_USE_DEFAULT_FALLBACKS'.
139 (g_themed_icon_class_init): Make
140 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
142 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
144 Bug 546371 – Improve docs re g_file_monitor
146 * gfilemonitor.c: Mention g_file_monitor() in the docs.
148 2008-08-04 Matthias Clasen <mclasen@redhat.com>
150 * === Released 2.17.6 ===
152 2008-08-04 Matthias Clasen <mclasen@redhat.com>
154 * === Released 2.17.5 ===
156 2008-08-04 Matthias Clasen <mclasen@redhat.com>
158 Bug 546017 – Don't copy attributes when copying a symlink
160 * gfile.c (g_file_copy_attributes): Specify
161 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
162 g_file_set_attributes_from_info. Patch by Christian Kellner
164 2008-08-04 Matthias Clasen <mclasen@redhat.com>
166 * gemblemedicon.[hc]:
168 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
169 a bit more extensible. Work by Clemens Buss.
171 * gioenums.h: Add GEmblemOrigin.
174 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
176 Bug 546079 – leak in xdgmime
178 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
180 2008-08-03 Tor Lillqvist <tml@novell.com>
182 * win32/gwin32directorymonitor.h
183 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
186 2008-08-03 Tor Lillqvist <tml@novell.com>
188 * win32/gwin32directorymonitor.c
189 (g_win32_directory_monitor_callback): Make prototype match
190 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
191 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
194 (g_win32_directory_monitor_constructor):
195 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
196 names in the GLib API on Windows, so convert to UTF-16 and open
199 2008-08-03 Tor Lillqvist <tml@novell.com>
201 Bug 541036 - Gnumeric crashes when trying to open Desktop or
202 user's folder under Windows
204 * win32/gwin32directorymonitor.c
205 (g_win32_directory_monitor_constructor): Ignore error from
206 CreateFile() when opening directory. Instead of asserting, just
207 store INVALID_HANDLE_VALUE then in
208 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
209 ReadDirectoryChangesW().
210 (g_win32_directory_monitor_cancel): Don't attempt to close
211 directory handle if it is INVALID_HANDLE_VALUE.
213 2008-08-01 Matthias Clasen <mclasen@redhat.com>
215 * gdesktopappinfo.c: Remove debug spew
217 2008-08-01 Hans Breuer <hans@breuer.org>
219 * makefile.msc : add gemblembedicon
221 2008-07-30 Matthias Clasen <mclasen@redhat.com>
223 Bug 545457 – gdmsetup crashed with SIGSEGV in
224 g_unix_mount_guess_should_display()
226 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
227 crash if no mount is found.
229 2008-07-28 Matthias Clasen <mclasen@redhat.com>
231 Bug 545203 – gfile.c: argument is different type.
233 * gfile.c (open_read_async_thread): Pass a GError **
234 to g_file_set_error_literal.
235 Reported by Kazuki Iwamoto
237 2008-07-28 Matthias Clasen <mclasen@redhat.com>
239 Bug 545157 – wrong/no list of "open with" applications for .cc and
242 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
243 Collect all ancestors, not just direct parents. Pointed
244 out by Bastien Nocera
246 2008-07-28 Matthias Clasen <mclasen@redhat.com>
248 * Makefile.am: Install gemblemedicon.h
250 2008-07-28 Matthias Clasen <mclasen@redhat.com>
252 * gemblemedicon.[hc]: Add a GIcon implementation that can
253 add an emblem to another icon.
260 * gfileicon.c: Small documentation additions.
262 2008-07-28 Tor Lillqvist <tml@novell.com>
264 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
267 2008-07-27 Tor Lillqvist <tml@novell.com>
269 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
271 2008-07-24 David Zeuthen <davidz@redhat.com>
275 Also export a g_mount_guess_content_type_sync() function.
277 2008-07-23 Matthias Clasen <mclasen@redhat.com>
279 529694 – SELinux context setting support
281 * gfileinfo.c: Support setting selinux attributes.
282 Patch by Tomas Bzatek
284 2008-07-22 Priit Laes <plaes@plaes.org>
286 Bug 544140 - fam-helper 64-bit issue?
288 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
290 2008-07-21 Matthias Clasen <mclasen@redhat.com>
292 * === Released 2.17.4 ===
294 2008-07-20 Matthias Clasen <mclasen@redhat.com>
296 * gvolumemonitor.[hc]:
301 * gmount.c: Documentation fixes
303 2008-07-19 Matthias Clasen <mclasen@redhat.com>
305 543504 – crash in Epiphany Web Browser: Opening local file
316 * gvolume.c: Register types thread-safely.
317 Patch by Christian Persch
319 2008-07-18 Matthias Clasen <mclasen@redhat.com>
321 * gcontenttype.c: Remove debug spew
323 2008-07-18 Matthias Clasen <mclasen@redhat.com>
325 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
328 * fen/fen-kernel.c: Remove a warning that was causing
329 crashes. Reported by Lin Ma.
331 2008-07-18 Matthias Clasen <mclasen@redhat.com>
333 Bug 543040 – async reading on dummy file will crash on
336 * gfile.c (open_read_async_thread): Cope with read_fn being
337 NULL. Reported by Lin Ma.
339 2008-07-18 Matthias Clasen <mclasen@redhat.com>
342 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
344 2008-07-16 Matthias Clasen <mclasen@redhat.com>
348 * giomodule.c: Rename a chapter id to avoid filename conflict.
350 2008-07-16 Matthias Clasen <mclasen@redhat.com>
352 Bug 540616 – mem leak in filechooser button
354 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
355 the mount entry. Reported by Chrisitan Persch
357 2008-07-16 Matthias Clasen <mclasen@redhat.com>
359 * gfile.c: Small documentation fixes.
361 2008-07-15 Matthias Clasen <mclasen@redhat.com>
363 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
365 2008-07-08 Matthias Clasen <mclasen@redhat.com>
370 * gmount.c: Documentation improvements.
372 2008-07-08 Matthias Clasen <mclasen@redhat.com>
375 * gmount.[hc]: Add g_mount_guess_content_type().
377 2008-07-06 David Zeuthen <davidz@redhat.com>
380 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
381 is needed for easily handling adoption of foreign volumes by
382 out-of-process volume monitors (#541793)
384 2008-07-06 David Zeuthen <davidz@redhat.com>
386 * gvolumemonitor.[ch]:
387 * gunionvolumemonitor.c: Export the eject-button signal on the
388 volume monitor class (#541794).
390 2008-07-06 Matthias Clasen <mclasen@redhat.com>
392 * gappinfo.c: More doc tweaks
394 2008-07-05 Matthias Clasen <mclasen@redhat.com>
396 * gappinfo.c: Clarify some docs
398 2008-07-03 Matthias Clasen <mclasen@redhat.com>
400 * gdesktopappinfo.c: Fix a stupid mistake.
402 2008-07-02 Matthias Clasen <mclasen@redhat.com>
404 * === Released 2.17.3 ===
406 2008-07-02 Matthias Clasen <mclasen@redhat.com>
408 * gfilemonitor.c: Fix the build.
410 2008-07-02 Matthias Clasen <mclasen@redhat.com>
412 Bug 536160 – Add g_file_monitor()
415 * gfile.[hc]: Add g_file_monitor which can return either
416 a file or a directory monitor. Proposed by Behdad Esfahbod
418 2008-07-02 Matthias Clasen <mclasen@redhat.com>
420 536733 – gio build failure on Irix
422 * glocalfile.c: Use a configure check for structfs.f_bavail.
424 2008-07-02 Matthias Clasen <mclasen@redhat.com>
426 Bug 534639 – add g_desktop_app_info_new_from_keyfile
429 * gdesktopappinfo.[hc]: Add a function to create a
430 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
432 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
434 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
436 2008-07-01 Matthias Clasen <mclasen@redhat.com>
438 * gunixmounts.c: Fix a doc typo.
440 2008-07-01 Cody Russell <bratsche@gnome.org>
442 * gio/gcontenttype.c:
443 * gio/gwin32appinfo.c:
444 * gio/gwin32volumemonitor.c:
445 * gio/gwin32mount.c: Fixed some include problems.
447 2008-07-01 Cody Russell <bratsche@gnome.org>
451 Moved all relevant typedefs into these files.
454 Updated wrt added files.
456 Split types into separate file for easier maintainership. (#538564)
458 2008-06-30 Matthias Clasen <mclasen@redhat.com>
460 Bug 540331 – g_file_append_to () documentation: can return NULL
462 * gfile.c (g_file_append_to): Clarify docs.
465 2008-06-30 Matthias Clasen <mclasen@redhat.com>
467 Bug 539090 – g_content_type_from_mime_type() should unalias
469 * gcontentype.c (g_content_type_from_mime_type): Unalias.
470 Patch by Markus Bergman
472 2008-06-30 Matthias Clasen <mclasen@redhat.com>
474 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
477 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
478 on ppc and alpha. Reported by Mart Raudsepp
480 2008-06-29 Matthias Clasen <mclasen@redhat.com>
483 * tests/memory-output-stream.c: Add some tests for
486 2008-06-29 Matthias Clasen <mclasen@redhat.com>
488 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
491 * gmemoryoutputstream.c (array_resize): Handle truncation to
492 zero correctly. Reported by Akira Tagoh
494 2008-06-29 Matthias Clasen <mclasen@redhat.com>
496 * gmemoryoutputstream.c: Trivial doc fixes
498 2008-06-29 Matthias Clasen <mclasen@redhat.com>
500 Bug 540802 – g_list_prepend doesn't concat lists
502 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
503 one list to another. Pointed out by Jan Arne Petersen
505 2008-06-28 Michael Natterer <mitch@imendio.com>
507 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
509 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
511 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
512 to avoid problems with partial icon themes.
514 2008-06-17 Hans Breuer <hans@breuer.org>
516 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
517 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
518 access again on win32, see bug #538127
519 * giomodule.c : ensure GWin32VolumeMonitor is registered
520 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
521 * Makefile.am makefile.msc : updated
523 2008-06-16 Hans Breuer <hans@breuer.org>
525 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
526 and initialization in one step avoids c99ism
528 2008-06-16 Christian Persch <chpe@gnome.org>
531 * gio/gbufferedinputstream.c
533 * gio/gdatainputstream.c
534 * gio/gdesktopappinfo.c
536 * gio/gfileenumerator.c
537 * gio/gfileinputstream.c
538 * gio/gfileoutputstream.c
540 * gio/glocaldirectorymonitor.c
542 * gio/glocalfileenumerator.c
543 * gio/glocalfileinfo.c
544 * gio/glocalfilemonitor.c
545 * gio/glocalfileoutputstream.c
546 * gio/gmemoryinputstream.c
547 * gio/gmemoryoutputstream.c
548 * gio/goutputstream.c
549 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
552 2008-06-16 Tor Lillqvist <tml@novell.com>
554 Bug 538362 - Get Win32 icons back in the file chooser
556 * gcontenttype.c (g_content_type_get_icon): Look up the icon
557 corresponding to a file extension in the Registry. Patch by Hans
559 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
561 2008-06-16 Tor Lillqvist <tml@novell.com>
563 Patches by Hans Breuer:
565 * glocalfile.c (is_xp_or_later): Handle compiling against older
566 SDK headers with missing VerifyVersionInfo(). Conditioned on
567 _MSC_VER, but should probably use some better test.
568 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
569 uninitialised statfs_result variable on Win32.
571 2008-06-16 Michael Natterer <mitch@imendio.com>
573 * *.c: chain up unconditionally in finalize() and dispose(). Also
574 don't dereference these function pointers when calling them since
575 that has no meaning at all.
577 2008-06-16 Ross Burton <ross@burtonini.com>
580 Remove check for dispose implementation as it annoys Emmanuele.
582 2008-06-16 Ross Burton <ross@burtonini.com>
584 Bug 536252 – GFileEnumerator should allow access to the containing
590 Add g_file_enumerator_get_container() and a container writeable
591 construct-only property. Also shuffle around typedefs to make it
594 * glocalfileenumerator.c:
595 * glocalfileenumerator.h:
597 Instead of a string filename take a GFile in the constructor and
598 use it to set the container property.
603 2008-06-16 Matthias Clasen <mclasen@redhat.com>
605 * gfile.c: Make includes more uniform
607 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
609 * tests/live-g-file.c (sample_struct):
610 Use less fancy unicode filenames, so the test doesn't fail
611 on Mac OS X (#531476).
613 2008-06-12 Matthias Clasen <mclasen@redhat.com>
615 * === Released 2.17.2 ===
617 2008-06-12 Matthias Clasen <mclasen@redhat.com>
619 * === Released 2.17.1 ===
621 2008-06-11 A. Walton <awalton@gnome.org>
623 * tests/g-file.c (test_g_file_new_null):
624 Fix broken test case.
626 2008-06-11 Matthias Clasen <mclasen@redhat.com>
628 * pltcheck.sh: We use g_clear_error now.
630 2008-06-11 Matthias Clasen <mclasen@redhat.com>
632 * glocalfile.c (g_local_file_enumerate_children): Revert
633 an unintended change.
635 2008-06-11 Matthias Clasen <mclasen@redhat.com>
637 * gfile.c (g_file_replace_contents): Don't unref before the last use.
639 2008-06-10 Matthias Clasen <mclasen@redhat.com>
641 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
644 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
645 as icon for the desktop directory, also make user-home and
646 user-desktop the preferred icons.
648 2008-06-10 Matthias Clasen <mclasen@redhat.com>
651 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
652 to add a name to the front of the list.
654 2008-06-10 Matthias Clasen <mclasen@redhat.com>
656 Bug 537392 – Additional colon in xattr name
658 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
659 too. Reported by Alessandro Morandi
661 2008-06-10 Matthias Clasen <mclasen@redhat.com>
663 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
666 * glocalfile.c (get_fs_type): Add afs and autofs.
667 Patch by Danny Baumann.
669 2008-06-10 Matthias Clasen <mclasen@redhat.com>
671 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
673 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
674 is no parent. (Owen Taylor, patch by Christian Neumair)
676 2008-06-10 Paolo Borelli <pborelli@katamail.com>
678 * gfile.c (g_file_replace_contents): do not leak the output stream.
680 2008-06-10 Michael Natterer <mitch@imendio.com>
682 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
683 uninitialized memory as array index.
685 2008-06-10 Tor Lillqvist <tml@novell.com>
687 * gcontenttype.c (g_content_type_can_be_executable)
688 (g_content_type_get_icon) [Win32]: Add TODO comments.
690 2008-06-09 Matthias Clasen <mclasen@redhat.com>
692 * xdgmime/Makefile.am: Fix the build
694 2008-06-09 Matthias Clasen <mclasen@redhat.com>
696 * gcontenttype.c (g_content_type_get_icon): Use icons specified
697 in the shared mime database, if available.
699 * xdgmime/*: Sync with upstream. This brings support for
700 glob weights, generic icons, and changes the cache format to
703 2008-05-28 Michael Natterer <mitch@imendio.com>
705 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
706 the global CPPFLAGS now.
708 * tests/data-input-stream.c
709 * tests/data-output-stream.c
710 * tests/g-file-info.c
712 * tests/live-g-file.c
713 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
715 2008-05-27 Matthias Clasen <mclasen@redhat.com>
717 * === Released 2.17.0 ===
719 * tests/live-g-file.c: Clean up after the tests, so make distcheck
720 doesn't complain about leftover files.
722 2008-05-27 simon.zheng <simon.zheng@sun.com>
724 * glocalfile.c: (g_local_file_query_filesystem_info):
725 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
727 2008-05-26 Michael Natterer <mitch@imendio.com>
729 * gmemoryoutputstream.h: declare
730 g_memory_output_stream_get_data_size().
732 2008-05-26 Matthias Clasen <mclasen@redhat.com>
734 * tests/*: Make tests work
736 2008-05-26 Matthias Clasen <mclasen@redhat.com>
738 * gio.symbols: Add g_memory_output_stream_get_data_size.
740 2008-05-25 Ross Burton <ross@burtonini.com>
743 Fix typo in error message (#534764).
745 2008-05-25 Ross Burton <ross@burtonini.com>
748 Fix circular dependency loop for gioenumtypes.h (#534759).
750 2008-05-19 Hans Breuer <hans@breuer.org>
752 * Makefile.am : EXTRA_DIST += makefile.msc
754 2008-05-17 Matthias Clasen <mclasen@redhat.com>
757 * gcontenttype.c: (g_content_type_from_mime_type):
758 New function to create a content type from a mime type. (#527175,
761 2008-05-17 Matthias Clasen <mclasen@redhat.com>
763 Bug 532965 – Should not return filesystem::free for certain file systems
765 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
766 free space for ncpfs.
768 2008-05-17 Matthias Clasen <mclasen@redhat.com>
770 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
772 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
773 st_dev might be zero.
775 2008-05-16 Tor Lillqvist <tml@novell.com>
777 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
778 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
780 2008-05-13 Bastien Nocera <hadess@hadess.net>
782 * gfile.c (has_valid_scheme): A URI scheme must start with a
783 letter, even if later more characters are allowed (#532852)
785 2008-05-05 Michael Natterer <mitch@imendio.com>
787 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
788 code from being checked in that breaks the build of applications
789 which use G_DISABLE_SINGLE_INCLUDES.
791 * makegioalias.pl: make the alias file include "glib.h" instead of
794 * gio.symbols: whitespace change to force regeneration of the
795 alias file after above script change.
797 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
799 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
801 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
803 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
805 2008-04-28 David Zeuthen <davidz@redhat.com>
807 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
808 displaying mounts in a subdirectory not accessible to the
811 2008-04-22 Michael Natterer <mitch@imendio.com>
813 * Makefile.am: fix library versioning (it was 0.0.0).
815 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
817 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
818 Default disable all loggings.
819 * fen/fen-kernel.c: (printevent), (port_add_kevent),
820 (port_fetch_event_cb): Fixed two macro nits.
822 2008-04-16 Matthias Clasen <mclasen@redhat.com>
824 * xdgmime/xdgmime.c: Rework the timestamp checking code
825 to protect against duplicate directories in XDG_DATA_DIRS.
826 Fixes fd.o bug 12513, reported by Joe Shaw.
828 2008-04-16 Matthias Clasen <mclasen@redhat.com>
830 Partically revert the last commit after realizing that
831 xdg_mime_media_type_equal doesn't have to init at all.
834 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
836 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
838 2008-04-16 Matthias Clasen <mclasen@redhat.com>
840 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
841 reported by Joe Shaw and Federico Mena Quintero.
843 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
844 (xdg_mime_media_type_equal): Turn into a wrapper around the
847 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
848 functions throughout.
850 2008-04-16 Michael Meeks <michael.meeks@novell.com>
852 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
853 tolerate an empty TryExec= line without failing; nautilus used
854 to create launchers with these in previous versions. Fixes #528433
856 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
858 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
859 after name. Fixes #527132.
861 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
863 * gfile.c: (g_file_replace):
866 2008-04-07 Matthias Clasen <mclasen@redhat.com>
868 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
870 * gfile.c (file_copy_fallback): Fix the argument order. Patch
871 by Christian Kellner.
873 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
875 * gunixmounts.c: (g_unix_mount_guess_should_display):
876 Don't list the user directory as a mount, fix potential issue
877 when other users have a similar naming and don't special case the
878 gvfs mounts there since that's not required (#525866)
880 2008-03-31 Alexander Larsson <alexl@redhat.com>
882 * glocalfile.c (get_parent):
885 2008-03-31 A. Walton <awalton@svn.gnome.org>
887 * gfile.c (g_file_query_file_type):
888 Always return a GFileType enum value (#520715).
890 2008-03-31 Alexander Larsson <alexl@redhat.com>
892 * glocalfileenumerator.c:
893 Read readdir() info in chunks (of 1000) and sort
894 the chunks by inode before stat:ing.
895 This is a 20% performance increase in testing
896 gvfs-ls on /usr/bin with cold cache.
898 2008-03-31 Alexander Larsson <alexl@redhat.com>
900 * gmemoryoutputstream.c:
901 Clarify docs for g_memory_output_stream_get_size.
902 Add g_memory_output_stream_get_data_size.
904 2008-03-30 Matthias Clasen <mclasen@redhat.com>
908 * gfile.h: Add g_file_query_file_type convenience function
909 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
911 2008-03-30 Matthias Clasen <mclasen@redhat.com>
914 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
916 2008-03-28 A. Walton <awalton@svn.gnome.org>
918 * giomodule.c (_g_io_modules_ensure_loaded):
919 Adds GIO_EXTRA_MODULES environment variable support, closing bug
922 2008-03-28 Alexander Larsson <alexl@redhat.com>
925 (copy_stream_with_progress):
928 2008-03-28 Alexander Larsson <alexl@redhat.com>
931 (copy_stream_with_progress):
932 (file_copy_fallback):
933 Fallback to g_file_query_info for source size
934 if g_file_input_stream_query_info fails. (#524579)
936 2008-03-28 Alexander Larsson <alexl@redhat.com>
938 * glocalfile.c (g_local_file_move):
939 Reuse old string instead of adding new one.
941 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
943 * fen/*.[hc]: still copyright issue. I hate copyright.
945 2008-03-27 Alexander Larsson <alexl@redhat.com>
947 * glocalfile.c (g_local_file_move):
948 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
949 file over directory. This is according to the docs and what the move via
950 copy+remove fallback does.
952 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
954 * fen/*.[hc]: Updated copyright.
956 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
958 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
960 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
962 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
963 not emit attribute changed events when optimizing changed events.
964 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
967 2008-03-19 Matthias Clasen <mclasen@redhat.com>
969 * gmountoperation.[hc]: Small documentation additions
971 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
973 * gunixmounts.c: (guess_mount_type):
974 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
976 2008-03-19 Alexander Larsson <alexl@redhat.com>
979 (copy_stream_with_progress):
980 Bump block side for copy to 64k to minimize
981 overhead for low latency links. (#523015)
983 2008-03-16 Tor Lillqvist <tml@novell.com>
985 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
986 depend on gio.def on Windows.
988 2008-03-12 David Zeuthen <davidz@redhat.com>
992 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
994 2008-03-14 Alexander Larsson <alexl@redhat.com>
998 Avoid redudant tests (#521851)
999 Patch from Josselin Mouette
1001 2008-03-14 Alexander Larsson <alexl@redhat.com>
1004 (g_file_monitor_is_cancelled):
1005 Fix C89 issue (#521672)
1006 Patch from Jens Granseuer
1008 2008-03-14 Alexander Larsson <alexl@redhat.com>
1010 * fam/fam-helper.[ch]:
1012 Shut down fam (including removing fam GSource) when
1013 module is unloaded (#521513)
1014 Patch from Joe Marcus Clarke
1016 2008-03-14 Alexander Larsson <alexl@redhat.com>
1019 (_g_io_modules_ensure_loaded):
1022 2008-03-14 Alexander Larsson <alexl@redhat.com>
1025 (g_local_file_query_filesystem_info):
1026 Use right define name for f_fstypename member check
1028 2008-03-14 Alexander Larsson <alexl@redhat.com>
1031 * fen/Makefile.am: Added.
1032 * fen/fen-data.[ch]: Added.
1033 * fen/fen-dump.[ch]: Added.
1034 * fen/fen-helper.[ch]: Added.
1035 * fen/fen-kernel.[ch]: Added.
1036 * fen/fen-missing.[ch]: Added.
1037 * fen/fen-node.[ch]: Added.
1038 * fen/fen-sub.[ch]: Added.
1039 * fen/gfendirectorymonitor.[ch]: Added.
1040 * fen/gfenfilemonitor.[ch]: Added.
1042 Added Solaris FEN file notification backend.
1043 Patch from Lin Ma <Lin.Ma@Sun.COM>
1045 2008-03-13 Tor Lillqvist <tml@novell.com>
1047 * Makefile.am: Actually use the gio.def file when linking the
1048 library on Windows. Produce .lib library for Microsoft's toolchain
1049 when possible. Install the .lib and .def file like for the other
1052 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1054 * tests/live-g-file.c:
1055 Include live-g-file in standard set of tests, making a temporary
1056 directory in source structure.
1058 Clean target directory before the tests (write mode only)
1060 2008-03-12 Tor Lillqvist <tml@novell.com>
1062 Bug 517419 - gio win32 directory monitor
1063 Implementation by Vlad Grecescu.
1066 * win32/gwin32directorymonitor.h
1067 * win32/gwin32directorymonitor.c: New files.
1069 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1071 * Makefile.am: Add the win32 subdirectory.
1073 2008-03-12 Tor Lillqvist <tml@novell.com>
1075 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1076 normal struct stat on Unix but struct _stati64 on Windows to have
1077 access to 64-bit file size information. Use that instead of struct
1078 stat in the functions declared here in this private header.
1080 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1081 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1082 warnings about unused functions and variables. Don't set
1083 meaningless attributes like inode numbers on Windows.
1085 2008-03-12 Benjamin Otte <otte@gnome.org>
1088 trim whitespace so gtk-doc groks the function name
1090 2008-03-12 Tor Lillqvist <tml@novell.com>
1092 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1093 returning FALSE, on Win32.
1095 2008-03-11 Alexander Larsson <alexl@redhat.com>
1098 * glocalfileinfo.[ch]:
1099 Correctly implement can_trash by actually
1100 looking for a trash dir, not just assuming
1103 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1105 * === Released 2.16.1 ===
1107 2008-03-11 Alexander Larsson <alexl@redhat.com>
1110 Fix crashes in new constructor and properties code
1112 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1114 * gfile.c: Minor spelling correction in documentation:
1115 existance -> existence.
1117 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1119 * === Released 2.16.0 ===
1121 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1123 * gio.symbols: Remove g_file_contains_file here, too.
1125 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1127 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1128 Samuel Cormier-Iijima)
1130 2008-03-08 Tor Lillqvist <tml@novell.com>
1132 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1135 2008-03-07 Alexander Larsson <alexl@redhat.com>
1138 (g_local_file_query_filesystem_info):
1139 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1140 Patch from Jasper Lievisse Adriaanse
1142 2008-03-06 Tor Lillqvist <tml@novell.com>
1144 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1145 comments for the *_USEC attributes.
1147 2008-03-06 Alexander Larsson <alexl@redhat.com>
1149 * gfile.c (g_file_query_exists):
1150 Add g_return_val_if_fail check (#520700)
1152 2008-03-06 Alexander Larsson <alexl@redhat.com>
1154 * gdesktopappinfo.c:
1157 * gunionvolumemonitor.c:
1160 * tests/live-g-file.c:
1161 * xdgmime/xdgmimecache.c:
1162 Fix sparse warnings (#519489)
1164 2008-03-05 Alexander Larsson <alexl@redhat.com>
1167 Make cancellation threadsafe (i.e.
1168 guarantee its only done once, and always
1171 * glocaldirectorymonitor.c:
1172 Make sure we the monitor lives while the
1173 mounts_changed callback is being called (#520484)
1175 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1177 * gbufferedinputstream.c: Fix typo in parameter
1180 2008-03-04 Alexander Larsson <alexl@redhat.com>
1183 Remove deprecated symbols we kept for one release.
1185 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1188 * goutputstream.c: Tiny documentation corrections.
1190 2008-03-03 Alexander Larsson <alexl@redhat.com>
1192 * gunionvolumemonitor.c:
1194 Fix the adopt_orphan_mount vfunc to take a
1195 volume_monitor reference in an ABI compat way.
1196 This change is not API compat, but the added
1197 arg is not used in the only user of this vfunc, so
1198 all we get is a harmless warning in gvfs (#520169)
1200 2008-03-01 Benjamin Otte <otte@gnome.org>
1203 clarify docs for g_file_delete().
1205 2008-02-29 Alexander Larsson <alexl@redhat.com>
1209 Make sure empty files get text/plain type (#518720)
1211 2008-02-27 Alexander Larsson <alexl@redhat.com>
1217 (g_unix_volume_mount):
1218 Add missing GMountMountFlags argument
1220 2008-02-26 Alexander Larsson <alexl@redhat.com>
1223 (g_local_file_delete):
1224 Handle filesystems (like ntfs-3g) that return EEXIST instead
1225 of ENOTEMPTY (#518816)
1227 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1229 * === Released 2.15.6 ===
1231 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1233 * gfile.c (g_file_find_enclosing_mount):
1234 * ginputstream.c (g_input_stream_set_pending):
1235 * glocalfile.c (g_local_file_find_enclosing_mount):
1236 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1237 * goutputstream.c (g_output_stream_set_pending):
1239 Fixup translator comments (#518578).
1241 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1243 * gfile.c (g_file_find_enclosing_mount):
1245 * glocalfile.c (g_local_file_find_enclosing_mount):
1248 Fix a few typos in translator comments and documentation.
1250 2008-02-25 Alexander Larsson <alexl@redhat.com>
1257 Add translator comments (#518578)
1259 2008-02-25 Alexander Larsson <alexl@redhat.com>
1262 Reintroduce g_file_contains_file, keep around for one
1263 unstable release cycle to avoid crashing to many apps.
1264 Make sure to delete after release.
1266 2008-02-25 Alexander Larsson <alexl@redhat.com>
1269 Remove deprecated g_file_contains_file.
1271 2008-02-25 Alexander Larsson <alexl@redhat.com>
1274 Emit actual change signals in an idle handler.
1275 This avoids reentrance and locking problems in
1276 the file notification backends.
1278 2008-02-25 Alexander Larsson <alexl@redhat.com>
1281 (g_unix_mount_guess_should_display):
1282 Remove type guessing, instead just display
1283 mounts in /media and in ~/.
1285 2008-02-25 Alexander Larsson <alexl@redhat.com>
1288 Make new strings reuse old ones.
1290 2008-02-25 Alexander Larsson <alexl@redhat.com>
1293 Implement trashing and filesystem::readonly for win32 (#517235)
1294 Patch from Yevgen Muntyan
1296 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1298 * gfileinfo.h: Documentation fixes.
1300 2008-02-22 Alexander Larsson <alexl@redhat.com>
1302 * gcontenttype.c (g_content_type_get_icon):
1303 Look at old-style gnome mime icon names too, as many
1304 have not moved to the new style.
1306 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1308 * *.c: Correct the @include in for section docs.
1310 2008-02-21 David Zeuthen <davidz@redhat.com>
1312 * glocalfileinfo.c: (_g_local_file_info_get):
1314 (g_content_type_get_icon): Implement this function by
1315 moving bits from glocalfileinfo.c
1316 (g_content_type_get_description): Unalias before getting
1317 description (#517687)
1319 * gfile.c: (g_file_class_init),
1320 (g_file_query_filesystem_info_async),
1321 (g_file_query_filesystem_info_finish),
1322 (query_filesystem_info_data_free),
1323 (query_filesystem_info_async_thread),
1324 (g_file_real_query_filesystem_info_async),
1325 (g_file_real_query_filesystem_info_finish):
1326 * gfile.h: Implement async version of
1327 g_file_query_filesystem_info()
1329 * gfileinfo.h: Add new attributes for filesystem::use-preview
1331 * gio.symbols: Update
1333 * gthemedicon.c: (g_themed_icon_append_name):
1334 * gthemedicon.h: Add new new convenience function.
1336 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1337 (get_mounts), (get_volumes), (get_connected_drives),
1338 (get_volume_for_uuid), (get_mount_for_uuid),
1339 (g_union_volume_monitor_init), (populate_union_monitor),
1340 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1341 (g_volume_monitor_adopt_orphan_mount):
1343 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1344 monitor implementations to call into the main volume monitor. Also
1345 separate object initialization and volume monitor initialization
1346 such that non-native volume monitors can properly adopt their
1349 2008-02-21 Alexander Larsson <alexl@redhat.com>
1354 2008-02-21 Alexander Larsson <alexl@redhat.com>
1357 Add more documentation about how GFiles work (from #517086)
1359 2008-02-21 Alexander Larsson <alexl@redhat.com>
1363 Add new g_file_has_prefix that does the same as g_file_contains_file.
1364 Deprecate g_file_contains_file and add a macro that converts
1365 it to g_file_has_prefix.
1366 The reason for this change is that the contains_file() name seems to
1367 imply that this does more work than what it does, but its really only
1368 a name match (from #517086)
1373 Update to match the above change.
1375 2008-02-20 Benjamin Otte <otte@gnome.org>
1377 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1378 (g_file_eject_mountable):
1379 even more cases of not returning in error path
1381 2008-02-20 Benjamin Otte <otte@gnome.org>
1383 * gfile.c: (g_file_mount_mountable):
1384 return from function in error path.
1386 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1389 Remove trailing coma in GMountMountFlags struct
1391 2008-02-18 Alexander Larsson <alexl@redhat.com>
1395 * glocalfileoutputstream.c:
1396 Use g_unlink/g_rename instead of unlink/rename;
1397 do not pass raw filenames to g_set_error. (#517239)
1398 Patch from Yevgen Muntyan.
1400 2008-02-18 Alexander Larsson <alexl@redhat.com>
1403 * glocalfileoutputstream.c:
1404 Open files with O_BINARY on windows. (#517140)
1406 2008-02-14 Alexander Larsson <alexl@redhat.com>
1408 * glocalfileoutputstream.c:
1409 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1411 2008-02-14 Alexander Larsson <alexl@redhat.com>
1414 Copy permissions with file on copy (#514084)
1415 This is what cp does and makes sure e.g. the
1416 exec permissions are kept.
1417 Its kinda weird in that it keeps the permission bits
1418 the same while the uid and gid are different. However
1419 the new uid is the user so its not a security issue,
1420 and I've heard no complaints about cp on this issue.
1422 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1424 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1426 2008-02-13 Alexander Larsson <alexl@redhat.com>
1428 * inotify/inotify-path.c:
1429 Define IN_ONLYDIR if not in header (#515346)
1431 2008-02-12 Alexander Larsson <alexl@redhat.com>
1433 * tests/live-g-file.c:
1436 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1438 * === Released 2.15.5 ===
1440 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1442 * gio.symbols: Add g_mount_mount_flags_get_type.
1444 2008-02-11 Alexander Larsson <alexl@redhat.com>
1447 (g_file_info_set_attribute_mask):
1448 (g_file_attribute_matcher_matches_id):
1449 Correctly handle NULL GAttributeMatcher meaning
1450 matches nothing. (Fixes #513492)
1452 2008-02-11 Alexander Larsson <alexl@redhat.com>
1457 Added GMountMountFlags enum and added a flags
1458 argument to all mount calls.
1460 This is an API/ABI change for future extensibility,
1461 as I think we will need at least an
1462 inhibit-autorun flag (the panel needs this).
1463 There are no flags defined yet though.
1465 2008-02-11 Alexander Larsson <alexl@redhat.com>
1468 Added new standard::description attribute.
1469 Requested by Vincent, and useful for both
1472 2008-02-11 Alexander Larsson <alexl@redhat.com>
1474 * gdesktopappinfo.c:
1477 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1479 * *.c: Documentation additions
1481 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1483 * gappinfo.h: Formatting cleanup
1484 * gappinfo.c: Fix up docs.
1486 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1488 * gunixmounts.c: Consistently use getmntent_r() and fall
1489 back to getmntent(). (#515492)
1491 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1493 * gbufferedinputstream.c:
1495 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1497 * tests/data-input-stream.c:
1498 * tests/data-output-stream.c: Portability fixes.
1500 2008-02-08 Alexander Larsson <alexl@redhat.com>
1505 Add g_volume_should_automount.
1508 2008-02-07 Tor Lillqvist <tml@novell.com>
1510 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1511 Win32, too Unix-specific.
1513 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1515 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1516 a local plt if the compiler doesn't support what we want. Bug #514702
1518 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1520 reviewed by: <delete if not using a buddy>
1523 * gunixinputstream.c:
1524 * gunixoutputstream.c:
1526 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1528 * tests/Makefile.am:
1529 * tests/live-g-file.c:
1530 * tests/live-g-file.txt:
1531 New GIO testing module working over real data
1533 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1535 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1536 Fallback to rename() if link() is not available
1537 (when no support on target filesystem)
1539 2008-02-06 Michael Natterer <mitch@imendio.com>
1541 * gfileinfo.c (g_file_info_get_icon): replace
1542 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1544 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1546 * gfile.c (g_file_create):
1547 Documentation update of error codes
1549 2008-02-06 Alexander Larsson <alexl@redhat.com>
1551 * gdesktopappinfo.c:
1552 Update to use both mimeapps.list and
1553 defaults.list as discussed on xdg list.
1555 2008-02-06 Benjamin Otte <otte@gnome.org>
1558 * gfilenamecompleter.c:
1559 Fix some typos in the documentation.
1561 2008-02-06 Alexander Larsson <alexl@redhat.com>
1563 * glocalfile.c (g_local_file_trash):
1564 Don't succeed with trash if newly created
1565 trash dir has the wrong owner. (#514696)
1567 2008-02-05 Alexander Larsson <alexl@redhat.com>
1569 * glocalfile.c (g_local_file_move):
1570 Don't spew warnings when destination is not
1573 2008-02-03 Hans Breuer <hans@breuer.org>
1575 * makefile.msc : update
1577 2008-02-01 Michael Natterer <mitch@imendio.com>
1579 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1580 return value of xdg_mime_list_mime_parents() to a variable of the
1583 2008-02-01 Alexander Larsson <alexl@redhat.com>
1585 * gappinfo.c (g_app_info_launch_uris):
1586 Actually call the launch_uris method, not
1589 2008-02-01 Alexander Larsson <alexl@redhat.com>
1591 * gdesktopappinfo.c (g_desktop_app_info_equal):
1592 Ensure appinfos with no id but same pointer value
1595 2008-02-01 Alexander Larsson <alexl@redhat.com>
1597 * gappinfo.c (g_app_info_launch_default_for_uri):
1600 2008-02-01 Alexander Larsson <alexl@redhat.com>
1604 Add g_app_info_launch_default_for_uri utility
1607 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1609 * gdesktopappinfo.c:
1610 Doc fix for g_app_info_get_default_for_uri_scheme ()
1613 2008-01-30 Alexander Larsson <alexl@redhat.com>
1616 Add doc comment about uris vs GFiles to
1619 * gdesktopappinfo.c:
1620 Ensure uris passed to g_app_info_launch_uris()
1621 are not roundtriped through GFile (as that
1622 may be slightly destructive for e.g. mailto: links)
1624 2008-01-30 Alexander Larsson <alexl@redhat.com>
1626 * tests/data-input-stream.c:
1627 * tests/data-output-stream.c:
1628 C89 fixes from Jens Granseuer (#512849)
1630 2008-01-30 Alexander Larsson <alexl@redhat.com>
1633 Fix gamin/fam difference build issue. (#509419)
1635 2008-01-29 Alexander Larsson <alexl@redhat.com>
1638 * gdesktopappinfo.c:
1639 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1641 2008-01-29 Alexander Larsson <alexl@redhat.com>
1643 * gdesktopappinfo.c:
1644 * gdesktopappinfo.h:
1645 giomodule-priv.h include moved to .c file.
1647 2008-01-29 Alexander Larsson <alexl@redhat.com>
1649 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1650 Remove unused prio/name fields.
1652 2008-01-29 Alexander Larsson <alexl@redhat.com>
1654 * gcontenttype.c (looks_like_text):
1655 Don't treat whitespace as control chars.
1657 2008-01-29 Alexander Larsson <alexl@redhat.com>
1659 * gdesktopappinfo.c:
1660 Lazily create the desktop files for appinfos created
1661 by g_app_info_create_from_commandline() when needed
1662 for mime associations. This allows run-time use
1663 of GAppInfo object without creating unnecessary
1666 2008-01-29 Alexander Larsson <alexl@redhat.com>
1669 Added new symbols to gio.symbols
1671 2008-01-29 Alexander Larsson <alexl@redhat.com>
1674 Add g_file_query_default_handler utility to easily look up
1675 the GAppInfo that handles a file.
1677 * gdesktopappinfo.[ch]:
1679 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1682 Remove unused function
1684 2008-01-29 Alexander Larsson <alexl@redhat.com>
1686 * gfileenumerator.c:
1687 Mention need to free returned value in
1688 g_file_enumerator_next_files_finish docs.
1689 Fix leak if g_file_enumerator_next_files_finish()
1692 2008-01-29 Alexander Larsson <alexl@redhat.com>
1695 (_g_unix_content_type_get_parents):
1696 Use list_parents, not get_parents from xdgmime, because
1697 the later doesn't use the cache.
1699 * xdgmime/xdgmimecache.c:
1700 (_xdg_mime_cache_list_mime_parents):
1701 Don't list the same type as parent multiple times.
1703 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1705 * === Released 2.15.4 ===
1707 2008-01-28 Alexander Larsson <alexl@redhat.com>
1710 Register local vfs with prio 0.
1713 Remove old name and prio class members
1715 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1717 * tests/g-file.c: Disable some tests that are failing in
1718 the absence of a http backend.
1720 2008-01-28 Alexander Larsson <alexl@redhat.com>
1724 Add registration hooks for extension points.
1725 Register the gio extension points.
1727 * fam/gfamdirectorymonitor.c:
1728 * fam/gfamfilemonitor.c:
1729 * glocaldirectorymonitor.[ch]:
1730 * glocalfilemonitor.[ch]:
1731 * gnativevolumemonitor.h:
1732 * gunionvolumemonitor.c:
1733 * gunixvolumemonitor.c:
1736 * inotify/ginotifydirectorymonitor.c:
1737 * inotify/ginotifyfilemonitor.c:
1738 Use the extension points registration instead
1739 of g_type_children().
1741 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1744 * gvolume.[hc]: Document new API.
1746 * gfile.c (g_file_copy_async): Fix docs
1748 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1750 * gbufferedinputstream.c:
1752 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1755 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1757 * glocalfile.c: Avoid trivial differences in translatable strings.
1759 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1761 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1762 build with gcc 3.4 (#509419)
1764 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1766 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1767 (#509994, Murray Cumming)
1769 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1771 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1772 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1773 this allows big jobs to be executed in chunks, instead of blocking
1774 the main loop for a long time.
1776 * gsimpleasyncresult.c:
1777 * giofile.c: Adapt callers.
1779 2008-01-25 Alexander Larsson <alexl@redhat.com>
1781 * gdesktopappinfo.c:
1782 Implement changes discussed on xdg list.
1783 Now we can add supported mimetypes by just using defaults.list
1784 We can also remove associations in defaults.list.
1786 2008-01-25 Alexander Larsson <alexl@redhat.com>
1788 * gdesktopappinfo.c:
1789 Don't make local copy of desktop file
1790 for mimetype changes if the file already
1791 supports the new mimetype.
1793 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1797 * gbufferedinputstream.c:
1798 * glocalfile.c: String improvements. (#511966,
1799 Theppitak Karoonboonyanan)
1801 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1803 * gioscheduler.h: Expand docs a bit.
1805 2008-01-24 Alexander Larsson <alexl@redhat.com>
1808 Add g_drive_get_identifier and
1809 g_drive_enumerate_identifiers
1812 Add g_volume_get_identifier and
1813 g_volume_enumerate_identifiers
1819 Implement identifiers for unix backend
1821 2008-01-24 Alexander Larsson <alexl@redhat.com>
1826 Add g_file_copy_async() (#511580)
1827 Based on patch from Carlos Garcia Campos
1829 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1831 * gioscheduler.c: Some documentation additions.
1833 2008-01-22 Alexander Larsson <alexl@redhat.com>
1835 * gdesktopappinfo.c:
1836 (g_desktop_app_info_new):
1837 Don't leak basename.
1839 2008-01-22 Alexander Larsson <alexl@redhat.com>
1841 * gdesktopappinfo.c:
1842 (g_desktop_app_info_new_from_filename):
1845 2008-01-22 Alexander Larsson <alexl@redhat.com>
1847 * glocalfileinfo.c (get_thumbnail_attributes):
1850 2008-01-22 Alexander Larsson <alexl@redhat.com>
1853 (canonicalize_filename):
1854 Canonicalize paths that start with more than
1858 (compare_two_files):
1859 (test_g_file_new_for_path):
1862 2008-01-22 Alexander Larsson <alexl@redhat.com>
1865 Allow UTF-8 in file:// parse names.
1867 * tests/Makefile.am:
1868 * tests/data-input-stream.c:
1869 * tests/data-output-stream.c:
1870 * tests/g-file-info.c:
1872 Added a bunch of tests from Tomas Bzatek
1874 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1876 * === Released 2.15.3 ===
1878 2008-01-21 Alexander Larsson <alexl@redhat.com>
1880 * gfileinputstream.[ch]:
1881 * gfileoutputstream.[ch]:
1883 Remove duplicated GSeekable functions. (#509990)
1884 Just use the g_seekable_xxx() calls instead.
1886 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1889 * gvolumemanager.c: Whitespace cleanups.
1891 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1892 Use the right mode when creating the file.
1894 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1896 * gfileenumerator.c:
1897 * gfileinputstream.c:
1899 * goutputstream.c: Documentation: Fixed minor typos
1900 and added more mentions of specific _finish() functions.
1902 2008-01-21 Alexander Larsson <alexl@redhat.com>
1904 * inotify/Makefile.am:
1905 * inotify/inotify-helper.c:
1906 * inotify/inotify-kernel.c:
1907 * inotify/inotify-path.c:
1908 * inotify/local_inotify.h: Removed.
1909 * inotify/local_inotify_syscalls.h: Removed.
1910 Removed the included copies of the inotify
1911 headers. We now only use the <sys/inotify.h>
1912 header which exists on modern systems.
1913 This fixes problems on ARM and SH5 (#510448)
1914 but is also generally much cleaner and future
1915 safe. For instance, if other OSes add support
1916 for inotify it should "just work".
1918 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1920 * inotify/*.c: Coding style fixes.
1921 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1922 for the 1/4 Hz timer.
1924 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1927 * gfilemonitor.[hc]:
1928 * gmemoryinputstream.c:
1929 * gmemoryoutputstream.c:
1930 * gmountoperation.c:
1931 * gthemedicon.c: Documentation updates
1933 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1935 * gfile.c: documentation: Fixed more minor
1938 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1940 * gmount.c: (g_mount_remount): documentation:
1941 Mention g_mount_remount_finish() instead of
1942 g_mount_unmount_finish().
1944 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1948 * gfile.c: Fixed some minor typos in the
1951 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1953 * gio/gvolumemonitor.c:
1954 (g_volume_monitor_get_connected_drives):
1955 (g_volume_monitor_get_volumes):
1956 (g_volume_monitor_get_mounts): Documentation:
1957 Clarify the ownership of the regurn GLists.
1959 2008-01-17 Alexander Larsson <alexl@redhat.com>
1962 Add the async find_enclosing_mount version
1963 to the header file too.
1965 2008-01-17 Alexander Larsson <alexl@redhat.com>
1968 Add async version of find_enclosing_mount
1969 with default implementation.
1971 2008-01-17 Alexander Larsson <alexl@redhat.com>
1976 Allow calls to implementation of copy and write
1977 even if the type of the file implementations is
1978 different. This can be used to implement native
1979 upload and download calls in a vfs.
1982 (g_local_file_move):
1983 Protect against the case where move is called
1984 with one file not being local.
1986 Make sure we call the progress callback once
1987 in the native move operation so that the caller
1988 knows how many bytes were copied.
1990 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1993 * gdatainputstream.c:
1995 * gfileoutputstream.c:
2000 * gunixmounts.c: Corrected some typos in the documentation:
2001 occured -> occurred.
2002 its -> it's (where appropriate).
2004 2008-01-16 Alexander Larsson <alexl@redhat.com>
2008 Add g_file_query_exists (#508771)
2010 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2015 * gvolume.c: For async functions that have no non-async
2016 version, document that the GAsyncReadyCallback may be NULL.
2019 2008-01-15 Alexander Larsson <alexl@redhat.com>
2021 * gmemoryinputstream.c:
2022 * gmemoryoutputstream.c:
2023 Don't do pointer arithmetic on void * (#508602)
2024 Patch from Kazuki IWAMOTO
2026 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2028 * === Released 2.15.2 ===
2030 2008-01-14 Alexander Larsson <alexl@redhat.com>
2032 * gfile.c (g_file_monitor_file):
2033 Don't set error here, since we fallback to polling monitor.
2035 2008-01-14 Alexander Larsson <alexl@redhat.com>
2038 (g_file_monitor_directory):
2039 (g_file_monitor_file):
2040 Add GError to file monitor calls
2042 * glocaldirectorymonitor.c:
2043 * glocaldirectorymonitor.h:
2045 * glocalfilemonitor.c:
2046 * glocalfilemonitor.h:
2048 Update for above change
2050 2008-01-14 Alexander Larsson <alexl@redhat.com>
2054 Handle root correctly in g_file_get_relative_path (#508719)
2056 2008-01-14 Alexander Larsson <alexl@redhat.com>
2059 Clean up docs and example for GAsyncResult (#508074)
2061 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2063 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2064 and correct some spelling mistakes. Bug #508108.
2066 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2068 * glocalfileinfo.c: Add a comment.
2070 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2072 * gfileinfo.c: GFileInfo description: Mention
2073 how to actually set attributes in a GFile and how to discover
2074 which attributes are settable. Bug #508378.
2076 2008-01-10 A. Walton <awalton@svn.gnome.org>
2078 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2079 (g_app_info_get_default_for_type):
2080 Check for NULL content types.
2082 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2084 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2086 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2088 * gfile.c: *_async() functions: Several small corrections
2089 to the documentation, mostly correcting copy/paste errors
2090 and improving some sentences.
2092 2008-01-09 Dan Winship <danw@gnome.org>
2094 * glocalfile.c (get_unique_filename): x86_64 fix
2096 2008-01-09 Alexander Larsson <alexl@redhat.com>
2101 Add g_unix_mount_guess_should_display and use
2102 for unix volume monitor backend.
2103 This means we more or less show what the
2104 gnome-vfs backend did.
2105 Based on patch from Padraig O'Briain
2107 2008-01-09 Alexander Larsson <alexl@redhat.com>
2111 Add g_themed_icon_new_with_default_fallbacks
2114 Use default fallbacks for icons
2116 2008-01-09 Alexander Larsson <alexl@redhat.com>
2119 * gmountoperation.[ch]:
2120 Change the API a bit so that unhandled methods
2121 get reported via the reply, rather than by
2122 the signal emission return value. This is because
2123 some handlers can't know this immediately without
2124 doing I/O, and this is an async operation that
2127 2008-01-09 Alexander Larsson <alexl@redhat.com>
2130 * fam/gfamdirectorymonitor.c:
2131 * fam/gfamfilemonitor.c:
2132 Fix double free crash (#508224)
2133 Patch from Joe Marcus Clarke
2135 008-01-07 Matthias Clasen <mclasen@redhat.com>
2137 * === Released 2.15.1 ===
2139 2008-01-07 Alexander Larsson <alexl@redhat.com>
2141 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2142 Fix warning (#507835)
2144 2008-01-07 Alexander Larsson <alexl@redhat.com>
2147 Pass --internal to glib-genmarshal
2150 * gmountoperation.c:
2152 Use better types for signal arguments (#507822)
2154 2008-01-07 Alexander Larsson <alexl@redhat.com>
2157 Build test subdir after .
2158 Remove gdirectorymonitor.[ch]
2160 * gdirectorymonitor.[ch]:
2164 Remove GDirectoryMonitor and make
2165 GFileMonitor the baseclass for both file and
2166 directory monitors. Lift the more generic
2167 rate limiting code from GDirectoryMonitor
2171 * fam/gfamdirectorymonitor.[ch]:
2172 * inotify/ginotifydirectorymonitor.[ch]:
2173 * inotify/inotify-helper.c:
2174 * glocaldirectorymonitor.[ch]:
2177 Update for the removed GDirectoryMonitor.
2179 * gmemoryoutputstream.c:
2180 Remove ununsed variable
2182 2008-01-07 Alexander Larsson <alexl@redhat.com>
2184 * gmemoryinputstream.c:
2185 Translate error strings
2188 * gmemoryoutputstream.[ch]:
2189 New implementation that avoids using GByteArray
2190 in implementation and API. (#506377)
2192 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2194 * tests/*: Add a test for memory input streams.
2196 * Makefile.am: Add tests to SUBDIRS.
2198 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2200 * glocalfilemonitor.c:
2201 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2204 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2206 * gdesktopappinfo.c: Fix a docs typo.
2208 * gfileattribute.c: Add information about extended attributes
2209 to the documentation. (#505058)
2211 2008-01-04 Alexander Larsson <alexl@redhat.com>
2214 * gmountoperation.c:
2215 Use the right type (uint) for the ask_password signal.
2217 2008-01-04 Alexander Larsson <alexl@redhat.com>
2222 Add g_app_info_supports_files()
2223 Remove desktop arg from g_app_info_should_show().
2225 * gdesktopappinfo.[ch]:
2226 Implement g_app_info_supports_files() and new should_show()
2227 Add g_desktop_app_info_set_desktop_env() to set the desktop
2228 for should_show(). (This will be set by gtk+ later)
2230 2008-01-04 Alexander Larsson <alexl@redhat.com>
2233 * gmemoryinputstream.[ch]:
2234 Improve API so that you can use multiple chunks
2235 of memory and custom destroy functions. (#506374)
2237 2008-01-03 Alexander Larsson <alexl@redhat.com>
2240 Handle NULL attribute matchers safely, as we return this
2241 for empty attribute matcher strings.
2243 2008-01-03 Alexander Larsson <alexl@redhat.com>
2245 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2246 Add /usr/local to list of internal mountpoints
2248 2008-01-03 Alexander Larsson <alexl@redhat.com>
2251 Check for HAVE_LCHOWN (#505887)
2253 2008-01-03 Alexander Larsson <alexl@redhat.com>
2257 Add define for selinux context attribute.
2258 Fix missing : -> :: namespace separator change
2259 Fix missing _ -> - name change for xattr-sys.
2262 2008-01-03 Alexander Larsson <alexl@redhat.com>
2265 Link to libglib and libgobject directly (#504879)
2266 Patch from Sebastien Bacher
2268 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2270 * gfile.c: Expanded the g_file_new_for_commandline_arg
2271 description a bit, based on the code and the docs of the
2272 other g_file_new_for_* functions.
2274 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2276 * gfilemonitor.h: Fixed typo in docs.
2278 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2280 Updates to GIO documentation. (#506395, Mikael Hermansson)
2282 * gcontenttype.c: Describe memory management for return value of
2283 g_content_types_get_registered(). Missing piece from #505815.
2284 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2285 GVolume, GDrive, GMounts, which hopefully gives the user less
2286 confusions when using this API. Following explainations from
2287 Alexander Larsson on gtk-devel-list.
2289 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2291 * gfileinfo.c: Expand the long description.
2293 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2296 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2297 fix builds with --disable-visibility. (#500273, Christian Persch)
2299 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2301 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2302 in the list of returned app infos.
2304 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2306 * gappinfo.c: Fix a cross-reference
2308 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2310 * gfileinputstream.c:
2311 * gfileoutputstream.c:
2315 * gdesktopappinfo.c:
2317 * gfileinfo.c: Documentation updates.
2319 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2321 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2324 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2326 * gcontenttype.c (g_content_types_get_registered): Don't return
2327 freed memory (#505815, Mikael Hermansson)
2329 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2331 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2332 used to detect statbuf->st_blocks. (#505042)
2334 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2336 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2337 environment handling. (#504829, Cosimo Cecchi)
2339 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2341 * gappinfo.c: Doc improvements
2343 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2346 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2348 * === Released 2.15.0 ===
2350 2007-12-20 Hans Breuer <hans@breuer.org>
2352 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2353 with symbols gwin32appinfo.obj, added gmount.obj
2354 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2356 2007-12-20 Alexander Larsson <alexl@redhat.com>
2362 * gfilenamecompleter.c:
2365 * gpollfilemonitor.c:
2366 File attribute renames:
2368 fs:: -> filesystem::
2369 id::fs -> id::filesystem
2371 2007-12-20 Alexander Larsson <alexl@redhat.com>
2380 Add GMountUnmountFlags to all unmount and
2382 Add g_mount_remount() call.
2384 2007-12-20 Alexander Larsson <alexl@redhat.com>
2386 * gvfs.c (get_default_vfs):
2387 Fix unused variable warning
2389 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2391 * pltcheck.sh: Update
2393 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2395 * gunionvolumemonitor.c:
2396 * gunixmount.c: Remove C99 comments
2398 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2400 * gio.symbols: Add some missing symbols
2402 2007-12-19 Alexander Larsson <alexl@redhat.com>
2405 Make g_io_modules_load_all_in_directory not unuse
2406 loaded modules so that users of it can do stuff
2408 Init internal "module" types.
2409 Initialize static prio and name for types so that
2410 we don't have to load modules to get it.
2412 * gnativevolumemonitor.h:
2414 Move is_supported to parent class so that
2415 non-native monitors can avoid being initialized
2416 too. (For instance GDaemonVolumeMonitor if we're
2417 not using GDaemonVfs.)
2419 * glocaldirectorymonitor.[ch]:
2420 * glocalfilemonitor.[ch]:
2421 * gunionvolumemonitor.c:
2422 * gunixvolumemonitor.c:
2424 Find plugins using the static prio+name to
2425 avoid unnecessarily loading the modules.
2427 2007-12-19 Alexander Larsson <alexl@redhat.com>
2432 2007-12-19 Alexander Larsson <alexl@redhat.com>
2434 * gunionvolumemonitor.c:
2435 Store the native type as GType, not class so that
2436 we can unload it. But still avoid unnecessarily
2439 2007-12-19 David Zeuthen <davidz@redhat.com>
2441 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2442 add signals 'disconnected' and 'eject-button' on GDrive. Add
2443 signal 'removed' on GVolume and 'unmounted' on GMount.
2445 * gdrive.c: (g_drive_base_init):
2447 * gfile.c: (g_file_mount_mountable),
2448 (g_file_mount_enclosing_volume):
2451 * gmount.c: (g_mount_base_init):
2453 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2454 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2455 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2459 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2461 * *.c: Fix up includes in the section docs.
2463 2007-12-17 Alexander Larsson <alexl@redhat.com>
2465 * gnativevolumemonitor.h:
2466 * gunionvolumemonitor.c:
2467 * gunixvolumemonitor.c:
2468 Add is_supported() to GNativeVolumeMonitorClass so
2469 that we can avoid having to create an object to see
2470 if the backend is supported at runtime.
2471 Also add name member and an env var to pick a specific
2472 volume monitor backend.
2476 Add cancellable to _g_mount_get_for_mount_path()
2478 * glocaldirectorymonitor.c:
2479 * glocalfilemonitor.c:
2480 Avoid loading and unloading modules while sorting.
2482 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2485 * gunixmounts.[hc]: Namespace waste reduction, move some
2486 g_get_unix_mount functions to the g_unix_mount namespace.
2489 * gunixvolumemonitor.c:
2491 * glocaldirectorymonitor.c: Update all callers.
2493 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2495 2007-12-17 Alexander Larsson <alexl@redhat.com>
2498 Add doc comments about what GFile operations are
2499 guaranteed to not block.
2501 2007-12-17 Alexander Larsson <alexl@redhat.com>
2504 Add missing #ifdef fixing OSX build.
2505 (#503334, patch from Richard Hult)
2507 2007-12-14 David Zeuthen <davidz@redhat.com>
2511 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2512 (g_mount_eject), (g_mount_eject_finish):
2514 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2515 (get_volume_for_uuid), (get_mount_for_uuid),
2516 (g_union_volume_monitor_class_init),
2517 (get_default_native_type_with_exclude), (get_default_native_type),
2518 (get_native_type), (update_native_type),
2519 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2520 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2521 (g_unix_mount_can_eject), (eject_unmount_cb),
2522 (eject_unmount_read_error), (eject_unmount_do),
2523 (g_unix_mount_unmount), (g_unix_mount_eject),
2524 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2525 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2526 (g_unix_mount_point_guess_can_eject):
2528 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2529 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2530 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2531 (g_unix_volume_mount), (g_unix_volume_eject),
2532 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2533 * gunixvolumemonitor.c: (get_volume_for_uuid),
2534 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2536 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2537 (g_volume_eject), (g_volume_eject_finish):
2539 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2540 (g_volume_monitor_get_mount_for_uuid):
2543 Provide eject() on both GMount and GVolume and utility functions
2544 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2545 ejected. Introduce the concept of UUID's and wire it into GVolume
2546 and GMount and provide API on GVolumeMonitor to find such
2547 instances. Also handle the case where an external
2548 GNativeVolumeMonitor fails to initialize. Lock around the
2549 _g_get_mount_for_mount_path() function such that volume monitor
2550 implementations won't have to do locking themselves.
2552 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2554 * gdesktopappinfo.c:
2560 * gvolume.h: Documentation updates
2562 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2565 * gfile.h: Doc updates
2567 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2570 * gdesktopappinfo.c: Use hash table iterators.
2572 2007-12-14 Alexander Larsson <alexl@redhat.com>
2575 * gfileattribute.[ch]:
2576 * gfileattribute-priv.h:
2577 Move GFileAttributeValue to a private header, as
2581 Make set_attribute take a type + a pointer instead
2582 of a GFileAttributeValue.
2585 Fix up for above changes.
2586 Add g_file_info_get_attribute_data to get
2587 all info in one call, g_file_info_get_attribute_status
2588 to get the status and g_file_info_get_attribute_as_string.
2592 * glocalfileinfo.[ch]:
2596 Make _guess_type static.
2598 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2601 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2602 made mkenums and friends use temporary files to avoid leaving
2603 empty generated files on failure (#503470).
2605 2007-12-14 Alexander Larsson <alexl@redhat.com>
2607 * gmountoperation.h:
2610 2007-12-14 Alexander Larsson <alexl@redhat.com>
2614 * gfileattribute.[ch]:
2617 * glocalfileoutputstream.c:
2618 * gmountoperation.[ch]:
2619 * goutputstream.[ch]:
2620 Clean up all flags enums to not have _FLAGS in them
2621 Make the names of some of the enums better.
2626 2007-12-14 Michael Natterer <mitch@imendio.com>
2628 * gio.symbols: fix g_io_scheduler symbol names.
2630 2007-12-14 Alexander Larsson <alexl@redhat.com>
2636 * gbufferedinputstream.h:
2637 * gbufferedoutputstream.h:
2640 * gdatainputstream.h:
2641 * gdataoutputstream.h:
2642 * gdesktopappinfo.h:
2643 * gdirectorymonitor.h:
2647 * gfileenumerator.h:
2650 * gfileinputstream.h:
2652 * gfilenamecompleter.h:
2653 * gfileoutputstream.h:
2654 * gfilterinputstream.h:
2655 * gfilteroutputstream.h:
2663 * gmemoryinputstream.h:
2664 * gmemoryoutputstream.h:
2666 * gmountoperation.h:
2669 * gsimpleasyncresult.h:
2671 * gunixinputstream.h:
2673 * gunixoutputstream.h:
2677 * inotify/Makefile.am:
2678 Only allow including <gio/gio.h> from apps
2680 2007-12-14 Alexander Larsson <alexl@redhat.com>
2682 * gioscheduler.[ch]:
2683 * gsimpleasyncresult.c:
2684 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2685 Split out the send_to_mainloop call into two versions instead
2686 of having the block argument.
2688 2007-12-13 Alexander Larsson <alexl@redhat.com>
2690 * gcancellable.[ch]:
2692 * gbufferedinputstream.c:
2693 * gfileenumerator.c:
2694 * gfileinputstream.c:
2695 * gfileoutputstream.c:
2699 g_push/pop_current_cancellable ->
2700 g_cancellable_push/pop_current
2702 2007-12-13 Alexander Larsson <alexl@redhat.com>
2706 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2708 2007-12-13 Alexander Larsson <alexl@redhat.com>
2710 * gmountoperation.h:
2711 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2713 2007-12-12 Alexander Larsson <alexl@redhat.com>
2716 Fix race condition when freeing proxy in
2717 g_io_job_send_to_mainloop().
2719 2007-12-12 Alexander Larsson <alexl@redhat.com>
2725 Make attribute namespace separator "::" instead of ":".
2726 Use - instead of _ as separator in attribute names.
2728 2007-12-12 Alexander Larsson <alexl@redhat.com>
2730 * gbufferedinputstream.h:
2731 * gbufferedoutputstream.h:
2732 * gdatainputstream.h:
2733 * gdataoutputstream.h:
2734 * gdirectorymonitor.h:
2735 * gfileenumerator.h:
2736 * gfileinputstream.h:
2738 * gfileoutputstream.h:
2739 * gfilterinputstream.h:
2740 * gfilteroutputstream.h:
2742 * glocalfileinputstream.h:
2743 * glocalfileoutputstream.h:
2744 * gmemoryinputstream.h:
2745 * gmemoryoutputstream.h:
2746 * gnativevolumemonitor.h:
2748 * gunixinputstream.h:
2749 * gunixoutputstream.h:
2752 s/parent/parent_instance/ in GObjects
2754 2007-12-12 Alexander Larsson <alexl@redhat.com>
2759 No need for padding for interfaces
2761 2007-12-12 Alexander Larsson <alexl@redhat.com>
2765 * gbufferedinputstream.c:
2766 * gbufferedoutputstream.c:
2769 * gdatainputstream.[ch]:
2770 * gdesktopappinfo.c:
2771 * gdirectorymonitor.c:
2773 * gfileattribute.[ch]:
2776 * gfileinputstream.h:
2777 * gfilemonitor.[ch]:
2778 * gfileoutputstream.[ch]:
2779 * gfilterinputstream.h:
2780 * gfilteroutputstream.h:
2783 * gloadableicon.[ch]:
2784 * gmemoryinputstream.c:
2785 * gmountoperation.c:
2787 Fix up a bunch of details in the docs.
2792 2007-12-11 David Zeuthen <davidz@redhat.com>
2794 Rework how volumes, drives and volume monitoring is
2795 done. Previosly the model was
2797 GDrive <1-1> GVolume
2799 where a GDrive instance represented a mount point and a GVolume
2800 instance represented a mounted file system. This patch changes it
2803 GDrive <1-N> GVolume <1-1> GMount
2805 where GMount now serves the purpose of the old GVolume and the new
2806 GVolume serves the purpose of the old GDrive. In addition the new
2807 GDrive interface is used to represent a collection of GVolume
2808 instances (typically partitions) and also contains utility to query
2809 the state of the physical drive the GDrive object represents (such
2810 as checking for media, polling the drive, ejecting the media etc.).
2812 Also implement mounting and unmounting in the Unix volume monitor
2813 backend. A subquent patch will introduce GDrive support for ejection
2817 * gdrive.c: (g_drive_is_media_check_automatic),
2818 (g_drive_is_media_removable), (g_drive_has_media),
2819 (g_drive_can_poll_for_media), (g_drive_eject),
2820 (g_drive_eject_finish), (g_drive_poll_for_media),
2821 (g_drive_poll_for_media_finish):
2823 * gfile.c: (g_file_find_enclosing_mount):
2826 * glocaldirectorymonitor.c:
2827 (g_local_directory_monitor_constructor), (mounts_changed):
2828 * glocalfile.c: (get_mount_info),
2829 (g_local_file_find_enclosing_mount),
2830 (g_local_file_file_iface_init):
2831 * gnativevolumemonitor.h:
2832 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2833 (get_connected_drives), (g_union_volume_monitor_class_init),
2834 (child_volume_added), (child_volume_removed),
2835 (child_volume_changed), (child_mount_added), (child_mount_removed),
2836 (child_mount_pre_unmount), (child_mount_changed),
2837 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2838 (g_union_volume_monitor_remove_monitor),
2839 (_g_mount_get_for_mount_path):
2840 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2841 (guess_system_internal), (_g_get_unix_mounts),
2842 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2843 (g_unix_mount_free), (g_unix_mount_compare),
2844 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2845 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2846 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2847 (type_to_icon), (g_unix_mount_guess_name),
2848 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2849 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2850 (_resolve_symlink), (_resolve_dev_root):
2852 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2853 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2854 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2855 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2856 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2857 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2858 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2859 (g_unix_volume_volume_iface_init):
2861 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2862 (get_mounts), (get_volumes), (get_connected_drives),
2863 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2864 (mountpoints_changed), (mounts_changed),
2865 (g_unix_volume_monitor_init),
2866 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2867 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2868 * gunixvolumemonitor.h:
2869 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2870 (g_volume_mount), (g_volume_mount_finish):
2872 * gvolumemonitor.c: (g_volume_monitor_class_init),
2873 (g_volume_monitor_get_connected_drives),
2874 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2877 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2879 * gmountoperation.h (GPasswordFlags): Close the gap
2881 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2883 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2885 * gdesktopappinfo.[hc]: Remove _-prefixes
2887 2007-12-10 Tor Lillqvist <tml@novell.com>
2889 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2892 2007-12-10 Alexander Larsson <alexl@redhat.com>
2894 * gfile.c (g_file_set_display_name):
2895 Don't hardcode '/' (#502727)
2897 2007-12-09 Hans Breuer <hans@breuer.org>
2899 * makefile.msc : follow lib naming convention
2900 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2901 for user and group name, tested with ../tests/gio-ls
2903 2007-12-09 A. Walton <awalton@svn.gnome.org>
2905 * gdesktopappinfo.c:
2911 * gfileenumerator.c:
2916 * gmemoryinputstream.c:
2917 * gmemoryoutputstream.c:
2919 * gsimpleasyncresult.c:
2920 More documentation cleanup and filling in missing information, bringing
2921 GIO to 99% symbol coverage.
2923 2007-12-08 Hans Breuer <hans@breuer.org>
2925 [gio compiles and links on win32, not sure how much already works]
2926 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2927 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2928 base on win32 API; prefer g_lstat() over lstat(); instead of
2929 localtime_r() use an all GLib implementation on win32;
2930 get_mount_info() still needs a win32 specifc implementation
2931 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2932 win32_get_file_user_info to get owner/group info without uid/gid
2933 * glocalfileinputstream.c : include <io.h> on win32
2934 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2935 definition, use g_win32_ftruncate() for G_OS_WIN32
2936 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2937 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2938 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2939 * makefile.msc : updated
2941 2007-12-07 Alexander Larsson <alexl@redhat.com>
2943 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2944 Avoid warning spew if error == NULL
2946 2007-12-07 Alexander Larsson <alexl@redhat.com>
2949 Update docs wrt etags
2951 2007-12-06 Alexander Larsson <alexl@redhat.com>
2954 Include sys/types.h for dev_t (#501919)
2956 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2960 Make abicheck and pltcheck pass.
2962 2007-12-05 Alexander Larsson <alexl@redhat.com>
2965 * giomodule-priv.h: Added.
2966 * glocaldirectorymonitor.c:
2967 * glocalfilemonitor.c:
2968 * gunionvolumemonitor.c:
2970 Actually add the declaration of _g_io_modules_ensure_loaded
2972 2007-12-05 Alexander Larsson <alexl@redhat.com>
2974 * gdatainputstream.c:
2979 * glocaldirectorymonitor.c:
2980 * glocalfilemonitor.c:
2981 * gunionvolumemonitor.c:
2983 Make g_io_modules_ensure_loaded a private function and
2984 don't pass in the dirname. This means we can do magic
2985 directory finding in the win32 version.
2986 Export the actual load-modules-in-directory code so that
2987 gvfs can reuse that.
2989 2007-12-05 Alexander Larsson <alexl@redhat.com>
2991 * gbufferedinputstream.c:
2992 * gbufferedoutputstream.c:
2995 * gfileenumerator.[ch]:
2996 * gfileinputstream.c:
2997 * gfileoutputstream.[ch]:
2998 * gfilterinputstream.c:
2999 * gfilteroutputstream.c:
3000 * ginputstream.[ch]:
3002 * glocalfileenumerator.c:
3003 * glocalfileinputstream.c:
3004 * glocalfileoutputstream.c:
3005 * gmemoryinputstream.c:
3006 * gmemoryoutputstream.c:
3007 * goutputstream.[ch]:
3010 * gunixinputstream.c:
3011 * gunixoutputstream.c:
3012 Rename all struct members named:
3013 read, write, close, truncate, or mount
3014 to foo_fn, as these are reserved names
3015 and could be defined as macros in libc.
3018 2007-12-04 Alexander Larsson <alexl@redhat.com>
3021 (g_output_stream_close):
3022 Only call flush if non-null.
3024 2007-11-30 Dan Winship <danw@gnome.org>
3026 * ginputstream.c (g_input_stream_set_pending): Make this take a
3027 GError and return a gboolean, and do the "outstanding operation"
3028 check (and the "stream is already closed" check) itself.
3029 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3031 * goutputstream.c (g_output_stream_set_pending)
3032 (g_output_stream_clear_pending): Likewise
3034 * gbufferedinputstream.c:
3035 * gfileinputstream.c:
3036 * gfileoutputstream.c: Update for that
3038 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3039 Like g_simple_async_report_error_in_idle, but takes a GError
3040 rather than building one.
3042 2007-11-30 Dan Winship <danw@gnome.org>
3044 * goutputstream.c: Don't cheat and unset the "pending" flag around
3045 inner calls. Instead, call the class method directly rather than
3046 the wrapper function that checks "pending"
3048 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3050 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3052 2007-12-03 Hans Breuer <hans@breuer.org>
3054 [start of port to win32/msvc]
3055 * gcancellable.c : HAVE_UNIST_H and _pipe()
3056 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3057 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3058 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3060 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3061 * glocalvfs.c : use HAVE_PWD_H
3062 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3063 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3064 * Makefile.am : added to EXTRA_DIST
3066 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3068 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3071 2007-12-03 Alexander Larsson <alexl@redhat.com>
3074 Handle OSX style xattrs API (#500506)
3076 2007-12-03 Alexander Larsson <alexl@redhat.com>
3080 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3082 2007-12-02 A. Walton <awalton@svn.gnome.org>
3086 Documentation accuracy fixes.
3088 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3090 * gioenumtypes.c.template: Fix typo.
3092 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3094 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3096 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3098 * gdirectorymonitor.c:
3099 * gfilemonitor.c: Add properties
3101 * gbufferedoutputstream.c: Don't mark buffer-size property
3104 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3106 * gbufferedoutputstream.c: Add auto-grow property.
3108 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3110 * *.c: Unify the capitalization of section headings.
3112 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3114 * gmountoperation.c: Add properties
3116 * gdatainputstream.c: Turn byte-order and newline-type into
3119 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3121 * gioenumtypes.[hc].template: Templates for enum registration
3123 * Makefile.am: Generate gioenumtypes.[hc]
3125 * gio.h: Include gioenumtypes.h
3127 * gfile.h: Add some explicit nicks.
3129 * gio.symbols: Add new symbols
3131 * pltcheck.sh: Adjust
3133 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3135 * *.c: Explain etags and link to the explanation
3137 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3139 * *.c: Explain I/O priority.
3141 * *.c: More coding style fixes.
3143 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3145 * gasyncresult.c: Add another paragraph to the intro,
3146 adjust coding style of example.
3148 2007-11-29 A. Walton <awalton@svn.gnome.org>
3151 Fixes unknown meaning in GAppLaunchContext docs.
3153 Clarify asynchronous ops.
3155 Fix entity tag docs.
3158 Provides missing gtk-doc section, fixes API docs slighly.
3159 * gsimpleasyncresult.c:
3160 Fill in missing info in docs.
3161 * gunixinputstream.c:
3162 * gunixoutputstream.c:
3163 Be more expressive in short description.
3165 Remove gtk-doc stubs for non-public API.
3167 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3169 * *.c: Coding style fixups
3171 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3173 * inotify/inotify-helper.c: Don't export the lock from libgio.
3175 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3178 * abicheck.sh: Fix copy-and-paste leftovers
3180 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3182 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3184 2007-11-28 Alexander Larsson <alexl@redhat.com>
3188 Removed unnecessary file
3190 * gdesktopappinfo.[ch]:
3193 * glocaldirectorymonitor.[ch]:
3195 * glocalfileenumerator.[ch]:
3196 * glocalfileinputstream.[ch]:
3197 * glocalfilemonitor.[ch]:
3198 * glocalfileoutputstream.[ch]:
3200 * gnativevolumemonitor.c:
3201 * gpollfilemonitor.[ch]:
3202 * gunionvolumemonitor.[ch]:
3205 * gunixvolumemonitor.[ch]:
3208 * inotify/ginotifydirectorymonitor.[ch]:
3209 * inotify/ginotifyfilemonitor.[ch]:
3210 * inotify/inotify-helper.c:
3211 Append _ to all internal functions
3215 Export symbols needed for modules
3217 2007-11-28 Alexander Larsson <alexl@redhat.com>
3220 * abicheck.sh: Added.
3221 * makegioalias.pl: Added.
3222 * pltcheck.sh: Added.
3223 * gio.symbols: Added.
3226 Initial work on adding symbol handling.
3229 Correct ifdef guard name
3232 * inotify/Makefile.am:
3233 * xdgmime/Makefile.am:
3234 Include toplevel Makefile.decl
3236 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3238 * gcontenttype.c: Move doc comments to the unix section.
3240 * *.[hc]: More trivial doc corrections.
3242 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3244 * gpollfilemonitor.c:
3248 * gdesktopappinfo.c:
3253 * gdatainputstream.c:
3254 * gdatainputstream.h:
3255 * gdataoutputstream.c:
3256 * gdataoutputstream.h:
3257 * gfileinfo.h: Doc cleanups
3259 2007-11-28 Andre Klapper <a9016009@gmx.de>
3261 * gdesktopappinfo.c: Fix a typo.
3263 2007-11-27 Andre Klapper <a9016009@gmx.de>
3265 * glocalfileoutputstream.c: Fix a typo.
3267 2007-11-27 Alexander Larsson <alexl@redhat.com>
3270 Don't include removed headers
3272 2007-11-27 Alexander Larsson <alexl@redhat.com>
3275 * gsocketinputstream.[ch]: Removed.
3276 * gsocketoutputstream.[ch]: Removed.
3277 * gunixinputstream.[ch]: Added.
3278 * gunixoutputstream.[ch]: Added.
3279 Renamed GSocket*Stream to GUnix*Stream and made
3280 it unix-only, since its not really only for sockets
3281 and it only works on unix (but is highly useful there).
3283 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3289 * gbufferedinputstream.c:
3290 * gbufferedinputstream.h:
3291 * gbufferedoutputstream.c:
3292 * gbufferedoutputstream.h:
3296 * gdatainputstream.c:
3297 * gdatainputstream.h:
3298 * gdataoutputstream.c:
3299 * gdataoutputstream.h:
3300 * gdirectorymonitor.c:
3301 * gdirectorymonitor.h:
3308 * gfileenumerator.c:
3309 * gfileenumerator.h:
3314 * gfileinputstream.c:
3315 * gfileinputstream.h:
3318 * gfilenamecompleter.c:
3319 * gfilenamecompleter.h:
3320 * gfileoutputstream.c:
3321 * gfileoutputstream.h:
3322 * gfilterinputstream.c:
3323 * gfilterinputstream.h:
3324 * gfilteroutputstream.c:
3325 * gfilteroutputstream.h:
3338 * glocalfileoutputstream.c:
3339 * gmemoryinputstream.c:
3340 * gmemoryinputstream.h:
3341 * gmemoryoutputstream.c:
3342 * gmemoryoutputstream.h:
3343 * gmountoperation.c:
3344 * gmountoperation.h:
3347 * gpollfilemonitor.c:
3350 * gsimpleasyncresult.c:
3351 * gsimpleasyncresult.h:
3352 * gsocketinputstream.c:
3353 * gsocketinputstream.h:
3354 * gsocketoutputstream.c:
3355 * gsocketoutputstream.h:
3362 * gunixvolumemonitor.c:
3371 Bumps documentation to 93% symbol coverage, touching most
3372 of the public files. Fixes broken function documentation prototypes.
3373 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3374 gtk-doc headers in private files.
3376 2007-11-27 Jürg Billeter <j@bitron.ch>
3378 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3379 (g_buffered_input_stream_read_byte):
3380 * gbufferedinputstream.h:
3381 New functions for efficient access to buffer and simple single byte
3384 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3385 (g_data_input_stream_read_until):
3386 * gdatainputstream.h:
3387 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3388 read_until with multiple stop chars.
3390 2007-11-27 Alexander Larsson <alexl@redhat.com>
3394 * inotify/Makefile.am:
3395 Use the user-specified giomoduledir
3397 2007-11-27 Alexander Larsson <alexl@redhat.com>
3401 Add catch-all gio.h header
3402 Don't install gdummyfile.h
3404 2007-11-26 Alexander Larsson <alexl@redhat.com>
3406 * Makefile.am (gioinclude_HEADERS):
3407 Remove trailing whitespace
3409 2007-11-26 Alexander Larsson <alexl@redhat.com>
3411 Merge gio-standalone into glib
3413 2007-11-25 Christian Kellner <gicmo@gnome.org>
3415 * gio/goutputstream.c:
3416 Fix small mistake in the docs.
3418 2007-11-21 Christian Persch <chpe@gnome.org>
3420 * gio/glocalfile.c: (g_local_file_trash):
3421 Convert filenames to UTF-8 for GError.
3422 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3423 as per xdg base dir spec.
3425 2007-11-21 Christian Persch <chpe@gnome.org>
3427 * gio/gdesktopappinfo.c:
3428 Use that g_key_file_to_data cannot fail.
3430 Use stock defines for the key file group and key names.
3433 2007-11-21 Alexander Larsson <alexl@redhat.com>
3436 (copy_stream_with_progress):
3437 Make sure we do a final progress callback with
3438 the full total size.
3440 2007-11-21 Alexander Larsson <alexl@redhat.com>
3443 Export g_file_copy_attributes
3444 Remove padding as its not needed for interfaces
3446 2007-11-20 Alexander Larsson <alexl@redhat.com>
3451 Add G_IO_ERROR_WOULD_MERGE for
3452 copy/move dir on dir with overwrite.
3454 2007-11-20 Alexander Larsson <alexl@redhat.com>
3457 * gio/glocalfileinfo.c:
3458 Add COPY_NAME (this is an optional
3459 non-modified utf8 version of the name) that
3462 2007-11-20 Alexander Larsson <alexl@redhat.com>
3464 * gio/glocalfileenumerator.c:
3465 Report errors as GIOError, not GFileError
3467 2007-11-16 Alexander Larsson <alexl@redhat.com>
3469 * gio/glocalfileoutputstream.c:
3470 * gio/gwin32appinfo.c:
3471 Fix typos in strings.
3472 Patch from Luca Ferretti <elle.uca@libero.it>
3474 2007-11-15 Alexander Larsson <alexl@redhat.com>
3477 Post release version bump
3479 === gio-standalone 0.1.2 ===
3481 2007-11-15 Alexander Larsson <alexl@redhat.com>
3483 * docs/reference/gio/Makefile.am:
3484 Fix up distcheck by removing weird
3490 2007-11-14 Alexander Larsson <alexl@redhat.com>
3492 * gio/gdesktopappinfo.c:
3493 * gio/glocaldirectorymonitor.c:
3495 * gio/glocalfileinfo.c:
3496 * gio/inotify/inotify-sub.c:
3497 * programs/gio-cat.c:
3498 * programs/gio-copy.c:
3499 * programs/gio-info.c:
3500 * programs/gio-ls.c:
3501 * programs/gio-monitor-dir.c:
3502 * programs/gio-monitor-file.c:
3503 * programs/gio-mount.c:
3504 * programs/gio-move.c:
3505 * programs/gio-rm.c:
3506 * programs/gio-save.c:
3507 * programs/gio-trash.c:
3508 Leak fixes from Kjartan Maraas
3510 2007-11-14 Alexander Larsson <alexl@redhat.com>
3512 * gio/fam/fam-helper.c:
3514 * gio/glocalfileinfo.c:
3518 * gio/inotify/inotify-diag.c:
3519 * gio/inotify/inotify-kernel.c:
3520 Various code cleanups from Kjartan Maraas
3522 2007-11-14 Alexander Larsson <alexl@redhat.com>
3524 * gio/gioscheduler.c:
3526 Set up threadpool so that we cache 2 unused
3527 idle threads for at 15 secs. This means we
3528 will reuse thread-local data (like dbus connections)
3531 2007-11-14 Alexander Larsson <alexl@redhat.com>
3533 * gio/fam/fam-helper.c:
3534 * gio/fam/gfamdirectorymonitor.c:
3535 * gio/fam/gfamfilemonitor.c:
3537 * gio/gcontenttype.c:
3538 * gio/gdatainputstream.c:
3539 * gio/gdataoutputstream.c:
3543 * gio/gfileattribute.h:
3544 * gio/gfileenumerator.c:
3546 * gio/ginputstream.c:
3549 * gio/glocalfileinfo.c:
3550 * gio/goutputstream.c:
3551 * gio/gpollfilemonitor.c:
3552 * gio/gsimpleasyncresult.c:
3553 * gio/gunixmounts.c:
3554 * gio/gunixmounts.h:
3555 * gio/inotify/ginotifydirectorymonitor.c:
3556 * gio/inotify/ginotifyfilemonitor.c:
3557 * gio/inotify/inotify-diag.c:
3558 * gio/inotify/inotify-kernel.c:
3559 * gio/inotify/inotify-path.c:
3561 * gio/test-streams.c:
3562 * programs/gio-info.c:
3563 * programs/gio-monitor-dir.c:
3564 * programs/gio-monitor-file.c:
3565 Various code cleanups from Kjartan Maraas
3567 2007-11-13 Alexander Larsson <alexl@redhat.com>
3570 Handle the uri-scheme calls for dummy files
3572 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3574 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3575 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3576 to avoid clash with the C++ keyword.
3578 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3580 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3581 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3583 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3585 * gio/glocaldirectorymonitor.c:
3586 * gio/glocalfilemonitor.c:
3587 * gio/gunionvolumemonitor.c:
3588 Don't use g_once_init_*() for initializations that could fail and
3589 could leave the initialization variable set to 0 but use GOnce.
3590 This prevents a deadlock on the second call when trying to create
3591 a monitor and no monitor type is available. Thanks to Sven Herzberg
3594 2007-11-11 Sven Herzberg <sven@imendio.com>
3596 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3597 #ifdef (make it work on MacOS X again)
3599 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3601 Fixes Changelog for last two commits (sorry guys).
3603 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3605 * gio/gbufferedinputstream.c:
3606 * gio/gdatainputstream.c:
3608 * gio/gfileoutputstream.c:
3609 * gio/gfilterinputstream.c:
3610 * gio/glocalfileinputstream.c:
3613 More consistency fixes in g*stream.c files.
3614 Significant clean of gfile's documentation, filling in of
3615 asynchronous operations documentation.
3617 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3619 * gio/gasyncresult.c:
3620 * gio/gbufferedinputstream.c:
3621 * gio/gbufferedoutputstream.c:
3622 * gio/gcancellable.c:
3623 * gio/gcontenttype.c:
3624 * gio/gdatainputstream.c:
3625 * gio/gdataoutputstream.c:
3626 * gio/gdesktopappinfo.c:
3629 * gio/gfileattribute.c:
3630 * gio/gio/gfileenumerator.c:
3632 * gio/gfileinputstream.c:
3633 * gio/gfilemonitor.c:
3634 * gio/gfileoutputstream.c:
3635 * gio/ginputstream.c:
3637 * gio/gioscheduler.c:
3638 * gio/gloadableicon.c:
3639 * gio/glocalfileoutputstream.c:
3640 * gio/gmemoryoutputstream.c:
3641 * gio/gmountoperation.c:
3642 * gio/goutputstream.c:
3644 * gio/gsimpleasyncresult.c:
3645 * gio/gunionvolumemonitor.c:
3646 * gio/gunixmounts.c:
3647 * gio/gunixvolume.c:
3651 * gio/gvolumemonitor.c:
3652 Updated documentation stubs, working towards consistency and
3655 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3657 * gio/gmemoryoutputstream.c:
3658 * gio/gmemoryoutputstream.h:
3659 Change g_memory_output_stream_set_free_on_close() to
3660 g_memory_output_stream_set_free_data() as this makes more sense and
3661 is more consistent with GMemoryInputStream.
3663 2007-11-07 Alexander Larsson <alexl@redhat.com>
3670 Change how we find the default vfs so that
3671 we can handle a gvfs failing to init
3673 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3675 * gio/gbufferedoutputstream.c:
3676 * gio/gdatainputstream.c:
3677 * gio/gdataoutputstream.c:
3678 * gio/gfileinputstream.c:
3679 * gio/gfileoutputstream.c:
3680 * gio/gfilterinputstream.c:
3681 * gio/gfilteroutputstream.c:
3682 * gio/ginputstream.c:
3683 * gio/gmemoryinputstream.c:
3684 * gio/gmemoryoutputstream.c:
3685 * gio/goutputstream.c:
3686 * gio/gsimpleasyncresult.c:
3687 * gio/gsocketinputstream.c:
3688 * gio/gsocketoutputstream.c:
3689 Add guards to the remaining public functions, add a TODO for
3690 an unimplemented function and remove some useless guards.
3692 2007-11-07 Alexander Larsson <alexl@redhat.com>
3695 Autoconf checks for the various types of
3696 getpwuid_r and getgrgid_r
3698 * gio/glocalfileinfo.c:
3699 Use the autoconf checks from above
3701 2007-11-07 Alexander Larsson <alexl@redhat.com>
3704 (g_local_file_query_filesystem_info):
3705 Some fixes for the statvfs case
3707 2007-11-07 Alexander Larsson <alexl@redhat.com>
3710 (g_local_file_query_filesystem_info):
3711 Pick the "best" of statfs / statvfs for the system
3712 if both are availible.
3714 2007-11-07 Alexander Larsson <alexl@redhat.com>
3716 Solaris fixes from Halton.Huo@Sun.COM:
3723 * gio/glocalfileinfo.c:
3724 Fix for solaris definition of getpwuid_r
3726 * gio/test-streams.c:
3727 Use G_GNUC_PRETTY_FUNCTION
3729 2007-11-07 Alexander Larsson <alexl@redhat.com>
3731 * gio/gdesktopappinfo.c:
3732 (update_default_list):
3733 Remove double semicolon.
3734 Patch from Jens Granseuer
3736 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3738 * docs/reference/gio/gio-sections.txt:
3739 * gio/gbufferedinputstream.c:
3740 * gio/gbufferedinputstream.h:
3741 * gio/gdatainputstream.c:
3742 * gio/gfileenumerator.c:
3743 * gio/gioscheduler.c:
3744 * gio/gunionvolumemonitor.c:
3746 * programs/gio-save.c:
3747 Fix typo: availible -> available. Unfortuntely this breaks API
3748 and ABI as g_buffered_input_stream_get_available() was renamed.
3750 * gio/gunixmounts.c:
3751 * gio/gbufferedinputstream.c:
3752 Add guards for public functions.
3754 2007-11-06 Ross Burton <ross@openedhand.com>
3756 * docs/reference/gio/Makefile.am:
3757 Fix invalid += usage which automake 1.10 doesn't like.
3759 2007-11-06 Alexander Larsson <alexl@redhat.com>
3762 (g_app_launch_context_class_init):
3765 Patch from Ross Burton
3767 2007-11-06 Alexander Larsson <alexl@redhat.com>
3770 Post release version bump
3772 === gio-standalone 0.1.1 ===
3774 2007-11-06 Alexander Larsson <alexl@redhat.com>
3777 Bump version to 0.1.1
3779 * gio/gsimpleasyncresult.c:
3780 (g_simple_async_result_set_from_error):
3781 Remove bogus g_return_if_fail
3783 2007-11-06 Alexander Larsson <alexl@redhat.com>
3786 The name is gio-standalone
3789 Add top src/builddir to includedir
3791 2007-11-06 Alexander Larsson <alexl@redhat.com>
3793 * docs/reference/gio/gio-sections.txt:
3795 * gio/gbufferedinputstream.c:
3796 * gio/gbufferedoutputstream.c:
3797 * gio/gcancellable.c:
3798 * gio/gdatainputstream.h:
3799 * gio/gdataoutputstream.c:
3800 * gio/gdataoutputstream.h:
3801 * gio/gdirectorymonitor.c:
3803 * gio/gfileattribute.c:
3804 * gio/gfileattribute.h:
3805 * gio/gfileenumerator.c:
3806 * gio/gfileenumerator.h:
3809 * gio/gfileinputstream.h:
3810 * gio/gfilemonitor.c:
3811 * gio/gfileoutputstream.h:
3812 * gio/glocalfilemonitor.h:
3813 * gio/glocalfileoutputstream.h:
3814 * gio/gmemoryinputstream.c:
3815 * gio/gmemoryoutputstream.c:
3816 * gio/gmountoperation.c:
3817 * gio/goutputstream.c:
3818 * gio/goutputstream.h:
3820 * gio/gsimpleasyncresult.c:
3821 * gio/gunixmounts.c:
3822 * gio/gunixmounts.h:
3824 * gio/inotify/inotify-helper.c:
3825 Fix gtk-doc warnings
3827 Patch from Ross Burton
3829 2007-11-06 Alexander Larsson <alexl@redhat.com>
3831 * gio/gfilenamecompleter.c:
3832 (g_filename_completer_get_completions):
3835 * gio/gunixvolume.c:
3836 Remove unused function
3838 Patches from Ross Burton
3840 2007-11-06 Alexander Larsson <alexl@redhat.com>
3845 Padding not needed for interfaces
3847 2007-11-06 Alexander Larsson <alexl@redhat.com>
3849 * gio/gfilemonitor.c:
3853 Make giotypes.h an internal file
3856 * gio/gbufferedinputstream.h:
3857 * gio/gbufferedoutputstream.h:
3858 * gio/gcancellable.h:
3859 * gio/gdatainputstream.h:
3860 * gio/gdataoutputstream.h:
3861 * gio/gdirectorymonitor.c:
3862 * gio/gdirectorymonitor.h:
3867 * gio/gfileattribute.h:
3868 * gio/gfileenumerator.h:
3873 * gio/gfilemonitor.c:
3874 * gio/gfilemonitor.h:
3875 * gio/gfilenamecompleter.c:
3876 * gio/gfilenamecompleter.h:
3877 * gio/gfilterinputstream.h:
3878 * gio/gfilteroutputstream.h:
3879 * gio/ginputstream.h:
3880 * gio/gmemoryinputstream.h:
3881 * gio/gmemoryoutputstream.h:
3882 * gio/gmountoperation.c:
3883 * gio/gmountoperation.h:
3884 * gio/gnativevolumemonitor.c:
3885 * gio/goutputstream.h:
3888 * gio/gsimpleasyncresult.c:
3889 * gio/gsimpleasyncresult.h:
3890 * gio/gsocketinputstream.h:
3891 * gio/gsocketoutputstream.h:
3892 * gio/gthemedicon.c:
3893 * gio/gthemedicon.h:
3897 * gio/gvolumemonitor.c:
3898 * gio/gvolumemonitor.h:
3899 Add padding in classes where it seems useful
3900 Don't include giotypes.h from public headers
3901 Move in Class definitions into c file where possible
3906 2007-11-06 Alexander Larsson <alexl@redhat.com>
3908 * docs/reference/gio/gio-docs.xml:
3909 Better structure for API docs
3911 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3914 * gio/gloadableicon.c:
3915 * gio/gsimpleasyncresult.c:
3916 * gio/gthemedicon.c:
3917 Add some more guards to public functions. Only files missing are now
3920 2007-11-06 Alexander Larsson <alexl@redhat.com>
3922 * docs/reference/gio/gio-docs.xml:
3923 Remove old files, add missing ones
3925 2007-11-06 Alexander Larsson <alexl@redhat.com>
3927 * docs/reference/gio/gio-sections.txt:
3930 Hide implementation classes
3932 * gio/gdriveprivate.h:
3933 * gio/gvolumeprivate.h:
3934 Remove non-existing function declarations
3936 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3939 Fix compilation warnings and add guards to the new functions.
3941 * gio/gasyncresult.c:
3943 Add guards to the public functions.
3946 Implement get_path().
3948 2007-11-06 Alexander Larsson <alexl@redhat.com>
3950 * gio/gfilenamecompleter.c:
3951 Make g_filename_completer_get_completions
3952 return char ** instead of GList for
3955 * docs/reference/gio/gio-docs.xml:
3956 * docs/reference/gio/gio-sections.txt:
3958 * gio/gasyncresult.c:
3959 * gio/gbufferedinputstream.c:
3960 * gio/gbufferedoutputstream.c:
3961 * gio/gcancellable.c:
3962 * gio/gcontenttype.c:
3963 * gio/gdatainputstream.c:
3964 * gio/gdataoutputstream.c:
3965 * gio/gdesktopappinfo.c:
3966 * gio/gdirectorymonitor.c:
3970 * gio/gfileattribute.c:
3971 * gio/gfileenumerator.c:
3974 * gio/gfileinputstream.c:
3975 * gio/gfilemonitor.c:
3976 * gio/gfilenamecompleter.c:
3977 * gio/gfilenamecompleter.h:
3978 * gio/gfileoutputstream.c:
3979 * gio/gfilterinputstream.c:
3981 * gio/ginputstream.c:
3983 * gio/gioscheduler.c:
3984 * gio/gloadableicon.c:
3985 * gio/glocaldirectorymonitor.c:
3987 * gio/glocalfileinputstream.c:
3988 * gio/glocalfilemonitor.c:
3989 * gio/glocalfileoutputstream.c:
3991 * gio/gmemoryinputstream.c:
3992 * gio/gmemoryoutputstream.c:
3993 * gio/gmountoperation.c:
3994 * gio/goutputstream.c:
3995 * gio/gpollfilemonitor.c:
3997 * gio/gsimpleasyncresult.c:
3998 * gio/gsocketinputstream.c:
3999 * gio/gsocketoutputstream.c:
4000 * gio/gthemedicon.c:
4001 * gio/gunionvolumemonitor.c:
4003 * gio/gunixmounts.c:
4004 * gio/gunixvolume.c:
4005 * gio/gunixvolumemonitor.c:
4009 * gio/gvolumemonitor.c:
4010 * gio/gwin32appinfo.c:
4011 Add (mostly stub) doc strings to public functions.
4012 Patch from Andrew Walton (awalton@gmail.com)
4014 2007-11-06 Alexander Larsson <alexl@redhat.com>
4016 * gio/gappinfo.[ch]:
4017 Added GAppLaunchContext object and pass that to launch.
4018 This allows simple implementation of both
4019 launch-on-screen and startup notification via a gtk+
4020 subclass of GAppLaunchContext
4022 * gio/gdesktopappinfo.c:
4023 Implement GAppLaunchContext API
4025 * gio/gwin32appinfo.c:
4028 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4030 * gio/gmountoperation.c:
4031 Add some guards to GMountOperation's public functions.
4033 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4037 * gio/gcancellable.c:
4038 * gio/gdirectorymonitor.c:
4040 * gio/gfileenumerator.c:
4041 * gio/gfilemonitor.c:,
4042 * gio/gfilenamecompleter.c:
4045 * gio/gioscheduler.c:
4049 * gio/gvolumemonitor.c:
4050 Add even more guards to various public functions.
4052 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4055 Add guards to the public functions of GAppInfo.
4057 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4059 * gio/gcontenttype.c:
4060 Add some more guards for public functions.
4062 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4064 * gio/fam/fam-module.c:
4065 * gio/fam/gfamdirectorymonitor.c:
4066 * gio/fam/gfamdirectorymonitor.h:
4067 * gio/fam/gfamfilemonitor.c:
4068 * gio/fam/gfamfilemonitor.h:
4069 * gio/inotify/ginotifydirectorymonitor.c:
4070 * gio/inotify/ginotifydirectorymonitor.h:
4071 * gio/inotify/ginotifyfilemonitor.c:
4072 * gio/inotify/ginotifyfilemonitor.h:
4073 Add proper copyright information and remove an unused variable
4074 in the GInotifyFileMonitor constructor.
4076 * gio/gcancellable.c:
4077 Add a guard for a public function and an assertion to prevent
4078 an undefined program state.
4080 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4082 * gio/gfileattribute.c:
4083 Don't run into an assertion if the given attribute value is NULL
4084 in g_file_attribute_value_get_*() but instead return a fallback
4085 value that makes sense in most situations. Passing them a attribute
4086 value with the wrong type will still run into an assertion.
4088 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4090 * gio/gfileattribute.c:
4092 Add even more guards to the public functions. Also fix the refcounting
4093 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4094 let g_file_info_list_attributes() filter the attributes by namespace
4095 instead of simply ignoring the namespace parameter.
4097 2007-11-03 Sven Herzberg <sven@imendio.com>
4099 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4100 (This makes gio work on MacOS X again)
4102 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4105 Build the gio subdirectory before the docs. Otherwise the build will
4108 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4109 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4110 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4111 Add guards to the public functions.
4113 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4115 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4116 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4117 to prevent a compiler warning.
4119 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4120 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4121 return something in the non-void function find_topdir_for().
4123 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4130 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4132 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4133 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4134 * gwin32appinfo.c (g_win32_app_info_launch):
4135 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4136 envp_for_startup_id, g_desktop_app_info_launch,
4137 g_desktop_app_info_launch_uris):
4139 Give an opaque 'startup_id' string instead of 'envp'.
4140 Support empty file lists for launching new windows.
4141 Fix infinite recursion bug when launching URIs.
4143 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4146 Add guard to the new g_file_get_uri_scheme() function.
4148 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4151 Convert a g_return_val_if_fail() to setting the GError instead as
4152 otherwise applications have to verify the parameter before otherwise
4153 and the parameter might come directly from the user.
4155 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4157 * gio/inotify/ginotify*.[ch]:
4158 Add missing copyright information.
4160 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4163 Add guards in the beginning of public functions to check for valid
4164 parameters and fix a bug in copy_stream_with_progress() that could've
4165 caused writing less bytes than reading.
4166 * gio/glocalfileinfo.c:
4167 Check for a NULL parameter and set the GError accordingly then.
4168 * gio/goutputstream.c:
4169 Fix the same bug as in gfile.c that could've caused writing less bytes
4170 than reading in g_output_stream_real_splice().
4172 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4175 Use the correct gvolumeprivate.h naming
4177 2007-11-01 Christian Kellner <gicmo@gnome.org>
4180 Remove leftover "$(daemon_sources)" entry.
4182 2007-11-01 Christian Kellner <gicmo@gnome.org>
4187 Add copyright information to source files.
4189 2007-11-01 Alexander Larsson <alexl@redhat.com>
4193 Add g_file_get_uri_scheme
4195 2007-11-01 Alexander Larsson <alexl@redhat.com>
4198 * gio/gdesktopappinfo.c:
4199 * gio/gwin32appinfo.c:
4200 Add g_app_info_get_default_for_uri_scheme.
4202 2007-11-01 Alexander Larsson <alexl@redhat.com>
4205 Correct filename for gdriveprivate.h
4207 2007-10-31 Alexander Larsson <alexl@redhat.com>
4210 Rename id:value to id:file
4213 * gio/glocalfileinfo.c:
4216 2007-10-31 Alexander Larsson <alexl@redhat.com>
4218 * gio/gunixvolume.c:
4220 Remove g_volume_get_platform_id, as thats not
4221 needed with the simpler union volume monitor
4223 2007-10-31 Alexander Larsson <alexl@redhat.com>
4226 * gio/guniondrive.[ch]: Removed.
4227 * gio/gunionvolume.[ch]: Removed.
4228 Remove GUnionDrive/Volume
4230 * gio/gunionvolumemonitor.c:
4231 Simplify union volume monitor, now we
4232 only have one native volume monitor and
4233 we use the actual volumes/drives from the
4234 child monitors instead of wrapping them
4236 * gio/gnativevolumemonitor.[ch]:
4237 Base class for native volume monitors.
4238 Includes priority and get_volume_for_mountpoint
4241 Add g_file_find_enclosing_volume
4244 Remove volume name fs attribute
4245 Add readonly fs attribute
4248 Implement readonly attribute
4249 remove volume name attribute
4250 Implement find_enclosing volume
4252 * gio/gunixmounts.c:
4253 Add a volume for "/".
4255 * gio/gunixvolume.[ch]:
4256 Set better name for /
4258 * gio/gunixvolumemonitor.[ch]:
4259 Derive from GNativeVolumeMonitor
4260 Implement get_volume_for_mountpoint
4263 GVolume typedef moved to gfile.h
4265 * gio/gvolumeprivate.h:
4266 Add g_volume_get_for_mount_path
4268 2007-10-31 Alexander Larsson <alexl@redhat.com>
4270 * gio/gunixmounts.[ch]:
4271 Add cache info to unix mount listers
4272 Make getmntent use threadsafe
4273 Add is_system_internal attribute for GUnixMount
4275 * gio/gunixvolume.c:
4276 (g_unix_volume_new):
4277 Use is_system_internal instead of own code
4279 * gio/glocaldirectorymonitor.c:
4280 * gio/gunixvolumemonitor.c:
4281 Update to new gunixmounts API
4286 2007-10-30 Alexander Larsson <alexl@redhat.com>
4289 Add volume name fsinfo attribute
4292 Read volume name info
4294 * gio/gunionvolumemonitor.c:
4295 Fix infinite loops when finalizing a union volume monitor
4297 2007-10-30 Alexander Larsson <alexl@redhat.com>
4299 * gio/goutputstream.[ch]:
4300 Add splice() with default implementation
4302 * gio/gsocketoutputstream.c:
4303 (g_socket_output_stream_write):
4304 Return error on cancellation correctly.
4306 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4308 * gio/glocalfile.c (g_local_file_trash):
4309 Do not leak a string.
4311 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4313 * gio/gfile.c (g_file_load_contents):
4314 Unref the stream after closing it.
4316 2007-10-25 Alexander Larsson <alexl@redhat.com>
4318 * gio/gioscheduler.h:
4321 2007-10-25 Alexander Larsson <alexl@redhat.com>
4325 Add g_file_has_uri_scheme and implement for local files
4327 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4329 * gio/gdesktopappinfo.c: do not leak a string.
4331 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4333 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4334 (g_local_directory_monitor_new):
4335 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4336 (g_local_file_monitor_new):
4337 Only look for the monitor type that should be used the first time
4338 and use g_qsort_with_data() instead of our own bubble sort
4341 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4344 * gio/fam/Makefile.am:
4345 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4346 * gio/fam/fam-helper.h:
4347 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4348 * gio/fam/gfamdirectorymonitor.c:
4349 * gio/fam/gfamdirectorymonitor.h:
4350 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4351 * gio/fam/gfamfilemonitor.h:
4352 * gio/glocaldirectorymonitor.c:
4353 * gio/glocaldirectorymonitor.h:
4354 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4355 * gio/glocalfilemonitor.h:
4356 * gio/inotify/Makefile.am:
4357 * gio/inotify/ginotifydirectorymonitor.c:
4358 * gio/inotify/ginotifydirectorymonitor.h:
4359 * gio/inotify/ginotifyfilemonitor.c:
4360 * gio/inotify/ginotifyfilemonitor.h:
4361 Implement the FAM and Inotify monitors as
4362 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4363 their own GIO module. GLocal(Directory|File)Monitor will use the
4364 monitor with the highest rank that is supported on that machine.
4366 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4369 Change GIO module dir to $(libdir)/gio/modules and change
4370 the log domain from GVFS to GIO. Also only export symbols starting
4371 with g_ in the resulting library.
4372 * gio/test-streams.c: (main):
4373 Set log handler for the GIO log domain.
4375 2007-10-22 Alexander Larsson <alexl@redhat.com>
4377 * gio/gfilenamecompleter.[ch]:
4378 Add g_filename_completer_set_dirs_only
4380 2007-10-22 Alexander Larsson <alexl@redhat.com>
4383 * gio/gurifuncs.[ch]:
4384 Add some simple URI helpers
4386 * gio/gfilenamecompleter.[ch]:
4387 Added object for filename (parse name actually) completion
4390 Handle ~ in parse names
4392 2007-10-17 Alexander Larsson <alexl@redhat.com>
4395 * gio/glocalfileinfo.c:
4396 Add and implement id:value attribute
4398 2007-10-17 Alexander Larsson <alexl@redhat.com>
4401 * gio/guniondrive.c:
4403 Add and implement g_drive_has_volumes
4405 2007-10-17 Alexander Larsson <alexl@redhat.com>
4408 * gio/glocalfileinfo.[ch]:
4409 Add unix:is_mountpoint and implement for local files
4411 2007-10-16 Alexander Larsson <alexl@redhat.com>
4413 * gio/gunionvolumemonitor.c:
4414 (g_union_volume_monitor_init):
4415 Fix up the unix type getting so that it works with gcc
4417 2007-10-12 Alexander Larsson <alexl@redhat.com>
4420 * gio/glocalfileinfo.c:
4421 Add thumbnail:failed to file info
4423 2007-10-12 Richard Hult <richard@imendio.com>
4425 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4426 optimizing away the get_type call (happens with some gcc versions,
4427 like the one shipped with OS X 10.4).
4429 2007-10-12 Alexander Larsson <alexl@redhat.com>
4431 * gio/glocalfileinfo.c:
4432 (_g_local_file_info_set_attribute):
4433 Fix build if not HAVE_XATTR
4434 Patch from Milosz Derezynski <internalerror@gmail.com>
4436 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4438 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4439 around for review, otherwise I would have asked you before
4442 2007-10-11 Alexander Larsson <alexl@redhat.com>
4445 Add thumbnail:path attribute
4447 * gio/glocalfileinfo.c:
4448 Implement thumbnail:path for local files
4450 2007-10-11 Alexander Larsson <alexl@redhat.com>
4452 * gio/glocalfileinfo.c:
4453 (_g_local_file_info_get):
4454 Avoid duplicate icon names
4456 2007-10-11 Alexander Larsson <alexl@redhat.com>
4458 * gio/gthemedicon.[ch]:
4459 Change g_themed_icon_get_names return type to const
4461 2007-10-10 Alexander Larsson <alexl@redhat.com>
4463 * gio/glocalfileinfo.c:
4464 Don't reference freed memory
4466 2007-10-10 Alexander Larsson <alexl@redhat.com>
4468 * gio/gfileattribute.c:
4471 * gio/glocalfileinfo.c:
4474 2007-10-10 Alexander Larsson <alexl@redhat.com>
4477 Check for NULL icons
4479 * gio/gfileattribute.c:
4480 Don't dup when getting objects (same as for string attributes)
4482 * gio/gicon.c (g_icon_equal):
4483 Safely handle NULLs in equal
4485 2007-10-10 Alexander Larsson <alexl@redhat.com>
4488 Fix c++ compilation issues
4489 Patch from Milosz Derezynski <internalerror@gmail.com>
4491 2007-10-10 Alexander Larsson <alexl@redhat.com>
4493 * programs/gio-monitor-dir.c:
4494 Don't crash if dir monitor not supported.
4496 2007-10-09 Alexander Larsson <alexl@redhat.com>
4499 Add missing G_END_DECLS
4501 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4503 * gio/gfile.c: (g_file_set_display_name),
4504 (g_file_query_settable_attributes),
4505 (g_file_query_writable_namespaces):
4506 Return NULL not FALSE on errors as the return type is a pointer.
4508 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4510 * gio/glocalfile.c: (g_local_file_monitor_file):
4511 Don't call monitor_file on the default interface vtable (which
4512 is NULL) but simply return NULL. The caller, GFile, will create a
4513 polling monitor if NULL is returned.
4515 2007-10-09 Alexander Larsson <alexl@redhat.com>
4519 * gio-unix-2.0.pc.in:
4520 Add gio-unix-2.0.pc if OS_UNIX
4523 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4525 2007-10-09 Alexander Larsson <alexl@redhat.com>
4527 * gio/gunixmounts.[ch]:
4528 Make unix mount monitoring API sane.
4529 Now its just a object with mounts_changed
4530 and mountpoints_changed signals.
4532 * gio/glocaldirectorymonitor.c:
4533 * gio/gunixvolumemonitor.c:
4534 Use new mount monitor api
4536 2007-10-09 Alexander Larsson <alexl@redhat.com>
4538 * gio/gunixmounts.[ch]:
4539 Move guess type into one call for mounts and one for mountpoints
4542 * gio/gunixvolume.c:
4545 2007-10-09 Alexander Larsson <alexl@redhat.com>
4547 * gio/gunixmounts.[ch]:
4548 Remove _ prefix in preparation to make this semi-public
4549 Hide implementation of structs
4551 * gio/glocaldirectorymonitor.c:
4553 * gio/gunixvolume.c:
4554 * gio/gunixvolumemonitor.c:
4555 Update for above API changes
4557 2007-10-08 Alexander Larsson <alexl@redhat.com>
4560 Better polling fallback. This also handles the case where we have
4561 a monitor_file implementation, but it fails.
4563 2007-10-08 Alexander Larsson <alexl@redhat.com>
4567 * gio/gunixmounts.c:
4568 * programs/gio-monitor-dir.c:
4569 * programs/gio-monitor-file.c:
4570 Added cancellable to file monitoring calls.
4571 These are really sync calls and need this.
4573 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4575 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4576 (g_local_vfs_class_init):
4577 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4578 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4580 2007-10-05 Alexander Larsson <alexl@redhat.com>
4582 * gio/gdirectorymonitorprivate.h:
4583 * gio/gfilemonitorprivate.h:
4584 * gio/gdirectorymonitor.h:
4585 * gio/gfilemonitor.h:
4586 Remove *private.h and move to the public API, so that
4587 we can do implementations outside gio (such as in gvfs)
4589 * gio/gdirectorymonitor.c:
4590 * gio/gfilemonitor.c:
4591 * gio/glocaldirectorymonitor.c:
4592 * gio/gpollfilemonitor.c:
4593 * gio/inotify/inotify-helper.c:
4594 * gio/fam/fam-helper.c:
4595 Update to the new header names
4597 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4599 * gio/gdirectorymonitor.c:
4600 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4603 2007-10-04 Alexander Larsson <alexl@redhat.com>
4605 * gio/glocalfileinfo.c (get_access_rights):
4606 Set CAN_TRASH when we can move the file.
4607 We should really also check for a parent trash dir.
4609 2007-10-04 Alexander Larsson <alexl@redhat.com>
4611 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4612 Add can_trash access attribute
4614 2007-10-04 Alexander Larsson <alexl@redhat.com>
4617 (g_local_file_trash):
4618 Create info file first. This is per-spec and allows
4619 us to actually trash directories.
4621 2007-10-02 Alexander Larsson <alexl@redhat.com>
4623 * gio/gdesktopappinfo.c:
4624 Implement the new mime support code.
4625 Always set app as handling mimetype when being set as default for it
4627 2007-10-01 Alexander Larsson <alexl@redhat.com>
4629 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4630 Fix up check for xattrs:
4632 2007-10-01 Alexander Larsson <alexl@redhat.com>
4635 (g_app_info_set_as_default_for_extension):
4636 (g_app_info_add_supports_type):
4637 (g_app_info_can_remove_supports_type):
4638 (g_app_info_remove_supports_type):
4639 Make these fail nicely if not implemented
4641 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4643 * gio/glocalfileoutputstream.c:
4644 * gio/glocalfileoutputstream.h:
4649 * programs/gio-save.c:
4650 Add a GFileCreateFlags argument to operations that can create
4653 2007-10-01 Alexander Larsson <alexl@redhat.com>
4655 * gio/gappinfo.[ch]:
4656 * gio/gdesktopappinfo.c:
4657 Add more (stubbed out) mime API needed for nautilus
4659 2007-10-01 Alexander Larsson <alexl@redhat.com>
4662 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4663 Add g_app_info_set_as_default_for_extension.
4665 * gio/gdesktopappinfo.c:
4666 Dummy for g_app_info_set_as_default_for_extension
4667 Support flags in g_app_info_create_from_commandline
4669 * gio/gwin32appinfo.c:
4671 Update for API changes
4673 * gio/gthemedicon.c:
4674 Properly NULL-terminate list of icon names
4676 2007-09-28 Alexander Larsson <alexl@redhat.com>
4678 * gio/gloadableicon.h:
4679 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4681 2007-09-28 Alexander Larsson <alexl@redhat.com>
4684 Install headers in $includedir/gio-standalone/
4686 * gio-2.0.pc.in: Added.
4687 * gio-standalone.pc.in: Removed.
4690 Renamed pkg-config file to match glib (for future move)
4691 Update to the new include dir
4694 Add more TODO comments
4696 2007-09-28 Alexander Larsson <alexl@redhat.com>
4698 * gio/gdesktopappinfo.[ch]:
4699 Expose new_from_filename
4700 Add getter for is_hidden and handle it better
4702 2007-09-28 Alexander Larsson <alexl@redhat.com>
4704 * gio/gfileinfo.[ch]:
4705 Rename g_file_size_format_for_display to
4706 g_format_file_size_for_display.
4707 Now it doesn't have the g_file prefix, so we
4708 can later move it to glib.
4710 2007-09-28 Alexander Larsson <alexl@redhat.com>
4712 * gio/gappinfo.[ch]:
4713 Add g_app_info_get_id and g_app_info_get_executable.
4714 Make all getters non-reffing
4715 Make g_app_info_launch take GFile arguments.
4716 Add must_support_uris argument to g_app_info_get_default_for_type.
4718 * gio/gwin32appinfo.c:
4719 Update to GAppInfo api changes
4721 * gio/gdesktopappinfo.c:
4722 Update to GAppInfo api changes
4723 Implement supports_xdg_startup_notify
4725 * gio/gfileicon.c (g_file_icon_get_file):
4726 Make getter non-reffing.
4731 2007-09-27 Alexander Larsson <alexl@redhat.com>
4733 * gio/gfileinfo.[ch]:
4734 Add g_file_size_format_for_display helper
4736 2007-09-27 Alexander Larsson <alexl@redhat.com>
4738 * gio/glocalfileinfo.c:
4739 Set UNIX_GID from gid, not from uid
4741 2007-09-27 Alexander Larsson <alexl@redhat.com>
4744 Add g_file_set_attributes_async
4746 2007-09-27 Alexander Larsson <alexl@redhat.com>
4748 * gio/glocalfile.c (g_local_file_set_display_name):
4749 Fix set_display_name to actually rename to the right place.
4750 Use lstat to look for existing files so we don't overwrite
4753 2007-09-26 Alexander Larsson <alexl@redhat.com>
4756 Add g_file_set_display_name_async()
4758 2007-09-26 Alexander Larsson <alexl@redhat.com>
4761 Add load_partial_contents async calls
4764 Make internal function static
4766 2007-09-26 Alexander Larsson <alexl@redhat.com>
4768 * gio/glocalfileinfo.c:
4769 Correctly detect broken symlinks
4771 2007-09-26 Alexander Larsson <alexl@redhat.com>
4773 * gio/gcancellable.c (g_cancellable_cancel):
4774 Allow cancel on NULL cancellable
4776 2007-09-25 Alexander Larsson <alexl@redhat.com>
4778 * gio/gsimpleasyncresult.c:
4779 Don't allocate g_error manually.
4780 Fixes g_slice/g_new mixup crash
4782 2007-09-25 Alexander Larsson <alexl@redhat.com>
4784 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4785 Actually set active_backend.
4786 This means the monitor will be cancelled correctly.
4788 2007-09-25 Alexander Larsson <alexl@redhat.com>
4790 * gio/gdirectorymonitor.c:
4791 Set timeout to NULL when destroying
4793 2007-09-25 Alexander Larsson <alexl@redhat.com>
4796 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4797 that is a better description of the error.
4799 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4801 * gio/gvfs.c: (g_vfs_get_local):
4802 Make the local vfs variable static. The same instance should
4805 2007-09-24 Alexander Larsson <alexl@redhat.com>
4807 * gio/glocalfileinfo.c:
4808 Pass in actual length read into sniffer, not the length
4811 2007-09-21 Alexander Larsson <alexl@redhat.com>
4813 * gio/gfileenumerator.c:
4816 * gio/gfileinputstream.c:
4817 * gio/gfileoutputstream.c:
4818 * gio/ginputstream.c:
4819 * gio/goutputstream.c:
4820 Don't crash if async callbacks are NULL
4822 2007-09-20 Alexander Larsson <alexl@redhat.com>
4825 Add async enumerate_children method and default
4828 2007-09-20 Alexander Larsson <alexl@redhat.com>
4831 Add g_file_contains_file & g_file_get_relative_path, since they
4832 were needed for nautilus.
4833 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4838 Implement new methods
4840 2007-09-17 Alexander Larsson <alexl@redhat.com>
4843 * gio/gfileinputstream.[ch]:
4844 * gio/gfileoutputstream.[ch]:
4846 * gio/glocalfileenumerator.[ch]:
4847 * gio/glocalfileinfo.[ch]:
4848 * gio/glocalfileinputstream.c:
4849 * gio/glocalfileoutputstream.c:
4850 * gio/gpollfilemonitor.c:
4851 * programs/gio-copy.c:
4852 * programs/gio-info.c:
4853 * programs/gio-move.c:
4854 Rename get_file_info to query_info() to make it clearer
4855 that these are not simple getters, but do i/o.
4857 2007-09-17 Alexander Larsson <alexl@redhat.com>
4859 * gio/gdatainputstream.[ch]:
4860 * gio/test-streams.c:
4861 Use _read_XXX instead of _get_XXX for the i/o calls
4864 2007-09-17 Alexander Larsson <alexl@redhat.com>
4867 Added needed stuff to TODO comment
4869 2007-09-17 Alexander Larsson <alexl@redhat.com>
4871 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4872 Don't error out removing the backup copy if it doesn't
4875 2007-09-14 Alexander Larsson <alexl@redhat.com>
4877 * programs/Makefile.am:
4878 * programs/gvfs-*.c:
4880 Renamed apps from gvfs-xxx to gio-xxx.
4882 2007-09-14 Alexander Larsson <alexl@redhat.com>
4885 * gio/gfileoutputstream.[ch]:
4886 * gio/glocalfileoutputstream.c:
4887 * programs/gvfs-save.c:
4888 g_file_output_stream_get_etag doesn't do i/o, so remove
4889 cancellation and error.
4891 2007-09-14 Alexander Larsson <alexl@redhat.com>
4894 Add new_etag output to replace_contents functions
4896 2007-09-14 Alexander Larsson <alexl@redhat.com>
4898 * gio/gfileoutputstream.[ch]:
4899 Add async get_file_info and default implementation
4901 2007-09-14 Alexander Larsson <alexl@redhat.com>
4903 * gio/gfileinputstream.c:
4904 Implement fallback wrapper for async get_file_info
4906 2007-09-14 Alexander Larsson <alexl@redhat.com>
4909 Add etag out argument to load_contents
4914 2007-09-14 Alexander Larsson <alexl@redhat.com>
4916 * gio/gcontenttype.c (looks_like_text):
4917 Whitespace like tab, cr and lf do not make the
4920 2007-09-14 Alexander Larsson <alexl@redhat.com>
4922 * gio/gfileinputstream.[ch]:
4923 Add async get_file_info.
4925 2007-09-13 Alexander Larsson <alexl@redhat.com>
4927 * gio/goutputstream.c (g_output_stream_write_all):
4928 Allow NULL for bytes_written
4930 2007-09-13 Alexander Larsson <alexl@redhat.com>
4932 * gio/gmemoryinputstream.[ch]:
4933 Add accessors for data
4935 2007-09-13 Alexander Larsson <alexl@redhat.com>
4937 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4938 Don't crash if length is NULL