1 2009-03-01 Matthias Clasen <mclasen@redhat.com>
3 * gdatainputstream.c: Fix docs
5 2009-02-27 Matthias Clasen <mclasen@redhat.com>
7 Bug 573421 – Clarify message format in GMountOperation
9 * gmountoperation.c: Document that the first line of a
10 multi-line message should be interpreted as a heading.
12 2009-02-27 David Zeuthen <davidz@redhat.com>
14 Bug 573462 – GEmblemedIcon leak
16 * gemblemedicon.c (g_emblemed_icon_finalize):
17 Avoid leaking a GList.
19 2009-02-27 Alexander Larsson <alexl@redhat.com>
23 Split out the extension point registration code to its
27 Ensure extension points are registered before extending it.
28 It might not have happened yet if g_vfs_get_local() is called.
30 2009-02-26 Alexander Larsson <alexl@redhat.com>
32 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
33 * gmemoryoutputstream.c:
34 Track actual valid size, even if we later seek back.
36 * tests/memory-output-stream.c:
39 2009-02-26 Alexander Larsson <alexl@redhat.com>
41 Bug 543183 – Clarify docs for g_file_has_prefix
43 * gfile.c: (g_file_has_prefix):
44 Clarify how the prefix matching works.
46 2009-02-26 Alexander Larsson <alexl@redhat.com>
49 Support desktop file key X-GIO-NoFuse which disables
50 use of fuse pathnames for %u and %U arguments.
52 2009-02-25 Alexander Larsson <alexl@redhat.com>
54 Bug 570073 – Add support for reading filesystems on Interix
56 * gunixmounts.c (_g_get_unix_mounts):
57 Support Interix. Patch from Fabian Groffen
59 2009-02-25 Paolo Borelli <pborelli@katamail.com>
61 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
63 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
65 2009-02-23 Alexander Larsson <alexl@redhat.com>
68 Remove accidentally commited spew
70 2009-02-20 Alexander Larsson <alexl@redhat.com>
73 (g_content_type_guess):
74 Don't ever sniff desktop files when the filename is known.
75 In other words, only allow desktop files with the .desktop extension
76 and when the filename isn't known.
77 This is a security precaution since desktop files can execute
78 arbitrary code when launched and we don't want to allow them to
79 try and hide as another type. There is no legit reason to not
80 have the .desktop extension anyway.
82 2009-02-19 Alexander Larsson <alexl@redhat.com>
84 Bug 549298 – impossible to copy files with p (pipe) flag
88 Error out if the source file is a special file
90 2009-02-18 Alexander Larsson <alexl@redhat.com>
92 Bug 560564 – Replacing a symlink with its linked file truncates the original file
95 Add G_FILE_CREATE_REPLACE_DESTINATION
97 * glocalfileoutputstream.c:
98 (handle_overwrite_open):
99 (_g_local_file_output_stream_replace):
100 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
103 (file_copy_fallback):
104 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
107 2009-02-17 Ryan Lortie <desrt@desrt.ca>
109 * gfileinfo.c: unref the destination's attribute matcher before
112 2009-02-17 Matthias Clasen <mclasen@redhat.com>
114 * === Released 2.19.8 ===
116 2009-02-17 Matthias Clasen <mclasen@redhat.com>
118 * gio.symbols: Add missing exports for new API
120 * gdatainputstream.c: Add missing Since: tags.
122 2009-02-16 Matthias Clasen <mclasen@redhat.com>
124 * === Released 2.19.7 ===
126 2009-02-16 Matthias Clasen <mclasen@redhat.com>
128 * gmountoperation.[hc]: Add an "aborted" signal to abort a
129 mount operation from the backend side.
131 * gvolume.h: Add docs regarding the "aborted" signal.
133 2009-02-16 Ryan Lortie <desrt@desrt.ca>
135 Bug 505042 – add file attribute for actually used file size in bytes
137 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
138 "standard::allocated-size"
139 * gfileattribute.c: document
140 * glocalfileinfo.c: set the allocated size from st_blocks * 512
142 2009-02-16 Ryan Lortie <desrt@desrt.ca>
144 Bug 571598 – GAsyncResult with NULL gobject
146 * gsimpleasyncresult.c: remove various assertions and add some checks
147 to allow for a NULL source_object in GSimpleAsyncResult.
149 2009-02-11 Matthias Clasen <mclasen@redhat.com>
151 Bug 541225 – Can't compile gio on AIX : duplicate case value in
154 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
155 Reported by Nicolas Joseph
157 2009-02-04 Alexander Larsson <alexl@redhat.com>
159 Bug 566747 - URIs opened with firefox %u load as local files
161 * gdummyfile.c (g_dummy_file_get_path):
162 Dummy files are never used for local paths, so always return NULL
165 2009-02-02 Matthias Clasen <mclasen@redhat.com>
167 * === Released 2.19.6 ===
169 2009-01-31 Paolo Borelli <pborelli@katamail.com>
171 * glocalfileinfo.c: plug a tiny mem leak.
173 2009-01-29 Ryan Lortie <desrt@desrt.ca>
175 * gioerror.c (g_io_error_from_errno): handle all possible cases of
176 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
178 2009-01-28 Ryan Lortie <desrt@desrt.ca>
180 Bug 568575 – _async functions for GDataInputStream
182 * gdatainputstream.h:
183 * gdatainputstream.c: add _async versions of read_line and read_until.
185 * ../docs/reference/gio/gio-sections.txt: add new functions
186 * tests/sleepy-stream.c: new test case for async read line
187 * tests/Makefile.am: add new test
189 2009-01-22 Ryan Lortie <desrt@desrt.ca>
191 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
193 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
194 g_buffered_input_stream_fill): check for count < -1 instead of count <
195 0 and copy modified check to non-async version for consistency.
196 document the "count = -1" API.
198 2009-01-22 Ryan Lortie <desrt@desrt.ca>
200 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
202 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
203 after we have successfully read data from the base stream
205 2009-01-20 Ryan Lortie <desrt@desrt.ca>
207 Bug 568394 – dropping the last reference to a stream filter closes the
210 * gfilterinputstream.h:
211 * gfilterinputstream.c: add "close-base-stream" property and only
212 close the base stream if it is true. issue async close callbacks from
213 correct source object.
214 * gfilteroutputstream.h:
215 * gfilteroutputstream.c: add a "close-base-stream" property and only
216 close the base stream if it is true. issue async close callbacks from
217 correct source object.
218 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
219 before closing the base stream. fix invalid source tag comparison in
220 close_async (was comparing to flush_async).
221 * ../docs/reference/gio/gio-sections.txt:
223 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
224 * tests/filter-streams.c: new test cases
225 * tests/Makefile.am: add new test
226 * tests/.gitignore: add new test
228 2009-01-19 Matthias Clasen <mclasen@redhat.com>
230 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
232 2009-01-19 Matthias Clasen <mclasen@redhat.com>
234 * === Released 2.19.5 ===
236 2009-01-19 Matthias Clasen <mclasen@redhat.com>
238 * gappinfo.h: Document get_commandline vfunc
240 2009-01-19 Matthias Clasen <mclasen@redhat.com>
242 * gunixmounts.c: Some stylistic fixes.
244 2009-01-08 Matthias Clasen <mclasen@redhat.com>
246 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
247 functions in non-UTF8 locale
249 * xdgmime/xdgmimecache.c:
250 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
252 2009-01-08 Matthias Clasen <mclasen@redhat.com>
254 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
256 2009-01-07 Matthias Clasen <mclasen@redhat.com>
258 Bug 566770 – error code 0 for Too many open files is useless
260 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
261 Requested by Olivier Sessink.
263 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
265 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
266 G_IO_ERROR_TOO_MANY_OPEN_FILES.
268 2009-01-05 Matthias Clasen <mclasen@redhat.com>
270 * === Released 2.19.4 ===
272 2009-01-05 Dan Winship <danw@gnome.org>
274 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
275 "const char **" to avoid a warning.
277 * gemblem.c (g_emblem_from_tokens):
278 * gemblemedicon.c (g_emblemed_icon_from_tokens):
279 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
282 2009-01-05 Matthias Clasen <mclasen@redhat.com>
284 Bug 566064 – Add NOATIME flag to query_info_flags
286 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
287 sniffing for mime types. Based on a patch by A. Walton
289 2009-01-05 Ryan Lortie <desrt@desrt.ca>
291 * tests/.gitignore: improve
292 * tests/Makefile.am: add new simple-async-result test
293 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
295 2009-01-05 Ryan Lortie <desrt@desrt.ca>
298 * ../docs/reference/gio/gio-sections.txt:
299 * gsimpleasyncresult.h:
300 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
301 Implementation by Dan Winship. Closes #566170.
303 2008-12-31 Matthias Clasen <mclasen@redhat.com>
307 * gunixinputstream.c:
308 * gunixoutputstream.c: Add a note about being UNIX-specific.
310 2008-12-15 Matthias Clasen <mclasen@redhat.com>
312 * === Released 2.19.3 ===
314 2008-12-12 Dan Winship <danw@gnome.org>
316 * pltcheck.sh: make this work on x86_64
318 2008-12-12 Ryan Lortie <desrt@desrt.ca>
320 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
323 2008-12-12 Ryan Lortie <desrt@desrt.ca>
325 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
326 multiple mount entries match the requested path
328 2008-12-10 Alexander Larsson <alexl@redhat.com>
330 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
331 g_simple_async_result_run_in_thread
333 * gsimpleasyncresult.c:
334 Make g_simple_async_result_run_in_thread check cancellation before
335 calling out to the user in the callback. This means we guarantee
336 reporting cancels of async operations from the main threads, which
337 is probably more in line with what users expect.
339 Note that there are still no such guarantees for cancelling sync
340 operations or cancelling async operation from outside the main
341 thread. Furthermore, the exact behaviour of async implementations
342 not using run_in_thread may differ.
344 2008-12-09 Alexander Larsson <alexl@redhat.com>
346 Bug 515777 - incorrect date&time on copy
349 (g_local_file_class_init):
350 Copy mtime by default
353 Change docs about G_FILE_COPY_ALL_METADATA to not mention
356 2008-12-08 Matthias Clasen <mclasen@redhat.com>
358 Bug 558298 – Hide ecryptfs mounts
360 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
361 so that the desktop does not show both the mount and the target
362 directory. Patch by Martin Pitt
364 2008-12-08 Matthias Clasen <mclasen@redhat.com>
366 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
370 * gunixinputstream.[hc]:
371 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
372 including getters and setters. Patch by Maciej Piechotka
374 2008-12-07 Matthias Clasen <mclasen@redhat.com>
376 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
378 * tests/live-g-file.c: Support compilers that don't understand
379 ISO C varargs macros. Patch by Eric Lamarque
381 2008-12-07 Matthias Clasen <mclasen@redhat.com>
383 Bug 526320 – should not list mounts that the user doesn't have
386 gunixmounts.c: Use g_access() to check accessibility of local devices.
389 2008-12-01 Matthias Clasen <mclasen@redhat.com>
391 * === Released 2.19.2 ===
393 2008-12-01 Matthias Clasen <mclasen@redhat.com>
395 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
396 behaviour change, and update the docs instead, to avoid breaking
399 2008-12-01 Matthias Clasen <mclasen@redhat.com>
401 * === Released 2.19.1 ===
403 2008-12-01 Alexander Larsson <alexl@redhat.com>
407 * gunionvolumemonitor.c:
409 Add and document g_mount_is_shadowed plus calls
410 to set/unset a mount as shadowed
412 2008-11-28 Matthias Clasen <mclasen@redhat.com>
414 * gio/tests/g-icon.c: Comment out two failing tests
416 2008-11-28 Matthias Clasen <mclasen@redhat.com>
418 Bug 555486 – No way to recover command line from GAppInfo
421 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
422 by Hans Petter Jansson.
424 * gdesktopappinfo.c: And implement it here.
426 2008-11-28 Christian Dywan <christian@imendio.com>
428 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
430 2008-11-28 Matthias Clasen <mclasen@redhat.com>
432 Bug 559633 – gtk_image_new_from_gicon does not always work for
435 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
436 extensions on icon names. Proposed by Axel von Bertoldi.
438 2008-11-28 Matthias Clasen <mclasen@redhat.com>
440 Bug 548163 – Nautilus displays wrong error message for too long file
443 * glocalfile.c (g_local_file_set_display_name): Correctly set
444 error conditions if the new name is e.g. too long. Reported
445 by Leonardo Ferreira Fontenelle.
447 2008-11-28 Matthias Clasen <mclasen@redhat.com>
449 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
452 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
453 documented and include the line end in the returned string.
454 Pointed out by Paul Pogonyshev.
456 * tests/data-input-stream.c: Fix the read_line test to test the
457 documented behaviour.
459 2008-11-28 Matthias Clasen <mclasen@redhat.com>
461 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
462 files that have been created by g_app_info_create_from_commandline.
464 2008-11-28 Matthias Clasen <mclasen@redhat.com>
466 Bug 541715 – win32 : patch for warnings and signature problems in
469 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
472 2008-11-28 Matthias Clasen <mclasen@redhat.com>
474 Bug 562393 – g_buffered_input_stream_read_byte broken if data
477 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
478 handling of buffered content. Patch by Philip Withnall
480 * tests/buffered-input-stream.c: Add a testcase for this bug.
481 * tests/Makefile.am: And build it
483 2008-11-28 Matthias Clasen <mclasen@redhat.com>
485 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
488 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
489 '/' away. Spotted by Dan Williams.
491 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
493 Bug 561375 – Leaks mountpoint description
495 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
498 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
500 Bug 561352 – Leak of icon description
502 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
505 2008-11-14 Matthias Clasen <mclasen@redhat.com>
507 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
509 2008-11-12 Tor Lillqvist <tml@novell.com>
511 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
513 * win32/gwinhttpvfs.h: Move the set of function pointers to
514 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
515 pointer to that in the GWinHttpVfsClass.
517 * win32/gwinhttpvfs.c: Move the lookup of functions from
518 winhttp.dll into a function of its own, that stores the pointers
519 in a separate GWinHttpDllFuncs variable. Add two bookeeping
520 booleans lookup_done and funcs_found.
522 Don't call g_io_extension_point_implement() to register the
523 winhttp extension unless winhttp.dll has been successfully loaded
524 and the required functions found in it.
526 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
527 winhttp.dll correspondingly.
529 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
531 reviewed by: Alexander Larsson <alexl@redhat.com>
533 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
534 clearer about the behavior when there's no more content to read.
536 2008-10-27 Federico Mena Quintero <federico@novell.com>
538 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
540 2008-10-27 Tor Lillqvist <tml@novell.com>
542 Bug 557592 - Missing include in gwinhttpfile.c
544 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
547 2008-10-24 Matthias Clasen <mclasen@redhat.com>
549 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
551 * fam/fam-helper.c: Fix a memory leak and formatting issues.
552 Reported by Daniel Marjamäki
554 2008-10-23 Matthias Clasen <mclasen@redhat.com>
556 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
558 2008-10-23 Alexander Larsson <alexl@redhat.com>
560 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
563 (_g_local_file_info_get):
564 Don't return the fallback icon (text-x-generic) for all files.
565 This is causing problems with theme icon lookup and custom mime
566 icons, as the generic fallback overrides custom mime icons in
569 This is a slight change as applications might not get an icon wher
570 they previously did. But there is no guarantee to get on neither before
571 or after this change, so it should not break applications. Changes
572 to nautilus and gtk+ will be done to manually use the generic fallback
573 icon if no icon is found, but this is only required for rare cases.
575 2008-10-21 Alexander Larsson <alexl@redhat.com>
578 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
580 2008-10-21 Alexander Larsson <alexl@redhat.com>
582 Bug 555740 - gicon serialization
583 Based on patch from David Zeuthen
587 Add g_icon_to_string() and g_icon_new_for_string().
593 Implement icon serialization for built-in icon types
597 Added GIcon serialization test
599 2008-10-16 Matthias Clasen <mclasen@redhat.com>
601 * === Released 2.19.0 ===
603 2008-10-16 Matthias Clasen <mclasen@redhat.com>
605 Bug 556422 – g_file_enumerator_next_file: unclear whether return
606 value needs to be freed
608 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
609 the return value docs. Pointed out by Armin Burgmeier
611 2008-10-14 Matthias Clasen <mclasen@redhat.com>
613 Bug 556334 – Warning when building without selinux support
615 * glocalfileinfo.c: Avoid compiler warnings when selinux is
616 disabled. Patch by Pascal Terjan
618 2008-10-14 Matthias Clasen <mclasen@redhat.com>
620 Bug 556335 – make check fails in abicheck.sh
622 * gio.symbols: Add g_file_attribute_info_list_get_type.
623 Pointed out by Pascal Terjan.
625 2008-10-13 Alexander Larsson <alexl@redhat.com>
628 When adding an application as handling a mime type (but
629 not as the default), copy the full list of desktop ids handling
630 that type in before adding the new one on the end of the list.
631 This means we're not accidentally changing the default by overriding
632 the info from the later directories in the search path.
634 Also, fixes small leak of removed_entries.
636 2008-10-12 David Zeuthen <davidz@redhat.com>
639 * gunionvolumemonitor.c:
641 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
643 2008-10-10 Alexander Larsson <alexl@redhat.com>
645 * gfileattribute.c (escape_byte_string):
646 Upper half of byte is >> 4, not >> 8.
647 Found by Kjartan Maraas via sparse
649 2008-10-10 Matthias Clasen <mclasen@redhat.com>
651 Bug 555711 – Wrong fallback order of mimetype icons
653 * gcontenttype.c: Don't prefer generic icons over
654 default mimetype icons.
656 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
657 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
659 Patch by Krysztof Kosiński
661 2008-10-10 Matthias Clasen <mclasen@redhat.com>
663 Bug 555121 – Improved build-time handling of gio module-dir
665 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
666 * Makefile.am: Create the module dir.
668 2008-10-10 Matthias Clasen <mclasen@redhat.com>
670 * gio/glocalfileinfo.c:
671 * gio/tests/live-g-file.c:
672 * gio/gsimpleasyncresult.c: Fix gcc warnings.
674 2008-10-09 Alexander Larsson <alexl@redhat.com>
676 * gunixinputstream.c (g_unix_input_stream_read):
677 Actually return -1 in case of cancelled, not old res value.
679 2008-10-06 Colin Walters <walters@verbum.org>
681 Bug 554745 - GFileAttributeInfoList should be boxed
683 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
684 for convenience of bindings.
685 * gio/gfileattribute.h: Prototype it.
687 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
689 Bug 554970 – segfault when update-desktop-database is not available
692 * gdesktopappinfo.c (run_update_command): Have the error set before
695 2008-10-01 David Zeuthen <davidz@redhat.com>
697 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
698 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
699 instead of the gio URI (such as sftp://foo/file.avi) when using
700 g_app_info_launch() and friends. With a sufficiently recent gvfs,
701 apps using gio+gvfs will map the FUSE file:// URI back to the gio
702 URI (and thus bypass the fuse daemon) thanks the patch from bug
703 #530654. Since Nautilus is an user of g_app_info_launch() it
704 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
705 when launced via the file manager. Win. Fixes bug #528670.
707 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
708 mapping to the description of GAppInfo.
710 2008-09-30 Tor Lillqvist <tml@novell.com>
712 * tests/Makefile.am: Build desktop-app-info only on Unix.
714 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
715 g_critical(). Pass a large enough result buffer to
716 GetVolumePathNameW(). Just use MAX_PATH.
718 2008-09-29 David Zeuthen <davidz@redhat.com>
720 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
722 2008-09-26 Dan Winship <danw@gnome.org>
724 * tests/data-input-stream.c:
725 * tests/data-output-stream.c:
726 * tests/live-g-file.c:
727 * tests/memory-input-stream.c:
728 * tests/memory-output-stream.c: Use g_assert_error() and
731 2008-09-26 Matthias Clasen <mclasen@redhat.com>
733 Bug 545350 – GAppInfo deletion
734 Bug 545351 – Reset associations for content type
737 * gappinfo.[hc]: New functions g_app_info_can_delete,
738 g_app_info_delete and g_app_info_reset_type_associations.
741 * gwin32appinfo.c: Implementations of these.
744 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
746 2008-09-26 Dan Winship <danw@gnome.org>
748 Bug 505361 – gunixinputstream.c assumes poll() available
749 Bug 509446 – portable blocking gio cancellation
751 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
752 GPollFD for a cancellable (which is slightly more complicated on
755 * gunixinputstream.c (g_unix_input_stream_read):
756 * gunixoutputstream.c (g_unix_output_stream_write): Use
757 g_cancellable_make_pollfd() and g_poll() rather than using poll()
760 * tests/unix-streams.c: test of GUnixInputStream,
761 GUnixOutputStream, and GCancellable.
763 2008-09-26 Dan Winship <danw@gnome.org>
765 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
766 cast to stop a gcc warning
768 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
771 2008-09-25 Dan Winship <danw@gnome.org>
773 Bug 553426 - cancellable clarifications
775 * gcancellable.c (g_cancellable_class_init): Add a note to the
776 "cancelled" signal docs warning about thread-safety issues
777 (g_cancellable_cancel): Note that cancelling an asynchronous
778 operation takes effect asynchronously, not immediately.
780 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
782 * gioenums.h: Add new GFileCopyFlag, to leave target file with
783 default perms, instead of setting the source file perms, in a copy
786 * gfile.c (g_file_copy_attributes)
787 (build_attribute_list_for_copy)
788 (should_copy): Not copy "unix::mode" attribute if we have received
789 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
791 2008-09-20 Matthias Clasen <mclasen@redhat.com>
793 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
795 2008-09-17 Matthias Clasen <mclasen@redhat.com>
797 * === Released 2.18.1 ===
799 2008-09-16 Michael Natterer <mitch@imendio.com>
801 * gcontenttype.c (g_content_type_guess): can't assign the return
802 value of g_strdupv() to an array. Fill the array manually with
803 const strings instead (it is never freed anyway). Fixes the
804 build. Also fixed indentation.
806 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
808 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
809 Fix trivial typo to unbreak the build (there was a colon
810 instead of a semicolon at the end of a statement).
812 2008-09-15 Matthias Clasen <mclasen@redhat.com>
814 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
817 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
820 2008-09-15 Matthias Clasen <mclasen@redhat.com>
822 Bug 551681 – g_content_type_guess() too naive with filenames
824 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
825 at the end of the filename, and declare it a directory.
826 Patch by Bastien Nocera
828 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
830 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
833 * gdesktopappinfo.c: add a note in the docs clarifying what the
834 "filename" parameter really is.
836 2008-09-12 Tor Lillqvist <tml@novell.com>
838 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
839 FormatMessage() etc here. Call g_win32_error_message() instead
840 which already does all that. Besides, the code was broken as it
841 called the default "A" version of FormatMessage() but still
842 thought it produced a wide string.
844 2008-09-12 Michael Natterer <mitch@imendio.com>
846 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
847 in the documentation.
849 2008-09-08 Christian Neumair <cneumair@gnome.org>
851 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
852 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
853 Use non-blocking pipe for mount helper I/O. Fixes #550647.
855 2008-09-06 Matthias Clasen <mclasen@redhat.com>
857 Bug 551149 – xdgmime mem leak
859 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
860 a memory leak. Patch by Christian Persch
862 2008-09-04 Tor Lillqvist <tml@novell.com>
864 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
867 2008-09-02 Matthias Clasen <mclasen@redhat.com>
869 * === Released 2.18.0 ===
871 2008-09-02 Michael Natterer <mitch@imendio.com>
873 * *.h: big header formatting cleanup: indentation, vtable
874 formatting, consistent spacing in (* vfunc), trailing whitespace
875 removal. Formatting should be pretty consistent in all GIO headers
878 2008-09-02 Matthias Clasen <mclasen@redhat.com>
880 * gmount.h: Document guess_content_type sync vfunc.
882 2008-09-02 Michael Natterer <mitch@imendio.com>
884 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
885 fix parent_class member to be GFilterOutputStreamClass (not
886 GOutputStreamClass). Drop three pointers of padding, which is
887 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
888 so the class struct size stays the same.
890 2008-09-02 Matthias Clasen <mclasen@redhat.com>
892 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
894 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
895 nonexisting return values. Pointed out by Cosimo Cecchi.
897 2008-08-23 Tor Lillqvist <tml@novell.com>
899 Bug 548988 - g_file_replace fails on Windows when the target file
902 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
903 Windows, close the file before potentially renaming it (in case we
904 have been writing to a file with a temporary name).
906 (g_local_file_output_stream_close, handle_overwrite_open): Use
907 GLocalFileStat instead of plain struct stat, for passing to
908 _g_local_file_info_create_etag(). Thus also use _fstati64()
909 instead of plain fstat() on Windows.
911 2008-08-18 Matthias Clasen <mclasen@redhat.com>
913 * === Released 2.17.7 ===
915 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
917 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
920 2008-08-13 Tor Lillqvist <tml@novell.com>
922 * win32/gwinhttpvfs.c
923 * win32/gwinhttpvfs.h
924 * win32/gwinhttpfile.c
925 * win32/gwinhttpfileinputstream.c
926 * win32/gwinhttpfileoutputstream.c: Refactor some common code
927 snippets into helper functions. Check HTTP response status
928 codes. Implement g_winhttp_file_query_info(), looking at
929 Content-Length, Content-Type and Last-Modified.
931 * win32/winhttp.h: Add some symbolic constants that are not
932 publicly documented. Just a handful, so it should be OK to use
933 information from the Windows SDK's headers.
935 2008-08-13 Tor Lillqvist <tml@novell.com>
937 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
940 * win32/gwin32directorymonitor.c
941 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
943 2008-08-13 Matthias Clasen <mclasen@redhat.com>
946 * goutputstream.c: Add intro docs.
948 2008-08-13 Tor Lillqvist <tml@novell.com>
950 * win32/gwinhttpfileoutputstream.c
951 (g_winhttp_file_output_stream_write): Don't write the
952 Content-Length header ourselves, WinHttpSendRequest() takes care
953 of that when the dwTotalLength parameter is non-zero. Increment
954 offset by the number of actual bytes sent, although I wonder if
955 such a scenario is possible where less than requested would be
956 sent and accepted by the server without errors.
958 2008-08-13 Tor Lillqvist <tml@novell.com>
960 * win32/gwinhttpvfs.c
961 * win32/gwinhttpvfs.h
962 * win32/gwinhttpfile.c
963 * win32/gwinhttpfile.h
964 * win32/gwinhttpfileinputstream.c
965 * win32/gwinhttpfileinputstream.h
966 * win32/gwinhttpfileoutputstream.c
967 * win32/gwinhttpfileoutputstream.h: New files implementing
968 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
969 Windows. The implementation uses the WinHttp API. Both reading and
970 writing are supported, i.e. GET and PUT requests. When writing,
971 each write call is done using a separate PUT request with a
972 Content-Range header. Requests for file URIs and plain pathnames
973 are forwarded to GLocalVfs.
975 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
976 WINE. Used as there is no <winhttp.h> bundled with mingw, and
977 requiring people to download the Windows SDK just for this one
978 header is not reasonable.
980 * win32/Makefile.am: Add above files.
982 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
983 the plumbing for the above.
985 2008-08-11 Sven Neumann <sven@gimp.org>
987 * gfilenamecompleter.c
988 * glocaldirectorymonitor.c
990 * gunionvolumemonitor.c
994 * gunixvolumemonitor.c
997 * gwin32volumemonitor.c: use canonical signal names.
999 2008-08-11 Tor Lillqvist <tml@novell.com>
1001 * Makefile.am: Put a list of the platform-dependent .la files in
1002 the subdirectories in the platform_deps Make variable, and make
1003 libgio-2.0.la depend on that, so that it gets relinked if one of
1004 the dependent libraries has changed.
1006 2008-08-11 Tor Lillqvist <tml@novell.com>
1008 * Makefile.am (platform_libadd): Remove -lwininet which had been
1009 added by mistake. We will probably eventually be using WinHTTP,
1010 not the older WinInet anyway. (Actually I am working on it.)
1012 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1014 Bug 547080 – g_file_copy leaks expected errors
1016 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1017 before trying the next fallback routine.
1019 2008-08-09 Loïc Minier <lool@dooz.org>
1021 Bug 535124 – umask 002 not being applied for new directories, new
1022 files get the correct umask
1024 * gfile.c (g_file_make_directory)
1025 (g_file_make_directory_with_parents): Document ownership and
1026 permissions of newly created directories as being the default
1027 ones of the process.
1029 2008-08-08 Loïc Minier <lool@dooz.org>
1031 Bug 535124 – umask 002 not being applied for new directories, new
1032 files get the correct umask
1034 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1037 2008-08-08 Tor Lillqvist <tml@novell.com>
1039 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1041 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1042 code that didn't actually do anything inside #if 0, and add a
1043 comment wondering what the code was supposed to do. This also gets
1044 rid of a leftover debugging printout.
1046 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1048 * gfileicon.c (g_file_icon_get_property)
1049 (g_file_icon_set_property): New functions.
1050 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1052 (g_file_icon_new): Use the property (bug #546132).
1054 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1056 * gthemedicon.c (g_themed_icon_get_property): Also handle
1057 `PROP_USE_DEFAULT_FALLBACKS'.
1058 (g_themed_icon_class_init): Make
1059 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1061 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1063 Bug 546371 – Improve docs re g_file_monitor
1065 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1067 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1069 * === Released 2.17.6 ===
1071 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1073 * === Released 2.17.5 ===
1075 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1077 Bug 546017 – Don't copy attributes when copying a symlink
1079 * gfile.c (g_file_copy_attributes): Specify
1080 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1081 g_file_set_attributes_from_info. Patch by Christian Kellner
1083 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1085 * gemblemedicon.[hc]:
1087 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1088 a bit more extensible. Work by Clemens Buss.
1090 * gioenums.h: Add GEmblemOrigin.
1093 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1095 Bug 546079 – leak in xdgmime
1097 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1099 2008-08-03 Tor Lillqvist <tml@novell.com>
1101 * win32/gwin32directorymonitor.h
1102 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1105 2008-08-03 Tor Lillqvist <tml@novell.com>
1107 * win32/gwin32directorymonitor.c
1108 (g_win32_directory_monitor_callback): Make prototype match
1109 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1110 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1113 (g_win32_directory_monitor_constructor):
1114 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1115 names in the GLib API on Windows, so convert to UTF-16 and open
1118 2008-08-03 Tor Lillqvist <tml@novell.com>
1120 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1121 user's folder under Windows
1123 * win32/gwin32directorymonitor.c
1124 (g_win32_directory_monitor_constructor): Ignore error from
1125 CreateFile() when opening directory. Instead of asserting, just
1126 store INVALID_HANDLE_VALUE then in
1127 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1128 ReadDirectoryChangesW().
1129 (g_win32_directory_monitor_cancel): Don't attempt to close
1130 directory handle if it is INVALID_HANDLE_VALUE.
1132 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1134 * gdesktopappinfo.c: Remove debug spew
1136 2008-08-01 Hans Breuer <hans@breuer.org>
1138 * makefile.msc : add gemblembedicon
1140 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1142 Bug 545457 – gdmsetup crashed with SIGSEGV in
1143 g_unix_mount_guess_should_display()
1145 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1146 crash if no mount is found.
1148 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1150 Bug 545203 – gfile.c: argument is different type.
1152 * gfile.c (open_read_async_thread): Pass a GError **
1153 to g_file_set_error_literal.
1154 Reported by Kazuki Iwamoto
1156 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1158 Bug 545157 – wrong/no list of "open with" applications for .cc and
1161 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1162 Collect all ancestors, not just direct parents. Pointed
1163 out by Bastien Nocera
1165 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1167 * Makefile.am: Install gemblemedicon.h
1169 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1171 * gemblemedicon.[hc]: Add a GIcon implementation that can
1172 add an emblem to another icon.
1179 * gfileicon.c: Small documentation additions.
1181 2008-07-28 Tor Lillqvist <tml@novell.com>
1183 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1186 2008-07-27 Tor Lillqvist <tml@novell.com>
1188 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1190 2008-07-24 David Zeuthen <davidz@redhat.com>
1194 Also export a g_mount_guess_content_type_sync() function.
1196 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1198 529694 – SELinux context setting support
1200 * gfileinfo.c: Support setting selinux attributes.
1201 Patch by Tomas Bzatek
1203 2008-07-22 Priit Laes <plaes@plaes.org>
1205 Bug 544140 - fam-helper 64-bit issue?
1207 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1209 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1211 * === Released 2.17.4 ===
1213 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1215 * gvolumemonitor.[hc]:
1216 * gmountoperation.c:
1220 * gmount.c: Documentation fixes
1222 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1224 543504 – crash in Epiphany Web Browser: Opening local file
1228 * gdesktopappinfo.c:
1235 * gvolume.c: Register types thread-safely.
1236 Patch by Christian Persch
1238 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1240 * gcontenttype.c: Remove debug spew
1242 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1244 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1247 * fen/fen-kernel.c: Remove a warning that was causing
1248 crashes. Reported by Lin Ma.
1250 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1252 Bug 543040 – async reading on dummy file will crash on
1255 * gfile.c (open_read_async_thread): Cope with read_fn being
1256 NULL. Reported by Lin Ma.
1258 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1261 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1263 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1266 * gdesktopappinfo.h:
1267 * giomodule.c: Rename a chapter id to avoid filename conflict.
1269 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1271 Bug 540616 – mem leak in filechooser button
1273 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1274 the mount entry. Reported by Chrisitan Persch
1276 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1278 * gfile.c: Small documentation fixes.
1280 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1282 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1284 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1289 * gmount.c: Documentation improvements.
1291 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1294 * gmount.[hc]: Add g_mount_guess_content_type().
1296 2008-07-06 David Zeuthen <davidz@redhat.com>
1299 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1300 is needed for easily handling adoption of foreign volumes by
1301 out-of-process volume monitors (#541793)
1303 2008-07-06 David Zeuthen <davidz@redhat.com>
1305 * gvolumemonitor.[ch]:
1306 * gunionvolumemonitor.c: Export the eject-button signal on the
1307 volume monitor class (#541794).
1309 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1311 * gappinfo.c: More doc tweaks
1313 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1315 * gappinfo.c: Clarify some docs
1317 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1319 * gdesktopappinfo.c: Fix a stupid mistake.
1321 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1323 * === Released 2.17.3 ===
1325 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1327 * gfilemonitor.c: Fix the build.
1329 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1331 Bug 536160 – Add g_file_monitor()
1334 * gfile.[hc]: Add g_file_monitor which can return either
1335 a file or a directory monitor. Proposed by Behdad Esfahbod
1337 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1339 536733 – gio build failure on Irix
1341 * glocalfile.c: Use a configure check for structfs.f_bavail.
1343 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1345 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1348 * gdesktopappinfo.[hc]: Add a function to create a
1349 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1351 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1353 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1355 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1357 * gunixmounts.c: Fix a doc typo.
1359 2008-07-01 Cody Russell <bratsche@gnome.org>
1361 * gio/gcontenttype.c:
1362 * gio/gwin32appinfo.c:
1363 * gio/gwin32volumemonitor.c:
1364 * gio/gwin32mount.c: Fixed some include problems.
1366 2008-07-01 Cody Russell <bratsche@gnome.org>
1370 Moved all relevant typedefs into these files.
1373 Updated wrt added files.
1375 Split types into separate file for easier maintainership. (#538564)
1377 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1379 Bug 540331 – g_file_append_to () documentation: can return NULL
1381 * gfile.c (g_file_append_to): Clarify docs.
1382 Patch by Jared Moore
1384 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1386 Bug 539090 – g_content_type_from_mime_type() should unalias
1388 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1389 Patch by Markus Bergman
1391 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1393 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1394 g_atomic_pointer_get
1396 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1397 on ppc and alpha. Reported by Mart Raudsepp
1399 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1401 * tests/Makefile.am:
1402 * tests/memory-output-stream.c: Add some tests for
1403 GMemoryOutputStream.
1405 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1407 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1410 * gmemoryoutputstream.c (array_resize): Handle truncation to
1411 zero correctly. Reported by Akira Tagoh
1413 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1415 * gmemoryoutputstream.c: Trivial doc fixes
1417 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1419 Bug 540802 – g_list_prepend doesn't concat lists
1421 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1422 one list to another. Pointed out by Jan Arne Petersen
1424 2008-06-28 Michael Natterer <mitch@imendio.com>
1426 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1428 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1430 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1431 to avoid problems with partial icon themes.
1433 2008-06-17 Hans Breuer <hans@breuer.org>
1435 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1436 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1437 access again on win32, see bug #538127
1438 * giomodule.c : ensure GWin32VolumeMonitor is registered
1439 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1440 * Makefile.am makefile.msc : updated
1442 2008-06-16 Hans Breuer <hans@breuer.org>
1444 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1445 and initialization in one step avoids c99ism
1447 2008-06-16 Christian Persch <chpe@gnome.org>
1450 * gio/gbufferedinputstream.c
1451 * gio/gcancellable.c
1452 * gio/gdatainputstream.c
1453 * gio/gdesktopappinfo.c
1455 * gio/gfileenumerator.c
1456 * gio/gfileinputstream.c
1457 * gio/gfileoutputstream.c
1458 * gio/ginputstream.c
1459 * gio/glocaldirectorymonitor.c
1461 * gio/glocalfileenumerator.c
1462 * gio/glocalfileinfo.c
1463 * gio/glocalfilemonitor.c
1464 * gio/glocalfileoutputstream.c
1465 * gio/gmemoryinputstream.c
1466 * gio/gmemoryoutputstream.c
1467 * gio/goutputstream.c
1468 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1471 2008-06-16 Tor Lillqvist <tml@novell.com>
1473 Bug 538362 - Get Win32 icons back in the file chooser
1475 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1476 corresponding to a file extension in the Registry. Patch by Hans
1478 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1480 2008-06-16 Tor Lillqvist <tml@novell.com>
1482 Patches by Hans Breuer:
1484 * glocalfile.c (is_xp_or_later): Handle compiling against older
1485 SDK headers with missing VerifyVersionInfo(). Conditioned on
1486 _MSC_VER, but should probably use some better test.
1487 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1488 uninitialised statfs_result variable on Win32.
1490 2008-06-16 Michael Natterer <mitch@imendio.com>
1492 * *.c: chain up unconditionally in finalize() and dispose(). Also
1493 don't dereference these function pointers when calling them since
1494 that has no meaning at all.
1496 2008-06-16 Ross Burton <ross@burtonini.com>
1498 * gfileenumerator.c:
1499 Remove check for dispose implementation as it annoys Emmanuele.
1501 2008-06-16 Ross Burton <ross@burtonini.com>
1503 Bug 536252 – GFileEnumerator should allow access to the containing
1506 * gfileenumerator.c:
1507 * gfileenumerator.h:
1509 Add g_file_enumerator_get_container() and a container writeable
1510 construct-only property. Also shuffle around typedefs to make it
1513 * glocalfileenumerator.c:
1514 * glocalfileenumerator.h:
1516 Instead of a string filename take a GFile in the constructor and
1517 use it to set the container property.
1520 Update with new API.
1522 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1524 * gfile.c: Make includes more uniform
1526 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1528 * tests/live-g-file.c (sample_struct):
1529 Use less fancy unicode filenames, so the test doesn't fail
1530 on Mac OS X (#531476).
1532 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1534 * === Released 2.17.2 ===
1536 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1538 * === Released 2.17.1 ===
1540 2008-06-11 A. Walton <awalton@gnome.org>
1542 * tests/g-file.c (test_g_file_new_null):
1543 Fix broken test case.
1545 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1547 * pltcheck.sh: We use g_clear_error now.
1549 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1551 * glocalfile.c (g_local_file_enumerate_children): Revert
1552 an unintended change.
1554 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1556 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1558 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1560 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1563 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1564 as icon for the desktop directory, also make user-home and
1565 user-desktop the preferred icons.
1567 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1570 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1571 to add a name to the front of the list.
1573 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1575 Bug 537392 – Additional colon in xattr name
1577 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1578 too. Reported by Alessandro Morandi
1580 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1582 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1585 * glocalfile.c (get_fs_type): Add afs and autofs.
1586 Patch by Danny Baumann.
1588 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1590 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1592 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1593 is no parent. (Owen Taylor, patch by Christian Neumair)
1595 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1597 * gfile.c (g_file_replace_contents): do not leak the output stream.
1599 2008-06-10 Michael Natterer <mitch@imendio.com>
1601 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1602 uninitialized memory as array index.
1604 2008-06-10 Tor Lillqvist <tml@novell.com>
1606 * gcontenttype.c (g_content_type_can_be_executable)
1607 (g_content_type_get_icon) [Win32]: Add TODO comments.
1609 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1611 * xdgmime/Makefile.am: Fix the build
1613 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1615 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1616 in the shared mime database, if available.
1618 * xdgmime/*: Sync with upstream. This brings support for
1619 glob weights, generic icons, and changes the cache format to
1622 2008-05-28 Michael Natterer <mitch@imendio.com>
1624 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1625 the global CPPFLAGS now.
1627 * tests/data-input-stream.c
1628 * tests/data-output-stream.c
1629 * tests/g-file-info.c
1631 * tests/live-g-file.c
1632 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1634 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1636 * === Released 2.17.0 ===
1638 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1639 doesn't complain about leftover files.
1641 2008-05-27 simon.zheng <simon.zheng@sun.com>
1643 * glocalfile.c: (g_local_file_query_filesystem_info):
1644 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1646 2008-05-26 Michael Natterer <mitch@imendio.com>
1648 * gmemoryoutputstream.h: declare
1649 g_memory_output_stream_get_data_size().
1651 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1653 * tests/*: Make tests work
1655 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1657 * gio.symbols: Add g_memory_output_stream_get_data_size.
1659 2008-05-25 Ross Burton <ross@burtonini.com>
1662 Fix typo in error message (#534764).
1664 2008-05-25 Ross Burton <ross@burtonini.com>
1667 Fix circular dependency loop for gioenumtypes.h (#534759).
1669 2008-05-19 Hans Breuer <hans@breuer.org>
1671 * Makefile.am : EXTRA_DIST += makefile.msc
1673 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1676 * gcontenttype.c: (g_content_type_from_mime_type):
1677 New function to create a content type from a mime type. (#527175,
1680 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1682 Bug 532965 – Should not return filesystem::free for certain file systems
1684 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1685 free space for ncpfs.
1687 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1689 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1691 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1692 st_dev might be zero.
1694 2008-05-16 Tor Lillqvist <tml@novell.com>
1696 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1697 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1699 2008-05-13 Bastien Nocera <hadess@hadess.net>
1701 * gfile.c (has_valid_scheme): A URI scheme must start with a
1702 letter, even if later more characters are allowed (#532852)
1704 2008-05-05 Michael Natterer <mitch@imendio.com>
1706 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1707 code from being checked in that breaks the build of applications
1708 which use G_DISABLE_SINGLE_INCLUDES.
1710 * makegioalias.pl: make the alias file include "glib.h" instead of
1713 * gio.symbols: whitespace change to force regeneration of the
1714 alias file after above script change.
1716 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1718 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1720 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1722 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1724 2008-04-28 David Zeuthen <davidz@redhat.com>
1726 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1727 displaying mounts in a subdirectory not accessible to the
1730 2008-04-22 Michael Natterer <mitch@imendio.com>
1732 * Makefile.am: fix library versioning (it was 0.0.0).
1734 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1736 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1737 Default disable all loggings.
1738 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1739 (port_fetch_event_cb): Fixed two macro nits.
1741 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1743 * xdgmime/xdgmime.c: Rework the timestamp checking code
1744 to protect against duplicate directories in XDG_DATA_DIRS.
1745 Fixes fd.o bug 12513, reported by Joe Shaw.
1747 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1749 Partically revert the last commit after realizing that
1750 xdg_mime_media_type_equal doesn't have to init at all.
1752 * xdgmime/xdgmime.h:
1753 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1755 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1757 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1759 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1760 reported by Joe Shaw and Federico Mena Quintero.
1762 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1763 (xdg_mime_media_type_equal): Turn into a wrapper around the
1766 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1767 functions throughout.
1769 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1771 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1772 tolerate an empty TryExec= line without failing; nautilus used
1773 to create launchers with these in previous versions. Fixes #528433
1775 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1777 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1778 after name. Fixes #527132.
1780 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1782 * gfile.c: (g_file_replace):
1785 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1787 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1789 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1790 by Christian Kellner.
1792 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1794 * gunixmounts.c: (g_unix_mount_guess_should_display):
1795 Don't list the user directory as a mount, fix potential issue
1796 when other users have a similar naming and don't special case the
1797 gvfs mounts there since that's not required (#525866)
1799 2008-03-31 Alexander Larsson <alexl@redhat.com>
1801 * glocalfile.c (get_parent):
1804 2008-03-31 A. Walton <awalton@svn.gnome.org>
1806 * gfile.c (g_file_query_file_type):
1807 Always return a GFileType enum value (#520715).
1809 2008-03-31 Alexander Larsson <alexl@redhat.com>
1811 * glocalfileenumerator.c:
1812 Read readdir() info in chunks (of 1000) and sort
1813 the chunks by inode before stat:ing.
1814 This is a 20% performance increase in testing
1815 gvfs-ls on /usr/bin with cold cache.
1817 2008-03-31 Alexander Larsson <alexl@redhat.com>
1819 * gmemoryoutputstream.c:
1820 Clarify docs for g_memory_output_stream_get_size.
1821 Add g_memory_output_stream_get_data_size.
1823 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1827 * gfile.h: Add g_file_query_file_type convenience function
1828 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1830 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1832 * gfileenumerator.c:
1833 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1835 2008-03-28 A. Walton <awalton@svn.gnome.org>
1837 * giomodule.c (_g_io_modules_ensure_loaded):
1838 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1841 2008-03-28 Alexander Larsson <alexl@redhat.com>
1844 (copy_stream_with_progress):
1847 2008-03-28 Alexander Larsson <alexl@redhat.com>
1850 (copy_stream_with_progress):
1851 (file_copy_fallback):
1852 Fallback to g_file_query_info for source size
1853 if g_file_input_stream_query_info fails. (#524579)
1855 2008-03-28 Alexander Larsson <alexl@redhat.com>
1857 * glocalfile.c (g_local_file_move):
1858 Reuse old string instead of adding new one.
1860 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1862 * fen/*.[hc]: still copyright issue. I hate copyright.
1864 2008-03-27 Alexander Larsson <alexl@redhat.com>
1866 * glocalfile.c (g_local_file_move):
1867 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1868 file over directory. This is according to the docs and what the move via
1869 copy+remove fallback does.
1871 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1873 * fen/*.[hc]: Updated copyright.
1875 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1877 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1879 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1881 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1882 not emit attribute changed events when optimizing changed events.
1883 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1886 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1888 * gmountoperation.[hc]: Small documentation additions
1890 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1892 * gunixmounts.c: (guess_mount_type):
1893 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1895 2008-03-19 Alexander Larsson <alexl@redhat.com>
1898 (copy_stream_with_progress):
1899 Bump block side for copy to 64k to minimize
1900 overhead for low latency links. (#523015)
1902 2008-03-16 Tor Lillqvist <tml@novell.com>
1904 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1905 depend on gio.def on Windows.
1907 2008-03-12 David Zeuthen <davidz@redhat.com>
1911 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1913 2008-03-14 Alexander Larsson <alexl@redhat.com>
1917 Avoid redudant tests (#521851)
1918 Patch from Josselin Mouette
1920 2008-03-14 Alexander Larsson <alexl@redhat.com>
1923 (g_file_monitor_is_cancelled):
1924 Fix C89 issue (#521672)
1925 Patch from Jens Granseuer
1927 2008-03-14 Alexander Larsson <alexl@redhat.com>
1929 * fam/fam-helper.[ch]:
1931 Shut down fam (including removing fam GSource) when
1932 module is unloaded (#521513)
1933 Patch from Joe Marcus Clarke
1935 2008-03-14 Alexander Larsson <alexl@redhat.com>
1938 (_g_io_modules_ensure_loaded):
1941 2008-03-14 Alexander Larsson <alexl@redhat.com>
1944 (g_local_file_query_filesystem_info):
1945 Use right define name for f_fstypename member check
1947 2008-03-14 Alexander Larsson <alexl@redhat.com>
1950 * fen/Makefile.am: Added.
1951 * fen/fen-data.[ch]: Added.
1952 * fen/fen-dump.[ch]: Added.
1953 * fen/fen-helper.[ch]: Added.
1954 * fen/fen-kernel.[ch]: Added.
1955 * fen/fen-missing.[ch]: Added.
1956 * fen/fen-node.[ch]: Added.
1957 * fen/fen-sub.[ch]: Added.
1958 * fen/gfendirectorymonitor.[ch]: Added.
1959 * fen/gfenfilemonitor.[ch]: Added.
1961 Added Solaris FEN file notification backend.
1962 Patch from Lin Ma <Lin.Ma@Sun.COM>
1964 2008-03-13 Tor Lillqvist <tml@novell.com>
1966 * Makefile.am: Actually use the gio.def file when linking the
1967 library on Windows. Produce .lib library for Microsoft's toolchain
1968 when possible. Install the .lib and .def file like for the other
1971 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1973 * tests/live-g-file.c:
1974 Include live-g-file in standard set of tests, making a temporary
1975 directory in source structure.
1977 Clean target directory before the tests (write mode only)
1979 2008-03-12 Tor Lillqvist <tml@novell.com>
1981 Bug 517419 - gio win32 directory monitor
1982 Implementation by Vlad Grecescu.
1985 * win32/gwin32directorymonitor.h
1986 * win32/gwin32directorymonitor.c: New files.
1988 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1990 * Makefile.am: Add the win32 subdirectory.
1992 2008-03-12 Tor Lillqvist <tml@novell.com>
1994 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1995 normal struct stat on Unix but struct _stati64 on Windows to have
1996 access to 64-bit file size information. Use that instead of struct
1997 stat in the functions declared here in this private header.
1999 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2000 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2001 warnings about unused functions and variables. Don't set
2002 meaningless attributes like inode numbers on Windows.
2004 2008-03-12 Benjamin Otte <otte@gnome.org>
2007 trim whitespace so gtk-doc groks the function name
2009 2008-03-12 Tor Lillqvist <tml@novell.com>
2011 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2012 returning FALSE, on Win32.
2014 2008-03-11 Alexander Larsson <alexl@redhat.com>
2017 * glocalfileinfo.[ch]:
2018 Correctly implement can_trash by actually
2019 looking for a trash dir, not just assuming
2022 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2024 * === Released 2.16.1 ===
2026 2008-03-11 Alexander Larsson <alexl@redhat.com>
2029 Fix crashes in new constructor and properties code
2031 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2033 * gfile.c: Minor spelling correction in documentation:
2034 existance -> existence.
2036 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2038 * === Released 2.16.0 ===
2040 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2042 * gio.symbols: Remove g_file_contains_file here, too.
2044 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2046 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2047 Samuel Cormier-Iijima)
2049 2008-03-08 Tor Lillqvist <tml@novell.com>
2051 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2054 2008-03-07 Alexander Larsson <alexl@redhat.com>
2057 (g_local_file_query_filesystem_info):
2058 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2059 Patch from Jasper Lievisse Adriaanse
2061 2008-03-06 Tor Lillqvist <tml@novell.com>
2063 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2064 comments for the *_USEC attributes.
2066 2008-03-06 Alexander Larsson <alexl@redhat.com>
2068 * gfile.c (g_file_query_exists):
2069 Add g_return_val_if_fail check (#520700)
2071 2008-03-06 Alexander Larsson <alexl@redhat.com>
2073 * gdesktopappinfo.c:
2076 * gunionvolumemonitor.c:
2079 * tests/live-g-file.c:
2080 * xdgmime/xdgmimecache.c:
2081 Fix sparse warnings (#519489)
2083 2008-03-05 Alexander Larsson <alexl@redhat.com>
2086 Make cancellation threadsafe (i.e.
2087 guarantee its only done once, and always
2090 * glocaldirectorymonitor.c:
2091 Make sure we the monitor lives while the
2092 mounts_changed callback is being called (#520484)
2094 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2096 * gbufferedinputstream.c: Fix typo in parameter
2099 2008-03-04 Alexander Larsson <alexl@redhat.com>
2102 Remove deprecated symbols we kept for one release.
2104 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2107 * goutputstream.c: Tiny documentation corrections.
2109 2008-03-03 Alexander Larsson <alexl@redhat.com>
2111 * gunionvolumemonitor.c:
2113 Fix the adopt_orphan_mount vfunc to take a
2114 volume_monitor reference in an ABI compat way.
2115 This change is not API compat, but the added
2116 arg is not used in the only user of this vfunc, so
2117 all we get is a harmless warning in gvfs (#520169)
2119 2008-03-01 Benjamin Otte <otte@gnome.org>
2122 clarify docs for g_file_delete().
2124 2008-02-29 Alexander Larsson <alexl@redhat.com>
2128 Make sure empty files get text/plain type (#518720)
2130 2008-02-27 Alexander Larsson <alexl@redhat.com>
2136 (g_unix_volume_mount):
2137 Add missing GMountMountFlags argument
2139 2008-02-26 Alexander Larsson <alexl@redhat.com>
2142 (g_local_file_delete):
2143 Handle filesystems (like ntfs-3g) that return EEXIST instead
2144 of ENOTEMPTY (#518816)
2146 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2148 * === Released 2.15.6 ===
2150 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2152 * gfile.c (g_file_find_enclosing_mount):
2153 * ginputstream.c (g_input_stream_set_pending):
2154 * glocalfile.c (g_local_file_find_enclosing_mount):
2155 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2156 * goutputstream.c (g_output_stream_set_pending):
2158 Fixup translator comments (#518578).
2160 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2162 * gfile.c (g_file_find_enclosing_mount):
2164 * glocalfile.c (g_local_file_find_enclosing_mount):
2167 Fix a few typos in translator comments and documentation.
2169 2008-02-25 Alexander Larsson <alexl@redhat.com>
2176 Add translator comments (#518578)
2178 2008-02-25 Alexander Larsson <alexl@redhat.com>
2181 Reintroduce g_file_contains_file, keep around for one
2182 unstable release cycle to avoid crashing to many apps.
2183 Make sure to delete after release.
2185 2008-02-25 Alexander Larsson <alexl@redhat.com>
2188 Remove deprecated g_file_contains_file.
2190 2008-02-25 Alexander Larsson <alexl@redhat.com>
2193 Emit actual change signals in an idle handler.
2194 This avoids reentrance and locking problems in
2195 the file notification backends.
2197 2008-02-25 Alexander Larsson <alexl@redhat.com>
2200 (g_unix_mount_guess_should_display):
2201 Remove type guessing, instead just display
2202 mounts in /media and in ~/.
2204 2008-02-25 Alexander Larsson <alexl@redhat.com>
2207 Make new strings reuse old ones.
2209 2008-02-25 Alexander Larsson <alexl@redhat.com>
2212 Implement trashing and filesystem::readonly for win32 (#517235)
2213 Patch from Yevgen Muntyan
2215 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2217 * gfileinfo.h: Documentation fixes.
2219 2008-02-22 Alexander Larsson <alexl@redhat.com>
2221 * gcontenttype.c (g_content_type_get_icon):
2222 Look at old-style gnome mime icon names too, as many
2223 have not moved to the new style.
2225 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2227 * *.c: Correct the @include in for section docs.
2229 2008-02-21 David Zeuthen <davidz@redhat.com>
2231 * glocalfileinfo.c: (_g_local_file_info_get):
2233 (g_content_type_get_icon): Implement this function by
2234 moving bits from glocalfileinfo.c
2235 (g_content_type_get_description): Unalias before getting
2236 description (#517687)
2238 * gfile.c: (g_file_class_init),
2239 (g_file_query_filesystem_info_async),
2240 (g_file_query_filesystem_info_finish),
2241 (query_filesystem_info_data_free),
2242 (query_filesystem_info_async_thread),
2243 (g_file_real_query_filesystem_info_async),
2244 (g_file_real_query_filesystem_info_finish):
2245 * gfile.h: Implement async version of
2246 g_file_query_filesystem_info()
2248 * gfileinfo.h: Add new attributes for filesystem::use-preview
2250 * gio.symbols: Update
2252 * gthemedicon.c: (g_themed_icon_append_name):
2253 * gthemedicon.h: Add new new convenience function.
2255 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2256 (get_mounts), (get_volumes), (get_connected_drives),
2257 (get_volume_for_uuid), (get_mount_for_uuid),
2258 (g_union_volume_monitor_init), (populate_union_monitor),
2259 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2260 (g_volume_monitor_adopt_orphan_mount):
2262 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2263 monitor implementations to call into the main volume monitor. Also
2264 separate object initialization and volume monitor initialization
2265 such that non-native volume monitors can properly adopt their
2268 2008-02-21 Alexander Larsson <alexl@redhat.com>
2273 2008-02-21 Alexander Larsson <alexl@redhat.com>
2276 Add more documentation about how GFiles work (from #517086)
2278 2008-02-21 Alexander Larsson <alexl@redhat.com>
2282 Add new g_file_has_prefix that does the same as g_file_contains_file.
2283 Deprecate g_file_contains_file and add a macro that converts
2284 it to g_file_has_prefix.
2285 The reason for this change is that the contains_file() name seems to
2286 imply that this does more work than what it does, but its really only
2287 a name match (from #517086)
2292 Update to match the above change.
2294 2008-02-20 Benjamin Otte <otte@gnome.org>
2296 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2297 (g_file_eject_mountable):
2298 even more cases of not returning in error path
2300 2008-02-20 Benjamin Otte <otte@gnome.org>
2302 * gfile.c: (g_file_mount_mountable):
2303 return from function in error path.
2305 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2308 Remove trailing coma in GMountMountFlags struct
2310 2008-02-18 Alexander Larsson <alexl@redhat.com>
2314 * glocalfileoutputstream.c:
2315 Use g_unlink/g_rename instead of unlink/rename;
2316 do not pass raw filenames to g_set_error. (#517239)
2317 Patch from Yevgen Muntyan.
2319 2008-02-18 Alexander Larsson <alexl@redhat.com>
2322 * glocalfileoutputstream.c:
2323 Open files with O_BINARY on windows. (#517140)
2325 2008-02-14 Alexander Larsson <alexl@redhat.com>
2327 * glocalfileoutputstream.c:
2328 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2330 2008-02-14 Alexander Larsson <alexl@redhat.com>
2333 Copy permissions with file on copy (#514084)
2334 This is what cp does and makes sure e.g. the
2335 exec permissions are kept.
2336 Its kinda weird in that it keeps the permission bits
2337 the same while the uid and gid are different. However
2338 the new uid is the user so its not a security issue,
2339 and I've heard no complaints about cp on this issue.
2341 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2343 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2345 2008-02-13 Alexander Larsson <alexl@redhat.com>
2347 * inotify/inotify-path.c:
2348 Define IN_ONLYDIR if not in header (#515346)
2350 2008-02-12 Alexander Larsson <alexl@redhat.com>
2352 * tests/live-g-file.c:
2355 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2357 * === Released 2.15.5 ===
2359 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2361 * gio.symbols: Add g_mount_mount_flags_get_type.
2363 2008-02-11 Alexander Larsson <alexl@redhat.com>
2366 (g_file_info_set_attribute_mask):
2367 (g_file_attribute_matcher_matches_id):
2368 Correctly handle NULL GAttributeMatcher meaning
2369 matches nothing. (Fixes #513492)
2371 2008-02-11 Alexander Larsson <alexl@redhat.com>
2376 Added GMountMountFlags enum and added a flags
2377 argument to all mount calls.
2379 This is an API/ABI change for future extensibility,
2380 as I think we will need at least an
2381 inhibit-autorun flag (the panel needs this).
2382 There are no flags defined yet though.
2384 2008-02-11 Alexander Larsson <alexl@redhat.com>
2387 Added new standard::description attribute.
2388 Requested by Vincent, and useful for both
2391 2008-02-11 Alexander Larsson <alexl@redhat.com>
2393 * gdesktopappinfo.c:
2396 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2398 * *.c: Documentation additions
2400 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2402 * gappinfo.h: Formatting cleanup
2403 * gappinfo.c: Fix up docs.
2405 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2407 * gunixmounts.c: Consistently use getmntent_r() and fall
2408 back to getmntent(). (#515492)
2410 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2412 * gbufferedinputstream.c:
2414 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2416 * tests/data-input-stream.c:
2417 * tests/data-output-stream.c: Portability fixes.
2419 2008-02-08 Alexander Larsson <alexl@redhat.com>
2424 Add g_volume_should_automount.
2427 2008-02-07 Tor Lillqvist <tml@novell.com>
2429 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2430 Win32, too Unix-specific.
2432 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2434 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2435 a local plt if the compiler doesn't support what we want. Bug #514702
2437 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2439 reviewed by: <delete if not using a buddy>
2442 * gunixinputstream.c:
2443 * gunixoutputstream.c:
2445 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2447 * tests/Makefile.am:
2448 * tests/live-g-file.c:
2449 * tests/live-g-file.txt:
2450 New GIO testing module working over real data
2452 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2454 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2455 Fallback to rename() if link() is not available
2456 (when no support on target filesystem)
2458 2008-02-06 Michael Natterer <mitch@imendio.com>
2460 * gfileinfo.c (g_file_info_get_icon): replace
2461 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2463 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2465 * gfile.c (g_file_create):
2466 Documentation update of error codes
2468 2008-02-06 Alexander Larsson <alexl@redhat.com>
2470 * gdesktopappinfo.c:
2471 Update to use both mimeapps.list and
2472 defaults.list as discussed on xdg list.
2474 2008-02-06 Benjamin Otte <otte@gnome.org>
2477 * gfilenamecompleter.c:
2478 Fix some typos in the documentation.
2480 2008-02-06 Alexander Larsson <alexl@redhat.com>
2482 * glocalfile.c (g_local_file_trash):
2483 Don't succeed with trash if newly created
2484 trash dir has the wrong owner. (#514696)
2486 2008-02-05 Alexander Larsson <alexl@redhat.com>
2488 * glocalfile.c (g_local_file_move):
2489 Don't spew warnings when destination is not
2492 2008-02-03 Hans Breuer <hans@breuer.org>
2494 * makefile.msc : update
2496 2008-02-01 Michael Natterer <mitch@imendio.com>
2498 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2499 return value of xdg_mime_list_mime_parents() to a variable of the
2502 2008-02-01 Alexander Larsson <alexl@redhat.com>
2504 * gappinfo.c (g_app_info_launch_uris):
2505 Actually call the launch_uris method, not
2508 2008-02-01 Alexander Larsson <alexl@redhat.com>
2510 * gdesktopappinfo.c (g_desktop_app_info_equal):
2511 Ensure appinfos with no id but same pointer value
2514 2008-02-01 Alexander Larsson <alexl@redhat.com>
2516 * gappinfo.c (g_app_info_launch_default_for_uri):
2519 2008-02-01 Alexander Larsson <alexl@redhat.com>
2523 Add g_app_info_launch_default_for_uri utility
2526 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2528 * gdesktopappinfo.c:
2529 Doc fix for g_app_info_get_default_for_uri_scheme ()
2532 2008-01-30 Alexander Larsson <alexl@redhat.com>
2535 Add doc comment about uris vs GFiles to
2538 * gdesktopappinfo.c:
2539 Ensure uris passed to g_app_info_launch_uris()
2540 are not roundtriped through GFile (as that
2541 may be slightly destructive for e.g. mailto: links)
2543 2008-01-30 Alexander Larsson <alexl@redhat.com>
2545 * tests/data-input-stream.c:
2546 * tests/data-output-stream.c:
2547 C89 fixes from Jens Granseuer (#512849)
2549 2008-01-30 Alexander Larsson <alexl@redhat.com>
2552 Fix gamin/fam difference build issue. (#509419)
2554 2008-01-29 Alexander Larsson <alexl@redhat.com>
2557 * gdesktopappinfo.c:
2558 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2560 2008-01-29 Alexander Larsson <alexl@redhat.com>
2562 * gdesktopappinfo.c:
2563 * gdesktopappinfo.h:
2564 giomodule-priv.h include moved to .c file.
2566 2008-01-29 Alexander Larsson <alexl@redhat.com>
2568 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2569 Remove unused prio/name fields.
2571 2008-01-29 Alexander Larsson <alexl@redhat.com>
2573 * gcontenttype.c (looks_like_text):
2574 Don't treat whitespace as control chars.
2576 2008-01-29 Alexander Larsson <alexl@redhat.com>
2578 * gdesktopappinfo.c:
2579 Lazily create the desktop files for appinfos created
2580 by g_app_info_create_from_commandline() when needed
2581 for mime associations. This allows run-time use
2582 of GAppInfo object without creating unnecessary
2585 2008-01-29 Alexander Larsson <alexl@redhat.com>
2588 Added new symbols to gio.symbols
2590 2008-01-29 Alexander Larsson <alexl@redhat.com>
2593 Add g_file_query_default_handler utility to easily look up
2594 the GAppInfo that handles a file.
2596 * gdesktopappinfo.[ch]:
2598 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2601 Remove unused function
2603 2008-01-29 Alexander Larsson <alexl@redhat.com>
2605 * gfileenumerator.c:
2606 Mention need to free returned value in
2607 g_file_enumerator_next_files_finish docs.
2608 Fix leak if g_file_enumerator_next_files_finish()
2611 2008-01-29 Alexander Larsson <alexl@redhat.com>
2614 (_g_unix_content_type_get_parents):
2615 Use list_parents, not get_parents from xdgmime, because
2616 the later doesn't use the cache.
2618 * xdgmime/xdgmimecache.c:
2619 (_xdg_mime_cache_list_mime_parents):
2620 Don't list the same type as parent multiple times.
2622 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2624 * === Released 2.15.4 ===
2626 2008-01-28 Alexander Larsson <alexl@redhat.com>
2629 Register local vfs with prio 0.
2632 Remove old name and prio class members
2634 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2636 * tests/g-file.c: Disable some tests that are failing in
2637 the absence of a http backend.
2639 2008-01-28 Alexander Larsson <alexl@redhat.com>
2643 Add registration hooks for extension points.
2644 Register the gio extension points.
2646 * fam/gfamdirectorymonitor.c:
2647 * fam/gfamfilemonitor.c:
2648 * glocaldirectorymonitor.[ch]:
2649 * glocalfilemonitor.[ch]:
2650 * gnativevolumemonitor.h:
2651 * gunionvolumemonitor.c:
2652 * gunixvolumemonitor.c:
2655 * inotify/ginotifydirectorymonitor.c:
2656 * inotify/ginotifyfilemonitor.c:
2657 Use the extension points registration instead
2658 of g_type_children().
2660 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2663 * gvolume.[hc]: Document new API.
2665 * gfile.c (g_file_copy_async): Fix docs
2667 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2669 * gbufferedinputstream.c:
2671 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2674 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2676 * glocalfile.c: Avoid trivial differences in translatable strings.
2678 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2680 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2681 build with gcc 3.4 (#509419)
2683 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2685 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2686 (#509994, Murray Cumming)
2688 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2690 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2691 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2692 this allows big jobs to be executed in chunks, instead of blocking
2693 the main loop for a long time.
2695 * gsimpleasyncresult.c:
2696 * giofile.c: Adapt callers.
2698 2008-01-25 Alexander Larsson <alexl@redhat.com>
2700 * gdesktopappinfo.c:
2701 Implement changes discussed on xdg list.
2702 Now we can add supported mimetypes by just using defaults.list
2703 We can also remove associations in defaults.list.
2705 2008-01-25 Alexander Larsson <alexl@redhat.com>
2707 * gdesktopappinfo.c:
2708 Don't make local copy of desktop file
2709 for mimetype changes if the file already
2710 supports the new mimetype.
2712 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2716 * gbufferedinputstream.c:
2717 * glocalfile.c: String improvements. (#511966,
2718 Theppitak Karoonboonyanan)
2720 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2722 * gioscheduler.h: Expand docs a bit.
2724 2008-01-24 Alexander Larsson <alexl@redhat.com>
2727 Add g_drive_get_identifier and
2728 g_drive_enumerate_identifiers
2731 Add g_volume_get_identifier and
2732 g_volume_enumerate_identifiers
2738 Implement identifiers for unix backend
2740 2008-01-24 Alexander Larsson <alexl@redhat.com>
2745 Add g_file_copy_async() (#511580)
2746 Based on patch from Carlos Garcia Campos
2748 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2750 * gioscheduler.c: Some documentation additions.
2752 2008-01-22 Alexander Larsson <alexl@redhat.com>
2754 * gdesktopappinfo.c:
2755 (g_desktop_app_info_new):
2756 Don't leak basename.
2758 2008-01-22 Alexander Larsson <alexl@redhat.com>
2760 * gdesktopappinfo.c:
2761 (g_desktop_app_info_new_from_filename):
2764 2008-01-22 Alexander Larsson <alexl@redhat.com>
2766 * glocalfileinfo.c (get_thumbnail_attributes):
2769 2008-01-22 Alexander Larsson <alexl@redhat.com>
2772 (canonicalize_filename):
2773 Canonicalize paths that start with more than
2777 (compare_two_files):
2778 (test_g_file_new_for_path):
2781 2008-01-22 Alexander Larsson <alexl@redhat.com>
2784 Allow UTF-8 in file:// parse names.
2786 * tests/Makefile.am:
2787 * tests/data-input-stream.c:
2788 * tests/data-output-stream.c:
2789 * tests/g-file-info.c:
2791 Added a bunch of tests from Tomas Bzatek
2793 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2795 * === Released 2.15.3 ===
2797 2008-01-21 Alexander Larsson <alexl@redhat.com>
2799 * gfileinputstream.[ch]:
2800 * gfileoutputstream.[ch]:
2802 Remove duplicated GSeekable functions. (#509990)
2803 Just use the g_seekable_xxx() calls instead.
2805 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2808 * gvolumemanager.c: Whitespace cleanups.
2810 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2811 Use the right mode when creating the file.
2813 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2815 * gfileenumerator.c:
2816 * gfileinputstream.c:
2818 * goutputstream.c: Documentation: Fixed minor typos
2819 and added more mentions of specific _finish() functions.
2821 2008-01-21 Alexander Larsson <alexl@redhat.com>
2823 * inotify/Makefile.am:
2824 * inotify/inotify-helper.c:
2825 * inotify/inotify-kernel.c:
2826 * inotify/inotify-path.c:
2827 * inotify/local_inotify.h: Removed.
2828 * inotify/local_inotify_syscalls.h: Removed.
2829 Removed the included copies of the inotify
2830 headers. We now only use the <sys/inotify.h>
2831 header which exists on modern systems.
2832 This fixes problems on ARM and SH5 (#510448)
2833 but is also generally much cleaner and future
2834 safe. For instance, if other OSes add support
2835 for inotify it should "just work".
2837 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2839 * inotify/*.c: Coding style fixes.
2840 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2841 for the 1/4 Hz timer.
2843 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2846 * gfilemonitor.[hc]:
2847 * gmemoryinputstream.c:
2848 * gmemoryoutputstream.c:
2849 * gmountoperation.c:
2850 * gthemedicon.c: Documentation updates
2852 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2854 * gfile.c: documentation: Fixed more minor
2857 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2859 * gmount.c: (g_mount_remount): documentation:
2860 Mention g_mount_remount_finish() instead of
2861 g_mount_unmount_finish().
2863 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2867 * gfile.c: Fixed some minor typos in the
2870 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2872 * gio/gvolumemonitor.c:
2873 (g_volume_monitor_get_connected_drives):
2874 (g_volume_monitor_get_volumes):
2875 (g_volume_monitor_get_mounts): Documentation:
2876 Clarify the ownership of the regurn GLists.
2878 2008-01-17 Alexander Larsson <alexl@redhat.com>
2881 Add the async find_enclosing_mount version
2882 to the header file too.
2884 2008-01-17 Alexander Larsson <alexl@redhat.com>
2887 Add async version of find_enclosing_mount
2888 with default implementation.
2890 2008-01-17 Alexander Larsson <alexl@redhat.com>
2895 Allow calls to implementation of copy and write
2896 even if the type of the file implementations is
2897 different. This can be used to implement native
2898 upload and download calls in a vfs.
2901 (g_local_file_move):
2902 Protect against the case where move is called
2903 with one file not being local.
2905 Make sure we call the progress callback once
2906 in the native move operation so that the caller
2907 knows how many bytes were copied.
2909 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2912 * gdatainputstream.c:
2914 * gfileoutputstream.c:
2919 * gunixmounts.c: Corrected some typos in the documentation:
2920 occured -> occurred.
2921 its -> it's (where appropriate).
2923 2008-01-16 Alexander Larsson <alexl@redhat.com>
2927 Add g_file_query_exists (#508771)
2929 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2934 * gvolume.c: For async functions that have no non-async
2935 version, document that the GAsyncReadyCallback may be NULL.
2938 2008-01-15 Alexander Larsson <alexl@redhat.com>
2940 * gmemoryinputstream.c:
2941 * gmemoryoutputstream.c:
2942 Don't do pointer arithmetic on void * (#508602)
2943 Patch from Kazuki IWAMOTO
2945 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2947 * === Released 2.15.2 ===
2949 2008-01-14 Alexander Larsson <alexl@redhat.com>
2951 * gfile.c (g_file_monitor_file):
2952 Don't set error here, since we fallback to polling monitor.
2954 2008-01-14 Alexander Larsson <alexl@redhat.com>
2957 (g_file_monitor_directory):
2958 (g_file_monitor_file):
2959 Add GError to file monitor calls
2961 * glocaldirectorymonitor.c:
2962 * glocaldirectorymonitor.h:
2964 * glocalfilemonitor.c:
2965 * glocalfilemonitor.h:
2967 Update for above change
2969 2008-01-14 Alexander Larsson <alexl@redhat.com>
2973 Handle root correctly in g_file_get_relative_path (#508719)
2975 2008-01-14 Alexander Larsson <alexl@redhat.com>
2978 Clean up docs and example for GAsyncResult (#508074)
2980 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2982 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2983 and correct some spelling mistakes. Bug #508108.
2985 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2987 * glocalfileinfo.c: Add a comment.
2989 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2991 * gfileinfo.c: GFileInfo description: Mention
2992 how to actually set attributes in a GFile and how to discover
2993 which attributes are settable. Bug #508378.
2995 2008-01-10 A. Walton <awalton@svn.gnome.org>
2997 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2998 (g_app_info_get_default_for_type):
2999 Check for NULL content types.
3001 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3003 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3005 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3007 * gfile.c: *_async() functions: Several small corrections
3008 to the documentation, mostly correcting copy/paste errors
3009 and improving some sentences.
3011 2008-01-09 Dan Winship <danw@gnome.org>
3013 * glocalfile.c (get_unique_filename): x86_64 fix
3015 2008-01-09 Alexander Larsson <alexl@redhat.com>
3020 Add g_unix_mount_guess_should_display and use
3021 for unix volume monitor backend.
3022 This means we more or less show what the
3023 gnome-vfs backend did.
3024 Based on patch from Padraig O'Briain
3026 2008-01-09 Alexander Larsson <alexl@redhat.com>
3030 Add g_themed_icon_new_with_default_fallbacks
3033 Use default fallbacks for icons
3035 2008-01-09 Alexander Larsson <alexl@redhat.com>
3038 * gmountoperation.[ch]:
3039 Change the API a bit so that unhandled methods
3040 get reported via the reply, rather than by
3041 the signal emission return value. This is because
3042 some handlers can't know this immediately without
3043 doing I/O, and this is an async operation that
3046 2008-01-09 Alexander Larsson <alexl@redhat.com>
3049 * fam/gfamdirectorymonitor.c:
3050 * fam/gfamfilemonitor.c:
3051 Fix double free crash (#508224)
3052 Patch from Joe Marcus Clarke
3054 008-01-07 Matthias Clasen <mclasen@redhat.com>
3056 * === Released 2.15.1 ===
3058 2008-01-07 Alexander Larsson <alexl@redhat.com>
3060 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3061 Fix warning (#507835)
3063 2008-01-07 Alexander Larsson <alexl@redhat.com>
3066 Pass --internal to glib-genmarshal
3069 * gmountoperation.c:
3071 Use better types for signal arguments (#507822)
3073 2008-01-07 Alexander Larsson <alexl@redhat.com>
3076 Build test subdir after .
3077 Remove gdirectorymonitor.[ch]
3079 * gdirectorymonitor.[ch]:
3083 Remove GDirectoryMonitor and make
3084 GFileMonitor the baseclass for both file and
3085 directory monitors. Lift the more generic
3086 rate limiting code from GDirectoryMonitor
3090 * fam/gfamdirectorymonitor.[ch]:
3091 * inotify/ginotifydirectorymonitor.[ch]:
3092 * inotify/inotify-helper.c:
3093 * glocaldirectorymonitor.[ch]:
3096 Update for the removed GDirectoryMonitor.
3098 * gmemoryoutputstream.c:
3099 Remove ununsed variable
3101 2008-01-07 Alexander Larsson <alexl@redhat.com>
3103 * gmemoryinputstream.c:
3104 Translate error strings
3107 * gmemoryoutputstream.[ch]:
3108 New implementation that avoids using GByteArray
3109 in implementation and API. (#506377)
3111 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3113 * tests/*: Add a test for memory input streams.
3115 * Makefile.am: Add tests to SUBDIRS.
3117 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3119 * glocalfilemonitor.c:
3120 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3123 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3125 * gdesktopappinfo.c: Fix a docs typo.
3127 * gfileattribute.c: Add information about extended attributes
3128 to the documentation. (#505058)
3130 2008-01-04 Alexander Larsson <alexl@redhat.com>
3133 * gmountoperation.c:
3134 Use the right type (uint) for the ask_password signal.
3136 2008-01-04 Alexander Larsson <alexl@redhat.com>
3141 Add g_app_info_supports_files()
3142 Remove desktop arg from g_app_info_should_show().
3144 * gdesktopappinfo.[ch]:
3145 Implement g_app_info_supports_files() and new should_show()
3146 Add g_desktop_app_info_set_desktop_env() to set the desktop
3147 for should_show(). (This will be set by gtk+ later)
3149 2008-01-04 Alexander Larsson <alexl@redhat.com>
3152 * gmemoryinputstream.[ch]:
3153 Improve API so that you can use multiple chunks
3154 of memory and custom destroy functions. (#506374)
3156 2008-01-03 Alexander Larsson <alexl@redhat.com>
3159 Handle NULL attribute matchers safely, as we return this
3160 for empty attribute matcher strings.
3162 2008-01-03 Alexander Larsson <alexl@redhat.com>
3164 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3165 Add /usr/local to list of internal mountpoints
3167 2008-01-03 Alexander Larsson <alexl@redhat.com>
3170 Check for HAVE_LCHOWN (#505887)
3172 2008-01-03 Alexander Larsson <alexl@redhat.com>
3176 Add define for selinux context attribute.
3177 Fix missing : -> :: namespace separator change
3178 Fix missing _ -> - name change for xattr-sys.
3181 2008-01-03 Alexander Larsson <alexl@redhat.com>
3184 Link to libglib and libgobject directly (#504879)
3185 Patch from Sebastien Bacher
3187 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3189 * gfile.c: Expanded the g_file_new_for_commandline_arg
3190 description a bit, based on the code and the docs of the
3191 other g_file_new_for_* functions.
3193 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3195 * gfilemonitor.h: Fixed typo in docs.
3197 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3199 Updates to GIO documentation. (#506395, Mikael Hermansson)
3201 * gcontenttype.c: Describe memory management for return value of
3202 g_content_types_get_registered(). Missing piece from #505815.
3203 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3204 GVolume, GDrive, GMounts, which hopefully gives the user less
3205 confusions when using this API. Following explainations from
3206 Alexander Larsson on gtk-devel-list.
3208 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3210 * gfileinfo.c: Expand the long description.
3212 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3215 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3216 fix builds with --disable-visibility. (#500273, Christian Persch)
3218 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3220 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3221 in the list of returned app infos.
3223 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3225 * gappinfo.c: Fix a cross-reference
3227 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3229 * gfileinputstream.c:
3230 * gfileoutputstream.c:
3234 * gdesktopappinfo.c:
3236 * gfileinfo.c: Documentation updates.
3238 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3240 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3243 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3245 * gcontenttype.c (g_content_types_get_registered): Don't return
3246 freed memory (#505815, Mikael Hermansson)
3248 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3250 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3251 used to detect statbuf->st_blocks. (#505042)
3253 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3255 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3256 environment handling. (#504829, Cosimo Cecchi)
3258 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3260 * gappinfo.c: Doc improvements
3262 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3265 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3267 * === Released 2.15.0 ===
3269 2007-12-20 Hans Breuer <hans@breuer.org>
3271 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3272 with symbols gwin32appinfo.obj, added gmount.obj
3273 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3275 2007-12-20 Alexander Larsson <alexl@redhat.com>
3281 * gfilenamecompleter.c:
3284 * gpollfilemonitor.c:
3285 File attribute renames:
3287 fs:: -> filesystem::
3288 id::fs -> id::filesystem
3290 2007-12-20 Alexander Larsson <alexl@redhat.com>
3299 Add GMountUnmountFlags to all unmount and
3301 Add g_mount_remount() call.
3303 2007-12-20 Alexander Larsson <alexl@redhat.com>
3305 * gvfs.c (get_default_vfs):
3306 Fix unused variable warning
3308 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3310 * pltcheck.sh: Update
3312 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3314 * gunionvolumemonitor.c:
3315 * gunixmount.c: Remove C99 comments
3317 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3319 * gio.symbols: Add some missing symbols
3321 2007-12-19 Alexander Larsson <alexl@redhat.com>
3324 Make g_io_modules_load_all_in_directory not unuse
3325 loaded modules so that users of it can do stuff
3327 Init internal "module" types.
3328 Initialize static prio and name for types so that
3329 we don't have to load modules to get it.
3331 * gnativevolumemonitor.h:
3333 Move is_supported to parent class so that
3334 non-native monitors can avoid being initialized
3335 too. (For instance GDaemonVolumeMonitor if we're
3336 not using GDaemonVfs.)
3338 * glocaldirectorymonitor.[ch]:
3339 * glocalfilemonitor.[ch]:
3340 * gunionvolumemonitor.c:
3341 * gunixvolumemonitor.c:
3343 Find plugins using the static prio+name to
3344 avoid unnecessarily loading the modules.
3346 2007-12-19 Alexander Larsson <alexl@redhat.com>
3351 2007-12-19 Alexander Larsson <alexl@redhat.com>
3353 * gunionvolumemonitor.c:
3354 Store the native type as GType, not class so that
3355 we can unload it. But still avoid unnecessarily
3358 2007-12-19 David Zeuthen <davidz@redhat.com>
3360 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3361 add signals 'disconnected' and 'eject-button' on GDrive. Add
3362 signal 'removed' on GVolume and 'unmounted' on GMount.
3364 * gdrive.c: (g_drive_base_init):
3366 * gfile.c: (g_file_mount_mountable),
3367 (g_file_mount_enclosing_volume):
3370 * gmount.c: (g_mount_base_init):
3372 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3373 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3374 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3378 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3380 * *.c: Fix up includes in the section docs.
3382 2007-12-17 Alexander Larsson <alexl@redhat.com>
3384 * gnativevolumemonitor.h:
3385 * gunionvolumemonitor.c:
3386 * gunixvolumemonitor.c:
3387 Add is_supported() to GNativeVolumeMonitorClass so
3388 that we can avoid having to create an object to see
3389 if the backend is supported at runtime.
3390 Also add name member and an env var to pick a specific
3391 volume monitor backend.
3395 Add cancellable to _g_mount_get_for_mount_path()
3397 * glocaldirectorymonitor.c:
3398 * glocalfilemonitor.c:
3399 Avoid loading and unloading modules while sorting.
3401 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3404 * gunixmounts.[hc]: Namespace waste reduction, move some
3405 g_get_unix_mount functions to the g_unix_mount namespace.
3408 * gunixvolumemonitor.c:
3410 * glocaldirectorymonitor.c: Update all callers.
3412 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3414 2007-12-17 Alexander Larsson <alexl@redhat.com>
3417 Add doc comments about what GFile operations are
3418 guaranteed to not block.
3420 2007-12-17 Alexander Larsson <alexl@redhat.com>
3423 Add missing #ifdef fixing OSX build.
3424 (#503334, patch from Richard Hult)
3426 2007-12-14 David Zeuthen <davidz@redhat.com>
3430 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3431 (g_mount_eject), (g_mount_eject_finish):
3433 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3434 (get_volume_for_uuid), (get_mount_for_uuid),
3435 (g_union_volume_monitor_class_init),
3436 (get_default_native_type_with_exclude), (get_default_native_type),
3437 (get_native_type), (update_native_type),
3438 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3439 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3440 (g_unix_mount_can_eject), (eject_unmount_cb),
3441 (eject_unmount_read_error), (eject_unmount_do),
3442 (g_unix_mount_unmount), (g_unix_mount_eject),
3443 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3444 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3445 (g_unix_mount_point_guess_can_eject):
3447 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3448 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3449 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3450 (g_unix_volume_mount), (g_unix_volume_eject),
3451 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3452 * gunixvolumemonitor.c: (get_volume_for_uuid),
3453 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3455 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3456 (g_volume_eject), (g_volume_eject_finish):
3458 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3459 (g_volume_monitor_get_mount_for_uuid):
3462 Provide eject() on both GMount and GVolume and utility functions
3463 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3464 ejected. Introduce the concept of UUID's and wire it into GVolume
3465 and GMount and provide API on GVolumeMonitor to find such
3466 instances. Also handle the case where an external
3467 GNativeVolumeMonitor fails to initialize. Lock around the
3468 _g_get_mount_for_mount_path() function such that volume monitor
3469 implementations won't have to do locking themselves.
3471 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3473 * gdesktopappinfo.c:
3479 * gvolume.h: Documentation updates
3481 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3484 * gfile.h: Doc updates
3486 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3489 * gdesktopappinfo.c: Use hash table iterators.
3491 2007-12-14 Alexander Larsson <alexl@redhat.com>
3494 * gfileattribute.[ch]:
3495 * gfileattribute-priv.h:
3496 Move GFileAttributeValue to a private header, as
3500 Make set_attribute take a type + a pointer instead
3501 of a GFileAttributeValue.
3504 Fix up for above changes.
3505 Add g_file_info_get_attribute_data to get
3506 all info in one call, g_file_info_get_attribute_status
3507 to get the status and g_file_info_get_attribute_as_string.
3511 * glocalfileinfo.[ch]:
3515 Make _guess_type static.
3517 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3520 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3521 made mkenums and friends use temporary files to avoid leaving
3522 empty generated files on failure (#503470).
3524 2007-12-14 Alexander Larsson <alexl@redhat.com>
3526 * gmountoperation.h:
3529 2007-12-14 Alexander Larsson <alexl@redhat.com>
3533 * gfileattribute.[ch]:
3536 * glocalfileoutputstream.c:
3537 * gmountoperation.[ch]:
3538 * goutputstream.[ch]:
3539 Clean up all flags enums to not have _FLAGS in them
3540 Make the names of some of the enums better.
3545 2007-12-14 Michael Natterer <mitch@imendio.com>
3547 * gio.symbols: fix g_io_scheduler symbol names.
3549 2007-12-14 Alexander Larsson <alexl@redhat.com>
3555 * gbufferedinputstream.h:
3556 * gbufferedoutputstream.h:
3559 * gdatainputstream.h:
3560 * gdataoutputstream.h:
3561 * gdesktopappinfo.h:
3562 * gdirectorymonitor.h:
3566 * gfileenumerator.h:
3569 * gfileinputstream.h:
3571 * gfilenamecompleter.h:
3572 * gfileoutputstream.h:
3573 * gfilterinputstream.h:
3574 * gfilteroutputstream.h:
3582 * gmemoryinputstream.h:
3583 * gmemoryoutputstream.h:
3585 * gmountoperation.h:
3588 * gsimpleasyncresult.h:
3590 * gunixinputstream.h:
3592 * gunixoutputstream.h:
3596 * inotify/Makefile.am:
3597 Only allow including <gio/gio.h> from apps
3599 2007-12-14 Alexander Larsson <alexl@redhat.com>
3601 * gioscheduler.[ch]:
3602 * gsimpleasyncresult.c:
3603 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3604 Split out the send_to_mainloop call into two versions instead
3605 of having the block argument.
3607 2007-12-13 Alexander Larsson <alexl@redhat.com>
3609 * gcancellable.[ch]:
3611 * gbufferedinputstream.c:
3612 * gfileenumerator.c:
3613 * gfileinputstream.c:
3614 * gfileoutputstream.c:
3618 g_push/pop_current_cancellable ->
3619 g_cancellable_push/pop_current
3621 2007-12-13 Alexander Larsson <alexl@redhat.com>
3625 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3627 2007-12-13 Alexander Larsson <alexl@redhat.com>
3629 * gmountoperation.h:
3630 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3632 2007-12-12 Alexander Larsson <alexl@redhat.com>
3635 Fix race condition when freeing proxy in
3636 g_io_job_send_to_mainloop().
3638 2007-12-12 Alexander Larsson <alexl@redhat.com>
3644 Make attribute namespace separator "::" instead of ":".
3645 Use - instead of _ as separator in attribute names.
3647 2007-12-12 Alexander Larsson <alexl@redhat.com>
3649 * gbufferedinputstream.h:
3650 * gbufferedoutputstream.h:
3651 * gdatainputstream.h:
3652 * gdataoutputstream.h:
3653 * gdirectorymonitor.h:
3654 * gfileenumerator.h:
3655 * gfileinputstream.h:
3657 * gfileoutputstream.h:
3658 * gfilterinputstream.h:
3659 * gfilteroutputstream.h:
3661 * glocalfileinputstream.h:
3662 * glocalfileoutputstream.h:
3663 * gmemoryinputstream.h:
3664 * gmemoryoutputstream.h:
3665 * gnativevolumemonitor.h:
3667 * gunixinputstream.h:
3668 * gunixoutputstream.h:
3671 s/parent/parent_instance/ in GObjects
3673 2007-12-12 Alexander Larsson <alexl@redhat.com>
3678 No need for padding for interfaces
3680 2007-12-12 Alexander Larsson <alexl@redhat.com>
3684 * gbufferedinputstream.c:
3685 * gbufferedoutputstream.c:
3688 * gdatainputstream.[ch]:
3689 * gdesktopappinfo.c:
3690 * gdirectorymonitor.c:
3692 * gfileattribute.[ch]:
3695 * gfileinputstream.h:
3696 * gfilemonitor.[ch]:
3697 * gfileoutputstream.[ch]:
3698 * gfilterinputstream.h:
3699 * gfilteroutputstream.h:
3702 * gloadableicon.[ch]:
3703 * gmemoryinputstream.c:
3704 * gmountoperation.c:
3706 Fix up a bunch of details in the docs.
3711 2007-12-11 David Zeuthen <davidz@redhat.com>
3713 Rework how volumes, drives and volume monitoring is
3714 done. Previosly the model was
3716 GDrive <1-1> GVolume
3718 where a GDrive instance represented a mount point and a GVolume
3719 instance represented a mounted file system. This patch changes it
3722 GDrive <1-N> GVolume <1-1> GMount
3724 where GMount now serves the purpose of the old GVolume and the new
3725 GVolume serves the purpose of the old GDrive. In addition the new
3726 GDrive interface is used to represent a collection of GVolume
3727 instances (typically partitions) and also contains utility to query
3728 the state of the physical drive the GDrive object represents (such
3729 as checking for media, polling the drive, ejecting the media etc.).
3731 Also implement mounting and unmounting in the Unix volume monitor
3732 backend. A subquent patch will introduce GDrive support for ejection
3736 * gdrive.c: (g_drive_is_media_check_automatic),
3737 (g_drive_is_media_removable), (g_drive_has_media),
3738 (g_drive_can_poll_for_media), (g_drive_eject),
3739 (g_drive_eject_finish), (g_drive_poll_for_media),
3740 (g_drive_poll_for_media_finish):
3742 * gfile.c: (g_file_find_enclosing_mount):
3745 * glocaldirectorymonitor.c:
3746 (g_local_directory_monitor_constructor), (mounts_changed):
3747 * glocalfile.c: (get_mount_info),
3748 (g_local_file_find_enclosing_mount),
3749 (g_local_file_file_iface_init):
3750 * gnativevolumemonitor.h:
3751 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3752 (get_connected_drives), (g_union_volume_monitor_class_init),
3753 (child_volume_added), (child_volume_removed),
3754 (child_volume_changed), (child_mount_added), (child_mount_removed),
3755 (child_mount_pre_unmount), (child_mount_changed),
3756 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3757 (g_union_volume_monitor_remove_monitor),
3758 (_g_mount_get_for_mount_path):
3759 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3760 (guess_system_internal), (_g_get_unix_mounts),
3761 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3762 (g_unix_mount_free), (g_unix_mount_compare),
3763 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3764 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3765 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3766 (type_to_icon), (g_unix_mount_guess_name),
3767 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3768 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3769 (_resolve_symlink), (_resolve_dev_root):
3771 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3772 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3773 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3774 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3775 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3776 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3777 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3778 (g_unix_volume_volume_iface_init):
3780 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3781 (get_mounts), (get_volumes), (get_connected_drives),
3782 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3783 (mountpoints_changed), (mounts_changed),
3784 (g_unix_volume_monitor_init),
3785 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3786 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3787 * gunixvolumemonitor.h:
3788 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3789 (g_volume_mount), (g_volume_mount_finish):
3791 * gvolumemonitor.c: (g_volume_monitor_class_init),
3792 (g_volume_monitor_get_connected_drives),
3793 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3796 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3798 * gmountoperation.h (GPasswordFlags): Close the gap
3800 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3802 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3804 * gdesktopappinfo.[hc]: Remove _-prefixes
3806 2007-12-10 Tor Lillqvist <tml@novell.com>
3808 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3811 2007-12-10 Alexander Larsson <alexl@redhat.com>
3813 * gfile.c (g_file_set_display_name):
3814 Don't hardcode '/' (#502727)
3816 2007-12-09 Hans Breuer <hans@breuer.org>
3818 * makefile.msc : follow lib naming convention
3819 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3820 for user and group name, tested with ../tests/gio-ls
3822 2007-12-09 A. Walton <awalton@svn.gnome.org>
3824 * gdesktopappinfo.c:
3830 * gfileenumerator.c:
3835 * gmemoryinputstream.c:
3836 * gmemoryoutputstream.c:
3838 * gsimpleasyncresult.c:
3839 More documentation cleanup and filling in missing information, bringing
3840 GIO to 99% symbol coverage.
3842 2007-12-08 Hans Breuer <hans@breuer.org>
3844 [gio compiles and links on win32, not sure how much already works]
3845 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3846 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3847 base on win32 API; prefer g_lstat() over lstat(); instead of
3848 localtime_r() use an all GLib implementation on win32;
3849 get_mount_info() still needs a win32 specifc implementation
3850 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3851 win32_get_file_user_info to get owner/group info without uid/gid
3852 * glocalfileinputstream.c : include <io.h> on win32
3853 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3854 definition, use g_win32_ftruncate() for G_OS_WIN32
3855 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3856 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3857 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3858 * makefile.msc : updated
3860 2007-12-07 Alexander Larsson <alexl@redhat.com>
3862 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3863 Avoid warning spew if error == NULL
3865 2007-12-07 Alexander Larsson <alexl@redhat.com>
3868 Update docs wrt etags
3870 2007-12-06 Alexander Larsson <alexl@redhat.com>
3873 Include sys/types.h for dev_t (#501919)
3875 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3879 Make abicheck and pltcheck pass.
3881 2007-12-05 Alexander Larsson <alexl@redhat.com>
3884 * giomodule-priv.h: Added.
3885 * glocaldirectorymonitor.c:
3886 * glocalfilemonitor.c:
3887 * gunionvolumemonitor.c:
3889 Actually add the declaration of _g_io_modules_ensure_loaded
3891 2007-12-05 Alexander Larsson <alexl@redhat.com>
3893 * gdatainputstream.c:
3898 * glocaldirectorymonitor.c:
3899 * glocalfilemonitor.c:
3900 * gunionvolumemonitor.c:
3902 Make g_io_modules_ensure_loaded a private function and
3903 don't pass in the dirname. This means we can do magic
3904 directory finding in the win32 version.
3905 Export the actual load-modules-in-directory code so that
3906 gvfs can reuse that.
3908 2007-12-05 Alexander Larsson <alexl@redhat.com>
3910 * gbufferedinputstream.c:
3911 * gbufferedoutputstream.c:
3914 * gfileenumerator.[ch]:
3915 * gfileinputstream.c:
3916 * gfileoutputstream.[ch]:
3917 * gfilterinputstream.c:
3918 * gfilteroutputstream.c:
3919 * ginputstream.[ch]:
3921 * glocalfileenumerator.c:
3922 * glocalfileinputstream.c:
3923 * glocalfileoutputstream.c:
3924 * gmemoryinputstream.c:
3925 * gmemoryoutputstream.c:
3926 * goutputstream.[ch]:
3929 * gunixinputstream.c:
3930 * gunixoutputstream.c:
3931 Rename all struct members named:
3932 read, write, close, truncate, or mount
3933 to foo_fn, as these are reserved names
3934 and could be defined as macros in libc.
3937 2007-12-04 Alexander Larsson <alexl@redhat.com>
3940 (g_output_stream_close):
3941 Only call flush if non-null.
3943 2007-11-30 Dan Winship <danw@gnome.org>
3945 * ginputstream.c (g_input_stream_set_pending): Make this take a
3946 GError and return a gboolean, and do the "outstanding operation"
3947 check (and the "stream is already closed" check) itself.
3948 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3950 * goutputstream.c (g_output_stream_set_pending)
3951 (g_output_stream_clear_pending): Likewise
3953 * gbufferedinputstream.c:
3954 * gfileinputstream.c:
3955 * gfileoutputstream.c: Update for that
3957 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3958 Like g_simple_async_report_error_in_idle, but takes a GError
3959 rather than building one.
3961 2007-11-30 Dan Winship <danw@gnome.org>
3963 * goutputstream.c: Don't cheat and unset the "pending" flag around
3964 inner calls. Instead, call the class method directly rather than
3965 the wrapper function that checks "pending"
3967 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3969 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3971 2007-12-03 Hans Breuer <hans@breuer.org>
3973 [start of port to win32/msvc]
3974 * gcancellable.c : HAVE_UNIST_H and _pipe()
3975 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3976 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3977 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3979 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3980 * glocalvfs.c : use HAVE_PWD_H
3981 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3982 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3983 * Makefile.am : added to EXTRA_DIST
3985 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3987 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3990 2007-12-03 Alexander Larsson <alexl@redhat.com>
3993 Handle OSX style xattrs API (#500506)
3995 2007-12-03 Alexander Larsson <alexl@redhat.com>
3999 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4001 2007-12-02 A. Walton <awalton@svn.gnome.org>
4005 Documentation accuracy fixes.
4007 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4009 * gioenumtypes.c.template: Fix typo.
4011 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4013 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4015 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4017 * gdirectorymonitor.c:
4018 * gfilemonitor.c: Add properties
4020 * gbufferedoutputstream.c: Don't mark buffer-size property
4023 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4025 * gbufferedoutputstream.c: Add auto-grow property.
4027 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4029 * *.c: Unify the capitalization of section headings.
4031 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4033 * gmountoperation.c: Add properties
4035 * gdatainputstream.c: Turn byte-order and newline-type into
4038 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4040 * gioenumtypes.[hc].template: Templates for enum registration
4042 * Makefile.am: Generate gioenumtypes.[hc]
4044 * gio.h: Include gioenumtypes.h
4046 * gfile.h: Add some explicit nicks.
4048 * gio.symbols: Add new symbols
4050 * pltcheck.sh: Adjust
4052 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4054 * *.c: Explain etags and link to the explanation
4056 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4058 * *.c: Explain I/O priority.
4060 * *.c: More coding style fixes.
4062 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4064 * gasyncresult.c: Add another paragraph to the intro,
4065 adjust coding style of example.
4067 2007-11-29 A. Walton <awalton@svn.gnome.org>
4070 Fixes unknown meaning in GAppLaunchContext docs.
4072 Clarify asynchronous ops.
4074 Fix entity tag docs.
4077 Provides missing gtk-doc section, fixes API docs slighly.
4078 * gsimpleasyncresult.c:
4079 Fill in missing info in docs.
4080 * gunixinputstream.c:
4081 * gunixoutputstream.c:
4082 Be more expressive in short description.
4084 Remove gtk-doc stubs for non-public API.
4086 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4088 * *.c: Coding style fixups
4090 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4092 * inotify/inotify-helper.c: Don't export the lock from libgio.
4094 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4097 * abicheck.sh: Fix copy-and-paste leftovers
4099 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4101 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4103 2007-11-28 Alexander Larsson <alexl@redhat.com>
4107 Removed unnecessary file
4109 * gdesktopappinfo.[ch]:
4112 * glocaldirectorymonitor.[ch]:
4114 * glocalfileenumerator.[ch]:
4115 * glocalfileinputstream.[ch]:
4116 * glocalfilemonitor.[ch]:
4117 * glocalfileoutputstream.[ch]:
4119 * gnativevolumemonitor.c:
4120 * gpollfilemonitor.[ch]:
4121 * gunionvolumemonitor.[ch]:
4124 * gunixvolumemonitor.[ch]:
4127 * inotify/ginotifydirectorymonitor.[ch]:
4128 * inotify/ginotifyfilemonitor.[ch]:
4129 * inotify/inotify-helper.c:
4130 Append _ to all internal functions
4134 Export symbols needed for modules
4136 2007-11-28 Alexander Larsson <alexl@redhat.com>
4139 * abicheck.sh: Added.
4140 * makegioalias.pl: Added.
4141 * pltcheck.sh: Added.
4142 * gio.symbols: Added.
4145 Initial work on adding symbol handling.
4148 Correct ifdef guard name
4151 * inotify/Makefile.am:
4152 * xdgmime/Makefile.am:
4153 Include toplevel Makefile.decl
4155 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4157 * gcontenttype.c: Move doc comments to the unix section.
4159 * *.[hc]: More trivial doc corrections.
4161 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4163 * gpollfilemonitor.c:
4167 * gdesktopappinfo.c:
4172 * gdatainputstream.c:
4173 * gdatainputstream.h:
4174 * gdataoutputstream.c:
4175 * gdataoutputstream.h:
4176 * gfileinfo.h: Doc cleanups
4178 2007-11-28 Andre Klapper <a9016009@gmx.de>
4180 * gdesktopappinfo.c: Fix a typo.
4182 2007-11-27 Andre Klapper <a9016009@gmx.de>
4184 * glocalfileoutputstream.c: Fix a typo.
4186 2007-11-27 Alexander Larsson <alexl@redhat.com>
4189 Don't include removed headers
4191 2007-11-27 Alexander Larsson <alexl@redhat.com>
4194 * gsocketinputstream.[ch]: Removed.
4195 * gsocketoutputstream.[ch]: Removed.
4196 * gunixinputstream.[ch]: Added.
4197 * gunixoutputstream.[ch]: Added.
4198 Renamed GSocket*Stream to GUnix*Stream and made
4199 it unix-only, since its not really only for sockets
4200 and it only works on unix (but is highly useful there).
4202 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4208 * gbufferedinputstream.c:
4209 * gbufferedinputstream.h:
4210 * gbufferedoutputstream.c:
4211 * gbufferedoutputstream.h:
4215 * gdatainputstream.c:
4216 * gdatainputstream.h:
4217 * gdataoutputstream.c:
4218 * gdataoutputstream.h:
4219 * gdirectorymonitor.c:
4220 * gdirectorymonitor.h:
4227 * gfileenumerator.c:
4228 * gfileenumerator.h:
4233 * gfileinputstream.c:
4234 * gfileinputstream.h:
4237 * gfilenamecompleter.c:
4238 * gfilenamecompleter.h:
4239 * gfileoutputstream.c:
4240 * gfileoutputstream.h:
4241 * gfilterinputstream.c:
4242 * gfilterinputstream.h:
4243 * gfilteroutputstream.c:
4244 * gfilteroutputstream.h:
4257 * glocalfileoutputstream.c:
4258 * gmemoryinputstream.c:
4259 * gmemoryinputstream.h:
4260 * gmemoryoutputstream.c:
4261 * gmemoryoutputstream.h:
4262 * gmountoperation.c:
4263 * gmountoperation.h:
4266 * gpollfilemonitor.c:
4269 * gsimpleasyncresult.c:
4270 * gsimpleasyncresult.h:
4271 * gsocketinputstream.c:
4272 * gsocketinputstream.h:
4273 * gsocketoutputstream.c:
4274 * gsocketoutputstream.h:
4281 * gunixvolumemonitor.c:
4290 Bumps documentation to 93% symbol coverage, touching most
4291 of the public files. Fixes broken function documentation prototypes.
4292 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4293 gtk-doc headers in private files.
4295 2007-11-27 Jürg Billeter <j@bitron.ch>
4297 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4298 (g_buffered_input_stream_read_byte):
4299 * gbufferedinputstream.h:
4300 New functions for efficient access to buffer and simple single byte
4303 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4304 (g_data_input_stream_read_until):
4305 * gdatainputstream.h:
4306 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4307 read_until with multiple stop chars.
4309 2007-11-27 Alexander Larsson <alexl@redhat.com>
4313 * inotify/Makefile.am:
4314 Use the user-specified giomoduledir
4316 2007-11-27 Alexander Larsson <alexl@redhat.com>
4320 Add catch-all gio.h header
4321 Don't install gdummyfile.h
4323 2007-11-26 Alexander Larsson <alexl@redhat.com>
4325 * Makefile.am (gioinclude_HEADERS):
4326 Remove trailing whitespace
4328 2007-11-26 Alexander Larsson <alexl@redhat.com>
4330 Merge gio-standalone into glib
4332 2007-11-25 Christian Kellner <gicmo@gnome.org>
4334 * gio/goutputstream.c:
4335 Fix small mistake in the docs.
4337 2007-11-21 Christian Persch <chpe@gnome.org>
4339 * gio/glocalfile.c: (g_local_file_trash):
4340 Convert filenames to UTF-8 for GError.
4341 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4342 as per xdg base dir spec.
4344 2007-11-21 Christian Persch <chpe@gnome.org>
4346 * gio/gdesktopappinfo.c:
4347 Use that g_key_file_to_data cannot fail.
4349 Use stock defines for the key file group and key names.
4352 2007-11-21 Alexander Larsson <alexl@redhat.com>
4355 (copy_stream_with_progress):
4356 Make sure we do a final progress callback with
4357 the full total size.
4359 2007-11-21 Alexander Larsson <alexl@redhat.com>
4362 Export g_file_copy_attributes
4363 Remove padding as its not needed for interfaces
4365 2007-11-20 Alexander Larsson <alexl@redhat.com>
4370 Add G_IO_ERROR_WOULD_MERGE for
4371 copy/move dir on dir with overwrite.
4373 2007-11-20 Alexander Larsson <alexl@redhat.com>
4376 * gio/glocalfileinfo.c:
4377 Add COPY_NAME (this is an optional
4378 non-modified utf8 version of the name) that
4381 2007-11-20 Alexander Larsson <alexl@redhat.com>
4383 * gio/glocalfileenumerator.c:
4384 Report errors as GIOError, not GFileError
4386 2007-11-16 Alexander Larsson <alexl@redhat.com>
4388 * gio/glocalfileoutputstream.c:
4389 * gio/gwin32appinfo.c:
4390 Fix typos in strings.
4391 Patch from Luca Ferretti <elle.uca@libero.it>
4393 2007-11-15 Alexander Larsson <alexl@redhat.com>
4396 Post release version bump
4398 === gio-standalone 0.1.2 ===
4400 2007-11-15 Alexander Larsson <alexl@redhat.com>
4402 * docs/reference/gio/Makefile.am:
4403 Fix up distcheck by removing weird
4409 2007-11-14 Alexander Larsson <alexl@redhat.com>
4411 * gio/gdesktopappinfo.c:
4412 * gio/glocaldirectorymonitor.c:
4414 * gio/glocalfileinfo.c:
4415 * gio/inotify/inotify-sub.c:
4416 * programs/gio-cat.c:
4417 * programs/gio-copy.c:
4418 * programs/gio-info.c:
4419 * programs/gio-ls.c:
4420 * programs/gio-monitor-dir.c:
4421 * programs/gio-monitor-file.c:
4422 * programs/gio-mount.c:
4423 * programs/gio-move.c:
4424 * programs/gio-rm.c:
4425 * programs/gio-save.c:
4426 * programs/gio-trash.c:
4427 Leak fixes from Kjartan Maraas
4429 2007-11-14 Alexander Larsson <alexl@redhat.com>
4431 * gio/fam/fam-helper.c:
4433 * gio/glocalfileinfo.c:
4437 * gio/inotify/inotify-diag.c:
4438 * gio/inotify/inotify-kernel.c:
4439 Various code cleanups from Kjartan Maraas
4441 2007-11-14 Alexander Larsson <alexl@redhat.com>
4443 * gio/gioscheduler.c:
4445 Set up threadpool so that we cache 2 unused
4446 idle threads for at 15 secs. This means we
4447 will reuse thread-local data (like dbus connections)
4450 2007-11-14 Alexander Larsson <alexl@redhat.com>
4452 * gio/fam/fam-helper.c:
4453 * gio/fam/gfamdirectorymonitor.c:
4454 * gio/fam/gfamfilemonitor.c:
4456 * gio/gcontenttype.c:
4457 * gio/gdatainputstream.c:
4458 * gio/gdataoutputstream.c:
4462 * gio/gfileattribute.h:
4463 * gio/gfileenumerator.c:
4465 * gio/ginputstream.c:
4468 * gio/glocalfileinfo.c:
4469 * gio/goutputstream.c:
4470 * gio/gpollfilemonitor.c:
4471 * gio/gsimpleasyncresult.c:
4472 * gio/gunixmounts.c:
4473 * gio/gunixmounts.h:
4474 * gio/inotify/ginotifydirectorymonitor.c:
4475 * gio/inotify/ginotifyfilemonitor.c:
4476 * gio/inotify/inotify-diag.c:
4477 * gio/inotify/inotify-kernel.c:
4478 * gio/inotify/inotify-path.c:
4480 * gio/test-streams.c:
4481 * programs/gio-info.c:
4482 * programs/gio-monitor-dir.c:
4483 * programs/gio-monitor-file.c:
4484 Various code cleanups from Kjartan Maraas
4486 2007-11-13 Alexander Larsson <alexl@redhat.com>
4489 Handle the uri-scheme calls for dummy files
4491 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4493 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4494 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4495 to avoid clash with the C++ keyword.
4497 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4499 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4500 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4502 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4504 * gio/glocaldirectorymonitor.c:
4505 * gio/glocalfilemonitor.c:
4506 * gio/gunionvolumemonitor.c:
4507 Don't use g_once_init_*() for initializations that could fail and
4508 could leave the initialization variable set to 0 but use GOnce.
4509 This prevents a deadlock on the second call when trying to create
4510 a monitor and no monitor type is available. Thanks to Sven Herzberg
4513 2007-11-11 Sven Herzberg <sven@imendio.com>
4515 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4516 #ifdef (make it work on MacOS X again)
4518 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4520 Fixes Changelog for last two commits (sorry guys).
4522 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4524 * gio/gbufferedinputstream.c:
4525 * gio/gdatainputstream.c:
4527 * gio/gfileoutputstream.c:
4528 * gio/gfilterinputstream.c:
4529 * gio/glocalfileinputstream.c:
4532 More consistency fixes in g*stream.c files.
4533 Significant clean of gfile's documentation, filling in of
4534 asynchronous operations documentation.
4536 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4538 * gio/gasyncresult.c:
4539 * gio/gbufferedinputstream.c:
4540 * gio/gbufferedoutputstream.c:
4541 * gio/gcancellable.c:
4542 * gio/gcontenttype.c:
4543 * gio/gdatainputstream.c:
4544 * gio/gdataoutputstream.c:
4545 * gio/gdesktopappinfo.c:
4548 * gio/gfileattribute.c:
4549 * gio/gio/gfileenumerator.c:
4551 * gio/gfileinputstream.c:
4552 * gio/gfilemonitor.c:
4553 * gio/gfileoutputstream.c:
4554 * gio/ginputstream.c:
4556 * gio/gioscheduler.c:
4557 * gio/gloadableicon.c:
4558 * gio/glocalfileoutputstream.c:
4559 * gio/gmemoryoutputstream.c:
4560 * gio/gmountoperation.c:
4561 * gio/goutputstream.c:
4563 * gio/gsimpleasyncresult.c:
4564 * gio/gunionvolumemonitor.c:
4565 * gio/gunixmounts.c:
4566 * gio/gunixvolume.c:
4570 * gio/gvolumemonitor.c:
4571 Updated documentation stubs, working towards consistency and
4574 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4576 * gio/gmemoryoutputstream.c:
4577 * gio/gmemoryoutputstream.h:
4578 Change g_memory_output_stream_set_free_on_close() to
4579 g_memory_output_stream_set_free_data() as this makes more sense and
4580 is more consistent with GMemoryInputStream.
4582 2007-11-07 Alexander Larsson <alexl@redhat.com>
4589 Change how we find the default vfs so that
4590 we can handle a gvfs failing to init
4592 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4594 * gio/gbufferedoutputstream.c:
4595 * gio/gdatainputstream.c:
4596 * gio/gdataoutputstream.c:
4597 * gio/gfileinputstream.c:
4598 * gio/gfileoutputstream.c:
4599 * gio/gfilterinputstream.c:
4600 * gio/gfilteroutputstream.c:
4601 * gio/ginputstream.c:
4602 * gio/gmemoryinputstream.c:
4603 * gio/gmemoryoutputstream.c:
4604 * gio/goutputstream.c:
4605 * gio/gsimpleasyncresult.c:
4606 * gio/gsocketinputstream.c:
4607 * gio/gsocketoutputstream.c:
4608 Add guards to the remaining public functions, add a TODO for
4609 an unimplemented function and remove some useless guards.
4611 2007-11-07 Alexander Larsson <alexl@redhat.com>
4614 Autoconf checks for the various types of
4615 getpwuid_r and getgrgid_r
4617 * gio/glocalfileinfo.c:
4618 Use the autoconf checks from above
4620 2007-11-07 Alexander Larsson <alexl@redhat.com>
4623 (g_local_file_query_filesystem_info):
4624 Some fixes for the statvfs case
4626 2007-11-07 Alexander Larsson <alexl@redhat.com>
4629 (g_local_file_query_filesystem_info):
4630 Pick the "best" of statfs / statvfs for the system
4631 if both are availible.
4633 2007-11-07 Alexander Larsson <alexl@redhat.com>
4635 Solaris fixes from Halton.Huo@Sun.COM:
4642 * gio/glocalfileinfo.c:
4643 Fix for solaris definition of getpwuid_r
4645 * gio/test-streams.c:
4646 Use G_GNUC_PRETTY_FUNCTION
4648 2007-11-07 Alexander Larsson <alexl@redhat.com>
4650 * gio/gdesktopappinfo.c:
4651 (update_default_list):
4652 Remove double semicolon.
4653 Patch from Jens Granseuer
4655 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4657 * docs/reference/gio/gio-sections.txt:
4658 * gio/gbufferedinputstream.c:
4659 * gio/gbufferedinputstream.h:
4660 * gio/gdatainputstream.c:
4661 * gio/gfileenumerator.c:
4662 * gio/gioscheduler.c:
4663 * gio/gunionvolumemonitor.c:
4665 * programs/gio-save.c:
4666 Fix typo: availible -> available. Unfortuntely this breaks API
4667 and ABI as g_buffered_input_stream_get_available() was renamed.
4669 * gio/gunixmounts.c:
4670 * gio/gbufferedinputstream.c:
4671 Add guards for public functions.
4673 2007-11-06 Ross Burton <ross@openedhand.com>
4675 * docs/reference/gio/Makefile.am:
4676 Fix invalid += usage which automake 1.10 doesn't like.
4678 2007-11-06 Alexander Larsson <alexl@redhat.com>
4681 (g_app_launch_context_class_init):
4684 Patch from Ross Burton
4686 2007-11-06 Alexander Larsson <alexl@redhat.com>
4689 Post release version bump
4691 === gio-standalone 0.1.1 ===
4693 2007-11-06 Alexander Larsson <alexl@redhat.com>
4696 Bump version to 0.1.1
4698 * gio/gsimpleasyncresult.c:
4699 (g_simple_async_result_set_from_error):
4700 Remove bogus g_return_if_fail
4702 2007-11-06 Alexander Larsson <alexl@redhat.com>
4705 The name is gio-standalone
4708 Add top src/builddir to includedir
4710 2007-11-06 Alexander Larsson <alexl@redhat.com>
4712 * docs/reference/gio/gio-sections.txt:
4714 * gio/gbufferedinputstream.c:
4715 * gio/gbufferedoutputstream.c:
4716 * gio/gcancellable.c:
4717 * gio/gdatainputstream.h:
4718 * gio/gdataoutputstream.c:
4719 * gio/gdataoutputstream.h:
4720 * gio/gdirectorymonitor.c:
4722 * gio/gfileattribute.c:
4723 * gio/gfileattribute.h:
4724 * gio/gfileenumerator.c:
4725 * gio/gfileenumerator.h:
4728 * gio/gfileinputstream.h:
4729 * gio/gfilemonitor.c:
4730 * gio/gfileoutputstream.h:
4731 * gio/glocalfilemonitor.h:
4732 * gio/glocalfileoutputstream.h:
4733 * gio/gmemoryinputstream.c:
4734 * gio/gmemoryoutputstream.c:
4735 * gio/gmountoperation.c:
4736 * gio/goutputstream.c:
4737 * gio/goutputstream.h:
4739 * gio/gsimpleasyncresult.c:
4740 * gio/gunixmounts.c:
4741 * gio/gunixmounts.h:
4743 * gio/inotify/inotify-helper.c:
4744 Fix gtk-doc warnings
4746 Patch from Ross Burton
4748 2007-11-06 Alexander Larsson <alexl@redhat.com>
4750 * gio/gfilenamecompleter.c:
4751 (g_filename_completer_get_completions):
4754 * gio/gunixvolume.c:
4755 Remove unused function
4757 Patches from Ross Burton
4759 2007-11-06 Alexander Larsson <alexl@redhat.com>
4764 Padding not needed for interfaces
4766 2007-11-06 Alexander Larsson <alexl@redhat.com>
4768 * gio/gfilemonitor.c:
4772 Make giotypes.h an internal file
4775 * gio/gbufferedinputstream.h:
4776 * gio/gbufferedoutputstream.h:
4777 * gio/gcancellable.h:
4778 * gio/gdatainputstream.h:
4779 * gio/gdataoutputstream.h:
4780 * gio/gdirectorymonitor.c:
4781 * gio/gdirectorymonitor.h:
4786 * gio/gfileattribute.h:
4787 * gio/gfileenumerator.h:
4792 * gio/gfilemonitor.c:
4793 * gio/gfilemonitor.h:
4794 * gio/gfilenamecompleter.c:
4795 * gio/gfilenamecompleter.h:
4796 * gio/gfilterinputstream.h:
4797 * gio/gfilteroutputstream.h:
4798 * gio/ginputstream.h:
4799 * gio/gmemoryinputstream.h:
4800 * gio/gmemoryoutputstream.h:
4801 * gio/gmountoperation.c:
4802 * gio/gmountoperation.h:
4803 * gio/gnativevolumemonitor.c:
4804 * gio/goutputstream.h:
4807 * gio/gsimpleasyncresult.c:
4808 * gio/gsimpleasyncresult.h:
4809 * gio/gsocketinputstream.h:
4810 * gio/gsocketoutputstream.h:
4811 * gio/gthemedicon.c:
4812 * gio/gthemedicon.h:
4816 * gio/gvolumemonitor.c:
4817 * gio/gvolumemonitor.h:
4818 Add padding in classes where it seems useful
4819 Don't include giotypes.h from public headers
4820 Move in Class definitions into c file where possible
4825 2007-11-06 Alexander Larsson <alexl@redhat.com>
4827 * docs/reference/gio/gio-docs.xml:
4828 Better structure for API docs
4830 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4833 * gio/gloadableicon.c:
4834 * gio/gsimpleasyncresult.c:
4835 * gio/gthemedicon.c:
4836 Add some more guards to public functions. Only files missing are now
4839 2007-11-06 Alexander Larsson <alexl@redhat.com>
4841 * docs/reference/gio/gio-docs.xml:
4842 Remove old files, add missing ones
4844 2007-11-06 Alexander Larsson <alexl@redhat.com>
4846 * docs/reference/gio/gio-sections.txt:
4849 Hide implementation classes
4851 * gio/gdriveprivate.h:
4852 * gio/gvolumeprivate.h:
4853 Remove non-existing function declarations
4855 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4858 Fix compilation warnings and add guards to the new functions.
4860 * gio/gasyncresult.c:
4862 Add guards to the public functions.
4865 Implement get_path().
4867 2007-11-06 Alexander Larsson <alexl@redhat.com>
4869 * gio/gfilenamecompleter.c:
4870 Make g_filename_completer_get_completions
4871 return char ** instead of GList for
4874 * docs/reference/gio/gio-docs.xml:
4875 * docs/reference/gio/gio-sections.txt:
4877 * gio/gasyncresult.c:
4878 * gio/gbufferedinputstream.c:
4879 * gio/gbufferedoutputstream.c:
4880 * gio/gcancellable.c:
4881 * gio/gcontenttype.c:
4882 * gio/gdatainputstream.c:
4883 * gio/gdataoutputstream.c:
4884 * gio/gdesktopappinfo.c:
4885 * gio/gdirectorymonitor.c:
4889 * gio/gfileattribute.c:
4890 * gio/gfileenumerator.c:
4893 * gio/gfileinputstream.c:
4894 * gio/gfilemonitor.c:
4895 * gio/gfilenamecompleter.c:
4896 * gio/gfilenamecompleter.h:
4897 * gio/gfileoutputstream.c:
4898 * gio/gfilterinputstream.c:
4900 * gio/ginputstream.c:
4902 * gio/gioscheduler.c:
4903 * gio/gloadableicon.c:
4904 * gio/glocaldirectorymonitor.c:
4906 * gio/glocalfileinputstream.c:
4907 * gio/glocalfilemonitor.c:
4908 * gio/glocalfileoutputstream.c:
4910 * gio/gmemoryinputstream.c:
4911 * gio/gmemoryoutputstream.c:
4912 * gio/gmountoperation.c:
4913 * gio/goutputstream.c:
4914 * gio/gpollfilemonitor.c:
4916 * gio/gsimpleasyncresult.c:
4917 * gio/gsocketinputstream.c:
4918 * gio/gsocketoutputstream.c:
4919 * gio/gthemedicon.c:
4920 * gio/gunionvolumemonitor.c:
4922 * gio/gunixmounts.c:
4923 * gio/gunixvolume.c:
4924 * gio/gunixvolumemonitor.c:
4928 * gio/gvolumemonitor.c:
4929 * gio/gwin32appinfo.c:
4930 Add (mostly stub) doc strings to public functions.
4931 Patch from Andrew Walton (awalton@gmail.com)
4933 2007-11-06 Alexander Larsson <alexl@redhat.com>
4935 * gio/gappinfo.[ch]:
4936 Added GAppLaunchContext object and pass that to launch.
4937 This allows simple implementation of both
4938 launch-on-screen and startup notification via a gtk+
4939 subclass of GAppLaunchContext
4941 * gio/gdesktopappinfo.c:
4942 Implement GAppLaunchContext API
4944 * gio/gwin32appinfo.c:
4947 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4949 * gio/gmountoperation.c:
4950 Add some guards to GMountOperation's public functions.
4952 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4956 * gio/gcancellable.c:
4957 * gio/gdirectorymonitor.c:
4959 * gio/gfileenumerator.c:
4960 * gio/gfilemonitor.c:,
4961 * gio/gfilenamecompleter.c:
4964 * gio/gioscheduler.c:
4968 * gio/gvolumemonitor.c:
4969 Add even more guards to various public functions.
4971 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4974 Add guards to the public functions of GAppInfo.
4976 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4978 * gio/gcontenttype.c:
4979 Add some more guards for public functions.
4981 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4983 * gio/fam/fam-module.c:
4984 * gio/fam/gfamdirectorymonitor.c:
4985 * gio/fam/gfamdirectorymonitor.h:
4986 * gio/fam/gfamfilemonitor.c:
4987 * gio/fam/gfamfilemonitor.h:
4988 * gio/inotify/ginotifydirectorymonitor.c:
4989 * gio/inotify/ginotifydirectorymonitor.h:
4990 * gio/inotify/ginotifyfilemonitor.c:
4991 * gio/inotify/ginotifyfilemonitor.h:
4992 Add proper copyright information and remove an unused variable
4993 in the GInotifyFileMonitor constructor.
4995 * gio/gcancellable.c:
4996 Add a guard for a public function and an assertion to prevent
4997 an undefined program state.
4999 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5001 * gio/gfileattribute.c:
5002 Don't run into an assertion if the given attribute value is NULL
5003 in g_file_attribute_value_get_*() but instead return a fallback
5004 value that makes sense in most situations. Passing them a attribute
5005 value with the wrong type will still run into an assertion.
5007 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5009 * gio/gfileattribute.c:
5011 Add even more guards to the public functions. Also fix the refcounting
5012 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5013 let g_file_info_list_attributes() filter the attributes by namespace
5014 instead of simply ignoring the namespace parameter.
5016 2007-11-03 Sven Herzberg <sven@imendio.com>
5018 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5019 (This makes gio work on MacOS X again)
5021 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5024 Build the gio subdirectory before the docs. Otherwise the build will
5027 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5028 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5029 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5030 Add guards to the public functions.
5032 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5034 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5035 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5036 to prevent a compiler warning.
5038 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5039 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5040 return something in the non-void function find_topdir_for().
5042 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5049 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5051 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5052 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5053 * gwin32appinfo.c (g_win32_app_info_launch):
5054 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5055 envp_for_startup_id, g_desktop_app_info_launch,
5056 g_desktop_app_info_launch_uris):
5058 Give an opaque 'startup_id' string instead of 'envp'.
5059 Support empty file lists for launching new windows.
5060 Fix infinite recursion bug when launching URIs.
5062 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5065 Add guard to the new g_file_get_uri_scheme() function.
5067 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5070 Convert a g_return_val_if_fail() to setting the GError instead as
5071 otherwise applications have to verify the parameter before otherwise
5072 and the parameter might come directly from the user.
5074 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5076 * gio/inotify/ginotify*.[ch]:
5077 Add missing copyright information.
5079 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5082 Add guards in the beginning of public functions to check for valid
5083 parameters and fix a bug in copy_stream_with_progress() that could've
5084 caused writing less bytes than reading.
5085 * gio/glocalfileinfo.c:
5086 Check for a NULL parameter and set the GError accordingly then.
5087 * gio/goutputstream.c:
5088 Fix the same bug as in gfile.c that could've caused writing less bytes
5089 than reading in g_output_stream_real_splice().
5091 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5094 Use the correct gvolumeprivate.h naming
5096 2007-11-01 Christian Kellner <gicmo@gnome.org>
5099 Remove leftover "$(daemon_sources)" entry.
5101 2007-11-01 Christian Kellner <gicmo@gnome.org>
5106 Add copyright information to source files.
5108 2007-11-01 Alexander Larsson <alexl@redhat.com>
5112 Add g_file_get_uri_scheme
5114 2007-11-01 Alexander Larsson <alexl@redhat.com>
5117 * gio/gdesktopappinfo.c:
5118 * gio/gwin32appinfo.c:
5119 Add g_app_info_get_default_for_uri_scheme.
5121 2007-11-01 Alexander Larsson <alexl@redhat.com>
5124 Correct filename for gdriveprivate.h
5126 2007-10-31 Alexander Larsson <alexl@redhat.com>
5129 Rename id:value to id:file
5132 * gio/glocalfileinfo.c:
5135 2007-10-31 Alexander Larsson <alexl@redhat.com>
5137 * gio/gunixvolume.c:
5139 Remove g_volume_get_platform_id, as thats not
5140 needed with the simpler union volume monitor
5142 2007-10-31 Alexander Larsson <alexl@redhat.com>
5145 * gio/guniondrive.[ch]: Removed.
5146 * gio/gunionvolume.[ch]: Removed.
5147 Remove GUnionDrive/Volume
5149 * gio/gunionvolumemonitor.c:
5150 Simplify union volume monitor, now we
5151 only have one native volume monitor and
5152 we use the actual volumes/drives from the
5153 child monitors instead of wrapping them
5155 * gio/gnativevolumemonitor.[ch]:
5156 Base class for native volume monitors.
5157 Includes priority and get_volume_for_mountpoint
5160 Add g_file_find_enclosing_volume
5163 Remove volume name fs attribute
5164 Add readonly fs attribute
5167 Implement readonly attribute
5168 remove volume name attribute
5169 Implement find_enclosing volume
5171 * gio/gunixmounts.c:
5172 Add a volume for "/".
5174 * gio/gunixvolume.[ch]:
5175 Set better name for /
5177 * gio/gunixvolumemonitor.[ch]:
5178 Derive from GNativeVolumeMonitor
5179 Implement get_volume_for_mountpoint
5182 GVolume typedef moved to gfile.h
5184 * gio/gvolumeprivate.h:
5185 Add g_volume_get_for_mount_path
5187 2007-10-31 Alexander Larsson <alexl@redhat.com>
5189 * gio/gunixmounts.[ch]:
5190 Add cache info to unix mount listers
5191 Make getmntent use threadsafe
5192 Add is_system_internal attribute for GUnixMount
5194 * gio/gunixvolume.c:
5195 (g_unix_volume_new):
5196 Use is_system_internal instead of own code
5198 * gio/glocaldirectorymonitor.c:
5199 * gio/gunixvolumemonitor.c:
5200 Update to new gunixmounts API
5205 2007-10-30 Alexander Larsson <alexl@redhat.com>
5208 Add volume name fsinfo attribute
5211 Read volume name info
5213 * gio/gunionvolumemonitor.c:
5214 Fix infinite loops when finalizing a union volume monitor
5216 2007-10-30 Alexander Larsson <alexl@redhat.com>
5218 * gio/goutputstream.[ch]:
5219 Add splice() with default implementation
5221 * gio/gsocketoutputstream.c:
5222 (g_socket_output_stream_write):
5223 Return error on cancellation correctly.
5225 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5227 * gio/glocalfile.c (g_local_file_trash):
5228 Do not leak a string.
5230 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5232 * gio/gfile.c (g_file_load_contents):
5233 Unref the stream after closing it.
5235 2007-10-25 Alexander Larsson <alexl@redhat.com>
5237 * gio/gioscheduler.h:
5240 2007-10-25 Alexander Larsson <alexl@redhat.com>
5244 Add g_file_has_uri_scheme and implement for local files
5246 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5248 * gio/gdesktopappinfo.c: do not leak a string.
5250 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5252 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5253 (g_local_directory_monitor_new):
5254 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5255 (g_local_file_monitor_new):
5256 Only look for the monitor type that should be used the first time
5257 and use g_qsort_with_data() instead of our own bubble sort
5260 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5263 * gio/fam/Makefile.am:
5264 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5265 * gio/fam/fam-helper.h:
5266 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5267 * gio/fam/gfamdirectorymonitor.c:
5268 * gio/fam/gfamdirectorymonitor.h:
5269 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5270 * gio/fam/gfamfilemonitor.h:
5271 * gio/glocaldirectorymonitor.c:
5272 * gio/glocaldirectorymonitor.h:
5273 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5274 * gio/glocalfilemonitor.h:
5275 * gio/inotify/Makefile.am:
5276 * gio/inotify/ginotifydirectorymonitor.c:
5277 * gio/inotify/ginotifydirectorymonitor.h:
5278 * gio/inotify/ginotifyfilemonitor.c:
5279 * gio/inotify/ginotifyfilemonitor.h:
5280 Implement the FAM and Inotify monitors as
5281 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5282 their own GIO module. GLocal(Directory|File)Monitor will use the
5283 monitor with the highest rank that is supported on that machine.
5285 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5288 Change GIO module dir to $(libdir)/gio/modules and change
5289 the log domain from GVFS to GIO. Also only export symbols starting
5290 with g_ in the resulting library.
5291 * gio/test-streams.c: (main):
5292 Set log handler for the GIO log domain.
5294 2007-10-22 Alexander Larsson <alexl@redhat.com>
5296 * gio/gfilenamecompleter.[ch]:
5297 Add g_filename_completer_set_dirs_only
5299 2007-10-22 Alexander Larsson <alexl@redhat.com>
5302 * gio/gurifuncs.[ch]:
5303 Add some simple URI helpers
5305 * gio/gfilenamecompleter.[ch]:
5306 Added object for filename (parse name actually) completion
5309 Handle ~ in parse names
5311 2007-10-17 Alexander Larsson <alexl@redhat.com>
5314 * gio/glocalfileinfo.c:
5315 Add and implement id:value attribute
5317 2007-10-17 Alexander Larsson <alexl@redhat.com>
5320 * gio/guniondrive.c:
5322 Add and implement g_drive_has_volumes
5324 2007-10-17 Alexander Larsson <alexl@redhat.com>
5327 * gio/glocalfileinfo.[ch]:
5328 Add unix:is_mountpoint and implement for local files
5330 2007-10-16 Alexander Larsson <alexl@redhat.com>
5332 * gio/gunionvolumemonitor.c:
5333 (g_union_volume_monitor_init):
5334 Fix up the unix type getting so that it works with gcc
5336 2007-10-12 Alexander Larsson <alexl@redhat.com>
5339 * gio/glocalfileinfo.c:
5340 Add thumbnail:failed to file info
5342 2007-10-12 Richard Hult <richard@imendio.com>
5344 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5345 optimizing away the get_type call (happens with some gcc versions,
5346 like the one shipped with OS X 10.4).
5348 2007-10-12 Alexander Larsson <alexl@redhat.com>
5350 * gio/glocalfileinfo.c:
5351 (_g_local_file_info_set_attribute):
5352 Fix build if not HAVE_XATTR
5353 Patch from Milosz Derezynski <internalerror@gmail.com>
5355 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5357 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5358 around for review, otherwise I would have asked you before
5361 2007-10-11 Alexander Larsson <alexl@redhat.com>
5364 Add thumbnail:path attribute
5366 * gio/glocalfileinfo.c:
5367 Implement thumbnail:path for local files
5369 2007-10-11 Alexander Larsson <alexl@redhat.com>
5371 * gio/glocalfileinfo.c:
5372 (_g_local_file_info_get):
5373 Avoid duplicate icon names
5375 2007-10-11 Alexander Larsson <alexl@redhat.com>
5377 * gio/gthemedicon.[ch]:
5378 Change g_themed_icon_get_names return type to const
5380 2007-10-10 Alexander Larsson <alexl@redhat.com>
5382 * gio/glocalfileinfo.c:
5383 Don't reference freed memory
5385 2007-10-10 Alexander Larsson <alexl@redhat.com>
5387 * gio/gfileattribute.c:
5390 * gio/glocalfileinfo.c:
5393 2007-10-10 Alexander Larsson <alexl@redhat.com>
5396 Check for NULL icons
5398 * gio/gfileattribute.c:
5399 Don't dup when getting objects (same as for string attributes)
5401 * gio/gicon.c (g_icon_equal):
5402 Safely handle NULLs in equal
5404 2007-10-10 Alexander Larsson <alexl@redhat.com>
5407 Fix c++ compilation issues
5408 Patch from Milosz Derezynski <internalerror@gmail.com>
5410 2007-10-10 Alexander Larsson <alexl@redhat.com>
5412 * programs/gio-monitor-dir.c:
5413 Don't crash if dir monitor not supported.
5415 2007-10-09 Alexander Larsson <alexl@redhat.com>
5418 Add missing G_END_DECLS
5420 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5422 * gio/gfile.c: (g_file_set_display_name),
5423 (g_file_query_settable_attributes),
5424 (g_file_query_writable_namespaces):
5425 Return NULL not FALSE on errors as the return type is a pointer.
5427 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5429 * gio/glocalfile.c: (g_local_file_monitor_file):
5430 Don't call monitor_file on the default interface vtable (which
5431 is NULL) but simply return NULL. The caller, GFile, will create a
5432 polling monitor if NULL is returned.
5434 2007-10-09 Alexander Larsson <alexl@redhat.com>
5438 * gio-unix-2.0.pc.in:
5439 Add gio-unix-2.0.pc if OS_UNIX
5442 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5444 2007-10-09 Alexander Larsson <alexl@redhat.com>
5446 * gio/gunixmounts.[ch]:
5447 Make unix mount monitoring API sane.
5448 Now its just a object with mounts_changed
5449 and mountpoints_changed signals.
5451 * gio/glocaldirectorymonitor.c:
5452 * gio/gunixvolumemonitor.c:
5453 Use new mount monitor api
5455 2007-10-09 Alexander Larsson <alexl@redhat.com>
5457 * gio/gunixmounts.[ch]:
5458 Move guess type into one call for mounts and one for mountpoints
5461 * gio/gunixvolume.c:
5464 2007-10-09 Alexander Larsson <alexl@redhat.com>
5466 * gio/gunixmounts.[ch]:
5467 Remove _ prefix in preparation to make this semi-public
5468 Hide implementation of structs
5470 * gio/glocaldirectorymonitor.c:
5472 * gio/gunixvolume.c:
5473 * gio/gunixvolumemonitor.c:
5474 Update for above API changes
5476 2007-10-08 Alexander Larsson <alexl@redhat.com>
5479 Better polling fallback. This also handles the case where we have
5480 a monitor_file implementation, but it fails.
5482 2007-10-08 Alexander Larsson <alexl@redhat.com>
5486 * gio/gunixmounts.c:
5487 * programs/gio-monitor-dir.c:
5488 * programs/gio-monitor-file.c:
5489 Added cancellable to file monitoring calls.
5490 These are really sync calls and need this.
5492 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5494 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5495 (g_local_vfs_class_init):
5496 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5497 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5499 2007-10-05 Alexander Larsson <alexl@redhat.com>
5501 * gio/gdirectorymonitorprivate.h:
5502 * gio/gfilemonitorprivate.h:
5503 * gio/gdirectorymonitor.h:
5504 * gio/gfilemonitor.h:
5505 Remove *private.h and move to the public API, so that
5506 we can do implementations outside gio (such as in gvfs)
5508 * gio/gdirectorymonitor.c:
5509 * gio/gfilemonitor.c:
5510 * gio/glocaldirectorymonitor.c:
5511 * gio/gpollfilemonitor.c:
5512 * gio/inotify/inotify-helper.c:
5513 * gio/fam/fam-helper.c:
5514 Update to the new header names
5516 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5518 * gio/gdirectorymonitor.c:
5519 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5522 2007-10-04 Alexander Larsson <alexl@redhat.com>
5524 * gio/glocalfileinfo.c (get_access_rights):
5525 Set CAN_TRASH when we can move the file.
5526 We should really also check for a parent trash dir.
5528 2007-10-04 Alexander Larsson <alexl@redhat.com>
5530 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5531 Add can_trash access attribute
5533 2007-10-04 Alexander Larsson <alexl@redhat.com>
5536 (g_local_file_trash):
5537 Create info file first. This is per-spec and allows
5538 us to actually trash directories.
5540 2007-10-02 Alexander Larsson <alexl@redhat.com>
5542 * gio/gdesktopappinfo.c:
5543 Implement the new mime support code.
5544 Always set app as handling mimetype when being set as default for it
5546 2007-10-01 Alexander Larsson <alexl@redhat.com>
5548 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5549 Fix up check for xattrs:
5551 2007-10-01 Alexander Larsson <alexl@redhat.com>
5554 (g_app_info_set_as_default_for_extension):
5555 (g_app_info_add_supports_type):
5556 (g_app_info_can_remove_supports_type):
5557 (g_app_info_remove_supports_type):
5558 Make these fail nicely if not implemented
5560 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5562 * gio/glocalfileoutputstream.c:
5563 * gio/glocalfileoutputstream.h:
5568 * programs/gio-save.c:
5569 Add a GFileCreateFlags argument to operations that can create
5572 2007-10-01 Alexander Larsson <alexl@redhat.com>
5574 * gio/gappinfo.[ch]:
5575 * gio/gdesktopappinfo.c:
5576 Add more (stubbed out) mime API needed for nautilus
5578 2007-10-01 Alexander Larsson <alexl@redhat.com>
5581 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5582 Add g_app_info_set_as_default_for_extension.
5584 * gio/gdesktopappinfo.c:
5585 Dummy for g_app_info_set_as_default_for_extension
5586 Support flags in g_app_info_create_from_commandline
5588 * gio/gwin32appinfo.c:
5590 Update for API changes
5592 * gio/gthemedicon.c:
5593 Properly NULL-terminate list of icon names
5595 2007-09-28 Alexander Larsson <alexl@redhat.com>
5597 * gio/gloadableicon.h:
5598 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5600 2007-09-28 Alexander Larsson <alexl@redhat.com>
5603 Install headers in $includedir/gio-standalone/
5605 * gio-2.0.pc.in: Added.
5606 * gio-standalone.pc.in: Removed.
5609 Renamed pkg-config file to match glib (for future move)
5610 Update to the new include dir
5613 Add more TODO comments
5615 2007-09-28 Alexander Larsson <alexl@redhat.com>
5617 * gio/gdesktopappinfo.[ch]:
5618 Expose new_from_filename
5619 Add getter for is_hidden and handle it better
5621 2007-09-28 Alexander Larsson <alexl@redhat.com>
5623 * gio/gfileinfo.[ch]:
5624 Rename g_file_size_format_for_display to
5625 g_format_file_size_for_display.
5626 Now it doesn't have the g_file prefix, so we
5627 can later move it to glib.
5629 2007-09-28 Alexander Larsson <alexl@redhat.com>
5631 * gio/gappinfo.[ch]:
5632 Add g_app_info_get_id and g_app_info_get_executable.
5633 Make all getters non-reffing
5634 Make g_app_info_launch take GFile arguments.
5635 Add must_support_uris argument to g_app_info_get_default_for_type.
5637 * gio/gwin32appinfo.c:
5638 Update to GAppInfo api changes
5640 * gio/gdesktopappinfo.c:
5641 Update to GAppInfo api changes
5642 Implement supports_xdg_startup_notify
5644 * gio/gfileicon.c (g_file_icon_get_file):
5645 Make getter non-reffing.
5650 2007-09-27 Alexander Larsson <alexl@redhat.com>
5652 * gio/gfileinfo.[ch]:
5653 Add g_file_size_format_for_display helper
5655 2007-09-27 Alexander Larsson <alexl@redhat.com>
5657 * gio/glocalfileinfo.c:
5658 Set UNIX_GID from gid, not from uid
5660 2007-09-27 Alexander Larsson <alexl@redhat.com>
5663 Add g_file_set_attributes_async
5665 2007-09-27 Alexander Larsson <alexl@redhat.com>
5667 * gio/glocalfile.c (g_local_file_set_display_name):
5668 Fix set_display_name to actually rename to the right place.
5669 Use lstat to look for existing files so we don't overwrite
5672 2007-09-26 Alexander Larsson <alexl@redhat.com>
5675 Add g_file_set_display_name_async()
5677 2007-09-26 Alexander Larsson <alexl@redhat.com>
5680 Add load_partial_contents async calls
5683 Make internal function static
5685 2007-09-26 Alexander Larsson <alexl@redhat.com>
5687 * gio/glocalfileinfo.c:
5688 Correctly detect broken symlinks
5690 2007-09-26 Alexander Larsson <alexl@redhat.com>
5692 * gio/gcancellable.c (g_cancellable_cancel):
5693 Allow cancel on NULL cancellable
5695 2007-09-25 Alexander Larsson <alexl@redhat.com>
5697 * gio/gsimpleasyncresult.c:
5698 Don't allocate g_error manually.
5699 Fixes g_slice/g_new mixup crash
5701 2007-09-25 Alexander Larsson <alexl@redhat.com>
5703 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5704 Actually set active_backend.
5705 This means the monitor will be cancelled correctly.
5707 2007-09-25 Alexander Larsson <alexl@redhat.com>
5709 * gio/gdirectorymonitor.c:
5710 Set timeout to NULL when destroying
5712 2007-09-25 Alexander Larsson <alexl@redhat.com>
5715 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5716 that is a better description of the error.
5718 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5720 * gio/gvfs.c: (g_vfs_get_local):
5721 Make the local vfs variable static. The same instance should
5724 2007-09-24 Alexander Larsson <alexl@redhat.com>
5726 * gio/glocalfileinfo.c:
5727 Pass in actual length read into sniffer, not the length
5730 2007-09-21 Alexander Larsson <alexl@redhat.com>
5732 * gio/gfileenumerator.c:
5735 * gio/gfileinputstream.c:
5736 * gio/gfileoutputstream.c:
5737 * gio/ginputstream.c:
5738 * gio/goutputstream.c:
5739 Don't crash if async callbacks are NULL
5741 2007-09-20 Alexander Larsson <alexl@redhat.com>
5744 Add async enumerate_children method and default
5747 2007-09-20 Alexander Larsson <alexl@redhat.com>
5750 Add g_file_contains_file & g_file_get_relative_path, since they
5751 were needed for nautilus.
5752 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5757 Implement new methods
5759 2007-09-17 Alexander Larsson <alexl@redhat.com>
5762 * gio/gfileinputstream.[ch]:
5763 * gio/gfileoutputstream.[ch]:
5765 * gio/glocalfileenumerator.[ch]:
5766 * gio/glocalfileinfo.[ch]:
5767 * gio/glocalfileinputstream.c:
5768 * gio/glocalfileoutputstream.c:
5769 * gio/gpollfilemonitor.c:
5770 * programs/gio-copy.c:
5771 * programs/gio-info.c:
5772 * programs/gio-move.c:
5773 Rename get_file_info to query_info() to make it clearer
5774 that these are not simple getters, but do i/o.
5776 2007-09-17 Alexander Larsson <alexl@redhat.com>
5778 * gio/gdatainputstream.[ch]:
5779 * gio/test-streams.c:
5780 Use _read_XXX instead of _get_XXX for the i/o calls
5783 2007-09-17 Alexander Larsson <alexl@redhat.com>
5786 Added needed stuff to TODO comment
5788 2007-09-17 Alexander Larsson <alexl@redhat.com>
5790 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5791 Don't error out removing the backup copy if it doesn't
5794 2007-09-14 Alexander Larsson <alexl@redhat.com>
5796 * programs/Makefile.am:
5797 * programs/gvfs-*.c:
5799 Renamed apps from gvfs-xxx to gio-xxx.
5801 2007-09-14 Alexander Larsson <alexl@redhat.com>
5804 * gio/gfileoutputstream.[ch]:
5805 * gio/glocalfileoutputstream.c:
5806 * programs/gvfs-save.c:
5807 g_file_output_stream_get_etag doesn't do i/o, so remove
5808 cancellation and error.
5810 2007-09-14 Alexander Larsson <alexl@redhat.com>
5813 Add new_etag output to replace_contents functions
5815 2007-09-14 Alexander Larsson <alexl@redhat.com>
5817 * gio/gfileoutputstream.[ch]:
5818 Add async get_file_info and default implementation
5820 2007-09-14 Alexander Larsson <alexl@redhat.com>
5822 * gio/gfileinputstream.c:
5823 Implement fallback wrapper for async get_file_info
5825 2007-09-14 Alexander Larsson <alexl@redhat.com>
5828 Add etag out argument to load_contents
5833 2007-09-14 Alexander Larsson <alexl@redhat.com>
5835 * gio/gcontenttype.c (looks_like_text):
5836 Whitespace like tab, cr and lf do not make the
5839 2007-09-14 Alexander Larsson <alexl@redhat.com>
5841 * gio/gfileinputstream.[ch]:
5842 Add async get_file_info.
5844 2007-09-13 Alexander Larsson <alexl@redhat.com>
5846 * gio/goutputstream.c (g_output_stream_write_all):
5847 Allow NULL for bytes_written
5849 2007-09-13 Alexander Larsson <alexl@redhat.com>
5851 * gio/gmemoryinputstream.[ch]:
5852 Add accessors for data
5854 2007-09-13 Alexander Larsson <alexl@redhat.com>
5856 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5857 Don't crash if length is NULL