1 2009-02-27 Matthias Clasen <mclasen@redhat.com>
3 Bug 573421 – Clarify message format in GMountOperation
5 * gmountoperation.c: Document that the first line of a
6 multi-line message should be interpreted as a heading.
8 2009-02-27 David Zeuthen <davidz@redhat.com>
10 Bug 573462 – GEmblemedIcon leak
12 * gemblemedicon.c (g_emblemed_icon_finalize):
13 Avoid leaking a GList.
15 2009-02-27 Alexander Larsson <alexl@redhat.com>
19 Split out the extension point registration code to its
23 Ensure extension points are registered before extending it.
24 It might not have happened yet if g_vfs_get_local() is called.
26 2009-02-26 Alexander Larsson <alexl@redhat.com>
28 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
29 * gmemoryoutputstream.c:
30 Track actual valid size, even if we later seek back.
32 * tests/memory-output-stream.c:
35 2009-02-26 Alexander Larsson <alexl@redhat.com>
37 Bug 543183 – Clarify docs for g_file_has_prefix
39 * gfile.c: (g_file_has_prefix):
40 Clarify how the prefix matching works.
42 2009-02-26 Alexander Larsson <alexl@redhat.com>
45 Support desktop file key X-GIO-NoFuse which disables
46 use of fuse pathnames for %u and %U arguments.
48 2009-02-25 Alexander Larsson <alexl@redhat.com>
50 Bug 570073 – Add support for reading filesystems on Interix
52 * gunixmounts.c (_g_get_unix_mounts):
53 Support Interix. Patch from Fabian Groffen
55 2009-02-25 Paolo Borelli <pborelli@katamail.com>
57 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
59 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
61 2009-02-23 Alexander Larsson <alexl@redhat.com>
64 Remove accidentally commited spew
66 2009-02-20 Alexander Larsson <alexl@redhat.com>
69 (g_content_type_guess):
70 Don't ever sniff desktop files when the filename is known.
71 In other words, only allow desktop files with the .desktop extension
72 and when the filename isn't known.
73 This is a security precaution since desktop files can execute
74 arbitrary code when launched and we don't want to allow them to
75 try and hide as another type. There is no legit reason to not
76 have the .desktop extension anyway.
78 2009-02-19 Alexander Larsson <alexl@redhat.com>
80 Bug 549298 – impossible to copy files with p (pipe) flag
84 Error out if the source file is a special file
86 2009-02-18 Alexander Larsson <alexl@redhat.com>
88 Bug 560564 – Replacing a symlink with its linked file truncates the original file
91 Add G_FILE_CREATE_REPLACE_DESTINATION
93 * glocalfileoutputstream.c:
94 (handle_overwrite_open):
95 (_g_local_file_output_stream_replace):
96 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
100 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
103 2009-02-17 Ryan Lortie <desrt@desrt.ca>
105 * gfileinfo.c: unref the destination's attribute matcher before
108 2009-02-17 Matthias Clasen <mclasen@redhat.com>
110 * === Released 2.19.8 ===
112 2009-02-17 Matthias Clasen <mclasen@redhat.com>
114 * gio.symbols: Add missing exports for new API
116 * gdatainputstream.c: Add missing Since: tags.
118 2009-02-16 Matthias Clasen <mclasen@redhat.com>
120 * === Released 2.19.7 ===
122 2009-02-16 Matthias Clasen <mclasen@redhat.com>
124 * gmountoperation.[hc]: Add an "aborted" signal to abort a
125 mount operation from the backend side.
127 * gvolume.h: Add docs regarding the "aborted" signal.
129 2009-02-16 Ryan Lortie <desrt@desrt.ca>
131 Bug 505042 – add file attribute for actually used file size in bytes
133 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
134 "standard::allocated-size"
135 * gfileattribute.c: document
136 * glocalfileinfo.c: set the allocated size from st_blocks * 512
138 2009-02-16 Ryan Lortie <desrt@desrt.ca>
140 Bug 571598 – GAsyncResult with NULL gobject
142 * gsimpleasyncresult.c: remove various assertions and add some checks
143 to allow for a NULL source_object in GSimpleAsyncResult.
145 2009-02-11 Matthias Clasen <mclasen@redhat.com>
147 Bug 541225 – Can't compile gio on AIX : duplicate case value in
150 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
151 Reported by Nicolas Joseph
153 2009-02-04 Alexander Larsson <alexl@redhat.com>
155 Bug 566747 - URIs opened with firefox %u load as local files
157 * gdummyfile.c (g_dummy_file_get_path):
158 Dummy files are never used for local paths, so always return NULL
161 2009-02-02 Matthias Clasen <mclasen@redhat.com>
163 * === Released 2.19.6 ===
165 2009-01-31 Paolo Borelli <pborelli@katamail.com>
167 * glocalfileinfo.c: plug a tiny mem leak.
169 2009-01-29 Ryan Lortie <desrt@desrt.ca>
171 * gioerror.c (g_io_error_from_errno): handle all possible cases of
172 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
174 2009-01-28 Ryan Lortie <desrt@desrt.ca>
176 Bug 568575 – _async functions for GDataInputStream
178 * gdatainputstream.h:
179 * gdatainputstream.c: add _async versions of read_line and read_until.
181 * ../docs/reference/gio/gio-sections.txt: add new functions
182 * tests/sleepy-stream.c: new test case for async read line
183 * tests/Makefile.am: add new test
185 2009-01-22 Ryan Lortie <desrt@desrt.ca>
187 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
189 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
190 g_buffered_input_stream_fill): check for count < -1 instead of count <
191 0 and copy modified check to non-async version for consistency.
192 document the "count = -1" API.
194 2009-01-22 Ryan Lortie <desrt@desrt.ca>
196 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
198 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
199 after we have successfully read data from the base stream
201 2009-01-20 Ryan Lortie <desrt@desrt.ca>
203 Bug 568394 – dropping the last reference to a stream filter closes the
206 * gfilterinputstream.h:
207 * gfilterinputstream.c: add "close-base-stream" property and only
208 close the base stream if it is true. issue async close callbacks from
209 correct source object.
210 * gfilteroutputstream.h:
211 * gfilteroutputstream.c: add a "close-base-stream" property and only
212 close the base stream if it is true. issue async close callbacks from
213 correct source object.
214 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
215 before closing the base stream. fix invalid source tag comparison in
216 close_async (was comparing to flush_async).
217 * ../docs/reference/gio/gio-sections.txt:
219 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
220 * tests/filter-streams.c: new test cases
221 * tests/Makefile.am: add new test
222 * tests/.gitignore: add new test
224 2009-01-19 Matthias Clasen <mclasen@redhat.com>
226 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
228 2009-01-19 Matthias Clasen <mclasen@redhat.com>
230 * === Released 2.19.5 ===
232 2009-01-19 Matthias Clasen <mclasen@redhat.com>
234 * gappinfo.h: Document get_commandline vfunc
236 2009-01-19 Matthias Clasen <mclasen@redhat.com>
238 * gunixmounts.c: Some stylistic fixes.
240 2009-01-08 Matthias Clasen <mclasen@redhat.com>
242 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
243 functions in non-UTF8 locale
245 * xdgmime/xdgmimecache.c:
246 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
248 2009-01-08 Matthias Clasen <mclasen@redhat.com>
250 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
252 2009-01-07 Matthias Clasen <mclasen@redhat.com>
254 Bug 566770 – error code 0 for Too many open files is useless
256 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
257 Requested by Olivier Sessink.
259 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
261 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
262 G_IO_ERROR_TOO_MANY_OPEN_FILES.
264 2009-01-05 Matthias Clasen <mclasen@redhat.com>
266 * === Released 2.19.4 ===
268 2009-01-05 Dan Winship <danw@gnome.org>
270 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
271 "const char **" to avoid a warning.
273 * gemblem.c (g_emblem_from_tokens):
274 * gemblemedicon.c (g_emblemed_icon_from_tokens):
275 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
278 2009-01-05 Matthias Clasen <mclasen@redhat.com>
280 Bug 566064 – Add NOATIME flag to query_info_flags
282 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
283 sniffing for mime types. Based on a patch by A. Walton
285 2009-01-05 Ryan Lortie <desrt@desrt.ca>
287 * tests/.gitignore: improve
288 * tests/Makefile.am: add new simple-async-result test
289 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
291 2009-01-05 Ryan Lortie <desrt@desrt.ca>
294 * ../docs/reference/gio/gio-sections.txt:
295 * gsimpleasyncresult.h:
296 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
297 Implementation by Dan Winship. Closes #566170.
299 2008-12-31 Matthias Clasen <mclasen@redhat.com>
303 * gunixinputstream.c:
304 * gunixoutputstream.c: Add a note about being UNIX-specific.
306 2008-12-15 Matthias Clasen <mclasen@redhat.com>
308 * === Released 2.19.3 ===
310 2008-12-12 Dan Winship <danw@gnome.org>
312 * pltcheck.sh: make this work on x86_64
314 2008-12-12 Ryan Lortie <desrt@desrt.ca>
316 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
319 2008-12-12 Ryan Lortie <desrt@desrt.ca>
321 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
322 multiple mount entries match the requested path
324 2008-12-10 Alexander Larsson <alexl@redhat.com>
326 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
327 g_simple_async_result_run_in_thread
329 * gsimpleasyncresult.c:
330 Make g_simple_async_result_run_in_thread check cancellation before
331 calling out to the user in the callback. This means we guarantee
332 reporting cancels of async operations from the main threads, which
333 is probably more in line with what users expect.
335 Note that there are still no such guarantees for cancelling sync
336 operations or cancelling async operation from outside the main
337 thread. Furthermore, the exact behaviour of async implementations
338 not using run_in_thread may differ.
340 2008-12-09 Alexander Larsson <alexl@redhat.com>
342 Bug 515777 - incorrect date&time on copy
345 (g_local_file_class_init):
346 Copy mtime by default
349 Change docs about G_FILE_COPY_ALL_METADATA to not mention
352 2008-12-08 Matthias Clasen <mclasen@redhat.com>
354 Bug 558298 – Hide ecryptfs mounts
356 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
357 so that the desktop does not show both the mount and the target
358 directory. Patch by Martin Pitt
360 2008-12-08 Matthias Clasen <mclasen@redhat.com>
362 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
366 * gunixinputstream.[hc]:
367 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
368 including getters and setters. Patch by Maciej Piechotka
370 2008-12-07 Matthias Clasen <mclasen@redhat.com>
372 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
374 * tests/live-g-file.c: Support compilers that don't understand
375 ISO C varargs macros. Patch by Eric Lamarque
377 2008-12-07 Matthias Clasen <mclasen@redhat.com>
379 Bug 526320 – should not list mounts that the user doesn't have
382 gunixmounts.c: Use g_access() to check accessibility of local devices.
385 2008-12-01 Matthias Clasen <mclasen@redhat.com>
387 * === Released 2.19.2 ===
389 2008-12-01 Matthias Clasen <mclasen@redhat.com>
391 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
392 behaviour change, and update the docs instead, to avoid breaking
395 2008-12-01 Matthias Clasen <mclasen@redhat.com>
397 * === Released 2.19.1 ===
399 2008-12-01 Alexander Larsson <alexl@redhat.com>
403 * gunionvolumemonitor.c:
405 Add and document g_mount_is_shadowed plus calls
406 to set/unset a mount as shadowed
408 2008-11-28 Matthias Clasen <mclasen@redhat.com>
410 * gio/tests/g-icon.c: Comment out two failing tests
412 2008-11-28 Matthias Clasen <mclasen@redhat.com>
414 Bug 555486 – No way to recover command line from GAppInfo
417 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
418 by Hans Petter Jansson.
420 * gdesktopappinfo.c: And implement it here.
422 2008-11-28 Christian Dywan <christian@imendio.com>
424 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
426 2008-11-28 Matthias Clasen <mclasen@redhat.com>
428 Bug 559633 – gtk_image_new_from_gicon does not always work for
431 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
432 extensions on icon names. Proposed by Axel von Bertoldi.
434 2008-11-28 Matthias Clasen <mclasen@redhat.com>
436 Bug 548163 – Nautilus displays wrong error message for too long file
439 * glocalfile.c (g_local_file_set_display_name): Correctly set
440 error conditions if the new name is e.g. too long. Reported
441 by Leonardo Ferreira Fontenelle.
443 2008-11-28 Matthias Clasen <mclasen@redhat.com>
445 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
448 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
449 documented and include the line end in the returned string.
450 Pointed out by Paul Pogonyshev.
452 * tests/data-input-stream.c: Fix the read_line test to test the
453 documented behaviour.
455 2008-11-28 Matthias Clasen <mclasen@redhat.com>
457 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
458 files that have been created by g_app_info_create_from_commandline.
460 2008-11-28 Matthias Clasen <mclasen@redhat.com>
462 Bug 541715 – win32 : patch for warnings and signature problems in
465 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
468 2008-11-28 Matthias Clasen <mclasen@redhat.com>
470 Bug 562393 – g_buffered_input_stream_read_byte broken if data
473 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
474 handling of buffered content. Patch by Philip Withnall
476 * tests/buffered-input-stream.c: Add a testcase for this bug.
477 * tests/Makefile.am: And build it
479 2008-11-28 Matthias Clasen <mclasen@redhat.com>
481 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
484 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
485 '/' away. Spotted by Dan Williams.
487 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
489 Bug 561375 – Leaks mountpoint description
491 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
494 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
496 Bug 561352 – Leak of icon description
498 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
501 2008-11-14 Matthias Clasen <mclasen@redhat.com>
503 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
505 2008-11-12 Tor Lillqvist <tml@novell.com>
507 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
509 * win32/gwinhttpvfs.h: Move the set of function pointers to
510 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
511 pointer to that in the GWinHttpVfsClass.
513 * win32/gwinhttpvfs.c: Move the lookup of functions from
514 winhttp.dll into a function of its own, that stores the pointers
515 in a separate GWinHttpDllFuncs variable. Add two bookeeping
516 booleans lookup_done and funcs_found.
518 Don't call g_io_extension_point_implement() to register the
519 winhttp extension unless winhttp.dll has been successfully loaded
520 and the required functions found in it.
522 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
523 winhttp.dll correspondingly.
525 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
527 reviewed by: Alexander Larsson <alexl@redhat.com>
529 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
530 clearer about the behavior when there's no more content to read.
532 2008-10-27 Federico Mena Quintero <federico@novell.com>
534 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
536 2008-10-27 Tor Lillqvist <tml@novell.com>
538 Bug 557592 - Missing include in gwinhttpfile.c
540 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
543 2008-10-24 Matthias Clasen <mclasen@redhat.com>
545 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
547 * fam/fam-helper.c: Fix a memory leak and formatting issues.
548 Reported by Daniel Marjamäki
550 2008-10-23 Matthias Clasen <mclasen@redhat.com>
552 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
554 2008-10-23 Alexander Larsson <alexl@redhat.com>
556 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
559 (_g_local_file_info_get):
560 Don't return the fallback icon (text-x-generic) for all files.
561 This is causing problems with theme icon lookup and custom mime
562 icons, as the generic fallback overrides custom mime icons in
565 This is a slight change as applications might not get an icon wher
566 they previously did. But there is no guarantee to get on neither before
567 or after this change, so it should not break applications. Changes
568 to nautilus and gtk+ will be done to manually use the generic fallback
569 icon if no icon is found, but this is only required for rare cases.
571 2008-10-21 Alexander Larsson <alexl@redhat.com>
574 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
576 2008-10-21 Alexander Larsson <alexl@redhat.com>
578 Bug 555740 - gicon serialization
579 Based on patch from David Zeuthen
583 Add g_icon_to_string() and g_icon_new_for_string().
589 Implement icon serialization for built-in icon types
593 Added GIcon serialization test
595 2008-10-16 Matthias Clasen <mclasen@redhat.com>
597 * === Released 2.19.0 ===
599 2008-10-16 Matthias Clasen <mclasen@redhat.com>
601 Bug 556422 – g_file_enumerator_next_file: unclear whether return
602 value needs to be freed
604 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
605 the return value docs. Pointed out by Armin Burgmeier
607 2008-10-14 Matthias Clasen <mclasen@redhat.com>
609 Bug 556334 – Warning when building without selinux support
611 * glocalfileinfo.c: Avoid compiler warnings when selinux is
612 disabled. Patch by Pascal Terjan
614 2008-10-14 Matthias Clasen <mclasen@redhat.com>
616 Bug 556335 – make check fails in abicheck.sh
618 * gio.symbols: Add g_file_attribute_info_list_get_type.
619 Pointed out by Pascal Terjan.
621 2008-10-13 Alexander Larsson <alexl@redhat.com>
624 When adding an application as handling a mime type (but
625 not as the default), copy the full list of desktop ids handling
626 that type in before adding the new one on the end of the list.
627 This means we're not accidentally changing the default by overriding
628 the info from the later directories in the search path.
630 Also, fixes small leak of removed_entries.
632 2008-10-12 David Zeuthen <davidz@redhat.com>
635 * gunionvolumemonitor.c:
637 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
639 2008-10-10 Alexander Larsson <alexl@redhat.com>
641 * gfileattribute.c (escape_byte_string):
642 Upper half of byte is >> 4, not >> 8.
643 Found by Kjartan Maraas via sparse
645 2008-10-10 Matthias Clasen <mclasen@redhat.com>
647 Bug 555711 – Wrong fallback order of mimetype icons
649 * gcontenttype.c: Don't prefer generic icons over
650 default mimetype icons.
652 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
653 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
655 Patch by Krysztof Kosiński
657 2008-10-10 Matthias Clasen <mclasen@redhat.com>
659 Bug 555121 – Improved build-time handling of gio module-dir
661 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
662 * Makefile.am: Create the module dir.
664 2008-10-10 Matthias Clasen <mclasen@redhat.com>
666 * gio/glocalfileinfo.c:
667 * gio/tests/live-g-file.c:
668 * gio/gsimpleasyncresult.c: Fix gcc warnings.
670 2008-10-09 Alexander Larsson <alexl@redhat.com>
672 * gunixinputstream.c (g_unix_input_stream_read):
673 Actually return -1 in case of cancelled, not old res value.
675 2008-10-06 Colin Walters <walters@verbum.org>
677 Bug 554745 - GFileAttributeInfoList should be boxed
679 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
680 for convenience of bindings.
681 * gio/gfileattribute.h: Prototype it.
683 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
685 Bug 554970 – segfault when update-desktop-database is not available
688 * gdesktopappinfo.c (run_update_command): Have the error set before
691 2008-10-01 David Zeuthen <davidz@redhat.com>
693 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
694 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
695 instead of the gio URI (such as sftp://foo/file.avi) when using
696 g_app_info_launch() and friends. With a sufficiently recent gvfs,
697 apps using gio+gvfs will map the FUSE file:// URI back to the gio
698 URI (and thus bypass the fuse daemon) thanks the patch from bug
699 #530654. Since Nautilus is an user of g_app_info_launch() it
700 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
701 when launced via the file manager. Win. Fixes bug #528670.
703 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
704 mapping to the description of GAppInfo.
706 2008-09-30 Tor Lillqvist <tml@novell.com>
708 * tests/Makefile.am: Build desktop-app-info only on Unix.
710 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
711 g_critical(). Pass a large enough result buffer to
712 GetVolumePathNameW(). Just use MAX_PATH.
714 2008-09-29 David Zeuthen <davidz@redhat.com>
716 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
718 2008-09-26 Dan Winship <danw@gnome.org>
720 * tests/data-input-stream.c:
721 * tests/data-output-stream.c:
722 * tests/live-g-file.c:
723 * tests/memory-input-stream.c:
724 * tests/memory-output-stream.c: Use g_assert_error() and
727 2008-09-26 Matthias Clasen <mclasen@redhat.com>
729 Bug 545350 – GAppInfo deletion
730 Bug 545351 – Reset associations for content type
733 * gappinfo.[hc]: New functions g_app_info_can_delete,
734 g_app_info_delete and g_app_info_reset_type_associations.
737 * gwin32appinfo.c: Implementations of these.
740 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
742 2008-09-26 Dan Winship <danw@gnome.org>
744 Bug 505361 – gunixinputstream.c assumes poll() available
745 Bug 509446 – portable blocking gio cancellation
747 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
748 GPollFD for a cancellable (which is slightly more complicated on
751 * gunixinputstream.c (g_unix_input_stream_read):
752 * gunixoutputstream.c (g_unix_output_stream_write): Use
753 g_cancellable_make_pollfd() and g_poll() rather than using poll()
756 * tests/unix-streams.c: test of GUnixInputStream,
757 GUnixOutputStream, and GCancellable.
759 2008-09-26 Dan Winship <danw@gnome.org>
761 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
762 cast to stop a gcc warning
764 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
767 2008-09-25 Dan Winship <danw@gnome.org>
769 Bug 553426 - cancellable clarifications
771 * gcancellable.c (g_cancellable_class_init): Add a note to the
772 "cancelled" signal docs warning about thread-safety issues
773 (g_cancellable_cancel): Note that cancelling an asynchronous
774 operation takes effect asynchronously, not immediately.
776 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
778 * gioenums.h: Add new GFileCopyFlag, to leave target file with
779 default perms, instead of setting the source file perms, in a copy
782 * gfile.c (g_file_copy_attributes)
783 (build_attribute_list_for_copy)
784 (should_copy): Not copy "unix::mode" attribute if we have received
785 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
787 2008-09-20 Matthias Clasen <mclasen@redhat.com>
789 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
791 2008-09-17 Matthias Clasen <mclasen@redhat.com>
793 * === Released 2.18.1 ===
795 2008-09-16 Michael Natterer <mitch@imendio.com>
797 * gcontenttype.c (g_content_type_guess): can't assign the return
798 value of g_strdupv() to an array. Fill the array manually with
799 const strings instead (it is never freed anyway). Fixes the
800 build. Also fixed indentation.
802 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
804 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
805 Fix trivial typo to unbreak the build (there was a colon
806 instead of a semicolon at the end of a statement).
808 2008-09-15 Matthias Clasen <mclasen@redhat.com>
810 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
813 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
816 2008-09-15 Matthias Clasen <mclasen@redhat.com>
818 Bug 551681 – g_content_type_guess() too naive with filenames
820 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
821 at the end of the filename, and declare it a directory.
822 Patch by Bastien Nocera
824 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
826 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
829 * gdesktopappinfo.c: add a note in the docs clarifying what the
830 "filename" parameter really is.
832 2008-09-12 Tor Lillqvist <tml@novell.com>
834 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
835 FormatMessage() etc here. Call g_win32_error_message() instead
836 which already does all that. Besides, the code was broken as it
837 called the default "A" version of FormatMessage() but still
838 thought it produced a wide string.
840 2008-09-12 Michael Natterer <mitch@imendio.com>
842 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
843 in the documentation.
845 2008-09-08 Christian Neumair <cneumair@gnome.org>
847 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
848 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
849 Use non-blocking pipe for mount helper I/O. Fixes #550647.
851 2008-09-06 Matthias Clasen <mclasen@redhat.com>
853 Bug 551149 – xdgmime mem leak
855 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
856 a memory leak. Patch by Christian Persch
858 2008-09-04 Tor Lillqvist <tml@novell.com>
860 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
863 2008-09-02 Matthias Clasen <mclasen@redhat.com>
865 * === Released 2.18.0 ===
867 2008-09-02 Michael Natterer <mitch@imendio.com>
869 * *.h: big header formatting cleanup: indentation, vtable
870 formatting, consistent spacing in (* vfunc), trailing whitespace
871 removal. Formatting should be pretty consistent in all GIO headers
874 2008-09-02 Matthias Clasen <mclasen@redhat.com>
876 * gmount.h: Document guess_content_type sync vfunc.
878 2008-09-02 Michael Natterer <mitch@imendio.com>
880 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
881 fix parent_class member to be GFilterOutputStreamClass (not
882 GOutputStreamClass). Drop three pointers of padding, which is
883 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
884 so the class struct size stays the same.
886 2008-09-02 Matthias Clasen <mclasen@redhat.com>
888 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
890 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
891 nonexisting return values. Pointed out by Cosimo Cecchi.
893 2008-08-23 Tor Lillqvist <tml@novell.com>
895 Bug 548988 - g_file_replace fails on Windows when the target file
898 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
899 Windows, close the file before potentially renaming it (in case we
900 have been writing to a file with a temporary name).
902 (g_local_file_output_stream_close, handle_overwrite_open): Use
903 GLocalFileStat instead of plain struct stat, for passing to
904 _g_local_file_info_create_etag(). Thus also use _fstati64()
905 instead of plain fstat() on Windows.
907 2008-08-18 Matthias Clasen <mclasen@redhat.com>
909 * === Released 2.17.7 ===
911 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
913 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
916 2008-08-13 Tor Lillqvist <tml@novell.com>
918 * win32/gwinhttpvfs.c
919 * win32/gwinhttpvfs.h
920 * win32/gwinhttpfile.c
921 * win32/gwinhttpfileinputstream.c
922 * win32/gwinhttpfileoutputstream.c: Refactor some common code
923 snippets into helper functions. Check HTTP response status
924 codes. Implement g_winhttp_file_query_info(), looking at
925 Content-Length, Content-Type and Last-Modified.
927 * win32/winhttp.h: Add some symbolic constants that are not
928 publicly documented. Just a handful, so it should be OK to use
929 information from the Windows SDK's headers.
931 2008-08-13 Tor Lillqvist <tml@novell.com>
933 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
936 * win32/gwin32directorymonitor.c
937 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
939 2008-08-13 Matthias Clasen <mclasen@redhat.com>
942 * goutputstream.c: Add intro docs.
944 2008-08-13 Tor Lillqvist <tml@novell.com>
946 * win32/gwinhttpfileoutputstream.c
947 (g_winhttp_file_output_stream_write): Don't write the
948 Content-Length header ourselves, WinHttpSendRequest() takes care
949 of that when the dwTotalLength parameter is non-zero. Increment
950 offset by the number of actual bytes sent, although I wonder if
951 such a scenario is possible where less than requested would be
952 sent and accepted by the server without errors.
954 2008-08-13 Tor Lillqvist <tml@novell.com>
956 * win32/gwinhttpvfs.c
957 * win32/gwinhttpvfs.h
958 * win32/gwinhttpfile.c
959 * win32/gwinhttpfile.h
960 * win32/gwinhttpfileinputstream.c
961 * win32/gwinhttpfileinputstream.h
962 * win32/gwinhttpfileoutputstream.c
963 * win32/gwinhttpfileoutputstream.h: New files implementing
964 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
965 Windows. The implementation uses the WinHttp API. Both reading and
966 writing are supported, i.e. GET and PUT requests. When writing,
967 each write call is done using a separate PUT request with a
968 Content-Range header. Requests for file URIs and plain pathnames
969 are forwarded to GLocalVfs.
971 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
972 WINE. Used as there is no <winhttp.h> bundled with mingw, and
973 requiring people to download the Windows SDK just for this one
974 header is not reasonable.
976 * win32/Makefile.am: Add above files.
978 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
979 the plumbing for the above.
981 2008-08-11 Sven Neumann <sven@gimp.org>
983 * gfilenamecompleter.c
984 * glocaldirectorymonitor.c
986 * gunionvolumemonitor.c
990 * gunixvolumemonitor.c
993 * gwin32volumemonitor.c: use canonical signal names.
995 2008-08-11 Tor Lillqvist <tml@novell.com>
997 * Makefile.am: Put a list of the platform-dependent .la files in
998 the subdirectories in the platform_deps Make variable, and make
999 libgio-2.0.la depend on that, so that it gets relinked if one of
1000 the dependent libraries has changed.
1002 2008-08-11 Tor Lillqvist <tml@novell.com>
1004 * Makefile.am (platform_libadd): Remove -lwininet which had been
1005 added by mistake. We will probably eventually be using WinHTTP,
1006 not the older WinInet anyway. (Actually I am working on it.)
1008 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1010 Bug 547080 – g_file_copy leaks expected errors
1012 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1013 before trying the next fallback routine.
1015 2008-08-09 Loïc Minier <lool@dooz.org>
1017 Bug 535124 – umask 002 not being applied for new directories, new
1018 files get the correct umask
1020 * gfile.c (g_file_make_directory)
1021 (g_file_make_directory_with_parents): Document ownership and
1022 permissions of newly created directories as being the default
1023 ones of the process.
1025 2008-08-08 Loïc Minier <lool@dooz.org>
1027 Bug 535124 – umask 002 not being applied for new directories, new
1028 files get the correct umask
1030 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1033 2008-08-08 Tor Lillqvist <tml@novell.com>
1035 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1037 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1038 code that didn't actually do anything inside #if 0, and add a
1039 comment wondering what the code was supposed to do. This also gets
1040 rid of a leftover debugging printout.
1042 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1044 * gfileicon.c (g_file_icon_get_property)
1045 (g_file_icon_set_property): New functions.
1046 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1048 (g_file_icon_new): Use the property (bug #546132).
1050 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1052 * gthemedicon.c (g_themed_icon_get_property): Also handle
1053 `PROP_USE_DEFAULT_FALLBACKS'.
1054 (g_themed_icon_class_init): Make
1055 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1057 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1059 Bug 546371 – Improve docs re g_file_monitor
1061 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1063 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1065 * === Released 2.17.6 ===
1067 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1069 * === Released 2.17.5 ===
1071 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1073 Bug 546017 – Don't copy attributes when copying a symlink
1075 * gfile.c (g_file_copy_attributes): Specify
1076 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1077 g_file_set_attributes_from_info. Patch by Christian Kellner
1079 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1081 * gemblemedicon.[hc]:
1083 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1084 a bit more extensible. Work by Clemens Buss.
1086 * gioenums.h: Add GEmblemOrigin.
1089 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1091 Bug 546079 – leak in xdgmime
1093 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1095 2008-08-03 Tor Lillqvist <tml@novell.com>
1097 * win32/gwin32directorymonitor.h
1098 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1101 2008-08-03 Tor Lillqvist <tml@novell.com>
1103 * win32/gwin32directorymonitor.c
1104 (g_win32_directory_monitor_callback): Make prototype match
1105 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1106 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1109 (g_win32_directory_monitor_constructor):
1110 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1111 names in the GLib API on Windows, so convert to UTF-16 and open
1114 2008-08-03 Tor Lillqvist <tml@novell.com>
1116 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1117 user's folder under Windows
1119 * win32/gwin32directorymonitor.c
1120 (g_win32_directory_monitor_constructor): Ignore error from
1121 CreateFile() when opening directory. Instead of asserting, just
1122 store INVALID_HANDLE_VALUE then in
1123 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1124 ReadDirectoryChangesW().
1125 (g_win32_directory_monitor_cancel): Don't attempt to close
1126 directory handle if it is INVALID_HANDLE_VALUE.
1128 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1130 * gdesktopappinfo.c: Remove debug spew
1132 2008-08-01 Hans Breuer <hans@breuer.org>
1134 * makefile.msc : add gemblembedicon
1136 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1138 Bug 545457 – gdmsetup crashed with SIGSEGV in
1139 g_unix_mount_guess_should_display()
1141 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1142 crash if no mount is found.
1144 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1146 Bug 545203 – gfile.c: argument is different type.
1148 * gfile.c (open_read_async_thread): Pass a GError **
1149 to g_file_set_error_literal.
1150 Reported by Kazuki Iwamoto
1152 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1154 Bug 545157 – wrong/no list of "open with" applications for .cc and
1157 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1158 Collect all ancestors, not just direct parents. Pointed
1159 out by Bastien Nocera
1161 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1163 * Makefile.am: Install gemblemedicon.h
1165 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1167 * gemblemedicon.[hc]: Add a GIcon implementation that can
1168 add an emblem to another icon.
1175 * gfileicon.c: Small documentation additions.
1177 2008-07-28 Tor Lillqvist <tml@novell.com>
1179 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1182 2008-07-27 Tor Lillqvist <tml@novell.com>
1184 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1186 2008-07-24 David Zeuthen <davidz@redhat.com>
1190 Also export a g_mount_guess_content_type_sync() function.
1192 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1194 529694 – SELinux context setting support
1196 * gfileinfo.c: Support setting selinux attributes.
1197 Patch by Tomas Bzatek
1199 2008-07-22 Priit Laes <plaes@plaes.org>
1201 Bug 544140 - fam-helper 64-bit issue?
1203 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1205 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1207 * === Released 2.17.4 ===
1209 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1211 * gvolumemonitor.[hc]:
1212 * gmountoperation.c:
1216 * gmount.c: Documentation fixes
1218 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1220 543504 – crash in Epiphany Web Browser: Opening local file
1224 * gdesktopappinfo.c:
1231 * gvolume.c: Register types thread-safely.
1232 Patch by Christian Persch
1234 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1236 * gcontenttype.c: Remove debug spew
1238 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1240 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1243 * fen/fen-kernel.c: Remove a warning that was causing
1244 crashes. Reported by Lin Ma.
1246 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1248 Bug 543040 – async reading on dummy file will crash on
1251 * gfile.c (open_read_async_thread): Cope with read_fn being
1252 NULL. Reported by Lin Ma.
1254 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1257 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1259 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1262 * gdesktopappinfo.h:
1263 * giomodule.c: Rename a chapter id to avoid filename conflict.
1265 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1267 Bug 540616 – mem leak in filechooser button
1269 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1270 the mount entry. Reported by Chrisitan Persch
1272 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1274 * gfile.c: Small documentation fixes.
1276 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1278 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1280 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1285 * gmount.c: Documentation improvements.
1287 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1290 * gmount.[hc]: Add g_mount_guess_content_type().
1292 2008-07-06 David Zeuthen <davidz@redhat.com>
1295 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1296 is needed for easily handling adoption of foreign volumes by
1297 out-of-process volume monitors (#541793)
1299 2008-07-06 David Zeuthen <davidz@redhat.com>
1301 * gvolumemonitor.[ch]:
1302 * gunionvolumemonitor.c: Export the eject-button signal on the
1303 volume monitor class (#541794).
1305 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1307 * gappinfo.c: More doc tweaks
1309 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1311 * gappinfo.c: Clarify some docs
1313 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1315 * gdesktopappinfo.c: Fix a stupid mistake.
1317 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1319 * === Released 2.17.3 ===
1321 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1323 * gfilemonitor.c: Fix the build.
1325 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1327 Bug 536160 – Add g_file_monitor()
1330 * gfile.[hc]: Add g_file_monitor which can return either
1331 a file or a directory monitor. Proposed by Behdad Esfahbod
1333 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1335 536733 – gio build failure on Irix
1337 * glocalfile.c: Use a configure check for structfs.f_bavail.
1339 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1341 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1344 * gdesktopappinfo.[hc]: Add a function to create a
1345 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1347 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1349 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1351 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1353 * gunixmounts.c: Fix a doc typo.
1355 2008-07-01 Cody Russell <bratsche@gnome.org>
1357 * gio/gcontenttype.c:
1358 * gio/gwin32appinfo.c:
1359 * gio/gwin32volumemonitor.c:
1360 * gio/gwin32mount.c: Fixed some include problems.
1362 2008-07-01 Cody Russell <bratsche@gnome.org>
1366 Moved all relevant typedefs into these files.
1369 Updated wrt added files.
1371 Split types into separate file for easier maintainership. (#538564)
1373 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1375 Bug 540331 – g_file_append_to () documentation: can return NULL
1377 * gfile.c (g_file_append_to): Clarify docs.
1378 Patch by Jared Moore
1380 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1382 Bug 539090 – g_content_type_from_mime_type() should unalias
1384 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1385 Patch by Markus Bergman
1387 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1389 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1390 g_atomic_pointer_get
1392 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1393 on ppc and alpha. Reported by Mart Raudsepp
1395 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1397 * tests/Makefile.am:
1398 * tests/memory-output-stream.c: Add some tests for
1399 GMemoryOutputStream.
1401 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1403 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1406 * gmemoryoutputstream.c (array_resize): Handle truncation to
1407 zero correctly. Reported by Akira Tagoh
1409 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1411 * gmemoryoutputstream.c: Trivial doc fixes
1413 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1415 Bug 540802 – g_list_prepend doesn't concat lists
1417 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1418 one list to another. Pointed out by Jan Arne Petersen
1420 2008-06-28 Michael Natterer <mitch@imendio.com>
1422 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1424 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1426 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1427 to avoid problems with partial icon themes.
1429 2008-06-17 Hans Breuer <hans@breuer.org>
1431 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1432 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1433 access again on win32, see bug #538127
1434 * giomodule.c : ensure GWin32VolumeMonitor is registered
1435 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1436 * Makefile.am makefile.msc : updated
1438 2008-06-16 Hans Breuer <hans@breuer.org>
1440 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1441 and initialization in one step avoids c99ism
1443 2008-06-16 Christian Persch <chpe@gnome.org>
1446 * gio/gbufferedinputstream.c
1447 * gio/gcancellable.c
1448 * gio/gdatainputstream.c
1449 * gio/gdesktopappinfo.c
1451 * gio/gfileenumerator.c
1452 * gio/gfileinputstream.c
1453 * gio/gfileoutputstream.c
1454 * gio/ginputstream.c
1455 * gio/glocaldirectorymonitor.c
1457 * gio/glocalfileenumerator.c
1458 * gio/glocalfileinfo.c
1459 * gio/glocalfilemonitor.c
1460 * gio/glocalfileoutputstream.c
1461 * gio/gmemoryinputstream.c
1462 * gio/gmemoryoutputstream.c
1463 * gio/goutputstream.c
1464 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1467 2008-06-16 Tor Lillqvist <tml@novell.com>
1469 Bug 538362 - Get Win32 icons back in the file chooser
1471 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1472 corresponding to a file extension in the Registry. Patch by Hans
1474 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1476 2008-06-16 Tor Lillqvist <tml@novell.com>
1478 Patches by Hans Breuer:
1480 * glocalfile.c (is_xp_or_later): Handle compiling against older
1481 SDK headers with missing VerifyVersionInfo(). Conditioned on
1482 _MSC_VER, but should probably use some better test.
1483 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1484 uninitialised statfs_result variable on Win32.
1486 2008-06-16 Michael Natterer <mitch@imendio.com>
1488 * *.c: chain up unconditionally in finalize() and dispose(). Also
1489 don't dereference these function pointers when calling them since
1490 that has no meaning at all.
1492 2008-06-16 Ross Burton <ross@burtonini.com>
1494 * gfileenumerator.c:
1495 Remove check for dispose implementation as it annoys Emmanuele.
1497 2008-06-16 Ross Burton <ross@burtonini.com>
1499 Bug 536252 – GFileEnumerator should allow access to the containing
1502 * gfileenumerator.c:
1503 * gfileenumerator.h:
1505 Add g_file_enumerator_get_container() and a container writeable
1506 construct-only property. Also shuffle around typedefs to make it
1509 * glocalfileenumerator.c:
1510 * glocalfileenumerator.h:
1512 Instead of a string filename take a GFile in the constructor and
1513 use it to set the container property.
1516 Update with new API.
1518 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1520 * gfile.c: Make includes more uniform
1522 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1524 * tests/live-g-file.c (sample_struct):
1525 Use less fancy unicode filenames, so the test doesn't fail
1526 on Mac OS X (#531476).
1528 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1530 * === Released 2.17.2 ===
1532 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1534 * === Released 2.17.1 ===
1536 2008-06-11 A. Walton <awalton@gnome.org>
1538 * tests/g-file.c (test_g_file_new_null):
1539 Fix broken test case.
1541 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1543 * pltcheck.sh: We use g_clear_error now.
1545 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1547 * glocalfile.c (g_local_file_enumerate_children): Revert
1548 an unintended change.
1550 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1552 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1554 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1556 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1559 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1560 as icon for the desktop directory, also make user-home and
1561 user-desktop the preferred icons.
1563 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1566 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1567 to add a name to the front of the list.
1569 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1571 Bug 537392 – Additional colon in xattr name
1573 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1574 too. Reported by Alessandro Morandi
1576 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1578 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1581 * glocalfile.c (get_fs_type): Add afs and autofs.
1582 Patch by Danny Baumann.
1584 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1586 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1588 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1589 is no parent. (Owen Taylor, patch by Christian Neumair)
1591 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1593 * gfile.c (g_file_replace_contents): do not leak the output stream.
1595 2008-06-10 Michael Natterer <mitch@imendio.com>
1597 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1598 uninitialized memory as array index.
1600 2008-06-10 Tor Lillqvist <tml@novell.com>
1602 * gcontenttype.c (g_content_type_can_be_executable)
1603 (g_content_type_get_icon) [Win32]: Add TODO comments.
1605 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1607 * xdgmime/Makefile.am: Fix the build
1609 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1611 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1612 in the shared mime database, if available.
1614 * xdgmime/*: Sync with upstream. This brings support for
1615 glob weights, generic icons, and changes the cache format to
1618 2008-05-28 Michael Natterer <mitch@imendio.com>
1620 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1621 the global CPPFLAGS now.
1623 * tests/data-input-stream.c
1624 * tests/data-output-stream.c
1625 * tests/g-file-info.c
1627 * tests/live-g-file.c
1628 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1630 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1632 * === Released 2.17.0 ===
1634 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1635 doesn't complain about leftover files.
1637 2008-05-27 simon.zheng <simon.zheng@sun.com>
1639 * glocalfile.c: (g_local_file_query_filesystem_info):
1640 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1642 2008-05-26 Michael Natterer <mitch@imendio.com>
1644 * gmemoryoutputstream.h: declare
1645 g_memory_output_stream_get_data_size().
1647 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1649 * tests/*: Make tests work
1651 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1653 * gio.symbols: Add g_memory_output_stream_get_data_size.
1655 2008-05-25 Ross Burton <ross@burtonini.com>
1658 Fix typo in error message (#534764).
1660 2008-05-25 Ross Burton <ross@burtonini.com>
1663 Fix circular dependency loop for gioenumtypes.h (#534759).
1665 2008-05-19 Hans Breuer <hans@breuer.org>
1667 * Makefile.am : EXTRA_DIST += makefile.msc
1669 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1672 * gcontenttype.c: (g_content_type_from_mime_type):
1673 New function to create a content type from a mime type. (#527175,
1676 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1678 Bug 532965 – Should not return filesystem::free for certain file systems
1680 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1681 free space for ncpfs.
1683 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1685 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1687 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1688 st_dev might be zero.
1690 2008-05-16 Tor Lillqvist <tml@novell.com>
1692 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1693 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1695 2008-05-13 Bastien Nocera <hadess@hadess.net>
1697 * gfile.c (has_valid_scheme): A URI scheme must start with a
1698 letter, even if later more characters are allowed (#532852)
1700 2008-05-05 Michael Natterer <mitch@imendio.com>
1702 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1703 code from being checked in that breaks the build of applications
1704 which use G_DISABLE_SINGLE_INCLUDES.
1706 * makegioalias.pl: make the alias file include "glib.h" instead of
1709 * gio.symbols: whitespace change to force regeneration of the
1710 alias file after above script change.
1712 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1714 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1716 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1718 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1720 2008-04-28 David Zeuthen <davidz@redhat.com>
1722 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1723 displaying mounts in a subdirectory not accessible to the
1726 2008-04-22 Michael Natterer <mitch@imendio.com>
1728 * Makefile.am: fix library versioning (it was 0.0.0).
1730 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1732 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1733 Default disable all loggings.
1734 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1735 (port_fetch_event_cb): Fixed two macro nits.
1737 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1739 * xdgmime/xdgmime.c: Rework the timestamp checking code
1740 to protect against duplicate directories in XDG_DATA_DIRS.
1741 Fixes fd.o bug 12513, reported by Joe Shaw.
1743 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1745 Partically revert the last commit after realizing that
1746 xdg_mime_media_type_equal doesn't have to init at all.
1748 * xdgmime/xdgmime.h:
1749 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1751 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1753 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1755 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1756 reported by Joe Shaw and Federico Mena Quintero.
1758 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1759 (xdg_mime_media_type_equal): Turn into a wrapper around the
1762 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1763 functions throughout.
1765 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1767 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1768 tolerate an empty TryExec= line without failing; nautilus used
1769 to create launchers with these in previous versions. Fixes #528433
1771 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1773 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1774 after name. Fixes #527132.
1776 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1778 * gfile.c: (g_file_replace):
1781 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1783 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1785 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1786 by Christian Kellner.
1788 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1790 * gunixmounts.c: (g_unix_mount_guess_should_display):
1791 Don't list the user directory as a mount, fix potential issue
1792 when other users have a similar naming and don't special case the
1793 gvfs mounts there since that's not required (#525866)
1795 2008-03-31 Alexander Larsson <alexl@redhat.com>
1797 * glocalfile.c (get_parent):
1800 2008-03-31 A. Walton <awalton@svn.gnome.org>
1802 * gfile.c (g_file_query_file_type):
1803 Always return a GFileType enum value (#520715).
1805 2008-03-31 Alexander Larsson <alexl@redhat.com>
1807 * glocalfileenumerator.c:
1808 Read readdir() info in chunks (of 1000) and sort
1809 the chunks by inode before stat:ing.
1810 This is a 20% performance increase in testing
1811 gvfs-ls on /usr/bin with cold cache.
1813 2008-03-31 Alexander Larsson <alexl@redhat.com>
1815 * gmemoryoutputstream.c:
1816 Clarify docs for g_memory_output_stream_get_size.
1817 Add g_memory_output_stream_get_data_size.
1819 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1823 * gfile.h: Add g_file_query_file_type convenience function
1824 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1826 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1828 * gfileenumerator.c:
1829 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1831 2008-03-28 A. Walton <awalton@svn.gnome.org>
1833 * giomodule.c (_g_io_modules_ensure_loaded):
1834 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1837 2008-03-28 Alexander Larsson <alexl@redhat.com>
1840 (copy_stream_with_progress):
1843 2008-03-28 Alexander Larsson <alexl@redhat.com>
1846 (copy_stream_with_progress):
1847 (file_copy_fallback):
1848 Fallback to g_file_query_info for source size
1849 if g_file_input_stream_query_info fails. (#524579)
1851 2008-03-28 Alexander Larsson <alexl@redhat.com>
1853 * glocalfile.c (g_local_file_move):
1854 Reuse old string instead of adding new one.
1856 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1858 * fen/*.[hc]: still copyright issue. I hate copyright.
1860 2008-03-27 Alexander Larsson <alexl@redhat.com>
1862 * glocalfile.c (g_local_file_move):
1863 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1864 file over directory. This is according to the docs and what the move via
1865 copy+remove fallback does.
1867 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1869 * fen/*.[hc]: Updated copyright.
1871 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1873 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1875 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1877 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1878 not emit attribute changed events when optimizing changed events.
1879 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1882 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1884 * gmountoperation.[hc]: Small documentation additions
1886 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1888 * gunixmounts.c: (guess_mount_type):
1889 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1891 2008-03-19 Alexander Larsson <alexl@redhat.com>
1894 (copy_stream_with_progress):
1895 Bump block side for copy to 64k to minimize
1896 overhead for low latency links. (#523015)
1898 2008-03-16 Tor Lillqvist <tml@novell.com>
1900 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1901 depend on gio.def on Windows.
1903 2008-03-12 David Zeuthen <davidz@redhat.com>
1907 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1909 2008-03-14 Alexander Larsson <alexl@redhat.com>
1913 Avoid redudant tests (#521851)
1914 Patch from Josselin Mouette
1916 2008-03-14 Alexander Larsson <alexl@redhat.com>
1919 (g_file_monitor_is_cancelled):
1920 Fix C89 issue (#521672)
1921 Patch from Jens Granseuer
1923 2008-03-14 Alexander Larsson <alexl@redhat.com>
1925 * fam/fam-helper.[ch]:
1927 Shut down fam (including removing fam GSource) when
1928 module is unloaded (#521513)
1929 Patch from Joe Marcus Clarke
1931 2008-03-14 Alexander Larsson <alexl@redhat.com>
1934 (_g_io_modules_ensure_loaded):
1937 2008-03-14 Alexander Larsson <alexl@redhat.com>
1940 (g_local_file_query_filesystem_info):
1941 Use right define name for f_fstypename member check
1943 2008-03-14 Alexander Larsson <alexl@redhat.com>
1946 * fen/Makefile.am: Added.
1947 * fen/fen-data.[ch]: Added.
1948 * fen/fen-dump.[ch]: Added.
1949 * fen/fen-helper.[ch]: Added.
1950 * fen/fen-kernel.[ch]: Added.
1951 * fen/fen-missing.[ch]: Added.
1952 * fen/fen-node.[ch]: Added.
1953 * fen/fen-sub.[ch]: Added.
1954 * fen/gfendirectorymonitor.[ch]: Added.
1955 * fen/gfenfilemonitor.[ch]: Added.
1957 Added Solaris FEN file notification backend.
1958 Patch from Lin Ma <Lin.Ma@Sun.COM>
1960 2008-03-13 Tor Lillqvist <tml@novell.com>
1962 * Makefile.am: Actually use the gio.def file when linking the
1963 library on Windows. Produce .lib library for Microsoft's toolchain
1964 when possible. Install the .lib and .def file like for the other
1967 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1969 * tests/live-g-file.c:
1970 Include live-g-file in standard set of tests, making a temporary
1971 directory in source structure.
1973 Clean target directory before the tests (write mode only)
1975 2008-03-12 Tor Lillqvist <tml@novell.com>
1977 Bug 517419 - gio win32 directory monitor
1978 Implementation by Vlad Grecescu.
1981 * win32/gwin32directorymonitor.h
1982 * win32/gwin32directorymonitor.c: New files.
1984 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1986 * Makefile.am: Add the win32 subdirectory.
1988 2008-03-12 Tor Lillqvist <tml@novell.com>
1990 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1991 normal struct stat on Unix but struct _stati64 on Windows to have
1992 access to 64-bit file size information. Use that instead of struct
1993 stat in the functions declared here in this private header.
1995 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1996 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1997 warnings about unused functions and variables. Don't set
1998 meaningless attributes like inode numbers on Windows.
2000 2008-03-12 Benjamin Otte <otte@gnome.org>
2003 trim whitespace so gtk-doc groks the function name
2005 2008-03-12 Tor Lillqvist <tml@novell.com>
2007 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2008 returning FALSE, on Win32.
2010 2008-03-11 Alexander Larsson <alexl@redhat.com>
2013 * glocalfileinfo.[ch]:
2014 Correctly implement can_trash by actually
2015 looking for a trash dir, not just assuming
2018 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2020 * === Released 2.16.1 ===
2022 2008-03-11 Alexander Larsson <alexl@redhat.com>
2025 Fix crashes in new constructor and properties code
2027 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2029 * gfile.c: Minor spelling correction in documentation:
2030 existance -> existence.
2032 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2034 * === Released 2.16.0 ===
2036 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2038 * gio.symbols: Remove g_file_contains_file here, too.
2040 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2042 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2043 Samuel Cormier-Iijima)
2045 2008-03-08 Tor Lillqvist <tml@novell.com>
2047 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2050 2008-03-07 Alexander Larsson <alexl@redhat.com>
2053 (g_local_file_query_filesystem_info):
2054 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2055 Patch from Jasper Lievisse Adriaanse
2057 2008-03-06 Tor Lillqvist <tml@novell.com>
2059 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2060 comments for the *_USEC attributes.
2062 2008-03-06 Alexander Larsson <alexl@redhat.com>
2064 * gfile.c (g_file_query_exists):
2065 Add g_return_val_if_fail check (#520700)
2067 2008-03-06 Alexander Larsson <alexl@redhat.com>
2069 * gdesktopappinfo.c:
2072 * gunionvolumemonitor.c:
2075 * tests/live-g-file.c:
2076 * xdgmime/xdgmimecache.c:
2077 Fix sparse warnings (#519489)
2079 2008-03-05 Alexander Larsson <alexl@redhat.com>
2082 Make cancellation threadsafe (i.e.
2083 guarantee its only done once, and always
2086 * glocaldirectorymonitor.c:
2087 Make sure we the monitor lives while the
2088 mounts_changed callback is being called (#520484)
2090 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2092 * gbufferedinputstream.c: Fix typo in parameter
2095 2008-03-04 Alexander Larsson <alexl@redhat.com>
2098 Remove deprecated symbols we kept for one release.
2100 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2103 * goutputstream.c: Tiny documentation corrections.
2105 2008-03-03 Alexander Larsson <alexl@redhat.com>
2107 * gunionvolumemonitor.c:
2109 Fix the adopt_orphan_mount vfunc to take a
2110 volume_monitor reference in an ABI compat way.
2111 This change is not API compat, but the added
2112 arg is not used in the only user of this vfunc, so
2113 all we get is a harmless warning in gvfs (#520169)
2115 2008-03-01 Benjamin Otte <otte@gnome.org>
2118 clarify docs for g_file_delete().
2120 2008-02-29 Alexander Larsson <alexl@redhat.com>
2124 Make sure empty files get text/plain type (#518720)
2126 2008-02-27 Alexander Larsson <alexl@redhat.com>
2132 (g_unix_volume_mount):
2133 Add missing GMountMountFlags argument
2135 2008-02-26 Alexander Larsson <alexl@redhat.com>
2138 (g_local_file_delete):
2139 Handle filesystems (like ntfs-3g) that return EEXIST instead
2140 of ENOTEMPTY (#518816)
2142 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2144 * === Released 2.15.6 ===
2146 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2148 * gfile.c (g_file_find_enclosing_mount):
2149 * ginputstream.c (g_input_stream_set_pending):
2150 * glocalfile.c (g_local_file_find_enclosing_mount):
2151 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2152 * goutputstream.c (g_output_stream_set_pending):
2154 Fixup translator comments (#518578).
2156 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2158 * gfile.c (g_file_find_enclosing_mount):
2160 * glocalfile.c (g_local_file_find_enclosing_mount):
2163 Fix a few typos in translator comments and documentation.
2165 2008-02-25 Alexander Larsson <alexl@redhat.com>
2172 Add translator comments (#518578)
2174 2008-02-25 Alexander Larsson <alexl@redhat.com>
2177 Reintroduce g_file_contains_file, keep around for one
2178 unstable release cycle to avoid crashing to many apps.
2179 Make sure to delete after release.
2181 2008-02-25 Alexander Larsson <alexl@redhat.com>
2184 Remove deprecated g_file_contains_file.
2186 2008-02-25 Alexander Larsson <alexl@redhat.com>
2189 Emit actual change signals in an idle handler.
2190 This avoids reentrance and locking problems in
2191 the file notification backends.
2193 2008-02-25 Alexander Larsson <alexl@redhat.com>
2196 (g_unix_mount_guess_should_display):
2197 Remove type guessing, instead just display
2198 mounts in /media and in ~/.
2200 2008-02-25 Alexander Larsson <alexl@redhat.com>
2203 Make new strings reuse old ones.
2205 2008-02-25 Alexander Larsson <alexl@redhat.com>
2208 Implement trashing and filesystem::readonly for win32 (#517235)
2209 Patch from Yevgen Muntyan
2211 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2213 * gfileinfo.h: Documentation fixes.
2215 2008-02-22 Alexander Larsson <alexl@redhat.com>
2217 * gcontenttype.c (g_content_type_get_icon):
2218 Look at old-style gnome mime icon names too, as many
2219 have not moved to the new style.
2221 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2223 * *.c: Correct the @include in for section docs.
2225 2008-02-21 David Zeuthen <davidz@redhat.com>
2227 * glocalfileinfo.c: (_g_local_file_info_get):
2229 (g_content_type_get_icon): Implement this function by
2230 moving bits from glocalfileinfo.c
2231 (g_content_type_get_description): Unalias before getting
2232 description (#517687)
2234 * gfile.c: (g_file_class_init),
2235 (g_file_query_filesystem_info_async),
2236 (g_file_query_filesystem_info_finish),
2237 (query_filesystem_info_data_free),
2238 (query_filesystem_info_async_thread),
2239 (g_file_real_query_filesystem_info_async),
2240 (g_file_real_query_filesystem_info_finish):
2241 * gfile.h: Implement async version of
2242 g_file_query_filesystem_info()
2244 * gfileinfo.h: Add new attributes for filesystem::use-preview
2246 * gio.symbols: Update
2248 * gthemedicon.c: (g_themed_icon_append_name):
2249 * gthemedicon.h: Add new new convenience function.
2251 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2252 (get_mounts), (get_volumes), (get_connected_drives),
2253 (get_volume_for_uuid), (get_mount_for_uuid),
2254 (g_union_volume_monitor_init), (populate_union_monitor),
2255 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2256 (g_volume_monitor_adopt_orphan_mount):
2258 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2259 monitor implementations to call into the main volume monitor. Also
2260 separate object initialization and volume monitor initialization
2261 such that non-native volume monitors can properly adopt their
2264 2008-02-21 Alexander Larsson <alexl@redhat.com>
2269 2008-02-21 Alexander Larsson <alexl@redhat.com>
2272 Add more documentation about how GFiles work (from #517086)
2274 2008-02-21 Alexander Larsson <alexl@redhat.com>
2278 Add new g_file_has_prefix that does the same as g_file_contains_file.
2279 Deprecate g_file_contains_file and add a macro that converts
2280 it to g_file_has_prefix.
2281 The reason for this change is that the contains_file() name seems to
2282 imply that this does more work than what it does, but its really only
2283 a name match (from #517086)
2288 Update to match the above change.
2290 2008-02-20 Benjamin Otte <otte@gnome.org>
2292 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2293 (g_file_eject_mountable):
2294 even more cases of not returning in error path
2296 2008-02-20 Benjamin Otte <otte@gnome.org>
2298 * gfile.c: (g_file_mount_mountable):
2299 return from function in error path.
2301 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2304 Remove trailing coma in GMountMountFlags struct
2306 2008-02-18 Alexander Larsson <alexl@redhat.com>
2310 * glocalfileoutputstream.c:
2311 Use g_unlink/g_rename instead of unlink/rename;
2312 do not pass raw filenames to g_set_error. (#517239)
2313 Patch from Yevgen Muntyan.
2315 2008-02-18 Alexander Larsson <alexl@redhat.com>
2318 * glocalfileoutputstream.c:
2319 Open files with O_BINARY on windows. (#517140)
2321 2008-02-14 Alexander Larsson <alexl@redhat.com>
2323 * glocalfileoutputstream.c:
2324 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2326 2008-02-14 Alexander Larsson <alexl@redhat.com>
2329 Copy permissions with file on copy (#514084)
2330 This is what cp does and makes sure e.g. the
2331 exec permissions are kept.
2332 Its kinda weird in that it keeps the permission bits
2333 the same while the uid and gid are different. However
2334 the new uid is the user so its not a security issue,
2335 and I've heard no complaints about cp on this issue.
2337 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2339 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2341 2008-02-13 Alexander Larsson <alexl@redhat.com>
2343 * inotify/inotify-path.c:
2344 Define IN_ONLYDIR if not in header (#515346)
2346 2008-02-12 Alexander Larsson <alexl@redhat.com>
2348 * tests/live-g-file.c:
2351 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2353 * === Released 2.15.5 ===
2355 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2357 * gio.symbols: Add g_mount_mount_flags_get_type.
2359 2008-02-11 Alexander Larsson <alexl@redhat.com>
2362 (g_file_info_set_attribute_mask):
2363 (g_file_attribute_matcher_matches_id):
2364 Correctly handle NULL GAttributeMatcher meaning
2365 matches nothing. (Fixes #513492)
2367 2008-02-11 Alexander Larsson <alexl@redhat.com>
2372 Added GMountMountFlags enum and added a flags
2373 argument to all mount calls.
2375 This is an API/ABI change for future extensibility,
2376 as I think we will need at least an
2377 inhibit-autorun flag (the panel needs this).
2378 There are no flags defined yet though.
2380 2008-02-11 Alexander Larsson <alexl@redhat.com>
2383 Added new standard::description attribute.
2384 Requested by Vincent, and useful for both
2387 2008-02-11 Alexander Larsson <alexl@redhat.com>
2389 * gdesktopappinfo.c:
2392 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2394 * *.c: Documentation additions
2396 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2398 * gappinfo.h: Formatting cleanup
2399 * gappinfo.c: Fix up docs.
2401 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2403 * gunixmounts.c: Consistently use getmntent_r() and fall
2404 back to getmntent(). (#515492)
2406 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2408 * gbufferedinputstream.c:
2410 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2412 * tests/data-input-stream.c:
2413 * tests/data-output-stream.c: Portability fixes.
2415 2008-02-08 Alexander Larsson <alexl@redhat.com>
2420 Add g_volume_should_automount.
2423 2008-02-07 Tor Lillqvist <tml@novell.com>
2425 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2426 Win32, too Unix-specific.
2428 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2430 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2431 a local plt if the compiler doesn't support what we want. Bug #514702
2433 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2435 reviewed by: <delete if not using a buddy>
2438 * gunixinputstream.c:
2439 * gunixoutputstream.c:
2441 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2443 * tests/Makefile.am:
2444 * tests/live-g-file.c:
2445 * tests/live-g-file.txt:
2446 New GIO testing module working over real data
2448 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2450 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2451 Fallback to rename() if link() is not available
2452 (when no support on target filesystem)
2454 2008-02-06 Michael Natterer <mitch@imendio.com>
2456 * gfileinfo.c (g_file_info_get_icon): replace
2457 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2459 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2461 * gfile.c (g_file_create):
2462 Documentation update of error codes
2464 2008-02-06 Alexander Larsson <alexl@redhat.com>
2466 * gdesktopappinfo.c:
2467 Update to use both mimeapps.list and
2468 defaults.list as discussed on xdg list.
2470 2008-02-06 Benjamin Otte <otte@gnome.org>
2473 * gfilenamecompleter.c:
2474 Fix some typos in the documentation.
2476 2008-02-06 Alexander Larsson <alexl@redhat.com>
2478 * glocalfile.c (g_local_file_trash):
2479 Don't succeed with trash if newly created
2480 trash dir has the wrong owner. (#514696)
2482 2008-02-05 Alexander Larsson <alexl@redhat.com>
2484 * glocalfile.c (g_local_file_move):
2485 Don't spew warnings when destination is not
2488 2008-02-03 Hans Breuer <hans@breuer.org>
2490 * makefile.msc : update
2492 2008-02-01 Michael Natterer <mitch@imendio.com>
2494 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2495 return value of xdg_mime_list_mime_parents() to a variable of the
2498 2008-02-01 Alexander Larsson <alexl@redhat.com>
2500 * gappinfo.c (g_app_info_launch_uris):
2501 Actually call the launch_uris method, not
2504 2008-02-01 Alexander Larsson <alexl@redhat.com>
2506 * gdesktopappinfo.c (g_desktop_app_info_equal):
2507 Ensure appinfos with no id but same pointer value
2510 2008-02-01 Alexander Larsson <alexl@redhat.com>
2512 * gappinfo.c (g_app_info_launch_default_for_uri):
2515 2008-02-01 Alexander Larsson <alexl@redhat.com>
2519 Add g_app_info_launch_default_for_uri utility
2522 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2524 * gdesktopappinfo.c:
2525 Doc fix for g_app_info_get_default_for_uri_scheme ()
2528 2008-01-30 Alexander Larsson <alexl@redhat.com>
2531 Add doc comment about uris vs GFiles to
2534 * gdesktopappinfo.c:
2535 Ensure uris passed to g_app_info_launch_uris()
2536 are not roundtriped through GFile (as that
2537 may be slightly destructive for e.g. mailto: links)
2539 2008-01-30 Alexander Larsson <alexl@redhat.com>
2541 * tests/data-input-stream.c:
2542 * tests/data-output-stream.c:
2543 C89 fixes from Jens Granseuer (#512849)
2545 2008-01-30 Alexander Larsson <alexl@redhat.com>
2548 Fix gamin/fam difference build issue. (#509419)
2550 2008-01-29 Alexander Larsson <alexl@redhat.com>
2553 * gdesktopappinfo.c:
2554 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2556 2008-01-29 Alexander Larsson <alexl@redhat.com>
2558 * gdesktopappinfo.c:
2559 * gdesktopappinfo.h:
2560 giomodule-priv.h include moved to .c file.
2562 2008-01-29 Alexander Larsson <alexl@redhat.com>
2564 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2565 Remove unused prio/name fields.
2567 2008-01-29 Alexander Larsson <alexl@redhat.com>
2569 * gcontenttype.c (looks_like_text):
2570 Don't treat whitespace as control chars.
2572 2008-01-29 Alexander Larsson <alexl@redhat.com>
2574 * gdesktopappinfo.c:
2575 Lazily create the desktop files for appinfos created
2576 by g_app_info_create_from_commandline() when needed
2577 for mime associations. This allows run-time use
2578 of GAppInfo object without creating unnecessary
2581 2008-01-29 Alexander Larsson <alexl@redhat.com>
2584 Added new symbols to gio.symbols
2586 2008-01-29 Alexander Larsson <alexl@redhat.com>
2589 Add g_file_query_default_handler utility to easily look up
2590 the GAppInfo that handles a file.
2592 * gdesktopappinfo.[ch]:
2594 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2597 Remove unused function
2599 2008-01-29 Alexander Larsson <alexl@redhat.com>
2601 * gfileenumerator.c:
2602 Mention need to free returned value in
2603 g_file_enumerator_next_files_finish docs.
2604 Fix leak if g_file_enumerator_next_files_finish()
2607 2008-01-29 Alexander Larsson <alexl@redhat.com>
2610 (_g_unix_content_type_get_parents):
2611 Use list_parents, not get_parents from xdgmime, because
2612 the later doesn't use the cache.
2614 * xdgmime/xdgmimecache.c:
2615 (_xdg_mime_cache_list_mime_parents):
2616 Don't list the same type as parent multiple times.
2618 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2620 * === Released 2.15.4 ===
2622 2008-01-28 Alexander Larsson <alexl@redhat.com>
2625 Register local vfs with prio 0.
2628 Remove old name and prio class members
2630 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2632 * tests/g-file.c: Disable some tests that are failing in
2633 the absence of a http backend.
2635 2008-01-28 Alexander Larsson <alexl@redhat.com>
2639 Add registration hooks for extension points.
2640 Register the gio extension points.
2642 * fam/gfamdirectorymonitor.c:
2643 * fam/gfamfilemonitor.c:
2644 * glocaldirectorymonitor.[ch]:
2645 * glocalfilemonitor.[ch]:
2646 * gnativevolumemonitor.h:
2647 * gunionvolumemonitor.c:
2648 * gunixvolumemonitor.c:
2651 * inotify/ginotifydirectorymonitor.c:
2652 * inotify/ginotifyfilemonitor.c:
2653 Use the extension points registration instead
2654 of g_type_children().
2656 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2659 * gvolume.[hc]: Document new API.
2661 * gfile.c (g_file_copy_async): Fix docs
2663 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2665 * gbufferedinputstream.c:
2667 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2670 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2672 * glocalfile.c: Avoid trivial differences in translatable strings.
2674 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2676 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2677 build with gcc 3.4 (#509419)
2679 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2681 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2682 (#509994, Murray Cumming)
2684 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2686 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2687 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2688 this allows big jobs to be executed in chunks, instead of blocking
2689 the main loop for a long time.
2691 * gsimpleasyncresult.c:
2692 * giofile.c: Adapt callers.
2694 2008-01-25 Alexander Larsson <alexl@redhat.com>
2696 * gdesktopappinfo.c:
2697 Implement changes discussed on xdg list.
2698 Now we can add supported mimetypes by just using defaults.list
2699 We can also remove associations in defaults.list.
2701 2008-01-25 Alexander Larsson <alexl@redhat.com>
2703 * gdesktopappinfo.c:
2704 Don't make local copy of desktop file
2705 for mimetype changes if the file already
2706 supports the new mimetype.
2708 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2712 * gbufferedinputstream.c:
2713 * glocalfile.c: String improvements. (#511966,
2714 Theppitak Karoonboonyanan)
2716 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2718 * gioscheduler.h: Expand docs a bit.
2720 2008-01-24 Alexander Larsson <alexl@redhat.com>
2723 Add g_drive_get_identifier and
2724 g_drive_enumerate_identifiers
2727 Add g_volume_get_identifier and
2728 g_volume_enumerate_identifiers
2734 Implement identifiers for unix backend
2736 2008-01-24 Alexander Larsson <alexl@redhat.com>
2741 Add g_file_copy_async() (#511580)
2742 Based on patch from Carlos Garcia Campos
2744 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2746 * gioscheduler.c: Some documentation additions.
2748 2008-01-22 Alexander Larsson <alexl@redhat.com>
2750 * gdesktopappinfo.c:
2751 (g_desktop_app_info_new):
2752 Don't leak basename.
2754 2008-01-22 Alexander Larsson <alexl@redhat.com>
2756 * gdesktopappinfo.c:
2757 (g_desktop_app_info_new_from_filename):
2760 2008-01-22 Alexander Larsson <alexl@redhat.com>
2762 * glocalfileinfo.c (get_thumbnail_attributes):
2765 2008-01-22 Alexander Larsson <alexl@redhat.com>
2768 (canonicalize_filename):
2769 Canonicalize paths that start with more than
2773 (compare_two_files):
2774 (test_g_file_new_for_path):
2777 2008-01-22 Alexander Larsson <alexl@redhat.com>
2780 Allow UTF-8 in file:// parse names.
2782 * tests/Makefile.am:
2783 * tests/data-input-stream.c:
2784 * tests/data-output-stream.c:
2785 * tests/g-file-info.c:
2787 Added a bunch of tests from Tomas Bzatek
2789 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2791 * === Released 2.15.3 ===
2793 2008-01-21 Alexander Larsson <alexl@redhat.com>
2795 * gfileinputstream.[ch]:
2796 * gfileoutputstream.[ch]:
2798 Remove duplicated GSeekable functions. (#509990)
2799 Just use the g_seekable_xxx() calls instead.
2801 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2804 * gvolumemanager.c: Whitespace cleanups.
2806 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2807 Use the right mode when creating the file.
2809 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2811 * gfileenumerator.c:
2812 * gfileinputstream.c:
2814 * goutputstream.c: Documentation: Fixed minor typos
2815 and added more mentions of specific _finish() functions.
2817 2008-01-21 Alexander Larsson <alexl@redhat.com>
2819 * inotify/Makefile.am:
2820 * inotify/inotify-helper.c:
2821 * inotify/inotify-kernel.c:
2822 * inotify/inotify-path.c:
2823 * inotify/local_inotify.h: Removed.
2824 * inotify/local_inotify_syscalls.h: Removed.
2825 Removed the included copies of the inotify
2826 headers. We now only use the <sys/inotify.h>
2827 header which exists on modern systems.
2828 This fixes problems on ARM and SH5 (#510448)
2829 but is also generally much cleaner and future
2830 safe. For instance, if other OSes add support
2831 for inotify it should "just work".
2833 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2835 * inotify/*.c: Coding style fixes.
2836 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2837 for the 1/4 Hz timer.
2839 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2842 * gfilemonitor.[hc]:
2843 * gmemoryinputstream.c:
2844 * gmemoryoutputstream.c:
2845 * gmountoperation.c:
2846 * gthemedicon.c: Documentation updates
2848 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2850 * gfile.c: documentation: Fixed more minor
2853 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2855 * gmount.c: (g_mount_remount): documentation:
2856 Mention g_mount_remount_finish() instead of
2857 g_mount_unmount_finish().
2859 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2863 * gfile.c: Fixed some minor typos in the
2866 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2868 * gio/gvolumemonitor.c:
2869 (g_volume_monitor_get_connected_drives):
2870 (g_volume_monitor_get_volumes):
2871 (g_volume_monitor_get_mounts): Documentation:
2872 Clarify the ownership of the regurn GLists.
2874 2008-01-17 Alexander Larsson <alexl@redhat.com>
2877 Add the async find_enclosing_mount version
2878 to the header file too.
2880 2008-01-17 Alexander Larsson <alexl@redhat.com>
2883 Add async version of find_enclosing_mount
2884 with default implementation.
2886 2008-01-17 Alexander Larsson <alexl@redhat.com>
2891 Allow calls to implementation of copy and write
2892 even if the type of the file implementations is
2893 different. This can be used to implement native
2894 upload and download calls in a vfs.
2897 (g_local_file_move):
2898 Protect against the case where move is called
2899 with one file not being local.
2901 Make sure we call the progress callback once
2902 in the native move operation so that the caller
2903 knows how many bytes were copied.
2905 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2908 * gdatainputstream.c:
2910 * gfileoutputstream.c:
2915 * gunixmounts.c: Corrected some typos in the documentation:
2916 occured -> occurred.
2917 its -> it's (where appropriate).
2919 2008-01-16 Alexander Larsson <alexl@redhat.com>
2923 Add g_file_query_exists (#508771)
2925 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2930 * gvolume.c: For async functions that have no non-async
2931 version, document that the GAsyncReadyCallback may be NULL.
2934 2008-01-15 Alexander Larsson <alexl@redhat.com>
2936 * gmemoryinputstream.c:
2937 * gmemoryoutputstream.c:
2938 Don't do pointer arithmetic on void * (#508602)
2939 Patch from Kazuki IWAMOTO
2941 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2943 * === Released 2.15.2 ===
2945 2008-01-14 Alexander Larsson <alexl@redhat.com>
2947 * gfile.c (g_file_monitor_file):
2948 Don't set error here, since we fallback to polling monitor.
2950 2008-01-14 Alexander Larsson <alexl@redhat.com>
2953 (g_file_monitor_directory):
2954 (g_file_monitor_file):
2955 Add GError to file monitor calls
2957 * glocaldirectorymonitor.c:
2958 * glocaldirectorymonitor.h:
2960 * glocalfilemonitor.c:
2961 * glocalfilemonitor.h:
2963 Update for above change
2965 2008-01-14 Alexander Larsson <alexl@redhat.com>
2969 Handle root correctly in g_file_get_relative_path (#508719)
2971 2008-01-14 Alexander Larsson <alexl@redhat.com>
2974 Clean up docs and example for GAsyncResult (#508074)
2976 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2978 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2979 and correct some spelling mistakes. Bug #508108.
2981 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2983 * glocalfileinfo.c: Add a comment.
2985 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2987 * gfileinfo.c: GFileInfo description: Mention
2988 how to actually set attributes in a GFile and how to discover
2989 which attributes are settable. Bug #508378.
2991 2008-01-10 A. Walton <awalton@svn.gnome.org>
2993 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2994 (g_app_info_get_default_for_type):
2995 Check for NULL content types.
2997 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2999 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3001 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3003 * gfile.c: *_async() functions: Several small corrections
3004 to the documentation, mostly correcting copy/paste errors
3005 and improving some sentences.
3007 2008-01-09 Dan Winship <danw@gnome.org>
3009 * glocalfile.c (get_unique_filename): x86_64 fix
3011 2008-01-09 Alexander Larsson <alexl@redhat.com>
3016 Add g_unix_mount_guess_should_display and use
3017 for unix volume monitor backend.
3018 This means we more or less show what the
3019 gnome-vfs backend did.
3020 Based on patch from Padraig O'Briain
3022 2008-01-09 Alexander Larsson <alexl@redhat.com>
3026 Add g_themed_icon_new_with_default_fallbacks
3029 Use default fallbacks for icons
3031 2008-01-09 Alexander Larsson <alexl@redhat.com>
3034 * gmountoperation.[ch]:
3035 Change the API a bit so that unhandled methods
3036 get reported via the reply, rather than by
3037 the signal emission return value. This is because
3038 some handlers can't know this immediately without
3039 doing I/O, and this is an async operation that
3042 2008-01-09 Alexander Larsson <alexl@redhat.com>
3045 * fam/gfamdirectorymonitor.c:
3046 * fam/gfamfilemonitor.c:
3047 Fix double free crash (#508224)
3048 Patch from Joe Marcus Clarke
3050 008-01-07 Matthias Clasen <mclasen@redhat.com>
3052 * === Released 2.15.1 ===
3054 2008-01-07 Alexander Larsson <alexl@redhat.com>
3056 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3057 Fix warning (#507835)
3059 2008-01-07 Alexander Larsson <alexl@redhat.com>
3062 Pass --internal to glib-genmarshal
3065 * gmountoperation.c:
3067 Use better types for signal arguments (#507822)
3069 2008-01-07 Alexander Larsson <alexl@redhat.com>
3072 Build test subdir after .
3073 Remove gdirectorymonitor.[ch]
3075 * gdirectorymonitor.[ch]:
3079 Remove GDirectoryMonitor and make
3080 GFileMonitor the baseclass for both file and
3081 directory monitors. Lift the more generic
3082 rate limiting code from GDirectoryMonitor
3086 * fam/gfamdirectorymonitor.[ch]:
3087 * inotify/ginotifydirectorymonitor.[ch]:
3088 * inotify/inotify-helper.c:
3089 * glocaldirectorymonitor.[ch]:
3092 Update for the removed GDirectoryMonitor.
3094 * gmemoryoutputstream.c:
3095 Remove ununsed variable
3097 2008-01-07 Alexander Larsson <alexl@redhat.com>
3099 * gmemoryinputstream.c:
3100 Translate error strings
3103 * gmemoryoutputstream.[ch]:
3104 New implementation that avoids using GByteArray
3105 in implementation and API. (#506377)
3107 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3109 * tests/*: Add a test for memory input streams.
3111 * Makefile.am: Add tests to SUBDIRS.
3113 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3115 * glocalfilemonitor.c:
3116 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3119 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3121 * gdesktopappinfo.c: Fix a docs typo.
3123 * gfileattribute.c: Add information about extended attributes
3124 to the documentation. (#505058)
3126 2008-01-04 Alexander Larsson <alexl@redhat.com>
3129 * gmountoperation.c:
3130 Use the right type (uint) for the ask_password signal.
3132 2008-01-04 Alexander Larsson <alexl@redhat.com>
3137 Add g_app_info_supports_files()
3138 Remove desktop arg from g_app_info_should_show().
3140 * gdesktopappinfo.[ch]:
3141 Implement g_app_info_supports_files() and new should_show()
3142 Add g_desktop_app_info_set_desktop_env() to set the desktop
3143 for should_show(). (This will be set by gtk+ later)
3145 2008-01-04 Alexander Larsson <alexl@redhat.com>
3148 * gmemoryinputstream.[ch]:
3149 Improve API so that you can use multiple chunks
3150 of memory and custom destroy functions. (#506374)
3152 2008-01-03 Alexander Larsson <alexl@redhat.com>
3155 Handle NULL attribute matchers safely, as we return this
3156 for empty attribute matcher strings.
3158 2008-01-03 Alexander Larsson <alexl@redhat.com>
3160 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3161 Add /usr/local to list of internal mountpoints
3163 2008-01-03 Alexander Larsson <alexl@redhat.com>
3166 Check for HAVE_LCHOWN (#505887)
3168 2008-01-03 Alexander Larsson <alexl@redhat.com>
3172 Add define for selinux context attribute.
3173 Fix missing : -> :: namespace separator change
3174 Fix missing _ -> - name change for xattr-sys.
3177 2008-01-03 Alexander Larsson <alexl@redhat.com>
3180 Link to libglib and libgobject directly (#504879)
3181 Patch from Sebastien Bacher
3183 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3185 * gfile.c: Expanded the g_file_new_for_commandline_arg
3186 description a bit, based on the code and the docs of the
3187 other g_file_new_for_* functions.
3189 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3191 * gfilemonitor.h: Fixed typo in docs.
3193 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3195 Updates to GIO documentation. (#506395, Mikael Hermansson)
3197 * gcontenttype.c: Describe memory management for return value of
3198 g_content_types_get_registered(). Missing piece from #505815.
3199 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3200 GVolume, GDrive, GMounts, which hopefully gives the user less
3201 confusions when using this API. Following explainations from
3202 Alexander Larsson on gtk-devel-list.
3204 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3206 * gfileinfo.c: Expand the long description.
3208 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3211 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3212 fix builds with --disable-visibility. (#500273, Christian Persch)
3214 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3216 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3217 in the list of returned app infos.
3219 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3221 * gappinfo.c: Fix a cross-reference
3223 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3225 * gfileinputstream.c:
3226 * gfileoutputstream.c:
3230 * gdesktopappinfo.c:
3232 * gfileinfo.c: Documentation updates.
3234 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3236 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3239 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3241 * gcontenttype.c (g_content_types_get_registered): Don't return
3242 freed memory (#505815, Mikael Hermansson)
3244 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3246 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3247 used to detect statbuf->st_blocks. (#505042)
3249 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3251 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3252 environment handling. (#504829, Cosimo Cecchi)
3254 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3256 * gappinfo.c: Doc improvements
3258 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3261 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3263 * === Released 2.15.0 ===
3265 2007-12-20 Hans Breuer <hans@breuer.org>
3267 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3268 with symbols gwin32appinfo.obj, added gmount.obj
3269 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3271 2007-12-20 Alexander Larsson <alexl@redhat.com>
3277 * gfilenamecompleter.c:
3280 * gpollfilemonitor.c:
3281 File attribute renames:
3283 fs:: -> filesystem::
3284 id::fs -> id::filesystem
3286 2007-12-20 Alexander Larsson <alexl@redhat.com>
3295 Add GMountUnmountFlags to all unmount and
3297 Add g_mount_remount() call.
3299 2007-12-20 Alexander Larsson <alexl@redhat.com>
3301 * gvfs.c (get_default_vfs):
3302 Fix unused variable warning
3304 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3306 * pltcheck.sh: Update
3308 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3310 * gunionvolumemonitor.c:
3311 * gunixmount.c: Remove C99 comments
3313 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3315 * gio.symbols: Add some missing symbols
3317 2007-12-19 Alexander Larsson <alexl@redhat.com>
3320 Make g_io_modules_load_all_in_directory not unuse
3321 loaded modules so that users of it can do stuff
3323 Init internal "module" types.
3324 Initialize static prio and name for types so that
3325 we don't have to load modules to get it.
3327 * gnativevolumemonitor.h:
3329 Move is_supported to parent class so that
3330 non-native monitors can avoid being initialized
3331 too. (For instance GDaemonVolumeMonitor if we're
3332 not using GDaemonVfs.)
3334 * glocaldirectorymonitor.[ch]:
3335 * glocalfilemonitor.[ch]:
3336 * gunionvolumemonitor.c:
3337 * gunixvolumemonitor.c:
3339 Find plugins using the static prio+name to
3340 avoid unnecessarily loading the modules.
3342 2007-12-19 Alexander Larsson <alexl@redhat.com>
3347 2007-12-19 Alexander Larsson <alexl@redhat.com>
3349 * gunionvolumemonitor.c:
3350 Store the native type as GType, not class so that
3351 we can unload it. But still avoid unnecessarily
3354 2007-12-19 David Zeuthen <davidz@redhat.com>
3356 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3357 add signals 'disconnected' and 'eject-button' on GDrive. Add
3358 signal 'removed' on GVolume and 'unmounted' on GMount.
3360 * gdrive.c: (g_drive_base_init):
3362 * gfile.c: (g_file_mount_mountable),
3363 (g_file_mount_enclosing_volume):
3366 * gmount.c: (g_mount_base_init):
3368 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3369 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3370 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3374 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3376 * *.c: Fix up includes in the section docs.
3378 2007-12-17 Alexander Larsson <alexl@redhat.com>
3380 * gnativevolumemonitor.h:
3381 * gunionvolumemonitor.c:
3382 * gunixvolumemonitor.c:
3383 Add is_supported() to GNativeVolumeMonitorClass so
3384 that we can avoid having to create an object to see
3385 if the backend is supported at runtime.
3386 Also add name member and an env var to pick a specific
3387 volume monitor backend.
3391 Add cancellable to _g_mount_get_for_mount_path()
3393 * glocaldirectorymonitor.c:
3394 * glocalfilemonitor.c:
3395 Avoid loading and unloading modules while sorting.
3397 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3400 * gunixmounts.[hc]: Namespace waste reduction, move some
3401 g_get_unix_mount functions to the g_unix_mount namespace.
3404 * gunixvolumemonitor.c:
3406 * glocaldirectorymonitor.c: Update all callers.
3408 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3410 2007-12-17 Alexander Larsson <alexl@redhat.com>
3413 Add doc comments about what GFile operations are
3414 guaranteed to not block.
3416 2007-12-17 Alexander Larsson <alexl@redhat.com>
3419 Add missing #ifdef fixing OSX build.
3420 (#503334, patch from Richard Hult)
3422 2007-12-14 David Zeuthen <davidz@redhat.com>
3426 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3427 (g_mount_eject), (g_mount_eject_finish):
3429 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3430 (get_volume_for_uuid), (get_mount_for_uuid),
3431 (g_union_volume_monitor_class_init),
3432 (get_default_native_type_with_exclude), (get_default_native_type),
3433 (get_native_type), (update_native_type),
3434 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3435 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3436 (g_unix_mount_can_eject), (eject_unmount_cb),
3437 (eject_unmount_read_error), (eject_unmount_do),
3438 (g_unix_mount_unmount), (g_unix_mount_eject),
3439 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3440 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3441 (g_unix_mount_point_guess_can_eject):
3443 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3444 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3445 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3446 (g_unix_volume_mount), (g_unix_volume_eject),
3447 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3448 * gunixvolumemonitor.c: (get_volume_for_uuid),
3449 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3451 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3452 (g_volume_eject), (g_volume_eject_finish):
3454 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3455 (g_volume_monitor_get_mount_for_uuid):
3458 Provide eject() on both GMount and GVolume and utility functions
3459 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3460 ejected. Introduce the concept of UUID's and wire it into GVolume
3461 and GMount and provide API on GVolumeMonitor to find such
3462 instances. Also handle the case where an external
3463 GNativeVolumeMonitor fails to initialize. Lock around the
3464 _g_get_mount_for_mount_path() function such that volume monitor
3465 implementations won't have to do locking themselves.
3467 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3469 * gdesktopappinfo.c:
3475 * gvolume.h: Documentation updates
3477 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3480 * gfile.h: Doc updates
3482 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3485 * gdesktopappinfo.c: Use hash table iterators.
3487 2007-12-14 Alexander Larsson <alexl@redhat.com>
3490 * gfileattribute.[ch]:
3491 * gfileattribute-priv.h:
3492 Move GFileAttributeValue to a private header, as
3496 Make set_attribute take a type + a pointer instead
3497 of a GFileAttributeValue.
3500 Fix up for above changes.
3501 Add g_file_info_get_attribute_data to get
3502 all info in one call, g_file_info_get_attribute_status
3503 to get the status and g_file_info_get_attribute_as_string.
3507 * glocalfileinfo.[ch]:
3511 Make _guess_type static.
3513 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3516 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3517 made mkenums and friends use temporary files to avoid leaving
3518 empty generated files on failure (#503470).
3520 2007-12-14 Alexander Larsson <alexl@redhat.com>
3522 * gmountoperation.h:
3525 2007-12-14 Alexander Larsson <alexl@redhat.com>
3529 * gfileattribute.[ch]:
3532 * glocalfileoutputstream.c:
3533 * gmountoperation.[ch]:
3534 * goutputstream.[ch]:
3535 Clean up all flags enums to not have _FLAGS in them
3536 Make the names of some of the enums better.
3541 2007-12-14 Michael Natterer <mitch@imendio.com>
3543 * gio.symbols: fix g_io_scheduler symbol names.
3545 2007-12-14 Alexander Larsson <alexl@redhat.com>
3551 * gbufferedinputstream.h:
3552 * gbufferedoutputstream.h:
3555 * gdatainputstream.h:
3556 * gdataoutputstream.h:
3557 * gdesktopappinfo.h:
3558 * gdirectorymonitor.h:
3562 * gfileenumerator.h:
3565 * gfileinputstream.h:
3567 * gfilenamecompleter.h:
3568 * gfileoutputstream.h:
3569 * gfilterinputstream.h:
3570 * gfilteroutputstream.h:
3578 * gmemoryinputstream.h:
3579 * gmemoryoutputstream.h:
3581 * gmountoperation.h:
3584 * gsimpleasyncresult.h:
3586 * gunixinputstream.h:
3588 * gunixoutputstream.h:
3592 * inotify/Makefile.am:
3593 Only allow including <gio/gio.h> from apps
3595 2007-12-14 Alexander Larsson <alexl@redhat.com>
3597 * gioscheduler.[ch]:
3598 * gsimpleasyncresult.c:
3599 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3600 Split out the send_to_mainloop call into two versions instead
3601 of having the block argument.
3603 2007-12-13 Alexander Larsson <alexl@redhat.com>
3605 * gcancellable.[ch]:
3607 * gbufferedinputstream.c:
3608 * gfileenumerator.c:
3609 * gfileinputstream.c:
3610 * gfileoutputstream.c:
3614 g_push/pop_current_cancellable ->
3615 g_cancellable_push/pop_current
3617 2007-12-13 Alexander Larsson <alexl@redhat.com>
3621 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3623 2007-12-13 Alexander Larsson <alexl@redhat.com>
3625 * gmountoperation.h:
3626 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3628 2007-12-12 Alexander Larsson <alexl@redhat.com>
3631 Fix race condition when freeing proxy in
3632 g_io_job_send_to_mainloop().
3634 2007-12-12 Alexander Larsson <alexl@redhat.com>
3640 Make attribute namespace separator "::" instead of ":".
3641 Use - instead of _ as separator in attribute names.
3643 2007-12-12 Alexander Larsson <alexl@redhat.com>
3645 * gbufferedinputstream.h:
3646 * gbufferedoutputstream.h:
3647 * gdatainputstream.h:
3648 * gdataoutputstream.h:
3649 * gdirectorymonitor.h:
3650 * gfileenumerator.h:
3651 * gfileinputstream.h:
3653 * gfileoutputstream.h:
3654 * gfilterinputstream.h:
3655 * gfilteroutputstream.h:
3657 * glocalfileinputstream.h:
3658 * glocalfileoutputstream.h:
3659 * gmemoryinputstream.h:
3660 * gmemoryoutputstream.h:
3661 * gnativevolumemonitor.h:
3663 * gunixinputstream.h:
3664 * gunixoutputstream.h:
3667 s/parent/parent_instance/ in GObjects
3669 2007-12-12 Alexander Larsson <alexl@redhat.com>
3674 No need for padding for interfaces
3676 2007-12-12 Alexander Larsson <alexl@redhat.com>
3680 * gbufferedinputstream.c:
3681 * gbufferedoutputstream.c:
3684 * gdatainputstream.[ch]:
3685 * gdesktopappinfo.c:
3686 * gdirectorymonitor.c:
3688 * gfileattribute.[ch]:
3691 * gfileinputstream.h:
3692 * gfilemonitor.[ch]:
3693 * gfileoutputstream.[ch]:
3694 * gfilterinputstream.h:
3695 * gfilteroutputstream.h:
3698 * gloadableicon.[ch]:
3699 * gmemoryinputstream.c:
3700 * gmountoperation.c:
3702 Fix up a bunch of details in the docs.
3707 2007-12-11 David Zeuthen <davidz@redhat.com>
3709 Rework how volumes, drives and volume monitoring is
3710 done. Previosly the model was
3712 GDrive <1-1> GVolume
3714 where a GDrive instance represented a mount point and a GVolume
3715 instance represented a mounted file system. This patch changes it
3718 GDrive <1-N> GVolume <1-1> GMount
3720 where GMount now serves the purpose of the old GVolume and the new
3721 GVolume serves the purpose of the old GDrive. In addition the new
3722 GDrive interface is used to represent a collection of GVolume
3723 instances (typically partitions) and also contains utility to query
3724 the state of the physical drive the GDrive object represents (such
3725 as checking for media, polling the drive, ejecting the media etc.).
3727 Also implement mounting and unmounting in the Unix volume monitor
3728 backend. A subquent patch will introduce GDrive support for ejection
3732 * gdrive.c: (g_drive_is_media_check_automatic),
3733 (g_drive_is_media_removable), (g_drive_has_media),
3734 (g_drive_can_poll_for_media), (g_drive_eject),
3735 (g_drive_eject_finish), (g_drive_poll_for_media),
3736 (g_drive_poll_for_media_finish):
3738 * gfile.c: (g_file_find_enclosing_mount):
3741 * glocaldirectorymonitor.c:
3742 (g_local_directory_monitor_constructor), (mounts_changed):
3743 * glocalfile.c: (get_mount_info),
3744 (g_local_file_find_enclosing_mount),
3745 (g_local_file_file_iface_init):
3746 * gnativevolumemonitor.h:
3747 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3748 (get_connected_drives), (g_union_volume_monitor_class_init),
3749 (child_volume_added), (child_volume_removed),
3750 (child_volume_changed), (child_mount_added), (child_mount_removed),
3751 (child_mount_pre_unmount), (child_mount_changed),
3752 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3753 (g_union_volume_monitor_remove_monitor),
3754 (_g_mount_get_for_mount_path):
3755 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3756 (guess_system_internal), (_g_get_unix_mounts),
3757 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3758 (g_unix_mount_free), (g_unix_mount_compare),
3759 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3760 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3761 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3762 (type_to_icon), (g_unix_mount_guess_name),
3763 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3764 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3765 (_resolve_symlink), (_resolve_dev_root):
3767 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3768 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3769 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3770 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3771 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3772 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3773 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3774 (g_unix_volume_volume_iface_init):
3776 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3777 (get_mounts), (get_volumes), (get_connected_drives),
3778 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3779 (mountpoints_changed), (mounts_changed),
3780 (g_unix_volume_monitor_init),
3781 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3782 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3783 * gunixvolumemonitor.h:
3784 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3785 (g_volume_mount), (g_volume_mount_finish):
3787 * gvolumemonitor.c: (g_volume_monitor_class_init),
3788 (g_volume_monitor_get_connected_drives),
3789 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3792 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3794 * gmountoperation.h (GPasswordFlags): Close the gap
3796 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3798 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3800 * gdesktopappinfo.[hc]: Remove _-prefixes
3802 2007-12-10 Tor Lillqvist <tml@novell.com>
3804 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3807 2007-12-10 Alexander Larsson <alexl@redhat.com>
3809 * gfile.c (g_file_set_display_name):
3810 Don't hardcode '/' (#502727)
3812 2007-12-09 Hans Breuer <hans@breuer.org>
3814 * makefile.msc : follow lib naming convention
3815 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3816 for user and group name, tested with ../tests/gio-ls
3818 2007-12-09 A. Walton <awalton@svn.gnome.org>
3820 * gdesktopappinfo.c:
3826 * gfileenumerator.c:
3831 * gmemoryinputstream.c:
3832 * gmemoryoutputstream.c:
3834 * gsimpleasyncresult.c:
3835 More documentation cleanup and filling in missing information, bringing
3836 GIO to 99% symbol coverage.
3838 2007-12-08 Hans Breuer <hans@breuer.org>
3840 [gio compiles and links on win32, not sure how much already works]
3841 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3842 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3843 base on win32 API; prefer g_lstat() over lstat(); instead of
3844 localtime_r() use an all GLib implementation on win32;
3845 get_mount_info() still needs a win32 specifc implementation
3846 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3847 win32_get_file_user_info to get owner/group info without uid/gid
3848 * glocalfileinputstream.c : include <io.h> on win32
3849 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3850 definition, use g_win32_ftruncate() for G_OS_WIN32
3851 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3852 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3853 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3854 * makefile.msc : updated
3856 2007-12-07 Alexander Larsson <alexl@redhat.com>
3858 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3859 Avoid warning spew if error == NULL
3861 2007-12-07 Alexander Larsson <alexl@redhat.com>
3864 Update docs wrt etags
3866 2007-12-06 Alexander Larsson <alexl@redhat.com>
3869 Include sys/types.h for dev_t (#501919)
3871 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3875 Make abicheck and pltcheck pass.
3877 2007-12-05 Alexander Larsson <alexl@redhat.com>
3880 * giomodule-priv.h: Added.
3881 * glocaldirectorymonitor.c:
3882 * glocalfilemonitor.c:
3883 * gunionvolumemonitor.c:
3885 Actually add the declaration of _g_io_modules_ensure_loaded
3887 2007-12-05 Alexander Larsson <alexl@redhat.com>
3889 * gdatainputstream.c:
3894 * glocaldirectorymonitor.c:
3895 * glocalfilemonitor.c:
3896 * gunionvolumemonitor.c:
3898 Make g_io_modules_ensure_loaded a private function and
3899 don't pass in the dirname. This means we can do magic
3900 directory finding in the win32 version.
3901 Export the actual load-modules-in-directory code so that
3902 gvfs can reuse that.
3904 2007-12-05 Alexander Larsson <alexl@redhat.com>
3906 * gbufferedinputstream.c:
3907 * gbufferedoutputstream.c:
3910 * gfileenumerator.[ch]:
3911 * gfileinputstream.c:
3912 * gfileoutputstream.[ch]:
3913 * gfilterinputstream.c:
3914 * gfilteroutputstream.c:
3915 * ginputstream.[ch]:
3917 * glocalfileenumerator.c:
3918 * glocalfileinputstream.c:
3919 * glocalfileoutputstream.c:
3920 * gmemoryinputstream.c:
3921 * gmemoryoutputstream.c:
3922 * goutputstream.[ch]:
3925 * gunixinputstream.c:
3926 * gunixoutputstream.c:
3927 Rename all struct members named:
3928 read, write, close, truncate, or mount
3929 to foo_fn, as these are reserved names
3930 and could be defined as macros in libc.
3933 2007-12-04 Alexander Larsson <alexl@redhat.com>
3936 (g_output_stream_close):
3937 Only call flush if non-null.
3939 2007-11-30 Dan Winship <danw@gnome.org>
3941 * ginputstream.c (g_input_stream_set_pending): Make this take a
3942 GError and return a gboolean, and do the "outstanding operation"
3943 check (and the "stream is already closed" check) itself.
3944 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3946 * goutputstream.c (g_output_stream_set_pending)
3947 (g_output_stream_clear_pending): Likewise
3949 * gbufferedinputstream.c:
3950 * gfileinputstream.c:
3951 * gfileoutputstream.c: Update for that
3953 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3954 Like g_simple_async_report_error_in_idle, but takes a GError
3955 rather than building one.
3957 2007-11-30 Dan Winship <danw@gnome.org>
3959 * goutputstream.c: Don't cheat and unset the "pending" flag around
3960 inner calls. Instead, call the class method directly rather than
3961 the wrapper function that checks "pending"
3963 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3965 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3967 2007-12-03 Hans Breuer <hans@breuer.org>
3969 [start of port to win32/msvc]
3970 * gcancellable.c : HAVE_UNIST_H and _pipe()
3971 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3972 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3973 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3975 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3976 * glocalvfs.c : use HAVE_PWD_H
3977 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3978 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3979 * Makefile.am : added to EXTRA_DIST
3981 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3983 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3986 2007-12-03 Alexander Larsson <alexl@redhat.com>
3989 Handle OSX style xattrs API (#500506)
3991 2007-12-03 Alexander Larsson <alexl@redhat.com>
3995 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3997 2007-12-02 A. Walton <awalton@svn.gnome.org>
4001 Documentation accuracy fixes.
4003 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4005 * gioenumtypes.c.template: Fix typo.
4007 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4009 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4011 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4013 * gdirectorymonitor.c:
4014 * gfilemonitor.c: Add properties
4016 * gbufferedoutputstream.c: Don't mark buffer-size property
4019 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4021 * gbufferedoutputstream.c: Add auto-grow property.
4023 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4025 * *.c: Unify the capitalization of section headings.
4027 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4029 * gmountoperation.c: Add properties
4031 * gdatainputstream.c: Turn byte-order and newline-type into
4034 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4036 * gioenumtypes.[hc].template: Templates for enum registration
4038 * Makefile.am: Generate gioenumtypes.[hc]
4040 * gio.h: Include gioenumtypes.h
4042 * gfile.h: Add some explicit nicks.
4044 * gio.symbols: Add new symbols
4046 * pltcheck.sh: Adjust
4048 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4050 * *.c: Explain etags and link to the explanation
4052 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4054 * *.c: Explain I/O priority.
4056 * *.c: More coding style fixes.
4058 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4060 * gasyncresult.c: Add another paragraph to the intro,
4061 adjust coding style of example.
4063 2007-11-29 A. Walton <awalton@svn.gnome.org>
4066 Fixes unknown meaning in GAppLaunchContext docs.
4068 Clarify asynchronous ops.
4070 Fix entity tag docs.
4073 Provides missing gtk-doc section, fixes API docs slighly.
4074 * gsimpleasyncresult.c:
4075 Fill in missing info in docs.
4076 * gunixinputstream.c:
4077 * gunixoutputstream.c:
4078 Be more expressive in short description.
4080 Remove gtk-doc stubs for non-public API.
4082 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4084 * *.c: Coding style fixups
4086 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4088 * inotify/inotify-helper.c: Don't export the lock from libgio.
4090 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4093 * abicheck.sh: Fix copy-and-paste leftovers
4095 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4097 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4099 2007-11-28 Alexander Larsson <alexl@redhat.com>
4103 Removed unnecessary file
4105 * gdesktopappinfo.[ch]:
4108 * glocaldirectorymonitor.[ch]:
4110 * glocalfileenumerator.[ch]:
4111 * glocalfileinputstream.[ch]:
4112 * glocalfilemonitor.[ch]:
4113 * glocalfileoutputstream.[ch]:
4115 * gnativevolumemonitor.c:
4116 * gpollfilemonitor.[ch]:
4117 * gunionvolumemonitor.[ch]:
4120 * gunixvolumemonitor.[ch]:
4123 * inotify/ginotifydirectorymonitor.[ch]:
4124 * inotify/ginotifyfilemonitor.[ch]:
4125 * inotify/inotify-helper.c:
4126 Append _ to all internal functions
4130 Export symbols needed for modules
4132 2007-11-28 Alexander Larsson <alexl@redhat.com>
4135 * abicheck.sh: Added.
4136 * makegioalias.pl: Added.
4137 * pltcheck.sh: Added.
4138 * gio.symbols: Added.
4141 Initial work on adding symbol handling.
4144 Correct ifdef guard name
4147 * inotify/Makefile.am:
4148 * xdgmime/Makefile.am:
4149 Include toplevel Makefile.decl
4151 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4153 * gcontenttype.c: Move doc comments to the unix section.
4155 * *.[hc]: More trivial doc corrections.
4157 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4159 * gpollfilemonitor.c:
4163 * gdesktopappinfo.c:
4168 * gdatainputstream.c:
4169 * gdatainputstream.h:
4170 * gdataoutputstream.c:
4171 * gdataoutputstream.h:
4172 * gfileinfo.h: Doc cleanups
4174 2007-11-28 Andre Klapper <a9016009@gmx.de>
4176 * gdesktopappinfo.c: Fix a typo.
4178 2007-11-27 Andre Klapper <a9016009@gmx.de>
4180 * glocalfileoutputstream.c: Fix a typo.
4182 2007-11-27 Alexander Larsson <alexl@redhat.com>
4185 Don't include removed headers
4187 2007-11-27 Alexander Larsson <alexl@redhat.com>
4190 * gsocketinputstream.[ch]: Removed.
4191 * gsocketoutputstream.[ch]: Removed.
4192 * gunixinputstream.[ch]: Added.
4193 * gunixoutputstream.[ch]: Added.
4194 Renamed GSocket*Stream to GUnix*Stream and made
4195 it unix-only, since its not really only for sockets
4196 and it only works on unix (but is highly useful there).
4198 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4204 * gbufferedinputstream.c:
4205 * gbufferedinputstream.h:
4206 * gbufferedoutputstream.c:
4207 * gbufferedoutputstream.h:
4211 * gdatainputstream.c:
4212 * gdatainputstream.h:
4213 * gdataoutputstream.c:
4214 * gdataoutputstream.h:
4215 * gdirectorymonitor.c:
4216 * gdirectorymonitor.h:
4223 * gfileenumerator.c:
4224 * gfileenumerator.h:
4229 * gfileinputstream.c:
4230 * gfileinputstream.h:
4233 * gfilenamecompleter.c:
4234 * gfilenamecompleter.h:
4235 * gfileoutputstream.c:
4236 * gfileoutputstream.h:
4237 * gfilterinputstream.c:
4238 * gfilterinputstream.h:
4239 * gfilteroutputstream.c:
4240 * gfilteroutputstream.h:
4253 * glocalfileoutputstream.c:
4254 * gmemoryinputstream.c:
4255 * gmemoryinputstream.h:
4256 * gmemoryoutputstream.c:
4257 * gmemoryoutputstream.h:
4258 * gmountoperation.c:
4259 * gmountoperation.h:
4262 * gpollfilemonitor.c:
4265 * gsimpleasyncresult.c:
4266 * gsimpleasyncresult.h:
4267 * gsocketinputstream.c:
4268 * gsocketinputstream.h:
4269 * gsocketoutputstream.c:
4270 * gsocketoutputstream.h:
4277 * gunixvolumemonitor.c:
4286 Bumps documentation to 93% symbol coverage, touching most
4287 of the public files. Fixes broken function documentation prototypes.
4288 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4289 gtk-doc headers in private files.
4291 2007-11-27 Jürg Billeter <j@bitron.ch>
4293 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4294 (g_buffered_input_stream_read_byte):
4295 * gbufferedinputstream.h:
4296 New functions for efficient access to buffer and simple single byte
4299 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4300 (g_data_input_stream_read_until):
4301 * gdatainputstream.h:
4302 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4303 read_until with multiple stop chars.
4305 2007-11-27 Alexander Larsson <alexl@redhat.com>
4309 * inotify/Makefile.am:
4310 Use the user-specified giomoduledir
4312 2007-11-27 Alexander Larsson <alexl@redhat.com>
4316 Add catch-all gio.h header
4317 Don't install gdummyfile.h
4319 2007-11-26 Alexander Larsson <alexl@redhat.com>
4321 * Makefile.am (gioinclude_HEADERS):
4322 Remove trailing whitespace
4324 2007-11-26 Alexander Larsson <alexl@redhat.com>
4326 Merge gio-standalone into glib
4328 2007-11-25 Christian Kellner <gicmo@gnome.org>
4330 * gio/goutputstream.c:
4331 Fix small mistake in the docs.
4333 2007-11-21 Christian Persch <chpe@gnome.org>
4335 * gio/glocalfile.c: (g_local_file_trash):
4336 Convert filenames to UTF-8 for GError.
4337 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4338 as per xdg base dir spec.
4340 2007-11-21 Christian Persch <chpe@gnome.org>
4342 * gio/gdesktopappinfo.c:
4343 Use that g_key_file_to_data cannot fail.
4345 Use stock defines for the key file group and key names.
4348 2007-11-21 Alexander Larsson <alexl@redhat.com>
4351 (copy_stream_with_progress):
4352 Make sure we do a final progress callback with
4353 the full total size.
4355 2007-11-21 Alexander Larsson <alexl@redhat.com>
4358 Export g_file_copy_attributes
4359 Remove padding as its not needed for interfaces
4361 2007-11-20 Alexander Larsson <alexl@redhat.com>
4366 Add G_IO_ERROR_WOULD_MERGE for
4367 copy/move dir on dir with overwrite.
4369 2007-11-20 Alexander Larsson <alexl@redhat.com>
4372 * gio/glocalfileinfo.c:
4373 Add COPY_NAME (this is an optional
4374 non-modified utf8 version of the name) that
4377 2007-11-20 Alexander Larsson <alexl@redhat.com>
4379 * gio/glocalfileenumerator.c:
4380 Report errors as GIOError, not GFileError
4382 2007-11-16 Alexander Larsson <alexl@redhat.com>
4384 * gio/glocalfileoutputstream.c:
4385 * gio/gwin32appinfo.c:
4386 Fix typos in strings.
4387 Patch from Luca Ferretti <elle.uca@libero.it>
4389 2007-11-15 Alexander Larsson <alexl@redhat.com>
4392 Post release version bump
4394 === gio-standalone 0.1.2 ===
4396 2007-11-15 Alexander Larsson <alexl@redhat.com>
4398 * docs/reference/gio/Makefile.am:
4399 Fix up distcheck by removing weird
4405 2007-11-14 Alexander Larsson <alexl@redhat.com>
4407 * gio/gdesktopappinfo.c:
4408 * gio/glocaldirectorymonitor.c:
4410 * gio/glocalfileinfo.c:
4411 * gio/inotify/inotify-sub.c:
4412 * programs/gio-cat.c:
4413 * programs/gio-copy.c:
4414 * programs/gio-info.c:
4415 * programs/gio-ls.c:
4416 * programs/gio-monitor-dir.c:
4417 * programs/gio-monitor-file.c:
4418 * programs/gio-mount.c:
4419 * programs/gio-move.c:
4420 * programs/gio-rm.c:
4421 * programs/gio-save.c:
4422 * programs/gio-trash.c:
4423 Leak fixes from Kjartan Maraas
4425 2007-11-14 Alexander Larsson <alexl@redhat.com>
4427 * gio/fam/fam-helper.c:
4429 * gio/glocalfileinfo.c:
4433 * gio/inotify/inotify-diag.c:
4434 * gio/inotify/inotify-kernel.c:
4435 Various code cleanups from Kjartan Maraas
4437 2007-11-14 Alexander Larsson <alexl@redhat.com>
4439 * gio/gioscheduler.c:
4441 Set up threadpool so that we cache 2 unused
4442 idle threads for at 15 secs. This means we
4443 will reuse thread-local data (like dbus connections)
4446 2007-11-14 Alexander Larsson <alexl@redhat.com>
4448 * gio/fam/fam-helper.c:
4449 * gio/fam/gfamdirectorymonitor.c:
4450 * gio/fam/gfamfilemonitor.c:
4452 * gio/gcontenttype.c:
4453 * gio/gdatainputstream.c:
4454 * gio/gdataoutputstream.c:
4458 * gio/gfileattribute.h:
4459 * gio/gfileenumerator.c:
4461 * gio/ginputstream.c:
4464 * gio/glocalfileinfo.c:
4465 * gio/goutputstream.c:
4466 * gio/gpollfilemonitor.c:
4467 * gio/gsimpleasyncresult.c:
4468 * gio/gunixmounts.c:
4469 * gio/gunixmounts.h:
4470 * gio/inotify/ginotifydirectorymonitor.c:
4471 * gio/inotify/ginotifyfilemonitor.c:
4472 * gio/inotify/inotify-diag.c:
4473 * gio/inotify/inotify-kernel.c:
4474 * gio/inotify/inotify-path.c:
4476 * gio/test-streams.c:
4477 * programs/gio-info.c:
4478 * programs/gio-monitor-dir.c:
4479 * programs/gio-monitor-file.c:
4480 Various code cleanups from Kjartan Maraas
4482 2007-11-13 Alexander Larsson <alexl@redhat.com>
4485 Handle the uri-scheme calls for dummy files
4487 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4489 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4490 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4491 to avoid clash with the C++ keyword.
4493 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4495 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4496 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4498 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4500 * gio/glocaldirectorymonitor.c:
4501 * gio/glocalfilemonitor.c:
4502 * gio/gunionvolumemonitor.c:
4503 Don't use g_once_init_*() for initializations that could fail and
4504 could leave the initialization variable set to 0 but use GOnce.
4505 This prevents a deadlock on the second call when trying to create
4506 a monitor and no monitor type is available. Thanks to Sven Herzberg
4509 2007-11-11 Sven Herzberg <sven@imendio.com>
4511 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4512 #ifdef (make it work on MacOS X again)
4514 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4516 Fixes Changelog for last two commits (sorry guys).
4518 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4520 * gio/gbufferedinputstream.c:
4521 * gio/gdatainputstream.c:
4523 * gio/gfileoutputstream.c:
4524 * gio/gfilterinputstream.c:
4525 * gio/glocalfileinputstream.c:
4528 More consistency fixes in g*stream.c files.
4529 Significant clean of gfile's documentation, filling in of
4530 asynchronous operations documentation.
4532 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4534 * gio/gasyncresult.c:
4535 * gio/gbufferedinputstream.c:
4536 * gio/gbufferedoutputstream.c:
4537 * gio/gcancellable.c:
4538 * gio/gcontenttype.c:
4539 * gio/gdatainputstream.c:
4540 * gio/gdataoutputstream.c:
4541 * gio/gdesktopappinfo.c:
4544 * gio/gfileattribute.c:
4545 * gio/gio/gfileenumerator.c:
4547 * gio/gfileinputstream.c:
4548 * gio/gfilemonitor.c:
4549 * gio/gfileoutputstream.c:
4550 * gio/ginputstream.c:
4552 * gio/gioscheduler.c:
4553 * gio/gloadableicon.c:
4554 * gio/glocalfileoutputstream.c:
4555 * gio/gmemoryoutputstream.c:
4556 * gio/gmountoperation.c:
4557 * gio/goutputstream.c:
4559 * gio/gsimpleasyncresult.c:
4560 * gio/gunionvolumemonitor.c:
4561 * gio/gunixmounts.c:
4562 * gio/gunixvolume.c:
4566 * gio/gvolumemonitor.c:
4567 Updated documentation stubs, working towards consistency and
4570 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4572 * gio/gmemoryoutputstream.c:
4573 * gio/gmemoryoutputstream.h:
4574 Change g_memory_output_stream_set_free_on_close() to
4575 g_memory_output_stream_set_free_data() as this makes more sense and
4576 is more consistent with GMemoryInputStream.
4578 2007-11-07 Alexander Larsson <alexl@redhat.com>
4585 Change how we find the default vfs so that
4586 we can handle a gvfs failing to init
4588 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4590 * gio/gbufferedoutputstream.c:
4591 * gio/gdatainputstream.c:
4592 * gio/gdataoutputstream.c:
4593 * gio/gfileinputstream.c:
4594 * gio/gfileoutputstream.c:
4595 * gio/gfilterinputstream.c:
4596 * gio/gfilteroutputstream.c:
4597 * gio/ginputstream.c:
4598 * gio/gmemoryinputstream.c:
4599 * gio/gmemoryoutputstream.c:
4600 * gio/goutputstream.c:
4601 * gio/gsimpleasyncresult.c:
4602 * gio/gsocketinputstream.c:
4603 * gio/gsocketoutputstream.c:
4604 Add guards to the remaining public functions, add a TODO for
4605 an unimplemented function and remove some useless guards.
4607 2007-11-07 Alexander Larsson <alexl@redhat.com>
4610 Autoconf checks for the various types of
4611 getpwuid_r and getgrgid_r
4613 * gio/glocalfileinfo.c:
4614 Use the autoconf checks from above
4616 2007-11-07 Alexander Larsson <alexl@redhat.com>
4619 (g_local_file_query_filesystem_info):
4620 Some fixes for the statvfs case
4622 2007-11-07 Alexander Larsson <alexl@redhat.com>
4625 (g_local_file_query_filesystem_info):
4626 Pick the "best" of statfs / statvfs for the system
4627 if both are availible.
4629 2007-11-07 Alexander Larsson <alexl@redhat.com>
4631 Solaris fixes from Halton.Huo@Sun.COM:
4638 * gio/glocalfileinfo.c:
4639 Fix for solaris definition of getpwuid_r
4641 * gio/test-streams.c:
4642 Use G_GNUC_PRETTY_FUNCTION
4644 2007-11-07 Alexander Larsson <alexl@redhat.com>
4646 * gio/gdesktopappinfo.c:
4647 (update_default_list):
4648 Remove double semicolon.
4649 Patch from Jens Granseuer
4651 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4653 * docs/reference/gio/gio-sections.txt:
4654 * gio/gbufferedinputstream.c:
4655 * gio/gbufferedinputstream.h:
4656 * gio/gdatainputstream.c:
4657 * gio/gfileenumerator.c:
4658 * gio/gioscheduler.c:
4659 * gio/gunionvolumemonitor.c:
4661 * programs/gio-save.c:
4662 Fix typo: availible -> available. Unfortuntely this breaks API
4663 and ABI as g_buffered_input_stream_get_available() was renamed.
4665 * gio/gunixmounts.c:
4666 * gio/gbufferedinputstream.c:
4667 Add guards for public functions.
4669 2007-11-06 Ross Burton <ross@openedhand.com>
4671 * docs/reference/gio/Makefile.am:
4672 Fix invalid += usage which automake 1.10 doesn't like.
4674 2007-11-06 Alexander Larsson <alexl@redhat.com>
4677 (g_app_launch_context_class_init):
4680 Patch from Ross Burton
4682 2007-11-06 Alexander Larsson <alexl@redhat.com>
4685 Post release version bump
4687 === gio-standalone 0.1.1 ===
4689 2007-11-06 Alexander Larsson <alexl@redhat.com>
4692 Bump version to 0.1.1
4694 * gio/gsimpleasyncresult.c:
4695 (g_simple_async_result_set_from_error):
4696 Remove bogus g_return_if_fail
4698 2007-11-06 Alexander Larsson <alexl@redhat.com>
4701 The name is gio-standalone
4704 Add top src/builddir to includedir
4706 2007-11-06 Alexander Larsson <alexl@redhat.com>
4708 * docs/reference/gio/gio-sections.txt:
4710 * gio/gbufferedinputstream.c:
4711 * gio/gbufferedoutputstream.c:
4712 * gio/gcancellable.c:
4713 * gio/gdatainputstream.h:
4714 * gio/gdataoutputstream.c:
4715 * gio/gdataoutputstream.h:
4716 * gio/gdirectorymonitor.c:
4718 * gio/gfileattribute.c:
4719 * gio/gfileattribute.h:
4720 * gio/gfileenumerator.c:
4721 * gio/gfileenumerator.h:
4724 * gio/gfileinputstream.h:
4725 * gio/gfilemonitor.c:
4726 * gio/gfileoutputstream.h:
4727 * gio/glocalfilemonitor.h:
4728 * gio/glocalfileoutputstream.h:
4729 * gio/gmemoryinputstream.c:
4730 * gio/gmemoryoutputstream.c:
4731 * gio/gmountoperation.c:
4732 * gio/goutputstream.c:
4733 * gio/goutputstream.h:
4735 * gio/gsimpleasyncresult.c:
4736 * gio/gunixmounts.c:
4737 * gio/gunixmounts.h:
4739 * gio/inotify/inotify-helper.c:
4740 Fix gtk-doc warnings
4742 Patch from Ross Burton
4744 2007-11-06 Alexander Larsson <alexl@redhat.com>
4746 * gio/gfilenamecompleter.c:
4747 (g_filename_completer_get_completions):
4750 * gio/gunixvolume.c:
4751 Remove unused function
4753 Patches from Ross Burton
4755 2007-11-06 Alexander Larsson <alexl@redhat.com>
4760 Padding not needed for interfaces
4762 2007-11-06 Alexander Larsson <alexl@redhat.com>
4764 * gio/gfilemonitor.c:
4768 Make giotypes.h an internal file
4771 * gio/gbufferedinputstream.h:
4772 * gio/gbufferedoutputstream.h:
4773 * gio/gcancellable.h:
4774 * gio/gdatainputstream.h:
4775 * gio/gdataoutputstream.h:
4776 * gio/gdirectorymonitor.c:
4777 * gio/gdirectorymonitor.h:
4782 * gio/gfileattribute.h:
4783 * gio/gfileenumerator.h:
4788 * gio/gfilemonitor.c:
4789 * gio/gfilemonitor.h:
4790 * gio/gfilenamecompleter.c:
4791 * gio/gfilenamecompleter.h:
4792 * gio/gfilterinputstream.h:
4793 * gio/gfilteroutputstream.h:
4794 * gio/ginputstream.h:
4795 * gio/gmemoryinputstream.h:
4796 * gio/gmemoryoutputstream.h:
4797 * gio/gmountoperation.c:
4798 * gio/gmountoperation.h:
4799 * gio/gnativevolumemonitor.c:
4800 * gio/goutputstream.h:
4803 * gio/gsimpleasyncresult.c:
4804 * gio/gsimpleasyncresult.h:
4805 * gio/gsocketinputstream.h:
4806 * gio/gsocketoutputstream.h:
4807 * gio/gthemedicon.c:
4808 * gio/gthemedicon.h:
4812 * gio/gvolumemonitor.c:
4813 * gio/gvolumemonitor.h:
4814 Add padding in classes where it seems useful
4815 Don't include giotypes.h from public headers
4816 Move in Class definitions into c file where possible
4821 2007-11-06 Alexander Larsson <alexl@redhat.com>
4823 * docs/reference/gio/gio-docs.xml:
4824 Better structure for API docs
4826 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4829 * gio/gloadableicon.c:
4830 * gio/gsimpleasyncresult.c:
4831 * gio/gthemedicon.c:
4832 Add some more guards to public functions. Only files missing are now
4835 2007-11-06 Alexander Larsson <alexl@redhat.com>
4837 * docs/reference/gio/gio-docs.xml:
4838 Remove old files, add missing ones
4840 2007-11-06 Alexander Larsson <alexl@redhat.com>
4842 * docs/reference/gio/gio-sections.txt:
4845 Hide implementation classes
4847 * gio/gdriveprivate.h:
4848 * gio/gvolumeprivate.h:
4849 Remove non-existing function declarations
4851 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4854 Fix compilation warnings and add guards to the new functions.
4856 * gio/gasyncresult.c:
4858 Add guards to the public functions.
4861 Implement get_path().
4863 2007-11-06 Alexander Larsson <alexl@redhat.com>
4865 * gio/gfilenamecompleter.c:
4866 Make g_filename_completer_get_completions
4867 return char ** instead of GList for
4870 * docs/reference/gio/gio-docs.xml:
4871 * docs/reference/gio/gio-sections.txt:
4873 * gio/gasyncresult.c:
4874 * gio/gbufferedinputstream.c:
4875 * gio/gbufferedoutputstream.c:
4876 * gio/gcancellable.c:
4877 * gio/gcontenttype.c:
4878 * gio/gdatainputstream.c:
4879 * gio/gdataoutputstream.c:
4880 * gio/gdesktopappinfo.c:
4881 * gio/gdirectorymonitor.c:
4885 * gio/gfileattribute.c:
4886 * gio/gfileenumerator.c:
4889 * gio/gfileinputstream.c:
4890 * gio/gfilemonitor.c:
4891 * gio/gfilenamecompleter.c:
4892 * gio/gfilenamecompleter.h:
4893 * gio/gfileoutputstream.c:
4894 * gio/gfilterinputstream.c:
4896 * gio/ginputstream.c:
4898 * gio/gioscheduler.c:
4899 * gio/gloadableicon.c:
4900 * gio/glocaldirectorymonitor.c:
4902 * gio/glocalfileinputstream.c:
4903 * gio/glocalfilemonitor.c:
4904 * gio/glocalfileoutputstream.c:
4906 * gio/gmemoryinputstream.c:
4907 * gio/gmemoryoutputstream.c:
4908 * gio/gmountoperation.c:
4909 * gio/goutputstream.c:
4910 * gio/gpollfilemonitor.c:
4912 * gio/gsimpleasyncresult.c:
4913 * gio/gsocketinputstream.c:
4914 * gio/gsocketoutputstream.c:
4915 * gio/gthemedicon.c:
4916 * gio/gunionvolumemonitor.c:
4918 * gio/gunixmounts.c:
4919 * gio/gunixvolume.c:
4920 * gio/gunixvolumemonitor.c:
4924 * gio/gvolumemonitor.c:
4925 * gio/gwin32appinfo.c:
4926 Add (mostly stub) doc strings to public functions.
4927 Patch from Andrew Walton (awalton@gmail.com)
4929 2007-11-06 Alexander Larsson <alexl@redhat.com>
4931 * gio/gappinfo.[ch]:
4932 Added GAppLaunchContext object and pass that to launch.
4933 This allows simple implementation of both
4934 launch-on-screen and startup notification via a gtk+
4935 subclass of GAppLaunchContext
4937 * gio/gdesktopappinfo.c:
4938 Implement GAppLaunchContext API
4940 * gio/gwin32appinfo.c:
4943 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4945 * gio/gmountoperation.c:
4946 Add some guards to GMountOperation's public functions.
4948 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4952 * gio/gcancellable.c:
4953 * gio/gdirectorymonitor.c:
4955 * gio/gfileenumerator.c:
4956 * gio/gfilemonitor.c:,
4957 * gio/gfilenamecompleter.c:
4960 * gio/gioscheduler.c:
4964 * gio/gvolumemonitor.c:
4965 Add even more guards to various public functions.
4967 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4970 Add guards to the public functions of GAppInfo.
4972 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4974 * gio/gcontenttype.c:
4975 Add some more guards for public functions.
4977 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4979 * gio/fam/fam-module.c:
4980 * gio/fam/gfamdirectorymonitor.c:
4981 * gio/fam/gfamdirectorymonitor.h:
4982 * gio/fam/gfamfilemonitor.c:
4983 * gio/fam/gfamfilemonitor.h:
4984 * gio/inotify/ginotifydirectorymonitor.c:
4985 * gio/inotify/ginotifydirectorymonitor.h:
4986 * gio/inotify/ginotifyfilemonitor.c:
4987 * gio/inotify/ginotifyfilemonitor.h:
4988 Add proper copyright information and remove an unused variable
4989 in the GInotifyFileMonitor constructor.
4991 * gio/gcancellable.c:
4992 Add a guard for a public function and an assertion to prevent
4993 an undefined program state.
4995 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4997 * gio/gfileattribute.c:
4998 Don't run into an assertion if the given attribute value is NULL
4999 in g_file_attribute_value_get_*() but instead return a fallback
5000 value that makes sense in most situations. Passing them a attribute
5001 value with the wrong type will still run into an assertion.
5003 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5005 * gio/gfileattribute.c:
5007 Add even more guards to the public functions. Also fix the refcounting
5008 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5009 let g_file_info_list_attributes() filter the attributes by namespace
5010 instead of simply ignoring the namespace parameter.
5012 2007-11-03 Sven Herzberg <sven@imendio.com>
5014 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5015 (This makes gio work on MacOS X again)
5017 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5020 Build the gio subdirectory before the docs. Otherwise the build will
5023 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5024 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5025 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5026 Add guards to the public functions.
5028 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5030 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5031 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5032 to prevent a compiler warning.
5034 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5035 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5036 return something in the non-void function find_topdir_for().
5038 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5045 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5047 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5048 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5049 * gwin32appinfo.c (g_win32_app_info_launch):
5050 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5051 envp_for_startup_id, g_desktop_app_info_launch,
5052 g_desktop_app_info_launch_uris):
5054 Give an opaque 'startup_id' string instead of 'envp'.
5055 Support empty file lists for launching new windows.
5056 Fix infinite recursion bug when launching URIs.
5058 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5061 Add guard to the new g_file_get_uri_scheme() function.
5063 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5066 Convert a g_return_val_if_fail() to setting the GError instead as
5067 otherwise applications have to verify the parameter before otherwise
5068 and the parameter might come directly from the user.
5070 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5072 * gio/inotify/ginotify*.[ch]:
5073 Add missing copyright information.
5075 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5078 Add guards in the beginning of public functions to check for valid
5079 parameters and fix a bug in copy_stream_with_progress() that could've
5080 caused writing less bytes than reading.
5081 * gio/glocalfileinfo.c:
5082 Check for a NULL parameter and set the GError accordingly then.
5083 * gio/goutputstream.c:
5084 Fix the same bug as in gfile.c that could've caused writing less bytes
5085 than reading in g_output_stream_real_splice().
5087 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5090 Use the correct gvolumeprivate.h naming
5092 2007-11-01 Christian Kellner <gicmo@gnome.org>
5095 Remove leftover "$(daemon_sources)" entry.
5097 2007-11-01 Christian Kellner <gicmo@gnome.org>
5102 Add copyright information to source files.
5104 2007-11-01 Alexander Larsson <alexl@redhat.com>
5108 Add g_file_get_uri_scheme
5110 2007-11-01 Alexander Larsson <alexl@redhat.com>
5113 * gio/gdesktopappinfo.c:
5114 * gio/gwin32appinfo.c:
5115 Add g_app_info_get_default_for_uri_scheme.
5117 2007-11-01 Alexander Larsson <alexl@redhat.com>
5120 Correct filename for gdriveprivate.h
5122 2007-10-31 Alexander Larsson <alexl@redhat.com>
5125 Rename id:value to id:file
5128 * gio/glocalfileinfo.c:
5131 2007-10-31 Alexander Larsson <alexl@redhat.com>
5133 * gio/gunixvolume.c:
5135 Remove g_volume_get_platform_id, as thats not
5136 needed with the simpler union volume monitor
5138 2007-10-31 Alexander Larsson <alexl@redhat.com>
5141 * gio/guniondrive.[ch]: Removed.
5142 * gio/gunionvolume.[ch]: Removed.
5143 Remove GUnionDrive/Volume
5145 * gio/gunionvolumemonitor.c:
5146 Simplify union volume monitor, now we
5147 only have one native volume monitor and
5148 we use the actual volumes/drives from the
5149 child monitors instead of wrapping them
5151 * gio/gnativevolumemonitor.[ch]:
5152 Base class for native volume monitors.
5153 Includes priority and get_volume_for_mountpoint
5156 Add g_file_find_enclosing_volume
5159 Remove volume name fs attribute
5160 Add readonly fs attribute
5163 Implement readonly attribute
5164 remove volume name attribute
5165 Implement find_enclosing volume
5167 * gio/gunixmounts.c:
5168 Add a volume for "/".
5170 * gio/gunixvolume.[ch]:
5171 Set better name for /
5173 * gio/gunixvolumemonitor.[ch]:
5174 Derive from GNativeVolumeMonitor
5175 Implement get_volume_for_mountpoint
5178 GVolume typedef moved to gfile.h
5180 * gio/gvolumeprivate.h:
5181 Add g_volume_get_for_mount_path
5183 2007-10-31 Alexander Larsson <alexl@redhat.com>
5185 * gio/gunixmounts.[ch]:
5186 Add cache info to unix mount listers
5187 Make getmntent use threadsafe
5188 Add is_system_internal attribute for GUnixMount
5190 * gio/gunixvolume.c:
5191 (g_unix_volume_new):
5192 Use is_system_internal instead of own code
5194 * gio/glocaldirectorymonitor.c:
5195 * gio/gunixvolumemonitor.c:
5196 Update to new gunixmounts API
5201 2007-10-30 Alexander Larsson <alexl@redhat.com>
5204 Add volume name fsinfo attribute
5207 Read volume name info
5209 * gio/gunionvolumemonitor.c:
5210 Fix infinite loops when finalizing a union volume monitor
5212 2007-10-30 Alexander Larsson <alexl@redhat.com>
5214 * gio/goutputstream.[ch]:
5215 Add splice() with default implementation
5217 * gio/gsocketoutputstream.c:
5218 (g_socket_output_stream_write):
5219 Return error on cancellation correctly.
5221 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5223 * gio/glocalfile.c (g_local_file_trash):
5224 Do not leak a string.
5226 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5228 * gio/gfile.c (g_file_load_contents):
5229 Unref the stream after closing it.
5231 2007-10-25 Alexander Larsson <alexl@redhat.com>
5233 * gio/gioscheduler.h:
5236 2007-10-25 Alexander Larsson <alexl@redhat.com>
5240 Add g_file_has_uri_scheme and implement for local files
5242 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5244 * gio/gdesktopappinfo.c: do not leak a string.
5246 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5248 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5249 (g_local_directory_monitor_new):
5250 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5251 (g_local_file_monitor_new):
5252 Only look for the monitor type that should be used the first time
5253 and use g_qsort_with_data() instead of our own bubble sort
5256 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5259 * gio/fam/Makefile.am:
5260 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5261 * gio/fam/fam-helper.h:
5262 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5263 * gio/fam/gfamdirectorymonitor.c:
5264 * gio/fam/gfamdirectorymonitor.h:
5265 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5266 * gio/fam/gfamfilemonitor.h:
5267 * gio/glocaldirectorymonitor.c:
5268 * gio/glocaldirectorymonitor.h:
5269 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5270 * gio/glocalfilemonitor.h:
5271 * gio/inotify/Makefile.am:
5272 * gio/inotify/ginotifydirectorymonitor.c:
5273 * gio/inotify/ginotifydirectorymonitor.h:
5274 * gio/inotify/ginotifyfilemonitor.c:
5275 * gio/inotify/ginotifyfilemonitor.h:
5276 Implement the FAM and Inotify monitors as
5277 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5278 their own GIO module. GLocal(Directory|File)Monitor will use the
5279 monitor with the highest rank that is supported on that machine.
5281 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5284 Change GIO module dir to $(libdir)/gio/modules and change
5285 the log domain from GVFS to GIO. Also only export symbols starting
5286 with g_ in the resulting library.
5287 * gio/test-streams.c: (main):
5288 Set log handler for the GIO log domain.
5290 2007-10-22 Alexander Larsson <alexl@redhat.com>
5292 * gio/gfilenamecompleter.[ch]:
5293 Add g_filename_completer_set_dirs_only
5295 2007-10-22 Alexander Larsson <alexl@redhat.com>
5298 * gio/gurifuncs.[ch]:
5299 Add some simple URI helpers
5301 * gio/gfilenamecompleter.[ch]:
5302 Added object for filename (parse name actually) completion
5305 Handle ~ in parse names
5307 2007-10-17 Alexander Larsson <alexl@redhat.com>
5310 * gio/glocalfileinfo.c:
5311 Add and implement id:value attribute
5313 2007-10-17 Alexander Larsson <alexl@redhat.com>
5316 * gio/guniondrive.c:
5318 Add and implement g_drive_has_volumes
5320 2007-10-17 Alexander Larsson <alexl@redhat.com>
5323 * gio/glocalfileinfo.[ch]:
5324 Add unix:is_mountpoint and implement for local files
5326 2007-10-16 Alexander Larsson <alexl@redhat.com>
5328 * gio/gunionvolumemonitor.c:
5329 (g_union_volume_monitor_init):
5330 Fix up the unix type getting so that it works with gcc
5332 2007-10-12 Alexander Larsson <alexl@redhat.com>
5335 * gio/glocalfileinfo.c:
5336 Add thumbnail:failed to file info
5338 2007-10-12 Richard Hult <richard@imendio.com>
5340 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5341 optimizing away the get_type call (happens with some gcc versions,
5342 like the one shipped with OS X 10.4).
5344 2007-10-12 Alexander Larsson <alexl@redhat.com>
5346 * gio/glocalfileinfo.c:
5347 (_g_local_file_info_set_attribute):
5348 Fix build if not HAVE_XATTR
5349 Patch from Milosz Derezynski <internalerror@gmail.com>
5351 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5353 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5354 around for review, otherwise I would have asked you before
5357 2007-10-11 Alexander Larsson <alexl@redhat.com>
5360 Add thumbnail:path attribute
5362 * gio/glocalfileinfo.c:
5363 Implement thumbnail:path for local files
5365 2007-10-11 Alexander Larsson <alexl@redhat.com>
5367 * gio/glocalfileinfo.c:
5368 (_g_local_file_info_get):
5369 Avoid duplicate icon names
5371 2007-10-11 Alexander Larsson <alexl@redhat.com>
5373 * gio/gthemedicon.[ch]:
5374 Change g_themed_icon_get_names return type to const
5376 2007-10-10 Alexander Larsson <alexl@redhat.com>
5378 * gio/glocalfileinfo.c:
5379 Don't reference freed memory
5381 2007-10-10 Alexander Larsson <alexl@redhat.com>
5383 * gio/gfileattribute.c:
5386 * gio/glocalfileinfo.c:
5389 2007-10-10 Alexander Larsson <alexl@redhat.com>
5392 Check for NULL icons
5394 * gio/gfileattribute.c:
5395 Don't dup when getting objects (same as for string attributes)
5397 * gio/gicon.c (g_icon_equal):
5398 Safely handle NULLs in equal
5400 2007-10-10 Alexander Larsson <alexl@redhat.com>
5403 Fix c++ compilation issues
5404 Patch from Milosz Derezynski <internalerror@gmail.com>
5406 2007-10-10 Alexander Larsson <alexl@redhat.com>
5408 * programs/gio-monitor-dir.c:
5409 Don't crash if dir monitor not supported.
5411 2007-10-09 Alexander Larsson <alexl@redhat.com>
5414 Add missing G_END_DECLS
5416 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5418 * gio/gfile.c: (g_file_set_display_name),
5419 (g_file_query_settable_attributes),
5420 (g_file_query_writable_namespaces):
5421 Return NULL not FALSE on errors as the return type is a pointer.
5423 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5425 * gio/glocalfile.c: (g_local_file_monitor_file):
5426 Don't call monitor_file on the default interface vtable (which
5427 is NULL) but simply return NULL. The caller, GFile, will create a
5428 polling monitor if NULL is returned.
5430 2007-10-09 Alexander Larsson <alexl@redhat.com>
5434 * gio-unix-2.0.pc.in:
5435 Add gio-unix-2.0.pc if OS_UNIX
5438 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5440 2007-10-09 Alexander Larsson <alexl@redhat.com>
5442 * gio/gunixmounts.[ch]:
5443 Make unix mount monitoring API sane.
5444 Now its just a object with mounts_changed
5445 and mountpoints_changed signals.
5447 * gio/glocaldirectorymonitor.c:
5448 * gio/gunixvolumemonitor.c:
5449 Use new mount monitor api
5451 2007-10-09 Alexander Larsson <alexl@redhat.com>
5453 * gio/gunixmounts.[ch]:
5454 Move guess type into one call for mounts and one for mountpoints
5457 * gio/gunixvolume.c:
5460 2007-10-09 Alexander Larsson <alexl@redhat.com>
5462 * gio/gunixmounts.[ch]:
5463 Remove _ prefix in preparation to make this semi-public
5464 Hide implementation of structs
5466 * gio/glocaldirectorymonitor.c:
5468 * gio/gunixvolume.c:
5469 * gio/gunixvolumemonitor.c:
5470 Update for above API changes
5472 2007-10-08 Alexander Larsson <alexl@redhat.com>
5475 Better polling fallback. This also handles the case where we have
5476 a monitor_file implementation, but it fails.
5478 2007-10-08 Alexander Larsson <alexl@redhat.com>
5482 * gio/gunixmounts.c:
5483 * programs/gio-monitor-dir.c:
5484 * programs/gio-monitor-file.c:
5485 Added cancellable to file monitoring calls.
5486 These are really sync calls and need this.
5488 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5490 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5491 (g_local_vfs_class_init):
5492 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5493 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5495 2007-10-05 Alexander Larsson <alexl@redhat.com>
5497 * gio/gdirectorymonitorprivate.h:
5498 * gio/gfilemonitorprivate.h:
5499 * gio/gdirectorymonitor.h:
5500 * gio/gfilemonitor.h:
5501 Remove *private.h and move to the public API, so that
5502 we can do implementations outside gio (such as in gvfs)
5504 * gio/gdirectorymonitor.c:
5505 * gio/gfilemonitor.c:
5506 * gio/glocaldirectorymonitor.c:
5507 * gio/gpollfilemonitor.c:
5508 * gio/inotify/inotify-helper.c:
5509 * gio/fam/fam-helper.c:
5510 Update to the new header names
5512 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5514 * gio/gdirectorymonitor.c:
5515 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5518 2007-10-04 Alexander Larsson <alexl@redhat.com>
5520 * gio/glocalfileinfo.c (get_access_rights):
5521 Set CAN_TRASH when we can move the file.
5522 We should really also check for a parent trash dir.
5524 2007-10-04 Alexander Larsson <alexl@redhat.com>
5526 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5527 Add can_trash access attribute
5529 2007-10-04 Alexander Larsson <alexl@redhat.com>
5532 (g_local_file_trash):
5533 Create info file first. This is per-spec and allows
5534 us to actually trash directories.
5536 2007-10-02 Alexander Larsson <alexl@redhat.com>
5538 * gio/gdesktopappinfo.c:
5539 Implement the new mime support code.
5540 Always set app as handling mimetype when being set as default for it
5542 2007-10-01 Alexander Larsson <alexl@redhat.com>
5544 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5545 Fix up check for xattrs:
5547 2007-10-01 Alexander Larsson <alexl@redhat.com>
5550 (g_app_info_set_as_default_for_extension):
5551 (g_app_info_add_supports_type):
5552 (g_app_info_can_remove_supports_type):
5553 (g_app_info_remove_supports_type):
5554 Make these fail nicely if not implemented
5556 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5558 * gio/glocalfileoutputstream.c:
5559 * gio/glocalfileoutputstream.h:
5564 * programs/gio-save.c:
5565 Add a GFileCreateFlags argument to operations that can create
5568 2007-10-01 Alexander Larsson <alexl@redhat.com>
5570 * gio/gappinfo.[ch]:
5571 * gio/gdesktopappinfo.c:
5572 Add more (stubbed out) mime API needed for nautilus
5574 2007-10-01 Alexander Larsson <alexl@redhat.com>
5577 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5578 Add g_app_info_set_as_default_for_extension.
5580 * gio/gdesktopappinfo.c:
5581 Dummy for g_app_info_set_as_default_for_extension
5582 Support flags in g_app_info_create_from_commandline
5584 * gio/gwin32appinfo.c:
5586 Update for API changes
5588 * gio/gthemedicon.c:
5589 Properly NULL-terminate list of icon names
5591 2007-09-28 Alexander Larsson <alexl@redhat.com>
5593 * gio/gloadableicon.h:
5594 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5596 2007-09-28 Alexander Larsson <alexl@redhat.com>
5599 Install headers in $includedir/gio-standalone/
5601 * gio-2.0.pc.in: Added.
5602 * gio-standalone.pc.in: Removed.
5605 Renamed pkg-config file to match glib (for future move)
5606 Update to the new include dir
5609 Add more TODO comments
5611 2007-09-28 Alexander Larsson <alexl@redhat.com>
5613 * gio/gdesktopappinfo.[ch]:
5614 Expose new_from_filename
5615 Add getter for is_hidden and handle it better
5617 2007-09-28 Alexander Larsson <alexl@redhat.com>
5619 * gio/gfileinfo.[ch]:
5620 Rename g_file_size_format_for_display to
5621 g_format_file_size_for_display.
5622 Now it doesn't have the g_file prefix, so we
5623 can later move it to glib.
5625 2007-09-28 Alexander Larsson <alexl@redhat.com>
5627 * gio/gappinfo.[ch]:
5628 Add g_app_info_get_id and g_app_info_get_executable.
5629 Make all getters non-reffing
5630 Make g_app_info_launch take GFile arguments.
5631 Add must_support_uris argument to g_app_info_get_default_for_type.
5633 * gio/gwin32appinfo.c:
5634 Update to GAppInfo api changes
5636 * gio/gdesktopappinfo.c:
5637 Update to GAppInfo api changes
5638 Implement supports_xdg_startup_notify
5640 * gio/gfileicon.c (g_file_icon_get_file):
5641 Make getter non-reffing.
5646 2007-09-27 Alexander Larsson <alexl@redhat.com>
5648 * gio/gfileinfo.[ch]:
5649 Add g_file_size_format_for_display helper
5651 2007-09-27 Alexander Larsson <alexl@redhat.com>
5653 * gio/glocalfileinfo.c:
5654 Set UNIX_GID from gid, not from uid
5656 2007-09-27 Alexander Larsson <alexl@redhat.com>
5659 Add g_file_set_attributes_async
5661 2007-09-27 Alexander Larsson <alexl@redhat.com>
5663 * gio/glocalfile.c (g_local_file_set_display_name):
5664 Fix set_display_name to actually rename to the right place.
5665 Use lstat to look for existing files so we don't overwrite
5668 2007-09-26 Alexander Larsson <alexl@redhat.com>
5671 Add g_file_set_display_name_async()
5673 2007-09-26 Alexander Larsson <alexl@redhat.com>
5676 Add load_partial_contents async calls
5679 Make internal function static
5681 2007-09-26 Alexander Larsson <alexl@redhat.com>
5683 * gio/glocalfileinfo.c:
5684 Correctly detect broken symlinks
5686 2007-09-26 Alexander Larsson <alexl@redhat.com>
5688 * gio/gcancellable.c (g_cancellable_cancel):
5689 Allow cancel on NULL cancellable
5691 2007-09-25 Alexander Larsson <alexl@redhat.com>
5693 * gio/gsimpleasyncresult.c:
5694 Don't allocate g_error manually.
5695 Fixes g_slice/g_new mixup crash
5697 2007-09-25 Alexander Larsson <alexl@redhat.com>
5699 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5700 Actually set active_backend.
5701 This means the monitor will be cancelled correctly.
5703 2007-09-25 Alexander Larsson <alexl@redhat.com>
5705 * gio/gdirectorymonitor.c:
5706 Set timeout to NULL when destroying
5708 2007-09-25 Alexander Larsson <alexl@redhat.com>
5711 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5712 that is a better description of the error.
5714 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5716 * gio/gvfs.c: (g_vfs_get_local):
5717 Make the local vfs variable static. The same instance should
5720 2007-09-24 Alexander Larsson <alexl@redhat.com>
5722 * gio/glocalfileinfo.c:
5723 Pass in actual length read into sniffer, not the length
5726 2007-09-21 Alexander Larsson <alexl@redhat.com>
5728 * gio/gfileenumerator.c:
5731 * gio/gfileinputstream.c:
5732 * gio/gfileoutputstream.c:
5733 * gio/ginputstream.c:
5734 * gio/goutputstream.c:
5735 Don't crash if async callbacks are NULL
5737 2007-09-20 Alexander Larsson <alexl@redhat.com>
5740 Add async enumerate_children method and default
5743 2007-09-20 Alexander Larsson <alexl@redhat.com>
5746 Add g_file_contains_file & g_file_get_relative_path, since they
5747 were needed for nautilus.
5748 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5753 Implement new methods
5755 2007-09-17 Alexander Larsson <alexl@redhat.com>
5758 * gio/gfileinputstream.[ch]:
5759 * gio/gfileoutputstream.[ch]:
5761 * gio/glocalfileenumerator.[ch]:
5762 * gio/glocalfileinfo.[ch]:
5763 * gio/glocalfileinputstream.c:
5764 * gio/glocalfileoutputstream.c:
5765 * gio/gpollfilemonitor.c:
5766 * programs/gio-copy.c:
5767 * programs/gio-info.c:
5768 * programs/gio-move.c:
5769 Rename get_file_info to query_info() to make it clearer
5770 that these are not simple getters, but do i/o.
5772 2007-09-17 Alexander Larsson <alexl@redhat.com>
5774 * gio/gdatainputstream.[ch]:
5775 * gio/test-streams.c:
5776 Use _read_XXX instead of _get_XXX for the i/o calls
5779 2007-09-17 Alexander Larsson <alexl@redhat.com>
5782 Added needed stuff to TODO comment
5784 2007-09-17 Alexander Larsson <alexl@redhat.com>
5786 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5787 Don't error out removing the backup copy if it doesn't
5790 2007-09-14 Alexander Larsson <alexl@redhat.com>
5792 * programs/Makefile.am:
5793 * programs/gvfs-*.c:
5795 Renamed apps from gvfs-xxx to gio-xxx.
5797 2007-09-14 Alexander Larsson <alexl@redhat.com>
5800 * gio/gfileoutputstream.[ch]:
5801 * gio/glocalfileoutputstream.c:
5802 * programs/gvfs-save.c:
5803 g_file_output_stream_get_etag doesn't do i/o, so remove
5804 cancellation and error.
5806 2007-09-14 Alexander Larsson <alexl@redhat.com>
5809 Add new_etag output to replace_contents functions
5811 2007-09-14 Alexander Larsson <alexl@redhat.com>
5813 * gio/gfileoutputstream.[ch]:
5814 Add async get_file_info and default implementation
5816 2007-09-14 Alexander Larsson <alexl@redhat.com>
5818 * gio/gfileinputstream.c:
5819 Implement fallback wrapper for async get_file_info
5821 2007-09-14 Alexander Larsson <alexl@redhat.com>
5824 Add etag out argument to load_contents
5829 2007-09-14 Alexander Larsson <alexl@redhat.com>
5831 * gio/gcontenttype.c (looks_like_text):
5832 Whitespace like tab, cr and lf do not make the
5835 2007-09-14 Alexander Larsson <alexl@redhat.com>
5837 * gio/gfileinputstream.[ch]:
5838 Add async get_file_info.
5840 2007-09-13 Alexander Larsson <alexl@redhat.com>
5842 * gio/goutputstream.c (g_output_stream_write_all):
5843 Allow NULL for bytes_written
5845 2007-09-13 Alexander Larsson <alexl@redhat.com>
5847 * gio/gmemoryinputstream.[ch]:
5848 Add accessors for data
5850 2007-09-13 Alexander Larsson <alexl@redhat.com>
5852 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5853 Don't crash if length is NULL