1 2008-10-23 Matthias Clasen <mclasen@redhat.com>
3 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
5 2008-10-23 Alexander Larsson <alexl@redhat.com>
7 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
10 (_g_local_file_info_get):
11 Don't return the fallback icon (text-x-generic) for all files.
12 This is causing problems with theme icon lookup and custom mime
13 icons, as the generic fallback overrides custom mime icons in
16 This is a slight change as applications might not get an icon wher
17 they previously did. But there is no guarantee to get on neither before
18 or after this change, so it should not break applications. Changes
19 to nautilus and gtk+ will be done to manually use the generic fallback
20 icon if no icon is found, but this is only required for rare cases.
22 2008-10-21 Alexander Larsson <alexl@redhat.com>
25 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
27 2008-10-21 Alexander Larsson <alexl@redhat.com>
29 Bug 555740 - gicon serialization
30 Based on patch from David Zeuthen
34 Add g_icon_to_string() and g_icon_new_for_string().
40 Implement icon serialization for built-in icon types
44 Added GIcon serialization test
46 2008-10-16 Matthias Clasen <mclasen@redhat.com>
48 * === Released 2.19.0 ===
50 2008-10-16 Matthias Clasen <mclasen@redhat.com>
52 Bug 556422 – g_file_enumerator_next_file: unclear whether return
53 value needs to be freed
55 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
56 the return value docs. Pointed out by Armin Burgmeier
58 2008-10-14 Matthias Clasen <mclasen@redhat.com>
60 Bug 556334 – Warning when building without selinux support
62 * glocalfileinfo.c: Avoid compiler warnings when selinux is
63 disabled. Patch by Pascal Terjan
65 2008-10-14 Matthias Clasen <mclasen@redhat.com>
67 Bug 556335 – make check fails in abicheck.sh
69 * gio.symbols: Add g_file_attribute_info_list_get_type.
70 Pointed out by Pascal Terjan.
72 2008-10-13 Alexander Larsson <alexl@redhat.com>
75 When adding an application as handling a mime type (but
76 not as the default), copy the full list of desktop ids handling
77 that type in before adding the new one on the end of the list.
78 This means we're not accidentally changing the default by overriding
79 the info from the later directories in the search path.
81 Also, fixes small leak of removed_entries.
83 2008-10-12 David Zeuthen <davidz@redhat.com>
86 * gunionvolumemonitor.c:
88 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
90 2008-10-10 Alexander Larsson <alexl@redhat.com>
92 * gfileattribute.c (escape_byte_string):
93 Upper half of byte is >> 4, not >> 8.
94 Found by Kjartan Maraas via sparse
96 2008-10-10 Matthias Clasen <mclasen@redhat.com>
98 Bug 555711 – Wrong fallback order of mimetype icons
100 * gcontenttype.c: Don't prefer generic icons over
101 default mimetype icons.
103 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
104 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
106 Patch by Krysztof Kosiński
108 2008-10-10 Matthias Clasen <mclasen@redhat.com>
110 Bug 555121 – Improved build-time handling of gio module-dir
112 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
113 * Makefile.am: Create the module dir.
115 2008-10-10 Matthias Clasen <mclasen@redhat.com>
117 * gio/glocalfileinfo.c:
118 * gio/tests/live-g-file.c:
119 * gio/gsimpleasyncresult.c: Fix gcc warnings.
121 2008-10-09 Alexander Larsson <alexl@redhat.com>
123 * gunixinputstream.c (g_unix_input_stream_read):
124 Actually return -1 in case of cancelled, not old res value.
126 2008-10-06 Colin Walters <walters@verbum.org>
128 Bug 554745 - GFileAttributeInfoList should be boxed
130 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
131 for convenience of bindings.
132 * gio/gfileattribute.h: Prototype it.
134 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
136 Bug 554970 – segfault when update-desktop-database is not available
139 * gdesktopappinfo.c (run_update_command): Have the error set before
142 2008-10-01 David Zeuthen <davidz@redhat.com>
144 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
145 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
146 instead of the gio URI (such as sftp://foo/file.avi) when using
147 g_app_info_launch() and friends. With a sufficiently recent gvfs,
148 apps using gio+gvfs will map the FUSE file:// URI back to the gio
149 URI (and thus bypass the fuse daemon) thanks the patch from bug
150 #530654. Since Nautilus is an user of g_app_info_launch() it
151 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
152 when launced via the file manager. Win. Fixes bug #528670.
154 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
155 mapping to the description of GAppInfo.
157 2008-09-30 Tor Lillqvist <tml@novell.com>
159 * tests/Makefile.am: Build desktop-app-info only on Unix.
161 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
162 g_critical(). Pass a large enough result buffer to
163 GetVolumePathNameW(). Just use MAX_PATH.
165 2008-09-29 David Zeuthen <davidz@redhat.com>
167 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
169 2008-09-26 Dan Winship <danw@gnome.org>
171 * tests/data-input-stream.c:
172 * tests/data-output-stream.c:
173 * tests/live-g-file.c:
174 * tests/memory-input-stream.c:
175 * tests/memory-output-stream.c: Use g_assert_error() and
178 2008-09-26 Matthias Clasen <mclasen@redhat.com>
180 Bug 545350 – GAppInfo deletion
181 Bug 545351 – Reset associations for content type
184 * gappinfo.[hc]: New functions g_app_info_can_delete,
185 g_app_info_delete and g_app_info_reset_type_associations.
188 * gwin32appinfo.c: Implementations of these.
191 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
193 2008-09-26 Dan Winship <danw@gnome.org>
195 Bug 505361 – gunixinputstream.c assumes poll() available
196 Bug 509446 – portable blocking gio cancellation
198 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
199 GPollFD for a cancellable (which is slightly more complicated on
202 * gunixinputstream.c (g_unix_input_stream_read):
203 * gunixoutputstream.c (g_unix_output_stream_write): Use
204 g_cancellable_make_pollfd() and g_poll() rather than using poll()
207 * tests/unix-streams.c: test of GUnixInputStream,
208 GUnixOutputStream, and GCancellable.
210 2008-09-26 Dan Winship <danw@gnome.org>
212 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
213 cast to stop a gcc warning
215 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
218 2008-09-25 Dan Winship <danw@gnome.org>
220 Bug 553426 - cancellable clarifications
222 * gcancellable.c (g_cancellable_class_init): Add a note to the
223 "cancelled" signal docs warning about thread-safety issues
224 (g_cancellable_cancel): Note that cancelling an asynchronous
225 operation takes effect asynchronously, not immediately.
227 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
229 * gioenums.h: Add new GFileCopyFlag, to leave target file with
230 default perms, instead of setting the source file perms, in a copy
233 * gfile.c (g_file_copy_attributes)
234 (build_attribute_list_for_copy)
235 (should_copy): Not copy "unix::mode" attribute if we have received
236 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
238 2008-09-20 Matthias Clasen <mclasen@redhat.com>
240 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
242 2008-09-17 Matthias Clasen <mclasen@redhat.com>
244 * === Released 2.18.1 ===
246 2008-09-16 Michael Natterer <mitch@imendio.com>
248 * gcontenttype.c (g_content_type_guess): can't assign the return
249 value of g_strdupv() to an array. Fill the array manually with
250 const strings instead (it is never freed anyway). Fixes the
251 build. Also fixed indentation.
253 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
255 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
256 Fix trivial typo to unbreak the build (there was a colon
257 instead of a semicolon at the end of a statement).
259 2008-09-15 Matthias Clasen <mclasen@redhat.com>
261 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
264 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
267 2008-09-15 Matthias Clasen <mclasen@redhat.com>
269 Bug 551681 – g_content_type_guess() too naive with filenames
271 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
272 at the end of the filename, and declare it a directory.
273 Patch by Bastien Nocera
275 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
277 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
280 * gdesktopappinfo.c: add a note in the docs clarifying what the
281 "filename" parameter really is.
283 2008-09-12 Tor Lillqvist <tml@novell.com>
285 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
286 FormatMessage() etc here. Call g_win32_error_message() instead
287 which already does all that. Besides, the code was broken as it
288 called the default "A" version of FormatMessage() but still
289 thought it produced a wide string.
291 2008-09-12 Michael Natterer <mitch@imendio.com>
293 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
294 in the documentation.
296 2008-09-08 Christian Neumair <cneumair@gnome.org>
298 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
299 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
300 Use non-blocking pipe for mount helper I/O. Fixes #550647.
302 2008-09-06 Matthias Clasen <mclasen@redhat.com>
304 Bug 551149 – xdgmime mem leak
306 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
307 a memory leak. Patch by Christian Persch
309 2008-09-04 Tor Lillqvist <tml@novell.com>
311 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
314 2008-09-02 Matthias Clasen <mclasen@redhat.com>
316 * === Released 2.18.0 ===
318 2008-09-02 Michael Natterer <mitch@imendio.com>
320 * *.h: big header formatting cleanup: indentation, vtable
321 formatting, consistent spacing in (* vfunc), trailing whitespace
322 removal. Formatting should be pretty consistent in all GIO headers
325 2008-09-02 Matthias Clasen <mclasen@redhat.com>
327 * gmount.h: Document guess_content_type sync vfunc.
329 2008-09-02 Michael Natterer <mitch@imendio.com>
331 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
332 fix parent_class member to be GFilterOutputStreamClass (not
333 GOutputStreamClass). Drop three pointers of padding, which is
334 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
335 so the class struct size stays the same.
337 2008-09-02 Matthias Clasen <mclasen@redhat.com>
339 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
341 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
342 nonexisting return values. Pointed out by Cosimo Cecchi.
344 2008-08-23 Tor Lillqvist <tml@novell.com>
346 Bug 548988 - g_file_replace fails on Windows when the target file
349 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
350 Windows, close the file before potentially renaming it (in case we
351 have been writing to a file with a temporary name).
353 (g_local_file_output_stream_close, handle_overwrite_open): Use
354 GLocalFileStat instead of plain struct stat, for passing to
355 _g_local_file_info_create_etag(). Thus also use _fstati64()
356 instead of plain fstat() on Windows.
358 2008-08-18 Matthias Clasen <mclasen@redhat.com>
360 * === Released 2.17.7 ===
362 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
364 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
367 2008-08-13 Tor Lillqvist <tml@novell.com>
369 * win32/gwinhttpvfs.c
370 * win32/gwinhttpvfs.h
371 * win32/gwinhttpfile.c
372 * win32/gwinhttpfileinputstream.c
373 * win32/gwinhttpfileoutputstream.c: Refactor some common code
374 snippets into helper functions. Check HTTP response status
375 codes. Implement g_winhttp_file_query_info(), looking at
376 Content-Length, Content-Type and Last-Modified.
378 * win32/winhttp.h: Add some symbolic constants that are not
379 publicly documented. Just a handful, so it should be OK to use
380 information from the Windows SDK's headers.
382 2008-08-13 Tor Lillqvist <tml@novell.com>
384 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
387 * win32/gwin32directorymonitor.c
388 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
390 2008-08-13 Matthias Clasen <mclasen@redhat.com>
393 * goutputstream.c: Add intro docs.
395 2008-08-13 Tor Lillqvist <tml@novell.com>
397 * win32/gwinhttpfileoutputstream.c
398 (g_winhttp_file_output_stream_write): Don't write the
399 Content-Length header ourselves, WinHttpSendRequest() takes care
400 of that when the dwTotalLength parameter is non-zero. Increment
401 offset by the number of actual bytes sent, although I wonder if
402 such a scenario is possible where less than requested would be
403 sent and accepted by the server without errors.
405 2008-08-13 Tor Lillqvist <tml@novell.com>
407 * win32/gwinhttpvfs.c
408 * win32/gwinhttpvfs.h
409 * win32/gwinhttpfile.c
410 * win32/gwinhttpfile.h
411 * win32/gwinhttpfileinputstream.c
412 * win32/gwinhttpfileinputstream.h
413 * win32/gwinhttpfileoutputstream.c
414 * win32/gwinhttpfileoutputstream.h: New files implementing
415 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
416 Windows. The implementation uses the WinHttp API. Both reading and
417 writing are supported, i.e. GET and PUT requests. When writing,
418 each write call is done using a separate PUT request with a
419 Content-Range header. Requests for file URIs and plain pathnames
420 are forwarded to GLocalVfs.
422 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
423 WINE. Used as there is no <winhttp.h> bundled with mingw, and
424 requiring people to download the Windows SDK just for this one
425 header is not reasonable.
427 * win32/Makefile.am: Add above files.
429 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
430 the plumbing for the above.
432 2008-08-11 Sven Neumann <sven@gimp.org>
434 * gfilenamecompleter.c
435 * glocaldirectorymonitor.c
437 * gunionvolumemonitor.c
441 * gunixvolumemonitor.c
444 * gwin32volumemonitor.c: use canonical signal names.
446 2008-08-11 Tor Lillqvist <tml@novell.com>
448 * Makefile.am: Put a list of the platform-dependent .la files in
449 the subdirectories in the platform_deps Make variable, and make
450 libgio-2.0.la depend on that, so that it gets relinked if one of
451 the dependent libraries has changed.
453 2008-08-11 Tor Lillqvist <tml@novell.com>
455 * Makefile.am (platform_libadd): Remove -lwininet which had been
456 added by mistake. We will probably eventually be using WinHTTP,
457 not the older WinInet anyway. (Actually I am working on it.)
459 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
461 Bug 547080 – g_file_copy leaks expected errors
463 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
464 before trying the next fallback routine.
466 2008-08-09 Loïc Minier <lool@dooz.org>
468 Bug 535124 – umask 002 not being applied for new directories, new
469 files get the correct umask
471 * gfile.c (g_file_make_directory)
472 (g_file_make_directory_with_parents): Document ownership and
473 permissions of newly created directories as being the default
476 2008-08-08 Loïc Minier <lool@dooz.org>
478 Bug 535124 – umask 002 not being applied for new directories, new
479 files get the correct umask
481 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
484 2008-08-08 Tor Lillqvist <tml@novell.com>
486 * gwin32mount.c: Remove unused code. Whitespace cleanup.
488 * gwin32volumemonitor.c (get_connected_drives): Put questionable
489 code that didn't actually do anything inside #if 0, and add a
490 comment wondering what the code was supposed to do. This also gets
491 rid of a leftover debugging printout.
493 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
495 * gfileicon.c (g_file_icon_get_property)
496 (g_file_icon_set_property): New functions.
497 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
499 (g_file_icon_new): Use the property (bug #546132).
501 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
503 * gthemedicon.c (g_themed_icon_get_property): Also handle
504 `PROP_USE_DEFAULT_FALLBACKS'.
505 (g_themed_icon_class_init): Make
506 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
508 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
510 Bug 546371 – Improve docs re g_file_monitor
512 * gfilemonitor.c: Mention g_file_monitor() in the docs.
514 2008-08-04 Matthias Clasen <mclasen@redhat.com>
516 * === Released 2.17.6 ===
518 2008-08-04 Matthias Clasen <mclasen@redhat.com>
520 * === Released 2.17.5 ===
522 2008-08-04 Matthias Clasen <mclasen@redhat.com>
524 Bug 546017 – Don't copy attributes when copying a symlink
526 * gfile.c (g_file_copy_attributes): Specify
527 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
528 g_file_set_attributes_from_info. Patch by Christian Kellner
530 2008-08-04 Matthias Clasen <mclasen@redhat.com>
532 * gemblemedicon.[hc]:
534 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
535 a bit more extensible. Work by Clemens Buss.
537 * gioenums.h: Add GEmblemOrigin.
540 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
542 Bug 546079 – leak in xdgmime
544 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
546 2008-08-03 Tor Lillqvist <tml@novell.com>
548 * win32/gwin32directorymonitor.h
549 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
552 2008-08-03 Tor Lillqvist <tml@novell.com>
554 * win32/gwin32directorymonitor.c
555 (g_win32_directory_monitor_callback): Make prototype match
556 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
557 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
560 (g_win32_directory_monitor_constructor):
561 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
562 names in the GLib API on Windows, so convert to UTF-16 and open
565 2008-08-03 Tor Lillqvist <tml@novell.com>
567 Bug 541036 - Gnumeric crashes when trying to open Desktop or
568 user's folder under Windows
570 * win32/gwin32directorymonitor.c
571 (g_win32_directory_monitor_constructor): Ignore error from
572 CreateFile() when opening directory. Instead of asserting, just
573 store INVALID_HANDLE_VALUE then in
574 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
575 ReadDirectoryChangesW().
576 (g_win32_directory_monitor_cancel): Don't attempt to close
577 directory handle if it is INVALID_HANDLE_VALUE.
579 2008-08-01 Matthias Clasen <mclasen@redhat.com>
581 * gdesktopappinfo.c: Remove debug spew
583 2008-08-01 Hans Breuer <hans@breuer.org>
585 * makefile.msc : add gemblembedicon
587 2008-07-30 Matthias Clasen <mclasen@redhat.com>
589 Bug 545457 – gdmsetup crashed with SIGSEGV in
590 g_unix_mount_guess_should_display()
592 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
593 crash if no mount is found.
595 2008-07-28 Matthias Clasen <mclasen@redhat.com>
597 Bug 545203 – gfile.c: argument is different type.
599 * gfile.c (open_read_async_thread): Pass a GError **
600 to g_file_set_error_literal.
601 Reported by Kazuki Iwamoto
603 2008-07-28 Matthias Clasen <mclasen@redhat.com>
605 Bug 545157 – wrong/no list of "open with" applications for .cc and
608 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
609 Collect all ancestors, not just direct parents. Pointed
610 out by Bastien Nocera
612 2008-07-28 Matthias Clasen <mclasen@redhat.com>
614 * Makefile.am: Install gemblemedicon.h
616 2008-07-28 Matthias Clasen <mclasen@redhat.com>
618 * gemblemedicon.[hc]: Add a GIcon implementation that can
619 add an emblem to another icon.
626 * gfileicon.c: Small documentation additions.
628 2008-07-28 Tor Lillqvist <tml@novell.com>
630 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
633 2008-07-27 Tor Lillqvist <tml@novell.com>
635 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
637 2008-07-24 David Zeuthen <davidz@redhat.com>
641 Also export a g_mount_guess_content_type_sync() function.
643 2008-07-23 Matthias Clasen <mclasen@redhat.com>
645 529694 – SELinux context setting support
647 * gfileinfo.c: Support setting selinux attributes.
648 Patch by Tomas Bzatek
650 2008-07-22 Priit Laes <plaes@plaes.org>
652 Bug 544140 - fam-helper 64-bit issue?
654 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
656 2008-07-21 Matthias Clasen <mclasen@redhat.com>
658 * === Released 2.17.4 ===
660 2008-07-20 Matthias Clasen <mclasen@redhat.com>
662 * gvolumemonitor.[hc]:
667 * gmount.c: Documentation fixes
669 2008-07-19 Matthias Clasen <mclasen@redhat.com>
671 543504 – crash in Epiphany Web Browser: Opening local file
682 * gvolume.c: Register types thread-safely.
683 Patch by Christian Persch
685 2008-07-18 Matthias Clasen <mclasen@redhat.com>
687 * gcontenttype.c: Remove debug spew
689 2008-07-18 Matthias Clasen <mclasen@redhat.com>
691 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
694 * fen/fen-kernel.c: Remove a warning that was causing
695 crashes. Reported by Lin Ma.
697 2008-07-18 Matthias Clasen <mclasen@redhat.com>
699 Bug 543040 – async reading on dummy file will crash on
702 * gfile.c (open_read_async_thread): Cope with read_fn being
703 NULL. Reported by Lin Ma.
705 2008-07-18 Matthias Clasen <mclasen@redhat.com>
708 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
710 2008-07-16 Matthias Clasen <mclasen@redhat.com>
714 * giomodule.c: Rename a chapter id to avoid filename conflict.
716 2008-07-16 Matthias Clasen <mclasen@redhat.com>
718 Bug 540616 – mem leak in filechooser button
720 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
721 the mount entry. Reported by Chrisitan Persch
723 2008-07-16 Matthias Clasen <mclasen@redhat.com>
725 * gfile.c: Small documentation fixes.
727 2008-07-15 Matthias Clasen <mclasen@redhat.com>
729 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
731 2008-07-08 Matthias Clasen <mclasen@redhat.com>
736 * gmount.c: Documentation improvements.
738 2008-07-08 Matthias Clasen <mclasen@redhat.com>
741 * gmount.[hc]: Add g_mount_guess_content_type().
743 2008-07-06 David Zeuthen <davidz@redhat.com>
746 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
747 is needed for easily handling adoption of foreign volumes by
748 out-of-process volume monitors (#541793)
750 2008-07-06 David Zeuthen <davidz@redhat.com>
752 * gvolumemonitor.[ch]:
753 * gunionvolumemonitor.c: Export the eject-button signal on the
754 volume monitor class (#541794).
756 2008-07-06 Matthias Clasen <mclasen@redhat.com>
758 * gappinfo.c: More doc tweaks
760 2008-07-05 Matthias Clasen <mclasen@redhat.com>
762 * gappinfo.c: Clarify some docs
764 2008-07-03 Matthias Clasen <mclasen@redhat.com>
766 * gdesktopappinfo.c: Fix a stupid mistake.
768 2008-07-02 Matthias Clasen <mclasen@redhat.com>
770 * === Released 2.17.3 ===
772 2008-07-02 Matthias Clasen <mclasen@redhat.com>
774 * gfilemonitor.c: Fix the build.
776 2008-07-02 Matthias Clasen <mclasen@redhat.com>
778 Bug 536160 – Add g_file_monitor()
781 * gfile.[hc]: Add g_file_monitor which can return either
782 a file or a directory monitor. Proposed by Behdad Esfahbod
784 2008-07-02 Matthias Clasen <mclasen@redhat.com>
786 536733 – gio build failure on Irix
788 * glocalfile.c: Use a configure check for structfs.f_bavail.
790 2008-07-02 Matthias Clasen <mclasen@redhat.com>
792 Bug 534639 – add g_desktop_app_info_new_from_keyfile
795 * gdesktopappinfo.[hc]: Add a function to create a
796 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
798 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
800 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
802 2008-07-01 Matthias Clasen <mclasen@redhat.com>
804 * gunixmounts.c: Fix a doc typo.
806 2008-07-01 Cody Russell <bratsche@gnome.org>
808 * gio/gcontenttype.c:
809 * gio/gwin32appinfo.c:
810 * gio/gwin32volumemonitor.c:
811 * gio/gwin32mount.c: Fixed some include problems.
813 2008-07-01 Cody Russell <bratsche@gnome.org>
817 Moved all relevant typedefs into these files.
820 Updated wrt added files.
822 Split types into separate file for easier maintainership. (#538564)
824 2008-06-30 Matthias Clasen <mclasen@redhat.com>
826 Bug 540331 – g_file_append_to () documentation: can return NULL
828 * gfile.c (g_file_append_to): Clarify docs.
831 2008-06-30 Matthias Clasen <mclasen@redhat.com>
833 Bug 539090 – g_content_type_from_mime_type() should unalias
835 * gcontentype.c (g_content_type_from_mime_type): Unalias.
836 Patch by Markus Bergman
838 2008-06-30 Matthias Clasen <mclasen@redhat.com>
840 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
843 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
844 on ppc and alpha. Reported by Mart Raudsepp
846 2008-06-29 Matthias Clasen <mclasen@redhat.com>
849 * tests/memory-output-stream.c: Add some tests for
852 2008-06-29 Matthias Clasen <mclasen@redhat.com>
854 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
857 * gmemoryoutputstream.c (array_resize): Handle truncation to
858 zero correctly. Reported by Akira Tagoh
860 2008-06-29 Matthias Clasen <mclasen@redhat.com>
862 * gmemoryoutputstream.c: Trivial doc fixes
864 2008-06-29 Matthias Clasen <mclasen@redhat.com>
866 Bug 540802 – g_list_prepend doesn't concat lists
868 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
869 one list to another. Pointed out by Jan Arne Petersen
871 2008-06-28 Michael Natterer <mitch@imendio.com>
873 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
875 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
877 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
878 to avoid problems with partial icon themes.
880 2008-06-17 Hans Breuer <hans@breuer.org>
882 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
883 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
884 access again on win32, see bug #538127
885 * giomodule.c : ensure GWin32VolumeMonitor is registered
886 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
887 * Makefile.am makefile.msc : updated
889 2008-06-16 Hans Breuer <hans@breuer.org>
891 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
892 and initialization in one step avoids c99ism
894 2008-06-16 Christian Persch <chpe@gnome.org>
897 * gio/gbufferedinputstream.c
899 * gio/gdatainputstream.c
900 * gio/gdesktopappinfo.c
902 * gio/gfileenumerator.c
903 * gio/gfileinputstream.c
904 * gio/gfileoutputstream.c
906 * gio/glocaldirectorymonitor.c
908 * gio/glocalfileenumerator.c
909 * gio/glocalfileinfo.c
910 * gio/glocalfilemonitor.c
911 * gio/glocalfileoutputstream.c
912 * gio/gmemoryinputstream.c
913 * gio/gmemoryoutputstream.c
914 * gio/goutputstream.c
915 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
918 2008-06-16 Tor Lillqvist <tml@novell.com>
920 Bug 538362 - Get Win32 icons back in the file chooser
922 * gcontenttype.c (g_content_type_get_icon): Look up the icon
923 corresponding to a file extension in the Registry. Patch by Hans
925 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
927 2008-06-16 Tor Lillqvist <tml@novell.com>
929 Patches by Hans Breuer:
931 * glocalfile.c (is_xp_or_later): Handle compiling against older
932 SDK headers with missing VerifyVersionInfo(). Conditioned on
933 _MSC_VER, but should probably use some better test.
934 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
935 uninitialised statfs_result variable on Win32.
937 2008-06-16 Michael Natterer <mitch@imendio.com>
939 * *.c: chain up unconditionally in finalize() and dispose(). Also
940 don't dereference these function pointers when calling them since
941 that has no meaning at all.
943 2008-06-16 Ross Burton <ross@burtonini.com>
946 Remove check for dispose implementation as it annoys Emmanuele.
948 2008-06-16 Ross Burton <ross@burtonini.com>
950 Bug 536252 – GFileEnumerator should allow access to the containing
956 Add g_file_enumerator_get_container() and a container writeable
957 construct-only property. Also shuffle around typedefs to make it
960 * glocalfileenumerator.c:
961 * glocalfileenumerator.h:
963 Instead of a string filename take a GFile in the constructor and
964 use it to set the container property.
969 2008-06-16 Matthias Clasen <mclasen@redhat.com>
971 * gfile.c: Make includes more uniform
973 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
975 * tests/live-g-file.c (sample_struct):
976 Use less fancy unicode filenames, so the test doesn't fail
977 on Mac OS X (#531476).
979 2008-06-12 Matthias Clasen <mclasen@redhat.com>
981 * === Released 2.17.2 ===
983 2008-06-12 Matthias Clasen <mclasen@redhat.com>
985 * === Released 2.17.1 ===
987 2008-06-11 A. Walton <awalton@gnome.org>
989 * tests/g-file.c (test_g_file_new_null):
990 Fix broken test case.
992 2008-06-11 Matthias Clasen <mclasen@redhat.com>
994 * pltcheck.sh: We use g_clear_error now.
996 2008-06-11 Matthias Clasen <mclasen@redhat.com>
998 * glocalfile.c (g_local_file_enumerate_children): Revert
999 an unintended change.
1001 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1003 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1005 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1007 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1010 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1011 as icon for the desktop directory, also make user-home and
1012 user-desktop the preferred icons.
1014 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1017 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1018 to add a name to the front of the list.
1020 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1022 Bug 537392 – Additional colon in xattr name
1024 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1025 too. Reported by Alessandro Morandi
1027 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1029 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1032 * glocalfile.c (get_fs_type): Add afs and autofs.
1033 Patch by Danny Baumann.
1035 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1037 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1039 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1040 is no parent. (Owen Taylor, patch by Christian Neumair)
1042 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1044 * gfile.c (g_file_replace_contents): do not leak the output stream.
1046 2008-06-10 Michael Natterer <mitch@imendio.com>
1048 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1049 uninitialized memory as array index.
1051 2008-06-10 Tor Lillqvist <tml@novell.com>
1053 * gcontenttype.c (g_content_type_can_be_executable)
1054 (g_content_type_get_icon) [Win32]: Add TODO comments.
1056 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1058 * xdgmime/Makefile.am: Fix the build
1060 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1062 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1063 in the shared mime database, if available.
1065 * xdgmime/*: Sync with upstream. This brings support for
1066 glob weights, generic icons, and changes the cache format to
1069 2008-05-28 Michael Natterer <mitch@imendio.com>
1071 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1072 the global CPPFLAGS now.
1074 * tests/data-input-stream.c
1075 * tests/data-output-stream.c
1076 * tests/g-file-info.c
1078 * tests/live-g-file.c
1079 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1081 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1083 * === Released 2.17.0 ===
1085 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1086 doesn't complain about leftover files.
1088 2008-05-27 simon.zheng <simon.zheng@sun.com>
1090 * glocalfile.c: (g_local_file_query_filesystem_info):
1091 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1093 2008-05-26 Michael Natterer <mitch@imendio.com>
1095 * gmemoryoutputstream.h: declare
1096 g_memory_output_stream_get_data_size().
1098 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1100 * tests/*: Make tests work
1102 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1104 * gio.symbols: Add g_memory_output_stream_get_data_size.
1106 2008-05-25 Ross Burton <ross@burtonini.com>
1109 Fix typo in error message (#534764).
1111 2008-05-25 Ross Burton <ross@burtonini.com>
1114 Fix circular dependency loop for gioenumtypes.h (#534759).
1116 2008-05-19 Hans Breuer <hans@breuer.org>
1118 * Makefile.am : EXTRA_DIST += makefile.msc
1120 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1123 * gcontenttype.c: (g_content_type_from_mime_type):
1124 New function to create a content type from a mime type. (#527175,
1127 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1129 Bug 532965 – Should not return filesystem::free for certain file systems
1131 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1132 free space for ncpfs.
1134 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1136 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1138 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1139 st_dev might be zero.
1141 2008-05-16 Tor Lillqvist <tml@novell.com>
1143 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1144 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1146 2008-05-13 Bastien Nocera <hadess@hadess.net>
1148 * gfile.c (has_valid_scheme): A URI scheme must start with a
1149 letter, even if later more characters are allowed (#532852)
1151 2008-05-05 Michael Natterer <mitch@imendio.com>
1153 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1154 code from being checked in that breaks the build of applications
1155 which use G_DISABLE_SINGLE_INCLUDES.
1157 * makegioalias.pl: make the alias file include "glib.h" instead of
1160 * gio.symbols: whitespace change to force regeneration of the
1161 alias file after above script change.
1163 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1165 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1167 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1169 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1171 2008-04-28 David Zeuthen <davidz@redhat.com>
1173 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1174 displaying mounts in a subdirectory not accessible to the
1177 2008-04-22 Michael Natterer <mitch@imendio.com>
1179 * Makefile.am: fix library versioning (it was 0.0.0).
1181 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1183 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1184 Default disable all loggings.
1185 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1186 (port_fetch_event_cb): Fixed two macro nits.
1188 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1190 * xdgmime/xdgmime.c: Rework the timestamp checking code
1191 to protect against duplicate directories in XDG_DATA_DIRS.
1192 Fixes fd.o bug 12513, reported by Joe Shaw.
1194 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1196 Partically revert the last commit after realizing that
1197 xdg_mime_media_type_equal doesn't have to init at all.
1199 * xdgmime/xdgmime.h:
1200 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1202 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1204 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1206 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1207 reported by Joe Shaw and Federico Mena Quintero.
1209 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1210 (xdg_mime_media_type_equal): Turn into a wrapper around the
1213 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1214 functions throughout.
1216 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1218 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1219 tolerate an empty TryExec= line without failing; nautilus used
1220 to create launchers with these in previous versions. Fixes #528433
1222 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1224 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1225 after name. Fixes #527132.
1227 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1229 * gfile.c: (g_file_replace):
1232 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1234 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1236 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1237 by Christian Kellner.
1239 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1241 * gunixmounts.c: (g_unix_mount_guess_should_display):
1242 Don't list the user directory as a mount, fix potential issue
1243 when other users have a similar naming and don't special case the
1244 gvfs mounts there since that's not required (#525866)
1246 2008-03-31 Alexander Larsson <alexl@redhat.com>
1248 * glocalfile.c (get_parent):
1251 2008-03-31 A. Walton <awalton@svn.gnome.org>
1253 * gfile.c (g_file_query_file_type):
1254 Always return a GFileType enum value (#520715).
1256 2008-03-31 Alexander Larsson <alexl@redhat.com>
1258 * glocalfileenumerator.c:
1259 Read readdir() info in chunks (of 1000) and sort
1260 the chunks by inode before stat:ing.
1261 This is a 20% performance increase in testing
1262 gvfs-ls on /usr/bin with cold cache.
1264 2008-03-31 Alexander Larsson <alexl@redhat.com>
1266 * gmemoryoutputstream.c:
1267 Clarify docs for g_memory_output_stream_get_size.
1268 Add g_memory_output_stream_get_data_size.
1270 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1274 * gfile.h: Add g_file_query_file_type convenience function
1275 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1277 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1279 * gfileenumerator.c:
1280 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1282 2008-03-28 A. Walton <awalton@svn.gnome.org>
1284 * giomodule.c (_g_io_modules_ensure_loaded):
1285 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1288 2008-03-28 Alexander Larsson <alexl@redhat.com>
1291 (copy_stream_with_progress):
1294 2008-03-28 Alexander Larsson <alexl@redhat.com>
1297 (copy_stream_with_progress):
1298 (file_copy_fallback):
1299 Fallback to g_file_query_info for source size
1300 if g_file_input_stream_query_info fails. (#524579)
1302 2008-03-28 Alexander Larsson <alexl@redhat.com>
1304 * glocalfile.c (g_local_file_move):
1305 Reuse old string instead of adding new one.
1307 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1309 * fen/*.[hc]: still copyright issue. I hate copyright.
1311 2008-03-27 Alexander Larsson <alexl@redhat.com>
1313 * glocalfile.c (g_local_file_move):
1314 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1315 file over directory. This is according to the docs and what the move via
1316 copy+remove fallback does.
1318 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1320 * fen/*.[hc]: Updated copyright.
1322 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1324 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1326 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1328 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1329 not emit attribute changed events when optimizing changed events.
1330 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1333 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1335 * gmountoperation.[hc]: Small documentation additions
1337 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1339 * gunixmounts.c: (guess_mount_type):
1340 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1342 2008-03-19 Alexander Larsson <alexl@redhat.com>
1345 (copy_stream_with_progress):
1346 Bump block side for copy to 64k to minimize
1347 overhead for low latency links. (#523015)
1349 2008-03-16 Tor Lillqvist <tml@novell.com>
1351 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1352 depend on gio.def on Windows.
1354 2008-03-12 David Zeuthen <davidz@redhat.com>
1358 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1360 2008-03-14 Alexander Larsson <alexl@redhat.com>
1364 Avoid redudant tests (#521851)
1365 Patch from Josselin Mouette
1367 2008-03-14 Alexander Larsson <alexl@redhat.com>
1370 (g_file_monitor_is_cancelled):
1371 Fix C89 issue (#521672)
1372 Patch from Jens Granseuer
1374 2008-03-14 Alexander Larsson <alexl@redhat.com>
1376 * fam/fam-helper.[ch]:
1378 Shut down fam (including removing fam GSource) when
1379 module is unloaded (#521513)
1380 Patch from Joe Marcus Clarke
1382 2008-03-14 Alexander Larsson <alexl@redhat.com>
1385 (_g_io_modules_ensure_loaded):
1388 2008-03-14 Alexander Larsson <alexl@redhat.com>
1391 (g_local_file_query_filesystem_info):
1392 Use right define name for f_fstypename member check
1394 2008-03-14 Alexander Larsson <alexl@redhat.com>
1397 * fen/Makefile.am: Added.
1398 * fen/fen-data.[ch]: Added.
1399 * fen/fen-dump.[ch]: Added.
1400 * fen/fen-helper.[ch]: Added.
1401 * fen/fen-kernel.[ch]: Added.
1402 * fen/fen-missing.[ch]: Added.
1403 * fen/fen-node.[ch]: Added.
1404 * fen/fen-sub.[ch]: Added.
1405 * fen/gfendirectorymonitor.[ch]: Added.
1406 * fen/gfenfilemonitor.[ch]: Added.
1408 Added Solaris FEN file notification backend.
1409 Patch from Lin Ma <Lin.Ma@Sun.COM>
1411 2008-03-13 Tor Lillqvist <tml@novell.com>
1413 * Makefile.am: Actually use the gio.def file when linking the
1414 library on Windows. Produce .lib library for Microsoft's toolchain
1415 when possible. Install the .lib and .def file like for the other
1418 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1420 * tests/live-g-file.c:
1421 Include live-g-file in standard set of tests, making a temporary
1422 directory in source structure.
1424 Clean target directory before the tests (write mode only)
1426 2008-03-12 Tor Lillqvist <tml@novell.com>
1428 Bug 517419 - gio win32 directory monitor
1429 Implementation by Vlad Grecescu.
1432 * win32/gwin32directorymonitor.h
1433 * win32/gwin32directorymonitor.c: New files.
1435 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1437 * Makefile.am: Add the win32 subdirectory.
1439 2008-03-12 Tor Lillqvist <tml@novell.com>
1441 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1442 normal struct stat on Unix but struct _stati64 on Windows to have
1443 access to 64-bit file size information. Use that instead of struct
1444 stat in the functions declared here in this private header.
1446 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1447 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1448 warnings about unused functions and variables. Don't set
1449 meaningless attributes like inode numbers on Windows.
1451 2008-03-12 Benjamin Otte <otte@gnome.org>
1454 trim whitespace so gtk-doc groks the function name
1456 2008-03-12 Tor Lillqvist <tml@novell.com>
1458 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1459 returning FALSE, on Win32.
1461 2008-03-11 Alexander Larsson <alexl@redhat.com>
1464 * glocalfileinfo.[ch]:
1465 Correctly implement can_trash by actually
1466 looking for a trash dir, not just assuming
1469 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1471 * === Released 2.16.1 ===
1473 2008-03-11 Alexander Larsson <alexl@redhat.com>
1476 Fix crashes in new constructor and properties code
1478 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1480 * gfile.c: Minor spelling correction in documentation:
1481 existance -> existence.
1483 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1485 * === Released 2.16.0 ===
1487 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1489 * gio.symbols: Remove g_file_contains_file here, too.
1491 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1493 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1494 Samuel Cormier-Iijima)
1496 2008-03-08 Tor Lillqvist <tml@novell.com>
1498 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1501 2008-03-07 Alexander Larsson <alexl@redhat.com>
1504 (g_local_file_query_filesystem_info):
1505 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1506 Patch from Jasper Lievisse Adriaanse
1508 2008-03-06 Tor Lillqvist <tml@novell.com>
1510 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1511 comments for the *_USEC attributes.
1513 2008-03-06 Alexander Larsson <alexl@redhat.com>
1515 * gfile.c (g_file_query_exists):
1516 Add g_return_val_if_fail check (#520700)
1518 2008-03-06 Alexander Larsson <alexl@redhat.com>
1520 * gdesktopappinfo.c:
1523 * gunionvolumemonitor.c:
1526 * tests/live-g-file.c:
1527 * xdgmime/xdgmimecache.c:
1528 Fix sparse warnings (#519489)
1530 2008-03-05 Alexander Larsson <alexl@redhat.com>
1533 Make cancellation threadsafe (i.e.
1534 guarantee its only done once, and always
1537 * glocaldirectorymonitor.c:
1538 Make sure we the monitor lives while the
1539 mounts_changed callback is being called (#520484)
1541 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1543 * gbufferedinputstream.c: Fix typo in parameter
1546 2008-03-04 Alexander Larsson <alexl@redhat.com>
1549 Remove deprecated symbols we kept for one release.
1551 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1554 * goutputstream.c: Tiny documentation corrections.
1556 2008-03-03 Alexander Larsson <alexl@redhat.com>
1558 * gunionvolumemonitor.c:
1560 Fix the adopt_orphan_mount vfunc to take a
1561 volume_monitor reference in an ABI compat way.
1562 This change is not API compat, but the added
1563 arg is not used in the only user of this vfunc, so
1564 all we get is a harmless warning in gvfs (#520169)
1566 2008-03-01 Benjamin Otte <otte@gnome.org>
1569 clarify docs for g_file_delete().
1571 2008-02-29 Alexander Larsson <alexl@redhat.com>
1575 Make sure empty files get text/plain type (#518720)
1577 2008-02-27 Alexander Larsson <alexl@redhat.com>
1583 (g_unix_volume_mount):
1584 Add missing GMountMountFlags argument
1586 2008-02-26 Alexander Larsson <alexl@redhat.com>
1589 (g_local_file_delete):
1590 Handle filesystems (like ntfs-3g) that return EEXIST instead
1591 of ENOTEMPTY (#518816)
1593 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1595 * === Released 2.15.6 ===
1597 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1599 * gfile.c (g_file_find_enclosing_mount):
1600 * ginputstream.c (g_input_stream_set_pending):
1601 * glocalfile.c (g_local_file_find_enclosing_mount):
1602 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1603 * goutputstream.c (g_output_stream_set_pending):
1605 Fixup translator comments (#518578).
1607 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1609 * gfile.c (g_file_find_enclosing_mount):
1611 * glocalfile.c (g_local_file_find_enclosing_mount):
1614 Fix a few typos in translator comments and documentation.
1616 2008-02-25 Alexander Larsson <alexl@redhat.com>
1623 Add translator comments (#518578)
1625 2008-02-25 Alexander Larsson <alexl@redhat.com>
1628 Reintroduce g_file_contains_file, keep around for one
1629 unstable release cycle to avoid crashing to many apps.
1630 Make sure to delete after release.
1632 2008-02-25 Alexander Larsson <alexl@redhat.com>
1635 Remove deprecated g_file_contains_file.
1637 2008-02-25 Alexander Larsson <alexl@redhat.com>
1640 Emit actual change signals in an idle handler.
1641 This avoids reentrance and locking problems in
1642 the file notification backends.
1644 2008-02-25 Alexander Larsson <alexl@redhat.com>
1647 (g_unix_mount_guess_should_display):
1648 Remove type guessing, instead just display
1649 mounts in /media and in ~/.
1651 2008-02-25 Alexander Larsson <alexl@redhat.com>
1654 Make new strings reuse old ones.
1656 2008-02-25 Alexander Larsson <alexl@redhat.com>
1659 Implement trashing and filesystem::readonly for win32 (#517235)
1660 Patch from Yevgen Muntyan
1662 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1664 * gfileinfo.h: Documentation fixes.
1666 2008-02-22 Alexander Larsson <alexl@redhat.com>
1668 * gcontenttype.c (g_content_type_get_icon):
1669 Look at old-style gnome mime icon names too, as many
1670 have not moved to the new style.
1672 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1674 * *.c: Correct the @include in for section docs.
1676 2008-02-21 David Zeuthen <davidz@redhat.com>
1678 * glocalfileinfo.c: (_g_local_file_info_get):
1680 (g_content_type_get_icon): Implement this function by
1681 moving bits from glocalfileinfo.c
1682 (g_content_type_get_description): Unalias before getting
1683 description (#517687)
1685 * gfile.c: (g_file_class_init),
1686 (g_file_query_filesystem_info_async),
1687 (g_file_query_filesystem_info_finish),
1688 (query_filesystem_info_data_free),
1689 (query_filesystem_info_async_thread),
1690 (g_file_real_query_filesystem_info_async),
1691 (g_file_real_query_filesystem_info_finish):
1692 * gfile.h: Implement async version of
1693 g_file_query_filesystem_info()
1695 * gfileinfo.h: Add new attributes for filesystem::use-preview
1697 * gio.symbols: Update
1699 * gthemedicon.c: (g_themed_icon_append_name):
1700 * gthemedicon.h: Add new new convenience function.
1702 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1703 (get_mounts), (get_volumes), (get_connected_drives),
1704 (get_volume_for_uuid), (get_mount_for_uuid),
1705 (g_union_volume_monitor_init), (populate_union_monitor),
1706 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1707 (g_volume_monitor_adopt_orphan_mount):
1709 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1710 monitor implementations to call into the main volume monitor. Also
1711 separate object initialization and volume monitor initialization
1712 such that non-native volume monitors can properly adopt their
1715 2008-02-21 Alexander Larsson <alexl@redhat.com>
1720 2008-02-21 Alexander Larsson <alexl@redhat.com>
1723 Add more documentation about how GFiles work (from #517086)
1725 2008-02-21 Alexander Larsson <alexl@redhat.com>
1729 Add new g_file_has_prefix that does the same as g_file_contains_file.
1730 Deprecate g_file_contains_file and add a macro that converts
1731 it to g_file_has_prefix.
1732 The reason for this change is that the contains_file() name seems to
1733 imply that this does more work than what it does, but its really only
1734 a name match (from #517086)
1739 Update to match the above change.
1741 2008-02-20 Benjamin Otte <otte@gnome.org>
1743 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1744 (g_file_eject_mountable):
1745 even more cases of not returning in error path
1747 2008-02-20 Benjamin Otte <otte@gnome.org>
1749 * gfile.c: (g_file_mount_mountable):
1750 return from function in error path.
1752 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1755 Remove trailing coma in GMountMountFlags struct
1757 2008-02-18 Alexander Larsson <alexl@redhat.com>
1761 * glocalfileoutputstream.c:
1762 Use g_unlink/g_rename instead of unlink/rename;
1763 do not pass raw filenames to g_set_error. (#517239)
1764 Patch from Yevgen Muntyan.
1766 2008-02-18 Alexander Larsson <alexl@redhat.com>
1769 * glocalfileoutputstream.c:
1770 Open files with O_BINARY on windows. (#517140)
1772 2008-02-14 Alexander Larsson <alexl@redhat.com>
1774 * glocalfileoutputstream.c:
1775 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1777 2008-02-14 Alexander Larsson <alexl@redhat.com>
1780 Copy permissions with file on copy (#514084)
1781 This is what cp does and makes sure e.g. the
1782 exec permissions are kept.
1783 Its kinda weird in that it keeps the permission bits
1784 the same while the uid and gid are different. However
1785 the new uid is the user so its not a security issue,
1786 and I've heard no complaints about cp on this issue.
1788 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1790 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1792 2008-02-13 Alexander Larsson <alexl@redhat.com>
1794 * inotify/inotify-path.c:
1795 Define IN_ONLYDIR if not in header (#515346)
1797 2008-02-12 Alexander Larsson <alexl@redhat.com>
1799 * tests/live-g-file.c:
1802 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1804 * === Released 2.15.5 ===
1806 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1808 * gio.symbols: Add g_mount_mount_flags_get_type.
1810 2008-02-11 Alexander Larsson <alexl@redhat.com>
1813 (g_file_info_set_attribute_mask):
1814 (g_file_attribute_matcher_matches_id):
1815 Correctly handle NULL GAttributeMatcher meaning
1816 matches nothing. (Fixes #513492)
1818 2008-02-11 Alexander Larsson <alexl@redhat.com>
1823 Added GMountMountFlags enum and added a flags
1824 argument to all mount calls.
1826 This is an API/ABI change for future extensibility,
1827 as I think we will need at least an
1828 inhibit-autorun flag (the panel needs this).
1829 There are no flags defined yet though.
1831 2008-02-11 Alexander Larsson <alexl@redhat.com>
1834 Added new standard::description attribute.
1835 Requested by Vincent, and useful for both
1838 2008-02-11 Alexander Larsson <alexl@redhat.com>
1840 * gdesktopappinfo.c:
1843 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1845 * *.c: Documentation additions
1847 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1849 * gappinfo.h: Formatting cleanup
1850 * gappinfo.c: Fix up docs.
1852 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1854 * gunixmounts.c: Consistently use getmntent_r() and fall
1855 back to getmntent(). (#515492)
1857 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1859 * gbufferedinputstream.c:
1861 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1863 * tests/data-input-stream.c:
1864 * tests/data-output-stream.c: Portability fixes.
1866 2008-02-08 Alexander Larsson <alexl@redhat.com>
1871 Add g_volume_should_automount.
1874 2008-02-07 Tor Lillqvist <tml@novell.com>
1876 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1877 Win32, too Unix-specific.
1879 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1881 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1882 a local plt if the compiler doesn't support what we want. Bug #514702
1884 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1886 reviewed by: <delete if not using a buddy>
1889 * gunixinputstream.c:
1890 * gunixoutputstream.c:
1892 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1894 * tests/Makefile.am:
1895 * tests/live-g-file.c:
1896 * tests/live-g-file.txt:
1897 New GIO testing module working over real data
1899 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1901 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1902 Fallback to rename() if link() is not available
1903 (when no support on target filesystem)
1905 2008-02-06 Michael Natterer <mitch@imendio.com>
1907 * gfileinfo.c (g_file_info_get_icon): replace
1908 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1910 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1912 * gfile.c (g_file_create):
1913 Documentation update of error codes
1915 2008-02-06 Alexander Larsson <alexl@redhat.com>
1917 * gdesktopappinfo.c:
1918 Update to use both mimeapps.list and
1919 defaults.list as discussed on xdg list.
1921 2008-02-06 Benjamin Otte <otte@gnome.org>
1924 * gfilenamecompleter.c:
1925 Fix some typos in the documentation.
1927 2008-02-06 Alexander Larsson <alexl@redhat.com>
1929 * glocalfile.c (g_local_file_trash):
1930 Don't succeed with trash if newly created
1931 trash dir has the wrong owner. (#514696)
1933 2008-02-05 Alexander Larsson <alexl@redhat.com>
1935 * glocalfile.c (g_local_file_move):
1936 Don't spew warnings when destination is not
1939 2008-02-03 Hans Breuer <hans@breuer.org>
1941 * makefile.msc : update
1943 2008-02-01 Michael Natterer <mitch@imendio.com>
1945 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1946 return value of xdg_mime_list_mime_parents() to a variable of the
1949 2008-02-01 Alexander Larsson <alexl@redhat.com>
1951 * gappinfo.c (g_app_info_launch_uris):
1952 Actually call the launch_uris method, not
1955 2008-02-01 Alexander Larsson <alexl@redhat.com>
1957 * gdesktopappinfo.c (g_desktop_app_info_equal):
1958 Ensure appinfos with no id but same pointer value
1961 2008-02-01 Alexander Larsson <alexl@redhat.com>
1963 * gappinfo.c (g_app_info_launch_default_for_uri):
1966 2008-02-01 Alexander Larsson <alexl@redhat.com>
1970 Add g_app_info_launch_default_for_uri utility
1973 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1975 * gdesktopappinfo.c:
1976 Doc fix for g_app_info_get_default_for_uri_scheme ()
1979 2008-01-30 Alexander Larsson <alexl@redhat.com>
1982 Add doc comment about uris vs GFiles to
1985 * gdesktopappinfo.c:
1986 Ensure uris passed to g_app_info_launch_uris()
1987 are not roundtriped through GFile (as that
1988 may be slightly destructive for e.g. mailto: links)
1990 2008-01-30 Alexander Larsson <alexl@redhat.com>
1992 * tests/data-input-stream.c:
1993 * tests/data-output-stream.c:
1994 C89 fixes from Jens Granseuer (#512849)
1996 2008-01-30 Alexander Larsson <alexl@redhat.com>
1999 Fix gamin/fam difference build issue. (#509419)
2001 2008-01-29 Alexander Larsson <alexl@redhat.com>
2004 * gdesktopappinfo.c:
2005 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2007 2008-01-29 Alexander Larsson <alexl@redhat.com>
2009 * gdesktopappinfo.c:
2010 * gdesktopappinfo.h:
2011 giomodule-priv.h include moved to .c file.
2013 2008-01-29 Alexander Larsson <alexl@redhat.com>
2015 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2016 Remove unused prio/name fields.
2018 2008-01-29 Alexander Larsson <alexl@redhat.com>
2020 * gcontenttype.c (looks_like_text):
2021 Don't treat whitespace as control chars.
2023 2008-01-29 Alexander Larsson <alexl@redhat.com>
2025 * gdesktopappinfo.c:
2026 Lazily create the desktop files for appinfos created
2027 by g_app_info_create_from_commandline() when needed
2028 for mime associations. This allows run-time use
2029 of GAppInfo object without creating unnecessary
2032 2008-01-29 Alexander Larsson <alexl@redhat.com>
2035 Added new symbols to gio.symbols
2037 2008-01-29 Alexander Larsson <alexl@redhat.com>
2040 Add g_file_query_default_handler utility to easily look up
2041 the GAppInfo that handles a file.
2043 * gdesktopappinfo.[ch]:
2045 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2048 Remove unused function
2050 2008-01-29 Alexander Larsson <alexl@redhat.com>
2052 * gfileenumerator.c:
2053 Mention need to free returned value in
2054 g_file_enumerator_next_files_finish docs.
2055 Fix leak if g_file_enumerator_next_files_finish()
2058 2008-01-29 Alexander Larsson <alexl@redhat.com>
2061 (_g_unix_content_type_get_parents):
2062 Use list_parents, not get_parents from xdgmime, because
2063 the later doesn't use the cache.
2065 * xdgmime/xdgmimecache.c:
2066 (_xdg_mime_cache_list_mime_parents):
2067 Don't list the same type as parent multiple times.
2069 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2071 * === Released 2.15.4 ===
2073 2008-01-28 Alexander Larsson <alexl@redhat.com>
2076 Register local vfs with prio 0.
2079 Remove old name and prio class members
2081 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2083 * tests/g-file.c: Disable some tests that are failing in
2084 the absence of a http backend.
2086 2008-01-28 Alexander Larsson <alexl@redhat.com>
2090 Add registration hooks for extension points.
2091 Register the gio extension points.
2093 * fam/gfamdirectorymonitor.c:
2094 * fam/gfamfilemonitor.c:
2095 * glocaldirectorymonitor.[ch]:
2096 * glocalfilemonitor.[ch]:
2097 * gnativevolumemonitor.h:
2098 * gunionvolumemonitor.c:
2099 * gunixvolumemonitor.c:
2102 * inotify/ginotifydirectorymonitor.c:
2103 * inotify/ginotifyfilemonitor.c:
2104 Use the extension points registration instead
2105 of g_type_children().
2107 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2110 * gvolume.[hc]: Document new API.
2112 * gfile.c (g_file_copy_async): Fix docs
2114 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2116 * gbufferedinputstream.c:
2118 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2121 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2123 * glocalfile.c: Avoid trivial differences in translatable strings.
2125 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2127 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2128 build with gcc 3.4 (#509419)
2130 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2132 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2133 (#509994, Murray Cumming)
2135 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2137 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2138 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2139 this allows big jobs to be executed in chunks, instead of blocking
2140 the main loop for a long time.
2142 * gsimpleasyncresult.c:
2143 * giofile.c: Adapt callers.
2145 2008-01-25 Alexander Larsson <alexl@redhat.com>
2147 * gdesktopappinfo.c:
2148 Implement changes discussed on xdg list.
2149 Now we can add supported mimetypes by just using defaults.list
2150 We can also remove associations in defaults.list.
2152 2008-01-25 Alexander Larsson <alexl@redhat.com>
2154 * gdesktopappinfo.c:
2155 Don't make local copy of desktop file
2156 for mimetype changes if the file already
2157 supports the new mimetype.
2159 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2163 * gbufferedinputstream.c:
2164 * glocalfile.c: String improvements. (#511966,
2165 Theppitak Karoonboonyanan)
2167 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2169 * gioscheduler.h: Expand docs a bit.
2171 2008-01-24 Alexander Larsson <alexl@redhat.com>
2174 Add g_drive_get_identifier and
2175 g_drive_enumerate_identifiers
2178 Add g_volume_get_identifier and
2179 g_volume_enumerate_identifiers
2185 Implement identifiers for unix backend
2187 2008-01-24 Alexander Larsson <alexl@redhat.com>
2192 Add g_file_copy_async() (#511580)
2193 Based on patch from Carlos Garcia Campos
2195 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2197 * gioscheduler.c: Some documentation additions.
2199 2008-01-22 Alexander Larsson <alexl@redhat.com>
2201 * gdesktopappinfo.c:
2202 (g_desktop_app_info_new):
2203 Don't leak basename.
2205 2008-01-22 Alexander Larsson <alexl@redhat.com>
2207 * gdesktopappinfo.c:
2208 (g_desktop_app_info_new_from_filename):
2211 2008-01-22 Alexander Larsson <alexl@redhat.com>
2213 * glocalfileinfo.c (get_thumbnail_attributes):
2216 2008-01-22 Alexander Larsson <alexl@redhat.com>
2219 (canonicalize_filename):
2220 Canonicalize paths that start with more than
2224 (compare_two_files):
2225 (test_g_file_new_for_path):
2228 2008-01-22 Alexander Larsson <alexl@redhat.com>
2231 Allow UTF-8 in file:// parse names.
2233 * tests/Makefile.am:
2234 * tests/data-input-stream.c:
2235 * tests/data-output-stream.c:
2236 * tests/g-file-info.c:
2238 Added a bunch of tests from Tomas Bzatek
2240 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2242 * === Released 2.15.3 ===
2244 2008-01-21 Alexander Larsson <alexl@redhat.com>
2246 * gfileinputstream.[ch]:
2247 * gfileoutputstream.[ch]:
2249 Remove duplicated GSeekable functions. (#509990)
2250 Just use the g_seekable_xxx() calls instead.
2252 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2255 * gvolumemanager.c: Whitespace cleanups.
2257 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2258 Use the right mode when creating the file.
2260 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2262 * gfileenumerator.c:
2263 * gfileinputstream.c:
2265 * goutputstream.c: Documentation: Fixed minor typos
2266 and added more mentions of specific _finish() functions.
2268 2008-01-21 Alexander Larsson <alexl@redhat.com>
2270 * inotify/Makefile.am:
2271 * inotify/inotify-helper.c:
2272 * inotify/inotify-kernel.c:
2273 * inotify/inotify-path.c:
2274 * inotify/local_inotify.h: Removed.
2275 * inotify/local_inotify_syscalls.h: Removed.
2276 Removed the included copies of the inotify
2277 headers. We now only use the <sys/inotify.h>
2278 header which exists on modern systems.
2279 This fixes problems on ARM and SH5 (#510448)
2280 but is also generally much cleaner and future
2281 safe. For instance, if other OSes add support
2282 for inotify it should "just work".
2284 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2286 * inotify/*.c: Coding style fixes.
2287 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2288 for the 1/4 Hz timer.
2290 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2293 * gfilemonitor.[hc]:
2294 * gmemoryinputstream.c:
2295 * gmemoryoutputstream.c:
2296 * gmountoperation.c:
2297 * gthemedicon.c: Documentation updates
2299 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2301 * gfile.c: documentation: Fixed more minor
2304 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2306 * gmount.c: (g_mount_remount): documentation:
2307 Mention g_mount_remount_finish() instead of
2308 g_mount_unmount_finish().
2310 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2314 * gfile.c: Fixed some minor typos in the
2317 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2319 * gio/gvolumemonitor.c:
2320 (g_volume_monitor_get_connected_drives):
2321 (g_volume_monitor_get_volumes):
2322 (g_volume_monitor_get_mounts): Documentation:
2323 Clarify the ownership of the regurn GLists.
2325 2008-01-17 Alexander Larsson <alexl@redhat.com>
2328 Add the async find_enclosing_mount version
2329 to the header file too.
2331 2008-01-17 Alexander Larsson <alexl@redhat.com>
2334 Add async version of find_enclosing_mount
2335 with default implementation.
2337 2008-01-17 Alexander Larsson <alexl@redhat.com>
2342 Allow calls to implementation of copy and write
2343 even if the type of the file implementations is
2344 different. This can be used to implement native
2345 upload and download calls in a vfs.
2348 (g_local_file_move):
2349 Protect against the case where move is called
2350 with one file not being local.
2352 Make sure we call the progress callback once
2353 in the native move operation so that the caller
2354 knows how many bytes were copied.
2356 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2359 * gdatainputstream.c:
2361 * gfileoutputstream.c:
2366 * gunixmounts.c: Corrected some typos in the documentation:
2367 occured -> occurred.
2368 its -> it's (where appropriate).
2370 2008-01-16 Alexander Larsson <alexl@redhat.com>
2374 Add g_file_query_exists (#508771)
2376 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2381 * gvolume.c: For async functions that have no non-async
2382 version, document that the GAsyncReadyCallback may be NULL.
2385 2008-01-15 Alexander Larsson <alexl@redhat.com>
2387 * gmemoryinputstream.c:
2388 * gmemoryoutputstream.c:
2389 Don't do pointer arithmetic on void * (#508602)
2390 Patch from Kazuki IWAMOTO
2392 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2394 * === Released 2.15.2 ===
2396 2008-01-14 Alexander Larsson <alexl@redhat.com>
2398 * gfile.c (g_file_monitor_file):
2399 Don't set error here, since we fallback to polling monitor.
2401 2008-01-14 Alexander Larsson <alexl@redhat.com>
2404 (g_file_monitor_directory):
2405 (g_file_monitor_file):
2406 Add GError to file monitor calls
2408 * glocaldirectorymonitor.c:
2409 * glocaldirectorymonitor.h:
2411 * glocalfilemonitor.c:
2412 * glocalfilemonitor.h:
2414 Update for above change
2416 2008-01-14 Alexander Larsson <alexl@redhat.com>
2420 Handle root correctly in g_file_get_relative_path (#508719)
2422 2008-01-14 Alexander Larsson <alexl@redhat.com>
2425 Clean up docs and example for GAsyncResult (#508074)
2427 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2429 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2430 and correct some spelling mistakes. Bug #508108.
2432 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2434 * glocalfileinfo.c: Add a comment.
2436 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2438 * gfileinfo.c: GFileInfo description: Mention
2439 how to actually set attributes in a GFile and how to discover
2440 which attributes are settable. Bug #508378.
2442 2008-01-10 A. Walton <awalton@svn.gnome.org>
2444 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2445 (g_app_info_get_default_for_type):
2446 Check for NULL content types.
2448 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2450 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2452 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2454 * gfile.c: *_async() functions: Several small corrections
2455 to the documentation, mostly correcting copy/paste errors
2456 and improving some sentences.
2458 2008-01-09 Dan Winship <danw@gnome.org>
2460 * glocalfile.c (get_unique_filename): x86_64 fix
2462 2008-01-09 Alexander Larsson <alexl@redhat.com>
2467 Add g_unix_mount_guess_should_display and use
2468 for unix volume monitor backend.
2469 This means we more or less show what the
2470 gnome-vfs backend did.
2471 Based on patch from Padraig O'Briain
2473 2008-01-09 Alexander Larsson <alexl@redhat.com>
2477 Add g_themed_icon_new_with_default_fallbacks
2480 Use default fallbacks for icons
2482 2008-01-09 Alexander Larsson <alexl@redhat.com>
2485 * gmountoperation.[ch]:
2486 Change the API a bit so that unhandled methods
2487 get reported via the reply, rather than by
2488 the signal emission return value. This is because
2489 some handlers can't know this immediately without
2490 doing I/O, and this is an async operation that
2493 2008-01-09 Alexander Larsson <alexl@redhat.com>
2496 * fam/gfamdirectorymonitor.c:
2497 * fam/gfamfilemonitor.c:
2498 Fix double free crash (#508224)
2499 Patch from Joe Marcus Clarke
2501 008-01-07 Matthias Clasen <mclasen@redhat.com>
2503 * === Released 2.15.1 ===
2505 2008-01-07 Alexander Larsson <alexl@redhat.com>
2507 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2508 Fix warning (#507835)
2510 2008-01-07 Alexander Larsson <alexl@redhat.com>
2513 Pass --internal to glib-genmarshal
2516 * gmountoperation.c:
2518 Use better types for signal arguments (#507822)
2520 2008-01-07 Alexander Larsson <alexl@redhat.com>
2523 Build test subdir after .
2524 Remove gdirectorymonitor.[ch]
2526 * gdirectorymonitor.[ch]:
2530 Remove GDirectoryMonitor and make
2531 GFileMonitor the baseclass for both file and
2532 directory monitors. Lift the more generic
2533 rate limiting code from GDirectoryMonitor
2537 * fam/gfamdirectorymonitor.[ch]:
2538 * inotify/ginotifydirectorymonitor.[ch]:
2539 * inotify/inotify-helper.c:
2540 * glocaldirectorymonitor.[ch]:
2543 Update for the removed GDirectoryMonitor.
2545 * gmemoryoutputstream.c:
2546 Remove ununsed variable
2548 2008-01-07 Alexander Larsson <alexl@redhat.com>
2550 * gmemoryinputstream.c:
2551 Translate error strings
2554 * gmemoryoutputstream.[ch]:
2555 New implementation that avoids using GByteArray
2556 in implementation and API. (#506377)
2558 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2560 * tests/*: Add a test for memory input streams.
2562 * Makefile.am: Add tests to SUBDIRS.
2564 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2566 * glocalfilemonitor.c:
2567 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2570 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2572 * gdesktopappinfo.c: Fix a docs typo.
2574 * gfileattribute.c: Add information about extended attributes
2575 to the documentation. (#505058)
2577 2008-01-04 Alexander Larsson <alexl@redhat.com>
2580 * gmountoperation.c:
2581 Use the right type (uint) for the ask_password signal.
2583 2008-01-04 Alexander Larsson <alexl@redhat.com>
2588 Add g_app_info_supports_files()
2589 Remove desktop arg from g_app_info_should_show().
2591 * gdesktopappinfo.[ch]:
2592 Implement g_app_info_supports_files() and new should_show()
2593 Add g_desktop_app_info_set_desktop_env() to set the desktop
2594 for should_show(). (This will be set by gtk+ later)
2596 2008-01-04 Alexander Larsson <alexl@redhat.com>
2599 * gmemoryinputstream.[ch]:
2600 Improve API so that you can use multiple chunks
2601 of memory and custom destroy functions. (#506374)
2603 2008-01-03 Alexander Larsson <alexl@redhat.com>
2606 Handle NULL attribute matchers safely, as we return this
2607 for empty attribute matcher strings.
2609 2008-01-03 Alexander Larsson <alexl@redhat.com>
2611 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2612 Add /usr/local to list of internal mountpoints
2614 2008-01-03 Alexander Larsson <alexl@redhat.com>
2617 Check for HAVE_LCHOWN (#505887)
2619 2008-01-03 Alexander Larsson <alexl@redhat.com>
2623 Add define for selinux context attribute.
2624 Fix missing : -> :: namespace separator change
2625 Fix missing _ -> - name change for xattr-sys.
2628 2008-01-03 Alexander Larsson <alexl@redhat.com>
2631 Link to libglib and libgobject directly (#504879)
2632 Patch from Sebastien Bacher
2634 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2636 * gfile.c: Expanded the g_file_new_for_commandline_arg
2637 description a bit, based on the code and the docs of the
2638 other g_file_new_for_* functions.
2640 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2642 * gfilemonitor.h: Fixed typo in docs.
2644 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2646 Updates to GIO documentation. (#506395, Mikael Hermansson)
2648 * gcontenttype.c: Describe memory management for return value of
2649 g_content_types_get_registered(). Missing piece from #505815.
2650 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2651 GVolume, GDrive, GMounts, which hopefully gives the user less
2652 confusions when using this API. Following explainations from
2653 Alexander Larsson on gtk-devel-list.
2655 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2657 * gfileinfo.c: Expand the long description.
2659 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2662 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2663 fix builds with --disable-visibility. (#500273, Christian Persch)
2665 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2667 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2668 in the list of returned app infos.
2670 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2672 * gappinfo.c: Fix a cross-reference
2674 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2676 * gfileinputstream.c:
2677 * gfileoutputstream.c:
2681 * gdesktopappinfo.c:
2683 * gfileinfo.c: Documentation updates.
2685 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2687 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2690 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2692 * gcontenttype.c (g_content_types_get_registered): Don't return
2693 freed memory (#505815, Mikael Hermansson)
2695 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2697 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2698 used to detect statbuf->st_blocks. (#505042)
2700 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2702 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2703 environment handling. (#504829, Cosimo Cecchi)
2705 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2707 * gappinfo.c: Doc improvements
2709 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2712 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2714 * === Released 2.15.0 ===
2716 2007-12-20 Hans Breuer <hans@breuer.org>
2718 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2719 with symbols gwin32appinfo.obj, added gmount.obj
2720 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2722 2007-12-20 Alexander Larsson <alexl@redhat.com>
2728 * gfilenamecompleter.c:
2731 * gpollfilemonitor.c:
2732 File attribute renames:
2734 fs:: -> filesystem::
2735 id::fs -> id::filesystem
2737 2007-12-20 Alexander Larsson <alexl@redhat.com>
2746 Add GMountUnmountFlags to all unmount and
2748 Add g_mount_remount() call.
2750 2007-12-20 Alexander Larsson <alexl@redhat.com>
2752 * gvfs.c (get_default_vfs):
2753 Fix unused variable warning
2755 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2757 * pltcheck.sh: Update
2759 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2761 * gunionvolumemonitor.c:
2762 * gunixmount.c: Remove C99 comments
2764 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2766 * gio.symbols: Add some missing symbols
2768 2007-12-19 Alexander Larsson <alexl@redhat.com>
2771 Make g_io_modules_load_all_in_directory not unuse
2772 loaded modules so that users of it can do stuff
2774 Init internal "module" types.
2775 Initialize static prio and name for types so that
2776 we don't have to load modules to get it.
2778 * gnativevolumemonitor.h:
2780 Move is_supported to parent class so that
2781 non-native monitors can avoid being initialized
2782 too. (For instance GDaemonVolumeMonitor if we're
2783 not using GDaemonVfs.)
2785 * glocaldirectorymonitor.[ch]:
2786 * glocalfilemonitor.[ch]:
2787 * gunionvolumemonitor.c:
2788 * gunixvolumemonitor.c:
2790 Find plugins using the static prio+name to
2791 avoid unnecessarily loading the modules.
2793 2007-12-19 Alexander Larsson <alexl@redhat.com>
2798 2007-12-19 Alexander Larsson <alexl@redhat.com>
2800 * gunionvolumemonitor.c:
2801 Store the native type as GType, not class so that
2802 we can unload it. But still avoid unnecessarily
2805 2007-12-19 David Zeuthen <davidz@redhat.com>
2807 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2808 add signals 'disconnected' and 'eject-button' on GDrive. Add
2809 signal 'removed' on GVolume and 'unmounted' on GMount.
2811 * gdrive.c: (g_drive_base_init):
2813 * gfile.c: (g_file_mount_mountable),
2814 (g_file_mount_enclosing_volume):
2817 * gmount.c: (g_mount_base_init):
2819 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2820 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2821 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2825 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2827 * *.c: Fix up includes in the section docs.
2829 2007-12-17 Alexander Larsson <alexl@redhat.com>
2831 * gnativevolumemonitor.h:
2832 * gunionvolumemonitor.c:
2833 * gunixvolumemonitor.c:
2834 Add is_supported() to GNativeVolumeMonitorClass so
2835 that we can avoid having to create an object to see
2836 if the backend is supported at runtime.
2837 Also add name member and an env var to pick a specific
2838 volume monitor backend.
2842 Add cancellable to _g_mount_get_for_mount_path()
2844 * glocaldirectorymonitor.c:
2845 * glocalfilemonitor.c:
2846 Avoid loading and unloading modules while sorting.
2848 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2851 * gunixmounts.[hc]: Namespace waste reduction, move some
2852 g_get_unix_mount functions to the g_unix_mount namespace.
2855 * gunixvolumemonitor.c:
2857 * glocaldirectorymonitor.c: Update all callers.
2859 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2861 2007-12-17 Alexander Larsson <alexl@redhat.com>
2864 Add doc comments about what GFile operations are
2865 guaranteed to not block.
2867 2007-12-17 Alexander Larsson <alexl@redhat.com>
2870 Add missing #ifdef fixing OSX build.
2871 (#503334, patch from Richard Hult)
2873 2007-12-14 David Zeuthen <davidz@redhat.com>
2877 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2878 (g_mount_eject), (g_mount_eject_finish):
2880 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2881 (get_volume_for_uuid), (get_mount_for_uuid),
2882 (g_union_volume_monitor_class_init),
2883 (get_default_native_type_with_exclude), (get_default_native_type),
2884 (get_native_type), (update_native_type),
2885 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2886 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2887 (g_unix_mount_can_eject), (eject_unmount_cb),
2888 (eject_unmount_read_error), (eject_unmount_do),
2889 (g_unix_mount_unmount), (g_unix_mount_eject),
2890 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2891 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2892 (g_unix_mount_point_guess_can_eject):
2894 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2895 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2896 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2897 (g_unix_volume_mount), (g_unix_volume_eject),
2898 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2899 * gunixvolumemonitor.c: (get_volume_for_uuid),
2900 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2902 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2903 (g_volume_eject), (g_volume_eject_finish):
2905 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2906 (g_volume_monitor_get_mount_for_uuid):
2909 Provide eject() on both GMount and GVolume and utility functions
2910 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2911 ejected. Introduce the concept of UUID's and wire it into GVolume
2912 and GMount and provide API on GVolumeMonitor to find such
2913 instances. Also handle the case where an external
2914 GNativeVolumeMonitor fails to initialize. Lock around the
2915 _g_get_mount_for_mount_path() function such that volume monitor
2916 implementations won't have to do locking themselves.
2918 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2920 * gdesktopappinfo.c:
2926 * gvolume.h: Documentation updates
2928 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2931 * gfile.h: Doc updates
2933 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2936 * gdesktopappinfo.c: Use hash table iterators.
2938 2007-12-14 Alexander Larsson <alexl@redhat.com>
2941 * gfileattribute.[ch]:
2942 * gfileattribute-priv.h:
2943 Move GFileAttributeValue to a private header, as
2947 Make set_attribute take a type + a pointer instead
2948 of a GFileAttributeValue.
2951 Fix up for above changes.
2952 Add g_file_info_get_attribute_data to get
2953 all info in one call, g_file_info_get_attribute_status
2954 to get the status and g_file_info_get_attribute_as_string.
2958 * glocalfileinfo.[ch]:
2962 Make _guess_type static.
2964 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2967 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2968 made mkenums and friends use temporary files to avoid leaving
2969 empty generated files on failure (#503470).
2971 2007-12-14 Alexander Larsson <alexl@redhat.com>
2973 * gmountoperation.h:
2976 2007-12-14 Alexander Larsson <alexl@redhat.com>
2980 * gfileattribute.[ch]:
2983 * glocalfileoutputstream.c:
2984 * gmountoperation.[ch]:
2985 * goutputstream.[ch]:
2986 Clean up all flags enums to not have _FLAGS in them
2987 Make the names of some of the enums better.
2992 2007-12-14 Michael Natterer <mitch@imendio.com>
2994 * gio.symbols: fix g_io_scheduler symbol names.
2996 2007-12-14 Alexander Larsson <alexl@redhat.com>
3002 * gbufferedinputstream.h:
3003 * gbufferedoutputstream.h:
3006 * gdatainputstream.h:
3007 * gdataoutputstream.h:
3008 * gdesktopappinfo.h:
3009 * gdirectorymonitor.h:
3013 * gfileenumerator.h:
3016 * gfileinputstream.h:
3018 * gfilenamecompleter.h:
3019 * gfileoutputstream.h:
3020 * gfilterinputstream.h:
3021 * gfilteroutputstream.h:
3029 * gmemoryinputstream.h:
3030 * gmemoryoutputstream.h:
3032 * gmountoperation.h:
3035 * gsimpleasyncresult.h:
3037 * gunixinputstream.h:
3039 * gunixoutputstream.h:
3043 * inotify/Makefile.am:
3044 Only allow including <gio/gio.h> from apps
3046 2007-12-14 Alexander Larsson <alexl@redhat.com>
3048 * gioscheduler.[ch]:
3049 * gsimpleasyncresult.c:
3050 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3051 Split out the send_to_mainloop call into two versions instead
3052 of having the block argument.
3054 2007-12-13 Alexander Larsson <alexl@redhat.com>
3056 * gcancellable.[ch]:
3058 * gbufferedinputstream.c:
3059 * gfileenumerator.c:
3060 * gfileinputstream.c:
3061 * gfileoutputstream.c:
3065 g_push/pop_current_cancellable ->
3066 g_cancellable_push/pop_current
3068 2007-12-13 Alexander Larsson <alexl@redhat.com>
3072 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3074 2007-12-13 Alexander Larsson <alexl@redhat.com>
3076 * gmountoperation.h:
3077 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3079 2007-12-12 Alexander Larsson <alexl@redhat.com>
3082 Fix race condition when freeing proxy in
3083 g_io_job_send_to_mainloop().
3085 2007-12-12 Alexander Larsson <alexl@redhat.com>
3091 Make attribute namespace separator "::" instead of ":".
3092 Use - instead of _ as separator in attribute names.
3094 2007-12-12 Alexander Larsson <alexl@redhat.com>
3096 * gbufferedinputstream.h:
3097 * gbufferedoutputstream.h:
3098 * gdatainputstream.h:
3099 * gdataoutputstream.h:
3100 * gdirectorymonitor.h:
3101 * gfileenumerator.h:
3102 * gfileinputstream.h:
3104 * gfileoutputstream.h:
3105 * gfilterinputstream.h:
3106 * gfilteroutputstream.h:
3108 * glocalfileinputstream.h:
3109 * glocalfileoutputstream.h:
3110 * gmemoryinputstream.h:
3111 * gmemoryoutputstream.h:
3112 * gnativevolumemonitor.h:
3114 * gunixinputstream.h:
3115 * gunixoutputstream.h:
3118 s/parent/parent_instance/ in GObjects
3120 2007-12-12 Alexander Larsson <alexl@redhat.com>
3125 No need for padding for interfaces
3127 2007-12-12 Alexander Larsson <alexl@redhat.com>
3131 * gbufferedinputstream.c:
3132 * gbufferedoutputstream.c:
3135 * gdatainputstream.[ch]:
3136 * gdesktopappinfo.c:
3137 * gdirectorymonitor.c:
3139 * gfileattribute.[ch]:
3142 * gfileinputstream.h:
3143 * gfilemonitor.[ch]:
3144 * gfileoutputstream.[ch]:
3145 * gfilterinputstream.h:
3146 * gfilteroutputstream.h:
3149 * gloadableicon.[ch]:
3150 * gmemoryinputstream.c:
3151 * gmountoperation.c:
3153 Fix up a bunch of details in the docs.
3158 2007-12-11 David Zeuthen <davidz@redhat.com>
3160 Rework how volumes, drives and volume monitoring is
3161 done. Previosly the model was
3163 GDrive <1-1> GVolume
3165 where a GDrive instance represented a mount point and a GVolume
3166 instance represented a mounted file system. This patch changes it
3169 GDrive <1-N> GVolume <1-1> GMount
3171 where GMount now serves the purpose of the old GVolume and the new
3172 GVolume serves the purpose of the old GDrive. In addition the new
3173 GDrive interface is used to represent a collection of GVolume
3174 instances (typically partitions) and also contains utility to query
3175 the state of the physical drive the GDrive object represents (such
3176 as checking for media, polling the drive, ejecting the media etc.).
3178 Also implement mounting and unmounting in the Unix volume monitor
3179 backend. A subquent patch will introduce GDrive support for ejection
3183 * gdrive.c: (g_drive_is_media_check_automatic),
3184 (g_drive_is_media_removable), (g_drive_has_media),
3185 (g_drive_can_poll_for_media), (g_drive_eject),
3186 (g_drive_eject_finish), (g_drive_poll_for_media),
3187 (g_drive_poll_for_media_finish):
3189 * gfile.c: (g_file_find_enclosing_mount):
3192 * glocaldirectorymonitor.c:
3193 (g_local_directory_monitor_constructor), (mounts_changed):
3194 * glocalfile.c: (get_mount_info),
3195 (g_local_file_find_enclosing_mount),
3196 (g_local_file_file_iface_init):
3197 * gnativevolumemonitor.h:
3198 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3199 (get_connected_drives), (g_union_volume_monitor_class_init),
3200 (child_volume_added), (child_volume_removed),
3201 (child_volume_changed), (child_mount_added), (child_mount_removed),
3202 (child_mount_pre_unmount), (child_mount_changed),
3203 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3204 (g_union_volume_monitor_remove_monitor),
3205 (_g_mount_get_for_mount_path):
3206 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3207 (guess_system_internal), (_g_get_unix_mounts),
3208 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3209 (g_unix_mount_free), (g_unix_mount_compare),
3210 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3211 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3212 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3213 (type_to_icon), (g_unix_mount_guess_name),
3214 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3215 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3216 (_resolve_symlink), (_resolve_dev_root):
3218 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3219 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3220 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3221 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3222 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3223 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3224 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3225 (g_unix_volume_volume_iface_init):
3227 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3228 (get_mounts), (get_volumes), (get_connected_drives),
3229 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3230 (mountpoints_changed), (mounts_changed),
3231 (g_unix_volume_monitor_init),
3232 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3233 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3234 * gunixvolumemonitor.h:
3235 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3236 (g_volume_mount), (g_volume_mount_finish):
3238 * gvolumemonitor.c: (g_volume_monitor_class_init),
3239 (g_volume_monitor_get_connected_drives),
3240 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3243 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3245 * gmountoperation.h (GPasswordFlags): Close the gap
3247 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3249 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3251 * gdesktopappinfo.[hc]: Remove _-prefixes
3253 2007-12-10 Tor Lillqvist <tml@novell.com>
3255 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3258 2007-12-10 Alexander Larsson <alexl@redhat.com>
3260 * gfile.c (g_file_set_display_name):
3261 Don't hardcode '/' (#502727)
3263 2007-12-09 Hans Breuer <hans@breuer.org>
3265 * makefile.msc : follow lib naming convention
3266 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3267 for user and group name, tested with ../tests/gio-ls
3269 2007-12-09 A. Walton <awalton@svn.gnome.org>
3271 * gdesktopappinfo.c:
3277 * gfileenumerator.c:
3282 * gmemoryinputstream.c:
3283 * gmemoryoutputstream.c:
3285 * gsimpleasyncresult.c:
3286 More documentation cleanup and filling in missing information, bringing
3287 GIO to 99% symbol coverage.
3289 2007-12-08 Hans Breuer <hans@breuer.org>
3291 [gio compiles and links on win32, not sure how much already works]
3292 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3293 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3294 base on win32 API; prefer g_lstat() over lstat(); instead of
3295 localtime_r() use an all GLib implementation on win32;
3296 get_mount_info() still needs a win32 specifc implementation
3297 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3298 win32_get_file_user_info to get owner/group info without uid/gid
3299 * glocalfileinputstream.c : include <io.h> on win32
3300 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3301 definition, use g_win32_ftruncate() for G_OS_WIN32
3302 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3303 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3304 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3305 * makefile.msc : updated
3307 2007-12-07 Alexander Larsson <alexl@redhat.com>
3309 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3310 Avoid warning spew if error == NULL
3312 2007-12-07 Alexander Larsson <alexl@redhat.com>
3315 Update docs wrt etags
3317 2007-12-06 Alexander Larsson <alexl@redhat.com>
3320 Include sys/types.h for dev_t (#501919)
3322 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3326 Make abicheck and pltcheck pass.
3328 2007-12-05 Alexander Larsson <alexl@redhat.com>
3331 * giomodule-priv.h: Added.
3332 * glocaldirectorymonitor.c:
3333 * glocalfilemonitor.c:
3334 * gunionvolumemonitor.c:
3336 Actually add the declaration of _g_io_modules_ensure_loaded
3338 2007-12-05 Alexander Larsson <alexl@redhat.com>
3340 * gdatainputstream.c:
3345 * glocaldirectorymonitor.c:
3346 * glocalfilemonitor.c:
3347 * gunionvolumemonitor.c:
3349 Make g_io_modules_ensure_loaded a private function and
3350 don't pass in the dirname. This means we can do magic
3351 directory finding in the win32 version.
3352 Export the actual load-modules-in-directory code so that
3353 gvfs can reuse that.
3355 2007-12-05 Alexander Larsson <alexl@redhat.com>
3357 * gbufferedinputstream.c:
3358 * gbufferedoutputstream.c:
3361 * gfileenumerator.[ch]:
3362 * gfileinputstream.c:
3363 * gfileoutputstream.[ch]:
3364 * gfilterinputstream.c:
3365 * gfilteroutputstream.c:
3366 * ginputstream.[ch]:
3368 * glocalfileenumerator.c:
3369 * glocalfileinputstream.c:
3370 * glocalfileoutputstream.c:
3371 * gmemoryinputstream.c:
3372 * gmemoryoutputstream.c:
3373 * goutputstream.[ch]:
3376 * gunixinputstream.c:
3377 * gunixoutputstream.c:
3378 Rename all struct members named:
3379 read, write, close, truncate, or mount
3380 to foo_fn, as these are reserved names
3381 and could be defined as macros in libc.
3384 2007-12-04 Alexander Larsson <alexl@redhat.com>
3387 (g_output_stream_close):
3388 Only call flush if non-null.
3390 2007-11-30 Dan Winship <danw@gnome.org>
3392 * ginputstream.c (g_input_stream_set_pending): Make this take a
3393 GError and return a gboolean, and do the "outstanding operation"
3394 check (and the "stream is already closed" check) itself.
3395 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3397 * goutputstream.c (g_output_stream_set_pending)
3398 (g_output_stream_clear_pending): Likewise
3400 * gbufferedinputstream.c:
3401 * gfileinputstream.c:
3402 * gfileoutputstream.c: Update for that
3404 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3405 Like g_simple_async_report_error_in_idle, but takes a GError
3406 rather than building one.
3408 2007-11-30 Dan Winship <danw@gnome.org>
3410 * goutputstream.c: Don't cheat and unset the "pending" flag around
3411 inner calls. Instead, call the class method directly rather than
3412 the wrapper function that checks "pending"
3414 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3416 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3418 2007-12-03 Hans Breuer <hans@breuer.org>
3420 [start of port to win32/msvc]
3421 * gcancellable.c : HAVE_UNIST_H and _pipe()
3422 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3423 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3424 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3426 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3427 * glocalvfs.c : use HAVE_PWD_H
3428 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3429 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3430 * Makefile.am : added to EXTRA_DIST
3432 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3434 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3437 2007-12-03 Alexander Larsson <alexl@redhat.com>
3440 Handle OSX style xattrs API (#500506)
3442 2007-12-03 Alexander Larsson <alexl@redhat.com>
3446 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3448 2007-12-02 A. Walton <awalton@svn.gnome.org>
3452 Documentation accuracy fixes.
3454 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3456 * gioenumtypes.c.template: Fix typo.
3458 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3460 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3462 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3464 * gdirectorymonitor.c:
3465 * gfilemonitor.c: Add properties
3467 * gbufferedoutputstream.c: Don't mark buffer-size property
3470 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3472 * gbufferedoutputstream.c: Add auto-grow property.
3474 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3476 * *.c: Unify the capitalization of section headings.
3478 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3480 * gmountoperation.c: Add properties
3482 * gdatainputstream.c: Turn byte-order and newline-type into
3485 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3487 * gioenumtypes.[hc].template: Templates for enum registration
3489 * Makefile.am: Generate gioenumtypes.[hc]
3491 * gio.h: Include gioenumtypes.h
3493 * gfile.h: Add some explicit nicks.
3495 * gio.symbols: Add new symbols
3497 * pltcheck.sh: Adjust
3499 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3501 * *.c: Explain etags and link to the explanation
3503 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3505 * *.c: Explain I/O priority.
3507 * *.c: More coding style fixes.
3509 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3511 * gasyncresult.c: Add another paragraph to the intro,
3512 adjust coding style of example.
3514 2007-11-29 A. Walton <awalton@svn.gnome.org>
3517 Fixes unknown meaning in GAppLaunchContext docs.
3519 Clarify asynchronous ops.
3521 Fix entity tag docs.
3524 Provides missing gtk-doc section, fixes API docs slighly.
3525 * gsimpleasyncresult.c:
3526 Fill in missing info in docs.
3527 * gunixinputstream.c:
3528 * gunixoutputstream.c:
3529 Be more expressive in short description.
3531 Remove gtk-doc stubs for non-public API.
3533 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3535 * *.c: Coding style fixups
3537 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3539 * inotify/inotify-helper.c: Don't export the lock from libgio.
3541 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3544 * abicheck.sh: Fix copy-and-paste leftovers
3546 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3548 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3550 2007-11-28 Alexander Larsson <alexl@redhat.com>
3554 Removed unnecessary file
3556 * gdesktopappinfo.[ch]:
3559 * glocaldirectorymonitor.[ch]:
3561 * glocalfileenumerator.[ch]:
3562 * glocalfileinputstream.[ch]:
3563 * glocalfilemonitor.[ch]:
3564 * glocalfileoutputstream.[ch]:
3566 * gnativevolumemonitor.c:
3567 * gpollfilemonitor.[ch]:
3568 * gunionvolumemonitor.[ch]:
3571 * gunixvolumemonitor.[ch]:
3574 * inotify/ginotifydirectorymonitor.[ch]:
3575 * inotify/ginotifyfilemonitor.[ch]:
3576 * inotify/inotify-helper.c:
3577 Append _ to all internal functions
3581 Export symbols needed for modules
3583 2007-11-28 Alexander Larsson <alexl@redhat.com>
3586 * abicheck.sh: Added.
3587 * makegioalias.pl: Added.
3588 * pltcheck.sh: Added.
3589 * gio.symbols: Added.
3592 Initial work on adding symbol handling.
3595 Correct ifdef guard name
3598 * inotify/Makefile.am:
3599 * xdgmime/Makefile.am:
3600 Include toplevel Makefile.decl
3602 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3604 * gcontenttype.c: Move doc comments to the unix section.
3606 * *.[hc]: More trivial doc corrections.
3608 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3610 * gpollfilemonitor.c:
3614 * gdesktopappinfo.c:
3619 * gdatainputstream.c:
3620 * gdatainputstream.h:
3621 * gdataoutputstream.c:
3622 * gdataoutputstream.h:
3623 * gfileinfo.h: Doc cleanups
3625 2007-11-28 Andre Klapper <a9016009@gmx.de>
3627 * gdesktopappinfo.c: Fix a typo.
3629 2007-11-27 Andre Klapper <a9016009@gmx.de>
3631 * glocalfileoutputstream.c: Fix a typo.
3633 2007-11-27 Alexander Larsson <alexl@redhat.com>
3636 Don't include removed headers
3638 2007-11-27 Alexander Larsson <alexl@redhat.com>
3641 * gsocketinputstream.[ch]: Removed.
3642 * gsocketoutputstream.[ch]: Removed.
3643 * gunixinputstream.[ch]: Added.
3644 * gunixoutputstream.[ch]: Added.
3645 Renamed GSocket*Stream to GUnix*Stream and made
3646 it unix-only, since its not really only for sockets
3647 and it only works on unix (but is highly useful there).
3649 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3655 * gbufferedinputstream.c:
3656 * gbufferedinputstream.h:
3657 * gbufferedoutputstream.c:
3658 * gbufferedoutputstream.h:
3662 * gdatainputstream.c:
3663 * gdatainputstream.h:
3664 * gdataoutputstream.c:
3665 * gdataoutputstream.h:
3666 * gdirectorymonitor.c:
3667 * gdirectorymonitor.h:
3674 * gfileenumerator.c:
3675 * gfileenumerator.h:
3680 * gfileinputstream.c:
3681 * gfileinputstream.h:
3684 * gfilenamecompleter.c:
3685 * gfilenamecompleter.h:
3686 * gfileoutputstream.c:
3687 * gfileoutputstream.h:
3688 * gfilterinputstream.c:
3689 * gfilterinputstream.h:
3690 * gfilteroutputstream.c:
3691 * gfilteroutputstream.h:
3704 * glocalfileoutputstream.c:
3705 * gmemoryinputstream.c:
3706 * gmemoryinputstream.h:
3707 * gmemoryoutputstream.c:
3708 * gmemoryoutputstream.h:
3709 * gmountoperation.c:
3710 * gmountoperation.h:
3713 * gpollfilemonitor.c:
3716 * gsimpleasyncresult.c:
3717 * gsimpleasyncresult.h:
3718 * gsocketinputstream.c:
3719 * gsocketinputstream.h:
3720 * gsocketoutputstream.c:
3721 * gsocketoutputstream.h:
3728 * gunixvolumemonitor.c:
3737 Bumps documentation to 93% symbol coverage, touching most
3738 of the public files. Fixes broken function documentation prototypes.
3739 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3740 gtk-doc headers in private files.
3742 2007-11-27 Jürg Billeter <j@bitron.ch>
3744 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3745 (g_buffered_input_stream_read_byte):
3746 * gbufferedinputstream.h:
3747 New functions for efficient access to buffer and simple single byte
3750 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3751 (g_data_input_stream_read_until):
3752 * gdatainputstream.h:
3753 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3754 read_until with multiple stop chars.
3756 2007-11-27 Alexander Larsson <alexl@redhat.com>
3760 * inotify/Makefile.am:
3761 Use the user-specified giomoduledir
3763 2007-11-27 Alexander Larsson <alexl@redhat.com>
3767 Add catch-all gio.h header
3768 Don't install gdummyfile.h
3770 2007-11-26 Alexander Larsson <alexl@redhat.com>
3772 * Makefile.am (gioinclude_HEADERS):
3773 Remove trailing whitespace
3775 2007-11-26 Alexander Larsson <alexl@redhat.com>
3777 Merge gio-standalone into glib
3779 2007-11-25 Christian Kellner <gicmo@gnome.org>
3781 * gio/goutputstream.c:
3782 Fix small mistake in the docs.
3784 2007-11-21 Christian Persch <chpe@gnome.org>
3786 * gio/glocalfile.c: (g_local_file_trash):
3787 Convert filenames to UTF-8 for GError.
3788 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3789 as per xdg base dir spec.
3791 2007-11-21 Christian Persch <chpe@gnome.org>
3793 * gio/gdesktopappinfo.c:
3794 Use that g_key_file_to_data cannot fail.
3796 Use stock defines for the key file group and key names.
3799 2007-11-21 Alexander Larsson <alexl@redhat.com>
3802 (copy_stream_with_progress):
3803 Make sure we do a final progress callback with
3804 the full total size.
3806 2007-11-21 Alexander Larsson <alexl@redhat.com>
3809 Export g_file_copy_attributes
3810 Remove padding as its not needed for interfaces
3812 2007-11-20 Alexander Larsson <alexl@redhat.com>
3817 Add G_IO_ERROR_WOULD_MERGE for
3818 copy/move dir on dir with overwrite.
3820 2007-11-20 Alexander Larsson <alexl@redhat.com>
3823 * gio/glocalfileinfo.c:
3824 Add COPY_NAME (this is an optional
3825 non-modified utf8 version of the name) that
3828 2007-11-20 Alexander Larsson <alexl@redhat.com>
3830 * gio/glocalfileenumerator.c:
3831 Report errors as GIOError, not GFileError
3833 2007-11-16 Alexander Larsson <alexl@redhat.com>
3835 * gio/glocalfileoutputstream.c:
3836 * gio/gwin32appinfo.c:
3837 Fix typos in strings.
3838 Patch from Luca Ferretti <elle.uca@libero.it>
3840 2007-11-15 Alexander Larsson <alexl@redhat.com>
3843 Post release version bump
3845 === gio-standalone 0.1.2 ===
3847 2007-11-15 Alexander Larsson <alexl@redhat.com>
3849 * docs/reference/gio/Makefile.am:
3850 Fix up distcheck by removing weird
3856 2007-11-14 Alexander Larsson <alexl@redhat.com>
3858 * gio/gdesktopappinfo.c:
3859 * gio/glocaldirectorymonitor.c:
3861 * gio/glocalfileinfo.c:
3862 * gio/inotify/inotify-sub.c:
3863 * programs/gio-cat.c:
3864 * programs/gio-copy.c:
3865 * programs/gio-info.c:
3866 * programs/gio-ls.c:
3867 * programs/gio-monitor-dir.c:
3868 * programs/gio-monitor-file.c:
3869 * programs/gio-mount.c:
3870 * programs/gio-move.c:
3871 * programs/gio-rm.c:
3872 * programs/gio-save.c:
3873 * programs/gio-trash.c:
3874 Leak fixes from Kjartan Maraas
3876 2007-11-14 Alexander Larsson <alexl@redhat.com>
3878 * gio/fam/fam-helper.c:
3880 * gio/glocalfileinfo.c:
3884 * gio/inotify/inotify-diag.c:
3885 * gio/inotify/inotify-kernel.c:
3886 Various code cleanups from Kjartan Maraas
3888 2007-11-14 Alexander Larsson <alexl@redhat.com>
3890 * gio/gioscheduler.c:
3892 Set up threadpool so that we cache 2 unused
3893 idle threads for at 15 secs. This means we
3894 will reuse thread-local data (like dbus connections)
3897 2007-11-14 Alexander Larsson <alexl@redhat.com>
3899 * gio/fam/fam-helper.c:
3900 * gio/fam/gfamdirectorymonitor.c:
3901 * gio/fam/gfamfilemonitor.c:
3903 * gio/gcontenttype.c:
3904 * gio/gdatainputstream.c:
3905 * gio/gdataoutputstream.c:
3909 * gio/gfileattribute.h:
3910 * gio/gfileenumerator.c:
3912 * gio/ginputstream.c:
3915 * gio/glocalfileinfo.c:
3916 * gio/goutputstream.c:
3917 * gio/gpollfilemonitor.c:
3918 * gio/gsimpleasyncresult.c:
3919 * gio/gunixmounts.c:
3920 * gio/gunixmounts.h:
3921 * gio/inotify/ginotifydirectorymonitor.c:
3922 * gio/inotify/ginotifyfilemonitor.c:
3923 * gio/inotify/inotify-diag.c:
3924 * gio/inotify/inotify-kernel.c:
3925 * gio/inotify/inotify-path.c:
3927 * gio/test-streams.c:
3928 * programs/gio-info.c:
3929 * programs/gio-monitor-dir.c:
3930 * programs/gio-monitor-file.c:
3931 Various code cleanups from Kjartan Maraas
3933 2007-11-13 Alexander Larsson <alexl@redhat.com>
3936 Handle the uri-scheme calls for dummy files
3938 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3940 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3941 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3942 to avoid clash with the C++ keyword.
3944 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3946 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3947 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3949 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3951 * gio/glocaldirectorymonitor.c:
3952 * gio/glocalfilemonitor.c:
3953 * gio/gunionvolumemonitor.c:
3954 Don't use g_once_init_*() for initializations that could fail and
3955 could leave the initialization variable set to 0 but use GOnce.
3956 This prevents a deadlock on the second call when trying to create
3957 a monitor and no monitor type is available. Thanks to Sven Herzberg
3960 2007-11-11 Sven Herzberg <sven@imendio.com>
3962 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3963 #ifdef (make it work on MacOS X again)
3965 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3967 Fixes Changelog for last two commits (sorry guys).
3969 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3971 * gio/gbufferedinputstream.c:
3972 * gio/gdatainputstream.c:
3974 * gio/gfileoutputstream.c:
3975 * gio/gfilterinputstream.c:
3976 * gio/glocalfileinputstream.c:
3979 More consistency fixes in g*stream.c files.
3980 Significant clean of gfile's documentation, filling in of
3981 asynchronous operations documentation.
3983 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3985 * gio/gasyncresult.c:
3986 * gio/gbufferedinputstream.c:
3987 * gio/gbufferedoutputstream.c:
3988 * gio/gcancellable.c:
3989 * gio/gcontenttype.c:
3990 * gio/gdatainputstream.c:
3991 * gio/gdataoutputstream.c:
3992 * gio/gdesktopappinfo.c:
3995 * gio/gfileattribute.c:
3996 * gio/gio/gfileenumerator.c:
3998 * gio/gfileinputstream.c:
3999 * gio/gfilemonitor.c:
4000 * gio/gfileoutputstream.c:
4001 * gio/ginputstream.c:
4003 * gio/gioscheduler.c:
4004 * gio/gloadableicon.c:
4005 * gio/glocalfileoutputstream.c:
4006 * gio/gmemoryoutputstream.c:
4007 * gio/gmountoperation.c:
4008 * gio/goutputstream.c:
4010 * gio/gsimpleasyncresult.c:
4011 * gio/gunionvolumemonitor.c:
4012 * gio/gunixmounts.c:
4013 * gio/gunixvolume.c:
4017 * gio/gvolumemonitor.c:
4018 Updated documentation stubs, working towards consistency and
4021 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4023 * gio/gmemoryoutputstream.c:
4024 * gio/gmemoryoutputstream.h:
4025 Change g_memory_output_stream_set_free_on_close() to
4026 g_memory_output_stream_set_free_data() as this makes more sense and
4027 is more consistent with GMemoryInputStream.
4029 2007-11-07 Alexander Larsson <alexl@redhat.com>
4036 Change how we find the default vfs so that
4037 we can handle a gvfs failing to init
4039 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4041 * gio/gbufferedoutputstream.c:
4042 * gio/gdatainputstream.c:
4043 * gio/gdataoutputstream.c:
4044 * gio/gfileinputstream.c:
4045 * gio/gfileoutputstream.c:
4046 * gio/gfilterinputstream.c:
4047 * gio/gfilteroutputstream.c:
4048 * gio/ginputstream.c:
4049 * gio/gmemoryinputstream.c:
4050 * gio/gmemoryoutputstream.c:
4051 * gio/goutputstream.c:
4052 * gio/gsimpleasyncresult.c:
4053 * gio/gsocketinputstream.c:
4054 * gio/gsocketoutputstream.c:
4055 Add guards to the remaining public functions, add a TODO for
4056 an unimplemented function and remove some useless guards.
4058 2007-11-07 Alexander Larsson <alexl@redhat.com>
4061 Autoconf checks for the various types of
4062 getpwuid_r and getgrgid_r
4064 * gio/glocalfileinfo.c:
4065 Use the autoconf checks from above
4067 2007-11-07 Alexander Larsson <alexl@redhat.com>
4070 (g_local_file_query_filesystem_info):
4071 Some fixes for the statvfs case
4073 2007-11-07 Alexander Larsson <alexl@redhat.com>
4076 (g_local_file_query_filesystem_info):
4077 Pick the "best" of statfs / statvfs for the system
4078 if both are availible.
4080 2007-11-07 Alexander Larsson <alexl@redhat.com>
4082 Solaris fixes from Halton.Huo@Sun.COM:
4089 * gio/glocalfileinfo.c:
4090 Fix for solaris definition of getpwuid_r
4092 * gio/test-streams.c:
4093 Use G_GNUC_PRETTY_FUNCTION
4095 2007-11-07 Alexander Larsson <alexl@redhat.com>
4097 * gio/gdesktopappinfo.c:
4098 (update_default_list):
4099 Remove double semicolon.
4100 Patch from Jens Granseuer
4102 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4104 * docs/reference/gio/gio-sections.txt:
4105 * gio/gbufferedinputstream.c:
4106 * gio/gbufferedinputstream.h:
4107 * gio/gdatainputstream.c:
4108 * gio/gfileenumerator.c:
4109 * gio/gioscheduler.c:
4110 * gio/gunionvolumemonitor.c:
4112 * programs/gio-save.c:
4113 Fix typo: availible -> available. Unfortuntely this breaks API
4114 and ABI as g_buffered_input_stream_get_available() was renamed.
4116 * gio/gunixmounts.c:
4117 * gio/gbufferedinputstream.c:
4118 Add guards for public functions.
4120 2007-11-06 Ross Burton <ross@openedhand.com>
4122 * docs/reference/gio/Makefile.am:
4123 Fix invalid += usage which automake 1.10 doesn't like.
4125 2007-11-06 Alexander Larsson <alexl@redhat.com>
4128 (g_app_launch_context_class_init):
4131 Patch from Ross Burton
4133 2007-11-06 Alexander Larsson <alexl@redhat.com>
4136 Post release version bump
4138 === gio-standalone 0.1.1 ===
4140 2007-11-06 Alexander Larsson <alexl@redhat.com>
4143 Bump version to 0.1.1
4145 * gio/gsimpleasyncresult.c:
4146 (g_simple_async_result_set_from_error):
4147 Remove bogus g_return_if_fail
4149 2007-11-06 Alexander Larsson <alexl@redhat.com>
4152 The name is gio-standalone
4155 Add top src/builddir to includedir
4157 2007-11-06 Alexander Larsson <alexl@redhat.com>
4159 * docs/reference/gio/gio-sections.txt:
4161 * gio/gbufferedinputstream.c:
4162 * gio/gbufferedoutputstream.c:
4163 * gio/gcancellable.c:
4164 * gio/gdatainputstream.h:
4165 * gio/gdataoutputstream.c:
4166 * gio/gdataoutputstream.h:
4167 * gio/gdirectorymonitor.c:
4169 * gio/gfileattribute.c:
4170 * gio/gfileattribute.h:
4171 * gio/gfileenumerator.c:
4172 * gio/gfileenumerator.h:
4175 * gio/gfileinputstream.h:
4176 * gio/gfilemonitor.c:
4177 * gio/gfileoutputstream.h:
4178 * gio/glocalfilemonitor.h:
4179 * gio/glocalfileoutputstream.h:
4180 * gio/gmemoryinputstream.c:
4181 * gio/gmemoryoutputstream.c:
4182 * gio/gmountoperation.c:
4183 * gio/goutputstream.c:
4184 * gio/goutputstream.h:
4186 * gio/gsimpleasyncresult.c:
4187 * gio/gunixmounts.c:
4188 * gio/gunixmounts.h:
4190 * gio/inotify/inotify-helper.c:
4191 Fix gtk-doc warnings
4193 Patch from Ross Burton
4195 2007-11-06 Alexander Larsson <alexl@redhat.com>
4197 * gio/gfilenamecompleter.c:
4198 (g_filename_completer_get_completions):
4201 * gio/gunixvolume.c:
4202 Remove unused function
4204 Patches from Ross Burton
4206 2007-11-06 Alexander Larsson <alexl@redhat.com>
4211 Padding not needed for interfaces
4213 2007-11-06 Alexander Larsson <alexl@redhat.com>
4215 * gio/gfilemonitor.c:
4219 Make giotypes.h an internal file
4222 * gio/gbufferedinputstream.h:
4223 * gio/gbufferedoutputstream.h:
4224 * gio/gcancellable.h:
4225 * gio/gdatainputstream.h:
4226 * gio/gdataoutputstream.h:
4227 * gio/gdirectorymonitor.c:
4228 * gio/gdirectorymonitor.h:
4233 * gio/gfileattribute.h:
4234 * gio/gfileenumerator.h:
4239 * gio/gfilemonitor.c:
4240 * gio/gfilemonitor.h:
4241 * gio/gfilenamecompleter.c:
4242 * gio/gfilenamecompleter.h:
4243 * gio/gfilterinputstream.h:
4244 * gio/gfilteroutputstream.h:
4245 * gio/ginputstream.h:
4246 * gio/gmemoryinputstream.h:
4247 * gio/gmemoryoutputstream.h:
4248 * gio/gmountoperation.c:
4249 * gio/gmountoperation.h:
4250 * gio/gnativevolumemonitor.c:
4251 * gio/goutputstream.h:
4254 * gio/gsimpleasyncresult.c:
4255 * gio/gsimpleasyncresult.h:
4256 * gio/gsocketinputstream.h:
4257 * gio/gsocketoutputstream.h:
4258 * gio/gthemedicon.c:
4259 * gio/gthemedicon.h:
4263 * gio/gvolumemonitor.c:
4264 * gio/gvolumemonitor.h:
4265 Add padding in classes where it seems useful
4266 Don't include giotypes.h from public headers
4267 Move in Class definitions into c file where possible
4272 2007-11-06 Alexander Larsson <alexl@redhat.com>
4274 * docs/reference/gio/gio-docs.xml:
4275 Better structure for API docs
4277 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4280 * gio/gloadableicon.c:
4281 * gio/gsimpleasyncresult.c:
4282 * gio/gthemedicon.c:
4283 Add some more guards to public functions. Only files missing are now
4286 2007-11-06 Alexander Larsson <alexl@redhat.com>
4288 * docs/reference/gio/gio-docs.xml:
4289 Remove old files, add missing ones
4291 2007-11-06 Alexander Larsson <alexl@redhat.com>
4293 * docs/reference/gio/gio-sections.txt:
4296 Hide implementation classes
4298 * gio/gdriveprivate.h:
4299 * gio/gvolumeprivate.h:
4300 Remove non-existing function declarations
4302 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4305 Fix compilation warnings and add guards to the new functions.
4307 * gio/gasyncresult.c:
4309 Add guards to the public functions.
4312 Implement get_path().
4314 2007-11-06 Alexander Larsson <alexl@redhat.com>
4316 * gio/gfilenamecompleter.c:
4317 Make g_filename_completer_get_completions
4318 return char ** instead of GList for
4321 * docs/reference/gio/gio-docs.xml:
4322 * docs/reference/gio/gio-sections.txt:
4324 * gio/gasyncresult.c:
4325 * gio/gbufferedinputstream.c:
4326 * gio/gbufferedoutputstream.c:
4327 * gio/gcancellable.c:
4328 * gio/gcontenttype.c:
4329 * gio/gdatainputstream.c:
4330 * gio/gdataoutputstream.c:
4331 * gio/gdesktopappinfo.c:
4332 * gio/gdirectorymonitor.c:
4336 * gio/gfileattribute.c:
4337 * gio/gfileenumerator.c:
4340 * gio/gfileinputstream.c:
4341 * gio/gfilemonitor.c:
4342 * gio/gfilenamecompleter.c:
4343 * gio/gfilenamecompleter.h:
4344 * gio/gfileoutputstream.c:
4345 * gio/gfilterinputstream.c:
4347 * gio/ginputstream.c:
4349 * gio/gioscheduler.c:
4350 * gio/gloadableicon.c:
4351 * gio/glocaldirectorymonitor.c:
4353 * gio/glocalfileinputstream.c:
4354 * gio/glocalfilemonitor.c:
4355 * gio/glocalfileoutputstream.c:
4357 * gio/gmemoryinputstream.c:
4358 * gio/gmemoryoutputstream.c:
4359 * gio/gmountoperation.c:
4360 * gio/goutputstream.c:
4361 * gio/gpollfilemonitor.c:
4363 * gio/gsimpleasyncresult.c:
4364 * gio/gsocketinputstream.c:
4365 * gio/gsocketoutputstream.c:
4366 * gio/gthemedicon.c:
4367 * gio/gunionvolumemonitor.c:
4369 * gio/gunixmounts.c:
4370 * gio/gunixvolume.c:
4371 * gio/gunixvolumemonitor.c:
4375 * gio/gvolumemonitor.c:
4376 * gio/gwin32appinfo.c:
4377 Add (mostly stub) doc strings to public functions.
4378 Patch from Andrew Walton (awalton@gmail.com)
4380 2007-11-06 Alexander Larsson <alexl@redhat.com>
4382 * gio/gappinfo.[ch]:
4383 Added GAppLaunchContext object and pass that to launch.
4384 This allows simple implementation of both
4385 launch-on-screen and startup notification via a gtk+
4386 subclass of GAppLaunchContext
4388 * gio/gdesktopappinfo.c:
4389 Implement GAppLaunchContext API
4391 * gio/gwin32appinfo.c:
4394 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4396 * gio/gmountoperation.c:
4397 Add some guards to GMountOperation's public functions.
4399 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4403 * gio/gcancellable.c:
4404 * gio/gdirectorymonitor.c:
4406 * gio/gfileenumerator.c:
4407 * gio/gfilemonitor.c:,
4408 * gio/gfilenamecompleter.c:
4411 * gio/gioscheduler.c:
4415 * gio/gvolumemonitor.c:
4416 Add even more guards to various public functions.
4418 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4421 Add guards to the public functions of GAppInfo.
4423 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4425 * gio/gcontenttype.c:
4426 Add some more guards for public functions.
4428 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4430 * gio/fam/fam-module.c:
4431 * gio/fam/gfamdirectorymonitor.c:
4432 * gio/fam/gfamdirectorymonitor.h:
4433 * gio/fam/gfamfilemonitor.c:
4434 * gio/fam/gfamfilemonitor.h:
4435 * gio/inotify/ginotifydirectorymonitor.c:
4436 * gio/inotify/ginotifydirectorymonitor.h:
4437 * gio/inotify/ginotifyfilemonitor.c:
4438 * gio/inotify/ginotifyfilemonitor.h:
4439 Add proper copyright information and remove an unused variable
4440 in the GInotifyFileMonitor constructor.
4442 * gio/gcancellable.c:
4443 Add a guard for a public function and an assertion to prevent
4444 an undefined program state.
4446 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4448 * gio/gfileattribute.c:
4449 Don't run into an assertion if the given attribute value is NULL
4450 in g_file_attribute_value_get_*() but instead return a fallback
4451 value that makes sense in most situations. Passing them a attribute
4452 value with the wrong type will still run into an assertion.
4454 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4456 * gio/gfileattribute.c:
4458 Add even more guards to the public functions. Also fix the refcounting
4459 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4460 let g_file_info_list_attributes() filter the attributes by namespace
4461 instead of simply ignoring the namespace parameter.
4463 2007-11-03 Sven Herzberg <sven@imendio.com>
4465 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4466 (This makes gio work on MacOS X again)
4468 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4471 Build the gio subdirectory before the docs. Otherwise the build will
4474 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4475 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4476 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4477 Add guards to the public functions.
4479 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4481 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4482 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4483 to prevent a compiler warning.
4485 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4486 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4487 return something in the non-void function find_topdir_for().
4489 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4496 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4498 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4499 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4500 * gwin32appinfo.c (g_win32_app_info_launch):
4501 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4502 envp_for_startup_id, g_desktop_app_info_launch,
4503 g_desktop_app_info_launch_uris):
4505 Give an opaque 'startup_id' string instead of 'envp'.
4506 Support empty file lists for launching new windows.
4507 Fix infinite recursion bug when launching URIs.
4509 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4512 Add guard to the new g_file_get_uri_scheme() function.
4514 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4517 Convert a g_return_val_if_fail() to setting the GError instead as
4518 otherwise applications have to verify the parameter before otherwise
4519 and the parameter might come directly from the user.
4521 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4523 * gio/inotify/ginotify*.[ch]:
4524 Add missing copyright information.
4526 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4529 Add guards in the beginning of public functions to check for valid
4530 parameters and fix a bug in copy_stream_with_progress() that could've
4531 caused writing less bytes than reading.
4532 * gio/glocalfileinfo.c:
4533 Check for a NULL parameter and set the GError accordingly then.
4534 * gio/goutputstream.c:
4535 Fix the same bug as in gfile.c that could've caused writing less bytes
4536 than reading in g_output_stream_real_splice().
4538 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4541 Use the correct gvolumeprivate.h naming
4543 2007-11-01 Christian Kellner <gicmo@gnome.org>
4546 Remove leftover "$(daemon_sources)" entry.
4548 2007-11-01 Christian Kellner <gicmo@gnome.org>
4553 Add copyright information to source files.
4555 2007-11-01 Alexander Larsson <alexl@redhat.com>
4559 Add g_file_get_uri_scheme
4561 2007-11-01 Alexander Larsson <alexl@redhat.com>
4564 * gio/gdesktopappinfo.c:
4565 * gio/gwin32appinfo.c:
4566 Add g_app_info_get_default_for_uri_scheme.
4568 2007-11-01 Alexander Larsson <alexl@redhat.com>
4571 Correct filename for gdriveprivate.h
4573 2007-10-31 Alexander Larsson <alexl@redhat.com>
4576 Rename id:value to id:file
4579 * gio/glocalfileinfo.c:
4582 2007-10-31 Alexander Larsson <alexl@redhat.com>
4584 * gio/gunixvolume.c:
4586 Remove g_volume_get_platform_id, as thats not
4587 needed with the simpler union volume monitor
4589 2007-10-31 Alexander Larsson <alexl@redhat.com>
4592 * gio/guniondrive.[ch]: Removed.
4593 * gio/gunionvolume.[ch]: Removed.
4594 Remove GUnionDrive/Volume
4596 * gio/gunionvolumemonitor.c:
4597 Simplify union volume monitor, now we
4598 only have one native volume monitor and
4599 we use the actual volumes/drives from the
4600 child monitors instead of wrapping them
4602 * gio/gnativevolumemonitor.[ch]:
4603 Base class for native volume monitors.
4604 Includes priority and get_volume_for_mountpoint
4607 Add g_file_find_enclosing_volume
4610 Remove volume name fs attribute
4611 Add readonly fs attribute
4614 Implement readonly attribute
4615 remove volume name attribute
4616 Implement find_enclosing volume
4618 * gio/gunixmounts.c:
4619 Add a volume for "/".
4621 * gio/gunixvolume.[ch]:
4622 Set better name for /
4624 * gio/gunixvolumemonitor.[ch]:
4625 Derive from GNativeVolumeMonitor
4626 Implement get_volume_for_mountpoint
4629 GVolume typedef moved to gfile.h
4631 * gio/gvolumeprivate.h:
4632 Add g_volume_get_for_mount_path
4634 2007-10-31 Alexander Larsson <alexl@redhat.com>
4636 * gio/gunixmounts.[ch]:
4637 Add cache info to unix mount listers
4638 Make getmntent use threadsafe
4639 Add is_system_internal attribute for GUnixMount
4641 * gio/gunixvolume.c:
4642 (g_unix_volume_new):
4643 Use is_system_internal instead of own code
4645 * gio/glocaldirectorymonitor.c:
4646 * gio/gunixvolumemonitor.c:
4647 Update to new gunixmounts API
4652 2007-10-30 Alexander Larsson <alexl@redhat.com>
4655 Add volume name fsinfo attribute
4658 Read volume name info
4660 * gio/gunionvolumemonitor.c:
4661 Fix infinite loops when finalizing a union volume monitor
4663 2007-10-30 Alexander Larsson <alexl@redhat.com>
4665 * gio/goutputstream.[ch]:
4666 Add splice() with default implementation
4668 * gio/gsocketoutputstream.c:
4669 (g_socket_output_stream_write):
4670 Return error on cancellation correctly.
4672 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4674 * gio/glocalfile.c (g_local_file_trash):
4675 Do not leak a string.
4677 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4679 * gio/gfile.c (g_file_load_contents):
4680 Unref the stream after closing it.
4682 2007-10-25 Alexander Larsson <alexl@redhat.com>
4684 * gio/gioscheduler.h:
4687 2007-10-25 Alexander Larsson <alexl@redhat.com>
4691 Add g_file_has_uri_scheme and implement for local files
4693 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4695 * gio/gdesktopappinfo.c: do not leak a string.
4697 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4699 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4700 (g_local_directory_monitor_new):
4701 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4702 (g_local_file_monitor_new):
4703 Only look for the monitor type that should be used the first time
4704 and use g_qsort_with_data() instead of our own bubble sort
4707 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4710 * gio/fam/Makefile.am:
4711 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4712 * gio/fam/fam-helper.h:
4713 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4714 * gio/fam/gfamdirectorymonitor.c:
4715 * gio/fam/gfamdirectorymonitor.h:
4716 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4717 * gio/fam/gfamfilemonitor.h:
4718 * gio/glocaldirectorymonitor.c:
4719 * gio/glocaldirectorymonitor.h:
4720 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4721 * gio/glocalfilemonitor.h:
4722 * gio/inotify/Makefile.am:
4723 * gio/inotify/ginotifydirectorymonitor.c:
4724 * gio/inotify/ginotifydirectorymonitor.h:
4725 * gio/inotify/ginotifyfilemonitor.c:
4726 * gio/inotify/ginotifyfilemonitor.h:
4727 Implement the FAM and Inotify monitors as
4728 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4729 their own GIO module. GLocal(Directory|File)Monitor will use the
4730 monitor with the highest rank that is supported on that machine.
4732 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4735 Change GIO module dir to $(libdir)/gio/modules and change
4736 the log domain from GVFS to GIO. Also only export symbols starting
4737 with g_ in the resulting library.
4738 * gio/test-streams.c: (main):
4739 Set log handler for the GIO log domain.
4741 2007-10-22 Alexander Larsson <alexl@redhat.com>
4743 * gio/gfilenamecompleter.[ch]:
4744 Add g_filename_completer_set_dirs_only
4746 2007-10-22 Alexander Larsson <alexl@redhat.com>
4749 * gio/gurifuncs.[ch]:
4750 Add some simple URI helpers
4752 * gio/gfilenamecompleter.[ch]:
4753 Added object for filename (parse name actually) completion
4756 Handle ~ in parse names
4758 2007-10-17 Alexander Larsson <alexl@redhat.com>
4761 * gio/glocalfileinfo.c:
4762 Add and implement id:value attribute
4764 2007-10-17 Alexander Larsson <alexl@redhat.com>
4767 * gio/guniondrive.c:
4769 Add and implement g_drive_has_volumes
4771 2007-10-17 Alexander Larsson <alexl@redhat.com>
4774 * gio/glocalfileinfo.[ch]:
4775 Add unix:is_mountpoint and implement for local files
4777 2007-10-16 Alexander Larsson <alexl@redhat.com>
4779 * gio/gunionvolumemonitor.c:
4780 (g_union_volume_monitor_init):
4781 Fix up the unix type getting so that it works with gcc
4783 2007-10-12 Alexander Larsson <alexl@redhat.com>
4786 * gio/glocalfileinfo.c:
4787 Add thumbnail:failed to file info
4789 2007-10-12 Richard Hult <richard@imendio.com>
4791 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4792 optimizing away the get_type call (happens with some gcc versions,
4793 like the one shipped with OS X 10.4).
4795 2007-10-12 Alexander Larsson <alexl@redhat.com>
4797 * gio/glocalfileinfo.c:
4798 (_g_local_file_info_set_attribute):
4799 Fix build if not HAVE_XATTR
4800 Patch from Milosz Derezynski <internalerror@gmail.com>
4802 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4804 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4805 around for review, otherwise I would have asked you before
4808 2007-10-11 Alexander Larsson <alexl@redhat.com>
4811 Add thumbnail:path attribute
4813 * gio/glocalfileinfo.c:
4814 Implement thumbnail:path for local files
4816 2007-10-11 Alexander Larsson <alexl@redhat.com>
4818 * gio/glocalfileinfo.c:
4819 (_g_local_file_info_get):
4820 Avoid duplicate icon names
4822 2007-10-11 Alexander Larsson <alexl@redhat.com>
4824 * gio/gthemedicon.[ch]:
4825 Change g_themed_icon_get_names return type to const
4827 2007-10-10 Alexander Larsson <alexl@redhat.com>
4829 * gio/glocalfileinfo.c:
4830 Don't reference freed memory
4832 2007-10-10 Alexander Larsson <alexl@redhat.com>
4834 * gio/gfileattribute.c:
4837 * gio/glocalfileinfo.c:
4840 2007-10-10 Alexander Larsson <alexl@redhat.com>
4843 Check for NULL icons
4845 * gio/gfileattribute.c:
4846 Don't dup when getting objects (same as for string attributes)
4848 * gio/gicon.c (g_icon_equal):
4849 Safely handle NULLs in equal
4851 2007-10-10 Alexander Larsson <alexl@redhat.com>
4854 Fix c++ compilation issues
4855 Patch from Milosz Derezynski <internalerror@gmail.com>
4857 2007-10-10 Alexander Larsson <alexl@redhat.com>
4859 * programs/gio-monitor-dir.c:
4860 Don't crash if dir monitor not supported.
4862 2007-10-09 Alexander Larsson <alexl@redhat.com>
4865 Add missing G_END_DECLS
4867 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4869 * gio/gfile.c: (g_file_set_display_name),
4870 (g_file_query_settable_attributes),
4871 (g_file_query_writable_namespaces):
4872 Return NULL not FALSE on errors as the return type is a pointer.
4874 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4876 * gio/glocalfile.c: (g_local_file_monitor_file):
4877 Don't call monitor_file on the default interface vtable (which
4878 is NULL) but simply return NULL. The caller, GFile, will create a
4879 polling monitor if NULL is returned.
4881 2007-10-09 Alexander Larsson <alexl@redhat.com>
4885 * gio-unix-2.0.pc.in:
4886 Add gio-unix-2.0.pc if OS_UNIX
4889 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4891 2007-10-09 Alexander Larsson <alexl@redhat.com>
4893 * gio/gunixmounts.[ch]:
4894 Make unix mount monitoring API sane.
4895 Now its just a object with mounts_changed
4896 and mountpoints_changed signals.
4898 * gio/glocaldirectorymonitor.c:
4899 * gio/gunixvolumemonitor.c:
4900 Use new mount monitor api
4902 2007-10-09 Alexander Larsson <alexl@redhat.com>
4904 * gio/gunixmounts.[ch]:
4905 Move guess type into one call for mounts and one for mountpoints
4908 * gio/gunixvolume.c:
4911 2007-10-09 Alexander Larsson <alexl@redhat.com>
4913 * gio/gunixmounts.[ch]:
4914 Remove _ prefix in preparation to make this semi-public
4915 Hide implementation of structs
4917 * gio/glocaldirectorymonitor.c:
4919 * gio/gunixvolume.c:
4920 * gio/gunixvolumemonitor.c:
4921 Update for above API changes
4923 2007-10-08 Alexander Larsson <alexl@redhat.com>
4926 Better polling fallback. This also handles the case where we have
4927 a monitor_file implementation, but it fails.
4929 2007-10-08 Alexander Larsson <alexl@redhat.com>
4933 * gio/gunixmounts.c:
4934 * programs/gio-monitor-dir.c:
4935 * programs/gio-monitor-file.c:
4936 Added cancellable to file monitoring calls.
4937 These are really sync calls and need this.
4939 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4941 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4942 (g_local_vfs_class_init):
4943 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4944 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4946 2007-10-05 Alexander Larsson <alexl@redhat.com>
4948 * gio/gdirectorymonitorprivate.h:
4949 * gio/gfilemonitorprivate.h:
4950 * gio/gdirectorymonitor.h:
4951 * gio/gfilemonitor.h:
4952 Remove *private.h and move to the public API, so that
4953 we can do implementations outside gio (such as in gvfs)
4955 * gio/gdirectorymonitor.c:
4956 * gio/gfilemonitor.c:
4957 * gio/glocaldirectorymonitor.c:
4958 * gio/gpollfilemonitor.c:
4959 * gio/inotify/inotify-helper.c:
4960 * gio/fam/fam-helper.c:
4961 Update to the new header names
4963 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4965 * gio/gdirectorymonitor.c:
4966 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4969 2007-10-04 Alexander Larsson <alexl@redhat.com>
4971 * gio/glocalfileinfo.c (get_access_rights):
4972 Set CAN_TRASH when we can move the file.
4973 We should really also check for a parent trash dir.
4975 2007-10-04 Alexander Larsson <alexl@redhat.com>
4977 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4978 Add can_trash access attribute
4980 2007-10-04 Alexander Larsson <alexl@redhat.com>
4983 (g_local_file_trash):
4984 Create info file first. This is per-spec and allows
4985 us to actually trash directories.
4987 2007-10-02 Alexander Larsson <alexl@redhat.com>
4989 * gio/gdesktopappinfo.c:
4990 Implement the new mime support code.
4991 Always set app as handling mimetype when being set as default for it
4993 2007-10-01 Alexander Larsson <alexl@redhat.com>
4995 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4996 Fix up check for xattrs:
4998 2007-10-01 Alexander Larsson <alexl@redhat.com>
5001 (g_app_info_set_as_default_for_extension):
5002 (g_app_info_add_supports_type):
5003 (g_app_info_can_remove_supports_type):
5004 (g_app_info_remove_supports_type):
5005 Make these fail nicely if not implemented
5007 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5009 * gio/glocalfileoutputstream.c:
5010 * gio/glocalfileoutputstream.h:
5015 * programs/gio-save.c:
5016 Add a GFileCreateFlags argument to operations that can create
5019 2007-10-01 Alexander Larsson <alexl@redhat.com>
5021 * gio/gappinfo.[ch]:
5022 * gio/gdesktopappinfo.c:
5023 Add more (stubbed out) mime API needed for nautilus
5025 2007-10-01 Alexander Larsson <alexl@redhat.com>
5028 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5029 Add g_app_info_set_as_default_for_extension.
5031 * gio/gdesktopappinfo.c:
5032 Dummy for g_app_info_set_as_default_for_extension
5033 Support flags in g_app_info_create_from_commandline
5035 * gio/gwin32appinfo.c:
5037 Update for API changes
5039 * gio/gthemedicon.c:
5040 Properly NULL-terminate list of icon names
5042 2007-09-28 Alexander Larsson <alexl@redhat.com>
5044 * gio/gloadableicon.h:
5045 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5047 2007-09-28 Alexander Larsson <alexl@redhat.com>
5050 Install headers in $includedir/gio-standalone/
5052 * gio-2.0.pc.in: Added.
5053 * gio-standalone.pc.in: Removed.
5056 Renamed pkg-config file to match glib (for future move)
5057 Update to the new include dir
5060 Add more TODO comments
5062 2007-09-28 Alexander Larsson <alexl@redhat.com>
5064 * gio/gdesktopappinfo.[ch]:
5065 Expose new_from_filename
5066 Add getter for is_hidden and handle it better
5068 2007-09-28 Alexander Larsson <alexl@redhat.com>
5070 * gio/gfileinfo.[ch]:
5071 Rename g_file_size_format_for_display to
5072 g_format_file_size_for_display.
5073 Now it doesn't have the g_file prefix, so we
5074 can later move it to glib.
5076 2007-09-28 Alexander Larsson <alexl@redhat.com>
5078 * gio/gappinfo.[ch]:
5079 Add g_app_info_get_id and g_app_info_get_executable.
5080 Make all getters non-reffing
5081 Make g_app_info_launch take GFile arguments.
5082 Add must_support_uris argument to g_app_info_get_default_for_type.
5084 * gio/gwin32appinfo.c:
5085 Update to GAppInfo api changes
5087 * gio/gdesktopappinfo.c:
5088 Update to GAppInfo api changes
5089 Implement supports_xdg_startup_notify
5091 * gio/gfileicon.c (g_file_icon_get_file):
5092 Make getter non-reffing.
5097 2007-09-27 Alexander Larsson <alexl@redhat.com>
5099 * gio/gfileinfo.[ch]:
5100 Add g_file_size_format_for_display helper
5102 2007-09-27 Alexander Larsson <alexl@redhat.com>
5104 * gio/glocalfileinfo.c:
5105 Set UNIX_GID from gid, not from uid
5107 2007-09-27 Alexander Larsson <alexl@redhat.com>
5110 Add g_file_set_attributes_async
5112 2007-09-27 Alexander Larsson <alexl@redhat.com>
5114 * gio/glocalfile.c (g_local_file_set_display_name):
5115 Fix set_display_name to actually rename to the right place.
5116 Use lstat to look for existing files so we don't overwrite
5119 2007-09-26 Alexander Larsson <alexl@redhat.com>
5122 Add g_file_set_display_name_async()
5124 2007-09-26 Alexander Larsson <alexl@redhat.com>
5127 Add load_partial_contents async calls
5130 Make internal function static
5132 2007-09-26 Alexander Larsson <alexl@redhat.com>
5134 * gio/glocalfileinfo.c:
5135 Correctly detect broken symlinks
5137 2007-09-26 Alexander Larsson <alexl@redhat.com>
5139 * gio/gcancellable.c (g_cancellable_cancel):
5140 Allow cancel on NULL cancellable
5142 2007-09-25 Alexander Larsson <alexl@redhat.com>
5144 * gio/gsimpleasyncresult.c:
5145 Don't allocate g_error manually.
5146 Fixes g_slice/g_new mixup crash
5148 2007-09-25 Alexander Larsson <alexl@redhat.com>
5150 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5151 Actually set active_backend.
5152 This means the monitor will be cancelled correctly.
5154 2007-09-25 Alexander Larsson <alexl@redhat.com>
5156 * gio/gdirectorymonitor.c:
5157 Set timeout to NULL when destroying
5159 2007-09-25 Alexander Larsson <alexl@redhat.com>
5162 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5163 that is a better description of the error.
5165 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5167 * gio/gvfs.c: (g_vfs_get_local):
5168 Make the local vfs variable static. The same instance should
5171 2007-09-24 Alexander Larsson <alexl@redhat.com>
5173 * gio/glocalfileinfo.c:
5174 Pass in actual length read into sniffer, not the length
5177 2007-09-21 Alexander Larsson <alexl@redhat.com>
5179 * gio/gfileenumerator.c:
5182 * gio/gfileinputstream.c:
5183 * gio/gfileoutputstream.c:
5184 * gio/ginputstream.c:
5185 * gio/goutputstream.c:
5186 Don't crash if async callbacks are NULL
5188 2007-09-20 Alexander Larsson <alexl@redhat.com>
5191 Add async enumerate_children method and default
5194 2007-09-20 Alexander Larsson <alexl@redhat.com>
5197 Add g_file_contains_file & g_file_get_relative_path, since they
5198 were needed for nautilus.
5199 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5204 Implement new methods
5206 2007-09-17 Alexander Larsson <alexl@redhat.com>
5209 * gio/gfileinputstream.[ch]:
5210 * gio/gfileoutputstream.[ch]:
5212 * gio/glocalfileenumerator.[ch]:
5213 * gio/glocalfileinfo.[ch]:
5214 * gio/glocalfileinputstream.c:
5215 * gio/glocalfileoutputstream.c:
5216 * gio/gpollfilemonitor.c:
5217 * programs/gio-copy.c:
5218 * programs/gio-info.c:
5219 * programs/gio-move.c:
5220 Rename get_file_info to query_info() to make it clearer
5221 that these are not simple getters, but do i/o.
5223 2007-09-17 Alexander Larsson <alexl@redhat.com>
5225 * gio/gdatainputstream.[ch]:
5226 * gio/test-streams.c:
5227 Use _read_XXX instead of _get_XXX for the i/o calls
5230 2007-09-17 Alexander Larsson <alexl@redhat.com>
5233 Added needed stuff to TODO comment
5235 2007-09-17 Alexander Larsson <alexl@redhat.com>
5237 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5238 Don't error out removing the backup copy if it doesn't
5241 2007-09-14 Alexander Larsson <alexl@redhat.com>
5243 * programs/Makefile.am:
5244 * programs/gvfs-*.c:
5246 Renamed apps from gvfs-xxx to gio-xxx.
5248 2007-09-14 Alexander Larsson <alexl@redhat.com>
5251 * gio/gfileoutputstream.[ch]:
5252 * gio/glocalfileoutputstream.c:
5253 * programs/gvfs-save.c:
5254 g_file_output_stream_get_etag doesn't do i/o, so remove
5255 cancellation and error.
5257 2007-09-14 Alexander Larsson <alexl@redhat.com>
5260 Add new_etag output to replace_contents functions
5262 2007-09-14 Alexander Larsson <alexl@redhat.com>
5264 * gio/gfileoutputstream.[ch]:
5265 Add async get_file_info and default implementation
5267 2007-09-14 Alexander Larsson <alexl@redhat.com>
5269 * gio/gfileinputstream.c:
5270 Implement fallback wrapper for async get_file_info
5272 2007-09-14 Alexander Larsson <alexl@redhat.com>
5275 Add etag out argument to load_contents
5280 2007-09-14 Alexander Larsson <alexl@redhat.com>
5282 * gio/gcontenttype.c (looks_like_text):
5283 Whitespace like tab, cr and lf do not make the
5286 2007-09-14 Alexander Larsson <alexl@redhat.com>
5288 * gio/gfileinputstream.[ch]:
5289 Add async get_file_info.
5291 2007-09-13 Alexander Larsson <alexl@redhat.com>
5293 * gio/goutputstream.c (g_output_stream_write_all):
5294 Allow NULL for bytes_written
5296 2007-09-13 Alexander Larsson <alexl@redhat.com>
5298 * gio/gmemoryinputstream.[ch]:
5299 Add accessors for data
5301 2007-09-13 Alexander Larsson <alexl@redhat.com>
5303 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5304 Don't crash if length is NULL