1 2008-10-16 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.19.0 ===
5 2008-10-16 Matthias Clasen <mclasen@redhat.com>
7 Bug 556422 – g_file_enumerator_next_file: unclear whether return
8 value needs to be freed
10 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
11 the return value docs. Pointed out by Armin Burgmeier
13 2008-10-14 Matthias Clasen <mclasen@redhat.com>
15 Bug 556334 – Warning when building without selinux support
17 * glocalfileinfo.c: Avoid compiler warnings when selinux is
18 disabled. Patch by Pascal Terjan
20 2008-10-14 Matthias Clasen <mclasen@redhat.com>
22 Bug 556335 – make check fails in abicheck.sh
24 * gio.symbols: Add g_file_attribute_info_list_get_type.
25 Pointed out by Pascal Terjan.
27 2008-10-13 Alexander Larsson <alexl@redhat.com>
30 When adding an application as handling a mime type (but
31 not as the default), copy the full list of desktop ids handling
32 that type in before adding the new one on the end of the list.
33 This means we're not accidentally changing the default by overriding
34 the info from the later directories in the search path.
36 Also, fixes small leak of removed_entries.
38 2008-10-12 David Zeuthen <davidz@redhat.com>
41 * gunionvolumemonitor.c:
43 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
45 2008-10-10 Alexander Larsson <alexl@redhat.com>
47 * gfileattribute.c (escape_byte_string):
48 Upper half of byte is >> 4, not >> 8.
49 Found by Kjartan Maraas via sparse
51 2008-10-10 Matthias Clasen <mclasen@redhat.com>
53 Bug 555711 – Wrong fallback order of mimetype icons
55 * gcontenttype.c: Don't prefer generic icons over
56 default mimetype icons.
58 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
59 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
61 Patch by Krysztof Kosiński
63 2008-10-10 Matthias Clasen <mclasen@redhat.com>
65 Bug 555121 – Improved build-time handling of gio module-dir
67 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
68 * Makefile.am: Create the module dir.
70 2008-10-10 Matthias Clasen <mclasen@redhat.com>
72 * gio/glocalfileinfo.c:
73 * gio/tests/live-g-file.c:
74 * gio/gsimpleasyncresult.c: Fix gcc warnings.
76 2008-10-09 Alexander Larsson <alexl@redhat.com>
78 * gunixinputstream.c (g_unix_input_stream_read):
79 Actually return -1 in case of cancelled, not old res value.
81 2008-10-06 Colin Walters <walters@verbum.org>
83 Bug 554745 - GFileAttributeInfoList should be boxed
85 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
86 for convenience of bindings.
87 * gio/gfileattribute.h: Prototype it.
89 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
91 Bug 554970 – segfault when update-desktop-database is not available
94 * gdesktopappinfo.c (run_update_command): Have the error set before
97 2008-10-01 David Zeuthen <davidz@redhat.com>
99 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
100 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
101 instead of the gio URI (such as sftp://foo/file.avi) when using
102 g_app_info_launch() and friends. With a sufficiently recent gvfs,
103 apps using gio+gvfs will map the FUSE file:// URI back to the gio
104 URI (and thus bypass the fuse daemon) thanks the patch from bug
105 #530654. Since Nautilus is an user of g_app_info_launch() it
106 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
107 when launced via the file manager. Win. Fixes bug #528670.
109 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
110 mapping to the description of GAppInfo.
112 2008-09-30 Tor Lillqvist <tml@novell.com>
114 * tests/Makefile.am: Build desktop-app-info only on Unix.
116 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
117 g_critical(). Pass a large enough result buffer to
118 GetVolumePathNameW(). Just use MAX_PATH.
120 2008-09-29 David Zeuthen <davidz@redhat.com>
122 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
124 2008-09-26 Dan Winship <danw@gnome.org>
126 * tests/data-input-stream.c:
127 * tests/data-output-stream.c:
128 * tests/live-g-file.c:
129 * tests/memory-input-stream.c:
130 * tests/memory-output-stream.c: Use g_assert_error() and
133 2008-09-26 Matthias Clasen <mclasen@redhat.com>
135 Bug 545350 – GAppInfo deletion
136 Bug 545351 – Reset associations for content type
139 * gappinfo.[hc]: New functions g_app_info_can_delete,
140 g_app_info_delete and g_app_info_reset_type_associations.
143 * gwin32appinfo.c: Implementations of these.
146 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
148 2008-09-26 Dan Winship <danw@gnome.org>
150 Bug 505361 – gunixinputstream.c assumes poll() available
151 Bug 509446 – portable blocking gio cancellation
153 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
154 GPollFD for a cancellable (which is slightly more complicated on
157 * gunixinputstream.c (g_unix_input_stream_read):
158 * gunixoutputstream.c (g_unix_output_stream_write): Use
159 g_cancellable_make_pollfd() and g_poll() rather than using poll()
162 * tests/unix-streams.c: test of GUnixInputStream,
163 GUnixOutputStream, and GCancellable.
165 2008-09-26 Dan Winship <danw@gnome.org>
167 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
168 cast to stop a gcc warning
170 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
173 2008-09-25 Dan Winship <danw@gnome.org>
175 Bug 553426 - cancellable clarifications
177 * gcancellable.c (g_cancellable_class_init): Add a note to the
178 "cancelled" signal docs warning about thread-safety issues
179 (g_cancellable_cancel): Note that cancelling an asynchronous
180 operation takes effect asynchronously, not immediately.
182 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
184 * gioenums.h: Add new GFileCopyFlag, to leave target file with
185 default perms, instead of setting the source file perms, in a copy
188 * gfile.c (g_file_copy_attributes)
189 (build_attribute_list_for_copy)
190 (should_copy): Not copy "unix::mode" attribute if we have received
191 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
193 2008-09-20 Matthias Clasen <mclasen@redhat.com>
195 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
197 2008-09-17 Matthias Clasen <mclasen@redhat.com>
199 * === Released 2.18.1 ===
201 2008-09-16 Michael Natterer <mitch@imendio.com>
203 * gcontenttype.c (g_content_type_guess): can't assign the return
204 value of g_strdupv() to an array. Fill the array manually with
205 const strings instead (it is never freed anyway). Fixes the
206 build. Also fixed indentation.
208 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
210 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
211 Fix trivial typo to unbreak the build (there was a colon
212 instead of a semicolon at the end of a statement).
214 2008-09-15 Matthias Clasen <mclasen@redhat.com>
216 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
219 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
222 2008-09-15 Matthias Clasen <mclasen@redhat.com>
224 Bug 551681 – g_content_type_guess() too naive with filenames
226 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
227 at the end of the filename, and declare it a directory.
228 Patch by Bastien Nocera
230 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
232 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
235 * gdesktopappinfo.c: add a note in the docs clarifying what the
236 "filename" parameter really is.
238 2008-09-12 Tor Lillqvist <tml@novell.com>
240 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
241 FormatMessage() etc here. Call g_win32_error_message() instead
242 which already does all that. Besides, the code was broken as it
243 called the default "A" version of FormatMessage() but still
244 thought it produced a wide string.
246 2008-09-12 Michael Natterer <mitch@imendio.com>
248 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
249 in the documentation.
251 2008-09-08 Christian Neumair <cneumair@gnome.org>
253 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
254 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
255 Use non-blocking pipe for mount helper I/O. Fixes #550647.
257 2008-09-06 Matthias Clasen <mclasen@redhat.com>
259 Bug 551149 – xdgmime mem leak
261 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
262 a memory leak. Patch by Christian Persch
264 2008-09-04 Tor Lillqvist <tml@novell.com>
266 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
269 2008-09-02 Matthias Clasen <mclasen@redhat.com>
271 * === Released 2.18.0 ===
273 2008-09-02 Michael Natterer <mitch@imendio.com>
275 * *.h: big header formatting cleanup: indentation, vtable
276 formatting, consistent spacing in (* vfunc), trailing whitespace
277 removal. Formatting should be pretty consistent in all GIO headers
280 2008-09-02 Matthias Clasen <mclasen@redhat.com>
282 * gmount.h: Document guess_content_type sync vfunc.
284 2008-09-02 Michael Natterer <mitch@imendio.com>
286 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
287 fix parent_class member to be GFilterOutputStreamClass (not
288 GOutputStreamClass). Drop three pointers of padding, which is
289 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
290 so the class struct size stays the same.
292 2008-09-02 Matthias Clasen <mclasen@redhat.com>
294 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
296 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
297 nonexisting return values. Pointed out by Cosimo Cecchi.
299 2008-08-23 Tor Lillqvist <tml@novell.com>
301 Bug 548988 - g_file_replace fails on Windows when the target file
304 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
305 Windows, close the file before potentially renaming it (in case we
306 have been writing to a file with a temporary name).
308 (g_local_file_output_stream_close, handle_overwrite_open): Use
309 GLocalFileStat instead of plain struct stat, for passing to
310 _g_local_file_info_create_etag(). Thus also use _fstati64()
311 instead of plain fstat() on Windows.
313 2008-08-18 Matthias Clasen <mclasen@redhat.com>
315 * === Released 2.17.7 ===
317 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
319 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
322 2008-08-13 Tor Lillqvist <tml@novell.com>
324 * win32/gwinhttpvfs.c
325 * win32/gwinhttpvfs.h
326 * win32/gwinhttpfile.c
327 * win32/gwinhttpfileinputstream.c
328 * win32/gwinhttpfileoutputstream.c: Refactor some common code
329 snippets into helper functions. Check HTTP response status
330 codes. Implement g_winhttp_file_query_info(), looking at
331 Content-Length, Content-Type and Last-Modified.
333 * win32/winhttp.h: Add some symbolic constants that are not
334 publicly documented. Just a handful, so it should be OK to use
335 information from the Windows SDK's headers.
337 2008-08-13 Tor Lillqvist <tml@novell.com>
339 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
342 * win32/gwin32directorymonitor.c
343 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
345 2008-08-13 Matthias Clasen <mclasen@redhat.com>
348 * goutputstream.c: Add intro docs.
350 2008-08-13 Tor Lillqvist <tml@novell.com>
352 * win32/gwinhttpfileoutputstream.c
353 (g_winhttp_file_output_stream_write): Don't write the
354 Content-Length header ourselves, WinHttpSendRequest() takes care
355 of that when the dwTotalLength parameter is non-zero. Increment
356 offset by the number of actual bytes sent, although I wonder if
357 such a scenario is possible where less than requested would be
358 sent and accepted by the server without errors.
360 2008-08-13 Tor Lillqvist <tml@novell.com>
362 * win32/gwinhttpvfs.c
363 * win32/gwinhttpvfs.h
364 * win32/gwinhttpfile.c
365 * win32/gwinhttpfile.h
366 * win32/gwinhttpfileinputstream.c
367 * win32/gwinhttpfileinputstream.h
368 * win32/gwinhttpfileoutputstream.c
369 * win32/gwinhttpfileoutputstream.h: New files implementing
370 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
371 Windows. The implementation uses the WinHttp API. Both reading and
372 writing are supported, i.e. GET and PUT requests. When writing,
373 each write call is done using a separate PUT request with a
374 Content-Range header. Requests for file URIs and plain pathnames
375 are forwarded to GLocalVfs.
377 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
378 WINE. Used as there is no <winhttp.h> bundled with mingw, and
379 requiring people to download the Windows SDK just for this one
380 header is not reasonable.
382 * win32/Makefile.am: Add above files.
384 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
385 the plumbing for the above.
387 2008-08-11 Sven Neumann <sven@gimp.org>
389 * gfilenamecompleter.c
390 * glocaldirectorymonitor.c
392 * gunionvolumemonitor.c
396 * gunixvolumemonitor.c
399 * gwin32volumemonitor.c: use canonical signal names.
401 2008-08-11 Tor Lillqvist <tml@novell.com>
403 * Makefile.am: Put a list of the platform-dependent .la files in
404 the subdirectories in the platform_deps Make variable, and make
405 libgio-2.0.la depend on that, so that it gets relinked if one of
406 the dependent libraries has changed.
408 2008-08-11 Tor Lillqvist <tml@novell.com>
410 * Makefile.am (platform_libadd): Remove -lwininet which had been
411 added by mistake. We will probably eventually be using WinHTTP,
412 not the older WinInet anyway. (Actually I am working on it.)
414 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
416 Bug 547080 – g_file_copy leaks expected errors
418 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
419 before trying the next fallback routine.
421 2008-08-09 Loïc Minier <lool@dooz.org>
423 Bug 535124 – umask 002 not being applied for new directories, new
424 files get the correct umask
426 * gfile.c (g_file_make_directory)
427 (g_file_make_directory_with_parents): Document ownership and
428 permissions of newly created directories as being the default
431 2008-08-08 Loïc Minier <lool@dooz.org>
433 Bug 535124 – umask 002 not being applied for new directories, new
434 files get the correct umask
436 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
439 2008-08-08 Tor Lillqvist <tml@novell.com>
441 * gwin32mount.c: Remove unused code. Whitespace cleanup.
443 * gwin32volumemonitor.c (get_connected_drives): Put questionable
444 code that didn't actually do anything inside #if 0, and add a
445 comment wondering what the code was supposed to do. This also gets
446 rid of a leftover debugging printout.
448 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
450 * gfileicon.c (g_file_icon_get_property)
451 (g_file_icon_set_property): New functions.
452 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
454 (g_file_icon_new): Use the property (bug #546132).
456 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
458 * gthemedicon.c (g_themed_icon_get_property): Also handle
459 `PROP_USE_DEFAULT_FALLBACKS'.
460 (g_themed_icon_class_init): Make
461 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
463 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
465 Bug 546371 – Improve docs re g_file_monitor
467 * gfilemonitor.c: Mention g_file_monitor() in the docs.
469 2008-08-04 Matthias Clasen <mclasen@redhat.com>
471 * === Released 2.17.6 ===
473 2008-08-04 Matthias Clasen <mclasen@redhat.com>
475 * === Released 2.17.5 ===
477 2008-08-04 Matthias Clasen <mclasen@redhat.com>
479 Bug 546017 – Don't copy attributes when copying a symlink
481 * gfile.c (g_file_copy_attributes): Specify
482 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
483 g_file_set_attributes_from_info. Patch by Christian Kellner
485 2008-08-04 Matthias Clasen <mclasen@redhat.com>
487 * gemblemedicon.[hc]:
489 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
490 a bit more extensible. Work by Clemens Buss.
492 * gioenums.h: Add GEmblemOrigin.
495 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
497 Bug 546079 – leak in xdgmime
499 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
501 2008-08-03 Tor Lillqvist <tml@novell.com>
503 * win32/gwin32directorymonitor.h
504 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
507 2008-08-03 Tor Lillqvist <tml@novell.com>
509 * win32/gwin32directorymonitor.c
510 (g_win32_directory_monitor_callback): Make prototype match
511 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
512 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
515 (g_win32_directory_monitor_constructor):
516 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
517 names in the GLib API on Windows, so convert to UTF-16 and open
520 2008-08-03 Tor Lillqvist <tml@novell.com>
522 Bug 541036 - Gnumeric crashes when trying to open Desktop or
523 user's folder under Windows
525 * win32/gwin32directorymonitor.c
526 (g_win32_directory_monitor_constructor): Ignore error from
527 CreateFile() when opening directory. Instead of asserting, just
528 store INVALID_HANDLE_VALUE then in
529 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
530 ReadDirectoryChangesW().
531 (g_win32_directory_monitor_cancel): Don't attempt to close
532 directory handle if it is INVALID_HANDLE_VALUE.
534 2008-08-01 Matthias Clasen <mclasen@redhat.com>
536 * gdesktopappinfo.c: Remove debug spew
538 2008-08-01 Hans Breuer <hans@breuer.org>
540 * makefile.msc : add gemblembedicon
542 2008-07-30 Matthias Clasen <mclasen@redhat.com>
544 Bug 545457 – gdmsetup crashed with SIGSEGV in
545 g_unix_mount_guess_should_display()
547 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
548 crash if no mount is found.
550 2008-07-28 Matthias Clasen <mclasen@redhat.com>
552 Bug 545203 – gfile.c: argument is different type.
554 * gfile.c (open_read_async_thread): Pass a GError **
555 to g_file_set_error_literal.
556 Reported by Kazuki Iwamoto
558 2008-07-28 Matthias Clasen <mclasen@redhat.com>
560 Bug 545157 – wrong/no list of "open with" applications for .cc and
563 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
564 Collect all ancestors, not just direct parents. Pointed
565 out by Bastien Nocera
567 2008-07-28 Matthias Clasen <mclasen@redhat.com>
569 * Makefile.am: Install gemblemedicon.h
571 2008-07-28 Matthias Clasen <mclasen@redhat.com>
573 * gemblemedicon.[hc]: Add a GIcon implementation that can
574 add an emblem to another icon.
581 * gfileicon.c: Small documentation additions.
583 2008-07-28 Tor Lillqvist <tml@novell.com>
585 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
588 2008-07-27 Tor Lillqvist <tml@novell.com>
590 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
592 2008-07-24 David Zeuthen <davidz@redhat.com>
596 Also export a g_mount_guess_content_type_sync() function.
598 2008-07-23 Matthias Clasen <mclasen@redhat.com>
600 529694 – SELinux context setting support
602 * gfileinfo.c: Support setting selinux attributes.
603 Patch by Tomas Bzatek
605 2008-07-22 Priit Laes <plaes@plaes.org>
607 Bug 544140 - fam-helper 64-bit issue?
609 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
611 2008-07-21 Matthias Clasen <mclasen@redhat.com>
613 * === Released 2.17.4 ===
615 2008-07-20 Matthias Clasen <mclasen@redhat.com>
617 * gvolumemonitor.[hc]:
622 * gmount.c: Documentation fixes
624 2008-07-19 Matthias Clasen <mclasen@redhat.com>
626 543504 – crash in Epiphany Web Browser: Opening local file
637 * gvolume.c: Register types thread-safely.
638 Patch by Christian Persch
640 2008-07-18 Matthias Clasen <mclasen@redhat.com>
642 * gcontenttype.c: Remove debug spew
644 2008-07-18 Matthias Clasen <mclasen@redhat.com>
646 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
649 * fen/fen-kernel.c: Remove a warning that was causing
650 crashes. Reported by Lin Ma.
652 2008-07-18 Matthias Clasen <mclasen@redhat.com>
654 Bug 543040 – async reading on dummy file will crash on
657 * gfile.c (open_read_async_thread): Cope with read_fn being
658 NULL. Reported by Lin Ma.
660 2008-07-18 Matthias Clasen <mclasen@redhat.com>
663 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
665 2008-07-16 Matthias Clasen <mclasen@redhat.com>
669 * giomodule.c: Rename a chapter id to avoid filename conflict.
671 2008-07-16 Matthias Clasen <mclasen@redhat.com>
673 Bug 540616 – mem leak in filechooser button
675 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
676 the mount entry. Reported by Chrisitan Persch
678 2008-07-16 Matthias Clasen <mclasen@redhat.com>
680 * gfile.c: Small documentation fixes.
682 2008-07-15 Matthias Clasen <mclasen@redhat.com>
684 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
686 2008-07-08 Matthias Clasen <mclasen@redhat.com>
691 * gmount.c: Documentation improvements.
693 2008-07-08 Matthias Clasen <mclasen@redhat.com>
696 * gmount.[hc]: Add g_mount_guess_content_type().
698 2008-07-06 David Zeuthen <davidz@redhat.com>
701 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
702 is needed for easily handling adoption of foreign volumes by
703 out-of-process volume monitors (#541793)
705 2008-07-06 David Zeuthen <davidz@redhat.com>
707 * gvolumemonitor.[ch]:
708 * gunionvolumemonitor.c: Export the eject-button signal on the
709 volume monitor class (#541794).
711 2008-07-06 Matthias Clasen <mclasen@redhat.com>
713 * gappinfo.c: More doc tweaks
715 2008-07-05 Matthias Clasen <mclasen@redhat.com>
717 * gappinfo.c: Clarify some docs
719 2008-07-03 Matthias Clasen <mclasen@redhat.com>
721 * gdesktopappinfo.c: Fix a stupid mistake.
723 2008-07-02 Matthias Clasen <mclasen@redhat.com>
725 * === Released 2.17.3 ===
727 2008-07-02 Matthias Clasen <mclasen@redhat.com>
729 * gfilemonitor.c: Fix the build.
731 2008-07-02 Matthias Clasen <mclasen@redhat.com>
733 Bug 536160 – Add g_file_monitor()
736 * gfile.[hc]: Add g_file_monitor which can return either
737 a file or a directory monitor. Proposed by Behdad Esfahbod
739 2008-07-02 Matthias Clasen <mclasen@redhat.com>
741 536733 – gio build failure on Irix
743 * glocalfile.c: Use a configure check for structfs.f_bavail.
745 2008-07-02 Matthias Clasen <mclasen@redhat.com>
747 Bug 534639 – add g_desktop_app_info_new_from_keyfile
750 * gdesktopappinfo.[hc]: Add a function to create a
751 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
753 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
755 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
757 2008-07-01 Matthias Clasen <mclasen@redhat.com>
759 * gunixmounts.c: Fix a doc typo.
761 2008-07-01 Cody Russell <bratsche@gnome.org>
763 * gio/gcontenttype.c:
764 * gio/gwin32appinfo.c:
765 * gio/gwin32volumemonitor.c:
766 * gio/gwin32mount.c: Fixed some include problems.
768 2008-07-01 Cody Russell <bratsche@gnome.org>
772 Moved all relevant typedefs into these files.
775 Updated wrt added files.
777 Split types into separate file for easier maintainership. (#538564)
779 2008-06-30 Matthias Clasen <mclasen@redhat.com>
781 Bug 540331 – g_file_append_to () documentation: can return NULL
783 * gfile.c (g_file_append_to): Clarify docs.
786 2008-06-30 Matthias Clasen <mclasen@redhat.com>
788 Bug 539090 – g_content_type_from_mime_type() should unalias
790 * gcontentype.c (g_content_type_from_mime_type): Unalias.
791 Patch by Markus Bergman
793 2008-06-30 Matthias Clasen <mclasen@redhat.com>
795 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
798 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
799 on ppc and alpha. Reported by Mart Raudsepp
801 2008-06-29 Matthias Clasen <mclasen@redhat.com>
804 * tests/memory-output-stream.c: Add some tests for
807 2008-06-29 Matthias Clasen <mclasen@redhat.com>
809 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
812 * gmemoryoutputstream.c (array_resize): Handle truncation to
813 zero correctly. Reported by Akira Tagoh
815 2008-06-29 Matthias Clasen <mclasen@redhat.com>
817 * gmemoryoutputstream.c: Trivial doc fixes
819 2008-06-29 Matthias Clasen <mclasen@redhat.com>
821 Bug 540802 – g_list_prepend doesn't concat lists
823 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
824 one list to another. Pointed out by Jan Arne Petersen
826 2008-06-28 Michael Natterer <mitch@imendio.com>
828 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
830 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
832 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
833 to avoid problems with partial icon themes.
835 2008-06-17 Hans Breuer <hans@breuer.org>
837 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
838 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
839 access again on win32, see bug #538127
840 * giomodule.c : ensure GWin32VolumeMonitor is registered
841 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
842 * Makefile.am makefile.msc : updated
844 2008-06-16 Hans Breuer <hans@breuer.org>
846 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
847 and initialization in one step avoids c99ism
849 2008-06-16 Christian Persch <chpe@gnome.org>
852 * gio/gbufferedinputstream.c
854 * gio/gdatainputstream.c
855 * gio/gdesktopappinfo.c
857 * gio/gfileenumerator.c
858 * gio/gfileinputstream.c
859 * gio/gfileoutputstream.c
861 * gio/glocaldirectorymonitor.c
863 * gio/glocalfileenumerator.c
864 * gio/glocalfileinfo.c
865 * gio/glocalfilemonitor.c
866 * gio/glocalfileoutputstream.c
867 * gio/gmemoryinputstream.c
868 * gio/gmemoryoutputstream.c
869 * gio/goutputstream.c
870 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
873 2008-06-16 Tor Lillqvist <tml@novell.com>
875 Bug 538362 - Get Win32 icons back in the file chooser
877 * gcontenttype.c (g_content_type_get_icon): Look up the icon
878 corresponding to a file extension in the Registry. Patch by Hans
880 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
882 2008-06-16 Tor Lillqvist <tml@novell.com>
884 Patches by Hans Breuer:
886 * glocalfile.c (is_xp_or_later): Handle compiling against older
887 SDK headers with missing VerifyVersionInfo(). Conditioned on
888 _MSC_VER, but should probably use some better test.
889 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
890 uninitialised statfs_result variable on Win32.
892 2008-06-16 Michael Natterer <mitch@imendio.com>
894 * *.c: chain up unconditionally in finalize() and dispose(). Also
895 don't dereference these function pointers when calling them since
896 that has no meaning at all.
898 2008-06-16 Ross Burton <ross@burtonini.com>
901 Remove check for dispose implementation as it annoys Emmanuele.
903 2008-06-16 Ross Burton <ross@burtonini.com>
905 Bug 536252 – GFileEnumerator should allow access to the containing
911 Add g_file_enumerator_get_container() and a container writeable
912 construct-only property. Also shuffle around typedefs to make it
915 * glocalfileenumerator.c:
916 * glocalfileenumerator.h:
918 Instead of a string filename take a GFile in the constructor and
919 use it to set the container property.
924 2008-06-16 Matthias Clasen <mclasen@redhat.com>
926 * gfile.c: Make includes more uniform
928 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
930 * tests/live-g-file.c (sample_struct):
931 Use less fancy unicode filenames, so the test doesn't fail
932 on Mac OS X (#531476).
934 2008-06-12 Matthias Clasen <mclasen@redhat.com>
936 * === Released 2.17.2 ===
938 2008-06-12 Matthias Clasen <mclasen@redhat.com>
940 * === Released 2.17.1 ===
942 2008-06-11 A. Walton <awalton@gnome.org>
944 * tests/g-file.c (test_g_file_new_null):
945 Fix broken test case.
947 2008-06-11 Matthias Clasen <mclasen@redhat.com>
949 * pltcheck.sh: We use g_clear_error now.
951 2008-06-11 Matthias Clasen <mclasen@redhat.com>
953 * glocalfile.c (g_local_file_enumerate_children): Revert
954 an unintended change.
956 2008-06-11 Matthias Clasen <mclasen@redhat.com>
958 * gfile.c (g_file_replace_contents): Don't unref before the last use.
960 2008-06-10 Matthias Clasen <mclasen@redhat.com>
962 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
965 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
966 as icon for the desktop directory, also make user-home and
967 user-desktop the preferred icons.
969 2008-06-10 Matthias Clasen <mclasen@redhat.com>
972 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
973 to add a name to the front of the list.
975 2008-06-10 Matthias Clasen <mclasen@redhat.com>
977 Bug 537392 – Additional colon in xattr name
979 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
980 too. Reported by Alessandro Morandi
982 2008-06-10 Matthias Clasen <mclasen@redhat.com>
984 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
987 * glocalfile.c (get_fs_type): Add afs and autofs.
988 Patch by Danny Baumann.
990 2008-06-10 Matthias Clasen <mclasen@redhat.com>
992 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
994 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
995 is no parent. (Owen Taylor, patch by Christian Neumair)
997 2008-06-10 Paolo Borelli <pborelli@katamail.com>
999 * gfile.c (g_file_replace_contents): do not leak the output stream.
1001 2008-06-10 Michael Natterer <mitch@imendio.com>
1003 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1004 uninitialized memory as array index.
1006 2008-06-10 Tor Lillqvist <tml@novell.com>
1008 * gcontenttype.c (g_content_type_can_be_executable)
1009 (g_content_type_get_icon) [Win32]: Add TODO comments.
1011 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1013 * xdgmime/Makefile.am: Fix the build
1015 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1017 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1018 in the shared mime database, if available.
1020 * xdgmime/*: Sync with upstream. This brings support for
1021 glob weights, generic icons, and changes the cache format to
1024 2008-05-28 Michael Natterer <mitch@imendio.com>
1026 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1027 the global CPPFLAGS now.
1029 * tests/data-input-stream.c
1030 * tests/data-output-stream.c
1031 * tests/g-file-info.c
1033 * tests/live-g-file.c
1034 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1036 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1038 * === Released 2.17.0 ===
1040 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1041 doesn't complain about leftover files.
1043 2008-05-27 simon.zheng <simon.zheng@sun.com>
1045 * glocalfile.c: (g_local_file_query_filesystem_info):
1046 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1048 2008-05-26 Michael Natterer <mitch@imendio.com>
1050 * gmemoryoutputstream.h: declare
1051 g_memory_output_stream_get_data_size().
1053 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1055 * tests/*: Make tests work
1057 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1059 * gio.symbols: Add g_memory_output_stream_get_data_size.
1061 2008-05-25 Ross Burton <ross@burtonini.com>
1064 Fix typo in error message (#534764).
1066 2008-05-25 Ross Burton <ross@burtonini.com>
1069 Fix circular dependency loop for gioenumtypes.h (#534759).
1071 2008-05-19 Hans Breuer <hans@breuer.org>
1073 * Makefile.am : EXTRA_DIST += makefile.msc
1075 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1078 * gcontenttype.c: (g_content_type_from_mime_type):
1079 New function to create a content type from a mime type. (#527175,
1082 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1084 Bug 532965 – Should not return filesystem::free for certain file systems
1086 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1087 free space for ncpfs.
1089 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1091 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1093 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1094 st_dev might be zero.
1096 2008-05-16 Tor Lillqvist <tml@novell.com>
1098 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1099 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1101 2008-05-13 Bastien Nocera <hadess@hadess.net>
1103 * gfile.c (has_valid_scheme): A URI scheme must start with a
1104 letter, even if later more characters are allowed (#532852)
1106 2008-05-05 Michael Natterer <mitch@imendio.com>
1108 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1109 code from being checked in that breaks the build of applications
1110 which use G_DISABLE_SINGLE_INCLUDES.
1112 * makegioalias.pl: make the alias file include "glib.h" instead of
1115 * gio.symbols: whitespace change to force regeneration of the
1116 alias file after above script change.
1118 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1120 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1122 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1124 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1126 2008-04-28 David Zeuthen <davidz@redhat.com>
1128 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1129 displaying mounts in a subdirectory not accessible to the
1132 2008-04-22 Michael Natterer <mitch@imendio.com>
1134 * Makefile.am: fix library versioning (it was 0.0.0).
1136 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1138 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1139 Default disable all loggings.
1140 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1141 (port_fetch_event_cb): Fixed two macro nits.
1143 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1145 * xdgmime/xdgmime.c: Rework the timestamp checking code
1146 to protect against duplicate directories in XDG_DATA_DIRS.
1147 Fixes fd.o bug 12513, reported by Joe Shaw.
1149 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1151 Partically revert the last commit after realizing that
1152 xdg_mime_media_type_equal doesn't have to init at all.
1154 * xdgmime/xdgmime.h:
1155 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1157 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1159 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1161 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1162 reported by Joe Shaw and Federico Mena Quintero.
1164 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1165 (xdg_mime_media_type_equal): Turn into a wrapper around the
1168 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1169 functions throughout.
1171 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1173 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1174 tolerate an empty TryExec= line without failing; nautilus used
1175 to create launchers with these in previous versions. Fixes #528433
1177 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1179 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1180 after name. Fixes #527132.
1182 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1184 * gfile.c: (g_file_replace):
1187 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1189 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1191 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1192 by Christian Kellner.
1194 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1196 * gunixmounts.c: (g_unix_mount_guess_should_display):
1197 Don't list the user directory as a mount, fix potential issue
1198 when other users have a similar naming and don't special case the
1199 gvfs mounts there since that's not required (#525866)
1201 2008-03-31 Alexander Larsson <alexl@redhat.com>
1203 * glocalfile.c (get_parent):
1206 2008-03-31 A. Walton <awalton@svn.gnome.org>
1208 * gfile.c (g_file_query_file_type):
1209 Always return a GFileType enum value (#520715).
1211 2008-03-31 Alexander Larsson <alexl@redhat.com>
1213 * glocalfileenumerator.c:
1214 Read readdir() info in chunks (of 1000) and sort
1215 the chunks by inode before stat:ing.
1216 This is a 20% performance increase in testing
1217 gvfs-ls on /usr/bin with cold cache.
1219 2008-03-31 Alexander Larsson <alexl@redhat.com>
1221 * gmemoryoutputstream.c:
1222 Clarify docs for g_memory_output_stream_get_size.
1223 Add g_memory_output_stream_get_data_size.
1225 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1229 * gfile.h: Add g_file_query_file_type convenience function
1230 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1232 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1234 * gfileenumerator.c:
1235 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1237 2008-03-28 A. Walton <awalton@svn.gnome.org>
1239 * giomodule.c (_g_io_modules_ensure_loaded):
1240 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1243 2008-03-28 Alexander Larsson <alexl@redhat.com>
1246 (copy_stream_with_progress):
1249 2008-03-28 Alexander Larsson <alexl@redhat.com>
1252 (copy_stream_with_progress):
1253 (file_copy_fallback):
1254 Fallback to g_file_query_info for source size
1255 if g_file_input_stream_query_info fails. (#524579)
1257 2008-03-28 Alexander Larsson <alexl@redhat.com>
1259 * glocalfile.c (g_local_file_move):
1260 Reuse old string instead of adding new one.
1262 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1264 * fen/*.[hc]: still copyright issue. I hate copyright.
1266 2008-03-27 Alexander Larsson <alexl@redhat.com>
1268 * glocalfile.c (g_local_file_move):
1269 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1270 file over directory. This is according to the docs and what the move via
1271 copy+remove fallback does.
1273 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1275 * fen/*.[hc]: Updated copyright.
1277 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1279 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1281 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1283 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1284 not emit attribute changed events when optimizing changed events.
1285 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1288 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1290 * gmountoperation.[hc]: Small documentation additions
1292 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1294 * gunixmounts.c: (guess_mount_type):
1295 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1297 2008-03-19 Alexander Larsson <alexl@redhat.com>
1300 (copy_stream_with_progress):
1301 Bump block side for copy to 64k to minimize
1302 overhead for low latency links. (#523015)
1304 2008-03-16 Tor Lillqvist <tml@novell.com>
1306 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1307 depend on gio.def on Windows.
1309 2008-03-12 David Zeuthen <davidz@redhat.com>
1313 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1315 2008-03-14 Alexander Larsson <alexl@redhat.com>
1319 Avoid redudant tests (#521851)
1320 Patch from Josselin Mouette
1322 2008-03-14 Alexander Larsson <alexl@redhat.com>
1325 (g_file_monitor_is_cancelled):
1326 Fix C89 issue (#521672)
1327 Patch from Jens Granseuer
1329 2008-03-14 Alexander Larsson <alexl@redhat.com>
1331 * fam/fam-helper.[ch]:
1333 Shut down fam (including removing fam GSource) when
1334 module is unloaded (#521513)
1335 Patch from Joe Marcus Clarke
1337 2008-03-14 Alexander Larsson <alexl@redhat.com>
1340 (_g_io_modules_ensure_loaded):
1343 2008-03-14 Alexander Larsson <alexl@redhat.com>
1346 (g_local_file_query_filesystem_info):
1347 Use right define name for f_fstypename member check
1349 2008-03-14 Alexander Larsson <alexl@redhat.com>
1352 * fen/Makefile.am: Added.
1353 * fen/fen-data.[ch]: Added.
1354 * fen/fen-dump.[ch]: Added.
1355 * fen/fen-helper.[ch]: Added.
1356 * fen/fen-kernel.[ch]: Added.
1357 * fen/fen-missing.[ch]: Added.
1358 * fen/fen-node.[ch]: Added.
1359 * fen/fen-sub.[ch]: Added.
1360 * fen/gfendirectorymonitor.[ch]: Added.
1361 * fen/gfenfilemonitor.[ch]: Added.
1363 Added Solaris FEN file notification backend.
1364 Patch from Lin Ma <Lin.Ma@Sun.COM>
1366 2008-03-13 Tor Lillqvist <tml@novell.com>
1368 * Makefile.am: Actually use the gio.def file when linking the
1369 library on Windows. Produce .lib library for Microsoft's toolchain
1370 when possible. Install the .lib and .def file like for the other
1373 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1375 * tests/live-g-file.c:
1376 Include live-g-file in standard set of tests, making a temporary
1377 directory in source structure.
1379 Clean target directory before the tests (write mode only)
1381 2008-03-12 Tor Lillqvist <tml@novell.com>
1383 Bug 517419 - gio win32 directory monitor
1384 Implementation by Vlad Grecescu.
1387 * win32/gwin32directorymonitor.h
1388 * win32/gwin32directorymonitor.c: New files.
1390 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1392 * Makefile.am: Add the win32 subdirectory.
1394 2008-03-12 Tor Lillqvist <tml@novell.com>
1396 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1397 normal struct stat on Unix but struct _stati64 on Windows to have
1398 access to 64-bit file size information. Use that instead of struct
1399 stat in the functions declared here in this private header.
1401 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1402 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1403 warnings about unused functions and variables. Don't set
1404 meaningless attributes like inode numbers on Windows.
1406 2008-03-12 Benjamin Otte <otte@gnome.org>
1409 trim whitespace so gtk-doc groks the function name
1411 2008-03-12 Tor Lillqvist <tml@novell.com>
1413 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1414 returning FALSE, on Win32.
1416 2008-03-11 Alexander Larsson <alexl@redhat.com>
1419 * glocalfileinfo.[ch]:
1420 Correctly implement can_trash by actually
1421 looking for a trash dir, not just assuming
1424 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1426 * === Released 2.16.1 ===
1428 2008-03-11 Alexander Larsson <alexl@redhat.com>
1431 Fix crashes in new constructor and properties code
1433 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1435 * gfile.c: Minor spelling correction in documentation:
1436 existance -> existence.
1438 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1440 * === Released 2.16.0 ===
1442 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1444 * gio.symbols: Remove g_file_contains_file here, too.
1446 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1448 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1449 Samuel Cormier-Iijima)
1451 2008-03-08 Tor Lillqvist <tml@novell.com>
1453 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1456 2008-03-07 Alexander Larsson <alexl@redhat.com>
1459 (g_local_file_query_filesystem_info):
1460 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1461 Patch from Jasper Lievisse Adriaanse
1463 2008-03-06 Tor Lillqvist <tml@novell.com>
1465 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1466 comments for the *_USEC attributes.
1468 2008-03-06 Alexander Larsson <alexl@redhat.com>
1470 * gfile.c (g_file_query_exists):
1471 Add g_return_val_if_fail check (#520700)
1473 2008-03-06 Alexander Larsson <alexl@redhat.com>
1475 * gdesktopappinfo.c:
1478 * gunionvolumemonitor.c:
1481 * tests/live-g-file.c:
1482 * xdgmime/xdgmimecache.c:
1483 Fix sparse warnings (#519489)
1485 2008-03-05 Alexander Larsson <alexl@redhat.com>
1488 Make cancellation threadsafe (i.e.
1489 guarantee its only done once, and always
1492 * glocaldirectorymonitor.c:
1493 Make sure we the monitor lives while the
1494 mounts_changed callback is being called (#520484)
1496 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1498 * gbufferedinputstream.c: Fix typo in parameter
1501 2008-03-04 Alexander Larsson <alexl@redhat.com>
1504 Remove deprecated symbols we kept for one release.
1506 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1509 * goutputstream.c: Tiny documentation corrections.
1511 2008-03-03 Alexander Larsson <alexl@redhat.com>
1513 * gunionvolumemonitor.c:
1515 Fix the adopt_orphan_mount vfunc to take a
1516 volume_monitor reference in an ABI compat way.
1517 This change is not API compat, but the added
1518 arg is not used in the only user of this vfunc, so
1519 all we get is a harmless warning in gvfs (#520169)
1521 2008-03-01 Benjamin Otte <otte@gnome.org>
1524 clarify docs for g_file_delete().
1526 2008-02-29 Alexander Larsson <alexl@redhat.com>
1530 Make sure empty files get text/plain type (#518720)
1532 2008-02-27 Alexander Larsson <alexl@redhat.com>
1538 (g_unix_volume_mount):
1539 Add missing GMountMountFlags argument
1541 2008-02-26 Alexander Larsson <alexl@redhat.com>
1544 (g_local_file_delete):
1545 Handle filesystems (like ntfs-3g) that return EEXIST instead
1546 of ENOTEMPTY (#518816)
1548 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1550 * === Released 2.15.6 ===
1552 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1554 * gfile.c (g_file_find_enclosing_mount):
1555 * ginputstream.c (g_input_stream_set_pending):
1556 * glocalfile.c (g_local_file_find_enclosing_mount):
1557 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1558 * goutputstream.c (g_output_stream_set_pending):
1560 Fixup translator comments (#518578).
1562 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1564 * gfile.c (g_file_find_enclosing_mount):
1566 * glocalfile.c (g_local_file_find_enclosing_mount):
1569 Fix a few typos in translator comments and documentation.
1571 2008-02-25 Alexander Larsson <alexl@redhat.com>
1578 Add translator comments (#518578)
1580 2008-02-25 Alexander Larsson <alexl@redhat.com>
1583 Reintroduce g_file_contains_file, keep around for one
1584 unstable release cycle to avoid crashing to many apps.
1585 Make sure to delete after release.
1587 2008-02-25 Alexander Larsson <alexl@redhat.com>
1590 Remove deprecated g_file_contains_file.
1592 2008-02-25 Alexander Larsson <alexl@redhat.com>
1595 Emit actual change signals in an idle handler.
1596 This avoids reentrance and locking problems in
1597 the file notification backends.
1599 2008-02-25 Alexander Larsson <alexl@redhat.com>
1602 (g_unix_mount_guess_should_display):
1603 Remove type guessing, instead just display
1604 mounts in /media and in ~/.
1606 2008-02-25 Alexander Larsson <alexl@redhat.com>
1609 Make new strings reuse old ones.
1611 2008-02-25 Alexander Larsson <alexl@redhat.com>
1614 Implement trashing and filesystem::readonly for win32 (#517235)
1615 Patch from Yevgen Muntyan
1617 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1619 * gfileinfo.h: Documentation fixes.
1621 2008-02-22 Alexander Larsson <alexl@redhat.com>
1623 * gcontenttype.c (g_content_type_get_icon):
1624 Look at old-style gnome mime icon names too, as many
1625 have not moved to the new style.
1627 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1629 * *.c: Correct the @include in for section docs.
1631 2008-02-21 David Zeuthen <davidz@redhat.com>
1633 * glocalfileinfo.c: (_g_local_file_info_get):
1635 (g_content_type_get_icon): Implement this function by
1636 moving bits from glocalfileinfo.c
1637 (g_content_type_get_description): Unalias before getting
1638 description (#517687)
1640 * gfile.c: (g_file_class_init),
1641 (g_file_query_filesystem_info_async),
1642 (g_file_query_filesystem_info_finish),
1643 (query_filesystem_info_data_free),
1644 (query_filesystem_info_async_thread),
1645 (g_file_real_query_filesystem_info_async),
1646 (g_file_real_query_filesystem_info_finish):
1647 * gfile.h: Implement async version of
1648 g_file_query_filesystem_info()
1650 * gfileinfo.h: Add new attributes for filesystem::use-preview
1652 * gio.symbols: Update
1654 * gthemedicon.c: (g_themed_icon_append_name):
1655 * gthemedicon.h: Add new new convenience function.
1657 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1658 (get_mounts), (get_volumes), (get_connected_drives),
1659 (get_volume_for_uuid), (get_mount_for_uuid),
1660 (g_union_volume_monitor_init), (populate_union_monitor),
1661 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1662 (g_volume_monitor_adopt_orphan_mount):
1664 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1665 monitor implementations to call into the main volume monitor. Also
1666 separate object initialization and volume monitor initialization
1667 such that non-native volume monitors can properly adopt their
1670 2008-02-21 Alexander Larsson <alexl@redhat.com>
1675 2008-02-21 Alexander Larsson <alexl@redhat.com>
1678 Add more documentation about how GFiles work (from #517086)
1680 2008-02-21 Alexander Larsson <alexl@redhat.com>
1684 Add new g_file_has_prefix that does the same as g_file_contains_file.
1685 Deprecate g_file_contains_file and add a macro that converts
1686 it to g_file_has_prefix.
1687 The reason for this change is that the contains_file() name seems to
1688 imply that this does more work than what it does, but its really only
1689 a name match (from #517086)
1694 Update to match the above change.
1696 2008-02-20 Benjamin Otte <otte@gnome.org>
1698 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1699 (g_file_eject_mountable):
1700 even more cases of not returning in error path
1702 2008-02-20 Benjamin Otte <otte@gnome.org>
1704 * gfile.c: (g_file_mount_mountable):
1705 return from function in error path.
1707 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1710 Remove trailing coma in GMountMountFlags struct
1712 2008-02-18 Alexander Larsson <alexl@redhat.com>
1716 * glocalfileoutputstream.c:
1717 Use g_unlink/g_rename instead of unlink/rename;
1718 do not pass raw filenames to g_set_error. (#517239)
1719 Patch from Yevgen Muntyan.
1721 2008-02-18 Alexander Larsson <alexl@redhat.com>
1724 * glocalfileoutputstream.c:
1725 Open files with O_BINARY on windows. (#517140)
1727 2008-02-14 Alexander Larsson <alexl@redhat.com>
1729 * glocalfileoutputstream.c:
1730 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1732 2008-02-14 Alexander Larsson <alexl@redhat.com>
1735 Copy permissions with file on copy (#514084)
1736 This is what cp does and makes sure e.g. the
1737 exec permissions are kept.
1738 Its kinda weird in that it keeps the permission bits
1739 the same while the uid and gid are different. However
1740 the new uid is the user so its not a security issue,
1741 and I've heard no complaints about cp on this issue.
1743 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1745 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1747 2008-02-13 Alexander Larsson <alexl@redhat.com>
1749 * inotify/inotify-path.c:
1750 Define IN_ONLYDIR if not in header (#515346)
1752 2008-02-12 Alexander Larsson <alexl@redhat.com>
1754 * tests/live-g-file.c:
1757 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1759 * === Released 2.15.5 ===
1761 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1763 * gio.symbols: Add g_mount_mount_flags_get_type.
1765 2008-02-11 Alexander Larsson <alexl@redhat.com>
1768 (g_file_info_set_attribute_mask):
1769 (g_file_attribute_matcher_matches_id):
1770 Correctly handle NULL GAttributeMatcher meaning
1771 matches nothing. (Fixes #513492)
1773 2008-02-11 Alexander Larsson <alexl@redhat.com>
1778 Added GMountMountFlags enum and added a flags
1779 argument to all mount calls.
1781 This is an API/ABI change for future extensibility,
1782 as I think we will need at least an
1783 inhibit-autorun flag (the panel needs this).
1784 There are no flags defined yet though.
1786 2008-02-11 Alexander Larsson <alexl@redhat.com>
1789 Added new standard::description attribute.
1790 Requested by Vincent, and useful for both
1793 2008-02-11 Alexander Larsson <alexl@redhat.com>
1795 * gdesktopappinfo.c:
1798 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1800 * *.c: Documentation additions
1802 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1804 * gappinfo.h: Formatting cleanup
1805 * gappinfo.c: Fix up docs.
1807 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1809 * gunixmounts.c: Consistently use getmntent_r() and fall
1810 back to getmntent(). (#515492)
1812 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1814 * gbufferedinputstream.c:
1816 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1818 * tests/data-input-stream.c:
1819 * tests/data-output-stream.c: Portability fixes.
1821 2008-02-08 Alexander Larsson <alexl@redhat.com>
1826 Add g_volume_should_automount.
1829 2008-02-07 Tor Lillqvist <tml@novell.com>
1831 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1832 Win32, too Unix-specific.
1834 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1836 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1837 a local plt if the compiler doesn't support what we want. Bug #514702
1839 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1841 reviewed by: <delete if not using a buddy>
1844 * gunixinputstream.c:
1845 * gunixoutputstream.c:
1847 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1849 * tests/Makefile.am:
1850 * tests/live-g-file.c:
1851 * tests/live-g-file.txt:
1852 New GIO testing module working over real data
1854 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1856 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1857 Fallback to rename() if link() is not available
1858 (when no support on target filesystem)
1860 2008-02-06 Michael Natterer <mitch@imendio.com>
1862 * gfileinfo.c (g_file_info_get_icon): replace
1863 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1865 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1867 * gfile.c (g_file_create):
1868 Documentation update of error codes
1870 2008-02-06 Alexander Larsson <alexl@redhat.com>
1872 * gdesktopappinfo.c:
1873 Update to use both mimeapps.list and
1874 defaults.list as discussed on xdg list.
1876 2008-02-06 Benjamin Otte <otte@gnome.org>
1879 * gfilenamecompleter.c:
1880 Fix some typos in the documentation.
1882 2008-02-06 Alexander Larsson <alexl@redhat.com>
1884 * glocalfile.c (g_local_file_trash):
1885 Don't succeed with trash if newly created
1886 trash dir has the wrong owner. (#514696)
1888 2008-02-05 Alexander Larsson <alexl@redhat.com>
1890 * glocalfile.c (g_local_file_move):
1891 Don't spew warnings when destination is not
1894 2008-02-03 Hans Breuer <hans@breuer.org>
1896 * makefile.msc : update
1898 2008-02-01 Michael Natterer <mitch@imendio.com>
1900 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1901 return value of xdg_mime_list_mime_parents() to a variable of the
1904 2008-02-01 Alexander Larsson <alexl@redhat.com>
1906 * gappinfo.c (g_app_info_launch_uris):
1907 Actually call the launch_uris method, not
1910 2008-02-01 Alexander Larsson <alexl@redhat.com>
1912 * gdesktopappinfo.c (g_desktop_app_info_equal):
1913 Ensure appinfos with no id but same pointer value
1916 2008-02-01 Alexander Larsson <alexl@redhat.com>
1918 * gappinfo.c (g_app_info_launch_default_for_uri):
1921 2008-02-01 Alexander Larsson <alexl@redhat.com>
1925 Add g_app_info_launch_default_for_uri utility
1928 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1930 * gdesktopappinfo.c:
1931 Doc fix for g_app_info_get_default_for_uri_scheme ()
1934 2008-01-30 Alexander Larsson <alexl@redhat.com>
1937 Add doc comment about uris vs GFiles to
1940 * gdesktopappinfo.c:
1941 Ensure uris passed to g_app_info_launch_uris()
1942 are not roundtriped through GFile (as that
1943 may be slightly destructive for e.g. mailto: links)
1945 2008-01-30 Alexander Larsson <alexl@redhat.com>
1947 * tests/data-input-stream.c:
1948 * tests/data-output-stream.c:
1949 C89 fixes from Jens Granseuer (#512849)
1951 2008-01-30 Alexander Larsson <alexl@redhat.com>
1954 Fix gamin/fam difference build issue. (#509419)
1956 2008-01-29 Alexander Larsson <alexl@redhat.com>
1959 * gdesktopappinfo.c:
1960 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1962 2008-01-29 Alexander Larsson <alexl@redhat.com>
1964 * gdesktopappinfo.c:
1965 * gdesktopappinfo.h:
1966 giomodule-priv.h include moved to .c file.
1968 2008-01-29 Alexander Larsson <alexl@redhat.com>
1970 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1971 Remove unused prio/name fields.
1973 2008-01-29 Alexander Larsson <alexl@redhat.com>
1975 * gcontenttype.c (looks_like_text):
1976 Don't treat whitespace as control chars.
1978 2008-01-29 Alexander Larsson <alexl@redhat.com>
1980 * gdesktopappinfo.c:
1981 Lazily create the desktop files for appinfos created
1982 by g_app_info_create_from_commandline() when needed
1983 for mime associations. This allows run-time use
1984 of GAppInfo object without creating unnecessary
1987 2008-01-29 Alexander Larsson <alexl@redhat.com>
1990 Added new symbols to gio.symbols
1992 2008-01-29 Alexander Larsson <alexl@redhat.com>
1995 Add g_file_query_default_handler utility to easily look up
1996 the GAppInfo that handles a file.
1998 * gdesktopappinfo.[ch]:
2000 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2003 Remove unused function
2005 2008-01-29 Alexander Larsson <alexl@redhat.com>
2007 * gfileenumerator.c:
2008 Mention need to free returned value in
2009 g_file_enumerator_next_files_finish docs.
2010 Fix leak if g_file_enumerator_next_files_finish()
2013 2008-01-29 Alexander Larsson <alexl@redhat.com>
2016 (_g_unix_content_type_get_parents):
2017 Use list_parents, not get_parents from xdgmime, because
2018 the later doesn't use the cache.
2020 * xdgmime/xdgmimecache.c:
2021 (_xdg_mime_cache_list_mime_parents):
2022 Don't list the same type as parent multiple times.
2024 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2026 * === Released 2.15.4 ===
2028 2008-01-28 Alexander Larsson <alexl@redhat.com>
2031 Register local vfs with prio 0.
2034 Remove old name and prio class members
2036 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2038 * tests/g-file.c: Disable some tests that are failing in
2039 the absence of a http backend.
2041 2008-01-28 Alexander Larsson <alexl@redhat.com>
2045 Add registration hooks for extension points.
2046 Register the gio extension points.
2048 * fam/gfamdirectorymonitor.c:
2049 * fam/gfamfilemonitor.c:
2050 * glocaldirectorymonitor.[ch]:
2051 * glocalfilemonitor.[ch]:
2052 * gnativevolumemonitor.h:
2053 * gunionvolumemonitor.c:
2054 * gunixvolumemonitor.c:
2057 * inotify/ginotifydirectorymonitor.c:
2058 * inotify/ginotifyfilemonitor.c:
2059 Use the extension points registration instead
2060 of g_type_children().
2062 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2065 * gvolume.[hc]: Document new API.
2067 * gfile.c (g_file_copy_async): Fix docs
2069 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2071 * gbufferedinputstream.c:
2073 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2076 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2078 * glocalfile.c: Avoid trivial differences in translatable strings.
2080 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2082 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2083 build with gcc 3.4 (#509419)
2085 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2087 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2088 (#509994, Murray Cumming)
2090 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2092 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2093 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2094 this allows big jobs to be executed in chunks, instead of blocking
2095 the main loop for a long time.
2097 * gsimpleasyncresult.c:
2098 * giofile.c: Adapt callers.
2100 2008-01-25 Alexander Larsson <alexl@redhat.com>
2102 * gdesktopappinfo.c:
2103 Implement changes discussed on xdg list.
2104 Now we can add supported mimetypes by just using defaults.list
2105 We can also remove associations in defaults.list.
2107 2008-01-25 Alexander Larsson <alexl@redhat.com>
2109 * gdesktopappinfo.c:
2110 Don't make local copy of desktop file
2111 for mimetype changes if the file already
2112 supports the new mimetype.
2114 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2118 * gbufferedinputstream.c:
2119 * glocalfile.c: String improvements. (#511966,
2120 Theppitak Karoonboonyanan)
2122 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2124 * gioscheduler.h: Expand docs a bit.
2126 2008-01-24 Alexander Larsson <alexl@redhat.com>
2129 Add g_drive_get_identifier and
2130 g_drive_enumerate_identifiers
2133 Add g_volume_get_identifier and
2134 g_volume_enumerate_identifiers
2140 Implement identifiers for unix backend
2142 2008-01-24 Alexander Larsson <alexl@redhat.com>
2147 Add g_file_copy_async() (#511580)
2148 Based on patch from Carlos Garcia Campos
2150 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2152 * gioscheduler.c: Some documentation additions.
2154 2008-01-22 Alexander Larsson <alexl@redhat.com>
2156 * gdesktopappinfo.c:
2157 (g_desktop_app_info_new):
2158 Don't leak basename.
2160 2008-01-22 Alexander Larsson <alexl@redhat.com>
2162 * gdesktopappinfo.c:
2163 (g_desktop_app_info_new_from_filename):
2166 2008-01-22 Alexander Larsson <alexl@redhat.com>
2168 * glocalfileinfo.c (get_thumbnail_attributes):
2171 2008-01-22 Alexander Larsson <alexl@redhat.com>
2174 (canonicalize_filename):
2175 Canonicalize paths that start with more than
2179 (compare_two_files):
2180 (test_g_file_new_for_path):
2183 2008-01-22 Alexander Larsson <alexl@redhat.com>
2186 Allow UTF-8 in file:// parse names.
2188 * tests/Makefile.am:
2189 * tests/data-input-stream.c:
2190 * tests/data-output-stream.c:
2191 * tests/g-file-info.c:
2193 Added a bunch of tests from Tomas Bzatek
2195 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2197 * === Released 2.15.3 ===
2199 2008-01-21 Alexander Larsson <alexl@redhat.com>
2201 * gfileinputstream.[ch]:
2202 * gfileoutputstream.[ch]:
2204 Remove duplicated GSeekable functions. (#509990)
2205 Just use the g_seekable_xxx() calls instead.
2207 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2210 * gvolumemanager.c: Whitespace cleanups.
2212 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2213 Use the right mode when creating the file.
2215 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2217 * gfileenumerator.c:
2218 * gfileinputstream.c:
2220 * goutputstream.c: Documentation: Fixed minor typos
2221 and added more mentions of specific _finish() functions.
2223 2008-01-21 Alexander Larsson <alexl@redhat.com>
2225 * inotify/Makefile.am:
2226 * inotify/inotify-helper.c:
2227 * inotify/inotify-kernel.c:
2228 * inotify/inotify-path.c:
2229 * inotify/local_inotify.h: Removed.
2230 * inotify/local_inotify_syscalls.h: Removed.
2231 Removed the included copies of the inotify
2232 headers. We now only use the <sys/inotify.h>
2233 header which exists on modern systems.
2234 This fixes problems on ARM and SH5 (#510448)
2235 but is also generally much cleaner and future
2236 safe. For instance, if other OSes add support
2237 for inotify it should "just work".
2239 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2241 * inotify/*.c: Coding style fixes.
2242 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2243 for the 1/4 Hz timer.
2245 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2248 * gfilemonitor.[hc]:
2249 * gmemoryinputstream.c:
2250 * gmemoryoutputstream.c:
2251 * gmountoperation.c:
2252 * gthemedicon.c: Documentation updates
2254 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2256 * gfile.c: documentation: Fixed more minor
2259 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2261 * gmount.c: (g_mount_remount): documentation:
2262 Mention g_mount_remount_finish() instead of
2263 g_mount_unmount_finish().
2265 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2269 * gfile.c: Fixed some minor typos in the
2272 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2274 * gio/gvolumemonitor.c:
2275 (g_volume_monitor_get_connected_drives):
2276 (g_volume_monitor_get_volumes):
2277 (g_volume_monitor_get_mounts): Documentation:
2278 Clarify the ownership of the regurn GLists.
2280 2008-01-17 Alexander Larsson <alexl@redhat.com>
2283 Add the async find_enclosing_mount version
2284 to the header file too.
2286 2008-01-17 Alexander Larsson <alexl@redhat.com>
2289 Add async version of find_enclosing_mount
2290 with default implementation.
2292 2008-01-17 Alexander Larsson <alexl@redhat.com>
2297 Allow calls to implementation of copy and write
2298 even if the type of the file implementations is
2299 different. This can be used to implement native
2300 upload and download calls in a vfs.
2303 (g_local_file_move):
2304 Protect against the case where move is called
2305 with one file not being local.
2307 Make sure we call the progress callback once
2308 in the native move operation so that the caller
2309 knows how many bytes were copied.
2311 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2314 * gdatainputstream.c:
2316 * gfileoutputstream.c:
2321 * gunixmounts.c: Corrected some typos in the documentation:
2322 occured -> occurred.
2323 its -> it's (where appropriate).
2325 2008-01-16 Alexander Larsson <alexl@redhat.com>
2329 Add g_file_query_exists (#508771)
2331 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2336 * gvolume.c: For async functions that have no non-async
2337 version, document that the GAsyncReadyCallback may be NULL.
2340 2008-01-15 Alexander Larsson <alexl@redhat.com>
2342 * gmemoryinputstream.c:
2343 * gmemoryoutputstream.c:
2344 Don't do pointer arithmetic on void * (#508602)
2345 Patch from Kazuki IWAMOTO
2347 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2349 * === Released 2.15.2 ===
2351 2008-01-14 Alexander Larsson <alexl@redhat.com>
2353 * gfile.c (g_file_monitor_file):
2354 Don't set error here, since we fallback to polling monitor.
2356 2008-01-14 Alexander Larsson <alexl@redhat.com>
2359 (g_file_monitor_directory):
2360 (g_file_monitor_file):
2361 Add GError to file monitor calls
2363 * glocaldirectorymonitor.c:
2364 * glocaldirectorymonitor.h:
2366 * glocalfilemonitor.c:
2367 * glocalfilemonitor.h:
2369 Update for above change
2371 2008-01-14 Alexander Larsson <alexl@redhat.com>
2375 Handle root correctly in g_file_get_relative_path (#508719)
2377 2008-01-14 Alexander Larsson <alexl@redhat.com>
2380 Clean up docs and example for GAsyncResult (#508074)
2382 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2384 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2385 and correct some spelling mistakes. Bug #508108.
2387 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2389 * glocalfileinfo.c: Add a comment.
2391 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2393 * gfileinfo.c: GFileInfo description: Mention
2394 how to actually set attributes in a GFile and how to discover
2395 which attributes are settable. Bug #508378.
2397 2008-01-10 A. Walton <awalton@svn.gnome.org>
2399 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2400 (g_app_info_get_default_for_type):
2401 Check for NULL content types.
2403 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2405 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2407 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2409 * gfile.c: *_async() functions: Several small corrections
2410 to the documentation, mostly correcting copy/paste errors
2411 and improving some sentences.
2413 2008-01-09 Dan Winship <danw@gnome.org>
2415 * glocalfile.c (get_unique_filename): x86_64 fix
2417 2008-01-09 Alexander Larsson <alexl@redhat.com>
2422 Add g_unix_mount_guess_should_display and use
2423 for unix volume monitor backend.
2424 This means we more or less show what the
2425 gnome-vfs backend did.
2426 Based on patch from Padraig O'Briain
2428 2008-01-09 Alexander Larsson <alexl@redhat.com>
2432 Add g_themed_icon_new_with_default_fallbacks
2435 Use default fallbacks for icons
2437 2008-01-09 Alexander Larsson <alexl@redhat.com>
2440 * gmountoperation.[ch]:
2441 Change the API a bit so that unhandled methods
2442 get reported via the reply, rather than by
2443 the signal emission return value. This is because
2444 some handlers can't know this immediately without
2445 doing I/O, and this is an async operation that
2448 2008-01-09 Alexander Larsson <alexl@redhat.com>
2451 * fam/gfamdirectorymonitor.c:
2452 * fam/gfamfilemonitor.c:
2453 Fix double free crash (#508224)
2454 Patch from Joe Marcus Clarke
2456 008-01-07 Matthias Clasen <mclasen@redhat.com>
2458 * === Released 2.15.1 ===
2460 2008-01-07 Alexander Larsson <alexl@redhat.com>
2462 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2463 Fix warning (#507835)
2465 2008-01-07 Alexander Larsson <alexl@redhat.com>
2468 Pass --internal to glib-genmarshal
2471 * gmountoperation.c:
2473 Use better types for signal arguments (#507822)
2475 2008-01-07 Alexander Larsson <alexl@redhat.com>
2478 Build test subdir after .
2479 Remove gdirectorymonitor.[ch]
2481 * gdirectorymonitor.[ch]:
2485 Remove GDirectoryMonitor and make
2486 GFileMonitor the baseclass for both file and
2487 directory monitors. Lift the more generic
2488 rate limiting code from GDirectoryMonitor
2492 * fam/gfamdirectorymonitor.[ch]:
2493 * inotify/ginotifydirectorymonitor.[ch]:
2494 * inotify/inotify-helper.c:
2495 * glocaldirectorymonitor.[ch]:
2498 Update for the removed GDirectoryMonitor.
2500 * gmemoryoutputstream.c:
2501 Remove ununsed variable
2503 2008-01-07 Alexander Larsson <alexl@redhat.com>
2505 * gmemoryinputstream.c:
2506 Translate error strings
2509 * gmemoryoutputstream.[ch]:
2510 New implementation that avoids using GByteArray
2511 in implementation and API. (#506377)
2513 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2515 * tests/*: Add a test for memory input streams.
2517 * Makefile.am: Add tests to SUBDIRS.
2519 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2521 * glocalfilemonitor.c:
2522 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2525 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2527 * gdesktopappinfo.c: Fix a docs typo.
2529 * gfileattribute.c: Add information about extended attributes
2530 to the documentation. (#505058)
2532 2008-01-04 Alexander Larsson <alexl@redhat.com>
2535 * gmountoperation.c:
2536 Use the right type (uint) for the ask_password signal.
2538 2008-01-04 Alexander Larsson <alexl@redhat.com>
2543 Add g_app_info_supports_files()
2544 Remove desktop arg from g_app_info_should_show().
2546 * gdesktopappinfo.[ch]:
2547 Implement g_app_info_supports_files() and new should_show()
2548 Add g_desktop_app_info_set_desktop_env() to set the desktop
2549 for should_show(). (This will be set by gtk+ later)
2551 2008-01-04 Alexander Larsson <alexl@redhat.com>
2554 * gmemoryinputstream.[ch]:
2555 Improve API so that you can use multiple chunks
2556 of memory and custom destroy functions. (#506374)
2558 2008-01-03 Alexander Larsson <alexl@redhat.com>
2561 Handle NULL attribute matchers safely, as we return this
2562 for empty attribute matcher strings.
2564 2008-01-03 Alexander Larsson <alexl@redhat.com>
2566 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2567 Add /usr/local to list of internal mountpoints
2569 2008-01-03 Alexander Larsson <alexl@redhat.com>
2572 Check for HAVE_LCHOWN (#505887)
2574 2008-01-03 Alexander Larsson <alexl@redhat.com>
2578 Add define for selinux context attribute.
2579 Fix missing : -> :: namespace separator change
2580 Fix missing _ -> - name change for xattr-sys.
2583 2008-01-03 Alexander Larsson <alexl@redhat.com>
2586 Link to libglib and libgobject directly (#504879)
2587 Patch from Sebastien Bacher
2589 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2591 * gfile.c: Expanded the g_file_new_for_commandline_arg
2592 description a bit, based on the code and the docs of the
2593 other g_file_new_for_* functions.
2595 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2597 * gfilemonitor.h: Fixed typo in docs.
2599 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2601 Updates to GIO documentation. (#506395, Mikael Hermansson)
2603 * gcontenttype.c: Describe memory management for return value of
2604 g_content_types_get_registered(). Missing piece from #505815.
2605 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2606 GVolume, GDrive, GMounts, which hopefully gives the user less
2607 confusions when using this API. Following explainations from
2608 Alexander Larsson on gtk-devel-list.
2610 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2612 * gfileinfo.c: Expand the long description.
2614 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2617 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2618 fix builds with --disable-visibility. (#500273, Christian Persch)
2620 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2622 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2623 in the list of returned app infos.
2625 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2627 * gappinfo.c: Fix a cross-reference
2629 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2631 * gfileinputstream.c:
2632 * gfileoutputstream.c:
2636 * gdesktopappinfo.c:
2638 * gfileinfo.c: Documentation updates.
2640 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2642 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2645 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2647 * gcontenttype.c (g_content_types_get_registered): Don't return
2648 freed memory (#505815, Mikael Hermansson)
2650 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2652 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2653 used to detect statbuf->st_blocks. (#505042)
2655 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2657 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2658 environment handling. (#504829, Cosimo Cecchi)
2660 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2662 * gappinfo.c: Doc improvements
2664 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2667 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2669 * === Released 2.15.0 ===
2671 2007-12-20 Hans Breuer <hans@breuer.org>
2673 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2674 with symbols gwin32appinfo.obj, added gmount.obj
2675 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2677 2007-12-20 Alexander Larsson <alexl@redhat.com>
2683 * gfilenamecompleter.c:
2686 * gpollfilemonitor.c:
2687 File attribute renames:
2689 fs:: -> filesystem::
2690 id::fs -> id::filesystem
2692 2007-12-20 Alexander Larsson <alexl@redhat.com>
2701 Add GMountUnmountFlags to all unmount and
2703 Add g_mount_remount() call.
2705 2007-12-20 Alexander Larsson <alexl@redhat.com>
2707 * gvfs.c (get_default_vfs):
2708 Fix unused variable warning
2710 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2712 * pltcheck.sh: Update
2714 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2716 * gunionvolumemonitor.c:
2717 * gunixmount.c: Remove C99 comments
2719 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2721 * gio.symbols: Add some missing symbols
2723 2007-12-19 Alexander Larsson <alexl@redhat.com>
2726 Make g_io_modules_load_all_in_directory not unuse
2727 loaded modules so that users of it can do stuff
2729 Init internal "module" types.
2730 Initialize static prio and name for types so that
2731 we don't have to load modules to get it.
2733 * gnativevolumemonitor.h:
2735 Move is_supported to parent class so that
2736 non-native monitors can avoid being initialized
2737 too. (For instance GDaemonVolumeMonitor if we're
2738 not using GDaemonVfs.)
2740 * glocaldirectorymonitor.[ch]:
2741 * glocalfilemonitor.[ch]:
2742 * gunionvolumemonitor.c:
2743 * gunixvolumemonitor.c:
2745 Find plugins using the static prio+name to
2746 avoid unnecessarily loading the modules.
2748 2007-12-19 Alexander Larsson <alexl@redhat.com>
2753 2007-12-19 Alexander Larsson <alexl@redhat.com>
2755 * gunionvolumemonitor.c:
2756 Store the native type as GType, not class so that
2757 we can unload it. But still avoid unnecessarily
2760 2007-12-19 David Zeuthen <davidz@redhat.com>
2762 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2763 add signals 'disconnected' and 'eject-button' on GDrive. Add
2764 signal 'removed' on GVolume and 'unmounted' on GMount.
2766 * gdrive.c: (g_drive_base_init):
2768 * gfile.c: (g_file_mount_mountable),
2769 (g_file_mount_enclosing_volume):
2772 * gmount.c: (g_mount_base_init):
2774 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2775 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2776 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2780 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2782 * *.c: Fix up includes in the section docs.
2784 2007-12-17 Alexander Larsson <alexl@redhat.com>
2786 * gnativevolumemonitor.h:
2787 * gunionvolumemonitor.c:
2788 * gunixvolumemonitor.c:
2789 Add is_supported() to GNativeVolumeMonitorClass so
2790 that we can avoid having to create an object to see
2791 if the backend is supported at runtime.
2792 Also add name member and an env var to pick a specific
2793 volume monitor backend.
2797 Add cancellable to _g_mount_get_for_mount_path()
2799 * glocaldirectorymonitor.c:
2800 * glocalfilemonitor.c:
2801 Avoid loading and unloading modules while sorting.
2803 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2806 * gunixmounts.[hc]: Namespace waste reduction, move some
2807 g_get_unix_mount functions to the g_unix_mount namespace.
2810 * gunixvolumemonitor.c:
2812 * glocaldirectorymonitor.c: Update all callers.
2814 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2816 2007-12-17 Alexander Larsson <alexl@redhat.com>
2819 Add doc comments about what GFile operations are
2820 guaranteed to not block.
2822 2007-12-17 Alexander Larsson <alexl@redhat.com>
2825 Add missing #ifdef fixing OSX build.
2826 (#503334, patch from Richard Hult)
2828 2007-12-14 David Zeuthen <davidz@redhat.com>
2832 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2833 (g_mount_eject), (g_mount_eject_finish):
2835 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2836 (get_volume_for_uuid), (get_mount_for_uuid),
2837 (g_union_volume_monitor_class_init),
2838 (get_default_native_type_with_exclude), (get_default_native_type),
2839 (get_native_type), (update_native_type),
2840 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2841 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2842 (g_unix_mount_can_eject), (eject_unmount_cb),
2843 (eject_unmount_read_error), (eject_unmount_do),
2844 (g_unix_mount_unmount), (g_unix_mount_eject),
2845 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2846 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2847 (g_unix_mount_point_guess_can_eject):
2849 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2850 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2851 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2852 (g_unix_volume_mount), (g_unix_volume_eject),
2853 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2854 * gunixvolumemonitor.c: (get_volume_for_uuid),
2855 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2857 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2858 (g_volume_eject), (g_volume_eject_finish):
2860 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2861 (g_volume_monitor_get_mount_for_uuid):
2864 Provide eject() on both GMount and GVolume and utility functions
2865 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2866 ejected. Introduce the concept of UUID's and wire it into GVolume
2867 and GMount and provide API on GVolumeMonitor to find such
2868 instances. Also handle the case where an external
2869 GNativeVolumeMonitor fails to initialize. Lock around the
2870 _g_get_mount_for_mount_path() function such that volume monitor
2871 implementations won't have to do locking themselves.
2873 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2875 * gdesktopappinfo.c:
2881 * gvolume.h: Documentation updates
2883 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2886 * gfile.h: Doc updates
2888 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2891 * gdesktopappinfo.c: Use hash table iterators.
2893 2007-12-14 Alexander Larsson <alexl@redhat.com>
2896 * gfileattribute.[ch]:
2897 * gfileattribute-priv.h:
2898 Move GFileAttributeValue to a private header, as
2902 Make set_attribute take a type + a pointer instead
2903 of a GFileAttributeValue.
2906 Fix up for above changes.
2907 Add g_file_info_get_attribute_data to get
2908 all info in one call, g_file_info_get_attribute_status
2909 to get the status and g_file_info_get_attribute_as_string.
2913 * glocalfileinfo.[ch]:
2917 Make _guess_type static.
2919 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2922 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2923 made mkenums and friends use temporary files to avoid leaving
2924 empty generated files on failure (#503470).
2926 2007-12-14 Alexander Larsson <alexl@redhat.com>
2928 * gmountoperation.h:
2931 2007-12-14 Alexander Larsson <alexl@redhat.com>
2935 * gfileattribute.[ch]:
2938 * glocalfileoutputstream.c:
2939 * gmountoperation.[ch]:
2940 * goutputstream.[ch]:
2941 Clean up all flags enums to not have _FLAGS in them
2942 Make the names of some of the enums better.
2947 2007-12-14 Michael Natterer <mitch@imendio.com>
2949 * gio.symbols: fix g_io_scheduler symbol names.
2951 2007-12-14 Alexander Larsson <alexl@redhat.com>
2957 * gbufferedinputstream.h:
2958 * gbufferedoutputstream.h:
2961 * gdatainputstream.h:
2962 * gdataoutputstream.h:
2963 * gdesktopappinfo.h:
2964 * gdirectorymonitor.h:
2968 * gfileenumerator.h:
2971 * gfileinputstream.h:
2973 * gfilenamecompleter.h:
2974 * gfileoutputstream.h:
2975 * gfilterinputstream.h:
2976 * gfilteroutputstream.h:
2984 * gmemoryinputstream.h:
2985 * gmemoryoutputstream.h:
2987 * gmountoperation.h:
2990 * gsimpleasyncresult.h:
2992 * gunixinputstream.h:
2994 * gunixoutputstream.h:
2998 * inotify/Makefile.am:
2999 Only allow including <gio/gio.h> from apps
3001 2007-12-14 Alexander Larsson <alexl@redhat.com>
3003 * gioscheduler.[ch]:
3004 * gsimpleasyncresult.c:
3005 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3006 Split out the send_to_mainloop call into two versions instead
3007 of having the block argument.
3009 2007-12-13 Alexander Larsson <alexl@redhat.com>
3011 * gcancellable.[ch]:
3013 * gbufferedinputstream.c:
3014 * gfileenumerator.c:
3015 * gfileinputstream.c:
3016 * gfileoutputstream.c:
3020 g_push/pop_current_cancellable ->
3021 g_cancellable_push/pop_current
3023 2007-12-13 Alexander Larsson <alexl@redhat.com>
3027 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3029 2007-12-13 Alexander Larsson <alexl@redhat.com>
3031 * gmountoperation.h:
3032 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3034 2007-12-12 Alexander Larsson <alexl@redhat.com>
3037 Fix race condition when freeing proxy in
3038 g_io_job_send_to_mainloop().
3040 2007-12-12 Alexander Larsson <alexl@redhat.com>
3046 Make attribute namespace separator "::" instead of ":".
3047 Use - instead of _ as separator in attribute names.
3049 2007-12-12 Alexander Larsson <alexl@redhat.com>
3051 * gbufferedinputstream.h:
3052 * gbufferedoutputstream.h:
3053 * gdatainputstream.h:
3054 * gdataoutputstream.h:
3055 * gdirectorymonitor.h:
3056 * gfileenumerator.h:
3057 * gfileinputstream.h:
3059 * gfileoutputstream.h:
3060 * gfilterinputstream.h:
3061 * gfilteroutputstream.h:
3063 * glocalfileinputstream.h:
3064 * glocalfileoutputstream.h:
3065 * gmemoryinputstream.h:
3066 * gmemoryoutputstream.h:
3067 * gnativevolumemonitor.h:
3069 * gunixinputstream.h:
3070 * gunixoutputstream.h:
3073 s/parent/parent_instance/ in GObjects
3075 2007-12-12 Alexander Larsson <alexl@redhat.com>
3080 No need for padding for interfaces
3082 2007-12-12 Alexander Larsson <alexl@redhat.com>
3086 * gbufferedinputstream.c:
3087 * gbufferedoutputstream.c:
3090 * gdatainputstream.[ch]:
3091 * gdesktopappinfo.c:
3092 * gdirectorymonitor.c:
3094 * gfileattribute.[ch]:
3097 * gfileinputstream.h:
3098 * gfilemonitor.[ch]:
3099 * gfileoutputstream.[ch]:
3100 * gfilterinputstream.h:
3101 * gfilteroutputstream.h:
3104 * gloadableicon.[ch]:
3105 * gmemoryinputstream.c:
3106 * gmountoperation.c:
3108 Fix up a bunch of details in the docs.
3113 2007-12-11 David Zeuthen <davidz@redhat.com>
3115 Rework how volumes, drives and volume monitoring is
3116 done. Previosly the model was
3118 GDrive <1-1> GVolume
3120 where a GDrive instance represented a mount point and a GVolume
3121 instance represented a mounted file system. This patch changes it
3124 GDrive <1-N> GVolume <1-1> GMount
3126 where GMount now serves the purpose of the old GVolume and the new
3127 GVolume serves the purpose of the old GDrive. In addition the new
3128 GDrive interface is used to represent a collection of GVolume
3129 instances (typically partitions) and also contains utility to query
3130 the state of the physical drive the GDrive object represents (such
3131 as checking for media, polling the drive, ejecting the media etc.).
3133 Also implement mounting and unmounting in the Unix volume monitor
3134 backend. A subquent patch will introduce GDrive support for ejection
3138 * gdrive.c: (g_drive_is_media_check_automatic),
3139 (g_drive_is_media_removable), (g_drive_has_media),
3140 (g_drive_can_poll_for_media), (g_drive_eject),
3141 (g_drive_eject_finish), (g_drive_poll_for_media),
3142 (g_drive_poll_for_media_finish):
3144 * gfile.c: (g_file_find_enclosing_mount):
3147 * glocaldirectorymonitor.c:
3148 (g_local_directory_monitor_constructor), (mounts_changed):
3149 * glocalfile.c: (get_mount_info),
3150 (g_local_file_find_enclosing_mount),
3151 (g_local_file_file_iface_init):
3152 * gnativevolumemonitor.h:
3153 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3154 (get_connected_drives), (g_union_volume_monitor_class_init),
3155 (child_volume_added), (child_volume_removed),
3156 (child_volume_changed), (child_mount_added), (child_mount_removed),
3157 (child_mount_pre_unmount), (child_mount_changed),
3158 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3159 (g_union_volume_monitor_remove_monitor),
3160 (_g_mount_get_for_mount_path):
3161 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3162 (guess_system_internal), (_g_get_unix_mounts),
3163 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3164 (g_unix_mount_free), (g_unix_mount_compare),
3165 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3166 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3167 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3168 (type_to_icon), (g_unix_mount_guess_name),
3169 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3170 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3171 (_resolve_symlink), (_resolve_dev_root):
3173 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3174 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3175 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3176 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3177 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3178 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3179 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3180 (g_unix_volume_volume_iface_init):
3182 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3183 (get_mounts), (get_volumes), (get_connected_drives),
3184 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3185 (mountpoints_changed), (mounts_changed),
3186 (g_unix_volume_monitor_init),
3187 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3188 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3189 * gunixvolumemonitor.h:
3190 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3191 (g_volume_mount), (g_volume_mount_finish):
3193 * gvolumemonitor.c: (g_volume_monitor_class_init),
3194 (g_volume_monitor_get_connected_drives),
3195 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3198 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3200 * gmountoperation.h (GPasswordFlags): Close the gap
3202 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3204 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3206 * gdesktopappinfo.[hc]: Remove _-prefixes
3208 2007-12-10 Tor Lillqvist <tml@novell.com>
3210 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3213 2007-12-10 Alexander Larsson <alexl@redhat.com>
3215 * gfile.c (g_file_set_display_name):
3216 Don't hardcode '/' (#502727)
3218 2007-12-09 Hans Breuer <hans@breuer.org>
3220 * makefile.msc : follow lib naming convention
3221 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3222 for user and group name, tested with ../tests/gio-ls
3224 2007-12-09 A. Walton <awalton@svn.gnome.org>
3226 * gdesktopappinfo.c:
3232 * gfileenumerator.c:
3237 * gmemoryinputstream.c:
3238 * gmemoryoutputstream.c:
3240 * gsimpleasyncresult.c:
3241 More documentation cleanup and filling in missing information, bringing
3242 GIO to 99% symbol coverage.
3244 2007-12-08 Hans Breuer <hans@breuer.org>
3246 [gio compiles and links on win32, not sure how much already works]
3247 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3248 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3249 base on win32 API; prefer g_lstat() over lstat(); instead of
3250 localtime_r() use an all GLib implementation on win32;
3251 get_mount_info() still needs a win32 specifc implementation
3252 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3253 win32_get_file_user_info to get owner/group info without uid/gid
3254 * glocalfileinputstream.c : include <io.h> on win32
3255 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3256 definition, use g_win32_ftruncate() for G_OS_WIN32
3257 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3258 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3259 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3260 * makefile.msc : updated
3262 2007-12-07 Alexander Larsson <alexl@redhat.com>
3264 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3265 Avoid warning spew if error == NULL
3267 2007-12-07 Alexander Larsson <alexl@redhat.com>
3270 Update docs wrt etags
3272 2007-12-06 Alexander Larsson <alexl@redhat.com>
3275 Include sys/types.h for dev_t (#501919)
3277 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3281 Make abicheck and pltcheck pass.
3283 2007-12-05 Alexander Larsson <alexl@redhat.com>
3286 * giomodule-priv.h: Added.
3287 * glocaldirectorymonitor.c:
3288 * glocalfilemonitor.c:
3289 * gunionvolumemonitor.c:
3291 Actually add the declaration of _g_io_modules_ensure_loaded
3293 2007-12-05 Alexander Larsson <alexl@redhat.com>
3295 * gdatainputstream.c:
3300 * glocaldirectorymonitor.c:
3301 * glocalfilemonitor.c:
3302 * gunionvolumemonitor.c:
3304 Make g_io_modules_ensure_loaded a private function and
3305 don't pass in the dirname. This means we can do magic
3306 directory finding in the win32 version.
3307 Export the actual load-modules-in-directory code so that
3308 gvfs can reuse that.
3310 2007-12-05 Alexander Larsson <alexl@redhat.com>
3312 * gbufferedinputstream.c:
3313 * gbufferedoutputstream.c:
3316 * gfileenumerator.[ch]:
3317 * gfileinputstream.c:
3318 * gfileoutputstream.[ch]:
3319 * gfilterinputstream.c:
3320 * gfilteroutputstream.c:
3321 * ginputstream.[ch]:
3323 * glocalfileenumerator.c:
3324 * glocalfileinputstream.c:
3325 * glocalfileoutputstream.c:
3326 * gmemoryinputstream.c:
3327 * gmemoryoutputstream.c:
3328 * goutputstream.[ch]:
3331 * gunixinputstream.c:
3332 * gunixoutputstream.c:
3333 Rename all struct members named:
3334 read, write, close, truncate, or mount
3335 to foo_fn, as these are reserved names
3336 and could be defined as macros in libc.
3339 2007-12-04 Alexander Larsson <alexl@redhat.com>
3342 (g_output_stream_close):
3343 Only call flush if non-null.
3345 2007-11-30 Dan Winship <danw@gnome.org>
3347 * ginputstream.c (g_input_stream_set_pending): Make this take a
3348 GError and return a gboolean, and do the "outstanding operation"
3349 check (and the "stream is already closed" check) itself.
3350 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3352 * goutputstream.c (g_output_stream_set_pending)
3353 (g_output_stream_clear_pending): Likewise
3355 * gbufferedinputstream.c:
3356 * gfileinputstream.c:
3357 * gfileoutputstream.c: Update for that
3359 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3360 Like g_simple_async_report_error_in_idle, but takes a GError
3361 rather than building one.
3363 2007-11-30 Dan Winship <danw@gnome.org>
3365 * goutputstream.c: Don't cheat and unset the "pending" flag around
3366 inner calls. Instead, call the class method directly rather than
3367 the wrapper function that checks "pending"
3369 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3371 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3373 2007-12-03 Hans Breuer <hans@breuer.org>
3375 [start of port to win32/msvc]
3376 * gcancellable.c : HAVE_UNIST_H and _pipe()
3377 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3378 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3379 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3381 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3382 * glocalvfs.c : use HAVE_PWD_H
3383 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3384 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3385 * Makefile.am : added to EXTRA_DIST
3387 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3389 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3392 2007-12-03 Alexander Larsson <alexl@redhat.com>
3395 Handle OSX style xattrs API (#500506)
3397 2007-12-03 Alexander Larsson <alexl@redhat.com>
3401 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3403 2007-12-02 A. Walton <awalton@svn.gnome.org>
3407 Documentation accuracy fixes.
3409 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3411 * gioenumtypes.c.template: Fix typo.
3413 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3415 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3417 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3419 * gdirectorymonitor.c:
3420 * gfilemonitor.c: Add properties
3422 * gbufferedoutputstream.c: Don't mark buffer-size property
3425 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3427 * gbufferedoutputstream.c: Add auto-grow property.
3429 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3431 * *.c: Unify the capitalization of section headings.
3433 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3435 * gmountoperation.c: Add properties
3437 * gdatainputstream.c: Turn byte-order and newline-type into
3440 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3442 * gioenumtypes.[hc].template: Templates for enum registration
3444 * Makefile.am: Generate gioenumtypes.[hc]
3446 * gio.h: Include gioenumtypes.h
3448 * gfile.h: Add some explicit nicks.
3450 * gio.symbols: Add new symbols
3452 * pltcheck.sh: Adjust
3454 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3456 * *.c: Explain etags and link to the explanation
3458 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3460 * *.c: Explain I/O priority.
3462 * *.c: More coding style fixes.
3464 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3466 * gasyncresult.c: Add another paragraph to the intro,
3467 adjust coding style of example.
3469 2007-11-29 A. Walton <awalton@svn.gnome.org>
3472 Fixes unknown meaning in GAppLaunchContext docs.
3474 Clarify asynchronous ops.
3476 Fix entity tag docs.
3479 Provides missing gtk-doc section, fixes API docs slighly.
3480 * gsimpleasyncresult.c:
3481 Fill in missing info in docs.
3482 * gunixinputstream.c:
3483 * gunixoutputstream.c:
3484 Be more expressive in short description.
3486 Remove gtk-doc stubs for non-public API.
3488 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3490 * *.c: Coding style fixups
3492 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3494 * inotify/inotify-helper.c: Don't export the lock from libgio.
3496 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3499 * abicheck.sh: Fix copy-and-paste leftovers
3501 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3503 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3505 2007-11-28 Alexander Larsson <alexl@redhat.com>
3509 Removed unnecessary file
3511 * gdesktopappinfo.[ch]:
3514 * glocaldirectorymonitor.[ch]:
3516 * glocalfileenumerator.[ch]:
3517 * glocalfileinputstream.[ch]:
3518 * glocalfilemonitor.[ch]:
3519 * glocalfileoutputstream.[ch]:
3521 * gnativevolumemonitor.c:
3522 * gpollfilemonitor.[ch]:
3523 * gunionvolumemonitor.[ch]:
3526 * gunixvolumemonitor.[ch]:
3529 * inotify/ginotifydirectorymonitor.[ch]:
3530 * inotify/ginotifyfilemonitor.[ch]:
3531 * inotify/inotify-helper.c:
3532 Append _ to all internal functions
3536 Export symbols needed for modules
3538 2007-11-28 Alexander Larsson <alexl@redhat.com>
3541 * abicheck.sh: Added.
3542 * makegioalias.pl: Added.
3543 * pltcheck.sh: Added.
3544 * gio.symbols: Added.
3547 Initial work on adding symbol handling.
3550 Correct ifdef guard name
3553 * inotify/Makefile.am:
3554 * xdgmime/Makefile.am:
3555 Include toplevel Makefile.decl
3557 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3559 * gcontenttype.c: Move doc comments to the unix section.
3561 * *.[hc]: More trivial doc corrections.
3563 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3565 * gpollfilemonitor.c:
3569 * gdesktopappinfo.c:
3574 * gdatainputstream.c:
3575 * gdatainputstream.h:
3576 * gdataoutputstream.c:
3577 * gdataoutputstream.h:
3578 * gfileinfo.h: Doc cleanups
3580 2007-11-28 Andre Klapper <a9016009@gmx.de>
3582 * gdesktopappinfo.c: Fix a typo.
3584 2007-11-27 Andre Klapper <a9016009@gmx.de>
3586 * glocalfileoutputstream.c: Fix a typo.
3588 2007-11-27 Alexander Larsson <alexl@redhat.com>
3591 Don't include removed headers
3593 2007-11-27 Alexander Larsson <alexl@redhat.com>
3596 * gsocketinputstream.[ch]: Removed.
3597 * gsocketoutputstream.[ch]: Removed.
3598 * gunixinputstream.[ch]: Added.
3599 * gunixoutputstream.[ch]: Added.
3600 Renamed GSocket*Stream to GUnix*Stream and made
3601 it unix-only, since its not really only for sockets
3602 and it only works on unix (but is highly useful there).
3604 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3610 * gbufferedinputstream.c:
3611 * gbufferedinputstream.h:
3612 * gbufferedoutputstream.c:
3613 * gbufferedoutputstream.h:
3617 * gdatainputstream.c:
3618 * gdatainputstream.h:
3619 * gdataoutputstream.c:
3620 * gdataoutputstream.h:
3621 * gdirectorymonitor.c:
3622 * gdirectorymonitor.h:
3629 * gfileenumerator.c:
3630 * gfileenumerator.h:
3635 * gfileinputstream.c:
3636 * gfileinputstream.h:
3639 * gfilenamecompleter.c:
3640 * gfilenamecompleter.h:
3641 * gfileoutputstream.c:
3642 * gfileoutputstream.h:
3643 * gfilterinputstream.c:
3644 * gfilterinputstream.h:
3645 * gfilteroutputstream.c:
3646 * gfilteroutputstream.h:
3659 * glocalfileoutputstream.c:
3660 * gmemoryinputstream.c:
3661 * gmemoryinputstream.h:
3662 * gmemoryoutputstream.c:
3663 * gmemoryoutputstream.h:
3664 * gmountoperation.c:
3665 * gmountoperation.h:
3668 * gpollfilemonitor.c:
3671 * gsimpleasyncresult.c:
3672 * gsimpleasyncresult.h:
3673 * gsocketinputstream.c:
3674 * gsocketinputstream.h:
3675 * gsocketoutputstream.c:
3676 * gsocketoutputstream.h:
3683 * gunixvolumemonitor.c:
3692 Bumps documentation to 93% symbol coverage, touching most
3693 of the public files. Fixes broken function documentation prototypes.
3694 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3695 gtk-doc headers in private files.
3697 2007-11-27 Jürg Billeter <j@bitron.ch>
3699 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3700 (g_buffered_input_stream_read_byte):
3701 * gbufferedinputstream.h:
3702 New functions for efficient access to buffer and simple single byte
3705 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3706 (g_data_input_stream_read_until):
3707 * gdatainputstream.h:
3708 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3709 read_until with multiple stop chars.
3711 2007-11-27 Alexander Larsson <alexl@redhat.com>
3715 * inotify/Makefile.am:
3716 Use the user-specified giomoduledir
3718 2007-11-27 Alexander Larsson <alexl@redhat.com>
3722 Add catch-all gio.h header
3723 Don't install gdummyfile.h
3725 2007-11-26 Alexander Larsson <alexl@redhat.com>
3727 * Makefile.am (gioinclude_HEADERS):
3728 Remove trailing whitespace
3730 2007-11-26 Alexander Larsson <alexl@redhat.com>
3732 Merge gio-standalone into glib
3734 2007-11-25 Christian Kellner <gicmo@gnome.org>
3736 * gio/goutputstream.c:
3737 Fix small mistake in the docs.
3739 2007-11-21 Christian Persch <chpe@gnome.org>
3741 * gio/glocalfile.c: (g_local_file_trash):
3742 Convert filenames to UTF-8 for GError.
3743 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3744 as per xdg base dir spec.
3746 2007-11-21 Christian Persch <chpe@gnome.org>
3748 * gio/gdesktopappinfo.c:
3749 Use that g_key_file_to_data cannot fail.
3751 Use stock defines for the key file group and key names.
3754 2007-11-21 Alexander Larsson <alexl@redhat.com>
3757 (copy_stream_with_progress):
3758 Make sure we do a final progress callback with
3759 the full total size.
3761 2007-11-21 Alexander Larsson <alexl@redhat.com>
3764 Export g_file_copy_attributes
3765 Remove padding as its not needed for interfaces
3767 2007-11-20 Alexander Larsson <alexl@redhat.com>
3772 Add G_IO_ERROR_WOULD_MERGE for
3773 copy/move dir on dir with overwrite.
3775 2007-11-20 Alexander Larsson <alexl@redhat.com>
3778 * gio/glocalfileinfo.c:
3779 Add COPY_NAME (this is an optional
3780 non-modified utf8 version of the name) that
3783 2007-11-20 Alexander Larsson <alexl@redhat.com>
3785 * gio/glocalfileenumerator.c:
3786 Report errors as GIOError, not GFileError
3788 2007-11-16 Alexander Larsson <alexl@redhat.com>
3790 * gio/glocalfileoutputstream.c:
3791 * gio/gwin32appinfo.c:
3792 Fix typos in strings.
3793 Patch from Luca Ferretti <elle.uca@libero.it>
3795 2007-11-15 Alexander Larsson <alexl@redhat.com>
3798 Post release version bump
3800 === gio-standalone 0.1.2 ===
3802 2007-11-15 Alexander Larsson <alexl@redhat.com>
3804 * docs/reference/gio/Makefile.am:
3805 Fix up distcheck by removing weird
3811 2007-11-14 Alexander Larsson <alexl@redhat.com>
3813 * gio/gdesktopappinfo.c:
3814 * gio/glocaldirectorymonitor.c:
3816 * gio/glocalfileinfo.c:
3817 * gio/inotify/inotify-sub.c:
3818 * programs/gio-cat.c:
3819 * programs/gio-copy.c:
3820 * programs/gio-info.c:
3821 * programs/gio-ls.c:
3822 * programs/gio-monitor-dir.c:
3823 * programs/gio-monitor-file.c:
3824 * programs/gio-mount.c:
3825 * programs/gio-move.c:
3826 * programs/gio-rm.c:
3827 * programs/gio-save.c:
3828 * programs/gio-trash.c:
3829 Leak fixes from Kjartan Maraas
3831 2007-11-14 Alexander Larsson <alexl@redhat.com>
3833 * gio/fam/fam-helper.c:
3835 * gio/glocalfileinfo.c:
3839 * gio/inotify/inotify-diag.c:
3840 * gio/inotify/inotify-kernel.c:
3841 Various code cleanups from Kjartan Maraas
3843 2007-11-14 Alexander Larsson <alexl@redhat.com>
3845 * gio/gioscheduler.c:
3847 Set up threadpool so that we cache 2 unused
3848 idle threads for at 15 secs. This means we
3849 will reuse thread-local data (like dbus connections)
3852 2007-11-14 Alexander Larsson <alexl@redhat.com>
3854 * gio/fam/fam-helper.c:
3855 * gio/fam/gfamdirectorymonitor.c:
3856 * gio/fam/gfamfilemonitor.c:
3858 * gio/gcontenttype.c:
3859 * gio/gdatainputstream.c:
3860 * gio/gdataoutputstream.c:
3864 * gio/gfileattribute.h:
3865 * gio/gfileenumerator.c:
3867 * gio/ginputstream.c:
3870 * gio/glocalfileinfo.c:
3871 * gio/goutputstream.c:
3872 * gio/gpollfilemonitor.c:
3873 * gio/gsimpleasyncresult.c:
3874 * gio/gunixmounts.c:
3875 * gio/gunixmounts.h:
3876 * gio/inotify/ginotifydirectorymonitor.c:
3877 * gio/inotify/ginotifyfilemonitor.c:
3878 * gio/inotify/inotify-diag.c:
3879 * gio/inotify/inotify-kernel.c:
3880 * gio/inotify/inotify-path.c:
3882 * gio/test-streams.c:
3883 * programs/gio-info.c:
3884 * programs/gio-monitor-dir.c:
3885 * programs/gio-monitor-file.c:
3886 Various code cleanups from Kjartan Maraas
3888 2007-11-13 Alexander Larsson <alexl@redhat.com>
3891 Handle the uri-scheme calls for dummy files
3893 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3895 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3896 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3897 to avoid clash with the C++ keyword.
3899 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3901 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3902 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3904 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3906 * gio/glocaldirectorymonitor.c:
3907 * gio/glocalfilemonitor.c:
3908 * gio/gunionvolumemonitor.c:
3909 Don't use g_once_init_*() for initializations that could fail and
3910 could leave the initialization variable set to 0 but use GOnce.
3911 This prevents a deadlock on the second call when trying to create
3912 a monitor and no monitor type is available. Thanks to Sven Herzberg
3915 2007-11-11 Sven Herzberg <sven@imendio.com>
3917 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3918 #ifdef (make it work on MacOS X again)
3920 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3922 Fixes Changelog for last two commits (sorry guys).
3924 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3926 * gio/gbufferedinputstream.c:
3927 * gio/gdatainputstream.c:
3929 * gio/gfileoutputstream.c:
3930 * gio/gfilterinputstream.c:
3931 * gio/glocalfileinputstream.c:
3934 More consistency fixes in g*stream.c files.
3935 Significant clean of gfile's documentation, filling in of
3936 asynchronous operations documentation.
3938 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3940 * gio/gasyncresult.c:
3941 * gio/gbufferedinputstream.c:
3942 * gio/gbufferedoutputstream.c:
3943 * gio/gcancellable.c:
3944 * gio/gcontenttype.c:
3945 * gio/gdatainputstream.c:
3946 * gio/gdataoutputstream.c:
3947 * gio/gdesktopappinfo.c:
3950 * gio/gfileattribute.c:
3951 * gio/gio/gfileenumerator.c:
3953 * gio/gfileinputstream.c:
3954 * gio/gfilemonitor.c:
3955 * gio/gfileoutputstream.c:
3956 * gio/ginputstream.c:
3958 * gio/gioscheduler.c:
3959 * gio/gloadableicon.c:
3960 * gio/glocalfileoutputstream.c:
3961 * gio/gmemoryoutputstream.c:
3962 * gio/gmountoperation.c:
3963 * gio/goutputstream.c:
3965 * gio/gsimpleasyncresult.c:
3966 * gio/gunionvolumemonitor.c:
3967 * gio/gunixmounts.c:
3968 * gio/gunixvolume.c:
3972 * gio/gvolumemonitor.c:
3973 Updated documentation stubs, working towards consistency and
3976 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3978 * gio/gmemoryoutputstream.c:
3979 * gio/gmemoryoutputstream.h:
3980 Change g_memory_output_stream_set_free_on_close() to
3981 g_memory_output_stream_set_free_data() as this makes more sense and
3982 is more consistent with GMemoryInputStream.
3984 2007-11-07 Alexander Larsson <alexl@redhat.com>
3991 Change how we find the default vfs so that
3992 we can handle a gvfs failing to init
3994 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3996 * gio/gbufferedoutputstream.c:
3997 * gio/gdatainputstream.c:
3998 * gio/gdataoutputstream.c:
3999 * gio/gfileinputstream.c:
4000 * gio/gfileoutputstream.c:
4001 * gio/gfilterinputstream.c:
4002 * gio/gfilteroutputstream.c:
4003 * gio/ginputstream.c:
4004 * gio/gmemoryinputstream.c:
4005 * gio/gmemoryoutputstream.c:
4006 * gio/goutputstream.c:
4007 * gio/gsimpleasyncresult.c:
4008 * gio/gsocketinputstream.c:
4009 * gio/gsocketoutputstream.c:
4010 Add guards to the remaining public functions, add a TODO for
4011 an unimplemented function and remove some useless guards.
4013 2007-11-07 Alexander Larsson <alexl@redhat.com>
4016 Autoconf checks for the various types of
4017 getpwuid_r and getgrgid_r
4019 * gio/glocalfileinfo.c:
4020 Use the autoconf checks from above
4022 2007-11-07 Alexander Larsson <alexl@redhat.com>
4025 (g_local_file_query_filesystem_info):
4026 Some fixes for the statvfs case
4028 2007-11-07 Alexander Larsson <alexl@redhat.com>
4031 (g_local_file_query_filesystem_info):
4032 Pick the "best" of statfs / statvfs for the system
4033 if both are availible.
4035 2007-11-07 Alexander Larsson <alexl@redhat.com>
4037 Solaris fixes from Halton.Huo@Sun.COM:
4044 * gio/glocalfileinfo.c:
4045 Fix for solaris definition of getpwuid_r
4047 * gio/test-streams.c:
4048 Use G_GNUC_PRETTY_FUNCTION
4050 2007-11-07 Alexander Larsson <alexl@redhat.com>
4052 * gio/gdesktopappinfo.c:
4053 (update_default_list):
4054 Remove double semicolon.
4055 Patch from Jens Granseuer
4057 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4059 * docs/reference/gio/gio-sections.txt:
4060 * gio/gbufferedinputstream.c:
4061 * gio/gbufferedinputstream.h:
4062 * gio/gdatainputstream.c:
4063 * gio/gfileenumerator.c:
4064 * gio/gioscheduler.c:
4065 * gio/gunionvolumemonitor.c:
4067 * programs/gio-save.c:
4068 Fix typo: availible -> available. Unfortuntely this breaks API
4069 and ABI as g_buffered_input_stream_get_available() was renamed.
4071 * gio/gunixmounts.c:
4072 * gio/gbufferedinputstream.c:
4073 Add guards for public functions.
4075 2007-11-06 Ross Burton <ross@openedhand.com>
4077 * docs/reference/gio/Makefile.am:
4078 Fix invalid += usage which automake 1.10 doesn't like.
4080 2007-11-06 Alexander Larsson <alexl@redhat.com>
4083 (g_app_launch_context_class_init):
4086 Patch from Ross Burton
4088 2007-11-06 Alexander Larsson <alexl@redhat.com>
4091 Post release version bump
4093 === gio-standalone 0.1.1 ===
4095 2007-11-06 Alexander Larsson <alexl@redhat.com>
4098 Bump version to 0.1.1
4100 * gio/gsimpleasyncresult.c:
4101 (g_simple_async_result_set_from_error):
4102 Remove bogus g_return_if_fail
4104 2007-11-06 Alexander Larsson <alexl@redhat.com>
4107 The name is gio-standalone
4110 Add top src/builddir to includedir
4112 2007-11-06 Alexander Larsson <alexl@redhat.com>
4114 * docs/reference/gio/gio-sections.txt:
4116 * gio/gbufferedinputstream.c:
4117 * gio/gbufferedoutputstream.c:
4118 * gio/gcancellable.c:
4119 * gio/gdatainputstream.h:
4120 * gio/gdataoutputstream.c:
4121 * gio/gdataoutputstream.h:
4122 * gio/gdirectorymonitor.c:
4124 * gio/gfileattribute.c:
4125 * gio/gfileattribute.h:
4126 * gio/gfileenumerator.c:
4127 * gio/gfileenumerator.h:
4130 * gio/gfileinputstream.h:
4131 * gio/gfilemonitor.c:
4132 * gio/gfileoutputstream.h:
4133 * gio/glocalfilemonitor.h:
4134 * gio/glocalfileoutputstream.h:
4135 * gio/gmemoryinputstream.c:
4136 * gio/gmemoryoutputstream.c:
4137 * gio/gmountoperation.c:
4138 * gio/goutputstream.c:
4139 * gio/goutputstream.h:
4141 * gio/gsimpleasyncresult.c:
4142 * gio/gunixmounts.c:
4143 * gio/gunixmounts.h:
4145 * gio/inotify/inotify-helper.c:
4146 Fix gtk-doc warnings
4148 Patch from Ross Burton
4150 2007-11-06 Alexander Larsson <alexl@redhat.com>
4152 * gio/gfilenamecompleter.c:
4153 (g_filename_completer_get_completions):
4156 * gio/gunixvolume.c:
4157 Remove unused function
4159 Patches from Ross Burton
4161 2007-11-06 Alexander Larsson <alexl@redhat.com>
4166 Padding not needed for interfaces
4168 2007-11-06 Alexander Larsson <alexl@redhat.com>
4170 * gio/gfilemonitor.c:
4174 Make giotypes.h an internal file
4177 * gio/gbufferedinputstream.h:
4178 * gio/gbufferedoutputstream.h:
4179 * gio/gcancellable.h:
4180 * gio/gdatainputstream.h:
4181 * gio/gdataoutputstream.h:
4182 * gio/gdirectorymonitor.c:
4183 * gio/gdirectorymonitor.h:
4188 * gio/gfileattribute.h:
4189 * gio/gfileenumerator.h:
4194 * gio/gfilemonitor.c:
4195 * gio/gfilemonitor.h:
4196 * gio/gfilenamecompleter.c:
4197 * gio/gfilenamecompleter.h:
4198 * gio/gfilterinputstream.h:
4199 * gio/gfilteroutputstream.h:
4200 * gio/ginputstream.h:
4201 * gio/gmemoryinputstream.h:
4202 * gio/gmemoryoutputstream.h:
4203 * gio/gmountoperation.c:
4204 * gio/gmountoperation.h:
4205 * gio/gnativevolumemonitor.c:
4206 * gio/goutputstream.h:
4209 * gio/gsimpleasyncresult.c:
4210 * gio/gsimpleasyncresult.h:
4211 * gio/gsocketinputstream.h:
4212 * gio/gsocketoutputstream.h:
4213 * gio/gthemedicon.c:
4214 * gio/gthemedicon.h:
4218 * gio/gvolumemonitor.c:
4219 * gio/gvolumemonitor.h:
4220 Add padding in classes where it seems useful
4221 Don't include giotypes.h from public headers
4222 Move in Class definitions into c file where possible
4227 2007-11-06 Alexander Larsson <alexl@redhat.com>
4229 * docs/reference/gio/gio-docs.xml:
4230 Better structure for API docs
4232 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4235 * gio/gloadableicon.c:
4236 * gio/gsimpleasyncresult.c:
4237 * gio/gthemedicon.c:
4238 Add some more guards to public functions. Only files missing are now
4241 2007-11-06 Alexander Larsson <alexl@redhat.com>
4243 * docs/reference/gio/gio-docs.xml:
4244 Remove old files, add missing ones
4246 2007-11-06 Alexander Larsson <alexl@redhat.com>
4248 * docs/reference/gio/gio-sections.txt:
4251 Hide implementation classes
4253 * gio/gdriveprivate.h:
4254 * gio/gvolumeprivate.h:
4255 Remove non-existing function declarations
4257 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4260 Fix compilation warnings and add guards to the new functions.
4262 * gio/gasyncresult.c:
4264 Add guards to the public functions.
4267 Implement get_path().
4269 2007-11-06 Alexander Larsson <alexl@redhat.com>
4271 * gio/gfilenamecompleter.c:
4272 Make g_filename_completer_get_completions
4273 return char ** instead of GList for
4276 * docs/reference/gio/gio-docs.xml:
4277 * docs/reference/gio/gio-sections.txt:
4279 * gio/gasyncresult.c:
4280 * gio/gbufferedinputstream.c:
4281 * gio/gbufferedoutputstream.c:
4282 * gio/gcancellable.c:
4283 * gio/gcontenttype.c:
4284 * gio/gdatainputstream.c:
4285 * gio/gdataoutputstream.c:
4286 * gio/gdesktopappinfo.c:
4287 * gio/gdirectorymonitor.c:
4291 * gio/gfileattribute.c:
4292 * gio/gfileenumerator.c:
4295 * gio/gfileinputstream.c:
4296 * gio/gfilemonitor.c:
4297 * gio/gfilenamecompleter.c:
4298 * gio/gfilenamecompleter.h:
4299 * gio/gfileoutputstream.c:
4300 * gio/gfilterinputstream.c:
4302 * gio/ginputstream.c:
4304 * gio/gioscheduler.c:
4305 * gio/gloadableicon.c:
4306 * gio/glocaldirectorymonitor.c:
4308 * gio/glocalfileinputstream.c:
4309 * gio/glocalfilemonitor.c:
4310 * gio/glocalfileoutputstream.c:
4312 * gio/gmemoryinputstream.c:
4313 * gio/gmemoryoutputstream.c:
4314 * gio/gmountoperation.c:
4315 * gio/goutputstream.c:
4316 * gio/gpollfilemonitor.c:
4318 * gio/gsimpleasyncresult.c:
4319 * gio/gsocketinputstream.c:
4320 * gio/gsocketoutputstream.c:
4321 * gio/gthemedicon.c:
4322 * gio/gunionvolumemonitor.c:
4324 * gio/gunixmounts.c:
4325 * gio/gunixvolume.c:
4326 * gio/gunixvolumemonitor.c:
4330 * gio/gvolumemonitor.c:
4331 * gio/gwin32appinfo.c:
4332 Add (mostly stub) doc strings to public functions.
4333 Patch from Andrew Walton (awalton@gmail.com)
4335 2007-11-06 Alexander Larsson <alexl@redhat.com>
4337 * gio/gappinfo.[ch]:
4338 Added GAppLaunchContext object and pass that to launch.
4339 This allows simple implementation of both
4340 launch-on-screen and startup notification via a gtk+
4341 subclass of GAppLaunchContext
4343 * gio/gdesktopappinfo.c:
4344 Implement GAppLaunchContext API
4346 * gio/gwin32appinfo.c:
4349 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4351 * gio/gmountoperation.c:
4352 Add some guards to GMountOperation's public functions.
4354 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4358 * gio/gcancellable.c:
4359 * gio/gdirectorymonitor.c:
4361 * gio/gfileenumerator.c:
4362 * gio/gfilemonitor.c:,
4363 * gio/gfilenamecompleter.c:
4366 * gio/gioscheduler.c:
4370 * gio/gvolumemonitor.c:
4371 Add even more guards to various public functions.
4373 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4376 Add guards to the public functions of GAppInfo.
4378 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4380 * gio/gcontenttype.c:
4381 Add some more guards for public functions.
4383 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4385 * gio/fam/fam-module.c:
4386 * gio/fam/gfamdirectorymonitor.c:
4387 * gio/fam/gfamdirectorymonitor.h:
4388 * gio/fam/gfamfilemonitor.c:
4389 * gio/fam/gfamfilemonitor.h:
4390 * gio/inotify/ginotifydirectorymonitor.c:
4391 * gio/inotify/ginotifydirectorymonitor.h:
4392 * gio/inotify/ginotifyfilemonitor.c:
4393 * gio/inotify/ginotifyfilemonitor.h:
4394 Add proper copyright information and remove an unused variable
4395 in the GInotifyFileMonitor constructor.
4397 * gio/gcancellable.c:
4398 Add a guard for a public function and an assertion to prevent
4399 an undefined program state.
4401 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4403 * gio/gfileattribute.c:
4404 Don't run into an assertion if the given attribute value is NULL
4405 in g_file_attribute_value_get_*() but instead return a fallback
4406 value that makes sense in most situations. Passing them a attribute
4407 value with the wrong type will still run into an assertion.
4409 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4411 * gio/gfileattribute.c:
4413 Add even more guards to the public functions. Also fix the refcounting
4414 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4415 let g_file_info_list_attributes() filter the attributes by namespace
4416 instead of simply ignoring the namespace parameter.
4418 2007-11-03 Sven Herzberg <sven@imendio.com>
4420 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4421 (This makes gio work on MacOS X again)
4423 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4426 Build the gio subdirectory before the docs. Otherwise the build will
4429 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4430 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4431 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4432 Add guards to the public functions.
4434 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4436 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4437 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4438 to prevent a compiler warning.
4440 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4441 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4442 return something in the non-void function find_topdir_for().
4444 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4451 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4453 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4454 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4455 * gwin32appinfo.c (g_win32_app_info_launch):
4456 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4457 envp_for_startup_id, g_desktop_app_info_launch,
4458 g_desktop_app_info_launch_uris):
4460 Give an opaque 'startup_id' string instead of 'envp'.
4461 Support empty file lists for launching new windows.
4462 Fix infinite recursion bug when launching URIs.
4464 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4467 Add guard to the new g_file_get_uri_scheme() function.
4469 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4472 Convert a g_return_val_if_fail() to setting the GError instead as
4473 otherwise applications have to verify the parameter before otherwise
4474 and the parameter might come directly from the user.
4476 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4478 * gio/inotify/ginotify*.[ch]:
4479 Add missing copyright information.
4481 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4484 Add guards in the beginning of public functions to check for valid
4485 parameters and fix a bug in copy_stream_with_progress() that could've
4486 caused writing less bytes than reading.
4487 * gio/glocalfileinfo.c:
4488 Check for a NULL parameter and set the GError accordingly then.
4489 * gio/goutputstream.c:
4490 Fix the same bug as in gfile.c that could've caused writing less bytes
4491 than reading in g_output_stream_real_splice().
4493 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4496 Use the correct gvolumeprivate.h naming
4498 2007-11-01 Christian Kellner <gicmo@gnome.org>
4501 Remove leftover "$(daemon_sources)" entry.
4503 2007-11-01 Christian Kellner <gicmo@gnome.org>
4508 Add copyright information to source files.
4510 2007-11-01 Alexander Larsson <alexl@redhat.com>
4514 Add g_file_get_uri_scheme
4516 2007-11-01 Alexander Larsson <alexl@redhat.com>
4519 * gio/gdesktopappinfo.c:
4520 * gio/gwin32appinfo.c:
4521 Add g_app_info_get_default_for_uri_scheme.
4523 2007-11-01 Alexander Larsson <alexl@redhat.com>
4526 Correct filename for gdriveprivate.h
4528 2007-10-31 Alexander Larsson <alexl@redhat.com>
4531 Rename id:value to id:file
4534 * gio/glocalfileinfo.c:
4537 2007-10-31 Alexander Larsson <alexl@redhat.com>
4539 * gio/gunixvolume.c:
4541 Remove g_volume_get_platform_id, as thats not
4542 needed with the simpler union volume monitor
4544 2007-10-31 Alexander Larsson <alexl@redhat.com>
4547 * gio/guniondrive.[ch]: Removed.
4548 * gio/gunionvolume.[ch]: Removed.
4549 Remove GUnionDrive/Volume
4551 * gio/gunionvolumemonitor.c:
4552 Simplify union volume monitor, now we
4553 only have one native volume monitor and
4554 we use the actual volumes/drives from the
4555 child monitors instead of wrapping them
4557 * gio/gnativevolumemonitor.[ch]:
4558 Base class for native volume monitors.
4559 Includes priority and get_volume_for_mountpoint
4562 Add g_file_find_enclosing_volume
4565 Remove volume name fs attribute
4566 Add readonly fs attribute
4569 Implement readonly attribute
4570 remove volume name attribute
4571 Implement find_enclosing volume
4573 * gio/gunixmounts.c:
4574 Add a volume for "/".
4576 * gio/gunixvolume.[ch]:
4577 Set better name for /
4579 * gio/gunixvolumemonitor.[ch]:
4580 Derive from GNativeVolumeMonitor
4581 Implement get_volume_for_mountpoint
4584 GVolume typedef moved to gfile.h
4586 * gio/gvolumeprivate.h:
4587 Add g_volume_get_for_mount_path
4589 2007-10-31 Alexander Larsson <alexl@redhat.com>
4591 * gio/gunixmounts.[ch]:
4592 Add cache info to unix mount listers
4593 Make getmntent use threadsafe
4594 Add is_system_internal attribute for GUnixMount
4596 * gio/gunixvolume.c:
4597 (g_unix_volume_new):
4598 Use is_system_internal instead of own code
4600 * gio/glocaldirectorymonitor.c:
4601 * gio/gunixvolumemonitor.c:
4602 Update to new gunixmounts API
4607 2007-10-30 Alexander Larsson <alexl@redhat.com>
4610 Add volume name fsinfo attribute
4613 Read volume name info
4615 * gio/gunionvolumemonitor.c:
4616 Fix infinite loops when finalizing a union volume monitor
4618 2007-10-30 Alexander Larsson <alexl@redhat.com>
4620 * gio/goutputstream.[ch]:
4621 Add splice() with default implementation
4623 * gio/gsocketoutputstream.c:
4624 (g_socket_output_stream_write):
4625 Return error on cancellation correctly.
4627 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4629 * gio/glocalfile.c (g_local_file_trash):
4630 Do not leak a string.
4632 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4634 * gio/gfile.c (g_file_load_contents):
4635 Unref the stream after closing it.
4637 2007-10-25 Alexander Larsson <alexl@redhat.com>
4639 * gio/gioscheduler.h:
4642 2007-10-25 Alexander Larsson <alexl@redhat.com>
4646 Add g_file_has_uri_scheme and implement for local files
4648 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4650 * gio/gdesktopappinfo.c: do not leak a string.
4652 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4654 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4655 (g_local_directory_monitor_new):
4656 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4657 (g_local_file_monitor_new):
4658 Only look for the monitor type that should be used the first time
4659 and use g_qsort_with_data() instead of our own bubble sort
4662 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4665 * gio/fam/Makefile.am:
4666 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4667 * gio/fam/fam-helper.h:
4668 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4669 * gio/fam/gfamdirectorymonitor.c:
4670 * gio/fam/gfamdirectorymonitor.h:
4671 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4672 * gio/fam/gfamfilemonitor.h:
4673 * gio/glocaldirectorymonitor.c:
4674 * gio/glocaldirectorymonitor.h:
4675 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4676 * gio/glocalfilemonitor.h:
4677 * gio/inotify/Makefile.am:
4678 * gio/inotify/ginotifydirectorymonitor.c:
4679 * gio/inotify/ginotifydirectorymonitor.h:
4680 * gio/inotify/ginotifyfilemonitor.c:
4681 * gio/inotify/ginotifyfilemonitor.h:
4682 Implement the FAM and Inotify monitors as
4683 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4684 their own GIO module. GLocal(Directory|File)Monitor will use the
4685 monitor with the highest rank that is supported on that machine.
4687 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4690 Change GIO module dir to $(libdir)/gio/modules and change
4691 the log domain from GVFS to GIO. Also only export symbols starting
4692 with g_ in the resulting library.
4693 * gio/test-streams.c: (main):
4694 Set log handler for the GIO log domain.
4696 2007-10-22 Alexander Larsson <alexl@redhat.com>
4698 * gio/gfilenamecompleter.[ch]:
4699 Add g_filename_completer_set_dirs_only
4701 2007-10-22 Alexander Larsson <alexl@redhat.com>
4704 * gio/gurifuncs.[ch]:
4705 Add some simple URI helpers
4707 * gio/gfilenamecompleter.[ch]:
4708 Added object for filename (parse name actually) completion
4711 Handle ~ in parse names
4713 2007-10-17 Alexander Larsson <alexl@redhat.com>
4716 * gio/glocalfileinfo.c:
4717 Add and implement id:value attribute
4719 2007-10-17 Alexander Larsson <alexl@redhat.com>
4722 * gio/guniondrive.c:
4724 Add and implement g_drive_has_volumes
4726 2007-10-17 Alexander Larsson <alexl@redhat.com>
4729 * gio/glocalfileinfo.[ch]:
4730 Add unix:is_mountpoint and implement for local files
4732 2007-10-16 Alexander Larsson <alexl@redhat.com>
4734 * gio/gunionvolumemonitor.c:
4735 (g_union_volume_monitor_init):
4736 Fix up the unix type getting so that it works with gcc
4738 2007-10-12 Alexander Larsson <alexl@redhat.com>
4741 * gio/glocalfileinfo.c:
4742 Add thumbnail:failed to file info
4744 2007-10-12 Richard Hult <richard@imendio.com>
4746 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4747 optimizing away the get_type call (happens with some gcc versions,
4748 like the one shipped with OS X 10.4).
4750 2007-10-12 Alexander Larsson <alexl@redhat.com>
4752 * gio/glocalfileinfo.c:
4753 (_g_local_file_info_set_attribute):
4754 Fix build if not HAVE_XATTR
4755 Patch from Milosz Derezynski <internalerror@gmail.com>
4757 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4759 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4760 around for review, otherwise I would have asked you before
4763 2007-10-11 Alexander Larsson <alexl@redhat.com>
4766 Add thumbnail:path attribute
4768 * gio/glocalfileinfo.c:
4769 Implement thumbnail:path for local files
4771 2007-10-11 Alexander Larsson <alexl@redhat.com>
4773 * gio/glocalfileinfo.c:
4774 (_g_local_file_info_get):
4775 Avoid duplicate icon names
4777 2007-10-11 Alexander Larsson <alexl@redhat.com>
4779 * gio/gthemedicon.[ch]:
4780 Change g_themed_icon_get_names return type to const
4782 2007-10-10 Alexander Larsson <alexl@redhat.com>
4784 * gio/glocalfileinfo.c:
4785 Don't reference freed memory
4787 2007-10-10 Alexander Larsson <alexl@redhat.com>
4789 * gio/gfileattribute.c:
4792 * gio/glocalfileinfo.c:
4795 2007-10-10 Alexander Larsson <alexl@redhat.com>
4798 Check for NULL icons
4800 * gio/gfileattribute.c:
4801 Don't dup when getting objects (same as for string attributes)
4803 * gio/gicon.c (g_icon_equal):
4804 Safely handle NULLs in equal
4806 2007-10-10 Alexander Larsson <alexl@redhat.com>
4809 Fix c++ compilation issues
4810 Patch from Milosz Derezynski <internalerror@gmail.com>
4812 2007-10-10 Alexander Larsson <alexl@redhat.com>
4814 * programs/gio-monitor-dir.c:
4815 Don't crash if dir monitor not supported.
4817 2007-10-09 Alexander Larsson <alexl@redhat.com>
4820 Add missing G_END_DECLS
4822 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4824 * gio/gfile.c: (g_file_set_display_name),
4825 (g_file_query_settable_attributes),
4826 (g_file_query_writable_namespaces):
4827 Return NULL not FALSE on errors as the return type is a pointer.
4829 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4831 * gio/glocalfile.c: (g_local_file_monitor_file):
4832 Don't call monitor_file on the default interface vtable (which
4833 is NULL) but simply return NULL. The caller, GFile, will create a
4834 polling monitor if NULL is returned.
4836 2007-10-09 Alexander Larsson <alexl@redhat.com>
4840 * gio-unix-2.0.pc.in:
4841 Add gio-unix-2.0.pc if OS_UNIX
4844 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4846 2007-10-09 Alexander Larsson <alexl@redhat.com>
4848 * gio/gunixmounts.[ch]:
4849 Make unix mount monitoring API sane.
4850 Now its just a object with mounts_changed
4851 and mountpoints_changed signals.
4853 * gio/glocaldirectorymonitor.c:
4854 * gio/gunixvolumemonitor.c:
4855 Use new mount monitor api
4857 2007-10-09 Alexander Larsson <alexl@redhat.com>
4859 * gio/gunixmounts.[ch]:
4860 Move guess type into one call for mounts and one for mountpoints
4863 * gio/gunixvolume.c:
4866 2007-10-09 Alexander Larsson <alexl@redhat.com>
4868 * gio/gunixmounts.[ch]:
4869 Remove _ prefix in preparation to make this semi-public
4870 Hide implementation of structs
4872 * gio/glocaldirectorymonitor.c:
4874 * gio/gunixvolume.c:
4875 * gio/gunixvolumemonitor.c:
4876 Update for above API changes
4878 2007-10-08 Alexander Larsson <alexl@redhat.com>
4881 Better polling fallback. This also handles the case where we have
4882 a monitor_file implementation, but it fails.
4884 2007-10-08 Alexander Larsson <alexl@redhat.com>
4888 * gio/gunixmounts.c:
4889 * programs/gio-monitor-dir.c:
4890 * programs/gio-monitor-file.c:
4891 Added cancellable to file monitoring calls.
4892 These are really sync calls and need this.
4894 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4896 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4897 (g_local_vfs_class_init):
4898 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4899 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4901 2007-10-05 Alexander Larsson <alexl@redhat.com>
4903 * gio/gdirectorymonitorprivate.h:
4904 * gio/gfilemonitorprivate.h:
4905 * gio/gdirectorymonitor.h:
4906 * gio/gfilemonitor.h:
4907 Remove *private.h and move to the public API, so that
4908 we can do implementations outside gio (such as in gvfs)
4910 * gio/gdirectorymonitor.c:
4911 * gio/gfilemonitor.c:
4912 * gio/glocaldirectorymonitor.c:
4913 * gio/gpollfilemonitor.c:
4914 * gio/inotify/inotify-helper.c:
4915 * gio/fam/fam-helper.c:
4916 Update to the new header names
4918 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4920 * gio/gdirectorymonitor.c:
4921 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4924 2007-10-04 Alexander Larsson <alexl@redhat.com>
4926 * gio/glocalfileinfo.c (get_access_rights):
4927 Set CAN_TRASH when we can move the file.
4928 We should really also check for a parent trash dir.
4930 2007-10-04 Alexander Larsson <alexl@redhat.com>
4932 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4933 Add can_trash access attribute
4935 2007-10-04 Alexander Larsson <alexl@redhat.com>
4938 (g_local_file_trash):
4939 Create info file first. This is per-spec and allows
4940 us to actually trash directories.
4942 2007-10-02 Alexander Larsson <alexl@redhat.com>
4944 * gio/gdesktopappinfo.c:
4945 Implement the new mime support code.
4946 Always set app as handling mimetype when being set as default for it
4948 2007-10-01 Alexander Larsson <alexl@redhat.com>
4950 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4951 Fix up check for xattrs:
4953 2007-10-01 Alexander Larsson <alexl@redhat.com>
4956 (g_app_info_set_as_default_for_extension):
4957 (g_app_info_add_supports_type):
4958 (g_app_info_can_remove_supports_type):
4959 (g_app_info_remove_supports_type):
4960 Make these fail nicely if not implemented
4962 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4964 * gio/glocalfileoutputstream.c:
4965 * gio/glocalfileoutputstream.h:
4970 * programs/gio-save.c:
4971 Add a GFileCreateFlags argument to operations that can create
4974 2007-10-01 Alexander Larsson <alexl@redhat.com>
4976 * gio/gappinfo.[ch]:
4977 * gio/gdesktopappinfo.c:
4978 Add more (stubbed out) mime API needed for nautilus
4980 2007-10-01 Alexander Larsson <alexl@redhat.com>
4983 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4984 Add g_app_info_set_as_default_for_extension.
4986 * gio/gdesktopappinfo.c:
4987 Dummy for g_app_info_set_as_default_for_extension
4988 Support flags in g_app_info_create_from_commandline
4990 * gio/gwin32appinfo.c:
4992 Update for API changes
4994 * gio/gthemedicon.c:
4995 Properly NULL-terminate list of icon names
4997 2007-09-28 Alexander Larsson <alexl@redhat.com>
4999 * gio/gloadableicon.h:
5000 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5002 2007-09-28 Alexander Larsson <alexl@redhat.com>
5005 Install headers in $includedir/gio-standalone/
5007 * gio-2.0.pc.in: Added.
5008 * gio-standalone.pc.in: Removed.
5011 Renamed pkg-config file to match glib (for future move)
5012 Update to the new include dir
5015 Add more TODO comments
5017 2007-09-28 Alexander Larsson <alexl@redhat.com>
5019 * gio/gdesktopappinfo.[ch]:
5020 Expose new_from_filename
5021 Add getter for is_hidden and handle it better
5023 2007-09-28 Alexander Larsson <alexl@redhat.com>
5025 * gio/gfileinfo.[ch]:
5026 Rename g_file_size_format_for_display to
5027 g_format_file_size_for_display.
5028 Now it doesn't have the g_file prefix, so we
5029 can later move it to glib.
5031 2007-09-28 Alexander Larsson <alexl@redhat.com>
5033 * gio/gappinfo.[ch]:
5034 Add g_app_info_get_id and g_app_info_get_executable.
5035 Make all getters non-reffing
5036 Make g_app_info_launch take GFile arguments.
5037 Add must_support_uris argument to g_app_info_get_default_for_type.
5039 * gio/gwin32appinfo.c:
5040 Update to GAppInfo api changes
5042 * gio/gdesktopappinfo.c:
5043 Update to GAppInfo api changes
5044 Implement supports_xdg_startup_notify
5046 * gio/gfileicon.c (g_file_icon_get_file):
5047 Make getter non-reffing.
5052 2007-09-27 Alexander Larsson <alexl@redhat.com>
5054 * gio/gfileinfo.[ch]:
5055 Add g_file_size_format_for_display helper
5057 2007-09-27 Alexander Larsson <alexl@redhat.com>
5059 * gio/glocalfileinfo.c:
5060 Set UNIX_GID from gid, not from uid
5062 2007-09-27 Alexander Larsson <alexl@redhat.com>
5065 Add g_file_set_attributes_async
5067 2007-09-27 Alexander Larsson <alexl@redhat.com>
5069 * gio/glocalfile.c (g_local_file_set_display_name):
5070 Fix set_display_name to actually rename to the right place.
5071 Use lstat to look for existing files so we don't overwrite
5074 2007-09-26 Alexander Larsson <alexl@redhat.com>
5077 Add g_file_set_display_name_async()
5079 2007-09-26 Alexander Larsson <alexl@redhat.com>
5082 Add load_partial_contents async calls
5085 Make internal function static
5087 2007-09-26 Alexander Larsson <alexl@redhat.com>
5089 * gio/glocalfileinfo.c:
5090 Correctly detect broken symlinks
5092 2007-09-26 Alexander Larsson <alexl@redhat.com>
5094 * gio/gcancellable.c (g_cancellable_cancel):
5095 Allow cancel on NULL cancellable
5097 2007-09-25 Alexander Larsson <alexl@redhat.com>
5099 * gio/gsimpleasyncresult.c:
5100 Don't allocate g_error manually.
5101 Fixes g_slice/g_new mixup crash
5103 2007-09-25 Alexander Larsson <alexl@redhat.com>
5105 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5106 Actually set active_backend.
5107 This means the monitor will be cancelled correctly.
5109 2007-09-25 Alexander Larsson <alexl@redhat.com>
5111 * gio/gdirectorymonitor.c:
5112 Set timeout to NULL when destroying
5114 2007-09-25 Alexander Larsson <alexl@redhat.com>
5117 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5118 that is a better description of the error.
5120 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5122 * gio/gvfs.c: (g_vfs_get_local):
5123 Make the local vfs variable static. The same instance should
5126 2007-09-24 Alexander Larsson <alexl@redhat.com>
5128 * gio/glocalfileinfo.c:
5129 Pass in actual length read into sniffer, not the length
5132 2007-09-21 Alexander Larsson <alexl@redhat.com>
5134 * gio/gfileenumerator.c:
5137 * gio/gfileinputstream.c:
5138 * gio/gfileoutputstream.c:
5139 * gio/ginputstream.c:
5140 * gio/goutputstream.c:
5141 Don't crash if async callbacks are NULL
5143 2007-09-20 Alexander Larsson <alexl@redhat.com>
5146 Add async enumerate_children method and default
5149 2007-09-20 Alexander Larsson <alexl@redhat.com>
5152 Add g_file_contains_file & g_file_get_relative_path, since they
5153 were needed for nautilus.
5154 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5159 Implement new methods
5161 2007-09-17 Alexander Larsson <alexl@redhat.com>
5164 * gio/gfileinputstream.[ch]:
5165 * gio/gfileoutputstream.[ch]:
5167 * gio/glocalfileenumerator.[ch]:
5168 * gio/glocalfileinfo.[ch]:
5169 * gio/glocalfileinputstream.c:
5170 * gio/glocalfileoutputstream.c:
5171 * gio/gpollfilemonitor.c:
5172 * programs/gio-copy.c:
5173 * programs/gio-info.c:
5174 * programs/gio-move.c:
5175 Rename get_file_info to query_info() to make it clearer
5176 that these are not simple getters, but do i/o.
5178 2007-09-17 Alexander Larsson <alexl@redhat.com>
5180 * gio/gdatainputstream.[ch]:
5181 * gio/test-streams.c:
5182 Use _read_XXX instead of _get_XXX for the i/o calls
5185 2007-09-17 Alexander Larsson <alexl@redhat.com>
5188 Added needed stuff to TODO comment
5190 2007-09-17 Alexander Larsson <alexl@redhat.com>
5192 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5193 Don't error out removing the backup copy if it doesn't
5196 2007-09-14 Alexander Larsson <alexl@redhat.com>
5198 * programs/Makefile.am:
5199 * programs/gvfs-*.c:
5201 Renamed apps from gvfs-xxx to gio-xxx.
5203 2007-09-14 Alexander Larsson <alexl@redhat.com>
5206 * gio/gfileoutputstream.[ch]:
5207 * gio/glocalfileoutputstream.c:
5208 * programs/gvfs-save.c:
5209 g_file_output_stream_get_etag doesn't do i/o, so remove
5210 cancellation and error.
5212 2007-09-14 Alexander Larsson <alexl@redhat.com>
5215 Add new_etag output to replace_contents functions
5217 2007-09-14 Alexander Larsson <alexl@redhat.com>
5219 * gio/gfileoutputstream.[ch]:
5220 Add async get_file_info and default implementation
5222 2007-09-14 Alexander Larsson <alexl@redhat.com>
5224 * gio/gfileinputstream.c:
5225 Implement fallback wrapper for async get_file_info
5227 2007-09-14 Alexander Larsson <alexl@redhat.com>
5230 Add etag out argument to load_contents
5235 2007-09-14 Alexander Larsson <alexl@redhat.com>
5237 * gio/gcontenttype.c (looks_like_text):
5238 Whitespace like tab, cr and lf do not make the
5241 2007-09-14 Alexander Larsson <alexl@redhat.com>
5243 * gio/gfileinputstream.[ch]:
5244 Add async get_file_info.
5246 2007-09-13 Alexander Larsson <alexl@redhat.com>
5248 * gio/goutputstream.c (g_output_stream_write_all):
5249 Allow NULL for bytes_written
5251 2007-09-13 Alexander Larsson <alexl@redhat.com>
5253 * gio/gmemoryinputstream.[ch]:
5254 Add accessors for data
5256 2007-09-13 Alexander Larsson <alexl@redhat.com>
5258 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5259 Don't crash if length is NULL