1 2008-10-23 Alexander Larsson <alexl@redhat.com>
3 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
6 (_g_local_file_info_get):
7 Don't return the fallback icon (text-x-generic) for all files.
8 This is causing problems with theme icon lookup and custom mime
9 icons, as the generic fallback overrides custom mime icons in
12 This is a slight change as applications might not get an icon wher
13 they previously did. But there is no guarantee to get on neither before
14 or after this change, so it should not break applications. Changes
15 to nautilus and gtk+ will be done to manually use the generic fallback
16 icon if no icon is found, but this is only required for rare cases.
18 2008-10-21 Alexander Larsson <alexl@redhat.com>
21 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
23 2008-10-21 Alexander Larsson <alexl@redhat.com>
25 Bug 555740 - gicon serialization
26 Based on patch from David Zeuthen
30 Add g_icon_to_string() and g_icon_new_for_string().
36 Implement icon serialization for built-in icon types
40 Added GIcon serialization test
42 2008-10-16 Matthias Clasen <mclasen@redhat.com>
44 * === Released 2.19.0 ===
46 2008-10-16 Matthias Clasen <mclasen@redhat.com>
48 Bug 556422 – g_file_enumerator_next_file: unclear whether return
49 value needs to be freed
51 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
52 the return value docs. Pointed out by Armin Burgmeier
54 2008-10-14 Matthias Clasen <mclasen@redhat.com>
56 Bug 556334 – Warning when building without selinux support
58 * glocalfileinfo.c: Avoid compiler warnings when selinux is
59 disabled. Patch by Pascal Terjan
61 2008-10-14 Matthias Clasen <mclasen@redhat.com>
63 Bug 556335 – make check fails in abicheck.sh
65 * gio.symbols: Add g_file_attribute_info_list_get_type.
66 Pointed out by Pascal Terjan.
68 2008-10-13 Alexander Larsson <alexl@redhat.com>
71 When adding an application as handling a mime type (but
72 not as the default), copy the full list of desktop ids handling
73 that type in before adding the new one on the end of the list.
74 This means we're not accidentally changing the default by overriding
75 the info from the later directories in the search path.
77 Also, fixes small leak of removed_entries.
79 2008-10-12 David Zeuthen <davidz@redhat.com>
82 * gunionvolumemonitor.c:
84 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
86 2008-10-10 Alexander Larsson <alexl@redhat.com>
88 * gfileattribute.c (escape_byte_string):
89 Upper half of byte is >> 4, not >> 8.
90 Found by Kjartan Maraas via sparse
92 2008-10-10 Matthias Clasen <mclasen@redhat.com>
94 Bug 555711 – Wrong fallback order of mimetype icons
96 * gcontenttype.c: Don't prefer generic icons over
97 default mimetype icons.
99 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
100 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
102 Patch by Krysztof Kosiński
104 2008-10-10 Matthias Clasen <mclasen@redhat.com>
106 Bug 555121 – Improved build-time handling of gio module-dir
108 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
109 * Makefile.am: Create the module dir.
111 2008-10-10 Matthias Clasen <mclasen@redhat.com>
113 * gio/glocalfileinfo.c:
114 * gio/tests/live-g-file.c:
115 * gio/gsimpleasyncresult.c: Fix gcc warnings.
117 2008-10-09 Alexander Larsson <alexl@redhat.com>
119 * gunixinputstream.c (g_unix_input_stream_read):
120 Actually return -1 in case of cancelled, not old res value.
122 2008-10-06 Colin Walters <walters@verbum.org>
124 Bug 554745 - GFileAttributeInfoList should be boxed
126 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
127 for convenience of bindings.
128 * gio/gfileattribute.h: Prototype it.
130 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
132 Bug 554970 – segfault when update-desktop-database is not available
135 * gdesktopappinfo.c (run_update_command): Have the error set before
138 2008-10-01 David Zeuthen <davidz@redhat.com>
140 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
141 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
142 instead of the gio URI (such as sftp://foo/file.avi) when using
143 g_app_info_launch() and friends. With a sufficiently recent gvfs,
144 apps using gio+gvfs will map the FUSE file:// URI back to the gio
145 URI (and thus bypass the fuse daemon) thanks the patch from bug
146 #530654. Since Nautilus is an user of g_app_info_launch() it
147 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
148 when launced via the file manager. Win. Fixes bug #528670.
150 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
151 mapping to the description of GAppInfo.
153 2008-09-30 Tor Lillqvist <tml@novell.com>
155 * tests/Makefile.am: Build desktop-app-info only on Unix.
157 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
158 g_critical(). Pass a large enough result buffer to
159 GetVolumePathNameW(). Just use MAX_PATH.
161 2008-09-29 David Zeuthen <davidz@redhat.com>
163 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
165 2008-09-26 Dan Winship <danw@gnome.org>
167 * tests/data-input-stream.c:
168 * tests/data-output-stream.c:
169 * tests/live-g-file.c:
170 * tests/memory-input-stream.c:
171 * tests/memory-output-stream.c: Use g_assert_error() and
174 2008-09-26 Matthias Clasen <mclasen@redhat.com>
176 Bug 545350 – GAppInfo deletion
177 Bug 545351 – Reset associations for content type
180 * gappinfo.[hc]: New functions g_app_info_can_delete,
181 g_app_info_delete and g_app_info_reset_type_associations.
184 * gwin32appinfo.c: Implementations of these.
187 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
189 2008-09-26 Dan Winship <danw@gnome.org>
191 Bug 505361 – gunixinputstream.c assumes poll() available
192 Bug 509446 – portable blocking gio cancellation
194 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
195 GPollFD for a cancellable (which is slightly more complicated on
198 * gunixinputstream.c (g_unix_input_stream_read):
199 * gunixoutputstream.c (g_unix_output_stream_write): Use
200 g_cancellable_make_pollfd() and g_poll() rather than using poll()
203 * tests/unix-streams.c: test of GUnixInputStream,
204 GUnixOutputStream, and GCancellable.
206 2008-09-26 Dan Winship <danw@gnome.org>
208 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
209 cast to stop a gcc warning
211 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
214 2008-09-25 Dan Winship <danw@gnome.org>
216 Bug 553426 - cancellable clarifications
218 * gcancellable.c (g_cancellable_class_init): Add a note to the
219 "cancelled" signal docs warning about thread-safety issues
220 (g_cancellable_cancel): Note that cancelling an asynchronous
221 operation takes effect asynchronously, not immediately.
223 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
225 * gioenums.h: Add new GFileCopyFlag, to leave target file with
226 default perms, instead of setting the source file perms, in a copy
229 * gfile.c (g_file_copy_attributes)
230 (build_attribute_list_for_copy)
231 (should_copy): Not copy "unix::mode" attribute if we have received
232 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
234 2008-09-20 Matthias Clasen <mclasen@redhat.com>
236 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
238 2008-09-17 Matthias Clasen <mclasen@redhat.com>
240 * === Released 2.18.1 ===
242 2008-09-16 Michael Natterer <mitch@imendio.com>
244 * gcontenttype.c (g_content_type_guess): can't assign the return
245 value of g_strdupv() to an array. Fill the array manually with
246 const strings instead (it is never freed anyway). Fixes the
247 build. Also fixed indentation.
249 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
251 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
252 Fix trivial typo to unbreak the build (there was a colon
253 instead of a semicolon at the end of a statement).
255 2008-09-15 Matthias Clasen <mclasen@redhat.com>
257 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
260 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
263 2008-09-15 Matthias Clasen <mclasen@redhat.com>
265 Bug 551681 – g_content_type_guess() too naive with filenames
267 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
268 at the end of the filename, and declare it a directory.
269 Patch by Bastien Nocera
271 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
273 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
276 * gdesktopappinfo.c: add a note in the docs clarifying what the
277 "filename" parameter really is.
279 2008-09-12 Tor Lillqvist <tml@novell.com>
281 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
282 FormatMessage() etc here. Call g_win32_error_message() instead
283 which already does all that. Besides, the code was broken as it
284 called the default "A" version of FormatMessage() but still
285 thought it produced a wide string.
287 2008-09-12 Michael Natterer <mitch@imendio.com>
289 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
290 in the documentation.
292 2008-09-08 Christian Neumair <cneumair@gnome.org>
294 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
295 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
296 Use non-blocking pipe for mount helper I/O. Fixes #550647.
298 2008-09-06 Matthias Clasen <mclasen@redhat.com>
300 Bug 551149 – xdgmime mem leak
302 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
303 a memory leak. Patch by Christian Persch
305 2008-09-04 Tor Lillqvist <tml@novell.com>
307 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
310 2008-09-02 Matthias Clasen <mclasen@redhat.com>
312 * === Released 2.18.0 ===
314 2008-09-02 Michael Natterer <mitch@imendio.com>
316 * *.h: big header formatting cleanup: indentation, vtable
317 formatting, consistent spacing in (* vfunc), trailing whitespace
318 removal. Formatting should be pretty consistent in all GIO headers
321 2008-09-02 Matthias Clasen <mclasen@redhat.com>
323 * gmount.h: Document guess_content_type sync vfunc.
325 2008-09-02 Michael Natterer <mitch@imendio.com>
327 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
328 fix parent_class member to be GFilterOutputStreamClass (not
329 GOutputStreamClass). Drop three pointers of padding, which is
330 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
331 so the class struct size stays the same.
333 2008-09-02 Matthias Clasen <mclasen@redhat.com>
335 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
337 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
338 nonexisting return values. Pointed out by Cosimo Cecchi.
340 2008-08-23 Tor Lillqvist <tml@novell.com>
342 Bug 548988 - g_file_replace fails on Windows when the target file
345 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
346 Windows, close the file before potentially renaming it (in case we
347 have been writing to a file with a temporary name).
349 (g_local_file_output_stream_close, handle_overwrite_open): Use
350 GLocalFileStat instead of plain struct stat, for passing to
351 _g_local_file_info_create_etag(). Thus also use _fstati64()
352 instead of plain fstat() on Windows.
354 2008-08-18 Matthias Clasen <mclasen@redhat.com>
356 * === Released 2.17.7 ===
358 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
360 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
363 2008-08-13 Tor Lillqvist <tml@novell.com>
365 * win32/gwinhttpvfs.c
366 * win32/gwinhttpvfs.h
367 * win32/gwinhttpfile.c
368 * win32/gwinhttpfileinputstream.c
369 * win32/gwinhttpfileoutputstream.c: Refactor some common code
370 snippets into helper functions. Check HTTP response status
371 codes. Implement g_winhttp_file_query_info(), looking at
372 Content-Length, Content-Type and Last-Modified.
374 * win32/winhttp.h: Add some symbolic constants that are not
375 publicly documented. Just a handful, so it should be OK to use
376 information from the Windows SDK's headers.
378 2008-08-13 Tor Lillqvist <tml@novell.com>
380 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
383 * win32/gwin32directorymonitor.c
384 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
386 2008-08-13 Matthias Clasen <mclasen@redhat.com>
389 * goutputstream.c: Add intro docs.
391 2008-08-13 Tor Lillqvist <tml@novell.com>
393 * win32/gwinhttpfileoutputstream.c
394 (g_winhttp_file_output_stream_write): Don't write the
395 Content-Length header ourselves, WinHttpSendRequest() takes care
396 of that when the dwTotalLength parameter is non-zero. Increment
397 offset by the number of actual bytes sent, although I wonder if
398 such a scenario is possible where less than requested would be
399 sent and accepted by the server without errors.
401 2008-08-13 Tor Lillqvist <tml@novell.com>
403 * win32/gwinhttpvfs.c
404 * win32/gwinhttpvfs.h
405 * win32/gwinhttpfile.c
406 * win32/gwinhttpfile.h
407 * win32/gwinhttpfileinputstream.c
408 * win32/gwinhttpfileinputstream.h
409 * win32/gwinhttpfileoutputstream.c
410 * win32/gwinhttpfileoutputstream.h: New files implementing
411 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
412 Windows. The implementation uses the WinHttp API. Both reading and
413 writing are supported, i.e. GET and PUT requests. When writing,
414 each write call is done using a separate PUT request with a
415 Content-Range header. Requests for file URIs and plain pathnames
416 are forwarded to GLocalVfs.
418 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
419 WINE. Used as there is no <winhttp.h> bundled with mingw, and
420 requiring people to download the Windows SDK just for this one
421 header is not reasonable.
423 * win32/Makefile.am: Add above files.
425 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
426 the plumbing for the above.
428 2008-08-11 Sven Neumann <sven@gimp.org>
430 * gfilenamecompleter.c
431 * glocaldirectorymonitor.c
433 * gunionvolumemonitor.c
437 * gunixvolumemonitor.c
440 * gwin32volumemonitor.c: use canonical signal names.
442 2008-08-11 Tor Lillqvist <tml@novell.com>
444 * Makefile.am: Put a list of the platform-dependent .la files in
445 the subdirectories in the platform_deps Make variable, and make
446 libgio-2.0.la depend on that, so that it gets relinked if one of
447 the dependent libraries has changed.
449 2008-08-11 Tor Lillqvist <tml@novell.com>
451 * Makefile.am (platform_libadd): Remove -lwininet which had been
452 added by mistake. We will probably eventually be using WinHTTP,
453 not the older WinInet anyway. (Actually I am working on it.)
455 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
457 Bug 547080 – g_file_copy leaks expected errors
459 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
460 before trying the next fallback routine.
462 2008-08-09 Loïc Minier <lool@dooz.org>
464 Bug 535124 – umask 002 not being applied for new directories, new
465 files get the correct umask
467 * gfile.c (g_file_make_directory)
468 (g_file_make_directory_with_parents): Document ownership and
469 permissions of newly created directories as being the default
472 2008-08-08 Loïc Minier <lool@dooz.org>
474 Bug 535124 – umask 002 not being applied for new directories, new
475 files get the correct umask
477 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
480 2008-08-08 Tor Lillqvist <tml@novell.com>
482 * gwin32mount.c: Remove unused code. Whitespace cleanup.
484 * gwin32volumemonitor.c (get_connected_drives): Put questionable
485 code that didn't actually do anything inside #if 0, and add a
486 comment wondering what the code was supposed to do. This also gets
487 rid of a leftover debugging printout.
489 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
491 * gfileicon.c (g_file_icon_get_property)
492 (g_file_icon_set_property): New functions.
493 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
495 (g_file_icon_new): Use the property (bug #546132).
497 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
499 * gthemedicon.c (g_themed_icon_get_property): Also handle
500 `PROP_USE_DEFAULT_FALLBACKS'.
501 (g_themed_icon_class_init): Make
502 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
504 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
506 Bug 546371 – Improve docs re g_file_monitor
508 * gfilemonitor.c: Mention g_file_monitor() in the docs.
510 2008-08-04 Matthias Clasen <mclasen@redhat.com>
512 * === Released 2.17.6 ===
514 2008-08-04 Matthias Clasen <mclasen@redhat.com>
516 * === Released 2.17.5 ===
518 2008-08-04 Matthias Clasen <mclasen@redhat.com>
520 Bug 546017 – Don't copy attributes when copying a symlink
522 * gfile.c (g_file_copy_attributes): Specify
523 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
524 g_file_set_attributes_from_info. Patch by Christian Kellner
526 2008-08-04 Matthias Clasen <mclasen@redhat.com>
528 * gemblemedicon.[hc]:
530 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
531 a bit more extensible. Work by Clemens Buss.
533 * gioenums.h: Add GEmblemOrigin.
536 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
538 Bug 546079 – leak in xdgmime
540 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
542 2008-08-03 Tor Lillqvist <tml@novell.com>
544 * win32/gwin32directorymonitor.h
545 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
548 2008-08-03 Tor Lillqvist <tml@novell.com>
550 * win32/gwin32directorymonitor.c
551 (g_win32_directory_monitor_callback): Make prototype match
552 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
553 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
556 (g_win32_directory_monitor_constructor):
557 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
558 names in the GLib API on Windows, so convert to UTF-16 and open
561 2008-08-03 Tor Lillqvist <tml@novell.com>
563 Bug 541036 - Gnumeric crashes when trying to open Desktop or
564 user's folder under Windows
566 * win32/gwin32directorymonitor.c
567 (g_win32_directory_monitor_constructor): Ignore error from
568 CreateFile() when opening directory. Instead of asserting, just
569 store INVALID_HANDLE_VALUE then in
570 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
571 ReadDirectoryChangesW().
572 (g_win32_directory_monitor_cancel): Don't attempt to close
573 directory handle if it is INVALID_HANDLE_VALUE.
575 2008-08-01 Matthias Clasen <mclasen@redhat.com>
577 * gdesktopappinfo.c: Remove debug spew
579 2008-08-01 Hans Breuer <hans@breuer.org>
581 * makefile.msc : add gemblembedicon
583 2008-07-30 Matthias Clasen <mclasen@redhat.com>
585 Bug 545457 – gdmsetup crashed with SIGSEGV in
586 g_unix_mount_guess_should_display()
588 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
589 crash if no mount is found.
591 2008-07-28 Matthias Clasen <mclasen@redhat.com>
593 Bug 545203 – gfile.c: argument is different type.
595 * gfile.c (open_read_async_thread): Pass a GError **
596 to g_file_set_error_literal.
597 Reported by Kazuki Iwamoto
599 2008-07-28 Matthias Clasen <mclasen@redhat.com>
601 Bug 545157 – wrong/no list of "open with" applications for .cc and
604 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
605 Collect all ancestors, not just direct parents. Pointed
606 out by Bastien Nocera
608 2008-07-28 Matthias Clasen <mclasen@redhat.com>
610 * Makefile.am: Install gemblemedicon.h
612 2008-07-28 Matthias Clasen <mclasen@redhat.com>
614 * gemblemedicon.[hc]: Add a GIcon implementation that can
615 add an emblem to another icon.
622 * gfileicon.c: Small documentation additions.
624 2008-07-28 Tor Lillqvist <tml@novell.com>
626 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
629 2008-07-27 Tor Lillqvist <tml@novell.com>
631 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
633 2008-07-24 David Zeuthen <davidz@redhat.com>
637 Also export a g_mount_guess_content_type_sync() function.
639 2008-07-23 Matthias Clasen <mclasen@redhat.com>
641 529694 – SELinux context setting support
643 * gfileinfo.c: Support setting selinux attributes.
644 Patch by Tomas Bzatek
646 2008-07-22 Priit Laes <plaes@plaes.org>
648 Bug 544140 - fam-helper 64-bit issue?
650 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
652 2008-07-21 Matthias Clasen <mclasen@redhat.com>
654 * === Released 2.17.4 ===
656 2008-07-20 Matthias Clasen <mclasen@redhat.com>
658 * gvolumemonitor.[hc]:
663 * gmount.c: Documentation fixes
665 2008-07-19 Matthias Clasen <mclasen@redhat.com>
667 543504 – crash in Epiphany Web Browser: Opening local file
678 * gvolume.c: Register types thread-safely.
679 Patch by Christian Persch
681 2008-07-18 Matthias Clasen <mclasen@redhat.com>
683 * gcontenttype.c: Remove debug spew
685 2008-07-18 Matthias Clasen <mclasen@redhat.com>
687 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
690 * fen/fen-kernel.c: Remove a warning that was causing
691 crashes. Reported by Lin Ma.
693 2008-07-18 Matthias Clasen <mclasen@redhat.com>
695 Bug 543040 – async reading on dummy file will crash on
698 * gfile.c (open_read_async_thread): Cope with read_fn being
699 NULL. Reported by Lin Ma.
701 2008-07-18 Matthias Clasen <mclasen@redhat.com>
704 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
706 2008-07-16 Matthias Clasen <mclasen@redhat.com>
710 * giomodule.c: Rename a chapter id to avoid filename conflict.
712 2008-07-16 Matthias Clasen <mclasen@redhat.com>
714 Bug 540616 – mem leak in filechooser button
716 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
717 the mount entry. Reported by Chrisitan Persch
719 2008-07-16 Matthias Clasen <mclasen@redhat.com>
721 * gfile.c: Small documentation fixes.
723 2008-07-15 Matthias Clasen <mclasen@redhat.com>
725 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
727 2008-07-08 Matthias Clasen <mclasen@redhat.com>
732 * gmount.c: Documentation improvements.
734 2008-07-08 Matthias Clasen <mclasen@redhat.com>
737 * gmount.[hc]: Add g_mount_guess_content_type().
739 2008-07-06 David Zeuthen <davidz@redhat.com>
742 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
743 is needed for easily handling adoption of foreign volumes by
744 out-of-process volume monitors (#541793)
746 2008-07-06 David Zeuthen <davidz@redhat.com>
748 * gvolumemonitor.[ch]:
749 * gunionvolumemonitor.c: Export the eject-button signal on the
750 volume monitor class (#541794).
752 2008-07-06 Matthias Clasen <mclasen@redhat.com>
754 * gappinfo.c: More doc tweaks
756 2008-07-05 Matthias Clasen <mclasen@redhat.com>
758 * gappinfo.c: Clarify some docs
760 2008-07-03 Matthias Clasen <mclasen@redhat.com>
762 * gdesktopappinfo.c: Fix a stupid mistake.
764 2008-07-02 Matthias Clasen <mclasen@redhat.com>
766 * === Released 2.17.3 ===
768 2008-07-02 Matthias Clasen <mclasen@redhat.com>
770 * gfilemonitor.c: Fix the build.
772 2008-07-02 Matthias Clasen <mclasen@redhat.com>
774 Bug 536160 – Add g_file_monitor()
777 * gfile.[hc]: Add g_file_monitor which can return either
778 a file or a directory monitor. Proposed by Behdad Esfahbod
780 2008-07-02 Matthias Clasen <mclasen@redhat.com>
782 536733 – gio build failure on Irix
784 * glocalfile.c: Use a configure check for structfs.f_bavail.
786 2008-07-02 Matthias Clasen <mclasen@redhat.com>
788 Bug 534639 – add g_desktop_app_info_new_from_keyfile
791 * gdesktopappinfo.[hc]: Add a function to create a
792 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
794 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
796 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
798 2008-07-01 Matthias Clasen <mclasen@redhat.com>
800 * gunixmounts.c: Fix a doc typo.
802 2008-07-01 Cody Russell <bratsche@gnome.org>
804 * gio/gcontenttype.c:
805 * gio/gwin32appinfo.c:
806 * gio/gwin32volumemonitor.c:
807 * gio/gwin32mount.c: Fixed some include problems.
809 2008-07-01 Cody Russell <bratsche@gnome.org>
813 Moved all relevant typedefs into these files.
816 Updated wrt added files.
818 Split types into separate file for easier maintainership. (#538564)
820 2008-06-30 Matthias Clasen <mclasen@redhat.com>
822 Bug 540331 – g_file_append_to () documentation: can return NULL
824 * gfile.c (g_file_append_to): Clarify docs.
827 2008-06-30 Matthias Clasen <mclasen@redhat.com>
829 Bug 539090 – g_content_type_from_mime_type() should unalias
831 * gcontentype.c (g_content_type_from_mime_type): Unalias.
832 Patch by Markus Bergman
834 2008-06-30 Matthias Clasen <mclasen@redhat.com>
836 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
839 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
840 on ppc and alpha. Reported by Mart Raudsepp
842 2008-06-29 Matthias Clasen <mclasen@redhat.com>
845 * tests/memory-output-stream.c: Add some tests for
848 2008-06-29 Matthias Clasen <mclasen@redhat.com>
850 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
853 * gmemoryoutputstream.c (array_resize): Handle truncation to
854 zero correctly. Reported by Akira Tagoh
856 2008-06-29 Matthias Clasen <mclasen@redhat.com>
858 * gmemoryoutputstream.c: Trivial doc fixes
860 2008-06-29 Matthias Clasen <mclasen@redhat.com>
862 Bug 540802 – g_list_prepend doesn't concat lists
864 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
865 one list to another. Pointed out by Jan Arne Petersen
867 2008-06-28 Michael Natterer <mitch@imendio.com>
869 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
871 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
873 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
874 to avoid problems with partial icon themes.
876 2008-06-17 Hans Breuer <hans@breuer.org>
878 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
879 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
880 access again on win32, see bug #538127
881 * giomodule.c : ensure GWin32VolumeMonitor is registered
882 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
883 * Makefile.am makefile.msc : updated
885 2008-06-16 Hans Breuer <hans@breuer.org>
887 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
888 and initialization in one step avoids c99ism
890 2008-06-16 Christian Persch <chpe@gnome.org>
893 * gio/gbufferedinputstream.c
895 * gio/gdatainputstream.c
896 * gio/gdesktopappinfo.c
898 * gio/gfileenumerator.c
899 * gio/gfileinputstream.c
900 * gio/gfileoutputstream.c
902 * gio/glocaldirectorymonitor.c
904 * gio/glocalfileenumerator.c
905 * gio/glocalfileinfo.c
906 * gio/glocalfilemonitor.c
907 * gio/glocalfileoutputstream.c
908 * gio/gmemoryinputstream.c
909 * gio/gmemoryoutputstream.c
910 * gio/goutputstream.c
911 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
914 2008-06-16 Tor Lillqvist <tml@novell.com>
916 Bug 538362 - Get Win32 icons back in the file chooser
918 * gcontenttype.c (g_content_type_get_icon): Look up the icon
919 corresponding to a file extension in the Registry. Patch by Hans
921 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
923 2008-06-16 Tor Lillqvist <tml@novell.com>
925 Patches by Hans Breuer:
927 * glocalfile.c (is_xp_or_later): Handle compiling against older
928 SDK headers with missing VerifyVersionInfo(). Conditioned on
929 _MSC_VER, but should probably use some better test.
930 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
931 uninitialised statfs_result variable on Win32.
933 2008-06-16 Michael Natterer <mitch@imendio.com>
935 * *.c: chain up unconditionally in finalize() and dispose(). Also
936 don't dereference these function pointers when calling them since
937 that has no meaning at all.
939 2008-06-16 Ross Burton <ross@burtonini.com>
942 Remove check for dispose implementation as it annoys Emmanuele.
944 2008-06-16 Ross Burton <ross@burtonini.com>
946 Bug 536252 – GFileEnumerator should allow access to the containing
952 Add g_file_enumerator_get_container() and a container writeable
953 construct-only property. Also shuffle around typedefs to make it
956 * glocalfileenumerator.c:
957 * glocalfileenumerator.h:
959 Instead of a string filename take a GFile in the constructor and
960 use it to set the container property.
965 2008-06-16 Matthias Clasen <mclasen@redhat.com>
967 * gfile.c: Make includes more uniform
969 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
971 * tests/live-g-file.c (sample_struct):
972 Use less fancy unicode filenames, so the test doesn't fail
973 on Mac OS X (#531476).
975 2008-06-12 Matthias Clasen <mclasen@redhat.com>
977 * === Released 2.17.2 ===
979 2008-06-12 Matthias Clasen <mclasen@redhat.com>
981 * === Released 2.17.1 ===
983 2008-06-11 A. Walton <awalton@gnome.org>
985 * tests/g-file.c (test_g_file_new_null):
986 Fix broken test case.
988 2008-06-11 Matthias Clasen <mclasen@redhat.com>
990 * pltcheck.sh: We use g_clear_error now.
992 2008-06-11 Matthias Clasen <mclasen@redhat.com>
994 * glocalfile.c (g_local_file_enumerate_children): Revert
995 an unintended change.
997 2008-06-11 Matthias Clasen <mclasen@redhat.com>
999 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1001 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1003 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1006 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1007 as icon for the desktop directory, also make user-home and
1008 user-desktop the preferred icons.
1010 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1013 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1014 to add a name to the front of the list.
1016 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1018 Bug 537392 – Additional colon in xattr name
1020 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1021 too. Reported by Alessandro Morandi
1023 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1025 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1028 * glocalfile.c (get_fs_type): Add afs and autofs.
1029 Patch by Danny Baumann.
1031 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1033 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1035 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1036 is no parent. (Owen Taylor, patch by Christian Neumair)
1038 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1040 * gfile.c (g_file_replace_contents): do not leak the output stream.
1042 2008-06-10 Michael Natterer <mitch@imendio.com>
1044 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1045 uninitialized memory as array index.
1047 2008-06-10 Tor Lillqvist <tml@novell.com>
1049 * gcontenttype.c (g_content_type_can_be_executable)
1050 (g_content_type_get_icon) [Win32]: Add TODO comments.
1052 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1054 * xdgmime/Makefile.am: Fix the build
1056 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1058 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1059 in the shared mime database, if available.
1061 * xdgmime/*: Sync with upstream. This brings support for
1062 glob weights, generic icons, and changes the cache format to
1065 2008-05-28 Michael Natterer <mitch@imendio.com>
1067 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1068 the global CPPFLAGS now.
1070 * tests/data-input-stream.c
1071 * tests/data-output-stream.c
1072 * tests/g-file-info.c
1074 * tests/live-g-file.c
1075 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1077 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1079 * === Released 2.17.0 ===
1081 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1082 doesn't complain about leftover files.
1084 2008-05-27 simon.zheng <simon.zheng@sun.com>
1086 * glocalfile.c: (g_local_file_query_filesystem_info):
1087 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1089 2008-05-26 Michael Natterer <mitch@imendio.com>
1091 * gmemoryoutputstream.h: declare
1092 g_memory_output_stream_get_data_size().
1094 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1096 * tests/*: Make tests work
1098 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1100 * gio.symbols: Add g_memory_output_stream_get_data_size.
1102 2008-05-25 Ross Burton <ross@burtonini.com>
1105 Fix typo in error message (#534764).
1107 2008-05-25 Ross Burton <ross@burtonini.com>
1110 Fix circular dependency loop for gioenumtypes.h (#534759).
1112 2008-05-19 Hans Breuer <hans@breuer.org>
1114 * Makefile.am : EXTRA_DIST += makefile.msc
1116 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1119 * gcontenttype.c: (g_content_type_from_mime_type):
1120 New function to create a content type from a mime type. (#527175,
1123 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1125 Bug 532965 – Should not return filesystem::free for certain file systems
1127 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1128 free space for ncpfs.
1130 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1132 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1134 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1135 st_dev might be zero.
1137 2008-05-16 Tor Lillqvist <tml@novell.com>
1139 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1140 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1142 2008-05-13 Bastien Nocera <hadess@hadess.net>
1144 * gfile.c (has_valid_scheme): A URI scheme must start with a
1145 letter, even if later more characters are allowed (#532852)
1147 2008-05-05 Michael Natterer <mitch@imendio.com>
1149 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1150 code from being checked in that breaks the build of applications
1151 which use G_DISABLE_SINGLE_INCLUDES.
1153 * makegioalias.pl: make the alias file include "glib.h" instead of
1156 * gio.symbols: whitespace change to force regeneration of the
1157 alias file after above script change.
1159 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1161 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1163 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1165 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1167 2008-04-28 David Zeuthen <davidz@redhat.com>
1169 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1170 displaying mounts in a subdirectory not accessible to the
1173 2008-04-22 Michael Natterer <mitch@imendio.com>
1175 * Makefile.am: fix library versioning (it was 0.0.0).
1177 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1179 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1180 Default disable all loggings.
1181 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1182 (port_fetch_event_cb): Fixed two macro nits.
1184 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1186 * xdgmime/xdgmime.c: Rework the timestamp checking code
1187 to protect against duplicate directories in XDG_DATA_DIRS.
1188 Fixes fd.o bug 12513, reported by Joe Shaw.
1190 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1192 Partically revert the last commit after realizing that
1193 xdg_mime_media_type_equal doesn't have to init at all.
1195 * xdgmime/xdgmime.h:
1196 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1198 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1200 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1202 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1203 reported by Joe Shaw and Federico Mena Quintero.
1205 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1206 (xdg_mime_media_type_equal): Turn into a wrapper around the
1209 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1210 functions throughout.
1212 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1214 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1215 tolerate an empty TryExec= line without failing; nautilus used
1216 to create launchers with these in previous versions. Fixes #528433
1218 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1220 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1221 after name. Fixes #527132.
1223 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1225 * gfile.c: (g_file_replace):
1228 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1230 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1232 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1233 by Christian Kellner.
1235 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1237 * gunixmounts.c: (g_unix_mount_guess_should_display):
1238 Don't list the user directory as a mount, fix potential issue
1239 when other users have a similar naming and don't special case the
1240 gvfs mounts there since that's not required (#525866)
1242 2008-03-31 Alexander Larsson <alexl@redhat.com>
1244 * glocalfile.c (get_parent):
1247 2008-03-31 A. Walton <awalton@svn.gnome.org>
1249 * gfile.c (g_file_query_file_type):
1250 Always return a GFileType enum value (#520715).
1252 2008-03-31 Alexander Larsson <alexl@redhat.com>
1254 * glocalfileenumerator.c:
1255 Read readdir() info in chunks (of 1000) and sort
1256 the chunks by inode before stat:ing.
1257 This is a 20% performance increase in testing
1258 gvfs-ls on /usr/bin with cold cache.
1260 2008-03-31 Alexander Larsson <alexl@redhat.com>
1262 * gmemoryoutputstream.c:
1263 Clarify docs for g_memory_output_stream_get_size.
1264 Add g_memory_output_stream_get_data_size.
1266 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1270 * gfile.h: Add g_file_query_file_type convenience function
1271 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1273 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1275 * gfileenumerator.c:
1276 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1278 2008-03-28 A. Walton <awalton@svn.gnome.org>
1280 * giomodule.c (_g_io_modules_ensure_loaded):
1281 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1284 2008-03-28 Alexander Larsson <alexl@redhat.com>
1287 (copy_stream_with_progress):
1290 2008-03-28 Alexander Larsson <alexl@redhat.com>
1293 (copy_stream_with_progress):
1294 (file_copy_fallback):
1295 Fallback to g_file_query_info for source size
1296 if g_file_input_stream_query_info fails. (#524579)
1298 2008-03-28 Alexander Larsson <alexl@redhat.com>
1300 * glocalfile.c (g_local_file_move):
1301 Reuse old string instead of adding new one.
1303 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1305 * fen/*.[hc]: still copyright issue. I hate copyright.
1307 2008-03-27 Alexander Larsson <alexl@redhat.com>
1309 * glocalfile.c (g_local_file_move):
1310 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1311 file over directory. This is according to the docs and what the move via
1312 copy+remove fallback does.
1314 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1316 * fen/*.[hc]: Updated copyright.
1318 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1320 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1322 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1324 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1325 not emit attribute changed events when optimizing changed events.
1326 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1329 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1331 * gmountoperation.[hc]: Small documentation additions
1333 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1335 * gunixmounts.c: (guess_mount_type):
1336 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1338 2008-03-19 Alexander Larsson <alexl@redhat.com>
1341 (copy_stream_with_progress):
1342 Bump block side for copy to 64k to minimize
1343 overhead for low latency links. (#523015)
1345 2008-03-16 Tor Lillqvist <tml@novell.com>
1347 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1348 depend on gio.def on Windows.
1350 2008-03-12 David Zeuthen <davidz@redhat.com>
1354 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1356 2008-03-14 Alexander Larsson <alexl@redhat.com>
1360 Avoid redudant tests (#521851)
1361 Patch from Josselin Mouette
1363 2008-03-14 Alexander Larsson <alexl@redhat.com>
1366 (g_file_monitor_is_cancelled):
1367 Fix C89 issue (#521672)
1368 Patch from Jens Granseuer
1370 2008-03-14 Alexander Larsson <alexl@redhat.com>
1372 * fam/fam-helper.[ch]:
1374 Shut down fam (including removing fam GSource) when
1375 module is unloaded (#521513)
1376 Patch from Joe Marcus Clarke
1378 2008-03-14 Alexander Larsson <alexl@redhat.com>
1381 (_g_io_modules_ensure_loaded):
1384 2008-03-14 Alexander Larsson <alexl@redhat.com>
1387 (g_local_file_query_filesystem_info):
1388 Use right define name for f_fstypename member check
1390 2008-03-14 Alexander Larsson <alexl@redhat.com>
1393 * fen/Makefile.am: Added.
1394 * fen/fen-data.[ch]: Added.
1395 * fen/fen-dump.[ch]: Added.
1396 * fen/fen-helper.[ch]: Added.
1397 * fen/fen-kernel.[ch]: Added.
1398 * fen/fen-missing.[ch]: Added.
1399 * fen/fen-node.[ch]: Added.
1400 * fen/fen-sub.[ch]: Added.
1401 * fen/gfendirectorymonitor.[ch]: Added.
1402 * fen/gfenfilemonitor.[ch]: Added.
1404 Added Solaris FEN file notification backend.
1405 Patch from Lin Ma <Lin.Ma@Sun.COM>
1407 2008-03-13 Tor Lillqvist <tml@novell.com>
1409 * Makefile.am: Actually use the gio.def file when linking the
1410 library on Windows. Produce .lib library for Microsoft's toolchain
1411 when possible. Install the .lib and .def file like for the other
1414 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1416 * tests/live-g-file.c:
1417 Include live-g-file in standard set of tests, making a temporary
1418 directory in source structure.
1420 Clean target directory before the tests (write mode only)
1422 2008-03-12 Tor Lillqvist <tml@novell.com>
1424 Bug 517419 - gio win32 directory monitor
1425 Implementation by Vlad Grecescu.
1428 * win32/gwin32directorymonitor.h
1429 * win32/gwin32directorymonitor.c: New files.
1431 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1433 * Makefile.am: Add the win32 subdirectory.
1435 2008-03-12 Tor Lillqvist <tml@novell.com>
1437 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1438 normal struct stat on Unix but struct _stati64 on Windows to have
1439 access to 64-bit file size information. Use that instead of struct
1440 stat in the functions declared here in this private header.
1442 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1443 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1444 warnings about unused functions and variables. Don't set
1445 meaningless attributes like inode numbers on Windows.
1447 2008-03-12 Benjamin Otte <otte@gnome.org>
1450 trim whitespace so gtk-doc groks the function name
1452 2008-03-12 Tor Lillqvist <tml@novell.com>
1454 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1455 returning FALSE, on Win32.
1457 2008-03-11 Alexander Larsson <alexl@redhat.com>
1460 * glocalfileinfo.[ch]:
1461 Correctly implement can_trash by actually
1462 looking for a trash dir, not just assuming
1465 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1467 * === Released 2.16.1 ===
1469 2008-03-11 Alexander Larsson <alexl@redhat.com>
1472 Fix crashes in new constructor and properties code
1474 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1476 * gfile.c: Minor spelling correction in documentation:
1477 existance -> existence.
1479 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1481 * === Released 2.16.0 ===
1483 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1485 * gio.symbols: Remove g_file_contains_file here, too.
1487 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1489 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1490 Samuel Cormier-Iijima)
1492 2008-03-08 Tor Lillqvist <tml@novell.com>
1494 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1497 2008-03-07 Alexander Larsson <alexl@redhat.com>
1500 (g_local_file_query_filesystem_info):
1501 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1502 Patch from Jasper Lievisse Adriaanse
1504 2008-03-06 Tor Lillqvist <tml@novell.com>
1506 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1507 comments for the *_USEC attributes.
1509 2008-03-06 Alexander Larsson <alexl@redhat.com>
1511 * gfile.c (g_file_query_exists):
1512 Add g_return_val_if_fail check (#520700)
1514 2008-03-06 Alexander Larsson <alexl@redhat.com>
1516 * gdesktopappinfo.c:
1519 * gunionvolumemonitor.c:
1522 * tests/live-g-file.c:
1523 * xdgmime/xdgmimecache.c:
1524 Fix sparse warnings (#519489)
1526 2008-03-05 Alexander Larsson <alexl@redhat.com>
1529 Make cancellation threadsafe (i.e.
1530 guarantee its only done once, and always
1533 * glocaldirectorymonitor.c:
1534 Make sure we the monitor lives while the
1535 mounts_changed callback is being called (#520484)
1537 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1539 * gbufferedinputstream.c: Fix typo in parameter
1542 2008-03-04 Alexander Larsson <alexl@redhat.com>
1545 Remove deprecated symbols we kept for one release.
1547 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1550 * goutputstream.c: Tiny documentation corrections.
1552 2008-03-03 Alexander Larsson <alexl@redhat.com>
1554 * gunionvolumemonitor.c:
1556 Fix the adopt_orphan_mount vfunc to take a
1557 volume_monitor reference in an ABI compat way.
1558 This change is not API compat, but the added
1559 arg is not used in the only user of this vfunc, so
1560 all we get is a harmless warning in gvfs (#520169)
1562 2008-03-01 Benjamin Otte <otte@gnome.org>
1565 clarify docs for g_file_delete().
1567 2008-02-29 Alexander Larsson <alexl@redhat.com>
1571 Make sure empty files get text/plain type (#518720)
1573 2008-02-27 Alexander Larsson <alexl@redhat.com>
1579 (g_unix_volume_mount):
1580 Add missing GMountMountFlags argument
1582 2008-02-26 Alexander Larsson <alexl@redhat.com>
1585 (g_local_file_delete):
1586 Handle filesystems (like ntfs-3g) that return EEXIST instead
1587 of ENOTEMPTY (#518816)
1589 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1591 * === Released 2.15.6 ===
1593 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1595 * gfile.c (g_file_find_enclosing_mount):
1596 * ginputstream.c (g_input_stream_set_pending):
1597 * glocalfile.c (g_local_file_find_enclosing_mount):
1598 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1599 * goutputstream.c (g_output_stream_set_pending):
1601 Fixup translator comments (#518578).
1603 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1605 * gfile.c (g_file_find_enclosing_mount):
1607 * glocalfile.c (g_local_file_find_enclosing_mount):
1610 Fix a few typos in translator comments and documentation.
1612 2008-02-25 Alexander Larsson <alexl@redhat.com>
1619 Add translator comments (#518578)
1621 2008-02-25 Alexander Larsson <alexl@redhat.com>
1624 Reintroduce g_file_contains_file, keep around for one
1625 unstable release cycle to avoid crashing to many apps.
1626 Make sure to delete after release.
1628 2008-02-25 Alexander Larsson <alexl@redhat.com>
1631 Remove deprecated g_file_contains_file.
1633 2008-02-25 Alexander Larsson <alexl@redhat.com>
1636 Emit actual change signals in an idle handler.
1637 This avoids reentrance and locking problems in
1638 the file notification backends.
1640 2008-02-25 Alexander Larsson <alexl@redhat.com>
1643 (g_unix_mount_guess_should_display):
1644 Remove type guessing, instead just display
1645 mounts in /media and in ~/.
1647 2008-02-25 Alexander Larsson <alexl@redhat.com>
1650 Make new strings reuse old ones.
1652 2008-02-25 Alexander Larsson <alexl@redhat.com>
1655 Implement trashing and filesystem::readonly for win32 (#517235)
1656 Patch from Yevgen Muntyan
1658 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1660 * gfileinfo.h: Documentation fixes.
1662 2008-02-22 Alexander Larsson <alexl@redhat.com>
1664 * gcontenttype.c (g_content_type_get_icon):
1665 Look at old-style gnome mime icon names too, as many
1666 have not moved to the new style.
1668 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1670 * *.c: Correct the @include in for section docs.
1672 2008-02-21 David Zeuthen <davidz@redhat.com>
1674 * glocalfileinfo.c: (_g_local_file_info_get):
1676 (g_content_type_get_icon): Implement this function by
1677 moving bits from glocalfileinfo.c
1678 (g_content_type_get_description): Unalias before getting
1679 description (#517687)
1681 * gfile.c: (g_file_class_init),
1682 (g_file_query_filesystem_info_async),
1683 (g_file_query_filesystem_info_finish),
1684 (query_filesystem_info_data_free),
1685 (query_filesystem_info_async_thread),
1686 (g_file_real_query_filesystem_info_async),
1687 (g_file_real_query_filesystem_info_finish):
1688 * gfile.h: Implement async version of
1689 g_file_query_filesystem_info()
1691 * gfileinfo.h: Add new attributes for filesystem::use-preview
1693 * gio.symbols: Update
1695 * gthemedicon.c: (g_themed_icon_append_name):
1696 * gthemedicon.h: Add new new convenience function.
1698 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1699 (get_mounts), (get_volumes), (get_connected_drives),
1700 (get_volume_for_uuid), (get_mount_for_uuid),
1701 (g_union_volume_monitor_init), (populate_union_monitor),
1702 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1703 (g_volume_monitor_adopt_orphan_mount):
1705 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1706 monitor implementations to call into the main volume monitor. Also
1707 separate object initialization and volume monitor initialization
1708 such that non-native volume monitors can properly adopt their
1711 2008-02-21 Alexander Larsson <alexl@redhat.com>
1716 2008-02-21 Alexander Larsson <alexl@redhat.com>
1719 Add more documentation about how GFiles work (from #517086)
1721 2008-02-21 Alexander Larsson <alexl@redhat.com>
1725 Add new g_file_has_prefix that does the same as g_file_contains_file.
1726 Deprecate g_file_contains_file and add a macro that converts
1727 it to g_file_has_prefix.
1728 The reason for this change is that the contains_file() name seems to
1729 imply that this does more work than what it does, but its really only
1730 a name match (from #517086)
1735 Update to match the above change.
1737 2008-02-20 Benjamin Otte <otte@gnome.org>
1739 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1740 (g_file_eject_mountable):
1741 even more cases of not returning in error path
1743 2008-02-20 Benjamin Otte <otte@gnome.org>
1745 * gfile.c: (g_file_mount_mountable):
1746 return from function in error path.
1748 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1751 Remove trailing coma in GMountMountFlags struct
1753 2008-02-18 Alexander Larsson <alexl@redhat.com>
1757 * glocalfileoutputstream.c:
1758 Use g_unlink/g_rename instead of unlink/rename;
1759 do not pass raw filenames to g_set_error. (#517239)
1760 Patch from Yevgen Muntyan.
1762 2008-02-18 Alexander Larsson <alexl@redhat.com>
1765 * glocalfileoutputstream.c:
1766 Open files with O_BINARY on windows. (#517140)
1768 2008-02-14 Alexander Larsson <alexl@redhat.com>
1770 * glocalfileoutputstream.c:
1771 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1773 2008-02-14 Alexander Larsson <alexl@redhat.com>
1776 Copy permissions with file on copy (#514084)
1777 This is what cp does and makes sure e.g. the
1778 exec permissions are kept.
1779 Its kinda weird in that it keeps the permission bits
1780 the same while the uid and gid are different. However
1781 the new uid is the user so its not a security issue,
1782 and I've heard no complaints about cp on this issue.
1784 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1786 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1788 2008-02-13 Alexander Larsson <alexl@redhat.com>
1790 * inotify/inotify-path.c:
1791 Define IN_ONLYDIR if not in header (#515346)
1793 2008-02-12 Alexander Larsson <alexl@redhat.com>
1795 * tests/live-g-file.c:
1798 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1800 * === Released 2.15.5 ===
1802 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1804 * gio.symbols: Add g_mount_mount_flags_get_type.
1806 2008-02-11 Alexander Larsson <alexl@redhat.com>
1809 (g_file_info_set_attribute_mask):
1810 (g_file_attribute_matcher_matches_id):
1811 Correctly handle NULL GAttributeMatcher meaning
1812 matches nothing. (Fixes #513492)
1814 2008-02-11 Alexander Larsson <alexl@redhat.com>
1819 Added GMountMountFlags enum and added a flags
1820 argument to all mount calls.
1822 This is an API/ABI change for future extensibility,
1823 as I think we will need at least an
1824 inhibit-autorun flag (the panel needs this).
1825 There are no flags defined yet though.
1827 2008-02-11 Alexander Larsson <alexl@redhat.com>
1830 Added new standard::description attribute.
1831 Requested by Vincent, and useful for both
1834 2008-02-11 Alexander Larsson <alexl@redhat.com>
1836 * gdesktopappinfo.c:
1839 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1841 * *.c: Documentation additions
1843 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1845 * gappinfo.h: Formatting cleanup
1846 * gappinfo.c: Fix up docs.
1848 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1850 * gunixmounts.c: Consistently use getmntent_r() and fall
1851 back to getmntent(). (#515492)
1853 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1855 * gbufferedinputstream.c:
1857 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1859 * tests/data-input-stream.c:
1860 * tests/data-output-stream.c: Portability fixes.
1862 2008-02-08 Alexander Larsson <alexl@redhat.com>
1867 Add g_volume_should_automount.
1870 2008-02-07 Tor Lillqvist <tml@novell.com>
1872 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1873 Win32, too Unix-specific.
1875 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1877 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1878 a local plt if the compiler doesn't support what we want. Bug #514702
1880 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1882 reviewed by: <delete if not using a buddy>
1885 * gunixinputstream.c:
1886 * gunixoutputstream.c:
1888 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1890 * tests/Makefile.am:
1891 * tests/live-g-file.c:
1892 * tests/live-g-file.txt:
1893 New GIO testing module working over real data
1895 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1897 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1898 Fallback to rename() if link() is not available
1899 (when no support on target filesystem)
1901 2008-02-06 Michael Natterer <mitch@imendio.com>
1903 * gfileinfo.c (g_file_info_get_icon): replace
1904 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1906 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1908 * gfile.c (g_file_create):
1909 Documentation update of error codes
1911 2008-02-06 Alexander Larsson <alexl@redhat.com>
1913 * gdesktopappinfo.c:
1914 Update to use both mimeapps.list and
1915 defaults.list as discussed on xdg list.
1917 2008-02-06 Benjamin Otte <otte@gnome.org>
1920 * gfilenamecompleter.c:
1921 Fix some typos in the documentation.
1923 2008-02-06 Alexander Larsson <alexl@redhat.com>
1925 * glocalfile.c (g_local_file_trash):
1926 Don't succeed with trash if newly created
1927 trash dir has the wrong owner. (#514696)
1929 2008-02-05 Alexander Larsson <alexl@redhat.com>
1931 * glocalfile.c (g_local_file_move):
1932 Don't spew warnings when destination is not
1935 2008-02-03 Hans Breuer <hans@breuer.org>
1937 * makefile.msc : update
1939 2008-02-01 Michael Natterer <mitch@imendio.com>
1941 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1942 return value of xdg_mime_list_mime_parents() to a variable of the
1945 2008-02-01 Alexander Larsson <alexl@redhat.com>
1947 * gappinfo.c (g_app_info_launch_uris):
1948 Actually call the launch_uris method, not
1951 2008-02-01 Alexander Larsson <alexl@redhat.com>
1953 * gdesktopappinfo.c (g_desktop_app_info_equal):
1954 Ensure appinfos with no id but same pointer value
1957 2008-02-01 Alexander Larsson <alexl@redhat.com>
1959 * gappinfo.c (g_app_info_launch_default_for_uri):
1962 2008-02-01 Alexander Larsson <alexl@redhat.com>
1966 Add g_app_info_launch_default_for_uri utility
1969 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1971 * gdesktopappinfo.c:
1972 Doc fix for g_app_info_get_default_for_uri_scheme ()
1975 2008-01-30 Alexander Larsson <alexl@redhat.com>
1978 Add doc comment about uris vs GFiles to
1981 * gdesktopappinfo.c:
1982 Ensure uris passed to g_app_info_launch_uris()
1983 are not roundtriped through GFile (as that
1984 may be slightly destructive for e.g. mailto: links)
1986 2008-01-30 Alexander Larsson <alexl@redhat.com>
1988 * tests/data-input-stream.c:
1989 * tests/data-output-stream.c:
1990 C89 fixes from Jens Granseuer (#512849)
1992 2008-01-30 Alexander Larsson <alexl@redhat.com>
1995 Fix gamin/fam difference build issue. (#509419)
1997 2008-01-29 Alexander Larsson <alexl@redhat.com>
2000 * gdesktopappinfo.c:
2001 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2003 2008-01-29 Alexander Larsson <alexl@redhat.com>
2005 * gdesktopappinfo.c:
2006 * gdesktopappinfo.h:
2007 giomodule-priv.h include moved to .c file.
2009 2008-01-29 Alexander Larsson <alexl@redhat.com>
2011 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2012 Remove unused prio/name fields.
2014 2008-01-29 Alexander Larsson <alexl@redhat.com>
2016 * gcontenttype.c (looks_like_text):
2017 Don't treat whitespace as control chars.
2019 2008-01-29 Alexander Larsson <alexl@redhat.com>
2021 * gdesktopappinfo.c:
2022 Lazily create the desktop files for appinfos created
2023 by g_app_info_create_from_commandline() when needed
2024 for mime associations. This allows run-time use
2025 of GAppInfo object without creating unnecessary
2028 2008-01-29 Alexander Larsson <alexl@redhat.com>
2031 Added new symbols to gio.symbols
2033 2008-01-29 Alexander Larsson <alexl@redhat.com>
2036 Add g_file_query_default_handler utility to easily look up
2037 the GAppInfo that handles a file.
2039 * gdesktopappinfo.[ch]:
2041 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2044 Remove unused function
2046 2008-01-29 Alexander Larsson <alexl@redhat.com>
2048 * gfileenumerator.c:
2049 Mention need to free returned value in
2050 g_file_enumerator_next_files_finish docs.
2051 Fix leak if g_file_enumerator_next_files_finish()
2054 2008-01-29 Alexander Larsson <alexl@redhat.com>
2057 (_g_unix_content_type_get_parents):
2058 Use list_parents, not get_parents from xdgmime, because
2059 the later doesn't use the cache.
2061 * xdgmime/xdgmimecache.c:
2062 (_xdg_mime_cache_list_mime_parents):
2063 Don't list the same type as parent multiple times.
2065 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2067 * === Released 2.15.4 ===
2069 2008-01-28 Alexander Larsson <alexl@redhat.com>
2072 Register local vfs with prio 0.
2075 Remove old name and prio class members
2077 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2079 * tests/g-file.c: Disable some tests that are failing in
2080 the absence of a http backend.
2082 2008-01-28 Alexander Larsson <alexl@redhat.com>
2086 Add registration hooks for extension points.
2087 Register the gio extension points.
2089 * fam/gfamdirectorymonitor.c:
2090 * fam/gfamfilemonitor.c:
2091 * glocaldirectorymonitor.[ch]:
2092 * glocalfilemonitor.[ch]:
2093 * gnativevolumemonitor.h:
2094 * gunionvolumemonitor.c:
2095 * gunixvolumemonitor.c:
2098 * inotify/ginotifydirectorymonitor.c:
2099 * inotify/ginotifyfilemonitor.c:
2100 Use the extension points registration instead
2101 of g_type_children().
2103 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2106 * gvolume.[hc]: Document new API.
2108 * gfile.c (g_file_copy_async): Fix docs
2110 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2112 * gbufferedinputstream.c:
2114 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2117 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2119 * glocalfile.c: Avoid trivial differences in translatable strings.
2121 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2123 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2124 build with gcc 3.4 (#509419)
2126 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2128 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2129 (#509994, Murray Cumming)
2131 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2133 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2134 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2135 this allows big jobs to be executed in chunks, instead of blocking
2136 the main loop for a long time.
2138 * gsimpleasyncresult.c:
2139 * giofile.c: Adapt callers.
2141 2008-01-25 Alexander Larsson <alexl@redhat.com>
2143 * gdesktopappinfo.c:
2144 Implement changes discussed on xdg list.
2145 Now we can add supported mimetypes by just using defaults.list
2146 We can also remove associations in defaults.list.
2148 2008-01-25 Alexander Larsson <alexl@redhat.com>
2150 * gdesktopappinfo.c:
2151 Don't make local copy of desktop file
2152 for mimetype changes if the file already
2153 supports the new mimetype.
2155 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2159 * gbufferedinputstream.c:
2160 * glocalfile.c: String improvements. (#511966,
2161 Theppitak Karoonboonyanan)
2163 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2165 * gioscheduler.h: Expand docs a bit.
2167 2008-01-24 Alexander Larsson <alexl@redhat.com>
2170 Add g_drive_get_identifier and
2171 g_drive_enumerate_identifiers
2174 Add g_volume_get_identifier and
2175 g_volume_enumerate_identifiers
2181 Implement identifiers for unix backend
2183 2008-01-24 Alexander Larsson <alexl@redhat.com>
2188 Add g_file_copy_async() (#511580)
2189 Based on patch from Carlos Garcia Campos
2191 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2193 * gioscheduler.c: Some documentation additions.
2195 2008-01-22 Alexander Larsson <alexl@redhat.com>
2197 * gdesktopappinfo.c:
2198 (g_desktop_app_info_new):
2199 Don't leak basename.
2201 2008-01-22 Alexander Larsson <alexl@redhat.com>
2203 * gdesktopappinfo.c:
2204 (g_desktop_app_info_new_from_filename):
2207 2008-01-22 Alexander Larsson <alexl@redhat.com>
2209 * glocalfileinfo.c (get_thumbnail_attributes):
2212 2008-01-22 Alexander Larsson <alexl@redhat.com>
2215 (canonicalize_filename):
2216 Canonicalize paths that start with more than
2220 (compare_two_files):
2221 (test_g_file_new_for_path):
2224 2008-01-22 Alexander Larsson <alexl@redhat.com>
2227 Allow UTF-8 in file:// parse names.
2229 * tests/Makefile.am:
2230 * tests/data-input-stream.c:
2231 * tests/data-output-stream.c:
2232 * tests/g-file-info.c:
2234 Added a bunch of tests from Tomas Bzatek
2236 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2238 * === Released 2.15.3 ===
2240 2008-01-21 Alexander Larsson <alexl@redhat.com>
2242 * gfileinputstream.[ch]:
2243 * gfileoutputstream.[ch]:
2245 Remove duplicated GSeekable functions. (#509990)
2246 Just use the g_seekable_xxx() calls instead.
2248 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2251 * gvolumemanager.c: Whitespace cleanups.
2253 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2254 Use the right mode when creating the file.
2256 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2258 * gfileenumerator.c:
2259 * gfileinputstream.c:
2261 * goutputstream.c: Documentation: Fixed minor typos
2262 and added more mentions of specific _finish() functions.
2264 2008-01-21 Alexander Larsson <alexl@redhat.com>
2266 * inotify/Makefile.am:
2267 * inotify/inotify-helper.c:
2268 * inotify/inotify-kernel.c:
2269 * inotify/inotify-path.c:
2270 * inotify/local_inotify.h: Removed.
2271 * inotify/local_inotify_syscalls.h: Removed.
2272 Removed the included copies of the inotify
2273 headers. We now only use the <sys/inotify.h>
2274 header which exists on modern systems.
2275 This fixes problems on ARM and SH5 (#510448)
2276 but is also generally much cleaner and future
2277 safe. For instance, if other OSes add support
2278 for inotify it should "just work".
2280 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2282 * inotify/*.c: Coding style fixes.
2283 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2284 for the 1/4 Hz timer.
2286 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2289 * gfilemonitor.[hc]:
2290 * gmemoryinputstream.c:
2291 * gmemoryoutputstream.c:
2292 * gmountoperation.c:
2293 * gthemedicon.c: Documentation updates
2295 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2297 * gfile.c: documentation: Fixed more minor
2300 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2302 * gmount.c: (g_mount_remount): documentation:
2303 Mention g_mount_remount_finish() instead of
2304 g_mount_unmount_finish().
2306 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2310 * gfile.c: Fixed some minor typos in the
2313 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2315 * gio/gvolumemonitor.c:
2316 (g_volume_monitor_get_connected_drives):
2317 (g_volume_monitor_get_volumes):
2318 (g_volume_monitor_get_mounts): Documentation:
2319 Clarify the ownership of the regurn GLists.
2321 2008-01-17 Alexander Larsson <alexl@redhat.com>
2324 Add the async find_enclosing_mount version
2325 to the header file too.
2327 2008-01-17 Alexander Larsson <alexl@redhat.com>
2330 Add async version of find_enclosing_mount
2331 with default implementation.
2333 2008-01-17 Alexander Larsson <alexl@redhat.com>
2338 Allow calls to implementation of copy and write
2339 even if the type of the file implementations is
2340 different. This can be used to implement native
2341 upload and download calls in a vfs.
2344 (g_local_file_move):
2345 Protect against the case where move is called
2346 with one file not being local.
2348 Make sure we call the progress callback once
2349 in the native move operation so that the caller
2350 knows how many bytes were copied.
2352 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2355 * gdatainputstream.c:
2357 * gfileoutputstream.c:
2362 * gunixmounts.c: Corrected some typos in the documentation:
2363 occured -> occurred.
2364 its -> it's (where appropriate).
2366 2008-01-16 Alexander Larsson <alexl@redhat.com>
2370 Add g_file_query_exists (#508771)
2372 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2377 * gvolume.c: For async functions that have no non-async
2378 version, document that the GAsyncReadyCallback may be NULL.
2381 2008-01-15 Alexander Larsson <alexl@redhat.com>
2383 * gmemoryinputstream.c:
2384 * gmemoryoutputstream.c:
2385 Don't do pointer arithmetic on void * (#508602)
2386 Patch from Kazuki IWAMOTO
2388 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2390 * === Released 2.15.2 ===
2392 2008-01-14 Alexander Larsson <alexl@redhat.com>
2394 * gfile.c (g_file_monitor_file):
2395 Don't set error here, since we fallback to polling monitor.
2397 2008-01-14 Alexander Larsson <alexl@redhat.com>
2400 (g_file_monitor_directory):
2401 (g_file_monitor_file):
2402 Add GError to file monitor calls
2404 * glocaldirectorymonitor.c:
2405 * glocaldirectorymonitor.h:
2407 * glocalfilemonitor.c:
2408 * glocalfilemonitor.h:
2410 Update for above change
2412 2008-01-14 Alexander Larsson <alexl@redhat.com>
2416 Handle root correctly in g_file_get_relative_path (#508719)
2418 2008-01-14 Alexander Larsson <alexl@redhat.com>
2421 Clean up docs and example for GAsyncResult (#508074)
2423 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2425 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2426 and correct some spelling mistakes. Bug #508108.
2428 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2430 * glocalfileinfo.c: Add a comment.
2432 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2434 * gfileinfo.c: GFileInfo description: Mention
2435 how to actually set attributes in a GFile and how to discover
2436 which attributes are settable. Bug #508378.
2438 2008-01-10 A. Walton <awalton@svn.gnome.org>
2440 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2441 (g_app_info_get_default_for_type):
2442 Check for NULL content types.
2444 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2446 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2448 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2450 * gfile.c: *_async() functions: Several small corrections
2451 to the documentation, mostly correcting copy/paste errors
2452 and improving some sentences.
2454 2008-01-09 Dan Winship <danw@gnome.org>
2456 * glocalfile.c (get_unique_filename): x86_64 fix
2458 2008-01-09 Alexander Larsson <alexl@redhat.com>
2463 Add g_unix_mount_guess_should_display and use
2464 for unix volume monitor backend.
2465 This means we more or less show what the
2466 gnome-vfs backend did.
2467 Based on patch from Padraig O'Briain
2469 2008-01-09 Alexander Larsson <alexl@redhat.com>
2473 Add g_themed_icon_new_with_default_fallbacks
2476 Use default fallbacks for icons
2478 2008-01-09 Alexander Larsson <alexl@redhat.com>
2481 * gmountoperation.[ch]:
2482 Change the API a bit so that unhandled methods
2483 get reported via the reply, rather than by
2484 the signal emission return value. This is because
2485 some handlers can't know this immediately without
2486 doing I/O, and this is an async operation that
2489 2008-01-09 Alexander Larsson <alexl@redhat.com>
2492 * fam/gfamdirectorymonitor.c:
2493 * fam/gfamfilemonitor.c:
2494 Fix double free crash (#508224)
2495 Patch from Joe Marcus Clarke
2497 008-01-07 Matthias Clasen <mclasen@redhat.com>
2499 * === Released 2.15.1 ===
2501 2008-01-07 Alexander Larsson <alexl@redhat.com>
2503 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2504 Fix warning (#507835)
2506 2008-01-07 Alexander Larsson <alexl@redhat.com>
2509 Pass --internal to glib-genmarshal
2512 * gmountoperation.c:
2514 Use better types for signal arguments (#507822)
2516 2008-01-07 Alexander Larsson <alexl@redhat.com>
2519 Build test subdir after .
2520 Remove gdirectorymonitor.[ch]
2522 * gdirectorymonitor.[ch]:
2526 Remove GDirectoryMonitor and make
2527 GFileMonitor the baseclass for both file and
2528 directory monitors. Lift the more generic
2529 rate limiting code from GDirectoryMonitor
2533 * fam/gfamdirectorymonitor.[ch]:
2534 * inotify/ginotifydirectorymonitor.[ch]:
2535 * inotify/inotify-helper.c:
2536 * glocaldirectorymonitor.[ch]:
2539 Update for the removed GDirectoryMonitor.
2541 * gmemoryoutputstream.c:
2542 Remove ununsed variable
2544 2008-01-07 Alexander Larsson <alexl@redhat.com>
2546 * gmemoryinputstream.c:
2547 Translate error strings
2550 * gmemoryoutputstream.[ch]:
2551 New implementation that avoids using GByteArray
2552 in implementation and API. (#506377)
2554 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2556 * tests/*: Add a test for memory input streams.
2558 * Makefile.am: Add tests to SUBDIRS.
2560 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2562 * glocalfilemonitor.c:
2563 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2566 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2568 * gdesktopappinfo.c: Fix a docs typo.
2570 * gfileattribute.c: Add information about extended attributes
2571 to the documentation. (#505058)
2573 2008-01-04 Alexander Larsson <alexl@redhat.com>
2576 * gmountoperation.c:
2577 Use the right type (uint) for the ask_password signal.
2579 2008-01-04 Alexander Larsson <alexl@redhat.com>
2584 Add g_app_info_supports_files()
2585 Remove desktop arg from g_app_info_should_show().
2587 * gdesktopappinfo.[ch]:
2588 Implement g_app_info_supports_files() and new should_show()
2589 Add g_desktop_app_info_set_desktop_env() to set the desktop
2590 for should_show(). (This will be set by gtk+ later)
2592 2008-01-04 Alexander Larsson <alexl@redhat.com>
2595 * gmemoryinputstream.[ch]:
2596 Improve API so that you can use multiple chunks
2597 of memory and custom destroy functions. (#506374)
2599 2008-01-03 Alexander Larsson <alexl@redhat.com>
2602 Handle NULL attribute matchers safely, as we return this
2603 for empty attribute matcher strings.
2605 2008-01-03 Alexander Larsson <alexl@redhat.com>
2607 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2608 Add /usr/local to list of internal mountpoints
2610 2008-01-03 Alexander Larsson <alexl@redhat.com>
2613 Check for HAVE_LCHOWN (#505887)
2615 2008-01-03 Alexander Larsson <alexl@redhat.com>
2619 Add define for selinux context attribute.
2620 Fix missing : -> :: namespace separator change
2621 Fix missing _ -> - name change for xattr-sys.
2624 2008-01-03 Alexander Larsson <alexl@redhat.com>
2627 Link to libglib and libgobject directly (#504879)
2628 Patch from Sebastien Bacher
2630 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2632 * gfile.c: Expanded the g_file_new_for_commandline_arg
2633 description a bit, based on the code and the docs of the
2634 other g_file_new_for_* functions.
2636 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2638 * gfilemonitor.h: Fixed typo in docs.
2640 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2642 Updates to GIO documentation. (#506395, Mikael Hermansson)
2644 * gcontenttype.c: Describe memory management for return value of
2645 g_content_types_get_registered(). Missing piece from #505815.
2646 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2647 GVolume, GDrive, GMounts, which hopefully gives the user less
2648 confusions when using this API. Following explainations from
2649 Alexander Larsson on gtk-devel-list.
2651 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2653 * gfileinfo.c: Expand the long description.
2655 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2658 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2659 fix builds with --disable-visibility. (#500273, Christian Persch)
2661 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2663 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2664 in the list of returned app infos.
2666 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2668 * gappinfo.c: Fix a cross-reference
2670 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2672 * gfileinputstream.c:
2673 * gfileoutputstream.c:
2677 * gdesktopappinfo.c:
2679 * gfileinfo.c: Documentation updates.
2681 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2683 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2686 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2688 * gcontenttype.c (g_content_types_get_registered): Don't return
2689 freed memory (#505815, Mikael Hermansson)
2691 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2693 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2694 used to detect statbuf->st_blocks. (#505042)
2696 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2698 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2699 environment handling. (#504829, Cosimo Cecchi)
2701 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2703 * gappinfo.c: Doc improvements
2705 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2708 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2710 * === Released 2.15.0 ===
2712 2007-12-20 Hans Breuer <hans@breuer.org>
2714 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2715 with symbols gwin32appinfo.obj, added gmount.obj
2716 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2718 2007-12-20 Alexander Larsson <alexl@redhat.com>
2724 * gfilenamecompleter.c:
2727 * gpollfilemonitor.c:
2728 File attribute renames:
2730 fs:: -> filesystem::
2731 id::fs -> id::filesystem
2733 2007-12-20 Alexander Larsson <alexl@redhat.com>
2742 Add GMountUnmountFlags to all unmount and
2744 Add g_mount_remount() call.
2746 2007-12-20 Alexander Larsson <alexl@redhat.com>
2748 * gvfs.c (get_default_vfs):
2749 Fix unused variable warning
2751 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2753 * pltcheck.sh: Update
2755 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2757 * gunionvolumemonitor.c:
2758 * gunixmount.c: Remove C99 comments
2760 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2762 * gio.symbols: Add some missing symbols
2764 2007-12-19 Alexander Larsson <alexl@redhat.com>
2767 Make g_io_modules_load_all_in_directory not unuse
2768 loaded modules so that users of it can do stuff
2770 Init internal "module" types.
2771 Initialize static prio and name for types so that
2772 we don't have to load modules to get it.
2774 * gnativevolumemonitor.h:
2776 Move is_supported to parent class so that
2777 non-native monitors can avoid being initialized
2778 too. (For instance GDaemonVolumeMonitor if we're
2779 not using GDaemonVfs.)
2781 * glocaldirectorymonitor.[ch]:
2782 * glocalfilemonitor.[ch]:
2783 * gunionvolumemonitor.c:
2784 * gunixvolumemonitor.c:
2786 Find plugins using the static prio+name to
2787 avoid unnecessarily loading the modules.
2789 2007-12-19 Alexander Larsson <alexl@redhat.com>
2794 2007-12-19 Alexander Larsson <alexl@redhat.com>
2796 * gunionvolumemonitor.c:
2797 Store the native type as GType, not class so that
2798 we can unload it. But still avoid unnecessarily
2801 2007-12-19 David Zeuthen <davidz@redhat.com>
2803 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2804 add signals 'disconnected' and 'eject-button' on GDrive. Add
2805 signal 'removed' on GVolume and 'unmounted' on GMount.
2807 * gdrive.c: (g_drive_base_init):
2809 * gfile.c: (g_file_mount_mountable),
2810 (g_file_mount_enclosing_volume):
2813 * gmount.c: (g_mount_base_init):
2815 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2816 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2817 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2821 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2823 * *.c: Fix up includes in the section docs.
2825 2007-12-17 Alexander Larsson <alexl@redhat.com>
2827 * gnativevolumemonitor.h:
2828 * gunionvolumemonitor.c:
2829 * gunixvolumemonitor.c:
2830 Add is_supported() to GNativeVolumeMonitorClass so
2831 that we can avoid having to create an object to see
2832 if the backend is supported at runtime.
2833 Also add name member and an env var to pick a specific
2834 volume monitor backend.
2838 Add cancellable to _g_mount_get_for_mount_path()
2840 * glocaldirectorymonitor.c:
2841 * glocalfilemonitor.c:
2842 Avoid loading and unloading modules while sorting.
2844 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2847 * gunixmounts.[hc]: Namespace waste reduction, move some
2848 g_get_unix_mount functions to the g_unix_mount namespace.
2851 * gunixvolumemonitor.c:
2853 * glocaldirectorymonitor.c: Update all callers.
2855 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2857 2007-12-17 Alexander Larsson <alexl@redhat.com>
2860 Add doc comments about what GFile operations are
2861 guaranteed to not block.
2863 2007-12-17 Alexander Larsson <alexl@redhat.com>
2866 Add missing #ifdef fixing OSX build.
2867 (#503334, patch from Richard Hult)
2869 2007-12-14 David Zeuthen <davidz@redhat.com>
2873 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2874 (g_mount_eject), (g_mount_eject_finish):
2876 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2877 (get_volume_for_uuid), (get_mount_for_uuid),
2878 (g_union_volume_monitor_class_init),
2879 (get_default_native_type_with_exclude), (get_default_native_type),
2880 (get_native_type), (update_native_type),
2881 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2882 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2883 (g_unix_mount_can_eject), (eject_unmount_cb),
2884 (eject_unmount_read_error), (eject_unmount_do),
2885 (g_unix_mount_unmount), (g_unix_mount_eject),
2886 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2887 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2888 (g_unix_mount_point_guess_can_eject):
2890 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2891 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2892 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2893 (g_unix_volume_mount), (g_unix_volume_eject),
2894 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2895 * gunixvolumemonitor.c: (get_volume_for_uuid),
2896 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2898 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2899 (g_volume_eject), (g_volume_eject_finish):
2901 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2902 (g_volume_monitor_get_mount_for_uuid):
2905 Provide eject() on both GMount and GVolume and utility functions
2906 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2907 ejected. Introduce the concept of UUID's and wire it into GVolume
2908 and GMount and provide API on GVolumeMonitor to find such
2909 instances. Also handle the case where an external
2910 GNativeVolumeMonitor fails to initialize. Lock around the
2911 _g_get_mount_for_mount_path() function such that volume monitor
2912 implementations won't have to do locking themselves.
2914 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2916 * gdesktopappinfo.c:
2922 * gvolume.h: Documentation updates
2924 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2927 * gfile.h: Doc updates
2929 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2932 * gdesktopappinfo.c: Use hash table iterators.
2934 2007-12-14 Alexander Larsson <alexl@redhat.com>
2937 * gfileattribute.[ch]:
2938 * gfileattribute-priv.h:
2939 Move GFileAttributeValue to a private header, as
2943 Make set_attribute take a type + a pointer instead
2944 of a GFileAttributeValue.
2947 Fix up for above changes.
2948 Add g_file_info_get_attribute_data to get
2949 all info in one call, g_file_info_get_attribute_status
2950 to get the status and g_file_info_get_attribute_as_string.
2954 * glocalfileinfo.[ch]:
2958 Make _guess_type static.
2960 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2963 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2964 made mkenums and friends use temporary files to avoid leaving
2965 empty generated files on failure (#503470).
2967 2007-12-14 Alexander Larsson <alexl@redhat.com>
2969 * gmountoperation.h:
2972 2007-12-14 Alexander Larsson <alexl@redhat.com>
2976 * gfileattribute.[ch]:
2979 * glocalfileoutputstream.c:
2980 * gmountoperation.[ch]:
2981 * goutputstream.[ch]:
2982 Clean up all flags enums to not have _FLAGS in them
2983 Make the names of some of the enums better.
2988 2007-12-14 Michael Natterer <mitch@imendio.com>
2990 * gio.symbols: fix g_io_scheduler symbol names.
2992 2007-12-14 Alexander Larsson <alexl@redhat.com>
2998 * gbufferedinputstream.h:
2999 * gbufferedoutputstream.h:
3002 * gdatainputstream.h:
3003 * gdataoutputstream.h:
3004 * gdesktopappinfo.h:
3005 * gdirectorymonitor.h:
3009 * gfileenumerator.h:
3012 * gfileinputstream.h:
3014 * gfilenamecompleter.h:
3015 * gfileoutputstream.h:
3016 * gfilterinputstream.h:
3017 * gfilteroutputstream.h:
3025 * gmemoryinputstream.h:
3026 * gmemoryoutputstream.h:
3028 * gmountoperation.h:
3031 * gsimpleasyncresult.h:
3033 * gunixinputstream.h:
3035 * gunixoutputstream.h:
3039 * inotify/Makefile.am:
3040 Only allow including <gio/gio.h> from apps
3042 2007-12-14 Alexander Larsson <alexl@redhat.com>
3044 * gioscheduler.[ch]:
3045 * gsimpleasyncresult.c:
3046 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3047 Split out the send_to_mainloop call into two versions instead
3048 of having the block argument.
3050 2007-12-13 Alexander Larsson <alexl@redhat.com>
3052 * gcancellable.[ch]:
3054 * gbufferedinputstream.c:
3055 * gfileenumerator.c:
3056 * gfileinputstream.c:
3057 * gfileoutputstream.c:
3061 g_push/pop_current_cancellable ->
3062 g_cancellable_push/pop_current
3064 2007-12-13 Alexander Larsson <alexl@redhat.com>
3068 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3070 2007-12-13 Alexander Larsson <alexl@redhat.com>
3072 * gmountoperation.h:
3073 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3075 2007-12-12 Alexander Larsson <alexl@redhat.com>
3078 Fix race condition when freeing proxy in
3079 g_io_job_send_to_mainloop().
3081 2007-12-12 Alexander Larsson <alexl@redhat.com>
3087 Make attribute namespace separator "::" instead of ":".
3088 Use - instead of _ as separator in attribute names.
3090 2007-12-12 Alexander Larsson <alexl@redhat.com>
3092 * gbufferedinputstream.h:
3093 * gbufferedoutputstream.h:
3094 * gdatainputstream.h:
3095 * gdataoutputstream.h:
3096 * gdirectorymonitor.h:
3097 * gfileenumerator.h:
3098 * gfileinputstream.h:
3100 * gfileoutputstream.h:
3101 * gfilterinputstream.h:
3102 * gfilteroutputstream.h:
3104 * glocalfileinputstream.h:
3105 * glocalfileoutputstream.h:
3106 * gmemoryinputstream.h:
3107 * gmemoryoutputstream.h:
3108 * gnativevolumemonitor.h:
3110 * gunixinputstream.h:
3111 * gunixoutputstream.h:
3114 s/parent/parent_instance/ in GObjects
3116 2007-12-12 Alexander Larsson <alexl@redhat.com>
3121 No need for padding for interfaces
3123 2007-12-12 Alexander Larsson <alexl@redhat.com>
3127 * gbufferedinputstream.c:
3128 * gbufferedoutputstream.c:
3131 * gdatainputstream.[ch]:
3132 * gdesktopappinfo.c:
3133 * gdirectorymonitor.c:
3135 * gfileattribute.[ch]:
3138 * gfileinputstream.h:
3139 * gfilemonitor.[ch]:
3140 * gfileoutputstream.[ch]:
3141 * gfilterinputstream.h:
3142 * gfilteroutputstream.h:
3145 * gloadableicon.[ch]:
3146 * gmemoryinputstream.c:
3147 * gmountoperation.c:
3149 Fix up a bunch of details in the docs.
3154 2007-12-11 David Zeuthen <davidz@redhat.com>
3156 Rework how volumes, drives and volume monitoring is
3157 done. Previosly the model was
3159 GDrive <1-1> GVolume
3161 where a GDrive instance represented a mount point and a GVolume
3162 instance represented a mounted file system. This patch changes it
3165 GDrive <1-N> GVolume <1-1> GMount
3167 where GMount now serves the purpose of the old GVolume and the new
3168 GVolume serves the purpose of the old GDrive. In addition the new
3169 GDrive interface is used to represent a collection of GVolume
3170 instances (typically partitions) and also contains utility to query
3171 the state of the physical drive the GDrive object represents (such
3172 as checking for media, polling the drive, ejecting the media etc.).
3174 Also implement mounting and unmounting in the Unix volume monitor
3175 backend. A subquent patch will introduce GDrive support for ejection
3179 * gdrive.c: (g_drive_is_media_check_automatic),
3180 (g_drive_is_media_removable), (g_drive_has_media),
3181 (g_drive_can_poll_for_media), (g_drive_eject),
3182 (g_drive_eject_finish), (g_drive_poll_for_media),
3183 (g_drive_poll_for_media_finish):
3185 * gfile.c: (g_file_find_enclosing_mount):
3188 * glocaldirectorymonitor.c:
3189 (g_local_directory_monitor_constructor), (mounts_changed):
3190 * glocalfile.c: (get_mount_info),
3191 (g_local_file_find_enclosing_mount),
3192 (g_local_file_file_iface_init):
3193 * gnativevolumemonitor.h:
3194 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3195 (get_connected_drives), (g_union_volume_monitor_class_init),
3196 (child_volume_added), (child_volume_removed),
3197 (child_volume_changed), (child_mount_added), (child_mount_removed),
3198 (child_mount_pre_unmount), (child_mount_changed),
3199 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3200 (g_union_volume_monitor_remove_monitor),
3201 (_g_mount_get_for_mount_path):
3202 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3203 (guess_system_internal), (_g_get_unix_mounts),
3204 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3205 (g_unix_mount_free), (g_unix_mount_compare),
3206 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3207 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3208 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3209 (type_to_icon), (g_unix_mount_guess_name),
3210 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3211 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3212 (_resolve_symlink), (_resolve_dev_root):
3214 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3215 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3216 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3217 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3218 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3219 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3220 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3221 (g_unix_volume_volume_iface_init):
3223 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3224 (get_mounts), (get_volumes), (get_connected_drives),
3225 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3226 (mountpoints_changed), (mounts_changed),
3227 (g_unix_volume_monitor_init),
3228 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3229 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3230 * gunixvolumemonitor.h:
3231 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3232 (g_volume_mount), (g_volume_mount_finish):
3234 * gvolumemonitor.c: (g_volume_monitor_class_init),
3235 (g_volume_monitor_get_connected_drives),
3236 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3239 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3241 * gmountoperation.h (GPasswordFlags): Close the gap
3243 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3245 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3247 * gdesktopappinfo.[hc]: Remove _-prefixes
3249 2007-12-10 Tor Lillqvist <tml@novell.com>
3251 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3254 2007-12-10 Alexander Larsson <alexl@redhat.com>
3256 * gfile.c (g_file_set_display_name):
3257 Don't hardcode '/' (#502727)
3259 2007-12-09 Hans Breuer <hans@breuer.org>
3261 * makefile.msc : follow lib naming convention
3262 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3263 for user and group name, tested with ../tests/gio-ls
3265 2007-12-09 A. Walton <awalton@svn.gnome.org>
3267 * gdesktopappinfo.c:
3273 * gfileenumerator.c:
3278 * gmemoryinputstream.c:
3279 * gmemoryoutputstream.c:
3281 * gsimpleasyncresult.c:
3282 More documentation cleanup and filling in missing information, bringing
3283 GIO to 99% symbol coverage.
3285 2007-12-08 Hans Breuer <hans@breuer.org>
3287 [gio compiles and links on win32, not sure how much already works]
3288 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3289 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3290 base on win32 API; prefer g_lstat() over lstat(); instead of
3291 localtime_r() use an all GLib implementation on win32;
3292 get_mount_info() still needs a win32 specifc implementation
3293 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3294 win32_get_file_user_info to get owner/group info without uid/gid
3295 * glocalfileinputstream.c : include <io.h> on win32
3296 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3297 definition, use g_win32_ftruncate() for G_OS_WIN32
3298 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3299 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3300 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3301 * makefile.msc : updated
3303 2007-12-07 Alexander Larsson <alexl@redhat.com>
3305 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3306 Avoid warning spew if error == NULL
3308 2007-12-07 Alexander Larsson <alexl@redhat.com>
3311 Update docs wrt etags
3313 2007-12-06 Alexander Larsson <alexl@redhat.com>
3316 Include sys/types.h for dev_t (#501919)
3318 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3322 Make abicheck and pltcheck pass.
3324 2007-12-05 Alexander Larsson <alexl@redhat.com>
3327 * giomodule-priv.h: Added.
3328 * glocaldirectorymonitor.c:
3329 * glocalfilemonitor.c:
3330 * gunionvolumemonitor.c:
3332 Actually add the declaration of _g_io_modules_ensure_loaded
3334 2007-12-05 Alexander Larsson <alexl@redhat.com>
3336 * gdatainputstream.c:
3341 * glocaldirectorymonitor.c:
3342 * glocalfilemonitor.c:
3343 * gunionvolumemonitor.c:
3345 Make g_io_modules_ensure_loaded a private function and
3346 don't pass in the dirname. This means we can do magic
3347 directory finding in the win32 version.
3348 Export the actual load-modules-in-directory code so that
3349 gvfs can reuse that.
3351 2007-12-05 Alexander Larsson <alexl@redhat.com>
3353 * gbufferedinputstream.c:
3354 * gbufferedoutputstream.c:
3357 * gfileenumerator.[ch]:
3358 * gfileinputstream.c:
3359 * gfileoutputstream.[ch]:
3360 * gfilterinputstream.c:
3361 * gfilteroutputstream.c:
3362 * ginputstream.[ch]:
3364 * glocalfileenumerator.c:
3365 * glocalfileinputstream.c:
3366 * glocalfileoutputstream.c:
3367 * gmemoryinputstream.c:
3368 * gmemoryoutputstream.c:
3369 * goutputstream.[ch]:
3372 * gunixinputstream.c:
3373 * gunixoutputstream.c:
3374 Rename all struct members named:
3375 read, write, close, truncate, or mount
3376 to foo_fn, as these are reserved names
3377 and could be defined as macros in libc.
3380 2007-12-04 Alexander Larsson <alexl@redhat.com>
3383 (g_output_stream_close):
3384 Only call flush if non-null.
3386 2007-11-30 Dan Winship <danw@gnome.org>
3388 * ginputstream.c (g_input_stream_set_pending): Make this take a
3389 GError and return a gboolean, and do the "outstanding operation"
3390 check (and the "stream is already closed" check) itself.
3391 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3393 * goutputstream.c (g_output_stream_set_pending)
3394 (g_output_stream_clear_pending): Likewise
3396 * gbufferedinputstream.c:
3397 * gfileinputstream.c:
3398 * gfileoutputstream.c: Update for that
3400 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3401 Like g_simple_async_report_error_in_idle, but takes a GError
3402 rather than building one.
3404 2007-11-30 Dan Winship <danw@gnome.org>
3406 * goutputstream.c: Don't cheat and unset the "pending" flag around
3407 inner calls. Instead, call the class method directly rather than
3408 the wrapper function that checks "pending"
3410 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3412 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3414 2007-12-03 Hans Breuer <hans@breuer.org>
3416 [start of port to win32/msvc]
3417 * gcancellable.c : HAVE_UNIST_H and _pipe()
3418 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3419 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3420 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3422 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3423 * glocalvfs.c : use HAVE_PWD_H
3424 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3425 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3426 * Makefile.am : added to EXTRA_DIST
3428 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3430 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3433 2007-12-03 Alexander Larsson <alexl@redhat.com>
3436 Handle OSX style xattrs API (#500506)
3438 2007-12-03 Alexander Larsson <alexl@redhat.com>
3442 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3444 2007-12-02 A. Walton <awalton@svn.gnome.org>
3448 Documentation accuracy fixes.
3450 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3452 * gioenumtypes.c.template: Fix typo.
3454 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3456 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3458 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3460 * gdirectorymonitor.c:
3461 * gfilemonitor.c: Add properties
3463 * gbufferedoutputstream.c: Don't mark buffer-size property
3466 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3468 * gbufferedoutputstream.c: Add auto-grow property.
3470 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3472 * *.c: Unify the capitalization of section headings.
3474 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3476 * gmountoperation.c: Add properties
3478 * gdatainputstream.c: Turn byte-order and newline-type into
3481 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3483 * gioenumtypes.[hc].template: Templates for enum registration
3485 * Makefile.am: Generate gioenumtypes.[hc]
3487 * gio.h: Include gioenumtypes.h
3489 * gfile.h: Add some explicit nicks.
3491 * gio.symbols: Add new symbols
3493 * pltcheck.sh: Adjust
3495 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3497 * *.c: Explain etags and link to the explanation
3499 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3501 * *.c: Explain I/O priority.
3503 * *.c: More coding style fixes.
3505 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3507 * gasyncresult.c: Add another paragraph to the intro,
3508 adjust coding style of example.
3510 2007-11-29 A. Walton <awalton@svn.gnome.org>
3513 Fixes unknown meaning in GAppLaunchContext docs.
3515 Clarify asynchronous ops.
3517 Fix entity tag docs.
3520 Provides missing gtk-doc section, fixes API docs slighly.
3521 * gsimpleasyncresult.c:
3522 Fill in missing info in docs.
3523 * gunixinputstream.c:
3524 * gunixoutputstream.c:
3525 Be more expressive in short description.
3527 Remove gtk-doc stubs for non-public API.
3529 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3531 * *.c: Coding style fixups
3533 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3535 * inotify/inotify-helper.c: Don't export the lock from libgio.
3537 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3540 * abicheck.sh: Fix copy-and-paste leftovers
3542 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3544 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3546 2007-11-28 Alexander Larsson <alexl@redhat.com>
3550 Removed unnecessary file
3552 * gdesktopappinfo.[ch]:
3555 * glocaldirectorymonitor.[ch]:
3557 * glocalfileenumerator.[ch]:
3558 * glocalfileinputstream.[ch]:
3559 * glocalfilemonitor.[ch]:
3560 * glocalfileoutputstream.[ch]:
3562 * gnativevolumemonitor.c:
3563 * gpollfilemonitor.[ch]:
3564 * gunionvolumemonitor.[ch]:
3567 * gunixvolumemonitor.[ch]:
3570 * inotify/ginotifydirectorymonitor.[ch]:
3571 * inotify/ginotifyfilemonitor.[ch]:
3572 * inotify/inotify-helper.c:
3573 Append _ to all internal functions
3577 Export symbols needed for modules
3579 2007-11-28 Alexander Larsson <alexl@redhat.com>
3582 * abicheck.sh: Added.
3583 * makegioalias.pl: Added.
3584 * pltcheck.sh: Added.
3585 * gio.symbols: Added.
3588 Initial work on adding symbol handling.
3591 Correct ifdef guard name
3594 * inotify/Makefile.am:
3595 * xdgmime/Makefile.am:
3596 Include toplevel Makefile.decl
3598 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3600 * gcontenttype.c: Move doc comments to the unix section.
3602 * *.[hc]: More trivial doc corrections.
3604 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3606 * gpollfilemonitor.c:
3610 * gdesktopappinfo.c:
3615 * gdatainputstream.c:
3616 * gdatainputstream.h:
3617 * gdataoutputstream.c:
3618 * gdataoutputstream.h:
3619 * gfileinfo.h: Doc cleanups
3621 2007-11-28 Andre Klapper <a9016009@gmx.de>
3623 * gdesktopappinfo.c: Fix a typo.
3625 2007-11-27 Andre Klapper <a9016009@gmx.de>
3627 * glocalfileoutputstream.c: Fix a typo.
3629 2007-11-27 Alexander Larsson <alexl@redhat.com>
3632 Don't include removed headers
3634 2007-11-27 Alexander Larsson <alexl@redhat.com>
3637 * gsocketinputstream.[ch]: Removed.
3638 * gsocketoutputstream.[ch]: Removed.
3639 * gunixinputstream.[ch]: Added.
3640 * gunixoutputstream.[ch]: Added.
3641 Renamed GSocket*Stream to GUnix*Stream and made
3642 it unix-only, since its not really only for sockets
3643 and it only works on unix (but is highly useful there).
3645 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3651 * gbufferedinputstream.c:
3652 * gbufferedinputstream.h:
3653 * gbufferedoutputstream.c:
3654 * gbufferedoutputstream.h:
3658 * gdatainputstream.c:
3659 * gdatainputstream.h:
3660 * gdataoutputstream.c:
3661 * gdataoutputstream.h:
3662 * gdirectorymonitor.c:
3663 * gdirectorymonitor.h:
3670 * gfileenumerator.c:
3671 * gfileenumerator.h:
3676 * gfileinputstream.c:
3677 * gfileinputstream.h:
3680 * gfilenamecompleter.c:
3681 * gfilenamecompleter.h:
3682 * gfileoutputstream.c:
3683 * gfileoutputstream.h:
3684 * gfilterinputstream.c:
3685 * gfilterinputstream.h:
3686 * gfilteroutputstream.c:
3687 * gfilteroutputstream.h:
3700 * glocalfileoutputstream.c:
3701 * gmemoryinputstream.c:
3702 * gmemoryinputstream.h:
3703 * gmemoryoutputstream.c:
3704 * gmemoryoutputstream.h:
3705 * gmountoperation.c:
3706 * gmountoperation.h:
3709 * gpollfilemonitor.c:
3712 * gsimpleasyncresult.c:
3713 * gsimpleasyncresult.h:
3714 * gsocketinputstream.c:
3715 * gsocketinputstream.h:
3716 * gsocketoutputstream.c:
3717 * gsocketoutputstream.h:
3724 * gunixvolumemonitor.c:
3733 Bumps documentation to 93% symbol coverage, touching most
3734 of the public files. Fixes broken function documentation prototypes.
3735 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3736 gtk-doc headers in private files.
3738 2007-11-27 Jürg Billeter <j@bitron.ch>
3740 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3741 (g_buffered_input_stream_read_byte):
3742 * gbufferedinputstream.h:
3743 New functions for efficient access to buffer and simple single byte
3746 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3747 (g_data_input_stream_read_until):
3748 * gdatainputstream.h:
3749 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3750 read_until with multiple stop chars.
3752 2007-11-27 Alexander Larsson <alexl@redhat.com>
3756 * inotify/Makefile.am:
3757 Use the user-specified giomoduledir
3759 2007-11-27 Alexander Larsson <alexl@redhat.com>
3763 Add catch-all gio.h header
3764 Don't install gdummyfile.h
3766 2007-11-26 Alexander Larsson <alexl@redhat.com>
3768 * Makefile.am (gioinclude_HEADERS):
3769 Remove trailing whitespace
3771 2007-11-26 Alexander Larsson <alexl@redhat.com>
3773 Merge gio-standalone into glib
3775 2007-11-25 Christian Kellner <gicmo@gnome.org>
3777 * gio/goutputstream.c:
3778 Fix small mistake in the docs.
3780 2007-11-21 Christian Persch <chpe@gnome.org>
3782 * gio/glocalfile.c: (g_local_file_trash):
3783 Convert filenames to UTF-8 for GError.
3784 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3785 as per xdg base dir spec.
3787 2007-11-21 Christian Persch <chpe@gnome.org>
3789 * gio/gdesktopappinfo.c:
3790 Use that g_key_file_to_data cannot fail.
3792 Use stock defines for the key file group and key names.
3795 2007-11-21 Alexander Larsson <alexl@redhat.com>
3798 (copy_stream_with_progress):
3799 Make sure we do a final progress callback with
3800 the full total size.
3802 2007-11-21 Alexander Larsson <alexl@redhat.com>
3805 Export g_file_copy_attributes
3806 Remove padding as its not needed for interfaces
3808 2007-11-20 Alexander Larsson <alexl@redhat.com>
3813 Add G_IO_ERROR_WOULD_MERGE for
3814 copy/move dir on dir with overwrite.
3816 2007-11-20 Alexander Larsson <alexl@redhat.com>
3819 * gio/glocalfileinfo.c:
3820 Add COPY_NAME (this is an optional
3821 non-modified utf8 version of the name) that
3824 2007-11-20 Alexander Larsson <alexl@redhat.com>
3826 * gio/glocalfileenumerator.c:
3827 Report errors as GIOError, not GFileError
3829 2007-11-16 Alexander Larsson <alexl@redhat.com>
3831 * gio/glocalfileoutputstream.c:
3832 * gio/gwin32appinfo.c:
3833 Fix typos in strings.
3834 Patch from Luca Ferretti <elle.uca@libero.it>
3836 2007-11-15 Alexander Larsson <alexl@redhat.com>
3839 Post release version bump
3841 === gio-standalone 0.1.2 ===
3843 2007-11-15 Alexander Larsson <alexl@redhat.com>
3845 * docs/reference/gio/Makefile.am:
3846 Fix up distcheck by removing weird
3852 2007-11-14 Alexander Larsson <alexl@redhat.com>
3854 * gio/gdesktopappinfo.c:
3855 * gio/glocaldirectorymonitor.c:
3857 * gio/glocalfileinfo.c:
3858 * gio/inotify/inotify-sub.c:
3859 * programs/gio-cat.c:
3860 * programs/gio-copy.c:
3861 * programs/gio-info.c:
3862 * programs/gio-ls.c:
3863 * programs/gio-monitor-dir.c:
3864 * programs/gio-monitor-file.c:
3865 * programs/gio-mount.c:
3866 * programs/gio-move.c:
3867 * programs/gio-rm.c:
3868 * programs/gio-save.c:
3869 * programs/gio-trash.c:
3870 Leak fixes from Kjartan Maraas
3872 2007-11-14 Alexander Larsson <alexl@redhat.com>
3874 * gio/fam/fam-helper.c:
3876 * gio/glocalfileinfo.c:
3880 * gio/inotify/inotify-diag.c:
3881 * gio/inotify/inotify-kernel.c:
3882 Various code cleanups from Kjartan Maraas
3884 2007-11-14 Alexander Larsson <alexl@redhat.com>
3886 * gio/gioscheduler.c:
3888 Set up threadpool so that we cache 2 unused
3889 idle threads for at 15 secs. This means we
3890 will reuse thread-local data (like dbus connections)
3893 2007-11-14 Alexander Larsson <alexl@redhat.com>
3895 * gio/fam/fam-helper.c:
3896 * gio/fam/gfamdirectorymonitor.c:
3897 * gio/fam/gfamfilemonitor.c:
3899 * gio/gcontenttype.c:
3900 * gio/gdatainputstream.c:
3901 * gio/gdataoutputstream.c:
3905 * gio/gfileattribute.h:
3906 * gio/gfileenumerator.c:
3908 * gio/ginputstream.c:
3911 * gio/glocalfileinfo.c:
3912 * gio/goutputstream.c:
3913 * gio/gpollfilemonitor.c:
3914 * gio/gsimpleasyncresult.c:
3915 * gio/gunixmounts.c:
3916 * gio/gunixmounts.h:
3917 * gio/inotify/ginotifydirectorymonitor.c:
3918 * gio/inotify/ginotifyfilemonitor.c:
3919 * gio/inotify/inotify-diag.c:
3920 * gio/inotify/inotify-kernel.c:
3921 * gio/inotify/inotify-path.c:
3923 * gio/test-streams.c:
3924 * programs/gio-info.c:
3925 * programs/gio-monitor-dir.c:
3926 * programs/gio-monitor-file.c:
3927 Various code cleanups from Kjartan Maraas
3929 2007-11-13 Alexander Larsson <alexl@redhat.com>
3932 Handle the uri-scheme calls for dummy files
3934 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3936 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3937 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3938 to avoid clash with the C++ keyword.
3940 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3942 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3943 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3945 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3947 * gio/glocaldirectorymonitor.c:
3948 * gio/glocalfilemonitor.c:
3949 * gio/gunionvolumemonitor.c:
3950 Don't use g_once_init_*() for initializations that could fail and
3951 could leave the initialization variable set to 0 but use GOnce.
3952 This prevents a deadlock on the second call when trying to create
3953 a monitor and no monitor type is available. Thanks to Sven Herzberg
3956 2007-11-11 Sven Herzberg <sven@imendio.com>
3958 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3959 #ifdef (make it work on MacOS X again)
3961 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3963 Fixes Changelog for last two commits (sorry guys).
3965 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3967 * gio/gbufferedinputstream.c:
3968 * gio/gdatainputstream.c:
3970 * gio/gfileoutputstream.c:
3971 * gio/gfilterinputstream.c:
3972 * gio/glocalfileinputstream.c:
3975 More consistency fixes in g*stream.c files.
3976 Significant clean of gfile's documentation, filling in of
3977 asynchronous operations documentation.
3979 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3981 * gio/gasyncresult.c:
3982 * gio/gbufferedinputstream.c:
3983 * gio/gbufferedoutputstream.c:
3984 * gio/gcancellable.c:
3985 * gio/gcontenttype.c:
3986 * gio/gdatainputstream.c:
3987 * gio/gdataoutputstream.c:
3988 * gio/gdesktopappinfo.c:
3991 * gio/gfileattribute.c:
3992 * gio/gio/gfileenumerator.c:
3994 * gio/gfileinputstream.c:
3995 * gio/gfilemonitor.c:
3996 * gio/gfileoutputstream.c:
3997 * gio/ginputstream.c:
3999 * gio/gioscheduler.c:
4000 * gio/gloadableicon.c:
4001 * gio/glocalfileoutputstream.c:
4002 * gio/gmemoryoutputstream.c:
4003 * gio/gmountoperation.c:
4004 * gio/goutputstream.c:
4006 * gio/gsimpleasyncresult.c:
4007 * gio/gunionvolumemonitor.c:
4008 * gio/gunixmounts.c:
4009 * gio/gunixvolume.c:
4013 * gio/gvolumemonitor.c:
4014 Updated documentation stubs, working towards consistency and
4017 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4019 * gio/gmemoryoutputstream.c:
4020 * gio/gmemoryoutputstream.h:
4021 Change g_memory_output_stream_set_free_on_close() to
4022 g_memory_output_stream_set_free_data() as this makes more sense and
4023 is more consistent with GMemoryInputStream.
4025 2007-11-07 Alexander Larsson <alexl@redhat.com>
4032 Change how we find the default vfs so that
4033 we can handle a gvfs failing to init
4035 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4037 * gio/gbufferedoutputstream.c:
4038 * gio/gdatainputstream.c:
4039 * gio/gdataoutputstream.c:
4040 * gio/gfileinputstream.c:
4041 * gio/gfileoutputstream.c:
4042 * gio/gfilterinputstream.c:
4043 * gio/gfilteroutputstream.c:
4044 * gio/ginputstream.c:
4045 * gio/gmemoryinputstream.c:
4046 * gio/gmemoryoutputstream.c:
4047 * gio/goutputstream.c:
4048 * gio/gsimpleasyncresult.c:
4049 * gio/gsocketinputstream.c:
4050 * gio/gsocketoutputstream.c:
4051 Add guards to the remaining public functions, add a TODO for
4052 an unimplemented function and remove some useless guards.
4054 2007-11-07 Alexander Larsson <alexl@redhat.com>
4057 Autoconf checks for the various types of
4058 getpwuid_r and getgrgid_r
4060 * gio/glocalfileinfo.c:
4061 Use the autoconf checks from above
4063 2007-11-07 Alexander Larsson <alexl@redhat.com>
4066 (g_local_file_query_filesystem_info):
4067 Some fixes for the statvfs case
4069 2007-11-07 Alexander Larsson <alexl@redhat.com>
4072 (g_local_file_query_filesystem_info):
4073 Pick the "best" of statfs / statvfs for the system
4074 if both are availible.
4076 2007-11-07 Alexander Larsson <alexl@redhat.com>
4078 Solaris fixes from Halton.Huo@Sun.COM:
4085 * gio/glocalfileinfo.c:
4086 Fix for solaris definition of getpwuid_r
4088 * gio/test-streams.c:
4089 Use G_GNUC_PRETTY_FUNCTION
4091 2007-11-07 Alexander Larsson <alexl@redhat.com>
4093 * gio/gdesktopappinfo.c:
4094 (update_default_list):
4095 Remove double semicolon.
4096 Patch from Jens Granseuer
4098 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4100 * docs/reference/gio/gio-sections.txt:
4101 * gio/gbufferedinputstream.c:
4102 * gio/gbufferedinputstream.h:
4103 * gio/gdatainputstream.c:
4104 * gio/gfileenumerator.c:
4105 * gio/gioscheduler.c:
4106 * gio/gunionvolumemonitor.c:
4108 * programs/gio-save.c:
4109 Fix typo: availible -> available. Unfortuntely this breaks API
4110 and ABI as g_buffered_input_stream_get_available() was renamed.
4112 * gio/gunixmounts.c:
4113 * gio/gbufferedinputstream.c:
4114 Add guards for public functions.
4116 2007-11-06 Ross Burton <ross@openedhand.com>
4118 * docs/reference/gio/Makefile.am:
4119 Fix invalid += usage which automake 1.10 doesn't like.
4121 2007-11-06 Alexander Larsson <alexl@redhat.com>
4124 (g_app_launch_context_class_init):
4127 Patch from Ross Burton
4129 2007-11-06 Alexander Larsson <alexl@redhat.com>
4132 Post release version bump
4134 === gio-standalone 0.1.1 ===
4136 2007-11-06 Alexander Larsson <alexl@redhat.com>
4139 Bump version to 0.1.1
4141 * gio/gsimpleasyncresult.c:
4142 (g_simple_async_result_set_from_error):
4143 Remove bogus g_return_if_fail
4145 2007-11-06 Alexander Larsson <alexl@redhat.com>
4148 The name is gio-standalone
4151 Add top src/builddir to includedir
4153 2007-11-06 Alexander Larsson <alexl@redhat.com>
4155 * docs/reference/gio/gio-sections.txt:
4157 * gio/gbufferedinputstream.c:
4158 * gio/gbufferedoutputstream.c:
4159 * gio/gcancellable.c:
4160 * gio/gdatainputstream.h:
4161 * gio/gdataoutputstream.c:
4162 * gio/gdataoutputstream.h:
4163 * gio/gdirectorymonitor.c:
4165 * gio/gfileattribute.c:
4166 * gio/gfileattribute.h:
4167 * gio/gfileenumerator.c:
4168 * gio/gfileenumerator.h:
4171 * gio/gfileinputstream.h:
4172 * gio/gfilemonitor.c:
4173 * gio/gfileoutputstream.h:
4174 * gio/glocalfilemonitor.h:
4175 * gio/glocalfileoutputstream.h:
4176 * gio/gmemoryinputstream.c:
4177 * gio/gmemoryoutputstream.c:
4178 * gio/gmountoperation.c:
4179 * gio/goutputstream.c:
4180 * gio/goutputstream.h:
4182 * gio/gsimpleasyncresult.c:
4183 * gio/gunixmounts.c:
4184 * gio/gunixmounts.h:
4186 * gio/inotify/inotify-helper.c:
4187 Fix gtk-doc warnings
4189 Patch from Ross Burton
4191 2007-11-06 Alexander Larsson <alexl@redhat.com>
4193 * gio/gfilenamecompleter.c:
4194 (g_filename_completer_get_completions):
4197 * gio/gunixvolume.c:
4198 Remove unused function
4200 Patches from Ross Burton
4202 2007-11-06 Alexander Larsson <alexl@redhat.com>
4207 Padding not needed for interfaces
4209 2007-11-06 Alexander Larsson <alexl@redhat.com>
4211 * gio/gfilemonitor.c:
4215 Make giotypes.h an internal file
4218 * gio/gbufferedinputstream.h:
4219 * gio/gbufferedoutputstream.h:
4220 * gio/gcancellable.h:
4221 * gio/gdatainputstream.h:
4222 * gio/gdataoutputstream.h:
4223 * gio/gdirectorymonitor.c:
4224 * gio/gdirectorymonitor.h:
4229 * gio/gfileattribute.h:
4230 * gio/gfileenumerator.h:
4235 * gio/gfilemonitor.c:
4236 * gio/gfilemonitor.h:
4237 * gio/gfilenamecompleter.c:
4238 * gio/gfilenamecompleter.h:
4239 * gio/gfilterinputstream.h:
4240 * gio/gfilteroutputstream.h:
4241 * gio/ginputstream.h:
4242 * gio/gmemoryinputstream.h:
4243 * gio/gmemoryoutputstream.h:
4244 * gio/gmountoperation.c:
4245 * gio/gmountoperation.h:
4246 * gio/gnativevolumemonitor.c:
4247 * gio/goutputstream.h:
4250 * gio/gsimpleasyncresult.c:
4251 * gio/gsimpleasyncresult.h:
4252 * gio/gsocketinputstream.h:
4253 * gio/gsocketoutputstream.h:
4254 * gio/gthemedicon.c:
4255 * gio/gthemedicon.h:
4259 * gio/gvolumemonitor.c:
4260 * gio/gvolumemonitor.h:
4261 Add padding in classes where it seems useful
4262 Don't include giotypes.h from public headers
4263 Move in Class definitions into c file where possible
4268 2007-11-06 Alexander Larsson <alexl@redhat.com>
4270 * docs/reference/gio/gio-docs.xml:
4271 Better structure for API docs
4273 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4276 * gio/gloadableicon.c:
4277 * gio/gsimpleasyncresult.c:
4278 * gio/gthemedicon.c:
4279 Add some more guards to public functions. Only files missing are now
4282 2007-11-06 Alexander Larsson <alexl@redhat.com>
4284 * docs/reference/gio/gio-docs.xml:
4285 Remove old files, add missing ones
4287 2007-11-06 Alexander Larsson <alexl@redhat.com>
4289 * docs/reference/gio/gio-sections.txt:
4292 Hide implementation classes
4294 * gio/gdriveprivate.h:
4295 * gio/gvolumeprivate.h:
4296 Remove non-existing function declarations
4298 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4301 Fix compilation warnings and add guards to the new functions.
4303 * gio/gasyncresult.c:
4305 Add guards to the public functions.
4308 Implement get_path().
4310 2007-11-06 Alexander Larsson <alexl@redhat.com>
4312 * gio/gfilenamecompleter.c:
4313 Make g_filename_completer_get_completions
4314 return char ** instead of GList for
4317 * docs/reference/gio/gio-docs.xml:
4318 * docs/reference/gio/gio-sections.txt:
4320 * gio/gasyncresult.c:
4321 * gio/gbufferedinputstream.c:
4322 * gio/gbufferedoutputstream.c:
4323 * gio/gcancellable.c:
4324 * gio/gcontenttype.c:
4325 * gio/gdatainputstream.c:
4326 * gio/gdataoutputstream.c:
4327 * gio/gdesktopappinfo.c:
4328 * gio/gdirectorymonitor.c:
4332 * gio/gfileattribute.c:
4333 * gio/gfileenumerator.c:
4336 * gio/gfileinputstream.c:
4337 * gio/gfilemonitor.c:
4338 * gio/gfilenamecompleter.c:
4339 * gio/gfilenamecompleter.h:
4340 * gio/gfileoutputstream.c:
4341 * gio/gfilterinputstream.c:
4343 * gio/ginputstream.c:
4345 * gio/gioscheduler.c:
4346 * gio/gloadableicon.c:
4347 * gio/glocaldirectorymonitor.c:
4349 * gio/glocalfileinputstream.c:
4350 * gio/glocalfilemonitor.c:
4351 * gio/glocalfileoutputstream.c:
4353 * gio/gmemoryinputstream.c:
4354 * gio/gmemoryoutputstream.c:
4355 * gio/gmountoperation.c:
4356 * gio/goutputstream.c:
4357 * gio/gpollfilemonitor.c:
4359 * gio/gsimpleasyncresult.c:
4360 * gio/gsocketinputstream.c:
4361 * gio/gsocketoutputstream.c:
4362 * gio/gthemedicon.c:
4363 * gio/gunionvolumemonitor.c:
4365 * gio/gunixmounts.c:
4366 * gio/gunixvolume.c:
4367 * gio/gunixvolumemonitor.c:
4371 * gio/gvolumemonitor.c:
4372 * gio/gwin32appinfo.c:
4373 Add (mostly stub) doc strings to public functions.
4374 Patch from Andrew Walton (awalton@gmail.com)
4376 2007-11-06 Alexander Larsson <alexl@redhat.com>
4378 * gio/gappinfo.[ch]:
4379 Added GAppLaunchContext object and pass that to launch.
4380 This allows simple implementation of both
4381 launch-on-screen and startup notification via a gtk+
4382 subclass of GAppLaunchContext
4384 * gio/gdesktopappinfo.c:
4385 Implement GAppLaunchContext API
4387 * gio/gwin32appinfo.c:
4390 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4392 * gio/gmountoperation.c:
4393 Add some guards to GMountOperation's public functions.
4395 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4399 * gio/gcancellable.c:
4400 * gio/gdirectorymonitor.c:
4402 * gio/gfileenumerator.c:
4403 * gio/gfilemonitor.c:,
4404 * gio/gfilenamecompleter.c:
4407 * gio/gioscheduler.c:
4411 * gio/gvolumemonitor.c:
4412 Add even more guards to various public functions.
4414 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4417 Add guards to the public functions of GAppInfo.
4419 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4421 * gio/gcontenttype.c:
4422 Add some more guards for public functions.
4424 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4426 * gio/fam/fam-module.c:
4427 * gio/fam/gfamdirectorymonitor.c:
4428 * gio/fam/gfamdirectorymonitor.h:
4429 * gio/fam/gfamfilemonitor.c:
4430 * gio/fam/gfamfilemonitor.h:
4431 * gio/inotify/ginotifydirectorymonitor.c:
4432 * gio/inotify/ginotifydirectorymonitor.h:
4433 * gio/inotify/ginotifyfilemonitor.c:
4434 * gio/inotify/ginotifyfilemonitor.h:
4435 Add proper copyright information and remove an unused variable
4436 in the GInotifyFileMonitor constructor.
4438 * gio/gcancellable.c:
4439 Add a guard for a public function and an assertion to prevent
4440 an undefined program state.
4442 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4444 * gio/gfileattribute.c:
4445 Don't run into an assertion if the given attribute value is NULL
4446 in g_file_attribute_value_get_*() but instead return a fallback
4447 value that makes sense in most situations. Passing them a attribute
4448 value with the wrong type will still run into an assertion.
4450 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4452 * gio/gfileattribute.c:
4454 Add even more guards to the public functions. Also fix the refcounting
4455 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4456 let g_file_info_list_attributes() filter the attributes by namespace
4457 instead of simply ignoring the namespace parameter.
4459 2007-11-03 Sven Herzberg <sven@imendio.com>
4461 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4462 (This makes gio work on MacOS X again)
4464 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4467 Build the gio subdirectory before the docs. Otherwise the build will
4470 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4471 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4472 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4473 Add guards to the public functions.
4475 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4477 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4478 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4479 to prevent a compiler warning.
4481 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4482 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4483 return something in the non-void function find_topdir_for().
4485 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4492 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4494 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4495 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4496 * gwin32appinfo.c (g_win32_app_info_launch):
4497 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4498 envp_for_startup_id, g_desktop_app_info_launch,
4499 g_desktop_app_info_launch_uris):
4501 Give an opaque 'startup_id' string instead of 'envp'.
4502 Support empty file lists for launching new windows.
4503 Fix infinite recursion bug when launching URIs.
4505 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4508 Add guard to the new g_file_get_uri_scheme() function.
4510 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4513 Convert a g_return_val_if_fail() to setting the GError instead as
4514 otherwise applications have to verify the parameter before otherwise
4515 and the parameter might come directly from the user.
4517 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4519 * gio/inotify/ginotify*.[ch]:
4520 Add missing copyright information.
4522 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4525 Add guards in the beginning of public functions to check for valid
4526 parameters and fix a bug in copy_stream_with_progress() that could've
4527 caused writing less bytes than reading.
4528 * gio/glocalfileinfo.c:
4529 Check for a NULL parameter and set the GError accordingly then.
4530 * gio/goutputstream.c:
4531 Fix the same bug as in gfile.c that could've caused writing less bytes
4532 than reading in g_output_stream_real_splice().
4534 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4537 Use the correct gvolumeprivate.h naming
4539 2007-11-01 Christian Kellner <gicmo@gnome.org>
4542 Remove leftover "$(daemon_sources)" entry.
4544 2007-11-01 Christian Kellner <gicmo@gnome.org>
4549 Add copyright information to source files.
4551 2007-11-01 Alexander Larsson <alexl@redhat.com>
4555 Add g_file_get_uri_scheme
4557 2007-11-01 Alexander Larsson <alexl@redhat.com>
4560 * gio/gdesktopappinfo.c:
4561 * gio/gwin32appinfo.c:
4562 Add g_app_info_get_default_for_uri_scheme.
4564 2007-11-01 Alexander Larsson <alexl@redhat.com>
4567 Correct filename for gdriveprivate.h
4569 2007-10-31 Alexander Larsson <alexl@redhat.com>
4572 Rename id:value to id:file
4575 * gio/glocalfileinfo.c:
4578 2007-10-31 Alexander Larsson <alexl@redhat.com>
4580 * gio/gunixvolume.c:
4582 Remove g_volume_get_platform_id, as thats not
4583 needed with the simpler union volume monitor
4585 2007-10-31 Alexander Larsson <alexl@redhat.com>
4588 * gio/guniondrive.[ch]: Removed.
4589 * gio/gunionvolume.[ch]: Removed.
4590 Remove GUnionDrive/Volume
4592 * gio/gunionvolumemonitor.c:
4593 Simplify union volume monitor, now we
4594 only have one native volume monitor and
4595 we use the actual volumes/drives from the
4596 child monitors instead of wrapping them
4598 * gio/gnativevolumemonitor.[ch]:
4599 Base class for native volume monitors.
4600 Includes priority and get_volume_for_mountpoint
4603 Add g_file_find_enclosing_volume
4606 Remove volume name fs attribute
4607 Add readonly fs attribute
4610 Implement readonly attribute
4611 remove volume name attribute
4612 Implement find_enclosing volume
4614 * gio/gunixmounts.c:
4615 Add a volume for "/".
4617 * gio/gunixvolume.[ch]:
4618 Set better name for /
4620 * gio/gunixvolumemonitor.[ch]:
4621 Derive from GNativeVolumeMonitor
4622 Implement get_volume_for_mountpoint
4625 GVolume typedef moved to gfile.h
4627 * gio/gvolumeprivate.h:
4628 Add g_volume_get_for_mount_path
4630 2007-10-31 Alexander Larsson <alexl@redhat.com>
4632 * gio/gunixmounts.[ch]:
4633 Add cache info to unix mount listers
4634 Make getmntent use threadsafe
4635 Add is_system_internal attribute for GUnixMount
4637 * gio/gunixvolume.c:
4638 (g_unix_volume_new):
4639 Use is_system_internal instead of own code
4641 * gio/glocaldirectorymonitor.c:
4642 * gio/gunixvolumemonitor.c:
4643 Update to new gunixmounts API
4648 2007-10-30 Alexander Larsson <alexl@redhat.com>
4651 Add volume name fsinfo attribute
4654 Read volume name info
4656 * gio/gunionvolumemonitor.c:
4657 Fix infinite loops when finalizing a union volume monitor
4659 2007-10-30 Alexander Larsson <alexl@redhat.com>
4661 * gio/goutputstream.[ch]:
4662 Add splice() with default implementation
4664 * gio/gsocketoutputstream.c:
4665 (g_socket_output_stream_write):
4666 Return error on cancellation correctly.
4668 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4670 * gio/glocalfile.c (g_local_file_trash):
4671 Do not leak a string.
4673 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4675 * gio/gfile.c (g_file_load_contents):
4676 Unref the stream after closing it.
4678 2007-10-25 Alexander Larsson <alexl@redhat.com>
4680 * gio/gioscheduler.h:
4683 2007-10-25 Alexander Larsson <alexl@redhat.com>
4687 Add g_file_has_uri_scheme and implement for local files
4689 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4691 * gio/gdesktopappinfo.c: do not leak a string.
4693 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4695 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4696 (g_local_directory_monitor_new):
4697 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4698 (g_local_file_monitor_new):
4699 Only look for the monitor type that should be used the first time
4700 and use g_qsort_with_data() instead of our own bubble sort
4703 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4706 * gio/fam/Makefile.am:
4707 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4708 * gio/fam/fam-helper.h:
4709 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4710 * gio/fam/gfamdirectorymonitor.c:
4711 * gio/fam/gfamdirectorymonitor.h:
4712 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4713 * gio/fam/gfamfilemonitor.h:
4714 * gio/glocaldirectorymonitor.c:
4715 * gio/glocaldirectorymonitor.h:
4716 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4717 * gio/glocalfilemonitor.h:
4718 * gio/inotify/Makefile.am:
4719 * gio/inotify/ginotifydirectorymonitor.c:
4720 * gio/inotify/ginotifydirectorymonitor.h:
4721 * gio/inotify/ginotifyfilemonitor.c:
4722 * gio/inotify/ginotifyfilemonitor.h:
4723 Implement the FAM and Inotify monitors as
4724 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4725 their own GIO module. GLocal(Directory|File)Monitor will use the
4726 monitor with the highest rank that is supported on that machine.
4728 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4731 Change GIO module dir to $(libdir)/gio/modules and change
4732 the log domain from GVFS to GIO. Also only export symbols starting
4733 with g_ in the resulting library.
4734 * gio/test-streams.c: (main):
4735 Set log handler for the GIO log domain.
4737 2007-10-22 Alexander Larsson <alexl@redhat.com>
4739 * gio/gfilenamecompleter.[ch]:
4740 Add g_filename_completer_set_dirs_only
4742 2007-10-22 Alexander Larsson <alexl@redhat.com>
4745 * gio/gurifuncs.[ch]:
4746 Add some simple URI helpers
4748 * gio/gfilenamecompleter.[ch]:
4749 Added object for filename (parse name actually) completion
4752 Handle ~ in parse names
4754 2007-10-17 Alexander Larsson <alexl@redhat.com>
4757 * gio/glocalfileinfo.c:
4758 Add and implement id:value attribute
4760 2007-10-17 Alexander Larsson <alexl@redhat.com>
4763 * gio/guniondrive.c:
4765 Add and implement g_drive_has_volumes
4767 2007-10-17 Alexander Larsson <alexl@redhat.com>
4770 * gio/glocalfileinfo.[ch]:
4771 Add unix:is_mountpoint and implement for local files
4773 2007-10-16 Alexander Larsson <alexl@redhat.com>
4775 * gio/gunionvolumemonitor.c:
4776 (g_union_volume_monitor_init):
4777 Fix up the unix type getting so that it works with gcc
4779 2007-10-12 Alexander Larsson <alexl@redhat.com>
4782 * gio/glocalfileinfo.c:
4783 Add thumbnail:failed to file info
4785 2007-10-12 Richard Hult <richard@imendio.com>
4787 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4788 optimizing away the get_type call (happens with some gcc versions,
4789 like the one shipped with OS X 10.4).
4791 2007-10-12 Alexander Larsson <alexl@redhat.com>
4793 * gio/glocalfileinfo.c:
4794 (_g_local_file_info_set_attribute):
4795 Fix build if not HAVE_XATTR
4796 Patch from Milosz Derezynski <internalerror@gmail.com>
4798 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4800 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4801 around for review, otherwise I would have asked you before
4804 2007-10-11 Alexander Larsson <alexl@redhat.com>
4807 Add thumbnail:path attribute
4809 * gio/glocalfileinfo.c:
4810 Implement thumbnail:path for local files
4812 2007-10-11 Alexander Larsson <alexl@redhat.com>
4814 * gio/glocalfileinfo.c:
4815 (_g_local_file_info_get):
4816 Avoid duplicate icon names
4818 2007-10-11 Alexander Larsson <alexl@redhat.com>
4820 * gio/gthemedicon.[ch]:
4821 Change g_themed_icon_get_names return type to const
4823 2007-10-10 Alexander Larsson <alexl@redhat.com>
4825 * gio/glocalfileinfo.c:
4826 Don't reference freed memory
4828 2007-10-10 Alexander Larsson <alexl@redhat.com>
4830 * gio/gfileattribute.c:
4833 * gio/glocalfileinfo.c:
4836 2007-10-10 Alexander Larsson <alexl@redhat.com>
4839 Check for NULL icons
4841 * gio/gfileattribute.c:
4842 Don't dup when getting objects (same as for string attributes)
4844 * gio/gicon.c (g_icon_equal):
4845 Safely handle NULLs in equal
4847 2007-10-10 Alexander Larsson <alexl@redhat.com>
4850 Fix c++ compilation issues
4851 Patch from Milosz Derezynski <internalerror@gmail.com>
4853 2007-10-10 Alexander Larsson <alexl@redhat.com>
4855 * programs/gio-monitor-dir.c:
4856 Don't crash if dir monitor not supported.
4858 2007-10-09 Alexander Larsson <alexl@redhat.com>
4861 Add missing G_END_DECLS
4863 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4865 * gio/gfile.c: (g_file_set_display_name),
4866 (g_file_query_settable_attributes),
4867 (g_file_query_writable_namespaces):
4868 Return NULL not FALSE on errors as the return type is a pointer.
4870 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4872 * gio/glocalfile.c: (g_local_file_monitor_file):
4873 Don't call monitor_file on the default interface vtable (which
4874 is NULL) but simply return NULL. The caller, GFile, will create a
4875 polling monitor if NULL is returned.
4877 2007-10-09 Alexander Larsson <alexl@redhat.com>
4881 * gio-unix-2.0.pc.in:
4882 Add gio-unix-2.0.pc if OS_UNIX
4885 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4887 2007-10-09 Alexander Larsson <alexl@redhat.com>
4889 * gio/gunixmounts.[ch]:
4890 Make unix mount monitoring API sane.
4891 Now its just a object with mounts_changed
4892 and mountpoints_changed signals.
4894 * gio/glocaldirectorymonitor.c:
4895 * gio/gunixvolumemonitor.c:
4896 Use new mount monitor api
4898 2007-10-09 Alexander Larsson <alexl@redhat.com>
4900 * gio/gunixmounts.[ch]:
4901 Move guess type into one call for mounts and one for mountpoints
4904 * gio/gunixvolume.c:
4907 2007-10-09 Alexander Larsson <alexl@redhat.com>
4909 * gio/gunixmounts.[ch]:
4910 Remove _ prefix in preparation to make this semi-public
4911 Hide implementation of structs
4913 * gio/glocaldirectorymonitor.c:
4915 * gio/gunixvolume.c:
4916 * gio/gunixvolumemonitor.c:
4917 Update for above API changes
4919 2007-10-08 Alexander Larsson <alexl@redhat.com>
4922 Better polling fallback. This also handles the case where we have
4923 a monitor_file implementation, but it fails.
4925 2007-10-08 Alexander Larsson <alexl@redhat.com>
4929 * gio/gunixmounts.c:
4930 * programs/gio-monitor-dir.c:
4931 * programs/gio-monitor-file.c:
4932 Added cancellable to file monitoring calls.
4933 These are really sync calls and need this.
4935 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4937 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4938 (g_local_vfs_class_init):
4939 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4940 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4942 2007-10-05 Alexander Larsson <alexl@redhat.com>
4944 * gio/gdirectorymonitorprivate.h:
4945 * gio/gfilemonitorprivate.h:
4946 * gio/gdirectorymonitor.h:
4947 * gio/gfilemonitor.h:
4948 Remove *private.h and move to the public API, so that
4949 we can do implementations outside gio (such as in gvfs)
4951 * gio/gdirectorymonitor.c:
4952 * gio/gfilemonitor.c:
4953 * gio/glocaldirectorymonitor.c:
4954 * gio/gpollfilemonitor.c:
4955 * gio/inotify/inotify-helper.c:
4956 * gio/fam/fam-helper.c:
4957 Update to the new header names
4959 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4961 * gio/gdirectorymonitor.c:
4962 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4965 2007-10-04 Alexander Larsson <alexl@redhat.com>
4967 * gio/glocalfileinfo.c (get_access_rights):
4968 Set CAN_TRASH when we can move the file.
4969 We should really also check for a parent trash dir.
4971 2007-10-04 Alexander Larsson <alexl@redhat.com>
4973 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4974 Add can_trash access attribute
4976 2007-10-04 Alexander Larsson <alexl@redhat.com>
4979 (g_local_file_trash):
4980 Create info file first. This is per-spec and allows
4981 us to actually trash directories.
4983 2007-10-02 Alexander Larsson <alexl@redhat.com>
4985 * gio/gdesktopappinfo.c:
4986 Implement the new mime support code.
4987 Always set app as handling mimetype when being set as default for it
4989 2007-10-01 Alexander Larsson <alexl@redhat.com>
4991 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4992 Fix up check for xattrs:
4994 2007-10-01 Alexander Larsson <alexl@redhat.com>
4997 (g_app_info_set_as_default_for_extension):
4998 (g_app_info_add_supports_type):
4999 (g_app_info_can_remove_supports_type):
5000 (g_app_info_remove_supports_type):
5001 Make these fail nicely if not implemented
5003 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5005 * gio/glocalfileoutputstream.c:
5006 * gio/glocalfileoutputstream.h:
5011 * programs/gio-save.c:
5012 Add a GFileCreateFlags argument to operations that can create
5015 2007-10-01 Alexander Larsson <alexl@redhat.com>
5017 * gio/gappinfo.[ch]:
5018 * gio/gdesktopappinfo.c:
5019 Add more (stubbed out) mime API needed for nautilus
5021 2007-10-01 Alexander Larsson <alexl@redhat.com>
5024 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5025 Add g_app_info_set_as_default_for_extension.
5027 * gio/gdesktopappinfo.c:
5028 Dummy for g_app_info_set_as_default_for_extension
5029 Support flags in g_app_info_create_from_commandline
5031 * gio/gwin32appinfo.c:
5033 Update for API changes
5035 * gio/gthemedicon.c:
5036 Properly NULL-terminate list of icon names
5038 2007-09-28 Alexander Larsson <alexl@redhat.com>
5040 * gio/gloadableicon.h:
5041 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5043 2007-09-28 Alexander Larsson <alexl@redhat.com>
5046 Install headers in $includedir/gio-standalone/
5048 * gio-2.0.pc.in: Added.
5049 * gio-standalone.pc.in: Removed.
5052 Renamed pkg-config file to match glib (for future move)
5053 Update to the new include dir
5056 Add more TODO comments
5058 2007-09-28 Alexander Larsson <alexl@redhat.com>
5060 * gio/gdesktopappinfo.[ch]:
5061 Expose new_from_filename
5062 Add getter for is_hidden and handle it better
5064 2007-09-28 Alexander Larsson <alexl@redhat.com>
5066 * gio/gfileinfo.[ch]:
5067 Rename g_file_size_format_for_display to
5068 g_format_file_size_for_display.
5069 Now it doesn't have the g_file prefix, so we
5070 can later move it to glib.
5072 2007-09-28 Alexander Larsson <alexl@redhat.com>
5074 * gio/gappinfo.[ch]:
5075 Add g_app_info_get_id and g_app_info_get_executable.
5076 Make all getters non-reffing
5077 Make g_app_info_launch take GFile arguments.
5078 Add must_support_uris argument to g_app_info_get_default_for_type.
5080 * gio/gwin32appinfo.c:
5081 Update to GAppInfo api changes
5083 * gio/gdesktopappinfo.c:
5084 Update to GAppInfo api changes
5085 Implement supports_xdg_startup_notify
5087 * gio/gfileicon.c (g_file_icon_get_file):
5088 Make getter non-reffing.
5093 2007-09-27 Alexander Larsson <alexl@redhat.com>
5095 * gio/gfileinfo.[ch]:
5096 Add g_file_size_format_for_display helper
5098 2007-09-27 Alexander Larsson <alexl@redhat.com>
5100 * gio/glocalfileinfo.c:
5101 Set UNIX_GID from gid, not from uid
5103 2007-09-27 Alexander Larsson <alexl@redhat.com>
5106 Add g_file_set_attributes_async
5108 2007-09-27 Alexander Larsson <alexl@redhat.com>
5110 * gio/glocalfile.c (g_local_file_set_display_name):
5111 Fix set_display_name to actually rename to the right place.
5112 Use lstat to look for existing files so we don't overwrite
5115 2007-09-26 Alexander Larsson <alexl@redhat.com>
5118 Add g_file_set_display_name_async()
5120 2007-09-26 Alexander Larsson <alexl@redhat.com>
5123 Add load_partial_contents async calls
5126 Make internal function static
5128 2007-09-26 Alexander Larsson <alexl@redhat.com>
5130 * gio/glocalfileinfo.c:
5131 Correctly detect broken symlinks
5133 2007-09-26 Alexander Larsson <alexl@redhat.com>
5135 * gio/gcancellable.c (g_cancellable_cancel):
5136 Allow cancel on NULL cancellable
5138 2007-09-25 Alexander Larsson <alexl@redhat.com>
5140 * gio/gsimpleasyncresult.c:
5141 Don't allocate g_error manually.
5142 Fixes g_slice/g_new mixup crash
5144 2007-09-25 Alexander Larsson <alexl@redhat.com>
5146 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5147 Actually set active_backend.
5148 This means the monitor will be cancelled correctly.
5150 2007-09-25 Alexander Larsson <alexl@redhat.com>
5152 * gio/gdirectorymonitor.c:
5153 Set timeout to NULL when destroying
5155 2007-09-25 Alexander Larsson <alexl@redhat.com>
5158 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5159 that is a better description of the error.
5161 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5163 * gio/gvfs.c: (g_vfs_get_local):
5164 Make the local vfs variable static. The same instance should
5167 2007-09-24 Alexander Larsson <alexl@redhat.com>
5169 * gio/glocalfileinfo.c:
5170 Pass in actual length read into sniffer, not the length
5173 2007-09-21 Alexander Larsson <alexl@redhat.com>
5175 * gio/gfileenumerator.c:
5178 * gio/gfileinputstream.c:
5179 * gio/gfileoutputstream.c:
5180 * gio/ginputstream.c:
5181 * gio/goutputstream.c:
5182 Don't crash if async callbacks are NULL
5184 2007-09-20 Alexander Larsson <alexl@redhat.com>
5187 Add async enumerate_children method and default
5190 2007-09-20 Alexander Larsson <alexl@redhat.com>
5193 Add g_file_contains_file & g_file_get_relative_path, since they
5194 were needed for nautilus.
5195 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5200 Implement new methods
5202 2007-09-17 Alexander Larsson <alexl@redhat.com>
5205 * gio/gfileinputstream.[ch]:
5206 * gio/gfileoutputstream.[ch]:
5208 * gio/glocalfileenumerator.[ch]:
5209 * gio/glocalfileinfo.[ch]:
5210 * gio/glocalfileinputstream.c:
5211 * gio/glocalfileoutputstream.c:
5212 * gio/gpollfilemonitor.c:
5213 * programs/gio-copy.c:
5214 * programs/gio-info.c:
5215 * programs/gio-move.c:
5216 Rename get_file_info to query_info() to make it clearer
5217 that these are not simple getters, but do i/o.
5219 2007-09-17 Alexander Larsson <alexl@redhat.com>
5221 * gio/gdatainputstream.[ch]:
5222 * gio/test-streams.c:
5223 Use _read_XXX instead of _get_XXX for the i/o calls
5226 2007-09-17 Alexander Larsson <alexl@redhat.com>
5229 Added needed stuff to TODO comment
5231 2007-09-17 Alexander Larsson <alexl@redhat.com>
5233 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5234 Don't error out removing the backup copy if it doesn't
5237 2007-09-14 Alexander Larsson <alexl@redhat.com>
5239 * programs/Makefile.am:
5240 * programs/gvfs-*.c:
5242 Renamed apps from gvfs-xxx to gio-xxx.
5244 2007-09-14 Alexander Larsson <alexl@redhat.com>
5247 * gio/gfileoutputstream.[ch]:
5248 * gio/glocalfileoutputstream.c:
5249 * programs/gvfs-save.c:
5250 g_file_output_stream_get_etag doesn't do i/o, so remove
5251 cancellation and error.
5253 2007-09-14 Alexander Larsson <alexl@redhat.com>
5256 Add new_etag output to replace_contents functions
5258 2007-09-14 Alexander Larsson <alexl@redhat.com>
5260 * gio/gfileoutputstream.[ch]:
5261 Add async get_file_info and default implementation
5263 2007-09-14 Alexander Larsson <alexl@redhat.com>
5265 * gio/gfileinputstream.c:
5266 Implement fallback wrapper for async get_file_info
5268 2007-09-14 Alexander Larsson <alexl@redhat.com>
5271 Add etag out argument to load_contents
5276 2007-09-14 Alexander Larsson <alexl@redhat.com>
5278 * gio/gcontenttype.c (looks_like_text):
5279 Whitespace like tab, cr and lf do not make the
5282 2007-09-14 Alexander Larsson <alexl@redhat.com>
5284 * gio/gfileinputstream.[ch]:
5285 Add async get_file_info.
5287 2007-09-13 Alexander Larsson <alexl@redhat.com>
5289 * gio/goutputstream.c (g_output_stream_write_all):
5290 Allow NULL for bytes_written
5292 2007-09-13 Alexander Larsson <alexl@redhat.com>
5294 * gio/gmemoryinputstream.[ch]:
5295 Add accessors for data
5297 2007-09-13 Alexander Larsson <alexl@redhat.com>
5299 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5300 Don't crash if length is NULL