1 2008-10-06 Colin Walters <walters@verbum.org>
3 Bug 554745 - GFileAttributeInfoList should be boxed
5 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
6 for convenience of bindings.
7 * gio/gfileattribute.h: Prototype it.
9 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
11 Bug 554970 – segfault when update-desktop-database is not available
14 * gdesktopappinfo.c (run_update_command): Have the error set before
17 2008-10-01 David Zeuthen <davidz@redhat.com>
19 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
20 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
21 instead of the gio URI (such as sftp://foo/file.avi) when using
22 g_app_info_launch() and friends. With a sufficiently recent gvfs,
23 apps using gio+gvfs will map the FUSE file:// URI back to the gio
24 URI (and thus bypass the fuse daemon) thanks the patch from bug
25 #530654. Since Nautilus is an user of g_app_info_launch() it
26 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
27 when launced via the file manager. Win. Fixes bug #528670.
29 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
30 mapping to the description of GAppInfo.
32 2008-09-30 Tor Lillqvist <tml@novell.com>
34 * tests/Makefile.am: Build desktop-app-info only on Unix.
36 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
37 g_critical(). Pass a large enough result buffer to
38 GetVolumePathNameW(). Just use MAX_PATH.
40 2008-09-29 David Zeuthen <davidz@redhat.com>
42 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
44 2008-09-26 Dan Winship <danw@gnome.org>
46 * tests/data-input-stream.c:
47 * tests/data-output-stream.c:
48 * tests/live-g-file.c:
49 * tests/memory-input-stream.c:
50 * tests/memory-output-stream.c: Use g_assert_error() and
53 2008-09-26 Matthias Clasen <mclasen@redhat.com>
55 Bug 545350 – GAppInfo deletion
56 Bug 545351 – Reset associations for content type
59 * gappinfo.[hc]: New functions g_app_info_can_delete,
60 g_app_info_delete and g_app_info_reset_type_associations.
63 * gwin32appinfo.c: Implementations of these.
66 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
68 2008-09-26 Dan Winship <danw@gnome.org>
70 Bug 505361 – gunixinputstream.c assumes poll() available
71 Bug 509446 – portable blocking gio cancellation
73 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
74 GPollFD for a cancellable (which is slightly more complicated on
77 * gunixinputstream.c (g_unix_input_stream_read):
78 * gunixoutputstream.c (g_unix_output_stream_write): Use
79 g_cancellable_make_pollfd() and g_poll() rather than using poll()
82 * tests/unix-streams.c: test of GUnixInputStream,
83 GUnixOutputStream, and GCancellable.
85 2008-09-26 Dan Winship <danw@gnome.org>
87 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
88 cast to stop a gcc warning
90 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
93 2008-09-25 Dan Winship <danw@gnome.org>
95 Bug 553426 - cancellable clarifications
97 * gcancellable.c (g_cancellable_class_init): Add a note to the
98 "cancelled" signal docs warning about thread-safety issues
99 (g_cancellable_cancel): Note that cancelling an asynchronous
100 operation takes effect asynchronously, not immediately.
102 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
104 * gioenums.h: Add new GFileCopyFlag, to leave target file with
105 default perms, instead of setting the source file perms, in a copy
108 * gfile.c (g_file_copy_attributes)
109 (build_attribute_list_for_copy)
110 (should_copy): Not copy "unix::mode" attribute if we have received
111 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
113 2008-09-20 Matthias Clasen <mclasen@redhat.com>
115 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
117 2008-09-17 Matthias Clasen <mclasen@redhat.com>
119 * === Released 2.18.1 ===
121 2008-09-16 Michael Natterer <mitch@imendio.com>
123 * gcontenttype.c (g_content_type_guess): can't assign the return
124 value of g_strdupv() to an array. Fill the array manually with
125 const strings instead (it is never freed anyway). Fixes the
126 build. Also fixed indentation.
128 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
130 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
131 Fix trivial typo to unbreak the build (there was a colon
132 instead of a semicolon at the end of a statement).
134 2008-09-15 Matthias Clasen <mclasen@redhat.com>
136 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
139 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
142 2008-09-15 Matthias Clasen <mclasen@redhat.com>
144 Bug 551681 – g_content_type_guess() too naive with filenames
146 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
147 at the end of the filename, and declare it a directory.
148 Patch by Bastien Nocera
150 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
152 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
155 * gdesktopappinfo.c: add a note in the docs clarifying what the
156 "filename" parameter really is.
158 2008-09-12 Tor Lillqvist <tml@novell.com>
160 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
161 FormatMessage() etc here. Call g_win32_error_message() instead
162 which already does all that. Besides, the code was broken as it
163 called the default "A" version of FormatMessage() but still
164 thought it produced a wide string.
166 2008-09-12 Michael Natterer <mitch@imendio.com>
168 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
169 in the documentation.
171 2008-09-08 Christian Neumair <cneumair@gnome.org>
173 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
174 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
175 Use non-blocking pipe for mount helper I/O. Fixes #550647.
177 2008-09-06 Matthias Clasen <mclasen@redhat.com>
179 Bug 551149 – xdgmime mem leak
181 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
182 a memory leak. Patch by Christian Persch
184 2008-09-04 Tor Lillqvist <tml@novell.com>
186 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
189 2008-09-02 Matthias Clasen <mclasen@redhat.com>
191 * === Released 2.18.0 ===
193 2008-09-02 Michael Natterer <mitch@imendio.com>
195 * *.h: big header formatting cleanup: indentation, vtable
196 formatting, consistent spacing in (* vfunc), trailing whitespace
197 removal. Formatting should be pretty consistent in all GIO headers
200 2008-09-02 Matthias Clasen <mclasen@redhat.com>
202 * gmount.h: Document guess_content_type sync vfunc.
204 2008-09-02 Michael Natterer <mitch@imendio.com>
206 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
207 fix parent_class member to be GFilterOutputStreamClass (not
208 GOutputStreamClass). Drop three pointers of padding, which is
209 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
210 so the class struct size stays the same.
212 2008-09-02 Matthias Clasen <mclasen@redhat.com>
214 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
216 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
217 nonexisting return values. Pointed out by Cosimo Cecchi.
219 2008-08-23 Tor Lillqvist <tml@novell.com>
221 Bug 548988 - g_file_replace fails on Windows when the target file
224 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
225 Windows, close the file before potentially renaming it (in case we
226 have been writing to a file with a temporary name).
228 (g_local_file_output_stream_close, handle_overwrite_open): Use
229 GLocalFileStat instead of plain struct stat, for passing to
230 _g_local_file_info_create_etag(). Thus also use _fstati64()
231 instead of plain fstat() on Windows.
233 2008-08-18 Matthias Clasen <mclasen@redhat.com>
235 * === Released 2.17.7 ===
237 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
239 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
242 2008-08-13 Tor Lillqvist <tml@novell.com>
244 * win32/gwinhttpvfs.c
245 * win32/gwinhttpvfs.h
246 * win32/gwinhttpfile.c
247 * win32/gwinhttpfileinputstream.c
248 * win32/gwinhttpfileoutputstream.c: Refactor some common code
249 snippets into helper functions. Check HTTP response status
250 codes. Implement g_winhttp_file_query_info(), looking at
251 Content-Length, Content-Type and Last-Modified.
253 * win32/winhttp.h: Add some symbolic constants that are not
254 publicly documented. Just a handful, so it should be OK to use
255 information from the Windows SDK's headers.
257 2008-08-13 Tor Lillqvist <tml@novell.com>
259 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
262 * win32/gwin32directorymonitor.c
263 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
265 2008-08-13 Matthias Clasen <mclasen@redhat.com>
268 * goutputstream.c: Add intro docs.
270 2008-08-13 Tor Lillqvist <tml@novell.com>
272 * win32/gwinhttpfileoutputstream.c
273 (g_winhttp_file_output_stream_write): Don't write the
274 Content-Length header ourselves, WinHttpSendRequest() takes care
275 of that when the dwTotalLength parameter is non-zero. Increment
276 offset by the number of actual bytes sent, although I wonder if
277 such a scenario is possible where less than requested would be
278 sent and accepted by the server without errors.
280 2008-08-13 Tor Lillqvist <tml@novell.com>
282 * win32/gwinhttpvfs.c
283 * win32/gwinhttpvfs.h
284 * win32/gwinhttpfile.c
285 * win32/gwinhttpfile.h
286 * win32/gwinhttpfileinputstream.c
287 * win32/gwinhttpfileinputstream.h
288 * win32/gwinhttpfileoutputstream.c
289 * win32/gwinhttpfileoutputstream.h: New files implementing
290 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
291 Windows. The implementation uses the WinHttp API. Both reading and
292 writing are supported, i.e. GET and PUT requests. When writing,
293 each write call is done using a separate PUT request with a
294 Content-Range header. Requests for file URIs and plain pathnames
295 are forwarded to GLocalVfs.
297 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
298 WINE. Used as there is no <winhttp.h> bundled with mingw, and
299 requiring people to download the Windows SDK just for this one
300 header is not reasonable.
302 * win32/Makefile.am: Add above files.
304 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
305 the plumbing for the above.
307 2008-08-11 Sven Neumann <sven@gimp.org>
309 * gfilenamecompleter.c
310 * glocaldirectorymonitor.c
312 * gunionvolumemonitor.c
316 * gunixvolumemonitor.c
319 * gwin32volumemonitor.c: use canonical signal names.
321 2008-08-11 Tor Lillqvist <tml@novell.com>
323 * Makefile.am: Put a list of the platform-dependent .la files in
324 the subdirectories in the platform_deps Make variable, and make
325 libgio-2.0.la depend on that, so that it gets relinked if one of
326 the dependent libraries has changed.
328 2008-08-11 Tor Lillqvist <tml@novell.com>
330 * Makefile.am (platform_libadd): Remove -lwininet which had been
331 added by mistake. We will probably eventually be using WinHTTP,
332 not the older WinInet anyway. (Actually I am working on it.)
334 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
336 Bug 547080 – g_file_copy leaks expected errors
338 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
339 before trying the next fallback routine.
341 2008-08-09 Loïc Minier <lool@dooz.org>
343 Bug 535124 – umask 002 not being applied for new directories, new
344 files get the correct umask
346 * gfile.c (g_file_make_directory)
347 (g_file_make_directory_with_parents): Document ownership and
348 permissions of newly created directories as being the default
351 2008-08-08 Loïc Minier <lool@dooz.org>
353 Bug 535124 – umask 002 not being applied for new directories, new
354 files get the correct umask
356 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
359 2008-08-08 Tor Lillqvist <tml@novell.com>
361 * gwin32mount.c: Remove unused code. Whitespace cleanup.
363 * gwin32volumemonitor.c (get_connected_drives): Put questionable
364 code that didn't actually do anything inside #if 0, and add a
365 comment wondering what the code was supposed to do. This also gets
366 rid of a leftover debugging printout.
368 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
370 * gfileicon.c (g_file_icon_get_property)
371 (g_file_icon_set_property): New functions.
372 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
374 (g_file_icon_new): Use the property (bug #546132).
376 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
378 * gthemedicon.c (g_themed_icon_get_property): Also handle
379 `PROP_USE_DEFAULT_FALLBACKS'.
380 (g_themed_icon_class_init): Make
381 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
383 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
385 Bug 546371 – Improve docs re g_file_monitor
387 * gfilemonitor.c: Mention g_file_monitor() in the docs.
389 2008-08-04 Matthias Clasen <mclasen@redhat.com>
391 * === Released 2.17.6 ===
393 2008-08-04 Matthias Clasen <mclasen@redhat.com>
395 * === Released 2.17.5 ===
397 2008-08-04 Matthias Clasen <mclasen@redhat.com>
399 Bug 546017 – Don't copy attributes when copying a symlink
401 * gfile.c (g_file_copy_attributes): Specify
402 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
403 g_file_set_attributes_from_info. Patch by Christian Kellner
405 2008-08-04 Matthias Clasen <mclasen@redhat.com>
407 * gemblemedicon.[hc]:
409 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
410 a bit more extensible. Work by Clemens Buss.
412 * gioenums.h: Add GEmblemOrigin.
415 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
417 Bug 546079 – leak in xdgmime
419 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
421 2008-08-03 Tor Lillqvist <tml@novell.com>
423 * win32/gwin32directorymonitor.h
424 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
427 2008-08-03 Tor Lillqvist <tml@novell.com>
429 * win32/gwin32directorymonitor.c
430 (g_win32_directory_monitor_callback): Make prototype match
431 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
432 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
435 (g_win32_directory_monitor_constructor):
436 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
437 names in the GLib API on Windows, so convert to UTF-16 and open
440 2008-08-03 Tor Lillqvist <tml@novell.com>
442 Bug 541036 - Gnumeric crashes when trying to open Desktop or
443 user's folder under Windows
445 * win32/gwin32directorymonitor.c
446 (g_win32_directory_monitor_constructor): Ignore error from
447 CreateFile() when opening directory. Instead of asserting, just
448 store INVALID_HANDLE_VALUE then in
449 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
450 ReadDirectoryChangesW().
451 (g_win32_directory_monitor_cancel): Don't attempt to close
452 directory handle if it is INVALID_HANDLE_VALUE.
454 2008-08-01 Matthias Clasen <mclasen@redhat.com>
456 * gdesktopappinfo.c: Remove debug spew
458 2008-08-01 Hans Breuer <hans@breuer.org>
460 * makefile.msc : add gemblembedicon
462 2008-07-30 Matthias Clasen <mclasen@redhat.com>
464 Bug 545457 – gdmsetup crashed with SIGSEGV in
465 g_unix_mount_guess_should_display()
467 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
468 crash if no mount is found.
470 2008-07-28 Matthias Clasen <mclasen@redhat.com>
472 Bug 545203 – gfile.c: argument is different type.
474 * gfile.c (open_read_async_thread): Pass a GError **
475 to g_file_set_error_literal.
476 Reported by Kazuki Iwamoto
478 2008-07-28 Matthias Clasen <mclasen@redhat.com>
480 Bug 545157 – wrong/no list of "open with" applications for .cc and
483 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
484 Collect all ancestors, not just direct parents. Pointed
485 out by Bastien Nocera
487 2008-07-28 Matthias Clasen <mclasen@redhat.com>
489 * Makefile.am: Install gemblemedicon.h
491 2008-07-28 Matthias Clasen <mclasen@redhat.com>
493 * gemblemedicon.[hc]: Add a GIcon implementation that can
494 add an emblem to another icon.
501 * gfileicon.c: Small documentation additions.
503 2008-07-28 Tor Lillqvist <tml@novell.com>
505 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
508 2008-07-27 Tor Lillqvist <tml@novell.com>
510 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
512 2008-07-24 David Zeuthen <davidz@redhat.com>
516 Also export a g_mount_guess_content_type_sync() function.
518 2008-07-23 Matthias Clasen <mclasen@redhat.com>
520 529694 – SELinux context setting support
522 * gfileinfo.c: Support setting selinux attributes.
523 Patch by Tomas Bzatek
525 2008-07-22 Priit Laes <plaes@plaes.org>
527 Bug 544140 - fam-helper 64-bit issue?
529 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
531 2008-07-21 Matthias Clasen <mclasen@redhat.com>
533 * === Released 2.17.4 ===
535 2008-07-20 Matthias Clasen <mclasen@redhat.com>
537 * gvolumemonitor.[hc]:
542 * gmount.c: Documentation fixes
544 2008-07-19 Matthias Clasen <mclasen@redhat.com>
546 543504 – crash in Epiphany Web Browser: Opening local file
557 * gvolume.c: Register types thread-safely.
558 Patch by Christian Persch
560 2008-07-18 Matthias Clasen <mclasen@redhat.com>
562 * gcontenttype.c: Remove debug spew
564 2008-07-18 Matthias Clasen <mclasen@redhat.com>
566 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
569 * fen/fen-kernel.c: Remove a warning that was causing
570 crashes. Reported by Lin Ma.
572 2008-07-18 Matthias Clasen <mclasen@redhat.com>
574 Bug 543040 – async reading on dummy file will crash on
577 * gfile.c (open_read_async_thread): Cope with read_fn being
578 NULL. Reported by Lin Ma.
580 2008-07-18 Matthias Clasen <mclasen@redhat.com>
583 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
585 2008-07-16 Matthias Clasen <mclasen@redhat.com>
589 * giomodule.c: Rename a chapter id to avoid filename conflict.
591 2008-07-16 Matthias Clasen <mclasen@redhat.com>
593 Bug 540616 – mem leak in filechooser button
595 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
596 the mount entry. Reported by Chrisitan Persch
598 2008-07-16 Matthias Clasen <mclasen@redhat.com>
600 * gfile.c: Small documentation fixes.
602 2008-07-15 Matthias Clasen <mclasen@redhat.com>
604 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
606 2008-07-08 Matthias Clasen <mclasen@redhat.com>
611 * gmount.c: Documentation improvements.
613 2008-07-08 Matthias Clasen <mclasen@redhat.com>
616 * gmount.[hc]: Add g_mount_guess_content_type().
618 2008-07-06 David Zeuthen <davidz@redhat.com>
621 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
622 is needed for easily handling adoption of foreign volumes by
623 out-of-process volume monitors (#541793)
625 2008-07-06 David Zeuthen <davidz@redhat.com>
627 * gvolumemonitor.[ch]:
628 * gunionvolumemonitor.c: Export the eject-button signal on the
629 volume monitor class (#541794).
631 2008-07-06 Matthias Clasen <mclasen@redhat.com>
633 * gappinfo.c: More doc tweaks
635 2008-07-05 Matthias Clasen <mclasen@redhat.com>
637 * gappinfo.c: Clarify some docs
639 2008-07-03 Matthias Clasen <mclasen@redhat.com>
641 * gdesktopappinfo.c: Fix a stupid mistake.
643 2008-07-02 Matthias Clasen <mclasen@redhat.com>
645 * === Released 2.17.3 ===
647 2008-07-02 Matthias Clasen <mclasen@redhat.com>
649 * gfilemonitor.c: Fix the build.
651 2008-07-02 Matthias Clasen <mclasen@redhat.com>
653 Bug 536160 – Add g_file_monitor()
656 * gfile.[hc]: Add g_file_monitor which can return either
657 a file or a directory monitor. Proposed by Behdad Esfahbod
659 2008-07-02 Matthias Clasen <mclasen@redhat.com>
661 536733 – gio build failure on Irix
663 * glocalfile.c: Use a configure check for structfs.f_bavail.
665 2008-07-02 Matthias Clasen <mclasen@redhat.com>
667 Bug 534639 – add g_desktop_app_info_new_from_keyfile
670 * gdesktopappinfo.[hc]: Add a function to create a
671 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
673 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
675 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
677 2008-07-01 Matthias Clasen <mclasen@redhat.com>
679 * gunixmounts.c: Fix a doc typo.
681 2008-07-01 Cody Russell <bratsche@gnome.org>
683 * gio/gcontenttype.c:
684 * gio/gwin32appinfo.c:
685 * gio/gwin32volumemonitor.c:
686 * gio/gwin32mount.c: Fixed some include problems.
688 2008-07-01 Cody Russell <bratsche@gnome.org>
692 Moved all relevant typedefs into these files.
695 Updated wrt added files.
697 Split types into separate file for easier maintainership. (#538564)
699 2008-06-30 Matthias Clasen <mclasen@redhat.com>
701 Bug 540331 – g_file_append_to () documentation: can return NULL
703 * gfile.c (g_file_append_to): Clarify docs.
706 2008-06-30 Matthias Clasen <mclasen@redhat.com>
708 Bug 539090 – g_content_type_from_mime_type() should unalias
710 * gcontentype.c (g_content_type_from_mime_type): Unalias.
711 Patch by Markus Bergman
713 2008-06-30 Matthias Clasen <mclasen@redhat.com>
715 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
718 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
719 on ppc and alpha. Reported by Mart Raudsepp
721 2008-06-29 Matthias Clasen <mclasen@redhat.com>
724 * tests/memory-output-stream.c: Add some tests for
727 2008-06-29 Matthias Clasen <mclasen@redhat.com>
729 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
732 * gmemoryoutputstream.c (array_resize): Handle truncation to
733 zero correctly. Reported by Akira Tagoh
735 2008-06-29 Matthias Clasen <mclasen@redhat.com>
737 * gmemoryoutputstream.c: Trivial doc fixes
739 2008-06-29 Matthias Clasen <mclasen@redhat.com>
741 Bug 540802 – g_list_prepend doesn't concat lists
743 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
744 one list to another. Pointed out by Jan Arne Petersen
746 2008-06-28 Michael Natterer <mitch@imendio.com>
748 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
750 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
752 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
753 to avoid problems with partial icon themes.
755 2008-06-17 Hans Breuer <hans@breuer.org>
757 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
758 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
759 access again on win32, see bug #538127
760 * giomodule.c : ensure GWin32VolumeMonitor is registered
761 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
762 * Makefile.am makefile.msc : updated
764 2008-06-16 Hans Breuer <hans@breuer.org>
766 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
767 and initialization in one step avoids c99ism
769 2008-06-16 Christian Persch <chpe@gnome.org>
772 * gio/gbufferedinputstream.c
774 * gio/gdatainputstream.c
775 * gio/gdesktopappinfo.c
777 * gio/gfileenumerator.c
778 * gio/gfileinputstream.c
779 * gio/gfileoutputstream.c
781 * gio/glocaldirectorymonitor.c
783 * gio/glocalfileenumerator.c
784 * gio/glocalfileinfo.c
785 * gio/glocalfilemonitor.c
786 * gio/glocalfileoutputstream.c
787 * gio/gmemoryinputstream.c
788 * gio/gmemoryoutputstream.c
789 * gio/goutputstream.c
790 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
793 2008-06-16 Tor Lillqvist <tml@novell.com>
795 Bug 538362 - Get Win32 icons back in the file chooser
797 * gcontenttype.c (g_content_type_get_icon): Look up the icon
798 corresponding to a file extension in the Registry. Patch by Hans
800 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
802 2008-06-16 Tor Lillqvist <tml@novell.com>
804 Patches by Hans Breuer:
806 * glocalfile.c (is_xp_or_later): Handle compiling against older
807 SDK headers with missing VerifyVersionInfo(). Conditioned on
808 _MSC_VER, but should probably use some better test.
809 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
810 uninitialised statfs_result variable on Win32.
812 2008-06-16 Michael Natterer <mitch@imendio.com>
814 * *.c: chain up unconditionally in finalize() and dispose(). Also
815 don't dereference these function pointers when calling them since
816 that has no meaning at all.
818 2008-06-16 Ross Burton <ross@burtonini.com>
821 Remove check for dispose implementation as it annoys Emmanuele.
823 2008-06-16 Ross Burton <ross@burtonini.com>
825 Bug 536252 – GFileEnumerator should allow access to the containing
831 Add g_file_enumerator_get_container() and a container writeable
832 construct-only property. Also shuffle around typedefs to make it
835 * glocalfileenumerator.c:
836 * glocalfileenumerator.h:
838 Instead of a string filename take a GFile in the constructor and
839 use it to set the container property.
844 2008-06-16 Matthias Clasen <mclasen@redhat.com>
846 * gfile.c: Make includes more uniform
848 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
850 * tests/live-g-file.c (sample_struct):
851 Use less fancy unicode filenames, so the test doesn't fail
852 on Mac OS X (#531476).
854 2008-06-12 Matthias Clasen <mclasen@redhat.com>
856 * === Released 2.17.2 ===
858 2008-06-12 Matthias Clasen <mclasen@redhat.com>
860 * === Released 2.17.1 ===
862 2008-06-11 A. Walton <awalton@gnome.org>
864 * tests/g-file.c (test_g_file_new_null):
865 Fix broken test case.
867 2008-06-11 Matthias Clasen <mclasen@redhat.com>
869 * pltcheck.sh: We use g_clear_error now.
871 2008-06-11 Matthias Clasen <mclasen@redhat.com>
873 * glocalfile.c (g_local_file_enumerate_children): Revert
874 an unintended change.
876 2008-06-11 Matthias Clasen <mclasen@redhat.com>
878 * gfile.c (g_file_replace_contents): Don't unref before the last use.
880 2008-06-10 Matthias Clasen <mclasen@redhat.com>
882 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
885 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
886 as icon for the desktop directory, also make user-home and
887 user-desktop the preferred icons.
889 2008-06-10 Matthias Clasen <mclasen@redhat.com>
892 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
893 to add a name to the front of the list.
895 2008-06-10 Matthias Clasen <mclasen@redhat.com>
897 Bug 537392 – Additional colon in xattr name
899 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
900 too. Reported by Alessandro Morandi
902 2008-06-10 Matthias Clasen <mclasen@redhat.com>
904 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
907 * glocalfile.c (get_fs_type): Add afs and autofs.
908 Patch by Danny Baumann.
910 2008-06-10 Matthias Clasen <mclasen@redhat.com>
912 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
914 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
915 is no parent. (Owen Taylor, patch by Christian Neumair)
917 2008-06-10 Paolo Borelli <pborelli@katamail.com>
919 * gfile.c (g_file_replace_contents): do not leak the output stream.
921 2008-06-10 Michael Natterer <mitch@imendio.com>
923 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
924 uninitialized memory as array index.
926 2008-06-10 Tor Lillqvist <tml@novell.com>
928 * gcontenttype.c (g_content_type_can_be_executable)
929 (g_content_type_get_icon) [Win32]: Add TODO comments.
931 2008-06-09 Matthias Clasen <mclasen@redhat.com>
933 * xdgmime/Makefile.am: Fix the build
935 2008-06-09 Matthias Clasen <mclasen@redhat.com>
937 * gcontenttype.c (g_content_type_get_icon): Use icons specified
938 in the shared mime database, if available.
940 * xdgmime/*: Sync with upstream. This brings support for
941 glob weights, generic icons, and changes the cache format to
944 2008-05-28 Michael Natterer <mitch@imendio.com>
946 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
947 the global CPPFLAGS now.
949 * tests/data-input-stream.c
950 * tests/data-output-stream.c
951 * tests/g-file-info.c
953 * tests/live-g-file.c
954 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
956 2008-05-27 Matthias Clasen <mclasen@redhat.com>
958 * === Released 2.17.0 ===
960 * tests/live-g-file.c: Clean up after the tests, so make distcheck
961 doesn't complain about leftover files.
963 2008-05-27 simon.zheng <simon.zheng@sun.com>
965 * glocalfile.c: (g_local_file_query_filesystem_info):
966 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
968 2008-05-26 Michael Natterer <mitch@imendio.com>
970 * gmemoryoutputstream.h: declare
971 g_memory_output_stream_get_data_size().
973 2008-05-26 Matthias Clasen <mclasen@redhat.com>
975 * tests/*: Make tests work
977 2008-05-26 Matthias Clasen <mclasen@redhat.com>
979 * gio.symbols: Add g_memory_output_stream_get_data_size.
981 2008-05-25 Ross Burton <ross@burtonini.com>
984 Fix typo in error message (#534764).
986 2008-05-25 Ross Burton <ross@burtonini.com>
989 Fix circular dependency loop for gioenumtypes.h (#534759).
991 2008-05-19 Hans Breuer <hans@breuer.org>
993 * Makefile.am : EXTRA_DIST += makefile.msc
995 2008-05-17 Matthias Clasen <mclasen@redhat.com>
998 * gcontenttype.c: (g_content_type_from_mime_type):
999 New function to create a content type from a mime type. (#527175,
1002 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1004 Bug 532965 – Should not return filesystem::free for certain file systems
1006 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1007 free space for ncpfs.
1009 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1011 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1013 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1014 st_dev might be zero.
1016 2008-05-16 Tor Lillqvist <tml@novell.com>
1018 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1019 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1021 2008-05-13 Bastien Nocera <hadess@hadess.net>
1023 * gfile.c (has_valid_scheme): A URI scheme must start with a
1024 letter, even if later more characters are allowed (#532852)
1026 2008-05-05 Michael Natterer <mitch@imendio.com>
1028 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1029 code from being checked in that breaks the build of applications
1030 which use G_DISABLE_SINGLE_INCLUDES.
1032 * makegioalias.pl: make the alias file include "glib.h" instead of
1035 * gio.symbols: whitespace change to force regeneration of the
1036 alias file after above script change.
1038 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1040 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1042 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1044 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1046 2008-04-28 David Zeuthen <davidz@redhat.com>
1048 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1049 displaying mounts in a subdirectory not accessible to the
1052 2008-04-22 Michael Natterer <mitch@imendio.com>
1054 * Makefile.am: fix library versioning (it was 0.0.0).
1056 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1058 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1059 Default disable all loggings.
1060 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1061 (port_fetch_event_cb): Fixed two macro nits.
1063 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1065 * xdgmime/xdgmime.c: Rework the timestamp checking code
1066 to protect against duplicate directories in XDG_DATA_DIRS.
1067 Fixes fd.o bug 12513, reported by Joe Shaw.
1069 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1071 Partically revert the last commit after realizing that
1072 xdg_mime_media_type_equal doesn't have to init at all.
1074 * xdgmime/xdgmime.h:
1075 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1077 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1079 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1081 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1082 reported by Joe Shaw and Federico Mena Quintero.
1084 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1085 (xdg_mime_media_type_equal): Turn into a wrapper around the
1088 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1089 functions throughout.
1091 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1093 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1094 tolerate an empty TryExec= line without failing; nautilus used
1095 to create launchers with these in previous versions. Fixes #528433
1097 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1099 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1100 after name. Fixes #527132.
1102 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1104 * gfile.c: (g_file_replace):
1107 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1109 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1111 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1112 by Christian Kellner.
1114 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1116 * gunixmounts.c: (g_unix_mount_guess_should_display):
1117 Don't list the user directory as a mount, fix potential issue
1118 when other users have a similar naming and don't special case the
1119 gvfs mounts there since that's not required (#525866)
1121 2008-03-31 Alexander Larsson <alexl@redhat.com>
1123 * glocalfile.c (get_parent):
1126 2008-03-31 A. Walton <awalton@svn.gnome.org>
1128 * gfile.c (g_file_query_file_type):
1129 Always return a GFileType enum value (#520715).
1131 2008-03-31 Alexander Larsson <alexl@redhat.com>
1133 * glocalfileenumerator.c:
1134 Read readdir() info in chunks (of 1000) and sort
1135 the chunks by inode before stat:ing.
1136 This is a 20% performance increase in testing
1137 gvfs-ls on /usr/bin with cold cache.
1139 2008-03-31 Alexander Larsson <alexl@redhat.com>
1141 * gmemoryoutputstream.c:
1142 Clarify docs for g_memory_output_stream_get_size.
1143 Add g_memory_output_stream_get_data_size.
1145 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1149 * gfile.h: Add g_file_query_file_type convenience function
1150 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1152 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1154 * gfileenumerator.c:
1155 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1157 2008-03-28 A. Walton <awalton@svn.gnome.org>
1159 * giomodule.c (_g_io_modules_ensure_loaded):
1160 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1163 2008-03-28 Alexander Larsson <alexl@redhat.com>
1166 (copy_stream_with_progress):
1169 2008-03-28 Alexander Larsson <alexl@redhat.com>
1172 (copy_stream_with_progress):
1173 (file_copy_fallback):
1174 Fallback to g_file_query_info for source size
1175 if g_file_input_stream_query_info fails. (#524579)
1177 2008-03-28 Alexander Larsson <alexl@redhat.com>
1179 * glocalfile.c (g_local_file_move):
1180 Reuse old string instead of adding new one.
1182 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1184 * fen/*.[hc]: still copyright issue. I hate copyright.
1186 2008-03-27 Alexander Larsson <alexl@redhat.com>
1188 * glocalfile.c (g_local_file_move):
1189 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1190 file over directory. This is according to the docs and what the move via
1191 copy+remove fallback does.
1193 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1195 * fen/*.[hc]: Updated copyright.
1197 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1199 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1201 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1203 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1204 not emit attribute changed events when optimizing changed events.
1205 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1208 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1210 * gmountoperation.[hc]: Small documentation additions
1212 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1214 * gunixmounts.c: (guess_mount_type):
1215 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1217 2008-03-19 Alexander Larsson <alexl@redhat.com>
1220 (copy_stream_with_progress):
1221 Bump block side for copy to 64k to minimize
1222 overhead for low latency links. (#523015)
1224 2008-03-16 Tor Lillqvist <tml@novell.com>
1226 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1227 depend on gio.def on Windows.
1229 2008-03-12 David Zeuthen <davidz@redhat.com>
1233 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1235 2008-03-14 Alexander Larsson <alexl@redhat.com>
1239 Avoid redudant tests (#521851)
1240 Patch from Josselin Mouette
1242 2008-03-14 Alexander Larsson <alexl@redhat.com>
1245 (g_file_monitor_is_cancelled):
1246 Fix C89 issue (#521672)
1247 Patch from Jens Granseuer
1249 2008-03-14 Alexander Larsson <alexl@redhat.com>
1251 * fam/fam-helper.[ch]:
1253 Shut down fam (including removing fam GSource) when
1254 module is unloaded (#521513)
1255 Patch from Joe Marcus Clarke
1257 2008-03-14 Alexander Larsson <alexl@redhat.com>
1260 (_g_io_modules_ensure_loaded):
1263 2008-03-14 Alexander Larsson <alexl@redhat.com>
1266 (g_local_file_query_filesystem_info):
1267 Use right define name for f_fstypename member check
1269 2008-03-14 Alexander Larsson <alexl@redhat.com>
1272 * fen/Makefile.am: Added.
1273 * fen/fen-data.[ch]: Added.
1274 * fen/fen-dump.[ch]: Added.
1275 * fen/fen-helper.[ch]: Added.
1276 * fen/fen-kernel.[ch]: Added.
1277 * fen/fen-missing.[ch]: Added.
1278 * fen/fen-node.[ch]: Added.
1279 * fen/fen-sub.[ch]: Added.
1280 * fen/gfendirectorymonitor.[ch]: Added.
1281 * fen/gfenfilemonitor.[ch]: Added.
1283 Added Solaris FEN file notification backend.
1284 Patch from Lin Ma <Lin.Ma@Sun.COM>
1286 2008-03-13 Tor Lillqvist <tml@novell.com>
1288 * Makefile.am: Actually use the gio.def file when linking the
1289 library on Windows. Produce .lib library for Microsoft's toolchain
1290 when possible. Install the .lib and .def file like for the other
1293 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1295 * tests/live-g-file.c:
1296 Include live-g-file in standard set of tests, making a temporary
1297 directory in source structure.
1299 Clean target directory before the tests (write mode only)
1301 2008-03-12 Tor Lillqvist <tml@novell.com>
1303 Bug 517419 - gio win32 directory monitor
1304 Implementation by Vlad Grecescu.
1307 * win32/gwin32directorymonitor.h
1308 * win32/gwin32directorymonitor.c: New files.
1310 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1312 * Makefile.am: Add the win32 subdirectory.
1314 2008-03-12 Tor Lillqvist <tml@novell.com>
1316 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1317 normal struct stat on Unix but struct _stati64 on Windows to have
1318 access to 64-bit file size information. Use that instead of struct
1319 stat in the functions declared here in this private header.
1321 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1322 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1323 warnings about unused functions and variables. Don't set
1324 meaningless attributes like inode numbers on Windows.
1326 2008-03-12 Benjamin Otte <otte@gnome.org>
1329 trim whitespace so gtk-doc groks the function name
1331 2008-03-12 Tor Lillqvist <tml@novell.com>
1333 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1334 returning FALSE, on Win32.
1336 2008-03-11 Alexander Larsson <alexl@redhat.com>
1339 * glocalfileinfo.[ch]:
1340 Correctly implement can_trash by actually
1341 looking for a trash dir, not just assuming
1344 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1346 * === Released 2.16.1 ===
1348 2008-03-11 Alexander Larsson <alexl@redhat.com>
1351 Fix crashes in new constructor and properties code
1353 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1355 * gfile.c: Minor spelling correction in documentation:
1356 existance -> existence.
1358 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1360 * === Released 2.16.0 ===
1362 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1364 * gio.symbols: Remove g_file_contains_file here, too.
1366 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1368 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1369 Samuel Cormier-Iijima)
1371 2008-03-08 Tor Lillqvist <tml@novell.com>
1373 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1376 2008-03-07 Alexander Larsson <alexl@redhat.com>
1379 (g_local_file_query_filesystem_info):
1380 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1381 Patch from Jasper Lievisse Adriaanse
1383 2008-03-06 Tor Lillqvist <tml@novell.com>
1385 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1386 comments for the *_USEC attributes.
1388 2008-03-06 Alexander Larsson <alexl@redhat.com>
1390 * gfile.c (g_file_query_exists):
1391 Add g_return_val_if_fail check (#520700)
1393 2008-03-06 Alexander Larsson <alexl@redhat.com>
1395 * gdesktopappinfo.c:
1398 * gunionvolumemonitor.c:
1401 * tests/live-g-file.c:
1402 * xdgmime/xdgmimecache.c:
1403 Fix sparse warnings (#519489)
1405 2008-03-05 Alexander Larsson <alexl@redhat.com>
1408 Make cancellation threadsafe (i.e.
1409 guarantee its only done once, and always
1412 * glocaldirectorymonitor.c:
1413 Make sure we the monitor lives while the
1414 mounts_changed callback is being called (#520484)
1416 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1418 * gbufferedinputstream.c: Fix typo in parameter
1421 2008-03-04 Alexander Larsson <alexl@redhat.com>
1424 Remove deprecated symbols we kept for one release.
1426 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1429 * goutputstream.c: Tiny documentation corrections.
1431 2008-03-03 Alexander Larsson <alexl@redhat.com>
1433 * gunionvolumemonitor.c:
1435 Fix the adopt_orphan_mount vfunc to take a
1436 volume_monitor reference in an ABI compat way.
1437 This change is not API compat, but the added
1438 arg is not used in the only user of this vfunc, so
1439 all we get is a harmless warning in gvfs (#520169)
1441 2008-03-01 Benjamin Otte <otte@gnome.org>
1444 clarify docs for g_file_delete().
1446 2008-02-29 Alexander Larsson <alexl@redhat.com>
1450 Make sure empty files get text/plain type (#518720)
1452 2008-02-27 Alexander Larsson <alexl@redhat.com>
1458 (g_unix_volume_mount):
1459 Add missing GMountMountFlags argument
1461 2008-02-26 Alexander Larsson <alexl@redhat.com>
1464 (g_local_file_delete):
1465 Handle filesystems (like ntfs-3g) that return EEXIST instead
1466 of ENOTEMPTY (#518816)
1468 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1470 * === Released 2.15.6 ===
1472 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1474 * gfile.c (g_file_find_enclosing_mount):
1475 * ginputstream.c (g_input_stream_set_pending):
1476 * glocalfile.c (g_local_file_find_enclosing_mount):
1477 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1478 * goutputstream.c (g_output_stream_set_pending):
1480 Fixup translator comments (#518578).
1482 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1484 * gfile.c (g_file_find_enclosing_mount):
1486 * glocalfile.c (g_local_file_find_enclosing_mount):
1489 Fix a few typos in translator comments and documentation.
1491 2008-02-25 Alexander Larsson <alexl@redhat.com>
1498 Add translator comments (#518578)
1500 2008-02-25 Alexander Larsson <alexl@redhat.com>
1503 Reintroduce g_file_contains_file, keep around for one
1504 unstable release cycle to avoid crashing to many apps.
1505 Make sure to delete after release.
1507 2008-02-25 Alexander Larsson <alexl@redhat.com>
1510 Remove deprecated g_file_contains_file.
1512 2008-02-25 Alexander Larsson <alexl@redhat.com>
1515 Emit actual change signals in an idle handler.
1516 This avoids reentrance and locking problems in
1517 the file notification backends.
1519 2008-02-25 Alexander Larsson <alexl@redhat.com>
1522 (g_unix_mount_guess_should_display):
1523 Remove type guessing, instead just display
1524 mounts in /media and in ~/.
1526 2008-02-25 Alexander Larsson <alexl@redhat.com>
1529 Make new strings reuse old ones.
1531 2008-02-25 Alexander Larsson <alexl@redhat.com>
1534 Implement trashing and filesystem::readonly for win32 (#517235)
1535 Patch from Yevgen Muntyan
1537 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1539 * gfileinfo.h: Documentation fixes.
1541 2008-02-22 Alexander Larsson <alexl@redhat.com>
1543 * gcontenttype.c (g_content_type_get_icon):
1544 Look at old-style gnome mime icon names too, as many
1545 have not moved to the new style.
1547 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1549 * *.c: Correct the @include in for section docs.
1551 2008-02-21 David Zeuthen <davidz@redhat.com>
1553 * glocalfileinfo.c: (_g_local_file_info_get):
1555 (g_content_type_get_icon): Implement this function by
1556 moving bits from glocalfileinfo.c
1557 (g_content_type_get_description): Unalias before getting
1558 description (#517687)
1560 * gfile.c: (g_file_class_init),
1561 (g_file_query_filesystem_info_async),
1562 (g_file_query_filesystem_info_finish),
1563 (query_filesystem_info_data_free),
1564 (query_filesystem_info_async_thread),
1565 (g_file_real_query_filesystem_info_async),
1566 (g_file_real_query_filesystem_info_finish):
1567 * gfile.h: Implement async version of
1568 g_file_query_filesystem_info()
1570 * gfileinfo.h: Add new attributes for filesystem::use-preview
1572 * gio.symbols: Update
1574 * gthemedicon.c: (g_themed_icon_append_name):
1575 * gthemedicon.h: Add new new convenience function.
1577 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1578 (get_mounts), (get_volumes), (get_connected_drives),
1579 (get_volume_for_uuid), (get_mount_for_uuid),
1580 (g_union_volume_monitor_init), (populate_union_monitor),
1581 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1582 (g_volume_monitor_adopt_orphan_mount):
1584 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1585 monitor implementations to call into the main volume monitor. Also
1586 separate object initialization and volume monitor initialization
1587 such that non-native volume monitors can properly adopt their
1590 2008-02-21 Alexander Larsson <alexl@redhat.com>
1595 2008-02-21 Alexander Larsson <alexl@redhat.com>
1598 Add more documentation about how GFiles work (from #517086)
1600 2008-02-21 Alexander Larsson <alexl@redhat.com>
1604 Add new g_file_has_prefix that does the same as g_file_contains_file.
1605 Deprecate g_file_contains_file and add a macro that converts
1606 it to g_file_has_prefix.
1607 The reason for this change is that the contains_file() name seems to
1608 imply that this does more work than what it does, but its really only
1609 a name match (from #517086)
1614 Update to match the above change.
1616 2008-02-20 Benjamin Otte <otte@gnome.org>
1618 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1619 (g_file_eject_mountable):
1620 even more cases of not returning in error path
1622 2008-02-20 Benjamin Otte <otte@gnome.org>
1624 * gfile.c: (g_file_mount_mountable):
1625 return from function in error path.
1627 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1630 Remove trailing coma in GMountMountFlags struct
1632 2008-02-18 Alexander Larsson <alexl@redhat.com>
1636 * glocalfileoutputstream.c:
1637 Use g_unlink/g_rename instead of unlink/rename;
1638 do not pass raw filenames to g_set_error. (#517239)
1639 Patch from Yevgen Muntyan.
1641 2008-02-18 Alexander Larsson <alexl@redhat.com>
1644 * glocalfileoutputstream.c:
1645 Open files with O_BINARY on windows. (#517140)
1647 2008-02-14 Alexander Larsson <alexl@redhat.com>
1649 * glocalfileoutputstream.c:
1650 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1652 2008-02-14 Alexander Larsson <alexl@redhat.com>
1655 Copy permissions with file on copy (#514084)
1656 This is what cp does and makes sure e.g. the
1657 exec permissions are kept.
1658 Its kinda weird in that it keeps the permission bits
1659 the same while the uid and gid are different. However
1660 the new uid is the user so its not a security issue,
1661 and I've heard no complaints about cp on this issue.
1663 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1665 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1667 2008-02-13 Alexander Larsson <alexl@redhat.com>
1669 * inotify/inotify-path.c:
1670 Define IN_ONLYDIR if not in header (#515346)
1672 2008-02-12 Alexander Larsson <alexl@redhat.com>
1674 * tests/live-g-file.c:
1677 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1679 * === Released 2.15.5 ===
1681 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1683 * gio.symbols: Add g_mount_mount_flags_get_type.
1685 2008-02-11 Alexander Larsson <alexl@redhat.com>
1688 (g_file_info_set_attribute_mask):
1689 (g_file_attribute_matcher_matches_id):
1690 Correctly handle NULL GAttributeMatcher meaning
1691 matches nothing. (Fixes #513492)
1693 2008-02-11 Alexander Larsson <alexl@redhat.com>
1698 Added GMountMountFlags enum and added a flags
1699 argument to all mount calls.
1701 This is an API/ABI change for future extensibility,
1702 as I think we will need at least an
1703 inhibit-autorun flag (the panel needs this).
1704 There are no flags defined yet though.
1706 2008-02-11 Alexander Larsson <alexl@redhat.com>
1709 Added new standard::description attribute.
1710 Requested by Vincent, and useful for both
1713 2008-02-11 Alexander Larsson <alexl@redhat.com>
1715 * gdesktopappinfo.c:
1718 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1720 * *.c: Documentation additions
1722 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1724 * gappinfo.h: Formatting cleanup
1725 * gappinfo.c: Fix up docs.
1727 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1729 * gunixmounts.c: Consistently use getmntent_r() and fall
1730 back to getmntent(). (#515492)
1732 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1734 * gbufferedinputstream.c:
1736 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1738 * tests/data-input-stream.c:
1739 * tests/data-output-stream.c: Portability fixes.
1741 2008-02-08 Alexander Larsson <alexl@redhat.com>
1746 Add g_volume_should_automount.
1749 2008-02-07 Tor Lillqvist <tml@novell.com>
1751 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1752 Win32, too Unix-specific.
1754 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1756 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1757 a local plt if the compiler doesn't support what we want. Bug #514702
1759 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1761 reviewed by: <delete if not using a buddy>
1764 * gunixinputstream.c:
1765 * gunixoutputstream.c:
1767 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1769 * tests/Makefile.am:
1770 * tests/live-g-file.c:
1771 * tests/live-g-file.txt:
1772 New GIO testing module working over real data
1774 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1776 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1777 Fallback to rename() if link() is not available
1778 (when no support on target filesystem)
1780 2008-02-06 Michael Natterer <mitch@imendio.com>
1782 * gfileinfo.c (g_file_info_get_icon): replace
1783 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1785 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1787 * gfile.c (g_file_create):
1788 Documentation update of error codes
1790 2008-02-06 Alexander Larsson <alexl@redhat.com>
1792 * gdesktopappinfo.c:
1793 Update to use both mimeapps.list and
1794 defaults.list as discussed on xdg list.
1796 2008-02-06 Benjamin Otte <otte@gnome.org>
1799 * gfilenamecompleter.c:
1800 Fix some typos in the documentation.
1802 2008-02-06 Alexander Larsson <alexl@redhat.com>
1804 * glocalfile.c (g_local_file_trash):
1805 Don't succeed with trash if newly created
1806 trash dir has the wrong owner. (#514696)
1808 2008-02-05 Alexander Larsson <alexl@redhat.com>
1810 * glocalfile.c (g_local_file_move):
1811 Don't spew warnings when destination is not
1814 2008-02-03 Hans Breuer <hans@breuer.org>
1816 * makefile.msc : update
1818 2008-02-01 Michael Natterer <mitch@imendio.com>
1820 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1821 return value of xdg_mime_list_mime_parents() to a variable of the
1824 2008-02-01 Alexander Larsson <alexl@redhat.com>
1826 * gappinfo.c (g_app_info_launch_uris):
1827 Actually call the launch_uris method, not
1830 2008-02-01 Alexander Larsson <alexl@redhat.com>
1832 * gdesktopappinfo.c (g_desktop_app_info_equal):
1833 Ensure appinfos with no id but same pointer value
1836 2008-02-01 Alexander Larsson <alexl@redhat.com>
1838 * gappinfo.c (g_app_info_launch_default_for_uri):
1841 2008-02-01 Alexander Larsson <alexl@redhat.com>
1845 Add g_app_info_launch_default_for_uri utility
1848 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1850 * gdesktopappinfo.c:
1851 Doc fix for g_app_info_get_default_for_uri_scheme ()
1854 2008-01-30 Alexander Larsson <alexl@redhat.com>
1857 Add doc comment about uris vs GFiles to
1860 * gdesktopappinfo.c:
1861 Ensure uris passed to g_app_info_launch_uris()
1862 are not roundtriped through GFile (as that
1863 may be slightly destructive for e.g. mailto: links)
1865 2008-01-30 Alexander Larsson <alexl@redhat.com>
1867 * tests/data-input-stream.c:
1868 * tests/data-output-stream.c:
1869 C89 fixes from Jens Granseuer (#512849)
1871 2008-01-30 Alexander Larsson <alexl@redhat.com>
1874 Fix gamin/fam difference build issue. (#509419)
1876 2008-01-29 Alexander Larsson <alexl@redhat.com>
1879 * gdesktopappinfo.c:
1880 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1882 2008-01-29 Alexander Larsson <alexl@redhat.com>
1884 * gdesktopappinfo.c:
1885 * gdesktopappinfo.h:
1886 giomodule-priv.h include moved to .c file.
1888 2008-01-29 Alexander Larsson <alexl@redhat.com>
1890 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1891 Remove unused prio/name fields.
1893 2008-01-29 Alexander Larsson <alexl@redhat.com>
1895 * gcontenttype.c (looks_like_text):
1896 Don't treat whitespace as control chars.
1898 2008-01-29 Alexander Larsson <alexl@redhat.com>
1900 * gdesktopappinfo.c:
1901 Lazily create the desktop files for appinfos created
1902 by g_app_info_create_from_commandline() when needed
1903 for mime associations. This allows run-time use
1904 of GAppInfo object without creating unnecessary
1907 2008-01-29 Alexander Larsson <alexl@redhat.com>
1910 Added new symbols to gio.symbols
1912 2008-01-29 Alexander Larsson <alexl@redhat.com>
1915 Add g_file_query_default_handler utility to easily look up
1916 the GAppInfo that handles a file.
1918 * gdesktopappinfo.[ch]:
1920 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1923 Remove unused function
1925 2008-01-29 Alexander Larsson <alexl@redhat.com>
1927 * gfileenumerator.c:
1928 Mention need to free returned value in
1929 g_file_enumerator_next_files_finish docs.
1930 Fix leak if g_file_enumerator_next_files_finish()
1933 2008-01-29 Alexander Larsson <alexl@redhat.com>
1936 (_g_unix_content_type_get_parents):
1937 Use list_parents, not get_parents from xdgmime, because
1938 the later doesn't use the cache.
1940 * xdgmime/xdgmimecache.c:
1941 (_xdg_mime_cache_list_mime_parents):
1942 Don't list the same type as parent multiple times.
1944 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1946 * === Released 2.15.4 ===
1948 2008-01-28 Alexander Larsson <alexl@redhat.com>
1951 Register local vfs with prio 0.
1954 Remove old name and prio class members
1956 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1958 * tests/g-file.c: Disable some tests that are failing in
1959 the absence of a http backend.
1961 2008-01-28 Alexander Larsson <alexl@redhat.com>
1965 Add registration hooks for extension points.
1966 Register the gio extension points.
1968 * fam/gfamdirectorymonitor.c:
1969 * fam/gfamfilemonitor.c:
1970 * glocaldirectorymonitor.[ch]:
1971 * glocalfilemonitor.[ch]:
1972 * gnativevolumemonitor.h:
1973 * gunionvolumemonitor.c:
1974 * gunixvolumemonitor.c:
1977 * inotify/ginotifydirectorymonitor.c:
1978 * inotify/ginotifyfilemonitor.c:
1979 Use the extension points registration instead
1980 of g_type_children().
1982 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1985 * gvolume.[hc]: Document new API.
1987 * gfile.c (g_file_copy_async): Fix docs
1989 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1991 * gbufferedinputstream.c:
1993 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1996 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1998 * glocalfile.c: Avoid trivial differences in translatable strings.
2000 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2002 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2003 build with gcc 3.4 (#509419)
2005 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2007 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2008 (#509994, Murray Cumming)
2010 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2012 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2013 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2014 this allows big jobs to be executed in chunks, instead of blocking
2015 the main loop for a long time.
2017 * gsimpleasyncresult.c:
2018 * giofile.c: Adapt callers.
2020 2008-01-25 Alexander Larsson <alexl@redhat.com>
2022 * gdesktopappinfo.c:
2023 Implement changes discussed on xdg list.
2024 Now we can add supported mimetypes by just using defaults.list
2025 We can also remove associations in defaults.list.
2027 2008-01-25 Alexander Larsson <alexl@redhat.com>
2029 * gdesktopappinfo.c:
2030 Don't make local copy of desktop file
2031 for mimetype changes if the file already
2032 supports the new mimetype.
2034 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2038 * gbufferedinputstream.c:
2039 * glocalfile.c: String improvements. (#511966,
2040 Theppitak Karoonboonyanan)
2042 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2044 * gioscheduler.h: Expand docs a bit.
2046 2008-01-24 Alexander Larsson <alexl@redhat.com>
2049 Add g_drive_get_identifier and
2050 g_drive_enumerate_identifiers
2053 Add g_volume_get_identifier and
2054 g_volume_enumerate_identifiers
2060 Implement identifiers for unix backend
2062 2008-01-24 Alexander Larsson <alexl@redhat.com>
2067 Add g_file_copy_async() (#511580)
2068 Based on patch from Carlos Garcia Campos
2070 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2072 * gioscheduler.c: Some documentation additions.
2074 2008-01-22 Alexander Larsson <alexl@redhat.com>
2076 * gdesktopappinfo.c:
2077 (g_desktop_app_info_new):
2078 Don't leak basename.
2080 2008-01-22 Alexander Larsson <alexl@redhat.com>
2082 * gdesktopappinfo.c:
2083 (g_desktop_app_info_new_from_filename):
2086 2008-01-22 Alexander Larsson <alexl@redhat.com>
2088 * glocalfileinfo.c (get_thumbnail_attributes):
2091 2008-01-22 Alexander Larsson <alexl@redhat.com>
2094 (canonicalize_filename):
2095 Canonicalize paths that start with more than
2099 (compare_two_files):
2100 (test_g_file_new_for_path):
2103 2008-01-22 Alexander Larsson <alexl@redhat.com>
2106 Allow UTF-8 in file:// parse names.
2108 * tests/Makefile.am:
2109 * tests/data-input-stream.c:
2110 * tests/data-output-stream.c:
2111 * tests/g-file-info.c:
2113 Added a bunch of tests from Tomas Bzatek
2115 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2117 * === Released 2.15.3 ===
2119 2008-01-21 Alexander Larsson <alexl@redhat.com>
2121 * gfileinputstream.[ch]:
2122 * gfileoutputstream.[ch]:
2124 Remove duplicated GSeekable functions. (#509990)
2125 Just use the g_seekable_xxx() calls instead.
2127 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2130 * gvolumemanager.c: Whitespace cleanups.
2132 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2133 Use the right mode when creating the file.
2135 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2137 * gfileenumerator.c:
2138 * gfileinputstream.c:
2140 * goutputstream.c: Documentation: Fixed minor typos
2141 and added more mentions of specific _finish() functions.
2143 2008-01-21 Alexander Larsson <alexl@redhat.com>
2145 * inotify/Makefile.am:
2146 * inotify/inotify-helper.c:
2147 * inotify/inotify-kernel.c:
2148 * inotify/inotify-path.c:
2149 * inotify/local_inotify.h: Removed.
2150 * inotify/local_inotify_syscalls.h: Removed.
2151 Removed the included copies of the inotify
2152 headers. We now only use the <sys/inotify.h>
2153 header which exists on modern systems.
2154 This fixes problems on ARM and SH5 (#510448)
2155 but is also generally much cleaner and future
2156 safe. For instance, if other OSes add support
2157 for inotify it should "just work".
2159 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2161 * inotify/*.c: Coding style fixes.
2162 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2163 for the 1/4 Hz timer.
2165 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2168 * gfilemonitor.[hc]:
2169 * gmemoryinputstream.c:
2170 * gmemoryoutputstream.c:
2171 * gmountoperation.c:
2172 * gthemedicon.c: Documentation updates
2174 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2176 * gfile.c: documentation: Fixed more minor
2179 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2181 * gmount.c: (g_mount_remount): documentation:
2182 Mention g_mount_remount_finish() instead of
2183 g_mount_unmount_finish().
2185 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2189 * gfile.c: Fixed some minor typos in the
2192 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2194 * gio/gvolumemonitor.c:
2195 (g_volume_monitor_get_connected_drives):
2196 (g_volume_monitor_get_volumes):
2197 (g_volume_monitor_get_mounts): Documentation:
2198 Clarify the ownership of the regurn GLists.
2200 2008-01-17 Alexander Larsson <alexl@redhat.com>
2203 Add the async find_enclosing_mount version
2204 to the header file too.
2206 2008-01-17 Alexander Larsson <alexl@redhat.com>
2209 Add async version of find_enclosing_mount
2210 with default implementation.
2212 2008-01-17 Alexander Larsson <alexl@redhat.com>
2217 Allow calls to implementation of copy and write
2218 even if the type of the file implementations is
2219 different. This can be used to implement native
2220 upload and download calls in a vfs.
2223 (g_local_file_move):
2224 Protect against the case where move is called
2225 with one file not being local.
2227 Make sure we call the progress callback once
2228 in the native move operation so that the caller
2229 knows how many bytes were copied.
2231 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2234 * gdatainputstream.c:
2236 * gfileoutputstream.c:
2241 * gunixmounts.c: Corrected some typos in the documentation:
2242 occured -> occurred.
2243 its -> it's (where appropriate).
2245 2008-01-16 Alexander Larsson <alexl@redhat.com>
2249 Add g_file_query_exists (#508771)
2251 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2256 * gvolume.c: For async functions that have no non-async
2257 version, document that the GAsyncReadyCallback may be NULL.
2260 2008-01-15 Alexander Larsson <alexl@redhat.com>
2262 * gmemoryinputstream.c:
2263 * gmemoryoutputstream.c:
2264 Don't do pointer arithmetic on void * (#508602)
2265 Patch from Kazuki IWAMOTO
2267 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2269 * === Released 2.15.2 ===
2271 2008-01-14 Alexander Larsson <alexl@redhat.com>
2273 * gfile.c (g_file_monitor_file):
2274 Don't set error here, since we fallback to polling monitor.
2276 2008-01-14 Alexander Larsson <alexl@redhat.com>
2279 (g_file_monitor_directory):
2280 (g_file_monitor_file):
2281 Add GError to file monitor calls
2283 * glocaldirectorymonitor.c:
2284 * glocaldirectorymonitor.h:
2286 * glocalfilemonitor.c:
2287 * glocalfilemonitor.h:
2289 Update for above change
2291 2008-01-14 Alexander Larsson <alexl@redhat.com>
2295 Handle root correctly in g_file_get_relative_path (#508719)
2297 2008-01-14 Alexander Larsson <alexl@redhat.com>
2300 Clean up docs and example for GAsyncResult (#508074)
2302 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2304 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2305 and correct some spelling mistakes. Bug #508108.
2307 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2309 * glocalfileinfo.c: Add a comment.
2311 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2313 * gfileinfo.c: GFileInfo description: Mention
2314 how to actually set attributes in a GFile and how to discover
2315 which attributes are settable. Bug #508378.
2317 2008-01-10 A. Walton <awalton@svn.gnome.org>
2319 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2320 (g_app_info_get_default_for_type):
2321 Check for NULL content types.
2323 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2325 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2327 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2329 * gfile.c: *_async() functions: Several small corrections
2330 to the documentation, mostly correcting copy/paste errors
2331 and improving some sentences.
2333 2008-01-09 Dan Winship <danw@gnome.org>
2335 * glocalfile.c (get_unique_filename): x86_64 fix
2337 2008-01-09 Alexander Larsson <alexl@redhat.com>
2342 Add g_unix_mount_guess_should_display and use
2343 for unix volume monitor backend.
2344 This means we more or less show what the
2345 gnome-vfs backend did.
2346 Based on patch from Padraig O'Briain
2348 2008-01-09 Alexander Larsson <alexl@redhat.com>
2352 Add g_themed_icon_new_with_default_fallbacks
2355 Use default fallbacks for icons
2357 2008-01-09 Alexander Larsson <alexl@redhat.com>
2360 * gmountoperation.[ch]:
2361 Change the API a bit so that unhandled methods
2362 get reported via the reply, rather than by
2363 the signal emission return value. This is because
2364 some handlers can't know this immediately without
2365 doing I/O, and this is an async operation that
2368 2008-01-09 Alexander Larsson <alexl@redhat.com>
2371 * fam/gfamdirectorymonitor.c:
2372 * fam/gfamfilemonitor.c:
2373 Fix double free crash (#508224)
2374 Patch from Joe Marcus Clarke
2376 008-01-07 Matthias Clasen <mclasen@redhat.com>
2378 * === Released 2.15.1 ===
2380 2008-01-07 Alexander Larsson <alexl@redhat.com>
2382 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2383 Fix warning (#507835)
2385 2008-01-07 Alexander Larsson <alexl@redhat.com>
2388 Pass --internal to glib-genmarshal
2391 * gmountoperation.c:
2393 Use better types for signal arguments (#507822)
2395 2008-01-07 Alexander Larsson <alexl@redhat.com>
2398 Build test subdir after .
2399 Remove gdirectorymonitor.[ch]
2401 * gdirectorymonitor.[ch]:
2405 Remove GDirectoryMonitor and make
2406 GFileMonitor the baseclass for both file and
2407 directory monitors. Lift the more generic
2408 rate limiting code from GDirectoryMonitor
2412 * fam/gfamdirectorymonitor.[ch]:
2413 * inotify/ginotifydirectorymonitor.[ch]:
2414 * inotify/inotify-helper.c:
2415 * glocaldirectorymonitor.[ch]:
2418 Update for the removed GDirectoryMonitor.
2420 * gmemoryoutputstream.c:
2421 Remove ununsed variable
2423 2008-01-07 Alexander Larsson <alexl@redhat.com>
2425 * gmemoryinputstream.c:
2426 Translate error strings
2429 * gmemoryoutputstream.[ch]:
2430 New implementation that avoids using GByteArray
2431 in implementation and API. (#506377)
2433 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2435 * tests/*: Add a test for memory input streams.
2437 * Makefile.am: Add tests to SUBDIRS.
2439 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2441 * glocalfilemonitor.c:
2442 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2445 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2447 * gdesktopappinfo.c: Fix a docs typo.
2449 * gfileattribute.c: Add information about extended attributes
2450 to the documentation. (#505058)
2452 2008-01-04 Alexander Larsson <alexl@redhat.com>
2455 * gmountoperation.c:
2456 Use the right type (uint) for the ask_password signal.
2458 2008-01-04 Alexander Larsson <alexl@redhat.com>
2463 Add g_app_info_supports_files()
2464 Remove desktop arg from g_app_info_should_show().
2466 * gdesktopappinfo.[ch]:
2467 Implement g_app_info_supports_files() and new should_show()
2468 Add g_desktop_app_info_set_desktop_env() to set the desktop
2469 for should_show(). (This will be set by gtk+ later)
2471 2008-01-04 Alexander Larsson <alexl@redhat.com>
2474 * gmemoryinputstream.[ch]:
2475 Improve API so that you can use multiple chunks
2476 of memory and custom destroy functions. (#506374)
2478 2008-01-03 Alexander Larsson <alexl@redhat.com>
2481 Handle NULL attribute matchers safely, as we return this
2482 for empty attribute matcher strings.
2484 2008-01-03 Alexander Larsson <alexl@redhat.com>
2486 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2487 Add /usr/local to list of internal mountpoints
2489 2008-01-03 Alexander Larsson <alexl@redhat.com>
2492 Check for HAVE_LCHOWN (#505887)
2494 2008-01-03 Alexander Larsson <alexl@redhat.com>
2498 Add define for selinux context attribute.
2499 Fix missing : -> :: namespace separator change
2500 Fix missing _ -> - name change for xattr-sys.
2503 2008-01-03 Alexander Larsson <alexl@redhat.com>
2506 Link to libglib and libgobject directly (#504879)
2507 Patch from Sebastien Bacher
2509 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2511 * gfile.c: Expanded the g_file_new_for_commandline_arg
2512 description a bit, based on the code and the docs of the
2513 other g_file_new_for_* functions.
2515 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2517 * gfilemonitor.h: Fixed typo in docs.
2519 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2521 Updates to GIO documentation. (#506395, Mikael Hermansson)
2523 * gcontenttype.c: Describe memory management for return value of
2524 g_content_types_get_registered(). Missing piece from #505815.
2525 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2526 GVolume, GDrive, GMounts, which hopefully gives the user less
2527 confusions when using this API. Following explainations from
2528 Alexander Larsson on gtk-devel-list.
2530 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2532 * gfileinfo.c: Expand the long description.
2534 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2537 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2538 fix builds with --disable-visibility. (#500273, Christian Persch)
2540 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2542 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2543 in the list of returned app infos.
2545 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2547 * gappinfo.c: Fix a cross-reference
2549 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2551 * gfileinputstream.c:
2552 * gfileoutputstream.c:
2556 * gdesktopappinfo.c:
2558 * gfileinfo.c: Documentation updates.
2560 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2562 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2565 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2567 * gcontenttype.c (g_content_types_get_registered): Don't return
2568 freed memory (#505815, Mikael Hermansson)
2570 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2572 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2573 used to detect statbuf->st_blocks. (#505042)
2575 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2577 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2578 environment handling. (#504829, Cosimo Cecchi)
2580 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2582 * gappinfo.c: Doc improvements
2584 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2587 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2589 * === Released 2.15.0 ===
2591 2007-12-20 Hans Breuer <hans@breuer.org>
2593 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2594 with symbols gwin32appinfo.obj, added gmount.obj
2595 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2597 2007-12-20 Alexander Larsson <alexl@redhat.com>
2603 * gfilenamecompleter.c:
2606 * gpollfilemonitor.c:
2607 File attribute renames:
2609 fs:: -> filesystem::
2610 id::fs -> id::filesystem
2612 2007-12-20 Alexander Larsson <alexl@redhat.com>
2621 Add GMountUnmountFlags to all unmount and
2623 Add g_mount_remount() call.
2625 2007-12-20 Alexander Larsson <alexl@redhat.com>
2627 * gvfs.c (get_default_vfs):
2628 Fix unused variable warning
2630 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2632 * pltcheck.sh: Update
2634 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2636 * gunionvolumemonitor.c:
2637 * gunixmount.c: Remove C99 comments
2639 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2641 * gio.symbols: Add some missing symbols
2643 2007-12-19 Alexander Larsson <alexl@redhat.com>
2646 Make g_io_modules_load_all_in_directory not unuse
2647 loaded modules so that users of it can do stuff
2649 Init internal "module" types.
2650 Initialize static prio and name for types so that
2651 we don't have to load modules to get it.
2653 * gnativevolumemonitor.h:
2655 Move is_supported to parent class so that
2656 non-native monitors can avoid being initialized
2657 too. (For instance GDaemonVolumeMonitor if we're
2658 not using GDaemonVfs.)
2660 * glocaldirectorymonitor.[ch]:
2661 * glocalfilemonitor.[ch]:
2662 * gunionvolumemonitor.c:
2663 * gunixvolumemonitor.c:
2665 Find plugins using the static prio+name to
2666 avoid unnecessarily loading the modules.
2668 2007-12-19 Alexander Larsson <alexl@redhat.com>
2673 2007-12-19 Alexander Larsson <alexl@redhat.com>
2675 * gunionvolumemonitor.c:
2676 Store the native type as GType, not class so that
2677 we can unload it. But still avoid unnecessarily
2680 2007-12-19 David Zeuthen <davidz@redhat.com>
2682 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2683 add signals 'disconnected' and 'eject-button' on GDrive. Add
2684 signal 'removed' on GVolume and 'unmounted' on GMount.
2686 * gdrive.c: (g_drive_base_init):
2688 * gfile.c: (g_file_mount_mountable),
2689 (g_file_mount_enclosing_volume):
2692 * gmount.c: (g_mount_base_init):
2694 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2695 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2696 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2700 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2702 * *.c: Fix up includes in the section docs.
2704 2007-12-17 Alexander Larsson <alexl@redhat.com>
2706 * gnativevolumemonitor.h:
2707 * gunionvolumemonitor.c:
2708 * gunixvolumemonitor.c:
2709 Add is_supported() to GNativeVolumeMonitorClass so
2710 that we can avoid having to create an object to see
2711 if the backend is supported at runtime.
2712 Also add name member and an env var to pick a specific
2713 volume monitor backend.
2717 Add cancellable to _g_mount_get_for_mount_path()
2719 * glocaldirectorymonitor.c:
2720 * glocalfilemonitor.c:
2721 Avoid loading and unloading modules while sorting.
2723 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2726 * gunixmounts.[hc]: Namespace waste reduction, move some
2727 g_get_unix_mount functions to the g_unix_mount namespace.
2730 * gunixvolumemonitor.c:
2732 * glocaldirectorymonitor.c: Update all callers.
2734 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2736 2007-12-17 Alexander Larsson <alexl@redhat.com>
2739 Add doc comments about what GFile operations are
2740 guaranteed to not block.
2742 2007-12-17 Alexander Larsson <alexl@redhat.com>
2745 Add missing #ifdef fixing OSX build.
2746 (#503334, patch from Richard Hult)
2748 2007-12-14 David Zeuthen <davidz@redhat.com>
2752 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2753 (g_mount_eject), (g_mount_eject_finish):
2755 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2756 (get_volume_for_uuid), (get_mount_for_uuid),
2757 (g_union_volume_monitor_class_init),
2758 (get_default_native_type_with_exclude), (get_default_native_type),
2759 (get_native_type), (update_native_type),
2760 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2761 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2762 (g_unix_mount_can_eject), (eject_unmount_cb),
2763 (eject_unmount_read_error), (eject_unmount_do),
2764 (g_unix_mount_unmount), (g_unix_mount_eject),
2765 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2766 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2767 (g_unix_mount_point_guess_can_eject):
2769 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2770 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2771 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2772 (g_unix_volume_mount), (g_unix_volume_eject),
2773 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2774 * gunixvolumemonitor.c: (get_volume_for_uuid),
2775 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2777 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2778 (g_volume_eject), (g_volume_eject_finish):
2780 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2781 (g_volume_monitor_get_mount_for_uuid):
2784 Provide eject() on both GMount and GVolume and utility functions
2785 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2786 ejected. Introduce the concept of UUID's and wire it into GVolume
2787 and GMount and provide API on GVolumeMonitor to find such
2788 instances. Also handle the case where an external
2789 GNativeVolumeMonitor fails to initialize. Lock around the
2790 _g_get_mount_for_mount_path() function such that volume monitor
2791 implementations won't have to do locking themselves.
2793 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2795 * gdesktopappinfo.c:
2801 * gvolume.h: Documentation updates
2803 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2806 * gfile.h: Doc updates
2808 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2811 * gdesktopappinfo.c: Use hash table iterators.
2813 2007-12-14 Alexander Larsson <alexl@redhat.com>
2816 * gfileattribute.[ch]:
2817 * gfileattribute-priv.h:
2818 Move GFileAttributeValue to a private header, as
2822 Make set_attribute take a type + a pointer instead
2823 of a GFileAttributeValue.
2826 Fix up for above changes.
2827 Add g_file_info_get_attribute_data to get
2828 all info in one call, g_file_info_get_attribute_status
2829 to get the status and g_file_info_get_attribute_as_string.
2833 * glocalfileinfo.[ch]:
2837 Make _guess_type static.
2839 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2842 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2843 made mkenums and friends use temporary files to avoid leaving
2844 empty generated files on failure (#503470).
2846 2007-12-14 Alexander Larsson <alexl@redhat.com>
2848 * gmountoperation.h:
2851 2007-12-14 Alexander Larsson <alexl@redhat.com>
2855 * gfileattribute.[ch]:
2858 * glocalfileoutputstream.c:
2859 * gmountoperation.[ch]:
2860 * goutputstream.[ch]:
2861 Clean up all flags enums to not have _FLAGS in them
2862 Make the names of some of the enums better.
2867 2007-12-14 Michael Natterer <mitch@imendio.com>
2869 * gio.symbols: fix g_io_scheduler symbol names.
2871 2007-12-14 Alexander Larsson <alexl@redhat.com>
2877 * gbufferedinputstream.h:
2878 * gbufferedoutputstream.h:
2881 * gdatainputstream.h:
2882 * gdataoutputstream.h:
2883 * gdesktopappinfo.h:
2884 * gdirectorymonitor.h:
2888 * gfileenumerator.h:
2891 * gfileinputstream.h:
2893 * gfilenamecompleter.h:
2894 * gfileoutputstream.h:
2895 * gfilterinputstream.h:
2896 * gfilteroutputstream.h:
2904 * gmemoryinputstream.h:
2905 * gmemoryoutputstream.h:
2907 * gmountoperation.h:
2910 * gsimpleasyncresult.h:
2912 * gunixinputstream.h:
2914 * gunixoutputstream.h:
2918 * inotify/Makefile.am:
2919 Only allow including <gio/gio.h> from apps
2921 2007-12-14 Alexander Larsson <alexl@redhat.com>
2923 * gioscheduler.[ch]:
2924 * gsimpleasyncresult.c:
2925 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2926 Split out the send_to_mainloop call into two versions instead
2927 of having the block argument.
2929 2007-12-13 Alexander Larsson <alexl@redhat.com>
2931 * gcancellable.[ch]:
2933 * gbufferedinputstream.c:
2934 * gfileenumerator.c:
2935 * gfileinputstream.c:
2936 * gfileoutputstream.c:
2940 g_push/pop_current_cancellable ->
2941 g_cancellable_push/pop_current
2943 2007-12-13 Alexander Larsson <alexl@redhat.com>
2947 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2949 2007-12-13 Alexander Larsson <alexl@redhat.com>
2951 * gmountoperation.h:
2952 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2954 2007-12-12 Alexander Larsson <alexl@redhat.com>
2957 Fix race condition when freeing proxy in
2958 g_io_job_send_to_mainloop().
2960 2007-12-12 Alexander Larsson <alexl@redhat.com>
2966 Make attribute namespace separator "::" instead of ":".
2967 Use - instead of _ as separator in attribute names.
2969 2007-12-12 Alexander Larsson <alexl@redhat.com>
2971 * gbufferedinputstream.h:
2972 * gbufferedoutputstream.h:
2973 * gdatainputstream.h:
2974 * gdataoutputstream.h:
2975 * gdirectorymonitor.h:
2976 * gfileenumerator.h:
2977 * gfileinputstream.h:
2979 * gfileoutputstream.h:
2980 * gfilterinputstream.h:
2981 * gfilteroutputstream.h:
2983 * glocalfileinputstream.h:
2984 * glocalfileoutputstream.h:
2985 * gmemoryinputstream.h:
2986 * gmemoryoutputstream.h:
2987 * gnativevolumemonitor.h:
2989 * gunixinputstream.h:
2990 * gunixoutputstream.h:
2993 s/parent/parent_instance/ in GObjects
2995 2007-12-12 Alexander Larsson <alexl@redhat.com>
3000 No need for padding for interfaces
3002 2007-12-12 Alexander Larsson <alexl@redhat.com>
3006 * gbufferedinputstream.c:
3007 * gbufferedoutputstream.c:
3010 * gdatainputstream.[ch]:
3011 * gdesktopappinfo.c:
3012 * gdirectorymonitor.c:
3014 * gfileattribute.[ch]:
3017 * gfileinputstream.h:
3018 * gfilemonitor.[ch]:
3019 * gfileoutputstream.[ch]:
3020 * gfilterinputstream.h:
3021 * gfilteroutputstream.h:
3024 * gloadableicon.[ch]:
3025 * gmemoryinputstream.c:
3026 * gmountoperation.c:
3028 Fix up a bunch of details in the docs.
3033 2007-12-11 David Zeuthen <davidz@redhat.com>
3035 Rework how volumes, drives and volume monitoring is
3036 done. Previosly the model was
3038 GDrive <1-1> GVolume
3040 where a GDrive instance represented a mount point and a GVolume
3041 instance represented a mounted file system. This patch changes it
3044 GDrive <1-N> GVolume <1-1> GMount
3046 where GMount now serves the purpose of the old GVolume and the new
3047 GVolume serves the purpose of the old GDrive. In addition the new
3048 GDrive interface is used to represent a collection of GVolume
3049 instances (typically partitions) and also contains utility to query
3050 the state of the physical drive the GDrive object represents (such
3051 as checking for media, polling the drive, ejecting the media etc.).
3053 Also implement mounting and unmounting in the Unix volume monitor
3054 backend. A subquent patch will introduce GDrive support for ejection
3058 * gdrive.c: (g_drive_is_media_check_automatic),
3059 (g_drive_is_media_removable), (g_drive_has_media),
3060 (g_drive_can_poll_for_media), (g_drive_eject),
3061 (g_drive_eject_finish), (g_drive_poll_for_media),
3062 (g_drive_poll_for_media_finish):
3064 * gfile.c: (g_file_find_enclosing_mount):
3067 * glocaldirectorymonitor.c:
3068 (g_local_directory_monitor_constructor), (mounts_changed):
3069 * glocalfile.c: (get_mount_info),
3070 (g_local_file_find_enclosing_mount),
3071 (g_local_file_file_iface_init):
3072 * gnativevolumemonitor.h:
3073 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3074 (get_connected_drives), (g_union_volume_monitor_class_init),
3075 (child_volume_added), (child_volume_removed),
3076 (child_volume_changed), (child_mount_added), (child_mount_removed),
3077 (child_mount_pre_unmount), (child_mount_changed),
3078 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3079 (g_union_volume_monitor_remove_monitor),
3080 (_g_mount_get_for_mount_path):
3081 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3082 (guess_system_internal), (_g_get_unix_mounts),
3083 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3084 (g_unix_mount_free), (g_unix_mount_compare),
3085 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3086 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3087 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3088 (type_to_icon), (g_unix_mount_guess_name),
3089 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3090 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3091 (_resolve_symlink), (_resolve_dev_root):
3093 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3094 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3095 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3096 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3097 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3098 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3099 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3100 (g_unix_volume_volume_iface_init):
3102 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3103 (get_mounts), (get_volumes), (get_connected_drives),
3104 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3105 (mountpoints_changed), (mounts_changed),
3106 (g_unix_volume_monitor_init),
3107 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3108 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3109 * gunixvolumemonitor.h:
3110 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3111 (g_volume_mount), (g_volume_mount_finish):
3113 * gvolumemonitor.c: (g_volume_monitor_class_init),
3114 (g_volume_monitor_get_connected_drives),
3115 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3118 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3120 * gmountoperation.h (GPasswordFlags): Close the gap
3122 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3124 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3126 * gdesktopappinfo.[hc]: Remove _-prefixes
3128 2007-12-10 Tor Lillqvist <tml@novell.com>
3130 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3133 2007-12-10 Alexander Larsson <alexl@redhat.com>
3135 * gfile.c (g_file_set_display_name):
3136 Don't hardcode '/' (#502727)
3138 2007-12-09 Hans Breuer <hans@breuer.org>
3140 * makefile.msc : follow lib naming convention
3141 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3142 for user and group name, tested with ../tests/gio-ls
3144 2007-12-09 A. Walton <awalton@svn.gnome.org>
3146 * gdesktopappinfo.c:
3152 * gfileenumerator.c:
3157 * gmemoryinputstream.c:
3158 * gmemoryoutputstream.c:
3160 * gsimpleasyncresult.c:
3161 More documentation cleanup and filling in missing information, bringing
3162 GIO to 99% symbol coverage.
3164 2007-12-08 Hans Breuer <hans@breuer.org>
3166 [gio compiles and links on win32, not sure how much already works]
3167 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3168 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3169 base on win32 API; prefer g_lstat() over lstat(); instead of
3170 localtime_r() use an all GLib implementation on win32;
3171 get_mount_info() still needs a win32 specifc implementation
3172 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3173 win32_get_file_user_info to get owner/group info without uid/gid
3174 * glocalfileinputstream.c : include <io.h> on win32
3175 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3176 definition, use g_win32_ftruncate() for G_OS_WIN32
3177 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3178 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3179 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3180 * makefile.msc : updated
3182 2007-12-07 Alexander Larsson <alexl@redhat.com>
3184 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3185 Avoid warning spew if error == NULL
3187 2007-12-07 Alexander Larsson <alexl@redhat.com>
3190 Update docs wrt etags
3192 2007-12-06 Alexander Larsson <alexl@redhat.com>
3195 Include sys/types.h for dev_t (#501919)
3197 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3201 Make abicheck and pltcheck pass.
3203 2007-12-05 Alexander Larsson <alexl@redhat.com>
3206 * giomodule-priv.h: Added.
3207 * glocaldirectorymonitor.c:
3208 * glocalfilemonitor.c:
3209 * gunionvolumemonitor.c:
3211 Actually add the declaration of _g_io_modules_ensure_loaded
3213 2007-12-05 Alexander Larsson <alexl@redhat.com>
3215 * gdatainputstream.c:
3220 * glocaldirectorymonitor.c:
3221 * glocalfilemonitor.c:
3222 * gunionvolumemonitor.c:
3224 Make g_io_modules_ensure_loaded a private function and
3225 don't pass in the dirname. This means we can do magic
3226 directory finding in the win32 version.
3227 Export the actual load-modules-in-directory code so that
3228 gvfs can reuse that.
3230 2007-12-05 Alexander Larsson <alexl@redhat.com>
3232 * gbufferedinputstream.c:
3233 * gbufferedoutputstream.c:
3236 * gfileenumerator.[ch]:
3237 * gfileinputstream.c:
3238 * gfileoutputstream.[ch]:
3239 * gfilterinputstream.c:
3240 * gfilteroutputstream.c:
3241 * ginputstream.[ch]:
3243 * glocalfileenumerator.c:
3244 * glocalfileinputstream.c:
3245 * glocalfileoutputstream.c:
3246 * gmemoryinputstream.c:
3247 * gmemoryoutputstream.c:
3248 * goutputstream.[ch]:
3251 * gunixinputstream.c:
3252 * gunixoutputstream.c:
3253 Rename all struct members named:
3254 read, write, close, truncate, or mount
3255 to foo_fn, as these are reserved names
3256 and could be defined as macros in libc.
3259 2007-12-04 Alexander Larsson <alexl@redhat.com>
3262 (g_output_stream_close):
3263 Only call flush if non-null.
3265 2007-11-30 Dan Winship <danw@gnome.org>
3267 * ginputstream.c (g_input_stream_set_pending): Make this take a
3268 GError and return a gboolean, and do the "outstanding operation"
3269 check (and the "stream is already closed" check) itself.
3270 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3272 * goutputstream.c (g_output_stream_set_pending)
3273 (g_output_stream_clear_pending): Likewise
3275 * gbufferedinputstream.c:
3276 * gfileinputstream.c:
3277 * gfileoutputstream.c: Update for that
3279 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3280 Like g_simple_async_report_error_in_idle, but takes a GError
3281 rather than building one.
3283 2007-11-30 Dan Winship <danw@gnome.org>
3285 * goutputstream.c: Don't cheat and unset the "pending" flag around
3286 inner calls. Instead, call the class method directly rather than
3287 the wrapper function that checks "pending"
3289 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3291 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3293 2007-12-03 Hans Breuer <hans@breuer.org>
3295 [start of port to win32/msvc]
3296 * gcancellable.c : HAVE_UNIST_H and _pipe()
3297 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3298 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3299 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3301 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3302 * glocalvfs.c : use HAVE_PWD_H
3303 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3304 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3305 * Makefile.am : added to EXTRA_DIST
3307 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3309 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3312 2007-12-03 Alexander Larsson <alexl@redhat.com>
3315 Handle OSX style xattrs API (#500506)
3317 2007-12-03 Alexander Larsson <alexl@redhat.com>
3321 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3323 2007-12-02 A. Walton <awalton@svn.gnome.org>
3327 Documentation accuracy fixes.
3329 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3331 * gioenumtypes.c.template: Fix typo.
3333 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3335 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3337 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3339 * gdirectorymonitor.c:
3340 * gfilemonitor.c: Add properties
3342 * gbufferedoutputstream.c: Don't mark buffer-size property
3345 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3347 * gbufferedoutputstream.c: Add auto-grow property.
3349 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3351 * *.c: Unify the capitalization of section headings.
3353 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3355 * gmountoperation.c: Add properties
3357 * gdatainputstream.c: Turn byte-order and newline-type into
3360 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3362 * gioenumtypes.[hc].template: Templates for enum registration
3364 * Makefile.am: Generate gioenumtypes.[hc]
3366 * gio.h: Include gioenumtypes.h
3368 * gfile.h: Add some explicit nicks.
3370 * gio.symbols: Add new symbols
3372 * pltcheck.sh: Adjust
3374 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3376 * *.c: Explain etags and link to the explanation
3378 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3380 * *.c: Explain I/O priority.
3382 * *.c: More coding style fixes.
3384 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3386 * gasyncresult.c: Add another paragraph to the intro,
3387 adjust coding style of example.
3389 2007-11-29 A. Walton <awalton@svn.gnome.org>
3392 Fixes unknown meaning in GAppLaunchContext docs.
3394 Clarify asynchronous ops.
3396 Fix entity tag docs.
3399 Provides missing gtk-doc section, fixes API docs slighly.
3400 * gsimpleasyncresult.c:
3401 Fill in missing info in docs.
3402 * gunixinputstream.c:
3403 * gunixoutputstream.c:
3404 Be more expressive in short description.
3406 Remove gtk-doc stubs for non-public API.
3408 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3410 * *.c: Coding style fixups
3412 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3414 * inotify/inotify-helper.c: Don't export the lock from libgio.
3416 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3419 * abicheck.sh: Fix copy-and-paste leftovers
3421 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3423 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3425 2007-11-28 Alexander Larsson <alexl@redhat.com>
3429 Removed unnecessary file
3431 * gdesktopappinfo.[ch]:
3434 * glocaldirectorymonitor.[ch]:
3436 * glocalfileenumerator.[ch]:
3437 * glocalfileinputstream.[ch]:
3438 * glocalfilemonitor.[ch]:
3439 * glocalfileoutputstream.[ch]:
3441 * gnativevolumemonitor.c:
3442 * gpollfilemonitor.[ch]:
3443 * gunionvolumemonitor.[ch]:
3446 * gunixvolumemonitor.[ch]:
3449 * inotify/ginotifydirectorymonitor.[ch]:
3450 * inotify/ginotifyfilemonitor.[ch]:
3451 * inotify/inotify-helper.c:
3452 Append _ to all internal functions
3456 Export symbols needed for modules
3458 2007-11-28 Alexander Larsson <alexl@redhat.com>
3461 * abicheck.sh: Added.
3462 * makegioalias.pl: Added.
3463 * pltcheck.sh: Added.
3464 * gio.symbols: Added.
3467 Initial work on adding symbol handling.
3470 Correct ifdef guard name
3473 * inotify/Makefile.am:
3474 * xdgmime/Makefile.am:
3475 Include toplevel Makefile.decl
3477 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3479 * gcontenttype.c: Move doc comments to the unix section.
3481 * *.[hc]: More trivial doc corrections.
3483 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3485 * gpollfilemonitor.c:
3489 * gdesktopappinfo.c:
3494 * gdatainputstream.c:
3495 * gdatainputstream.h:
3496 * gdataoutputstream.c:
3497 * gdataoutputstream.h:
3498 * gfileinfo.h: Doc cleanups
3500 2007-11-28 Andre Klapper <a9016009@gmx.de>
3502 * gdesktopappinfo.c: Fix a typo.
3504 2007-11-27 Andre Klapper <a9016009@gmx.de>
3506 * glocalfileoutputstream.c: Fix a typo.
3508 2007-11-27 Alexander Larsson <alexl@redhat.com>
3511 Don't include removed headers
3513 2007-11-27 Alexander Larsson <alexl@redhat.com>
3516 * gsocketinputstream.[ch]: Removed.
3517 * gsocketoutputstream.[ch]: Removed.
3518 * gunixinputstream.[ch]: Added.
3519 * gunixoutputstream.[ch]: Added.
3520 Renamed GSocket*Stream to GUnix*Stream and made
3521 it unix-only, since its not really only for sockets
3522 and it only works on unix (but is highly useful there).
3524 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3530 * gbufferedinputstream.c:
3531 * gbufferedinputstream.h:
3532 * gbufferedoutputstream.c:
3533 * gbufferedoutputstream.h:
3537 * gdatainputstream.c:
3538 * gdatainputstream.h:
3539 * gdataoutputstream.c:
3540 * gdataoutputstream.h:
3541 * gdirectorymonitor.c:
3542 * gdirectorymonitor.h:
3549 * gfileenumerator.c:
3550 * gfileenumerator.h:
3555 * gfileinputstream.c:
3556 * gfileinputstream.h:
3559 * gfilenamecompleter.c:
3560 * gfilenamecompleter.h:
3561 * gfileoutputstream.c:
3562 * gfileoutputstream.h:
3563 * gfilterinputstream.c:
3564 * gfilterinputstream.h:
3565 * gfilteroutputstream.c:
3566 * gfilteroutputstream.h:
3579 * glocalfileoutputstream.c:
3580 * gmemoryinputstream.c:
3581 * gmemoryinputstream.h:
3582 * gmemoryoutputstream.c:
3583 * gmemoryoutputstream.h:
3584 * gmountoperation.c:
3585 * gmountoperation.h:
3588 * gpollfilemonitor.c:
3591 * gsimpleasyncresult.c:
3592 * gsimpleasyncresult.h:
3593 * gsocketinputstream.c:
3594 * gsocketinputstream.h:
3595 * gsocketoutputstream.c:
3596 * gsocketoutputstream.h:
3603 * gunixvolumemonitor.c:
3612 Bumps documentation to 93% symbol coverage, touching most
3613 of the public files. Fixes broken function documentation prototypes.
3614 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3615 gtk-doc headers in private files.
3617 2007-11-27 Jürg Billeter <j@bitron.ch>
3619 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3620 (g_buffered_input_stream_read_byte):
3621 * gbufferedinputstream.h:
3622 New functions for efficient access to buffer and simple single byte
3625 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3626 (g_data_input_stream_read_until):
3627 * gdatainputstream.h:
3628 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3629 read_until with multiple stop chars.
3631 2007-11-27 Alexander Larsson <alexl@redhat.com>
3635 * inotify/Makefile.am:
3636 Use the user-specified giomoduledir
3638 2007-11-27 Alexander Larsson <alexl@redhat.com>
3642 Add catch-all gio.h header
3643 Don't install gdummyfile.h
3645 2007-11-26 Alexander Larsson <alexl@redhat.com>
3647 * Makefile.am (gioinclude_HEADERS):
3648 Remove trailing whitespace
3650 2007-11-26 Alexander Larsson <alexl@redhat.com>
3652 Merge gio-standalone into glib
3654 2007-11-25 Christian Kellner <gicmo@gnome.org>
3656 * gio/goutputstream.c:
3657 Fix small mistake in the docs.
3659 2007-11-21 Christian Persch <chpe@gnome.org>
3661 * gio/glocalfile.c: (g_local_file_trash):
3662 Convert filenames to UTF-8 for GError.
3663 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3664 as per xdg base dir spec.
3666 2007-11-21 Christian Persch <chpe@gnome.org>
3668 * gio/gdesktopappinfo.c:
3669 Use that g_key_file_to_data cannot fail.
3671 Use stock defines for the key file group and key names.
3674 2007-11-21 Alexander Larsson <alexl@redhat.com>
3677 (copy_stream_with_progress):
3678 Make sure we do a final progress callback with
3679 the full total size.
3681 2007-11-21 Alexander Larsson <alexl@redhat.com>
3684 Export g_file_copy_attributes
3685 Remove padding as its not needed for interfaces
3687 2007-11-20 Alexander Larsson <alexl@redhat.com>
3692 Add G_IO_ERROR_WOULD_MERGE for
3693 copy/move dir on dir with overwrite.
3695 2007-11-20 Alexander Larsson <alexl@redhat.com>
3698 * gio/glocalfileinfo.c:
3699 Add COPY_NAME (this is an optional
3700 non-modified utf8 version of the name) that
3703 2007-11-20 Alexander Larsson <alexl@redhat.com>
3705 * gio/glocalfileenumerator.c:
3706 Report errors as GIOError, not GFileError
3708 2007-11-16 Alexander Larsson <alexl@redhat.com>
3710 * gio/glocalfileoutputstream.c:
3711 * gio/gwin32appinfo.c:
3712 Fix typos in strings.
3713 Patch from Luca Ferretti <elle.uca@libero.it>
3715 2007-11-15 Alexander Larsson <alexl@redhat.com>
3718 Post release version bump
3720 === gio-standalone 0.1.2 ===
3722 2007-11-15 Alexander Larsson <alexl@redhat.com>
3724 * docs/reference/gio/Makefile.am:
3725 Fix up distcheck by removing weird
3731 2007-11-14 Alexander Larsson <alexl@redhat.com>
3733 * gio/gdesktopappinfo.c:
3734 * gio/glocaldirectorymonitor.c:
3736 * gio/glocalfileinfo.c:
3737 * gio/inotify/inotify-sub.c:
3738 * programs/gio-cat.c:
3739 * programs/gio-copy.c:
3740 * programs/gio-info.c:
3741 * programs/gio-ls.c:
3742 * programs/gio-monitor-dir.c:
3743 * programs/gio-monitor-file.c:
3744 * programs/gio-mount.c:
3745 * programs/gio-move.c:
3746 * programs/gio-rm.c:
3747 * programs/gio-save.c:
3748 * programs/gio-trash.c:
3749 Leak fixes from Kjartan Maraas
3751 2007-11-14 Alexander Larsson <alexl@redhat.com>
3753 * gio/fam/fam-helper.c:
3755 * gio/glocalfileinfo.c:
3759 * gio/inotify/inotify-diag.c:
3760 * gio/inotify/inotify-kernel.c:
3761 Various code cleanups from Kjartan Maraas
3763 2007-11-14 Alexander Larsson <alexl@redhat.com>
3765 * gio/gioscheduler.c:
3767 Set up threadpool so that we cache 2 unused
3768 idle threads for at 15 secs. This means we
3769 will reuse thread-local data (like dbus connections)
3772 2007-11-14 Alexander Larsson <alexl@redhat.com>
3774 * gio/fam/fam-helper.c:
3775 * gio/fam/gfamdirectorymonitor.c:
3776 * gio/fam/gfamfilemonitor.c:
3778 * gio/gcontenttype.c:
3779 * gio/gdatainputstream.c:
3780 * gio/gdataoutputstream.c:
3784 * gio/gfileattribute.h:
3785 * gio/gfileenumerator.c:
3787 * gio/ginputstream.c:
3790 * gio/glocalfileinfo.c:
3791 * gio/goutputstream.c:
3792 * gio/gpollfilemonitor.c:
3793 * gio/gsimpleasyncresult.c:
3794 * gio/gunixmounts.c:
3795 * gio/gunixmounts.h:
3796 * gio/inotify/ginotifydirectorymonitor.c:
3797 * gio/inotify/ginotifyfilemonitor.c:
3798 * gio/inotify/inotify-diag.c:
3799 * gio/inotify/inotify-kernel.c:
3800 * gio/inotify/inotify-path.c:
3802 * gio/test-streams.c:
3803 * programs/gio-info.c:
3804 * programs/gio-monitor-dir.c:
3805 * programs/gio-monitor-file.c:
3806 Various code cleanups from Kjartan Maraas
3808 2007-11-13 Alexander Larsson <alexl@redhat.com>
3811 Handle the uri-scheme calls for dummy files
3813 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3815 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3816 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3817 to avoid clash with the C++ keyword.
3819 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3821 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3822 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3824 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3826 * gio/glocaldirectorymonitor.c:
3827 * gio/glocalfilemonitor.c:
3828 * gio/gunionvolumemonitor.c:
3829 Don't use g_once_init_*() for initializations that could fail and
3830 could leave the initialization variable set to 0 but use GOnce.
3831 This prevents a deadlock on the second call when trying to create
3832 a monitor and no monitor type is available. Thanks to Sven Herzberg
3835 2007-11-11 Sven Herzberg <sven@imendio.com>
3837 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3838 #ifdef (make it work on MacOS X again)
3840 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3842 Fixes Changelog for last two commits (sorry guys).
3844 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3846 * gio/gbufferedinputstream.c:
3847 * gio/gdatainputstream.c:
3849 * gio/gfileoutputstream.c:
3850 * gio/gfilterinputstream.c:
3851 * gio/glocalfileinputstream.c:
3854 More consistency fixes in g*stream.c files.
3855 Significant clean of gfile's documentation, filling in of
3856 asynchronous operations documentation.
3858 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3860 * gio/gasyncresult.c:
3861 * gio/gbufferedinputstream.c:
3862 * gio/gbufferedoutputstream.c:
3863 * gio/gcancellable.c:
3864 * gio/gcontenttype.c:
3865 * gio/gdatainputstream.c:
3866 * gio/gdataoutputstream.c:
3867 * gio/gdesktopappinfo.c:
3870 * gio/gfileattribute.c:
3871 * gio/gio/gfileenumerator.c:
3873 * gio/gfileinputstream.c:
3874 * gio/gfilemonitor.c:
3875 * gio/gfileoutputstream.c:
3876 * gio/ginputstream.c:
3878 * gio/gioscheduler.c:
3879 * gio/gloadableicon.c:
3880 * gio/glocalfileoutputstream.c:
3881 * gio/gmemoryoutputstream.c:
3882 * gio/gmountoperation.c:
3883 * gio/goutputstream.c:
3885 * gio/gsimpleasyncresult.c:
3886 * gio/gunionvolumemonitor.c:
3887 * gio/gunixmounts.c:
3888 * gio/gunixvolume.c:
3892 * gio/gvolumemonitor.c:
3893 Updated documentation stubs, working towards consistency and
3896 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3898 * gio/gmemoryoutputstream.c:
3899 * gio/gmemoryoutputstream.h:
3900 Change g_memory_output_stream_set_free_on_close() to
3901 g_memory_output_stream_set_free_data() as this makes more sense and
3902 is more consistent with GMemoryInputStream.
3904 2007-11-07 Alexander Larsson <alexl@redhat.com>
3911 Change how we find the default vfs so that
3912 we can handle a gvfs failing to init
3914 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3916 * gio/gbufferedoutputstream.c:
3917 * gio/gdatainputstream.c:
3918 * gio/gdataoutputstream.c:
3919 * gio/gfileinputstream.c:
3920 * gio/gfileoutputstream.c:
3921 * gio/gfilterinputstream.c:
3922 * gio/gfilteroutputstream.c:
3923 * gio/ginputstream.c:
3924 * gio/gmemoryinputstream.c:
3925 * gio/gmemoryoutputstream.c:
3926 * gio/goutputstream.c:
3927 * gio/gsimpleasyncresult.c:
3928 * gio/gsocketinputstream.c:
3929 * gio/gsocketoutputstream.c:
3930 Add guards to the remaining public functions, add a TODO for
3931 an unimplemented function and remove some useless guards.
3933 2007-11-07 Alexander Larsson <alexl@redhat.com>
3936 Autoconf checks for the various types of
3937 getpwuid_r and getgrgid_r
3939 * gio/glocalfileinfo.c:
3940 Use the autoconf checks from above
3942 2007-11-07 Alexander Larsson <alexl@redhat.com>
3945 (g_local_file_query_filesystem_info):
3946 Some fixes for the statvfs case
3948 2007-11-07 Alexander Larsson <alexl@redhat.com>
3951 (g_local_file_query_filesystem_info):
3952 Pick the "best" of statfs / statvfs for the system
3953 if both are availible.
3955 2007-11-07 Alexander Larsson <alexl@redhat.com>
3957 Solaris fixes from Halton.Huo@Sun.COM:
3964 * gio/glocalfileinfo.c:
3965 Fix for solaris definition of getpwuid_r
3967 * gio/test-streams.c:
3968 Use G_GNUC_PRETTY_FUNCTION
3970 2007-11-07 Alexander Larsson <alexl@redhat.com>
3972 * gio/gdesktopappinfo.c:
3973 (update_default_list):
3974 Remove double semicolon.
3975 Patch from Jens Granseuer
3977 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3979 * docs/reference/gio/gio-sections.txt:
3980 * gio/gbufferedinputstream.c:
3981 * gio/gbufferedinputstream.h:
3982 * gio/gdatainputstream.c:
3983 * gio/gfileenumerator.c:
3984 * gio/gioscheduler.c:
3985 * gio/gunionvolumemonitor.c:
3987 * programs/gio-save.c:
3988 Fix typo: availible -> available. Unfortuntely this breaks API
3989 and ABI as g_buffered_input_stream_get_available() was renamed.
3991 * gio/gunixmounts.c:
3992 * gio/gbufferedinputstream.c:
3993 Add guards for public functions.
3995 2007-11-06 Ross Burton <ross@openedhand.com>
3997 * docs/reference/gio/Makefile.am:
3998 Fix invalid += usage which automake 1.10 doesn't like.
4000 2007-11-06 Alexander Larsson <alexl@redhat.com>
4003 (g_app_launch_context_class_init):
4006 Patch from Ross Burton
4008 2007-11-06 Alexander Larsson <alexl@redhat.com>
4011 Post release version bump
4013 === gio-standalone 0.1.1 ===
4015 2007-11-06 Alexander Larsson <alexl@redhat.com>
4018 Bump version to 0.1.1
4020 * gio/gsimpleasyncresult.c:
4021 (g_simple_async_result_set_from_error):
4022 Remove bogus g_return_if_fail
4024 2007-11-06 Alexander Larsson <alexl@redhat.com>
4027 The name is gio-standalone
4030 Add top src/builddir to includedir
4032 2007-11-06 Alexander Larsson <alexl@redhat.com>
4034 * docs/reference/gio/gio-sections.txt:
4036 * gio/gbufferedinputstream.c:
4037 * gio/gbufferedoutputstream.c:
4038 * gio/gcancellable.c:
4039 * gio/gdatainputstream.h:
4040 * gio/gdataoutputstream.c:
4041 * gio/gdataoutputstream.h:
4042 * gio/gdirectorymonitor.c:
4044 * gio/gfileattribute.c:
4045 * gio/gfileattribute.h:
4046 * gio/gfileenumerator.c:
4047 * gio/gfileenumerator.h:
4050 * gio/gfileinputstream.h:
4051 * gio/gfilemonitor.c:
4052 * gio/gfileoutputstream.h:
4053 * gio/glocalfilemonitor.h:
4054 * gio/glocalfileoutputstream.h:
4055 * gio/gmemoryinputstream.c:
4056 * gio/gmemoryoutputstream.c:
4057 * gio/gmountoperation.c:
4058 * gio/goutputstream.c:
4059 * gio/goutputstream.h:
4061 * gio/gsimpleasyncresult.c:
4062 * gio/gunixmounts.c:
4063 * gio/gunixmounts.h:
4065 * gio/inotify/inotify-helper.c:
4066 Fix gtk-doc warnings
4068 Patch from Ross Burton
4070 2007-11-06 Alexander Larsson <alexl@redhat.com>
4072 * gio/gfilenamecompleter.c:
4073 (g_filename_completer_get_completions):
4076 * gio/gunixvolume.c:
4077 Remove unused function
4079 Patches from Ross Burton
4081 2007-11-06 Alexander Larsson <alexl@redhat.com>
4086 Padding not needed for interfaces
4088 2007-11-06 Alexander Larsson <alexl@redhat.com>
4090 * gio/gfilemonitor.c:
4094 Make giotypes.h an internal file
4097 * gio/gbufferedinputstream.h:
4098 * gio/gbufferedoutputstream.h:
4099 * gio/gcancellable.h:
4100 * gio/gdatainputstream.h:
4101 * gio/gdataoutputstream.h:
4102 * gio/gdirectorymonitor.c:
4103 * gio/gdirectorymonitor.h:
4108 * gio/gfileattribute.h:
4109 * gio/gfileenumerator.h:
4114 * gio/gfilemonitor.c:
4115 * gio/gfilemonitor.h:
4116 * gio/gfilenamecompleter.c:
4117 * gio/gfilenamecompleter.h:
4118 * gio/gfilterinputstream.h:
4119 * gio/gfilteroutputstream.h:
4120 * gio/ginputstream.h:
4121 * gio/gmemoryinputstream.h:
4122 * gio/gmemoryoutputstream.h:
4123 * gio/gmountoperation.c:
4124 * gio/gmountoperation.h:
4125 * gio/gnativevolumemonitor.c:
4126 * gio/goutputstream.h:
4129 * gio/gsimpleasyncresult.c:
4130 * gio/gsimpleasyncresult.h:
4131 * gio/gsocketinputstream.h:
4132 * gio/gsocketoutputstream.h:
4133 * gio/gthemedicon.c:
4134 * gio/gthemedicon.h:
4138 * gio/gvolumemonitor.c:
4139 * gio/gvolumemonitor.h:
4140 Add padding in classes where it seems useful
4141 Don't include giotypes.h from public headers
4142 Move in Class definitions into c file where possible
4147 2007-11-06 Alexander Larsson <alexl@redhat.com>
4149 * docs/reference/gio/gio-docs.xml:
4150 Better structure for API docs
4152 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4155 * gio/gloadableicon.c:
4156 * gio/gsimpleasyncresult.c:
4157 * gio/gthemedicon.c:
4158 Add some more guards to public functions. Only files missing are now
4161 2007-11-06 Alexander Larsson <alexl@redhat.com>
4163 * docs/reference/gio/gio-docs.xml:
4164 Remove old files, add missing ones
4166 2007-11-06 Alexander Larsson <alexl@redhat.com>
4168 * docs/reference/gio/gio-sections.txt:
4171 Hide implementation classes
4173 * gio/gdriveprivate.h:
4174 * gio/gvolumeprivate.h:
4175 Remove non-existing function declarations
4177 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4180 Fix compilation warnings and add guards to the new functions.
4182 * gio/gasyncresult.c:
4184 Add guards to the public functions.
4187 Implement get_path().
4189 2007-11-06 Alexander Larsson <alexl@redhat.com>
4191 * gio/gfilenamecompleter.c:
4192 Make g_filename_completer_get_completions
4193 return char ** instead of GList for
4196 * docs/reference/gio/gio-docs.xml:
4197 * docs/reference/gio/gio-sections.txt:
4199 * gio/gasyncresult.c:
4200 * gio/gbufferedinputstream.c:
4201 * gio/gbufferedoutputstream.c:
4202 * gio/gcancellable.c:
4203 * gio/gcontenttype.c:
4204 * gio/gdatainputstream.c:
4205 * gio/gdataoutputstream.c:
4206 * gio/gdesktopappinfo.c:
4207 * gio/gdirectorymonitor.c:
4211 * gio/gfileattribute.c:
4212 * gio/gfileenumerator.c:
4215 * gio/gfileinputstream.c:
4216 * gio/gfilemonitor.c:
4217 * gio/gfilenamecompleter.c:
4218 * gio/gfilenamecompleter.h:
4219 * gio/gfileoutputstream.c:
4220 * gio/gfilterinputstream.c:
4222 * gio/ginputstream.c:
4224 * gio/gioscheduler.c:
4225 * gio/gloadableicon.c:
4226 * gio/glocaldirectorymonitor.c:
4228 * gio/glocalfileinputstream.c:
4229 * gio/glocalfilemonitor.c:
4230 * gio/glocalfileoutputstream.c:
4232 * gio/gmemoryinputstream.c:
4233 * gio/gmemoryoutputstream.c:
4234 * gio/gmountoperation.c:
4235 * gio/goutputstream.c:
4236 * gio/gpollfilemonitor.c:
4238 * gio/gsimpleasyncresult.c:
4239 * gio/gsocketinputstream.c:
4240 * gio/gsocketoutputstream.c:
4241 * gio/gthemedicon.c:
4242 * gio/gunionvolumemonitor.c:
4244 * gio/gunixmounts.c:
4245 * gio/gunixvolume.c:
4246 * gio/gunixvolumemonitor.c:
4250 * gio/gvolumemonitor.c:
4251 * gio/gwin32appinfo.c:
4252 Add (mostly stub) doc strings to public functions.
4253 Patch from Andrew Walton (awalton@gmail.com)
4255 2007-11-06 Alexander Larsson <alexl@redhat.com>
4257 * gio/gappinfo.[ch]:
4258 Added GAppLaunchContext object and pass that to launch.
4259 This allows simple implementation of both
4260 launch-on-screen and startup notification via a gtk+
4261 subclass of GAppLaunchContext
4263 * gio/gdesktopappinfo.c:
4264 Implement GAppLaunchContext API
4266 * gio/gwin32appinfo.c:
4269 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4271 * gio/gmountoperation.c:
4272 Add some guards to GMountOperation's public functions.
4274 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4278 * gio/gcancellable.c:
4279 * gio/gdirectorymonitor.c:
4281 * gio/gfileenumerator.c:
4282 * gio/gfilemonitor.c:,
4283 * gio/gfilenamecompleter.c:
4286 * gio/gioscheduler.c:
4290 * gio/gvolumemonitor.c:
4291 Add even more guards to various public functions.
4293 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4296 Add guards to the public functions of GAppInfo.
4298 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4300 * gio/gcontenttype.c:
4301 Add some more guards for public functions.
4303 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4305 * gio/fam/fam-module.c:
4306 * gio/fam/gfamdirectorymonitor.c:
4307 * gio/fam/gfamdirectorymonitor.h:
4308 * gio/fam/gfamfilemonitor.c:
4309 * gio/fam/gfamfilemonitor.h:
4310 * gio/inotify/ginotifydirectorymonitor.c:
4311 * gio/inotify/ginotifydirectorymonitor.h:
4312 * gio/inotify/ginotifyfilemonitor.c:
4313 * gio/inotify/ginotifyfilemonitor.h:
4314 Add proper copyright information and remove an unused variable
4315 in the GInotifyFileMonitor constructor.
4317 * gio/gcancellable.c:
4318 Add a guard for a public function and an assertion to prevent
4319 an undefined program state.
4321 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4323 * gio/gfileattribute.c:
4324 Don't run into an assertion if the given attribute value is NULL
4325 in g_file_attribute_value_get_*() but instead return a fallback
4326 value that makes sense in most situations. Passing them a attribute
4327 value with the wrong type will still run into an assertion.
4329 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4331 * gio/gfileattribute.c:
4333 Add even more guards to the public functions. Also fix the refcounting
4334 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4335 let g_file_info_list_attributes() filter the attributes by namespace
4336 instead of simply ignoring the namespace parameter.
4338 2007-11-03 Sven Herzberg <sven@imendio.com>
4340 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4341 (This makes gio work on MacOS X again)
4343 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4346 Build the gio subdirectory before the docs. Otherwise the build will
4349 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4350 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4351 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4352 Add guards to the public functions.
4354 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4356 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4357 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4358 to prevent a compiler warning.
4360 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4361 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4362 return something in the non-void function find_topdir_for().
4364 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4371 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4373 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4374 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4375 * gwin32appinfo.c (g_win32_app_info_launch):
4376 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4377 envp_for_startup_id, g_desktop_app_info_launch,
4378 g_desktop_app_info_launch_uris):
4380 Give an opaque 'startup_id' string instead of 'envp'.
4381 Support empty file lists for launching new windows.
4382 Fix infinite recursion bug when launching URIs.
4384 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4387 Add guard to the new g_file_get_uri_scheme() function.
4389 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4392 Convert a g_return_val_if_fail() to setting the GError instead as
4393 otherwise applications have to verify the parameter before otherwise
4394 and the parameter might come directly from the user.
4396 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4398 * gio/inotify/ginotify*.[ch]:
4399 Add missing copyright information.
4401 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4404 Add guards in the beginning of public functions to check for valid
4405 parameters and fix a bug in copy_stream_with_progress() that could've
4406 caused writing less bytes than reading.
4407 * gio/glocalfileinfo.c:
4408 Check for a NULL parameter and set the GError accordingly then.
4409 * gio/goutputstream.c:
4410 Fix the same bug as in gfile.c that could've caused writing less bytes
4411 than reading in g_output_stream_real_splice().
4413 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4416 Use the correct gvolumeprivate.h naming
4418 2007-11-01 Christian Kellner <gicmo@gnome.org>
4421 Remove leftover "$(daemon_sources)" entry.
4423 2007-11-01 Christian Kellner <gicmo@gnome.org>
4428 Add copyright information to source files.
4430 2007-11-01 Alexander Larsson <alexl@redhat.com>
4434 Add g_file_get_uri_scheme
4436 2007-11-01 Alexander Larsson <alexl@redhat.com>
4439 * gio/gdesktopappinfo.c:
4440 * gio/gwin32appinfo.c:
4441 Add g_app_info_get_default_for_uri_scheme.
4443 2007-11-01 Alexander Larsson <alexl@redhat.com>
4446 Correct filename for gdriveprivate.h
4448 2007-10-31 Alexander Larsson <alexl@redhat.com>
4451 Rename id:value to id:file
4454 * gio/glocalfileinfo.c:
4457 2007-10-31 Alexander Larsson <alexl@redhat.com>
4459 * gio/gunixvolume.c:
4461 Remove g_volume_get_platform_id, as thats not
4462 needed with the simpler union volume monitor
4464 2007-10-31 Alexander Larsson <alexl@redhat.com>
4467 * gio/guniondrive.[ch]: Removed.
4468 * gio/gunionvolume.[ch]: Removed.
4469 Remove GUnionDrive/Volume
4471 * gio/gunionvolumemonitor.c:
4472 Simplify union volume monitor, now we
4473 only have one native volume monitor and
4474 we use the actual volumes/drives from the
4475 child monitors instead of wrapping them
4477 * gio/gnativevolumemonitor.[ch]:
4478 Base class for native volume monitors.
4479 Includes priority and get_volume_for_mountpoint
4482 Add g_file_find_enclosing_volume
4485 Remove volume name fs attribute
4486 Add readonly fs attribute
4489 Implement readonly attribute
4490 remove volume name attribute
4491 Implement find_enclosing volume
4493 * gio/gunixmounts.c:
4494 Add a volume for "/".
4496 * gio/gunixvolume.[ch]:
4497 Set better name for /
4499 * gio/gunixvolumemonitor.[ch]:
4500 Derive from GNativeVolumeMonitor
4501 Implement get_volume_for_mountpoint
4504 GVolume typedef moved to gfile.h
4506 * gio/gvolumeprivate.h:
4507 Add g_volume_get_for_mount_path
4509 2007-10-31 Alexander Larsson <alexl@redhat.com>
4511 * gio/gunixmounts.[ch]:
4512 Add cache info to unix mount listers
4513 Make getmntent use threadsafe
4514 Add is_system_internal attribute for GUnixMount
4516 * gio/gunixvolume.c:
4517 (g_unix_volume_new):
4518 Use is_system_internal instead of own code
4520 * gio/glocaldirectorymonitor.c:
4521 * gio/gunixvolumemonitor.c:
4522 Update to new gunixmounts API
4527 2007-10-30 Alexander Larsson <alexl@redhat.com>
4530 Add volume name fsinfo attribute
4533 Read volume name info
4535 * gio/gunionvolumemonitor.c:
4536 Fix infinite loops when finalizing a union volume monitor
4538 2007-10-30 Alexander Larsson <alexl@redhat.com>
4540 * gio/goutputstream.[ch]:
4541 Add splice() with default implementation
4543 * gio/gsocketoutputstream.c:
4544 (g_socket_output_stream_write):
4545 Return error on cancellation correctly.
4547 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4549 * gio/glocalfile.c (g_local_file_trash):
4550 Do not leak a string.
4552 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4554 * gio/gfile.c (g_file_load_contents):
4555 Unref the stream after closing it.
4557 2007-10-25 Alexander Larsson <alexl@redhat.com>
4559 * gio/gioscheduler.h:
4562 2007-10-25 Alexander Larsson <alexl@redhat.com>
4566 Add g_file_has_uri_scheme and implement for local files
4568 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4570 * gio/gdesktopappinfo.c: do not leak a string.
4572 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4574 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4575 (g_local_directory_monitor_new):
4576 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4577 (g_local_file_monitor_new):
4578 Only look for the monitor type that should be used the first time
4579 and use g_qsort_with_data() instead of our own bubble sort
4582 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4585 * gio/fam/Makefile.am:
4586 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4587 * gio/fam/fam-helper.h:
4588 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4589 * gio/fam/gfamdirectorymonitor.c:
4590 * gio/fam/gfamdirectorymonitor.h:
4591 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4592 * gio/fam/gfamfilemonitor.h:
4593 * gio/glocaldirectorymonitor.c:
4594 * gio/glocaldirectorymonitor.h:
4595 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4596 * gio/glocalfilemonitor.h:
4597 * gio/inotify/Makefile.am:
4598 * gio/inotify/ginotifydirectorymonitor.c:
4599 * gio/inotify/ginotifydirectorymonitor.h:
4600 * gio/inotify/ginotifyfilemonitor.c:
4601 * gio/inotify/ginotifyfilemonitor.h:
4602 Implement the FAM and Inotify monitors as
4603 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4604 their own GIO module. GLocal(Directory|File)Monitor will use the
4605 monitor with the highest rank that is supported on that machine.
4607 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4610 Change GIO module dir to $(libdir)/gio/modules and change
4611 the log domain from GVFS to GIO. Also only export symbols starting
4612 with g_ in the resulting library.
4613 * gio/test-streams.c: (main):
4614 Set log handler for the GIO log domain.
4616 2007-10-22 Alexander Larsson <alexl@redhat.com>
4618 * gio/gfilenamecompleter.[ch]:
4619 Add g_filename_completer_set_dirs_only
4621 2007-10-22 Alexander Larsson <alexl@redhat.com>
4624 * gio/gurifuncs.[ch]:
4625 Add some simple URI helpers
4627 * gio/gfilenamecompleter.[ch]:
4628 Added object for filename (parse name actually) completion
4631 Handle ~ in parse names
4633 2007-10-17 Alexander Larsson <alexl@redhat.com>
4636 * gio/glocalfileinfo.c:
4637 Add and implement id:value attribute
4639 2007-10-17 Alexander Larsson <alexl@redhat.com>
4642 * gio/guniondrive.c:
4644 Add and implement g_drive_has_volumes
4646 2007-10-17 Alexander Larsson <alexl@redhat.com>
4649 * gio/glocalfileinfo.[ch]:
4650 Add unix:is_mountpoint and implement for local files
4652 2007-10-16 Alexander Larsson <alexl@redhat.com>
4654 * gio/gunionvolumemonitor.c:
4655 (g_union_volume_monitor_init):
4656 Fix up the unix type getting so that it works with gcc
4658 2007-10-12 Alexander Larsson <alexl@redhat.com>
4661 * gio/glocalfileinfo.c:
4662 Add thumbnail:failed to file info
4664 2007-10-12 Richard Hult <richard@imendio.com>
4666 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4667 optimizing away the get_type call (happens with some gcc versions,
4668 like the one shipped with OS X 10.4).
4670 2007-10-12 Alexander Larsson <alexl@redhat.com>
4672 * gio/glocalfileinfo.c:
4673 (_g_local_file_info_set_attribute):
4674 Fix build if not HAVE_XATTR
4675 Patch from Milosz Derezynski <internalerror@gmail.com>
4677 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4679 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4680 around for review, otherwise I would have asked you before
4683 2007-10-11 Alexander Larsson <alexl@redhat.com>
4686 Add thumbnail:path attribute
4688 * gio/glocalfileinfo.c:
4689 Implement thumbnail:path for local files
4691 2007-10-11 Alexander Larsson <alexl@redhat.com>
4693 * gio/glocalfileinfo.c:
4694 (_g_local_file_info_get):
4695 Avoid duplicate icon names
4697 2007-10-11 Alexander Larsson <alexl@redhat.com>
4699 * gio/gthemedicon.[ch]:
4700 Change g_themed_icon_get_names return type to const
4702 2007-10-10 Alexander Larsson <alexl@redhat.com>
4704 * gio/glocalfileinfo.c:
4705 Don't reference freed memory
4707 2007-10-10 Alexander Larsson <alexl@redhat.com>
4709 * gio/gfileattribute.c:
4712 * gio/glocalfileinfo.c:
4715 2007-10-10 Alexander Larsson <alexl@redhat.com>
4718 Check for NULL icons
4720 * gio/gfileattribute.c:
4721 Don't dup when getting objects (same as for string attributes)
4723 * gio/gicon.c (g_icon_equal):
4724 Safely handle NULLs in equal
4726 2007-10-10 Alexander Larsson <alexl@redhat.com>
4729 Fix c++ compilation issues
4730 Patch from Milosz Derezynski <internalerror@gmail.com>
4732 2007-10-10 Alexander Larsson <alexl@redhat.com>
4734 * programs/gio-monitor-dir.c:
4735 Don't crash if dir monitor not supported.
4737 2007-10-09 Alexander Larsson <alexl@redhat.com>
4740 Add missing G_END_DECLS
4742 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4744 * gio/gfile.c: (g_file_set_display_name),
4745 (g_file_query_settable_attributes),
4746 (g_file_query_writable_namespaces):
4747 Return NULL not FALSE on errors as the return type is a pointer.
4749 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4751 * gio/glocalfile.c: (g_local_file_monitor_file):
4752 Don't call monitor_file on the default interface vtable (which
4753 is NULL) but simply return NULL. The caller, GFile, will create a
4754 polling monitor if NULL is returned.
4756 2007-10-09 Alexander Larsson <alexl@redhat.com>
4760 * gio-unix-2.0.pc.in:
4761 Add gio-unix-2.0.pc if OS_UNIX
4764 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4766 2007-10-09 Alexander Larsson <alexl@redhat.com>
4768 * gio/gunixmounts.[ch]:
4769 Make unix mount monitoring API sane.
4770 Now its just a object with mounts_changed
4771 and mountpoints_changed signals.
4773 * gio/glocaldirectorymonitor.c:
4774 * gio/gunixvolumemonitor.c:
4775 Use new mount monitor api
4777 2007-10-09 Alexander Larsson <alexl@redhat.com>
4779 * gio/gunixmounts.[ch]:
4780 Move guess type into one call for mounts and one for mountpoints
4783 * gio/gunixvolume.c:
4786 2007-10-09 Alexander Larsson <alexl@redhat.com>
4788 * gio/gunixmounts.[ch]:
4789 Remove _ prefix in preparation to make this semi-public
4790 Hide implementation of structs
4792 * gio/glocaldirectorymonitor.c:
4794 * gio/gunixvolume.c:
4795 * gio/gunixvolumemonitor.c:
4796 Update for above API changes
4798 2007-10-08 Alexander Larsson <alexl@redhat.com>
4801 Better polling fallback. This also handles the case where we have
4802 a monitor_file implementation, but it fails.
4804 2007-10-08 Alexander Larsson <alexl@redhat.com>
4808 * gio/gunixmounts.c:
4809 * programs/gio-monitor-dir.c:
4810 * programs/gio-monitor-file.c:
4811 Added cancellable to file monitoring calls.
4812 These are really sync calls and need this.
4814 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4816 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4817 (g_local_vfs_class_init):
4818 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4819 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4821 2007-10-05 Alexander Larsson <alexl@redhat.com>
4823 * gio/gdirectorymonitorprivate.h:
4824 * gio/gfilemonitorprivate.h:
4825 * gio/gdirectorymonitor.h:
4826 * gio/gfilemonitor.h:
4827 Remove *private.h and move to the public API, so that
4828 we can do implementations outside gio (such as in gvfs)
4830 * gio/gdirectorymonitor.c:
4831 * gio/gfilemonitor.c:
4832 * gio/glocaldirectorymonitor.c:
4833 * gio/gpollfilemonitor.c:
4834 * gio/inotify/inotify-helper.c:
4835 * gio/fam/fam-helper.c:
4836 Update to the new header names
4838 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4840 * gio/gdirectorymonitor.c:
4841 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4844 2007-10-04 Alexander Larsson <alexl@redhat.com>
4846 * gio/glocalfileinfo.c (get_access_rights):
4847 Set CAN_TRASH when we can move the file.
4848 We should really also check for a parent trash dir.
4850 2007-10-04 Alexander Larsson <alexl@redhat.com>
4852 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4853 Add can_trash access attribute
4855 2007-10-04 Alexander Larsson <alexl@redhat.com>
4858 (g_local_file_trash):
4859 Create info file first. This is per-spec and allows
4860 us to actually trash directories.
4862 2007-10-02 Alexander Larsson <alexl@redhat.com>
4864 * gio/gdesktopappinfo.c:
4865 Implement the new mime support code.
4866 Always set app as handling mimetype when being set as default for it
4868 2007-10-01 Alexander Larsson <alexl@redhat.com>
4870 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4871 Fix up check for xattrs:
4873 2007-10-01 Alexander Larsson <alexl@redhat.com>
4876 (g_app_info_set_as_default_for_extension):
4877 (g_app_info_add_supports_type):
4878 (g_app_info_can_remove_supports_type):
4879 (g_app_info_remove_supports_type):
4880 Make these fail nicely if not implemented
4882 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4884 * gio/glocalfileoutputstream.c:
4885 * gio/glocalfileoutputstream.h:
4890 * programs/gio-save.c:
4891 Add a GFileCreateFlags argument to operations that can create
4894 2007-10-01 Alexander Larsson <alexl@redhat.com>
4896 * gio/gappinfo.[ch]:
4897 * gio/gdesktopappinfo.c:
4898 Add more (stubbed out) mime API needed for nautilus
4900 2007-10-01 Alexander Larsson <alexl@redhat.com>
4903 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4904 Add g_app_info_set_as_default_for_extension.
4906 * gio/gdesktopappinfo.c:
4907 Dummy for g_app_info_set_as_default_for_extension
4908 Support flags in g_app_info_create_from_commandline
4910 * gio/gwin32appinfo.c:
4912 Update for API changes
4914 * gio/gthemedicon.c:
4915 Properly NULL-terminate list of icon names
4917 2007-09-28 Alexander Larsson <alexl@redhat.com>
4919 * gio/gloadableicon.h:
4920 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4922 2007-09-28 Alexander Larsson <alexl@redhat.com>
4925 Install headers in $includedir/gio-standalone/
4927 * gio-2.0.pc.in: Added.
4928 * gio-standalone.pc.in: Removed.
4931 Renamed pkg-config file to match glib (for future move)
4932 Update to the new include dir
4935 Add more TODO comments
4937 2007-09-28 Alexander Larsson <alexl@redhat.com>
4939 * gio/gdesktopappinfo.[ch]:
4940 Expose new_from_filename
4941 Add getter for is_hidden and handle it better
4943 2007-09-28 Alexander Larsson <alexl@redhat.com>
4945 * gio/gfileinfo.[ch]:
4946 Rename g_file_size_format_for_display to
4947 g_format_file_size_for_display.
4948 Now it doesn't have the g_file prefix, so we
4949 can later move it to glib.
4951 2007-09-28 Alexander Larsson <alexl@redhat.com>
4953 * gio/gappinfo.[ch]:
4954 Add g_app_info_get_id and g_app_info_get_executable.
4955 Make all getters non-reffing
4956 Make g_app_info_launch take GFile arguments.
4957 Add must_support_uris argument to g_app_info_get_default_for_type.
4959 * gio/gwin32appinfo.c:
4960 Update to GAppInfo api changes
4962 * gio/gdesktopappinfo.c:
4963 Update to GAppInfo api changes
4964 Implement supports_xdg_startup_notify
4966 * gio/gfileicon.c (g_file_icon_get_file):
4967 Make getter non-reffing.
4972 2007-09-27 Alexander Larsson <alexl@redhat.com>
4974 * gio/gfileinfo.[ch]:
4975 Add g_file_size_format_for_display helper
4977 2007-09-27 Alexander Larsson <alexl@redhat.com>
4979 * gio/glocalfileinfo.c:
4980 Set UNIX_GID from gid, not from uid
4982 2007-09-27 Alexander Larsson <alexl@redhat.com>
4985 Add g_file_set_attributes_async
4987 2007-09-27 Alexander Larsson <alexl@redhat.com>
4989 * gio/glocalfile.c (g_local_file_set_display_name):
4990 Fix set_display_name to actually rename to the right place.
4991 Use lstat to look for existing files so we don't overwrite
4994 2007-09-26 Alexander Larsson <alexl@redhat.com>
4997 Add g_file_set_display_name_async()
4999 2007-09-26 Alexander Larsson <alexl@redhat.com>
5002 Add load_partial_contents async calls
5005 Make internal function static
5007 2007-09-26 Alexander Larsson <alexl@redhat.com>
5009 * gio/glocalfileinfo.c:
5010 Correctly detect broken symlinks
5012 2007-09-26 Alexander Larsson <alexl@redhat.com>
5014 * gio/gcancellable.c (g_cancellable_cancel):
5015 Allow cancel on NULL cancellable
5017 2007-09-25 Alexander Larsson <alexl@redhat.com>
5019 * gio/gsimpleasyncresult.c:
5020 Don't allocate g_error manually.
5021 Fixes g_slice/g_new mixup crash
5023 2007-09-25 Alexander Larsson <alexl@redhat.com>
5025 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5026 Actually set active_backend.
5027 This means the monitor will be cancelled correctly.
5029 2007-09-25 Alexander Larsson <alexl@redhat.com>
5031 * gio/gdirectorymonitor.c:
5032 Set timeout to NULL when destroying
5034 2007-09-25 Alexander Larsson <alexl@redhat.com>
5037 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5038 that is a better description of the error.
5040 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5042 * gio/gvfs.c: (g_vfs_get_local):
5043 Make the local vfs variable static. The same instance should
5046 2007-09-24 Alexander Larsson <alexl@redhat.com>
5048 * gio/glocalfileinfo.c:
5049 Pass in actual length read into sniffer, not the length
5052 2007-09-21 Alexander Larsson <alexl@redhat.com>
5054 * gio/gfileenumerator.c:
5057 * gio/gfileinputstream.c:
5058 * gio/gfileoutputstream.c:
5059 * gio/ginputstream.c:
5060 * gio/goutputstream.c:
5061 Don't crash if async callbacks are NULL
5063 2007-09-20 Alexander Larsson <alexl@redhat.com>
5066 Add async enumerate_children method and default
5069 2007-09-20 Alexander Larsson <alexl@redhat.com>
5072 Add g_file_contains_file & g_file_get_relative_path, since they
5073 were needed for nautilus.
5074 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5079 Implement new methods
5081 2007-09-17 Alexander Larsson <alexl@redhat.com>
5084 * gio/gfileinputstream.[ch]:
5085 * gio/gfileoutputstream.[ch]:
5087 * gio/glocalfileenumerator.[ch]:
5088 * gio/glocalfileinfo.[ch]:
5089 * gio/glocalfileinputstream.c:
5090 * gio/glocalfileoutputstream.c:
5091 * gio/gpollfilemonitor.c:
5092 * programs/gio-copy.c:
5093 * programs/gio-info.c:
5094 * programs/gio-move.c:
5095 Rename get_file_info to query_info() to make it clearer
5096 that these are not simple getters, but do i/o.
5098 2007-09-17 Alexander Larsson <alexl@redhat.com>
5100 * gio/gdatainputstream.[ch]:
5101 * gio/test-streams.c:
5102 Use _read_XXX instead of _get_XXX for the i/o calls
5105 2007-09-17 Alexander Larsson <alexl@redhat.com>
5108 Added needed stuff to TODO comment
5110 2007-09-17 Alexander Larsson <alexl@redhat.com>
5112 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5113 Don't error out removing the backup copy if it doesn't
5116 2007-09-14 Alexander Larsson <alexl@redhat.com>
5118 * programs/Makefile.am:
5119 * programs/gvfs-*.c:
5121 Renamed apps from gvfs-xxx to gio-xxx.
5123 2007-09-14 Alexander Larsson <alexl@redhat.com>
5126 * gio/gfileoutputstream.[ch]:
5127 * gio/glocalfileoutputstream.c:
5128 * programs/gvfs-save.c:
5129 g_file_output_stream_get_etag doesn't do i/o, so remove
5130 cancellation and error.
5132 2007-09-14 Alexander Larsson <alexl@redhat.com>
5135 Add new_etag output to replace_contents functions
5137 2007-09-14 Alexander Larsson <alexl@redhat.com>
5139 * gio/gfileoutputstream.[ch]:
5140 Add async get_file_info and default implementation
5142 2007-09-14 Alexander Larsson <alexl@redhat.com>
5144 * gio/gfileinputstream.c:
5145 Implement fallback wrapper for async get_file_info
5147 2007-09-14 Alexander Larsson <alexl@redhat.com>
5150 Add etag out argument to load_contents
5155 2007-09-14 Alexander Larsson <alexl@redhat.com>
5157 * gio/gcontenttype.c (looks_like_text):
5158 Whitespace like tab, cr and lf do not make the
5161 2007-09-14 Alexander Larsson <alexl@redhat.com>
5163 * gio/gfileinputstream.[ch]:
5164 Add async get_file_info.
5166 2007-09-13 Alexander Larsson <alexl@redhat.com>
5168 * gio/goutputstream.c (g_output_stream_write_all):
5169 Allow NULL for bytes_written
5171 2007-09-13 Alexander Larsson <alexl@redhat.com>
5173 * gio/gmemoryinputstream.[ch]:
5174 Add accessors for data
5176 2007-09-13 Alexander Larsson <alexl@redhat.com>
5178 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5179 Don't crash if length is NULL