1 2009-02-27 Alexander Larsson <alexl@redhat.com>
5 Split out the extension point registration code to its
9 Ensure extension points are registered before extending it.
10 It might not have happened yet if g_vfs_get_local() is called.
12 2009-02-26 Alexander Larsson <alexl@redhat.com>
14 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
15 * gmemoryoutputstream.c:
16 Track actual valid size, even if we later seek back.
18 * tests/memory-output-stream.c:
21 2009-02-26 Alexander Larsson <alexl@redhat.com>
23 Bug 543183 – Clarify docs for g_file_has_prefix
25 * gfile.c: (g_file_has_prefix):
26 Clarify how the prefix matching works.
28 2009-02-26 Alexander Larsson <alexl@redhat.com>
31 Support desktop file key X-GIO-NoFuse which disables
32 use of fuse pathnames for %u and %U arguments.
34 2009-02-25 Alexander Larsson <alexl@redhat.com>
36 Bug 570073 – Add support for reading filesystems on Interix
38 * gunixmounts.c (_g_get_unix_mounts):
39 Support Interix. Patch from Fabian Groffen
41 2009-02-25 Paolo Borelli <pborelli@katamail.com>
43 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
45 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
47 2009-02-23 Alexander Larsson <alexl@redhat.com>
50 Remove accidentally commited spew
52 2009-02-20 Alexander Larsson <alexl@redhat.com>
55 (g_content_type_guess):
56 Don't ever sniff desktop files when the filename is known.
57 In other words, only allow desktop files with the .desktop extension
58 and when the filename isn't known.
59 This is a security precaution since desktop files can execute
60 arbitrary code when launched and we don't want to allow them to
61 try and hide as another type. There is no legit reason to not
62 have the .desktop extension anyway.
64 2009-02-19 Alexander Larsson <alexl@redhat.com>
66 Bug 549298 – impossible to copy files with p (pipe) flag
70 Error out if the source file is a special file
72 2009-02-18 Alexander Larsson <alexl@redhat.com>
74 Bug 560564 – Replacing a symlink with its linked file truncates the original file
77 Add G_FILE_CREATE_REPLACE_DESTINATION
79 * glocalfileoutputstream.c:
80 (handle_overwrite_open):
81 (_g_local_file_output_stream_replace):
82 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
86 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
89 2009-02-17 Ryan Lortie <desrt@desrt.ca>
91 * gfileinfo.c: unref the destination's attribute matcher before
94 2009-02-17 Matthias Clasen <mclasen@redhat.com>
96 * === Released 2.19.8 ===
98 2009-02-17 Matthias Clasen <mclasen@redhat.com>
100 * gio.symbols: Add missing exports for new API
102 * gdatainputstream.c: Add missing Since: tags.
104 2009-02-16 Matthias Clasen <mclasen@redhat.com>
106 * === Released 2.19.7 ===
108 2009-02-16 Matthias Clasen <mclasen@redhat.com>
110 * gmountoperation.[hc]: Add an "aborted" signal to abort a
111 mount operation from the backend side.
113 * gvolume.h: Add docs regarding the "aborted" signal.
115 2009-02-16 Ryan Lortie <desrt@desrt.ca>
117 Bug 505042 – add file attribute for actually used file size in bytes
119 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
120 "standard::allocated-size"
121 * gfileattribute.c: document
122 * glocalfileinfo.c: set the allocated size from st_blocks * 512
124 2009-02-16 Ryan Lortie <desrt@desrt.ca>
126 Bug 571598 – GAsyncResult with NULL gobject
128 * gsimpleasyncresult.c: remove various assertions and add some checks
129 to allow for a NULL source_object in GSimpleAsyncResult.
131 2009-02-11 Matthias Clasen <mclasen@redhat.com>
133 Bug 541225 – Can't compile gio on AIX : duplicate case value in
136 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
137 Reported by Nicolas Joseph
139 2009-02-04 Alexander Larsson <alexl@redhat.com>
141 Bug 566747 - URIs opened with firefox %u load as local files
143 * gdummyfile.c (g_dummy_file_get_path):
144 Dummy files are never used for local paths, so always return NULL
147 2009-02-02 Matthias Clasen <mclasen@redhat.com>
149 * === Released 2.19.6 ===
151 2009-01-31 Paolo Borelli <pborelli@katamail.com>
153 * glocalfileinfo.c: plug a tiny mem leak.
155 2009-01-29 Ryan Lortie <desrt@desrt.ca>
157 * gioerror.c (g_io_error_from_errno): handle all possible cases of
158 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
160 2009-01-28 Ryan Lortie <desrt@desrt.ca>
162 Bug 568575 – _async functions for GDataInputStream
164 * gdatainputstream.h:
165 * gdatainputstream.c: add _async versions of read_line and read_until.
167 * ../docs/reference/gio/gio-sections.txt: add new functions
168 * tests/sleepy-stream.c: new test case for async read line
169 * tests/Makefile.am: add new test
171 2009-01-22 Ryan Lortie <desrt@desrt.ca>
173 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
175 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
176 g_buffered_input_stream_fill): check for count < -1 instead of count <
177 0 and copy modified check to non-async version for consistency.
178 document the "count = -1" API.
180 2009-01-22 Ryan Lortie <desrt@desrt.ca>
182 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
184 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
185 after we have successfully read data from the base stream
187 2009-01-20 Ryan Lortie <desrt@desrt.ca>
189 Bug 568394 – dropping the last reference to a stream filter closes the
192 * gfilterinputstream.h:
193 * gfilterinputstream.c: add "close-base-stream" property and only
194 close the base stream if it is true. issue async close callbacks from
195 correct source object.
196 * gfilteroutputstream.h:
197 * gfilteroutputstream.c: add a "close-base-stream" property and only
198 close the base stream if it is true. issue async close callbacks from
199 correct source object.
200 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
201 before closing the base stream. fix invalid source tag comparison in
202 close_async (was comparing to flush_async).
203 * ../docs/reference/gio/gio-sections.txt:
205 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
206 * tests/filter-streams.c: new test cases
207 * tests/Makefile.am: add new test
208 * tests/.gitignore: add new test
210 2009-01-19 Matthias Clasen <mclasen@redhat.com>
212 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
214 2009-01-19 Matthias Clasen <mclasen@redhat.com>
216 * === Released 2.19.5 ===
218 2009-01-19 Matthias Clasen <mclasen@redhat.com>
220 * gappinfo.h: Document get_commandline vfunc
222 2009-01-19 Matthias Clasen <mclasen@redhat.com>
224 * gunixmounts.c: Some stylistic fixes.
226 2009-01-08 Matthias Clasen <mclasen@redhat.com>
228 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
229 functions in non-UTF8 locale
231 * xdgmime/xdgmimecache.c:
232 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
234 2009-01-08 Matthias Clasen <mclasen@redhat.com>
236 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
238 2009-01-07 Matthias Clasen <mclasen@redhat.com>
240 Bug 566770 – error code 0 for Too many open files is useless
242 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
243 Requested by Olivier Sessink.
245 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
247 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
248 G_IO_ERROR_TOO_MANY_OPEN_FILES.
250 2009-01-05 Matthias Clasen <mclasen@redhat.com>
252 * === Released 2.19.4 ===
254 2009-01-05 Dan Winship <danw@gnome.org>
256 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
257 "const char **" to avoid a warning.
259 * gemblem.c (g_emblem_from_tokens):
260 * gemblemedicon.c (g_emblemed_icon_from_tokens):
261 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
264 2009-01-05 Matthias Clasen <mclasen@redhat.com>
266 Bug 566064 – Add NOATIME flag to query_info_flags
268 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
269 sniffing for mime types. Based on a patch by A. Walton
271 2009-01-05 Ryan Lortie <desrt@desrt.ca>
273 * tests/.gitignore: improve
274 * tests/Makefile.am: add new simple-async-result test
275 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
277 2009-01-05 Ryan Lortie <desrt@desrt.ca>
280 * ../docs/reference/gio/gio-sections.txt:
281 * gsimpleasyncresult.h:
282 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
283 Implementation by Dan Winship. Closes #566170.
285 2008-12-31 Matthias Clasen <mclasen@redhat.com>
289 * gunixinputstream.c:
290 * gunixoutputstream.c: Add a note about being UNIX-specific.
292 2008-12-15 Matthias Clasen <mclasen@redhat.com>
294 * === Released 2.19.3 ===
296 2008-12-12 Dan Winship <danw@gnome.org>
298 * pltcheck.sh: make this work on x86_64
300 2008-12-12 Ryan Lortie <desrt@desrt.ca>
302 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
305 2008-12-12 Ryan Lortie <desrt@desrt.ca>
307 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
308 multiple mount entries match the requested path
310 2008-12-10 Alexander Larsson <alexl@redhat.com>
312 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
313 g_simple_async_result_run_in_thread
315 * gsimpleasyncresult.c:
316 Make g_simple_async_result_run_in_thread check cancellation before
317 calling out to the user in the callback. This means we guarantee
318 reporting cancels of async operations from the main threads, which
319 is probably more in line with what users expect.
321 Note that there are still no such guarantees for cancelling sync
322 operations or cancelling async operation from outside the main
323 thread. Furthermore, the exact behaviour of async implementations
324 not using run_in_thread may differ.
326 2008-12-09 Alexander Larsson <alexl@redhat.com>
328 Bug 515777 - incorrect date&time on copy
331 (g_local_file_class_init):
332 Copy mtime by default
335 Change docs about G_FILE_COPY_ALL_METADATA to not mention
338 2008-12-08 Matthias Clasen <mclasen@redhat.com>
340 Bug 558298 – Hide ecryptfs mounts
342 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
343 so that the desktop does not show both the mount and the target
344 directory. Patch by Martin Pitt
346 2008-12-08 Matthias Clasen <mclasen@redhat.com>
348 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
352 * gunixinputstream.[hc]:
353 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
354 including getters and setters. Patch by Maciej Piechotka
356 2008-12-07 Matthias Clasen <mclasen@redhat.com>
358 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
360 * tests/live-g-file.c: Support compilers that don't understand
361 ISO C varargs macros. Patch by Eric Lamarque
363 2008-12-07 Matthias Clasen <mclasen@redhat.com>
365 Bug 526320 – should not list mounts that the user doesn't have
368 gunixmounts.c: Use g_access() to check accessibility of local devices.
371 2008-12-01 Matthias Clasen <mclasen@redhat.com>
373 * === Released 2.19.2 ===
375 2008-12-01 Matthias Clasen <mclasen@redhat.com>
377 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
378 behaviour change, and update the docs instead, to avoid breaking
381 2008-12-01 Matthias Clasen <mclasen@redhat.com>
383 * === Released 2.19.1 ===
385 2008-12-01 Alexander Larsson <alexl@redhat.com>
389 * gunionvolumemonitor.c:
391 Add and document g_mount_is_shadowed plus calls
392 to set/unset a mount as shadowed
394 2008-11-28 Matthias Clasen <mclasen@redhat.com>
396 * gio/tests/g-icon.c: Comment out two failing tests
398 2008-11-28 Matthias Clasen <mclasen@redhat.com>
400 Bug 555486 – No way to recover command line from GAppInfo
403 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
404 by Hans Petter Jansson.
406 * gdesktopappinfo.c: And implement it here.
408 2008-11-28 Christian Dywan <christian@imendio.com>
410 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
412 2008-11-28 Matthias Clasen <mclasen@redhat.com>
414 Bug 559633 – gtk_image_new_from_gicon does not always work for
417 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
418 extensions on icon names. Proposed by Axel von Bertoldi.
420 2008-11-28 Matthias Clasen <mclasen@redhat.com>
422 Bug 548163 – Nautilus displays wrong error message for too long file
425 * glocalfile.c (g_local_file_set_display_name): Correctly set
426 error conditions if the new name is e.g. too long. Reported
427 by Leonardo Ferreira Fontenelle.
429 2008-11-28 Matthias Clasen <mclasen@redhat.com>
431 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
434 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
435 documented and include the line end in the returned string.
436 Pointed out by Paul Pogonyshev.
438 * tests/data-input-stream.c: Fix the read_line test to test the
439 documented behaviour.
441 2008-11-28 Matthias Clasen <mclasen@redhat.com>
443 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
444 files that have been created by g_app_info_create_from_commandline.
446 2008-11-28 Matthias Clasen <mclasen@redhat.com>
448 Bug 541715 – win32 : patch for warnings and signature problems in
451 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
454 2008-11-28 Matthias Clasen <mclasen@redhat.com>
456 Bug 562393 – g_buffered_input_stream_read_byte broken if data
459 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
460 handling of buffered content. Patch by Philip Withnall
462 * tests/buffered-input-stream.c: Add a testcase for this bug.
463 * tests/Makefile.am: And build it
465 2008-11-28 Matthias Clasen <mclasen@redhat.com>
467 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
470 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
471 '/' away. Spotted by Dan Williams.
473 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
475 Bug 561375 – Leaks mountpoint description
477 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
480 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
482 Bug 561352 – Leak of icon description
484 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
487 2008-11-14 Matthias Clasen <mclasen@redhat.com>
489 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
491 2008-11-12 Tor Lillqvist <tml@novell.com>
493 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
495 * win32/gwinhttpvfs.h: Move the set of function pointers to
496 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
497 pointer to that in the GWinHttpVfsClass.
499 * win32/gwinhttpvfs.c: Move the lookup of functions from
500 winhttp.dll into a function of its own, that stores the pointers
501 in a separate GWinHttpDllFuncs variable. Add two bookeeping
502 booleans lookup_done and funcs_found.
504 Don't call g_io_extension_point_implement() to register the
505 winhttp extension unless winhttp.dll has been successfully loaded
506 and the required functions found in it.
508 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
509 winhttp.dll correspondingly.
511 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
513 reviewed by: Alexander Larsson <alexl@redhat.com>
515 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
516 clearer about the behavior when there's no more content to read.
518 2008-10-27 Federico Mena Quintero <federico@novell.com>
520 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
522 2008-10-27 Tor Lillqvist <tml@novell.com>
524 Bug 557592 - Missing include in gwinhttpfile.c
526 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
529 2008-10-24 Matthias Clasen <mclasen@redhat.com>
531 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
533 * fam/fam-helper.c: Fix a memory leak and formatting issues.
534 Reported by Daniel Marjamäki
536 2008-10-23 Matthias Clasen <mclasen@redhat.com>
538 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
540 2008-10-23 Alexander Larsson <alexl@redhat.com>
542 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
545 (_g_local_file_info_get):
546 Don't return the fallback icon (text-x-generic) for all files.
547 This is causing problems with theme icon lookup and custom mime
548 icons, as the generic fallback overrides custom mime icons in
551 This is a slight change as applications might not get an icon wher
552 they previously did. But there is no guarantee to get on neither before
553 or after this change, so it should not break applications. Changes
554 to nautilus and gtk+ will be done to manually use the generic fallback
555 icon if no icon is found, but this is only required for rare cases.
557 2008-10-21 Alexander Larsson <alexl@redhat.com>
560 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
562 2008-10-21 Alexander Larsson <alexl@redhat.com>
564 Bug 555740 - gicon serialization
565 Based on patch from David Zeuthen
569 Add g_icon_to_string() and g_icon_new_for_string().
575 Implement icon serialization for built-in icon types
579 Added GIcon serialization test
581 2008-10-16 Matthias Clasen <mclasen@redhat.com>
583 * === Released 2.19.0 ===
585 2008-10-16 Matthias Clasen <mclasen@redhat.com>
587 Bug 556422 – g_file_enumerator_next_file: unclear whether return
588 value needs to be freed
590 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
591 the return value docs. Pointed out by Armin Burgmeier
593 2008-10-14 Matthias Clasen <mclasen@redhat.com>
595 Bug 556334 – Warning when building without selinux support
597 * glocalfileinfo.c: Avoid compiler warnings when selinux is
598 disabled. Patch by Pascal Terjan
600 2008-10-14 Matthias Clasen <mclasen@redhat.com>
602 Bug 556335 – make check fails in abicheck.sh
604 * gio.symbols: Add g_file_attribute_info_list_get_type.
605 Pointed out by Pascal Terjan.
607 2008-10-13 Alexander Larsson <alexl@redhat.com>
610 When adding an application as handling a mime type (but
611 not as the default), copy the full list of desktop ids handling
612 that type in before adding the new one on the end of the list.
613 This means we're not accidentally changing the default by overriding
614 the info from the later directories in the search path.
616 Also, fixes small leak of removed_entries.
618 2008-10-12 David Zeuthen <davidz@redhat.com>
621 * gunionvolumemonitor.c:
623 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
625 2008-10-10 Alexander Larsson <alexl@redhat.com>
627 * gfileattribute.c (escape_byte_string):
628 Upper half of byte is >> 4, not >> 8.
629 Found by Kjartan Maraas via sparse
631 2008-10-10 Matthias Clasen <mclasen@redhat.com>
633 Bug 555711 – Wrong fallback order of mimetype icons
635 * gcontenttype.c: Don't prefer generic icons over
636 default mimetype icons.
638 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
639 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
641 Patch by Krysztof Kosiński
643 2008-10-10 Matthias Clasen <mclasen@redhat.com>
645 Bug 555121 – Improved build-time handling of gio module-dir
647 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
648 * Makefile.am: Create the module dir.
650 2008-10-10 Matthias Clasen <mclasen@redhat.com>
652 * gio/glocalfileinfo.c:
653 * gio/tests/live-g-file.c:
654 * gio/gsimpleasyncresult.c: Fix gcc warnings.
656 2008-10-09 Alexander Larsson <alexl@redhat.com>
658 * gunixinputstream.c (g_unix_input_stream_read):
659 Actually return -1 in case of cancelled, not old res value.
661 2008-10-06 Colin Walters <walters@verbum.org>
663 Bug 554745 - GFileAttributeInfoList should be boxed
665 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
666 for convenience of bindings.
667 * gio/gfileattribute.h: Prototype it.
669 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
671 Bug 554970 – segfault when update-desktop-database is not available
674 * gdesktopappinfo.c (run_update_command): Have the error set before
677 2008-10-01 David Zeuthen <davidz@redhat.com>
679 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
680 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
681 instead of the gio URI (such as sftp://foo/file.avi) when using
682 g_app_info_launch() and friends. With a sufficiently recent gvfs,
683 apps using gio+gvfs will map the FUSE file:// URI back to the gio
684 URI (and thus bypass the fuse daemon) thanks the patch from bug
685 #530654. Since Nautilus is an user of g_app_info_launch() it
686 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
687 when launced via the file manager. Win. Fixes bug #528670.
689 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
690 mapping to the description of GAppInfo.
692 2008-09-30 Tor Lillqvist <tml@novell.com>
694 * tests/Makefile.am: Build desktop-app-info only on Unix.
696 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
697 g_critical(). Pass a large enough result buffer to
698 GetVolumePathNameW(). Just use MAX_PATH.
700 2008-09-29 David Zeuthen <davidz@redhat.com>
702 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
704 2008-09-26 Dan Winship <danw@gnome.org>
706 * tests/data-input-stream.c:
707 * tests/data-output-stream.c:
708 * tests/live-g-file.c:
709 * tests/memory-input-stream.c:
710 * tests/memory-output-stream.c: Use g_assert_error() and
713 2008-09-26 Matthias Clasen <mclasen@redhat.com>
715 Bug 545350 – GAppInfo deletion
716 Bug 545351 – Reset associations for content type
719 * gappinfo.[hc]: New functions g_app_info_can_delete,
720 g_app_info_delete and g_app_info_reset_type_associations.
723 * gwin32appinfo.c: Implementations of these.
726 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
728 2008-09-26 Dan Winship <danw@gnome.org>
730 Bug 505361 – gunixinputstream.c assumes poll() available
731 Bug 509446 – portable blocking gio cancellation
733 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
734 GPollFD for a cancellable (which is slightly more complicated on
737 * gunixinputstream.c (g_unix_input_stream_read):
738 * gunixoutputstream.c (g_unix_output_stream_write): Use
739 g_cancellable_make_pollfd() and g_poll() rather than using poll()
742 * tests/unix-streams.c: test of GUnixInputStream,
743 GUnixOutputStream, and GCancellable.
745 2008-09-26 Dan Winship <danw@gnome.org>
747 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
748 cast to stop a gcc warning
750 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
753 2008-09-25 Dan Winship <danw@gnome.org>
755 Bug 553426 - cancellable clarifications
757 * gcancellable.c (g_cancellable_class_init): Add a note to the
758 "cancelled" signal docs warning about thread-safety issues
759 (g_cancellable_cancel): Note that cancelling an asynchronous
760 operation takes effect asynchronously, not immediately.
762 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
764 * gioenums.h: Add new GFileCopyFlag, to leave target file with
765 default perms, instead of setting the source file perms, in a copy
768 * gfile.c (g_file_copy_attributes)
769 (build_attribute_list_for_copy)
770 (should_copy): Not copy "unix::mode" attribute if we have received
771 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
773 2008-09-20 Matthias Clasen <mclasen@redhat.com>
775 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
777 2008-09-17 Matthias Clasen <mclasen@redhat.com>
779 * === Released 2.18.1 ===
781 2008-09-16 Michael Natterer <mitch@imendio.com>
783 * gcontenttype.c (g_content_type_guess): can't assign the return
784 value of g_strdupv() to an array. Fill the array manually with
785 const strings instead (it is never freed anyway). Fixes the
786 build. Also fixed indentation.
788 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
790 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
791 Fix trivial typo to unbreak the build (there was a colon
792 instead of a semicolon at the end of a statement).
794 2008-09-15 Matthias Clasen <mclasen@redhat.com>
796 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
799 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
802 2008-09-15 Matthias Clasen <mclasen@redhat.com>
804 Bug 551681 – g_content_type_guess() too naive with filenames
806 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
807 at the end of the filename, and declare it a directory.
808 Patch by Bastien Nocera
810 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
812 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
815 * gdesktopappinfo.c: add a note in the docs clarifying what the
816 "filename" parameter really is.
818 2008-09-12 Tor Lillqvist <tml@novell.com>
820 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
821 FormatMessage() etc here. Call g_win32_error_message() instead
822 which already does all that. Besides, the code was broken as it
823 called the default "A" version of FormatMessage() but still
824 thought it produced a wide string.
826 2008-09-12 Michael Natterer <mitch@imendio.com>
828 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
829 in the documentation.
831 2008-09-08 Christian Neumair <cneumair@gnome.org>
833 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
834 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
835 Use non-blocking pipe for mount helper I/O. Fixes #550647.
837 2008-09-06 Matthias Clasen <mclasen@redhat.com>
839 Bug 551149 – xdgmime mem leak
841 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
842 a memory leak. Patch by Christian Persch
844 2008-09-04 Tor Lillqvist <tml@novell.com>
846 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
849 2008-09-02 Matthias Clasen <mclasen@redhat.com>
851 * === Released 2.18.0 ===
853 2008-09-02 Michael Natterer <mitch@imendio.com>
855 * *.h: big header formatting cleanup: indentation, vtable
856 formatting, consistent spacing in (* vfunc), trailing whitespace
857 removal. Formatting should be pretty consistent in all GIO headers
860 2008-09-02 Matthias Clasen <mclasen@redhat.com>
862 * gmount.h: Document guess_content_type sync vfunc.
864 2008-09-02 Michael Natterer <mitch@imendio.com>
866 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
867 fix parent_class member to be GFilterOutputStreamClass (not
868 GOutputStreamClass). Drop three pointers of padding, which is
869 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
870 so the class struct size stays the same.
872 2008-09-02 Matthias Clasen <mclasen@redhat.com>
874 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
876 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
877 nonexisting return values. Pointed out by Cosimo Cecchi.
879 2008-08-23 Tor Lillqvist <tml@novell.com>
881 Bug 548988 - g_file_replace fails on Windows when the target file
884 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
885 Windows, close the file before potentially renaming it (in case we
886 have been writing to a file with a temporary name).
888 (g_local_file_output_stream_close, handle_overwrite_open): Use
889 GLocalFileStat instead of plain struct stat, for passing to
890 _g_local_file_info_create_etag(). Thus also use _fstati64()
891 instead of plain fstat() on Windows.
893 2008-08-18 Matthias Clasen <mclasen@redhat.com>
895 * === Released 2.17.7 ===
897 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
899 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
902 2008-08-13 Tor Lillqvist <tml@novell.com>
904 * win32/gwinhttpvfs.c
905 * win32/gwinhttpvfs.h
906 * win32/gwinhttpfile.c
907 * win32/gwinhttpfileinputstream.c
908 * win32/gwinhttpfileoutputstream.c: Refactor some common code
909 snippets into helper functions. Check HTTP response status
910 codes. Implement g_winhttp_file_query_info(), looking at
911 Content-Length, Content-Type and Last-Modified.
913 * win32/winhttp.h: Add some symbolic constants that are not
914 publicly documented. Just a handful, so it should be OK to use
915 information from the Windows SDK's headers.
917 2008-08-13 Tor Lillqvist <tml@novell.com>
919 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
922 * win32/gwin32directorymonitor.c
923 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
925 2008-08-13 Matthias Clasen <mclasen@redhat.com>
928 * goutputstream.c: Add intro docs.
930 2008-08-13 Tor Lillqvist <tml@novell.com>
932 * win32/gwinhttpfileoutputstream.c
933 (g_winhttp_file_output_stream_write): Don't write the
934 Content-Length header ourselves, WinHttpSendRequest() takes care
935 of that when the dwTotalLength parameter is non-zero. Increment
936 offset by the number of actual bytes sent, although I wonder if
937 such a scenario is possible where less than requested would be
938 sent and accepted by the server without errors.
940 2008-08-13 Tor Lillqvist <tml@novell.com>
942 * win32/gwinhttpvfs.c
943 * win32/gwinhttpvfs.h
944 * win32/gwinhttpfile.c
945 * win32/gwinhttpfile.h
946 * win32/gwinhttpfileinputstream.c
947 * win32/gwinhttpfileinputstream.h
948 * win32/gwinhttpfileoutputstream.c
949 * win32/gwinhttpfileoutputstream.h: New files implementing
950 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
951 Windows. The implementation uses the WinHttp API. Both reading and
952 writing are supported, i.e. GET and PUT requests. When writing,
953 each write call is done using a separate PUT request with a
954 Content-Range header. Requests for file URIs and plain pathnames
955 are forwarded to GLocalVfs.
957 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
958 WINE. Used as there is no <winhttp.h> bundled with mingw, and
959 requiring people to download the Windows SDK just for this one
960 header is not reasonable.
962 * win32/Makefile.am: Add above files.
964 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
965 the plumbing for the above.
967 2008-08-11 Sven Neumann <sven@gimp.org>
969 * gfilenamecompleter.c
970 * glocaldirectorymonitor.c
972 * gunionvolumemonitor.c
976 * gunixvolumemonitor.c
979 * gwin32volumemonitor.c: use canonical signal names.
981 2008-08-11 Tor Lillqvist <tml@novell.com>
983 * Makefile.am: Put a list of the platform-dependent .la files in
984 the subdirectories in the platform_deps Make variable, and make
985 libgio-2.0.la depend on that, so that it gets relinked if one of
986 the dependent libraries has changed.
988 2008-08-11 Tor Lillqvist <tml@novell.com>
990 * Makefile.am (platform_libadd): Remove -lwininet which had been
991 added by mistake. We will probably eventually be using WinHTTP,
992 not the older WinInet anyway. (Actually I am working on it.)
994 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
996 Bug 547080 – g_file_copy leaks expected errors
998 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
999 before trying the next fallback routine.
1001 2008-08-09 Loïc Minier <lool@dooz.org>
1003 Bug 535124 – umask 002 not being applied for new directories, new
1004 files get the correct umask
1006 * gfile.c (g_file_make_directory)
1007 (g_file_make_directory_with_parents): Document ownership and
1008 permissions of newly created directories as being the default
1009 ones of the process.
1011 2008-08-08 Loïc Minier <lool@dooz.org>
1013 Bug 535124 – umask 002 not being applied for new directories, new
1014 files get the correct umask
1016 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1019 2008-08-08 Tor Lillqvist <tml@novell.com>
1021 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1023 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1024 code that didn't actually do anything inside #if 0, and add a
1025 comment wondering what the code was supposed to do. This also gets
1026 rid of a leftover debugging printout.
1028 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1030 * gfileicon.c (g_file_icon_get_property)
1031 (g_file_icon_set_property): New functions.
1032 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1034 (g_file_icon_new): Use the property (bug #546132).
1036 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1038 * gthemedicon.c (g_themed_icon_get_property): Also handle
1039 `PROP_USE_DEFAULT_FALLBACKS'.
1040 (g_themed_icon_class_init): Make
1041 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1043 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1045 Bug 546371 – Improve docs re g_file_monitor
1047 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1049 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1051 * === Released 2.17.6 ===
1053 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1055 * === Released 2.17.5 ===
1057 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1059 Bug 546017 – Don't copy attributes when copying a symlink
1061 * gfile.c (g_file_copy_attributes): Specify
1062 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1063 g_file_set_attributes_from_info. Patch by Christian Kellner
1065 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1067 * gemblemedicon.[hc]:
1069 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1070 a bit more extensible. Work by Clemens Buss.
1072 * gioenums.h: Add GEmblemOrigin.
1075 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1077 Bug 546079 – leak in xdgmime
1079 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1081 2008-08-03 Tor Lillqvist <tml@novell.com>
1083 * win32/gwin32directorymonitor.h
1084 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1087 2008-08-03 Tor Lillqvist <tml@novell.com>
1089 * win32/gwin32directorymonitor.c
1090 (g_win32_directory_monitor_callback): Make prototype match
1091 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1092 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1095 (g_win32_directory_monitor_constructor):
1096 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1097 names in the GLib API on Windows, so convert to UTF-16 and open
1100 2008-08-03 Tor Lillqvist <tml@novell.com>
1102 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1103 user's folder under Windows
1105 * win32/gwin32directorymonitor.c
1106 (g_win32_directory_monitor_constructor): Ignore error from
1107 CreateFile() when opening directory. Instead of asserting, just
1108 store INVALID_HANDLE_VALUE then in
1109 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1110 ReadDirectoryChangesW().
1111 (g_win32_directory_monitor_cancel): Don't attempt to close
1112 directory handle if it is INVALID_HANDLE_VALUE.
1114 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1116 * gdesktopappinfo.c: Remove debug spew
1118 2008-08-01 Hans Breuer <hans@breuer.org>
1120 * makefile.msc : add gemblembedicon
1122 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1124 Bug 545457 – gdmsetup crashed with SIGSEGV in
1125 g_unix_mount_guess_should_display()
1127 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1128 crash if no mount is found.
1130 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1132 Bug 545203 – gfile.c: argument is different type.
1134 * gfile.c (open_read_async_thread): Pass a GError **
1135 to g_file_set_error_literal.
1136 Reported by Kazuki Iwamoto
1138 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1140 Bug 545157 – wrong/no list of "open with" applications for .cc and
1143 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1144 Collect all ancestors, not just direct parents. Pointed
1145 out by Bastien Nocera
1147 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1149 * Makefile.am: Install gemblemedicon.h
1151 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1153 * gemblemedicon.[hc]: Add a GIcon implementation that can
1154 add an emblem to another icon.
1161 * gfileicon.c: Small documentation additions.
1163 2008-07-28 Tor Lillqvist <tml@novell.com>
1165 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1168 2008-07-27 Tor Lillqvist <tml@novell.com>
1170 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1172 2008-07-24 David Zeuthen <davidz@redhat.com>
1176 Also export a g_mount_guess_content_type_sync() function.
1178 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1180 529694 – SELinux context setting support
1182 * gfileinfo.c: Support setting selinux attributes.
1183 Patch by Tomas Bzatek
1185 2008-07-22 Priit Laes <plaes@plaes.org>
1187 Bug 544140 - fam-helper 64-bit issue?
1189 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1191 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1193 * === Released 2.17.4 ===
1195 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1197 * gvolumemonitor.[hc]:
1198 * gmountoperation.c:
1202 * gmount.c: Documentation fixes
1204 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1206 543504 – crash in Epiphany Web Browser: Opening local file
1210 * gdesktopappinfo.c:
1217 * gvolume.c: Register types thread-safely.
1218 Patch by Christian Persch
1220 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1222 * gcontenttype.c: Remove debug spew
1224 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1226 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1229 * fen/fen-kernel.c: Remove a warning that was causing
1230 crashes. Reported by Lin Ma.
1232 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1234 Bug 543040 – async reading on dummy file will crash on
1237 * gfile.c (open_read_async_thread): Cope with read_fn being
1238 NULL. Reported by Lin Ma.
1240 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1243 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1245 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1248 * gdesktopappinfo.h:
1249 * giomodule.c: Rename a chapter id to avoid filename conflict.
1251 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1253 Bug 540616 – mem leak in filechooser button
1255 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1256 the mount entry. Reported by Chrisitan Persch
1258 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1260 * gfile.c: Small documentation fixes.
1262 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1264 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1266 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1271 * gmount.c: Documentation improvements.
1273 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1276 * gmount.[hc]: Add g_mount_guess_content_type().
1278 2008-07-06 David Zeuthen <davidz@redhat.com>
1281 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1282 is needed for easily handling adoption of foreign volumes by
1283 out-of-process volume monitors (#541793)
1285 2008-07-06 David Zeuthen <davidz@redhat.com>
1287 * gvolumemonitor.[ch]:
1288 * gunionvolumemonitor.c: Export the eject-button signal on the
1289 volume monitor class (#541794).
1291 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1293 * gappinfo.c: More doc tweaks
1295 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1297 * gappinfo.c: Clarify some docs
1299 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1301 * gdesktopappinfo.c: Fix a stupid mistake.
1303 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1305 * === Released 2.17.3 ===
1307 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1309 * gfilemonitor.c: Fix the build.
1311 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1313 Bug 536160 – Add g_file_monitor()
1316 * gfile.[hc]: Add g_file_monitor which can return either
1317 a file or a directory monitor. Proposed by Behdad Esfahbod
1319 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1321 536733 – gio build failure on Irix
1323 * glocalfile.c: Use a configure check for structfs.f_bavail.
1325 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1327 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1330 * gdesktopappinfo.[hc]: Add a function to create a
1331 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1333 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1335 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1337 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1339 * gunixmounts.c: Fix a doc typo.
1341 2008-07-01 Cody Russell <bratsche@gnome.org>
1343 * gio/gcontenttype.c:
1344 * gio/gwin32appinfo.c:
1345 * gio/gwin32volumemonitor.c:
1346 * gio/gwin32mount.c: Fixed some include problems.
1348 2008-07-01 Cody Russell <bratsche@gnome.org>
1352 Moved all relevant typedefs into these files.
1355 Updated wrt added files.
1357 Split types into separate file for easier maintainership. (#538564)
1359 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1361 Bug 540331 – g_file_append_to () documentation: can return NULL
1363 * gfile.c (g_file_append_to): Clarify docs.
1364 Patch by Jared Moore
1366 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1368 Bug 539090 – g_content_type_from_mime_type() should unalias
1370 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1371 Patch by Markus Bergman
1373 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1375 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1376 g_atomic_pointer_get
1378 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1379 on ppc and alpha. Reported by Mart Raudsepp
1381 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1383 * tests/Makefile.am:
1384 * tests/memory-output-stream.c: Add some tests for
1385 GMemoryOutputStream.
1387 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1389 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1392 * gmemoryoutputstream.c (array_resize): Handle truncation to
1393 zero correctly. Reported by Akira Tagoh
1395 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1397 * gmemoryoutputstream.c: Trivial doc fixes
1399 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1401 Bug 540802 – g_list_prepend doesn't concat lists
1403 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1404 one list to another. Pointed out by Jan Arne Petersen
1406 2008-06-28 Michael Natterer <mitch@imendio.com>
1408 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1410 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1412 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1413 to avoid problems with partial icon themes.
1415 2008-06-17 Hans Breuer <hans@breuer.org>
1417 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1418 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1419 access again on win32, see bug #538127
1420 * giomodule.c : ensure GWin32VolumeMonitor is registered
1421 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1422 * Makefile.am makefile.msc : updated
1424 2008-06-16 Hans Breuer <hans@breuer.org>
1426 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1427 and initialization in one step avoids c99ism
1429 2008-06-16 Christian Persch <chpe@gnome.org>
1432 * gio/gbufferedinputstream.c
1433 * gio/gcancellable.c
1434 * gio/gdatainputstream.c
1435 * gio/gdesktopappinfo.c
1437 * gio/gfileenumerator.c
1438 * gio/gfileinputstream.c
1439 * gio/gfileoutputstream.c
1440 * gio/ginputstream.c
1441 * gio/glocaldirectorymonitor.c
1443 * gio/glocalfileenumerator.c
1444 * gio/glocalfileinfo.c
1445 * gio/glocalfilemonitor.c
1446 * gio/glocalfileoutputstream.c
1447 * gio/gmemoryinputstream.c
1448 * gio/gmemoryoutputstream.c
1449 * gio/goutputstream.c
1450 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1453 2008-06-16 Tor Lillqvist <tml@novell.com>
1455 Bug 538362 - Get Win32 icons back in the file chooser
1457 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1458 corresponding to a file extension in the Registry. Patch by Hans
1460 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1462 2008-06-16 Tor Lillqvist <tml@novell.com>
1464 Patches by Hans Breuer:
1466 * glocalfile.c (is_xp_or_later): Handle compiling against older
1467 SDK headers with missing VerifyVersionInfo(). Conditioned on
1468 _MSC_VER, but should probably use some better test.
1469 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1470 uninitialised statfs_result variable on Win32.
1472 2008-06-16 Michael Natterer <mitch@imendio.com>
1474 * *.c: chain up unconditionally in finalize() and dispose(). Also
1475 don't dereference these function pointers when calling them since
1476 that has no meaning at all.
1478 2008-06-16 Ross Burton <ross@burtonini.com>
1480 * gfileenumerator.c:
1481 Remove check for dispose implementation as it annoys Emmanuele.
1483 2008-06-16 Ross Burton <ross@burtonini.com>
1485 Bug 536252 – GFileEnumerator should allow access to the containing
1488 * gfileenumerator.c:
1489 * gfileenumerator.h:
1491 Add g_file_enumerator_get_container() and a container writeable
1492 construct-only property. Also shuffle around typedefs to make it
1495 * glocalfileenumerator.c:
1496 * glocalfileenumerator.h:
1498 Instead of a string filename take a GFile in the constructor and
1499 use it to set the container property.
1502 Update with new API.
1504 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1506 * gfile.c: Make includes more uniform
1508 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1510 * tests/live-g-file.c (sample_struct):
1511 Use less fancy unicode filenames, so the test doesn't fail
1512 on Mac OS X (#531476).
1514 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1516 * === Released 2.17.2 ===
1518 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1520 * === Released 2.17.1 ===
1522 2008-06-11 A. Walton <awalton@gnome.org>
1524 * tests/g-file.c (test_g_file_new_null):
1525 Fix broken test case.
1527 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1529 * pltcheck.sh: We use g_clear_error now.
1531 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1533 * glocalfile.c (g_local_file_enumerate_children): Revert
1534 an unintended change.
1536 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1538 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1540 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1542 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1545 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1546 as icon for the desktop directory, also make user-home and
1547 user-desktop the preferred icons.
1549 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1552 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1553 to add a name to the front of the list.
1555 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1557 Bug 537392 – Additional colon in xattr name
1559 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1560 too. Reported by Alessandro Morandi
1562 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1564 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1567 * glocalfile.c (get_fs_type): Add afs and autofs.
1568 Patch by Danny Baumann.
1570 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1572 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1574 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1575 is no parent. (Owen Taylor, patch by Christian Neumair)
1577 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1579 * gfile.c (g_file_replace_contents): do not leak the output stream.
1581 2008-06-10 Michael Natterer <mitch@imendio.com>
1583 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1584 uninitialized memory as array index.
1586 2008-06-10 Tor Lillqvist <tml@novell.com>
1588 * gcontenttype.c (g_content_type_can_be_executable)
1589 (g_content_type_get_icon) [Win32]: Add TODO comments.
1591 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1593 * xdgmime/Makefile.am: Fix the build
1595 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1597 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1598 in the shared mime database, if available.
1600 * xdgmime/*: Sync with upstream. This brings support for
1601 glob weights, generic icons, and changes the cache format to
1604 2008-05-28 Michael Natterer <mitch@imendio.com>
1606 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1607 the global CPPFLAGS now.
1609 * tests/data-input-stream.c
1610 * tests/data-output-stream.c
1611 * tests/g-file-info.c
1613 * tests/live-g-file.c
1614 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1616 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1618 * === Released 2.17.0 ===
1620 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1621 doesn't complain about leftover files.
1623 2008-05-27 simon.zheng <simon.zheng@sun.com>
1625 * glocalfile.c: (g_local_file_query_filesystem_info):
1626 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1628 2008-05-26 Michael Natterer <mitch@imendio.com>
1630 * gmemoryoutputstream.h: declare
1631 g_memory_output_stream_get_data_size().
1633 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1635 * tests/*: Make tests work
1637 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1639 * gio.symbols: Add g_memory_output_stream_get_data_size.
1641 2008-05-25 Ross Burton <ross@burtonini.com>
1644 Fix typo in error message (#534764).
1646 2008-05-25 Ross Burton <ross@burtonini.com>
1649 Fix circular dependency loop for gioenumtypes.h (#534759).
1651 2008-05-19 Hans Breuer <hans@breuer.org>
1653 * Makefile.am : EXTRA_DIST += makefile.msc
1655 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1658 * gcontenttype.c: (g_content_type_from_mime_type):
1659 New function to create a content type from a mime type. (#527175,
1662 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1664 Bug 532965 – Should not return filesystem::free for certain file systems
1666 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1667 free space for ncpfs.
1669 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1671 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1673 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1674 st_dev might be zero.
1676 2008-05-16 Tor Lillqvist <tml@novell.com>
1678 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1679 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1681 2008-05-13 Bastien Nocera <hadess@hadess.net>
1683 * gfile.c (has_valid_scheme): A URI scheme must start with a
1684 letter, even if later more characters are allowed (#532852)
1686 2008-05-05 Michael Natterer <mitch@imendio.com>
1688 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1689 code from being checked in that breaks the build of applications
1690 which use G_DISABLE_SINGLE_INCLUDES.
1692 * makegioalias.pl: make the alias file include "glib.h" instead of
1695 * gio.symbols: whitespace change to force regeneration of the
1696 alias file after above script change.
1698 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1700 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1702 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1704 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1706 2008-04-28 David Zeuthen <davidz@redhat.com>
1708 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1709 displaying mounts in a subdirectory not accessible to the
1712 2008-04-22 Michael Natterer <mitch@imendio.com>
1714 * Makefile.am: fix library versioning (it was 0.0.0).
1716 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1718 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1719 Default disable all loggings.
1720 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1721 (port_fetch_event_cb): Fixed two macro nits.
1723 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1725 * xdgmime/xdgmime.c: Rework the timestamp checking code
1726 to protect against duplicate directories in XDG_DATA_DIRS.
1727 Fixes fd.o bug 12513, reported by Joe Shaw.
1729 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1731 Partically revert the last commit after realizing that
1732 xdg_mime_media_type_equal doesn't have to init at all.
1734 * xdgmime/xdgmime.h:
1735 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1737 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1739 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1741 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1742 reported by Joe Shaw and Federico Mena Quintero.
1744 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1745 (xdg_mime_media_type_equal): Turn into a wrapper around the
1748 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1749 functions throughout.
1751 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1753 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1754 tolerate an empty TryExec= line without failing; nautilus used
1755 to create launchers with these in previous versions. Fixes #528433
1757 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1759 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1760 after name. Fixes #527132.
1762 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1764 * gfile.c: (g_file_replace):
1767 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1769 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1771 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1772 by Christian Kellner.
1774 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1776 * gunixmounts.c: (g_unix_mount_guess_should_display):
1777 Don't list the user directory as a mount, fix potential issue
1778 when other users have a similar naming and don't special case the
1779 gvfs mounts there since that's not required (#525866)
1781 2008-03-31 Alexander Larsson <alexl@redhat.com>
1783 * glocalfile.c (get_parent):
1786 2008-03-31 A. Walton <awalton@svn.gnome.org>
1788 * gfile.c (g_file_query_file_type):
1789 Always return a GFileType enum value (#520715).
1791 2008-03-31 Alexander Larsson <alexl@redhat.com>
1793 * glocalfileenumerator.c:
1794 Read readdir() info in chunks (of 1000) and sort
1795 the chunks by inode before stat:ing.
1796 This is a 20% performance increase in testing
1797 gvfs-ls on /usr/bin with cold cache.
1799 2008-03-31 Alexander Larsson <alexl@redhat.com>
1801 * gmemoryoutputstream.c:
1802 Clarify docs for g_memory_output_stream_get_size.
1803 Add g_memory_output_stream_get_data_size.
1805 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1809 * gfile.h: Add g_file_query_file_type convenience function
1810 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1812 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1814 * gfileenumerator.c:
1815 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1817 2008-03-28 A. Walton <awalton@svn.gnome.org>
1819 * giomodule.c (_g_io_modules_ensure_loaded):
1820 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1823 2008-03-28 Alexander Larsson <alexl@redhat.com>
1826 (copy_stream_with_progress):
1829 2008-03-28 Alexander Larsson <alexl@redhat.com>
1832 (copy_stream_with_progress):
1833 (file_copy_fallback):
1834 Fallback to g_file_query_info for source size
1835 if g_file_input_stream_query_info fails. (#524579)
1837 2008-03-28 Alexander Larsson <alexl@redhat.com>
1839 * glocalfile.c (g_local_file_move):
1840 Reuse old string instead of adding new one.
1842 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1844 * fen/*.[hc]: still copyright issue. I hate copyright.
1846 2008-03-27 Alexander Larsson <alexl@redhat.com>
1848 * glocalfile.c (g_local_file_move):
1849 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1850 file over directory. This is according to the docs and what the move via
1851 copy+remove fallback does.
1853 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1855 * fen/*.[hc]: Updated copyright.
1857 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1859 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1861 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1863 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1864 not emit attribute changed events when optimizing changed events.
1865 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1868 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1870 * gmountoperation.[hc]: Small documentation additions
1872 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1874 * gunixmounts.c: (guess_mount_type):
1875 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1877 2008-03-19 Alexander Larsson <alexl@redhat.com>
1880 (copy_stream_with_progress):
1881 Bump block side for copy to 64k to minimize
1882 overhead for low latency links. (#523015)
1884 2008-03-16 Tor Lillqvist <tml@novell.com>
1886 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1887 depend on gio.def on Windows.
1889 2008-03-12 David Zeuthen <davidz@redhat.com>
1893 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1895 2008-03-14 Alexander Larsson <alexl@redhat.com>
1899 Avoid redudant tests (#521851)
1900 Patch from Josselin Mouette
1902 2008-03-14 Alexander Larsson <alexl@redhat.com>
1905 (g_file_monitor_is_cancelled):
1906 Fix C89 issue (#521672)
1907 Patch from Jens Granseuer
1909 2008-03-14 Alexander Larsson <alexl@redhat.com>
1911 * fam/fam-helper.[ch]:
1913 Shut down fam (including removing fam GSource) when
1914 module is unloaded (#521513)
1915 Patch from Joe Marcus Clarke
1917 2008-03-14 Alexander Larsson <alexl@redhat.com>
1920 (_g_io_modules_ensure_loaded):
1923 2008-03-14 Alexander Larsson <alexl@redhat.com>
1926 (g_local_file_query_filesystem_info):
1927 Use right define name for f_fstypename member check
1929 2008-03-14 Alexander Larsson <alexl@redhat.com>
1932 * fen/Makefile.am: Added.
1933 * fen/fen-data.[ch]: Added.
1934 * fen/fen-dump.[ch]: Added.
1935 * fen/fen-helper.[ch]: Added.
1936 * fen/fen-kernel.[ch]: Added.
1937 * fen/fen-missing.[ch]: Added.
1938 * fen/fen-node.[ch]: Added.
1939 * fen/fen-sub.[ch]: Added.
1940 * fen/gfendirectorymonitor.[ch]: Added.
1941 * fen/gfenfilemonitor.[ch]: Added.
1943 Added Solaris FEN file notification backend.
1944 Patch from Lin Ma <Lin.Ma@Sun.COM>
1946 2008-03-13 Tor Lillqvist <tml@novell.com>
1948 * Makefile.am: Actually use the gio.def file when linking the
1949 library on Windows. Produce .lib library for Microsoft's toolchain
1950 when possible. Install the .lib and .def file like for the other
1953 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1955 * tests/live-g-file.c:
1956 Include live-g-file in standard set of tests, making a temporary
1957 directory in source structure.
1959 Clean target directory before the tests (write mode only)
1961 2008-03-12 Tor Lillqvist <tml@novell.com>
1963 Bug 517419 - gio win32 directory monitor
1964 Implementation by Vlad Grecescu.
1967 * win32/gwin32directorymonitor.h
1968 * win32/gwin32directorymonitor.c: New files.
1970 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1972 * Makefile.am: Add the win32 subdirectory.
1974 2008-03-12 Tor Lillqvist <tml@novell.com>
1976 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1977 normal struct stat on Unix but struct _stati64 on Windows to have
1978 access to 64-bit file size information. Use that instead of struct
1979 stat in the functions declared here in this private header.
1981 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1982 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1983 warnings about unused functions and variables. Don't set
1984 meaningless attributes like inode numbers on Windows.
1986 2008-03-12 Benjamin Otte <otte@gnome.org>
1989 trim whitespace so gtk-doc groks the function name
1991 2008-03-12 Tor Lillqvist <tml@novell.com>
1993 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1994 returning FALSE, on Win32.
1996 2008-03-11 Alexander Larsson <alexl@redhat.com>
1999 * glocalfileinfo.[ch]:
2000 Correctly implement can_trash by actually
2001 looking for a trash dir, not just assuming
2004 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2006 * === Released 2.16.1 ===
2008 2008-03-11 Alexander Larsson <alexl@redhat.com>
2011 Fix crashes in new constructor and properties code
2013 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2015 * gfile.c: Minor spelling correction in documentation:
2016 existance -> existence.
2018 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2020 * === Released 2.16.0 ===
2022 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2024 * gio.symbols: Remove g_file_contains_file here, too.
2026 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2028 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2029 Samuel Cormier-Iijima)
2031 2008-03-08 Tor Lillqvist <tml@novell.com>
2033 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2036 2008-03-07 Alexander Larsson <alexl@redhat.com>
2039 (g_local_file_query_filesystem_info):
2040 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2041 Patch from Jasper Lievisse Adriaanse
2043 2008-03-06 Tor Lillqvist <tml@novell.com>
2045 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2046 comments for the *_USEC attributes.
2048 2008-03-06 Alexander Larsson <alexl@redhat.com>
2050 * gfile.c (g_file_query_exists):
2051 Add g_return_val_if_fail check (#520700)
2053 2008-03-06 Alexander Larsson <alexl@redhat.com>
2055 * gdesktopappinfo.c:
2058 * gunionvolumemonitor.c:
2061 * tests/live-g-file.c:
2062 * xdgmime/xdgmimecache.c:
2063 Fix sparse warnings (#519489)
2065 2008-03-05 Alexander Larsson <alexl@redhat.com>
2068 Make cancellation threadsafe (i.e.
2069 guarantee its only done once, and always
2072 * glocaldirectorymonitor.c:
2073 Make sure we the monitor lives while the
2074 mounts_changed callback is being called (#520484)
2076 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2078 * gbufferedinputstream.c: Fix typo in parameter
2081 2008-03-04 Alexander Larsson <alexl@redhat.com>
2084 Remove deprecated symbols we kept for one release.
2086 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2089 * goutputstream.c: Tiny documentation corrections.
2091 2008-03-03 Alexander Larsson <alexl@redhat.com>
2093 * gunionvolumemonitor.c:
2095 Fix the adopt_orphan_mount vfunc to take a
2096 volume_monitor reference in an ABI compat way.
2097 This change is not API compat, but the added
2098 arg is not used in the only user of this vfunc, so
2099 all we get is a harmless warning in gvfs (#520169)
2101 2008-03-01 Benjamin Otte <otte@gnome.org>
2104 clarify docs for g_file_delete().
2106 2008-02-29 Alexander Larsson <alexl@redhat.com>
2110 Make sure empty files get text/plain type (#518720)
2112 2008-02-27 Alexander Larsson <alexl@redhat.com>
2118 (g_unix_volume_mount):
2119 Add missing GMountMountFlags argument
2121 2008-02-26 Alexander Larsson <alexl@redhat.com>
2124 (g_local_file_delete):
2125 Handle filesystems (like ntfs-3g) that return EEXIST instead
2126 of ENOTEMPTY (#518816)
2128 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2130 * === Released 2.15.6 ===
2132 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2134 * gfile.c (g_file_find_enclosing_mount):
2135 * ginputstream.c (g_input_stream_set_pending):
2136 * glocalfile.c (g_local_file_find_enclosing_mount):
2137 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2138 * goutputstream.c (g_output_stream_set_pending):
2140 Fixup translator comments (#518578).
2142 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2144 * gfile.c (g_file_find_enclosing_mount):
2146 * glocalfile.c (g_local_file_find_enclosing_mount):
2149 Fix a few typos in translator comments and documentation.
2151 2008-02-25 Alexander Larsson <alexl@redhat.com>
2158 Add translator comments (#518578)
2160 2008-02-25 Alexander Larsson <alexl@redhat.com>
2163 Reintroduce g_file_contains_file, keep around for one
2164 unstable release cycle to avoid crashing to many apps.
2165 Make sure to delete after release.
2167 2008-02-25 Alexander Larsson <alexl@redhat.com>
2170 Remove deprecated g_file_contains_file.
2172 2008-02-25 Alexander Larsson <alexl@redhat.com>
2175 Emit actual change signals in an idle handler.
2176 This avoids reentrance and locking problems in
2177 the file notification backends.
2179 2008-02-25 Alexander Larsson <alexl@redhat.com>
2182 (g_unix_mount_guess_should_display):
2183 Remove type guessing, instead just display
2184 mounts in /media and in ~/.
2186 2008-02-25 Alexander Larsson <alexl@redhat.com>
2189 Make new strings reuse old ones.
2191 2008-02-25 Alexander Larsson <alexl@redhat.com>
2194 Implement trashing and filesystem::readonly for win32 (#517235)
2195 Patch from Yevgen Muntyan
2197 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2199 * gfileinfo.h: Documentation fixes.
2201 2008-02-22 Alexander Larsson <alexl@redhat.com>
2203 * gcontenttype.c (g_content_type_get_icon):
2204 Look at old-style gnome mime icon names too, as many
2205 have not moved to the new style.
2207 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2209 * *.c: Correct the @include in for section docs.
2211 2008-02-21 David Zeuthen <davidz@redhat.com>
2213 * glocalfileinfo.c: (_g_local_file_info_get):
2215 (g_content_type_get_icon): Implement this function by
2216 moving bits from glocalfileinfo.c
2217 (g_content_type_get_description): Unalias before getting
2218 description (#517687)
2220 * gfile.c: (g_file_class_init),
2221 (g_file_query_filesystem_info_async),
2222 (g_file_query_filesystem_info_finish),
2223 (query_filesystem_info_data_free),
2224 (query_filesystem_info_async_thread),
2225 (g_file_real_query_filesystem_info_async),
2226 (g_file_real_query_filesystem_info_finish):
2227 * gfile.h: Implement async version of
2228 g_file_query_filesystem_info()
2230 * gfileinfo.h: Add new attributes for filesystem::use-preview
2232 * gio.symbols: Update
2234 * gthemedicon.c: (g_themed_icon_append_name):
2235 * gthemedicon.h: Add new new convenience function.
2237 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2238 (get_mounts), (get_volumes), (get_connected_drives),
2239 (get_volume_for_uuid), (get_mount_for_uuid),
2240 (g_union_volume_monitor_init), (populate_union_monitor),
2241 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2242 (g_volume_monitor_adopt_orphan_mount):
2244 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2245 monitor implementations to call into the main volume monitor. Also
2246 separate object initialization and volume monitor initialization
2247 such that non-native volume monitors can properly adopt their
2250 2008-02-21 Alexander Larsson <alexl@redhat.com>
2255 2008-02-21 Alexander Larsson <alexl@redhat.com>
2258 Add more documentation about how GFiles work (from #517086)
2260 2008-02-21 Alexander Larsson <alexl@redhat.com>
2264 Add new g_file_has_prefix that does the same as g_file_contains_file.
2265 Deprecate g_file_contains_file and add a macro that converts
2266 it to g_file_has_prefix.
2267 The reason for this change is that the contains_file() name seems to
2268 imply that this does more work than what it does, but its really only
2269 a name match (from #517086)
2274 Update to match the above change.
2276 2008-02-20 Benjamin Otte <otte@gnome.org>
2278 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2279 (g_file_eject_mountable):
2280 even more cases of not returning in error path
2282 2008-02-20 Benjamin Otte <otte@gnome.org>
2284 * gfile.c: (g_file_mount_mountable):
2285 return from function in error path.
2287 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2290 Remove trailing coma in GMountMountFlags struct
2292 2008-02-18 Alexander Larsson <alexl@redhat.com>
2296 * glocalfileoutputstream.c:
2297 Use g_unlink/g_rename instead of unlink/rename;
2298 do not pass raw filenames to g_set_error. (#517239)
2299 Patch from Yevgen Muntyan.
2301 2008-02-18 Alexander Larsson <alexl@redhat.com>
2304 * glocalfileoutputstream.c:
2305 Open files with O_BINARY on windows. (#517140)
2307 2008-02-14 Alexander Larsson <alexl@redhat.com>
2309 * glocalfileoutputstream.c:
2310 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2312 2008-02-14 Alexander Larsson <alexl@redhat.com>
2315 Copy permissions with file on copy (#514084)
2316 This is what cp does and makes sure e.g. the
2317 exec permissions are kept.
2318 Its kinda weird in that it keeps the permission bits
2319 the same while the uid and gid are different. However
2320 the new uid is the user so its not a security issue,
2321 and I've heard no complaints about cp on this issue.
2323 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2325 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2327 2008-02-13 Alexander Larsson <alexl@redhat.com>
2329 * inotify/inotify-path.c:
2330 Define IN_ONLYDIR if not in header (#515346)
2332 2008-02-12 Alexander Larsson <alexl@redhat.com>
2334 * tests/live-g-file.c:
2337 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2339 * === Released 2.15.5 ===
2341 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2343 * gio.symbols: Add g_mount_mount_flags_get_type.
2345 2008-02-11 Alexander Larsson <alexl@redhat.com>
2348 (g_file_info_set_attribute_mask):
2349 (g_file_attribute_matcher_matches_id):
2350 Correctly handle NULL GAttributeMatcher meaning
2351 matches nothing. (Fixes #513492)
2353 2008-02-11 Alexander Larsson <alexl@redhat.com>
2358 Added GMountMountFlags enum and added a flags
2359 argument to all mount calls.
2361 This is an API/ABI change for future extensibility,
2362 as I think we will need at least an
2363 inhibit-autorun flag (the panel needs this).
2364 There are no flags defined yet though.
2366 2008-02-11 Alexander Larsson <alexl@redhat.com>
2369 Added new standard::description attribute.
2370 Requested by Vincent, and useful for both
2373 2008-02-11 Alexander Larsson <alexl@redhat.com>
2375 * gdesktopappinfo.c:
2378 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2380 * *.c: Documentation additions
2382 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2384 * gappinfo.h: Formatting cleanup
2385 * gappinfo.c: Fix up docs.
2387 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2389 * gunixmounts.c: Consistently use getmntent_r() and fall
2390 back to getmntent(). (#515492)
2392 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2394 * gbufferedinputstream.c:
2396 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2398 * tests/data-input-stream.c:
2399 * tests/data-output-stream.c: Portability fixes.
2401 2008-02-08 Alexander Larsson <alexl@redhat.com>
2406 Add g_volume_should_automount.
2409 2008-02-07 Tor Lillqvist <tml@novell.com>
2411 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2412 Win32, too Unix-specific.
2414 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2416 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2417 a local plt if the compiler doesn't support what we want. Bug #514702
2419 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2421 reviewed by: <delete if not using a buddy>
2424 * gunixinputstream.c:
2425 * gunixoutputstream.c:
2427 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2429 * tests/Makefile.am:
2430 * tests/live-g-file.c:
2431 * tests/live-g-file.txt:
2432 New GIO testing module working over real data
2434 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2436 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2437 Fallback to rename() if link() is not available
2438 (when no support on target filesystem)
2440 2008-02-06 Michael Natterer <mitch@imendio.com>
2442 * gfileinfo.c (g_file_info_get_icon): replace
2443 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2445 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2447 * gfile.c (g_file_create):
2448 Documentation update of error codes
2450 2008-02-06 Alexander Larsson <alexl@redhat.com>
2452 * gdesktopappinfo.c:
2453 Update to use both mimeapps.list and
2454 defaults.list as discussed on xdg list.
2456 2008-02-06 Benjamin Otte <otte@gnome.org>
2459 * gfilenamecompleter.c:
2460 Fix some typos in the documentation.
2462 2008-02-06 Alexander Larsson <alexl@redhat.com>
2464 * glocalfile.c (g_local_file_trash):
2465 Don't succeed with trash if newly created
2466 trash dir has the wrong owner. (#514696)
2468 2008-02-05 Alexander Larsson <alexl@redhat.com>
2470 * glocalfile.c (g_local_file_move):
2471 Don't spew warnings when destination is not
2474 2008-02-03 Hans Breuer <hans@breuer.org>
2476 * makefile.msc : update
2478 2008-02-01 Michael Natterer <mitch@imendio.com>
2480 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2481 return value of xdg_mime_list_mime_parents() to a variable of the
2484 2008-02-01 Alexander Larsson <alexl@redhat.com>
2486 * gappinfo.c (g_app_info_launch_uris):
2487 Actually call the launch_uris method, not
2490 2008-02-01 Alexander Larsson <alexl@redhat.com>
2492 * gdesktopappinfo.c (g_desktop_app_info_equal):
2493 Ensure appinfos with no id but same pointer value
2496 2008-02-01 Alexander Larsson <alexl@redhat.com>
2498 * gappinfo.c (g_app_info_launch_default_for_uri):
2501 2008-02-01 Alexander Larsson <alexl@redhat.com>
2505 Add g_app_info_launch_default_for_uri utility
2508 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2510 * gdesktopappinfo.c:
2511 Doc fix for g_app_info_get_default_for_uri_scheme ()
2514 2008-01-30 Alexander Larsson <alexl@redhat.com>
2517 Add doc comment about uris vs GFiles to
2520 * gdesktopappinfo.c:
2521 Ensure uris passed to g_app_info_launch_uris()
2522 are not roundtriped through GFile (as that
2523 may be slightly destructive for e.g. mailto: links)
2525 2008-01-30 Alexander Larsson <alexl@redhat.com>
2527 * tests/data-input-stream.c:
2528 * tests/data-output-stream.c:
2529 C89 fixes from Jens Granseuer (#512849)
2531 2008-01-30 Alexander Larsson <alexl@redhat.com>
2534 Fix gamin/fam difference build issue. (#509419)
2536 2008-01-29 Alexander Larsson <alexl@redhat.com>
2539 * gdesktopappinfo.c:
2540 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2542 2008-01-29 Alexander Larsson <alexl@redhat.com>
2544 * gdesktopappinfo.c:
2545 * gdesktopappinfo.h:
2546 giomodule-priv.h include moved to .c file.
2548 2008-01-29 Alexander Larsson <alexl@redhat.com>
2550 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2551 Remove unused prio/name fields.
2553 2008-01-29 Alexander Larsson <alexl@redhat.com>
2555 * gcontenttype.c (looks_like_text):
2556 Don't treat whitespace as control chars.
2558 2008-01-29 Alexander Larsson <alexl@redhat.com>
2560 * gdesktopappinfo.c:
2561 Lazily create the desktop files for appinfos created
2562 by g_app_info_create_from_commandline() when needed
2563 for mime associations. This allows run-time use
2564 of GAppInfo object without creating unnecessary
2567 2008-01-29 Alexander Larsson <alexl@redhat.com>
2570 Added new symbols to gio.symbols
2572 2008-01-29 Alexander Larsson <alexl@redhat.com>
2575 Add g_file_query_default_handler utility to easily look up
2576 the GAppInfo that handles a file.
2578 * gdesktopappinfo.[ch]:
2580 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2583 Remove unused function
2585 2008-01-29 Alexander Larsson <alexl@redhat.com>
2587 * gfileenumerator.c:
2588 Mention need to free returned value in
2589 g_file_enumerator_next_files_finish docs.
2590 Fix leak if g_file_enumerator_next_files_finish()
2593 2008-01-29 Alexander Larsson <alexl@redhat.com>
2596 (_g_unix_content_type_get_parents):
2597 Use list_parents, not get_parents from xdgmime, because
2598 the later doesn't use the cache.
2600 * xdgmime/xdgmimecache.c:
2601 (_xdg_mime_cache_list_mime_parents):
2602 Don't list the same type as parent multiple times.
2604 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2606 * === Released 2.15.4 ===
2608 2008-01-28 Alexander Larsson <alexl@redhat.com>
2611 Register local vfs with prio 0.
2614 Remove old name and prio class members
2616 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2618 * tests/g-file.c: Disable some tests that are failing in
2619 the absence of a http backend.
2621 2008-01-28 Alexander Larsson <alexl@redhat.com>
2625 Add registration hooks for extension points.
2626 Register the gio extension points.
2628 * fam/gfamdirectorymonitor.c:
2629 * fam/gfamfilemonitor.c:
2630 * glocaldirectorymonitor.[ch]:
2631 * glocalfilemonitor.[ch]:
2632 * gnativevolumemonitor.h:
2633 * gunionvolumemonitor.c:
2634 * gunixvolumemonitor.c:
2637 * inotify/ginotifydirectorymonitor.c:
2638 * inotify/ginotifyfilemonitor.c:
2639 Use the extension points registration instead
2640 of g_type_children().
2642 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2645 * gvolume.[hc]: Document new API.
2647 * gfile.c (g_file_copy_async): Fix docs
2649 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2651 * gbufferedinputstream.c:
2653 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2656 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2658 * glocalfile.c: Avoid trivial differences in translatable strings.
2660 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2662 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2663 build with gcc 3.4 (#509419)
2665 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2667 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2668 (#509994, Murray Cumming)
2670 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2672 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2673 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2674 this allows big jobs to be executed in chunks, instead of blocking
2675 the main loop for a long time.
2677 * gsimpleasyncresult.c:
2678 * giofile.c: Adapt callers.
2680 2008-01-25 Alexander Larsson <alexl@redhat.com>
2682 * gdesktopappinfo.c:
2683 Implement changes discussed on xdg list.
2684 Now we can add supported mimetypes by just using defaults.list
2685 We can also remove associations in defaults.list.
2687 2008-01-25 Alexander Larsson <alexl@redhat.com>
2689 * gdesktopappinfo.c:
2690 Don't make local copy of desktop file
2691 for mimetype changes if the file already
2692 supports the new mimetype.
2694 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2698 * gbufferedinputstream.c:
2699 * glocalfile.c: String improvements. (#511966,
2700 Theppitak Karoonboonyanan)
2702 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2704 * gioscheduler.h: Expand docs a bit.
2706 2008-01-24 Alexander Larsson <alexl@redhat.com>
2709 Add g_drive_get_identifier and
2710 g_drive_enumerate_identifiers
2713 Add g_volume_get_identifier and
2714 g_volume_enumerate_identifiers
2720 Implement identifiers for unix backend
2722 2008-01-24 Alexander Larsson <alexl@redhat.com>
2727 Add g_file_copy_async() (#511580)
2728 Based on patch from Carlos Garcia Campos
2730 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2732 * gioscheduler.c: Some documentation additions.
2734 2008-01-22 Alexander Larsson <alexl@redhat.com>
2736 * gdesktopappinfo.c:
2737 (g_desktop_app_info_new):
2738 Don't leak basename.
2740 2008-01-22 Alexander Larsson <alexl@redhat.com>
2742 * gdesktopappinfo.c:
2743 (g_desktop_app_info_new_from_filename):
2746 2008-01-22 Alexander Larsson <alexl@redhat.com>
2748 * glocalfileinfo.c (get_thumbnail_attributes):
2751 2008-01-22 Alexander Larsson <alexl@redhat.com>
2754 (canonicalize_filename):
2755 Canonicalize paths that start with more than
2759 (compare_two_files):
2760 (test_g_file_new_for_path):
2763 2008-01-22 Alexander Larsson <alexl@redhat.com>
2766 Allow UTF-8 in file:// parse names.
2768 * tests/Makefile.am:
2769 * tests/data-input-stream.c:
2770 * tests/data-output-stream.c:
2771 * tests/g-file-info.c:
2773 Added a bunch of tests from Tomas Bzatek
2775 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2777 * === Released 2.15.3 ===
2779 2008-01-21 Alexander Larsson <alexl@redhat.com>
2781 * gfileinputstream.[ch]:
2782 * gfileoutputstream.[ch]:
2784 Remove duplicated GSeekable functions. (#509990)
2785 Just use the g_seekable_xxx() calls instead.
2787 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2790 * gvolumemanager.c: Whitespace cleanups.
2792 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2793 Use the right mode when creating the file.
2795 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2797 * gfileenumerator.c:
2798 * gfileinputstream.c:
2800 * goutputstream.c: Documentation: Fixed minor typos
2801 and added more mentions of specific _finish() functions.
2803 2008-01-21 Alexander Larsson <alexl@redhat.com>
2805 * inotify/Makefile.am:
2806 * inotify/inotify-helper.c:
2807 * inotify/inotify-kernel.c:
2808 * inotify/inotify-path.c:
2809 * inotify/local_inotify.h: Removed.
2810 * inotify/local_inotify_syscalls.h: Removed.
2811 Removed the included copies of the inotify
2812 headers. We now only use the <sys/inotify.h>
2813 header which exists on modern systems.
2814 This fixes problems on ARM and SH5 (#510448)
2815 but is also generally much cleaner and future
2816 safe. For instance, if other OSes add support
2817 for inotify it should "just work".
2819 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2821 * inotify/*.c: Coding style fixes.
2822 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2823 for the 1/4 Hz timer.
2825 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2828 * gfilemonitor.[hc]:
2829 * gmemoryinputstream.c:
2830 * gmemoryoutputstream.c:
2831 * gmountoperation.c:
2832 * gthemedicon.c: Documentation updates
2834 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2836 * gfile.c: documentation: Fixed more minor
2839 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2841 * gmount.c: (g_mount_remount): documentation:
2842 Mention g_mount_remount_finish() instead of
2843 g_mount_unmount_finish().
2845 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2849 * gfile.c: Fixed some minor typos in the
2852 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2854 * gio/gvolumemonitor.c:
2855 (g_volume_monitor_get_connected_drives):
2856 (g_volume_monitor_get_volumes):
2857 (g_volume_monitor_get_mounts): Documentation:
2858 Clarify the ownership of the regurn GLists.
2860 2008-01-17 Alexander Larsson <alexl@redhat.com>
2863 Add the async find_enclosing_mount version
2864 to the header file too.
2866 2008-01-17 Alexander Larsson <alexl@redhat.com>
2869 Add async version of find_enclosing_mount
2870 with default implementation.
2872 2008-01-17 Alexander Larsson <alexl@redhat.com>
2877 Allow calls to implementation of copy and write
2878 even if the type of the file implementations is
2879 different. This can be used to implement native
2880 upload and download calls in a vfs.
2883 (g_local_file_move):
2884 Protect against the case where move is called
2885 with one file not being local.
2887 Make sure we call the progress callback once
2888 in the native move operation so that the caller
2889 knows how many bytes were copied.
2891 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2894 * gdatainputstream.c:
2896 * gfileoutputstream.c:
2901 * gunixmounts.c: Corrected some typos in the documentation:
2902 occured -> occurred.
2903 its -> it's (where appropriate).
2905 2008-01-16 Alexander Larsson <alexl@redhat.com>
2909 Add g_file_query_exists (#508771)
2911 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2916 * gvolume.c: For async functions that have no non-async
2917 version, document that the GAsyncReadyCallback may be NULL.
2920 2008-01-15 Alexander Larsson <alexl@redhat.com>
2922 * gmemoryinputstream.c:
2923 * gmemoryoutputstream.c:
2924 Don't do pointer arithmetic on void * (#508602)
2925 Patch from Kazuki IWAMOTO
2927 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2929 * === Released 2.15.2 ===
2931 2008-01-14 Alexander Larsson <alexl@redhat.com>
2933 * gfile.c (g_file_monitor_file):
2934 Don't set error here, since we fallback to polling monitor.
2936 2008-01-14 Alexander Larsson <alexl@redhat.com>
2939 (g_file_monitor_directory):
2940 (g_file_monitor_file):
2941 Add GError to file monitor calls
2943 * glocaldirectorymonitor.c:
2944 * glocaldirectorymonitor.h:
2946 * glocalfilemonitor.c:
2947 * glocalfilemonitor.h:
2949 Update for above change
2951 2008-01-14 Alexander Larsson <alexl@redhat.com>
2955 Handle root correctly in g_file_get_relative_path (#508719)
2957 2008-01-14 Alexander Larsson <alexl@redhat.com>
2960 Clean up docs and example for GAsyncResult (#508074)
2962 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2964 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2965 and correct some spelling mistakes. Bug #508108.
2967 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2969 * glocalfileinfo.c: Add a comment.
2971 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2973 * gfileinfo.c: GFileInfo description: Mention
2974 how to actually set attributes in a GFile and how to discover
2975 which attributes are settable. Bug #508378.
2977 2008-01-10 A. Walton <awalton@svn.gnome.org>
2979 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2980 (g_app_info_get_default_for_type):
2981 Check for NULL content types.
2983 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2985 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2987 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2989 * gfile.c: *_async() functions: Several small corrections
2990 to the documentation, mostly correcting copy/paste errors
2991 and improving some sentences.
2993 2008-01-09 Dan Winship <danw@gnome.org>
2995 * glocalfile.c (get_unique_filename): x86_64 fix
2997 2008-01-09 Alexander Larsson <alexl@redhat.com>
3002 Add g_unix_mount_guess_should_display and use
3003 for unix volume monitor backend.
3004 This means we more or less show what the
3005 gnome-vfs backend did.
3006 Based on patch from Padraig O'Briain
3008 2008-01-09 Alexander Larsson <alexl@redhat.com>
3012 Add g_themed_icon_new_with_default_fallbacks
3015 Use default fallbacks for icons
3017 2008-01-09 Alexander Larsson <alexl@redhat.com>
3020 * gmountoperation.[ch]:
3021 Change the API a bit so that unhandled methods
3022 get reported via the reply, rather than by
3023 the signal emission return value. This is because
3024 some handlers can't know this immediately without
3025 doing I/O, and this is an async operation that
3028 2008-01-09 Alexander Larsson <alexl@redhat.com>
3031 * fam/gfamdirectorymonitor.c:
3032 * fam/gfamfilemonitor.c:
3033 Fix double free crash (#508224)
3034 Patch from Joe Marcus Clarke
3036 008-01-07 Matthias Clasen <mclasen@redhat.com>
3038 * === Released 2.15.1 ===
3040 2008-01-07 Alexander Larsson <alexl@redhat.com>
3042 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3043 Fix warning (#507835)
3045 2008-01-07 Alexander Larsson <alexl@redhat.com>
3048 Pass --internal to glib-genmarshal
3051 * gmountoperation.c:
3053 Use better types for signal arguments (#507822)
3055 2008-01-07 Alexander Larsson <alexl@redhat.com>
3058 Build test subdir after .
3059 Remove gdirectorymonitor.[ch]
3061 * gdirectorymonitor.[ch]:
3065 Remove GDirectoryMonitor and make
3066 GFileMonitor the baseclass for both file and
3067 directory monitors. Lift the more generic
3068 rate limiting code from GDirectoryMonitor
3072 * fam/gfamdirectorymonitor.[ch]:
3073 * inotify/ginotifydirectorymonitor.[ch]:
3074 * inotify/inotify-helper.c:
3075 * glocaldirectorymonitor.[ch]:
3078 Update for the removed GDirectoryMonitor.
3080 * gmemoryoutputstream.c:
3081 Remove ununsed variable
3083 2008-01-07 Alexander Larsson <alexl@redhat.com>
3085 * gmemoryinputstream.c:
3086 Translate error strings
3089 * gmemoryoutputstream.[ch]:
3090 New implementation that avoids using GByteArray
3091 in implementation and API. (#506377)
3093 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3095 * tests/*: Add a test for memory input streams.
3097 * Makefile.am: Add tests to SUBDIRS.
3099 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3101 * glocalfilemonitor.c:
3102 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3105 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3107 * gdesktopappinfo.c: Fix a docs typo.
3109 * gfileattribute.c: Add information about extended attributes
3110 to the documentation. (#505058)
3112 2008-01-04 Alexander Larsson <alexl@redhat.com>
3115 * gmountoperation.c:
3116 Use the right type (uint) for the ask_password signal.
3118 2008-01-04 Alexander Larsson <alexl@redhat.com>
3123 Add g_app_info_supports_files()
3124 Remove desktop arg from g_app_info_should_show().
3126 * gdesktopappinfo.[ch]:
3127 Implement g_app_info_supports_files() and new should_show()
3128 Add g_desktop_app_info_set_desktop_env() to set the desktop
3129 for should_show(). (This will be set by gtk+ later)
3131 2008-01-04 Alexander Larsson <alexl@redhat.com>
3134 * gmemoryinputstream.[ch]:
3135 Improve API so that you can use multiple chunks
3136 of memory and custom destroy functions. (#506374)
3138 2008-01-03 Alexander Larsson <alexl@redhat.com>
3141 Handle NULL attribute matchers safely, as we return this
3142 for empty attribute matcher strings.
3144 2008-01-03 Alexander Larsson <alexl@redhat.com>
3146 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3147 Add /usr/local to list of internal mountpoints
3149 2008-01-03 Alexander Larsson <alexl@redhat.com>
3152 Check for HAVE_LCHOWN (#505887)
3154 2008-01-03 Alexander Larsson <alexl@redhat.com>
3158 Add define for selinux context attribute.
3159 Fix missing : -> :: namespace separator change
3160 Fix missing _ -> - name change for xattr-sys.
3163 2008-01-03 Alexander Larsson <alexl@redhat.com>
3166 Link to libglib and libgobject directly (#504879)
3167 Patch from Sebastien Bacher
3169 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3171 * gfile.c: Expanded the g_file_new_for_commandline_arg
3172 description a bit, based on the code and the docs of the
3173 other g_file_new_for_* functions.
3175 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3177 * gfilemonitor.h: Fixed typo in docs.
3179 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3181 Updates to GIO documentation. (#506395, Mikael Hermansson)
3183 * gcontenttype.c: Describe memory management for return value of
3184 g_content_types_get_registered(). Missing piece from #505815.
3185 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3186 GVolume, GDrive, GMounts, which hopefully gives the user less
3187 confusions when using this API. Following explainations from
3188 Alexander Larsson on gtk-devel-list.
3190 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3192 * gfileinfo.c: Expand the long description.
3194 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3197 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3198 fix builds with --disable-visibility. (#500273, Christian Persch)
3200 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3202 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3203 in the list of returned app infos.
3205 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3207 * gappinfo.c: Fix a cross-reference
3209 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3211 * gfileinputstream.c:
3212 * gfileoutputstream.c:
3216 * gdesktopappinfo.c:
3218 * gfileinfo.c: Documentation updates.
3220 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3222 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3225 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3227 * gcontenttype.c (g_content_types_get_registered): Don't return
3228 freed memory (#505815, Mikael Hermansson)
3230 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3232 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3233 used to detect statbuf->st_blocks. (#505042)
3235 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3237 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3238 environment handling. (#504829, Cosimo Cecchi)
3240 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3242 * gappinfo.c: Doc improvements
3244 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3247 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3249 * === Released 2.15.0 ===
3251 2007-12-20 Hans Breuer <hans@breuer.org>
3253 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3254 with symbols gwin32appinfo.obj, added gmount.obj
3255 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3257 2007-12-20 Alexander Larsson <alexl@redhat.com>
3263 * gfilenamecompleter.c:
3266 * gpollfilemonitor.c:
3267 File attribute renames:
3269 fs:: -> filesystem::
3270 id::fs -> id::filesystem
3272 2007-12-20 Alexander Larsson <alexl@redhat.com>
3281 Add GMountUnmountFlags to all unmount and
3283 Add g_mount_remount() call.
3285 2007-12-20 Alexander Larsson <alexl@redhat.com>
3287 * gvfs.c (get_default_vfs):
3288 Fix unused variable warning
3290 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3292 * pltcheck.sh: Update
3294 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3296 * gunionvolumemonitor.c:
3297 * gunixmount.c: Remove C99 comments
3299 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3301 * gio.symbols: Add some missing symbols
3303 2007-12-19 Alexander Larsson <alexl@redhat.com>
3306 Make g_io_modules_load_all_in_directory not unuse
3307 loaded modules so that users of it can do stuff
3309 Init internal "module" types.
3310 Initialize static prio and name for types so that
3311 we don't have to load modules to get it.
3313 * gnativevolumemonitor.h:
3315 Move is_supported to parent class so that
3316 non-native monitors can avoid being initialized
3317 too. (For instance GDaemonVolumeMonitor if we're
3318 not using GDaemonVfs.)
3320 * glocaldirectorymonitor.[ch]:
3321 * glocalfilemonitor.[ch]:
3322 * gunionvolumemonitor.c:
3323 * gunixvolumemonitor.c:
3325 Find plugins using the static prio+name to
3326 avoid unnecessarily loading the modules.
3328 2007-12-19 Alexander Larsson <alexl@redhat.com>
3333 2007-12-19 Alexander Larsson <alexl@redhat.com>
3335 * gunionvolumemonitor.c:
3336 Store the native type as GType, not class so that
3337 we can unload it. But still avoid unnecessarily
3340 2007-12-19 David Zeuthen <davidz@redhat.com>
3342 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3343 add signals 'disconnected' and 'eject-button' on GDrive. Add
3344 signal 'removed' on GVolume and 'unmounted' on GMount.
3346 * gdrive.c: (g_drive_base_init):
3348 * gfile.c: (g_file_mount_mountable),
3349 (g_file_mount_enclosing_volume):
3352 * gmount.c: (g_mount_base_init):
3354 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3355 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3356 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3360 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3362 * *.c: Fix up includes in the section docs.
3364 2007-12-17 Alexander Larsson <alexl@redhat.com>
3366 * gnativevolumemonitor.h:
3367 * gunionvolumemonitor.c:
3368 * gunixvolumemonitor.c:
3369 Add is_supported() to GNativeVolumeMonitorClass so
3370 that we can avoid having to create an object to see
3371 if the backend is supported at runtime.
3372 Also add name member and an env var to pick a specific
3373 volume monitor backend.
3377 Add cancellable to _g_mount_get_for_mount_path()
3379 * glocaldirectorymonitor.c:
3380 * glocalfilemonitor.c:
3381 Avoid loading and unloading modules while sorting.
3383 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3386 * gunixmounts.[hc]: Namespace waste reduction, move some
3387 g_get_unix_mount functions to the g_unix_mount namespace.
3390 * gunixvolumemonitor.c:
3392 * glocaldirectorymonitor.c: Update all callers.
3394 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3396 2007-12-17 Alexander Larsson <alexl@redhat.com>
3399 Add doc comments about what GFile operations are
3400 guaranteed to not block.
3402 2007-12-17 Alexander Larsson <alexl@redhat.com>
3405 Add missing #ifdef fixing OSX build.
3406 (#503334, patch from Richard Hult)
3408 2007-12-14 David Zeuthen <davidz@redhat.com>
3412 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3413 (g_mount_eject), (g_mount_eject_finish):
3415 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3416 (get_volume_for_uuid), (get_mount_for_uuid),
3417 (g_union_volume_monitor_class_init),
3418 (get_default_native_type_with_exclude), (get_default_native_type),
3419 (get_native_type), (update_native_type),
3420 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3421 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3422 (g_unix_mount_can_eject), (eject_unmount_cb),
3423 (eject_unmount_read_error), (eject_unmount_do),
3424 (g_unix_mount_unmount), (g_unix_mount_eject),
3425 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3426 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3427 (g_unix_mount_point_guess_can_eject):
3429 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3430 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3431 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3432 (g_unix_volume_mount), (g_unix_volume_eject),
3433 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3434 * gunixvolumemonitor.c: (get_volume_for_uuid),
3435 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3437 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3438 (g_volume_eject), (g_volume_eject_finish):
3440 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3441 (g_volume_monitor_get_mount_for_uuid):
3444 Provide eject() on both GMount and GVolume and utility functions
3445 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3446 ejected. Introduce the concept of UUID's and wire it into GVolume
3447 and GMount and provide API on GVolumeMonitor to find such
3448 instances. Also handle the case where an external
3449 GNativeVolumeMonitor fails to initialize. Lock around the
3450 _g_get_mount_for_mount_path() function such that volume monitor
3451 implementations won't have to do locking themselves.
3453 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3455 * gdesktopappinfo.c:
3461 * gvolume.h: Documentation updates
3463 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3466 * gfile.h: Doc updates
3468 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3471 * gdesktopappinfo.c: Use hash table iterators.
3473 2007-12-14 Alexander Larsson <alexl@redhat.com>
3476 * gfileattribute.[ch]:
3477 * gfileattribute-priv.h:
3478 Move GFileAttributeValue to a private header, as
3482 Make set_attribute take a type + a pointer instead
3483 of a GFileAttributeValue.
3486 Fix up for above changes.
3487 Add g_file_info_get_attribute_data to get
3488 all info in one call, g_file_info_get_attribute_status
3489 to get the status and g_file_info_get_attribute_as_string.
3493 * glocalfileinfo.[ch]:
3497 Make _guess_type static.
3499 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3502 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3503 made mkenums and friends use temporary files to avoid leaving
3504 empty generated files on failure (#503470).
3506 2007-12-14 Alexander Larsson <alexl@redhat.com>
3508 * gmountoperation.h:
3511 2007-12-14 Alexander Larsson <alexl@redhat.com>
3515 * gfileattribute.[ch]:
3518 * glocalfileoutputstream.c:
3519 * gmountoperation.[ch]:
3520 * goutputstream.[ch]:
3521 Clean up all flags enums to not have _FLAGS in them
3522 Make the names of some of the enums better.
3527 2007-12-14 Michael Natterer <mitch@imendio.com>
3529 * gio.symbols: fix g_io_scheduler symbol names.
3531 2007-12-14 Alexander Larsson <alexl@redhat.com>
3537 * gbufferedinputstream.h:
3538 * gbufferedoutputstream.h:
3541 * gdatainputstream.h:
3542 * gdataoutputstream.h:
3543 * gdesktopappinfo.h:
3544 * gdirectorymonitor.h:
3548 * gfileenumerator.h:
3551 * gfileinputstream.h:
3553 * gfilenamecompleter.h:
3554 * gfileoutputstream.h:
3555 * gfilterinputstream.h:
3556 * gfilteroutputstream.h:
3564 * gmemoryinputstream.h:
3565 * gmemoryoutputstream.h:
3567 * gmountoperation.h:
3570 * gsimpleasyncresult.h:
3572 * gunixinputstream.h:
3574 * gunixoutputstream.h:
3578 * inotify/Makefile.am:
3579 Only allow including <gio/gio.h> from apps
3581 2007-12-14 Alexander Larsson <alexl@redhat.com>
3583 * gioscheduler.[ch]:
3584 * gsimpleasyncresult.c:
3585 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3586 Split out the send_to_mainloop call into two versions instead
3587 of having the block argument.
3589 2007-12-13 Alexander Larsson <alexl@redhat.com>
3591 * gcancellable.[ch]:
3593 * gbufferedinputstream.c:
3594 * gfileenumerator.c:
3595 * gfileinputstream.c:
3596 * gfileoutputstream.c:
3600 g_push/pop_current_cancellable ->
3601 g_cancellable_push/pop_current
3603 2007-12-13 Alexander Larsson <alexl@redhat.com>
3607 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3609 2007-12-13 Alexander Larsson <alexl@redhat.com>
3611 * gmountoperation.h:
3612 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3614 2007-12-12 Alexander Larsson <alexl@redhat.com>
3617 Fix race condition when freeing proxy in
3618 g_io_job_send_to_mainloop().
3620 2007-12-12 Alexander Larsson <alexl@redhat.com>
3626 Make attribute namespace separator "::" instead of ":".
3627 Use - instead of _ as separator in attribute names.
3629 2007-12-12 Alexander Larsson <alexl@redhat.com>
3631 * gbufferedinputstream.h:
3632 * gbufferedoutputstream.h:
3633 * gdatainputstream.h:
3634 * gdataoutputstream.h:
3635 * gdirectorymonitor.h:
3636 * gfileenumerator.h:
3637 * gfileinputstream.h:
3639 * gfileoutputstream.h:
3640 * gfilterinputstream.h:
3641 * gfilteroutputstream.h:
3643 * glocalfileinputstream.h:
3644 * glocalfileoutputstream.h:
3645 * gmemoryinputstream.h:
3646 * gmemoryoutputstream.h:
3647 * gnativevolumemonitor.h:
3649 * gunixinputstream.h:
3650 * gunixoutputstream.h:
3653 s/parent/parent_instance/ in GObjects
3655 2007-12-12 Alexander Larsson <alexl@redhat.com>
3660 No need for padding for interfaces
3662 2007-12-12 Alexander Larsson <alexl@redhat.com>
3666 * gbufferedinputstream.c:
3667 * gbufferedoutputstream.c:
3670 * gdatainputstream.[ch]:
3671 * gdesktopappinfo.c:
3672 * gdirectorymonitor.c:
3674 * gfileattribute.[ch]:
3677 * gfileinputstream.h:
3678 * gfilemonitor.[ch]:
3679 * gfileoutputstream.[ch]:
3680 * gfilterinputstream.h:
3681 * gfilteroutputstream.h:
3684 * gloadableicon.[ch]:
3685 * gmemoryinputstream.c:
3686 * gmountoperation.c:
3688 Fix up a bunch of details in the docs.
3693 2007-12-11 David Zeuthen <davidz@redhat.com>
3695 Rework how volumes, drives and volume monitoring is
3696 done. Previosly the model was
3698 GDrive <1-1> GVolume
3700 where a GDrive instance represented a mount point and a GVolume
3701 instance represented a mounted file system. This patch changes it
3704 GDrive <1-N> GVolume <1-1> GMount
3706 where GMount now serves the purpose of the old GVolume and the new
3707 GVolume serves the purpose of the old GDrive. In addition the new
3708 GDrive interface is used to represent a collection of GVolume
3709 instances (typically partitions) and also contains utility to query
3710 the state of the physical drive the GDrive object represents (such
3711 as checking for media, polling the drive, ejecting the media etc.).
3713 Also implement mounting and unmounting in the Unix volume monitor
3714 backend. A subquent patch will introduce GDrive support for ejection
3718 * gdrive.c: (g_drive_is_media_check_automatic),
3719 (g_drive_is_media_removable), (g_drive_has_media),
3720 (g_drive_can_poll_for_media), (g_drive_eject),
3721 (g_drive_eject_finish), (g_drive_poll_for_media),
3722 (g_drive_poll_for_media_finish):
3724 * gfile.c: (g_file_find_enclosing_mount):
3727 * glocaldirectorymonitor.c:
3728 (g_local_directory_monitor_constructor), (mounts_changed):
3729 * glocalfile.c: (get_mount_info),
3730 (g_local_file_find_enclosing_mount),
3731 (g_local_file_file_iface_init):
3732 * gnativevolumemonitor.h:
3733 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3734 (get_connected_drives), (g_union_volume_monitor_class_init),
3735 (child_volume_added), (child_volume_removed),
3736 (child_volume_changed), (child_mount_added), (child_mount_removed),
3737 (child_mount_pre_unmount), (child_mount_changed),
3738 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3739 (g_union_volume_monitor_remove_monitor),
3740 (_g_mount_get_for_mount_path):
3741 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3742 (guess_system_internal), (_g_get_unix_mounts),
3743 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3744 (g_unix_mount_free), (g_unix_mount_compare),
3745 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3746 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3747 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3748 (type_to_icon), (g_unix_mount_guess_name),
3749 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3750 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3751 (_resolve_symlink), (_resolve_dev_root):
3753 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3754 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3755 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3756 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3757 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3758 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3759 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3760 (g_unix_volume_volume_iface_init):
3762 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3763 (get_mounts), (get_volumes), (get_connected_drives),
3764 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3765 (mountpoints_changed), (mounts_changed),
3766 (g_unix_volume_monitor_init),
3767 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3768 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3769 * gunixvolumemonitor.h:
3770 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3771 (g_volume_mount), (g_volume_mount_finish):
3773 * gvolumemonitor.c: (g_volume_monitor_class_init),
3774 (g_volume_monitor_get_connected_drives),
3775 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3778 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3780 * gmountoperation.h (GPasswordFlags): Close the gap
3782 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3784 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3786 * gdesktopappinfo.[hc]: Remove _-prefixes
3788 2007-12-10 Tor Lillqvist <tml@novell.com>
3790 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3793 2007-12-10 Alexander Larsson <alexl@redhat.com>
3795 * gfile.c (g_file_set_display_name):
3796 Don't hardcode '/' (#502727)
3798 2007-12-09 Hans Breuer <hans@breuer.org>
3800 * makefile.msc : follow lib naming convention
3801 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3802 for user and group name, tested with ../tests/gio-ls
3804 2007-12-09 A. Walton <awalton@svn.gnome.org>
3806 * gdesktopappinfo.c:
3812 * gfileenumerator.c:
3817 * gmemoryinputstream.c:
3818 * gmemoryoutputstream.c:
3820 * gsimpleasyncresult.c:
3821 More documentation cleanup and filling in missing information, bringing
3822 GIO to 99% symbol coverage.
3824 2007-12-08 Hans Breuer <hans@breuer.org>
3826 [gio compiles and links on win32, not sure how much already works]
3827 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3828 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3829 base on win32 API; prefer g_lstat() over lstat(); instead of
3830 localtime_r() use an all GLib implementation on win32;
3831 get_mount_info() still needs a win32 specifc implementation
3832 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3833 win32_get_file_user_info to get owner/group info without uid/gid
3834 * glocalfileinputstream.c : include <io.h> on win32
3835 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3836 definition, use g_win32_ftruncate() for G_OS_WIN32
3837 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3838 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3839 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3840 * makefile.msc : updated
3842 2007-12-07 Alexander Larsson <alexl@redhat.com>
3844 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3845 Avoid warning spew if error == NULL
3847 2007-12-07 Alexander Larsson <alexl@redhat.com>
3850 Update docs wrt etags
3852 2007-12-06 Alexander Larsson <alexl@redhat.com>
3855 Include sys/types.h for dev_t (#501919)
3857 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3861 Make abicheck and pltcheck pass.
3863 2007-12-05 Alexander Larsson <alexl@redhat.com>
3866 * giomodule-priv.h: Added.
3867 * glocaldirectorymonitor.c:
3868 * glocalfilemonitor.c:
3869 * gunionvolumemonitor.c:
3871 Actually add the declaration of _g_io_modules_ensure_loaded
3873 2007-12-05 Alexander Larsson <alexl@redhat.com>
3875 * gdatainputstream.c:
3880 * glocaldirectorymonitor.c:
3881 * glocalfilemonitor.c:
3882 * gunionvolumemonitor.c:
3884 Make g_io_modules_ensure_loaded a private function and
3885 don't pass in the dirname. This means we can do magic
3886 directory finding in the win32 version.
3887 Export the actual load-modules-in-directory code so that
3888 gvfs can reuse that.
3890 2007-12-05 Alexander Larsson <alexl@redhat.com>
3892 * gbufferedinputstream.c:
3893 * gbufferedoutputstream.c:
3896 * gfileenumerator.[ch]:
3897 * gfileinputstream.c:
3898 * gfileoutputstream.[ch]:
3899 * gfilterinputstream.c:
3900 * gfilteroutputstream.c:
3901 * ginputstream.[ch]:
3903 * glocalfileenumerator.c:
3904 * glocalfileinputstream.c:
3905 * glocalfileoutputstream.c:
3906 * gmemoryinputstream.c:
3907 * gmemoryoutputstream.c:
3908 * goutputstream.[ch]:
3911 * gunixinputstream.c:
3912 * gunixoutputstream.c:
3913 Rename all struct members named:
3914 read, write, close, truncate, or mount
3915 to foo_fn, as these are reserved names
3916 and could be defined as macros in libc.
3919 2007-12-04 Alexander Larsson <alexl@redhat.com>
3922 (g_output_stream_close):
3923 Only call flush if non-null.
3925 2007-11-30 Dan Winship <danw@gnome.org>
3927 * ginputstream.c (g_input_stream_set_pending): Make this take a
3928 GError and return a gboolean, and do the "outstanding operation"
3929 check (and the "stream is already closed" check) itself.
3930 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3932 * goutputstream.c (g_output_stream_set_pending)
3933 (g_output_stream_clear_pending): Likewise
3935 * gbufferedinputstream.c:
3936 * gfileinputstream.c:
3937 * gfileoutputstream.c: Update for that
3939 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3940 Like g_simple_async_report_error_in_idle, but takes a GError
3941 rather than building one.
3943 2007-11-30 Dan Winship <danw@gnome.org>
3945 * goutputstream.c: Don't cheat and unset the "pending" flag around
3946 inner calls. Instead, call the class method directly rather than
3947 the wrapper function that checks "pending"
3949 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3951 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3953 2007-12-03 Hans Breuer <hans@breuer.org>
3955 [start of port to win32/msvc]
3956 * gcancellable.c : HAVE_UNIST_H and _pipe()
3957 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3958 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3959 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3961 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3962 * glocalvfs.c : use HAVE_PWD_H
3963 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3964 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3965 * Makefile.am : added to EXTRA_DIST
3967 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3969 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3972 2007-12-03 Alexander Larsson <alexl@redhat.com>
3975 Handle OSX style xattrs API (#500506)
3977 2007-12-03 Alexander Larsson <alexl@redhat.com>
3981 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3983 2007-12-02 A. Walton <awalton@svn.gnome.org>
3987 Documentation accuracy fixes.
3989 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3991 * gioenumtypes.c.template: Fix typo.
3993 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3995 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3997 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3999 * gdirectorymonitor.c:
4000 * gfilemonitor.c: Add properties
4002 * gbufferedoutputstream.c: Don't mark buffer-size property
4005 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4007 * gbufferedoutputstream.c: Add auto-grow property.
4009 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4011 * *.c: Unify the capitalization of section headings.
4013 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4015 * gmountoperation.c: Add properties
4017 * gdatainputstream.c: Turn byte-order and newline-type into
4020 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4022 * gioenumtypes.[hc].template: Templates for enum registration
4024 * Makefile.am: Generate gioenumtypes.[hc]
4026 * gio.h: Include gioenumtypes.h
4028 * gfile.h: Add some explicit nicks.
4030 * gio.symbols: Add new symbols
4032 * pltcheck.sh: Adjust
4034 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4036 * *.c: Explain etags and link to the explanation
4038 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4040 * *.c: Explain I/O priority.
4042 * *.c: More coding style fixes.
4044 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4046 * gasyncresult.c: Add another paragraph to the intro,
4047 adjust coding style of example.
4049 2007-11-29 A. Walton <awalton@svn.gnome.org>
4052 Fixes unknown meaning in GAppLaunchContext docs.
4054 Clarify asynchronous ops.
4056 Fix entity tag docs.
4059 Provides missing gtk-doc section, fixes API docs slighly.
4060 * gsimpleasyncresult.c:
4061 Fill in missing info in docs.
4062 * gunixinputstream.c:
4063 * gunixoutputstream.c:
4064 Be more expressive in short description.
4066 Remove gtk-doc stubs for non-public API.
4068 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4070 * *.c: Coding style fixups
4072 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4074 * inotify/inotify-helper.c: Don't export the lock from libgio.
4076 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4079 * abicheck.sh: Fix copy-and-paste leftovers
4081 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4083 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4085 2007-11-28 Alexander Larsson <alexl@redhat.com>
4089 Removed unnecessary file
4091 * gdesktopappinfo.[ch]:
4094 * glocaldirectorymonitor.[ch]:
4096 * glocalfileenumerator.[ch]:
4097 * glocalfileinputstream.[ch]:
4098 * glocalfilemonitor.[ch]:
4099 * glocalfileoutputstream.[ch]:
4101 * gnativevolumemonitor.c:
4102 * gpollfilemonitor.[ch]:
4103 * gunionvolumemonitor.[ch]:
4106 * gunixvolumemonitor.[ch]:
4109 * inotify/ginotifydirectorymonitor.[ch]:
4110 * inotify/ginotifyfilemonitor.[ch]:
4111 * inotify/inotify-helper.c:
4112 Append _ to all internal functions
4116 Export symbols needed for modules
4118 2007-11-28 Alexander Larsson <alexl@redhat.com>
4121 * abicheck.sh: Added.
4122 * makegioalias.pl: Added.
4123 * pltcheck.sh: Added.
4124 * gio.symbols: Added.
4127 Initial work on adding symbol handling.
4130 Correct ifdef guard name
4133 * inotify/Makefile.am:
4134 * xdgmime/Makefile.am:
4135 Include toplevel Makefile.decl
4137 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4139 * gcontenttype.c: Move doc comments to the unix section.
4141 * *.[hc]: More trivial doc corrections.
4143 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4145 * gpollfilemonitor.c:
4149 * gdesktopappinfo.c:
4154 * gdatainputstream.c:
4155 * gdatainputstream.h:
4156 * gdataoutputstream.c:
4157 * gdataoutputstream.h:
4158 * gfileinfo.h: Doc cleanups
4160 2007-11-28 Andre Klapper <a9016009@gmx.de>
4162 * gdesktopappinfo.c: Fix a typo.
4164 2007-11-27 Andre Klapper <a9016009@gmx.de>
4166 * glocalfileoutputstream.c: Fix a typo.
4168 2007-11-27 Alexander Larsson <alexl@redhat.com>
4171 Don't include removed headers
4173 2007-11-27 Alexander Larsson <alexl@redhat.com>
4176 * gsocketinputstream.[ch]: Removed.
4177 * gsocketoutputstream.[ch]: Removed.
4178 * gunixinputstream.[ch]: Added.
4179 * gunixoutputstream.[ch]: Added.
4180 Renamed GSocket*Stream to GUnix*Stream and made
4181 it unix-only, since its not really only for sockets
4182 and it only works on unix (but is highly useful there).
4184 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4190 * gbufferedinputstream.c:
4191 * gbufferedinputstream.h:
4192 * gbufferedoutputstream.c:
4193 * gbufferedoutputstream.h:
4197 * gdatainputstream.c:
4198 * gdatainputstream.h:
4199 * gdataoutputstream.c:
4200 * gdataoutputstream.h:
4201 * gdirectorymonitor.c:
4202 * gdirectorymonitor.h:
4209 * gfileenumerator.c:
4210 * gfileenumerator.h:
4215 * gfileinputstream.c:
4216 * gfileinputstream.h:
4219 * gfilenamecompleter.c:
4220 * gfilenamecompleter.h:
4221 * gfileoutputstream.c:
4222 * gfileoutputstream.h:
4223 * gfilterinputstream.c:
4224 * gfilterinputstream.h:
4225 * gfilteroutputstream.c:
4226 * gfilteroutputstream.h:
4239 * glocalfileoutputstream.c:
4240 * gmemoryinputstream.c:
4241 * gmemoryinputstream.h:
4242 * gmemoryoutputstream.c:
4243 * gmemoryoutputstream.h:
4244 * gmountoperation.c:
4245 * gmountoperation.h:
4248 * gpollfilemonitor.c:
4251 * gsimpleasyncresult.c:
4252 * gsimpleasyncresult.h:
4253 * gsocketinputstream.c:
4254 * gsocketinputstream.h:
4255 * gsocketoutputstream.c:
4256 * gsocketoutputstream.h:
4263 * gunixvolumemonitor.c:
4272 Bumps documentation to 93% symbol coverage, touching most
4273 of the public files. Fixes broken function documentation prototypes.
4274 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4275 gtk-doc headers in private files.
4277 2007-11-27 Jürg Billeter <j@bitron.ch>
4279 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4280 (g_buffered_input_stream_read_byte):
4281 * gbufferedinputstream.h:
4282 New functions for efficient access to buffer and simple single byte
4285 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4286 (g_data_input_stream_read_until):
4287 * gdatainputstream.h:
4288 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4289 read_until with multiple stop chars.
4291 2007-11-27 Alexander Larsson <alexl@redhat.com>
4295 * inotify/Makefile.am:
4296 Use the user-specified giomoduledir
4298 2007-11-27 Alexander Larsson <alexl@redhat.com>
4302 Add catch-all gio.h header
4303 Don't install gdummyfile.h
4305 2007-11-26 Alexander Larsson <alexl@redhat.com>
4307 * Makefile.am (gioinclude_HEADERS):
4308 Remove trailing whitespace
4310 2007-11-26 Alexander Larsson <alexl@redhat.com>
4312 Merge gio-standalone into glib
4314 2007-11-25 Christian Kellner <gicmo@gnome.org>
4316 * gio/goutputstream.c:
4317 Fix small mistake in the docs.
4319 2007-11-21 Christian Persch <chpe@gnome.org>
4321 * gio/glocalfile.c: (g_local_file_trash):
4322 Convert filenames to UTF-8 for GError.
4323 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4324 as per xdg base dir spec.
4326 2007-11-21 Christian Persch <chpe@gnome.org>
4328 * gio/gdesktopappinfo.c:
4329 Use that g_key_file_to_data cannot fail.
4331 Use stock defines for the key file group and key names.
4334 2007-11-21 Alexander Larsson <alexl@redhat.com>
4337 (copy_stream_with_progress):
4338 Make sure we do a final progress callback with
4339 the full total size.
4341 2007-11-21 Alexander Larsson <alexl@redhat.com>
4344 Export g_file_copy_attributes
4345 Remove padding as its not needed for interfaces
4347 2007-11-20 Alexander Larsson <alexl@redhat.com>
4352 Add G_IO_ERROR_WOULD_MERGE for
4353 copy/move dir on dir with overwrite.
4355 2007-11-20 Alexander Larsson <alexl@redhat.com>
4358 * gio/glocalfileinfo.c:
4359 Add COPY_NAME (this is an optional
4360 non-modified utf8 version of the name) that
4363 2007-11-20 Alexander Larsson <alexl@redhat.com>
4365 * gio/glocalfileenumerator.c:
4366 Report errors as GIOError, not GFileError
4368 2007-11-16 Alexander Larsson <alexl@redhat.com>
4370 * gio/glocalfileoutputstream.c:
4371 * gio/gwin32appinfo.c:
4372 Fix typos in strings.
4373 Patch from Luca Ferretti <elle.uca@libero.it>
4375 2007-11-15 Alexander Larsson <alexl@redhat.com>
4378 Post release version bump
4380 === gio-standalone 0.1.2 ===
4382 2007-11-15 Alexander Larsson <alexl@redhat.com>
4384 * docs/reference/gio/Makefile.am:
4385 Fix up distcheck by removing weird
4391 2007-11-14 Alexander Larsson <alexl@redhat.com>
4393 * gio/gdesktopappinfo.c:
4394 * gio/glocaldirectorymonitor.c:
4396 * gio/glocalfileinfo.c:
4397 * gio/inotify/inotify-sub.c:
4398 * programs/gio-cat.c:
4399 * programs/gio-copy.c:
4400 * programs/gio-info.c:
4401 * programs/gio-ls.c:
4402 * programs/gio-monitor-dir.c:
4403 * programs/gio-monitor-file.c:
4404 * programs/gio-mount.c:
4405 * programs/gio-move.c:
4406 * programs/gio-rm.c:
4407 * programs/gio-save.c:
4408 * programs/gio-trash.c:
4409 Leak fixes from Kjartan Maraas
4411 2007-11-14 Alexander Larsson <alexl@redhat.com>
4413 * gio/fam/fam-helper.c:
4415 * gio/glocalfileinfo.c:
4419 * gio/inotify/inotify-diag.c:
4420 * gio/inotify/inotify-kernel.c:
4421 Various code cleanups from Kjartan Maraas
4423 2007-11-14 Alexander Larsson <alexl@redhat.com>
4425 * gio/gioscheduler.c:
4427 Set up threadpool so that we cache 2 unused
4428 idle threads for at 15 secs. This means we
4429 will reuse thread-local data (like dbus connections)
4432 2007-11-14 Alexander Larsson <alexl@redhat.com>
4434 * gio/fam/fam-helper.c:
4435 * gio/fam/gfamdirectorymonitor.c:
4436 * gio/fam/gfamfilemonitor.c:
4438 * gio/gcontenttype.c:
4439 * gio/gdatainputstream.c:
4440 * gio/gdataoutputstream.c:
4444 * gio/gfileattribute.h:
4445 * gio/gfileenumerator.c:
4447 * gio/ginputstream.c:
4450 * gio/glocalfileinfo.c:
4451 * gio/goutputstream.c:
4452 * gio/gpollfilemonitor.c:
4453 * gio/gsimpleasyncresult.c:
4454 * gio/gunixmounts.c:
4455 * gio/gunixmounts.h:
4456 * gio/inotify/ginotifydirectorymonitor.c:
4457 * gio/inotify/ginotifyfilemonitor.c:
4458 * gio/inotify/inotify-diag.c:
4459 * gio/inotify/inotify-kernel.c:
4460 * gio/inotify/inotify-path.c:
4462 * gio/test-streams.c:
4463 * programs/gio-info.c:
4464 * programs/gio-monitor-dir.c:
4465 * programs/gio-monitor-file.c:
4466 Various code cleanups from Kjartan Maraas
4468 2007-11-13 Alexander Larsson <alexl@redhat.com>
4471 Handle the uri-scheme calls for dummy files
4473 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4475 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4476 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4477 to avoid clash with the C++ keyword.
4479 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4481 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4482 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4484 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4486 * gio/glocaldirectorymonitor.c:
4487 * gio/glocalfilemonitor.c:
4488 * gio/gunionvolumemonitor.c:
4489 Don't use g_once_init_*() for initializations that could fail and
4490 could leave the initialization variable set to 0 but use GOnce.
4491 This prevents a deadlock on the second call when trying to create
4492 a monitor and no monitor type is available. Thanks to Sven Herzberg
4495 2007-11-11 Sven Herzberg <sven@imendio.com>
4497 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4498 #ifdef (make it work on MacOS X again)
4500 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4502 Fixes Changelog for last two commits (sorry guys).
4504 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4506 * gio/gbufferedinputstream.c:
4507 * gio/gdatainputstream.c:
4509 * gio/gfileoutputstream.c:
4510 * gio/gfilterinputstream.c:
4511 * gio/glocalfileinputstream.c:
4514 More consistency fixes in g*stream.c files.
4515 Significant clean of gfile's documentation, filling in of
4516 asynchronous operations documentation.
4518 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4520 * gio/gasyncresult.c:
4521 * gio/gbufferedinputstream.c:
4522 * gio/gbufferedoutputstream.c:
4523 * gio/gcancellable.c:
4524 * gio/gcontenttype.c:
4525 * gio/gdatainputstream.c:
4526 * gio/gdataoutputstream.c:
4527 * gio/gdesktopappinfo.c:
4530 * gio/gfileattribute.c:
4531 * gio/gio/gfileenumerator.c:
4533 * gio/gfileinputstream.c:
4534 * gio/gfilemonitor.c:
4535 * gio/gfileoutputstream.c:
4536 * gio/ginputstream.c:
4538 * gio/gioscheduler.c:
4539 * gio/gloadableicon.c:
4540 * gio/glocalfileoutputstream.c:
4541 * gio/gmemoryoutputstream.c:
4542 * gio/gmountoperation.c:
4543 * gio/goutputstream.c:
4545 * gio/gsimpleasyncresult.c:
4546 * gio/gunionvolumemonitor.c:
4547 * gio/gunixmounts.c:
4548 * gio/gunixvolume.c:
4552 * gio/gvolumemonitor.c:
4553 Updated documentation stubs, working towards consistency and
4556 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4558 * gio/gmemoryoutputstream.c:
4559 * gio/gmemoryoutputstream.h:
4560 Change g_memory_output_stream_set_free_on_close() to
4561 g_memory_output_stream_set_free_data() as this makes more sense and
4562 is more consistent with GMemoryInputStream.
4564 2007-11-07 Alexander Larsson <alexl@redhat.com>
4571 Change how we find the default vfs so that
4572 we can handle a gvfs failing to init
4574 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4576 * gio/gbufferedoutputstream.c:
4577 * gio/gdatainputstream.c:
4578 * gio/gdataoutputstream.c:
4579 * gio/gfileinputstream.c:
4580 * gio/gfileoutputstream.c:
4581 * gio/gfilterinputstream.c:
4582 * gio/gfilteroutputstream.c:
4583 * gio/ginputstream.c:
4584 * gio/gmemoryinputstream.c:
4585 * gio/gmemoryoutputstream.c:
4586 * gio/goutputstream.c:
4587 * gio/gsimpleasyncresult.c:
4588 * gio/gsocketinputstream.c:
4589 * gio/gsocketoutputstream.c:
4590 Add guards to the remaining public functions, add a TODO for
4591 an unimplemented function and remove some useless guards.
4593 2007-11-07 Alexander Larsson <alexl@redhat.com>
4596 Autoconf checks for the various types of
4597 getpwuid_r and getgrgid_r
4599 * gio/glocalfileinfo.c:
4600 Use the autoconf checks from above
4602 2007-11-07 Alexander Larsson <alexl@redhat.com>
4605 (g_local_file_query_filesystem_info):
4606 Some fixes for the statvfs case
4608 2007-11-07 Alexander Larsson <alexl@redhat.com>
4611 (g_local_file_query_filesystem_info):
4612 Pick the "best" of statfs / statvfs for the system
4613 if both are availible.
4615 2007-11-07 Alexander Larsson <alexl@redhat.com>
4617 Solaris fixes from Halton.Huo@Sun.COM:
4624 * gio/glocalfileinfo.c:
4625 Fix for solaris definition of getpwuid_r
4627 * gio/test-streams.c:
4628 Use G_GNUC_PRETTY_FUNCTION
4630 2007-11-07 Alexander Larsson <alexl@redhat.com>
4632 * gio/gdesktopappinfo.c:
4633 (update_default_list):
4634 Remove double semicolon.
4635 Patch from Jens Granseuer
4637 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4639 * docs/reference/gio/gio-sections.txt:
4640 * gio/gbufferedinputstream.c:
4641 * gio/gbufferedinputstream.h:
4642 * gio/gdatainputstream.c:
4643 * gio/gfileenumerator.c:
4644 * gio/gioscheduler.c:
4645 * gio/gunionvolumemonitor.c:
4647 * programs/gio-save.c:
4648 Fix typo: availible -> available. Unfortuntely this breaks API
4649 and ABI as g_buffered_input_stream_get_available() was renamed.
4651 * gio/gunixmounts.c:
4652 * gio/gbufferedinputstream.c:
4653 Add guards for public functions.
4655 2007-11-06 Ross Burton <ross@openedhand.com>
4657 * docs/reference/gio/Makefile.am:
4658 Fix invalid += usage which automake 1.10 doesn't like.
4660 2007-11-06 Alexander Larsson <alexl@redhat.com>
4663 (g_app_launch_context_class_init):
4666 Patch from Ross Burton
4668 2007-11-06 Alexander Larsson <alexl@redhat.com>
4671 Post release version bump
4673 === gio-standalone 0.1.1 ===
4675 2007-11-06 Alexander Larsson <alexl@redhat.com>
4678 Bump version to 0.1.1
4680 * gio/gsimpleasyncresult.c:
4681 (g_simple_async_result_set_from_error):
4682 Remove bogus g_return_if_fail
4684 2007-11-06 Alexander Larsson <alexl@redhat.com>
4687 The name is gio-standalone
4690 Add top src/builddir to includedir
4692 2007-11-06 Alexander Larsson <alexl@redhat.com>
4694 * docs/reference/gio/gio-sections.txt:
4696 * gio/gbufferedinputstream.c:
4697 * gio/gbufferedoutputstream.c:
4698 * gio/gcancellable.c:
4699 * gio/gdatainputstream.h:
4700 * gio/gdataoutputstream.c:
4701 * gio/gdataoutputstream.h:
4702 * gio/gdirectorymonitor.c:
4704 * gio/gfileattribute.c:
4705 * gio/gfileattribute.h:
4706 * gio/gfileenumerator.c:
4707 * gio/gfileenumerator.h:
4710 * gio/gfileinputstream.h:
4711 * gio/gfilemonitor.c:
4712 * gio/gfileoutputstream.h:
4713 * gio/glocalfilemonitor.h:
4714 * gio/glocalfileoutputstream.h:
4715 * gio/gmemoryinputstream.c:
4716 * gio/gmemoryoutputstream.c:
4717 * gio/gmountoperation.c:
4718 * gio/goutputstream.c:
4719 * gio/goutputstream.h:
4721 * gio/gsimpleasyncresult.c:
4722 * gio/gunixmounts.c:
4723 * gio/gunixmounts.h:
4725 * gio/inotify/inotify-helper.c:
4726 Fix gtk-doc warnings
4728 Patch from Ross Burton
4730 2007-11-06 Alexander Larsson <alexl@redhat.com>
4732 * gio/gfilenamecompleter.c:
4733 (g_filename_completer_get_completions):
4736 * gio/gunixvolume.c:
4737 Remove unused function
4739 Patches from Ross Burton
4741 2007-11-06 Alexander Larsson <alexl@redhat.com>
4746 Padding not needed for interfaces
4748 2007-11-06 Alexander Larsson <alexl@redhat.com>
4750 * gio/gfilemonitor.c:
4754 Make giotypes.h an internal file
4757 * gio/gbufferedinputstream.h:
4758 * gio/gbufferedoutputstream.h:
4759 * gio/gcancellable.h:
4760 * gio/gdatainputstream.h:
4761 * gio/gdataoutputstream.h:
4762 * gio/gdirectorymonitor.c:
4763 * gio/gdirectorymonitor.h:
4768 * gio/gfileattribute.h:
4769 * gio/gfileenumerator.h:
4774 * gio/gfilemonitor.c:
4775 * gio/gfilemonitor.h:
4776 * gio/gfilenamecompleter.c:
4777 * gio/gfilenamecompleter.h:
4778 * gio/gfilterinputstream.h:
4779 * gio/gfilteroutputstream.h:
4780 * gio/ginputstream.h:
4781 * gio/gmemoryinputstream.h:
4782 * gio/gmemoryoutputstream.h:
4783 * gio/gmountoperation.c:
4784 * gio/gmountoperation.h:
4785 * gio/gnativevolumemonitor.c:
4786 * gio/goutputstream.h:
4789 * gio/gsimpleasyncresult.c:
4790 * gio/gsimpleasyncresult.h:
4791 * gio/gsocketinputstream.h:
4792 * gio/gsocketoutputstream.h:
4793 * gio/gthemedicon.c:
4794 * gio/gthemedicon.h:
4798 * gio/gvolumemonitor.c:
4799 * gio/gvolumemonitor.h:
4800 Add padding in classes where it seems useful
4801 Don't include giotypes.h from public headers
4802 Move in Class definitions into c file where possible
4807 2007-11-06 Alexander Larsson <alexl@redhat.com>
4809 * docs/reference/gio/gio-docs.xml:
4810 Better structure for API docs
4812 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4815 * gio/gloadableicon.c:
4816 * gio/gsimpleasyncresult.c:
4817 * gio/gthemedicon.c:
4818 Add some more guards to public functions. Only files missing are now
4821 2007-11-06 Alexander Larsson <alexl@redhat.com>
4823 * docs/reference/gio/gio-docs.xml:
4824 Remove old files, add missing ones
4826 2007-11-06 Alexander Larsson <alexl@redhat.com>
4828 * docs/reference/gio/gio-sections.txt:
4831 Hide implementation classes
4833 * gio/gdriveprivate.h:
4834 * gio/gvolumeprivate.h:
4835 Remove non-existing function declarations
4837 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4840 Fix compilation warnings and add guards to the new functions.
4842 * gio/gasyncresult.c:
4844 Add guards to the public functions.
4847 Implement get_path().
4849 2007-11-06 Alexander Larsson <alexl@redhat.com>
4851 * gio/gfilenamecompleter.c:
4852 Make g_filename_completer_get_completions
4853 return char ** instead of GList for
4856 * docs/reference/gio/gio-docs.xml:
4857 * docs/reference/gio/gio-sections.txt:
4859 * gio/gasyncresult.c:
4860 * gio/gbufferedinputstream.c:
4861 * gio/gbufferedoutputstream.c:
4862 * gio/gcancellable.c:
4863 * gio/gcontenttype.c:
4864 * gio/gdatainputstream.c:
4865 * gio/gdataoutputstream.c:
4866 * gio/gdesktopappinfo.c:
4867 * gio/gdirectorymonitor.c:
4871 * gio/gfileattribute.c:
4872 * gio/gfileenumerator.c:
4875 * gio/gfileinputstream.c:
4876 * gio/gfilemonitor.c:
4877 * gio/gfilenamecompleter.c:
4878 * gio/gfilenamecompleter.h:
4879 * gio/gfileoutputstream.c:
4880 * gio/gfilterinputstream.c:
4882 * gio/ginputstream.c:
4884 * gio/gioscheduler.c:
4885 * gio/gloadableicon.c:
4886 * gio/glocaldirectorymonitor.c:
4888 * gio/glocalfileinputstream.c:
4889 * gio/glocalfilemonitor.c:
4890 * gio/glocalfileoutputstream.c:
4892 * gio/gmemoryinputstream.c:
4893 * gio/gmemoryoutputstream.c:
4894 * gio/gmountoperation.c:
4895 * gio/goutputstream.c:
4896 * gio/gpollfilemonitor.c:
4898 * gio/gsimpleasyncresult.c:
4899 * gio/gsocketinputstream.c:
4900 * gio/gsocketoutputstream.c:
4901 * gio/gthemedicon.c:
4902 * gio/gunionvolumemonitor.c:
4904 * gio/gunixmounts.c:
4905 * gio/gunixvolume.c:
4906 * gio/gunixvolumemonitor.c:
4910 * gio/gvolumemonitor.c:
4911 * gio/gwin32appinfo.c:
4912 Add (mostly stub) doc strings to public functions.
4913 Patch from Andrew Walton (awalton@gmail.com)
4915 2007-11-06 Alexander Larsson <alexl@redhat.com>
4917 * gio/gappinfo.[ch]:
4918 Added GAppLaunchContext object and pass that to launch.
4919 This allows simple implementation of both
4920 launch-on-screen and startup notification via a gtk+
4921 subclass of GAppLaunchContext
4923 * gio/gdesktopappinfo.c:
4924 Implement GAppLaunchContext API
4926 * gio/gwin32appinfo.c:
4929 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4931 * gio/gmountoperation.c:
4932 Add some guards to GMountOperation's public functions.
4934 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4938 * gio/gcancellable.c:
4939 * gio/gdirectorymonitor.c:
4941 * gio/gfileenumerator.c:
4942 * gio/gfilemonitor.c:,
4943 * gio/gfilenamecompleter.c:
4946 * gio/gioscheduler.c:
4950 * gio/gvolumemonitor.c:
4951 Add even more guards to various public functions.
4953 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4956 Add guards to the public functions of GAppInfo.
4958 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4960 * gio/gcontenttype.c:
4961 Add some more guards for public functions.
4963 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4965 * gio/fam/fam-module.c:
4966 * gio/fam/gfamdirectorymonitor.c:
4967 * gio/fam/gfamdirectorymonitor.h:
4968 * gio/fam/gfamfilemonitor.c:
4969 * gio/fam/gfamfilemonitor.h:
4970 * gio/inotify/ginotifydirectorymonitor.c:
4971 * gio/inotify/ginotifydirectorymonitor.h:
4972 * gio/inotify/ginotifyfilemonitor.c:
4973 * gio/inotify/ginotifyfilemonitor.h:
4974 Add proper copyright information and remove an unused variable
4975 in the GInotifyFileMonitor constructor.
4977 * gio/gcancellable.c:
4978 Add a guard for a public function and an assertion to prevent
4979 an undefined program state.
4981 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4983 * gio/gfileattribute.c:
4984 Don't run into an assertion if the given attribute value is NULL
4985 in g_file_attribute_value_get_*() but instead return a fallback
4986 value that makes sense in most situations. Passing them a attribute
4987 value with the wrong type will still run into an assertion.
4989 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4991 * gio/gfileattribute.c:
4993 Add even more guards to the public functions. Also fix the refcounting
4994 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4995 let g_file_info_list_attributes() filter the attributes by namespace
4996 instead of simply ignoring the namespace parameter.
4998 2007-11-03 Sven Herzberg <sven@imendio.com>
5000 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5001 (This makes gio work on MacOS X again)
5003 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5006 Build the gio subdirectory before the docs. Otherwise the build will
5009 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5010 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5011 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5012 Add guards to the public functions.
5014 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5016 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5017 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5018 to prevent a compiler warning.
5020 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5021 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5022 return something in the non-void function find_topdir_for().
5024 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5031 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5033 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5034 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5035 * gwin32appinfo.c (g_win32_app_info_launch):
5036 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5037 envp_for_startup_id, g_desktop_app_info_launch,
5038 g_desktop_app_info_launch_uris):
5040 Give an opaque 'startup_id' string instead of 'envp'.
5041 Support empty file lists for launching new windows.
5042 Fix infinite recursion bug when launching URIs.
5044 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5047 Add guard to the new g_file_get_uri_scheme() function.
5049 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5052 Convert a g_return_val_if_fail() to setting the GError instead as
5053 otherwise applications have to verify the parameter before otherwise
5054 and the parameter might come directly from the user.
5056 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5058 * gio/inotify/ginotify*.[ch]:
5059 Add missing copyright information.
5061 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5064 Add guards in the beginning of public functions to check for valid
5065 parameters and fix a bug in copy_stream_with_progress() that could've
5066 caused writing less bytes than reading.
5067 * gio/glocalfileinfo.c:
5068 Check for a NULL parameter and set the GError accordingly then.
5069 * gio/goutputstream.c:
5070 Fix the same bug as in gfile.c that could've caused writing less bytes
5071 than reading in g_output_stream_real_splice().
5073 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5076 Use the correct gvolumeprivate.h naming
5078 2007-11-01 Christian Kellner <gicmo@gnome.org>
5081 Remove leftover "$(daemon_sources)" entry.
5083 2007-11-01 Christian Kellner <gicmo@gnome.org>
5088 Add copyright information to source files.
5090 2007-11-01 Alexander Larsson <alexl@redhat.com>
5094 Add g_file_get_uri_scheme
5096 2007-11-01 Alexander Larsson <alexl@redhat.com>
5099 * gio/gdesktopappinfo.c:
5100 * gio/gwin32appinfo.c:
5101 Add g_app_info_get_default_for_uri_scheme.
5103 2007-11-01 Alexander Larsson <alexl@redhat.com>
5106 Correct filename for gdriveprivate.h
5108 2007-10-31 Alexander Larsson <alexl@redhat.com>
5111 Rename id:value to id:file
5114 * gio/glocalfileinfo.c:
5117 2007-10-31 Alexander Larsson <alexl@redhat.com>
5119 * gio/gunixvolume.c:
5121 Remove g_volume_get_platform_id, as thats not
5122 needed with the simpler union volume monitor
5124 2007-10-31 Alexander Larsson <alexl@redhat.com>
5127 * gio/guniondrive.[ch]: Removed.
5128 * gio/gunionvolume.[ch]: Removed.
5129 Remove GUnionDrive/Volume
5131 * gio/gunionvolumemonitor.c:
5132 Simplify union volume monitor, now we
5133 only have one native volume monitor and
5134 we use the actual volumes/drives from the
5135 child monitors instead of wrapping them
5137 * gio/gnativevolumemonitor.[ch]:
5138 Base class for native volume monitors.
5139 Includes priority and get_volume_for_mountpoint
5142 Add g_file_find_enclosing_volume
5145 Remove volume name fs attribute
5146 Add readonly fs attribute
5149 Implement readonly attribute
5150 remove volume name attribute
5151 Implement find_enclosing volume
5153 * gio/gunixmounts.c:
5154 Add a volume for "/".
5156 * gio/gunixvolume.[ch]:
5157 Set better name for /
5159 * gio/gunixvolumemonitor.[ch]:
5160 Derive from GNativeVolumeMonitor
5161 Implement get_volume_for_mountpoint
5164 GVolume typedef moved to gfile.h
5166 * gio/gvolumeprivate.h:
5167 Add g_volume_get_for_mount_path
5169 2007-10-31 Alexander Larsson <alexl@redhat.com>
5171 * gio/gunixmounts.[ch]:
5172 Add cache info to unix mount listers
5173 Make getmntent use threadsafe
5174 Add is_system_internal attribute for GUnixMount
5176 * gio/gunixvolume.c:
5177 (g_unix_volume_new):
5178 Use is_system_internal instead of own code
5180 * gio/glocaldirectorymonitor.c:
5181 * gio/gunixvolumemonitor.c:
5182 Update to new gunixmounts API
5187 2007-10-30 Alexander Larsson <alexl@redhat.com>
5190 Add volume name fsinfo attribute
5193 Read volume name info
5195 * gio/gunionvolumemonitor.c:
5196 Fix infinite loops when finalizing a union volume monitor
5198 2007-10-30 Alexander Larsson <alexl@redhat.com>
5200 * gio/goutputstream.[ch]:
5201 Add splice() with default implementation
5203 * gio/gsocketoutputstream.c:
5204 (g_socket_output_stream_write):
5205 Return error on cancellation correctly.
5207 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5209 * gio/glocalfile.c (g_local_file_trash):
5210 Do not leak a string.
5212 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5214 * gio/gfile.c (g_file_load_contents):
5215 Unref the stream after closing it.
5217 2007-10-25 Alexander Larsson <alexl@redhat.com>
5219 * gio/gioscheduler.h:
5222 2007-10-25 Alexander Larsson <alexl@redhat.com>
5226 Add g_file_has_uri_scheme and implement for local files
5228 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5230 * gio/gdesktopappinfo.c: do not leak a string.
5232 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5234 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5235 (g_local_directory_monitor_new):
5236 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5237 (g_local_file_monitor_new):
5238 Only look for the monitor type that should be used the first time
5239 and use g_qsort_with_data() instead of our own bubble sort
5242 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5245 * gio/fam/Makefile.am:
5246 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5247 * gio/fam/fam-helper.h:
5248 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5249 * gio/fam/gfamdirectorymonitor.c:
5250 * gio/fam/gfamdirectorymonitor.h:
5251 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5252 * gio/fam/gfamfilemonitor.h:
5253 * gio/glocaldirectorymonitor.c:
5254 * gio/glocaldirectorymonitor.h:
5255 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5256 * gio/glocalfilemonitor.h:
5257 * gio/inotify/Makefile.am:
5258 * gio/inotify/ginotifydirectorymonitor.c:
5259 * gio/inotify/ginotifydirectorymonitor.h:
5260 * gio/inotify/ginotifyfilemonitor.c:
5261 * gio/inotify/ginotifyfilemonitor.h:
5262 Implement the FAM and Inotify monitors as
5263 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5264 their own GIO module. GLocal(Directory|File)Monitor will use the
5265 monitor with the highest rank that is supported on that machine.
5267 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5270 Change GIO module dir to $(libdir)/gio/modules and change
5271 the log domain from GVFS to GIO. Also only export symbols starting
5272 with g_ in the resulting library.
5273 * gio/test-streams.c: (main):
5274 Set log handler for the GIO log domain.
5276 2007-10-22 Alexander Larsson <alexl@redhat.com>
5278 * gio/gfilenamecompleter.[ch]:
5279 Add g_filename_completer_set_dirs_only
5281 2007-10-22 Alexander Larsson <alexl@redhat.com>
5284 * gio/gurifuncs.[ch]:
5285 Add some simple URI helpers
5287 * gio/gfilenamecompleter.[ch]:
5288 Added object for filename (parse name actually) completion
5291 Handle ~ in parse names
5293 2007-10-17 Alexander Larsson <alexl@redhat.com>
5296 * gio/glocalfileinfo.c:
5297 Add and implement id:value attribute
5299 2007-10-17 Alexander Larsson <alexl@redhat.com>
5302 * gio/guniondrive.c:
5304 Add and implement g_drive_has_volumes
5306 2007-10-17 Alexander Larsson <alexl@redhat.com>
5309 * gio/glocalfileinfo.[ch]:
5310 Add unix:is_mountpoint and implement for local files
5312 2007-10-16 Alexander Larsson <alexl@redhat.com>
5314 * gio/gunionvolumemonitor.c:
5315 (g_union_volume_monitor_init):
5316 Fix up the unix type getting so that it works with gcc
5318 2007-10-12 Alexander Larsson <alexl@redhat.com>
5321 * gio/glocalfileinfo.c:
5322 Add thumbnail:failed to file info
5324 2007-10-12 Richard Hult <richard@imendio.com>
5326 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5327 optimizing away the get_type call (happens with some gcc versions,
5328 like the one shipped with OS X 10.4).
5330 2007-10-12 Alexander Larsson <alexl@redhat.com>
5332 * gio/glocalfileinfo.c:
5333 (_g_local_file_info_set_attribute):
5334 Fix build if not HAVE_XATTR
5335 Patch from Milosz Derezynski <internalerror@gmail.com>
5337 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5339 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5340 around for review, otherwise I would have asked you before
5343 2007-10-11 Alexander Larsson <alexl@redhat.com>
5346 Add thumbnail:path attribute
5348 * gio/glocalfileinfo.c:
5349 Implement thumbnail:path for local files
5351 2007-10-11 Alexander Larsson <alexl@redhat.com>
5353 * gio/glocalfileinfo.c:
5354 (_g_local_file_info_get):
5355 Avoid duplicate icon names
5357 2007-10-11 Alexander Larsson <alexl@redhat.com>
5359 * gio/gthemedicon.[ch]:
5360 Change g_themed_icon_get_names return type to const
5362 2007-10-10 Alexander Larsson <alexl@redhat.com>
5364 * gio/glocalfileinfo.c:
5365 Don't reference freed memory
5367 2007-10-10 Alexander Larsson <alexl@redhat.com>
5369 * gio/gfileattribute.c:
5372 * gio/glocalfileinfo.c:
5375 2007-10-10 Alexander Larsson <alexl@redhat.com>
5378 Check for NULL icons
5380 * gio/gfileattribute.c:
5381 Don't dup when getting objects (same as for string attributes)
5383 * gio/gicon.c (g_icon_equal):
5384 Safely handle NULLs in equal
5386 2007-10-10 Alexander Larsson <alexl@redhat.com>
5389 Fix c++ compilation issues
5390 Patch from Milosz Derezynski <internalerror@gmail.com>
5392 2007-10-10 Alexander Larsson <alexl@redhat.com>
5394 * programs/gio-monitor-dir.c:
5395 Don't crash if dir monitor not supported.
5397 2007-10-09 Alexander Larsson <alexl@redhat.com>
5400 Add missing G_END_DECLS
5402 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5404 * gio/gfile.c: (g_file_set_display_name),
5405 (g_file_query_settable_attributes),
5406 (g_file_query_writable_namespaces):
5407 Return NULL not FALSE on errors as the return type is a pointer.
5409 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5411 * gio/glocalfile.c: (g_local_file_monitor_file):
5412 Don't call monitor_file on the default interface vtable (which
5413 is NULL) but simply return NULL. The caller, GFile, will create a
5414 polling monitor if NULL is returned.
5416 2007-10-09 Alexander Larsson <alexl@redhat.com>
5420 * gio-unix-2.0.pc.in:
5421 Add gio-unix-2.0.pc if OS_UNIX
5424 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5426 2007-10-09 Alexander Larsson <alexl@redhat.com>
5428 * gio/gunixmounts.[ch]:
5429 Make unix mount monitoring API sane.
5430 Now its just a object with mounts_changed
5431 and mountpoints_changed signals.
5433 * gio/glocaldirectorymonitor.c:
5434 * gio/gunixvolumemonitor.c:
5435 Use new mount monitor api
5437 2007-10-09 Alexander Larsson <alexl@redhat.com>
5439 * gio/gunixmounts.[ch]:
5440 Move guess type into one call for mounts and one for mountpoints
5443 * gio/gunixvolume.c:
5446 2007-10-09 Alexander Larsson <alexl@redhat.com>
5448 * gio/gunixmounts.[ch]:
5449 Remove _ prefix in preparation to make this semi-public
5450 Hide implementation of structs
5452 * gio/glocaldirectorymonitor.c:
5454 * gio/gunixvolume.c:
5455 * gio/gunixvolumemonitor.c:
5456 Update for above API changes
5458 2007-10-08 Alexander Larsson <alexl@redhat.com>
5461 Better polling fallback. This also handles the case where we have
5462 a monitor_file implementation, but it fails.
5464 2007-10-08 Alexander Larsson <alexl@redhat.com>
5468 * gio/gunixmounts.c:
5469 * programs/gio-monitor-dir.c:
5470 * programs/gio-monitor-file.c:
5471 Added cancellable to file monitoring calls.
5472 These are really sync calls and need this.
5474 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5476 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5477 (g_local_vfs_class_init):
5478 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5479 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5481 2007-10-05 Alexander Larsson <alexl@redhat.com>
5483 * gio/gdirectorymonitorprivate.h:
5484 * gio/gfilemonitorprivate.h:
5485 * gio/gdirectorymonitor.h:
5486 * gio/gfilemonitor.h:
5487 Remove *private.h and move to the public API, so that
5488 we can do implementations outside gio (such as in gvfs)
5490 * gio/gdirectorymonitor.c:
5491 * gio/gfilemonitor.c:
5492 * gio/glocaldirectorymonitor.c:
5493 * gio/gpollfilemonitor.c:
5494 * gio/inotify/inotify-helper.c:
5495 * gio/fam/fam-helper.c:
5496 Update to the new header names
5498 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5500 * gio/gdirectorymonitor.c:
5501 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5504 2007-10-04 Alexander Larsson <alexl@redhat.com>
5506 * gio/glocalfileinfo.c (get_access_rights):
5507 Set CAN_TRASH when we can move the file.
5508 We should really also check for a parent trash dir.
5510 2007-10-04 Alexander Larsson <alexl@redhat.com>
5512 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5513 Add can_trash access attribute
5515 2007-10-04 Alexander Larsson <alexl@redhat.com>
5518 (g_local_file_trash):
5519 Create info file first. This is per-spec and allows
5520 us to actually trash directories.
5522 2007-10-02 Alexander Larsson <alexl@redhat.com>
5524 * gio/gdesktopappinfo.c:
5525 Implement the new mime support code.
5526 Always set app as handling mimetype when being set as default for it
5528 2007-10-01 Alexander Larsson <alexl@redhat.com>
5530 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5531 Fix up check for xattrs:
5533 2007-10-01 Alexander Larsson <alexl@redhat.com>
5536 (g_app_info_set_as_default_for_extension):
5537 (g_app_info_add_supports_type):
5538 (g_app_info_can_remove_supports_type):
5539 (g_app_info_remove_supports_type):
5540 Make these fail nicely if not implemented
5542 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5544 * gio/glocalfileoutputstream.c:
5545 * gio/glocalfileoutputstream.h:
5550 * programs/gio-save.c:
5551 Add a GFileCreateFlags argument to operations that can create
5554 2007-10-01 Alexander Larsson <alexl@redhat.com>
5556 * gio/gappinfo.[ch]:
5557 * gio/gdesktopappinfo.c:
5558 Add more (stubbed out) mime API needed for nautilus
5560 2007-10-01 Alexander Larsson <alexl@redhat.com>
5563 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5564 Add g_app_info_set_as_default_for_extension.
5566 * gio/gdesktopappinfo.c:
5567 Dummy for g_app_info_set_as_default_for_extension
5568 Support flags in g_app_info_create_from_commandline
5570 * gio/gwin32appinfo.c:
5572 Update for API changes
5574 * gio/gthemedicon.c:
5575 Properly NULL-terminate list of icon names
5577 2007-09-28 Alexander Larsson <alexl@redhat.com>
5579 * gio/gloadableicon.h:
5580 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5582 2007-09-28 Alexander Larsson <alexl@redhat.com>
5585 Install headers in $includedir/gio-standalone/
5587 * gio-2.0.pc.in: Added.
5588 * gio-standalone.pc.in: Removed.
5591 Renamed pkg-config file to match glib (for future move)
5592 Update to the new include dir
5595 Add more TODO comments
5597 2007-09-28 Alexander Larsson <alexl@redhat.com>
5599 * gio/gdesktopappinfo.[ch]:
5600 Expose new_from_filename
5601 Add getter for is_hidden and handle it better
5603 2007-09-28 Alexander Larsson <alexl@redhat.com>
5605 * gio/gfileinfo.[ch]:
5606 Rename g_file_size_format_for_display to
5607 g_format_file_size_for_display.
5608 Now it doesn't have the g_file prefix, so we
5609 can later move it to glib.
5611 2007-09-28 Alexander Larsson <alexl@redhat.com>
5613 * gio/gappinfo.[ch]:
5614 Add g_app_info_get_id and g_app_info_get_executable.
5615 Make all getters non-reffing
5616 Make g_app_info_launch take GFile arguments.
5617 Add must_support_uris argument to g_app_info_get_default_for_type.
5619 * gio/gwin32appinfo.c:
5620 Update to GAppInfo api changes
5622 * gio/gdesktopappinfo.c:
5623 Update to GAppInfo api changes
5624 Implement supports_xdg_startup_notify
5626 * gio/gfileicon.c (g_file_icon_get_file):
5627 Make getter non-reffing.
5632 2007-09-27 Alexander Larsson <alexl@redhat.com>
5634 * gio/gfileinfo.[ch]:
5635 Add g_file_size_format_for_display helper
5637 2007-09-27 Alexander Larsson <alexl@redhat.com>
5639 * gio/glocalfileinfo.c:
5640 Set UNIX_GID from gid, not from uid
5642 2007-09-27 Alexander Larsson <alexl@redhat.com>
5645 Add g_file_set_attributes_async
5647 2007-09-27 Alexander Larsson <alexl@redhat.com>
5649 * gio/glocalfile.c (g_local_file_set_display_name):
5650 Fix set_display_name to actually rename to the right place.
5651 Use lstat to look for existing files so we don't overwrite
5654 2007-09-26 Alexander Larsson <alexl@redhat.com>
5657 Add g_file_set_display_name_async()
5659 2007-09-26 Alexander Larsson <alexl@redhat.com>
5662 Add load_partial_contents async calls
5665 Make internal function static
5667 2007-09-26 Alexander Larsson <alexl@redhat.com>
5669 * gio/glocalfileinfo.c:
5670 Correctly detect broken symlinks
5672 2007-09-26 Alexander Larsson <alexl@redhat.com>
5674 * gio/gcancellable.c (g_cancellable_cancel):
5675 Allow cancel on NULL cancellable
5677 2007-09-25 Alexander Larsson <alexl@redhat.com>
5679 * gio/gsimpleasyncresult.c:
5680 Don't allocate g_error manually.
5681 Fixes g_slice/g_new mixup crash
5683 2007-09-25 Alexander Larsson <alexl@redhat.com>
5685 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5686 Actually set active_backend.
5687 This means the monitor will be cancelled correctly.
5689 2007-09-25 Alexander Larsson <alexl@redhat.com>
5691 * gio/gdirectorymonitor.c:
5692 Set timeout to NULL when destroying
5694 2007-09-25 Alexander Larsson <alexl@redhat.com>
5697 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5698 that is a better description of the error.
5700 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5702 * gio/gvfs.c: (g_vfs_get_local):
5703 Make the local vfs variable static. The same instance should
5706 2007-09-24 Alexander Larsson <alexl@redhat.com>
5708 * gio/glocalfileinfo.c:
5709 Pass in actual length read into sniffer, not the length
5712 2007-09-21 Alexander Larsson <alexl@redhat.com>
5714 * gio/gfileenumerator.c:
5717 * gio/gfileinputstream.c:
5718 * gio/gfileoutputstream.c:
5719 * gio/ginputstream.c:
5720 * gio/goutputstream.c:
5721 Don't crash if async callbacks are NULL
5723 2007-09-20 Alexander Larsson <alexl@redhat.com>
5726 Add async enumerate_children method and default
5729 2007-09-20 Alexander Larsson <alexl@redhat.com>
5732 Add g_file_contains_file & g_file_get_relative_path, since they
5733 were needed for nautilus.
5734 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5739 Implement new methods
5741 2007-09-17 Alexander Larsson <alexl@redhat.com>
5744 * gio/gfileinputstream.[ch]:
5745 * gio/gfileoutputstream.[ch]:
5747 * gio/glocalfileenumerator.[ch]:
5748 * gio/glocalfileinfo.[ch]:
5749 * gio/glocalfileinputstream.c:
5750 * gio/glocalfileoutputstream.c:
5751 * gio/gpollfilemonitor.c:
5752 * programs/gio-copy.c:
5753 * programs/gio-info.c:
5754 * programs/gio-move.c:
5755 Rename get_file_info to query_info() to make it clearer
5756 that these are not simple getters, but do i/o.
5758 2007-09-17 Alexander Larsson <alexl@redhat.com>
5760 * gio/gdatainputstream.[ch]:
5761 * gio/test-streams.c:
5762 Use _read_XXX instead of _get_XXX for the i/o calls
5765 2007-09-17 Alexander Larsson <alexl@redhat.com>
5768 Added needed stuff to TODO comment
5770 2007-09-17 Alexander Larsson <alexl@redhat.com>
5772 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5773 Don't error out removing the backup copy if it doesn't
5776 2007-09-14 Alexander Larsson <alexl@redhat.com>
5778 * programs/Makefile.am:
5779 * programs/gvfs-*.c:
5781 Renamed apps from gvfs-xxx to gio-xxx.
5783 2007-09-14 Alexander Larsson <alexl@redhat.com>
5786 * gio/gfileoutputstream.[ch]:
5787 * gio/glocalfileoutputstream.c:
5788 * programs/gvfs-save.c:
5789 g_file_output_stream_get_etag doesn't do i/o, so remove
5790 cancellation and error.
5792 2007-09-14 Alexander Larsson <alexl@redhat.com>
5795 Add new_etag output to replace_contents functions
5797 2007-09-14 Alexander Larsson <alexl@redhat.com>
5799 * gio/gfileoutputstream.[ch]:
5800 Add async get_file_info and default implementation
5802 2007-09-14 Alexander Larsson <alexl@redhat.com>
5804 * gio/gfileinputstream.c:
5805 Implement fallback wrapper for async get_file_info
5807 2007-09-14 Alexander Larsson <alexl@redhat.com>
5810 Add etag out argument to load_contents
5815 2007-09-14 Alexander Larsson <alexl@redhat.com>
5817 * gio/gcontenttype.c (looks_like_text):
5818 Whitespace like tab, cr and lf do not make the
5821 2007-09-14 Alexander Larsson <alexl@redhat.com>
5823 * gio/gfileinputstream.[ch]:
5824 Add async get_file_info.
5826 2007-09-13 Alexander Larsson <alexl@redhat.com>
5828 * gio/goutputstream.c (g_output_stream_write_all):
5829 Allow NULL for bytes_written
5831 2007-09-13 Alexander Larsson <alexl@redhat.com>
5833 * gio/gmemoryinputstream.[ch]:
5834 Add accessors for data
5836 2007-09-13 Alexander Larsson <alexl@redhat.com>
5838 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5839 Don't crash if length is NULL