1 2009-01-22 Ryan Lortie <desrt@desrt.ca>
3 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
5 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
6 after we have successfully read data from the base stream
8 2009-01-20 Ryan Lortie <desrt@desrt.ca>
10 Bug 568394 – dropping the last reference to a stream filter closes the
13 * gfilterinputstream.h:
14 * gfilterinputstream.c: add "close-base-stream" property and only
15 close the base stream if it is true. issue async close callbacks from
16 correct source object.
17 * gfilteroutputstream.h:
18 * gfilteroutputstream.c: add a "close-base-stream" property and only
19 close the base stream if it is true. issue async close callbacks from
20 correct source object.
21 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
22 before closing the base stream. fix invalid source tag comparison in
23 close_async (was comparing to flush_async).
24 * ../docs/reference/gio/gio-sections.txt:
26 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
27 * tests/filter-streams.c: new test cases
28 * tests/Makefile.am: add new test
29 * tests/.gitignore: add new test
31 2009-01-19 Matthias Clasen <mclasen@redhat.com>
33 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
35 2009-01-19 Matthias Clasen <mclasen@redhat.com>
37 * === Released 2.19.5 ===
39 2009-01-19 Matthias Clasen <mclasen@redhat.com>
41 * gappinfo.h: Document get_commandline vfunc
43 2009-01-19 Matthias Clasen <mclasen@redhat.com>
45 * gunixmounts.c: Some stylistic fixes.
47 2009-01-08 Matthias Clasen <mclasen@redhat.com>
49 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
50 functions in non-UTF8 locale
52 * xdgmime/xdgmimecache.c:
53 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
55 2009-01-08 Matthias Clasen <mclasen@redhat.com>
57 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
59 2009-01-07 Matthias Clasen <mclasen@redhat.com>
61 Bug 566770 – error code 0 for Too many open files is useless
63 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
64 Requested by Olivier Sessink.
66 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
68 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
69 G_IO_ERROR_TOO_MANY_OPEN_FILES.
71 2009-01-05 Matthias Clasen <mclasen@redhat.com>
73 * === Released 2.19.4 ===
75 2009-01-05 Dan Winship <danw@gnome.org>
77 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
78 "const char **" to avoid a warning.
80 * gemblem.c (g_emblem_from_tokens):
81 * gemblemedicon.c (g_emblemed_icon_from_tokens):
82 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
85 2009-01-05 Matthias Clasen <mclasen@redhat.com>
87 Bug 566064 – Add NOATIME flag to query_info_flags
89 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
90 sniffing for mime types. Based on a patch by A. Walton
92 2009-01-05 Ryan Lortie <desrt@desrt.ca>
94 * tests/.gitignore: improve
95 * tests/Makefile.am: add new simple-async-result test
96 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
98 2009-01-05 Ryan Lortie <desrt@desrt.ca>
101 * ../docs/reference/gio/gio-sections.txt:
102 * gsimpleasyncresult.h:
103 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
104 Implementation by Dan Winship. Closes #566170.
106 2008-12-31 Matthias Clasen <mclasen@redhat.com>
110 * gunixinputstream.c:
111 * gunixoutputstream.c: Add a note about being UNIX-specific.
113 2008-12-15 Matthias Clasen <mclasen@redhat.com>
115 * === Released 2.19.3 ===
117 2008-12-12 Dan Winship <danw@gnome.org>
119 * pltcheck.sh: make this work on x86_64
121 2008-12-12 Ryan Lortie <desrt@desrt.ca>
123 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
126 2008-12-12 Ryan Lortie <desrt@desrt.ca>
128 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
129 multiple mount entries match the requested path
131 2008-12-10 Alexander Larsson <alexl@redhat.com>
133 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
134 g_simple_async_result_run_in_thread
136 * gsimpleasyncresult.c:
137 Make g_simple_async_result_run_in_thread check cancellation before
138 calling out to the user in the callback. This means we guarantee
139 reporting cancels of async operations from the main threads, which
140 is probably more in line with what users expect.
142 Note that there are still no such guarantees for cancelling sync
143 operations or cancelling async operation from outside the main
144 thread. Furthermore, the exact behaviour of async implementations
145 not using run_in_thread may differ.
147 2008-12-09 Alexander Larsson <alexl@redhat.com>
149 Bug 515777 - incorrect date&time on copy
152 (g_local_file_class_init):
153 Copy mtime by default
156 Change docs about G_FILE_COPY_ALL_METADATA to not mention
159 2008-12-08 Matthias Clasen <mclasen@redhat.com>
161 Bug 558298 – Hide ecryptfs mounts
163 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
164 so that the desktop does not show both the mount and the target
165 directory. Patch by Martin Pitt
167 2008-12-08 Matthias Clasen <mclasen@redhat.com>
169 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
173 * gunixinputstream.[hc]:
174 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
175 including getters and setters. Patch by Maciej Piechotka
177 2008-12-07 Matthias Clasen <mclasen@redhat.com>
179 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
181 * tests/live-g-file.c: Support compilers that don't understand
182 ISO C varargs macros. Patch by Eric Lamarque
184 2008-12-07 Matthias Clasen <mclasen@redhat.com>
186 Bug 526320 – should not list mounts that the user doesn't have
189 gunixmounts.c: Use g_access() to check accessibility of local devices.
192 2008-12-01 Matthias Clasen <mclasen@redhat.com>
194 * === Released 2.19.2 ===
196 2008-12-01 Matthias Clasen <mclasen@redhat.com>
198 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
199 behaviour change, and update the docs instead, to avoid breaking
202 2008-12-01 Matthias Clasen <mclasen@redhat.com>
204 * === Released 2.19.1 ===
206 2008-12-01 Alexander Larsson <alexl@redhat.com>
210 * gunionvolumemonitor.c:
212 Add and document g_mount_is_shadowed plus calls
213 to set/unset a mount as shadowed
215 2008-11-28 Matthias Clasen <mclasen@redhat.com>
217 * gio/tests/g-icon.c: Comment out two failing tests
219 2008-11-28 Matthias Clasen <mclasen@redhat.com>
221 Bug 555486 – No way to recover command line from GAppInfo
224 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
225 by Hans Petter Jansson.
227 * gdesktopappinfo.c: And implement it here.
229 2008-11-28 Christian Dywan <christian@imendio.com>
231 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
233 2008-11-28 Matthias Clasen <mclasen@redhat.com>
235 Bug 559633 – gtk_image_new_from_gicon does not always work for
238 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
239 extensions on icon names. Proposed by Axel von Bertoldi.
241 2008-11-28 Matthias Clasen <mclasen@redhat.com>
243 Bug 548163 – Nautilus displays wrong error message for too long file
246 * glocalfile.c (g_local_file_set_display_name): Correctly set
247 error conditions if the new name is e.g. too long. Reported
248 by Leonardo Ferreira Fontenelle.
250 2008-11-28 Matthias Clasen <mclasen@redhat.com>
252 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
255 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
256 documented and include the line end in the returned string.
257 Pointed out by Paul Pogonyshev.
259 * tests/data-input-stream.c: Fix the read_line test to test the
260 documented behaviour.
262 2008-11-28 Matthias Clasen <mclasen@redhat.com>
264 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
265 files that have been created by g_app_info_create_from_commandline.
267 2008-11-28 Matthias Clasen <mclasen@redhat.com>
269 Bug 541715 – win32 : patch for warnings and signature problems in
272 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
275 2008-11-28 Matthias Clasen <mclasen@redhat.com>
277 Bug 562393 – g_buffered_input_stream_read_byte broken if data
280 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
281 handling of buffered content. Patch by Philip Withnall
283 * tests/buffered-input-stream.c: Add a testcase for this bug.
284 * tests/Makefile.am: And build it
286 2008-11-28 Matthias Clasen <mclasen@redhat.com>
288 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
291 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
292 '/' away. Spotted by Dan Williams.
294 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
296 Bug 561375 – Leaks mountpoint description
298 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
301 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
303 Bug 561352 – Leak of icon description
305 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
308 2008-11-14 Matthias Clasen <mclasen@redhat.com>
310 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
312 2008-11-12 Tor Lillqvist <tml@novell.com>
314 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
316 * win32/gwinhttpvfs.h: Move the set of function pointers to
317 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
318 pointer to that in the GWinHttpVfsClass.
320 * win32/gwinhttpvfs.c: Move the lookup of functions from
321 winhttp.dll into a function of its own, that stores the pointers
322 in a separate GWinHttpDllFuncs variable. Add two bookeeping
323 booleans lookup_done and funcs_found.
325 Don't call g_io_extension_point_implement() to register the
326 winhttp extension unless winhttp.dll has been successfully loaded
327 and the required functions found in it.
329 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
330 winhttp.dll correspondingly.
332 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
334 reviewed by: Alexander Larsson <alexl@redhat.com>
336 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
337 clearer about the behavior when there's no more content to read.
339 2008-10-27 Federico Mena Quintero <federico@novell.com>
341 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
343 2008-10-27 Tor Lillqvist <tml@novell.com>
345 Bug 557592 - Missing include in gwinhttpfile.c
347 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
350 2008-10-24 Matthias Clasen <mclasen@redhat.com>
352 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
354 * fam/fam-helper.c: Fix a memory leak and formatting issues.
355 Reported by Daniel Marjamäki
357 2008-10-23 Matthias Clasen <mclasen@redhat.com>
359 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
361 2008-10-23 Alexander Larsson <alexl@redhat.com>
363 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
366 (_g_local_file_info_get):
367 Don't return the fallback icon (text-x-generic) for all files.
368 This is causing problems with theme icon lookup and custom mime
369 icons, as the generic fallback overrides custom mime icons in
372 This is a slight change as applications might not get an icon wher
373 they previously did. But there is no guarantee to get on neither before
374 or after this change, so it should not break applications. Changes
375 to nautilus and gtk+ will be done to manually use the generic fallback
376 icon if no icon is found, but this is only required for rare cases.
378 2008-10-21 Alexander Larsson <alexl@redhat.com>
381 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
383 2008-10-21 Alexander Larsson <alexl@redhat.com>
385 Bug 555740 - gicon serialization
386 Based on patch from David Zeuthen
390 Add g_icon_to_string() and g_icon_new_for_string().
396 Implement icon serialization for built-in icon types
400 Added GIcon serialization test
402 2008-10-16 Matthias Clasen <mclasen@redhat.com>
404 * === Released 2.19.0 ===
406 2008-10-16 Matthias Clasen <mclasen@redhat.com>
408 Bug 556422 – g_file_enumerator_next_file: unclear whether return
409 value needs to be freed
411 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
412 the return value docs. Pointed out by Armin Burgmeier
414 2008-10-14 Matthias Clasen <mclasen@redhat.com>
416 Bug 556334 – Warning when building without selinux support
418 * glocalfileinfo.c: Avoid compiler warnings when selinux is
419 disabled. Patch by Pascal Terjan
421 2008-10-14 Matthias Clasen <mclasen@redhat.com>
423 Bug 556335 – make check fails in abicheck.sh
425 * gio.symbols: Add g_file_attribute_info_list_get_type.
426 Pointed out by Pascal Terjan.
428 2008-10-13 Alexander Larsson <alexl@redhat.com>
431 When adding an application as handling a mime type (but
432 not as the default), copy the full list of desktop ids handling
433 that type in before adding the new one on the end of the list.
434 This means we're not accidentally changing the default by overriding
435 the info from the later directories in the search path.
437 Also, fixes small leak of removed_entries.
439 2008-10-12 David Zeuthen <davidz@redhat.com>
442 * gunionvolumemonitor.c:
444 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
446 2008-10-10 Alexander Larsson <alexl@redhat.com>
448 * gfileattribute.c (escape_byte_string):
449 Upper half of byte is >> 4, not >> 8.
450 Found by Kjartan Maraas via sparse
452 2008-10-10 Matthias Clasen <mclasen@redhat.com>
454 Bug 555711 – Wrong fallback order of mimetype icons
456 * gcontenttype.c: Don't prefer generic icons over
457 default mimetype icons.
459 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
460 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
462 Patch by Krysztof Kosiński
464 2008-10-10 Matthias Clasen <mclasen@redhat.com>
466 Bug 555121 – Improved build-time handling of gio module-dir
468 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
469 * Makefile.am: Create the module dir.
471 2008-10-10 Matthias Clasen <mclasen@redhat.com>
473 * gio/glocalfileinfo.c:
474 * gio/tests/live-g-file.c:
475 * gio/gsimpleasyncresult.c: Fix gcc warnings.
477 2008-10-09 Alexander Larsson <alexl@redhat.com>
479 * gunixinputstream.c (g_unix_input_stream_read):
480 Actually return -1 in case of cancelled, not old res value.
482 2008-10-06 Colin Walters <walters@verbum.org>
484 Bug 554745 - GFileAttributeInfoList should be boxed
486 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
487 for convenience of bindings.
488 * gio/gfileattribute.h: Prototype it.
490 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
492 Bug 554970 – segfault when update-desktop-database is not available
495 * gdesktopappinfo.c (run_update_command): Have the error set before
498 2008-10-01 David Zeuthen <davidz@redhat.com>
500 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
501 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
502 instead of the gio URI (such as sftp://foo/file.avi) when using
503 g_app_info_launch() and friends. With a sufficiently recent gvfs,
504 apps using gio+gvfs will map the FUSE file:// URI back to the gio
505 URI (and thus bypass the fuse daemon) thanks the patch from bug
506 #530654. Since Nautilus is an user of g_app_info_launch() it
507 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
508 when launced via the file manager. Win. Fixes bug #528670.
510 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
511 mapping to the description of GAppInfo.
513 2008-09-30 Tor Lillqvist <tml@novell.com>
515 * tests/Makefile.am: Build desktop-app-info only on Unix.
517 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
518 g_critical(). Pass a large enough result buffer to
519 GetVolumePathNameW(). Just use MAX_PATH.
521 2008-09-29 David Zeuthen <davidz@redhat.com>
523 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
525 2008-09-26 Dan Winship <danw@gnome.org>
527 * tests/data-input-stream.c:
528 * tests/data-output-stream.c:
529 * tests/live-g-file.c:
530 * tests/memory-input-stream.c:
531 * tests/memory-output-stream.c: Use g_assert_error() and
534 2008-09-26 Matthias Clasen <mclasen@redhat.com>
536 Bug 545350 – GAppInfo deletion
537 Bug 545351 – Reset associations for content type
540 * gappinfo.[hc]: New functions g_app_info_can_delete,
541 g_app_info_delete and g_app_info_reset_type_associations.
544 * gwin32appinfo.c: Implementations of these.
547 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
549 2008-09-26 Dan Winship <danw@gnome.org>
551 Bug 505361 – gunixinputstream.c assumes poll() available
552 Bug 509446 – portable blocking gio cancellation
554 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
555 GPollFD for a cancellable (which is slightly more complicated on
558 * gunixinputstream.c (g_unix_input_stream_read):
559 * gunixoutputstream.c (g_unix_output_stream_write): Use
560 g_cancellable_make_pollfd() and g_poll() rather than using poll()
563 * tests/unix-streams.c: test of GUnixInputStream,
564 GUnixOutputStream, and GCancellable.
566 2008-09-26 Dan Winship <danw@gnome.org>
568 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
569 cast to stop a gcc warning
571 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
574 2008-09-25 Dan Winship <danw@gnome.org>
576 Bug 553426 - cancellable clarifications
578 * gcancellable.c (g_cancellable_class_init): Add a note to the
579 "cancelled" signal docs warning about thread-safety issues
580 (g_cancellable_cancel): Note that cancelling an asynchronous
581 operation takes effect asynchronously, not immediately.
583 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
585 * gioenums.h: Add new GFileCopyFlag, to leave target file with
586 default perms, instead of setting the source file perms, in a copy
589 * gfile.c (g_file_copy_attributes)
590 (build_attribute_list_for_copy)
591 (should_copy): Not copy "unix::mode" attribute if we have received
592 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
594 2008-09-20 Matthias Clasen <mclasen@redhat.com>
596 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
598 2008-09-17 Matthias Clasen <mclasen@redhat.com>
600 * === Released 2.18.1 ===
602 2008-09-16 Michael Natterer <mitch@imendio.com>
604 * gcontenttype.c (g_content_type_guess): can't assign the return
605 value of g_strdupv() to an array. Fill the array manually with
606 const strings instead (it is never freed anyway). Fixes the
607 build. Also fixed indentation.
609 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
611 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
612 Fix trivial typo to unbreak the build (there was a colon
613 instead of a semicolon at the end of a statement).
615 2008-09-15 Matthias Clasen <mclasen@redhat.com>
617 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
620 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
623 2008-09-15 Matthias Clasen <mclasen@redhat.com>
625 Bug 551681 – g_content_type_guess() too naive with filenames
627 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
628 at the end of the filename, and declare it a directory.
629 Patch by Bastien Nocera
631 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
633 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
636 * gdesktopappinfo.c: add a note in the docs clarifying what the
637 "filename" parameter really is.
639 2008-09-12 Tor Lillqvist <tml@novell.com>
641 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
642 FormatMessage() etc here. Call g_win32_error_message() instead
643 which already does all that. Besides, the code was broken as it
644 called the default "A" version of FormatMessage() but still
645 thought it produced a wide string.
647 2008-09-12 Michael Natterer <mitch@imendio.com>
649 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
650 in the documentation.
652 2008-09-08 Christian Neumair <cneumair@gnome.org>
654 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
655 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
656 Use non-blocking pipe for mount helper I/O. Fixes #550647.
658 2008-09-06 Matthias Clasen <mclasen@redhat.com>
660 Bug 551149 – xdgmime mem leak
662 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
663 a memory leak. Patch by Christian Persch
665 2008-09-04 Tor Lillqvist <tml@novell.com>
667 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
670 2008-09-02 Matthias Clasen <mclasen@redhat.com>
672 * === Released 2.18.0 ===
674 2008-09-02 Michael Natterer <mitch@imendio.com>
676 * *.h: big header formatting cleanup: indentation, vtable
677 formatting, consistent spacing in (* vfunc), trailing whitespace
678 removal. Formatting should be pretty consistent in all GIO headers
681 2008-09-02 Matthias Clasen <mclasen@redhat.com>
683 * gmount.h: Document guess_content_type sync vfunc.
685 2008-09-02 Michael Natterer <mitch@imendio.com>
687 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
688 fix parent_class member to be GFilterOutputStreamClass (not
689 GOutputStreamClass). Drop three pointers of padding, which is
690 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
691 so the class struct size stays the same.
693 2008-09-02 Matthias Clasen <mclasen@redhat.com>
695 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
697 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
698 nonexisting return values. Pointed out by Cosimo Cecchi.
700 2008-08-23 Tor Lillqvist <tml@novell.com>
702 Bug 548988 - g_file_replace fails on Windows when the target file
705 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
706 Windows, close the file before potentially renaming it (in case we
707 have been writing to a file with a temporary name).
709 (g_local_file_output_stream_close, handle_overwrite_open): Use
710 GLocalFileStat instead of plain struct stat, for passing to
711 _g_local_file_info_create_etag(). Thus also use _fstati64()
712 instead of plain fstat() on Windows.
714 2008-08-18 Matthias Clasen <mclasen@redhat.com>
716 * === Released 2.17.7 ===
718 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
720 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
723 2008-08-13 Tor Lillqvist <tml@novell.com>
725 * win32/gwinhttpvfs.c
726 * win32/gwinhttpvfs.h
727 * win32/gwinhttpfile.c
728 * win32/gwinhttpfileinputstream.c
729 * win32/gwinhttpfileoutputstream.c: Refactor some common code
730 snippets into helper functions. Check HTTP response status
731 codes. Implement g_winhttp_file_query_info(), looking at
732 Content-Length, Content-Type and Last-Modified.
734 * win32/winhttp.h: Add some symbolic constants that are not
735 publicly documented. Just a handful, so it should be OK to use
736 information from the Windows SDK's headers.
738 2008-08-13 Tor Lillqvist <tml@novell.com>
740 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
743 * win32/gwin32directorymonitor.c
744 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
746 2008-08-13 Matthias Clasen <mclasen@redhat.com>
749 * goutputstream.c: Add intro docs.
751 2008-08-13 Tor Lillqvist <tml@novell.com>
753 * win32/gwinhttpfileoutputstream.c
754 (g_winhttp_file_output_stream_write): Don't write the
755 Content-Length header ourselves, WinHttpSendRequest() takes care
756 of that when the dwTotalLength parameter is non-zero. Increment
757 offset by the number of actual bytes sent, although I wonder if
758 such a scenario is possible where less than requested would be
759 sent and accepted by the server without errors.
761 2008-08-13 Tor Lillqvist <tml@novell.com>
763 * win32/gwinhttpvfs.c
764 * win32/gwinhttpvfs.h
765 * win32/gwinhttpfile.c
766 * win32/gwinhttpfile.h
767 * win32/gwinhttpfileinputstream.c
768 * win32/gwinhttpfileinputstream.h
769 * win32/gwinhttpfileoutputstream.c
770 * win32/gwinhttpfileoutputstream.h: New files implementing
771 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
772 Windows. The implementation uses the WinHttp API. Both reading and
773 writing are supported, i.e. GET and PUT requests. When writing,
774 each write call is done using a separate PUT request with a
775 Content-Range header. Requests for file URIs and plain pathnames
776 are forwarded to GLocalVfs.
778 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
779 WINE. Used as there is no <winhttp.h> bundled with mingw, and
780 requiring people to download the Windows SDK just for this one
781 header is not reasonable.
783 * win32/Makefile.am: Add above files.
785 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
786 the plumbing for the above.
788 2008-08-11 Sven Neumann <sven@gimp.org>
790 * gfilenamecompleter.c
791 * glocaldirectorymonitor.c
793 * gunionvolumemonitor.c
797 * gunixvolumemonitor.c
800 * gwin32volumemonitor.c: use canonical signal names.
802 2008-08-11 Tor Lillqvist <tml@novell.com>
804 * Makefile.am: Put a list of the platform-dependent .la files in
805 the subdirectories in the platform_deps Make variable, and make
806 libgio-2.0.la depend on that, so that it gets relinked if one of
807 the dependent libraries has changed.
809 2008-08-11 Tor Lillqvist <tml@novell.com>
811 * Makefile.am (platform_libadd): Remove -lwininet which had been
812 added by mistake. We will probably eventually be using WinHTTP,
813 not the older WinInet anyway. (Actually I am working on it.)
815 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
817 Bug 547080 – g_file_copy leaks expected errors
819 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
820 before trying the next fallback routine.
822 2008-08-09 Loïc Minier <lool@dooz.org>
824 Bug 535124 – umask 002 not being applied for new directories, new
825 files get the correct umask
827 * gfile.c (g_file_make_directory)
828 (g_file_make_directory_with_parents): Document ownership and
829 permissions of newly created directories as being the default
832 2008-08-08 Loïc Minier <lool@dooz.org>
834 Bug 535124 – umask 002 not being applied for new directories, new
835 files get the correct umask
837 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
840 2008-08-08 Tor Lillqvist <tml@novell.com>
842 * gwin32mount.c: Remove unused code. Whitespace cleanup.
844 * gwin32volumemonitor.c (get_connected_drives): Put questionable
845 code that didn't actually do anything inside #if 0, and add a
846 comment wondering what the code was supposed to do. This also gets
847 rid of a leftover debugging printout.
849 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
851 * gfileicon.c (g_file_icon_get_property)
852 (g_file_icon_set_property): New functions.
853 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
855 (g_file_icon_new): Use the property (bug #546132).
857 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
859 * gthemedicon.c (g_themed_icon_get_property): Also handle
860 `PROP_USE_DEFAULT_FALLBACKS'.
861 (g_themed_icon_class_init): Make
862 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
864 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
866 Bug 546371 – Improve docs re g_file_monitor
868 * gfilemonitor.c: Mention g_file_monitor() in the docs.
870 2008-08-04 Matthias Clasen <mclasen@redhat.com>
872 * === Released 2.17.6 ===
874 2008-08-04 Matthias Clasen <mclasen@redhat.com>
876 * === Released 2.17.5 ===
878 2008-08-04 Matthias Clasen <mclasen@redhat.com>
880 Bug 546017 – Don't copy attributes when copying a symlink
882 * gfile.c (g_file_copy_attributes): Specify
883 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
884 g_file_set_attributes_from_info. Patch by Christian Kellner
886 2008-08-04 Matthias Clasen <mclasen@redhat.com>
888 * gemblemedicon.[hc]:
890 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
891 a bit more extensible. Work by Clemens Buss.
893 * gioenums.h: Add GEmblemOrigin.
896 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
898 Bug 546079 – leak in xdgmime
900 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
902 2008-08-03 Tor Lillqvist <tml@novell.com>
904 * win32/gwin32directorymonitor.h
905 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
908 2008-08-03 Tor Lillqvist <tml@novell.com>
910 * win32/gwin32directorymonitor.c
911 (g_win32_directory_monitor_callback): Make prototype match
912 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
913 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
916 (g_win32_directory_monitor_constructor):
917 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
918 names in the GLib API on Windows, so convert to UTF-16 and open
921 2008-08-03 Tor Lillqvist <tml@novell.com>
923 Bug 541036 - Gnumeric crashes when trying to open Desktop or
924 user's folder under Windows
926 * win32/gwin32directorymonitor.c
927 (g_win32_directory_monitor_constructor): Ignore error from
928 CreateFile() when opening directory. Instead of asserting, just
929 store INVALID_HANDLE_VALUE then in
930 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
931 ReadDirectoryChangesW().
932 (g_win32_directory_monitor_cancel): Don't attempt to close
933 directory handle if it is INVALID_HANDLE_VALUE.
935 2008-08-01 Matthias Clasen <mclasen@redhat.com>
937 * gdesktopappinfo.c: Remove debug spew
939 2008-08-01 Hans Breuer <hans@breuer.org>
941 * makefile.msc : add gemblembedicon
943 2008-07-30 Matthias Clasen <mclasen@redhat.com>
945 Bug 545457 – gdmsetup crashed with SIGSEGV in
946 g_unix_mount_guess_should_display()
948 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
949 crash if no mount is found.
951 2008-07-28 Matthias Clasen <mclasen@redhat.com>
953 Bug 545203 – gfile.c: argument is different type.
955 * gfile.c (open_read_async_thread): Pass a GError **
956 to g_file_set_error_literal.
957 Reported by Kazuki Iwamoto
959 2008-07-28 Matthias Clasen <mclasen@redhat.com>
961 Bug 545157 – wrong/no list of "open with" applications for .cc and
964 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
965 Collect all ancestors, not just direct parents. Pointed
966 out by Bastien Nocera
968 2008-07-28 Matthias Clasen <mclasen@redhat.com>
970 * Makefile.am: Install gemblemedicon.h
972 2008-07-28 Matthias Clasen <mclasen@redhat.com>
974 * gemblemedicon.[hc]: Add a GIcon implementation that can
975 add an emblem to another icon.
982 * gfileicon.c: Small documentation additions.
984 2008-07-28 Tor Lillqvist <tml@novell.com>
986 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
989 2008-07-27 Tor Lillqvist <tml@novell.com>
991 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
993 2008-07-24 David Zeuthen <davidz@redhat.com>
997 Also export a g_mount_guess_content_type_sync() function.
999 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1001 529694 – SELinux context setting support
1003 * gfileinfo.c: Support setting selinux attributes.
1004 Patch by Tomas Bzatek
1006 2008-07-22 Priit Laes <plaes@plaes.org>
1008 Bug 544140 - fam-helper 64-bit issue?
1010 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1012 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1014 * === Released 2.17.4 ===
1016 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1018 * gvolumemonitor.[hc]:
1019 * gmountoperation.c:
1023 * gmount.c: Documentation fixes
1025 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1027 543504 – crash in Epiphany Web Browser: Opening local file
1031 * gdesktopappinfo.c:
1038 * gvolume.c: Register types thread-safely.
1039 Patch by Christian Persch
1041 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1043 * gcontenttype.c: Remove debug spew
1045 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1047 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1050 * fen/fen-kernel.c: Remove a warning that was causing
1051 crashes. Reported by Lin Ma.
1053 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1055 Bug 543040 – async reading on dummy file will crash on
1058 * gfile.c (open_read_async_thread): Cope with read_fn being
1059 NULL. Reported by Lin Ma.
1061 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1064 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1066 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1069 * gdesktopappinfo.h:
1070 * giomodule.c: Rename a chapter id to avoid filename conflict.
1072 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1074 Bug 540616 – mem leak in filechooser button
1076 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1077 the mount entry. Reported by Chrisitan Persch
1079 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1081 * gfile.c: Small documentation fixes.
1083 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1085 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1087 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1092 * gmount.c: Documentation improvements.
1094 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1097 * gmount.[hc]: Add g_mount_guess_content_type().
1099 2008-07-06 David Zeuthen <davidz@redhat.com>
1102 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1103 is needed for easily handling adoption of foreign volumes by
1104 out-of-process volume monitors (#541793)
1106 2008-07-06 David Zeuthen <davidz@redhat.com>
1108 * gvolumemonitor.[ch]:
1109 * gunionvolumemonitor.c: Export the eject-button signal on the
1110 volume monitor class (#541794).
1112 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1114 * gappinfo.c: More doc tweaks
1116 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1118 * gappinfo.c: Clarify some docs
1120 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1122 * gdesktopappinfo.c: Fix a stupid mistake.
1124 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1126 * === Released 2.17.3 ===
1128 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1130 * gfilemonitor.c: Fix the build.
1132 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1134 Bug 536160 – Add g_file_monitor()
1137 * gfile.[hc]: Add g_file_monitor which can return either
1138 a file or a directory monitor. Proposed by Behdad Esfahbod
1140 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1142 536733 – gio build failure on Irix
1144 * glocalfile.c: Use a configure check for structfs.f_bavail.
1146 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1148 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1151 * gdesktopappinfo.[hc]: Add a function to create a
1152 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1154 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1156 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1158 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1160 * gunixmounts.c: Fix a doc typo.
1162 2008-07-01 Cody Russell <bratsche@gnome.org>
1164 * gio/gcontenttype.c:
1165 * gio/gwin32appinfo.c:
1166 * gio/gwin32volumemonitor.c:
1167 * gio/gwin32mount.c: Fixed some include problems.
1169 2008-07-01 Cody Russell <bratsche@gnome.org>
1173 Moved all relevant typedefs into these files.
1176 Updated wrt added files.
1178 Split types into separate file for easier maintainership. (#538564)
1180 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1182 Bug 540331 – g_file_append_to () documentation: can return NULL
1184 * gfile.c (g_file_append_to): Clarify docs.
1185 Patch by Jared Moore
1187 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1189 Bug 539090 – g_content_type_from_mime_type() should unalias
1191 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1192 Patch by Markus Bergman
1194 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1196 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1197 g_atomic_pointer_get
1199 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1200 on ppc and alpha. Reported by Mart Raudsepp
1202 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1204 * tests/Makefile.am:
1205 * tests/memory-output-stream.c: Add some tests for
1206 GMemoryOutputStream.
1208 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1210 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1213 * gmemoryoutputstream.c (array_resize): Handle truncation to
1214 zero correctly. Reported by Akira Tagoh
1216 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1218 * gmemoryoutputstream.c: Trivial doc fixes
1220 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1222 Bug 540802 – g_list_prepend doesn't concat lists
1224 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1225 one list to another. Pointed out by Jan Arne Petersen
1227 2008-06-28 Michael Natterer <mitch@imendio.com>
1229 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1231 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1233 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1234 to avoid problems with partial icon themes.
1236 2008-06-17 Hans Breuer <hans@breuer.org>
1238 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1239 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1240 access again on win32, see bug #538127
1241 * giomodule.c : ensure GWin32VolumeMonitor is registered
1242 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1243 * Makefile.am makefile.msc : updated
1245 2008-06-16 Hans Breuer <hans@breuer.org>
1247 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1248 and initialization in one step avoids c99ism
1250 2008-06-16 Christian Persch <chpe@gnome.org>
1253 * gio/gbufferedinputstream.c
1254 * gio/gcancellable.c
1255 * gio/gdatainputstream.c
1256 * gio/gdesktopappinfo.c
1258 * gio/gfileenumerator.c
1259 * gio/gfileinputstream.c
1260 * gio/gfileoutputstream.c
1261 * gio/ginputstream.c
1262 * gio/glocaldirectorymonitor.c
1264 * gio/glocalfileenumerator.c
1265 * gio/glocalfileinfo.c
1266 * gio/glocalfilemonitor.c
1267 * gio/glocalfileoutputstream.c
1268 * gio/gmemoryinputstream.c
1269 * gio/gmemoryoutputstream.c
1270 * gio/goutputstream.c
1271 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1274 2008-06-16 Tor Lillqvist <tml@novell.com>
1276 Bug 538362 - Get Win32 icons back in the file chooser
1278 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1279 corresponding to a file extension in the Registry. Patch by Hans
1281 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1283 2008-06-16 Tor Lillqvist <tml@novell.com>
1285 Patches by Hans Breuer:
1287 * glocalfile.c (is_xp_or_later): Handle compiling against older
1288 SDK headers with missing VerifyVersionInfo(). Conditioned on
1289 _MSC_VER, but should probably use some better test.
1290 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1291 uninitialised statfs_result variable on Win32.
1293 2008-06-16 Michael Natterer <mitch@imendio.com>
1295 * *.c: chain up unconditionally in finalize() and dispose(). Also
1296 don't dereference these function pointers when calling them since
1297 that has no meaning at all.
1299 2008-06-16 Ross Burton <ross@burtonini.com>
1301 * gfileenumerator.c:
1302 Remove check for dispose implementation as it annoys Emmanuele.
1304 2008-06-16 Ross Burton <ross@burtonini.com>
1306 Bug 536252 – GFileEnumerator should allow access to the containing
1309 * gfileenumerator.c:
1310 * gfileenumerator.h:
1312 Add g_file_enumerator_get_container() and a container writeable
1313 construct-only property. Also shuffle around typedefs to make it
1316 * glocalfileenumerator.c:
1317 * glocalfileenumerator.h:
1319 Instead of a string filename take a GFile in the constructor and
1320 use it to set the container property.
1323 Update with new API.
1325 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1327 * gfile.c: Make includes more uniform
1329 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1331 * tests/live-g-file.c (sample_struct):
1332 Use less fancy unicode filenames, so the test doesn't fail
1333 on Mac OS X (#531476).
1335 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1337 * === Released 2.17.2 ===
1339 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1341 * === Released 2.17.1 ===
1343 2008-06-11 A. Walton <awalton@gnome.org>
1345 * tests/g-file.c (test_g_file_new_null):
1346 Fix broken test case.
1348 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1350 * pltcheck.sh: We use g_clear_error now.
1352 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1354 * glocalfile.c (g_local_file_enumerate_children): Revert
1355 an unintended change.
1357 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1359 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1361 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1363 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1366 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1367 as icon for the desktop directory, also make user-home and
1368 user-desktop the preferred icons.
1370 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1373 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1374 to add a name to the front of the list.
1376 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1378 Bug 537392 – Additional colon in xattr name
1380 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1381 too. Reported by Alessandro Morandi
1383 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1385 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1388 * glocalfile.c (get_fs_type): Add afs and autofs.
1389 Patch by Danny Baumann.
1391 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1393 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1395 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1396 is no parent. (Owen Taylor, patch by Christian Neumair)
1398 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1400 * gfile.c (g_file_replace_contents): do not leak the output stream.
1402 2008-06-10 Michael Natterer <mitch@imendio.com>
1404 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1405 uninitialized memory as array index.
1407 2008-06-10 Tor Lillqvist <tml@novell.com>
1409 * gcontenttype.c (g_content_type_can_be_executable)
1410 (g_content_type_get_icon) [Win32]: Add TODO comments.
1412 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1414 * xdgmime/Makefile.am: Fix the build
1416 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1418 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1419 in the shared mime database, if available.
1421 * xdgmime/*: Sync with upstream. This brings support for
1422 glob weights, generic icons, and changes the cache format to
1425 2008-05-28 Michael Natterer <mitch@imendio.com>
1427 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1428 the global CPPFLAGS now.
1430 * tests/data-input-stream.c
1431 * tests/data-output-stream.c
1432 * tests/g-file-info.c
1434 * tests/live-g-file.c
1435 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1437 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1439 * === Released 2.17.0 ===
1441 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1442 doesn't complain about leftover files.
1444 2008-05-27 simon.zheng <simon.zheng@sun.com>
1446 * glocalfile.c: (g_local_file_query_filesystem_info):
1447 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1449 2008-05-26 Michael Natterer <mitch@imendio.com>
1451 * gmemoryoutputstream.h: declare
1452 g_memory_output_stream_get_data_size().
1454 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1456 * tests/*: Make tests work
1458 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1460 * gio.symbols: Add g_memory_output_stream_get_data_size.
1462 2008-05-25 Ross Burton <ross@burtonini.com>
1465 Fix typo in error message (#534764).
1467 2008-05-25 Ross Burton <ross@burtonini.com>
1470 Fix circular dependency loop for gioenumtypes.h (#534759).
1472 2008-05-19 Hans Breuer <hans@breuer.org>
1474 * Makefile.am : EXTRA_DIST += makefile.msc
1476 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1479 * gcontenttype.c: (g_content_type_from_mime_type):
1480 New function to create a content type from a mime type. (#527175,
1483 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1485 Bug 532965 – Should not return filesystem::free for certain file systems
1487 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1488 free space for ncpfs.
1490 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1492 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1494 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1495 st_dev might be zero.
1497 2008-05-16 Tor Lillqvist <tml@novell.com>
1499 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1500 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1502 2008-05-13 Bastien Nocera <hadess@hadess.net>
1504 * gfile.c (has_valid_scheme): A URI scheme must start with a
1505 letter, even if later more characters are allowed (#532852)
1507 2008-05-05 Michael Natterer <mitch@imendio.com>
1509 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1510 code from being checked in that breaks the build of applications
1511 which use G_DISABLE_SINGLE_INCLUDES.
1513 * makegioalias.pl: make the alias file include "glib.h" instead of
1516 * gio.symbols: whitespace change to force regeneration of the
1517 alias file after above script change.
1519 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1521 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1523 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1525 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1527 2008-04-28 David Zeuthen <davidz@redhat.com>
1529 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1530 displaying mounts in a subdirectory not accessible to the
1533 2008-04-22 Michael Natterer <mitch@imendio.com>
1535 * Makefile.am: fix library versioning (it was 0.0.0).
1537 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1539 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1540 Default disable all loggings.
1541 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1542 (port_fetch_event_cb): Fixed two macro nits.
1544 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1546 * xdgmime/xdgmime.c: Rework the timestamp checking code
1547 to protect against duplicate directories in XDG_DATA_DIRS.
1548 Fixes fd.o bug 12513, reported by Joe Shaw.
1550 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1552 Partically revert the last commit after realizing that
1553 xdg_mime_media_type_equal doesn't have to init at all.
1555 * xdgmime/xdgmime.h:
1556 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1558 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1560 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1562 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1563 reported by Joe Shaw and Federico Mena Quintero.
1565 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1566 (xdg_mime_media_type_equal): Turn into a wrapper around the
1569 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1570 functions throughout.
1572 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1574 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1575 tolerate an empty TryExec= line without failing; nautilus used
1576 to create launchers with these in previous versions. Fixes #528433
1578 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1580 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1581 after name. Fixes #527132.
1583 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1585 * gfile.c: (g_file_replace):
1588 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1590 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1592 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1593 by Christian Kellner.
1595 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1597 * gunixmounts.c: (g_unix_mount_guess_should_display):
1598 Don't list the user directory as a mount, fix potential issue
1599 when other users have a similar naming and don't special case the
1600 gvfs mounts there since that's not required (#525866)
1602 2008-03-31 Alexander Larsson <alexl@redhat.com>
1604 * glocalfile.c (get_parent):
1607 2008-03-31 A. Walton <awalton@svn.gnome.org>
1609 * gfile.c (g_file_query_file_type):
1610 Always return a GFileType enum value (#520715).
1612 2008-03-31 Alexander Larsson <alexl@redhat.com>
1614 * glocalfileenumerator.c:
1615 Read readdir() info in chunks (of 1000) and sort
1616 the chunks by inode before stat:ing.
1617 This is a 20% performance increase in testing
1618 gvfs-ls on /usr/bin with cold cache.
1620 2008-03-31 Alexander Larsson <alexl@redhat.com>
1622 * gmemoryoutputstream.c:
1623 Clarify docs for g_memory_output_stream_get_size.
1624 Add g_memory_output_stream_get_data_size.
1626 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1630 * gfile.h: Add g_file_query_file_type convenience function
1631 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1633 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1635 * gfileenumerator.c:
1636 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1638 2008-03-28 A. Walton <awalton@svn.gnome.org>
1640 * giomodule.c (_g_io_modules_ensure_loaded):
1641 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1644 2008-03-28 Alexander Larsson <alexl@redhat.com>
1647 (copy_stream_with_progress):
1650 2008-03-28 Alexander Larsson <alexl@redhat.com>
1653 (copy_stream_with_progress):
1654 (file_copy_fallback):
1655 Fallback to g_file_query_info for source size
1656 if g_file_input_stream_query_info fails. (#524579)
1658 2008-03-28 Alexander Larsson <alexl@redhat.com>
1660 * glocalfile.c (g_local_file_move):
1661 Reuse old string instead of adding new one.
1663 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1665 * fen/*.[hc]: still copyright issue. I hate copyright.
1667 2008-03-27 Alexander Larsson <alexl@redhat.com>
1669 * glocalfile.c (g_local_file_move):
1670 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1671 file over directory. This is according to the docs and what the move via
1672 copy+remove fallback does.
1674 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1676 * fen/*.[hc]: Updated copyright.
1678 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1680 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1682 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1684 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1685 not emit attribute changed events when optimizing changed events.
1686 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1689 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1691 * gmountoperation.[hc]: Small documentation additions
1693 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1695 * gunixmounts.c: (guess_mount_type):
1696 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1698 2008-03-19 Alexander Larsson <alexl@redhat.com>
1701 (copy_stream_with_progress):
1702 Bump block side for copy to 64k to minimize
1703 overhead for low latency links. (#523015)
1705 2008-03-16 Tor Lillqvist <tml@novell.com>
1707 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1708 depend on gio.def on Windows.
1710 2008-03-12 David Zeuthen <davidz@redhat.com>
1714 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1716 2008-03-14 Alexander Larsson <alexl@redhat.com>
1720 Avoid redudant tests (#521851)
1721 Patch from Josselin Mouette
1723 2008-03-14 Alexander Larsson <alexl@redhat.com>
1726 (g_file_monitor_is_cancelled):
1727 Fix C89 issue (#521672)
1728 Patch from Jens Granseuer
1730 2008-03-14 Alexander Larsson <alexl@redhat.com>
1732 * fam/fam-helper.[ch]:
1734 Shut down fam (including removing fam GSource) when
1735 module is unloaded (#521513)
1736 Patch from Joe Marcus Clarke
1738 2008-03-14 Alexander Larsson <alexl@redhat.com>
1741 (_g_io_modules_ensure_loaded):
1744 2008-03-14 Alexander Larsson <alexl@redhat.com>
1747 (g_local_file_query_filesystem_info):
1748 Use right define name for f_fstypename member check
1750 2008-03-14 Alexander Larsson <alexl@redhat.com>
1753 * fen/Makefile.am: Added.
1754 * fen/fen-data.[ch]: Added.
1755 * fen/fen-dump.[ch]: Added.
1756 * fen/fen-helper.[ch]: Added.
1757 * fen/fen-kernel.[ch]: Added.
1758 * fen/fen-missing.[ch]: Added.
1759 * fen/fen-node.[ch]: Added.
1760 * fen/fen-sub.[ch]: Added.
1761 * fen/gfendirectorymonitor.[ch]: Added.
1762 * fen/gfenfilemonitor.[ch]: Added.
1764 Added Solaris FEN file notification backend.
1765 Patch from Lin Ma <Lin.Ma@Sun.COM>
1767 2008-03-13 Tor Lillqvist <tml@novell.com>
1769 * Makefile.am: Actually use the gio.def file when linking the
1770 library on Windows. Produce .lib library for Microsoft's toolchain
1771 when possible. Install the .lib and .def file like for the other
1774 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1776 * tests/live-g-file.c:
1777 Include live-g-file in standard set of tests, making a temporary
1778 directory in source structure.
1780 Clean target directory before the tests (write mode only)
1782 2008-03-12 Tor Lillqvist <tml@novell.com>
1784 Bug 517419 - gio win32 directory monitor
1785 Implementation by Vlad Grecescu.
1788 * win32/gwin32directorymonitor.h
1789 * win32/gwin32directorymonitor.c: New files.
1791 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1793 * Makefile.am: Add the win32 subdirectory.
1795 2008-03-12 Tor Lillqvist <tml@novell.com>
1797 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1798 normal struct stat on Unix but struct _stati64 on Windows to have
1799 access to 64-bit file size information. Use that instead of struct
1800 stat in the functions declared here in this private header.
1802 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1803 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1804 warnings about unused functions and variables. Don't set
1805 meaningless attributes like inode numbers on Windows.
1807 2008-03-12 Benjamin Otte <otte@gnome.org>
1810 trim whitespace so gtk-doc groks the function name
1812 2008-03-12 Tor Lillqvist <tml@novell.com>
1814 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1815 returning FALSE, on Win32.
1817 2008-03-11 Alexander Larsson <alexl@redhat.com>
1820 * glocalfileinfo.[ch]:
1821 Correctly implement can_trash by actually
1822 looking for a trash dir, not just assuming
1825 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1827 * === Released 2.16.1 ===
1829 2008-03-11 Alexander Larsson <alexl@redhat.com>
1832 Fix crashes in new constructor and properties code
1834 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1836 * gfile.c: Minor spelling correction in documentation:
1837 existance -> existence.
1839 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1841 * === Released 2.16.0 ===
1843 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1845 * gio.symbols: Remove g_file_contains_file here, too.
1847 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1849 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1850 Samuel Cormier-Iijima)
1852 2008-03-08 Tor Lillqvist <tml@novell.com>
1854 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1857 2008-03-07 Alexander Larsson <alexl@redhat.com>
1860 (g_local_file_query_filesystem_info):
1861 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1862 Patch from Jasper Lievisse Adriaanse
1864 2008-03-06 Tor Lillqvist <tml@novell.com>
1866 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1867 comments for the *_USEC attributes.
1869 2008-03-06 Alexander Larsson <alexl@redhat.com>
1871 * gfile.c (g_file_query_exists):
1872 Add g_return_val_if_fail check (#520700)
1874 2008-03-06 Alexander Larsson <alexl@redhat.com>
1876 * gdesktopappinfo.c:
1879 * gunionvolumemonitor.c:
1882 * tests/live-g-file.c:
1883 * xdgmime/xdgmimecache.c:
1884 Fix sparse warnings (#519489)
1886 2008-03-05 Alexander Larsson <alexl@redhat.com>
1889 Make cancellation threadsafe (i.e.
1890 guarantee its only done once, and always
1893 * glocaldirectorymonitor.c:
1894 Make sure we the monitor lives while the
1895 mounts_changed callback is being called (#520484)
1897 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1899 * gbufferedinputstream.c: Fix typo in parameter
1902 2008-03-04 Alexander Larsson <alexl@redhat.com>
1905 Remove deprecated symbols we kept for one release.
1907 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1910 * goutputstream.c: Tiny documentation corrections.
1912 2008-03-03 Alexander Larsson <alexl@redhat.com>
1914 * gunionvolumemonitor.c:
1916 Fix the adopt_orphan_mount vfunc to take a
1917 volume_monitor reference in an ABI compat way.
1918 This change is not API compat, but the added
1919 arg is not used in the only user of this vfunc, so
1920 all we get is a harmless warning in gvfs (#520169)
1922 2008-03-01 Benjamin Otte <otte@gnome.org>
1925 clarify docs for g_file_delete().
1927 2008-02-29 Alexander Larsson <alexl@redhat.com>
1931 Make sure empty files get text/plain type (#518720)
1933 2008-02-27 Alexander Larsson <alexl@redhat.com>
1939 (g_unix_volume_mount):
1940 Add missing GMountMountFlags argument
1942 2008-02-26 Alexander Larsson <alexl@redhat.com>
1945 (g_local_file_delete):
1946 Handle filesystems (like ntfs-3g) that return EEXIST instead
1947 of ENOTEMPTY (#518816)
1949 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1951 * === Released 2.15.6 ===
1953 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1955 * gfile.c (g_file_find_enclosing_mount):
1956 * ginputstream.c (g_input_stream_set_pending):
1957 * glocalfile.c (g_local_file_find_enclosing_mount):
1958 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1959 * goutputstream.c (g_output_stream_set_pending):
1961 Fixup translator comments (#518578).
1963 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1965 * gfile.c (g_file_find_enclosing_mount):
1967 * glocalfile.c (g_local_file_find_enclosing_mount):
1970 Fix a few typos in translator comments and documentation.
1972 2008-02-25 Alexander Larsson <alexl@redhat.com>
1979 Add translator comments (#518578)
1981 2008-02-25 Alexander Larsson <alexl@redhat.com>
1984 Reintroduce g_file_contains_file, keep around for one
1985 unstable release cycle to avoid crashing to many apps.
1986 Make sure to delete after release.
1988 2008-02-25 Alexander Larsson <alexl@redhat.com>
1991 Remove deprecated g_file_contains_file.
1993 2008-02-25 Alexander Larsson <alexl@redhat.com>
1996 Emit actual change signals in an idle handler.
1997 This avoids reentrance and locking problems in
1998 the file notification backends.
2000 2008-02-25 Alexander Larsson <alexl@redhat.com>
2003 (g_unix_mount_guess_should_display):
2004 Remove type guessing, instead just display
2005 mounts in /media and in ~/.
2007 2008-02-25 Alexander Larsson <alexl@redhat.com>
2010 Make new strings reuse old ones.
2012 2008-02-25 Alexander Larsson <alexl@redhat.com>
2015 Implement trashing and filesystem::readonly for win32 (#517235)
2016 Patch from Yevgen Muntyan
2018 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2020 * gfileinfo.h: Documentation fixes.
2022 2008-02-22 Alexander Larsson <alexl@redhat.com>
2024 * gcontenttype.c (g_content_type_get_icon):
2025 Look at old-style gnome mime icon names too, as many
2026 have not moved to the new style.
2028 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2030 * *.c: Correct the @include in for section docs.
2032 2008-02-21 David Zeuthen <davidz@redhat.com>
2034 * glocalfileinfo.c: (_g_local_file_info_get):
2036 (g_content_type_get_icon): Implement this function by
2037 moving bits from glocalfileinfo.c
2038 (g_content_type_get_description): Unalias before getting
2039 description (#517687)
2041 * gfile.c: (g_file_class_init),
2042 (g_file_query_filesystem_info_async),
2043 (g_file_query_filesystem_info_finish),
2044 (query_filesystem_info_data_free),
2045 (query_filesystem_info_async_thread),
2046 (g_file_real_query_filesystem_info_async),
2047 (g_file_real_query_filesystem_info_finish):
2048 * gfile.h: Implement async version of
2049 g_file_query_filesystem_info()
2051 * gfileinfo.h: Add new attributes for filesystem::use-preview
2053 * gio.symbols: Update
2055 * gthemedicon.c: (g_themed_icon_append_name):
2056 * gthemedicon.h: Add new new convenience function.
2058 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2059 (get_mounts), (get_volumes), (get_connected_drives),
2060 (get_volume_for_uuid), (get_mount_for_uuid),
2061 (g_union_volume_monitor_init), (populate_union_monitor),
2062 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2063 (g_volume_monitor_adopt_orphan_mount):
2065 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2066 monitor implementations to call into the main volume monitor. Also
2067 separate object initialization and volume monitor initialization
2068 such that non-native volume monitors can properly adopt their
2071 2008-02-21 Alexander Larsson <alexl@redhat.com>
2076 2008-02-21 Alexander Larsson <alexl@redhat.com>
2079 Add more documentation about how GFiles work (from #517086)
2081 2008-02-21 Alexander Larsson <alexl@redhat.com>
2085 Add new g_file_has_prefix that does the same as g_file_contains_file.
2086 Deprecate g_file_contains_file and add a macro that converts
2087 it to g_file_has_prefix.
2088 The reason for this change is that the contains_file() name seems to
2089 imply that this does more work than what it does, but its really only
2090 a name match (from #517086)
2095 Update to match the above change.
2097 2008-02-20 Benjamin Otte <otte@gnome.org>
2099 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2100 (g_file_eject_mountable):
2101 even more cases of not returning in error path
2103 2008-02-20 Benjamin Otte <otte@gnome.org>
2105 * gfile.c: (g_file_mount_mountable):
2106 return from function in error path.
2108 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2111 Remove trailing coma in GMountMountFlags struct
2113 2008-02-18 Alexander Larsson <alexl@redhat.com>
2117 * glocalfileoutputstream.c:
2118 Use g_unlink/g_rename instead of unlink/rename;
2119 do not pass raw filenames to g_set_error. (#517239)
2120 Patch from Yevgen Muntyan.
2122 2008-02-18 Alexander Larsson <alexl@redhat.com>
2125 * glocalfileoutputstream.c:
2126 Open files with O_BINARY on windows. (#517140)
2128 2008-02-14 Alexander Larsson <alexl@redhat.com>
2130 * glocalfileoutputstream.c:
2131 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2133 2008-02-14 Alexander Larsson <alexl@redhat.com>
2136 Copy permissions with file on copy (#514084)
2137 This is what cp does and makes sure e.g. the
2138 exec permissions are kept.
2139 Its kinda weird in that it keeps the permission bits
2140 the same while the uid and gid are different. However
2141 the new uid is the user so its not a security issue,
2142 and I've heard no complaints about cp on this issue.
2144 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2146 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2148 2008-02-13 Alexander Larsson <alexl@redhat.com>
2150 * inotify/inotify-path.c:
2151 Define IN_ONLYDIR if not in header (#515346)
2153 2008-02-12 Alexander Larsson <alexl@redhat.com>
2155 * tests/live-g-file.c:
2158 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2160 * === Released 2.15.5 ===
2162 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2164 * gio.symbols: Add g_mount_mount_flags_get_type.
2166 2008-02-11 Alexander Larsson <alexl@redhat.com>
2169 (g_file_info_set_attribute_mask):
2170 (g_file_attribute_matcher_matches_id):
2171 Correctly handle NULL GAttributeMatcher meaning
2172 matches nothing. (Fixes #513492)
2174 2008-02-11 Alexander Larsson <alexl@redhat.com>
2179 Added GMountMountFlags enum and added a flags
2180 argument to all mount calls.
2182 This is an API/ABI change for future extensibility,
2183 as I think we will need at least an
2184 inhibit-autorun flag (the panel needs this).
2185 There are no flags defined yet though.
2187 2008-02-11 Alexander Larsson <alexl@redhat.com>
2190 Added new standard::description attribute.
2191 Requested by Vincent, and useful for both
2194 2008-02-11 Alexander Larsson <alexl@redhat.com>
2196 * gdesktopappinfo.c:
2199 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2201 * *.c: Documentation additions
2203 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2205 * gappinfo.h: Formatting cleanup
2206 * gappinfo.c: Fix up docs.
2208 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2210 * gunixmounts.c: Consistently use getmntent_r() and fall
2211 back to getmntent(). (#515492)
2213 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2215 * gbufferedinputstream.c:
2217 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2219 * tests/data-input-stream.c:
2220 * tests/data-output-stream.c: Portability fixes.
2222 2008-02-08 Alexander Larsson <alexl@redhat.com>
2227 Add g_volume_should_automount.
2230 2008-02-07 Tor Lillqvist <tml@novell.com>
2232 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2233 Win32, too Unix-specific.
2235 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2237 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2238 a local plt if the compiler doesn't support what we want. Bug #514702
2240 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2242 reviewed by: <delete if not using a buddy>
2245 * gunixinputstream.c:
2246 * gunixoutputstream.c:
2248 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2250 * tests/Makefile.am:
2251 * tests/live-g-file.c:
2252 * tests/live-g-file.txt:
2253 New GIO testing module working over real data
2255 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2257 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2258 Fallback to rename() if link() is not available
2259 (when no support on target filesystem)
2261 2008-02-06 Michael Natterer <mitch@imendio.com>
2263 * gfileinfo.c (g_file_info_get_icon): replace
2264 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2266 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2268 * gfile.c (g_file_create):
2269 Documentation update of error codes
2271 2008-02-06 Alexander Larsson <alexl@redhat.com>
2273 * gdesktopappinfo.c:
2274 Update to use both mimeapps.list and
2275 defaults.list as discussed on xdg list.
2277 2008-02-06 Benjamin Otte <otte@gnome.org>
2280 * gfilenamecompleter.c:
2281 Fix some typos in the documentation.
2283 2008-02-06 Alexander Larsson <alexl@redhat.com>
2285 * glocalfile.c (g_local_file_trash):
2286 Don't succeed with trash if newly created
2287 trash dir has the wrong owner. (#514696)
2289 2008-02-05 Alexander Larsson <alexl@redhat.com>
2291 * glocalfile.c (g_local_file_move):
2292 Don't spew warnings when destination is not
2295 2008-02-03 Hans Breuer <hans@breuer.org>
2297 * makefile.msc : update
2299 2008-02-01 Michael Natterer <mitch@imendio.com>
2301 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2302 return value of xdg_mime_list_mime_parents() to a variable of the
2305 2008-02-01 Alexander Larsson <alexl@redhat.com>
2307 * gappinfo.c (g_app_info_launch_uris):
2308 Actually call the launch_uris method, not
2311 2008-02-01 Alexander Larsson <alexl@redhat.com>
2313 * gdesktopappinfo.c (g_desktop_app_info_equal):
2314 Ensure appinfos with no id but same pointer value
2317 2008-02-01 Alexander Larsson <alexl@redhat.com>
2319 * gappinfo.c (g_app_info_launch_default_for_uri):
2322 2008-02-01 Alexander Larsson <alexl@redhat.com>
2326 Add g_app_info_launch_default_for_uri utility
2329 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2331 * gdesktopappinfo.c:
2332 Doc fix for g_app_info_get_default_for_uri_scheme ()
2335 2008-01-30 Alexander Larsson <alexl@redhat.com>
2338 Add doc comment about uris vs GFiles to
2341 * gdesktopappinfo.c:
2342 Ensure uris passed to g_app_info_launch_uris()
2343 are not roundtriped through GFile (as that
2344 may be slightly destructive for e.g. mailto: links)
2346 2008-01-30 Alexander Larsson <alexl@redhat.com>
2348 * tests/data-input-stream.c:
2349 * tests/data-output-stream.c:
2350 C89 fixes from Jens Granseuer (#512849)
2352 2008-01-30 Alexander Larsson <alexl@redhat.com>
2355 Fix gamin/fam difference build issue. (#509419)
2357 2008-01-29 Alexander Larsson <alexl@redhat.com>
2360 * gdesktopappinfo.c:
2361 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2363 2008-01-29 Alexander Larsson <alexl@redhat.com>
2365 * gdesktopappinfo.c:
2366 * gdesktopappinfo.h:
2367 giomodule-priv.h include moved to .c file.
2369 2008-01-29 Alexander Larsson <alexl@redhat.com>
2371 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2372 Remove unused prio/name fields.
2374 2008-01-29 Alexander Larsson <alexl@redhat.com>
2376 * gcontenttype.c (looks_like_text):
2377 Don't treat whitespace as control chars.
2379 2008-01-29 Alexander Larsson <alexl@redhat.com>
2381 * gdesktopappinfo.c:
2382 Lazily create the desktop files for appinfos created
2383 by g_app_info_create_from_commandline() when needed
2384 for mime associations. This allows run-time use
2385 of GAppInfo object without creating unnecessary
2388 2008-01-29 Alexander Larsson <alexl@redhat.com>
2391 Added new symbols to gio.symbols
2393 2008-01-29 Alexander Larsson <alexl@redhat.com>
2396 Add g_file_query_default_handler utility to easily look up
2397 the GAppInfo that handles a file.
2399 * gdesktopappinfo.[ch]:
2401 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2404 Remove unused function
2406 2008-01-29 Alexander Larsson <alexl@redhat.com>
2408 * gfileenumerator.c:
2409 Mention need to free returned value in
2410 g_file_enumerator_next_files_finish docs.
2411 Fix leak if g_file_enumerator_next_files_finish()
2414 2008-01-29 Alexander Larsson <alexl@redhat.com>
2417 (_g_unix_content_type_get_parents):
2418 Use list_parents, not get_parents from xdgmime, because
2419 the later doesn't use the cache.
2421 * xdgmime/xdgmimecache.c:
2422 (_xdg_mime_cache_list_mime_parents):
2423 Don't list the same type as parent multiple times.
2425 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2427 * === Released 2.15.4 ===
2429 2008-01-28 Alexander Larsson <alexl@redhat.com>
2432 Register local vfs with prio 0.
2435 Remove old name and prio class members
2437 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2439 * tests/g-file.c: Disable some tests that are failing in
2440 the absence of a http backend.
2442 2008-01-28 Alexander Larsson <alexl@redhat.com>
2446 Add registration hooks for extension points.
2447 Register the gio extension points.
2449 * fam/gfamdirectorymonitor.c:
2450 * fam/gfamfilemonitor.c:
2451 * glocaldirectorymonitor.[ch]:
2452 * glocalfilemonitor.[ch]:
2453 * gnativevolumemonitor.h:
2454 * gunionvolumemonitor.c:
2455 * gunixvolumemonitor.c:
2458 * inotify/ginotifydirectorymonitor.c:
2459 * inotify/ginotifyfilemonitor.c:
2460 Use the extension points registration instead
2461 of g_type_children().
2463 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2466 * gvolume.[hc]: Document new API.
2468 * gfile.c (g_file_copy_async): Fix docs
2470 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2472 * gbufferedinputstream.c:
2474 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2477 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2479 * glocalfile.c: Avoid trivial differences in translatable strings.
2481 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2483 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2484 build with gcc 3.4 (#509419)
2486 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2488 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2489 (#509994, Murray Cumming)
2491 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2493 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2494 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2495 this allows big jobs to be executed in chunks, instead of blocking
2496 the main loop for a long time.
2498 * gsimpleasyncresult.c:
2499 * giofile.c: Adapt callers.
2501 2008-01-25 Alexander Larsson <alexl@redhat.com>
2503 * gdesktopappinfo.c:
2504 Implement changes discussed on xdg list.
2505 Now we can add supported mimetypes by just using defaults.list
2506 We can also remove associations in defaults.list.
2508 2008-01-25 Alexander Larsson <alexl@redhat.com>
2510 * gdesktopappinfo.c:
2511 Don't make local copy of desktop file
2512 for mimetype changes if the file already
2513 supports the new mimetype.
2515 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2519 * gbufferedinputstream.c:
2520 * glocalfile.c: String improvements. (#511966,
2521 Theppitak Karoonboonyanan)
2523 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2525 * gioscheduler.h: Expand docs a bit.
2527 2008-01-24 Alexander Larsson <alexl@redhat.com>
2530 Add g_drive_get_identifier and
2531 g_drive_enumerate_identifiers
2534 Add g_volume_get_identifier and
2535 g_volume_enumerate_identifiers
2541 Implement identifiers for unix backend
2543 2008-01-24 Alexander Larsson <alexl@redhat.com>
2548 Add g_file_copy_async() (#511580)
2549 Based on patch from Carlos Garcia Campos
2551 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2553 * gioscheduler.c: Some documentation additions.
2555 2008-01-22 Alexander Larsson <alexl@redhat.com>
2557 * gdesktopappinfo.c:
2558 (g_desktop_app_info_new):
2559 Don't leak basename.
2561 2008-01-22 Alexander Larsson <alexl@redhat.com>
2563 * gdesktopappinfo.c:
2564 (g_desktop_app_info_new_from_filename):
2567 2008-01-22 Alexander Larsson <alexl@redhat.com>
2569 * glocalfileinfo.c (get_thumbnail_attributes):
2572 2008-01-22 Alexander Larsson <alexl@redhat.com>
2575 (canonicalize_filename):
2576 Canonicalize paths that start with more than
2580 (compare_two_files):
2581 (test_g_file_new_for_path):
2584 2008-01-22 Alexander Larsson <alexl@redhat.com>
2587 Allow UTF-8 in file:// parse names.
2589 * tests/Makefile.am:
2590 * tests/data-input-stream.c:
2591 * tests/data-output-stream.c:
2592 * tests/g-file-info.c:
2594 Added a bunch of tests from Tomas Bzatek
2596 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2598 * === Released 2.15.3 ===
2600 2008-01-21 Alexander Larsson <alexl@redhat.com>
2602 * gfileinputstream.[ch]:
2603 * gfileoutputstream.[ch]:
2605 Remove duplicated GSeekable functions. (#509990)
2606 Just use the g_seekable_xxx() calls instead.
2608 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2611 * gvolumemanager.c: Whitespace cleanups.
2613 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2614 Use the right mode when creating the file.
2616 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2618 * gfileenumerator.c:
2619 * gfileinputstream.c:
2621 * goutputstream.c: Documentation: Fixed minor typos
2622 and added more mentions of specific _finish() functions.
2624 2008-01-21 Alexander Larsson <alexl@redhat.com>
2626 * inotify/Makefile.am:
2627 * inotify/inotify-helper.c:
2628 * inotify/inotify-kernel.c:
2629 * inotify/inotify-path.c:
2630 * inotify/local_inotify.h: Removed.
2631 * inotify/local_inotify_syscalls.h: Removed.
2632 Removed the included copies of the inotify
2633 headers. We now only use the <sys/inotify.h>
2634 header which exists on modern systems.
2635 This fixes problems on ARM and SH5 (#510448)
2636 but is also generally much cleaner and future
2637 safe. For instance, if other OSes add support
2638 for inotify it should "just work".
2640 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2642 * inotify/*.c: Coding style fixes.
2643 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2644 for the 1/4 Hz timer.
2646 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2649 * gfilemonitor.[hc]:
2650 * gmemoryinputstream.c:
2651 * gmemoryoutputstream.c:
2652 * gmountoperation.c:
2653 * gthemedicon.c: Documentation updates
2655 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2657 * gfile.c: documentation: Fixed more minor
2660 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2662 * gmount.c: (g_mount_remount): documentation:
2663 Mention g_mount_remount_finish() instead of
2664 g_mount_unmount_finish().
2666 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2670 * gfile.c: Fixed some minor typos in the
2673 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2675 * gio/gvolumemonitor.c:
2676 (g_volume_monitor_get_connected_drives):
2677 (g_volume_monitor_get_volumes):
2678 (g_volume_monitor_get_mounts): Documentation:
2679 Clarify the ownership of the regurn GLists.
2681 2008-01-17 Alexander Larsson <alexl@redhat.com>
2684 Add the async find_enclosing_mount version
2685 to the header file too.
2687 2008-01-17 Alexander Larsson <alexl@redhat.com>
2690 Add async version of find_enclosing_mount
2691 with default implementation.
2693 2008-01-17 Alexander Larsson <alexl@redhat.com>
2698 Allow calls to implementation of copy and write
2699 even if the type of the file implementations is
2700 different. This can be used to implement native
2701 upload and download calls in a vfs.
2704 (g_local_file_move):
2705 Protect against the case where move is called
2706 with one file not being local.
2708 Make sure we call the progress callback once
2709 in the native move operation so that the caller
2710 knows how many bytes were copied.
2712 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2715 * gdatainputstream.c:
2717 * gfileoutputstream.c:
2722 * gunixmounts.c: Corrected some typos in the documentation:
2723 occured -> occurred.
2724 its -> it's (where appropriate).
2726 2008-01-16 Alexander Larsson <alexl@redhat.com>
2730 Add g_file_query_exists (#508771)
2732 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2737 * gvolume.c: For async functions that have no non-async
2738 version, document that the GAsyncReadyCallback may be NULL.
2741 2008-01-15 Alexander Larsson <alexl@redhat.com>
2743 * gmemoryinputstream.c:
2744 * gmemoryoutputstream.c:
2745 Don't do pointer arithmetic on void * (#508602)
2746 Patch from Kazuki IWAMOTO
2748 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2750 * === Released 2.15.2 ===
2752 2008-01-14 Alexander Larsson <alexl@redhat.com>
2754 * gfile.c (g_file_monitor_file):
2755 Don't set error here, since we fallback to polling monitor.
2757 2008-01-14 Alexander Larsson <alexl@redhat.com>
2760 (g_file_monitor_directory):
2761 (g_file_monitor_file):
2762 Add GError to file monitor calls
2764 * glocaldirectorymonitor.c:
2765 * glocaldirectorymonitor.h:
2767 * glocalfilemonitor.c:
2768 * glocalfilemonitor.h:
2770 Update for above change
2772 2008-01-14 Alexander Larsson <alexl@redhat.com>
2776 Handle root correctly in g_file_get_relative_path (#508719)
2778 2008-01-14 Alexander Larsson <alexl@redhat.com>
2781 Clean up docs and example for GAsyncResult (#508074)
2783 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2785 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2786 and correct some spelling mistakes. Bug #508108.
2788 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2790 * glocalfileinfo.c: Add a comment.
2792 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2794 * gfileinfo.c: GFileInfo description: Mention
2795 how to actually set attributes in a GFile and how to discover
2796 which attributes are settable. Bug #508378.
2798 2008-01-10 A. Walton <awalton@svn.gnome.org>
2800 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2801 (g_app_info_get_default_for_type):
2802 Check for NULL content types.
2804 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2806 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2808 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2810 * gfile.c: *_async() functions: Several small corrections
2811 to the documentation, mostly correcting copy/paste errors
2812 and improving some sentences.
2814 2008-01-09 Dan Winship <danw@gnome.org>
2816 * glocalfile.c (get_unique_filename): x86_64 fix
2818 2008-01-09 Alexander Larsson <alexl@redhat.com>
2823 Add g_unix_mount_guess_should_display and use
2824 for unix volume monitor backend.
2825 This means we more or less show what the
2826 gnome-vfs backend did.
2827 Based on patch from Padraig O'Briain
2829 2008-01-09 Alexander Larsson <alexl@redhat.com>
2833 Add g_themed_icon_new_with_default_fallbacks
2836 Use default fallbacks for icons
2838 2008-01-09 Alexander Larsson <alexl@redhat.com>
2841 * gmountoperation.[ch]:
2842 Change the API a bit so that unhandled methods
2843 get reported via the reply, rather than by
2844 the signal emission return value. This is because
2845 some handlers can't know this immediately without
2846 doing I/O, and this is an async operation that
2849 2008-01-09 Alexander Larsson <alexl@redhat.com>
2852 * fam/gfamdirectorymonitor.c:
2853 * fam/gfamfilemonitor.c:
2854 Fix double free crash (#508224)
2855 Patch from Joe Marcus Clarke
2857 008-01-07 Matthias Clasen <mclasen@redhat.com>
2859 * === Released 2.15.1 ===
2861 2008-01-07 Alexander Larsson <alexl@redhat.com>
2863 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2864 Fix warning (#507835)
2866 2008-01-07 Alexander Larsson <alexl@redhat.com>
2869 Pass --internal to glib-genmarshal
2872 * gmountoperation.c:
2874 Use better types for signal arguments (#507822)
2876 2008-01-07 Alexander Larsson <alexl@redhat.com>
2879 Build test subdir after .
2880 Remove gdirectorymonitor.[ch]
2882 * gdirectorymonitor.[ch]:
2886 Remove GDirectoryMonitor and make
2887 GFileMonitor the baseclass for both file and
2888 directory monitors. Lift the more generic
2889 rate limiting code from GDirectoryMonitor
2893 * fam/gfamdirectorymonitor.[ch]:
2894 * inotify/ginotifydirectorymonitor.[ch]:
2895 * inotify/inotify-helper.c:
2896 * glocaldirectorymonitor.[ch]:
2899 Update for the removed GDirectoryMonitor.
2901 * gmemoryoutputstream.c:
2902 Remove ununsed variable
2904 2008-01-07 Alexander Larsson <alexl@redhat.com>
2906 * gmemoryinputstream.c:
2907 Translate error strings
2910 * gmemoryoutputstream.[ch]:
2911 New implementation that avoids using GByteArray
2912 in implementation and API. (#506377)
2914 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2916 * tests/*: Add a test for memory input streams.
2918 * Makefile.am: Add tests to SUBDIRS.
2920 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2922 * glocalfilemonitor.c:
2923 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2926 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2928 * gdesktopappinfo.c: Fix a docs typo.
2930 * gfileattribute.c: Add information about extended attributes
2931 to the documentation. (#505058)
2933 2008-01-04 Alexander Larsson <alexl@redhat.com>
2936 * gmountoperation.c:
2937 Use the right type (uint) for the ask_password signal.
2939 2008-01-04 Alexander Larsson <alexl@redhat.com>
2944 Add g_app_info_supports_files()
2945 Remove desktop arg from g_app_info_should_show().
2947 * gdesktopappinfo.[ch]:
2948 Implement g_app_info_supports_files() and new should_show()
2949 Add g_desktop_app_info_set_desktop_env() to set the desktop
2950 for should_show(). (This will be set by gtk+ later)
2952 2008-01-04 Alexander Larsson <alexl@redhat.com>
2955 * gmemoryinputstream.[ch]:
2956 Improve API so that you can use multiple chunks
2957 of memory and custom destroy functions. (#506374)
2959 2008-01-03 Alexander Larsson <alexl@redhat.com>
2962 Handle NULL attribute matchers safely, as we return this
2963 for empty attribute matcher strings.
2965 2008-01-03 Alexander Larsson <alexl@redhat.com>
2967 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2968 Add /usr/local to list of internal mountpoints
2970 2008-01-03 Alexander Larsson <alexl@redhat.com>
2973 Check for HAVE_LCHOWN (#505887)
2975 2008-01-03 Alexander Larsson <alexl@redhat.com>
2979 Add define for selinux context attribute.
2980 Fix missing : -> :: namespace separator change
2981 Fix missing _ -> - name change for xattr-sys.
2984 2008-01-03 Alexander Larsson <alexl@redhat.com>
2987 Link to libglib and libgobject directly (#504879)
2988 Patch from Sebastien Bacher
2990 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2992 * gfile.c: Expanded the g_file_new_for_commandline_arg
2993 description a bit, based on the code and the docs of the
2994 other g_file_new_for_* functions.
2996 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2998 * gfilemonitor.h: Fixed typo in docs.
3000 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3002 Updates to GIO documentation. (#506395, Mikael Hermansson)
3004 * gcontenttype.c: Describe memory management for return value of
3005 g_content_types_get_registered(). Missing piece from #505815.
3006 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3007 GVolume, GDrive, GMounts, which hopefully gives the user less
3008 confusions when using this API. Following explainations from
3009 Alexander Larsson on gtk-devel-list.
3011 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3013 * gfileinfo.c: Expand the long description.
3015 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3018 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3019 fix builds with --disable-visibility. (#500273, Christian Persch)
3021 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3023 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3024 in the list of returned app infos.
3026 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3028 * gappinfo.c: Fix a cross-reference
3030 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3032 * gfileinputstream.c:
3033 * gfileoutputstream.c:
3037 * gdesktopappinfo.c:
3039 * gfileinfo.c: Documentation updates.
3041 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3043 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3046 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3048 * gcontenttype.c (g_content_types_get_registered): Don't return
3049 freed memory (#505815, Mikael Hermansson)
3051 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3053 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3054 used to detect statbuf->st_blocks. (#505042)
3056 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3058 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3059 environment handling. (#504829, Cosimo Cecchi)
3061 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3063 * gappinfo.c: Doc improvements
3065 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3068 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3070 * === Released 2.15.0 ===
3072 2007-12-20 Hans Breuer <hans@breuer.org>
3074 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3075 with symbols gwin32appinfo.obj, added gmount.obj
3076 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3078 2007-12-20 Alexander Larsson <alexl@redhat.com>
3084 * gfilenamecompleter.c:
3087 * gpollfilemonitor.c:
3088 File attribute renames:
3090 fs:: -> filesystem::
3091 id::fs -> id::filesystem
3093 2007-12-20 Alexander Larsson <alexl@redhat.com>
3102 Add GMountUnmountFlags to all unmount and
3104 Add g_mount_remount() call.
3106 2007-12-20 Alexander Larsson <alexl@redhat.com>
3108 * gvfs.c (get_default_vfs):
3109 Fix unused variable warning
3111 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3113 * pltcheck.sh: Update
3115 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3117 * gunionvolumemonitor.c:
3118 * gunixmount.c: Remove C99 comments
3120 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3122 * gio.symbols: Add some missing symbols
3124 2007-12-19 Alexander Larsson <alexl@redhat.com>
3127 Make g_io_modules_load_all_in_directory not unuse
3128 loaded modules so that users of it can do stuff
3130 Init internal "module" types.
3131 Initialize static prio and name for types so that
3132 we don't have to load modules to get it.
3134 * gnativevolumemonitor.h:
3136 Move is_supported to parent class so that
3137 non-native monitors can avoid being initialized
3138 too. (For instance GDaemonVolumeMonitor if we're
3139 not using GDaemonVfs.)
3141 * glocaldirectorymonitor.[ch]:
3142 * glocalfilemonitor.[ch]:
3143 * gunionvolumemonitor.c:
3144 * gunixvolumemonitor.c:
3146 Find plugins using the static prio+name to
3147 avoid unnecessarily loading the modules.
3149 2007-12-19 Alexander Larsson <alexl@redhat.com>
3154 2007-12-19 Alexander Larsson <alexl@redhat.com>
3156 * gunionvolumemonitor.c:
3157 Store the native type as GType, not class so that
3158 we can unload it. But still avoid unnecessarily
3161 2007-12-19 David Zeuthen <davidz@redhat.com>
3163 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3164 add signals 'disconnected' and 'eject-button' on GDrive. Add
3165 signal 'removed' on GVolume and 'unmounted' on GMount.
3167 * gdrive.c: (g_drive_base_init):
3169 * gfile.c: (g_file_mount_mountable),
3170 (g_file_mount_enclosing_volume):
3173 * gmount.c: (g_mount_base_init):
3175 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3176 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3177 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3181 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3183 * *.c: Fix up includes in the section docs.
3185 2007-12-17 Alexander Larsson <alexl@redhat.com>
3187 * gnativevolumemonitor.h:
3188 * gunionvolumemonitor.c:
3189 * gunixvolumemonitor.c:
3190 Add is_supported() to GNativeVolumeMonitorClass so
3191 that we can avoid having to create an object to see
3192 if the backend is supported at runtime.
3193 Also add name member and an env var to pick a specific
3194 volume monitor backend.
3198 Add cancellable to _g_mount_get_for_mount_path()
3200 * glocaldirectorymonitor.c:
3201 * glocalfilemonitor.c:
3202 Avoid loading and unloading modules while sorting.
3204 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3207 * gunixmounts.[hc]: Namespace waste reduction, move some
3208 g_get_unix_mount functions to the g_unix_mount namespace.
3211 * gunixvolumemonitor.c:
3213 * glocaldirectorymonitor.c: Update all callers.
3215 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3217 2007-12-17 Alexander Larsson <alexl@redhat.com>
3220 Add doc comments about what GFile operations are
3221 guaranteed to not block.
3223 2007-12-17 Alexander Larsson <alexl@redhat.com>
3226 Add missing #ifdef fixing OSX build.
3227 (#503334, patch from Richard Hult)
3229 2007-12-14 David Zeuthen <davidz@redhat.com>
3233 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3234 (g_mount_eject), (g_mount_eject_finish):
3236 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3237 (get_volume_for_uuid), (get_mount_for_uuid),
3238 (g_union_volume_monitor_class_init),
3239 (get_default_native_type_with_exclude), (get_default_native_type),
3240 (get_native_type), (update_native_type),
3241 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3242 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3243 (g_unix_mount_can_eject), (eject_unmount_cb),
3244 (eject_unmount_read_error), (eject_unmount_do),
3245 (g_unix_mount_unmount), (g_unix_mount_eject),
3246 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3247 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3248 (g_unix_mount_point_guess_can_eject):
3250 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3251 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3252 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3253 (g_unix_volume_mount), (g_unix_volume_eject),
3254 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3255 * gunixvolumemonitor.c: (get_volume_for_uuid),
3256 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3258 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3259 (g_volume_eject), (g_volume_eject_finish):
3261 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3262 (g_volume_monitor_get_mount_for_uuid):
3265 Provide eject() on both GMount and GVolume and utility functions
3266 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3267 ejected. Introduce the concept of UUID's and wire it into GVolume
3268 and GMount and provide API on GVolumeMonitor to find such
3269 instances. Also handle the case where an external
3270 GNativeVolumeMonitor fails to initialize. Lock around the
3271 _g_get_mount_for_mount_path() function such that volume monitor
3272 implementations won't have to do locking themselves.
3274 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3276 * gdesktopappinfo.c:
3282 * gvolume.h: Documentation updates
3284 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3287 * gfile.h: Doc updates
3289 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3292 * gdesktopappinfo.c: Use hash table iterators.
3294 2007-12-14 Alexander Larsson <alexl@redhat.com>
3297 * gfileattribute.[ch]:
3298 * gfileattribute-priv.h:
3299 Move GFileAttributeValue to a private header, as
3303 Make set_attribute take a type + a pointer instead
3304 of a GFileAttributeValue.
3307 Fix up for above changes.
3308 Add g_file_info_get_attribute_data to get
3309 all info in one call, g_file_info_get_attribute_status
3310 to get the status and g_file_info_get_attribute_as_string.
3314 * glocalfileinfo.[ch]:
3318 Make _guess_type static.
3320 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3323 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3324 made mkenums and friends use temporary files to avoid leaving
3325 empty generated files on failure (#503470).
3327 2007-12-14 Alexander Larsson <alexl@redhat.com>
3329 * gmountoperation.h:
3332 2007-12-14 Alexander Larsson <alexl@redhat.com>
3336 * gfileattribute.[ch]:
3339 * glocalfileoutputstream.c:
3340 * gmountoperation.[ch]:
3341 * goutputstream.[ch]:
3342 Clean up all flags enums to not have _FLAGS in them
3343 Make the names of some of the enums better.
3348 2007-12-14 Michael Natterer <mitch@imendio.com>
3350 * gio.symbols: fix g_io_scheduler symbol names.
3352 2007-12-14 Alexander Larsson <alexl@redhat.com>
3358 * gbufferedinputstream.h:
3359 * gbufferedoutputstream.h:
3362 * gdatainputstream.h:
3363 * gdataoutputstream.h:
3364 * gdesktopappinfo.h:
3365 * gdirectorymonitor.h:
3369 * gfileenumerator.h:
3372 * gfileinputstream.h:
3374 * gfilenamecompleter.h:
3375 * gfileoutputstream.h:
3376 * gfilterinputstream.h:
3377 * gfilteroutputstream.h:
3385 * gmemoryinputstream.h:
3386 * gmemoryoutputstream.h:
3388 * gmountoperation.h:
3391 * gsimpleasyncresult.h:
3393 * gunixinputstream.h:
3395 * gunixoutputstream.h:
3399 * inotify/Makefile.am:
3400 Only allow including <gio/gio.h> from apps
3402 2007-12-14 Alexander Larsson <alexl@redhat.com>
3404 * gioscheduler.[ch]:
3405 * gsimpleasyncresult.c:
3406 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3407 Split out the send_to_mainloop call into two versions instead
3408 of having the block argument.
3410 2007-12-13 Alexander Larsson <alexl@redhat.com>
3412 * gcancellable.[ch]:
3414 * gbufferedinputstream.c:
3415 * gfileenumerator.c:
3416 * gfileinputstream.c:
3417 * gfileoutputstream.c:
3421 g_push/pop_current_cancellable ->
3422 g_cancellable_push/pop_current
3424 2007-12-13 Alexander Larsson <alexl@redhat.com>
3428 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3430 2007-12-13 Alexander Larsson <alexl@redhat.com>
3432 * gmountoperation.h:
3433 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3435 2007-12-12 Alexander Larsson <alexl@redhat.com>
3438 Fix race condition when freeing proxy in
3439 g_io_job_send_to_mainloop().
3441 2007-12-12 Alexander Larsson <alexl@redhat.com>
3447 Make attribute namespace separator "::" instead of ":".
3448 Use - instead of _ as separator in attribute names.
3450 2007-12-12 Alexander Larsson <alexl@redhat.com>
3452 * gbufferedinputstream.h:
3453 * gbufferedoutputstream.h:
3454 * gdatainputstream.h:
3455 * gdataoutputstream.h:
3456 * gdirectorymonitor.h:
3457 * gfileenumerator.h:
3458 * gfileinputstream.h:
3460 * gfileoutputstream.h:
3461 * gfilterinputstream.h:
3462 * gfilteroutputstream.h:
3464 * glocalfileinputstream.h:
3465 * glocalfileoutputstream.h:
3466 * gmemoryinputstream.h:
3467 * gmemoryoutputstream.h:
3468 * gnativevolumemonitor.h:
3470 * gunixinputstream.h:
3471 * gunixoutputstream.h:
3474 s/parent/parent_instance/ in GObjects
3476 2007-12-12 Alexander Larsson <alexl@redhat.com>
3481 No need for padding for interfaces
3483 2007-12-12 Alexander Larsson <alexl@redhat.com>
3487 * gbufferedinputstream.c:
3488 * gbufferedoutputstream.c:
3491 * gdatainputstream.[ch]:
3492 * gdesktopappinfo.c:
3493 * gdirectorymonitor.c:
3495 * gfileattribute.[ch]:
3498 * gfileinputstream.h:
3499 * gfilemonitor.[ch]:
3500 * gfileoutputstream.[ch]:
3501 * gfilterinputstream.h:
3502 * gfilteroutputstream.h:
3505 * gloadableicon.[ch]:
3506 * gmemoryinputstream.c:
3507 * gmountoperation.c:
3509 Fix up a bunch of details in the docs.
3514 2007-12-11 David Zeuthen <davidz@redhat.com>
3516 Rework how volumes, drives and volume monitoring is
3517 done. Previosly the model was
3519 GDrive <1-1> GVolume
3521 where a GDrive instance represented a mount point and a GVolume
3522 instance represented a mounted file system. This patch changes it
3525 GDrive <1-N> GVolume <1-1> GMount
3527 where GMount now serves the purpose of the old GVolume and the new
3528 GVolume serves the purpose of the old GDrive. In addition the new
3529 GDrive interface is used to represent a collection of GVolume
3530 instances (typically partitions) and also contains utility to query
3531 the state of the physical drive the GDrive object represents (such
3532 as checking for media, polling the drive, ejecting the media etc.).
3534 Also implement mounting and unmounting in the Unix volume monitor
3535 backend. A subquent patch will introduce GDrive support for ejection
3539 * gdrive.c: (g_drive_is_media_check_automatic),
3540 (g_drive_is_media_removable), (g_drive_has_media),
3541 (g_drive_can_poll_for_media), (g_drive_eject),
3542 (g_drive_eject_finish), (g_drive_poll_for_media),
3543 (g_drive_poll_for_media_finish):
3545 * gfile.c: (g_file_find_enclosing_mount):
3548 * glocaldirectorymonitor.c:
3549 (g_local_directory_monitor_constructor), (mounts_changed):
3550 * glocalfile.c: (get_mount_info),
3551 (g_local_file_find_enclosing_mount),
3552 (g_local_file_file_iface_init):
3553 * gnativevolumemonitor.h:
3554 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3555 (get_connected_drives), (g_union_volume_monitor_class_init),
3556 (child_volume_added), (child_volume_removed),
3557 (child_volume_changed), (child_mount_added), (child_mount_removed),
3558 (child_mount_pre_unmount), (child_mount_changed),
3559 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3560 (g_union_volume_monitor_remove_monitor),
3561 (_g_mount_get_for_mount_path):
3562 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3563 (guess_system_internal), (_g_get_unix_mounts),
3564 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3565 (g_unix_mount_free), (g_unix_mount_compare),
3566 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3567 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3568 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3569 (type_to_icon), (g_unix_mount_guess_name),
3570 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3571 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3572 (_resolve_symlink), (_resolve_dev_root):
3574 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3575 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3576 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3577 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3578 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3579 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3580 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3581 (g_unix_volume_volume_iface_init):
3583 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3584 (get_mounts), (get_volumes), (get_connected_drives),
3585 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3586 (mountpoints_changed), (mounts_changed),
3587 (g_unix_volume_monitor_init),
3588 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3589 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3590 * gunixvolumemonitor.h:
3591 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3592 (g_volume_mount), (g_volume_mount_finish):
3594 * gvolumemonitor.c: (g_volume_monitor_class_init),
3595 (g_volume_monitor_get_connected_drives),
3596 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3599 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3601 * gmountoperation.h (GPasswordFlags): Close the gap
3603 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3605 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3607 * gdesktopappinfo.[hc]: Remove _-prefixes
3609 2007-12-10 Tor Lillqvist <tml@novell.com>
3611 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3614 2007-12-10 Alexander Larsson <alexl@redhat.com>
3616 * gfile.c (g_file_set_display_name):
3617 Don't hardcode '/' (#502727)
3619 2007-12-09 Hans Breuer <hans@breuer.org>
3621 * makefile.msc : follow lib naming convention
3622 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3623 for user and group name, tested with ../tests/gio-ls
3625 2007-12-09 A. Walton <awalton@svn.gnome.org>
3627 * gdesktopappinfo.c:
3633 * gfileenumerator.c:
3638 * gmemoryinputstream.c:
3639 * gmemoryoutputstream.c:
3641 * gsimpleasyncresult.c:
3642 More documentation cleanup and filling in missing information, bringing
3643 GIO to 99% symbol coverage.
3645 2007-12-08 Hans Breuer <hans@breuer.org>
3647 [gio compiles and links on win32, not sure how much already works]
3648 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3649 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3650 base on win32 API; prefer g_lstat() over lstat(); instead of
3651 localtime_r() use an all GLib implementation on win32;
3652 get_mount_info() still needs a win32 specifc implementation
3653 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3654 win32_get_file_user_info to get owner/group info without uid/gid
3655 * glocalfileinputstream.c : include <io.h> on win32
3656 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3657 definition, use g_win32_ftruncate() for G_OS_WIN32
3658 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3659 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3660 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3661 * makefile.msc : updated
3663 2007-12-07 Alexander Larsson <alexl@redhat.com>
3665 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3666 Avoid warning spew if error == NULL
3668 2007-12-07 Alexander Larsson <alexl@redhat.com>
3671 Update docs wrt etags
3673 2007-12-06 Alexander Larsson <alexl@redhat.com>
3676 Include sys/types.h for dev_t (#501919)
3678 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3682 Make abicheck and pltcheck pass.
3684 2007-12-05 Alexander Larsson <alexl@redhat.com>
3687 * giomodule-priv.h: Added.
3688 * glocaldirectorymonitor.c:
3689 * glocalfilemonitor.c:
3690 * gunionvolumemonitor.c:
3692 Actually add the declaration of _g_io_modules_ensure_loaded
3694 2007-12-05 Alexander Larsson <alexl@redhat.com>
3696 * gdatainputstream.c:
3701 * glocaldirectorymonitor.c:
3702 * glocalfilemonitor.c:
3703 * gunionvolumemonitor.c:
3705 Make g_io_modules_ensure_loaded a private function and
3706 don't pass in the dirname. This means we can do magic
3707 directory finding in the win32 version.
3708 Export the actual load-modules-in-directory code so that
3709 gvfs can reuse that.
3711 2007-12-05 Alexander Larsson <alexl@redhat.com>
3713 * gbufferedinputstream.c:
3714 * gbufferedoutputstream.c:
3717 * gfileenumerator.[ch]:
3718 * gfileinputstream.c:
3719 * gfileoutputstream.[ch]:
3720 * gfilterinputstream.c:
3721 * gfilteroutputstream.c:
3722 * ginputstream.[ch]:
3724 * glocalfileenumerator.c:
3725 * glocalfileinputstream.c:
3726 * glocalfileoutputstream.c:
3727 * gmemoryinputstream.c:
3728 * gmemoryoutputstream.c:
3729 * goutputstream.[ch]:
3732 * gunixinputstream.c:
3733 * gunixoutputstream.c:
3734 Rename all struct members named:
3735 read, write, close, truncate, or mount
3736 to foo_fn, as these are reserved names
3737 and could be defined as macros in libc.
3740 2007-12-04 Alexander Larsson <alexl@redhat.com>
3743 (g_output_stream_close):
3744 Only call flush if non-null.
3746 2007-11-30 Dan Winship <danw@gnome.org>
3748 * ginputstream.c (g_input_stream_set_pending): Make this take a
3749 GError and return a gboolean, and do the "outstanding operation"
3750 check (and the "stream is already closed" check) itself.
3751 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3753 * goutputstream.c (g_output_stream_set_pending)
3754 (g_output_stream_clear_pending): Likewise
3756 * gbufferedinputstream.c:
3757 * gfileinputstream.c:
3758 * gfileoutputstream.c: Update for that
3760 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3761 Like g_simple_async_report_error_in_idle, but takes a GError
3762 rather than building one.
3764 2007-11-30 Dan Winship <danw@gnome.org>
3766 * goutputstream.c: Don't cheat and unset the "pending" flag around
3767 inner calls. Instead, call the class method directly rather than
3768 the wrapper function that checks "pending"
3770 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3772 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3774 2007-12-03 Hans Breuer <hans@breuer.org>
3776 [start of port to win32/msvc]
3777 * gcancellable.c : HAVE_UNIST_H and _pipe()
3778 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3779 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3780 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3782 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3783 * glocalvfs.c : use HAVE_PWD_H
3784 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3785 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3786 * Makefile.am : added to EXTRA_DIST
3788 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3790 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3793 2007-12-03 Alexander Larsson <alexl@redhat.com>
3796 Handle OSX style xattrs API (#500506)
3798 2007-12-03 Alexander Larsson <alexl@redhat.com>
3802 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3804 2007-12-02 A. Walton <awalton@svn.gnome.org>
3808 Documentation accuracy fixes.
3810 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3812 * gioenumtypes.c.template: Fix typo.
3814 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3816 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3818 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3820 * gdirectorymonitor.c:
3821 * gfilemonitor.c: Add properties
3823 * gbufferedoutputstream.c: Don't mark buffer-size property
3826 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3828 * gbufferedoutputstream.c: Add auto-grow property.
3830 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3832 * *.c: Unify the capitalization of section headings.
3834 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3836 * gmountoperation.c: Add properties
3838 * gdatainputstream.c: Turn byte-order and newline-type into
3841 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3843 * gioenumtypes.[hc].template: Templates for enum registration
3845 * Makefile.am: Generate gioenumtypes.[hc]
3847 * gio.h: Include gioenumtypes.h
3849 * gfile.h: Add some explicit nicks.
3851 * gio.symbols: Add new symbols
3853 * pltcheck.sh: Adjust
3855 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3857 * *.c: Explain etags and link to the explanation
3859 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3861 * *.c: Explain I/O priority.
3863 * *.c: More coding style fixes.
3865 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3867 * gasyncresult.c: Add another paragraph to the intro,
3868 adjust coding style of example.
3870 2007-11-29 A. Walton <awalton@svn.gnome.org>
3873 Fixes unknown meaning in GAppLaunchContext docs.
3875 Clarify asynchronous ops.
3877 Fix entity tag docs.
3880 Provides missing gtk-doc section, fixes API docs slighly.
3881 * gsimpleasyncresult.c:
3882 Fill in missing info in docs.
3883 * gunixinputstream.c:
3884 * gunixoutputstream.c:
3885 Be more expressive in short description.
3887 Remove gtk-doc stubs for non-public API.
3889 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3891 * *.c: Coding style fixups
3893 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3895 * inotify/inotify-helper.c: Don't export the lock from libgio.
3897 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3900 * abicheck.sh: Fix copy-and-paste leftovers
3902 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3904 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3906 2007-11-28 Alexander Larsson <alexl@redhat.com>
3910 Removed unnecessary file
3912 * gdesktopappinfo.[ch]:
3915 * glocaldirectorymonitor.[ch]:
3917 * glocalfileenumerator.[ch]:
3918 * glocalfileinputstream.[ch]:
3919 * glocalfilemonitor.[ch]:
3920 * glocalfileoutputstream.[ch]:
3922 * gnativevolumemonitor.c:
3923 * gpollfilemonitor.[ch]:
3924 * gunionvolumemonitor.[ch]:
3927 * gunixvolumemonitor.[ch]:
3930 * inotify/ginotifydirectorymonitor.[ch]:
3931 * inotify/ginotifyfilemonitor.[ch]:
3932 * inotify/inotify-helper.c:
3933 Append _ to all internal functions
3937 Export symbols needed for modules
3939 2007-11-28 Alexander Larsson <alexl@redhat.com>
3942 * abicheck.sh: Added.
3943 * makegioalias.pl: Added.
3944 * pltcheck.sh: Added.
3945 * gio.symbols: Added.
3948 Initial work on adding symbol handling.
3951 Correct ifdef guard name
3954 * inotify/Makefile.am:
3955 * xdgmime/Makefile.am:
3956 Include toplevel Makefile.decl
3958 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3960 * gcontenttype.c: Move doc comments to the unix section.
3962 * *.[hc]: More trivial doc corrections.
3964 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3966 * gpollfilemonitor.c:
3970 * gdesktopappinfo.c:
3975 * gdatainputstream.c:
3976 * gdatainputstream.h:
3977 * gdataoutputstream.c:
3978 * gdataoutputstream.h:
3979 * gfileinfo.h: Doc cleanups
3981 2007-11-28 Andre Klapper <a9016009@gmx.de>
3983 * gdesktopappinfo.c: Fix a typo.
3985 2007-11-27 Andre Klapper <a9016009@gmx.de>
3987 * glocalfileoutputstream.c: Fix a typo.
3989 2007-11-27 Alexander Larsson <alexl@redhat.com>
3992 Don't include removed headers
3994 2007-11-27 Alexander Larsson <alexl@redhat.com>
3997 * gsocketinputstream.[ch]: Removed.
3998 * gsocketoutputstream.[ch]: Removed.
3999 * gunixinputstream.[ch]: Added.
4000 * gunixoutputstream.[ch]: Added.
4001 Renamed GSocket*Stream to GUnix*Stream and made
4002 it unix-only, since its not really only for sockets
4003 and it only works on unix (but is highly useful there).
4005 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4011 * gbufferedinputstream.c:
4012 * gbufferedinputstream.h:
4013 * gbufferedoutputstream.c:
4014 * gbufferedoutputstream.h:
4018 * gdatainputstream.c:
4019 * gdatainputstream.h:
4020 * gdataoutputstream.c:
4021 * gdataoutputstream.h:
4022 * gdirectorymonitor.c:
4023 * gdirectorymonitor.h:
4030 * gfileenumerator.c:
4031 * gfileenumerator.h:
4036 * gfileinputstream.c:
4037 * gfileinputstream.h:
4040 * gfilenamecompleter.c:
4041 * gfilenamecompleter.h:
4042 * gfileoutputstream.c:
4043 * gfileoutputstream.h:
4044 * gfilterinputstream.c:
4045 * gfilterinputstream.h:
4046 * gfilteroutputstream.c:
4047 * gfilteroutputstream.h:
4060 * glocalfileoutputstream.c:
4061 * gmemoryinputstream.c:
4062 * gmemoryinputstream.h:
4063 * gmemoryoutputstream.c:
4064 * gmemoryoutputstream.h:
4065 * gmountoperation.c:
4066 * gmountoperation.h:
4069 * gpollfilemonitor.c:
4072 * gsimpleasyncresult.c:
4073 * gsimpleasyncresult.h:
4074 * gsocketinputstream.c:
4075 * gsocketinputstream.h:
4076 * gsocketoutputstream.c:
4077 * gsocketoutputstream.h:
4084 * gunixvolumemonitor.c:
4093 Bumps documentation to 93% symbol coverage, touching most
4094 of the public files. Fixes broken function documentation prototypes.
4095 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4096 gtk-doc headers in private files.
4098 2007-11-27 Jürg Billeter <j@bitron.ch>
4100 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4101 (g_buffered_input_stream_read_byte):
4102 * gbufferedinputstream.h:
4103 New functions for efficient access to buffer and simple single byte
4106 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4107 (g_data_input_stream_read_until):
4108 * gdatainputstream.h:
4109 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4110 read_until with multiple stop chars.
4112 2007-11-27 Alexander Larsson <alexl@redhat.com>
4116 * inotify/Makefile.am:
4117 Use the user-specified giomoduledir
4119 2007-11-27 Alexander Larsson <alexl@redhat.com>
4123 Add catch-all gio.h header
4124 Don't install gdummyfile.h
4126 2007-11-26 Alexander Larsson <alexl@redhat.com>
4128 * Makefile.am (gioinclude_HEADERS):
4129 Remove trailing whitespace
4131 2007-11-26 Alexander Larsson <alexl@redhat.com>
4133 Merge gio-standalone into glib
4135 2007-11-25 Christian Kellner <gicmo@gnome.org>
4137 * gio/goutputstream.c:
4138 Fix small mistake in the docs.
4140 2007-11-21 Christian Persch <chpe@gnome.org>
4142 * gio/glocalfile.c: (g_local_file_trash):
4143 Convert filenames to UTF-8 for GError.
4144 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4145 as per xdg base dir spec.
4147 2007-11-21 Christian Persch <chpe@gnome.org>
4149 * gio/gdesktopappinfo.c:
4150 Use that g_key_file_to_data cannot fail.
4152 Use stock defines for the key file group and key names.
4155 2007-11-21 Alexander Larsson <alexl@redhat.com>
4158 (copy_stream_with_progress):
4159 Make sure we do a final progress callback with
4160 the full total size.
4162 2007-11-21 Alexander Larsson <alexl@redhat.com>
4165 Export g_file_copy_attributes
4166 Remove padding as its not needed for interfaces
4168 2007-11-20 Alexander Larsson <alexl@redhat.com>
4173 Add G_IO_ERROR_WOULD_MERGE for
4174 copy/move dir on dir with overwrite.
4176 2007-11-20 Alexander Larsson <alexl@redhat.com>
4179 * gio/glocalfileinfo.c:
4180 Add COPY_NAME (this is an optional
4181 non-modified utf8 version of the name) that
4184 2007-11-20 Alexander Larsson <alexl@redhat.com>
4186 * gio/glocalfileenumerator.c:
4187 Report errors as GIOError, not GFileError
4189 2007-11-16 Alexander Larsson <alexl@redhat.com>
4191 * gio/glocalfileoutputstream.c:
4192 * gio/gwin32appinfo.c:
4193 Fix typos in strings.
4194 Patch from Luca Ferretti <elle.uca@libero.it>
4196 2007-11-15 Alexander Larsson <alexl@redhat.com>
4199 Post release version bump
4201 === gio-standalone 0.1.2 ===
4203 2007-11-15 Alexander Larsson <alexl@redhat.com>
4205 * docs/reference/gio/Makefile.am:
4206 Fix up distcheck by removing weird
4212 2007-11-14 Alexander Larsson <alexl@redhat.com>
4214 * gio/gdesktopappinfo.c:
4215 * gio/glocaldirectorymonitor.c:
4217 * gio/glocalfileinfo.c:
4218 * gio/inotify/inotify-sub.c:
4219 * programs/gio-cat.c:
4220 * programs/gio-copy.c:
4221 * programs/gio-info.c:
4222 * programs/gio-ls.c:
4223 * programs/gio-monitor-dir.c:
4224 * programs/gio-monitor-file.c:
4225 * programs/gio-mount.c:
4226 * programs/gio-move.c:
4227 * programs/gio-rm.c:
4228 * programs/gio-save.c:
4229 * programs/gio-trash.c:
4230 Leak fixes from Kjartan Maraas
4232 2007-11-14 Alexander Larsson <alexl@redhat.com>
4234 * gio/fam/fam-helper.c:
4236 * gio/glocalfileinfo.c:
4240 * gio/inotify/inotify-diag.c:
4241 * gio/inotify/inotify-kernel.c:
4242 Various code cleanups from Kjartan Maraas
4244 2007-11-14 Alexander Larsson <alexl@redhat.com>
4246 * gio/gioscheduler.c:
4248 Set up threadpool so that we cache 2 unused
4249 idle threads for at 15 secs. This means we
4250 will reuse thread-local data (like dbus connections)
4253 2007-11-14 Alexander Larsson <alexl@redhat.com>
4255 * gio/fam/fam-helper.c:
4256 * gio/fam/gfamdirectorymonitor.c:
4257 * gio/fam/gfamfilemonitor.c:
4259 * gio/gcontenttype.c:
4260 * gio/gdatainputstream.c:
4261 * gio/gdataoutputstream.c:
4265 * gio/gfileattribute.h:
4266 * gio/gfileenumerator.c:
4268 * gio/ginputstream.c:
4271 * gio/glocalfileinfo.c:
4272 * gio/goutputstream.c:
4273 * gio/gpollfilemonitor.c:
4274 * gio/gsimpleasyncresult.c:
4275 * gio/gunixmounts.c:
4276 * gio/gunixmounts.h:
4277 * gio/inotify/ginotifydirectorymonitor.c:
4278 * gio/inotify/ginotifyfilemonitor.c:
4279 * gio/inotify/inotify-diag.c:
4280 * gio/inotify/inotify-kernel.c:
4281 * gio/inotify/inotify-path.c:
4283 * gio/test-streams.c:
4284 * programs/gio-info.c:
4285 * programs/gio-monitor-dir.c:
4286 * programs/gio-monitor-file.c:
4287 Various code cleanups from Kjartan Maraas
4289 2007-11-13 Alexander Larsson <alexl@redhat.com>
4292 Handle the uri-scheme calls for dummy files
4294 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4296 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4297 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4298 to avoid clash with the C++ keyword.
4300 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4302 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4303 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4305 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4307 * gio/glocaldirectorymonitor.c:
4308 * gio/glocalfilemonitor.c:
4309 * gio/gunionvolumemonitor.c:
4310 Don't use g_once_init_*() for initializations that could fail and
4311 could leave the initialization variable set to 0 but use GOnce.
4312 This prevents a deadlock on the second call when trying to create
4313 a monitor and no monitor type is available. Thanks to Sven Herzberg
4316 2007-11-11 Sven Herzberg <sven@imendio.com>
4318 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4319 #ifdef (make it work on MacOS X again)
4321 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4323 Fixes Changelog for last two commits (sorry guys).
4325 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4327 * gio/gbufferedinputstream.c:
4328 * gio/gdatainputstream.c:
4330 * gio/gfileoutputstream.c:
4331 * gio/gfilterinputstream.c:
4332 * gio/glocalfileinputstream.c:
4335 More consistency fixes in g*stream.c files.
4336 Significant clean of gfile's documentation, filling in of
4337 asynchronous operations documentation.
4339 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4341 * gio/gasyncresult.c:
4342 * gio/gbufferedinputstream.c:
4343 * gio/gbufferedoutputstream.c:
4344 * gio/gcancellable.c:
4345 * gio/gcontenttype.c:
4346 * gio/gdatainputstream.c:
4347 * gio/gdataoutputstream.c:
4348 * gio/gdesktopappinfo.c:
4351 * gio/gfileattribute.c:
4352 * gio/gio/gfileenumerator.c:
4354 * gio/gfileinputstream.c:
4355 * gio/gfilemonitor.c:
4356 * gio/gfileoutputstream.c:
4357 * gio/ginputstream.c:
4359 * gio/gioscheduler.c:
4360 * gio/gloadableicon.c:
4361 * gio/glocalfileoutputstream.c:
4362 * gio/gmemoryoutputstream.c:
4363 * gio/gmountoperation.c:
4364 * gio/goutputstream.c:
4366 * gio/gsimpleasyncresult.c:
4367 * gio/gunionvolumemonitor.c:
4368 * gio/gunixmounts.c:
4369 * gio/gunixvolume.c:
4373 * gio/gvolumemonitor.c:
4374 Updated documentation stubs, working towards consistency and
4377 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4379 * gio/gmemoryoutputstream.c:
4380 * gio/gmemoryoutputstream.h:
4381 Change g_memory_output_stream_set_free_on_close() to
4382 g_memory_output_stream_set_free_data() as this makes more sense and
4383 is more consistent with GMemoryInputStream.
4385 2007-11-07 Alexander Larsson <alexl@redhat.com>
4392 Change how we find the default vfs so that
4393 we can handle a gvfs failing to init
4395 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4397 * gio/gbufferedoutputstream.c:
4398 * gio/gdatainputstream.c:
4399 * gio/gdataoutputstream.c:
4400 * gio/gfileinputstream.c:
4401 * gio/gfileoutputstream.c:
4402 * gio/gfilterinputstream.c:
4403 * gio/gfilteroutputstream.c:
4404 * gio/ginputstream.c:
4405 * gio/gmemoryinputstream.c:
4406 * gio/gmemoryoutputstream.c:
4407 * gio/goutputstream.c:
4408 * gio/gsimpleasyncresult.c:
4409 * gio/gsocketinputstream.c:
4410 * gio/gsocketoutputstream.c:
4411 Add guards to the remaining public functions, add a TODO for
4412 an unimplemented function and remove some useless guards.
4414 2007-11-07 Alexander Larsson <alexl@redhat.com>
4417 Autoconf checks for the various types of
4418 getpwuid_r and getgrgid_r
4420 * gio/glocalfileinfo.c:
4421 Use the autoconf checks from above
4423 2007-11-07 Alexander Larsson <alexl@redhat.com>
4426 (g_local_file_query_filesystem_info):
4427 Some fixes for the statvfs case
4429 2007-11-07 Alexander Larsson <alexl@redhat.com>
4432 (g_local_file_query_filesystem_info):
4433 Pick the "best" of statfs / statvfs for the system
4434 if both are availible.
4436 2007-11-07 Alexander Larsson <alexl@redhat.com>
4438 Solaris fixes from Halton.Huo@Sun.COM:
4445 * gio/glocalfileinfo.c:
4446 Fix for solaris definition of getpwuid_r
4448 * gio/test-streams.c:
4449 Use G_GNUC_PRETTY_FUNCTION
4451 2007-11-07 Alexander Larsson <alexl@redhat.com>
4453 * gio/gdesktopappinfo.c:
4454 (update_default_list):
4455 Remove double semicolon.
4456 Patch from Jens Granseuer
4458 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4460 * docs/reference/gio/gio-sections.txt:
4461 * gio/gbufferedinputstream.c:
4462 * gio/gbufferedinputstream.h:
4463 * gio/gdatainputstream.c:
4464 * gio/gfileenumerator.c:
4465 * gio/gioscheduler.c:
4466 * gio/gunionvolumemonitor.c:
4468 * programs/gio-save.c:
4469 Fix typo: availible -> available. Unfortuntely this breaks API
4470 and ABI as g_buffered_input_stream_get_available() was renamed.
4472 * gio/gunixmounts.c:
4473 * gio/gbufferedinputstream.c:
4474 Add guards for public functions.
4476 2007-11-06 Ross Burton <ross@openedhand.com>
4478 * docs/reference/gio/Makefile.am:
4479 Fix invalid += usage which automake 1.10 doesn't like.
4481 2007-11-06 Alexander Larsson <alexl@redhat.com>
4484 (g_app_launch_context_class_init):
4487 Patch from Ross Burton
4489 2007-11-06 Alexander Larsson <alexl@redhat.com>
4492 Post release version bump
4494 === gio-standalone 0.1.1 ===
4496 2007-11-06 Alexander Larsson <alexl@redhat.com>
4499 Bump version to 0.1.1
4501 * gio/gsimpleasyncresult.c:
4502 (g_simple_async_result_set_from_error):
4503 Remove bogus g_return_if_fail
4505 2007-11-06 Alexander Larsson <alexl@redhat.com>
4508 The name is gio-standalone
4511 Add top src/builddir to includedir
4513 2007-11-06 Alexander Larsson <alexl@redhat.com>
4515 * docs/reference/gio/gio-sections.txt:
4517 * gio/gbufferedinputstream.c:
4518 * gio/gbufferedoutputstream.c:
4519 * gio/gcancellable.c:
4520 * gio/gdatainputstream.h:
4521 * gio/gdataoutputstream.c:
4522 * gio/gdataoutputstream.h:
4523 * gio/gdirectorymonitor.c:
4525 * gio/gfileattribute.c:
4526 * gio/gfileattribute.h:
4527 * gio/gfileenumerator.c:
4528 * gio/gfileenumerator.h:
4531 * gio/gfileinputstream.h:
4532 * gio/gfilemonitor.c:
4533 * gio/gfileoutputstream.h:
4534 * gio/glocalfilemonitor.h:
4535 * gio/glocalfileoutputstream.h:
4536 * gio/gmemoryinputstream.c:
4537 * gio/gmemoryoutputstream.c:
4538 * gio/gmountoperation.c:
4539 * gio/goutputstream.c:
4540 * gio/goutputstream.h:
4542 * gio/gsimpleasyncresult.c:
4543 * gio/gunixmounts.c:
4544 * gio/gunixmounts.h:
4546 * gio/inotify/inotify-helper.c:
4547 Fix gtk-doc warnings
4549 Patch from Ross Burton
4551 2007-11-06 Alexander Larsson <alexl@redhat.com>
4553 * gio/gfilenamecompleter.c:
4554 (g_filename_completer_get_completions):
4557 * gio/gunixvolume.c:
4558 Remove unused function
4560 Patches from Ross Burton
4562 2007-11-06 Alexander Larsson <alexl@redhat.com>
4567 Padding not needed for interfaces
4569 2007-11-06 Alexander Larsson <alexl@redhat.com>
4571 * gio/gfilemonitor.c:
4575 Make giotypes.h an internal file
4578 * gio/gbufferedinputstream.h:
4579 * gio/gbufferedoutputstream.h:
4580 * gio/gcancellable.h:
4581 * gio/gdatainputstream.h:
4582 * gio/gdataoutputstream.h:
4583 * gio/gdirectorymonitor.c:
4584 * gio/gdirectorymonitor.h:
4589 * gio/gfileattribute.h:
4590 * gio/gfileenumerator.h:
4595 * gio/gfilemonitor.c:
4596 * gio/gfilemonitor.h:
4597 * gio/gfilenamecompleter.c:
4598 * gio/gfilenamecompleter.h:
4599 * gio/gfilterinputstream.h:
4600 * gio/gfilteroutputstream.h:
4601 * gio/ginputstream.h:
4602 * gio/gmemoryinputstream.h:
4603 * gio/gmemoryoutputstream.h:
4604 * gio/gmountoperation.c:
4605 * gio/gmountoperation.h:
4606 * gio/gnativevolumemonitor.c:
4607 * gio/goutputstream.h:
4610 * gio/gsimpleasyncresult.c:
4611 * gio/gsimpleasyncresult.h:
4612 * gio/gsocketinputstream.h:
4613 * gio/gsocketoutputstream.h:
4614 * gio/gthemedicon.c:
4615 * gio/gthemedicon.h:
4619 * gio/gvolumemonitor.c:
4620 * gio/gvolumemonitor.h:
4621 Add padding in classes where it seems useful
4622 Don't include giotypes.h from public headers
4623 Move in Class definitions into c file where possible
4628 2007-11-06 Alexander Larsson <alexl@redhat.com>
4630 * docs/reference/gio/gio-docs.xml:
4631 Better structure for API docs
4633 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4636 * gio/gloadableicon.c:
4637 * gio/gsimpleasyncresult.c:
4638 * gio/gthemedicon.c:
4639 Add some more guards to public functions. Only files missing are now
4642 2007-11-06 Alexander Larsson <alexl@redhat.com>
4644 * docs/reference/gio/gio-docs.xml:
4645 Remove old files, add missing ones
4647 2007-11-06 Alexander Larsson <alexl@redhat.com>
4649 * docs/reference/gio/gio-sections.txt:
4652 Hide implementation classes
4654 * gio/gdriveprivate.h:
4655 * gio/gvolumeprivate.h:
4656 Remove non-existing function declarations
4658 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4661 Fix compilation warnings and add guards to the new functions.
4663 * gio/gasyncresult.c:
4665 Add guards to the public functions.
4668 Implement get_path().
4670 2007-11-06 Alexander Larsson <alexl@redhat.com>
4672 * gio/gfilenamecompleter.c:
4673 Make g_filename_completer_get_completions
4674 return char ** instead of GList for
4677 * docs/reference/gio/gio-docs.xml:
4678 * docs/reference/gio/gio-sections.txt:
4680 * gio/gasyncresult.c:
4681 * gio/gbufferedinputstream.c:
4682 * gio/gbufferedoutputstream.c:
4683 * gio/gcancellable.c:
4684 * gio/gcontenttype.c:
4685 * gio/gdatainputstream.c:
4686 * gio/gdataoutputstream.c:
4687 * gio/gdesktopappinfo.c:
4688 * gio/gdirectorymonitor.c:
4692 * gio/gfileattribute.c:
4693 * gio/gfileenumerator.c:
4696 * gio/gfileinputstream.c:
4697 * gio/gfilemonitor.c:
4698 * gio/gfilenamecompleter.c:
4699 * gio/gfilenamecompleter.h:
4700 * gio/gfileoutputstream.c:
4701 * gio/gfilterinputstream.c:
4703 * gio/ginputstream.c:
4705 * gio/gioscheduler.c:
4706 * gio/gloadableicon.c:
4707 * gio/glocaldirectorymonitor.c:
4709 * gio/glocalfileinputstream.c:
4710 * gio/glocalfilemonitor.c:
4711 * gio/glocalfileoutputstream.c:
4713 * gio/gmemoryinputstream.c:
4714 * gio/gmemoryoutputstream.c:
4715 * gio/gmountoperation.c:
4716 * gio/goutputstream.c:
4717 * gio/gpollfilemonitor.c:
4719 * gio/gsimpleasyncresult.c:
4720 * gio/gsocketinputstream.c:
4721 * gio/gsocketoutputstream.c:
4722 * gio/gthemedicon.c:
4723 * gio/gunionvolumemonitor.c:
4725 * gio/gunixmounts.c:
4726 * gio/gunixvolume.c:
4727 * gio/gunixvolumemonitor.c:
4731 * gio/gvolumemonitor.c:
4732 * gio/gwin32appinfo.c:
4733 Add (mostly stub) doc strings to public functions.
4734 Patch from Andrew Walton (awalton@gmail.com)
4736 2007-11-06 Alexander Larsson <alexl@redhat.com>
4738 * gio/gappinfo.[ch]:
4739 Added GAppLaunchContext object and pass that to launch.
4740 This allows simple implementation of both
4741 launch-on-screen and startup notification via a gtk+
4742 subclass of GAppLaunchContext
4744 * gio/gdesktopappinfo.c:
4745 Implement GAppLaunchContext API
4747 * gio/gwin32appinfo.c:
4750 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4752 * gio/gmountoperation.c:
4753 Add some guards to GMountOperation's public functions.
4755 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4759 * gio/gcancellable.c:
4760 * gio/gdirectorymonitor.c:
4762 * gio/gfileenumerator.c:
4763 * gio/gfilemonitor.c:,
4764 * gio/gfilenamecompleter.c:
4767 * gio/gioscheduler.c:
4771 * gio/gvolumemonitor.c:
4772 Add even more guards to various public functions.
4774 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4777 Add guards to the public functions of GAppInfo.
4779 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4781 * gio/gcontenttype.c:
4782 Add some more guards for public functions.
4784 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4786 * gio/fam/fam-module.c:
4787 * gio/fam/gfamdirectorymonitor.c:
4788 * gio/fam/gfamdirectorymonitor.h:
4789 * gio/fam/gfamfilemonitor.c:
4790 * gio/fam/gfamfilemonitor.h:
4791 * gio/inotify/ginotifydirectorymonitor.c:
4792 * gio/inotify/ginotifydirectorymonitor.h:
4793 * gio/inotify/ginotifyfilemonitor.c:
4794 * gio/inotify/ginotifyfilemonitor.h:
4795 Add proper copyright information and remove an unused variable
4796 in the GInotifyFileMonitor constructor.
4798 * gio/gcancellable.c:
4799 Add a guard for a public function and an assertion to prevent
4800 an undefined program state.
4802 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4804 * gio/gfileattribute.c:
4805 Don't run into an assertion if the given attribute value is NULL
4806 in g_file_attribute_value_get_*() but instead return a fallback
4807 value that makes sense in most situations. Passing them a attribute
4808 value with the wrong type will still run into an assertion.
4810 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4812 * gio/gfileattribute.c:
4814 Add even more guards to the public functions. Also fix the refcounting
4815 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4816 let g_file_info_list_attributes() filter the attributes by namespace
4817 instead of simply ignoring the namespace parameter.
4819 2007-11-03 Sven Herzberg <sven@imendio.com>
4821 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4822 (This makes gio work on MacOS X again)
4824 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4827 Build the gio subdirectory before the docs. Otherwise the build will
4830 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4831 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4832 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4833 Add guards to the public functions.
4835 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4837 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4838 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4839 to prevent a compiler warning.
4841 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4842 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4843 return something in the non-void function find_topdir_for().
4845 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4852 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4854 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4855 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4856 * gwin32appinfo.c (g_win32_app_info_launch):
4857 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4858 envp_for_startup_id, g_desktop_app_info_launch,
4859 g_desktop_app_info_launch_uris):
4861 Give an opaque 'startup_id' string instead of 'envp'.
4862 Support empty file lists for launching new windows.
4863 Fix infinite recursion bug when launching URIs.
4865 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4868 Add guard to the new g_file_get_uri_scheme() function.
4870 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4873 Convert a g_return_val_if_fail() to setting the GError instead as
4874 otherwise applications have to verify the parameter before otherwise
4875 and the parameter might come directly from the user.
4877 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4879 * gio/inotify/ginotify*.[ch]:
4880 Add missing copyright information.
4882 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4885 Add guards in the beginning of public functions to check for valid
4886 parameters and fix a bug in copy_stream_with_progress() that could've
4887 caused writing less bytes than reading.
4888 * gio/glocalfileinfo.c:
4889 Check for a NULL parameter and set the GError accordingly then.
4890 * gio/goutputstream.c:
4891 Fix the same bug as in gfile.c that could've caused writing less bytes
4892 than reading in g_output_stream_real_splice().
4894 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4897 Use the correct gvolumeprivate.h naming
4899 2007-11-01 Christian Kellner <gicmo@gnome.org>
4902 Remove leftover "$(daemon_sources)" entry.
4904 2007-11-01 Christian Kellner <gicmo@gnome.org>
4909 Add copyright information to source files.
4911 2007-11-01 Alexander Larsson <alexl@redhat.com>
4915 Add g_file_get_uri_scheme
4917 2007-11-01 Alexander Larsson <alexl@redhat.com>
4920 * gio/gdesktopappinfo.c:
4921 * gio/gwin32appinfo.c:
4922 Add g_app_info_get_default_for_uri_scheme.
4924 2007-11-01 Alexander Larsson <alexl@redhat.com>
4927 Correct filename for gdriveprivate.h
4929 2007-10-31 Alexander Larsson <alexl@redhat.com>
4932 Rename id:value to id:file
4935 * gio/glocalfileinfo.c:
4938 2007-10-31 Alexander Larsson <alexl@redhat.com>
4940 * gio/gunixvolume.c:
4942 Remove g_volume_get_platform_id, as thats not
4943 needed with the simpler union volume monitor
4945 2007-10-31 Alexander Larsson <alexl@redhat.com>
4948 * gio/guniondrive.[ch]: Removed.
4949 * gio/gunionvolume.[ch]: Removed.
4950 Remove GUnionDrive/Volume
4952 * gio/gunionvolumemonitor.c:
4953 Simplify union volume monitor, now we
4954 only have one native volume monitor and
4955 we use the actual volumes/drives from the
4956 child monitors instead of wrapping them
4958 * gio/gnativevolumemonitor.[ch]:
4959 Base class for native volume monitors.
4960 Includes priority and get_volume_for_mountpoint
4963 Add g_file_find_enclosing_volume
4966 Remove volume name fs attribute
4967 Add readonly fs attribute
4970 Implement readonly attribute
4971 remove volume name attribute
4972 Implement find_enclosing volume
4974 * gio/gunixmounts.c:
4975 Add a volume for "/".
4977 * gio/gunixvolume.[ch]:
4978 Set better name for /
4980 * gio/gunixvolumemonitor.[ch]:
4981 Derive from GNativeVolumeMonitor
4982 Implement get_volume_for_mountpoint
4985 GVolume typedef moved to gfile.h
4987 * gio/gvolumeprivate.h:
4988 Add g_volume_get_for_mount_path
4990 2007-10-31 Alexander Larsson <alexl@redhat.com>
4992 * gio/gunixmounts.[ch]:
4993 Add cache info to unix mount listers
4994 Make getmntent use threadsafe
4995 Add is_system_internal attribute for GUnixMount
4997 * gio/gunixvolume.c:
4998 (g_unix_volume_new):
4999 Use is_system_internal instead of own code
5001 * gio/glocaldirectorymonitor.c:
5002 * gio/gunixvolumemonitor.c:
5003 Update to new gunixmounts API
5008 2007-10-30 Alexander Larsson <alexl@redhat.com>
5011 Add volume name fsinfo attribute
5014 Read volume name info
5016 * gio/gunionvolumemonitor.c:
5017 Fix infinite loops when finalizing a union volume monitor
5019 2007-10-30 Alexander Larsson <alexl@redhat.com>
5021 * gio/goutputstream.[ch]:
5022 Add splice() with default implementation
5024 * gio/gsocketoutputstream.c:
5025 (g_socket_output_stream_write):
5026 Return error on cancellation correctly.
5028 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5030 * gio/glocalfile.c (g_local_file_trash):
5031 Do not leak a string.
5033 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5035 * gio/gfile.c (g_file_load_contents):
5036 Unref the stream after closing it.
5038 2007-10-25 Alexander Larsson <alexl@redhat.com>
5040 * gio/gioscheduler.h:
5043 2007-10-25 Alexander Larsson <alexl@redhat.com>
5047 Add g_file_has_uri_scheme and implement for local files
5049 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5051 * gio/gdesktopappinfo.c: do not leak a string.
5053 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5055 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5056 (g_local_directory_monitor_new):
5057 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5058 (g_local_file_monitor_new):
5059 Only look for the monitor type that should be used the first time
5060 and use g_qsort_with_data() instead of our own bubble sort
5063 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5066 * gio/fam/Makefile.am:
5067 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5068 * gio/fam/fam-helper.h:
5069 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5070 * gio/fam/gfamdirectorymonitor.c:
5071 * gio/fam/gfamdirectorymonitor.h:
5072 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5073 * gio/fam/gfamfilemonitor.h:
5074 * gio/glocaldirectorymonitor.c:
5075 * gio/glocaldirectorymonitor.h:
5076 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5077 * gio/glocalfilemonitor.h:
5078 * gio/inotify/Makefile.am:
5079 * gio/inotify/ginotifydirectorymonitor.c:
5080 * gio/inotify/ginotifydirectorymonitor.h:
5081 * gio/inotify/ginotifyfilemonitor.c:
5082 * gio/inotify/ginotifyfilemonitor.h:
5083 Implement the FAM and Inotify monitors as
5084 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5085 their own GIO module. GLocal(Directory|File)Monitor will use the
5086 monitor with the highest rank that is supported on that machine.
5088 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5091 Change GIO module dir to $(libdir)/gio/modules and change
5092 the log domain from GVFS to GIO. Also only export symbols starting
5093 with g_ in the resulting library.
5094 * gio/test-streams.c: (main):
5095 Set log handler for the GIO log domain.
5097 2007-10-22 Alexander Larsson <alexl@redhat.com>
5099 * gio/gfilenamecompleter.[ch]:
5100 Add g_filename_completer_set_dirs_only
5102 2007-10-22 Alexander Larsson <alexl@redhat.com>
5105 * gio/gurifuncs.[ch]:
5106 Add some simple URI helpers
5108 * gio/gfilenamecompleter.[ch]:
5109 Added object for filename (parse name actually) completion
5112 Handle ~ in parse names
5114 2007-10-17 Alexander Larsson <alexl@redhat.com>
5117 * gio/glocalfileinfo.c:
5118 Add and implement id:value attribute
5120 2007-10-17 Alexander Larsson <alexl@redhat.com>
5123 * gio/guniondrive.c:
5125 Add and implement g_drive_has_volumes
5127 2007-10-17 Alexander Larsson <alexl@redhat.com>
5130 * gio/glocalfileinfo.[ch]:
5131 Add unix:is_mountpoint and implement for local files
5133 2007-10-16 Alexander Larsson <alexl@redhat.com>
5135 * gio/gunionvolumemonitor.c:
5136 (g_union_volume_monitor_init):
5137 Fix up the unix type getting so that it works with gcc
5139 2007-10-12 Alexander Larsson <alexl@redhat.com>
5142 * gio/glocalfileinfo.c:
5143 Add thumbnail:failed to file info
5145 2007-10-12 Richard Hult <richard@imendio.com>
5147 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5148 optimizing away the get_type call (happens with some gcc versions,
5149 like the one shipped with OS X 10.4).
5151 2007-10-12 Alexander Larsson <alexl@redhat.com>
5153 * gio/glocalfileinfo.c:
5154 (_g_local_file_info_set_attribute):
5155 Fix build if not HAVE_XATTR
5156 Patch from Milosz Derezynski <internalerror@gmail.com>
5158 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5160 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5161 around for review, otherwise I would have asked you before
5164 2007-10-11 Alexander Larsson <alexl@redhat.com>
5167 Add thumbnail:path attribute
5169 * gio/glocalfileinfo.c:
5170 Implement thumbnail:path for local files
5172 2007-10-11 Alexander Larsson <alexl@redhat.com>
5174 * gio/glocalfileinfo.c:
5175 (_g_local_file_info_get):
5176 Avoid duplicate icon names
5178 2007-10-11 Alexander Larsson <alexl@redhat.com>
5180 * gio/gthemedicon.[ch]:
5181 Change g_themed_icon_get_names return type to const
5183 2007-10-10 Alexander Larsson <alexl@redhat.com>
5185 * gio/glocalfileinfo.c:
5186 Don't reference freed memory
5188 2007-10-10 Alexander Larsson <alexl@redhat.com>
5190 * gio/gfileattribute.c:
5193 * gio/glocalfileinfo.c:
5196 2007-10-10 Alexander Larsson <alexl@redhat.com>
5199 Check for NULL icons
5201 * gio/gfileattribute.c:
5202 Don't dup when getting objects (same as for string attributes)
5204 * gio/gicon.c (g_icon_equal):
5205 Safely handle NULLs in equal
5207 2007-10-10 Alexander Larsson <alexl@redhat.com>
5210 Fix c++ compilation issues
5211 Patch from Milosz Derezynski <internalerror@gmail.com>
5213 2007-10-10 Alexander Larsson <alexl@redhat.com>
5215 * programs/gio-monitor-dir.c:
5216 Don't crash if dir monitor not supported.
5218 2007-10-09 Alexander Larsson <alexl@redhat.com>
5221 Add missing G_END_DECLS
5223 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5225 * gio/gfile.c: (g_file_set_display_name),
5226 (g_file_query_settable_attributes),
5227 (g_file_query_writable_namespaces):
5228 Return NULL not FALSE on errors as the return type is a pointer.
5230 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5232 * gio/glocalfile.c: (g_local_file_monitor_file):
5233 Don't call monitor_file on the default interface vtable (which
5234 is NULL) but simply return NULL. The caller, GFile, will create a
5235 polling monitor if NULL is returned.
5237 2007-10-09 Alexander Larsson <alexl@redhat.com>
5241 * gio-unix-2.0.pc.in:
5242 Add gio-unix-2.0.pc if OS_UNIX
5245 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5247 2007-10-09 Alexander Larsson <alexl@redhat.com>
5249 * gio/gunixmounts.[ch]:
5250 Make unix mount monitoring API sane.
5251 Now its just a object with mounts_changed
5252 and mountpoints_changed signals.
5254 * gio/glocaldirectorymonitor.c:
5255 * gio/gunixvolumemonitor.c:
5256 Use new mount monitor api
5258 2007-10-09 Alexander Larsson <alexl@redhat.com>
5260 * gio/gunixmounts.[ch]:
5261 Move guess type into one call for mounts and one for mountpoints
5264 * gio/gunixvolume.c:
5267 2007-10-09 Alexander Larsson <alexl@redhat.com>
5269 * gio/gunixmounts.[ch]:
5270 Remove _ prefix in preparation to make this semi-public
5271 Hide implementation of structs
5273 * gio/glocaldirectorymonitor.c:
5275 * gio/gunixvolume.c:
5276 * gio/gunixvolumemonitor.c:
5277 Update for above API changes
5279 2007-10-08 Alexander Larsson <alexl@redhat.com>
5282 Better polling fallback. This also handles the case where we have
5283 a monitor_file implementation, but it fails.
5285 2007-10-08 Alexander Larsson <alexl@redhat.com>
5289 * gio/gunixmounts.c:
5290 * programs/gio-monitor-dir.c:
5291 * programs/gio-monitor-file.c:
5292 Added cancellable to file monitoring calls.
5293 These are really sync calls and need this.
5295 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5297 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5298 (g_local_vfs_class_init):
5299 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5300 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5302 2007-10-05 Alexander Larsson <alexl@redhat.com>
5304 * gio/gdirectorymonitorprivate.h:
5305 * gio/gfilemonitorprivate.h:
5306 * gio/gdirectorymonitor.h:
5307 * gio/gfilemonitor.h:
5308 Remove *private.h and move to the public API, so that
5309 we can do implementations outside gio (such as in gvfs)
5311 * gio/gdirectorymonitor.c:
5312 * gio/gfilemonitor.c:
5313 * gio/glocaldirectorymonitor.c:
5314 * gio/gpollfilemonitor.c:
5315 * gio/inotify/inotify-helper.c:
5316 * gio/fam/fam-helper.c:
5317 Update to the new header names
5319 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5321 * gio/gdirectorymonitor.c:
5322 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5325 2007-10-04 Alexander Larsson <alexl@redhat.com>
5327 * gio/glocalfileinfo.c (get_access_rights):
5328 Set CAN_TRASH when we can move the file.
5329 We should really also check for a parent trash dir.
5331 2007-10-04 Alexander Larsson <alexl@redhat.com>
5333 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5334 Add can_trash access attribute
5336 2007-10-04 Alexander Larsson <alexl@redhat.com>
5339 (g_local_file_trash):
5340 Create info file first. This is per-spec and allows
5341 us to actually trash directories.
5343 2007-10-02 Alexander Larsson <alexl@redhat.com>
5345 * gio/gdesktopappinfo.c:
5346 Implement the new mime support code.
5347 Always set app as handling mimetype when being set as default for it
5349 2007-10-01 Alexander Larsson <alexl@redhat.com>
5351 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5352 Fix up check for xattrs:
5354 2007-10-01 Alexander Larsson <alexl@redhat.com>
5357 (g_app_info_set_as_default_for_extension):
5358 (g_app_info_add_supports_type):
5359 (g_app_info_can_remove_supports_type):
5360 (g_app_info_remove_supports_type):
5361 Make these fail nicely if not implemented
5363 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5365 * gio/glocalfileoutputstream.c:
5366 * gio/glocalfileoutputstream.h:
5371 * programs/gio-save.c:
5372 Add a GFileCreateFlags argument to operations that can create
5375 2007-10-01 Alexander Larsson <alexl@redhat.com>
5377 * gio/gappinfo.[ch]:
5378 * gio/gdesktopappinfo.c:
5379 Add more (stubbed out) mime API needed for nautilus
5381 2007-10-01 Alexander Larsson <alexl@redhat.com>
5384 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5385 Add g_app_info_set_as_default_for_extension.
5387 * gio/gdesktopappinfo.c:
5388 Dummy for g_app_info_set_as_default_for_extension
5389 Support flags in g_app_info_create_from_commandline
5391 * gio/gwin32appinfo.c:
5393 Update for API changes
5395 * gio/gthemedicon.c:
5396 Properly NULL-terminate list of icon names
5398 2007-09-28 Alexander Larsson <alexl@redhat.com>
5400 * gio/gloadableicon.h:
5401 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5403 2007-09-28 Alexander Larsson <alexl@redhat.com>
5406 Install headers in $includedir/gio-standalone/
5408 * gio-2.0.pc.in: Added.
5409 * gio-standalone.pc.in: Removed.
5412 Renamed pkg-config file to match glib (for future move)
5413 Update to the new include dir
5416 Add more TODO comments
5418 2007-09-28 Alexander Larsson <alexl@redhat.com>
5420 * gio/gdesktopappinfo.[ch]:
5421 Expose new_from_filename
5422 Add getter for is_hidden and handle it better
5424 2007-09-28 Alexander Larsson <alexl@redhat.com>
5426 * gio/gfileinfo.[ch]:
5427 Rename g_file_size_format_for_display to
5428 g_format_file_size_for_display.
5429 Now it doesn't have the g_file prefix, so we
5430 can later move it to glib.
5432 2007-09-28 Alexander Larsson <alexl@redhat.com>
5434 * gio/gappinfo.[ch]:
5435 Add g_app_info_get_id and g_app_info_get_executable.
5436 Make all getters non-reffing
5437 Make g_app_info_launch take GFile arguments.
5438 Add must_support_uris argument to g_app_info_get_default_for_type.
5440 * gio/gwin32appinfo.c:
5441 Update to GAppInfo api changes
5443 * gio/gdesktopappinfo.c:
5444 Update to GAppInfo api changes
5445 Implement supports_xdg_startup_notify
5447 * gio/gfileicon.c (g_file_icon_get_file):
5448 Make getter non-reffing.
5453 2007-09-27 Alexander Larsson <alexl@redhat.com>
5455 * gio/gfileinfo.[ch]:
5456 Add g_file_size_format_for_display helper
5458 2007-09-27 Alexander Larsson <alexl@redhat.com>
5460 * gio/glocalfileinfo.c:
5461 Set UNIX_GID from gid, not from uid
5463 2007-09-27 Alexander Larsson <alexl@redhat.com>
5466 Add g_file_set_attributes_async
5468 2007-09-27 Alexander Larsson <alexl@redhat.com>
5470 * gio/glocalfile.c (g_local_file_set_display_name):
5471 Fix set_display_name to actually rename to the right place.
5472 Use lstat to look for existing files so we don't overwrite
5475 2007-09-26 Alexander Larsson <alexl@redhat.com>
5478 Add g_file_set_display_name_async()
5480 2007-09-26 Alexander Larsson <alexl@redhat.com>
5483 Add load_partial_contents async calls
5486 Make internal function static
5488 2007-09-26 Alexander Larsson <alexl@redhat.com>
5490 * gio/glocalfileinfo.c:
5491 Correctly detect broken symlinks
5493 2007-09-26 Alexander Larsson <alexl@redhat.com>
5495 * gio/gcancellable.c (g_cancellable_cancel):
5496 Allow cancel on NULL cancellable
5498 2007-09-25 Alexander Larsson <alexl@redhat.com>
5500 * gio/gsimpleasyncresult.c:
5501 Don't allocate g_error manually.
5502 Fixes g_slice/g_new mixup crash
5504 2007-09-25 Alexander Larsson <alexl@redhat.com>
5506 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5507 Actually set active_backend.
5508 This means the monitor will be cancelled correctly.
5510 2007-09-25 Alexander Larsson <alexl@redhat.com>
5512 * gio/gdirectorymonitor.c:
5513 Set timeout to NULL when destroying
5515 2007-09-25 Alexander Larsson <alexl@redhat.com>
5518 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5519 that is a better description of the error.
5521 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5523 * gio/gvfs.c: (g_vfs_get_local):
5524 Make the local vfs variable static. The same instance should
5527 2007-09-24 Alexander Larsson <alexl@redhat.com>
5529 * gio/glocalfileinfo.c:
5530 Pass in actual length read into sniffer, not the length
5533 2007-09-21 Alexander Larsson <alexl@redhat.com>
5535 * gio/gfileenumerator.c:
5538 * gio/gfileinputstream.c:
5539 * gio/gfileoutputstream.c:
5540 * gio/ginputstream.c:
5541 * gio/goutputstream.c:
5542 Don't crash if async callbacks are NULL
5544 2007-09-20 Alexander Larsson <alexl@redhat.com>
5547 Add async enumerate_children method and default
5550 2007-09-20 Alexander Larsson <alexl@redhat.com>
5553 Add g_file_contains_file & g_file_get_relative_path, since they
5554 were needed for nautilus.
5555 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5560 Implement new methods
5562 2007-09-17 Alexander Larsson <alexl@redhat.com>
5565 * gio/gfileinputstream.[ch]:
5566 * gio/gfileoutputstream.[ch]:
5568 * gio/glocalfileenumerator.[ch]:
5569 * gio/glocalfileinfo.[ch]:
5570 * gio/glocalfileinputstream.c:
5571 * gio/glocalfileoutputstream.c:
5572 * gio/gpollfilemonitor.c:
5573 * programs/gio-copy.c:
5574 * programs/gio-info.c:
5575 * programs/gio-move.c:
5576 Rename get_file_info to query_info() to make it clearer
5577 that these are not simple getters, but do i/o.
5579 2007-09-17 Alexander Larsson <alexl@redhat.com>
5581 * gio/gdatainputstream.[ch]:
5582 * gio/test-streams.c:
5583 Use _read_XXX instead of _get_XXX for the i/o calls
5586 2007-09-17 Alexander Larsson <alexl@redhat.com>
5589 Added needed stuff to TODO comment
5591 2007-09-17 Alexander Larsson <alexl@redhat.com>
5593 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5594 Don't error out removing the backup copy if it doesn't
5597 2007-09-14 Alexander Larsson <alexl@redhat.com>
5599 * programs/Makefile.am:
5600 * programs/gvfs-*.c:
5602 Renamed apps from gvfs-xxx to gio-xxx.
5604 2007-09-14 Alexander Larsson <alexl@redhat.com>
5607 * gio/gfileoutputstream.[ch]:
5608 * gio/glocalfileoutputstream.c:
5609 * programs/gvfs-save.c:
5610 g_file_output_stream_get_etag doesn't do i/o, so remove
5611 cancellation and error.
5613 2007-09-14 Alexander Larsson <alexl@redhat.com>
5616 Add new_etag output to replace_contents functions
5618 2007-09-14 Alexander Larsson <alexl@redhat.com>
5620 * gio/gfileoutputstream.[ch]:
5621 Add async get_file_info and default implementation
5623 2007-09-14 Alexander Larsson <alexl@redhat.com>
5625 * gio/gfileinputstream.c:
5626 Implement fallback wrapper for async get_file_info
5628 2007-09-14 Alexander Larsson <alexl@redhat.com>
5631 Add etag out argument to load_contents
5636 2007-09-14 Alexander Larsson <alexl@redhat.com>
5638 * gio/gcontenttype.c (looks_like_text):
5639 Whitespace like tab, cr and lf do not make the
5642 2007-09-14 Alexander Larsson <alexl@redhat.com>
5644 * gio/gfileinputstream.[ch]:
5645 Add async get_file_info.
5647 2007-09-13 Alexander Larsson <alexl@redhat.com>
5649 * gio/goutputstream.c (g_output_stream_write_all):
5650 Allow NULL for bytes_written
5652 2007-09-13 Alexander Larsson <alexl@redhat.com>
5654 * gio/gmemoryinputstream.[ch]:
5655 Add accessors for data
5657 2007-09-13 Alexander Larsson <alexl@redhat.com>
5659 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5660 Don't crash if length is NULL