1 2009-01-08 Matthias Clasen <mclasen@redhat.com>
3 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
5 2009-01-07 Matthias Clasen <mclasen@redhat.com>
7 Bug 566770 – error code 0 for Too many open files is useless
9 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
10 Requested by Olivier Sessink.
12 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
14 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
15 G_IO_ERROR_TOO_MANY_OPEN_FILES.
17 2009-01-05 Matthias Clasen <mclasen@redhat.com>
19 * === Released 2.19.4 ===
21 2009-01-05 Dan Winship <danw@gnome.org>
23 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
24 "const char **" to avoid a warning.
26 * gemblem.c (g_emblem_from_tokens):
27 * gemblemedicon.c (g_emblemed_icon_from_tokens):
28 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
31 2009-01-05 Matthias Clasen <mclasen@redhat.com>
33 Bug 566064 – Add NOATIME flag to query_info_flags
35 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
36 sniffing for mime types. Based on a patch by A. Walton
38 2009-01-05 Ryan Lortie <desrt@desrt.ca>
40 * tests/.gitignore: improve
41 * tests/Makefile.am: add new simple-async-result test
42 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
44 2009-01-05 Ryan Lortie <desrt@desrt.ca>
47 * ../docs/reference/gio/gio-sections.txt:
48 * gsimpleasyncresult.h:
49 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
50 Implementation by Dan Winship. Closes #566170.
52 2008-12-31 Matthias Clasen <mclasen@redhat.com>
57 * gunixoutputstream.c: Add a note about being UNIX-specific.
59 2008-12-15 Matthias Clasen <mclasen@redhat.com>
61 * === Released 2.19.3 ===
63 2008-12-12 Dan Winship <danw@gnome.org>
65 * pltcheck.sh: make this work on x86_64
67 2008-12-12 Ryan Lortie <desrt@desrt.ca>
69 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
72 2008-12-12 Ryan Lortie <desrt@desrt.ca>
74 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
75 multiple mount entries match the requested path
77 2008-12-10 Alexander Larsson <alexl@redhat.com>
79 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
80 g_simple_async_result_run_in_thread
82 * gsimpleasyncresult.c:
83 Make g_simple_async_result_run_in_thread check cancellation before
84 calling out to the user in the callback. This means we guarantee
85 reporting cancels of async operations from the main threads, which
86 is probably more in line with what users expect.
88 Note that there are still no such guarantees for cancelling sync
89 operations or cancelling async operation from outside the main
90 thread. Furthermore, the exact behaviour of async implementations
91 not using run_in_thread may differ.
93 2008-12-09 Alexander Larsson <alexl@redhat.com>
95 Bug 515777 - incorrect date&time on copy
98 (g_local_file_class_init):
102 Change docs about G_FILE_COPY_ALL_METADATA to not mention
105 2008-12-08 Matthias Clasen <mclasen@redhat.com>
107 Bug 558298 – Hide ecryptfs mounts
109 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
110 so that the desktop does not show both the mount and the target
111 directory. Patch by Martin Pitt
113 2008-12-08 Matthias Clasen <mclasen@redhat.com>
115 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
119 * gunixinputstream.[hc]:
120 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
121 including getters and setters. Patch by Maciej Piechotka
123 2008-12-07 Matthias Clasen <mclasen@redhat.com>
125 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
127 * tests/live-g-file.c: Support compilers that don't understand
128 ISO C varargs macros. Patch by Eric Lamarque
130 2008-12-07 Matthias Clasen <mclasen@redhat.com>
132 Bug 526320 – should not list mounts that the user doesn't have
135 gunixmounts.c: Use g_access() to check accessibility of local devices.
138 2008-12-01 Matthias Clasen <mclasen@redhat.com>
140 * === Released 2.19.2 ===
142 2008-12-01 Matthias Clasen <mclasen@redhat.com>
144 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
145 behaviour change, and update the docs instead, to avoid breaking
148 2008-12-01 Matthias Clasen <mclasen@redhat.com>
150 * === Released 2.19.1 ===
152 2008-12-01 Alexander Larsson <alexl@redhat.com>
156 * gunionvolumemonitor.c:
158 Add and document g_mount_is_shadowed plus calls
159 to set/unset a mount as shadowed
161 2008-11-28 Matthias Clasen <mclasen@redhat.com>
163 * gio/tests/g-icon.c: Comment out two failing tests
165 2008-11-28 Matthias Clasen <mclasen@redhat.com>
167 Bug 555486 – No way to recover command line from GAppInfo
170 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
171 by Hans Petter Jansson.
173 * gdesktopappinfo.c: And implement it here.
175 2008-11-28 Christian Dywan <christian@imendio.com>
177 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
179 2008-11-28 Matthias Clasen <mclasen@redhat.com>
181 Bug 559633 – gtk_image_new_from_gicon does not always work for
184 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
185 extensions on icon names. Proposed by Axel von Bertoldi.
187 2008-11-28 Matthias Clasen <mclasen@redhat.com>
189 Bug 548163 – Nautilus displays wrong error message for too long file
192 * glocalfile.c (g_local_file_set_display_name): Correctly set
193 error conditions if the new name is e.g. too long. Reported
194 by Leonardo Ferreira Fontenelle.
196 2008-11-28 Matthias Clasen <mclasen@redhat.com>
198 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
201 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
202 documented and include the line end in the returned string.
203 Pointed out by Paul Pogonyshev.
205 * tests/data-input-stream.c: Fix the read_line test to test the
206 documented behaviour.
208 2008-11-28 Matthias Clasen <mclasen@redhat.com>
210 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
211 files that have been created by g_app_info_create_from_commandline.
213 2008-11-28 Matthias Clasen <mclasen@redhat.com>
215 Bug 541715 – win32 : patch for warnings and signature problems in
218 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
221 2008-11-28 Matthias Clasen <mclasen@redhat.com>
223 Bug 562393 – g_buffered_input_stream_read_byte broken if data
226 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
227 handling of buffered content. Patch by Philip Withnall
229 * tests/buffered-input-stream.c: Add a testcase for this bug.
230 * tests/Makefile.am: And build it
232 2008-11-28 Matthias Clasen <mclasen@redhat.com>
234 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
237 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
238 '/' away. Spotted by Dan Williams.
240 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
242 Bug 561375 – Leaks mountpoint description
244 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
247 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
249 Bug 561352 – Leak of icon description
251 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
254 2008-11-14 Matthias Clasen <mclasen@redhat.com>
256 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
258 2008-11-12 Tor Lillqvist <tml@novell.com>
260 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
262 * win32/gwinhttpvfs.h: Move the set of function pointers to
263 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
264 pointer to that in the GWinHttpVfsClass.
266 * win32/gwinhttpvfs.c: Move the lookup of functions from
267 winhttp.dll into a function of its own, that stores the pointers
268 in a separate GWinHttpDllFuncs variable. Add two bookeeping
269 booleans lookup_done and funcs_found.
271 Don't call g_io_extension_point_implement() to register the
272 winhttp extension unless winhttp.dll has been successfully loaded
273 and the required functions found in it.
275 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
276 winhttp.dll correspondingly.
278 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
280 reviewed by: Alexander Larsson <alexl@redhat.com>
282 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
283 clearer about the behavior when there's no more content to read.
285 2008-10-27 Federico Mena Quintero <federico@novell.com>
287 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
289 2008-10-27 Tor Lillqvist <tml@novell.com>
291 Bug 557592 - Missing include in gwinhttpfile.c
293 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
296 2008-10-24 Matthias Clasen <mclasen@redhat.com>
298 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
300 * fam/fam-helper.c: Fix a memory leak and formatting issues.
301 Reported by Daniel Marjamäki
303 2008-10-23 Matthias Clasen <mclasen@redhat.com>
305 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
307 2008-10-23 Alexander Larsson <alexl@redhat.com>
309 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
312 (_g_local_file_info_get):
313 Don't return the fallback icon (text-x-generic) for all files.
314 This is causing problems with theme icon lookup and custom mime
315 icons, as the generic fallback overrides custom mime icons in
318 This is a slight change as applications might not get an icon wher
319 they previously did. But there is no guarantee to get on neither before
320 or after this change, so it should not break applications. Changes
321 to nautilus and gtk+ will be done to manually use the generic fallback
322 icon if no icon is found, but this is only required for rare cases.
324 2008-10-21 Alexander Larsson <alexl@redhat.com>
327 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
329 2008-10-21 Alexander Larsson <alexl@redhat.com>
331 Bug 555740 - gicon serialization
332 Based on patch from David Zeuthen
336 Add g_icon_to_string() and g_icon_new_for_string().
342 Implement icon serialization for built-in icon types
346 Added GIcon serialization test
348 2008-10-16 Matthias Clasen <mclasen@redhat.com>
350 * === Released 2.19.0 ===
352 2008-10-16 Matthias Clasen <mclasen@redhat.com>
354 Bug 556422 – g_file_enumerator_next_file: unclear whether return
355 value needs to be freed
357 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
358 the return value docs. Pointed out by Armin Burgmeier
360 2008-10-14 Matthias Clasen <mclasen@redhat.com>
362 Bug 556334 – Warning when building without selinux support
364 * glocalfileinfo.c: Avoid compiler warnings when selinux is
365 disabled. Patch by Pascal Terjan
367 2008-10-14 Matthias Clasen <mclasen@redhat.com>
369 Bug 556335 – make check fails in abicheck.sh
371 * gio.symbols: Add g_file_attribute_info_list_get_type.
372 Pointed out by Pascal Terjan.
374 2008-10-13 Alexander Larsson <alexl@redhat.com>
377 When adding an application as handling a mime type (but
378 not as the default), copy the full list of desktop ids handling
379 that type in before adding the new one on the end of the list.
380 This means we're not accidentally changing the default by overriding
381 the info from the later directories in the search path.
383 Also, fixes small leak of removed_entries.
385 2008-10-12 David Zeuthen <davidz@redhat.com>
388 * gunionvolumemonitor.c:
390 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
392 2008-10-10 Alexander Larsson <alexl@redhat.com>
394 * gfileattribute.c (escape_byte_string):
395 Upper half of byte is >> 4, not >> 8.
396 Found by Kjartan Maraas via sparse
398 2008-10-10 Matthias Clasen <mclasen@redhat.com>
400 Bug 555711 – Wrong fallback order of mimetype icons
402 * gcontenttype.c: Don't prefer generic icons over
403 default mimetype icons.
405 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
406 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
408 Patch by Krysztof Kosiński
410 2008-10-10 Matthias Clasen <mclasen@redhat.com>
412 Bug 555121 – Improved build-time handling of gio module-dir
414 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
415 * Makefile.am: Create the module dir.
417 2008-10-10 Matthias Clasen <mclasen@redhat.com>
419 * gio/glocalfileinfo.c:
420 * gio/tests/live-g-file.c:
421 * gio/gsimpleasyncresult.c: Fix gcc warnings.
423 2008-10-09 Alexander Larsson <alexl@redhat.com>
425 * gunixinputstream.c (g_unix_input_stream_read):
426 Actually return -1 in case of cancelled, not old res value.
428 2008-10-06 Colin Walters <walters@verbum.org>
430 Bug 554745 - GFileAttributeInfoList should be boxed
432 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
433 for convenience of bindings.
434 * gio/gfileattribute.h: Prototype it.
436 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
438 Bug 554970 – segfault when update-desktop-database is not available
441 * gdesktopappinfo.c (run_update_command): Have the error set before
444 2008-10-01 David Zeuthen <davidz@redhat.com>
446 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
447 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
448 instead of the gio URI (such as sftp://foo/file.avi) when using
449 g_app_info_launch() and friends. With a sufficiently recent gvfs,
450 apps using gio+gvfs will map the FUSE file:// URI back to the gio
451 URI (and thus bypass the fuse daemon) thanks the patch from bug
452 #530654. Since Nautilus is an user of g_app_info_launch() it
453 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
454 when launced via the file manager. Win. Fixes bug #528670.
456 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
457 mapping to the description of GAppInfo.
459 2008-09-30 Tor Lillqvist <tml@novell.com>
461 * tests/Makefile.am: Build desktop-app-info only on Unix.
463 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
464 g_critical(). Pass a large enough result buffer to
465 GetVolumePathNameW(). Just use MAX_PATH.
467 2008-09-29 David Zeuthen <davidz@redhat.com>
469 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
471 2008-09-26 Dan Winship <danw@gnome.org>
473 * tests/data-input-stream.c:
474 * tests/data-output-stream.c:
475 * tests/live-g-file.c:
476 * tests/memory-input-stream.c:
477 * tests/memory-output-stream.c: Use g_assert_error() and
480 2008-09-26 Matthias Clasen <mclasen@redhat.com>
482 Bug 545350 – GAppInfo deletion
483 Bug 545351 – Reset associations for content type
486 * gappinfo.[hc]: New functions g_app_info_can_delete,
487 g_app_info_delete and g_app_info_reset_type_associations.
490 * gwin32appinfo.c: Implementations of these.
493 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
495 2008-09-26 Dan Winship <danw@gnome.org>
497 Bug 505361 – gunixinputstream.c assumes poll() available
498 Bug 509446 – portable blocking gio cancellation
500 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
501 GPollFD for a cancellable (which is slightly more complicated on
504 * gunixinputstream.c (g_unix_input_stream_read):
505 * gunixoutputstream.c (g_unix_output_stream_write): Use
506 g_cancellable_make_pollfd() and g_poll() rather than using poll()
509 * tests/unix-streams.c: test of GUnixInputStream,
510 GUnixOutputStream, and GCancellable.
512 2008-09-26 Dan Winship <danw@gnome.org>
514 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
515 cast to stop a gcc warning
517 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
520 2008-09-25 Dan Winship <danw@gnome.org>
522 Bug 553426 - cancellable clarifications
524 * gcancellable.c (g_cancellable_class_init): Add a note to the
525 "cancelled" signal docs warning about thread-safety issues
526 (g_cancellable_cancel): Note that cancelling an asynchronous
527 operation takes effect asynchronously, not immediately.
529 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
531 * gioenums.h: Add new GFileCopyFlag, to leave target file with
532 default perms, instead of setting the source file perms, in a copy
535 * gfile.c (g_file_copy_attributes)
536 (build_attribute_list_for_copy)
537 (should_copy): Not copy "unix::mode" attribute if we have received
538 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
540 2008-09-20 Matthias Clasen <mclasen@redhat.com>
542 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
544 2008-09-17 Matthias Clasen <mclasen@redhat.com>
546 * === Released 2.18.1 ===
548 2008-09-16 Michael Natterer <mitch@imendio.com>
550 * gcontenttype.c (g_content_type_guess): can't assign the return
551 value of g_strdupv() to an array. Fill the array manually with
552 const strings instead (it is never freed anyway). Fixes the
553 build. Also fixed indentation.
555 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
557 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
558 Fix trivial typo to unbreak the build (there was a colon
559 instead of a semicolon at the end of a statement).
561 2008-09-15 Matthias Clasen <mclasen@redhat.com>
563 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
566 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
569 2008-09-15 Matthias Clasen <mclasen@redhat.com>
571 Bug 551681 – g_content_type_guess() too naive with filenames
573 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
574 at the end of the filename, and declare it a directory.
575 Patch by Bastien Nocera
577 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
579 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
582 * gdesktopappinfo.c: add a note in the docs clarifying what the
583 "filename" parameter really is.
585 2008-09-12 Tor Lillqvist <tml@novell.com>
587 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
588 FormatMessage() etc here. Call g_win32_error_message() instead
589 which already does all that. Besides, the code was broken as it
590 called the default "A" version of FormatMessage() but still
591 thought it produced a wide string.
593 2008-09-12 Michael Natterer <mitch@imendio.com>
595 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
596 in the documentation.
598 2008-09-08 Christian Neumair <cneumair@gnome.org>
600 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
601 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
602 Use non-blocking pipe for mount helper I/O. Fixes #550647.
604 2008-09-06 Matthias Clasen <mclasen@redhat.com>
606 Bug 551149 – xdgmime mem leak
608 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
609 a memory leak. Patch by Christian Persch
611 2008-09-04 Tor Lillqvist <tml@novell.com>
613 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
616 2008-09-02 Matthias Clasen <mclasen@redhat.com>
618 * === Released 2.18.0 ===
620 2008-09-02 Michael Natterer <mitch@imendio.com>
622 * *.h: big header formatting cleanup: indentation, vtable
623 formatting, consistent spacing in (* vfunc), trailing whitespace
624 removal. Formatting should be pretty consistent in all GIO headers
627 2008-09-02 Matthias Clasen <mclasen@redhat.com>
629 * gmount.h: Document guess_content_type sync vfunc.
631 2008-09-02 Michael Natterer <mitch@imendio.com>
633 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
634 fix parent_class member to be GFilterOutputStreamClass (not
635 GOutputStreamClass). Drop three pointers of padding, which is
636 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
637 so the class struct size stays the same.
639 2008-09-02 Matthias Clasen <mclasen@redhat.com>
641 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
643 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
644 nonexisting return values. Pointed out by Cosimo Cecchi.
646 2008-08-23 Tor Lillqvist <tml@novell.com>
648 Bug 548988 - g_file_replace fails on Windows when the target file
651 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
652 Windows, close the file before potentially renaming it (in case we
653 have been writing to a file with a temporary name).
655 (g_local_file_output_stream_close, handle_overwrite_open): Use
656 GLocalFileStat instead of plain struct stat, for passing to
657 _g_local_file_info_create_etag(). Thus also use _fstati64()
658 instead of plain fstat() on Windows.
660 2008-08-18 Matthias Clasen <mclasen@redhat.com>
662 * === Released 2.17.7 ===
664 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
666 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
669 2008-08-13 Tor Lillqvist <tml@novell.com>
671 * win32/gwinhttpvfs.c
672 * win32/gwinhttpvfs.h
673 * win32/gwinhttpfile.c
674 * win32/gwinhttpfileinputstream.c
675 * win32/gwinhttpfileoutputstream.c: Refactor some common code
676 snippets into helper functions. Check HTTP response status
677 codes. Implement g_winhttp_file_query_info(), looking at
678 Content-Length, Content-Type and Last-Modified.
680 * win32/winhttp.h: Add some symbolic constants that are not
681 publicly documented. Just a handful, so it should be OK to use
682 information from the Windows SDK's headers.
684 2008-08-13 Tor Lillqvist <tml@novell.com>
686 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
689 * win32/gwin32directorymonitor.c
690 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
692 2008-08-13 Matthias Clasen <mclasen@redhat.com>
695 * goutputstream.c: Add intro docs.
697 2008-08-13 Tor Lillqvist <tml@novell.com>
699 * win32/gwinhttpfileoutputstream.c
700 (g_winhttp_file_output_stream_write): Don't write the
701 Content-Length header ourselves, WinHttpSendRequest() takes care
702 of that when the dwTotalLength parameter is non-zero. Increment
703 offset by the number of actual bytes sent, although I wonder if
704 such a scenario is possible where less than requested would be
705 sent and accepted by the server without errors.
707 2008-08-13 Tor Lillqvist <tml@novell.com>
709 * win32/gwinhttpvfs.c
710 * win32/gwinhttpvfs.h
711 * win32/gwinhttpfile.c
712 * win32/gwinhttpfile.h
713 * win32/gwinhttpfileinputstream.c
714 * win32/gwinhttpfileinputstream.h
715 * win32/gwinhttpfileoutputstream.c
716 * win32/gwinhttpfileoutputstream.h: New files implementing
717 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
718 Windows. The implementation uses the WinHttp API. Both reading and
719 writing are supported, i.e. GET and PUT requests. When writing,
720 each write call is done using a separate PUT request with a
721 Content-Range header. Requests for file URIs and plain pathnames
722 are forwarded to GLocalVfs.
724 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
725 WINE. Used as there is no <winhttp.h> bundled with mingw, and
726 requiring people to download the Windows SDK just for this one
727 header is not reasonable.
729 * win32/Makefile.am: Add above files.
731 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
732 the plumbing for the above.
734 2008-08-11 Sven Neumann <sven@gimp.org>
736 * gfilenamecompleter.c
737 * glocaldirectorymonitor.c
739 * gunionvolumemonitor.c
743 * gunixvolumemonitor.c
746 * gwin32volumemonitor.c: use canonical signal names.
748 2008-08-11 Tor Lillqvist <tml@novell.com>
750 * Makefile.am: Put a list of the platform-dependent .la files in
751 the subdirectories in the platform_deps Make variable, and make
752 libgio-2.0.la depend on that, so that it gets relinked if one of
753 the dependent libraries has changed.
755 2008-08-11 Tor Lillqvist <tml@novell.com>
757 * Makefile.am (platform_libadd): Remove -lwininet which had been
758 added by mistake. We will probably eventually be using WinHTTP,
759 not the older WinInet anyway. (Actually I am working on it.)
761 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
763 Bug 547080 – g_file_copy leaks expected errors
765 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
766 before trying the next fallback routine.
768 2008-08-09 Loïc Minier <lool@dooz.org>
770 Bug 535124 – umask 002 not being applied for new directories, new
771 files get the correct umask
773 * gfile.c (g_file_make_directory)
774 (g_file_make_directory_with_parents): Document ownership and
775 permissions of newly created directories as being the default
778 2008-08-08 Loïc Minier <lool@dooz.org>
780 Bug 535124 – umask 002 not being applied for new directories, new
781 files get the correct umask
783 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
786 2008-08-08 Tor Lillqvist <tml@novell.com>
788 * gwin32mount.c: Remove unused code. Whitespace cleanup.
790 * gwin32volumemonitor.c (get_connected_drives): Put questionable
791 code that didn't actually do anything inside #if 0, and add a
792 comment wondering what the code was supposed to do. This also gets
793 rid of a leftover debugging printout.
795 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
797 * gfileicon.c (g_file_icon_get_property)
798 (g_file_icon_set_property): New functions.
799 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
801 (g_file_icon_new): Use the property (bug #546132).
803 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
805 * gthemedicon.c (g_themed_icon_get_property): Also handle
806 `PROP_USE_DEFAULT_FALLBACKS'.
807 (g_themed_icon_class_init): Make
808 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
810 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
812 Bug 546371 – Improve docs re g_file_monitor
814 * gfilemonitor.c: Mention g_file_monitor() in the docs.
816 2008-08-04 Matthias Clasen <mclasen@redhat.com>
818 * === Released 2.17.6 ===
820 2008-08-04 Matthias Clasen <mclasen@redhat.com>
822 * === Released 2.17.5 ===
824 2008-08-04 Matthias Clasen <mclasen@redhat.com>
826 Bug 546017 – Don't copy attributes when copying a symlink
828 * gfile.c (g_file_copy_attributes): Specify
829 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
830 g_file_set_attributes_from_info. Patch by Christian Kellner
832 2008-08-04 Matthias Clasen <mclasen@redhat.com>
834 * gemblemedicon.[hc]:
836 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
837 a bit more extensible. Work by Clemens Buss.
839 * gioenums.h: Add GEmblemOrigin.
842 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
844 Bug 546079 – leak in xdgmime
846 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
848 2008-08-03 Tor Lillqvist <tml@novell.com>
850 * win32/gwin32directorymonitor.h
851 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
854 2008-08-03 Tor Lillqvist <tml@novell.com>
856 * win32/gwin32directorymonitor.c
857 (g_win32_directory_monitor_callback): Make prototype match
858 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
859 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
862 (g_win32_directory_monitor_constructor):
863 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
864 names in the GLib API on Windows, so convert to UTF-16 and open
867 2008-08-03 Tor Lillqvist <tml@novell.com>
869 Bug 541036 - Gnumeric crashes when trying to open Desktop or
870 user's folder under Windows
872 * win32/gwin32directorymonitor.c
873 (g_win32_directory_monitor_constructor): Ignore error from
874 CreateFile() when opening directory. Instead of asserting, just
875 store INVALID_HANDLE_VALUE then in
876 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
877 ReadDirectoryChangesW().
878 (g_win32_directory_monitor_cancel): Don't attempt to close
879 directory handle if it is INVALID_HANDLE_VALUE.
881 2008-08-01 Matthias Clasen <mclasen@redhat.com>
883 * gdesktopappinfo.c: Remove debug spew
885 2008-08-01 Hans Breuer <hans@breuer.org>
887 * makefile.msc : add gemblembedicon
889 2008-07-30 Matthias Clasen <mclasen@redhat.com>
891 Bug 545457 – gdmsetup crashed with SIGSEGV in
892 g_unix_mount_guess_should_display()
894 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
895 crash if no mount is found.
897 2008-07-28 Matthias Clasen <mclasen@redhat.com>
899 Bug 545203 – gfile.c: argument is different type.
901 * gfile.c (open_read_async_thread): Pass a GError **
902 to g_file_set_error_literal.
903 Reported by Kazuki Iwamoto
905 2008-07-28 Matthias Clasen <mclasen@redhat.com>
907 Bug 545157 – wrong/no list of "open with" applications for .cc and
910 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
911 Collect all ancestors, not just direct parents. Pointed
912 out by Bastien Nocera
914 2008-07-28 Matthias Clasen <mclasen@redhat.com>
916 * Makefile.am: Install gemblemedicon.h
918 2008-07-28 Matthias Clasen <mclasen@redhat.com>
920 * gemblemedicon.[hc]: Add a GIcon implementation that can
921 add an emblem to another icon.
928 * gfileicon.c: Small documentation additions.
930 2008-07-28 Tor Lillqvist <tml@novell.com>
932 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
935 2008-07-27 Tor Lillqvist <tml@novell.com>
937 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
939 2008-07-24 David Zeuthen <davidz@redhat.com>
943 Also export a g_mount_guess_content_type_sync() function.
945 2008-07-23 Matthias Clasen <mclasen@redhat.com>
947 529694 – SELinux context setting support
949 * gfileinfo.c: Support setting selinux attributes.
950 Patch by Tomas Bzatek
952 2008-07-22 Priit Laes <plaes@plaes.org>
954 Bug 544140 - fam-helper 64-bit issue?
956 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
958 2008-07-21 Matthias Clasen <mclasen@redhat.com>
960 * === Released 2.17.4 ===
962 2008-07-20 Matthias Clasen <mclasen@redhat.com>
964 * gvolumemonitor.[hc]:
969 * gmount.c: Documentation fixes
971 2008-07-19 Matthias Clasen <mclasen@redhat.com>
973 543504 – crash in Epiphany Web Browser: Opening local file
984 * gvolume.c: Register types thread-safely.
985 Patch by Christian Persch
987 2008-07-18 Matthias Clasen <mclasen@redhat.com>
989 * gcontenttype.c: Remove debug spew
991 2008-07-18 Matthias Clasen <mclasen@redhat.com>
993 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
996 * fen/fen-kernel.c: Remove a warning that was causing
997 crashes. Reported by Lin Ma.
999 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1001 Bug 543040 – async reading on dummy file will crash on
1004 * gfile.c (open_read_async_thread): Cope with read_fn being
1005 NULL. Reported by Lin Ma.
1007 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1010 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1012 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1015 * gdesktopappinfo.h:
1016 * giomodule.c: Rename a chapter id to avoid filename conflict.
1018 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1020 Bug 540616 – mem leak in filechooser button
1022 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1023 the mount entry. Reported by Chrisitan Persch
1025 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1027 * gfile.c: Small documentation fixes.
1029 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1031 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1033 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1038 * gmount.c: Documentation improvements.
1040 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1043 * gmount.[hc]: Add g_mount_guess_content_type().
1045 2008-07-06 David Zeuthen <davidz@redhat.com>
1048 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1049 is needed for easily handling adoption of foreign volumes by
1050 out-of-process volume monitors (#541793)
1052 2008-07-06 David Zeuthen <davidz@redhat.com>
1054 * gvolumemonitor.[ch]:
1055 * gunionvolumemonitor.c: Export the eject-button signal on the
1056 volume monitor class (#541794).
1058 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1060 * gappinfo.c: More doc tweaks
1062 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1064 * gappinfo.c: Clarify some docs
1066 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1068 * gdesktopappinfo.c: Fix a stupid mistake.
1070 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1072 * === Released 2.17.3 ===
1074 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1076 * gfilemonitor.c: Fix the build.
1078 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1080 Bug 536160 – Add g_file_monitor()
1083 * gfile.[hc]: Add g_file_monitor which can return either
1084 a file or a directory monitor. Proposed by Behdad Esfahbod
1086 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1088 536733 – gio build failure on Irix
1090 * glocalfile.c: Use a configure check for structfs.f_bavail.
1092 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1094 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1097 * gdesktopappinfo.[hc]: Add a function to create a
1098 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1100 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1102 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1104 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1106 * gunixmounts.c: Fix a doc typo.
1108 2008-07-01 Cody Russell <bratsche@gnome.org>
1110 * gio/gcontenttype.c:
1111 * gio/gwin32appinfo.c:
1112 * gio/gwin32volumemonitor.c:
1113 * gio/gwin32mount.c: Fixed some include problems.
1115 2008-07-01 Cody Russell <bratsche@gnome.org>
1119 Moved all relevant typedefs into these files.
1122 Updated wrt added files.
1124 Split types into separate file for easier maintainership. (#538564)
1126 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1128 Bug 540331 – g_file_append_to () documentation: can return NULL
1130 * gfile.c (g_file_append_to): Clarify docs.
1131 Patch by Jared Moore
1133 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1135 Bug 539090 – g_content_type_from_mime_type() should unalias
1137 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1138 Patch by Markus Bergman
1140 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1142 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1143 g_atomic_pointer_get
1145 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1146 on ppc and alpha. Reported by Mart Raudsepp
1148 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1150 * tests/Makefile.am:
1151 * tests/memory-output-stream.c: Add some tests for
1152 GMemoryOutputStream.
1154 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1156 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1159 * gmemoryoutputstream.c (array_resize): Handle truncation to
1160 zero correctly. Reported by Akira Tagoh
1162 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1164 * gmemoryoutputstream.c: Trivial doc fixes
1166 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1168 Bug 540802 – g_list_prepend doesn't concat lists
1170 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1171 one list to another. Pointed out by Jan Arne Petersen
1173 2008-06-28 Michael Natterer <mitch@imendio.com>
1175 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1177 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1179 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1180 to avoid problems with partial icon themes.
1182 2008-06-17 Hans Breuer <hans@breuer.org>
1184 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1185 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1186 access again on win32, see bug #538127
1187 * giomodule.c : ensure GWin32VolumeMonitor is registered
1188 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1189 * Makefile.am makefile.msc : updated
1191 2008-06-16 Hans Breuer <hans@breuer.org>
1193 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1194 and initialization in one step avoids c99ism
1196 2008-06-16 Christian Persch <chpe@gnome.org>
1199 * gio/gbufferedinputstream.c
1200 * gio/gcancellable.c
1201 * gio/gdatainputstream.c
1202 * gio/gdesktopappinfo.c
1204 * gio/gfileenumerator.c
1205 * gio/gfileinputstream.c
1206 * gio/gfileoutputstream.c
1207 * gio/ginputstream.c
1208 * gio/glocaldirectorymonitor.c
1210 * gio/glocalfileenumerator.c
1211 * gio/glocalfileinfo.c
1212 * gio/glocalfilemonitor.c
1213 * gio/glocalfileoutputstream.c
1214 * gio/gmemoryinputstream.c
1215 * gio/gmemoryoutputstream.c
1216 * gio/goutputstream.c
1217 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1220 2008-06-16 Tor Lillqvist <tml@novell.com>
1222 Bug 538362 - Get Win32 icons back in the file chooser
1224 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1225 corresponding to a file extension in the Registry. Patch by Hans
1227 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1229 2008-06-16 Tor Lillqvist <tml@novell.com>
1231 Patches by Hans Breuer:
1233 * glocalfile.c (is_xp_or_later): Handle compiling against older
1234 SDK headers with missing VerifyVersionInfo(). Conditioned on
1235 _MSC_VER, but should probably use some better test.
1236 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1237 uninitialised statfs_result variable on Win32.
1239 2008-06-16 Michael Natterer <mitch@imendio.com>
1241 * *.c: chain up unconditionally in finalize() and dispose(). Also
1242 don't dereference these function pointers when calling them since
1243 that has no meaning at all.
1245 2008-06-16 Ross Burton <ross@burtonini.com>
1247 * gfileenumerator.c:
1248 Remove check for dispose implementation as it annoys Emmanuele.
1250 2008-06-16 Ross Burton <ross@burtonini.com>
1252 Bug 536252 – GFileEnumerator should allow access to the containing
1255 * gfileenumerator.c:
1256 * gfileenumerator.h:
1258 Add g_file_enumerator_get_container() and a container writeable
1259 construct-only property. Also shuffle around typedefs to make it
1262 * glocalfileenumerator.c:
1263 * glocalfileenumerator.h:
1265 Instead of a string filename take a GFile in the constructor and
1266 use it to set the container property.
1269 Update with new API.
1271 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1273 * gfile.c: Make includes more uniform
1275 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1277 * tests/live-g-file.c (sample_struct):
1278 Use less fancy unicode filenames, so the test doesn't fail
1279 on Mac OS X (#531476).
1281 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1283 * === Released 2.17.2 ===
1285 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1287 * === Released 2.17.1 ===
1289 2008-06-11 A. Walton <awalton@gnome.org>
1291 * tests/g-file.c (test_g_file_new_null):
1292 Fix broken test case.
1294 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1296 * pltcheck.sh: We use g_clear_error now.
1298 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1300 * glocalfile.c (g_local_file_enumerate_children): Revert
1301 an unintended change.
1303 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1305 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1307 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1309 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1312 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1313 as icon for the desktop directory, also make user-home and
1314 user-desktop the preferred icons.
1316 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1319 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1320 to add a name to the front of the list.
1322 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1324 Bug 537392 – Additional colon in xattr name
1326 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1327 too. Reported by Alessandro Morandi
1329 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1331 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1334 * glocalfile.c (get_fs_type): Add afs and autofs.
1335 Patch by Danny Baumann.
1337 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1339 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1341 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1342 is no parent. (Owen Taylor, patch by Christian Neumair)
1344 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1346 * gfile.c (g_file_replace_contents): do not leak the output stream.
1348 2008-06-10 Michael Natterer <mitch@imendio.com>
1350 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1351 uninitialized memory as array index.
1353 2008-06-10 Tor Lillqvist <tml@novell.com>
1355 * gcontenttype.c (g_content_type_can_be_executable)
1356 (g_content_type_get_icon) [Win32]: Add TODO comments.
1358 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1360 * xdgmime/Makefile.am: Fix the build
1362 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1364 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1365 in the shared mime database, if available.
1367 * xdgmime/*: Sync with upstream. This brings support for
1368 glob weights, generic icons, and changes the cache format to
1371 2008-05-28 Michael Natterer <mitch@imendio.com>
1373 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1374 the global CPPFLAGS now.
1376 * tests/data-input-stream.c
1377 * tests/data-output-stream.c
1378 * tests/g-file-info.c
1380 * tests/live-g-file.c
1381 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1383 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1385 * === Released 2.17.0 ===
1387 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1388 doesn't complain about leftover files.
1390 2008-05-27 simon.zheng <simon.zheng@sun.com>
1392 * glocalfile.c: (g_local_file_query_filesystem_info):
1393 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1395 2008-05-26 Michael Natterer <mitch@imendio.com>
1397 * gmemoryoutputstream.h: declare
1398 g_memory_output_stream_get_data_size().
1400 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1402 * tests/*: Make tests work
1404 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1406 * gio.symbols: Add g_memory_output_stream_get_data_size.
1408 2008-05-25 Ross Burton <ross@burtonini.com>
1411 Fix typo in error message (#534764).
1413 2008-05-25 Ross Burton <ross@burtonini.com>
1416 Fix circular dependency loop for gioenumtypes.h (#534759).
1418 2008-05-19 Hans Breuer <hans@breuer.org>
1420 * Makefile.am : EXTRA_DIST += makefile.msc
1422 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1425 * gcontenttype.c: (g_content_type_from_mime_type):
1426 New function to create a content type from a mime type. (#527175,
1429 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1431 Bug 532965 – Should not return filesystem::free for certain file systems
1433 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1434 free space for ncpfs.
1436 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1438 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1440 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1441 st_dev might be zero.
1443 2008-05-16 Tor Lillqvist <tml@novell.com>
1445 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1446 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1448 2008-05-13 Bastien Nocera <hadess@hadess.net>
1450 * gfile.c (has_valid_scheme): A URI scheme must start with a
1451 letter, even if later more characters are allowed (#532852)
1453 2008-05-05 Michael Natterer <mitch@imendio.com>
1455 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1456 code from being checked in that breaks the build of applications
1457 which use G_DISABLE_SINGLE_INCLUDES.
1459 * makegioalias.pl: make the alias file include "glib.h" instead of
1462 * gio.symbols: whitespace change to force regeneration of the
1463 alias file after above script change.
1465 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1467 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1469 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1471 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1473 2008-04-28 David Zeuthen <davidz@redhat.com>
1475 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1476 displaying mounts in a subdirectory not accessible to the
1479 2008-04-22 Michael Natterer <mitch@imendio.com>
1481 * Makefile.am: fix library versioning (it was 0.0.0).
1483 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1485 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1486 Default disable all loggings.
1487 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1488 (port_fetch_event_cb): Fixed two macro nits.
1490 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1492 * xdgmime/xdgmime.c: Rework the timestamp checking code
1493 to protect against duplicate directories in XDG_DATA_DIRS.
1494 Fixes fd.o bug 12513, reported by Joe Shaw.
1496 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1498 Partically revert the last commit after realizing that
1499 xdg_mime_media_type_equal doesn't have to init at all.
1501 * xdgmime/xdgmime.h:
1502 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1504 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1506 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1508 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1509 reported by Joe Shaw and Federico Mena Quintero.
1511 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1512 (xdg_mime_media_type_equal): Turn into a wrapper around the
1515 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1516 functions throughout.
1518 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1520 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1521 tolerate an empty TryExec= line without failing; nautilus used
1522 to create launchers with these in previous versions. Fixes #528433
1524 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1526 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1527 after name. Fixes #527132.
1529 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1531 * gfile.c: (g_file_replace):
1534 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1536 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1538 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1539 by Christian Kellner.
1541 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1543 * gunixmounts.c: (g_unix_mount_guess_should_display):
1544 Don't list the user directory as a mount, fix potential issue
1545 when other users have a similar naming and don't special case the
1546 gvfs mounts there since that's not required (#525866)
1548 2008-03-31 Alexander Larsson <alexl@redhat.com>
1550 * glocalfile.c (get_parent):
1553 2008-03-31 A. Walton <awalton@svn.gnome.org>
1555 * gfile.c (g_file_query_file_type):
1556 Always return a GFileType enum value (#520715).
1558 2008-03-31 Alexander Larsson <alexl@redhat.com>
1560 * glocalfileenumerator.c:
1561 Read readdir() info in chunks (of 1000) and sort
1562 the chunks by inode before stat:ing.
1563 This is a 20% performance increase in testing
1564 gvfs-ls on /usr/bin with cold cache.
1566 2008-03-31 Alexander Larsson <alexl@redhat.com>
1568 * gmemoryoutputstream.c:
1569 Clarify docs for g_memory_output_stream_get_size.
1570 Add g_memory_output_stream_get_data_size.
1572 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1576 * gfile.h: Add g_file_query_file_type convenience function
1577 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1579 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1581 * gfileenumerator.c:
1582 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1584 2008-03-28 A. Walton <awalton@svn.gnome.org>
1586 * giomodule.c (_g_io_modules_ensure_loaded):
1587 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1590 2008-03-28 Alexander Larsson <alexl@redhat.com>
1593 (copy_stream_with_progress):
1596 2008-03-28 Alexander Larsson <alexl@redhat.com>
1599 (copy_stream_with_progress):
1600 (file_copy_fallback):
1601 Fallback to g_file_query_info for source size
1602 if g_file_input_stream_query_info fails. (#524579)
1604 2008-03-28 Alexander Larsson <alexl@redhat.com>
1606 * glocalfile.c (g_local_file_move):
1607 Reuse old string instead of adding new one.
1609 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1611 * fen/*.[hc]: still copyright issue. I hate copyright.
1613 2008-03-27 Alexander Larsson <alexl@redhat.com>
1615 * glocalfile.c (g_local_file_move):
1616 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1617 file over directory. This is according to the docs and what the move via
1618 copy+remove fallback does.
1620 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1622 * fen/*.[hc]: Updated copyright.
1624 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1626 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1628 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1630 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1631 not emit attribute changed events when optimizing changed events.
1632 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1635 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1637 * gmountoperation.[hc]: Small documentation additions
1639 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1641 * gunixmounts.c: (guess_mount_type):
1642 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1644 2008-03-19 Alexander Larsson <alexl@redhat.com>
1647 (copy_stream_with_progress):
1648 Bump block side for copy to 64k to minimize
1649 overhead for low latency links. (#523015)
1651 2008-03-16 Tor Lillqvist <tml@novell.com>
1653 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1654 depend on gio.def on Windows.
1656 2008-03-12 David Zeuthen <davidz@redhat.com>
1660 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1662 2008-03-14 Alexander Larsson <alexl@redhat.com>
1666 Avoid redudant tests (#521851)
1667 Patch from Josselin Mouette
1669 2008-03-14 Alexander Larsson <alexl@redhat.com>
1672 (g_file_monitor_is_cancelled):
1673 Fix C89 issue (#521672)
1674 Patch from Jens Granseuer
1676 2008-03-14 Alexander Larsson <alexl@redhat.com>
1678 * fam/fam-helper.[ch]:
1680 Shut down fam (including removing fam GSource) when
1681 module is unloaded (#521513)
1682 Patch from Joe Marcus Clarke
1684 2008-03-14 Alexander Larsson <alexl@redhat.com>
1687 (_g_io_modules_ensure_loaded):
1690 2008-03-14 Alexander Larsson <alexl@redhat.com>
1693 (g_local_file_query_filesystem_info):
1694 Use right define name for f_fstypename member check
1696 2008-03-14 Alexander Larsson <alexl@redhat.com>
1699 * fen/Makefile.am: Added.
1700 * fen/fen-data.[ch]: Added.
1701 * fen/fen-dump.[ch]: Added.
1702 * fen/fen-helper.[ch]: Added.
1703 * fen/fen-kernel.[ch]: Added.
1704 * fen/fen-missing.[ch]: Added.
1705 * fen/fen-node.[ch]: Added.
1706 * fen/fen-sub.[ch]: Added.
1707 * fen/gfendirectorymonitor.[ch]: Added.
1708 * fen/gfenfilemonitor.[ch]: Added.
1710 Added Solaris FEN file notification backend.
1711 Patch from Lin Ma <Lin.Ma@Sun.COM>
1713 2008-03-13 Tor Lillqvist <tml@novell.com>
1715 * Makefile.am: Actually use the gio.def file when linking the
1716 library on Windows. Produce .lib library for Microsoft's toolchain
1717 when possible. Install the .lib and .def file like for the other
1720 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1722 * tests/live-g-file.c:
1723 Include live-g-file in standard set of tests, making a temporary
1724 directory in source structure.
1726 Clean target directory before the tests (write mode only)
1728 2008-03-12 Tor Lillqvist <tml@novell.com>
1730 Bug 517419 - gio win32 directory monitor
1731 Implementation by Vlad Grecescu.
1734 * win32/gwin32directorymonitor.h
1735 * win32/gwin32directorymonitor.c: New files.
1737 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1739 * Makefile.am: Add the win32 subdirectory.
1741 2008-03-12 Tor Lillqvist <tml@novell.com>
1743 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1744 normal struct stat on Unix but struct _stati64 on Windows to have
1745 access to 64-bit file size information. Use that instead of struct
1746 stat in the functions declared here in this private header.
1748 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1749 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1750 warnings about unused functions and variables. Don't set
1751 meaningless attributes like inode numbers on Windows.
1753 2008-03-12 Benjamin Otte <otte@gnome.org>
1756 trim whitespace so gtk-doc groks the function name
1758 2008-03-12 Tor Lillqvist <tml@novell.com>
1760 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1761 returning FALSE, on Win32.
1763 2008-03-11 Alexander Larsson <alexl@redhat.com>
1766 * glocalfileinfo.[ch]:
1767 Correctly implement can_trash by actually
1768 looking for a trash dir, not just assuming
1771 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1773 * === Released 2.16.1 ===
1775 2008-03-11 Alexander Larsson <alexl@redhat.com>
1778 Fix crashes in new constructor and properties code
1780 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1782 * gfile.c: Minor spelling correction in documentation:
1783 existance -> existence.
1785 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1787 * === Released 2.16.0 ===
1789 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1791 * gio.symbols: Remove g_file_contains_file here, too.
1793 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1795 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1796 Samuel Cormier-Iijima)
1798 2008-03-08 Tor Lillqvist <tml@novell.com>
1800 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1803 2008-03-07 Alexander Larsson <alexl@redhat.com>
1806 (g_local_file_query_filesystem_info):
1807 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1808 Patch from Jasper Lievisse Adriaanse
1810 2008-03-06 Tor Lillqvist <tml@novell.com>
1812 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1813 comments for the *_USEC attributes.
1815 2008-03-06 Alexander Larsson <alexl@redhat.com>
1817 * gfile.c (g_file_query_exists):
1818 Add g_return_val_if_fail check (#520700)
1820 2008-03-06 Alexander Larsson <alexl@redhat.com>
1822 * gdesktopappinfo.c:
1825 * gunionvolumemonitor.c:
1828 * tests/live-g-file.c:
1829 * xdgmime/xdgmimecache.c:
1830 Fix sparse warnings (#519489)
1832 2008-03-05 Alexander Larsson <alexl@redhat.com>
1835 Make cancellation threadsafe (i.e.
1836 guarantee its only done once, and always
1839 * glocaldirectorymonitor.c:
1840 Make sure we the monitor lives while the
1841 mounts_changed callback is being called (#520484)
1843 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1845 * gbufferedinputstream.c: Fix typo in parameter
1848 2008-03-04 Alexander Larsson <alexl@redhat.com>
1851 Remove deprecated symbols we kept for one release.
1853 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1856 * goutputstream.c: Tiny documentation corrections.
1858 2008-03-03 Alexander Larsson <alexl@redhat.com>
1860 * gunionvolumemonitor.c:
1862 Fix the adopt_orphan_mount vfunc to take a
1863 volume_monitor reference in an ABI compat way.
1864 This change is not API compat, but the added
1865 arg is not used in the only user of this vfunc, so
1866 all we get is a harmless warning in gvfs (#520169)
1868 2008-03-01 Benjamin Otte <otte@gnome.org>
1871 clarify docs for g_file_delete().
1873 2008-02-29 Alexander Larsson <alexl@redhat.com>
1877 Make sure empty files get text/plain type (#518720)
1879 2008-02-27 Alexander Larsson <alexl@redhat.com>
1885 (g_unix_volume_mount):
1886 Add missing GMountMountFlags argument
1888 2008-02-26 Alexander Larsson <alexl@redhat.com>
1891 (g_local_file_delete):
1892 Handle filesystems (like ntfs-3g) that return EEXIST instead
1893 of ENOTEMPTY (#518816)
1895 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1897 * === Released 2.15.6 ===
1899 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1901 * gfile.c (g_file_find_enclosing_mount):
1902 * ginputstream.c (g_input_stream_set_pending):
1903 * glocalfile.c (g_local_file_find_enclosing_mount):
1904 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1905 * goutputstream.c (g_output_stream_set_pending):
1907 Fixup translator comments (#518578).
1909 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1911 * gfile.c (g_file_find_enclosing_mount):
1913 * glocalfile.c (g_local_file_find_enclosing_mount):
1916 Fix a few typos in translator comments and documentation.
1918 2008-02-25 Alexander Larsson <alexl@redhat.com>
1925 Add translator comments (#518578)
1927 2008-02-25 Alexander Larsson <alexl@redhat.com>
1930 Reintroduce g_file_contains_file, keep around for one
1931 unstable release cycle to avoid crashing to many apps.
1932 Make sure to delete after release.
1934 2008-02-25 Alexander Larsson <alexl@redhat.com>
1937 Remove deprecated g_file_contains_file.
1939 2008-02-25 Alexander Larsson <alexl@redhat.com>
1942 Emit actual change signals in an idle handler.
1943 This avoids reentrance and locking problems in
1944 the file notification backends.
1946 2008-02-25 Alexander Larsson <alexl@redhat.com>
1949 (g_unix_mount_guess_should_display):
1950 Remove type guessing, instead just display
1951 mounts in /media and in ~/.
1953 2008-02-25 Alexander Larsson <alexl@redhat.com>
1956 Make new strings reuse old ones.
1958 2008-02-25 Alexander Larsson <alexl@redhat.com>
1961 Implement trashing and filesystem::readonly for win32 (#517235)
1962 Patch from Yevgen Muntyan
1964 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1966 * gfileinfo.h: Documentation fixes.
1968 2008-02-22 Alexander Larsson <alexl@redhat.com>
1970 * gcontenttype.c (g_content_type_get_icon):
1971 Look at old-style gnome mime icon names too, as many
1972 have not moved to the new style.
1974 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1976 * *.c: Correct the @include in for section docs.
1978 2008-02-21 David Zeuthen <davidz@redhat.com>
1980 * glocalfileinfo.c: (_g_local_file_info_get):
1982 (g_content_type_get_icon): Implement this function by
1983 moving bits from glocalfileinfo.c
1984 (g_content_type_get_description): Unalias before getting
1985 description (#517687)
1987 * gfile.c: (g_file_class_init),
1988 (g_file_query_filesystem_info_async),
1989 (g_file_query_filesystem_info_finish),
1990 (query_filesystem_info_data_free),
1991 (query_filesystem_info_async_thread),
1992 (g_file_real_query_filesystem_info_async),
1993 (g_file_real_query_filesystem_info_finish):
1994 * gfile.h: Implement async version of
1995 g_file_query_filesystem_info()
1997 * gfileinfo.h: Add new attributes for filesystem::use-preview
1999 * gio.symbols: Update
2001 * gthemedicon.c: (g_themed_icon_append_name):
2002 * gthemedicon.h: Add new new convenience function.
2004 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2005 (get_mounts), (get_volumes), (get_connected_drives),
2006 (get_volume_for_uuid), (get_mount_for_uuid),
2007 (g_union_volume_monitor_init), (populate_union_monitor),
2008 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2009 (g_volume_monitor_adopt_orphan_mount):
2011 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2012 monitor implementations to call into the main volume monitor. Also
2013 separate object initialization and volume monitor initialization
2014 such that non-native volume monitors can properly adopt their
2017 2008-02-21 Alexander Larsson <alexl@redhat.com>
2022 2008-02-21 Alexander Larsson <alexl@redhat.com>
2025 Add more documentation about how GFiles work (from #517086)
2027 2008-02-21 Alexander Larsson <alexl@redhat.com>
2031 Add new g_file_has_prefix that does the same as g_file_contains_file.
2032 Deprecate g_file_contains_file and add a macro that converts
2033 it to g_file_has_prefix.
2034 The reason for this change is that the contains_file() name seems to
2035 imply that this does more work than what it does, but its really only
2036 a name match (from #517086)
2041 Update to match the above change.
2043 2008-02-20 Benjamin Otte <otte@gnome.org>
2045 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2046 (g_file_eject_mountable):
2047 even more cases of not returning in error path
2049 2008-02-20 Benjamin Otte <otte@gnome.org>
2051 * gfile.c: (g_file_mount_mountable):
2052 return from function in error path.
2054 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2057 Remove trailing coma in GMountMountFlags struct
2059 2008-02-18 Alexander Larsson <alexl@redhat.com>
2063 * glocalfileoutputstream.c:
2064 Use g_unlink/g_rename instead of unlink/rename;
2065 do not pass raw filenames to g_set_error. (#517239)
2066 Patch from Yevgen Muntyan.
2068 2008-02-18 Alexander Larsson <alexl@redhat.com>
2071 * glocalfileoutputstream.c:
2072 Open files with O_BINARY on windows. (#517140)
2074 2008-02-14 Alexander Larsson <alexl@redhat.com>
2076 * glocalfileoutputstream.c:
2077 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2079 2008-02-14 Alexander Larsson <alexl@redhat.com>
2082 Copy permissions with file on copy (#514084)
2083 This is what cp does and makes sure e.g. the
2084 exec permissions are kept.
2085 Its kinda weird in that it keeps the permission bits
2086 the same while the uid and gid are different. However
2087 the new uid is the user so its not a security issue,
2088 and I've heard no complaints about cp on this issue.
2090 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2092 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2094 2008-02-13 Alexander Larsson <alexl@redhat.com>
2096 * inotify/inotify-path.c:
2097 Define IN_ONLYDIR if not in header (#515346)
2099 2008-02-12 Alexander Larsson <alexl@redhat.com>
2101 * tests/live-g-file.c:
2104 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2106 * === Released 2.15.5 ===
2108 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2110 * gio.symbols: Add g_mount_mount_flags_get_type.
2112 2008-02-11 Alexander Larsson <alexl@redhat.com>
2115 (g_file_info_set_attribute_mask):
2116 (g_file_attribute_matcher_matches_id):
2117 Correctly handle NULL GAttributeMatcher meaning
2118 matches nothing. (Fixes #513492)
2120 2008-02-11 Alexander Larsson <alexl@redhat.com>
2125 Added GMountMountFlags enum and added a flags
2126 argument to all mount calls.
2128 This is an API/ABI change for future extensibility,
2129 as I think we will need at least an
2130 inhibit-autorun flag (the panel needs this).
2131 There are no flags defined yet though.
2133 2008-02-11 Alexander Larsson <alexl@redhat.com>
2136 Added new standard::description attribute.
2137 Requested by Vincent, and useful for both
2140 2008-02-11 Alexander Larsson <alexl@redhat.com>
2142 * gdesktopappinfo.c:
2145 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2147 * *.c: Documentation additions
2149 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2151 * gappinfo.h: Formatting cleanup
2152 * gappinfo.c: Fix up docs.
2154 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2156 * gunixmounts.c: Consistently use getmntent_r() and fall
2157 back to getmntent(). (#515492)
2159 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2161 * gbufferedinputstream.c:
2163 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2165 * tests/data-input-stream.c:
2166 * tests/data-output-stream.c: Portability fixes.
2168 2008-02-08 Alexander Larsson <alexl@redhat.com>
2173 Add g_volume_should_automount.
2176 2008-02-07 Tor Lillqvist <tml@novell.com>
2178 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2179 Win32, too Unix-specific.
2181 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2183 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2184 a local plt if the compiler doesn't support what we want. Bug #514702
2186 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2188 reviewed by: <delete if not using a buddy>
2191 * gunixinputstream.c:
2192 * gunixoutputstream.c:
2194 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2196 * tests/Makefile.am:
2197 * tests/live-g-file.c:
2198 * tests/live-g-file.txt:
2199 New GIO testing module working over real data
2201 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2203 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2204 Fallback to rename() if link() is not available
2205 (when no support on target filesystem)
2207 2008-02-06 Michael Natterer <mitch@imendio.com>
2209 * gfileinfo.c (g_file_info_get_icon): replace
2210 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2212 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2214 * gfile.c (g_file_create):
2215 Documentation update of error codes
2217 2008-02-06 Alexander Larsson <alexl@redhat.com>
2219 * gdesktopappinfo.c:
2220 Update to use both mimeapps.list and
2221 defaults.list as discussed on xdg list.
2223 2008-02-06 Benjamin Otte <otte@gnome.org>
2226 * gfilenamecompleter.c:
2227 Fix some typos in the documentation.
2229 2008-02-06 Alexander Larsson <alexl@redhat.com>
2231 * glocalfile.c (g_local_file_trash):
2232 Don't succeed with trash if newly created
2233 trash dir has the wrong owner. (#514696)
2235 2008-02-05 Alexander Larsson <alexl@redhat.com>
2237 * glocalfile.c (g_local_file_move):
2238 Don't spew warnings when destination is not
2241 2008-02-03 Hans Breuer <hans@breuer.org>
2243 * makefile.msc : update
2245 2008-02-01 Michael Natterer <mitch@imendio.com>
2247 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2248 return value of xdg_mime_list_mime_parents() to a variable of the
2251 2008-02-01 Alexander Larsson <alexl@redhat.com>
2253 * gappinfo.c (g_app_info_launch_uris):
2254 Actually call the launch_uris method, not
2257 2008-02-01 Alexander Larsson <alexl@redhat.com>
2259 * gdesktopappinfo.c (g_desktop_app_info_equal):
2260 Ensure appinfos with no id but same pointer value
2263 2008-02-01 Alexander Larsson <alexl@redhat.com>
2265 * gappinfo.c (g_app_info_launch_default_for_uri):
2268 2008-02-01 Alexander Larsson <alexl@redhat.com>
2272 Add g_app_info_launch_default_for_uri utility
2275 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2277 * gdesktopappinfo.c:
2278 Doc fix for g_app_info_get_default_for_uri_scheme ()
2281 2008-01-30 Alexander Larsson <alexl@redhat.com>
2284 Add doc comment about uris vs GFiles to
2287 * gdesktopappinfo.c:
2288 Ensure uris passed to g_app_info_launch_uris()
2289 are not roundtriped through GFile (as that
2290 may be slightly destructive for e.g. mailto: links)
2292 2008-01-30 Alexander Larsson <alexl@redhat.com>
2294 * tests/data-input-stream.c:
2295 * tests/data-output-stream.c:
2296 C89 fixes from Jens Granseuer (#512849)
2298 2008-01-30 Alexander Larsson <alexl@redhat.com>
2301 Fix gamin/fam difference build issue. (#509419)
2303 2008-01-29 Alexander Larsson <alexl@redhat.com>
2306 * gdesktopappinfo.c:
2307 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2309 2008-01-29 Alexander Larsson <alexl@redhat.com>
2311 * gdesktopappinfo.c:
2312 * gdesktopappinfo.h:
2313 giomodule-priv.h include moved to .c file.
2315 2008-01-29 Alexander Larsson <alexl@redhat.com>
2317 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2318 Remove unused prio/name fields.
2320 2008-01-29 Alexander Larsson <alexl@redhat.com>
2322 * gcontenttype.c (looks_like_text):
2323 Don't treat whitespace as control chars.
2325 2008-01-29 Alexander Larsson <alexl@redhat.com>
2327 * gdesktopappinfo.c:
2328 Lazily create the desktop files for appinfos created
2329 by g_app_info_create_from_commandline() when needed
2330 for mime associations. This allows run-time use
2331 of GAppInfo object without creating unnecessary
2334 2008-01-29 Alexander Larsson <alexl@redhat.com>
2337 Added new symbols to gio.symbols
2339 2008-01-29 Alexander Larsson <alexl@redhat.com>
2342 Add g_file_query_default_handler utility to easily look up
2343 the GAppInfo that handles a file.
2345 * gdesktopappinfo.[ch]:
2347 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2350 Remove unused function
2352 2008-01-29 Alexander Larsson <alexl@redhat.com>
2354 * gfileenumerator.c:
2355 Mention need to free returned value in
2356 g_file_enumerator_next_files_finish docs.
2357 Fix leak if g_file_enumerator_next_files_finish()
2360 2008-01-29 Alexander Larsson <alexl@redhat.com>
2363 (_g_unix_content_type_get_parents):
2364 Use list_parents, not get_parents from xdgmime, because
2365 the later doesn't use the cache.
2367 * xdgmime/xdgmimecache.c:
2368 (_xdg_mime_cache_list_mime_parents):
2369 Don't list the same type as parent multiple times.
2371 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2373 * === Released 2.15.4 ===
2375 2008-01-28 Alexander Larsson <alexl@redhat.com>
2378 Register local vfs with prio 0.
2381 Remove old name and prio class members
2383 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2385 * tests/g-file.c: Disable some tests that are failing in
2386 the absence of a http backend.
2388 2008-01-28 Alexander Larsson <alexl@redhat.com>
2392 Add registration hooks for extension points.
2393 Register the gio extension points.
2395 * fam/gfamdirectorymonitor.c:
2396 * fam/gfamfilemonitor.c:
2397 * glocaldirectorymonitor.[ch]:
2398 * glocalfilemonitor.[ch]:
2399 * gnativevolumemonitor.h:
2400 * gunionvolumemonitor.c:
2401 * gunixvolumemonitor.c:
2404 * inotify/ginotifydirectorymonitor.c:
2405 * inotify/ginotifyfilemonitor.c:
2406 Use the extension points registration instead
2407 of g_type_children().
2409 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2412 * gvolume.[hc]: Document new API.
2414 * gfile.c (g_file_copy_async): Fix docs
2416 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2418 * gbufferedinputstream.c:
2420 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2423 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2425 * glocalfile.c: Avoid trivial differences in translatable strings.
2427 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2429 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2430 build with gcc 3.4 (#509419)
2432 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2434 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2435 (#509994, Murray Cumming)
2437 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2439 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2440 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2441 this allows big jobs to be executed in chunks, instead of blocking
2442 the main loop for a long time.
2444 * gsimpleasyncresult.c:
2445 * giofile.c: Adapt callers.
2447 2008-01-25 Alexander Larsson <alexl@redhat.com>
2449 * gdesktopappinfo.c:
2450 Implement changes discussed on xdg list.
2451 Now we can add supported mimetypes by just using defaults.list
2452 We can also remove associations in defaults.list.
2454 2008-01-25 Alexander Larsson <alexl@redhat.com>
2456 * gdesktopappinfo.c:
2457 Don't make local copy of desktop file
2458 for mimetype changes if the file already
2459 supports the new mimetype.
2461 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2465 * gbufferedinputstream.c:
2466 * glocalfile.c: String improvements. (#511966,
2467 Theppitak Karoonboonyanan)
2469 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2471 * gioscheduler.h: Expand docs a bit.
2473 2008-01-24 Alexander Larsson <alexl@redhat.com>
2476 Add g_drive_get_identifier and
2477 g_drive_enumerate_identifiers
2480 Add g_volume_get_identifier and
2481 g_volume_enumerate_identifiers
2487 Implement identifiers for unix backend
2489 2008-01-24 Alexander Larsson <alexl@redhat.com>
2494 Add g_file_copy_async() (#511580)
2495 Based on patch from Carlos Garcia Campos
2497 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2499 * gioscheduler.c: Some documentation additions.
2501 2008-01-22 Alexander Larsson <alexl@redhat.com>
2503 * gdesktopappinfo.c:
2504 (g_desktop_app_info_new):
2505 Don't leak basename.
2507 2008-01-22 Alexander Larsson <alexl@redhat.com>
2509 * gdesktopappinfo.c:
2510 (g_desktop_app_info_new_from_filename):
2513 2008-01-22 Alexander Larsson <alexl@redhat.com>
2515 * glocalfileinfo.c (get_thumbnail_attributes):
2518 2008-01-22 Alexander Larsson <alexl@redhat.com>
2521 (canonicalize_filename):
2522 Canonicalize paths that start with more than
2526 (compare_two_files):
2527 (test_g_file_new_for_path):
2530 2008-01-22 Alexander Larsson <alexl@redhat.com>
2533 Allow UTF-8 in file:// parse names.
2535 * tests/Makefile.am:
2536 * tests/data-input-stream.c:
2537 * tests/data-output-stream.c:
2538 * tests/g-file-info.c:
2540 Added a bunch of tests from Tomas Bzatek
2542 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2544 * === Released 2.15.3 ===
2546 2008-01-21 Alexander Larsson <alexl@redhat.com>
2548 * gfileinputstream.[ch]:
2549 * gfileoutputstream.[ch]:
2551 Remove duplicated GSeekable functions. (#509990)
2552 Just use the g_seekable_xxx() calls instead.
2554 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2557 * gvolumemanager.c: Whitespace cleanups.
2559 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2560 Use the right mode when creating the file.
2562 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2564 * gfileenumerator.c:
2565 * gfileinputstream.c:
2567 * goutputstream.c: Documentation: Fixed minor typos
2568 and added more mentions of specific _finish() functions.
2570 2008-01-21 Alexander Larsson <alexl@redhat.com>
2572 * inotify/Makefile.am:
2573 * inotify/inotify-helper.c:
2574 * inotify/inotify-kernel.c:
2575 * inotify/inotify-path.c:
2576 * inotify/local_inotify.h: Removed.
2577 * inotify/local_inotify_syscalls.h: Removed.
2578 Removed the included copies of the inotify
2579 headers. We now only use the <sys/inotify.h>
2580 header which exists on modern systems.
2581 This fixes problems on ARM and SH5 (#510448)
2582 but is also generally much cleaner and future
2583 safe. For instance, if other OSes add support
2584 for inotify it should "just work".
2586 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2588 * inotify/*.c: Coding style fixes.
2589 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2590 for the 1/4 Hz timer.
2592 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2595 * gfilemonitor.[hc]:
2596 * gmemoryinputstream.c:
2597 * gmemoryoutputstream.c:
2598 * gmountoperation.c:
2599 * gthemedicon.c: Documentation updates
2601 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2603 * gfile.c: documentation: Fixed more minor
2606 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2608 * gmount.c: (g_mount_remount): documentation:
2609 Mention g_mount_remount_finish() instead of
2610 g_mount_unmount_finish().
2612 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2616 * gfile.c: Fixed some minor typos in the
2619 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2621 * gio/gvolumemonitor.c:
2622 (g_volume_monitor_get_connected_drives):
2623 (g_volume_monitor_get_volumes):
2624 (g_volume_monitor_get_mounts): Documentation:
2625 Clarify the ownership of the regurn GLists.
2627 2008-01-17 Alexander Larsson <alexl@redhat.com>
2630 Add the async find_enclosing_mount version
2631 to the header file too.
2633 2008-01-17 Alexander Larsson <alexl@redhat.com>
2636 Add async version of find_enclosing_mount
2637 with default implementation.
2639 2008-01-17 Alexander Larsson <alexl@redhat.com>
2644 Allow calls to implementation of copy and write
2645 even if the type of the file implementations is
2646 different. This can be used to implement native
2647 upload and download calls in a vfs.
2650 (g_local_file_move):
2651 Protect against the case where move is called
2652 with one file not being local.
2654 Make sure we call the progress callback once
2655 in the native move operation so that the caller
2656 knows how many bytes were copied.
2658 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2661 * gdatainputstream.c:
2663 * gfileoutputstream.c:
2668 * gunixmounts.c: Corrected some typos in the documentation:
2669 occured -> occurred.
2670 its -> it's (where appropriate).
2672 2008-01-16 Alexander Larsson <alexl@redhat.com>
2676 Add g_file_query_exists (#508771)
2678 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2683 * gvolume.c: For async functions that have no non-async
2684 version, document that the GAsyncReadyCallback may be NULL.
2687 2008-01-15 Alexander Larsson <alexl@redhat.com>
2689 * gmemoryinputstream.c:
2690 * gmemoryoutputstream.c:
2691 Don't do pointer arithmetic on void * (#508602)
2692 Patch from Kazuki IWAMOTO
2694 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2696 * === Released 2.15.2 ===
2698 2008-01-14 Alexander Larsson <alexl@redhat.com>
2700 * gfile.c (g_file_monitor_file):
2701 Don't set error here, since we fallback to polling monitor.
2703 2008-01-14 Alexander Larsson <alexl@redhat.com>
2706 (g_file_monitor_directory):
2707 (g_file_monitor_file):
2708 Add GError to file monitor calls
2710 * glocaldirectorymonitor.c:
2711 * glocaldirectorymonitor.h:
2713 * glocalfilemonitor.c:
2714 * glocalfilemonitor.h:
2716 Update for above change
2718 2008-01-14 Alexander Larsson <alexl@redhat.com>
2722 Handle root correctly in g_file_get_relative_path (#508719)
2724 2008-01-14 Alexander Larsson <alexl@redhat.com>
2727 Clean up docs and example for GAsyncResult (#508074)
2729 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2731 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2732 and correct some spelling mistakes. Bug #508108.
2734 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2736 * glocalfileinfo.c: Add a comment.
2738 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2740 * gfileinfo.c: GFileInfo description: Mention
2741 how to actually set attributes in a GFile and how to discover
2742 which attributes are settable. Bug #508378.
2744 2008-01-10 A. Walton <awalton@svn.gnome.org>
2746 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2747 (g_app_info_get_default_for_type):
2748 Check for NULL content types.
2750 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2752 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2754 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2756 * gfile.c: *_async() functions: Several small corrections
2757 to the documentation, mostly correcting copy/paste errors
2758 and improving some sentences.
2760 2008-01-09 Dan Winship <danw@gnome.org>
2762 * glocalfile.c (get_unique_filename): x86_64 fix
2764 2008-01-09 Alexander Larsson <alexl@redhat.com>
2769 Add g_unix_mount_guess_should_display and use
2770 for unix volume monitor backend.
2771 This means we more or less show what the
2772 gnome-vfs backend did.
2773 Based on patch from Padraig O'Briain
2775 2008-01-09 Alexander Larsson <alexl@redhat.com>
2779 Add g_themed_icon_new_with_default_fallbacks
2782 Use default fallbacks for icons
2784 2008-01-09 Alexander Larsson <alexl@redhat.com>
2787 * gmountoperation.[ch]:
2788 Change the API a bit so that unhandled methods
2789 get reported via the reply, rather than by
2790 the signal emission return value. This is because
2791 some handlers can't know this immediately without
2792 doing I/O, and this is an async operation that
2795 2008-01-09 Alexander Larsson <alexl@redhat.com>
2798 * fam/gfamdirectorymonitor.c:
2799 * fam/gfamfilemonitor.c:
2800 Fix double free crash (#508224)
2801 Patch from Joe Marcus Clarke
2803 008-01-07 Matthias Clasen <mclasen@redhat.com>
2805 * === Released 2.15.1 ===
2807 2008-01-07 Alexander Larsson <alexl@redhat.com>
2809 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2810 Fix warning (#507835)
2812 2008-01-07 Alexander Larsson <alexl@redhat.com>
2815 Pass --internal to glib-genmarshal
2818 * gmountoperation.c:
2820 Use better types for signal arguments (#507822)
2822 2008-01-07 Alexander Larsson <alexl@redhat.com>
2825 Build test subdir after .
2826 Remove gdirectorymonitor.[ch]
2828 * gdirectorymonitor.[ch]:
2832 Remove GDirectoryMonitor and make
2833 GFileMonitor the baseclass for both file and
2834 directory monitors. Lift the more generic
2835 rate limiting code from GDirectoryMonitor
2839 * fam/gfamdirectorymonitor.[ch]:
2840 * inotify/ginotifydirectorymonitor.[ch]:
2841 * inotify/inotify-helper.c:
2842 * glocaldirectorymonitor.[ch]:
2845 Update for the removed GDirectoryMonitor.
2847 * gmemoryoutputstream.c:
2848 Remove ununsed variable
2850 2008-01-07 Alexander Larsson <alexl@redhat.com>
2852 * gmemoryinputstream.c:
2853 Translate error strings
2856 * gmemoryoutputstream.[ch]:
2857 New implementation that avoids using GByteArray
2858 in implementation and API. (#506377)
2860 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2862 * tests/*: Add a test for memory input streams.
2864 * Makefile.am: Add tests to SUBDIRS.
2866 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2868 * glocalfilemonitor.c:
2869 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2872 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2874 * gdesktopappinfo.c: Fix a docs typo.
2876 * gfileattribute.c: Add information about extended attributes
2877 to the documentation. (#505058)
2879 2008-01-04 Alexander Larsson <alexl@redhat.com>
2882 * gmountoperation.c:
2883 Use the right type (uint) for the ask_password signal.
2885 2008-01-04 Alexander Larsson <alexl@redhat.com>
2890 Add g_app_info_supports_files()
2891 Remove desktop arg from g_app_info_should_show().
2893 * gdesktopappinfo.[ch]:
2894 Implement g_app_info_supports_files() and new should_show()
2895 Add g_desktop_app_info_set_desktop_env() to set the desktop
2896 for should_show(). (This will be set by gtk+ later)
2898 2008-01-04 Alexander Larsson <alexl@redhat.com>
2901 * gmemoryinputstream.[ch]:
2902 Improve API so that you can use multiple chunks
2903 of memory and custom destroy functions. (#506374)
2905 2008-01-03 Alexander Larsson <alexl@redhat.com>
2908 Handle NULL attribute matchers safely, as we return this
2909 for empty attribute matcher strings.
2911 2008-01-03 Alexander Larsson <alexl@redhat.com>
2913 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2914 Add /usr/local to list of internal mountpoints
2916 2008-01-03 Alexander Larsson <alexl@redhat.com>
2919 Check for HAVE_LCHOWN (#505887)
2921 2008-01-03 Alexander Larsson <alexl@redhat.com>
2925 Add define for selinux context attribute.
2926 Fix missing : -> :: namespace separator change
2927 Fix missing _ -> - name change for xattr-sys.
2930 2008-01-03 Alexander Larsson <alexl@redhat.com>
2933 Link to libglib and libgobject directly (#504879)
2934 Patch from Sebastien Bacher
2936 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2938 * gfile.c: Expanded the g_file_new_for_commandline_arg
2939 description a bit, based on the code and the docs of the
2940 other g_file_new_for_* functions.
2942 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2944 * gfilemonitor.h: Fixed typo in docs.
2946 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2948 Updates to GIO documentation. (#506395, Mikael Hermansson)
2950 * gcontenttype.c: Describe memory management for return value of
2951 g_content_types_get_registered(). Missing piece from #505815.
2952 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2953 GVolume, GDrive, GMounts, which hopefully gives the user less
2954 confusions when using this API. Following explainations from
2955 Alexander Larsson on gtk-devel-list.
2957 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2959 * gfileinfo.c: Expand the long description.
2961 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2964 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2965 fix builds with --disable-visibility. (#500273, Christian Persch)
2967 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2969 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2970 in the list of returned app infos.
2972 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2974 * gappinfo.c: Fix a cross-reference
2976 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2978 * gfileinputstream.c:
2979 * gfileoutputstream.c:
2983 * gdesktopappinfo.c:
2985 * gfileinfo.c: Documentation updates.
2987 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2989 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2992 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2994 * gcontenttype.c (g_content_types_get_registered): Don't return
2995 freed memory (#505815, Mikael Hermansson)
2997 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2999 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3000 used to detect statbuf->st_blocks. (#505042)
3002 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3004 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3005 environment handling. (#504829, Cosimo Cecchi)
3007 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3009 * gappinfo.c: Doc improvements
3011 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3014 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3016 * === Released 2.15.0 ===
3018 2007-12-20 Hans Breuer <hans@breuer.org>
3020 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3021 with symbols gwin32appinfo.obj, added gmount.obj
3022 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3024 2007-12-20 Alexander Larsson <alexl@redhat.com>
3030 * gfilenamecompleter.c:
3033 * gpollfilemonitor.c:
3034 File attribute renames:
3036 fs:: -> filesystem::
3037 id::fs -> id::filesystem
3039 2007-12-20 Alexander Larsson <alexl@redhat.com>
3048 Add GMountUnmountFlags to all unmount and
3050 Add g_mount_remount() call.
3052 2007-12-20 Alexander Larsson <alexl@redhat.com>
3054 * gvfs.c (get_default_vfs):
3055 Fix unused variable warning
3057 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3059 * pltcheck.sh: Update
3061 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3063 * gunionvolumemonitor.c:
3064 * gunixmount.c: Remove C99 comments
3066 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3068 * gio.symbols: Add some missing symbols
3070 2007-12-19 Alexander Larsson <alexl@redhat.com>
3073 Make g_io_modules_load_all_in_directory not unuse
3074 loaded modules so that users of it can do stuff
3076 Init internal "module" types.
3077 Initialize static prio and name for types so that
3078 we don't have to load modules to get it.
3080 * gnativevolumemonitor.h:
3082 Move is_supported to parent class so that
3083 non-native monitors can avoid being initialized
3084 too. (For instance GDaemonVolumeMonitor if we're
3085 not using GDaemonVfs.)
3087 * glocaldirectorymonitor.[ch]:
3088 * glocalfilemonitor.[ch]:
3089 * gunionvolumemonitor.c:
3090 * gunixvolumemonitor.c:
3092 Find plugins using the static prio+name to
3093 avoid unnecessarily loading the modules.
3095 2007-12-19 Alexander Larsson <alexl@redhat.com>
3100 2007-12-19 Alexander Larsson <alexl@redhat.com>
3102 * gunionvolumemonitor.c:
3103 Store the native type as GType, not class so that
3104 we can unload it. But still avoid unnecessarily
3107 2007-12-19 David Zeuthen <davidz@redhat.com>
3109 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3110 add signals 'disconnected' and 'eject-button' on GDrive. Add
3111 signal 'removed' on GVolume and 'unmounted' on GMount.
3113 * gdrive.c: (g_drive_base_init):
3115 * gfile.c: (g_file_mount_mountable),
3116 (g_file_mount_enclosing_volume):
3119 * gmount.c: (g_mount_base_init):
3121 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3122 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3123 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3127 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3129 * *.c: Fix up includes in the section docs.
3131 2007-12-17 Alexander Larsson <alexl@redhat.com>
3133 * gnativevolumemonitor.h:
3134 * gunionvolumemonitor.c:
3135 * gunixvolumemonitor.c:
3136 Add is_supported() to GNativeVolumeMonitorClass so
3137 that we can avoid having to create an object to see
3138 if the backend is supported at runtime.
3139 Also add name member and an env var to pick a specific
3140 volume monitor backend.
3144 Add cancellable to _g_mount_get_for_mount_path()
3146 * glocaldirectorymonitor.c:
3147 * glocalfilemonitor.c:
3148 Avoid loading and unloading modules while sorting.
3150 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3153 * gunixmounts.[hc]: Namespace waste reduction, move some
3154 g_get_unix_mount functions to the g_unix_mount namespace.
3157 * gunixvolumemonitor.c:
3159 * glocaldirectorymonitor.c: Update all callers.
3161 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3163 2007-12-17 Alexander Larsson <alexl@redhat.com>
3166 Add doc comments about what GFile operations are
3167 guaranteed to not block.
3169 2007-12-17 Alexander Larsson <alexl@redhat.com>
3172 Add missing #ifdef fixing OSX build.
3173 (#503334, patch from Richard Hult)
3175 2007-12-14 David Zeuthen <davidz@redhat.com>
3179 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3180 (g_mount_eject), (g_mount_eject_finish):
3182 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3183 (get_volume_for_uuid), (get_mount_for_uuid),
3184 (g_union_volume_monitor_class_init),
3185 (get_default_native_type_with_exclude), (get_default_native_type),
3186 (get_native_type), (update_native_type),
3187 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3188 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3189 (g_unix_mount_can_eject), (eject_unmount_cb),
3190 (eject_unmount_read_error), (eject_unmount_do),
3191 (g_unix_mount_unmount), (g_unix_mount_eject),
3192 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3193 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3194 (g_unix_mount_point_guess_can_eject):
3196 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3197 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3198 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3199 (g_unix_volume_mount), (g_unix_volume_eject),
3200 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3201 * gunixvolumemonitor.c: (get_volume_for_uuid),
3202 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3204 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3205 (g_volume_eject), (g_volume_eject_finish):
3207 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3208 (g_volume_monitor_get_mount_for_uuid):
3211 Provide eject() on both GMount and GVolume and utility functions
3212 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3213 ejected. Introduce the concept of UUID's and wire it into GVolume
3214 and GMount and provide API on GVolumeMonitor to find such
3215 instances. Also handle the case where an external
3216 GNativeVolumeMonitor fails to initialize. Lock around the
3217 _g_get_mount_for_mount_path() function such that volume monitor
3218 implementations won't have to do locking themselves.
3220 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3222 * gdesktopappinfo.c:
3228 * gvolume.h: Documentation updates
3230 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3233 * gfile.h: Doc updates
3235 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3238 * gdesktopappinfo.c: Use hash table iterators.
3240 2007-12-14 Alexander Larsson <alexl@redhat.com>
3243 * gfileattribute.[ch]:
3244 * gfileattribute-priv.h:
3245 Move GFileAttributeValue to a private header, as
3249 Make set_attribute take a type + a pointer instead
3250 of a GFileAttributeValue.
3253 Fix up for above changes.
3254 Add g_file_info_get_attribute_data to get
3255 all info in one call, g_file_info_get_attribute_status
3256 to get the status and g_file_info_get_attribute_as_string.
3260 * glocalfileinfo.[ch]:
3264 Make _guess_type static.
3266 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3269 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3270 made mkenums and friends use temporary files to avoid leaving
3271 empty generated files on failure (#503470).
3273 2007-12-14 Alexander Larsson <alexl@redhat.com>
3275 * gmountoperation.h:
3278 2007-12-14 Alexander Larsson <alexl@redhat.com>
3282 * gfileattribute.[ch]:
3285 * glocalfileoutputstream.c:
3286 * gmountoperation.[ch]:
3287 * goutputstream.[ch]:
3288 Clean up all flags enums to not have _FLAGS in them
3289 Make the names of some of the enums better.
3294 2007-12-14 Michael Natterer <mitch@imendio.com>
3296 * gio.symbols: fix g_io_scheduler symbol names.
3298 2007-12-14 Alexander Larsson <alexl@redhat.com>
3304 * gbufferedinputstream.h:
3305 * gbufferedoutputstream.h:
3308 * gdatainputstream.h:
3309 * gdataoutputstream.h:
3310 * gdesktopappinfo.h:
3311 * gdirectorymonitor.h:
3315 * gfileenumerator.h:
3318 * gfileinputstream.h:
3320 * gfilenamecompleter.h:
3321 * gfileoutputstream.h:
3322 * gfilterinputstream.h:
3323 * gfilteroutputstream.h:
3331 * gmemoryinputstream.h:
3332 * gmemoryoutputstream.h:
3334 * gmountoperation.h:
3337 * gsimpleasyncresult.h:
3339 * gunixinputstream.h:
3341 * gunixoutputstream.h:
3345 * inotify/Makefile.am:
3346 Only allow including <gio/gio.h> from apps
3348 2007-12-14 Alexander Larsson <alexl@redhat.com>
3350 * gioscheduler.[ch]:
3351 * gsimpleasyncresult.c:
3352 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3353 Split out the send_to_mainloop call into two versions instead
3354 of having the block argument.
3356 2007-12-13 Alexander Larsson <alexl@redhat.com>
3358 * gcancellable.[ch]:
3360 * gbufferedinputstream.c:
3361 * gfileenumerator.c:
3362 * gfileinputstream.c:
3363 * gfileoutputstream.c:
3367 g_push/pop_current_cancellable ->
3368 g_cancellable_push/pop_current
3370 2007-12-13 Alexander Larsson <alexl@redhat.com>
3374 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3376 2007-12-13 Alexander Larsson <alexl@redhat.com>
3378 * gmountoperation.h:
3379 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3381 2007-12-12 Alexander Larsson <alexl@redhat.com>
3384 Fix race condition when freeing proxy in
3385 g_io_job_send_to_mainloop().
3387 2007-12-12 Alexander Larsson <alexl@redhat.com>
3393 Make attribute namespace separator "::" instead of ":".
3394 Use - instead of _ as separator in attribute names.
3396 2007-12-12 Alexander Larsson <alexl@redhat.com>
3398 * gbufferedinputstream.h:
3399 * gbufferedoutputstream.h:
3400 * gdatainputstream.h:
3401 * gdataoutputstream.h:
3402 * gdirectorymonitor.h:
3403 * gfileenumerator.h:
3404 * gfileinputstream.h:
3406 * gfileoutputstream.h:
3407 * gfilterinputstream.h:
3408 * gfilteroutputstream.h:
3410 * glocalfileinputstream.h:
3411 * glocalfileoutputstream.h:
3412 * gmemoryinputstream.h:
3413 * gmemoryoutputstream.h:
3414 * gnativevolumemonitor.h:
3416 * gunixinputstream.h:
3417 * gunixoutputstream.h:
3420 s/parent/parent_instance/ in GObjects
3422 2007-12-12 Alexander Larsson <alexl@redhat.com>
3427 No need for padding for interfaces
3429 2007-12-12 Alexander Larsson <alexl@redhat.com>
3433 * gbufferedinputstream.c:
3434 * gbufferedoutputstream.c:
3437 * gdatainputstream.[ch]:
3438 * gdesktopappinfo.c:
3439 * gdirectorymonitor.c:
3441 * gfileattribute.[ch]:
3444 * gfileinputstream.h:
3445 * gfilemonitor.[ch]:
3446 * gfileoutputstream.[ch]:
3447 * gfilterinputstream.h:
3448 * gfilteroutputstream.h:
3451 * gloadableicon.[ch]:
3452 * gmemoryinputstream.c:
3453 * gmountoperation.c:
3455 Fix up a bunch of details in the docs.
3460 2007-12-11 David Zeuthen <davidz@redhat.com>
3462 Rework how volumes, drives and volume monitoring is
3463 done. Previosly the model was
3465 GDrive <1-1> GVolume
3467 where a GDrive instance represented a mount point and a GVolume
3468 instance represented a mounted file system. This patch changes it
3471 GDrive <1-N> GVolume <1-1> GMount
3473 where GMount now serves the purpose of the old GVolume and the new
3474 GVolume serves the purpose of the old GDrive. In addition the new
3475 GDrive interface is used to represent a collection of GVolume
3476 instances (typically partitions) and also contains utility to query
3477 the state of the physical drive the GDrive object represents (such
3478 as checking for media, polling the drive, ejecting the media etc.).
3480 Also implement mounting and unmounting in the Unix volume monitor
3481 backend. A subquent patch will introduce GDrive support for ejection
3485 * gdrive.c: (g_drive_is_media_check_automatic),
3486 (g_drive_is_media_removable), (g_drive_has_media),
3487 (g_drive_can_poll_for_media), (g_drive_eject),
3488 (g_drive_eject_finish), (g_drive_poll_for_media),
3489 (g_drive_poll_for_media_finish):
3491 * gfile.c: (g_file_find_enclosing_mount):
3494 * glocaldirectorymonitor.c:
3495 (g_local_directory_monitor_constructor), (mounts_changed):
3496 * glocalfile.c: (get_mount_info),
3497 (g_local_file_find_enclosing_mount),
3498 (g_local_file_file_iface_init):
3499 * gnativevolumemonitor.h:
3500 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3501 (get_connected_drives), (g_union_volume_monitor_class_init),
3502 (child_volume_added), (child_volume_removed),
3503 (child_volume_changed), (child_mount_added), (child_mount_removed),
3504 (child_mount_pre_unmount), (child_mount_changed),
3505 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3506 (g_union_volume_monitor_remove_monitor),
3507 (_g_mount_get_for_mount_path):
3508 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3509 (guess_system_internal), (_g_get_unix_mounts),
3510 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3511 (g_unix_mount_free), (g_unix_mount_compare),
3512 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3513 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3514 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3515 (type_to_icon), (g_unix_mount_guess_name),
3516 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3517 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3518 (_resolve_symlink), (_resolve_dev_root):
3520 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3521 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3522 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3523 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3524 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3525 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3526 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3527 (g_unix_volume_volume_iface_init):
3529 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3530 (get_mounts), (get_volumes), (get_connected_drives),
3531 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3532 (mountpoints_changed), (mounts_changed),
3533 (g_unix_volume_monitor_init),
3534 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3535 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3536 * gunixvolumemonitor.h:
3537 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3538 (g_volume_mount), (g_volume_mount_finish):
3540 * gvolumemonitor.c: (g_volume_monitor_class_init),
3541 (g_volume_monitor_get_connected_drives),
3542 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3545 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3547 * gmountoperation.h (GPasswordFlags): Close the gap
3549 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3551 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3553 * gdesktopappinfo.[hc]: Remove _-prefixes
3555 2007-12-10 Tor Lillqvist <tml@novell.com>
3557 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3560 2007-12-10 Alexander Larsson <alexl@redhat.com>
3562 * gfile.c (g_file_set_display_name):
3563 Don't hardcode '/' (#502727)
3565 2007-12-09 Hans Breuer <hans@breuer.org>
3567 * makefile.msc : follow lib naming convention
3568 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3569 for user and group name, tested with ../tests/gio-ls
3571 2007-12-09 A. Walton <awalton@svn.gnome.org>
3573 * gdesktopappinfo.c:
3579 * gfileenumerator.c:
3584 * gmemoryinputstream.c:
3585 * gmemoryoutputstream.c:
3587 * gsimpleasyncresult.c:
3588 More documentation cleanup and filling in missing information, bringing
3589 GIO to 99% symbol coverage.
3591 2007-12-08 Hans Breuer <hans@breuer.org>
3593 [gio compiles and links on win32, not sure how much already works]
3594 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3595 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3596 base on win32 API; prefer g_lstat() over lstat(); instead of
3597 localtime_r() use an all GLib implementation on win32;
3598 get_mount_info() still needs a win32 specifc implementation
3599 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3600 win32_get_file_user_info to get owner/group info without uid/gid
3601 * glocalfileinputstream.c : include <io.h> on win32
3602 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3603 definition, use g_win32_ftruncate() for G_OS_WIN32
3604 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3605 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3606 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3607 * makefile.msc : updated
3609 2007-12-07 Alexander Larsson <alexl@redhat.com>
3611 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3612 Avoid warning spew if error == NULL
3614 2007-12-07 Alexander Larsson <alexl@redhat.com>
3617 Update docs wrt etags
3619 2007-12-06 Alexander Larsson <alexl@redhat.com>
3622 Include sys/types.h for dev_t (#501919)
3624 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3628 Make abicheck and pltcheck pass.
3630 2007-12-05 Alexander Larsson <alexl@redhat.com>
3633 * giomodule-priv.h: Added.
3634 * glocaldirectorymonitor.c:
3635 * glocalfilemonitor.c:
3636 * gunionvolumemonitor.c:
3638 Actually add the declaration of _g_io_modules_ensure_loaded
3640 2007-12-05 Alexander Larsson <alexl@redhat.com>
3642 * gdatainputstream.c:
3647 * glocaldirectorymonitor.c:
3648 * glocalfilemonitor.c:
3649 * gunionvolumemonitor.c:
3651 Make g_io_modules_ensure_loaded a private function and
3652 don't pass in the dirname. This means we can do magic
3653 directory finding in the win32 version.
3654 Export the actual load-modules-in-directory code so that
3655 gvfs can reuse that.
3657 2007-12-05 Alexander Larsson <alexl@redhat.com>
3659 * gbufferedinputstream.c:
3660 * gbufferedoutputstream.c:
3663 * gfileenumerator.[ch]:
3664 * gfileinputstream.c:
3665 * gfileoutputstream.[ch]:
3666 * gfilterinputstream.c:
3667 * gfilteroutputstream.c:
3668 * ginputstream.[ch]:
3670 * glocalfileenumerator.c:
3671 * glocalfileinputstream.c:
3672 * glocalfileoutputstream.c:
3673 * gmemoryinputstream.c:
3674 * gmemoryoutputstream.c:
3675 * goutputstream.[ch]:
3678 * gunixinputstream.c:
3679 * gunixoutputstream.c:
3680 Rename all struct members named:
3681 read, write, close, truncate, or mount
3682 to foo_fn, as these are reserved names
3683 and could be defined as macros in libc.
3686 2007-12-04 Alexander Larsson <alexl@redhat.com>
3689 (g_output_stream_close):
3690 Only call flush if non-null.
3692 2007-11-30 Dan Winship <danw@gnome.org>
3694 * ginputstream.c (g_input_stream_set_pending): Make this take a
3695 GError and return a gboolean, and do the "outstanding operation"
3696 check (and the "stream is already closed" check) itself.
3697 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3699 * goutputstream.c (g_output_stream_set_pending)
3700 (g_output_stream_clear_pending): Likewise
3702 * gbufferedinputstream.c:
3703 * gfileinputstream.c:
3704 * gfileoutputstream.c: Update for that
3706 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3707 Like g_simple_async_report_error_in_idle, but takes a GError
3708 rather than building one.
3710 2007-11-30 Dan Winship <danw@gnome.org>
3712 * goutputstream.c: Don't cheat and unset the "pending" flag around
3713 inner calls. Instead, call the class method directly rather than
3714 the wrapper function that checks "pending"
3716 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3718 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3720 2007-12-03 Hans Breuer <hans@breuer.org>
3722 [start of port to win32/msvc]
3723 * gcancellable.c : HAVE_UNIST_H and _pipe()
3724 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3725 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3726 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3728 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3729 * glocalvfs.c : use HAVE_PWD_H
3730 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3731 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3732 * Makefile.am : added to EXTRA_DIST
3734 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3736 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3739 2007-12-03 Alexander Larsson <alexl@redhat.com>
3742 Handle OSX style xattrs API (#500506)
3744 2007-12-03 Alexander Larsson <alexl@redhat.com>
3748 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3750 2007-12-02 A. Walton <awalton@svn.gnome.org>
3754 Documentation accuracy fixes.
3756 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3758 * gioenumtypes.c.template: Fix typo.
3760 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3762 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3764 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3766 * gdirectorymonitor.c:
3767 * gfilemonitor.c: Add properties
3769 * gbufferedoutputstream.c: Don't mark buffer-size property
3772 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3774 * gbufferedoutputstream.c: Add auto-grow property.
3776 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3778 * *.c: Unify the capitalization of section headings.
3780 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3782 * gmountoperation.c: Add properties
3784 * gdatainputstream.c: Turn byte-order and newline-type into
3787 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3789 * gioenumtypes.[hc].template: Templates for enum registration
3791 * Makefile.am: Generate gioenumtypes.[hc]
3793 * gio.h: Include gioenumtypes.h
3795 * gfile.h: Add some explicit nicks.
3797 * gio.symbols: Add new symbols
3799 * pltcheck.sh: Adjust
3801 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3803 * *.c: Explain etags and link to the explanation
3805 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3807 * *.c: Explain I/O priority.
3809 * *.c: More coding style fixes.
3811 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3813 * gasyncresult.c: Add another paragraph to the intro,
3814 adjust coding style of example.
3816 2007-11-29 A. Walton <awalton@svn.gnome.org>
3819 Fixes unknown meaning in GAppLaunchContext docs.
3821 Clarify asynchronous ops.
3823 Fix entity tag docs.
3826 Provides missing gtk-doc section, fixes API docs slighly.
3827 * gsimpleasyncresult.c:
3828 Fill in missing info in docs.
3829 * gunixinputstream.c:
3830 * gunixoutputstream.c:
3831 Be more expressive in short description.
3833 Remove gtk-doc stubs for non-public API.
3835 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3837 * *.c: Coding style fixups
3839 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3841 * inotify/inotify-helper.c: Don't export the lock from libgio.
3843 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3846 * abicheck.sh: Fix copy-and-paste leftovers
3848 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3850 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3852 2007-11-28 Alexander Larsson <alexl@redhat.com>
3856 Removed unnecessary file
3858 * gdesktopappinfo.[ch]:
3861 * glocaldirectorymonitor.[ch]:
3863 * glocalfileenumerator.[ch]:
3864 * glocalfileinputstream.[ch]:
3865 * glocalfilemonitor.[ch]:
3866 * glocalfileoutputstream.[ch]:
3868 * gnativevolumemonitor.c:
3869 * gpollfilemonitor.[ch]:
3870 * gunionvolumemonitor.[ch]:
3873 * gunixvolumemonitor.[ch]:
3876 * inotify/ginotifydirectorymonitor.[ch]:
3877 * inotify/ginotifyfilemonitor.[ch]:
3878 * inotify/inotify-helper.c:
3879 Append _ to all internal functions
3883 Export symbols needed for modules
3885 2007-11-28 Alexander Larsson <alexl@redhat.com>
3888 * abicheck.sh: Added.
3889 * makegioalias.pl: Added.
3890 * pltcheck.sh: Added.
3891 * gio.symbols: Added.
3894 Initial work on adding symbol handling.
3897 Correct ifdef guard name
3900 * inotify/Makefile.am:
3901 * xdgmime/Makefile.am:
3902 Include toplevel Makefile.decl
3904 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3906 * gcontenttype.c: Move doc comments to the unix section.
3908 * *.[hc]: More trivial doc corrections.
3910 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3912 * gpollfilemonitor.c:
3916 * gdesktopappinfo.c:
3921 * gdatainputstream.c:
3922 * gdatainputstream.h:
3923 * gdataoutputstream.c:
3924 * gdataoutputstream.h:
3925 * gfileinfo.h: Doc cleanups
3927 2007-11-28 Andre Klapper <a9016009@gmx.de>
3929 * gdesktopappinfo.c: Fix a typo.
3931 2007-11-27 Andre Klapper <a9016009@gmx.de>
3933 * glocalfileoutputstream.c: Fix a typo.
3935 2007-11-27 Alexander Larsson <alexl@redhat.com>
3938 Don't include removed headers
3940 2007-11-27 Alexander Larsson <alexl@redhat.com>
3943 * gsocketinputstream.[ch]: Removed.
3944 * gsocketoutputstream.[ch]: Removed.
3945 * gunixinputstream.[ch]: Added.
3946 * gunixoutputstream.[ch]: Added.
3947 Renamed GSocket*Stream to GUnix*Stream and made
3948 it unix-only, since its not really only for sockets
3949 and it only works on unix (but is highly useful there).
3951 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3957 * gbufferedinputstream.c:
3958 * gbufferedinputstream.h:
3959 * gbufferedoutputstream.c:
3960 * gbufferedoutputstream.h:
3964 * gdatainputstream.c:
3965 * gdatainputstream.h:
3966 * gdataoutputstream.c:
3967 * gdataoutputstream.h:
3968 * gdirectorymonitor.c:
3969 * gdirectorymonitor.h:
3976 * gfileenumerator.c:
3977 * gfileenumerator.h:
3982 * gfileinputstream.c:
3983 * gfileinputstream.h:
3986 * gfilenamecompleter.c:
3987 * gfilenamecompleter.h:
3988 * gfileoutputstream.c:
3989 * gfileoutputstream.h:
3990 * gfilterinputstream.c:
3991 * gfilterinputstream.h:
3992 * gfilteroutputstream.c:
3993 * gfilteroutputstream.h:
4006 * glocalfileoutputstream.c:
4007 * gmemoryinputstream.c:
4008 * gmemoryinputstream.h:
4009 * gmemoryoutputstream.c:
4010 * gmemoryoutputstream.h:
4011 * gmountoperation.c:
4012 * gmountoperation.h:
4015 * gpollfilemonitor.c:
4018 * gsimpleasyncresult.c:
4019 * gsimpleasyncresult.h:
4020 * gsocketinputstream.c:
4021 * gsocketinputstream.h:
4022 * gsocketoutputstream.c:
4023 * gsocketoutputstream.h:
4030 * gunixvolumemonitor.c:
4039 Bumps documentation to 93% symbol coverage, touching most
4040 of the public files. Fixes broken function documentation prototypes.
4041 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4042 gtk-doc headers in private files.
4044 2007-11-27 Jürg Billeter <j@bitron.ch>
4046 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4047 (g_buffered_input_stream_read_byte):
4048 * gbufferedinputstream.h:
4049 New functions for efficient access to buffer and simple single byte
4052 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4053 (g_data_input_stream_read_until):
4054 * gdatainputstream.h:
4055 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4056 read_until with multiple stop chars.
4058 2007-11-27 Alexander Larsson <alexl@redhat.com>
4062 * inotify/Makefile.am:
4063 Use the user-specified giomoduledir
4065 2007-11-27 Alexander Larsson <alexl@redhat.com>
4069 Add catch-all gio.h header
4070 Don't install gdummyfile.h
4072 2007-11-26 Alexander Larsson <alexl@redhat.com>
4074 * Makefile.am (gioinclude_HEADERS):
4075 Remove trailing whitespace
4077 2007-11-26 Alexander Larsson <alexl@redhat.com>
4079 Merge gio-standalone into glib
4081 2007-11-25 Christian Kellner <gicmo@gnome.org>
4083 * gio/goutputstream.c:
4084 Fix small mistake in the docs.
4086 2007-11-21 Christian Persch <chpe@gnome.org>
4088 * gio/glocalfile.c: (g_local_file_trash):
4089 Convert filenames to UTF-8 for GError.
4090 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4091 as per xdg base dir spec.
4093 2007-11-21 Christian Persch <chpe@gnome.org>
4095 * gio/gdesktopappinfo.c:
4096 Use that g_key_file_to_data cannot fail.
4098 Use stock defines for the key file group and key names.
4101 2007-11-21 Alexander Larsson <alexl@redhat.com>
4104 (copy_stream_with_progress):
4105 Make sure we do a final progress callback with
4106 the full total size.
4108 2007-11-21 Alexander Larsson <alexl@redhat.com>
4111 Export g_file_copy_attributes
4112 Remove padding as its not needed for interfaces
4114 2007-11-20 Alexander Larsson <alexl@redhat.com>
4119 Add G_IO_ERROR_WOULD_MERGE for
4120 copy/move dir on dir with overwrite.
4122 2007-11-20 Alexander Larsson <alexl@redhat.com>
4125 * gio/glocalfileinfo.c:
4126 Add COPY_NAME (this is an optional
4127 non-modified utf8 version of the name) that
4130 2007-11-20 Alexander Larsson <alexl@redhat.com>
4132 * gio/glocalfileenumerator.c:
4133 Report errors as GIOError, not GFileError
4135 2007-11-16 Alexander Larsson <alexl@redhat.com>
4137 * gio/glocalfileoutputstream.c:
4138 * gio/gwin32appinfo.c:
4139 Fix typos in strings.
4140 Patch from Luca Ferretti <elle.uca@libero.it>
4142 2007-11-15 Alexander Larsson <alexl@redhat.com>
4145 Post release version bump
4147 === gio-standalone 0.1.2 ===
4149 2007-11-15 Alexander Larsson <alexl@redhat.com>
4151 * docs/reference/gio/Makefile.am:
4152 Fix up distcheck by removing weird
4158 2007-11-14 Alexander Larsson <alexl@redhat.com>
4160 * gio/gdesktopappinfo.c:
4161 * gio/glocaldirectorymonitor.c:
4163 * gio/glocalfileinfo.c:
4164 * gio/inotify/inotify-sub.c:
4165 * programs/gio-cat.c:
4166 * programs/gio-copy.c:
4167 * programs/gio-info.c:
4168 * programs/gio-ls.c:
4169 * programs/gio-monitor-dir.c:
4170 * programs/gio-monitor-file.c:
4171 * programs/gio-mount.c:
4172 * programs/gio-move.c:
4173 * programs/gio-rm.c:
4174 * programs/gio-save.c:
4175 * programs/gio-trash.c:
4176 Leak fixes from Kjartan Maraas
4178 2007-11-14 Alexander Larsson <alexl@redhat.com>
4180 * gio/fam/fam-helper.c:
4182 * gio/glocalfileinfo.c:
4186 * gio/inotify/inotify-diag.c:
4187 * gio/inotify/inotify-kernel.c:
4188 Various code cleanups from Kjartan Maraas
4190 2007-11-14 Alexander Larsson <alexl@redhat.com>
4192 * gio/gioscheduler.c:
4194 Set up threadpool so that we cache 2 unused
4195 idle threads for at 15 secs. This means we
4196 will reuse thread-local data (like dbus connections)
4199 2007-11-14 Alexander Larsson <alexl@redhat.com>
4201 * gio/fam/fam-helper.c:
4202 * gio/fam/gfamdirectorymonitor.c:
4203 * gio/fam/gfamfilemonitor.c:
4205 * gio/gcontenttype.c:
4206 * gio/gdatainputstream.c:
4207 * gio/gdataoutputstream.c:
4211 * gio/gfileattribute.h:
4212 * gio/gfileenumerator.c:
4214 * gio/ginputstream.c:
4217 * gio/glocalfileinfo.c:
4218 * gio/goutputstream.c:
4219 * gio/gpollfilemonitor.c:
4220 * gio/gsimpleasyncresult.c:
4221 * gio/gunixmounts.c:
4222 * gio/gunixmounts.h:
4223 * gio/inotify/ginotifydirectorymonitor.c:
4224 * gio/inotify/ginotifyfilemonitor.c:
4225 * gio/inotify/inotify-diag.c:
4226 * gio/inotify/inotify-kernel.c:
4227 * gio/inotify/inotify-path.c:
4229 * gio/test-streams.c:
4230 * programs/gio-info.c:
4231 * programs/gio-monitor-dir.c:
4232 * programs/gio-monitor-file.c:
4233 Various code cleanups from Kjartan Maraas
4235 2007-11-13 Alexander Larsson <alexl@redhat.com>
4238 Handle the uri-scheme calls for dummy files
4240 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4242 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4243 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4244 to avoid clash with the C++ keyword.
4246 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4248 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4249 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4251 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4253 * gio/glocaldirectorymonitor.c:
4254 * gio/glocalfilemonitor.c:
4255 * gio/gunionvolumemonitor.c:
4256 Don't use g_once_init_*() for initializations that could fail and
4257 could leave the initialization variable set to 0 but use GOnce.
4258 This prevents a deadlock on the second call when trying to create
4259 a monitor and no monitor type is available. Thanks to Sven Herzberg
4262 2007-11-11 Sven Herzberg <sven@imendio.com>
4264 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4265 #ifdef (make it work on MacOS X again)
4267 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4269 Fixes Changelog for last two commits (sorry guys).
4271 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4273 * gio/gbufferedinputstream.c:
4274 * gio/gdatainputstream.c:
4276 * gio/gfileoutputstream.c:
4277 * gio/gfilterinputstream.c:
4278 * gio/glocalfileinputstream.c:
4281 More consistency fixes in g*stream.c files.
4282 Significant clean of gfile's documentation, filling in of
4283 asynchronous operations documentation.
4285 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4287 * gio/gasyncresult.c:
4288 * gio/gbufferedinputstream.c:
4289 * gio/gbufferedoutputstream.c:
4290 * gio/gcancellable.c:
4291 * gio/gcontenttype.c:
4292 * gio/gdatainputstream.c:
4293 * gio/gdataoutputstream.c:
4294 * gio/gdesktopappinfo.c:
4297 * gio/gfileattribute.c:
4298 * gio/gio/gfileenumerator.c:
4300 * gio/gfileinputstream.c:
4301 * gio/gfilemonitor.c:
4302 * gio/gfileoutputstream.c:
4303 * gio/ginputstream.c:
4305 * gio/gioscheduler.c:
4306 * gio/gloadableicon.c:
4307 * gio/glocalfileoutputstream.c:
4308 * gio/gmemoryoutputstream.c:
4309 * gio/gmountoperation.c:
4310 * gio/goutputstream.c:
4312 * gio/gsimpleasyncresult.c:
4313 * gio/gunionvolumemonitor.c:
4314 * gio/gunixmounts.c:
4315 * gio/gunixvolume.c:
4319 * gio/gvolumemonitor.c:
4320 Updated documentation stubs, working towards consistency and
4323 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4325 * gio/gmemoryoutputstream.c:
4326 * gio/gmemoryoutputstream.h:
4327 Change g_memory_output_stream_set_free_on_close() to
4328 g_memory_output_stream_set_free_data() as this makes more sense and
4329 is more consistent with GMemoryInputStream.
4331 2007-11-07 Alexander Larsson <alexl@redhat.com>
4338 Change how we find the default vfs so that
4339 we can handle a gvfs failing to init
4341 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4343 * gio/gbufferedoutputstream.c:
4344 * gio/gdatainputstream.c:
4345 * gio/gdataoutputstream.c:
4346 * gio/gfileinputstream.c:
4347 * gio/gfileoutputstream.c:
4348 * gio/gfilterinputstream.c:
4349 * gio/gfilteroutputstream.c:
4350 * gio/ginputstream.c:
4351 * gio/gmemoryinputstream.c:
4352 * gio/gmemoryoutputstream.c:
4353 * gio/goutputstream.c:
4354 * gio/gsimpleasyncresult.c:
4355 * gio/gsocketinputstream.c:
4356 * gio/gsocketoutputstream.c:
4357 Add guards to the remaining public functions, add a TODO for
4358 an unimplemented function and remove some useless guards.
4360 2007-11-07 Alexander Larsson <alexl@redhat.com>
4363 Autoconf checks for the various types of
4364 getpwuid_r and getgrgid_r
4366 * gio/glocalfileinfo.c:
4367 Use the autoconf checks from above
4369 2007-11-07 Alexander Larsson <alexl@redhat.com>
4372 (g_local_file_query_filesystem_info):
4373 Some fixes for the statvfs case
4375 2007-11-07 Alexander Larsson <alexl@redhat.com>
4378 (g_local_file_query_filesystem_info):
4379 Pick the "best" of statfs / statvfs for the system
4380 if both are availible.
4382 2007-11-07 Alexander Larsson <alexl@redhat.com>
4384 Solaris fixes from Halton.Huo@Sun.COM:
4391 * gio/glocalfileinfo.c:
4392 Fix for solaris definition of getpwuid_r
4394 * gio/test-streams.c:
4395 Use G_GNUC_PRETTY_FUNCTION
4397 2007-11-07 Alexander Larsson <alexl@redhat.com>
4399 * gio/gdesktopappinfo.c:
4400 (update_default_list):
4401 Remove double semicolon.
4402 Patch from Jens Granseuer
4404 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4406 * docs/reference/gio/gio-sections.txt:
4407 * gio/gbufferedinputstream.c:
4408 * gio/gbufferedinputstream.h:
4409 * gio/gdatainputstream.c:
4410 * gio/gfileenumerator.c:
4411 * gio/gioscheduler.c:
4412 * gio/gunionvolumemonitor.c:
4414 * programs/gio-save.c:
4415 Fix typo: availible -> available. Unfortuntely this breaks API
4416 and ABI as g_buffered_input_stream_get_available() was renamed.
4418 * gio/gunixmounts.c:
4419 * gio/gbufferedinputstream.c:
4420 Add guards for public functions.
4422 2007-11-06 Ross Burton <ross@openedhand.com>
4424 * docs/reference/gio/Makefile.am:
4425 Fix invalid += usage which automake 1.10 doesn't like.
4427 2007-11-06 Alexander Larsson <alexl@redhat.com>
4430 (g_app_launch_context_class_init):
4433 Patch from Ross Burton
4435 2007-11-06 Alexander Larsson <alexl@redhat.com>
4438 Post release version bump
4440 === gio-standalone 0.1.1 ===
4442 2007-11-06 Alexander Larsson <alexl@redhat.com>
4445 Bump version to 0.1.1
4447 * gio/gsimpleasyncresult.c:
4448 (g_simple_async_result_set_from_error):
4449 Remove bogus g_return_if_fail
4451 2007-11-06 Alexander Larsson <alexl@redhat.com>
4454 The name is gio-standalone
4457 Add top src/builddir to includedir
4459 2007-11-06 Alexander Larsson <alexl@redhat.com>
4461 * docs/reference/gio/gio-sections.txt:
4463 * gio/gbufferedinputstream.c:
4464 * gio/gbufferedoutputstream.c:
4465 * gio/gcancellable.c:
4466 * gio/gdatainputstream.h:
4467 * gio/gdataoutputstream.c:
4468 * gio/gdataoutputstream.h:
4469 * gio/gdirectorymonitor.c:
4471 * gio/gfileattribute.c:
4472 * gio/gfileattribute.h:
4473 * gio/gfileenumerator.c:
4474 * gio/gfileenumerator.h:
4477 * gio/gfileinputstream.h:
4478 * gio/gfilemonitor.c:
4479 * gio/gfileoutputstream.h:
4480 * gio/glocalfilemonitor.h:
4481 * gio/glocalfileoutputstream.h:
4482 * gio/gmemoryinputstream.c:
4483 * gio/gmemoryoutputstream.c:
4484 * gio/gmountoperation.c:
4485 * gio/goutputstream.c:
4486 * gio/goutputstream.h:
4488 * gio/gsimpleasyncresult.c:
4489 * gio/gunixmounts.c:
4490 * gio/gunixmounts.h:
4492 * gio/inotify/inotify-helper.c:
4493 Fix gtk-doc warnings
4495 Patch from Ross Burton
4497 2007-11-06 Alexander Larsson <alexl@redhat.com>
4499 * gio/gfilenamecompleter.c:
4500 (g_filename_completer_get_completions):
4503 * gio/gunixvolume.c:
4504 Remove unused function
4506 Patches from Ross Burton
4508 2007-11-06 Alexander Larsson <alexl@redhat.com>
4513 Padding not needed for interfaces
4515 2007-11-06 Alexander Larsson <alexl@redhat.com>
4517 * gio/gfilemonitor.c:
4521 Make giotypes.h an internal file
4524 * gio/gbufferedinputstream.h:
4525 * gio/gbufferedoutputstream.h:
4526 * gio/gcancellable.h:
4527 * gio/gdatainputstream.h:
4528 * gio/gdataoutputstream.h:
4529 * gio/gdirectorymonitor.c:
4530 * gio/gdirectorymonitor.h:
4535 * gio/gfileattribute.h:
4536 * gio/gfileenumerator.h:
4541 * gio/gfilemonitor.c:
4542 * gio/gfilemonitor.h:
4543 * gio/gfilenamecompleter.c:
4544 * gio/gfilenamecompleter.h:
4545 * gio/gfilterinputstream.h:
4546 * gio/gfilteroutputstream.h:
4547 * gio/ginputstream.h:
4548 * gio/gmemoryinputstream.h:
4549 * gio/gmemoryoutputstream.h:
4550 * gio/gmountoperation.c:
4551 * gio/gmountoperation.h:
4552 * gio/gnativevolumemonitor.c:
4553 * gio/goutputstream.h:
4556 * gio/gsimpleasyncresult.c:
4557 * gio/gsimpleasyncresult.h:
4558 * gio/gsocketinputstream.h:
4559 * gio/gsocketoutputstream.h:
4560 * gio/gthemedicon.c:
4561 * gio/gthemedicon.h:
4565 * gio/gvolumemonitor.c:
4566 * gio/gvolumemonitor.h:
4567 Add padding in classes where it seems useful
4568 Don't include giotypes.h from public headers
4569 Move in Class definitions into c file where possible
4574 2007-11-06 Alexander Larsson <alexl@redhat.com>
4576 * docs/reference/gio/gio-docs.xml:
4577 Better structure for API docs
4579 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4582 * gio/gloadableicon.c:
4583 * gio/gsimpleasyncresult.c:
4584 * gio/gthemedicon.c:
4585 Add some more guards to public functions. Only files missing are now
4588 2007-11-06 Alexander Larsson <alexl@redhat.com>
4590 * docs/reference/gio/gio-docs.xml:
4591 Remove old files, add missing ones
4593 2007-11-06 Alexander Larsson <alexl@redhat.com>
4595 * docs/reference/gio/gio-sections.txt:
4598 Hide implementation classes
4600 * gio/gdriveprivate.h:
4601 * gio/gvolumeprivate.h:
4602 Remove non-existing function declarations
4604 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4607 Fix compilation warnings and add guards to the new functions.
4609 * gio/gasyncresult.c:
4611 Add guards to the public functions.
4614 Implement get_path().
4616 2007-11-06 Alexander Larsson <alexl@redhat.com>
4618 * gio/gfilenamecompleter.c:
4619 Make g_filename_completer_get_completions
4620 return char ** instead of GList for
4623 * docs/reference/gio/gio-docs.xml:
4624 * docs/reference/gio/gio-sections.txt:
4626 * gio/gasyncresult.c:
4627 * gio/gbufferedinputstream.c:
4628 * gio/gbufferedoutputstream.c:
4629 * gio/gcancellable.c:
4630 * gio/gcontenttype.c:
4631 * gio/gdatainputstream.c:
4632 * gio/gdataoutputstream.c:
4633 * gio/gdesktopappinfo.c:
4634 * gio/gdirectorymonitor.c:
4638 * gio/gfileattribute.c:
4639 * gio/gfileenumerator.c:
4642 * gio/gfileinputstream.c:
4643 * gio/gfilemonitor.c:
4644 * gio/gfilenamecompleter.c:
4645 * gio/gfilenamecompleter.h:
4646 * gio/gfileoutputstream.c:
4647 * gio/gfilterinputstream.c:
4649 * gio/ginputstream.c:
4651 * gio/gioscheduler.c:
4652 * gio/gloadableicon.c:
4653 * gio/glocaldirectorymonitor.c:
4655 * gio/glocalfileinputstream.c:
4656 * gio/glocalfilemonitor.c:
4657 * gio/glocalfileoutputstream.c:
4659 * gio/gmemoryinputstream.c:
4660 * gio/gmemoryoutputstream.c:
4661 * gio/gmountoperation.c:
4662 * gio/goutputstream.c:
4663 * gio/gpollfilemonitor.c:
4665 * gio/gsimpleasyncresult.c:
4666 * gio/gsocketinputstream.c:
4667 * gio/gsocketoutputstream.c:
4668 * gio/gthemedicon.c:
4669 * gio/gunionvolumemonitor.c:
4671 * gio/gunixmounts.c:
4672 * gio/gunixvolume.c:
4673 * gio/gunixvolumemonitor.c:
4677 * gio/gvolumemonitor.c:
4678 * gio/gwin32appinfo.c:
4679 Add (mostly stub) doc strings to public functions.
4680 Patch from Andrew Walton (awalton@gmail.com)
4682 2007-11-06 Alexander Larsson <alexl@redhat.com>
4684 * gio/gappinfo.[ch]:
4685 Added GAppLaunchContext object and pass that to launch.
4686 This allows simple implementation of both
4687 launch-on-screen and startup notification via a gtk+
4688 subclass of GAppLaunchContext
4690 * gio/gdesktopappinfo.c:
4691 Implement GAppLaunchContext API
4693 * gio/gwin32appinfo.c:
4696 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4698 * gio/gmountoperation.c:
4699 Add some guards to GMountOperation's public functions.
4701 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4705 * gio/gcancellable.c:
4706 * gio/gdirectorymonitor.c:
4708 * gio/gfileenumerator.c:
4709 * gio/gfilemonitor.c:,
4710 * gio/gfilenamecompleter.c:
4713 * gio/gioscheduler.c:
4717 * gio/gvolumemonitor.c:
4718 Add even more guards to various public functions.
4720 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4723 Add guards to the public functions of GAppInfo.
4725 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4727 * gio/gcontenttype.c:
4728 Add some more guards for public functions.
4730 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4732 * gio/fam/fam-module.c:
4733 * gio/fam/gfamdirectorymonitor.c:
4734 * gio/fam/gfamdirectorymonitor.h:
4735 * gio/fam/gfamfilemonitor.c:
4736 * gio/fam/gfamfilemonitor.h:
4737 * gio/inotify/ginotifydirectorymonitor.c:
4738 * gio/inotify/ginotifydirectorymonitor.h:
4739 * gio/inotify/ginotifyfilemonitor.c:
4740 * gio/inotify/ginotifyfilemonitor.h:
4741 Add proper copyright information and remove an unused variable
4742 in the GInotifyFileMonitor constructor.
4744 * gio/gcancellable.c:
4745 Add a guard for a public function and an assertion to prevent
4746 an undefined program state.
4748 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4750 * gio/gfileattribute.c:
4751 Don't run into an assertion if the given attribute value is NULL
4752 in g_file_attribute_value_get_*() but instead return a fallback
4753 value that makes sense in most situations. Passing them a attribute
4754 value with the wrong type will still run into an assertion.
4756 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4758 * gio/gfileattribute.c:
4760 Add even more guards to the public functions. Also fix the refcounting
4761 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4762 let g_file_info_list_attributes() filter the attributes by namespace
4763 instead of simply ignoring the namespace parameter.
4765 2007-11-03 Sven Herzberg <sven@imendio.com>
4767 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4768 (This makes gio work on MacOS X again)
4770 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4773 Build the gio subdirectory before the docs. Otherwise the build will
4776 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4777 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4778 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4779 Add guards to the public functions.
4781 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4783 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4784 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4785 to prevent a compiler warning.
4787 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4788 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4789 return something in the non-void function find_topdir_for().
4791 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4798 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4800 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4801 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4802 * gwin32appinfo.c (g_win32_app_info_launch):
4803 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4804 envp_for_startup_id, g_desktop_app_info_launch,
4805 g_desktop_app_info_launch_uris):
4807 Give an opaque 'startup_id' string instead of 'envp'.
4808 Support empty file lists for launching new windows.
4809 Fix infinite recursion bug when launching URIs.
4811 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4814 Add guard to the new g_file_get_uri_scheme() function.
4816 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4819 Convert a g_return_val_if_fail() to setting the GError instead as
4820 otherwise applications have to verify the parameter before otherwise
4821 and the parameter might come directly from the user.
4823 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4825 * gio/inotify/ginotify*.[ch]:
4826 Add missing copyright information.
4828 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4831 Add guards in the beginning of public functions to check for valid
4832 parameters and fix a bug in copy_stream_with_progress() that could've
4833 caused writing less bytes than reading.
4834 * gio/glocalfileinfo.c:
4835 Check for a NULL parameter and set the GError accordingly then.
4836 * gio/goutputstream.c:
4837 Fix the same bug as in gfile.c that could've caused writing less bytes
4838 than reading in g_output_stream_real_splice().
4840 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4843 Use the correct gvolumeprivate.h naming
4845 2007-11-01 Christian Kellner <gicmo@gnome.org>
4848 Remove leftover "$(daemon_sources)" entry.
4850 2007-11-01 Christian Kellner <gicmo@gnome.org>
4855 Add copyright information to source files.
4857 2007-11-01 Alexander Larsson <alexl@redhat.com>
4861 Add g_file_get_uri_scheme
4863 2007-11-01 Alexander Larsson <alexl@redhat.com>
4866 * gio/gdesktopappinfo.c:
4867 * gio/gwin32appinfo.c:
4868 Add g_app_info_get_default_for_uri_scheme.
4870 2007-11-01 Alexander Larsson <alexl@redhat.com>
4873 Correct filename for gdriveprivate.h
4875 2007-10-31 Alexander Larsson <alexl@redhat.com>
4878 Rename id:value to id:file
4881 * gio/glocalfileinfo.c:
4884 2007-10-31 Alexander Larsson <alexl@redhat.com>
4886 * gio/gunixvolume.c:
4888 Remove g_volume_get_platform_id, as thats not
4889 needed with the simpler union volume monitor
4891 2007-10-31 Alexander Larsson <alexl@redhat.com>
4894 * gio/guniondrive.[ch]: Removed.
4895 * gio/gunionvolume.[ch]: Removed.
4896 Remove GUnionDrive/Volume
4898 * gio/gunionvolumemonitor.c:
4899 Simplify union volume monitor, now we
4900 only have one native volume monitor and
4901 we use the actual volumes/drives from the
4902 child monitors instead of wrapping them
4904 * gio/gnativevolumemonitor.[ch]:
4905 Base class for native volume monitors.
4906 Includes priority and get_volume_for_mountpoint
4909 Add g_file_find_enclosing_volume
4912 Remove volume name fs attribute
4913 Add readonly fs attribute
4916 Implement readonly attribute
4917 remove volume name attribute
4918 Implement find_enclosing volume
4920 * gio/gunixmounts.c:
4921 Add a volume for "/".
4923 * gio/gunixvolume.[ch]:
4924 Set better name for /
4926 * gio/gunixvolumemonitor.[ch]:
4927 Derive from GNativeVolumeMonitor
4928 Implement get_volume_for_mountpoint
4931 GVolume typedef moved to gfile.h
4933 * gio/gvolumeprivate.h:
4934 Add g_volume_get_for_mount_path
4936 2007-10-31 Alexander Larsson <alexl@redhat.com>
4938 * gio/gunixmounts.[ch]:
4939 Add cache info to unix mount listers
4940 Make getmntent use threadsafe
4941 Add is_system_internal attribute for GUnixMount
4943 * gio/gunixvolume.c:
4944 (g_unix_volume_new):
4945 Use is_system_internal instead of own code
4947 * gio/glocaldirectorymonitor.c:
4948 * gio/gunixvolumemonitor.c:
4949 Update to new gunixmounts API
4954 2007-10-30 Alexander Larsson <alexl@redhat.com>
4957 Add volume name fsinfo attribute
4960 Read volume name info
4962 * gio/gunionvolumemonitor.c:
4963 Fix infinite loops when finalizing a union volume monitor
4965 2007-10-30 Alexander Larsson <alexl@redhat.com>
4967 * gio/goutputstream.[ch]:
4968 Add splice() with default implementation
4970 * gio/gsocketoutputstream.c:
4971 (g_socket_output_stream_write):
4972 Return error on cancellation correctly.
4974 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4976 * gio/glocalfile.c (g_local_file_trash):
4977 Do not leak a string.
4979 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4981 * gio/gfile.c (g_file_load_contents):
4982 Unref the stream after closing it.
4984 2007-10-25 Alexander Larsson <alexl@redhat.com>
4986 * gio/gioscheduler.h:
4989 2007-10-25 Alexander Larsson <alexl@redhat.com>
4993 Add g_file_has_uri_scheme and implement for local files
4995 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4997 * gio/gdesktopappinfo.c: do not leak a string.
4999 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5001 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5002 (g_local_directory_monitor_new):
5003 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5004 (g_local_file_monitor_new):
5005 Only look for the monitor type that should be used the first time
5006 and use g_qsort_with_data() instead of our own bubble sort
5009 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5012 * gio/fam/Makefile.am:
5013 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5014 * gio/fam/fam-helper.h:
5015 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5016 * gio/fam/gfamdirectorymonitor.c:
5017 * gio/fam/gfamdirectorymonitor.h:
5018 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5019 * gio/fam/gfamfilemonitor.h:
5020 * gio/glocaldirectorymonitor.c:
5021 * gio/glocaldirectorymonitor.h:
5022 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5023 * gio/glocalfilemonitor.h:
5024 * gio/inotify/Makefile.am:
5025 * gio/inotify/ginotifydirectorymonitor.c:
5026 * gio/inotify/ginotifydirectorymonitor.h:
5027 * gio/inotify/ginotifyfilemonitor.c:
5028 * gio/inotify/ginotifyfilemonitor.h:
5029 Implement the FAM and Inotify monitors as
5030 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5031 their own GIO module. GLocal(Directory|File)Monitor will use the
5032 monitor with the highest rank that is supported on that machine.
5034 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5037 Change GIO module dir to $(libdir)/gio/modules and change
5038 the log domain from GVFS to GIO. Also only export symbols starting
5039 with g_ in the resulting library.
5040 * gio/test-streams.c: (main):
5041 Set log handler for the GIO log domain.
5043 2007-10-22 Alexander Larsson <alexl@redhat.com>
5045 * gio/gfilenamecompleter.[ch]:
5046 Add g_filename_completer_set_dirs_only
5048 2007-10-22 Alexander Larsson <alexl@redhat.com>
5051 * gio/gurifuncs.[ch]:
5052 Add some simple URI helpers
5054 * gio/gfilenamecompleter.[ch]:
5055 Added object for filename (parse name actually) completion
5058 Handle ~ in parse names
5060 2007-10-17 Alexander Larsson <alexl@redhat.com>
5063 * gio/glocalfileinfo.c:
5064 Add and implement id:value attribute
5066 2007-10-17 Alexander Larsson <alexl@redhat.com>
5069 * gio/guniondrive.c:
5071 Add and implement g_drive_has_volumes
5073 2007-10-17 Alexander Larsson <alexl@redhat.com>
5076 * gio/glocalfileinfo.[ch]:
5077 Add unix:is_mountpoint and implement for local files
5079 2007-10-16 Alexander Larsson <alexl@redhat.com>
5081 * gio/gunionvolumemonitor.c:
5082 (g_union_volume_monitor_init):
5083 Fix up the unix type getting so that it works with gcc
5085 2007-10-12 Alexander Larsson <alexl@redhat.com>
5088 * gio/glocalfileinfo.c:
5089 Add thumbnail:failed to file info
5091 2007-10-12 Richard Hult <richard@imendio.com>
5093 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5094 optimizing away the get_type call (happens with some gcc versions,
5095 like the one shipped with OS X 10.4).
5097 2007-10-12 Alexander Larsson <alexl@redhat.com>
5099 * gio/glocalfileinfo.c:
5100 (_g_local_file_info_set_attribute):
5101 Fix build if not HAVE_XATTR
5102 Patch from Milosz Derezynski <internalerror@gmail.com>
5104 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5106 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5107 around for review, otherwise I would have asked you before
5110 2007-10-11 Alexander Larsson <alexl@redhat.com>
5113 Add thumbnail:path attribute
5115 * gio/glocalfileinfo.c:
5116 Implement thumbnail:path for local files
5118 2007-10-11 Alexander Larsson <alexl@redhat.com>
5120 * gio/glocalfileinfo.c:
5121 (_g_local_file_info_get):
5122 Avoid duplicate icon names
5124 2007-10-11 Alexander Larsson <alexl@redhat.com>
5126 * gio/gthemedicon.[ch]:
5127 Change g_themed_icon_get_names return type to const
5129 2007-10-10 Alexander Larsson <alexl@redhat.com>
5131 * gio/glocalfileinfo.c:
5132 Don't reference freed memory
5134 2007-10-10 Alexander Larsson <alexl@redhat.com>
5136 * gio/gfileattribute.c:
5139 * gio/glocalfileinfo.c:
5142 2007-10-10 Alexander Larsson <alexl@redhat.com>
5145 Check for NULL icons
5147 * gio/gfileattribute.c:
5148 Don't dup when getting objects (same as for string attributes)
5150 * gio/gicon.c (g_icon_equal):
5151 Safely handle NULLs in equal
5153 2007-10-10 Alexander Larsson <alexl@redhat.com>
5156 Fix c++ compilation issues
5157 Patch from Milosz Derezynski <internalerror@gmail.com>
5159 2007-10-10 Alexander Larsson <alexl@redhat.com>
5161 * programs/gio-monitor-dir.c:
5162 Don't crash if dir monitor not supported.
5164 2007-10-09 Alexander Larsson <alexl@redhat.com>
5167 Add missing G_END_DECLS
5169 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5171 * gio/gfile.c: (g_file_set_display_name),
5172 (g_file_query_settable_attributes),
5173 (g_file_query_writable_namespaces):
5174 Return NULL not FALSE on errors as the return type is a pointer.
5176 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5178 * gio/glocalfile.c: (g_local_file_monitor_file):
5179 Don't call monitor_file on the default interface vtable (which
5180 is NULL) but simply return NULL. The caller, GFile, will create a
5181 polling monitor if NULL is returned.
5183 2007-10-09 Alexander Larsson <alexl@redhat.com>
5187 * gio-unix-2.0.pc.in:
5188 Add gio-unix-2.0.pc if OS_UNIX
5191 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5193 2007-10-09 Alexander Larsson <alexl@redhat.com>
5195 * gio/gunixmounts.[ch]:
5196 Make unix mount monitoring API sane.
5197 Now its just a object with mounts_changed
5198 and mountpoints_changed signals.
5200 * gio/glocaldirectorymonitor.c:
5201 * gio/gunixvolumemonitor.c:
5202 Use new mount monitor api
5204 2007-10-09 Alexander Larsson <alexl@redhat.com>
5206 * gio/gunixmounts.[ch]:
5207 Move guess type into one call for mounts and one for mountpoints
5210 * gio/gunixvolume.c:
5213 2007-10-09 Alexander Larsson <alexl@redhat.com>
5215 * gio/gunixmounts.[ch]:
5216 Remove _ prefix in preparation to make this semi-public
5217 Hide implementation of structs
5219 * gio/glocaldirectorymonitor.c:
5221 * gio/gunixvolume.c:
5222 * gio/gunixvolumemonitor.c:
5223 Update for above API changes
5225 2007-10-08 Alexander Larsson <alexl@redhat.com>
5228 Better polling fallback. This also handles the case where we have
5229 a monitor_file implementation, but it fails.
5231 2007-10-08 Alexander Larsson <alexl@redhat.com>
5235 * gio/gunixmounts.c:
5236 * programs/gio-monitor-dir.c:
5237 * programs/gio-monitor-file.c:
5238 Added cancellable to file monitoring calls.
5239 These are really sync calls and need this.
5241 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5243 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5244 (g_local_vfs_class_init):
5245 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5246 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5248 2007-10-05 Alexander Larsson <alexl@redhat.com>
5250 * gio/gdirectorymonitorprivate.h:
5251 * gio/gfilemonitorprivate.h:
5252 * gio/gdirectorymonitor.h:
5253 * gio/gfilemonitor.h:
5254 Remove *private.h and move to the public API, so that
5255 we can do implementations outside gio (such as in gvfs)
5257 * gio/gdirectorymonitor.c:
5258 * gio/gfilemonitor.c:
5259 * gio/glocaldirectorymonitor.c:
5260 * gio/gpollfilemonitor.c:
5261 * gio/inotify/inotify-helper.c:
5262 * gio/fam/fam-helper.c:
5263 Update to the new header names
5265 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5267 * gio/gdirectorymonitor.c:
5268 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5271 2007-10-04 Alexander Larsson <alexl@redhat.com>
5273 * gio/glocalfileinfo.c (get_access_rights):
5274 Set CAN_TRASH when we can move the file.
5275 We should really also check for a parent trash dir.
5277 2007-10-04 Alexander Larsson <alexl@redhat.com>
5279 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5280 Add can_trash access attribute
5282 2007-10-04 Alexander Larsson <alexl@redhat.com>
5285 (g_local_file_trash):
5286 Create info file first. This is per-spec and allows
5287 us to actually trash directories.
5289 2007-10-02 Alexander Larsson <alexl@redhat.com>
5291 * gio/gdesktopappinfo.c:
5292 Implement the new mime support code.
5293 Always set app as handling mimetype when being set as default for it
5295 2007-10-01 Alexander Larsson <alexl@redhat.com>
5297 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5298 Fix up check for xattrs:
5300 2007-10-01 Alexander Larsson <alexl@redhat.com>
5303 (g_app_info_set_as_default_for_extension):
5304 (g_app_info_add_supports_type):
5305 (g_app_info_can_remove_supports_type):
5306 (g_app_info_remove_supports_type):
5307 Make these fail nicely if not implemented
5309 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5311 * gio/glocalfileoutputstream.c:
5312 * gio/glocalfileoutputstream.h:
5317 * programs/gio-save.c:
5318 Add a GFileCreateFlags argument to operations that can create
5321 2007-10-01 Alexander Larsson <alexl@redhat.com>
5323 * gio/gappinfo.[ch]:
5324 * gio/gdesktopappinfo.c:
5325 Add more (stubbed out) mime API needed for nautilus
5327 2007-10-01 Alexander Larsson <alexl@redhat.com>
5330 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5331 Add g_app_info_set_as_default_for_extension.
5333 * gio/gdesktopappinfo.c:
5334 Dummy for g_app_info_set_as_default_for_extension
5335 Support flags in g_app_info_create_from_commandline
5337 * gio/gwin32appinfo.c:
5339 Update for API changes
5341 * gio/gthemedicon.c:
5342 Properly NULL-terminate list of icon names
5344 2007-09-28 Alexander Larsson <alexl@redhat.com>
5346 * gio/gloadableicon.h:
5347 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5349 2007-09-28 Alexander Larsson <alexl@redhat.com>
5352 Install headers in $includedir/gio-standalone/
5354 * gio-2.0.pc.in: Added.
5355 * gio-standalone.pc.in: Removed.
5358 Renamed pkg-config file to match glib (for future move)
5359 Update to the new include dir
5362 Add more TODO comments
5364 2007-09-28 Alexander Larsson <alexl@redhat.com>
5366 * gio/gdesktopappinfo.[ch]:
5367 Expose new_from_filename
5368 Add getter for is_hidden and handle it better
5370 2007-09-28 Alexander Larsson <alexl@redhat.com>
5372 * gio/gfileinfo.[ch]:
5373 Rename g_file_size_format_for_display to
5374 g_format_file_size_for_display.
5375 Now it doesn't have the g_file prefix, so we
5376 can later move it to glib.
5378 2007-09-28 Alexander Larsson <alexl@redhat.com>
5380 * gio/gappinfo.[ch]:
5381 Add g_app_info_get_id and g_app_info_get_executable.
5382 Make all getters non-reffing
5383 Make g_app_info_launch take GFile arguments.
5384 Add must_support_uris argument to g_app_info_get_default_for_type.
5386 * gio/gwin32appinfo.c:
5387 Update to GAppInfo api changes
5389 * gio/gdesktopappinfo.c:
5390 Update to GAppInfo api changes
5391 Implement supports_xdg_startup_notify
5393 * gio/gfileicon.c (g_file_icon_get_file):
5394 Make getter non-reffing.
5399 2007-09-27 Alexander Larsson <alexl@redhat.com>
5401 * gio/gfileinfo.[ch]:
5402 Add g_file_size_format_for_display helper
5404 2007-09-27 Alexander Larsson <alexl@redhat.com>
5406 * gio/glocalfileinfo.c:
5407 Set UNIX_GID from gid, not from uid
5409 2007-09-27 Alexander Larsson <alexl@redhat.com>
5412 Add g_file_set_attributes_async
5414 2007-09-27 Alexander Larsson <alexl@redhat.com>
5416 * gio/glocalfile.c (g_local_file_set_display_name):
5417 Fix set_display_name to actually rename to the right place.
5418 Use lstat to look for existing files so we don't overwrite
5421 2007-09-26 Alexander Larsson <alexl@redhat.com>
5424 Add g_file_set_display_name_async()
5426 2007-09-26 Alexander Larsson <alexl@redhat.com>
5429 Add load_partial_contents async calls
5432 Make internal function static
5434 2007-09-26 Alexander Larsson <alexl@redhat.com>
5436 * gio/glocalfileinfo.c:
5437 Correctly detect broken symlinks
5439 2007-09-26 Alexander Larsson <alexl@redhat.com>
5441 * gio/gcancellable.c (g_cancellable_cancel):
5442 Allow cancel on NULL cancellable
5444 2007-09-25 Alexander Larsson <alexl@redhat.com>
5446 * gio/gsimpleasyncresult.c:
5447 Don't allocate g_error manually.
5448 Fixes g_slice/g_new mixup crash
5450 2007-09-25 Alexander Larsson <alexl@redhat.com>
5452 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5453 Actually set active_backend.
5454 This means the monitor will be cancelled correctly.
5456 2007-09-25 Alexander Larsson <alexl@redhat.com>
5458 * gio/gdirectorymonitor.c:
5459 Set timeout to NULL when destroying
5461 2007-09-25 Alexander Larsson <alexl@redhat.com>
5464 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5465 that is a better description of the error.
5467 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5469 * gio/gvfs.c: (g_vfs_get_local):
5470 Make the local vfs variable static. The same instance should
5473 2007-09-24 Alexander Larsson <alexl@redhat.com>
5475 * gio/glocalfileinfo.c:
5476 Pass in actual length read into sniffer, not the length
5479 2007-09-21 Alexander Larsson <alexl@redhat.com>
5481 * gio/gfileenumerator.c:
5484 * gio/gfileinputstream.c:
5485 * gio/gfileoutputstream.c:
5486 * gio/ginputstream.c:
5487 * gio/goutputstream.c:
5488 Don't crash if async callbacks are NULL
5490 2007-09-20 Alexander Larsson <alexl@redhat.com>
5493 Add async enumerate_children method and default
5496 2007-09-20 Alexander Larsson <alexl@redhat.com>
5499 Add g_file_contains_file & g_file_get_relative_path, since they
5500 were needed for nautilus.
5501 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5506 Implement new methods
5508 2007-09-17 Alexander Larsson <alexl@redhat.com>
5511 * gio/gfileinputstream.[ch]:
5512 * gio/gfileoutputstream.[ch]:
5514 * gio/glocalfileenumerator.[ch]:
5515 * gio/glocalfileinfo.[ch]:
5516 * gio/glocalfileinputstream.c:
5517 * gio/glocalfileoutputstream.c:
5518 * gio/gpollfilemonitor.c:
5519 * programs/gio-copy.c:
5520 * programs/gio-info.c:
5521 * programs/gio-move.c:
5522 Rename get_file_info to query_info() to make it clearer
5523 that these are not simple getters, but do i/o.
5525 2007-09-17 Alexander Larsson <alexl@redhat.com>
5527 * gio/gdatainputstream.[ch]:
5528 * gio/test-streams.c:
5529 Use _read_XXX instead of _get_XXX for the i/o calls
5532 2007-09-17 Alexander Larsson <alexl@redhat.com>
5535 Added needed stuff to TODO comment
5537 2007-09-17 Alexander Larsson <alexl@redhat.com>
5539 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5540 Don't error out removing the backup copy if it doesn't
5543 2007-09-14 Alexander Larsson <alexl@redhat.com>
5545 * programs/Makefile.am:
5546 * programs/gvfs-*.c:
5548 Renamed apps from gvfs-xxx to gio-xxx.
5550 2007-09-14 Alexander Larsson <alexl@redhat.com>
5553 * gio/gfileoutputstream.[ch]:
5554 * gio/glocalfileoutputstream.c:
5555 * programs/gvfs-save.c:
5556 g_file_output_stream_get_etag doesn't do i/o, so remove
5557 cancellation and error.
5559 2007-09-14 Alexander Larsson <alexl@redhat.com>
5562 Add new_etag output to replace_contents functions
5564 2007-09-14 Alexander Larsson <alexl@redhat.com>
5566 * gio/gfileoutputstream.[ch]:
5567 Add async get_file_info and default implementation
5569 2007-09-14 Alexander Larsson <alexl@redhat.com>
5571 * gio/gfileinputstream.c:
5572 Implement fallback wrapper for async get_file_info
5574 2007-09-14 Alexander Larsson <alexl@redhat.com>
5577 Add etag out argument to load_contents
5582 2007-09-14 Alexander Larsson <alexl@redhat.com>
5584 * gio/gcontenttype.c (looks_like_text):
5585 Whitespace like tab, cr and lf do not make the
5588 2007-09-14 Alexander Larsson <alexl@redhat.com>
5590 * gio/gfileinputstream.[ch]:
5591 Add async get_file_info.
5593 2007-09-13 Alexander Larsson <alexl@redhat.com>
5595 * gio/goutputstream.c (g_output_stream_write_all):
5596 Allow NULL for bytes_written
5598 2007-09-13 Alexander Larsson <alexl@redhat.com>
5600 * gio/gmemoryinputstream.[ch]:
5601 Add accessors for data
5603 2007-09-13 Alexander Larsson <alexl@redhat.com>
5605 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5606 Don't crash if length is NULL