1 2009-02-27 David Zeuthen <davidz@redhat.com>
3 Bug 573462 – GEmblemedIcon leak
5 * gemblemedicon.c (g_emblemed_icon_finalize):
8 2009-02-27 Alexander Larsson <alexl@redhat.com>
12 Split out the extension point registration code to its
16 Ensure extension points are registered before extending it.
17 It might not have happened yet if g_vfs_get_local() is called.
19 2009-02-26 Alexander Larsson <alexl@redhat.com>
21 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
22 * gmemoryoutputstream.c:
23 Track actual valid size, even if we later seek back.
25 * tests/memory-output-stream.c:
28 2009-02-26 Alexander Larsson <alexl@redhat.com>
30 Bug 543183 – Clarify docs for g_file_has_prefix
32 * gfile.c: (g_file_has_prefix):
33 Clarify how the prefix matching works.
35 2009-02-26 Alexander Larsson <alexl@redhat.com>
38 Support desktop file key X-GIO-NoFuse which disables
39 use of fuse pathnames for %u and %U arguments.
41 2009-02-25 Alexander Larsson <alexl@redhat.com>
43 Bug 570073 – Add support for reading filesystems on Interix
45 * gunixmounts.c (_g_get_unix_mounts):
46 Support Interix. Patch from Fabian Groffen
48 2009-02-25 Paolo Borelli <pborelli@katamail.com>
50 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
52 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
54 2009-02-23 Alexander Larsson <alexl@redhat.com>
57 Remove accidentally commited spew
59 2009-02-20 Alexander Larsson <alexl@redhat.com>
62 (g_content_type_guess):
63 Don't ever sniff desktop files when the filename is known.
64 In other words, only allow desktop files with the .desktop extension
65 and when the filename isn't known.
66 This is a security precaution since desktop files can execute
67 arbitrary code when launched and we don't want to allow them to
68 try and hide as another type. There is no legit reason to not
69 have the .desktop extension anyway.
71 2009-02-19 Alexander Larsson <alexl@redhat.com>
73 Bug 549298 – impossible to copy files with p (pipe) flag
77 Error out if the source file is a special file
79 2009-02-18 Alexander Larsson <alexl@redhat.com>
81 Bug 560564 – Replacing a symlink with its linked file truncates the original file
84 Add G_FILE_CREATE_REPLACE_DESTINATION
86 * glocalfileoutputstream.c:
87 (handle_overwrite_open):
88 (_g_local_file_output_stream_replace):
89 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
93 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
96 2009-02-17 Ryan Lortie <desrt@desrt.ca>
98 * gfileinfo.c: unref the destination's attribute matcher before
101 2009-02-17 Matthias Clasen <mclasen@redhat.com>
103 * === Released 2.19.8 ===
105 2009-02-17 Matthias Clasen <mclasen@redhat.com>
107 * gio.symbols: Add missing exports for new API
109 * gdatainputstream.c: Add missing Since: tags.
111 2009-02-16 Matthias Clasen <mclasen@redhat.com>
113 * === Released 2.19.7 ===
115 2009-02-16 Matthias Clasen <mclasen@redhat.com>
117 * gmountoperation.[hc]: Add an "aborted" signal to abort a
118 mount operation from the backend side.
120 * gvolume.h: Add docs regarding the "aborted" signal.
122 2009-02-16 Ryan Lortie <desrt@desrt.ca>
124 Bug 505042 – add file attribute for actually used file size in bytes
126 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
127 "standard::allocated-size"
128 * gfileattribute.c: document
129 * glocalfileinfo.c: set the allocated size from st_blocks * 512
131 2009-02-16 Ryan Lortie <desrt@desrt.ca>
133 Bug 571598 – GAsyncResult with NULL gobject
135 * gsimpleasyncresult.c: remove various assertions and add some checks
136 to allow for a NULL source_object in GSimpleAsyncResult.
138 2009-02-11 Matthias Clasen <mclasen@redhat.com>
140 Bug 541225 – Can't compile gio on AIX : duplicate case value in
143 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
144 Reported by Nicolas Joseph
146 2009-02-04 Alexander Larsson <alexl@redhat.com>
148 Bug 566747 - URIs opened with firefox %u load as local files
150 * gdummyfile.c (g_dummy_file_get_path):
151 Dummy files are never used for local paths, so always return NULL
154 2009-02-02 Matthias Clasen <mclasen@redhat.com>
156 * === Released 2.19.6 ===
158 2009-01-31 Paolo Borelli <pborelli@katamail.com>
160 * glocalfileinfo.c: plug a tiny mem leak.
162 2009-01-29 Ryan Lortie <desrt@desrt.ca>
164 * gioerror.c (g_io_error_from_errno): handle all possible cases of
165 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
167 2009-01-28 Ryan Lortie <desrt@desrt.ca>
169 Bug 568575 – _async functions for GDataInputStream
171 * gdatainputstream.h:
172 * gdatainputstream.c: add _async versions of read_line and read_until.
174 * ../docs/reference/gio/gio-sections.txt: add new functions
175 * tests/sleepy-stream.c: new test case for async read line
176 * tests/Makefile.am: add new test
178 2009-01-22 Ryan Lortie <desrt@desrt.ca>
180 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
182 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
183 g_buffered_input_stream_fill): check for count < -1 instead of count <
184 0 and copy modified check to non-async version for consistency.
185 document the "count = -1" API.
187 2009-01-22 Ryan Lortie <desrt@desrt.ca>
189 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
191 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
192 after we have successfully read data from the base stream
194 2009-01-20 Ryan Lortie <desrt@desrt.ca>
196 Bug 568394 – dropping the last reference to a stream filter closes the
199 * gfilterinputstream.h:
200 * gfilterinputstream.c: add "close-base-stream" property and only
201 close the base stream if it is true. issue async close callbacks from
202 correct source object.
203 * gfilteroutputstream.h:
204 * gfilteroutputstream.c: add a "close-base-stream" property and only
205 close the base stream if it is true. issue async close callbacks from
206 correct source object.
207 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
208 before closing the base stream. fix invalid source tag comparison in
209 close_async (was comparing to flush_async).
210 * ../docs/reference/gio/gio-sections.txt:
212 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
213 * tests/filter-streams.c: new test cases
214 * tests/Makefile.am: add new test
215 * tests/.gitignore: add new test
217 2009-01-19 Matthias Clasen <mclasen@redhat.com>
219 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
221 2009-01-19 Matthias Clasen <mclasen@redhat.com>
223 * === Released 2.19.5 ===
225 2009-01-19 Matthias Clasen <mclasen@redhat.com>
227 * gappinfo.h: Document get_commandline vfunc
229 2009-01-19 Matthias Clasen <mclasen@redhat.com>
231 * gunixmounts.c: Some stylistic fixes.
233 2009-01-08 Matthias Clasen <mclasen@redhat.com>
235 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
236 functions in non-UTF8 locale
238 * xdgmime/xdgmimecache.c:
239 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
241 2009-01-08 Matthias Clasen <mclasen@redhat.com>
243 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
245 2009-01-07 Matthias Clasen <mclasen@redhat.com>
247 Bug 566770 – error code 0 for Too many open files is useless
249 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
250 Requested by Olivier Sessink.
252 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
254 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
255 G_IO_ERROR_TOO_MANY_OPEN_FILES.
257 2009-01-05 Matthias Clasen <mclasen@redhat.com>
259 * === Released 2.19.4 ===
261 2009-01-05 Dan Winship <danw@gnome.org>
263 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
264 "const char **" to avoid a warning.
266 * gemblem.c (g_emblem_from_tokens):
267 * gemblemedicon.c (g_emblemed_icon_from_tokens):
268 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
271 2009-01-05 Matthias Clasen <mclasen@redhat.com>
273 Bug 566064 – Add NOATIME flag to query_info_flags
275 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
276 sniffing for mime types. Based on a patch by A. Walton
278 2009-01-05 Ryan Lortie <desrt@desrt.ca>
280 * tests/.gitignore: improve
281 * tests/Makefile.am: add new simple-async-result test
282 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
284 2009-01-05 Ryan Lortie <desrt@desrt.ca>
287 * ../docs/reference/gio/gio-sections.txt:
288 * gsimpleasyncresult.h:
289 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
290 Implementation by Dan Winship. Closes #566170.
292 2008-12-31 Matthias Clasen <mclasen@redhat.com>
296 * gunixinputstream.c:
297 * gunixoutputstream.c: Add a note about being UNIX-specific.
299 2008-12-15 Matthias Clasen <mclasen@redhat.com>
301 * === Released 2.19.3 ===
303 2008-12-12 Dan Winship <danw@gnome.org>
305 * pltcheck.sh: make this work on x86_64
307 2008-12-12 Ryan Lortie <desrt@desrt.ca>
309 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
312 2008-12-12 Ryan Lortie <desrt@desrt.ca>
314 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
315 multiple mount entries match the requested path
317 2008-12-10 Alexander Larsson <alexl@redhat.com>
319 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
320 g_simple_async_result_run_in_thread
322 * gsimpleasyncresult.c:
323 Make g_simple_async_result_run_in_thread check cancellation before
324 calling out to the user in the callback. This means we guarantee
325 reporting cancels of async operations from the main threads, which
326 is probably more in line with what users expect.
328 Note that there are still no such guarantees for cancelling sync
329 operations or cancelling async operation from outside the main
330 thread. Furthermore, the exact behaviour of async implementations
331 not using run_in_thread may differ.
333 2008-12-09 Alexander Larsson <alexl@redhat.com>
335 Bug 515777 - incorrect date&time on copy
338 (g_local_file_class_init):
339 Copy mtime by default
342 Change docs about G_FILE_COPY_ALL_METADATA to not mention
345 2008-12-08 Matthias Clasen <mclasen@redhat.com>
347 Bug 558298 – Hide ecryptfs mounts
349 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
350 so that the desktop does not show both the mount and the target
351 directory. Patch by Martin Pitt
353 2008-12-08 Matthias Clasen <mclasen@redhat.com>
355 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
359 * gunixinputstream.[hc]:
360 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
361 including getters and setters. Patch by Maciej Piechotka
363 2008-12-07 Matthias Clasen <mclasen@redhat.com>
365 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
367 * tests/live-g-file.c: Support compilers that don't understand
368 ISO C varargs macros. Patch by Eric Lamarque
370 2008-12-07 Matthias Clasen <mclasen@redhat.com>
372 Bug 526320 – should not list mounts that the user doesn't have
375 gunixmounts.c: Use g_access() to check accessibility of local devices.
378 2008-12-01 Matthias Clasen <mclasen@redhat.com>
380 * === Released 2.19.2 ===
382 2008-12-01 Matthias Clasen <mclasen@redhat.com>
384 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
385 behaviour change, and update the docs instead, to avoid breaking
388 2008-12-01 Matthias Clasen <mclasen@redhat.com>
390 * === Released 2.19.1 ===
392 2008-12-01 Alexander Larsson <alexl@redhat.com>
396 * gunionvolumemonitor.c:
398 Add and document g_mount_is_shadowed plus calls
399 to set/unset a mount as shadowed
401 2008-11-28 Matthias Clasen <mclasen@redhat.com>
403 * gio/tests/g-icon.c: Comment out two failing tests
405 2008-11-28 Matthias Clasen <mclasen@redhat.com>
407 Bug 555486 – No way to recover command line from GAppInfo
410 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
411 by Hans Petter Jansson.
413 * gdesktopappinfo.c: And implement it here.
415 2008-11-28 Christian Dywan <christian@imendio.com>
417 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
419 2008-11-28 Matthias Clasen <mclasen@redhat.com>
421 Bug 559633 – gtk_image_new_from_gicon does not always work for
424 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
425 extensions on icon names. Proposed by Axel von Bertoldi.
427 2008-11-28 Matthias Clasen <mclasen@redhat.com>
429 Bug 548163 – Nautilus displays wrong error message for too long file
432 * glocalfile.c (g_local_file_set_display_name): Correctly set
433 error conditions if the new name is e.g. too long. Reported
434 by Leonardo Ferreira Fontenelle.
436 2008-11-28 Matthias Clasen <mclasen@redhat.com>
438 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
441 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
442 documented and include the line end in the returned string.
443 Pointed out by Paul Pogonyshev.
445 * tests/data-input-stream.c: Fix the read_line test to test the
446 documented behaviour.
448 2008-11-28 Matthias Clasen <mclasen@redhat.com>
450 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
451 files that have been created by g_app_info_create_from_commandline.
453 2008-11-28 Matthias Clasen <mclasen@redhat.com>
455 Bug 541715 – win32 : patch for warnings and signature problems in
458 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
461 2008-11-28 Matthias Clasen <mclasen@redhat.com>
463 Bug 562393 – g_buffered_input_stream_read_byte broken if data
466 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
467 handling of buffered content. Patch by Philip Withnall
469 * tests/buffered-input-stream.c: Add a testcase for this bug.
470 * tests/Makefile.am: And build it
472 2008-11-28 Matthias Clasen <mclasen@redhat.com>
474 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
477 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
478 '/' away. Spotted by Dan Williams.
480 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
482 Bug 561375 – Leaks mountpoint description
484 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
487 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
489 Bug 561352 – Leak of icon description
491 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
494 2008-11-14 Matthias Clasen <mclasen@redhat.com>
496 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
498 2008-11-12 Tor Lillqvist <tml@novell.com>
500 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
502 * win32/gwinhttpvfs.h: Move the set of function pointers to
503 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
504 pointer to that in the GWinHttpVfsClass.
506 * win32/gwinhttpvfs.c: Move the lookup of functions from
507 winhttp.dll into a function of its own, that stores the pointers
508 in a separate GWinHttpDllFuncs variable. Add two bookeeping
509 booleans lookup_done and funcs_found.
511 Don't call g_io_extension_point_implement() to register the
512 winhttp extension unless winhttp.dll has been successfully loaded
513 and the required functions found in it.
515 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
516 winhttp.dll correspondingly.
518 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
520 reviewed by: Alexander Larsson <alexl@redhat.com>
522 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
523 clearer about the behavior when there's no more content to read.
525 2008-10-27 Federico Mena Quintero <federico@novell.com>
527 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
529 2008-10-27 Tor Lillqvist <tml@novell.com>
531 Bug 557592 - Missing include in gwinhttpfile.c
533 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
536 2008-10-24 Matthias Clasen <mclasen@redhat.com>
538 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
540 * fam/fam-helper.c: Fix a memory leak and formatting issues.
541 Reported by Daniel Marjamäki
543 2008-10-23 Matthias Clasen <mclasen@redhat.com>
545 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
547 2008-10-23 Alexander Larsson <alexl@redhat.com>
549 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
552 (_g_local_file_info_get):
553 Don't return the fallback icon (text-x-generic) for all files.
554 This is causing problems with theme icon lookup and custom mime
555 icons, as the generic fallback overrides custom mime icons in
558 This is a slight change as applications might not get an icon wher
559 they previously did. But there is no guarantee to get on neither before
560 or after this change, so it should not break applications. Changes
561 to nautilus and gtk+ will be done to manually use the generic fallback
562 icon if no icon is found, but this is only required for rare cases.
564 2008-10-21 Alexander Larsson <alexl@redhat.com>
567 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
569 2008-10-21 Alexander Larsson <alexl@redhat.com>
571 Bug 555740 - gicon serialization
572 Based on patch from David Zeuthen
576 Add g_icon_to_string() and g_icon_new_for_string().
582 Implement icon serialization for built-in icon types
586 Added GIcon serialization test
588 2008-10-16 Matthias Clasen <mclasen@redhat.com>
590 * === Released 2.19.0 ===
592 2008-10-16 Matthias Clasen <mclasen@redhat.com>
594 Bug 556422 – g_file_enumerator_next_file: unclear whether return
595 value needs to be freed
597 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
598 the return value docs. Pointed out by Armin Burgmeier
600 2008-10-14 Matthias Clasen <mclasen@redhat.com>
602 Bug 556334 – Warning when building without selinux support
604 * glocalfileinfo.c: Avoid compiler warnings when selinux is
605 disabled. Patch by Pascal Terjan
607 2008-10-14 Matthias Clasen <mclasen@redhat.com>
609 Bug 556335 – make check fails in abicheck.sh
611 * gio.symbols: Add g_file_attribute_info_list_get_type.
612 Pointed out by Pascal Terjan.
614 2008-10-13 Alexander Larsson <alexl@redhat.com>
617 When adding an application as handling a mime type (but
618 not as the default), copy the full list of desktop ids handling
619 that type in before adding the new one on the end of the list.
620 This means we're not accidentally changing the default by overriding
621 the info from the later directories in the search path.
623 Also, fixes small leak of removed_entries.
625 2008-10-12 David Zeuthen <davidz@redhat.com>
628 * gunionvolumemonitor.c:
630 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
632 2008-10-10 Alexander Larsson <alexl@redhat.com>
634 * gfileattribute.c (escape_byte_string):
635 Upper half of byte is >> 4, not >> 8.
636 Found by Kjartan Maraas via sparse
638 2008-10-10 Matthias Clasen <mclasen@redhat.com>
640 Bug 555711 – Wrong fallback order of mimetype icons
642 * gcontenttype.c: Don't prefer generic icons over
643 default mimetype icons.
645 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
646 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
648 Patch by Krysztof Kosiński
650 2008-10-10 Matthias Clasen <mclasen@redhat.com>
652 Bug 555121 – Improved build-time handling of gio module-dir
654 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
655 * Makefile.am: Create the module dir.
657 2008-10-10 Matthias Clasen <mclasen@redhat.com>
659 * gio/glocalfileinfo.c:
660 * gio/tests/live-g-file.c:
661 * gio/gsimpleasyncresult.c: Fix gcc warnings.
663 2008-10-09 Alexander Larsson <alexl@redhat.com>
665 * gunixinputstream.c (g_unix_input_stream_read):
666 Actually return -1 in case of cancelled, not old res value.
668 2008-10-06 Colin Walters <walters@verbum.org>
670 Bug 554745 - GFileAttributeInfoList should be boxed
672 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
673 for convenience of bindings.
674 * gio/gfileattribute.h: Prototype it.
676 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
678 Bug 554970 – segfault when update-desktop-database is not available
681 * gdesktopappinfo.c (run_update_command): Have the error set before
684 2008-10-01 David Zeuthen <davidz@redhat.com>
686 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
687 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
688 instead of the gio URI (such as sftp://foo/file.avi) when using
689 g_app_info_launch() and friends. With a sufficiently recent gvfs,
690 apps using gio+gvfs will map the FUSE file:// URI back to the gio
691 URI (and thus bypass the fuse daemon) thanks the patch from bug
692 #530654. Since Nautilus is an user of g_app_info_launch() it
693 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
694 when launced via the file manager. Win. Fixes bug #528670.
696 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
697 mapping to the description of GAppInfo.
699 2008-09-30 Tor Lillqvist <tml@novell.com>
701 * tests/Makefile.am: Build desktop-app-info only on Unix.
703 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
704 g_critical(). Pass a large enough result buffer to
705 GetVolumePathNameW(). Just use MAX_PATH.
707 2008-09-29 David Zeuthen <davidz@redhat.com>
709 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
711 2008-09-26 Dan Winship <danw@gnome.org>
713 * tests/data-input-stream.c:
714 * tests/data-output-stream.c:
715 * tests/live-g-file.c:
716 * tests/memory-input-stream.c:
717 * tests/memory-output-stream.c: Use g_assert_error() and
720 2008-09-26 Matthias Clasen <mclasen@redhat.com>
722 Bug 545350 – GAppInfo deletion
723 Bug 545351 – Reset associations for content type
726 * gappinfo.[hc]: New functions g_app_info_can_delete,
727 g_app_info_delete and g_app_info_reset_type_associations.
730 * gwin32appinfo.c: Implementations of these.
733 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
735 2008-09-26 Dan Winship <danw@gnome.org>
737 Bug 505361 – gunixinputstream.c assumes poll() available
738 Bug 509446 – portable blocking gio cancellation
740 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
741 GPollFD for a cancellable (which is slightly more complicated on
744 * gunixinputstream.c (g_unix_input_stream_read):
745 * gunixoutputstream.c (g_unix_output_stream_write): Use
746 g_cancellable_make_pollfd() and g_poll() rather than using poll()
749 * tests/unix-streams.c: test of GUnixInputStream,
750 GUnixOutputStream, and GCancellable.
752 2008-09-26 Dan Winship <danw@gnome.org>
754 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
755 cast to stop a gcc warning
757 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
760 2008-09-25 Dan Winship <danw@gnome.org>
762 Bug 553426 - cancellable clarifications
764 * gcancellable.c (g_cancellable_class_init): Add a note to the
765 "cancelled" signal docs warning about thread-safety issues
766 (g_cancellable_cancel): Note that cancelling an asynchronous
767 operation takes effect asynchronously, not immediately.
769 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
771 * gioenums.h: Add new GFileCopyFlag, to leave target file with
772 default perms, instead of setting the source file perms, in a copy
775 * gfile.c (g_file_copy_attributes)
776 (build_attribute_list_for_copy)
777 (should_copy): Not copy "unix::mode" attribute if we have received
778 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
780 2008-09-20 Matthias Clasen <mclasen@redhat.com>
782 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
784 2008-09-17 Matthias Clasen <mclasen@redhat.com>
786 * === Released 2.18.1 ===
788 2008-09-16 Michael Natterer <mitch@imendio.com>
790 * gcontenttype.c (g_content_type_guess): can't assign the return
791 value of g_strdupv() to an array. Fill the array manually with
792 const strings instead (it is never freed anyway). Fixes the
793 build. Also fixed indentation.
795 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
797 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
798 Fix trivial typo to unbreak the build (there was a colon
799 instead of a semicolon at the end of a statement).
801 2008-09-15 Matthias Clasen <mclasen@redhat.com>
803 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
806 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
809 2008-09-15 Matthias Clasen <mclasen@redhat.com>
811 Bug 551681 – g_content_type_guess() too naive with filenames
813 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
814 at the end of the filename, and declare it a directory.
815 Patch by Bastien Nocera
817 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
819 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
822 * gdesktopappinfo.c: add a note in the docs clarifying what the
823 "filename" parameter really is.
825 2008-09-12 Tor Lillqvist <tml@novell.com>
827 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
828 FormatMessage() etc here. Call g_win32_error_message() instead
829 which already does all that. Besides, the code was broken as it
830 called the default "A" version of FormatMessage() but still
831 thought it produced a wide string.
833 2008-09-12 Michael Natterer <mitch@imendio.com>
835 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
836 in the documentation.
838 2008-09-08 Christian Neumair <cneumair@gnome.org>
840 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
841 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
842 Use non-blocking pipe for mount helper I/O. Fixes #550647.
844 2008-09-06 Matthias Clasen <mclasen@redhat.com>
846 Bug 551149 – xdgmime mem leak
848 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
849 a memory leak. Patch by Christian Persch
851 2008-09-04 Tor Lillqvist <tml@novell.com>
853 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
856 2008-09-02 Matthias Clasen <mclasen@redhat.com>
858 * === Released 2.18.0 ===
860 2008-09-02 Michael Natterer <mitch@imendio.com>
862 * *.h: big header formatting cleanup: indentation, vtable
863 formatting, consistent spacing in (* vfunc), trailing whitespace
864 removal. Formatting should be pretty consistent in all GIO headers
867 2008-09-02 Matthias Clasen <mclasen@redhat.com>
869 * gmount.h: Document guess_content_type sync vfunc.
871 2008-09-02 Michael Natterer <mitch@imendio.com>
873 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
874 fix parent_class member to be GFilterOutputStreamClass (not
875 GOutputStreamClass). Drop three pointers of padding, which is
876 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
877 so the class struct size stays the same.
879 2008-09-02 Matthias Clasen <mclasen@redhat.com>
881 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
883 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
884 nonexisting return values. Pointed out by Cosimo Cecchi.
886 2008-08-23 Tor Lillqvist <tml@novell.com>
888 Bug 548988 - g_file_replace fails on Windows when the target file
891 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
892 Windows, close the file before potentially renaming it (in case we
893 have been writing to a file with a temporary name).
895 (g_local_file_output_stream_close, handle_overwrite_open): Use
896 GLocalFileStat instead of plain struct stat, for passing to
897 _g_local_file_info_create_etag(). Thus also use _fstati64()
898 instead of plain fstat() on Windows.
900 2008-08-18 Matthias Clasen <mclasen@redhat.com>
902 * === Released 2.17.7 ===
904 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
906 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
909 2008-08-13 Tor Lillqvist <tml@novell.com>
911 * win32/gwinhttpvfs.c
912 * win32/gwinhttpvfs.h
913 * win32/gwinhttpfile.c
914 * win32/gwinhttpfileinputstream.c
915 * win32/gwinhttpfileoutputstream.c: Refactor some common code
916 snippets into helper functions. Check HTTP response status
917 codes. Implement g_winhttp_file_query_info(), looking at
918 Content-Length, Content-Type and Last-Modified.
920 * win32/winhttp.h: Add some symbolic constants that are not
921 publicly documented. Just a handful, so it should be OK to use
922 information from the Windows SDK's headers.
924 2008-08-13 Tor Lillqvist <tml@novell.com>
926 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
929 * win32/gwin32directorymonitor.c
930 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
932 2008-08-13 Matthias Clasen <mclasen@redhat.com>
935 * goutputstream.c: Add intro docs.
937 2008-08-13 Tor Lillqvist <tml@novell.com>
939 * win32/gwinhttpfileoutputstream.c
940 (g_winhttp_file_output_stream_write): Don't write the
941 Content-Length header ourselves, WinHttpSendRequest() takes care
942 of that when the dwTotalLength parameter is non-zero. Increment
943 offset by the number of actual bytes sent, although I wonder if
944 such a scenario is possible where less than requested would be
945 sent and accepted by the server without errors.
947 2008-08-13 Tor Lillqvist <tml@novell.com>
949 * win32/gwinhttpvfs.c
950 * win32/gwinhttpvfs.h
951 * win32/gwinhttpfile.c
952 * win32/gwinhttpfile.h
953 * win32/gwinhttpfileinputstream.c
954 * win32/gwinhttpfileinputstream.h
955 * win32/gwinhttpfileoutputstream.c
956 * win32/gwinhttpfileoutputstream.h: New files implementing
957 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
958 Windows. The implementation uses the WinHttp API. Both reading and
959 writing are supported, i.e. GET and PUT requests. When writing,
960 each write call is done using a separate PUT request with a
961 Content-Range header. Requests for file URIs and plain pathnames
962 are forwarded to GLocalVfs.
964 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
965 WINE. Used as there is no <winhttp.h> bundled with mingw, and
966 requiring people to download the Windows SDK just for this one
967 header is not reasonable.
969 * win32/Makefile.am: Add above files.
971 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
972 the plumbing for the above.
974 2008-08-11 Sven Neumann <sven@gimp.org>
976 * gfilenamecompleter.c
977 * glocaldirectorymonitor.c
979 * gunionvolumemonitor.c
983 * gunixvolumemonitor.c
986 * gwin32volumemonitor.c: use canonical signal names.
988 2008-08-11 Tor Lillqvist <tml@novell.com>
990 * Makefile.am: Put a list of the platform-dependent .la files in
991 the subdirectories in the platform_deps Make variable, and make
992 libgio-2.0.la depend on that, so that it gets relinked if one of
993 the dependent libraries has changed.
995 2008-08-11 Tor Lillqvist <tml@novell.com>
997 * Makefile.am (platform_libadd): Remove -lwininet which had been
998 added by mistake. We will probably eventually be using WinHTTP,
999 not the older WinInet anyway. (Actually I am working on it.)
1001 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1003 Bug 547080 – g_file_copy leaks expected errors
1005 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1006 before trying the next fallback routine.
1008 2008-08-09 Loïc Minier <lool@dooz.org>
1010 Bug 535124 – umask 002 not being applied for new directories, new
1011 files get the correct umask
1013 * gfile.c (g_file_make_directory)
1014 (g_file_make_directory_with_parents): Document ownership and
1015 permissions of newly created directories as being the default
1016 ones of the process.
1018 2008-08-08 Loïc Minier <lool@dooz.org>
1020 Bug 535124 – umask 002 not being applied for new directories, new
1021 files get the correct umask
1023 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1026 2008-08-08 Tor Lillqvist <tml@novell.com>
1028 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1030 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1031 code that didn't actually do anything inside #if 0, and add a
1032 comment wondering what the code was supposed to do. This also gets
1033 rid of a leftover debugging printout.
1035 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1037 * gfileicon.c (g_file_icon_get_property)
1038 (g_file_icon_set_property): New functions.
1039 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1041 (g_file_icon_new): Use the property (bug #546132).
1043 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1045 * gthemedicon.c (g_themed_icon_get_property): Also handle
1046 `PROP_USE_DEFAULT_FALLBACKS'.
1047 (g_themed_icon_class_init): Make
1048 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1050 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1052 Bug 546371 – Improve docs re g_file_monitor
1054 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1056 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1058 * === Released 2.17.6 ===
1060 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1062 * === Released 2.17.5 ===
1064 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1066 Bug 546017 – Don't copy attributes when copying a symlink
1068 * gfile.c (g_file_copy_attributes): Specify
1069 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1070 g_file_set_attributes_from_info. Patch by Christian Kellner
1072 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1074 * gemblemedicon.[hc]:
1076 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1077 a bit more extensible. Work by Clemens Buss.
1079 * gioenums.h: Add GEmblemOrigin.
1082 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1084 Bug 546079 – leak in xdgmime
1086 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1088 2008-08-03 Tor Lillqvist <tml@novell.com>
1090 * win32/gwin32directorymonitor.h
1091 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1094 2008-08-03 Tor Lillqvist <tml@novell.com>
1096 * win32/gwin32directorymonitor.c
1097 (g_win32_directory_monitor_callback): Make prototype match
1098 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1099 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1102 (g_win32_directory_monitor_constructor):
1103 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1104 names in the GLib API on Windows, so convert to UTF-16 and open
1107 2008-08-03 Tor Lillqvist <tml@novell.com>
1109 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1110 user's folder under Windows
1112 * win32/gwin32directorymonitor.c
1113 (g_win32_directory_monitor_constructor): Ignore error from
1114 CreateFile() when opening directory. Instead of asserting, just
1115 store INVALID_HANDLE_VALUE then in
1116 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1117 ReadDirectoryChangesW().
1118 (g_win32_directory_monitor_cancel): Don't attempt to close
1119 directory handle if it is INVALID_HANDLE_VALUE.
1121 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1123 * gdesktopappinfo.c: Remove debug spew
1125 2008-08-01 Hans Breuer <hans@breuer.org>
1127 * makefile.msc : add gemblembedicon
1129 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1131 Bug 545457 – gdmsetup crashed with SIGSEGV in
1132 g_unix_mount_guess_should_display()
1134 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1135 crash if no mount is found.
1137 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1139 Bug 545203 – gfile.c: argument is different type.
1141 * gfile.c (open_read_async_thread): Pass a GError **
1142 to g_file_set_error_literal.
1143 Reported by Kazuki Iwamoto
1145 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1147 Bug 545157 – wrong/no list of "open with" applications for .cc and
1150 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1151 Collect all ancestors, not just direct parents. Pointed
1152 out by Bastien Nocera
1154 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1156 * Makefile.am: Install gemblemedicon.h
1158 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1160 * gemblemedicon.[hc]: Add a GIcon implementation that can
1161 add an emblem to another icon.
1168 * gfileicon.c: Small documentation additions.
1170 2008-07-28 Tor Lillqvist <tml@novell.com>
1172 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1175 2008-07-27 Tor Lillqvist <tml@novell.com>
1177 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1179 2008-07-24 David Zeuthen <davidz@redhat.com>
1183 Also export a g_mount_guess_content_type_sync() function.
1185 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1187 529694 – SELinux context setting support
1189 * gfileinfo.c: Support setting selinux attributes.
1190 Patch by Tomas Bzatek
1192 2008-07-22 Priit Laes <plaes@plaes.org>
1194 Bug 544140 - fam-helper 64-bit issue?
1196 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1198 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1200 * === Released 2.17.4 ===
1202 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1204 * gvolumemonitor.[hc]:
1205 * gmountoperation.c:
1209 * gmount.c: Documentation fixes
1211 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1213 543504 – crash in Epiphany Web Browser: Opening local file
1217 * gdesktopappinfo.c:
1224 * gvolume.c: Register types thread-safely.
1225 Patch by Christian Persch
1227 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1229 * gcontenttype.c: Remove debug spew
1231 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1233 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1236 * fen/fen-kernel.c: Remove a warning that was causing
1237 crashes. Reported by Lin Ma.
1239 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1241 Bug 543040 – async reading on dummy file will crash on
1244 * gfile.c (open_read_async_thread): Cope with read_fn being
1245 NULL. Reported by Lin Ma.
1247 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1250 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1252 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1255 * gdesktopappinfo.h:
1256 * giomodule.c: Rename a chapter id to avoid filename conflict.
1258 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1260 Bug 540616 – mem leak in filechooser button
1262 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1263 the mount entry. Reported by Chrisitan Persch
1265 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1267 * gfile.c: Small documentation fixes.
1269 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1271 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1273 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1278 * gmount.c: Documentation improvements.
1280 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1283 * gmount.[hc]: Add g_mount_guess_content_type().
1285 2008-07-06 David Zeuthen <davidz@redhat.com>
1288 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1289 is needed for easily handling adoption of foreign volumes by
1290 out-of-process volume monitors (#541793)
1292 2008-07-06 David Zeuthen <davidz@redhat.com>
1294 * gvolumemonitor.[ch]:
1295 * gunionvolumemonitor.c: Export the eject-button signal on the
1296 volume monitor class (#541794).
1298 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1300 * gappinfo.c: More doc tweaks
1302 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1304 * gappinfo.c: Clarify some docs
1306 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1308 * gdesktopappinfo.c: Fix a stupid mistake.
1310 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1312 * === Released 2.17.3 ===
1314 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1316 * gfilemonitor.c: Fix the build.
1318 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1320 Bug 536160 – Add g_file_monitor()
1323 * gfile.[hc]: Add g_file_monitor which can return either
1324 a file or a directory monitor. Proposed by Behdad Esfahbod
1326 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1328 536733 – gio build failure on Irix
1330 * glocalfile.c: Use a configure check for structfs.f_bavail.
1332 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1334 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1337 * gdesktopappinfo.[hc]: Add a function to create a
1338 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1340 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1342 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1344 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1346 * gunixmounts.c: Fix a doc typo.
1348 2008-07-01 Cody Russell <bratsche@gnome.org>
1350 * gio/gcontenttype.c:
1351 * gio/gwin32appinfo.c:
1352 * gio/gwin32volumemonitor.c:
1353 * gio/gwin32mount.c: Fixed some include problems.
1355 2008-07-01 Cody Russell <bratsche@gnome.org>
1359 Moved all relevant typedefs into these files.
1362 Updated wrt added files.
1364 Split types into separate file for easier maintainership. (#538564)
1366 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1368 Bug 540331 – g_file_append_to () documentation: can return NULL
1370 * gfile.c (g_file_append_to): Clarify docs.
1371 Patch by Jared Moore
1373 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1375 Bug 539090 – g_content_type_from_mime_type() should unalias
1377 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1378 Patch by Markus Bergman
1380 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1382 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1383 g_atomic_pointer_get
1385 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1386 on ppc and alpha. Reported by Mart Raudsepp
1388 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1390 * tests/Makefile.am:
1391 * tests/memory-output-stream.c: Add some tests for
1392 GMemoryOutputStream.
1394 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1396 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1399 * gmemoryoutputstream.c (array_resize): Handle truncation to
1400 zero correctly. Reported by Akira Tagoh
1402 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1404 * gmemoryoutputstream.c: Trivial doc fixes
1406 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1408 Bug 540802 – g_list_prepend doesn't concat lists
1410 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1411 one list to another. Pointed out by Jan Arne Petersen
1413 2008-06-28 Michael Natterer <mitch@imendio.com>
1415 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1417 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1419 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1420 to avoid problems with partial icon themes.
1422 2008-06-17 Hans Breuer <hans@breuer.org>
1424 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1425 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1426 access again on win32, see bug #538127
1427 * giomodule.c : ensure GWin32VolumeMonitor is registered
1428 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1429 * Makefile.am makefile.msc : updated
1431 2008-06-16 Hans Breuer <hans@breuer.org>
1433 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1434 and initialization in one step avoids c99ism
1436 2008-06-16 Christian Persch <chpe@gnome.org>
1439 * gio/gbufferedinputstream.c
1440 * gio/gcancellable.c
1441 * gio/gdatainputstream.c
1442 * gio/gdesktopappinfo.c
1444 * gio/gfileenumerator.c
1445 * gio/gfileinputstream.c
1446 * gio/gfileoutputstream.c
1447 * gio/ginputstream.c
1448 * gio/glocaldirectorymonitor.c
1450 * gio/glocalfileenumerator.c
1451 * gio/glocalfileinfo.c
1452 * gio/glocalfilemonitor.c
1453 * gio/glocalfileoutputstream.c
1454 * gio/gmemoryinputstream.c
1455 * gio/gmemoryoutputstream.c
1456 * gio/goutputstream.c
1457 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1460 2008-06-16 Tor Lillqvist <tml@novell.com>
1462 Bug 538362 - Get Win32 icons back in the file chooser
1464 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1465 corresponding to a file extension in the Registry. Patch by Hans
1467 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1469 2008-06-16 Tor Lillqvist <tml@novell.com>
1471 Patches by Hans Breuer:
1473 * glocalfile.c (is_xp_or_later): Handle compiling against older
1474 SDK headers with missing VerifyVersionInfo(). Conditioned on
1475 _MSC_VER, but should probably use some better test.
1476 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1477 uninitialised statfs_result variable on Win32.
1479 2008-06-16 Michael Natterer <mitch@imendio.com>
1481 * *.c: chain up unconditionally in finalize() and dispose(). Also
1482 don't dereference these function pointers when calling them since
1483 that has no meaning at all.
1485 2008-06-16 Ross Burton <ross@burtonini.com>
1487 * gfileenumerator.c:
1488 Remove check for dispose implementation as it annoys Emmanuele.
1490 2008-06-16 Ross Burton <ross@burtonini.com>
1492 Bug 536252 – GFileEnumerator should allow access to the containing
1495 * gfileenumerator.c:
1496 * gfileenumerator.h:
1498 Add g_file_enumerator_get_container() and a container writeable
1499 construct-only property. Also shuffle around typedefs to make it
1502 * glocalfileenumerator.c:
1503 * glocalfileenumerator.h:
1505 Instead of a string filename take a GFile in the constructor and
1506 use it to set the container property.
1509 Update with new API.
1511 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1513 * gfile.c: Make includes more uniform
1515 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1517 * tests/live-g-file.c (sample_struct):
1518 Use less fancy unicode filenames, so the test doesn't fail
1519 on Mac OS X (#531476).
1521 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1523 * === Released 2.17.2 ===
1525 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1527 * === Released 2.17.1 ===
1529 2008-06-11 A. Walton <awalton@gnome.org>
1531 * tests/g-file.c (test_g_file_new_null):
1532 Fix broken test case.
1534 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1536 * pltcheck.sh: We use g_clear_error now.
1538 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1540 * glocalfile.c (g_local_file_enumerate_children): Revert
1541 an unintended change.
1543 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1545 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1547 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1549 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1552 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1553 as icon for the desktop directory, also make user-home and
1554 user-desktop the preferred icons.
1556 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1559 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1560 to add a name to the front of the list.
1562 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1564 Bug 537392 – Additional colon in xattr name
1566 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1567 too. Reported by Alessandro Morandi
1569 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1571 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1574 * glocalfile.c (get_fs_type): Add afs and autofs.
1575 Patch by Danny Baumann.
1577 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1579 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1581 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1582 is no parent. (Owen Taylor, patch by Christian Neumair)
1584 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1586 * gfile.c (g_file_replace_contents): do not leak the output stream.
1588 2008-06-10 Michael Natterer <mitch@imendio.com>
1590 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1591 uninitialized memory as array index.
1593 2008-06-10 Tor Lillqvist <tml@novell.com>
1595 * gcontenttype.c (g_content_type_can_be_executable)
1596 (g_content_type_get_icon) [Win32]: Add TODO comments.
1598 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1600 * xdgmime/Makefile.am: Fix the build
1602 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1604 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1605 in the shared mime database, if available.
1607 * xdgmime/*: Sync with upstream. This brings support for
1608 glob weights, generic icons, and changes the cache format to
1611 2008-05-28 Michael Natterer <mitch@imendio.com>
1613 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1614 the global CPPFLAGS now.
1616 * tests/data-input-stream.c
1617 * tests/data-output-stream.c
1618 * tests/g-file-info.c
1620 * tests/live-g-file.c
1621 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1623 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1625 * === Released 2.17.0 ===
1627 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1628 doesn't complain about leftover files.
1630 2008-05-27 simon.zheng <simon.zheng@sun.com>
1632 * glocalfile.c: (g_local_file_query_filesystem_info):
1633 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1635 2008-05-26 Michael Natterer <mitch@imendio.com>
1637 * gmemoryoutputstream.h: declare
1638 g_memory_output_stream_get_data_size().
1640 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1642 * tests/*: Make tests work
1644 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1646 * gio.symbols: Add g_memory_output_stream_get_data_size.
1648 2008-05-25 Ross Burton <ross@burtonini.com>
1651 Fix typo in error message (#534764).
1653 2008-05-25 Ross Burton <ross@burtonini.com>
1656 Fix circular dependency loop for gioenumtypes.h (#534759).
1658 2008-05-19 Hans Breuer <hans@breuer.org>
1660 * Makefile.am : EXTRA_DIST += makefile.msc
1662 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1665 * gcontenttype.c: (g_content_type_from_mime_type):
1666 New function to create a content type from a mime type. (#527175,
1669 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1671 Bug 532965 – Should not return filesystem::free for certain file systems
1673 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1674 free space for ncpfs.
1676 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1678 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1680 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1681 st_dev might be zero.
1683 2008-05-16 Tor Lillqvist <tml@novell.com>
1685 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1686 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1688 2008-05-13 Bastien Nocera <hadess@hadess.net>
1690 * gfile.c (has_valid_scheme): A URI scheme must start with a
1691 letter, even if later more characters are allowed (#532852)
1693 2008-05-05 Michael Natterer <mitch@imendio.com>
1695 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1696 code from being checked in that breaks the build of applications
1697 which use G_DISABLE_SINGLE_INCLUDES.
1699 * makegioalias.pl: make the alias file include "glib.h" instead of
1702 * gio.symbols: whitespace change to force regeneration of the
1703 alias file after above script change.
1705 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1707 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1709 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1711 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1713 2008-04-28 David Zeuthen <davidz@redhat.com>
1715 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1716 displaying mounts in a subdirectory not accessible to the
1719 2008-04-22 Michael Natterer <mitch@imendio.com>
1721 * Makefile.am: fix library versioning (it was 0.0.0).
1723 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1725 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1726 Default disable all loggings.
1727 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1728 (port_fetch_event_cb): Fixed two macro nits.
1730 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1732 * xdgmime/xdgmime.c: Rework the timestamp checking code
1733 to protect against duplicate directories in XDG_DATA_DIRS.
1734 Fixes fd.o bug 12513, reported by Joe Shaw.
1736 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1738 Partically revert the last commit after realizing that
1739 xdg_mime_media_type_equal doesn't have to init at all.
1741 * xdgmime/xdgmime.h:
1742 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1744 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1746 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1748 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1749 reported by Joe Shaw and Federico Mena Quintero.
1751 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1752 (xdg_mime_media_type_equal): Turn into a wrapper around the
1755 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1756 functions throughout.
1758 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1760 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1761 tolerate an empty TryExec= line without failing; nautilus used
1762 to create launchers with these in previous versions. Fixes #528433
1764 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1766 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1767 after name. Fixes #527132.
1769 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1771 * gfile.c: (g_file_replace):
1774 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1776 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1778 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1779 by Christian Kellner.
1781 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1783 * gunixmounts.c: (g_unix_mount_guess_should_display):
1784 Don't list the user directory as a mount, fix potential issue
1785 when other users have a similar naming and don't special case the
1786 gvfs mounts there since that's not required (#525866)
1788 2008-03-31 Alexander Larsson <alexl@redhat.com>
1790 * glocalfile.c (get_parent):
1793 2008-03-31 A. Walton <awalton@svn.gnome.org>
1795 * gfile.c (g_file_query_file_type):
1796 Always return a GFileType enum value (#520715).
1798 2008-03-31 Alexander Larsson <alexl@redhat.com>
1800 * glocalfileenumerator.c:
1801 Read readdir() info in chunks (of 1000) and sort
1802 the chunks by inode before stat:ing.
1803 This is a 20% performance increase in testing
1804 gvfs-ls on /usr/bin with cold cache.
1806 2008-03-31 Alexander Larsson <alexl@redhat.com>
1808 * gmemoryoutputstream.c:
1809 Clarify docs for g_memory_output_stream_get_size.
1810 Add g_memory_output_stream_get_data_size.
1812 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1816 * gfile.h: Add g_file_query_file_type convenience function
1817 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1819 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1821 * gfileenumerator.c:
1822 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1824 2008-03-28 A. Walton <awalton@svn.gnome.org>
1826 * giomodule.c (_g_io_modules_ensure_loaded):
1827 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1830 2008-03-28 Alexander Larsson <alexl@redhat.com>
1833 (copy_stream_with_progress):
1836 2008-03-28 Alexander Larsson <alexl@redhat.com>
1839 (copy_stream_with_progress):
1840 (file_copy_fallback):
1841 Fallback to g_file_query_info for source size
1842 if g_file_input_stream_query_info fails. (#524579)
1844 2008-03-28 Alexander Larsson <alexl@redhat.com>
1846 * glocalfile.c (g_local_file_move):
1847 Reuse old string instead of adding new one.
1849 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1851 * fen/*.[hc]: still copyright issue. I hate copyright.
1853 2008-03-27 Alexander Larsson <alexl@redhat.com>
1855 * glocalfile.c (g_local_file_move):
1856 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1857 file over directory. This is according to the docs and what the move via
1858 copy+remove fallback does.
1860 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1862 * fen/*.[hc]: Updated copyright.
1864 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1866 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1868 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1870 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1871 not emit attribute changed events when optimizing changed events.
1872 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1875 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1877 * gmountoperation.[hc]: Small documentation additions
1879 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1881 * gunixmounts.c: (guess_mount_type):
1882 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1884 2008-03-19 Alexander Larsson <alexl@redhat.com>
1887 (copy_stream_with_progress):
1888 Bump block side for copy to 64k to minimize
1889 overhead for low latency links. (#523015)
1891 2008-03-16 Tor Lillqvist <tml@novell.com>
1893 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1894 depend on gio.def on Windows.
1896 2008-03-12 David Zeuthen <davidz@redhat.com>
1900 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1902 2008-03-14 Alexander Larsson <alexl@redhat.com>
1906 Avoid redudant tests (#521851)
1907 Patch from Josselin Mouette
1909 2008-03-14 Alexander Larsson <alexl@redhat.com>
1912 (g_file_monitor_is_cancelled):
1913 Fix C89 issue (#521672)
1914 Patch from Jens Granseuer
1916 2008-03-14 Alexander Larsson <alexl@redhat.com>
1918 * fam/fam-helper.[ch]:
1920 Shut down fam (including removing fam GSource) when
1921 module is unloaded (#521513)
1922 Patch from Joe Marcus Clarke
1924 2008-03-14 Alexander Larsson <alexl@redhat.com>
1927 (_g_io_modules_ensure_loaded):
1930 2008-03-14 Alexander Larsson <alexl@redhat.com>
1933 (g_local_file_query_filesystem_info):
1934 Use right define name for f_fstypename member check
1936 2008-03-14 Alexander Larsson <alexl@redhat.com>
1939 * fen/Makefile.am: Added.
1940 * fen/fen-data.[ch]: Added.
1941 * fen/fen-dump.[ch]: Added.
1942 * fen/fen-helper.[ch]: Added.
1943 * fen/fen-kernel.[ch]: Added.
1944 * fen/fen-missing.[ch]: Added.
1945 * fen/fen-node.[ch]: Added.
1946 * fen/fen-sub.[ch]: Added.
1947 * fen/gfendirectorymonitor.[ch]: Added.
1948 * fen/gfenfilemonitor.[ch]: Added.
1950 Added Solaris FEN file notification backend.
1951 Patch from Lin Ma <Lin.Ma@Sun.COM>
1953 2008-03-13 Tor Lillqvist <tml@novell.com>
1955 * Makefile.am: Actually use the gio.def file when linking the
1956 library on Windows. Produce .lib library for Microsoft's toolchain
1957 when possible. Install the .lib and .def file like for the other
1960 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1962 * tests/live-g-file.c:
1963 Include live-g-file in standard set of tests, making a temporary
1964 directory in source structure.
1966 Clean target directory before the tests (write mode only)
1968 2008-03-12 Tor Lillqvist <tml@novell.com>
1970 Bug 517419 - gio win32 directory monitor
1971 Implementation by Vlad Grecescu.
1974 * win32/gwin32directorymonitor.h
1975 * win32/gwin32directorymonitor.c: New files.
1977 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1979 * Makefile.am: Add the win32 subdirectory.
1981 2008-03-12 Tor Lillqvist <tml@novell.com>
1983 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1984 normal struct stat on Unix but struct _stati64 on Windows to have
1985 access to 64-bit file size information. Use that instead of struct
1986 stat in the functions declared here in this private header.
1988 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1989 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1990 warnings about unused functions and variables. Don't set
1991 meaningless attributes like inode numbers on Windows.
1993 2008-03-12 Benjamin Otte <otte@gnome.org>
1996 trim whitespace so gtk-doc groks the function name
1998 2008-03-12 Tor Lillqvist <tml@novell.com>
2000 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2001 returning FALSE, on Win32.
2003 2008-03-11 Alexander Larsson <alexl@redhat.com>
2006 * glocalfileinfo.[ch]:
2007 Correctly implement can_trash by actually
2008 looking for a trash dir, not just assuming
2011 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2013 * === Released 2.16.1 ===
2015 2008-03-11 Alexander Larsson <alexl@redhat.com>
2018 Fix crashes in new constructor and properties code
2020 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2022 * gfile.c: Minor spelling correction in documentation:
2023 existance -> existence.
2025 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2027 * === Released 2.16.0 ===
2029 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2031 * gio.symbols: Remove g_file_contains_file here, too.
2033 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2035 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2036 Samuel Cormier-Iijima)
2038 2008-03-08 Tor Lillqvist <tml@novell.com>
2040 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2043 2008-03-07 Alexander Larsson <alexl@redhat.com>
2046 (g_local_file_query_filesystem_info):
2047 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2048 Patch from Jasper Lievisse Adriaanse
2050 2008-03-06 Tor Lillqvist <tml@novell.com>
2052 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2053 comments for the *_USEC attributes.
2055 2008-03-06 Alexander Larsson <alexl@redhat.com>
2057 * gfile.c (g_file_query_exists):
2058 Add g_return_val_if_fail check (#520700)
2060 2008-03-06 Alexander Larsson <alexl@redhat.com>
2062 * gdesktopappinfo.c:
2065 * gunionvolumemonitor.c:
2068 * tests/live-g-file.c:
2069 * xdgmime/xdgmimecache.c:
2070 Fix sparse warnings (#519489)
2072 2008-03-05 Alexander Larsson <alexl@redhat.com>
2075 Make cancellation threadsafe (i.e.
2076 guarantee its only done once, and always
2079 * glocaldirectorymonitor.c:
2080 Make sure we the monitor lives while the
2081 mounts_changed callback is being called (#520484)
2083 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2085 * gbufferedinputstream.c: Fix typo in parameter
2088 2008-03-04 Alexander Larsson <alexl@redhat.com>
2091 Remove deprecated symbols we kept for one release.
2093 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2096 * goutputstream.c: Tiny documentation corrections.
2098 2008-03-03 Alexander Larsson <alexl@redhat.com>
2100 * gunionvolumemonitor.c:
2102 Fix the adopt_orphan_mount vfunc to take a
2103 volume_monitor reference in an ABI compat way.
2104 This change is not API compat, but the added
2105 arg is not used in the only user of this vfunc, so
2106 all we get is a harmless warning in gvfs (#520169)
2108 2008-03-01 Benjamin Otte <otte@gnome.org>
2111 clarify docs for g_file_delete().
2113 2008-02-29 Alexander Larsson <alexl@redhat.com>
2117 Make sure empty files get text/plain type (#518720)
2119 2008-02-27 Alexander Larsson <alexl@redhat.com>
2125 (g_unix_volume_mount):
2126 Add missing GMountMountFlags argument
2128 2008-02-26 Alexander Larsson <alexl@redhat.com>
2131 (g_local_file_delete):
2132 Handle filesystems (like ntfs-3g) that return EEXIST instead
2133 of ENOTEMPTY (#518816)
2135 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2137 * === Released 2.15.6 ===
2139 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2141 * gfile.c (g_file_find_enclosing_mount):
2142 * ginputstream.c (g_input_stream_set_pending):
2143 * glocalfile.c (g_local_file_find_enclosing_mount):
2144 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2145 * goutputstream.c (g_output_stream_set_pending):
2147 Fixup translator comments (#518578).
2149 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2151 * gfile.c (g_file_find_enclosing_mount):
2153 * glocalfile.c (g_local_file_find_enclosing_mount):
2156 Fix a few typos in translator comments and documentation.
2158 2008-02-25 Alexander Larsson <alexl@redhat.com>
2165 Add translator comments (#518578)
2167 2008-02-25 Alexander Larsson <alexl@redhat.com>
2170 Reintroduce g_file_contains_file, keep around for one
2171 unstable release cycle to avoid crashing to many apps.
2172 Make sure to delete after release.
2174 2008-02-25 Alexander Larsson <alexl@redhat.com>
2177 Remove deprecated g_file_contains_file.
2179 2008-02-25 Alexander Larsson <alexl@redhat.com>
2182 Emit actual change signals in an idle handler.
2183 This avoids reentrance and locking problems in
2184 the file notification backends.
2186 2008-02-25 Alexander Larsson <alexl@redhat.com>
2189 (g_unix_mount_guess_should_display):
2190 Remove type guessing, instead just display
2191 mounts in /media and in ~/.
2193 2008-02-25 Alexander Larsson <alexl@redhat.com>
2196 Make new strings reuse old ones.
2198 2008-02-25 Alexander Larsson <alexl@redhat.com>
2201 Implement trashing and filesystem::readonly for win32 (#517235)
2202 Patch from Yevgen Muntyan
2204 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2206 * gfileinfo.h: Documentation fixes.
2208 2008-02-22 Alexander Larsson <alexl@redhat.com>
2210 * gcontenttype.c (g_content_type_get_icon):
2211 Look at old-style gnome mime icon names too, as many
2212 have not moved to the new style.
2214 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2216 * *.c: Correct the @include in for section docs.
2218 2008-02-21 David Zeuthen <davidz@redhat.com>
2220 * glocalfileinfo.c: (_g_local_file_info_get):
2222 (g_content_type_get_icon): Implement this function by
2223 moving bits from glocalfileinfo.c
2224 (g_content_type_get_description): Unalias before getting
2225 description (#517687)
2227 * gfile.c: (g_file_class_init),
2228 (g_file_query_filesystem_info_async),
2229 (g_file_query_filesystem_info_finish),
2230 (query_filesystem_info_data_free),
2231 (query_filesystem_info_async_thread),
2232 (g_file_real_query_filesystem_info_async),
2233 (g_file_real_query_filesystem_info_finish):
2234 * gfile.h: Implement async version of
2235 g_file_query_filesystem_info()
2237 * gfileinfo.h: Add new attributes for filesystem::use-preview
2239 * gio.symbols: Update
2241 * gthemedicon.c: (g_themed_icon_append_name):
2242 * gthemedicon.h: Add new new convenience function.
2244 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2245 (get_mounts), (get_volumes), (get_connected_drives),
2246 (get_volume_for_uuid), (get_mount_for_uuid),
2247 (g_union_volume_monitor_init), (populate_union_monitor),
2248 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2249 (g_volume_monitor_adopt_orphan_mount):
2251 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2252 monitor implementations to call into the main volume monitor. Also
2253 separate object initialization and volume monitor initialization
2254 such that non-native volume monitors can properly adopt their
2257 2008-02-21 Alexander Larsson <alexl@redhat.com>
2262 2008-02-21 Alexander Larsson <alexl@redhat.com>
2265 Add more documentation about how GFiles work (from #517086)
2267 2008-02-21 Alexander Larsson <alexl@redhat.com>
2271 Add new g_file_has_prefix that does the same as g_file_contains_file.
2272 Deprecate g_file_contains_file and add a macro that converts
2273 it to g_file_has_prefix.
2274 The reason for this change is that the contains_file() name seems to
2275 imply that this does more work than what it does, but its really only
2276 a name match (from #517086)
2281 Update to match the above change.
2283 2008-02-20 Benjamin Otte <otte@gnome.org>
2285 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2286 (g_file_eject_mountable):
2287 even more cases of not returning in error path
2289 2008-02-20 Benjamin Otte <otte@gnome.org>
2291 * gfile.c: (g_file_mount_mountable):
2292 return from function in error path.
2294 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2297 Remove trailing coma in GMountMountFlags struct
2299 2008-02-18 Alexander Larsson <alexl@redhat.com>
2303 * glocalfileoutputstream.c:
2304 Use g_unlink/g_rename instead of unlink/rename;
2305 do not pass raw filenames to g_set_error. (#517239)
2306 Patch from Yevgen Muntyan.
2308 2008-02-18 Alexander Larsson <alexl@redhat.com>
2311 * glocalfileoutputstream.c:
2312 Open files with O_BINARY on windows. (#517140)
2314 2008-02-14 Alexander Larsson <alexl@redhat.com>
2316 * glocalfileoutputstream.c:
2317 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2319 2008-02-14 Alexander Larsson <alexl@redhat.com>
2322 Copy permissions with file on copy (#514084)
2323 This is what cp does and makes sure e.g. the
2324 exec permissions are kept.
2325 Its kinda weird in that it keeps the permission bits
2326 the same while the uid and gid are different. However
2327 the new uid is the user so its not a security issue,
2328 and I've heard no complaints about cp on this issue.
2330 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2332 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2334 2008-02-13 Alexander Larsson <alexl@redhat.com>
2336 * inotify/inotify-path.c:
2337 Define IN_ONLYDIR if not in header (#515346)
2339 2008-02-12 Alexander Larsson <alexl@redhat.com>
2341 * tests/live-g-file.c:
2344 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2346 * === Released 2.15.5 ===
2348 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2350 * gio.symbols: Add g_mount_mount_flags_get_type.
2352 2008-02-11 Alexander Larsson <alexl@redhat.com>
2355 (g_file_info_set_attribute_mask):
2356 (g_file_attribute_matcher_matches_id):
2357 Correctly handle NULL GAttributeMatcher meaning
2358 matches nothing. (Fixes #513492)
2360 2008-02-11 Alexander Larsson <alexl@redhat.com>
2365 Added GMountMountFlags enum and added a flags
2366 argument to all mount calls.
2368 This is an API/ABI change for future extensibility,
2369 as I think we will need at least an
2370 inhibit-autorun flag (the panel needs this).
2371 There are no flags defined yet though.
2373 2008-02-11 Alexander Larsson <alexl@redhat.com>
2376 Added new standard::description attribute.
2377 Requested by Vincent, and useful for both
2380 2008-02-11 Alexander Larsson <alexl@redhat.com>
2382 * gdesktopappinfo.c:
2385 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2387 * *.c: Documentation additions
2389 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2391 * gappinfo.h: Formatting cleanup
2392 * gappinfo.c: Fix up docs.
2394 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2396 * gunixmounts.c: Consistently use getmntent_r() and fall
2397 back to getmntent(). (#515492)
2399 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2401 * gbufferedinputstream.c:
2403 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2405 * tests/data-input-stream.c:
2406 * tests/data-output-stream.c: Portability fixes.
2408 2008-02-08 Alexander Larsson <alexl@redhat.com>
2413 Add g_volume_should_automount.
2416 2008-02-07 Tor Lillqvist <tml@novell.com>
2418 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2419 Win32, too Unix-specific.
2421 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2423 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2424 a local plt if the compiler doesn't support what we want. Bug #514702
2426 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2428 reviewed by: <delete if not using a buddy>
2431 * gunixinputstream.c:
2432 * gunixoutputstream.c:
2434 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2436 * tests/Makefile.am:
2437 * tests/live-g-file.c:
2438 * tests/live-g-file.txt:
2439 New GIO testing module working over real data
2441 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2443 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2444 Fallback to rename() if link() is not available
2445 (when no support on target filesystem)
2447 2008-02-06 Michael Natterer <mitch@imendio.com>
2449 * gfileinfo.c (g_file_info_get_icon): replace
2450 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2452 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2454 * gfile.c (g_file_create):
2455 Documentation update of error codes
2457 2008-02-06 Alexander Larsson <alexl@redhat.com>
2459 * gdesktopappinfo.c:
2460 Update to use both mimeapps.list and
2461 defaults.list as discussed on xdg list.
2463 2008-02-06 Benjamin Otte <otte@gnome.org>
2466 * gfilenamecompleter.c:
2467 Fix some typos in the documentation.
2469 2008-02-06 Alexander Larsson <alexl@redhat.com>
2471 * glocalfile.c (g_local_file_trash):
2472 Don't succeed with trash if newly created
2473 trash dir has the wrong owner. (#514696)
2475 2008-02-05 Alexander Larsson <alexl@redhat.com>
2477 * glocalfile.c (g_local_file_move):
2478 Don't spew warnings when destination is not
2481 2008-02-03 Hans Breuer <hans@breuer.org>
2483 * makefile.msc : update
2485 2008-02-01 Michael Natterer <mitch@imendio.com>
2487 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2488 return value of xdg_mime_list_mime_parents() to a variable of the
2491 2008-02-01 Alexander Larsson <alexl@redhat.com>
2493 * gappinfo.c (g_app_info_launch_uris):
2494 Actually call the launch_uris method, not
2497 2008-02-01 Alexander Larsson <alexl@redhat.com>
2499 * gdesktopappinfo.c (g_desktop_app_info_equal):
2500 Ensure appinfos with no id but same pointer value
2503 2008-02-01 Alexander Larsson <alexl@redhat.com>
2505 * gappinfo.c (g_app_info_launch_default_for_uri):
2508 2008-02-01 Alexander Larsson <alexl@redhat.com>
2512 Add g_app_info_launch_default_for_uri utility
2515 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2517 * gdesktopappinfo.c:
2518 Doc fix for g_app_info_get_default_for_uri_scheme ()
2521 2008-01-30 Alexander Larsson <alexl@redhat.com>
2524 Add doc comment about uris vs GFiles to
2527 * gdesktopappinfo.c:
2528 Ensure uris passed to g_app_info_launch_uris()
2529 are not roundtriped through GFile (as that
2530 may be slightly destructive for e.g. mailto: links)
2532 2008-01-30 Alexander Larsson <alexl@redhat.com>
2534 * tests/data-input-stream.c:
2535 * tests/data-output-stream.c:
2536 C89 fixes from Jens Granseuer (#512849)
2538 2008-01-30 Alexander Larsson <alexl@redhat.com>
2541 Fix gamin/fam difference build issue. (#509419)
2543 2008-01-29 Alexander Larsson <alexl@redhat.com>
2546 * gdesktopappinfo.c:
2547 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2549 2008-01-29 Alexander Larsson <alexl@redhat.com>
2551 * gdesktopappinfo.c:
2552 * gdesktopappinfo.h:
2553 giomodule-priv.h include moved to .c file.
2555 2008-01-29 Alexander Larsson <alexl@redhat.com>
2557 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2558 Remove unused prio/name fields.
2560 2008-01-29 Alexander Larsson <alexl@redhat.com>
2562 * gcontenttype.c (looks_like_text):
2563 Don't treat whitespace as control chars.
2565 2008-01-29 Alexander Larsson <alexl@redhat.com>
2567 * gdesktopappinfo.c:
2568 Lazily create the desktop files for appinfos created
2569 by g_app_info_create_from_commandline() when needed
2570 for mime associations. This allows run-time use
2571 of GAppInfo object without creating unnecessary
2574 2008-01-29 Alexander Larsson <alexl@redhat.com>
2577 Added new symbols to gio.symbols
2579 2008-01-29 Alexander Larsson <alexl@redhat.com>
2582 Add g_file_query_default_handler utility to easily look up
2583 the GAppInfo that handles a file.
2585 * gdesktopappinfo.[ch]:
2587 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2590 Remove unused function
2592 2008-01-29 Alexander Larsson <alexl@redhat.com>
2594 * gfileenumerator.c:
2595 Mention need to free returned value in
2596 g_file_enumerator_next_files_finish docs.
2597 Fix leak if g_file_enumerator_next_files_finish()
2600 2008-01-29 Alexander Larsson <alexl@redhat.com>
2603 (_g_unix_content_type_get_parents):
2604 Use list_parents, not get_parents from xdgmime, because
2605 the later doesn't use the cache.
2607 * xdgmime/xdgmimecache.c:
2608 (_xdg_mime_cache_list_mime_parents):
2609 Don't list the same type as parent multiple times.
2611 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2613 * === Released 2.15.4 ===
2615 2008-01-28 Alexander Larsson <alexl@redhat.com>
2618 Register local vfs with prio 0.
2621 Remove old name and prio class members
2623 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2625 * tests/g-file.c: Disable some tests that are failing in
2626 the absence of a http backend.
2628 2008-01-28 Alexander Larsson <alexl@redhat.com>
2632 Add registration hooks for extension points.
2633 Register the gio extension points.
2635 * fam/gfamdirectorymonitor.c:
2636 * fam/gfamfilemonitor.c:
2637 * glocaldirectorymonitor.[ch]:
2638 * glocalfilemonitor.[ch]:
2639 * gnativevolumemonitor.h:
2640 * gunionvolumemonitor.c:
2641 * gunixvolumemonitor.c:
2644 * inotify/ginotifydirectorymonitor.c:
2645 * inotify/ginotifyfilemonitor.c:
2646 Use the extension points registration instead
2647 of g_type_children().
2649 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2652 * gvolume.[hc]: Document new API.
2654 * gfile.c (g_file_copy_async): Fix docs
2656 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2658 * gbufferedinputstream.c:
2660 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2663 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2665 * glocalfile.c: Avoid trivial differences in translatable strings.
2667 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2669 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2670 build with gcc 3.4 (#509419)
2672 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2674 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2675 (#509994, Murray Cumming)
2677 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2679 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2680 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2681 this allows big jobs to be executed in chunks, instead of blocking
2682 the main loop for a long time.
2684 * gsimpleasyncresult.c:
2685 * giofile.c: Adapt callers.
2687 2008-01-25 Alexander Larsson <alexl@redhat.com>
2689 * gdesktopappinfo.c:
2690 Implement changes discussed on xdg list.
2691 Now we can add supported mimetypes by just using defaults.list
2692 We can also remove associations in defaults.list.
2694 2008-01-25 Alexander Larsson <alexl@redhat.com>
2696 * gdesktopappinfo.c:
2697 Don't make local copy of desktop file
2698 for mimetype changes if the file already
2699 supports the new mimetype.
2701 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2705 * gbufferedinputstream.c:
2706 * glocalfile.c: String improvements. (#511966,
2707 Theppitak Karoonboonyanan)
2709 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2711 * gioscheduler.h: Expand docs a bit.
2713 2008-01-24 Alexander Larsson <alexl@redhat.com>
2716 Add g_drive_get_identifier and
2717 g_drive_enumerate_identifiers
2720 Add g_volume_get_identifier and
2721 g_volume_enumerate_identifiers
2727 Implement identifiers for unix backend
2729 2008-01-24 Alexander Larsson <alexl@redhat.com>
2734 Add g_file_copy_async() (#511580)
2735 Based on patch from Carlos Garcia Campos
2737 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2739 * gioscheduler.c: Some documentation additions.
2741 2008-01-22 Alexander Larsson <alexl@redhat.com>
2743 * gdesktopappinfo.c:
2744 (g_desktop_app_info_new):
2745 Don't leak basename.
2747 2008-01-22 Alexander Larsson <alexl@redhat.com>
2749 * gdesktopappinfo.c:
2750 (g_desktop_app_info_new_from_filename):
2753 2008-01-22 Alexander Larsson <alexl@redhat.com>
2755 * glocalfileinfo.c (get_thumbnail_attributes):
2758 2008-01-22 Alexander Larsson <alexl@redhat.com>
2761 (canonicalize_filename):
2762 Canonicalize paths that start with more than
2766 (compare_two_files):
2767 (test_g_file_new_for_path):
2770 2008-01-22 Alexander Larsson <alexl@redhat.com>
2773 Allow UTF-8 in file:// parse names.
2775 * tests/Makefile.am:
2776 * tests/data-input-stream.c:
2777 * tests/data-output-stream.c:
2778 * tests/g-file-info.c:
2780 Added a bunch of tests from Tomas Bzatek
2782 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2784 * === Released 2.15.3 ===
2786 2008-01-21 Alexander Larsson <alexl@redhat.com>
2788 * gfileinputstream.[ch]:
2789 * gfileoutputstream.[ch]:
2791 Remove duplicated GSeekable functions. (#509990)
2792 Just use the g_seekable_xxx() calls instead.
2794 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2797 * gvolumemanager.c: Whitespace cleanups.
2799 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2800 Use the right mode when creating the file.
2802 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2804 * gfileenumerator.c:
2805 * gfileinputstream.c:
2807 * goutputstream.c: Documentation: Fixed minor typos
2808 and added more mentions of specific _finish() functions.
2810 2008-01-21 Alexander Larsson <alexl@redhat.com>
2812 * inotify/Makefile.am:
2813 * inotify/inotify-helper.c:
2814 * inotify/inotify-kernel.c:
2815 * inotify/inotify-path.c:
2816 * inotify/local_inotify.h: Removed.
2817 * inotify/local_inotify_syscalls.h: Removed.
2818 Removed the included copies of the inotify
2819 headers. We now only use the <sys/inotify.h>
2820 header which exists on modern systems.
2821 This fixes problems on ARM and SH5 (#510448)
2822 but is also generally much cleaner and future
2823 safe. For instance, if other OSes add support
2824 for inotify it should "just work".
2826 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2828 * inotify/*.c: Coding style fixes.
2829 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2830 for the 1/4 Hz timer.
2832 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2835 * gfilemonitor.[hc]:
2836 * gmemoryinputstream.c:
2837 * gmemoryoutputstream.c:
2838 * gmountoperation.c:
2839 * gthemedicon.c: Documentation updates
2841 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2843 * gfile.c: documentation: Fixed more minor
2846 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2848 * gmount.c: (g_mount_remount): documentation:
2849 Mention g_mount_remount_finish() instead of
2850 g_mount_unmount_finish().
2852 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2856 * gfile.c: Fixed some minor typos in the
2859 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2861 * gio/gvolumemonitor.c:
2862 (g_volume_monitor_get_connected_drives):
2863 (g_volume_monitor_get_volumes):
2864 (g_volume_monitor_get_mounts): Documentation:
2865 Clarify the ownership of the regurn GLists.
2867 2008-01-17 Alexander Larsson <alexl@redhat.com>
2870 Add the async find_enclosing_mount version
2871 to the header file too.
2873 2008-01-17 Alexander Larsson <alexl@redhat.com>
2876 Add async version of find_enclosing_mount
2877 with default implementation.
2879 2008-01-17 Alexander Larsson <alexl@redhat.com>
2884 Allow calls to implementation of copy and write
2885 even if the type of the file implementations is
2886 different. This can be used to implement native
2887 upload and download calls in a vfs.
2890 (g_local_file_move):
2891 Protect against the case where move is called
2892 with one file not being local.
2894 Make sure we call the progress callback once
2895 in the native move operation so that the caller
2896 knows how many bytes were copied.
2898 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2901 * gdatainputstream.c:
2903 * gfileoutputstream.c:
2908 * gunixmounts.c: Corrected some typos in the documentation:
2909 occured -> occurred.
2910 its -> it's (where appropriate).
2912 2008-01-16 Alexander Larsson <alexl@redhat.com>
2916 Add g_file_query_exists (#508771)
2918 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2923 * gvolume.c: For async functions that have no non-async
2924 version, document that the GAsyncReadyCallback may be NULL.
2927 2008-01-15 Alexander Larsson <alexl@redhat.com>
2929 * gmemoryinputstream.c:
2930 * gmemoryoutputstream.c:
2931 Don't do pointer arithmetic on void * (#508602)
2932 Patch from Kazuki IWAMOTO
2934 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2936 * === Released 2.15.2 ===
2938 2008-01-14 Alexander Larsson <alexl@redhat.com>
2940 * gfile.c (g_file_monitor_file):
2941 Don't set error here, since we fallback to polling monitor.
2943 2008-01-14 Alexander Larsson <alexl@redhat.com>
2946 (g_file_monitor_directory):
2947 (g_file_monitor_file):
2948 Add GError to file monitor calls
2950 * glocaldirectorymonitor.c:
2951 * glocaldirectorymonitor.h:
2953 * glocalfilemonitor.c:
2954 * glocalfilemonitor.h:
2956 Update for above change
2958 2008-01-14 Alexander Larsson <alexl@redhat.com>
2962 Handle root correctly in g_file_get_relative_path (#508719)
2964 2008-01-14 Alexander Larsson <alexl@redhat.com>
2967 Clean up docs and example for GAsyncResult (#508074)
2969 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2971 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2972 and correct some spelling mistakes. Bug #508108.
2974 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2976 * glocalfileinfo.c: Add a comment.
2978 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2980 * gfileinfo.c: GFileInfo description: Mention
2981 how to actually set attributes in a GFile and how to discover
2982 which attributes are settable. Bug #508378.
2984 2008-01-10 A. Walton <awalton@svn.gnome.org>
2986 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2987 (g_app_info_get_default_for_type):
2988 Check for NULL content types.
2990 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2992 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2994 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2996 * gfile.c: *_async() functions: Several small corrections
2997 to the documentation, mostly correcting copy/paste errors
2998 and improving some sentences.
3000 2008-01-09 Dan Winship <danw@gnome.org>
3002 * glocalfile.c (get_unique_filename): x86_64 fix
3004 2008-01-09 Alexander Larsson <alexl@redhat.com>
3009 Add g_unix_mount_guess_should_display and use
3010 for unix volume monitor backend.
3011 This means we more or less show what the
3012 gnome-vfs backend did.
3013 Based on patch from Padraig O'Briain
3015 2008-01-09 Alexander Larsson <alexl@redhat.com>
3019 Add g_themed_icon_new_with_default_fallbacks
3022 Use default fallbacks for icons
3024 2008-01-09 Alexander Larsson <alexl@redhat.com>
3027 * gmountoperation.[ch]:
3028 Change the API a bit so that unhandled methods
3029 get reported via the reply, rather than by
3030 the signal emission return value. This is because
3031 some handlers can't know this immediately without
3032 doing I/O, and this is an async operation that
3035 2008-01-09 Alexander Larsson <alexl@redhat.com>
3038 * fam/gfamdirectorymonitor.c:
3039 * fam/gfamfilemonitor.c:
3040 Fix double free crash (#508224)
3041 Patch from Joe Marcus Clarke
3043 008-01-07 Matthias Clasen <mclasen@redhat.com>
3045 * === Released 2.15.1 ===
3047 2008-01-07 Alexander Larsson <alexl@redhat.com>
3049 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3050 Fix warning (#507835)
3052 2008-01-07 Alexander Larsson <alexl@redhat.com>
3055 Pass --internal to glib-genmarshal
3058 * gmountoperation.c:
3060 Use better types for signal arguments (#507822)
3062 2008-01-07 Alexander Larsson <alexl@redhat.com>
3065 Build test subdir after .
3066 Remove gdirectorymonitor.[ch]
3068 * gdirectorymonitor.[ch]:
3072 Remove GDirectoryMonitor and make
3073 GFileMonitor the baseclass for both file and
3074 directory monitors. Lift the more generic
3075 rate limiting code from GDirectoryMonitor
3079 * fam/gfamdirectorymonitor.[ch]:
3080 * inotify/ginotifydirectorymonitor.[ch]:
3081 * inotify/inotify-helper.c:
3082 * glocaldirectorymonitor.[ch]:
3085 Update for the removed GDirectoryMonitor.
3087 * gmemoryoutputstream.c:
3088 Remove ununsed variable
3090 2008-01-07 Alexander Larsson <alexl@redhat.com>
3092 * gmemoryinputstream.c:
3093 Translate error strings
3096 * gmemoryoutputstream.[ch]:
3097 New implementation that avoids using GByteArray
3098 in implementation and API. (#506377)
3100 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3102 * tests/*: Add a test for memory input streams.
3104 * Makefile.am: Add tests to SUBDIRS.
3106 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3108 * glocalfilemonitor.c:
3109 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3112 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3114 * gdesktopappinfo.c: Fix a docs typo.
3116 * gfileattribute.c: Add information about extended attributes
3117 to the documentation. (#505058)
3119 2008-01-04 Alexander Larsson <alexl@redhat.com>
3122 * gmountoperation.c:
3123 Use the right type (uint) for the ask_password signal.
3125 2008-01-04 Alexander Larsson <alexl@redhat.com>
3130 Add g_app_info_supports_files()
3131 Remove desktop arg from g_app_info_should_show().
3133 * gdesktopappinfo.[ch]:
3134 Implement g_app_info_supports_files() and new should_show()
3135 Add g_desktop_app_info_set_desktop_env() to set the desktop
3136 for should_show(). (This will be set by gtk+ later)
3138 2008-01-04 Alexander Larsson <alexl@redhat.com>
3141 * gmemoryinputstream.[ch]:
3142 Improve API so that you can use multiple chunks
3143 of memory and custom destroy functions. (#506374)
3145 2008-01-03 Alexander Larsson <alexl@redhat.com>
3148 Handle NULL attribute matchers safely, as we return this
3149 for empty attribute matcher strings.
3151 2008-01-03 Alexander Larsson <alexl@redhat.com>
3153 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3154 Add /usr/local to list of internal mountpoints
3156 2008-01-03 Alexander Larsson <alexl@redhat.com>
3159 Check for HAVE_LCHOWN (#505887)
3161 2008-01-03 Alexander Larsson <alexl@redhat.com>
3165 Add define for selinux context attribute.
3166 Fix missing : -> :: namespace separator change
3167 Fix missing _ -> - name change for xattr-sys.
3170 2008-01-03 Alexander Larsson <alexl@redhat.com>
3173 Link to libglib and libgobject directly (#504879)
3174 Patch from Sebastien Bacher
3176 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3178 * gfile.c: Expanded the g_file_new_for_commandline_arg
3179 description a bit, based on the code and the docs of the
3180 other g_file_new_for_* functions.
3182 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3184 * gfilemonitor.h: Fixed typo in docs.
3186 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3188 Updates to GIO documentation. (#506395, Mikael Hermansson)
3190 * gcontenttype.c: Describe memory management for return value of
3191 g_content_types_get_registered(). Missing piece from #505815.
3192 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3193 GVolume, GDrive, GMounts, which hopefully gives the user less
3194 confusions when using this API. Following explainations from
3195 Alexander Larsson on gtk-devel-list.
3197 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3199 * gfileinfo.c: Expand the long description.
3201 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3204 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3205 fix builds with --disable-visibility. (#500273, Christian Persch)
3207 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3209 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3210 in the list of returned app infos.
3212 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3214 * gappinfo.c: Fix a cross-reference
3216 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3218 * gfileinputstream.c:
3219 * gfileoutputstream.c:
3223 * gdesktopappinfo.c:
3225 * gfileinfo.c: Documentation updates.
3227 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3229 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3232 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3234 * gcontenttype.c (g_content_types_get_registered): Don't return
3235 freed memory (#505815, Mikael Hermansson)
3237 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3239 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3240 used to detect statbuf->st_blocks. (#505042)
3242 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3244 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3245 environment handling. (#504829, Cosimo Cecchi)
3247 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3249 * gappinfo.c: Doc improvements
3251 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3254 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3256 * === Released 2.15.0 ===
3258 2007-12-20 Hans Breuer <hans@breuer.org>
3260 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3261 with symbols gwin32appinfo.obj, added gmount.obj
3262 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3264 2007-12-20 Alexander Larsson <alexl@redhat.com>
3270 * gfilenamecompleter.c:
3273 * gpollfilemonitor.c:
3274 File attribute renames:
3276 fs:: -> filesystem::
3277 id::fs -> id::filesystem
3279 2007-12-20 Alexander Larsson <alexl@redhat.com>
3288 Add GMountUnmountFlags to all unmount and
3290 Add g_mount_remount() call.
3292 2007-12-20 Alexander Larsson <alexl@redhat.com>
3294 * gvfs.c (get_default_vfs):
3295 Fix unused variable warning
3297 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3299 * pltcheck.sh: Update
3301 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3303 * gunionvolumemonitor.c:
3304 * gunixmount.c: Remove C99 comments
3306 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3308 * gio.symbols: Add some missing symbols
3310 2007-12-19 Alexander Larsson <alexl@redhat.com>
3313 Make g_io_modules_load_all_in_directory not unuse
3314 loaded modules so that users of it can do stuff
3316 Init internal "module" types.
3317 Initialize static prio and name for types so that
3318 we don't have to load modules to get it.
3320 * gnativevolumemonitor.h:
3322 Move is_supported to parent class so that
3323 non-native monitors can avoid being initialized
3324 too. (For instance GDaemonVolumeMonitor if we're
3325 not using GDaemonVfs.)
3327 * glocaldirectorymonitor.[ch]:
3328 * glocalfilemonitor.[ch]:
3329 * gunionvolumemonitor.c:
3330 * gunixvolumemonitor.c:
3332 Find plugins using the static prio+name to
3333 avoid unnecessarily loading the modules.
3335 2007-12-19 Alexander Larsson <alexl@redhat.com>
3340 2007-12-19 Alexander Larsson <alexl@redhat.com>
3342 * gunionvolumemonitor.c:
3343 Store the native type as GType, not class so that
3344 we can unload it. But still avoid unnecessarily
3347 2007-12-19 David Zeuthen <davidz@redhat.com>
3349 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3350 add signals 'disconnected' and 'eject-button' on GDrive. Add
3351 signal 'removed' on GVolume and 'unmounted' on GMount.
3353 * gdrive.c: (g_drive_base_init):
3355 * gfile.c: (g_file_mount_mountable),
3356 (g_file_mount_enclosing_volume):
3359 * gmount.c: (g_mount_base_init):
3361 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3362 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3363 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3367 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3369 * *.c: Fix up includes in the section docs.
3371 2007-12-17 Alexander Larsson <alexl@redhat.com>
3373 * gnativevolumemonitor.h:
3374 * gunionvolumemonitor.c:
3375 * gunixvolumemonitor.c:
3376 Add is_supported() to GNativeVolumeMonitorClass so
3377 that we can avoid having to create an object to see
3378 if the backend is supported at runtime.
3379 Also add name member and an env var to pick a specific
3380 volume monitor backend.
3384 Add cancellable to _g_mount_get_for_mount_path()
3386 * glocaldirectorymonitor.c:
3387 * glocalfilemonitor.c:
3388 Avoid loading and unloading modules while sorting.
3390 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3393 * gunixmounts.[hc]: Namespace waste reduction, move some
3394 g_get_unix_mount functions to the g_unix_mount namespace.
3397 * gunixvolumemonitor.c:
3399 * glocaldirectorymonitor.c: Update all callers.
3401 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3403 2007-12-17 Alexander Larsson <alexl@redhat.com>
3406 Add doc comments about what GFile operations are
3407 guaranteed to not block.
3409 2007-12-17 Alexander Larsson <alexl@redhat.com>
3412 Add missing #ifdef fixing OSX build.
3413 (#503334, patch from Richard Hult)
3415 2007-12-14 David Zeuthen <davidz@redhat.com>
3419 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3420 (g_mount_eject), (g_mount_eject_finish):
3422 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3423 (get_volume_for_uuid), (get_mount_for_uuid),
3424 (g_union_volume_monitor_class_init),
3425 (get_default_native_type_with_exclude), (get_default_native_type),
3426 (get_native_type), (update_native_type),
3427 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3428 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3429 (g_unix_mount_can_eject), (eject_unmount_cb),
3430 (eject_unmount_read_error), (eject_unmount_do),
3431 (g_unix_mount_unmount), (g_unix_mount_eject),
3432 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3433 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3434 (g_unix_mount_point_guess_can_eject):
3436 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3437 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3438 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3439 (g_unix_volume_mount), (g_unix_volume_eject),
3440 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3441 * gunixvolumemonitor.c: (get_volume_for_uuid),
3442 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3444 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3445 (g_volume_eject), (g_volume_eject_finish):
3447 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3448 (g_volume_monitor_get_mount_for_uuid):
3451 Provide eject() on both GMount and GVolume and utility functions
3452 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3453 ejected. Introduce the concept of UUID's and wire it into GVolume
3454 and GMount and provide API on GVolumeMonitor to find such
3455 instances. Also handle the case where an external
3456 GNativeVolumeMonitor fails to initialize. Lock around the
3457 _g_get_mount_for_mount_path() function such that volume monitor
3458 implementations won't have to do locking themselves.
3460 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3462 * gdesktopappinfo.c:
3468 * gvolume.h: Documentation updates
3470 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3473 * gfile.h: Doc updates
3475 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3478 * gdesktopappinfo.c: Use hash table iterators.
3480 2007-12-14 Alexander Larsson <alexl@redhat.com>
3483 * gfileattribute.[ch]:
3484 * gfileattribute-priv.h:
3485 Move GFileAttributeValue to a private header, as
3489 Make set_attribute take a type + a pointer instead
3490 of a GFileAttributeValue.
3493 Fix up for above changes.
3494 Add g_file_info_get_attribute_data to get
3495 all info in one call, g_file_info_get_attribute_status
3496 to get the status and g_file_info_get_attribute_as_string.
3500 * glocalfileinfo.[ch]:
3504 Make _guess_type static.
3506 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3509 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3510 made mkenums and friends use temporary files to avoid leaving
3511 empty generated files on failure (#503470).
3513 2007-12-14 Alexander Larsson <alexl@redhat.com>
3515 * gmountoperation.h:
3518 2007-12-14 Alexander Larsson <alexl@redhat.com>
3522 * gfileattribute.[ch]:
3525 * glocalfileoutputstream.c:
3526 * gmountoperation.[ch]:
3527 * goutputstream.[ch]:
3528 Clean up all flags enums to not have _FLAGS in them
3529 Make the names of some of the enums better.
3534 2007-12-14 Michael Natterer <mitch@imendio.com>
3536 * gio.symbols: fix g_io_scheduler symbol names.
3538 2007-12-14 Alexander Larsson <alexl@redhat.com>
3544 * gbufferedinputstream.h:
3545 * gbufferedoutputstream.h:
3548 * gdatainputstream.h:
3549 * gdataoutputstream.h:
3550 * gdesktopappinfo.h:
3551 * gdirectorymonitor.h:
3555 * gfileenumerator.h:
3558 * gfileinputstream.h:
3560 * gfilenamecompleter.h:
3561 * gfileoutputstream.h:
3562 * gfilterinputstream.h:
3563 * gfilteroutputstream.h:
3571 * gmemoryinputstream.h:
3572 * gmemoryoutputstream.h:
3574 * gmountoperation.h:
3577 * gsimpleasyncresult.h:
3579 * gunixinputstream.h:
3581 * gunixoutputstream.h:
3585 * inotify/Makefile.am:
3586 Only allow including <gio/gio.h> from apps
3588 2007-12-14 Alexander Larsson <alexl@redhat.com>
3590 * gioscheduler.[ch]:
3591 * gsimpleasyncresult.c:
3592 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3593 Split out the send_to_mainloop call into two versions instead
3594 of having the block argument.
3596 2007-12-13 Alexander Larsson <alexl@redhat.com>
3598 * gcancellable.[ch]:
3600 * gbufferedinputstream.c:
3601 * gfileenumerator.c:
3602 * gfileinputstream.c:
3603 * gfileoutputstream.c:
3607 g_push/pop_current_cancellable ->
3608 g_cancellable_push/pop_current
3610 2007-12-13 Alexander Larsson <alexl@redhat.com>
3614 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3616 2007-12-13 Alexander Larsson <alexl@redhat.com>
3618 * gmountoperation.h:
3619 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3621 2007-12-12 Alexander Larsson <alexl@redhat.com>
3624 Fix race condition when freeing proxy in
3625 g_io_job_send_to_mainloop().
3627 2007-12-12 Alexander Larsson <alexl@redhat.com>
3633 Make attribute namespace separator "::" instead of ":".
3634 Use - instead of _ as separator in attribute names.
3636 2007-12-12 Alexander Larsson <alexl@redhat.com>
3638 * gbufferedinputstream.h:
3639 * gbufferedoutputstream.h:
3640 * gdatainputstream.h:
3641 * gdataoutputstream.h:
3642 * gdirectorymonitor.h:
3643 * gfileenumerator.h:
3644 * gfileinputstream.h:
3646 * gfileoutputstream.h:
3647 * gfilterinputstream.h:
3648 * gfilteroutputstream.h:
3650 * glocalfileinputstream.h:
3651 * glocalfileoutputstream.h:
3652 * gmemoryinputstream.h:
3653 * gmemoryoutputstream.h:
3654 * gnativevolumemonitor.h:
3656 * gunixinputstream.h:
3657 * gunixoutputstream.h:
3660 s/parent/parent_instance/ in GObjects
3662 2007-12-12 Alexander Larsson <alexl@redhat.com>
3667 No need for padding for interfaces
3669 2007-12-12 Alexander Larsson <alexl@redhat.com>
3673 * gbufferedinputstream.c:
3674 * gbufferedoutputstream.c:
3677 * gdatainputstream.[ch]:
3678 * gdesktopappinfo.c:
3679 * gdirectorymonitor.c:
3681 * gfileattribute.[ch]:
3684 * gfileinputstream.h:
3685 * gfilemonitor.[ch]:
3686 * gfileoutputstream.[ch]:
3687 * gfilterinputstream.h:
3688 * gfilteroutputstream.h:
3691 * gloadableicon.[ch]:
3692 * gmemoryinputstream.c:
3693 * gmountoperation.c:
3695 Fix up a bunch of details in the docs.
3700 2007-12-11 David Zeuthen <davidz@redhat.com>
3702 Rework how volumes, drives and volume monitoring is
3703 done. Previosly the model was
3705 GDrive <1-1> GVolume
3707 where a GDrive instance represented a mount point and a GVolume
3708 instance represented a mounted file system. This patch changes it
3711 GDrive <1-N> GVolume <1-1> GMount
3713 where GMount now serves the purpose of the old GVolume and the new
3714 GVolume serves the purpose of the old GDrive. In addition the new
3715 GDrive interface is used to represent a collection of GVolume
3716 instances (typically partitions) and also contains utility to query
3717 the state of the physical drive the GDrive object represents (such
3718 as checking for media, polling the drive, ejecting the media etc.).
3720 Also implement mounting and unmounting in the Unix volume monitor
3721 backend. A subquent patch will introduce GDrive support for ejection
3725 * gdrive.c: (g_drive_is_media_check_automatic),
3726 (g_drive_is_media_removable), (g_drive_has_media),
3727 (g_drive_can_poll_for_media), (g_drive_eject),
3728 (g_drive_eject_finish), (g_drive_poll_for_media),
3729 (g_drive_poll_for_media_finish):
3731 * gfile.c: (g_file_find_enclosing_mount):
3734 * glocaldirectorymonitor.c:
3735 (g_local_directory_monitor_constructor), (mounts_changed):
3736 * glocalfile.c: (get_mount_info),
3737 (g_local_file_find_enclosing_mount),
3738 (g_local_file_file_iface_init):
3739 * gnativevolumemonitor.h:
3740 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3741 (get_connected_drives), (g_union_volume_monitor_class_init),
3742 (child_volume_added), (child_volume_removed),
3743 (child_volume_changed), (child_mount_added), (child_mount_removed),
3744 (child_mount_pre_unmount), (child_mount_changed),
3745 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3746 (g_union_volume_monitor_remove_monitor),
3747 (_g_mount_get_for_mount_path):
3748 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3749 (guess_system_internal), (_g_get_unix_mounts),
3750 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3751 (g_unix_mount_free), (g_unix_mount_compare),
3752 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3753 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3754 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3755 (type_to_icon), (g_unix_mount_guess_name),
3756 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3757 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3758 (_resolve_symlink), (_resolve_dev_root):
3760 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3761 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3762 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3763 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3764 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3765 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3766 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3767 (g_unix_volume_volume_iface_init):
3769 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3770 (get_mounts), (get_volumes), (get_connected_drives),
3771 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3772 (mountpoints_changed), (mounts_changed),
3773 (g_unix_volume_monitor_init),
3774 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3775 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3776 * gunixvolumemonitor.h:
3777 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3778 (g_volume_mount), (g_volume_mount_finish):
3780 * gvolumemonitor.c: (g_volume_monitor_class_init),
3781 (g_volume_monitor_get_connected_drives),
3782 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3785 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3787 * gmountoperation.h (GPasswordFlags): Close the gap
3789 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3791 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3793 * gdesktopappinfo.[hc]: Remove _-prefixes
3795 2007-12-10 Tor Lillqvist <tml@novell.com>
3797 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3800 2007-12-10 Alexander Larsson <alexl@redhat.com>
3802 * gfile.c (g_file_set_display_name):
3803 Don't hardcode '/' (#502727)
3805 2007-12-09 Hans Breuer <hans@breuer.org>
3807 * makefile.msc : follow lib naming convention
3808 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3809 for user and group name, tested with ../tests/gio-ls
3811 2007-12-09 A. Walton <awalton@svn.gnome.org>
3813 * gdesktopappinfo.c:
3819 * gfileenumerator.c:
3824 * gmemoryinputstream.c:
3825 * gmemoryoutputstream.c:
3827 * gsimpleasyncresult.c:
3828 More documentation cleanup and filling in missing information, bringing
3829 GIO to 99% symbol coverage.
3831 2007-12-08 Hans Breuer <hans@breuer.org>
3833 [gio compiles and links on win32, not sure how much already works]
3834 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3835 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3836 base on win32 API; prefer g_lstat() over lstat(); instead of
3837 localtime_r() use an all GLib implementation on win32;
3838 get_mount_info() still needs a win32 specifc implementation
3839 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3840 win32_get_file_user_info to get owner/group info without uid/gid
3841 * glocalfileinputstream.c : include <io.h> on win32
3842 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3843 definition, use g_win32_ftruncate() for G_OS_WIN32
3844 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3845 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3846 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3847 * makefile.msc : updated
3849 2007-12-07 Alexander Larsson <alexl@redhat.com>
3851 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3852 Avoid warning spew if error == NULL
3854 2007-12-07 Alexander Larsson <alexl@redhat.com>
3857 Update docs wrt etags
3859 2007-12-06 Alexander Larsson <alexl@redhat.com>
3862 Include sys/types.h for dev_t (#501919)
3864 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3868 Make abicheck and pltcheck pass.
3870 2007-12-05 Alexander Larsson <alexl@redhat.com>
3873 * giomodule-priv.h: Added.
3874 * glocaldirectorymonitor.c:
3875 * glocalfilemonitor.c:
3876 * gunionvolumemonitor.c:
3878 Actually add the declaration of _g_io_modules_ensure_loaded
3880 2007-12-05 Alexander Larsson <alexl@redhat.com>
3882 * gdatainputstream.c:
3887 * glocaldirectorymonitor.c:
3888 * glocalfilemonitor.c:
3889 * gunionvolumemonitor.c:
3891 Make g_io_modules_ensure_loaded a private function and
3892 don't pass in the dirname. This means we can do magic
3893 directory finding in the win32 version.
3894 Export the actual load-modules-in-directory code so that
3895 gvfs can reuse that.
3897 2007-12-05 Alexander Larsson <alexl@redhat.com>
3899 * gbufferedinputstream.c:
3900 * gbufferedoutputstream.c:
3903 * gfileenumerator.[ch]:
3904 * gfileinputstream.c:
3905 * gfileoutputstream.[ch]:
3906 * gfilterinputstream.c:
3907 * gfilteroutputstream.c:
3908 * ginputstream.[ch]:
3910 * glocalfileenumerator.c:
3911 * glocalfileinputstream.c:
3912 * glocalfileoutputstream.c:
3913 * gmemoryinputstream.c:
3914 * gmemoryoutputstream.c:
3915 * goutputstream.[ch]:
3918 * gunixinputstream.c:
3919 * gunixoutputstream.c:
3920 Rename all struct members named:
3921 read, write, close, truncate, or mount
3922 to foo_fn, as these are reserved names
3923 and could be defined as macros in libc.
3926 2007-12-04 Alexander Larsson <alexl@redhat.com>
3929 (g_output_stream_close):
3930 Only call flush if non-null.
3932 2007-11-30 Dan Winship <danw@gnome.org>
3934 * ginputstream.c (g_input_stream_set_pending): Make this take a
3935 GError and return a gboolean, and do the "outstanding operation"
3936 check (and the "stream is already closed" check) itself.
3937 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3939 * goutputstream.c (g_output_stream_set_pending)
3940 (g_output_stream_clear_pending): Likewise
3942 * gbufferedinputstream.c:
3943 * gfileinputstream.c:
3944 * gfileoutputstream.c: Update for that
3946 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3947 Like g_simple_async_report_error_in_idle, but takes a GError
3948 rather than building one.
3950 2007-11-30 Dan Winship <danw@gnome.org>
3952 * goutputstream.c: Don't cheat and unset the "pending" flag around
3953 inner calls. Instead, call the class method directly rather than
3954 the wrapper function that checks "pending"
3956 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3958 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3960 2007-12-03 Hans Breuer <hans@breuer.org>
3962 [start of port to win32/msvc]
3963 * gcancellable.c : HAVE_UNIST_H and _pipe()
3964 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3965 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3966 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3968 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3969 * glocalvfs.c : use HAVE_PWD_H
3970 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3971 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3972 * Makefile.am : added to EXTRA_DIST
3974 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3976 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3979 2007-12-03 Alexander Larsson <alexl@redhat.com>
3982 Handle OSX style xattrs API (#500506)
3984 2007-12-03 Alexander Larsson <alexl@redhat.com>
3988 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3990 2007-12-02 A. Walton <awalton@svn.gnome.org>
3994 Documentation accuracy fixes.
3996 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3998 * gioenumtypes.c.template: Fix typo.
4000 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4002 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4004 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4006 * gdirectorymonitor.c:
4007 * gfilemonitor.c: Add properties
4009 * gbufferedoutputstream.c: Don't mark buffer-size property
4012 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4014 * gbufferedoutputstream.c: Add auto-grow property.
4016 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4018 * *.c: Unify the capitalization of section headings.
4020 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4022 * gmountoperation.c: Add properties
4024 * gdatainputstream.c: Turn byte-order and newline-type into
4027 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4029 * gioenumtypes.[hc].template: Templates for enum registration
4031 * Makefile.am: Generate gioenumtypes.[hc]
4033 * gio.h: Include gioenumtypes.h
4035 * gfile.h: Add some explicit nicks.
4037 * gio.symbols: Add new symbols
4039 * pltcheck.sh: Adjust
4041 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4043 * *.c: Explain etags and link to the explanation
4045 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4047 * *.c: Explain I/O priority.
4049 * *.c: More coding style fixes.
4051 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4053 * gasyncresult.c: Add another paragraph to the intro,
4054 adjust coding style of example.
4056 2007-11-29 A. Walton <awalton@svn.gnome.org>
4059 Fixes unknown meaning in GAppLaunchContext docs.
4061 Clarify asynchronous ops.
4063 Fix entity tag docs.
4066 Provides missing gtk-doc section, fixes API docs slighly.
4067 * gsimpleasyncresult.c:
4068 Fill in missing info in docs.
4069 * gunixinputstream.c:
4070 * gunixoutputstream.c:
4071 Be more expressive in short description.
4073 Remove gtk-doc stubs for non-public API.
4075 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4077 * *.c: Coding style fixups
4079 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4081 * inotify/inotify-helper.c: Don't export the lock from libgio.
4083 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4086 * abicheck.sh: Fix copy-and-paste leftovers
4088 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4090 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4092 2007-11-28 Alexander Larsson <alexl@redhat.com>
4096 Removed unnecessary file
4098 * gdesktopappinfo.[ch]:
4101 * glocaldirectorymonitor.[ch]:
4103 * glocalfileenumerator.[ch]:
4104 * glocalfileinputstream.[ch]:
4105 * glocalfilemonitor.[ch]:
4106 * glocalfileoutputstream.[ch]:
4108 * gnativevolumemonitor.c:
4109 * gpollfilemonitor.[ch]:
4110 * gunionvolumemonitor.[ch]:
4113 * gunixvolumemonitor.[ch]:
4116 * inotify/ginotifydirectorymonitor.[ch]:
4117 * inotify/ginotifyfilemonitor.[ch]:
4118 * inotify/inotify-helper.c:
4119 Append _ to all internal functions
4123 Export symbols needed for modules
4125 2007-11-28 Alexander Larsson <alexl@redhat.com>
4128 * abicheck.sh: Added.
4129 * makegioalias.pl: Added.
4130 * pltcheck.sh: Added.
4131 * gio.symbols: Added.
4134 Initial work on adding symbol handling.
4137 Correct ifdef guard name
4140 * inotify/Makefile.am:
4141 * xdgmime/Makefile.am:
4142 Include toplevel Makefile.decl
4144 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4146 * gcontenttype.c: Move doc comments to the unix section.
4148 * *.[hc]: More trivial doc corrections.
4150 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4152 * gpollfilemonitor.c:
4156 * gdesktopappinfo.c:
4161 * gdatainputstream.c:
4162 * gdatainputstream.h:
4163 * gdataoutputstream.c:
4164 * gdataoutputstream.h:
4165 * gfileinfo.h: Doc cleanups
4167 2007-11-28 Andre Klapper <a9016009@gmx.de>
4169 * gdesktopappinfo.c: Fix a typo.
4171 2007-11-27 Andre Klapper <a9016009@gmx.de>
4173 * glocalfileoutputstream.c: Fix a typo.
4175 2007-11-27 Alexander Larsson <alexl@redhat.com>
4178 Don't include removed headers
4180 2007-11-27 Alexander Larsson <alexl@redhat.com>
4183 * gsocketinputstream.[ch]: Removed.
4184 * gsocketoutputstream.[ch]: Removed.
4185 * gunixinputstream.[ch]: Added.
4186 * gunixoutputstream.[ch]: Added.
4187 Renamed GSocket*Stream to GUnix*Stream and made
4188 it unix-only, since its not really only for sockets
4189 and it only works on unix (but is highly useful there).
4191 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4197 * gbufferedinputstream.c:
4198 * gbufferedinputstream.h:
4199 * gbufferedoutputstream.c:
4200 * gbufferedoutputstream.h:
4204 * gdatainputstream.c:
4205 * gdatainputstream.h:
4206 * gdataoutputstream.c:
4207 * gdataoutputstream.h:
4208 * gdirectorymonitor.c:
4209 * gdirectorymonitor.h:
4216 * gfileenumerator.c:
4217 * gfileenumerator.h:
4222 * gfileinputstream.c:
4223 * gfileinputstream.h:
4226 * gfilenamecompleter.c:
4227 * gfilenamecompleter.h:
4228 * gfileoutputstream.c:
4229 * gfileoutputstream.h:
4230 * gfilterinputstream.c:
4231 * gfilterinputstream.h:
4232 * gfilteroutputstream.c:
4233 * gfilteroutputstream.h:
4246 * glocalfileoutputstream.c:
4247 * gmemoryinputstream.c:
4248 * gmemoryinputstream.h:
4249 * gmemoryoutputstream.c:
4250 * gmemoryoutputstream.h:
4251 * gmountoperation.c:
4252 * gmountoperation.h:
4255 * gpollfilemonitor.c:
4258 * gsimpleasyncresult.c:
4259 * gsimpleasyncresult.h:
4260 * gsocketinputstream.c:
4261 * gsocketinputstream.h:
4262 * gsocketoutputstream.c:
4263 * gsocketoutputstream.h:
4270 * gunixvolumemonitor.c:
4279 Bumps documentation to 93% symbol coverage, touching most
4280 of the public files. Fixes broken function documentation prototypes.
4281 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4282 gtk-doc headers in private files.
4284 2007-11-27 Jürg Billeter <j@bitron.ch>
4286 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4287 (g_buffered_input_stream_read_byte):
4288 * gbufferedinputstream.h:
4289 New functions for efficient access to buffer and simple single byte
4292 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4293 (g_data_input_stream_read_until):
4294 * gdatainputstream.h:
4295 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4296 read_until with multiple stop chars.
4298 2007-11-27 Alexander Larsson <alexl@redhat.com>
4302 * inotify/Makefile.am:
4303 Use the user-specified giomoduledir
4305 2007-11-27 Alexander Larsson <alexl@redhat.com>
4309 Add catch-all gio.h header
4310 Don't install gdummyfile.h
4312 2007-11-26 Alexander Larsson <alexl@redhat.com>
4314 * Makefile.am (gioinclude_HEADERS):
4315 Remove trailing whitespace
4317 2007-11-26 Alexander Larsson <alexl@redhat.com>
4319 Merge gio-standalone into glib
4321 2007-11-25 Christian Kellner <gicmo@gnome.org>
4323 * gio/goutputstream.c:
4324 Fix small mistake in the docs.
4326 2007-11-21 Christian Persch <chpe@gnome.org>
4328 * gio/glocalfile.c: (g_local_file_trash):
4329 Convert filenames to UTF-8 for GError.
4330 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4331 as per xdg base dir spec.
4333 2007-11-21 Christian Persch <chpe@gnome.org>
4335 * gio/gdesktopappinfo.c:
4336 Use that g_key_file_to_data cannot fail.
4338 Use stock defines for the key file group and key names.
4341 2007-11-21 Alexander Larsson <alexl@redhat.com>
4344 (copy_stream_with_progress):
4345 Make sure we do a final progress callback with
4346 the full total size.
4348 2007-11-21 Alexander Larsson <alexl@redhat.com>
4351 Export g_file_copy_attributes
4352 Remove padding as its not needed for interfaces
4354 2007-11-20 Alexander Larsson <alexl@redhat.com>
4359 Add G_IO_ERROR_WOULD_MERGE for
4360 copy/move dir on dir with overwrite.
4362 2007-11-20 Alexander Larsson <alexl@redhat.com>
4365 * gio/glocalfileinfo.c:
4366 Add COPY_NAME (this is an optional
4367 non-modified utf8 version of the name) that
4370 2007-11-20 Alexander Larsson <alexl@redhat.com>
4372 * gio/glocalfileenumerator.c:
4373 Report errors as GIOError, not GFileError
4375 2007-11-16 Alexander Larsson <alexl@redhat.com>
4377 * gio/glocalfileoutputstream.c:
4378 * gio/gwin32appinfo.c:
4379 Fix typos in strings.
4380 Patch from Luca Ferretti <elle.uca@libero.it>
4382 2007-11-15 Alexander Larsson <alexl@redhat.com>
4385 Post release version bump
4387 === gio-standalone 0.1.2 ===
4389 2007-11-15 Alexander Larsson <alexl@redhat.com>
4391 * docs/reference/gio/Makefile.am:
4392 Fix up distcheck by removing weird
4398 2007-11-14 Alexander Larsson <alexl@redhat.com>
4400 * gio/gdesktopappinfo.c:
4401 * gio/glocaldirectorymonitor.c:
4403 * gio/glocalfileinfo.c:
4404 * gio/inotify/inotify-sub.c:
4405 * programs/gio-cat.c:
4406 * programs/gio-copy.c:
4407 * programs/gio-info.c:
4408 * programs/gio-ls.c:
4409 * programs/gio-monitor-dir.c:
4410 * programs/gio-monitor-file.c:
4411 * programs/gio-mount.c:
4412 * programs/gio-move.c:
4413 * programs/gio-rm.c:
4414 * programs/gio-save.c:
4415 * programs/gio-trash.c:
4416 Leak fixes from Kjartan Maraas
4418 2007-11-14 Alexander Larsson <alexl@redhat.com>
4420 * gio/fam/fam-helper.c:
4422 * gio/glocalfileinfo.c:
4426 * gio/inotify/inotify-diag.c:
4427 * gio/inotify/inotify-kernel.c:
4428 Various code cleanups from Kjartan Maraas
4430 2007-11-14 Alexander Larsson <alexl@redhat.com>
4432 * gio/gioscheduler.c:
4434 Set up threadpool so that we cache 2 unused
4435 idle threads for at 15 secs. This means we
4436 will reuse thread-local data (like dbus connections)
4439 2007-11-14 Alexander Larsson <alexl@redhat.com>
4441 * gio/fam/fam-helper.c:
4442 * gio/fam/gfamdirectorymonitor.c:
4443 * gio/fam/gfamfilemonitor.c:
4445 * gio/gcontenttype.c:
4446 * gio/gdatainputstream.c:
4447 * gio/gdataoutputstream.c:
4451 * gio/gfileattribute.h:
4452 * gio/gfileenumerator.c:
4454 * gio/ginputstream.c:
4457 * gio/glocalfileinfo.c:
4458 * gio/goutputstream.c:
4459 * gio/gpollfilemonitor.c:
4460 * gio/gsimpleasyncresult.c:
4461 * gio/gunixmounts.c:
4462 * gio/gunixmounts.h:
4463 * gio/inotify/ginotifydirectorymonitor.c:
4464 * gio/inotify/ginotifyfilemonitor.c:
4465 * gio/inotify/inotify-diag.c:
4466 * gio/inotify/inotify-kernel.c:
4467 * gio/inotify/inotify-path.c:
4469 * gio/test-streams.c:
4470 * programs/gio-info.c:
4471 * programs/gio-monitor-dir.c:
4472 * programs/gio-monitor-file.c:
4473 Various code cleanups from Kjartan Maraas
4475 2007-11-13 Alexander Larsson <alexl@redhat.com>
4478 Handle the uri-scheme calls for dummy files
4480 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4482 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4483 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4484 to avoid clash with the C++ keyword.
4486 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4488 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4489 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4491 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4493 * gio/glocaldirectorymonitor.c:
4494 * gio/glocalfilemonitor.c:
4495 * gio/gunionvolumemonitor.c:
4496 Don't use g_once_init_*() for initializations that could fail and
4497 could leave the initialization variable set to 0 but use GOnce.
4498 This prevents a deadlock on the second call when trying to create
4499 a monitor and no monitor type is available. Thanks to Sven Herzberg
4502 2007-11-11 Sven Herzberg <sven@imendio.com>
4504 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4505 #ifdef (make it work on MacOS X again)
4507 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4509 Fixes Changelog for last two commits (sorry guys).
4511 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4513 * gio/gbufferedinputstream.c:
4514 * gio/gdatainputstream.c:
4516 * gio/gfileoutputstream.c:
4517 * gio/gfilterinputstream.c:
4518 * gio/glocalfileinputstream.c:
4521 More consistency fixes in g*stream.c files.
4522 Significant clean of gfile's documentation, filling in of
4523 asynchronous operations documentation.
4525 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4527 * gio/gasyncresult.c:
4528 * gio/gbufferedinputstream.c:
4529 * gio/gbufferedoutputstream.c:
4530 * gio/gcancellable.c:
4531 * gio/gcontenttype.c:
4532 * gio/gdatainputstream.c:
4533 * gio/gdataoutputstream.c:
4534 * gio/gdesktopappinfo.c:
4537 * gio/gfileattribute.c:
4538 * gio/gio/gfileenumerator.c:
4540 * gio/gfileinputstream.c:
4541 * gio/gfilemonitor.c:
4542 * gio/gfileoutputstream.c:
4543 * gio/ginputstream.c:
4545 * gio/gioscheduler.c:
4546 * gio/gloadableicon.c:
4547 * gio/glocalfileoutputstream.c:
4548 * gio/gmemoryoutputstream.c:
4549 * gio/gmountoperation.c:
4550 * gio/goutputstream.c:
4552 * gio/gsimpleasyncresult.c:
4553 * gio/gunionvolumemonitor.c:
4554 * gio/gunixmounts.c:
4555 * gio/gunixvolume.c:
4559 * gio/gvolumemonitor.c:
4560 Updated documentation stubs, working towards consistency and
4563 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4565 * gio/gmemoryoutputstream.c:
4566 * gio/gmemoryoutputstream.h:
4567 Change g_memory_output_stream_set_free_on_close() to
4568 g_memory_output_stream_set_free_data() as this makes more sense and
4569 is more consistent with GMemoryInputStream.
4571 2007-11-07 Alexander Larsson <alexl@redhat.com>
4578 Change how we find the default vfs so that
4579 we can handle a gvfs failing to init
4581 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4583 * gio/gbufferedoutputstream.c:
4584 * gio/gdatainputstream.c:
4585 * gio/gdataoutputstream.c:
4586 * gio/gfileinputstream.c:
4587 * gio/gfileoutputstream.c:
4588 * gio/gfilterinputstream.c:
4589 * gio/gfilteroutputstream.c:
4590 * gio/ginputstream.c:
4591 * gio/gmemoryinputstream.c:
4592 * gio/gmemoryoutputstream.c:
4593 * gio/goutputstream.c:
4594 * gio/gsimpleasyncresult.c:
4595 * gio/gsocketinputstream.c:
4596 * gio/gsocketoutputstream.c:
4597 Add guards to the remaining public functions, add a TODO for
4598 an unimplemented function and remove some useless guards.
4600 2007-11-07 Alexander Larsson <alexl@redhat.com>
4603 Autoconf checks for the various types of
4604 getpwuid_r and getgrgid_r
4606 * gio/glocalfileinfo.c:
4607 Use the autoconf checks from above
4609 2007-11-07 Alexander Larsson <alexl@redhat.com>
4612 (g_local_file_query_filesystem_info):
4613 Some fixes for the statvfs case
4615 2007-11-07 Alexander Larsson <alexl@redhat.com>
4618 (g_local_file_query_filesystem_info):
4619 Pick the "best" of statfs / statvfs for the system
4620 if both are availible.
4622 2007-11-07 Alexander Larsson <alexl@redhat.com>
4624 Solaris fixes from Halton.Huo@Sun.COM:
4631 * gio/glocalfileinfo.c:
4632 Fix for solaris definition of getpwuid_r
4634 * gio/test-streams.c:
4635 Use G_GNUC_PRETTY_FUNCTION
4637 2007-11-07 Alexander Larsson <alexl@redhat.com>
4639 * gio/gdesktopappinfo.c:
4640 (update_default_list):
4641 Remove double semicolon.
4642 Patch from Jens Granseuer
4644 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4646 * docs/reference/gio/gio-sections.txt:
4647 * gio/gbufferedinputstream.c:
4648 * gio/gbufferedinputstream.h:
4649 * gio/gdatainputstream.c:
4650 * gio/gfileenumerator.c:
4651 * gio/gioscheduler.c:
4652 * gio/gunionvolumemonitor.c:
4654 * programs/gio-save.c:
4655 Fix typo: availible -> available. Unfortuntely this breaks API
4656 and ABI as g_buffered_input_stream_get_available() was renamed.
4658 * gio/gunixmounts.c:
4659 * gio/gbufferedinputstream.c:
4660 Add guards for public functions.
4662 2007-11-06 Ross Burton <ross@openedhand.com>
4664 * docs/reference/gio/Makefile.am:
4665 Fix invalid += usage which automake 1.10 doesn't like.
4667 2007-11-06 Alexander Larsson <alexl@redhat.com>
4670 (g_app_launch_context_class_init):
4673 Patch from Ross Burton
4675 2007-11-06 Alexander Larsson <alexl@redhat.com>
4678 Post release version bump
4680 === gio-standalone 0.1.1 ===
4682 2007-11-06 Alexander Larsson <alexl@redhat.com>
4685 Bump version to 0.1.1
4687 * gio/gsimpleasyncresult.c:
4688 (g_simple_async_result_set_from_error):
4689 Remove bogus g_return_if_fail
4691 2007-11-06 Alexander Larsson <alexl@redhat.com>
4694 The name is gio-standalone
4697 Add top src/builddir to includedir
4699 2007-11-06 Alexander Larsson <alexl@redhat.com>
4701 * docs/reference/gio/gio-sections.txt:
4703 * gio/gbufferedinputstream.c:
4704 * gio/gbufferedoutputstream.c:
4705 * gio/gcancellable.c:
4706 * gio/gdatainputstream.h:
4707 * gio/gdataoutputstream.c:
4708 * gio/gdataoutputstream.h:
4709 * gio/gdirectorymonitor.c:
4711 * gio/gfileattribute.c:
4712 * gio/gfileattribute.h:
4713 * gio/gfileenumerator.c:
4714 * gio/gfileenumerator.h:
4717 * gio/gfileinputstream.h:
4718 * gio/gfilemonitor.c:
4719 * gio/gfileoutputstream.h:
4720 * gio/glocalfilemonitor.h:
4721 * gio/glocalfileoutputstream.h:
4722 * gio/gmemoryinputstream.c:
4723 * gio/gmemoryoutputstream.c:
4724 * gio/gmountoperation.c:
4725 * gio/goutputstream.c:
4726 * gio/goutputstream.h:
4728 * gio/gsimpleasyncresult.c:
4729 * gio/gunixmounts.c:
4730 * gio/gunixmounts.h:
4732 * gio/inotify/inotify-helper.c:
4733 Fix gtk-doc warnings
4735 Patch from Ross Burton
4737 2007-11-06 Alexander Larsson <alexl@redhat.com>
4739 * gio/gfilenamecompleter.c:
4740 (g_filename_completer_get_completions):
4743 * gio/gunixvolume.c:
4744 Remove unused function
4746 Patches from Ross Burton
4748 2007-11-06 Alexander Larsson <alexl@redhat.com>
4753 Padding not needed for interfaces
4755 2007-11-06 Alexander Larsson <alexl@redhat.com>
4757 * gio/gfilemonitor.c:
4761 Make giotypes.h an internal file
4764 * gio/gbufferedinputstream.h:
4765 * gio/gbufferedoutputstream.h:
4766 * gio/gcancellable.h:
4767 * gio/gdatainputstream.h:
4768 * gio/gdataoutputstream.h:
4769 * gio/gdirectorymonitor.c:
4770 * gio/gdirectorymonitor.h:
4775 * gio/gfileattribute.h:
4776 * gio/gfileenumerator.h:
4781 * gio/gfilemonitor.c:
4782 * gio/gfilemonitor.h:
4783 * gio/gfilenamecompleter.c:
4784 * gio/gfilenamecompleter.h:
4785 * gio/gfilterinputstream.h:
4786 * gio/gfilteroutputstream.h:
4787 * gio/ginputstream.h:
4788 * gio/gmemoryinputstream.h:
4789 * gio/gmemoryoutputstream.h:
4790 * gio/gmountoperation.c:
4791 * gio/gmountoperation.h:
4792 * gio/gnativevolumemonitor.c:
4793 * gio/goutputstream.h:
4796 * gio/gsimpleasyncresult.c:
4797 * gio/gsimpleasyncresult.h:
4798 * gio/gsocketinputstream.h:
4799 * gio/gsocketoutputstream.h:
4800 * gio/gthemedicon.c:
4801 * gio/gthemedicon.h:
4805 * gio/gvolumemonitor.c:
4806 * gio/gvolumemonitor.h:
4807 Add padding in classes where it seems useful
4808 Don't include giotypes.h from public headers
4809 Move in Class definitions into c file where possible
4814 2007-11-06 Alexander Larsson <alexl@redhat.com>
4816 * docs/reference/gio/gio-docs.xml:
4817 Better structure for API docs
4819 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4822 * gio/gloadableicon.c:
4823 * gio/gsimpleasyncresult.c:
4824 * gio/gthemedicon.c:
4825 Add some more guards to public functions. Only files missing are now
4828 2007-11-06 Alexander Larsson <alexl@redhat.com>
4830 * docs/reference/gio/gio-docs.xml:
4831 Remove old files, add missing ones
4833 2007-11-06 Alexander Larsson <alexl@redhat.com>
4835 * docs/reference/gio/gio-sections.txt:
4838 Hide implementation classes
4840 * gio/gdriveprivate.h:
4841 * gio/gvolumeprivate.h:
4842 Remove non-existing function declarations
4844 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4847 Fix compilation warnings and add guards to the new functions.
4849 * gio/gasyncresult.c:
4851 Add guards to the public functions.
4854 Implement get_path().
4856 2007-11-06 Alexander Larsson <alexl@redhat.com>
4858 * gio/gfilenamecompleter.c:
4859 Make g_filename_completer_get_completions
4860 return char ** instead of GList for
4863 * docs/reference/gio/gio-docs.xml:
4864 * docs/reference/gio/gio-sections.txt:
4866 * gio/gasyncresult.c:
4867 * gio/gbufferedinputstream.c:
4868 * gio/gbufferedoutputstream.c:
4869 * gio/gcancellable.c:
4870 * gio/gcontenttype.c:
4871 * gio/gdatainputstream.c:
4872 * gio/gdataoutputstream.c:
4873 * gio/gdesktopappinfo.c:
4874 * gio/gdirectorymonitor.c:
4878 * gio/gfileattribute.c:
4879 * gio/gfileenumerator.c:
4882 * gio/gfileinputstream.c:
4883 * gio/gfilemonitor.c:
4884 * gio/gfilenamecompleter.c:
4885 * gio/gfilenamecompleter.h:
4886 * gio/gfileoutputstream.c:
4887 * gio/gfilterinputstream.c:
4889 * gio/ginputstream.c:
4891 * gio/gioscheduler.c:
4892 * gio/gloadableicon.c:
4893 * gio/glocaldirectorymonitor.c:
4895 * gio/glocalfileinputstream.c:
4896 * gio/glocalfilemonitor.c:
4897 * gio/glocalfileoutputstream.c:
4899 * gio/gmemoryinputstream.c:
4900 * gio/gmemoryoutputstream.c:
4901 * gio/gmountoperation.c:
4902 * gio/goutputstream.c:
4903 * gio/gpollfilemonitor.c:
4905 * gio/gsimpleasyncresult.c:
4906 * gio/gsocketinputstream.c:
4907 * gio/gsocketoutputstream.c:
4908 * gio/gthemedicon.c:
4909 * gio/gunionvolumemonitor.c:
4911 * gio/gunixmounts.c:
4912 * gio/gunixvolume.c:
4913 * gio/gunixvolumemonitor.c:
4917 * gio/gvolumemonitor.c:
4918 * gio/gwin32appinfo.c:
4919 Add (mostly stub) doc strings to public functions.
4920 Patch from Andrew Walton (awalton@gmail.com)
4922 2007-11-06 Alexander Larsson <alexl@redhat.com>
4924 * gio/gappinfo.[ch]:
4925 Added GAppLaunchContext object and pass that to launch.
4926 This allows simple implementation of both
4927 launch-on-screen and startup notification via a gtk+
4928 subclass of GAppLaunchContext
4930 * gio/gdesktopappinfo.c:
4931 Implement GAppLaunchContext API
4933 * gio/gwin32appinfo.c:
4936 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4938 * gio/gmountoperation.c:
4939 Add some guards to GMountOperation's public functions.
4941 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4945 * gio/gcancellable.c:
4946 * gio/gdirectorymonitor.c:
4948 * gio/gfileenumerator.c:
4949 * gio/gfilemonitor.c:,
4950 * gio/gfilenamecompleter.c:
4953 * gio/gioscheduler.c:
4957 * gio/gvolumemonitor.c:
4958 Add even more guards to various public functions.
4960 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4963 Add guards to the public functions of GAppInfo.
4965 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4967 * gio/gcontenttype.c:
4968 Add some more guards for public functions.
4970 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4972 * gio/fam/fam-module.c:
4973 * gio/fam/gfamdirectorymonitor.c:
4974 * gio/fam/gfamdirectorymonitor.h:
4975 * gio/fam/gfamfilemonitor.c:
4976 * gio/fam/gfamfilemonitor.h:
4977 * gio/inotify/ginotifydirectorymonitor.c:
4978 * gio/inotify/ginotifydirectorymonitor.h:
4979 * gio/inotify/ginotifyfilemonitor.c:
4980 * gio/inotify/ginotifyfilemonitor.h:
4981 Add proper copyright information and remove an unused variable
4982 in the GInotifyFileMonitor constructor.
4984 * gio/gcancellable.c:
4985 Add a guard for a public function and an assertion to prevent
4986 an undefined program state.
4988 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4990 * gio/gfileattribute.c:
4991 Don't run into an assertion if the given attribute value is NULL
4992 in g_file_attribute_value_get_*() but instead return a fallback
4993 value that makes sense in most situations. Passing them a attribute
4994 value with the wrong type will still run into an assertion.
4996 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4998 * gio/gfileattribute.c:
5000 Add even more guards to the public functions. Also fix the refcounting
5001 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5002 let g_file_info_list_attributes() filter the attributes by namespace
5003 instead of simply ignoring the namespace parameter.
5005 2007-11-03 Sven Herzberg <sven@imendio.com>
5007 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5008 (This makes gio work on MacOS X again)
5010 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5013 Build the gio subdirectory before the docs. Otherwise the build will
5016 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5017 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5018 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5019 Add guards to the public functions.
5021 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5023 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5024 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5025 to prevent a compiler warning.
5027 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5028 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5029 return something in the non-void function find_topdir_for().
5031 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5038 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5040 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5041 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5042 * gwin32appinfo.c (g_win32_app_info_launch):
5043 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5044 envp_for_startup_id, g_desktop_app_info_launch,
5045 g_desktop_app_info_launch_uris):
5047 Give an opaque 'startup_id' string instead of 'envp'.
5048 Support empty file lists for launching new windows.
5049 Fix infinite recursion bug when launching URIs.
5051 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5054 Add guard to the new g_file_get_uri_scheme() function.
5056 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5059 Convert a g_return_val_if_fail() to setting the GError instead as
5060 otherwise applications have to verify the parameter before otherwise
5061 and the parameter might come directly from the user.
5063 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5065 * gio/inotify/ginotify*.[ch]:
5066 Add missing copyright information.
5068 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5071 Add guards in the beginning of public functions to check for valid
5072 parameters and fix a bug in copy_stream_with_progress() that could've
5073 caused writing less bytes than reading.
5074 * gio/glocalfileinfo.c:
5075 Check for a NULL parameter and set the GError accordingly then.
5076 * gio/goutputstream.c:
5077 Fix the same bug as in gfile.c that could've caused writing less bytes
5078 than reading in g_output_stream_real_splice().
5080 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5083 Use the correct gvolumeprivate.h naming
5085 2007-11-01 Christian Kellner <gicmo@gnome.org>
5088 Remove leftover "$(daemon_sources)" entry.
5090 2007-11-01 Christian Kellner <gicmo@gnome.org>
5095 Add copyright information to source files.
5097 2007-11-01 Alexander Larsson <alexl@redhat.com>
5101 Add g_file_get_uri_scheme
5103 2007-11-01 Alexander Larsson <alexl@redhat.com>
5106 * gio/gdesktopappinfo.c:
5107 * gio/gwin32appinfo.c:
5108 Add g_app_info_get_default_for_uri_scheme.
5110 2007-11-01 Alexander Larsson <alexl@redhat.com>
5113 Correct filename for gdriveprivate.h
5115 2007-10-31 Alexander Larsson <alexl@redhat.com>
5118 Rename id:value to id:file
5121 * gio/glocalfileinfo.c:
5124 2007-10-31 Alexander Larsson <alexl@redhat.com>
5126 * gio/gunixvolume.c:
5128 Remove g_volume_get_platform_id, as thats not
5129 needed with the simpler union volume monitor
5131 2007-10-31 Alexander Larsson <alexl@redhat.com>
5134 * gio/guniondrive.[ch]: Removed.
5135 * gio/gunionvolume.[ch]: Removed.
5136 Remove GUnionDrive/Volume
5138 * gio/gunionvolumemonitor.c:
5139 Simplify union volume monitor, now we
5140 only have one native volume monitor and
5141 we use the actual volumes/drives from the
5142 child monitors instead of wrapping them
5144 * gio/gnativevolumemonitor.[ch]:
5145 Base class for native volume monitors.
5146 Includes priority and get_volume_for_mountpoint
5149 Add g_file_find_enclosing_volume
5152 Remove volume name fs attribute
5153 Add readonly fs attribute
5156 Implement readonly attribute
5157 remove volume name attribute
5158 Implement find_enclosing volume
5160 * gio/gunixmounts.c:
5161 Add a volume for "/".
5163 * gio/gunixvolume.[ch]:
5164 Set better name for /
5166 * gio/gunixvolumemonitor.[ch]:
5167 Derive from GNativeVolumeMonitor
5168 Implement get_volume_for_mountpoint
5171 GVolume typedef moved to gfile.h
5173 * gio/gvolumeprivate.h:
5174 Add g_volume_get_for_mount_path
5176 2007-10-31 Alexander Larsson <alexl@redhat.com>
5178 * gio/gunixmounts.[ch]:
5179 Add cache info to unix mount listers
5180 Make getmntent use threadsafe
5181 Add is_system_internal attribute for GUnixMount
5183 * gio/gunixvolume.c:
5184 (g_unix_volume_new):
5185 Use is_system_internal instead of own code
5187 * gio/glocaldirectorymonitor.c:
5188 * gio/gunixvolumemonitor.c:
5189 Update to new gunixmounts API
5194 2007-10-30 Alexander Larsson <alexl@redhat.com>
5197 Add volume name fsinfo attribute
5200 Read volume name info
5202 * gio/gunionvolumemonitor.c:
5203 Fix infinite loops when finalizing a union volume monitor
5205 2007-10-30 Alexander Larsson <alexl@redhat.com>
5207 * gio/goutputstream.[ch]:
5208 Add splice() with default implementation
5210 * gio/gsocketoutputstream.c:
5211 (g_socket_output_stream_write):
5212 Return error on cancellation correctly.
5214 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5216 * gio/glocalfile.c (g_local_file_trash):
5217 Do not leak a string.
5219 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5221 * gio/gfile.c (g_file_load_contents):
5222 Unref the stream after closing it.
5224 2007-10-25 Alexander Larsson <alexl@redhat.com>
5226 * gio/gioscheduler.h:
5229 2007-10-25 Alexander Larsson <alexl@redhat.com>
5233 Add g_file_has_uri_scheme and implement for local files
5235 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5237 * gio/gdesktopappinfo.c: do not leak a string.
5239 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5241 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5242 (g_local_directory_monitor_new):
5243 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5244 (g_local_file_monitor_new):
5245 Only look for the monitor type that should be used the first time
5246 and use g_qsort_with_data() instead of our own bubble sort
5249 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5252 * gio/fam/Makefile.am:
5253 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5254 * gio/fam/fam-helper.h:
5255 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5256 * gio/fam/gfamdirectorymonitor.c:
5257 * gio/fam/gfamdirectorymonitor.h:
5258 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5259 * gio/fam/gfamfilemonitor.h:
5260 * gio/glocaldirectorymonitor.c:
5261 * gio/glocaldirectorymonitor.h:
5262 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5263 * gio/glocalfilemonitor.h:
5264 * gio/inotify/Makefile.am:
5265 * gio/inotify/ginotifydirectorymonitor.c:
5266 * gio/inotify/ginotifydirectorymonitor.h:
5267 * gio/inotify/ginotifyfilemonitor.c:
5268 * gio/inotify/ginotifyfilemonitor.h:
5269 Implement the FAM and Inotify monitors as
5270 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5271 their own GIO module. GLocal(Directory|File)Monitor will use the
5272 monitor with the highest rank that is supported on that machine.
5274 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5277 Change GIO module dir to $(libdir)/gio/modules and change
5278 the log domain from GVFS to GIO. Also only export symbols starting
5279 with g_ in the resulting library.
5280 * gio/test-streams.c: (main):
5281 Set log handler for the GIO log domain.
5283 2007-10-22 Alexander Larsson <alexl@redhat.com>
5285 * gio/gfilenamecompleter.[ch]:
5286 Add g_filename_completer_set_dirs_only
5288 2007-10-22 Alexander Larsson <alexl@redhat.com>
5291 * gio/gurifuncs.[ch]:
5292 Add some simple URI helpers
5294 * gio/gfilenamecompleter.[ch]:
5295 Added object for filename (parse name actually) completion
5298 Handle ~ in parse names
5300 2007-10-17 Alexander Larsson <alexl@redhat.com>
5303 * gio/glocalfileinfo.c:
5304 Add and implement id:value attribute
5306 2007-10-17 Alexander Larsson <alexl@redhat.com>
5309 * gio/guniondrive.c:
5311 Add and implement g_drive_has_volumes
5313 2007-10-17 Alexander Larsson <alexl@redhat.com>
5316 * gio/glocalfileinfo.[ch]:
5317 Add unix:is_mountpoint and implement for local files
5319 2007-10-16 Alexander Larsson <alexl@redhat.com>
5321 * gio/gunionvolumemonitor.c:
5322 (g_union_volume_monitor_init):
5323 Fix up the unix type getting so that it works with gcc
5325 2007-10-12 Alexander Larsson <alexl@redhat.com>
5328 * gio/glocalfileinfo.c:
5329 Add thumbnail:failed to file info
5331 2007-10-12 Richard Hult <richard@imendio.com>
5333 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5334 optimizing away the get_type call (happens with some gcc versions,
5335 like the one shipped with OS X 10.4).
5337 2007-10-12 Alexander Larsson <alexl@redhat.com>
5339 * gio/glocalfileinfo.c:
5340 (_g_local_file_info_set_attribute):
5341 Fix build if not HAVE_XATTR
5342 Patch from Milosz Derezynski <internalerror@gmail.com>
5344 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5346 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5347 around for review, otherwise I would have asked you before
5350 2007-10-11 Alexander Larsson <alexl@redhat.com>
5353 Add thumbnail:path attribute
5355 * gio/glocalfileinfo.c:
5356 Implement thumbnail:path for local files
5358 2007-10-11 Alexander Larsson <alexl@redhat.com>
5360 * gio/glocalfileinfo.c:
5361 (_g_local_file_info_get):
5362 Avoid duplicate icon names
5364 2007-10-11 Alexander Larsson <alexl@redhat.com>
5366 * gio/gthemedicon.[ch]:
5367 Change g_themed_icon_get_names return type to const
5369 2007-10-10 Alexander Larsson <alexl@redhat.com>
5371 * gio/glocalfileinfo.c:
5372 Don't reference freed memory
5374 2007-10-10 Alexander Larsson <alexl@redhat.com>
5376 * gio/gfileattribute.c:
5379 * gio/glocalfileinfo.c:
5382 2007-10-10 Alexander Larsson <alexl@redhat.com>
5385 Check for NULL icons
5387 * gio/gfileattribute.c:
5388 Don't dup when getting objects (same as for string attributes)
5390 * gio/gicon.c (g_icon_equal):
5391 Safely handle NULLs in equal
5393 2007-10-10 Alexander Larsson <alexl@redhat.com>
5396 Fix c++ compilation issues
5397 Patch from Milosz Derezynski <internalerror@gmail.com>
5399 2007-10-10 Alexander Larsson <alexl@redhat.com>
5401 * programs/gio-monitor-dir.c:
5402 Don't crash if dir monitor not supported.
5404 2007-10-09 Alexander Larsson <alexl@redhat.com>
5407 Add missing G_END_DECLS
5409 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5411 * gio/gfile.c: (g_file_set_display_name),
5412 (g_file_query_settable_attributes),
5413 (g_file_query_writable_namespaces):
5414 Return NULL not FALSE on errors as the return type is a pointer.
5416 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5418 * gio/glocalfile.c: (g_local_file_monitor_file):
5419 Don't call monitor_file on the default interface vtable (which
5420 is NULL) but simply return NULL. The caller, GFile, will create a
5421 polling monitor if NULL is returned.
5423 2007-10-09 Alexander Larsson <alexl@redhat.com>
5427 * gio-unix-2.0.pc.in:
5428 Add gio-unix-2.0.pc if OS_UNIX
5431 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5433 2007-10-09 Alexander Larsson <alexl@redhat.com>
5435 * gio/gunixmounts.[ch]:
5436 Make unix mount monitoring API sane.
5437 Now its just a object with mounts_changed
5438 and mountpoints_changed signals.
5440 * gio/glocaldirectorymonitor.c:
5441 * gio/gunixvolumemonitor.c:
5442 Use new mount monitor api
5444 2007-10-09 Alexander Larsson <alexl@redhat.com>
5446 * gio/gunixmounts.[ch]:
5447 Move guess type into one call for mounts and one for mountpoints
5450 * gio/gunixvolume.c:
5453 2007-10-09 Alexander Larsson <alexl@redhat.com>
5455 * gio/gunixmounts.[ch]:
5456 Remove _ prefix in preparation to make this semi-public
5457 Hide implementation of structs
5459 * gio/glocaldirectorymonitor.c:
5461 * gio/gunixvolume.c:
5462 * gio/gunixvolumemonitor.c:
5463 Update for above API changes
5465 2007-10-08 Alexander Larsson <alexl@redhat.com>
5468 Better polling fallback. This also handles the case where we have
5469 a monitor_file implementation, but it fails.
5471 2007-10-08 Alexander Larsson <alexl@redhat.com>
5475 * gio/gunixmounts.c:
5476 * programs/gio-monitor-dir.c:
5477 * programs/gio-monitor-file.c:
5478 Added cancellable to file monitoring calls.
5479 These are really sync calls and need this.
5481 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5483 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5484 (g_local_vfs_class_init):
5485 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5486 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5488 2007-10-05 Alexander Larsson <alexl@redhat.com>
5490 * gio/gdirectorymonitorprivate.h:
5491 * gio/gfilemonitorprivate.h:
5492 * gio/gdirectorymonitor.h:
5493 * gio/gfilemonitor.h:
5494 Remove *private.h and move to the public API, so that
5495 we can do implementations outside gio (such as in gvfs)
5497 * gio/gdirectorymonitor.c:
5498 * gio/gfilemonitor.c:
5499 * gio/glocaldirectorymonitor.c:
5500 * gio/gpollfilemonitor.c:
5501 * gio/inotify/inotify-helper.c:
5502 * gio/fam/fam-helper.c:
5503 Update to the new header names
5505 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5507 * gio/gdirectorymonitor.c:
5508 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5511 2007-10-04 Alexander Larsson <alexl@redhat.com>
5513 * gio/glocalfileinfo.c (get_access_rights):
5514 Set CAN_TRASH when we can move the file.
5515 We should really also check for a parent trash dir.
5517 2007-10-04 Alexander Larsson <alexl@redhat.com>
5519 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5520 Add can_trash access attribute
5522 2007-10-04 Alexander Larsson <alexl@redhat.com>
5525 (g_local_file_trash):
5526 Create info file first. This is per-spec and allows
5527 us to actually trash directories.
5529 2007-10-02 Alexander Larsson <alexl@redhat.com>
5531 * gio/gdesktopappinfo.c:
5532 Implement the new mime support code.
5533 Always set app as handling mimetype when being set as default for it
5535 2007-10-01 Alexander Larsson <alexl@redhat.com>
5537 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5538 Fix up check for xattrs:
5540 2007-10-01 Alexander Larsson <alexl@redhat.com>
5543 (g_app_info_set_as_default_for_extension):
5544 (g_app_info_add_supports_type):
5545 (g_app_info_can_remove_supports_type):
5546 (g_app_info_remove_supports_type):
5547 Make these fail nicely if not implemented
5549 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5551 * gio/glocalfileoutputstream.c:
5552 * gio/glocalfileoutputstream.h:
5557 * programs/gio-save.c:
5558 Add a GFileCreateFlags argument to operations that can create
5561 2007-10-01 Alexander Larsson <alexl@redhat.com>
5563 * gio/gappinfo.[ch]:
5564 * gio/gdesktopappinfo.c:
5565 Add more (stubbed out) mime API needed for nautilus
5567 2007-10-01 Alexander Larsson <alexl@redhat.com>
5570 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5571 Add g_app_info_set_as_default_for_extension.
5573 * gio/gdesktopappinfo.c:
5574 Dummy for g_app_info_set_as_default_for_extension
5575 Support flags in g_app_info_create_from_commandline
5577 * gio/gwin32appinfo.c:
5579 Update for API changes
5581 * gio/gthemedicon.c:
5582 Properly NULL-terminate list of icon names
5584 2007-09-28 Alexander Larsson <alexl@redhat.com>
5586 * gio/gloadableicon.h:
5587 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5589 2007-09-28 Alexander Larsson <alexl@redhat.com>
5592 Install headers in $includedir/gio-standalone/
5594 * gio-2.0.pc.in: Added.
5595 * gio-standalone.pc.in: Removed.
5598 Renamed pkg-config file to match glib (for future move)
5599 Update to the new include dir
5602 Add more TODO comments
5604 2007-09-28 Alexander Larsson <alexl@redhat.com>
5606 * gio/gdesktopappinfo.[ch]:
5607 Expose new_from_filename
5608 Add getter for is_hidden and handle it better
5610 2007-09-28 Alexander Larsson <alexl@redhat.com>
5612 * gio/gfileinfo.[ch]:
5613 Rename g_file_size_format_for_display to
5614 g_format_file_size_for_display.
5615 Now it doesn't have the g_file prefix, so we
5616 can later move it to glib.
5618 2007-09-28 Alexander Larsson <alexl@redhat.com>
5620 * gio/gappinfo.[ch]:
5621 Add g_app_info_get_id and g_app_info_get_executable.
5622 Make all getters non-reffing
5623 Make g_app_info_launch take GFile arguments.
5624 Add must_support_uris argument to g_app_info_get_default_for_type.
5626 * gio/gwin32appinfo.c:
5627 Update to GAppInfo api changes
5629 * gio/gdesktopappinfo.c:
5630 Update to GAppInfo api changes
5631 Implement supports_xdg_startup_notify
5633 * gio/gfileicon.c (g_file_icon_get_file):
5634 Make getter non-reffing.
5639 2007-09-27 Alexander Larsson <alexl@redhat.com>
5641 * gio/gfileinfo.[ch]:
5642 Add g_file_size_format_for_display helper
5644 2007-09-27 Alexander Larsson <alexl@redhat.com>
5646 * gio/glocalfileinfo.c:
5647 Set UNIX_GID from gid, not from uid
5649 2007-09-27 Alexander Larsson <alexl@redhat.com>
5652 Add g_file_set_attributes_async
5654 2007-09-27 Alexander Larsson <alexl@redhat.com>
5656 * gio/glocalfile.c (g_local_file_set_display_name):
5657 Fix set_display_name to actually rename to the right place.
5658 Use lstat to look for existing files so we don't overwrite
5661 2007-09-26 Alexander Larsson <alexl@redhat.com>
5664 Add g_file_set_display_name_async()
5666 2007-09-26 Alexander Larsson <alexl@redhat.com>
5669 Add load_partial_contents async calls
5672 Make internal function static
5674 2007-09-26 Alexander Larsson <alexl@redhat.com>
5676 * gio/glocalfileinfo.c:
5677 Correctly detect broken symlinks
5679 2007-09-26 Alexander Larsson <alexl@redhat.com>
5681 * gio/gcancellable.c (g_cancellable_cancel):
5682 Allow cancel on NULL cancellable
5684 2007-09-25 Alexander Larsson <alexl@redhat.com>
5686 * gio/gsimpleasyncresult.c:
5687 Don't allocate g_error manually.
5688 Fixes g_slice/g_new mixup crash
5690 2007-09-25 Alexander Larsson <alexl@redhat.com>
5692 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5693 Actually set active_backend.
5694 This means the monitor will be cancelled correctly.
5696 2007-09-25 Alexander Larsson <alexl@redhat.com>
5698 * gio/gdirectorymonitor.c:
5699 Set timeout to NULL when destroying
5701 2007-09-25 Alexander Larsson <alexl@redhat.com>
5704 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5705 that is a better description of the error.
5707 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5709 * gio/gvfs.c: (g_vfs_get_local):
5710 Make the local vfs variable static. The same instance should
5713 2007-09-24 Alexander Larsson <alexl@redhat.com>
5715 * gio/glocalfileinfo.c:
5716 Pass in actual length read into sniffer, not the length
5719 2007-09-21 Alexander Larsson <alexl@redhat.com>
5721 * gio/gfileenumerator.c:
5724 * gio/gfileinputstream.c:
5725 * gio/gfileoutputstream.c:
5726 * gio/ginputstream.c:
5727 * gio/goutputstream.c:
5728 Don't crash if async callbacks are NULL
5730 2007-09-20 Alexander Larsson <alexl@redhat.com>
5733 Add async enumerate_children method and default
5736 2007-09-20 Alexander Larsson <alexl@redhat.com>
5739 Add g_file_contains_file & g_file_get_relative_path, since they
5740 were needed for nautilus.
5741 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5746 Implement new methods
5748 2007-09-17 Alexander Larsson <alexl@redhat.com>
5751 * gio/gfileinputstream.[ch]:
5752 * gio/gfileoutputstream.[ch]:
5754 * gio/glocalfileenumerator.[ch]:
5755 * gio/glocalfileinfo.[ch]:
5756 * gio/glocalfileinputstream.c:
5757 * gio/glocalfileoutputstream.c:
5758 * gio/gpollfilemonitor.c:
5759 * programs/gio-copy.c:
5760 * programs/gio-info.c:
5761 * programs/gio-move.c:
5762 Rename get_file_info to query_info() to make it clearer
5763 that these are not simple getters, but do i/o.
5765 2007-09-17 Alexander Larsson <alexl@redhat.com>
5767 * gio/gdatainputstream.[ch]:
5768 * gio/test-streams.c:
5769 Use _read_XXX instead of _get_XXX for the i/o calls
5772 2007-09-17 Alexander Larsson <alexl@redhat.com>
5775 Added needed stuff to TODO comment
5777 2007-09-17 Alexander Larsson <alexl@redhat.com>
5779 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5780 Don't error out removing the backup copy if it doesn't
5783 2007-09-14 Alexander Larsson <alexl@redhat.com>
5785 * programs/Makefile.am:
5786 * programs/gvfs-*.c:
5788 Renamed apps from gvfs-xxx to gio-xxx.
5790 2007-09-14 Alexander Larsson <alexl@redhat.com>
5793 * gio/gfileoutputstream.[ch]:
5794 * gio/glocalfileoutputstream.c:
5795 * programs/gvfs-save.c:
5796 g_file_output_stream_get_etag doesn't do i/o, so remove
5797 cancellation and error.
5799 2007-09-14 Alexander Larsson <alexl@redhat.com>
5802 Add new_etag output to replace_contents functions
5804 2007-09-14 Alexander Larsson <alexl@redhat.com>
5806 * gio/gfileoutputstream.[ch]:
5807 Add async get_file_info and default implementation
5809 2007-09-14 Alexander Larsson <alexl@redhat.com>
5811 * gio/gfileinputstream.c:
5812 Implement fallback wrapper for async get_file_info
5814 2007-09-14 Alexander Larsson <alexl@redhat.com>
5817 Add etag out argument to load_contents
5822 2007-09-14 Alexander Larsson <alexl@redhat.com>
5824 * gio/gcontenttype.c (looks_like_text):
5825 Whitespace like tab, cr and lf do not make the
5828 2007-09-14 Alexander Larsson <alexl@redhat.com>
5830 * gio/gfileinputstream.[ch]:
5831 Add async get_file_info.
5833 2007-09-13 Alexander Larsson <alexl@redhat.com>
5835 * gio/goutputstream.c (g_output_stream_write_all):
5836 Allow NULL for bytes_written
5838 2007-09-13 Alexander Larsson <alexl@redhat.com>
5840 * gio/gmemoryinputstream.[ch]:
5841 Add accessors for data
5843 2007-09-13 Alexander Larsson <alexl@redhat.com>
5845 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5846 Don't crash if length is NULL