1 2009-02-23 Alexander Larsson <alexl@redhat.com>
4 Remove accidentally commited spew
6 2009-02-20 Alexander Larsson <alexl@redhat.com>
9 (g_content_type_guess):
10 Don't ever sniff desktop files when the filename is known.
11 In other words, only allow desktop files with the .desktop extension
12 and when the filename isn't known.
13 This is a security precaution since desktop files can execute
14 arbitrary code when launched and we don't want to allow them to
15 try and hide as another type. There is no legit reason to not
16 have the .desktop extension anyway.
18 2009-02-19 Alexander Larsson <alexl@redhat.com>
20 Bug 549298 – impossible to copy files with p (pipe) flag
24 Error out if the source file is a special file
26 2009-02-18 Alexander Larsson <alexl@redhat.com>
28 Bug 560564 – Replacing a symlink with its linked file truncates the original file
31 Add G_FILE_CREATE_REPLACE_DESTINATION
33 * glocalfileoutputstream.c:
34 (handle_overwrite_open):
35 (_g_local_file_output_stream_replace):
36 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
40 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
43 2009-02-17 Ryan Lortie <desrt@desrt.ca>
45 * gfileinfo.c: unref the destination's attribute matcher before
48 2009-02-17 Matthias Clasen <mclasen@redhat.com>
50 * === Released 2.19.8 ===
52 2009-02-17 Matthias Clasen <mclasen@redhat.com>
54 * gio.symbols: Add missing exports for new API
56 * gdatainputstream.c: Add missing Since: tags.
58 2009-02-16 Matthias Clasen <mclasen@redhat.com>
60 * === Released 2.19.7 ===
62 2009-02-16 Matthias Clasen <mclasen@redhat.com>
64 * gmountoperation.[hc]: Add an "aborted" signal to abort a
65 mount operation from the backend side.
67 * gvolume.h: Add docs regarding the "aborted" signal.
69 2009-02-16 Ryan Lortie <desrt@desrt.ca>
71 Bug 505042 – add file attribute for actually used file size in bytes
73 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
74 "standard::allocated-size"
75 * gfileattribute.c: document
76 * glocalfileinfo.c: set the allocated size from st_blocks * 512
78 2009-02-16 Ryan Lortie <desrt@desrt.ca>
80 Bug 571598 – GAsyncResult with NULL gobject
82 * gsimpleasyncresult.c: remove various assertions and add some checks
83 to allow for a NULL source_object in GSimpleAsyncResult.
85 2009-02-11 Matthias Clasen <mclasen@redhat.com>
87 Bug 541225 – Can't compile gio on AIX : duplicate case value in
90 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
91 Reported by Nicolas Joseph
93 2009-02-04 Alexander Larsson <alexl@redhat.com>
95 Bug 566747 - URIs opened with firefox %u load as local files
97 * gdummyfile.c (g_dummy_file_get_path):
98 Dummy files are never used for local paths, so always return NULL
101 2009-02-02 Matthias Clasen <mclasen@redhat.com>
103 * === Released 2.19.6 ===
105 2009-01-31 Paolo Borelli <pborelli@katamail.com>
107 * glocalfileinfo.c: plug a tiny mem leak.
109 2009-01-29 Ryan Lortie <desrt@desrt.ca>
111 * gioerror.c (g_io_error_from_errno): handle all possible cases of
112 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
114 2009-01-28 Ryan Lortie <desrt@desrt.ca>
116 Bug 568575 – _async functions for GDataInputStream
118 * gdatainputstream.h:
119 * gdatainputstream.c: add _async versions of read_line and read_until.
121 * ../docs/reference/gio/gio-sections.txt: add new functions
122 * tests/sleepy-stream.c: new test case for async read line
123 * tests/Makefile.am: add new test
125 2009-01-22 Ryan Lortie <desrt@desrt.ca>
127 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
129 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
130 g_buffered_input_stream_fill): check for count < -1 instead of count <
131 0 and copy modified check to non-async version for consistency.
132 document the "count = -1" API.
134 2009-01-22 Ryan Lortie <desrt@desrt.ca>
136 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
138 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
139 after we have successfully read data from the base stream
141 2009-01-20 Ryan Lortie <desrt@desrt.ca>
143 Bug 568394 – dropping the last reference to a stream filter closes the
146 * gfilterinputstream.h:
147 * gfilterinputstream.c: add "close-base-stream" property and only
148 close the base stream if it is true. issue async close callbacks from
149 correct source object.
150 * gfilteroutputstream.h:
151 * gfilteroutputstream.c: add a "close-base-stream" property and only
152 close the base stream if it is true. issue async close callbacks from
153 correct source object.
154 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
155 before closing the base stream. fix invalid source tag comparison in
156 close_async (was comparing to flush_async).
157 * ../docs/reference/gio/gio-sections.txt:
159 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
160 * tests/filter-streams.c: new test cases
161 * tests/Makefile.am: add new test
162 * tests/.gitignore: add new test
164 2009-01-19 Matthias Clasen <mclasen@redhat.com>
166 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
168 2009-01-19 Matthias Clasen <mclasen@redhat.com>
170 * === Released 2.19.5 ===
172 2009-01-19 Matthias Clasen <mclasen@redhat.com>
174 * gappinfo.h: Document get_commandline vfunc
176 2009-01-19 Matthias Clasen <mclasen@redhat.com>
178 * gunixmounts.c: Some stylistic fixes.
180 2009-01-08 Matthias Clasen <mclasen@redhat.com>
182 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
183 functions in non-UTF8 locale
185 * xdgmime/xdgmimecache.c:
186 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
188 2009-01-08 Matthias Clasen <mclasen@redhat.com>
190 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
192 2009-01-07 Matthias Clasen <mclasen@redhat.com>
194 Bug 566770 – error code 0 for Too many open files is useless
196 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
197 Requested by Olivier Sessink.
199 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
201 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
202 G_IO_ERROR_TOO_MANY_OPEN_FILES.
204 2009-01-05 Matthias Clasen <mclasen@redhat.com>
206 * === Released 2.19.4 ===
208 2009-01-05 Dan Winship <danw@gnome.org>
210 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
211 "const char **" to avoid a warning.
213 * gemblem.c (g_emblem_from_tokens):
214 * gemblemedicon.c (g_emblemed_icon_from_tokens):
215 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
218 2009-01-05 Matthias Clasen <mclasen@redhat.com>
220 Bug 566064 – Add NOATIME flag to query_info_flags
222 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
223 sniffing for mime types. Based on a patch by A. Walton
225 2009-01-05 Ryan Lortie <desrt@desrt.ca>
227 * tests/.gitignore: improve
228 * tests/Makefile.am: add new simple-async-result test
229 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
231 2009-01-05 Ryan Lortie <desrt@desrt.ca>
234 * ../docs/reference/gio/gio-sections.txt:
235 * gsimpleasyncresult.h:
236 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
237 Implementation by Dan Winship. Closes #566170.
239 2008-12-31 Matthias Clasen <mclasen@redhat.com>
243 * gunixinputstream.c:
244 * gunixoutputstream.c: Add a note about being UNIX-specific.
246 2008-12-15 Matthias Clasen <mclasen@redhat.com>
248 * === Released 2.19.3 ===
250 2008-12-12 Dan Winship <danw@gnome.org>
252 * pltcheck.sh: make this work on x86_64
254 2008-12-12 Ryan Lortie <desrt@desrt.ca>
256 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
259 2008-12-12 Ryan Lortie <desrt@desrt.ca>
261 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
262 multiple mount entries match the requested path
264 2008-12-10 Alexander Larsson <alexl@redhat.com>
266 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
267 g_simple_async_result_run_in_thread
269 * gsimpleasyncresult.c:
270 Make g_simple_async_result_run_in_thread check cancellation before
271 calling out to the user in the callback. This means we guarantee
272 reporting cancels of async operations from the main threads, which
273 is probably more in line with what users expect.
275 Note that there are still no such guarantees for cancelling sync
276 operations or cancelling async operation from outside the main
277 thread. Furthermore, the exact behaviour of async implementations
278 not using run_in_thread may differ.
280 2008-12-09 Alexander Larsson <alexl@redhat.com>
282 Bug 515777 - incorrect date&time on copy
285 (g_local_file_class_init):
286 Copy mtime by default
289 Change docs about G_FILE_COPY_ALL_METADATA to not mention
292 2008-12-08 Matthias Clasen <mclasen@redhat.com>
294 Bug 558298 – Hide ecryptfs mounts
296 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
297 so that the desktop does not show both the mount and the target
298 directory. Patch by Martin Pitt
300 2008-12-08 Matthias Clasen <mclasen@redhat.com>
302 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
306 * gunixinputstream.[hc]:
307 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
308 including getters and setters. Patch by Maciej Piechotka
310 2008-12-07 Matthias Clasen <mclasen@redhat.com>
312 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
314 * tests/live-g-file.c: Support compilers that don't understand
315 ISO C varargs macros. Patch by Eric Lamarque
317 2008-12-07 Matthias Clasen <mclasen@redhat.com>
319 Bug 526320 – should not list mounts that the user doesn't have
322 gunixmounts.c: Use g_access() to check accessibility of local devices.
325 2008-12-01 Matthias Clasen <mclasen@redhat.com>
327 * === Released 2.19.2 ===
329 2008-12-01 Matthias Clasen <mclasen@redhat.com>
331 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
332 behaviour change, and update the docs instead, to avoid breaking
335 2008-12-01 Matthias Clasen <mclasen@redhat.com>
337 * === Released 2.19.1 ===
339 2008-12-01 Alexander Larsson <alexl@redhat.com>
343 * gunionvolumemonitor.c:
345 Add and document g_mount_is_shadowed plus calls
346 to set/unset a mount as shadowed
348 2008-11-28 Matthias Clasen <mclasen@redhat.com>
350 * gio/tests/g-icon.c: Comment out two failing tests
352 2008-11-28 Matthias Clasen <mclasen@redhat.com>
354 Bug 555486 – No way to recover command line from GAppInfo
357 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
358 by Hans Petter Jansson.
360 * gdesktopappinfo.c: And implement it here.
362 2008-11-28 Christian Dywan <christian@imendio.com>
364 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
366 2008-11-28 Matthias Clasen <mclasen@redhat.com>
368 Bug 559633 – gtk_image_new_from_gicon does not always work for
371 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
372 extensions on icon names. Proposed by Axel von Bertoldi.
374 2008-11-28 Matthias Clasen <mclasen@redhat.com>
376 Bug 548163 – Nautilus displays wrong error message for too long file
379 * glocalfile.c (g_local_file_set_display_name): Correctly set
380 error conditions if the new name is e.g. too long. Reported
381 by Leonardo Ferreira Fontenelle.
383 2008-11-28 Matthias Clasen <mclasen@redhat.com>
385 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
388 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
389 documented and include the line end in the returned string.
390 Pointed out by Paul Pogonyshev.
392 * tests/data-input-stream.c: Fix the read_line test to test the
393 documented behaviour.
395 2008-11-28 Matthias Clasen <mclasen@redhat.com>
397 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
398 files that have been created by g_app_info_create_from_commandline.
400 2008-11-28 Matthias Clasen <mclasen@redhat.com>
402 Bug 541715 – win32 : patch for warnings and signature problems in
405 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
408 2008-11-28 Matthias Clasen <mclasen@redhat.com>
410 Bug 562393 – g_buffered_input_stream_read_byte broken if data
413 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
414 handling of buffered content. Patch by Philip Withnall
416 * tests/buffered-input-stream.c: Add a testcase for this bug.
417 * tests/Makefile.am: And build it
419 2008-11-28 Matthias Clasen <mclasen@redhat.com>
421 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
424 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
425 '/' away. Spotted by Dan Williams.
427 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
429 Bug 561375 – Leaks mountpoint description
431 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
434 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
436 Bug 561352 – Leak of icon description
438 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
441 2008-11-14 Matthias Clasen <mclasen@redhat.com>
443 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
445 2008-11-12 Tor Lillqvist <tml@novell.com>
447 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
449 * win32/gwinhttpvfs.h: Move the set of function pointers to
450 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
451 pointer to that in the GWinHttpVfsClass.
453 * win32/gwinhttpvfs.c: Move the lookup of functions from
454 winhttp.dll into a function of its own, that stores the pointers
455 in a separate GWinHttpDllFuncs variable. Add two bookeeping
456 booleans lookup_done and funcs_found.
458 Don't call g_io_extension_point_implement() to register the
459 winhttp extension unless winhttp.dll has been successfully loaded
460 and the required functions found in it.
462 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
463 winhttp.dll correspondingly.
465 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
467 reviewed by: Alexander Larsson <alexl@redhat.com>
469 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
470 clearer about the behavior when there's no more content to read.
472 2008-10-27 Federico Mena Quintero <federico@novell.com>
474 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
476 2008-10-27 Tor Lillqvist <tml@novell.com>
478 Bug 557592 - Missing include in gwinhttpfile.c
480 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
483 2008-10-24 Matthias Clasen <mclasen@redhat.com>
485 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
487 * fam/fam-helper.c: Fix a memory leak and formatting issues.
488 Reported by Daniel Marjamäki
490 2008-10-23 Matthias Clasen <mclasen@redhat.com>
492 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
494 2008-10-23 Alexander Larsson <alexl@redhat.com>
496 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
499 (_g_local_file_info_get):
500 Don't return the fallback icon (text-x-generic) for all files.
501 This is causing problems with theme icon lookup and custom mime
502 icons, as the generic fallback overrides custom mime icons in
505 This is a slight change as applications might not get an icon wher
506 they previously did. But there is no guarantee to get on neither before
507 or after this change, so it should not break applications. Changes
508 to nautilus and gtk+ will be done to manually use the generic fallback
509 icon if no icon is found, but this is only required for rare cases.
511 2008-10-21 Alexander Larsson <alexl@redhat.com>
514 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
516 2008-10-21 Alexander Larsson <alexl@redhat.com>
518 Bug 555740 - gicon serialization
519 Based on patch from David Zeuthen
523 Add g_icon_to_string() and g_icon_new_for_string().
529 Implement icon serialization for built-in icon types
533 Added GIcon serialization test
535 2008-10-16 Matthias Clasen <mclasen@redhat.com>
537 * === Released 2.19.0 ===
539 2008-10-16 Matthias Clasen <mclasen@redhat.com>
541 Bug 556422 – g_file_enumerator_next_file: unclear whether return
542 value needs to be freed
544 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
545 the return value docs. Pointed out by Armin Burgmeier
547 2008-10-14 Matthias Clasen <mclasen@redhat.com>
549 Bug 556334 – Warning when building without selinux support
551 * glocalfileinfo.c: Avoid compiler warnings when selinux is
552 disabled. Patch by Pascal Terjan
554 2008-10-14 Matthias Clasen <mclasen@redhat.com>
556 Bug 556335 – make check fails in abicheck.sh
558 * gio.symbols: Add g_file_attribute_info_list_get_type.
559 Pointed out by Pascal Terjan.
561 2008-10-13 Alexander Larsson <alexl@redhat.com>
564 When adding an application as handling a mime type (but
565 not as the default), copy the full list of desktop ids handling
566 that type in before adding the new one on the end of the list.
567 This means we're not accidentally changing the default by overriding
568 the info from the later directories in the search path.
570 Also, fixes small leak of removed_entries.
572 2008-10-12 David Zeuthen <davidz@redhat.com>
575 * gunionvolumemonitor.c:
577 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
579 2008-10-10 Alexander Larsson <alexl@redhat.com>
581 * gfileattribute.c (escape_byte_string):
582 Upper half of byte is >> 4, not >> 8.
583 Found by Kjartan Maraas via sparse
585 2008-10-10 Matthias Clasen <mclasen@redhat.com>
587 Bug 555711 – Wrong fallback order of mimetype icons
589 * gcontenttype.c: Don't prefer generic icons over
590 default mimetype icons.
592 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
593 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
595 Patch by Krysztof Kosiński
597 2008-10-10 Matthias Clasen <mclasen@redhat.com>
599 Bug 555121 – Improved build-time handling of gio module-dir
601 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
602 * Makefile.am: Create the module dir.
604 2008-10-10 Matthias Clasen <mclasen@redhat.com>
606 * gio/glocalfileinfo.c:
607 * gio/tests/live-g-file.c:
608 * gio/gsimpleasyncresult.c: Fix gcc warnings.
610 2008-10-09 Alexander Larsson <alexl@redhat.com>
612 * gunixinputstream.c (g_unix_input_stream_read):
613 Actually return -1 in case of cancelled, not old res value.
615 2008-10-06 Colin Walters <walters@verbum.org>
617 Bug 554745 - GFileAttributeInfoList should be boxed
619 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
620 for convenience of bindings.
621 * gio/gfileattribute.h: Prototype it.
623 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
625 Bug 554970 – segfault when update-desktop-database is not available
628 * gdesktopappinfo.c (run_update_command): Have the error set before
631 2008-10-01 David Zeuthen <davidz@redhat.com>
633 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
634 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
635 instead of the gio URI (such as sftp://foo/file.avi) when using
636 g_app_info_launch() and friends. With a sufficiently recent gvfs,
637 apps using gio+gvfs will map the FUSE file:// URI back to the gio
638 URI (and thus bypass the fuse daemon) thanks the patch from bug
639 #530654. Since Nautilus is an user of g_app_info_launch() it
640 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
641 when launced via the file manager. Win. Fixes bug #528670.
643 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
644 mapping to the description of GAppInfo.
646 2008-09-30 Tor Lillqvist <tml@novell.com>
648 * tests/Makefile.am: Build desktop-app-info only on Unix.
650 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
651 g_critical(). Pass a large enough result buffer to
652 GetVolumePathNameW(). Just use MAX_PATH.
654 2008-09-29 David Zeuthen <davidz@redhat.com>
656 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
658 2008-09-26 Dan Winship <danw@gnome.org>
660 * tests/data-input-stream.c:
661 * tests/data-output-stream.c:
662 * tests/live-g-file.c:
663 * tests/memory-input-stream.c:
664 * tests/memory-output-stream.c: Use g_assert_error() and
667 2008-09-26 Matthias Clasen <mclasen@redhat.com>
669 Bug 545350 – GAppInfo deletion
670 Bug 545351 – Reset associations for content type
673 * gappinfo.[hc]: New functions g_app_info_can_delete,
674 g_app_info_delete and g_app_info_reset_type_associations.
677 * gwin32appinfo.c: Implementations of these.
680 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
682 2008-09-26 Dan Winship <danw@gnome.org>
684 Bug 505361 – gunixinputstream.c assumes poll() available
685 Bug 509446 – portable blocking gio cancellation
687 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
688 GPollFD for a cancellable (which is slightly more complicated on
691 * gunixinputstream.c (g_unix_input_stream_read):
692 * gunixoutputstream.c (g_unix_output_stream_write): Use
693 g_cancellable_make_pollfd() and g_poll() rather than using poll()
696 * tests/unix-streams.c: test of GUnixInputStream,
697 GUnixOutputStream, and GCancellable.
699 2008-09-26 Dan Winship <danw@gnome.org>
701 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
702 cast to stop a gcc warning
704 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
707 2008-09-25 Dan Winship <danw@gnome.org>
709 Bug 553426 - cancellable clarifications
711 * gcancellable.c (g_cancellable_class_init): Add a note to the
712 "cancelled" signal docs warning about thread-safety issues
713 (g_cancellable_cancel): Note that cancelling an asynchronous
714 operation takes effect asynchronously, not immediately.
716 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
718 * gioenums.h: Add new GFileCopyFlag, to leave target file with
719 default perms, instead of setting the source file perms, in a copy
722 * gfile.c (g_file_copy_attributes)
723 (build_attribute_list_for_copy)
724 (should_copy): Not copy "unix::mode" attribute if we have received
725 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
727 2008-09-20 Matthias Clasen <mclasen@redhat.com>
729 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
731 2008-09-17 Matthias Clasen <mclasen@redhat.com>
733 * === Released 2.18.1 ===
735 2008-09-16 Michael Natterer <mitch@imendio.com>
737 * gcontenttype.c (g_content_type_guess): can't assign the return
738 value of g_strdupv() to an array. Fill the array manually with
739 const strings instead (it is never freed anyway). Fixes the
740 build. Also fixed indentation.
742 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
744 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
745 Fix trivial typo to unbreak the build (there was a colon
746 instead of a semicolon at the end of a statement).
748 2008-09-15 Matthias Clasen <mclasen@redhat.com>
750 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
753 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
756 2008-09-15 Matthias Clasen <mclasen@redhat.com>
758 Bug 551681 – g_content_type_guess() too naive with filenames
760 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
761 at the end of the filename, and declare it a directory.
762 Patch by Bastien Nocera
764 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
766 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
769 * gdesktopappinfo.c: add a note in the docs clarifying what the
770 "filename" parameter really is.
772 2008-09-12 Tor Lillqvist <tml@novell.com>
774 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
775 FormatMessage() etc here. Call g_win32_error_message() instead
776 which already does all that. Besides, the code was broken as it
777 called the default "A" version of FormatMessage() but still
778 thought it produced a wide string.
780 2008-09-12 Michael Natterer <mitch@imendio.com>
782 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
783 in the documentation.
785 2008-09-08 Christian Neumair <cneumair@gnome.org>
787 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
788 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
789 Use non-blocking pipe for mount helper I/O. Fixes #550647.
791 2008-09-06 Matthias Clasen <mclasen@redhat.com>
793 Bug 551149 – xdgmime mem leak
795 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
796 a memory leak. Patch by Christian Persch
798 2008-09-04 Tor Lillqvist <tml@novell.com>
800 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
803 2008-09-02 Matthias Clasen <mclasen@redhat.com>
805 * === Released 2.18.0 ===
807 2008-09-02 Michael Natterer <mitch@imendio.com>
809 * *.h: big header formatting cleanup: indentation, vtable
810 formatting, consistent spacing in (* vfunc), trailing whitespace
811 removal. Formatting should be pretty consistent in all GIO headers
814 2008-09-02 Matthias Clasen <mclasen@redhat.com>
816 * gmount.h: Document guess_content_type sync vfunc.
818 2008-09-02 Michael Natterer <mitch@imendio.com>
820 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
821 fix parent_class member to be GFilterOutputStreamClass (not
822 GOutputStreamClass). Drop three pointers of padding, which is
823 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
824 so the class struct size stays the same.
826 2008-09-02 Matthias Clasen <mclasen@redhat.com>
828 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
830 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
831 nonexisting return values. Pointed out by Cosimo Cecchi.
833 2008-08-23 Tor Lillqvist <tml@novell.com>
835 Bug 548988 - g_file_replace fails on Windows when the target file
838 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
839 Windows, close the file before potentially renaming it (in case we
840 have been writing to a file with a temporary name).
842 (g_local_file_output_stream_close, handle_overwrite_open): Use
843 GLocalFileStat instead of plain struct stat, for passing to
844 _g_local_file_info_create_etag(). Thus also use _fstati64()
845 instead of plain fstat() on Windows.
847 2008-08-18 Matthias Clasen <mclasen@redhat.com>
849 * === Released 2.17.7 ===
851 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
853 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
856 2008-08-13 Tor Lillqvist <tml@novell.com>
858 * win32/gwinhttpvfs.c
859 * win32/gwinhttpvfs.h
860 * win32/gwinhttpfile.c
861 * win32/gwinhttpfileinputstream.c
862 * win32/gwinhttpfileoutputstream.c: Refactor some common code
863 snippets into helper functions. Check HTTP response status
864 codes. Implement g_winhttp_file_query_info(), looking at
865 Content-Length, Content-Type and Last-Modified.
867 * win32/winhttp.h: Add some symbolic constants that are not
868 publicly documented. Just a handful, so it should be OK to use
869 information from the Windows SDK's headers.
871 2008-08-13 Tor Lillqvist <tml@novell.com>
873 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
876 * win32/gwin32directorymonitor.c
877 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
879 2008-08-13 Matthias Clasen <mclasen@redhat.com>
882 * goutputstream.c: Add intro docs.
884 2008-08-13 Tor Lillqvist <tml@novell.com>
886 * win32/gwinhttpfileoutputstream.c
887 (g_winhttp_file_output_stream_write): Don't write the
888 Content-Length header ourselves, WinHttpSendRequest() takes care
889 of that when the dwTotalLength parameter is non-zero. Increment
890 offset by the number of actual bytes sent, although I wonder if
891 such a scenario is possible where less than requested would be
892 sent and accepted by the server without errors.
894 2008-08-13 Tor Lillqvist <tml@novell.com>
896 * win32/gwinhttpvfs.c
897 * win32/gwinhttpvfs.h
898 * win32/gwinhttpfile.c
899 * win32/gwinhttpfile.h
900 * win32/gwinhttpfileinputstream.c
901 * win32/gwinhttpfileinputstream.h
902 * win32/gwinhttpfileoutputstream.c
903 * win32/gwinhttpfileoutputstream.h: New files implementing
904 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
905 Windows. The implementation uses the WinHttp API. Both reading and
906 writing are supported, i.e. GET and PUT requests. When writing,
907 each write call is done using a separate PUT request with a
908 Content-Range header. Requests for file URIs and plain pathnames
909 are forwarded to GLocalVfs.
911 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
912 WINE. Used as there is no <winhttp.h> bundled with mingw, and
913 requiring people to download the Windows SDK just for this one
914 header is not reasonable.
916 * win32/Makefile.am: Add above files.
918 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
919 the plumbing for the above.
921 2008-08-11 Sven Neumann <sven@gimp.org>
923 * gfilenamecompleter.c
924 * glocaldirectorymonitor.c
926 * gunionvolumemonitor.c
930 * gunixvolumemonitor.c
933 * gwin32volumemonitor.c: use canonical signal names.
935 2008-08-11 Tor Lillqvist <tml@novell.com>
937 * Makefile.am: Put a list of the platform-dependent .la files in
938 the subdirectories in the platform_deps Make variable, and make
939 libgio-2.0.la depend on that, so that it gets relinked if one of
940 the dependent libraries has changed.
942 2008-08-11 Tor Lillqvist <tml@novell.com>
944 * Makefile.am (platform_libadd): Remove -lwininet which had been
945 added by mistake. We will probably eventually be using WinHTTP,
946 not the older WinInet anyway. (Actually I am working on it.)
948 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
950 Bug 547080 – g_file_copy leaks expected errors
952 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
953 before trying the next fallback routine.
955 2008-08-09 Loïc Minier <lool@dooz.org>
957 Bug 535124 – umask 002 not being applied for new directories, new
958 files get the correct umask
960 * gfile.c (g_file_make_directory)
961 (g_file_make_directory_with_parents): Document ownership and
962 permissions of newly created directories as being the default
965 2008-08-08 Loïc Minier <lool@dooz.org>
967 Bug 535124 – umask 002 not being applied for new directories, new
968 files get the correct umask
970 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
973 2008-08-08 Tor Lillqvist <tml@novell.com>
975 * gwin32mount.c: Remove unused code. Whitespace cleanup.
977 * gwin32volumemonitor.c (get_connected_drives): Put questionable
978 code that didn't actually do anything inside #if 0, and add a
979 comment wondering what the code was supposed to do. This also gets
980 rid of a leftover debugging printout.
982 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
984 * gfileicon.c (g_file_icon_get_property)
985 (g_file_icon_set_property): New functions.
986 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
988 (g_file_icon_new): Use the property (bug #546132).
990 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
992 * gthemedicon.c (g_themed_icon_get_property): Also handle
993 `PROP_USE_DEFAULT_FALLBACKS'.
994 (g_themed_icon_class_init): Make
995 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
997 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
999 Bug 546371 – Improve docs re g_file_monitor
1001 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1003 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1005 * === Released 2.17.6 ===
1007 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1009 * === Released 2.17.5 ===
1011 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1013 Bug 546017 – Don't copy attributes when copying a symlink
1015 * gfile.c (g_file_copy_attributes): Specify
1016 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1017 g_file_set_attributes_from_info. Patch by Christian Kellner
1019 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1021 * gemblemedicon.[hc]:
1023 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1024 a bit more extensible. Work by Clemens Buss.
1026 * gioenums.h: Add GEmblemOrigin.
1029 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1031 Bug 546079 – leak in xdgmime
1033 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1035 2008-08-03 Tor Lillqvist <tml@novell.com>
1037 * win32/gwin32directorymonitor.h
1038 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1041 2008-08-03 Tor Lillqvist <tml@novell.com>
1043 * win32/gwin32directorymonitor.c
1044 (g_win32_directory_monitor_callback): Make prototype match
1045 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1046 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1049 (g_win32_directory_monitor_constructor):
1050 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1051 names in the GLib API on Windows, so convert to UTF-16 and open
1054 2008-08-03 Tor Lillqvist <tml@novell.com>
1056 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1057 user's folder under Windows
1059 * win32/gwin32directorymonitor.c
1060 (g_win32_directory_monitor_constructor): Ignore error from
1061 CreateFile() when opening directory. Instead of asserting, just
1062 store INVALID_HANDLE_VALUE then in
1063 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1064 ReadDirectoryChangesW().
1065 (g_win32_directory_monitor_cancel): Don't attempt to close
1066 directory handle if it is INVALID_HANDLE_VALUE.
1068 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1070 * gdesktopappinfo.c: Remove debug spew
1072 2008-08-01 Hans Breuer <hans@breuer.org>
1074 * makefile.msc : add gemblembedicon
1076 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1078 Bug 545457 – gdmsetup crashed with SIGSEGV in
1079 g_unix_mount_guess_should_display()
1081 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1082 crash if no mount is found.
1084 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1086 Bug 545203 – gfile.c: argument is different type.
1088 * gfile.c (open_read_async_thread): Pass a GError **
1089 to g_file_set_error_literal.
1090 Reported by Kazuki Iwamoto
1092 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1094 Bug 545157 – wrong/no list of "open with" applications for .cc and
1097 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1098 Collect all ancestors, not just direct parents. Pointed
1099 out by Bastien Nocera
1101 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1103 * Makefile.am: Install gemblemedicon.h
1105 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1107 * gemblemedicon.[hc]: Add a GIcon implementation that can
1108 add an emblem to another icon.
1115 * gfileicon.c: Small documentation additions.
1117 2008-07-28 Tor Lillqvist <tml@novell.com>
1119 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1122 2008-07-27 Tor Lillqvist <tml@novell.com>
1124 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1126 2008-07-24 David Zeuthen <davidz@redhat.com>
1130 Also export a g_mount_guess_content_type_sync() function.
1132 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1134 529694 – SELinux context setting support
1136 * gfileinfo.c: Support setting selinux attributes.
1137 Patch by Tomas Bzatek
1139 2008-07-22 Priit Laes <plaes@plaes.org>
1141 Bug 544140 - fam-helper 64-bit issue?
1143 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1145 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1147 * === Released 2.17.4 ===
1149 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1151 * gvolumemonitor.[hc]:
1152 * gmountoperation.c:
1156 * gmount.c: Documentation fixes
1158 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1160 543504 – crash in Epiphany Web Browser: Opening local file
1164 * gdesktopappinfo.c:
1171 * gvolume.c: Register types thread-safely.
1172 Patch by Christian Persch
1174 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1176 * gcontenttype.c: Remove debug spew
1178 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1180 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1183 * fen/fen-kernel.c: Remove a warning that was causing
1184 crashes. Reported by Lin Ma.
1186 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1188 Bug 543040 – async reading on dummy file will crash on
1191 * gfile.c (open_read_async_thread): Cope with read_fn being
1192 NULL. Reported by Lin Ma.
1194 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1197 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1199 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1202 * gdesktopappinfo.h:
1203 * giomodule.c: Rename a chapter id to avoid filename conflict.
1205 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1207 Bug 540616 – mem leak in filechooser button
1209 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1210 the mount entry. Reported by Chrisitan Persch
1212 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1214 * gfile.c: Small documentation fixes.
1216 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1218 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1220 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1225 * gmount.c: Documentation improvements.
1227 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1230 * gmount.[hc]: Add g_mount_guess_content_type().
1232 2008-07-06 David Zeuthen <davidz@redhat.com>
1235 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1236 is needed for easily handling adoption of foreign volumes by
1237 out-of-process volume monitors (#541793)
1239 2008-07-06 David Zeuthen <davidz@redhat.com>
1241 * gvolumemonitor.[ch]:
1242 * gunionvolumemonitor.c: Export the eject-button signal on the
1243 volume monitor class (#541794).
1245 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1247 * gappinfo.c: More doc tweaks
1249 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1251 * gappinfo.c: Clarify some docs
1253 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1255 * gdesktopappinfo.c: Fix a stupid mistake.
1257 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1259 * === Released 2.17.3 ===
1261 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1263 * gfilemonitor.c: Fix the build.
1265 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1267 Bug 536160 – Add g_file_monitor()
1270 * gfile.[hc]: Add g_file_monitor which can return either
1271 a file or a directory monitor. Proposed by Behdad Esfahbod
1273 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1275 536733 – gio build failure on Irix
1277 * glocalfile.c: Use a configure check for structfs.f_bavail.
1279 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1281 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1284 * gdesktopappinfo.[hc]: Add a function to create a
1285 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1287 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1289 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1291 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1293 * gunixmounts.c: Fix a doc typo.
1295 2008-07-01 Cody Russell <bratsche@gnome.org>
1297 * gio/gcontenttype.c:
1298 * gio/gwin32appinfo.c:
1299 * gio/gwin32volumemonitor.c:
1300 * gio/gwin32mount.c: Fixed some include problems.
1302 2008-07-01 Cody Russell <bratsche@gnome.org>
1306 Moved all relevant typedefs into these files.
1309 Updated wrt added files.
1311 Split types into separate file for easier maintainership. (#538564)
1313 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1315 Bug 540331 – g_file_append_to () documentation: can return NULL
1317 * gfile.c (g_file_append_to): Clarify docs.
1318 Patch by Jared Moore
1320 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1322 Bug 539090 – g_content_type_from_mime_type() should unalias
1324 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1325 Patch by Markus Bergman
1327 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1329 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1330 g_atomic_pointer_get
1332 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1333 on ppc and alpha. Reported by Mart Raudsepp
1335 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1337 * tests/Makefile.am:
1338 * tests/memory-output-stream.c: Add some tests for
1339 GMemoryOutputStream.
1341 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1343 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1346 * gmemoryoutputstream.c (array_resize): Handle truncation to
1347 zero correctly. Reported by Akira Tagoh
1349 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1351 * gmemoryoutputstream.c: Trivial doc fixes
1353 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1355 Bug 540802 – g_list_prepend doesn't concat lists
1357 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1358 one list to another. Pointed out by Jan Arne Petersen
1360 2008-06-28 Michael Natterer <mitch@imendio.com>
1362 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1364 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1366 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1367 to avoid problems with partial icon themes.
1369 2008-06-17 Hans Breuer <hans@breuer.org>
1371 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1372 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1373 access again on win32, see bug #538127
1374 * giomodule.c : ensure GWin32VolumeMonitor is registered
1375 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1376 * Makefile.am makefile.msc : updated
1378 2008-06-16 Hans Breuer <hans@breuer.org>
1380 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1381 and initialization in one step avoids c99ism
1383 2008-06-16 Christian Persch <chpe@gnome.org>
1386 * gio/gbufferedinputstream.c
1387 * gio/gcancellable.c
1388 * gio/gdatainputstream.c
1389 * gio/gdesktopappinfo.c
1391 * gio/gfileenumerator.c
1392 * gio/gfileinputstream.c
1393 * gio/gfileoutputstream.c
1394 * gio/ginputstream.c
1395 * gio/glocaldirectorymonitor.c
1397 * gio/glocalfileenumerator.c
1398 * gio/glocalfileinfo.c
1399 * gio/glocalfilemonitor.c
1400 * gio/glocalfileoutputstream.c
1401 * gio/gmemoryinputstream.c
1402 * gio/gmemoryoutputstream.c
1403 * gio/goutputstream.c
1404 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1407 2008-06-16 Tor Lillqvist <tml@novell.com>
1409 Bug 538362 - Get Win32 icons back in the file chooser
1411 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1412 corresponding to a file extension in the Registry. Patch by Hans
1414 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1416 2008-06-16 Tor Lillqvist <tml@novell.com>
1418 Patches by Hans Breuer:
1420 * glocalfile.c (is_xp_or_later): Handle compiling against older
1421 SDK headers with missing VerifyVersionInfo(). Conditioned on
1422 _MSC_VER, but should probably use some better test.
1423 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1424 uninitialised statfs_result variable on Win32.
1426 2008-06-16 Michael Natterer <mitch@imendio.com>
1428 * *.c: chain up unconditionally in finalize() and dispose(). Also
1429 don't dereference these function pointers when calling them since
1430 that has no meaning at all.
1432 2008-06-16 Ross Burton <ross@burtonini.com>
1434 * gfileenumerator.c:
1435 Remove check for dispose implementation as it annoys Emmanuele.
1437 2008-06-16 Ross Burton <ross@burtonini.com>
1439 Bug 536252 – GFileEnumerator should allow access to the containing
1442 * gfileenumerator.c:
1443 * gfileenumerator.h:
1445 Add g_file_enumerator_get_container() and a container writeable
1446 construct-only property. Also shuffle around typedefs to make it
1449 * glocalfileenumerator.c:
1450 * glocalfileenumerator.h:
1452 Instead of a string filename take a GFile in the constructor and
1453 use it to set the container property.
1456 Update with new API.
1458 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1460 * gfile.c: Make includes more uniform
1462 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1464 * tests/live-g-file.c (sample_struct):
1465 Use less fancy unicode filenames, so the test doesn't fail
1466 on Mac OS X (#531476).
1468 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1470 * === Released 2.17.2 ===
1472 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1474 * === Released 2.17.1 ===
1476 2008-06-11 A. Walton <awalton@gnome.org>
1478 * tests/g-file.c (test_g_file_new_null):
1479 Fix broken test case.
1481 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1483 * pltcheck.sh: We use g_clear_error now.
1485 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1487 * glocalfile.c (g_local_file_enumerate_children): Revert
1488 an unintended change.
1490 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1492 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1494 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1496 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1499 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1500 as icon for the desktop directory, also make user-home and
1501 user-desktop the preferred icons.
1503 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1506 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1507 to add a name to the front of the list.
1509 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1511 Bug 537392 – Additional colon in xattr name
1513 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1514 too. Reported by Alessandro Morandi
1516 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1518 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1521 * glocalfile.c (get_fs_type): Add afs and autofs.
1522 Patch by Danny Baumann.
1524 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1526 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1528 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1529 is no parent. (Owen Taylor, patch by Christian Neumair)
1531 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1533 * gfile.c (g_file_replace_contents): do not leak the output stream.
1535 2008-06-10 Michael Natterer <mitch@imendio.com>
1537 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1538 uninitialized memory as array index.
1540 2008-06-10 Tor Lillqvist <tml@novell.com>
1542 * gcontenttype.c (g_content_type_can_be_executable)
1543 (g_content_type_get_icon) [Win32]: Add TODO comments.
1545 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1547 * xdgmime/Makefile.am: Fix the build
1549 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1551 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1552 in the shared mime database, if available.
1554 * xdgmime/*: Sync with upstream. This brings support for
1555 glob weights, generic icons, and changes the cache format to
1558 2008-05-28 Michael Natterer <mitch@imendio.com>
1560 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1561 the global CPPFLAGS now.
1563 * tests/data-input-stream.c
1564 * tests/data-output-stream.c
1565 * tests/g-file-info.c
1567 * tests/live-g-file.c
1568 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1570 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1572 * === Released 2.17.0 ===
1574 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1575 doesn't complain about leftover files.
1577 2008-05-27 simon.zheng <simon.zheng@sun.com>
1579 * glocalfile.c: (g_local_file_query_filesystem_info):
1580 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1582 2008-05-26 Michael Natterer <mitch@imendio.com>
1584 * gmemoryoutputstream.h: declare
1585 g_memory_output_stream_get_data_size().
1587 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1589 * tests/*: Make tests work
1591 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1593 * gio.symbols: Add g_memory_output_stream_get_data_size.
1595 2008-05-25 Ross Burton <ross@burtonini.com>
1598 Fix typo in error message (#534764).
1600 2008-05-25 Ross Burton <ross@burtonini.com>
1603 Fix circular dependency loop for gioenumtypes.h (#534759).
1605 2008-05-19 Hans Breuer <hans@breuer.org>
1607 * Makefile.am : EXTRA_DIST += makefile.msc
1609 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1612 * gcontenttype.c: (g_content_type_from_mime_type):
1613 New function to create a content type from a mime type. (#527175,
1616 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1618 Bug 532965 – Should not return filesystem::free for certain file systems
1620 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1621 free space for ncpfs.
1623 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1625 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1627 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1628 st_dev might be zero.
1630 2008-05-16 Tor Lillqvist <tml@novell.com>
1632 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1633 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1635 2008-05-13 Bastien Nocera <hadess@hadess.net>
1637 * gfile.c (has_valid_scheme): A URI scheme must start with a
1638 letter, even if later more characters are allowed (#532852)
1640 2008-05-05 Michael Natterer <mitch@imendio.com>
1642 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1643 code from being checked in that breaks the build of applications
1644 which use G_DISABLE_SINGLE_INCLUDES.
1646 * makegioalias.pl: make the alias file include "glib.h" instead of
1649 * gio.symbols: whitespace change to force regeneration of the
1650 alias file after above script change.
1652 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1654 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1656 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1658 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1660 2008-04-28 David Zeuthen <davidz@redhat.com>
1662 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1663 displaying mounts in a subdirectory not accessible to the
1666 2008-04-22 Michael Natterer <mitch@imendio.com>
1668 * Makefile.am: fix library versioning (it was 0.0.0).
1670 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1672 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1673 Default disable all loggings.
1674 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1675 (port_fetch_event_cb): Fixed two macro nits.
1677 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1679 * xdgmime/xdgmime.c: Rework the timestamp checking code
1680 to protect against duplicate directories in XDG_DATA_DIRS.
1681 Fixes fd.o bug 12513, reported by Joe Shaw.
1683 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1685 Partically revert the last commit after realizing that
1686 xdg_mime_media_type_equal doesn't have to init at all.
1688 * xdgmime/xdgmime.h:
1689 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1691 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1693 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1695 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1696 reported by Joe Shaw and Federico Mena Quintero.
1698 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1699 (xdg_mime_media_type_equal): Turn into a wrapper around the
1702 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1703 functions throughout.
1705 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1707 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1708 tolerate an empty TryExec= line without failing; nautilus used
1709 to create launchers with these in previous versions. Fixes #528433
1711 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1713 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1714 after name. Fixes #527132.
1716 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1718 * gfile.c: (g_file_replace):
1721 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1723 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1725 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1726 by Christian Kellner.
1728 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1730 * gunixmounts.c: (g_unix_mount_guess_should_display):
1731 Don't list the user directory as a mount, fix potential issue
1732 when other users have a similar naming and don't special case the
1733 gvfs mounts there since that's not required (#525866)
1735 2008-03-31 Alexander Larsson <alexl@redhat.com>
1737 * glocalfile.c (get_parent):
1740 2008-03-31 A. Walton <awalton@svn.gnome.org>
1742 * gfile.c (g_file_query_file_type):
1743 Always return a GFileType enum value (#520715).
1745 2008-03-31 Alexander Larsson <alexl@redhat.com>
1747 * glocalfileenumerator.c:
1748 Read readdir() info in chunks (of 1000) and sort
1749 the chunks by inode before stat:ing.
1750 This is a 20% performance increase in testing
1751 gvfs-ls on /usr/bin with cold cache.
1753 2008-03-31 Alexander Larsson <alexl@redhat.com>
1755 * gmemoryoutputstream.c:
1756 Clarify docs for g_memory_output_stream_get_size.
1757 Add g_memory_output_stream_get_data_size.
1759 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1763 * gfile.h: Add g_file_query_file_type convenience function
1764 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1766 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1768 * gfileenumerator.c:
1769 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1771 2008-03-28 A. Walton <awalton@svn.gnome.org>
1773 * giomodule.c (_g_io_modules_ensure_loaded):
1774 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1777 2008-03-28 Alexander Larsson <alexl@redhat.com>
1780 (copy_stream_with_progress):
1783 2008-03-28 Alexander Larsson <alexl@redhat.com>
1786 (copy_stream_with_progress):
1787 (file_copy_fallback):
1788 Fallback to g_file_query_info for source size
1789 if g_file_input_stream_query_info fails. (#524579)
1791 2008-03-28 Alexander Larsson <alexl@redhat.com>
1793 * glocalfile.c (g_local_file_move):
1794 Reuse old string instead of adding new one.
1796 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1798 * fen/*.[hc]: still copyright issue. I hate copyright.
1800 2008-03-27 Alexander Larsson <alexl@redhat.com>
1802 * glocalfile.c (g_local_file_move):
1803 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1804 file over directory. This is according to the docs and what the move via
1805 copy+remove fallback does.
1807 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1809 * fen/*.[hc]: Updated copyright.
1811 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1813 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1815 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1817 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1818 not emit attribute changed events when optimizing changed events.
1819 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1822 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1824 * gmountoperation.[hc]: Small documentation additions
1826 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1828 * gunixmounts.c: (guess_mount_type):
1829 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1831 2008-03-19 Alexander Larsson <alexl@redhat.com>
1834 (copy_stream_with_progress):
1835 Bump block side for copy to 64k to minimize
1836 overhead for low latency links. (#523015)
1838 2008-03-16 Tor Lillqvist <tml@novell.com>
1840 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1841 depend on gio.def on Windows.
1843 2008-03-12 David Zeuthen <davidz@redhat.com>
1847 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1849 2008-03-14 Alexander Larsson <alexl@redhat.com>
1853 Avoid redudant tests (#521851)
1854 Patch from Josselin Mouette
1856 2008-03-14 Alexander Larsson <alexl@redhat.com>
1859 (g_file_monitor_is_cancelled):
1860 Fix C89 issue (#521672)
1861 Patch from Jens Granseuer
1863 2008-03-14 Alexander Larsson <alexl@redhat.com>
1865 * fam/fam-helper.[ch]:
1867 Shut down fam (including removing fam GSource) when
1868 module is unloaded (#521513)
1869 Patch from Joe Marcus Clarke
1871 2008-03-14 Alexander Larsson <alexl@redhat.com>
1874 (_g_io_modules_ensure_loaded):
1877 2008-03-14 Alexander Larsson <alexl@redhat.com>
1880 (g_local_file_query_filesystem_info):
1881 Use right define name for f_fstypename member check
1883 2008-03-14 Alexander Larsson <alexl@redhat.com>
1886 * fen/Makefile.am: Added.
1887 * fen/fen-data.[ch]: Added.
1888 * fen/fen-dump.[ch]: Added.
1889 * fen/fen-helper.[ch]: Added.
1890 * fen/fen-kernel.[ch]: Added.
1891 * fen/fen-missing.[ch]: Added.
1892 * fen/fen-node.[ch]: Added.
1893 * fen/fen-sub.[ch]: Added.
1894 * fen/gfendirectorymonitor.[ch]: Added.
1895 * fen/gfenfilemonitor.[ch]: Added.
1897 Added Solaris FEN file notification backend.
1898 Patch from Lin Ma <Lin.Ma@Sun.COM>
1900 2008-03-13 Tor Lillqvist <tml@novell.com>
1902 * Makefile.am: Actually use the gio.def file when linking the
1903 library on Windows. Produce .lib library for Microsoft's toolchain
1904 when possible. Install the .lib and .def file like for the other
1907 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1909 * tests/live-g-file.c:
1910 Include live-g-file in standard set of tests, making a temporary
1911 directory in source structure.
1913 Clean target directory before the tests (write mode only)
1915 2008-03-12 Tor Lillqvist <tml@novell.com>
1917 Bug 517419 - gio win32 directory monitor
1918 Implementation by Vlad Grecescu.
1921 * win32/gwin32directorymonitor.h
1922 * win32/gwin32directorymonitor.c: New files.
1924 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1926 * Makefile.am: Add the win32 subdirectory.
1928 2008-03-12 Tor Lillqvist <tml@novell.com>
1930 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1931 normal struct stat on Unix but struct _stati64 on Windows to have
1932 access to 64-bit file size information. Use that instead of struct
1933 stat in the functions declared here in this private header.
1935 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1936 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1937 warnings about unused functions and variables. Don't set
1938 meaningless attributes like inode numbers on Windows.
1940 2008-03-12 Benjamin Otte <otte@gnome.org>
1943 trim whitespace so gtk-doc groks the function name
1945 2008-03-12 Tor Lillqvist <tml@novell.com>
1947 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1948 returning FALSE, on Win32.
1950 2008-03-11 Alexander Larsson <alexl@redhat.com>
1953 * glocalfileinfo.[ch]:
1954 Correctly implement can_trash by actually
1955 looking for a trash dir, not just assuming
1958 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1960 * === Released 2.16.1 ===
1962 2008-03-11 Alexander Larsson <alexl@redhat.com>
1965 Fix crashes in new constructor and properties code
1967 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1969 * gfile.c: Minor spelling correction in documentation:
1970 existance -> existence.
1972 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1974 * === Released 2.16.0 ===
1976 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1978 * gio.symbols: Remove g_file_contains_file here, too.
1980 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1982 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1983 Samuel Cormier-Iijima)
1985 2008-03-08 Tor Lillqvist <tml@novell.com>
1987 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1990 2008-03-07 Alexander Larsson <alexl@redhat.com>
1993 (g_local_file_query_filesystem_info):
1994 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1995 Patch from Jasper Lievisse Adriaanse
1997 2008-03-06 Tor Lillqvist <tml@novell.com>
1999 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2000 comments for the *_USEC attributes.
2002 2008-03-06 Alexander Larsson <alexl@redhat.com>
2004 * gfile.c (g_file_query_exists):
2005 Add g_return_val_if_fail check (#520700)
2007 2008-03-06 Alexander Larsson <alexl@redhat.com>
2009 * gdesktopappinfo.c:
2012 * gunionvolumemonitor.c:
2015 * tests/live-g-file.c:
2016 * xdgmime/xdgmimecache.c:
2017 Fix sparse warnings (#519489)
2019 2008-03-05 Alexander Larsson <alexl@redhat.com>
2022 Make cancellation threadsafe (i.e.
2023 guarantee its only done once, and always
2026 * glocaldirectorymonitor.c:
2027 Make sure we the monitor lives while the
2028 mounts_changed callback is being called (#520484)
2030 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2032 * gbufferedinputstream.c: Fix typo in parameter
2035 2008-03-04 Alexander Larsson <alexl@redhat.com>
2038 Remove deprecated symbols we kept for one release.
2040 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2043 * goutputstream.c: Tiny documentation corrections.
2045 2008-03-03 Alexander Larsson <alexl@redhat.com>
2047 * gunionvolumemonitor.c:
2049 Fix the adopt_orphan_mount vfunc to take a
2050 volume_monitor reference in an ABI compat way.
2051 This change is not API compat, but the added
2052 arg is not used in the only user of this vfunc, so
2053 all we get is a harmless warning in gvfs (#520169)
2055 2008-03-01 Benjamin Otte <otte@gnome.org>
2058 clarify docs for g_file_delete().
2060 2008-02-29 Alexander Larsson <alexl@redhat.com>
2064 Make sure empty files get text/plain type (#518720)
2066 2008-02-27 Alexander Larsson <alexl@redhat.com>
2072 (g_unix_volume_mount):
2073 Add missing GMountMountFlags argument
2075 2008-02-26 Alexander Larsson <alexl@redhat.com>
2078 (g_local_file_delete):
2079 Handle filesystems (like ntfs-3g) that return EEXIST instead
2080 of ENOTEMPTY (#518816)
2082 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2084 * === Released 2.15.6 ===
2086 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2088 * gfile.c (g_file_find_enclosing_mount):
2089 * ginputstream.c (g_input_stream_set_pending):
2090 * glocalfile.c (g_local_file_find_enclosing_mount):
2091 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2092 * goutputstream.c (g_output_stream_set_pending):
2094 Fixup translator comments (#518578).
2096 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2098 * gfile.c (g_file_find_enclosing_mount):
2100 * glocalfile.c (g_local_file_find_enclosing_mount):
2103 Fix a few typos in translator comments and documentation.
2105 2008-02-25 Alexander Larsson <alexl@redhat.com>
2112 Add translator comments (#518578)
2114 2008-02-25 Alexander Larsson <alexl@redhat.com>
2117 Reintroduce g_file_contains_file, keep around for one
2118 unstable release cycle to avoid crashing to many apps.
2119 Make sure to delete after release.
2121 2008-02-25 Alexander Larsson <alexl@redhat.com>
2124 Remove deprecated g_file_contains_file.
2126 2008-02-25 Alexander Larsson <alexl@redhat.com>
2129 Emit actual change signals in an idle handler.
2130 This avoids reentrance and locking problems in
2131 the file notification backends.
2133 2008-02-25 Alexander Larsson <alexl@redhat.com>
2136 (g_unix_mount_guess_should_display):
2137 Remove type guessing, instead just display
2138 mounts in /media and in ~/.
2140 2008-02-25 Alexander Larsson <alexl@redhat.com>
2143 Make new strings reuse old ones.
2145 2008-02-25 Alexander Larsson <alexl@redhat.com>
2148 Implement trashing and filesystem::readonly for win32 (#517235)
2149 Patch from Yevgen Muntyan
2151 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2153 * gfileinfo.h: Documentation fixes.
2155 2008-02-22 Alexander Larsson <alexl@redhat.com>
2157 * gcontenttype.c (g_content_type_get_icon):
2158 Look at old-style gnome mime icon names too, as many
2159 have not moved to the new style.
2161 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2163 * *.c: Correct the @include in for section docs.
2165 2008-02-21 David Zeuthen <davidz@redhat.com>
2167 * glocalfileinfo.c: (_g_local_file_info_get):
2169 (g_content_type_get_icon): Implement this function by
2170 moving bits from glocalfileinfo.c
2171 (g_content_type_get_description): Unalias before getting
2172 description (#517687)
2174 * gfile.c: (g_file_class_init),
2175 (g_file_query_filesystem_info_async),
2176 (g_file_query_filesystem_info_finish),
2177 (query_filesystem_info_data_free),
2178 (query_filesystem_info_async_thread),
2179 (g_file_real_query_filesystem_info_async),
2180 (g_file_real_query_filesystem_info_finish):
2181 * gfile.h: Implement async version of
2182 g_file_query_filesystem_info()
2184 * gfileinfo.h: Add new attributes for filesystem::use-preview
2186 * gio.symbols: Update
2188 * gthemedicon.c: (g_themed_icon_append_name):
2189 * gthemedicon.h: Add new new convenience function.
2191 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2192 (get_mounts), (get_volumes), (get_connected_drives),
2193 (get_volume_for_uuid), (get_mount_for_uuid),
2194 (g_union_volume_monitor_init), (populate_union_monitor),
2195 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2196 (g_volume_monitor_adopt_orphan_mount):
2198 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2199 monitor implementations to call into the main volume monitor. Also
2200 separate object initialization and volume monitor initialization
2201 such that non-native volume monitors can properly adopt their
2204 2008-02-21 Alexander Larsson <alexl@redhat.com>
2209 2008-02-21 Alexander Larsson <alexl@redhat.com>
2212 Add more documentation about how GFiles work (from #517086)
2214 2008-02-21 Alexander Larsson <alexl@redhat.com>
2218 Add new g_file_has_prefix that does the same as g_file_contains_file.
2219 Deprecate g_file_contains_file and add a macro that converts
2220 it to g_file_has_prefix.
2221 The reason for this change is that the contains_file() name seems to
2222 imply that this does more work than what it does, but its really only
2223 a name match (from #517086)
2228 Update to match the above change.
2230 2008-02-20 Benjamin Otte <otte@gnome.org>
2232 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2233 (g_file_eject_mountable):
2234 even more cases of not returning in error path
2236 2008-02-20 Benjamin Otte <otte@gnome.org>
2238 * gfile.c: (g_file_mount_mountable):
2239 return from function in error path.
2241 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2244 Remove trailing coma in GMountMountFlags struct
2246 2008-02-18 Alexander Larsson <alexl@redhat.com>
2250 * glocalfileoutputstream.c:
2251 Use g_unlink/g_rename instead of unlink/rename;
2252 do not pass raw filenames to g_set_error. (#517239)
2253 Patch from Yevgen Muntyan.
2255 2008-02-18 Alexander Larsson <alexl@redhat.com>
2258 * glocalfileoutputstream.c:
2259 Open files with O_BINARY on windows. (#517140)
2261 2008-02-14 Alexander Larsson <alexl@redhat.com>
2263 * glocalfileoutputstream.c:
2264 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2266 2008-02-14 Alexander Larsson <alexl@redhat.com>
2269 Copy permissions with file on copy (#514084)
2270 This is what cp does and makes sure e.g. the
2271 exec permissions are kept.
2272 Its kinda weird in that it keeps the permission bits
2273 the same while the uid and gid are different. However
2274 the new uid is the user so its not a security issue,
2275 and I've heard no complaints about cp on this issue.
2277 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2279 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2281 2008-02-13 Alexander Larsson <alexl@redhat.com>
2283 * inotify/inotify-path.c:
2284 Define IN_ONLYDIR if not in header (#515346)
2286 2008-02-12 Alexander Larsson <alexl@redhat.com>
2288 * tests/live-g-file.c:
2291 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2293 * === Released 2.15.5 ===
2295 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2297 * gio.symbols: Add g_mount_mount_flags_get_type.
2299 2008-02-11 Alexander Larsson <alexl@redhat.com>
2302 (g_file_info_set_attribute_mask):
2303 (g_file_attribute_matcher_matches_id):
2304 Correctly handle NULL GAttributeMatcher meaning
2305 matches nothing. (Fixes #513492)
2307 2008-02-11 Alexander Larsson <alexl@redhat.com>
2312 Added GMountMountFlags enum and added a flags
2313 argument to all mount calls.
2315 This is an API/ABI change for future extensibility,
2316 as I think we will need at least an
2317 inhibit-autorun flag (the panel needs this).
2318 There are no flags defined yet though.
2320 2008-02-11 Alexander Larsson <alexl@redhat.com>
2323 Added new standard::description attribute.
2324 Requested by Vincent, and useful for both
2327 2008-02-11 Alexander Larsson <alexl@redhat.com>
2329 * gdesktopappinfo.c:
2332 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2334 * *.c: Documentation additions
2336 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2338 * gappinfo.h: Formatting cleanup
2339 * gappinfo.c: Fix up docs.
2341 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2343 * gunixmounts.c: Consistently use getmntent_r() and fall
2344 back to getmntent(). (#515492)
2346 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2348 * gbufferedinputstream.c:
2350 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2352 * tests/data-input-stream.c:
2353 * tests/data-output-stream.c: Portability fixes.
2355 2008-02-08 Alexander Larsson <alexl@redhat.com>
2360 Add g_volume_should_automount.
2363 2008-02-07 Tor Lillqvist <tml@novell.com>
2365 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2366 Win32, too Unix-specific.
2368 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2370 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2371 a local plt if the compiler doesn't support what we want. Bug #514702
2373 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2375 reviewed by: <delete if not using a buddy>
2378 * gunixinputstream.c:
2379 * gunixoutputstream.c:
2381 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2383 * tests/Makefile.am:
2384 * tests/live-g-file.c:
2385 * tests/live-g-file.txt:
2386 New GIO testing module working over real data
2388 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2390 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2391 Fallback to rename() if link() is not available
2392 (when no support on target filesystem)
2394 2008-02-06 Michael Natterer <mitch@imendio.com>
2396 * gfileinfo.c (g_file_info_get_icon): replace
2397 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2399 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2401 * gfile.c (g_file_create):
2402 Documentation update of error codes
2404 2008-02-06 Alexander Larsson <alexl@redhat.com>
2406 * gdesktopappinfo.c:
2407 Update to use both mimeapps.list and
2408 defaults.list as discussed on xdg list.
2410 2008-02-06 Benjamin Otte <otte@gnome.org>
2413 * gfilenamecompleter.c:
2414 Fix some typos in the documentation.
2416 2008-02-06 Alexander Larsson <alexl@redhat.com>
2418 * glocalfile.c (g_local_file_trash):
2419 Don't succeed with trash if newly created
2420 trash dir has the wrong owner. (#514696)
2422 2008-02-05 Alexander Larsson <alexl@redhat.com>
2424 * glocalfile.c (g_local_file_move):
2425 Don't spew warnings when destination is not
2428 2008-02-03 Hans Breuer <hans@breuer.org>
2430 * makefile.msc : update
2432 2008-02-01 Michael Natterer <mitch@imendio.com>
2434 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2435 return value of xdg_mime_list_mime_parents() to a variable of the
2438 2008-02-01 Alexander Larsson <alexl@redhat.com>
2440 * gappinfo.c (g_app_info_launch_uris):
2441 Actually call the launch_uris method, not
2444 2008-02-01 Alexander Larsson <alexl@redhat.com>
2446 * gdesktopappinfo.c (g_desktop_app_info_equal):
2447 Ensure appinfos with no id but same pointer value
2450 2008-02-01 Alexander Larsson <alexl@redhat.com>
2452 * gappinfo.c (g_app_info_launch_default_for_uri):
2455 2008-02-01 Alexander Larsson <alexl@redhat.com>
2459 Add g_app_info_launch_default_for_uri utility
2462 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2464 * gdesktopappinfo.c:
2465 Doc fix for g_app_info_get_default_for_uri_scheme ()
2468 2008-01-30 Alexander Larsson <alexl@redhat.com>
2471 Add doc comment about uris vs GFiles to
2474 * gdesktopappinfo.c:
2475 Ensure uris passed to g_app_info_launch_uris()
2476 are not roundtriped through GFile (as that
2477 may be slightly destructive for e.g. mailto: links)
2479 2008-01-30 Alexander Larsson <alexl@redhat.com>
2481 * tests/data-input-stream.c:
2482 * tests/data-output-stream.c:
2483 C89 fixes from Jens Granseuer (#512849)
2485 2008-01-30 Alexander Larsson <alexl@redhat.com>
2488 Fix gamin/fam difference build issue. (#509419)
2490 2008-01-29 Alexander Larsson <alexl@redhat.com>
2493 * gdesktopappinfo.c:
2494 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2496 2008-01-29 Alexander Larsson <alexl@redhat.com>
2498 * gdesktopappinfo.c:
2499 * gdesktopappinfo.h:
2500 giomodule-priv.h include moved to .c file.
2502 2008-01-29 Alexander Larsson <alexl@redhat.com>
2504 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2505 Remove unused prio/name fields.
2507 2008-01-29 Alexander Larsson <alexl@redhat.com>
2509 * gcontenttype.c (looks_like_text):
2510 Don't treat whitespace as control chars.
2512 2008-01-29 Alexander Larsson <alexl@redhat.com>
2514 * gdesktopappinfo.c:
2515 Lazily create the desktop files for appinfos created
2516 by g_app_info_create_from_commandline() when needed
2517 for mime associations. This allows run-time use
2518 of GAppInfo object without creating unnecessary
2521 2008-01-29 Alexander Larsson <alexl@redhat.com>
2524 Added new symbols to gio.symbols
2526 2008-01-29 Alexander Larsson <alexl@redhat.com>
2529 Add g_file_query_default_handler utility to easily look up
2530 the GAppInfo that handles a file.
2532 * gdesktopappinfo.[ch]:
2534 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2537 Remove unused function
2539 2008-01-29 Alexander Larsson <alexl@redhat.com>
2541 * gfileenumerator.c:
2542 Mention need to free returned value in
2543 g_file_enumerator_next_files_finish docs.
2544 Fix leak if g_file_enumerator_next_files_finish()
2547 2008-01-29 Alexander Larsson <alexl@redhat.com>
2550 (_g_unix_content_type_get_parents):
2551 Use list_parents, not get_parents from xdgmime, because
2552 the later doesn't use the cache.
2554 * xdgmime/xdgmimecache.c:
2555 (_xdg_mime_cache_list_mime_parents):
2556 Don't list the same type as parent multiple times.
2558 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2560 * === Released 2.15.4 ===
2562 2008-01-28 Alexander Larsson <alexl@redhat.com>
2565 Register local vfs with prio 0.
2568 Remove old name and prio class members
2570 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2572 * tests/g-file.c: Disable some tests that are failing in
2573 the absence of a http backend.
2575 2008-01-28 Alexander Larsson <alexl@redhat.com>
2579 Add registration hooks for extension points.
2580 Register the gio extension points.
2582 * fam/gfamdirectorymonitor.c:
2583 * fam/gfamfilemonitor.c:
2584 * glocaldirectorymonitor.[ch]:
2585 * glocalfilemonitor.[ch]:
2586 * gnativevolumemonitor.h:
2587 * gunionvolumemonitor.c:
2588 * gunixvolumemonitor.c:
2591 * inotify/ginotifydirectorymonitor.c:
2592 * inotify/ginotifyfilemonitor.c:
2593 Use the extension points registration instead
2594 of g_type_children().
2596 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2599 * gvolume.[hc]: Document new API.
2601 * gfile.c (g_file_copy_async): Fix docs
2603 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2605 * gbufferedinputstream.c:
2607 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2610 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2612 * glocalfile.c: Avoid trivial differences in translatable strings.
2614 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2616 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2617 build with gcc 3.4 (#509419)
2619 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2621 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2622 (#509994, Murray Cumming)
2624 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2626 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2627 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2628 this allows big jobs to be executed in chunks, instead of blocking
2629 the main loop for a long time.
2631 * gsimpleasyncresult.c:
2632 * giofile.c: Adapt callers.
2634 2008-01-25 Alexander Larsson <alexl@redhat.com>
2636 * gdesktopappinfo.c:
2637 Implement changes discussed on xdg list.
2638 Now we can add supported mimetypes by just using defaults.list
2639 We can also remove associations in defaults.list.
2641 2008-01-25 Alexander Larsson <alexl@redhat.com>
2643 * gdesktopappinfo.c:
2644 Don't make local copy of desktop file
2645 for mimetype changes if the file already
2646 supports the new mimetype.
2648 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2652 * gbufferedinputstream.c:
2653 * glocalfile.c: String improvements. (#511966,
2654 Theppitak Karoonboonyanan)
2656 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2658 * gioscheduler.h: Expand docs a bit.
2660 2008-01-24 Alexander Larsson <alexl@redhat.com>
2663 Add g_drive_get_identifier and
2664 g_drive_enumerate_identifiers
2667 Add g_volume_get_identifier and
2668 g_volume_enumerate_identifiers
2674 Implement identifiers for unix backend
2676 2008-01-24 Alexander Larsson <alexl@redhat.com>
2681 Add g_file_copy_async() (#511580)
2682 Based on patch from Carlos Garcia Campos
2684 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2686 * gioscheduler.c: Some documentation additions.
2688 2008-01-22 Alexander Larsson <alexl@redhat.com>
2690 * gdesktopappinfo.c:
2691 (g_desktop_app_info_new):
2692 Don't leak basename.
2694 2008-01-22 Alexander Larsson <alexl@redhat.com>
2696 * gdesktopappinfo.c:
2697 (g_desktop_app_info_new_from_filename):
2700 2008-01-22 Alexander Larsson <alexl@redhat.com>
2702 * glocalfileinfo.c (get_thumbnail_attributes):
2705 2008-01-22 Alexander Larsson <alexl@redhat.com>
2708 (canonicalize_filename):
2709 Canonicalize paths that start with more than
2713 (compare_two_files):
2714 (test_g_file_new_for_path):
2717 2008-01-22 Alexander Larsson <alexl@redhat.com>
2720 Allow UTF-8 in file:// parse names.
2722 * tests/Makefile.am:
2723 * tests/data-input-stream.c:
2724 * tests/data-output-stream.c:
2725 * tests/g-file-info.c:
2727 Added a bunch of tests from Tomas Bzatek
2729 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2731 * === Released 2.15.3 ===
2733 2008-01-21 Alexander Larsson <alexl@redhat.com>
2735 * gfileinputstream.[ch]:
2736 * gfileoutputstream.[ch]:
2738 Remove duplicated GSeekable functions. (#509990)
2739 Just use the g_seekable_xxx() calls instead.
2741 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2744 * gvolumemanager.c: Whitespace cleanups.
2746 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2747 Use the right mode when creating the file.
2749 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2751 * gfileenumerator.c:
2752 * gfileinputstream.c:
2754 * goutputstream.c: Documentation: Fixed minor typos
2755 and added more mentions of specific _finish() functions.
2757 2008-01-21 Alexander Larsson <alexl@redhat.com>
2759 * inotify/Makefile.am:
2760 * inotify/inotify-helper.c:
2761 * inotify/inotify-kernel.c:
2762 * inotify/inotify-path.c:
2763 * inotify/local_inotify.h: Removed.
2764 * inotify/local_inotify_syscalls.h: Removed.
2765 Removed the included copies of the inotify
2766 headers. We now only use the <sys/inotify.h>
2767 header which exists on modern systems.
2768 This fixes problems on ARM and SH5 (#510448)
2769 but is also generally much cleaner and future
2770 safe. For instance, if other OSes add support
2771 for inotify it should "just work".
2773 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2775 * inotify/*.c: Coding style fixes.
2776 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2777 for the 1/4 Hz timer.
2779 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2782 * gfilemonitor.[hc]:
2783 * gmemoryinputstream.c:
2784 * gmemoryoutputstream.c:
2785 * gmountoperation.c:
2786 * gthemedicon.c: Documentation updates
2788 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2790 * gfile.c: documentation: Fixed more minor
2793 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2795 * gmount.c: (g_mount_remount): documentation:
2796 Mention g_mount_remount_finish() instead of
2797 g_mount_unmount_finish().
2799 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2803 * gfile.c: Fixed some minor typos in the
2806 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2808 * gio/gvolumemonitor.c:
2809 (g_volume_monitor_get_connected_drives):
2810 (g_volume_monitor_get_volumes):
2811 (g_volume_monitor_get_mounts): Documentation:
2812 Clarify the ownership of the regurn GLists.
2814 2008-01-17 Alexander Larsson <alexl@redhat.com>
2817 Add the async find_enclosing_mount version
2818 to the header file too.
2820 2008-01-17 Alexander Larsson <alexl@redhat.com>
2823 Add async version of find_enclosing_mount
2824 with default implementation.
2826 2008-01-17 Alexander Larsson <alexl@redhat.com>
2831 Allow calls to implementation of copy and write
2832 even if the type of the file implementations is
2833 different. This can be used to implement native
2834 upload and download calls in a vfs.
2837 (g_local_file_move):
2838 Protect against the case where move is called
2839 with one file not being local.
2841 Make sure we call the progress callback once
2842 in the native move operation so that the caller
2843 knows how many bytes were copied.
2845 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2848 * gdatainputstream.c:
2850 * gfileoutputstream.c:
2855 * gunixmounts.c: Corrected some typos in the documentation:
2856 occured -> occurred.
2857 its -> it's (where appropriate).
2859 2008-01-16 Alexander Larsson <alexl@redhat.com>
2863 Add g_file_query_exists (#508771)
2865 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2870 * gvolume.c: For async functions that have no non-async
2871 version, document that the GAsyncReadyCallback may be NULL.
2874 2008-01-15 Alexander Larsson <alexl@redhat.com>
2876 * gmemoryinputstream.c:
2877 * gmemoryoutputstream.c:
2878 Don't do pointer arithmetic on void * (#508602)
2879 Patch from Kazuki IWAMOTO
2881 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2883 * === Released 2.15.2 ===
2885 2008-01-14 Alexander Larsson <alexl@redhat.com>
2887 * gfile.c (g_file_monitor_file):
2888 Don't set error here, since we fallback to polling monitor.
2890 2008-01-14 Alexander Larsson <alexl@redhat.com>
2893 (g_file_monitor_directory):
2894 (g_file_monitor_file):
2895 Add GError to file monitor calls
2897 * glocaldirectorymonitor.c:
2898 * glocaldirectorymonitor.h:
2900 * glocalfilemonitor.c:
2901 * glocalfilemonitor.h:
2903 Update for above change
2905 2008-01-14 Alexander Larsson <alexl@redhat.com>
2909 Handle root correctly in g_file_get_relative_path (#508719)
2911 2008-01-14 Alexander Larsson <alexl@redhat.com>
2914 Clean up docs and example for GAsyncResult (#508074)
2916 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2918 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2919 and correct some spelling mistakes. Bug #508108.
2921 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2923 * glocalfileinfo.c: Add a comment.
2925 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2927 * gfileinfo.c: GFileInfo description: Mention
2928 how to actually set attributes in a GFile and how to discover
2929 which attributes are settable. Bug #508378.
2931 2008-01-10 A. Walton <awalton@svn.gnome.org>
2933 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2934 (g_app_info_get_default_for_type):
2935 Check for NULL content types.
2937 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2939 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2941 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2943 * gfile.c: *_async() functions: Several small corrections
2944 to the documentation, mostly correcting copy/paste errors
2945 and improving some sentences.
2947 2008-01-09 Dan Winship <danw@gnome.org>
2949 * glocalfile.c (get_unique_filename): x86_64 fix
2951 2008-01-09 Alexander Larsson <alexl@redhat.com>
2956 Add g_unix_mount_guess_should_display and use
2957 for unix volume monitor backend.
2958 This means we more or less show what the
2959 gnome-vfs backend did.
2960 Based on patch from Padraig O'Briain
2962 2008-01-09 Alexander Larsson <alexl@redhat.com>
2966 Add g_themed_icon_new_with_default_fallbacks
2969 Use default fallbacks for icons
2971 2008-01-09 Alexander Larsson <alexl@redhat.com>
2974 * gmountoperation.[ch]:
2975 Change the API a bit so that unhandled methods
2976 get reported via the reply, rather than by
2977 the signal emission return value. This is because
2978 some handlers can't know this immediately without
2979 doing I/O, and this is an async operation that
2982 2008-01-09 Alexander Larsson <alexl@redhat.com>
2985 * fam/gfamdirectorymonitor.c:
2986 * fam/gfamfilemonitor.c:
2987 Fix double free crash (#508224)
2988 Patch from Joe Marcus Clarke
2990 008-01-07 Matthias Clasen <mclasen@redhat.com>
2992 * === Released 2.15.1 ===
2994 2008-01-07 Alexander Larsson <alexl@redhat.com>
2996 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2997 Fix warning (#507835)
2999 2008-01-07 Alexander Larsson <alexl@redhat.com>
3002 Pass --internal to glib-genmarshal
3005 * gmountoperation.c:
3007 Use better types for signal arguments (#507822)
3009 2008-01-07 Alexander Larsson <alexl@redhat.com>
3012 Build test subdir after .
3013 Remove gdirectorymonitor.[ch]
3015 * gdirectorymonitor.[ch]:
3019 Remove GDirectoryMonitor and make
3020 GFileMonitor the baseclass for both file and
3021 directory monitors. Lift the more generic
3022 rate limiting code from GDirectoryMonitor
3026 * fam/gfamdirectorymonitor.[ch]:
3027 * inotify/ginotifydirectorymonitor.[ch]:
3028 * inotify/inotify-helper.c:
3029 * glocaldirectorymonitor.[ch]:
3032 Update for the removed GDirectoryMonitor.
3034 * gmemoryoutputstream.c:
3035 Remove ununsed variable
3037 2008-01-07 Alexander Larsson <alexl@redhat.com>
3039 * gmemoryinputstream.c:
3040 Translate error strings
3043 * gmemoryoutputstream.[ch]:
3044 New implementation that avoids using GByteArray
3045 in implementation and API. (#506377)
3047 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3049 * tests/*: Add a test for memory input streams.
3051 * Makefile.am: Add tests to SUBDIRS.
3053 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3055 * glocalfilemonitor.c:
3056 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3059 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3061 * gdesktopappinfo.c: Fix a docs typo.
3063 * gfileattribute.c: Add information about extended attributes
3064 to the documentation. (#505058)
3066 2008-01-04 Alexander Larsson <alexl@redhat.com>
3069 * gmountoperation.c:
3070 Use the right type (uint) for the ask_password signal.
3072 2008-01-04 Alexander Larsson <alexl@redhat.com>
3077 Add g_app_info_supports_files()
3078 Remove desktop arg from g_app_info_should_show().
3080 * gdesktopappinfo.[ch]:
3081 Implement g_app_info_supports_files() and new should_show()
3082 Add g_desktop_app_info_set_desktop_env() to set the desktop
3083 for should_show(). (This will be set by gtk+ later)
3085 2008-01-04 Alexander Larsson <alexl@redhat.com>
3088 * gmemoryinputstream.[ch]:
3089 Improve API so that you can use multiple chunks
3090 of memory and custom destroy functions. (#506374)
3092 2008-01-03 Alexander Larsson <alexl@redhat.com>
3095 Handle NULL attribute matchers safely, as we return this
3096 for empty attribute matcher strings.
3098 2008-01-03 Alexander Larsson <alexl@redhat.com>
3100 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3101 Add /usr/local to list of internal mountpoints
3103 2008-01-03 Alexander Larsson <alexl@redhat.com>
3106 Check for HAVE_LCHOWN (#505887)
3108 2008-01-03 Alexander Larsson <alexl@redhat.com>
3112 Add define for selinux context attribute.
3113 Fix missing : -> :: namespace separator change
3114 Fix missing _ -> - name change for xattr-sys.
3117 2008-01-03 Alexander Larsson <alexl@redhat.com>
3120 Link to libglib and libgobject directly (#504879)
3121 Patch from Sebastien Bacher
3123 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3125 * gfile.c: Expanded the g_file_new_for_commandline_arg
3126 description a bit, based on the code and the docs of the
3127 other g_file_new_for_* functions.
3129 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3131 * gfilemonitor.h: Fixed typo in docs.
3133 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3135 Updates to GIO documentation. (#506395, Mikael Hermansson)
3137 * gcontenttype.c: Describe memory management for return value of
3138 g_content_types_get_registered(). Missing piece from #505815.
3139 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3140 GVolume, GDrive, GMounts, which hopefully gives the user less
3141 confusions when using this API. Following explainations from
3142 Alexander Larsson on gtk-devel-list.
3144 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3146 * gfileinfo.c: Expand the long description.
3148 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3151 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3152 fix builds with --disable-visibility. (#500273, Christian Persch)
3154 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3156 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3157 in the list of returned app infos.
3159 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3161 * gappinfo.c: Fix a cross-reference
3163 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3165 * gfileinputstream.c:
3166 * gfileoutputstream.c:
3170 * gdesktopappinfo.c:
3172 * gfileinfo.c: Documentation updates.
3174 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3176 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3179 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3181 * gcontenttype.c (g_content_types_get_registered): Don't return
3182 freed memory (#505815, Mikael Hermansson)
3184 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3186 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3187 used to detect statbuf->st_blocks. (#505042)
3189 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3191 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3192 environment handling. (#504829, Cosimo Cecchi)
3194 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3196 * gappinfo.c: Doc improvements
3198 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3201 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3203 * === Released 2.15.0 ===
3205 2007-12-20 Hans Breuer <hans@breuer.org>
3207 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3208 with symbols gwin32appinfo.obj, added gmount.obj
3209 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3211 2007-12-20 Alexander Larsson <alexl@redhat.com>
3217 * gfilenamecompleter.c:
3220 * gpollfilemonitor.c:
3221 File attribute renames:
3223 fs:: -> filesystem::
3224 id::fs -> id::filesystem
3226 2007-12-20 Alexander Larsson <alexl@redhat.com>
3235 Add GMountUnmountFlags to all unmount and
3237 Add g_mount_remount() call.
3239 2007-12-20 Alexander Larsson <alexl@redhat.com>
3241 * gvfs.c (get_default_vfs):
3242 Fix unused variable warning
3244 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3246 * pltcheck.sh: Update
3248 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3250 * gunionvolumemonitor.c:
3251 * gunixmount.c: Remove C99 comments
3253 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3255 * gio.symbols: Add some missing symbols
3257 2007-12-19 Alexander Larsson <alexl@redhat.com>
3260 Make g_io_modules_load_all_in_directory not unuse
3261 loaded modules so that users of it can do stuff
3263 Init internal "module" types.
3264 Initialize static prio and name for types so that
3265 we don't have to load modules to get it.
3267 * gnativevolumemonitor.h:
3269 Move is_supported to parent class so that
3270 non-native monitors can avoid being initialized
3271 too. (For instance GDaemonVolumeMonitor if we're
3272 not using GDaemonVfs.)
3274 * glocaldirectorymonitor.[ch]:
3275 * glocalfilemonitor.[ch]:
3276 * gunionvolumemonitor.c:
3277 * gunixvolumemonitor.c:
3279 Find plugins using the static prio+name to
3280 avoid unnecessarily loading the modules.
3282 2007-12-19 Alexander Larsson <alexl@redhat.com>
3287 2007-12-19 Alexander Larsson <alexl@redhat.com>
3289 * gunionvolumemonitor.c:
3290 Store the native type as GType, not class so that
3291 we can unload it. But still avoid unnecessarily
3294 2007-12-19 David Zeuthen <davidz@redhat.com>
3296 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3297 add signals 'disconnected' and 'eject-button' on GDrive. Add
3298 signal 'removed' on GVolume and 'unmounted' on GMount.
3300 * gdrive.c: (g_drive_base_init):
3302 * gfile.c: (g_file_mount_mountable),
3303 (g_file_mount_enclosing_volume):
3306 * gmount.c: (g_mount_base_init):
3308 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3309 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3310 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3314 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3316 * *.c: Fix up includes in the section docs.
3318 2007-12-17 Alexander Larsson <alexl@redhat.com>
3320 * gnativevolumemonitor.h:
3321 * gunionvolumemonitor.c:
3322 * gunixvolumemonitor.c:
3323 Add is_supported() to GNativeVolumeMonitorClass so
3324 that we can avoid having to create an object to see
3325 if the backend is supported at runtime.
3326 Also add name member and an env var to pick a specific
3327 volume monitor backend.
3331 Add cancellable to _g_mount_get_for_mount_path()
3333 * glocaldirectorymonitor.c:
3334 * glocalfilemonitor.c:
3335 Avoid loading and unloading modules while sorting.
3337 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3340 * gunixmounts.[hc]: Namespace waste reduction, move some
3341 g_get_unix_mount functions to the g_unix_mount namespace.
3344 * gunixvolumemonitor.c:
3346 * glocaldirectorymonitor.c: Update all callers.
3348 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3350 2007-12-17 Alexander Larsson <alexl@redhat.com>
3353 Add doc comments about what GFile operations are
3354 guaranteed to not block.
3356 2007-12-17 Alexander Larsson <alexl@redhat.com>
3359 Add missing #ifdef fixing OSX build.
3360 (#503334, patch from Richard Hult)
3362 2007-12-14 David Zeuthen <davidz@redhat.com>
3366 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3367 (g_mount_eject), (g_mount_eject_finish):
3369 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3370 (get_volume_for_uuid), (get_mount_for_uuid),
3371 (g_union_volume_monitor_class_init),
3372 (get_default_native_type_with_exclude), (get_default_native_type),
3373 (get_native_type), (update_native_type),
3374 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3375 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3376 (g_unix_mount_can_eject), (eject_unmount_cb),
3377 (eject_unmount_read_error), (eject_unmount_do),
3378 (g_unix_mount_unmount), (g_unix_mount_eject),
3379 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3380 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3381 (g_unix_mount_point_guess_can_eject):
3383 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3384 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3385 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3386 (g_unix_volume_mount), (g_unix_volume_eject),
3387 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3388 * gunixvolumemonitor.c: (get_volume_for_uuid),
3389 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3391 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3392 (g_volume_eject), (g_volume_eject_finish):
3394 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3395 (g_volume_monitor_get_mount_for_uuid):
3398 Provide eject() on both GMount and GVolume and utility functions
3399 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3400 ejected. Introduce the concept of UUID's and wire it into GVolume
3401 and GMount and provide API on GVolumeMonitor to find such
3402 instances. Also handle the case where an external
3403 GNativeVolumeMonitor fails to initialize. Lock around the
3404 _g_get_mount_for_mount_path() function such that volume monitor
3405 implementations won't have to do locking themselves.
3407 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3409 * gdesktopappinfo.c:
3415 * gvolume.h: Documentation updates
3417 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3420 * gfile.h: Doc updates
3422 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3425 * gdesktopappinfo.c: Use hash table iterators.
3427 2007-12-14 Alexander Larsson <alexl@redhat.com>
3430 * gfileattribute.[ch]:
3431 * gfileattribute-priv.h:
3432 Move GFileAttributeValue to a private header, as
3436 Make set_attribute take a type + a pointer instead
3437 of a GFileAttributeValue.
3440 Fix up for above changes.
3441 Add g_file_info_get_attribute_data to get
3442 all info in one call, g_file_info_get_attribute_status
3443 to get the status and g_file_info_get_attribute_as_string.
3447 * glocalfileinfo.[ch]:
3451 Make _guess_type static.
3453 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3456 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3457 made mkenums and friends use temporary files to avoid leaving
3458 empty generated files on failure (#503470).
3460 2007-12-14 Alexander Larsson <alexl@redhat.com>
3462 * gmountoperation.h:
3465 2007-12-14 Alexander Larsson <alexl@redhat.com>
3469 * gfileattribute.[ch]:
3472 * glocalfileoutputstream.c:
3473 * gmountoperation.[ch]:
3474 * goutputstream.[ch]:
3475 Clean up all flags enums to not have _FLAGS in them
3476 Make the names of some of the enums better.
3481 2007-12-14 Michael Natterer <mitch@imendio.com>
3483 * gio.symbols: fix g_io_scheduler symbol names.
3485 2007-12-14 Alexander Larsson <alexl@redhat.com>
3491 * gbufferedinputstream.h:
3492 * gbufferedoutputstream.h:
3495 * gdatainputstream.h:
3496 * gdataoutputstream.h:
3497 * gdesktopappinfo.h:
3498 * gdirectorymonitor.h:
3502 * gfileenumerator.h:
3505 * gfileinputstream.h:
3507 * gfilenamecompleter.h:
3508 * gfileoutputstream.h:
3509 * gfilterinputstream.h:
3510 * gfilteroutputstream.h:
3518 * gmemoryinputstream.h:
3519 * gmemoryoutputstream.h:
3521 * gmountoperation.h:
3524 * gsimpleasyncresult.h:
3526 * gunixinputstream.h:
3528 * gunixoutputstream.h:
3532 * inotify/Makefile.am:
3533 Only allow including <gio/gio.h> from apps
3535 2007-12-14 Alexander Larsson <alexl@redhat.com>
3537 * gioscheduler.[ch]:
3538 * gsimpleasyncresult.c:
3539 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3540 Split out the send_to_mainloop call into two versions instead
3541 of having the block argument.
3543 2007-12-13 Alexander Larsson <alexl@redhat.com>
3545 * gcancellable.[ch]:
3547 * gbufferedinputstream.c:
3548 * gfileenumerator.c:
3549 * gfileinputstream.c:
3550 * gfileoutputstream.c:
3554 g_push/pop_current_cancellable ->
3555 g_cancellable_push/pop_current
3557 2007-12-13 Alexander Larsson <alexl@redhat.com>
3561 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3563 2007-12-13 Alexander Larsson <alexl@redhat.com>
3565 * gmountoperation.h:
3566 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3568 2007-12-12 Alexander Larsson <alexl@redhat.com>
3571 Fix race condition when freeing proxy in
3572 g_io_job_send_to_mainloop().
3574 2007-12-12 Alexander Larsson <alexl@redhat.com>
3580 Make attribute namespace separator "::" instead of ":".
3581 Use - instead of _ as separator in attribute names.
3583 2007-12-12 Alexander Larsson <alexl@redhat.com>
3585 * gbufferedinputstream.h:
3586 * gbufferedoutputstream.h:
3587 * gdatainputstream.h:
3588 * gdataoutputstream.h:
3589 * gdirectorymonitor.h:
3590 * gfileenumerator.h:
3591 * gfileinputstream.h:
3593 * gfileoutputstream.h:
3594 * gfilterinputstream.h:
3595 * gfilteroutputstream.h:
3597 * glocalfileinputstream.h:
3598 * glocalfileoutputstream.h:
3599 * gmemoryinputstream.h:
3600 * gmemoryoutputstream.h:
3601 * gnativevolumemonitor.h:
3603 * gunixinputstream.h:
3604 * gunixoutputstream.h:
3607 s/parent/parent_instance/ in GObjects
3609 2007-12-12 Alexander Larsson <alexl@redhat.com>
3614 No need for padding for interfaces
3616 2007-12-12 Alexander Larsson <alexl@redhat.com>
3620 * gbufferedinputstream.c:
3621 * gbufferedoutputstream.c:
3624 * gdatainputstream.[ch]:
3625 * gdesktopappinfo.c:
3626 * gdirectorymonitor.c:
3628 * gfileattribute.[ch]:
3631 * gfileinputstream.h:
3632 * gfilemonitor.[ch]:
3633 * gfileoutputstream.[ch]:
3634 * gfilterinputstream.h:
3635 * gfilteroutputstream.h:
3638 * gloadableicon.[ch]:
3639 * gmemoryinputstream.c:
3640 * gmountoperation.c:
3642 Fix up a bunch of details in the docs.
3647 2007-12-11 David Zeuthen <davidz@redhat.com>
3649 Rework how volumes, drives and volume monitoring is
3650 done. Previosly the model was
3652 GDrive <1-1> GVolume
3654 where a GDrive instance represented a mount point and a GVolume
3655 instance represented a mounted file system. This patch changes it
3658 GDrive <1-N> GVolume <1-1> GMount
3660 where GMount now serves the purpose of the old GVolume and the new
3661 GVolume serves the purpose of the old GDrive. In addition the new
3662 GDrive interface is used to represent a collection of GVolume
3663 instances (typically partitions) and also contains utility to query
3664 the state of the physical drive the GDrive object represents (such
3665 as checking for media, polling the drive, ejecting the media etc.).
3667 Also implement mounting and unmounting in the Unix volume monitor
3668 backend. A subquent patch will introduce GDrive support for ejection
3672 * gdrive.c: (g_drive_is_media_check_automatic),
3673 (g_drive_is_media_removable), (g_drive_has_media),
3674 (g_drive_can_poll_for_media), (g_drive_eject),
3675 (g_drive_eject_finish), (g_drive_poll_for_media),
3676 (g_drive_poll_for_media_finish):
3678 * gfile.c: (g_file_find_enclosing_mount):
3681 * glocaldirectorymonitor.c:
3682 (g_local_directory_monitor_constructor), (mounts_changed):
3683 * glocalfile.c: (get_mount_info),
3684 (g_local_file_find_enclosing_mount),
3685 (g_local_file_file_iface_init):
3686 * gnativevolumemonitor.h:
3687 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3688 (get_connected_drives), (g_union_volume_monitor_class_init),
3689 (child_volume_added), (child_volume_removed),
3690 (child_volume_changed), (child_mount_added), (child_mount_removed),
3691 (child_mount_pre_unmount), (child_mount_changed),
3692 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3693 (g_union_volume_monitor_remove_monitor),
3694 (_g_mount_get_for_mount_path):
3695 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3696 (guess_system_internal), (_g_get_unix_mounts),
3697 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3698 (g_unix_mount_free), (g_unix_mount_compare),
3699 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3700 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3701 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3702 (type_to_icon), (g_unix_mount_guess_name),
3703 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3704 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3705 (_resolve_symlink), (_resolve_dev_root):
3707 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3708 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3709 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3710 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3711 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3712 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3713 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3714 (g_unix_volume_volume_iface_init):
3716 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3717 (get_mounts), (get_volumes), (get_connected_drives),
3718 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3719 (mountpoints_changed), (mounts_changed),
3720 (g_unix_volume_monitor_init),
3721 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3722 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3723 * gunixvolumemonitor.h:
3724 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3725 (g_volume_mount), (g_volume_mount_finish):
3727 * gvolumemonitor.c: (g_volume_monitor_class_init),
3728 (g_volume_monitor_get_connected_drives),
3729 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3732 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3734 * gmountoperation.h (GPasswordFlags): Close the gap
3736 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3738 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3740 * gdesktopappinfo.[hc]: Remove _-prefixes
3742 2007-12-10 Tor Lillqvist <tml@novell.com>
3744 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3747 2007-12-10 Alexander Larsson <alexl@redhat.com>
3749 * gfile.c (g_file_set_display_name):
3750 Don't hardcode '/' (#502727)
3752 2007-12-09 Hans Breuer <hans@breuer.org>
3754 * makefile.msc : follow lib naming convention
3755 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3756 for user and group name, tested with ../tests/gio-ls
3758 2007-12-09 A. Walton <awalton@svn.gnome.org>
3760 * gdesktopappinfo.c:
3766 * gfileenumerator.c:
3771 * gmemoryinputstream.c:
3772 * gmemoryoutputstream.c:
3774 * gsimpleasyncresult.c:
3775 More documentation cleanup and filling in missing information, bringing
3776 GIO to 99% symbol coverage.
3778 2007-12-08 Hans Breuer <hans@breuer.org>
3780 [gio compiles and links on win32, not sure how much already works]
3781 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3782 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3783 base on win32 API; prefer g_lstat() over lstat(); instead of
3784 localtime_r() use an all GLib implementation on win32;
3785 get_mount_info() still needs a win32 specifc implementation
3786 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3787 win32_get_file_user_info to get owner/group info without uid/gid
3788 * glocalfileinputstream.c : include <io.h> on win32
3789 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3790 definition, use g_win32_ftruncate() for G_OS_WIN32
3791 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3792 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3793 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3794 * makefile.msc : updated
3796 2007-12-07 Alexander Larsson <alexl@redhat.com>
3798 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3799 Avoid warning spew if error == NULL
3801 2007-12-07 Alexander Larsson <alexl@redhat.com>
3804 Update docs wrt etags
3806 2007-12-06 Alexander Larsson <alexl@redhat.com>
3809 Include sys/types.h for dev_t (#501919)
3811 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3815 Make abicheck and pltcheck pass.
3817 2007-12-05 Alexander Larsson <alexl@redhat.com>
3820 * giomodule-priv.h: Added.
3821 * glocaldirectorymonitor.c:
3822 * glocalfilemonitor.c:
3823 * gunionvolumemonitor.c:
3825 Actually add the declaration of _g_io_modules_ensure_loaded
3827 2007-12-05 Alexander Larsson <alexl@redhat.com>
3829 * gdatainputstream.c:
3834 * glocaldirectorymonitor.c:
3835 * glocalfilemonitor.c:
3836 * gunionvolumemonitor.c:
3838 Make g_io_modules_ensure_loaded a private function and
3839 don't pass in the dirname. This means we can do magic
3840 directory finding in the win32 version.
3841 Export the actual load-modules-in-directory code so that
3842 gvfs can reuse that.
3844 2007-12-05 Alexander Larsson <alexl@redhat.com>
3846 * gbufferedinputstream.c:
3847 * gbufferedoutputstream.c:
3850 * gfileenumerator.[ch]:
3851 * gfileinputstream.c:
3852 * gfileoutputstream.[ch]:
3853 * gfilterinputstream.c:
3854 * gfilteroutputstream.c:
3855 * ginputstream.[ch]:
3857 * glocalfileenumerator.c:
3858 * glocalfileinputstream.c:
3859 * glocalfileoutputstream.c:
3860 * gmemoryinputstream.c:
3861 * gmemoryoutputstream.c:
3862 * goutputstream.[ch]:
3865 * gunixinputstream.c:
3866 * gunixoutputstream.c:
3867 Rename all struct members named:
3868 read, write, close, truncate, or mount
3869 to foo_fn, as these are reserved names
3870 and could be defined as macros in libc.
3873 2007-12-04 Alexander Larsson <alexl@redhat.com>
3876 (g_output_stream_close):
3877 Only call flush if non-null.
3879 2007-11-30 Dan Winship <danw@gnome.org>
3881 * ginputstream.c (g_input_stream_set_pending): Make this take a
3882 GError and return a gboolean, and do the "outstanding operation"
3883 check (and the "stream is already closed" check) itself.
3884 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3886 * goutputstream.c (g_output_stream_set_pending)
3887 (g_output_stream_clear_pending): Likewise
3889 * gbufferedinputstream.c:
3890 * gfileinputstream.c:
3891 * gfileoutputstream.c: Update for that
3893 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3894 Like g_simple_async_report_error_in_idle, but takes a GError
3895 rather than building one.
3897 2007-11-30 Dan Winship <danw@gnome.org>
3899 * goutputstream.c: Don't cheat and unset the "pending" flag around
3900 inner calls. Instead, call the class method directly rather than
3901 the wrapper function that checks "pending"
3903 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3905 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3907 2007-12-03 Hans Breuer <hans@breuer.org>
3909 [start of port to win32/msvc]
3910 * gcancellable.c : HAVE_UNIST_H and _pipe()
3911 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3912 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3913 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3915 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3916 * glocalvfs.c : use HAVE_PWD_H
3917 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3918 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3919 * Makefile.am : added to EXTRA_DIST
3921 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3923 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3926 2007-12-03 Alexander Larsson <alexl@redhat.com>
3929 Handle OSX style xattrs API (#500506)
3931 2007-12-03 Alexander Larsson <alexl@redhat.com>
3935 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3937 2007-12-02 A. Walton <awalton@svn.gnome.org>
3941 Documentation accuracy fixes.
3943 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3945 * gioenumtypes.c.template: Fix typo.
3947 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3949 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3951 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3953 * gdirectorymonitor.c:
3954 * gfilemonitor.c: Add properties
3956 * gbufferedoutputstream.c: Don't mark buffer-size property
3959 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3961 * gbufferedoutputstream.c: Add auto-grow property.
3963 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3965 * *.c: Unify the capitalization of section headings.
3967 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3969 * gmountoperation.c: Add properties
3971 * gdatainputstream.c: Turn byte-order and newline-type into
3974 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3976 * gioenumtypes.[hc].template: Templates for enum registration
3978 * Makefile.am: Generate gioenumtypes.[hc]
3980 * gio.h: Include gioenumtypes.h
3982 * gfile.h: Add some explicit nicks.
3984 * gio.symbols: Add new symbols
3986 * pltcheck.sh: Adjust
3988 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3990 * *.c: Explain etags and link to the explanation
3992 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3994 * *.c: Explain I/O priority.
3996 * *.c: More coding style fixes.
3998 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4000 * gasyncresult.c: Add another paragraph to the intro,
4001 adjust coding style of example.
4003 2007-11-29 A. Walton <awalton@svn.gnome.org>
4006 Fixes unknown meaning in GAppLaunchContext docs.
4008 Clarify asynchronous ops.
4010 Fix entity tag docs.
4013 Provides missing gtk-doc section, fixes API docs slighly.
4014 * gsimpleasyncresult.c:
4015 Fill in missing info in docs.
4016 * gunixinputstream.c:
4017 * gunixoutputstream.c:
4018 Be more expressive in short description.
4020 Remove gtk-doc stubs for non-public API.
4022 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4024 * *.c: Coding style fixups
4026 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4028 * inotify/inotify-helper.c: Don't export the lock from libgio.
4030 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4033 * abicheck.sh: Fix copy-and-paste leftovers
4035 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4037 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4039 2007-11-28 Alexander Larsson <alexl@redhat.com>
4043 Removed unnecessary file
4045 * gdesktopappinfo.[ch]:
4048 * glocaldirectorymonitor.[ch]:
4050 * glocalfileenumerator.[ch]:
4051 * glocalfileinputstream.[ch]:
4052 * glocalfilemonitor.[ch]:
4053 * glocalfileoutputstream.[ch]:
4055 * gnativevolumemonitor.c:
4056 * gpollfilemonitor.[ch]:
4057 * gunionvolumemonitor.[ch]:
4060 * gunixvolumemonitor.[ch]:
4063 * inotify/ginotifydirectorymonitor.[ch]:
4064 * inotify/ginotifyfilemonitor.[ch]:
4065 * inotify/inotify-helper.c:
4066 Append _ to all internal functions
4070 Export symbols needed for modules
4072 2007-11-28 Alexander Larsson <alexl@redhat.com>
4075 * abicheck.sh: Added.
4076 * makegioalias.pl: Added.
4077 * pltcheck.sh: Added.
4078 * gio.symbols: Added.
4081 Initial work on adding symbol handling.
4084 Correct ifdef guard name
4087 * inotify/Makefile.am:
4088 * xdgmime/Makefile.am:
4089 Include toplevel Makefile.decl
4091 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4093 * gcontenttype.c: Move doc comments to the unix section.
4095 * *.[hc]: More trivial doc corrections.
4097 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4099 * gpollfilemonitor.c:
4103 * gdesktopappinfo.c:
4108 * gdatainputstream.c:
4109 * gdatainputstream.h:
4110 * gdataoutputstream.c:
4111 * gdataoutputstream.h:
4112 * gfileinfo.h: Doc cleanups
4114 2007-11-28 Andre Klapper <a9016009@gmx.de>
4116 * gdesktopappinfo.c: Fix a typo.
4118 2007-11-27 Andre Klapper <a9016009@gmx.de>
4120 * glocalfileoutputstream.c: Fix a typo.
4122 2007-11-27 Alexander Larsson <alexl@redhat.com>
4125 Don't include removed headers
4127 2007-11-27 Alexander Larsson <alexl@redhat.com>
4130 * gsocketinputstream.[ch]: Removed.
4131 * gsocketoutputstream.[ch]: Removed.
4132 * gunixinputstream.[ch]: Added.
4133 * gunixoutputstream.[ch]: Added.
4134 Renamed GSocket*Stream to GUnix*Stream and made
4135 it unix-only, since its not really only for sockets
4136 and it only works on unix (but is highly useful there).
4138 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4144 * gbufferedinputstream.c:
4145 * gbufferedinputstream.h:
4146 * gbufferedoutputstream.c:
4147 * gbufferedoutputstream.h:
4151 * gdatainputstream.c:
4152 * gdatainputstream.h:
4153 * gdataoutputstream.c:
4154 * gdataoutputstream.h:
4155 * gdirectorymonitor.c:
4156 * gdirectorymonitor.h:
4163 * gfileenumerator.c:
4164 * gfileenumerator.h:
4169 * gfileinputstream.c:
4170 * gfileinputstream.h:
4173 * gfilenamecompleter.c:
4174 * gfilenamecompleter.h:
4175 * gfileoutputstream.c:
4176 * gfileoutputstream.h:
4177 * gfilterinputstream.c:
4178 * gfilterinputstream.h:
4179 * gfilteroutputstream.c:
4180 * gfilteroutputstream.h:
4193 * glocalfileoutputstream.c:
4194 * gmemoryinputstream.c:
4195 * gmemoryinputstream.h:
4196 * gmemoryoutputstream.c:
4197 * gmemoryoutputstream.h:
4198 * gmountoperation.c:
4199 * gmountoperation.h:
4202 * gpollfilemonitor.c:
4205 * gsimpleasyncresult.c:
4206 * gsimpleasyncresult.h:
4207 * gsocketinputstream.c:
4208 * gsocketinputstream.h:
4209 * gsocketoutputstream.c:
4210 * gsocketoutputstream.h:
4217 * gunixvolumemonitor.c:
4226 Bumps documentation to 93% symbol coverage, touching most
4227 of the public files. Fixes broken function documentation prototypes.
4228 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4229 gtk-doc headers in private files.
4231 2007-11-27 Jürg Billeter <j@bitron.ch>
4233 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4234 (g_buffered_input_stream_read_byte):
4235 * gbufferedinputstream.h:
4236 New functions for efficient access to buffer and simple single byte
4239 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4240 (g_data_input_stream_read_until):
4241 * gdatainputstream.h:
4242 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4243 read_until with multiple stop chars.
4245 2007-11-27 Alexander Larsson <alexl@redhat.com>
4249 * inotify/Makefile.am:
4250 Use the user-specified giomoduledir
4252 2007-11-27 Alexander Larsson <alexl@redhat.com>
4256 Add catch-all gio.h header
4257 Don't install gdummyfile.h
4259 2007-11-26 Alexander Larsson <alexl@redhat.com>
4261 * Makefile.am (gioinclude_HEADERS):
4262 Remove trailing whitespace
4264 2007-11-26 Alexander Larsson <alexl@redhat.com>
4266 Merge gio-standalone into glib
4268 2007-11-25 Christian Kellner <gicmo@gnome.org>
4270 * gio/goutputstream.c:
4271 Fix small mistake in the docs.
4273 2007-11-21 Christian Persch <chpe@gnome.org>
4275 * gio/glocalfile.c: (g_local_file_trash):
4276 Convert filenames to UTF-8 for GError.
4277 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4278 as per xdg base dir spec.
4280 2007-11-21 Christian Persch <chpe@gnome.org>
4282 * gio/gdesktopappinfo.c:
4283 Use that g_key_file_to_data cannot fail.
4285 Use stock defines for the key file group and key names.
4288 2007-11-21 Alexander Larsson <alexl@redhat.com>
4291 (copy_stream_with_progress):
4292 Make sure we do a final progress callback with
4293 the full total size.
4295 2007-11-21 Alexander Larsson <alexl@redhat.com>
4298 Export g_file_copy_attributes
4299 Remove padding as its not needed for interfaces
4301 2007-11-20 Alexander Larsson <alexl@redhat.com>
4306 Add G_IO_ERROR_WOULD_MERGE for
4307 copy/move dir on dir with overwrite.
4309 2007-11-20 Alexander Larsson <alexl@redhat.com>
4312 * gio/glocalfileinfo.c:
4313 Add COPY_NAME (this is an optional
4314 non-modified utf8 version of the name) that
4317 2007-11-20 Alexander Larsson <alexl@redhat.com>
4319 * gio/glocalfileenumerator.c:
4320 Report errors as GIOError, not GFileError
4322 2007-11-16 Alexander Larsson <alexl@redhat.com>
4324 * gio/glocalfileoutputstream.c:
4325 * gio/gwin32appinfo.c:
4326 Fix typos in strings.
4327 Patch from Luca Ferretti <elle.uca@libero.it>
4329 2007-11-15 Alexander Larsson <alexl@redhat.com>
4332 Post release version bump
4334 === gio-standalone 0.1.2 ===
4336 2007-11-15 Alexander Larsson <alexl@redhat.com>
4338 * docs/reference/gio/Makefile.am:
4339 Fix up distcheck by removing weird
4345 2007-11-14 Alexander Larsson <alexl@redhat.com>
4347 * gio/gdesktopappinfo.c:
4348 * gio/glocaldirectorymonitor.c:
4350 * gio/glocalfileinfo.c:
4351 * gio/inotify/inotify-sub.c:
4352 * programs/gio-cat.c:
4353 * programs/gio-copy.c:
4354 * programs/gio-info.c:
4355 * programs/gio-ls.c:
4356 * programs/gio-monitor-dir.c:
4357 * programs/gio-monitor-file.c:
4358 * programs/gio-mount.c:
4359 * programs/gio-move.c:
4360 * programs/gio-rm.c:
4361 * programs/gio-save.c:
4362 * programs/gio-trash.c:
4363 Leak fixes from Kjartan Maraas
4365 2007-11-14 Alexander Larsson <alexl@redhat.com>
4367 * gio/fam/fam-helper.c:
4369 * gio/glocalfileinfo.c:
4373 * gio/inotify/inotify-diag.c:
4374 * gio/inotify/inotify-kernel.c:
4375 Various code cleanups from Kjartan Maraas
4377 2007-11-14 Alexander Larsson <alexl@redhat.com>
4379 * gio/gioscheduler.c:
4381 Set up threadpool so that we cache 2 unused
4382 idle threads for at 15 secs. This means we
4383 will reuse thread-local data (like dbus connections)
4386 2007-11-14 Alexander Larsson <alexl@redhat.com>
4388 * gio/fam/fam-helper.c:
4389 * gio/fam/gfamdirectorymonitor.c:
4390 * gio/fam/gfamfilemonitor.c:
4392 * gio/gcontenttype.c:
4393 * gio/gdatainputstream.c:
4394 * gio/gdataoutputstream.c:
4398 * gio/gfileattribute.h:
4399 * gio/gfileenumerator.c:
4401 * gio/ginputstream.c:
4404 * gio/glocalfileinfo.c:
4405 * gio/goutputstream.c:
4406 * gio/gpollfilemonitor.c:
4407 * gio/gsimpleasyncresult.c:
4408 * gio/gunixmounts.c:
4409 * gio/gunixmounts.h:
4410 * gio/inotify/ginotifydirectorymonitor.c:
4411 * gio/inotify/ginotifyfilemonitor.c:
4412 * gio/inotify/inotify-diag.c:
4413 * gio/inotify/inotify-kernel.c:
4414 * gio/inotify/inotify-path.c:
4416 * gio/test-streams.c:
4417 * programs/gio-info.c:
4418 * programs/gio-monitor-dir.c:
4419 * programs/gio-monitor-file.c:
4420 Various code cleanups from Kjartan Maraas
4422 2007-11-13 Alexander Larsson <alexl@redhat.com>
4425 Handle the uri-scheme calls for dummy files
4427 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4429 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4430 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4431 to avoid clash with the C++ keyword.
4433 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4435 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4436 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4438 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4440 * gio/glocaldirectorymonitor.c:
4441 * gio/glocalfilemonitor.c:
4442 * gio/gunionvolumemonitor.c:
4443 Don't use g_once_init_*() for initializations that could fail and
4444 could leave the initialization variable set to 0 but use GOnce.
4445 This prevents a deadlock on the second call when trying to create
4446 a monitor and no monitor type is available. Thanks to Sven Herzberg
4449 2007-11-11 Sven Herzberg <sven@imendio.com>
4451 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4452 #ifdef (make it work on MacOS X again)
4454 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4456 Fixes Changelog for last two commits (sorry guys).
4458 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4460 * gio/gbufferedinputstream.c:
4461 * gio/gdatainputstream.c:
4463 * gio/gfileoutputstream.c:
4464 * gio/gfilterinputstream.c:
4465 * gio/glocalfileinputstream.c:
4468 More consistency fixes in g*stream.c files.
4469 Significant clean of gfile's documentation, filling in of
4470 asynchronous operations documentation.
4472 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4474 * gio/gasyncresult.c:
4475 * gio/gbufferedinputstream.c:
4476 * gio/gbufferedoutputstream.c:
4477 * gio/gcancellable.c:
4478 * gio/gcontenttype.c:
4479 * gio/gdatainputstream.c:
4480 * gio/gdataoutputstream.c:
4481 * gio/gdesktopappinfo.c:
4484 * gio/gfileattribute.c:
4485 * gio/gio/gfileenumerator.c:
4487 * gio/gfileinputstream.c:
4488 * gio/gfilemonitor.c:
4489 * gio/gfileoutputstream.c:
4490 * gio/ginputstream.c:
4492 * gio/gioscheduler.c:
4493 * gio/gloadableicon.c:
4494 * gio/glocalfileoutputstream.c:
4495 * gio/gmemoryoutputstream.c:
4496 * gio/gmountoperation.c:
4497 * gio/goutputstream.c:
4499 * gio/gsimpleasyncresult.c:
4500 * gio/gunionvolumemonitor.c:
4501 * gio/gunixmounts.c:
4502 * gio/gunixvolume.c:
4506 * gio/gvolumemonitor.c:
4507 Updated documentation stubs, working towards consistency and
4510 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4512 * gio/gmemoryoutputstream.c:
4513 * gio/gmemoryoutputstream.h:
4514 Change g_memory_output_stream_set_free_on_close() to
4515 g_memory_output_stream_set_free_data() as this makes more sense and
4516 is more consistent with GMemoryInputStream.
4518 2007-11-07 Alexander Larsson <alexl@redhat.com>
4525 Change how we find the default vfs so that
4526 we can handle a gvfs failing to init
4528 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4530 * gio/gbufferedoutputstream.c:
4531 * gio/gdatainputstream.c:
4532 * gio/gdataoutputstream.c:
4533 * gio/gfileinputstream.c:
4534 * gio/gfileoutputstream.c:
4535 * gio/gfilterinputstream.c:
4536 * gio/gfilteroutputstream.c:
4537 * gio/ginputstream.c:
4538 * gio/gmemoryinputstream.c:
4539 * gio/gmemoryoutputstream.c:
4540 * gio/goutputstream.c:
4541 * gio/gsimpleasyncresult.c:
4542 * gio/gsocketinputstream.c:
4543 * gio/gsocketoutputstream.c:
4544 Add guards to the remaining public functions, add a TODO for
4545 an unimplemented function and remove some useless guards.
4547 2007-11-07 Alexander Larsson <alexl@redhat.com>
4550 Autoconf checks for the various types of
4551 getpwuid_r and getgrgid_r
4553 * gio/glocalfileinfo.c:
4554 Use the autoconf checks from above
4556 2007-11-07 Alexander Larsson <alexl@redhat.com>
4559 (g_local_file_query_filesystem_info):
4560 Some fixes for the statvfs case
4562 2007-11-07 Alexander Larsson <alexl@redhat.com>
4565 (g_local_file_query_filesystem_info):
4566 Pick the "best" of statfs / statvfs for the system
4567 if both are availible.
4569 2007-11-07 Alexander Larsson <alexl@redhat.com>
4571 Solaris fixes from Halton.Huo@Sun.COM:
4578 * gio/glocalfileinfo.c:
4579 Fix for solaris definition of getpwuid_r
4581 * gio/test-streams.c:
4582 Use G_GNUC_PRETTY_FUNCTION
4584 2007-11-07 Alexander Larsson <alexl@redhat.com>
4586 * gio/gdesktopappinfo.c:
4587 (update_default_list):
4588 Remove double semicolon.
4589 Patch from Jens Granseuer
4591 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4593 * docs/reference/gio/gio-sections.txt:
4594 * gio/gbufferedinputstream.c:
4595 * gio/gbufferedinputstream.h:
4596 * gio/gdatainputstream.c:
4597 * gio/gfileenumerator.c:
4598 * gio/gioscheduler.c:
4599 * gio/gunionvolumemonitor.c:
4601 * programs/gio-save.c:
4602 Fix typo: availible -> available. Unfortuntely this breaks API
4603 and ABI as g_buffered_input_stream_get_available() was renamed.
4605 * gio/gunixmounts.c:
4606 * gio/gbufferedinputstream.c:
4607 Add guards for public functions.
4609 2007-11-06 Ross Burton <ross@openedhand.com>
4611 * docs/reference/gio/Makefile.am:
4612 Fix invalid += usage which automake 1.10 doesn't like.
4614 2007-11-06 Alexander Larsson <alexl@redhat.com>
4617 (g_app_launch_context_class_init):
4620 Patch from Ross Burton
4622 2007-11-06 Alexander Larsson <alexl@redhat.com>
4625 Post release version bump
4627 === gio-standalone 0.1.1 ===
4629 2007-11-06 Alexander Larsson <alexl@redhat.com>
4632 Bump version to 0.1.1
4634 * gio/gsimpleasyncresult.c:
4635 (g_simple_async_result_set_from_error):
4636 Remove bogus g_return_if_fail
4638 2007-11-06 Alexander Larsson <alexl@redhat.com>
4641 The name is gio-standalone
4644 Add top src/builddir to includedir
4646 2007-11-06 Alexander Larsson <alexl@redhat.com>
4648 * docs/reference/gio/gio-sections.txt:
4650 * gio/gbufferedinputstream.c:
4651 * gio/gbufferedoutputstream.c:
4652 * gio/gcancellable.c:
4653 * gio/gdatainputstream.h:
4654 * gio/gdataoutputstream.c:
4655 * gio/gdataoutputstream.h:
4656 * gio/gdirectorymonitor.c:
4658 * gio/gfileattribute.c:
4659 * gio/gfileattribute.h:
4660 * gio/gfileenumerator.c:
4661 * gio/gfileenumerator.h:
4664 * gio/gfileinputstream.h:
4665 * gio/gfilemonitor.c:
4666 * gio/gfileoutputstream.h:
4667 * gio/glocalfilemonitor.h:
4668 * gio/glocalfileoutputstream.h:
4669 * gio/gmemoryinputstream.c:
4670 * gio/gmemoryoutputstream.c:
4671 * gio/gmountoperation.c:
4672 * gio/goutputstream.c:
4673 * gio/goutputstream.h:
4675 * gio/gsimpleasyncresult.c:
4676 * gio/gunixmounts.c:
4677 * gio/gunixmounts.h:
4679 * gio/inotify/inotify-helper.c:
4680 Fix gtk-doc warnings
4682 Patch from Ross Burton
4684 2007-11-06 Alexander Larsson <alexl@redhat.com>
4686 * gio/gfilenamecompleter.c:
4687 (g_filename_completer_get_completions):
4690 * gio/gunixvolume.c:
4691 Remove unused function
4693 Patches from Ross Burton
4695 2007-11-06 Alexander Larsson <alexl@redhat.com>
4700 Padding not needed for interfaces
4702 2007-11-06 Alexander Larsson <alexl@redhat.com>
4704 * gio/gfilemonitor.c:
4708 Make giotypes.h an internal file
4711 * gio/gbufferedinputstream.h:
4712 * gio/gbufferedoutputstream.h:
4713 * gio/gcancellable.h:
4714 * gio/gdatainputstream.h:
4715 * gio/gdataoutputstream.h:
4716 * gio/gdirectorymonitor.c:
4717 * gio/gdirectorymonitor.h:
4722 * gio/gfileattribute.h:
4723 * gio/gfileenumerator.h:
4728 * gio/gfilemonitor.c:
4729 * gio/gfilemonitor.h:
4730 * gio/gfilenamecompleter.c:
4731 * gio/gfilenamecompleter.h:
4732 * gio/gfilterinputstream.h:
4733 * gio/gfilteroutputstream.h:
4734 * gio/ginputstream.h:
4735 * gio/gmemoryinputstream.h:
4736 * gio/gmemoryoutputstream.h:
4737 * gio/gmountoperation.c:
4738 * gio/gmountoperation.h:
4739 * gio/gnativevolumemonitor.c:
4740 * gio/goutputstream.h:
4743 * gio/gsimpleasyncresult.c:
4744 * gio/gsimpleasyncresult.h:
4745 * gio/gsocketinputstream.h:
4746 * gio/gsocketoutputstream.h:
4747 * gio/gthemedicon.c:
4748 * gio/gthemedicon.h:
4752 * gio/gvolumemonitor.c:
4753 * gio/gvolumemonitor.h:
4754 Add padding in classes where it seems useful
4755 Don't include giotypes.h from public headers
4756 Move in Class definitions into c file where possible
4761 2007-11-06 Alexander Larsson <alexl@redhat.com>
4763 * docs/reference/gio/gio-docs.xml:
4764 Better structure for API docs
4766 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4769 * gio/gloadableicon.c:
4770 * gio/gsimpleasyncresult.c:
4771 * gio/gthemedicon.c:
4772 Add some more guards to public functions. Only files missing are now
4775 2007-11-06 Alexander Larsson <alexl@redhat.com>
4777 * docs/reference/gio/gio-docs.xml:
4778 Remove old files, add missing ones
4780 2007-11-06 Alexander Larsson <alexl@redhat.com>
4782 * docs/reference/gio/gio-sections.txt:
4785 Hide implementation classes
4787 * gio/gdriveprivate.h:
4788 * gio/gvolumeprivate.h:
4789 Remove non-existing function declarations
4791 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4794 Fix compilation warnings and add guards to the new functions.
4796 * gio/gasyncresult.c:
4798 Add guards to the public functions.
4801 Implement get_path().
4803 2007-11-06 Alexander Larsson <alexl@redhat.com>
4805 * gio/gfilenamecompleter.c:
4806 Make g_filename_completer_get_completions
4807 return char ** instead of GList for
4810 * docs/reference/gio/gio-docs.xml:
4811 * docs/reference/gio/gio-sections.txt:
4813 * gio/gasyncresult.c:
4814 * gio/gbufferedinputstream.c:
4815 * gio/gbufferedoutputstream.c:
4816 * gio/gcancellable.c:
4817 * gio/gcontenttype.c:
4818 * gio/gdatainputstream.c:
4819 * gio/gdataoutputstream.c:
4820 * gio/gdesktopappinfo.c:
4821 * gio/gdirectorymonitor.c:
4825 * gio/gfileattribute.c:
4826 * gio/gfileenumerator.c:
4829 * gio/gfileinputstream.c:
4830 * gio/gfilemonitor.c:
4831 * gio/gfilenamecompleter.c:
4832 * gio/gfilenamecompleter.h:
4833 * gio/gfileoutputstream.c:
4834 * gio/gfilterinputstream.c:
4836 * gio/ginputstream.c:
4838 * gio/gioscheduler.c:
4839 * gio/gloadableicon.c:
4840 * gio/glocaldirectorymonitor.c:
4842 * gio/glocalfileinputstream.c:
4843 * gio/glocalfilemonitor.c:
4844 * gio/glocalfileoutputstream.c:
4846 * gio/gmemoryinputstream.c:
4847 * gio/gmemoryoutputstream.c:
4848 * gio/gmountoperation.c:
4849 * gio/goutputstream.c:
4850 * gio/gpollfilemonitor.c:
4852 * gio/gsimpleasyncresult.c:
4853 * gio/gsocketinputstream.c:
4854 * gio/gsocketoutputstream.c:
4855 * gio/gthemedicon.c:
4856 * gio/gunionvolumemonitor.c:
4858 * gio/gunixmounts.c:
4859 * gio/gunixvolume.c:
4860 * gio/gunixvolumemonitor.c:
4864 * gio/gvolumemonitor.c:
4865 * gio/gwin32appinfo.c:
4866 Add (mostly stub) doc strings to public functions.
4867 Patch from Andrew Walton (awalton@gmail.com)
4869 2007-11-06 Alexander Larsson <alexl@redhat.com>
4871 * gio/gappinfo.[ch]:
4872 Added GAppLaunchContext object and pass that to launch.
4873 This allows simple implementation of both
4874 launch-on-screen and startup notification via a gtk+
4875 subclass of GAppLaunchContext
4877 * gio/gdesktopappinfo.c:
4878 Implement GAppLaunchContext API
4880 * gio/gwin32appinfo.c:
4883 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4885 * gio/gmountoperation.c:
4886 Add some guards to GMountOperation's public functions.
4888 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4892 * gio/gcancellable.c:
4893 * gio/gdirectorymonitor.c:
4895 * gio/gfileenumerator.c:
4896 * gio/gfilemonitor.c:,
4897 * gio/gfilenamecompleter.c:
4900 * gio/gioscheduler.c:
4904 * gio/gvolumemonitor.c:
4905 Add even more guards to various public functions.
4907 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4910 Add guards to the public functions of GAppInfo.
4912 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4914 * gio/gcontenttype.c:
4915 Add some more guards for public functions.
4917 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4919 * gio/fam/fam-module.c:
4920 * gio/fam/gfamdirectorymonitor.c:
4921 * gio/fam/gfamdirectorymonitor.h:
4922 * gio/fam/gfamfilemonitor.c:
4923 * gio/fam/gfamfilemonitor.h:
4924 * gio/inotify/ginotifydirectorymonitor.c:
4925 * gio/inotify/ginotifydirectorymonitor.h:
4926 * gio/inotify/ginotifyfilemonitor.c:
4927 * gio/inotify/ginotifyfilemonitor.h:
4928 Add proper copyright information and remove an unused variable
4929 in the GInotifyFileMonitor constructor.
4931 * gio/gcancellable.c:
4932 Add a guard for a public function and an assertion to prevent
4933 an undefined program state.
4935 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4937 * gio/gfileattribute.c:
4938 Don't run into an assertion if the given attribute value is NULL
4939 in g_file_attribute_value_get_*() but instead return a fallback
4940 value that makes sense in most situations. Passing them a attribute
4941 value with the wrong type will still run into an assertion.
4943 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4945 * gio/gfileattribute.c:
4947 Add even more guards to the public functions. Also fix the refcounting
4948 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4949 let g_file_info_list_attributes() filter the attributes by namespace
4950 instead of simply ignoring the namespace parameter.
4952 2007-11-03 Sven Herzberg <sven@imendio.com>
4954 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4955 (This makes gio work on MacOS X again)
4957 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4960 Build the gio subdirectory before the docs. Otherwise the build will
4963 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4964 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4965 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4966 Add guards to the public functions.
4968 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4970 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4971 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4972 to prevent a compiler warning.
4974 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4975 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4976 return something in the non-void function find_topdir_for().
4978 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4985 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4987 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4988 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4989 * gwin32appinfo.c (g_win32_app_info_launch):
4990 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4991 envp_for_startup_id, g_desktop_app_info_launch,
4992 g_desktop_app_info_launch_uris):
4994 Give an opaque 'startup_id' string instead of 'envp'.
4995 Support empty file lists for launching new windows.
4996 Fix infinite recursion bug when launching URIs.
4998 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5001 Add guard to the new g_file_get_uri_scheme() function.
5003 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5006 Convert a g_return_val_if_fail() to setting the GError instead as
5007 otherwise applications have to verify the parameter before otherwise
5008 and the parameter might come directly from the user.
5010 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5012 * gio/inotify/ginotify*.[ch]:
5013 Add missing copyright information.
5015 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5018 Add guards in the beginning of public functions to check for valid
5019 parameters and fix a bug in copy_stream_with_progress() that could've
5020 caused writing less bytes than reading.
5021 * gio/glocalfileinfo.c:
5022 Check for a NULL parameter and set the GError accordingly then.
5023 * gio/goutputstream.c:
5024 Fix the same bug as in gfile.c that could've caused writing less bytes
5025 than reading in g_output_stream_real_splice().
5027 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5030 Use the correct gvolumeprivate.h naming
5032 2007-11-01 Christian Kellner <gicmo@gnome.org>
5035 Remove leftover "$(daemon_sources)" entry.
5037 2007-11-01 Christian Kellner <gicmo@gnome.org>
5042 Add copyright information to source files.
5044 2007-11-01 Alexander Larsson <alexl@redhat.com>
5048 Add g_file_get_uri_scheme
5050 2007-11-01 Alexander Larsson <alexl@redhat.com>
5053 * gio/gdesktopappinfo.c:
5054 * gio/gwin32appinfo.c:
5055 Add g_app_info_get_default_for_uri_scheme.
5057 2007-11-01 Alexander Larsson <alexl@redhat.com>
5060 Correct filename for gdriveprivate.h
5062 2007-10-31 Alexander Larsson <alexl@redhat.com>
5065 Rename id:value to id:file
5068 * gio/glocalfileinfo.c:
5071 2007-10-31 Alexander Larsson <alexl@redhat.com>
5073 * gio/gunixvolume.c:
5075 Remove g_volume_get_platform_id, as thats not
5076 needed with the simpler union volume monitor
5078 2007-10-31 Alexander Larsson <alexl@redhat.com>
5081 * gio/guniondrive.[ch]: Removed.
5082 * gio/gunionvolume.[ch]: Removed.
5083 Remove GUnionDrive/Volume
5085 * gio/gunionvolumemonitor.c:
5086 Simplify union volume monitor, now we
5087 only have one native volume monitor and
5088 we use the actual volumes/drives from the
5089 child monitors instead of wrapping them
5091 * gio/gnativevolumemonitor.[ch]:
5092 Base class for native volume monitors.
5093 Includes priority and get_volume_for_mountpoint
5096 Add g_file_find_enclosing_volume
5099 Remove volume name fs attribute
5100 Add readonly fs attribute
5103 Implement readonly attribute
5104 remove volume name attribute
5105 Implement find_enclosing volume
5107 * gio/gunixmounts.c:
5108 Add a volume for "/".
5110 * gio/gunixvolume.[ch]:
5111 Set better name for /
5113 * gio/gunixvolumemonitor.[ch]:
5114 Derive from GNativeVolumeMonitor
5115 Implement get_volume_for_mountpoint
5118 GVolume typedef moved to gfile.h
5120 * gio/gvolumeprivate.h:
5121 Add g_volume_get_for_mount_path
5123 2007-10-31 Alexander Larsson <alexl@redhat.com>
5125 * gio/gunixmounts.[ch]:
5126 Add cache info to unix mount listers
5127 Make getmntent use threadsafe
5128 Add is_system_internal attribute for GUnixMount
5130 * gio/gunixvolume.c:
5131 (g_unix_volume_new):
5132 Use is_system_internal instead of own code
5134 * gio/glocaldirectorymonitor.c:
5135 * gio/gunixvolumemonitor.c:
5136 Update to new gunixmounts API
5141 2007-10-30 Alexander Larsson <alexl@redhat.com>
5144 Add volume name fsinfo attribute
5147 Read volume name info
5149 * gio/gunionvolumemonitor.c:
5150 Fix infinite loops when finalizing a union volume monitor
5152 2007-10-30 Alexander Larsson <alexl@redhat.com>
5154 * gio/goutputstream.[ch]:
5155 Add splice() with default implementation
5157 * gio/gsocketoutputstream.c:
5158 (g_socket_output_stream_write):
5159 Return error on cancellation correctly.
5161 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5163 * gio/glocalfile.c (g_local_file_trash):
5164 Do not leak a string.
5166 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5168 * gio/gfile.c (g_file_load_contents):
5169 Unref the stream after closing it.
5171 2007-10-25 Alexander Larsson <alexl@redhat.com>
5173 * gio/gioscheduler.h:
5176 2007-10-25 Alexander Larsson <alexl@redhat.com>
5180 Add g_file_has_uri_scheme and implement for local files
5182 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5184 * gio/gdesktopappinfo.c: do not leak a string.
5186 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5188 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5189 (g_local_directory_monitor_new):
5190 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5191 (g_local_file_monitor_new):
5192 Only look for the monitor type that should be used the first time
5193 and use g_qsort_with_data() instead of our own bubble sort
5196 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5199 * gio/fam/Makefile.am:
5200 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5201 * gio/fam/fam-helper.h:
5202 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5203 * gio/fam/gfamdirectorymonitor.c:
5204 * gio/fam/gfamdirectorymonitor.h:
5205 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5206 * gio/fam/gfamfilemonitor.h:
5207 * gio/glocaldirectorymonitor.c:
5208 * gio/glocaldirectorymonitor.h:
5209 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5210 * gio/glocalfilemonitor.h:
5211 * gio/inotify/Makefile.am:
5212 * gio/inotify/ginotifydirectorymonitor.c:
5213 * gio/inotify/ginotifydirectorymonitor.h:
5214 * gio/inotify/ginotifyfilemonitor.c:
5215 * gio/inotify/ginotifyfilemonitor.h:
5216 Implement the FAM and Inotify monitors as
5217 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5218 their own GIO module. GLocal(Directory|File)Monitor will use the
5219 monitor with the highest rank that is supported on that machine.
5221 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5224 Change GIO module dir to $(libdir)/gio/modules and change
5225 the log domain from GVFS to GIO. Also only export symbols starting
5226 with g_ in the resulting library.
5227 * gio/test-streams.c: (main):
5228 Set log handler for the GIO log domain.
5230 2007-10-22 Alexander Larsson <alexl@redhat.com>
5232 * gio/gfilenamecompleter.[ch]:
5233 Add g_filename_completer_set_dirs_only
5235 2007-10-22 Alexander Larsson <alexl@redhat.com>
5238 * gio/gurifuncs.[ch]:
5239 Add some simple URI helpers
5241 * gio/gfilenamecompleter.[ch]:
5242 Added object for filename (parse name actually) completion
5245 Handle ~ in parse names
5247 2007-10-17 Alexander Larsson <alexl@redhat.com>
5250 * gio/glocalfileinfo.c:
5251 Add and implement id:value attribute
5253 2007-10-17 Alexander Larsson <alexl@redhat.com>
5256 * gio/guniondrive.c:
5258 Add and implement g_drive_has_volumes
5260 2007-10-17 Alexander Larsson <alexl@redhat.com>
5263 * gio/glocalfileinfo.[ch]:
5264 Add unix:is_mountpoint and implement for local files
5266 2007-10-16 Alexander Larsson <alexl@redhat.com>
5268 * gio/gunionvolumemonitor.c:
5269 (g_union_volume_monitor_init):
5270 Fix up the unix type getting so that it works with gcc
5272 2007-10-12 Alexander Larsson <alexl@redhat.com>
5275 * gio/glocalfileinfo.c:
5276 Add thumbnail:failed to file info
5278 2007-10-12 Richard Hult <richard@imendio.com>
5280 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5281 optimizing away the get_type call (happens with some gcc versions,
5282 like the one shipped with OS X 10.4).
5284 2007-10-12 Alexander Larsson <alexl@redhat.com>
5286 * gio/glocalfileinfo.c:
5287 (_g_local_file_info_set_attribute):
5288 Fix build if not HAVE_XATTR
5289 Patch from Milosz Derezynski <internalerror@gmail.com>
5291 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5293 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5294 around for review, otherwise I would have asked you before
5297 2007-10-11 Alexander Larsson <alexl@redhat.com>
5300 Add thumbnail:path attribute
5302 * gio/glocalfileinfo.c:
5303 Implement thumbnail:path for local files
5305 2007-10-11 Alexander Larsson <alexl@redhat.com>
5307 * gio/glocalfileinfo.c:
5308 (_g_local_file_info_get):
5309 Avoid duplicate icon names
5311 2007-10-11 Alexander Larsson <alexl@redhat.com>
5313 * gio/gthemedicon.[ch]:
5314 Change g_themed_icon_get_names return type to const
5316 2007-10-10 Alexander Larsson <alexl@redhat.com>
5318 * gio/glocalfileinfo.c:
5319 Don't reference freed memory
5321 2007-10-10 Alexander Larsson <alexl@redhat.com>
5323 * gio/gfileattribute.c:
5326 * gio/glocalfileinfo.c:
5329 2007-10-10 Alexander Larsson <alexl@redhat.com>
5332 Check for NULL icons
5334 * gio/gfileattribute.c:
5335 Don't dup when getting objects (same as for string attributes)
5337 * gio/gicon.c (g_icon_equal):
5338 Safely handle NULLs in equal
5340 2007-10-10 Alexander Larsson <alexl@redhat.com>
5343 Fix c++ compilation issues
5344 Patch from Milosz Derezynski <internalerror@gmail.com>
5346 2007-10-10 Alexander Larsson <alexl@redhat.com>
5348 * programs/gio-monitor-dir.c:
5349 Don't crash if dir monitor not supported.
5351 2007-10-09 Alexander Larsson <alexl@redhat.com>
5354 Add missing G_END_DECLS
5356 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5358 * gio/gfile.c: (g_file_set_display_name),
5359 (g_file_query_settable_attributes),
5360 (g_file_query_writable_namespaces):
5361 Return NULL not FALSE on errors as the return type is a pointer.
5363 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5365 * gio/glocalfile.c: (g_local_file_monitor_file):
5366 Don't call monitor_file on the default interface vtable (which
5367 is NULL) but simply return NULL. The caller, GFile, will create a
5368 polling monitor if NULL is returned.
5370 2007-10-09 Alexander Larsson <alexl@redhat.com>
5374 * gio-unix-2.0.pc.in:
5375 Add gio-unix-2.0.pc if OS_UNIX
5378 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5380 2007-10-09 Alexander Larsson <alexl@redhat.com>
5382 * gio/gunixmounts.[ch]:
5383 Make unix mount monitoring API sane.
5384 Now its just a object with mounts_changed
5385 and mountpoints_changed signals.
5387 * gio/glocaldirectorymonitor.c:
5388 * gio/gunixvolumemonitor.c:
5389 Use new mount monitor api
5391 2007-10-09 Alexander Larsson <alexl@redhat.com>
5393 * gio/gunixmounts.[ch]:
5394 Move guess type into one call for mounts and one for mountpoints
5397 * gio/gunixvolume.c:
5400 2007-10-09 Alexander Larsson <alexl@redhat.com>
5402 * gio/gunixmounts.[ch]:
5403 Remove _ prefix in preparation to make this semi-public
5404 Hide implementation of structs
5406 * gio/glocaldirectorymonitor.c:
5408 * gio/gunixvolume.c:
5409 * gio/gunixvolumemonitor.c:
5410 Update for above API changes
5412 2007-10-08 Alexander Larsson <alexl@redhat.com>
5415 Better polling fallback. This also handles the case where we have
5416 a monitor_file implementation, but it fails.
5418 2007-10-08 Alexander Larsson <alexl@redhat.com>
5422 * gio/gunixmounts.c:
5423 * programs/gio-monitor-dir.c:
5424 * programs/gio-monitor-file.c:
5425 Added cancellable to file monitoring calls.
5426 These are really sync calls and need this.
5428 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5430 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5431 (g_local_vfs_class_init):
5432 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5433 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5435 2007-10-05 Alexander Larsson <alexl@redhat.com>
5437 * gio/gdirectorymonitorprivate.h:
5438 * gio/gfilemonitorprivate.h:
5439 * gio/gdirectorymonitor.h:
5440 * gio/gfilemonitor.h:
5441 Remove *private.h and move to the public API, so that
5442 we can do implementations outside gio (such as in gvfs)
5444 * gio/gdirectorymonitor.c:
5445 * gio/gfilemonitor.c:
5446 * gio/glocaldirectorymonitor.c:
5447 * gio/gpollfilemonitor.c:
5448 * gio/inotify/inotify-helper.c:
5449 * gio/fam/fam-helper.c:
5450 Update to the new header names
5452 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5454 * gio/gdirectorymonitor.c:
5455 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5458 2007-10-04 Alexander Larsson <alexl@redhat.com>
5460 * gio/glocalfileinfo.c (get_access_rights):
5461 Set CAN_TRASH when we can move the file.
5462 We should really also check for a parent trash dir.
5464 2007-10-04 Alexander Larsson <alexl@redhat.com>
5466 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5467 Add can_trash access attribute
5469 2007-10-04 Alexander Larsson <alexl@redhat.com>
5472 (g_local_file_trash):
5473 Create info file first. This is per-spec and allows
5474 us to actually trash directories.
5476 2007-10-02 Alexander Larsson <alexl@redhat.com>
5478 * gio/gdesktopappinfo.c:
5479 Implement the new mime support code.
5480 Always set app as handling mimetype when being set as default for it
5482 2007-10-01 Alexander Larsson <alexl@redhat.com>
5484 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5485 Fix up check for xattrs:
5487 2007-10-01 Alexander Larsson <alexl@redhat.com>
5490 (g_app_info_set_as_default_for_extension):
5491 (g_app_info_add_supports_type):
5492 (g_app_info_can_remove_supports_type):
5493 (g_app_info_remove_supports_type):
5494 Make these fail nicely if not implemented
5496 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5498 * gio/glocalfileoutputstream.c:
5499 * gio/glocalfileoutputstream.h:
5504 * programs/gio-save.c:
5505 Add a GFileCreateFlags argument to operations that can create
5508 2007-10-01 Alexander Larsson <alexl@redhat.com>
5510 * gio/gappinfo.[ch]:
5511 * gio/gdesktopappinfo.c:
5512 Add more (stubbed out) mime API needed for nautilus
5514 2007-10-01 Alexander Larsson <alexl@redhat.com>
5517 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5518 Add g_app_info_set_as_default_for_extension.
5520 * gio/gdesktopappinfo.c:
5521 Dummy for g_app_info_set_as_default_for_extension
5522 Support flags in g_app_info_create_from_commandline
5524 * gio/gwin32appinfo.c:
5526 Update for API changes
5528 * gio/gthemedicon.c:
5529 Properly NULL-terminate list of icon names
5531 2007-09-28 Alexander Larsson <alexl@redhat.com>
5533 * gio/gloadableicon.h:
5534 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5536 2007-09-28 Alexander Larsson <alexl@redhat.com>
5539 Install headers in $includedir/gio-standalone/
5541 * gio-2.0.pc.in: Added.
5542 * gio-standalone.pc.in: Removed.
5545 Renamed pkg-config file to match glib (for future move)
5546 Update to the new include dir
5549 Add more TODO comments
5551 2007-09-28 Alexander Larsson <alexl@redhat.com>
5553 * gio/gdesktopappinfo.[ch]:
5554 Expose new_from_filename
5555 Add getter for is_hidden and handle it better
5557 2007-09-28 Alexander Larsson <alexl@redhat.com>
5559 * gio/gfileinfo.[ch]:
5560 Rename g_file_size_format_for_display to
5561 g_format_file_size_for_display.
5562 Now it doesn't have the g_file prefix, so we
5563 can later move it to glib.
5565 2007-09-28 Alexander Larsson <alexl@redhat.com>
5567 * gio/gappinfo.[ch]:
5568 Add g_app_info_get_id and g_app_info_get_executable.
5569 Make all getters non-reffing
5570 Make g_app_info_launch take GFile arguments.
5571 Add must_support_uris argument to g_app_info_get_default_for_type.
5573 * gio/gwin32appinfo.c:
5574 Update to GAppInfo api changes
5576 * gio/gdesktopappinfo.c:
5577 Update to GAppInfo api changes
5578 Implement supports_xdg_startup_notify
5580 * gio/gfileicon.c (g_file_icon_get_file):
5581 Make getter non-reffing.
5586 2007-09-27 Alexander Larsson <alexl@redhat.com>
5588 * gio/gfileinfo.[ch]:
5589 Add g_file_size_format_for_display helper
5591 2007-09-27 Alexander Larsson <alexl@redhat.com>
5593 * gio/glocalfileinfo.c:
5594 Set UNIX_GID from gid, not from uid
5596 2007-09-27 Alexander Larsson <alexl@redhat.com>
5599 Add g_file_set_attributes_async
5601 2007-09-27 Alexander Larsson <alexl@redhat.com>
5603 * gio/glocalfile.c (g_local_file_set_display_name):
5604 Fix set_display_name to actually rename to the right place.
5605 Use lstat to look for existing files so we don't overwrite
5608 2007-09-26 Alexander Larsson <alexl@redhat.com>
5611 Add g_file_set_display_name_async()
5613 2007-09-26 Alexander Larsson <alexl@redhat.com>
5616 Add load_partial_contents async calls
5619 Make internal function static
5621 2007-09-26 Alexander Larsson <alexl@redhat.com>
5623 * gio/glocalfileinfo.c:
5624 Correctly detect broken symlinks
5626 2007-09-26 Alexander Larsson <alexl@redhat.com>
5628 * gio/gcancellable.c (g_cancellable_cancel):
5629 Allow cancel on NULL cancellable
5631 2007-09-25 Alexander Larsson <alexl@redhat.com>
5633 * gio/gsimpleasyncresult.c:
5634 Don't allocate g_error manually.
5635 Fixes g_slice/g_new mixup crash
5637 2007-09-25 Alexander Larsson <alexl@redhat.com>
5639 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5640 Actually set active_backend.
5641 This means the monitor will be cancelled correctly.
5643 2007-09-25 Alexander Larsson <alexl@redhat.com>
5645 * gio/gdirectorymonitor.c:
5646 Set timeout to NULL when destroying
5648 2007-09-25 Alexander Larsson <alexl@redhat.com>
5651 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5652 that is a better description of the error.
5654 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5656 * gio/gvfs.c: (g_vfs_get_local):
5657 Make the local vfs variable static. The same instance should
5660 2007-09-24 Alexander Larsson <alexl@redhat.com>
5662 * gio/glocalfileinfo.c:
5663 Pass in actual length read into sniffer, not the length
5666 2007-09-21 Alexander Larsson <alexl@redhat.com>
5668 * gio/gfileenumerator.c:
5671 * gio/gfileinputstream.c:
5672 * gio/gfileoutputstream.c:
5673 * gio/ginputstream.c:
5674 * gio/goutputstream.c:
5675 Don't crash if async callbacks are NULL
5677 2007-09-20 Alexander Larsson <alexl@redhat.com>
5680 Add async enumerate_children method and default
5683 2007-09-20 Alexander Larsson <alexl@redhat.com>
5686 Add g_file_contains_file & g_file_get_relative_path, since they
5687 were needed for nautilus.
5688 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5693 Implement new methods
5695 2007-09-17 Alexander Larsson <alexl@redhat.com>
5698 * gio/gfileinputstream.[ch]:
5699 * gio/gfileoutputstream.[ch]:
5701 * gio/glocalfileenumerator.[ch]:
5702 * gio/glocalfileinfo.[ch]:
5703 * gio/glocalfileinputstream.c:
5704 * gio/glocalfileoutputstream.c:
5705 * gio/gpollfilemonitor.c:
5706 * programs/gio-copy.c:
5707 * programs/gio-info.c:
5708 * programs/gio-move.c:
5709 Rename get_file_info to query_info() to make it clearer
5710 that these are not simple getters, but do i/o.
5712 2007-09-17 Alexander Larsson <alexl@redhat.com>
5714 * gio/gdatainputstream.[ch]:
5715 * gio/test-streams.c:
5716 Use _read_XXX instead of _get_XXX for the i/o calls
5719 2007-09-17 Alexander Larsson <alexl@redhat.com>
5722 Added needed stuff to TODO comment
5724 2007-09-17 Alexander Larsson <alexl@redhat.com>
5726 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5727 Don't error out removing the backup copy if it doesn't
5730 2007-09-14 Alexander Larsson <alexl@redhat.com>
5732 * programs/Makefile.am:
5733 * programs/gvfs-*.c:
5735 Renamed apps from gvfs-xxx to gio-xxx.
5737 2007-09-14 Alexander Larsson <alexl@redhat.com>
5740 * gio/gfileoutputstream.[ch]:
5741 * gio/glocalfileoutputstream.c:
5742 * programs/gvfs-save.c:
5743 g_file_output_stream_get_etag doesn't do i/o, so remove
5744 cancellation and error.
5746 2007-09-14 Alexander Larsson <alexl@redhat.com>
5749 Add new_etag output to replace_contents functions
5751 2007-09-14 Alexander Larsson <alexl@redhat.com>
5753 * gio/gfileoutputstream.[ch]:
5754 Add async get_file_info and default implementation
5756 2007-09-14 Alexander Larsson <alexl@redhat.com>
5758 * gio/gfileinputstream.c:
5759 Implement fallback wrapper for async get_file_info
5761 2007-09-14 Alexander Larsson <alexl@redhat.com>
5764 Add etag out argument to load_contents
5769 2007-09-14 Alexander Larsson <alexl@redhat.com>
5771 * gio/gcontenttype.c (looks_like_text):
5772 Whitespace like tab, cr and lf do not make the
5775 2007-09-14 Alexander Larsson <alexl@redhat.com>
5777 * gio/gfileinputstream.[ch]:
5778 Add async get_file_info.
5780 2007-09-13 Alexander Larsson <alexl@redhat.com>
5782 * gio/goutputstream.c (g_output_stream_write_all):
5783 Allow NULL for bytes_written
5785 2007-09-13 Alexander Larsson <alexl@redhat.com>
5787 * gio/gmemoryinputstream.[ch]:
5788 Add accessors for data
5790 2007-09-13 Alexander Larsson <alexl@redhat.com>
5792 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5793 Don't crash if length is NULL