1 2008-10-01 David Zeuthen <davidz@redhat.com>
3 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
4 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
5 instead of the gio URI (such as sftp://foo/file.avi) when using
6 g_app_info_launch() and friends. With a sufficiently recent gvfs,
7 apps using gio+gvfs will map the FUSE file:// URI back to the gio
8 URI (and thus bypass the fuse daemon) thanks the patch from bug
9 #530654. Since Nautilus is an user of g_app_info_launch() it
10 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
11 when launced via the file manager. Win. Fixes bug #528670.
13 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
14 mapping to the description of GAppInfo.
16 2008-09-30 Tor Lillqvist <tml@novell.com>
18 * tests/Makefile.am: Build desktop-app-info only on Unix.
20 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
21 g_critical(). Pass a large enough result buffer to
22 GetVolumePathNameW(). Just use MAX_PATH.
24 2008-09-29 David Zeuthen <davidz@redhat.com>
26 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
28 2008-09-26 Dan Winship <danw@gnome.org>
30 * tests/data-input-stream.c:
31 * tests/data-output-stream.c:
32 * tests/live-g-file.c:
33 * tests/memory-input-stream.c:
34 * tests/memory-output-stream.c: Use g_assert_error() and
37 2008-09-26 Matthias Clasen <mclasen@redhat.com>
39 Bug 545350 – GAppInfo deletion
40 Bug 545351 – Reset associations for content type
43 * gappinfo.[hc]: New functions g_app_info_can_delete,
44 g_app_info_delete and g_app_info_reset_type_associations.
47 * gwin32appinfo.c: Implementations of these.
50 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
52 2008-09-26 Dan Winship <danw@gnome.org>
54 Bug 505361 – gunixinputstream.c assumes poll() available
55 Bug 509446 – portable blocking gio cancellation
57 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
58 GPollFD for a cancellable (which is slightly more complicated on
61 * gunixinputstream.c (g_unix_input_stream_read):
62 * gunixoutputstream.c (g_unix_output_stream_write): Use
63 g_cancellable_make_pollfd() and g_poll() rather than using poll()
66 * tests/unix-streams.c: test of GUnixInputStream,
67 GUnixOutputStream, and GCancellable.
69 2008-09-26 Dan Winship <danw@gnome.org>
71 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
72 cast to stop a gcc warning
74 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
77 2008-09-25 Dan Winship <danw@gnome.org>
79 Bug 553426 - cancellable clarifications
81 * gcancellable.c (g_cancellable_class_init): Add a note to the
82 "cancelled" signal docs warning about thread-safety issues
83 (g_cancellable_cancel): Note that cancelling an asynchronous
84 operation takes effect asynchronously, not immediately.
86 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
88 * gioenums.h: Add new GFileCopyFlag, to leave target file with
89 default perms, instead of setting the source file perms, in a copy
92 * gfile.c (g_file_copy_attributes)
93 (build_attribute_list_for_copy)
94 (should_copy): Not copy "unix::mode" attribute if we have received
95 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
97 2008-09-20 Matthias Clasen <mclasen@redhat.com>
99 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
101 2008-09-17 Matthias Clasen <mclasen@redhat.com>
103 * === Released 2.18.1 ===
105 2008-09-16 Michael Natterer <mitch@imendio.com>
107 * gcontenttype.c (g_content_type_guess): can't assign the return
108 value of g_strdupv() to an array. Fill the array manually with
109 const strings instead (it is never freed anyway). Fixes the
110 build. Also fixed indentation.
112 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
114 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
115 Fix trivial typo to unbreak the build (there was a colon
116 instead of a semicolon at the end of a statement).
118 2008-09-15 Matthias Clasen <mclasen@redhat.com>
120 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
123 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
126 2008-09-15 Matthias Clasen <mclasen@redhat.com>
128 Bug 551681 – g_content_type_guess() too naive with filenames
130 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
131 at the end of the filename, and declare it a directory.
132 Patch by Bastien Nocera
134 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
136 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
139 * gdesktopappinfo.c: add a note in the docs clarifying what the
140 "filename" parameter really is.
142 2008-09-12 Tor Lillqvist <tml@novell.com>
144 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
145 FormatMessage() etc here. Call g_win32_error_message() instead
146 which already does all that. Besides, the code was broken as it
147 called the default "A" version of FormatMessage() but still
148 thought it produced a wide string.
150 2008-09-12 Michael Natterer <mitch@imendio.com>
152 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
153 in the documentation.
155 2008-09-08 Christian Neumair <cneumair@gnome.org>
157 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
158 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
159 Use non-blocking pipe for mount helper I/O. Fixes #550647.
161 2008-09-06 Matthias Clasen <mclasen@redhat.com>
163 Bug 551149 – xdgmime mem leak
165 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
166 a memory leak. Patch by Christian Persch
168 2008-09-04 Tor Lillqvist <tml@novell.com>
170 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
173 2008-09-02 Matthias Clasen <mclasen@redhat.com>
175 * === Released 2.18.0 ===
177 2008-09-02 Michael Natterer <mitch@imendio.com>
179 * *.h: big header formatting cleanup: indentation, vtable
180 formatting, consistent spacing in (* vfunc), trailing whitespace
181 removal. Formatting should be pretty consistent in all GIO headers
184 2008-09-02 Matthias Clasen <mclasen@redhat.com>
186 * gmount.h: Document guess_content_type sync vfunc.
188 2008-09-02 Michael Natterer <mitch@imendio.com>
190 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
191 fix parent_class member to be GFilterOutputStreamClass (not
192 GOutputStreamClass). Drop three pointers of padding, which is
193 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
194 so the class struct size stays the same.
196 2008-09-02 Matthias Clasen <mclasen@redhat.com>
198 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
200 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
201 nonexisting return values. Pointed out by Cosimo Cecchi.
203 2008-08-23 Tor Lillqvist <tml@novell.com>
205 Bug 548988 - g_file_replace fails on Windows when the target file
208 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
209 Windows, close the file before potentially renaming it (in case we
210 have been writing to a file with a temporary name).
212 (g_local_file_output_stream_close, handle_overwrite_open): Use
213 GLocalFileStat instead of plain struct stat, for passing to
214 _g_local_file_info_create_etag(). Thus also use _fstati64()
215 instead of plain fstat() on Windows.
217 2008-08-18 Matthias Clasen <mclasen@redhat.com>
219 * === Released 2.17.7 ===
221 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
223 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
226 2008-08-13 Tor Lillqvist <tml@novell.com>
228 * win32/gwinhttpvfs.c
229 * win32/gwinhttpvfs.h
230 * win32/gwinhttpfile.c
231 * win32/gwinhttpfileinputstream.c
232 * win32/gwinhttpfileoutputstream.c: Refactor some common code
233 snippets into helper functions. Check HTTP response status
234 codes. Implement g_winhttp_file_query_info(), looking at
235 Content-Length, Content-Type and Last-Modified.
237 * win32/winhttp.h: Add some symbolic constants that are not
238 publicly documented. Just a handful, so it should be OK to use
239 information from the Windows SDK's headers.
241 2008-08-13 Tor Lillqvist <tml@novell.com>
243 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
246 * win32/gwin32directorymonitor.c
247 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
249 2008-08-13 Matthias Clasen <mclasen@redhat.com>
252 * goutputstream.c: Add intro docs.
254 2008-08-13 Tor Lillqvist <tml@novell.com>
256 * win32/gwinhttpfileoutputstream.c
257 (g_winhttp_file_output_stream_write): Don't write the
258 Content-Length header ourselves, WinHttpSendRequest() takes care
259 of that when the dwTotalLength parameter is non-zero. Increment
260 offset by the number of actual bytes sent, although I wonder if
261 such a scenario is possible where less than requested would be
262 sent and accepted by the server without errors.
264 2008-08-13 Tor Lillqvist <tml@novell.com>
266 * win32/gwinhttpvfs.c
267 * win32/gwinhttpvfs.h
268 * win32/gwinhttpfile.c
269 * win32/gwinhttpfile.h
270 * win32/gwinhttpfileinputstream.c
271 * win32/gwinhttpfileinputstream.h
272 * win32/gwinhttpfileoutputstream.c
273 * win32/gwinhttpfileoutputstream.h: New files implementing
274 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
275 Windows. The implementation uses the WinHttp API. Both reading and
276 writing are supported, i.e. GET and PUT requests. When writing,
277 each write call is done using a separate PUT request with a
278 Content-Range header. Requests for file URIs and plain pathnames
279 are forwarded to GLocalVfs.
281 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
282 WINE. Used as there is no <winhttp.h> bundled with mingw, and
283 requiring people to download the Windows SDK just for this one
284 header is not reasonable.
286 * win32/Makefile.am: Add above files.
288 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
289 the plumbing for the above.
291 2008-08-11 Sven Neumann <sven@gimp.org>
293 * gfilenamecompleter.c
294 * glocaldirectorymonitor.c
296 * gunionvolumemonitor.c
300 * gunixvolumemonitor.c
303 * gwin32volumemonitor.c: use canonical signal names.
305 2008-08-11 Tor Lillqvist <tml@novell.com>
307 * Makefile.am: Put a list of the platform-dependent .la files in
308 the subdirectories in the platform_deps Make variable, and make
309 libgio-2.0.la depend on that, so that it gets relinked if one of
310 the dependent libraries has changed.
312 2008-08-11 Tor Lillqvist <tml@novell.com>
314 * Makefile.am (platform_libadd): Remove -lwininet which had been
315 added by mistake. We will probably eventually be using WinHTTP,
316 not the older WinInet anyway. (Actually I am working on it.)
318 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
320 Bug 547080 – g_file_copy leaks expected errors
322 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
323 before trying the next fallback routine.
325 2008-08-09 Loïc Minier <lool@dooz.org>
327 Bug 535124 – umask 002 not being applied for new directories, new
328 files get the correct umask
330 * gfile.c (g_file_make_directory)
331 (g_file_make_directory_with_parents): Document ownership and
332 permissions of newly created directories as being the default
335 2008-08-08 Loïc Minier <lool@dooz.org>
337 Bug 535124 – umask 002 not being applied for new directories, new
338 files get the correct umask
340 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
343 2008-08-08 Tor Lillqvist <tml@novell.com>
345 * gwin32mount.c: Remove unused code. Whitespace cleanup.
347 * gwin32volumemonitor.c (get_connected_drives): Put questionable
348 code that didn't actually do anything inside #if 0, and add a
349 comment wondering what the code was supposed to do. This also gets
350 rid of a leftover debugging printout.
352 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
354 * gfileicon.c (g_file_icon_get_property)
355 (g_file_icon_set_property): New functions.
356 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
358 (g_file_icon_new): Use the property (bug #546132).
360 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
362 * gthemedicon.c (g_themed_icon_get_property): Also handle
363 `PROP_USE_DEFAULT_FALLBACKS'.
364 (g_themed_icon_class_init): Make
365 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
367 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
369 Bug 546371 – Improve docs re g_file_monitor
371 * gfilemonitor.c: Mention g_file_monitor() in the docs.
373 2008-08-04 Matthias Clasen <mclasen@redhat.com>
375 * === Released 2.17.6 ===
377 2008-08-04 Matthias Clasen <mclasen@redhat.com>
379 * === Released 2.17.5 ===
381 2008-08-04 Matthias Clasen <mclasen@redhat.com>
383 Bug 546017 – Don't copy attributes when copying a symlink
385 * gfile.c (g_file_copy_attributes): Specify
386 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
387 g_file_set_attributes_from_info. Patch by Christian Kellner
389 2008-08-04 Matthias Clasen <mclasen@redhat.com>
391 * gemblemedicon.[hc]:
393 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
394 a bit more extensible. Work by Clemens Buss.
396 * gioenums.h: Add GEmblemOrigin.
399 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
401 Bug 546079 – leak in xdgmime
403 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
405 2008-08-03 Tor Lillqvist <tml@novell.com>
407 * win32/gwin32directorymonitor.h
408 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
411 2008-08-03 Tor Lillqvist <tml@novell.com>
413 * win32/gwin32directorymonitor.c
414 (g_win32_directory_monitor_callback): Make prototype match
415 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
416 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
419 (g_win32_directory_monitor_constructor):
420 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
421 names in the GLib API on Windows, so convert to UTF-16 and open
424 2008-08-03 Tor Lillqvist <tml@novell.com>
426 Bug 541036 - Gnumeric crashes when trying to open Desktop or
427 user's folder under Windows
429 * win32/gwin32directorymonitor.c
430 (g_win32_directory_monitor_constructor): Ignore error from
431 CreateFile() when opening directory. Instead of asserting, just
432 store INVALID_HANDLE_VALUE then in
433 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
434 ReadDirectoryChangesW().
435 (g_win32_directory_monitor_cancel): Don't attempt to close
436 directory handle if it is INVALID_HANDLE_VALUE.
438 2008-08-01 Matthias Clasen <mclasen@redhat.com>
440 * gdesktopappinfo.c: Remove debug spew
442 2008-08-01 Hans Breuer <hans@breuer.org>
444 * makefile.msc : add gemblembedicon
446 2008-07-30 Matthias Clasen <mclasen@redhat.com>
448 Bug 545457 – gdmsetup crashed with SIGSEGV in
449 g_unix_mount_guess_should_display()
451 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
452 crash if no mount is found.
454 2008-07-28 Matthias Clasen <mclasen@redhat.com>
456 Bug 545203 – gfile.c: argument is different type.
458 * gfile.c (open_read_async_thread): Pass a GError **
459 to g_file_set_error_literal.
460 Reported by Kazuki Iwamoto
462 2008-07-28 Matthias Clasen <mclasen@redhat.com>
464 Bug 545157 – wrong/no list of "open with" applications for .cc and
467 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
468 Collect all ancestors, not just direct parents. Pointed
469 out by Bastien Nocera
471 2008-07-28 Matthias Clasen <mclasen@redhat.com>
473 * Makefile.am: Install gemblemedicon.h
475 2008-07-28 Matthias Clasen <mclasen@redhat.com>
477 * gemblemedicon.[hc]: Add a GIcon implementation that can
478 add an emblem to another icon.
485 * gfileicon.c: Small documentation additions.
487 2008-07-28 Tor Lillqvist <tml@novell.com>
489 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
492 2008-07-27 Tor Lillqvist <tml@novell.com>
494 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
496 2008-07-24 David Zeuthen <davidz@redhat.com>
500 Also export a g_mount_guess_content_type_sync() function.
502 2008-07-23 Matthias Clasen <mclasen@redhat.com>
504 529694 – SELinux context setting support
506 * gfileinfo.c: Support setting selinux attributes.
507 Patch by Tomas Bzatek
509 2008-07-22 Priit Laes <plaes@plaes.org>
511 Bug 544140 - fam-helper 64-bit issue?
513 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
515 2008-07-21 Matthias Clasen <mclasen@redhat.com>
517 * === Released 2.17.4 ===
519 2008-07-20 Matthias Clasen <mclasen@redhat.com>
521 * gvolumemonitor.[hc]:
526 * gmount.c: Documentation fixes
528 2008-07-19 Matthias Clasen <mclasen@redhat.com>
530 543504 – crash in Epiphany Web Browser: Opening local file
541 * gvolume.c: Register types thread-safely.
542 Patch by Christian Persch
544 2008-07-18 Matthias Clasen <mclasen@redhat.com>
546 * gcontenttype.c: Remove debug spew
548 2008-07-18 Matthias Clasen <mclasen@redhat.com>
550 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
553 * fen/fen-kernel.c: Remove a warning that was causing
554 crashes. Reported by Lin Ma.
556 2008-07-18 Matthias Clasen <mclasen@redhat.com>
558 Bug 543040 – async reading on dummy file will crash on
561 * gfile.c (open_read_async_thread): Cope with read_fn being
562 NULL. Reported by Lin Ma.
564 2008-07-18 Matthias Clasen <mclasen@redhat.com>
567 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
569 2008-07-16 Matthias Clasen <mclasen@redhat.com>
573 * giomodule.c: Rename a chapter id to avoid filename conflict.
575 2008-07-16 Matthias Clasen <mclasen@redhat.com>
577 Bug 540616 – mem leak in filechooser button
579 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
580 the mount entry. Reported by Chrisitan Persch
582 2008-07-16 Matthias Clasen <mclasen@redhat.com>
584 * gfile.c: Small documentation fixes.
586 2008-07-15 Matthias Clasen <mclasen@redhat.com>
588 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
590 2008-07-08 Matthias Clasen <mclasen@redhat.com>
595 * gmount.c: Documentation improvements.
597 2008-07-08 Matthias Clasen <mclasen@redhat.com>
600 * gmount.[hc]: Add g_mount_guess_content_type().
602 2008-07-06 David Zeuthen <davidz@redhat.com>
605 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
606 is needed for easily handling adoption of foreign volumes by
607 out-of-process volume monitors (#541793)
609 2008-07-06 David Zeuthen <davidz@redhat.com>
611 * gvolumemonitor.[ch]:
612 * gunionvolumemonitor.c: Export the eject-button signal on the
613 volume monitor class (#541794).
615 2008-07-06 Matthias Clasen <mclasen@redhat.com>
617 * gappinfo.c: More doc tweaks
619 2008-07-05 Matthias Clasen <mclasen@redhat.com>
621 * gappinfo.c: Clarify some docs
623 2008-07-03 Matthias Clasen <mclasen@redhat.com>
625 * gdesktopappinfo.c: Fix a stupid mistake.
627 2008-07-02 Matthias Clasen <mclasen@redhat.com>
629 * === Released 2.17.3 ===
631 2008-07-02 Matthias Clasen <mclasen@redhat.com>
633 * gfilemonitor.c: Fix the build.
635 2008-07-02 Matthias Clasen <mclasen@redhat.com>
637 Bug 536160 – Add g_file_monitor()
640 * gfile.[hc]: Add g_file_monitor which can return either
641 a file or a directory monitor. Proposed by Behdad Esfahbod
643 2008-07-02 Matthias Clasen <mclasen@redhat.com>
645 536733 – gio build failure on Irix
647 * glocalfile.c: Use a configure check for structfs.f_bavail.
649 2008-07-02 Matthias Clasen <mclasen@redhat.com>
651 Bug 534639 – add g_desktop_app_info_new_from_keyfile
654 * gdesktopappinfo.[hc]: Add a function to create a
655 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
657 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
659 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
661 2008-07-01 Matthias Clasen <mclasen@redhat.com>
663 * gunixmounts.c: Fix a doc typo.
665 2008-07-01 Cody Russell <bratsche@gnome.org>
667 * gio/gcontenttype.c:
668 * gio/gwin32appinfo.c:
669 * gio/gwin32volumemonitor.c:
670 * gio/gwin32mount.c: Fixed some include problems.
672 2008-07-01 Cody Russell <bratsche@gnome.org>
676 Moved all relevant typedefs into these files.
679 Updated wrt added files.
681 Split types into separate file for easier maintainership. (#538564)
683 2008-06-30 Matthias Clasen <mclasen@redhat.com>
685 Bug 540331 – g_file_append_to () documentation: can return NULL
687 * gfile.c (g_file_append_to): Clarify docs.
690 2008-06-30 Matthias Clasen <mclasen@redhat.com>
692 Bug 539090 – g_content_type_from_mime_type() should unalias
694 * gcontentype.c (g_content_type_from_mime_type): Unalias.
695 Patch by Markus Bergman
697 2008-06-30 Matthias Clasen <mclasen@redhat.com>
699 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
702 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
703 on ppc and alpha. Reported by Mart Raudsepp
705 2008-06-29 Matthias Clasen <mclasen@redhat.com>
708 * tests/memory-output-stream.c: Add some tests for
711 2008-06-29 Matthias Clasen <mclasen@redhat.com>
713 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
716 * gmemoryoutputstream.c (array_resize): Handle truncation to
717 zero correctly. Reported by Akira Tagoh
719 2008-06-29 Matthias Clasen <mclasen@redhat.com>
721 * gmemoryoutputstream.c: Trivial doc fixes
723 2008-06-29 Matthias Clasen <mclasen@redhat.com>
725 Bug 540802 – g_list_prepend doesn't concat lists
727 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
728 one list to another. Pointed out by Jan Arne Petersen
730 2008-06-28 Michael Natterer <mitch@imendio.com>
732 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
734 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
736 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
737 to avoid problems with partial icon themes.
739 2008-06-17 Hans Breuer <hans@breuer.org>
741 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
742 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
743 access again on win32, see bug #538127
744 * giomodule.c : ensure GWin32VolumeMonitor is registered
745 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
746 * Makefile.am makefile.msc : updated
748 2008-06-16 Hans Breuer <hans@breuer.org>
750 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
751 and initialization in one step avoids c99ism
753 2008-06-16 Christian Persch <chpe@gnome.org>
756 * gio/gbufferedinputstream.c
758 * gio/gdatainputstream.c
759 * gio/gdesktopappinfo.c
761 * gio/gfileenumerator.c
762 * gio/gfileinputstream.c
763 * gio/gfileoutputstream.c
765 * gio/glocaldirectorymonitor.c
767 * gio/glocalfileenumerator.c
768 * gio/glocalfileinfo.c
769 * gio/glocalfilemonitor.c
770 * gio/glocalfileoutputstream.c
771 * gio/gmemoryinputstream.c
772 * gio/gmemoryoutputstream.c
773 * gio/goutputstream.c
774 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
777 2008-06-16 Tor Lillqvist <tml@novell.com>
779 Bug 538362 - Get Win32 icons back in the file chooser
781 * gcontenttype.c (g_content_type_get_icon): Look up the icon
782 corresponding to a file extension in the Registry. Patch by Hans
784 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
786 2008-06-16 Tor Lillqvist <tml@novell.com>
788 Patches by Hans Breuer:
790 * glocalfile.c (is_xp_or_later): Handle compiling against older
791 SDK headers with missing VerifyVersionInfo(). Conditioned on
792 _MSC_VER, but should probably use some better test.
793 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
794 uninitialised statfs_result variable on Win32.
796 2008-06-16 Michael Natterer <mitch@imendio.com>
798 * *.c: chain up unconditionally in finalize() and dispose(). Also
799 don't dereference these function pointers when calling them since
800 that has no meaning at all.
802 2008-06-16 Ross Burton <ross@burtonini.com>
805 Remove check for dispose implementation as it annoys Emmanuele.
807 2008-06-16 Ross Burton <ross@burtonini.com>
809 Bug 536252 – GFileEnumerator should allow access to the containing
815 Add g_file_enumerator_get_container() and a container writeable
816 construct-only property. Also shuffle around typedefs to make it
819 * glocalfileenumerator.c:
820 * glocalfileenumerator.h:
822 Instead of a string filename take a GFile in the constructor and
823 use it to set the container property.
828 2008-06-16 Matthias Clasen <mclasen@redhat.com>
830 * gfile.c: Make includes more uniform
832 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
834 * tests/live-g-file.c (sample_struct):
835 Use less fancy unicode filenames, so the test doesn't fail
836 on Mac OS X (#531476).
838 2008-06-12 Matthias Clasen <mclasen@redhat.com>
840 * === Released 2.17.2 ===
842 2008-06-12 Matthias Clasen <mclasen@redhat.com>
844 * === Released 2.17.1 ===
846 2008-06-11 A. Walton <awalton@gnome.org>
848 * tests/g-file.c (test_g_file_new_null):
849 Fix broken test case.
851 2008-06-11 Matthias Clasen <mclasen@redhat.com>
853 * pltcheck.sh: We use g_clear_error now.
855 2008-06-11 Matthias Clasen <mclasen@redhat.com>
857 * glocalfile.c (g_local_file_enumerate_children): Revert
858 an unintended change.
860 2008-06-11 Matthias Clasen <mclasen@redhat.com>
862 * gfile.c (g_file_replace_contents): Don't unref before the last use.
864 2008-06-10 Matthias Clasen <mclasen@redhat.com>
866 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
869 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
870 as icon for the desktop directory, also make user-home and
871 user-desktop the preferred icons.
873 2008-06-10 Matthias Clasen <mclasen@redhat.com>
876 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
877 to add a name to the front of the list.
879 2008-06-10 Matthias Clasen <mclasen@redhat.com>
881 Bug 537392 – Additional colon in xattr name
883 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
884 too. Reported by Alessandro Morandi
886 2008-06-10 Matthias Clasen <mclasen@redhat.com>
888 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
891 * glocalfile.c (get_fs_type): Add afs and autofs.
892 Patch by Danny Baumann.
894 2008-06-10 Matthias Clasen <mclasen@redhat.com>
896 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
898 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
899 is no parent. (Owen Taylor, patch by Christian Neumair)
901 2008-06-10 Paolo Borelli <pborelli@katamail.com>
903 * gfile.c (g_file_replace_contents): do not leak the output stream.
905 2008-06-10 Michael Natterer <mitch@imendio.com>
907 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
908 uninitialized memory as array index.
910 2008-06-10 Tor Lillqvist <tml@novell.com>
912 * gcontenttype.c (g_content_type_can_be_executable)
913 (g_content_type_get_icon) [Win32]: Add TODO comments.
915 2008-06-09 Matthias Clasen <mclasen@redhat.com>
917 * xdgmime/Makefile.am: Fix the build
919 2008-06-09 Matthias Clasen <mclasen@redhat.com>
921 * gcontenttype.c (g_content_type_get_icon): Use icons specified
922 in the shared mime database, if available.
924 * xdgmime/*: Sync with upstream. This brings support for
925 glob weights, generic icons, and changes the cache format to
928 2008-05-28 Michael Natterer <mitch@imendio.com>
930 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
931 the global CPPFLAGS now.
933 * tests/data-input-stream.c
934 * tests/data-output-stream.c
935 * tests/g-file-info.c
937 * tests/live-g-file.c
938 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
940 2008-05-27 Matthias Clasen <mclasen@redhat.com>
942 * === Released 2.17.0 ===
944 * tests/live-g-file.c: Clean up after the tests, so make distcheck
945 doesn't complain about leftover files.
947 2008-05-27 simon.zheng <simon.zheng@sun.com>
949 * glocalfile.c: (g_local_file_query_filesystem_info):
950 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
952 2008-05-26 Michael Natterer <mitch@imendio.com>
954 * gmemoryoutputstream.h: declare
955 g_memory_output_stream_get_data_size().
957 2008-05-26 Matthias Clasen <mclasen@redhat.com>
959 * tests/*: Make tests work
961 2008-05-26 Matthias Clasen <mclasen@redhat.com>
963 * gio.symbols: Add g_memory_output_stream_get_data_size.
965 2008-05-25 Ross Burton <ross@burtonini.com>
968 Fix typo in error message (#534764).
970 2008-05-25 Ross Burton <ross@burtonini.com>
973 Fix circular dependency loop for gioenumtypes.h (#534759).
975 2008-05-19 Hans Breuer <hans@breuer.org>
977 * Makefile.am : EXTRA_DIST += makefile.msc
979 2008-05-17 Matthias Clasen <mclasen@redhat.com>
982 * gcontenttype.c: (g_content_type_from_mime_type):
983 New function to create a content type from a mime type. (#527175,
986 2008-05-17 Matthias Clasen <mclasen@redhat.com>
988 Bug 532965 – Should not return filesystem::free for certain file systems
990 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
991 free space for ncpfs.
993 2008-05-17 Matthias Clasen <mclasen@redhat.com>
995 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
997 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
998 st_dev might be zero.
1000 2008-05-16 Tor Lillqvist <tml@novell.com>
1002 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1003 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1005 2008-05-13 Bastien Nocera <hadess@hadess.net>
1007 * gfile.c (has_valid_scheme): A URI scheme must start with a
1008 letter, even if later more characters are allowed (#532852)
1010 2008-05-05 Michael Natterer <mitch@imendio.com>
1012 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1013 code from being checked in that breaks the build of applications
1014 which use G_DISABLE_SINGLE_INCLUDES.
1016 * makegioalias.pl: make the alias file include "glib.h" instead of
1019 * gio.symbols: whitespace change to force regeneration of the
1020 alias file after above script change.
1022 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1024 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1026 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1028 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1030 2008-04-28 David Zeuthen <davidz@redhat.com>
1032 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1033 displaying mounts in a subdirectory not accessible to the
1036 2008-04-22 Michael Natterer <mitch@imendio.com>
1038 * Makefile.am: fix library versioning (it was 0.0.0).
1040 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1042 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1043 Default disable all loggings.
1044 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1045 (port_fetch_event_cb): Fixed two macro nits.
1047 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1049 * xdgmime/xdgmime.c: Rework the timestamp checking code
1050 to protect against duplicate directories in XDG_DATA_DIRS.
1051 Fixes fd.o bug 12513, reported by Joe Shaw.
1053 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1055 Partically revert the last commit after realizing that
1056 xdg_mime_media_type_equal doesn't have to init at all.
1058 * xdgmime/xdgmime.h:
1059 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1061 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1063 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1065 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1066 reported by Joe Shaw and Federico Mena Quintero.
1068 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1069 (xdg_mime_media_type_equal): Turn into a wrapper around the
1072 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1073 functions throughout.
1075 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1077 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1078 tolerate an empty TryExec= line without failing; nautilus used
1079 to create launchers with these in previous versions. Fixes #528433
1081 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1083 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1084 after name. Fixes #527132.
1086 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1088 * gfile.c: (g_file_replace):
1091 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1093 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1095 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1096 by Christian Kellner.
1098 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1100 * gunixmounts.c: (g_unix_mount_guess_should_display):
1101 Don't list the user directory as a mount, fix potential issue
1102 when other users have a similar naming and don't special case the
1103 gvfs mounts there since that's not required (#525866)
1105 2008-03-31 Alexander Larsson <alexl@redhat.com>
1107 * glocalfile.c (get_parent):
1110 2008-03-31 A. Walton <awalton@svn.gnome.org>
1112 * gfile.c (g_file_query_file_type):
1113 Always return a GFileType enum value (#520715).
1115 2008-03-31 Alexander Larsson <alexl@redhat.com>
1117 * glocalfileenumerator.c:
1118 Read readdir() info in chunks (of 1000) and sort
1119 the chunks by inode before stat:ing.
1120 This is a 20% performance increase in testing
1121 gvfs-ls on /usr/bin with cold cache.
1123 2008-03-31 Alexander Larsson <alexl@redhat.com>
1125 * gmemoryoutputstream.c:
1126 Clarify docs for g_memory_output_stream_get_size.
1127 Add g_memory_output_stream_get_data_size.
1129 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1133 * gfile.h: Add g_file_query_file_type convenience function
1134 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1136 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1138 * gfileenumerator.c:
1139 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1141 2008-03-28 A. Walton <awalton@svn.gnome.org>
1143 * giomodule.c (_g_io_modules_ensure_loaded):
1144 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1147 2008-03-28 Alexander Larsson <alexl@redhat.com>
1150 (copy_stream_with_progress):
1153 2008-03-28 Alexander Larsson <alexl@redhat.com>
1156 (copy_stream_with_progress):
1157 (file_copy_fallback):
1158 Fallback to g_file_query_info for source size
1159 if g_file_input_stream_query_info fails. (#524579)
1161 2008-03-28 Alexander Larsson <alexl@redhat.com>
1163 * glocalfile.c (g_local_file_move):
1164 Reuse old string instead of adding new one.
1166 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1168 * fen/*.[hc]: still copyright issue. I hate copyright.
1170 2008-03-27 Alexander Larsson <alexl@redhat.com>
1172 * glocalfile.c (g_local_file_move):
1173 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1174 file over directory. This is according to the docs and what the move via
1175 copy+remove fallback does.
1177 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1179 * fen/*.[hc]: Updated copyright.
1181 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1183 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1185 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1187 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1188 not emit attribute changed events when optimizing changed events.
1189 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1192 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1194 * gmountoperation.[hc]: Small documentation additions
1196 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1198 * gunixmounts.c: (guess_mount_type):
1199 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1201 2008-03-19 Alexander Larsson <alexl@redhat.com>
1204 (copy_stream_with_progress):
1205 Bump block side for copy to 64k to minimize
1206 overhead for low latency links. (#523015)
1208 2008-03-16 Tor Lillqvist <tml@novell.com>
1210 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1211 depend on gio.def on Windows.
1213 2008-03-12 David Zeuthen <davidz@redhat.com>
1217 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1219 2008-03-14 Alexander Larsson <alexl@redhat.com>
1223 Avoid redudant tests (#521851)
1224 Patch from Josselin Mouette
1226 2008-03-14 Alexander Larsson <alexl@redhat.com>
1229 (g_file_monitor_is_cancelled):
1230 Fix C89 issue (#521672)
1231 Patch from Jens Granseuer
1233 2008-03-14 Alexander Larsson <alexl@redhat.com>
1235 * fam/fam-helper.[ch]:
1237 Shut down fam (including removing fam GSource) when
1238 module is unloaded (#521513)
1239 Patch from Joe Marcus Clarke
1241 2008-03-14 Alexander Larsson <alexl@redhat.com>
1244 (_g_io_modules_ensure_loaded):
1247 2008-03-14 Alexander Larsson <alexl@redhat.com>
1250 (g_local_file_query_filesystem_info):
1251 Use right define name for f_fstypename member check
1253 2008-03-14 Alexander Larsson <alexl@redhat.com>
1256 * fen/Makefile.am: Added.
1257 * fen/fen-data.[ch]: Added.
1258 * fen/fen-dump.[ch]: Added.
1259 * fen/fen-helper.[ch]: Added.
1260 * fen/fen-kernel.[ch]: Added.
1261 * fen/fen-missing.[ch]: Added.
1262 * fen/fen-node.[ch]: Added.
1263 * fen/fen-sub.[ch]: Added.
1264 * fen/gfendirectorymonitor.[ch]: Added.
1265 * fen/gfenfilemonitor.[ch]: Added.
1267 Added Solaris FEN file notification backend.
1268 Patch from Lin Ma <Lin.Ma@Sun.COM>
1270 2008-03-13 Tor Lillqvist <tml@novell.com>
1272 * Makefile.am: Actually use the gio.def file when linking the
1273 library on Windows. Produce .lib library for Microsoft's toolchain
1274 when possible. Install the .lib and .def file like for the other
1277 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1279 * tests/live-g-file.c:
1280 Include live-g-file in standard set of tests, making a temporary
1281 directory in source structure.
1283 Clean target directory before the tests (write mode only)
1285 2008-03-12 Tor Lillqvist <tml@novell.com>
1287 Bug 517419 - gio win32 directory monitor
1288 Implementation by Vlad Grecescu.
1291 * win32/gwin32directorymonitor.h
1292 * win32/gwin32directorymonitor.c: New files.
1294 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1296 * Makefile.am: Add the win32 subdirectory.
1298 2008-03-12 Tor Lillqvist <tml@novell.com>
1300 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1301 normal struct stat on Unix but struct _stati64 on Windows to have
1302 access to 64-bit file size information. Use that instead of struct
1303 stat in the functions declared here in this private header.
1305 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1306 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1307 warnings about unused functions and variables. Don't set
1308 meaningless attributes like inode numbers on Windows.
1310 2008-03-12 Benjamin Otte <otte@gnome.org>
1313 trim whitespace so gtk-doc groks the function name
1315 2008-03-12 Tor Lillqvist <tml@novell.com>
1317 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1318 returning FALSE, on Win32.
1320 2008-03-11 Alexander Larsson <alexl@redhat.com>
1323 * glocalfileinfo.[ch]:
1324 Correctly implement can_trash by actually
1325 looking for a trash dir, not just assuming
1328 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1330 * === Released 2.16.1 ===
1332 2008-03-11 Alexander Larsson <alexl@redhat.com>
1335 Fix crashes in new constructor and properties code
1337 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1339 * gfile.c: Minor spelling correction in documentation:
1340 existance -> existence.
1342 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1344 * === Released 2.16.0 ===
1346 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1348 * gio.symbols: Remove g_file_contains_file here, too.
1350 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1352 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1353 Samuel Cormier-Iijima)
1355 2008-03-08 Tor Lillqvist <tml@novell.com>
1357 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1360 2008-03-07 Alexander Larsson <alexl@redhat.com>
1363 (g_local_file_query_filesystem_info):
1364 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1365 Patch from Jasper Lievisse Adriaanse
1367 2008-03-06 Tor Lillqvist <tml@novell.com>
1369 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1370 comments for the *_USEC attributes.
1372 2008-03-06 Alexander Larsson <alexl@redhat.com>
1374 * gfile.c (g_file_query_exists):
1375 Add g_return_val_if_fail check (#520700)
1377 2008-03-06 Alexander Larsson <alexl@redhat.com>
1379 * gdesktopappinfo.c:
1382 * gunionvolumemonitor.c:
1385 * tests/live-g-file.c:
1386 * xdgmime/xdgmimecache.c:
1387 Fix sparse warnings (#519489)
1389 2008-03-05 Alexander Larsson <alexl@redhat.com>
1392 Make cancellation threadsafe (i.e.
1393 guarantee its only done once, and always
1396 * glocaldirectorymonitor.c:
1397 Make sure we the monitor lives while the
1398 mounts_changed callback is being called (#520484)
1400 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1402 * gbufferedinputstream.c: Fix typo in parameter
1405 2008-03-04 Alexander Larsson <alexl@redhat.com>
1408 Remove deprecated symbols we kept for one release.
1410 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1413 * goutputstream.c: Tiny documentation corrections.
1415 2008-03-03 Alexander Larsson <alexl@redhat.com>
1417 * gunionvolumemonitor.c:
1419 Fix the adopt_orphan_mount vfunc to take a
1420 volume_monitor reference in an ABI compat way.
1421 This change is not API compat, but the added
1422 arg is not used in the only user of this vfunc, so
1423 all we get is a harmless warning in gvfs (#520169)
1425 2008-03-01 Benjamin Otte <otte@gnome.org>
1428 clarify docs for g_file_delete().
1430 2008-02-29 Alexander Larsson <alexl@redhat.com>
1434 Make sure empty files get text/plain type (#518720)
1436 2008-02-27 Alexander Larsson <alexl@redhat.com>
1442 (g_unix_volume_mount):
1443 Add missing GMountMountFlags argument
1445 2008-02-26 Alexander Larsson <alexl@redhat.com>
1448 (g_local_file_delete):
1449 Handle filesystems (like ntfs-3g) that return EEXIST instead
1450 of ENOTEMPTY (#518816)
1452 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1454 * === Released 2.15.6 ===
1456 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1458 * gfile.c (g_file_find_enclosing_mount):
1459 * ginputstream.c (g_input_stream_set_pending):
1460 * glocalfile.c (g_local_file_find_enclosing_mount):
1461 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1462 * goutputstream.c (g_output_stream_set_pending):
1464 Fixup translator comments (#518578).
1466 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1468 * gfile.c (g_file_find_enclosing_mount):
1470 * glocalfile.c (g_local_file_find_enclosing_mount):
1473 Fix a few typos in translator comments and documentation.
1475 2008-02-25 Alexander Larsson <alexl@redhat.com>
1482 Add translator comments (#518578)
1484 2008-02-25 Alexander Larsson <alexl@redhat.com>
1487 Reintroduce g_file_contains_file, keep around for one
1488 unstable release cycle to avoid crashing to many apps.
1489 Make sure to delete after release.
1491 2008-02-25 Alexander Larsson <alexl@redhat.com>
1494 Remove deprecated g_file_contains_file.
1496 2008-02-25 Alexander Larsson <alexl@redhat.com>
1499 Emit actual change signals in an idle handler.
1500 This avoids reentrance and locking problems in
1501 the file notification backends.
1503 2008-02-25 Alexander Larsson <alexl@redhat.com>
1506 (g_unix_mount_guess_should_display):
1507 Remove type guessing, instead just display
1508 mounts in /media and in ~/.
1510 2008-02-25 Alexander Larsson <alexl@redhat.com>
1513 Make new strings reuse old ones.
1515 2008-02-25 Alexander Larsson <alexl@redhat.com>
1518 Implement trashing and filesystem::readonly for win32 (#517235)
1519 Patch from Yevgen Muntyan
1521 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1523 * gfileinfo.h: Documentation fixes.
1525 2008-02-22 Alexander Larsson <alexl@redhat.com>
1527 * gcontenttype.c (g_content_type_get_icon):
1528 Look at old-style gnome mime icon names too, as many
1529 have not moved to the new style.
1531 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1533 * *.c: Correct the @include in for section docs.
1535 2008-02-21 David Zeuthen <davidz@redhat.com>
1537 * glocalfileinfo.c: (_g_local_file_info_get):
1539 (g_content_type_get_icon): Implement this function by
1540 moving bits from glocalfileinfo.c
1541 (g_content_type_get_description): Unalias before getting
1542 description (#517687)
1544 * gfile.c: (g_file_class_init),
1545 (g_file_query_filesystem_info_async),
1546 (g_file_query_filesystem_info_finish),
1547 (query_filesystem_info_data_free),
1548 (query_filesystem_info_async_thread),
1549 (g_file_real_query_filesystem_info_async),
1550 (g_file_real_query_filesystem_info_finish):
1551 * gfile.h: Implement async version of
1552 g_file_query_filesystem_info()
1554 * gfileinfo.h: Add new attributes for filesystem::use-preview
1556 * gio.symbols: Update
1558 * gthemedicon.c: (g_themed_icon_append_name):
1559 * gthemedicon.h: Add new new convenience function.
1561 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1562 (get_mounts), (get_volumes), (get_connected_drives),
1563 (get_volume_for_uuid), (get_mount_for_uuid),
1564 (g_union_volume_monitor_init), (populate_union_monitor),
1565 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1566 (g_volume_monitor_adopt_orphan_mount):
1568 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1569 monitor implementations to call into the main volume monitor. Also
1570 separate object initialization and volume monitor initialization
1571 such that non-native volume monitors can properly adopt their
1574 2008-02-21 Alexander Larsson <alexl@redhat.com>
1579 2008-02-21 Alexander Larsson <alexl@redhat.com>
1582 Add more documentation about how GFiles work (from #517086)
1584 2008-02-21 Alexander Larsson <alexl@redhat.com>
1588 Add new g_file_has_prefix that does the same as g_file_contains_file.
1589 Deprecate g_file_contains_file and add a macro that converts
1590 it to g_file_has_prefix.
1591 The reason for this change is that the contains_file() name seems to
1592 imply that this does more work than what it does, but its really only
1593 a name match (from #517086)
1598 Update to match the above change.
1600 2008-02-20 Benjamin Otte <otte@gnome.org>
1602 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1603 (g_file_eject_mountable):
1604 even more cases of not returning in error path
1606 2008-02-20 Benjamin Otte <otte@gnome.org>
1608 * gfile.c: (g_file_mount_mountable):
1609 return from function in error path.
1611 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1614 Remove trailing coma in GMountMountFlags struct
1616 2008-02-18 Alexander Larsson <alexl@redhat.com>
1620 * glocalfileoutputstream.c:
1621 Use g_unlink/g_rename instead of unlink/rename;
1622 do not pass raw filenames to g_set_error. (#517239)
1623 Patch from Yevgen Muntyan.
1625 2008-02-18 Alexander Larsson <alexl@redhat.com>
1628 * glocalfileoutputstream.c:
1629 Open files with O_BINARY on windows. (#517140)
1631 2008-02-14 Alexander Larsson <alexl@redhat.com>
1633 * glocalfileoutputstream.c:
1634 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1636 2008-02-14 Alexander Larsson <alexl@redhat.com>
1639 Copy permissions with file on copy (#514084)
1640 This is what cp does and makes sure e.g. the
1641 exec permissions are kept.
1642 Its kinda weird in that it keeps the permission bits
1643 the same while the uid and gid are different. However
1644 the new uid is the user so its not a security issue,
1645 and I've heard no complaints about cp on this issue.
1647 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1649 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1651 2008-02-13 Alexander Larsson <alexl@redhat.com>
1653 * inotify/inotify-path.c:
1654 Define IN_ONLYDIR if not in header (#515346)
1656 2008-02-12 Alexander Larsson <alexl@redhat.com>
1658 * tests/live-g-file.c:
1661 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1663 * === Released 2.15.5 ===
1665 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1667 * gio.symbols: Add g_mount_mount_flags_get_type.
1669 2008-02-11 Alexander Larsson <alexl@redhat.com>
1672 (g_file_info_set_attribute_mask):
1673 (g_file_attribute_matcher_matches_id):
1674 Correctly handle NULL GAttributeMatcher meaning
1675 matches nothing. (Fixes #513492)
1677 2008-02-11 Alexander Larsson <alexl@redhat.com>
1682 Added GMountMountFlags enum and added a flags
1683 argument to all mount calls.
1685 This is an API/ABI change for future extensibility,
1686 as I think we will need at least an
1687 inhibit-autorun flag (the panel needs this).
1688 There are no flags defined yet though.
1690 2008-02-11 Alexander Larsson <alexl@redhat.com>
1693 Added new standard::description attribute.
1694 Requested by Vincent, and useful for both
1697 2008-02-11 Alexander Larsson <alexl@redhat.com>
1699 * gdesktopappinfo.c:
1702 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1704 * *.c: Documentation additions
1706 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1708 * gappinfo.h: Formatting cleanup
1709 * gappinfo.c: Fix up docs.
1711 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1713 * gunixmounts.c: Consistently use getmntent_r() and fall
1714 back to getmntent(). (#515492)
1716 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1718 * gbufferedinputstream.c:
1720 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1722 * tests/data-input-stream.c:
1723 * tests/data-output-stream.c: Portability fixes.
1725 2008-02-08 Alexander Larsson <alexl@redhat.com>
1730 Add g_volume_should_automount.
1733 2008-02-07 Tor Lillqvist <tml@novell.com>
1735 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1736 Win32, too Unix-specific.
1738 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1740 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1741 a local plt if the compiler doesn't support what we want. Bug #514702
1743 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1745 reviewed by: <delete if not using a buddy>
1748 * gunixinputstream.c:
1749 * gunixoutputstream.c:
1751 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1753 * tests/Makefile.am:
1754 * tests/live-g-file.c:
1755 * tests/live-g-file.txt:
1756 New GIO testing module working over real data
1758 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1760 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1761 Fallback to rename() if link() is not available
1762 (when no support on target filesystem)
1764 2008-02-06 Michael Natterer <mitch@imendio.com>
1766 * gfileinfo.c (g_file_info_get_icon): replace
1767 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1769 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1771 * gfile.c (g_file_create):
1772 Documentation update of error codes
1774 2008-02-06 Alexander Larsson <alexl@redhat.com>
1776 * gdesktopappinfo.c:
1777 Update to use both mimeapps.list and
1778 defaults.list as discussed on xdg list.
1780 2008-02-06 Benjamin Otte <otte@gnome.org>
1783 * gfilenamecompleter.c:
1784 Fix some typos in the documentation.
1786 2008-02-06 Alexander Larsson <alexl@redhat.com>
1788 * glocalfile.c (g_local_file_trash):
1789 Don't succeed with trash if newly created
1790 trash dir has the wrong owner. (#514696)
1792 2008-02-05 Alexander Larsson <alexl@redhat.com>
1794 * glocalfile.c (g_local_file_move):
1795 Don't spew warnings when destination is not
1798 2008-02-03 Hans Breuer <hans@breuer.org>
1800 * makefile.msc : update
1802 2008-02-01 Michael Natterer <mitch@imendio.com>
1804 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1805 return value of xdg_mime_list_mime_parents() to a variable of the
1808 2008-02-01 Alexander Larsson <alexl@redhat.com>
1810 * gappinfo.c (g_app_info_launch_uris):
1811 Actually call the launch_uris method, not
1814 2008-02-01 Alexander Larsson <alexl@redhat.com>
1816 * gdesktopappinfo.c (g_desktop_app_info_equal):
1817 Ensure appinfos with no id but same pointer value
1820 2008-02-01 Alexander Larsson <alexl@redhat.com>
1822 * gappinfo.c (g_app_info_launch_default_for_uri):
1825 2008-02-01 Alexander Larsson <alexl@redhat.com>
1829 Add g_app_info_launch_default_for_uri utility
1832 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1834 * gdesktopappinfo.c:
1835 Doc fix for g_app_info_get_default_for_uri_scheme ()
1838 2008-01-30 Alexander Larsson <alexl@redhat.com>
1841 Add doc comment about uris vs GFiles to
1844 * gdesktopappinfo.c:
1845 Ensure uris passed to g_app_info_launch_uris()
1846 are not roundtriped through GFile (as that
1847 may be slightly destructive for e.g. mailto: links)
1849 2008-01-30 Alexander Larsson <alexl@redhat.com>
1851 * tests/data-input-stream.c:
1852 * tests/data-output-stream.c:
1853 C89 fixes from Jens Granseuer (#512849)
1855 2008-01-30 Alexander Larsson <alexl@redhat.com>
1858 Fix gamin/fam difference build issue. (#509419)
1860 2008-01-29 Alexander Larsson <alexl@redhat.com>
1863 * gdesktopappinfo.c:
1864 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1866 2008-01-29 Alexander Larsson <alexl@redhat.com>
1868 * gdesktopappinfo.c:
1869 * gdesktopappinfo.h:
1870 giomodule-priv.h include moved to .c file.
1872 2008-01-29 Alexander Larsson <alexl@redhat.com>
1874 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1875 Remove unused prio/name fields.
1877 2008-01-29 Alexander Larsson <alexl@redhat.com>
1879 * gcontenttype.c (looks_like_text):
1880 Don't treat whitespace as control chars.
1882 2008-01-29 Alexander Larsson <alexl@redhat.com>
1884 * gdesktopappinfo.c:
1885 Lazily create the desktop files for appinfos created
1886 by g_app_info_create_from_commandline() when needed
1887 for mime associations. This allows run-time use
1888 of GAppInfo object without creating unnecessary
1891 2008-01-29 Alexander Larsson <alexl@redhat.com>
1894 Added new symbols to gio.symbols
1896 2008-01-29 Alexander Larsson <alexl@redhat.com>
1899 Add g_file_query_default_handler utility to easily look up
1900 the GAppInfo that handles a file.
1902 * gdesktopappinfo.[ch]:
1904 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1907 Remove unused function
1909 2008-01-29 Alexander Larsson <alexl@redhat.com>
1911 * gfileenumerator.c:
1912 Mention need to free returned value in
1913 g_file_enumerator_next_files_finish docs.
1914 Fix leak if g_file_enumerator_next_files_finish()
1917 2008-01-29 Alexander Larsson <alexl@redhat.com>
1920 (_g_unix_content_type_get_parents):
1921 Use list_parents, not get_parents from xdgmime, because
1922 the later doesn't use the cache.
1924 * xdgmime/xdgmimecache.c:
1925 (_xdg_mime_cache_list_mime_parents):
1926 Don't list the same type as parent multiple times.
1928 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1930 * === Released 2.15.4 ===
1932 2008-01-28 Alexander Larsson <alexl@redhat.com>
1935 Register local vfs with prio 0.
1938 Remove old name and prio class members
1940 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1942 * tests/g-file.c: Disable some tests that are failing in
1943 the absence of a http backend.
1945 2008-01-28 Alexander Larsson <alexl@redhat.com>
1949 Add registration hooks for extension points.
1950 Register the gio extension points.
1952 * fam/gfamdirectorymonitor.c:
1953 * fam/gfamfilemonitor.c:
1954 * glocaldirectorymonitor.[ch]:
1955 * glocalfilemonitor.[ch]:
1956 * gnativevolumemonitor.h:
1957 * gunionvolumemonitor.c:
1958 * gunixvolumemonitor.c:
1961 * inotify/ginotifydirectorymonitor.c:
1962 * inotify/ginotifyfilemonitor.c:
1963 Use the extension points registration instead
1964 of g_type_children().
1966 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1969 * gvolume.[hc]: Document new API.
1971 * gfile.c (g_file_copy_async): Fix docs
1973 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1975 * gbufferedinputstream.c:
1977 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1980 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1982 * glocalfile.c: Avoid trivial differences in translatable strings.
1984 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1986 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1987 build with gcc 3.4 (#509419)
1989 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1991 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1992 (#509994, Murray Cumming)
1994 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1996 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1997 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1998 this allows big jobs to be executed in chunks, instead of blocking
1999 the main loop for a long time.
2001 * gsimpleasyncresult.c:
2002 * giofile.c: Adapt callers.
2004 2008-01-25 Alexander Larsson <alexl@redhat.com>
2006 * gdesktopappinfo.c:
2007 Implement changes discussed on xdg list.
2008 Now we can add supported mimetypes by just using defaults.list
2009 We can also remove associations in defaults.list.
2011 2008-01-25 Alexander Larsson <alexl@redhat.com>
2013 * gdesktopappinfo.c:
2014 Don't make local copy of desktop file
2015 for mimetype changes if the file already
2016 supports the new mimetype.
2018 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2022 * gbufferedinputstream.c:
2023 * glocalfile.c: String improvements. (#511966,
2024 Theppitak Karoonboonyanan)
2026 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2028 * gioscheduler.h: Expand docs a bit.
2030 2008-01-24 Alexander Larsson <alexl@redhat.com>
2033 Add g_drive_get_identifier and
2034 g_drive_enumerate_identifiers
2037 Add g_volume_get_identifier and
2038 g_volume_enumerate_identifiers
2044 Implement identifiers for unix backend
2046 2008-01-24 Alexander Larsson <alexl@redhat.com>
2051 Add g_file_copy_async() (#511580)
2052 Based on patch from Carlos Garcia Campos
2054 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2056 * gioscheduler.c: Some documentation additions.
2058 2008-01-22 Alexander Larsson <alexl@redhat.com>
2060 * gdesktopappinfo.c:
2061 (g_desktop_app_info_new):
2062 Don't leak basename.
2064 2008-01-22 Alexander Larsson <alexl@redhat.com>
2066 * gdesktopappinfo.c:
2067 (g_desktop_app_info_new_from_filename):
2070 2008-01-22 Alexander Larsson <alexl@redhat.com>
2072 * glocalfileinfo.c (get_thumbnail_attributes):
2075 2008-01-22 Alexander Larsson <alexl@redhat.com>
2078 (canonicalize_filename):
2079 Canonicalize paths that start with more than
2083 (compare_two_files):
2084 (test_g_file_new_for_path):
2087 2008-01-22 Alexander Larsson <alexl@redhat.com>
2090 Allow UTF-8 in file:// parse names.
2092 * tests/Makefile.am:
2093 * tests/data-input-stream.c:
2094 * tests/data-output-stream.c:
2095 * tests/g-file-info.c:
2097 Added a bunch of tests from Tomas Bzatek
2099 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2101 * === Released 2.15.3 ===
2103 2008-01-21 Alexander Larsson <alexl@redhat.com>
2105 * gfileinputstream.[ch]:
2106 * gfileoutputstream.[ch]:
2108 Remove duplicated GSeekable functions. (#509990)
2109 Just use the g_seekable_xxx() calls instead.
2111 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2114 * gvolumemanager.c: Whitespace cleanups.
2116 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2117 Use the right mode when creating the file.
2119 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2121 * gfileenumerator.c:
2122 * gfileinputstream.c:
2124 * goutputstream.c: Documentation: Fixed minor typos
2125 and added more mentions of specific _finish() functions.
2127 2008-01-21 Alexander Larsson <alexl@redhat.com>
2129 * inotify/Makefile.am:
2130 * inotify/inotify-helper.c:
2131 * inotify/inotify-kernel.c:
2132 * inotify/inotify-path.c:
2133 * inotify/local_inotify.h: Removed.
2134 * inotify/local_inotify_syscalls.h: Removed.
2135 Removed the included copies of the inotify
2136 headers. We now only use the <sys/inotify.h>
2137 header which exists on modern systems.
2138 This fixes problems on ARM and SH5 (#510448)
2139 but is also generally much cleaner and future
2140 safe. For instance, if other OSes add support
2141 for inotify it should "just work".
2143 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2145 * inotify/*.c: Coding style fixes.
2146 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2147 for the 1/4 Hz timer.
2149 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2152 * gfilemonitor.[hc]:
2153 * gmemoryinputstream.c:
2154 * gmemoryoutputstream.c:
2155 * gmountoperation.c:
2156 * gthemedicon.c: Documentation updates
2158 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2160 * gfile.c: documentation: Fixed more minor
2163 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2165 * gmount.c: (g_mount_remount): documentation:
2166 Mention g_mount_remount_finish() instead of
2167 g_mount_unmount_finish().
2169 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2173 * gfile.c: Fixed some minor typos in the
2176 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2178 * gio/gvolumemonitor.c:
2179 (g_volume_monitor_get_connected_drives):
2180 (g_volume_monitor_get_volumes):
2181 (g_volume_monitor_get_mounts): Documentation:
2182 Clarify the ownership of the regurn GLists.
2184 2008-01-17 Alexander Larsson <alexl@redhat.com>
2187 Add the async find_enclosing_mount version
2188 to the header file too.
2190 2008-01-17 Alexander Larsson <alexl@redhat.com>
2193 Add async version of find_enclosing_mount
2194 with default implementation.
2196 2008-01-17 Alexander Larsson <alexl@redhat.com>
2201 Allow calls to implementation of copy and write
2202 even if the type of the file implementations is
2203 different. This can be used to implement native
2204 upload and download calls in a vfs.
2207 (g_local_file_move):
2208 Protect against the case where move is called
2209 with one file not being local.
2211 Make sure we call the progress callback once
2212 in the native move operation so that the caller
2213 knows how many bytes were copied.
2215 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2218 * gdatainputstream.c:
2220 * gfileoutputstream.c:
2225 * gunixmounts.c: Corrected some typos in the documentation:
2226 occured -> occurred.
2227 its -> it's (where appropriate).
2229 2008-01-16 Alexander Larsson <alexl@redhat.com>
2233 Add g_file_query_exists (#508771)
2235 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2240 * gvolume.c: For async functions that have no non-async
2241 version, document that the GAsyncReadyCallback may be NULL.
2244 2008-01-15 Alexander Larsson <alexl@redhat.com>
2246 * gmemoryinputstream.c:
2247 * gmemoryoutputstream.c:
2248 Don't do pointer arithmetic on void * (#508602)
2249 Patch from Kazuki IWAMOTO
2251 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2253 * === Released 2.15.2 ===
2255 2008-01-14 Alexander Larsson <alexl@redhat.com>
2257 * gfile.c (g_file_monitor_file):
2258 Don't set error here, since we fallback to polling monitor.
2260 2008-01-14 Alexander Larsson <alexl@redhat.com>
2263 (g_file_monitor_directory):
2264 (g_file_monitor_file):
2265 Add GError to file monitor calls
2267 * glocaldirectorymonitor.c:
2268 * glocaldirectorymonitor.h:
2270 * glocalfilemonitor.c:
2271 * glocalfilemonitor.h:
2273 Update for above change
2275 2008-01-14 Alexander Larsson <alexl@redhat.com>
2279 Handle root correctly in g_file_get_relative_path (#508719)
2281 2008-01-14 Alexander Larsson <alexl@redhat.com>
2284 Clean up docs and example for GAsyncResult (#508074)
2286 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2288 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2289 and correct some spelling mistakes. Bug #508108.
2291 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2293 * glocalfileinfo.c: Add a comment.
2295 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2297 * gfileinfo.c: GFileInfo description: Mention
2298 how to actually set attributes in a GFile and how to discover
2299 which attributes are settable. Bug #508378.
2301 2008-01-10 A. Walton <awalton@svn.gnome.org>
2303 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2304 (g_app_info_get_default_for_type):
2305 Check for NULL content types.
2307 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2309 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2311 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2313 * gfile.c: *_async() functions: Several small corrections
2314 to the documentation, mostly correcting copy/paste errors
2315 and improving some sentences.
2317 2008-01-09 Dan Winship <danw@gnome.org>
2319 * glocalfile.c (get_unique_filename): x86_64 fix
2321 2008-01-09 Alexander Larsson <alexl@redhat.com>
2326 Add g_unix_mount_guess_should_display and use
2327 for unix volume monitor backend.
2328 This means we more or less show what the
2329 gnome-vfs backend did.
2330 Based on patch from Padraig O'Briain
2332 2008-01-09 Alexander Larsson <alexl@redhat.com>
2336 Add g_themed_icon_new_with_default_fallbacks
2339 Use default fallbacks for icons
2341 2008-01-09 Alexander Larsson <alexl@redhat.com>
2344 * gmountoperation.[ch]:
2345 Change the API a bit so that unhandled methods
2346 get reported via the reply, rather than by
2347 the signal emission return value. This is because
2348 some handlers can't know this immediately without
2349 doing I/O, and this is an async operation that
2352 2008-01-09 Alexander Larsson <alexl@redhat.com>
2355 * fam/gfamdirectorymonitor.c:
2356 * fam/gfamfilemonitor.c:
2357 Fix double free crash (#508224)
2358 Patch from Joe Marcus Clarke
2360 008-01-07 Matthias Clasen <mclasen@redhat.com>
2362 * === Released 2.15.1 ===
2364 2008-01-07 Alexander Larsson <alexl@redhat.com>
2366 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2367 Fix warning (#507835)
2369 2008-01-07 Alexander Larsson <alexl@redhat.com>
2372 Pass --internal to glib-genmarshal
2375 * gmountoperation.c:
2377 Use better types for signal arguments (#507822)
2379 2008-01-07 Alexander Larsson <alexl@redhat.com>
2382 Build test subdir after .
2383 Remove gdirectorymonitor.[ch]
2385 * gdirectorymonitor.[ch]:
2389 Remove GDirectoryMonitor and make
2390 GFileMonitor the baseclass for both file and
2391 directory monitors. Lift the more generic
2392 rate limiting code from GDirectoryMonitor
2396 * fam/gfamdirectorymonitor.[ch]:
2397 * inotify/ginotifydirectorymonitor.[ch]:
2398 * inotify/inotify-helper.c:
2399 * glocaldirectorymonitor.[ch]:
2402 Update for the removed GDirectoryMonitor.
2404 * gmemoryoutputstream.c:
2405 Remove ununsed variable
2407 2008-01-07 Alexander Larsson <alexl@redhat.com>
2409 * gmemoryinputstream.c:
2410 Translate error strings
2413 * gmemoryoutputstream.[ch]:
2414 New implementation that avoids using GByteArray
2415 in implementation and API. (#506377)
2417 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2419 * tests/*: Add a test for memory input streams.
2421 * Makefile.am: Add tests to SUBDIRS.
2423 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2425 * glocalfilemonitor.c:
2426 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2429 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2431 * gdesktopappinfo.c: Fix a docs typo.
2433 * gfileattribute.c: Add information about extended attributes
2434 to the documentation. (#505058)
2436 2008-01-04 Alexander Larsson <alexl@redhat.com>
2439 * gmountoperation.c:
2440 Use the right type (uint) for the ask_password signal.
2442 2008-01-04 Alexander Larsson <alexl@redhat.com>
2447 Add g_app_info_supports_files()
2448 Remove desktop arg from g_app_info_should_show().
2450 * gdesktopappinfo.[ch]:
2451 Implement g_app_info_supports_files() and new should_show()
2452 Add g_desktop_app_info_set_desktop_env() to set the desktop
2453 for should_show(). (This will be set by gtk+ later)
2455 2008-01-04 Alexander Larsson <alexl@redhat.com>
2458 * gmemoryinputstream.[ch]:
2459 Improve API so that you can use multiple chunks
2460 of memory and custom destroy functions. (#506374)
2462 2008-01-03 Alexander Larsson <alexl@redhat.com>
2465 Handle NULL attribute matchers safely, as we return this
2466 for empty attribute matcher strings.
2468 2008-01-03 Alexander Larsson <alexl@redhat.com>
2470 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2471 Add /usr/local to list of internal mountpoints
2473 2008-01-03 Alexander Larsson <alexl@redhat.com>
2476 Check for HAVE_LCHOWN (#505887)
2478 2008-01-03 Alexander Larsson <alexl@redhat.com>
2482 Add define for selinux context attribute.
2483 Fix missing : -> :: namespace separator change
2484 Fix missing _ -> - name change for xattr-sys.
2487 2008-01-03 Alexander Larsson <alexl@redhat.com>
2490 Link to libglib and libgobject directly (#504879)
2491 Patch from Sebastien Bacher
2493 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2495 * gfile.c: Expanded the g_file_new_for_commandline_arg
2496 description a bit, based on the code and the docs of the
2497 other g_file_new_for_* functions.
2499 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2501 * gfilemonitor.h: Fixed typo in docs.
2503 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2505 Updates to GIO documentation. (#506395, Mikael Hermansson)
2507 * gcontenttype.c: Describe memory management for return value of
2508 g_content_types_get_registered(). Missing piece from #505815.
2509 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2510 GVolume, GDrive, GMounts, which hopefully gives the user less
2511 confusions when using this API. Following explainations from
2512 Alexander Larsson on gtk-devel-list.
2514 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2516 * gfileinfo.c: Expand the long description.
2518 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2521 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2522 fix builds with --disable-visibility. (#500273, Christian Persch)
2524 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2526 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2527 in the list of returned app infos.
2529 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2531 * gappinfo.c: Fix a cross-reference
2533 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2535 * gfileinputstream.c:
2536 * gfileoutputstream.c:
2540 * gdesktopappinfo.c:
2542 * gfileinfo.c: Documentation updates.
2544 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2546 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2549 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2551 * gcontenttype.c (g_content_types_get_registered): Don't return
2552 freed memory (#505815, Mikael Hermansson)
2554 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2556 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2557 used to detect statbuf->st_blocks. (#505042)
2559 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2561 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2562 environment handling. (#504829, Cosimo Cecchi)
2564 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2566 * gappinfo.c: Doc improvements
2568 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2571 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2573 * === Released 2.15.0 ===
2575 2007-12-20 Hans Breuer <hans@breuer.org>
2577 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2578 with symbols gwin32appinfo.obj, added gmount.obj
2579 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2581 2007-12-20 Alexander Larsson <alexl@redhat.com>
2587 * gfilenamecompleter.c:
2590 * gpollfilemonitor.c:
2591 File attribute renames:
2593 fs:: -> filesystem::
2594 id::fs -> id::filesystem
2596 2007-12-20 Alexander Larsson <alexl@redhat.com>
2605 Add GMountUnmountFlags to all unmount and
2607 Add g_mount_remount() call.
2609 2007-12-20 Alexander Larsson <alexl@redhat.com>
2611 * gvfs.c (get_default_vfs):
2612 Fix unused variable warning
2614 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2616 * pltcheck.sh: Update
2618 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2620 * gunionvolumemonitor.c:
2621 * gunixmount.c: Remove C99 comments
2623 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2625 * gio.symbols: Add some missing symbols
2627 2007-12-19 Alexander Larsson <alexl@redhat.com>
2630 Make g_io_modules_load_all_in_directory not unuse
2631 loaded modules so that users of it can do stuff
2633 Init internal "module" types.
2634 Initialize static prio and name for types so that
2635 we don't have to load modules to get it.
2637 * gnativevolumemonitor.h:
2639 Move is_supported to parent class so that
2640 non-native monitors can avoid being initialized
2641 too. (For instance GDaemonVolumeMonitor if we're
2642 not using GDaemonVfs.)
2644 * glocaldirectorymonitor.[ch]:
2645 * glocalfilemonitor.[ch]:
2646 * gunionvolumemonitor.c:
2647 * gunixvolumemonitor.c:
2649 Find plugins using the static prio+name to
2650 avoid unnecessarily loading the modules.
2652 2007-12-19 Alexander Larsson <alexl@redhat.com>
2657 2007-12-19 Alexander Larsson <alexl@redhat.com>
2659 * gunionvolumemonitor.c:
2660 Store the native type as GType, not class so that
2661 we can unload it. But still avoid unnecessarily
2664 2007-12-19 David Zeuthen <davidz@redhat.com>
2666 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2667 add signals 'disconnected' and 'eject-button' on GDrive. Add
2668 signal 'removed' on GVolume and 'unmounted' on GMount.
2670 * gdrive.c: (g_drive_base_init):
2672 * gfile.c: (g_file_mount_mountable),
2673 (g_file_mount_enclosing_volume):
2676 * gmount.c: (g_mount_base_init):
2678 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2679 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2680 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2684 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2686 * *.c: Fix up includes in the section docs.
2688 2007-12-17 Alexander Larsson <alexl@redhat.com>
2690 * gnativevolumemonitor.h:
2691 * gunionvolumemonitor.c:
2692 * gunixvolumemonitor.c:
2693 Add is_supported() to GNativeVolumeMonitorClass so
2694 that we can avoid having to create an object to see
2695 if the backend is supported at runtime.
2696 Also add name member and an env var to pick a specific
2697 volume monitor backend.
2701 Add cancellable to _g_mount_get_for_mount_path()
2703 * glocaldirectorymonitor.c:
2704 * glocalfilemonitor.c:
2705 Avoid loading and unloading modules while sorting.
2707 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2710 * gunixmounts.[hc]: Namespace waste reduction, move some
2711 g_get_unix_mount functions to the g_unix_mount namespace.
2714 * gunixvolumemonitor.c:
2716 * glocaldirectorymonitor.c: Update all callers.
2718 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2720 2007-12-17 Alexander Larsson <alexl@redhat.com>
2723 Add doc comments about what GFile operations are
2724 guaranteed to not block.
2726 2007-12-17 Alexander Larsson <alexl@redhat.com>
2729 Add missing #ifdef fixing OSX build.
2730 (#503334, patch from Richard Hult)
2732 2007-12-14 David Zeuthen <davidz@redhat.com>
2736 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2737 (g_mount_eject), (g_mount_eject_finish):
2739 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2740 (get_volume_for_uuid), (get_mount_for_uuid),
2741 (g_union_volume_monitor_class_init),
2742 (get_default_native_type_with_exclude), (get_default_native_type),
2743 (get_native_type), (update_native_type),
2744 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2745 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2746 (g_unix_mount_can_eject), (eject_unmount_cb),
2747 (eject_unmount_read_error), (eject_unmount_do),
2748 (g_unix_mount_unmount), (g_unix_mount_eject),
2749 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2750 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2751 (g_unix_mount_point_guess_can_eject):
2753 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2754 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2755 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2756 (g_unix_volume_mount), (g_unix_volume_eject),
2757 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2758 * gunixvolumemonitor.c: (get_volume_for_uuid),
2759 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2761 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2762 (g_volume_eject), (g_volume_eject_finish):
2764 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2765 (g_volume_monitor_get_mount_for_uuid):
2768 Provide eject() on both GMount and GVolume and utility functions
2769 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2770 ejected. Introduce the concept of UUID's and wire it into GVolume
2771 and GMount and provide API on GVolumeMonitor to find such
2772 instances. Also handle the case where an external
2773 GNativeVolumeMonitor fails to initialize. Lock around the
2774 _g_get_mount_for_mount_path() function such that volume monitor
2775 implementations won't have to do locking themselves.
2777 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2779 * gdesktopappinfo.c:
2785 * gvolume.h: Documentation updates
2787 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2790 * gfile.h: Doc updates
2792 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2795 * gdesktopappinfo.c: Use hash table iterators.
2797 2007-12-14 Alexander Larsson <alexl@redhat.com>
2800 * gfileattribute.[ch]:
2801 * gfileattribute-priv.h:
2802 Move GFileAttributeValue to a private header, as
2806 Make set_attribute take a type + a pointer instead
2807 of a GFileAttributeValue.
2810 Fix up for above changes.
2811 Add g_file_info_get_attribute_data to get
2812 all info in one call, g_file_info_get_attribute_status
2813 to get the status and g_file_info_get_attribute_as_string.
2817 * glocalfileinfo.[ch]:
2821 Make _guess_type static.
2823 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2826 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2827 made mkenums and friends use temporary files to avoid leaving
2828 empty generated files on failure (#503470).
2830 2007-12-14 Alexander Larsson <alexl@redhat.com>
2832 * gmountoperation.h:
2835 2007-12-14 Alexander Larsson <alexl@redhat.com>
2839 * gfileattribute.[ch]:
2842 * glocalfileoutputstream.c:
2843 * gmountoperation.[ch]:
2844 * goutputstream.[ch]:
2845 Clean up all flags enums to not have _FLAGS in them
2846 Make the names of some of the enums better.
2851 2007-12-14 Michael Natterer <mitch@imendio.com>
2853 * gio.symbols: fix g_io_scheduler symbol names.
2855 2007-12-14 Alexander Larsson <alexl@redhat.com>
2861 * gbufferedinputstream.h:
2862 * gbufferedoutputstream.h:
2865 * gdatainputstream.h:
2866 * gdataoutputstream.h:
2867 * gdesktopappinfo.h:
2868 * gdirectorymonitor.h:
2872 * gfileenumerator.h:
2875 * gfileinputstream.h:
2877 * gfilenamecompleter.h:
2878 * gfileoutputstream.h:
2879 * gfilterinputstream.h:
2880 * gfilteroutputstream.h:
2888 * gmemoryinputstream.h:
2889 * gmemoryoutputstream.h:
2891 * gmountoperation.h:
2894 * gsimpleasyncresult.h:
2896 * gunixinputstream.h:
2898 * gunixoutputstream.h:
2902 * inotify/Makefile.am:
2903 Only allow including <gio/gio.h> from apps
2905 2007-12-14 Alexander Larsson <alexl@redhat.com>
2907 * gioscheduler.[ch]:
2908 * gsimpleasyncresult.c:
2909 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2910 Split out the send_to_mainloop call into two versions instead
2911 of having the block argument.
2913 2007-12-13 Alexander Larsson <alexl@redhat.com>
2915 * gcancellable.[ch]:
2917 * gbufferedinputstream.c:
2918 * gfileenumerator.c:
2919 * gfileinputstream.c:
2920 * gfileoutputstream.c:
2924 g_push/pop_current_cancellable ->
2925 g_cancellable_push/pop_current
2927 2007-12-13 Alexander Larsson <alexl@redhat.com>
2931 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2933 2007-12-13 Alexander Larsson <alexl@redhat.com>
2935 * gmountoperation.h:
2936 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2938 2007-12-12 Alexander Larsson <alexl@redhat.com>
2941 Fix race condition when freeing proxy in
2942 g_io_job_send_to_mainloop().
2944 2007-12-12 Alexander Larsson <alexl@redhat.com>
2950 Make attribute namespace separator "::" instead of ":".
2951 Use - instead of _ as separator in attribute names.
2953 2007-12-12 Alexander Larsson <alexl@redhat.com>
2955 * gbufferedinputstream.h:
2956 * gbufferedoutputstream.h:
2957 * gdatainputstream.h:
2958 * gdataoutputstream.h:
2959 * gdirectorymonitor.h:
2960 * gfileenumerator.h:
2961 * gfileinputstream.h:
2963 * gfileoutputstream.h:
2964 * gfilterinputstream.h:
2965 * gfilteroutputstream.h:
2967 * glocalfileinputstream.h:
2968 * glocalfileoutputstream.h:
2969 * gmemoryinputstream.h:
2970 * gmemoryoutputstream.h:
2971 * gnativevolumemonitor.h:
2973 * gunixinputstream.h:
2974 * gunixoutputstream.h:
2977 s/parent/parent_instance/ in GObjects
2979 2007-12-12 Alexander Larsson <alexl@redhat.com>
2984 No need for padding for interfaces
2986 2007-12-12 Alexander Larsson <alexl@redhat.com>
2990 * gbufferedinputstream.c:
2991 * gbufferedoutputstream.c:
2994 * gdatainputstream.[ch]:
2995 * gdesktopappinfo.c:
2996 * gdirectorymonitor.c:
2998 * gfileattribute.[ch]:
3001 * gfileinputstream.h:
3002 * gfilemonitor.[ch]:
3003 * gfileoutputstream.[ch]:
3004 * gfilterinputstream.h:
3005 * gfilteroutputstream.h:
3008 * gloadableicon.[ch]:
3009 * gmemoryinputstream.c:
3010 * gmountoperation.c:
3012 Fix up a bunch of details in the docs.
3017 2007-12-11 David Zeuthen <davidz@redhat.com>
3019 Rework how volumes, drives and volume monitoring is
3020 done. Previosly the model was
3022 GDrive <1-1> GVolume
3024 where a GDrive instance represented a mount point and a GVolume
3025 instance represented a mounted file system. This patch changes it
3028 GDrive <1-N> GVolume <1-1> GMount
3030 where GMount now serves the purpose of the old GVolume and the new
3031 GVolume serves the purpose of the old GDrive. In addition the new
3032 GDrive interface is used to represent a collection of GVolume
3033 instances (typically partitions) and also contains utility to query
3034 the state of the physical drive the GDrive object represents (such
3035 as checking for media, polling the drive, ejecting the media etc.).
3037 Also implement mounting and unmounting in the Unix volume monitor
3038 backend. A subquent patch will introduce GDrive support for ejection
3042 * gdrive.c: (g_drive_is_media_check_automatic),
3043 (g_drive_is_media_removable), (g_drive_has_media),
3044 (g_drive_can_poll_for_media), (g_drive_eject),
3045 (g_drive_eject_finish), (g_drive_poll_for_media),
3046 (g_drive_poll_for_media_finish):
3048 * gfile.c: (g_file_find_enclosing_mount):
3051 * glocaldirectorymonitor.c:
3052 (g_local_directory_monitor_constructor), (mounts_changed):
3053 * glocalfile.c: (get_mount_info),
3054 (g_local_file_find_enclosing_mount),
3055 (g_local_file_file_iface_init):
3056 * gnativevolumemonitor.h:
3057 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3058 (get_connected_drives), (g_union_volume_monitor_class_init),
3059 (child_volume_added), (child_volume_removed),
3060 (child_volume_changed), (child_mount_added), (child_mount_removed),
3061 (child_mount_pre_unmount), (child_mount_changed),
3062 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3063 (g_union_volume_monitor_remove_monitor),
3064 (_g_mount_get_for_mount_path):
3065 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3066 (guess_system_internal), (_g_get_unix_mounts),
3067 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3068 (g_unix_mount_free), (g_unix_mount_compare),
3069 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3070 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3071 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3072 (type_to_icon), (g_unix_mount_guess_name),
3073 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3074 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3075 (_resolve_symlink), (_resolve_dev_root):
3077 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3078 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3079 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3080 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3081 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3082 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3083 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3084 (g_unix_volume_volume_iface_init):
3086 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3087 (get_mounts), (get_volumes), (get_connected_drives),
3088 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3089 (mountpoints_changed), (mounts_changed),
3090 (g_unix_volume_monitor_init),
3091 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3092 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3093 * gunixvolumemonitor.h:
3094 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3095 (g_volume_mount), (g_volume_mount_finish):
3097 * gvolumemonitor.c: (g_volume_monitor_class_init),
3098 (g_volume_monitor_get_connected_drives),
3099 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3102 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3104 * gmountoperation.h (GPasswordFlags): Close the gap
3106 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3108 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3110 * gdesktopappinfo.[hc]: Remove _-prefixes
3112 2007-12-10 Tor Lillqvist <tml@novell.com>
3114 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3117 2007-12-10 Alexander Larsson <alexl@redhat.com>
3119 * gfile.c (g_file_set_display_name):
3120 Don't hardcode '/' (#502727)
3122 2007-12-09 Hans Breuer <hans@breuer.org>
3124 * makefile.msc : follow lib naming convention
3125 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3126 for user and group name, tested with ../tests/gio-ls
3128 2007-12-09 A. Walton <awalton@svn.gnome.org>
3130 * gdesktopappinfo.c:
3136 * gfileenumerator.c:
3141 * gmemoryinputstream.c:
3142 * gmemoryoutputstream.c:
3144 * gsimpleasyncresult.c:
3145 More documentation cleanup and filling in missing information, bringing
3146 GIO to 99% symbol coverage.
3148 2007-12-08 Hans Breuer <hans@breuer.org>
3150 [gio compiles and links on win32, not sure how much already works]
3151 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3152 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3153 base on win32 API; prefer g_lstat() over lstat(); instead of
3154 localtime_r() use an all GLib implementation on win32;
3155 get_mount_info() still needs a win32 specifc implementation
3156 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3157 win32_get_file_user_info to get owner/group info without uid/gid
3158 * glocalfileinputstream.c : include <io.h> on win32
3159 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3160 definition, use g_win32_ftruncate() for G_OS_WIN32
3161 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3162 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3163 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3164 * makefile.msc : updated
3166 2007-12-07 Alexander Larsson <alexl@redhat.com>
3168 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3169 Avoid warning spew if error == NULL
3171 2007-12-07 Alexander Larsson <alexl@redhat.com>
3174 Update docs wrt etags
3176 2007-12-06 Alexander Larsson <alexl@redhat.com>
3179 Include sys/types.h for dev_t (#501919)
3181 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3185 Make abicheck and pltcheck pass.
3187 2007-12-05 Alexander Larsson <alexl@redhat.com>
3190 * giomodule-priv.h: Added.
3191 * glocaldirectorymonitor.c:
3192 * glocalfilemonitor.c:
3193 * gunionvolumemonitor.c:
3195 Actually add the declaration of _g_io_modules_ensure_loaded
3197 2007-12-05 Alexander Larsson <alexl@redhat.com>
3199 * gdatainputstream.c:
3204 * glocaldirectorymonitor.c:
3205 * glocalfilemonitor.c:
3206 * gunionvolumemonitor.c:
3208 Make g_io_modules_ensure_loaded a private function and
3209 don't pass in the dirname. This means we can do magic
3210 directory finding in the win32 version.
3211 Export the actual load-modules-in-directory code so that
3212 gvfs can reuse that.
3214 2007-12-05 Alexander Larsson <alexl@redhat.com>
3216 * gbufferedinputstream.c:
3217 * gbufferedoutputstream.c:
3220 * gfileenumerator.[ch]:
3221 * gfileinputstream.c:
3222 * gfileoutputstream.[ch]:
3223 * gfilterinputstream.c:
3224 * gfilteroutputstream.c:
3225 * ginputstream.[ch]:
3227 * glocalfileenumerator.c:
3228 * glocalfileinputstream.c:
3229 * glocalfileoutputstream.c:
3230 * gmemoryinputstream.c:
3231 * gmemoryoutputstream.c:
3232 * goutputstream.[ch]:
3235 * gunixinputstream.c:
3236 * gunixoutputstream.c:
3237 Rename all struct members named:
3238 read, write, close, truncate, or mount
3239 to foo_fn, as these are reserved names
3240 and could be defined as macros in libc.
3243 2007-12-04 Alexander Larsson <alexl@redhat.com>
3246 (g_output_stream_close):
3247 Only call flush if non-null.
3249 2007-11-30 Dan Winship <danw@gnome.org>
3251 * ginputstream.c (g_input_stream_set_pending): Make this take a
3252 GError and return a gboolean, and do the "outstanding operation"
3253 check (and the "stream is already closed" check) itself.
3254 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3256 * goutputstream.c (g_output_stream_set_pending)
3257 (g_output_stream_clear_pending): Likewise
3259 * gbufferedinputstream.c:
3260 * gfileinputstream.c:
3261 * gfileoutputstream.c: Update for that
3263 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3264 Like g_simple_async_report_error_in_idle, but takes a GError
3265 rather than building one.
3267 2007-11-30 Dan Winship <danw@gnome.org>
3269 * goutputstream.c: Don't cheat and unset the "pending" flag around
3270 inner calls. Instead, call the class method directly rather than
3271 the wrapper function that checks "pending"
3273 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3275 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3277 2007-12-03 Hans Breuer <hans@breuer.org>
3279 [start of port to win32/msvc]
3280 * gcancellable.c : HAVE_UNIST_H and _pipe()
3281 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3282 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3283 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3285 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3286 * glocalvfs.c : use HAVE_PWD_H
3287 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3288 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3289 * Makefile.am : added to EXTRA_DIST
3291 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3293 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3296 2007-12-03 Alexander Larsson <alexl@redhat.com>
3299 Handle OSX style xattrs API (#500506)
3301 2007-12-03 Alexander Larsson <alexl@redhat.com>
3305 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3307 2007-12-02 A. Walton <awalton@svn.gnome.org>
3311 Documentation accuracy fixes.
3313 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3315 * gioenumtypes.c.template: Fix typo.
3317 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3319 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3321 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3323 * gdirectorymonitor.c:
3324 * gfilemonitor.c: Add properties
3326 * gbufferedoutputstream.c: Don't mark buffer-size property
3329 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3331 * gbufferedoutputstream.c: Add auto-grow property.
3333 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3335 * *.c: Unify the capitalization of section headings.
3337 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3339 * gmountoperation.c: Add properties
3341 * gdatainputstream.c: Turn byte-order and newline-type into
3344 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3346 * gioenumtypes.[hc].template: Templates for enum registration
3348 * Makefile.am: Generate gioenumtypes.[hc]
3350 * gio.h: Include gioenumtypes.h
3352 * gfile.h: Add some explicit nicks.
3354 * gio.symbols: Add new symbols
3356 * pltcheck.sh: Adjust
3358 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3360 * *.c: Explain etags and link to the explanation
3362 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3364 * *.c: Explain I/O priority.
3366 * *.c: More coding style fixes.
3368 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3370 * gasyncresult.c: Add another paragraph to the intro,
3371 adjust coding style of example.
3373 2007-11-29 A. Walton <awalton@svn.gnome.org>
3376 Fixes unknown meaning in GAppLaunchContext docs.
3378 Clarify asynchronous ops.
3380 Fix entity tag docs.
3383 Provides missing gtk-doc section, fixes API docs slighly.
3384 * gsimpleasyncresult.c:
3385 Fill in missing info in docs.
3386 * gunixinputstream.c:
3387 * gunixoutputstream.c:
3388 Be more expressive in short description.
3390 Remove gtk-doc stubs for non-public API.
3392 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3394 * *.c: Coding style fixups
3396 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3398 * inotify/inotify-helper.c: Don't export the lock from libgio.
3400 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3403 * abicheck.sh: Fix copy-and-paste leftovers
3405 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3407 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3409 2007-11-28 Alexander Larsson <alexl@redhat.com>
3413 Removed unnecessary file
3415 * gdesktopappinfo.[ch]:
3418 * glocaldirectorymonitor.[ch]:
3420 * glocalfileenumerator.[ch]:
3421 * glocalfileinputstream.[ch]:
3422 * glocalfilemonitor.[ch]:
3423 * glocalfileoutputstream.[ch]:
3425 * gnativevolumemonitor.c:
3426 * gpollfilemonitor.[ch]:
3427 * gunionvolumemonitor.[ch]:
3430 * gunixvolumemonitor.[ch]:
3433 * inotify/ginotifydirectorymonitor.[ch]:
3434 * inotify/ginotifyfilemonitor.[ch]:
3435 * inotify/inotify-helper.c:
3436 Append _ to all internal functions
3440 Export symbols needed for modules
3442 2007-11-28 Alexander Larsson <alexl@redhat.com>
3445 * abicheck.sh: Added.
3446 * makegioalias.pl: Added.
3447 * pltcheck.sh: Added.
3448 * gio.symbols: Added.
3451 Initial work on adding symbol handling.
3454 Correct ifdef guard name
3457 * inotify/Makefile.am:
3458 * xdgmime/Makefile.am:
3459 Include toplevel Makefile.decl
3461 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3463 * gcontenttype.c: Move doc comments to the unix section.
3465 * *.[hc]: More trivial doc corrections.
3467 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3469 * gpollfilemonitor.c:
3473 * gdesktopappinfo.c:
3478 * gdatainputstream.c:
3479 * gdatainputstream.h:
3480 * gdataoutputstream.c:
3481 * gdataoutputstream.h:
3482 * gfileinfo.h: Doc cleanups
3484 2007-11-28 Andre Klapper <a9016009@gmx.de>
3486 * gdesktopappinfo.c: Fix a typo.
3488 2007-11-27 Andre Klapper <a9016009@gmx.de>
3490 * glocalfileoutputstream.c: Fix a typo.
3492 2007-11-27 Alexander Larsson <alexl@redhat.com>
3495 Don't include removed headers
3497 2007-11-27 Alexander Larsson <alexl@redhat.com>
3500 * gsocketinputstream.[ch]: Removed.
3501 * gsocketoutputstream.[ch]: Removed.
3502 * gunixinputstream.[ch]: Added.
3503 * gunixoutputstream.[ch]: Added.
3504 Renamed GSocket*Stream to GUnix*Stream and made
3505 it unix-only, since its not really only for sockets
3506 and it only works on unix (but is highly useful there).
3508 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3514 * gbufferedinputstream.c:
3515 * gbufferedinputstream.h:
3516 * gbufferedoutputstream.c:
3517 * gbufferedoutputstream.h:
3521 * gdatainputstream.c:
3522 * gdatainputstream.h:
3523 * gdataoutputstream.c:
3524 * gdataoutputstream.h:
3525 * gdirectorymonitor.c:
3526 * gdirectorymonitor.h:
3533 * gfileenumerator.c:
3534 * gfileenumerator.h:
3539 * gfileinputstream.c:
3540 * gfileinputstream.h:
3543 * gfilenamecompleter.c:
3544 * gfilenamecompleter.h:
3545 * gfileoutputstream.c:
3546 * gfileoutputstream.h:
3547 * gfilterinputstream.c:
3548 * gfilterinputstream.h:
3549 * gfilteroutputstream.c:
3550 * gfilteroutputstream.h:
3563 * glocalfileoutputstream.c:
3564 * gmemoryinputstream.c:
3565 * gmemoryinputstream.h:
3566 * gmemoryoutputstream.c:
3567 * gmemoryoutputstream.h:
3568 * gmountoperation.c:
3569 * gmountoperation.h:
3572 * gpollfilemonitor.c:
3575 * gsimpleasyncresult.c:
3576 * gsimpleasyncresult.h:
3577 * gsocketinputstream.c:
3578 * gsocketinputstream.h:
3579 * gsocketoutputstream.c:
3580 * gsocketoutputstream.h:
3587 * gunixvolumemonitor.c:
3596 Bumps documentation to 93% symbol coverage, touching most
3597 of the public files. Fixes broken function documentation prototypes.
3598 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3599 gtk-doc headers in private files.
3601 2007-11-27 Jürg Billeter <j@bitron.ch>
3603 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3604 (g_buffered_input_stream_read_byte):
3605 * gbufferedinputstream.h:
3606 New functions for efficient access to buffer and simple single byte
3609 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3610 (g_data_input_stream_read_until):
3611 * gdatainputstream.h:
3612 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3613 read_until with multiple stop chars.
3615 2007-11-27 Alexander Larsson <alexl@redhat.com>
3619 * inotify/Makefile.am:
3620 Use the user-specified giomoduledir
3622 2007-11-27 Alexander Larsson <alexl@redhat.com>
3626 Add catch-all gio.h header
3627 Don't install gdummyfile.h
3629 2007-11-26 Alexander Larsson <alexl@redhat.com>
3631 * Makefile.am (gioinclude_HEADERS):
3632 Remove trailing whitespace
3634 2007-11-26 Alexander Larsson <alexl@redhat.com>
3636 Merge gio-standalone into glib
3638 2007-11-25 Christian Kellner <gicmo@gnome.org>
3640 * gio/goutputstream.c:
3641 Fix small mistake in the docs.
3643 2007-11-21 Christian Persch <chpe@gnome.org>
3645 * gio/glocalfile.c: (g_local_file_trash):
3646 Convert filenames to UTF-8 for GError.
3647 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3648 as per xdg base dir spec.
3650 2007-11-21 Christian Persch <chpe@gnome.org>
3652 * gio/gdesktopappinfo.c:
3653 Use that g_key_file_to_data cannot fail.
3655 Use stock defines for the key file group and key names.
3658 2007-11-21 Alexander Larsson <alexl@redhat.com>
3661 (copy_stream_with_progress):
3662 Make sure we do a final progress callback with
3663 the full total size.
3665 2007-11-21 Alexander Larsson <alexl@redhat.com>
3668 Export g_file_copy_attributes
3669 Remove padding as its not needed for interfaces
3671 2007-11-20 Alexander Larsson <alexl@redhat.com>
3676 Add G_IO_ERROR_WOULD_MERGE for
3677 copy/move dir on dir with overwrite.
3679 2007-11-20 Alexander Larsson <alexl@redhat.com>
3682 * gio/glocalfileinfo.c:
3683 Add COPY_NAME (this is an optional
3684 non-modified utf8 version of the name) that
3687 2007-11-20 Alexander Larsson <alexl@redhat.com>
3689 * gio/glocalfileenumerator.c:
3690 Report errors as GIOError, not GFileError
3692 2007-11-16 Alexander Larsson <alexl@redhat.com>
3694 * gio/glocalfileoutputstream.c:
3695 * gio/gwin32appinfo.c:
3696 Fix typos in strings.
3697 Patch from Luca Ferretti <elle.uca@libero.it>
3699 2007-11-15 Alexander Larsson <alexl@redhat.com>
3702 Post release version bump
3704 === gio-standalone 0.1.2 ===
3706 2007-11-15 Alexander Larsson <alexl@redhat.com>
3708 * docs/reference/gio/Makefile.am:
3709 Fix up distcheck by removing weird
3715 2007-11-14 Alexander Larsson <alexl@redhat.com>
3717 * gio/gdesktopappinfo.c:
3718 * gio/glocaldirectorymonitor.c:
3720 * gio/glocalfileinfo.c:
3721 * gio/inotify/inotify-sub.c:
3722 * programs/gio-cat.c:
3723 * programs/gio-copy.c:
3724 * programs/gio-info.c:
3725 * programs/gio-ls.c:
3726 * programs/gio-monitor-dir.c:
3727 * programs/gio-monitor-file.c:
3728 * programs/gio-mount.c:
3729 * programs/gio-move.c:
3730 * programs/gio-rm.c:
3731 * programs/gio-save.c:
3732 * programs/gio-trash.c:
3733 Leak fixes from Kjartan Maraas
3735 2007-11-14 Alexander Larsson <alexl@redhat.com>
3737 * gio/fam/fam-helper.c:
3739 * gio/glocalfileinfo.c:
3743 * gio/inotify/inotify-diag.c:
3744 * gio/inotify/inotify-kernel.c:
3745 Various code cleanups from Kjartan Maraas
3747 2007-11-14 Alexander Larsson <alexl@redhat.com>
3749 * gio/gioscheduler.c:
3751 Set up threadpool so that we cache 2 unused
3752 idle threads for at 15 secs. This means we
3753 will reuse thread-local data (like dbus connections)
3756 2007-11-14 Alexander Larsson <alexl@redhat.com>
3758 * gio/fam/fam-helper.c:
3759 * gio/fam/gfamdirectorymonitor.c:
3760 * gio/fam/gfamfilemonitor.c:
3762 * gio/gcontenttype.c:
3763 * gio/gdatainputstream.c:
3764 * gio/gdataoutputstream.c:
3768 * gio/gfileattribute.h:
3769 * gio/gfileenumerator.c:
3771 * gio/ginputstream.c:
3774 * gio/glocalfileinfo.c:
3775 * gio/goutputstream.c:
3776 * gio/gpollfilemonitor.c:
3777 * gio/gsimpleasyncresult.c:
3778 * gio/gunixmounts.c:
3779 * gio/gunixmounts.h:
3780 * gio/inotify/ginotifydirectorymonitor.c:
3781 * gio/inotify/ginotifyfilemonitor.c:
3782 * gio/inotify/inotify-diag.c:
3783 * gio/inotify/inotify-kernel.c:
3784 * gio/inotify/inotify-path.c:
3786 * gio/test-streams.c:
3787 * programs/gio-info.c:
3788 * programs/gio-monitor-dir.c:
3789 * programs/gio-monitor-file.c:
3790 Various code cleanups from Kjartan Maraas
3792 2007-11-13 Alexander Larsson <alexl@redhat.com>
3795 Handle the uri-scheme calls for dummy files
3797 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3799 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3800 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3801 to avoid clash with the C++ keyword.
3803 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3805 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3806 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3808 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3810 * gio/glocaldirectorymonitor.c:
3811 * gio/glocalfilemonitor.c:
3812 * gio/gunionvolumemonitor.c:
3813 Don't use g_once_init_*() for initializations that could fail and
3814 could leave the initialization variable set to 0 but use GOnce.
3815 This prevents a deadlock on the second call when trying to create
3816 a monitor and no monitor type is available. Thanks to Sven Herzberg
3819 2007-11-11 Sven Herzberg <sven@imendio.com>
3821 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3822 #ifdef (make it work on MacOS X again)
3824 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3826 Fixes Changelog for last two commits (sorry guys).
3828 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3830 * gio/gbufferedinputstream.c:
3831 * gio/gdatainputstream.c:
3833 * gio/gfileoutputstream.c:
3834 * gio/gfilterinputstream.c:
3835 * gio/glocalfileinputstream.c:
3838 More consistency fixes in g*stream.c files.
3839 Significant clean of gfile's documentation, filling in of
3840 asynchronous operations documentation.
3842 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3844 * gio/gasyncresult.c:
3845 * gio/gbufferedinputstream.c:
3846 * gio/gbufferedoutputstream.c:
3847 * gio/gcancellable.c:
3848 * gio/gcontenttype.c:
3849 * gio/gdatainputstream.c:
3850 * gio/gdataoutputstream.c:
3851 * gio/gdesktopappinfo.c:
3854 * gio/gfileattribute.c:
3855 * gio/gio/gfileenumerator.c:
3857 * gio/gfileinputstream.c:
3858 * gio/gfilemonitor.c:
3859 * gio/gfileoutputstream.c:
3860 * gio/ginputstream.c:
3862 * gio/gioscheduler.c:
3863 * gio/gloadableicon.c:
3864 * gio/glocalfileoutputstream.c:
3865 * gio/gmemoryoutputstream.c:
3866 * gio/gmountoperation.c:
3867 * gio/goutputstream.c:
3869 * gio/gsimpleasyncresult.c:
3870 * gio/gunionvolumemonitor.c:
3871 * gio/gunixmounts.c:
3872 * gio/gunixvolume.c:
3876 * gio/gvolumemonitor.c:
3877 Updated documentation stubs, working towards consistency and
3880 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3882 * gio/gmemoryoutputstream.c:
3883 * gio/gmemoryoutputstream.h:
3884 Change g_memory_output_stream_set_free_on_close() to
3885 g_memory_output_stream_set_free_data() as this makes more sense and
3886 is more consistent with GMemoryInputStream.
3888 2007-11-07 Alexander Larsson <alexl@redhat.com>
3895 Change how we find the default vfs so that
3896 we can handle a gvfs failing to init
3898 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3900 * gio/gbufferedoutputstream.c:
3901 * gio/gdatainputstream.c:
3902 * gio/gdataoutputstream.c:
3903 * gio/gfileinputstream.c:
3904 * gio/gfileoutputstream.c:
3905 * gio/gfilterinputstream.c:
3906 * gio/gfilteroutputstream.c:
3907 * gio/ginputstream.c:
3908 * gio/gmemoryinputstream.c:
3909 * gio/gmemoryoutputstream.c:
3910 * gio/goutputstream.c:
3911 * gio/gsimpleasyncresult.c:
3912 * gio/gsocketinputstream.c:
3913 * gio/gsocketoutputstream.c:
3914 Add guards to the remaining public functions, add a TODO for
3915 an unimplemented function and remove some useless guards.
3917 2007-11-07 Alexander Larsson <alexl@redhat.com>
3920 Autoconf checks for the various types of
3921 getpwuid_r and getgrgid_r
3923 * gio/glocalfileinfo.c:
3924 Use the autoconf checks from above
3926 2007-11-07 Alexander Larsson <alexl@redhat.com>
3929 (g_local_file_query_filesystem_info):
3930 Some fixes for the statvfs case
3932 2007-11-07 Alexander Larsson <alexl@redhat.com>
3935 (g_local_file_query_filesystem_info):
3936 Pick the "best" of statfs / statvfs for the system
3937 if both are availible.
3939 2007-11-07 Alexander Larsson <alexl@redhat.com>
3941 Solaris fixes from Halton.Huo@Sun.COM:
3948 * gio/glocalfileinfo.c:
3949 Fix for solaris definition of getpwuid_r
3951 * gio/test-streams.c:
3952 Use G_GNUC_PRETTY_FUNCTION
3954 2007-11-07 Alexander Larsson <alexl@redhat.com>
3956 * gio/gdesktopappinfo.c:
3957 (update_default_list):
3958 Remove double semicolon.
3959 Patch from Jens Granseuer
3961 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3963 * docs/reference/gio/gio-sections.txt:
3964 * gio/gbufferedinputstream.c:
3965 * gio/gbufferedinputstream.h:
3966 * gio/gdatainputstream.c:
3967 * gio/gfileenumerator.c:
3968 * gio/gioscheduler.c:
3969 * gio/gunionvolumemonitor.c:
3971 * programs/gio-save.c:
3972 Fix typo: availible -> available. Unfortuntely this breaks API
3973 and ABI as g_buffered_input_stream_get_available() was renamed.
3975 * gio/gunixmounts.c:
3976 * gio/gbufferedinputstream.c:
3977 Add guards for public functions.
3979 2007-11-06 Ross Burton <ross@openedhand.com>
3981 * docs/reference/gio/Makefile.am:
3982 Fix invalid += usage which automake 1.10 doesn't like.
3984 2007-11-06 Alexander Larsson <alexl@redhat.com>
3987 (g_app_launch_context_class_init):
3990 Patch from Ross Burton
3992 2007-11-06 Alexander Larsson <alexl@redhat.com>
3995 Post release version bump
3997 === gio-standalone 0.1.1 ===
3999 2007-11-06 Alexander Larsson <alexl@redhat.com>
4002 Bump version to 0.1.1
4004 * gio/gsimpleasyncresult.c:
4005 (g_simple_async_result_set_from_error):
4006 Remove bogus g_return_if_fail
4008 2007-11-06 Alexander Larsson <alexl@redhat.com>
4011 The name is gio-standalone
4014 Add top src/builddir to includedir
4016 2007-11-06 Alexander Larsson <alexl@redhat.com>
4018 * docs/reference/gio/gio-sections.txt:
4020 * gio/gbufferedinputstream.c:
4021 * gio/gbufferedoutputstream.c:
4022 * gio/gcancellable.c:
4023 * gio/gdatainputstream.h:
4024 * gio/gdataoutputstream.c:
4025 * gio/gdataoutputstream.h:
4026 * gio/gdirectorymonitor.c:
4028 * gio/gfileattribute.c:
4029 * gio/gfileattribute.h:
4030 * gio/gfileenumerator.c:
4031 * gio/gfileenumerator.h:
4034 * gio/gfileinputstream.h:
4035 * gio/gfilemonitor.c:
4036 * gio/gfileoutputstream.h:
4037 * gio/glocalfilemonitor.h:
4038 * gio/glocalfileoutputstream.h:
4039 * gio/gmemoryinputstream.c:
4040 * gio/gmemoryoutputstream.c:
4041 * gio/gmountoperation.c:
4042 * gio/goutputstream.c:
4043 * gio/goutputstream.h:
4045 * gio/gsimpleasyncresult.c:
4046 * gio/gunixmounts.c:
4047 * gio/gunixmounts.h:
4049 * gio/inotify/inotify-helper.c:
4050 Fix gtk-doc warnings
4052 Patch from Ross Burton
4054 2007-11-06 Alexander Larsson <alexl@redhat.com>
4056 * gio/gfilenamecompleter.c:
4057 (g_filename_completer_get_completions):
4060 * gio/gunixvolume.c:
4061 Remove unused function
4063 Patches from Ross Burton
4065 2007-11-06 Alexander Larsson <alexl@redhat.com>
4070 Padding not needed for interfaces
4072 2007-11-06 Alexander Larsson <alexl@redhat.com>
4074 * gio/gfilemonitor.c:
4078 Make giotypes.h an internal file
4081 * gio/gbufferedinputstream.h:
4082 * gio/gbufferedoutputstream.h:
4083 * gio/gcancellable.h:
4084 * gio/gdatainputstream.h:
4085 * gio/gdataoutputstream.h:
4086 * gio/gdirectorymonitor.c:
4087 * gio/gdirectorymonitor.h:
4092 * gio/gfileattribute.h:
4093 * gio/gfileenumerator.h:
4098 * gio/gfilemonitor.c:
4099 * gio/gfilemonitor.h:
4100 * gio/gfilenamecompleter.c:
4101 * gio/gfilenamecompleter.h:
4102 * gio/gfilterinputstream.h:
4103 * gio/gfilteroutputstream.h:
4104 * gio/ginputstream.h:
4105 * gio/gmemoryinputstream.h:
4106 * gio/gmemoryoutputstream.h:
4107 * gio/gmountoperation.c:
4108 * gio/gmountoperation.h:
4109 * gio/gnativevolumemonitor.c:
4110 * gio/goutputstream.h:
4113 * gio/gsimpleasyncresult.c:
4114 * gio/gsimpleasyncresult.h:
4115 * gio/gsocketinputstream.h:
4116 * gio/gsocketoutputstream.h:
4117 * gio/gthemedicon.c:
4118 * gio/gthemedicon.h:
4122 * gio/gvolumemonitor.c:
4123 * gio/gvolumemonitor.h:
4124 Add padding in classes where it seems useful
4125 Don't include giotypes.h from public headers
4126 Move in Class definitions into c file where possible
4131 2007-11-06 Alexander Larsson <alexl@redhat.com>
4133 * docs/reference/gio/gio-docs.xml:
4134 Better structure for API docs
4136 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4139 * gio/gloadableicon.c:
4140 * gio/gsimpleasyncresult.c:
4141 * gio/gthemedicon.c:
4142 Add some more guards to public functions. Only files missing are now
4145 2007-11-06 Alexander Larsson <alexl@redhat.com>
4147 * docs/reference/gio/gio-docs.xml:
4148 Remove old files, add missing ones
4150 2007-11-06 Alexander Larsson <alexl@redhat.com>
4152 * docs/reference/gio/gio-sections.txt:
4155 Hide implementation classes
4157 * gio/gdriveprivate.h:
4158 * gio/gvolumeprivate.h:
4159 Remove non-existing function declarations
4161 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4164 Fix compilation warnings and add guards to the new functions.
4166 * gio/gasyncresult.c:
4168 Add guards to the public functions.
4171 Implement get_path().
4173 2007-11-06 Alexander Larsson <alexl@redhat.com>
4175 * gio/gfilenamecompleter.c:
4176 Make g_filename_completer_get_completions
4177 return char ** instead of GList for
4180 * docs/reference/gio/gio-docs.xml:
4181 * docs/reference/gio/gio-sections.txt:
4183 * gio/gasyncresult.c:
4184 * gio/gbufferedinputstream.c:
4185 * gio/gbufferedoutputstream.c:
4186 * gio/gcancellable.c:
4187 * gio/gcontenttype.c:
4188 * gio/gdatainputstream.c:
4189 * gio/gdataoutputstream.c:
4190 * gio/gdesktopappinfo.c:
4191 * gio/gdirectorymonitor.c:
4195 * gio/gfileattribute.c:
4196 * gio/gfileenumerator.c:
4199 * gio/gfileinputstream.c:
4200 * gio/gfilemonitor.c:
4201 * gio/gfilenamecompleter.c:
4202 * gio/gfilenamecompleter.h:
4203 * gio/gfileoutputstream.c:
4204 * gio/gfilterinputstream.c:
4206 * gio/ginputstream.c:
4208 * gio/gioscheduler.c:
4209 * gio/gloadableicon.c:
4210 * gio/glocaldirectorymonitor.c:
4212 * gio/glocalfileinputstream.c:
4213 * gio/glocalfilemonitor.c:
4214 * gio/glocalfileoutputstream.c:
4216 * gio/gmemoryinputstream.c:
4217 * gio/gmemoryoutputstream.c:
4218 * gio/gmountoperation.c:
4219 * gio/goutputstream.c:
4220 * gio/gpollfilemonitor.c:
4222 * gio/gsimpleasyncresult.c:
4223 * gio/gsocketinputstream.c:
4224 * gio/gsocketoutputstream.c:
4225 * gio/gthemedicon.c:
4226 * gio/gunionvolumemonitor.c:
4228 * gio/gunixmounts.c:
4229 * gio/gunixvolume.c:
4230 * gio/gunixvolumemonitor.c:
4234 * gio/gvolumemonitor.c:
4235 * gio/gwin32appinfo.c:
4236 Add (mostly stub) doc strings to public functions.
4237 Patch from Andrew Walton (awalton@gmail.com)
4239 2007-11-06 Alexander Larsson <alexl@redhat.com>
4241 * gio/gappinfo.[ch]:
4242 Added GAppLaunchContext object and pass that to launch.
4243 This allows simple implementation of both
4244 launch-on-screen and startup notification via a gtk+
4245 subclass of GAppLaunchContext
4247 * gio/gdesktopappinfo.c:
4248 Implement GAppLaunchContext API
4250 * gio/gwin32appinfo.c:
4253 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4255 * gio/gmountoperation.c:
4256 Add some guards to GMountOperation's public functions.
4258 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4262 * gio/gcancellable.c:
4263 * gio/gdirectorymonitor.c:
4265 * gio/gfileenumerator.c:
4266 * gio/gfilemonitor.c:,
4267 * gio/gfilenamecompleter.c:
4270 * gio/gioscheduler.c:
4274 * gio/gvolumemonitor.c:
4275 Add even more guards to various public functions.
4277 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4280 Add guards to the public functions of GAppInfo.
4282 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4284 * gio/gcontenttype.c:
4285 Add some more guards for public functions.
4287 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4289 * gio/fam/fam-module.c:
4290 * gio/fam/gfamdirectorymonitor.c:
4291 * gio/fam/gfamdirectorymonitor.h:
4292 * gio/fam/gfamfilemonitor.c:
4293 * gio/fam/gfamfilemonitor.h:
4294 * gio/inotify/ginotifydirectorymonitor.c:
4295 * gio/inotify/ginotifydirectorymonitor.h:
4296 * gio/inotify/ginotifyfilemonitor.c:
4297 * gio/inotify/ginotifyfilemonitor.h:
4298 Add proper copyright information and remove an unused variable
4299 in the GInotifyFileMonitor constructor.
4301 * gio/gcancellable.c:
4302 Add a guard for a public function and an assertion to prevent
4303 an undefined program state.
4305 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4307 * gio/gfileattribute.c:
4308 Don't run into an assertion if the given attribute value is NULL
4309 in g_file_attribute_value_get_*() but instead return a fallback
4310 value that makes sense in most situations. Passing them a attribute
4311 value with the wrong type will still run into an assertion.
4313 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4315 * gio/gfileattribute.c:
4317 Add even more guards to the public functions. Also fix the refcounting
4318 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4319 let g_file_info_list_attributes() filter the attributes by namespace
4320 instead of simply ignoring the namespace parameter.
4322 2007-11-03 Sven Herzberg <sven@imendio.com>
4324 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4325 (This makes gio work on MacOS X again)
4327 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4330 Build the gio subdirectory before the docs. Otherwise the build will
4333 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4334 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4335 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4336 Add guards to the public functions.
4338 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4340 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4341 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4342 to prevent a compiler warning.
4344 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4345 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4346 return something in the non-void function find_topdir_for().
4348 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4355 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4357 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4358 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4359 * gwin32appinfo.c (g_win32_app_info_launch):
4360 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4361 envp_for_startup_id, g_desktop_app_info_launch,
4362 g_desktop_app_info_launch_uris):
4364 Give an opaque 'startup_id' string instead of 'envp'.
4365 Support empty file lists for launching new windows.
4366 Fix infinite recursion bug when launching URIs.
4368 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4371 Add guard to the new g_file_get_uri_scheme() function.
4373 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4376 Convert a g_return_val_if_fail() to setting the GError instead as
4377 otherwise applications have to verify the parameter before otherwise
4378 and the parameter might come directly from the user.
4380 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4382 * gio/inotify/ginotify*.[ch]:
4383 Add missing copyright information.
4385 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4388 Add guards in the beginning of public functions to check for valid
4389 parameters and fix a bug in copy_stream_with_progress() that could've
4390 caused writing less bytes than reading.
4391 * gio/glocalfileinfo.c:
4392 Check for a NULL parameter and set the GError accordingly then.
4393 * gio/goutputstream.c:
4394 Fix the same bug as in gfile.c that could've caused writing less bytes
4395 than reading in g_output_stream_real_splice().
4397 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4400 Use the correct gvolumeprivate.h naming
4402 2007-11-01 Christian Kellner <gicmo@gnome.org>
4405 Remove leftover "$(daemon_sources)" entry.
4407 2007-11-01 Christian Kellner <gicmo@gnome.org>
4412 Add copyright information to source files.
4414 2007-11-01 Alexander Larsson <alexl@redhat.com>
4418 Add g_file_get_uri_scheme
4420 2007-11-01 Alexander Larsson <alexl@redhat.com>
4423 * gio/gdesktopappinfo.c:
4424 * gio/gwin32appinfo.c:
4425 Add g_app_info_get_default_for_uri_scheme.
4427 2007-11-01 Alexander Larsson <alexl@redhat.com>
4430 Correct filename for gdriveprivate.h
4432 2007-10-31 Alexander Larsson <alexl@redhat.com>
4435 Rename id:value to id:file
4438 * gio/glocalfileinfo.c:
4441 2007-10-31 Alexander Larsson <alexl@redhat.com>
4443 * gio/gunixvolume.c:
4445 Remove g_volume_get_platform_id, as thats not
4446 needed with the simpler union volume monitor
4448 2007-10-31 Alexander Larsson <alexl@redhat.com>
4451 * gio/guniondrive.[ch]: Removed.
4452 * gio/gunionvolume.[ch]: Removed.
4453 Remove GUnionDrive/Volume
4455 * gio/gunionvolumemonitor.c:
4456 Simplify union volume monitor, now we
4457 only have one native volume monitor and
4458 we use the actual volumes/drives from the
4459 child monitors instead of wrapping them
4461 * gio/gnativevolumemonitor.[ch]:
4462 Base class for native volume monitors.
4463 Includes priority and get_volume_for_mountpoint
4466 Add g_file_find_enclosing_volume
4469 Remove volume name fs attribute
4470 Add readonly fs attribute
4473 Implement readonly attribute
4474 remove volume name attribute
4475 Implement find_enclosing volume
4477 * gio/gunixmounts.c:
4478 Add a volume for "/".
4480 * gio/gunixvolume.[ch]:
4481 Set better name for /
4483 * gio/gunixvolumemonitor.[ch]:
4484 Derive from GNativeVolumeMonitor
4485 Implement get_volume_for_mountpoint
4488 GVolume typedef moved to gfile.h
4490 * gio/gvolumeprivate.h:
4491 Add g_volume_get_for_mount_path
4493 2007-10-31 Alexander Larsson <alexl@redhat.com>
4495 * gio/gunixmounts.[ch]:
4496 Add cache info to unix mount listers
4497 Make getmntent use threadsafe
4498 Add is_system_internal attribute for GUnixMount
4500 * gio/gunixvolume.c:
4501 (g_unix_volume_new):
4502 Use is_system_internal instead of own code
4504 * gio/glocaldirectorymonitor.c:
4505 * gio/gunixvolumemonitor.c:
4506 Update to new gunixmounts API
4511 2007-10-30 Alexander Larsson <alexl@redhat.com>
4514 Add volume name fsinfo attribute
4517 Read volume name info
4519 * gio/gunionvolumemonitor.c:
4520 Fix infinite loops when finalizing a union volume monitor
4522 2007-10-30 Alexander Larsson <alexl@redhat.com>
4524 * gio/goutputstream.[ch]:
4525 Add splice() with default implementation
4527 * gio/gsocketoutputstream.c:
4528 (g_socket_output_stream_write):
4529 Return error on cancellation correctly.
4531 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4533 * gio/glocalfile.c (g_local_file_trash):
4534 Do not leak a string.
4536 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4538 * gio/gfile.c (g_file_load_contents):
4539 Unref the stream after closing it.
4541 2007-10-25 Alexander Larsson <alexl@redhat.com>
4543 * gio/gioscheduler.h:
4546 2007-10-25 Alexander Larsson <alexl@redhat.com>
4550 Add g_file_has_uri_scheme and implement for local files
4552 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4554 * gio/gdesktopappinfo.c: do not leak a string.
4556 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4558 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4559 (g_local_directory_monitor_new):
4560 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4561 (g_local_file_monitor_new):
4562 Only look for the monitor type that should be used the first time
4563 and use g_qsort_with_data() instead of our own bubble sort
4566 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4569 * gio/fam/Makefile.am:
4570 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4571 * gio/fam/fam-helper.h:
4572 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4573 * gio/fam/gfamdirectorymonitor.c:
4574 * gio/fam/gfamdirectorymonitor.h:
4575 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4576 * gio/fam/gfamfilemonitor.h:
4577 * gio/glocaldirectorymonitor.c:
4578 * gio/glocaldirectorymonitor.h:
4579 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4580 * gio/glocalfilemonitor.h:
4581 * gio/inotify/Makefile.am:
4582 * gio/inotify/ginotifydirectorymonitor.c:
4583 * gio/inotify/ginotifydirectorymonitor.h:
4584 * gio/inotify/ginotifyfilemonitor.c:
4585 * gio/inotify/ginotifyfilemonitor.h:
4586 Implement the FAM and Inotify monitors as
4587 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4588 their own GIO module. GLocal(Directory|File)Monitor will use the
4589 monitor with the highest rank that is supported on that machine.
4591 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4594 Change GIO module dir to $(libdir)/gio/modules and change
4595 the log domain from GVFS to GIO. Also only export symbols starting
4596 with g_ in the resulting library.
4597 * gio/test-streams.c: (main):
4598 Set log handler for the GIO log domain.
4600 2007-10-22 Alexander Larsson <alexl@redhat.com>
4602 * gio/gfilenamecompleter.[ch]:
4603 Add g_filename_completer_set_dirs_only
4605 2007-10-22 Alexander Larsson <alexl@redhat.com>
4608 * gio/gurifuncs.[ch]:
4609 Add some simple URI helpers
4611 * gio/gfilenamecompleter.[ch]:
4612 Added object for filename (parse name actually) completion
4615 Handle ~ in parse names
4617 2007-10-17 Alexander Larsson <alexl@redhat.com>
4620 * gio/glocalfileinfo.c:
4621 Add and implement id:value attribute
4623 2007-10-17 Alexander Larsson <alexl@redhat.com>
4626 * gio/guniondrive.c:
4628 Add and implement g_drive_has_volumes
4630 2007-10-17 Alexander Larsson <alexl@redhat.com>
4633 * gio/glocalfileinfo.[ch]:
4634 Add unix:is_mountpoint and implement for local files
4636 2007-10-16 Alexander Larsson <alexl@redhat.com>
4638 * gio/gunionvolumemonitor.c:
4639 (g_union_volume_monitor_init):
4640 Fix up the unix type getting so that it works with gcc
4642 2007-10-12 Alexander Larsson <alexl@redhat.com>
4645 * gio/glocalfileinfo.c:
4646 Add thumbnail:failed to file info
4648 2007-10-12 Richard Hult <richard@imendio.com>
4650 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4651 optimizing away the get_type call (happens with some gcc versions,
4652 like the one shipped with OS X 10.4).
4654 2007-10-12 Alexander Larsson <alexl@redhat.com>
4656 * gio/glocalfileinfo.c:
4657 (_g_local_file_info_set_attribute):
4658 Fix build if not HAVE_XATTR
4659 Patch from Milosz Derezynski <internalerror@gmail.com>
4661 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4663 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4664 around for review, otherwise I would have asked you before
4667 2007-10-11 Alexander Larsson <alexl@redhat.com>
4670 Add thumbnail:path attribute
4672 * gio/glocalfileinfo.c:
4673 Implement thumbnail:path for local files
4675 2007-10-11 Alexander Larsson <alexl@redhat.com>
4677 * gio/glocalfileinfo.c:
4678 (_g_local_file_info_get):
4679 Avoid duplicate icon names
4681 2007-10-11 Alexander Larsson <alexl@redhat.com>
4683 * gio/gthemedicon.[ch]:
4684 Change g_themed_icon_get_names return type to const
4686 2007-10-10 Alexander Larsson <alexl@redhat.com>
4688 * gio/glocalfileinfo.c:
4689 Don't reference freed memory
4691 2007-10-10 Alexander Larsson <alexl@redhat.com>
4693 * gio/gfileattribute.c:
4696 * gio/glocalfileinfo.c:
4699 2007-10-10 Alexander Larsson <alexl@redhat.com>
4702 Check for NULL icons
4704 * gio/gfileattribute.c:
4705 Don't dup when getting objects (same as for string attributes)
4707 * gio/gicon.c (g_icon_equal):
4708 Safely handle NULLs in equal
4710 2007-10-10 Alexander Larsson <alexl@redhat.com>
4713 Fix c++ compilation issues
4714 Patch from Milosz Derezynski <internalerror@gmail.com>
4716 2007-10-10 Alexander Larsson <alexl@redhat.com>
4718 * programs/gio-monitor-dir.c:
4719 Don't crash if dir monitor not supported.
4721 2007-10-09 Alexander Larsson <alexl@redhat.com>
4724 Add missing G_END_DECLS
4726 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4728 * gio/gfile.c: (g_file_set_display_name),
4729 (g_file_query_settable_attributes),
4730 (g_file_query_writable_namespaces):
4731 Return NULL not FALSE on errors as the return type is a pointer.
4733 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4735 * gio/glocalfile.c: (g_local_file_monitor_file):
4736 Don't call monitor_file on the default interface vtable (which
4737 is NULL) but simply return NULL. The caller, GFile, will create a
4738 polling monitor if NULL is returned.
4740 2007-10-09 Alexander Larsson <alexl@redhat.com>
4744 * gio-unix-2.0.pc.in:
4745 Add gio-unix-2.0.pc if OS_UNIX
4748 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4750 2007-10-09 Alexander Larsson <alexl@redhat.com>
4752 * gio/gunixmounts.[ch]:
4753 Make unix mount monitoring API sane.
4754 Now its just a object with mounts_changed
4755 and mountpoints_changed signals.
4757 * gio/glocaldirectorymonitor.c:
4758 * gio/gunixvolumemonitor.c:
4759 Use new mount monitor api
4761 2007-10-09 Alexander Larsson <alexl@redhat.com>
4763 * gio/gunixmounts.[ch]:
4764 Move guess type into one call for mounts and one for mountpoints
4767 * gio/gunixvolume.c:
4770 2007-10-09 Alexander Larsson <alexl@redhat.com>
4772 * gio/gunixmounts.[ch]:
4773 Remove _ prefix in preparation to make this semi-public
4774 Hide implementation of structs
4776 * gio/glocaldirectorymonitor.c:
4778 * gio/gunixvolume.c:
4779 * gio/gunixvolumemonitor.c:
4780 Update for above API changes
4782 2007-10-08 Alexander Larsson <alexl@redhat.com>
4785 Better polling fallback. This also handles the case where we have
4786 a monitor_file implementation, but it fails.
4788 2007-10-08 Alexander Larsson <alexl@redhat.com>
4792 * gio/gunixmounts.c:
4793 * programs/gio-monitor-dir.c:
4794 * programs/gio-monitor-file.c:
4795 Added cancellable to file monitoring calls.
4796 These are really sync calls and need this.
4798 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4800 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4801 (g_local_vfs_class_init):
4802 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4803 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4805 2007-10-05 Alexander Larsson <alexl@redhat.com>
4807 * gio/gdirectorymonitorprivate.h:
4808 * gio/gfilemonitorprivate.h:
4809 * gio/gdirectorymonitor.h:
4810 * gio/gfilemonitor.h:
4811 Remove *private.h and move to the public API, so that
4812 we can do implementations outside gio (such as in gvfs)
4814 * gio/gdirectorymonitor.c:
4815 * gio/gfilemonitor.c:
4816 * gio/glocaldirectorymonitor.c:
4817 * gio/gpollfilemonitor.c:
4818 * gio/inotify/inotify-helper.c:
4819 * gio/fam/fam-helper.c:
4820 Update to the new header names
4822 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4824 * gio/gdirectorymonitor.c:
4825 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4828 2007-10-04 Alexander Larsson <alexl@redhat.com>
4830 * gio/glocalfileinfo.c (get_access_rights):
4831 Set CAN_TRASH when we can move the file.
4832 We should really also check for a parent trash dir.
4834 2007-10-04 Alexander Larsson <alexl@redhat.com>
4836 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4837 Add can_trash access attribute
4839 2007-10-04 Alexander Larsson <alexl@redhat.com>
4842 (g_local_file_trash):
4843 Create info file first. This is per-spec and allows
4844 us to actually trash directories.
4846 2007-10-02 Alexander Larsson <alexl@redhat.com>
4848 * gio/gdesktopappinfo.c:
4849 Implement the new mime support code.
4850 Always set app as handling mimetype when being set as default for it
4852 2007-10-01 Alexander Larsson <alexl@redhat.com>
4854 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4855 Fix up check for xattrs:
4857 2007-10-01 Alexander Larsson <alexl@redhat.com>
4860 (g_app_info_set_as_default_for_extension):
4861 (g_app_info_add_supports_type):
4862 (g_app_info_can_remove_supports_type):
4863 (g_app_info_remove_supports_type):
4864 Make these fail nicely if not implemented
4866 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4868 * gio/glocalfileoutputstream.c:
4869 * gio/glocalfileoutputstream.h:
4874 * programs/gio-save.c:
4875 Add a GFileCreateFlags argument to operations that can create
4878 2007-10-01 Alexander Larsson <alexl@redhat.com>
4880 * gio/gappinfo.[ch]:
4881 * gio/gdesktopappinfo.c:
4882 Add more (stubbed out) mime API needed for nautilus
4884 2007-10-01 Alexander Larsson <alexl@redhat.com>
4887 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4888 Add g_app_info_set_as_default_for_extension.
4890 * gio/gdesktopappinfo.c:
4891 Dummy for g_app_info_set_as_default_for_extension
4892 Support flags in g_app_info_create_from_commandline
4894 * gio/gwin32appinfo.c:
4896 Update for API changes
4898 * gio/gthemedicon.c:
4899 Properly NULL-terminate list of icon names
4901 2007-09-28 Alexander Larsson <alexl@redhat.com>
4903 * gio/gloadableicon.h:
4904 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4906 2007-09-28 Alexander Larsson <alexl@redhat.com>
4909 Install headers in $includedir/gio-standalone/
4911 * gio-2.0.pc.in: Added.
4912 * gio-standalone.pc.in: Removed.
4915 Renamed pkg-config file to match glib (for future move)
4916 Update to the new include dir
4919 Add more TODO comments
4921 2007-09-28 Alexander Larsson <alexl@redhat.com>
4923 * gio/gdesktopappinfo.[ch]:
4924 Expose new_from_filename
4925 Add getter for is_hidden and handle it better
4927 2007-09-28 Alexander Larsson <alexl@redhat.com>
4929 * gio/gfileinfo.[ch]:
4930 Rename g_file_size_format_for_display to
4931 g_format_file_size_for_display.
4932 Now it doesn't have the g_file prefix, so we
4933 can later move it to glib.
4935 2007-09-28 Alexander Larsson <alexl@redhat.com>
4937 * gio/gappinfo.[ch]:
4938 Add g_app_info_get_id and g_app_info_get_executable.
4939 Make all getters non-reffing
4940 Make g_app_info_launch take GFile arguments.
4941 Add must_support_uris argument to g_app_info_get_default_for_type.
4943 * gio/gwin32appinfo.c:
4944 Update to GAppInfo api changes
4946 * gio/gdesktopappinfo.c:
4947 Update to GAppInfo api changes
4948 Implement supports_xdg_startup_notify
4950 * gio/gfileicon.c (g_file_icon_get_file):
4951 Make getter non-reffing.
4956 2007-09-27 Alexander Larsson <alexl@redhat.com>
4958 * gio/gfileinfo.[ch]:
4959 Add g_file_size_format_for_display helper
4961 2007-09-27 Alexander Larsson <alexl@redhat.com>
4963 * gio/glocalfileinfo.c:
4964 Set UNIX_GID from gid, not from uid
4966 2007-09-27 Alexander Larsson <alexl@redhat.com>
4969 Add g_file_set_attributes_async
4971 2007-09-27 Alexander Larsson <alexl@redhat.com>
4973 * gio/glocalfile.c (g_local_file_set_display_name):
4974 Fix set_display_name to actually rename to the right place.
4975 Use lstat to look for existing files so we don't overwrite
4978 2007-09-26 Alexander Larsson <alexl@redhat.com>
4981 Add g_file_set_display_name_async()
4983 2007-09-26 Alexander Larsson <alexl@redhat.com>
4986 Add load_partial_contents async calls
4989 Make internal function static
4991 2007-09-26 Alexander Larsson <alexl@redhat.com>
4993 * gio/glocalfileinfo.c:
4994 Correctly detect broken symlinks
4996 2007-09-26 Alexander Larsson <alexl@redhat.com>
4998 * gio/gcancellable.c (g_cancellable_cancel):
4999 Allow cancel on NULL cancellable
5001 2007-09-25 Alexander Larsson <alexl@redhat.com>
5003 * gio/gsimpleasyncresult.c:
5004 Don't allocate g_error manually.
5005 Fixes g_slice/g_new mixup crash
5007 2007-09-25 Alexander Larsson <alexl@redhat.com>
5009 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5010 Actually set active_backend.
5011 This means the monitor will be cancelled correctly.
5013 2007-09-25 Alexander Larsson <alexl@redhat.com>
5015 * gio/gdirectorymonitor.c:
5016 Set timeout to NULL when destroying
5018 2007-09-25 Alexander Larsson <alexl@redhat.com>
5021 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5022 that is a better description of the error.
5024 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5026 * gio/gvfs.c: (g_vfs_get_local):
5027 Make the local vfs variable static. The same instance should
5030 2007-09-24 Alexander Larsson <alexl@redhat.com>
5032 * gio/glocalfileinfo.c:
5033 Pass in actual length read into sniffer, not the length
5036 2007-09-21 Alexander Larsson <alexl@redhat.com>
5038 * gio/gfileenumerator.c:
5041 * gio/gfileinputstream.c:
5042 * gio/gfileoutputstream.c:
5043 * gio/ginputstream.c:
5044 * gio/goutputstream.c:
5045 Don't crash if async callbacks are NULL
5047 2007-09-20 Alexander Larsson <alexl@redhat.com>
5050 Add async enumerate_children method and default
5053 2007-09-20 Alexander Larsson <alexl@redhat.com>
5056 Add g_file_contains_file & g_file_get_relative_path, since they
5057 were needed for nautilus.
5058 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5063 Implement new methods
5065 2007-09-17 Alexander Larsson <alexl@redhat.com>
5068 * gio/gfileinputstream.[ch]:
5069 * gio/gfileoutputstream.[ch]:
5071 * gio/glocalfileenumerator.[ch]:
5072 * gio/glocalfileinfo.[ch]:
5073 * gio/glocalfileinputstream.c:
5074 * gio/glocalfileoutputstream.c:
5075 * gio/gpollfilemonitor.c:
5076 * programs/gio-copy.c:
5077 * programs/gio-info.c:
5078 * programs/gio-move.c:
5079 Rename get_file_info to query_info() to make it clearer
5080 that these are not simple getters, but do i/o.
5082 2007-09-17 Alexander Larsson <alexl@redhat.com>
5084 * gio/gdatainputstream.[ch]:
5085 * gio/test-streams.c:
5086 Use _read_XXX instead of _get_XXX for the i/o calls
5089 2007-09-17 Alexander Larsson <alexl@redhat.com>
5092 Added needed stuff to TODO comment
5094 2007-09-17 Alexander Larsson <alexl@redhat.com>
5096 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5097 Don't error out removing the backup copy if it doesn't
5100 2007-09-14 Alexander Larsson <alexl@redhat.com>
5102 * programs/Makefile.am:
5103 * programs/gvfs-*.c:
5105 Renamed apps from gvfs-xxx to gio-xxx.
5107 2007-09-14 Alexander Larsson <alexl@redhat.com>
5110 * gio/gfileoutputstream.[ch]:
5111 * gio/glocalfileoutputstream.c:
5112 * programs/gvfs-save.c:
5113 g_file_output_stream_get_etag doesn't do i/o, so remove
5114 cancellation and error.
5116 2007-09-14 Alexander Larsson <alexl@redhat.com>
5119 Add new_etag output to replace_contents functions
5121 2007-09-14 Alexander Larsson <alexl@redhat.com>
5123 * gio/gfileoutputstream.[ch]:
5124 Add async get_file_info and default implementation
5126 2007-09-14 Alexander Larsson <alexl@redhat.com>
5128 * gio/gfileinputstream.c:
5129 Implement fallback wrapper for async get_file_info
5131 2007-09-14 Alexander Larsson <alexl@redhat.com>
5134 Add etag out argument to load_contents
5139 2007-09-14 Alexander Larsson <alexl@redhat.com>
5141 * gio/gcontenttype.c (looks_like_text):
5142 Whitespace like tab, cr and lf do not make the
5145 2007-09-14 Alexander Larsson <alexl@redhat.com>
5147 * gio/gfileinputstream.[ch]:
5148 Add async get_file_info.
5150 2007-09-13 Alexander Larsson <alexl@redhat.com>
5152 * gio/goutputstream.c (g_output_stream_write_all):
5153 Allow NULL for bytes_written
5155 2007-09-13 Alexander Larsson <alexl@redhat.com>
5157 * gio/gmemoryinputstream.[ch]:
5158 Add accessors for data
5160 2007-09-13 Alexander Larsson <alexl@redhat.com>
5162 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5163 Don't crash if length is NULL