1 2008-10-14 Matthias Clasen <mclasen@redhat.com>
3 Bug 556334 – Warning when building without selinux support
5 * glocalfileinfo.c: Avoid compiler warnings when selinux is
6 disabled. Patch by Pascal Terjan
8 2008-10-14 Matthias Clasen <mclasen@redhat.com>
10 Bug 556335 – make check fails in abicheck.sh
12 * gio.symbols: Add g_file_attribute_info_list_get_type.
13 Pointed out by Pascal Terjan.
15 2008-10-13 Alexander Larsson <alexl@redhat.com>
18 When adding an application as handling a mime type (but
19 not as the default), copy the full list of desktop ids handling
20 that type in before adding the new one on the end of the list.
21 This means we're not accidentally changing the default by overriding
22 the info from the later directories in the search path.
24 Also, fixes small leak of removed_entries.
26 2008-10-12 David Zeuthen <davidz@redhat.com>
29 * gunionvolumemonitor.c:
31 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
33 2008-10-10 Alexander Larsson <alexl@redhat.com>
35 * gfileattribute.c (escape_byte_string):
36 Upper half of byte is >> 4, not >> 8.
37 Found by Kjartan Maraas via sparse
39 2008-10-10 Matthias Clasen <mclasen@redhat.com>
41 Bug 555711 – Wrong fallback order of mimetype icons
43 * gcontenttype.c: Don't prefer generic icons over
44 default mimetype icons.
46 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
47 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
49 Patch by Krysztof Kosiński
51 2008-10-10 Matthias Clasen <mclasen@redhat.com>
53 Bug 555121 – Improved build-time handling of gio module-dir
55 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
56 * Makefile.am: Create the module dir.
58 2008-10-10 Matthias Clasen <mclasen@redhat.com>
60 * gio/glocalfileinfo.c:
61 * gio/tests/live-g-file.c:
62 * gio/gsimpleasyncresult.c: Fix gcc warnings.
64 2008-10-09 Alexander Larsson <alexl@redhat.com>
66 * gunixinputstream.c (g_unix_input_stream_read):
67 Actually return -1 in case of cancelled, not old res value.
69 2008-10-06 Colin Walters <walters@verbum.org>
71 Bug 554745 - GFileAttributeInfoList should be boxed
73 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
74 for convenience of bindings.
75 * gio/gfileattribute.h: Prototype it.
77 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
79 Bug 554970 – segfault when update-desktop-database is not available
82 * gdesktopappinfo.c (run_update_command): Have the error set before
85 2008-10-01 David Zeuthen <davidz@redhat.com>
87 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
88 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
89 instead of the gio URI (such as sftp://foo/file.avi) when using
90 g_app_info_launch() and friends. With a sufficiently recent gvfs,
91 apps using gio+gvfs will map the FUSE file:// URI back to the gio
92 URI (and thus bypass the fuse daemon) thanks the patch from bug
93 #530654. Since Nautilus is an user of g_app_info_launch() it
94 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
95 when launced via the file manager. Win. Fixes bug #528670.
97 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
98 mapping to the description of GAppInfo.
100 2008-09-30 Tor Lillqvist <tml@novell.com>
102 * tests/Makefile.am: Build desktop-app-info only on Unix.
104 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
105 g_critical(). Pass a large enough result buffer to
106 GetVolumePathNameW(). Just use MAX_PATH.
108 2008-09-29 David Zeuthen <davidz@redhat.com>
110 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
112 2008-09-26 Dan Winship <danw@gnome.org>
114 * tests/data-input-stream.c:
115 * tests/data-output-stream.c:
116 * tests/live-g-file.c:
117 * tests/memory-input-stream.c:
118 * tests/memory-output-stream.c: Use g_assert_error() and
121 2008-09-26 Matthias Clasen <mclasen@redhat.com>
123 Bug 545350 – GAppInfo deletion
124 Bug 545351 – Reset associations for content type
127 * gappinfo.[hc]: New functions g_app_info_can_delete,
128 g_app_info_delete and g_app_info_reset_type_associations.
131 * gwin32appinfo.c: Implementations of these.
134 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
136 2008-09-26 Dan Winship <danw@gnome.org>
138 Bug 505361 – gunixinputstream.c assumes poll() available
139 Bug 509446 – portable blocking gio cancellation
141 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
142 GPollFD for a cancellable (which is slightly more complicated on
145 * gunixinputstream.c (g_unix_input_stream_read):
146 * gunixoutputstream.c (g_unix_output_stream_write): Use
147 g_cancellable_make_pollfd() and g_poll() rather than using poll()
150 * tests/unix-streams.c: test of GUnixInputStream,
151 GUnixOutputStream, and GCancellable.
153 2008-09-26 Dan Winship <danw@gnome.org>
155 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
156 cast to stop a gcc warning
158 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
161 2008-09-25 Dan Winship <danw@gnome.org>
163 Bug 553426 - cancellable clarifications
165 * gcancellable.c (g_cancellable_class_init): Add a note to the
166 "cancelled" signal docs warning about thread-safety issues
167 (g_cancellable_cancel): Note that cancelling an asynchronous
168 operation takes effect asynchronously, not immediately.
170 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
172 * gioenums.h: Add new GFileCopyFlag, to leave target file with
173 default perms, instead of setting the source file perms, in a copy
176 * gfile.c (g_file_copy_attributes)
177 (build_attribute_list_for_copy)
178 (should_copy): Not copy "unix::mode" attribute if we have received
179 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
181 2008-09-20 Matthias Clasen <mclasen@redhat.com>
183 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
185 2008-09-17 Matthias Clasen <mclasen@redhat.com>
187 * === Released 2.18.1 ===
189 2008-09-16 Michael Natterer <mitch@imendio.com>
191 * gcontenttype.c (g_content_type_guess): can't assign the return
192 value of g_strdupv() to an array. Fill the array manually with
193 const strings instead (it is never freed anyway). Fixes the
194 build. Also fixed indentation.
196 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
198 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
199 Fix trivial typo to unbreak the build (there was a colon
200 instead of a semicolon at the end of a statement).
202 2008-09-15 Matthias Clasen <mclasen@redhat.com>
204 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
207 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
210 2008-09-15 Matthias Clasen <mclasen@redhat.com>
212 Bug 551681 – g_content_type_guess() too naive with filenames
214 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
215 at the end of the filename, and declare it a directory.
216 Patch by Bastien Nocera
218 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
220 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
223 * gdesktopappinfo.c: add a note in the docs clarifying what the
224 "filename" parameter really is.
226 2008-09-12 Tor Lillqvist <tml@novell.com>
228 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
229 FormatMessage() etc here. Call g_win32_error_message() instead
230 which already does all that. Besides, the code was broken as it
231 called the default "A" version of FormatMessage() but still
232 thought it produced a wide string.
234 2008-09-12 Michael Natterer <mitch@imendio.com>
236 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
237 in the documentation.
239 2008-09-08 Christian Neumair <cneumair@gnome.org>
241 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
242 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
243 Use non-blocking pipe for mount helper I/O. Fixes #550647.
245 2008-09-06 Matthias Clasen <mclasen@redhat.com>
247 Bug 551149 – xdgmime mem leak
249 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
250 a memory leak. Patch by Christian Persch
252 2008-09-04 Tor Lillqvist <tml@novell.com>
254 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
257 2008-09-02 Matthias Clasen <mclasen@redhat.com>
259 * === Released 2.18.0 ===
261 2008-09-02 Michael Natterer <mitch@imendio.com>
263 * *.h: big header formatting cleanup: indentation, vtable
264 formatting, consistent spacing in (* vfunc), trailing whitespace
265 removal. Formatting should be pretty consistent in all GIO headers
268 2008-09-02 Matthias Clasen <mclasen@redhat.com>
270 * gmount.h: Document guess_content_type sync vfunc.
272 2008-09-02 Michael Natterer <mitch@imendio.com>
274 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
275 fix parent_class member to be GFilterOutputStreamClass (not
276 GOutputStreamClass). Drop three pointers of padding, which is
277 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
278 so the class struct size stays the same.
280 2008-09-02 Matthias Clasen <mclasen@redhat.com>
282 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
284 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
285 nonexisting return values. Pointed out by Cosimo Cecchi.
287 2008-08-23 Tor Lillqvist <tml@novell.com>
289 Bug 548988 - g_file_replace fails on Windows when the target file
292 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
293 Windows, close the file before potentially renaming it (in case we
294 have been writing to a file with a temporary name).
296 (g_local_file_output_stream_close, handle_overwrite_open): Use
297 GLocalFileStat instead of plain struct stat, for passing to
298 _g_local_file_info_create_etag(). Thus also use _fstati64()
299 instead of plain fstat() on Windows.
301 2008-08-18 Matthias Clasen <mclasen@redhat.com>
303 * === Released 2.17.7 ===
305 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
307 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
310 2008-08-13 Tor Lillqvist <tml@novell.com>
312 * win32/gwinhttpvfs.c
313 * win32/gwinhttpvfs.h
314 * win32/gwinhttpfile.c
315 * win32/gwinhttpfileinputstream.c
316 * win32/gwinhttpfileoutputstream.c: Refactor some common code
317 snippets into helper functions. Check HTTP response status
318 codes. Implement g_winhttp_file_query_info(), looking at
319 Content-Length, Content-Type and Last-Modified.
321 * win32/winhttp.h: Add some symbolic constants that are not
322 publicly documented. Just a handful, so it should be OK to use
323 information from the Windows SDK's headers.
325 2008-08-13 Tor Lillqvist <tml@novell.com>
327 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
330 * win32/gwin32directorymonitor.c
331 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
333 2008-08-13 Matthias Clasen <mclasen@redhat.com>
336 * goutputstream.c: Add intro docs.
338 2008-08-13 Tor Lillqvist <tml@novell.com>
340 * win32/gwinhttpfileoutputstream.c
341 (g_winhttp_file_output_stream_write): Don't write the
342 Content-Length header ourselves, WinHttpSendRequest() takes care
343 of that when the dwTotalLength parameter is non-zero. Increment
344 offset by the number of actual bytes sent, although I wonder if
345 such a scenario is possible where less than requested would be
346 sent and accepted by the server without errors.
348 2008-08-13 Tor Lillqvist <tml@novell.com>
350 * win32/gwinhttpvfs.c
351 * win32/gwinhttpvfs.h
352 * win32/gwinhttpfile.c
353 * win32/gwinhttpfile.h
354 * win32/gwinhttpfileinputstream.c
355 * win32/gwinhttpfileinputstream.h
356 * win32/gwinhttpfileoutputstream.c
357 * win32/gwinhttpfileoutputstream.h: New files implementing
358 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
359 Windows. The implementation uses the WinHttp API. Both reading and
360 writing are supported, i.e. GET and PUT requests. When writing,
361 each write call is done using a separate PUT request with a
362 Content-Range header. Requests for file URIs and plain pathnames
363 are forwarded to GLocalVfs.
365 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
366 WINE. Used as there is no <winhttp.h> bundled with mingw, and
367 requiring people to download the Windows SDK just for this one
368 header is not reasonable.
370 * win32/Makefile.am: Add above files.
372 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
373 the plumbing for the above.
375 2008-08-11 Sven Neumann <sven@gimp.org>
377 * gfilenamecompleter.c
378 * glocaldirectorymonitor.c
380 * gunionvolumemonitor.c
384 * gunixvolumemonitor.c
387 * gwin32volumemonitor.c: use canonical signal names.
389 2008-08-11 Tor Lillqvist <tml@novell.com>
391 * Makefile.am: Put a list of the platform-dependent .la files in
392 the subdirectories in the platform_deps Make variable, and make
393 libgio-2.0.la depend on that, so that it gets relinked if one of
394 the dependent libraries has changed.
396 2008-08-11 Tor Lillqvist <tml@novell.com>
398 * Makefile.am (platform_libadd): Remove -lwininet which had been
399 added by mistake. We will probably eventually be using WinHTTP,
400 not the older WinInet anyway. (Actually I am working on it.)
402 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
404 Bug 547080 – g_file_copy leaks expected errors
406 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
407 before trying the next fallback routine.
409 2008-08-09 Loïc Minier <lool@dooz.org>
411 Bug 535124 – umask 002 not being applied for new directories, new
412 files get the correct umask
414 * gfile.c (g_file_make_directory)
415 (g_file_make_directory_with_parents): Document ownership and
416 permissions of newly created directories as being the default
419 2008-08-08 Loïc Minier <lool@dooz.org>
421 Bug 535124 – umask 002 not being applied for new directories, new
422 files get the correct umask
424 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
427 2008-08-08 Tor Lillqvist <tml@novell.com>
429 * gwin32mount.c: Remove unused code. Whitespace cleanup.
431 * gwin32volumemonitor.c (get_connected_drives): Put questionable
432 code that didn't actually do anything inside #if 0, and add a
433 comment wondering what the code was supposed to do. This also gets
434 rid of a leftover debugging printout.
436 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
438 * gfileicon.c (g_file_icon_get_property)
439 (g_file_icon_set_property): New functions.
440 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
442 (g_file_icon_new): Use the property (bug #546132).
444 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
446 * gthemedicon.c (g_themed_icon_get_property): Also handle
447 `PROP_USE_DEFAULT_FALLBACKS'.
448 (g_themed_icon_class_init): Make
449 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
451 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
453 Bug 546371 – Improve docs re g_file_monitor
455 * gfilemonitor.c: Mention g_file_monitor() in the docs.
457 2008-08-04 Matthias Clasen <mclasen@redhat.com>
459 * === Released 2.17.6 ===
461 2008-08-04 Matthias Clasen <mclasen@redhat.com>
463 * === Released 2.17.5 ===
465 2008-08-04 Matthias Clasen <mclasen@redhat.com>
467 Bug 546017 – Don't copy attributes when copying a symlink
469 * gfile.c (g_file_copy_attributes): Specify
470 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
471 g_file_set_attributes_from_info. Patch by Christian Kellner
473 2008-08-04 Matthias Clasen <mclasen@redhat.com>
475 * gemblemedicon.[hc]:
477 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
478 a bit more extensible. Work by Clemens Buss.
480 * gioenums.h: Add GEmblemOrigin.
483 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
485 Bug 546079 – leak in xdgmime
487 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
489 2008-08-03 Tor Lillqvist <tml@novell.com>
491 * win32/gwin32directorymonitor.h
492 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
495 2008-08-03 Tor Lillqvist <tml@novell.com>
497 * win32/gwin32directorymonitor.c
498 (g_win32_directory_monitor_callback): Make prototype match
499 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
500 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
503 (g_win32_directory_monitor_constructor):
504 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
505 names in the GLib API on Windows, so convert to UTF-16 and open
508 2008-08-03 Tor Lillqvist <tml@novell.com>
510 Bug 541036 - Gnumeric crashes when trying to open Desktop or
511 user's folder under Windows
513 * win32/gwin32directorymonitor.c
514 (g_win32_directory_monitor_constructor): Ignore error from
515 CreateFile() when opening directory. Instead of asserting, just
516 store INVALID_HANDLE_VALUE then in
517 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
518 ReadDirectoryChangesW().
519 (g_win32_directory_monitor_cancel): Don't attempt to close
520 directory handle if it is INVALID_HANDLE_VALUE.
522 2008-08-01 Matthias Clasen <mclasen@redhat.com>
524 * gdesktopappinfo.c: Remove debug spew
526 2008-08-01 Hans Breuer <hans@breuer.org>
528 * makefile.msc : add gemblembedicon
530 2008-07-30 Matthias Clasen <mclasen@redhat.com>
532 Bug 545457 – gdmsetup crashed with SIGSEGV in
533 g_unix_mount_guess_should_display()
535 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
536 crash if no mount is found.
538 2008-07-28 Matthias Clasen <mclasen@redhat.com>
540 Bug 545203 – gfile.c: argument is different type.
542 * gfile.c (open_read_async_thread): Pass a GError **
543 to g_file_set_error_literal.
544 Reported by Kazuki Iwamoto
546 2008-07-28 Matthias Clasen <mclasen@redhat.com>
548 Bug 545157 – wrong/no list of "open with" applications for .cc and
551 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
552 Collect all ancestors, not just direct parents. Pointed
553 out by Bastien Nocera
555 2008-07-28 Matthias Clasen <mclasen@redhat.com>
557 * Makefile.am: Install gemblemedicon.h
559 2008-07-28 Matthias Clasen <mclasen@redhat.com>
561 * gemblemedicon.[hc]: Add a GIcon implementation that can
562 add an emblem to another icon.
569 * gfileicon.c: Small documentation additions.
571 2008-07-28 Tor Lillqvist <tml@novell.com>
573 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
576 2008-07-27 Tor Lillqvist <tml@novell.com>
578 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
580 2008-07-24 David Zeuthen <davidz@redhat.com>
584 Also export a g_mount_guess_content_type_sync() function.
586 2008-07-23 Matthias Clasen <mclasen@redhat.com>
588 529694 – SELinux context setting support
590 * gfileinfo.c: Support setting selinux attributes.
591 Patch by Tomas Bzatek
593 2008-07-22 Priit Laes <plaes@plaes.org>
595 Bug 544140 - fam-helper 64-bit issue?
597 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
599 2008-07-21 Matthias Clasen <mclasen@redhat.com>
601 * === Released 2.17.4 ===
603 2008-07-20 Matthias Clasen <mclasen@redhat.com>
605 * gvolumemonitor.[hc]:
610 * gmount.c: Documentation fixes
612 2008-07-19 Matthias Clasen <mclasen@redhat.com>
614 543504 – crash in Epiphany Web Browser: Opening local file
625 * gvolume.c: Register types thread-safely.
626 Patch by Christian Persch
628 2008-07-18 Matthias Clasen <mclasen@redhat.com>
630 * gcontenttype.c: Remove debug spew
632 2008-07-18 Matthias Clasen <mclasen@redhat.com>
634 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
637 * fen/fen-kernel.c: Remove a warning that was causing
638 crashes. Reported by Lin Ma.
640 2008-07-18 Matthias Clasen <mclasen@redhat.com>
642 Bug 543040 – async reading on dummy file will crash on
645 * gfile.c (open_read_async_thread): Cope with read_fn being
646 NULL. Reported by Lin Ma.
648 2008-07-18 Matthias Clasen <mclasen@redhat.com>
651 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
653 2008-07-16 Matthias Clasen <mclasen@redhat.com>
657 * giomodule.c: Rename a chapter id to avoid filename conflict.
659 2008-07-16 Matthias Clasen <mclasen@redhat.com>
661 Bug 540616 – mem leak in filechooser button
663 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
664 the mount entry. Reported by Chrisitan Persch
666 2008-07-16 Matthias Clasen <mclasen@redhat.com>
668 * gfile.c: Small documentation fixes.
670 2008-07-15 Matthias Clasen <mclasen@redhat.com>
672 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
674 2008-07-08 Matthias Clasen <mclasen@redhat.com>
679 * gmount.c: Documentation improvements.
681 2008-07-08 Matthias Clasen <mclasen@redhat.com>
684 * gmount.[hc]: Add g_mount_guess_content_type().
686 2008-07-06 David Zeuthen <davidz@redhat.com>
689 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
690 is needed for easily handling adoption of foreign volumes by
691 out-of-process volume monitors (#541793)
693 2008-07-06 David Zeuthen <davidz@redhat.com>
695 * gvolumemonitor.[ch]:
696 * gunionvolumemonitor.c: Export the eject-button signal on the
697 volume monitor class (#541794).
699 2008-07-06 Matthias Clasen <mclasen@redhat.com>
701 * gappinfo.c: More doc tweaks
703 2008-07-05 Matthias Clasen <mclasen@redhat.com>
705 * gappinfo.c: Clarify some docs
707 2008-07-03 Matthias Clasen <mclasen@redhat.com>
709 * gdesktopappinfo.c: Fix a stupid mistake.
711 2008-07-02 Matthias Clasen <mclasen@redhat.com>
713 * === Released 2.17.3 ===
715 2008-07-02 Matthias Clasen <mclasen@redhat.com>
717 * gfilemonitor.c: Fix the build.
719 2008-07-02 Matthias Clasen <mclasen@redhat.com>
721 Bug 536160 – Add g_file_monitor()
724 * gfile.[hc]: Add g_file_monitor which can return either
725 a file or a directory monitor. Proposed by Behdad Esfahbod
727 2008-07-02 Matthias Clasen <mclasen@redhat.com>
729 536733 – gio build failure on Irix
731 * glocalfile.c: Use a configure check for structfs.f_bavail.
733 2008-07-02 Matthias Clasen <mclasen@redhat.com>
735 Bug 534639 – add g_desktop_app_info_new_from_keyfile
738 * gdesktopappinfo.[hc]: Add a function to create a
739 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
741 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
743 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
745 2008-07-01 Matthias Clasen <mclasen@redhat.com>
747 * gunixmounts.c: Fix a doc typo.
749 2008-07-01 Cody Russell <bratsche@gnome.org>
751 * gio/gcontenttype.c:
752 * gio/gwin32appinfo.c:
753 * gio/gwin32volumemonitor.c:
754 * gio/gwin32mount.c: Fixed some include problems.
756 2008-07-01 Cody Russell <bratsche@gnome.org>
760 Moved all relevant typedefs into these files.
763 Updated wrt added files.
765 Split types into separate file for easier maintainership. (#538564)
767 2008-06-30 Matthias Clasen <mclasen@redhat.com>
769 Bug 540331 – g_file_append_to () documentation: can return NULL
771 * gfile.c (g_file_append_to): Clarify docs.
774 2008-06-30 Matthias Clasen <mclasen@redhat.com>
776 Bug 539090 – g_content_type_from_mime_type() should unalias
778 * gcontentype.c (g_content_type_from_mime_type): Unalias.
779 Patch by Markus Bergman
781 2008-06-30 Matthias Clasen <mclasen@redhat.com>
783 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
786 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
787 on ppc and alpha. Reported by Mart Raudsepp
789 2008-06-29 Matthias Clasen <mclasen@redhat.com>
792 * tests/memory-output-stream.c: Add some tests for
795 2008-06-29 Matthias Clasen <mclasen@redhat.com>
797 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
800 * gmemoryoutputstream.c (array_resize): Handle truncation to
801 zero correctly. Reported by Akira Tagoh
803 2008-06-29 Matthias Clasen <mclasen@redhat.com>
805 * gmemoryoutputstream.c: Trivial doc fixes
807 2008-06-29 Matthias Clasen <mclasen@redhat.com>
809 Bug 540802 – g_list_prepend doesn't concat lists
811 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
812 one list to another. Pointed out by Jan Arne Petersen
814 2008-06-28 Michael Natterer <mitch@imendio.com>
816 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
818 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
820 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
821 to avoid problems with partial icon themes.
823 2008-06-17 Hans Breuer <hans@breuer.org>
825 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
826 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
827 access again on win32, see bug #538127
828 * giomodule.c : ensure GWin32VolumeMonitor is registered
829 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
830 * Makefile.am makefile.msc : updated
832 2008-06-16 Hans Breuer <hans@breuer.org>
834 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
835 and initialization in one step avoids c99ism
837 2008-06-16 Christian Persch <chpe@gnome.org>
840 * gio/gbufferedinputstream.c
842 * gio/gdatainputstream.c
843 * gio/gdesktopappinfo.c
845 * gio/gfileenumerator.c
846 * gio/gfileinputstream.c
847 * gio/gfileoutputstream.c
849 * gio/glocaldirectorymonitor.c
851 * gio/glocalfileenumerator.c
852 * gio/glocalfileinfo.c
853 * gio/glocalfilemonitor.c
854 * gio/glocalfileoutputstream.c
855 * gio/gmemoryinputstream.c
856 * gio/gmemoryoutputstream.c
857 * gio/goutputstream.c
858 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
861 2008-06-16 Tor Lillqvist <tml@novell.com>
863 Bug 538362 - Get Win32 icons back in the file chooser
865 * gcontenttype.c (g_content_type_get_icon): Look up the icon
866 corresponding to a file extension in the Registry. Patch by Hans
868 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
870 2008-06-16 Tor Lillqvist <tml@novell.com>
872 Patches by Hans Breuer:
874 * glocalfile.c (is_xp_or_later): Handle compiling against older
875 SDK headers with missing VerifyVersionInfo(). Conditioned on
876 _MSC_VER, but should probably use some better test.
877 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
878 uninitialised statfs_result variable on Win32.
880 2008-06-16 Michael Natterer <mitch@imendio.com>
882 * *.c: chain up unconditionally in finalize() and dispose(). Also
883 don't dereference these function pointers when calling them since
884 that has no meaning at all.
886 2008-06-16 Ross Burton <ross@burtonini.com>
889 Remove check for dispose implementation as it annoys Emmanuele.
891 2008-06-16 Ross Burton <ross@burtonini.com>
893 Bug 536252 – GFileEnumerator should allow access to the containing
899 Add g_file_enumerator_get_container() and a container writeable
900 construct-only property. Also shuffle around typedefs to make it
903 * glocalfileenumerator.c:
904 * glocalfileenumerator.h:
906 Instead of a string filename take a GFile in the constructor and
907 use it to set the container property.
912 2008-06-16 Matthias Clasen <mclasen@redhat.com>
914 * gfile.c: Make includes more uniform
916 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
918 * tests/live-g-file.c (sample_struct):
919 Use less fancy unicode filenames, so the test doesn't fail
920 on Mac OS X (#531476).
922 2008-06-12 Matthias Clasen <mclasen@redhat.com>
924 * === Released 2.17.2 ===
926 2008-06-12 Matthias Clasen <mclasen@redhat.com>
928 * === Released 2.17.1 ===
930 2008-06-11 A. Walton <awalton@gnome.org>
932 * tests/g-file.c (test_g_file_new_null):
933 Fix broken test case.
935 2008-06-11 Matthias Clasen <mclasen@redhat.com>
937 * pltcheck.sh: We use g_clear_error now.
939 2008-06-11 Matthias Clasen <mclasen@redhat.com>
941 * glocalfile.c (g_local_file_enumerate_children): Revert
942 an unintended change.
944 2008-06-11 Matthias Clasen <mclasen@redhat.com>
946 * gfile.c (g_file_replace_contents): Don't unref before the last use.
948 2008-06-10 Matthias Clasen <mclasen@redhat.com>
950 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
953 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
954 as icon for the desktop directory, also make user-home and
955 user-desktop the preferred icons.
957 2008-06-10 Matthias Clasen <mclasen@redhat.com>
960 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
961 to add a name to the front of the list.
963 2008-06-10 Matthias Clasen <mclasen@redhat.com>
965 Bug 537392 – Additional colon in xattr name
967 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
968 too. Reported by Alessandro Morandi
970 2008-06-10 Matthias Clasen <mclasen@redhat.com>
972 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
975 * glocalfile.c (get_fs_type): Add afs and autofs.
976 Patch by Danny Baumann.
978 2008-06-10 Matthias Clasen <mclasen@redhat.com>
980 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
982 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
983 is no parent. (Owen Taylor, patch by Christian Neumair)
985 2008-06-10 Paolo Borelli <pborelli@katamail.com>
987 * gfile.c (g_file_replace_contents): do not leak the output stream.
989 2008-06-10 Michael Natterer <mitch@imendio.com>
991 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
992 uninitialized memory as array index.
994 2008-06-10 Tor Lillqvist <tml@novell.com>
996 * gcontenttype.c (g_content_type_can_be_executable)
997 (g_content_type_get_icon) [Win32]: Add TODO comments.
999 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1001 * xdgmime/Makefile.am: Fix the build
1003 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1005 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1006 in the shared mime database, if available.
1008 * xdgmime/*: Sync with upstream. This brings support for
1009 glob weights, generic icons, and changes the cache format to
1012 2008-05-28 Michael Natterer <mitch@imendio.com>
1014 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1015 the global CPPFLAGS now.
1017 * tests/data-input-stream.c
1018 * tests/data-output-stream.c
1019 * tests/g-file-info.c
1021 * tests/live-g-file.c
1022 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1024 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1026 * === Released 2.17.0 ===
1028 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1029 doesn't complain about leftover files.
1031 2008-05-27 simon.zheng <simon.zheng@sun.com>
1033 * glocalfile.c: (g_local_file_query_filesystem_info):
1034 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1036 2008-05-26 Michael Natterer <mitch@imendio.com>
1038 * gmemoryoutputstream.h: declare
1039 g_memory_output_stream_get_data_size().
1041 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1043 * tests/*: Make tests work
1045 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1047 * gio.symbols: Add g_memory_output_stream_get_data_size.
1049 2008-05-25 Ross Burton <ross@burtonini.com>
1052 Fix typo in error message (#534764).
1054 2008-05-25 Ross Burton <ross@burtonini.com>
1057 Fix circular dependency loop for gioenumtypes.h (#534759).
1059 2008-05-19 Hans Breuer <hans@breuer.org>
1061 * Makefile.am : EXTRA_DIST += makefile.msc
1063 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1066 * gcontenttype.c: (g_content_type_from_mime_type):
1067 New function to create a content type from a mime type. (#527175,
1070 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1072 Bug 532965 – Should not return filesystem::free for certain file systems
1074 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1075 free space for ncpfs.
1077 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1079 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1081 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1082 st_dev might be zero.
1084 2008-05-16 Tor Lillqvist <tml@novell.com>
1086 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1087 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1089 2008-05-13 Bastien Nocera <hadess@hadess.net>
1091 * gfile.c (has_valid_scheme): A URI scheme must start with a
1092 letter, even if later more characters are allowed (#532852)
1094 2008-05-05 Michael Natterer <mitch@imendio.com>
1096 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1097 code from being checked in that breaks the build of applications
1098 which use G_DISABLE_SINGLE_INCLUDES.
1100 * makegioalias.pl: make the alias file include "glib.h" instead of
1103 * gio.symbols: whitespace change to force regeneration of the
1104 alias file after above script change.
1106 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1108 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1110 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1112 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1114 2008-04-28 David Zeuthen <davidz@redhat.com>
1116 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1117 displaying mounts in a subdirectory not accessible to the
1120 2008-04-22 Michael Natterer <mitch@imendio.com>
1122 * Makefile.am: fix library versioning (it was 0.0.0).
1124 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1126 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1127 Default disable all loggings.
1128 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1129 (port_fetch_event_cb): Fixed two macro nits.
1131 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1133 * xdgmime/xdgmime.c: Rework the timestamp checking code
1134 to protect against duplicate directories in XDG_DATA_DIRS.
1135 Fixes fd.o bug 12513, reported by Joe Shaw.
1137 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1139 Partically revert the last commit after realizing that
1140 xdg_mime_media_type_equal doesn't have to init at all.
1142 * xdgmime/xdgmime.h:
1143 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1145 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1147 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1149 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1150 reported by Joe Shaw and Federico Mena Quintero.
1152 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1153 (xdg_mime_media_type_equal): Turn into a wrapper around the
1156 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1157 functions throughout.
1159 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1161 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1162 tolerate an empty TryExec= line without failing; nautilus used
1163 to create launchers with these in previous versions. Fixes #528433
1165 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1167 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1168 after name. Fixes #527132.
1170 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1172 * gfile.c: (g_file_replace):
1175 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1177 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1179 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1180 by Christian Kellner.
1182 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1184 * gunixmounts.c: (g_unix_mount_guess_should_display):
1185 Don't list the user directory as a mount, fix potential issue
1186 when other users have a similar naming and don't special case the
1187 gvfs mounts there since that's not required (#525866)
1189 2008-03-31 Alexander Larsson <alexl@redhat.com>
1191 * glocalfile.c (get_parent):
1194 2008-03-31 A. Walton <awalton@svn.gnome.org>
1196 * gfile.c (g_file_query_file_type):
1197 Always return a GFileType enum value (#520715).
1199 2008-03-31 Alexander Larsson <alexl@redhat.com>
1201 * glocalfileenumerator.c:
1202 Read readdir() info in chunks (of 1000) and sort
1203 the chunks by inode before stat:ing.
1204 This is a 20% performance increase in testing
1205 gvfs-ls on /usr/bin with cold cache.
1207 2008-03-31 Alexander Larsson <alexl@redhat.com>
1209 * gmemoryoutputstream.c:
1210 Clarify docs for g_memory_output_stream_get_size.
1211 Add g_memory_output_stream_get_data_size.
1213 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1217 * gfile.h: Add g_file_query_file_type convenience function
1218 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1220 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1222 * gfileenumerator.c:
1223 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1225 2008-03-28 A. Walton <awalton@svn.gnome.org>
1227 * giomodule.c (_g_io_modules_ensure_loaded):
1228 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1231 2008-03-28 Alexander Larsson <alexl@redhat.com>
1234 (copy_stream_with_progress):
1237 2008-03-28 Alexander Larsson <alexl@redhat.com>
1240 (copy_stream_with_progress):
1241 (file_copy_fallback):
1242 Fallback to g_file_query_info for source size
1243 if g_file_input_stream_query_info fails. (#524579)
1245 2008-03-28 Alexander Larsson <alexl@redhat.com>
1247 * glocalfile.c (g_local_file_move):
1248 Reuse old string instead of adding new one.
1250 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1252 * fen/*.[hc]: still copyright issue. I hate copyright.
1254 2008-03-27 Alexander Larsson <alexl@redhat.com>
1256 * glocalfile.c (g_local_file_move):
1257 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1258 file over directory. This is according to the docs and what the move via
1259 copy+remove fallback does.
1261 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1263 * fen/*.[hc]: Updated copyright.
1265 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1267 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1269 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1271 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1272 not emit attribute changed events when optimizing changed events.
1273 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1276 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1278 * gmountoperation.[hc]: Small documentation additions
1280 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1282 * gunixmounts.c: (guess_mount_type):
1283 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1285 2008-03-19 Alexander Larsson <alexl@redhat.com>
1288 (copy_stream_with_progress):
1289 Bump block side for copy to 64k to minimize
1290 overhead for low latency links. (#523015)
1292 2008-03-16 Tor Lillqvist <tml@novell.com>
1294 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1295 depend on gio.def on Windows.
1297 2008-03-12 David Zeuthen <davidz@redhat.com>
1301 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1303 2008-03-14 Alexander Larsson <alexl@redhat.com>
1307 Avoid redudant tests (#521851)
1308 Patch from Josselin Mouette
1310 2008-03-14 Alexander Larsson <alexl@redhat.com>
1313 (g_file_monitor_is_cancelled):
1314 Fix C89 issue (#521672)
1315 Patch from Jens Granseuer
1317 2008-03-14 Alexander Larsson <alexl@redhat.com>
1319 * fam/fam-helper.[ch]:
1321 Shut down fam (including removing fam GSource) when
1322 module is unloaded (#521513)
1323 Patch from Joe Marcus Clarke
1325 2008-03-14 Alexander Larsson <alexl@redhat.com>
1328 (_g_io_modules_ensure_loaded):
1331 2008-03-14 Alexander Larsson <alexl@redhat.com>
1334 (g_local_file_query_filesystem_info):
1335 Use right define name for f_fstypename member check
1337 2008-03-14 Alexander Larsson <alexl@redhat.com>
1340 * fen/Makefile.am: Added.
1341 * fen/fen-data.[ch]: Added.
1342 * fen/fen-dump.[ch]: Added.
1343 * fen/fen-helper.[ch]: Added.
1344 * fen/fen-kernel.[ch]: Added.
1345 * fen/fen-missing.[ch]: Added.
1346 * fen/fen-node.[ch]: Added.
1347 * fen/fen-sub.[ch]: Added.
1348 * fen/gfendirectorymonitor.[ch]: Added.
1349 * fen/gfenfilemonitor.[ch]: Added.
1351 Added Solaris FEN file notification backend.
1352 Patch from Lin Ma <Lin.Ma@Sun.COM>
1354 2008-03-13 Tor Lillqvist <tml@novell.com>
1356 * Makefile.am: Actually use the gio.def file when linking the
1357 library on Windows. Produce .lib library for Microsoft's toolchain
1358 when possible. Install the .lib and .def file like for the other
1361 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1363 * tests/live-g-file.c:
1364 Include live-g-file in standard set of tests, making a temporary
1365 directory in source structure.
1367 Clean target directory before the tests (write mode only)
1369 2008-03-12 Tor Lillqvist <tml@novell.com>
1371 Bug 517419 - gio win32 directory monitor
1372 Implementation by Vlad Grecescu.
1375 * win32/gwin32directorymonitor.h
1376 * win32/gwin32directorymonitor.c: New files.
1378 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1380 * Makefile.am: Add the win32 subdirectory.
1382 2008-03-12 Tor Lillqvist <tml@novell.com>
1384 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1385 normal struct stat on Unix but struct _stati64 on Windows to have
1386 access to 64-bit file size information. Use that instead of struct
1387 stat in the functions declared here in this private header.
1389 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1390 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1391 warnings about unused functions and variables. Don't set
1392 meaningless attributes like inode numbers on Windows.
1394 2008-03-12 Benjamin Otte <otte@gnome.org>
1397 trim whitespace so gtk-doc groks the function name
1399 2008-03-12 Tor Lillqvist <tml@novell.com>
1401 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1402 returning FALSE, on Win32.
1404 2008-03-11 Alexander Larsson <alexl@redhat.com>
1407 * glocalfileinfo.[ch]:
1408 Correctly implement can_trash by actually
1409 looking for a trash dir, not just assuming
1412 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1414 * === Released 2.16.1 ===
1416 2008-03-11 Alexander Larsson <alexl@redhat.com>
1419 Fix crashes in new constructor and properties code
1421 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1423 * gfile.c: Minor spelling correction in documentation:
1424 existance -> existence.
1426 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1428 * === Released 2.16.0 ===
1430 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1432 * gio.symbols: Remove g_file_contains_file here, too.
1434 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1436 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1437 Samuel Cormier-Iijima)
1439 2008-03-08 Tor Lillqvist <tml@novell.com>
1441 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1444 2008-03-07 Alexander Larsson <alexl@redhat.com>
1447 (g_local_file_query_filesystem_info):
1448 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1449 Patch from Jasper Lievisse Adriaanse
1451 2008-03-06 Tor Lillqvist <tml@novell.com>
1453 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1454 comments for the *_USEC attributes.
1456 2008-03-06 Alexander Larsson <alexl@redhat.com>
1458 * gfile.c (g_file_query_exists):
1459 Add g_return_val_if_fail check (#520700)
1461 2008-03-06 Alexander Larsson <alexl@redhat.com>
1463 * gdesktopappinfo.c:
1466 * gunionvolumemonitor.c:
1469 * tests/live-g-file.c:
1470 * xdgmime/xdgmimecache.c:
1471 Fix sparse warnings (#519489)
1473 2008-03-05 Alexander Larsson <alexl@redhat.com>
1476 Make cancellation threadsafe (i.e.
1477 guarantee its only done once, and always
1480 * glocaldirectorymonitor.c:
1481 Make sure we the monitor lives while the
1482 mounts_changed callback is being called (#520484)
1484 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1486 * gbufferedinputstream.c: Fix typo in parameter
1489 2008-03-04 Alexander Larsson <alexl@redhat.com>
1492 Remove deprecated symbols we kept for one release.
1494 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1497 * goutputstream.c: Tiny documentation corrections.
1499 2008-03-03 Alexander Larsson <alexl@redhat.com>
1501 * gunionvolumemonitor.c:
1503 Fix the adopt_orphan_mount vfunc to take a
1504 volume_monitor reference in an ABI compat way.
1505 This change is not API compat, but the added
1506 arg is not used in the only user of this vfunc, so
1507 all we get is a harmless warning in gvfs (#520169)
1509 2008-03-01 Benjamin Otte <otte@gnome.org>
1512 clarify docs for g_file_delete().
1514 2008-02-29 Alexander Larsson <alexl@redhat.com>
1518 Make sure empty files get text/plain type (#518720)
1520 2008-02-27 Alexander Larsson <alexl@redhat.com>
1526 (g_unix_volume_mount):
1527 Add missing GMountMountFlags argument
1529 2008-02-26 Alexander Larsson <alexl@redhat.com>
1532 (g_local_file_delete):
1533 Handle filesystems (like ntfs-3g) that return EEXIST instead
1534 of ENOTEMPTY (#518816)
1536 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1538 * === Released 2.15.6 ===
1540 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1542 * gfile.c (g_file_find_enclosing_mount):
1543 * ginputstream.c (g_input_stream_set_pending):
1544 * glocalfile.c (g_local_file_find_enclosing_mount):
1545 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1546 * goutputstream.c (g_output_stream_set_pending):
1548 Fixup translator comments (#518578).
1550 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1552 * gfile.c (g_file_find_enclosing_mount):
1554 * glocalfile.c (g_local_file_find_enclosing_mount):
1557 Fix a few typos in translator comments and documentation.
1559 2008-02-25 Alexander Larsson <alexl@redhat.com>
1566 Add translator comments (#518578)
1568 2008-02-25 Alexander Larsson <alexl@redhat.com>
1571 Reintroduce g_file_contains_file, keep around for one
1572 unstable release cycle to avoid crashing to many apps.
1573 Make sure to delete after release.
1575 2008-02-25 Alexander Larsson <alexl@redhat.com>
1578 Remove deprecated g_file_contains_file.
1580 2008-02-25 Alexander Larsson <alexl@redhat.com>
1583 Emit actual change signals in an idle handler.
1584 This avoids reentrance and locking problems in
1585 the file notification backends.
1587 2008-02-25 Alexander Larsson <alexl@redhat.com>
1590 (g_unix_mount_guess_should_display):
1591 Remove type guessing, instead just display
1592 mounts in /media and in ~/.
1594 2008-02-25 Alexander Larsson <alexl@redhat.com>
1597 Make new strings reuse old ones.
1599 2008-02-25 Alexander Larsson <alexl@redhat.com>
1602 Implement trashing and filesystem::readonly for win32 (#517235)
1603 Patch from Yevgen Muntyan
1605 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1607 * gfileinfo.h: Documentation fixes.
1609 2008-02-22 Alexander Larsson <alexl@redhat.com>
1611 * gcontenttype.c (g_content_type_get_icon):
1612 Look at old-style gnome mime icon names too, as many
1613 have not moved to the new style.
1615 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1617 * *.c: Correct the @include in for section docs.
1619 2008-02-21 David Zeuthen <davidz@redhat.com>
1621 * glocalfileinfo.c: (_g_local_file_info_get):
1623 (g_content_type_get_icon): Implement this function by
1624 moving bits from glocalfileinfo.c
1625 (g_content_type_get_description): Unalias before getting
1626 description (#517687)
1628 * gfile.c: (g_file_class_init),
1629 (g_file_query_filesystem_info_async),
1630 (g_file_query_filesystem_info_finish),
1631 (query_filesystem_info_data_free),
1632 (query_filesystem_info_async_thread),
1633 (g_file_real_query_filesystem_info_async),
1634 (g_file_real_query_filesystem_info_finish):
1635 * gfile.h: Implement async version of
1636 g_file_query_filesystem_info()
1638 * gfileinfo.h: Add new attributes for filesystem::use-preview
1640 * gio.symbols: Update
1642 * gthemedicon.c: (g_themed_icon_append_name):
1643 * gthemedicon.h: Add new new convenience function.
1645 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1646 (get_mounts), (get_volumes), (get_connected_drives),
1647 (get_volume_for_uuid), (get_mount_for_uuid),
1648 (g_union_volume_monitor_init), (populate_union_monitor),
1649 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1650 (g_volume_monitor_adopt_orphan_mount):
1652 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1653 monitor implementations to call into the main volume monitor. Also
1654 separate object initialization and volume monitor initialization
1655 such that non-native volume monitors can properly adopt their
1658 2008-02-21 Alexander Larsson <alexl@redhat.com>
1663 2008-02-21 Alexander Larsson <alexl@redhat.com>
1666 Add more documentation about how GFiles work (from #517086)
1668 2008-02-21 Alexander Larsson <alexl@redhat.com>
1672 Add new g_file_has_prefix that does the same as g_file_contains_file.
1673 Deprecate g_file_contains_file and add a macro that converts
1674 it to g_file_has_prefix.
1675 The reason for this change is that the contains_file() name seems to
1676 imply that this does more work than what it does, but its really only
1677 a name match (from #517086)
1682 Update to match the above change.
1684 2008-02-20 Benjamin Otte <otte@gnome.org>
1686 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1687 (g_file_eject_mountable):
1688 even more cases of not returning in error path
1690 2008-02-20 Benjamin Otte <otte@gnome.org>
1692 * gfile.c: (g_file_mount_mountable):
1693 return from function in error path.
1695 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1698 Remove trailing coma in GMountMountFlags struct
1700 2008-02-18 Alexander Larsson <alexl@redhat.com>
1704 * glocalfileoutputstream.c:
1705 Use g_unlink/g_rename instead of unlink/rename;
1706 do not pass raw filenames to g_set_error. (#517239)
1707 Patch from Yevgen Muntyan.
1709 2008-02-18 Alexander Larsson <alexl@redhat.com>
1712 * glocalfileoutputstream.c:
1713 Open files with O_BINARY on windows. (#517140)
1715 2008-02-14 Alexander Larsson <alexl@redhat.com>
1717 * glocalfileoutputstream.c:
1718 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1720 2008-02-14 Alexander Larsson <alexl@redhat.com>
1723 Copy permissions with file on copy (#514084)
1724 This is what cp does and makes sure e.g. the
1725 exec permissions are kept.
1726 Its kinda weird in that it keeps the permission bits
1727 the same while the uid and gid are different. However
1728 the new uid is the user so its not a security issue,
1729 and I've heard no complaints about cp on this issue.
1731 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1733 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1735 2008-02-13 Alexander Larsson <alexl@redhat.com>
1737 * inotify/inotify-path.c:
1738 Define IN_ONLYDIR if not in header (#515346)
1740 2008-02-12 Alexander Larsson <alexl@redhat.com>
1742 * tests/live-g-file.c:
1745 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1747 * === Released 2.15.5 ===
1749 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1751 * gio.symbols: Add g_mount_mount_flags_get_type.
1753 2008-02-11 Alexander Larsson <alexl@redhat.com>
1756 (g_file_info_set_attribute_mask):
1757 (g_file_attribute_matcher_matches_id):
1758 Correctly handle NULL GAttributeMatcher meaning
1759 matches nothing. (Fixes #513492)
1761 2008-02-11 Alexander Larsson <alexl@redhat.com>
1766 Added GMountMountFlags enum and added a flags
1767 argument to all mount calls.
1769 This is an API/ABI change for future extensibility,
1770 as I think we will need at least an
1771 inhibit-autorun flag (the panel needs this).
1772 There are no flags defined yet though.
1774 2008-02-11 Alexander Larsson <alexl@redhat.com>
1777 Added new standard::description attribute.
1778 Requested by Vincent, and useful for both
1781 2008-02-11 Alexander Larsson <alexl@redhat.com>
1783 * gdesktopappinfo.c:
1786 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1788 * *.c: Documentation additions
1790 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1792 * gappinfo.h: Formatting cleanup
1793 * gappinfo.c: Fix up docs.
1795 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1797 * gunixmounts.c: Consistently use getmntent_r() and fall
1798 back to getmntent(). (#515492)
1800 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1802 * gbufferedinputstream.c:
1804 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1806 * tests/data-input-stream.c:
1807 * tests/data-output-stream.c: Portability fixes.
1809 2008-02-08 Alexander Larsson <alexl@redhat.com>
1814 Add g_volume_should_automount.
1817 2008-02-07 Tor Lillqvist <tml@novell.com>
1819 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1820 Win32, too Unix-specific.
1822 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1824 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1825 a local plt if the compiler doesn't support what we want. Bug #514702
1827 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1829 reviewed by: <delete if not using a buddy>
1832 * gunixinputstream.c:
1833 * gunixoutputstream.c:
1835 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1837 * tests/Makefile.am:
1838 * tests/live-g-file.c:
1839 * tests/live-g-file.txt:
1840 New GIO testing module working over real data
1842 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1844 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1845 Fallback to rename() if link() is not available
1846 (when no support on target filesystem)
1848 2008-02-06 Michael Natterer <mitch@imendio.com>
1850 * gfileinfo.c (g_file_info_get_icon): replace
1851 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1853 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1855 * gfile.c (g_file_create):
1856 Documentation update of error codes
1858 2008-02-06 Alexander Larsson <alexl@redhat.com>
1860 * gdesktopappinfo.c:
1861 Update to use both mimeapps.list and
1862 defaults.list as discussed on xdg list.
1864 2008-02-06 Benjamin Otte <otte@gnome.org>
1867 * gfilenamecompleter.c:
1868 Fix some typos in the documentation.
1870 2008-02-06 Alexander Larsson <alexl@redhat.com>
1872 * glocalfile.c (g_local_file_trash):
1873 Don't succeed with trash if newly created
1874 trash dir has the wrong owner. (#514696)
1876 2008-02-05 Alexander Larsson <alexl@redhat.com>
1878 * glocalfile.c (g_local_file_move):
1879 Don't spew warnings when destination is not
1882 2008-02-03 Hans Breuer <hans@breuer.org>
1884 * makefile.msc : update
1886 2008-02-01 Michael Natterer <mitch@imendio.com>
1888 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1889 return value of xdg_mime_list_mime_parents() to a variable of the
1892 2008-02-01 Alexander Larsson <alexl@redhat.com>
1894 * gappinfo.c (g_app_info_launch_uris):
1895 Actually call the launch_uris method, not
1898 2008-02-01 Alexander Larsson <alexl@redhat.com>
1900 * gdesktopappinfo.c (g_desktop_app_info_equal):
1901 Ensure appinfos with no id but same pointer value
1904 2008-02-01 Alexander Larsson <alexl@redhat.com>
1906 * gappinfo.c (g_app_info_launch_default_for_uri):
1909 2008-02-01 Alexander Larsson <alexl@redhat.com>
1913 Add g_app_info_launch_default_for_uri utility
1916 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1918 * gdesktopappinfo.c:
1919 Doc fix for g_app_info_get_default_for_uri_scheme ()
1922 2008-01-30 Alexander Larsson <alexl@redhat.com>
1925 Add doc comment about uris vs GFiles to
1928 * gdesktopappinfo.c:
1929 Ensure uris passed to g_app_info_launch_uris()
1930 are not roundtriped through GFile (as that
1931 may be slightly destructive for e.g. mailto: links)
1933 2008-01-30 Alexander Larsson <alexl@redhat.com>
1935 * tests/data-input-stream.c:
1936 * tests/data-output-stream.c:
1937 C89 fixes from Jens Granseuer (#512849)
1939 2008-01-30 Alexander Larsson <alexl@redhat.com>
1942 Fix gamin/fam difference build issue. (#509419)
1944 2008-01-29 Alexander Larsson <alexl@redhat.com>
1947 * gdesktopappinfo.c:
1948 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1950 2008-01-29 Alexander Larsson <alexl@redhat.com>
1952 * gdesktopappinfo.c:
1953 * gdesktopappinfo.h:
1954 giomodule-priv.h include moved to .c file.
1956 2008-01-29 Alexander Larsson <alexl@redhat.com>
1958 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1959 Remove unused prio/name fields.
1961 2008-01-29 Alexander Larsson <alexl@redhat.com>
1963 * gcontenttype.c (looks_like_text):
1964 Don't treat whitespace as control chars.
1966 2008-01-29 Alexander Larsson <alexl@redhat.com>
1968 * gdesktopappinfo.c:
1969 Lazily create the desktop files for appinfos created
1970 by g_app_info_create_from_commandline() when needed
1971 for mime associations. This allows run-time use
1972 of GAppInfo object without creating unnecessary
1975 2008-01-29 Alexander Larsson <alexl@redhat.com>
1978 Added new symbols to gio.symbols
1980 2008-01-29 Alexander Larsson <alexl@redhat.com>
1983 Add g_file_query_default_handler utility to easily look up
1984 the GAppInfo that handles a file.
1986 * gdesktopappinfo.[ch]:
1988 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1991 Remove unused function
1993 2008-01-29 Alexander Larsson <alexl@redhat.com>
1995 * gfileenumerator.c:
1996 Mention need to free returned value in
1997 g_file_enumerator_next_files_finish docs.
1998 Fix leak if g_file_enumerator_next_files_finish()
2001 2008-01-29 Alexander Larsson <alexl@redhat.com>
2004 (_g_unix_content_type_get_parents):
2005 Use list_parents, not get_parents from xdgmime, because
2006 the later doesn't use the cache.
2008 * xdgmime/xdgmimecache.c:
2009 (_xdg_mime_cache_list_mime_parents):
2010 Don't list the same type as parent multiple times.
2012 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2014 * === Released 2.15.4 ===
2016 2008-01-28 Alexander Larsson <alexl@redhat.com>
2019 Register local vfs with prio 0.
2022 Remove old name and prio class members
2024 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2026 * tests/g-file.c: Disable some tests that are failing in
2027 the absence of a http backend.
2029 2008-01-28 Alexander Larsson <alexl@redhat.com>
2033 Add registration hooks for extension points.
2034 Register the gio extension points.
2036 * fam/gfamdirectorymonitor.c:
2037 * fam/gfamfilemonitor.c:
2038 * glocaldirectorymonitor.[ch]:
2039 * glocalfilemonitor.[ch]:
2040 * gnativevolumemonitor.h:
2041 * gunionvolumemonitor.c:
2042 * gunixvolumemonitor.c:
2045 * inotify/ginotifydirectorymonitor.c:
2046 * inotify/ginotifyfilemonitor.c:
2047 Use the extension points registration instead
2048 of g_type_children().
2050 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2053 * gvolume.[hc]: Document new API.
2055 * gfile.c (g_file_copy_async): Fix docs
2057 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2059 * gbufferedinputstream.c:
2061 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2064 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2066 * glocalfile.c: Avoid trivial differences in translatable strings.
2068 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2070 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2071 build with gcc 3.4 (#509419)
2073 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2075 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2076 (#509994, Murray Cumming)
2078 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2080 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2081 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2082 this allows big jobs to be executed in chunks, instead of blocking
2083 the main loop for a long time.
2085 * gsimpleasyncresult.c:
2086 * giofile.c: Adapt callers.
2088 2008-01-25 Alexander Larsson <alexl@redhat.com>
2090 * gdesktopappinfo.c:
2091 Implement changes discussed on xdg list.
2092 Now we can add supported mimetypes by just using defaults.list
2093 We can also remove associations in defaults.list.
2095 2008-01-25 Alexander Larsson <alexl@redhat.com>
2097 * gdesktopappinfo.c:
2098 Don't make local copy of desktop file
2099 for mimetype changes if the file already
2100 supports the new mimetype.
2102 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2106 * gbufferedinputstream.c:
2107 * glocalfile.c: String improvements. (#511966,
2108 Theppitak Karoonboonyanan)
2110 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2112 * gioscheduler.h: Expand docs a bit.
2114 2008-01-24 Alexander Larsson <alexl@redhat.com>
2117 Add g_drive_get_identifier and
2118 g_drive_enumerate_identifiers
2121 Add g_volume_get_identifier and
2122 g_volume_enumerate_identifiers
2128 Implement identifiers for unix backend
2130 2008-01-24 Alexander Larsson <alexl@redhat.com>
2135 Add g_file_copy_async() (#511580)
2136 Based on patch from Carlos Garcia Campos
2138 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2140 * gioscheduler.c: Some documentation additions.
2142 2008-01-22 Alexander Larsson <alexl@redhat.com>
2144 * gdesktopappinfo.c:
2145 (g_desktop_app_info_new):
2146 Don't leak basename.
2148 2008-01-22 Alexander Larsson <alexl@redhat.com>
2150 * gdesktopappinfo.c:
2151 (g_desktop_app_info_new_from_filename):
2154 2008-01-22 Alexander Larsson <alexl@redhat.com>
2156 * glocalfileinfo.c (get_thumbnail_attributes):
2159 2008-01-22 Alexander Larsson <alexl@redhat.com>
2162 (canonicalize_filename):
2163 Canonicalize paths that start with more than
2167 (compare_two_files):
2168 (test_g_file_new_for_path):
2171 2008-01-22 Alexander Larsson <alexl@redhat.com>
2174 Allow UTF-8 in file:// parse names.
2176 * tests/Makefile.am:
2177 * tests/data-input-stream.c:
2178 * tests/data-output-stream.c:
2179 * tests/g-file-info.c:
2181 Added a bunch of tests from Tomas Bzatek
2183 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2185 * === Released 2.15.3 ===
2187 2008-01-21 Alexander Larsson <alexl@redhat.com>
2189 * gfileinputstream.[ch]:
2190 * gfileoutputstream.[ch]:
2192 Remove duplicated GSeekable functions. (#509990)
2193 Just use the g_seekable_xxx() calls instead.
2195 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2198 * gvolumemanager.c: Whitespace cleanups.
2200 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2201 Use the right mode when creating the file.
2203 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2205 * gfileenumerator.c:
2206 * gfileinputstream.c:
2208 * goutputstream.c: Documentation: Fixed minor typos
2209 and added more mentions of specific _finish() functions.
2211 2008-01-21 Alexander Larsson <alexl@redhat.com>
2213 * inotify/Makefile.am:
2214 * inotify/inotify-helper.c:
2215 * inotify/inotify-kernel.c:
2216 * inotify/inotify-path.c:
2217 * inotify/local_inotify.h: Removed.
2218 * inotify/local_inotify_syscalls.h: Removed.
2219 Removed the included copies of the inotify
2220 headers. We now only use the <sys/inotify.h>
2221 header which exists on modern systems.
2222 This fixes problems on ARM and SH5 (#510448)
2223 but is also generally much cleaner and future
2224 safe. For instance, if other OSes add support
2225 for inotify it should "just work".
2227 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2229 * inotify/*.c: Coding style fixes.
2230 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2231 for the 1/4 Hz timer.
2233 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2236 * gfilemonitor.[hc]:
2237 * gmemoryinputstream.c:
2238 * gmemoryoutputstream.c:
2239 * gmountoperation.c:
2240 * gthemedicon.c: Documentation updates
2242 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2244 * gfile.c: documentation: Fixed more minor
2247 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2249 * gmount.c: (g_mount_remount): documentation:
2250 Mention g_mount_remount_finish() instead of
2251 g_mount_unmount_finish().
2253 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2257 * gfile.c: Fixed some minor typos in the
2260 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2262 * gio/gvolumemonitor.c:
2263 (g_volume_monitor_get_connected_drives):
2264 (g_volume_monitor_get_volumes):
2265 (g_volume_monitor_get_mounts): Documentation:
2266 Clarify the ownership of the regurn GLists.
2268 2008-01-17 Alexander Larsson <alexl@redhat.com>
2271 Add the async find_enclosing_mount version
2272 to the header file too.
2274 2008-01-17 Alexander Larsson <alexl@redhat.com>
2277 Add async version of find_enclosing_mount
2278 with default implementation.
2280 2008-01-17 Alexander Larsson <alexl@redhat.com>
2285 Allow calls to implementation of copy and write
2286 even if the type of the file implementations is
2287 different. This can be used to implement native
2288 upload and download calls in a vfs.
2291 (g_local_file_move):
2292 Protect against the case where move is called
2293 with one file not being local.
2295 Make sure we call the progress callback once
2296 in the native move operation so that the caller
2297 knows how many bytes were copied.
2299 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2302 * gdatainputstream.c:
2304 * gfileoutputstream.c:
2309 * gunixmounts.c: Corrected some typos in the documentation:
2310 occured -> occurred.
2311 its -> it's (where appropriate).
2313 2008-01-16 Alexander Larsson <alexl@redhat.com>
2317 Add g_file_query_exists (#508771)
2319 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2324 * gvolume.c: For async functions that have no non-async
2325 version, document that the GAsyncReadyCallback may be NULL.
2328 2008-01-15 Alexander Larsson <alexl@redhat.com>
2330 * gmemoryinputstream.c:
2331 * gmemoryoutputstream.c:
2332 Don't do pointer arithmetic on void * (#508602)
2333 Patch from Kazuki IWAMOTO
2335 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2337 * === Released 2.15.2 ===
2339 2008-01-14 Alexander Larsson <alexl@redhat.com>
2341 * gfile.c (g_file_monitor_file):
2342 Don't set error here, since we fallback to polling monitor.
2344 2008-01-14 Alexander Larsson <alexl@redhat.com>
2347 (g_file_monitor_directory):
2348 (g_file_monitor_file):
2349 Add GError to file monitor calls
2351 * glocaldirectorymonitor.c:
2352 * glocaldirectorymonitor.h:
2354 * glocalfilemonitor.c:
2355 * glocalfilemonitor.h:
2357 Update for above change
2359 2008-01-14 Alexander Larsson <alexl@redhat.com>
2363 Handle root correctly in g_file_get_relative_path (#508719)
2365 2008-01-14 Alexander Larsson <alexl@redhat.com>
2368 Clean up docs and example for GAsyncResult (#508074)
2370 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2372 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2373 and correct some spelling mistakes. Bug #508108.
2375 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2377 * glocalfileinfo.c: Add a comment.
2379 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2381 * gfileinfo.c: GFileInfo description: Mention
2382 how to actually set attributes in a GFile and how to discover
2383 which attributes are settable. Bug #508378.
2385 2008-01-10 A. Walton <awalton@svn.gnome.org>
2387 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2388 (g_app_info_get_default_for_type):
2389 Check for NULL content types.
2391 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2393 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2395 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2397 * gfile.c: *_async() functions: Several small corrections
2398 to the documentation, mostly correcting copy/paste errors
2399 and improving some sentences.
2401 2008-01-09 Dan Winship <danw@gnome.org>
2403 * glocalfile.c (get_unique_filename): x86_64 fix
2405 2008-01-09 Alexander Larsson <alexl@redhat.com>
2410 Add g_unix_mount_guess_should_display and use
2411 for unix volume monitor backend.
2412 This means we more or less show what the
2413 gnome-vfs backend did.
2414 Based on patch from Padraig O'Briain
2416 2008-01-09 Alexander Larsson <alexl@redhat.com>
2420 Add g_themed_icon_new_with_default_fallbacks
2423 Use default fallbacks for icons
2425 2008-01-09 Alexander Larsson <alexl@redhat.com>
2428 * gmountoperation.[ch]:
2429 Change the API a bit so that unhandled methods
2430 get reported via the reply, rather than by
2431 the signal emission return value. This is because
2432 some handlers can't know this immediately without
2433 doing I/O, and this is an async operation that
2436 2008-01-09 Alexander Larsson <alexl@redhat.com>
2439 * fam/gfamdirectorymonitor.c:
2440 * fam/gfamfilemonitor.c:
2441 Fix double free crash (#508224)
2442 Patch from Joe Marcus Clarke
2444 008-01-07 Matthias Clasen <mclasen@redhat.com>
2446 * === Released 2.15.1 ===
2448 2008-01-07 Alexander Larsson <alexl@redhat.com>
2450 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2451 Fix warning (#507835)
2453 2008-01-07 Alexander Larsson <alexl@redhat.com>
2456 Pass --internal to glib-genmarshal
2459 * gmountoperation.c:
2461 Use better types for signal arguments (#507822)
2463 2008-01-07 Alexander Larsson <alexl@redhat.com>
2466 Build test subdir after .
2467 Remove gdirectorymonitor.[ch]
2469 * gdirectorymonitor.[ch]:
2473 Remove GDirectoryMonitor and make
2474 GFileMonitor the baseclass for both file and
2475 directory monitors. Lift the more generic
2476 rate limiting code from GDirectoryMonitor
2480 * fam/gfamdirectorymonitor.[ch]:
2481 * inotify/ginotifydirectorymonitor.[ch]:
2482 * inotify/inotify-helper.c:
2483 * glocaldirectorymonitor.[ch]:
2486 Update for the removed GDirectoryMonitor.
2488 * gmemoryoutputstream.c:
2489 Remove ununsed variable
2491 2008-01-07 Alexander Larsson <alexl@redhat.com>
2493 * gmemoryinputstream.c:
2494 Translate error strings
2497 * gmemoryoutputstream.[ch]:
2498 New implementation that avoids using GByteArray
2499 in implementation and API. (#506377)
2501 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2503 * tests/*: Add a test for memory input streams.
2505 * Makefile.am: Add tests to SUBDIRS.
2507 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2509 * glocalfilemonitor.c:
2510 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2513 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2515 * gdesktopappinfo.c: Fix a docs typo.
2517 * gfileattribute.c: Add information about extended attributes
2518 to the documentation. (#505058)
2520 2008-01-04 Alexander Larsson <alexl@redhat.com>
2523 * gmountoperation.c:
2524 Use the right type (uint) for the ask_password signal.
2526 2008-01-04 Alexander Larsson <alexl@redhat.com>
2531 Add g_app_info_supports_files()
2532 Remove desktop arg from g_app_info_should_show().
2534 * gdesktopappinfo.[ch]:
2535 Implement g_app_info_supports_files() and new should_show()
2536 Add g_desktop_app_info_set_desktop_env() to set the desktop
2537 for should_show(). (This will be set by gtk+ later)
2539 2008-01-04 Alexander Larsson <alexl@redhat.com>
2542 * gmemoryinputstream.[ch]:
2543 Improve API so that you can use multiple chunks
2544 of memory and custom destroy functions. (#506374)
2546 2008-01-03 Alexander Larsson <alexl@redhat.com>
2549 Handle NULL attribute matchers safely, as we return this
2550 for empty attribute matcher strings.
2552 2008-01-03 Alexander Larsson <alexl@redhat.com>
2554 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2555 Add /usr/local to list of internal mountpoints
2557 2008-01-03 Alexander Larsson <alexl@redhat.com>
2560 Check for HAVE_LCHOWN (#505887)
2562 2008-01-03 Alexander Larsson <alexl@redhat.com>
2566 Add define for selinux context attribute.
2567 Fix missing : -> :: namespace separator change
2568 Fix missing _ -> - name change for xattr-sys.
2571 2008-01-03 Alexander Larsson <alexl@redhat.com>
2574 Link to libglib and libgobject directly (#504879)
2575 Patch from Sebastien Bacher
2577 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2579 * gfile.c: Expanded the g_file_new_for_commandline_arg
2580 description a bit, based on the code and the docs of the
2581 other g_file_new_for_* functions.
2583 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2585 * gfilemonitor.h: Fixed typo in docs.
2587 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2589 Updates to GIO documentation. (#506395, Mikael Hermansson)
2591 * gcontenttype.c: Describe memory management for return value of
2592 g_content_types_get_registered(). Missing piece from #505815.
2593 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2594 GVolume, GDrive, GMounts, which hopefully gives the user less
2595 confusions when using this API. Following explainations from
2596 Alexander Larsson on gtk-devel-list.
2598 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2600 * gfileinfo.c: Expand the long description.
2602 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2605 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2606 fix builds with --disable-visibility. (#500273, Christian Persch)
2608 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2610 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2611 in the list of returned app infos.
2613 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2615 * gappinfo.c: Fix a cross-reference
2617 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2619 * gfileinputstream.c:
2620 * gfileoutputstream.c:
2624 * gdesktopappinfo.c:
2626 * gfileinfo.c: Documentation updates.
2628 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2630 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2633 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2635 * gcontenttype.c (g_content_types_get_registered): Don't return
2636 freed memory (#505815, Mikael Hermansson)
2638 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2640 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2641 used to detect statbuf->st_blocks. (#505042)
2643 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2645 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2646 environment handling. (#504829, Cosimo Cecchi)
2648 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2650 * gappinfo.c: Doc improvements
2652 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2655 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2657 * === Released 2.15.0 ===
2659 2007-12-20 Hans Breuer <hans@breuer.org>
2661 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2662 with symbols gwin32appinfo.obj, added gmount.obj
2663 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2665 2007-12-20 Alexander Larsson <alexl@redhat.com>
2671 * gfilenamecompleter.c:
2674 * gpollfilemonitor.c:
2675 File attribute renames:
2677 fs:: -> filesystem::
2678 id::fs -> id::filesystem
2680 2007-12-20 Alexander Larsson <alexl@redhat.com>
2689 Add GMountUnmountFlags to all unmount and
2691 Add g_mount_remount() call.
2693 2007-12-20 Alexander Larsson <alexl@redhat.com>
2695 * gvfs.c (get_default_vfs):
2696 Fix unused variable warning
2698 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2700 * pltcheck.sh: Update
2702 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2704 * gunionvolumemonitor.c:
2705 * gunixmount.c: Remove C99 comments
2707 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2709 * gio.symbols: Add some missing symbols
2711 2007-12-19 Alexander Larsson <alexl@redhat.com>
2714 Make g_io_modules_load_all_in_directory not unuse
2715 loaded modules so that users of it can do stuff
2717 Init internal "module" types.
2718 Initialize static prio and name for types so that
2719 we don't have to load modules to get it.
2721 * gnativevolumemonitor.h:
2723 Move is_supported to parent class so that
2724 non-native monitors can avoid being initialized
2725 too. (For instance GDaemonVolumeMonitor if we're
2726 not using GDaemonVfs.)
2728 * glocaldirectorymonitor.[ch]:
2729 * glocalfilemonitor.[ch]:
2730 * gunionvolumemonitor.c:
2731 * gunixvolumemonitor.c:
2733 Find plugins using the static prio+name to
2734 avoid unnecessarily loading the modules.
2736 2007-12-19 Alexander Larsson <alexl@redhat.com>
2741 2007-12-19 Alexander Larsson <alexl@redhat.com>
2743 * gunionvolumemonitor.c:
2744 Store the native type as GType, not class so that
2745 we can unload it. But still avoid unnecessarily
2748 2007-12-19 David Zeuthen <davidz@redhat.com>
2750 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2751 add signals 'disconnected' and 'eject-button' on GDrive. Add
2752 signal 'removed' on GVolume and 'unmounted' on GMount.
2754 * gdrive.c: (g_drive_base_init):
2756 * gfile.c: (g_file_mount_mountable),
2757 (g_file_mount_enclosing_volume):
2760 * gmount.c: (g_mount_base_init):
2762 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2763 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2764 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2768 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2770 * *.c: Fix up includes in the section docs.
2772 2007-12-17 Alexander Larsson <alexl@redhat.com>
2774 * gnativevolumemonitor.h:
2775 * gunionvolumemonitor.c:
2776 * gunixvolumemonitor.c:
2777 Add is_supported() to GNativeVolumeMonitorClass so
2778 that we can avoid having to create an object to see
2779 if the backend is supported at runtime.
2780 Also add name member and an env var to pick a specific
2781 volume monitor backend.
2785 Add cancellable to _g_mount_get_for_mount_path()
2787 * glocaldirectorymonitor.c:
2788 * glocalfilemonitor.c:
2789 Avoid loading and unloading modules while sorting.
2791 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2794 * gunixmounts.[hc]: Namespace waste reduction, move some
2795 g_get_unix_mount functions to the g_unix_mount namespace.
2798 * gunixvolumemonitor.c:
2800 * glocaldirectorymonitor.c: Update all callers.
2802 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2804 2007-12-17 Alexander Larsson <alexl@redhat.com>
2807 Add doc comments about what GFile operations are
2808 guaranteed to not block.
2810 2007-12-17 Alexander Larsson <alexl@redhat.com>
2813 Add missing #ifdef fixing OSX build.
2814 (#503334, patch from Richard Hult)
2816 2007-12-14 David Zeuthen <davidz@redhat.com>
2820 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2821 (g_mount_eject), (g_mount_eject_finish):
2823 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2824 (get_volume_for_uuid), (get_mount_for_uuid),
2825 (g_union_volume_monitor_class_init),
2826 (get_default_native_type_with_exclude), (get_default_native_type),
2827 (get_native_type), (update_native_type),
2828 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2829 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2830 (g_unix_mount_can_eject), (eject_unmount_cb),
2831 (eject_unmount_read_error), (eject_unmount_do),
2832 (g_unix_mount_unmount), (g_unix_mount_eject),
2833 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2834 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2835 (g_unix_mount_point_guess_can_eject):
2837 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2838 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2839 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2840 (g_unix_volume_mount), (g_unix_volume_eject),
2841 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2842 * gunixvolumemonitor.c: (get_volume_for_uuid),
2843 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2845 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2846 (g_volume_eject), (g_volume_eject_finish):
2848 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2849 (g_volume_monitor_get_mount_for_uuid):
2852 Provide eject() on both GMount and GVolume and utility functions
2853 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2854 ejected. Introduce the concept of UUID's and wire it into GVolume
2855 and GMount and provide API on GVolumeMonitor to find such
2856 instances. Also handle the case where an external
2857 GNativeVolumeMonitor fails to initialize. Lock around the
2858 _g_get_mount_for_mount_path() function such that volume monitor
2859 implementations won't have to do locking themselves.
2861 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2863 * gdesktopappinfo.c:
2869 * gvolume.h: Documentation updates
2871 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2874 * gfile.h: Doc updates
2876 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2879 * gdesktopappinfo.c: Use hash table iterators.
2881 2007-12-14 Alexander Larsson <alexl@redhat.com>
2884 * gfileattribute.[ch]:
2885 * gfileattribute-priv.h:
2886 Move GFileAttributeValue to a private header, as
2890 Make set_attribute take a type + a pointer instead
2891 of a GFileAttributeValue.
2894 Fix up for above changes.
2895 Add g_file_info_get_attribute_data to get
2896 all info in one call, g_file_info_get_attribute_status
2897 to get the status and g_file_info_get_attribute_as_string.
2901 * glocalfileinfo.[ch]:
2905 Make _guess_type static.
2907 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2910 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2911 made mkenums and friends use temporary files to avoid leaving
2912 empty generated files on failure (#503470).
2914 2007-12-14 Alexander Larsson <alexl@redhat.com>
2916 * gmountoperation.h:
2919 2007-12-14 Alexander Larsson <alexl@redhat.com>
2923 * gfileattribute.[ch]:
2926 * glocalfileoutputstream.c:
2927 * gmountoperation.[ch]:
2928 * goutputstream.[ch]:
2929 Clean up all flags enums to not have _FLAGS in them
2930 Make the names of some of the enums better.
2935 2007-12-14 Michael Natterer <mitch@imendio.com>
2937 * gio.symbols: fix g_io_scheduler symbol names.
2939 2007-12-14 Alexander Larsson <alexl@redhat.com>
2945 * gbufferedinputstream.h:
2946 * gbufferedoutputstream.h:
2949 * gdatainputstream.h:
2950 * gdataoutputstream.h:
2951 * gdesktopappinfo.h:
2952 * gdirectorymonitor.h:
2956 * gfileenumerator.h:
2959 * gfileinputstream.h:
2961 * gfilenamecompleter.h:
2962 * gfileoutputstream.h:
2963 * gfilterinputstream.h:
2964 * gfilteroutputstream.h:
2972 * gmemoryinputstream.h:
2973 * gmemoryoutputstream.h:
2975 * gmountoperation.h:
2978 * gsimpleasyncresult.h:
2980 * gunixinputstream.h:
2982 * gunixoutputstream.h:
2986 * inotify/Makefile.am:
2987 Only allow including <gio/gio.h> from apps
2989 2007-12-14 Alexander Larsson <alexl@redhat.com>
2991 * gioscheduler.[ch]:
2992 * gsimpleasyncresult.c:
2993 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2994 Split out the send_to_mainloop call into two versions instead
2995 of having the block argument.
2997 2007-12-13 Alexander Larsson <alexl@redhat.com>
2999 * gcancellable.[ch]:
3001 * gbufferedinputstream.c:
3002 * gfileenumerator.c:
3003 * gfileinputstream.c:
3004 * gfileoutputstream.c:
3008 g_push/pop_current_cancellable ->
3009 g_cancellable_push/pop_current
3011 2007-12-13 Alexander Larsson <alexl@redhat.com>
3015 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3017 2007-12-13 Alexander Larsson <alexl@redhat.com>
3019 * gmountoperation.h:
3020 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3022 2007-12-12 Alexander Larsson <alexl@redhat.com>
3025 Fix race condition when freeing proxy in
3026 g_io_job_send_to_mainloop().
3028 2007-12-12 Alexander Larsson <alexl@redhat.com>
3034 Make attribute namespace separator "::" instead of ":".
3035 Use - instead of _ as separator in attribute names.
3037 2007-12-12 Alexander Larsson <alexl@redhat.com>
3039 * gbufferedinputstream.h:
3040 * gbufferedoutputstream.h:
3041 * gdatainputstream.h:
3042 * gdataoutputstream.h:
3043 * gdirectorymonitor.h:
3044 * gfileenumerator.h:
3045 * gfileinputstream.h:
3047 * gfileoutputstream.h:
3048 * gfilterinputstream.h:
3049 * gfilteroutputstream.h:
3051 * glocalfileinputstream.h:
3052 * glocalfileoutputstream.h:
3053 * gmemoryinputstream.h:
3054 * gmemoryoutputstream.h:
3055 * gnativevolumemonitor.h:
3057 * gunixinputstream.h:
3058 * gunixoutputstream.h:
3061 s/parent/parent_instance/ in GObjects
3063 2007-12-12 Alexander Larsson <alexl@redhat.com>
3068 No need for padding for interfaces
3070 2007-12-12 Alexander Larsson <alexl@redhat.com>
3074 * gbufferedinputstream.c:
3075 * gbufferedoutputstream.c:
3078 * gdatainputstream.[ch]:
3079 * gdesktopappinfo.c:
3080 * gdirectorymonitor.c:
3082 * gfileattribute.[ch]:
3085 * gfileinputstream.h:
3086 * gfilemonitor.[ch]:
3087 * gfileoutputstream.[ch]:
3088 * gfilterinputstream.h:
3089 * gfilteroutputstream.h:
3092 * gloadableicon.[ch]:
3093 * gmemoryinputstream.c:
3094 * gmountoperation.c:
3096 Fix up a bunch of details in the docs.
3101 2007-12-11 David Zeuthen <davidz@redhat.com>
3103 Rework how volumes, drives and volume monitoring is
3104 done. Previosly the model was
3106 GDrive <1-1> GVolume
3108 where a GDrive instance represented a mount point and a GVolume
3109 instance represented a mounted file system. This patch changes it
3112 GDrive <1-N> GVolume <1-1> GMount
3114 where GMount now serves the purpose of the old GVolume and the new
3115 GVolume serves the purpose of the old GDrive. In addition the new
3116 GDrive interface is used to represent a collection of GVolume
3117 instances (typically partitions) and also contains utility to query
3118 the state of the physical drive the GDrive object represents (such
3119 as checking for media, polling the drive, ejecting the media etc.).
3121 Also implement mounting and unmounting in the Unix volume monitor
3122 backend. A subquent patch will introduce GDrive support for ejection
3126 * gdrive.c: (g_drive_is_media_check_automatic),
3127 (g_drive_is_media_removable), (g_drive_has_media),
3128 (g_drive_can_poll_for_media), (g_drive_eject),
3129 (g_drive_eject_finish), (g_drive_poll_for_media),
3130 (g_drive_poll_for_media_finish):
3132 * gfile.c: (g_file_find_enclosing_mount):
3135 * glocaldirectorymonitor.c:
3136 (g_local_directory_monitor_constructor), (mounts_changed):
3137 * glocalfile.c: (get_mount_info),
3138 (g_local_file_find_enclosing_mount),
3139 (g_local_file_file_iface_init):
3140 * gnativevolumemonitor.h:
3141 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3142 (get_connected_drives), (g_union_volume_monitor_class_init),
3143 (child_volume_added), (child_volume_removed),
3144 (child_volume_changed), (child_mount_added), (child_mount_removed),
3145 (child_mount_pre_unmount), (child_mount_changed),
3146 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3147 (g_union_volume_monitor_remove_monitor),
3148 (_g_mount_get_for_mount_path):
3149 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3150 (guess_system_internal), (_g_get_unix_mounts),
3151 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3152 (g_unix_mount_free), (g_unix_mount_compare),
3153 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3154 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3155 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3156 (type_to_icon), (g_unix_mount_guess_name),
3157 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3158 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3159 (_resolve_symlink), (_resolve_dev_root):
3161 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3162 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3163 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3164 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3165 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3166 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3167 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3168 (g_unix_volume_volume_iface_init):
3170 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3171 (get_mounts), (get_volumes), (get_connected_drives),
3172 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3173 (mountpoints_changed), (mounts_changed),
3174 (g_unix_volume_monitor_init),
3175 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3176 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3177 * gunixvolumemonitor.h:
3178 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3179 (g_volume_mount), (g_volume_mount_finish):
3181 * gvolumemonitor.c: (g_volume_monitor_class_init),
3182 (g_volume_monitor_get_connected_drives),
3183 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3186 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3188 * gmountoperation.h (GPasswordFlags): Close the gap
3190 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3192 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3194 * gdesktopappinfo.[hc]: Remove _-prefixes
3196 2007-12-10 Tor Lillqvist <tml@novell.com>
3198 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3201 2007-12-10 Alexander Larsson <alexl@redhat.com>
3203 * gfile.c (g_file_set_display_name):
3204 Don't hardcode '/' (#502727)
3206 2007-12-09 Hans Breuer <hans@breuer.org>
3208 * makefile.msc : follow lib naming convention
3209 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3210 for user and group name, tested with ../tests/gio-ls
3212 2007-12-09 A. Walton <awalton@svn.gnome.org>
3214 * gdesktopappinfo.c:
3220 * gfileenumerator.c:
3225 * gmemoryinputstream.c:
3226 * gmemoryoutputstream.c:
3228 * gsimpleasyncresult.c:
3229 More documentation cleanup and filling in missing information, bringing
3230 GIO to 99% symbol coverage.
3232 2007-12-08 Hans Breuer <hans@breuer.org>
3234 [gio compiles and links on win32, not sure how much already works]
3235 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3236 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3237 base on win32 API; prefer g_lstat() over lstat(); instead of
3238 localtime_r() use an all GLib implementation on win32;
3239 get_mount_info() still needs a win32 specifc implementation
3240 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3241 win32_get_file_user_info to get owner/group info without uid/gid
3242 * glocalfileinputstream.c : include <io.h> on win32
3243 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3244 definition, use g_win32_ftruncate() for G_OS_WIN32
3245 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3246 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3247 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3248 * makefile.msc : updated
3250 2007-12-07 Alexander Larsson <alexl@redhat.com>
3252 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3253 Avoid warning spew if error == NULL
3255 2007-12-07 Alexander Larsson <alexl@redhat.com>
3258 Update docs wrt etags
3260 2007-12-06 Alexander Larsson <alexl@redhat.com>
3263 Include sys/types.h for dev_t (#501919)
3265 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3269 Make abicheck and pltcheck pass.
3271 2007-12-05 Alexander Larsson <alexl@redhat.com>
3274 * giomodule-priv.h: Added.
3275 * glocaldirectorymonitor.c:
3276 * glocalfilemonitor.c:
3277 * gunionvolumemonitor.c:
3279 Actually add the declaration of _g_io_modules_ensure_loaded
3281 2007-12-05 Alexander Larsson <alexl@redhat.com>
3283 * gdatainputstream.c:
3288 * glocaldirectorymonitor.c:
3289 * glocalfilemonitor.c:
3290 * gunionvolumemonitor.c:
3292 Make g_io_modules_ensure_loaded a private function and
3293 don't pass in the dirname. This means we can do magic
3294 directory finding in the win32 version.
3295 Export the actual load-modules-in-directory code so that
3296 gvfs can reuse that.
3298 2007-12-05 Alexander Larsson <alexl@redhat.com>
3300 * gbufferedinputstream.c:
3301 * gbufferedoutputstream.c:
3304 * gfileenumerator.[ch]:
3305 * gfileinputstream.c:
3306 * gfileoutputstream.[ch]:
3307 * gfilterinputstream.c:
3308 * gfilteroutputstream.c:
3309 * ginputstream.[ch]:
3311 * glocalfileenumerator.c:
3312 * glocalfileinputstream.c:
3313 * glocalfileoutputstream.c:
3314 * gmemoryinputstream.c:
3315 * gmemoryoutputstream.c:
3316 * goutputstream.[ch]:
3319 * gunixinputstream.c:
3320 * gunixoutputstream.c:
3321 Rename all struct members named:
3322 read, write, close, truncate, or mount
3323 to foo_fn, as these are reserved names
3324 and could be defined as macros in libc.
3327 2007-12-04 Alexander Larsson <alexl@redhat.com>
3330 (g_output_stream_close):
3331 Only call flush if non-null.
3333 2007-11-30 Dan Winship <danw@gnome.org>
3335 * ginputstream.c (g_input_stream_set_pending): Make this take a
3336 GError and return a gboolean, and do the "outstanding operation"
3337 check (and the "stream is already closed" check) itself.
3338 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3340 * goutputstream.c (g_output_stream_set_pending)
3341 (g_output_stream_clear_pending): Likewise
3343 * gbufferedinputstream.c:
3344 * gfileinputstream.c:
3345 * gfileoutputstream.c: Update for that
3347 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3348 Like g_simple_async_report_error_in_idle, but takes a GError
3349 rather than building one.
3351 2007-11-30 Dan Winship <danw@gnome.org>
3353 * goutputstream.c: Don't cheat and unset the "pending" flag around
3354 inner calls. Instead, call the class method directly rather than
3355 the wrapper function that checks "pending"
3357 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3359 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3361 2007-12-03 Hans Breuer <hans@breuer.org>
3363 [start of port to win32/msvc]
3364 * gcancellable.c : HAVE_UNIST_H and _pipe()
3365 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3366 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3367 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3369 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3370 * glocalvfs.c : use HAVE_PWD_H
3371 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3372 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3373 * Makefile.am : added to EXTRA_DIST
3375 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3377 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3380 2007-12-03 Alexander Larsson <alexl@redhat.com>
3383 Handle OSX style xattrs API (#500506)
3385 2007-12-03 Alexander Larsson <alexl@redhat.com>
3389 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3391 2007-12-02 A. Walton <awalton@svn.gnome.org>
3395 Documentation accuracy fixes.
3397 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3399 * gioenumtypes.c.template: Fix typo.
3401 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3403 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3405 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3407 * gdirectorymonitor.c:
3408 * gfilemonitor.c: Add properties
3410 * gbufferedoutputstream.c: Don't mark buffer-size property
3413 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3415 * gbufferedoutputstream.c: Add auto-grow property.
3417 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3419 * *.c: Unify the capitalization of section headings.
3421 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3423 * gmountoperation.c: Add properties
3425 * gdatainputstream.c: Turn byte-order and newline-type into
3428 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3430 * gioenumtypes.[hc].template: Templates for enum registration
3432 * Makefile.am: Generate gioenumtypes.[hc]
3434 * gio.h: Include gioenumtypes.h
3436 * gfile.h: Add some explicit nicks.
3438 * gio.symbols: Add new symbols
3440 * pltcheck.sh: Adjust
3442 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3444 * *.c: Explain etags and link to the explanation
3446 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3448 * *.c: Explain I/O priority.
3450 * *.c: More coding style fixes.
3452 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3454 * gasyncresult.c: Add another paragraph to the intro,
3455 adjust coding style of example.
3457 2007-11-29 A. Walton <awalton@svn.gnome.org>
3460 Fixes unknown meaning in GAppLaunchContext docs.
3462 Clarify asynchronous ops.
3464 Fix entity tag docs.
3467 Provides missing gtk-doc section, fixes API docs slighly.
3468 * gsimpleasyncresult.c:
3469 Fill in missing info in docs.
3470 * gunixinputstream.c:
3471 * gunixoutputstream.c:
3472 Be more expressive in short description.
3474 Remove gtk-doc stubs for non-public API.
3476 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3478 * *.c: Coding style fixups
3480 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3482 * inotify/inotify-helper.c: Don't export the lock from libgio.
3484 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3487 * abicheck.sh: Fix copy-and-paste leftovers
3489 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3491 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3493 2007-11-28 Alexander Larsson <alexl@redhat.com>
3497 Removed unnecessary file
3499 * gdesktopappinfo.[ch]:
3502 * glocaldirectorymonitor.[ch]:
3504 * glocalfileenumerator.[ch]:
3505 * glocalfileinputstream.[ch]:
3506 * glocalfilemonitor.[ch]:
3507 * glocalfileoutputstream.[ch]:
3509 * gnativevolumemonitor.c:
3510 * gpollfilemonitor.[ch]:
3511 * gunionvolumemonitor.[ch]:
3514 * gunixvolumemonitor.[ch]:
3517 * inotify/ginotifydirectorymonitor.[ch]:
3518 * inotify/ginotifyfilemonitor.[ch]:
3519 * inotify/inotify-helper.c:
3520 Append _ to all internal functions
3524 Export symbols needed for modules
3526 2007-11-28 Alexander Larsson <alexl@redhat.com>
3529 * abicheck.sh: Added.
3530 * makegioalias.pl: Added.
3531 * pltcheck.sh: Added.
3532 * gio.symbols: Added.
3535 Initial work on adding symbol handling.
3538 Correct ifdef guard name
3541 * inotify/Makefile.am:
3542 * xdgmime/Makefile.am:
3543 Include toplevel Makefile.decl
3545 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3547 * gcontenttype.c: Move doc comments to the unix section.
3549 * *.[hc]: More trivial doc corrections.
3551 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3553 * gpollfilemonitor.c:
3557 * gdesktopappinfo.c:
3562 * gdatainputstream.c:
3563 * gdatainputstream.h:
3564 * gdataoutputstream.c:
3565 * gdataoutputstream.h:
3566 * gfileinfo.h: Doc cleanups
3568 2007-11-28 Andre Klapper <a9016009@gmx.de>
3570 * gdesktopappinfo.c: Fix a typo.
3572 2007-11-27 Andre Klapper <a9016009@gmx.de>
3574 * glocalfileoutputstream.c: Fix a typo.
3576 2007-11-27 Alexander Larsson <alexl@redhat.com>
3579 Don't include removed headers
3581 2007-11-27 Alexander Larsson <alexl@redhat.com>
3584 * gsocketinputstream.[ch]: Removed.
3585 * gsocketoutputstream.[ch]: Removed.
3586 * gunixinputstream.[ch]: Added.
3587 * gunixoutputstream.[ch]: Added.
3588 Renamed GSocket*Stream to GUnix*Stream and made
3589 it unix-only, since its not really only for sockets
3590 and it only works on unix (but is highly useful there).
3592 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3598 * gbufferedinputstream.c:
3599 * gbufferedinputstream.h:
3600 * gbufferedoutputstream.c:
3601 * gbufferedoutputstream.h:
3605 * gdatainputstream.c:
3606 * gdatainputstream.h:
3607 * gdataoutputstream.c:
3608 * gdataoutputstream.h:
3609 * gdirectorymonitor.c:
3610 * gdirectorymonitor.h:
3617 * gfileenumerator.c:
3618 * gfileenumerator.h:
3623 * gfileinputstream.c:
3624 * gfileinputstream.h:
3627 * gfilenamecompleter.c:
3628 * gfilenamecompleter.h:
3629 * gfileoutputstream.c:
3630 * gfileoutputstream.h:
3631 * gfilterinputstream.c:
3632 * gfilterinputstream.h:
3633 * gfilteroutputstream.c:
3634 * gfilteroutputstream.h:
3647 * glocalfileoutputstream.c:
3648 * gmemoryinputstream.c:
3649 * gmemoryinputstream.h:
3650 * gmemoryoutputstream.c:
3651 * gmemoryoutputstream.h:
3652 * gmountoperation.c:
3653 * gmountoperation.h:
3656 * gpollfilemonitor.c:
3659 * gsimpleasyncresult.c:
3660 * gsimpleasyncresult.h:
3661 * gsocketinputstream.c:
3662 * gsocketinputstream.h:
3663 * gsocketoutputstream.c:
3664 * gsocketoutputstream.h:
3671 * gunixvolumemonitor.c:
3680 Bumps documentation to 93% symbol coverage, touching most
3681 of the public files. Fixes broken function documentation prototypes.
3682 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3683 gtk-doc headers in private files.
3685 2007-11-27 Jürg Billeter <j@bitron.ch>
3687 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3688 (g_buffered_input_stream_read_byte):
3689 * gbufferedinputstream.h:
3690 New functions for efficient access to buffer and simple single byte
3693 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3694 (g_data_input_stream_read_until):
3695 * gdatainputstream.h:
3696 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3697 read_until with multiple stop chars.
3699 2007-11-27 Alexander Larsson <alexl@redhat.com>
3703 * inotify/Makefile.am:
3704 Use the user-specified giomoduledir
3706 2007-11-27 Alexander Larsson <alexl@redhat.com>
3710 Add catch-all gio.h header
3711 Don't install gdummyfile.h
3713 2007-11-26 Alexander Larsson <alexl@redhat.com>
3715 * Makefile.am (gioinclude_HEADERS):
3716 Remove trailing whitespace
3718 2007-11-26 Alexander Larsson <alexl@redhat.com>
3720 Merge gio-standalone into glib
3722 2007-11-25 Christian Kellner <gicmo@gnome.org>
3724 * gio/goutputstream.c:
3725 Fix small mistake in the docs.
3727 2007-11-21 Christian Persch <chpe@gnome.org>
3729 * gio/glocalfile.c: (g_local_file_trash):
3730 Convert filenames to UTF-8 for GError.
3731 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3732 as per xdg base dir spec.
3734 2007-11-21 Christian Persch <chpe@gnome.org>
3736 * gio/gdesktopappinfo.c:
3737 Use that g_key_file_to_data cannot fail.
3739 Use stock defines for the key file group and key names.
3742 2007-11-21 Alexander Larsson <alexl@redhat.com>
3745 (copy_stream_with_progress):
3746 Make sure we do a final progress callback with
3747 the full total size.
3749 2007-11-21 Alexander Larsson <alexl@redhat.com>
3752 Export g_file_copy_attributes
3753 Remove padding as its not needed for interfaces
3755 2007-11-20 Alexander Larsson <alexl@redhat.com>
3760 Add G_IO_ERROR_WOULD_MERGE for
3761 copy/move dir on dir with overwrite.
3763 2007-11-20 Alexander Larsson <alexl@redhat.com>
3766 * gio/glocalfileinfo.c:
3767 Add COPY_NAME (this is an optional
3768 non-modified utf8 version of the name) that
3771 2007-11-20 Alexander Larsson <alexl@redhat.com>
3773 * gio/glocalfileenumerator.c:
3774 Report errors as GIOError, not GFileError
3776 2007-11-16 Alexander Larsson <alexl@redhat.com>
3778 * gio/glocalfileoutputstream.c:
3779 * gio/gwin32appinfo.c:
3780 Fix typos in strings.
3781 Patch from Luca Ferretti <elle.uca@libero.it>
3783 2007-11-15 Alexander Larsson <alexl@redhat.com>
3786 Post release version bump
3788 === gio-standalone 0.1.2 ===
3790 2007-11-15 Alexander Larsson <alexl@redhat.com>
3792 * docs/reference/gio/Makefile.am:
3793 Fix up distcheck by removing weird
3799 2007-11-14 Alexander Larsson <alexl@redhat.com>
3801 * gio/gdesktopappinfo.c:
3802 * gio/glocaldirectorymonitor.c:
3804 * gio/glocalfileinfo.c:
3805 * gio/inotify/inotify-sub.c:
3806 * programs/gio-cat.c:
3807 * programs/gio-copy.c:
3808 * programs/gio-info.c:
3809 * programs/gio-ls.c:
3810 * programs/gio-monitor-dir.c:
3811 * programs/gio-monitor-file.c:
3812 * programs/gio-mount.c:
3813 * programs/gio-move.c:
3814 * programs/gio-rm.c:
3815 * programs/gio-save.c:
3816 * programs/gio-trash.c:
3817 Leak fixes from Kjartan Maraas
3819 2007-11-14 Alexander Larsson <alexl@redhat.com>
3821 * gio/fam/fam-helper.c:
3823 * gio/glocalfileinfo.c:
3827 * gio/inotify/inotify-diag.c:
3828 * gio/inotify/inotify-kernel.c:
3829 Various code cleanups from Kjartan Maraas
3831 2007-11-14 Alexander Larsson <alexl@redhat.com>
3833 * gio/gioscheduler.c:
3835 Set up threadpool so that we cache 2 unused
3836 idle threads for at 15 secs. This means we
3837 will reuse thread-local data (like dbus connections)
3840 2007-11-14 Alexander Larsson <alexl@redhat.com>
3842 * gio/fam/fam-helper.c:
3843 * gio/fam/gfamdirectorymonitor.c:
3844 * gio/fam/gfamfilemonitor.c:
3846 * gio/gcontenttype.c:
3847 * gio/gdatainputstream.c:
3848 * gio/gdataoutputstream.c:
3852 * gio/gfileattribute.h:
3853 * gio/gfileenumerator.c:
3855 * gio/ginputstream.c:
3858 * gio/glocalfileinfo.c:
3859 * gio/goutputstream.c:
3860 * gio/gpollfilemonitor.c:
3861 * gio/gsimpleasyncresult.c:
3862 * gio/gunixmounts.c:
3863 * gio/gunixmounts.h:
3864 * gio/inotify/ginotifydirectorymonitor.c:
3865 * gio/inotify/ginotifyfilemonitor.c:
3866 * gio/inotify/inotify-diag.c:
3867 * gio/inotify/inotify-kernel.c:
3868 * gio/inotify/inotify-path.c:
3870 * gio/test-streams.c:
3871 * programs/gio-info.c:
3872 * programs/gio-monitor-dir.c:
3873 * programs/gio-monitor-file.c:
3874 Various code cleanups from Kjartan Maraas
3876 2007-11-13 Alexander Larsson <alexl@redhat.com>
3879 Handle the uri-scheme calls for dummy files
3881 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3883 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3884 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3885 to avoid clash with the C++ keyword.
3887 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3889 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3890 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3892 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3894 * gio/glocaldirectorymonitor.c:
3895 * gio/glocalfilemonitor.c:
3896 * gio/gunionvolumemonitor.c:
3897 Don't use g_once_init_*() for initializations that could fail and
3898 could leave the initialization variable set to 0 but use GOnce.
3899 This prevents a deadlock on the second call when trying to create
3900 a monitor and no monitor type is available. Thanks to Sven Herzberg
3903 2007-11-11 Sven Herzberg <sven@imendio.com>
3905 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3906 #ifdef (make it work on MacOS X again)
3908 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3910 Fixes Changelog for last two commits (sorry guys).
3912 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3914 * gio/gbufferedinputstream.c:
3915 * gio/gdatainputstream.c:
3917 * gio/gfileoutputstream.c:
3918 * gio/gfilterinputstream.c:
3919 * gio/glocalfileinputstream.c:
3922 More consistency fixes in g*stream.c files.
3923 Significant clean of gfile's documentation, filling in of
3924 asynchronous operations documentation.
3926 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3928 * gio/gasyncresult.c:
3929 * gio/gbufferedinputstream.c:
3930 * gio/gbufferedoutputstream.c:
3931 * gio/gcancellable.c:
3932 * gio/gcontenttype.c:
3933 * gio/gdatainputstream.c:
3934 * gio/gdataoutputstream.c:
3935 * gio/gdesktopappinfo.c:
3938 * gio/gfileattribute.c:
3939 * gio/gio/gfileenumerator.c:
3941 * gio/gfileinputstream.c:
3942 * gio/gfilemonitor.c:
3943 * gio/gfileoutputstream.c:
3944 * gio/ginputstream.c:
3946 * gio/gioscheduler.c:
3947 * gio/gloadableicon.c:
3948 * gio/glocalfileoutputstream.c:
3949 * gio/gmemoryoutputstream.c:
3950 * gio/gmountoperation.c:
3951 * gio/goutputstream.c:
3953 * gio/gsimpleasyncresult.c:
3954 * gio/gunionvolumemonitor.c:
3955 * gio/gunixmounts.c:
3956 * gio/gunixvolume.c:
3960 * gio/gvolumemonitor.c:
3961 Updated documentation stubs, working towards consistency and
3964 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3966 * gio/gmemoryoutputstream.c:
3967 * gio/gmemoryoutputstream.h:
3968 Change g_memory_output_stream_set_free_on_close() to
3969 g_memory_output_stream_set_free_data() as this makes more sense and
3970 is more consistent with GMemoryInputStream.
3972 2007-11-07 Alexander Larsson <alexl@redhat.com>
3979 Change how we find the default vfs so that
3980 we can handle a gvfs failing to init
3982 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3984 * gio/gbufferedoutputstream.c:
3985 * gio/gdatainputstream.c:
3986 * gio/gdataoutputstream.c:
3987 * gio/gfileinputstream.c:
3988 * gio/gfileoutputstream.c:
3989 * gio/gfilterinputstream.c:
3990 * gio/gfilteroutputstream.c:
3991 * gio/ginputstream.c:
3992 * gio/gmemoryinputstream.c:
3993 * gio/gmemoryoutputstream.c:
3994 * gio/goutputstream.c:
3995 * gio/gsimpleasyncresult.c:
3996 * gio/gsocketinputstream.c:
3997 * gio/gsocketoutputstream.c:
3998 Add guards to the remaining public functions, add a TODO for
3999 an unimplemented function and remove some useless guards.
4001 2007-11-07 Alexander Larsson <alexl@redhat.com>
4004 Autoconf checks for the various types of
4005 getpwuid_r and getgrgid_r
4007 * gio/glocalfileinfo.c:
4008 Use the autoconf checks from above
4010 2007-11-07 Alexander Larsson <alexl@redhat.com>
4013 (g_local_file_query_filesystem_info):
4014 Some fixes for the statvfs case
4016 2007-11-07 Alexander Larsson <alexl@redhat.com>
4019 (g_local_file_query_filesystem_info):
4020 Pick the "best" of statfs / statvfs for the system
4021 if both are availible.
4023 2007-11-07 Alexander Larsson <alexl@redhat.com>
4025 Solaris fixes from Halton.Huo@Sun.COM:
4032 * gio/glocalfileinfo.c:
4033 Fix for solaris definition of getpwuid_r
4035 * gio/test-streams.c:
4036 Use G_GNUC_PRETTY_FUNCTION
4038 2007-11-07 Alexander Larsson <alexl@redhat.com>
4040 * gio/gdesktopappinfo.c:
4041 (update_default_list):
4042 Remove double semicolon.
4043 Patch from Jens Granseuer
4045 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4047 * docs/reference/gio/gio-sections.txt:
4048 * gio/gbufferedinputstream.c:
4049 * gio/gbufferedinputstream.h:
4050 * gio/gdatainputstream.c:
4051 * gio/gfileenumerator.c:
4052 * gio/gioscheduler.c:
4053 * gio/gunionvolumemonitor.c:
4055 * programs/gio-save.c:
4056 Fix typo: availible -> available. Unfortuntely this breaks API
4057 and ABI as g_buffered_input_stream_get_available() was renamed.
4059 * gio/gunixmounts.c:
4060 * gio/gbufferedinputstream.c:
4061 Add guards for public functions.
4063 2007-11-06 Ross Burton <ross@openedhand.com>
4065 * docs/reference/gio/Makefile.am:
4066 Fix invalid += usage which automake 1.10 doesn't like.
4068 2007-11-06 Alexander Larsson <alexl@redhat.com>
4071 (g_app_launch_context_class_init):
4074 Patch from Ross Burton
4076 2007-11-06 Alexander Larsson <alexl@redhat.com>
4079 Post release version bump
4081 === gio-standalone 0.1.1 ===
4083 2007-11-06 Alexander Larsson <alexl@redhat.com>
4086 Bump version to 0.1.1
4088 * gio/gsimpleasyncresult.c:
4089 (g_simple_async_result_set_from_error):
4090 Remove bogus g_return_if_fail
4092 2007-11-06 Alexander Larsson <alexl@redhat.com>
4095 The name is gio-standalone
4098 Add top src/builddir to includedir
4100 2007-11-06 Alexander Larsson <alexl@redhat.com>
4102 * docs/reference/gio/gio-sections.txt:
4104 * gio/gbufferedinputstream.c:
4105 * gio/gbufferedoutputstream.c:
4106 * gio/gcancellable.c:
4107 * gio/gdatainputstream.h:
4108 * gio/gdataoutputstream.c:
4109 * gio/gdataoutputstream.h:
4110 * gio/gdirectorymonitor.c:
4112 * gio/gfileattribute.c:
4113 * gio/gfileattribute.h:
4114 * gio/gfileenumerator.c:
4115 * gio/gfileenumerator.h:
4118 * gio/gfileinputstream.h:
4119 * gio/gfilemonitor.c:
4120 * gio/gfileoutputstream.h:
4121 * gio/glocalfilemonitor.h:
4122 * gio/glocalfileoutputstream.h:
4123 * gio/gmemoryinputstream.c:
4124 * gio/gmemoryoutputstream.c:
4125 * gio/gmountoperation.c:
4126 * gio/goutputstream.c:
4127 * gio/goutputstream.h:
4129 * gio/gsimpleasyncresult.c:
4130 * gio/gunixmounts.c:
4131 * gio/gunixmounts.h:
4133 * gio/inotify/inotify-helper.c:
4134 Fix gtk-doc warnings
4136 Patch from Ross Burton
4138 2007-11-06 Alexander Larsson <alexl@redhat.com>
4140 * gio/gfilenamecompleter.c:
4141 (g_filename_completer_get_completions):
4144 * gio/gunixvolume.c:
4145 Remove unused function
4147 Patches from Ross Burton
4149 2007-11-06 Alexander Larsson <alexl@redhat.com>
4154 Padding not needed for interfaces
4156 2007-11-06 Alexander Larsson <alexl@redhat.com>
4158 * gio/gfilemonitor.c:
4162 Make giotypes.h an internal file
4165 * gio/gbufferedinputstream.h:
4166 * gio/gbufferedoutputstream.h:
4167 * gio/gcancellable.h:
4168 * gio/gdatainputstream.h:
4169 * gio/gdataoutputstream.h:
4170 * gio/gdirectorymonitor.c:
4171 * gio/gdirectorymonitor.h:
4176 * gio/gfileattribute.h:
4177 * gio/gfileenumerator.h:
4182 * gio/gfilemonitor.c:
4183 * gio/gfilemonitor.h:
4184 * gio/gfilenamecompleter.c:
4185 * gio/gfilenamecompleter.h:
4186 * gio/gfilterinputstream.h:
4187 * gio/gfilteroutputstream.h:
4188 * gio/ginputstream.h:
4189 * gio/gmemoryinputstream.h:
4190 * gio/gmemoryoutputstream.h:
4191 * gio/gmountoperation.c:
4192 * gio/gmountoperation.h:
4193 * gio/gnativevolumemonitor.c:
4194 * gio/goutputstream.h:
4197 * gio/gsimpleasyncresult.c:
4198 * gio/gsimpleasyncresult.h:
4199 * gio/gsocketinputstream.h:
4200 * gio/gsocketoutputstream.h:
4201 * gio/gthemedicon.c:
4202 * gio/gthemedicon.h:
4206 * gio/gvolumemonitor.c:
4207 * gio/gvolumemonitor.h:
4208 Add padding in classes where it seems useful
4209 Don't include giotypes.h from public headers
4210 Move in Class definitions into c file where possible
4215 2007-11-06 Alexander Larsson <alexl@redhat.com>
4217 * docs/reference/gio/gio-docs.xml:
4218 Better structure for API docs
4220 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4223 * gio/gloadableicon.c:
4224 * gio/gsimpleasyncresult.c:
4225 * gio/gthemedicon.c:
4226 Add some more guards to public functions. Only files missing are now
4229 2007-11-06 Alexander Larsson <alexl@redhat.com>
4231 * docs/reference/gio/gio-docs.xml:
4232 Remove old files, add missing ones
4234 2007-11-06 Alexander Larsson <alexl@redhat.com>
4236 * docs/reference/gio/gio-sections.txt:
4239 Hide implementation classes
4241 * gio/gdriveprivate.h:
4242 * gio/gvolumeprivate.h:
4243 Remove non-existing function declarations
4245 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4248 Fix compilation warnings and add guards to the new functions.
4250 * gio/gasyncresult.c:
4252 Add guards to the public functions.
4255 Implement get_path().
4257 2007-11-06 Alexander Larsson <alexl@redhat.com>
4259 * gio/gfilenamecompleter.c:
4260 Make g_filename_completer_get_completions
4261 return char ** instead of GList for
4264 * docs/reference/gio/gio-docs.xml:
4265 * docs/reference/gio/gio-sections.txt:
4267 * gio/gasyncresult.c:
4268 * gio/gbufferedinputstream.c:
4269 * gio/gbufferedoutputstream.c:
4270 * gio/gcancellable.c:
4271 * gio/gcontenttype.c:
4272 * gio/gdatainputstream.c:
4273 * gio/gdataoutputstream.c:
4274 * gio/gdesktopappinfo.c:
4275 * gio/gdirectorymonitor.c:
4279 * gio/gfileattribute.c:
4280 * gio/gfileenumerator.c:
4283 * gio/gfileinputstream.c:
4284 * gio/gfilemonitor.c:
4285 * gio/gfilenamecompleter.c:
4286 * gio/gfilenamecompleter.h:
4287 * gio/gfileoutputstream.c:
4288 * gio/gfilterinputstream.c:
4290 * gio/ginputstream.c:
4292 * gio/gioscheduler.c:
4293 * gio/gloadableicon.c:
4294 * gio/glocaldirectorymonitor.c:
4296 * gio/glocalfileinputstream.c:
4297 * gio/glocalfilemonitor.c:
4298 * gio/glocalfileoutputstream.c:
4300 * gio/gmemoryinputstream.c:
4301 * gio/gmemoryoutputstream.c:
4302 * gio/gmountoperation.c:
4303 * gio/goutputstream.c:
4304 * gio/gpollfilemonitor.c:
4306 * gio/gsimpleasyncresult.c:
4307 * gio/gsocketinputstream.c:
4308 * gio/gsocketoutputstream.c:
4309 * gio/gthemedicon.c:
4310 * gio/gunionvolumemonitor.c:
4312 * gio/gunixmounts.c:
4313 * gio/gunixvolume.c:
4314 * gio/gunixvolumemonitor.c:
4318 * gio/gvolumemonitor.c:
4319 * gio/gwin32appinfo.c:
4320 Add (mostly stub) doc strings to public functions.
4321 Patch from Andrew Walton (awalton@gmail.com)
4323 2007-11-06 Alexander Larsson <alexl@redhat.com>
4325 * gio/gappinfo.[ch]:
4326 Added GAppLaunchContext object and pass that to launch.
4327 This allows simple implementation of both
4328 launch-on-screen and startup notification via a gtk+
4329 subclass of GAppLaunchContext
4331 * gio/gdesktopappinfo.c:
4332 Implement GAppLaunchContext API
4334 * gio/gwin32appinfo.c:
4337 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4339 * gio/gmountoperation.c:
4340 Add some guards to GMountOperation's public functions.
4342 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4346 * gio/gcancellable.c:
4347 * gio/gdirectorymonitor.c:
4349 * gio/gfileenumerator.c:
4350 * gio/gfilemonitor.c:,
4351 * gio/gfilenamecompleter.c:
4354 * gio/gioscheduler.c:
4358 * gio/gvolumemonitor.c:
4359 Add even more guards to various public functions.
4361 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4364 Add guards to the public functions of GAppInfo.
4366 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4368 * gio/gcontenttype.c:
4369 Add some more guards for public functions.
4371 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4373 * gio/fam/fam-module.c:
4374 * gio/fam/gfamdirectorymonitor.c:
4375 * gio/fam/gfamdirectorymonitor.h:
4376 * gio/fam/gfamfilemonitor.c:
4377 * gio/fam/gfamfilemonitor.h:
4378 * gio/inotify/ginotifydirectorymonitor.c:
4379 * gio/inotify/ginotifydirectorymonitor.h:
4380 * gio/inotify/ginotifyfilemonitor.c:
4381 * gio/inotify/ginotifyfilemonitor.h:
4382 Add proper copyright information and remove an unused variable
4383 in the GInotifyFileMonitor constructor.
4385 * gio/gcancellable.c:
4386 Add a guard for a public function and an assertion to prevent
4387 an undefined program state.
4389 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4391 * gio/gfileattribute.c:
4392 Don't run into an assertion if the given attribute value is NULL
4393 in g_file_attribute_value_get_*() but instead return a fallback
4394 value that makes sense in most situations. Passing them a attribute
4395 value with the wrong type will still run into an assertion.
4397 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4399 * gio/gfileattribute.c:
4401 Add even more guards to the public functions. Also fix the refcounting
4402 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4403 let g_file_info_list_attributes() filter the attributes by namespace
4404 instead of simply ignoring the namespace parameter.
4406 2007-11-03 Sven Herzberg <sven@imendio.com>
4408 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4409 (This makes gio work on MacOS X again)
4411 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4414 Build the gio subdirectory before the docs. Otherwise the build will
4417 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4418 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4419 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4420 Add guards to the public functions.
4422 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4424 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4425 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4426 to prevent a compiler warning.
4428 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4429 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4430 return something in the non-void function find_topdir_for().
4432 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4439 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4441 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4442 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4443 * gwin32appinfo.c (g_win32_app_info_launch):
4444 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4445 envp_for_startup_id, g_desktop_app_info_launch,
4446 g_desktop_app_info_launch_uris):
4448 Give an opaque 'startup_id' string instead of 'envp'.
4449 Support empty file lists for launching new windows.
4450 Fix infinite recursion bug when launching URIs.
4452 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4455 Add guard to the new g_file_get_uri_scheme() function.
4457 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4460 Convert a g_return_val_if_fail() to setting the GError instead as
4461 otherwise applications have to verify the parameter before otherwise
4462 and the parameter might come directly from the user.
4464 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4466 * gio/inotify/ginotify*.[ch]:
4467 Add missing copyright information.
4469 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4472 Add guards in the beginning of public functions to check for valid
4473 parameters and fix a bug in copy_stream_with_progress() that could've
4474 caused writing less bytes than reading.
4475 * gio/glocalfileinfo.c:
4476 Check for a NULL parameter and set the GError accordingly then.
4477 * gio/goutputstream.c:
4478 Fix the same bug as in gfile.c that could've caused writing less bytes
4479 than reading in g_output_stream_real_splice().
4481 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4484 Use the correct gvolumeprivate.h naming
4486 2007-11-01 Christian Kellner <gicmo@gnome.org>
4489 Remove leftover "$(daemon_sources)" entry.
4491 2007-11-01 Christian Kellner <gicmo@gnome.org>
4496 Add copyright information to source files.
4498 2007-11-01 Alexander Larsson <alexl@redhat.com>
4502 Add g_file_get_uri_scheme
4504 2007-11-01 Alexander Larsson <alexl@redhat.com>
4507 * gio/gdesktopappinfo.c:
4508 * gio/gwin32appinfo.c:
4509 Add g_app_info_get_default_for_uri_scheme.
4511 2007-11-01 Alexander Larsson <alexl@redhat.com>
4514 Correct filename for gdriveprivate.h
4516 2007-10-31 Alexander Larsson <alexl@redhat.com>
4519 Rename id:value to id:file
4522 * gio/glocalfileinfo.c:
4525 2007-10-31 Alexander Larsson <alexl@redhat.com>
4527 * gio/gunixvolume.c:
4529 Remove g_volume_get_platform_id, as thats not
4530 needed with the simpler union volume monitor
4532 2007-10-31 Alexander Larsson <alexl@redhat.com>
4535 * gio/guniondrive.[ch]: Removed.
4536 * gio/gunionvolume.[ch]: Removed.
4537 Remove GUnionDrive/Volume
4539 * gio/gunionvolumemonitor.c:
4540 Simplify union volume monitor, now we
4541 only have one native volume monitor and
4542 we use the actual volumes/drives from the
4543 child monitors instead of wrapping them
4545 * gio/gnativevolumemonitor.[ch]:
4546 Base class for native volume monitors.
4547 Includes priority and get_volume_for_mountpoint
4550 Add g_file_find_enclosing_volume
4553 Remove volume name fs attribute
4554 Add readonly fs attribute
4557 Implement readonly attribute
4558 remove volume name attribute
4559 Implement find_enclosing volume
4561 * gio/gunixmounts.c:
4562 Add a volume for "/".
4564 * gio/gunixvolume.[ch]:
4565 Set better name for /
4567 * gio/gunixvolumemonitor.[ch]:
4568 Derive from GNativeVolumeMonitor
4569 Implement get_volume_for_mountpoint
4572 GVolume typedef moved to gfile.h
4574 * gio/gvolumeprivate.h:
4575 Add g_volume_get_for_mount_path
4577 2007-10-31 Alexander Larsson <alexl@redhat.com>
4579 * gio/gunixmounts.[ch]:
4580 Add cache info to unix mount listers
4581 Make getmntent use threadsafe
4582 Add is_system_internal attribute for GUnixMount
4584 * gio/gunixvolume.c:
4585 (g_unix_volume_new):
4586 Use is_system_internal instead of own code
4588 * gio/glocaldirectorymonitor.c:
4589 * gio/gunixvolumemonitor.c:
4590 Update to new gunixmounts API
4595 2007-10-30 Alexander Larsson <alexl@redhat.com>
4598 Add volume name fsinfo attribute
4601 Read volume name info
4603 * gio/gunionvolumemonitor.c:
4604 Fix infinite loops when finalizing a union volume monitor
4606 2007-10-30 Alexander Larsson <alexl@redhat.com>
4608 * gio/goutputstream.[ch]:
4609 Add splice() with default implementation
4611 * gio/gsocketoutputstream.c:
4612 (g_socket_output_stream_write):
4613 Return error on cancellation correctly.
4615 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4617 * gio/glocalfile.c (g_local_file_trash):
4618 Do not leak a string.
4620 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4622 * gio/gfile.c (g_file_load_contents):
4623 Unref the stream after closing it.
4625 2007-10-25 Alexander Larsson <alexl@redhat.com>
4627 * gio/gioscheduler.h:
4630 2007-10-25 Alexander Larsson <alexl@redhat.com>
4634 Add g_file_has_uri_scheme and implement for local files
4636 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4638 * gio/gdesktopappinfo.c: do not leak a string.
4640 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4642 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4643 (g_local_directory_monitor_new):
4644 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4645 (g_local_file_monitor_new):
4646 Only look for the monitor type that should be used the first time
4647 and use g_qsort_with_data() instead of our own bubble sort
4650 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4653 * gio/fam/Makefile.am:
4654 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4655 * gio/fam/fam-helper.h:
4656 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4657 * gio/fam/gfamdirectorymonitor.c:
4658 * gio/fam/gfamdirectorymonitor.h:
4659 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4660 * gio/fam/gfamfilemonitor.h:
4661 * gio/glocaldirectorymonitor.c:
4662 * gio/glocaldirectorymonitor.h:
4663 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4664 * gio/glocalfilemonitor.h:
4665 * gio/inotify/Makefile.am:
4666 * gio/inotify/ginotifydirectorymonitor.c:
4667 * gio/inotify/ginotifydirectorymonitor.h:
4668 * gio/inotify/ginotifyfilemonitor.c:
4669 * gio/inotify/ginotifyfilemonitor.h:
4670 Implement the FAM and Inotify monitors as
4671 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4672 their own GIO module. GLocal(Directory|File)Monitor will use the
4673 monitor with the highest rank that is supported on that machine.
4675 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4678 Change GIO module dir to $(libdir)/gio/modules and change
4679 the log domain from GVFS to GIO. Also only export symbols starting
4680 with g_ in the resulting library.
4681 * gio/test-streams.c: (main):
4682 Set log handler for the GIO log domain.
4684 2007-10-22 Alexander Larsson <alexl@redhat.com>
4686 * gio/gfilenamecompleter.[ch]:
4687 Add g_filename_completer_set_dirs_only
4689 2007-10-22 Alexander Larsson <alexl@redhat.com>
4692 * gio/gurifuncs.[ch]:
4693 Add some simple URI helpers
4695 * gio/gfilenamecompleter.[ch]:
4696 Added object for filename (parse name actually) completion
4699 Handle ~ in parse names
4701 2007-10-17 Alexander Larsson <alexl@redhat.com>
4704 * gio/glocalfileinfo.c:
4705 Add and implement id:value attribute
4707 2007-10-17 Alexander Larsson <alexl@redhat.com>
4710 * gio/guniondrive.c:
4712 Add and implement g_drive_has_volumes
4714 2007-10-17 Alexander Larsson <alexl@redhat.com>
4717 * gio/glocalfileinfo.[ch]:
4718 Add unix:is_mountpoint and implement for local files
4720 2007-10-16 Alexander Larsson <alexl@redhat.com>
4722 * gio/gunionvolumemonitor.c:
4723 (g_union_volume_monitor_init):
4724 Fix up the unix type getting so that it works with gcc
4726 2007-10-12 Alexander Larsson <alexl@redhat.com>
4729 * gio/glocalfileinfo.c:
4730 Add thumbnail:failed to file info
4732 2007-10-12 Richard Hult <richard@imendio.com>
4734 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4735 optimizing away the get_type call (happens with some gcc versions,
4736 like the one shipped with OS X 10.4).
4738 2007-10-12 Alexander Larsson <alexl@redhat.com>
4740 * gio/glocalfileinfo.c:
4741 (_g_local_file_info_set_attribute):
4742 Fix build if not HAVE_XATTR
4743 Patch from Milosz Derezynski <internalerror@gmail.com>
4745 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4747 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4748 around for review, otherwise I would have asked you before
4751 2007-10-11 Alexander Larsson <alexl@redhat.com>
4754 Add thumbnail:path attribute
4756 * gio/glocalfileinfo.c:
4757 Implement thumbnail:path for local files
4759 2007-10-11 Alexander Larsson <alexl@redhat.com>
4761 * gio/glocalfileinfo.c:
4762 (_g_local_file_info_get):
4763 Avoid duplicate icon names
4765 2007-10-11 Alexander Larsson <alexl@redhat.com>
4767 * gio/gthemedicon.[ch]:
4768 Change g_themed_icon_get_names return type to const
4770 2007-10-10 Alexander Larsson <alexl@redhat.com>
4772 * gio/glocalfileinfo.c:
4773 Don't reference freed memory
4775 2007-10-10 Alexander Larsson <alexl@redhat.com>
4777 * gio/gfileattribute.c:
4780 * gio/glocalfileinfo.c:
4783 2007-10-10 Alexander Larsson <alexl@redhat.com>
4786 Check for NULL icons
4788 * gio/gfileattribute.c:
4789 Don't dup when getting objects (same as for string attributes)
4791 * gio/gicon.c (g_icon_equal):
4792 Safely handle NULLs in equal
4794 2007-10-10 Alexander Larsson <alexl@redhat.com>
4797 Fix c++ compilation issues
4798 Patch from Milosz Derezynski <internalerror@gmail.com>
4800 2007-10-10 Alexander Larsson <alexl@redhat.com>
4802 * programs/gio-monitor-dir.c:
4803 Don't crash if dir monitor not supported.
4805 2007-10-09 Alexander Larsson <alexl@redhat.com>
4808 Add missing G_END_DECLS
4810 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4812 * gio/gfile.c: (g_file_set_display_name),
4813 (g_file_query_settable_attributes),
4814 (g_file_query_writable_namespaces):
4815 Return NULL not FALSE on errors as the return type is a pointer.
4817 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4819 * gio/glocalfile.c: (g_local_file_monitor_file):
4820 Don't call monitor_file on the default interface vtable (which
4821 is NULL) but simply return NULL. The caller, GFile, will create a
4822 polling monitor if NULL is returned.
4824 2007-10-09 Alexander Larsson <alexl@redhat.com>
4828 * gio-unix-2.0.pc.in:
4829 Add gio-unix-2.0.pc if OS_UNIX
4832 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4834 2007-10-09 Alexander Larsson <alexl@redhat.com>
4836 * gio/gunixmounts.[ch]:
4837 Make unix mount monitoring API sane.
4838 Now its just a object with mounts_changed
4839 and mountpoints_changed signals.
4841 * gio/glocaldirectorymonitor.c:
4842 * gio/gunixvolumemonitor.c:
4843 Use new mount monitor api
4845 2007-10-09 Alexander Larsson <alexl@redhat.com>
4847 * gio/gunixmounts.[ch]:
4848 Move guess type into one call for mounts and one for mountpoints
4851 * gio/gunixvolume.c:
4854 2007-10-09 Alexander Larsson <alexl@redhat.com>
4856 * gio/gunixmounts.[ch]:
4857 Remove _ prefix in preparation to make this semi-public
4858 Hide implementation of structs
4860 * gio/glocaldirectorymonitor.c:
4862 * gio/gunixvolume.c:
4863 * gio/gunixvolumemonitor.c:
4864 Update for above API changes
4866 2007-10-08 Alexander Larsson <alexl@redhat.com>
4869 Better polling fallback. This also handles the case where we have
4870 a monitor_file implementation, but it fails.
4872 2007-10-08 Alexander Larsson <alexl@redhat.com>
4876 * gio/gunixmounts.c:
4877 * programs/gio-monitor-dir.c:
4878 * programs/gio-monitor-file.c:
4879 Added cancellable to file monitoring calls.
4880 These are really sync calls and need this.
4882 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4884 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4885 (g_local_vfs_class_init):
4886 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4887 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4889 2007-10-05 Alexander Larsson <alexl@redhat.com>
4891 * gio/gdirectorymonitorprivate.h:
4892 * gio/gfilemonitorprivate.h:
4893 * gio/gdirectorymonitor.h:
4894 * gio/gfilemonitor.h:
4895 Remove *private.h and move to the public API, so that
4896 we can do implementations outside gio (such as in gvfs)
4898 * gio/gdirectorymonitor.c:
4899 * gio/gfilemonitor.c:
4900 * gio/glocaldirectorymonitor.c:
4901 * gio/gpollfilemonitor.c:
4902 * gio/inotify/inotify-helper.c:
4903 * gio/fam/fam-helper.c:
4904 Update to the new header names
4906 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4908 * gio/gdirectorymonitor.c:
4909 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4912 2007-10-04 Alexander Larsson <alexl@redhat.com>
4914 * gio/glocalfileinfo.c (get_access_rights):
4915 Set CAN_TRASH when we can move the file.
4916 We should really also check for a parent trash dir.
4918 2007-10-04 Alexander Larsson <alexl@redhat.com>
4920 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4921 Add can_trash access attribute
4923 2007-10-04 Alexander Larsson <alexl@redhat.com>
4926 (g_local_file_trash):
4927 Create info file first. This is per-spec and allows
4928 us to actually trash directories.
4930 2007-10-02 Alexander Larsson <alexl@redhat.com>
4932 * gio/gdesktopappinfo.c:
4933 Implement the new mime support code.
4934 Always set app as handling mimetype when being set as default for it
4936 2007-10-01 Alexander Larsson <alexl@redhat.com>
4938 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4939 Fix up check for xattrs:
4941 2007-10-01 Alexander Larsson <alexl@redhat.com>
4944 (g_app_info_set_as_default_for_extension):
4945 (g_app_info_add_supports_type):
4946 (g_app_info_can_remove_supports_type):
4947 (g_app_info_remove_supports_type):
4948 Make these fail nicely if not implemented
4950 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4952 * gio/glocalfileoutputstream.c:
4953 * gio/glocalfileoutputstream.h:
4958 * programs/gio-save.c:
4959 Add a GFileCreateFlags argument to operations that can create
4962 2007-10-01 Alexander Larsson <alexl@redhat.com>
4964 * gio/gappinfo.[ch]:
4965 * gio/gdesktopappinfo.c:
4966 Add more (stubbed out) mime API needed for nautilus
4968 2007-10-01 Alexander Larsson <alexl@redhat.com>
4971 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4972 Add g_app_info_set_as_default_for_extension.
4974 * gio/gdesktopappinfo.c:
4975 Dummy for g_app_info_set_as_default_for_extension
4976 Support flags in g_app_info_create_from_commandline
4978 * gio/gwin32appinfo.c:
4980 Update for API changes
4982 * gio/gthemedicon.c:
4983 Properly NULL-terminate list of icon names
4985 2007-09-28 Alexander Larsson <alexl@redhat.com>
4987 * gio/gloadableicon.h:
4988 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4990 2007-09-28 Alexander Larsson <alexl@redhat.com>
4993 Install headers in $includedir/gio-standalone/
4995 * gio-2.0.pc.in: Added.
4996 * gio-standalone.pc.in: Removed.
4999 Renamed pkg-config file to match glib (for future move)
5000 Update to the new include dir
5003 Add more TODO comments
5005 2007-09-28 Alexander Larsson <alexl@redhat.com>
5007 * gio/gdesktopappinfo.[ch]:
5008 Expose new_from_filename
5009 Add getter for is_hidden and handle it better
5011 2007-09-28 Alexander Larsson <alexl@redhat.com>
5013 * gio/gfileinfo.[ch]:
5014 Rename g_file_size_format_for_display to
5015 g_format_file_size_for_display.
5016 Now it doesn't have the g_file prefix, so we
5017 can later move it to glib.
5019 2007-09-28 Alexander Larsson <alexl@redhat.com>
5021 * gio/gappinfo.[ch]:
5022 Add g_app_info_get_id and g_app_info_get_executable.
5023 Make all getters non-reffing
5024 Make g_app_info_launch take GFile arguments.
5025 Add must_support_uris argument to g_app_info_get_default_for_type.
5027 * gio/gwin32appinfo.c:
5028 Update to GAppInfo api changes
5030 * gio/gdesktopappinfo.c:
5031 Update to GAppInfo api changes
5032 Implement supports_xdg_startup_notify
5034 * gio/gfileicon.c (g_file_icon_get_file):
5035 Make getter non-reffing.
5040 2007-09-27 Alexander Larsson <alexl@redhat.com>
5042 * gio/gfileinfo.[ch]:
5043 Add g_file_size_format_for_display helper
5045 2007-09-27 Alexander Larsson <alexl@redhat.com>
5047 * gio/glocalfileinfo.c:
5048 Set UNIX_GID from gid, not from uid
5050 2007-09-27 Alexander Larsson <alexl@redhat.com>
5053 Add g_file_set_attributes_async
5055 2007-09-27 Alexander Larsson <alexl@redhat.com>
5057 * gio/glocalfile.c (g_local_file_set_display_name):
5058 Fix set_display_name to actually rename to the right place.
5059 Use lstat to look for existing files so we don't overwrite
5062 2007-09-26 Alexander Larsson <alexl@redhat.com>
5065 Add g_file_set_display_name_async()
5067 2007-09-26 Alexander Larsson <alexl@redhat.com>
5070 Add load_partial_contents async calls
5073 Make internal function static
5075 2007-09-26 Alexander Larsson <alexl@redhat.com>
5077 * gio/glocalfileinfo.c:
5078 Correctly detect broken symlinks
5080 2007-09-26 Alexander Larsson <alexl@redhat.com>
5082 * gio/gcancellable.c (g_cancellable_cancel):
5083 Allow cancel on NULL cancellable
5085 2007-09-25 Alexander Larsson <alexl@redhat.com>
5087 * gio/gsimpleasyncresult.c:
5088 Don't allocate g_error manually.
5089 Fixes g_slice/g_new mixup crash
5091 2007-09-25 Alexander Larsson <alexl@redhat.com>
5093 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5094 Actually set active_backend.
5095 This means the monitor will be cancelled correctly.
5097 2007-09-25 Alexander Larsson <alexl@redhat.com>
5099 * gio/gdirectorymonitor.c:
5100 Set timeout to NULL when destroying
5102 2007-09-25 Alexander Larsson <alexl@redhat.com>
5105 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5106 that is a better description of the error.
5108 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5110 * gio/gvfs.c: (g_vfs_get_local):
5111 Make the local vfs variable static. The same instance should
5114 2007-09-24 Alexander Larsson <alexl@redhat.com>
5116 * gio/glocalfileinfo.c:
5117 Pass in actual length read into sniffer, not the length
5120 2007-09-21 Alexander Larsson <alexl@redhat.com>
5122 * gio/gfileenumerator.c:
5125 * gio/gfileinputstream.c:
5126 * gio/gfileoutputstream.c:
5127 * gio/ginputstream.c:
5128 * gio/goutputstream.c:
5129 Don't crash if async callbacks are NULL
5131 2007-09-20 Alexander Larsson <alexl@redhat.com>
5134 Add async enumerate_children method and default
5137 2007-09-20 Alexander Larsson <alexl@redhat.com>
5140 Add g_file_contains_file & g_file_get_relative_path, since they
5141 were needed for nautilus.
5142 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5147 Implement new methods
5149 2007-09-17 Alexander Larsson <alexl@redhat.com>
5152 * gio/gfileinputstream.[ch]:
5153 * gio/gfileoutputstream.[ch]:
5155 * gio/glocalfileenumerator.[ch]:
5156 * gio/glocalfileinfo.[ch]:
5157 * gio/glocalfileinputstream.c:
5158 * gio/glocalfileoutputstream.c:
5159 * gio/gpollfilemonitor.c:
5160 * programs/gio-copy.c:
5161 * programs/gio-info.c:
5162 * programs/gio-move.c:
5163 Rename get_file_info to query_info() to make it clearer
5164 that these are not simple getters, but do i/o.
5166 2007-09-17 Alexander Larsson <alexl@redhat.com>
5168 * gio/gdatainputstream.[ch]:
5169 * gio/test-streams.c:
5170 Use _read_XXX instead of _get_XXX for the i/o calls
5173 2007-09-17 Alexander Larsson <alexl@redhat.com>
5176 Added needed stuff to TODO comment
5178 2007-09-17 Alexander Larsson <alexl@redhat.com>
5180 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5181 Don't error out removing the backup copy if it doesn't
5184 2007-09-14 Alexander Larsson <alexl@redhat.com>
5186 * programs/Makefile.am:
5187 * programs/gvfs-*.c:
5189 Renamed apps from gvfs-xxx to gio-xxx.
5191 2007-09-14 Alexander Larsson <alexl@redhat.com>
5194 * gio/gfileoutputstream.[ch]:
5195 * gio/glocalfileoutputstream.c:
5196 * programs/gvfs-save.c:
5197 g_file_output_stream_get_etag doesn't do i/o, so remove
5198 cancellation and error.
5200 2007-09-14 Alexander Larsson <alexl@redhat.com>
5203 Add new_etag output to replace_contents functions
5205 2007-09-14 Alexander Larsson <alexl@redhat.com>
5207 * gio/gfileoutputstream.[ch]:
5208 Add async get_file_info and default implementation
5210 2007-09-14 Alexander Larsson <alexl@redhat.com>
5212 * gio/gfileinputstream.c:
5213 Implement fallback wrapper for async get_file_info
5215 2007-09-14 Alexander Larsson <alexl@redhat.com>
5218 Add etag out argument to load_contents
5223 2007-09-14 Alexander Larsson <alexl@redhat.com>
5225 * gio/gcontenttype.c (looks_like_text):
5226 Whitespace like tab, cr and lf do not make the
5229 2007-09-14 Alexander Larsson <alexl@redhat.com>
5231 * gio/gfileinputstream.[ch]:
5232 Add async get_file_info.
5234 2007-09-13 Alexander Larsson <alexl@redhat.com>
5236 * gio/goutputstream.c (g_output_stream_write_all):
5237 Allow NULL for bytes_written
5239 2007-09-13 Alexander Larsson <alexl@redhat.com>
5241 * gio/gmemoryinputstream.[ch]:
5242 Add accessors for data
5244 2007-09-13 Alexander Larsson <alexl@redhat.com>
5246 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5247 Don't crash if length is NULL