1 2008-10-16 Matthias Clasen <mclasen@redhat.com>
3 Bug 556422 – g_file_enumerator_next_file: unclear whether return
4 value needs to be freed
6 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
7 the return value docs. Pointed out by Armin Burgmeier
9 2008-10-14 Matthias Clasen <mclasen@redhat.com>
11 Bug 556334 – Warning when building without selinux support
13 * glocalfileinfo.c: Avoid compiler warnings when selinux is
14 disabled. Patch by Pascal Terjan
16 2008-10-14 Matthias Clasen <mclasen@redhat.com>
18 Bug 556335 – make check fails in abicheck.sh
20 * gio.symbols: Add g_file_attribute_info_list_get_type.
21 Pointed out by Pascal Terjan.
23 2008-10-13 Alexander Larsson <alexl@redhat.com>
26 When adding an application as handling a mime type (but
27 not as the default), copy the full list of desktop ids handling
28 that type in before adding the new one on the end of the list.
29 This means we're not accidentally changing the default by overriding
30 the info from the later directories in the search path.
32 Also, fixes small leak of removed_entries.
34 2008-10-12 David Zeuthen <davidz@redhat.com>
37 * gunionvolumemonitor.c:
39 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
41 2008-10-10 Alexander Larsson <alexl@redhat.com>
43 * gfileattribute.c (escape_byte_string):
44 Upper half of byte is >> 4, not >> 8.
45 Found by Kjartan Maraas via sparse
47 2008-10-10 Matthias Clasen <mclasen@redhat.com>
49 Bug 555711 – Wrong fallback order of mimetype icons
51 * gcontenttype.c: Don't prefer generic icons over
52 default mimetype icons.
54 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
55 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
57 Patch by Krysztof Kosiński
59 2008-10-10 Matthias Clasen <mclasen@redhat.com>
61 Bug 555121 – Improved build-time handling of gio module-dir
63 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
64 * Makefile.am: Create the module dir.
66 2008-10-10 Matthias Clasen <mclasen@redhat.com>
68 * gio/glocalfileinfo.c:
69 * gio/tests/live-g-file.c:
70 * gio/gsimpleasyncresult.c: Fix gcc warnings.
72 2008-10-09 Alexander Larsson <alexl@redhat.com>
74 * gunixinputstream.c (g_unix_input_stream_read):
75 Actually return -1 in case of cancelled, not old res value.
77 2008-10-06 Colin Walters <walters@verbum.org>
79 Bug 554745 - GFileAttributeInfoList should be boxed
81 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
82 for convenience of bindings.
83 * gio/gfileattribute.h: Prototype it.
85 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
87 Bug 554970 – segfault when update-desktop-database is not available
90 * gdesktopappinfo.c (run_update_command): Have the error set before
93 2008-10-01 David Zeuthen <davidz@redhat.com>
95 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
96 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
97 instead of the gio URI (such as sftp://foo/file.avi) when using
98 g_app_info_launch() and friends. With a sufficiently recent gvfs,
99 apps using gio+gvfs will map the FUSE file:// URI back to the gio
100 URI (and thus bypass the fuse daemon) thanks the patch from bug
101 #530654. Since Nautilus is an user of g_app_info_launch() it
102 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
103 when launced via the file manager. Win. Fixes bug #528670.
105 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
106 mapping to the description of GAppInfo.
108 2008-09-30 Tor Lillqvist <tml@novell.com>
110 * tests/Makefile.am: Build desktop-app-info only on Unix.
112 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
113 g_critical(). Pass a large enough result buffer to
114 GetVolumePathNameW(). Just use MAX_PATH.
116 2008-09-29 David Zeuthen <davidz@redhat.com>
118 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
120 2008-09-26 Dan Winship <danw@gnome.org>
122 * tests/data-input-stream.c:
123 * tests/data-output-stream.c:
124 * tests/live-g-file.c:
125 * tests/memory-input-stream.c:
126 * tests/memory-output-stream.c: Use g_assert_error() and
129 2008-09-26 Matthias Clasen <mclasen@redhat.com>
131 Bug 545350 – GAppInfo deletion
132 Bug 545351 – Reset associations for content type
135 * gappinfo.[hc]: New functions g_app_info_can_delete,
136 g_app_info_delete and g_app_info_reset_type_associations.
139 * gwin32appinfo.c: Implementations of these.
142 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
144 2008-09-26 Dan Winship <danw@gnome.org>
146 Bug 505361 – gunixinputstream.c assumes poll() available
147 Bug 509446 – portable blocking gio cancellation
149 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
150 GPollFD for a cancellable (which is slightly more complicated on
153 * gunixinputstream.c (g_unix_input_stream_read):
154 * gunixoutputstream.c (g_unix_output_stream_write): Use
155 g_cancellable_make_pollfd() and g_poll() rather than using poll()
158 * tests/unix-streams.c: test of GUnixInputStream,
159 GUnixOutputStream, and GCancellable.
161 2008-09-26 Dan Winship <danw@gnome.org>
163 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
164 cast to stop a gcc warning
166 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
169 2008-09-25 Dan Winship <danw@gnome.org>
171 Bug 553426 - cancellable clarifications
173 * gcancellable.c (g_cancellable_class_init): Add a note to the
174 "cancelled" signal docs warning about thread-safety issues
175 (g_cancellable_cancel): Note that cancelling an asynchronous
176 operation takes effect asynchronously, not immediately.
178 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
180 * gioenums.h: Add new GFileCopyFlag, to leave target file with
181 default perms, instead of setting the source file perms, in a copy
184 * gfile.c (g_file_copy_attributes)
185 (build_attribute_list_for_copy)
186 (should_copy): Not copy "unix::mode" attribute if we have received
187 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
189 2008-09-20 Matthias Clasen <mclasen@redhat.com>
191 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
193 2008-09-17 Matthias Clasen <mclasen@redhat.com>
195 * === Released 2.18.1 ===
197 2008-09-16 Michael Natterer <mitch@imendio.com>
199 * gcontenttype.c (g_content_type_guess): can't assign the return
200 value of g_strdupv() to an array. Fill the array manually with
201 const strings instead (it is never freed anyway). Fixes the
202 build. Also fixed indentation.
204 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
206 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
207 Fix trivial typo to unbreak the build (there was a colon
208 instead of a semicolon at the end of a statement).
210 2008-09-15 Matthias Clasen <mclasen@redhat.com>
212 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
215 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
218 2008-09-15 Matthias Clasen <mclasen@redhat.com>
220 Bug 551681 – g_content_type_guess() too naive with filenames
222 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
223 at the end of the filename, and declare it a directory.
224 Patch by Bastien Nocera
226 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
228 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
231 * gdesktopappinfo.c: add a note in the docs clarifying what the
232 "filename" parameter really is.
234 2008-09-12 Tor Lillqvist <tml@novell.com>
236 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
237 FormatMessage() etc here. Call g_win32_error_message() instead
238 which already does all that. Besides, the code was broken as it
239 called the default "A" version of FormatMessage() but still
240 thought it produced a wide string.
242 2008-09-12 Michael Natterer <mitch@imendio.com>
244 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
245 in the documentation.
247 2008-09-08 Christian Neumair <cneumair@gnome.org>
249 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
250 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
251 Use non-blocking pipe for mount helper I/O. Fixes #550647.
253 2008-09-06 Matthias Clasen <mclasen@redhat.com>
255 Bug 551149 – xdgmime mem leak
257 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
258 a memory leak. Patch by Christian Persch
260 2008-09-04 Tor Lillqvist <tml@novell.com>
262 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
265 2008-09-02 Matthias Clasen <mclasen@redhat.com>
267 * === Released 2.18.0 ===
269 2008-09-02 Michael Natterer <mitch@imendio.com>
271 * *.h: big header formatting cleanup: indentation, vtable
272 formatting, consistent spacing in (* vfunc), trailing whitespace
273 removal. Formatting should be pretty consistent in all GIO headers
276 2008-09-02 Matthias Clasen <mclasen@redhat.com>
278 * gmount.h: Document guess_content_type sync vfunc.
280 2008-09-02 Michael Natterer <mitch@imendio.com>
282 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
283 fix parent_class member to be GFilterOutputStreamClass (not
284 GOutputStreamClass). Drop three pointers of padding, which is
285 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
286 so the class struct size stays the same.
288 2008-09-02 Matthias Clasen <mclasen@redhat.com>
290 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
292 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
293 nonexisting return values. Pointed out by Cosimo Cecchi.
295 2008-08-23 Tor Lillqvist <tml@novell.com>
297 Bug 548988 - g_file_replace fails on Windows when the target file
300 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
301 Windows, close the file before potentially renaming it (in case we
302 have been writing to a file with a temporary name).
304 (g_local_file_output_stream_close, handle_overwrite_open): Use
305 GLocalFileStat instead of plain struct stat, for passing to
306 _g_local_file_info_create_etag(). Thus also use _fstati64()
307 instead of plain fstat() on Windows.
309 2008-08-18 Matthias Clasen <mclasen@redhat.com>
311 * === Released 2.17.7 ===
313 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
315 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
318 2008-08-13 Tor Lillqvist <tml@novell.com>
320 * win32/gwinhttpvfs.c
321 * win32/gwinhttpvfs.h
322 * win32/gwinhttpfile.c
323 * win32/gwinhttpfileinputstream.c
324 * win32/gwinhttpfileoutputstream.c: Refactor some common code
325 snippets into helper functions. Check HTTP response status
326 codes. Implement g_winhttp_file_query_info(), looking at
327 Content-Length, Content-Type and Last-Modified.
329 * win32/winhttp.h: Add some symbolic constants that are not
330 publicly documented. Just a handful, so it should be OK to use
331 information from the Windows SDK's headers.
333 2008-08-13 Tor Lillqvist <tml@novell.com>
335 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
338 * win32/gwin32directorymonitor.c
339 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
341 2008-08-13 Matthias Clasen <mclasen@redhat.com>
344 * goutputstream.c: Add intro docs.
346 2008-08-13 Tor Lillqvist <tml@novell.com>
348 * win32/gwinhttpfileoutputstream.c
349 (g_winhttp_file_output_stream_write): Don't write the
350 Content-Length header ourselves, WinHttpSendRequest() takes care
351 of that when the dwTotalLength parameter is non-zero. Increment
352 offset by the number of actual bytes sent, although I wonder if
353 such a scenario is possible where less than requested would be
354 sent and accepted by the server without errors.
356 2008-08-13 Tor Lillqvist <tml@novell.com>
358 * win32/gwinhttpvfs.c
359 * win32/gwinhttpvfs.h
360 * win32/gwinhttpfile.c
361 * win32/gwinhttpfile.h
362 * win32/gwinhttpfileinputstream.c
363 * win32/gwinhttpfileinputstream.h
364 * win32/gwinhttpfileoutputstream.c
365 * win32/gwinhttpfileoutputstream.h: New files implementing
366 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
367 Windows. The implementation uses the WinHttp API. Both reading and
368 writing are supported, i.e. GET and PUT requests. When writing,
369 each write call is done using a separate PUT request with a
370 Content-Range header. Requests for file URIs and plain pathnames
371 are forwarded to GLocalVfs.
373 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
374 WINE. Used as there is no <winhttp.h> bundled with mingw, and
375 requiring people to download the Windows SDK just for this one
376 header is not reasonable.
378 * win32/Makefile.am: Add above files.
380 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
381 the plumbing for the above.
383 2008-08-11 Sven Neumann <sven@gimp.org>
385 * gfilenamecompleter.c
386 * glocaldirectorymonitor.c
388 * gunionvolumemonitor.c
392 * gunixvolumemonitor.c
395 * gwin32volumemonitor.c: use canonical signal names.
397 2008-08-11 Tor Lillqvist <tml@novell.com>
399 * Makefile.am: Put a list of the platform-dependent .la files in
400 the subdirectories in the platform_deps Make variable, and make
401 libgio-2.0.la depend on that, so that it gets relinked if one of
402 the dependent libraries has changed.
404 2008-08-11 Tor Lillqvist <tml@novell.com>
406 * Makefile.am (platform_libadd): Remove -lwininet which had been
407 added by mistake. We will probably eventually be using WinHTTP,
408 not the older WinInet anyway. (Actually I am working on it.)
410 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
412 Bug 547080 – g_file_copy leaks expected errors
414 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
415 before trying the next fallback routine.
417 2008-08-09 Loïc Minier <lool@dooz.org>
419 Bug 535124 – umask 002 not being applied for new directories, new
420 files get the correct umask
422 * gfile.c (g_file_make_directory)
423 (g_file_make_directory_with_parents): Document ownership and
424 permissions of newly created directories as being the default
427 2008-08-08 Loïc Minier <lool@dooz.org>
429 Bug 535124 – umask 002 not being applied for new directories, new
430 files get the correct umask
432 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
435 2008-08-08 Tor Lillqvist <tml@novell.com>
437 * gwin32mount.c: Remove unused code. Whitespace cleanup.
439 * gwin32volumemonitor.c (get_connected_drives): Put questionable
440 code that didn't actually do anything inside #if 0, and add a
441 comment wondering what the code was supposed to do. This also gets
442 rid of a leftover debugging printout.
444 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
446 * gfileicon.c (g_file_icon_get_property)
447 (g_file_icon_set_property): New functions.
448 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
450 (g_file_icon_new): Use the property (bug #546132).
452 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
454 * gthemedicon.c (g_themed_icon_get_property): Also handle
455 `PROP_USE_DEFAULT_FALLBACKS'.
456 (g_themed_icon_class_init): Make
457 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
459 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
461 Bug 546371 – Improve docs re g_file_monitor
463 * gfilemonitor.c: Mention g_file_monitor() in the docs.
465 2008-08-04 Matthias Clasen <mclasen@redhat.com>
467 * === Released 2.17.6 ===
469 2008-08-04 Matthias Clasen <mclasen@redhat.com>
471 * === Released 2.17.5 ===
473 2008-08-04 Matthias Clasen <mclasen@redhat.com>
475 Bug 546017 – Don't copy attributes when copying a symlink
477 * gfile.c (g_file_copy_attributes): Specify
478 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
479 g_file_set_attributes_from_info. Patch by Christian Kellner
481 2008-08-04 Matthias Clasen <mclasen@redhat.com>
483 * gemblemedicon.[hc]:
485 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
486 a bit more extensible. Work by Clemens Buss.
488 * gioenums.h: Add GEmblemOrigin.
491 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
493 Bug 546079 – leak in xdgmime
495 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
497 2008-08-03 Tor Lillqvist <tml@novell.com>
499 * win32/gwin32directorymonitor.h
500 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
503 2008-08-03 Tor Lillqvist <tml@novell.com>
505 * win32/gwin32directorymonitor.c
506 (g_win32_directory_monitor_callback): Make prototype match
507 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
508 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
511 (g_win32_directory_monitor_constructor):
512 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
513 names in the GLib API on Windows, so convert to UTF-16 and open
516 2008-08-03 Tor Lillqvist <tml@novell.com>
518 Bug 541036 - Gnumeric crashes when trying to open Desktop or
519 user's folder under Windows
521 * win32/gwin32directorymonitor.c
522 (g_win32_directory_monitor_constructor): Ignore error from
523 CreateFile() when opening directory. Instead of asserting, just
524 store INVALID_HANDLE_VALUE then in
525 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
526 ReadDirectoryChangesW().
527 (g_win32_directory_monitor_cancel): Don't attempt to close
528 directory handle if it is INVALID_HANDLE_VALUE.
530 2008-08-01 Matthias Clasen <mclasen@redhat.com>
532 * gdesktopappinfo.c: Remove debug spew
534 2008-08-01 Hans Breuer <hans@breuer.org>
536 * makefile.msc : add gemblembedicon
538 2008-07-30 Matthias Clasen <mclasen@redhat.com>
540 Bug 545457 – gdmsetup crashed with SIGSEGV in
541 g_unix_mount_guess_should_display()
543 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
544 crash if no mount is found.
546 2008-07-28 Matthias Clasen <mclasen@redhat.com>
548 Bug 545203 – gfile.c: argument is different type.
550 * gfile.c (open_read_async_thread): Pass a GError **
551 to g_file_set_error_literal.
552 Reported by Kazuki Iwamoto
554 2008-07-28 Matthias Clasen <mclasen@redhat.com>
556 Bug 545157 – wrong/no list of "open with" applications for .cc and
559 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
560 Collect all ancestors, not just direct parents. Pointed
561 out by Bastien Nocera
563 2008-07-28 Matthias Clasen <mclasen@redhat.com>
565 * Makefile.am: Install gemblemedicon.h
567 2008-07-28 Matthias Clasen <mclasen@redhat.com>
569 * gemblemedicon.[hc]: Add a GIcon implementation that can
570 add an emblem to another icon.
577 * gfileicon.c: Small documentation additions.
579 2008-07-28 Tor Lillqvist <tml@novell.com>
581 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
584 2008-07-27 Tor Lillqvist <tml@novell.com>
586 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
588 2008-07-24 David Zeuthen <davidz@redhat.com>
592 Also export a g_mount_guess_content_type_sync() function.
594 2008-07-23 Matthias Clasen <mclasen@redhat.com>
596 529694 – SELinux context setting support
598 * gfileinfo.c: Support setting selinux attributes.
599 Patch by Tomas Bzatek
601 2008-07-22 Priit Laes <plaes@plaes.org>
603 Bug 544140 - fam-helper 64-bit issue?
605 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
607 2008-07-21 Matthias Clasen <mclasen@redhat.com>
609 * === Released 2.17.4 ===
611 2008-07-20 Matthias Clasen <mclasen@redhat.com>
613 * gvolumemonitor.[hc]:
618 * gmount.c: Documentation fixes
620 2008-07-19 Matthias Clasen <mclasen@redhat.com>
622 543504 – crash in Epiphany Web Browser: Opening local file
633 * gvolume.c: Register types thread-safely.
634 Patch by Christian Persch
636 2008-07-18 Matthias Clasen <mclasen@redhat.com>
638 * gcontenttype.c: Remove debug spew
640 2008-07-18 Matthias Clasen <mclasen@redhat.com>
642 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
645 * fen/fen-kernel.c: Remove a warning that was causing
646 crashes. Reported by Lin Ma.
648 2008-07-18 Matthias Clasen <mclasen@redhat.com>
650 Bug 543040 – async reading on dummy file will crash on
653 * gfile.c (open_read_async_thread): Cope with read_fn being
654 NULL. Reported by Lin Ma.
656 2008-07-18 Matthias Clasen <mclasen@redhat.com>
659 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
661 2008-07-16 Matthias Clasen <mclasen@redhat.com>
665 * giomodule.c: Rename a chapter id to avoid filename conflict.
667 2008-07-16 Matthias Clasen <mclasen@redhat.com>
669 Bug 540616 – mem leak in filechooser button
671 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
672 the mount entry. Reported by Chrisitan Persch
674 2008-07-16 Matthias Clasen <mclasen@redhat.com>
676 * gfile.c: Small documentation fixes.
678 2008-07-15 Matthias Clasen <mclasen@redhat.com>
680 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
682 2008-07-08 Matthias Clasen <mclasen@redhat.com>
687 * gmount.c: Documentation improvements.
689 2008-07-08 Matthias Clasen <mclasen@redhat.com>
692 * gmount.[hc]: Add g_mount_guess_content_type().
694 2008-07-06 David Zeuthen <davidz@redhat.com>
697 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
698 is needed for easily handling adoption of foreign volumes by
699 out-of-process volume monitors (#541793)
701 2008-07-06 David Zeuthen <davidz@redhat.com>
703 * gvolumemonitor.[ch]:
704 * gunionvolumemonitor.c: Export the eject-button signal on the
705 volume monitor class (#541794).
707 2008-07-06 Matthias Clasen <mclasen@redhat.com>
709 * gappinfo.c: More doc tweaks
711 2008-07-05 Matthias Clasen <mclasen@redhat.com>
713 * gappinfo.c: Clarify some docs
715 2008-07-03 Matthias Clasen <mclasen@redhat.com>
717 * gdesktopappinfo.c: Fix a stupid mistake.
719 2008-07-02 Matthias Clasen <mclasen@redhat.com>
721 * === Released 2.17.3 ===
723 2008-07-02 Matthias Clasen <mclasen@redhat.com>
725 * gfilemonitor.c: Fix the build.
727 2008-07-02 Matthias Clasen <mclasen@redhat.com>
729 Bug 536160 – Add g_file_monitor()
732 * gfile.[hc]: Add g_file_monitor which can return either
733 a file or a directory monitor. Proposed by Behdad Esfahbod
735 2008-07-02 Matthias Clasen <mclasen@redhat.com>
737 536733 – gio build failure on Irix
739 * glocalfile.c: Use a configure check for structfs.f_bavail.
741 2008-07-02 Matthias Clasen <mclasen@redhat.com>
743 Bug 534639 – add g_desktop_app_info_new_from_keyfile
746 * gdesktopappinfo.[hc]: Add a function to create a
747 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
749 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
751 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
753 2008-07-01 Matthias Clasen <mclasen@redhat.com>
755 * gunixmounts.c: Fix a doc typo.
757 2008-07-01 Cody Russell <bratsche@gnome.org>
759 * gio/gcontenttype.c:
760 * gio/gwin32appinfo.c:
761 * gio/gwin32volumemonitor.c:
762 * gio/gwin32mount.c: Fixed some include problems.
764 2008-07-01 Cody Russell <bratsche@gnome.org>
768 Moved all relevant typedefs into these files.
771 Updated wrt added files.
773 Split types into separate file for easier maintainership. (#538564)
775 2008-06-30 Matthias Clasen <mclasen@redhat.com>
777 Bug 540331 – g_file_append_to () documentation: can return NULL
779 * gfile.c (g_file_append_to): Clarify docs.
782 2008-06-30 Matthias Clasen <mclasen@redhat.com>
784 Bug 539090 – g_content_type_from_mime_type() should unalias
786 * gcontentype.c (g_content_type_from_mime_type): Unalias.
787 Patch by Markus Bergman
789 2008-06-30 Matthias Clasen <mclasen@redhat.com>
791 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
794 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
795 on ppc and alpha. Reported by Mart Raudsepp
797 2008-06-29 Matthias Clasen <mclasen@redhat.com>
800 * tests/memory-output-stream.c: Add some tests for
803 2008-06-29 Matthias Clasen <mclasen@redhat.com>
805 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
808 * gmemoryoutputstream.c (array_resize): Handle truncation to
809 zero correctly. Reported by Akira Tagoh
811 2008-06-29 Matthias Clasen <mclasen@redhat.com>
813 * gmemoryoutputstream.c: Trivial doc fixes
815 2008-06-29 Matthias Clasen <mclasen@redhat.com>
817 Bug 540802 – g_list_prepend doesn't concat lists
819 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
820 one list to another. Pointed out by Jan Arne Petersen
822 2008-06-28 Michael Natterer <mitch@imendio.com>
824 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
826 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
828 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
829 to avoid problems with partial icon themes.
831 2008-06-17 Hans Breuer <hans@breuer.org>
833 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
834 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
835 access again on win32, see bug #538127
836 * giomodule.c : ensure GWin32VolumeMonitor is registered
837 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
838 * Makefile.am makefile.msc : updated
840 2008-06-16 Hans Breuer <hans@breuer.org>
842 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
843 and initialization in one step avoids c99ism
845 2008-06-16 Christian Persch <chpe@gnome.org>
848 * gio/gbufferedinputstream.c
850 * gio/gdatainputstream.c
851 * gio/gdesktopappinfo.c
853 * gio/gfileenumerator.c
854 * gio/gfileinputstream.c
855 * gio/gfileoutputstream.c
857 * gio/glocaldirectorymonitor.c
859 * gio/glocalfileenumerator.c
860 * gio/glocalfileinfo.c
861 * gio/glocalfilemonitor.c
862 * gio/glocalfileoutputstream.c
863 * gio/gmemoryinputstream.c
864 * gio/gmemoryoutputstream.c
865 * gio/goutputstream.c
866 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
869 2008-06-16 Tor Lillqvist <tml@novell.com>
871 Bug 538362 - Get Win32 icons back in the file chooser
873 * gcontenttype.c (g_content_type_get_icon): Look up the icon
874 corresponding to a file extension in the Registry. Patch by Hans
876 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
878 2008-06-16 Tor Lillqvist <tml@novell.com>
880 Patches by Hans Breuer:
882 * glocalfile.c (is_xp_or_later): Handle compiling against older
883 SDK headers with missing VerifyVersionInfo(). Conditioned on
884 _MSC_VER, but should probably use some better test.
885 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
886 uninitialised statfs_result variable on Win32.
888 2008-06-16 Michael Natterer <mitch@imendio.com>
890 * *.c: chain up unconditionally in finalize() and dispose(). Also
891 don't dereference these function pointers when calling them since
892 that has no meaning at all.
894 2008-06-16 Ross Burton <ross@burtonini.com>
897 Remove check for dispose implementation as it annoys Emmanuele.
899 2008-06-16 Ross Burton <ross@burtonini.com>
901 Bug 536252 – GFileEnumerator should allow access to the containing
907 Add g_file_enumerator_get_container() and a container writeable
908 construct-only property. Also shuffle around typedefs to make it
911 * glocalfileenumerator.c:
912 * glocalfileenumerator.h:
914 Instead of a string filename take a GFile in the constructor and
915 use it to set the container property.
920 2008-06-16 Matthias Clasen <mclasen@redhat.com>
922 * gfile.c: Make includes more uniform
924 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
926 * tests/live-g-file.c (sample_struct):
927 Use less fancy unicode filenames, so the test doesn't fail
928 on Mac OS X (#531476).
930 2008-06-12 Matthias Clasen <mclasen@redhat.com>
932 * === Released 2.17.2 ===
934 2008-06-12 Matthias Clasen <mclasen@redhat.com>
936 * === Released 2.17.1 ===
938 2008-06-11 A. Walton <awalton@gnome.org>
940 * tests/g-file.c (test_g_file_new_null):
941 Fix broken test case.
943 2008-06-11 Matthias Clasen <mclasen@redhat.com>
945 * pltcheck.sh: We use g_clear_error now.
947 2008-06-11 Matthias Clasen <mclasen@redhat.com>
949 * glocalfile.c (g_local_file_enumerate_children): Revert
950 an unintended change.
952 2008-06-11 Matthias Clasen <mclasen@redhat.com>
954 * gfile.c (g_file_replace_contents): Don't unref before the last use.
956 2008-06-10 Matthias Clasen <mclasen@redhat.com>
958 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
961 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
962 as icon for the desktop directory, also make user-home and
963 user-desktop the preferred icons.
965 2008-06-10 Matthias Clasen <mclasen@redhat.com>
968 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
969 to add a name to the front of the list.
971 2008-06-10 Matthias Clasen <mclasen@redhat.com>
973 Bug 537392 – Additional colon in xattr name
975 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
976 too. Reported by Alessandro Morandi
978 2008-06-10 Matthias Clasen <mclasen@redhat.com>
980 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
983 * glocalfile.c (get_fs_type): Add afs and autofs.
984 Patch by Danny Baumann.
986 2008-06-10 Matthias Clasen <mclasen@redhat.com>
988 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
990 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
991 is no parent. (Owen Taylor, patch by Christian Neumair)
993 2008-06-10 Paolo Borelli <pborelli@katamail.com>
995 * gfile.c (g_file_replace_contents): do not leak the output stream.
997 2008-06-10 Michael Natterer <mitch@imendio.com>
999 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1000 uninitialized memory as array index.
1002 2008-06-10 Tor Lillqvist <tml@novell.com>
1004 * gcontenttype.c (g_content_type_can_be_executable)
1005 (g_content_type_get_icon) [Win32]: Add TODO comments.
1007 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1009 * xdgmime/Makefile.am: Fix the build
1011 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1013 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1014 in the shared mime database, if available.
1016 * xdgmime/*: Sync with upstream. This brings support for
1017 glob weights, generic icons, and changes the cache format to
1020 2008-05-28 Michael Natterer <mitch@imendio.com>
1022 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1023 the global CPPFLAGS now.
1025 * tests/data-input-stream.c
1026 * tests/data-output-stream.c
1027 * tests/g-file-info.c
1029 * tests/live-g-file.c
1030 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1032 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1034 * === Released 2.17.0 ===
1036 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1037 doesn't complain about leftover files.
1039 2008-05-27 simon.zheng <simon.zheng@sun.com>
1041 * glocalfile.c: (g_local_file_query_filesystem_info):
1042 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1044 2008-05-26 Michael Natterer <mitch@imendio.com>
1046 * gmemoryoutputstream.h: declare
1047 g_memory_output_stream_get_data_size().
1049 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1051 * tests/*: Make tests work
1053 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1055 * gio.symbols: Add g_memory_output_stream_get_data_size.
1057 2008-05-25 Ross Burton <ross@burtonini.com>
1060 Fix typo in error message (#534764).
1062 2008-05-25 Ross Burton <ross@burtonini.com>
1065 Fix circular dependency loop for gioenumtypes.h (#534759).
1067 2008-05-19 Hans Breuer <hans@breuer.org>
1069 * Makefile.am : EXTRA_DIST += makefile.msc
1071 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1074 * gcontenttype.c: (g_content_type_from_mime_type):
1075 New function to create a content type from a mime type. (#527175,
1078 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1080 Bug 532965 – Should not return filesystem::free for certain file systems
1082 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1083 free space for ncpfs.
1085 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1087 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1089 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1090 st_dev might be zero.
1092 2008-05-16 Tor Lillqvist <tml@novell.com>
1094 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1095 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1097 2008-05-13 Bastien Nocera <hadess@hadess.net>
1099 * gfile.c (has_valid_scheme): A URI scheme must start with a
1100 letter, even if later more characters are allowed (#532852)
1102 2008-05-05 Michael Natterer <mitch@imendio.com>
1104 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1105 code from being checked in that breaks the build of applications
1106 which use G_DISABLE_SINGLE_INCLUDES.
1108 * makegioalias.pl: make the alias file include "glib.h" instead of
1111 * gio.symbols: whitespace change to force regeneration of the
1112 alias file after above script change.
1114 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1116 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1118 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1120 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1122 2008-04-28 David Zeuthen <davidz@redhat.com>
1124 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1125 displaying mounts in a subdirectory not accessible to the
1128 2008-04-22 Michael Natterer <mitch@imendio.com>
1130 * Makefile.am: fix library versioning (it was 0.0.0).
1132 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1134 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1135 Default disable all loggings.
1136 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1137 (port_fetch_event_cb): Fixed two macro nits.
1139 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1141 * xdgmime/xdgmime.c: Rework the timestamp checking code
1142 to protect against duplicate directories in XDG_DATA_DIRS.
1143 Fixes fd.o bug 12513, reported by Joe Shaw.
1145 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1147 Partically revert the last commit after realizing that
1148 xdg_mime_media_type_equal doesn't have to init at all.
1150 * xdgmime/xdgmime.h:
1151 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1153 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1155 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1157 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1158 reported by Joe Shaw and Federico Mena Quintero.
1160 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1161 (xdg_mime_media_type_equal): Turn into a wrapper around the
1164 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1165 functions throughout.
1167 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1169 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1170 tolerate an empty TryExec= line without failing; nautilus used
1171 to create launchers with these in previous versions. Fixes #528433
1173 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1175 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1176 after name. Fixes #527132.
1178 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1180 * gfile.c: (g_file_replace):
1183 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1185 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1187 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1188 by Christian Kellner.
1190 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1192 * gunixmounts.c: (g_unix_mount_guess_should_display):
1193 Don't list the user directory as a mount, fix potential issue
1194 when other users have a similar naming and don't special case the
1195 gvfs mounts there since that's not required (#525866)
1197 2008-03-31 Alexander Larsson <alexl@redhat.com>
1199 * glocalfile.c (get_parent):
1202 2008-03-31 A. Walton <awalton@svn.gnome.org>
1204 * gfile.c (g_file_query_file_type):
1205 Always return a GFileType enum value (#520715).
1207 2008-03-31 Alexander Larsson <alexl@redhat.com>
1209 * glocalfileenumerator.c:
1210 Read readdir() info in chunks (of 1000) and sort
1211 the chunks by inode before stat:ing.
1212 This is a 20% performance increase in testing
1213 gvfs-ls on /usr/bin with cold cache.
1215 2008-03-31 Alexander Larsson <alexl@redhat.com>
1217 * gmemoryoutputstream.c:
1218 Clarify docs for g_memory_output_stream_get_size.
1219 Add g_memory_output_stream_get_data_size.
1221 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1225 * gfile.h: Add g_file_query_file_type convenience function
1226 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1228 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1230 * gfileenumerator.c:
1231 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1233 2008-03-28 A. Walton <awalton@svn.gnome.org>
1235 * giomodule.c (_g_io_modules_ensure_loaded):
1236 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1239 2008-03-28 Alexander Larsson <alexl@redhat.com>
1242 (copy_stream_with_progress):
1245 2008-03-28 Alexander Larsson <alexl@redhat.com>
1248 (copy_stream_with_progress):
1249 (file_copy_fallback):
1250 Fallback to g_file_query_info for source size
1251 if g_file_input_stream_query_info fails. (#524579)
1253 2008-03-28 Alexander Larsson <alexl@redhat.com>
1255 * glocalfile.c (g_local_file_move):
1256 Reuse old string instead of adding new one.
1258 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1260 * fen/*.[hc]: still copyright issue. I hate copyright.
1262 2008-03-27 Alexander Larsson <alexl@redhat.com>
1264 * glocalfile.c (g_local_file_move):
1265 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1266 file over directory. This is according to the docs and what the move via
1267 copy+remove fallback does.
1269 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1271 * fen/*.[hc]: Updated copyright.
1273 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1275 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1277 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1279 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1280 not emit attribute changed events when optimizing changed events.
1281 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1284 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1286 * gmountoperation.[hc]: Small documentation additions
1288 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1290 * gunixmounts.c: (guess_mount_type):
1291 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1293 2008-03-19 Alexander Larsson <alexl@redhat.com>
1296 (copy_stream_with_progress):
1297 Bump block side for copy to 64k to minimize
1298 overhead for low latency links. (#523015)
1300 2008-03-16 Tor Lillqvist <tml@novell.com>
1302 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1303 depend on gio.def on Windows.
1305 2008-03-12 David Zeuthen <davidz@redhat.com>
1309 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1311 2008-03-14 Alexander Larsson <alexl@redhat.com>
1315 Avoid redudant tests (#521851)
1316 Patch from Josselin Mouette
1318 2008-03-14 Alexander Larsson <alexl@redhat.com>
1321 (g_file_monitor_is_cancelled):
1322 Fix C89 issue (#521672)
1323 Patch from Jens Granseuer
1325 2008-03-14 Alexander Larsson <alexl@redhat.com>
1327 * fam/fam-helper.[ch]:
1329 Shut down fam (including removing fam GSource) when
1330 module is unloaded (#521513)
1331 Patch from Joe Marcus Clarke
1333 2008-03-14 Alexander Larsson <alexl@redhat.com>
1336 (_g_io_modules_ensure_loaded):
1339 2008-03-14 Alexander Larsson <alexl@redhat.com>
1342 (g_local_file_query_filesystem_info):
1343 Use right define name for f_fstypename member check
1345 2008-03-14 Alexander Larsson <alexl@redhat.com>
1348 * fen/Makefile.am: Added.
1349 * fen/fen-data.[ch]: Added.
1350 * fen/fen-dump.[ch]: Added.
1351 * fen/fen-helper.[ch]: Added.
1352 * fen/fen-kernel.[ch]: Added.
1353 * fen/fen-missing.[ch]: Added.
1354 * fen/fen-node.[ch]: Added.
1355 * fen/fen-sub.[ch]: Added.
1356 * fen/gfendirectorymonitor.[ch]: Added.
1357 * fen/gfenfilemonitor.[ch]: Added.
1359 Added Solaris FEN file notification backend.
1360 Patch from Lin Ma <Lin.Ma@Sun.COM>
1362 2008-03-13 Tor Lillqvist <tml@novell.com>
1364 * Makefile.am: Actually use the gio.def file when linking the
1365 library on Windows. Produce .lib library for Microsoft's toolchain
1366 when possible. Install the .lib and .def file like for the other
1369 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1371 * tests/live-g-file.c:
1372 Include live-g-file in standard set of tests, making a temporary
1373 directory in source structure.
1375 Clean target directory before the tests (write mode only)
1377 2008-03-12 Tor Lillqvist <tml@novell.com>
1379 Bug 517419 - gio win32 directory monitor
1380 Implementation by Vlad Grecescu.
1383 * win32/gwin32directorymonitor.h
1384 * win32/gwin32directorymonitor.c: New files.
1386 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1388 * Makefile.am: Add the win32 subdirectory.
1390 2008-03-12 Tor Lillqvist <tml@novell.com>
1392 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1393 normal struct stat on Unix but struct _stati64 on Windows to have
1394 access to 64-bit file size information. Use that instead of struct
1395 stat in the functions declared here in this private header.
1397 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1398 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1399 warnings about unused functions and variables. Don't set
1400 meaningless attributes like inode numbers on Windows.
1402 2008-03-12 Benjamin Otte <otte@gnome.org>
1405 trim whitespace so gtk-doc groks the function name
1407 2008-03-12 Tor Lillqvist <tml@novell.com>
1409 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1410 returning FALSE, on Win32.
1412 2008-03-11 Alexander Larsson <alexl@redhat.com>
1415 * glocalfileinfo.[ch]:
1416 Correctly implement can_trash by actually
1417 looking for a trash dir, not just assuming
1420 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1422 * === Released 2.16.1 ===
1424 2008-03-11 Alexander Larsson <alexl@redhat.com>
1427 Fix crashes in new constructor and properties code
1429 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1431 * gfile.c: Minor spelling correction in documentation:
1432 existance -> existence.
1434 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1436 * === Released 2.16.0 ===
1438 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1440 * gio.symbols: Remove g_file_contains_file here, too.
1442 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1444 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1445 Samuel Cormier-Iijima)
1447 2008-03-08 Tor Lillqvist <tml@novell.com>
1449 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1452 2008-03-07 Alexander Larsson <alexl@redhat.com>
1455 (g_local_file_query_filesystem_info):
1456 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1457 Patch from Jasper Lievisse Adriaanse
1459 2008-03-06 Tor Lillqvist <tml@novell.com>
1461 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1462 comments for the *_USEC attributes.
1464 2008-03-06 Alexander Larsson <alexl@redhat.com>
1466 * gfile.c (g_file_query_exists):
1467 Add g_return_val_if_fail check (#520700)
1469 2008-03-06 Alexander Larsson <alexl@redhat.com>
1471 * gdesktopappinfo.c:
1474 * gunionvolumemonitor.c:
1477 * tests/live-g-file.c:
1478 * xdgmime/xdgmimecache.c:
1479 Fix sparse warnings (#519489)
1481 2008-03-05 Alexander Larsson <alexl@redhat.com>
1484 Make cancellation threadsafe (i.e.
1485 guarantee its only done once, and always
1488 * glocaldirectorymonitor.c:
1489 Make sure we the monitor lives while the
1490 mounts_changed callback is being called (#520484)
1492 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1494 * gbufferedinputstream.c: Fix typo in parameter
1497 2008-03-04 Alexander Larsson <alexl@redhat.com>
1500 Remove deprecated symbols we kept for one release.
1502 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1505 * goutputstream.c: Tiny documentation corrections.
1507 2008-03-03 Alexander Larsson <alexl@redhat.com>
1509 * gunionvolumemonitor.c:
1511 Fix the adopt_orphan_mount vfunc to take a
1512 volume_monitor reference in an ABI compat way.
1513 This change is not API compat, but the added
1514 arg is not used in the only user of this vfunc, so
1515 all we get is a harmless warning in gvfs (#520169)
1517 2008-03-01 Benjamin Otte <otte@gnome.org>
1520 clarify docs for g_file_delete().
1522 2008-02-29 Alexander Larsson <alexl@redhat.com>
1526 Make sure empty files get text/plain type (#518720)
1528 2008-02-27 Alexander Larsson <alexl@redhat.com>
1534 (g_unix_volume_mount):
1535 Add missing GMountMountFlags argument
1537 2008-02-26 Alexander Larsson <alexl@redhat.com>
1540 (g_local_file_delete):
1541 Handle filesystems (like ntfs-3g) that return EEXIST instead
1542 of ENOTEMPTY (#518816)
1544 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1546 * === Released 2.15.6 ===
1548 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1550 * gfile.c (g_file_find_enclosing_mount):
1551 * ginputstream.c (g_input_stream_set_pending):
1552 * glocalfile.c (g_local_file_find_enclosing_mount):
1553 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1554 * goutputstream.c (g_output_stream_set_pending):
1556 Fixup translator comments (#518578).
1558 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1560 * gfile.c (g_file_find_enclosing_mount):
1562 * glocalfile.c (g_local_file_find_enclosing_mount):
1565 Fix a few typos in translator comments and documentation.
1567 2008-02-25 Alexander Larsson <alexl@redhat.com>
1574 Add translator comments (#518578)
1576 2008-02-25 Alexander Larsson <alexl@redhat.com>
1579 Reintroduce g_file_contains_file, keep around for one
1580 unstable release cycle to avoid crashing to many apps.
1581 Make sure to delete after release.
1583 2008-02-25 Alexander Larsson <alexl@redhat.com>
1586 Remove deprecated g_file_contains_file.
1588 2008-02-25 Alexander Larsson <alexl@redhat.com>
1591 Emit actual change signals in an idle handler.
1592 This avoids reentrance and locking problems in
1593 the file notification backends.
1595 2008-02-25 Alexander Larsson <alexl@redhat.com>
1598 (g_unix_mount_guess_should_display):
1599 Remove type guessing, instead just display
1600 mounts in /media and in ~/.
1602 2008-02-25 Alexander Larsson <alexl@redhat.com>
1605 Make new strings reuse old ones.
1607 2008-02-25 Alexander Larsson <alexl@redhat.com>
1610 Implement trashing and filesystem::readonly for win32 (#517235)
1611 Patch from Yevgen Muntyan
1613 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1615 * gfileinfo.h: Documentation fixes.
1617 2008-02-22 Alexander Larsson <alexl@redhat.com>
1619 * gcontenttype.c (g_content_type_get_icon):
1620 Look at old-style gnome mime icon names too, as many
1621 have not moved to the new style.
1623 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1625 * *.c: Correct the @include in for section docs.
1627 2008-02-21 David Zeuthen <davidz@redhat.com>
1629 * glocalfileinfo.c: (_g_local_file_info_get):
1631 (g_content_type_get_icon): Implement this function by
1632 moving bits from glocalfileinfo.c
1633 (g_content_type_get_description): Unalias before getting
1634 description (#517687)
1636 * gfile.c: (g_file_class_init),
1637 (g_file_query_filesystem_info_async),
1638 (g_file_query_filesystem_info_finish),
1639 (query_filesystem_info_data_free),
1640 (query_filesystem_info_async_thread),
1641 (g_file_real_query_filesystem_info_async),
1642 (g_file_real_query_filesystem_info_finish):
1643 * gfile.h: Implement async version of
1644 g_file_query_filesystem_info()
1646 * gfileinfo.h: Add new attributes for filesystem::use-preview
1648 * gio.symbols: Update
1650 * gthemedicon.c: (g_themed_icon_append_name):
1651 * gthemedicon.h: Add new new convenience function.
1653 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1654 (get_mounts), (get_volumes), (get_connected_drives),
1655 (get_volume_for_uuid), (get_mount_for_uuid),
1656 (g_union_volume_monitor_init), (populate_union_monitor),
1657 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1658 (g_volume_monitor_adopt_orphan_mount):
1660 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1661 monitor implementations to call into the main volume monitor. Also
1662 separate object initialization and volume monitor initialization
1663 such that non-native volume monitors can properly adopt their
1666 2008-02-21 Alexander Larsson <alexl@redhat.com>
1671 2008-02-21 Alexander Larsson <alexl@redhat.com>
1674 Add more documentation about how GFiles work (from #517086)
1676 2008-02-21 Alexander Larsson <alexl@redhat.com>
1680 Add new g_file_has_prefix that does the same as g_file_contains_file.
1681 Deprecate g_file_contains_file and add a macro that converts
1682 it to g_file_has_prefix.
1683 The reason for this change is that the contains_file() name seems to
1684 imply that this does more work than what it does, but its really only
1685 a name match (from #517086)
1690 Update to match the above change.
1692 2008-02-20 Benjamin Otte <otte@gnome.org>
1694 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1695 (g_file_eject_mountable):
1696 even more cases of not returning in error path
1698 2008-02-20 Benjamin Otte <otte@gnome.org>
1700 * gfile.c: (g_file_mount_mountable):
1701 return from function in error path.
1703 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1706 Remove trailing coma in GMountMountFlags struct
1708 2008-02-18 Alexander Larsson <alexl@redhat.com>
1712 * glocalfileoutputstream.c:
1713 Use g_unlink/g_rename instead of unlink/rename;
1714 do not pass raw filenames to g_set_error. (#517239)
1715 Patch from Yevgen Muntyan.
1717 2008-02-18 Alexander Larsson <alexl@redhat.com>
1720 * glocalfileoutputstream.c:
1721 Open files with O_BINARY on windows. (#517140)
1723 2008-02-14 Alexander Larsson <alexl@redhat.com>
1725 * glocalfileoutputstream.c:
1726 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1728 2008-02-14 Alexander Larsson <alexl@redhat.com>
1731 Copy permissions with file on copy (#514084)
1732 This is what cp does and makes sure e.g. the
1733 exec permissions are kept.
1734 Its kinda weird in that it keeps the permission bits
1735 the same while the uid and gid are different. However
1736 the new uid is the user so its not a security issue,
1737 and I've heard no complaints about cp on this issue.
1739 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1741 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1743 2008-02-13 Alexander Larsson <alexl@redhat.com>
1745 * inotify/inotify-path.c:
1746 Define IN_ONLYDIR if not in header (#515346)
1748 2008-02-12 Alexander Larsson <alexl@redhat.com>
1750 * tests/live-g-file.c:
1753 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1755 * === Released 2.15.5 ===
1757 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1759 * gio.symbols: Add g_mount_mount_flags_get_type.
1761 2008-02-11 Alexander Larsson <alexl@redhat.com>
1764 (g_file_info_set_attribute_mask):
1765 (g_file_attribute_matcher_matches_id):
1766 Correctly handle NULL GAttributeMatcher meaning
1767 matches nothing. (Fixes #513492)
1769 2008-02-11 Alexander Larsson <alexl@redhat.com>
1774 Added GMountMountFlags enum and added a flags
1775 argument to all mount calls.
1777 This is an API/ABI change for future extensibility,
1778 as I think we will need at least an
1779 inhibit-autorun flag (the panel needs this).
1780 There are no flags defined yet though.
1782 2008-02-11 Alexander Larsson <alexl@redhat.com>
1785 Added new standard::description attribute.
1786 Requested by Vincent, and useful for both
1789 2008-02-11 Alexander Larsson <alexl@redhat.com>
1791 * gdesktopappinfo.c:
1794 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1796 * *.c: Documentation additions
1798 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1800 * gappinfo.h: Formatting cleanup
1801 * gappinfo.c: Fix up docs.
1803 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1805 * gunixmounts.c: Consistently use getmntent_r() and fall
1806 back to getmntent(). (#515492)
1808 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1810 * gbufferedinputstream.c:
1812 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1814 * tests/data-input-stream.c:
1815 * tests/data-output-stream.c: Portability fixes.
1817 2008-02-08 Alexander Larsson <alexl@redhat.com>
1822 Add g_volume_should_automount.
1825 2008-02-07 Tor Lillqvist <tml@novell.com>
1827 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1828 Win32, too Unix-specific.
1830 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1832 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1833 a local plt if the compiler doesn't support what we want. Bug #514702
1835 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1837 reviewed by: <delete if not using a buddy>
1840 * gunixinputstream.c:
1841 * gunixoutputstream.c:
1843 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1845 * tests/Makefile.am:
1846 * tests/live-g-file.c:
1847 * tests/live-g-file.txt:
1848 New GIO testing module working over real data
1850 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1852 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1853 Fallback to rename() if link() is not available
1854 (when no support on target filesystem)
1856 2008-02-06 Michael Natterer <mitch@imendio.com>
1858 * gfileinfo.c (g_file_info_get_icon): replace
1859 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1861 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1863 * gfile.c (g_file_create):
1864 Documentation update of error codes
1866 2008-02-06 Alexander Larsson <alexl@redhat.com>
1868 * gdesktopappinfo.c:
1869 Update to use both mimeapps.list and
1870 defaults.list as discussed on xdg list.
1872 2008-02-06 Benjamin Otte <otte@gnome.org>
1875 * gfilenamecompleter.c:
1876 Fix some typos in the documentation.
1878 2008-02-06 Alexander Larsson <alexl@redhat.com>
1880 * glocalfile.c (g_local_file_trash):
1881 Don't succeed with trash if newly created
1882 trash dir has the wrong owner. (#514696)
1884 2008-02-05 Alexander Larsson <alexl@redhat.com>
1886 * glocalfile.c (g_local_file_move):
1887 Don't spew warnings when destination is not
1890 2008-02-03 Hans Breuer <hans@breuer.org>
1892 * makefile.msc : update
1894 2008-02-01 Michael Natterer <mitch@imendio.com>
1896 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1897 return value of xdg_mime_list_mime_parents() to a variable of the
1900 2008-02-01 Alexander Larsson <alexl@redhat.com>
1902 * gappinfo.c (g_app_info_launch_uris):
1903 Actually call the launch_uris method, not
1906 2008-02-01 Alexander Larsson <alexl@redhat.com>
1908 * gdesktopappinfo.c (g_desktop_app_info_equal):
1909 Ensure appinfos with no id but same pointer value
1912 2008-02-01 Alexander Larsson <alexl@redhat.com>
1914 * gappinfo.c (g_app_info_launch_default_for_uri):
1917 2008-02-01 Alexander Larsson <alexl@redhat.com>
1921 Add g_app_info_launch_default_for_uri utility
1924 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1926 * gdesktopappinfo.c:
1927 Doc fix for g_app_info_get_default_for_uri_scheme ()
1930 2008-01-30 Alexander Larsson <alexl@redhat.com>
1933 Add doc comment about uris vs GFiles to
1936 * gdesktopappinfo.c:
1937 Ensure uris passed to g_app_info_launch_uris()
1938 are not roundtriped through GFile (as that
1939 may be slightly destructive for e.g. mailto: links)
1941 2008-01-30 Alexander Larsson <alexl@redhat.com>
1943 * tests/data-input-stream.c:
1944 * tests/data-output-stream.c:
1945 C89 fixes from Jens Granseuer (#512849)
1947 2008-01-30 Alexander Larsson <alexl@redhat.com>
1950 Fix gamin/fam difference build issue. (#509419)
1952 2008-01-29 Alexander Larsson <alexl@redhat.com>
1955 * gdesktopappinfo.c:
1956 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1958 2008-01-29 Alexander Larsson <alexl@redhat.com>
1960 * gdesktopappinfo.c:
1961 * gdesktopappinfo.h:
1962 giomodule-priv.h include moved to .c file.
1964 2008-01-29 Alexander Larsson <alexl@redhat.com>
1966 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1967 Remove unused prio/name fields.
1969 2008-01-29 Alexander Larsson <alexl@redhat.com>
1971 * gcontenttype.c (looks_like_text):
1972 Don't treat whitespace as control chars.
1974 2008-01-29 Alexander Larsson <alexl@redhat.com>
1976 * gdesktopappinfo.c:
1977 Lazily create the desktop files for appinfos created
1978 by g_app_info_create_from_commandline() when needed
1979 for mime associations. This allows run-time use
1980 of GAppInfo object without creating unnecessary
1983 2008-01-29 Alexander Larsson <alexl@redhat.com>
1986 Added new symbols to gio.symbols
1988 2008-01-29 Alexander Larsson <alexl@redhat.com>
1991 Add g_file_query_default_handler utility to easily look up
1992 the GAppInfo that handles a file.
1994 * gdesktopappinfo.[ch]:
1996 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1999 Remove unused function
2001 2008-01-29 Alexander Larsson <alexl@redhat.com>
2003 * gfileenumerator.c:
2004 Mention need to free returned value in
2005 g_file_enumerator_next_files_finish docs.
2006 Fix leak if g_file_enumerator_next_files_finish()
2009 2008-01-29 Alexander Larsson <alexl@redhat.com>
2012 (_g_unix_content_type_get_parents):
2013 Use list_parents, not get_parents from xdgmime, because
2014 the later doesn't use the cache.
2016 * xdgmime/xdgmimecache.c:
2017 (_xdg_mime_cache_list_mime_parents):
2018 Don't list the same type as parent multiple times.
2020 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2022 * === Released 2.15.4 ===
2024 2008-01-28 Alexander Larsson <alexl@redhat.com>
2027 Register local vfs with prio 0.
2030 Remove old name and prio class members
2032 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2034 * tests/g-file.c: Disable some tests that are failing in
2035 the absence of a http backend.
2037 2008-01-28 Alexander Larsson <alexl@redhat.com>
2041 Add registration hooks for extension points.
2042 Register the gio extension points.
2044 * fam/gfamdirectorymonitor.c:
2045 * fam/gfamfilemonitor.c:
2046 * glocaldirectorymonitor.[ch]:
2047 * glocalfilemonitor.[ch]:
2048 * gnativevolumemonitor.h:
2049 * gunionvolumemonitor.c:
2050 * gunixvolumemonitor.c:
2053 * inotify/ginotifydirectorymonitor.c:
2054 * inotify/ginotifyfilemonitor.c:
2055 Use the extension points registration instead
2056 of g_type_children().
2058 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2061 * gvolume.[hc]: Document new API.
2063 * gfile.c (g_file_copy_async): Fix docs
2065 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2067 * gbufferedinputstream.c:
2069 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2072 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2074 * glocalfile.c: Avoid trivial differences in translatable strings.
2076 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2078 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2079 build with gcc 3.4 (#509419)
2081 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2083 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2084 (#509994, Murray Cumming)
2086 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2088 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2089 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2090 this allows big jobs to be executed in chunks, instead of blocking
2091 the main loop for a long time.
2093 * gsimpleasyncresult.c:
2094 * giofile.c: Adapt callers.
2096 2008-01-25 Alexander Larsson <alexl@redhat.com>
2098 * gdesktopappinfo.c:
2099 Implement changes discussed on xdg list.
2100 Now we can add supported mimetypes by just using defaults.list
2101 We can also remove associations in defaults.list.
2103 2008-01-25 Alexander Larsson <alexl@redhat.com>
2105 * gdesktopappinfo.c:
2106 Don't make local copy of desktop file
2107 for mimetype changes if the file already
2108 supports the new mimetype.
2110 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2114 * gbufferedinputstream.c:
2115 * glocalfile.c: String improvements. (#511966,
2116 Theppitak Karoonboonyanan)
2118 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2120 * gioscheduler.h: Expand docs a bit.
2122 2008-01-24 Alexander Larsson <alexl@redhat.com>
2125 Add g_drive_get_identifier and
2126 g_drive_enumerate_identifiers
2129 Add g_volume_get_identifier and
2130 g_volume_enumerate_identifiers
2136 Implement identifiers for unix backend
2138 2008-01-24 Alexander Larsson <alexl@redhat.com>
2143 Add g_file_copy_async() (#511580)
2144 Based on patch from Carlos Garcia Campos
2146 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2148 * gioscheduler.c: Some documentation additions.
2150 2008-01-22 Alexander Larsson <alexl@redhat.com>
2152 * gdesktopappinfo.c:
2153 (g_desktop_app_info_new):
2154 Don't leak basename.
2156 2008-01-22 Alexander Larsson <alexl@redhat.com>
2158 * gdesktopappinfo.c:
2159 (g_desktop_app_info_new_from_filename):
2162 2008-01-22 Alexander Larsson <alexl@redhat.com>
2164 * glocalfileinfo.c (get_thumbnail_attributes):
2167 2008-01-22 Alexander Larsson <alexl@redhat.com>
2170 (canonicalize_filename):
2171 Canonicalize paths that start with more than
2175 (compare_two_files):
2176 (test_g_file_new_for_path):
2179 2008-01-22 Alexander Larsson <alexl@redhat.com>
2182 Allow UTF-8 in file:// parse names.
2184 * tests/Makefile.am:
2185 * tests/data-input-stream.c:
2186 * tests/data-output-stream.c:
2187 * tests/g-file-info.c:
2189 Added a bunch of tests from Tomas Bzatek
2191 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2193 * === Released 2.15.3 ===
2195 2008-01-21 Alexander Larsson <alexl@redhat.com>
2197 * gfileinputstream.[ch]:
2198 * gfileoutputstream.[ch]:
2200 Remove duplicated GSeekable functions. (#509990)
2201 Just use the g_seekable_xxx() calls instead.
2203 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2206 * gvolumemanager.c: Whitespace cleanups.
2208 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2209 Use the right mode when creating the file.
2211 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2213 * gfileenumerator.c:
2214 * gfileinputstream.c:
2216 * goutputstream.c: Documentation: Fixed minor typos
2217 and added more mentions of specific _finish() functions.
2219 2008-01-21 Alexander Larsson <alexl@redhat.com>
2221 * inotify/Makefile.am:
2222 * inotify/inotify-helper.c:
2223 * inotify/inotify-kernel.c:
2224 * inotify/inotify-path.c:
2225 * inotify/local_inotify.h: Removed.
2226 * inotify/local_inotify_syscalls.h: Removed.
2227 Removed the included copies of the inotify
2228 headers. We now only use the <sys/inotify.h>
2229 header which exists on modern systems.
2230 This fixes problems on ARM and SH5 (#510448)
2231 but is also generally much cleaner and future
2232 safe. For instance, if other OSes add support
2233 for inotify it should "just work".
2235 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2237 * inotify/*.c: Coding style fixes.
2238 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2239 for the 1/4 Hz timer.
2241 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2244 * gfilemonitor.[hc]:
2245 * gmemoryinputstream.c:
2246 * gmemoryoutputstream.c:
2247 * gmountoperation.c:
2248 * gthemedicon.c: Documentation updates
2250 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2252 * gfile.c: documentation: Fixed more minor
2255 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2257 * gmount.c: (g_mount_remount): documentation:
2258 Mention g_mount_remount_finish() instead of
2259 g_mount_unmount_finish().
2261 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2265 * gfile.c: Fixed some minor typos in the
2268 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2270 * gio/gvolumemonitor.c:
2271 (g_volume_monitor_get_connected_drives):
2272 (g_volume_monitor_get_volumes):
2273 (g_volume_monitor_get_mounts): Documentation:
2274 Clarify the ownership of the regurn GLists.
2276 2008-01-17 Alexander Larsson <alexl@redhat.com>
2279 Add the async find_enclosing_mount version
2280 to the header file too.
2282 2008-01-17 Alexander Larsson <alexl@redhat.com>
2285 Add async version of find_enclosing_mount
2286 with default implementation.
2288 2008-01-17 Alexander Larsson <alexl@redhat.com>
2293 Allow calls to implementation of copy and write
2294 even if the type of the file implementations is
2295 different. This can be used to implement native
2296 upload and download calls in a vfs.
2299 (g_local_file_move):
2300 Protect against the case where move is called
2301 with one file not being local.
2303 Make sure we call the progress callback once
2304 in the native move operation so that the caller
2305 knows how many bytes were copied.
2307 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2310 * gdatainputstream.c:
2312 * gfileoutputstream.c:
2317 * gunixmounts.c: Corrected some typos in the documentation:
2318 occured -> occurred.
2319 its -> it's (where appropriate).
2321 2008-01-16 Alexander Larsson <alexl@redhat.com>
2325 Add g_file_query_exists (#508771)
2327 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2332 * gvolume.c: For async functions that have no non-async
2333 version, document that the GAsyncReadyCallback may be NULL.
2336 2008-01-15 Alexander Larsson <alexl@redhat.com>
2338 * gmemoryinputstream.c:
2339 * gmemoryoutputstream.c:
2340 Don't do pointer arithmetic on void * (#508602)
2341 Patch from Kazuki IWAMOTO
2343 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2345 * === Released 2.15.2 ===
2347 2008-01-14 Alexander Larsson <alexl@redhat.com>
2349 * gfile.c (g_file_monitor_file):
2350 Don't set error here, since we fallback to polling monitor.
2352 2008-01-14 Alexander Larsson <alexl@redhat.com>
2355 (g_file_monitor_directory):
2356 (g_file_monitor_file):
2357 Add GError to file monitor calls
2359 * glocaldirectorymonitor.c:
2360 * glocaldirectorymonitor.h:
2362 * glocalfilemonitor.c:
2363 * glocalfilemonitor.h:
2365 Update for above change
2367 2008-01-14 Alexander Larsson <alexl@redhat.com>
2371 Handle root correctly in g_file_get_relative_path (#508719)
2373 2008-01-14 Alexander Larsson <alexl@redhat.com>
2376 Clean up docs and example for GAsyncResult (#508074)
2378 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2380 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2381 and correct some spelling mistakes. Bug #508108.
2383 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2385 * glocalfileinfo.c: Add a comment.
2387 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2389 * gfileinfo.c: GFileInfo description: Mention
2390 how to actually set attributes in a GFile and how to discover
2391 which attributes are settable. Bug #508378.
2393 2008-01-10 A. Walton <awalton@svn.gnome.org>
2395 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2396 (g_app_info_get_default_for_type):
2397 Check for NULL content types.
2399 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2401 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2403 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2405 * gfile.c: *_async() functions: Several small corrections
2406 to the documentation, mostly correcting copy/paste errors
2407 and improving some sentences.
2409 2008-01-09 Dan Winship <danw@gnome.org>
2411 * glocalfile.c (get_unique_filename): x86_64 fix
2413 2008-01-09 Alexander Larsson <alexl@redhat.com>
2418 Add g_unix_mount_guess_should_display and use
2419 for unix volume monitor backend.
2420 This means we more or less show what the
2421 gnome-vfs backend did.
2422 Based on patch from Padraig O'Briain
2424 2008-01-09 Alexander Larsson <alexl@redhat.com>
2428 Add g_themed_icon_new_with_default_fallbacks
2431 Use default fallbacks for icons
2433 2008-01-09 Alexander Larsson <alexl@redhat.com>
2436 * gmountoperation.[ch]:
2437 Change the API a bit so that unhandled methods
2438 get reported via the reply, rather than by
2439 the signal emission return value. This is because
2440 some handlers can't know this immediately without
2441 doing I/O, and this is an async operation that
2444 2008-01-09 Alexander Larsson <alexl@redhat.com>
2447 * fam/gfamdirectorymonitor.c:
2448 * fam/gfamfilemonitor.c:
2449 Fix double free crash (#508224)
2450 Patch from Joe Marcus Clarke
2452 008-01-07 Matthias Clasen <mclasen@redhat.com>
2454 * === Released 2.15.1 ===
2456 2008-01-07 Alexander Larsson <alexl@redhat.com>
2458 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2459 Fix warning (#507835)
2461 2008-01-07 Alexander Larsson <alexl@redhat.com>
2464 Pass --internal to glib-genmarshal
2467 * gmountoperation.c:
2469 Use better types for signal arguments (#507822)
2471 2008-01-07 Alexander Larsson <alexl@redhat.com>
2474 Build test subdir after .
2475 Remove gdirectorymonitor.[ch]
2477 * gdirectorymonitor.[ch]:
2481 Remove GDirectoryMonitor and make
2482 GFileMonitor the baseclass for both file and
2483 directory monitors. Lift the more generic
2484 rate limiting code from GDirectoryMonitor
2488 * fam/gfamdirectorymonitor.[ch]:
2489 * inotify/ginotifydirectorymonitor.[ch]:
2490 * inotify/inotify-helper.c:
2491 * glocaldirectorymonitor.[ch]:
2494 Update for the removed GDirectoryMonitor.
2496 * gmemoryoutputstream.c:
2497 Remove ununsed variable
2499 2008-01-07 Alexander Larsson <alexl@redhat.com>
2501 * gmemoryinputstream.c:
2502 Translate error strings
2505 * gmemoryoutputstream.[ch]:
2506 New implementation that avoids using GByteArray
2507 in implementation and API. (#506377)
2509 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2511 * tests/*: Add a test for memory input streams.
2513 * Makefile.am: Add tests to SUBDIRS.
2515 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2517 * glocalfilemonitor.c:
2518 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2521 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2523 * gdesktopappinfo.c: Fix a docs typo.
2525 * gfileattribute.c: Add information about extended attributes
2526 to the documentation. (#505058)
2528 2008-01-04 Alexander Larsson <alexl@redhat.com>
2531 * gmountoperation.c:
2532 Use the right type (uint) for the ask_password signal.
2534 2008-01-04 Alexander Larsson <alexl@redhat.com>
2539 Add g_app_info_supports_files()
2540 Remove desktop arg from g_app_info_should_show().
2542 * gdesktopappinfo.[ch]:
2543 Implement g_app_info_supports_files() and new should_show()
2544 Add g_desktop_app_info_set_desktop_env() to set the desktop
2545 for should_show(). (This will be set by gtk+ later)
2547 2008-01-04 Alexander Larsson <alexl@redhat.com>
2550 * gmemoryinputstream.[ch]:
2551 Improve API so that you can use multiple chunks
2552 of memory and custom destroy functions. (#506374)
2554 2008-01-03 Alexander Larsson <alexl@redhat.com>
2557 Handle NULL attribute matchers safely, as we return this
2558 for empty attribute matcher strings.
2560 2008-01-03 Alexander Larsson <alexl@redhat.com>
2562 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2563 Add /usr/local to list of internal mountpoints
2565 2008-01-03 Alexander Larsson <alexl@redhat.com>
2568 Check for HAVE_LCHOWN (#505887)
2570 2008-01-03 Alexander Larsson <alexl@redhat.com>
2574 Add define for selinux context attribute.
2575 Fix missing : -> :: namespace separator change
2576 Fix missing _ -> - name change for xattr-sys.
2579 2008-01-03 Alexander Larsson <alexl@redhat.com>
2582 Link to libglib and libgobject directly (#504879)
2583 Patch from Sebastien Bacher
2585 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2587 * gfile.c: Expanded the g_file_new_for_commandline_arg
2588 description a bit, based on the code and the docs of the
2589 other g_file_new_for_* functions.
2591 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2593 * gfilemonitor.h: Fixed typo in docs.
2595 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2597 Updates to GIO documentation. (#506395, Mikael Hermansson)
2599 * gcontenttype.c: Describe memory management for return value of
2600 g_content_types_get_registered(). Missing piece from #505815.
2601 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2602 GVolume, GDrive, GMounts, which hopefully gives the user less
2603 confusions when using this API. Following explainations from
2604 Alexander Larsson on gtk-devel-list.
2606 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2608 * gfileinfo.c: Expand the long description.
2610 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2613 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2614 fix builds with --disable-visibility. (#500273, Christian Persch)
2616 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2618 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2619 in the list of returned app infos.
2621 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2623 * gappinfo.c: Fix a cross-reference
2625 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2627 * gfileinputstream.c:
2628 * gfileoutputstream.c:
2632 * gdesktopappinfo.c:
2634 * gfileinfo.c: Documentation updates.
2636 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2638 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2641 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2643 * gcontenttype.c (g_content_types_get_registered): Don't return
2644 freed memory (#505815, Mikael Hermansson)
2646 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2648 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2649 used to detect statbuf->st_blocks. (#505042)
2651 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2653 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2654 environment handling. (#504829, Cosimo Cecchi)
2656 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2658 * gappinfo.c: Doc improvements
2660 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2663 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2665 * === Released 2.15.0 ===
2667 2007-12-20 Hans Breuer <hans@breuer.org>
2669 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2670 with symbols gwin32appinfo.obj, added gmount.obj
2671 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2673 2007-12-20 Alexander Larsson <alexl@redhat.com>
2679 * gfilenamecompleter.c:
2682 * gpollfilemonitor.c:
2683 File attribute renames:
2685 fs:: -> filesystem::
2686 id::fs -> id::filesystem
2688 2007-12-20 Alexander Larsson <alexl@redhat.com>
2697 Add GMountUnmountFlags to all unmount and
2699 Add g_mount_remount() call.
2701 2007-12-20 Alexander Larsson <alexl@redhat.com>
2703 * gvfs.c (get_default_vfs):
2704 Fix unused variable warning
2706 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2708 * pltcheck.sh: Update
2710 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2712 * gunionvolumemonitor.c:
2713 * gunixmount.c: Remove C99 comments
2715 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2717 * gio.symbols: Add some missing symbols
2719 2007-12-19 Alexander Larsson <alexl@redhat.com>
2722 Make g_io_modules_load_all_in_directory not unuse
2723 loaded modules so that users of it can do stuff
2725 Init internal "module" types.
2726 Initialize static prio and name for types so that
2727 we don't have to load modules to get it.
2729 * gnativevolumemonitor.h:
2731 Move is_supported to parent class so that
2732 non-native monitors can avoid being initialized
2733 too. (For instance GDaemonVolumeMonitor if we're
2734 not using GDaemonVfs.)
2736 * glocaldirectorymonitor.[ch]:
2737 * glocalfilemonitor.[ch]:
2738 * gunionvolumemonitor.c:
2739 * gunixvolumemonitor.c:
2741 Find plugins using the static prio+name to
2742 avoid unnecessarily loading the modules.
2744 2007-12-19 Alexander Larsson <alexl@redhat.com>
2749 2007-12-19 Alexander Larsson <alexl@redhat.com>
2751 * gunionvolumemonitor.c:
2752 Store the native type as GType, not class so that
2753 we can unload it. But still avoid unnecessarily
2756 2007-12-19 David Zeuthen <davidz@redhat.com>
2758 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2759 add signals 'disconnected' and 'eject-button' on GDrive. Add
2760 signal 'removed' on GVolume and 'unmounted' on GMount.
2762 * gdrive.c: (g_drive_base_init):
2764 * gfile.c: (g_file_mount_mountable),
2765 (g_file_mount_enclosing_volume):
2768 * gmount.c: (g_mount_base_init):
2770 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2771 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2772 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2776 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2778 * *.c: Fix up includes in the section docs.
2780 2007-12-17 Alexander Larsson <alexl@redhat.com>
2782 * gnativevolumemonitor.h:
2783 * gunionvolumemonitor.c:
2784 * gunixvolumemonitor.c:
2785 Add is_supported() to GNativeVolumeMonitorClass so
2786 that we can avoid having to create an object to see
2787 if the backend is supported at runtime.
2788 Also add name member and an env var to pick a specific
2789 volume monitor backend.
2793 Add cancellable to _g_mount_get_for_mount_path()
2795 * glocaldirectorymonitor.c:
2796 * glocalfilemonitor.c:
2797 Avoid loading and unloading modules while sorting.
2799 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2802 * gunixmounts.[hc]: Namespace waste reduction, move some
2803 g_get_unix_mount functions to the g_unix_mount namespace.
2806 * gunixvolumemonitor.c:
2808 * glocaldirectorymonitor.c: Update all callers.
2810 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2812 2007-12-17 Alexander Larsson <alexl@redhat.com>
2815 Add doc comments about what GFile operations are
2816 guaranteed to not block.
2818 2007-12-17 Alexander Larsson <alexl@redhat.com>
2821 Add missing #ifdef fixing OSX build.
2822 (#503334, patch from Richard Hult)
2824 2007-12-14 David Zeuthen <davidz@redhat.com>
2828 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2829 (g_mount_eject), (g_mount_eject_finish):
2831 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2832 (get_volume_for_uuid), (get_mount_for_uuid),
2833 (g_union_volume_monitor_class_init),
2834 (get_default_native_type_with_exclude), (get_default_native_type),
2835 (get_native_type), (update_native_type),
2836 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2837 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2838 (g_unix_mount_can_eject), (eject_unmount_cb),
2839 (eject_unmount_read_error), (eject_unmount_do),
2840 (g_unix_mount_unmount), (g_unix_mount_eject),
2841 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2842 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2843 (g_unix_mount_point_guess_can_eject):
2845 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2846 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2847 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2848 (g_unix_volume_mount), (g_unix_volume_eject),
2849 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2850 * gunixvolumemonitor.c: (get_volume_for_uuid),
2851 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2853 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2854 (g_volume_eject), (g_volume_eject_finish):
2856 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2857 (g_volume_monitor_get_mount_for_uuid):
2860 Provide eject() on both GMount and GVolume and utility functions
2861 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2862 ejected. Introduce the concept of UUID's and wire it into GVolume
2863 and GMount and provide API on GVolumeMonitor to find such
2864 instances. Also handle the case where an external
2865 GNativeVolumeMonitor fails to initialize. Lock around the
2866 _g_get_mount_for_mount_path() function such that volume monitor
2867 implementations won't have to do locking themselves.
2869 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2871 * gdesktopappinfo.c:
2877 * gvolume.h: Documentation updates
2879 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2882 * gfile.h: Doc updates
2884 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2887 * gdesktopappinfo.c: Use hash table iterators.
2889 2007-12-14 Alexander Larsson <alexl@redhat.com>
2892 * gfileattribute.[ch]:
2893 * gfileattribute-priv.h:
2894 Move GFileAttributeValue to a private header, as
2898 Make set_attribute take a type + a pointer instead
2899 of a GFileAttributeValue.
2902 Fix up for above changes.
2903 Add g_file_info_get_attribute_data to get
2904 all info in one call, g_file_info_get_attribute_status
2905 to get the status and g_file_info_get_attribute_as_string.
2909 * glocalfileinfo.[ch]:
2913 Make _guess_type static.
2915 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2918 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2919 made mkenums and friends use temporary files to avoid leaving
2920 empty generated files on failure (#503470).
2922 2007-12-14 Alexander Larsson <alexl@redhat.com>
2924 * gmountoperation.h:
2927 2007-12-14 Alexander Larsson <alexl@redhat.com>
2931 * gfileattribute.[ch]:
2934 * glocalfileoutputstream.c:
2935 * gmountoperation.[ch]:
2936 * goutputstream.[ch]:
2937 Clean up all flags enums to not have _FLAGS in them
2938 Make the names of some of the enums better.
2943 2007-12-14 Michael Natterer <mitch@imendio.com>
2945 * gio.symbols: fix g_io_scheduler symbol names.
2947 2007-12-14 Alexander Larsson <alexl@redhat.com>
2953 * gbufferedinputstream.h:
2954 * gbufferedoutputstream.h:
2957 * gdatainputstream.h:
2958 * gdataoutputstream.h:
2959 * gdesktopappinfo.h:
2960 * gdirectorymonitor.h:
2964 * gfileenumerator.h:
2967 * gfileinputstream.h:
2969 * gfilenamecompleter.h:
2970 * gfileoutputstream.h:
2971 * gfilterinputstream.h:
2972 * gfilteroutputstream.h:
2980 * gmemoryinputstream.h:
2981 * gmemoryoutputstream.h:
2983 * gmountoperation.h:
2986 * gsimpleasyncresult.h:
2988 * gunixinputstream.h:
2990 * gunixoutputstream.h:
2994 * inotify/Makefile.am:
2995 Only allow including <gio/gio.h> from apps
2997 2007-12-14 Alexander Larsson <alexl@redhat.com>
2999 * gioscheduler.[ch]:
3000 * gsimpleasyncresult.c:
3001 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3002 Split out the send_to_mainloop call into two versions instead
3003 of having the block argument.
3005 2007-12-13 Alexander Larsson <alexl@redhat.com>
3007 * gcancellable.[ch]:
3009 * gbufferedinputstream.c:
3010 * gfileenumerator.c:
3011 * gfileinputstream.c:
3012 * gfileoutputstream.c:
3016 g_push/pop_current_cancellable ->
3017 g_cancellable_push/pop_current
3019 2007-12-13 Alexander Larsson <alexl@redhat.com>
3023 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3025 2007-12-13 Alexander Larsson <alexl@redhat.com>
3027 * gmountoperation.h:
3028 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3030 2007-12-12 Alexander Larsson <alexl@redhat.com>
3033 Fix race condition when freeing proxy in
3034 g_io_job_send_to_mainloop().
3036 2007-12-12 Alexander Larsson <alexl@redhat.com>
3042 Make attribute namespace separator "::" instead of ":".
3043 Use - instead of _ as separator in attribute names.
3045 2007-12-12 Alexander Larsson <alexl@redhat.com>
3047 * gbufferedinputstream.h:
3048 * gbufferedoutputstream.h:
3049 * gdatainputstream.h:
3050 * gdataoutputstream.h:
3051 * gdirectorymonitor.h:
3052 * gfileenumerator.h:
3053 * gfileinputstream.h:
3055 * gfileoutputstream.h:
3056 * gfilterinputstream.h:
3057 * gfilteroutputstream.h:
3059 * glocalfileinputstream.h:
3060 * glocalfileoutputstream.h:
3061 * gmemoryinputstream.h:
3062 * gmemoryoutputstream.h:
3063 * gnativevolumemonitor.h:
3065 * gunixinputstream.h:
3066 * gunixoutputstream.h:
3069 s/parent/parent_instance/ in GObjects
3071 2007-12-12 Alexander Larsson <alexl@redhat.com>
3076 No need for padding for interfaces
3078 2007-12-12 Alexander Larsson <alexl@redhat.com>
3082 * gbufferedinputstream.c:
3083 * gbufferedoutputstream.c:
3086 * gdatainputstream.[ch]:
3087 * gdesktopappinfo.c:
3088 * gdirectorymonitor.c:
3090 * gfileattribute.[ch]:
3093 * gfileinputstream.h:
3094 * gfilemonitor.[ch]:
3095 * gfileoutputstream.[ch]:
3096 * gfilterinputstream.h:
3097 * gfilteroutputstream.h:
3100 * gloadableicon.[ch]:
3101 * gmemoryinputstream.c:
3102 * gmountoperation.c:
3104 Fix up a bunch of details in the docs.
3109 2007-12-11 David Zeuthen <davidz@redhat.com>
3111 Rework how volumes, drives and volume monitoring is
3112 done. Previosly the model was
3114 GDrive <1-1> GVolume
3116 where a GDrive instance represented a mount point and a GVolume
3117 instance represented a mounted file system. This patch changes it
3120 GDrive <1-N> GVolume <1-1> GMount
3122 where GMount now serves the purpose of the old GVolume and the new
3123 GVolume serves the purpose of the old GDrive. In addition the new
3124 GDrive interface is used to represent a collection of GVolume
3125 instances (typically partitions) and also contains utility to query
3126 the state of the physical drive the GDrive object represents (such
3127 as checking for media, polling the drive, ejecting the media etc.).
3129 Also implement mounting and unmounting in the Unix volume monitor
3130 backend. A subquent patch will introduce GDrive support for ejection
3134 * gdrive.c: (g_drive_is_media_check_automatic),
3135 (g_drive_is_media_removable), (g_drive_has_media),
3136 (g_drive_can_poll_for_media), (g_drive_eject),
3137 (g_drive_eject_finish), (g_drive_poll_for_media),
3138 (g_drive_poll_for_media_finish):
3140 * gfile.c: (g_file_find_enclosing_mount):
3143 * glocaldirectorymonitor.c:
3144 (g_local_directory_monitor_constructor), (mounts_changed):
3145 * glocalfile.c: (get_mount_info),
3146 (g_local_file_find_enclosing_mount),
3147 (g_local_file_file_iface_init):
3148 * gnativevolumemonitor.h:
3149 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3150 (get_connected_drives), (g_union_volume_monitor_class_init),
3151 (child_volume_added), (child_volume_removed),
3152 (child_volume_changed), (child_mount_added), (child_mount_removed),
3153 (child_mount_pre_unmount), (child_mount_changed),
3154 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3155 (g_union_volume_monitor_remove_monitor),
3156 (_g_mount_get_for_mount_path):
3157 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3158 (guess_system_internal), (_g_get_unix_mounts),
3159 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3160 (g_unix_mount_free), (g_unix_mount_compare),
3161 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3162 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3163 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3164 (type_to_icon), (g_unix_mount_guess_name),
3165 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3166 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3167 (_resolve_symlink), (_resolve_dev_root):
3169 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3170 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3171 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3172 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3173 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3174 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3175 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3176 (g_unix_volume_volume_iface_init):
3178 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3179 (get_mounts), (get_volumes), (get_connected_drives),
3180 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3181 (mountpoints_changed), (mounts_changed),
3182 (g_unix_volume_monitor_init),
3183 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3184 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3185 * gunixvolumemonitor.h:
3186 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3187 (g_volume_mount), (g_volume_mount_finish):
3189 * gvolumemonitor.c: (g_volume_monitor_class_init),
3190 (g_volume_monitor_get_connected_drives),
3191 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3194 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3196 * gmountoperation.h (GPasswordFlags): Close the gap
3198 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3200 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3202 * gdesktopappinfo.[hc]: Remove _-prefixes
3204 2007-12-10 Tor Lillqvist <tml@novell.com>
3206 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3209 2007-12-10 Alexander Larsson <alexl@redhat.com>
3211 * gfile.c (g_file_set_display_name):
3212 Don't hardcode '/' (#502727)
3214 2007-12-09 Hans Breuer <hans@breuer.org>
3216 * makefile.msc : follow lib naming convention
3217 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3218 for user and group name, tested with ../tests/gio-ls
3220 2007-12-09 A. Walton <awalton@svn.gnome.org>
3222 * gdesktopappinfo.c:
3228 * gfileenumerator.c:
3233 * gmemoryinputstream.c:
3234 * gmemoryoutputstream.c:
3236 * gsimpleasyncresult.c:
3237 More documentation cleanup and filling in missing information, bringing
3238 GIO to 99% symbol coverage.
3240 2007-12-08 Hans Breuer <hans@breuer.org>
3242 [gio compiles and links on win32, not sure how much already works]
3243 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3244 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3245 base on win32 API; prefer g_lstat() over lstat(); instead of
3246 localtime_r() use an all GLib implementation on win32;
3247 get_mount_info() still needs a win32 specifc implementation
3248 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3249 win32_get_file_user_info to get owner/group info without uid/gid
3250 * glocalfileinputstream.c : include <io.h> on win32
3251 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3252 definition, use g_win32_ftruncate() for G_OS_WIN32
3253 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3254 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3255 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3256 * makefile.msc : updated
3258 2007-12-07 Alexander Larsson <alexl@redhat.com>
3260 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3261 Avoid warning spew if error == NULL
3263 2007-12-07 Alexander Larsson <alexl@redhat.com>
3266 Update docs wrt etags
3268 2007-12-06 Alexander Larsson <alexl@redhat.com>
3271 Include sys/types.h for dev_t (#501919)
3273 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3277 Make abicheck and pltcheck pass.
3279 2007-12-05 Alexander Larsson <alexl@redhat.com>
3282 * giomodule-priv.h: Added.
3283 * glocaldirectorymonitor.c:
3284 * glocalfilemonitor.c:
3285 * gunionvolumemonitor.c:
3287 Actually add the declaration of _g_io_modules_ensure_loaded
3289 2007-12-05 Alexander Larsson <alexl@redhat.com>
3291 * gdatainputstream.c:
3296 * glocaldirectorymonitor.c:
3297 * glocalfilemonitor.c:
3298 * gunionvolumemonitor.c:
3300 Make g_io_modules_ensure_loaded a private function and
3301 don't pass in the dirname. This means we can do magic
3302 directory finding in the win32 version.
3303 Export the actual load-modules-in-directory code so that
3304 gvfs can reuse that.
3306 2007-12-05 Alexander Larsson <alexl@redhat.com>
3308 * gbufferedinputstream.c:
3309 * gbufferedoutputstream.c:
3312 * gfileenumerator.[ch]:
3313 * gfileinputstream.c:
3314 * gfileoutputstream.[ch]:
3315 * gfilterinputstream.c:
3316 * gfilteroutputstream.c:
3317 * ginputstream.[ch]:
3319 * glocalfileenumerator.c:
3320 * glocalfileinputstream.c:
3321 * glocalfileoutputstream.c:
3322 * gmemoryinputstream.c:
3323 * gmemoryoutputstream.c:
3324 * goutputstream.[ch]:
3327 * gunixinputstream.c:
3328 * gunixoutputstream.c:
3329 Rename all struct members named:
3330 read, write, close, truncate, or mount
3331 to foo_fn, as these are reserved names
3332 and could be defined as macros in libc.
3335 2007-12-04 Alexander Larsson <alexl@redhat.com>
3338 (g_output_stream_close):
3339 Only call flush if non-null.
3341 2007-11-30 Dan Winship <danw@gnome.org>
3343 * ginputstream.c (g_input_stream_set_pending): Make this take a
3344 GError and return a gboolean, and do the "outstanding operation"
3345 check (and the "stream is already closed" check) itself.
3346 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3348 * goutputstream.c (g_output_stream_set_pending)
3349 (g_output_stream_clear_pending): Likewise
3351 * gbufferedinputstream.c:
3352 * gfileinputstream.c:
3353 * gfileoutputstream.c: Update for that
3355 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3356 Like g_simple_async_report_error_in_idle, but takes a GError
3357 rather than building one.
3359 2007-11-30 Dan Winship <danw@gnome.org>
3361 * goutputstream.c: Don't cheat and unset the "pending" flag around
3362 inner calls. Instead, call the class method directly rather than
3363 the wrapper function that checks "pending"
3365 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3367 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3369 2007-12-03 Hans Breuer <hans@breuer.org>
3371 [start of port to win32/msvc]
3372 * gcancellable.c : HAVE_UNIST_H and _pipe()
3373 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3374 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3375 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3377 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3378 * glocalvfs.c : use HAVE_PWD_H
3379 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3380 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3381 * Makefile.am : added to EXTRA_DIST
3383 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3385 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3388 2007-12-03 Alexander Larsson <alexl@redhat.com>
3391 Handle OSX style xattrs API (#500506)
3393 2007-12-03 Alexander Larsson <alexl@redhat.com>
3397 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3399 2007-12-02 A. Walton <awalton@svn.gnome.org>
3403 Documentation accuracy fixes.
3405 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3407 * gioenumtypes.c.template: Fix typo.
3409 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3411 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3413 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3415 * gdirectorymonitor.c:
3416 * gfilemonitor.c: Add properties
3418 * gbufferedoutputstream.c: Don't mark buffer-size property
3421 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3423 * gbufferedoutputstream.c: Add auto-grow property.
3425 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3427 * *.c: Unify the capitalization of section headings.
3429 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3431 * gmountoperation.c: Add properties
3433 * gdatainputstream.c: Turn byte-order and newline-type into
3436 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3438 * gioenumtypes.[hc].template: Templates for enum registration
3440 * Makefile.am: Generate gioenumtypes.[hc]
3442 * gio.h: Include gioenumtypes.h
3444 * gfile.h: Add some explicit nicks.
3446 * gio.symbols: Add new symbols
3448 * pltcheck.sh: Adjust
3450 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3452 * *.c: Explain etags and link to the explanation
3454 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3456 * *.c: Explain I/O priority.
3458 * *.c: More coding style fixes.
3460 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3462 * gasyncresult.c: Add another paragraph to the intro,
3463 adjust coding style of example.
3465 2007-11-29 A. Walton <awalton@svn.gnome.org>
3468 Fixes unknown meaning in GAppLaunchContext docs.
3470 Clarify asynchronous ops.
3472 Fix entity tag docs.
3475 Provides missing gtk-doc section, fixes API docs slighly.
3476 * gsimpleasyncresult.c:
3477 Fill in missing info in docs.
3478 * gunixinputstream.c:
3479 * gunixoutputstream.c:
3480 Be more expressive in short description.
3482 Remove gtk-doc stubs for non-public API.
3484 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3486 * *.c: Coding style fixups
3488 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3490 * inotify/inotify-helper.c: Don't export the lock from libgio.
3492 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3495 * abicheck.sh: Fix copy-and-paste leftovers
3497 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3499 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3501 2007-11-28 Alexander Larsson <alexl@redhat.com>
3505 Removed unnecessary file
3507 * gdesktopappinfo.[ch]:
3510 * glocaldirectorymonitor.[ch]:
3512 * glocalfileenumerator.[ch]:
3513 * glocalfileinputstream.[ch]:
3514 * glocalfilemonitor.[ch]:
3515 * glocalfileoutputstream.[ch]:
3517 * gnativevolumemonitor.c:
3518 * gpollfilemonitor.[ch]:
3519 * gunionvolumemonitor.[ch]:
3522 * gunixvolumemonitor.[ch]:
3525 * inotify/ginotifydirectorymonitor.[ch]:
3526 * inotify/ginotifyfilemonitor.[ch]:
3527 * inotify/inotify-helper.c:
3528 Append _ to all internal functions
3532 Export symbols needed for modules
3534 2007-11-28 Alexander Larsson <alexl@redhat.com>
3537 * abicheck.sh: Added.
3538 * makegioalias.pl: Added.
3539 * pltcheck.sh: Added.
3540 * gio.symbols: Added.
3543 Initial work on adding symbol handling.
3546 Correct ifdef guard name
3549 * inotify/Makefile.am:
3550 * xdgmime/Makefile.am:
3551 Include toplevel Makefile.decl
3553 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3555 * gcontenttype.c: Move doc comments to the unix section.
3557 * *.[hc]: More trivial doc corrections.
3559 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3561 * gpollfilemonitor.c:
3565 * gdesktopappinfo.c:
3570 * gdatainputstream.c:
3571 * gdatainputstream.h:
3572 * gdataoutputstream.c:
3573 * gdataoutputstream.h:
3574 * gfileinfo.h: Doc cleanups
3576 2007-11-28 Andre Klapper <a9016009@gmx.de>
3578 * gdesktopappinfo.c: Fix a typo.
3580 2007-11-27 Andre Klapper <a9016009@gmx.de>
3582 * glocalfileoutputstream.c: Fix a typo.
3584 2007-11-27 Alexander Larsson <alexl@redhat.com>
3587 Don't include removed headers
3589 2007-11-27 Alexander Larsson <alexl@redhat.com>
3592 * gsocketinputstream.[ch]: Removed.
3593 * gsocketoutputstream.[ch]: Removed.
3594 * gunixinputstream.[ch]: Added.
3595 * gunixoutputstream.[ch]: Added.
3596 Renamed GSocket*Stream to GUnix*Stream and made
3597 it unix-only, since its not really only for sockets
3598 and it only works on unix (but is highly useful there).
3600 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3606 * gbufferedinputstream.c:
3607 * gbufferedinputstream.h:
3608 * gbufferedoutputstream.c:
3609 * gbufferedoutputstream.h:
3613 * gdatainputstream.c:
3614 * gdatainputstream.h:
3615 * gdataoutputstream.c:
3616 * gdataoutputstream.h:
3617 * gdirectorymonitor.c:
3618 * gdirectorymonitor.h:
3625 * gfileenumerator.c:
3626 * gfileenumerator.h:
3631 * gfileinputstream.c:
3632 * gfileinputstream.h:
3635 * gfilenamecompleter.c:
3636 * gfilenamecompleter.h:
3637 * gfileoutputstream.c:
3638 * gfileoutputstream.h:
3639 * gfilterinputstream.c:
3640 * gfilterinputstream.h:
3641 * gfilteroutputstream.c:
3642 * gfilteroutputstream.h:
3655 * glocalfileoutputstream.c:
3656 * gmemoryinputstream.c:
3657 * gmemoryinputstream.h:
3658 * gmemoryoutputstream.c:
3659 * gmemoryoutputstream.h:
3660 * gmountoperation.c:
3661 * gmountoperation.h:
3664 * gpollfilemonitor.c:
3667 * gsimpleasyncresult.c:
3668 * gsimpleasyncresult.h:
3669 * gsocketinputstream.c:
3670 * gsocketinputstream.h:
3671 * gsocketoutputstream.c:
3672 * gsocketoutputstream.h:
3679 * gunixvolumemonitor.c:
3688 Bumps documentation to 93% symbol coverage, touching most
3689 of the public files. Fixes broken function documentation prototypes.
3690 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3691 gtk-doc headers in private files.
3693 2007-11-27 Jürg Billeter <j@bitron.ch>
3695 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3696 (g_buffered_input_stream_read_byte):
3697 * gbufferedinputstream.h:
3698 New functions for efficient access to buffer and simple single byte
3701 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3702 (g_data_input_stream_read_until):
3703 * gdatainputstream.h:
3704 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3705 read_until with multiple stop chars.
3707 2007-11-27 Alexander Larsson <alexl@redhat.com>
3711 * inotify/Makefile.am:
3712 Use the user-specified giomoduledir
3714 2007-11-27 Alexander Larsson <alexl@redhat.com>
3718 Add catch-all gio.h header
3719 Don't install gdummyfile.h
3721 2007-11-26 Alexander Larsson <alexl@redhat.com>
3723 * Makefile.am (gioinclude_HEADERS):
3724 Remove trailing whitespace
3726 2007-11-26 Alexander Larsson <alexl@redhat.com>
3728 Merge gio-standalone into glib
3730 2007-11-25 Christian Kellner <gicmo@gnome.org>
3732 * gio/goutputstream.c:
3733 Fix small mistake in the docs.
3735 2007-11-21 Christian Persch <chpe@gnome.org>
3737 * gio/glocalfile.c: (g_local_file_trash):
3738 Convert filenames to UTF-8 for GError.
3739 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3740 as per xdg base dir spec.
3742 2007-11-21 Christian Persch <chpe@gnome.org>
3744 * gio/gdesktopappinfo.c:
3745 Use that g_key_file_to_data cannot fail.
3747 Use stock defines for the key file group and key names.
3750 2007-11-21 Alexander Larsson <alexl@redhat.com>
3753 (copy_stream_with_progress):
3754 Make sure we do a final progress callback with
3755 the full total size.
3757 2007-11-21 Alexander Larsson <alexl@redhat.com>
3760 Export g_file_copy_attributes
3761 Remove padding as its not needed for interfaces
3763 2007-11-20 Alexander Larsson <alexl@redhat.com>
3768 Add G_IO_ERROR_WOULD_MERGE for
3769 copy/move dir on dir with overwrite.
3771 2007-11-20 Alexander Larsson <alexl@redhat.com>
3774 * gio/glocalfileinfo.c:
3775 Add COPY_NAME (this is an optional
3776 non-modified utf8 version of the name) that
3779 2007-11-20 Alexander Larsson <alexl@redhat.com>
3781 * gio/glocalfileenumerator.c:
3782 Report errors as GIOError, not GFileError
3784 2007-11-16 Alexander Larsson <alexl@redhat.com>
3786 * gio/glocalfileoutputstream.c:
3787 * gio/gwin32appinfo.c:
3788 Fix typos in strings.
3789 Patch from Luca Ferretti <elle.uca@libero.it>
3791 2007-11-15 Alexander Larsson <alexl@redhat.com>
3794 Post release version bump
3796 === gio-standalone 0.1.2 ===
3798 2007-11-15 Alexander Larsson <alexl@redhat.com>
3800 * docs/reference/gio/Makefile.am:
3801 Fix up distcheck by removing weird
3807 2007-11-14 Alexander Larsson <alexl@redhat.com>
3809 * gio/gdesktopappinfo.c:
3810 * gio/glocaldirectorymonitor.c:
3812 * gio/glocalfileinfo.c:
3813 * gio/inotify/inotify-sub.c:
3814 * programs/gio-cat.c:
3815 * programs/gio-copy.c:
3816 * programs/gio-info.c:
3817 * programs/gio-ls.c:
3818 * programs/gio-monitor-dir.c:
3819 * programs/gio-monitor-file.c:
3820 * programs/gio-mount.c:
3821 * programs/gio-move.c:
3822 * programs/gio-rm.c:
3823 * programs/gio-save.c:
3824 * programs/gio-trash.c:
3825 Leak fixes from Kjartan Maraas
3827 2007-11-14 Alexander Larsson <alexl@redhat.com>
3829 * gio/fam/fam-helper.c:
3831 * gio/glocalfileinfo.c:
3835 * gio/inotify/inotify-diag.c:
3836 * gio/inotify/inotify-kernel.c:
3837 Various code cleanups from Kjartan Maraas
3839 2007-11-14 Alexander Larsson <alexl@redhat.com>
3841 * gio/gioscheduler.c:
3843 Set up threadpool so that we cache 2 unused
3844 idle threads for at 15 secs. This means we
3845 will reuse thread-local data (like dbus connections)
3848 2007-11-14 Alexander Larsson <alexl@redhat.com>
3850 * gio/fam/fam-helper.c:
3851 * gio/fam/gfamdirectorymonitor.c:
3852 * gio/fam/gfamfilemonitor.c:
3854 * gio/gcontenttype.c:
3855 * gio/gdatainputstream.c:
3856 * gio/gdataoutputstream.c:
3860 * gio/gfileattribute.h:
3861 * gio/gfileenumerator.c:
3863 * gio/ginputstream.c:
3866 * gio/glocalfileinfo.c:
3867 * gio/goutputstream.c:
3868 * gio/gpollfilemonitor.c:
3869 * gio/gsimpleasyncresult.c:
3870 * gio/gunixmounts.c:
3871 * gio/gunixmounts.h:
3872 * gio/inotify/ginotifydirectorymonitor.c:
3873 * gio/inotify/ginotifyfilemonitor.c:
3874 * gio/inotify/inotify-diag.c:
3875 * gio/inotify/inotify-kernel.c:
3876 * gio/inotify/inotify-path.c:
3878 * gio/test-streams.c:
3879 * programs/gio-info.c:
3880 * programs/gio-monitor-dir.c:
3881 * programs/gio-monitor-file.c:
3882 Various code cleanups from Kjartan Maraas
3884 2007-11-13 Alexander Larsson <alexl@redhat.com>
3887 Handle the uri-scheme calls for dummy files
3889 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3891 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3892 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3893 to avoid clash with the C++ keyword.
3895 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3897 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3898 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3900 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3902 * gio/glocaldirectorymonitor.c:
3903 * gio/glocalfilemonitor.c:
3904 * gio/gunionvolumemonitor.c:
3905 Don't use g_once_init_*() for initializations that could fail and
3906 could leave the initialization variable set to 0 but use GOnce.
3907 This prevents a deadlock on the second call when trying to create
3908 a monitor and no monitor type is available. Thanks to Sven Herzberg
3911 2007-11-11 Sven Herzberg <sven@imendio.com>
3913 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3914 #ifdef (make it work on MacOS X again)
3916 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3918 Fixes Changelog for last two commits (sorry guys).
3920 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3922 * gio/gbufferedinputstream.c:
3923 * gio/gdatainputstream.c:
3925 * gio/gfileoutputstream.c:
3926 * gio/gfilterinputstream.c:
3927 * gio/glocalfileinputstream.c:
3930 More consistency fixes in g*stream.c files.
3931 Significant clean of gfile's documentation, filling in of
3932 asynchronous operations documentation.
3934 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3936 * gio/gasyncresult.c:
3937 * gio/gbufferedinputstream.c:
3938 * gio/gbufferedoutputstream.c:
3939 * gio/gcancellable.c:
3940 * gio/gcontenttype.c:
3941 * gio/gdatainputstream.c:
3942 * gio/gdataoutputstream.c:
3943 * gio/gdesktopappinfo.c:
3946 * gio/gfileattribute.c:
3947 * gio/gio/gfileenumerator.c:
3949 * gio/gfileinputstream.c:
3950 * gio/gfilemonitor.c:
3951 * gio/gfileoutputstream.c:
3952 * gio/ginputstream.c:
3954 * gio/gioscheduler.c:
3955 * gio/gloadableicon.c:
3956 * gio/glocalfileoutputstream.c:
3957 * gio/gmemoryoutputstream.c:
3958 * gio/gmountoperation.c:
3959 * gio/goutputstream.c:
3961 * gio/gsimpleasyncresult.c:
3962 * gio/gunionvolumemonitor.c:
3963 * gio/gunixmounts.c:
3964 * gio/gunixvolume.c:
3968 * gio/gvolumemonitor.c:
3969 Updated documentation stubs, working towards consistency and
3972 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3974 * gio/gmemoryoutputstream.c:
3975 * gio/gmemoryoutputstream.h:
3976 Change g_memory_output_stream_set_free_on_close() to
3977 g_memory_output_stream_set_free_data() as this makes more sense and
3978 is more consistent with GMemoryInputStream.
3980 2007-11-07 Alexander Larsson <alexl@redhat.com>
3987 Change how we find the default vfs so that
3988 we can handle a gvfs failing to init
3990 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3992 * gio/gbufferedoutputstream.c:
3993 * gio/gdatainputstream.c:
3994 * gio/gdataoutputstream.c:
3995 * gio/gfileinputstream.c:
3996 * gio/gfileoutputstream.c:
3997 * gio/gfilterinputstream.c:
3998 * gio/gfilteroutputstream.c:
3999 * gio/ginputstream.c:
4000 * gio/gmemoryinputstream.c:
4001 * gio/gmemoryoutputstream.c:
4002 * gio/goutputstream.c:
4003 * gio/gsimpleasyncresult.c:
4004 * gio/gsocketinputstream.c:
4005 * gio/gsocketoutputstream.c:
4006 Add guards to the remaining public functions, add a TODO for
4007 an unimplemented function and remove some useless guards.
4009 2007-11-07 Alexander Larsson <alexl@redhat.com>
4012 Autoconf checks for the various types of
4013 getpwuid_r and getgrgid_r
4015 * gio/glocalfileinfo.c:
4016 Use the autoconf checks from above
4018 2007-11-07 Alexander Larsson <alexl@redhat.com>
4021 (g_local_file_query_filesystem_info):
4022 Some fixes for the statvfs case
4024 2007-11-07 Alexander Larsson <alexl@redhat.com>
4027 (g_local_file_query_filesystem_info):
4028 Pick the "best" of statfs / statvfs for the system
4029 if both are availible.
4031 2007-11-07 Alexander Larsson <alexl@redhat.com>
4033 Solaris fixes from Halton.Huo@Sun.COM:
4040 * gio/glocalfileinfo.c:
4041 Fix for solaris definition of getpwuid_r
4043 * gio/test-streams.c:
4044 Use G_GNUC_PRETTY_FUNCTION
4046 2007-11-07 Alexander Larsson <alexl@redhat.com>
4048 * gio/gdesktopappinfo.c:
4049 (update_default_list):
4050 Remove double semicolon.
4051 Patch from Jens Granseuer
4053 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4055 * docs/reference/gio/gio-sections.txt:
4056 * gio/gbufferedinputstream.c:
4057 * gio/gbufferedinputstream.h:
4058 * gio/gdatainputstream.c:
4059 * gio/gfileenumerator.c:
4060 * gio/gioscheduler.c:
4061 * gio/gunionvolumemonitor.c:
4063 * programs/gio-save.c:
4064 Fix typo: availible -> available. Unfortuntely this breaks API
4065 and ABI as g_buffered_input_stream_get_available() was renamed.
4067 * gio/gunixmounts.c:
4068 * gio/gbufferedinputstream.c:
4069 Add guards for public functions.
4071 2007-11-06 Ross Burton <ross@openedhand.com>
4073 * docs/reference/gio/Makefile.am:
4074 Fix invalid += usage which automake 1.10 doesn't like.
4076 2007-11-06 Alexander Larsson <alexl@redhat.com>
4079 (g_app_launch_context_class_init):
4082 Patch from Ross Burton
4084 2007-11-06 Alexander Larsson <alexl@redhat.com>
4087 Post release version bump
4089 === gio-standalone 0.1.1 ===
4091 2007-11-06 Alexander Larsson <alexl@redhat.com>
4094 Bump version to 0.1.1
4096 * gio/gsimpleasyncresult.c:
4097 (g_simple_async_result_set_from_error):
4098 Remove bogus g_return_if_fail
4100 2007-11-06 Alexander Larsson <alexl@redhat.com>
4103 The name is gio-standalone
4106 Add top src/builddir to includedir
4108 2007-11-06 Alexander Larsson <alexl@redhat.com>
4110 * docs/reference/gio/gio-sections.txt:
4112 * gio/gbufferedinputstream.c:
4113 * gio/gbufferedoutputstream.c:
4114 * gio/gcancellable.c:
4115 * gio/gdatainputstream.h:
4116 * gio/gdataoutputstream.c:
4117 * gio/gdataoutputstream.h:
4118 * gio/gdirectorymonitor.c:
4120 * gio/gfileattribute.c:
4121 * gio/gfileattribute.h:
4122 * gio/gfileenumerator.c:
4123 * gio/gfileenumerator.h:
4126 * gio/gfileinputstream.h:
4127 * gio/gfilemonitor.c:
4128 * gio/gfileoutputstream.h:
4129 * gio/glocalfilemonitor.h:
4130 * gio/glocalfileoutputstream.h:
4131 * gio/gmemoryinputstream.c:
4132 * gio/gmemoryoutputstream.c:
4133 * gio/gmountoperation.c:
4134 * gio/goutputstream.c:
4135 * gio/goutputstream.h:
4137 * gio/gsimpleasyncresult.c:
4138 * gio/gunixmounts.c:
4139 * gio/gunixmounts.h:
4141 * gio/inotify/inotify-helper.c:
4142 Fix gtk-doc warnings
4144 Patch from Ross Burton
4146 2007-11-06 Alexander Larsson <alexl@redhat.com>
4148 * gio/gfilenamecompleter.c:
4149 (g_filename_completer_get_completions):
4152 * gio/gunixvolume.c:
4153 Remove unused function
4155 Patches from Ross Burton
4157 2007-11-06 Alexander Larsson <alexl@redhat.com>
4162 Padding not needed for interfaces
4164 2007-11-06 Alexander Larsson <alexl@redhat.com>
4166 * gio/gfilemonitor.c:
4170 Make giotypes.h an internal file
4173 * gio/gbufferedinputstream.h:
4174 * gio/gbufferedoutputstream.h:
4175 * gio/gcancellable.h:
4176 * gio/gdatainputstream.h:
4177 * gio/gdataoutputstream.h:
4178 * gio/gdirectorymonitor.c:
4179 * gio/gdirectorymonitor.h:
4184 * gio/gfileattribute.h:
4185 * gio/gfileenumerator.h:
4190 * gio/gfilemonitor.c:
4191 * gio/gfilemonitor.h:
4192 * gio/gfilenamecompleter.c:
4193 * gio/gfilenamecompleter.h:
4194 * gio/gfilterinputstream.h:
4195 * gio/gfilteroutputstream.h:
4196 * gio/ginputstream.h:
4197 * gio/gmemoryinputstream.h:
4198 * gio/gmemoryoutputstream.h:
4199 * gio/gmountoperation.c:
4200 * gio/gmountoperation.h:
4201 * gio/gnativevolumemonitor.c:
4202 * gio/goutputstream.h:
4205 * gio/gsimpleasyncresult.c:
4206 * gio/gsimpleasyncresult.h:
4207 * gio/gsocketinputstream.h:
4208 * gio/gsocketoutputstream.h:
4209 * gio/gthemedicon.c:
4210 * gio/gthemedicon.h:
4214 * gio/gvolumemonitor.c:
4215 * gio/gvolumemonitor.h:
4216 Add padding in classes where it seems useful
4217 Don't include giotypes.h from public headers
4218 Move in Class definitions into c file where possible
4223 2007-11-06 Alexander Larsson <alexl@redhat.com>
4225 * docs/reference/gio/gio-docs.xml:
4226 Better structure for API docs
4228 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4231 * gio/gloadableicon.c:
4232 * gio/gsimpleasyncresult.c:
4233 * gio/gthemedicon.c:
4234 Add some more guards to public functions. Only files missing are now
4237 2007-11-06 Alexander Larsson <alexl@redhat.com>
4239 * docs/reference/gio/gio-docs.xml:
4240 Remove old files, add missing ones
4242 2007-11-06 Alexander Larsson <alexl@redhat.com>
4244 * docs/reference/gio/gio-sections.txt:
4247 Hide implementation classes
4249 * gio/gdriveprivate.h:
4250 * gio/gvolumeprivate.h:
4251 Remove non-existing function declarations
4253 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4256 Fix compilation warnings and add guards to the new functions.
4258 * gio/gasyncresult.c:
4260 Add guards to the public functions.
4263 Implement get_path().
4265 2007-11-06 Alexander Larsson <alexl@redhat.com>
4267 * gio/gfilenamecompleter.c:
4268 Make g_filename_completer_get_completions
4269 return char ** instead of GList for
4272 * docs/reference/gio/gio-docs.xml:
4273 * docs/reference/gio/gio-sections.txt:
4275 * gio/gasyncresult.c:
4276 * gio/gbufferedinputstream.c:
4277 * gio/gbufferedoutputstream.c:
4278 * gio/gcancellable.c:
4279 * gio/gcontenttype.c:
4280 * gio/gdatainputstream.c:
4281 * gio/gdataoutputstream.c:
4282 * gio/gdesktopappinfo.c:
4283 * gio/gdirectorymonitor.c:
4287 * gio/gfileattribute.c:
4288 * gio/gfileenumerator.c:
4291 * gio/gfileinputstream.c:
4292 * gio/gfilemonitor.c:
4293 * gio/gfilenamecompleter.c:
4294 * gio/gfilenamecompleter.h:
4295 * gio/gfileoutputstream.c:
4296 * gio/gfilterinputstream.c:
4298 * gio/ginputstream.c:
4300 * gio/gioscheduler.c:
4301 * gio/gloadableicon.c:
4302 * gio/glocaldirectorymonitor.c:
4304 * gio/glocalfileinputstream.c:
4305 * gio/glocalfilemonitor.c:
4306 * gio/glocalfileoutputstream.c:
4308 * gio/gmemoryinputstream.c:
4309 * gio/gmemoryoutputstream.c:
4310 * gio/gmountoperation.c:
4311 * gio/goutputstream.c:
4312 * gio/gpollfilemonitor.c:
4314 * gio/gsimpleasyncresult.c:
4315 * gio/gsocketinputstream.c:
4316 * gio/gsocketoutputstream.c:
4317 * gio/gthemedicon.c:
4318 * gio/gunionvolumemonitor.c:
4320 * gio/gunixmounts.c:
4321 * gio/gunixvolume.c:
4322 * gio/gunixvolumemonitor.c:
4326 * gio/gvolumemonitor.c:
4327 * gio/gwin32appinfo.c:
4328 Add (mostly stub) doc strings to public functions.
4329 Patch from Andrew Walton (awalton@gmail.com)
4331 2007-11-06 Alexander Larsson <alexl@redhat.com>
4333 * gio/gappinfo.[ch]:
4334 Added GAppLaunchContext object and pass that to launch.
4335 This allows simple implementation of both
4336 launch-on-screen and startup notification via a gtk+
4337 subclass of GAppLaunchContext
4339 * gio/gdesktopappinfo.c:
4340 Implement GAppLaunchContext API
4342 * gio/gwin32appinfo.c:
4345 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4347 * gio/gmountoperation.c:
4348 Add some guards to GMountOperation's public functions.
4350 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4354 * gio/gcancellable.c:
4355 * gio/gdirectorymonitor.c:
4357 * gio/gfileenumerator.c:
4358 * gio/gfilemonitor.c:,
4359 * gio/gfilenamecompleter.c:
4362 * gio/gioscheduler.c:
4366 * gio/gvolumemonitor.c:
4367 Add even more guards to various public functions.
4369 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4372 Add guards to the public functions of GAppInfo.
4374 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4376 * gio/gcontenttype.c:
4377 Add some more guards for public functions.
4379 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4381 * gio/fam/fam-module.c:
4382 * gio/fam/gfamdirectorymonitor.c:
4383 * gio/fam/gfamdirectorymonitor.h:
4384 * gio/fam/gfamfilemonitor.c:
4385 * gio/fam/gfamfilemonitor.h:
4386 * gio/inotify/ginotifydirectorymonitor.c:
4387 * gio/inotify/ginotifydirectorymonitor.h:
4388 * gio/inotify/ginotifyfilemonitor.c:
4389 * gio/inotify/ginotifyfilemonitor.h:
4390 Add proper copyright information and remove an unused variable
4391 in the GInotifyFileMonitor constructor.
4393 * gio/gcancellable.c:
4394 Add a guard for a public function and an assertion to prevent
4395 an undefined program state.
4397 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4399 * gio/gfileattribute.c:
4400 Don't run into an assertion if the given attribute value is NULL
4401 in g_file_attribute_value_get_*() but instead return a fallback
4402 value that makes sense in most situations. Passing them a attribute
4403 value with the wrong type will still run into an assertion.
4405 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4407 * gio/gfileattribute.c:
4409 Add even more guards to the public functions. Also fix the refcounting
4410 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4411 let g_file_info_list_attributes() filter the attributes by namespace
4412 instead of simply ignoring the namespace parameter.
4414 2007-11-03 Sven Herzberg <sven@imendio.com>
4416 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4417 (This makes gio work on MacOS X again)
4419 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4422 Build the gio subdirectory before the docs. Otherwise the build will
4425 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4426 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4427 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4428 Add guards to the public functions.
4430 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4432 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4433 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4434 to prevent a compiler warning.
4436 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4437 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4438 return something in the non-void function find_topdir_for().
4440 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4447 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4449 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4450 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4451 * gwin32appinfo.c (g_win32_app_info_launch):
4452 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4453 envp_for_startup_id, g_desktop_app_info_launch,
4454 g_desktop_app_info_launch_uris):
4456 Give an opaque 'startup_id' string instead of 'envp'.
4457 Support empty file lists for launching new windows.
4458 Fix infinite recursion bug when launching URIs.
4460 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4463 Add guard to the new g_file_get_uri_scheme() function.
4465 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4468 Convert a g_return_val_if_fail() to setting the GError instead as
4469 otherwise applications have to verify the parameter before otherwise
4470 and the parameter might come directly from the user.
4472 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4474 * gio/inotify/ginotify*.[ch]:
4475 Add missing copyright information.
4477 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4480 Add guards in the beginning of public functions to check for valid
4481 parameters and fix a bug in copy_stream_with_progress() that could've
4482 caused writing less bytes than reading.
4483 * gio/glocalfileinfo.c:
4484 Check for a NULL parameter and set the GError accordingly then.
4485 * gio/goutputstream.c:
4486 Fix the same bug as in gfile.c that could've caused writing less bytes
4487 than reading in g_output_stream_real_splice().
4489 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4492 Use the correct gvolumeprivate.h naming
4494 2007-11-01 Christian Kellner <gicmo@gnome.org>
4497 Remove leftover "$(daemon_sources)" entry.
4499 2007-11-01 Christian Kellner <gicmo@gnome.org>
4504 Add copyright information to source files.
4506 2007-11-01 Alexander Larsson <alexl@redhat.com>
4510 Add g_file_get_uri_scheme
4512 2007-11-01 Alexander Larsson <alexl@redhat.com>
4515 * gio/gdesktopappinfo.c:
4516 * gio/gwin32appinfo.c:
4517 Add g_app_info_get_default_for_uri_scheme.
4519 2007-11-01 Alexander Larsson <alexl@redhat.com>
4522 Correct filename for gdriveprivate.h
4524 2007-10-31 Alexander Larsson <alexl@redhat.com>
4527 Rename id:value to id:file
4530 * gio/glocalfileinfo.c:
4533 2007-10-31 Alexander Larsson <alexl@redhat.com>
4535 * gio/gunixvolume.c:
4537 Remove g_volume_get_platform_id, as thats not
4538 needed with the simpler union volume monitor
4540 2007-10-31 Alexander Larsson <alexl@redhat.com>
4543 * gio/guniondrive.[ch]: Removed.
4544 * gio/gunionvolume.[ch]: Removed.
4545 Remove GUnionDrive/Volume
4547 * gio/gunionvolumemonitor.c:
4548 Simplify union volume monitor, now we
4549 only have one native volume monitor and
4550 we use the actual volumes/drives from the
4551 child monitors instead of wrapping them
4553 * gio/gnativevolumemonitor.[ch]:
4554 Base class for native volume monitors.
4555 Includes priority and get_volume_for_mountpoint
4558 Add g_file_find_enclosing_volume
4561 Remove volume name fs attribute
4562 Add readonly fs attribute
4565 Implement readonly attribute
4566 remove volume name attribute
4567 Implement find_enclosing volume
4569 * gio/gunixmounts.c:
4570 Add a volume for "/".
4572 * gio/gunixvolume.[ch]:
4573 Set better name for /
4575 * gio/gunixvolumemonitor.[ch]:
4576 Derive from GNativeVolumeMonitor
4577 Implement get_volume_for_mountpoint
4580 GVolume typedef moved to gfile.h
4582 * gio/gvolumeprivate.h:
4583 Add g_volume_get_for_mount_path
4585 2007-10-31 Alexander Larsson <alexl@redhat.com>
4587 * gio/gunixmounts.[ch]:
4588 Add cache info to unix mount listers
4589 Make getmntent use threadsafe
4590 Add is_system_internal attribute for GUnixMount
4592 * gio/gunixvolume.c:
4593 (g_unix_volume_new):
4594 Use is_system_internal instead of own code
4596 * gio/glocaldirectorymonitor.c:
4597 * gio/gunixvolumemonitor.c:
4598 Update to new gunixmounts API
4603 2007-10-30 Alexander Larsson <alexl@redhat.com>
4606 Add volume name fsinfo attribute
4609 Read volume name info
4611 * gio/gunionvolumemonitor.c:
4612 Fix infinite loops when finalizing a union volume monitor
4614 2007-10-30 Alexander Larsson <alexl@redhat.com>
4616 * gio/goutputstream.[ch]:
4617 Add splice() with default implementation
4619 * gio/gsocketoutputstream.c:
4620 (g_socket_output_stream_write):
4621 Return error on cancellation correctly.
4623 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4625 * gio/glocalfile.c (g_local_file_trash):
4626 Do not leak a string.
4628 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4630 * gio/gfile.c (g_file_load_contents):
4631 Unref the stream after closing it.
4633 2007-10-25 Alexander Larsson <alexl@redhat.com>
4635 * gio/gioscheduler.h:
4638 2007-10-25 Alexander Larsson <alexl@redhat.com>
4642 Add g_file_has_uri_scheme and implement for local files
4644 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4646 * gio/gdesktopappinfo.c: do not leak a string.
4648 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4650 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4651 (g_local_directory_monitor_new):
4652 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4653 (g_local_file_monitor_new):
4654 Only look for the monitor type that should be used the first time
4655 and use g_qsort_with_data() instead of our own bubble sort
4658 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4661 * gio/fam/Makefile.am:
4662 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4663 * gio/fam/fam-helper.h:
4664 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4665 * gio/fam/gfamdirectorymonitor.c:
4666 * gio/fam/gfamdirectorymonitor.h:
4667 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4668 * gio/fam/gfamfilemonitor.h:
4669 * gio/glocaldirectorymonitor.c:
4670 * gio/glocaldirectorymonitor.h:
4671 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4672 * gio/glocalfilemonitor.h:
4673 * gio/inotify/Makefile.am:
4674 * gio/inotify/ginotifydirectorymonitor.c:
4675 * gio/inotify/ginotifydirectorymonitor.h:
4676 * gio/inotify/ginotifyfilemonitor.c:
4677 * gio/inotify/ginotifyfilemonitor.h:
4678 Implement the FAM and Inotify monitors as
4679 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4680 their own GIO module. GLocal(Directory|File)Monitor will use the
4681 monitor with the highest rank that is supported on that machine.
4683 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4686 Change GIO module dir to $(libdir)/gio/modules and change
4687 the log domain from GVFS to GIO. Also only export symbols starting
4688 with g_ in the resulting library.
4689 * gio/test-streams.c: (main):
4690 Set log handler for the GIO log domain.
4692 2007-10-22 Alexander Larsson <alexl@redhat.com>
4694 * gio/gfilenamecompleter.[ch]:
4695 Add g_filename_completer_set_dirs_only
4697 2007-10-22 Alexander Larsson <alexl@redhat.com>
4700 * gio/gurifuncs.[ch]:
4701 Add some simple URI helpers
4703 * gio/gfilenamecompleter.[ch]:
4704 Added object for filename (parse name actually) completion
4707 Handle ~ in parse names
4709 2007-10-17 Alexander Larsson <alexl@redhat.com>
4712 * gio/glocalfileinfo.c:
4713 Add and implement id:value attribute
4715 2007-10-17 Alexander Larsson <alexl@redhat.com>
4718 * gio/guniondrive.c:
4720 Add and implement g_drive_has_volumes
4722 2007-10-17 Alexander Larsson <alexl@redhat.com>
4725 * gio/glocalfileinfo.[ch]:
4726 Add unix:is_mountpoint and implement for local files
4728 2007-10-16 Alexander Larsson <alexl@redhat.com>
4730 * gio/gunionvolumemonitor.c:
4731 (g_union_volume_monitor_init):
4732 Fix up the unix type getting so that it works with gcc
4734 2007-10-12 Alexander Larsson <alexl@redhat.com>
4737 * gio/glocalfileinfo.c:
4738 Add thumbnail:failed to file info
4740 2007-10-12 Richard Hult <richard@imendio.com>
4742 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4743 optimizing away the get_type call (happens with some gcc versions,
4744 like the one shipped with OS X 10.4).
4746 2007-10-12 Alexander Larsson <alexl@redhat.com>
4748 * gio/glocalfileinfo.c:
4749 (_g_local_file_info_set_attribute):
4750 Fix build if not HAVE_XATTR
4751 Patch from Milosz Derezynski <internalerror@gmail.com>
4753 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4755 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4756 around for review, otherwise I would have asked you before
4759 2007-10-11 Alexander Larsson <alexl@redhat.com>
4762 Add thumbnail:path attribute
4764 * gio/glocalfileinfo.c:
4765 Implement thumbnail:path for local files
4767 2007-10-11 Alexander Larsson <alexl@redhat.com>
4769 * gio/glocalfileinfo.c:
4770 (_g_local_file_info_get):
4771 Avoid duplicate icon names
4773 2007-10-11 Alexander Larsson <alexl@redhat.com>
4775 * gio/gthemedicon.[ch]:
4776 Change g_themed_icon_get_names return type to const
4778 2007-10-10 Alexander Larsson <alexl@redhat.com>
4780 * gio/glocalfileinfo.c:
4781 Don't reference freed memory
4783 2007-10-10 Alexander Larsson <alexl@redhat.com>
4785 * gio/gfileattribute.c:
4788 * gio/glocalfileinfo.c:
4791 2007-10-10 Alexander Larsson <alexl@redhat.com>
4794 Check for NULL icons
4796 * gio/gfileattribute.c:
4797 Don't dup when getting objects (same as for string attributes)
4799 * gio/gicon.c (g_icon_equal):
4800 Safely handle NULLs in equal
4802 2007-10-10 Alexander Larsson <alexl@redhat.com>
4805 Fix c++ compilation issues
4806 Patch from Milosz Derezynski <internalerror@gmail.com>
4808 2007-10-10 Alexander Larsson <alexl@redhat.com>
4810 * programs/gio-monitor-dir.c:
4811 Don't crash if dir monitor not supported.
4813 2007-10-09 Alexander Larsson <alexl@redhat.com>
4816 Add missing G_END_DECLS
4818 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4820 * gio/gfile.c: (g_file_set_display_name),
4821 (g_file_query_settable_attributes),
4822 (g_file_query_writable_namespaces):
4823 Return NULL not FALSE on errors as the return type is a pointer.
4825 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4827 * gio/glocalfile.c: (g_local_file_monitor_file):
4828 Don't call monitor_file on the default interface vtable (which
4829 is NULL) but simply return NULL. The caller, GFile, will create a
4830 polling monitor if NULL is returned.
4832 2007-10-09 Alexander Larsson <alexl@redhat.com>
4836 * gio-unix-2.0.pc.in:
4837 Add gio-unix-2.0.pc if OS_UNIX
4840 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4842 2007-10-09 Alexander Larsson <alexl@redhat.com>
4844 * gio/gunixmounts.[ch]:
4845 Make unix mount monitoring API sane.
4846 Now its just a object with mounts_changed
4847 and mountpoints_changed signals.
4849 * gio/glocaldirectorymonitor.c:
4850 * gio/gunixvolumemonitor.c:
4851 Use new mount monitor api
4853 2007-10-09 Alexander Larsson <alexl@redhat.com>
4855 * gio/gunixmounts.[ch]:
4856 Move guess type into one call for mounts and one for mountpoints
4859 * gio/gunixvolume.c:
4862 2007-10-09 Alexander Larsson <alexl@redhat.com>
4864 * gio/gunixmounts.[ch]:
4865 Remove _ prefix in preparation to make this semi-public
4866 Hide implementation of structs
4868 * gio/glocaldirectorymonitor.c:
4870 * gio/gunixvolume.c:
4871 * gio/gunixvolumemonitor.c:
4872 Update for above API changes
4874 2007-10-08 Alexander Larsson <alexl@redhat.com>
4877 Better polling fallback. This also handles the case where we have
4878 a monitor_file implementation, but it fails.
4880 2007-10-08 Alexander Larsson <alexl@redhat.com>
4884 * gio/gunixmounts.c:
4885 * programs/gio-monitor-dir.c:
4886 * programs/gio-monitor-file.c:
4887 Added cancellable to file monitoring calls.
4888 These are really sync calls and need this.
4890 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4892 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4893 (g_local_vfs_class_init):
4894 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4895 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4897 2007-10-05 Alexander Larsson <alexl@redhat.com>
4899 * gio/gdirectorymonitorprivate.h:
4900 * gio/gfilemonitorprivate.h:
4901 * gio/gdirectorymonitor.h:
4902 * gio/gfilemonitor.h:
4903 Remove *private.h and move to the public API, so that
4904 we can do implementations outside gio (such as in gvfs)
4906 * gio/gdirectorymonitor.c:
4907 * gio/gfilemonitor.c:
4908 * gio/glocaldirectorymonitor.c:
4909 * gio/gpollfilemonitor.c:
4910 * gio/inotify/inotify-helper.c:
4911 * gio/fam/fam-helper.c:
4912 Update to the new header names
4914 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4916 * gio/gdirectorymonitor.c:
4917 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4920 2007-10-04 Alexander Larsson <alexl@redhat.com>
4922 * gio/glocalfileinfo.c (get_access_rights):
4923 Set CAN_TRASH when we can move the file.
4924 We should really also check for a parent trash dir.
4926 2007-10-04 Alexander Larsson <alexl@redhat.com>
4928 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4929 Add can_trash access attribute
4931 2007-10-04 Alexander Larsson <alexl@redhat.com>
4934 (g_local_file_trash):
4935 Create info file first. This is per-spec and allows
4936 us to actually trash directories.
4938 2007-10-02 Alexander Larsson <alexl@redhat.com>
4940 * gio/gdesktopappinfo.c:
4941 Implement the new mime support code.
4942 Always set app as handling mimetype when being set as default for it
4944 2007-10-01 Alexander Larsson <alexl@redhat.com>
4946 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4947 Fix up check for xattrs:
4949 2007-10-01 Alexander Larsson <alexl@redhat.com>
4952 (g_app_info_set_as_default_for_extension):
4953 (g_app_info_add_supports_type):
4954 (g_app_info_can_remove_supports_type):
4955 (g_app_info_remove_supports_type):
4956 Make these fail nicely if not implemented
4958 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4960 * gio/glocalfileoutputstream.c:
4961 * gio/glocalfileoutputstream.h:
4966 * programs/gio-save.c:
4967 Add a GFileCreateFlags argument to operations that can create
4970 2007-10-01 Alexander Larsson <alexl@redhat.com>
4972 * gio/gappinfo.[ch]:
4973 * gio/gdesktopappinfo.c:
4974 Add more (stubbed out) mime API needed for nautilus
4976 2007-10-01 Alexander Larsson <alexl@redhat.com>
4979 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4980 Add g_app_info_set_as_default_for_extension.
4982 * gio/gdesktopappinfo.c:
4983 Dummy for g_app_info_set_as_default_for_extension
4984 Support flags in g_app_info_create_from_commandline
4986 * gio/gwin32appinfo.c:
4988 Update for API changes
4990 * gio/gthemedicon.c:
4991 Properly NULL-terminate list of icon names
4993 2007-09-28 Alexander Larsson <alexl@redhat.com>
4995 * gio/gloadableicon.h:
4996 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4998 2007-09-28 Alexander Larsson <alexl@redhat.com>
5001 Install headers in $includedir/gio-standalone/
5003 * gio-2.0.pc.in: Added.
5004 * gio-standalone.pc.in: Removed.
5007 Renamed pkg-config file to match glib (for future move)
5008 Update to the new include dir
5011 Add more TODO comments
5013 2007-09-28 Alexander Larsson <alexl@redhat.com>
5015 * gio/gdesktopappinfo.[ch]:
5016 Expose new_from_filename
5017 Add getter for is_hidden and handle it better
5019 2007-09-28 Alexander Larsson <alexl@redhat.com>
5021 * gio/gfileinfo.[ch]:
5022 Rename g_file_size_format_for_display to
5023 g_format_file_size_for_display.
5024 Now it doesn't have the g_file prefix, so we
5025 can later move it to glib.
5027 2007-09-28 Alexander Larsson <alexl@redhat.com>
5029 * gio/gappinfo.[ch]:
5030 Add g_app_info_get_id and g_app_info_get_executable.
5031 Make all getters non-reffing
5032 Make g_app_info_launch take GFile arguments.
5033 Add must_support_uris argument to g_app_info_get_default_for_type.
5035 * gio/gwin32appinfo.c:
5036 Update to GAppInfo api changes
5038 * gio/gdesktopappinfo.c:
5039 Update to GAppInfo api changes
5040 Implement supports_xdg_startup_notify
5042 * gio/gfileicon.c (g_file_icon_get_file):
5043 Make getter non-reffing.
5048 2007-09-27 Alexander Larsson <alexl@redhat.com>
5050 * gio/gfileinfo.[ch]:
5051 Add g_file_size_format_for_display helper
5053 2007-09-27 Alexander Larsson <alexl@redhat.com>
5055 * gio/glocalfileinfo.c:
5056 Set UNIX_GID from gid, not from uid
5058 2007-09-27 Alexander Larsson <alexl@redhat.com>
5061 Add g_file_set_attributes_async
5063 2007-09-27 Alexander Larsson <alexl@redhat.com>
5065 * gio/glocalfile.c (g_local_file_set_display_name):
5066 Fix set_display_name to actually rename to the right place.
5067 Use lstat to look for existing files so we don't overwrite
5070 2007-09-26 Alexander Larsson <alexl@redhat.com>
5073 Add g_file_set_display_name_async()
5075 2007-09-26 Alexander Larsson <alexl@redhat.com>
5078 Add load_partial_contents async calls
5081 Make internal function static
5083 2007-09-26 Alexander Larsson <alexl@redhat.com>
5085 * gio/glocalfileinfo.c:
5086 Correctly detect broken symlinks
5088 2007-09-26 Alexander Larsson <alexl@redhat.com>
5090 * gio/gcancellable.c (g_cancellable_cancel):
5091 Allow cancel on NULL cancellable
5093 2007-09-25 Alexander Larsson <alexl@redhat.com>
5095 * gio/gsimpleasyncresult.c:
5096 Don't allocate g_error manually.
5097 Fixes g_slice/g_new mixup crash
5099 2007-09-25 Alexander Larsson <alexl@redhat.com>
5101 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5102 Actually set active_backend.
5103 This means the monitor will be cancelled correctly.
5105 2007-09-25 Alexander Larsson <alexl@redhat.com>
5107 * gio/gdirectorymonitor.c:
5108 Set timeout to NULL when destroying
5110 2007-09-25 Alexander Larsson <alexl@redhat.com>
5113 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5114 that is a better description of the error.
5116 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5118 * gio/gvfs.c: (g_vfs_get_local):
5119 Make the local vfs variable static. The same instance should
5122 2007-09-24 Alexander Larsson <alexl@redhat.com>
5124 * gio/glocalfileinfo.c:
5125 Pass in actual length read into sniffer, not the length
5128 2007-09-21 Alexander Larsson <alexl@redhat.com>
5130 * gio/gfileenumerator.c:
5133 * gio/gfileinputstream.c:
5134 * gio/gfileoutputstream.c:
5135 * gio/ginputstream.c:
5136 * gio/goutputstream.c:
5137 Don't crash if async callbacks are NULL
5139 2007-09-20 Alexander Larsson <alexl@redhat.com>
5142 Add async enumerate_children method and default
5145 2007-09-20 Alexander Larsson <alexl@redhat.com>
5148 Add g_file_contains_file & g_file_get_relative_path, since they
5149 were needed for nautilus.
5150 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5155 Implement new methods
5157 2007-09-17 Alexander Larsson <alexl@redhat.com>
5160 * gio/gfileinputstream.[ch]:
5161 * gio/gfileoutputstream.[ch]:
5163 * gio/glocalfileenumerator.[ch]:
5164 * gio/glocalfileinfo.[ch]:
5165 * gio/glocalfileinputstream.c:
5166 * gio/glocalfileoutputstream.c:
5167 * gio/gpollfilemonitor.c:
5168 * programs/gio-copy.c:
5169 * programs/gio-info.c:
5170 * programs/gio-move.c:
5171 Rename get_file_info to query_info() to make it clearer
5172 that these are not simple getters, but do i/o.
5174 2007-09-17 Alexander Larsson <alexl@redhat.com>
5176 * gio/gdatainputstream.[ch]:
5177 * gio/test-streams.c:
5178 Use _read_XXX instead of _get_XXX for the i/o calls
5181 2007-09-17 Alexander Larsson <alexl@redhat.com>
5184 Added needed stuff to TODO comment
5186 2007-09-17 Alexander Larsson <alexl@redhat.com>
5188 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5189 Don't error out removing the backup copy if it doesn't
5192 2007-09-14 Alexander Larsson <alexl@redhat.com>
5194 * programs/Makefile.am:
5195 * programs/gvfs-*.c:
5197 Renamed apps from gvfs-xxx to gio-xxx.
5199 2007-09-14 Alexander Larsson <alexl@redhat.com>
5202 * gio/gfileoutputstream.[ch]:
5203 * gio/glocalfileoutputstream.c:
5204 * programs/gvfs-save.c:
5205 g_file_output_stream_get_etag doesn't do i/o, so remove
5206 cancellation and error.
5208 2007-09-14 Alexander Larsson <alexl@redhat.com>
5211 Add new_etag output to replace_contents functions
5213 2007-09-14 Alexander Larsson <alexl@redhat.com>
5215 * gio/gfileoutputstream.[ch]:
5216 Add async get_file_info and default implementation
5218 2007-09-14 Alexander Larsson <alexl@redhat.com>
5220 * gio/gfileinputstream.c:
5221 Implement fallback wrapper for async get_file_info
5223 2007-09-14 Alexander Larsson <alexl@redhat.com>
5226 Add etag out argument to load_contents
5231 2007-09-14 Alexander Larsson <alexl@redhat.com>
5233 * gio/gcontenttype.c (looks_like_text):
5234 Whitespace like tab, cr and lf do not make the
5237 2007-09-14 Alexander Larsson <alexl@redhat.com>
5239 * gio/gfileinputstream.[ch]:
5240 Add async get_file_info.
5242 2007-09-13 Alexander Larsson <alexl@redhat.com>
5244 * gio/goutputstream.c (g_output_stream_write_all):
5245 Allow NULL for bytes_written
5247 2007-09-13 Alexander Larsson <alexl@redhat.com>
5249 * gio/gmemoryinputstream.[ch]:
5250 Add accessors for data
5252 2007-09-13 Alexander Larsson <alexl@redhat.com>
5254 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5255 Don't crash if length is NULL