1 2008-09-02 Matthias Clasen <mclasen@redhat.com>
3 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
5 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
6 nonexisting return values. Pointed out by Cosimo Cecchi.
8 2008-08-23 Tor Lillqvist <tml@novell.com>
10 Bug 548988 - g_file_replace fails on Windows when the target file
13 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
14 Windows, close the file before potentially renaming it (in case we
15 have been writing to a file with a temporary name).
17 (g_local_file_output_stream_close, handle_overwrite_open): Use
18 GLocalFileStat instead of plain struct stat, for passing to
19 _g_local_file_info_create_etag(). Thus also use _fstati64()
20 instead of plain fstat() on Windows.
22 2008-08-18 Matthias Clasen <mclasen@redhat.com>
24 * === Released 2.17.7 ===
26 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
28 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
31 2008-08-13 Tor Lillqvist <tml@novell.com>
35 * win32/gwinhttpfile.c
36 * win32/gwinhttpfileinputstream.c
37 * win32/gwinhttpfileoutputstream.c: Refactor some common code
38 snippets into helper functions. Check HTTP response status
39 codes. Implement g_winhttp_file_query_info(), looking at
40 Content-Length, Content-Type and Last-Modified.
42 * win32/winhttp.h: Add some symbolic constants that are not
43 publicly documented. Just a handful, so it should be OK to use
44 information from the Windows SDK's headers.
46 2008-08-13 Tor Lillqvist <tml@novell.com>
48 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
51 * win32/gwin32directorymonitor.c
52 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
54 2008-08-13 Matthias Clasen <mclasen@redhat.com>
57 * goutputstream.c: Add intro docs.
59 2008-08-13 Tor Lillqvist <tml@novell.com>
61 * win32/gwinhttpfileoutputstream.c
62 (g_winhttp_file_output_stream_write): Don't write the
63 Content-Length header ourselves, WinHttpSendRequest() takes care
64 of that when the dwTotalLength parameter is non-zero. Increment
65 offset by the number of actual bytes sent, although I wonder if
66 such a scenario is possible where less than requested would be
67 sent and accepted by the server without errors.
69 2008-08-13 Tor Lillqvist <tml@novell.com>
73 * win32/gwinhttpfile.c
74 * win32/gwinhttpfile.h
75 * win32/gwinhttpfileinputstream.c
76 * win32/gwinhttpfileinputstream.h
77 * win32/gwinhttpfileoutputstream.c
78 * win32/gwinhttpfileoutputstream.h: New files implementing
79 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
80 Windows. The implementation uses the WinHttp API. Both reading and
81 writing are supported, i.e. GET and PUT requests. When writing,
82 each write call is done using a separate PUT request with a
83 Content-Range header. Requests for file URIs and plain pathnames
84 are forwarded to GLocalVfs.
86 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
87 WINE. Used as there is no <winhttp.h> bundled with mingw, and
88 requiring people to download the Windows SDK just for this one
89 header is not reasonable.
91 * win32/Makefile.am: Add above files.
93 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
94 the plumbing for the above.
96 2008-08-11 Sven Neumann <sven@gimp.org>
98 * gfilenamecompleter.c
99 * glocaldirectorymonitor.c
101 * gunionvolumemonitor.c
105 * gunixvolumemonitor.c
108 * gwin32volumemonitor.c: use canonical signal names.
110 2008-08-11 Tor Lillqvist <tml@novell.com>
112 * Makefile.am: Put a list of the platform-dependent .la files in
113 the subdirectories in the platform_deps Make variable, and make
114 libgio-2.0.la depend on that, so that it gets relinked if one of
115 the dependent libraries has changed.
117 2008-08-11 Tor Lillqvist <tml@novell.com>
119 * Makefile.am (platform_libadd): Remove -lwininet which had been
120 added by mistake. We will probably eventually be using WinHTTP,
121 not the older WinInet anyway. (Actually I am working on it.)
123 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
125 Bug 547080 – g_file_copy leaks expected errors
127 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
128 before trying the next fallback routine.
130 2008-08-09 Loïc Minier <lool@dooz.org>
132 Bug 535124 – umask 002 not being applied for new directories, new
133 files get the correct umask
135 * gfile.c (g_file_make_directory)
136 (g_file_make_directory_with_parents): Document ownership and
137 permissions of newly created directories as being the default
140 2008-08-08 Loïc Minier <lool@dooz.org>
142 Bug 535124 – umask 002 not being applied for new directories, new
143 files get the correct umask
145 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
148 2008-08-08 Tor Lillqvist <tml@novell.com>
150 * gwin32mount.c: Remove unused code. Whitespace cleanup.
152 * gwin32volumemonitor.c (get_connected_drives): Put questionable
153 code that didn't actually do anything inside #if 0, and add a
154 comment wondering what the code was supposed to do. This also gets
155 rid of a leftover debugging printout.
157 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
159 * gfileicon.c (g_file_icon_get_property)
160 (g_file_icon_set_property): New functions.
161 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
163 (g_file_icon_new): Use the property (bug #546132).
165 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
167 * gthemedicon.c (g_themed_icon_get_property): Also handle
168 `PROP_USE_DEFAULT_FALLBACKS'.
169 (g_themed_icon_class_init): Make
170 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
172 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
174 Bug 546371 – Improve docs re g_file_monitor
176 * gfilemonitor.c: Mention g_file_monitor() in the docs.
178 2008-08-04 Matthias Clasen <mclasen@redhat.com>
180 * === Released 2.17.6 ===
182 2008-08-04 Matthias Clasen <mclasen@redhat.com>
184 * === Released 2.17.5 ===
186 2008-08-04 Matthias Clasen <mclasen@redhat.com>
188 Bug 546017 – Don't copy attributes when copying a symlink
190 * gfile.c (g_file_copy_attributes): Specify
191 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
192 g_file_set_attributes_from_info. Patch by Christian Kellner
194 2008-08-04 Matthias Clasen <mclasen@redhat.com>
196 * gemblemedicon.[hc]:
198 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
199 a bit more extensible. Work by Clemens Buss.
201 * gioenums.h: Add GEmblemOrigin.
204 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
206 Bug 546079 – leak in xdgmime
208 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
210 2008-08-03 Tor Lillqvist <tml@novell.com>
212 * win32/gwin32directorymonitor.h
213 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
216 2008-08-03 Tor Lillqvist <tml@novell.com>
218 * win32/gwin32directorymonitor.c
219 (g_win32_directory_monitor_callback): Make prototype match
220 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
221 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
224 (g_win32_directory_monitor_constructor):
225 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
226 names in the GLib API on Windows, so convert to UTF-16 and open
229 2008-08-03 Tor Lillqvist <tml@novell.com>
231 Bug 541036 - Gnumeric crashes when trying to open Desktop or
232 user's folder under Windows
234 * win32/gwin32directorymonitor.c
235 (g_win32_directory_monitor_constructor): Ignore error from
236 CreateFile() when opening directory. Instead of asserting, just
237 store INVALID_HANDLE_VALUE then in
238 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
239 ReadDirectoryChangesW().
240 (g_win32_directory_monitor_cancel): Don't attempt to close
241 directory handle if it is INVALID_HANDLE_VALUE.
243 2008-08-01 Matthias Clasen <mclasen@redhat.com>
245 * gdesktopappinfo.c: Remove debug spew
247 2008-08-01 Hans Breuer <hans@breuer.org>
249 * makefile.msc : add gemblembedicon
251 2008-07-30 Matthias Clasen <mclasen@redhat.com>
253 Bug 545457 – gdmsetup crashed with SIGSEGV in
254 g_unix_mount_guess_should_display()
256 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
257 crash if no mount is found.
259 2008-07-28 Matthias Clasen <mclasen@redhat.com>
261 Bug 545203 – gfile.c: argument is different type.
263 * gfile.c (open_read_async_thread): Pass a GError **
264 to g_file_set_error_literal.
265 Reported by Kazuki Iwamoto
267 2008-07-28 Matthias Clasen <mclasen@redhat.com>
269 Bug 545157 – wrong/no list of "open with" applications for .cc and
272 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
273 Collect all ancestors, not just direct parents. Pointed
274 out by Bastien Nocera
276 2008-07-28 Matthias Clasen <mclasen@redhat.com>
278 * Makefile.am: Install gemblemedicon.h
280 2008-07-28 Matthias Clasen <mclasen@redhat.com>
282 * gemblemedicon.[hc]: Add a GIcon implementation that can
283 add an emblem to another icon.
290 * gfileicon.c: Small documentation additions.
292 2008-07-28 Tor Lillqvist <tml@novell.com>
294 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
297 2008-07-27 Tor Lillqvist <tml@novell.com>
299 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
301 2008-07-24 David Zeuthen <davidz@redhat.com>
305 Also export a g_mount_guess_content_type_sync() function.
307 2008-07-23 Matthias Clasen <mclasen@redhat.com>
309 529694 – SELinux context setting support
311 * gfileinfo.c: Support setting selinux attributes.
312 Patch by Tomas Bzatek
314 2008-07-22 Priit Laes <plaes@plaes.org>
316 Bug 544140 - fam-helper 64-bit issue?
318 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
320 2008-07-21 Matthias Clasen <mclasen@redhat.com>
322 * === Released 2.17.4 ===
324 2008-07-20 Matthias Clasen <mclasen@redhat.com>
326 * gvolumemonitor.[hc]:
331 * gmount.c: Documentation fixes
333 2008-07-19 Matthias Clasen <mclasen@redhat.com>
335 543504 – crash in Epiphany Web Browser: Opening local file
346 * gvolume.c: Register types thread-safely.
347 Patch by Christian Persch
349 2008-07-18 Matthias Clasen <mclasen@redhat.com>
351 * gcontenttype.c: Remove debug spew
353 2008-07-18 Matthias Clasen <mclasen@redhat.com>
355 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
358 * fen/fen-kernel.c: Remove a warning that was causing
359 crashes. Reported by Lin Ma.
361 2008-07-18 Matthias Clasen <mclasen@redhat.com>
363 Bug 543040 – async reading on dummy file will crash on
366 * gfile.c (open_read_async_thread): Cope with read_fn being
367 NULL. Reported by Lin Ma.
369 2008-07-18 Matthias Clasen <mclasen@redhat.com>
372 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
374 2008-07-16 Matthias Clasen <mclasen@redhat.com>
378 * giomodule.c: Rename a chapter id to avoid filename conflict.
380 2008-07-16 Matthias Clasen <mclasen@redhat.com>
382 Bug 540616 – mem leak in filechooser button
384 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
385 the mount entry. Reported by Chrisitan Persch
387 2008-07-16 Matthias Clasen <mclasen@redhat.com>
389 * gfile.c: Small documentation fixes.
391 2008-07-15 Matthias Clasen <mclasen@redhat.com>
393 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
395 2008-07-08 Matthias Clasen <mclasen@redhat.com>
400 * gmount.c: Documentation improvements.
402 2008-07-08 Matthias Clasen <mclasen@redhat.com>
405 * gmount.[hc]: Add g_mount_guess_content_type().
407 2008-07-06 David Zeuthen <davidz@redhat.com>
410 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
411 is needed for easily handling adoption of foreign volumes by
412 out-of-process volume monitors (#541793)
414 2008-07-06 David Zeuthen <davidz@redhat.com>
416 * gvolumemonitor.[ch]:
417 * gunionvolumemonitor.c: Export the eject-button signal on the
418 volume monitor class (#541794).
420 2008-07-06 Matthias Clasen <mclasen@redhat.com>
422 * gappinfo.c: More doc tweaks
424 2008-07-05 Matthias Clasen <mclasen@redhat.com>
426 * gappinfo.c: Clarify some docs
428 2008-07-03 Matthias Clasen <mclasen@redhat.com>
430 * gdesktopappinfo.c: Fix a stupid mistake.
432 2008-07-02 Matthias Clasen <mclasen@redhat.com>
434 * === Released 2.17.3 ===
436 2008-07-02 Matthias Clasen <mclasen@redhat.com>
438 * gfilemonitor.c: Fix the build.
440 2008-07-02 Matthias Clasen <mclasen@redhat.com>
442 Bug 536160 – Add g_file_monitor()
445 * gfile.[hc]: Add g_file_monitor which can return either
446 a file or a directory monitor. Proposed by Behdad Esfahbod
448 2008-07-02 Matthias Clasen <mclasen@redhat.com>
450 536733 – gio build failure on Irix
452 * glocalfile.c: Use a configure check for structfs.f_bavail.
454 2008-07-02 Matthias Clasen <mclasen@redhat.com>
456 Bug 534639 – add g_desktop_app_info_new_from_keyfile
459 * gdesktopappinfo.[hc]: Add a function to create a
460 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
462 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
464 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
466 2008-07-01 Matthias Clasen <mclasen@redhat.com>
468 * gunixmounts.c: Fix a doc typo.
470 2008-07-01 Cody Russell <bratsche@gnome.org>
472 * gio/gcontenttype.c:
473 * gio/gwin32appinfo.c:
474 * gio/gwin32volumemonitor.c:
475 * gio/gwin32mount.c: Fixed some include problems.
477 2008-07-01 Cody Russell <bratsche@gnome.org>
481 Moved all relevant typedefs into these files.
484 Updated wrt added files.
486 Split types into separate file for easier maintainership. (#538564)
488 2008-06-30 Matthias Clasen <mclasen@redhat.com>
490 Bug 540331 – g_file_append_to () documentation: can return NULL
492 * gfile.c (g_file_append_to): Clarify docs.
495 2008-06-30 Matthias Clasen <mclasen@redhat.com>
497 Bug 539090 – g_content_type_from_mime_type() should unalias
499 * gcontentype.c (g_content_type_from_mime_type): Unalias.
500 Patch by Markus Bergman
502 2008-06-30 Matthias Clasen <mclasen@redhat.com>
504 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
507 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
508 on ppc and alpha. Reported by Mart Raudsepp
510 2008-06-29 Matthias Clasen <mclasen@redhat.com>
513 * tests/memory-output-stream.c: Add some tests for
516 2008-06-29 Matthias Clasen <mclasen@redhat.com>
518 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
521 * gmemoryoutputstream.c (array_resize): Handle truncation to
522 zero correctly. Reported by Akira Tagoh
524 2008-06-29 Matthias Clasen <mclasen@redhat.com>
526 * gmemoryoutputstream.c: Trivial doc fixes
528 2008-06-29 Matthias Clasen <mclasen@redhat.com>
530 Bug 540802 – g_list_prepend doesn't concat lists
532 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
533 one list to another. Pointed out by Jan Arne Petersen
535 2008-06-28 Michael Natterer <mitch@imendio.com>
537 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
539 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
541 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
542 to avoid problems with partial icon themes.
544 2008-06-17 Hans Breuer <hans@breuer.org>
546 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
547 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
548 access again on win32, see bug #538127
549 * giomodule.c : ensure GWin32VolumeMonitor is registered
550 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
551 * Makefile.am makefile.msc : updated
553 2008-06-16 Hans Breuer <hans@breuer.org>
555 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
556 and initialization in one step avoids c99ism
558 2008-06-16 Christian Persch <chpe@gnome.org>
561 * gio/gbufferedinputstream.c
563 * gio/gdatainputstream.c
564 * gio/gdesktopappinfo.c
566 * gio/gfileenumerator.c
567 * gio/gfileinputstream.c
568 * gio/gfileoutputstream.c
570 * gio/glocaldirectorymonitor.c
572 * gio/glocalfileenumerator.c
573 * gio/glocalfileinfo.c
574 * gio/glocalfilemonitor.c
575 * gio/glocalfileoutputstream.c
576 * gio/gmemoryinputstream.c
577 * gio/gmemoryoutputstream.c
578 * gio/goutputstream.c
579 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
582 2008-06-16 Tor Lillqvist <tml@novell.com>
584 Bug 538362 - Get Win32 icons back in the file chooser
586 * gcontenttype.c (g_content_type_get_icon): Look up the icon
587 corresponding to a file extension in the Registry. Patch by Hans
589 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
591 2008-06-16 Tor Lillqvist <tml@novell.com>
593 Patches by Hans Breuer:
595 * glocalfile.c (is_xp_or_later): Handle compiling against older
596 SDK headers with missing VerifyVersionInfo(). Conditioned on
597 _MSC_VER, but should probably use some better test.
598 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
599 uninitialised statfs_result variable on Win32.
601 2008-06-16 Michael Natterer <mitch@imendio.com>
603 * *.c: chain up unconditionally in finalize() and dispose(). Also
604 don't dereference these function pointers when calling them since
605 that has no meaning at all.
607 2008-06-16 Ross Burton <ross@burtonini.com>
610 Remove check for dispose implementation as it annoys Emmanuele.
612 2008-06-16 Ross Burton <ross@burtonini.com>
614 Bug 536252 – GFileEnumerator should allow access to the containing
620 Add g_file_enumerator_get_container() and a container writeable
621 construct-only property. Also shuffle around typedefs to make it
624 * glocalfileenumerator.c:
625 * glocalfileenumerator.h:
627 Instead of a string filename take a GFile in the constructor and
628 use it to set the container property.
633 2008-06-16 Matthias Clasen <mclasen@redhat.com>
635 * gfile.c: Make includes more uniform
637 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
639 * tests/live-g-file.c (sample_struct):
640 Use less fancy unicode filenames, so the test doesn't fail
641 on Mac OS X (#531476).
643 2008-06-12 Matthias Clasen <mclasen@redhat.com>
645 * === Released 2.17.2 ===
647 2008-06-12 Matthias Clasen <mclasen@redhat.com>
649 * === Released 2.17.1 ===
651 2008-06-11 A. Walton <awalton@gnome.org>
653 * tests/g-file.c (test_g_file_new_null):
654 Fix broken test case.
656 2008-06-11 Matthias Clasen <mclasen@redhat.com>
658 * pltcheck.sh: We use g_clear_error now.
660 2008-06-11 Matthias Clasen <mclasen@redhat.com>
662 * glocalfile.c (g_local_file_enumerate_children): Revert
663 an unintended change.
665 2008-06-11 Matthias Clasen <mclasen@redhat.com>
667 * gfile.c (g_file_replace_contents): Don't unref before the last use.
669 2008-06-10 Matthias Clasen <mclasen@redhat.com>
671 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
674 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
675 as icon for the desktop directory, also make user-home and
676 user-desktop the preferred icons.
678 2008-06-10 Matthias Clasen <mclasen@redhat.com>
681 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
682 to add a name to the front of the list.
684 2008-06-10 Matthias Clasen <mclasen@redhat.com>
686 Bug 537392 – Additional colon in xattr name
688 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
689 too. Reported by Alessandro Morandi
691 2008-06-10 Matthias Clasen <mclasen@redhat.com>
693 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
696 * glocalfile.c (get_fs_type): Add afs and autofs.
697 Patch by Danny Baumann.
699 2008-06-10 Matthias Clasen <mclasen@redhat.com>
701 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
703 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
704 is no parent. (Owen Taylor, patch by Christian Neumair)
706 2008-06-10 Paolo Borelli <pborelli@katamail.com>
708 * gfile.c (g_file_replace_contents): do not leak the output stream.
710 2008-06-10 Michael Natterer <mitch@imendio.com>
712 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
713 uninitialized memory as array index.
715 2008-06-10 Tor Lillqvist <tml@novell.com>
717 * gcontenttype.c (g_content_type_can_be_executable)
718 (g_content_type_get_icon) [Win32]: Add TODO comments.
720 2008-06-09 Matthias Clasen <mclasen@redhat.com>
722 * xdgmime/Makefile.am: Fix the build
724 2008-06-09 Matthias Clasen <mclasen@redhat.com>
726 * gcontenttype.c (g_content_type_get_icon): Use icons specified
727 in the shared mime database, if available.
729 * xdgmime/*: Sync with upstream. This brings support for
730 glob weights, generic icons, and changes the cache format to
733 2008-05-28 Michael Natterer <mitch@imendio.com>
735 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
736 the global CPPFLAGS now.
738 * tests/data-input-stream.c
739 * tests/data-output-stream.c
740 * tests/g-file-info.c
742 * tests/live-g-file.c
743 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
745 2008-05-27 Matthias Clasen <mclasen@redhat.com>
747 * === Released 2.17.0 ===
749 * tests/live-g-file.c: Clean up after the tests, so make distcheck
750 doesn't complain about leftover files.
752 2008-05-27 simon.zheng <simon.zheng@sun.com>
754 * glocalfile.c: (g_local_file_query_filesystem_info):
755 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
757 2008-05-26 Michael Natterer <mitch@imendio.com>
759 * gmemoryoutputstream.h: declare
760 g_memory_output_stream_get_data_size().
762 2008-05-26 Matthias Clasen <mclasen@redhat.com>
764 * tests/*: Make tests work
766 2008-05-26 Matthias Clasen <mclasen@redhat.com>
768 * gio.symbols: Add g_memory_output_stream_get_data_size.
770 2008-05-25 Ross Burton <ross@burtonini.com>
773 Fix typo in error message (#534764).
775 2008-05-25 Ross Burton <ross@burtonini.com>
778 Fix circular dependency loop for gioenumtypes.h (#534759).
780 2008-05-19 Hans Breuer <hans@breuer.org>
782 * Makefile.am : EXTRA_DIST += makefile.msc
784 2008-05-17 Matthias Clasen <mclasen@redhat.com>
787 * gcontenttype.c: (g_content_type_from_mime_type):
788 New function to create a content type from a mime type. (#527175,
791 2008-05-17 Matthias Clasen <mclasen@redhat.com>
793 Bug 532965 – Should not return filesystem::free for certain file systems
795 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
796 free space for ncpfs.
798 2008-05-17 Matthias Clasen <mclasen@redhat.com>
800 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
802 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
803 st_dev might be zero.
805 2008-05-16 Tor Lillqvist <tml@novell.com>
807 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
808 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
810 2008-05-13 Bastien Nocera <hadess@hadess.net>
812 * gfile.c (has_valid_scheme): A URI scheme must start with a
813 letter, even if later more characters are allowed (#532852)
815 2008-05-05 Michael Natterer <mitch@imendio.com>
817 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
818 code from being checked in that breaks the build of applications
819 which use G_DISABLE_SINGLE_INCLUDES.
821 * makegioalias.pl: make the alias file include "glib.h" instead of
824 * gio.symbols: whitespace change to force regeneration of the
825 alias file after above script change.
827 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
829 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
831 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
833 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
835 2008-04-28 David Zeuthen <davidz@redhat.com>
837 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
838 displaying mounts in a subdirectory not accessible to the
841 2008-04-22 Michael Natterer <mitch@imendio.com>
843 * Makefile.am: fix library versioning (it was 0.0.0).
845 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
847 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
848 Default disable all loggings.
849 * fen/fen-kernel.c: (printevent), (port_add_kevent),
850 (port_fetch_event_cb): Fixed two macro nits.
852 2008-04-16 Matthias Clasen <mclasen@redhat.com>
854 * xdgmime/xdgmime.c: Rework the timestamp checking code
855 to protect against duplicate directories in XDG_DATA_DIRS.
856 Fixes fd.o bug 12513, reported by Joe Shaw.
858 2008-04-16 Matthias Clasen <mclasen@redhat.com>
860 Partically revert the last commit after realizing that
861 xdg_mime_media_type_equal doesn't have to init at all.
864 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
866 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
868 2008-04-16 Matthias Clasen <mclasen@redhat.com>
870 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
871 reported by Joe Shaw and Federico Mena Quintero.
873 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
874 (xdg_mime_media_type_equal): Turn into a wrapper around the
877 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
878 functions throughout.
880 2008-04-16 Michael Meeks <michael.meeks@novell.com>
882 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
883 tolerate an empty TryExec= line without failing; nautilus used
884 to create launchers with these in previous versions. Fixes #528433
886 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
888 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
889 after name. Fixes #527132.
891 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
893 * gfile.c: (g_file_replace):
896 2008-04-07 Matthias Clasen <mclasen@redhat.com>
898 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
900 * gfile.c (file_copy_fallback): Fix the argument order. Patch
901 by Christian Kellner.
903 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
905 * gunixmounts.c: (g_unix_mount_guess_should_display):
906 Don't list the user directory as a mount, fix potential issue
907 when other users have a similar naming and don't special case the
908 gvfs mounts there since that's not required (#525866)
910 2008-03-31 Alexander Larsson <alexl@redhat.com>
912 * glocalfile.c (get_parent):
915 2008-03-31 A. Walton <awalton@svn.gnome.org>
917 * gfile.c (g_file_query_file_type):
918 Always return a GFileType enum value (#520715).
920 2008-03-31 Alexander Larsson <alexl@redhat.com>
922 * glocalfileenumerator.c:
923 Read readdir() info in chunks (of 1000) and sort
924 the chunks by inode before stat:ing.
925 This is a 20% performance increase in testing
926 gvfs-ls on /usr/bin with cold cache.
928 2008-03-31 Alexander Larsson <alexl@redhat.com>
930 * gmemoryoutputstream.c:
931 Clarify docs for g_memory_output_stream_get_size.
932 Add g_memory_output_stream_get_data_size.
934 2008-03-30 Matthias Clasen <mclasen@redhat.com>
938 * gfile.h: Add g_file_query_file_type convenience function
939 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
941 2008-03-30 Matthias Clasen <mclasen@redhat.com>
944 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
946 2008-03-28 A. Walton <awalton@svn.gnome.org>
948 * giomodule.c (_g_io_modules_ensure_loaded):
949 Adds GIO_EXTRA_MODULES environment variable support, closing bug
952 2008-03-28 Alexander Larsson <alexl@redhat.com>
955 (copy_stream_with_progress):
958 2008-03-28 Alexander Larsson <alexl@redhat.com>
961 (copy_stream_with_progress):
962 (file_copy_fallback):
963 Fallback to g_file_query_info for source size
964 if g_file_input_stream_query_info fails. (#524579)
966 2008-03-28 Alexander Larsson <alexl@redhat.com>
968 * glocalfile.c (g_local_file_move):
969 Reuse old string instead of adding new one.
971 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
973 * fen/*.[hc]: still copyright issue. I hate copyright.
975 2008-03-27 Alexander Larsson <alexl@redhat.com>
977 * glocalfile.c (g_local_file_move):
978 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
979 file over directory. This is according to the docs and what the move via
980 copy+remove fallback does.
982 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
984 * fen/*.[hc]: Updated copyright.
986 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
988 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
990 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
992 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
993 not emit attribute changed events when optimizing changed events.
994 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
997 2008-03-19 Matthias Clasen <mclasen@redhat.com>
999 * gmountoperation.[hc]: Small documentation additions
1001 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1003 * gunixmounts.c: (guess_mount_type):
1004 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1006 2008-03-19 Alexander Larsson <alexl@redhat.com>
1009 (copy_stream_with_progress):
1010 Bump block side for copy to 64k to minimize
1011 overhead for low latency links. (#523015)
1013 2008-03-16 Tor Lillqvist <tml@novell.com>
1015 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1016 depend on gio.def on Windows.
1018 2008-03-12 David Zeuthen <davidz@redhat.com>
1022 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1024 2008-03-14 Alexander Larsson <alexl@redhat.com>
1028 Avoid redudant tests (#521851)
1029 Patch from Josselin Mouette
1031 2008-03-14 Alexander Larsson <alexl@redhat.com>
1034 (g_file_monitor_is_cancelled):
1035 Fix C89 issue (#521672)
1036 Patch from Jens Granseuer
1038 2008-03-14 Alexander Larsson <alexl@redhat.com>
1040 * fam/fam-helper.[ch]:
1042 Shut down fam (including removing fam GSource) when
1043 module is unloaded (#521513)
1044 Patch from Joe Marcus Clarke
1046 2008-03-14 Alexander Larsson <alexl@redhat.com>
1049 (_g_io_modules_ensure_loaded):
1052 2008-03-14 Alexander Larsson <alexl@redhat.com>
1055 (g_local_file_query_filesystem_info):
1056 Use right define name for f_fstypename member check
1058 2008-03-14 Alexander Larsson <alexl@redhat.com>
1061 * fen/Makefile.am: Added.
1062 * fen/fen-data.[ch]: Added.
1063 * fen/fen-dump.[ch]: Added.
1064 * fen/fen-helper.[ch]: Added.
1065 * fen/fen-kernel.[ch]: Added.
1066 * fen/fen-missing.[ch]: Added.
1067 * fen/fen-node.[ch]: Added.
1068 * fen/fen-sub.[ch]: Added.
1069 * fen/gfendirectorymonitor.[ch]: Added.
1070 * fen/gfenfilemonitor.[ch]: Added.
1072 Added Solaris FEN file notification backend.
1073 Patch from Lin Ma <Lin.Ma@Sun.COM>
1075 2008-03-13 Tor Lillqvist <tml@novell.com>
1077 * Makefile.am: Actually use the gio.def file when linking the
1078 library on Windows. Produce .lib library for Microsoft's toolchain
1079 when possible. Install the .lib and .def file like for the other
1082 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1084 * tests/live-g-file.c:
1085 Include live-g-file in standard set of tests, making a temporary
1086 directory in source structure.
1088 Clean target directory before the tests (write mode only)
1090 2008-03-12 Tor Lillqvist <tml@novell.com>
1092 Bug 517419 - gio win32 directory monitor
1093 Implementation by Vlad Grecescu.
1096 * win32/gwin32directorymonitor.h
1097 * win32/gwin32directorymonitor.c: New files.
1099 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1101 * Makefile.am: Add the win32 subdirectory.
1103 2008-03-12 Tor Lillqvist <tml@novell.com>
1105 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1106 normal struct stat on Unix but struct _stati64 on Windows to have
1107 access to 64-bit file size information. Use that instead of struct
1108 stat in the functions declared here in this private header.
1110 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1111 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1112 warnings about unused functions and variables. Don't set
1113 meaningless attributes like inode numbers on Windows.
1115 2008-03-12 Benjamin Otte <otte@gnome.org>
1118 trim whitespace so gtk-doc groks the function name
1120 2008-03-12 Tor Lillqvist <tml@novell.com>
1122 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1123 returning FALSE, on Win32.
1125 2008-03-11 Alexander Larsson <alexl@redhat.com>
1128 * glocalfileinfo.[ch]:
1129 Correctly implement can_trash by actually
1130 looking for a trash dir, not just assuming
1133 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1135 * === Released 2.16.1 ===
1137 2008-03-11 Alexander Larsson <alexl@redhat.com>
1140 Fix crashes in new constructor and properties code
1142 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1144 * gfile.c: Minor spelling correction in documentation:
1145 existance -> existence.
1147 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1149 * === Released 2.16.0 ===
1151 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1153 * gio.symbols: Remove g_file_contains_file here, too.
1155 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1157 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1158 Samuel Cormier-Iijima)
1160 2008-03-08 Tor Lillqvist <tml@novell.com>
1162 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1165 2008-03-07 Alexander Larsson <alexl@redhat.com>
1168 (g_local_file_query_filesystem_info):
1169 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1170 Patch from Jasper Lievisse Adriaanse
1172 2008-03-06 Tor Lillqvist <tml@novell.com>
1174 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1175 comments for the *_USEC attributes.
1177 2008-03-06 Alexander Larsson <alexl@redhat.com>
1179 * gfile.c (g_file_query_exists):
1180 Add g_return_val_if_fail check (#520700)
1182 2008-03-06 Alexander Larsson <alexl@redhat.com>
1184 * gdesktopappinfo.c:
1187 * gunionvolumemonitor.c:
1190 * tests/live-g-file.c:
1191 * xdgmime/xdgmimecache.c:
1192 Fix sparse warnings (#519489)
1194 2008-03-05 Alexander Larsson <alexl@redhat.com>
1197 Make cancellation threadsafe (i.e.
1198 guarantee its only done once, and always
1201 * glocaldirectorymonitor.c:
1202 Make sure we the monitor lives while the
1203 mounts_changed callback is being called (#520484)
1205 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1207 * gbufferedinputstream.c: Fix typo in parameter
1210 2008-03-04 Alexander Larsson <alexl@redhat.com>
1213 Remove deprecated symbols we kept for one release.
1215 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1218 * goutputstream.c: Tiny documentation corrections.
1220 2008-03-03 Alexander Larsson <alexl@redhat.com>
1222 * gunionvolumemonitor.c:
1224 Fix the adopt_orphan_mount vfunc to take a
1225 volume_monitor reference in an ABI compat way.
1226 This change is not API compat, but the added
1227 arg is not used in the only user of this vfunc, so
1228 all we get is a harmless warning in gvfs (#520169)
1230 2008-03-01 Benjamin Otte <otte@gnome.org>
1233 clarify docs for g_file_delete().
1235 2008-02-29 Alexander Larsson <alexl@redhat.com>
1239 Make sure empty files get text/plain type (#518720)
1241 2008-02-27 Alexander Larsson <alexl@redhat.com>
1247 (g_unix_volume_mount):
1248 Add missing GMountMountFlags argument
1250 2008-02-26 Alexander Larsson <alexl@redhat.com>
1253 (g_local_file_delete):
1254 Handle filesystems (like ntfs-3g) that return EEXIST instead
1255 of ENOTEMPTY (#518816)
1257 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1259 * === Released 2.15.6 ===
1261 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1263 * gfile.c (g_file_find_enclosing_mount):
1264 * ginputstream.c (g_input_stream_set_pending):
1265 * glocalfile.c (g_local_file_find_enclosing_mount):
1266 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1267 * goutputstream.c (g_output_stream_set_pending):
1269 Fixup translator comments (#518578).
1271 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1273 * gfile.c (g_file_find_enclosing_mount):
1275 * glocalfile.c (g_local_file_find_enclosing_mount):
1278 Fix a few typos in translator comments and documentation.
1280 2008-02-25 Alexander Larsson <alexl@redhat.com>
1287 Add translator comments (#518578)
1289 2008-02-25 Alexander Larsson <alexl@redhat.com>
1292 Reintroduce g_file_contains_file, keep around for one
1293 unstable release cycle to avoid crashing to many apps.
1294 Make sure to delete after release.
1296 2008-02-25 Alexander Larsson <alexl@redhat.com>
1299 Remove deprecated g_file_contains_file.
1301 2008-02-25 Alexander Larsson <alexl@redhat.com>
1304 Emit actual change signals in an idle handler.
1305 This avoids reentrance and locking problems in
1306 the file notification backends.
1308 2008-02-25 Alexander Larsson <alexl@redhat.com>
1311 (g_unix_mount_guess_should_display):
1312 Remove type guessing, instead just display
1313 mounts in /media and in ~/.
1315 2008-02-25 Alexander Larsson <alexl@redhat.com>
1318 Make new strings reuse old ones.
1320 2008-02-25 Alexander Larsson <alexl@redhat.com>
1323 Implement trashing and filesystem::readonly for win32 (#517235)
1324 Patch from Yevgen Muntyan
1326 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1328 * gfileinfo.h: Documentation fixes.
1330 2008-02-22 Alexander Larsson <alexl@redhat.com>
1332 * gcontenttype.c (g_content_type_get_icon):
1333 Look at old-style gnome mime icon names too, as many
1334 have not moved to the new style.
1336 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1338 * *.c: Correct the @include in for section docs.
1340 2008-02-21 David Zeuthen <davidz@redhat.com>
1342 * glocalfileinfo.c: (_g_local_file_info_get):
1344 (g_content_type_get_icon): Implement this function by
1345 moving bits from glocalfileinfo.c
1346 (g_content_type_get_description): Unalias before getting
1347 description (#517687)
1349 * gfile.c: (g_file_class_init),
1350 (g_file_query_filesystem_info_async),
1351 (g_file_query_filesystem_info_finish),
1352 (query_filesystem_info_data_free),
1353 (query_filesystem_info_async_thread),
1354 (g_file_real_query_filesystem_info_async),
1355 (g_file_real_query_filesystem_info_finish):
1356 * gfile.h: Implement async version of
1357 g_file_query_filesystem_info()
1359 * gfileinfo.h: Add new attributes for filesystem::use-preview
1361 * gio.symbols: Update
1363 * gthemedicon.c: (g_themed_icon_append_name):
1364 * gthemedicon.h: Add new new convenience function.
1366 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1367 (get_mounts), (get_volumes), (get_connected_drives),
1368 (get_volume_for_uuid), (get_mount_for_uuid),
1369 (g_union_volume_monitor_init), (populate_union_monitor),
1370 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1371 (g_volume_monitor_adopt_orphan_mount):
1373 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1374 monitor implementations to call into the main volume monitor. Also
1375 separate object initialization and volume monitor initialization
1376 such that non-native volume monitors can properly adopt their
1379 2008-02-21 Alexander Larsson <alexl@redhat.com>
1384 2008-02-21 Alexander Larsson <alexl@redhat.com>
1387 Add more documentation about how GFiles work (from #517086)
1389 2008-02-21 Alexander Larsson <alexl@redhat.com>
1393 Add new g_file_has_prefix that does the same as g_file_contains_file.
1394 Deprecate g_file_contains_file and add a macro that converts
1395 it to g_file_has_prefix.
1396 The reason for this change is that the contains_file() name seems to
1397 imply that this does more work than what it does, but its really only
1398 a name match (from #517086)
1403 Update to match the above change.
1405 2008-02-20 Benjamin Otte <otte@gnome.org>
1407 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1408 (g_file_eject_mountable):
1409 even more cases of not returning in error path
1411 2008-02-20 Benjamin Otte <otte@gnome.org>
1413 * gfile.c: (g_file_mount_mountable):
1414 return from function in error path.
1416 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1419 Remove trailing coma in GMountMountFlags struct
1421 2008-02-18 Alexander Larsson <alexl@redhat.com>
1425 * glocalfileoutputstream.c:
1426 Use g_unlink/g_rename instead of unlink/rename;
1427 do not pass raw filenames to g_set_error. (#517239)
1428 Patch from Yevgen Muntyan.
1430 2008-02-18 Alexander Larsson <alexl@redhat.com>
1433 * glocalfileoutputstream.c:
1434 Open files with O_BINARY on windows. (#517140)
1436 2008-02-14 Alexander Larsson <alexl@redhat.com>
1438 * glocalfileoutputstream.c:
1439 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1441 2008-02-14 Alexander Larsson <alexl@redhat.com>
1444 Copy permissions with file on copy (#514084)
1445 This is what cp does and makes sure e.g. the
1446 exec permissions are kept.
1447 Its kinda weird in that it keeps the permission bits
1448 the same while the uid and gid are different. However
1449 the new uid is the user so its not a security issue,
1450 and I've heard no complaints about cp on this issue.
1452 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1454 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1456 2008-02-13 Alexander Larsson <alexl@redhat.com>
1458 * inotify/inotify-path.c:
1459 Define IN_ONLYDIR if not in header (#515346)
1461 2008-02-12 Alexander Larsson <alexl@redhat.com>
1463 * tests/live-g-file.c:
1466 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1468 * === Released 2.15.5 ===
1470 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1472 * gio.symbols: Add g_mount_mount_flags_get_type.
1474 2008-02-11 Alexander Larsson <alexl@redhat.com>
1477 (g_file_info_set_attribute_mask):
1478 (g_file_attribute_matcher_matches_id):
1479 Correctly handle NULL GAttributeMatcher meaning
1480 matches nothing. (Fixes #513492)
1482 2008-02-11 Alexander Larsson <alexl@redhat.com>
1487 Added GMountMountFlags enum and added a flags
1488 argument to all mount calls.
1490 This is an API/ABI change for future extensibility,
1491 as I think we will need at least an
1492 inhibit-autorun flag (the panel needs this).
1493 There are no flags defined yet though.
1495 2008-02-11 Alexander Larsson <alexl@redhat.com>
1498 Added new standard::description attribute.
1499 Requested by Vincent, and useful for both
1502 2008-02-11 Alexander Larsson <alexl@redhat.com>
1504 * gdesktopappinfo.c:
1507 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1509 * *.c: Documentation additions
1511 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1513 * gappinfo.h: Formatting cleanup
1514 * gappinfo.c: Fix up docs.
1516 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1518 * gunixmounts.c: Consistently use getmntent_r() and fall
1519 back to getmntent(). (#515492)
1521 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1523 * gbufferedinputstream.c:
1525 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1527 * tests/data-input-stream.c:
1528 * tests/data-output-stream.c: Portability fixes.
1530 2008-02-08 Alexander Larsson <alexl@redhat.com>
1535 Add g_volume_should_automount.
1538 2008-02-07 Tor Lillqvist <tml@novell.com>
1540 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1541 Win32, too Unix-specific.
1543 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1545 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1546 a local plt if the compiler doesn't support what we want. Bug #514702
1548 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1550 reviewed by: <delete if not using a buddy>
1553 * gunixinputstream.c:
1554 * gunixoutputstream.c:
1556 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1558 * tests/Makefile.am:
1559 * tests/live-g-file.c:
1560 * tests/live-g-file.txt:
1561 New GIO testing module working over real data
1563 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1565 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1566 Fallback to rename() if link() is not available
1567 (when no support on target filesystem)
1569 2008-02-06 Michael Natterer <mitch@imendio.com>
1571 * gfileinfo.c (g_file_info_get_icon): replace
1572 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1574 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1576 * gfile.c (g_file_create):
1577 Documentation update of error codes
1579 2008-02-06 Alexander Larsson <alexl@redhat.com>
1581 * gdesktopappinfo.c:
1582 Update to use both mimeapps.list and
1583 defaults.list as discussed on xdg list.
1585 2008-02-06 Benjamin Otte <otte@gnome.org>
1588 * gfilenamecompleter.c:
1589 Fix some typos in the documentation.
1591 2008-02-06 Alexander Larsson <alexl@redhat.com>
1593 * glocalfile.c (g_local_file_trash):
1594 Don't succeed with trash if newly created
1595 trash dir has the wrong owner. (#514696)
1597 2008-02-05 Alexander Larsson <alexl@redhat.com>
1599 * glocalfile.c (g_local_file_move):
1600 Don't spew warnings when destination is not
1603 2008-02-03 Hans Breuer <hans@breuer.org>
1605 * makefile.msc : update
1607 2008-02-01 Michael Natterer <mitch@imendio.com>
1609 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1610 return value of xdg_mime_list_mime_parents() to a variable of the
1613 2008-02-01 Alexander Larsson <alexl@redhat.com>
1615 * gappinfo.c (g_app_info_launch_uris):
1616 Actually call the launch_uris method, not
1619 2008-02-01 Alexander Larsson <alexl@redhat.com>
1621 * gdesktopappinfo.c (g_desktop_app_info_equal):
1622 Ensure appinfos with no id but same pointer value
1625 2008-02-01 Alexander Larsson <alexl@redhat.com>
1627 * gappinfo.c (g_app_info_launch_default_for_uri):
1630 2008-02-01 Alexander Larsson <alexl@redhat.com>
1634 Add g_app_info_launch_default_for_uri utility
1637 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1639 * gdesktopappinfo.c:
1640 Doc fix for g_app_info_get_default_for_uri_scheme ()
1643 2008-01-30 Alexander Larsson <alexl@redhat.com>
1646 Add doc comment about uris vs GFiles to
1649 * gdesktopappinfo.c:
1650 Ensure uris passed to g_app_info_launch_uris()
1651 are not roundtriped through GFile (as that
1652 may be slightly destructive for e.g. mailto: links)
1654 2008-01-30 Alexander Larsson <alexl@redhat.com>
1656 * tests/data-input-stream.c:
1657 * tests/data-output-stream.c:
1658 C89 fixes from Jens Granseuer (#512849)
1660 2008-01-30 Alexander Larsson <alexl@redhat.com>
1663 Fix gamin/fam difference build issue. (#509419)
1665 2008-01-29 Alexander Larsson <alexl@redhat.com>
1668 * gdesktopappinfo.c:
1669 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1671 2008-01-29 Alexander Larsson <alexl@redhat.com>
1673 * gdesktopappinfo.c:
1674 * gdesktopappinfo.h:
1675 giomodule-priv.h include moved to .c file.
1677 2008-01-29 Alexander Larsson <alexl@redhat.com>
1679 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1680 Remove unused prio/name fields.
1682 2008-01-29 Alexander Larsson <alexl@redhat.com>
1684 * gcontenttype.c (looks_like_text):
1685 Don't treat whitespace as control chars.
1687 2008-01-29 Alexander Larsson <alexl@redhat.com>
1689 * gdesktopappinfo.c:
1690 Lazily create the desktop files for appinfos created
1691 by g_app_info_create_from_commandline() when needed
1692 for mime associations. This allows run-time use
1693 of GAppInfo object without creating unnecessary
1696 2008-01-29 Alexander Larsson <alexl@redhat.com>
1699 Added new symbols to gio.symbols
1701 2008-01-29 Alexander Larsson <alexl@redhat.com>
1704 Add g_file_query_default_handler utility to easily look up
1705 the GAppInfo that handles a file.
1707 * gdesktopappinfo.[ch]:
1709 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1712 Remove unused function
1714 2008-01-29 Alexander Larsson <alexl@redhat.com>
1716 * gfileenumerator.c:
1717 Mention need to free returned value in
1718 g_file_enumerator_next_files_finish docs.
1719 Fix leak if g_file_enumerator_next_files_finish()
1722 2008-01-29 Alexander Larsson <alexl@redhat.com>
1725 (_g_unix_content_type_get_parents):
1726 Use list_parents, not get_parents from xdgmime, because
1727 the later doesn't use the cache.
1729 * xdgmime/xdgmimecache.c:
1730 (_xdg_mime_cache_list_mime_parents):
1731 Don't list the same type as parent multiple times.
1733 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1735 * === Released 2.15.4 ===
1737 2008-01-28 Alexander Larsson <alexl@redhat.com>
1740 Register local vfs with prio 0.
1743 Remove old name and prio class members
1745 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1747 * tests/g-file.c: Disable some tests that are failing in
1748 the absence of a http backend.
1750 2008-01-28 Alexander Larsson <alexl@redhat.com>
1754 Add registration hooks for extension points.
1755 Register the gio extension points.
1757 * fam/gfamdirectorymonitor.c:
1758 * fam/gfamfilemonitor.c:
1759 * glocaldirectorymonitor.[ch]:
1760 * glocalfilemonitor.[ch]:
1761 * gnativevolumemonitor.h:
1762 * gunionvolumemonitor.c:
1763 * gunixvolumemonitor.c:
1766 * inotify/ginotifydirectorymonitor.c:
1767 * inotify/ginotifyfilemonitor.c:
1768 Use the extension points registration instead
1769 of g_type_children().
1771 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1774 * gvolume.[hc]: Document new API.
1776 * gfile.c (g_file_copy_async): Fix docs
1778 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1780 * gbufferedinputstream.c:
1782 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1785 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1787 * glocalfile.c: Avoid trivial differences in translatable strings.
1789 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1791 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1792 build with gcc 3.4 (#509419)
1794 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1796 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1797 (#509994, Murray Cumming)
1799 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1801 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1802 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1803 this allows big jobs to be executed in chunks, instead of blocking
1804 the main loop for a long time.
1806 * gsimpleasyncresult.c:
1807 * giofile.c: Adapt callers.
1809 2008-01-25 Alexander Larsson <alexl@redhat.com>
1811 * gdesktopappinfo.c:
1812 Implement changes discussed on xdg list.
1813 Now we can add supported mimetypes by just using defaults.list
1814 We can also remove associations in defaults.list.
1816 2008-01-25 Alexander Larsson <alexl@redhat.com>
1818 * gdesktopappinfo.c:
1819 Don't make local copy of desktop file
1820 for mimetype changes if the file already
1821 supports the new mimetype.
1823 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1827 * gbufferedinputstream.c:
1828 * glocalfile.c: String improvements. (#511966,
1829 Theppitak Karoonboonyanan)
1831 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1833 * gioscheduler.h: Expand docs a bit.
1835 2008-01-24 Alexander Larsson <alexl@redhat.com>
1838 Add g_drive_get_identifier and
1839 g_drive_enumerate_identifiers
1842 Add g_volume_get_identifier and
1843 g_volume_enumerate_identifiers
1849 Implement identifiers for unix backend
1851 2008-01-24 Alexander Larsson <alexl@redhat.com>
1856 Add g_file_copy_async() (#511580)
1857 Based on patch from Carlos Garcia Campos
1859 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1861 * gioscheduler.c: Some documentation additions.
1863 2008-01-22 Alexander Larsson <alexl@redhat.com>
1865 * gdesktopappinfo.c:
1866 (g_desktop_app_info_new):
1867 Don't leak basename.
1869 2008-01-22 Alexander Larsson <alexl@redhat.com>
1871 * gdesktopappinfo.c:
1872 (g_desktop_app_info_new_from_filename):
1875 2008-01-22 Alexander Larsson <alexl@redhat.com>
1877 * glocalfileinfo.c (get_thumbnail_attributes):
1880 2008-01-22 Alexander Larsson <alexl@redhat.com>
1883 (canonicalize_filename):
1884 Canonicalize paths that start with more than
1888 (compare_two_files):
1889 (test_g_file_new_for_path):
1892 2008-01-22 Alexander Larsson <alexl@redhat.com>
1895 Allow UTF-8 in file:// parse names.
1897 * tests/Makefile.am:
1898 * tests/data-input-stream.c:
1899 * tests/data-output-stream.c:
1900 * tests/g-file-info.c:
1902 Added a bunch of tests from Tomas Bzatek
1904 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1906 * === Released 2.15.3 ===
1908 2008-01-21 Alexander Larsson <alexl@redhat.com>
1910 * gfileinputstream.[ch]:
1911 * gfileoutputstream.[ch]:
1913 Remove duplicated GSeekable functions. (#509990)
1914 Just use the g_seekable_xxx() calls instead.
1916 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1919 * gvolumemanager.c: Whitespace cleanups.
1921 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1922 Use the right mode when creating the file.
1924 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1926 * gfileenumerator.c:
1927 * gfileinputstream.c:
1929 * goutputstream.c: Documentation: Fixed minor typos
1930 and added more mentions of specific _finish() functions.
1932 2008-01-21 Alexander Larsson <alexl@redhat.com>
1934 * inotify/Makefile.am:
1935 * inotify/inotify-helper.c:
1936 * inotify/inotify-kernel.c:
1937 * inotify/inotify-path.c:
1938 * inotify/local_inotify.h: Removed.
1939 * inotify/local_inotify_syscalls.h: Removed.
1940 Removed the included copies of the inotify
1941 headers. We now only use the <sys/inotify.h>
1942 header which exists on modern systems.
1943 This fixes problems on ARM and SH5 (#510448)
1944 but is also generally much cleaner and future
1945 safe. For instance, if other OSes add support
1946 for inotify it should "just work".
1948 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1950 * inotify/*.c: Coding style fixes.
1951 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1952 for the 1/4 Hz timer.
1954 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1957 * gfilemonitor.[hc]:
1958 * gmemoryinputstream.c:
1959 * gmemoryoutputstream.c:
1960 * gmountoperation.c:
1961 * gthemedicon.c: Documentation updates
1963 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1965 * gfile.c: documentation: Fixed more minor
1968 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1970 * gmount.c: (g_mount_remount): documentation:
1971 Mention g_mount_remount_finish() instead of
1972 g_mount_unmount_finish().
1974 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1978 * gfile.c: Fixed some minor typos in the
1981 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1983 * gio/gvolumemonitor.c:
1984 (g_volume_monitor_get_connected_drives):
1985 (g_volume_monitor_get_volumes):
1986 (g_volume_monitor_get_mounts): Documentation:
1987 Clarify the ownership of the regurn GLists.
1989 2008-01-17 Alexander Larsson <alexl@redhat.com>
1992 Add the async find_enclosing_mount version
1993 to the header file too.
1995 2008-01-17 Alexander Larsson <alexl@redhat.com>
1998 Add async version of find_enclosing_mount
1999 with default implementation.
2001 2008-01-17 Alexander Larsson <alexl@redhat.com>
2006 Allow calls to implementation of copy and write
2007 even if the type of the file implementations is
2008 different. This can be used to implement native
2009 upload and download calls in a vfs.
2012 (g_local_file_move):
2013 Protect against the case where move is called
2014 with one file not being local.
2016 Make sure we call the progress callback once
2017 in the native move operation so that the caller
2018 knows how many bytes were copied.
2020 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2023 * gdatainputstream.c:
2025 * gfileoutputstream.c:
2030 * gunixmounts.c: Corrected some typos in the documentation:
2031 occured -> occurred.
2032 its -> it's (where appropriate).
2034 2008-01-16 Alexander Larsson <alexl@redhat.com>
2038 Add g_file_query_exists (#508771)
2040 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2045 * gvolume.c: For async functions that have no non-async
2046 version, document that the GAsyncReadyCallback may be NULL.
2049 2008-01-15 Alexander Larsson <alexl@redhat.com>
2051 * gmemoryinputstream.c:
2052 * gmemoryoutputstream.c:
2053 Don't do pointer arithmetic on void * (#508602)
2054 Patch from Kazuki IWAMOTO
2056 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2058 * === Released 2.15.2 ===
2060 2008-01-14 Alexander Larsson <alexl@redhat.com>
2062 * gfile.c (g_file_monitor_file):
2063 Don't set error here, since we fallback to polling monitor.
2065 2008-01-14 Alexander Larsson <alexl@redhat.com>
2068 (g_file_monitor_directory):
2069 (g_file_monitor_file):
2070 Add GError to file monitor calls
2072 * glocaldirectorymonitor.c:
2073 * glocaldirectorymonitor.h:
2075 * glocalfilemonitor.c:
2076 * glocalfilemonitor.h:
2078 Update for above change
2080 2008-01-14 Alexander Larsson <alexl@redhat.com>
2084 Handle root correctly in g_file_get_relative_path (#508719)
2086 2008-01-14 Alexander Larsson <alexl@redhat.com>
2089 Clean up docs and example for GAsyncResult (#508074)
2091 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2093 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2094 and correct some spelling mistakes. Bug #508108.
2096 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2098 * glocalfileinfo.c: Add a comment.
2100 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2102 * gfileinfo.c: GFileInfo description: Mention
2103 how to actually set attributes in a GFile and how to discover
2104 which attributes are settable. Bug #508378.
2106 2008-01-10 A. Walton <awalton@svn.gnome.org>
2108 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2109 (g_app_info_get_default_for_type):
2110 Check for NULL content types.
2112 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2114 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2116 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2118 * gfile.c: *_async() functions: Several small corrections
2119 to the documentation, mostly correcting copy/paste errors
2120 and improving some sentences.
2122 2008-01-09 Dan Winship <danw@gnome.org>
2124 * glocalfile.c (get_unique_filename): x86_64 fix
2126 2008-01-09 Alexander Larsson <alexl@redhat.com>
2131 Add g_unix_mount_guess_should_display and use
2132 for unix volume monitor backend.
2133 This means we more or less show what the
2134 gnome-vfs backend did.
2135 Based on patch from Padraig O'Briain
2137 2008-01-09 Alexander Larsson <alexl@redhat.com>
2141 Add g_themed_icon_new_with_default_fallbacks
2144 Use default fallbacks for icons
2146 2008-01-09 Alexander Larsson <alexl@redhat.com>
2149 * gmountoperation.[ch]:
2150 Change the API a bit so that unhandled methods
2151 get reported via the reply, rather than by
2152 the signal emission return value. This is because
2153 some handlers can't know this immediately without
2154 doing I/O, and this is an async operation that
2157 2008-01-09 Alexander Larsson <alexl@redhat.com>
2160 * fam/gfamdirectorymonitor.c:
2161 * fam/gfamfilemonitor.c:
2162 Fix double free crash (#508224)
2163 Patch from Joe Marcus Clarke
2165 008-01-07 Matthias Clasen <mclasen@redhat.com>
2167 * === Released 2.15.1 ===
2169 2008-01-07 Alexander Larsson <alexl@redhat.com>
2171 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2172 Fix warning (#507835)
2174 2008-01-07 Alexander Larsson <alexl@redhat.com>
2177 Pass --internal to glib-genmarshal
2180 * gmountoperation.c:
2182 Use better types for signal arguments (#507822)
2184 2008-01-07 Alexander Larsson <alexl@redhat.com>
2187 Build test subdir after .
2188 Remove gdirectorymonitor.[ch]
2190 * gdirectorymonitor.[ch]:
2194 Remove GDirectoryMonitor and make
2195 GFileMonitor the baseclass for both file and
2196 directory monitors. Lift the more generic
2197 rate limiting code from GDirectoryMonitor
2201 * fam/gfamdirectorymonitor.[ch]:
2202 * inotify/ginotifydirectorymonitor.[ch]:
2203 * inotify/inotify-helper.c:
2204 * glocaldirectorymonitor.[ch]:
2207 Update for the removed GDirectoryMonitor.
2209 * gmemoryoutputstream.c:
2210 Remove ununsed variable
2212 2008-01-07 Alexander Larsson <alexl@redhat.com>
2214 * gmemoryinputstream.c:
2215 Translate error strings
2218 * gmemoryoutputstream.[ch]:
2219 New implementation that avoids using GByteArray
2220 in implementation and API. (#506377)
2222 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2224 * tests/*: Add a test for memory input streams.
2226 * Makefile.am: Add tests to SUBDIRS.
2228 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2230 * glocalfilemonitor.c:
2231 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2234 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2236 * gdesktopappinfo.c: Fix a docs typo.
2238 * gfileattribute.c: Add information about extended attributes
2239 to the documentation. (#505058)
2241 2008-01-04 Alexander Larsson <alexl@redhat.com>
2244 * gmountoperation.c:
2245 Use the right type (uint) for the ask_password signal.
2247 2008-01-04 Alexander Larsson <alexl@redhat.com>
2252 Add g_app_info_supports_files()
2253 Remove desktop arg from g_app_info_should_show().
2255 * gdesktopappinfo.[ch]:
2256 Implement g_app_info_supports_files() and new should_show()
2257 Add g_desktop_app_info_set_desktop_env() to set the desktop
2258 for should_show(). (This will be set by gtk+ later)
2260 2008-01-04 Alexander Larsson <alexl@redhat.com>
2263 * gmemoryinputstream.[ch]:
2264 Improve API so that you can use multiple chunks
2265 of memory and custom destroy functions. (#506374)
2267 2008-01-03 Alexander Larsson <alexl@redhat.com>
2270 Handle NULL attribute matchers safely, as we return this
2271 for empty attribute matcher strings.
2273 2008-01-03 Alexander Larsson <alexl@redhat.com>
2275 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2276 Add /usr/local to list of internal mountpoints
2278 2008-01-03 Alexander Larsson <alexl@redhat.com>
2281 Check for HAVE_LCHOWN (#505887)
2283 2008-01-03 Alexander Larsson <alexl@redhat.com>
2287 Add define for selinux context attribute.
2288 Fix missing : -> :: namespace separator change
2289 Fix missing _ -> - name change for xattr-sys.
2292 2008-01-03 Alexander Larsson <alexl@redhat.com>
2295 Link to libglib and libgobject directly (#504879)
2296 Patch from Sebastien Bacher
2298 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2300 * gfile.c: Expanded the g_file_new_for_commandline_arg
2301 description a bit, based on the code and the docs of the
2302 other g_file_new_for_* functions.
2304 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2306 * gfilemonitor.h: Fixed typo in docs.
2308 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2310 Updates to GIO documentation. (#506395, Mikael Hermansson)
2312 * gcontenttype.c: Describe memory management for return value of
2313 g_content_types_get_registered(). Missing piece from #505815.
2314 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2315 GVolume, GDrive, GMounts, which hopefully gives the user less
2316 confusions when using this API. Following explainations from
2317 Alexander Larsson on gtk-devel-list.
2319 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2321 * gfileinfo.c: Expand the long description.
2323 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2326 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2327 fix builds with --disable-visibility. (#500273, Christian Persch)
2329 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2331 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2332 in the list of returned app infos.
2334 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2336 * gappinfo.c: Fix a cross-reference
2338 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2340 * gfileinputstream.c:
2341 * gfileoutputstream.c:
2345 * gdesktopappinfo.c:
2347 * gfileinfo.c: Documentation updates.
2349 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2351 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2354 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2356 * gcontenttype.c (g_content_types_get_registered): Don't return
2357 freed memory (#505815, Mikael Hermansson)
2359 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2361 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2362 used to detect statbuf->st_blocks. (#505042)
2364 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2366 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2367 environment handling. (#504829, Cosimo Cecchi)
2369 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2371 * gappinfo.c: Doc improvements
2373 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2376 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2378 * === Released 2.15.0 ===
2380 2007-12-20 Hans Breuer <hans@breuer.org>
2382 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2383 with symbols gwin32appinfo.obj, added gmount.obj
2384 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2386 2007-12-20 Alexander Larsson <alexl@redhat.com>
2392 * gfilenamecompleter.c:
2395 * gpollfilemonitor.c:
2396 File attribute renames:
2398 fs:: -> filesystem::
2399 id::fs -> id::filesystem
2401 2007-12-20 Alexander Larsson <alexl@redhat.com>
2410 Add GMountUnmountFlags to all unmount and
2412 Add g_mount_remount() call.
2414 2007-12-20 Alexander Larsson <alexl@redhat.com>
2416 * gvfs.c (get_default_vfs):
2417 Fix unused variable warning
2419 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2421 * pltcheck.sh: Update
2423 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2425 * gunionvolumemonitor.c:
2426 * gunixmount.c: Remove C99 comments
2428 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2430 * gio.symbols: Add some missing symbols
2432 2007-12-19 Alexander Larsson <alexl@redhat.com>
2435 Make g_io_modules_load_all_in_directory not unuse
2436 loaded modules so that users of it can do stuff
2438 Init internal "module" types.
2439 Initialize static prio and name for types so that
2440 we don't have to load modules to get it.
2442 * gnativevolumemonitor.h:
2444 Move is_supported to parent class so that
2445 non-native monitors can avoid being initialized
2446 too. (For instance GDaemonVolumeMonitor if we're
2447 not using GDaemonVfs.)
2449 * glocaldirectorymonitor.[ch]:
2450 * glocalfilemonitor.[ch]:
2451 * gunionvolumemonitor.c:
2452 * gunixvolumemonitor.c:
2454 Find plugins using the static prio+name to
2455 avoid unnecessarily loading the modules.
2457 2007-12-19 Alexander Larsson <alexl@redhat.com>
2462 2007-12-19 Alexander Larsson <alexl@redhat.com>
2464 * gunionvolumemonitor.c:
2465 Store the native type as GType, not class so that
2466 we can unload it. But still avoid unnecessarily
2469 2007-12-19 David Zeuthen <davidz@redhat.com>
2471 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2472 add signals 'disconnected' and 'eject-button' on GDrive. Add
2473 signal 'removed' on GVolume and 'unmounted' on GMount.
2475 * gdrive.c: (g_drive_base_init):
2477 * gfile.c: (g_file_mount_mountable),
2478 (g_file_mount_enclosing_volume):
2481 * gmount.c: (g_mount_base_init):
2483 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2484 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2485 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2489 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2491 * *.c: Fix up includes in the section docs.
2493 2007-12-17 Alexander Larsson <alexl@redhat.com>
2495 * gnativevolumemonitor.h:
2496 * gunionvolumemonitor.c:
2497 * gunixvolumemonitor.c:
2498 Add is_supported() to GNativeVolumeMonitorClass so
2499 that we can avoid having to create an object to see
2500 if the backend is supported at runtime.
2501 Also add name member and an env var to pick a specific
2502 volume monitor backend.
2506 Add cancellable to _g_mount_get_for_mount_path()
2508 * glocaldirectorymonitor.c:
2509 * glocalfilemonitor.c:
2510 Avoid loading and unloading modules while sorting.
2512 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2515 * gunixmounts.[hc]: Namespace waste reduction, move some
2516 g_get_unix_mount functions to the g_unix_mount namespace.
2519 * gunixvolumemonitor.c:
2521 * glocaldirectorymonitor.c: Update all callers.
2523 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2525 2007-12-17 Alexander Larsson <alexl@redhat.com>
2528 Add doc comments about what GFile operations are
2529 guaranteed to not block.
2531 2007-12-17 Alexander Larsson <alexl@redhat.com>
2534 Add missing #ifdef fixing OSX build.
2535 (#503334, patch from Richard Hult)
2537 2007-12-14 David Zeuthen <davidz@redhat.com>
2541 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2542 (g_mount_eject), (g_mount_eject_finish):
2544 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2545 (get_volume_for_uuid), (get_mount_for_uuid),
2546 (g_union_volume_monitor_class_init),
2547 (get_default_native_type_with_exclude), (get_default_native_type),
2548 (get_native_type), (update_native_type),
2549 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2550 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2551 (g_unix_mount_can_eject), (eject_unmount_cb),
2552 (eject_unmount_read_error), (eject_unmount_do),
2553 (g_unix_mount_unmount), (g_unix_mount_eject),
2554 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2555 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2556 (g_unix_mount_point_guess_can_eject):
2558 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2559 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2560 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2561 (g_unix_volume_mount), (g_unix_volume_eject),
2562 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2563 * gunixvolumemonitor.c: (get_volume_for_uuid),
2564 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2566 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2567 (g_volume_eject), (g_volume_eject_finish):
2569 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2570 (g_volume_monitor_get_mount_for_uuid):
2573 Provide eject() on both GMount and GVolume and utility functions
2574 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2575 ejected. Introduce the concept of UUID's and wire it into GVolume
2576 and GMount and provide API on GVolumeMonitor to find such
2577 instances. Also handle the case where an external
2578 GNativeVolumeMonitor fails to initialize. Lock around the
2579 _g_get_mount_for_mount_path() function such that volume monitor
2580 implementations won't have to do locking themselves.
2582 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2584 * gdesktopappinfo.c:
2590 * gvolume.h: Documentation updates
2592 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2595 * gfile.h: Doc updates
2597 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2600 * gdesktopappinfo.c: Use hash table iterators.
2602 2007-12-14 Alexander Larsson <alexl@redhat.com>
2605 * gfileattribute.[ch]:
2606 * gfileattribute-priv.h:
2607 Move GFileAttributeValue to a private header, as
2611 Make set_attribute take a type + a pointer instead
2612 of a GFileAttributeValue.
2615 Fix up for above changes.
2616 Add g_file_info_get_attribute_data to get
2617 all info in one call, g_file_info_get_attribute_status
2618 to get the status and g_file_info_get_attribute_as_string.
2622 * glocalfileinfo.[ch]:
2626 Make _guess_type static.
2628 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2631 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2632 made mkenums and friends use temporary files to avoid leaving
2633 empty generated files on failure (#503470).
2635 2007-12-14 Alexander Larsson <alexl@redhat.com>
2637 * gmountoperation.h:
2640 2007-12-14 Alexander Larsson <alexl@redhat.com>
2644 * gfileattribute.[ch]:
2647 * glocalfileoutputstream.c:
2648 * gmountoperation.[ch]:
2649 * goutputstream.[ch]:
2650 Clean up all flags enums to not have _FLAGS in them
2651 Make the names of some of the enums better.
2656 2007-12-14 Michael Natterer <mitch@imendio.com>
2658 * gio.symbols: fix g_io_scheduler symbol names.
2660 2007-12-14 Alexander Larsson <alexl@redhat.com>
2666 * gbufferedinputstream.h:
2667 * gbufferedoutputstream.h:
2670 * gdatainputstream.h:
2671 * gdataoutputstream.h:
2672 * gdesktopappinfo.h:
2673 * gdirectorymonitor.h:
2677 * gfileenumerator.h:
2680 * gfileinputstream.h:
2682 * gfilenamecompleter.h:
2683 * gfileoutputstream.h:
2684 * gfilterinputstream.h:
2685 * gfilteroutputstream.h:
2693 * gmemoryinputstream.h:
2694 * gmemoryoutputstream.h:
2696 * gmountoperation.h:
2699 * gsimpleasyncresult.h:
2701 * gunixinputstream.h:
2703 * gunixoutputstream.h:
2707 * inotify/Makefile.am:
2708 Only allow including <gio/gio.h> from apps
2710 2007-12-14 Alexander Larsson <alexl@redhat.com>
2712 * gioscheduler.[ch]:
2713 * gsimpleasyncresult.c:
2714 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2715 Split out the send_to_mainloop call into two versions instead
2716 of having the block argument.
2718 2007-12-13 Alexander Larsson <alexl@redhat.com>
2720 * gcancellable.[ch]:
2722 * gbufferedinputstream.c:
2723 * gfileenumerator.c:
2724 * gfileinputstream.c:
2725 * gfileoutputstream.c:
2729 g_push/pop_current_cancellable ->
2730 g_cancellable_push/pop_current
2732 2007-12-13 Alexander Larsson <alexl@redhat.com>
2736 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2738 2007-12-13 Alexander Larsson <alexl@redhat.com>
2740 * gmountoperation.h:
2741 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2743 2007-12-12 Alexander Larsson <alexl@redhat.com>
2746 Fix race condition when freeing proxy in
2747 g_io_job_send_to_mainloop().
2749 2007-12-12 Alexander Larsson <alexl@redhat.com>
2755 Make attribute namespace separator "::" instead of ":".
2756 Use - instead of _ as separator in attribute names.
2758 2007-12-12 Alexander Larsson <alexl@redhat.com>
2760 * gbufferedinputstream.h:
2761 * gbufferedoutputstream.h:
2762 * gdatainputstream.h:
2763 * gdataoutputstream.h:
2764 * gdirectorymonitor.h:
2765 * gfileenumerator.h:
2766 * gfileinputstream.h:
2768 * gfileoutputstream.h:
2769 * gfilterinputstream.h:
2770 * gfilteroutputstream.h:
2772 * glocalfileinputstream.h:
2773 * glocalfileoutputstream.h:
2774 * gmemoryinputstream.h:
2775 * gmemoryoutputstream.h:
2776 * gnativevolumemonitor.h:
2778 * gunixinputstream.h:
2779 * gunixoutputstream.h:
2782 s/parent/parent_instance/ in GObjects
2784 2007-12-12 Alexander Larsson <alexl@redhat.com>
2789 No need for padding for interfaces
2791 2007-12-12 Alexander Larsson <alexl@redhat.com>
2795 * gbufferedinputstream.c:
2796 * gbufferedoutputstream.c:
2799 * gdatainputstream.[ch]:
2800 * gdesktopappinfo.c:
2801 * gdirectorymonitor.c:
2803 * gfileattribute.[ch]:
2806 * gfileinputstream.h:
2807 * gfilemonitor.[ch]:
2808 * gfileoutputstream.[ch]:
2809 * gfilterinputstream.h:
2810 * gfilteroutputstream.h:
2813 * gloadableicon.[ch]:
2814 * gmemoryinputstream.c:
2815 * gmountoperation.c:
2817 Fix up a bunch of details in the docs.
2822 2007-12-11 David Zeuthen <davidz@redhat.com>
2824 Rework how volumes, drives and volume monitoring is
2825 done. Previosly the model was
2827 GDrive <1-1> GVolume
2829 where a GDrive instance represented a mount point and a GVolume
2830 instance represented a mounted file system. This patch changes it
2833 GDrive <1-N> GVolume <1-1> GMount
2835 where GMount now serves the purpose of the old GVolume and the new
2836 GVolume serves the purpose of the old GDrive. In addition the new
2837 GDrive interface is used to represent a collection of GVolume
2838 instances (typically partitions) and also contains utility to query
2839 the state of the physical drive the GDrive object represents (such
2840 as checking for media, polling the drive, ejecting the media etc.).
2842 Also implement mounting and unmounting in the Unix volume monitor
2843 backend. A subquent patch will introduce GDrive support for ejection
2847 * gdrive.c: (g_drive_is_media_check_automatic),
2848 (g_drive_is_media_removable), (g_drive_has_media),
2849 (g_drive_can_poll_for_media), (g_drive_eject),
2850 (g_drive_eject_finish), (g_drive_poll_for_media),
2851 (g_drive_poll_for_media_finish):
2853 * gfile.c: (g_file_find_enclosing_mount):
2856 * glocaldirectorymonitor.c:
2857 (g_local_directory_monitor_constructor), (mounts_changed):
2858 * glocalfile.c: (get_mount_info),
2859 (g_local_file_find_enclosing_mount),
2860 (g_local_file_file_iface_init):
2861 * gnativevolumemonitor.h:
2862 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2863 (get_connected_drives), (g_union_volume_monitor_class_init),
2864 (child_volume_added), (child_volume_removed),
2865 (child_volume_changed), (child_mount_added), (child_mount_removed),
2866 (child_mount_pre_unmount), (child_mount_changed),
2867 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2868 (g_union_volume_monitor_remove_monitor),
2869 (_g_mount_get_for_mount_path):
2870 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2871 (guess_system_internal), (_g_get_unix_mounts),
2872 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2873 (g_unix_mount_free), (g_unix_mount_compare),
2874 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2875 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2876 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2877 (type_to_icon), (g_unix_mount_guess_name),
2878 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2879 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2880 (_resolve_symlink), (_resolve_dev_root):
2882 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2883 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2884 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2885 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2886 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2887 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2888 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2889 (g_unix_volume_volume_iface_init):
2891 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2892 (get_mounts), (get_volumes), (get_connected_drives),
2893 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2894 (mountpoints_changed), (mounts_changed),
2895 (g_unix_volume_monitor_init),
2896 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2897 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2898 * gunixvolumemonitor.h:
2899 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2900 (g_volume_mount), (g_volume_mount_finish):
2902 * gvolumemonitor.c: (g_volume_monitor_class_init),
2903 (g_volume_monitor_get_connected_drives),
2904 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2907 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2909 * gmountoperation.h (GPasswordFlags): Close the gap
2911 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2913 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2915 * gdesktopappinfo.[hc]: Remove _-prefixes
2917 2007-12-10 Tor Lillqvist <tml@novell.com>
2919 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2922 2007-12-10 Alexander Larsson <alexl@redhat.com>
2924 * gfile.c (g_file_set_display_name):
2925 Don't hardcode '/' (#502727)
2927 2007-12-09 Hans Breuer <hans@breuer.org>
2929 * makefile.msc : follow lib naming convention
2930 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2931 for user and group name, tested with ../tests/gio-ls
2933 2007-12-09 A. Walton <awalton@svn.gnome.org>
2935 * gdesktopappinfo.c:
2941 * gfileenumerator.c:
2946 * gmemoryinputstream.c:
2947 * gmemoryoutputstream.c:
2949 * gsimpleasyncresult.c:
2950 More documentation cleanup and filling in missing information, bringing
2951 GIO to 99% symbol coverage.
2953 2007-12-08 Hans Breuer <hans@breuer.org>
2955 [gio compiles and links on win32, not sure how much already works]
2956 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2957 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2958 base on win32 API; prefer g_lstat() over lstat(); instead of
2959 localtime_r() use an all GLib implementation on win32;
2960 get_mount_info() still needs a win32 specifc implementation
2961 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2962 win32_get_file_user_info to get owner/group info without uid/gid
2963 * glocalfileinputstream.c : include <io.h> on win32
2964 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2965 definition, use g_win32_ftruncate() for G_OS_WIN32
2966 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2967 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2968 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2969 * makefile.msc : updated
2971 2007-12-07 Alexander Larsson <alexl@redhat.com>
2973 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2974 Avoid warning spew if error == NULL
2976 2007-12-07 Alexander Larsson <alexl@redhat.com>
2979 Update docs wrt etags
2981 2007-12-06 Alexander Larsson <alexl@redhat.com>
2984 Include sys/types.h for dev_t (#501919)
2986 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2990 Make abicheck and pltcheck pass.
2992 2007-12-05 Alexander Larsson <alexl@redhat.com>
2995 * giomodule-priv.h: Added.
2996 * glocaldirectorymonitor.c:
2997 * glocalfilemonitor.c:
2998 * gunionvolumemonitor.c:
3000 Actually add the declaration of _g_io_modules_ensure_loaded
3002 2007-12-05 Alexander Larsson <alexl@redhat.com>
3004 * gdatainputstream.c:
3009 * glocaldirectorymonitor.c:
3010 * glocalfilemonitor.c:
3011 * gunionvolumemonitor.c:
3013 Make g_io_modules_ensure_loaded a private function and
3014 don't pass in the dirname. This means we can do magic
3015 directory finding in the win32 version.
3016 Export the actual load-modules-in-directory code so that
3017 gvfs can reuse that.
3019 2007-12-05 Alexander Larsson <alexl@redhat.com>
3021 * gbufferedinputstream.c:
3022 * gbufferedoutputstream.c:
3025 * gfileenumerator.[ch]:
3026 * gfileinputstream.c:
3027 * gfileoutputstream.[ch]:
3028 * gfilterinputstream.c:
3029 * gfilteroutputstream.c:
3030 * ginputstream.[ch]:
3032 * glocalfileenumerator.c:
3033 * glocalfileinputstream.c:
3034 * glocalfileoutputstream.c:
3035 * gmemoryinputstream.c:
3036 * gmemoryoutputstream.c:
3037 * goutputstream.[ch]:
3040 * gunixinputstream.c:
3041 * gunixoutputstream.c:
3042 Rename all struct members named:
3043 read, write, close, truncate, or mount
3044 to foo_fn, as these are reserved names
3045 and could be defined as macros in libc.
3048 2007-12-04 Alexander Larsson <alexl@redhat.com>
3051 (g_output_stream_close):
3052 Only call flush if non-null.
3054 2007-11-30 Dan Winship <danw@gnome.org>
3056 * ginputstream.c (g_input_stream_set_pending): Make this take a
3057 GError and return a gboolean, and do the "outstanding operation"
3058 check (and the "stream is already closed" check) itself.
3059 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3061 * goutputstream.c (g_output_stream_set_pending)
3062 (g_output_stream_clear_pending): Likewise
3064 * gbufferedinputstream.c:
3065 * gfileinputstream.c:
3066 * gfileoutputstream.c: Update for that
3068 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3069 Like g_simple_async_report_error_in_idle, but takes a GError
3070 rather than building one.
3072 2007-11-30 Dan Winship <danw@gnome.org>
3074 * goutputstream.c: Don't cheat and unset the "pending" flag around
3075 inner calls. Instead, call the class method directly rather than
3076 the wrapper function that checks "pending"
3078 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3080 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3082 2007-12-03 Hans Breuer <hans@breuer.org>
3084 [start of port to win32/msvc]
3085 * gcancellable.c : HAVE_UNIST_H and _pipe()
3086 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3087 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3088 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3090 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3091 * glocalvfs.c : use HAVE_PWD_H
3092 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3093 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3094 * Makefile.am : added to EXTRA_DIST
3096 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3098 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3101 2007-12-03 Alexander Larsson <alexl@redhat.com>
3104 Handle OSX style xattrs API (#500506)
3106 2007-12-03 Alexander Larsson <alexl@redhat.com>
3110 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3112 2007-12-02 A. Walton <awalton@svn.gnome.org>
3116 Documentation accuracy fixes.
3118 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3120 * gioenumtypes.c.template: Fix typo.
3122 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3124 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3126 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3128 * gdirectorymonitor.c:
3129 * gfilemonitor.c: Add properties
3131 * gbufferedoutputstream.c: Don't mark buffer-size property
3134 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3136 * gbufferedoutputstream.c: Add auto-grow property.
3138 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3140 * *.c: Unify the capitalization of section headings.
3142 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3144 * gmountoperation.c: Add properties
3146 * gdatainputstream.c: Turn byte-order and newline-type into
3149 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3151 * gioenumtypes.[hc].template: Templates for enum registration
3153 * Makefile.am: Generate gioenumtypes.[hc]
3155 * gio.h: Include gioenumtypes.h
3157 * gfile.h: Add some explicit nicks.
3159 * gio.symbols: Add new symbols
3161 * pltcheck.sh: Adjust
3163 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3165 * *.c: Explain etags and link to the explanation
3167 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3169 * *.c: Explain I/O priority.
3171 * *.c: More coding style fixes.
3173 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3175 * gasyncresult.c: Add another paragraph to the intro,
3176 adjust coding style of example.
3178 2007-11-29 A. Walton <awalton@svn.gnome.org>
3181 Fixes unknown meaning in GAppLaunchContext docs.
3183 Clarify asynchronous ops.
3185 Fix entity tag docs.
3188 Provides missing gtk-doc section, fixes API docs slighly.
3189 * gsimpleasyncresult.c:
3190 Fill in missing info in docs.
3191 * gunixinputstream.c:
3192 * gunixoutputstream.c:
3193 Be more expressive in short description.
3195 Remove gtk-doc stubs for non-public API.
3197 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3199 * *.c: Coding style fixups
3201 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3203 * inotify/inotify-helper.c: Don't export the lock from libgio.
3205 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3208 * abicheck.sh: Fix copy-and-paste leftovers
3210 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3212 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3214 2007-11-28 Alexander Larsson <alexl@redhat.com>
3218 Removed unnecessary file
3220 * gdesktopappinfo.[ch]:
3223 * glocaldirectorymonitor.[ch]:
3225 * glocalfileenumerator.[ch]:
3226 * glocalfileinputstream.[ch]:
3227 * glocalfilemonitor.[ch]:
3228 * glocalfileoutputstream.[ch]:
3230 * gnativevolumemonitor.c:
3231 * gpollfilemonitor.[ch]:
3232 * gunionvolumemonitor.[ch]:
3235 * gunixvolumemonitor.[ch]:
3238 * inotify/ginotifydirectorymonitor.[ch]:
3239 * inotify/ginotifyfilemonitor.[ch]:
3240 * inotify/inotify-helper.c:
3241 Append _ to all internal functions
3245 Export symbols needed for modules
3247 2007-11-28 Alexander Larsson <alexl@redhat.com>
3250 * abicheck.sh: Added.
3251 * makegioalias.pl: Added.
3252 * pltcheck.sh: Added.
3253 * gio.symbols: Added.
3256 Initial work on adding symbol handling.
3259 Correct ifdef guard name
3262 * inotify/Makefile.am:
3263 * xdgmime/Makefile.am:
3264 Include toplevel Makefile.decl
3266 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3268 * gcontenttype.c: Move doc comments to the unix section.
3270 * *.[hc]: More trivial doc corrections.
3272 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3274 * gpollfilemonitor.c:
3278 * gdesktopappinfo.c:
3283 * gdatainputstream.c:
3284 * gdatainputstream.h:
3285 * gdataoutputstream.c:
3286 * gdataoutputstream.h:
3287 * gfileinfo.h: Doc cleanups
3289 2007-11-28 Andre Klapper <a9016009@gmx.de>
3291 * gdesktopappinfo.c: Fix a typo.
3293 2007-11-27 Andre Klapper <a9016009@gmx.de>
3295 * glocalfileoutputstream.c: Fix a typo.
3297 2007-11-27 Alexander Larsson <alexl@redhat.com>
3300 Don't include removed headers
3302 2007-11-27 Alexander Larsson <alexl@redhat.com>
3305 * gsocketinputstream.[ch]: Removed.
3306 * gsocketoutputstream.[ch]: Removed.
3307 * gunixinputstream.[ch]: Added.
3308 * gunixoutputstream.[ch]: Added.
3309 Renamed GSocket*Stream to GUnix*Stream and made
3310 it unix-only, since its not really only for sockets
3311 and it only works on unix (but is highly useful there).
3313 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3319 * gbufferedinputstream.c:
3320 * gbufferedinputstream.h:
3321 * gbufferedoutputstream.c:
3322 * gbufferedoutputstream.h:
3326 * gdatainputstream.c:
3327 * gdatainputstream.h:
3328 * gdataoutputstream.c:
3329 * gdataoutputstream.h:
3330 * gdirectorymonitor.c:
3331 * gdirectorymonitor.h:
3338 * gfileenumerator.c:
3339 * gfileenumerator.h:
3344 * gfileinputstream.c:
3345 * gfileinputstream.h:
3348 * gfilenamecompleter.c:
3349 * gfilenamecompleter.h:
3350 * gfileoutputstream.c:
3351 * gfileoutputstream.h:
3352 * gfilterinputstream.c:
3353 * gfilterinputstream.h:
3354 * gfilteroutputstream.c:
3355 * gfilteroutputstream.h:
3368 * glocalfileoutputstream.c:
3369 * gmemoryinputstream.c:
3370 * gmemoryinputstream.h:
3371 * gmemoryoutputstream.c:
3372 * gmemoryoutputstream.h:
3373 * gmountoperation.c:
3374 * gmountoperation.h:
3377 * gpollfilemonitor.c:
3380 * gsimpleasyncresult.c:
3381 * gsimpleasyncresult.h:
3382 * gsocketinputstream.c:
3383 * gsocketinputstream.h:
3384 * gsocketoutputstream.c:
3385 * gsocketoutputstream.h:
3392 * gunixvolumemonitor.c:
3401 Bumps documentation to 93% symbol coverage, touching most
3402 of the public files. Fixes broken function documentation prototypes.
3403 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3404 gtk-doc headers in private files.
3406 2007-11-27 Jürg Billeter <j@bitron.ch>
3408 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3409 (g_buffered_input_stream_read_byte):
3410 * gbufferedinputstream.h:
3411 New functions for efficient access to buffer and simple single byte
3414 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3415 (g_data_input_stream_read_until):
3416 * gdatainputstream.h:
3417 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3418 read_until with multiple stop chars.
3420 2007-11-27 Alexander Larsson <alexl@redhat.com>
3424 * inotify/Makefile.am:
3425 Use the user-specified giomoduledir
3427 2007-11-27 Alexander Larsson <alexl@redhat.com>
3431 Add catch-all gio.h header
3432 Don't install gdummyfile.h
3434 2007-11-26 Alexander Larsson <alexl@redhat.com>
3436 * Makefile.am (gioinclude_HEADERS):
3437 Remove trailing whitespace
3439 2007-11-26 Alexander Larsson <alexl@redhat.com>
3441 Merge gio-standalone into glib
3443 2007-11-25 Christian Kellner <gicmo@gnome.org>
3445 * gio/goutputstream.c:
3446 Fix small mistake in the docs.
3448 2007-11-21 Christian Persch <chpe@gnome.org>
3450 * gio/glocalfile.c: (g_local_file_trash):
3451 Convert filenames to UTF-8 for GError.
3452 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3453 as per xdg base dir spec.
3455 2007-11-21 Christian Persch <chpe@gnome.org>
3457 * gio/gdesktopappinfo.c:
3458 Use that g_key_file_to_data cannot fail.
3460 Use stock defines for the key file group and key names.
3463 2007-11-21 Alexander Larsson <alexl@redhat.com>
3466 (copy_stream_with_progress):
3467 Make sure we do a final progress callback with
3468 the full total size.
3470 2007-11-21 Alexander Larsson <alexl@redhat.com>
3473 Export g_file_copy_attributes
3474 Remove padding as its not needed for interfaces
3476 2007-11-20 Alexander Larsson <alexl@redhat.com>
3481 Add G_IO_ERROR_WOULD_MERGE for
3482 copy/move dir on dir with overwrite.
3484 2007-11-20 Alexander Larsson <alexl@redhat.com>
3487 * gio/glocalfileinfo.c:
3488 Add COPY_NAME (this is an optional
3489 non-modified utf8 version of the name) that
3492 2007-11-20 Alexander Larsson <alexl@redhat.com>
3494 * gio/glocalfileenumerator.c:
3495 Report errors as GIOError, not GFileError
3497 2007-11-16 Alexander Larsson <alexl@redhat.com>
3499 * gio/glocalfileoutputstream.c:
3500 * gio/gwin32appinfo.c:
3501 Fix typos in strings.
3502 Patch from Luca Ferretti <elle.uca@libero.it>
3504 2007-11-15 Alexander Larsson <alexl@redhat.com>
3507 Post release version bump
3509 === gio-standalone 0.1.2 ===
3511 2007-11-15 Alexander Larsson <alexl@redhat.com>
3513 * docs/reference/gio/Makefile.am:
3514 Fix up distcheck by removing weird
3520 2007-11-14 Alexander Larsson <alexl@redhat.com>
3522 * gio/gdesktopappinfo.c:
3523 * gio/glocaldirectorymonitor.c:
3525 * gio/glocalfileinfo.c:
3526 * gio/inotify/inotify-sub.c:
3527 * programs/gio-cat.c:
3528 * programs/gio-copy.c:
3529 * programs/gio-info.c:
3530 * programs/gio-ls.c:
3531 * programs/gio-monitor-dir.c:
3532 * programs/gio-monitor-file.c:
3533 * programs/gio-mount.c:
3534 * programs/gio-move.c:
3535 * programs/gio-rm.c:
3536 * programs/gio-save.c:
3537 * programs/gio-trash.c:
3538 Leak fixes from Kjartan Maraas
3540 2007-11-14 Alexander Larsson <alexl@redhat.com>
3542 * gio/fam/fam-helper.c:
3544 * gio/glocalfileinfo.c:
3548 * gio/inotify/inotify-diag.c:
3549 * gio/inotify/inotify-kernel.c:
3550 Various code cleanups from Kjartan Maraas
3552 2007-11-14 Alexander Larsson <alexl@redhat.com>
3554 * gio/gioscheduler.c:
3556 Set up threadpool so that we cache 2 unused
3557 idle threads for at 15 secs. This means we
3558 will reuse thread-local data (like dbus connections)
3561 2007-11-14 Alexander Larsson <alexl@redhat.com>
3563 * gio/fam/fam-helper.c:
3564 * gio/fam/gfamdirectorymonitor.c:
3565 * gio/fam/gfamfilemonitor.c:
3567 * gio/gcontenttype.c:
3568 * gio/gdatainputstream.c:
3569 * gio/gdataoutputstream.c:
3573 * gio/gfileattribute.h:
3574 * gio/gfileenumerator.c:
3576 * gio/ginputstream.c:
3579 * gio/glocalfileinfo.c:
3580 * gio/goutputstream.c:
3581 * gio/gpollfilemonitor.c:
3582 * gio/gsimpleasyncresult.c:
3583 * gio/gunixmounts.c:
3584 * gio/gunixmounts.h:
3585 * gio/inotify/ginotifydirectorymonitor.c:
3586 * gio/inotify/ginotifyfilemonitor.c:
3587 * gio/inotify/inotify-diag.c:
3588 * gio/inotify/inotify-kernel.c:
3589 * gio/inotify/inotify-path.c:
3591 * gio/test-streams.c:
3592 * programs/gio-info.c:
3593 * programs/gio-monitor-dir.c:
3594 * programs/gio-monitor-file.c:
3595 Various code cleanups from Kjartan Maraas
3597 2007-11-13 Alexander Larsson <alexl@redhat.com>
3600 Handle the uri-scheme calls for dummy files
3602 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3604 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3605 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3606 to avoid clash with the C++ keyword.
3608 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3610 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3611 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3613 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3615 * gio/glocaldirectorymonitor.c:
3616 * gio/glocalfilemonitor.c:
3617 * gio/gunionvolumemonitor.c:
3618 Don't use g_once_init_*() for initializations that could fail and
3619 could leave the initialization variable set to 0 but use GOnce.
3620 This prevents a deadlock on the second call when trying to create
3621 a monitor and no monitor type is available. Thanks to Sven Herzberg
3624 2007-11-11 Sven Herzberg <sven@imendio.com>
3626 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3627 #ifdef (make it work on MacOS X again)
3629 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3631 Fixes Changelog for last two commits (sorry guys).
3633 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3635 * gio/gbufferedinputstream.c:
3636 * gio/gdatainputstream.c:
3638 * gio/gfileoutputstream.c:
3639 * gio/gfilterinputstream.c:
3640 * gio/glocalfileinputstream.c:
3643 More consistency fixes in g*stream.c files.
3644 Significant clean of gfile's documentation, filling in of
3645 asynchronous operations documentation.
3647 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3649 * gio/gasyncresult.c:
3650 * gio/gbufferedinputstream.c:
3651 * gio/gbufferedoutputstream.c:
3652 * gio/gcancellable.c:
3653 * gio/gcontenttype.c:
3654 * gio/gdatainputstream.c:
3655 * gio/gdataoutputstream.c:
3656 * gio/gdesktopappinfo.c:
3659 * gio/gfileattribute.c:
3660 * gio/gio/gfileenumerator.c:
3662 * gio/gfileinputstream.c:
3663 * gio/gfilemonitor.c:
3664 * gio/gfileoutputstream.c:
3665 * gio/ginputstream.c:
3667 * gio/gioscheduler.c:
3668 * gio/gloadableicon.c:
3669 * gio/glocalfileoutputstream.c:
3670 * gio/gmemoryoutputstream.c:
3671 * gio/gmountoperation.c:
3672 * gio/goutputstream.c:
3674 * gio/gsimpleasyncresult.c:
3675 * gio/gunionvolumemonitor.c:
3676 * gio/gunixmounts.c:
3677 * gio/gunixvolume.c:
3681 * gio/gvolumemonitor.c:
3682 Updated documentation stubs, working towards consistency and
3685 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3687 * gio/gmemoryoutputstream.c:
3688 * gio/gmemoryoutputstream.h:
3689 Change g_memory_output_stream_set_free_on_close() to
3690 g_memory_output_stream_set_free_data() as this makes more sense and
3691 is more consistent with GMemoryInputStream.
3693 2007-11-07 Alexander Larsson <alexl@redhat.com>
3700 Change how we find the default vfs so that
3701 we can handle a gvfs failing to init
3703 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3705 * gio/gbufferedoutputstream.c:
3706 * gio/gdatainputstream.c:
3707 * gio/gdataoutputstream.c:
3708 * gio/gfileinputstream.c:
3709 * gio/gfileoutputstream.c:
3710 * gio/gfilterinputstream.c:
3711 * gio/gfilteroutputstream.c:
3712 * gio/ginputstream.c:
3713 * gio/gmemoryinputstream.c:
3714 * gio/gmemoryoutputstream.c:
3715 * gio/goutputstream.c:
3716 * gio/gsimpleasyncresult.c:
3717 * gio/gsocketinputstream.c:
3718 * gio/gsocketoutputstream.c:
3719 Add guards to the remaining public functions, add a TODO for
3720 an unimplemented function and remove some useless guards.
3722 2007-11-07 Alexander Larsson <alexl@redhat.com>
3725 Autoconf checks for the various types of
3726 getpwuid_r and getgrgid_r
3728 * gio/glocalfileinfo.c:
3729 Use the autoconf checks from above
3731 2007-11-07 Alexander Larsson <alexl@redhat.com>
3734 (g_local_file_query_filesystem_info):
3735 Some fixes for the statvfs case
3737 2007-11-07 Alexander Larsson <alexl@redhat.com>
3740 (g_local_file_query_filesystem_info):
3741 Pick the "best" of statfs / statvfs for the system
3742 if both are availible.
3744 2007-11-07 Alexander Larsson <alexl@redhat.com>
3746 Solaris fixes from Halton.Huo@Sun.COM:
3753 * gio/glocalfileinfo.c:
3754 Fix for solaris definition of getpwuid_r
3756 * gio/test-streams.c:
3757 Use G_GNUC_PRETTY_FUNCTION
3759 2007-11-07 Alexander Larsson <alexl@redhat.com>
3761 * gio/gdesktopappinfo.c:
3762 (update_default_list):
3763 Remove double semicolon.
3764 Patch from Jens Granseuer
3766 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3768 * docs/reference/gio/gio-sections.txt:
3769 * gio/gbufferedinputstream.c:
3770 * gio/gbufferedinputstream.h:
3771 * gio/gdatainputstream.c:
3772 * gio/gfileenumerator.c:
3773 * gio/gioscheduler.c:
3774 * gio/gunionvolumemonitor.c:
3776 * programs/gio-save.c:
3777 Fix typo: availible -> available. Unfortuntely this breaks API
3778 and ABI as g_buffered_input_stream_get_available() was renamed.
3780 * gio/gunixmounts.c:
3781 * gio/gbufferedinputstream.c:
3782 Add guards for public functions.
3784 2007-11-06 Ross Burton <ross@openedhand.com>
3786 * docs/reference/gio/Makefile.am:
3787 Fix invalid += usage which automake 1.10 doesn't like.
3789 2007-11-06 Alexander Larsson <alexl@redhat.com>
3792 (g_app_launch_context_class_init):
3795 Patch from Ross Burton
3797 2007-11-06 Alexander Larsson <alexl@redhat.com>
3800 Post release version bump
3802 === gio-standalone 0.1.1 ===
3804 2007-11-06 Alexander Larsson <alexl@redhat.com>
3807 Bump version to 0.1.1
3809 * gio/gsimpleasyncresult.c:
3810 (g_simple_async_result_set_from_error):
3811 Remove bogus g_return_if_fail
3813 2007-11-06 Alexander Larsson <alexl@redhat.com>
3816 The name is gio-standalone
3819 Add top src/builddir to includedir
3821 2007-11-06 Alexander Larsson <alexl@redhat.com>
3823 * docs/reference/gio/gio-sections.txt:
3825 * gio/gbufferedinputstream.c:
3826 * gio/gbufferedoutputstream.c:
3827 * gio/gcancellable.c:
3828 * gio/gdatainputstream.h:
3829 * gio/gdataoutputstream.c:
3830 * gio/gdataoutputstream.h:
3831 * gio/gdirectorymonitor.c:
3833 * gio/gfileattribute.c:
3834 * gio/gfileattribute.h:
3835 * gio/gfileenumerator.c:
3836 * gio/gfileenumerator.h:
3839 * gio/gfileinputstream.h:
3840 * gio/gfilemonitor.c:
3841 * gio/gfileoutputstream.h:
3842 * gio/glocalfilemonitor.h:
3843 * gio/glocalfileoutputstream.h:
3844 * gio/gmemoryinputstream.c:
3845 * gio/gmemoryoutputstream.c:
3846 * gio/gmountoperation.c:
3847 * gio/goutputstream.c:
3848 * gio/goutputstream.h:
3850 * gio/gsimpleasyncresult.c:
3851 * gio/gunixmounts.c:
3852 * gio/gunixmounts.h:
3854 * gio/inotify/inotify-helper.c:
3855 Fix gtk-doc warnings
3857 Patch from Ross Burton
3859 2007-11-06 Alexander Larsson <alexl@redhat.com>
3861 * gio/gfilenamecompleter.c:
3862 (g_filename_completer_get_completions):
3865 * gio/gunixvolume.c:
3866 Remove unused function
3868 Patches from Ross Burton
3870 2007-11-06 Alexander Larsson <alexl@redhat.com>
3875 Padding not needed for interfaces
3877 2007-11-06 Alexander Larsson <alexl@redhat.com>
3879 * gio/gfilemonitor.c:
3883 Make giotypes.h an internal file
3886 * gio/gbufferedinputstream.h:
3887 * gio/gbufferedoutputstream.h:
3888 * gio/gcancellable.h:
3889 * gio/gdatainputstream.h:
3890 * gio/gdataoutputstream.h:
3891 * gio/gdirectorymonitor.c:
3892 * gio/gdirectorymonitor.h:
3897 * gio/gfileattribute.h:
3898 * gio/gfileenumerator.h:
3903 * gio/gfilemonitor.c:
3904 * gio/gfilemonitor.h:
3905 * gio/gfilenamecompleter.c:
3906 * gio/gfilenamecompleter.h:
3907 * gio/gfilterinputstream.h:
3908 * gio/gfilteroutputstream.h:
3909 * gio/ginputstream.h:
3910 * gio/gmemoryinputstream.h:
3911 * gio/gmemoryoutputstream.h:
3912 * gio/gmountoperation.c:
3913 * gio/gmountoperation.h:
3914 * gio/gnativevolumemonitor.c:
3915 * gio/goutputstream.h:
3918 * gio/gsimpleasyncresult.c:
3919 * gio/gsimpleasyncresult.h:
3920 * gio/gsocketinputstream.h:
3921 * gio/gsocketoutputstream.h:
3922 * gio/gthemedicon.c:
3923 * gio/gthemedicon.h:
3927 * gio/gvolumemonitor.c:
3928 * gio/gvolumemonitor.h:
3929 Add padding in classes where it seems useful
3930 Don't include giotypes.h from public headers
3931 Move in Class definitions into c file where possible
3936 2007-11-06 Alexander Larsson <alexl@redhat.com>
3938 * docs/reference/gio/gio-docs.xml:
3939 Better structure for API docs
3941 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3944 * gio/gloadableicon.c:
3945 * gio/gsimpleasyncresult.c:
3946 * gio/gthemedicon.c:
3947 Add some more guards to public functions. Only files missing are now
3950 2007-11-06 Alexander Larsson <alexl@redhat.com>
3952 * docs/reference/gio/gio-docs.xml:
3953 Remove old files, add missing ones
3955 2007-11-06 Alexander Larsson <alexl@redhat.com>
3957 * docs/reference/gio/gio-sections.txt:
3960 Hide implementation classes
3962 * gio/gdriveprivate.h:
3963 * gio/gvolumeprivate.h:
3964 Remove non-existing function declarations
3966 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3969 Fix compilation warnings and add guards to the new functions.
3971 * gio/gasyncresult.c:
3973 Add guards to the public functions.
3976 Implement get_path().
3978 2007-11-06 Alexander Larsson <alexl@redhat.com>
3980 * gio/gfilenamecompleter.c:
3981 Make g_filename_completer_get_completions
3982 return char ** instead of GList for
3985 * docs/reference/gio/gio-docs.xml:
3986 * docs/reference/gio/gio-sections.txt:
3988 * gio/gasyncresult.c:
3989 * gio/gbufferedinputstream.c:
3990 * gio/gbufferedoutputstream.c:
3991 * gio/gcancellable.c:
3992 * gio/gcontenttype.c:
3993 * gio/gdatainputstream.c:
3994 * gio/gdataoutputstream.c:
3995 * gio/gdesktopappinfo.c:
3996 * gio/gdirectorymonitor.c:
4000 * gio/gfileattribute.c:
4001 * gio/gfileenumerator.c:
4004 * gio/gfileinputstream.c:
4005 * gio/gfilemonitor.c:
4006 * gio/gfilenamecompleter.c:
4007 * gio/gfilenamecompleter.h:
4008 * gio/gfileoutputstream.c:
4009 * gio/gfilterinputstream.c:
4011 * gio/ginputstream.c:
4013 * gio/gioscheduler.c:
4014 * gio/gloadableicon.c:
4015 * gio/glocaldirectorymonitor.c:
4017 * gio/glocalfileinputstream.c:
4018 * gio/glocalfilemonitor.c:
4019 * gio/glocalfileoutputstream.c:
4021 * gio/gmemoryinputstream.c:
4022 * gio/gmemoryoutputstream.c:
4023 * gio/gmountoperation.c:
4024 * gio/goutputstream.c:
4025 * gio/gpollfilemonitor.c:
4027 * gio/gsimpleasyncresult.c:
4028 * gio/gsocketinputstream.c:
4029 * gio/gsocketoutputstream.c:
4030 * gio/gthemedicon.c:
4031 * gio/gunionvolumemonitor.c:
4033 * gio/gunixmounts.c:
4034 * gio/gunixvolume.c:
4035 * gio/gunixvolumemonitor.c:
4039 * gio/gvolumemonitor.c:
4040 * gio/gwin32appinfo.c:
4041 Add (mostly stub) doc strings to public functions.
4042 Patch from Andrew Walton (awalton@gmail.com)
4044 2007-11-06 Alexander Larsson <alexl@redhat.com>
4046 * gio/gappinfo.[ch]:
4047 Added GAppLaunchContext object and pass that to launch.
4048 This allows simple implementation of both
4049 launch-on-screen and startup notification via a gtk+
4050 subclass of GAppLaunchContext
4052 * gio/gdesktopappinfo.c:
4053 Implement GAppLaunchContext API
4055 * gio/gwin32appinfo.c:
4058 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4060 * gio/gmountoperation.c:
4061 Add some guards to GMountOperation's public functions.
4063 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4067 * gio/gcancellable.c:
4068 * gio/gdirectorymonitor.c:
4070 * gio/gfileenumerator.c:
4071 * gio/gfilemonitor.c:,
4072 * gio/gfilenamecompleter.c:
4075 * gio/gioscheduler.c:
4079 * gio/gvolumemonitor.c:
4080 Add even more guards to various public functions.
4082 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4085 Add guards to the public functions of GAppInfo.
4087 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4089 * gio/gcontenttype.c:
4090 Add some more guards for public functions.
4092 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4094 * gio/fam/fam-module.c:
4095 * gio/fam/gfamdirectorymonitor.c:
4096 * gio/fam/gfamdirectorymonitor.h:
4097 * gio/fam/gfamfilemonitor.c:
4098 * gio/fam/gfamfilemonitor.h:
4099 * gio/inotify/ginotifydirectorymonitor.c:
4100 * gio/inotify/ginotifydirectorymonitor.h:
4101 * gio/inotify/ginotifyfilemonitor.c:
4102 * gio/inotify/ginotifyfilemonitor.h:
4103 Add proper copyright information and remove an unused variable
4104 in the GInotifyFileMonitor constructor.
4106 * gio/gcancellable.c:
4107 Add a guard for a public function and an assertion to prevent
4108 an undefined program state.
4110 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4112 * gio/gfileattribute.c:
4113 Don't run into an assertion if the given attribute value is NULL
4114 in g_file_attribute_value_get_*() but instead return a fallback
4115 value that makes sense in most situations. Passing them a attribute
4116 value with the wrong type will still run into an assertion.
4118 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4120 * gio/gfileattribute.c:
4122 Add even more guards to the public functions. Also fix the refcounting
4123 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4124 let g_file_info_list_attributes() filter the attributes by namespace
4125 instead of simply ignoring the namespace parameter.
4127 2007-11-03 Sven Herzberg <sven@imendio.com>
4129 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4130 (This makes gio work on MacOS X again)
4132 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4135 Build the gio subdirectory before the docs. Otherwise the build will
4138 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4139 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4140 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4141 Add guards to the public functions.
4143 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4145 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4146 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4147 to prevent a compiler warning.
4149 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4150 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4151 return something in the non-void function find_topdir_for().
4153 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4160 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4162 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4163 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4164 * gwin32appinfo.c (g_win32_app_info_launch):
4165 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4166 envp_for_startup_id, g_desktop_app_info_launch,
4167 g_desktop_app_info_launch_uris):
4169 Give an opaque 'startup_id' string instead of 'envp'.
4170 Support empty file lists for launching new windows.
4171 Fix infinite recursion bug when launching URIs.
4173 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4176 Add guard to the new g_file_get_uri_scheme() function.
4178 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4181 Convert a g_return_val_if_fail() to setting the GError instead as
4182 otherwise applications have to verify the parameter before otherwise
4183 and the parameter might come directly from the user.
4185 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4187 * gio/inotify/ginotify*.[ch]:
4188 Add missing copyright information.
4190 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4193 Add guards in the beginning of public functions to check for valid
4194 parameters and fix a bug in copy_stream_with_progress() that could've
4195 caused writing less bytes than reading.
4196 * gio/glocalfileinfo.c:
4197 Check for a NULL parameter and set the GError accordingly then.
4198 * gio/goutputstream.c:
4199 Fix the same bug as in gfile.c that could've caused writing less bytes
4200 than reading in g_output_stream_real_splice().
4202 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4205 Use the correct gvolumeprivate.h naming
4207 2007-11-01 Christian Kellner <gicmo@gnome.org>
4210 Remove leftover "$(daemon_sources)" entry.
4212 2007-11-01 Christian Kellner <gicmo@gnome.org>
4217 Add copyright information to source files.
4219 2007-11-01 Alexander Larsson <alexl@redhat.com>
4223 Add g_file_get_uri_scheme
4225 2007-11-01 Alexander Larsson <alexl@redhat.com>
4228 * gio/gdesktopappinfo.c:
4229 * gio/gwin32appinfo.c:
4230 Add g_app_info_get_default_for_uri_scheme.
4232 2007-11-01 Alexander Larsson <alexl@redhat.com>
4235 Correct filename for gdriveprivate.h
4237 2007-10-31 Alexander Larsson <alexl@redhat.com>
4240 Rename id:value to id:file
4243 * gio/glocalfileinfo.c:
4246 2007-10-31 Alexander Larsson <alexl@redhat.com>
4248 * gio/gunixvolume.c:
4250 Remove g_volume_get_platform_id, as thats not
4251 needed with the simpler union volume monitor
4253 2007-10-31 Alexander Larsson <alexl@redhat.com>
4256 * gio/guniondrive.[ch]: Removed.
4257 * gio/gunionvolume.[ch]: Removed.
4258 Remove GUnionDrive/Volume
4260 * gio/gunionvolumemonitor.c:
4261 Simplify union volume monitor, now we
4262 only have one native volume monitor and
4263 we use the actual volumes/drives from the
4264 child monitors instead of wrapping them
4266 * gio/gnativevolumemonitor.[ch]:
4267 Base class for native volume monitors.
4268 Includes priority and get_volume_for_mountpoint
4271 Add g_file_find_enclosing_volume
4274 Remove volume name fs attribute
4275 Add readonly fs attribute
4278 Implement readonly attribute
4279 remove volume name attribute
4280 Implement find_enclosing volume
4282 * gio/gunixmounts.c:
4283 Add a volume for "/".
4285 * gio/gunixvolume.[ch]:
4286 Set better name for /
4288 * gio/gunixvolumemonitor.[ch]:
4289 Derive from GNativeVolumeMonitor
4290 Implement get_volume_for_mountpoint
4293 GVolume typedef moved to gfile.h
4295 * gio/gvolumeprivate.h:
4296 Add g_volume_get_for_mount_path
4298 2007-10-31 Alexander Larsson <alexl@redhat.com>
4300 * gio/gunixmounts.[ch]:
4301 Add cache info to unix mount listers
4302 Make getmntent use threadsafe
4303 Add is_system_internal attribute for GUnixMount
4305 * gio/gunixvolume.c:
4306 (g_unix_volume_new):
4307 Use is_system_internal instead of own code
4309 * gio/glocaldirectorymonitor.c:
4310 * gio/gunixvolumemonitor.c:
4311 Update to new gunixmounts API
4316 2007-10-30 Alexander Larsson <alexl@redhat.com>
4319 Add volume name fsinfo attribute
4322 Read volume name info
4324 * gio/gunionvolumemonitor.c:
4325 Fix infinite loops when finalizing a union volume monitor
4327 2007-10-30 Alexander Larsson <alexl@redhat.com>
4329 * gio/goutputstream.[ch]:
4330 Add splice() with default implementation
4332 * gio/gsocketoutputstream.c:
4333 (g_socket_output_stream_write):
4334 Return error on cancellation correctly.
4336 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4338 * gio/glocalfile.c (g_local_file_trash):
4339 Do not leak a string.
4341 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4343 * gio/gfile.c (g_file_load_contents):
4344 Unref the stream after closing it.
4346 2007-10-25 Alexander Larsson <alexl@redhat.com>
4348 * gio/gioscheduler.h:
4351 2007-10-25 Alexander Larsson <alexl@redhat.com>
4355 Add g_file_has_uri_scheme and implement for local files
4357 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4359 * gio/gdesktopappinfo.c: do not leak a string.
4361 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4363 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4364 (g_local_directory_monitor_new):
4365 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4366 (g_local_file_monitor_new):
4367 Only look for the monitor type that should be used the first time
4368 and use g_qsort_with_data() instead of our own bubble sort
4371 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4374 * gio/fam/Makefile.am:
4375 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4376 * gio/fam/fam-helper.h:
4377 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4378 * gio/fam/gfamdirectorymonitor.c:
4379 * gio/fam/gfamdirectorymonitor.h:
4380 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4381 * gio/fam/gfamfilemonitor.h:
4382 * gio/glocaldirectorymonitor.c:
4383 * gio/glocaldirectorymonitor.h:
4384 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4385 * gio/glocalfilemonitor.h:
4386 * gio/inotify/Makefile.am:
4387 * gio/inotify/ginotifydirectorymonitor.c:
4388 * gio/inotify/ginotifydirectorymonitor.h:
4389 * gio/inotify/ginotifyfilemonitor.c:
4390 * gio/inotify/ginotifyfilemonitor.h:
4391 Implement the FAM and Inotify monitors as
4392 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4393 their own GIO module. GLocal(Directory|File)Monitor will use the
4394 monitor with the highest rank that is supported on that machine.
4396 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4399 Change GIO module dir to $(libdir)/gio/modules and change
4400 the log domain from GVFS to GIO. Also only export symbols starting
4401 with g_ in the resulting library.
4402 * gio/test-streams.c: (main):
4403 Set log handler for the GIO log domain.
4405 2007-10-22 Alexander Larsson <alexl@redhat.com>
4407 * gio/gfilenamecompleter.[ch]:
4408 Add g_filename_completer_set_dirs_only
4410 2007-10-22 Alexander Larsson <alexl@redhat.com>
4413 * gio/gurifuncs.[ch]:
4414 Add some simple URI helpers
4416 * gio/gfilenamecompleter.[ch]:
4417 Added object for filename (parse name actually) completion
4420 Handle ~ in parse names
4422 2007-10-17 Alexander Larsson <alexl@redhat.com>
4425 * gio/glocalfileinfo.c:
4426 Add and implement id:value attribute
4428 2007-10-17 Alexander Larsson <alexl@redhat.com>
4431 * gio/guniondrive.c:
4433 Add and implement g_drive_has_volumes
4435 2007-10-17 Alexander Larsson <alexl@redhat.com>
4438 * gio/glocalfileinfo.[ch]:
4439 Add unix:is_mountpoint and implement for local files
4441 2007-10-16 Alexander Larsson <alexl@redhat.com>
4443 * gio/gunionvolumemonitor.c:
4444 (g_union_volume_monitor_init):
4445 Fix up the unix type getting so that it works with gcc
4447 2007-10-12 Alexander Larsson <alexl@redhat.com>
4450 * gio/glocalfileinfo.c:
4451 Add thumbnail:failed to file info
4453 2007-10-12 Richard Hult <richard@imendio.com>
4455 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4456 optimizing away the get_type call (happens with some gcc versions,
4457 like the one shipped with OS X 10.4).
4459 2007-10-12 Alexander Larsson <alexl@redhat.com>
4461 * gio/glocalfileinfo.c:
4462 (_g_local_file_info_set_attribute):
4463 Fix build if not HAVE_XATTR
4464 Patch from Milosz Derezynski <internalerror@gmail.com>
4466 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4468 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4469 around for review, otherwise I would have asked you before
4472 2007-10-11 Alexander Larsson <alexl@redhat.com>
4475 Add thumbnail:path attribute
4477 * gio/glocalfileinfo.c:
4478 Implement thumbnail:path for local files
4480 2007-10-11 Alexander Larsson <alexl@redhat.com>
4482 * gio/glocalfileinfo.c:
4483 (_g_local_file_info_get):
4484 Avoid duplicate icon names
4486 2007-10-11 Alexander Larsson <alexl@redhat.com>
4488 * gio/gthemedicon.[ch]:
4489 Change g_themed_icon_get_names return type to const
4491 2007-10-10 Alexander Larsson <alexl@redhat.com>
4493 * gio/glocalfileinfo.c:
4494 Don't reference freed memory
4496 2007-10-10 Alexander Larsson <alexl@redhat.com>
4498 * gio/gfileattribute.c:
4501 * gio/glocalfileinfo.c:
4504 2007-10-10 Alexander Larsson <alexl@redhat.com>
4507 Check for NULL icons
4509 * gio/gfileattribute.c:
4510 Don't dup when getting objects (same as for string attributes)
4512 * gio/gicon.c (g_icon_equal):
4513 Safely handle NULLs in equal
4515 2007-10-10 Alexander Larsson <alexl@redhat.com>
4518 Fix c++ compilation issues
4519 Patch from Milosz Derezynski <internalerror@gmail.com>
4521 2007-10-10 Alexander Larsson <alexl@redhat.com>
4523 * programs/gio-monitor-dir.c:
4524 Don't crash if dir monitor not supported.
4526 2007-10-09 Alexander Larsson <alexl@redhat.com>
4529 Add missing G_END_DECLS
4531 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4533 * gio/gfile.c: (g_file_set_display_name),
4534 (g_file_query_settable_attributes),
4535 (g_file_query_writable_namespaces):
4536 Return NULL not FALSE on errors as the return type is a pointer.
4538 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4540 * gio/glocalfile.c: (g_local_file_monitor_file):
4541 Don't call monitor_file on the default interface vtable (which
4542 is NULL) but simply return NULL. The caller, GFile, will create a
4543 polling monitor if NULL is returned.
4545 2007-10-09 Alexander Larsson <alexl@redhat.com>
4549 * gio-unix-2.0.pc.in:
4550 Add gio-unix-2.0.pc if OS_UNIX
4553 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4555 2007-10-09 Alexander Larsson <alexl@redhat.com>
4557 * gio/gunixmounts.[ch]:
4558 Make unix mount monitoring API sane.
4559 Now its just a object with mounts_changed
4560 and mountpoints_changed signals.
4562 * gio/glocaldirectorymonitor.c:
4563 * gio/gunixvolumemonitor.c:
4564 Use new mount monitor api
4566 2007-10-09 Alexander Larsson <alexl@redhat.com>
4568 * gio/gunixmounts.[ch]:
4569 Move guess type into one call for mounts and one for mountpoints
4572 * gio/gunixvolume.c:
4575 2007-10-09 Alexander Larsson <alexl@redhat.com>
4577 * gio/gunixmounts.[ch]:
4578 Remove _ prefix in preparation to make this semi-public
4579 Hide implementation of structs
4581 * gio/glocaldirectorymonitor.c:
4583 * gio/gunixvolume.c:
4584 * gio/gunixvolumemonitor.c:
4585 Update for above API changes
4587 2007-10-08 Alexander Larsson <alexl@redhat.com>
4590 Better polling fallback. This also handles the case where we have
4591 a monitor_file implementation, but it fails.
4593 2007-10-08 Alexander Larsson <alexl@redhat.com>
4597 * gio/gunixmounts.c:
4598 * programs/gio-monitor-dir.c:
4599 * programs/gio-monitor-file.c:
4600 Added cancellable to file monitoring calls.
4601 These are really sync calls and need this.
4603 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4605 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4606 (g_local_vfs_class_init):
4607 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4608 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4610 2007-10-05 Alexander Larsson <alexl@redhat.com>
4612 * gio/gdirectorymonitorprivate.h:
4613 * gio/gfilemonitorprivate.h:
4614 * gio/gdirectorymonitor.h:
4615 * gio/gfilemonitor.h:
4616 Remove *private.h and move to the public API, so that
4617 we can do implementations outside gio (such as in gvfs)
4619 * gio/gdirectorymonitor.c:
4620 * gio/gfilemonitor.c:
4621 * gio/glocaldirectorymonitor.c:
4622 * gio/gpollfilemonitor.c:
4623 * gio/inotify/inotify-helper.c:
4624 * gio/fam/fam-helper.c:
4625 Update to the new header names
4627 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4629 * gio/gdirectorymonitor.c:
4630 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4633 2007-10-04 Alexander Larsson <alexl@redhat.com>
4635 * gio/glocalfileinfo.c (get_access_rights):
4636 Set CAN_TRASH when we can move the file.
4637 We should really also check for a parent trash dir.
4639 2007-10-04 Alexander Larsson <alexl@redhat.com>
4641 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4642 Add can_trash access attribute
4644 2007-10-04 Alexander Larsson <alexl@redhat.com>
4647 (g_local_file_trash):
4648 Create info file first. This is per-spec and allows
4649 us to actually trash directories.
4651 2007-10-02 Alexander Larsson <alexl@redhat.com>
4653 * gio/gdesktopappinfo.c:
4654 Implement the new mime support code.
4655 Always set app as handling mimetype when being set as default for it
4657 2007-10-01 Alexander Larsson <alexl@redhat.com>
4659 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4660 Fix up check for xattrs:
4662 2007-10-01 Alexander Larsson <alexl@redhat.com>
4665 (g_app_info_set_as_default_for_extension):
4666 (g_app_info_add_supports_type):
4667 (g_app_info_can_remove_supports_type):
4668 (g_app_info_remove_supports_type):
4669 Make these fail nicely if not implemented
4671 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4673 * gio/glocalfileoutputstream.c:
4674 * gio/glocalfileoutputstream.h:
4679 * programs/gio-save.c:
4680 Add a GFileCreateFlags argument to operations that can create
4683 2007-10-01 Alexander Larsson <alexl@redhat.com>
4685 * gio/gappinfo.[ch]:
4686 * gio/gdesktopappinfo.c:
4687 Add more (stubbed out) mime API needed for nautilus
4689 2007-10-01 Alexander Larsson <alexl@redhat.com>
4692 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4693 Add g_app_info_set_as_default_for_extension.
4695 * gio/gdesktopappinfo.c:
4696 Dummy for g_app_info_set_as_default_for_extension
4697 Support flags in g_app_info_create_from_commandline
4699 * gio/gwin32appinfo.c:
4701 Update for API changes
4703 * gio/gthemedicon.c:
4704 Properly NULL-terminate list of icon names
4706 2007-09-28 Alexander Larsson <alexl@redhat.com>
4708 * gio/gloadableicon.h:
4709 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4711 2007-09-28 Alexander Larsson <alexl@redhat.com>
4714 Install headers in $includedir/gio-standalone/
4716 * gio-2.0.pc.in: Added.
4717 * gio-standalone.pc.in: Removed.
4720 Renamed pkg-config file to match glib (for future move)
4721 Update to the new include dir
4724 Add more TODO comments
4726 2007-09-28 Alexander Larsson <alexl@redhat.com>
4728 * gio/gdesktopappinfo.[ch]:
4729 Expose new_from_filename
4730 Add getter for is_hidden and handle it better
4732 2007-09-28 Alexander Larsson <alexl@redhat.com>
4734 * gio/gfileinfo.[ch]:
4735 Rename g_file_size_format_for_display to
4736 g_format_file_size_for_display.
4737 Now it doesn't have the g_file prefix, so we
4738 can later move it to glib.
4740 2007-09-28 Alexander Larsson <alexl@redhat.com>
4742 * gio/gappinfo.[ch]:
4743 Add g_app_info_get_id and g_app_info_get_executable.
4744 Make all getters non-reffing
4745 Make g_app_info_launch take GFile arguments.
4746 Add must_support_uris argument to g_app_info_get_default_for_type.
4748 * gio/gwin32appinfo.c:
4749 Update to GAppInfo api changes
4751 * gio/gdesktopappinfo.c:
4752 Update to GAppInfo api changes
4753 Implement supports_xdg_startup_notify
4755 * gio/gfileicon.c (g_file_icon_get_file):
4756 Make getter non-reffing.
4761 2007-09-27 Alexander Larsson <alexl@redhat.com>
4763 * gio/gfileinfo.[ch]:
4764 Add g_file_size_format_for_display helper
4766 2007-09-27 Alexander Larsson <alexl@redhat.com>
4768 * gio/glocalfileinfo.c:
4769 Set UNIX_GID from gid, not from uid
4771 2007-09-27 Alexander Larsson <alexl@redhat.com>
4774 Add g_file_set_attributes_async
4776 2007-09-27 Alexander Larsson <alexl@redhat.com>
4778 * gio/glocalfile.c (g_local_file_set_display_name):
4779 Fix set_display_name to actually rename to the right place.
4780 Use lstat to look for existing files so we don't overwrite
4783 2007-09-26 Alexander Larsson <alexl@redhat.com>
4786 Add g_file_set_display_name_async()
4788 2007-09-26 Alexander Larsson <alexl@redhat.com>
4791 Add load_partial_contents async calls
4794 Make internal function static
4796 2007-09-26 Alexander Larsson <alexl@redhat.com>
4798 * gio/glocalfileinfo.c:
4799 Correctly detect broken symlinks
4801 2007-09-26 Alexander Larsson <alexl@redhat.com>
4803 * gio/gcancellable.c (g_cancellable_cancel):
4804 Allow cancel on NULL cancellable
4806 2007-09-25 Alexander Larsson <alexl@redhat.com>
4808 * gio/gsimpleasyncresult.c:
4809 Don't allocate g_error manually.
4810 Fixes g_slice/g_new mixup crash
4812 2007-09-25 Alexander Larsson <alexl@redhat.com>
4814 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4815 Actually set active_backend.
4816 This means the monitor will be cancelled correctly.
4818 2007-09-25 Alexander Larsson <alexl@redhat.com>
4820 * gio/gdirectorymonitor.c:
4821 Set timeout to NULL when destroying
4823 2007-09-25 Alexander Larsson <alexl@redhat.com>
4826 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4827 that is a better description of the error.
4829 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4831 * gio/gvfs.c: (g_vfs_get_local):
4832 Make the local vfs variable static. The same instance should
4835 2007-09-24 Alexander Larsson <alexl@redhat.com>
4837 * gio/glocalfileinfo.c:
4838 Pass in actual length read into sniffer, not the length
4841 2007-09-21 Alexander Larsson <alexl@redhat.com>
4843 * gio/gfileenumerator.c:
4846 * gio/gfileinputstream.c:
4847 * gio/gfileoutputstream.c:
4848 * gio/ginputstream.c:
4849 * gio/goutputstream.c:
4850 Don't crash if async callbacks are NULL
4852 2007-09-20 Alexander Larsson <alexl@redhat.com>
4855 Add async enumerate_children method and default
4858 2007-09-20 Alexander Larsson <alexl@redhat.com>
4861 Add g_file_contains_file & g_file_get_relative_path, since they
4862 were needed for nautilus.
4863 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4868 Implement new methods
4870 2007-09-17 Alexander Larsson <alexl@redhat.com>
4873 * gio/gfileinputstream.[ch]:
4874 * gio/gfileoutputstream.[ch]:
4876 * gio/glocalfileenumerator.[ch]:
4877 * gio/glocalfileinfo.[ch]:
4878 * gio/glocalfileinputstream.c:
4879 * gio/glocalfileoutputstream.c:
4880 * gio/gpollfilemonitor.c:
4881 * programs/gio-copy.c:
4882 * programs/gio-info.c:
4883 * programs/gio-move.c:
4884 Rename get_file_info to query_info() to make it clearer
4885 that these are not simple getters, but do i/o.
4887 2007-09-17 Alexander Larsson <alexl@redhat.com>
4889 * gio/gdatainputstream.[ch]:
4890 * gio/test-streams.c:
4891 Use _read_XXX instead of _get_XXX for the i/o calls
4894 2007-09-17 Alexander Larsson <alexl@redhat.com>
4897 Added needed stuff to TODO comment
4899 2007-09-17 Alexander Larsson <alexl@redhat.com>
4901 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4902 Don't error out removing the backup copy if it doesn't
4905 2007-09-14 Alexander Larsson <alexl@redhat.com>
4907 * programs/Makefile.am:
4908 * programs/gvfs-*.c:
4910 Renamed apps from gvfs-xxx to gio-xxx.
4912 2007-09-14 Alexander Larsson <alexl@redhat.com>
4915 * gio/gfileoutputstream.[ch]:
4916 * gio/glocalfileoutputstream.c:
4917 * programs/gvfs-save.c:
4918 g_file_output_stream_get_etag doesn't do i/o, so remove
4919 cancellation and error.
4921 2007-09-14 Alexander Larsson <alexl@redhat.com>
4924 Add new_etag output to replace_contents functions
4926 2007-09-14 Alexander Larsson <alexl@redhat.com>
4928 * gio/gfileoutputstream.[ch]:
4929 Add async get_file_info and default implementation
4931 2007-09-14 Alexander Larsson <alexl@redhat.com>
4933 * gio/gfileinputstream.c:
4934 Implement fallback wrapper for async get_file_info
4936 2007-09-14 Alexander Larsson <alexl@redhat.com>
4939 Add etag out argument to load_contents
4944 2007-09-14 Alexander Larsson <alexl@redhat.com>
4946 * gio/gcontenttype.c (looks_like_text):
4947 Whitespace like tab, cr and lf do not make the
4950 2007-09-14 Alexander Larsson <alexl@redhat.com>
4952 * gio/gfileinputstream.[ch]:
4953 Add async get_file_info.
4955 2007-09-13 Alexander Larsson <alexl@redhat.com>
4957 * gio/goutputstream.c (g_output_stream_write_all):
4958 Allow NULL for bytes_written
4960 2007-09-13 Alexander Larsson <alexl@redhat.com>
4962 * gio/gmemoryinputstream.[ch]:
4963 Add accessors for data
4965 2007-09-13 Alexander Larsson <alexl@redhat.com>
4967 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4968 Don't crash if length is NULL