1 2009-02-25 Alexander Larsson <alexl@redhat.com>
3 Bug 570073 – Add support for reading filesystems on Interix
5 * gunixmounts.c (_g_get_unix_mounts):
6 Support Interix. Patch from Fabian Groffen
8 2009-02-25 Paolo Borelli <pborelli@katamail.com>
10 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
12 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
14 2009-02-23 Alexander Larsson <alexl@redhat.com>
17 Remove accidentally commited spew
19 2009-02-20 Alexander Larsson <alexl@redhat.com>
22 (g_content_type_guess):
23 Don't ever sniff desktop files when the filename is known.
24 In other words, only allow desktop files with the .desktop extension
25 and when the filename isn't known.
26 This is a security precaution since desktop files can execute
27 arbitrary code when launched and we don't want to allow them to
28 try and hide as another type. There is no legit reason to not
29 have the .desktop extension anyway.
31 2009-02-19 Alexander Larsson <alexl@redhat.com>
33 Bug 549298 – impossible to copy files with p (pipe) flag
37 Error out if the source file is a special file
39 2009-02-18 Alexander Larsson <alexl@redhat.com>
41 Bug 560564 – Replacing a symlink with its linked file truncates the original file
44 Add G_FILE_CREATE_REPLACE_DESTINATION
46 * glocalfileoutputstream.c:
47 (handle_overwrite_open):
48 (_g_local_file_output_stream_replace):
49 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
53 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
56 2009-02-17 Ryan Lortie <desrt@desrt.ca>
58 * gfileinfo.c: unref the destination's attribute matcher before
61 2009-02-17 Matthias Clasen <mclasen@redhat.com>
63 * === Released 2.19.8 ===
65 2009-02-17 Matthias Clasen <mclasen@redhat.com>
67 * gio.symbols: Add missing exports for new API
69 * gdatainputstream.c: Add missing Since: tags.
71 2009-02-16 Matthias Clasen <mclasen@redhat.com>
73 * === Released 2.19.7 ===
75 2009-02-16 Matthias Clasen <mclasen@redhat.com>
77 * gmountoperation.[hc]: Add an "aborted" signal to abort a
78 mount operation from the backend side.
80 * gvolume.h: Add docs regarding the "aborted" signal.
82 2009-02-16 Ryan Lortie <desrt@desrt.ca>
84 Bug 505042 – add file attribute for actually used file size in bytes
86 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
87 "standard::allocated-size"
88 * gfileattribute.c: document
89 * glocalfileinfo.c: set the allocated size from st_blocks * 512
91 2009-02-16 Ryan Lortie <desrt@desrt.ca>
93 Bug 571598 – GAsyncResult with NULL gobject
95 * gsimpleasyncresult.c: remove various assertions and add some checks
96 to allow for a NULL source_object in GSimpleAsyncResult.
98 2009-02-11 Matthias Clasen <mclasen@redhat.com>
100 Bug 541225 – Can't compile gio on AIX : duplicate case value in
103 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
104 Reported by Nicolas Joseph
106 2009-02-04 Alexander Larsson <alexl@redhat.com>
108 Bug 566747 - URIs opened with firefox %u load as local files
110 * gdummyfile.c (g_dummy_file_get_path):
111 Dummy files are never used for local paths, so always return NULL
114 2009-02-02 Matthias Clasen <mclasen@redhat.com>
116 * === Released 2.19.6 ===
118 2009-01-31 Paolo Borelli <pborelli@katamail.com>
120 * glocalfileinfo.c: plug a tiny mem leak.
122 2009-01-29 Ryan Lortie <desrt@desrt.ca>
124 * gioerror.c (g_io_error_from_errno): handle all possible cases of
125 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
127 2009-01-28 Ryan Lortie <desrt@desrt.ca>
129 Bug 568575 – _async functions for GDataInputStream
131 * gdatainputstream.h:
132 * gdatainputstream.c: add _async versions of read_line and read_until.
134 * ../docs/reference/gio/gio-sections.txt: add new functions
135 * tests/sleepy-stream.c: new test case for async read line
136 * tests/Makefile.am: add new test
138 2009-01-22 Ryan Lortie <desrt@desrt.ca>
140 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
142 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
143 g_buffered_input_stream_fill): check for count < -1 instead of count <
144 0 and copy modified check to non-async version for consistency.
145 document the "count = -1" API.
147 2009-01-22 Ryan Lortie <desrt@desrt.ca>
149 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
151 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
152 after we have successfully read data from the base stream
154 2009-01-20 Ryan Lortie <desrt@desrt.ca>
156 Bug 568394 – dropping the last reference to a stream filter closes the
159 * gfilterinputstream.h:
160 * gfilterinputstream.c: add "close-base-stream" property and only
161 close the base stream if it is true. issue async close callbacks from
162 correct source object.
163 * gfilteroutputstream.h:
164 * gfilteroutputstream.c: add a "close-base-stream" property and only
165 close the base stream if it is true. issue async close callbacks from
166 correct source object.
167 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
168 before closing the base stream. fix invalid source tag comparison in
169 close_async (was comparing to flush_async).
170 * ../docs/reference/gio/gio-sections.txt:
172 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
173 * tests/filter-streams.c: new test cases
174 * tests/Makefile.am: add new test
175 * tests/.gitignore: add new test
177 2009-01-19 Matthias Clasen <mclasen@redhat.com>
179 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
181 2009-01-19 Matthias Clasen <mclasen@redhat.com>
183 * === Released 2.19.5 ===
185 2009-01-19 Matthias Clasen <mclasen@redhat.com>
187 * gappinfo.h: Document get_commandline vfunc
189 2009-01-19 Matthias Clasen <mclasen@redhat.com>
191 * gunixmounts.c: Some stylistic fixes.
193 2009-01-08 Matthias Clasen <mclasen@redhat.com>
195 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
196 functions in non-UTF8 locale
198 * xdgmime/xdgmimecache.c:
199 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
201 2009-01-08 Matthias Clasen <mclasen@redhat.com>
203 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
205 2009-01-07 Matthias Clasen <mclasen@redhat.com>
207 Bug 566770 – error code 0 for Too many open files is useless
209 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
210 Requested by Olivier Sessink.
212 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
214 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
215 G_IO_ERROR_TOO_MANY_OPEN_FILES.
217 2009-01-05 Matthias Clasen <mclasen@redhat.com>
219 * === Released 2.19.4 ===
221 2009-01-05 Dan Winship <danw@gnome.org>
223 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
224 "const char **" to avoid a warning.
226 * gemblem.c (g_emblem_from_tokens):
227 * gemblemedicon.c (g_emblemed_icon_from_tokens):
228 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
231 2009-01-05 Matthias Clasen <mclasen@redhat.com>
233 Bug 566064 – Add NOATIME flag to query_info_flags
235 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
236 sniffing for mime types. Based on a patch by A. Walton
238 2009-01-05 Ryan Lortie <desrt@desrt.ca>
240 * tests/.gitignore: improve
241 * tests/Makefile.am: add new simple-async-result test
242 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
244 2009-01-05 Ryan Lortie <desrt@desrt.ca>
247 * ../docs/reference/gio/gio-sections.txt:
248 * gsimpleasyncresult.h:
249 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
250 Implementation by Dan Winship. Closes #566170.
252 2008-12-31 Matthias Clasen <mclasen@redhat.com>
256 * gunixinputstream.c:
257 * gunixoutputstream.c: Add a note about being UNIX-specific.
259 2008-12-15 Matthias Clasen <mclasen@redhat.com>
261 * === Released 2.19.3 ===
263 2008-12-12 Dan Winship <danw@gnome.org>
265 * pltcheck.sh: make this work on x86_64
267 2008-12-12 Ryan Lortie <desrt@desrt.ca>
269 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
272 2008-12-12 Ryan Lortie <desrt@desrt.ca>
274 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
275 multiple mount entries match the requested path
277 2008-12-10 Alexander Larsson <alexl@redhat.com>
279 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
280 g_simple_async_result_run_in_thread
282 * gsimpleasyncresult.c:
283 Make g_simple_async_result_run_in_thread check cancellation before
284 calling out to the user in the callback. This means we guarantee
285 reporting cancels of async operations from the main threads, which
286 is probably more in line with what users expect.
288 Note that there are still no such guarantees for cancelling sync
289 operations or cancelling async operation from outside the main
290 thread. Furthermore, the exact behaviour of async implementations
291 not using run_in_thread may differ.
293 2008-12-09 Alexander Larsson <alexl@redhat.com>
295 Bug 515777 - incorrect date&time on copy
298 (g_local_file_class_init):
299 Copy mtime by default
302 Change docs about G_FILE_COPY_ALL_METADATA to not mention
305 2008-12-08 Matthias Clasen <mclasen@redhat.com>
307 Bug 558298 – Hide ecryptfs mounts
309 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
310 so that the desktop does not show both the mount and the target
311 directory. Patch by Martin Pitt
313 2008-12-08 Matthias Clasen <mclasen@redhat.com>
315 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
319 * gunixinputstream.[hc]:
320 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
321 including getters and setters. Patch by Maciej Piechotka
323 2008-12-07 Matthias Clasen <mclasen@redhat.com>
325 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
327 * tests/live-g-file.c: Support compilers that don't understand
328 ISO C varargs macros. Patch by Eric Lamarque
330 2008-12-07 Matthias Clasen <mclasen@redhat.com>
332 Bug 526320 – should not list mounts that the user doesn't have
335 gunixmounts.c: Use g_access() to check accessibility of local devices.
338 2008-12-01 Matthias Clasen <mclasen@redhat.com>
340 * === Released 2.19.2 ===
342 2008-12-01 Matthias Clasen <mclasen@redhat.com>
344 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
345 behaviour change, and update the docs instead, to avoid breaking
348 2008-12-01 Matthias Clasen <mclasen@redhat.com>
350 * === Released 2.19.1 ===
352 2008-12-01 Alexander Larsson <alexl@redhat.com>
356 * gunionvolumemonitor.c:
358 Add and document g_mount_is_shadowed plus calls
359 to set/unset a mount as shadowed
361 2008-11-28 Matthias Clasen <mclasen@redhat.com>
363 * gio/tests/g-icon.c: Comment out two failing tests
365 2008-11-28 Matthias Clasen <mclasen@redhat.com>
367 Bug 555486 – No way to recover command line from GAppInfo
370 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
371 by Hans Petter Jansson.
373 * gdesktopappinfo.c: And implement it here.
375 2008-11-28 Christian Dywan <christian@imendio.com>
377 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
379 2008-11-28 Matthias Clasen <mclasen@redhat.com>
381 Bug 559633 – gtk_image_new_from_gicon does not always work for
384 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
385 extensions on icon names. Proposed by Axel von Bertoldi.
387 2008-11-28 Matthias Clasen <mclasen@redhat.com>
389 Bug 548163 – Nautilus displays wrong error message for too long file
392 * glocalfile.c (g_local_file_set_display_name): Correctly set
393 error conditions if the new name is e.g. too long. Reported
394 by Leonardo Ferreira Fontenelle.
396 2008-11-28 Matthias Clasen <mclasen@redhat.com>
398 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
401 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
402 documented and include the line end in the returned string.
403 Pointed out by Paul Pogonyshev.
405 * tests/data-input-stream.c: Fix the read_line test to test the
406 documented behaviour.
408 2008-11-28 Matthias Clasen <mclasen@redhat.com>
410 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
411 files that have been created by g_app_info_create_from_commandline.
413 2008-11-28 Matthias Clasen <mclasen@redhat.com>
415 Bug 541715 – win32 : patch for warnings and signature problems in
418 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
421 2008-11-28 Matthias Clasen <mclasen@redhat.com>
423 Bug 562393 – g_buffered_input_stream_read_byte broken if data
426 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
427 handling of buffered content. Patch by Philip Withnall
429 * tests/buffered-input-stream.c: Add a testcase for this bug.
430 * tests/Makefile.am: And build it
432 2008-11-28 Matthias Clasen <mclasen@redhat.com>
434 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
437 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
438 '/' away. Spotted by Dan Williams.
440 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
442 Bug 561375 – Leaks mountpoint description
444 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
447 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
449 Bug 561352 – Leak of icon description
451 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
454 2008-11-14 Matthias Clasen <mclasen@redhat.com>
456 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
458 2008-11-12 Tor Lillqvist <tml@novell.com>
460 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
462 * win32/gwinhttpvfs.h: Move the set of function pointers to
463 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
464 pointer to that in the GWinHttpVfsClass.
466 * win32/gwinhttpvfs.c: Move the lookup of functions from
467 winhttp.dll into a function of its own, that stores the pointers
468 in a separate GWinHttpDllFuncs variable. Add two bookeeping
469 booleans lookup_done and funcs_found.
471 Don't call g_io_extension_point_implement() to register the
472 winhttp extension unless winhttp.dll has been successfully loaded
473 and the required functions found in it.
475 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
476 winhttp.dll correspondingly.
478 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
480 reviewed by: Alexander Larsson <alexl@redhat.com>
482 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
483 clearer about the behavior when there's no more content to read.
485 2008-10-27 Federico Mena Quintero <federico@novell.com>
487 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
489 2008-10-27 Tor Lillqvist <tml@novell.com>
491 Bug 557592 - Missing include in gwinhttpfile.c
493 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
496 2008-10-24 Matthias Clasen <mclasen@redhat.com>
498 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
500 * fam/fam-helper.c: Fix a memory leak and formatting issues.
501 Reported by Daniel Marjamäki
503 2008-10-23 Matthias Clasen <mclasen@redhat.com>
505 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
507 2008-10-23 Alexander Larsson <alexl@redhat.com>
509 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
512 (_g_local_file_info_get):
513 Don't return the fallback icon (text-x-generic) for all files.
514 This is causing problems with theme icon lookup and custom mime
515 icons, as the generic fallback overrides custom mime icons in
518 This is a slight change as applications might not get an icon wher
519 they previously did. But there is no guarantee to get on neither before
520 or after this change, so it should not break applications. Changes
521 to nautilus and gtk+ will be done to manually use the generic fallback
522 icon if no icon is found, but this is only required for rare cases.
524 2008-10-21 Alexander Larsson <alexl@redhat.com>
527 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
529 2008-10-21 Alexander Larsson <alexl@redhat.com>
531 Bug 555740 - gicon serialization
532 Based on patch from David Zeuthen
536 Add g_icon_to_string() and g_icon_new_for_string().
542 Implement icon serialization for built-in icon types
546 Added GIcon serialization test
548 2008-10-16 Matthias Clasen <mclasen@redhat.com>
550 * === Released 2.19.0 ===
552 2008-10-16 Matthias Clasen <mclasen@redhat.com>
554 Bug 556422 – g_file_enumerator_next_file: unclear whether return
555 value needs to be freed
557 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
558 the return value docs. Pointed out by Armin Burgmeier
560 2008-10-14 Matthias Clasen <mclasen@redhat.com>
562 Bug 556334 – Warning when building without selinux support
564 * glocalfileinfo.c: Avoid compiler warnings when selinux is
565 disabled. Patch by Pascal Terjan
567 2008-10-14 Matthias Clasen <mclasen@redhat.com>
569 Bug 556335 – make check fails in abicheck.sh
571 * gio.symbols: Add g_file_attribute_info_list_get_type.
572 Pointed out by Pascal Terjan.
574 2008-10-13 Alexander Larsson <alexl@redhat.com>
577 When adding an application as handling a mime type (but
578 not as the default), copy the full list of desktop ids handling
579 that type in before adding the new one on the end of the list.
580 This means we're not accidentally changing the default by overriding
581 the info from the later directories in the search path.
583 Also, fixes small leak of removed_entries.
585 2008-10-12 David Zeuthen <davidz@redhat.com>
588 * gunionvolumemonitor.c:
590 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
592 2008-10-10 Alexander Larsson <alexl@redhat.com>
594 * gfileattribute.c (escape_byte_string):
595 Upper half of byte is >> 4, not >> 8.
596 Found by Kjartan Maraas via sparse
598 2008-10-10 Matthias Clasen <mclasen@redhat.com>
600 Bug 555711 – Wrong fallback order of mimetype icons
602 * gcontenttype.c: Don't prefer generic icons over
603 default mimetype icons.
605 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
606 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
608 Patch by Krysztof Kosiński
610 2008-10-10 Matthias Clasen <mclasen@redhat.com>
612 Bug 555121 – Improved build-time handling of gio module-dir
614 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
615 * Makefile.am: Create the module dir.
617 2008-10-10 Matthias Clasen <mclasen@redhat.com>
619 * gio/glocalfileinfo.c:
620 * gio/tests/live-g-file.c:
621 * gio/gsimpleasyncresult.c: Fix gcc warnings.
623 2008-10-09 Alexander Larsson <alexl@redhat.com>
625 * gunixinputstream.c (g_unix_input_stream_read):
626 Actually return -1 in case of cancelled, not old res value.
628 2008-10-06 Colin Walters <walters@verbum.org>
630 Bug 554745 - GFileAttributeInfoList should be boxed
632 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
633 for convenience of bindings.
634 * gio/gfileattribute.h: Prototype it.
636 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
638 Bug 554970 – segfault when update-desktop-database is not available
641 * gdesktopappinfo.c (run_update_command): Have the error set before
644 2008-10-01 David Zeuthen <davidz@redhat.com>
646 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
647 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
648 instead of the gio URI (such as sftp://foo/file.avi) when using
649 g_app_info_launch() and friends. With a sufficiently recent gvfs,
650 apps using gio+gvfs will map the FUSE file:// URI back to the gio
651 URI (and thus bypass the fuse daemon) thanks the patch from bug
652 #530654. Since Nautilus is an user of g_app_info_launch() it
653 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
654 when launced via the file manager. Win. Fixes bug #528670.
656 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
657 mapping to the description of GAppInfo.
659 2008-09-30 Tor Lillqvist <tml@novell.com>
661 * tests/Makefile.am: Build desktop-app-info only on Unix.
663 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
664 g_critical(). Pass a large enough result buffer to
665 GetVolumePathNameW(). Just use MAX_PATH.
667 2008-09-29 David Zeuthen <davidz@redhat.com>
669 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
671 2008-09-26 Dan Winship <danw@gnome.org>
673 * tests/data-input-stream.c:
674 * tests/data-output-stream.c:
675 * tests/live-g-file.c:
676 * tests/memory-input-stream.c:
677 * tests/memory-output-stream.c: Use g_assert_error() and
680 2008-09-26 Matthias Clasen <mclasen@redhat.com>
682 Bug 545350 – GAppInfo deletion
683 Bug 545351 – Reset associations for content type
686 * gappinfo.[hc]: New functions g_app_info_can_delete,
687 g_app_info_delete and g_app_info_reset_type_associations.
690 * gwin32appinfo.c: Implementations of these.
693 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
695 2008-09-26 Dan Winship <danw@gnome.org>
697 Bug 505361 – gunixinputstream.c assumes poll() available
698 Bug 509446 – portable blocking gio cancellation
700 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
701 GPollFD for a cancellable (which is slightly more complicated on
704 * gunixinputstream.c (g_unix_input_stream_read):
705 * gunixoutputstream.c (g_unix_output_stream_write): Use
706 g_cancellable_make_pollfd() and g_poll() rather than using poll()
709 * tests/unix-streams.c: test of GUnixInputStream,
710 GUnixOutputStream, and GCancellable.
712 2008-09-26 Dan Winship <danw@gnome.org>
714 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
715 cast to stop a gcc warning
717 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
720 2008-09-25 Dan Winship <danw@gnome.org>
722 Bug 553426 - cancellable clarifications
724 * gcancellable.c (g_cancellable_class_init): Add a note to the
725 "cancelled" signal docs warning about thread-safety issues
726 (g_cancellable_cancel): Note that cancelling an asynchronous
727 operation takes effect asynchronously, not immediately.
729 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
731 * gioenums.h: Add new GFileCopyFlag, to leave target file with
732 default perms, instead of setting the source file perms, in a copy
735 * gfile.c (g_file_copy_attributes)
736 (build_attribute_list_for_copy)
737 (should_copy): Not copy "unix::mode" attribute if we have received
738 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
740 2008-09-20 Matthias Clasen <mclasen@redhat.com>
742 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
744 2008-09-17 Matthias Clasen <mclasen@redhat.com>
746 * === Released 2.18.1 ===
748 2008-09-16 Michael Natterer <mitch@imendio.com>
750 * gcontenttype.c (g_content_type_guess): can't assign the return
751 value of g_strdupv() to an array. Fill the array manually with
752 const strings instead (it is never freed anyway). Fixes the
753 build. Also fixed indentation.
755 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
757 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
758 Fix trivial typo to unbreak the build (there was a colon
759 instead of a semicolon at the end of a statement).
761 2008-09-15 Matthias Clasen <mclasen@redhat.com>
763 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
766 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
769 2008-09-15 Matthias Clasen <mclasen@redhat.com>
771 Bug 551681 – g_content_type_guess() too naive with filenames
773 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
774 at the end of the filename, and declare it a directory.
775 Patch by Bastien Nocera
777 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
779 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
782 * gdesktopappinfo.c: add a note in the docs clarifying what the
783 "filename" parameter really is.
785 2008-09-12 Tor Lillqvist <tml@novell.com>
787 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
788 FormatMessage() etc here. Call g_win32_error_message() instead
789 which already does all that. Besides, the code was broken as it
790 called the default "A" version of FormatMessage() but still
791 thought it produced a wide string.
793 2008-09-12 Michael Natterer <mitch@imendio.com>
795 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
796 in the documentation.
798 2008-09-08 Christian Neumair <cneumair@gnome.org>
800 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
801 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
802 Use non-blocking pipe for mount helper I/O. Fixes #550647.
804 2008-09-06 Matthias Clasen <mclasen@redhat.com>
806 Bug 551149 – xdgmime mem leak
808 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
809 a memory leak. Patch by Christian Persch
811 2008-09-04 Tor Lillqvist <tml@novell.com>
813 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
816 2008-09-02 Matthias Clasen <mclasen@redhat.com>
818 * === Released 2.18.0 ===
820 2008-09-02 Michael Natterer <mitch@imendio.com>
822 * *.h: big header formatting cleanup: indentation, vtable
823 formatting, consistent spacing in (* vfunc), trailing whitespace
824 removal. Formatting should be pretty consistent in all GIO headers
827 2008-09-02 Matthias Clasen <mclasen@redhat.com>
829 * gmount.h: Document guess_content_type sync vfunc.
831 2008-09-02 Michael Natterer <mitch@imendio.com>
833 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
834 fix parent_class member to be GFilterOutputStreamClass (not
835 GOutputStreamClass). Drop three pointers of padding, which is
836 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
837 so the class struct size stays the same.
839 2008-09-02 Matthias Clasen <mclasen@redhat.com>
841 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
843 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
844 nonexisting return values. Pointed out by Cosimo Cecchi.
846 2008-08-23 Tor Lillqvist <tml@novell.com>
848 Bug 548988 - g_file_replace fails on Windows when the target file
851 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
852 Windows, close the file before potentially renaming it (in case we
853 have been writing to a file with a temporary name).
855 (g_local_file_output_stream_close, handle_overwrite_open): Use
856 GLocalFileStat instead of plain struct stat, for passing to
857 _g_local_file_info_create_etag(). Thus also use _fstati64()
858 instead of plain fstat() on Windows.
860 2008-08-18 Matthias Clasen <mclasen@redhat.com>
862 * === Released 2.17.7 ===
864 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
866 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
869 2008-08-13 Tor Lillqvist <tml@novell.com>
871 * win32/gwinhttpvfs.c
872 * win32/gwinhttpvfs.h
873 * win32/gwinhttpfile.c
874 * win32/gwinhttpfileinputstream.c
875 * win32/gwinhttpfileoutputstream.c: Refactor some common code
876 snippets into helper functions. Check HTTP response status
877 codes. Implement g_winhttp_file_query_info(), looking at
878 Content-Length, Content-Type and Last-Modified.
880 * win32/winhttp.h: Add some symbolic constants that are not
881 publicly documented. Just a handful, so it should be OK to use
882 information from the Windows SDK's headers.
884 2008-08-13 Tor Lillqvist <tml@novell.com>
886 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
889 * win32/gwin32directorymonitor.c
890 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
892 2008-08-13 Matthias Clasen <mclasen@redhat.com>
895 * goutputstream.c: Add intro docs.
897 2008-08-13 Tor Lillqvist <tml@novell.com>
899 * win32/gwinhttpfileoutputstream.c
900 (g_winhttp_file_output_stream_write): Don't write the
901 Content-Length header ourselves, WinHttpSendRequest() takes care
902 of that when the dwTotalLength parameter is non-zero. Increment
903 offset by the number of actual bytes sent, although I wonder if
904 such a scenario is possible where less than requested would be
905 sent and accepted by the server without errors.
907 2008-08-13 Tor Lillqvist <tml@novell.com>
909 * win32/gwinhttpvfs.c
910 * win32/gwinhttpvfs.h
911 * win32/gwinhttpfile.c
912 * win32/gwinhttpfile.h
913 * win32/gwinhttpfileinputstream.c
914 * win32/gwinhttpfileinputstream.h
915 * win32/gwinhttpfileoutputstream.c
916 * win32/gwinhttpfileoutputstream.h: New files implementing
917 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
918 Windows. The implementation uses the WinHttp API. Both reading and
919 writing are supported, i.e. GET and PUT requests. When writing,
920 each write call is done using a separate PUT request with a
921 Content-Range header. Requests for file URIs and plain pathnames
922 are forwarded to GLocalVfs.
924 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
925 WINE. Used as there is no <winhttp.h> bundled with mingw, and
926 requiring people to download the Windows SDK just for this one
927 header is not reasonable.
929 * win32/Makefile.am: Add above files.
931 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
932 the plumbing for the above.
934 2008-08-11 Sven Neumann <sven@gimp.org>
936 * gfilenamecompleter.c
937 * glocaldirectorymonitor.c
939 * gunionvolumemonitor.c
943 * gunixvolumemonitor.c
946 * gwin32volumemonitor.c: use canonical signal names.
948 2008-08-11 Tor Lillqvist <tml@novell.com>
950 * Makefile.am: Put a list of the platform-dependent .la files in
951 the subdirectories in the platform_deps Make variable, and make
952 libgio-2.0.la depend on that, so that it gets relinked if one of
953 the dependent libraries has changed.
955 2008-08-11 Tor Lillqvist <tml@novell.com>
957 * Makefile.am (platform_libadd): Remove -lwininet which had been
958 added by mistake. We will probably eventually be using WinHTTP,
959 not the older WinInet anyway. (Actually I am working on it.)
961 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
963 Bug 547080 – g_file_copy leaks expected errors
965 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
966 before trying the next fallback routine.
968 2008-08-09 Loïc Minier <lool@dooz.org>
970 Bug 535124 – umask 002 not being applied for new directories, new
971 files get the correct umask
973 * gfile.c (g_file_make_directory)
974 (g_file_make_directory_with_parents): Document ownership and
975 permissions of newly created directories as being the default
978 2008-08-08 Loïc Minier <lool@dooz.org>
980 Bug 535124 – umask 002 not being applied for new directories, new
981 files get the correct umask
983 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
986 2008-08-08 Tor Lillqvist <tml@novell.com>
988 * gwin32mount.c: Remove unused code. Whitespace cleanup.
990 * gwin32volumemonitor.c (get_connected_drives): Put questionable
991 code that didn't actually do anything inside #if 0, and add a
992 comment wondering what the code was supposed to do. This also gets
993 rid of a leftover debugging printout.
995 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
997 * gfileicon.c (g_file_icon_get_property)
998 (g_file_icon_set_property): New functions.
999 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1001 (g_file_icon_new): Use the property (bug #546132).
1003 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1005 * gthemedicon.c (g_themed_icon_get_property): Also handle
1006 `PROP_USE_DEFAULT_FALLBACKS'.
1007 (g_themed_icon_class_init): Make
1008 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1010 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1012 Bug 546371 – Improve docs re g_file_monitor
1014 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1016 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1018 * === Released 2.17.6 ===
1020 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1022 * === Released 2.17.5 ===
1024 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1026 Bug 546017 – Don't copy attributes when copying a symlink
1028 * gfile.c (g_file_copy_attributes): Specify
1029 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1030 g_file_set_attributes_from_info. Patch by Christian Kellner
1032 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1034 * gemblemedicon.[hc]:
1036 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1037 a bit more extensible. Work by Clemens Buss.
1039 * gioenums.h: Add GEmblemOrigin.
1042 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1044 Bug 546079 – leak in xdgmime
1046 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1048 2008-08-03 Tor Lillqvist <tml@novell.com>
1050 * win32/gwin32directorymonitor.h
1051 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1054 2008-08-03 Tor Lillqvist <tml@novell.com>
1056 * win32/gwin32directorymonitor.c
1057 (g_win32_directory_monitor_callback): Make prototype match
1058 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1059 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1062 (g_win32_directory_monitor_constructor):
1063 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1064 names in the GLib API on Windows, so convert to UTF-16 and open
1067 2008-08-03 Tor Lillqvist <tml@novell.com>
1069 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1070 user's folder under Windows
1072 * win32/gwin32directorymonitor.c
1073 (g_win32_directory_monitor_constructor): Ignore error from
1074 CreateFile() when opening directory. Instead of asserting, just
1075 store INVALID_HANDLE_VALUE then in
1076 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1077 ReadDirectoryChangesW().
1078 (g_win32_directory_monitor_cancel): Don't attempt to close
1079 directory handle if it is INVALID_HANDLE_VALUE.
1081 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1083 * gdesktopappinfo.c: Remove debug spew
1085 2008-08-01 Hans Breuer <hans@breuer.org>
1087 * makefile.msc : add gemblembedicon
1089 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1091 Bug 545457 – gdmsetup crashed with SIGSEGV in
1092 g_unix_mount_guess_should_display()
1094 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1095 crash if no mount is found.
1097 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1099 Bug 545203 – gfile.c: argument is different type.
1101 * gfile.c (open_read_async_thread): Pass a GError **
1102 to g_file_set_error_literal.
1103 Reported by Kazuki Iwamoto
1105 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1107 Bug 545157 – wrong/no list of "open with" applications for .cc and
1110 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1111 Collect all ancestors, not just direct parents. Pointed
1112 out by Bastien Nocera
1114 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1116 * Makefile.am: Install gemblemedicon.h
1118 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1120 * gemblemedicon.[hc]: Add a GIcon implementation that can
1121 add an emblem to another icon.
1128 * gfileicon.c: Small documentation additions.
1130 2008-07-28 Tor Lillqvist <tml@novell.com>
1132 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1135 2008-07-27 Tor Lillqvist <tml@novell.com>
1137 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1139 2008-07-24 David Zeuthen <davidz@redhat.com>
1143 Also export a g_mount_guess_content_type_sync() function.
1145 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1147 529694 – SELinux context setting support
1149 * gfileinfo.c: Support setting selinux attributes.
1150 Patch by Tomas Bzatek
1152 2008-07-22 Priit Laes <plaes@plaes.org>
1154 Bug 544140 - fam-helper 64-bit issue?
1156 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1158 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1160 * === Released 2.17.4 ===
1162 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1164 * gvolumemonitor.[hc]:
1165 * gmountoperation.c:
1169 * gmount.c: Documentation fixes
1171 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1173 543504 – crash in Epiphany Web Browser: Opening local file
1177 * gdesktopappinfo.c:
1184 * gvolume.c: Register types thread-safely.
1185 Patch by Christian Persch
1187 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1189 * gcontenttype.c: Remove debug spew
1191 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1193 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1196 * fen/fen-kernel.c: Remove a warning that was causing
1197 crashes. Reported by Lin Ma.
1199 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1201 Bug 543040 – async reading on dummy file will crash on
1204 * gfile.c (open_read_async_thread): Cope with read_fn being
1205 NULL. Reported by Lin Ma.
1207 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1210 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1212 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1215 * gdesktopappinfo.h:
1216 * giomodule.c: Rename a chapter id to avoid filename conflict.
1218 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1220 Bug 540616 – mem leak in filechooser button
1222 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1223 the mount entry. Reported by Chrisitan Persch
1225 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1227 * gfile.c: Small documentation fixes.
1229 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1231 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1233 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1238 * gmount.c: Documentation improvements.
1240 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1243 * gmount.[hc]: Add g_mount_guess_content_type().
1245 2008-07-06 David Zeuthen <davidz@redhat.com>
1248 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1249 is needed for easily handling adoption of foreign volumes by
1250 out-of-process volume monitors (#541793)
1252 2008-07-06 David Zeuthen <davidz@redhat.com>
1254 * gvolumemonitor.[ch]:
1255 * gunionvolumemonitor.c: Export the eject-button signal on the
1256 volume monitor class (#541794).
1258 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1260 * gappinfo.c: More doc tweaks
1262 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1264 * gappinfo.c: Clarify some docs
1266 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1268 * gdesktopappinfo.c: Fix a stupid mistake.
1270 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1272 * === Released 2.17.3 ===
1274 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1276 * gfilemonitor.c: Fix the build.
1278 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1280 Bug 536160 – Add g_file_monitor()
1283 * gfile.[hc]: Add g_file_monitor which can return either
1284 a file or a directory monitor. Proposed by Behdad Esfahbod
1286 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1288 536733 – gio build failure on Irix
1290 * glocalfile.c: Use a configure check for structfs.f_bavail.
1292 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1294 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1297 * gdesktopappinfo.[hc]: Add a function to create a
1298 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1300 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1302 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1304 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1306 * gunixmounts.c: Fix a doc typo.
1308 2008-07-01 Cody Russell <bratsche@gnome.org>
1310 * gio/gcontenttype.c:
1311 * gio/gwin32appinfo.c:
1312 * gio/gwin32volumemonitor.c:
1313 * gio/gwin32mount.c: Fixed some include problems.
1315 2008-07-01 Cody Russell <bratsche@gnome.org>
1319 Moved all relevant typedefs into these files.
1322 Updated wrt added files.
1324 Split types into separate file for easier maintainership. (#538564)
1326 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1328 Bug 540331 – g_file_append_to () documentation: can return NULL
1330 * gfile.c (g_file_append_to): Clarify docs.
1331 Patch by Jared Moore
1333 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1335 Bug 539090 – g_content_type_from_mime_type() should unalias
1337 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1338 Patch by Markus Bergman
1340 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1342 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1343 g_atomic_pointer_get
1345 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1346 on ppc and alpha. Reported by Mart Raudsepp
1348 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1350 * tests/Makefile.am:
1351 * tests/memory-output-stream.c: Add some tests for
1352 GMemoryOutputStream.
1354 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1356 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1359 * gmemoryoutputstream.c (array_resize): Handle truncation to
1360 zero correctly. Reported by Akira Tagoh
1362 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1364 * gmemoryoutputstream.c: Trivial doc fixes
1366 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1368 Bug 540802 – g_list_prepend doesn't concat lists
1370 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1371 one list to another. Pointed out by Jan Arne Petersen
1373 2008-06-28 Michael Natterer <mitch@imendio.com>
1375 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1377 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1379 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1380 to avoid problems with partial icon themes.
1382 2008-06-17 Hans Breuer <hans@breuer.org>
1384 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1385 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1386 access again on win32, see bug #538127
1387 * giomodule.c : ensure GWin32VolumeMonitor is registered
1388 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1389 * Makefile.am makefile.msc : updated
1391 2008-06-16 Hans Breuer <hans@breuer.org>
1393 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1394 and initialization in one step avoids c99ism
1396 2008-06-16 Christian Persch <chpe@gnome.org>
1399 * gio/gbufferedinputstream.c
1400 * gio/gcancellable.c
1401 * gio/gdatainputstream.c
1402 * gio/gdesktopappinfo.c
1404 * gio/gfileenumerator.c
1405 * gio/gfileinputstream.c
1406 * gio/gfileoutputstream.c
1407 * gio/ginputstream.c
1408 * gio/glocaldirectorymonitor.c
1410 * gio/glocalfileenumerator.c
1411 * gio/glocalfileinfo.c
1412 * gio/glocalfilemonitor.c
1413 * gio/glocalfileoutputstream.c
1414 * gio/gmemoryinputstream.c
1415 * gio/gmemoryoutputstream.c
1416 * gio/goutputstream.c
1417 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1420 2008-06-16 Tor Lillqvist <tml@novell.com>
1422 Bug 538362 - Get Win32 icons back in the file chooser
1424 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1425 corresponding to a file extension in the Registry. Patch by Hans
1427 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1429 2008-06-16 Tor Lillqvist <tml@novell.com>
1431 Patches by Hans Breuer:
1433 * glocalfile.c (is_xp_or_later): Handle compiling against older
1434 SDK headers with missing VerifyVersionInfo(). Conditioned on
1435 _MSC_VER, but should probably use some better test.
1436 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1437 uninitialised statfs_result variable on Win32.
1439 2008-06-16 Michael Natterer <mitch@imendio.com>
1441 * *.c: chain up unconditionally in finalize() and dispose(). Also
1442 don't dereference these function pointers when calling them since
1443 that has no meaning at all.
1445 2008-06-16 Ross Burton <ross@burtonini.com>
1447 * gfileenumerator.c:
1448 Remove check for dispose implementation as it annoys Emmanuele.
1450 2008-06-16 Ross Burton <ross@burtonini.com>
1452 Bug 536252 – GFileEnumerator should allow access to the containing
1455 * gfileenumerator.c:
1456 * gfileenumerator.h:
1458 Add g_file_enumerator_get_container() and a container writeable
1459 construct-only property. Also shuffle around typedefs to make it
1462 * glocalfileenumerator.c:
1463 * glocalfileenumerator.h:
1465 Instead of a string filename take a GFile in the constructor and
1466 use it to set the container property.
1469 Update with new API.
1471 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1473 * gfile.c: Make includes more uniform
1475 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1477 * tests/live-g-file.c (sample_struct):
1478 Use less fancy unicode filenames, so the test doesn't fail
1479 on Mac OS X (#531476).
1481 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1483 * === Released 2.17.2 ===
1485 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1487 * === Released 2.17.1 ===
1489 2008-06-11 A. Walton <awalton@gnome.org>
1491 * tests/g-file.c (test_g_file_new_null):
1492 Fix broken test case.
1494 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1496 * pltcheck.sh: We use g_clear_error now.
1498 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1500 * glocalfile.c (g_local_file_enumerate_children): Revert
1501 an unintended change.
1503 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1505 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1507 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1509 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1512 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1513 as icon for the desktop directory, also make user-home and
1514 user-desktop the preferred icons.
1516 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1519 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1520 to add a name to the front of the list.
1522 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1524 Bug 537392 – Additional colon in xattr name
1526 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1527 too. Reported by Alessandro Morandi
1529 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1531 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1534 * glocalfile.c (get_fs_type): Add afs and autofs.
1535 Patch by Danny Baumann.
1537 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1539 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1541 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1542 is no parent. (Owen Taylor, patch by Christian Neumair)
1544 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1546 * gfile.c (g_file_replace_contents): do not leak the output stream.
1548 2008-06-10 Michael Natterer <mitch@imendio.com>
1550 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1551 uninitialized memory as array index.
1553 2008-06-10 Tor Lillqvist <tml@novell.com>
1555 * gcontenttype.c (g_content_type_can_be_executable)
1556 (g_content_type_get_icon) [Win32]: Add TODO comments.
1558 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1560 * xdgmime/Makefile.am: Fix the build
1562 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1564 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1565 in the shared mime database, if available.
1567 * xdgmime/*: Sync with upstream. This brings support for
1568 glob weights, generic icons, and changes the cache format to
1571 2008-05-28 Michael Natterer <mitch@imendio.com>
1573 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1574 the global CPPFLAGS now.
1576 * tests/data-input-stream.c
1577 * tests/data-output-stream.c
1578 * tests/g-file-info.c
1580 * tests/live-g-file.c
1581 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1583 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1585 * === Released 2.17.0 ===
1587 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1588 doesn't complain about leftover files.
1590 2008-05-27 simon.zheng <simon.zheng@sun.com>
1592 * glocalfile.c: (g_local_file_query_filesystem_info):
1593 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1595 2008-05-26 Michael Natterer <mitch@imendio.com>
1597 * gmemoryoutputstream.h: declare
1598 g_memory_output_stream_get_data_size().
1600 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1602 * tests/*: Make tests work
1604 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1606 * gio.symbols: Add g_memory_output_stream_get_data_size.
1608 2008-05-25 Ross Burton <ross@burtonini.com>
1611 Fix typo in error message (#534764).
1613 2008-05-25 Ross Burton <ross@burtonini.com>
1616 Fix circular dependency loop for gioenumtypes.h (#534759).
1618 2008-05-19 Hans Breuer <hans@breuer.org>
1620 * Makefile.am : EXTRA_DIST += makefile.msc
1622 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1625 * gcontenttype.c: (g_content_type_from_mime_type):
1626 New function to create a content type from a mime type. (#527175,
1629 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1631 Bug 532965 – Should not return filesystem::free for certain file systems
1633 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1634 free space for ncpfs.
1636 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1638 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1640 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1641 st_dev might be zero.
1643 2008-05-16 Tor Lillqvist <tml@novell.com>
1645 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1646 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1648 2008-05-13 Bastien Nocera <hadess@hadess.net>
1650 * gfile.c (has_valid_scheme): A URI scheme must start with a
1651 letter, even if later more characters are allowed (#532852)
1653 2008-05-05 Michael Natterer <mitch@imendio.com>
1655 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1656 code from being checked in that breaks the build of applications
1657 which use G_DISABLE_SINGLE_INCLUDES.
1659 * makegioalias.pl: make the alias file include "glib.h" instead of
1662 * gio.symbols: whitespace change to force regeneration of the
1663 alias file after above script change.
1665 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1667 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1669 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1671 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1673 2008-04-28 David Zeuthen <davidz@redhat.com>
1675 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1676 displaying mounts in a subdirectory not accessible to the
1679 2008-04-22 Michael Natterer <mitch@imendio.com>
1681 * Makefile.am: fix library versioning (it was 0.0.0).
1683 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1685 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1686 Default disable all loggings.
1687 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1688 (port_fetch_event_cb): Fixed two macro nits.
1690 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1692 * xdgmime/xdgmime.c: Rework the timestamp checking code
1693 to protect against duplicate directories in XDG_DATA_DIRS.
1694 Fixes fd.o bug 12513, reported by Joe Shaw.
1696 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1698 Partically revert the last commit after realizing that
1699 xdg_mime_media_type_equal doesn't have to init at all.
1701 * xdgmime/xdgmime.h:
1702 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1704 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1706 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1708 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1709 reported by Joe Shaw and Federico Mena Quintero.
1711 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1712 (xdg_mime_media_type_equal): Turn into a wrapper around the
1715 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1716 functions throughout.
1718 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1720 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1721 tolerate an empty TryExec= line without failing; nautilus used
1722 to create launchers with these in previous versions. Fixes #528433
1724 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1726 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1727 after name. Fixes #527132.
1729 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1731 * gfile.c: (g_file_replace):
1734 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1736 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1738 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1739 by Christian Kellner.
1741 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1743 * gunixmounts.c: (g_unix_mount_guess_should_display):
1744 Don't list the user directory as a mount, fix potential issue
1745 when other users have a similar naming and don't special case the
1746 gvfs mounts there since that's not required (#525866)
1748 2008-03-31 Alexander Larsson <alexl@redhat.com>
1750 * glocalfile.c (get_parent):
1753 2008-03-31 A. Walton <awalton@svn.gnome.org>
1755 * gfile.c (g_file_query_file_type):
1756 Always return a GFileType enum value (#520715).
1758 2008-03-31 Alexander Larsson <alexl@redhat.com>
1760 * glocalfileenumerator.c:
1761 Read readdir() info in chunks (of 1000) and sort
1762 the chunks by inode before stat:ing.
1763 This is a 20% performance increase in testing
1764 gvfs-ls on /usr/bin with cold cache.
1766 2008-03-31 Alexander Larsson <alexl@redhat.com>
1768 * gmemoryoutputstream.c:
1769 Clarify docs for g_memory_output_stream_get_size.
1770 Add g_memory_output_stream_get_data_size.
1772 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1776 * gfile.h: Add g_file_query_file_type convenience function
1777 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1779 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1781 * gfileenumerator.c:
1782 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1784 2008-03-28 A. Walton <awalton@svn.gnome.org>
1786 * giomodule.c (_g_io_modules_ensure_loaded):
1787 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1790 2008-03-28 Alexander Larsson <alexl@redhat.com>
1793 (copy_stream_with_progress):
1796 2008-03-28 Alexander Larsson <alexl@redhat.com>
1799 (copy_stream_with_progress):
1800 (file_copy_fallback):
1801 Fallback to g_file_query_info for source size
1802 if g_file_input_stream_query_info fails. (#524579)
1804 2008-03-28 Alexander Larsson <alexl@redhat.com>
1806 * glocalfile.c (g_local_file_move):
1807 Reuse old string instead of adding new one.
1809 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1811 * fen/*.[hc]: still copyright issue. I hate copyright.
1813 2008-03-27 Alexander Larsson <alexl@redhat.com>
1815 * glocalfile.c (g_local_file_move):
1816 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1817 file over directory. This is according to the docs and what the move via
1818 copy+remove fallback does.
1820 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1822 * fen/*.[hc]: Updated copyright.
1824 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1826 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1828 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1830 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1831 not emit attribute changed events when optimizing changed events.
1832 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1835 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1837 * gmountoperation.[hc]: Small documentation additions
1839 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1841 * gunixmounts.c: (guess_mount_type):
1842 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1844 2008-03-19 Alexander Larsson <alexl@redhat.com>
1847 (copy_stream_with_progress):
1848 Bump block side for copy to 64k to minimize
1849 overhead for low latency links. (#523015)
1851 2008-03-16 Tor Lillqvist <tml@novell.com>
1853 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1854 depend on gio.def on Windows.
1856 2008-03-12 David Zeuthen <davidz@redhat.com>
1860 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1862 2008-03-14 Alexander Larsson <alexl@redhat.com>
1866 Avoid redudant tests (#521851)
1867 Patch from Josselin Mouette
1869 2008-03-14 Alexander Larsson <alexl@redhat.com>
1872 (g_file_monitor_is_cancelled):
1873 Fix C89 issue (#521672)
1874 Patch from Jens Granseuer
1876 2008-03-14 Alexander Larsson <alexl@redhat.com>
1878 * fam/fam-helper.[ch]:
1880 Shut down fam (including removing fam GSource) when
1881 module is unloaded (#521513)
1882 Patch from Joe Marcus Clarke
1884 2008-03-14 Alexander Larsson <alexl@redhat.com>
1887 (_g_io_modules_ensure_loaded):
1890 2008-03-14 Alexander Larsson <alexl@redhat.com>
1893 (g_local_file_query_filesystem_info):
1894 Use right define name for f_fstypename member check
1896 2008-03-14 Alexander Larsson <alexl@redhat.com>
1899 * fen/Makefile.am: Added.
1900 * fen/fen-data.[ch]: Added.
1901 * fen/fen-dump.[ch]: Added.
1902 * fen/fen-helper.[ch]: Added.
1903 * fen/fen-kernel.[ch]: Added.
1904 * fen/fen-missing.[ch]: Added.
1905 * fen/fen-node.[ch]: Added.
1906 * fen/fen-sub.[ch]: Added.
1907 * fen/gfendirectorymonitor.[ch]: Added.
1908 * fen/gfenfilemonitor.[ch]: Added.
1910 Added Solaris FEN file notification backend.
1911 Patch from Lin Ma <Lin.Ma@Sun.COM>
1913 2008-03-13 Tor Lillqvist <tml@novell.com>
1915 * Makefile.am: Actually use the gio.def file when linking the
1916 library on Windows. Produce .lib library for Microsoft's toolchain
1917 when possible. Install the .lib and .def file like for the other
1920 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1922 * tests/live-g-file.c:
1923 Include live-g-file in standard set of tests, making a temporary
1924 directory in source structure.
1926 Clean target directory before the tests (write mode only)
1928 2008-03-12 Tor Lillqvist <tml@novell.com>
1930 Bug 517419 - gio win32 directory monitor
1931 Implementation by Vlad Grecescu.
1934 * win32/gwin32directorymonitor.h
1935 * win32/gwin32directorymonitor.c: New files.
1937 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1939 * Makefile.am: Add the win32 subdirectory.
1941 2008-03-12 Tor Lillqvist <tml@novell.com>
1943 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1944 normal struct stat on Unix but struct _stati64 on Windows to have
1945 access to 64-bit file size information. Use that instead of struct
1946 stat in the functions declared here in this private header.
1948 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1949 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1950 warnings about unused functions and variables. Don't set
1951 meaningless attributes like inode numbers on Windows.
1953 2008-03-12 Benjamin Otte <otte@gnome.org>
1956 trim whitespace so gtk-doc groks the function name
1958 2008-03-12 Tor Lillqvist <tml@novell.com>
1960 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1961 returning FALSE, on Win32.
1963 2008-03-11 Alexander Larsson <alexl@redhat.com>
1966 * glocalfileinfo.[ch]:
1967 Correctly implement can_trash by actually
1968 looking for a trash dir, not just assuming
1971 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1973 * === Released 2.16.1 ===
1975 2008-03-11 Alexander Larsson <alexl@redhat.com>
1978 Fix crashes in new constructor and properties code
1980 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1982 * gfile.c: Minor spelling correction in documentation:
1983 existance -> existence.
1985 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1987 * === Released 2.16.0 ===
1989 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1991 * gio.symbols: Remove g_file_contains_file here, too.
1993 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1995 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1996 Samuel Cormier-Iijima)
1998 2008-03-08 Tor Lillqvist <tml@novell.com>
2000 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2003 2008-03-07 Alexander Larsson <alexl@redhat.com>
2006 (g_local_file_query_filesystem_info):
2007 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2008 Patch from Jasper Lievisse Adriaanse
2010 2008-03-06 Tor Lillqvist <tml@novell.com>
2012 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2013 comments for the *_USEC attributes.
2015 2008-03-06 Alexander Larsson <alexl@redhat.com>
2017 * gfile.c (g_file_query_exists):
2018 Add g_return_val_if_fail check (#520700)
2020 2008-03-06 Alexander Larsson <alexl@redhat.com>
2022 * gdesktopappinfo.c:
2025 * gunionvolumemonitor.c:
2028 * tests/live-g-file.c:
2029 * xdgmime/xdgmimecache.c:
2030 Fix sparse warnings (#519489)
2032 2008-03-05 Alexander Larsson <alexl@redhat.com>
2035 Make cancellation threadsafe (i.e.
2036 guarantee its only done once, and always
2039 * glocaldirectorymonitor.c:
2040 Make sure we the monitor lives while the
2041 mounts_changed callback is being called (#520484)
2043 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2045 * gbufferedinputstream.c: Fix typo in parameter
2048 2008-03-04 Alexander Larsson <alexl@redhat.com>
2051 Remove deprecated symbols we kept for one release.
2053 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2056 * goutputstream.c: Tiny documentation corrections.
2058 2008-03-03 Alexander Larsson <alexl@redhat.com>
2060 * gunionvolumemonitor.c:
2062 Fix the adopt_orphan_mount vfunc to take a
2063 volume_monitor reference in an ABI compat way.
2064 This change is not API compat, but the added
2065 arg is not used in the only user of this vfunc, so
2066 all we get is a harmless warning in gvfs (#520169)
2068 2008-03-01 Benjamin Otte <otte@gnome.org>
2071 clarify docs for g_file_delete().
2073 2008-02-29 Alexander Larsson <alexl@redhat.com>
2077 Make sure empty files get text/plain type (#518720)
2079 2008-02-27 Alexander Larsson <alexl@redhat.com>
2085 (g_unix_volume_mount):
2086 Add missing GMountMountFlags argument
2088 2008-02-26 Alexander Larsson <alexl@redhat.com>
2091 (g_local_file_delete):
2092 Handle filesystems (like ntfs-3g) that return EEXIST instead
2093 of ENOTEMPTY (#518816)
2095 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2097 * === Released 2.15.6 ===
2099 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2101 * gfile.c (g_file_find_enclosing_mount):
2102 * ginputstream.c (g_input_stream_set_pending):
2103 * glocalfile.c (g_local_file_find_enclosing_mount):
2104 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2105 * goutputstream.c (g_output_stream_set_pending):
2107 Fixup translator comments (#518578).
2109 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2111 * gfile.c (g_file_find_enclosing_mount):
2113 * glocalfile.c (g_local_file_find_enclosing_mount):
2116 Fix a few typos in translator comments and documentation.
2118 2008-02-25 Alexander Larsson <alexl@redhat.com>
2125 Add translator comments (#518578)
2127 2008-02-25 Alexander Larsson <alexl@redhat.com>
2130 Reintroduce g_file_contains_file, keep around for one
2131 unstable release cycle to avoid crashing to many apps.
2132 Make sure to delete after release.
2134 2008-02-25 Alexander Larsson <alexl@redhat.com>
2137 Remove deprecated g_file_contains_file.
2139 2008-02-25 Alexander Larsson <alexl@redhat.com>
2142 Emit actual change signals in an idle handler.
2143 This avoids reentrance and locking problems in
2144 the file notification backends.
2146 2008-02-25 Alexander Larsson <alexl@redhat.com>
2149 (g_unix_mount_guess_should_display):
2150 Remove type guessing, instead just display
2151 mounts in /media and in ~/.
2153 2008-02-25 Alexander Larsson <alexl@redhat.com>
2156 Make new strings reuse old ones.
2158 2008-02-25 Alexander Larsson <alexl@redhat.com>
2161 Implement trashing and filesystem::readonly for win32 (#517235)
2162 Patch from Yevgen Muntyan
2164 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2166 * gfileinfo.h: Documentation fixes.
2168 2008-02-22 Alexander Larsson <alexl@redhat.com>
2170 * gcontenttype.c (g_content_type_get_icon):
2171 Look at old-style gnome mime icon names too, as many
2172 have not moved to the new style.
2174 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2176 * *.c: Correct the @include in for section docs.
2178 2008-02-21 David Zeuthen <davidz@redhat.com>
2180 * glocalfileinfo.c: (_g_local_file_info_get):
2182 (g_content_type_get_icon): Implement this function by
2183 moving bits from glocalfileinfo.c
2184 (g_content_type_get_description): Unalias before getting
2185 description (#517687)
2187 * gfile.c: (g_file_class_init),
2188 (g_file_query_filesystem_info_async),
2189 (g_file_query_filesystem_info_finish),
2190 (query_filesystem_info_data_free),
2191 (query_filesystem_info_async_thread),
2192 (g_file_real_query_filesystem_info_async),
2193 (g_file_real_query_filesystem_info_finish):
2194 * gfile.h: Implement async version of
2195 g_file_query_filesystem_info()
2197 * gfileinfo.h: Add new attributes for filesystem::use-preview
2199 * gio.symbols: Update
2201 * gthemedicon.c: (g_themed_icon_append_name):
2202 * gthemedicon.h: Add new new convenience function.
2204 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2205 (get_mounts), (get_volumes), (get_connected_drives),
2206 (get_volume_for_uuid), (get_mount_for_uuid),
2207 (g_union_volume_monitor_init), (populate_union_monitor),
2208 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2209 (g_volume_monitor_adopt_orphan_mount):
2211 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2212 monitor implementations to call into the main volume monitor. Also
2213 separate object initialization and volume monitor initialization
2214 such that non-native volume monitors can properly adopt their
2217 2008-02-21 Alexander Larsson <alexl@redhat.com>
2222 2008-02-21 Alexander Larsson <alexl@redhat.com>
2225 Add more documentation about how GFiles work (from #517086)
2227 2008-02-21 Alexander Larsson <alexl@redhat.com>
2231 Add new g_file_has_prefix that does the same as g_file_contains_file.
2232 Deprecate g_file_contains_file and add a macro that converts
2233 it to g_file_has_prefix.
2234 The reason for this change is that the contains_file() name seems to
2235 imply that this does more work than what it does, but its really only
2236 a name match (from #517086)
2241 Update to match the above change.
2243 2008-02-20 Benjamin Otte <otte@gnome.org>
2245 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2246 (g_file_eject_mountable):
2247 even more cases of not returning in error path
2249 2008-02-20 Benjamin Otte <otte@gnome.org>
2251 * gfile.c: (g_file_mount_mountable):
2252 return from function in error path.
2254 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2257 Remove trailing coma in GMountMountFlags struct
2259 2008-02-18 Alexander Larsson <alexl@redhat.com>
2263 * glocalfileoutputstream.c:
2264 Use g_unlink/g_rename instead of unlink/rename;
2265 do not pass raw filenames to g_set_error. (#517239)
2266 Patch from Yevgen Muntyan.
2268 2008-02-18 Alexander Larsson <alexl@redhat.com>
2271 * glocalfileoutputstream.c:
2272 Open files with O_BINARY on windows. (#517140)
2274 2008-02-14 Alexander Larsson <alexl@redhat.com>
2276 * glocalfileoutputstream.c:
2277 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2279 2008-02-14 Alexander Larsson <alexl@redhat.com>
2282 Copy permissions with file on copy (#514084)
2283 This is what cp does and makes sure e.g. the
2284 exec permissions are kept.
2285 Its kinda weird in that it keeps the permission bits
2286 the same while the uid and gid are different. However
2287 the new uid is the user so its not a security issue,
2288 and I've heard no complaints about cp on this issue.
2290 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2292 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2294 2008-02-13 Alexander Larsson <alexl@redhat.com>
2296 * inotify/inotify-path.c:
2297 Define IN_ONLYDIR if not in header (#515346)
2299 2008-02-12 Alexander Larsson <alexl@redhat.com>
2301 * tests/live-g-file.c:
2304 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2306 * === Released 2.15.5 ===
2308 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2310 * gio.symbols: Add g_mount_mount_flags_get_type.
2312 2008-02-11 Alexander Larsson <alexl@redhat.com>
2315 (g_file_info_set_attribute_mask):
2316 (g_file_attribute_matcher_matches_id):
2317 Correctly handle NULL GAttributeMatcher meaning
2318 matches nothing. (Fixes #513492)
2320 2008-02-11 Alexander Larsson <alexl@redhat.com>
2325 Added GMountMountFlags enum and added a flags
2326 argument to all mount calls.
2328 This is an API/ABI change for future extensibility,
2329 as I think we will need at least an
2330 inhibit-autorun flag (the panel needs this).
2331 There are no flags defined yet though.
2333 2008-02-11 Alexander Larsson <alexl@redhat.com>
2336 Added new standard::description attribute.
2337 Requested by Vincent, and useful for both
2340 2008-02-11 Alexander Larsson <alexl@redhat.com>
2342 * gdesktopappinfo.c:
2345 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2347 * *.c: Documentation additions
2349 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2351 * gappinfo.h: Formatting cleanup
2352 * gappinfo.c: Fix up docs.
2354 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2356 * gunixmounts.c: Consistently use getmntent_r() and fall
2357 back to getmntent(). (#515492)
2359 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2361 * gbufferedinputstream.c:
2363 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2365 * tests/data-input-stream.c:
2366 * tests/data-output-stream.c: Portability fixes.
2368 2008-02-08 Alexander Larsson <alexl@redhat.com>
2373 Add g_volume_should_automount.
2376 2008-02-07 Tor Lillqvist <tml@novell.com>
2378 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2379 Win32, too Unix-specific.
2381 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2383 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2384 a local plt if the compiler doesn't support what we want. Bug #514702
2386 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2388 reviewed by: <delete if not using a buddy>
2391 * gunixinputstream.c:
2392 * gunixoutputstream.c:
2394 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2396 * tests/Makefile.am:
2397 * tests/live-g-file.c:
2398 * tests/live-g-file.txt:
2399 New GIO testing module working over real data
2401 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2403 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2404 Fallback to rename() if link() is not available
2405 (when no support on target filesystem)
2407 2008-02-06 Michael Natterer <mitch@imendio.com>
2409 * gfileinfo.c (g_file_info_get_icon): replace
2410 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2412 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2414 * gfile.c (g_file_create):
2415 Documentation update of error codes
2417 2008-02-06 Alexander Larsson <alexl@redhat.com>
2419 * gdesktopappinfo.c:
2420 Update to use both mimeapps.list and
2421 defaults.list as discussed on xdg list.
2423 2008-02-06 Benjamin Otte <otte@gnome.org>
2426 * gfilenamecompleter.c:
2427 Fix some typos in the documentation.
2429 2008-02-06 Alexander Larsson <alexl@redhat.com>
2431 * glocalfile.c (g_local_file_trash):
2432 Don't succeed with trash if newly created
2433 trash dir has the wrong owner. (#514696)
2435 2008-02-05 Alexander Larsson <alexl@redhat.com>
2437 * glocalfile.c (g_local_file_move):
2438 Don't spew warnings when destination is not
2441 2008-02-03 Hans Breuer <hans@breuer.org>
2443 * makefile.msc : update
2445 2008-02-01 Michael Natterer <mitch@imendio.com>
2447 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2448 return value of xdg_mime_list_mime_parents() to a variable of the
2451 2008-02-01 Alexander Larsson <alexl@redhat.com>
2453 * gappinfo.c (g_app_info_launch_uris):
2454 Actually call the launch_uris method, not
2457 2008-02-01 Alexander Larsson <alexl@redhat.com>
2459 * gdesktopappinfo.c (g_desktop_app_info_equal):
2460 Ensure appinfos with no id but same pointer value
2463 2008-02-01 Alexander Larsson <alexl@redhat.com>
2465 * gappinfo.c (g_app_info_launch_default_for_uri):
2468 2008-02-01 Alexander Larsson <alexl@redhat.com>
2472 Add g_app_info_launch_default_for_uri utility
2475 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2477 * gdesktopappinfo.c:
2478 Doc fix for g_app_info_get_default_for_uri_scheme ()
2481 2008-01-30 Alexander Larsson <alexl@redhat.com>
2484 Add doc comment about uris vs GFiles to
2487 * gdesktopappinfo.c:
2488 Ensure uris passed to g_app_info_launch_uris()
2489 are not roundtriped through GFile (as that
2490 may be slightly destructive for e.g. mailto: links)
2492 2008-01-30 Alexander Larsson <alexl@redhat.com>
2494 * tests/data-input-stream.c:
2495 * tests/data-output-stream.c:
2496 C89 fixes from Jens Granseuer (#512849)
2498 2008-01-30 Alexander Larsson <alexl@redhat.com>
2501 Fix gamin/fam difference build issue. (#509419)
2503 2008-01-29 Alexander Larsson <alexl@redhat.com>
2506 * gdesktopappinfo.c:
2507 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2509 2008-01-29 Alexander Larsson <alexl@redhat.com>
2511 * gdesktopappinfo.c:
2512 * gdesktopappinfo.h:
2513 giomodule-priv.h include moved to .c file.
2515 2008-01-29 Alexander Larsson <alexl@redhat.com>
2517 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2518 Remove unused prio/name fields.
2520 2008-01-29 Alexander Larsson <alexl@redhat.com>
2522 * gcontenttype.c (looks_like_text):
2523 Don't treat whitespace as control chars.
2525 2008-01-29 Alexander Larsson <alexl@redhat.com>
2527 * gdesktopappinfo.c:
2528 Lazily create the desktop files for appinfos created
2529 by g_app_info_create_from_commandline() when needed
2530 for mime associations. This allows run-time use
2531 of GAppInfo object without creating unnecessary
2534 2008-01-29 Alexander Larsson <alexl@redhat.com>
2537 Added new symbols to gio.symbols
2539 2008-01-29 Alexander Larsson <alexl@redhat.com>
2542 Add g_file_query_default_handler utility to easily look up
2543 the GAppInfo that handles a file.
2545 * gdesktopappinfo.[ch]:
2547 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2550 Remove unused function
2552 2008-01-29 Alexander Larsson <alexl@redhat.com>
2554 * gfileenumerator.c:
2555 Mention need to free returned value in
2556 g_file_enumerator_next_files_finish docs.
2557 Fix leak if g_file_enumerator_next_files_finish()
2560 2008-01-29 Alexander Larsson <alexl@redhat.com>
2563 (_g_unix_content_type_get_parents):
2564 Use list_parents, not get_parents from xdgmime, because
2565 the later doesn't use the cache.
2567 * xdgmime/xdgmimecache.c:
2568 (_xdg_mime_cache_list_mime_parents):
2569 Don't list the same type as parent multiple times.
2571 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2573 * === Released 2.15.4 ===
2575 2008-01-28 Alexander Larsson <alexl@redhat.com>
2578 Register local vfs with prio 0.
2581 Remove old name and prio class members
2583 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2585 * tests/g-file.c: Disable some tests that are failing in
2586 the absence of a http backend.
2588 2008-01-28 Alexander Larsson <alexl@redhat.com>
2592 Add registration hooks for extension points.
2593 Register the gio extension points.
2595 * fam/gfamdirectorymonitor.c:
2596 * fam/gfamfilemonitor.c:
2597 * glocaldirectorymonitor.[ch]:
2598 * glocalfilemonitor.[ch]:
2599 * gnativevolumemonitor.h:
2600 * gunionvolumemonitor.c:
2601 * gunixvolumemonitor.c:
2604 * inotify/ginotifydirectorymonitor.c:
2605 * inotify/ginotifyfilemonitor.c:
2606 Use the extension points registration instead
2607 of g_type_children().
2609 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2612 * gvolume.[hc]: Document new API.
2614 * gfile.c (g_file_copy_async): Fix docs
2616 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2618 * gbufferedinputstream.c:
2620 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2623 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2625 * glocalfile.c: Avoid trivial differences in translatable strings.
2627 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2629 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2630 build with gcc 3.4 (#509419)
2632 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2634 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2635 (#509994, Murray Cumming)
2637 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2639 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2640 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2641 this allows big jobs to be executed in chunks, instead of blocking
2642 the main loop for a long time.
2644 * gsimpleasyncresult.c:
2645 * giofile.c: Adapt callers.
2647 2008-01-25 Alexander Larsson <alexl@redhat.com>
2649 * gdesktopappinfo.c:
2650 Implement changes discussed on xdg list.
2651 Now we can add supported mimetypes by just using defaults.list
2652 We can also remove associations in defaults.list.
2654 2008-01-25 Alexander Larsson <alexl@redhat.com>
2656 * gdesktopappinfo.c:
2657 Don't make local copy of desktop file
2658 for mimetype changes if the file already
2659 supports the new mimetype.
2661 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2665 * gbufferedinputstream.c:
2666 * glocalfile.c: String improvements. (#511966,
2667 Theppitak Karoonboonyanan)
2669 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2671 * gioscheduler.h: Expand docs a bit.
2673 2008-01-24 Alexander Larsson <alexl@redhat.com>
2676 Add g_drive_get_identifier and
2677 g_drive_enumerate_identifiers
2680 Add g_volume_get_identifier and
2681 g_volume_enumerate_identifiers
2687 Implement identifiers for unix backend
2689 2008-01-24 Alexander Larsson <alexl@redhat.com>
2694 Add g_file_copy_async() (#511580)
2695 Based on patch from Carlos Garcia Campos
2697 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2699 * gioscheduler.c: Some documentation additions.
2701 2008-01-22 Alexander Larsson <alexl@redhat.com>
2703 * gdesktopappinfo.c:
2704 (g_desktop_app_info_new):
2705 Don't leak basename.
2707 2008-01-22 Alexander Larsson <alexl@redhat.com>
2709 * gdesktopappinfo.c:
2710 (g_desktop_app_info_new_from_filename):
2713 2008-01-22 Alexander Larsson <alexl@redhat.com>
2715 * glocalfileinfo.c (get_thumbnail_attributes):
2718 2008-01-22 Alexander Larsson <alexl@redhat.com>
2721 (canonicalize_filename):
2722 Canonicalize paths that start with more than
2726 (compare_two_files):
2727 (test_g_file_new_for_path):
2730 2008-01-22 Alexander Larsson <alexl@redhat.com>
2733 Allow UTF-8 in file:// parse names.
2735 * tests/Makefile.am:
2736 * tests/data-input-stream.c:
2737 * tests/data-output-stream.c:
2738 * tests/g-file-info.c:
2740 Added a bunch of tests from Tomas Bzatek
2742 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2744 * === Released 2.15.3 ===
2746 2008-01-21 Alexander Larsson <alexl@redhat.com>
2748 * gfileinputstream.[ch]:
2749 * gfileoutputstream.[ch]:
2751 Remove duplicated GSeekable functions. (#509990)
2752 Just use the g_seekable_xxx() calls instead.
2754 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2757 * gvolumemanager.c: Whitespace cleanups.
2759 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2760 Use the right mode when creating the file.
2762 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2764 * gfileenumerator.c:
2765 * gfileinputstream.c:
2767 * goutputstream.c: Documentation: Fixed minor typos
2768 and added more mentions of specific _finish() functions.
2770 2008-01-21 Alexander Larsson <alexl@redhat.com>
2772 * inotify/Makefile.am:
2773 * inotify/inotify-helper.c:
2774 * inotify/inotify-kernel.c:
2775 * inotify/inotify-path.c:
2776 * inotify/local_inotify.h: Removed.
2777 * inotify/local_inotify_syscalls.h: Removed.
2778 Removed the included copies of the inotify
2779 headers. We now only use the <sys/inotify.h>
2780 header which exists on modern systems.
2781 This fixes problems on ARM and SH5 (#510448)
2782 but is also generally much cleaner and future
2783 safe. For instance, if other OSes add support
2784 for inotify it should "just work".
2786 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2788 * inotify/*.c: Coding style fixes.
2789 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2790 for the 1/4 Hz timer.
2792 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2795 * gfilemonitor.[hc]:
2796 * gmemoryinputstream.c:
2797 * gmemoryoutputstream.c:
2798 * gmountoperation.c:
2799 * gthemedicon.c: Documentation updates
2801 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2803 * gfile.c: documentation: Fixed more minor
2806 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2808 * gmount.c: (g_mount_remount): documentation:
2809 Mention g_mount_remount_finish() instead of
2810 g_mount_unmount_finish().
2812 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2816 * gfile.c: Fixed some minor typos in the
2819 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2821 * gio/gvolumemonitor.c:
2822 (g_volume_monitor_get_connected_drives):
2823 (g_volume_monitor_get_volumes):
2824 (g_volume_monitor_get_mounts): Documentation:
2825 Clarify the ownership of the regurn GLists.
2827 2008-01-17 Alexander Larsson <alexl@redhat.com>
2830 Add the async find_enclosing_mount version
2831 to the header file too.
2833 2008-01-17 Alexander Larsson <alexl@redhat.com>
2836 Add async version of find_enclosing_mount
2837 with default implementation.
2839 2008-01-17 Alexander Larsson <alexl@redhat.com>
2844 Allow calls to implementation of copy and write
2845 even if the type of the file implementations is
2846 different. This can be used to implement native
2847 upload and download calls in a vfs.
2850 (g_local_file_move):
2851 Protect against the case where move is called
2852 with one file not being local.
2854 Make sure we call the progress callback once
2855 in the native move operation so that the caller
2856 knows how many bytes were copied.
2858 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2861 * gdatainputstream.c:
2863 * gfileoutputstream.c:
2868 * gunixmounts.c: Corrected some typos in the documentation:
2869 occured -> occurred.
2870 its -> it's (where appropriate).
2872 2008-01-16 Alexander Larsson <alexl@redhat.com>
2876 Add g_file_query_exists (#508771)
2878 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2883 * gvolume.c: For async functions that have no non-async
2884 version, document that the GAsyncReadyCallback may be NULL.
2887 2008-01-15 Alexander Larsson <alexl@redhat.com>
2889 * gmemoryinputstream.c:
2890 * gmemoryoutputstream.c:
2891 Don't do pointer arithmetic on void * (#508602)
2892 Patch from Kazuki IWAMOTO
2894 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2896 * === Released 2.15.2 ===
2898 2008-01-14 Alexander Larsson <alexl@redhat.com>
2900 * gfile.c (g_file_monitor_file):
2901 Don't set error here, since we fallback to polling monitor.
2903 2008-01-14 Alexander Larsson <alexl@redhat.com>
2906 (g_file_monitor_directory):
2907 (g_file_monitor_file):
2908 Add GError to file monitor calls
2910 * glocaldirectorymonitor.c:
2911 * glocaldirectorymonitor.h:
2913 * glocalfilemonitor.c:
2914 * glocalfilemonitor.h:
2916 Update for above change
2918 2008-01-14 Alexander Larsson <alexl@redhat.com>
2922 Handle root correctly in g_file_get_relative_path (#508719)
2924 2008-01-14 Alexander Larsson <alexl@redhat.com>
2927 Clean up docs and example for GAsyncResult (#508074)
2929 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2931 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2932 and correct some spelling mistakes. Bug #508108.
2934 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2936 * glocalfileinfo.c: Add a comment.
2938 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2940 * gfileinfo.c: GFileInfo description: Mention
2941 how to actually set attributes in a GFile and how to discover
2942 which attributes are settable. Bug #508378.
2944 2008-01-10 A. Walton <awalton@svn.gnome.org>
2946 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2947 (g_app_info_get_default_for_type):
2948 Check for NULL content types.
2950 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2952 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2954 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2956 * gfile.c: *_async() functions: Several small corrections
2957 to the documentation, mostly correcting copy/paste errors
2958 and improving some sentences.
2960 2008-01-09 Dan Winship <danw@gnome.org>
2962 * glocalfile.c (get_unique_filename): x86_64 fix
2964 2008-01-09 Alexander Larsson <alexl@redhat.com>
2969 Add g_unix_mount_guess_should_display and use
2970 for unix volume monitor backend.
2971 This means we more or less show what the
2972 gnome-vfs backend did.
2973 Based on patch from Padraig O'Briain
2975 2008-01-09 Alexander Larsson <alexl@redhat.com>
2979 Add g_themed_icon_new_with_default_fallbacks
2982 Use default fallbacks for icons
2984 2008-01-09 Alexander Larsson <alexl@redhat.com>
2987 * gmountoperation.[ch]:
2988 Change the API a bit so that unhandled methods
2989 get reported via the reply, rather than by
2990 the signal emission return value. This is because
2991 some handlers can't know this immediately without
2992 doing I/O, and this is an async operation that
2995 2008-01-09 Alexander Larsson <alexl@redhat.com>
2998 * fam/gfamdirectorymonitor.c:
2999 * fam/gfamfilemonitor.c:
3000 Fix double free crash (#508224)
3001 Patch from Joe Marcus Clarke
3003 008-01-07 Matthias Clasen <mclasen@redhat.com>
3005 * === Released 2.15.1 ===
3007 2008-01-07 Alexander Larsson <alexl@redhat.com>
3009 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3010 Fix warning (#507835)
3012 2008-01-07 Alexander Larsson <alexl@redhat.com>
3015 Pass --internal to glib-genmarshal
3018 * gmountoperation.c:
3020 Use better types for signal arguments (#507822)
3022 2008-01-07 Alexander Larsson <alexl@redhat.com>
3025 Build test subdir after .
3026 Remove gdirectorymonitor.[ch]
3028 * gdirectorymonitor.[ch]:
3032 Remove GDirectoryMonitor and make
3033 GFileMonitor the baseclass for both file and
3034 directory monitors. Lift the more generic
3035 rate limiting code from GDirectoryMonitor
3039 * fam/gfamdirectorymonitor.[ch]:
3040 * inotify/ginotifydirectorymonitor.[ch]:
3041 * inotify/inotify-helper.c:
3042 * glocaldirectorymonitor.[ch]:
3045 Update for the removed GDirectoryMonitor.
3047 * gmemoryoutputstream.c:
3048 Remove ununsed variable
3050 2008-01-07 Alexander Larsson <alexl@redhat.com>
3052 * gmemoryinputstream.c:
3053 Translate error strings
3056 * gmemoryoutputstream.[ch]:
3057 New implementation that avoids using GByteArray
3058 in implementation and API. (#506377)
3060 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3062 * tests/*: Add a test for memory input streams.
3064 * Makefile.am: Add tests to SUBDIRS.
3066 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3068 * glocalfilemonitor.c:
3069 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3072 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3074 * gdesktopappinfo.c: Fix a docs typo.
3076 * gfileattribute.c: Add information about extended attributes
3077 to the documentation. (#505058)
3079 2008-01-04 Alexander Larsson <alexl@redhat.com>
3082 * gmountoperation.c:
3083 Use the right type (uint) for the ask_password signal.
3085 2008-01-04 Alexander Larsson <alexl@redhat.com>
3090 Add g_app_info_supports_files()
3091 Remove desktop arg from g_app_info_should_show().
3093 * gdesktopappinfo.[ch]:
3094 Implement g_app_info_supports_files() and new should_show()
3095 Add g_desktop_app_info_set_desktop_env() to set the desktop
3096 for should_show(). (This will be set by gtk+ later)
3098 2008-01-04 Alexander Larsson <alexl@redhat.com>
3101 * gmemoryinputstream.[ch]:
3102 Improve API so that you can use multiple chunks
3103 of memory and custom destroy functions. (#506374)
3105 2008-01-03 Alexander Larsson <alexl@redhat.com>
3108 Handle NULL attribute matchers safely, as we return this
3109 for empty attribute matcher strings.
3111 2008-01-03 Alexander Larsson <alexl@redhat.com>
3113 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3114 Add /usr/local to list of internal mountpoints
3116 2008-01-03 Alexander Larsson <alexl@redhat.com>
3119 Check for HAVE_LCHOWN (#505887)
3121 2008-01-03 Alexander Larsson <alexl@redhat.com>
3125 Add define for selinux context attribute.
3126 Fix missing : -> :: namespace separator change
3127 Fix missing _ -> - name change for xattr-sys.
3130 2008-01-03 Alexander Larsson <alexl@redhat.com>
3133 Link to libglib and libgobject directly (#504879)
3134 Patch from Sebastien Bacher
3136 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3138 * gfile.c: Expanded the g_file_new_for_commandline_arg
3139 description a bit, based on the code and the docs of the
3140 other g_file_new_for_* functions.
3142 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3144 * gfilemonitor.h: Fixed typo in docs.
3146 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3148 Updates to GIO documentation. (#506395, Mikael Hermansson)
3150 * gcontenttype.c: Describe memory management for return value of
3151 g_content_types_get_registered(). Missing piece from #505815.
3152 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3153 GVolume, GDrive, GMounts, which hopefully gives the user less
3154 confusions when using this API. Following explainations from
3155 Alexander Larsson on gtk-devel-list.
3157 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3159 * gfileinfo.c: Expand the long description.
3161 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3164 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3165 fix builds with --disable-visibility. (#500273, Christian Persch)
3167 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3169 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3170 in the list of returned app infos.
3172 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3174 * gappinfo.c: Fix a cross-reference
3176 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3178 * gfileinputstream.c:
3179 * gfileoutputstream.c:
3183 * gdesktopappinfo.c:
3185 * gfileinfo.c: Documentation updates.
3187 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3189 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3192 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3194 * gcontenttype.c (g_content_types_get_registered): Don't return
3195 freed memory (#505815, Mikael Hermansson)
3197 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3199 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3200 used to detect statbuf->st_blocks. (#505042)
3202 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3204 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3205 environment handling. (#504829, Cosimo Cecchi)
3207 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3209 * gappinfo.c: Doc improvements
3211 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3214 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3216 * === Released 2.15.0 ===
3218 2007-12-20 Hans Breuer <hans@breuer.org>
3220 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3221 with symbols gwin32appinfo.obj, added gmount.obj
3222 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3224 2007-12-20 Alexander Larsson <alexl@redhat.com>
3230 * gfilenamecompleter.c:
3233 * gpollfilemonitor.c:
3234 File attribute renames:
3236 fs:: -> filesystem::
3237 id::fs -> id::filesystem
3239 2007-12-20 Alexander Larsson <alexl@redhat.com>
3248 Add GMountUnmountFlags to all unmount and
3250 Add g_mount_remount() call.
3252 2007-12-20 Alexander Larsson <alexl@redhat.com>
3254 * gvfs.c (get_default_vfs):
3255 Fix unused variable warning
3257 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3259 * pltcheck.sh: Update
3261 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3263 * gunionvolumemonitor.c:
3264 * gunixmount.c: Remove C99 comments
3266 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3268 * gio.symbols: Add some missing symbols
3270 2007-12-19 Alexander Larsson <alexl@redhat.com>
3273 Make g_io_modules_load_all_in_directory not unuse
3274 loaded modules so that users of it can do stuff
3276 Init internal "module" types.
3277 Initialize static prio and name for types so that
3278 we don't have to load modules to get it.
3280 * gnativevolumemonitor.h:
3282 Move is_supported to parent class so that
3283 non-native monitors can avoid being initialized
3284 too. (For instance GDaemonVolumeMonitor if we're
3285 not using GDaemonVfs.)
3287 * glocaldirectorymonitor.[ch]:
3288 * glocalfilemonitor.[ch]:
3289 * gunionvolumemonitor.c:
3290 * gunixvolumemonitor.c:
3292 Find plugins using the static prio+name to
3293 avoid unnecessarily loading the modules.
3295 2007-12-19 Alexander Larsson <alexl@redhat.com>
3300 2007-12-19 Alexander Larsson <alexl@redhat.com>
3302 * gunionvolumemonitor.c:
3303 Store the native type as GType, not class so that
3304 we can unload it. But still avoid unnecessarily
3307 2007-12-19 David Zeuthen <davidz@redhat.com>
3309 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3310 add signals 'disconnected' and 'eject-button' on GDrive. Add
3311 signal 'removed' on GVolume and 'unmounted' on GMount.
3313 * gdrive.c: (g_drive_base_init):
3315 * gfile.c: (g_file_mount_mountable),
3316 (g_file_mount_enclosing_volume):
3319 * gmount.c: (g_mount_base_init):
3321 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3322 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3323 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3327 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3329 * *.c: Fix up includes in the section docs.
3331 2007-12-17 Alexander Larsson <alexl@redhat.com>
3333 * gnativevolumemonitor.h:
3334 * gunionvolumemonitor.c:
3335 * gunixvolumemonitor.c:
3336 Add is_supported() to GNativeVolumeMonitorClass so
3337 that we can avoid having to create an object to see
3338 if the backend is supported at runtime.
3339 Also add name member and an env var to pick a specific
3340 volume monitor backend.
3344 Add cancellable to _g_mount_get_for_mount_path()
3346 * glocaldirectorymonitor.c:
3347 * glocalfilemonitor.c:
3348 Avoid loading and unloading modules while sorting.
3350 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3353 * gunixmounts.[hc]: Namespace waste reduction, move some
3354 g_get_unix_mount functions to the g_unix_mount namespace.
3357 * gunixvolumemonitor.c:
3359 * glocaldirectorymonitor.c: Update all callers.
3361 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3363 2007-12-17 Alexander Larsson <alexl@redhat.com>
3366 Add doc comments about what GFile operations are
3367 guaranteed to not block.
3369 2007-12-17 Alexander Larsson <alexl@redhat.com>
3372 Add missing #ifdef fixing OSX build.
3373 (#503334, patch from Richard Hult)
3375 2007-12-14 David Zeuthen <davidz@redhat.com>
3379 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3380 (g_mount_eject), (g_mount_eject_finish):
3382 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3383 (get_volume_for_uuid), (get_mount_for_uuid),
3384 (g_union_volume_monitor_class_init),
3385 (get_default_native_type_with_exclude), (get_default_native_type),
3386 (get_native_type), (update_native_type),
3387 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3388 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3389 (g_unix_mount_can_eject), (eject_unmount_cb),
3390 (eject_unmount_read_error), (eject_unmount_do),
3391 (g_unix_mount_unmount), (g_unix_mount_eject),
3392 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3393 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3394 (g_unix_mount_point_guess_can_eject):
3396 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3397 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3398 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3399 (g_unix_volume_mount), (g_unix_volume_eject),
3400 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3401 * gunixvolumemonitor.c: (get_volume_for_uuid),
3402 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3404 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3405 (g_volume_eject), (g_volume_eject_finish):
3407 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3408 (g_volume_monitor_get_mount_for_uuid):
3411 Provide eject() on both GMount and GVolume and utility functions
3412 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3413 ejected. Introduce the concept of UUID's and wire it into GVolume
3414 and GMount and provide API on GVolumeMonitor to find such
3415 instances. Also handle the case where an external
3416 GNativeVolumeMonitor fails to initialize. Lock around the
3417 _g_get_mount_for_mount_path() function such that volume monitor
3418 implementations won't have to do locking themselves.
3420 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3422 * gdesktopappinfo.c:
3428 * gvolume.h: Documentation updates
3430 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3433 * gfile.h: Doc updates
3435 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3438 * gdesktopappinfo.c: Use hash table iterators.
3440 2007-12-14 Alexander Larsson <alexl@redhat.com>
3443 * gfileattribute.[ch]:
3444 * gfileattribute-priv.h:
3445 Move GFileAttributeValue to a private header, as
3449 Make set_attribute take a type + a pointer instead
3450 of a GFileAttributeValue.
3453 Fix up for above changes.
3454 Add g_file_info_get_attribute_data to get
3455 all info in one call, g_file_info_get_attribute_status
3456 to get the status and g_file_info_get_attribute_as_string.
3460 * glocalfileinfo.[ch]:
3464 Make _guess_type static.
3466 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3469 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3470 made mkenums and friends use temporary files to avoid leaving
3471 empty generated files on failure (#503470).
3473 2007-12-14 Alexander Larsson <alexl@redhat.com>
3475 * gmountoperation.h:
3478 2007-12-14 Alexander Larsson <alexl@redhat.com>
3482 * gfileattribute.[ch]:
3485 * glocalfileoutputstream.c:
3486 * gmountoperation.[ch]:
3487 * goutputstream.[ch]:
3488 Clean up all flags enums to not have _FLAGS in them
3489 Make the names of some of the enums better.
3494 2007-12-14 Michael Natterer <mitch@imendio.com>
3496 * gio.symbols: fix g_io_scheduler symbol names.
3498 2007-12-14 Alexander Larsson <alexl@redhat.com>
3504 * gbufferedinputstream.h:
3505 * gbufferedoutputstream.h:
3508 * gdatainputstream.h:
3509 * gdataoutputstream.h:
3510 * gdesktopappinfo.h:
3511 * gdirectorymonitor.h:
3515 * gfileenumerator.h:
3518 * gfileinputstream.h:
3520 * gfilenamecompleter.h:
3521 * gfileoutputstream.h:
3522 * gfilterinputstream.h:
3523 * gfilteroutputstream.h:
3531 * gmemoryinputstream.h:
3532 * gmemoryoutputstream.h:
3534 * gmountoperation.h:
3537 * gsimpleasyncresult.h:
3539 * gunixinputstream.h:
3541 * gunixoutputstream.h:
3545 * inotify/Makefile.am:
3546 Only allow including <gio/gio.h> from apps
3548 2007-12-14 Alexander Larsson <alexl@redhat.com>
3550 * gioscheduler.[ch]:
3551 * gsimpleasyncresult.c:
3552 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3553 Split out the send_to_mainloop call into two versions instead
3554 of having the block argument.
3556 2007-12-13 Alexander Larsson <alexl@redhat.com>
3558 * gcancellable.[ch]:
3560 * gbufferedinputstream.c:
3561 * gfileenumerator.c:
3562 * gfileinputstream.c:
3563 * gfileoutputstream.c:
3567 g_push/pop_current_cancellable ->
3568 g_cancellable_push/pop_current
3570 2007-12-13 Alexander Larsson <alexl@redhat.com>
3574 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3576 2007-12-13 Alexander Larsson <alexl@redhat.com>
3578 * gmountoperation.h:
3579 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3581 2007-12-12 Alexander Larsson <alexl@redhat.com>
3584 Fix race condition when freeing proxy in
3585 g_io_job_send_to_mainloop().
3587 2007-12-12 Alexander Larsson <alexl@redhat.com>
3593 Make attribute namespace separator "::" instead of ":".
3594 Use - instead of _ as separator in attribute names.
3596 2007-12-12 Alexander Larsson <alexl@redhat.com>
3598 * gbufferedinputstream.h:
3599 * gbufferedoutputstream.h:
3600 * gdatainputstream.h:
3601 * gdataoutputstream.h:
3602 * gdirectorymonitor.h:
3603 * gfileenumerator.h:
3604 * gfileinputstream.h:
3606 * gfileoutputstream.h:
3607 * gfilterinputstream.h:
3608 * gfilteroutputstream.h:
3610 * glocalfileinputstream.h:
3611 * glocalfileoutputstream.h:
3612 * gmemoryinputstream.h:
3613 * gmemoryoutputstream.h:
3614 * gnativevolumemonitor.h:
3616 * gunixinputstream.h:
3617 * gunixoutputstream.h:
3620 s/parent/parent_instance/ in GObjects
3622 2007-12-12 Alexander Larsson <alexl@redhat.com>
3627 No need for padding for interfaces
3629 2007-12-12 Alexander Larsson <alexl@redhat.com>
3633 * gbufferedinputstream.c:
3634 * gbufferedoutputstream.c:
3637 * gdatainputstream.[ch]:
3638 * gdesktopappinfo.c:
3639 * gdirectorymonitor.c:
3641 * gfileattribute.[ch]:
3644 * gfileinputstream.h:
3645 * gfilemonitor.[ch]:
3646 * gfileoutputstream.[ch]:
3647 * gfilterinputstream.h:
3648 * gfilteroutputstream.h:
3651 * gloadableicon.[ch]:
3652 * gmemoryinputstream.c:
3653 * gmountoperation.c:
3655 Fix up a bunch of details in the docs.
3660 2007-12-11 David Zeuthen <davidz@redhat.com>
3662 Rework how volumes, drives and volume monitoring is
3663 done. Previosly the model was
3665 GDrive <1-1> GVolume
3667 where a GDrive instance represented a mount point and a GVolume
3668 instance represented a mounted file system. This patch changes it
3671 GDrive <1-N> GVolume <1-1> GMount
3673 where GMount now serves the purpose of the old GVolume and the new
3674 GVolume serves the purpose of the old GDrive. In addition the new
3675 GDrive interface is used to represent a collection of GVolume
3676 instances (typically partitions) and also contains utility to query
3677 the state of the physical drive the GDrive object represents (such
3678 as checking for media, polling the drive, ejecting the media etc.).
3680 Also implement mounting and unmounting in the Unix volume monitor
3681 backend. A subquent patch will introduce GDrive support for ejection
3685 * gdrive.c: (g_drive_is_media_check_automatic),
3686 (g_drive_is_media_removable), (g_drive_has_media),
3687 (g_drive_can_poll_for_media), (g_drive_eject),
3688 (g_drive_eject_finish), (g_drive_poll_for_media),
3689 (g_drive_poll_for_media_finish):
3691 * gfile.c: (g_file_find_enclosing_mount):
3694 * glocaldirectorymonitor.c:
3695 (g_local_directory_monitor_constructor), (mounts_changed):
3696 * glocalfile.c: (get_mount_info),
3697 (g_local_file_find_enclosing_mount),
3698 (g_local_file_file_iface_init):
3699 * gnativevolumemonitor.h:
3700 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3701 (get_connected_drives), (g_union_volume_monitor_class_init),
3702 (child_volume_added), (child_volume_removed),
3703 (child_volume_changed), (child_mount_added), (child_mount_removed),
3704 (child_mount_pre_unmount), (child_mount_changed),
3705 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3706 (g_union_volume_monitor_remove_monitor),
3707 (_g_mount_get_for_mount_path):
3708 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3709 (guess_system_internal), (_g_get_unix_mounts),
3710 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3711 (g_unix_mount_free), (g_unix_mount_compare),
3712 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3713 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3714 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3715 (type_to_icon), (g_unix_mount_guess_name),
3716 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3717 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3718 (_resolve_symlink), (_resolve_dev_root):
3720 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3721 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3722 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3723 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3724 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3725 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3726 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3727 (g_unix_volume_volume_iface_init):
3729 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3730 (get_mounts), (get_volumes), (get_connected_drives),
3731 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3732 (mountpoints_changed), (mounts_changed),
3733 (g_unix_volume_monitor_init),
3734 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3735 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3736 * gunixvolumemonitor.h:
3737 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3738 (g_volume_mount), (g_volume_mount_finish):
3740 * gvolumemonitor.c: (g_volume_monitor_class_init),
3741 (g_volume_monitor_get_connected_drives),
3742 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3745 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3747 * gmountoperation.h (GPasswordFlags): Close the gap
3749 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3751 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3753 * gdesktopappinfo.[hc]: Remove _-prefixes
3755 2007-12-10 Tor Lillqvist <tml@novell.com>
3757 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3760 2007-12-10 Alexander Larsson <alexl@redhat.com>
3762 * gfile.c (g_file_set_display_name):
3763 Don't hardcode '/' (#502727)
3765 2007-12-09 Hans Breuer <hans@breuer.org>
3767 * makefile.msc : follow lib naming convention
3768 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3769 for user and group name, tested with ../tests/gio-ls
3771 2007-12-09 A. Walton <awalton@svn.gnome.org>
3773 * gdesktopappinfo.c:
3779 * gfileenumerator.c:
3784 * gmemoryinputstream.c:
3785 * gmemoryoutputstream.c:
3787 * gsimpleasyncresult.c:
3788 More documentation cleanup and filling in missing information, bringing
3789 GIO to 99% symbol coverage.
3791 2007-12-08 Hans Breuer <hans@breuer.org>
3793 [gio compiles and links on win32, not sure how much already works]
3794 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3795 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3796 base on win32 API; prefer g_lstat() over lstat(); instead of
3797 localtime_r() use an all GLib implementation on win32;
3798 get_mount_info() still needs a win32 specifc implementation
3799 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3800 win32_get_file_user_info to get owner/group info without uid/gid
3801 * glocalfileinputstream.c : include <io.h> on win32
3802 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3803 definition, use g_win32_ftruncate() for G_OS_WIN32
3804 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3805 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3806 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3807 * makefile.msc : updated
3809 2007-12-07 Alexander Larsson <alexl@redhat.com>
3811 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3812 Avoid warning spew if error == NULL
3814 2007-12-07 Alexander Larsson <alexl@redhat.com>
3817 Update docs wrt etags
3819 2007-12-06 Alexander Larsson <alexl@redhat.com>
3822 Include sys/types.h for dev_t (#501919)
3824 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3828 Make abicheck and pltcheck pass.
3830 2007-12-05 Alexander Larsson <alexl@redhat.com>
3833 * giomodule-priv.h: Added.
3834 * glocaldirectorymonitor.c:
3835 * glocalfilemonitor.c:
3836 * gunionvolumemonitor.c:
3838 Actually add the declaration of _g_io_modules_ensure_loaded
3840 2007-12-05 Alexander Larsson <alexl@redhat.com>
3842 * gdatainputstream.c:
3847 * glocaldirectorymonitor.c:
3848 * glocalfilemonitor.c:
3849 * gunionvolumemonitor.c:
3851 Make g_io_modules_ensure_loaded a private function and
3852 don't pass in the dirname. This means we can do magic
3853 directory finding in the win32 version.
3854 Export the actual load-modules-in-directory code so that
3855 gvfs can reuse that.
3857 2007-12-05 Alexander Larsson <alexl@redhat.com>
3859 * gbufferedinputstream.c:
3860 * gbufferedoutputstream.c:
3863 * gfileenumerator.[ch]:
3864 * gfileinputstream.c:
3865 * gfileoutputstream.[ch]:
3866 * gfilterinputstream.c:
3867 * gfilteroutputstream.c:
3868 * ginputstream.[ch]:
3870 * glocalfileenumerator.c:
3871 * glocalfileinputstream.c:
3872 * glocalfileoutputstream.c:
3873 * gmemoryinputstream.c:
3874 * gmemoryoutputstream.c:
3875 * goutputstream.[ch]:
3878 * gunixinputstream.c:
3879 * gunixoutputstream.c:
3880 Rename all struct members named:
3881 read, write, close, truncate, or mount
3882 to foo_fn, as these are reserved names
3883 and could be defined as macros in libc.
3886 2007-12-04 Alexander Larsson <alexl@redhat.com>
3889 (g_output_stream_close):
3890 Only call flush if non-null.
3892 2007-11-30 Dan Winship <danw@gnome.org>
3894 * ginputstream.c (g_input_stream_set_pending): Make this take a
3895 GError and return a gboolean, and do the "outstanding operation"
3896 check (and the "stream is already closed" check) itself.
3897 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3899 * goutputstream.c (g_output_stream_set_pending)
3900 (g_output_stream_clear_pending): Likewise
3902 * gbufferedinputstream.c:
3903 * gfileinputstream.c:
3904 * gfileoutputstream.c: Update for that
3906 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3907 Like g_simple_async_report_error_in_idle, but takes a GError
3908 rather than building one.
3910 2007-11-30 Dan Winship <danw@gnome.org>
3912 * goutputstream.c: Don't cheat and unset the "pending" flag around
3913 inner calls. Instead, call the class method directly rather than
3914 the wrapper function that checks "pending"
3916 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3918 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3920 2007-12-03 Hans Breuer <hans@breuer.org>
3922 [start of port to win32/msvc]
3923 * gcancellable.c : HAVE_UNIST_H and _pipe()
3924 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3925 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3926 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3928 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3929 * glocalvfs.c : use HAVE_PWD_H
3930 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3931 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3932 * Makefile.am : added to EXTRA_DIST
3934 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3936 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3939 2007-12-03 Alexander Larsson <alexl@redhat.com>
3942 Handle OSX style xattrs API (#500506)
3944 2007-12-03 Alexander Larsson <alexl@redhat.com>
3948 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3950 2007-12-02 A. Walton <awalton@svn.gnome.org>
3954 Documentation accuracy fixes.
3956 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3958 * gioenumtypes.c.template: Fix typo.
3960 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3962 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3964 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3966 * gdirectorymonitor.c:
3967 * gfilemonitor.c: Add properties
3969 * gbufferedoutputstream.c: Don't mark buffer-size property
3972 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3974 * gbufferedoutputstream.c: Add auto-grow property.
3976 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3978 * *.c: Unify the capitalization of section headings.
3980 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3982 * gmountoperation.c: Add properties
3984 * gdatainputstream.c: Turn byte-order and newline-type into
3987 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3989 * gioenumtypes.[hc].template: Templates for enum registration
3991 * Makefile.am: Generate gioenumtypes.[hc]
3993 * gio.h: Include gioenumtypes.h
3995 * gfile.h: Add some explicit nicks.
3997 * gio.symbols: Add new symbols
3999 * pltcheck.sh: Adjust
4001 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4003 * *.c: Explain etags and link to the explanation
4005 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4007 * *.c: Explain I/O priority.
4009 * *.c: More coding style fixes.
4011 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4013 * gasyncresult.c: Add another paragraph to the intro,
4014 adjust coding style of example.
4016 2007-11-29 A. Walton <awalton@svn.gnome.org>
4019 Fixes unknown meaning in GAppLaunchContext docs.
4021 Clarify asynchronous ops.
4023 Fix entity tag docs.
4026 Provides missing gtk-doc section, fixes API docs slighly.
4027 * gsimpleasyncresult.c:
4028 Fill in missing info in docs.
4029 * gunixinputstream.c:
4030 * gunixoutputstream.c:
4031 Be more expressive in short description.
4033 Remove gtk-doc stubs for non-public API.
4035 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4037 * *.c: Coding style fixups
4039 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4041 * inotify/inotify-helper.c: Don't export the lock from libgio.
4043 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4046 * abicheck.sh: Fix copy-and-paste leftovers
4048 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4050 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4052 2007-11-28 Alexander Larsson <alexl@redhat.com>
4056 Removed unnecessary file
4058 * gdesktopappinfo.[ch]:
4061 * glocaldirectorymonitor.[ch]:
4063 * glocalfileenumerator.[ch]:
4064 * glocalfileinputstream.[ch]:
4065 * glocalfilemonitor.[ch]:
4066 * glocalfileoutputstream.[ch]:
4068 * gnativevolumemonitor.c:
4069 * gpollfilemonitor.[ch]:
4070 * gunionvolumemonitor.[ch]:
4073 * gunixvolumemonitor.[ch]:
4076 * inotify/ginotifydirectorymonitor.[ch]:
4077 * inotify/ginotifyfilemonitor.[ch]:
4078 * inotify/inotify-helper.c:
4079 Append _ to all internal functions
4083 Export symbols needed for modules
4085 2007-11-28 Alexander Larsson <alexl@redhat.com>
4088 * abicheck.sh: Added.
4089 * makegioalias.pl: Added.
4090 * pltcheck.sh: Added.
4091 * gio.symbols: Added.
4094 Initial work on adding symbol handling.
4097 Correct ifdef guard name
4100 * inotify/Makefile.am:
4101 * xdgmime/Makefile.am:
4102 Include toplevel Makefile.decl
4104 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4106 * gcontenttype.c: Move doc comments to the unix section.
4108 * *.[hc]: More trivial doc corrections.
4110 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4112 * gpollfilemonitor.c:
4116 * gdesktopappinfo.c:
4121 * gdatainputstream.c:
4122 * gdatainputstream.h:
4123 * gdataoutputstream.c:
4124 * gdataoutputstream.h:
4125 * gfileinfo.h: Doc cleanups
4127 2007-11-28 Andre Klapper <a9016009@gmx.de>
4129 * gdesktopappinfo.c: Fix a typo.
4131 2007-11-27 Andre Klapper <a9016009@gmx.de>
4133 * glocalfileoutputstream.c: Fix a typo.
4135 2007-11-27 Alexander Larsson <alexl@redhat.com>
4138 Don't include removed headers
4140 2007-11-27 Alexander Larsson <alexl@redhat.com>
4143 * gsocketinputstream.[ch]: Removed.
4144 * gsocketoutputstream.[ch]: Removed.
4145 * gunixinputstream.[ch]: Added.
4146 * gunixoutputstream.[ch]: Added.
4147 Renamed GSocket*Stream to GUnix*Stream and made
4148 it unix-only, since its not really only for sockets
4149 and it only works on unix (but is highly useful there).
4151 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4157 * gbufferedinputstream.c:
4158 * gbufferedinputstream.h:
4159 * gbufferedoutputstream.c:
4160 * gbufferedoutputstream.h:
4164 * gdatainputstream.c:
4165 * gdatainputstream.h:
4166 * gdataoutputstream.c:
4167 * gdataoutputstream.h:
4168 * gdirectorymonitor.c:
4169 * gdirectorymonitor.h:
4176 * gfileenumerator.c:
4177 * gfileenumerator.h:
4182 * gfileinputstream.c:
4183 * gfileinputstream.h:
4186 * gfilenamecompleter.c:
4187 * gfilenamecompleter.h:
4188 * gfileoutputstream.c:
4189 * gfileoutputstream.h:
4190 * gfilterinputstream.c:
4191 * gfilterinputstream.h:
4192 * gfilteroutputstream.c:
4193 * gfilteroutputstream.h:
4206 * glocalfileoutputstream.c:
4207 * gmemoryinputstream.c:
4208 * gmemoryinputstream.h:
4209 * gmemoryoutputstream.c:
4210 * gmemoryoutputstream.h:
4211 * gmountoperation.c:
4212 * gmountoperation.h:
4215 * gpollfilemonitor.c:
4218 * gsimpleasyncresult.c:
4219 * gsimpleasyncresult.h:
4220 * gsocketinputstream.c:
4221 * gsocketinputstream.h:
4222 * gsocketoutputstream.c:
4223 * gsocketoutputstream.h:
4230 * gunixvolumemonitor.c:
4239 Bumps documentation to 93% symbol coverage, touching most
4240 of the public files. Fixes broken function documentation prototypes.
4241 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4242 gtk-doc headers in private files.
4244 2007-11-27 Jürg Billeter <j@bitron.ch>
4246 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4247 (g_buffered_input_stream_read_byte):
4248 * gbufferedinputstream.h:
4249 New functions for efficient access to buffer and simple single byte
4252 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4253 (g_data_input_stream_read_until):
4254 * gdatainputstream.h:
4255 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4256 read_until with multiple stop chars.
4258 2007-11-27 Alexander Larsson <alexl@redhat.com>
4262 * inotify/Makefile.am:
4263 Use the user-specified giomoduledir
4265 2007-11-27 Alexander Larsson <alexl@redhat.com>
4269 Add catch-all gio.h header
4270 Don't install gdummyfile.h
4272 2007-11-26 Alexander Larsson <alexl@redhat.com>
4274 * Makefile.am (gioinclude_HEADERS):
4275 Remove trailing whitespace
4277 2007-11-26 Alexander Larsson <alexl@redhat.com>
4279 Merge gio-standalone into glib
4281 2007-11-25 Christian Kellner <gicmo@gnome.org>
4283 * gio/goutputstream.c:
4284 Fix small mistake in the docs.
4286 2007-11-21 Christian Persch <chpe@gnome.org>
4288 * gio/glocalfile.c: (g_local_file_trash):
4289 Convert filenames to UTF-8 for GError.
4290 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4291 as per xdg base dir spec.
4293 2007-11-21 Christian Persch <chpe@gnome.org>
4295 * gio/gdesktopappinfo.c:
4296 Use that g_key_file_to_data cannot fail.
4298 Use stock defines for the key file group and key names.
4301 2007-11-21 Alexander Larsson <alexl@redhat.com>
4304 (copy_stream_with_progress):
4305 Make sure we do a final progress callback with
4306 the full total size.
4308 2007-11-21 Alexander Larsson <alexl@redhat.com>
4311 Export g_file_copy_attributes
4312 Remove padding as its not needed for interfaces
4314 2007-11-20 Alexander Larsson <alexl@redhat.com>
4319 Add G_IO_ERROR_WOULD_MERGE for
4320 copy/move dir on dir with overwrite.
4322 2007-11-20 Alexander Larsson <alexl@redhat.com>
4325 * gio/glocalfileinfo.c:
4326 Add COPY_NAME (this is an optional
4327 non-modified utf8 version of the name) that
4330 2007-11-20 Alexander Larsson <alexl@redhat.com>
4332 * gio/glocalfileenumerator.c:
4333 Report errors as GIOError, not GFileError
4335 2007-11-16 Alexander Larsson <alexl@redhat.com>
4337 * gio/glocalfileoutputstream.c:
4338 * gio/gwin32appinfo.c:
4339 Fix typos in strings.
4340 Patch from Luca Ferretti <elle.uca@libero.it>
4342 2007-11-15 Alexander Larsson <alexl@redhat.com>
4345 Post release version bump
4347 === gio-standalone 0.1.2 ===
4349 2007-11-15 Alexander Larsson <alexl@redhat.com>
4351 * docs/reference/gio/Makefile.am:
4352 Fix up distcheck by removing weird
4358 2007-11-14 Alexander Larsson <alexl@redhat.com>
4360 * gio/gdesktopappinfo.c:
4361 * gio/glocaldirectorymonitor.c:
4363 * gio/glocalfileinfo.c:
4364 * gio/inotify/inotify-sub.c:
4365 * programs/gio-cat.c:
4366 * programs/gio-copy.c:
4367 * programs/gio-info.c:
4368 * programs/gio-ls.c:
4369 * programs/gio-monitor-dir.c:
4370 * programs/gio-monitor-file.c:
4371 * programs/gio-mount.c:
4372 * programs/gio-move.c:
4373 * programs/gio-rm.c:
4374 * programs/gio-save.c:
4375 * programs/gio-trash.c:
4376 Leak fixes from Kjartan Maraas
4378 2007-11-14 Alexander Larsson <alexl@redhat.com>
4380 * gio/fam/fam-helper.c:
4382 * gio/glocalfileinfo.c:
4386 * gio/inotify/inotify-diag.c:
4387 * gio/inotify/inotify-kernel.c:
4388 Various code cleanups from Kjartan Maraas
4390 2007-11-14 Alexander Larsson <alexl@redhat.com>
4392 * gio/gioscheduler.c:
4394 Set up threadpool so that we cache 2 unused
4395 idle threads for at 15 secs. This means we
4396 will reuse thread-local data (like dbus connections)
4399 2007-11-14 Alexander Larsson <alexl@redhat.com>
4401 * gio/fam/fam-helper.c:
4402 * gio/fam/gfamdirectorymonitor.c:
4403 * gio/fam/gfamfilemonitor.c:
4405 * gio/gcontenttype.c:
4406 * gio/gdatainputstream.c:
4407 * gio/gdataoutputstream.c:
4411 * gio/gfileattribute.h:
4412 * gio/gfileenumerator.c:
4414 * gio/ginputstream.c:
4417 * gio/glocalfileinfo.c:
4418 * gio/goutputstream.c:
4419 * gio/gpollfilemonitor.c:
4420 * gio/gsimpleasyncresult.c:
4421 * gio/gunixmounts.c:
4422 * gio/gunixmounts.h:
4423 * gio/inotify/ginotifydirectorymonitor.c:
4424 * gio/inotify/ginotifyfilemonitor.c:
4425 * gio/inotify/inotify-diag.c:
4426 * gio/inotify/inotify-kernel.c:
4427 * gio/inotify/inotify-path.c:
4429 * gio/test-streams.c:
4430 * programs/gio-info.c:
4431 * programs/gio-monitor-dir.c:
4432 * programs/gio-monitor-file.c:
4433 Various code cleanups from Kjartan Maraas
4435 2007-11-13 Alexander Larsson <alexl@redhat.com>
4438 Handle the uri-scheme calls for dummy files
4440 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4442 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4443 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4444 to avoid clash with the C++ keyword.
4446 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4448 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4449 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4451 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4453 * gio/glocaldirectorymonitor.c:
4454 * gio/glocalfilemonitor.c:
4455 * gio/gunionvolumemonitor.c:
4456 Don't use g_once_init_*() for initializations that could fail and
4457 could leave the initialization variable set to 0 but use GOnce.
4458 This prevents a deadlock on the second call when trying to create
4459 a monitor and no monitor type is available. Thanks to Sven Herzberg
4462 2007-11-11 Sven Herzberg <sven@imendio.com>
4464 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4465 #ifdef (make it work on MacOS X again)
4467 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4469 Fixes Changelog for last two commits (sorry guys).
4471 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4473 * gio/gbufferedinputstream.c:
4474 * gio/gdatainputstream.c:
4476 * gio/gfileoutputstream.c:
4477 * gio/gfilterinputstream.c:
4478 * gio/glocalfileinputstream.c:
4481 More consistency fixes in g*stream.c files.
4482 Significant clean of gfile's documentation, filling in of
4483 asynchronous operations documentation.
4485 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4487 * gio/gasyncresult.c:
4488 * gio/gbufferedinputstream.c:
4489 * gio/gbufferedoutputstream.c:
4490 * gio/gcancellable.c:
4491 * gio/gcontenttype.c:
4492 * gio/gdatainputstream.c:
4493 * gio/gdataoutputstream.c:
4494 * gio/gdesktopappinfo.c:
4497 * gio/gfileattribute.c:
4498 * gio/gio/gfileenumerator.c:
4500 * gio/gfileinputstream.c:
4501 * gio/gfilemonitor.c:
4502 * gio/gfileoutputstream.c:
4503 * gio/ginputstream.c:
4505 * gio/gioscheduler.c:
4506 * gio/gloadableicon.c:
4507 * gio/glocalfileoutputstream.c:
4508 * gio/gmemoryoutputstream.c:
4509 * gio/gmountoperation.c:
4510 * gio/goutputstream.c:
4512 * gio/gsimpleasyncresult.c:
4513 * gio/gunionvolumemonitor.c:
4514 * gio/gunixmounts.c:
4515 * gio/gunixvolume.c:
4519 * gio/gvolumemonitor.c:
4520 Updated documentation stubs, working towards consistency and
4523 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4525 * gio/gmemoryoutputstream.c:
4526 * gio/gmemoryoutputstream.h:
4527 Change g_memory_output_stream_set_free_on_close() to
4528 g_memory_output_stream_set_free_data() as this makes more sense and
4529 is more consistent with GMemoryInputStream.
4531 2007-11-07 Alexander Larsson <alexl@redhat.com>
4538 Change how we find the default vfs so that
4539 we can handle a gvfs failing to init
4541 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4543 * gio/gbufferedoutputstream.c:
4544 * gio/gdatainputstream.c:
4545 * gio/gdataoutputstream.c:
4546 * gio/gfileinputstream.c:
4547 * gio/gfileoutputstream.c:
4548 * gio/gfilterinputstream.c:
4549 * gio/gfilteroutputstream.c:
4550 * gio/ginputstream.c:
4551 * gio/gmemoryinputstream.c:
4552 * gio/gmemoryoutputstream.c:
4553 * gio/goutputstream.c:
4554 * gio/gsimpleasyncresult.c:
4555 * gio/gsocketinputstream.c:
4556 * gio/gsocketoutputstream.c:
4557 Add guards to the remaining public functions, add a TODO for
4558 an unimplemented function and remove some useless guards.
4560 2007-11-07 Alexander Larsson <alexl@redhat.com>
4563 Autoconf checks for the various types of
4564 getpwuid_r and getgrgid_r
4566 * gio/glocalfileinfo.c:
4567 Use the autoconf checks from above
4569 2007-11-07 Alexander Larsson <alexl@redhat.com>
4572 (g_local_file_query_filesystem_info):
4573 Some fixes for the statvfs case
4575 2007-11-07 Alexander Larsson <alexl@redhat.com>
4578 (g_local_file_query_filesystem_info):
4579 Pick the "best" of statfs / statvfs for the system
4580 if both are availible.
4582 2007-11-07 Alexander Larsson <alexl@redhat.com>
4584 Solaris fixes from Halton.Huo@Sun.COM:
4591 * gio/glocalfileinfo.c:
4592 Fix for solaris definition of getpwuid_r
4594 * gio/test-streams.c:
4595 Use G_GNUC_PRETTY_FUNCTION
4597 2007-11-07 Alexander Larsson <alexl@redhat.com>
4599 * gio/gdesktopappinfo.c:
4600 (update_default_list):
4601 Remove double semicolon.
4602 Patch from Jens Granseuer
4604 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4606 * docs/reference/gio/gio-sections.txt:
4607 * gio/gbufferedinputstream.c:
4608 * gio/gbufferedinputstream.h:
4609 * gio/gdatainputstream.c:
4610 * gio/gfileenumerator.c:
4611 * gio/gioscheduler.c:
4612 * gio/gunionvolumemonitor.c:
4614 * programs/gio-save.c:
4615 Fix typo: availible -> available. Unfortuntely this breaks API
4616 and ABI as g_buffered_input_stream_get_available() was renamed.
4618 * gio/gunixmounts.c:
4619 * gio/gbufferedinputstream.c:
4620 Add guards for public functions.
4622 2007-11-06 Ross Burton <ross@openedhand.com>
4624 * docs/reference/gio/Makefile.am:
4625 Fix invalid += usage which automake 1.10 doesn't like.
4627 2007-11-06 Alexander Larsson <alexl@redhat.com>
4630 (g_app_launch_context_class_init):
4633 Patch from Ross Burton
4635 2007-11-06 Alexander Larsson <alexl@redhat.com>
4638 Post release version bump
4640 === gio-standalone 0.1.1 ===
4642 2007-11-06 Alexander Larsson <alexl@redhat.com>
4645 Bump version to 0.1.1
4647 * gio/gsimpleasyncresult.c:
4648 (g_simple_async_result_set_from_error):
4649 Remove bogus g_return_if_fail
4651 2007-11-06 Alexander Larsson <alexl@redhat.com>
4654 The name is gio-standalone
4657 Add top src/builddir to includedir
4659 2007-11-06 Alexander Larsson <alexl@redhat.com>
4661 * docs/reference/gio/gio-sections.txt:
4663 * gio/gbufferedinputstream.c:
4664 * gio/gbufferedoutputstream.c:
4665 * gio/gcancellable.c:
4666 * gio/gdatainputstream.h:
4667 * gio/gdataoutputstream.c:
4668 * gio/gdataoutputstream.h:
4669 * gio/gdirectorymonitor.c:
4671 * gio/gfileattribute.c:
4672 * gio/gfileattribute.h:
4673 * gio/gfileenumerator.c:
4674 * gio/gfileenumerator.h:
4677 * gio/gfileinputstream.h:
4678 * gio/gfilemonitor.c:
4679 * gio/gfileoutputstream.h:
4680 * gio/glocalfilemonitor.h:
4681 * gio/glocalfileoutputstream.h:
4682 * gio/gmemoryinputstream.c:
4683 * gio/gmemoryoutputstream.c:
4684 * gio/gmountoperation.c:
4685 * gio/goutputstream.c:
4686 * gio/goutputstream.h:
4688 * gio/gsimpleasyncresult.c:
4689 * gio/gunixmounts.c:
4690 * gio/gunixmounts.h:
4692 * gio/inotify/inotify-helper.c:
4693 Fix gtk-doc warnings
4695 Patch from Ross Burton
4697 2007-11-06 Alexander Larsson <alexl@redhat.com>
4699 * gio/gfilenamecompleter.c:
4700 (g_filename_completer_get_completions):
4703 * gio/gunixvolume.c:
4704 Remove unused function
4706 Patches from Ross Burton
4708 2007-11-06 Alexander Larsson <alexl@redhat.com>
4713 Padding not needed for interfaces
4715 2007-11-06 Alexander Larsson <alexl@redhat.com>
4717 * gio/gfilemonitor.c:
4721 Make giotypes.h an internal file
4724 * gio/gbufferedinputstream.h:
4725 * gio/gbufferedoutputstream.h:
4726 * gio/gcancellable.h:
4727 * gio/gdatainputstream.h:
4728 * gio/gdataoutputstream.h:
4729 * gio/gdirectorymonitor.c:
4730 * gio/gdirectorymonitor.h:
4735 * gio/gfileattribute.h:
4736 * gio/gfileenumerator.h:
4741 * gio/gfilemonitor.c:
4742 * gio/gfilemonitor.h:
4743 * gio/gfilenamecompleter.c:
4744 * gio/gfilenamecompleter.h:
4745 * gio/gfilterinputstream.h:
4746 * gio/gfilteroutputstream.h:
4747 * gio/ginputstream.h:
4748 * gio/gmemoryinputstream.h:
4749 * gio/gmemoryoutputstream.h:
4750 * gio/gmountoperation.c:
4751 * gio/gmountoperation.h:
4752 * gio/gnativevolumemonitor.c:
4753 * gio/goutputstream.h:
4756 * gio/gsimpleasyncresult.c:
4757 * gio/gsimpleasyncresult.h:
4758 * gio/gsocketinputstream.h:
4759 * gio/gsocketoutputstream.h:
4760 * gio/gthemedicon.c:
4761 * gio/gthemedicon.h:
4765 * gio/gvolumemonitor.c:
4766 * gio/gvolumemonitor.h:
4767 Add padding in classes where it seems useful
4768 Don't include giotypes.h from public headers
4769 Move in Class definitions into c file where possible
4774 2007-11-06 Alexander Larsson <alexl@redhat.com>
4776 * docs/reference/gio/gio-docs.xml:
4777 Better structure for API docs
4779 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4782 * gio/gloadableicon.c:
4783 * gio/gsimpleasyncresult.c:
4784 * gio/gthemedicon.c:
4785 Add some more guards to public functions. Only files missing are now
4788 2007-11-06 Alexander Larsson <alexl@redhat.com>
4790 * docs/reference/gio/gio-docs.xml:
4791 Remove old files, add missing ones
4793 2007-11-06 Alexander Larsson <alexl@redhat.com>
4795 * docs/reference/gio/gio-sections.txt:
4798 Hide implementation classes
4800 * gio/gdriveprivate.h:
4801 * gio/gvolumeprivate.h:
4802 Remove non-existing function declarations
4804 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4807 Fix compilation warnings and add guards to the new functions.
4809 * gio/gasyncresult.c:
4811 Add guards to the public functions.
4814 Implement get_path().
4816 2007-11-06 Alexander Larsson <alexl@redhat.com>
4818 * gio/gfilenamecompleter.c:
4819 Make g_filename_completer_get_completions
4820 return char ** instead of GList for
4823 * docs/reference/gio/gio-docs.xml:
4824 * docs/reference/gio/gio-sections.txt:
4826 * gio/gasyncresult.c:
4827 * gio/gbufferedinputstream.c:
4828 * gio/gbufferedoutputstream.c:
4829 * gio/gcancellable.c:
4830 * gio/gcontenttype.c:
4831 * gio/gdatainputstream.c:
4832 * gio/gdataoutputstream.c:
4833 * gio/gdesktopappinfo.c:
4834 * gio/gdirectorymonitor.c:
4838 * gio/gfileattribute.c:
4839 * gio/gfileenumerator.c:
4842 * gio/gfileinputstream.c:
4843 * gio/gfilemonitor.c:
4844 * gio/gfilenamecompleter.c:
4845 * gio/gfilenamecompleter.h:
4846 * gio/gfileoutputstream.c:
4847 * gio/gfilterinputstream.c:
4849 * gio/ginputstream.c:
4851 * gio/gioscheduler.c:
4852 * gio/gloadableicon.c:
4853 * gio/glocaldirectorymonitor.c:
4855 * gio/glocalfileinputstream.c:
4856 * gio/glocalfilemonitor.c:
4857 * gio/glocalfileoutputstream.c:
4859 * gio/gmemoryinputstream.c:
4860 * gio/gmemoryoutputstream.c:
4861 * gio/gmountoperation.c:
4862 * gio/goutputstream.c:
4863 * gio/gpollfilemonitor.c:
4865 * gio/gsimpleasyncresult.c:
4866 * gio/gsocketinputstream.c:
4867 * gio/gsocketoutputstream.c:
4868 * gio/gthemedicon.c:
4869 * gio/gunionvolumemonitor.c:
4871 * gio/gunixmounts.c:
4872 * gio/gunixvolume.c:
4873 * gio/gunixvolumemonitor.c:
4877 * gio/gvolumemonitor.c:
4878 * gio/gwin32appinfo.c:
4879 Add (mostly stub) doc strings to public functions.
4880 Patch from Andrew Walton (awalton@gmail.com)
4882 2007-11-06 Alexander Larsson <alexl@redhat.com>
4884 * gio/gappinfo.[ch]:
4885 Added GAppLaunchContext object and pass that to launch.
4886 This allows simple implementation of both
4887 launch-on-screen and startup notification via a gtk+
4888 subclass of GAppLaunchContext
4890 * gio/gdesktopappinfo.c:
4891 Implement GAppLaunchContext API
4893 * gio/gwin32appinfo.c:
4896 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4898 * gio/gmountoperation.c:
4899 Add some guards to GMountOperation's public functions.
4901 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4905 * gio/gcancellable.c:
4906 * gio/gdirectorymonitor.c:
4908 * gio/gfileenumerator.c:
4909 * gio/gfilemonitor.c:,
4910 * gio/gfilenamecompleter.c:
4913 * gio/gioscheduler.c:
4917 * gio/gvolumemonitor.c:
4918 Add even more guards to various public functions.
4920 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4923 Add guards to the public functions of GAppInfo.
4925 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4927 * gio/gcontenttype.c:
4928 Add some more guards for public functions.
4930 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4932 * gio/fam/fam-module.c:
4933 * gio/fam/gfamdirectorymonitor.c:
4934 * gio/fam/gfamdirectorymonitor.h:
4935 * gio/fam/gfamfilemonitor.c:
4936 * gio/fam/gfamfilemonitor.h:
4937 * gio/inotify/ginotifydirectorymonitor.c:
4938 * gio/inotify/ginotifydirectorymonitor.h:
4939 * gio/inotify/ginotifyfilemonitor.c:
4940 * gio/inotify/ginotifyfilemonitor.h:
4941 Add proper copyright information and remove an unused variable
4942 in the GInotifyFileMonitor constructor.
4944 * gio/gcancellable.c:
4945 Add a guard for a public function and an assertion to prevent
4946 an undefined program state.
4948 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4950 * gio/gfileattribute.c:
4951 Don't run into an assertion if the given attribute value is NULL
4952 in g_file_attribute_value_get_*() but instead return a fallback
4953 value that makes sense in most situations. Passing them a attribute
4954 value with the wrong type will still run into an assertion.
4956 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4958 * gio/gfileattribute.c:
4960 Add even more guards to the public functions. Also fix the refcounting
4961 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4962 let g_file_info_list_attributes() filter the attributes by namespace
4963 instead of simply ignoring the namespace parameter.
4965 2007-11-03 Sven Herzberg <sven@imendio.com>
4967 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4968 (This makes gio work on MacOS X again)
4970 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4973 Build the gio subdirectory before the docs. Otherwise the build will
4976 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4977 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4978 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4979 Add guards to the public functions.
4981 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4983 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4984 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4985 to prevent a compiler warning.
4987 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4988 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4989 return something in the non-void function find_topdir_for().
4991 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4998 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5000 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5001 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5002 * gwin32appinfo.c (g_win32_app_info_launch):
5003 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5004 envp_for_startup_id, g_desktop_app_info_launch,
5005 g_desktop_app_info_launch_uris):
5007 Give an opaque 'startup_id' string instead of 'envp'.
5008 Support empty file lists for launching new windows.
5009 Fix infinite recursion bug when launching URIs.
5011 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5014 Add guard to the new g_file_get_uri_scheme() function.
5016 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5019 Convert a g_return_val_if_fail() to setting the GError instead as
5020 otherwise applications have to verify the parameter before otherwise
5021 and the parameter might come directly from the user.
5023 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5025 * gio/inotify/ginotify*.[ch]:
5026 Add missing copyright information.
5028 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5031 Add guards in the beginning of public functions to check for valid
5032 parameters and fix a bug in copy_stream_with_progress() that could've
5033 caused writing less bytes than reading.
5034 * gio/glocalfileinfo.c:
5035 Check for a NULL parameter and set the GError accordingly then.
5036 * gio/goutputstream.c:
5037 Fix the same bug as in gfile.c that could've caused writing less bytes
5038 than reading in g_output_stream_real_splice().
5040 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5043 Use the correct gvolumeprivate.h naming
5045 2007-11-01 Christian Kellner <gicmo@gnome.org>
5048 Remove leftover "$(daemon_sources)" entry.
5050 2007-11-01 Christian Kellner <gicmo@gnome.org>
5055 Add copyright information to source files.
5057 2007-11-01 Alexander Larsson <alexl@redhat.com>
5061 Add g_file_get_uri_scheme
5063 2007-11-01 Alexander Larsson <alexl@redhat.com>
5066 * gio/gdesktopappinfo.c:
5067 * gio/gwin32appinfo.c:
5068 Add g_app_info_get_default_for_uri_scheme.
5070 2007-11-01 Alexander Larsson <alexl@redhat.com>
5073 Correct filename for gdriveprivate.h
5075 2007-10-31 Alexander Larsson <alexl@redhat.com>
5078 Rename id:value to id:file
5081 * gio/glocalfileinfo.c:
5084 2007-10-31 Alexander Larsson <alexl@redhat.com>
5086 * gio/gunixvolume.c:
5088 Remove g_volume_get_platform_id, as thats not
5089 needed with the simpler union volume monitor
5091 2007-10-31 Alexander Larsson <alexl@redhat.com>
5094 * gio/guniondrive.[ch]: Removed.
5095 * gio/gunionvolume.[ch]: Removed.
5096 Remove GUnionDrive/Volume
5098 * gio/gunionvolumemonitor.c:
5099 Simplify union volume monitor, now we
5100 only have one native volume monitor and
5101 we use the actual volumes/drives from the
5102 child monitors instead of wrapping them
5104 * gio/gnativevolumemonitor.[ch]:
5105 Base class for native volume monitors.
5106 Includes priority and get_volume_for_mountpoint
5109 Add g_file_find_enclosing_volume
5112 Remove volume name fs attribute
5113 Add readonly fs attribute
5116 Implement readonly attribute
5117 remove volume name attribute
5118 Implement find_enclosing volume
5120 * gio/gunixmounts.c:
5121 Add a volume for "/".
5123 * gio/gunixvolume.[ch]:
5124 Set better name for /
5126 * gio/gunixvolumemonitor.[ch]:
5127 Derive from GNativeVolumeMonitor
5128 Implement get_volume_for_mountpoint
5131 GVolume typedef moved to gfile.h
5133 * gio/gvolumeprivate.h:
5134 Add g_volume_get_for_mount_path
5136 2007-10-31 Alexander Larsson <alexl@redhat.com>
5138 * gio/gunixmounts.[ch]:
5139 Add cache info to unix mount listers
5140 Make getmntent use threadsafe
5141 Add is_system_internal attribute for GUnixMount
5143 * gio/gunixvolume.c:
5144 (g_unix_volume_new):
5145 Use is_system_internal instead of own code
5147 * gio/glocaldirectorymonitor.c:
5148 * gio/gunixvolumemonitor.c:
5149 Update to new gunixmounts API
5154 2007-10-30 Alexander Larsson <alexl@redhat.com>
5157 Add volume name fsinfo attribute
5160 Read volume name info
5162 * gio/gunionvolumemonitor.c:
5163 Fix infinite loops when finalizing a union volume monitor
5165 2007-10-30 Alexander Larsson <alexl@redhat.com>
5167 * gio/goutputstream.[ch]:
5168 Add splice() with default implementation
5170 * gio/gsocketoutputstream.c:
5171 (g_socket_output_stream_write):
5172 Return error on cancellation correctly.
5174 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5176 * gio/glocalfile.c (g_local_file_trash):
5177 Do not leak a string.
5179 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5181 * gio/gfile.c (g_file_load_contents):
5182 Unref the stream after closing it.
5184 2007-10-25 Alexander Larsson <alexl@redhat.com>
5186 * gio/gioscheduler.h:
5189 2007-10-25 Alexander Larsson <alexl@redhat.com>
5193 Add g_file_has_uri_scheme and implement for local files
5195 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5197 * gio/gdesktopappinfo.c: do not leak a string.
5199 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5201 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5202 (g_local_directory_monitor_new):
5203 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5204 (g_local_file_monitor_new):
5205 Only look for the monitor type that should be used the first time
5206 and use g_qsort_with_data() instead of our own bubble sort
5209 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5212 * gio/fam/Makefile.am:
5213 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5214 * gio/fam/fam-helper.h:
5215 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5216 * gio/fam/gfamdirectorymonitor.c:
5217 * gio/fam/gfamdirectorymonitor.h:
5218 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5219 * gio/fam/gfamfilemonitor.h:
5220 * gio/glocaldirectorymonitor.c:
5221 * gio/glocaldirectorymonitor.h:
5222 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5223 * gio/glocalfilemonitor.h:
5224 * gio/inotify/Makefile.am:
5225 * gio/inotify/ginotifydirectorymonitor.c:
5226 * gio/inotify/ginotifydirectorymonitor.h:
5227 * gio/inotify/ginotifyfilemonitor.c:
5228 * gio/inotify/ginotifyfilemonitor.h:
5229 Implement the FAM and Inotify monitors as
5230 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5231 their own GIO module. GLocal(Directory|File)Monitor will use the
5232 monitor with the highest rank that is supported on that machine.
5234 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5237 Change GIO module dir to $(libdir)/gio/modules and change
5238 the log domain from GVFS to GIO. Also only export symbols starting
5239 with g_ in the resulting library.
5240 * gio/test-streams.c: (main):
5241 Set log handler for the GIO log domain.
5243 2007-10-22 Alexander Larsson <alexl@redhat.com>
5245 * gio/gfilenamecompleter.[ch]:
5246 Add g_filename_completer_set_dirs_only
5248 2007-10-22 Alexander Larsson <alexl@redhat.com>
5251 * gio/gurifuncs.[ch]:
5252 Add some simple URI helpers
5254 * gio/gfilenamecompleter.[ch]:
5255 Added object for filename (parse name actually) completion
5258 Handle ~ in parse names
5260 2007-10-17 Alexander Larsson <alexl@redhat.com>
5263 * gio/glocalfileinfo.c:
5264 Add and implement id:value attribute
5266 2007-10-17 Alexander Larsson <alexl@redhat.com>
5269 * gio/guniondrive.c:
5271 Add and implement g_drive_has_volumes
5273 2007-10-17 Alexander Larsson <alexl@redhat.com>
5276 * gio/glocalfileinfo.[ch]:
5277 Add unix:is_mountpoint and implement for local files
5279 2007-10-16 Alexander Larsson <alexl@redhat.com>
5281 * gio/gunionvolumemonitor.c:
5282 (g_union_volume_monitor_init):
5283 Fix up the unix type getting so that it works with gcc
5285 2007-10-12 Alexander Larsson <alexl@redhat.com>
5288 * gio/glocalfileinfo.c:
5289 Add thumbnail:failed to file info
5291 2007-10-12 Richard Hult <richard@imendio.com>
5293 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5294 optimizing away the get_type call (happens with some gcc versions,
5295 like the one shipped with OS X 10.4).
5297 2007-10-12 Alexander Larsson <alexl@redhat.com>
5299 * gio/glocalfileinfo.c:
5300 (_g_local_file_info_set_attribute):
5301 Fix build if not HAVE_XATTR
5302 Patch from Milosz Derezynski <internalerror@gmail.com>
5304 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5306 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5307 around for review, otherwise I would have asked you before
5310 2007-10-11 Alexander Larsson <alexl@redhat.com>
5313 Add thumbnail:path attribute
5315 * gio/glocalfileinfo.c:
5316 Implement thumbnail:path for local files
5318 2007-10-11 Alexander Larsson <alexl@redhat.com>
5320 * gio/glocalfileinfo.c:
5321 (_g_local_file_info_get):
5322 Avoid duplicate icon names
5324 2007-10-11 Alexander Larsson <alexl@redhat.com>
5326 * gio/gthemedicon.[ch]:
5327 Change g_themed_icon_get_names return type to const
5329 2007-10-10 Alexander Larsson <alexl@redhat.com>
5331 * gio/glocalfileinfo.c:
5332 Don't reference freed memory
5334 2007-10-10 Alexander Larsson <alexl@redhat.com>
5336 * gio/gfileattribute.c:
5339 * gio/glocalfileinfo.c:
5342 2007-10-10 Alexander Larsson <alexl@redhat.com>
5345 Check for NULL icons
5347 * gio/gfileattribute.c:
5348 Don't dup when getting objects (same as for string attributes)
5350 * gio/gicon.c (g_icon_equal):
5351 Safely handle NULLs in equal
5353 2007-10-10 Alexander Larsson <alexl@redhat.com>
5356 Fix c++ compilation issues
5357 Patch from Milosz Derezynski <internalerror@gmail.com>
5359 2007-10-10 Alexander Larsson <alexl@redhat.com>
5361 * programs/gio-monitor-dir.c:
5362 Don't crash if dir monitor not supported.
5364 2007-10-09 Alexander Larsson <alexl@redhat.com>
5367 Add missing G_END_DECLS
5369 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5371 * gio/gfile.c: (g_file_set_display_name),
5372 (g_file_query_settable_attributes),
5373 (g_file_query_writable_namespaces):
5374 Return NULL not FALSE on errors as the return type is a pointer.
5376 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5378 * gio/glocalfile.c: (g_local_file_monitor_file):
5379 Don't call monitor_file on the default interface vtable (which
5380 is NULL) but simply return NULL. The caller, GFile, will create a
5381 polling monitor if NULL is returned.
5383 2007-10-09 Alexander Larsson <alexl@redhat.com>
5387 * gio-unix-2.0.pc.in:
5388 Add gio-unix-2.0.pc if OS_UNIX
5391 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5393 2007-10-09 Alexander Larsson <alexl@redhat.com>
5395 * gio/gunixmounts.[ch]:
5396 Make unix mount monitoring API sane.
5397 Now its just a object with mounts_changed
5398 and mountpoints_changed signals.
5400 * gio/glocaldirectorymonitor.c:
5401 * gio/gunixvolumemonitor.c:
5402 Use new mount monitor api
5404 2007-10-09 Alexander Larsson <alexl@redhat.com>
5406 * gio/gunixmounts.[ch]:
5407 Move guess type into one call for mounts and one for mountpoints
5410 * gio/gunixvolume.c:
5413 2007-10-09 Alexander Larsson <alexl@redhat.com>
5415 * gio/gunixmounts.[ch]:
5416 Remove _ prefix in preparation to make this semi-public
5417 Hide implementation of structs
5419 * gio/glocaldirectorymonitor.c:
5421 * gio/gunixvolume.c:
5422 * gio/gunixvolumemonitor.c:
5423 Update for above API changes
5425 2007-10-08 Alexander Larsson <alexl@redhat.com>
5428 Better polling fallback. This also handles the case where we have
5429 a monitor_file implementation, but it fails.
5431 2007-10-08 Alexander Larsson <alexl@redhat.com>
5435 * gio/gunixmounts.c:
5436 * programs/gio-monitor-dir.c:
5437 * programs/gio-monitor-file.c:
5438 Added cancellable to file monitoring calls.
5439 These are really sync calls and need this.
5441 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5443 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5444 (g_local_vfs_class_init):
5445 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5446 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5448 2007-10-05 Alexander Larsson <alexl@redhat.com>
5450 * gio/gdirectorymonitorprivate.h:
5451 * gio/gfilemonitorprivate.h:
5452 * gio/gdirectorymonitor.h:
5453 * gio/gfilemonitor.h:
5454 Remove *private.h and move to the public API, so that
5455 we can do implementations outside gio (such as in gvfs)
5457 * gio/gdirectorymonitor.c:
5458 * gio/gfilemonitor.c:
5459 * gio/glocaldirectorymonitor.c:
5460 * gio/gpollfilemonitor.c:
5461 * gio/inotify/inotify-helper.c:
5462 * gio/fam/fam-helper.c:
5463 Update to the new header names
5465 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5467 * gio/gdirectorymonitor.c:
5468 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5471 2007-10-04 Alexander Larsson <alexl@redhat.com>
5473 * gio/glocalfileinfo.c (get_access_rights):
5474 Set CAN_TRASH when we can move the file.
5475 We should really also check for a parent trash dir.
5477 2007-10-04 Alexander Larsson <alexl@redhat.com>
5479 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5480 Add can_trash access attribute
5482 2007-10-04 Alexander Larsson <alexl@redhat.com>
5485 (g_local_file_trash):
5486 Create info file first. This is per-spec and allows
5487 us to actually trash directories.
5489 2007-10-02 Alexander Larsson <alexl@redhat.com>
5491 * gio/gdesktopappinfo.c:
5492 Implement the new mime support code.
5493 Always set app as handling mimetype when being set as default for it
5495 2007-10-01 Alexander Larsson <alexl@redhat.com>
5497 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5498 Fix up check for xattrs:
5500 2007-10-01 Alexander Larsson <alexl@redhat.com>
5503 (g_app_info_set_as_default_for_extension):
5504 (g_app_info_add_supports_type):
5505 (g_app_info_can_remove_supports_type):
5506 (g_app_info_remove_supports_type):
5507 Make these fail nicely if not implemented
5509 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5511 * gio/glocalfileoutputstream.c:
5512 * gio/glocalfileoutputstream.h:
5517 * programs/gio-save.c:
5518 Add a GFileCreateFlags argument to operations that can create
5521 2007-10-01 Alexander Larsson <alexl@redhat.com>
5523 * gio/gappinfo.[ch]:
5524 * gio/gdesktopappinfo.c:
5525 Add more (stubbed out) mime API needed for nautilus
5527 2007-10-01 Alexander Larsson <alexl@redhat.com>
5530 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5531 Add g_app_info_set_as_default_for_extension.
5533 * gio/gdesktopappinfo.c:
5534 Dummy for g_app_info_set_as_default_for_extension
5535 Support flags in g_app_info_create_from_commandline
5537 * gio/gwin32appinfo.c:
5539 Update for API changes
5541 * gio/gthemedicon.c:
5542 Properly NULL-terminate list of icon names
5544 2007-09-28 Alexander Larsson <alexl@redhat.com>
5546 * gio/gloadableicon.h:
5547 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5549 2007-09-28 Alexander Larsson <alexl@redhat.com>
5552 Install headers in $includedir/gio-standalone/
5554 * gio-2.0.pc.in: Added.
5555 * gio-standalone.pc.in: Removed.
5558 Renamed pkg-config file to match glib (for future move)
5559 Update to the new include dir
5562 Add more TODO comments
5564 2007-09-28 Alexander Larsson <alexl@redhat.com>
5566 * gio/gdesktopappinfo.[ch]:
5567 Expose new_from_filename
5568 Add getter for is_hidden and handle it better
5570 2007-09-28 Alexander Larsson <alexl@redhat.com>
5572 * gio/gfileinfo.[ch]:
5573 Rename g_file_size_format_for_display to
5574 g_format_file_size_for_display.
5575 Now it doesn't have the g_file prefix, so we
5576 can later move it to glib.
5578 2007-09-28 Alexander Larsson <alexl@redhat.com>
5580 * gio/gappinfo.[ch]:
5581 Add g_app_info_get_id and g_app_info_get_executable.
5582 Make all getters non-reffing
5583 Make g_app_info_launch take GFile arguments.
5584 Add must_support_uris argument to g_app_info_get_default_for_type.
5586 * gio/gwin32appinfo.c:
5587 Update to GAppInfo api changes
5589 * gio/gdesktopappinfo.c:
5590 Update to GAppInfo api changes
5591 Implement supports_xdg_startup_notify
5593 * gio/gfileicon.c (g_file_icon_get_file):
5594 Make getter non-reffing.
5599 2007-09-27 Alexander Larsson <alexl@redhat.com>
5601 * gio/gfileinfo.[ch]:
5602 Add g_file_size_format_for_display helper
5604 2007-09-27 Alexander Larsson <alexl@redhat.com>
5606 * gio/glocalfileinfo.c:
5607 Set UNIX_GID from gid, not from uid
5609 2007-09-27 Alexander Larsson <alexl@redhat.com>
5612 Add g_file_set_attributes_async
5614 2007-09-27 Alexander Larsson <alexl@redhat.com>
5616 * gio/glocalfile.c (g_local_file_set_display_name):
5617 Fix set_display_name to actually rename to the right place.
5618 Use lstat to look for existing files so we don't overwrite
5621 2007-09-26 Alexander Larsson <alexl@redhat.com>
5624 Add g_file_set_display_name_async()
5626 2007-09-26 Alexander Larsson <alexl@redhat.com>
5629 Add load_partial_contents async calls
5632 Make internal function static
5634 2007-09-26 Alexander Larsson <alexl@redhat.com>
5636 * gio/glocalfileinfo.c:
5637 Correctly detect broken symlinks
5639 2007-09-26 Alexander Larsson <alexl@redhat.com>
5641 * gio/gcancellable.c (g_cancellable_cancel):
5642 Allow cancel on NULL cancellable
5644 2007-09-25 Alexander Larsson <alexl@redhat.com>
5646 * gio/gsimpleasyncresult.c:
5647 Don't allocate g_error manually.
5648 Fixes g_slice/g_new mixup crash
5650 2007-09-25 Alexander Larsson <alexl@redhat.com>
5652 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5653 Actually set active_backend.
5654 This means the monitor will be cancelled correctly.
5656 2007-09-25 Alexander Larsson <alexl@redhat.com>
5658 * gio/gdirectorymonitor.c:
5659 Set timeout to NULL when destroying
5661 2007-09-25 Alexander Larsson <alexl@redhat.com>
5664 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5665 that is a better description of the error.
5667 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5669 * gio/gvfs.c: (g_vfs_get_local):
5670 Make the local vfs variable static. The same instance should
5673 2007-09-24 Alexander Larsson <alexl@redhat.com>
5675 * gio/glocalfileinfo.c:
5676 Pass in actual length read into sniffer, not the length
5679 2007-09-21 Alexander Larsson <alexl@redhat.com>
5681 * gio/gfileenumerator.c:
5684 * gio/gfileinputstream.c:
5685 * gio/gfileoutputstream.c:
5686 * gio/ginputstream.c:
5687 * gio/goutputstream.c:
5688 Don't crash if async callbacks are NULL
5690 2007-09-20 Alexander Larsson <alexl@redhat.com>
5693 Add async enumerate_children method and default
5696 2007-09-20 Alexander Larsson <alexl@redhat.com>
5699 Add g_file_contains_file & g_file_get_relative_path, since they
5700 were needed for nautilus.
5701 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5706 Implement new methods
5708 2007-09-17 Alexander Larsson <alexl@redhat.com>
5711 * gio/gfileinputstream.[ch]:
5712 * gio/gfileoutputstream.[ch]:
5714 * gio/glocalfileenumerator.[ch]:
5715 * gio/glocalfileinfo.[ch]:
5716 * gio/glocalfileinputstream.c:
5717 * gio/glocalfileoutputstream.c:
5718 * gio/gpollfilemonitor.c:
5719 * programs/gio-copy.c:
5720 * programs/gio-info.c:
5721 * programs/gio-move.c:
5722 Rename get_file_info to query_info() to make it clearer
5723 that these are not simple getters, but do i/o.
5725 2007-09-17 Alexander Larsson <alexl@redhat.com>
5727 * gio/gdatainputstream.[ch]:
5728 * gio/test-streams.c:
5729 Use _read_XXX instead of _get_XXX for the i/o calls
5732 2007-09-17 Alexander Larsson <alexl@redhat.com>
5735 Added needed stuff to TODO comment
5737 2007-09-17 Alexander Larsson <alexl@redhat.com>
5739 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5740 Don't error out removing the backup copy if it doesn't
5743 2007-09-14 Alexander Larsson <alexl@redhat.com>
5745 * programs/Makefile.am:
5746 * programs/gvfs-*.c:
5748 Renamed apps from gvfs-xxx to gio-xxx.
5750 2007-09-14 Alexander Larsson <alexl@redhat.com>
5753 * gio/gfileoutputstream.[ch]:
5754 * gio/glocalfileoutputstream.c:
5755 * programs/gvfs-save.c:
5756 g_file_output_stream_get_etag doesn't do i/o, so remove
5757 cancellation and error.
5759 2007-09-14 Alexander Larsson <alexl@redhat.com>
5762 Add new_etag output to replace_contents functions
5764 2007-09-14 Alexander Larsson <alexl@redhat.com>
5766 * gio/gfileoutputstream.[ch]:
5767 Add async get_file_info and default implementation
5769 2007-09-14 Alexander Larsson <alexl@redhat.com>
5771 * gio/gfileinputstream.c:
5772 Implement fallback wrapper for async get_file_info
5774 2007-09-14 Alexander Larsson <alexl@redhat.com>
5777 Add etag out argument to load_contents
5782 2007-09-14 Alexander Larsson <alexl@redhat.com>
5784 * gio/gcontenttype.c (looks_like_text):
5785 Whitespace like tab, cr and lf do not make the
5788 2007-09-14 Alexander Larsson <alexl@redhat.com>
5790 * gio/gfileinputstream.[ch]:
5791 Add async get_file_info.
5793 2007-09-13 Alexander Larsson <alexl@redhat.com>
5795 * gio/goutputstream.c (g_output_stream_write_all):
5796 Allow NULL for bytes_written
5798 2007-09-13 Alexander Larsson <alexl@redhat.com>
5800 * gio/gmemoryinputstream.[ch]:
5801 Add accessors for data
5803 2007-09-13 Alexander Larsson <alexl@redhat.com>
5805 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5806 Don't crash if length is NULL