1 2008-10-24 Matthias Clasen <mclasen@redhat.com>
3 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
5 * fam/fam-helper.c: Fix a memory leak and formatting issues.
6 Reported by Daniel Marjamäki
8 2008-10-23 Matthias Clasen <mclasen@redhat.com>
10 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
12 2008-10-23 Alexander Larsson <alexl@redhat.com>
14 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
17 (_g_local_file_info_get):
18 Don't return the fallback icon (text-x-generic) for all files.
19 This is causing problems with theme icon lookup and custom mime
20 icons, as the generic fallback overrides custom mime icons in
23 This is a slight change as applications might not get an icon wher
24 they previously did. But there is no guarantee to get on neither before
25 or after this change, so it should not break applications. Changes
26 to nautilus and gtk+ will be done to manually use the generic fallback
27 icon if no icon is found, but this is only required for rare cases.
29 2008-10-21 Alexander Larsson <alexl@redhat.com>
32 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
34 2008-10-21 Alexander Larsson <alexl@redhat.com>
36 Bug 555740 - gicon serialization
37 Based on patch from David Zeuthen
41 Add g_icon_to_string() and g_icon_new_for_string().
47 Implement icon serialization for built-in icon types
51 Added GIcon serialization test
53 2008-10-16 Matthias Clasen <mclasen@redhat.com>
55 * === Released 2.19.0 ===
57 2008-10-16 Matthias Clasen <mclasen@redhat.com>
59 Bug 556422 – g_file_enumerator_next_file: unclear whether return
60 value needs to be freed
62 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
63 the return value docs. Pointed out by Armin Burgmeier
65 2008-10-14 Matthias Clasen <mclasen@redhat.com>
67 Bug 556334 – Warning when building without selinux support
69 * glocalfileinfo.c: Avoid compiler warnings when selinux is
70 disabled. Patch by Pascal Terjan
72 2008-10-14 Matthias Clasen <mclasen@redhat.com>
74 Bug 556335 – make check fails in abicheck.sh
76 * gio.symbols: Add g_file_attribute_info_list_get_type.
77 Pointed out by Pascal Terjan.
79 2008-10-13 Alexander Larsson <alexl@redhat.com>
82 When adding an application as handling a mime type (but
83 not as the default), copy the full list of desktop ids handling
84 that type in before adding the new one on the end of the list.
85 This means we're not accidentally changing the default by overriding
86 the info from the later directories in the search path.
88 Also, fixes small leak of removed_entries.
90 2008-10-12 David Zeuthen <davidz@redhat.com>
93 * gunionvolumemonitor.c:
95 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
97 2008-10-10 Alexander Larsson <alexl@redhat.com>
99 * gfileattribute.c (escape_byte_string):
100 Upper half of byte is >> 4, not >> 8.
101 Found by Kjartan Maraas via sparse
103 2008-10-10 Matthias Clasen <mclasen@redhat.com>
105 Bug 555711 – Wrong fallback order of mimetype icons
107 * gcontenttype.c: Don't prefer generic icons over
108 default mimetype icons.
110 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
111 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
113 Patch by Krysztof Kosiński
115 2008-10-10 Matthias Clasen <mclasen@redhat.com>
117 Bug 555121 – Improved build-time handling of gio module-dir
119 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
120 * Makefile.am: Create the module dir.
122 2008-10-10 Matthias Clasen <mclasen@redhat.com>
124 * gio/glocalfileinfo.c:
125 * gio/tests/live-g-file.c:
126 * gio/gsimpleasyncresult.c: Fix gcc warnings.
128 2008-10-09 Alexander Larsson <alexl@redhat.com>
130 * gunixinputstream.c (g_unix_input_stream_read):
131 Actually return -1 in case of cancelled, not old res value.
133 2008-10-06 Colin Walters <walters@verbum.org>
135 Bug 554745 - GFileAttributeInfoList should be boxed
137 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
138 for convenience of bindings.
139 * gio/gfileattribute.h: Prototype it.
141 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
143 Bug 554970 – segfault when update-desktop-database is not available
146 * gdesktopappinfo.c (run_update_command): Have the error set before
149 2008-10-01 David Zeuthen <davidz@redhat.com>
151 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
152 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
153 instead of the gio URI (such as sftp://foo/file.avi) when using
154 g_app_info_launch() and friends. With a sufficiently recent gvfs,
155 apps using gio+gvfs will map the FUSE file:// URI back to the gio
156 URI (and thus bypass the fuse daemon) thanks the patch from bug
157 #530654. Since Nautilus is an user of g_app_info_launch() it
158 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
159 when launced via the file manager. Win. Fixes bug #528670.
161 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
162 mapping to the description of GAppInfo.
164 2008-09-30 Tor Lillqvist <tml@novell.com>
166 * tests/Makefile.am: Build desktop-app-info only on Unix.
168 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
169 g_critical(). Pass a large enough result buffer to
170 GetVolumePathNameW(). Just use MAX_PATH.
172 2008-09-29 David Zeuthen <davidz@redhat.com>
174 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
176 2008-09-26 Dan Winship <danw@gnome.org>
178 * tests/data-input-stream.c:
179 * tests/data-output-stream.c:
180 * tests/live-g-file.c:
181 * tests/memory-input-stream.c:
182 * tests/memory-output-stream.c: Use g_assert_error() and
185 2008-09-26 Matthias Clasen <mclasen@redhat.com>
187 Bug 545350 – GAppInfo deletion
188 Bug 545351 – Reset associations for content type
191 * gappinfo.[hc]: New functions g_app_info_can_delete,
192 g_app_info_delete and g_app_info_reset_type_associations.
195 * gwin32appinfo.c: Implementations of these.
198 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
200 2008-09-26 Dan Winship <danw@gnome.org>
202 Bug 505361 – gunixinputstream.c assumes poll() available
203 Bug 509446 – portable blocking gio cancellation
205 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
206 GPollFD for a cancellable (which is slightly more complicated on
209 * gunixinputstream.c (g_unix_input_stream_read):
210 * gunixoutputstream.c (g_unix_output_stream_write): Use
211 g_cancellable_make_pollfd() and g_poll() rather than using poll()
214 * tests/unix-streams.c: test of GUnixInputStream,
215 GUnixOutputStream, and GCancellable.
217 2008-09-26 Dan Winship <danw@gnome.org>
219 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
220 cast to stop a gcc warning
222 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
225 2008-09-25 Dan Winship <danw@gnome.org>
227 Bug 553426 - cancellable clarifications
229 * gcancellable.c (g_cancellable_class_init): Add a note to the
230 "cancelled" signal docs warning about thread-safety issues
231 (g_cancellable_cancel): Note that cancelling an asynchronous
232 operation takes effect asynchronously, not immediately.
234 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
236 * gioenums.h: Add new GFileCopyFlag, to leave target file with
237 default perms, instead of setting the source file perms, in a copy
240 * gfile.c (g_file_copy_attributes)
241 (build_attribute_list_for_copy)
242 (should_copy): Not copy "unix::mode" attribute if we have received
243 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
245 2008-09-20 Matthias Clasen <mclasen@redhat.com>
247 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
249 2008-09-17 Matthias Clasen <mclasen@redhat.com>
251 * === Released 2.18.1 ===
253 2008-09-16 Michael Natterer <mitch@imendio.com>
255 * gcontenttype.c (g_content_type_guess): can't assign the return
256 value of g_strdupv() to an array. Fill the array manually with
257 const strings instead (it is never freed anyway). Fixes the
258 build. Also fixed indentation.
260 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
262 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
263 Fix trivial typo to unbreak the build (there was a colon
264 instead of a semicolon at the end of a statement).
266 2008-09-15 Matthias Clasen <mclasen@redhat.com>
268 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
271 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
274 2008-09-15 Matthias Clasen <mclasen@redhat.com>
276 Bug 551681 – g_content_type_guess() too naive with filenames
278 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
279 at the end of the filename, and declare it a directory.
280 Patch by Bastien Nocera
282 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
284 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
287 * gdesktopappinfo.c: add a note in the docs clarifying what the
288 "filename" parameter really is.
290 2008-09-12 Tor Lillqvist <tml@novell.com>
292 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
293 FormatMessage() etc here. Call g_win32_error_message() instead
294 which already does all that. Besides, the code was broken as it
295 called the default "A" version of FormatMessage() but still
296 thought it produced a wide string.
298 2008-09-12 Michael Natterer <mitch@imendio.com>
300 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
301 in the documentation.
303 2008-09-08 Christian Neumair <cneumair@gnome.org>
305 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
306 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
307 Use non-blocking pipe for mount helper I/O. Fixes #550647.
309 2008-09-06 Matthias Clasen <mclasen@redhat.com>
311 Bug 551149 – xdgmime mem leak
313 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
314 a memory leak. Patch by Christian Persch
316 2008-09-04 Tor Lillqvist <tml@novell.com>
318 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
321 2008-09-02 Matthias Clasen <mclasen@redhat.com>
323 * === Released 2.18.0 ===
325 2008-09-02 Michael Natterer <mitch@imendio.com>
327 * *.h: big header formatting cleanup: indentation, vtable
328 formatting, consistent spacing in (* vfunc), trailing whitespace
329 removal. Formatting should be pretty consistent in all GIO headers
332 2008-09-02 Matthias Clasen <mclasen@redhat.com>
334 * gmount.h: Document guess_content_type sync vfunc.
336 2008-09-02 Michael Natterer <mitch@imendio.com>
338 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
339 fix parent_class member to be GFilterOutputStreamClass (not
340 GOutputStreamClass). Drop three pointers of padding, which is
341 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
342 so the class struct size stays the same.
344 2008-09-02 Matthias Clasen <mclasen@redhat.com>
346 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
348 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
349 nonexisting return values. Pointed out by Cosimo Cecchi.
351 2008-08-23 Tor Lillqvist <tml@novell.com>
353 Bug 548988 - g_file_replace fails on Windows when the target file
356 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
357 Windows, close the file before potentially renaming it (in case we
358 have been writing to a file with a temporary name).
360 (g_local_file_output_stream_close, handle_overwrite_open): Use
361 GLocalFileStat instead of plain struct stat, for passing to
362 _g_local_file_info_create_etag(). Thus also use _fstati64()
363 instead of plain fstat() on Windows.
365 2008-08-18 Matthias Clasen <mclasen@redhat.com>
367 * === Released 2.17.7 ===
369 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
371 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
374 2008-08-13 Tor Lillqvist <tml@novell.com>
376 * win32/gwinhttpvfs.c
377 * win32/gwinhttpvfs.h
378 * win32/gwinhttpfile.c
379 * win32/gwinhttpfileinputstream.c
380 * win32/gwinhttpfileoutputstream.c: Refactor some common code
381 snippets into helper functions. Check HTTP response status
382 codes. Implement g_winhttp_file_query_info(), looking at
383 Content-Length, Content-Type and Last-Modified.
385 * win32/winhttp.h: Add some symbolic constants that are not
386 publicly documented. Just a handful, so it should be OK to use
387 information from the Windows SDK's headers.
389 2008-08-13 Tor Lillqvist <tml@novell.com>
391 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
394 * win32/gwin32directorymonitor.c
395 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
397 2008-08-13 Matthias Clasen <mclasen@redhat.com>
400 * goutputstream.c: Add intro docs.
402 2008-08-13 Tor Lillqvist <tml@novell.com>
404 * win32/gwinhttpfileoutputstream.c
405 (g_winhttp_file_output_stream_write): Don't write the
406 Content-Length header ourselves, WinHttpSendRequest() takes care
407 of that when the dwTotalLength parameter is non-zero. Increment
408 offset by the number of actual bytes sent, although I wonder if
409 such a scenario is possible where less than requested would be
410 sent and accepted by the server without errors.
412 2008-08-13 Tor Lillqvist <tml@novell.com>
414 * win32/gwinhttpvfs.c
415 * win32/gwinhttpvfs.h
416 * win32/gwinhttpfile.c
417 * win32/gwinhttpfile.h
418 * win32/gwinhttpfileinputstream.c
419 * win32/gwinhttpfileinputstream.h
420 * win32/gwinhttpfileoutputstream.c
421 * win32/gwinhttpfileoutputstream.h: New files implementing
422 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
423 Windows. The implementation uses the WinHttp API. Both reading and
424 writing are supported, i.e. GET and PUT requests. When writing,
425 each write call is done using a separate PUT request with a
426 Content-Range header. Requests for file URIs and plain pathnames
427 are forwarded to GLocalVfs.
429 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
430 WINE. Used as there is no <winhttp.h> bundled with mingw, and
431 requiring people to download the Windows SDK just for this one
432 header is not reasonable.
434 * win32/Makefile.am: Add above files.
436 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
437 the plumbing for the above.
439 2008-08-11 Sven Neumann <sven@gimp.org>
441 * gfilenamecompleter.c
442 * glocaldirectorymonitor.c
444 * gunionvolumemonitor.c
448 * gunixvolumemonitor.c
451 * gwin32volumemonitor.c: use canonical signal names.
453 2008-08-11 Tor Lillqvist <tml@novell.com>
455 * Makefile.am: Put a list of the platform-dependent .la files in
456 the subdirectories in the platform_deps Make variable, and make
457 libgio-2.0.la depend on that, so that it gets relinked if one of
458 the dependent libraries has changed.
460 2008-08-11 Tor Lillqvist <tml@novell.com>
462 * Makefile.am (platform_libadd): Remove -lwininet which had been
463 added by mistake. We will probably eventually be using WinHTTP,
464 not the older WinInet anyway. (Actually I am working on it.)
466 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
468 Bug 547080 – g_file_copy leaks expected errors
470 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
471 before trying the next fallback routine.
473 2008-08-09 Loïc Minier <lool@dooz.org>
475 Bug 535124 – umask 002 not being applied for new directories, new
476 files get the correct umask
478 * gfile.c (g_file_make_directory)
479 (g_file_make_directory_with_parents): Document ownership and
480 permissions of newly created directories as being the default
483 2008-08-08 Loïc Minier <lool@dooz.org>
485 Bug 535124 – umask 002 not being applied for new directories, new
486 files get the correct umask
488 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
491 2008-08-08 Tor Lillqvist <tml@novell.com>
493 * gwin32mount.c: Remove unused code. Whitespace cleanup.
495 * gwin32volumemonitor.c (get_connected_drives): Put questionable
496 code that didn't actually do anything inside #if 0, and add a
497 comment wondering what the code was supposed to do. This also gets
498 rid of a leftover debugging printout.
500 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
502 * gfileicon.c (g_file_icon_get_property)
503 (g_file_icon_set_property): New functions.
504 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
506 (g_file_icon_new): Use the property (bug #546132).
508 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
510 * gthemedicon.c (g_themed_icon_get_property): Also handle
511 `PROP_USE_DEFAULT_FALLBACKS'.
512 (g_themed_icon_class_init): Make
513 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
515 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
517 Bug 546371 – Improve docs re g_file_monitor
519 * gfilemonitor.c: Mention g_file_monitor() in the docs.
521 2008-08-04 Matthias Clasen <mclasen@redhat.com>
523 * === Released 2.17.6 ===
525 2008-08-04 Matthias Clasen <mclasen@redhat.com>
527 * === Released 2.17.5 ===
529 2008-08-04 Matthias Clasen <mclasen@redhat.com>
531 Bug 546017 – Don't copy attributes when copying a symlink
533 * gfile.c (g_file_copy_attributes): Specify
534 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
535 g_file_set_attributes_from_info. Patch by Christian Kellner
537 2008-08-04 Matthias Clasen <mclasen@redhat.com>
539 * gemblemedicon.[hc]:
541 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
542 a bit more extensible. Work by Clemens Buss.
544 * gioenums.h: Add GEmblemOrigin.
547 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
549 Bug 546079 – leak in xdgmime
551 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
553 2008-08-03 Tor Lillqvist <tml@novell.com>
555 * win32/gwin32directorymonitor.h
556 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
559 2008-08-03 Tor Lillqvist <tml@novell.com>
561 * win32/gwin32directorymonitor.c
562 (g_win32_directory_monitor_callback): Make prototype match
563 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
564 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
567 (g_win32_directory_monitor_constructor):
568 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
569 names in the GLib API on Windows, so convert to UTF-16 and open
572 2008-08-03 Tor Lillqvist <tml@novell.com>
574 Bug 541036 - Gnumeric crashes when trying to open Desktop or
575 user's folder under Windows
577 * win32/gwin32directorymonitor.c
578 (g_win32_directory_monitor_constructor): Ignore error from
579 CreateFile() when opening directory. Instead of asserting, just
580 store INVALID_HANDLE_VALUE then in
581 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
582 ReadDirectoryChangesW().
583 (g_win32_directory_monitor_cancel): Don't attempt to close
584 directory handle if it is INVALID_HANDLE_VALUE.
586 2008-08-01 Matthias Clasen <mclasen@redhat.com>
588 * gdesktopappinfo.c: Remove debug spew
590 2008-08-01 Hans Breuer <hans@breuer.org>
592 * makefile.msc : add gemblembedicon
594 2008-07-30 Matthias Clasen <mclasen@redhat.com>
596 Bug 545457 – gdmsetup crashed with SIGSEGV in
597 g_unix_mount_guess_should_display()
599 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
600 crash if no mount is found.
602 2008-07-28 Matthias Clasen <mclasen@redhat.com>
604 Bug 545203 – gfile.c: argument is different type.
606 * gfile.c (open_read_async_thread): Pass a GError **
607 to g_file_set_error_literal.
608 Reported by Kazuki Iwamoto
610 2008-07-28 Matthias Clasen <mclasen@redhat.com>
612 Bug 545157 – wrong/no list of "open with" applications for .cc and
615 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
616 Collect all ancestors, not just direct parents. Pointed
617 out by Bastien Nocera
619 2008-07-28 Matthias Clasen <mclasen@redhat.com>
621 * Makefile.am: Install gemblemedicon.h
623 2008-07-28 Matthias Clasen <mclasen@redhat.com>
625 * gemblemedicon.[hc]: Add a GIcon implementation that can
626 add an emblem to another icon.
633 * gfileicon.c: Small documentation additions.
635 2008-07-28 Tor Lillqvist <tml@novell.com>
637 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
640 2008-07-27 Tor Lillqvist <tml@novell.com>
642 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
644 2008-07-24 David Zeuthen <davidz@redhat.com>
648 Also export a g_mount_guess_content_type_sync() function.
650 2008-07-23 Matthias Clasen <mclasen@redhat.com>
652 529694 – SELinux context setting support
654 * gfileinfo.c: Support setting selinux attributes.
655 Patch by Tomas Bzatek
657 2008-07-22 Priit Laes <plaes@plaes.org>
659 Bug 544140 - fam-helper 64-bit issue?
661 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
663 2008-07-21 Matthias Clasen <mclasen@redhat.com>
665 * === Released 2.17.4 ===
667 2008-07-20 Matthias Clasen <mclasen@redhat.com>
669 * gvolumemonitor.[hc]:
674 * gmount.c: Documentation fixes
676 2008-07-19 Matthias Clasen <mclasen@redhat.com>
678 543504 – crash in Epiphany Web Browser: Opening local file
689 * gvolume.c: Register types thread-safely.
690 Patch by Christian Persch
692 2008-07-18 Matthias Clasen <mclasen@redhat.com>
694 * gcontenttype.c: Remove debug spew
696 2008-07-18 Matthias Clasen <mclasen@redhat.com>
698 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
701 * fen/fen-kernel.c: Remove a warning that was causing
702 crashes. Reported by Lin Ma.
704 2008-07-18 Matthias Clasen <mclasen@redhat.com>
706 Bug 543040 – async reading on dummy file will crash on
709 * gfile.c (open_read_async_thread): Cope with read_fn being
710 NULL. Reported by Lin Ma.
712 2008-07-18 Matthias Clasen <mclasen@redhat.com>
715 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
717 2008-07-16 Matthias Clasen <mclasen@redhat.com>
721 * giomodule.c: Rename a chapter id to avoid filename conflict.
723 2008-07-16 Matthias Clasen <mclasen@redhat.com>
725 Bug 540616 – mem leak in filechooser button
727 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
728 the mount entry. Reported by Chrisitan Persch
730 2008-07-16 Matthias Clasen <mclasen@redhat.com>
732 * gfile.c: Small documentation fixes.
734 2008-07-15 Matthias Clasen <mclasen@redhat.com>
736 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
738 2008-07-08 Matthias Clasen <mclasen@redhat.com>
743 * gmount.c: Documentation improvements.
745 2008-07-08 Matthias Clasen <mclasen@redhat.com>
748 * gmount.[hc]: Add g_mount_guess_content_type().
750 2008-07-06 David Zeuthen <davidz@redhat.com>
753 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
754 is needed for easily handling adoption of foreign volumes by
755 out-of-process volume monitors (#541793)
757 2008-07-06 David Zeuthen <davidz@redhat.com>
759 * gvolumemonitor.[ch]:
760 * gunionvolumemonitor.c: Export the eject-button signal on the
761 volume monitor class (#541794).
763 2008-07-06 Matthias Clasen <mclasen@redhat.com>
765 * gappinfo.c: More doc tweaks
767 2008-07-05 Matthias Clasen <mclasen@redhat.com>
769 * gappinfo.c: Clarify some docs
771 2008-07-03 Matthias Clasen <mclasen@redhat.com>
773 * gdesktopappinfo.c: Fix a stupid mistake.
775 2008-07-02 Matthias Clasen <mclasen@redhat.com>
777 * === Released 2.17.3 ===
779 2008-07-02 Matthias Clasen <mclasen@redhat.com>
781 * gfilemonitor.c: Fix the build.
783 2008-07-02 Matthias Clasen <mclasen@redhat.com>
785 Bug 536160 – Add g_file_monitor()
788 * gfile.[hc]: Add g_file_monitor which can return either
789 a file or a directory monitor. Proposed by Behdad Esfahbod
791 2008-07-02 Matthias Clasen <mclasen@redhat.com>
793 536733 – gio build failure on Irix
795 * glocalfile.c: Use a configure check for structfs.f_bavail.
797 2008-07-02 Matthias Clasen <mclasen@redhat.com>
799 Bug 534639 – add g_desktop_app_info_new_from_keyfile
802 * gdesktopappinfo.[hc]: Add a function to create a
803 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
805 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
807 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
809 2008-07-01 Matthias Clasen <mclasen@redhat.com>
811 * gunixmounts.c: Fix a doc typo.
813 2008-07-01 Cody Russell <bratsche@gnome.org>
815 * gio/gcontenttype.c:
816 * gio/gwin32appinfo.c:
817 * gio/gwin32volumemonitor.c:
818 * gio/gwin32mount.c: Fixed some include problems.
820 2008-07-01 Cody Russell <bratsche@gnome.org>
824 Moved all relevant typedefs into these files.
827 Updated wrt added files.
829 Split types into separate file for easier maintainership. (#538564)
831 2008-06-30 Matthias Clasen <mclasen@redhat.com>
833 Bug 540331 – g_file_append_to () documentation: can return NULL
835 * gfile.c (g_file_append_to): Clarify docs.
838 2008-06-30 Matthias Clasen <mclasen@redhat.com>
840 Bug 539090 – g_content_type_from_mime_type() should unalias
842 * gcontentype.c (g_content_type_from_mime_type): Unalias.
843 Patch by Markus Bergman
845 2008-06-30 Matthias Clasen <mclasen@redhat.com>
847 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
850 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
851 on ppc and alpha. Reported by Mart Raudsepp
853 2008-06-29 Matthias Clasen <mclasen@redhat.com>
856 * tests/memory-output-stream.c: Add some tests for
859 2008-06-29 Matthias Clasen <mclasen@redhat.com>
861 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
864 * gmemoryoutputstream.c (array_resize): Handle truncation to
865 zero correctly. Reported by Akira Tagoh
867 2008-06-29 Matthias Clasen <mclasen@redhat.com>
869 * gmemoryoutputstream.c: Trivial doc fixes
871 2008-06-29 Matthias Clasen <mclasen@redhat.com>
873 Bug 540802 – g_list_prepend doesn't concat lists
875 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
876 one list to another. Pointed out by Jan Arne Petersen
878 2008-06-28 Michael Natterer <mitch@imendio.com>
880 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
882 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
884 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
885 to avoid problems with partial icon themes.
887 2008-06-17 Hans Breuer <hans@breuer.org>
889 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
890 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
891 access again on win32, see bug #538127
892 * giomodule.c : ensure GWin32VolumeMonitor is registered
893 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
894 * Makefile.am makefile.msc : updated
896 2008-06-16 Hans Breuer <hans@breuer.org>
898 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
899 and initialization in one step avoids c99ism
901 2008-06-16 Christian Persch <chpe@gnome.org>
904 * gio/gbufferedinputstream.c
906 * gio/gdatainputstream.c
907 * gio/gdesktopappinfo.c
909 * gio/gfileenumerator.c
910 * gio/gfileinputstream.c
911 * gio/gfileoutputstream.c
913 * gio/glocaldirectorymonitor.c
915 * gio/glocalfileenumerator.c
916 * gio/glocalfileinfo.c
917 * gio/glocalfilemonitor.c
918 * gio/glocalfileoutputstream.c
919 * gio/gmemoryinputstream.c
920 * gio/gmemoryoutputstream.c
921 * gio/goutputstream.c
922 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
925 2008-06-16 Tor Lillqvist <tml@novell.com>
927 Bug 538362 - Get Win32 icons back in the file chooser
929 * gcontenttype.c (g_content_type_get_icon): Look up the icon
930 corresponding to a file extension in the Registry. Patch by Hans
932 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
934 2008-06-16 Tor Lillqvist <tml@novell.com>
936 Patches by Hans Breuer:
938 * glocalfile.c (is_xp_or_later): Handle compiling against older
939 SDK headers with missing VerifyVersionInfo(). Conditioned on
940 _MSC_VER, but should probably use some better test.
941 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
942 uninitialised statfs_result variable on Win32.
944 2008-06-16 Michael Natterer <mitch@imendio.com>
946 * *.c: chain up unconditionally in finalize() and dispose(). Also
947 don't dereference these function pointers when calling them since
948 that has no meaning at all.
950 2008-06-16 Ross Burton <ross@burtonini.com>
953 Remove check for dispose implementation as it annoys Emmanuele.
955 2008-06-16 Ross Burton <ross@burtonini.com>
957 Bug 536252 – GFileEnumerator should allow access to the containing
963 Add g_file_enumerator_get_container() and a container writeable
964 construct-only property. Also shuffle around typedefs to make it
967 * glocalfileenumerator.c:
968 * glocalfileenumerator.h:
970 Instead of a string filename take a GFile in the constructor and
971 use it to set the container property.
976 2008-06-16 Matthias Clasen <mclasen@redhat.com>
978 * gfile.c: Make includes more uniform
980 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
982 * tests/live-g-file.c (sample_struct):
983 Use less fancy unicode filenames, so the test doesn't fail
984 on Mac OS X (#531476).
986 2008-06-12 Matthias Clasen <mclasen@redhat.com>
988 * === Released 2.17.2 ===
990 2008-06-12 Matthias Clasen <mclasen@redhat.com>
992 * === Released 2.17.1 ===
994 2008-06-11 A. Walton <awalton@gnome.org>
996 * tests/g-file.c (test_g_file_new_null):
997 Fix broken test case.
999 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1001 * pltcheck.sh: We use g_clear_error now.
1003 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1005 * glocalfile.c (g_local_file_enumerate_children): Revert
1006 an unintended change.
1008 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1010 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1012 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1014 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1017 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1018 as icon for the desktop directory, also make user-home and
1019 user-desktop the preferred icons.
1021 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1024 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1025 to add a name to the front of the list.
1027 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1029 Bug 537392 – Additional colon in xattr name
1031 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1032 too. Reported by Alessandro Morandi
1034 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1036 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1039 * glocalfile.c (get_fs_type): Add afs and autofs.
1040 Patch by Danny Baumann.
1042 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1044 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1046 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1047 is no parent. (Owen Taylor, patch by Christian Neumair)
1049 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1051 * gfile.c (g_file_replace_contents): do not leak the output stream.
1053 2008-06-10 Michael Natterer <mitch@imendio.com>
1055 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1056 uninitialized memory as array index.
1058 2008-06-10 Tor Lillqvist <tml@novell.com>
1060 * gcontenttype.c (g_content_type_can_be_executable)
1061 (g_content_type_get_icon) [Win32]: Add TODO comments.
1063 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1065 * xdgmime/Makefile.am: Fix the build
1067 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1069 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1070 in the shared mime database, if available.
1072 * xdgmime/*: Sync with upstream. This brings support for
1073 glob weights, generic icons, and changes the cache format to
1076 2008-05-28 Michael Natterer <mitch@imendio.com>
1078 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1079 the global CPPFLAGS now.
1081 * tests/data-input-stream.c
1082 * tests/data-output-stream.c
1083 * tests/g-file-info.c
1085 * tests/live-g-file.c
1086 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1088 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1090 * === Released 2.17.0 ===
1092 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1093 doesn't complain about leftover files.
1095 2008-05-27 simon.zheng <simon.zheng@sun.com>
1097 * glocalfile.c: (g_local_file_query_filesystem_info):
1098 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1100 2008-05-26 Michael Natterer <mitch@imendio.com>
1102 * gmemoryoutputstream.h: declare
1103 g_memory_output_stream_get_data_size().
1105 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1107 * tests/*: Make tests work
1109 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1111 * gio.symbols: Add g_memory_output_stream_get_data_size.
1113 2008-05-25 Ross Burton <ross@burtonini.com>
1116 Fix typo in error message (#534764).
1118 2008-05-25 Ross Burton <ross@burtonini.com>
1121 Fix circular dependency loop for gioenumtypes.h (#534759).
1123 2008-05-19 Hans Breuer <hans@breuer.org>
1125 * Makefile.am : EXTRA_DIST += makefile.msc
1127 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1130 * gcontenttype.c: (g_content_type_from_mime_type):
1131 New function to create a content type from a mime type. (#527175,
1134 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1136 Bug 532965 – Should not return filesystem::free for certain file systems
1138 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1139 free space for ncpfs.
1141 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1143 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1145 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1146 st_dev might be zero.
1148 2008-05-16 Tor Lillqvist <tml@novell.com>
1150 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1151 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1153 2008-05-13 Bastien Nocera <hadess@hadess.net>
1155 * gfile.c (has_valid_scheme): A URI scheme must start with a
1156 letter, even if later more characters are allowed (#532852)
1158 2008-05-05 Michael Natterer <mitch@imendio.com>
1160 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1161 code from being checked in that breaks the build of applications
1162 which use G_DISABLE_SINGLE_INCLUDES.
1164 * makegioalias.pl: make the alias file include "glib.h" instead of
1167 * gio.symbols: whitespace change to force regeneration of the
1168 alias file after above script change.
1170 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1172 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1174 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1176 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1178 2008-04-28 David Zeuthen <davidz@redhat.com>
1180 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1181 displaying mounts in a subdirectory not accessible to the
1184 2008-04-22 Michael Natterer <mitch@imendio.com>
1186 * Makefile.am: fix library versioning (it was 0.0.0).
1188 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1190 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1191 Default disable all loggings.
1192 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1193 (port_fetch_event_cb): Fixed two macro nits.
1195 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1197 * xdgmime/xdgmime.c: Rework the timestamp checking code
1198 to protect against duplicate directories in XDG_DATA_DIRS.
1199 Fixes fd.o bug 12513, reported by Joe Shaw.
1201 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1203 Partically revert the last commit after realizing that
1204 xdg_mime_media_type_equal doesn't have to init at all.
1206 * xdgmime/xdgmime.h:
1207 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1209 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1211 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1213 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1214 reported by Joe Shaw and Federico Mena Quintero.
1216 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1217 (xdg_mime_media_type_equal): Turn into a wrapper around the
1220 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1221 functions throughout.
1223 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1225 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1226 tolerate an empty TryExec= line without failing; nautilus used
1227 to create launchers with these in previous versions. Fixes #528433
1229 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1231 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1232 after name. Fixes #527132.
1234 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1236 * gfile.c: (g_file_replace):
1239 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1241 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1243 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1244 by Christian Kellner.
1246 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1248 * gunixmounts.c: (g_unix_mount_guess_should_display):
1249 Don't list the user directory as a mount, fix potential issue
1250 when other users have a similar naming and don't special case the
1251 gvfs mounts there since that's not required (#525866)
1253 2008-03-31 Alexander Larsson <alexl@redhat.com>
1255 * glocalfile.c (get_parent):
1258 2008-03-31 A. Walton <awalton@svn.gnome.org>
1260 * gfile.c (g_file_query_file_type):
1261 Always return a GFileType enum value (#520715).
1263 2008-03-31 Alexander Larsson <alexl@redhat.com>
1265 * glocalfileenumerator.c:
1266 Read readdir() info in chunks (of 1000) and sort
1267 the chunks by inode before stat:ing.
1268 This is a 20% performance increase in testing
1269 gvfs-ls on /usr/bin with cold cache.
1271 2008-03-31 Alexander Larsson <alexl@redhat.com>
1273 * gmemoryoutputstream.c:
1274 Clarify docs for g_memory_output_stream_get_size.
1275 Add g_memory_output_stream_get_data_size.
1277 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1281 * gfile.h: Add g_file_query_file_type convenience function
1282 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1284 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1286 * gfileenumerator.c:
1287 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1289 2008-03-28 A. Walton <awalton@svn.gnome.org>
1291 * giomodule.c (_g_io_modules_ensure_loaded):
1292 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1295 2008-03-28 Alexander Larsson <alexl@redhat.com>
1298 (copy_stream_with_progress):
1301 2008-03-28 Alexander Larsson <alexl@redhat.com>
1304 (copy_stream_with_progress):
1305 (file_copy_fallback):
1306 Fallback to g_file_query_info for source size
1307 if g_file_input_stream_query_info fails. (#524579)
1309 2008-03-28 Alexander Larsson <alexl@redhat.com>
1311 * glocalfile.c (g_local_file_move):
1312 Reuse old string instead of adding new one.
1314 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1316 * fen/*.[hc]: still copyright issue. I hate copyright.
1318 2008-03-27 Alexander Larsson <alexl@redhat.com>
1320 * glocalfile.c (g_local_file_move):
1321 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1322 file over directory. This is according to the docs and what the move via
1323 copy+remove fallback does.
1325 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1327 * fen/*.[hc]: Updated copyright.
1329 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1331 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1333 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1335 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1336 not emit attribute changed events when optimizing changed events.
1337 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1340 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1342 * gmountoperation.[hc]: Small documentation additions
1344 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1346 * gunixmounts.c: (guess_mount_type):
1347 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1349 2008-03-19 Alexander Larsson <alexl@redhat.com>
1352 (copy_stream_with_progress):
1353 Bump block side for copy to 64k to minimize
1354 overhead for low latency links. (#523015)
1356 2008-03-16 Tor Lillqvist <tml@novell.com>
1358 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1359 depend on gio.def on Windows.
1361 2008-03-12 David Zeuthen <davidz@redhat.com>
1365 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1367 2008-03-14 Alexander Larsson <alexl@redhat.com>
1371 Avoid redudant tests (#521851)
1372 Patch from Josselin Mouette
1374 2008-03-14 Alexander Larsson <alexl@redhat.com>
1377 (g_file_monitor_is_cancelled):
1378 Fix C89 issue (#521672)
1379 Patch from Jens Granseuer
1381 2008-03-14 Alexander Larsson <alexl@redhat.com>
1383 * fam/fam-helper.[ch]:
1385 Shut down fam (including removing fam GSource) when
1386 module is unloaded (#521513)
1387 Patch from Joe Marcus Clarke
1389 2008-03-14 Alexander Larsson <alexl@redhat.com>
1392 (_g_io_modules_ensure_loaded):
1395 2008-03-14 Alexander Larsson <alexl@redhat.com>
1398 (g_local_file_query_filesystem_info):
1399 Use right define name for f_fstypename member check
1401 2008-03-14 Alexander Larsson <alexl@redhat.com>
1404 * fen/Makefile.am: Added.
1405 * fen/fen-data.[ch]: Added.
1406 * fen/fen-dump.[ch]: Added.
1407 * fen/fen-helper.[ch]: Added.
1408 * fen/fen-kernel.[ch]: Added.
1409 * fen/fen-missing.[ch]: Added.
1410 * fen/fen-node.[ch]: Added.
1411 * fen/fen-sub.[ch]: Added.
1412 * fen/gfendirectorymonitor.[ch]: Added.
1413 * fen/gfenfilemonitor.[ch]: Added.
1415 Added Solaris FEN file notification backend.
1416 Patch from Lin Ma <Lin.Ma@Sun.COM>
1418 2008-03-13 Tor Lillqvist <tml@novell.com>
1420 * Makefile.am: Actually use the gio.def file when linking the
1421 library on Windows. Produce .lib library for Microsoft's toolchain
1422 when possible. Install the .lib and .def file like for the other
1425 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1427 * tests/live-g-file.c:
1428 Include live-g-file in standard set of tests, making a temporary
1429 directory in source structure.
1431 Clean target directory before the tests (write mode only)
1433 2008-03-12 Tor Lillqvist <tml@novell.com>
1435 Bug 517419 - gio win32 directory monitor
1436 Implementation by Vlad Grecescu.
1439 * win32/gwin32directorymonitor.h
1440 * win32/gwin32directorymonitor.c: New files.
1442 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1444 * Makefile.am: Add the win32 subdirectory.
1446 2008-03-12 Tor Lillqvist <tml@novell.com>
1448 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1449 normal struct stat on Unix but struct _stati64 on Windows to have
1450 access to 64-bit file size information. Use that instead of struct
1451 stat in the functions declared here in this private header.
1453 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1454 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1455 warnings about unused functions and variables. Don't set
1456 meaningless attributes like inode numbers on Windows.
1458 2008-03-12 Benjamin Otte <otte@gnome.org>
1461 trim whitespace so gtk-doc groks the function name
1463 2008-03-12 Tor Lillqvist <tml@novell.com>
1465 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1466 returning FALSE, on Win32.
1468 2008-03-11 Alexander Larsson <alexl@redhat.com>
1471 * glocalfileinfo.[ch]:
1472 Correctly implement can_trash by actually
1473 looking for a trash dir, not just assuming
1476 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1478 * === Released 2.16.1 ===
1480 2008-03-11 Alexander Larsson <alexl@redhat.com>
1483 Fix crashes in new constructor and properties code
1485 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1487 * gfile.c: Minor spelling correction in documentation:
1488 existance -> existence.
1490 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1492 * === Released 2.16.0 ===
1494 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1496 * gio.symbols: Remove g_file_contains_file here, too.
1498 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1500 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1501 Samuel Cormier-Iijima)
1503 2008-03-08 Tor Lillqvist <tml@novell.com>
1505 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1508 2008-03-07 Alexander Larsson <alexl@redhat.com>
1511 (g_local_file_query_filesystem_info):
1512 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1513 Patch from Jasper Lievisse Adriaanse
1515 2008-03-06 Tor Lillqvist <tml@novell.com>
1517 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1518 comments for the *_USEC attributes.
1520 2008-03-06 Alexander Larsson <alexl@redhat.com>
1522 * gfile.c (g_file_query_exists):
1523 Add g_return_val_if_fail check (#520700)
1525 2008-03-06 Alexander Larsson <alexl@redhat.com>
1527 * gdesktopappinfo.c:
1530 * gunionvolumemonitor.c:
1533 * tests/live-g-file.c:
1534 * xdgmime/xdgmimecache.c:
1535 Fix sparse warnings (#519489)
1537 2008-03-05 Alexander Larsson <alexl@redhat.com>
1540 Make cancellation threadsafe (i.e.
1541 guarantee its only done once, and always
1544 * glocaldirectorymonitor.c:
1545 Make sure we the monitor lives while the
1546 mounts_changed callback is being called (#520484)
1548 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1550 * gbufferedinputstream.c: Fix typo in parameter
1553 2008-03-04 Alexander Larsson <alexl@redhat.com>
1556 Remove deprecated symbols we kept for one release.
1558 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1561 * goutputstream.c: Tiny documentation corrections.
1563 2008-03-03 Alexander Larsson <alexl@redhat.com>
1565 * gunionvolumemonitor.c:
1567 Fix the adopt_orphan_mount vfunc to take a
1568 volume_monitor reference in an ABI compat way.
1569 This change is not API compat, but the added
1570 arg is not used in the only user of this vfunc, so
1571 all we get is a harmless warning in gvfs (#520169)
1573 2008-03-01 Benjamin Otte <otte@gnome.org>
1576 clarify docs for g_file_delete().
1578 2008-02-29 Alexander Larsson <alexl@redhat.com>
1582 Make sure empty files get text/plain type (#518720)
1584 2008-02-27 Alexander Larsson <alexl@redhat.com>
1590 (g_unix_volume_mount):
1591 Add missing GMountMountFlags argument
1593 2008-02-26 Alexander Larsson <alexl@redhat.com>
1596 (g_local_file_delete):
1597 Handle filesystems (like ntfs-3g) that return EEXIST instead
1598 of ENOTEMPTY (#518816)
1600 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1602 * === Released 2.15.6 ===
1604 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1606 * gfile.c (g_file_find_enclosing_mount):
1607 * ginputstream.c (g_input_stream_set_pending):
1608 * glocalfile.c (g_local_file_find_enclosing_mount):
1609 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1610 * goutputstream.c (g_output_stream_set_pending):
1612 Fixup translator comments (#518578).
1614 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1616 * gfile.c (g_file_find_enclosing_mount):
1618 * glocalfile.c (g_local_file_find_enclosing_mount):
1621 Fix a few typos in translator comments and documentation.
1623 2008-02-25 Alexander Larsson <alexl@redhat.com>
1630 Add translator comments (#518578)
1632 2008-02-25 Alexander Larsson <alexl@redhat.com>
1635 Reintroduce g_file_contains_file, keep around for one
1636 unstable release cycle to avoid crashing to many apps.
1637 Make sure to delete after release.
1639 2008-02-25 Alexander Larsson <alexl@redhat.com>
1642 Remove deprecated g_file_contains_file.
1644 2008-02-25 Alexander Larsson <alexl@redhat.com>
1647 Emit actual change signals in an idle handler.
1648 This avoids reentrance and locking problems in
1649 the file notification backends.
1651 2008-02-25 Alexander Larsson <alexl@redhat.com>
1654 (g_unix_mount_guess_should_display):
1655 Remove type guessing, instead just display
1656 mounts in /media and in ~/.
1658 2008-02-25 Alexander Larsson <alexl@redhat.com>
1661 Make new strings reuse old ones.
1663 2008-02-25 Alexander Larsson <alexl@redhat.com>
1666 Implement trashing and filesystem::readonly for win32 (#517235)
1667 Patch from Yevgen Muntyan
1669 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1671 * gfileinfo.h: Documentation fixes.
1673 2008-02-22 Alexander Larsson <alexl@redhat.com>
1675 * gcontenttype.c (g_content_type_get_icon):
1676 Look at old-style gnome mime icon names too, as many
1677 have not moved to the new style.
1679 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1681 * *.c: Correct the @include in for section docs.
1683 2008-02-21 David Zeuthen <davidz@redhat.com>
1685 * glocalfileinfo.c: (_g_local_file_info_get):
1687 (g_content_type_get_icon): Implement this function by
1688 moving bits from glocalfileinfo.c
1689 (g_content_type_get_description): Unalias before getting
1690 description (#517687)
1692 * gfile.c: (g_file_class_init),
1693 (g_file_query_filesystem_info_async),
1694 (g_file_query_filesystem_info_finish),
1695 (query_filesystem_info_data_free),
1696 (query_filesystem_info_async_thread),
1697 (g_file_real_query_filesystem_info_async),
1698 (g_file_real_query_filesystem_info_finish):
1699 * gfile.h: Implement async version of
1700 g_file_query_filesystem_info()
1702 * gfileinfo.h: Add new attributes for filesystem::use-preview
1704 * gio.symbols: Update
1706 * gthemedicon.c: (g_themed_icon_append_name):
1707 * gthemedicon.h: Add new new convenience function.
1709 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1710 (get_mounts), (get_volumes), (get_connected_drives),
1711 (get_volume_for_uuid), (get_mount_for_uuid),
1712 (g_union_volume_monitor_init), (populate_union_monitor),
1713 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1714 (g_volume_monitor_adopt_orphan_mount):
1716 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1717 monitor implementations to call into the main volume monitor. Also
1718 separate object initialization and volume monitor initialization
1719 such that non-native volume monitors can properly adopt their
1722 2008-02-21 Alexander Larsson <alexl@redhat.com>
1727 2008-02-21 Alexander Larsson <alexl@redhat.com>
1730 Add more documentation about how GFiles work (from #517086)
1732 2008-02-21 Alexander Larsson <alexl@redhat.com>
1736 Add new g_file_has_prefix that does the same as g_file_contains_file.
1737 Deprecate g_file_contains_file and add a macro that converts
1738 it to g_file_has_prefix.
1739 The reason for this change is that the contains_file() name seems to
1740 imply that this does more work than what it does, but its really only
1741 a name match (from #517086)
1746 Update to match the above change.
1748 2008-02-20 Benjamin Otte <otte@gnome.org>
1750 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1751 (g_file_eject_mountable):
1752 even more cases of not returning in error path
1754 2008-02-20 Benjamin Otte <otte@gnome.org>
1756 * gfile.c: (g_file_mount_mountable):
1757 return from function in error path.
1759 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1762 Remove trailing coma in GMountMountFlags struct
1764 2008-02-18 Alexander Larsson <alexl@redhat.com>
1768 * glocalfileoutputstream.c:
1769 Use g_unlink/g_rename instead of unlink/rename;
1770 do not pass raw filenames to g_set_error. (#517239)
1771 Patch from Yevgen Muntyan.
1773 2008-02-18 Alexander Larsson <alexl@redhat.com>
1776 * glocalfileoutputstream.c:
1777 Open files with O_BINARY on windows. (#517140)
1779 2008-02-14 Alexander Larsson <alexl@redhat.com>
1781 * glocalfileoutputstream.c:
1782 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1784 2008-02-14 Alexander Larsson <alexl@redhat.com>
1787 Copy permissions with file on copy (#514084)
1788 This is what cp does and makes sure e.g. the
1789 exec permissions are kept.
1790 Its kinda weird in that it keeps the permission bits
1791 the same while the uid and gid are different. However
1792 the new uid is the user so its not a security issue,
1793 and I've heard no complaints about cp on this issue.
1795 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1797 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1799 2008-02-13 Alexander Larsson <alexl@redhat.com>
1801 * inotify/inotify-path.c:
1802 Define IN_ONLYDIR if not in header (#515346)
1804 2008-02-12 Alexander Larsson <alexl@redhat.com>
1806 * tests/live-g-file.c:
1809 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1811 * === Released 2.15.5 ===
1813 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1815 * gio.symbols: Add g_mount_mount_flags_get_type.
1817 2008-02-11 Alexander Larsson <alexl@redhat.com>
1820 (g_file_info_set_attribute_mask):
1821 (g_file_attribute_matcher_matches_id):
1822 Correctly handle NULL GAttributeMatcher meaning
1823 matches nothing. (Fixes #513492)
1825 2008-02-11 Alexander Larsson <alexl@redhat.com>
1830 Added GMountMountFlags enum and added a flags
1831 argument to all mount calls.
1833 This is an API/ABI change for future extensibility,
1834 as I think we will need at least an
1835 inhibit-autorun flag (the panel needs this).
1836 There are no flags defined yet though.
1838 2008-02-11 Alexander Larsson <alexl@redhat.com>
1841 Added new standard::description attribute.
1842 Requested by Vincent, and useful for both
1845 2008-02-11 Alexander Larsson <alexl@redhat.com>
1847 * gdesktopappinfo.c:
1850 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1852 * *.c: Documentation additions
1854 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1856 * gappinfo.h: Formatting cleanup
1857 * gappinfo.c: Fix up docs.
1859 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1861 * gunixmounts.c: Consistently use getmntent_r() and fall
1862 back to getmntent(). (#515492)
1864 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1866 * gbufferedinputstream.c:
1868 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1870 * tests/data-input-stream.c:
1871 * tests/data-output-stream.c: Portability fixes.
1873 2008-02-08 Alexander Larsson <alexl@redhat.com>
1878 Add g_volume_should_automount.
1881 2008-02-07 Tor Lillqvist <tml@novell.com>
1883 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1884 Win32, too Unix-specific.
1886 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1888 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1889 a local plt if the compiler doesn't support what we want. Bug #514702
1891 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1893 reviewed by: <delete if not using a buddy>
1896 * gunixinputstream.c:
1897 * gunixoutputstream.c:
1899 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1901 * tests/Makefile.am:
1902 * tests/live-g-file.c:
1903 * tests/live-g-file.txt:
1904 New GIO testing module working over real data
1906 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1908 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1909 Fallback to rename() if link() is not available
1910 (when no support on target filesystem)
1912 2008-02-06 Michael Natterer <mitch@imendio.com>
1914 * gfileinfo.c (g_file_info_get_icon): replace
1915 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1917 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1919 * gfile.c (g_file_create):
1920 Documentation update of error codes
1922 2008-02-06 Alexander Larsson <alexl@redhat.com>
1924 * gdesktopappinfo.c:
1925 Update to use both mimeapps.list and
1926 defaults.list as discussed on xdg list.
1928 2008-02-06 Benjamin Otte <otte@gnome.org>
1931 * gfilenamecompleter.c:
1932 Fix some typos in the documentation.
1934 2008-02-06 Alexander Larsson <alexl@redhat.com>
1936 * glocalfile.c (g_local_file_trash):
1937 Don't succeed with trash if newly created
1938 trash dir has the wrong owner. (#514696)
1940 2008-02-05 Alexander Larsson <alexl@redhat.com>
1942 * glocalfile.c (g_local_file_move):
1943 Don't spew warnings when destination is not
1946 2008-02-03 Hans Breuer <hans@breuer.org>
1948 * makefile.msc : update
1950 2008-02-01 Michael Natterer <mitch@imendio.com>
1952 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1953 return value of xdg_mime_list_mime_parents() to a variable of the
1956 2008-02-01 Alexander Larsson <alexl@redhat.com>
1958 * gappinfo.c (g_app_info_launch_uris):
1959 Actually call the launch_uris method, not
1962 2008-02-01 Alexander Larsson <alexl@redhat.com>
1964 * gdesktopappinfo.c (g_desktop_app_info_equal):
1965 Ensure appinfos with no id but same pointer value
1968 2008-02-01 Alexander Larsson <alexl@redhat.com>
1970 * gappinfo.c (g_app_info_launch_default_for_uri):
1973 2008-02-01 Alexander Larsson <alexl@redhat.com>
1977 Add g_app_info_launch_default_for_uri utility
1980 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1982 * gdesktopappinfo.c:
1983 Doc fix for g_app_info_get_default_for_uri_scheme ()
1986 2008-01-30 Alexander Larsson <alexl@redhat.com>
1989 Add doc comment about uris vs GFiles to
1992 * gdesktopappinfo.c:
1993 Ensure uris passed to g_app_info_launch_uris()
1994 are not roundtriped through GFile (as that
1995 may be slightly destructive for e.g. mailto: links)
1997 2008-01-30 Alexander Larsson <alexl@redhat.com>
1999 * tests/data-input-stream.c:
2000 * tests/data-output-stream.c:
2001 C89 fixes from Jens Granseuer (#512849)
2003 2008-01-30 Alexander Larsson <alexl@redhat.com>
2006 Fix gamin/fam difference build issue. (#509419)
2008 2008-01-29 Alexander Larsson <alexl@redhat.com>
2011 * gdesktopappinfo.c:
2012 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2014 2008-01-29 Alexander Larsson <alexl@redhat.com>
2016 * gdesktopappinfo.c:
2017 * gdesktopappinfo.h:
2018 giomodule-priv.h include moved to .c file.
2020 2008-01-29 Alexander Larsson <alexl@redhat.com>
2022 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2023 Remove unused prio/name fields.
2025 2008-01-29 Alexander Larsson <alexl@redhat.com>
2027 * gcontenttype.c (looks_like_text):
2028 Don't treat whitespace as control chars.
2030 2008-01-29 Alexander Larsson <alexl@redhat.com>
2032 * gdesktopappinfo.c:
2033 Lazily create the desktop files for appinfos created
2034 by g_app_info_create_from_commandline() when needed
2035 for mime associations. This allows run-time use
2036 of GAppInfo object without creating unnecessary
2039 2008-01-29 Alexander Larsson <alexl@redhat.com>
2042 Added new symbols to gio.symbols
2044 2008-01-29 Alexander Larsson <alexl@redhat.com>
2047 Add g_file_query_default_handler utility to easily look up
2048 the GAppInfo that handles a file.
2050 * gdesktopappinfo.[ch]:
2052 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2055 Remove unused function
2057 2008-01-29 Alexander Larsson <alexl@redhat.com>
2059 * gfileenumerator.c:
2060 Mention need to free returned value in
2061 g_file_enumerator_next_files_finish docs.
2062 Fix leak if g_file_enumerator_next_files_finish()
2065 2008-01-29 Alexander Larsson <alexl@redhat.com>
2068 (_g_unix_content_type_get_parents):
2069 Use list_parents, not get_parents from xdgmime, because
2070 the later doesn't use the cache.
2072 * xdgmime/xdgmimecache.c:
2073 (_xdg_mime_cache_list_mime_parents):
2074 Don't list the same type as parent multiple times.
2076 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2078 * === Released 2.15.4 ===
2080 2008-01-28 Alexander Larsson <alexl@redhat.com>
2083 Register local vfs with prio 0.
2086 Remove old name and prio class members
2088 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2090 * tests/g-file.c: Disable some tests that are failing in
2091 the absence of a http backend.
2093 2008-01-28 Alexander Larsson <alexl@redhat.com>
2097 Add registration hooks for extension points.
2098 Register the gio extension points.
2100 * fam/gfamdirectorymonitor.c:
2101 * fam/gfamfilemonitor.c:
2102 * glocaldirectorymonitor.[ch]:
2103 * glocalfilemonitor.[ch]:
2104 * gnativevolumemonitor.h:
2105 * gunionvolumemonitor.c:
2106 * gunixvolumemonitor.c:
2109 * inotify/ginotifydirectorymonitor.c:
2110 * inotify/ginotifyfilemonitor.c:
2111 Use the extension points registration instead
2112 of g_type_children().
2114 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2117 * gvolume.[hc]: Document new API.
2119 * gfile.c (g_file_copy_async): Fix docs
2121 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2123 * gbufferedinputstream.c:
2125 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2128 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2130 * glocalfile.c: Avoid trivial differences in translatable strings.
2132 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2134 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2135 build with gcc 3.4 (#509419)
2137 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2139 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2140 (#509994, Murray Cumming)
2142 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2144 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2145 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2146 this allows big jobs to be executed in chunks, instead of blocking
2147 the main loop for a long time.
2149 * gsimpleasyncresult.c:
2150 * giofile.c: Adapt callers.
2152 2008-01-25 Alexander Larsson <alexl@redhat.com>
2154 * gdesktopappinfo.c:
2155 Implement changes discussed on xdg list.
2156 Now we can add supported mimetypes by just using defaults.list
2157 We can also remove associations in defaults.list.
2159 2008-01-25 Alexander Larsson <alexl@redhat.com>
2161 * gdesktopappinfo.c:
2162 Don't make local copy of desktop file
2163 for mimetype changes if the file already
2164 supports the new mimetype.
2166 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2170 * gbufferedinputstream.c:
2171 * glocalfile.c: String improvements. (#511966,
2172 Theppitak Karoonboonyanan)
2174 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2176 * gioscheduler.h: Expand docs a bit.
2178 2008-01-24 Alexander Larsson <alexl@redhat.com>
2181 Add g_drive_get_identifier and
2182 g_drive_enumerate_identifiers
2185 Add g_volume_get_identifier and
2186 g_volume_enumerate_identifiers
2192 Implement identifiers for unix backend
2194 2008-01-24 Alexander Larsson <alexl@redhat.com>
2199 Add g_file_copy_async() (#511580)
2200 Based on patch from Carlos Garcia Campos
2202 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2204 * gioscheduler.c: Some documentation additions.
2206 2008-01-22 Alexander Larsson <alexl@redhat.com>
2208 * gdesktopappinfo.c:
2209 (g_desktop_app_info_new):
2210 Don't leak basename.
2212 2008-01-22 Alexander Larsson <alexl@redhat.com>
2214 * gdesktopappinfo.c:
2215 (g_desktop_app_info_new_from_filename):
2218 2008-01-22 Alexander Larsson <alexl@redhat.com>
2220 * glocalfileinfo.c (get_thumbnail_attributes):
2223 2008-01-22 Alexander Larsson <alexl@redhat.com>
2226 (canonicalize_filename):
2227 Canonicalize paths that start with more than
2231 (compare_two_files):
2232 (test_g_file_new_for_path):
2235 2008-01-22 Alexander Larsson <alexl@redhat.com>
2238 Allow UTF-8 in file:// parse names.
2240 * tests/Makefile.am:
2241 * tests/data-input-stream.c:
2242 * tests/data-output-stream.c:
2243 * tests/g-file-info.c:
2245 Added a bunch of tests from Tomas Bzatek
2247 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2249 * === Released 2.15.3 ===
2251 2008-01-21 Alexander Larsson <alexl@redhat.com>
2253 * gfileinputstream.[ch]:
2254 * gfileoutputstream.[ch]:
2256 Remove duplicated GSeekable functions. (#509990)
2257 Just use the g_seekable_xxx() calls instead.
2259 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2262 * gvolumemanager.c: Whitespace cleanups.
2264 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2265 Use the right mode when creating the file.
2267 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2269 * gfileenumerator.c:
2270 * gfileinputstream.c:
2272 * goutputstream.c: Documentation: Fixed minor typos
2273 and added more mentions of specific _finish() functions.
2275 2008-01-21 Alexander Larsson <alexl@redhat.com>
2277 * inotify/Makefile.am:
2278 * inotify/inotify-helper.c:
2279 * inotify/inotify-kernel.c:
2280 * inotify/inotify-path.c:
2281 * inotify/local_inotify.h: Removed.
2282 * inotify/local_inotify_syscalls.h: Removed.
2283 Removed the included copies of the inotify
2284 headers. We now only use the <sys/inotify.h>
2285 header which exists on modern systems.
2286 This fixes problems on ARM and SH5 (#510448)
2287 but is also generally much cleaner and future
2288 safe. For instance, if other OSes add support
2289 for inotify it should "just work".
2291 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2293 * inotify/*.c: Coding style fixes.
2294 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2295 for the 1/4 Hz timer.
2297 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2300 * gfilemonitor.[hc]:
2301 * gmemoryinputstream.c:
2302 * gmemoryoutputstream.c:
2303 * gmountoperation.c:
2304 * gthemedicon.c: Documentation updates
2306 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2308 * gfile.c: documentation: Fixed more minor
2311 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2313 * gmount.c: (g_mount_remount): documentation:
2314 Mention g_mount_remount_finish() instead of
2315 g_mount_unmount_finish().
2317 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2321 * gfile.c: Fixed some minor typos in the
2324 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2326 * gio/gvolumemonitor.c:
2327 (g_volume_monitor_get_connected_drives):
2328 (g_volume_monitor_get_volumes):
2329 (g_volume_monitor_get_mounts): Documentation:
2330 Clarify the ownership of the regurn GLists.
2332 2008-01-17 Alexander Larsson <alexl@redhat.com>
2335 Add the async find_enclosing_mount version
2336 to the header file too.
2338 2008-01-17 Alexander Larsson <alexl@redhat.com>
2341 Add async version of find_enclosing_mount
2342 with default implementation.
2344 2008-01-17 Alexander Larsson <alexl@redhat.com>
2349 Allow calls to implementation of copy and write
2350 even if the type of the file implementations is
2351 different. This can be used to implement native
2352 upload and download calls in a vfs.
2355 (g_local_file_move):
2356 Protect against the case where move is called
2357 with one file not being local.
2359 Make sure we call the progress callback once
2360 in the native move operation so that the caller
2361 knows how many bytes were copied.
2363 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2366 * gdatainputstream.c:
2368 * gfileoutputstream.c:
2373 * gunixmounts.c: Corrected some typos in the documentation:
2374 occured -> occurred.
2375 its -> it's (where appropriate).
2377 2008-01-16 Alexander Larsson <alexl@redhat.com>
2381 Add g_file_query_exists (#508771)
2383 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2388 * gvolume.c: For async functions that have no non-async
2389 version, document that the GAsyncReadyCallback may be NULL.
2392 2008-01-15 Alexander Larsson <alexl@redhat.com>
2394 * gmemoryinputstream.c:
2395 * gmemoryoutputstream.c:
2396 Don't do pointer arithmetic on void * (#508602)
2397 Patch from Kazuki IWAMOTO
2399 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2401 * === Released 2.15.2 ===
2403 2008-01-14 Alexander Larsson <alexl@redhat.com>
2405 * gfile.c (g_file_monitor_file):
2406 Don't set error here, since we fallback to polling monitor.
2408 2008-01-14 Alexander Larsson <alexl@redhat.com>
2411 (g_file_monitor_directory):
2412 (g_file_monitor_file):
2413 Add GError to file monitor calls
2415 * glocaldirectorymonitor.c:
2416 * glocaldirectorymonitor.h:
2418 * glocalfilemonitor.c:
2419 * glocalfilemonitor.h:
2421 Update for above change
2423 2008-01-14 Alexander Larsson <alexl@redhat.com>
2427 Handle root correctly in g_file_get_relative_path (#508719)
2429 2008-01-14 Alexander Larsson <alexl@redhat.com>
2432 Clean up docs and example for GAsyncResult (#508074)
2434 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2436 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2437 and correct some spelling mistakes. Bug #508108.
2439 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2441 * glocalfileinfo.c: Add a comment.
2443 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2445 * gfileinfo.c: GFileInfo description: Mention
2446 how to actually set attributes in a GFile and how to discover
2447 which attributes are settable. Bug #508378.
2449 2008-01-10 A. Walton <awalton@svn.gnome.org>
2451 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2452 (g_app_info_get_default_for_type):
2453 Check for NULL content types.
2455 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2457 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2459 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2461 * gfile.c: *_async() functions: Several small corrections
2462 to the documentation, mostly correcting copy/paste errors
2463 and improving some sentences.
2465 2008-01-09 Dan Winship <danw@gnome.org>
2467 * glocalfile.c (get_unique_filename): x86_64 fix
2469 2008-01-09 Alexander Larsson <alexl@redhat.com>
2474 Add g_unix_mount_guess_should_display and use
2475 for unix volume monitor backend.
2476 This means we more or less show what the
2477 gnome-vfs backend did.
2478 Based on patch from Padraig O'Briain
2480 2008-01-09 Alexander Larsson <alexl@redhat.com>
2484 Add g_themed_icon_new_with_default_fallbacks
2487 Use default fallbacks for icons
2489 2008-01-09 Alexander Larsson <alexl@redhat.com>
2492 * gmountoperation.[ch]:
2493 Change the API a bit so that unhandled methods
2494 get reported via the reply, rather than by
2495 the signal emission return value. This is because
2496 some handlers can't know this immediately without
2497 doing I/O, and this is an async operation that
2500 2008-01-09 Alexander Larsson <alexl@redhat.com>
2503 * fam/gfamdirectorymonitor.c:
2504 * fam/gfamfilemonitor.c:
2505 Fix double free crash (#508224)
2506 Patch from Joe Marcus Clarke
2508 008-01-07 Matthias Clasen <mclasen@redhat.com>
2510 * === Released 2.15.1 ===
2512 2008-01-07 Alexander Larsson <alexl@redhat.com>
2514 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2515 Fix warning (#507835)
2517 2008-01-07 Alexander Larsson <alexl@redhat.com>
2520 Pass --internal to glib-genmarshal
2523 * gmountoperation.c:
2525 Use better types for signal arguments (#507822)
2527 2008-01-07 Alexander Larsson <alexl@redhat.com>
2530 Build test subdir after .
2531 Remove gdirectorymonitor.[ch]
2533 * gdirectorymonitor.[ch]:
2537 Remove GDirectoryMonitor and make
2538 GFileMonitor the baseclass for both file and
2539 directory monitors. Lift the more generic
2540 rate limiting code from GDirectoryMonitor
2544 * fam/gfamdirectorymonitor.[ch]:
2545 * inotify/ginotifydirectorymonitor.[ch]:
2546 * inotify/inotify-helper.c:
2547 * glocaldirectorymonitor.[ch]:
2550 Update for the removed GDirectoryMonitor.
2552 * gmemoryoutputstream.c:
2553 Remove ununsed variable
2555 2008-01-07 Alexander Larsson <alexl@redhat.com>
2557 * gmemoryinputstream.c:
2558 Translate error strings
2561 * gmemoryoutputstream.[ch]:
2562 New implementation that avoids using GByteArray
2563 in implementation and API. (#506377)
2565 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2567 * tests/*: Add a test for memory input streams.
2569 * Makefile.am: Add tests to SUBDIRS.
2571 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2573 * glocalfilemonitor.c:
2574 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2577 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2579 * gdesktopappinfo.c: Fix a docs typo.
2581 * gfileattribute.c: Add information about extended attributes
2582 to the documentation. (#505058)
2584 2008-01-04 Alexander Larsson <alexl@redhat.com>
2587 * gmountoperation.c:
2588 Use the right type (uint) for the ask_password signal.
2590 2008-01-04 Alexander Larsson <alexl@redhat.com>
2595 Add g_app_info_supports_files()
2596 Remove desktop arg from g_app_info_should_show().
2598 * gdesktopappinfo.[ch]:
2599 Implement g_app_info_supports_files() and new should_show()
2600 Add g_desktop_app_info_set_desktop_env() to set the desktop
2601 for should_show(). (This will be set by gtk+ later)
2603 2008-01-04 Alexander Larsson <alexl@redhat.com>
2606 * gmemoryinputstream.[ch]:
2607 Improve API so that you can use multiple chunks
2608 of memory and custom destroy functions. (#506374)
2610 2008-01-03 Alexander Larsson <alexl@redhat.com>
2613 Handle NULL attribute matchers safely, as we return this
2614 for empty attribute matcher strings.
2616 2008-01-03 Alexander Larsson <alexl@redhat.com>
2618 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2619 Add /usr/local to list of internal mountpoints
2621 2008-01-03 Alexander Larsson <alexl@redhat.com>
2624 Check for HAVE_LCHOWN (#505887)
2626 2008-01-03 Alexander Larsson <alexl@redhat.com>
2630 Add define for selinux context attribute.
2631 Fix missing : -> :: namespace separator change
2632 Fix missing _ -> - name change for xattr-sys.
2635 2008-01-03 Alexander Larsson <alexl@redhat.com>
2638 Link to libglib and libgobject directly (#504879)
2639 Patch from Sebastien Bacher
2641 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2643 * gfile.c: Expanded the g_file_new_for_commandline_arg
2644 description a bit, based on the code and the docs of the
2645 other g_file_new_for_* functions.
2647 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2649 * gfilemonitor.h: Fixed typo in docs.
2651 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2653 Updates to GIO documentation. (#506395, Mikael Hermansson)
2655 * gcontenttype.c: Describe memory management for return value of
2656 g_content_types_get_registered(). Missing piece from #505815.
2657 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2658 GVolume, GDrive, GMounts, which hopefully gives the user less
2659 confusions when using this API. Following explainations from
2660 Alexander Larsson on gtk-devel-list.
2662 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2664 * gfileinfo.c: Expand the long description.
2666 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2669 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2670 fix builds with --disable-visibility. (#500273, Christian Persch)
2672 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2674 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2675 in the list of returned app infos.
2677 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2679 * gappinfo.c: Fix a cross-reference
2681 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2683 * gfileinputstream.c:
2684 * gfileoutputstream.c:
2688 * gdesktopappinfo.c:
2690 * gfileinfo.c: Documentation updates.
2692 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2694 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2697 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2699 * gcontenttype.c (g_content_types_get_registered): Don't return
2700 freed memory (#505815, Mikael Hermansson)
2702 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2704 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2705 used to detect statbuf->st_blocks. (#505042)
2707 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2709 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2710 environment handling. (#504829, Cosimo Cecchi)
2712 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2714 * gappinfo.c: Doc improvements
2716 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2719 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2721 * === Released 2.15.0 ===
2723 2007-12-20 Hans Breuer <hans@breuer.org>
2725 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2726 with symbols gwin32appinfo.obj, added gmount.obj
2727 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2729 2007-12-20 Alexander Larsson <alexl@redhat.com>
2735 * gfilenamecompleter.c:
2738 * gpollfilemonitor.c:
2739 File attribute renames:
2741 fs:: -> filesystem::
2742 id::fs -> id::filesystem
2744 2007-12-20 Alexander Larsson <alexl@redhat.com>
2753 Add GMountUnmountFlags to all unmount and
2755 Add g_mount_remount() call.
2757 2007-12-20 Alexander Larsson <alexl@redhat.com>
2759 * gvfs.c (get_default_vfs):
2760 Fix unused variable warning
2762 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2764 * pltcheck.sh: Update
2766 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2768 * gunionvolumemonitor.c:
2769 * gunixmount.c: Remove C99 comments
2771 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2773 * gio.symbols: Add some missing symbols
2775 2007-12-19 Alexander Larsson <alexl@redhat.com>
2778 Make g_io_modules_load_all_in_directory not unuse
2779 loaded modules so that users of it can do stuff
2781 Init internal "module" types.
2782 Initialize static prio and name for types so that
2783 we don't have to load modules to get it.
2785 * gnativevolumemonitor.h:
2787 Move is_supported to parent class so that
2788 non-native monitors can avoid being initialized
2789 too. (For instance GDaemonVolumeMonitor if we're
2790 not using GDaemonVfs.)
2792 * glocaldirectorymonitor.[ch]:
2793 * glocalfilemonitor.[ch]:
2794 * gunionvolumemonitor.c:
2795 * gunixvolumemonitor.c:
2797 Find plugins using the static prio+name to
2798 avoid unnecessarily loading the modules.
2800 2007-12-19 Alexander Larsson <alexl@redhat.com>
2805 2007-12-19 Alexander Larsson <alexl@redhat.com>
2807 * gunionvolumemonitor.c:
2808 Store the native type as GType, not class so that
2809 we can unload it. But still avoid unnecessarily
2812 2007-12-19 David Zeuthen <davidz@redhat.com>
2814 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2815 add signals 'disconnected' and 'eject-button' on GDrive. Add
2816 signal 'removed' on GVolume and 'unmounted' on GMount.
2818 * gdrive.c: (g_drive_base_init):
2820 * gfile.c: (g_file_mount_mountable),
2821 (g_file_mount_enclosing_volume):
2824 * gmount.c: (g_mount_base_init):
2826 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2827 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2828 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2832 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2834 * *.c: Fix up includes in the section docs.
2836 2007-12-17 Alexander Larsson <alexl@redhat.com>
2838 * gnativevolumemonitor.h:
2839 * gunionvolumemonitor.c:
2840 * gunixvolumemonitor.c:
2841 Add is_supported() to GNativeVolumeMonitorClass so
2842 that we can avoid having to create an object to see
2843 if the backend is supported at runtime.
2844 Also add name member and an env var to pick a specific
2845 volume monitor backend.
2849 Add cancellable to _g_mount_get_for_mount_path()
2851 * glocaldirectorymonitor.c:
2852 * glocalfilemonitor.c:
2853 Avoid loading and unloading modules while sorting.
2855 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2858 * gunixmounts.[hc]: Namespace waste reduction, move some
2859 g_get_unix_mount functions to the g_unix_mount namespace.
2862 * gunixvolumemonitor.c:
2864 * glocaldirectorymonitor.c: Update all callers.
2866 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2868 2007-12-17 Alexander Larsson <alexl@redhat.com>
2871 Add doc comments about what GFile operations are
2872 guaranteed to not block.
2874 2007-12-17 Alexander Larsson <alexl@redhat.com>
2877 Add missing #ifdef fixing OSX build.
2878 (#503334, patch from Richard Hult)
2880 2007-12-14 David Zeuthen <davidz@redhat.com>
2884 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2885 (g_mount_eject), (g_mount_eject_finish):
2887 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2888 (get_volume_for_uuid), (get_mount_for_uuid),
2889 (g_union_volume_monitor_class_init),
2890 (get_default_native_type_with_exclude), (get_default_native_type),
2891 (get_native_type), (update_native_type),
2892 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2893 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2894 (g_unix_mount_can_eject), (eject_unmount_cb),
2895 (eject_unmount_read_error), (eject_unmount_do),
2896 (g_unix_mount_unmount), (g_unix_mount_eject),
2897 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2898 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2899 (g_unix_mount_point_guess_can_eject):
2901 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2902 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2903 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2904 (g_unix_volume_mount), (g_unix_volume_eject),
2905 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2906 * gunixvolumemonitor.c: (get_volume_for_uuid),
2907 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2909 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2910 (g_volume_eject), (g_volume_eject_finish):
2912 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2913 (g_volume_monitor_get_mount_for_uuid):
2916 Provide eject() on both GMount and GVolume and utility functions
2917 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2918 ejected. Introduce the concept of UUID's and wire it into GVolume
2919 and GMount and provide API on GVolumeMonitor to find such
2920 instances. Also handle the case where an external
2921 GNativeVolumeMonitor fails to initialize. Lock around the
2922 _g_get_mount_for_mount_path() function such that volume monitor
2923 implementations won't have to do locking themselves.
2925 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2927 * gdesktopappinfo.c:
2933 * gvolume.h: Documentation updates
2935 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2938 * gfile.h: Doc updates
2940 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2943 * gdesktopappinfo.c: Use hash table iterators.
2945 2007-12-14 Alexander Larsson <alexl@redhat.com>
2948 * gfileattribute.[ch]:
2949 * gfileattribute-priv.h:
2950 Move GFileAttributeValue to a private header, as
2954 Make set_attribute take a type + a pointer instead
2955 of a GFileAttributeValue.
2958 Fix up for above changes.
2959 Add g_file_info_get_attribute_data to get
2960 all info in one call, g_file_info_get_attribute_status
2961 to get the status and g_file_info_get_attribute_as_string.
2965 * glocalfileinfo.[ch]:
2969 Make _guess_type static.
2971 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2974 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2975 made mkenums and friends use temporary files to avoid leaving
2976 empty generated files on failure (#503470).
2978 2007-12-14 Alexander Larsson <alexl@redhat.com>
2980 * gmountoperation.h:
2983 2007-12-14 Alexander Larsson <alexl@redhat.com>
2987 * gfileattribute.[ch]:
2990 * glocalfileoutputstream.c:
2991 * gmountoperation.[ch]:
2992 * goutputstream.[ch]:
2993 Clean up all flags enums to not have _FLAGS in them
2994 Make the names of some of the enums better.
2999 2007-12-14 Michael Natterer <mitch@imendio.com>
3001 * gio.symbols: fix g_io_scheduler symbol names.
3003 2007-12-14 Alexander Larsson <alexl@redhat.com>
3009 * gbufferedinputstream.h:
3010 * gbufferedoutputstream.h:
3013 * gdatainputstream.h:
3014 * gdataoutputstream.h:
3015 * gdesktopappinfo.h:
3016 * gdirectorymonitor.h:
3020 * gfileenumerator.h:
3023 * gfileinputstream.h:
3025 * gfilenamecompleter.h:
3026 * gfileoutputstream.h:
3027 * gfilterinputstream.h:
3028 * gfilteroutputstream.h:
3036 * gmemoryinputstream.h:
3037 * gmemoryoutputstream.h:
3039 * gmountoperation.h:
3042 * gsimpleasyncresult.h:
3044 * gunixinputstream.h:
3046 * gunixoutputstream.h:
3050 * inotify/Makefile.am:
3051 Only allow including <gio/gio.h> from apps
3053 2007-12-14 Alexander Larsson <alexl@redhat.com>
3055 * gioscheduler.[ch]:
3056 * gsimpleasyncresult.c:
3057 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3058 Split out the send_to_mainloop call into two versions instead
3059 of having the block argument.
3061 2007-12-13 Alexander Larsson <alexl@redhat.com>
3063 * gcancellable.[ch]:
3065 * gbufferedinputstream.c:
3066 * gfileenumerator.c:
3067 * gfileinputstream.c:
3068 * gfileoutputstream.c:
3072 g_push/pop_current_cancellable ->
3073 g_cancellable_push/pop_current
3075 2007-12-13 Alexander Larsson <alexl@redhat.com>
3079 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3081 2007-12-13 Alexander Larsson <alexl@redhat.com>
3083 * gmountoperation.h:
3084 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3086 2007-12-12 Alexander Larsson <alexl@redhat.com>
3089 Fix race condition when freeing proxy in
3090 g_io_job_send_to_mainloop().
3092 2007-12-12 Alexander Larsson <alexl@redhat.com>
3098 Make attribute namespace separator "::" instead of ":".
3099 Use - instead of _ as separator in attribute names.
3101 2007-12-12 Alexander Larsson <alexl@redhat.com>
3103 * gbufferedinputstream.h:
3104 * gbufferedoutputstream.h:
3105 * gdatainputstream.h:
3106 * gdataoutputstream.h:
3107 * gdirectorymonitor.h:
3108 * gfileenumerator.h:
3109 * gfileinputstream.h:
3111 * gfileoutputstream.h:
3112 * gfilterinputstream.h:
3113 * gfilteroutputstream.h:
3115 * glocalfileinputstream.h:
3116 * glocalfileoutputstream.h:
3117 * gmemoryinputstream.h:
3118 * gmemoryoutputstream.h:
3119 * gnativevolumemonitor.h:
3121 * gunixinputstream.h:
3122 * gunixoutputstream.h:
3125 s/parent/parent_instance/ in GObjects
3127 2007-12-12 Alexander Larsson <alexl@redhat.com>
3132 No need for padding for interfaces
3134 2007-12-12 Alexander Larsson <alexl@redhat.com>
3138 * gbufferedinputstream.c:
3139 * gbufferedoutputstream.c:
3142 * gdatainputstream.[ch]:
3143 * gdesktopappinfo.c:
3144 * gdirectorymonitor.c:
3146 * gfileattribute.[ch]:
3149 * gfileinputstream.h:
3150 * gfilemonitor.[ch]:
3151 * gfileoutputstream.[ch]:
3152 * gfilterinputstream.h:
3153 * gfilteroutputstream.h:
3156 * gloadableicon.[ch]:
3157 * gmemoryinputstream.c:
3158 * gmountoperation.c:
3160 Fix up a bunch of details in the docs.
3165 2007-12-11 David Zeuthen <davidz@redhat.com>
3167 Rework how volumes, drives and volume monitoring is
3168 done. Previosly the model was
3170 GDrive <1-1> GVolume
3172 where a GDrive instance represented a mount point and a GVolume
3173 instance represented a mounted file system. This patch changes it
3176 GDrive <1-N> GVolume <1-1> GMount
3178 where GMount now serves the purpose of the old GVolume and the new
3179 GVolume serves the purpose of the old GDrive. In addition the new
3180 GDrive interface is used to represent a collection of GVolume
3181 instances (typically partitions) and also contains utility to query
3182 the state of the physical drive the GDrive object represents (such
3183 as checking for media, polling the drive, ejecting the media etc.).
3185 Also implement mounting and unmounting in the Unix volume monitor
3186 backend. A subquent patch will introduce GDrive support for ejection
3190 * gdrive.c: (g_drive_is_media_check_automatic),
3191 (g_drive_is_media_removable), (g_drive_has_media),
3192 (g_drive_can_poll_for_media), (g_drive_eject),
3193 (g_drive_eject_finish), (g_drive_poll_for_media),
3194 (g_drive_poll_for_media_finish):
3196 * gfile.c: (g_file_find_enclosing_mount):
3199 * glocaldirectorymonitor.c:
3200 (g_local_directory_monitor_constructor), (mounts_changed):
3201 * glocalfile.c: (get_mount_info),
3202 (g_local_file_find_enclosing_mount),
3203 (g_local_file_file_iface_init):
3204 * gnativevolumemonitor.h:
3205 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3206 (get_connected_drives), (g_union_volume_monitor_class_init),
3207 (child_volume_added), (child_volume_removed),
3208 (child_volume_changed), (child_mount_added), (child_mount_removed),
3209 (child_mount_pre_unmount), (child_mount_changed),
3210 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3211 (g_union_volume_monitor_remove_monitor),
3212 (_g_mount_get_for_mount_path):
3213 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3214 (guess_system_internal), (_g_get_unix_mounts),
3215 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3216 (g_unix_mount_free), (g_unix_mount_compare),
3217 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3218 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3219 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3220 (type_to_icon), (g_unix_mount_guess_name),
3221 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3222 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3223 (_resolve_symlink), (_resolve_dev_root):
3225 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3226 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3227 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3228 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3229 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3230 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3231 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3232 (g_unix_volume_volume_iface_init):
3234 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3235 (get_mounts), (get_volumes), (get_connected_drives),
3236 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3237 (mountpoints_changed), (mounts_changed),
3238 (g_unix_volume_monitor_init),
3239 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3240 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3241 * gunixvolumemonitor.h:
3242 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3243 (g_volume_mount), (g_volume_mount_finish):
3245 * gvolumemonitor.c: (g_volume_monitor_class_init),
3246 (g_volume_monitor_get_connected_drives),
3247 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3250 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3252 * gmountoperation.h (GPasswordFlags): Close the gap
3254 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3256 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3258 * gdesktopappinfo.[hc]: Remove _-prefixes
3260 2007-12-10 Tor Lillqvist <tml@novell.com>
3262 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3265 2007-12-10 Alexander Larsson <alexl@redhat.com>
3267 * gfile.c (g_file_set_display_name):
3268 Don't hardcode '/' (#502727)
3270 2007-12-09 Hans Breuer <hans@breuer.org>
3272 * makefile.msc : follow lib naming convention
3273 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3274 for user and group name, tested with ../tests/gio-ls
3276 2007-12-09 A. Walton <awalton@svn.gnome.org>
3278 * gdesktopappinfo.c:
3284 * gfileenumerator.c:
3289 * gmemoryinputstream.c:
3290 * gmemoryoutputstream.c:
3292 * gsimpleasyncresult.c:
3293 More documentation cleanup and filling in missing information, bringing
3294 GIO to 99% symbol coverage.
3296 2007-12-08 Hans Breuer <hans@breuer.org>
3298 [gio compiles and links on win32, not sure how much already works]
3299 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3300 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3301 base on win32 API; prefer g_lstat() over lstat(); instead of
3302 localtime_r() use an all GLib implementation on win32;
3303 get_mount_info() still needs a win32 specifc implementation
3304 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3305 win32_get_file_user_info to get owner/group info without uid/gid
3306 * glocalfileinputstream.c : include <io.h> on win32
3307 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3308 definition, use g_win32_ftruncate() for G_OS_WIN32
3309 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3310 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3311 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3312 * makefile.msc : updated
3314 2007-12-07 Alexander Larsson <alexl@redhat.com>
3316 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3317 Avoid warning spew if error == NULL
3319 2007-12-07 Alexander Larsson <alexl@redhat.com>
3322 Update docs wrt etags
3324 2007-12-06 Alexander Larsson <alexl@redhat.com>
3327 Include sys/types.h for dev_t (#501919)
3329 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3333 Make abicheck and pltcheck pass.
3335 2007-12-05 Alexander Larsson <alexl@redhat.com>
3338 * giomodule-priv.h: Added.
3339 * glocaldirectorymonitor.c:
3340 * glocalfilemonitor.c:
3341 * gunionvolumemonitor.c:
3343 Actually add the declaration of _g_io_modules_ensure_loaded
3345 2007-12-05 Alexander Larsson <alexl@redhat.com>
3347 * gdatainputstream.c:
3352 * glocaldirectorymonitor.c:
3353 * glocalfilemonitor.c:
3354 * gunionvolumemonitor.c:
3356 Make g_io_modules_ensure_loaded a private function and
3357 don't pass in the dirname. This means we can do magic
3358 directory finding in the win32 version.
3359 Export the actual load-modules-in-directory code so that
3360 gvfs can reuse that.
3362 2007-12-05 Alexander Larsson <alexl@redhat.com>
3364 * gbufferedinputstream.c:
3365 * gbufferedoutputstream.c:
3368 * gfileenumerator.[ch]:
3369 * gfileinputstream.c:
3370 * gfileoutputstream.[ch]:
3371 * gfilterinputstream.c:
3372 * gfilteroutputstream.c:
3373 * ginputstream.[ch]:
3375 * glocalfileenumerator.c:
3376 * glocalfileinputstream.c:
3377 * glocalfileoutputstream.c:
3378 * gmemoryinputstream.c:
3379 * gmemoryoutputstream.c:
3380 * goutputstream.[ch]:
3383 * gunixinputstream.c:
3384 * gunixoutputstream.c:
3385 Rename all struct members named:
3386 read, write, close, truncate, or mount
3387 to foo_fn, as these are reserved names
3388 and could be defined as macros in libc.
3391 2007-12-04 Alexander Larsson <alexl@redhat.com>
3394 (g_output_stream_close):
3395 Only call flush if non-null.
3397 2007-11-30 Dan Winship <danw@gnome.org>
3399 * ginputstream.c (g_input_stream_set_pending): Make this take a
3400 GError and return a gboolean, and do the "outstanding operation"
3401 check (and the "stream is already closed" check) itself.
3402 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3404 * goutputstream.c (g_output_stream_set_pending)
3405 (g_output_stream_clear_pending): Likewise
3407 * gbufferedinputstream.c:
3408 * gfileinputstream.c:
3409 * gfileoutputstream.c: Update for that
3411 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3412 Like g_simple_async_report_error_in_idle, but takes a GError
3413 rather than building one.
3415 2007-11-30 Dan Winship <danw@gnome.org>
3417 * goutputstream.c: Don't cheat and unset the "pending" flag around
3418 inner calls. Instead, call the class method directly rather than
3419 the wrapper function that checks "pending"
3421 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3423 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3425 2007-12-03 Hans Breuer <hans@breuer.org>
3427 [start of port to win32/msvc]
3428 * gcancellable.c : HAVE_UNIST_H and _pipe()
3429 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3430 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3431 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3433 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3434 * glocalvfs.c : use HAVE_PWD_H
3435 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3436 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3437 * Makefile.am : added to EXTRA_DIST
3439 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3441 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3444 2007-12-03 Alexander Larsson <alexl@redhat.com>
3447 Handle OSX style xattrs API (#500506)
3449 2007-12-03 Alexander Larsson <alexl@redhat.com>
3453 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3455 2007-12-02 A. Walton <awalton@svn.gnome.org>
3459 Documentation accuracy fixes.
3461 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3463 * gioenumtypes.c.template: Fix typo.
3465 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3467 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3469 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3471 * gdirectorymonitor.c:
3472 * gfilemonitor.c: Add properties
3474 * gbufferedoutputstream.c: Don't mark buffer-size property
3477 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3479 * gbufferedoutputstream.c: Add auto-grow property.
3481 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3483 * *.c: Unify the capitalization of section headings.
3485 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3487 * gmountoperation.c: Add properties
3489 * gdatainputstream.c: Turn byte-order and newline-type into
3492 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3494 * gioenumtypes.[hc].template: Templates for enum registration
3496 * Makefile.am: Generate gioenumtypes.[hc]
3498 * gio.h: Include gioenumtypes.h
3500 * gfile.h: Add some explicit nicks.
3502 * gio.symbols: Add new symbols
3504 * pltcheck.sh: Adjust
3506 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3508 * *.c: Explain etags and link to the explanation
3510 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3512 * *.c: Explain I/O priority.
3514 * *.c: More coding style fixes.
3516 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3518 * gasyncresult.c: Add another paragraph to the intro,
3519 adjust coding style of example.
3521 2007-11-29 A. Walton <awalton@svn.gnome.org>
3524 Fixes unknown meaning in GAppLaunchContext docs.
3526 Clarify asynchronous ops.
3528 Fix entity tag docs.
3531 Provides missing gtk-doc section, fixes API docs slighly.
3532 * gsimpleasyncresult.c:
3533 Fill in missing info in docs.
3534 * gunixinputstream.c:
3535 * gunixoutputstream.c:
3536 Be more expressive in short description.
3538 Remove gtk-doc stubs for non-public API.
3540 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3542 * *.c: Coding style fixups
3544 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3546 * inotify/inotify-helper.c: Don't export the lock from libgio.
3548 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3551 * abicheck.sh: Fix copy-and-paste leftovers
3553 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3555 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3557 2007-11-28 Alexander Larsson <alexl@redhat.com>
3561 Removed unnecessary file
3563 * gdesktopappinfo.[ch]:
3566 * glocaldirectorymonitor.[ch]:
3568 * glocalfileenumerator.[ch]:
3569 * glocalfileinputstream.[ch]:
3570 * glocalfilemonitor.[ch]:
3571 * glocalfileoutputstream.[ch]:
3573 * gnativevolumemonitor.c:
3574 * gpollfilemonitor.[ch]:
3575 * gunionvolumemonitor.[ch]:
3578 * gunixvolumemonitor.[ch]:
3581 * inotify/ginotifydirectorymonitor.[ch]:
3582 * inotify/ginotifyfilemonitor.[ch]:
3583 * inotify/inotify-helper.c:
3584 Append _ to all internal functions
3588 Export symbols needed for modules
3590 2007-11-28 Alexander Larsson <alexl@redhat.com>
3593 * abicheck.sh: Added.
3594 * makegioalias.pl: Added.
3595 * pltcheck.sh: Added.
3596 * gio.symbols: Added.
3599 Initial work on adding symbol handling.
3602 Correct ifdef guard name
3605 * inotify/Makefile.am:
3606 * xdgmime/Makefile.am:
3607 Include toplevel Makefile.decl
3609 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3611 * gcontenttype.c: Move doc comments to the unix section.
3613 * *.[hc]: More trivial doc corrections.
3615 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3617 * gpollfilemonitor.c:
3621 * gdesktopappinfo.c:
3626 * gdatainputstream.c:
3627 * gdatainputstream.h:
3628 * gdataoutputstream.c:
3629 * gdataoutputstream.h:
3630 * gfileinfo.h: Doc cleanups
3632 2007-11-28 Andre Klapper <a9016009@gmx.de>
3634 * gdesktopappinfo.c: Fix a typo.
3636 2007-11-27 Andre Klapper <a9016009@gmx.de>
3638 * glocalfileoutputstream.c: Fix a typo.
3640 2007-11-27 Alexander Larsson <alexl@redhat.com>
3643 Don't include removed headers
3645 2007-11-27 Alexander Larsson <alexl@redhat.com>
3648 * gsocketinputstream.[ch]: Removed.
3649 * gsocketoutputstream.[ch]: Removed.
3650 * gunixinputstream.[ch]: Added.
3651 * gunixoutputstream.[ch]: Added.
3652 Renamed GSocket*Stream to GUnix*Stream and made
3653 it unix-only, since its not really only for sockets
3654 and it only works on unix (but is highly useful there).
3656 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3662 * gbufferedinputstream.c:
3663 * gbufferedinputstream.h:
3664 * gbufferedoutputstream.c:
3665 * gbufferedoutputstream.h:
3669 * gdatainputstream.c:
3670 * gdatainputstream.h:
3671 * gdataoutputstream.c:
3672 * gdataoutputstream.h:
3673 * gdirectorymonitor.c:
3674 * gdirectorymonitor.h:
3681 * gfileenumerator.c:
3682 * gfileenumerator.h:
3687 * gfileinputstream.c:
3688 * gfileinputstream.h:
3691 * gfilenamecompleter.c:
3692 * gfilenamecompleter.h:
3693 * gfileoutputstream.c:
3694 * gfileoutputstream.h:
3695 * gfilterinputstream.c:
3696 * gfilterinputstream.h:
3697 * gfilteroutputstream.c:
3698 * gfilteroutputstream.h:
3711 * glocalfileoutputstream.c:
3712 * gmemoryinputstream.c:
3713 * gmemoryinputstream.h:
3714 * gmemoryoutputstream.c:
3715 * gmemoryoutputstream.h:
3716 * gmountoperation.c:
3717 * gmountoperation.h:
3720 * gpollfilemonitor.c:
3723 * gsimpleasyncresult.c:
3724 * gsimpleasyncresult.h:
3725 * gsocketinputstream.c:
3726 * gsocketinputstream.h:
3727 * gsocketoutputstream.c:
3728 * gsocketoutputstream.h:
3735 * gunixvolumemonitor.c:
3744 Bumps documentation to 93% symbol coverage, touching most
3745 of the public files. Fixes broken function documentation prototypes.
3746 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3747 gtk-doc headers in private files.
3749 2007-11-27 Jürg Billeter <j@bitron.ch>
3751 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3752 (g_buffered_input_stream_read_byte):
3753 * gbufferedinputstream.h:
3754 New functions for efficient access to buffer and simple single byte
3757 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3758 (g_data_input_stream_read_until):
3759 * gdatainputstream.h:
3760 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3761 read_until with multiple stop chars.
3763 2007-11-27 Alexander Larsson <alexl@redhat.com>
3767 * inotify/Makefile.am:
3768 Use the user-specified giomoduledir
3770 2007-11-27 Alexander Larsson <alexl@redhat.com>
3774 Add catch-all gio.h header
3775 Don't install gdummyfile.h
3777 2007-11-26 Alexander Larsson <alexl@redhat.com>
3779 * Makefile.am (gioinclude_HEADERS):
3780 Remove trailing whitespace
3782 2007-11-26 Alexander Larsson <alexl@redhat.com>
3784 Merge gio-standalone into glib
3786 2007-11-25 Christian Kellner <gicmo@gnome.org>
3788 * gio/goutputstream.c:
3789 Fix small mistake in the docs.
3791 2007-11-21 Christian Persch <chpe@gnome.org>
3793 * gio/glocalfile.c: (g_local_file_trash):
3794 Convert filenames to UTF-8 for GError.
3795 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3796 as per xdg base dir spec.
3798 2007-11-21 Christian Persch <chpe@gnome.org>
3800 * gio/gdesktopappinfo.c:
3801 Use that g_key_file_to_data cannot fail.
3803 Use stock defines for the key file group and key names.
3806 2007-11-21 Alexander Larsson <alexl@redhat.com>
3809 (copy_stream_with_progress):
3810 Make sure we do a final progress callback with
3811 the full total size.
3813 2007-11-21 Alexander Larsson <alexl@redhat.com>
3816 Export g_file_copy_attributes
3817 Remove padding as its not needed for interfaces
3819 2007-11-20 Alexander Larsson <alexl@redhat.com>
3824 Add G_IO_ERROR_WOULD_MERGE for
3825 copy/move dir on dir with overwrite.
3827 2007-11-20 Alexander Larsson <alexl@redhat.com>
3830 * gio/glocalfileinfo.c:
3831 Add COPY_NAME (this is an optional
3832 non-modified utf8 version of the name) that
3835 2007-11-20 Alexander Larsson <alexl@redhat.com>
3837 * gio/glocalfileenumerator.c:
3838 Report errors as GIOError, not GFileError
3840 2007-11-16 Alexander Larsson <alexl@redhat.com>
3842 * gio/glocalfileoutputstream.c:
3843 * gio/gwin32appinfo.c:
3844 Fix typos in strings.
3845 Patch from Luca Ferretti <elle.uca@libero.it>
3847 2007-11-15 Alexander Larsson <alexl@redhat.com>
3850 Post release version bump
3852 === gio-standalone 0.1.2 ===
3854 2007-11-15 Alexander Larsson <alexl@redhat.com>
3856 * docs/reference/gio/Makefile.am:
3857 Fix up distcheck by removing weird
3863 2007-11-14 Alexander Larsson <alexl@redhat.com>
3865 * gio/gdesktopappinfo.c:
3866 * gio/glocaldirectorymonitor.c:
3868 * gio/glocalfileinfo.c:
3869 * gio/inotify/inotify-sub.c:
3870 * programs/gio-cat.c:
3871 * programs/gio-copy.c:
3872 * programs/gio-info.c:
3873 * programs/gio-ls.c:
3874 * programs/gio-monitor-dir.c:
3875 * programs/gio-monitor-file.c:
3876 * programs/gio-mount.c:
3877 * programs/gio-move.c:
3878 * programs/gio-rm.c:
3879 * programs/gio-save.c:
3880 * programs/gio-trash.c:
3881 Leak fixes from Kjartan Maraas
3883 2007-11-14 Alexander Larsson <alexl@redhat.com>
3885 * gio/fam/fam-helper.c:
3887 * gio/glocalfileinfo.c:
3891 * gio/inotify/inotify-diag.c:
3892 * gio/inotify/inotify-kernel.c:
3893 Various code cleanups from Kjartan Maraas
3895 2007-11-14 Alexander Larsson <alexl@redhat.com>
3897 * gio/gioscheduler.c:
3899 Set up threadpool so that we cache 2 unused
3900 idle threads for at 15 secs. This means we
3901 will reuse thread-local data (like dbus connections)
3904 2007-11-14 Alexander Larsson <alexl@redhat.com>
3906 * gio/fam/fam-helper.c:
3907 * gio/fam/gfamdirectorymonitor.c:
3908 * gio/fam/gfamfilemonitor.c:
3910 * gio/gcontenttype.c:
3911 * gio/gdatainputstream.c:
3912 * gio/gdataoutputstream.c:
3916 * gio/gfileattribute.h:
3917 * gio/gfileenumerator.c:
3919 * gio/ginputstream.c:
3922 * gio/glocalfileinfo.c:
3923 * gio/goutputstream.c:
3924 * gio/gpollfilemonitor.c:
3925 * gio/gsimpleasyncresult.c:
3926 * gio/gunixmounts.c:
3927 * gio/gunixmounts.h:
3928 * gio/inotify/ginotifydirectorymonitor.c:
3929 * gio/inotify/ginotifyfilemonitor.c:
3930 * gio/inotify/inotify-diag.c:
3931 * gio/inotify/inotify-kernel.c:
3932 * gio/inotify/inotify-path.c:
3934 * gio/test-streams.c:
3935 * programs/gio-info.c:
3936 * programs/gio-monitor-dir.c:
3937 * programs/gio-monitor-file.c:
3938 Various code cleanups from Kjartan Maraas
3940 2007-11-13 Alexander Larsson <alexl@redhat.com>
3943 Handle the uri-scheme calls for dummy files
3945 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3947 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3948 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3949 to avoid clash with the C++ keyword.
3951 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3953 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3954 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3956 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3958 * gio/glocaldirectorymonitor.c:
3959 * gio/glocalfilemonitor.c:
3960 * gio/gunionvolumemonitor.c:
3961 Don't use g_once_init_*() for initializations that could fail and
3962 could leave the initialization variable set to 0 but use GOnce.
3963 This prevents a deadlock on the second call when trying to create
3964 a monitor and no monitor type is available. Thanks to Sven Herzberg
3967 2007-11-11 Sven Herzberg <sven@imendio.com>
3969 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3970 #ifdef (make it work on MacOS X again)
3972 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3974 Fixes Changelog for last two commits (sorry guys).
3976 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3978 * gio/gbufferedinputstream.c:
3979 * gio/gdatainputstream.c:
3981 * gio/gfileoutputstream.c:
3982 * gio/gfilterinputstream.c:
3983 * gio/glocalfileinputstream.c:
3986 More consistency fixes in g*stream.c files.
3987 Significant clean of gfile's documentation, filling in of
3988 asynchronous operations documentation.
3990 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3992 * gio/gasyncresult.c:
3993 * gio/gbufferedinputstream.c:
3994 * gio/gbufferedoutputstream.c:
3995 * gio/gcancellable.c:
3996 * gio/gcontenttype.c:
3997 * gio/gdatainputstream.c:
3998 * gio/gdataoutputstream.c:
3999 * gio/gdesktopappinfo.c:
4002 * gio/gfileattribute.c:
4003 * gio/gio/gfileenumerator.c:
4005 * gio/gfileinputstream.c:
4006 * gio/gfilemonitor.c:
4007 * gio/gfileoutputstream.c:
4008 * gio/ginputstream.c:
4010 * gio/gioscheduler.c:
4011 * gio/gloadableicon.c:
4012 * gio/glocalfileoutputstream.c:
4013 * gio/gmemoryoutputstream.c:
4014 * gio/gmountoperation.c:
4015 * gio/goutputstream.c:
4017 * gio/gsimpleasyncresult.c:
4018 * gio/gunionvolumemonitor.c:
4019 * gio/gunixmounts.c:
4020 * gio/gunixvolume.c:
4024 * gio/gvolumemonitor.c:
4025 Updated documentation stubs, working towards consistency and
4028 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4030 * gio/gmemoryoutputstream.c:
4031 * gio/gmemoryoutputstream.h:
4032 Change g_memory_output_stream_set_free_on_close() to
4033 g_memory_output_stream_set_free_data() as this makes more sense and
4034 is more consistent with GMemoryInputStream.
4036 2007-11-07 Alexander Larsson <alexl@redhat.com>
4043 Change how we find the default vfs so that
4044 we can handle a gvfs failing to init
4046 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4048 * gio/gbufferedoutputstream.c:
4049 * gio/gdatainputstream.c:
4050 * gio/gdataoutputstream.c:
4051 * gio/gfileinputstream.c:
4052 * gio/gfileoutputstream.c:
4053 * gio/gfilterinputstream.c:
4054 * gio/gfilteroutputstream.c:
4055 * gio/ginputstream.c:
4056 * gio/gmemoryinputstream.c:
4057 * gio/gmemoryoutputstream.c:
4058 * gio/goutputstream.c:
4059 * gio/gsimpleasyncresult.c:
4060 * gio/gsocketinputstream.c:
4061 * gio/gsocketoutputstream.c:
4062 Add guards to the remaining public functions, add a TODO for
4063 an unimplemented function and remove some useless guards.
4065 2007-11-07 Alexander Larsson <alexl@redhat.com>
4068 Autoconf checks for the various types of
4069 getpwuid_r and getgrgid_r
4071 * gio/glocalfileinfo.c:
4072 Use the autoconf checks from above
4074 2007-11-07 Alexander Larsson <alexl@redhat.com>
4077 (g_local_file_query_filesystem_info):
4078 Some fixes for the statvfs case
4080 2007-11-07 Alexander Larsson <alexl@redhat.com>
4083 (g_local_file_query_filesystem_info):
4084 Pick the "best" of statfs / statvfs for the system
4085 if both are availible.
4087 2007-11-07 Alexander Larsson <alexl@redhat.com>
4089 Solaris fixes from Halton.Huo@Sun.COM:
4096 * gio/glocalfileinfo.c:
4097 Fix for solaris definition of getpwuid_r
4099 * gio/test-streams.c:
4100 Use G_GNUC_PRETTY_FUNCTION
4102 2007-11-07 Alexander Larsson <alexl@redhat.com>
4104 * gio/gdesktopappinfo.c:
4105 (update_default_list):
4106 Remove double semicolon.
4107 Patch from Jens Granseuer
4109 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4111 * docs/reference/gio/gio-sections.txt:
4112 * gio/gbufferedinputstream.c:
4113 * gio/gbufferedinputstream.h:
4114 * gio/gdatainputstream.c:
4115 * gio/gfileenumerator.c:
4116 * gio/gioscheduler.c:
4117 * gio/gunionvolumemonitor.c:
4119 * programs/gio-save.c:
4120 Fix typo: availible -> available. Unfortuntely this breaks API
4121 and ABI as g_buffered_input_stream_get_available() was renamed.
4123 * gio/gunixmounts.c:
4124 * gio/gbufferedinputstream.c:
4125 Add guards for public functions.
4127 2007-11-06 Ross Burton <ross@openedhand.com>
4129 * docs/reference/gio/Makefile.am:
4130 Fix invalid += usage which automake 1.10 doesn't like.
4132 2007-11-06 Alexander Larsson <alexl@redhat.com>
4135 (g_app_launch_context_class_init):
4138 Patch from Ross Burton
4140 2007-11-06 Alexander Larsson <alexl@redhat.com>
4143 Post release version bump
4145 === gio-standalone 0.1.1 ===
4147 2007-11-06 Alexander Larsson <alexl@redhat.com>
4150 Bump version to 0.1.1
4152 * gio/gsimpleasyncresult.c:
4153 (g_simple_async_result_set_from_error):
4154 Remove bogus g_return_if_fail
4156 2007-11-06 Alexander Larsson <alexl@redhat.com>
4159 The name is gio-standalone
4162 Add top src/builddir to includedir
4164 2007-11-06 Alexander Larsson <alexl@redhat.com>
4166 * docs/reference/gio/gio-sections.txt:
4168 * gio/gbufferedinputstream.c:
4169 * gio/gbufferedoutputstream.c:
4170 * gio/gcancellable.c:
4171 * gio/gdatainputstream.h:
4172 * gio/gdataoutputstream.c:
4173 * gio/gdataoutputstream.h:
4174 * gio/gdirectorymonitor.c:
4176 * gio/gfileattribute.c:
4177 * gio/gfileattribute.h:
4178 * gio/gfileenumerator.c:
4179 * gio/gfileenumerator.h:
4182 * gio/gfileinputstream.h:
4183 * gio/gfilemonitor.c:
4184 * gio/gfileoutputstream.h:
4185 * gio/glocalfilemonitor.h:
4186 * gio/glocalfileoutputstream.h:
4187 * gio/gmemoryinputstream.c:
4188 * gio/gmemoryoutputstream.c:
4189 * gio/gmountoperation.c:
4190 * gio/goutputstream.c:
4191 * gio/goutputstream.h:
4193 * gio/gsimpleasyncresult.c:
4194 * gio/gunixmounts.c:
4195 * gio/gunixmounts.h:
4197 * gio/inotify/inotify-helper.c:
4198 Fix gtk-doc warnings
4200 Patch from Ross Burton
4202 2007-11-06 Alexander Larsson <alexl@redhat.com>
4204 * gio/gfilenamecompleter.c:
4205 (g_filename_completer_get_completions):
4208 * gio/gunixvolume.c:
4209 Remove unused function
4211 Patches from Ross Burton
4213 2007-11-06 Alexander Larsson <alexl@redhat.com>
4218 Padding not needed for interfaces
4220 2007-11-06 Alexander Larsson <alexl@redhat.com>
4222 * gio/gfilemonitor.c:
4226 Make giotypes.h an internal file
4229 * gio/gbufferedinputstream.h:
4230 * gio/gbufferedoutputstream.h:
4231 * gio/gcancellable.h:
4232 * gio/gdatainputstream.h:
4233 * gio/gdataoutputstream.h:
4234 * gio/gdirectorymonitor.c:
4235 * gio/gdirectorymonitor.h:
4240 * gio/gfileattribute.h:
4241 * gio/gfileenumerator.h:
4246 * gio/gfilemonitor.c:
4247 * gio/gfilemonitor.h:
4248 * gio/gfilenamecompleter.c:
4249 * gio/gfilenamecompleter.h:
4250 * gio/gfilterinputstream.h:
4251 * gio/gfilteroutputstream.h:
4252 * gio/ginputstream.h:
4253 * gio/gmemoryinputstream.h:
4254 * gio/gmemoryoutputstream.h:
4255 * gio/gmountoperation.c:
4256 * gio/gmountoperation.h:
4257 * gio/gnativevolumemonitor.c:
4258 * gio/goutputstream.h:
4261 * gio/gsimpleasyncresult.c:
4262 * gio/gsimpleasyncresult.h:
4263 * gio/gsocketinputstream.h:
4264 * gio/gsocketoutputstream.h:
4265 * gio/gthemedicon.c:
4266 * gio/gthemedicon.h:
4270 * gio/gvolumemonitor.c:
4271 * gio/gvolumemonitor.h:
4272 Add padding in classes where it seems useful
4273 Don't include giotypes.h from public headers
4274 Move in Class definitions into c file where possible
4279 2007-11-06 Alexander Larsson <alexl@redhat.com>
4281 * docs/reference/gio/gio-docs.xml:
4282 Better structure for API docs
4284 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4287 * gio/gloadableicon.c:
4288 * gio/gsimpleasyncresult.c:
4289 * gio/gthemedicon.c:
4290 Add some more guards to public functions. Only files missing are now
4293 2007-11-06 Alexander Larsson <alexl@redhat.com>
4295 * docs/reference/gio/gio-docs.xml:
4296 Remove old files, add missing ones
4298 2007-11-06 Alexander Larsson <alexl@redhat.com>
4300 * docs/reference/gio/gio-sections.txt:
4303 Hide implementation classes
4305 * gio/gdriveprivate.h:
4306 * gio/gvolumeprivate.h:
4307 Remove non-existing function declarations
4309 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4312 Fix compilation warnings and add guards to the new functions.
4314 * gio/gasyncresult.c:
4316 Add guards to the public functions.
4319 Implement get_path().
4321 2007-11-06 Alexander Larsson <alexl@redhat.com>
4323 * gio/gfilenamecompleter.c:
4324 Make g_filename_completer_get_completions
4325 return char ** instead of GList for
4328 * docs/reference/gio/gio-docs.xml:
4329 * docs/reference/gio/gio-sections.txt:
4331 * gio/gasyncresult.c:
4332 * gio/gbufferedinputstream.c:
4333 * gio/gbufferedoutputstream.c:
4334 * gio/gcancellable.c:
4335 * gio/gcontenttype.c:
4336 * gio/gdatainputstream.c:
4337 * gio/gdataoutputstream.c:
4338 * gio/gdesktopappinfo.c:
4339 * gio/gdirectorymonitor.c:
4343 * gio/gfileattribute.c:
4344 * gio/gfileenumerator.c:
4347 * gio/gfileinputstream.c:
4348 * gio/gfilemonitor.c:
4349 * gio/gfilenamecompleter.c:
4350 * gio/gfilenamecompleter.h:
4351 * gio/gfileoutputstream.c:
4352 * gio/gfilterinputstream.c:
4354 * gio/ginputstream.c:
4356 * gio/gioscheduler.c:
4357 * gio/gloadableicon.c:
4358 * gio/glocaldirectorymonitor.c:
4360 * gio/glocalfileinputstream.c:
4361 * gio/glocalfilemonitor.c:
4362 * gio/glocalfileoutputstream.c:
4364 * gio/gmemoryinputstream.c:
4365 * gio/gmemoryoutputstream.c:
4366 * gio/gmountoperation.c:
4367 * gio/goutputstream.c:
4368 * gio/gpollfilemonitor.c:
4370 * gio/gsimpleasyncresult.c:
4371 * gio/gsocketinputstream.c:
4372 * gio/gsocketoutputstream.c:
4373 * gio/gthemedicon.c:
4374 * gio/gunionvolumemonitor.c:
4376 * gio/gunixmounts.c:
4377 * gio/gunixvolume.c:
4378 * gio/gunixvolumemonitor.c:
4382 * gio/gvolumemonitor.c:
4383 * gio/gwin32appinfo.c:
4384 Add (mostly stub) doc strings to public functions.
4385 Patch from Andrew Walton (awalton@gmail.com)
4387 2007-11-06 Alexander Larsson <alexl@redhat.com>
4389 * gio/gappinfo.[ch]:
4390 Added GAppLaunchContext object and pass that to launch.
4391 This allows simple implementation of both
4392 launch-on-screen and startup notification via a gtk+
4393 subclass of GAppLaunchContext
4395 * gio/gdesktopappinfo.c:
4396 Implement GAppLaunchContext API
4398 * gio/gwin32appinfo.c:
4401 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4403 * gio/gmountoperation.c:
4404 Add some guards to GMountOperation's public functions.
4406 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4410 * gio/gcancellable.c:
4411 * gio/gdirectorymonitor.c:
4413 * gio/gfileenumerator.c:
4414 * gio/gfilemonitor.c:,
4415 * gio/gfilenamecompleter.c:
4418 * gio/gioscheduler.c:
4422 * gio/gvolumemonitor.c:
4423 Add even more guards to various public functions.
4425 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4428 Add guards to the public functions of GAppInfo.
4430 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4432 * gio/gcontenttype.c:
4433 Add some more guards for public functions.
4435 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4437 * gio/fam/fam-module.c:
4438 * gio/fam/gfamdirectorymonitor.c:
4439 * gio/fam/gfamdirectorymonitor.h:
4440 * gio/fam/gfamfilemonitor.c:
4441 * gio/fam/gfamfilemonitor.h:
4442 * gio/inotify/ginotifydirectorymonitor.c:
4443 * gio/inotify/ginotifydirectorymonitor.h:
4444 * gio/inotify/ginotifyfilemonitor.c:
4445 * gio/inotify/ginotifyfilemonitor.h:
4446 Add proper copyright information and remove an unused variable
4447 in the GInotifyFileMonitor constructor.
4449 * gio/gcancellable.c:
4450 Add a guard for a public function and an assertion to prevent
4451 an undefined program state.
4453 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4455 * gio/gfileattribute.c:
4456 Don't run into an assertion if the given attribute value is NULL
4457 in g_file_attribute_value_get_*() but instead return a fallback
4458 value that makes sense in most situations. Passing them a attribute
4459 value with the wrong type will still run into an assertion.
4461 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4463 * gio/gfileattribute.c:
4465 Add even more guards to the public functions. Also fix the refcounting
4466 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4467 let g_file_info_list_attributes() filter the attributes by namespace
4468 instead of simply ignoring the namespace parameter.
4470 2007-11-03 Sven Herzberg <sven@imendio.com>
4472 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4473 (This makes gio work on MacOS X again)
4475 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4478 Build the gio subdirectory before the docs. Otherwise the build will
4481 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4482 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4483 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4484 Add guards to the public functions.
4486 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4488 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4489 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4490 to prevent a compiler warning.
4492 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4493 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4494 return something in the non-void function find_topdir_for().
4496 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4503 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4505 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4506 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4507 * gwin32appinfo.c (g_win32_app_info_launch):
4508 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4509 envp_for_startup_id, g_desktop_app_info_launch,
4510 g_desktop_app_info_launch_uris):
4512 Give an opaque 'startup_id' string instead of 'envp'.
4513 Support empty file lists for launching new windows.
4514 Fix infinite recursion bug when launching URIs.
4516 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4519 Add guard to the new g_file_get_uri_scheme() function.
4521 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4524 Convert a g_return_val_if_fail() to setting the GError instead as
4525 otherwise applications have to verify the parameter before otherwise
4526 and the parameter might come directly from the user.
4528 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4530 * gio/inotify/ginotify*.[ch]:
4531 Add missing copyright information.
4533 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4536 Add guards in the beginning of public functions to check for valid
4537 parameters and fix a bug in copy_stream_with_progress() that could've
4538 caused writing less bytes than reading.
4539 * gio/glocalfileinfo.c:
4540 Check for a NULL parameter and set the GError accordingly then.
4541 * gio/goutputstream.c:
4542 Fix the same bug as in gfile.c that could've caused writing less bytes
4543 than reading in g_output_stream_real_splice().
4545 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4548 Use the correct gvolumeprivate.h naming
4550 2007-11-01 Christian Kellner <gicmo@gnome.org>
4553 Remove leftover "$(daemon_sources)" entry.
4555 2007-11-01 Christian Kellner <gicmo@gnome.org>
4560 Add copyright information to source files.
4562 2007-11-01 Alexander Larsson <alexl@redhat.com>
4566 Add g_file_get_uri_scheme
4568 2007-11-01 Alexander Larsson <alexl@redhat.com>
4571 * gio/gdesktopappinfo.c:
4572 * gio/gwin32appinfo.c:
4573 Add g_app_info_get_default_for_uri_scheme.
4575 2007-11-01 Alexander Larsson <alexl@redhat.com>
4578 Correct filename for gdriveprivate.h
4580 2007-10-31 Alexander Larsson <alexl@redhat.com>
4583 Rename id:value to id:file
4586 * gio/glocalfileinfo.c:
4589 2007-10-31 Alexander Larsson <alexl@redhat.com>
4591 * gio/gunixvolume.c:
4593 Remove g_volume_get_platform_id, as thats not
4594 needed with the simpler union volume monitor
4596 2007-10-31 Alexander Larsson <alexl@redhat.com>
4599 * gio/guniondrive.[ch]: Removed.
4600 * gio/gunionvolume.[ch]: Removed.
4601 Remove GUnionDrive/Volume
4603 * gio/gunionvolumemonitor.c:
4604 Simplify union volume monitor, now we
4605 only have one native volume monitor and
4606 we use the actual volumes/drives from the
4607 child monitors instead of wrapping them
4609 * gio/gnativevolumemonitor.[ch]:
4610 Base class for native volume monitors.
4611 Includes priority and get_volume_for_mountpoint
4614 Add g_file_find_enclosing_volume
4617 Remove volume name fs attribute
4618 Add readonly fs attribute
4621 Implement readonly attribute
4622 remove volume name attribute
4623 Implement find_enclosing volume
4625 * gio/gunixmounts.c:
4626 Add a volume for "/".
4628 * gio/gunixvolume.[ch]:
4629 Set better name for /
4631 * gio/gunixvolumemonitor.[ch]:
4632 Derive from GNativeVolumeMonitor
4633 Implement get_volume_for_mountpoint
4636 GVolume typedef moved to gfile.h
4638 * gio/gvolumeprivate.h:
4639 Add g_volume_get_for_mount_path
4641 2007-10-31 Alexander Larsson <alexl@redhat.com>
4643 * gio/gunixmounts.[ch]:
4644 Add cache info to unix mount listers
4645 Make getmntent use threadsafe
4646 Add is_system_internal attribute for GUnixMount
4648 * gio/gunixvolume.c:
4649 (g_unix_volume_new):
4650 Use is_system_internal instead of own code
4652 * gio/glocaldirectorymonitor.c:
4653 * gio/gunixvolumemonitor.c:
4654 Update to new gunixmounts API
4659 2007-10-30 Alexander Larsson <alexl@redhat.com>
4662 Add volume name fsinfo attribute
4665 Read volume name info
4667 * gio/gunionvolumemonitor.c:
4668 Fix infinite loops when finalizing a union volume monitor
4670 2007-10-30 Alexander Larsson <alexl@redhat.com>
4672 * gio/goutputstream.[ch]:
4673 Add splice() with default implementation
4675 * gio/gsocketoutputstream.c:
4676 (g_socket_output_stream_write):
4677 Return error on cancellation correctly.
4679 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4681 * gio/glocalfile.c (g_local_file_trash):
4682 Do not leak a string.
4684 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4686 * gio/gfile.c (g_file_load_contents):
4687 Unref the stream after closing it.
4689 2007-10-25 Alexander Larsson <alexl@redhat.com>
4691 * gio/gioscheduler.h:
4694 2007-10-25 Alexander Larsson <alexl@redhat.com>
4698 Add g_file_has_uri_scheme and implement for local files
4700 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4702 * gio/gdesktopappinfo.c: do not leak a string.
4704 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4706 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4707 (g_local_directory_monitor_new):
4708 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4709 (g_local_file_monitor_new):
4710 Only look for the monitor type that should be used the first time
4711 and use g_qsort_with_data() instead of our own bubble sort
4714 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4717 * gio/fam/Makefile.am:
4718 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4719 * gio/fam/fam-helper.h:
4720 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4721 * gio/fam/gfamdirectorymonitor.c:
4722 * gio/fam/gfamdirectorymonitor.h:
4723 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4724 * gio/fam/gfamfilemonitor.h:
4725 * gio/glocaldirectorymonitor.c:
4726 * gio/glocaldirectorymonitor.h:
4727 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4728 * gio/glocalfilemonitor.h:
4729 * gio/inotify/Makefile.am:
4730 * gio/inotify/ginotifydirectorymonitor.c:
4731 * gio/inotify/ginotifydirectorymonitor.h:
4732 * gio/inotify/ginotifyfilemonitor.c:
4733 * gio/inotify/ginotifyfilemonitor.h:
4734 Implement the FAM and Inotify monitors as
4735 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4736 their own GIO module. GLocal(Directory|File)Monitor will use the
4737 monitor with the highest rank that is supported on that machine.
4739 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4742 Change GIO module dir to $(libdir)/gio/modules and change
4743 the log domain from GVFS to GIO. Also only export symbols starting
4744 with g_ in the resulting library.
4745 * gio/test-streams.c: (main):
4746 Set log handler for the GIO log domain.
4748 2007-10-22 Alexander Larsson <alexl@redhat.com>
4750 * gio/gfilenamecompleter.[ch]:
4751 Add g_filename_completer_set_dirs_only
4753 2007-10-22 Alexander Larsson <alexl@redhat.com>
4756 * gio/gurifuncs.[ch]:
4757 Add some simple URI helpers
4759 * gio/gfilenamecompleter.[ch]:
4760 Added object for filename (parse name actually) completion
4763 Handle ~ in parse names
4765 2007-10-17 Alexander Larsson <alexl@redhat.com>
4768 * gio/glocalfileinfo.c:
4769 Add and implement id:value attribute
4771 2007-10-17 Alexander Larsson <alexl@redhat.com>
4774 * gio/guniondrive.c:
4776 Add and implement g_drive_has_volumes
4778 2007-10-17 Alexander Larsson <alexl@redhat.com>
4781 * gio/glocalfileinfo.[ch]:
4782 Add unix:is_mountpoint and implement for local files
4784 2007-10-16 Alexander Larsson <alexl@redhat.com>
4786 * gio/gunionvolumemonitor.c:
4787 (g_union_volume_monitor_init):
4788 Fix up the unix type getting so that it works with gcc
4790 2007-10-12 Alexander Larsson <alexl@redhat.com>
4793 * gio/glocalfileinfo.c:
4794 Add thumbnail:failed to file info
4796 2007-10-12 Richard Hult <richard@imendio.com>
4798 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4799 optimizing away the get_type call (happens with some gcc versions,
4800 like the one shipped with OS X 10.4).
4802 2007-10-12 Alexander Larsson <alexl@redhat.com>
4804 * gio/glocalfileinfo.c:
4805 (_g_local_file_info_set_attribute):
4806 Fix build if not HAVE_XATTR
4807 Patch from Milosz Derezynski <internalerror@gmail.com>
4809 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4811 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4812 around for review, otherwise I would have asked you before
4815 2007-10-11 Alexander Larsson <alexl@redhat.com>
4818 Add thumbnail:path attribute
4820 * gio/glocalfileinfo.c:
4821 Implement thumbnail:path for local files
4823 2007-10-11 Alexander Larsson <alexl@redhat.com>
4825 * gio/glocalfileinfo.c:
4826 (_g_local_file_info_get):
4827 Avoid duplicate icon names
4829 2007-10-11 Alexander Larsson <alexl@redhat.com>
4831 * gio/gthemedicon.[ch]:
4832 Change g_themed_icon_get_names return type to const
4834 2007-10-10 Alexander Larsson <alexl@redhat.com>
4836 * gio/glocalfileinfo.c:
4837 Don't reference freed memory
4839 2007-10-10 Alexander Larsson <alexl@redhat.com>
4841 * gio/gfileattribute.c:
4844 * gio/glocalfileinfo.c:
4847 2007-10-10 Alexander Larsson <alexl@redhat.com>
4850 Check for NULL icons
4852 * gio/gfileattribute.c:
4853 Don't dup when getting objects (same as for string attributes)
4855 * gio/gicon.c (g_icon_equal):
4856 Safely handle NULLs in equal
4858 2007-10-10 Alexander Larsson <alexl@redhat.com>
4861 Fix c++ compilation issues
4862 Patch from Milosz Derezynski <internalerror@gmail.com>
4864 2007-10-10 Alexander Larsson <alexl@redhat.com>
4866 * programs/gio-monitor-dir.c:
4867 Don't crash if dir monitor not supported.
4869 2007-10-09 Alexander Larsson <alexl@redhat.com>
4872 Add missing G_END_DECLS
4874 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4876 * gio/gfile.c: (g_file_set_display_name),
4877 (g_file_query_settable_attributes),
4878 (g_file_query_writable_namespaces):
4879 Return NULL not FALSE on errors as the return type is a pointer.
4881 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4883 * gio/glocalfile.c: (g_local_file_monitor_file):
4884 Don't call monitor_file on the default interface vtable (which
4885 is NULL) but simply return NULL. The caller, GFile, will create a
4886 polling monitor if NULL is returned.
4888 2007-10-09 Alexander Larsson <alexl@redhat.com>
4892 * gio-unix-2.0.pc.in:
4893 Add gio-unix-2.0.pc if OS_UNIX
4896 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4898 2007-10-09 Alexander Larsson <alexl@redhat.com>
4900 * gio/gunixmounts.[ch]:
4901 Make unix mount monitoring API sane.
4902 Now its just a object with mounts_changed
4903 and mountpoints_changed signals.
4905 * gio/glocaldirectorymonitor.c:
4906 * gio/gunixvolumemonitor.c:
4907 Use new mount monitor api
4909 2007-10-09 Alexander Larsson <alexl@redhat.com>
4911 * gio/gunixmounts.[ch]:
4912 Move guess type into one call for mounts and one for mountpoints
4915 * gio/gunixvolume.c:
4918 2007-10-09 Alexander Larsson <alexl@redhat.com>
4920 * gio/gunixmounts.[ch]:
4921 Remove _ prefix in preparation to make this semi-public
4922 Hide implementation of structs
4924 * gio/glocaldirectorymonitor.c:
4926 * gio/gunixvolume.c:
4927 * gio/gunixvolumemonitor.c:
4928 Update for above API changes
4930 2007-10-08 Alexander Larsson <alexl@redhat.com>
4933 Better polling fallback. This also handles the case where we have
4934 a monitor_file implementation, but it fails.
4936 2007-10-08 Alexander Larsson <alexl@redhat.com>
4940 * gio/gunixmounts.c:
4941 * programs/gio-monitor-dir.c:
4942 * programs/gio-monitor-file.c:
4943 Added cancellable to file monitoring calls.
4944 These are really sync calls and need this.
4946 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4948 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4949 (g_local_vfs_class_init):
4950 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4951 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4953 2007-10-05 Alexander Larsson <alexl@redhat.com>
4955 * gio/gdirectorymonitorprivate.h:
4956 * gio/gfilemonitorprivate.h:
4957 * gio/gdirectorymonitor.h:
4958 * gio/gfilemonitor.h:
4959 Remove *private.h and move to the public API, so that
4960 we can do implementations outside gio (such as in gvfs)
4962 * gio/gdirectorymonitor.c:
4963 * gio/gfilemonitor.c:
4964 * gio/glocaldirectorymonitor.c:
4965 * gio/gpollfilemonitor.c:
4966 * gio/inotify/inotify-helper.c:
4967 * gio/fam/fam-helper.c:
4968 Update to the new header names
4970 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4972 * gio/gdirectorymonitor.c:
4973 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4976 2007-10-04 Alexander Larsson <alexl@redhat.com>
4978 * gio/glocalfileinfo.c (get_access_rights):
4979 Set CAN_TRASH when we can move the file.
4980 We should really also check for a parent trash dir.
4982 2007-10-04 Alexander Larsson <alexl@redhat.com>
4984 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4985 Add can_trash access attribute
4987 2007-10-04 Alexander Larsson <alexl@redhat.com>
4990 (g_local_file_trash):
4991 Create info file first. This is per-spec and allows
4992 us to actually trash directories.
4994 2007-10-02 Alexander Larsson <alexl@redhat.com>
4996 * gio/gdesktopappinfo.c:
4997 Implement the new mime support code.
4998 Always set app as handling mimetype when being set as default for it
5000 2007-10-01 Alexander Larsson <alexl@redhat.com>
5002 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5003 Fix up check for xattrs:
5005 2007-10-01 Alexander Larsson <alexl@redhat.com>
5008 (g_app_info_set_as_default_for_extension):
5009 (g_app_info_add_supports_type):
5010 (g_app_info_can_remove_supports_type):
5011 (g_app_info_remove_supports_type):
5012 Make these fail nicely if not implemented
5014 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5016 * gio/glocalfileoutputstream.c:
5017 * gio/glocalfileoutputstream.h:
5022 * programs/gio-save.c:
5023 Add a GFileCreateFlags argument to operations that can create
5026 2007-10-01 Alexander Larsson <alexl@redhat.com>
5028 * gio/gappinfo.[ch]:
5029 * gio/gdesktopappinfo.c:
5030 Add more (stubbed out) mime API needed for nautilus
5032 2007-10-01 Alexander Larsson <alexl@redhat.com>
5035 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5036 Add g_app_info_set_as_default_for_extension.
5038 * gio/gdesktopappinfo.c:
5039 Dummy for g_app_info_set_as_default_for_extension
5040 Support flags in g_app_info_create_from_commandline
5042 * gio/gwin32appinfo.c:
5044 Update for API changes
5046 * gio/gthemedicon.c:
5047 Properly NULL-terminate list of icon names
5049 2007-09-28 Alexander Larsson <alexl@redhat.com>
5051 * gio/gloadableicon.h:
5052 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5054 2007-09-28 Alexander Larsson <alexl@redhat.com>
5057 Install headers in $includedir/gio-standalone/
5059 * gio-2.0.pc.in: Added.
5060 * gio-standalone.pc.in: Removed.
5063 Renamed pkg-config file to match glib (for future move)
5064 Update to the new include dir
5067 Add more TODO comments
5069 2007-09-28 Alexander Larsson <alexl@redhat.com>
5071 * gio/gdesktopappinfo.[ch]:
5072 Expose new_from_filename
5073 Add getter for is_hidden and handle it better
5075 2007-09-28 Alexander Larsson <alexl@redhat.com>
5077 * gio/gfileinfo.[ch]:
5078 Rename g_file_size_format_for_display to
5079 g_format_file_size_for_display.
5080 Now it doesn't have the g_file prefix, so we
5081 can later move it to glib.
5083 2007-09-28 Alexander Larsson <alexl@redhat.com>
5085 * gio/gappinfo.[ch]:
5086 Add g_app_info_get_id and g_app_info_get_executable.
5087 Make all getters non-reffing
5088 Make g_app_info_launch take GFile arguments.
5089 Add must_support_uris argument to g_app_info_get_default_for_type.
5091 * gio/gwin32appinfo.c:
5092 Update to GAppInfo api changes
5094 * gio/gdesktopappinfo.c:
5095 Update to GAppInfo api changes
5096 Implement supports_xdg_startup_notify
5098 * gio/gfileicon.c (g_file_icon_get_file):
5099 Make getter non-reffing.
5104 2007-09-27 Alexander Larsson <alexl@redhat.com>
5106 * gio/gfileinfo.[ch]:
5107 Add g_file_size_format_for_display helper
5109 2007-09-27 Alexander Larsson <alexl@redhat.com>
5111 * gio/glocalfileinfo.c:
5112 Set UNIX_GID from gid, not from uid
5114 2007-09-27 Alexander Larsson <alexl@redhat.com>
5117 Add g_file_set_attributes_async
5119 2007-09-27 Alexander Larsson <alexl@redhat.com>
5121 * gio/glocalfile.c (g_local_file_set_display_name):
5122 Fix set_display_name to actually rename to the right place.
5123 Use lstat to look for existing files so we don't overwrite
5126 2007-09-26 Alexander Larsson <alexl@redhat.com>
5129 Add g_file_set_display_name_async()
5131 2007-09-26 Alexander Larsson <alexl@redhat.com>
5134 Add load_partial_contents async calls
5137 Make internal function static
5139 2007-09-26 Alexander Larsson <alexl@redhat.com>
5141 * gio/glocalfileinfo.c:
5142 Correctly detect broken symlinks
5144 2007-09-26 Alexander Larsson <alexl@redhat.com>
5146 * gio/gcancellable.c (g_cancellable_cancel):
5147 Allow cancel on NULL cancellable
5149 2007-09-25 Alexander Larsson <alexl@redhat.com>
5151 * gio/gsimpleasyncresult.c:
5152 Don't allocate g_error manually.
5153 Fixes g_slice/g_new mixup crash
5155 2007-09-25 Alexander Larsson <alexl@redhat.com>
5157 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5158 Actually set active_backend.
5159 This means the monitor will be cancelled correctly.
5161 2007-09-25 Alexander Larsson <alexl@redhat.com>
5163 * gio/gdirectorymonitor.c:
5164 Set timeout to NULL when destroying
5166 2007-09-25 Alexander Larsson <alexl@redhat.com>
5169 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5170 that is a better description of the error.
5172 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5174 * gio/gvfs.c: (g_vfs_get_local):
5175 Make the local vfs variable static. The same instance should
5178 2007-09-24 Alexander Larsson <alexl@redhat.com>
5180 * gio/glocalfileinfo.c:
5181 Pass in actual length read into sniffer, not the length
5184 2007-09-21 Alexander Larsson <alexl@redhat.com>
5186 * gio/gfileenumerator.c:
5189 * gio/gfileinputstream.c:
5190 * gio/gfileoutputstream.c:
5191 * gio/ginputstream.c:
5192 * gio/goutputstream.c:
5193 Don't crash if async callbacks are NULL
5195 2007-09-20 Alexander Larsson <alexl@redhat.com>
5198 Add async enumerate_children method and default
5201 2007-09-20 Alexander Larsson <alexl@redhat.com>
5204 Add g_file_contains_file & g_file_get_relative_path, since they
5205 were needed for nautilus.
5206 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5211 Implement new methods
5213 2007-09-17 Alexander Larsson <alexl@redhat.com>
5216 * gio/gfileinputstream.[ch]:
5217 * gio/gfileoutputstream.[ch]:
5219 * gio/glocalfileenumerator.[ch]:
5220 * gio/glocalfileinfo.[ch]:
5221 * gio/glocalfileinputstream.c:
5222 * gio/glocalfileoutputstream.c:
5223 * gio/gpollfilemonitor.c:
5224 * programs/gio-copy.c:
5225 * programs/gio-info.c:
5226 * programs/gio-move.c:
5227 Rename get_file_info to query_info() to make it clearer
5228 that these are not simple getters, but do i/o.
5230 2007-09-17 Alexander Larsson <alexl@redhat.com>
5232 * gio/gdatainputstream.[ch]:
5233 * gio/test-streams.c:
5234 Use _read_XXX instead of _get_XXX for the i/o calls
5237 2007-09-17 Alexander Larsson <alexl@redhat.com>
5240 Added needed stuff to TODO comment
5242 2007-09-17 Alexander Larsson <alexl@redhat.com>
5244 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5245 Don't error out removing the backup copy if it doesn't
5248 2007-09-14 Alexander Larsson <alexl@redhat.com>
5250 * programs/Makefile.am:
5251 * programs/gvfs-*.c:
5253 Renamed apps from gvfs-xxx to gio-xxx.
5255 2007-09-14 Alexander Larsson <alexl@redhat.com>
5258 * gio/gfileoutputstream.[ch]:
5259 * gio/glocalfileoutputstream.c:
5260 * programs/gvfs-save.c:
5261 g_file_output_stream_get_etag doesn't do i/o, so remove
5262 cancellation and error.
5264 2007-09-14 Alexander Larsson <alexl@redhat.com>
5267 Add new_etag output to replace_contents functions
5269 2007-09-14 Alexander Larsson <alexl@redhat.com>
5271 * gio/gfileoutputstream.[ch]:
5272 Add async get_file_info and default implementation
5274 2007-09-14 Alexander Larsson <alexl@redhat.com>
5276 * gio/gfileinputstream.c:
5277 Implement fallback wrapper for async get_file_info
5279 2007-09-14 Alexander Larsson <alexl@redhat.com>
5282 Add etag out argument to load_contents
5287 2007-09-14 Alexander Larsson <alexl@redhat.com>
5289 * gio/gcontenttype.c (looks_like_text):
5290 Whitespace like tab, cr and lf do not make the
5293 2007-09-14 Alexander Larsson <alexl@redhat.com>
5295 * gio/gfileinputstream.[ch]:
5296 Add async get_file_info.
5298 2007-09-13 Alexander Larsson <alexl@redhat.com>
5300 * gio/goutputstream.c (g_output_stream_write_all):
5301 Allow NULL for bytes_written
5303 2007-09-13 Alexander Larsson <alexl@redhat.com>
5305 * gio/gmemoryinputstream.[ch]:
5306 Add accessors for data
5308 2007-09-13 Alexander Larsson <alexl@redhat.com>
5310 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5311 Don't crash if length is NULL