1 2009-03-26 Carlos Garnacho <carlosg@gnome.org>
3 Bug 575270 – GVolumeMonitor::mount-pre-unmount not being emitted
5 * gunixmount.c (eject_unmount_cb) (eject_unmount_do_cb)
6 (eject_unmount_do): Emit ::mount-pre-unmount and wait 500msec before
7 actually trying to unmount.
9 2009-03-17 Colin Walters <walters@redhat.com>
11 Bug 575708 - runaway inotify madness ...
13 * gfilemonitor.c: Queue up events in a local list and
14 fire one idle, instead of queuing lots of individual
15 idles which has bad performance behavior.
17 2009-03-17 Alexander Larsson <alexl@redhat.com>
19 * glocalfileinputstream.c:
20 * glocalfileoutputstream.c:
21 fix attributes argument of query_info methods to
24 2009-03-16 Alexander Larsson <alexl@redhat.com>
26 Bug 575555 – Use fsync() when replacing files to avoid data loss on crash
28 * glocalfileoutputstream.c:
29 (g_local_file_output_stream_close):
30 (_g_local_file_output_stream_replace):
31 fsync temp file before closing if replacing target file
33 2009-03-13 Matthias Clasen <mclasen@redhat.com>
35 * === Released 2.20.0 ===
37 2009-03-04 Alexander Larsson <alexl@redhat.com>
39 Bug 573843 – g_get_current_dir returns non-absolute path
41 * glocalfile.c (canonicalize_filename):
42 Handle the case where g_get_current_dir() returns a non-absolute path.
44 2009-03-04 Alexander Larsson <alexl@redhat.com>
46 Bug 573970 – crash in gunixvolumemonitor:update_mounts when unmounting
48 * gunionvolumemonitor.c:
49 (g_union_volume_monitor_dispose):
50 Run dispose on child monitors when disposing.
52 * gunixvolumemonitor.c:
53 Remove all volumes and mount on dispose to avoid circular
54 dependencies not freeing the monitor
56 2009-03-03 Alexander Larsson <alexl@redhat.com>
58 Bug 561172 – gnome-open fails on local URIs with anchors
61 Don't force uris to filenames if the uri has an anchor, because
62 that would strip the anchor.
65 Strip anchor from file:// uris when creating GFile, since
66 g_filename_from_uri doesn't handle them.
68 2009-03-03 Alexander Larsson <alexl@redhat.com>
70 Bug 562613 – Missing const modifier in string parameters
72 * gfileinputstream.[ch]:
73 * gfileoutputstream.[ch]:
74 * glocalfileinfo.[ch]:
75 Make string arguments const if used as such.
77 2009-03-03 Alexander Larsson <alexl@redhat.com>
79 * glocalfile.c (g_local_file_query_filesystem_info):
80 Handle filesystems no supporting reporting how much is free.
81 This fixes bug 573454 where the filesystem not supporting this
82 is the gvfs smb backend over the fuse filesystem.
84 2009-03-02 Matthias Clasen <mclasen@redhat.com>
86 * === Released 2.19.10 ===
88 2009-03-02 Matthias Clasen <mclasen@redhat.com>
90 * === Released 2.19.9 ===
92 2009-03-02 Matthias Clasen <mclasen@redhat.com>
94 * gioenums.h: Add a Since: tag
96 2009-03-01 Matthias Clasen <mclasen@redhat.com>
98 Bug 573658 – Deadlock in giomodule.c
100 * giomodule.c: Use a separate lock for extension point registration
101 to avoid deadlock. Discovered by Torsten Schoenfeld
103 2009-03-01 Matthias Clasen <mclasen@redhat.com>
105 * gdatainputstream.c: Fix docs
107 2009-02-27 Matthias Clasen <mclasen@redhat.com>
109 Bug 573421 – Clarify message format in GMountOperation
111 * gmountoperation.c: Document that the first line of a
112 multi-line message should be interpreted as a heading.
114 2009-02-27 David Zeuthen <davidz@redhat.com>
116 Bug 573462 – GEmblemedIcon leak
118 * gemblemedicon.c (g_emblemed_icon_finalize):
119 Avoid leaking a GList.
121 2009-02-27 Alexander Larsson <alexl@redhat.com>
125 Split out the extension point registration code to its
129 Ensure extension points are registered before extending it.
130 It might not have happened yet if g_vfs_get_local() is called.
132 2009-02-26 Alexander Larsson <alexl@redhat.com>
134 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
135 * gmemoryoutputstream.c:
136 Track actual valid size, even if we later seek back.
138 * tests/memory-output-stream.c:
141 2009-02-26 Alexander Larsson <alexl@redhat.com>
143 Bug 543183 – Clarify docs for g_file_has_prefix
145 * gfile.c: (g_file_has_prefix):
146 Clarify how the prefix matching works.
148 2009-02-26 Alexander Larsson <alexl@redhat.com>
151 Support desktop file key X-GIO-NoFuse which disables
152 use of fuse pathnames for %u and %U arguments.
154 2009-02-25 Alexander Larsson <alexl@redhat.com>
156 Bug 570073 – Add support for reading filesystems on Interix
158 * gunixmounts.c (_g_get_unix_mounts):
159 Support Interix. Patch from Fabian Groffen
161 2009-02-25 Paolo Borelli <pborelli@katamail.com>
163 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
165 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
167 2009-02-23 Alexander Larsson <alexl@redhat.com>
170 Remove accidentally commited spew
172 2009-02-20 Alexander Larsson <alexl@redhat.com>
175 (g_content_type_guess):
176 Don't ever sniff desktop files when the filename is known.
177 In other words, only allow desktop files with the .desktop extension
178 and when the filename isn't known.
179 This is a security precaution since desktop files can execute
180 arbitrary code when launched and we don't want to allow them to
181 try and hide as another type. There is no legit reason to not
182 have the .desktop extension anyway.
184 2009-02-19 Alexander Larsson <alexl@redhat.com>
186 Bug 549298 – impossible to copy files with p (pipe) flag
189 (file_copy_fallback):
190 Error out if the source file is a special file
192 2009-02-18 Alexander Larsson <alexl@redhat.com>
194 Bug 560564 – Replacing a symlink with its linked file truncates the original file
197 Add G_FILE_CREATE_REPLACE_DESTINATION
199 * glocalfileoutputstream.c:
200 (handle_overwrite_open):
201 (_g_local_file_output_stream_replace):
202 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
205 (file_copy_fallback):
206 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
209 2009-02-17 Ryan Lortie <desrt@desrt.ca>
211 * gfileinfo.c: unref the destination's attribute matcher before
214 2009-02-17 Matthias Clasen <mclasen@redhat.com>
216 * === Released 2.19.8 ===
218 2009-02-17 Matthias Clasen <mclasen@redhat.com>
220 * gio.symbols: Add missing exports for new API
222 * gdatainputstream.c: Add missing Since: tags.
224 2009-02-16 Matthias Clasen <mclasen@redhat.com>
226 * === Released 2.19.7 ===
228 2009-02-16 Matthias Clasen <mclasen@redhat.com>
230 * gmountoperation.[hc]: Add an "aborted" signal to abort a
231 mount operation from the backend side.
233 * gvolume.h: Add docs regarding the "aborted" signal.
235 2009-02-16 Ryan Lortie <desrt@desrt.ca>
237 Bug 505042 – add file attribute for actually used file size in bytes
239 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
240 "standard::allocated-size"
241 * gfileattribute.c: document
242 * glocalfileinfo.c: set the allocated size from st_blocks * 512
244 2009-02-16 Ryan Lortie <desrt@desrt.ca>
246 Bug 571598 – GAsyncResult with NULL gobject
248 * gsimpleasyncresult.c: remove various assertions and add some checks
249 to allow for a NULL source_object in GSimpleAsyncResult.
251 2009-02-11 Matthias Clasen <mclasen@redhat.com>
253 Bug 541225 – Can't compile gio on AIX : duplicate case value in
256 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
257 Reported by Nicolas Joseph
259 2009-02-04 Alexander Larsson <alexl@redhat.com>
261 Bug 566747 - URIs opened with firefox %u load as local files
263 * gdummyfile.c (g_dummy_file_get_path):
264 Dummy files are never used for local paths, so always return NULL
267 2009-02-02 Matthias Clasen <mclasen@redhat.com>
269 * === Released 2.19.6 ===
271 2009-01-31 Paolo Borelli <pborelli@katamail.com>
273 * glocalfileinfo.c: plug a tiny mem leak.
275 2009-01-29 Ryan Lortie <desrt@desrt.ca>
277 * gioerror.c (g_io_error_from_errno): handle all possible cases of
278 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
280 2009-01-28 Ryan Lortie <desrt@desrt.ca>
282 Bug 568575 – _async functions for GDataInputStream
284 * gdatainputstream.h:
285 * gdatainputstream.c: add _async versions of read_line and read_until.
287 * ../docs/reference/gio/gio-sections.txt: add new functions
288 * tests/sleepy-stream.c: new test case for async read line
289 * tests/Makefile.am: add new test
291 2009-01-22 Ryan Lortie <desrt@desrt.ca>
293 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
295 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
296 g_buffered_input_stream_fill): check for count < -1 instead of count <
297 0 and copy modified check to non-async version for consistency.
298 document the "count = -1" API.
300 2009-01-22 Ryan Lortie <desrt@desrt.ca>
302 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
304 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
305 after we have successfully read data from the base stream
307 2009-01-20 Ryan Lortie <desrt@desrt.ca>
309 Bug 568394 – dropping the last reference to a stream filter closes the
312 * gfilterinputstream.h:
313 * gfilterinputstream.c: add "close-base-stream" property and only
314 close the base stream if it is true. issue async close callbacks from
315 correct source object.
316 * gfilteroutputstream.h:
317 * gfilteroutputstream.c: add a "close-base-stream" property and only
318 close the base stream if it is true. issue async close callbacks from
319 correct source object.
320 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
321 before closing the base stream. fix invalid source tag comparison in
322 close_async (was comparing to flush_async).
323 * ../docs/reference/gio/gio-sections.txt:
325 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
326 * tests/filter-streams.c: new test cases
327 * tests/Makefile.am: add new test
328 * tests/.gitignore: add new test
330 2009-01-19 Matthias Clasen <mclasen@redhat.com>
332 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
334 2009-01-19 Matthias Clasen <mclasen@redhat.com>
336 * === Released 2.19.5 ===
338 2009-01-19 Matthias Clasen <mclasen@redhat.com>
340 * gappinfo.h: Document get_commandline vfunc
342 2009-01-19 Matthias Clasen <mclasen@redhat.com>
344 * gunixmounts.c: Some stylistic fixes.
346 2009-01-08 Matthias Clasen <mclasen@redhat.com>
348 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
349 functions in non-UTF8 locale
351 * xdgmime/xdgmimecache.c:
352 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
354 2009-01-08 Matthias Clasen <mclasen@redhat.com>
356 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
358 2009-01-07 Matthias Clasen <mclasen@redhat.com>
360 Bug 566770 – error code 0 for Too many open files is useless
362 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
363 Requested by Olivier Sessink.
365 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
367 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
368 G_IO_ERROR_TOO_MANY_OPEN_FILES.
370 2009-01-05 Matthias Clasen <mclasen@redhat.com>
372 * === Released 2.19.4 ===
374 2009-01-05 Dan Winship <danw@gnome.org>
376 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
377 "const char **" to avoid a warning.
379 * gemblem.c (g_emblem_from_tokens):
380 * gemblemedicon.c (g_emblemed_icon_from_tokens):
381 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
384 2009-01-05 Matthias Clasen <mclasen@redhat.com>
386 Bug 566064 – Add NOATIME flag to query_info_flags
388 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
389 sniffing for mime types. Based on a patch by A. Walton
391 2009-01-05 Ryan Lortie <desrt@desrt.ca>
393 * tests/.gitignore: improve
394 * tests/Makefile.am: add new simple-async-result test
395 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
397 2009-01-05 Ryan Lortie <desrt@desrt.ca>
400 * ../docs/reference/gio/gio-sections.txt:
401 * gsimpleasyncresult.h:
402 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
403 Implementation by Dan Winship. Closes #566170.
405 2008-12-31 Matthias Clasen <mclasen@redhat.com>
409 * gunixinputstream.c:
410 * gunixoutputstream.c: Add a note about being UNIX-specific.
412 2008-12-15 Matthias Clasen <mclasen@redhat.com>
414 * === Released 2.19.3 ===
416 2008-12-12 Dan Winship <danw@gnome.org>
418 * pltcheck.sh: make this work on x86_64
420 2008-12-12 Ryan Lortie <desrt@desrt.ca>
422 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
425 2008-12-12 Ryan Lortie <desrt@desrt.ca>
427 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
428 multiple mount entries match the requested path
430 2008-12-10 Alexander Larsson <alexl@redhat.com>
432 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
433 g_simple_async_result_run_in_thread
435 * gsimpleasyncresult.c:
436 Make g_simple_async_result_run_in_thread check cancellation before
437 calling out to the user in the callback. This means we guarantee
438 reporting cancels of async operations from the main threads, which
439 is probably more in line with what users expect.
441 Note that there are still no such guarantees for cancelling sync
442 operations or cancelling async operation from outside the main
443 thread. Furthermore, the exact behaviour of async implementations
444 not using run_in_thread may differ.
446 2008-12-09 Alexander Larsson <alexl@redhat.com>
448 Bug 515777 - incorrect date&time on copy
451 (g_local_file_class_init):
452 Copy mtime by default
455 Change docs about G_FILE_COPY_ALL_METADATA to not mention
458 2008-12-08 Matthias Clasen <mclasen@redhat.com>
460 Bug 558298 – Hide ecryptfs mounts
462 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
463 so that the desktop does not show both the mount and the target
464 directory. Patch by Martin Pitt
466 2008-12-08 Matthias Clasen <mclasen@redhat.com>
468 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
472 * gunixinputstream.[hc]:
473 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
474 including getters and setters. Patch by Maciej Piechotka
476 2008-12-07 Matthias Clasen <mclasen@redhat.com>
478 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
480 * tests/live-g-file.c: Support compilers that don't understand
481 ISO C varargs macros. Patch by Eric Lamarque
483 2008-12-07 Matthias Clasen <mclasen@redhat.com>
485 Bug 526320 – should not list mounts that the user doesn't have
488 gunixmounts.c: Use g_access() to check accessibility of local devices.
491 2008-12-01 Matthias Clasen <mclasen@redhat.com>
493 * === Released 2.19.2 ===
495 2008-12-01 Matthias Clasen <mclasen@redhat.com>
497 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
498 behaviour change, and update the docs instead, to avoid breaking
501 2008-12-01 Matthias Clasen <mclasen@redhat.com>
503 * === Released 2.19.1 ===
505 2008-12-01 Alexander Larsson <alexl@redhat.com>
509 * gunionvolumemonitor.c:
511 Add and document g_mount_is_shadowed plus calls
512 to set/unset a mount as shadowed
514 2008-11-28 Matthias Clasen <mclasen@redhat.com>
516 * gio/tests/g-icon.c: Comment out two failing tests
518 2008-11-28 Matthias Clasen <mclasen@redhat.com>
520 Bug 555486 – No way to recover command line from GAppInfo
523 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
524 by Hans Petter Jansson.
526 * gdesktopappinfo.c: And implement it here.
528 2008-11-28 Christian Dywan <christian@imendio.com>
530 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
532 2008-11-28 Matthias Clasen <mclasen@redhat.com>
534 Bug 559633 – gtk_image_new_from_gicon does not always work for
537 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
538 extensions on icon names. Proposed by Axel von Bertoldi.
540 2008-11-28 Matthias Clasen <mclasen@redhat.com>
542 Bug 548163 – Nautilus displays wrong error message for too long file
545 * glocalfile.c (g_local_file_set_display_name): Correctly set
546 error conditions if the new name is e.g. too long. Reported
547 by Leonardo Ferreira Fontenelle.
549 2008-11-28 Matthias Clasen <mclasen@redhat.com>
551 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
554 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
555 documented and include the line end in the returned string.
556 Pointed out by Paul Pogonyshev.
558 * tests/data-input-stream.c: Fix the read_line test to test the
559 documented behaviour.
561 2008-11-28 Matthias Clasen <mclasen@redhat.com>
563 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
564 files that have been created by g_app_info_create_from_commandline.
566 2008-11-28 Matthias Clasen <mclasen@redhat.com>
568 Bug 541715 – win32 : patch for warnings and signature problems in
571 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
574 2008-11-28 Matthias Clasen <mclasen@redhat.com>
576 Bug 562393 – g_buffered_input_stream_read_byte broken if data
579 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
580 handling of buffered content. Patch by Philip Withnall
582 * tests/buffered-input-stream.c: Add a testcase for this bug.
583 * tests/Makefile.am: And build it
585 2008-11-28 Matthias Clasen <mclasen@redhat.com>
587 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
590 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
591 '/' away. Spotted by Dan Williams.
593 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
595 Bug 561375 – Leaks mountpoint description
597 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
600 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
602 Bug 561352 – Leak of icon description
604 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
607 2008-11-14 Matthias Clasen <mclasen@redhat.com>
609 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
611 2008-11-12 Tor Lillqvist <tml@novell.com>
613 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
615 * win32/gwinhttpvfs.h: Move the set of function pointers to
616 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
617 pointer to that in the GWinHttpVfsClass.
619 * win32/gwinhttpvfs.c: Move the lookup of functions from
620 winhttp.dll into a function of its own, that stores the pointers
621 in a separate GWinHttpDllFuncs variable. Add two bookeeping
622 booleans lookup_done and funcs_found.
624 Don't call g_io_extension_point_implement() to register the
625 winhttp extension unless winhttp.dll has been successfully loaded
626 and the required functions found in it.
628 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
629 winhttp.dll correspondingly.
631 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
633 reviewed by: Alexander Larsson <alexl@redhat.com>
635 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
636 clearer about the behavior when there's no more content to read.
638 2008-10-27 Federico Mena Quintero <federico@novell.com>
640 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
642 2008-10-27 Tor Lillqvist <tml@novell.com>
644 Bug 557592 - Missing include in gwinhttpfile.c
646 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
649 2008-10-24 Matthias Clasen <mclasen@redhat.com>
651 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
653 * fam/fam-helper.c: Fix a memory leak and formatting issues.
654 Reported by Daniel Marjamäki
656 2008-10-23 Matthias Clasen <mclasen@redhat.com>
658 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
660 2008-10-23 Alexander Larsson <alexl@redhat.com>
662 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
665 (_g_local_file_info_get):
666 Don't return the fallback icon (text-x-generic) for all files.
667 This is causing problems with theme icon lookup and custom mime
668 icons, as the generic fallback overrides custom mime icons in
671 This is a slight change as applications might not get an icon wher
672 they previously did. But there is no guarantee to get on neither before
673 or after this change, so it should not break applications. Changes
674 to nautilus and gtk+ will be done to manually use the generic fallback
675 icon if no icon is found, but this is only required for rare cases.
677 2008-10-21 Alexander Larsson <alexl@redhat.com>
680 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
682 2008-10-21 Alexander Larsson <alexl@redhat.com>
684 Bug 555740 - gicon serialization
685 Based on patch from David Zeuthen
689 Add g_icon_to_string() and g_icon_new_for_string().
695 Implement icon serialization for built-in icon types
699 Added GIcon serialization test
701 2008-10-16 Matthias Clasen <mclasen@redhat.com>
703 * === Released 2.19.0 ===
705 2008-10-16 Matthias Clasen <mclasen@redhat.com>
707 Bug 556422 – g_file_enumerator_next_file: unclear whether return
708 value needs to be freed
710 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
711 the return value docs. Pointed out by Armin Burgmeier
713 2008-10-14 Matthias Clasen <mclasen@redhat.com>
715 Bug 556334 – Warning when building without selinux support
717 * glocalfileinfo.c: Avoid compiler warnings when selinux is
718 disabled. Patch by Pascal Terjan
720 2008-10-14 Matthias Clasen <mclasen@redhat.com>
722 Bug 556335 – make check fails in abicheck.sh
724 * gio.symbols: Add g_file_attribute_info_list_get_type.
725 Pointed out by Pascal Terjan.
727 2008-10-13 Alexander Larsson <alexl@redhat.com>
730 When adding an application as handling a mime type (but
731 not as the default), copy the full list of desktop ids handling
732 that type in before adding the new one on the end of the list.
733 This means we're not accidentally changing the default by overriding
734 the info from the later directories in the search path.
736 Also, fixes small leak of removed_entries.
738 2008-10-12 David Zeuthen <davidz@redhat.com>
741 * gunionvolumemonitor.c:
743 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
745 2008-10-10 Alexander Larsson <alexl@redhat.com>
747 * gfileattribute.c (escape_byte_string):
748 Upper half of byte is >> 4, not >> 8.
749 Found by Kjartan Maraas via sparse
751 2008-10-10 Matthias Clasen <mclasen@redhat.com>
753 Bug 555711 – Wrong fallback order of mimetype icons
755 * gcontenttype.c: Don't prefer generic icons over
756 default mimetype icons.
758 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
759 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
761 Patch by Krysztof Kosiński
763 2008-10-10 Matthias Clasen <mclasen@redhat.com>
765 Bug 555121 – Improved build-time handling of gio module-dir
767 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
768 * Makefile.am: Create the module dir.
770 2008-10-10 Matthias Clasen <mclasen@redhat.com>
772 * gio/glocalfileinfo.c:
773 * gio/tests/live-g-file.c:
774 * gio/gsimpleasyncresult.c: Fix gcc warnings.
776 2008-10-09 Alexander Larsson <alexl@redhat.com>
778 * gunixinputstream.c (g_unix_input_stream_read):
779 Actually return -1 in case of cancelled, not old res value.
781 2008-10-06 Colin Walters <walters@verbum.org>
783 Bug 554745 - GFileAttributeInfoList should be boxed
785 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
786 for convenience of bindings.
787 * gio/gfileattribute.h: Prototype it.
789 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
791 Bug 554970 – segfault when update-desktop-database is not available
794 * gdesktopappinfo.c (run_update_command): Have the error set before
797 2008-10-01 David Zeuthen <davidz@redhat.com>
799 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
800 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
801 instead of the gio URI (such as sftp://foo/file.avi) when using
802 g_app_info_launch() and friends. With a sufficiently recent gvfs,
803 apps using gio+gvfs will map the FUSE file:// URI back to the gio
804 URI (and thus bypass the fuse daemon) thanks the patch from bug
805 #530654. Since Nautilus is an user of g_app_info_launch() it
806 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
807 when launced via the file manager. Win. Fixes bug #528670.
809 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
810 mapping to the description of GAppInfo.
812 2008-09-30 Tor Lillqvist <tml@novell.com>
814 * tests/Makefile.am: Build desktop-app-info only on Unix.
816 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
817 g_critical(). Pass a large enough result buffer to
818 GetVolumePathNameW(). Just use MAX_PATH.
820 2008-09-29 David Zeuthen <davidz@redhat.com>
822 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
824 2008-09-26 Dan Winship <danw@gnome.org>
826 * tests/data-input-stream.c:
827 * tests/data-output-stream.c:
828 * tests/live-g-file.c:
829 * tests/memory-input-stream.c:
830 * tests/memory-output-stream.c: Use g_assert_error() and
833 2008-09-26 Matthias Clasen <mclasen@redhat.com>
835 Bug 545350 – GAppInfo deletion
836 Bug 545351 – Reset associations for content type
839 * gappinfo.[hc]: New functions g_app_info_can_delete,
840 g_app_info_delete and g_app_info_reset_type_associations.
843 * gwin32appinfo.c: Implementations of these.
846 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
848 2008-09-26 Dan Winship <danw@gnome.org>
850 Bug 505361 – gunixinputstream.c assumes poll() available
851 Bug 509446 – portable blocking gio cancellation
853 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
854 GPollFD for a cancellable (which is slightly more complicated on
857 * gunixinputstream.c (g_unix_input_stream_read):
858 * gunixoutputstream.c (g_unix_output_stream_write): Use
859 g_cancellable_make_pollfd() and g_poll() rather than using poll()
862 * tests/unix-streams.c: test of GUnixInputStream,
863 GUnixOutputStream, and GCancellable.
865 2008-09-26 Dan Winship <danw@gnome.org>
867 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
868 cast to stop a gcc warning
870 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
873 2008-09-25 Dan Winship <danw@gnome.org>
875 Bug 553426 - cancellable clarifications
877 * gcancellable.c (g_cancellable_class_init): Add a note to the
878 "cancelled" signal docs warning about thread-safety issues
879 (g_cancellable_cancel): Note that cancelling an asynchronous
880 operation takes effect asynchronously, not immediately.
882 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
884 * gioenums.h: Add new GFileCopyFlag, to leave target file with
885 default perms, instead of setting the source file perms, in a copy
888 * gfile.c (g_file_copy_attributes)
889 (build_attribute_list_for_copy)
890 (should_copy): Not copy "unix::mode" attribute if we have received
891 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
893 2008-09-20 Matthias Clasen <mclasen@redhat.com>
895 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
897 2008-09-17 Matthias Clasen <mclasen@redhat.com>
899 * === Released 2.18.1 ===
901 2008-09-16 Michael Natterer <mitch@imendio.com>
903 * gcontenttype.c (g_content_type_guess): can't assign the return
904 value of g_strdupv() to an array. Fill the array manually with
905 const strings instead (it is never freed anyway). Fixes the
906 build. Also fixed indentation.
908 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
910 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
911 Fix trivial typo to unbreak the build (there was a colon
912 instead of a semicolon at the end of a statement).
914 2008-09-15 Matthias Clasen <mclasen@redhat.com>
916 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
919 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
922 2008-09-15 Matthias Clasen <mclasen@redhat.com>
924 Bug 551681 – g_content_type_guess() too naive with filenames
926 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
927 at the end of the filename, and declare it a directory.
928 Patch by Bastien Nocera
930 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
932 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
935 * gdesktopappinfo.c: add a note in the docs clarifying what the
936 "filename" parameter really is.
938 2008-09-12 Tor Lillqvist <tml@novell.com>
940 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
941 FormatMessage() etc here. Call g_win32_error_message() instead
942 which already does all that. Besides, the code was broken as it
943 called the default "A" version of FormatMessage() but still
944 thought it produced a wide string.
946 2008-09-12 Michael Natterer <mitch@imendio.com>
948 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
949 in the documentation.
951 2008-09-08 Christian Neumair <cneumair@gnome.org>
953 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
954 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
955 Use non-blocking pipe for mount helper I/O. Fixes #550647.
957 2008-09-06 Matthias Clasen <mclasen@redhat.com>
959 Bug 551149 – xdgmime mem leak
961 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
962 a memory leak. Patch by Christian Persch
964 2008-09-04 Tor Lillqvist <tml@novell.com>
966 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
969 2008-09-02 Matthias Clasen <mclasen@redhat.com>
971 * === Released 2.18.0 ===
973 2008-09-02 Michael Natterer <mitch@imendio.com>
975 * *.h: big header formatting cleanup: indentation, vtable
976 formatting, consistent spacing in (* vfunc), trailing whitespace
977 removal. Formatting should be pretty consistent in all GIO headers
980 2008-09-02 Matthias Clasen <mclasen@redhat.com>
982 * gmount.h: Document guess_content_type sync vfunc.
984 2008-09-02 Michael Natterer <mitch@imendio.com>
986 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
987 fix parent_class member to be GFilterOutputStreamClass (not
988 GOutputStreamClass). Drop three pointers of padding, which is
989 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
990 so the class struct size stays the same.
992 2008-09-02 Matthias Clasen <mclasen@redhat.com>
994 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
996 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
997 nonexisting return values. Pointed out by Cosimo Cecchi.
999 2008-08-23 Tor Lillqvist <tml@novell.com>
1001 Bug 548988 - g_file_replace fails on Windows when the target file
1004 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
1005 Windows, close the file before potentially renaming it (in case we
1006 have been writing to a file with a temporary name).
1008 (g_local_file_output_stream_close, handle_overwrite_open): Use
1009 GLocalFileStat instead of plain struct stat, for passing to
1010 _g_local_file_info_create_etag(). Thus also use _fstati64()
1011 instead of plain fstat() on Windows.
1013 2008-08-18 Matthias Clasen <mclasen@redhat.com>
1015 * === Released 2.17.7 ===
1017 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
1019 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
1022 2008-08-13 Tor Lillqvist <tml@novell.com>
1024 * win32/gwinhttpvfs.c
1025 * win32/gwinhttpvfs.h
1026 * win32/gwinhttpfile.c
1027 * win32/gwinhttpfileinputstream.c
1028 * win32/gwinhttpfileoutputstream.c: Refactor some common code
1029 snippets into helper functions. Check HTTP response status
1030 codes. Implement g_winhttp_file_query_info(), looking at
1031 Content-Length, Content-Type and Last-Modified.
1033 * win32/winhttp.h: Add some symbolic constants that are not
1034 publicly documented. Just a handful, so it should be OK to use
1035 information from the Windows SDK's headers.
1037 2008-08-13 Tor Lillqvist <tml@novell.com>
1039 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
1042 * win32/gwin32directorymonitor.c
1043 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
1045 2008-08-13 Matthias Clasen <mclasen@redhat.com>
1048 * goutputstream.c: Add intro docs.
1050 2008-08-13 Tor Lillqvist <tml@novell.com>
1052 * win32/gwinhttpfileoutputstream.c
1053 (g_winhttp_file_output_stream_write): Don't write the
1054 Content-Length header ourselves, WinHttpSendRequest() takes care
1055 of that when the dwTotalLength parameter is non-zero. Increment
1056 offset by the number of actual bytes sent, although I wonder if
1057 such a scenario is possible where less than requested would be
1058 sent and accepted by the server without errors.
1060 2008-08-13 Tor Lillqvist <tml@novell.com>
1062 * win32/gwinhttpvfs.c
1063 * win32/gwinhttpvfs.h
1064 * win32/gwinhttpfile.c
1065 * win32/gwinhttpfile.h
1066 * win32/gwinhttpfileinputstream.c
1067 * win32/gwinhttpfileinputstream.h
1068 * win32/gwinhttpfileoutputstream.c
1069 * win32/gwinhttpfileoutputstream.h: New files implementing
1070 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1071 Windows. The implementation uses the WinHttp API. Both reading and
1072 writing are supported, i.e. GET and PUT requests. When writing,
1073 each write call is done using a separate PUT request with a
1074 Content-Range header. Requests for file URIs and plain pathnames
1075 are forwarded to GLocalVfs.
1077 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1078 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1079 requiring people to download the Windows SDK just for this one
1080 header is not reasonable.
1082 * win32/Makefile.am: Add above files.
1084 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1085 the plumbing for the above.
1087 2008-08-11 Sven Neumann <sven@gimp.org>
1089 * gfilenamecompleter.c
1090 * glocaldirectorymonitor.c
1092 * gunionvolumemonitor.c
1096 * gunixvolumemonitor.c
1099 * gwin32volumemonitor.c: use canonical signal names.
1101 2008-08-11 Tor Lillqvist <tml@novell.com>
1103 * Makefile.am: Put a list of the platform-dependent .la files in
1104 the subdirectories in the platform_deps Make variable, and make
1105 libgio-2.0.la depend on that, so that it gets relinked if one of
1106 the dependent libraries has changed.
1108 2008-08-11 Tor Lillqvist <tml@novell.com>
1110 * Makefile.am (platform_libadd): Remove -lwininet which had been
1111 added by mistake. We will probably eventually be using WinHTTP,
1112 not the older WinInet anyway. (Actually I am working on it.)
1114 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1116 Bug 547080 – g_file_copy leaks expected errors
1118 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1119 before trying the next fallback routine.
1121 2008-08-09 Loïc Minier <lool@dooz.org>
1123 Bug 535124 – umask 002 not being applied for new directories, new
1124 files get the correct umask
1126 * gfile.c (g_file_make_directory)
1127 (g_file_make_directory_with_parents): Document ownership and
1128 permissions of newly created directories as being the default
1129 ones of the process.
1131 2008-08-08 Loïc Minier <lool@dooz.org>
1133 Bug 535124 – umask 002 not being applied for new directories, new
1134 files get the correct umask
1136 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1139 2008-08-08 Tor Lillqvist <tml@novell.com>
1141 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1143 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1144 code that didn't actually do anything inside #if 0, and add a
1145 comment wondering what the code was supposed to do. This also gets
1146 rid of a leftover debugging printout.
1148 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1150 * gfileicon.c (g_file_icon_get_property)
1151 (g_file_icon_set_property): New functions.
1152 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1154 (g_file_icon_new): Use the property (bug #546132).
1156 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1158 * gthemedicon.c (g_themed_icon_get_property): Also handle
1159 `PROP_USE_DEFAULT_FALLBACKS'.
1160 (g_themed_icon_class_init): Make
1161 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1163 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1165 Bug 546371 – Improve docs re g_file_monitor
1167 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1169 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1171 * === Released 2.17.6 ===
1173 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1175 * === Released 2.17.5 ===
1177 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1179 Bug 546017 – Don't copy attributes when copying a symlink
1181 * gfile.c (g_file_copy_attributes): Specify
1182 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1183 g_file_set_attributes_from_info. Patch by Christian Kellner
1185 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1187 * gemblemedicon.[hc]:
1189 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1190 a bit more extensible. Work by Clemens Buss.
1192 * gioenums.h: Add GEmblemOrigin.
1195 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1197 Bug 546079 – leak in xdgmime
1199 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1201 2008-08-03 Tor Lillqvist <tml@novell.com>
1203 * win32/gwin32directorymonitor.h
1204 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1207 2008-08-03 Tor Lillqvist <tml@novell.com>
1209 * win32/gwin32directorymonitor.c
1210 (g_win32_directory_monitor_callback): Make prototype match
1211 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1212 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1215 (g_win32_directory_monitor_constructor):
1216 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1217 names in the GLib API on Windows, so convert to UTF-16 and open
1220 2008-08-03 Tor Lillqvist <tml@novell.com>
1222 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1223 user's folder under Windows
1225 * win32/gwin32directorymonitor.c
1226 (g_win32_directory_monitor_constructor): Ignore error from
1227 CreateFile() when opening directory. Instead of asserting, just
1228 store INVALID_HANDLE_VALUE then in
1229 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1230 ReadDirectoryChangesW().
1231 (g_win32_directory_monitor_cancel): Don't attempt to close
1232 directory handle if it is INVALID_HANDLE_VALUE.
1234 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1236 * gdesktopappinfo.c: Remove debug spew
1238 2008-08-01 Hans Breuer <hans@breuer.org>
1240 * makefile.msc : add gemblembedicon
1242 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1244 Bug 545457 – gdmsetup crashed with SIGSEGV in
1245 g_unix_mount_guess_should_display()
1247 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1248 crash if no mount is found.
1250 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1252 Bug 545203 – gfile.c: argument is different type.
1254 * gfile.c (open_read_async_thread): Pass a GError **
1255 to g_file_set_error_literal.
1256 Reported by Kazuki Iwamoto
1258 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1260 Bug 545157 – wrong/no list of "open with" applications for .cc and
1263 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1264 Collect all ancestors, not just direct parents. Pointed
1265 out by Bastien Nocera
1267 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1269 * Makefile.am: Install gemblemedicon.h
1271 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1273 * gemblemedicon.[hc]: Add a GIcon implementation that can
1274 add an emblem to another icon.
1281 * gfileicon.c: Small documentation additions.
1283 2008-07-28 Tor Lillqvist <tml@novell.com>
1285 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1288 2008-07-27 Tor Lillqvist <tml@novell.com>
1290 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1292 2008-07-24 David Zeuthen <davidz@redhat.com>
1296 Also export a g_mount_guess_content_type_sync() function.
1298 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1300 529694 – SELinux context setting support
1302 * gfileinfo.c: Support setting selinux attributes.
1303 Patch by Tomas Bzatek
1305 2008-07-22 Priit Laes <plaes@plaes.org>
1307 Bug 544140 - fam-helper 64-bit issue?
1309 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1311 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1313 * === Released 2.17.4 ===
1315 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1317 * gvolumemonitor.[hc]:
1318 * gmountoperation.c:
1322 * gmount.c: Documentation fixes
1324 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1326 543504 – crash in Epiphany Web Browser: Opening local file
1330 * gdesktopappinfo.c:
1337 * gvolume.c: Register types thread-safely.
1338 Patch by Christian Persch
1340 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1342 * gcontenttype.c: Remove debug spew
1344 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1346 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1349 * fen/fen-kernel.c: Remove a warning that was causing
1350 crashes. Reported by Lin Ma.
1352 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1354 Bug 543040 – async reading on dummy file will crash on
1357 * gfile.c (open_read_async_thread): Cope with read_fn being
1358 NULL. Reported by Lin Ma.
1360 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1363 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1365 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1368 * gdesktopappinfo.h:
1369 * giomodule.c: Rename a chapter id to avoid filename conflict.
1371 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1373 Bug 540616 – mem leak in filechooser button
1375 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1376 the mount entry. Reported by Chrisitan Persch
1378 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1380 * gfile.c: Small documentation fixes.
1382 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1384 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1386 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1391 * gmount.c: Documentation improvements.
1393 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1396 * gmount.[hc]: Add g_mount_guess_content_type().
1398 2008-07-06 David Zeuthen <davidz@redhat.com>
1401 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1402 is needed for easily handling adoption of foreign volumes by
1403 out-of-process volume monitors (#541793)
1405 2008-07-06 David Zeuthen <davidz@redhat.com>
1407 * gvolumemonitor.[ch]:
1408 * gunionvolumemonitor.c: Export the eject-button signal on the
1409 volume monitor class (#541794).
1411 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1413 * gappinfo.c: More doc tweaks
1415 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1417 * gappinfo.c: Clarify some docs
1419 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1421 * gdesktopappinfo.c: Fix a stupid mistake.
1423 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1425 * === Released 2.17.3 ===
1427 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1429 * gfilemonitor.c: Fix the build.
1431 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1433 Bug 536160 – Add g_file_monitor()
1436 * gfile.[hc]: Add g_file_monitor which can return either
1437 a file or a directory monitor. Proposed by Behdad Esfahbod
1439 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1441 536733 – gio build failure on Irix
1443 * glocalfile.c: Use a configure check for structfs.f_bavail.
1445 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1447 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1450 * gdesktopappinfo.[hc]: Add a function to create a
1451 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1453 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1455 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1457 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1459 * gunixmounts.c: Fix a doc typo.
1461 2008-07-01 Cody Russell <bratsche@gnome.org>
1463 * gio/gcontenttype.c:
1464 * gio/gwin32appinfo.c:
1465 * gio/gwin32volumemonitor.c:
1466 * gio/gwin32mount.c: Fixed some include problems.
1468 2008-07-01 Cody Russell <bratsche@gnome.org>
1472 Moved all relevant typedefs into these files.
1475 Updated wrt added files.
1477 Split types into separate file for easier maintainership. (#538564)
1479 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1481 Bug 540331 – g_file_append_to () documentation: can return NULL
1483 * gfile.c (g_file_append_to): Clarify docs.
1484 Patch by Jared Moore
1486 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1488 Bug 539090 – g_content_type_from_mime_type() should unalias
1490 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1491 Patch by Markus Bergman
1493 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1495 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1496 g_atomic_pointer_get
1498 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1499 on ppc and alpha. Reported by Mart Raudsepp
1501 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1503 * tests/Makefile.am:
1504 * tests/memory-output-stream.c: Add some tests for
1505 GMemoryOutputStream.
1507 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1509 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1512 * gmemoryoutputstream.c (array_resize): Handle truncation to
1513 zero correctly. Reported by Akira Tagoh
1515 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1517 * gmemoryoutputstream.c: Trivial doc fixes
1519 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1521 Bug 540802 – g_list_prepend doesn't concat lists
1523 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1524 one list to another. Pointed out by Jan Arne Petersen
1526 2008-06-28 Michael Natterer <mitch@imendio.com>
1528 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1530 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1532 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1533 to avoid problems with partial icon themes.
1535 2008-06-17 Hans Breuer <hans@breuer.org>
1537 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1538 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1539 access again on win32, see bug #538127
1540 * giomodule.c : ensure GWin32VolumeMonitor is registered
1541 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1542 * Makefile.am makefile.msc : updated
1544 2008-06-16 Hans Breuer <hans@breuer.org>
1546 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1547 and initialization in one step avoids c99ism
1549 2008-06-16 Christian Persch <chpe@gnome.org>
1552 * gio/gbufferedinputstream.c
1553 * gio/gcancellable.c
1554 * gio/gdatainputstream.c
1555 * gio/gdesktopappinfo.c
1557 * gio/gfileenumerator.c
1558 * gio/gfileinputstream.c
1559 * gio/gfileoutputstream.c
1560 * gio/ginputstream.c
1561 * gio/glocaldirectorymonitor.c
1563 * gio/glocalfileenumerator.c
1564 * gio/glocalfileinfo.c
1565 * gio/glocalfilemonitor.c
1566 * gio/glocalfileoutputstream.c
1567 * gio/gmemoryinputstream.c
1568 * gio/gmemoryoutputstream.c
1569 * gio/goutputstream.c
1570 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1573 2008-06-16 Tor Lillqvist <tml@novell.com>
1575 Bug 538362 - Get Win32 icons back in the file chooser
1577 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1578 corresponding to a file extension in the Registry. Patch by Hans
1580 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1582 2008-06-16 Tor Lillqvist <tml@novell.com>
1584 Patches by Hans Breuer:
1586 * glocalfile.c (is_xp_or_later): Handle compiling against older
1587 SDK headers with missing VerifyVersionInfo(). Conditioned on
1588 _MSC_VER, but should probably use some better test.
1589 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1590 uninitialised statfs_result variable on Win32.
1592 2008-06-16 Michael Natterer <mitch@imendio.com>
1594 * *.c: chain up unconditionally in finalize() and dispose(). Also
1595 don't dereference these function pointers when calling them since
1596 that has no meaning at all.
1598 2008-06-16 Ross Burton <ross@burtonini.com>
1600 * gfileenumerator.c:
1601 Remove check for dispose implementation as it annoys Emmanuele.
1603 2008-06-16 Ross Burton <ross@burtonini.com>
1605 Bug 536252 – GFileEnumerator should allow access to the containing
1608 * gfileenumerator.c:
1609 * gfileenumerator.h:
1611 Add g_file_enumerator_get_container() and a container writeable
1612 construct-only property. Also shuffle around typedefs to make it
1615 * glocalfileenumerator.c:
1616 * glocalfileenumerator.h:
1618 Instead of a string filename take a GFile in the constructor and
1619 use it to set the container property.
1622 Update with new API.
1624 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1626 * gfile.c: Make includes more uniform
1628 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1630 * tests/live-g-file.c (sample_struct):
1631 Use less fancy unicode filenames, so the test doesn't fail
1632 on Mac OS X (#531476).
1634 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1636 * === Released 2.17.2 ===
1638 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1640 * === Released 2.17.1 ===
1642 2008-06-11 A. Walton <awalton@gnome.org>
1644 * tests/g-file.c (test_g_file_new_null):
1645 Fix broken test case.
1647 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1649 * pltcheck.sh: We use g_clear_error now.
1651 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1653 * glocalfile.c (g_local_file_enumerate_children): Revert
1654 an unintended change.
1656 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1658 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1660 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1662 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1665 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1666 as icon for the desktop directory, also make user-home and
1667 user-desktop the preferred icons.
1669 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1672 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1673 to add a name to the front of the list.
1675 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1677 Bug 537392 – Additional colon in xattr name
1679 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1680 too. Reported by Alessandro Morandi
1682 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1684 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1687 * glocalfile.c (get_fs_type): Add afs and autofs.
1688 Patch by Danny Baumann.
1690 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1692 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1694 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1695 is no parent. (Owen Taylor, patch by Christian Neumair)
1697 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1699 * gfile.c (g_file_replace_contents): do not leak the output stream.
1701 2008-06-10 Michael Natterer <mitch@imendio.com>
1703 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1704 uninitialized memory as array index.
1706 2008-06-10 Tor Lillqvist <tml@novell.com>
1708 * gcontenttype.c (g_content_type_can_be_executable)
1709 (g_content_type_get_icon) [Win32]: Add TODO comments.
1711 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1713 * xdgmime/Makefile.am: Fix the build
1715 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1717 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1718 in the shared mime database, if available.
1720 * xdgmime/*: Sync with upstream. This brings support for
1721 glob weights, generic icons, and changes the cache format to
1724 2008-05-28 Michael Natterer <mitch@imendio.com>
1726 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1727 the global CPPFLAGS now.
1729 * tests/data-input-stream.c
1730 * tests/data-output-stream.c
1731 * tests/g-file-info.c
1733 * tests/live-g-file.c
1734 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1736 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1738 * === Released 2.17.0 ===
1740 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1741 doesn't complain about leftover files.
1743 2008-05-27 simon.zheng <simon.zheng@sun.com>
1745 * glocalfile.c: (g_local_file_query_filesystem_info):
1746 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1748 2008-05-26 Michael Natterer <mitch@imendio.com>
1750 * gmemoryoutputstream.h: declare
1751 g_memory_output_stream_get_data_size().
1753 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1755 * tests/*: Make tests work
1757 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1759 * gio.symbols: Add g_memory_output_stream_get_data_size.
1761 2008-05-25 Ross Burton <ross@burtonini.com>
1764 Fix typo in error message (#534764).
1766 2008-05-25 Ross Burton <ross@burtonini.com>
1769 Fix circular dependency loop for gioenumtypes.h (#534759).
1771 2008-05-19 Hans Breuer <hans@breuer.org>
1773 * Makefile.am : EXTRA_DIST += makefile.msc
1775 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1778 * gcontenttype.c: (g_content_type_from_mime_type):
1779 New function to create a content type from a mime type. (#527175,
1782 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1784 Bug 532965 – Should not return filesystem::free for certain file systems
1786 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1787 free space for ncpfs.
1789 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1791 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1793 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1794 st_dev might be zero.
1796 2008-05-16 Tor Lillqvist <tml@novell.com>
1798 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1799 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1801 2008-05-13 Bastien Nocera <hadess@hadess.net>
1803 * gfile.c (has_valid_scheme): A URI scheme must start with a
1804 letter, even if later more characters are allowed (#532852)
1806 2008-05-05 Michael Natterer <mitch@imendio.com>
1808 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1809 code from being checked in that breaks the build of applications
1810 which use G_DISABLE_SINGLE_INCLUDES.
1812 * makegioalias.pl: make the alias file include "glib.h" instead of
1815 * gio.symbols: whitespace change to force regeneration of the
1816 alias file after above script change.
1818 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1820 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1822 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1824 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1826 2008-04-28 David Zeuthen <davidz@redhat.com>
1828 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1829 displaying mounts in a subdirectory not accessible to the
1832 2008-04-22 Michael Natterer <mitch@imendio.com>
1834 * Makefile.am: fix library versioning (it was 0.0.0).
1836 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1838 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1839 Default disable all loggings.
1840 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1841 (port_fetch_event_cb): Fixed two macro nits.
1843 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1845 * xdgmime/xdgmime.c: Rework the timestamp checking code
1846 to protect against duplicate directories in XDG_DATA_DIRS.
1847 Fixes fd.o bug 12513, reported by Joe Shaw.
1849 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1851 Partically revert the last commit after realizing that
1852 xdg_mime_media_type_equal doesn't have to init at all.
1854 * xdgmime/xdgmime.h:
1855 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1857 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1859 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1861 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1862 reported by Joe Shaw and Federico Mena Quintero.
1864 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1865 (xdg_mime_media_type_equal): Turn into a wrapper around the
1868 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1869 functions throughout.
1871 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1873 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1874 tolerate an empty TryExec= line without failing; nautilus used
1875 to create launchers with these in previous versions. Fixes #528433
1877 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1879 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1880 after name. Fixes #527132.
1882 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1884 * gfile.c: (g_file_replace):
1887 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1889 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1891 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1892 by Christian Kellner.
1894 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1896 * gunixmounts.c: (g_unix_mount_guess_should_display):
1897 Don't list the user directory as a mount, fix potential issue
1898 when other users have a similar naming and don't special case the
1899 gvfs mounts there since that's not required (#525866)
1901 2008-03-31 Alexander Larsson <alexl@redhat.com>
1903 * glocalfile.c (get_parent):
1906 2008-03-31 A. Walton <awalton@svn.gnome.org>
1908 * gfile.c (g_file_query_file_type):
1909 Always return a GFileType enum value (#520715).
1911 2008-03-31 Alexander Larsson <alexl@redhat.com>
1913 * glocalfileenumerator.c:
1914 Read readdir() info in chunks (of 1000) and sort
1915 the chunks by inode before stat:ing.
1916 This is a 20% performance increase in testing
1917 gvfs-ls on /usr/bin with cold cache.
1919 2008-03-31 Alexander Larsson <alexl@redhat.com>
1921 * gmemoryoutputstream.c:
1922 Clarify docs for g_memory_output_stream_get_size.
1923 Add g_memory_output_stream_get_data_size.
1925 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1929 * gfile.h: Add g_file_query_file_type convenience function
1930 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1932 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1934 * gfileenumerator.c:
1935 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1937 2008-03-28 A. Walton <awalton@svn.gnome.org>
1939 * giomodule.c (_g_io_modules_ensure_loaded):
1940 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1943 2008-03-28 Alexander Larsson <alexl@redhat.com>
1946 (copy_stream_with_progress):
1949 2008-03-28 Alexander Larsson <alexl@redhat.com>
1952 (copy_stream_with_progress):
1953 (file_copy_fallback):
1954 Fallback to g_file_query_info for source size
1955 if g_file_input_stream_query_info fails. (#524579)
1957 2008-03-28 Alexander Larsson <alexl@redhat.com>
1959 * glocalfile.c (g_local_file_move):
1960 Reuse old string instead of adding new one.
1962 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1964 * fen/*.[hc]: still copyright issue. I hate copyright.
1966 2008-03-27 Alexander Larsson <alexl@redhat.com>
1968 * glocalfile.c (g_local_file_move):
1969 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1970 file over directory. This is according to the docs and what the move via
1971 copy+remove fallback does.
1973 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1975 * fen/*.[hc]: Updated copyright.
1977 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1979 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1981 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1983 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1984 not emit attribute changed events when optimizing changed events.
1985 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1988 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1990 * gmountoperation.[hc]: Small documentation additions
1992 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1994 * gunixmounts.c: (guess_mount_type):
1995 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1997 2008-03-19 Alexander Larsson <alexl@redhat.com>
2000 (copy_stream_with_progress):
2001 Bump block side for copy to 64k to minimize
2002 overhead for low latency links. (#523015)
2004 2008-03-16 Tor Lillqvist <tml@novell.com>
2006 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
2007 depend on gio.def on Windows.
2009 2008-03-12 David Zeuthen <davidz@redhat.com>
2013 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
2015 2008-03-14 Alexander Larsson <alexl@redhat.com>
2019 Avoid redudant tests (#521851)
2020 Patch from Josselin Mouette
2022 2008-03-14 Alexander Larsson <alexl@redhat.com>
2025 (g_file_monitor_is_cancelled):
2026 Fix C89 issue (#521672)
2027 Patch from Jens Granseuer
2029 2008-03-14 Alexander Larsson <alexl@redhat.com>
2031 * fam/fam-helper.[ch]:
2033 Shut down fam (including removing fam GSource) when
2034 module is unloaded (#521513)
2035 Patch from Joe Marcus Clarke
2037 2008-03-14 Alexander Larsson <alexl@redhat.com>
2040 (_g_io_modules_ensure_loaded):
2043 2008-03-14 Alexander Larsson <alexl@redhat.com>
2046 (g_local_file_query_filesystem_info):
2047 Use right define name for f_fstypename member check
2049 2008-03-14 Alexander Larsson <alexl@redhat.com>
2052 * fen/Makefile.am: Added.
2053 * fen/fen-data.[ch]: Added.
2054 * fen/fen-dump.[ch]: Added.
2055 * fen/fen-helper.[ch]: Added.
2056 * fen/fen-kernel.[ch]: Added.
2057 * fen/fen-missing.[ch]: Added.
2058 * fen/fen-node.[ch]: Added.
2059 * fen/fen-sub.[ch]: Added.
2060 * fen/gfendirectorymonitor.[ch]: Added.
2061 * fen/gfenfilemonitor.[ch]: Added.
2063 Added Solaris FEN file notification backend.
2064 Patch from Lin Ma <Lin.Ma@Sun.COM>
2066 2008-03-13 Tor Lillqvist <tml@novell.com>
2068 * Makefile.am: Actually use the gio.def file when linking the
2069 library on Windows. Produce .lib library for Microsoft's toolchain
2070 when possible. Install the .lib and .def file like for the other
2073 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2075 * tests/live-g-file.c:
2076 Include live-g-file in standard set of tests, making a temporary
2077 directory in source structure.
2079 Clean target directory before the tests (write mode only)
2081 2008-03-12 Tor Lillqvist <tml@novell.com>
2083 Bug 517419 - gio win32 directory monitor
2084 Implementation by Vlad Grecescu.
2087 * win32/gwin32directorymonitor.h
2088 * win32/gwin32directorymonitor.c: New files.
2090 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2092 * Makefile.am: Add the win32 subdirectory.
2094 2008-03-12 Tor Lillqvist <tml@novell.com>
2096 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2097 normal struct stat on Unix but struct _stati64 on Windows to have
2098 access to 64-bit file size information. Use that instead of struct
2099 stat in the functions declared here in this private header.
2101 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2102 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2103 warnings about unused functions and variables. Don't set
2104 meaningless attributes like inode numbers on Windows.
2106 2008-03-12 Benjamin Otte <otte@gnome.org>
2109 trim whitespace so gtk-doc groks the function name
2111 2008-03-12 Tor Lillqvist <tml@novell.com>
2113 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2114 returning FALSE, on Win32.
2116 2008-03-11 Alexander Larsson <alexl@redhat.com>
2119 * glocalfileinfo.[ch]:
2120 Correctly implement can_trash by actually
2121 looking for a trash dir, not just assuming
2124 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2126 * === Released 2.16.1 ===
2128 2008-03-11 Alexander Larsson <alexl@redhat.com>
2131 Fix crashes in new constructor and properties code
2133 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2135 * gfile.c: Minor spelling correction in documentation:
2136 existance -> existence.
2138 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2140 * === Released 2.16.0 ===
2142 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2144 * gio.symbols: Remove g_file_contains_file here, too.
2146 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2148 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2149 Samuel Cormier-Iijima)
2151 2008-03-08 Tor Lillqvist <tml@novell.com>
2153 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2156 2008-03-07 Alexander Larsson <alexl@redhat.com>
2159 (g_local_file_query_filesystem_info):
2160 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2161 Patch from Jasper Lievisse Adriaanse
2163 2008-03-06 Tor Lillqvist <tml@novell.com>
2165 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2166 comments for the *_USEC attributes.
2168 2008-03-06 Alexander Larsson <alexl@redhat.com>
2170 * gfile.c (g_file_query_exists):
2171 Add g_return_val_if_fail check (#520700)
2173 2008-03-06 Alexander Larsson <alexl@redhat.com>
2175 * gdesktopappinfo.c:
2178 * gunionvolumemonitor.c:
2181 * tests/live-g-file.c:
2182 * xdgmime/xdgmimecache.c:
2183 Fix sparse warnings (#519489)
2185 2008-03-05 Alexander Larsson <alexl@redhat.com>
2188 Make cancellation threadsafe (i.e.
2189 guarantee its only done once, and always
2192 * glocaldirectorymonitor.c:
2193 Make sure we the monitor lives while the
2194 mounts_changed callback is being called (#520484)
2196 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2198 * gbufferedinputstream.c: Fix typo in parameter
2201 2008-03-04 Alexander Larsson <alexl@redhat.com>
2204 Remove deprecated symbols we kept for one release.
2206 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2209 * goutputstream.c: Tiny documentation corrections.
2211 2008-03-03 Alexander Larsson <alexl@redhat.com>
2213 * gunionvolumemonitor.c:
2215 Fix the adopt_orphan_mount vfunc to take a
2216 volume_monitor reference in an ABI compat way.
2217 This change is not API compat, but the added
2218 arg is not used in the only user of this vfunc, so
2219 all we get is a harmless warning in gvfs (#520169)
2221 2008-03-01 Benjamin Otte <otte@gnome.org>
2224 clarify docs for g_file_delete().
2226 2008-02-29 Alexander Larsson <alexl@redhat.com>
2230 Make sure empty files get text/plain type (#518720)
2232 2008-02-27 Alexander Larsson <alexl@redhat.com>
2238 (g_unix_volume_mount):
2239 Add missing GMountMountFlags argument
2241 2008-02-26 Alexander Larsson <alexl@redhat.com>
2244 (g_local_file_delete):
2245 Handle filesystems (like ntfs-3g) that return EEXIST instead
2246 of ENOTEMPTY (#518816)
2248 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2250 * === Released 2.15.6 ===
2252 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2254 * gfile.c (g_file_find_enclosing_mount):
2255 * ginputstream.c (g_input_stream_set_pending):
2256 * glocalfile.c (g_local_file_find_enclosing_mount):
2257 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2258 * goutputstream.c (g_output_stream_set_pending):
2260 Fixup translator comments (#518578).
2262 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2264 * gfile.c (g_file_find_enclosing_mount):
2266 * glocalfile.c (g_local_file_find_enclosing_mount):
2269 Fix a few typos in translator comments and documentation.
2271 2008-02-25 Alexander Larsson <alexl@redhat.com>
2278 Add translator comments (#518578)
2280 2008-02-25 Alexander Larsson <alexl@redhat.com>
2283 Reintroduce g_file_contains_file, keep around for one
2284 unstable release cycle to avoid crashing to many apps.
2285 Make sure to delete after release.
2287 2008-02-25 Alexander Larsson <alexl@redhat.com>
2290 Remove deprecated g_file_contains_file.
2292 2008-02-25 Alexander Larsson <alexl@redhat.com>
2295 Emit actual change signals in an idle handler.
2296 This avoids reentrance and locking problems in
2297 the file notification backends.
2299 2008-02-25 Alexander Larsson <alexl@redhat.com>
2302 (g_unix_mount_guess_should_display):
2303 Remove type guessing, instead just display
2304 mounts in /media and in ~/.
2306 2008-02-25 Alexander Larsson <alexl@redhat.com>
2309 Make new strings reuse old ones.
2311 2008-02-25 Alexander Larsson <alexl@redhat.com>
2314 Implement trashing and filesystem::readonly for win32 (#517235)
2315 Patch from Yevgen Muntyan
2317 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2319 * gfileinfo.h: Documentation fixes.
2321 2008-02-22 Alexander Larsson <alexl@redhat.com>
2323 * gcontenttype.c (g_content_type_get_icon):
2324 Look at old-style gnome mime icon names too, as many
2325 have not moved to the new style.
2327 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2329 * *.c: Correct the @include in for section docs.
2331 2008-02-21 David Zeuthen <davidz@redhat.com>
2333 * glocalfileinfo.c: (_g_local_file_info_get):
2335 (g_content_type_get_icon): Implement this function by
2336 moving bits from glocalfileinfo.c
2337 (g_content_type_get_description): Unalias before getting
2338 description (#517687)
2340 * gfile.c: (g_file_class_init),
2341 (g_file_query_filesystem_info_async),
2342 (g_file_query_filesystem_info_finish),
2343 (query_filesystem_info_data_free),
2344 (query_filesystem_info_async_thread),
2345 (g_file_real_query_filesystem_info_async),
2346 (g_file_real_query_filesystem_info_finish):
2347 * gfile.h: Implement async version of
2348 g_file_query_filesystem_info()
2350 * gfileinfo.h: Add new attributes for filesystem::use-preview
2352 * gio.symbols: Update
2354 * gthemedicon.c: (g_themed_icon_append_name):
2355 * gthemedicon.h: Add new new convenience function.
2357 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2358 (get_mounts), (get_volumes), (get_connected_drives),
2359 (get_volume_for_uuid), (get_mount_for_uuid),
2360 (g_union_volume_monitor_init), (populate_union_monitor),
2361 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2362 (g_volume_monitor_adopt_orphan_mount):
2364 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2365 monitor implementations to call into the main volume monitor. Also
2366 separate object initialization and volume monitor initialization
2367 such that non-native volume monitors can properly adopt their
2370 2008-02-21 Alexander Larsson <alexl@redhat.com>
2375 2008-02-21 Alexander Larsson <alexl@redhat.com>
2378 Add more documentation about how GFiles work (from #517086)
2380 2008-02-21 Alexander Larsson <alexl@redhat.com>
2384 Add new g_file_has_prefix that does the same as g_file_contains_file.
2385 Deprecate g_file_contains_file and add a macro that converts
2386 it to g_file_has_prefix.
2387 The reason for this change is that the contains_file() name seems to
2388 imply that this does more work than what it does, but its really only
2389 a name match (from #517086)
2394 Update to match the above change.
2396 2008-02-20 Benjamin Otte <otte@gnome.org>
2398 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2399 (g_file_eject_mountable):
2400 even more cases of not returning in error path
2402 2008-02-20 Benjamin Otte <otte@gnome.org>
2404 * gfile.c: (g_file_mount_mountable):
2405 return from function in error path.
2407 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2410 Remove trailing coma in GMountMountFlags struct
2412 2008-02-18 Alexander Larsson <alexl@redhat.com>
2416 * glocalfileoutputstream.c:
2417 Use g_unlink/g_rename instead of unlink/rename;
2418 do not pass raw filenames to g_set_error. (#517239)
2419 Patch from Yevgen Muntyan.
2421 2008-02-18 Alexander Larsson <alexl@redhat.com>
2424 * glocalfileoutputstream.c:
2425 Open files with O_BINARY on windows. (#517140)
2427 2008-02-14 Alexander Larsson <alexl@redhat.com>
2429 * glocalfileoutputstream.c:
2430 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2432 2008-02-14 Alexander Larsson <alexl@redhat.com>
2435 Copy permissions with file on copy (#514084)
2436 This is what cp does and makes sure e.g. the
2437 exec permissions are kept.
2438 Its kinda weird in that it keeps the permission bits
2439 the same while the uid and gid are different. However
2440 the new uid is the user so its not a security issue,
2441 and I've heard no complaints about cp on this issue.
2443 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2445 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2447 2008-02-13 Alexander Larsson <alexl@redhat.com>
2449 * inotify/inotify-path.c:
2450 Define IN_ONLYDIR if not in header (#515346)
2452 2008-02-12 Alexander Larsson <alexl@redhat.com>
2454 * tests/live-g-file.c:
2457 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2459 * === Released 2.15.5 ===
2461 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2463 * gio.symbols: Add g_mount_mount_flags_get_type.
2465 2008-02-11 Alexander Larsson <alexl@redhat.com>
2468 (g_file_info_set_attribute_mask):
2469 (g_file_attribute_matcher_matches_id):
2470 Correctly handle NULL GAttributeMatcher meaning
2471 matches nothing. (Fixes #513492)
2473 2008-02-11 Alexander Larsson <alexl@redhat.com>
2478 Added GMountMountFlags enum and added a flags
2479 argument to all mount calls.
2481 This is an API/ABI change for future extensibility,
2482 as I think we will need at least an
2483 inhibit-autorun flag (the panel needs this).
2484 There are no flags defined yet though.
2486 2008-02-11 Alexander Larsson <alexl@redhat.com>
2489 Added new standard::description attribute.
2490 Requested by Vincent, and useful for both
2493 2008-02-11 Alexander Larsson <alexl@redhat.com>
2495 * gdesktopappinfo.c:
2498 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2500 * *.c: Documentation additions
2502 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2504 * gappinfo.h: Formatting cleanup
2505 * gappinfo.c: Fix up docs.
2507 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2509 * gunixmounts.c: Consistently use getmntent_r() and fall
2510 back to getmntent(). (#515492)
2512 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2514 * gbufferedinputstream.c:
2516 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2518 * tests/data-input-stream.c:
2519 * tests/data-output-stream.c: Portability fixes.
2521 2008-02-08 Alexander Larsson <alexl@redhat.com>
2526 Add g_volume_should_automount.
2529 2008-02-07 Tor Lillqvist <tml@novell.com>
2531 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2532 Win32, too Unix-specific.
2534 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2536 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2537 a local plt if the compiler doesn't support what we want. Bug #514702
2539 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2541 reviewed by: <delete if not using a buddy>
2544 * gunixinputstream.c:
2545 * gunixoutputstream.c:
2547 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2549 * tests/Makefile.am:
2550 * tests/live-g-file.c:
2551 * tests/live-g-file.txt:
2552 New GIO testing module working over real data
2554 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2556 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2557 Fallback to rename() if link() is not available
2558 (when no support on target filesystem)
2560 2008-02-06 Michael Natterer <mitch@imendio.com>
2562 * gfileinfo.c (g_file_info_get_icon): replace
2563 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2565 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2567 * gfile.c (g_file_create):
2568 Documentation update of error codes
2570 2008-02-06 Alexander Larsson <alexl@redhat.com>
2572 * gdesktopappinfo.c:
2573 Update to use both mimeapps.list and
2574 defaults.list as discussed on xdg list.
2576 2008-02-06 Benjamin Otte <otte@gnome.org>
2579 * gfilenamecompleter.c:
2580 Fix some typos in the documentation.
2582 2008-02-06 Alexander Larsson <alexl@redhat.com>
2584 * glocalfile.c (g_local_file_trash):
2585 Don't succeed with trash if newly created
2586 trash dir has the wrong owner. (#514696)
2588 2008-02-05 Alexander Larsson <alexl@redhat.com>
2590 * glocalfile.c (g_local_file_move):
2591 Don't spew warnings when destination is not
2594 2008-02-03 Hans Breuer <hans@breuer.org>
2596 * makefile.msc : update
2598 2008-02-01 Michael Natterer <mitch@imendio.com>
2600 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2601 return value of xdg_mime_list_mime_parents() to a variable of the
2604 2008-02-01 Alexander Larsson <alexl@redhat.com>
2606 * gappinfo.c (g_app_info_launch_uris):
2607 Actually call the launch_uris method, not
2610 2008-02-01 Alexander Larsson <alexl@redhat.com>
2612 * gdesktopappinfo.c (g_desktop_app_info_equal):
2613 Ensure appinfos with no id but same pointer value
2616 2008-02-01 Alexander Larsson <alexl@redhat.com>
2618 * gappinfo.c (g_app_info_launch_default_for_uri):
2621 2008-02-01 Alexander Larsson <alexl@redhat.com>
2625 Add g_app_info_launch_default_for_uri utility
2628 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2630 * gdesktopappinfo.c:
2631 Doc fix for g_app_info_get_default_for_uri_scheme ()
2634 2008-01-30 Alexander Larsson <alexl@redhat.com>
2637 Add doc comment about uris vs GFiles to
2640 * gdesktopappinfo.c:
2641 Ensure uris passed to g_app_info_launch_uris()
2642 are not roundtriped through GFile (as that
2643 may be slightly destructive for e.g. mailto: links)
2645 2008-01-30 Alexander Larsson <alexl@redhat.com>
2647 * tests/data-input-stream.c:
2648 * tests/data-output-stream.c:
2649 C89 fixes from Jens Granseuer (#512849)
2651 2008-01-30 Alexander Larsson <alexl@redhat.com>
2654 Fix gamin/fam difference build issue. (#509419)
2656 2008-01-29 Alexander Larsson <alexl@redhat.com>
2659 * gdesktopappinfo.c:
2660 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2662 2008-01-29 Alexander Larsson <alexl@redhat.com>
2664 * gdesktopappinfo.c:
2665 * gdesktopappinfo.h:
2666 giomodule-priv.h include moved to .c file.
2668 2008-01-29 Alexander Larsson <alexl@redhat.com>
2670 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2671 Remove unused prio/name fields.
2673 2008-01-29 Alexander Larsson <alexl@redhat.com>
2675 * gcontenttype.c (looks_like_text):
2676 Don't treat whitespace as control chars.
2678 2008-01-29 Alexander Larsson <alexl@redhat.com>
2680 * gdesktopappinfo.c:
2681 Lazily create the desktop files for appinfos created
2682 by g_app_info_create_from_commandline() when needed
2683 for mime associations. This allows run-time use
2684 of GAppInfo object without creating unnecessary
2687 2008-01-29 Alexander Larsson <alexl@redhat.com>
2690 Added new symbols to gio.symbols
2692 2008-01-29 Alexander Larsson <alexl@redhat.com>
2695 Add g_file_query_default_handler utility to easily look up
2696 the GAppInfo that handles a file.
2698 * gdesktopappinfo.[ch]:
2700 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2703 Remove unused function
2705 2008-01-29 Alexander Larsson <alexl@redhat.com>
2707 * gfileenumerator.c:
2708 Mention need to free returned value in
2709 g_file_enumerator_next_files_finish docs.
2710 Fix leak if g_file_enumerator_next_files_finish()
2713 2008-01-29 Alexander Larsson <alexl@redhat.com>
2716 (_g_unix_content_type_get_parents):
2717 Use list_parents, not get_parents from xdgmime, because
2718 the later doesn't use the cache.
2720 * xdgmime/xdgmimecache.c:
2721 (_xdg_mime_cache_list_mime_parents):
2722 Don't list the same type as parent multiple times.
2724 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2726 * === Released 2.15.4 ===
2728 2008-01-28 Alexander Larsson <alexl@redhat.com>
2731 Register local vfs with prio 0.
2734 Remove old name and prio class members
2736 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2738 * tests/g-file.c: Disable some tests that are failing in
2739 the absence of a http backend.
2741 2008-01-28 Alexander Larsson <alexl@redhat.com>
2745 Add registration hooks for extension points.
2746 Register the gio extension points.
2748 * fam/gfamdirectorymonitor.c:
2749 * fam/gfamfilemonitor.c:
2750 * glocaldirectorymonitor.[ch]:
2751 * glocalfilemonitor.[ch]:
2752 * gnativevolumemonitor.h:
2753 * gunionvolumemonitor.c:
2754 * gunixvolumemonitor.c:
2757 * inotify/ginotifydirectorymonitor.c:
2758 * inotify/ginotifyfilemonitor.c:
2759 Use the extension points registration instead
2760 of g_type_children().
2762 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2765 * gvolume.[hc]: Document new API.
2767 * gfile.c (g_file_copy_async): Fix docs
2769 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2771 * gbufferedinputstream.c:
2773 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2776 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2778 * glocalfile.c: Avoid trivial differences in translatable strings.
2780 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2782 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2783 build with gcc 3.4 (#509419)
2785 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2787 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2788 (#509994, Murray Cumming)
2790 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2792 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2793 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2794 this allows big jobs to be executed in chunks, instead of blocking
2795 the main loop for a long time.
2797 * gsimpleasyncresult.c:
2798 * giofile.c: Adapt callers.
2800 2008-01-25 Alexander Larsson <alexl@redhat.com>
2802 * gdesktopappinfo.c:
2803 Implement changes discussed on xdg list.
2804 Now we can add supported mimetypes by just using defaults.list
2805 We can also remove associations in defaults.list.
2807 2008-01-25 Alexander Larsson <alexl@redhat.com>
2809 * gdesktopappinfo.c:
2810 Don't make local copy of desktop file
2811 for mimetype changes if the file already
2812 supports the new mimetype.
2814 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2818 * gbufferedinputstream.c:
2819 * glocalfile.c: String improvements. (#511966,
2820 Theppitak Karoonboonyanan)
2822 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2824 * gioscheduler.h: Expand docs a bit.
2826 2008-01-24 Alexander Larsson <alexl@redhat.com>
2829 Add g_drive_get_identifier and
2830 g_drive_enumerate_identifiers
2833 Add g_volume_get_identifier and
2834 g_volume_enumerate_identifiers
2840 Implement identifiers for unix backend
2842 2008-01-24 Alexander Larsson <alexl@redhat.com>
2847 Add g_file_copy_async() (#511580)
2848 Based on patch from Carlos Garcia Campos
2850 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2852 * gioscheduler.c: Some documentation additions.
2854 2008-01-22 Alexander Larsson <alexl@redhat.com>
2856 * gdesktopappinfo.c:
2857 (g_desktop_app_info_new):
2858 Don't leak basename.
2860 2008-01-22 Alexander Larsson <alexl@redhat.com>
2862 * gdesktopappinfo.c:
2863 (g_desktop_app_info_new_from_filename):
2866 2008-01-22 Alexander Larsson <alexl@redhat.com>
2868 * glocalfileinfo.c (get_thumbnail_attributes):
2871 2008-01-22 Alexander Larsson <alexl@redhat.com>
2874 (canonicalize_filename):
2875 Canonicalize paths that start with more than
2879 (compare_two_files):
2880 (test_g_file_new_for_path):
2883 2008-01-22 Alexander Larsson <alexl@redhat.com>
2886 Allow UTF-8 in file:// parse names.
2888 * tests/Makefile.am:
2889 * tests/data-input-stream.c:
2890 * tests/data-output-stream.c:
2891 * tests/g-file-info.c:
2893 Added a bunch of tests from Tomas Bzatek
2895 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2897 * === Released 2.15.3 ===
2899 2008-01-21 Alexander Larsson <alexl@redhat.com>
2901 * gfileinputstream.[ch]:
2902 * gfileoutputstream.[ch]:
2904 Remove duplicated GSeekable functions. (#509990)
2905 Just use the g_seekable_xxx() calls instead.
2907 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2910 * gvolumemanager.c: Whitespace cleanups.
2912 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2913 Use the right mode when creating the file.
2915 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2917 * gfileenumerator.c:
2918 * gfileinputstream.c:
2920 * goutputstream.c: Documentation: Fixed minor typos
2921 and added more mentions of specific _finish() functions.
2923 2008-01-21 Alexander Larsson <alexl@redhat.com>
2925 * inotify/Makefile.am:
2926 * inotify/inotify-helper.c:
2927 * inotify/inotify-kernel.c:
2928 * inotify/inotify-path.c:
2929 * inotify/local_inotify.h: Removed.
2930 * inotify/local_inotify_syscalls.h: Removed.
2931 Removed the included copies of the inotify
2932 headers. We now only use the <sys/inotify.h>
2933 header which exists on modern systems.
2934 This fixes problems on ARM and SH5 (#510448)
2935 but is also generally much cleaner and future
2936 safe. For instance, if other OSes add support
2937 for inotify it should "just work".
2939 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2941 * inotify/*.c: Coding style fixes.
2942 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2943 for the 1/4 Hz timer.
2945 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2948 * gfilemonitor.[hc]:
2949 * gmemoryinputstream.c:
2950 * gmemoryoutputstream.c:
2951 * gmountoperation.c:
2952 * gthemedicon.c: Documentation updates
2954 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2956 * gfile.c: documentation: Fixed more minor
2959 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2961 * gmount.c: (g_mount_remount): documentation:
2962 Mention g_mount_remount_finish() instead of
2963 g_mount_unmount_finish().
2965 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2969 * gfile.c: Fixed some minor typos in the
2972 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2974 * gio/gvolumemonitor.c:
2975 (g_volume_monitor_get_connected_drives):
2976 (g_volume_monitor_get_volumes):
2977 (g_volume_monitor_get_mounts): Documentation:
2978 Clarify the ownership of the regurn GLists.
2980 2008-01-17 Alexander Larsson <alexl@redhat.com>
2983 Add the async find_enclosing_mount version
2984 to the header file too.
2986 2008-01-17 Alexander Larsson <alexl@redhat.com>
2989 Add async version of find_enclosing_mount
2990 with default implementation.
2992 2008-01-17 Alexander Larsson <alexl@redhat.com>
2997 Allow calls to implementation of copy and write
2998 even if the type of the file implementations is
2999 different. This can be used to implement native
3000 upload and download calls in a vfs.
3003 (g_local_file_move):
3004 Protect against the case where move is called
3005 with one file not being local.
3007 Make sure we call the progress callback once
3008 in the native move operation so that the caller
3009 knows how many bytes were copied.
3011 2008-01-16 Murray Cumming <murrayc@murrayc.com>
3014 * gdatainputstream.c:
3016 * gfileoutputstream.c:
3021 * gunixmounts.c: Corrected some typos in the documentation:
3022 occured -> occurred.
3023 its -> it's (where appropriate).
3025 2008-01-16 Alexander Larsson <alexl@redhat.com>
3029 Add g_file_query_exists (#508771)
3031 2008-01-15 Murray Cumming <murrayc@murrayc.com>
3036 * gvolume.c: For async functions that have no non-async
3037 version, document that the GAsyncReadyCallback may be NULL.
3040 2008-01-15 Alexander Larsson <alexl@redhat.com>
3042 * gmemoryinputstream.c:
3043 * gmemoryoutputstream.c:
3044 Don't do pointer arithmetic on void * (#508602)
3045 Patch from Kazuki IWAMOTO
3047 2008-01-14 Matthias Clasen <mclasen@redhat.com>
3049 * === Released 2.15.2 ===
3051 2008-01-14 Alexander Larsson <alexl@redhat.com>
3053 * gfile.c (g_file_monitor_file):
3054 Don't set error here, since we fallback to polling monitor.
3056 2008-01-14 Alexander Larsson <alexl@redhat.com>
3059 (g_file_monitor_directory):
3060 (g_file_monitor_file):
3061 Add GError to file monitor calls
3063 * glocaldirectorymonitor.c:
3064 * glocaldirectorymonitor.h:
3066 * glocalfilemonitor.c:
3067 * glocalfilemonitor.h:
3069 Update for above change
3071 2008-01-14 Alexander Larsson <alexl@redhat.com>
3075 Handle root correctly in g_file_get_relative_path (#508719)
3077 2008-01-14 Alexander Larsson <alexl@redhat.com>
3080 Clean up docs and example for GAsyncResult (#508074)
3082 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3084 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3085 and correct some spelling mistakes. Bug #508108.
3087 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3089 * glocalfileinfo.c: Add a comment.
3091 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3093 * gfileinfo.c: GFileInfo description: Mention
3094 how to actually set attributes in a GFile and how to discover
3095 which attributes are settable. Bug #508378.
3097 2008-01-10 A. Walton <awalton@svn.gnome.org>
3099 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3100 (g_app_info_get_default_for_type):
3101 Check for NULL content types.
3103 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3105 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3107 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3109 * gfile.c: *_async() functions: Several small corrections
3110 to the documentation, mostly correcting copy/paste errors
3111 and improving some sentences.
3113 2008-01-09 Dan Winship <danw@gnome.org>
3115 * glocalfile.c (get_unique_filename): x86_64 fix
3117 2008-01-09 Alexander Larsson <alexl@redhat.com>
3122 Add g_unix_mount_guess_should_display and use
3123 for unix volume monitor backend.
3124 This means we more or less show what the
3125 gnome-vfs backend did.
3126 Based on patch from Padraig O'Briain
3128 2008-01-09 Alexander Larsson <alexl@redhat.com>
3132 Add g_themed_icon_new_with_default_fallbacks
3135 Use default fallbacks for icons
3137 2008-01-09 Alexander Larsson <alexl@redhat.com>
3140 * gmountoperation.[ch]:
3141 Change the API a bit so that unhandled methods
3142 get reported via the reply, rather than by
3143 the signal emission return value. This is because
3144 some handlers can't know this immediately without
3145 doing I/O, and this is an async operation that
3148 2008-01-09 Alexander Larsson <alexl@redhat.com>
3151 * fam/gfamdirectorymonitor.c:
3152 * fam/gfamfilemonitor.c:
3153 Fix double free crash (#508224)
3154 Patch from Joe Marcus Clarke
3156 008-01-07 Matthias Clasen <mclasen@redhat.com>
3158 * === Released 2.15.1 ===
3160 2008-01-07 Alexander Larsson <alexl@redhat.com>
3162 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3163 Fix warning (#507835)
3165 2008-01-07 Alexander Larsson <alexl@redhat.com>
3168 Pass --internal to glib-genmarshal
3171 * gmountoperation.c:
3173 Use better types for signal arguments (#507822)
3175 2008-01-07 Alexander Larsson <alexl@redhat.com>
3178 Build test subdir after .
3179 Remove gdirectorymonitor.[ch]
3181 * gdirectorymonitor.[ch]:
3185 Remove GDirectoryMonitor and make
3186 GFileMonitor the baseclass for both file and
3187 directory monitors. Lift the more generic
3188 rate limiting code from GDirectoryMonitor
3192 * fam/gfamdirectorymonitor.[ch]:
3193 * inotify/ginotifydirectorymonitor.[ch]:
3194 * inotify/inotify-helper.c:
3195 * glocaldirectorymonitor.[ch]:
3198 Update for the removed GDirectoryMonitor.
3200 * gmemoryoutputstream.c:
3201 Remove ununsed variable
3203 2008-01-07 Alexander Larsson <alexl@redhat.com>
3205 * gmemoryinputstream.c:
3206 Translate error strings
3209 * gmemoryoutputstream.[ch]:
3210 New implementation that avoids using GByteArray
3211 in implementation and API. (#506377)
3213 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3215 * tests/*: Add a test for memory input streams.
3217 * Makefile.am: Add tests to SUBDIRS.
3219 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3221 * glocalfilemonitor.c:
3222 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3225 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3227 * gdesktopappinfo.c: Fix a docs typo.
3229 * gfileattribute.c: Add information about extended attributes
3230 to the documentation. (#505058)
3232 2008-01-04 Alexander Larsson <alexl@redhat.com>
3235 * gmountoperation.c:
3236 Use the right type (uint) for the ask_password signal.
3238 2008-01-04 Alexander Larsson <alexl@redhat.com>
3243 Add g_app_info_supports_files()
3244 Remove desktop arg from g_app_info_should_show().
3246 * gdesktopappinfo.[ch]:
3247 Implement g_app_info_supports_files() and new should_show()
3248 Add g_desktop_app_info_set_desktop_env() to set the desktop
3249 for should_show(). (This will be set by gtk+ later)
3251 2008-01-04 Alexander Larsson <alexl@redhat.com>
3254 * gmemoryinputstream.[ch]:
3255 Improve API so that you can use multiple chunks
3256 of memory and custom destroy functions. (#506374)
3258 2008-01-03 Alexander Larsson <alexl@redhat.com>
3261 Handle NULL attribute matchers safely, as we return this
3262 for empty attribute matcher strings.
3264 2008-01-03 Alexander Larsson <alexl@redhat.com>
3266 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3267 Add /usr/local to list of internal mountpoints
3269 2008-01-03 Alexander Larsson <alexl@redhat.com>
3272 Check for HAVE_LCHOWN (#505887)
3274 2008-01-03 Alexander Larsson <alexl@redhat.com>
3278 Add define for selinux context attribute.
3279 Fix missing : -> :: namespace separator change
3280 Fix missing _ -> - name change for xattr-sys.
3283 2008-01-03 Alexander Larsson <alexl@redhat.com>
3286 Link to libglib and libgobject directly (#504879)
3287 Patch from Sebastien Bacher
3289 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3291 * gfile.c: Expanded the g_file_new_for_commandline_arg
3292 description a bit, based on the code and the docs of the
3293 other g_file_new_for_* functions.
3295 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3297 * gfilemonitor.h: Fixed typo in docs.
3299 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3301 Updates to GIO documentation. (#506395, Mikael Hermansson)
3303 * gcontenttype.c: Describe memory management for return value of
3304 g_content_types_get_registered(). Missing piece from #505815.
3305 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3306 GVolume, GDrive, GMounts, which hopefully gives the user less
3307 confusions when using this API. Following explainations from
3308 Alexander Larsson on gtk-devel-list.
3310 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3312 * gfileinfo.c: Expand the long description.
3314 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3317 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3318 fix builds with --disable-visibility. (#500273, Christian Persch)
3320 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3322 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3323 in the list of returned app infos.
3325 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3327 * gappinfo.c: Fix a cross-reference
3329 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3331 * gfileinputstream.c:
3332 * gfileoutputstream.c:
3336 * gdesktopappinfo.c:
3338 * gfileinfo.c: Documentation updates.
3340 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3342 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3345 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3347 * gcontenttype.c (g_content_types_get_registered): Don't return
3348 freed memory (#505815, Mikael Hermansson)
3350 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3352 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3353 used to detect statbuf->st_blocks. (#505042)
3355 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3357 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3358 environment handling. (#504829, Cosimo Cecchi)
3360 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3362 * gappinfo.c: Doc improvements
3364 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3367 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3369 * === Released 2.15.0 ===
3371 2007-12-20 Hans Breuer <hans@breuer.org>
3373 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3374 with symbols gwin32appinfo.obj, added gmount.obj
3375 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3377 2007-12-20 Alexander Larsson <alexl@redhat.com>
3383 * gfilenamecompleter.c:
3386 * gpollfilemonitor.c:
3387 File attribute renames:
3389 fs:: -> filesystem::
3390 id::fs -> id::filesystem
3392 2007-12-20 Alexander Larsson <alexl@redhat.com>
3401 Add GMountUnmountFlags to all unmount and
3403 Add g_mount_remount() call.
3405 2007-12-20 Alexander Larsson <alexl@redhat.com>
3407 * gvfs.c (get_default_vfs):
3408 Fix unused variable warning
3410 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3412 * pltcheck.sh: Update
3414 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3416 * gunionvolumemonitor.c:
3417 * gunixmount.c: Remove C99 comments
3419 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3421 * gio.symbols: Add some missing symbols
3423 2007-12-19 Alexander Larsson <alexl@redhat.com>
3426 Make g_io_modules_load_all_in_directory not unuse
3427 loaded modules so that users of it can do stuff
3429 Init internal "module" types.
3430 Initialize static prio and name for types so that
3431 we don't have to load modules to get it.
3433 * gnativevolumemonitor.h:
3435 Move is_supported to parent class so that
3436 non-native monitors can avoid being initialized
3437 too. (For instance GDaemonVolumeMonitor if we're
3438 not using GDaemonVfs.)
3440 * glocaldirectorymonitor.[ch]:
3441 * glocalfilemonitor.[ch]:
3442 * gunionvolumemonitor.c:
3443 * gunixvolumemonitor.c:
3445 Find plugins using the static prio+name to
3446 avoid unnecessarily loading the modules.
3448 2007-12-19 Alexander Larsson <alexl@redhat.com>
3453 2007-12-19 Alexander Larsson <alexl@redhat.com>
3455 * gunionvolumemonitor.c:
3456 Store the native type as GType, not class so that
3457 we can unload it. But still avoid unnecessarily
3460 2007-12-19 David Zeuthen <davidz@redhat.com>
3462 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3463 add signals 'disconnected' and 'eject-button' on GDrive. Add
3464 signal 'removed' on GVolume and 'unmounted' on GMount.
3466 * gdrive.c: (g_drive_base_init):
3468 * gfile.c: (g_file_mount_mountable),
3469 (g_file_mount_enclosing_volume):
3472 * gmount.c: (g_mount_base_init):
3474 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3475 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3476 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3480 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3482 * *.c: Fix up includes in the section docs.
3484 2007-12-17 Alexander Larsson <alexl@redhat.com>
3486 * gnativevolumemonitor.h:
3487 * gunionvolumemonitor.c:
3488 * gunixvolumemonitor.c:
3489 Add is_supported() to GNativeVolumeMonitorClass so
3490 that we can avoid having to create an object to see
3491 if the backend is supported at runtime.
3492 Also add name member and an env var to pick a specific
3493 volume monitor backend.
3497 Add cancellable to _g_mount_get_for_mount_path()
3499 * glocaldirectorymonitor.c:
3500 * glocalfilemonitor.c:
3501 Avoid loading and unloading modules while sorting.
3503 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3506 * gunixmounts.[hc]: Namespace waste reduction, move some
3507 g_get_unix_mount functions to the g_unix_mount namespace.
3510 * gunixvolumemonitor.c:
3512 * glocaldirectorymonitor.c: Update all callers.
3514 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3516 2007-12-17 Alexander Larsson <alexl@redhat.com>
3519 Add doc comments about what GFile operations are
3520 guaranteed to not block.
3522 2007-12-17 Alexander Larsson <alexl@redhat.com>
3525 Add missing #ifdef fixing OSX build.
3526 (#503334, patch from Richard Hult)
3528 2007-12-14 David Zeuthen <davidz@redhat.com>
3532 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3533 (g_mount_eject), (g_mount_eject_finish):
3535 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3536 (get_volume_for_uuid), (get_mount_for_uuid),
3537 (g_union_volume_monitor_class_init),
3538 (get_default_native_type_with_exclude), (get_default_native_type),
3539 (get_native_type), (update_native_type),
3540 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3541 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3542 (g_unix_mount_can_eject), (eject_unmount_cb),
3543 (eject_unmount_read_error), (eject_unmount_do),
3544 (g_unix_mount_unmount), (g_unix_mount_eject),
3545 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3546 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3547 (g_unix_mount_point_guess_can_eject):
3549 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3550 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3551 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3552 (g_unix_volume_mount), (g_unix_volume_eject),
3553 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3554 * gunixvolumemonitor.c: (get_volume_for_uuid),
3555 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3557 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3558 (g_volume_eject), (g_volume_eject_finish):
3560 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3561 (g_volume_monitor_get_mount_for_uuid):
3564 Provide eject() on both GMount and GVolume and utility functions
3565 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3566 ejected. Introduce the concept of UUID's and wire it into GVolume
3567 and GMount and provide API on GVolumeMonitor to find such
3568 instances. Also handle the case where an external
3569 GNativeVolumeMonitor fails to initialize. Lock around the
3570 _g_get_mount_for_mount_path() function such that volume monitor
3571 implementations won't have to do locking themselves.
3573 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3575 * gdesktopappinfo.c:
3581 * gvolume.h: Documentation updates
3583 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3586 * gfile.h: Doc updates
3588 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3591 * gdesktopappinfo.c: Use hash table iterators.
3593 2007-12-14 Alexander Larsson <alexl@redhat.com>
3596 * gfileattribute.[ch]:
3597 * gfileattribute-priv.h:
3598 Move GFileAttributeValue to a private header, as
3602 Make set_attribute take a type + a pointer instead
3603 of a GFileAttributeValue.
3606 Fix up for above changes.
3607 Add g_file_info_get_attribute_data to get
3608 all info in one call, g_file_info_get_attribute_status
3609 to get the status and g_file_info_get_attribute_as_string.
3613 * glocalfileinfo.[ch]:
3617 Make _guess_type static.
3619 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3622 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3623 made mkenums and friends use temporary files to avoid leaving
3624 empty generated files on failure (#503470).
3626 2007-12-14 Alexander Larsson <alexl@redhat.com>
3628 * gmountoperation.h:
3631 2007-12-14 Alexander Larsson <alexl@redhat.com>
3635 * gfileattribute.[ch]:
3638 * glocalfileoutputstream.c:
3639 * gmountoperation.[ch]:
3640 * goutputstream.[ch]:
3641 Clean up all flags enums to not have _FLAGS in them
3642 Make the names of some of the enums better.
3647 2007-12-14 Michael Natterer <mitch@imendio.com>
3649 * gio.symbols: fix g_io_scheduler symbol names.
3651 2007-12-14 Alexander Larsson <alexl@redhat.com>
3657 * gbufferedinputstream.h:
3658 * gbufferedoutputstream.h:
3661 * gdatainputstream.h:
3662 * gdataoutputstream.h:
3663 * gdesktopappinfo.h:
3664 * gdirectorymonitor.h:
3668 * gfileenumerator.h:
3671 * gfileinputstream.h:
3673 * gfilenamecompleter.h:
3674 * gfileoutputstream.h:
3675 * gfilterinputstream.h:
3676 * gfilteroutputstream.h:
3684 * gmemoryinputstream.h:
3685 * gmemoryoutputstream.h:
3687 * gmountoperation.h:
3690 * gsimpleasyncresult.h:
3692 * gunixinputstream.h:
3694 * gunixoutputstream.h:
3698 * inotify/Makefile.am:
3699 Only allow including <gio/gio.h> from apps
3701 2007-12-14 Alexander Larsson <alexl@redhat.com>
3703 * gioscheduler.[ch]:
3704 * gsimpleasyncresult.c:
3705 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3706 Split out the send_to_mainloop call into two versions instead
3707 of having the block argument.
3709 2007-12-13 Alexander Larsson <alexl@redhat.com>
3711 * gcancellable.[ch]:
3713 * gbufferedinputstream.c:
3714 * gfileenumerator.c:
3715 * gfileinputstream.c:
3716 * gfileoutputstream.c:
3720 g_push/pop_current_cancellable ->
3721 g_cancellable_push/pop_current
3723 2007-12-13 Alexander Larsson <alexl@redhat.com>
3727 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3729 2007-12-13 Alexander Larsson <alexl@redhat.com>
3731 * gmountoperation.h:
3732 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3734 2007-12-12 Alexander Larsson <alexl@redhat.com>
3737 Fix race condition when freeing proxy in
3738 g_io_job_send_to_mainloop().
3740 2007-12-12 Alexander Larsson <alexl@redhat.com>
3746 Make attribute namespace separator "::" instead of ":".
3747 Use - instead of _ as separator in attribute names.
3749 2007-12-12 Alexander Larsson <alexl@redhat.com>
3751 * gbufferedinputstream.h:
3752 * gbufferedoutputstream.h:
3753 * gdatainputstream.h:
3754 * gdataoutputstream.h:
3755 * gdirectorymonitor.h:
3756 * gfileenumerator.h:
3757 * gfileinputstream.h:
3759 * gfileoutputstream.h:
3760 * gfilterinputstream.h:
3761 * gfilteroutputstream.h:
3763 * glocalfileinputstream.h:
3764 * glocalfileoutputstream.h:
3765 * gmemoryinputstream.h:
3766 * gmemoryoutputstream.h:
3767 * gnativevolumemonitor.h:
3769 * gunixinputstream.h:
3770 * gunixoutputstream.h:
3773 s/parent/parent_instance/ in GObjects
3775 2007-12-12 Alexander Larsson <alexl@redhat.com>
3780 No need for padding for interfaces
3782 2007-12-12 Alexander Larsson <alexl@redhat.com>
3786 * gbufferedinputstream.c:
3787 * gbufferedoutputstream.c:
3790 * gdatainputstream.[ch]:
3791 * gdesktopappinfo.c:
3792 * gdirectorymonitor.c:
3794 * gfileattribute.[ch]:
3797 * gfileinputstream.h:
3798 * gfilemonitor.[ch]:
3799 * gfileoutputstream.[ch]:
3800 * gfilterinputstream.h:
3801 * gfilteroutputstream.h:
3804 * gloadableicon.[ch]:
3805 * gmemoryinputstream.c:
3806 * gmountoperation.c:
3808 Fix up a bunch of details in the docs.
3813 2007-12-11 David Zeuthen <davidz@redhat.com>
3815 Rework how volumes, drives and volume monitoring is
3816 done. Previosly the model was
3818 GDrive <1-1> GVolume
3820 where a GDrive instance represented a mount point and a GVolume
3821 instance represented a mounted file system. This patch changes it
3824 GDrive <1-N> GVolume <1-1> GMount
3826 where GMount now serves the purpose of the old GVolume and the new
3827 GVolume serves the purpose of the old GDrive. In addition the new
3828 GDrive interface is used to represent a collection of GVolume
3829 instances (typically partitions) and also contains utility to query
3830 the state of the physical drive the GDrive object represents (such
3831 as checking for media, polling the drive, ejecting the media etc.).
3833 Also implement mounting and unmounting in the Unix volume monitor
3834 backend. A subquent patch will introduce GDrive support for ejection
3838 * gdrive.c: (g_drive_is_media_check_automatic),
3839 (g_drive_is_media_removable), (g_drive_has_media),
3840 (g_drive_can_poll_for_media), (g_drive_eject),
3841 (g_drive_eject_finish), (g_drive_poll_for_media),
3842 (g_drive_poll_for_media_finish):
3844 * gfile.c: (g_file_find_enclosing_mount):
3847 * glocaldirectorymonitor.c:
3848 (g_local_directory_monitor_constructor), (mounts_changed):
3849 * glocalfile.c: (get_mount_info),
3850 (g_local_file_find_enclosing_mount),
3851 (g_local_file_file_iface_init):
3852 * gnativevolumemonitor.h:
3853 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3854 (get_connected_drives), (g_union_volume_monitor_class_init),
3855 (child_volume_added), (child_volume_removed),
3856 (child_volume_changed), (child_mount_added), (child_mount_removed),
3857 (child_mount_pre_unmount), (child_mount_changed),
3858 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3859 (g_union_volume_monitor_remove_monitor),
3860 (_g_mount_get_for_mount_path):
3861 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3862 (guess_system_internal), (_g_get_unix_mounts),
3863 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3864 (g_unix_mount_free), (g_unix_mount_compare),
3865 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3866 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3867 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3868 (type_to_icon), (g_unix_mount_guess_name),
3869 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3870 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3871 (_resolve_symlink), (_resolve_dev_root):
3873 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3874 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3875 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3876 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3877 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3878 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3879 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3880 (g_unix_volume_volume_iface_init):
3882 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3883 (get_mounts), (get_volumes), (get_connected_drives),
3884 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3885 (mountpoints_changed), (mounts_changed),
3886 (g_unix_volume_monitor_init),
3887 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3888 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3889 * gunixvolumemonitor.h:
3890 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3891 (g_volume_mount), (g_volume_mount_finish):
3893 * gvolumemonitor.c: (g_volume_monitor_class_init),
3894 (g_volume_monitor_get_connected_drives),
3895 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3898 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3900 * gmountoperation.h (GPasswordFlags): Close the gap
3902 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3904 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3906 * gdesktopappinfo.[hc]: Remove _-prefixes
3908 2007-12-10 Tor Lillqvist <tml@novell.com>
3910 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3913 2007-12-10 Alexander Larsson <alexl@redhat.com>
3915 * gfile.c (g_file_set_display_name):
3916 Don't hardcode '/' (#502727)
3918 2007-12-09 Hans Breuer <hans@breuer.org>
3920 * makefile.msc : follow lib naming convention
3921 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3922 for user and group name, tested with ../tests/gio-ls
3924 2007-12-09 A. Walton <awalton@svn.gnome.org>
3926 * gdesktopappinfo.c:
3932 * gfileenumerator.c:
3937 * gmemoryinputstream.c:
3938 * gmemoryoutputstream.c:
3940 * gsimpleasyncresult.c:
3941 More documentation cleanup and filling in missing information, bringing
3942 GIO to 99% symbol coverage.
3944 2007-12-08 Hans Breuer <hans@breuer.org>
3946 [gio compiles and links on win32, not sure how much already works]
3947 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3948 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3949 base on win32 API; prefer g_lstat() over lstat(); instead of
3950 localtime_r() use an all GLib implementation on win32;
3951 get_mount_info() still needs a win32 specifc implementation
3952 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3953 win32_get_file_user_info to get owner/group info without uid/gid
3954 * glocalfileinputstream.c : include <io.h> on win32
3955 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3956 definition, use g_win32_ftruncate() for G_OS_WIN32
3957 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3958 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3959 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3960 * makefile.msc : updated
3962 2007-12-07 Alexander Larsson <alexl@redhat.com>
3964 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3965 Avoid warning spew if error == NULL
3967 2007-12-07 Alexander Larsson <alexl@redhat.com>
3970 Update docs wrt etags
3972 2007-12-06 Alexander Larsson <alexl@redhat.com>
3975 Include sys/types.h for dev_t (#501919)
3977 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3981 Make abicheck and pltcheck pass.
3983 2007-12-05 Alexander Larsson <alexl@redhat.com>
3986 * giomodule-priv.h: Added.
3987 * glocaldirectorymonitor.c:
3988 * glocalfilemonitor.c:
3989 * gunionvolumemonitor.c:
3991 Actually add the declaration of _g_io_modules_ensure_loaded
3993 2007-12-05 Alexander Larsson <alexl@redhat.com>
3995 * gdatainputstream.c:
4000 * glocaldirectorymonitor.c:
4001 * glocalfilemonitor.c:
4002 * gunionvolumemonitor.c:
4004 Make g_io_modules_ensure_loaded a private function and
4005 don't pass in the dirname. This means we can do magic
4006 directory finding in the win32 version.
4007 Export the actual load-modules-in-directory code so that
4008 gvfs can reuse that.
4010 2007-12-05 Alexander Larsson <alexl@redhat.com>
4012 * gbufferedinputstream.c:
4013 * gbufferedoutputstream.c:
4016 * gfileenumerator.[ch]:
4017 * gfileinputstream.c:
4018 * gfileoutputstream.[ch]:
4019 * gfilterinputstream.c:
4020 * gfilteroutputstream.c:
4021 * ginputstream.[ch]:
4023 * glocalfileenumerator.c:
4024 * glocalfileinputstream.c:
4025 * glocalfileoutputstream.c:
4026 * gmemoryinputstream.c:
4027 * gmemoryoutputstream.c:
4028 * goutputstream.[ch]:
4031 * gunixinputstream.c:
4032 * gunixoutputstream.c:
4033 Rename all struct members named:
4034 read, write, close, truncate, or mount
4035 to foo_fn, as these are reserved names
4036 and could be defined as macros in libc.
4039 2007-12-04 Alexander Larsson <alexl@redhat.com>
4042 (g_output_stream_close):
4043 Only call flush if non-null.
4045 2007-11-30 Dan Winship <danw@gnome.org>
4047 * ginputstream.c (g_input_stream_set_pending): Make this take a
4048 GError and return a gboolean, and do the "outstanding operation"
4049 check (and the "stream is already closed" check) itself.
4050 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
4052 * goutputstream.c (g_output_stream_set_pending)
4053 (g_output_stream_clear_pending): Likewise
4055 * gbufferedinputstream.c:
4056 * gfileinputstream.c:
4057 * gfileoutputstream.c: Update for that
4059 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
4060 Like g_simple_async_report_error_in_idle, but takes a GError
4061 rather than building one.
4063 2007-11-30 Dan Winship <danw@gnome.org>
4065 * goutputstream.c: Don't cheat and unset the "pending" flag around
4066 inner calls. Instead, call the class method directly rather than
4067 the wrapper function that checks "pending"
4069 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4071 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4073 2007-12-03 Hans Breuer <hans@breuer.org>
4075 [start of port to win32/msvc]
4076 * gcancellable.c : HAVE_UNIST_H and _pipe()
4077 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4078 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4079 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4081 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4082 * glocalvfs.c : use HAVE_PWD_H
4083 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4084 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4085 * Makefile.am : added to EXTRA_DIST
4087 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4089 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4092 2007-12-03 Alexander Larsson <alexl@redhat.com>
4095 Handle OSX style xattrs API (#500506)
4097 2007-12-03 Alexander Larsson <alexl@redhat.com>
4101 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4103 2007-12-02 A. Walton <awalton@svn.gnome.org>
4107 Documentation accuracy fixes.
4109 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4111 * gioenumtypes.c.template: Fix typo.
4113 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4115 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4117 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4119 * gdirectorymonitor.c:
4120 * gfilemonitor.c: Add properties
4122 * gbufferedoutputstream.c: Don't mark buffer-size property
4125 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4127 * gbufferedoutputstream.c: Add auto-grow property.
4129 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4131 * *.c: Unify the capitalization of section headings.
4133 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4135 * gmountoperation.c: Add properties
4137 * gdatainputstream.c: Turn byte-order and newline-type into
4140 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4142 * gioenumtypes.[hc].template: Templates for enum registration
4144 * Makefile.am: Generate gioenumtypes.[hc]
4146 * gio.h: Include gioenumtypes.h
4148 * gfile.h: Add some explicit nicks.
4150 * gio.symbols: Add new symbols
4152 * pltcheck.sh: Adjust
4154 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4156 * *.c: Explain etags and link to the explanation
4158 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4160 * *.c: Explain I/O priority.
4162 * *.c: More coding style fixes.
4164 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4166 * gasyncresult.c: Add another paragraph to the intro,
4167 adjust coding style of example.
4169 2007-11-29 A. Walton <awalton@svn.gnome.org>
4172 Fixes unknown meaning in GAppLaunchContext docs.
4174 Clarify asynchronous ops.
4176 Fix entity tag docs.
4179 Provides missing gtk-doc section, fixes API docs slighly.
4180 * gsimpleasyncresult.c:
4181 Fill in missing info in docs.
4182 * gunixinputstream.c:
4183 * gunixoutputstream.c:
4184 Be more expressive in short description.
4186 Remove gtk-doc stubs for non-public API.
4188 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4190 * *.c: Coding style fixups
4192 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4194 * inotify/inotify-helper.c: Don't export the lock from libgio.
4196 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4199 * abicheck.sh: Fix copy-and-paste leftovers
4201 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4203 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4205 2007-11-28 Alexander Larsson <alexl@redhat.com>
4209 Removed unnecessary file
4211 * gdesktopappinfo.[ch]:
4214 * glocaldirectorymonitor.[ch]:
4216 * glocalfileenumerator.[ch]:
4217 * glocalfileinputstream.[ch]:
4218 * glocalfilemonitor.[ch]:
4219 * glocalfileoutputstream.[ch]:
4221 * gnativevolumemonitor.c:
4222 * gpollfilemonitor.[ch]:
4223 * gunionvolumemonitor.[ch]:
4226 * gunixvolumemonitor.[ch]:
4229 * inotify/ginotifydirectorymonitor.[ch]:
4230 * inotify/ginotifyfilemonitor.[ch]:
4231 * inotify/inotify-helper.c:
4232 Append _ to all internal functions
4236 Export symbols needed for modules
4238 2007-11-28 Alexander Larsson <alexl@redhat.com>
4241 * abicheck.sh: Added.
4242 * makegioalias.pl: Added.
4243 * pltcheck.sh: Added.
4244 * gio.symbols: Added.
4247 Initial work on adding symbol handling.
4250 Correct ifdef guard name
4253 * inotify/Makefile.am:
4254 * xdgmime/Makefile.am:
4255 Include toplevel Makefile.decl
4257 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4259 * gcontenttype.c: Move doc comments to the unix section.
4261 * *.[hc]: More trivial doc corrections.
4263 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4265 * gpollfilemonitor.c:
4269 * gdesktopappinfo.c:
4274 * gdatainputstream.c:
4275 * gdatainputstream.h:
4276 * gdataoutputstream.c:
4277 * gdataoutputstream.h:
4278 * gfileinfo.h: Doc cleanups
4280 2007-11-28 Andre Klapper <a9016009@gmx.de>
4282 * gdesktopappinfo.c: Fix a typo.
4284 2007-11-27 Andre Klapper <a9016009@gmx.de>
4286 * glocalfileoutputstream.c: Fix a typo.
4288 2007-11-27 Alexander Larsson <alexl@redhat.com>
4291 Don't include removed headers
4293 2007-11-27 Alexander Larsson <alexl@redhat.com>
4296 * gsocketinputstream.[ch]: Removed.
4297 * gsocketoutputstream.[ch]: Removed.
4298 * gunixinputstream.[ch]: Added.
4299 * gunixoutputstream.[ch]: Added.
4300 Renamed GSocket*Stream to GUnix*Stream and made
4301 it unix-only, since its not really only for sockets
4302 and it only works on unix (but is highly useful there).
4304 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4310 * gbufferedinputstream.c:
4311 * gbufferedinputstream.h:
4312 * gbufferedoutputstream.c:
4313 * gbufferedoutputstream.h:
4317 * gdatainputstream.c:
4318 * gdatainputstream.h:
4319 * gdataoutputstream.c:
4320 * gdataoutputstream.h:
4321 * gdirectorymonitor.c:
4322 * gdirectorymonitor.h:
4329 * gfileenumerator.c:
4330 * gfileenumerator.h:
4335 * gfileinputstream.c:
4336 * gfileinputstream.h:
4339 * gfilenamecompleter.c:
4340 * gfilenamecompleter.h:
4341 * gfileoutputstream.c:
4342 * gfileoutputstream.h:
4343 * gfilterinputstream.c:
4344 * gfilterinputstream.h:
4345 * gfilteroutputstream.c:
4346 * gfilteroutputstream.h:
4359 * glocalfileoutputstream.c:
4360 * gmemoryinputstream.c:
4361 * gmemoryinputstream.h:
4362 * gmemoryoutputstream.c:
4363 * gmemoryoutputstream.h:
4364 * gmountoperation.c:
4365 * gmountoperation.h:
4368 * gpollfilemonitor.c:
4371 * gsimpleasyncresult.c:
4372 * gsimpleasyncresult.h:
4373 * gsocketinputstream.c:
4374 * gsocketinputstream.h:
4375 * gsocketoutputstream.c:
4376 * gsocketoutputstream.h:
4383 * gunixvolumemonitor.c:
4392 Bumps documentation to 93% symbol coverage, touching most
4393 of the public files. Fixes broken function documentation prototypes.
4394 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4395 gtk-doc headers in private files.
4397 2007-11-27 Jürg Billeter <j@bitron.ch>
4399 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4400 (g_buffered_input_stream_read_byte):
4401 * gbufferedinputstream.h:
4402 New functions for efficient access to buffer and simple single byte
4405 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4406 (g_data_input_stream_read_until):
4407 * gdatainputstream.h:
4408 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4409 read_until with multiple stop chars.
4411 2007-11-27 Alexander Larsson <alexl@redhat.com>
4415 * inotify/Makefile.am:
4416 Use the user-specified giomoduledir
4418 2007-11-27 Alexander Larsson <alexl@redhat.com>
4422 Add catch-all gio.h header
4423 Don't install gdummyfile.h
4425 2007-11-26 Alexander Larsson <alexl@redhat.com>
4427 * Makefile.am (gioinclude_HEADERS):
4428 Remove trailing whitespace
4430 2007-11-26 Alexander Larsson <alexl@redhat.com>
4432 Merge gio-standalone into glib
4434 2007-11-25 Christian Kellner <gicmo@gnome.org>
4436 * gio/goutputstream.c:
4437 Fix small mistake in the docs.
4439 2007-11-21 Christian Persch <chpe@gnome.org>
4441 * gio/glocalfile.c: (g_local_file_trash):
4442 Convert filenames to UTF-8 for GError.
4443 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4444 as per xdg base dir spec.
4446 2007-11-21 Christian Persch <chpe@gnome.org>
4448 * gio/gdesktopappinfo.c:
4449 Use that g_key_file_to_data cannot fail.
4451 Use stock defines for the key file group and key names.
4454 2007-11-21 Alexander Larsson <alexl@redhat.com>
4457 (copy_stream_with_progress):
4458 Make sure we do a final progress callback with
4459 the full total size.
4461 2007-11-21 Alexander Larsson <alexl@redhat.com>
4464 Export g_file_copy_attributes
4465 Remove padding as its not needed for interfaces
4467 2007-11-20 Alexander Larsson <alexl@redhat.com>
4472 Add G_IO_ERROR_WOULD_MERGE for
4473 copy/move dir on dir with overwrite.
4475 2007-11-20 Alexander Larsson <alexl@redhat.com>
4478 * gio/glocalfileinfo.c:
4479 Add COPY_NAME (this is an optional
4480 non-modified utf8 version of the name) that
4483 2007-11-20 Alexander Larsson <alexl@redhat.com>
4485 * gio/glocalfileenumerator.c:
4486 Report errors as GIOError, not GFileError
4488 2007-11-16 Alexander Larsson <alexl@redhat.com>
4490 * gio/glocalfileoutputstream.c:
4491 * gio/gwin32appinfo.c:
4492 Fix typos in strings.
4493 Patch from Luca Ferretti <elle.uca@libero.it>
4495 2007-11-15 Alexander Larsson <alexl@redhat.com>
4498 Post release version bump
4500 === gio-standalone 0.1.2 ===
4502 2007-11-15 Alexander Larsson <alexl@redhat.com>
4504 * docs/reference/gio/Makefile.am:
4505 Fix up distcheck by removing weird
4511 2007-11-14 Alexander Larsson <alexl@redhat.com>
4513 * gio/gdesktopappinfo.c:
4514 * gio/glocaldirectorymonitor.c:
4516 * gio/glocalfileinfo.c:
4517 * gio/inotify/inotify-sub.c:
4518 * programs/gio-cat.c:
4519 * programs/gio-copy.c:
4520 * programs/gio-info.c:
4521 * programs/gio-ls.c:
4522 * programs/gio-monitor-dir.c:
4523 * programs/gio-monitor-file.c:
4524 * programs/gio-mount.c:
4525 * programs/gio-move.c:
4526 * programs/gio-rm.c:
4527 * programs/gio-save.c:
4528 * programs/gio-trash.c:
4529 Leak fixes from Kjartan Maraas
4531 2007-11-14 Alexander Larsson <alexl@redhat.com>
4533 * gio/fam/fam-helper.c:
4535 * gio/glocalfileinfo.c:
4539 * gio/inotify/inotify-diag.c:
4540 * gio/inotify/inotify-kernel.c:
4541 Various code cleanups from Kjartan Maraas
4543 2007-11-14 Alexander Larsson <alexl@redhat.com>
4545 * gio/gioscheduler.c:
4547 Set up threadpool so that we cache 2 unused
4548 idle threads for at 15 secs. This means we
4549 will reuse thread-local data (like dbus connections)
4552 2007-11-14 Alexander Larsson <alexl@redhat.com>
4554 * gio/fam/fam-helper.c:
4555 * gio/fam/gfamdirectorymonitor.c:
4556 * gio/fam/gfamfilemonitor.c:
4558 * gio/gcontenttype.c:
4559 * gio/gdatainputstream.c:
4560 * gio/gdataoutputstream.c:
4564 * gio/gfileattribute.h:
4565 * gio/gfileenumerator.c:
4567 * gio/ginputstream.c:
4570 * gio/glocalfileinfo.c:
4571 * gio/goutputstream.c:
4572 * gio/gpollfilemonitor.c:
4573 * gio/gsimpleasyncresult.c:
4574 * gio/gunixmounts.c:
4575 * gio/gunixmounts.h:
4576 * gio/inotify/ginotifydirectorymonitor.c:
4577 * gio/inotify/ginotifyfilemonitor.c:
4578 * gio/inotify/inotify-diag.c:
4579 * gio/inotify/inotify-kernel.c:
4580 * gio/inotify/inotify-path.c:
4582 * gio/test-streams.c:
4583 * programs/gio-info.c:
4584 * programs/gio-monitor-dir.c:
4585 * programs/gio-monitor-file.c:
4586 Various code cleanups from Kjartan Maraas
4588 2007-11-13 Alexander Larsson <alexl@redhat.com>
4591 Handle the uri-scheme calls for dummy files
4593 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4595 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4596 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4597 to avoid clash with the C++ keyword.
4599 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4601 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4602 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4604 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4606 * gio/glocaldirectorymonitor.c:
4607 * gio/glocalfilemonitor.c:
4608 * gio/gunionvolumemonitor.c:
4609 Don't use g_once_init_*() for initializations that could fail and
4610 could leave the initialization variable set to 0 but use GOnce.
4611 This prevents a deadlock on the second call when trying to create
4612 a monitor and no monitor type is available. Thanks to Sven Herzberg
4615 2007-11-11 Sven Herzberg <sven@imendio.com>
4617 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4618 #ifdef (make it work on MacOS X again)
4620 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4622 Fixes Changelog for last two commits (sorry guys).
4624 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4626 * gio/gbufferedinputstream.c:
4627 * gio/gdatainputstream.c:
4629 * gio/gfileoutputstream.c:
4630 * gio/gfilterinputstream.c:
4631 * gio/glocalfileinputstream.c:
4634 More consistency fixes in g*stream.c files.
4635 Significant clean of gfile's documentation, filling in of
4636 asynchronous operations documentation.
4638 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4640 * gio/gasyncresult.c:
4641 * gio/gbufferedinputstream.c:
4642 * gio/gbufferedoutputstream.c:
4643 * gio/gcancellable.c:
4644 * gio/gcontenttype.c:
4645 * gio/gdatainputstream.c:
4646 * gio/gdataoutputstream.c:
4647 * gio/gdesktopappinfo.c:
4650 * gio/gfileattribute.c:
4651 * gio/gio/gfileenumerator.c:
4653 * gio/gfileinputstream.c:
4654 * gio/gfilemonitor.c:
4655 * gio/gfileoutputstream.c:
4656 * gio/ginputstream.c:
4658 * gio/gioscheduler.c:
4659 * gio/gloadableicon.c:
4660 * gio/glocalfileoutputstream.c:
4661 * gio/gmemoryoutputstream.c:
4662 * gio/gmountoperation.c:
4663 * gio/goutputstream.c:
4665 * gio/gsimpleasyncresult.c:
4666 * gio/gunionvolumemonitor.c:
4667 * gio/gunixmounts.c:
4668 * gio/gunixvolume.c:
4672 * gio/gvolumemonitor.c:
4673 Updated documentation stubs, working towards consistency and
4676 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4678 * gio/gmemoryoutputstream.c:
4679 * gio/gmemoryoutputstream.h:
4680 Change g_memory_output_stream_set_free_on_close() to
4681 g_memory_output_stream_set_free_data() as this makes more sense and
4682 is more consistent with GMemoryInputStream.
4684 2007-11-07 Alexander Larsson <alexl@redhat.com>
4691 Change how we find the default vfs so that
4692 we can handle a gvfs failing to init
4694 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4696 * gio/gbufferedoutputstream.c:
4697 * gio/gdatainputstream.c:
4698 * gio/gdataoutputstream.c:
4699 * gio/gfileinputstream.c:
4700 * gio/gfileoutputstream.c:
4701 * gio/gfilterinputstream.c:
4702 * gio/gfilteroutputstream.c:
4703 * gio/ginputstream.c:
4704 * gio/gmemoryinputstream.c:
4705 * gio/gmemoryoutputstream.c:
4706 * gio/goutputstream.c:
4707 * gio/gsimpleasyncresult.c:
4708 * gio/gsocketinputstream.c:
4709 * gio/gsocketoutputstream.c:
4710 Add guards to the remaining public functions, add a TODO for
4711 an unimplemented function and remove some useless guards.
4713 2007-11-07 Alexander Larsson <alexl@redhat.com>
4716 Autoconf checks for the various types of
4717 getpwuid_r and getgrgid_r
4719 * gio/glocalfileinfo.c:
4720 Use the autoconf checks from above
4722 2007-11-07 Alexander Larsson <alexl@redhat.com>
4725 (g_local_file_query_filesystem_info):
4726 Some fixes for the statvfs case
4728 2007-11-07 Alexander Larsson <alexl@redhat.com>
4731 (g_local_file_query_filesystem_info):
4732 Pick the "best" of statfs / statvfs for the system
4733 if both are availible.
4735 2007-11-07 Alexander Larsson <alexl@redhat.com>
4737 Solaris fixes from Halton.Huo@Sun.COM:
4744 * gio/glocalfileinfo.c:
4745 Fix for solaris definition of getpwuid_r
4747 * gio/test-streams.c:
4748 Use G_GNUC_PRETTY_FUNCTION
4750 2007-11-07 Alexander Larsson <alexl@redhat.com>
4752 * gio/gdesktopappinfo.c:
4753 (update_default_list):
4754 Remove double semicolon.
4755 Patch from Jens Granseuer
4757 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4759 * docs/reference/gio/gio-sections.txt:
4760 * gio/gbufferedinputstream.c:
4761 * gio/gbufferedinputstream.h:
4762 * gio/gdatainputstream.c:
4763 * gio/gfileenumerator.c:
4764 * gio/gioscheduler.c:
4765 * gio/gunionvolumemonitor.c:
4767 * programs/gio-save.c:
4768 Fix typo: availible -> available. Unfortuntely this breaks API
4769 and ABI as g_buffered_input_stream_get_available() was renamed.
4771 * gio/gunixmounts.c:
4772 * gio/gbufferedinputstream.c:
4773 Add guards for public functions.
4775 2007-11-06 Ross Burton <ross@openedhand.com>
4777 * docs/reference/gio/Makefile.am:
4778 Fix invalid += usage which automake 1.10 doesn't like.
4780 2007-11-06 Alexander Larsson <alexl@redhat.com>
4783 (g_app_launch_context_class_init):
4786 Patch from Ross Burton
4788 2007-11-06 Alexander Larsson <alexl@redhat.com>
4791 Post release version bump
4793 === gio-standalone 0.1.1 ===
4795 2007-11-06 Alexander Larsson <alexl@redhat.com>
4798 Bump version to 0.1.1
4800 * gio/gsimpleasyncresult.c:
4801 (g_simple_async_result_set_from_error):
4802 Remove bogus g_return_if_fail
4804 2007-11-06 Alexander Larsson <alexl@redhat.com>
4807 The name is gio-standalone
4810 Add top src/builddir to includedir
4812 2007-11-06 Alexander Larsson <alexl@redhat.com>
4814 * docs/reference/gio/gio-sections.txt:
4816 * gio/gbufferedinputstream.c:
4817 * gio/gbufferedoutputstream.c:
4818 * gio/gcancellable.c:
4819 * gio/gdatainputstream.h:
4820 * gio/gdataoutputstream.c:
4821 * gio/gdataoutputstream.h:
4822 * gio/gdirectorymonitor.c:
4824 * gio/gfileattribute.c:
4825 * gio/gfileattribute.h:
4826 * gio/gfileenumerator.c:
4827 * gio/gfileenumerator.h:
4830 * gio/gfileinputstream.h:
4831 * gio/gfilemonitor.c:
4832 * gio/gfileoutputstream.h:
4833 * gio/glocalfilemonitor.h:
4834 * gio/glocalfileoutputstream.h:
4835 * gio/gmemoryinputstream.c:
4836 * gio/gmemoryoutputstream.c:
4837 * gio/gmountoperation.c:
4838 * gio/goutputstream.c:
4839 * gio/goutputstream.h:
4841 * gio/gsimpleasyncresult.c:
4842 * gio/gunixmounts.c:
4843 * gio/gunixmounts.h:
4845 * gio/inotify/inotify-helper.c:
4846 Fix gtk-doc warnings
4848 Patch from Ross Burton
4850 2007-11-06 Alexander Larsson <alexl@redhat.com>
4852 * gio/gfilenamecompleter.c:
4853 (g_filename_completer_get_completions):
4856 * gio/gunixvolume.c:
4857 Remove unused function
4859 Patches from Ross Burton
4861 2007-11-06 Alexander Larsson <alexl@redhat.com>
4866 Padding not needed for interfaces
4868 2007-11-06 Alexander Larsson <alexl@redhat.com>
4870 * gio/gfilemonitor.c:
4874 Make giotypes.h an internal file
4877 * gio/gbufferedinputstream.h:
4878 * gio/gbufferedoutputstream.h:
4879 * gio/gcancellable.h:
4880 * gio/gdatainputstream.h:
4881 * gio/gdataoutputstream.h:
4882 * gio/gdirectorymonitor.c:
4883 * gio/gdirectorymonitor.h:
4888 * gio/gfileattribute.h:
4889 * gio/gfileenumerator.h:
4894 * gio/gfilemonitor.c:
4895 * gio/gfilemonitor.h:
4896 * gio/gfilenamecompleter.c:
4897 * gio/gfilenamecompleter.h:
4898 * gio/gfilterinputstream.h:
4899 * gio/gfilteroutputstream.h:
4900 * gio/ginputstream.h:
4901 * gio/gmemoryinputstream.h:
4902 * gio/gmemoryoutputstream.h:
4903 * gio/gmountoperation.c:
4904 * gio/gmountoperation.h:
4905 * gio/gnativevolumemonitor.c:
4906 * gio/goutputstream.h:
4909 * gio/gsimpleasyncresult.c:
4910 * gio/gsimpleasyncresult.h:
4911 * gio/gsocketinputstream.h:
4912 * gio/gsocketoutputstream.h:
4913 * gio/gthemedicon.c:
4914 * gio/gthemedicon.h:
4918 * gio/gvolumemonitor.c:
4919 * gio/gvolumemonitor.h:
4920 Add padding in classes where it seems useful
4921 Don't include giotypes.h from public headers
4922 Move in Class definitions into c file where possible
4927 2007-11-06 Alexander Larsson <alexl@redhat.com>
4929 * docs/reference/gio/gio-docs.xml:
4930 Better structure for API docs
4932 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4935 * gio/gloadableicon.c:
4936 * gio/gsimpleasyncresult.c:
4937 * gio/gthemedicon.c:
4938 Add some more guards to public functions. Only files missing are now
4941 2007-11-06 Alexander Larsson <alexl@redhat.com>
4943 * docs/reference/gio/gio-docs.xml:
4944 Remove old files, add missing ones
4946 2007-11-06 Alexander Larsson <alexl@redhat.com>
4948 * docs/reference/gio/gio-sections.txt:
4951 Hide implementation classes
4953 * gio/gdriveprivate.h:
4954 * gio/gvolumeprivate.h:
4955 Remove non-existing function declarations
4957 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4960 Fix compilation warnings and add guards to the new functions.
4962 * gio/gasyncresult.c:
4964 Add guards to the public functions.
4967 Implement get_path().
4969 2007-11-06 Alexander Larsson <alexl@redhat.com>
4971 * gio/gfilenamecompleter.c:
4972 Make g_filename_completer_get_completions
4973 return char ** instead of GList for
4976 * docs/reference/gio/gio-docs.xml:
4977 * docs/reference/gio/gio-sections.txt:
4979 * gio/gasyncresult.c:
4980 * gio/gbufferedinputstream.c:
4981 * gio/gbufferedoutputstream.c:
4982 * gio/gcancellable.c:
4983 * gio/gcontenttype.c:
4984 * gio/gdatainputstream.c:
4985 * gio/gdataoutputstream.c:
4986 * gio/gdesktopappinfo.c:
4987 * gio/gdirectorymonitor.c:
4991 * gio/gfileattribute.c:
4992 * gio/gfileenumerator.c:
4995 * gio/gfileinputstream.c:
4996 * gio/gfilemonitor.c:
4997 * gio/gfilenamecompleter.c:
4998 * gio/gfilenamecompleter.h:
4999 * gio/gfileoutputstream.c:
5000 * gio/gfilterinputstream.c:
5002 * gio/ginputstream.c:
5004 * gio/gioscheduler.c:
5005 * gio/gloadableicon.c:
5006 * gio/glocaldirectorymonitor.c:
5008 * gio/glocalfileinputstream.c:
5009 * gio/glocalfilemonitor.c:
5010 * gio/glocalfileoutputstream.c:
5012 * gio/gmemoryinputstream.c:
5013 * gio/gmemoryoutputstream.c:
5014 * gio/gmountoperation.c:
5015 * gio/goutputstream.c:
5016 * gio/gpollfilemonitor.c:
5018 * gio/gsimpleasyncresult.c:
5019 * gio/gsocketinputstream.c:
5020 * gio/gsocketoutputstream.c:
5021 * gio/gthemedicon.c:
5022 * gio/gunionvolumemonitor.c:
5024 * gio/gunixmounts.c:
5025 * gio/gunixvolume.c:
5026 * gio/gunixvolumemonitor.c:
5030 * gio/gvolumemonitor.c:
5031 * gio/gwin32appinfo.c:
5032 Add (mostly stub) doc strings to public functions.
5033 Patch from Andrew Walton (awalton@gmail.com)
5035 2007-11-06 Alexander Larsson <alexl@redhat.com>
5037 * gio/gappinfo.[ch]:
5038 Added GAppLaunchContext object and pass that to launch.
5039 This allows simple implementation of both
5040 launch-on-screen and startup notification via a gtk+
5041 subclass of GAppLaunchContext
5043 * gio/gdesktopappinfo.c:
5044 Implement GAppLaunchContext API
5046 * gio/gwin32appinfo.c:
5049 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5051 * gio/gmountoperation.c:
5052 Add some guards to GMountOperation's public functions.
5054 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5058 * gio/gcancellable.c:
5059 * gio/gdirectorymonitor.c:
5061 * gio/gfileenumerator.c:
5062 * gio/gfilemonitor.c:,
5063 * gio/gfilenamecompleter.c:
5066 * gio/gioscheduler.c:
5070 * gio/gvolumemonitor.c:
5071 Add even more guards to various public functions.
5073 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5076 Add guards to the public functions of GAppInfo.
5078 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5080 * gio/gcontenttype.c:
5081 Add some more guards for public functions.
5083 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5085 * gio/fam/fam-module.c:
5086 * gio/fam/gfamdirectorymonitor.c:
5087 * gio/fam/gfamdirectorymonitor.h:
5088 * gio/fam/gfamfilemonitor.c:
5089 * gio/fam/gfamfilemonitor.h:
5090 * gio/inotify/ginotifydirectorymonitor.c:
5091 * gio/inotify/ginotifydirectorymonitor.h:
5092 * gio/inotify/ginotifyfilemonitor.c:
5093 * gio/inotify/ginotifyfilemonitor.h:
5094 Add proper copyright information and remove an unused variable
5095 in the GInotifyFileMonitor constructor.
5097 * gio/gcancellable.c:
5098 Add a guard for a public function and an assertion to prevent
5099 an undefined program state.
5101 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5103 * gio/gfileattribute.c:
5104 Don't run into an assertion if the given attribute value is NULL
5105 in g_file_attribute_value_get_*() but instead return a fallback
5106 value that makes sense in most situations. Passing them a attribute
5107 value with the wrong type will still run into an assertion.
5109 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5111 * gio/gfileattribute.c:
5113 Add even more guards to the public functions. Also fix the refcounting
5114 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5115 let g_file_info_list_attributes() filter the attributes by namespace
5116 instead of simply ignoring the namespace parameter.
5118 2007-11-03 Sven Herzberg <sven@imendio.com>
5120 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5121 (This makes gio work on MacOS X again)
5123 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5126 Build the gio subdirectory before the docs. Otherwise the build will
5129 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5130 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5131 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5132 Add guards to the public functions.
5134 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5136 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5137 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5138 to prevent a compiler warning.
5140 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5141 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5142 return something in the non-void function find_topdir_for().
5144 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5151 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5153 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5154 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5155 * gwin32appinfo.c (g_win32_app_info_launch):
5156 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5157 envp_for_startup_id, g_desktop_app_info_launch,
5158 g_desktop_app_info_launch_uris):
5160 Give an opaque 'startup_id' string instead of 'envp'.
5161 Support empty file lists for launching new windows.
5162 Fix infinite recursion bug when launching URIs.
5164 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5167 Add guard to the new g_file_get_uri_scheme() function.
5169 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5172 Convert a g_return_val_if_fail() to setting the GError instead as
5173 otherwise applications have to verify the parameter before otherwise
5174 and the parameter might come directly from the user.
5176 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5178 * gio/inotify/ginotify*.[ch]:
5179 Add missing copyright information.
5181 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5184 Add guards in the beginning of public functions to check for valid
5185 parameters and fix a bug in copy_stream_with_progress() that could've
5186 caused writing less bytes than reading.
5187 * gio/glocalfileinfo.c:
5188 Check for a NULL parameter and set the GError accordingly then.
5189 * gio/goutputstream.c:
5190 Fix the same bug as in gfile.c that could've caused writing less bytes
5191 than reading in g_output_stream_real_splice().
5193 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5196 Use the correct gvolumeprivate.h naming
5198 2007-11-01 Christian Kellner <gicmo@gnome.org>
5201 Remove leftover "$(daemon_sources)" entry.
5203 2007-11-01 Christian Kellner <gicmo@gnome.org>
5208 Add copyright information to source files.
5210 2007-11-01 Alexander Larsson <alexl@redhat.com>
5214 Add g_file_get_uri_scheme
5216 2007-11-01 Alexander Larsson <alexl@redhat.com>
5219 * gio/gdesktopappinfo.c:
5220 * gio/gwin32appinfo.c:
5221 Add g_app_info_get_default_for_uri_scheme.
5223 2007-11-01 Alexander Larsson <alexl@redhat.com>
5226 Correct filename for gdriveprivate.h
5228 2007-10-31 Alexander Larsson <alexl@redhat.com>
5231 Rename id:value to id:file
5234 * gio/glocalfileinfo.c:
5237 2007-10-31 Alexander Larsson <alexl@redhat.com>
5239 * gio/gunixvolume.c:
5241 Remove g_volume_get_platform_id, as thats not
5242 needed with the simpler union volume monitor
5244 2007-10-31 Alexander Larsson <alexl@redhat.com>
5247 * gio/guniondrive.[ch]: Removed.
5248 * gio/gunionvolume.[ch]: Removed.
5249 Remove GUnionDrive/Volume
5251 * gio/gunionvolumemonitor.c:
5252 Simplify union volume monitor, now we
5253 only have one native volume monitor and
5254 we use the actual volumes/drives from the
5255 child monitors instead of wrapping them
5257 * gio/gnativevolumemonitor.[ch]:
5258 Base class for native volume monitors.
5259 Includes priority and get_volume_for_mountpoint
5262 Add g_file_find_enclosing_volume
5265 Remove volume name fs attribute
5266 Add readonly fs attribute
5269 Implement readonly attribute
5270 remove volume name attribute
5271 Implement find_enclosing volume
5273 * gio/gunixmounts.c:
5274 Add a volume for "/".
5276 * gio/gunixvolume.[ch]:
5277 Set better name for /
5279 * gio/gunixvolumemonitor.[ch]:
5280 Derive from GNativeVolumeMonitor
5281 Implement get_volume_for_mountpoint
5284 GVolume typedef moved to gfile.h
5286 * gio/gvolumeprivate.h:
5287 Add g_volume_get_for_mount_path
5289 2007-10-31 Alexander Larsson <alexl@redhat.com>
5291 * gio/gunixmounts.[ch]:
5292 Add cache info to unix mount listers
5293 Make getmntent use threadsafe
5294 Add is_system_internal attribute for GUnixMount
5296 * gio/gunixvolume.c:
5297 (g_unix_volume_new):
5298 Use is_system_internal instead of own code
5300 * gio/glocaldirectorymonitor.c:
5301 * gio/gunixvolumemonitor.c:
5302 Update to new gunixmounts API
5307 2007-10-30 Alexander Larsson <alexl@redhat.com>
5310 Add volume name fsinfo attribute
5313 Read volume name info
5315 * gio/gunionvolumemonitor.c:
5316 Fix infinite loops when finalizing a union volume monitor
5318 2007-10-30 Alexander Larsson <alexl@redhat.com>
5320 * gio/goutputstream.[ch]:
5321 Add splice() with default implementation
5323 * gio/gsocketoutputstream.c:
5324 (g_socket_output_stream_write):
5325 Return error on cancellation correctly.
5327 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5329 * gio/glocalfile.c (g_local_file_trash):
5330 Do not leak a string.
5332 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5334 * gio/gfile.c (g_file_load_contents):
5335 Unref the stream after closing it.
5337 2007-10-25 Alexander Larsson <alexl@redhat.com>
5339 * gio/gioscheduler.h:
5342 2007-10-25 Alexander Larsson <alexl@redhat.com>
5346 Add g_file_has_uri_scheme and implement for local files
5348 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5350 * gio/gdesktopappinfo.c: do not leak a string.
5352 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5354 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5355 (g_local_directory_monitor_new):
5356 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5357 (g_local_file_monitor_new):
5358 Only look for the monitor type that should be used the first time
5359 and use g_qsort_with_data() instead of our own bubble sort
5362 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5365 * gio/fam/Makefile.am:
5366 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5367 * gio/fam/fam-helper.h:
5368 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5369 * gio/fam/gfamdirectorymonitor.c:
5370 * gio/fam/gfamdirectorymonitor.h:
5371 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5372 * gio/fam/gfamfilemonitor.h:
5373 * gio/glocaldirectorymonitor.c:
5374 * gio/glocaldirectorymonitor.h:
5375 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5376 * gio/glocalfilemonitor.h:
5377 * gio/inotify/Makefile.am:
5378 * gio/inotify/ginotifydirectorymonitor.c:
5379 * gio/inotify/ginotifydirectorymonitor.h:
5380 * gio/inotify/ginotifyfilemonitor.c:
5381 * gio/inotify/ginotifyfilemonitor.h:
5382 Implement the FAM and Inotify monitors as
5383 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5384 their own GIO module. GLocal(Directory|File)Monitor will use the
5385 monitor with the highest rank that is supported on that machine.
5387 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5390 Change GIO module dir to $(libdir)/gio/modules and change
5391 the log domain from GVFS to GIO. Also only export symbols starting
5392 with g_ in the resulting library.
5393 * gio/test-streams.c: (main):
5394 Set log handler for the GIO log domain.
5396 2007-10-22 Alexander Larsson <alexl@redhat.com>
5398 * gio/gfilenamecompleter.[ch]:
5399 Add g_filename_completer_set_dirs_only
5401 2007-10-22 Alexander Larsson <alexl@redhat.com>
5404 * gio/gurifuncs.[ch]:
5405 Add some simple URI helpers
5407 * gio/gfilenamecompleter.[ch]:
5408 Added object for filename (parse name actually) completion
5411 Handle ~ in parse names
5413 2007-10-17 Alexander Larsson <alexl@redhat.com>
5416 * gio/glocalfileinfo.c:
5417 Add and implement id:value attribute
5419 2007-10-17 Alexander Larsson <alexl@redhat.com>
5422 * gio/guniondrive.c:
5424 Add and implement g_drive_has_volumes
5426 2007-10-17 Alexander Larsson <alexl@redhat.com>
5429 * gio/glocalfileinfo.[ch]:
5430 Add unix:is_mountpoint and implement for local files
5432 2007-10-16 Alexander Larsson <alexl@redhat.com>
5434 * gio/gunionvolumemonitor.c:
5435 (g_union_volume_monitor_init):
5436 Fix up the unix type getting so that it works with gcc
5438 2007-10-12 Alexander Larsson <alexl@redhat.com>
5441 * gio/glocalfileinfo.c:
5442 Add thumbnail:failed to file info
5444 2007-10-12 Richard Hult <richard@imendio.com>
5446 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5447 optimizing away the get_type call (happens with some gcc versions,
5448 like the one shipped with OS X 10.4).
5450 2007-10-12 Alexander Larsson <alexl@redhat.com>
5452 * gio/glocalfileinfo.c:
5453 (_g_local_file_info_set_attribute):
5454 Fix build if not HAVE_XATTR
5455 Patch from Milosz Derezynski <internalerror@gmail.com>
5457 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5459 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5460 around for review, otherwise I would have asked you before
5463 2007-10-11 Alexander Larsson <alexl@redhat.com>
5466 Add thumbnail:path attribute
5468 * gio/glocalfileinfo.c:
5469 Implement thumbnail:path for local files
5471 2007-10-11 Alexander Larsson <alexl@redhat.com>
5473 * gio/glocalfileinfo.c:
5474 (_g_local_file_info_get):
5475 Avoid duplicate icon names
5477 2007-10-11 Alexander Larsson <alexl@redhat.com>
5479 * gio/gthemedicon.[ch]:
5480 Change g_themed_icon_get_names return type to const
5482 2007-10-10 Alexander Larsson <alexl@redhat.com>
5484 * gio/glocalfileinfo.c:
5485 Don't reference freed memory
5487 2007-10-10 Alexander Larsson <alexl@redhat.com>
5489 * gio/gfileattribute.c:
5492 * gio/glocalfileinfo.c:
5495 2007-10-10 Alexander Larsson <alexl@redhat.com>
5498 Check for NULL icons
5500 * gio/gfileattribute.c:
5501 Don't dup when getting objects (same as for string attributes)
5503 * gio/gicon.c (g_icon_equal):
5504 Safely handle NULLs in equal
5506 2007-10-10 Alexander Larsson <alexl@redhat.com>
5509 Fix c++ compilation issues
5510 Patch from Milosz Derezynski <internalerror@gmail.com>
5512 2007-10-10 Alexander Larsson <alexl@redhat.com>
5514 * programs/gio-monitor-dir.c:
5515 Don't crash if dir monitor not supported.
5517 2007-10-09 Alexander Larsson <alexl@redhat.com>
5520 Add missing G_END_DECLS
5522 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5524 * gio/gfile.c: (g_file_set_display_name),
5525 (g_file_query_settable_attributes),
5526 (g_file_query_writable_namespaces):
5527 Return NULL not FALSE on errors as the return type is a pointer.
5529 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5531 * gio/glocalfile.c: (g_local_file_monitor_file):
5532 Don't call monitor_file on the default interface vtable (which
5533 is NULL) but simply return NULL. The caller, GFile, will create a
5534 polling monitor if NULL is returned.
5536 2007-10-09 Alexander Larsson <alexl@redhat.com>
5540 * gio-unix-2.0.pc.in:
5541 Add gio-unix-2.0.pc if OS_UNIX
5544 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5546 2007-10-09 Alexander Larsson <alexl@redhat.com>
5548 * gio/gunixmounts.[ch]:
5549 Make unix mount monitoring API sane.
5550 Now its just a object with mounts_changed
5551 and mountpoints_changed signals.
5553 * gio/glocaldirectorymonitor.c:
5554 * gio/gunixvolumemonitor.c:
5555 Use new mount monitor api
5557 2007-10-09 Alexander Larsson <alexl@redhat.com>
5559 * gio/gunixmounts.[ch]:
5560 Move guess type into one call for mounts and one for mountpoints
5563 * gio/gunixvolume.c:
5566 2007-10-09 Alexander Larsson <alexl@redhat.com>
5568 * gio/gunixmounts.[ch]:
5569 Remove _ prefix in preparation to make this semi-public
5570 Hide implementation of structs
5572 * gio/glocaldirectorymonitor.c:
5574 * gio/gunixvolume.c:
5575 * gio/gunixvolumemonitor.c:
5576 Update for above API changes
5578 2007-10-08 Alexander Larsson <alexl@redhat.com>
5581 Better polling fallback. This also handles the case where we have
5582 a monitor_file implementation, but it fails.
5584 2007-10-08 Alexander Larsson <alexl@redhat.com>
5588 * gio/gunixmounts.c:
5589 * programs/gio-monitor-dir.c:
5590 * programs/gio-monitor-file.c:
5591 Added cancellable to file monitoring calls.
5592 These are really sync calls and need this.
5594 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5596 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5597 (g_local_vfs_class_init):
5598 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5599 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5601 2007-10-05 Alexander Larsson <alexl@redhat.com>
5603 * gio/gdirectorymonitorprivate.h:
5604 * gio/gfilemonitorprivate.h:
5605 * gio/gdirectorymonitor.h:
5606 * gio/gfilemonitor.h:
5607 Remove *private.h and move to the public API, so that
5608 we can do implementations outside gio (such as in gvfs)
5610 * gio/gdirectorymonitor.c:
5611 * gio/gfilemonitor.c:
5612 * gio/glocaldirectorymonitor.c:
5613 * gio/gpollfilemonitor.c:
5614 * gio/inotify/inotify-helper.c:
5615 * gio/fam/fam-helper.c:
5616 Update to the new header names
5618 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5620 * gio/gdirectorymonitor.c:
5621 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5624 2007-10-04 Alexander Larsson <alexl@redhat.com>
5626 * gio/glocalfileinfo.c (get_access_rights):
5627 Set CAN_TRASH when we can move the file.
5628 We should really also check for a parent trash dir.
5630 2007-10-04 Alexander Larsson <alexl@redhat.com>
5632 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5633 Add can_trash access attribute
5635 2007-10-04 Alexander Larsson <alexl@redhat.com>
5638 (g_local_file_trash):
5639 Create info file first. This is per-spec and allows
5640 us to actually trash directories.
5642 2007-10-02 Alexander Larsson <alexl@redhat.com>
5644 * gio/gdesktopappinfo.c:
5645 Implement the new mime support code.
5646 Always set app as handling mimetype when being set as default for it
5648 2007-10-01 Alexander Larsson <alexl@redhat.com>
5650 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5651 Fix up check for xattrs:
5653 2007-10-01 Alexander Larsson <alexl@redhat.com>
5656 (g_app_info_set_as_default_for_extension):
5657 (g_app_info_add_supports_type):
5658 (g_app_info_can_remove_supports_type):
5659 (g_app_info_remove_supports_type):
5660 Make these fail nicely if not implemented
5662 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5664 * gio/glocalfileoutputstream.c:
5665 * gio/glocalfileoutputstream.h:
5670 * programs/gio-save.c:
5671 Add a GFileCreateFlags argument to operations that can create
5674 2007-10-01 Alexander Larsson <alexl@redhat.com>
5676 * gio/gappinfo.[ch]:
5677 * gio/gdesktopappinfo.c:
5678 Add more (stubbed out) mime API needed for nautilus
5680 2007-10-01 Alexander Larsson <alexl@redhat.com>
5683 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5684 Add g_app_info_set_as_default_for_extension.
5686 * gio/gdesktopappinfo.c:
5687 Dummy for g_app_info_set_as_default_for_extension
5688 Support flags in g_app_info_create_from_commandline
5690 * gio/gwin32appinfo.c:
5692 Update for API changes
5694 * gio/gthemedicon.c:
5695 Properly NULL-terminate list of icon names
5697 2007-09-28 Alexander Larsson <alexl@redhat.com>
5699 * gio/gloadableicon.h:
5700 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5702 2007-09-28 Alexander Larsson <alexl@redhat.com>
5705 Install headers in $includedir/gio-standalone/
5707 * gio-2.0.pc.in: Added.
5708 * gio-standalone.pc.in: Removed.
5711 Renamed pkg-config file to match glib (for future move)
5712 Update to the new include dir
5715 Add more TODO comments
5717 2007-09-28 Alexander Larsson <alexl@redhat.com>
5719 * gio/gdesktopappinfo.[ch]:
5720 Expose new_from_filename
5721 Add getter for is_hidden and handle it better
5723 2007-09-28 Alexander Larsson <alexl@redhat.com>
5725 * gio/gfileinfo.[ch]:
5726 Rename g_file_size_format_for_display to
5727 g_format_file_size_for_display.
5728 Now it doesn't have the g_file prefix, so we
5729 can later move it to glib.
5731 2007-09-28 Alexander Larsson <alexl@redhat.com>
5733 * gio/gappinfo.[ch]:
5734 Add g_app_info_get_id and g_app_info_get_executable.
5735 Make all getters non-reffing
5736 Make g_app_info_launch take GFile arguments.
5737 Add must_support_uris argument to g_app_info_get_default_for_type.
5739 * gio/gwin32appinfo.c:
5740 Update to GAppInfo api changes
5742 * gio/gdesktopappinfo.c:
5743 Update to GAppInfo api changes
5744 Implement supports_xdg_startup_notify
5746 * gio/gfileicon.c (g_file_icon_get_file):
5747 Make getter non-reffing.
5752 2007-09-27 Alexander Larsson <alexl@redhat.com>
5754 * gio/gfileinfo.[ch]:
5755 Add g_file_size_format_for_display helper
5757 2007-09-27 Alexander Larsson <alexl@redhat.com>
5759 * gio/glocalfileinfo.c:
5760 Set UNIX_GID from gid, not from uid
5762 2007-09-27 Alexander Larsson <alexl@redhat.com>
5765 Add g_file_set_attributes_async
5767 2007-09-27 Alexander Larsson <alexl@redhat.com>
5769 * gio/glocalfile.c (g_local_file_set_display_name):
5770 Fix set_display_name to actually rename to the right place.
5771 Use lstat to look for existing files so we don't overwrite
5774 2007-09-26 Alexander Larsson <alexl@redhat.com>
5777 Add g_file_set_display_name_async()
5779 2007-09-26 Alexander Larsson <alexl@redhat.com>
5782 Add load_partial_contents async calls
5785 Make internal function static
5787 2007-09-26 Alexander Larsson <alexl@redhat.com>
5789 * gio/glocalfileinfo.c:
5790 Correctly detect broken symlinks
5792 2007-09-26 Alexander Larsson <alexl@redhat.com>
5794 * gio/gcancellable.c (g_cancellable_cancel):
5795 Allow cancel on NULL cancellable
5797 2007-09-25 Alexander Larsson <alexl@redhat.com>
5799 * gio/gsimpleasyncresult.c:
5800 Don't allocate g_error manually.
5801 Fixes g_slice/g_new mixup crash
5803 2007-09-25 Alexander Larsson <alexl@redhat.com>
5805 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5806 Actually set active_backend.
5807 This means the monitor will be cancelled correctly.
5809 2007-09-25 Alexander Larsson <alexl@redhat.com>
5811 * gio/gdirectorymonitor.c:
5812 Set timeout to NULL when destroying
5814 2007-09-25 Alexander Larsson <alexl@redhat.com>
5817 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5818 that is a better description of the error.
5820 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5822 * gio/gvfs.c: (g_vfs_get_local):
5823 Make the local vfs variable static. The same instance should
5826 2007-09-24 Alexander Larsson <alexl@redhat.com>
5828 * gio/glocalfileinfo.c:
5829 Pass in actual length read into sniffer, not the length
5832 2007-09-21 Alexander Larsson <alexl@redhat.com>
5834 * gio/gfileenumerator.c:
5837 * gio/gfileinputstream.c:
5838 * gio/gfileoutputstream.c:
5839 * gio/ginputstream.c:
5840 * gio/goutputstream.c:
5841 Don't crash if async callbacks are NULL
5843 2007-09-20 Alexander Larsson <alexl@redhat.com>
5846 Add async enumerate_children method and default
5849 2007-09-20 Alexander Larsson <alexl@redhat.com>
5852 Add g_file_contains_file & g_file_get_relative_path, since they
5853 were needed for nautilus.
5854 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5859 Implement new methods
5861 2007-09-17 Alexander Larsson <alexl@redhat.com>
5864 * gio/gfileinputstream.[ch]:
5865 * gio/gfileoutputstream.[ch]:
5867 * gio/glocalfileenumerator.[ch]:
5868 * gio/glocalfileinfo.[ch]:
5869 * gio/glocalfileinputstream.c:
5870 * gio/glocalfileoutputstream.c:
5871 * gio/gpollfilemonitor.c:
5872 * programs/gio-copy.c:
5873 * programs/gio-info.c:
5874 * programs/gio-move.c:
5875 Rename get_file_info to query_info() to make it clearer
5876 that these are not simple getters, but do i/o.
5878 2007-09-17 Alexander Larsson <alexl@redhat.com>
5880 * gio/gdatainputstream.[ch]:
5881 * gio/test-streams.c:
5882 Use _read_XXX instead of _get_XXX for the i/o calls
5885 2007-09-17 Alexander Larsson <alexl@redhat.com>
5888 Added needed stuff to TODO comment
5890 2007-09-17 Alexander Larsson <alexl@redhat.com>
5892 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5893 Don't error out removing the backup copy if it doesn't
5896 2007-09-14 Alexander Larsson <alexl@redhat.com>
5898 * programs/Makefile.am:
5899 * programs/gvfs-*.c:
5901 Renamed apps from gvfs-xxx to gio-xxx.
5903 2007-09-14 Alexander Larsson <alexl@redhat.com>
5906 * gio/gfileoutputstream.[ch]:
5907 * gio/glocalfileoutputstream.c:
5908 * programs/gvfs-save.c:
5909 g_file_output_stream_get_etag doesn't do i/o, so remove
5910 cancellation and error.
5912 2007-09-14 Alexander Larsson <alexl@redhat.com>
5915 Add new_etag output to replace_contents functions
5917 2007-09-14 Alexander Larsson <alexl@redhat.com>
5919 * gio/gfileoutputstream.[ch]:
5920 Add async get_file_info and default implementation
5922 2007-09-14 Alexander Larsson <alexl@redhat.com>
5924 * gio/gfileinputstream.c:
5925 Implement fallback wrapper for async get_file_info
5927 2007-09-14 Alexander Larsson <alexl@redhat.com>
5930 Add etag out argument to load_contents
5935 2007-09-14 Alexander Larsson <alexl@redhat.com>
5937 * gio/gcontenttype.c (looks_like_text):
5938 Whitespace like tab, cr and lf do not make the
5941 2007-09-14 Alexander Larsson <alexl@redhat.com>
5943 * gio/gfileinputstream.[ch]:
5944 Add async get_file_info.
5946 2007-09-13 Alexander Larsson <alexl@redhat.com>
5948 * gio/goutputstream.c (g_output_stream_write_all):
5949 Allow NULL for bytes_written
5951 2007-09-13 Alexander Larsson <alexl@redhat.com>
5953 * gio/gmemoryinputstream.[ch]:
5954 Add accessors for data
5956 2007-09-13 Alexander Larsson <alexl@redhat.com>
5958 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5959 Don't crash if length is NULL