1 2008-10-10 Alexander Larsson <alexl@redhat.com>
3 * gfileattribute.c (escape_byte_string):
4 Upper half of byte is >> 4, not >> 8.
5 Found by Kjartan Maraas via sparse
7 2008-10-10 Matthias Clasen <mclasen@redhat.com>
9 Bug 555711 – Wrong fallback order of mimetype icons
11 * gcontenttype.c: Don't prefer generic icons over
12 default mimetype icons.
14 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
15 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
17 Patch by Krysztof Kosiński
19 2008-10-10 Matthias Clasen <mclasen@redhat.com>
21 Bug 555121 – Improved build-time handling of gio module-dir
23 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
24 * Makefile.am: Create the module dir.
26 2008-10-10 Matthias Clasen <mclasen@redhat.com>
28 * gio/glocalfileinfo.c:
29 * gio/tests/live-g-file.c:
30 * gio/gsimpleasyncresult.c: Fix gcc warnings.
32 2008-10-09 Alexander Larsson <alexl@redhat.com>
34 * gunixinputstream.c (g_unix_input_stream_read):
35 Actually return -1 in case of cancelled, not old res value.
37 2008-10-06 Colin Walters <walters@verbum.org>
39 Bug 554745 - GFileAttributeInfoList should be boxed
41 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
42 for convenience of bindings.
43 * gio/gfileattribute.h: Prototype it.
45 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
47 Bug 554970 – segfault when update-desktop-database is not available
50 * gdesktopappinfo.c (run_update_command): Have the error set before
53 2008-10-01 David Zeuthen <davidz@redhat.com>
55 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
56 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
57 instead of the gio URI (such as sftp://foo/file.avi) when using
58 g_app_info_launch() and friends. With a sufficiently recent gvfs,
59 apps using gio+gvfs will map the FUSE file:// URI back to the gio
60 URI (and thus bypass the fuse daemon) thanks the patch from bug
61 #530654. Since Nautilus is an user of g_app_info_launch() it
62 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
63 when launced via the file manager. Win. Fixes bug #528670.
65 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
66 mapping to the description of GAppInfo.
68 2008-09-30 Tor Lillqvist <tml@novell.com>
70 * tests/Makefile.am: Build desktop-app-info only on Unix.
72 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
73 g_critical(). Pass a large enough result buffer to
74 GetVolumePathNameW(). Just use MAX_PATH.
76 2008-09-29 David Zeuthen <davidz@redhat.com>
78 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
80 2008-09-26 Dan Winship <danw@gnome.org>
82 * tests/data-input-stream.c:
83 * tests/data-output-stream.c:
84 * tests/live-g-file.c:
85 * tests/memory-input-stream.c:
86 * tests/memory-output-stream.c: Use g_assert_error() and
89 2008-09-26 Matthias Clasen <mclasen@redhat.com>
91 Bug 545350 – GAppInfo deletion
92 Bug 545351 – Reset associations for content type
95 * gappinfo.[hc]: New functions g_app_info_can_delete,
96 g_app_info_delete and g_app_info_reset_type_associations.
99 * gwin32appinfo.c: Implementations of these.
102 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
104 2008-09-26 Dan Winship <danw@gnome.org>
106 Bug 505361 – gunixinputstream.c assumes poll() available
107 Bug 509446 – portable blocking gio cancellation
109 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
110 GPollFD for a cancellable (which is slightly more complicated on
113 * gunixinputstream.c (g_unix_input_stream_read):
114 * gunixoutputstream.c (g_unix_output_stream_write): Use
115 g_cancellable_make_pollfd() and g_poll() rather than using poll()
118 * tests/unix-streams.c: test of GUnixInputStream,
119 GUnixOutputStream, and GCancellable.
121 2008-09-26 Dan Winship <danw@gnome.org>
123 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
124 cast to stop a gcc warning
126 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
129 2008-09-25 Dan Winship <danw@gnome.org>
131 Bug 553426 - cancellable clarifications
133 * gcancellable.c (g_cancellable_class_init): Add a note to the
134 "cancelled" signal docs warning about thread-safety issues
135 (g_cancellable_cancel): Note that cancelling an asynchronous
136 operation takes effect asynchronously, not immediately.
138 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
140 * gioenums.h: Add new GFileCopyFlag, to leave target file with
141 default perms, instead of setting the source file perms, in a copy
144 * gfile.c (g_file_copy_attributes)
145 (build_attribute_list_for_copy)
146 (should_copy): Not copy "unix::mode" attribute if we have received
147 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
149 2008-09-20 Matthias Clasen <mclasen@redhat.com>
151 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
153 2008-09-17 Matthias Clasen <mclasen@redhat.com>
155 * === Released 2.18.1 ===
157 2008-09-16 Michael Natterer <mitch@imendio.com>
159 * gcontenttype.c (g_content_type_guess): can't assign the return
160 value of g_strdupv() to an array. Fill the array manually with
161 const strings instead (it is never freed anyway). Fixes the
162 build. Also fixed indentation.
164 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
166 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
167 Fix trivial typo to unbreak the build (there was a colon
168 instead of a semicolon at the end of a statement).
170 2008-09-15 Matthias Clasen <mclasen@redhat.com>
172 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
175 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
178 2008-09-15 Matthias Clasen <mclasen@redhat.com>
180 Bug 551681 – g_content_type_guess() too naive with filenames
182 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
183 at the end of the filename, and declare it a directory.
184 Patch by Bastien Nocera
186 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
188 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
191 * gdesktopappinfo.c: add a note in the docs clarifying what the
192 "filename" parameter really is.
194 2008-09-12 Tor Lillqvist <tml@novell.com>
196 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
197 FormatMessage() etc here. Call g_win32_error_message() instead
198 which already does all that. Besides, the code was broken as it
199 called the default "A" version of FormatMessage() but still
200 thought it produced a wide string.
202 2008-09-12 Michael Natterer <mitch@imendio.com>
204 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
205 in the documentation.
207 2008-09-08 Christian Neumair <cneumair@gnome.org>
209 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
210 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
211 Use non-blocking pipe for mount helper I/O. Fixes #550647.
213 2008-09-06 Matthias Clasen <mclasen@redhat.com>
215 Bug 551149 – xdgmime mem leak
217 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
218 a memory leak. Patch by Christian Persch
220 2008-09-04 Tor Lillqvist <tml@novell.com>
222 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
225 2008-09-02 Matthias Clasen <mclasen@redhat.com>
227 * === Released 2.18.0 ===
229 2008-09-02 Michael Natterer <mitch@imendio.com>
231 * *.h: big header formatting cleanup: indentation, vtable
232 formatting, consistent spacing in (* vfunc), trailing whitespace
233 removal. Formatting should be pretty consistent in all GIO headers
236 2008-09-02 Matthias Clasen <mclasen@redhat.com>
238 * gmount.h: Document guess_content_type sync vfunc.
240 2008-09-02 Michael Natterer <mitch@imendio.com>
242 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
243 fix parent_class member to be GFilterOutputStreamClass (not
244 GOutputStreamClass). Drop three pointers of padding, which is
245 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
246 so the class struct size stays the same.
248 2008-09-02 Matthias Clasen <mclasen@redhat.com>
250 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
252 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
253 nonexisting return values. Pointed out by Cosimo Cecchi.
255 2008-08-23 Tor Lillqvist <tml@novell.com>
257 Bug 548988 - g_file_replace fails on Windows when the target file
260 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
261 Windows, close the file before potentially renaming it (in case we
262 have been writing to a file with a temporary name).
264 (g_local_file_output_stream_close, handle_overwrite_open): Use
265 GLocalFileStat instead of plain struct stat, for passing to
266 _g_local_file_info_create_etag(). Thus also use _fstati64()
267 instead of plain fstat() on Windows.
269 2008-08-18 Matthias Clasen <mclasen@redhat.com>
271 * === Released 2.17.7 ===
273 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
275 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
278 2008-08-13 Tor Lillqvist <tml@novell.com>
280 * win32/gwinhttpvfs.c
281 * win32/gwinhttpvfs.h
282 * win32/gwinhttpfile.c
283 * win32/gwinhttpfileinputstream.c
284 * win32/gwinhttpfileoutputstream.c: Refactor some common code
285 snippets into helper functions. Check HTTP response status
286 codes. Implement g_winhttp_file_query_info(), looking at
287 Content-Length, Content-Type and Last-Modified.
289 * win32/winhttp.h: Add some symbolic constants that are not
290 publicly documented. Just a handful, so it should be OK to use
291 information from the Windows SDK's headers.
293 2008-08-13 Tor Lillqvist <tml@novell.com>
295 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
298 * win32/gwin32directorymonitor.c
299 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
301 2008-08-13 Matthias Clasen <mclasen@redhat.com>
304 * goutputstream.c: Add intro docs.
306 2008-08-13 Tor Lillqvist <tml@novell.com>
308 * win32/gwinhttpfileoutputstream.c
309 (g_winhttp_file_output_stream_write): Don't write the
310 Content-Length header ourselves, WinHttpSendRequest() takes care
311 of that when the dwTotalLength parameter is non-zero. Increment
312 offset by the number of actual bytes sent, although I wonder if
313 such a scenario is possible where less than requested would be
314 sent and accepted by the server without errors.
316 2008-08-13 Tor Lillqvist <tml@novell.com>
318 * win32/gwinhttpvfs.c
319 * win32/gwinhttpvfs.h
320 * win32/gwinhttpfile.c
321 * win32/gwinhttpfile.h
322 * win32/gwinhttpfileinputstream.c
323 * win32/gwinhttpfileinputstream.h
324 * win32/gwinhttpfileoutputstream.c
325 * win32/gwinhttpfileoutputstream.h: New files implementing
326 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
327 Windows. The implementation uses the WinHttp API. Both reading and
328 writing are supported, i.e. GET and PUT requests. When writing,
329 each write call is done using a separate PUT request with a
330 Content-Range header. Requests for file URIs and plain pathnames
331 are forwarded to GLocalVfs.
333 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
334 WINE. Used as there is no <winhttp.h> bundled with mingw, and
335 requiring people to download the Windows SDK just for this one
336 header is not reasonable.
338 * win32/Makefile.am: Add above files.
340 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
341 the plumbing for the above.
343 2008-08-11 Sven Neumann <sven@gimp.org>
345 * gfilenamecompleter.c
346 * glocaldirectorymonitor.c
348 * gunionvolumemonitor.c
352 * gunixvolumemonitor.c
355 * gwin32volumemonitor.c: use canonical signal names.
357 2008-08-11 Tor Lillqvist <tml@novell.com>
359 * Makefile.am: Put a list of the platform-dependent .la files in
360 the subdirectories in the platform_deps Make variable, and make
361 libgio-2.0.la depend on that, so that it gets relinked if one of
362 the dependent libraries has changed.
364 2008-08-11 Tor Lillqvist <tml@novell.com>
366 * Makefile.am (platform_libadd): Remove -lwininet which had been
367 added by mistake. We will probably eventually be using WinHTTP,
368 not the older WinInet anyway. (Actually I am working on it.)
370 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
372 Bug 547080 – g_file_copy leaks expected errors
374 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
375 before trying the next fallback routine.
377 2008-08-09 Loïc Minier <lool@dooz.org>
379 Bug 535124 – umask 002 not being applied for new directories, new
380 files get the correct umask
382 * gfile.c (g_file_make_directory)
383 (g_file_make_directory_with_parents): Document ownership and
384 permissions of newly created directories as being the default
387 2008-08-08 Loïc Minier <lool@dooz.org>
389 Bug 535124 – umask 002 not being applied for new directories, new
390 files get the correct umask
392 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
395 2008-08-08 Tor Lillqvist <tml@novell.com>
397 * gwin32mount.c: Remove unused code. Whitespace cleanup.
399 * gwin32volumemonitor.c (get_connected_drives): Put questionable
400 code that didn't actually do anything inside #if 0, and add a
401 comment wondering what the code was supposed to do. This also gets
402 rid of a leftover debugging printout.
404 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
406 * gfileicon.c (g_file_icon_get_property)
407 (g_file_icon_set_property): New functions.
408 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
410 (g_file_icon_new): Use the property (bug #546132).
412 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
414 * gthemedicon.c (g_themed_icon_get_property): Also handle
415 `PROP_USE_DEFAULT_FALLBACKS'.
416 (g_themed_icon_class_init): Make
417 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
419 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
421 Bug 546371 – Improve docs re g_file_monitor
423 * gfilemonitor.c: Mention g_file_monitor() in the docs.
425 2008-08-04 Matthias Clasen <mclasen@redhat.com>
427 * === Released 2.17.6 ===
429 2008-08-04 Matthias Clasen <mclasen@redhat.com>
431 * === Released 2.17.5 ===
433 2008-08-04 Matthias Clasen <mclasen@redhat.com>
435 Bug 546017 – Don't copy attributes when copying a symlink
437 * gfile.c (g_file_copy_attributes): Specify
438 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
439 g_file_set_attributes_from_info. Patch by Christian Kellner
441 2008-08-04 Matthias Clasen <mclasen@redhat.com>
443 * gemblemedicon.[hc]:
445 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
446 a bit more extensible. Work by Clemens Buss.
448 * gioenums.h: Add GEmblemOrigin.
451 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
453 Bug 546079 – leak in xdgmime
455 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
457 2008-08-03 Tor Lillqvist <tml@novell.com>
459 * win32/gwin32directorymonitor.h
460 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
463 2008-08-03 Tor Lillqvist <tml@novell.com>
465 * win32/gwin32directorymonitor.c
466 (g_win32_directory_monitor_callback): Make prototype match
467 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
468 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
471 (g_win32_directory_monitor_constructor):
472 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
473 names in the GLib API on Windows, so convert to UTF-16 and open
476 2008-08-03 Tor Lillqvist <tml@novell.com>
478 Bug 541036 - Gnumeric crashes when trying to open Desktop or
479 user's folder under Windows
481 * win32/gwin32directorymonitor.c
482 (g_win32_directory_monitor_constructor): Ignore error from
483 CreateFile() when opening directory. Instead of asserting, just
484 store INVALID_HANDLE_VALUE then in
485 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
486 ReadDirectoryChangesW().
487 (g_win32_directory_monitor_cancel): Don't attempt to close
488 directory handle if it is INVALID_HANDLE_VALUE.
490 2008-08-01 Matthias Clasen <mclasen@redhat.com>
492 * gdesktopappinfo.c: Remove debug spew
494 2008-08-01 Hans Breuer <hans@breuer.org>
496 * makefile.msc : add gemblembedicon
498 2008-07-30 Matthias Clasen <mclasen@redhat.com>
500 Bug 545457 – gdmsetup crashed with SIGSEGV in
501 g_unix_mount_guess_should_display()
503 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
504 crash if no mount is found.
506 2008-07-28 Matthias Clasen <mclasen@redhat.com>
508 Bug 545203 – gfile.c: argument is different type.
510 * gfile.c (open_read_async_thread): Pass a GError **
511 to g_file_set_error_literal.
512 Reported by Kazuki Iwamoto
514 2008-07-28 Matthias Clasen <mclasen@redhat.com>
516 Bug 545157 – wrong/no list of "open with" applications for .cc and
519 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
520 Collect all ancestors, not just direct parents. Pointed
521 out by Bastien Nocera
523 2008-07-28 Matthias Clasen <mclasen@redhat.com>
525 * Makefile.am: Install gemblemedicon.h
527 2008-07-28 Matthias Clasen <mclasen@redhat.com>
529 * gemblemedicon.[hc]: Add a GIcon implementation that can
530 add an emblem to another icon.
537 * gfileicon.c: Small documentation additions.
539 2008-07-28 Tor Lillqvist <tml@novell.com>
541 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
544 2008-07-27 Tor Lillqvist <tml@novell.com>
546 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
548 2008-07-24 David Zeuthen <davidz@redhat.com>
552 Also export a g_mount_guess_content_type_sync() function.
554 2008-07-23 Matthias Clasen <mclasen@redhat.com>
556 529694 – SELinux context setting support
558 * gfileinfo.c: Support setting selinux attributes.
559 Patch by Tomas Bzatek
561 2008-07-22 Priit Laes <plaes@plaes.org>
563 Bug 544140 - fam-helper 64-bit issue?
565 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
567 2008-07-21 Matthias Clasen <mclasen@redhat.com>
569 * === Released 2.17.4 ===
571 2008-07-20 Matthias Clasen <mclasen@redhat.com>
573 * gvolumemonitor.[hc]:
578 * gmount.c: Documentation fixes
580 2008-07-19 Matthias Clasen <mclasen@redhat.com>
582 543504 – crash in Epiphany Web Browser: Opening local file
593 * gvolume.c: Register types thread-safely.
594 Patch by Christian Persch
596 2008-07-18 Matthias Clasen <mclasen@redhat.com>
598 * gcontenttype.c: Remove debug spew
600 2008-07-18 Matthias Clasen <mclasen@redhat.com>
602 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
605 * fen/fen-kernel.c: Remove a warning that was causing
606 crashes. Reported by Lin Ma.
608 2008-07-18 Matthias Clasen <mclasen@redhat.com>
610 Bug 543040 – async reading on dummy file will crash on
613 * gfile.c (open_read_async_thread): Cope with read_fn being
614 NULL. Reported by Lin Ma.
616 2008-07-18 Matthias Clasen <mclasen@redhat.com>
619 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
621 2008-07-16 Matthias Clasen <mclasen@redhat.com>
625 * giomodule.c: Rename a chapter id to avoid filename conflict.
627 2008-07-16 Matthias Clasen <mclasen@redhat.com>
629 Bug 540616 – mem leak in filechooser button
631 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
632 the mount entry. Reported by Chrisitan Persch
634 2008-07-16 Matthias Clasen <mclasen@redhat.com>
636 * gfile.c: Small documentation fixes.
638 2008-07-15 Matthias Clasen <mclasen@redhat.com>
640 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
642 2008-07-08 Matthias Clasen <mclasen@redhat.com>
647 * gmount.c: Documentation improvements.
649 2008-07-08 Matthias Clasen <mclasen@redhat.com>
652 * gmount.[hc]: Add g_mount_guess_content_type().
654 2008-07-06 David Zeuthen <davidz@redhat.com>
657 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
658 is needed for easily handling adoption of foreign volumes by
659 out-of-process volume monitors (#541793)
661 2008-07-06 David Zeuthen <davidz@redhat.com>
663 * gvolumemonitor.[ch]:
664 * gunionvolumemonitor.c: Export the eject-button signal on the
665 volume monitor class (#541794).
667 2008-07-06 Matthias Clasen <mclasen@redhat.com>
669 * gappinfo.c: More doc tweaks
671 2008-07-05 Matthias Clasen <mclasen@redhat.com>
673 * gappinfo.c: Clarify some docs
675 2008-07-03 Matthias Clasen <mclasen@redhat.com>
677 * gdesktopappinfo.c: Fix a stupid mistake.
679 2008-07-02 Matthias Clasen <mclasen@redhat.com>
681 * === Released 2.17.3 ===
683 2008-07-02 Matthias Clasen <mclasen@redhat.com>
685 * gfilemonitor.c: Fix the build.
687 2008-07-02 Matthias Clasen <mclasen@redhat.com>
689 Bug 536160 – Add g_file_monitor()
692 * gfile.[hc]: Add g_file_monitor which can return either
693 a file or a directory monitor. Proposed by Behdad Esfahbod
695 2008-07-02 Matthias Clasen <mclasen@redhat.com>
697 536733 – gio build failure on Irix
699 * glocalfile.c: Use a configure check for structfs.f_bavail.
701 2008-07-02 Matthias Clasen <mclasen@redhat.com>
703 Bug 534639 – add g_desktop_app_info_new_from_keyfile
706 * gdesktopappinfo.[hc]: Add a function to create a
707 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
709 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
711 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
713 2008-07-01 Matthias Clasen <mclasen@redhat.com>
715 * gunixmounts.c: Fix a doc typo.
717 2008-07-01 Cody Russell <bratsche@gnome.org>
719 * gio/gcontenttype.c:
720 * gio/gwin32appinfo.c:
721 * gio/gwin32volumemonitor.c:
722 * gio/gwin32mount.c: Fixed some include problems.
724 2008-07-01 Cody Russell <bratsche@gnome.org>
728 Moved all relevant typedefs into these files.
731 Updated wrt added files.
733 Split types into separate file for easier maintainership. (#538564)
735 2008-06-30 Matthias Clasen <mclasen@redhat.com>
737 Bug 540331 – g_file_append_to () documentation: can return NULL
739 * gfile.c (g_file_append_to): Clarify docs.
742 2008-06-30 Matthias Clasen <mclasen@redhat.com>
744 Bug 539090 – g_content_type_from_mime_type() should unalias
746 * gcontentype.c (g_content_type_from_mime_type): Unalias.
747 Patch by Markus Bergman
749 2008-06-30 Matthias Clasen <mclasen@redhat.com>
751 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
754 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
755 on ppc and alpha. Reported by Mart Raudsepp
757 2008-06-29 Matthias Clasen <mclasen@redhat.com>
760 * tests/memory-output-stream.c: Add some tests for
763 2008-06-29 Matthias Clasen <mclasen@redhat.com>
765 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
768 * gmemoryoutputstream.c (array_resize): Handle truncation to
769 zero correctly. Reported by Akira Tagoh
771 2008-06-29 Matthias Clasen <mclasen@redhat.com>
773 * gmemoryoutputstream.c: Trivial doc fixes
775 2008-06-29 Matthias Clasen <mclasen@redhat.com>
777 Bug 540802 – g_list_prepend doesn't concat lists
779 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
780 one list to another. Pointed out by Jan Arne Petersen
782 2008-06-28 Michael Natterer <mitch@imendio.com>
784 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
786 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
788 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
789 to avoid problems with partial icon themes.
791 2008-06-17 Hans Breuer <hans@breuer.org>
793 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
794 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
795 access again on win32, see bug #538127
796 * giomodule.c : ensure GWin32VolumeMonitor is registered
797 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
798 * Makefile.am makefile.msc : updated
800 2008-06-16 Hans Breuer <hans@breuer.org>
802 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
803 and initialization in one step avoids c99ism
805 2008-06-16 Christian Persch <chpe@gnome.org>
808 * gio/gbufferedinputstream.c
810 * gio/gdatainputstream.c
811 * gio/gdesktopappinfo.c
813 * gio/gfileenumerator.c
814 * gio/gfileinputstream.c
815 * gio/gfileoutputstream.c
817 * gio/glocaldirectorymonitor.c
819 * gio/glocalfileenumerator.c
820 * gio/glocalfileinfo.c
821 * gio/glocalfilemonitor.c
822 * gio/glocalfileoutputstream.c
823 * gio/gmemoryinputstream.c
824 * gio/gmemoryoutputstream.c
825 * gio/goutputstream.c
826 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
829 2008-06-16 Tor Lillqvist <tml@novell.com>
831 Bug 538362 - Get Win32 icons back in the file chooser
833 * gcontenttype.c (g_content_type_get_icon): Look up the icon
834 corresponding to a file extension in the Registry. Patch by Hans
836 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
838 2008-06-16 Tor Lillqvist <tml@novell.com>
840 Patches by Hans Breuer:
842 * glocalfile.c (is_xp_or_later): Handle compiling against older
843 SDK headers with missing VerifyVersionInfo(). Conditioned on
844 _MSC_VER, but should probably use some better test.
845 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
846 uninitialised statfs_result variable on Win32.
848 2008-06-16 Michael Natterer <mitch@imendio.com>
850 * *.c: chain up unconditionally in finalize() and dispose(). Also
851 don't dereference these function pointers when calling them since
852 that has no meaning at all.
854 2008-06-16 Ross Burton <ross@burtonini.com>
857 Remove check for dispose implementation as it annoys Emmanuele.
859 2008-06-16 Ross Burton <ross@burtonini.com>
861 Bug 536252 – GFileEnumerator should allow access to the containing
867 Add g_file_enumerator_get_container() and a container writeable
868 construct-only property. Also shuffle around typedefs to make it
871 * glocalfileenumerator.c:
872 * glocalfileenumerator.h:
874 Instead of a string filename take a GFile in the constructor and
875 use it to set the container property.
880 2008-06-16 Matthias Clasen <mclasen@redhat.com>
882 * gfile.c: Make includes more uniform
884 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
886 * tests/live-g-file.c (sample_struct):
887 Use less fancy unicode filenames, so the test doesn't fail
888 on Mac OS X (#531476).
890 2008-06-12 Matthias Clasen <mclasen@redhat.com>
892 * === Released 2.17.2 ===
894 2008-06-12 Matthias Clasen <mclasen@redhat.com>
896 * === Released 2.17.1 ===
898 2008-06-11 A. Walton <awalton@gnome.org>
900 * tests/g-file.c (test_g_file_new_null):
901 Fix broken test case.
903 2008-06-11 Matthias Clasen <mclasen@redhat.com>
905 * pltcheck.sh: We use g_clear_error now.
907 2008-06-11 Matthias Clasen <mclasen@redhat.com>
909 * glocalfile.c (g_local_file_enumerate_children): Revert
910 an unintended change.
912 2008-06-11 Matthias Clasen <mclasen@redhat.com>
914 * gfile.c (g_file_replace_contents): Don't unref before the last use.
916 2008-06-10 Matthias Clasen <mclasen@redhat.com>
918 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
921 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
922 as icon for the desktop directory, also make user-home and
923 user-desktop the preferred icons.
925 2008-06-10 Matthias Clasen <mclasen@redhat.com>
928 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
929 to add a name to the front of the list.
931 2008-06-10 Matthias Clasen <mclasen@redhat.com>
933 Bug 537392 – Additional colon in xattr name
935 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
936 too. Reported by Alessandro Morandi
938 2008-06-10 Matthias Clasen <mclasen@redhat.com>
940 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
943 * glocalfile.c (get_fs_type): Add afs and autofs.
944 Patch by Danny Baumann.
946 2008-06-10 Matthias Clasen <mclasen@redhat.com>
948 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
950 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
951 is no parent. (Owen Taylor, patch by Christian Neumair)
953 2008-06-10 Paolo Borelli <pborelli@katamail.com>
955 * gfile.c (g_file_replace_contents): do not leak the output stream.
957 2008-06-10 Michael Natterer <mitch@imendio.com>
959 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
960 uninitialized memory as array index.
962 2008-06-10 Tor Lillqvist <tml@novell.com>
964 * gcontenttype.c (g_content_type_can_be_executable)
965 (g_content_type_get_icon) [Win32]: Add TODO comments.
967 2008-06-09 Matthias Clasen <mclasen@redhat.com>
969 * xdgmime/Makefile.am: Fix the build
971 2008-06-09 Matthias Clasen <mclasen@redhat.com>
973 * gcontenttype.c (g_content_type_get_icon): Use icons specified
974 in the shared mime database, if available.
976 * xdgmime/*: Sync with upstream. This brings support for
977 glob weights, generic icons, and changes the cache format to
980 2008-05-28 Michael Natterer <mitch@imendio.com>
982 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
983 the global CPPFLAGS now.
985 * tests/data-input-stream.c
986 * tests/data-output-stream.c
987 * tests/g-file-info.c
989 * tests/live-g-file.c
990 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
992 2008-05-27 Matthias Clasen <mclasen@redhat.com>
994 * === Released 2.17.0 ===
996 * tests/live-g-file.c: Clean up after the tests, so make distcheck
997 doesn't complain about leftover files.
999 2008-05-27 simon.zheng <simon.zheng@sun.com>
1001 * glocalfile.c: (g_local_file_query_filesystem_info):
1002 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1004 2008-05-26 Michael Natterer <mitch@imendio.com>
1006 * gmemoryoutputstream.h: declare
1007 g_memory_output_stream_get_data_size().
1009 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1011 * tests/*: Make tests work
1013 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1015 * gio.symbols: Add g_memory_output_stream_get_data_size.
1017 2008-05-25 Ross Burton <ross@burtonini.com>
1020 Fix typo in error message (#534764).
1022 2008-05-25 Ross Burton <ross@burtonini.com>
1025 Fix circular dependency loop for gioenumtypes.h (#534759).
1027 2008-05-19 Hans Breuer <hans@breuer.org>
1029 * Makefile.am : EXTRA_DIST += makefile.msc
1031 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1034 * gcontenttype.c: (g_content_type_from_mime_type):
1035 New function to create a content type from a mime type. (#527175,
1038 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1040 Bug 532965 – Should not return filesystem::free for certain file systems
1042 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1043 free space for ncpfs.
1045 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1047 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1049 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1050 st_dev might be zero.
1052 2008-05-16 Tor Lillqvist <tml@novell.com>
1054 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1055 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1057 2008-05-13 Bastien Nocera <hadess@hadess.net>
1059 * gfile.c (has_valid_scheme): A URI scheme must start with a
1060 letter, even if later more characters are allowed (#532852)
1062 2008-05-05 Michael Natterer <mitch@imendio.com>
1064 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1065 code from being checked in that breaks the build of applications
1066 which use G_DISABLE_SINGLE_INCLUDES.
1068 * makegioalias.pl: make the alias file include "glib.h" instead of
1071 * gio.symbols: whitespace change to force regeneration of the
1072 alias file after above script change.
1074 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1076 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1078 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1080 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1082 2008-04-28 David Zeuthen <davidz@redhat.com>
1084 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1085 displaying mounts in a subdirectory not accessible to the
1088 2008-04-22 Michael Natterer <mitch@imendio.com>
1090 * Makefile.am: fix library versioning (it was 0.0.0).
1092 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1094 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1095 Default disable all loggings.
1096 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1097 (port_fetch_event_cb): Fixed two macro nits.
1099 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1101 * xdgmime/xdgmime.c: Rework the timestamp checking code
1102 to protect against duplicate directories in XDG_DATA_DIRS.
1103 Fixes fd.o bug 12513, reported by Joe Shaw.
1105 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1107 Partically revert the last commit after realizing that
1108 xdg_mime_media_type_equal doesn't have to init at all.
1110 * xdgmime/xdgmime.h:
1111 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1113 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1115 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1117 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1118 reported by Joe Shaw and Federico Mena Quintero.
1120 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1121 (xdg_mime_media_type_equal): Turn into a wrapper around the
1124 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1125 functions throughout.
1127 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1129 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1130 tolerate an empty TryExec= line without failing; nautilus used
1131 to create launchers with these in previous versions. Fixes #528433
1133 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1135 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1136 after name. Fixes #527132.
1138 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1140 * gfile.c: (g_file_replace):
1143 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1145 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1147 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1148 by Christian Kellner.
1150 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1152 * gunixmounts.c: (g_unix_mount_guess_should_display):
1153 Don't list the user directory as a mount, fix potential issue
1154 when other users have a similar naming and don't special case the
1155 gvfs mounts there since that's not required (#525866)
1157 2008-03-31 Alexander Larsson <alexl@redhat.com>
1159 * glocalfile.c (get_parent):
1162 2008-03-31 A. Walton <awalton@svn.gnome.org>
1164 * gfile.c (g_file_query_file_type):
1165 Always return a GFileType enum value (#520715).
1167 2008-03-31 Alexander Larsson <alexl@redhat.com>
1169 * glocalfileenumerator.c:
1170 Read readdir() info in chunks (of 1000) and sort
1171 the chunks by inode before stat:ing.
1172 This is a 20% performance increase in testing
1173 gvfs-ls on /usr/bin with cold cache.
1175 2008-03-31 Alexander Larsson <alexl@redhat.com>
1177 * gmemoryoutputstream.c:
1178 Clarify docs for g_memory_output_stream_get_size.
1179 Add g_memory_output_stream_get_data_size.
1181 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1185 * gfile.h: Add g_file_query_file_type convenience function
1186 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1188 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1190 * gfileenumerator.c:
1191 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1193 2008-03-28 A. Walton <awalton@svn.gnome.org>
1195 * giomodule.c (_g_io_modules_ensure_loaded):
1196 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1199 2008-03-28 Alexander Larsson <alexl@redhat.com>
1202 (copy_stream_with_progress):
1205 2008-03-28 Alexander Larsson <alexl@redhat.com>
1208 (copy_stream_with_progress):
1209 (file_copy_fallback):
1210 Fallback to g_file_query_info for source size
1211 if g_file_input_stream_query_info fails. (#524579)
1213 2008-03-28 Alexander Larsson <alexl@redhat.com>
1215 * glocalfile.c (g_local_file_move):
1216 Reuse old string instead of adding new one.
1218 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1220 * fen/*.[hc]: still copyright issue. I hate copyright.
1222 2008-03-27 Alexander Larsson <alexl@redhat.com>
1224 * glocalfile.c (g_local_file_move):
1225 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1226 file over directory. This is according to the docs and what the move via
1227 copy+remove fallback does.
1229 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1231 * fen/*.[hc]: Updated copyright.
1233 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1235 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1237 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1239 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1240 not emit attribute changed events when optimizing changed events.
1241 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1244 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1246 * gmountoperation.[hc]: Small documentation additions
1248 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1250 * gunixmounts.c: (guess_mount_type):
1251 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1253 2008-03-19 Alexander Larsson <alexl@redhat.com>
1256 (copy_stream_with_progress):
1257 Bump block side for copy to 64k to minimize
1258 overhead for low latency links. (#523015)
1260 2008-03-16 Tor Lillqvist <tml@novell.com>
1262 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1263 depend on gio.def on Windows.
1265 2008-03-12 David Zeuthen <davidz@redhat.com>
1269 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1271 2008-03-14 Alexander Larsson <alexl@redhat.com>
1275 Avoid redudant tests (#521851)
1276 Patch from Josselin Mouette
1278 2008-03-14 Alexander Larsson <alexl@redhat.com>
1281 (g_file_monitor_is_cancelled):
1282 Fix C89 issue (#521672)
1283 Patch from Jens Granseuer
1285 2008-03-14 Alexander Larsson <alexl@redhat.com>
1287 * fam/fam-helper.[ch]:
1289 Shut down fam (including removing fam GSource) when
1290 module is unloaded (#521513)
1291 Patch from Joe Marcus Clarke
1293 2008-03-14 Alexander Larsson <alexl@redhat.com>
1296 (_g_io_modules_ensure_loaded):
1299 2008-03-14 Alexander Larsson <alexl@redhat.com>
1302 (g_local_file_query_filesystem_info):
1303 Use right define name for f_fstypename member check
1305 2008-03-14 Alexander Larsson <alexl@redhat.com>
1308 * fen/Makefile.am: Added.
1309 * fen/fen-data.[ch]: Added.
1310 * fen/fen-dump.[ch]: Added.
1311 * fen/fen-helper.[ch]: Added.
1312 * fen/fen-kernel.[ch]: Added.
1313 * fen/fen-missing.[ch]: Added.
1314 * fen/fen-node.[ch]: Added.
1315 * fen/fen-sub.[ch]: Added.
1316 * fen/gfendirectorymonitor.[ch]: Added.
1317 * fen/gfenfilemonitor.[ch]: Added.
1319 Added Solaris FEN file notification backend.
1320 Patch from Lin Ma <Lin.Ma@Sun.COM>
1322 2008-03-13 Tor Lillqvist <tml@novell.com>
1324 * Makefile.am: Actually use the gio.def file when linking the
1325 library on Windows. Produce .lib library for Microsoft's toolchain
1326 when possible. Install the .lib and .def file like for the other
1329 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1331 * tests/live-g-file.c:
1332 Include live-g-file in standard set of tests, making a temporary
1333 directory in source structure.
1335 Clean target directory before the tests (write mode only)
1337 2008-03-12 Tor Lillqvist <tml@novell.com>
1339 Bug 517419 - gio win32 directory monitor
1340 Implementation by Vlad Grecescu.
1343 * win32/gwin32directorymonitor.h
1344 * win32/gwin32directorymonitor.c: New files.
1346 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1348 * Makefile.am: Add the win32 subdirectory.
1350 2008-03-12 Tor Lillqvist <tml@novell.com>
1352 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1353 normal struct stat on Unix but struct _stati64 on Windows to have
1354 access to 64-bit file size information. Use that instead of struct
1355 stat in the functions declared here in this private header.
1357 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1358 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1359 warnings about unused functions and variables. Don't set
1360 meaningless attributes like inode numbers on Windows.
1362 2008-03-12 Benjamin Otte <otte@gnome.org>
1365 trim whitespace so gtk-doc groks the function name
1367 2008-03-12 Tor Lillqvist <tml@novell.com>
1369 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1370 returning FALSE, on Win32.
1372 2008-03-11 Alexander Larsson <alexl@redhat.com>
1375 * glocalfileinfo.[ch]:
1376 Correctly implement can_trash by actually
1377 looking for a trash dir, not just assuming
1380 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1382 * === Released 2.16.1 ===
1384 2008-03-11 Alexander Larsson <alexl@redhat.com>
1387 Fix crashes in new constructor and properties code
1389 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1391 * gfile.c: Minor spelling correction in documentation:
1392 existance -> existence.
1394 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1396 * === Released 2.16.0 ===
1398 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1400 * gio.symbols: Remove g_file_contains_file here, too.
1402 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1404 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1405 Samuel Cormier-Iijima)
1407 2008-03-08 Tor Lillqvist <tml@novell.com>
1409 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1412 2008-03-07 Alexander Larsson <alexl@redhat.com>
1415 (g_local_file_query_filesystem_info):
1416 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1417 Patch from Jasper Lievisse Adriaanse
1419 2008-03-06 Tor Lillqvist <tml@novell.com>
1421 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1422 comments for the *_USEC attributes.
1424 2008-03-06 Alexander Larsson <alexl@redhat.com>
1426 * gfile.c (g_file_query_exists):
1427 Add g_return_val_if_fail check (#520700)
1429 2008-03-06 Alexander Larsson <alexl@redhat.com>
1431 * gdesktopappinfo.c:
1434 * gunionvolumemonitor.c:
1437 * tests/live-g-file.c:
1438 * xdgmime/xdgmimecache.c:
1439 Fix sparse warnings (#519489)
1441 2008-03-05 Alexander Larsson <alexl@redhat.com>
1444 Make cancellation threadsafe (i.e.
1445 guarantee its only done once, and always
1448 * glocaldirectorymonitor.c:
1449 Make sure we the monitor lives while the
1450 mounts_changed callback is being called (#520484)
1452 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1454 * gbufferedinputstream.c: Fix typo in parameter
1457 2008-03-04 Alexander Larsson <alexl@redhat.com>
1460 Remove deprecated symbols we kept for one release.
1462 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1465 * goutputstream.c: Tiny documentation corrections.
1467 2008-03-03 Alexander Larsson <alexl@redhat.com>
1469 * gunionvolumemonitor.c:
1471 Fix the adopt_orphan_mount vfunc to take a
1472 volume_monitor reference in an ABI compat way.
1473 This change is not API compat, but the added
1474 arg is not used in the only user of this vfunc, so
1475 all we get is a harmless warning in gvfs (#520169)
1477 2008-03-01 Benjamin Otte <otte@gnome.org>
1480 clarify docs for g_file_delete().
1482 2008-02-29 Alexander Larsson <alexl@redhat.com>
1486 Make sure empty files get text/plain type (#518720)
1488 2008-02-27 Alexander Larsson <alexl@redhat.com>
1494 (g_unix_volume_mount):
1495 Add missing GMountMountFlags argument
1497 2008-02-26 Alexander Larsson <alexl@redhat.com>
1500 (g_local_file_delete):
1501 Handle filesystems (like ntfs-3g) that return EEXIST instead
1502 of ENOTEMPTY (#518816)
1504 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1506 * === Released 2.15.6 ===
1508 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1510 * gfile.c (g_file_find_enclosing_mount):
1511 * ginputstream.c (g_input_stream_set_pending):
1512 * glocalfile.c (g_local_file_find_enclosing_mount):
1513 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1514 * goutputstream.c (g_output_stream_set_pending):
1516 Fixup translator comments (#518578).
1518 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1520 * gfile.c (g_file_find_enclosing_mount):
1522 * glocalfile.c (g_local_file_find_enclosing_mount):
1525 Fix a few typos in translator comments and documentation.
1527 2008-02-25 Alexander Larsson <alexl@redhat.com>
1534 Add translator comments (#518578)
1536 2008-02-25 Alexander Larsson <alexl@redhat.com>
1539 Reintroduce g_file_contains_file, keep around for one
1540 unstable release cycle to avoid crashing to many apps.
1541 Make sure to delete after release.
1543 2008-02-25 Alexander Larsson <alexl@redhat.com>
1546 Remove deprecated g_file_contains_file.
1548 2008-02-25 Alexander Larsson <alexl@redhat.com>
1551 Emit actual change signals in an idle handler.
1552 This avoids reentrance and locking problems in
1553 the file notification backends.
1555 2008-02-25 Alexander Larsson <alexl@redhat.com>
1558 (g_unix_mount_guess_should_display):
1559 Remove type guessing, instead just display
1560 mounts in /media and in ~/.
1562 2008-02-25 Alexander Larsson <alexl@redhat.com>
1565 Make new strings reuse old ones.
1567 2008-02-25 Alexander Larsson <alexl@redhat.com>
1570 Implement trashing and filesystem::readonly for win32 (#517235)
1571 Patch from Yevgen Muntyan
1573 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1575 * gfileinfo.h: Documentation fixes.
1577 2008-02-22 Alexander Larsson <alexl@redhat.com>
1579 * gcontenttype.c (g_content_type_get_icon):
1580 Look at old-style gnome mime icon names too, as many
1581 have not moved to the new style.
1583 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1585 * *.c: Correct the @include in for section docs.
1587 2008-02-21 David Zeuthen <davidz@redhat.com>
1589 * glocalfileinfo.c: (_g_local_file_info_get):
1591 (g_content_type_get_icon): Implement this function by
1592 moving bits from glocalfileinfo.c
1593 (g_content_type_get_description): Unalias before getting
1594 description (#517687)
1596 * gfile.c: (g_file_class_init),
1597 (g_file_query_filesystem_info_async),
1598 (g_file_query_filesystem_info_finish),
1599 (query_filesystem_info_data_free),
1600 (query_filesystem_info_async_thread),
1601 (g_file_real_query_filesystem_info_async),
1602 (g_file_real_query_filesystem_info_finish):
1603 * gfile.h: Implement async version of
1604 g_file_query_filesystem_info()
1606 * gfileinfo.h: Add new attributes for filesystem::use-preview
1608 * gio.symbols: Update
1610 * gthemedicon.c: (g_themed_icon_append_name):
1611 * gthemedicon.h: Add new new convenience function.
1613 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1614 (get_mounts), (get_volumes), (get_connected_drives),
1615 (get_volume_for_uuid), (get_mount_for_uuid),
1616 (g_union_volume_monitor_init), (populate_union_monitor),
1617 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1618 (g_volume_monitor_adopt_orphan_mount):
1620 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1621 monitor implementations to call into the main volume monitor. Also
1622 separate object initialization and volume monitor initialization
1623 such that non-native volume monitors can properly adopt their
1626 2008-02-21 Alexander Larsson <alexl@redhat.com>
1631 2008-02-21 Alexander Larsson <alexl@redhat.com>
1634 Add more documentation about how GFiles work (from #517086)
1636 2008-02-21 Alexander Larsson <alexl@redhat.com>
1640 Add new g_file_has_prefix that does the same as g_file_contains_file.
1641 Deprecate g_file_contains_file and add a macro that converts
1642 it to g_file_has_prefix.
1643 The reason for this change is that the contains_file() name seems to
1644 imply that this does more work than what it does, but its really only
1645 a name match (from #517086)
1650 Update to match the above change.
1652 2008-02-20 Benjamin Otte <otte@gnome.org>
1654 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1655 (g_file_eject_mountable):
1656 even more cases of not returning in error path
1658 2008-02-20 Benjamin Otte <otte@gnome.org>
1660 * gfile.c: (g_file_mount_mountable):
1661 return from function in error path.
1663 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1666 Remove trailing coma in GMountMountFlags struct
1668 2008-02-18 Alexander Larsson <alexl@redhat.com>
1672 * glocalfileoutputstream.c:
1673 Use g_unlink/g_rename instead of unlink/rename;
1674 do not pass raw filenames to g_set_error. (#517239)
1675 Patch from Yevgen Muntyan.
1677 2008-02-18 Alexander Larsson <alexl@redhat.com>
1680 * glocalfileoutputstream.c:
1681 Open files with O_BINARY on windows. (#517140)
1683 2008-02-14 Alexander Larsson <alexl@redhat.com>
1685 * glocalfileoutputstream.c:
1686 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1688 2008-02-14 Alexander Larsson <alexl@redhat.com>
1691 Copy permissions with file on copy (#514084)
1692 This is what cp does and makes sure e.g. the
1693 exec permissions are kept.
1694 Its kinda weird in that it keeps the permission bits
1695 the same while the uid and gid are different. However
1696 the new uid is the user so its not a security issue,
1697 and I've heard no complaints about cp on this issue.
1699 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1701 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1703 2008-02-13 Alexander Larsson <alexl@redhat.com>
1705 * inotify/inotify-path.c:
1706 Define IN_ONLYDIR if not in header (#515346)
1708 2008-02-12 Alexander Larsson <alexl@redhat.com>
1710 * tests/live-g-file.c:
1713 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1715 * === Released 2.15.5 ===
1717 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1719 * gio.symbols: Add g_mount_mount_flags_get_type.
1721 2008-02-11 Alexander Larsson <alexl@redhat.com>
1724 (g_file_info_set_attribute_mask):
1725 (g_file_attribute_matcher_matches_id):
1726 Correctly handle NULL GAttributeMatcher meaning
1727 matches nothing. (Fixes #513492)
1729 2008-02-11 Alexander Larsson <alexl@redhat.com>
1734 Added GMountMountFlags enum and added a flags
1735 argument to all mount calls.
1737 This is an API/ABI change for future extensibility,
1738 as I think we will need at least an
1739 inhibit-autorun flag (the panel needs this).
1740 There are no flags defined yet though.
1742 2008-02-11 Alexander Larsson <alexl@redhat.com>
1745 Added new standard::description attribute.
1746 Requested by Vincent, and useful for both
1749 2008-02-11 Alexander Larsson <alexl@redhat.com>
1751 * gdesktopappinfo.c:
1754 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1756 * *.c: Documentation additions
1758 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1760 * gappinfo.h: Formatting cleanup
1761 * gappinfo.c: Fix up docs.
1763 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1765 * gunixmounts.c: Consistently use getmntent_r() and fall
1766 back to getmntent(). (#515492)
1768 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1770 * gbufferedinputstream.c:
1772 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1774 * tests/data-input-stream.c:
1775 * tests/data-output-stream.c: Portability fixes.
1777 2008-02-08 Alexander Larsson <alexl@redhat.com>
1782 Add g_volume_should_automount.
1785 2008-02-07 Tor Lillqvist <tml@novell.com>
1787 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1788 Win32, too Unix-specific.
1790 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1792 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1793 a local plt if the compiler doesn't support what we want. Bug #514702
1795 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1797 reviewed by: <delete if not using a buddy>
1800 * gunixinputstream.c:
1801 * gunixoutputstream.c:
1803 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1805 * tests/Makefile.am:
1806 * tests/live-g-file.c:
1807 * tests/live-g-file.txt:
1808 New GIO testing module working over real data
1810 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1812 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1813 Fallback to rename() if link() is not available
1814 (when no support on target filesystem)
1816 2008-02-06 Michael Natterer <mitch@imendio.com>
1818 * gfileinfo.c (g_file_info_get_icon): replace
1819 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1821 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1823 * gfile.c (g_file_create):
1824 Documentation update of error codes
1826 2008-02-06 Alexander Larsson <alexl@redhat.com>
1828 * gdesktopappinfo.c:
1829 Update to use both mimeapps.list and
1830 defaults.list as discussed on xdg list.
1832 2008-02-06 Benjamin Otte <otte@gnome.org>
1835 * gfilenamecompleter.c:
1836 Fix some typos in the documentation.
1838 2008-02-06 Alexander Larsson <alexl@redhat.com>
1840 * glocalfile.c (g_local_file_trash):
1841 Don't succeed with trash if newly created
1842 trash dir has the wrong owner. (#514696)
1844 2008-02-05 Alexander Larsson <alexl@redhat.com>
1846 * glocalfile.c (g_local_file_move):
1847 Don't spew warnings when destination is not
1850 2008-02-03 Hans Breuer <hans@breuer.org>
1852 * makefile.msc : update
1854 2008-02-01 Michael Natterer <mitch@imendio.com>
1856 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1857 return value of xdg_mime_list_mime_parents() to a variable of the
1860 2008-02-01 Alexander Larsson <alexl@redhat.com>
1862 * gappinfo.c (g_app_info_launch_uris):
1863 Actually call the launch_uris method, not
1866 2008-02-01 Alexander Larsson <alexl@redhat.com>
1868 * gdesktopappinfo.c (g_desktop_app_info_equal):
1869 Ensure appinfos with no id but same pointer value
1872 2008-02-01 Alexander Larsson <alexl@redhat.com>
1874 * gappinfo.c (g_app_info_launch_default_for_uri):
1877 2008-02-01 Alexander Larsson <alexl@redhat.com>
1881 Add g_app_info_launch_default_for_uri utility
1884 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1886 * gdesktopappinfo.c:
1887 Doc fix for g_app_info_get_default_for_uri_scheme ()
1890 2008-01-30 Alexander Larsson <alexl@redhat.com>
1893 Add doc comment about uris vs GFiles to
1896 * gdesktopappinfo.c:
1897 Ensure uris passed to g_app_info_launch_uris()
1898 are not roundtriped through GFile (as that
1899 may be slightly destructive for e.g. mailto: links)
1901 2008-01-30 Alexander Larsson <alexl@redhat.com>
1903 * tests/data-input-stream.c:
1904 * tests/data-output-stream.c:
1905 C89 fixes from Jens Granseuer (#512849)
1907 2008-01-30 Alexander Larsson <alexl@redhat.com>
1910 Fix gamin/fam difference build issue. (#509419)
1912 2008-01-29 Alexander Larsson <alexl@redhat.com>
1915 * gdesktopappinfo.c:
1916 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1918 2008-01-29 Alexander Larsson <alexl@redhat.com>
1920 * gdesktopappinfo.c:
1921 * gdesktopappinfo.h:
1922 giomodule-priv.h include moved to .c file.
1924 2008-01-29 Alexander Larsson <alexl@redhat.com>
1926 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1927 Remove unused prio/name fields.
1929 2008-01-29 Alexander Larsson <alexl@redhat.com>
1931 * gcontenttype.c (looks_like_text):
1932 Don't treat whitespace as control chars.
1934 2008-01-29 Alexander Larsson <alexl@redhat.com>
1936 * gdesktopappinfo.c:
1937 Lazily create the desktop files for appinfos created
1938 by g_app_info_create_from_commandline() when needed
1939 for mime associations. This allows run-time use
1940 of GAppInfo object without creating unnecessary
1943 2008-01-29 Alexander Larsson <alexl@redhat.com>
1946 Added new symbols to gio.symbols
1948 2008-01-29 Alexander Larsson <alexl@redhat.com>
1951 Add g_file_query_default_handler utility to easily look up
1952 the GAppInfo that handles a file.
1954 * gdesktopappinfo.[ch]:
1956 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1959 Remove unused function
1961 2008-01-29 Alexander Larsson <alexl@redhat.com>
1963 * gfileenumerator.c:
1964 Mention need to free returned value in
1965 g_file_enumerator_next_files_finish docs.
1966 Fix leak if g_file_enumerator_next_files_finish()
1969 2008-01-29 Alexander Larsson <alexl@redhat.com>
1972 (_g_unix_content_type_get_parents):
1973 Use list_parents, not get_parents from xdgmime, because
1974 the later doesn't use the cache.
1976 * xdgmime/xdgmimecache.c:
1977 (_xdg_mime_cache_list_mime_parents):
1978 Don't list the same type as parent multiple times.
1980 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1982 * === Released 2.15.4 ===
1984 2008-01-28 Alexander Larsson <alexl@redhat.com>
1987 Register local vfs with prio 0.
1990 Remove old name and prio class members
1992 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1994 * tests/g-file.c: Disable some tests that are failing in
1995 the absence of a http backend.
1997 2008-01-28 Alexander Larsson <alexl@redhat.com>
2001 Add registration hooks for extension points.
2002 Register the gio extension points.
2004 * fam/gfamdirectorymonitor.c:
2005 * fam/gfamfilemonitor.c:
2006 * glocaldirectorymonitor.[ch]:
2007 * glocalfilemonitor.[ch]:
2008 * gnativevolumemonitor.h:
2009 * gunionvolumemonitor.c:
2010 * gunixvolumemonitor.c:
2013 * inotify/ginotifydirectorymonitor.c:
2014 * inotify/ginotifyfilemonitor.c:
2015 Use the extension points registration instead
2016 of g_type_children().
2018 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2021 * gvolume.[hc]: Document new API.
2023 * gfile.c (g_file_copy_async): Fix docs
2025 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2027 * gbufferedinputstream.c:
2029 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2032 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2034 * glocalfile.c: Avoid trivial differences in translatable strings.
2036 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2038 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2039 build with gcc 3.4 (#509419)
2041 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2043 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2044 (#509994, Murray Cumming)
2046 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2048 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2049 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2050 this allows big jobs to be executed in chunks, instead of blocking
2051 the main loop for a long time.
2053 * gsimpleasyncresult.c:
2054 * giofile.c: Adapt callers.
2056 2008-01-25 Alexander Larsson <alexl@redhat.com>
2058 * gdesktopappinfo.c:
2059 Implement changes discussed on xdg list.
2060 Now we can add supported mimetypes by just using defaults.list
2061 We can also remove associations in defaults.list.
2063 2008-01-25 Alexander Larsson <alexl@redhat.com>
2065 * gdesktopappinfo.c:
2066 Don't make local copy of desktop file
2067 for mimetype changes if the file already
2068 supports the new mimetype.
2070 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2074 * gbufferedinputstream.c:
2075 * glocalfile.c: String improvements. (#511966,
2076 Theppitak Karoonboonyanan)
2078 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2080 * gioscheduler.h: Expand docs a bit.
2082 2008-01-24 Alexander Larsson <alexl@redhat.com>
2085 Add g_drive_get_identifier and
2086 g_drive_enumerate_identifiers
2089 Add g_volume_get_identifier and
2090 g_volume_enumerate_identifiers
2096 Implement identifiers for unix backend
2098 2008-01-24 Alexander Larsson <alexl@redhat.com>
2103 Add g_file_copy_async() (#511580)
2104 Based on patch from Carlos Garcia Campos
2106 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2108 * gioscheduler.c: Some documentation additions.
2110 2008-01-22 Alexander Larsson <alexl@redhat.com>
2112 * gdesktopappinfo.c:
2113 (g_desktop_app_info_new):
2114 Don't leak basename.
2116 2008-01-22 Alexander Larsson <alexl@redhat.com>
2118 * gdesktopappinfo.c:
2119 (g_desktop_app_info_new_from_filename):
2122 2008-01-22 Alexander Larsson <alexl@redhat.com>
2124 * glocalfileinfo.c (get_thumbnail_attributes):
2127 2008-01-22 Alexander Larsson <alexl@redhat.com>
2130 (canonicalize_filename):
2131 Canonicalize paths that start with more than
2135 (compare_two_files):
2136 (test_g_file_new_for_path):
2139 2008-01-22 Alexander Larsson <alexl@redhat.com>
2142 Allow UTF-8 in file:// parse names.
2144 * tests/Makefile.am:
2145 * tests/data-input-stream.c:
2146 * tests/data-output-stream.c:
2147 * tests/g-file-info.c:
2149 Added a bunch of tests from Tomas Bzatek
2151 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2153 * === Released 2.15.3 ===
2155 2008-01-21 Alexander Larsson <alexl@redhat.com>
2157 * gfileinputstream.[ch]:
2158 * gfileoutputstream.[ch]:
2160 Remove duplicated GSeekable functions. (#509990)
2161 Just use the g_seekable_xxx() calls instead.
2163 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2166 * gvolumemanager.c: Whitespace cleanups.
2168 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2169 Use the right mode when creating the file.
2171 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2173 * gfileenumerator.c:
2174 * gfileinputstream.c:
2176 * goutputstream.c: Documentation: Fixed minor typos
2177 and added more mentions of specific _finish() functions.
2179 2008-01-21 Alexander Larsson <alexl@redhat.com>
2181 * inotify/Makefile.am:
2182 * inotify/inotify-helper.c:
2183 * inotify/inotify-kernel.c:
2184 * inotify/inotify-path.c:
2185 * inotify/local_inotify.h: Removed.
2186 * inotify/local_inotify_syscalls.h: Removed.
2187 Removed the included copies of the inotify
2188 headers. We now only use the <sys/inotify.h>
2189 header which exists on modern systems.
2190 This fixes problems on ARM and SH5 (#510448)
2191 but is also generally much cleaner and future
2192 safe. For instance, if other OSes add support
2193 for inotify it should "just work".
2195 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2197 * inotify/*.c: Coding style fixes.
2198 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2199 for the 1/4 Hz timer.
2201 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2204 * gfilemonitor.[hc]:
2205 * gmemoryinputstream.c:
2206 * gmemoryoutputstream.c:
2207 * gmountoperation.c:
2208 * gthemedicon.c: Documentation updates
2210 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2212 * gfile.c: documentation: Fixed more minor
2215 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2217 * gmount.c: (g_mount_remount): documentation:
2218 Mention g_mount_remount_finish() instead of
2219 g_mount_unmount_finish().
2221 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2225 * gfile.c: Fixed some minor typos in the
2228 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2230 * gio/gvolumemonitor.c:
2231 (g_volume_monitor_get_connected_drives):
2232 (g_volume_monitor_get_volumes):
2233 (g_volume_monitor_get_mounts): Documentation:
2234 Clarify the ownership of the regurn GLists.
2236 2008-01-17 Alexander Larsson <alexl@redhat.com>
2239 Add the async find_enclosing_mount version
2240 to the header file too.
2242 2008-01-17 Alexander Larsson <alexl@redhat.com>
2245 Add async version of find_enclosing_mount
2246 with default implementation.
2248 2008-01-17 Alexander Larsson <alexl@redhat.com>
2253 Allow calls to implementation of copy and write
2254 even if the type of the file implementations is
2255 different. This can be used to implement native
2256 upload and download calls in a vfs.
2259 (g_local_file_move):
2260 Protect against the case where move is called
2261 with one file not being local.
2263 Make sure we call the progress callback once
2264 in the native move operation so that the caller
2265 knows how many bytes were copied.
2267 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2270 * gdatainputstream.c:
2272 * gfileoutputstream.c:
2277 * gunixmounts.c: Corrected some typos in the documentation:
2278 occured -> occurred.
2279 its -> it's (where appropriate).
2281 2008-01-16 Alexander Larsson <alexl@redhat.com>
2285 Add g_file_query_exists (#508771)
2287 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2292 * gvolume.c: For async functions that have no non-async
2293 version, document that the GAsyncReadyCallback may be NULL.
2296 2008-01-15 Alexander Larsson <alexl@redhat.com>
2298 * gmemoryinputstream.c:
2299 * gmemoryoutputstream.c:
2300 Don't do pointer arithmetic on void * (#508602)
2301 Patch from Kazuki IWAMOTO
2303 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2305 * === Released 2.15.2 ===
2307 2008-01-14 Alexander Larsson <alexl@redhat.com>
2309 * gfile.c (g_file_monitor_file):
2310 Don't set error here, since we fallback to polling monitor.
2312 2008-01-14 Alexander Larsson <alexl@redhat.com>
2315 (g_file_monitor_directory):
2316 (g_file_monitor_file):
2317 Add GError to file monitor calls
2319 * glocaldirectorymonitor.c:
2320 * glocaldirectorymonitor.h:
2322 * glocalfilemonitor.c:
2323 * glocalfilemonitor.h:
2325 Update for above change
2327 2008-01-14 Alexander Larsson <alexl@redhat.com>
2331 Handle root correctly in g_file_get_relative_path (#508719)
2333 2008-01-14 Alexander Larsson <alexl@redhat.com>
2336 Clean up docs and example for GAsyncResult (#508074)
2338 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2340 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2341 and correct some spelling mistakes. Bug #508108.
2343 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2345 * glocalfileinfo.c: Add a comment.
2347 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2349 * gfileinfo.c: GFileInfo description: Mention
2350 how to actually set attributes in a GFile and how to discover
2351 which attributes are settable. Bug #508378.
2353 2008-01-10 A. Walton <awalton@svn.gnome.org>
2355 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2356 (g_app_info_get_default_for_type):
2357 Check for NULL content types.
2359 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2361 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2363 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2365 * gfile.c: *_async() functions: Several small corrections
2366 to the documentation, mostly correcting copy/paste errors
2367 and improving some sentences.
2369 2008-01-09 Dan Winship <danw@gnome.org>
2371 * glocalfile.c (get_unique_filename): x86_64 fix
2373 2008-01-09 Alexander Larsson <alexl@redhat.com>
2378 Add g_unix_mount_guess_should_display and use
2379 for unix volume monitor backend.
2380 This means we more or less show what the
2381 gnome-vfs backend did.
2382 Based on patch from Padraig O'Briain
2384 2008-01-09 Alexander Larsson <alexl@redhat.com>
2388 Add g_themed_icon_new_with_default_fallbacks
2391 Use default fallbacks for icons
2393 2008-01-09 Alexander Larsson <alexl@redhat.com>
2396 * gmountoperation.[ch]:
2397 Change the API a bit so that unhandled methods
2398 get reported via the reply, rather than by
2399 the signal emission return value. This is because
2400 some handlers can't know this immediately without
2401 doing I/O, and this is an async operation that
2404 2008-01-09 Alexander Larsson <alexl@redhat.com>
2407 * fam/gfamdirectorymonitor.c:
2408 * fam/gfamfilemonitor.c:
2409 Fix double free crash (#508224)
2410 Patch from Joe Marcus Clarke
2412 008-01-07 Matthias Clasen <mclasen@redhat.com>
2414 * === Released 2.15.1 ===
2416 2008-01-07 Alexander Larsson <alexl@redhat.com>
2418 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2419 Fix warning (#507835)
2421 2008-01-07 Alexander Larsson <alexl@redhat.com>
2424 Pass --internal to glib-genmarshal
2427 * gmountoperation.c:
2429 Use better types for signal arguments (#507822)
2431 2008-01-07 Alexander Larsson <alexl@redhat.com>
2434 Build test subdir after .
2435 Remove gdirectorymonitor.[ch]
2437 * gdirectorymonitor.[ch]:
2441 Remove GDirectoryMonitor and make
2442 GFileMonitor the baseclass for both file and
2443 directory monitors. Lift the more generic
2444 rate limiting code from GDirectoryMonitor
2448 * fam/gfamdirectorymonitor.[ch]:
2449 * inotify/ginotifydirectorymonitor.[ch]:
2450 * inotify/inotify-helper.c:
2451 * glocaldirectorymonitor.[ch]:
2454 Update for the removed GDirectoryMonitor.
2456 * gmemoryoutputstream.c:
2457 Remove ununsed variable
2459 2008-01-07 Alexander Larsson <alexl@redhat.com>
2461 * gmemoryinputstream.c:
2462 Translate error strings
2465 * gmemoryoutputstream.[ch]:
2466 New implementation that avoids using GByteArray
2467 in implementation and API. (#506377)
2469 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2471 * tests/*: Add a test for memory input streams.
2473 * Makefile.am: Add tests to SUBDIRS.
2475 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2477 * glocalfilemonitor.c:
2478 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2481 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2483 * gdesktopappinfo.c: Fix a docs typo.
2485 * gfileattribute.c: Add information about extended attributes
2486 to the documentation. (#505058)
2488 2008-01-04 Alexander Larsson <alexl@redhat.com>
2491 * gmountoperation.c:
2492 Use the right type (uint) for the ask_password signal.
2494 2008-01-04 Alexander Larsson <alexl@redhat.com>
2499 Add g_app_info_supports_files()
2500 Remove desktop arg from g_app_info_should_show().
2502 * gdesktopappinfo.[ch]:
2503 Implement g_app_info_supports_files() and new should_show()
2504 Add g_desktop_app_info_set_desktop_env() to set the desktop
2505 for should_show(). (This will be set by gtk+ later)
2507 2008-01-04 Alexander Larsson <alexl@redhat.com>
2510 * gmemoryinputstream.[ch]:
2511 Improve API so that you can use multiple chunks
2512 of memory and custom destroy functions. (#506374)
2514 2008-01-03 Alexander Larsson <alexl@redhat.com>
2517 Handle NULL attribute matchers safely, as we return this
2518 for empty attribute matcher strings.
2520 2008-01-03 Alexander Larsson <alexl@redhat.com>
2522 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2523 Add /usr/local to list of internal mountpoints
2525 2008-01-03 Alexander Larsson <alexl@redhat.com>
2528 Check for HAVE_LCHOWN (#505887)
2530 2008-01-03 Alexander Larsson <alexl@redhat.com>
2534 Add define for selinux context attribute.
2535 Fix missing : -> :: namespace separator change
2536 Fix missing _ -> - name change for xattr-sys.
2539 2008-01-03 Alexander Larsson <alexl@redhat.com>
2542 Link to libglib and libgobject directly (#504879)
2543 Patch from Sebastien Bacher
2545 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2547 * gfile.c: Expanded the g_file_new_for_commandline_arg
2548 description a bit, based on the code and the docs of the
2549 other g_file_new_for_* functions.
2551 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2553 * gfilemonitor.h: Fixed typo in docs.
2555 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2557 Updates to GIO documentation. (#506395, Mikael Hermansson)
2559 * gcontenttype.c: Describe memory management for return value of
2560 g_content_types_get_registered(). Missing piece from #505815.
2561 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2562 GVolume, GDrive, GMounts, which hopefully gives the user less
2563 confusions when using this API. Following explainations from
2564 Alexander Larsson on gtk-devel-list.
2566 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2568 * gfileinfo.c: Expand the long description.
2570 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2573 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2574 fix builds with --disable-visibility. (#500273, Christian Persch)
2576 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2578 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2579 in the list of returned app infos.
2581 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2583 * gappinfo.c: Fix a cross-reference
2585 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2587 * gfileinputstream.c:
2588 * gfileoutputstream.c:
2592 * gdesktopappinfo.c:
2594 * gfileinfo.c: Documentation updates.
2596 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2598 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2601 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2603 * gcontenttype.c (g_content_types_get_registered): Don't return
2604 freed memory (#505815, Mikael Hermansson)
2606 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2608 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2609 used to detect statbuf->st_blocks. (#505042)
2611 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2613 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2614 environment handling. (#504829, Cosimo Cecchi)
2616 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2618 * gappinfo.c: Doc improvements
2620 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2623 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2625 * === Released 2.15.0 ===
2627 2007-12-20 Hans Breuer <hans@breuer.org>
2629 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2630 with symbols gwin32appinfo.obj, added gmount.obj
2631 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2633 2007-12-20 Alexander Larsson <alexl@redhat.com>
2639 * gfilenamecompleter.c:
2642 * gpollfilemonitor.c:
2643 File attribute renames:
2645 fs:: -> filesystem::
2646 id::fs -> id::filesystem
2648 2007-12-20 Alexander Larsson <alexl@redhat.com>
2657 Add GMountUnmountFlags to all unmount and
2659 Add g_mount_remount() call.
2661 2007-12-20 Alexander Larsson <alexl@redhat.com>
2663 * gvfs.c (get_default_vfs):
2664 Fix unused variable warning
2666 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2668 * pltcheck.sh: Update
2670 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2672 * gunionvolumemonitor.c:
2673 * gunixmount.c: Remove C99 comments
2675 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2677 * gio.symbols: Add some missing symbols
2679 2007-12-19 Alexander Larsson <alexl@redhat.com>
2682 Make g_io_modules_load_all_in_directory not unuse
2683 loaded modules so that users of it can do stuff
2685 Init internal "module" types.
2686 Initialize static prio and name for types so that
2687 we don't have to load modules to get it.
2689 * gnativevolumemonitor.h:
2691 Move is_supported to parent class so that
2692 non-native monitors can avoid being initialized
2693 too. (For instance GDaemonVolumeMonitor if we're
2694 not using GDaemonVfs.)
2696 * glocaldirectorymonitor.[ch]:
2697 * glocalfilemonitor.[ch]:
2698 * gunionvolumemonitor.c:
2699 * gunixvolumemonitor.c:
2701 Find plugins using the static prio+name to
2702 avoid unnecessarily loading the modules.
2704 2007-12-19 Alexander Larsson <alexl@redhat.com>
2709 2007-12-19 Alexander Larsson <alexl@redhat.com>
2711 * gunionvolumemonitor.c:
2712 Store the native type as GType, not class so that
2713 we can unload it. But still avoid unnecessarily
2716 2007-12-19 David Zeuthen <davidz@redhat.com>
2718 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2719 add signals 'disconnected' and 'eject-button' on GDrive. Add
2720 signal 'removed' on GVolume and 'unmounted' on GMount.
2722 * gdrive.c: (g_drive_base_init):
2724 * gfile.c: (g_file_mount_mountable),
2725 (g_file_mount_enclosing_volume):
2728 * gmount.c: (g_mount_base_init):
2730 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2731 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2732 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2736 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2738 * *.c: Fix up includes in the section docs.
2740 2007-12-17 Alexander Larsson <alexl@redhat.com>
2742 * gnativevolumemonitor.h:
2743 * gunionvolumemonitor.c:
2744 * gunixvolumemonitor.c:
2745 Add is_supported() to GNativeVolumeMonitorClass so
2746 that we can avoid having to create an object to see
2747 if the backend is supported at runtime.
2748 Also add name member and an env var to pick a specific
2749 volume monitor backend.
2753 Add cancellable to _g_mount_get_for_mount_path()
2755 * glocaldirectorymonitor.c:
2756 * glocalfilemonitor.c:
2757 Avoid loading and unloading modules while sorting.
2759 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2762 * gunixmounts.[hc]: Namespace waste reduction, move some
2763 g_get_unix_mount functions to the g_unix_mount namespace.
2766 * gunixvolumemonitor.c:
2768 * glocaldirectorymonitor.c: Update all callers.
2770 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2772 2007-12-17 Alexander Larsson <alexl@redhat.com>
2775 Add doc comments about what GFile operations are
2776 guaranteed to not block.
2778 2007-12-17 Alexander Larsson <alexl@redhat.com>
2781 Add missing #ifdef fixing OSX build.
2782 (#503334, patch from Richard Hult)
2784 2007-12-14 David Zeuthen <davidz@redhat.com>
2788 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2789 (g_mount_eject), (g_mount_eject_finish):
2791 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2792 (get_volume_for_uuid), (get_mount_for_uuid),
2793 (g_union_volume_monitor_class_init),
2794 (get_default_native_type_with_exclude), (get_default_native_type),
2795 (get_native_type), (update_native_type),
2796 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2797 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2798 (g_unix_mount_can_eject), (eject_unmount_cb),
2799 (eject_unmount_read_error), (eject_unmount_do),
2800 (g_unix_mount_unmount), (g_unix_mount_eject),
2801 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2802 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2803 (g_unix_mount_point_guess_can_eject):
2805 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2806 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2807 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2808 (g_unix_volume_mount), (g_unix_volume_eject),
2809 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2810 * gunixvolumemonitor.c: (get_volume_for_uuid),
2811 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2813 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2814 (g_volume_eject), (g_volume_eject_finish):
2816 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2817 (g_volume_monitor_get_mount_for_uuid):
2820 Provide eject() on both GMount and GVolume and utility functions
2821 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2822 ejected. Introduce the concept of UUID's and wire it into GVolume
2823 and GMount and provide API on GVolumeMonitor to find such
2824 instances. Also handle the case where an external
2825 GNativeVolumeMonitor fails to initialize. Lock around the
2826 _g_get_mount_for_mount_path() function such that volume monitor
2827 implementations won't have to do locking themselves.
2829 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2831 * gdesktopappinfo.c:
2837 * gvolume.h: Documentation updates
2839 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2842 * gfile.h: Doc updates
2844 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2847 * gdesktopappinfo.c: Use hash table iterators.
2849 2007-12-14 Alexander Larsson <alexl@redhat.com>
2852 * gfileattribute.[ch]:
2853 * gfileattribute-priv.h:
2854 Move GFileAttributeValue to a private header, as
2858 Make set_attribute take a type + a pointer instead
2859 of a GFileAttributeValue.
2862 Fix up for above changes.
2863 Add g_file_info_get_attribute_data to get
2864 all info in one call, g_file_info_get_attribute_status
2865 to get the status and g_file_info_get_attribute_as_string.
2869 * glocalfileinfo.[ch]:
2873 Make _guess_type static.
2875 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2878 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2879 made mkenums and friends use temporary files to avoid leaving
2880 empty generated files on failure (#503470).
2882 2007-12-14 Alexander Larsson <alexl@redhat.com>
2884 * gmountoperation.h:
2887 2007-12-14 Alexander Larsson <alexl@redhat.com>
2891 * gfileattribute.[ch]:
2894 * glocalfileoutputstream.c:
2895 * gmountoperation.[ch]:
2896 * goutputstream.[ch]:
2897 Clean up all flags enums to not have _FLAGS in them
2898 Make the names of some of the enums better.
2903 2007-12-14 Michael Natterer <mitch@imendio.com>
2905 * gio.symbols: fix g_io_scheduler symbol names.
2907 2007-12-14 Alexander Larsson <alexl@redhat.com>
2913 * gbufferedinputstream.h:
2914 * gbufferedoutputstream.h:
2917 * gdatainputstream.h:
2918 * gdataoutputstream.h:
2919 * gdesktopappinfo.h:
2920 * gdirectorymonitor.h:
2924 * gfileenumerator.h:
2927 * gfileinputstream.h:
2929 * gfilenamecompleter.h:
2930 * gfileoutputstream.h:
2931 * gfilterinputstream.h:
2932 * gfilteroutputstream.h:
2940 * gmemoryinputstream.h:
2941 * gmemoryoutputstream.h:
2943 * gmountoperation.h:
2946 * gsimpleasyncresult.h:
2948 * gunixinputstream.h:
2950 * gunixoutputstream.h:
2954 * inotify/Makefile.am:
2955 Only allow including <gio/gio.h> from apps
2957 2007-12-14 Alexander Larsson <alexl@redhat.com>
2959 * gioscheduler.[ch]:
2960 * gsimpleasyncresult.c:
2961 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2962 Split out the send_to_mainloop call into two versions instead
2963 of having the block argument.
2965 2007-12-13 Alexander Larsson <alexl@redhat.com>
2967 * gcancellable.[ch]:
2969 * gbufferedinputstream.c:
2970 * gfileenumerator.c:
2971 * gfileinputstream.c:
2972 * gfileoutputstream.c:
2976 g_push/pop_current_cancellable ->
2977 g_cancellable_push/pop_current
2979 2007-12-13 Alexander Larsson <alexl@redhat.com>
2983 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2985 2007-12-13 Alexander Larsson <alexl@redhat.com>
2987 * gmountoperation.h:
2988 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2990 2007-12-12 Alexander Larsson <alexl@redhat.com>
2993 Fix race condition when freeing proxy in
2994 g_io_job_send_to_mainloop().
2996 2007-12-12 Alexander Larsson <alexl@redhat.com>
3002 Make attribute namespace separator "::" instead of ":".
3003 Use - instead of _ as separator in attribute names.
3005 2007-12-12 Alexander Larsson <alexl@redhat.com>
3007 * gbufferedinputstream.h:
3008 * gbufferedoutputstream.h:
3009 * gdatainputstream.h:
3010 * gdataoutputstream.h:
3011 * gdirectorymonitor.h:
3012 * gfileenumerator.h:
3013 * gfileinputstream.h:
3015 * gfileoutputstream.h:
3016 * gfilterinputstream.h:
3017 * gfilteroutputstream.h:
3019 * glocalfileinputstream.h:
3020 * glocalfileoutputstream.h:
3021 * gmemoryinputstream.h:
3022 * gmemoryoutputstream.h:
3023 * gnativevolumemonitor.h:
3025 * gunixinputstream.h:
3026 * gunixoutputstream.h:
3029 s/parent/parent_instance/ in GObjects
3031 2007-12-12 Alexander Larsson <alexl@redhat.com>
3036 No need for padding for interfaces
3038 2007-12-12 Alexander Larsson <alexl@redhat.com>
3042 * gbufferedinputstream.c:
3043 * gbufferedoutputstream.c:
3046 * gdatainputstream.[ch]:
3047 * gdesktopappinfo.c:
3048 * gdirectorymonitor.c:
3050 * gfileattribute.[ch]:
3053 * gfileinputstream.h:
3054 * gfilemonitor.[ch]:
3055 * gfileoutputstream.[ch]:
3056 * gfilterinputstream.h:
3057 * gfilteroutputstream.h:
3060 * gloadableicon.[ch]:
3061 * gmemoryinputstream.c:
3062 * gmountoperation.c:
3064 Fix up a bunch of details in the docs.
3069 2007-12-11 David Zeuthen <davidz@redhat.com>
3071 Rework how volumes, drives and volume monitoring is
3072 done. Previosly the model was
3074 GDrive <1-1> GVolume
3076 where a GDrive instance represented a mount point and a GVolume
3077 instance represented a mounted file system. This patch changes it
3080 GDrive <1-N> GVolume <1-1> GMount
3082 where GMount now serves the purpose of the old GVolume and the new
3083 GVolume serves the purpose of the old GDrive. In addition the new
3084 GDrive interface is used to represent a collection of GVolume
3085 instances (typically partitions) and also contains utility to query
3086 the state of the physical drive the GDrive object represents (such
3087 as checking for media, polling the drive, ejecting the media etc.).
3089 Also implement mounting and unmounting in the Unix volume monitor
3090 backend. A subquent patch will introduce GDrive support for ejection
3094 * gdrive.c: (g_drive_is_media_check_automatic),
3095 (g_drive_is_media_removable), (g_drive_has_media),
3096 (g_drive_can_poll_for_media), (g_drive_eject),
3097 (g_drive_eject_finish), (g_drive_poll_for_media),
3098 (g_drive_poll_for_media_finish):
3100 * gfile.c: (g_file_find_enclosing_mount):
3103 * glocaldirectorymonitor.c:
3104 (g_local_directory_monitor_constructor), (mounts_changed):
3105 * glocalfile.c: (get_mount_info),
3106 (g_local_file_find_enclosing_mount),
3107 (g_local_file_file_iface_init):
3108 * gnativevolumemonitor.h:
3109 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3110 (get_connected_drives), (g_union_volume_monitor_class_init),
3111 (child_volume_added), (child_volume_removed),
3112 (child_volume_changed), (child_mount_added), (child_mount_removed),
3113 (child_mount_pre_unmount), (child_mount_changed),
3114 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3115 (g_union_volume_monitor_remove_monitor),
3116 (_g_mount_get_for_mount_path):
3117 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3118 (guess_system_internal), (_g_get_unix_mounts),
3119 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3120 (g_unix_mount_free), (g_unix_mount_compare),
3121 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3122 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3123 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3124 (type_to_icon), (g_unix_mount_guess_name),
3125 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3126 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3127 (_resolve_symlink), (_resolve_dev_root):
3129 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3130 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3131 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3132 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3133 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3134 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3135 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3136 (g_unix_volume_volume_iface_init):
3138 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3139 (get_mounts), (get_volumes), (get_connected_drives),
3140 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3141 (mountpoints_changed), (mounts_changed),
3142 (g_unix_volume_monitor_init),
3143 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3144 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3145 * gunixvolumemonitor.h:
3146 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3147 (g_volume_mount), (g_volume_mount_finish):
3149 * gvolumemonitor.c: (g_volume_monitor_class_init),
3150 (g_volume_monitor_get_connected_drives),
3151 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3154 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3156 * gmountoperation.h (GPasswordFlags): Close the gap
3158 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3160 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3162 * gdesktopappinfo.[hc]: Remove _-prefixes
3164 2007-12-10 Tor Lillqvist <tml@novell.com>
3166 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3169 2007-12-10 Alexander Larsson <alexl@redhat.com>
3171 * gfile.c (g_file_set_display_name):
3172 Don't hardcode '/' (#502727)
3174 2007-12-09 Hans Breuer <hans@breuer.org>
3176 * makefile.msc : follow lib naming convention
3177 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3178 for user and group name, tested with ../tests/gio-ls
3180 2007-12-09 A. Walton <awalton@svn.gnome.org>
3182 * gdesktopappinfo.c:
3188 * gfileenumerator.c:
3193 * gmemoryinputstream.c:
3194 * gmemoryoutputstream.c:
3196 * gsimpleasyncresult.c:
3197 More documentation cleanup and filling in missing information, bringing
3198 GIO to 99% symbol coverage.
3200 2007-12-08 Hans Breuer <hans@breuer.org>
3202 [gio compiles and links on win32, not sure how much already works]
3203 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3204 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3205 base on win32 API; prefer g_lstat() over lstat(); instead of
3206 localtime_r() use an all GLib implementation on win32;
3207 get_mount_info() still needs a win32 specifc implementation
3208 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3209 win32_get_file_user_info to get owner/group info without uid/gid
3210 * glocalfileinputstream.c : include <io.h> on win32
3211 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3212 definition, use g_win32_ftruncate() for G_OS_WIN32
3213 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3214 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3215 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3216 * makefile.msc : updated
3218 2007-12-07 Alexander Larsson <alexl@redhat.com>
3220 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3221 Avoid warning spew if error == NULL
3223 2007-12-07 Alexander Larsson <alexl@redhat.com>
3226 Update docs wrt etags
3228 2007-12-06 Alexander Larsson <alexl@redhat.com>
3231 Include sys/types.h for dev_t (#501919)
3233 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3237 Make abicheck and pltcheck pass.
3239 2007-12-05 Alexander Larsson <alexl@redhat.com>
3242 * giomodule-priv.h: Added.
3243 * glocaldirectorymonitor.c:
3244 * glocalfilemonitor.c:
3245 * gunionvolumemonitor.c:
3247 Actually add the declaration of _g_io_modules_ensure_loaded
3249 2007-12-05 Alexander Larsson <alexl@redhat.com>
3251 * gdatainputstream.c:
3256 * glocaldirectorymonitor.c:
3257 * glocalfilemonitor.c:
3258 * gunionvolumemonitor.c:
3260 Make g_io_modules_ensure_loaded a private function and
3261 don't pass in the dirname. This means we can do magic
3262 directory finding in the win32 version.
3263 Export the actual load-modules-in-directory code so that
3264 gvfs can reuse that.
3266 2007-12-05 Alexander Larsson <alexl@redhat.com>
3268 * gbufferedinputstream.c:
3269 * gbufferedoutputstream.c:
3272 * gfileenumerator.[ch]:
3273 * gfileinputstream.c:
3274 * gfileoutputstream.[ch]:
3275 * gfilterinputstream.c:
3276 * gfilteroutputstream.c:
3277 * ginputstream.[ch]:
3279 * glocalfileenumerator.c:
3280 * glocalfileinputstream.c:
3281 * glocalfileoutputstream.c:
3282 * gmemoryinputstream.c:
3283 * gmemoryoutputstream.c:
3284 * goutputstream.[ch]:
3287 * gunixinputstream.c:
3288 * gunixoutputstream.c:
3289 Rename all struct members named:
3290 read, write, close, truncate, or mount
3291 to foo_fn, as these are reserved names
3292 and could be defined as macros in libc.
3295 2007-12-04 Alexander Larsson <alexl@redhat.com>
3298 (g_output_stream_close):
3299 Only call flush if non-null.
3301 2007-11-30 Dan Winship <danw@gnome.org>
3303 * ginputstream.c (g_input_stream_set_pending): Make this take a
3304 GError and return a gboolean, and do the "outstanding operation"
3305 check (and the "stream is already closed" check) itself.
3306 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3308 * goutputstream.c (g_output_stream_set_pending)
3309 (g_output_stream_clear_pending): Likewise
3311 * gbufferedinputstream.c:
3312 * gfileinputstream.c:
3313 * gfileoutputstream.c: Update for that
3315 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3316 Like g_simple_async_report_error_in_idle, but takes a GError
3317 rather than building one.
3319 2007-11-30 Dan Winship <danw@gnome.org>
3321 * goutputstream.c: Don't cheat and unset the "pending" flag around
3322 inner calls. Instead, call the class method directly rather than
3323 the wrapper function that checks "pending"
3325 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3327 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3329 2007-12-03 Hans Breuer <hans@breuer.org>
3331 [start of port to win32/msvc]
3332 * gcancellable.c : HAVE_UNIST_H and _pipe()
3333 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3334 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3335 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3337 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3338 * glocalvfs.c : use HAVE_PWD_H
3339 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3340 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3341 * Makefile.am : added to EXTRA_DIST
3343 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3345 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3348 2007-12-03 Alexander Larsson <alexl@redhat.com>
3351 Handle OSX style xattrs API (#500506)
3353 2007-12-03 Alexander Larsson <alexl@redhat.com>
3357 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3359 2007-12-02 A. Walton <awalton@svn.gnome.org>
3363 Documentation accuracy fixes.
3365 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3367 * gioenumtypes.c.template: Fix typo.
3369 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3371 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3373 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3375 * gdirectorymonitor.c:
3376 * gfilemonitor.c: Add properties
3378 * gbufferedoutputstream.c: Don't mark buffer-size property
3381 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3383 * gbufferedoutputstream.c: Add auto-grow property.
3385 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3387 * *.c: Unify the capitalization of section headings.
3389 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3391 * gmountoperation.c: Add properties
3393 * gdatainputstream.c: Turn byte-order and newline-type into
3396 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3398 * gioenumtypes.[hc].template: Templates for enum registration
3400 * Makefile.am: Generate gioenumtypes.[hc]
3402 * gio.h: Include gioenumtypes.h
3404 * gfile.h: Add some explicit nicks.
3406 * gio.symbols: Add new symbols
3408 * pltcheck.sh: Adjust
3410 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3412 * *.c: Explain etags and link to the explanation
3414 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3416 * *.c: Explain I/O priority.
3418 * *.c: More coding style fixes.
3420 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3422 * gasyncresult.c: Add another paragraph to the intro,
3423 adjust coding style of example.
3425 2007-11-29 A. Walton <awalton@svn.gnome.org>
3428 Fixes unknown meaning in GAppLaunchContext docs.
3430 Clarify asynchronous ops.
3432 Fix entity tag docs.
3435 Provides missing gtk-doc section, fixes API docs slighly.
3436 * gsimpleasyncresult.c:
3437 Fill in missing info in docs.
3438 * gunixinputstream.c:
3439 * gunixoutputstream.c:
3440 Be more expressive in short description.
3442 Remove gtk-doc stubs for non-public API.
3444 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3446 * *.c: Coding style fixups
3448 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3450 * inotify/inotify-helper.c: Don't export the lock from libgio.
3452 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3455 * abicheck.sh: Fix copy-and-paste leftovers
3457 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3459 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3461 2007-11-28 Alexander Larsson <alexl@redhat.com>
3465 Removed unnecessary file
3467 * gdesktopappinfo.[ch]:
3470 * glocaldirectorymonitor.[ch]:
3472 * glocalfileenumerator.[ch]:
3473 * glocalfileinputstream.[ch]:
3474 * glocalfilemonitor.[ch]:
3475 * glocalfileoutputstream.[ch]:
3477 * gnativevolumemonitor.c:
3478 * gpollfilemonitor.[ch]:
3479 * gunionvolumemonitor.[ch]:
3482 * gunixvolumemonitor.[ch]:
3485 * inotify/ginotifydirectorymonitor.[ch]:
3486 * inotify/ginotifyfilemonitor.[ch]:
3487 * inotify/inotify-helper.c:
3488 Append _ to all internal functions
3492 Export symbols needed for modules
3494 2007-11-28 Alexander Larsson <alexl@redhat.com>
3497 * abicheck.sh: Added.
3498 * makegioalias.pl: Added.
3499 * pltcheck.sh: Added.
3500 * gio.symbols: Added.
3503 Initial work on adding symbol handling.
3506 Correct ifdef guard name
3509 * inotify/Makefile.am:
3510 * xdgmime/Makefile.am:
3511 Include toplevel Makefile.decl
3513 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3515 * gcontenttype.c: Move doc comments to the unix section.
3517 * *.[hc]: More trivial doc corrections.
3519 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3521 * gpollfilemonitor.c:
3525 * gdesktopappinfo.c:
3530 * gdatainputstream.c:
3531 * gdatainputstream.h:
3532 * gdataoutputstream.c:
3533 * gdataoutputstream.h:
3534 * gfileinfo.h: Doc cleanups
3536 2007-11-28 Andre Klapper <a9016009@gmx.de>
3538 * gdesktopappinfo.c: Fix a typo.
3540 2007-11-27 Andre Klapper <a9016009@gmx.de>
3542 * glocalfileoutputstream.c: Fix a typo.
3544 2007-11-27 Alexander Larsson <alexl@redhat.com>
3547 Don't include removed headers
3549 2007-11-27 Alexander Larsson <alexl@redhat.com>
3552 * gsocketinputstream.[ch]: Removed.
3553 * gsocketoutputstream.[ch]: Removed.
3554 * gunixinputstream.[ch]: Added.
3555 * gunixoutputstream.[ch]: Added.
3556 Renamed GSocket*Stream to GUnix*Stream and made
3557 it unix-only, since its not really only for sockets
3558 and it only works on unix (but is highly useful there).
3560 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3566 * gbufferedinputstream.c:
3567 * gbufferedinputstream.h:
3568 * gbufferedoutputstream.c:
3569 * gbufferedoutputstream.h:
3573 * gdatainputstream.c:
3574 * gdatainputstream.h:
3575 * gdataoutputstream.c:
3576 * gdataoutputstream.h:
3577 * gdirectorymonitor.c:
3578 * gdirectorymonitor.h:
3585 * gfileenumerator.c:
3586 * gfileenumerator.h:
3591 * gfileinputstream.c:
3592 * gfileinputstream.h:
3595 * gfilenamecompleter.c:
3596 * gfilenamecompleter.h:
3597 * gfileoutputstream.c:
3598 * gfileoutputstream.h:
3599 * gfilterinputstream.c:
3600 * gfilterinputstream.h:
3601 * gfilteroutputstream.c:
3602 * gfilteroutputstream.h:
3615 * glocalfileoutputstream.c:
3616 * gmemoryinputstream.c:
3617 * gmemoryinputstream.h:
3618 * gmemoryoutputstream.c:
3619 * gmemoryoutputstream.h:
3620 * gmountoperation.c:
3621 * gmountoperation.h:
3624 * gpollfilemonitor.c:
3627 * gsimpleasyncresult.c:
3628 * gsimpleasyncresult.h:
3629 * gsocketinputstream.c:
3630 * gsocketinputstream.h:
3631 * gsocketoutputstream.c:
3632 * gsocketoutputstream.h:
3639 * gunixvolumemonitor.c:
3648 Bumps documentation to 93% symbol coverage, touching most
3649 of the public files. Fixes broken function documentation prototypes.
3650 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3651 gtk-doc headers in private files.
3653 2007-11-27 Jürg Billeter <j@bitron.ch>
3655 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3656 (g_buffered_input_stream_read_byte):
3657 * gbufferedinputstream.h:
3658 New functions for efficient access to buffer and simple single byte
3661 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3662 (g_data_input_stream_read_until):
3663 * gdatainputstream.h:
3664 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3665 read_until with multiple stop chars.
3667 2007-11-27 Alexander Larsson <alexl@redhat.com>
3671 * inotify/Makefile.am:
3672 Use the user-specified giomoduledir
3674 2007-11-27 Alexander Larsson <alexl@redhat.com>
3678 Add catch-all gio.h header
3679 Don't install gdummyfile.h
3681 2007-11-26 Alexander Larsson <alexl@redhat.com>
3683 * Makefile.am (gioinclude_HEADERS):
3684 Remove trailing whitespace
3686 2007-11-26 Alexander Larsson <alexl@redhat.com>
3688 Merge gio-standalone into glib
3690 2007-11-25 Christian Kellner <gicmo@gnome.org>
3692 * gio/goutputstream.c:
3693 Fix small mistake in the docs.
3695 2007-11-21 Christian Persch <chpe@gnome.org>
3697 * gio/glocalfile.c: (g_local_file_trash):
3698 Convert filenames to UTF-8 for GError.
3699 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3700 as per xdg base dir spec.
3702 2007-11-21 Christian Persch <chpe@gnome.org>
3704 * gio/gdesktopappinfo.c:
3705 Use that g_key_file_to_data cannot fail.
3707 Use stock defines for the key file group and key names.
3710 2007-11-21 Alexander Larsson <alexl@redhat.com>
3713 (copy_stream_with_progress):
3714 Make sure we do a final progress callback with
3715 the full total size.
3717 2007-11-21 Alexander Larsson <alexl@redhat.com>
3720 Export g_file_copy_attributes
3721 Remove padding as its not needed for interfaces
3723 2007-11-20 Alexander Larsson <alexl@redhat.com>
3728 Add G_IO_ERROR_WOULD_MERGE for
3729 copy/move dir on dir with overwrite.
3731 2007-11-20 Alexander Larsson <alexl@redhat.com>
3734 * gio/glocalfileinfo.c:
3735 Add COPY_NAME (this is an optional
3736 non-modified utf8 version of the name) that
3739 2007-11-20 Alexander Larsson <alexl@redhat.com>
3741 * gio/glocalfileenumerator.c:
3742 Report errors as GIOError, not GFileError
3744 2007-11-16 Alexander Larsson <alexl@redhat.com>
3746 * gio/glocalfileoutputstream.c:
3747 * gio/gwin32appinfo.c:
3748 Fix typos in strings.
3749 Patch from Luca Ferretti <elle.uca@libero.it>
3751 2007-11-15 Alexander Larsson <alexl@redhat.com>
3754 Post release version bump
3756 === gio-standalone 0.1.2 ===
3758 2007-11-15 Alexander Larsson <alexl@redhat.com>
3760 * docs/reference/gio/Makefile.am:
3761 Fix up distcheck by removing weird
3767 2007-11-14 Alexander Larsson <alexl@redhat.com>
3769 * gio/gdesktopappinfo.c:
3770 * gio/glocaldirectorymonitor.c:
3772 * gio/glocalfileinfo.c:
3773 * gio/inotify/inotify-sub.c:
3774 * programs/gio-cat.c:
3775 * programs/gio-copy.c:
3776 * programs/gio-info.c:
3777 * programs/gio-ls.c:
3778 * programs/gio-monitor-dir.c:
3779 * programs/gio-monitor-file.c:
3780 * programs/gio-mount.c:
3781 * programs/gio-move.c:
3782 * programs/gio-rm.c:
3783 * programs/gio-save.c:
3784 * programs/gio-trash.c:
3785 Leak fixes from Kjartan Maraas
3787 2007-11-14 Alexander Larsson <alexl@redhat.com>
3789 * gio/fam/fam-helper.c:
3791 * gio/glocalfileinfo.c:
3795 * gio/inotify/inotify-diag.c:
3796 * gio/inotify/inotify-kernel.c:
3797 Various code cleanups from Kjartan Maraas
3799 2007-11-14 Alexander Larsson <alexl@redhat.com>
3801 * gio/gioscheduler.c:
3803 Set up threadpool so that we cache 2 unused
3804 idle threads for at 15 secs. This means we
3805 will reuse thread-local data (like dbus connections)
3808 2007-11-14 Alexander Larsson <alexl@redhat.com>
3810 * gio/fam/fam-helper.c:
3811 * gio/fam/gfamdirectorymonitor.c:
3812 * gio/fam/gfamfilemonitor.c:
3814 * gio/gcontenttype.c:
3815 * gio/gdatainputstream.c:
3816 * gio/gdataoutputstream.c:
3820 * gio/gfileattribute.h:
3821 * gio/gfileenumerator.c:
3823 * gio/ginputstream.c:
3826 * gio/glocalfileinfo.c:
3827 * gio/goutputstream.c:
3828 * gio/gpollfilemonitor.c:
3829 * gio/gsimpleasyncresult.c:
3830 * gio/gunixmounts.c:
3831 * gio/gunixmounts.h:
3832 * gio/inotify/ginotifydirectorymonitor.c:
3833 * gio/inotify/ginotifyfilemonitor.c:
3834 * gio/inotify/inotify-diag.c:
3835 * gio/inotify/inotify-kernel.c:
3836 * gio/inotify/inotify-path.c:
3838 * gio/test-streams.c:
3839 * programs/gio-info.c:
3840 * programs/gio-monitor-dir.c:
3841 * programs/gio-monitor-file.c:
3842 Various code cleanups from Kjartan Maraas
3844 2007-11-13 Alexander Larsson <alexl@redhat.com>
3847 Handle the uri-scheme calls for dummy files
3849 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3851 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3852 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3853 to avoid clash with the C++ keyword.
3855 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3857 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3858 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3860 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3862 * gio/glocaldirectorymonitor.c:
3863 * gio/glocalfilemonitor.c:
3864 * gio/gunionvolumemonitor.c:
3865 Don't use g_once_init_*() for initializations that could fail and
3866 could leave the initialization variable set to 0 but use GOnce.
3867 This prevents a deadlock on the second call when trying to create
3868 a monitor and no monitor type is available. Thanks to Sven Herzberg
3871 2007-11-11 Sven Herzberg <sven@imendio.com>
3873 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3874 #ifdef (make it work on MacOS X again)
3876 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3878 Fixes Changelog for last two commits (sorry guys).
3880 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3882 * gio/gbufferedinputstream.c:
3883 * gio/gdatainputstream.c:
3885 * gio/gfileoutputstream.c:
3886 * gio/gfilterinputstream.c:
3887 * gio/glocalfileinputstream.c:
3890 More consistency fixes in g*stream.c files.
3891 Significant clean of gfile's documentation, filling in of
3892 asynchronous operations documentation.
3894 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3896 * gio/gasyncresult.c:
3897 * gio/gbufferedinputstream.c:
3898 * gio/gbufferedoutputstream.c:
3899 * gio/gcancellable.c:
3900 * gio/gcontenttype.c:
3901 * gio/gdatainputstream.c:
3902 * gio/gdataoutputstream.c:
3903 * gio/gdesktopappinfo.c:
3906 * gio/gfileattribute.c:
3907 * gio/gio/gfileenumerator.c:
3909 * gio/gfileinputstream.c:
3910 * gio/gfilemonitor.c:
3911 * gio/gfileoutputstream.c:
3912 * gio/ginputstream.c:
3914 * gio/gioscheduler.c:
3915 * gio/gloadableicon.c:
3916 * gio/glocalfileoutputstream.c:
3917 * gio/gmemoryoutputstream.c:
3918 * gio/gmountoperation.c:
3919 * gio/goutputstream.c:
3921 * gio/gsimpleasyncresult.c:
3922 * gio/gunionvolumemonitor.c:
3923 * gio/gunixmounts.c:
3924 * gio/gunixvolume.c:
3928 * gio/gvolumemonitor.c:
3929 Updated documentation stubs, working towards consistency and
3932 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3934 * gio/gmemoryoutputstream.c:
3935 * gio/gmemoryoutputstream.h:
3936 Change g_memory_output_stream_set_free_on_close() to
3937 g_memory_output_stream_set_free_data() as this makes more sense and
3938 is more consistent with GMemoryInputStream.
3940 2007-11-07 Alexander Larsson <alexl@redhat.com>
3947 Change how we find the default vfs so that
3948 we can handle a gvfs failing to init
3950 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3952 * gio/gbufferedoutputstream.c:
3953 * gio/gdatainputstream.c:
3954 * gio/gdataoutputstream.c:
3955 * gio/gfileinputstream.c:
3956 * gio/gfileoutputstream.c:
3957 * gio/gfilterinputstream.c:
3958 * gio/gfilteroutputstream.c:
3959 * gio/ginputstream.c:
3960 * gio/gmemoryinputstream.c:
3961 * gio/gmemoryoutputstream.c:
3962 * gio/goutputstream.c:
3963 * gio/gsimpleasyncresult.c:
3964 * gio/gsocketinputstream.c:
3965 * gio/gsocketoutputstream.c:
3966 Add guards to the remaining public functions, add a TODO for
3967 an unimplemented function and remove some useless guards.
3969 2007-11-07 Alexander Larsson <alexl@redhat.com>
3972 Autoconf checks for the various types of
3973 getpwuid_r and getgrgid_r
3975 * gio/glocalfileinfo.c:
3976 Use the autoconf checks from above
3978 2007-11-07 Alexander Larsson <alexl@redhat.com>
3981 (g_local_file_query_filesystem_info):
3982 Some fixes for the statvfs case
3984 2007-11-07 Alexander Larsson <alexl@redhat.com>
3987 (g_local_file_query_filesystem_info):
3988 Pick the "best" of statfs / statvfs for the system
3989 if both are availible.
3991 2007-11-07 Alexander Larsson <alexl@redhat.com>
3993 Solaris fixes from Halton.Huo@Sun.COM:
4000 * gio/glocalfileinfo.c:
4001 Fix for solaris definition of getpwuid_r
4003 * gio/test-streams.c:
4004 Use G_GNUC_PRETTY_FUNCTION
4006 2007-11-07 Alexander Larsson <alexl@redhat.com>
4008 * gio/gdesktopappinfo.c:
4009 (update_default_list):
4010 Remove double semicolon.
4011 Patch from Jens Granseuer
4013 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4015 * docs/reference/gio/gio-sections.txt:
4016 * gio/gbufferedinputstream.c:
4017 * gio/gbufferedinputstream.h:
4018 * gio/gdatainputstream.c:
4019 * gio/gfileenumerator.c:
4020 * gio/gioscheduler.c:
4021 * gio/gunionvolumemonitor.c:
4023 * programs/gio-save.c:
4024 Fix typo: availible -> available. Unfortuntely this breaks API
4025 and ABI as g_buffered_input_stream_get_available() was renamed.
4027 * gio/gunixmounts.c:
4028 * gio/gbufferedinputstream.c:
4029 Add guards for public functions.
4031 2007-11-06 Ross Burton <ross@openedhand.com>
4033 * docs/reference/gio/Makefile.am:
4034 Fix invalid += usage which automake 1.10 doesn't like.
4036 2007-11-06 Alexander Larsson <alexl@redhat.com>
4039 (g_app_launch_context_class_init):
4042 Patch from Ross Burton
4044 2007-11-06 Alexander Larsson <alexl@redhat.com>
4047 Post release version bump
4049 === gio-standalone 0.1.1 ===
4051 2007-11-06 Alexander Larsson <alexl@redhat.com>
4054 Bump version to 0.1.1
4056 * gio/gsimpleasyncresult.c:
4057 (g_simple_async_result_set_from_error):
4058 Remove bogus g_return_if_fail
4060 2007-11-06 Alexander Larsson <alexl@redhat.com>
4063 The name is gio-standalone
4066 Add top src/builddir to includedir
4068 2007-11-06 Alexander Larsson <alexl@redhat.com>
4070 * docs/reference/gio/gio-sections.txt:
4072 * gio/gbufferedinputstream.c:
4073 * gio/gbufferedoutputstream.c:
4074 * gio/gcancellable.c:
4075 * gio/gdatainputstream.h:
4076 * gio/gdataoutputstream.c:
4077 * gio/gdataoutputstream.h:
4078 * gio/gdirectorymonitor.c:
4080 * gio/gfileattribute.c:
4081 * gio/gfileattribute.h:
4082 * gio/gfileenumerator.c:
4083 * gio/gfileenumerator.h:
4086 * gio/gfileinputstream.h:
4087 * gio/gfilemonitor.c:
4088 * gio/gfileoutputstream.h:
4089 * gio/glocalfilemonitor.h:
4090 * gio/glocalfileoutputstream.h:
4091 * gio/gmemoryinputstream.c:
4092 * gio/gmemoryoutputstream.c:
4093 * gio/gmountoperation.c:
4094 * gio/goutputstream.c:
4095 * gio/goutputstream.h:
4097 * gio/gsimpleasyncresult.c:
4098 * gio/gunixmounts.c:
4099 * gio/gunixmounts.h:
4101 * gio/inotify/inotify-helper.c:
4102 Fix gtk-doc warnings
4104 Patch from Ross Burton
4106 2007-11-06 Alexander Larsson <alexl@redhat.com>
4108 * gio/gfilenamecompleter.c:
4109 (g_filename_completer_get_completions):
4112 * gio/gunixvolume.c:
4113 Remove unused function
4115 Patches from Ross Burton
4117 2007-11-06 Alexander Larsson <alexl@redhat.com>
4122 Padding not needed for interfaces
4124 2007-11-06 Alexander Larsson <alexl@redhat.com>
4126 * gio/gfilemonitor.c:
4130 Make giotypes.h an internal file
4133 * gio/gbufferedinputstream.h:
4134 * gio/gbufferedoutputstream.h:
4135 * gio/gcancellable.h:
4136 * gio/gdatainputstream.h:
4137 * gio/gdataoutputstream.h:
4138 * gio/gdirectorymonitor.c:
4139 * gio/gdirectorymonitor.h:
4144 * gio/gfileattribute.h:
4145 * gio/gfileenumerator.h:
4150 * gio/gfilemonitor.c:
4151 * gio/gfilemonitor.h:
4152 * gio/gfilenamecompleter.c:
4153 * gio/gfilenamecompleter.h:
4154 * gio/gfilterinputstream.h:
4155 * gio/gfilteroutputstream.h:
4156 * gio/ginputstream.h:
4157 * gio/gmemoryinputstream.h:
4158 * gio/gmemoryoutputstream.h:
4159 * gio/gmountoperation.c:
4160 * gio/gmountoperation.h:
4161 * gio/gnativevolumemonitor.c:
4162 * gio/goutputstream.h:
4165 * gio/gsimpleasyncresult.c:
4166 * gio/gsimpleasyncresult.h:
4167 * gio/gsocketinputstream.h:
4168 * gio/gsocketoutputstream.h:
4169 * gio/gthemedicon.c:
4170 * gio/gthemedicon.h:
4174 * gio/gvolumemonitor.c:
4175 * gio/gvolumemonitor.h:
4176 Add padding in classes where it seems useful
4177 Don't include giotypes.h from public headers
4178 Move in Class definitions into c file where possible
4183 2007-11-06 Alexander Larsson <alexl@redhat.com>
4185 * docs/reference/gio/gio-docs.xml:
4186 Better structure for API docs
4188 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4191 * gio/gloadableicon.c:
4192 * gio/gsimpleasyncresult.c:
4193 * gio/gthemedicon.c:
4194 Add some more guards to public functions. Only files missing are now
4197 2007-11-06 Alexander Larsson <alexl@redhat.com>
4199 * docs/reference/gio/gio-docs.xml:
4200 Remove old files, add missing ones
4202 2007-11-06 Alexander Larsson <alexl@redhat.com>
4204 * docs/reference/gio/gio-sections.txt:
4207 Hide implementation classes
4209 * gio/gdriveprivate.h:
4210 * gio/gvolumeprivate.h:
4211 Remove non-existing function declarations
4213 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4216 Fix compilation warnings and add guards to the new functions.
4218 * gio/gasyncresult.c:
4220 Add guards to the public functions.
4223 Implement get_path().
4225 2007-11-06 Alexander Larsson <alexl@redhat.com>
4227 * gio/gfilenamecompleter.c:
4228 Make g_filename_completer_get_completions
4229 return char ** instead of GList for
4232 * docs/reference/gio/gio-docs.xml:
4233 * docs/reference/gio/gio-sections.txt:
4235 * gio/gasyncresult.c:
4236 * gio/gbufferedinputstream.c:
4237 * gio/gbufferedoutputstream.c:
4238 * gio/gcancellable.c:
4239 * gio/gcontenttype.c:
4240 * gio/gdatainputstream.c:
4241 * gio/gdataoutputstream.c:
4242 * gio/gdesktopappinfo.c:
4243 * gio/gdirectorymonitor.c:
4247 * gio/gfileattribute.c:
4248 * gio/gfileenumerator.c:
4251 * gio/gfileinputstream.c:
4252 * gio/gfilemonitor.c:
4253 * gio/gfilenamecompleter.c:
4254 * gio/gfilenamecompleter.h:
4255 * gio/gfileoutputstream.c:
4256 * gio/gfilterinputstream.c:
4258 * gio/ginputstream.c:
4260 * gio/gioscheduler.c:
4261 * gio/gloadableicon.c:
4262 * gio/glocaldirectorymonitor.c:
4264 * gio/glocalfileinputstream.c:
4265 * gio/glocalfilemonitor.c:
4266 * gio/glocalfileoutputstream.c:
4268 * gio/gmemoryinputstream.c:
4269 * gio/gmemoryoutputstream.c:
4270 * gio/gmountoperation.c:
4271 * gio/goutputstream.c:
4272 * gio/gpollfilemonitor.c:
4274 * gio/gsimpleasyncresult.c:
4275 * gio/gsocketinputstream.c:
4276 * gio/gsocketoutputstream.c:
4277 * gio/gthemedicon.c:
4278 * gio/gunionvolumemonitor.c:
4280 * gio/gunixmounts.c:
4281 * gio/gunixvolume.c:
4282 * gio/gunixvolumemonitor.c:
4286 * gio/gvolumemonitor.c:
4287 * gio/gwin32appinfo.c:
4288 Add (mostly stub) doc strings to public functions.
4289 Patch from Andrew Walton (awalton@gmail.com)
4291 2007-11-06 Alexander Larsson <alexl@redhat.com>
4293 * gio/gappinfo.[ch]:
4294 Added GAppLaunchContext object and pass that to launch.
4295 This allows simple implementation of both
4296 launch-on-screen and startup notification via a gtk+
4297 subclass of GAppLaunchContext
4299 * gio/gdesktopappinfo.c:
4300 Implement GAppLaunchContext API
4302 * gio/gwin32appinfo.c:
4305 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4307 * gio/gmountoperation.c:
4308 Add some guards to GMountOperation's public functions.
4310 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4314 * gio/gcancellable.c:
4315 * gio/gdirectorymonitor.c:
4317 * gio/gfileenumerator.c:
4318 * gio/gfilemonitor.c:,
4319 * gio/gfilenamecompleter.c:
4322 * gio/gioscheduler.c:
4326 * gio/gvolumemonitor.c:
4327 Add even more guards to various public functions.
4329 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4332 Add guards to the public functions of GAppInfo.
4334 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4336 * gio/gcontenttype.c:
4337 Add some more guards for public functions.
4339 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4341 * gio/fam/fam-module.c:
4342 * gio/fam/gfamdirectorymonitor.c:
4343 * gio/fam/gfamdirectorymonitor.h:
4344 * gio/fam/gfamfilemonitor.c:
4345 * gio/fam/gfamfilemonitor.h:
4346 * gio/inotify/ginotifydirectorymonitor.c:
4347 * gio/inotify/ginotifydirectorymonitor.h:
4348 * gio/inotify/ginotifyfilemonitor.c:
4349 * gio/inotify/ginotifyfilemonitor.h:
4350 Add proper copyright information and remove an unused variable
4351 in the GInotifyFileMonitor constructor.
4353 * gio/gcancellable.c:
4354 Add a guard for a public function and an assertion to prevent
4355 an undefined program state.
4357 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4359 * gio/gfileattribute.c:
4360 Don't run into an assertion if the given attribute value is NULL
4361 in g_file_attribute_value_get_*() but instead return a fallback
4362 value that makes sense in most situations. Passing them a attribute
4363 value with the wrong type will still run into an assertion.
4365 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4367 * gio/gfileattribute.c:
4369 Add even more guards to the public functions. Also fix the refcounting
4370 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4371 let g_file_info_list_attributes() filter the attributes by namespace
4372 instead of simply ignoring the namespace parameter.
4374 2007-11-03 Sven Herzberg <sven@imendio.com>
4376 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4377 (This makes gio work on MacOS X again)
4379 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4382 Build the gio subdirectory before the docs. Otherwise the build will
4385 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4386 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4387 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4388 Add guards to the public functions.
4390 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4392 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4393 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4394 to prevent a compiler warning.
4396 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4397 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4398 return something in the non-void function find_topdir_for().
4400 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4407 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4409 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4410 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4411 * gwin32appinfo.c (g_win32_app_info_launch):
4412 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4413 envp_for_startup_id, g_desktop_app_info_launch,
4414 g_desktop_app_info_launch_uris):
4416 Give an opaque 'startup_id' string instead of 'envp'.
4417 Support empty file lists for launching new windows.
4418 Fix infinite recursion bug when launching URIs.
4420 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4423 Add guard to the new g_file_get_uri_scheme() function.
4425 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4428 Convert a g_return_val_if_fail() to setting the GError instead as
4429 otherwise applications have to verify the parameter before otherwise
4430 and the parameter might come directly from the user.
4432 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4434 * gio/inotify/ginotify*.[ch]:
4435 Add missing copyright information.
4437 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4440 Add guards in the beginning of public functions to check for valid
4441 parameters and fix a bug in copy_stream_with_progress() that could've
4442 caused writing less bytes than reading.
4443 * gio/glocalfileinfo.c:
4444 Check for a NULL parameter and set the GError accordingly then.
4445 * gio/goutputstream.c:
4446 Fix the same bug as in gfile.c that could've caused writing less bytes
4447 than reading in g_output_stream_real_splice().
4449 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4452 Use the correct gvolumeprivate.h naming
4454 2007-11-01 Christian Kellner <gicmo@gnome.org>
4457 Remove leftover "$(daemon_sources)" entry.
4459 2007-11-01 Christian Kellner <gicmo@gnome.org>
4464 Add copyright information to source files.
4466 2007-11-01 Alexander Larsson <alexl@redhat.com>
4470 Add g_file_get_uri_scheme
4472 2007-11-01 Alexander Larsson <alexl@redhat.com>
4475 * gio/gdesktopappinfo.c:
4476 * gio/gwin32appinfo.c:
4477 Add g_app_info_get_default_for_uri_scheme.
4479 2007-11-01 Alexander Larsson <alexl@redhat.com>
4482 Correct filename for gdriveprivate.h
4484 2007-10-31 Alexander Larsson <alexl@redhat.com>
4487 Rename id:value to id:file
4490 * gio/glocalfileinfo.c:
4493 2007-10-31 Alexander Larsson <alexl@redhat.com>
4495 * gio/gunixvolume.c:
4497 Remove g_volume_get_platform_id, as thats not
4498 needed with the simpler union volume monitor
4500 2007-10-31 Alexander Larsson <alexl@redhat.com>
4503 * gio/guniondrive.[ch]: Removed.
4504 * gio/gunionvolume.[ch]: Removed.
4505 Remove GUnionDrive/Volume
4507 * gio/gunionvolumemonitor.c:
4508 Simplify union volume monitor, now we
4509 only have one native volume monitor and
4510 we use the actual volumes/drives from the
4511 child monitors instead of wrapping them
4513 * gio/gnativevolumemonitor.[ch]:
4514 Base class for native volume monitors.
4515 Includes priority and get_volume_for_mountpoint
4518 Add g_file_find_enclosing_volume
4521 Remove volume name fs attribute
4522 Add readonly fs attribute
4525 Implement readonly attribute
4526 remove volume name attribute
4527 Implement find_enclosing volume
4529 * gio/gunixmounts.c:
4530 Add a volume for "/".
4532 * gio/gunixvolume.[ch]:
4533 Set better name for /
4535 * gio/gunixvolumemonitor.[ch]:
4536 Derive from GNativeVolumeMonitor
4537 Implement get_volume_for_mountpoint
4540 GVolume typedef moved to gfile.h
4542 * gio/gvolumeprivate.h:
4543 Add g_volume_get_for_mount_path
4545 2007-10-31 Alexander Larsson <alexl@redhat.com>
4547 * gio/gunixmounts.[ch]:
4548 Add cache info to unix mount listers
4549 Make getmntent use threadsafe
4550 Add is_system_internal attribute for GUnixMount
4552 * gio/gunixvolume.c:
4553 (g_unix_volume_new):
4554 Use is_system_internal instead of own code
4556 * gio/glocaldirectorymonitor.c:
4557 * gio/gunixvolumemonitor.c:
4558 Update to new gunixmounts API
4563 2007-10-30 Alexander Larsson <alexl@redhat.com>
4566 Add volume name fsinfo attribute
4569 Read volume name info
4571 * gio/gunionvolumemonitor.c:
4572 Fix infinite loops when finalizing a union volume monitor
4574 2007-10-30 Alexander Larsson <alexl@redhat.com>
4576 * gio/goutputstream.[ch]:
4577 Add splice() with default implementation
4579 * gio/gsocketoutputstream.c:
4580 (g_socket_output_stream_write):
4581 Return error on cancellation correctly.
4583 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4585 * gio/glocalfile.c (g_local_file_trash):
4586 Do not leak a string.
4588 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4590 * gio/gfile.c (g_file_load_contents):
4591 Unref the stream after closing it.
4593 2007-10-25 Alexander Larsson <alexl@redhat.com>
4595 * gio/gioscheduler.h:
4598 2007-10-25 Alexander Larsson <alexl@redhat.com>
4602 Add g_file_has_uri_scheme and implement for local files
4604 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4606 * gio/gdesktopappinfo.c: do not leak a string.
4608 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4610 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4611 (g_local_directory_monitor_new):
4612 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4613 (g_local_file_monitor_new):
4614 Only look for the monitor type that should be used the first time
4615 and use g_qsort_with_data() instead of our own bubble sort
4618 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4621 * gio/fam/Makefile.am:
4622 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4623 * gio/fam/fam-helper.h:
4624 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4625 * gio/fam/gfamdirectorymonitor.c:
4626 * gio/fam/gfamdirectorymonitor.h:
4627 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4628 * gio/fam/gfamfilemonitor.h:
4629 * gio/glocaldirectorymonitor.c:
4630 * gio/glocaldirectorymonitor.h:
4631 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4632 * gio/glocalfilemonitor.h:
4633 * gio/inotify/Makefile.am:
4634 * gio/inotify/ginotifydirectorymonitor.c:
4635 * gio/inotify/ginotifydirectorymonitor.h:
4636 * gio/inotify/ginotifyfilemonitor.c:
4637 * gio/inotify/ginotifyfilemonitor.h:
4638 Implement the FAM and Inotify monitors as
4639 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4640 their own GIO module. GLocal(Directory|File)Monitor will use the
4641 monitor with the highest rank that is supported on that machine.
4643 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4646 Change GIO module dir to $(libdir)/gio/modules and change
4647 the log domain from GVFS to GIO. Also only export symbols starting
4648 with g_ in the resulting library.
4649 * gio/test-streams.c: (main):
4650 Set log handler for the GIO log domain.
4652 2007-10-22 Alexander Larsson <alexl@redhat.com>
4654 * gio/gfilenamecompleter.[ch]:
4655 Add g_filename_completer_set_dirs_only
4657 2007-10-22 Alexander Larsson <alexl@redhat.com>
4660 * gio/gurifuncs.[ch]:
4661 Add some simple URI helpers
4663 * gio/gfilenamecompleter.[ch]:
4664 Added object for filename (parse name actually) completion
4667 Handle ~ in parse names
4669 2007-10-17 Alexander Larsson <alexl@redhat.com>
4672 * gio/glocalfileinfo.c:
4673 Add and implement id:value attribute
4675 2007-10-17 Alexander Larsson <alexl@redhat.com>
4678 * gio/guniondrive.c:
4680 Add and implement g_drive_has_volumes
4682 2007-10-17 Alexander Larsson <alexl@redhat.com>
4685 * gio/glocalfileinfo.[ch]:
4686 Add unix:is_mountpoint and implement for local files
4688 2007-10-16 Alexander Larsson <alexl@redhat.com>
4690 * gio/gunionvolumemonitor.c:
4691 (g_union_volume_monitor_init):
4692 Fix up the unix type getting so that it works with gcc
4694 2007-10-12 Alexander Larsson <alexl@redhat.com>
4697 * gio/glocalfileinfo.c:
4698 Add thumbnail:failed to file info
4700 2007-10-12 Richard Hult <richard@imendio.com>
4702 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4703 optimizing away the get_type call (happens with some gcc versions,
4704 like the one shipped with OS X 10.4).
4706 2007-10-12 Alexander Larsson <alexl@redhat.com>
4708 * gio/glocalfileinfo.c:
4709 (_g_local_file_info_set_attribute):
4710 Fix build if not HAVE_XATTR
4711 Patch from Milosz Derezynski <internalerror@gmail.com>
4713 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4715 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4716 around for review, otherwise I would have asked you before
4719 2007-10-11 Alexander Larsson <alexl@redhat.com>
4722 Add thumbnail:path attribute
4724 * gio/glocalfileinfo.c:
4725 Implement thumbnail:path for local files
4727 2007-10-11 Alexander Larsson <alexl@redhat.com>
4729 * gio/glocalfileinfo.c:
4730 (_g_local_file_info_get):
4731 Avoid duplicate icon names
4733 2007-10-11 Alexander Larsson <alexl@redhat.com>
4735 * gio/gthemedicon.[ch]:
4736 Change g_themed_icon_get_names return type to const
4738 2007-10-10 Alexander Larsson <alexl@redhat.com>
4740 * gio/glocalfileinfo.c:
4741 Don't reference freed memory
4743 2007-10-10 Alexander Larsson <alexl@redhat.com>
4745 * gio/gfileattribute.c:
4748 * gio/glocalfileinfo.c:
4751 2007-10-10 Alexander Larsson <alexl@redhat.com>
4754 Check for NULL icons
4756 * gio/gfileattribute.c:
4757 Don't dup when getting objects (same as for string attributes)
4759 * gio/gicon.c (g_icon_equal):
4760 Safely handle NULLs in equal
4762 2007-10-10 Alexander Larsson <alexl@redhat.com>
4765 Fix c++ compilation issues
4766 Patch from Milosz Derezynski <internalerror@gmail.com>
4768 2007-10-10 Alexander Larsson <alexl@redhat.com>
4770 * programs/gio-monitor-dir.c:
4771 Don't crash if dir monitor not supported.
4773 2007-10-09 Alexander Larsson <alexl@redhat.com>
4776 Add missing G_END_DECLS
4778 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4780 * gio/gfile.c: (g_file_set_display_name),
4781 (g_file_query_settable_attributes),
4782 (g_file_query_writable_namespaces):
4783 Return NULL not FALSE on errors as the return type is a pointer.
4785 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4787 * gio/glocalfile.c: (g_local_file_monitor_file):
4788 Don't call monitor_file on the default interface vtable (which
4789 is NULL) but simply return NULL. The caller, GFile, will create a
4790 polling monitor if NULL is returned.
4792 2007-10-09 Alexander Larsson <alexl@redhat.com>
4796 * gio-unix-2.0.pc.in:
4797 Add gio-unix-2.0.pc if OS_UNIX
4800 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4802 2007-10-09 Alexander Larsson <alexl@redhat.com>
4804 * gio/gunixmounts.[ch]:
4805 Make unix mount monitoring API sane.
4806 Now its just a object with mounts_changed
4807 and mountpoints_changed signals.
4809 * gio/glocaldirectorymonitor.c:
4810 * gio/gunixvolumemonitor.c:
4811 Use new mount monitor api
4813 2007-10-09 Alexander Larsson <alexl@redhat.com>
4815 * gio/gunixmounts.[ch]:
4816 Move guess type into one call for mounts and one for mountpoints
4819 * gio/gunixvolume.c:
4822 2007-10-09 Alexander Larsson <alexl@redhat.com>
4824 * gio/gunixmounts.[ch]:
4825 Remove _ prefix in preparation to make this semi-public
4826 Hide implementation of structs
4828 * gio/glocaldirectorymonitor.c:
4830 * gio/gunixvolume.c:
4831 * gio/gunixvolumemonitor.c:
4832 Update for above API changes
4834 2007-10-08 Alexander Larsson <alexl@redhat.com>
4837 Better polling fallback. This also handles the case where we have
4838 a monitor_file implementation, but it fails.
4840 2007-10-08 Alexander Larsson <alexl@redhat.com>
4844 * gio/gunixmounts.c:
4845 * programs/gio-monitor-dir.c:
4846 * programs/gio-monitor-file.c:
4847 Added cancellable to file monitoring calls.
4848 These are really sync calls and need this.
4850 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4852 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4853 (g_local_vfs_class_init):
4854 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4855 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4857 2007-10-05 Alexander Larsson <alexl@redhat.com>
4859 * gio/gdirectorymonitorprivate.h:
4860 * gio/gfilemonitorprivate.h:
4861 * gio/gdirectorymonitor.h:
4862 * gio/gfilemonitor.h:
4863 Remove *private.h and move to the public API, so that
4864 we can do implementations outside gio (such as in gvfs)
4866 * gio/gdirectorymonitor.c:
4867 * gio/gfilemonitor.c:
4868 * gio/glocaldirectorymonitor.c:
4869 * gio/gpollfilemonitor.c:
4870 * gio/inotify/inotify-helper.c:
4871 * gio/fam/fam-helper.c:
4872 Update to the new header names
4874 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4876 * gio/gdirectorymonitor.c:
4877 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4880 2007-10-04 Alexander Larsson <alexl@redhat.com>
4882 * gio/glocalfileinfo.c (get_access_rights):
4883 Set CAN_TRASH when we can move the file.
4884 We should really also check for a parent trash dir.
4886 2007-10-04 Alexander Larsson <alexl@redhat.com>
4888 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4889 Add can_trash access attribute
4891 2007-10-04 Alexander Larsson <alexl@redhat.com>
4894 (g_local_file_trash):
4895 Create info file first. This is per-spec and allows
4896 us to actually trash directories.
4898 2007-10-02 Alexander Larsson <alexl@redhat.com>
4900 * gio/gdesktopappinfo.c:
4901 Implement the new mime support code.
4902 Always set app as handling mimetype when being set as default for it
4904 2007-10-01 Alexander Larsson <alexl@redhat.com>
4906 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4907 Fix up check for xattrs:
4909 2007-10-01 Alexander Larsson <alexl@redhat.com>
4912 (g_app_info_set_as_default_for_extension):
4913 (g_app_info_add_supports_type):
4914 (g_app_info_can_remove_supports_type):
4915 (g_app_info_remove_supports_type):
4916 Make these fail nicely if not implemented
4918 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4920 * gio/glocalfileoutputstream.c:
4921 * gio/glocalfileoutputstream.h:
4926 * programs/gio-save.c:
4927 Add a GFileCreateFlags argument to operations that can create
4930 2007-10-01 Alexander Larsson <alexl@redhat.com>
4932 * gio/gappinfo.[ch]:
4933 * gio/gdesktopappinfo.c:
4934 Add more (stubbed out) mime API needed for nautilus
4936 2007-10-01 Alexander Larsson <alexl@redhat.com>
4939 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4940 Add g_app_info_set_as_default_for_extension.
4942 * gio/gdesktopappinfo.c:
4943 Dummy for g_app_info_set_as_default_for_extension
4944 Support flags in g_app_info_create_from_commandline
4946 * gio/gwin32appinfo.c:
4948 Update for API changes
4950 * gio/gthemedicon.c:
4951 Properly NULL-terminate list of icon names
4953 2007-09-28 Alexander Larsson <alexl@redhat.com>
4955 * gio/gloadableicon.h:
4956 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4958 2007-09-28 Alexander Larsson <alexl@redhat.com>
4961 Install headers in $includedir/gio-standalone/
4963 * gio-2.0.pc.in: Added.
4964 * gio-standalone.pc.in: Removed.
4967 Renamed pkg-config file to match glib (for future move)
4968 Update to the new include dir
4971 Add more TODO comments
4973 2007-09-28 Alexander Larsson <alexl@redhat.com>
4975 * gio/gdesktopappinfo.[ch]:
4976 Expose new_from_filename
4977 Add getter for is_hidden and handle it better
4979 2007-09-28 Alexander Larsson <alexl@redhat.com>
4981 * gio/gfileinfo.[ch]:
4982 Rename g_file_size_format_for_display to
4983 g_format_file_size_for_display.
4984 Now it doesn't have the g_file prefix, so we
4985 can later move it to glib.
4987 2007-09-28 Alexander Larsson <alexl@redhat.com>
4989 * gio/gappinfo.[ch]:
4990 Add g_app_info_get_id and g_app_info_get_executable.
4991 Make all getters non-reffing
4992 Make g_app_info_launch take GFile arguments.
4993 Add must_support_uris argument to g_app_info_get_default_for_type.
4995 * gio/gwin32appinfo.c:
4996 Update to GAppInfo api changes
4998 * gio/gdesktopappinfo.c:
4999 Update to GAppInfo api changes
5000 Implement supports_xdg_startup_notify
5002 * gio/gfileicon.c (g_file_icon_get_file):
5003 Make getter non-reffing.
5008 2007-09-27 Alexander Larsson <alexl@redhat.com>
5010 * gio/gfileinfo.[ch]:
5011 Add g_file_size_format_for_display helper
5013 2007-09-27 Alexander Larsson <alexl@redhat.com>
5015 * gio/glocalfileinfo.c:
5016 Set UNIX_GID from gid, not from uid
5018 2007-09-27 Alexander Larsson <alexl@redhat.com>
5021 Add g_file_set_attributes_async
5023 2007-09-27 Alexander Larsson <alexl@redhat.com>
5025 * gio/glocalfile.c (g_local_file_set_display_name):
5026 Fix set_display_name to actually rename to the right place.
5027 Use lstat to look for existing files so we don't overwrite
5030 2007-09-26 Alexander Larsson <alexl@redhat.com>
5033 Add g_file_set_display_name_async()
5035 2007-09-26 Alexander Larsson <alexl@redhat.com>
5038 Add load_partial_contents async calls
5041 Make internal function static
5043 2007-09-26 Alexander Larsson <alexl@redhat.com>
5045 * gio/glocalfileinfo.c:
5046 Correctly detect broken symlinks
5048 2007-09-26 Alexander Larsson <alexl@redhat.com>
5050 * gio/gcancellable.c (g_cancellable_cancel):
5051 Allow cancel on NULL cancellable
5053 2007-09-25 Alexander Larsson <alexl@redhat.com>
5055 * gio/gsimpleasyncresult.c:
5056 Don't allocate g_error manually.
5057 Fixes g_slice/g_new mixup crash
5059 2007-09-25 Alexander Larsson <alexl@redhat.com>
5061 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5062 Actually set active_backend.
5063 This means the monitor will be cancelled correctly.
5065 2007-09-25 Alexander Larsson <alexl@redhat.com>
5067 * gio/gdirectorymonitor.c:
5068 Set timeout to NULL when destroying
5070 2007-09-25 Alexander Larsson <alexl@redhat.com>
5073 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5074 that is a better description of the error.
5076 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5078 * gio/gvfs.c: (g_vfs_get_local):
5079 Make the local vfs variable static. The same instance should
5082 2007-09-24 Alexander Larsson <alexl@redhat.com>
5084 * gio/glocalfileinfo.c:
5085 Pass in actual length read into sniffer, not the length
5088 2007-09-21 Alexander Larsson <alexl@redhat.com>
5090 * gio/gfileenumerator.c:
5093 * gio/gfileinputstream.c:
5094 * gio/gfileoutputstream.c:
5095 * gio/ginputstream.c:
5096 * gio/goutputstream.c:
5097 Don't crash if async callbacks are NULL
5099 2007-09-20 Alexander Larsson <alexl@redhat.com>
5102 Add async enumerate_children method and default
5105 2007-09-20 Alexander Larsson <alexl@redhat.com>
5108 Add g_file_contains_file & g_file_get_relative_path, since they
5109 were needed for nautilus.
5110 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5115 Implement new methods
5117 2007-09-17 Alexander Larsson <alexl@redhat.com>
5120 * gio/gfileinputstream.[ch]:
5121 * gio/gfileoutputstream.[ch]:
5123 * gio/glocalfileenumerator.[ch]:
5124 * gio/glocalfileinfo.[ch]:
5125 * gio/glocalfileinputstream.c:
5126 * gio/glocalfileoutputstream.c:
5127 * gio/gpollfilemonitor.c:
5128 * programs/gio-copy.c:
5129 * programs/gio-info.c:
5130 * programs/gio-move.c:
5131 Rename get_file_info to query_info() to make it clearer
5132 that these are not simple getters, but do i/o.
5134 2007-09-17 Alexander Larsson <alexl@redhat.com>
5136 * gio/gdatainputstream.[ch]:
5137 * gio/test-streams.c:
5138 Use _read_XXX instead of _get_XXX for the i/o calls
5141 2007-09-17 Alexander Larsson <alexl@redhat.com>
5144 Added needed stuff to TODO comment
5146 2007-09-17 Alexander Larsson <alexl@redhat.com>
5148 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5149 Don't error out removing the backup copy if it doesn't
5152 2007-09-14 Alexander Larsson <alexl@redhat.com>
5154 * programs/Makefile.am:
5155 * programs/gvfs-*.c:
5157 Renamed apps from gvfs-xxx to gio-xxx.
5159 2007-09-14 Alexander Larsson <alexl@redhat.com>
5162 * gio/gfileoutputstream.[ch]:
5163 * gio/glocalfileoutputstream.c:
5164 * programs/gvfs-save.c:
5165 g_file_output_stream_get_etag doesn't do i/o, so remove
5166 cancellation and error.
5168 2007-09-14 Alexander Larsson <alexl@redhat.com>
5171 Add new_etag output to replace_contents functions
5173 2007-09-14 Alexander Larsson <alexl@redhat.com>
5175 * gio/gfileoutputstream.[ch]:
5176 Add async get_file_info and default implementation
5178 2007-09-14 Alexander Larsson <alexl@redhat.com>
5180 * gio/gfileinputstream.c:
5181 Implement fallback wrapper for async get_file_info
5183 2007-09-14 Alexander Larsson <alexl@redhat.com>
5186 Add etag out argument to load_contents
5191 2007-09-14 Alexander Larsson <alexl@redhat.com>
5193 * gio/gcontenttype.c (looks_like_text):
5194 Whitespace like tab, cr and lf do not make the
5197 2007-09-14 Alexander Larsson <alexl@redhat.com>
5199 * gio/gfileinputstream.[ch]:
5200 Add async get_file_info.
5202 2007-09-13 Alexander Larsson <alexl@redhat.com>
5204 * gio/goutputstream.c (g_output_stream_write_all):
5205 Allow NULL for bytes_written
5207 2007-09-13 Alexander Larsson <alexl@redhat.com>
5209 * gio/gmemoryinputstream.[ch]:
5210 Add accessors for data
5212 2007-09-13 Alexander Larsson <alexl@redhat.com>
5214 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5215 Don't crash if length is NULL