1 2009-03-13 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.20.0 ===
5 2009-03-04 Alexander Larsson <alexl@redhat.com>
7 Bug 573843 – g_get_current_dir returns non-absolute path
9 * glocalfile.c (canonicalize_filename):
10 Handle the case where g_get_current_dir() returns a non-absolute path.
12 2009-03-04 Alexander Larsson <alexl@redhat.com>
14 Bug 573970 – crash in gunixvolumemonitor:update_mounts when unmounting
16 * gunionvolumemonitor.c:
17 (g_union_volume_monitor_dispose):
18 Run dispose on child monitors when disposing.
20 * gunixvolumemonitor.c:
21 Remove all volumes and mount on dispose to avoid circular
22 dependencies not freeing the monitor
24 2009-03-03 Alexander Larsson <alexl@redhat.com>
26 Bug 561172 – gnome-open fails on local URIs with anchors
29 Don't force uris to filenames if the uri has an anchor, because
30 that would strip the anchor.
33 Strip anchor from file:// uris when creating GFile, since
34 g_filename_from_uri doesn't handle them.
36 2009-03-03 Alexander Larsson <alexl@redhat.com>
38 Bug 562613 – Missing const modifier in string parameters
40 * gfileinputstream.[ch]:
41 * gfileoutputstream.[ch]:
42 * glocalfileinfo.[ch]:
43 Make string arguments const if used as such.
45 2009-03-03 Alexander Larsson <alexl@redhat.com>
47 * glocalfile.c (g_local_file_query_filesystem_info):
48 Handle filesystems no supporting reporting how much is free.
49 This fixes bug 573454 where the filesystem not supporting this
50 is the gvfs smb backend over the fuse filesystem.
52 2009-03-02 Matthias Clasen <mclasen@redhat.com>
54 * === Released 2.19.10 ===
56 2009-03-02 Matthias Clasen <mclasen@redhat.com>
58 * === Released 2.19.9 ===
60 2009-03-02 Matthias Clasen <mclasen@redhat.com>
62 * gioenums.h: Add a Since: tag
64 2009-03-01 Matthias Clasen <mclasen@redhat.com>
66 Bug 573658 – Deadlock in giomodule.c
68 * giomodule.c: Use a separate lock for extension point registration
69 to avoid deadlock. Discovered by Torsten Schoenfeld
71 2009-03-01 Matthias Clasen <mclasen@redhat.com>
73 * gdatainputstream.c: Fix docs
75 2009-02-27 Matthias Clasen <mclasen@redhat.com>
77 Bug 573421 – Clarify message format in GMountOperation
79 * gmountoperation.c: Document that the first line of a
80 multi-line message should be interpreted as a heading.
82 2009-02-27 David Zeuthen <davidz@redhat.com>
84 Bug 573462 – GEmblemedIcon leak
86 * gemblemedicon.c (g_emblemed_icon_finalize):
87 Avoid leaking a GList.
89 2009-02-27 Alexander Larsson <alexl@redhat.com>
93 Split out the extension point registration code to its
97 Ensure extension points are registered before extending it.
98 It might not have happened yet if g_vfs_get_local() is called.
100 2009-02-26 Alexander Larsson <alexl@redhat.com>
102 Bug 540461 – g_memory_output_stream_get_data_size() doesn't behave as document
103 * gmemoryoutputstream.c:
104 Track actual valid size, even if we later seek back.
106 * tests/memory-output-stream.c:
109 2009-02-26 Alexander Larsson <alexl@redhat.com>
111 Bug 543183 – Clarify docs for g_file_has_prefix
113 * gfile.c: (g_file_has_prefix):
114 Clarify how the prefix matching works.
116 2009-02-26 Alexander Larsson <alexl@redhat.com>
119 Support desktop file key X-GIO-NoFuse which disables
120 use of fuse pathnames for %u and %U arguments.
122 2009-02-25 Alexander Larsson <alexl@redhat.com>
124 Bug 570073 – Add support for reading filesystems on Interix
126 * gunixmounts.c (_g_get_unix_mounts):
127 Support Interix. Patch from Fabian Groffen
129 2009-02-25 Paolo Borelli <pborelli@katamail.com>
131 Bug 570069 – wrong preprocessor directive in gio/glocalfileinfo.c
133 * glocalfileinfo.c: fix preprocessor condition. Patch by Markus Duft.
135 2009-02-23 Alexander Larsson <alexl@redhat.com>
138 Remove accidentally commited spew
140 2009-02-20 Alexander Larsson <alexl@redhat.com>
143 (g_content_type_guess):
144 Don't ever sniff desktop files when the filename is known.
145 In other words, only allow desktop files with the .desktop extension
146 and when the filename isn't known.
147 This is a security precaution since desktop files can execute
148 arbitrary code when launched and we don't want to allow them to
149 try and hide as another type. There is no legit reason to not
150 have the .desktop extension anyway.
152 2009-02-19 Alexander Larsson <alexl@redhat.com>
154 Bug 549298 – impossible to copy files with p (pipe) flag
157 (file_copy_fallback):
158 Error out if the source file is a special file
160 2009-02-18 Alexander Larsson <alexl@redhat.com>
162 Bug 560564 – Replacing a symlink with its linked file truncates the original file
165 Add G_FILE_CREATE_REPLACE_DESTINATION
167 * glocalfileoutputstream.c:
168 (handle_overwrite_open):
169 (_g_local_file_output_stream_replace):
170 Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.
173 (file_copy_fallback):
174 Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
177 2009-02-17 Ryan Lortie <desrt@desrt.ca>
179 * gfileinfo.c: unref the destination's attribute matcher before
182 2009-02-17 Matthias Clasen <mclasen@redhat.com>
184 * === Released 2.19.8 ===
186 2009-02-17 Matthias Clasen <mclasen@redhat.com>
188 * gio.symbols: Add missing exports for new API
190 * gdatainputstream.c: Add missing Since: tags.
192 2009-02-16 Matthias Clasen <mclasen@redhat.com>
194 * === Released 2.19.7 ===
196 2009-02-16 Matthias Clasen <mclasen@redhat.com>
198 * gmountoperation.[hc]: Add an "aborted" signal to abort a
199 mount operation from the backend side.
201 * gvolume.h: Add docs regarding the "aborted" signal.
203 2009-02-16 Ryan Lortie <desrt@desrt.ca>
205 Bug 505042 – add file attribute for actually used file size in bytes
207 * gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
208 "standard::allocated-size"
209 * gfileattribute.c: document
210 * glocalfileinfo.c: set the allocated size from st_blocks * 512
212 2009-02-16 Ryan Lortie <desrt@desrt.ca>
214 Bug 571598 – GAsyncResult with NULL gobject
216 * gsimpleasyncresult.c: remove various assertions and add some checks
217 to allow for a NULL source_object in GSimpleAsyncResult.
219 2009-02-11 Matthias Clasen <mclasen@redhat.com>
221 Bug 541225 – Can't compile gio on AIX : duplicate case value in
224 * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
225 Reported by Nicolas Joseph
227 2009-02-04 Alexander Larsson <alexl@redhat.com>
229 Bug 566747 - URIs opened with firefox %u load as local files
231 * gdummyfile.c (g_dummy_file_get_path):
232 Dummy files are never used for local paths, so always return NULL
235 2009-02-02 Matthias Clasen <mclasen@redhat.com>
237 * === Released 2.19.6 ===
239 2009-01-31 Paolo Borelli <pborelli@katamail.com>
241 * glocalfileinfo.c: plug a tiny mem leak.
243 2009-01-29 Ryan Lortie <desrt@desrt.ca>
245 * gioerror.c (g_io_error_from_errno): handle all possible cases of
246 EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.
248 2009-01-28 Ryan Lortie <desrt@desrt.ca>
250 Bug 568575 – _async functions for GDataInputStream
252 * gdatainputstream.h:
253 * gdatainputstream.c: add _async versions of read_line and read_until.
255 * ../docs/reference/gio/gio-sections.txt: add new functions
256 * tests/sleepy-stream.c: new test case for async read line
257 * tests/Makefile.am: add new test
259 2009-01-22 Ryan Lortie <desrt@desrt.ca>
261 Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
263 * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
264 g_buffered_input_stream_fill): check for count < -1 instead of count <
265 0 and copy modified check to non-async version for consistency.
266 document the "count = -1" API.
268 2009-01-22 Ryan Lortie <desrt@desrt.ca>
270 Bug 568741 – g_buffered_input_stream_fill_async doesn't work
272 * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
273 after we have successfully read data from the base stream
275 2009-01-20 Ryan Lortie <desrt@desrt.ca>
277 Bug 568394 – dropping the last reference to a stream filter closes the
280 * gfilterinputstream.h:
281 * gfilterinputstream.c: add "close-base-stream" property and only
282 close the base stream if it is true. issue async close callbacks from
283 correct source object.
284 * gfilteroutputstream.h:
285 * gfilteroutputstream.c: add a "close-base-stream" property and only
286 close the base stream if it is true. issue async close callbacks from
287 correct source object.
288 * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
289 before closing the base stream. fix invalid source tag comparison in
290 close_async (was comparing to flush_async).
291 * ../docs/reference/gio/gio-sections.txt:
293 g_filter_{in,out}put_stream_{g,s}et_close_base_stream
294 * tests/filter-streams.c: new test cases
295 * tests/Makefile.am: add new test
296 * tests/.gitignore: add new test
298 2009-01-19 Matthias Clasen <mclasen@redhat.com>
300 * gdesktopappinfo.c (g_desktop_app_info_new): Expand the docs.
302 2009-01-19 Matthias Clasen <mclasen@redhat.com>
304 * === Released 2.19.5 ===
306 2009-01-19 Matthias Clasen <mclasen@redhat.com>
308 * gappinfo.h: Document get_commandline vfunc
310 2009-01-19 Matthias Clasen <mclasen@redhat.com>
312 * gunixmounts.c: Some stylistic fixes.
314 2009-01-08 Matthias Clasen <mclasen@redhat.com>
316 Bug 565484 – g_content_type_guess passes non-UTF8 text to XDG
317 functions in non-UTF8 locale
319 * xdgmime/xdgmimecache.c:
320 * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.
322 2009-01-08 Matthias Clasen <mclasen@redhat.com>
324 * xdgmime/test-mime.c: Make tests work with current shared-mime-info.
326 2009-01-07 Matthias Clasen <mclasen@redhat.com>
328 Bug 566770 – error code 0 for Too many open files is useless
330 * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
331 Requested by Olivier Sessink.
333 * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.
335 * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
336 G_IO_ERROR_TOO_MANY_OPEN_FILES.
338 2009-01-05 Matthias Clasen <mclasen@redhat.com>
340 * === Released 2.19.4 ===
342 2009-01-05 Dan Winship <danw@gnome.org>
344 * gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
345 "const char **" to avoid a warning.
347 * gemblem.c (g_emblem_from_tokens):
348 * gemblemedicon.c (g_emblemed_icon_from_tokens):
349 * xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
352 2009-01-05 Matthias Clasen <mclasen@redhat.com>
354 Bug 566064 – Add NOATIME flag to query_info_flags
356 * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
357 sniffing for mime types. Based on a patch by A. Walton
359 2009-01-05 Ryan Lortie <desrt@desrt.ca>
361 * tests/.gitignore: improve
362 * tests/Makefile.am: add new simple-async-result test
363 * tests/simple-async-result.c: new file to test GSimpleAsyncResult
365 2009-01-05 Ryan Lortie <desrt@desrt.ca>
368 * ../docs/reference/gio/gio-sections.txt:
369 * gsimpleasyncresult.h:
370 * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
371 Implementation by Dan Winship. Closes #566170.
373 2008-12-31 Matthias Clasen <mclasen@redhat.com>
377 * gunixinputstream.c:
378 * gunixoutputstream.c: Add a note about being UNIX-specific.
380 2008-12-15 Matthias Clasen <mclasen@redhat.com>
382 * === Released 2.19.3 ===
384 2008-12-12 Dan Winship <danw@gnome.org>
386 * pltcheck.sh: make this work on x86_64
388 2008-12-12 Ryan Lortie <desrt@desrt.ca>
390 * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
393 2008-12-12 Ryan Lortie <desrt@desrt.ca>
395 * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
396 multiple mount entries match the requested path
398 2008-12-10 Alexander Larsson <alexl@redhat.com>
400 Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
401 g_simple_async_result_run_in_thread
403 * gsimpleasyncresult.c:
404 Make g_simple_async_result_run_in_thread check cancellation before
405 calling out to the user in the callback. This means we guarantee
406 reporting cancels of async operations from the main threads, which
407 is probably more in line with what users expect.
409 Note that there are still no such guarantees for cancelling sync
410 operations or cancelling async operation from outside the main
411 thread. Furthermore, the exact behaviour of async implementations
412 not using run_in_thread may differ.
414 2008-12-09 Alexander Larsson <alexl@redhat.com>
416 Bug 515777 - incorrect date&time on copy
419 (g_local_file_class_init):
420 Copy mtime by default
423 Change docs about G_FILE_COPY_ALL_METADATA to not mention
426 2008-12-08 Matthias Clasen <mclasen@redhat.com>
428 Bug 558298 – Hide ecryptfs mounts
430 * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
431 so that the desktop does not show both the mount and the target
432 directory. Patch by Martin Pitt
434 2008-12-08 Matthias Clasen <mclasen@redhat.com>
436 Bug 555465 – GUnix{Input,Output}Stream lacks fd/close_fd_at_close
440 * gunixinputstream.[hc]:
441 * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
442 including getters and setters. Patch by Maciej Piechotka
444 2008-12-07 Matthias Clasen <mclasen@redhat.com>
446 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
448 * tests/live-g-file.c: Support compilers that don't understand
449 ISO C varargs macros. Patch by Eric Lamarque
451 2008-12-07 Matthias Clasen <mclasen@redhat.com>
453 Bug 526320 – should not list mounts that the user doesn't have
456 gunixmounts.c: Use g_access() to check accessibility of local devices.
459 2008-12-01 Matthias Clasen <mclasen@redhat.com>
461 * === Released 2.19.2 ===
463 2008-12-01 Matthias Clasen <mclasen@redhat.com>
465 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
466 behaviour change, and update the docs instead, to avoid breaking
469 2008-12-01 Matthias Clasen <mclasen@redhat.com>
471 * === Released 2.19.1 ===
473 2008-12-01 Alexander Larsson <alexl@redhat.com>
477 * gunionvolumemonitor.c:
479 Add and document g_mount_is_shadowed plus calls
480 to set/unset a mount as shadowed
482 2008-11-28 Matthias Clasen <mclasen@redhat.com>
484 * gio/tests/g-icon.c: Comment out two failing tests
486 2008-11-28 Matthias Clasen <mclasen@redhat.com>
488 Bug 555486 – No way to recover command line from GAppInfo
491 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
492 by Hans Petter Jansson.
494 * gdesktopappinfo.c: And implement it here.
496 2008-11-28 Christian Dywan <christian@imendio.com>
498 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
500 2008-11-28 Matthias Clasen <mclasen@redhat.com>
502 Bug 559633 – gtk_image_new_from_gicon does not always work for
505 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
506 extensions on icon names. Proposed by Axel von Bertoldi.
508 2008-11-28 Matthias Clasen <mclasen@redhat.com>
510 Bug 548163 – Nautilus displays wrong error message for too long file
513 * glocalfile.c (g_local_file_set_display_name): Correctly set
514 error conditions if the new name is e.g. too long. Reported
515 by Leonardo Ferreira Fontenelle.
517 2008-11-28 Matthias Clasen <mclasen@redhat.com>
519 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
522 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
523 documented and include the line end in the returned string.
524 Pointed out by Paul Pogonyshev.
526 * tests/data-input-stream.c: Fix the read_line test to test the
527 documented behaviour.
529 2008-11-28 Matthias Clasen <mclasen@redhat.com>
531 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
532 files that have been created by g_app_info_create_from_commandline.
534 2008-11-28 Matthias Clasen <mclasen@redhat.com>
536 Bug 541715 – win32 : patch for warnings and signature problems in
539 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
542 2008-11-28 Matthias Clasen <mclasen@redhat.com>
544 Bug 562393 – g_buffered_input_stream_read_byte broken if data
547 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
548 handling of buffered content. Patch by Philip Withnall
550 * tests/buffered-input-stream.c: Add a testcase for this bug.
551 * tests/Makefile.am: And build it
553 2008-11-28 Matthias Clasen <mclasen@redhat.com>
555 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
558 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
559 '/' away. Spotted by Dan Williams.
561 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
563 Bug 561375 – Leaks mountpoint description
565 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
568 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
570 Bug 561352 – Leak of icon description
572 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
575 2008-11-14 Matthias Clasen <mclasen@redhat.com>
577 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
579 2008-11-12 Tor Lillqvist <tml@novell.com>
581 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
583 * win32/gwinhttpvfs.h: Move the set of function pointers to
584 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
585 pointer to that in the GWinHttpVfsClass.
587 * win32/gwinhttpvfs.c: Move the lookup of functions from
588 winhttp.dll into a function of its own, that stores the pointers
589 in a separate GWinHttpDllFuncs variable. Add two bookeeping
590 booleans lookup_done and funcs_found.
592 Don't call g_io_extension_point_implement() to register the
593 winhttp extension unless winhttp.dll has been successfully loaded
594 and the required functions found in it.
596 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
597 winhttp.dll correspondingly.
599 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
601 reviewed by: Alexander Larsson <alexl@redhat.com>
603 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
604 clearer about the behavior when there's no more content to read.
606 2008-10-27 Federico Mena Quintero <federico@novell.com>
608 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
610 2008-10-27 Tor Lillqvist <tml@novell.com>
612 Bug 557592 - Missing include in gwinhttpfile.c
614 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
617 2008-10-24 Matthias Clasen <mclasen@redhat.com>
619 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
621 * fam/fam-helper.c: Fix a memory leak and formatting issues.
622 Reported by Daniel Marjamäki
624 2008-10-23 Matthias Clasen <mclasen@redhat.com>
626 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
628 2008-10-23 Alexander Larsson <alexl@redhat.com>
630 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
633 (_g_local_file_info_get):
634 Don't return the fallback icon (text-x-generic) for all files.
635 This is causing problems with theme icon lookup and custom mime
636 icons, as the generic fallback overrides custom mime icons in
639 This is a slight change as applications might not get an icon wher
640 they previously did. But there is no guarantee to get on neither before
641 or after this change, so it should not break applications. Changes
642 to nautilus and gtk+ will be done to manually use the generic fallback
643 icon if no icon is found, but this is only required for rare cases.
645 2008-10-21 Alexander Larsson <alexl@redhat.com>
648 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
650 2008-10-21 Alexander Larsson <alexl@redhat.com>
652 Bug 555740 - gicon serialization
653 Based on patch from David Zeuthen
657 Add g_icon_to_string() and g_icon_new_for_string().
663 Implement icon serialization for built-in icon types
667 Added GIcon serialization test
669 2008-10-16 Matthias Clasen <mclasen@redhat.com>
671 * === Released 2.19.0 ===
673 2008-10-16 Matthias Clasen <mclasen@redhat.com>
675 Bug 556422 – g_file_enumerator_next_file: unclear whether return
676 value needs to be freed
678 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
679 the return value docs. Pointed out by Armin Burgmeier
681 2008-10-14 Matthias Clasen <mclasen@redhat.com>
683 Bug 556334 – Warning when building without selinux support
685 * glocalfileinfo.c: Avoid compiler warnings when selinux is
686 disabled. Patch by Pascal Terjan
688 2008-10-14 Matthias Clasen <mclasen@redhat.com>
690 Bug 556335 – make check fails in abicheck.sh
692 * gio.symbols: Add g_file_attribute_info_list_get_type.
693 Pointed out by Pascal Terjan.
695 2008-10-13 Alexander Larsson <alexl@redhat.com>
698 When adding an application as handling a mime type (but
699 not as the default), copy the full list of desktop ids handling
700 that type in before adding the new one on the end of the list.
701 This means we're not accidentally changing the default by overriding
702 the info from the later directories in the search path.
704 Also, fixes small leak of removed_entries.
706 2008-10-12 David Zeuthen <davidz@redhat.com>
709 * gunionvolumemonitor.c:
711 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
713 2008-10-10 Alexander Larsson <alexl@redhat.com>
715 * gfileattribute.c (escape_byte_string):
716 Upper half of byte is >> 4, not >> 8.
717 Found by Kjartan Maraas via sparse
719 2008-10-10 Matthias Clasen <mclasen@redhat.com>
721 Bug 555711 – Wrong fallback order of mimetype icons
723 * gcontenttype.c: Don't prefer generic icons over
724 default mimetype icons.
726 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
727 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
729 Patch by Krysztof Kosiński
731 2008-10-10 Matthias Clasen <mclasen@redhat.com>
733 Bug 555121 – Improved build-time handling of gio module-dir
735 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
736 * Makefile.am: Create the module dir.
738 2008-10-10 Matthias Clasen <mclasen@redhat.com>
740 * gio/glocalfileinfo.c:
741 * gio/tests/live-g-file.c:
742 * gio/gsimpleasyncresult.c: Fix gcc warnings.
744 2008-10-09 Alexander Larsson <alexl@redhat.com>
746 * gunixinputstream.c (g_unix_input_stream_read):
747 Actually return -1 in case of cancelled, not old res value.
749 2008-10-06 Colin Walters <walters@verbum.org>
751 Bug 554745 - GFileAttributeInfoList should be boxed
753 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
754 for convenience of bindings.
755 * gio/gfileattribute.h: Prototype it.
757 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
759 Bug 554970 – segfault when update-desktop-database is not available
762 * gdesktopappinfo.c (run_update_command): Have the error set before
765 2008-10-01 David Zeuthen <davidz@redhat.com>
767 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
768 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
769 instead of the gio URI (such as sftp://foo/file.avi) when using
770 g_app_info_launch() and friends. With a sufficiently recent gvfs,
771 apps using gio+gvfs will map the FUSE file:// URI back to the gio
772 URI (and thus bypass the fuse daemon) thanks the patch from bug
773 #530654. Since Nautilus is an user of g_app_info_launch() it
774 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
775 when launced via the file manager. Win. Fixes bug #528670.
777 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
778 mapping to the description of GAppInfo.
780 2008-09-30 Tor Lillqvist <tml@novell.com>
782 * tests/Makefile.am: Build desktop-app-info only on Unix.
784 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
785 g_critical(). Pass a large enough result buffer to
786 GetVolumePathNameW(). Just use MAX_PATH.
788 2008-09-29 David Zeuthen <davidz@redhat.com>
790 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
792 2008-09-26 Dan Winship <danw@gnome.org>
794 * tests/data-input-stream.c:
795 * tests/data-output-stream.c:
796 * tests/live-g-file.c:
797 * tests/memory-input-stream.c:
798 * tests/memory-output-stream.c: Use g_assert_error() and
801 2008-09-26 Matthias Clasen <mclasen@redhat.com>
803 Bug 545350 – GAppInfo deletion
804 Bug 545351 – Reset associations for content type
807 * gappinfo.[hc]: New functions g_app_info_can_delete,
808 g_app_info_delete and g_app_info_reset_type_associations.
811 * gwin32appinfo.c: Implementations of these.
814 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
816 2008-09-26 Dan Winship <danw@gnome.org>
818 Bug 505361 – gunixinputstream.c assumes poll() available
819 Bug 509446 – portable blocking gio cancellation
821 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
822 GPollFD for a cancellable (which is slightly more complicated on
825 * gunixinputstream.c (g_unix_input_stream_read):
826 * gunixoutputstream.c (g_unix_output_stream_write): Use
827 g_cancellable_make_pollfd() and g_poll() rather than using poll()
830 * tests/unix-streams.c: test of GUnixInputStream,
831 GUnixOutputStream, and GCancellable.
833 2008-09-26 Dan Winship <danw@gnome.org>
835 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
836 cast to stop a gcc warning
838 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
841 2008-09-25 Dan Winship <danw@gnome.org>
843 Bug 553426 - cancellable clarifications
845 * gcancellable.c (g_cancellable_class_init): Add a note to the
846 "cancelled" signal docs warning about thread-safety issues
847 (g_cancellable_cancel): Note that cancelling an asynchronous
848 operation takes effect asynchronously, not immediately.
850 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
852 * gioenums.h: Add new GFileCopyFlag, to leave target file with
853 default perms, instead of setting the source file perms, in a copy
856 * gfile.c (g_file_copy_attributes)
857 (build_attribute_list_for_copy)
858 (should_copy): Not copy "unix::mode" attribute if we have received
859 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
861 2008-09-20 Matthias Clasen <mclasen@redhat.com>
863 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
865 2008-09-17 Matthias Clasen <mclasen@redhat.com>
867 * === Released 2.18.1 ===
869 2008-09-16 Michael Natterer <mitch@imendio.com>
871 * gcontenttype.c (g_content_type_guess): can't assign the return
872 value of g_strdupv() to an array. Fill the array manually with
873 const strings instead (it is never freed anyway). Fixes the
874 build. Also fixed indentation.
876 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
878 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
879 Fix trivial typo to unbreak the build (there was a colon
880 instead of a semicolon at the end of a statement).
882 2008-09-15 Matthias Clasen <mclasen@redhat.com>
884 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
887 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
890 2008-09-15 Matthias Clasen <mclasen@redhat.com>
892 Bug 551681 – g_content_type_guess() too naive with filenames
894 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
895 at the end of the filename, and declare it a directory.
896 Patch by Bastien Nocera
898 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
900 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
903 * gdesktopappinfo.c: add a note in the docs clarifying what the
904 "filename" parameter really is.
906 2008-09-12 Tor Lillqvist <tml@novell.com>
908 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
909 FormatMessage() etc here. Call g_win32_error_message() instead
910 which already does all that. Besides, the code was broken as it
911 called the default "A" version of FormatMessage() but still
912 thought it produced a wide string.
914 2008-09-12 Michael Natterer <mitch@imendio.com>
916 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
917 in the documentation.
919 2008-09-08 Christian Neumair <cneumair@gnome.org>
921 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
922 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
923 Use non-blocking pipe for mount helper I/O. Fixes #550647.
925 2008-09-06 Matthias Clasen <mclasen@redhat.com>
927 Bug 551149 – xdgmime mem leak
929 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
930 a memory leak. Patch by Christian Persch
932 2008-09-04 Tor Lillqvist <tml@novell.com>
934 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
937 2008-09-02 Matthias Clasen <mclasen@redhat.com>
939 * === Released 2.18.0 ===
941 2008-09-02 Michael Natterer <mitch@imendio.com>
943 * *.h: big header formatting cleanup: indentation, vtable
944 formatting, consistent spacing in (* vfunc), trailing whitespace
945 removal. Formatting should be pretty consistent in all GIO headers
948 2008-09-02 Matthias Clasen <mclasen@redhat.com>
950 * gmount.h: Document guess_content_type sync vfunc.
952 2008-09-02 Michael Natterer <mitch@imendio.com>
954 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
955 fix parent_class member to be GFilterOutputStreamClass (not
956 GOutputStreamClass). Drop three pointers of padding, which is
957 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
958 so the class struct size stays the same.
960 2008-09-02 Matthias Clasen <mclasen@redhat.com>
962 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
964 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
965 nonexisting return values. Pointed out by Cosimo Cecchi.
967 2008-08-23 Tor Lillqvist <tml@novell.com>
969 Bug 548988 - g_file_replace fails on Windows when the target file
972 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
973 Windows, close the file before potentially renaming it (in case we
974 have been writing to a file with a temporary name).
976 (g_local_file_output_stream_close, handle_overwrite_open): Use
977 GLocalFileStat instead of plain struct stat, for passing to
978 _g_local_file_info_create_etag(). Thus also use _fstati64()
979 instead of plain fstat() on Windows.
981 2008-08-18 Matthias Clasen <mclasen@redhat.com>
983 * === Released 2.17.7 ===
985 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
987 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
990 2008-08-13 Tor Lillqvist <tml@novell.com>
992 * win32/gwinhttpvfs.c
993 * win32/gwinhttpvfs.h
994 * win32/gwinhttpfile.c
995 * win32/gwinhttpfileinputstream.c
996 * win32/gwinhttpfileoutputstream.c: Refactor some common code
997 snippets into helper functions. Check HTTP response status
998 codes. Implement g_winhttp_file_query_info(), looking at
999 Content-Length, Content-Type and Last-Modified.
1001 * win32/winhttp.h: Add some symbolic constants that are not
1002 publicly documented. Just a handful, so it should be OK to use
1003 information from the Windows SDK's headers.
1005 2008-08-13 Tor Lillqvist <tml@novell.com>
1007 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
1010 * win32/gwin32directorymonitor.c
1011 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
1013 2008-08-13 Matthias Clasen <mclasen@redhat.com>
1016 * goutputstream.c: Add intro docs.
1018 2008-08-13 Tor Lillqvist <tml@novell.com>
1020 * win32/gwinhttpfileoutputstream.c
1021 (g_winhttp_file_output_stream_write): Don't write the
1022 Content-Length header ourselves, WinHttpSendRequest() takes care
1023 of that when the dwTotalLength parameter is non-zero. Increment
1024 offset by the number of actual bytes sent, although I wonder if
1025 such a scenario is possible where less than requested would be
1026 sent and accepted by the server without errors.
1028 2008-08-13 Tor Lillqvist <tml@novell.com>
1030 * win32/gwinhttpvfs.c
1031 * win32/gwinhttpvfs.h
1032 * win32/gwinhttpfile.c
1033 * win32/gwinhttpfile.h
1034 * win32/gwinhttpfileinputstream.c
1035 * win32/gwinhttpfileinputstream.h
1036 * win32/gwinhttpfileoutputstream.c
1037 * win32/gwinhttpfileoutputstream.h: New files implementing
1038 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
1039 Windows. The implementation uses the WinHttp API. Both reading and
1040 writing are supported, i.e. GET and PUT requests. When writing,
1041 each write call is done using a separate PUT request with a
1042 Content-Range header. Requests for file URIs and plain pathnames
1043 are forwarded to GLocalVfs.
1045 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
1046 WINE. Used as there is no <winhttp.h> bundled with mingw, and
1047 requiring people to download the Windows SDK just for this one
1048 header is not reasonable.
1050 * win32/Makefile.am: Add above files.
1052 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
1053 the plumbing for the above.
1055 2008-08-11 Sven Neumann <sven@gimp.org>
1057 * gfilenamecompleter.c
1058 * glocaldirectorymonitor.c
1060 * gunionvolumemonitor.c
1064 * gunixvolumemonitor.c
1067 * gwin32volumemonitor.c: use canonical signal names.
1069 2008-08-11 Tor Lillqvist <tml@novell.com>
1071 * Makefile.am: Put a list of the platform-dependent .la files in
1072 the subdirectories in the platform_deps Make variable, and make
1073 libgio-2.0.la depend on that, so that it gets relinked if one of
1074 the dependent libraries has changed.
1076 2008-08-11 Tor Lillqvist <tml@novell.com>
1078 * Makefile.am (platform_libadd): Remove -lwininet which had been
1079 added by mistake. We will probably eventually be using WinHTTP,
1080 not the older WinInet anyway. (Actually I am working on it.)
1082 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
1084 Bug 547080 – g_file_copy leaks expected errors
1086 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
1087 before trying the next fallback routine.
1089 2008-08-09 Loïc Minier <lool@dooz.org>
1091 Bug 535124 – umask 002 not being applied for new directories, new
1092 files get the correct umask
1094 * gfile.c (g_file_make_directory)
1095 (g_file_make_directory_with_parents): Document ownership and
1096 permissions of newly created directories as being the default
1097 ones of the process.
1099 2008-08-08 Loïc Minier <lool@dooz.org>
1101 Bug 535124 – umask 002 not being applied for new directories, new
1102 files get the correct umask
1104 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
1107 2008-08-08 Tor Lillqvist <tml@novell.com>
1109 * gwin32mount.c: Remove unused code. Whitespace cleanup.
1111 * gwin32volumemonitor.c (get_connected_drives): Put questionable
1112 code that didn't actually do anything inside #if 0, and add a
1113 comment wondering what the code was supposed to do. This also gets
1114 rid of a leftover debugging printout.
1116 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
1118 * gfileicon.c (g_file_icon_get_property)
1119 (g_file_icon_set_property): New functions.
1120 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
1122 (g_file_icon_new): Use the property (bug #546132).
1124 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
1126 * gthemedicon.c (g_themed_icon_get_property): Also handle
1127 `PROP_USE_DEFAULT_FALLBACKS'.
1128 (g_themed_icon_class_init): Make
1129 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
1131 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
1133 Bug 546371 – Improve docs re g_file_monitor
1135 * gfilemonitor.c: Mention g_file_monitor() in the docs.
1137 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1139 * === Released 2.17.6 ===
1141 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1143 * === Released 2.17.5 ===
1145 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1147 Bug 546017 – Don't copy attributes when copying a symlink
1149 * gfile.c (g_file_copy_attributes): Specify
1150 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
1151 g_file_set_attributes_from_info. Patch by Christian Kellner
1153 2008-08-04 Matthias Clasen <mclasen@redhat.com>
1155 * gemblemedicon.[hc]:
1157 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
1158 a bit more extensible. Work by Clemens Buss.
1160 * gioenums.h: Add GEmblemOrigin.
1163 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
1165 Bug 546079 – leak in xdgmime
1167 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
1169 2008-08-03 Tor Lillqvist <tml@novell.com>
1171 * win32/gwin32directorymonitor.h
1172 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
1175 2008-08-03 Tor Lillqvist <tml@novell.com>
1177 * win32/gwin32directorymonitor.c
1178 (g_win32_directory_monitor_callback): Make prototype match
1179 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
1180 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
1183 (g_win32_directory_monitor_constructor):
1184 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
1185 names in the GLib API on Windows, so convert to UTF-16 and open
1188 2008-08-03 Tor Lillqvist <tml@novell.com>
1190 Bug 541036 - Gnumeric crashes when trying to open Desktop or
1191 user's folder under Windows
1193 * win32/gwin32directorymonitor.c
1194 (g_win32_directory_monitor_constructor): Ignore error from
1195 CreateFile() when opening directory. Instead of asserting, just
1196 store INVALID_HANDLE_VALUE then in
1197 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
1198 ReadDirectoryChangesW().
1199 (g_win32_directory_monitor_cancel): Don't attempt to close
1200 directory handle if it is INVALID_HANDLE_VALUE.
1202 2008-08-01 Matthias Clasen <mclasen@redhat.com>
1204 * gdesktopappinfo.c: Remove debug spew
1206 2008-08-01 Hans Breuer <hans@breuer.org>
1208 * makefile.msc : add gemblembedicon
1210 2008-07-30 Matthias Clasen <mclasen@redhat.com>
1212 Bug 545457 – gdmsetup crashed with SIGSEGV in
1213 g_unix_mount_guess_should_display()
1215 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
1216 crash if no mount is found.
1218 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1220 Bug 545203 – gfile.c: argument is different type.
1222 * gfile.c (open_read_async_thread): Pass a GError **
1223 to g_file_set_error_literal.
1224 Reported by Kazuki Iwamoto
1226 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1228 Bug 545157 – wrong/no list of "open with" applications for .cc and
1231 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
1232 Collect all ancestors, not just direct parents. Pointed
1233 out by Bastien Nocera
1235 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1237 * Makefile.am: Install gemblemedicon.h
1239 2008-07-28 Matthias Clasen <mclasen@redhat.com>
1241 * gemblemedicon.[hc]: Add a GIcon implementation that can
1242 add an emblem to another icon.
1249 * gfileicon.c: Small documentation additions.
1251 2008-07-28 Tor Lillqvist <tml@novell.com>
1253 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
1256 2008-07-27 Tor Lillqvist <tml@novell.com>
1258 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
1260 2008-07-24 David Zeuthen <davidz@redhat.com>
1264 Also export a g_mount_guess_content_type_sync() function.
1266 2008-07-23 Matthias Clasen <mclasen@redhat.com>
1268 529694 – SELinux context setting support
1270 * gfileinfo.c: Support setting selinux attributes.
1271 Patch by Tomas Bzatek
1273 2008-07-22 Priit Laes <plaes@plaes.org>
1275 Bug 544140 - fam-helper 64-bit issue?
1277 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
1279 2008-07-21 Matthias Clasen <mclasen@redhat.com>
1281 * === Released 2.17.4 ===
1283 2008-07-20 Matthias Clasen <mclasen@redhat.com>
1285 * gvolumemonitor.[hc]:
1286 * gmountoperation.c:
1290 * gmount.c: Documentation fixes
1292 2008-07-19 Matthias Clasen <mclasen@redhat.com>
1294 543504 – crash in Epiphany Web Browser: Opening local file
1298 * gdesktopappinfo.c:
1305 * gvolume.c: Register types thread-safely.
1306 Patch by Christian Persch
1308 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1310 * gcontenttype.c: Remove debug spew
1312 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1314 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
1317 * fen/fen-kernel.c: Remove a warning that was causing
1318 crashes. Reported by Lin Ma.
1320 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1322 Bug 543040 – async reading on dummy file will crash on
1325 * gfile.c (open_read_async_thread): Cope with read_fn being
1326 NULL. Reported by Lin Ma.
1328 2008-07-18 Matthias Clasen <mclasen@redhat.com>
1331 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
1333 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1336 * gdesktopappinfo.h:
1337 * giomodule.c: Rename a chapter id to avoid filename conflict.
1339 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1341 Bug 540616 – mem leak in filechooser button
1343 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
1344 the mount entry. Reported by Chrisitan Persch
1346 2008-07-16 Matthias Clasen <mclasen@redhat.com>
1348 * gfile.c: Small documentation fixes.
1350 2008-07-15 Matthias Clasen <mclasen@redhat.com>
1352 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
1354 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1359 * gmount.c: Documentation improvements.
1361 2008-07-08 Matthias Clasen <mclasen@redhat.com>
1364 * gmount.[hc]: Add g_mount_guess_content_type().
1366 2008-07-06 David Zeuthen <davidz@redhat.com>
1369 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
1370 is needed for easily handling adoption of foreign volumes by
1371 out-of-process volume monitors (#541793)
1373 2008-07-06 David Zeuthen <davidz@redhat.com>
1375 * gvolumemonitor.[ch]:
1376 * gunionvolumemonitor.c: Export the eject-button signal on the
1377 volume monitor class (#541794).
1379 2008-07-06 Matthias Clasen <mclasen@redhat.com>
1381 * gappinfo.c: More doc tweaks
1383 2008-07-05 Matthias Clasen <mclasen@redhat.com>
1385 * gappinfo.c: Clarify some docs
1387 2008-07-03 Matthias Clasen <mclasen@redhat.com>
1389 * gdesktopappinfo.c: Fix a stupid mistake.
1391 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1393 * === Released 2.17.3 ===
1395 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1397 * gfilemonitor.c: Fix the build.
1399 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1401 Bug 536160 – Add g_file_monitor()
1404 * gfile.[hc]: Add g_file_monitor which can return either
1405 a file or a directory monitor. Proposed by Behdad Esfahbod
1407 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1409 536733 – gio build failure on Irix
1411 * glocalfile.c: Use a configure check for structfs.f_bavail.
1413 2008-07-02 Matthias Clasen <mclasen@redhat.com>
1415 Bug 534639 – add g_desktop_app_info_new_from_keyfile
1418 * gdesktopappinfo.[hc]: Add a function to create a
1419 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
1421 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
1423 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
1425 2008-07-01 Matthias Clasen <mclasen@redhat.com>
1427 * gunixmounts.c: Fix a doc typo.
1429 2008-07-01 Cody Russell <bratsche@gnome.org>
1431 * gio/gcontenttype.c:
1432 * gio/gwin32appinfo.c:
1433 * gio/gwin32volumemonitor.c:
1434 * gio/gwin32mount.c: Fixed some include problems.
1436 2008-07-01 Cody Russell <bratsche@gnome.org>
1440 Moved all relevant typedefs into these files.
1443 Updated wrt added files.
1445 Split types into separate file for easier maintainership. (#538564)
1447 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1449 Bug 540331 – g_file_append_to () documentation: can return NULL
1451 * gfile.c (g_file_append_to): Clarify docs.
1452 Patch by Jared Moore
1454 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1456 Bug 539090 – g_content_type_from_mime_type() should unalias
1458 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1459 Patch by Markus Bergman
1461 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1463 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1464 g_atomic_pointer_get
1466 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1467 on ppc and alpha. Reported by Mart Raudsepp
1469 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1471 * tests/Makefile.am:
1472 * tests/memory-output-stream.c: Add some tests for
1473 GMemoryOutputStream.
1475 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1477 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1480 * gmemoryoutputstream.c (array_resize): Handle truncation to
1481 zero correctly. Reported by Akira Tagoh
1483 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1485 * gmemoryoutputstream.c: Trivial doc fixes
1487 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1489 Bug 540802 – g_list_prepend doesn't concat lists
1491 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1492 one list to another. Pointed out by Jan Arne Petersen
1494 2008-06-28 Michael Natterer <mitch@imendio.com>
1496 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1498 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1500 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1501 to avoid problems with partial icon themes.
1503 2008-06-17 Hans Breuer <hans@breuer.org>
1505 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1506 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1507 access again on win32, see bug #538127
1508 * giomodule.c : ensure GWin32VolumeMonitor is registered
1509 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1510 * Makefile.am makefile.msc : updated
1512 2008-06-16 Hans Breuer <hans@breuer.org>
1514 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1515 and initialization in one step avoids c99ism
1517 2008-06-16 Christian Persch <chpe@gnome.org>
1520 * gio/gbufferedinputstream.c
1521 * gio/gcancellable.c
1522 * gio/gdatainputstream.c
1523 * gio/gdesktopappinfo.c
1525 * gio/gfileenumerator.c
1526 * gio/gfileinputstream.c
1527 * gio/gfileoutputstream.c
1528 * gio/ginputstream.c
1529 * gio/glocaldirectorymonitor.c
1531 * gio/glocalfileenumerator.c
1532 * gio/glocalfileinfo.c
1533 * gio/glocalfilemonitor.c
1534 * gio/glocalfileoutputstream.c
1535 * gio/gmemoryinputstream.c
1536 * gio/gmemoryoutputstream.c
1537 * gio/goutputstream.c
1538 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1541 2008-06-16 Tor Lillqvist <tml@novell.com>
1543 Bug 538362 - Get Win32 icons back in the file chooser
1545 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1546 corresponding to a file extension in the Registry. Patch by Hans
1548 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1550 2008-06-16 Tor Lillqvist <tml@novell.com>
1552 Patches by Hans Breuer:
1554 * glocalfile.c (is_xp_or_later): Handle compiling against older
1555 SDK headers with missing VerifyVersionInfo(). Conditioned on
1556 _MSC_VER, but should probably use some better test.
1557 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1558 uninitialised statfs_result variable on Win32.
1560 2008-06-16 Michael Natterer <mitch@imendio.com>
1562 * *.c: chain up unconditionally in finalize() and dispose(). Also
1563 don't dereference these function pointers when calling them since
1564 that has no meaning at all.
1566 2008-06-16 Ross Burton <ross@burtonini.com>
1568 * gfileenumerator.c:
1569 Remove check for dispose implementation as it annoys Emmanuele.
1571 2008-06-16 Ross Burton <ross@burtonini.com>
1573 Bug 536252 – GFileEnumerator should allow access to the containing
1576 * gfileenumerator.c:
1577 * gfileenumerator.h:
1579 Add g_file_enumerator_get_container() and a container writeable
1580 construct-only property. Also shuffle around typedefs to make it
1583 * glocalfileenumerator.c:
1584 * glocalfileenumerator.h:
1586 Instead of a string filename take a GFile in the constructor and
1587 use it to set the container property.
1590 Update with new API.
1592 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1594 * gfile.c: Make includes more uniform
1596 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1598 * tests/live-g-file.c (sample_struct):
1599 Use less fancy unicode filenames, so the test doesn't fail
1600 on Mac OS X (#531476).
1602 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1604 * === Released 2.17.2 ===
1606 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1608 * === Released 2.17.1 ===
1610 2008-06-11 A. Walton <awalton@gnome.org>
1612 * tests/g-file.c (test_g_file_new_null):
1613 Fix broken test case.
1615 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1617 * pltcheck.sh: We use g_clear_error now.
1619 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1621 * glocalfile.c (g_local_file_enumerate_children): Revert
1622 an unintended change.
1624 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1626 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1628 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1630 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1633 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1634 as icon for the desktop directory, also make user-home and
1635 user-desktop the preferred icons.
1637 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1640 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1641 to add a name to the front of the list.
1643 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1645 Bug 537392 – Additional colon in xattr name
1647 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1648 too. Reported by Alessandro Morandi
1650 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1652 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1655 * glocalfile.c (get_fs_type): Add afs and autofs.
1656 Patch by Danny Baumann.
1658 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1660 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1662 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1663 is no parent. (Owen Taylor, patch by Christian Neumair)
1665 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1667 * gfile.c (g_file_replace_contents): do not leak the output stream.
1669 2008-06-10 Michael Natterer <mitch@imendio.com>
1671 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1672 uninitialized memory as array index.
1674 2008-06-10 Tor Lillqvist <tml@novell.com>
1676 * gcontenttype.c (g_content_type_can_be_executable)
1677 (g_content_type_get_icon) [Win32]: Add TODO comments.
1679 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1681 * xdgmime/Makefile.am: Fix the build
1683 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1685 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1686 in the shared mime database, if available.
1688 * xdgmime/*: Sync with upstream. This brings support for
1689 glob weights, generic icons, and changes the cache format to
1692 2008-05-28 Michael Natterer <mitch@imendio.com>
1694 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1695 the global CPPFLAGS now.
1697 * tests/data-input-stream.c
1698 * tests/data-output-stream.c
1699 * tests/g-file-info.c
1701 * tests/live-g-file.c
1702 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1704 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1706 * === Released 2.17.0 ===
1708 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1709 doesn't complain about leftover files.
1711 2008-05-27 simon.zheng <simon.zheng@sun.com>
1713 * glocalfile.c: (g_local_file_query_filesystem_info):
1714 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1716 2008-05-26 Michael Natterer <mitch@imendio.com>
1718 * gmemoryoutputstream.h: declare
1719 g_memory_output_stream_get_data_size().
1721 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1723 * tests/*: Make tests work
1725 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1727 * gio.symbols: Add g_memory_output_stream_get_data_size.
1729 2008-05-25 Ross Burton <ross@burtonini.com>
1732 Fix typo in error message (#534764).
1734 2008-05-25 Ross Burton <ross@burtonini.com>
1737 Fix circular dependency loop for gioenumtypes.h (#534759).
1739 2008-05-19 Hans Breuer <hans@breuer.org>
1741 * Makefile.am : EXTRA_DIST += makefile.msc
1743 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1746 * gcontenttype.c: (g_content_type_from_mime_type):
1747 New function to create a content type from a mime type. (#527175,
1750 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1752 Bug 532965 – Should not return filesystem::free for certain file systems
1754 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1755 free space for ncpfs.
1757 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1759 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1761 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1762 st_dev might be zero.
1764 2008-05-16 Tor Lillqvist <tml@novell.com>
1766 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1767 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1769 2008-05-13 Bastien Nocera <hadess@hadess.net>
1771 * gfile.c (has_valid_scheme): A URI scheme must start with a
1772 letter, even if later more characters are allowed (#532852)
1774 2008-05-05 Michael Natterer <mitch@imendio.com>
1776 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1777 code from being checked in that breaks the build of applications
1778 which use G_DISABLE_SINGLE_INCLUDES.
1780 * makegioalias.pl: make the alias file include "glib.h" instead of
1783 * gio.symbols: whitespace change to force regeneration of the
1784 alias file after above script change.
1786 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1788 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1790 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1792 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1794 2008-04-28 David Zeuthen <davidz@redhat.com>
1796 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1797 displaying mounts in a subdirectory not accessible to the
1800 2008-04-22 Michael Natterer <mitch@imendio.com>
1802 * Makefile.am: fix library versioning (it was 0.0.0).
1804 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1806 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1807 Default disable all loggings.
1808 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1809 (port_fetch_event_cb): Fixed two macro nits.
1811 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1813 * xdgmime/xdgmime.c: Rework the timestamp checking code
1814 to protect against duplicate directories in XDG_DATA_DIRS.
1815 Fixes fd.o bug 12513, reported by Joe Shaw.
1817 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1819 Partically revert the last commit after realizing that
1820 xdg_mime_media_type_equal doesn't have to init at all.
1822 * xdgmime/xdgmime.h:
1823 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1825 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1827 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1829 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1830 reported by Joe Shaw and Federico Mena Quintero.
1832 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1833 (xdg_mime_media_type_equal): Turn into a wrapper around the
1836 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1837 functions throughout.
1839 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1841 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1842 tolerate an empty TryExec= line without failing; nautilus used
1843 to create launchers with these in previous versions. Fixes #528433
1845 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1847 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1848 after name. Fixes #527132.
1850 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1852 * gfile.c: (g_file_replace):
1855 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1857 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1859 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1860 by Christian Kellner.
1862 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1864 * gunixmounts.c: (g_unix_mount_guess_should_display):
1865 Don't list the user directory as a mount, fix potential issue
1866 when other users have a similar naming and don't special case the
1867 gvfs mounts there since that's not required (#525866)
1869 2008-03-31 Alexander Larsson <alexl@redhat.com>
1871 * glocalfile.c (get_parent):
1874 2008-03-31 A. Walton <awalton@svn.gnome.org>
1876 * gfile.c (g_file_query_file_type):
1877 Always return a GFileType enum value (#520715).
1879 2008-03-31 Alexander Larsson <alexl@redhat.com>
1881 * glocalfileenumerator.c:
1882 Read readdir() info in chunks (of 1000) and sort
1883 the chunks by inode before stat:ing.
1884 This is a 20% performance increase in testing
1885 gvfs-ls on /usr/bin with cold cache.
1887 2008-03-31 Alexander Larsson <alexl@redhat.com>
1889 * gmemoryoutputstream.c:
1890 Clarify docs for g_memory_output_stream_get_size.
1891 Add g_memory_output_stream_get_data_size.
1893 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1897 * gfile.h: Add g_file_query_file_type convenience function
1898 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1900 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1902 * gfileenumerator.c:
1903 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1905 2008-03-28 A. Walton <awalton@svn.gnome.org>
1907 * giomodule.c (_g_io_modules_ensure_loaded):
1908 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1911 2008-03-28 Alexander Larsson <alexl@redhat.com>
1914 (copy_stream_with_progress):
1917 2008-03-28 Alexander Larsson <alexl@redhat.com>
1920 (copy_stream_with_progress):
1921 (file_copy_fallback):
1922 Fallback to g_file_query_info for source size
1923 if g_file_input_stream_query_info fails. (#524579)
1925 2008-03-28 Alexander Larsson <alexl@redhat.com>
1927 * glocalfile.c (g_local_file_move):
1928 Reuse old string instead of adding new one.
1930 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1932 * fen/*.[hc]: still copyright issue. I hate copyright.
1934 2008-03-27 Alexander Larsson <alexl@redhat.com>
1936 * glocalfile.c (g_local_file_move):
1937 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1938 file over directory. This is according to the docs and what the move via
1939 copy+remove fallback does.
1941 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1943 * fen/*.[hc]: Updated copyright.
1945 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1947 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1949 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1951 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1952 not emit attribute changed events when optimizing changed events.
1953 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1956 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1958 * gmountoperation.[hc]: Small documentation additions
1960 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1962 * gunixmounts.c: (guess_mount_type):
1963 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1965 2008-03-19 Alexander Larsson <alexl@redhat.com>
1968 (copy_stream_with_progress):
1969 Bump block side for copy to 64k to minimize
1970 overhead for low latency links. (#523015)
1972 2008-03-16 Tor Lillqvist <tml@novell.com>
1974 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1975 depend on gio.def on Windows.
1977 2008-03-12 David Zeuthen <davidz@redhat.com>
1981 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1983 2008-03-14 Alexander Larsson <alexl@redhat.com>
1987 Avoid redudant tests (#521851)
1988 Patch from Josselin Mouette
1990 2008-03-14 Alexander Larsson <alexl@redhat.com>
1993 (g_file_monitor_is_cancelled):
1994 Fix C89 issue (#521672)
1995 Patch from Jens Granseuer
1997 2008-03-14 Alexander Larsson <alexl@redhat.com>
1999 * fam/fam-helper.[ch]:
2001 Shut down fam (including removing fam GSource) when
2002 module is unloaded (#521513)
2003 Patch from Joe Marcus Clarke
2005 2008-03-14 Alexander Larsson <alexl@redhat.com>
2008 (_g_io_modules_ensure_loaded):
2011 2008-03-14 Alexander Larsson <alexl@redhat.com>
2014 (g_local_file_query_filesystem_info):
2015 Use right define name for f_fstypename member check
2017 2008-03-14 Alexander Larsson <alexl@redhat.com>
2020 * fen/Makefile.am: Added.
2021 * fen/fen-data.[ch]: Added.
2022 * fen/fen-dump.[ch]: Added.
2023 * fen/fen-helper.[ch]: Added.
2024 * fen/fen-kernel.[ch]: Added.
2025 * fen/fen-missing.[ch]: Added.
2026 * fen/fen-node.[ch]: Added.
2027 * fen/fen-sub.[ch]: Added.
2028 * fen/gfendirectorymonitor.[ch]: Added.
2029 * fen/gfenfilemonitor.[ch]: Added.
2031 Added Solaris FEN file notification backend.
2032 Patch from Lin Ma <Lin.Ma@Sun.COM>
2034 2008-03-13 Tor Lillqvist <tml@novell.com>
2036 * Makefile.am: Actually use the gio.def file when linking the
2037 library on Windows. Produce .lib library for Microsoft's toolchain
2038 when possible. Install the .lib and .def file like for the other
2041 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
2043 * tests/live-g-file.c:
2044 Include live-g-file in standard set of tests, making a temporary
2045 directory in source structure.
2047 Clean target directory before the tests (write mode only)
2049 2008-03-12 Tor Lillqvist <tml@novell.com>
2051 Bug 517419 - gio win32 directory monitor
2052 Implementation by Vlad Grecescu.
2055 * win32/gwin32directorymonitor.h
2056 * win32/gwin32directorymonitor.c: New files.
2058 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
2060 * Makefile.am: Add the win32 subdirectory.
2062 2008-03-12 Tor Lillqvist <tml@novell.com>
2064 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
2065 normal struct stat on Unix but struct _stati64 on Windows to have
2066 access to 64-bit file size information. Use that instead of struct
2067 stat in the functions declared here in this private header.
2069 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
2070 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
2071 warnings about unused functions and variables. Don't set
2072 meaningless attributes like inode numbers on Windows.
2074 2008-03-12 Benjamin Otte <otte@gnome.org>
2077 trim whitespace so gtk-doc groks the function name
2079 2008-03-12 Tor Lillqvist <tml@novell.com>
2081 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
2082 returning FALSE, on Win32.
2084 2008-03-11 Alexander Larsson <alexl@redhat.com>
2087 * glocalfileinfo.[ch]:
2088 Correctly implement can_trash by actually
2089 looking for a trash dir, not just assuming
2092 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2094 * === Released 2.16.1 ===
2096 2008-03-11 Alexander Larsson <alexl@redhat.com>
2099 Fix crashes in new constructor and properties code
2101 2008-03-10 Murray Cumming <murrayc@murrayc.com>
2103 * gfile.c: Minor spelling correction in documentation:
2104 existance -> existence.
2106 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2108 * === Released 2.16.0 ===
2110 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2112 * gio.symbols: Remove g_file_contains_file here, too.
2114 2008-03-10 Matthias Clasen <mclasen@redhat.com>
2116 * gthemedicon.c: Add properties to make bindings happy. (#517676,
2117 Samuel Cormier-Iijima)
2119 2008-03-08 Tor Lillqvist <tml@novell.com>
2121 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
2124 2008-03-07 Alexander Larsson <alexl@redhat.com>
2127 (g_local_file_query_filesystem_info):
2128 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
2129 Patch from Jasper Lievisse Adriaanse
2131 2008-03-06 Tor Lillqvist <tml@novell.com>
2133 * gfileinfo.h: Correct milliseconds to microseconds in the doc
2134 comments for the *_USEC attributes.
2136 2008-03-06 Alexander Larsson <alexl@redhat.com>
2138 * gfile.c (g_file_query_exists):
2139 Add g_return_val_if_fail check (#520700)
2141 2008-03-06 Alexander Larsson <alexl@redhat.com>
2143 * gdesktopappinfo.c:
2146 * gunionvolumemonitor.c:
2149 * tests/live-g-file.c:
2150 * xdgmime/xdgmimecache.c:
2151 Fix sparse warnings (#519489)
2153 2008-03-05 Alexander Larsson <alexl@redhat.com>
2156 Make cancellation threadsafe (i.e.
2157 guarantee its only done once, and always
2160 * glocaldirectorymonitor.c:
2161 Make sure we the monitor lives while the
2162 mounts_changed callback is being called (#520484)
2164 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
2166 * gbufferedinputstream.c: Fix typo in parameter
2169 2008-03-04 Alexander Larsson <alexl@redhat.com>
2172 Remove deprecated symbols we kept for one release.
2174 2008-03-04 Murray Cumming <murrayc@murrayc.com>
2177 * goutputstream.c: Tiny documentation corrections.
2179 2008-03-03 Alexander Larsson <alexl@redhat.com>
2181 * gunionvolumemonitor.c:
2183 Fix the adopt_orphan_mount vfunc to take a
2184 volume_monitor reference in an ABI compat way.
2185 This change is not API compat, but the added
2186 arg is not used in the only user of this vfunc, so
2187 all we get is a harmless warning in gvfs (#520169)
2189 2008-03-01 Benjamin Otte <otte@gnome.org>
2192 clarify docs for g_file_delete().
2194 2008-02-29 Alexander Larsson <alexl@redhat.com>
2198 Make sure empty files get text/plain type (#518720)
2200 2008-02-27 Alexander Larsson <alexl@redhat.com>
2206 (g_unix_volume_mount):
2207 Add missing GMountMountFlags argument
2209 2008-02-26 Alexander Larsson <alexl@redhat.com>
2212 (g_local_file_delete):
2213 Handle filesystems (like ntfs-3g) that return EEXIST instead
2214 of ENOTEMPTY (#518816)
2216 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2218 * === Released 2.15.6 ===
2220 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2222 * gfile.c (g_file_find_enclosing_mount):
2223 * ginputstream.c (g_input_stream_set_pending):
2224 * glocalfile.c (g_local_file_find_enclosing_mount):
2225 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
2226 * goutputstream.c (g_output_stream_set_pending):
2228 Fixup translator comments (#518578).
2230 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
2232 * gfile.c (g_file_find_enclosing_mount):
2234 * glocalfile.c (g_local_file_find_enclosing_mount):
2237 Fix a few typos in translator comments and documentation.
2239 2008-02-25 Alexander Larsson <alexl@redhat.com>
2246 Add translator comments (#518578)
2248 2008-02-25 Alexander Larsson <alexl@redhat.com>
2251 Reintroduce g_file_contains_file, keep around for one
2252 unstable release cycle to avoid crashing to many apps.
2253 Make sure to delete after release.
2255 2008-02-25 Alexander Larsson <alexl@redhat.com>
2258 Remove deprecated g_file_contains_file.
2260 2008-02-25 Alexander Larsson <alexl@redhat.com>
2263 Emit actual change signals in an idle handler.
2264 This avoids reentrance and locking problems in
2265 the file notification backends.
2267 2008-02-25 Alexander Larsson <alexl@redhat.com>
2270 (g_unix_mount_guess_should_display):
2271 Remove type guessing, instead just display
2272 mounts in /media and in ~/.
2274 2008-02-25 Alexander Larsson <alexl@redhat.com>
2277 Make new strings reuse old ones.
2279 2008-02-25 Alexander Larsson <alexl@redhat.com>
2282 Implement trashing and filesystem::readonly for win32 (#517235)
2283 Patch from Yevgen Muntyan
2285 2008-02-23 Matthias Clasen <mclasen@redhat.com>
2287 * gfileinfo.h: Documentation fixes.
2289 2008-02-22 Alexander Larsson <alexl@redhat.com>
2291 * gcontenttype.c (g_content_type_get_icon):
2292 Look at old-style gnome mime icon names too, as many
2293 have not moved to the new style.
2295 2008-02-21 Matthias Clasen <mclasen@redhat.com>
2297 * *.c: Correct the @include in for section docs.
2299 2008-02-21 David Zeuthen <davidz@redhat.com>
2301 * glocalfileinfo.c: (_g_local_file_info_get):
2303 (g_content_type_get_icon): Implement this function by
2304 moving bits from glocalfileinfo.c
2305 (g_content_type_get_description): Unalias before getting
2306 description (#517687)
2308 * gfile.c: (g_file_class_init),
2309 (g_file_query_filesystem_info_async),
2310 (g_file_query_filesystem_info_finish),
2311 (query_filesystem_info_data_free),
2312 (query_filesystem_info_async_thread),
2313 (g_file_real_query_filesystem_info_async),
2314 (g_file_real_query_filesystem_info_finish):
2315 * gfile.h: Implement async version of
2316 g_file_query_filesystem_info()
2318 * gfileinfo.h: Add new attributes for filesystem::use-preview
2320 * gio.symbols: Update
2322 * gthemedicon.c: (g_themed_icon_append_name):
2323 * gthemedicon.h: Add new new convenience function.
2325 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
2326 (get_mounts), (get_volumes), (get_connected_drives),
2327 (get_volume_for_uuid), (get_mount_for_uuid),
2328 (g_union_volume_monitor_init), (populate_union_monitor),
2329 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
2330 (g_volume_monitor_adopt_orphan_mount):
2332 * gvolumemonitor.h: Use recursive locks so it's safe for volume
2333 monitor implementations to call into the main volume monitor. Also
2334 separate object initialization and volume monitor initialization
2335 such that non-native volume monitors can properly adopt their
2338 2008-02-21 Alexander Larsson <alexl@redhat.com>
2343 2008-02-21 Alexander Larsson <alexl@redhat.com>
2346 Add more documentation about how GFiles work (from #517086)
2348 2008-02-21 Alexander Larsson <alexl@redhat.com>
2352 Add new g_file_has_prefix that does the same as g_file_contains_file.
2353 Deprecate g_file_contains_file and add a macro that converts
2354 it to g_file_has_prefix.
2355 The reason for this change is that the contains_file() name seems to
2356 imply that this does more work than what it does, but its really only
2357 a name match (from #517086)
2362 Update to match the above change.
2364 2008-02-20 Benjamin Otte <otte@gnome.org>
2366 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
2367 (g_file_eject_mountable):
2368 even more cases of not returning in error path
2370 2008-02-20 Benjamin Otte <otte@gnome.org>
2372 * gfile.c: (g_file_mount_mountable):
2373 return from function in error path.
2375 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
2378 Remove trailing coma in GMountMountFlags struct
2380 2008-02-18 Alexander Larsson <alexl@redhat.com>
2384 * glocalfileoutputstream.c:
2385 Use g_unlink/g_rename instead of unlink/rename;
2386 do not pass raw filenames to g_set_error. (#517239)
2387 Patch from Yevgen Muntyan.
2389 2008-02-18 Alexander Larsson <alexl@redhat.com>
2392 * glocalfileoutputstream.c:
2393 Open files with O_BINARY on windows. (#517140)
2395 2008-02-14 Alexander Larsson <alexl@redhat.com>
2397 * glocalfileoutputstream.c:
2398 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
2400 2008-02-14 Alexander Larsson <alexl@redhat.com>
2403 Copy permissions with file on copy (#514084)
2404 This is what cp does and makes sure e.g. the
2405 exec permissions are kept.
2406 Its kinda weird in that it keeps the permission bits
2407 the same while the uid and gid are different. However
2408 the new uid is the user so its not a security issue,
2409 and I've heard no complaints about cp on this issue.
2411 2008-02-13 Ryan Lortie <desrt@desrt.ca>
2413 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
2415 2008-02-13 Alexander Larsson <alexl@redhat.com>
2417 * inotify/inotify-path.c:
2418 Define IN_ONLYDIR if not in header (#515346)
2420 2008-02-12 Alexander Larsson <alexl@redhat.com>
2422 * tests/live-g-file.c:
2425 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2427 * === Released 2.15.5 ===
2429 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2431 * gio.symbols: Add g_mount_mount_flags_get_type.
2433 2008-02-11 Alexander Larsson <alexl@redhat.com>
2436 (g_file_info_set_attribute_mask):
2437 (g_file_attribute_matcher_matches_id):
2438 Correctly handle NULL GAttributeMatcher meaning
2439 matches nothing. (Fixes #513492)
2441 2008-02-11 Alexander Larsson <alexl@redhat.com>
2446 Added GMountMountFlags enum and added a flags
2447 argument to all mount calls.
2449 This is an API/ABI change for future extensibility,
2450 as I think we will need at least an
2451 inhibit-autorun flag (the panel needs this).
2452 There are no flags defined yet though.
2454 2008-02-11 Alexander Larsson <alexl@redhat.com>
2457 Added new standard::description attribute.
2458 Requested by Vincent, and useful for both
2461 2008-02-11 Alexander Larsson <alexl@redhat.com>
2463 * gdesktopappinfo.c:
2466 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2468 * *.c: Documentation additions
2470 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2472 * gappinfo.h: Formatting cleanup
2473 * gappinfo.c: Fix up docs.
2475 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2477 * gunixmounts.c: Consistently use getmntent_r() and fall
2478 back to getmntent(). (#515492)
2480 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2482 * gbufferedinputstream.c:
2484 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2486 * tests/data-input-stream.c:
2487 * tests/data-output-stream.c: Portability fixes.
2489 2008-02-08 Alexander Larsson <alexl@redhat.com>
2494 Add g_volume_should_automount.
2497 2008-02-07 Tor Lillqvist <tml@novell.com>
2499 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2500 Win32, too Unix-specific.
2502 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2504 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2505 a local plt if the compiler doesn't support what we want. Bug #514702
2507 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2509 reviewed by: <delete if not using a buddy>
2512 * gunixinputstream.c:
2513 * gunixoutputstream.c:
2515 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2517 * tests/Makefile.am:
2518 * tests/live-g-file.c:
2519 * tests/live-g-file.txt:
2520 New GIO testing module working over real data
2522 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2524 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2525 Fallback to rename() if link() is not available
2526 (when no support on target filesystem)
2528 2008-02-06 Michael Natterer <mitch@imendio.com>
2530 * gfileinfo.c (g_file_info_get_icon): replace
2531 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2533 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2535 * gfile.c (g_file_create):
2536 Documentation update of error codes
2538 2008-02-06 Alexander Larsson <alexl@redhat.com>
2540 * gdesktopappinfo.c:
2541 Update to use both mimeapps.list and
2542 defaults.list as discussed on xdg list.
2544 2008-02-06 Benjamin Otte <otte@gnome.org>
2547 * gfilenamecompleter.c:
2548 Fix some typos in the documentation.
2550 2008-02-06 Alexander Larsson <alexl@redhat.com>
2552 * glocalfile.c (g_local_file_trash):
2553 Don't succeed with trash if newly created
2554 trash dir has the wrong owner. (#514696)
2556 2008-02-05 Alexander Larsson <alexl@redhat.com>
2558 * glocalfile.c (g_local_file_move):
2559 Don't spew warnings when destination is not
2562 2008-02-03 Hans Breuer <hans@breuer.org>
2564 * makefile.msc : update
2566 2008-02-01 Michael Natterer <mitch@imendio.com>
2568 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2569 return value of xdg_mime_list_mime_parents() to a variable of the
2572 2008-02-01 Alexander Larsson <alexl@redhat.com>
2574 * gappinfo.c (g_app_info_launch_uris):
2575 Actually call the launch_uris method, not
2578 2008-02-01 Alexander Larsson <alexl@redhat.com>
2580 * gdesktopappinfo.c (g_desktop_app_info_equal):
2581 Ensure appinfos with no id but same pointer value
2584 2008-02-01 Alexander Larsson <alexl@redhat.com>
2586 * gappinfo.c (g_app_info_launch_default_for_uri):
2589 2008-02-01 Alexander Larsson <alexl@redhat.com>
2593 Add g_app_info_launch_default_for_uri utility
2596 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2598 * gdesktopappinfo.c:
2599 Doc fix for g_app_info_get_default_for_uri_scheme ()
2602 2008-01-30 Alexander Larsson <alexl@redhat.com>
2605 Add doc comment about uris vs GFiles to
2608 * gdesktopappinfo.c:
2609 Ensure uris passed to g_app_info_launch_uris()
2610 are not roundtriped through GFile (as that
2611 may be slightly destructive for e.g. mailto: links)
2613 2008-01-30 Alexander Larsson <alexl@redhat.com>
2615 * tests/data-input-stream.c:
2616 * tests/data-output-stream.c:
2617 C89 fixes from Jens Granseuer (#512849)
2619 2008-01-30 Alexander Larsson <alexl@redhat.com>
2622 Fix gamin/fam difference build issue. (#509419)
2624 2008-01-29 Alexander Larsson <alexl@redhat.com>
2627 * gdesktopappinfo.c:
2628 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2630 2008-01-29 Alexander Larsson <alexl@redhat.com>
2632 * gdesktopappinfo.c:
2633 * gdesktopappinfo.h:
2634 giomodule-priv.h include moved to .c file.
2636 2008-01-29 Alexander Larsson <alexl@redhat.com>
2638 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2639 Remove unused prio/name fields.
2641 2008-01-29 Alexander Larsson <alexl@redhat.com>
2643 * gcontenttype.c (looks_like_text):
2644 Don't treat whitespace as control chars.
2646 2008-01-29 Alexander Larsson <alexl@redhat.com>
2648 * gdesktopappinfo.c:
2649 Lazily create the desktop files for appinfos created
2650 by g_app_info_create_from_commandline() when needed
2651 for mime associations. This allows run-time use
2652 of GAppInfo object without creating unnecessary
2655 2008-01-29 Alexander Larsson <alexl@redhat.com>
2658 Added new symbols to gio.symbols
2660 2008-01-29 Alexander Larsson <alexl@redhat.com>
2663 Add g_file_query_default_handler utility to easily look up
2664 the GAppInfo that handles a file.
2666 * gdesktopappinfo.[ch]:
2668 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2671 Remove unused function
2673 2008-01-29 Alexander Larsson <alexl@redhat.com>
2675 * gfileenumerator.c:
2676 Mention need to free returned value in
2677 g_file_enumerator_next_files_finish docs.
2678 Fix leak if g_file_enumerator_next_files_finish()
2681 2008-01-29 Alexander Larsson <alexl@redhat.com>
2684 (_g_unix_content_type_get_parents):
2685 Use list_parents, not get_parents from xdgmime, because
2686 the later doesn't use the cache.
2688 * xdgmime/xdgmimecache.c:
2689 (_xdg_mime_cache_list_mime_parents):
2690 Don't list the same type as parent multiple times.
2692 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2694 * === Released 2.15.4 ===
2696 2008-01-28 Alexander Larsson <alexl@redhat.com>
2699 Register local vfs with prio 0.
2702 Remove old name and prio class members
2704 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2706 * tests/g-file.c: Disable some tests that are failing in
2707 the absence of a http backend.
2709 2008-01-28 Alexander Larsson <alexl@redhat.com>
2713 Add registration hooks for extension points.
2714 Register the gio extension points.
2716 * fam/gfamdirectorymonitor.c:
2717 * fam/gfamfilemonitor.c:
2718 * glocaldirectorymonitor.[ch]:
2719 * glocalfilemonitor.[ch]:
2720 * gnativevolumemonitor.h:
2721 * gunionvolumemonitor.c:
2722 * gunixvolumemonitor.c:
2725 * inotify/ginotifydirectorymonitor.c:
2726 * inotify/ginotifyfilemonitor.c:
2727 Use the extension points registration instead
2728 of g_type_children().
2730 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2733 * gvolume.[hc]: Document new API.
2735 * gfile.c (g_file_copy_async): Fix docs
2737 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2739 * gbufferedinputstream.c:
2741 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2744 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2746 * glocalfile.c: Avoid trivial differences in translatable strings.
2748 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2750 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2751 build with gcc 3.4 (#509419)
2753 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2755 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2756 (#509994, Murray Cumming)
2758 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2760 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2761 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2762 this allows big jobs to be executed in chunks, instead of blocking
2763 the main loop for a long time.
2765 * gsimpleasyncresult.c:
2766 * giofile.c: Adapt callers.
2768 2008-01-25 Alexander Larsson <alexl@redhat.com>
2770 * gdesktopappinfo.c:
2771 Implement changes discussed on xdg list.
2772 Now we can add supported mimetypes by just using defaults.list
2773 We can also remove associations in defaults.list.
2775 2008-01-25 Alexander Larsson <alexl@redhat.com>
2777 * gdesktopappinfo.c:
2778 Don't make local copy of desktop file
2779 for mimetype changes if the file already
2780 supports the new mimetype.
2782 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2786 * gbufferedinputstream.c:
2787 * glocalfile.c: String improvements. (#511966,
2788 Theppitak Karoonboonyanan)
2790 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2792 * gioscheduler.h: Expand docs a bit.
2794 2008-01-24 Alexander Larsson <alexl@redhat.com>
2797 Add g_drive_get_identifier and
2798 g_drive_enumerate_identifiers
2801 Add g_volume_get_identifier and
2802 g_volume_enumerate_identifiers
2808 Implement identifiers for unix backend
2810 2008-01-24 Alexander Larsson <alexl@redhat.com>
2815 Add g_file_copy_async() (#511580)
2816 Based on patch from Carlos Garcia Campos
2818 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2820 * gioscheduler.c: Some documentation additions.
2822 2008-01-22 Alexander Larsson <alexl@redhat.com>
2824 * gdesktopappinfo.c:
2825 (g_desktop_app_info_new):
2826 Don't leak basename.
2828 2008-01-22 Alexander Larsson <alexl@redhat.com>
2830 * gdesktopappinfo.c:
2831 (g_desktop_app_info_new_from_filename):
2834 2008-01-22 Alexander Larsson <alexl@redhat.com>
2836 * glocalfileinfo.c (get_thumbnail_attributes):
2839 2008-01-22 Alexander Larsson <alexl@redhat.com>
2842 (canonicalize_filename):
2843 Canonicalize paths that start with more than
2847 (compare_two_files):
2848 (test_g_file_new_for_path):
2851 2008-01-22 Alexander Larsson <alexl@redhat.com>
2854 Allow UTF-8 in file:// parse names.
2856 * tests/Makefile.am:
2857 * tests/data-input-stream.c:
2858 * tests/data-output-stream.c:
2859 * tests/g-file-info.c:
2861 Added a bunch of tests from Tomas Bzatek
2863 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2865 * === Released 2.15.3 ===
2867 2008-01-21 Alexander Larsson <alexl@redhat.com>
2869 * gfileinputstream.[ch]:
2870 * gfileoutputstream.[ch]:
2872 Remove duplicated GSeekable functions. (#509990)
2873 Just use the g_seekable_xxx() calls instead.
2875 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2878 * gvolumemanager.c: Whitespace cleanups.
2880 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2881 Use the right mode when creating the file.
2883 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2885 * gfileenumerator.c:
2886 * gfileinputstream.c:
2888 * goutputstream.c: Documentation: Fixed minor typos
2889 and added more mentions of specific _finish() functions.
2891 2008-01-21 Alexander Larsson <alexl@redhat.com>
2893 * inotify/Makefile.am:
2894 * inotify/inotify-helper.c:
2895 * inotify/inotify-kernel.c:
2896 * inotify/inotify-path.c:
2897 * inotify/local_inotify.h: Removed.
2898 * inotify/local_inotify_syscalls.h: Removed.
2899 Removed the included copies of the inotify
2900 headers. We now only use the <sys/inotify.h>
2901 header which exists on modern systems.
2902 This fixes problems on ARM and SH5 (#510448)
2903 but is also generally much cleaner and future
2904 safe. For instance, if other OSes add support
2905 for inotify it should "just work".
2907 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2909 * inotify/*.c: Coding style fixes.
2910 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2911 for the 1/4 Hz timer.
2913 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2916 * gfilemonitor.[hc]:
2917 * gmemoryinputstream.c:
2918 * gmemoryoutputstream.c:
2919 * gmountoperation.c:
2920 * gthemedicon.c: Documentation updates
2922 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2924 * gfile.c: documentation: Fixed more minor
2927 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2929 * gmount.c: (g_mount_remount): documentation:
2930 Mention g_mount_remount_finish() instead of
2931 g_mount_unmount_finish().
2933 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2937 * gfile.c: Fixed some minor typos in the
2940 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2942 * gio/gvolumemonitor.c:
2943 (g_volume_monitor_get_connected_drives):
2944 (g_volume_monitor_get_volumes):
2945 (g_volume_monitor_get_mounts): Documentation:
2946 Clarify the ownership of the regurn GLists.
2948 2008-01-17 Alexander Larsson <alexl@redhat.com>
2951 Add the async find_enclosing_mount version
2952 to the header file too.
2954 2008-01-17 Alexander Larsson <alexl@redhat.com>
2957 Add async version of find_enclosing_mount
2958 with default implementation.
2960 2008-01-17 Alexander Larsson <alexl@redhat.com>
2965 Allow calls to implementation of copy and write
2966 even if the type of the file implementations is
2967 different. This can be used to implement native
2968 upload and download calls in a vfs.
2971 (g_local_file_move):
2972 Protect against the case where move is called
2973 with one file not being local.
2975 Make sure we call the progress callback once
2976 in the native move operation so that the caller
2977 knows how many bytes were copied.
2979 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2982 * gdatainputstream.c:
2984 * gfileoutputstream.c:
2989 * gunixmounts.c: Corrected some typos in the documentation:
2990 occured -> occurred.
2991 its -> it's (where appropriate).
2993 2008-01-16 Alexander Larsson <alexl@redhat.com>
2997 Add g_file_query_exists (#508771)
2999 2008-01-15 Murray Cumming <murrayc@murrayc.com>
3004 * gvolume.c: For async functions that have no non-async
3005 version, document that the GAsyncReadyCallback may be NULL.
3008 2008-01-15 Alexander Larsson <alexl@redhat.com>
3010 * gmemoryinputstream.c:
3011 * gmemoryoutputstream.c:
3012 Don't do pointer arithmetic on void * (#508602)
3013 Patch from Kazuki IWAMOTO
3015 2008-01-14 Matthias Clasen <mclasen@redhat.com>
3017 * === Released 2.15.2 ===
3019 2008-01-14 Alexander Larsson <alexl@redhat.com>
3021 * gfile.c (g_file_monitor_file):
3022 Don't set error here, since we fallback to polling monitor.
3024 2008-01-14 Alexander Larsson <alexl@redhat.com>
3027 (g_file_monitor_directory):
3028 (g_file_monitor_file):
3029 Add GError to file monitor calls
3031 * glocaldirectorymonitor.c:
3032 * glocaldirectorymonitor.h:
3034 * glocalfilemonitor.c:
3035 * glocalfilemonitor.h:
3037 Update for above change
3039 2008-01-14 Alexander Larsson <alexl@redhat.com>
3043 Handle root correctly in g_file_get_relative_path (#508719)
3045 2008-01-14 Alexander Larsson <alexl@redhat.com>
3048 Clean up docs and example for GAsyncResult (#508074)
3050 2008-01-11 Murray Cumming <murrayc@murrayc.com>
3052 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
3053 and correct some spelling mistakes. Bug #508108.
3055 2008-01-11 Matthias Clasen <mclasen@redhat.com>
3057 * glocalfileinfo.c: Add a comment.
3059 2008-01-10 Murray Cumming <murrayc@murrayc.com>
3061 * gfileinfo.c: GFileInfo description: Mention
3062 how to actually set attributes in a GFile and how to discover
3063 which attributes are settable. Bug #508378.
3065 2008-01-10 A. Walton <awalton@svn.gnome.org>
3067 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
3068 (g_app_info_get_default_for_type):
3069 Check for NULL content types.
3071 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
3073 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
3075 2008-01-09 Murray Cumming <murrayc@murrayc.com>
3077 * gfile.c: *_async() functions: Several small corrections
3078 to the documentation, mostly correcting copy/paste errors
3079 and improving some sentences.
3081 2008-01-09 Dan Winship <danw@gnome.org>
3083 * glocalfile.c (get_unique_filename): x86_64 fix
3085 2008-01-09 Alexander Larsson <alexl@redhat.com>
3090 Add g_unix_mount_guess_should_display and use
3091 for unix volume monitor backend.
3092 This means we more or less show what the
3093 gnome-vfs backend did.
3094 Based on patch from Padraig O'Briain
3096 2008-01-09 Alexander Larsson <alexl@redhat.com>
3100 Add g_themed_icon_new_with_default_fallbacks
3103 Use default fallbacks for icons
3105 2008-01-09 Alexander Larsson <alexl@redhat.com>
3108 * gmountoperation.[ch]:
3109 Change the API a bit so that unhandled methods
3110 get reported via the reply, rather than by
3111 the signal emission return value. This is because
3112 some handlers can't know this immediately without
3113 doing I/O, and this is an async operation that
3116 2008-01-09 Alexander Larsson <alexl@redhat.com>
3119 * fam/gfamdirectorymonitor.c:
3120 * fam/gfamfilemonitor.c:
3121 Fix double free crash (#508224)
3122 Patch from Joe Marcus Clarke
3124 008-01-07 Matthias Clasen <mclasen@redhat.com>
3126 * === Released 2.15.1 ===
3128 2008-01-07 Alexander Larsson <alexl@redhat.com>
3130 * gunixinputstream.c (g_unix_input_stream_skip_finish):
3131 Fix warning (#507835)
3133 2008-01-07 Alexander Larsson <alexl@redhat.com>
3136 Pass --internal to glib-genmarshal
3139 * gmountoperation.c:
3141 Use better types for signal arguments (#507822)
3143 2008-01-07 Alexander Larsson <alexl@redhat.com>
3146 Build test subdir after .
3147 Remove gdirectorymonitor.[ch]
3149 * gdirectorymonitor.[ch]:
3153 Remove GDirectoryMonitor and make
3154 GFileMonitor the baseclass for both file and
3155 directory monitors. Lift the more generic
3156 rate limiting code from GDirectoryMonitor
3160 * fam/gfamdirectorymonitor.[ch]:
3161 * inotify/ginotifydirectorymonitor.[ch]:
3162 * inotify/inotify-helper.c:
3163 * glocaldirectorymonitor.[ch]:
3166 Update for the removed GDirectoryMonitor.
3168 * gmemoryoutputstream.c:
3169 Remove ununsed variable
3171 2008-01-07 Alexander Larsson <alexl@redhat.com>
3173 * gmemoryinputstream.c:
3174 Translate error strings
3177 * gmemoryoutputstream.[ch]:
3178 New implementation that avoids using GByteArray
3179 in implementation and API. (#506377)
3181 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3183 * tests/*: Add a test for memory input streams.
3185 * Makefile.am: Add tests to SUBDIRS.
3187 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3189 * glocalfilemonitor.c:
3190 * glocaldirectorymonitor.c: Mark property nicks and blurbs
3193 2008-01-06 Matthias Clasen <mclasen@redhat.com>
3195 * gdesktopappinfo.c: Fix a docs typo.
3197 * gfileattribute.c: Add information about extended attributes
3198 to the documentation. (#505058)
3200 2008-01-04 Alexander Larsson <alexl@redhat.com>
3203 * gmountoperation.c:
3204 Use the right type (uint) for the ask_password signal.
3206 2008-01-04 Alexander Larsson <alexl@redhat.com>
3211 Add g_app_info_supports_files()
3212 Remove desktop arg from g_app_info_should_show().
3214 * gdesktopappinfo.[ch]:
3215 Implement g_app_info_supports_files() and new should_show()
3216 Add g_desktop_app_info_set_desktop_env() to set the desktop
3217 for should_show(). (This will be set by gtk+ later)
3219 2008-01-04 Alexander Larsson <alexl@redhat.com>
3222 * gmemoryinputstream.[ch]:
3223 Improve API so that you can use multiple chunks
3224 of memory and custom destroy functions. (#506374)
3226 2008-01-03 Alexander Larsson <alexl@redhat.com>
3229 Handle NULL attribute matchers safely, as we return this
3230 for empty attribute matcher strings.
3232 2008-01-03 Alexander Larsson <alexl@redhat.com>
3234 * gunixmounts.c (g_unix_is_mount_path_system_internal):
3235 Add /usr/local to list of internal mountpoints
3237 2008-01-03 Alexander Larsson <alexl@redhat.com>
3240 Check for HAVE_LCHOWN (#505887)
3242 2008-01-03 Alexander Larsson <alexl@redhat.com>
3246 Add define for selinux context attribute.
3247 Fix missing : -> :: namespace separator change
3248 Fix missing _ -> - name change for xattr-sys.
3251 2008-01-03 Alexander Larsson <alexl@redhat.com>
3254 Link to libglib and libgobject directly (#504879)
3255 Patch from Sebastien Bacher
3257 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
3259 * gfile.c: Expanded the g_file_new_for_commandline_arg
3260 description a bit, based on the code and the docs of the
3261 other g_file_new_for_* functions.
3263 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
3265 * gfilemonitor.h: Fixed typo in docs.
3267 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
3269 Updates to GIO documentation. (#506395, Mikael Hermansson)
3271 * gcontenttype.c: Describe memory management for return value of
3272 g_content_types_get_registered(). Missing piece from #505815.
3273 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
3274 GVolume, GDrive, GMounts, which hopefully gives the user less
3275 confusions when using this API. Following explainations from
3276 Alexander Larsson on gtk-devel-list.
3278 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3280 * gfileinfo.c: Expand the long description.
3282 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3285 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
3286 fix builds with --disable-visibility. (#500273, Christian Persch)
3288 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3290 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
3291 in the list of returned app infos.
3293 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3295 * gappinfo.c: Fix a cross-reference
3297 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3299 * gfileinputstream.c:
3300 * gfileoutputstream.c:
3304 * gdesktopappinfo.c:
3306 * gfileinfo.c: Documentation updates.
3308 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3310 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
3313 2007-12-26 Matthias Clasen <mclasen@redhat.com>
3315 * gcontenttype.c (g_content_types_get_registered): Don't return
3316 freed memory (#505815, Mikael Hermansson)
3318 2007-12-25 Paolo Borelli <pborelli@katamail.com>
3320 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
3321 used to detect statbuf->st_blocks. (#505042)
3323 2007-12-24 Matthias Clasen <mclasen@redhat.com>
3325 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
3326 environment handling. (#504829, Cosimo Cecchi)
3328 2007-12-22 Matthias Clasen <mclasen@redhat.com>
3330 * gappinfo.c: Doc improvements
3332 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
3335 2007-12-20 Matthias Clasen <mclasen@redhat.com>
3337 * === Released 2.15.0 ===
3339 2007-12-20 Hans Breuer <hans@breuer.org>
3341 * makefile.msc : don't build gdesktopappinfo.obj, it collides
3342 with symbols gwin32appinfo.obj, added gmount.obj
3343 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
3345 2007-12-20 Alexander Larsson <alexl@redhat.com>
3351 * gfilenamecompleter.c:
3354 * gpollfilemonitor.c:
3355 File attribute renames:
3357 fs:: -> filesystem::
3358 id::fs -> id::filesystem
3360 2007-12-20 Alexander Larsson <alexl@redhat.com>
3369 Add GMountUnmountFlags to all unmount and
3371 Add g_mount_remount() call.
3373 2007-12-20 Alexander Larsson <alexl@redhat.com>
3375 * gvfs.c (get_default_vfs):
3376 Fix unused variable warning
3378 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3380 * pltcheck.sh: Update
3382 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3384 * gunionvolumemonitor.c:
3385 * gunixmount.c: Remove C99 comments
3387 2007-12-19 Matthias Clasen <mclasen@redhat.com>
3389 * gio.symbols: Add some missing symbols
3391 2007-12-19 Alexander Larsson <alexl@redhat.com>
3394 Make g_io_modules_load_all_in_directory not unuse
3395 loaded modules so that users of it can do stuff
3397 Init internal "module" types.
3398 Initialize static prio and name for types so that
3399 we don't have to load modules to get it.
3401 * gnativevolumemonitor.h:
3403 Move is_supported to parent class so that
3404 non-native monitors can avoid being initialized
3405 too. (For instance GDaemonVolumeMonitor if we're
3406 not using GDaemonVfs.)
3408 * glocaldirectorymonitor.[ch]:
3409 * glocalfilemonitor.[ch]:
3410 * gunionvolumemonitor.c:
3411 * gunixvolumemonitor.c:
3413 Find plugins using the static prio+name to
3414 avoid unnecessarily loading the modules.
3416 2007-12-19 Alexander Larsson <alexl@redhat.com>
3421 2007-12-19 Alexander Larsson <alexl@redhat.com>
3423 * gunionvolumemonitor.c:
3424 Store the native type as GType, not class so that
3425 we can unload it. But still avoid unnecessarily
3428 2007-12-19 David Zeuthen <davidz@redhat.com>
3430 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
3431 add signals 'disconnected' and 'eject-button' on GDrive. Add
3432 signal 'removed' on GVolume and 'unmounted' on GMount.
3434 * gdrive.c: (g_drive_base_init):
3436 * gfile.c: (g_file_mount_mountable),
3437 (g_file_mount_enclosing_volume):
3440 * gmount.c: (g_mount_base_init):
3442 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3443 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3444 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3448 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3450 * *.c: Fix up includes in the section docs.
3452 2007-12-17 Alexander Larsson <alexl@redhat.com>
3454 * gnativevolumemonitor.h:
3455 * gunionvolumemonitor.c:
3456 * gunixvolumemonitor.c:
3457 Add is_supported() to GNativeVolumeMonitorClass so
3458 that we can avoid having to create an object to see
3459 if the backend is supported at runtime.
3460 Also add name member and an env var to pick a specific
3461 volume monitor backend.
3465 Add cancellable to _g_mount_get_for_mount_path()
3467 * glocaldirectorymonitor.c:
3468 * glocalfilemonitor.c:
3469 Avoid loading and unloading modules while sorting.
3471 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3474 * gunixmounts.[hc]: Namespace waste reduction, move some
3475 g_get_unix_mount functions to the g_unix_mount namespace.
3478 * gunixvolumemonitor.c:
3480 * glocaldirectorymonitor.c: Update all callers.
3482 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3484 2007-12-17 Alexander Larsson <alexl@redhat.com>
3487 Add doc comments about what GFile operations are
3488 guaranteed to not block.
3490 2007-12-17 Alexander Larsson <alexl@redhat.com>
3493 Add missing #ifdef fixing OSX build.
3494 (#503334, patch from Richard Hult)
3496 2007-12-14 David Zeuthen <davidz@redhat.com>
3500 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3501 (g_mount_eject), (g_mount_eject_finish):
3503 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3504 (get_volume_for_uuid), (get_mount_for_uuid),
3505 (g_union_volume_monitor_class_init),
3506 (get_default_native_type_with_exclude), (get_default_native_type),
3507 (get_native_type), (update_native_type),
3508 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3509 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3510 (g_unix_mount_can_eject), (eject_unmount_cb),
3511 (eject_unmount_read_error), (eject_unmount_do),
3512 (g_unix_mount_unmount), (g_unix_mount_eject),
3513 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3514 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3515 (g_unix_mount_point_guess_can_eject):
3517 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3518 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3519 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3520 (g_unix_volume_mount), (g_unix_volume_eject),
3521 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3522 * gunixvolumemonitor.c: (get_volume_for_uuid),
3523 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3525 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3526 (g_volume_eject), (g_volume_eject_finish):
3528 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3529 (g_volume_monitor_get_mount_for_uuid):
3532 Provide eject() on both GMount and GVolume and utility functions
3533 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3534 ejected. Introduce the concept of UUID's and wire it into GVolume
3535 and GMount and provide API on GVolumeMonitor to find such
3536 instances. Also handle the case where an external
3537 GNativeVolumeMonitor fails to initialize. Lock around the
3538 _g_get_mount_for_mount_path() function such that volume monitor
3539 implementations won't have to do locking themselves.
3541 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3543 * gdesktopappinfo.c:
3549 * gvolume.h: Documentation updates
3551 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3554 * gfile.h: Doc updates
3556 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3559 * gdesktopappinfo.c: Use hash table iterators.
3561 2007-12-14 Alexander Larsson <alexl@redhat.com>
3564 * gfileattribute.[ch]:
3565 * gfileattribute-priv.h:
3566 Move GFileAttributeValue to a private header, as
3570 Make set_attribute take a type + a pointer instead
3571 of a GFileAttributeValue.
3574 Fix up for above changes.
3575 Add g_file_info_get_attribute_data to get
3576 all info in one call, g_file_info_get_attribute_status
3577 to get the status and g_file_info_get_attribute_as_string.
3581 * glocalfileinfo.[ch]:
3585 Make _guess_type static.
3587 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3590 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3591 made mkenums and friends use temporary files to avoid leaving
3592 empty generated files on failure (#503470).
3594 2007-12-14 Alexander Larsson <alexl@redhat.com>
3596 * gmountoperation.h:
3599 2007-12-14 Alexander Larsson <alexl@redhat.com>
3603 * gfileattribute.[ch]:
3606 * glocalfileoutputstream.c:
3607 * gmountoperation.[ch]:
3608 * goutputstream.[ch]:
3609 Clean up all flags enums to not have _FLAGS in them
3610 Make the names of some of the enums better.
3615 2007-12-14 Michael Natterer <mitch@imendio.com>
3617 * gio.symbols: fix g_io_scheduler symbol names.
3619 2007-12-14 Alexander Larsson <alexl@redhat.com>
3625 * gbufferedinputstream.h:
3626 * gbufferedoutputstream.h:
3629 * gdatainputstream.h:
3630 * gdataoutputstream.h:
3631 * gdesktopappinfo.h:
3632 * gdirectorymonitor.h:
3636 * gfileenumerator.h:
3639 * gfileinputstream.h:
3641 * gfilenamecompleter.h:
3642 * gfileoutputstream.h:
3643 * gfilterinputstream.h:
3644 * gfilteroutputstream.h:
3652 * gmemoryinputstream.h:
3653 * gmemoryoutputstream.h:
3655 * gmountoperation.h:
3658 * gsimpleasyncresult.h:
3660 * gunixinputstream.h:
3662 * gunixoutputstream.h:
3666 * inotify/Makefile.am:
3667 Only allow including <gio/gio.h> from apps
3669 2007-12-14 Alexander Larsson <alexl@redhat.com>
3671 * gioscheduler.[ch]:
3672 * gsimpleasyncresult.c:
3673 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3674 Split out the send_to_mainloop call into two versions instead
3675 of having the block argument.
3677 2007-12-13 Alexander Larsson <alexl@redhat.com>
3679 * gcancellable.[ch]:
3681 * gbufferedinputstream.c:
3682 * gfileenumerator.c:
3683 * gfileinputstream.c:
3684 * gfileoutputstream.c:
3688 g_push/pop_current_cancellable ->
3689 g_cancellable_push/pop_current
3691 2007-12-13 Alexander Larsson <alexl@redhat.com>
3695 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3697 2007-12-13 Alexander Larsson <alexl@redhat.com>
3699 * gmountoperation.h:
3700 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3702 2007-12-12 Alexander Larsson <alexl@redhat.com>
3705 Fix race condition when freeing proxy in
3706 g_io_job_send_to_mainloop().
3708 2007-12-12 Alexander Larsson <alexl@redhat.com>
3714 Make attribute namespace separator "::" instead of ":".
3715 Use - instead of _ as separator in attribute names.
3717 2007-12-12 Alexander Larsson <alexl@redhat.com>
3719 * gbufferedinputstream.h:
3720 * gbufferedoutputstream.h:
3721 * gdatainputstream.h:
3722 * gdataoutputstream.h:
3723 * gdirectorymonitor.h:
3724 * gfileenumerator.h:
3725 * gfileinputstream.h:
3727 * gfileoutputstream.h:
3728 * gfilterinputstream.h:
3729 * gfilteroutputstream.h:
3731 * glocalfileinputstream.h:
3732 * glocalfileoutputstream.h:
3733 * gmemoryinputstream.h:
3734 * gmemoryoutputstream.h:
3735 * gnativevolumemonitor.h:
3737 * gunixinputstream.h:
3738 * gunixoutputstream.h:
3741 s/parent/parent_instance/ in GObjects
3743 2007-12-12 Alexander Larsson <alexl@redhat.com>
3748 No need for padding for interfaces
3750 2007-12-12 Alexander Larsson <alexl@redhat.com>
3754 * gbufferedinputstream.c:
3755 * gbufferedoutputstream.c:
3758 * gdatainputstream.[ch]:
3759 * gdesktopappinfo.c:
3760 * gdirectorymonitor.c:
3762 * gfileattribute.[ch]:
3765 * gfileinputstream.h:
3766 * gfilemonitor.[ch]:
3767 * gfileoutputstream.[ch]:
3768 * gfilterinputstream.h:
3769 * gfilteroutputstream.h:
3772 * gloadableicon.[ch]:
3773 * gmemoryinputstream.c:
3774 * gmountoperation.c:
3776 Fix up a bunch of details in the docs.
3781 2007-12-11 David Zeuthen <davidz@redhat.com>
3783 Rework how volumes, drives and volume monitoring is
3784 done. Previosly the model was
3786 GDrive <1-1> GVolume
3788 where a GDrive instance represented a mount point and a GVolume
3789 instance represented a mounted file system. This patch changes it
3792 GDrive <1-N> GVolume <1-1> GMount
3794 where GMount now serves the purpose of the old GVolume and the new
3795 GVolume serves the purpose of the old GDrive. In addition the new
3796 GDrive interface is used to represent a collection of GVolume
3797 instances (typically partitions) and also contains utility to query
3798 the state of the physical drive the GDrive object represents (such
3799 as checking for media, polling the drive, ejecting the media etc.).
3801 Also implement mounting and unmounting in the Unix volume monitor
3802 backend. A subquent patch will introduce GDrive support for ejection
3806 * gdrive.c: (g_drive_is_media_check_automatic),
3807 (g_drive_is_media_removable), (g_drive_has_media),
3808 (g_drive_can_poll_for_media), (g_drive_eject),
3809 (g_drive_eject_finish), (g_drive_poll_for_media),
3810 (g_drive_poll_for_media_finish):
3812 * gfile.c: (g_file_find_enclosing_mount):
3815 * glocaldirectorymonitor.c:
3816 (g_local_directory_monitor_constructor), (mounts_changed):
3817 * glocalfile.c: (get_mount_info),
3818 (g_local_file_find_enclosing_mount),
3819 (g_local_file_file_iface_init):
3820 * gnativevolumemonitor.h:
3821 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3822 (get_connected_drives), (g_union_volume_monitor_class_init),
3823 (child_volume_added), (child_volume_removed),
3824 (child_volume_changed), (child_mount_added), (child_mount_removed),
3825 (child_mount_pre_unmount), (child_mount_changed),
3826 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3827 (g_union_volume_monitor_remove_monitor),
3828 (_g_mount_get_for_mount_path):
3829 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3830 (guess_system_internal), (_g_get_unix_mounts),
3831 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3832 (g_unix_mount_free), (g_unix_mount_compare),
3833 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3834 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3835 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3836 (type_to_icon), (g_unix_mount_guess_name),
3837 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3838 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3839 (_resolve_symlink), (_resolve_dev_root):
3841 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3842 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3843 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3844 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3845 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3846 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3847 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3848 (g_unix_volume_volume_iface_init):
3850 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3851 (get_mounts), (get_volumes), (get_connected_drives),
3852 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3853 (mountpoints_changed), (mounts_changed),
3854 (g_unix_volume_monitor_init),
3855 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3856 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3857 * gunixvolumemonitor.h:
3858 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3859 (g_volume_mount), (g_volume_mount_finish):
3861 * gvolumemonitor.c: (g_volume_monitor_class_init),
3862 (g_volume_monitor_get_connected_drives),
3863 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3866 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3868 * gmountoperation.h (GPasswordFlags): Close the gap
3870 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3872 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3874 * gdesktopappinfo.[hc]: Remove _-prefixes
3876 2007-12-10 Tor Lillqvist <tml@novell.com>
3878 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3881 2007-12-10 Alexander Larsson <alexl@redhat.com>
3883 * gfile.c (g_file_set_display_name):
3884 Don't hardcode '/' (#502727)
3886 2007-12-09 Hans Breuer <hans@breuer.org>
3888 * makefile.msc : follow lib naming convention
3889 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3890 for user and group name, tested with ../tests/gio-ls
3892 2007-12-09 A. Walton <awalton@svn.gnome.org>
3894 * gdesktopappinfo.c:
3900 * gfileenumerator.c:
3905 * gmemoryinputstream.c:
3906 * gmemoryoutputstream.c:
3908 * gsimpleasyncresult.c:
3909 More documentation cleanup and filling in missing information, bringing
3910 GIO to 99% symbol coverage.
3912 2007-12-08 Hans Breuer <hans@breuer.org>
3914 [gio compiles and links on win32, not sure how much already works]
3915 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3916 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3917 base on win32 API; prefer g_lstat() over lstat(); instead of
3918 localtime_r() use an all GLib implementation on win32;
3919 get_mount_info() still needs a win32 specifc implementation
3920 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3921 win32_get_file_user_info to get owner/group info without uid/gid
3922 * glocalfileinputstream.c : include <io.h> on win32
3923 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3924 definition, use g_win32_ftruncate() for G_OS_WIN32
3925 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3926 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3927 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3928 * makefile.msc : updated
3930 2007-12-07 Alexander Larsson <alexl@redhat.com>
3932 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3933 Avoid warning spew if error == NULL
3935 2007-12-07 Alexander Larsson <alexl@redhat.com>
3938 Update docs wrt etags
3940 2007-12-06 Alexander Larsson <alexl@redhat.com>
3943 Include sys/types.h for dev_t (#501919)
3945 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3949 Make abicheck and pltcheck pass.
3951 2007-12-05 Alexander Larsson <alexl@redhat.com>
3954 * giomodule-priv.h: Added.
3955 * glocaldirectorymonitor.c:
3956 * glocalfilemonitor.c:
3957 * gunionvolumemonitor.c:
3959 Actually add the declaration of _g_io_modules_ensure_loaded
3961 2007-12-05 Alexander Larsson <alexl@redhat.com>
3963 * gdatainputstream.c:
3968 * glocaldirectorymonitor.c:
3969 * glocalfilemonitor.c:
3970 * gunionvolumemonitor.c:
3972 Make g_io_modules_ensure_loaded a private function and
3973 don't pass in the dirname. This means we can do magic
3974 directory finding in the win32 version.
3975 Export the actual load-modules-in-directory code so that
3976 gvfs can reuse that.
3978 2007-12-05 Alexander Larsson <alexl@redhat.com>
3980 * gbufferedinputstream.c:
3981 * gbufferedoutputstream.c:
3984 * gfileenumerator.[ch]:
3985 * gfileinputstream.c:
3986 * gfileoutputstream.[ch]:
3987 * gfilterinputstream.c:
3988 * gfilteroutputstream.c:
3989 * ginputstream.[ch]:
3991 * glocalfileenumerator.c:
3992 * glocalfileinputstream.c:
3993 * glocalfileoutputstream.c:
3994 * gmemoryinputstream.c:
3995 * gmemoryoutputstream.c:
3996 * goutputstream.[ch]:
3999 * gunixinputstream.c:
4000 * gunixoutputstream.c:
4001 Rename all struct members named:
4002 read, write, close, truncate, or mount
4003 to foo_fn, as these are reserved names
4004 and could be defined as macros in libc.
4007 2007-12-04 Alexander Larsson <alexl@redhat.com>
4010 (g_output_stream_close):
4011 Only call flush if non-null.
4013 2007-11-30 Dan Winship <danw@gnome.org>
4015 * ginputstream.c (g_input_stream_set_pending): Make this take a
4016 GError and return a gboolean, and do the "outstanding operation"
4017 check (and the "stream is already closed" check) itself.
4018 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
4020 * goutputstream.c (g_output_stream_set_pending)
4021 (g_output_stream_clear_pending): Likewise
4023 * gbufferedinputstream.c:
4024 * gfileinputstream.c:
4025 * gfileoutputstream.c: Update for that
4027 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
4028 Like g_simple_async_report_error_in_idle, but takes a GError
4029 rather than building one.
4031 2007-11-30 Dan Winship <danw@gnome.org>
4033 * goutputstream.c: Don't cheat and unset the "pending" flag around
4034 inner calls. Instead, call the class method directly rather than
4035 the wrapper function that checks "pending"
4037 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
4039 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
4041 2007-12-03 Hans Breuer <hans@breuer.org>
4043 [start of port to win32/msvc]
4044 * gcancellable.c : HAVE_UNIST_H and _pipe()
4045 * gcontenttype.c : only include <dirent.h> in the UNIX branch
4046 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
4047 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
4049 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
4050 * glocalvfs.c : use HAVE_PWD_H
4051 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
4052 * makefile.msc : new file (maybe later converted to makefile.msc.in)
4053 * Makefile.am : added to EXTRA_DIST
4055 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4057 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
4060 2007-12-03 Alexander Larsson <alexl@redhat.com>
4063 Handle OSX style xattrs API (#500506)
4065 2007-12-03 Alexander Larsson <alexl@redhat.com>
4069 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
4071 2007-12-02 A. Walton <awalton@svn.gnome.org>
4075 Documentation accuracy fixes.
4077 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
4079 * gioenumtypes.c.template: Fix typo.
4081 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4083 * gioenumtypes.c.template: Make threadsafe get_type() functions.
4085 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4087 * gdirectorymonitor.c:
4088 * gfilemonitor.c: Add properties
4090 * gbufferedoutputstream.c: Don't mark buffer-size property
4093 2007-12-01 Matthias Clasen <mclasen@redhat.com>
4095 * gbufferedoutputstream.c: Add auto-grow property.
4097 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4099 * *.c: Unify the capitalization of section headings.
4101 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4103 * gmountoperation.c: Add properties
4105 * gdatainputstream.c: Turn byte-order and newline-type into
4108 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4110 * gioenumtypes.[hc].template: Templates for enum registration
4112 * Makefile.am: Generate gioenumtypes.[hc]
4114 * gio.h: Include gioenumtypes.h
4116 * gfile.h: Add some explicit nicks.
4118 * gio.symbols: Add new symbols
4120 * pltcheck.sh: Adjust
4122 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4124 * *.c: Explain etags and link to the explanation
4126 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4128 * *.c: Explain I/O priority.
4130 * *.c: More coding style fixes.
4132 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4134 * gasyncresult.c: Add another paragraph to the intro,
4135 adjust coding style of example.
4137 2007-11-29 A. Walton <awalton@svn.gnome.org>
4140 Fixes unknown meaning in GAppLaunchContext docs.
4142 Clarify asynchronous ops.
4144 Fix entity tag docs.
4147 Provides missing gtk-doc section, fixes API docs slighly.
4148 * gsimpleasyncresult.c:
4149 Fill in missing info in docs.
4150 * gunixinputstream.c:
4151 * gunixoutputstream.c:
4152 Be more expressive in short description.
4154 Remove gtk-doc stubs for non-public API.
4156 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4158 * *.c: Coding style fixups
4160 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4162 * inotify/inotify-helper.c: Don't export the lock from libgio.
4164 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4167 * abicheck.sh: Fix copy-and-paste leftovers
4169 2007-11-28 Matthias Clasen <mclasen@redhat.com>
4171 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
4173 2007-11-28 Alexander Larsson <alexl@redhat.com>
4177 Removed unnecessary file
4179 * gdesktopappinfo.[ch]:
4182 * glocaldirectorymonitor.[ch]:
4184 * glocalfileenumerator.[ch]:
4185 * glocalfileinputstream.[ch]:
4186 * glocalfilemonitor.[ch]:
4187 * glocalfileoutputstream.[ch]:
4189 * gnativevolumemonitor.c:
4190 * gpollfilemonitor.[ch]:
4191 * gunionvolumemonitor.[ch]:
4194 * gunixvolumemonitor.[ch]:
4197 * inotify/ginotifydirectorymonitor.[ch]:
4198 * inotify/ginotifyfilemonitor.[ch]:
4199 * inotify/inotify-helper.c:
4200 Append _ to all internal functions
4204 Export symbols needed for modules
4206 2007-11-28 Alexander Larsson <alexl@redhat.com>
4209 * abicheck.sh: Added.
4210 * makegioalias.pl: Added.
4211 * pltcheck.sh: Added.
4212 * gio.symbols: Added.
4215 Initial work on adding symbol handling.
4218 Correct ifdef guard name
4221 * inotify/Makefile.am:
4222 * xdgmime/Makefile.am:
4223 Include toplevel Makefile.decl
4225 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4227 * gcontenttype.c: Move doc comments to the unix section.
4229 * *.[hc]: More trivial doc corrections.
4231 2007-11-27 Matthias Clasen <mclasen@redhat.com>
4233 * gpollfilemonitor.c:
4237 * gdesktopappinfo.c:
4242 * gdatainputstream.c:
4243 * gdatainputstream.h:
4244 * gdataoutputstream.c:
4245 * gdataoutputstream.h:
4246 * gfileinfo.h: Doc cleanups
4248 2007-11-28 Andre Klapper <a9016009@gmx.de>
4250 * gdesktopappinfo.c: Fix a typo.
4252 2007-11-27 Andre Klapper <a9016009@gmx.de>
4254 * glocalfileoutputstream.c: Fix a typo.
4256 2007-11-27 Alexander Larsson <alexl@redhat.com>
4259 Don't include removed headers
4261 2007-11-27 Alexander Larsson <alexl@redhat.com>
4264 * gsocketinputstream.[ch]: Removed.
4265 * gsocketoutputstream.[ch]: Removed.
4266 * gunixinputstream.[ch]: Added.
4267 * gunixoutputstream.[ch]: Added.
4268 Renamed GSocket*Stream to GUnix*Stream and made
4269 it unix-only, since its not really only for sockets
4270 and it only works on unix (but is highly useful there).
4272 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
4278 * gbufferedinputstream.c:
4279 * gbufferedinputstream.h:
4280 * gbufferedoutputstream.c:
4281 * gbufferedoutputstream.h:
4285 * gdatainputstream.c:
4286 * gdatainputstream.h:
4287 * gdataoutputstream.c:
4288 * gdataoutputstream.h:
4289 * gdirectorymonitor.c:
4290 * gdirectorymonitor.h:
4297 * gfileenumerator.c:
4298 * gfileenumerator.h:
4303 * gfileinputstream.c:
4304 * gfileinputstream.h:
4307 * gfilenamecompleter.c:
4308 * gfilenamecompleter.h:
4309 * gfileoutputstream.c:
4310 * gfileoutputstream.h:
4311 * gfilterinputstream.c:
4312 * gfilterinputstream.h:
4313 * gfilteroutputstream.c:
4314 * gfilteroutputstream.h:
4327 * glocalfileoutputstream.c:
4328 * gmemoryinputstream.c:
4329 * gmemoryinputstream.h:
4330 * gmemoryoutputstream.c:
4331 * gmemoryoutputstream.h:
4332 * gmountoperation.c:
4333 * gmountoperation.h:
4336 * gpollfilemonitor.c:
4339 * gsimpleasyncresult.c:
4340 * gsimpleasyncresult.h:
4341 * gsocketinputstream.c:
4342 * gsocketinputstream.h:
4343 * gsocketoutputstream.c:
4344 * gsocketoutputstream.h:
4351 * gunixvolumemonitor.c:
4360 Bumps documentation to 93% symbol coverage, touching most
4361 of the public files. Fixes broken function documentation prototypes.
4362 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
4363 gtk-doc headers in private files.
4365 2007-11-27 Jürg Billeter <j@bitron.ch>
4367 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4368 (g_buffered_input_stream_read_byte):
4369 * gbufferedinputstream.h:
4370 New functions for efficient access to buffer and simple single byte
4373 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
4374 (g_data_input_stream_read_until):
4375 * gdatainputstream.h:
4376 Use peek_buffer to avoid memcpy in scan_for_newline, implement
4377 read_until with multiple stop chars.
4379 2007-11-27 Alexander Larsson <alexl@redhat.com>
4383 * inotify/Makefile.am:
4384 Use the user-specified giomoduledir
4386 2007-11-27 Alexander Larsson <alexl@redhat.com>
4390 Add catch-all gio.h header
4391 Don't install gdummyfile.h
4393 2007-11-26 Alexander Larsson <alexl@redhat.com>
4395 * Makefile.am (gioinclude_HEADERS):
4396 Remove trailing whitespace
4398 2007-11-26 Alexander Larsson <alexl@redhat.com>
4400 Merge gio-standalone into glib
4402 2007-11-25 Christian Kellner <gicmo@gnome.org>
4404 * gio/goutputstream.c:
4405 Fix small mistake in the docs.
4407 2007-11-21 Christian Persch <chpe@gnome.org>
4409 * gio/glocalfile.c: (g_local_file_trash):
4410 Convert filenames to UTF-8 for GError.
4411 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
4412 as per xdg base dir spec.
4414 2007-11-21 Christian Persch <chpe@gnome.org>
4416 * gio/gdesktopappinfo.c:
4417 Use that g_key_file_to_data cannot fail.
4419 Use stock defines for the key file group and key names.
4422 2007-11-21 Alexander Larsson <alexl@redhat.com>
4425 (copy_stream_with_progress):
4426 Make sure we do a final progress callback with
4427 the full total size.
4429 2007-11-21 Alexander Larsson <alexl@redhat.com>
4432 Export g_file_copy_attributes
4433 Remove padding as its not needed for interfaces
4435 2007-11-20 Alexander Larsson <alexl@redhat.com>
4440 Add G_IO_ERROR_WOULD_MERGE for
4441 copy/move dir on dir with overwrite.
4443 2007-11-20 Alexander Larsson <alexl@redhat.com>
4446 * gio/glocalfileinfo.c:
4447 Add COPY_NAME (this is an optional
4448 non-modified utf8 version of the name) that
4451 2007-11-20 Alexander Larsson <alexl@redhat.com>
4453 * gio/glocalfileenumerator.c:
4454 Report errors as GIOError, not GFileError
4456 2007-11-16 Alexander Larsson <alexl@redhat.com>
4458 * gio/glocalfileoutputstream.c:
4459 * gio/gwin32appinfo.c:
4460 Fix typos in strings.
4461 Patch from Luca Ferretti <elle.uca@libero.it>
4463 2007-11-15 Alexander Larsson <alexl@redhat.com>
4466 Post release version bump
4468 === gio-standalone 0.1.2 ===
4470 2007-11-15 Alexander Larsson <alexl@redhat.com>
4472 * docs/reference/gio/Makefile.am:
4473 Fix up distcheck by removing weird
4479 2007-11-14 Alexander Larsson <alexl@redhat.com>
4481 * gio/gdesktopappinfo.c:
4482 * gio/glocaldirectorymonitor.c:
4484 * gio/glocalfileinfo.c:
4485 * gio/inotify/inotify-sub.c:
4486 * programs/gio-cat.c:
4487 * programs/gio-copy.c:
4488 * programs/gio-info.c:
4489 * programs/gio-ls.c:
4490 * programs/gio-monitor-dir.c:
4491 * programs/gio-monitor-file.c:
4492 * programs/gio-mount.c:
4493 * programs/gio-move.c:
4494 * programs/gio-rm.c:
4495 * programs/gio-save.c:
4496 * programs/gio-trash.c:
4497 Leak fixes from Kjartan Maraas
4499 2007-11-14 Alexander Larsson <alexl@redhat.com>
4501 * gio/fam/fam-helper.c:
4503 * gio/glocalfileinfo.c:
4507 * gio/inotify/inotify-diag.c:
4508 * gio/inotify/inotify-kernel.c:
4509 Various code cleanups from Kjartan Maraas
4511 2007-11-14 Alexander Larsson <alexl@redhat.com>
4513 * gio/gioscheduler.c:
4515 Set up threadpool so that we cache 2 unused
4516 idle threads for at 15 secs. This means we
4517 will reuse thread-local data (like dbus connections)
4520 2007-11-14 Alexander Larsson <alexl@redhat.com>
4522 * gio/fam/fam-helper.c:
4523 * gio/fam/gfamdirectorymonitor.c:
4524 * gio/fam/gfamfilemonitor.c:
4526 * gio/gcontenttype.c:
4527 * gio/gdatainputstream.c:
4528 * gio/gdataoutputstream.c:
4532 * gio/gfileattribute.h:
4533 * gio/gfileenumerator.c:
4535 * gio/ginputstream.c:
4538 * gio/glocalfileinfo.c:
4539 * gio/goutputstream.c:
4540 * gio/gpollfilemonitor.c:
4541 * gio/gsimpleasyncresult.c:
4542 * gio/gunixmounts.c:
4543 * gio/gunixmounts.h:
4544 * gio/inotify/ginotifydirectorymonitor.c:
4545 * gio/inotify/ginotifyfilemonitor.c:
4546 * gio/inotify/inotify-diag.c:
4547 * gio/inotify/inotify-kernel.c:
4548 * gio/inotify/inotify-path.c:
4550 * gio/test-streams.c:
4551 * programs/gio-info.c:
4552 * programs/gio-monitor-dir.c:
4553 * programs/gio-monitor-file.c:
4554 Various code cleanups from Kjartan Maraas
4556 2007-11-13 Alexander Larsson <alexl@redhat.com>
4559 Handle the uri-scheme calls for dummy files
4561 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4563 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4564 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4565 to avoid clash with the C++ keyword.
4567 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4569 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4570 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4572 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4574 * gio/glocaldirectorymonitor.c:
4575 * gio/glocalfilemonitor.c:
4576 * gio/gunionvolumemonitor.c:
4577 Don't use g_once_init_*() for initializations that could fail and
4578 could leave the initialization variable set to 0 but use GOnce.
4579 This prevents a deadlock on the second call when trying to create
4580 a monitor and no monitor type is available. Thanks to Sven Herzberg
4583 2007-11-11 Sven Herzberg <sven@imendio.com>
4585 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4586 #ifdef (make it work on MacOS X again)
4588 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4590 Fixes Changelog for last two commits (sorry guys).
4592 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4594 * gio/gbufferedinputstream.c:
4595 * gio/gdatainputstream.c:
4597 * gio/gfileoutputstream.c:
4598 * gio/gfilterinputstream.c:
4599 * gio/glocalfileinputstream.c:
4602 More consistency fixes in g*stream.c files.
4603 Significant clean of gfile's documentation, filling in of
4604 asynchronous operations documentation.
4606 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4608 * gio/gasyncresult.c:
4609 * gio/gbufferedinputstream.c:
4610 * gio/gbufferedoutputstream.c:
4611 * gio/gcancellable.c:
4612 * gio/gcontenttype.c:
4613 * gio/gdatainputstream.c:
4614 * gio/gdataoutputstream.c:
4615 * gio/gdesktopappinfo.c:
4618 * gio/gfileattribute.c:
4619 * gio/gio/gfileenumerator.c:
4621 * gio/gfileinputstream.c:
4622 * gio/gfilemonitor.c:
4623 * gio/gfileoutputstream.c:
4624 * gio/ginputstream.c:
4626 * gio/gioscheduler.c:
4627 * gio/gloadableicon.c:
4628 * gio/glocalfileoutputstream.c:
4629 * gio/gmemoryoutputstream.c:
4630 * gio/gmountoperation.c:
4631 * gio/goutputstream.c:
4633 * gio/gsimpleasyncresult.c:
4634 * gio/gunionvolumemonitor.c:
4635 * gio/gunixmounts.c:
4636 * gio/gunixvolume.c:
4640 * gio/gvolumemonitor.c:
4641 Updated documentation stubs, working towards consistency and
4644 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4646 * gio/gmemoryoutputstream.c:
4647 * gio/gmemoryoutputstream.h:
4648 Change g_memory_output_stream_set_free_on_close() to
4649 g_memory_output_stream_set_free_data() as this makes more sense and
4650 is more consistent with GMemoryInputStream.
4652 2007-11-07 Alexander Larsson <alexl@redhat.com>
4659 Change how we find the default vfs so that
4660 we can handle a gvfs failing to init
4662 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4664 * gio/gbufferedoutputstream.c:
4665 * gio/gdatainputstream.c:
4666 * gio/gdataoutputstream.c:
4667 * gio/gfileinputstream.c:
4668 * gio/gfileoutputstream.c:
4669 * gio/gfilterinputstream.c:
4670 * gio/gfilteroutputstream.c:
4671 * gio/ginputstream.c:
4672 * gio/gmemoryinputstream.c:
4673 * gio/gmemoryoutputstream.c:
4674 * gio/goutputstream.c:
4675 * gio/gsimpleasyncresult.c:
4676 * gio/gsocketinputstream.c:
4677 * gio/gsocketoutputstream.c:
4678 Add guards to the remaining public functions, add a TODO for
4679 an unimplemented function and remove some useless guards.
4681 2007-11-07 Alexander Larsson <alexl@redhat.com>
4684 Autoconf checks for the various types of
4685 getpwuid_r and getgrgid_r
4687 * gio/glocalfileinfo.c:
4688 Use the autoconf checks from above
4690 2007-11-07 Alexander Larsson <alexl@redhat.com>
4693 (g_local_file_query_filesystem_info):
4694 Some fixes for the statvfs case
4696 2007-11-07 Alexander Larsson <alexl@redhat.com>
4699 (g_local_file_query_filesystem_info):
4700 Pick the "best" of statfs / statvfs for the system
4701 if both are availible.
4703 2007-11-07 Alexander Larsson <alexl@redhat.com>
4705 Solaris fixes from Halton.Huo@Sun.COM:
4712 * gio/glocalfileinfo.c:
4713 Fix for solaris definition of getpwuid_r
4715 * gio/test-streams.c:
4716 Use G_GNUC_PRETTY_FUNCTION
4718 2007-11-07 Alexander Larsson <alexl@redhat.com>
4720 * gio/gdesktopappinfo.c:
4721 (update_default_list):
4722 Remove double semicolon.
4723 Patch from Jens Granseuer
4725 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4727 * docs/reference/gio/gio-sections.txt:
4728 * gio/gbufferedinputstream.c:
4729 * gio/gbufferedinputstream.h:
4730 * gio/gdatainputstream.c:
4731 * gio/gfileenumerator.c:
4732 * gio/gioscheduler.c:
4733 * gio/gunionvolumemonitor.c:
4735 * programs/gio-save.c:
4736 Fix typo: availible -> available. Unfortuntely this breaks API
4737 and ABI as g_buffered_input_stream_get_available() was renamed.
4739 * gio/gunixmounts.c:
4740 * gio/gbufferedinputstream.c:
4741 Add guards for public functions.
4743 2007-11-06 Ross Burton <ross@openedhand.com>
4745 * docs/reference/gio/Makefile.am:
4746 Fix invalid += usage which automake 1.10 doesn't like.
4748 2007-11-06 Alexander Larsson <alexl@redhat.com>
4751 (g_app_launch_context_class_init):
4754 Patch from Ross Burton
4756 2007-11-06 Alexander Larsson <alexl@redhat.com>
4759 Post release version bump
4761 === gio-standalone 0.1.1 ===
4763 2007-11-06 Alexander Larsson <alexl@redhat.com>
4766 Bump version to 0.1.1
4768 * gio/gsimpleasyncresult.c:
4769 (g_simple_async_result_set_from_error):
4770 Remove bogus g_return_if_fail
4772 2007-11-06 Alexander Larsson <alexl@redhat.com>
4775 The name is gio-standalone
4778 Add top src/builddir to includedir
4780 2007-11-06 Alexander Larsson <alexl@redhat.com>
4782 * docs/reference/gio/gio-sections.txt:
4784 * gio/gbufferedinputstream.c:
4785 * gio/gbufferedoutputstream.c:
4786 * gio/gcancellable.c:
4787 * gio/gdatainputstream.h:
4788 * gio/gdataoutputstream.c:
4789 * gio/gdataoutputstream.h:
4790 * gio/gdirectorymonitor.c:
4792 * gio/gfileattribute.c:
4793 * gio/gfileattribute.h:
4794 * gio/gfileenumerator.c:
4795 * gio/gfileenumerator.h:
4798 * gio/gfileinputstream.h:
4799 * gio/gfilemonitor.c:
4800 * gio/gfileoutputstream.h:
4801 * gio/glocalfilemonitor.h:
4802 * gio/glocalfileoutputstream.h:
4803 * gio/gmemoryinputstream.c:
4804 * gio/gmemoryoutputstream.c:
4805 * gio/gmountoperation.c:
4806 * gio/goutputstream.c:
4807 * gio/goutputstream.h:
4809 * gio/gsimpleasyncresult.c:
4810 * gio/gunixmounts.c:
4811 * gio/gunixmounts.h:
4813 * gio/inotify/inotify-helper.c:
4814 Fix gtk-doc warnings
4816 Patch from Ross Burton
4818 2007-11-06 Alexander Larsson <alexl@redhat.com>
4820 * gio/gfilenamecompleter.c:
4821 (g_filename_completer_get_completions):
4824 * gio/gunixvolume.c:
4825 Remove unused function
4827 Patches from Ross Burton
4829 2007-11-06 Alexander Larsson <alexl@redhat.com>
4834 Padding not needed for interfaces
4836 2007-11-06 Alexander Larsson <alexl@redhat.com>
4838 * gio/gfilemonitor.c:
4842 Make giotypes.h an internal file
4845 * gio/gbufferedinputstream.h:
4846 * gio/gbufferedoutputstream.h:
4847 * gio/gcancellable.h:
4848 * gio/gdatainputstream.h:
4849 * gio/gdataoutputstream.h:
4850 * gio/gdirectorymonitor.c:
4851 * gio/gdirectorymonitor.h:
4856 * gio/gfileattribute.h:
4857 * gio/gfileenumerator.h:
4862 * gio/gfilemonitor.c:
4863 * gio/gfilemonitor.h:
4864 * gio/gfilenamecompleter.c:
4865 * gio/gfilenamecompleter.h:
4866 * gio/gfilterinputstream.h:
4867 * gio/gfilteroutputstream.h:
4868 * gio/ginputstream.h:
4869 * gio/gmemoryinputstream.h:
4870 * gio/gmemoryoutputstream.h:
4871 * gio/gmountoperation.c:
4872 * gio/gmountoperation.h:
4873 * gio/gnativevolumemonitor.c:
4874 * gio/goutputstream.h:
4877 * gio/gsimpleasyncresult.c:
4878 * gio/gsimpleasyncresult.h:
4879 * gio/gsocketinputstream.h:
4880 * gio/gsocketoutputstream.h:
4881 * gio/gthemedicon.c:
4882 * gio/gthemedicon.h:
4886 * gio/gvolumemonitor.c:
4887 * gio/gvolumemonitor.h:
4888 Add padding in classes where it seems useful
4889 Don't include giotypes.h from public headers
4890 Move in Class definitions into c file where possible
4895 2007-11-06 Alexander Larsson <alexl@redhat.com>
4897 * docs/reference/gio/gio-docs.xml:
4898 Better structure for API docs
4900 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4903 * gio/gloadableicon.c:
4904 * gio/gsimpleasyncresult.c:
4905 * gio/gthemedicon.c:
4906 Add some more guards to public functions. Only files missing are now
4909 2007-11-06 Alexander Larsson <alexl@redhat.com>
4911 * docs/reference/gio/gio-docs.xml:
4912 Remove old files, add missing ones
4914 2007-11-06 Alexander Larsson <alexl@redhat.com>
4916 * docs/reference/gio/gio-sections.txt:
4919 Hide implementation classes
4921 * gio/gdriveprivate.h:
4922 * gio/gvolumeprivate.h:
4923 Remove non-existing function declarations
4925 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4928 Fix compilation warnings and add guards to the new functions.
4930 * gio/gasyncresult.c:
4932 Add guards to the public functions.
4935 Implement get_path().
4937 2007-11-06 Alexander Larsson <alexl@redhat.com>
4939 * gio/gfilenamecompleter.c:
4940 Make g_filename_completer_get_completions
4941 return char ** instead of GList for
4944 * docs/reference/gio/gio-docs.xml:
4945 * docs/reference/gio/gio-sections.txt:
4947 * gio/gasyncresult.c:
4948 * gio/gbufferedinputstream.c:
4949 * gio/gbufferedoutputstream.c:
4950 * gio/gcancellable.c:
4951 * gio/gcontenttype.c:
4952 * gio/gdatainputstream.c:
4953 * gio/gdataoutputstream.c:
4954 * gio/gdesktopappinfo.c:
4955 * gio/gdirectorymonitor.c:
4959 * gio/gfileattribute.c:
4960 * gio/gfileenumerator.c:
4963 * gio/gfileinputstream.c:
4964 * gio/gfilemonitor.c:
4965 * gio/gfilenamecompleter.c:
4966 * gio/gfilenamecompleter.h:
4967 * gio/gfileoutputstream.c:
4968 * gio/gfilterinputstream.c:
4970 * gio/ginputstream.c:
4972 * gio/gioscheduler.c:
4973 * gio/gloadableicon.c:
4974 * gio/glocaldirectorymonitor.c:
4976 * gio/glocalfileinputstream.c:
4977 * gio/glocalfilemonitor.c:
4978 * gio/glocalfileoutputstream.c:
4980 * gio/gmemoryinputstream.c:
4981 * gio/gmemoryoutputstream.c:
4982 * gio/gmountoperation.c:
4983 * gio/goutputstream.c:
4984 * gio/gpollfilemonitor.c:
4986 * gio/gsimpleasyncresult.c:
4987 * gio/gsocketinputstream.c:
4988 * gio/gsocketoutputstream.c:
4989 * gio/gthemedicon.c:
4990 * gio/gunionvolumemonitor.c:
4992 * gio/gunixmounts.c:
4993 * gio/gunixvolume.c:
4994 * gio/gunixvolumemonitor.c:
4998 * gio/gvolumemonitor.c:
4999 * gio/gwin32appinfo.c:
5000 Add (mostly stub) doc strings to public functions.
5001 Patch from Andrew Walton (awalton@gmail.com)
5003 2007-11-06 Alexander Larsson <alexl@redhat.com>
5005 * gio/gappinfo.[ch]:
5006 Added GAppLaunchContext object and pass that to launch.
5007 This allows simple implementation of both
5008 launch-on-screen and startup notification via a gtk+
5009 subclass of GAppLaunchContext
5011 * gio/gdesktopappinfo.c:
5012 Implement GAppLaunchContext API
5014 * gio/gwin32appinfo.c:
5017 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5019 * gio/gmountoperation.c:
5020 Add some guards to GMountOperation's public functions.
5022 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5026 * gio/gcancellable.c:
5027 * gio/gdirectorymonitor.c:
5029 * gio/gfileenumerator.c:
5030 * gio/gfilemonitor.c:,
5031 * gio/gfilenamecompleter.c:
5034 * gio/gioscheduler.c:
5038 * gio/gvolumemonitor.c:
5039 Add even more guards to various public functions.
5041 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5044 Add guards to the public functions of GAppInfo.
5046 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5048 * gio/gcontenttype.c:
5049 Add some more guards for public functions.
5051 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5053 * gio/fam/fam-module.c:
5054 * gio/fam/gfamdirectorymonitor.c:
5055 * gio/fam/gfamdirectorymonitor.h:
5056 * gio/fam/gfamfilemonitor.c:
5057 * gio/fam/gfamfilemonitor.h:
5058 * gio/inotify/ginotifydirectorymonitor.c:
5059 * gio/inotify/ginotifydirectorymonitor.h:
5060 * gio/inotify/ginotifyfilemonitor.c:
5061 * gio/inotify/ginotifyfilemonitor.h:
5062 Add proper copyright information and remove an unused variable
5063 in the GInotifyFileMonitor constructor.
5065 * gio/gcancellable.c:
5066 Add a guard for a public function and an assertion to prevent
5067 an undefined program state.
5069 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
5071 * gio/gfileattribute.c:
5072 Don't run into an assertion if the given attribute value is NULL
5073 in g_file_attribute_value_get_*() but instead return a fallback
5074 value that makes sense in most situations. Passing them a attribute
5075 value with the wrong type will still run into an assertion.
5077 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5079 * gio/gfileattribute.c:
5081 Add even more guards to the public functions. Also fix the refcounting
5082 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
5083 let g_file_info_list_attributes() filter the attributes by namespace
5084 instead of simply ignoring the namespace parameter.
5086 2007-11-03 Sven Herzberg <sven@imendio.com>
5088 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
5089 (This makes gio work on MacOS X again)
5091 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5094 Build the gio subdirectory before the docs. Otherwise the build will
5097 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
5098 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
5099 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
5100 Add guards to the public functions.
5102 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
5104 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
5105 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
5106 to prevent a compiler warning.
5108 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
5109 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
5110 return something in the non-void function find_topdir_for().
5112 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
5119 2007-11-01 Ryan Lortie <desrt@desrt.ca>
5121 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
5122 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
5123 * gwin32appinfo.c (g_win32_app_info_launch):
5124 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
5125 envp_for_startup_id, g_desktop_app_info_launch,
5126 g_desktop_app_info_launch_uris):
5128 Give an opaque 'startup_id' string instead of 'envp'.
5129 Support empty file lists for launching new windows.
5130 Fix infinite recursion bug when launching URIs.
5132 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5135 Add guard to the new g_file_get_uri_scheme() function.
5137 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5140 Convert a g_return_val_if_fail() to setting the GError instead as
5141 otherwise applications have to verify the parameter before otherwise
5142 and the parameter might come directly from the user.
5144 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5146 * gio/inotify/ginotify*.[ch]:
5147 Add missing copyright information.
5149 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
5152 Add guards in the beginning of public functions to check for valid
5153 parameters and fix a bug in copy_stream_with_progress() that could've
5154 caused writing less bytes than reading.
5155 * gio/glocalfileinfo.c:
5156 Check for a NULL parameter and set the GError accordingly then.
5157 * gio/goutputstream.c:
5158 Fix the same bug as in gfile.c that could've caused writing less bytes
5159 than reading in g_output_stream_real_splice().
5161 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
5164 Use the correct gvolumeprivate.h naming
5166 2007-11-01 Christian Kellner <gicmo@gnome.org>
5169 Remove leftover "$(daemon_sources)" entry.
5171 2007-11-01 Christian Kellner <gicmo@gnome.org>
5176 Add copyright information to source files.
5178 2007-11-01 Alexander Larsson <alexl@redhat.com>
5182 Add g_file_get_uri_scheme
5184 2007-11-01 Alexander Larsson <alexl@redhat.com>
5187 * gio/gdesktopappinfo.c:
5188 * gio/gwin32appinfo.c:
5189 Add g_app_info_get_default_for_uri_scheme.
5191 2007-11-01 Alexander Larsson <alexl@redhat.com>
5194 Correct filename for gdriveprivate.h
5196 2007-10-31 Alexander Larsson <alexl@redhat.com>
5199 Rename id:value to id:file
5202 * gio/glocalfileinfo.c:
5205 2007-10-31 Alexander Larsson <alexl@redhat.com>
5207 * gio/gunixvolume.c:
5209 Remove g_volume_get_platform_id, as thats not
5210 needed with the simpler union volume monitor
5212 2007-10-31 Alexander Larsson <alexl@redhat.com>
5215 * gio/guniondrive.[ch]: Removed.
5216 * gio/gunionvolume.[ch]: Removed.
5217 Remove GUnionDrive/Volume
5219 * gio/gunionvolumemonitor.c:
5220 Simplify union volume monitor, now we
5221 only have one native volume monitor and
5222 we use the actual volumes/drives from the
5223 child monitors instead of wrapping them
5225 * gio/gnativevolumemonitor.[ch]:
5226 Base class for native volume monitors.
5227 Includes priority and get_volume_for_mountpoint
5230 Add g_file_find_enclosing_volume
5233 Remove volume name fs attribute
5234 Add readonly fs attribute
5237 Implement readonly attribute
5238 remove volume name attribute
5239 Implement find_enclosing volume
5241 * gio/gunixmounts.c:
5242 Add a volume for "/".
5244 * gio/gunixvolume.[ch]:
5245 Set better name for /
5247 * gio/gunixvolumemonitor.[ch]:
5248 Derive from GNativeVolumeMonitor
5249 Implement get_volume_for_mountpoint
5252 GVolume typedef moved to gfile.h
5254 * gio/gvolumeprivate.h:
5255 Add g_volume_get_for_mount_path
5257 2007-10-31 Alexander Larsson <alexl@redhat.com>
5259 * gio/gunixmounts.[ch]:
5260 Add cache info to unix mount listers
5261 Make getmntent use threadsafe
5262 Add is_system_internal attribute for GUnixMount
5264 * gio/gunixvolume.c:
5265 (g_unix_volume_new):
5266 Use is_system_internal instead of own code
5268 * gio/glocaldirectorymonitor.c:
5269 * gio/gunixvolumemonitor.c:
5270 Update to new gunixmounts API
5275 2007-10-30 Alexander Larsson <alexl@redhat.com>
5278 Add volume name fsinfo attribute
5281 Read volume name info
5283 * gio/gunionvolumemonitor.c:
5284 Fix infinite loops when finalizing a union volume monitor
5286 2007-10-30 Alexander Larsson <alexl@redhat.com>
5288 * gio/goutputstream.[ch]:
5289 Add splice() with default implementation
5291 * gio/gsocketoutputstream.c:
5292 (g_socket_output_stream_write):
5293 Return error on cancellation correctly.
5295 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5297 * gio/glocalfile.c (g_local_file_trash):
5298 Do not leak a string.
5300 2007-10-26 Paolo Borelli <pborelli@katamail.com>
5302 * gio/gfile.c (g_file_load_contents):
5303 Unref the stream after closing it.
5305 2007-10-25 Alexander Larsson <alexl@redhat.com>
5307 * gio/gioscheduler.h:
5310 2007-10-25 Alexander Larsson <alexl@redhat.com>
5314 Add g_file_has_uri_scheme and implement for local files
5316 2007-10-25 Paolo Borelli <pborelli@katamail.com>
5318 * gio/gdesktopappinfo.c: do not leak a string.
5320 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5322 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
5323 (g_local_directory_monitor_new):
5324 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
5325 (g_local_file_monitor_new):
5326 Only look for the monitor type that should be used the first time
5327 and use g_qsort_with_data() instead of our own bubble sort
5330 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
5333 * gio/fam/Makefile.am:
5334 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
5335 * gio/fam/fam-helper.h:
5336 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
5337 * gio/fam/gfamdirectorymonitor.c:
5338 * gio/fam/gfamdirectorymonitor.h:
5339 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
5340 * gio/fam/gfamfilemonitor.h:
5341 * gio/glocaldirectorymonitor.c:
5342 * gio/glocaldirectorymonitor.h:
5343 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
5344 * gio/glocalfilemonitor.h:
5345 * gio/inotify/Makefile.am:
5346 * gio/inotify/ginotifydirectorymonitor.c:
5347 * gio/inotify/ginotifydirectorymonitor.h:
5348 * gio/inotify/ginotifyfilemonitor.c:
5349 * gio/inotify/ginotifyfilemonitor.h:
5350 Implement the FAM and Inotify monitors as
5351 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
5352 their own GIO module. GLocal(Directory|File)Monitor will use the
5353 monitor with the highest rank that is supported on that machine.
5355 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
5358 Change GIO module dir to $(libdir)/gio/modules and change
5359 the log domain from GVFS to GIO. Also only export symbols starting
5360 with g_ in the resulting library.
5361 * gio/test-streams.c: (main):
5362 Set log handler for the GIO log domain.
5364 2007-10-22 Alexander Larsson <alexl@redhat.com>
5366 * gio/gfilenamecompleter.[ch]:
5367 Add g_filename_completer_set_dirs_only
5369 2007-10-22 Alexander Larsson <alexl@redhat.com>
5372 * gio/gurifuncs.[ch]:
5373 Add some simple URI helpers
5375 * gio/gfilenamecompleter.[ch]:
5376 Added object for filename (parse name actually) completion
5379 Handle ~ in parse names
5381 2007-10-17 Alexander Larsson <alexl@redhat.com>
5384 * gio/glocalfileinfo.c:
5385 Add and implement id:value attribute
5387 2007-10-17 Alexander Larsson <alexl@redhat.com>
5390 * gio/guniondrive.c:
5392 Add and implement g_drive_has_volumes
5394 2007-10-17 Alexander Larsson <alexl@redhat.com>
5397 * gio/glocalfileinfo.[ch]:
5398 Add unix:is_mountpoint and implement for local files
5400 2007-10-16 Alexander Larsson <alexl@redhat.com>
5402 * gio/gunionvolumemonitor.c:
5403 (g_union_volume_monitor_init):
5404 Fix up the unix type getting so that it works with gcc
5406 2007-10-12 Alexander Larsson <alexl@redhat.com>
5409 * gio/glocalfileinfo.c:
5410 Add thumbnail:failed to file info
5412 2007-10-12 Richard Hult <richard@imendio.com>
5414 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
5415 optimizing away the get_type call (happens with some gcc versions,
5416 like the one shipped with OS X 10.4).
5418 2007-10-12 Alexander Larsson <alexl@redhat.com>
5420 * gio/glocalfileinfo.c:
5421 (_g_local_file_info_set_attribute):
5422 Fix build if not HAVE_XATTR
5423 Patch from Milosz Derezynski <internalerror@gmail.com>
5425 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
5427 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
5428 around for review, otherwise I would have asked you before
5431 2007-10-11 Alexander Larsson <alexl@redhat.com>
5434 Add thumbnail:path attribute
5436 * gio/glocalfileinfo.c:
5437 Implement thumbnail:path for local files
5439 2007-10-11 Alexander Larsson <alexl@redhat.com>
5441 * gio/glocalfileinfo.c:
5442 (_g_local_file_info_get):
5443 Avoid duplicate icon names
5445 2007-10-11 Alexander Larsson <alexl@redhat.com>
5447 * gio/gthemedicon.[ch]:
5448 Change g_themed_icon_get_names return type to const
5450 2007-10-10 Alexander Larsson <alexl@redhat.com>
5452 * gio/glocalfileinfo.c:
5453 Don't reference freed memory
5455 2007-10-10 Alexander Larsson <alexl@redhat.com>
5457 * gio/gfileattribute.c:
5460 * gio/glocalfileinfo.c:
5463 2007-10-10 Alexander Larsson <alexl@redhat.com>
5466 Check for NULL icons
5468 * gio/gfileattribute.c:
5469 Don't dup when getting objects (same as for string attributes)
5471 * gio/gicon.c (g_icon_equal):
5472 Safely handle NULLs in equal
5474 2007-10-10 Alexander Larsson <alexl@redhat.com>
5477 Fix c++ compilation issues
5478 Patch from Milosz Derezynski <internalerror@gmail.com>
5480 2007-10-10 Alexander Larsson <alexl@redhat.com>
5482 * programs/gio-monitor-dir.c:
5483 Don't crash if dir monitor not supported.
5485 2007-10-09 Alexander Larsson <alexl@redhat.com>
5488 Add missing G_END_DECLS
5490 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5492 * gio/gfile.c: (g_file_set_display_name),
5493 (g_file_query_settable_attributes),
5494 (g_file_query_writable_namespaces):
5495 Return NULL not FALSE on errors as the return type is a pointer.
5497 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5499 * gio/glocalfile.c: (g_local_file_monitor_file):
5500 Don't call monitor_file on the default interface vtable (which
5501 is NULL) but simply return NULL. The caller, GFile, will create a
5502 polling monitor if NULL is returned.
5504 2007-10-09 Alexander Larsson <alexl@redhat.com>
5508 * gio-unix-2.0.pc.in:
5509 Add gio-unix-2.0.pc if OS_UNIX
5512 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5514 2007-10-09 Alexander Larsson <alexl@redhat.com>
5516 * gio/gunixmounts.[ch]:
5517 Make unix mount monitoring API sane.
5518 Now its just a object with mounts_changed
5519 and mountpoints_changed signals.
5521 * gio/glocaldirectorymonitor.c:
5522 * gio/gunixvolumemonitor.c:
5523 Use new mount monitor api
5525 2007-10-09 Alexander Larsson <alexl@redhat.com>
5527 * gio/gunixmounts.[ch]:
5528 Move guess type into one call for mounts and one for mountpoints
5531 * gio/gunixvolume.c:
5534 2007-10-09 Alexander Larsson <alexl@redhat.com>
5536 * gio/gunixmounts.[ch]:
5537 Remove _ prefix in preparation to make this semi-public
5538 Hide implementation of structs
5540 * gio/glocaldirectorymonitor.c:
5542 * gio/gunixvolume.c:
5543 * gio/gunixvolumemonitor.c:
5544 Update for above API changes
5546 2007-10-08 Alexander Larsson <alexl@redhat.com>
5549 Better polling fallback. This also handles the case where we have
5550 a monitor_file implementation, but it fails.
5552 2007-10-08 Alexander Larsson <alexl@redhat.com>
5556 * gio/gunixmounts.c:
5557 * programs/gio-monitor-dir.c:
5558 * programs/gio-monitor-file.c:
5559 Added cancellable to file monitoring calls.
5560 These are really sync calls and need this.
5562 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5564 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5565 (g_local_vfs_class_init):
5566 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5567 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5569 2007-10-05 Alexander Larsson <alexl@redhat.com>
5571 * gio/gdirectorymonitorprivate.h:
5572 * gio/gfilemonitorprivate.h:
5573 * gio/gdirectorymonitor.h:
5574 * gio/gfilemonitor.h:
5575 Remove *private.h and move to the public API, so that
5576 we can do implementations outside gio (such as in gvfs)
5578 * gio/gdirectorymonitor.c:
5579 * gio/gfilemonitor.c:
5580 * gio/glocaldirectorymonitor.c:
5581 * gio/gpollfilemonitor.c:
5582 * gio/inotify/inotify-helper.c:
5583 * gio/fam/fam-helper.c:
5584 Update to the new header names
5586 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5588 * gio/gdirectorymonitor.c:
5589 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5592 2007-10-04 Alexander Larsson <alexl@redhat.com>
5594 * gio/glocalfileinfo.c (get_access_rights):
5595 Set CAN_TRASH when we can move the file.
5596 We should really also check for a parent trash dir.
5598 2007-10-04 Alexander Larsson <alexl@redhat.com>
5600 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5601 Add can_trash access attribute
5603 2007-10-04 Alexander Larsson <alexl@redhat.com>
5606 (g_local_file_trash):
5607 Create info file first. This is per-spec and allows
5608 us to actually trash directories.
5610 2007-10-02 Alexander Larsson <alexl@redhat.com>
5612 * gio/gdesktopappinfo.c:
5613 Implement the new mime support code.
5614 Always set app as handling mimetype when being set as default for it
5616 2007-10-01 Alexander Larsson <alexl@redhat.com>
5618 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5619 Fix up check for xattrs:
5621 2007-10-01 Alexander Larsson <alexl@redhat.com>
5624 (g_app_info_set_as_default_for_extension):
5625 (g_app_info_add_supports_type):
5626 (g_app_info_can_remove_supports_type):
5627 (g_app_info_remove_supports_type):
5628 Make these fail nicely if not implemented
5630 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5632 * gio/glocalfileoutputstream.c:
5633 * gio/glocalfileoutputstream.h:
5638 * programs/gio-save.c:
5639 Add a GFileCreateFlags argument to operations that can create
5642 2007-10-01 Alexander Larsson <alexl@redhat.com>
5644 * gio/gappinfo.[ch]:
5645 * gio/gdesktopappinfo.c:
5646 Add more (stubbed out) mime API needed for nautilus
5648 2007-10-01 Alexander Larsson <alexl@redhat.com>
5651 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5652 Add g_app_info_set_as_default_for_extension.
5654 * gio/gdesktopappinfo.c:
5655 Dummy for g_app_info_set_as_default_for_extension
5656 Support flags in g_app_info_create_from_commandline
5658 * gio/gwin32appinfo.c:
5660 Update for API changes
5662 * gio/gthemedicon.c:
5663 Properly NULL-terminate list of icon names
5665 2007-09-28 Alexander Larsson <alexl@redhat.com>
5667 * gio/gloadableicon.h:
5668 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5670 2007-09-28 Alexander Larsson <alexl@redhat.com>
5673 Install headers in $includedir/gio-standalone/
5675 * gio-2.0.pc.in: Added.
5676 * gio-standalone.pc.in: Removed.
5679 Renamed pkg-config file to match glib (for future move)
5680 Update to the new include dir
5683 Add more TODO comments
5685 2007-09-28 Alexander Larsson <alexl@redhat.com>
5687 * gio/gdesktopappinfo.[ch]:
5688 Expose new_from_filename
5689 Add getter for is_hidden and handle it better
5691 2007-09-28 Alexander Larsson <alexl@redhat.com>
5693 * gio/gfileinfo.[ch]:
5694 Rename g_file_size_format_for_display to
5695 g_format_file_size_for_display.
5696 Now it doesn't have the g_file prefix, so we
5697 can later move it to glib.
5699 2007-09-28 Alexander Larsson <alexl@redhat.com>
5701 * gio/gappinfo.[ch]:
5702 Add g_app_info_get_id and g_app_info_get_executable.
5703 Make all getters non-reffing
5704 Make g_app_info_launch take GFile arguments.
5705 Add must_support_uris argument to g_app_info_get_default_for_type.
5707 * gio/gwin32appinfo.c:
5708 Update to GAppInfo api changes
5710 * gio/gdesktopappinfo.c:
5711 Update to GAppInfo api changes
5712 Implement supports_xdg_startup_notify
5714 * gio/gfileicon.c (g_file_icon_get_file):
5715 Make getter non-reffing.
5720 2007-09-27 Alexander Larsson <alexl@redhat.com>
5722 * gio/gfileinfo.[ch]:
5723 Add g_file_size_format_for_display helper
5725 2007-09-27 Alexander Larsson <alexl@redhat.com>
5727 * gio/glocalfileinfo.c:
5728 Set UNIX_GID from gid, not from uid
5730 2007-09-27 Alexander Larsson <alexl@redhat.com>
5733 Add g_file_set_attributes_async
5735 2007-09-27 Alexander Larsson <alexl@redhat.com>
5737 * gio/glocalfile.c (g_local_file_set_display_name):
5738 Fix set_display_name to actually rename to the right place.
5739 Use lstat to look for existing files so we don't overwrite
5742 2007-09-26 Alexander Larsson <alexl@redhat.com>
5745 Add g_file_set_display_name_async()
5747 2007-09-26 Alexander Larsson <alexl@redhat.com>
5750 Add load_partial_contents async calls
5753 Make internal function static
5755 2007-09-26 Alexander Larsson <alexl@redhat.com>
5757 * gio/glocalfileinfo.c:
5758 Correctly detect broken symlinks
5760 2007-09-26 Alexander Larsson <alexl@redhat.com>
5762 * gio/gcancellable.c (g_cancellable_cancel):
5763 Allow cancel on NULL cancellable
5765 2007-09-25 Alexander Larsson <alexl@redhat.com>
5767 * gio/gsimpleasyncresult.c:
5768 Don't allocate g_error manually.
5769 Fixes g_slice/g_new mixup crash
5771 2007-09-25 Alexander Larsson <alexl@redhat.com>
5773 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5774 Actually set active_backend.
5775 This means the monitor will be cancelled correctly.
5777 2007-09-25 Alexander Larsson <alexl@redhat.com>
5779 * gio/gdirectorymonitor.c:
5780 Set timeout to NULL when destroying
5782 2007-09-25 Alexander Larsson <alexl@redhat.com>
5785 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5786 that is a better description of the error.
5788 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5790 * gio/gvfs.c: (g_vfs_get_local):
5791 Make the local vfs variable static. The same instance should
5794 2007-09-24 Alexander Larsson <alexl@redhat.com>
5796 * gio/glocalfileinfo.c:
5797 Pass in actual length read into sniffer, not the length
5800 2007-09-21 Alexander Larsson <alexl@redhat.com>
5802 * gio/gfileenumerator.c:
5805 * gio/gfileinputstream.c:
5806 * gio/gfileoutputstream.c:
5807 * gio/ginputstream.c:
5808 * gio/goutputstream.c:
5809 Don't crash if async callbacks are NULL
5811 2007-09-20 Alexander Larsson <alexl@redhat.com>
5814 Add async enumerate_children method and default
5817 2007-09-20 Alexander Larsson <alexl@redhat.com>
5820 Add g_file_contains_file & g_file_get_relative_path, since they
5821 were needed for nautilus.
5822 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5827 Implement new methods
5829 2007-09-17 Alexander Larsson <alexl@redhat.com>
5832 * gio/gfileinputstream.[ch]:
5833 * gio/gfileoutputstream.[ch]:
5835 * gio/glocalfileenumerator.[ch]:
5836 * gio/glocalfileinfo.[ch]:
5837 * gio/glocalfileinputstream.c:
5838 * gio/glocalfileoutputstream.c:
5839 * gio/gpollfilemonitor.c:
5840 * programs/gio-copy.c:
5841 * programs/gio-info.c:
5842 * programs/gio-move.c:
5843 Rename get_file_info to query_info() to make it clearer
5844 that these are not simple getters, but do i/o.
5846 2007-09-17 Alexander Larsson <alexl@redhat.com>
5848 * gio/gdatainputstream.[ch]:
5849 * gio/test-streams.c:
5850 Use _read_XXX instead of _get_XXX for the i/o calls
5853 2007-09-17 Alexander Larsson <alexl@redhat.com>
5856 Added needed stuff to TODO comment
5858 2007-09-17 Alexander Larsson <alexl@redhat.com>
5860 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5861 Don't error out removing the backup copy if it doesn't
5864 2007-09-14 Alexander Larsson <alexl@redhat.com>
5866 * programs/Makefile.am:
5867 * programs/gvfs-*.c:
5869 Renamed apps from gvfs-xxx to gio-xxx.
5871 2007-09-14 Alexander Larsson <alexl@redhat.com>
5874 * gio/gfileoutputstream.[ch]:
5875 * gio/glocalfileoutputstream.c:
5876 * programs/gvfs-save.c:
5877 g_file_output_stream_get_etag doesn't do i/o, so remove
5878 cancellation and error.
5880 2007-09-14 Alexander Larsson <alexl@redhat.com>
5883 Add new_etag output to replace_contents functions
5885 2007-09-14 Alexander Larsson <alexl@redhat.com>
5887 * gio/gfileoutputstream.[ch]:
5888 Add async get_file_info and default implementation
5890 2007-09-14 Alexander Larsson <alexl@redhat.com>
5892 * gio/gfileinputstream.c:
5893 Implement fallback wrapper for async get_file_info
5895 2007-09-14 Alexander Larsson <alexl@redhat.com>
5898 Add etag out argument to load_contents
5903 2007-09-14 Alexander Larsson <alexl@redhat.com>
5905 * gio/gcontenttype.c (looks_like_text):
5906 Whitespace like tab, cr and lf do not make the
5909 2007-09-14 Alexander Larsson <alexl@redhat.com>
5911 * gio/gfileinputstream.[ch]:
5912 Add async get_file_info.
5914 2007-09-13 Alexander Larsson <alexl@redhat.com>
5916 * gio/goutputstream.c (g_output_stream_write_all):
5917 Allow NULL for bytes_written
5919 2007-09-13 Alexander Larsson <alexl@redhat.com>
5921 * gio/gmemoryinputstream.[ch]:
5922 Add accessors for data
5924 2007-09-13 Alexander Larsson <alexl@redhat.com>
5926 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5927 Don't crash if length is NULL