1 2008-08-13 Tor Lillqvist <tml@novell.com>
3 * win32/gwinhttpfileoutputstream.c
4 (g_winhttp_file_output_stream_write): Don't write the
5 Content-Length header ourselves, WinHttpSendRequest() takes care
6 of that when the dwTotalLength parameter is non-zero. Increment
7 offset by the number of actual bytes sent, although I wonder if
8 such a scenario is possible where less than requested would be
9 sent and accepted by the server without errors.
11 2008-08-13 Tor Lillqvist <tml@novell.com>
15 * win32/gwinhttpfile.c
16 * win32/gwinhttpfile.h
17 * win32/gwinhttpfileinputstream.c
18 * win32/gwinhttpfileinputstream.h
19 * win32/gwinhttpfileoutputstream.c
20 * win32/gwinhttpfileoutputstream.h: New files implementing
21 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
22 Windows. The implementation uses the WinHttp API. Both reading and
23 writing are supported, i.e. GET and PUT requests. When writing,
24 each write call is done using a separate PUT request with a
25 Content-Range header. Requests for file URIs and plain pathnames
26 are forwarded to GLocalVfs.
28 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
29 WINE. Used as there is no <winhttp.h> bundled with mingw, and
30 requiring people to download the Windows SDK just for this one
31 header is not reasonable.
33 * win32/Makefile.am: Add above files.
35 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
36 the plumbing for the above.
38 2008-08-11 Sven Neumann <sven@gimp.org>
40 * gfilenamecompleter.c
41 * glocaldirectorymonitor.c
43 * gunionvolumemonitor.c
47 * gunixvolumemonitor.c
50 * gwin32volumemonitor.c: use canonical signal names.
52 2008-08-11 Tor Lillqvist <tml@novell.com>
54 * Makefile.am: Put a list of the platform-dependent .la files in
55 the subdirectories in the platform_deps Make variable, and make
56 libgio-2.0.la depend on that, so that it gets relinked if one of
57 the dependent libraries has changed.
59 2008-08-11 Tor Lillqvist <tml@novell.com>
61 * Makefile.am (platform_libadd): Remove -lwininet which had been
62 added by mistake. We will probably eventually be using WinHTTP,
63 not the older WinInet anyway. (Actually I am working on it.)
65 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
67 Bug 547080 – g_file_copy leaks expected errors
69 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
70 before trying the next fallback routine.
72 2008-08-09 Loïc Minier <lool@dooz.org>
74 Bug 535124 – umask 002 not being applied for new directories, new
75 files get the correct umask
77 * gfile.c (g_file_make_directory)
78 (g_file_make_directory_with_parents): Document ownership and
79 permissions of newly created directories as being the default
82 2008-08-08 Loïc Minier <lool@dooz.org>
84 Bug 535124 – umask 002 not being applied for new directories, new
85 files get the correct umask
87 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
90 2008-08-08 Tor Lillqvist <tml@novell.com>
92 * gwin32mount.c: Remove unused code. Whitespace cleanup.
94 * gwin32volumemonitor.c (get_connected_drives): Put questionable
95 code that didn't actually do anything inside #if 0, and add a
96 comment wondering what the code was supposed to do. This also gets
97 rid of a leftover debugging printout.
99 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
101 * gfileicon.c (g_file_icon_get_property)
102 (g_file_icon_set_property): New functions.
103 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
105 (g_file_icon_new): Use the property (bug #546132).
107 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
109 * gthemedicon.c (g_themed_icon_get_property): Also handle
110 `PROP_USE_DEFAULT_FALLBACKS'.
111 (g_themed_icon_class_init): Make
112 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
114 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
116 Bug 546371 – Improve docs re g_file_monitor
118 * gfilemonitor.c: Mention g_file_monitor() in the docs.
120 2008-08-04 Matthias Clasen <mclasen@redhat.com>
122 * === Released 2.17.6 ===
124 2008-08-04 Matthias Clasen <mclasen@redhat.com>
126 * === Released 2.17.5 ===
128 2008-08-04 Matthias Clasen <mclasen@redhat.com>
130 Bug 546017 – Don't copy attributes when copying a symlink
132 * gfile.c (g_file_copy_attributes): Specify
133 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
134 g_file_set_attributes_from_info. Patch by Christian Kellner
136 2008-08-04 Matthias Clasen <mclasen@redhat.com>
138 * gemblemedicon.[hc]:
140 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
141 a bit more extensible. Work by Clemens Buss.
143 * gioenums.h: Add GEmblemOrigin.
146 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
148 Bug 546079 – leak in xdgmime
150 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
152 2008-08-03 Tor Lillqvist <tml@novell.com>
154 * win32/gwin32directorymonitor.h
155 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
158 2008-08-03 Tor Lillqvist <tml@novell.com>
160 * win32/gwin32directorymonitor.c
161 (g_win32_directory_monitor_callback): Make prototype match
162 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
163 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
166 (g_win32_directory_monitor_constructor):
167 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
168 names in the GLib API on Windows, so convert to UTF-16 and open
171 2008-08-03 Tor Lillqvist <tml@novell.com>
173 Bug 541036 - Gnumeric crashes when trying to open Desktop or
174 user's folder under Windows
176 * win32/gwin32directorymonitor.c
177 (g_win32_directory_monitor_constructor): Ignore error from
178 CreateFile() when opening directory. Instead of asserting, just
179 store INVALID_HANDLE_VALUE then in
180 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
181 ReadDirectoryChangesW().
182 (g_win32_directory_monitor_cancel): Don't attempt to close
183 directory handle if it is INVALID_HANDLE_VALUE.
185 2008-08-01 Matthias Clasen <mclasen@redhat.com>
187 * gdesktopappinfo.c: Remove debug spew
189 2008-08-01 Hans Breuer <hans@breuer.org>
191 * makefile.msc : add gemblembedicon
193 2008-07-30 Matthias Clasen <mclasen@redhat.com>
195 Bug 545457 – gdmsetup crashed with SIGSEGV in
196 g_unix_mount_guess_should_display()
198 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
199 crash if no mount is found.
201 2008-07-28 Matthias Clasen <mclasen@redhat.com>
203 Bug 545203 – gfile.c: argument is different type.
205 * gfile.c (open_read_async_thread): Pass a GError **
206 to g_file_set_error_literal.
207 Reported by Kazuki Iwamoto
209 2008-07-28 Matthias Clasen <mclasen@redhat.com>
211 Bug 545157 – wrong/no list of "open with" applications for .cc and
214 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
215 Collect all ancestors, not just direct parents. Pointed
216 out by Bastien Nocera
218 2008-07-28 Matthias Clasen <mclasen@redhat.com>
220 * Makefile.am: Install gemblemedicon.h
222 2008-07-28 Matthias Clasen <mclasen@redhat.com>
224 * gemblemedicon.[hc]: Add a GIcon implementation that can
225 add an emblem to another icon.
232 * gfileicon.c: Small documentation additions.
234 2008-07-28 Tor Lillqvist <tml@novell.com>
236 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
239 2008-07-27 Tor Lillqvist <tml@novell.com>
241 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
243 2008-07-24 David Zeuthen <davidz@redhat.com>
247 Also export a g_mount_guess_content_type_sync() function.
249 2008-07-23 Matthias Clasen <mclasen@redhat.com>
251 529694 – SELinux context setting support
253 * gfileinfo.c: Support setting selinux attributes.
254 Patch by Tomas Bzatek
256 2008-07-22 Priit Laes <plaes@plaes.org>
258 Bug 544140 - fam-helper 64-bit issue?
260 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
262 2008-07-21 Matthias Clasen <mclasen@redhat.com>
264 * === Released 2.17.4 ===
266 2008-07-20 Matthias Clasen <mclasen@redhat.com>
268 * gvolumemonitor.[hc]:
273 * gmount.c: Documentation fixes
275 2008-07-19 Matthias Clasen <mclasen@redhat.com>
277 543504 – crash in Epiphany Web Browser: Opening local file
288 * gvolume.c: Register types thread-safely.
289 Patch by Christian Persch
291 2008-07-18 Matthias Clasen <mclasen@redhat.com>
293 * gcontenttype.c: Remove debug spew
295 2008-07-18 Matthias Clasen <mclasen@redhat.com>
297 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
300 * fen/fen-kernel.c: Remove a warning that was causing
301 crashes. Reported by Lin Ma.
303 2008-07-18 Matthias Clasen <mclasen@redhat.com>
305 Bug 543040 – async reading on dummy file will crash on
308 * gfile.c (open_read_async_thread): Cope with read_fn being
309 NULL. Reported by Lin Ma.
311 2008-07-18 Matthias Clasen <mclasen@redhat.com>
314 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
316 2008-07-16 Matthias Clasen <mclasen@redhat.com>
320 * giomodule.c: Rename a chapter id to avoid filename conflict.
322 2008-07-16 Matthias Clasen <mclasen@redhat.com>
324 Bug 540616 – mem leak in filechooser button
326 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
327 the mount entry. Reported by Chrisitan Persch
329 2008-07-16 Matthias Clasen <mclasen@redhat.com>
331 * gfile.c: Small documentation fixes.
333 2008-07-15 Matthias Clasen <mclasen@redhat.com>
335 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
337 2008-07-08 Matthias Clasen <mclasen@redhat.com>
342 * gmount.c: Documentation improvements.
344 2008-07-08 Matthias Clasen <mclasen@redhat.com>
347 * gmount.[hc]: Add g_mount_guess_content_type().
349 2008-07-06 David Zeuthen <davidz@redhat.com>
352 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
353 is needed for easily handling adoption of foreign volumes by
354 out-of-process volume monitors (#541793)
356 2008-07-06 David Zeuthen <davidz@redhat.com>
358 * gvolumemonitor.[ch]:
359 * gunionvolumemonitor.c: Export the eject-button signal on the
360 volume monitor class (#541794).
362 2008-07-06 Matthias Clasen <mclasen@redhat.com>
364 * gappinfo.c: More doc tweaks
366 2008-07-05 Matthias Clasen <mclasen@redhat.com>
368 * gappinfo.c: Clarify some docs
370 2008-07-03 Matthias Clasen <mclasen@redhat.com>
372 * gdesktopappinfo.c: Fix a stupid mistake.
374 2008-07-02 Matthias Clasen <mclasen@redhat.com>
376 * === Released 2.17.3 ===
378 2008-07-02 Matthias Clasen <mclasen@redhat.com>
380 * gfilemonitor.c: Fix the build.
382 2008-07-02 Matthias Clasen <mclasen@redhat.com>
384 Bug 536160 – Add g_file_monitor()
387 * gfile.[hc]: Add g_file_monitor which can return either
388 a file or a directory monitor. Proposed by Behdad Esfahbod
390 2008-07-02 Matthias Clasen <mclasen@redhat.com>
392 536733 – gio build failure on Irix
394 * glocalfile.c: Use a configure check for structfs.f_bavail.
396 2008-07-02 Matthias Clasen <mclasen@redhat.com>
398 Bug 534639 – add g_desktop_app_info_new_from_keyfile
401 * gdesktopappinfo.[hc]: Add a function to create a
402 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
404 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
406 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
408 2008-07-01 Matthias Clasen <mclasen@redhat.com>
410 * gunixmounts.c: Fix a doc typo.
412 2008-07-01 Cody Russell <bratsche@gnome.org>
414 * gio/gcontenttype.c:
415 * gio/gwin32appinfo.c:
416 * gio/gwin32volumemonitor.c:
417 * gio/gwin32mount.c: Fixed some include problems.
419 2008-07-01 Cody Russell <bratsche@gnome.org>
423 Moved all relevant typedefs into these files.
426 Updated wrt added files.
428 Split types into separate file for easier maintainership. (#538564)
430 2008-06-30 Matthias Clasen <mclasen@redhat.com>
432 Bug 540331 – g_file_append_to () documentation: can return NULL
434 * gfile.c (g_file_append_to): Clarify docs.
437 2008-06-30 Matthias Clasen <mclasen@redhat.com>
439 Bug 539090 – g_content_type_from_mime_type() should unalias
441 * gcontentype.c (g_content_type_from_mime_type): Unalias.
442 Patch by Markus Bergman
444 2008-06-30 Matthias Clasen <mclasen@redhat.com>
446 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
449 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
450 on ppc and alpha. Reported by Mart Raudsepp
452 2008-06-29 Matthias Clasen <mclasen@redhat.com>
455 * tests/memory-output-stream.c: Add some tests for
458 2008-06-29 Matthias Clasen <mclasen@redhat.com>
460 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
463 * gmemoryoutputstream.c (array_resize): Handle truncation to
464 zero correctly. Reported by Akira Tagoh
466 2008-06-29 Matthias Clasen <mclasen@redhat.com>
468 * gmemoryoutputstream.c: Trivial doc fixes
470 2008-06-29 Matthias Clasen <mclasen@redhat.com>
472 Bug 540802 – g_list_prepend doesn't concat lists
474 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
475 one list to another. Pointed out by Jan Arne Petersen
477 2008-06-28 Michael Natterer <mitch@imendio.com>
479 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
481 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
483 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
484 to avoid problems with partial icon themes.
486 2008-06-17 Hans Breuer <hans@breuer.org>
488 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
489 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
490 access again on win32, see bug #538127
491 * giomodule.c : ensure GWin32VolumeMonitor is registered
492 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
493 * Makefile.am makefile.msc : updated
495 2008-06-16 Hans Breuer <hans@breuer.org>
497 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
498 and initialization in one step avoids c99ism
500 2008-06-16 Christian Persch <chpe@gnome.org>
503 * gio/gbufferedinputstream.c
505 * gio/gdatainputstream.c
506 * gio/gdesktopappinfo.c
508 * gio/gfileenumerator.c
509 * gio/gfileinputstream.c
510 * gio/gfileoutputstream.c
512 * gio/glocaldirectorymonitor.c
514 * gio/glocalfileenumerator.c
515 * gio/glocalfileinfo.c
516 * gio/glocalfilemonitor.c
517 * gio/glocalfileoutputstream.c
518 * gio/gmemoryinputstream.c
519 * gio/gmemoryoutputstream.c
520 * gio/goutputstream.c
521 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
524 2008-06-16 Tor Lillqvist <tml@novell.com>
526 Bug 538362 - Get Win32 icons back in the file chooser
528 * gcontenttype.c (g_content_type_get_icon): Look up the icon
529 corresponding to a file extension in the Registry. Patch by Hans
531 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
533 2008-06-16 Tor Lillqvist <tml@novell.com>
535 Patches by Hans Breuer:
537 * glocalfile.c (is_xp_or_later): Handle compiling against older
538 SDK headers with missing VerifyVersionInfo(). Conditioned on
539 _MSC_VER, but should probably use some better test.
540 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
541 uninitialised statfs_result variable on Win32.
543 2008-06-16 Michael Natterer <mitch@imendio.com>
545 * *.c: chain up unconditionally in finalize() and dispose(). Also
546 don't dereference these function pointers when calling them since
547 that has no meaning at all.
549 2008-06-16 Ross Burton <ross@burtonini.com>
552 Remove check for dispose implementation as it annoys Emmanuele.
554 2008-06-16 Ross Burton <ross@burtonini.com>
556 Bug 536252 – GFileEnumerator should allow access to the containing
562 Add g_file_enumerator_get_container() and a container writeable
563 construct-only property. Also shuffle around typedefs to make it
566 * glocalfileenumerator.c:
567 * glocalfileenumerator.h:
569 Instead of a string filename take a GFile in the constructor and
570 use it to set the container property.
575 2008-06-16 Matthias Clasen <mclasen@redhat.com>
577 * gfile.c: Make includes more uniform
579 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
581 * tests/live-g-file.c (sample_struct):
582 Use less fancy unicode filenames, so the test doesn't fail
583 on Mac OS X (#531476).
585 2008-06-12 Matthias Clasen <mclasen@redhat.com>
587 * === Released 2.17.2 ===
589 2008-06-12 Matthias Clasen <mclasen@redhat.com>
591 * === Released 2.17.1 ===
593 2008-06-11 A. Walton <awalton@gnome.org>
595 * tests/g-file.c (test_g_file_new_null):
596 Fix broken test case.
598 2008-06-11 Matthias Clasen <mclasen@redhat.com>
600 * pltcheck.sh: We use g_clear_error now.
602 2008-06-11 Matthias Clasen <mclasen@redhat.com>
604 * glocalfile.c (g_local_file_enumerate_children): Revert
605 an unintended change.
607 2008-06-11 Matthias Clasen <mclasen@redhat.com>
609 * gfile.c (g_file_replace_contents): Don't unref before the last use.
611 2008-06-10 Matthias Clasen <mclasen@redhat.com>
613 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
616 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
617 as icon for the desktop directory, also make user-home and
618 user-desktop the preferred icons.
620 2008-06-10 Matthias Clasen <mclasen@redhat.com>
623 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
624 to add a name to the front of the list.
626 2008-06-10 Matthias Clasen <mclasen@redhat.com>
628 Bug 537392 – Additional colon in xattr name
630 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
631 too. Reported by Alessandro Morandi
633 2008-06-10 Matthias Clasen <mclasen@redhat.com>
635 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
638 * glocalfile.c (get_fs_type): Add afs and autofs.
639 Patch by Danny Baumann.
641 2008-06-10 Matthias Clasen <mclasen@redhat.com>
643 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
645 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
646 is no parent. (Owen Taylor, patch by Christian Neumair)
648 2008-06-10 Paolo Borelli <pborelli@katamail.com>
650 * gfile.c (g_file_replace_contents): do not leak the output stream.
652 2008-06-10 Michael Natterer <mitch@imendio.com>
654 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
655 uninitialized memory as array index.
657 2008-06-10 Tor Lillqvist <tml@novell.com>
659 * gcontenttype.c (g_content_type_can_be_executable)
660 (g_content_type_get_icon) [Win32]: Add TODO comments.
662 2008-06-09 Matthias Clasen <mclasen@redhat.com>
664 * xdgmime/Makefile.am: Fix the build
666 2008-06-09 Matthias Clasen <mclasen@redhat.com>
668 * gcontenttype.c (g_content_type_get_icon): Use icons specified
669 in the shared mime database, if available.
671 * xdgmime/*: Sync with upstream. This brings support for
672 glob weights, generic icons, and changes the cache format to
675 2008-05-28 Michael Natterer <mitch@imendio.com>
677 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
678 the global CPPFLAGS now.
680 * tests/data-input-stream.c
681 * tests/data-output-stream.c
682 * tests/g-file-info.c
684 * tests/live-g-file.c
685 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
687 2008-05-27 Matthias Clasen <mclasen@redhat.com>
689 * === Released 2.17.0 ===
691 * tests/live-g-file.c: Clean up after the tests, so make distcheck
692 doesn't complain about leftover files.
694 2008-05-27 simon.zheng <simon.zheng@sun.com>
696 * glocalfile.c: (g_local_file_query_filesystem_info):
697 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
699 2008-05-26 Michael Natterer <mitch@imendio.com>
701 * gmemoryoutputstream.h: declare
702 g_memory_output_stream_get_data_size().
704 2008-05-26 Matthias Clasen <mclasen@redhat.com>
706 * tests/*: Make tests work
708 2008-05-26 Matthias Clasen <mclasen@redhat.com>
710 * gio.symbols: Add g_memory_output_stream_get_data_size.
712 2008-05-25 Ross Burton <ross@burtonini.com>
715 Fix typo in error message (#534764).
717 2008-05-25 Ross Burton <ross@burtonini.com>
720 Fix circular dependency loop for gioenumtypes.h (#534759).
722 2008-05-19 Hans Breuer <hans@breuer.org>
724 * Makefile.am : EXTRA_DIST += makefile.msc
726 2008-05-17 Matthias Clasen <mclasen@redhat.com>
729 * gcontenttype.c: (g_content_type_from_mime_type):
730 New function to create a content type from a mime type. (#527175,
733 2008-05-17 Matthias Clasen <mclasen@redhat.com>
735 Bug 532965 – Should not return filesystem::free for certain file systems
737 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
738 free space for ncpfs.
740 2008-05-17 Matthias Clasen <mclasen@redhat.com>
742 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
744 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
745 st_dev might be zero.
747 2008-05-16 Tor Lillqvist <tml@novell.com>
749 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
750 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
752 2008-05-13 Bastien Nocera <hadess@hadess.net>
754 * gfile.c (has_valid_scheme): A URI scheme must start with a
755 letter, even if later more characters are allowed (#532852)
757 2008-05-05 Michael Natterer <mitch@imendio.com>
759 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
760 code from being checked in that breaks the build of applications
761 which use G_DISABLE_SINGLE_INCLUDES.
763 * makegioalias.pl: make the alias file include "glib.h" instead of
766 * gio.symbols: whitespace change to force regeneration of the
767 alias file after above script change.
769 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
771 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
773 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
775 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
777 2008-04-28 David Zeuthen <davidz@redhat.com>
779 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
780 displaying mounts in a subdirectory not accessible to the
783 2008-04-22 Michael Natterer <mitch@imendio.com>
785 * Makefile.am: fix library versioning (it was 0.0.0).
787 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
789 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
790 Default disable all loggings.
791 * fen/fen-kernel.c: (printevent), (port_add_kevent),
792 (port_fetch_event_cb): Fixed two macro nits.
794 2008-04-16 Matthias Clasen <mclasen@redhat.com>
796 * xdgmime/xdgmime.c: Rework the timestamp checking code
797 to protect against duplicate directories in XDG_DATA_DIRS.
798 Fixes fd.o bug 12513, reported by Joe Shaw.
800 2008-04-16 Matthias Clasen <mclasen@redhat.com>
802 Partically revert the last commit after realizing that
803 xdg_mime_media_type_equal doesn't have to init at all.
806 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
808 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
810 2008-04-16 Matthias Clasen <mclasen@redhat.com>
812 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
813 reported by Joe Shaw and Federico Mena Quintero.
815 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
816 (xdg_mime_media_type_equal): Turn into a wrapper around the
819 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
820 functions throughout.
822 2008-04-16 Michael Meeks <michael.meeks@novell.com>
824 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
825 tolerate an empty TryExec= line without failing; nautilus used
826 to create launchers with these in previous versions. Fixes #528433
828 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
830 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
831 after name. Fixes #527132.
833 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
835 * gfile.c: (g_file_replace):
838 2008-04-07 Matthias Clasen <mclasen@redhat.com>
840 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
842 * gfile.c (file_copy_fallback): Fix the argument order. Patch
843 by Christian Kellner.
845 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
847 * gunixmounts.c: (g_unix_mount_guess_should_display):
848 Don't list the user directory as a mount, fix potential issue
849 when other users have a similar naming and don't special case the
850 gvfs mounts there since that's not required (#525866)
852 2008-03-31 Alexander Larsson <alexl@redhat.com>
854 * glocalfile.c (get_parent):
857 2008-03-31 A. Walton <awalton@svn.gnome.org>
859 * gfile.c (g_file_query_file_type):
860 Always return a GFileType enum value (#520715).
862 2008-03-31 Alexander Larsson <alexl@redhat.com>
864 * glocalfileenumerator.c:
865 Read readdir() info in chunks (of 1000) and sort
866 the chunks by inode before stat:ing.
867 This is a 20% performance increase in testing
868 gvfs-ls on /usr/bin with cold cache.
870 2008-03-31 Alexander Larsson <alexl@redhat.com>
872 * gmemoryoutputstream.c:
873 Clarify docs for g_memory_output_stream_get_size.
874 Add g_memory_output_stream_get_data_size.
876 2008-03-30 Matthias Clasen <mclasen@redhat.com>
880 * gfile.h: Add g_file_query_file_type convenience function
881 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
883 2008-03-30 Matthias Clasen <mclasen@redhat.com>
886 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
888 2008-03-28 A. Walton <awalton@svn.gnome.org>
890 * giomodule.c (_g_io_modules_ensure_loaded):
891 Adds GIO_EXTRA_MODULES environment variable support, closing bug
894 2008-03-28 Alexander Larsson <alexl@redhat.com>
897 (copy_stream_with_progress):
900 2008-03-28 Alexander Larsson <alexl@redhat.com>
903 (copy_stream_with_progress):
904 (file_copy_fallback):
905 Fallback to g_file_query_info for source size
906 if g_file_input_stream_query_info fails. (#524579)
908 2008-03-28 Alexander Larsson <alexl@redhat.com>
910 * glocalfile.c (g_local_file_move):
911 Reuse old string instead of adding new one.
913 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
915 * fen/*.[hc]: still copyright issue. I hate copyright.
917 2008-03-27 Alexander Larsson <alexl@redhat.com>
919 * glocalfile.c (g_local_file_move):
920 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
921 file over directory. This is according to the docs and what the move via
922 copy+remove fallback does.
924 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
926 * fen/*.[hc]: Updated copyright.
928 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
930 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
932 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
934 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
935 not emit attribute changed events when optimizing changed events.
936 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
939 2008-03-19 Matthias Clasen <mclasen@redhat.com>
941 * gmountoperation.[hc]: Small documentation additions
943 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
945 * gunixmounts.c: (guess_mount_type):
946 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
948 2008-03-19 Alexander Larsson <alexl@redhat.com>
951 (copy_stream_with_progress):
952 Bump block side for copy to 64k to minimize
953 overhead for low latency links. (#523015)
955 2008-03-16 Tor Lillqvist <tml@novell.com>
957 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
958 depend on gio.def on Windows.
960 2008-03-12 David Zeuthen <davidz@redhat.com>
964 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
966 2008-03-14 Alexander Larsson <alexl@redhat.com>
970 Avoid redudant tests (#521851)
971 Patch from Josselin Mouette
973 2008-03-14 Alexander Larsson <alexl@redhat.com>
976 (g_file_monitor_is_cancelled):
977 Fix C89 issue (#521672)
978 Patch from Jens Granseuer
980 2008-03-14 Alexander Larsson <alexl@redhat.com>
982 * fam/fam-helper.[ch]:
984 Shut down fam (including removing fam GSource) when
985 module is unloaded (#521513)
986 Patch from Joe Marcus Clarke
988 2008-03-14 Alexander Larsson <alexl@redhat.com>
991 (_g_io_modules_ensure_loaded):
994 2008-03-14 Alexander Larsson <alexl@redhat.com>
997 (g_local_file_query_filesystem_info):
998 Use right define name for f_fstypename member check
1000 2008-03-14 Alexander Larsson <alexl@redhat.com>
1003 * fen/Makefile.am: Added.
1004 * fen/fen-data.[ch]: Added.
1005 * fen/fen-dump.[ch]: Added.
1006 * fen/fen-helper.[ch]: Added.
1007 * fen/fen-kernel.[ch]: Added.
1008 * fen/fen-missing.[ch]: Added.
1009 * fen/fen-node.[ch]: Added.
1010 * fen/fen-sub.[ch]: Added.
1011 * fen/gfendirectorymonitor.[ch]: Added.
1012 * fen/gfenfilemonitor.[ch]: Added.
1014 Added Solaris FEN file notification backend.
1015 Patch from Lin Ma <Lin.Ma@Sun.COM>
1017 2008-03-13 Tor Lillqvist <tml@novell.com>
1019 * Makefile.am: Actually use the gio.def file when linking the
1020 library on Windows. Produce .lib library for Microsoft's toolchain
1021 when possible. Install the .lib and .def file like for the other
1024 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1026 * tests/live-g-file.c:
1027 Include live-g-file in standard set of tests, making a temporary
1028 directory in source structure.
1030 Clean target directory before the tests (write mode only)
1032 2008-03-12 Tor Lillqvist <tml@novell.com>
1034 Bug 517419 - gio win32 directory monitor
1035 Implementation by Vlad Grecescu.
1038 * win32/gwin32directorymonitor.h
1039 * win32/gwin32directorymonitor.c: New files.
1041 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1043 * Makefile.am: Add the win32 subdirectory.
1045 2008-03-12 Tor Lillqvist <tml@novell.com>
1047 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1048 normal struct stat on Unix but struct _stati64 on Windows to have
1049 access to 64-bit file size information. Use that instead of struct
1050 stat in the functions declared here in this private header.
1052 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1053 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1054 warnings about unused functions and variables. Don't set
1055 meaningless attributes like inode numbers on Windows.
1057 2008-03-12 Benjamin Otte <otte@gnome.org>
1060 trim whitespace so gtk-doc groks the function name
1062 2008-03-12 Tor Lillqvist <tml@novell.com>
1064 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1065 returning FALSE, on Win32.
1067 2008-03-11 Alexander Larsson <alexl@redhat.com>
1070 * glocalfileinfo.[ch]:
1071 Correctly implement can_trash by actually
1072 looking for a trash dir, not just assuming
1075 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1077 * === Released 2.16.1 ===
1079 2008-03-11 Alexander Larsson <alexl@redhat.com>
1082 Fix crashes in new constructor and properties code
1084 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1086 * gfile.c: Minor spelling correction in documentation:
1087 existance -> existence.
1089 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1091 * === Released 2.16.0 ===
1093 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1095 * gio.symbols: Remove g_file_contains_file here, too.
1097 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1099 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1100 Samuel Cormier-Iijima)
1102 2008-03-08 Tor Lillqvist <tml@novell.com>
1104 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1107 2008-03-07 Alexander Larsson <alexl@redhat.com>
1110 (g_local_file_query_filesystem_info):
1111 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1112 Patch from Jasper Lievisse Adriaanse
1114 2008-03-06 Tor Lillqvist <tml@novell.com>
1116 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1117 comments for the *_USEC attributes.
1119 2008-03-06 Alexander Larsson <alexl@redhat.com>
1121 * gfile.c (g_file_query_exists):
1122 Add g_return_val_if_fail check (#520700)
1124 2008-03-06 Alexander Larsson <alexl@redhat.com>
1126 * gdesktopappinfo.c:
1129 * gunionvolumemonitor.c:
1132 * tests/live-g-file.c:
1133 * xdgmime/xdgmimecache.c:
1134 Fix sparse warnings (#519489)
1136 2008-03-05 Alexander Larsson <alexl@redhat.com>
1139 Make cancellation threadsafe (i.e.
1140 guarantee its only done once, and always
1143 * glocaldirectorymonitor.c:
1144 Make sure we the monitor lives while the
1145 mounts_changed callback is being called (#520484)
1147 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1149 * gbufferedinputstream.c: Fix typo in parameter
1152 2008-03-04 Alexander Larsson <alexl@redhat.com>
1155 Remove deprecated symbols we kept for one release.
1157 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1160 * goutputstream.c: Tiny documentation corrections.
1162 2008-03-03 Alexander Larsson <alexl@redhat.com>
1164 * gunionvolumemonitor.c:
1166 Fix the adopt_orphan_mount vfunc to take a
1167 volume_monitor reference in an ABI compat way.
1168 This change is not API compat, but the added
1169 arg is not used in the only user of this vfunc, so
1170 all we get is a harmless warning in gvfs (#520169)
1172 2008-03-01 Benjamin Otte <otte@gnome.org>
1175 clarify docs for g_file_delete().
1177 2008-02-29 Alexander Larsson <alexl@redhat.com>
1181 Make sure empty files get text/plain type (#518720)
1183 2008-02-27 Alexander Larsson <alexl@redhat.com>
1189 (g_unix_volume_mount):
1190 Add missing GMountMountFlags argument
1192 2008-02-26 Alexander Larsson <alexl@redhat.com>
1195 (g_local_file_delete):
1196 Handle filesystems (like ntfs-3g) that return EEXIST instead
1197 of ENOTEMPTY (#518816)
1199 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1201 * === Released 2.15.6 ===
1203 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1205 * gfile.c (g_file_find_enclosing_mount):
1206 * ginputstream.c (g_input_stream_set_pending):
1207 * glocalfile.c (g_local_file_find_enclosing_mount):
1208 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1209 * goutputstream.c (g_output_stream_set_pending):
1211 Fixup translator comments (#518578).
1213 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1215 * gfile.c (g_file_find_enclosing_mount):
1217 * glocalfile.c (g_local_file_find_enclosing_mount):
1220 Fix a few typos in translator comments and documentation.
1222 2008-02-25 Alexander Larsson <alexl@redhat.com>
1229 Add translator comments (#518578)
1231 2008-02-25 Alexander Larsson <alexl@redhat.com>
1234 Reintroduce g_file_contains_file, keep around for one
1235 unstable release cycle to avoid crashing to many apps.
1236 Make sure to delete after release.
1238 2008-02-25 Alexander Larsson <alexl@redhat.com>
1241 Remove deprecated g_file_contains_file.
1243 2008-02-25 Alexander Larsson <alexl@redhat.com>
1246 Emit actual change signals in an idle handler.
1247 This avoids reentrance and locking problems in
1248 the file notification backends.
1250 2008-02-25 Alexander Larsson <alexl@redhat.com>
1253 (g_unix_mount_guess_should_display):
1254 Remove type guessing, instead just display
1255 mounts in /media and in ~/.
1257 2008-02-25 Alexander Larsson <alexl@redhat.com>
1260 Make new strings reuse old ones.
1262 2008-02-25 Alexander Larsson <alexl@redhat.com>
1265 Implement trashing and filesystem::readonly for win32 (#517235)
1266 Patch from Yevgen Muntyan
1268 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1270 * gfileinfo.h: Documentation fixes.
1272 2008-02-22 Alexander Larsson <alexl@redhat.com>
1274 * gcontenttype.c (g_content_type_get_icon):
1275 Look at old-style gnome mime icon names too, as many
1276 have not moved to the new style.
1278 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1280 * *.c: Correct the @include in for section docs.
1282 2008-02-21 David Zeuthen <davidz@redhat.com>
1284 * glocalfileinfo.c: (_g_local_file_info_get):
1286 (g_content_type_get_icon): Implement this function by
1287 moving bits from glocalfileinfo.c
1288 (g_content_type_get_description): Unalias before getting
1289 description (#517687)
1291 * gfile.c: (g_file_class_init),
1292 (g_file_query_filesystem_info_async),
1293 (g_file_query_filesystem_info_finish),
1294 (query_filesystem_info_data_free),
1295 (query_filesystem_info_async_thread),
1296 (g_file_real_query_filesystem_info_async),
1297 (g_file_real_query_filesystem_info_finish):
1298 * gfile.h: Implement async version of
1299 g_file_query_filesystem_info()
1301 * gfileinfo.h: Add new attributes for filesystem::use-preview
1303 * gio.symbols: Update
1305 * gthemedicon.c: (g_themed_icon_append_name):
1306 * gthemedicon.h: Add new new convenience function.
1308 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1309 (get_mounts), (get_volumes), (get_connected_drives),
1310 (get_volume_for_uuid), (get_mount_for_uuid),
1311 (g_union_volume_monitor_init), (populate_union_monitor),
1312 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1313 (g_volume_monitor_adopt_orphan_mount):
1315 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1316 monitor implementations to call into the main volume monitor. Also
1317 separate object initialization and volume monitor initialization
1318 such that non-native volume monitors can properly adopt their
1321 2008-02-21 Alexander Larsson <alexl@redhat.com>
1326 2008-02-21 Alexander Larsson <alexl@redhat.com>
1329 Add more documentation about how GFiles work (from #517086)
1331 2008-02-21 Alexander Larsson <alexl@redhat.com>
1335 Add new g_file_has_prefix that does the same as g_file_contains_file.
1336 Deprecate g_file_contains_file and add a macro that converts
1337 it to g_file_has_prefix.
1338 The reason for this change is that the contains_file() name seems to
1339 imply that this does more work than what it does, but its really only
1340 a name match (from #517086)
1345 Update to match the above change.
1347 2008-02-20 Benjamin Otte <otte@gnome.org>
1349 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1350 (g_file_eject_mountable):
1351 even more cases of not returning in error path
1353 2008-02-20 Benjamin Otte <otte@gnome.org>
1355 * gfile.c: (g_file_mount_mountable):
1356 return from function in error path.
1358 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1361 Remove trailing coma in GMountMountFlags struct
1363 2008-02-18 Alexander Larsson <alexl@redhat.com>
1367 * glocalfileoutputstream.c:
1368 Use g_unlink/g_rename instead of unlink/rename;
1369 do not pass raw filenames to g_set_error. (#517239)
1370 Patch from Yevgen Muntyan.
1372 2008-02-18 Alexander Larsson <alexl@redhat.com>
1375 * glocalfileoutputstream.c:
1376 Open files with O_BINARY on windows. (#517140)
1378 2008-02-14 Alexander Larsson <alexl@redhat.com>
1380 * glocalfileoutputstream.c:
1381 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1383 2008-02-14 Alexander Larsson <alexl@redhat.com>
1386 Copy permissions with file on copy (#514084)
1387 This is what cp does and makes sure e.g. the
1388 exec permissions are kept.
1389 Its kinda weird in that it keeps the permission bits
1390 the same while the uid and gid are different. However
1391 the new uid is the user so its not a security issue,
1392 and I've heard no complaints about cp on this issue.
1394 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1396 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1398 2008-02-13 Alexander Larsson <alexl@redhat.com>
1400 * inotify/inotify-path.c:
1401 Define IN_ONLYDIR if not in header (#515346)
1403 2008-02-12 Alexander Larsson <alexl@redhat.com>
1405 * tests/live-g-file.c:
1408 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1410 * === Released 2.15.5 ===
1412 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1414 * gio.symbols: Add g_mount_mount_flags_get_type.
1416 2008-02-11 Alexander Larsson <alexl@redhat.com>
1419 (g_file_info_set_attribute_mask):
1420 (g_file_attribute_matcher_matches_id):
1421 Correctly handle NULL GAttributeMatcher meaning
1422 matches nothing. (Fixes #513492)
1424 2008-02-11 Alexander Larsson <alexl@redhat.com>
1429 Added GMountMountFlags enum and added a flags
1430 argument to all mount calls.
1432 This is an API/ABI change for future extensibility,
1433 as I think we will need at least an
1434 inhibit-autorun flag (the panel needs this).
1435 There are no flags defined yet though.
1437 2008-02-11 Alexander Larsson <alexl@redhat.com>
1440 Added new standard::description attribute.
1441 Requested by Vincent, and useful for both
1444 2008-02-11 Alexander Larsson <alexl@redhat.com>
1446 * gdesktopappinfo.c:
1449 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1451 * *.c: Documentation additions
1453 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1455 * gappinfo.h: Formatting cleanup
1456 * gappinfo.c: Fix up docs.
1458 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1460 * gunixmounts.c: Consistently use getmntent_r() and fall
1461 back to getmntent(). (#515492)
1463 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1465 * gbufferedinputstream.c:
1467 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1469 * tests/data-input-stream.c:
1470 * tests/data-output-stream.c: Portability fixes.
1472 2008-02-08 Alexander Larsson <alexl@redhat.com>
1477 Add g_volume_should_automount.
1480 2008-02-07 Tor Lillqvist <tml@novell.com>
1482 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1483 Win32, too Unix-specific.
1485 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1487 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1488 a local plt if the compiler doesn't support what we want. Bug #514702
1490 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1492 reviewed by: <delete if not using a buddy>
1495 * gunixinputstream.c:
1496 * gunixoutputstream.c:
1498 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1500 * tests/Makefile.am:
1501 * tests/live-g-file.c:
1502 * tests/live-g-file.txt:
1503 New GIO testing module working over real data
1505 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1507 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1508 Fallback to rename() if link() is not available
1509 (when no support on target filesystem)
1511 2008-02-06 Michael Natterer <mitch@imendio.com>
1513 * gfileinfo.c (g_file_info_get_icon): replace
1514 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1516 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1518 * gfile.c (g_file_create):
1519 Documentation update of error codes
1521 2008-02-06 Alexander Larsson <alexl@redhat.com>
1523 * gdesktopappinfo.c:
1524 Update to use both mimeapps.list and
1525 defaults.list as discussed on xdg list.
1527 2008-02-06 Benjamin Otte <otte@gnome.org>
1530 * gfilenamecompleter.c:
1531 Fix some typos in the documentation.
1533 2008-02-06 Alexander Larsson <alexl@redhat.com>
1535 * glocalfile.c (g_local_file_trash):
1536 Don't succeed with trash if newly created
1537 trash dir has the wrong owner. (#514696)
1539 2008-02-05 Alexander Larsson <alexl@redhat.com>
1541 * glocalfile.c (g_local_file_move):
1542 Don't spew warnings when destination is not
1545 2008-02-03 Hans Breuer <hans@breuer.org>
1547 * makefile.msc : update
1549 2008-02-01 Michael Natterer <mitch@imendio.com>
1551 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1552 return value of xdg_mime_list_mime_parents() to a variable of the
1555 2008-02-01 Alexander Larsson <alexl@redhat.com>
1557 * gappinfo.c (g_app_info_launch_uris):
1558 Actually call the launch_uris method, not
1561 2008-02-01 Alexander Larsson <alexl@redhat.com>
1563 * gdesktopappinfo.c (g_desktop_app_info_equal):
1564 Ensure appinfos with no id but same pointer value
1567 2008-02-01 Alexander Larsson <alexl@redhat.com>
1569 * gappinfo.c (g_app_info_launch_default_for_uri):
1572 2008-02-01 Alexander Larsson <alexl@redhat.com>
1576 Add g_app_info_launch_default_for_uri utility
1579 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1581 * gdesktopappinfo.c:
1582 Doc fix for g_app_info_get_default_for_uri_scheme ()
1585 2008-01-30 Alexander Larsson <alexl@redhat.com>
1588 Add doc comment about uris vs GFiles to
1591 * gdesktopappinfo.c:
1592 Ensure uris passed to g_app_info_launch_uris()
1593 are not roundtriped through GFile (as that
1594 may be slightly destructive for e.g. mailto: links)
1596 2008-01-30 Alexander Larsson <alexl@redhat.com>
1598 * tests/data-input-stream.c:
1599 * tests/data-output-stream.c:
1600 C89 fixes from Jens Granseuer (#512849)
1602 2008-01-30 Alexander Larsson <alexl@redhat.com>
1605 Fix gamin/fam difference build issue. (#509419)
1607 2008-01-29 Alexander Larsson <alexl@redhat.com>
1610 * gdesktopappinfo.c:
1611 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1613 2008-01-29 Alexander Larsson <alexl@redhat.com>
1615 * gdesktopappinfo.c:
1616 * gdesktopappinfo.h:
1617 giomodule-priv.h include moved to .c file.
1619 2008-01-29 Alexander Larsson <alexl@redhat.com>
1621 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1622 Remove unused prio/name fields.
1624 2008-01-29 Alexander Larsson <alexl@redhat.com>
1626 * gcontenttype.c (looks_like_text):
1627 Don't treat whitespace as control chars.
1629 2008-01-29 Alexander Larsson <alexl@redhat.com>
1631 * gdesktopappinfo.c:
1632 Lazily create the desktop files for appinfos created
1633 by g_app_info_create_from_commandline() when needed
1634 for mime associations. This allows run-time use
1635 of GAppInfo object without creating unnecessary
1638 2008-01-29 Alexander Larsson <alexl@redhat.com>
1641 Added new symbols to gio.symbols
1643 2008-01-29 Alexander Larsson <alexl@redhat.com>
1646 Add g_file_query_default_handler utility to easily look up
1647 the GAppInfo that handles a file.
1649 * gdesktopappinfo.[ch]:
1651 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1654 Remove unused function
1656 2008-01-29 Alexander Larsson <alexl@redhat.com>
1658 * gfileenumerator.c:
1659 Mention need to free returned value in
1660 g_file_enumerator_next_files_finish docs.
1661 Fix leak if g_file_enumerator_next_files_finish()
1664 2008-01-29 Alexander Larsson <alexl@redhat.com>
1667 (_g_unix_content_type_get_parents):
1668 Use list_parents, not get_parents from xdgmime, because
1669 the later doesn't use the cache.
1671 * xdgmime/xdgmimecache.c:
1672 (_xdg_mime_cache_list_mime_parents):
1673 Don't list the same type as parent multiple times.
1675 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1677 * === Released 2.15.4 ===
1679 2008-01-28 Alexander Larsson <alexl@redhat.com>
1682 Register local vfs with prio 0.
1685 Remove old name and prio class members
1687 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1689 * tests/g-file.c: Disable some tests that are failing in
1690 the absence of a http backend.
1692 2008-01-28 Alexander Larsson <alexl@redhat.com>
1696 Add registration hooks for extension points.
1697 Register the gio extension points.
1699 * fam/gfamdirectorymonitor.c:
1700 * fam/gfamfilemonitor.c:
1701 * glocaldirectorymonitor.[ch]:
1702 * glocalfilemonitor.[ch]:
1703 * gnativevolumemonitor.h:
1704 * gunionvolumemonitor.c:
1705 * gunixvolumemonitor.c:
1708 * inotify/ginotifydirectorymonitor.c:
1709 * inotify/ginotifyfilemonitor.c:
1710 Use the extension points registration instead
1711 of g_type_children().
1713 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1716 * gvolume.[hc]: Document new API.
1718 * gfile.c (g_file_copy_async): Fix docs
1720 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1722 * gbufferedinputstream.c:
1724 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1727 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1729 * glocalfile.c: Avoid trivial differences in translatable strings.
1731 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1733 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1734 build with gcc 3.4 (#509419)
1736 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1738 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1739 (#509994, Murray Cumming)
1741 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1743 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1744 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1745 this allows big jobs to be executed in chunks, instead of blocking
1746 the main loop for a long time.
1748 * gsimpleasyncresult.c:
1749 * giofile.c: Adapt callers.
1751 2008-01-25 Alexander Larsson <alexl@redhat.com>
1753 * gdesktopappinfo.c:
1754 Implement changes discussed on xdg list.
1755 Now we can add supported mimetypes by just using defaults.list
1756 We can also remove associations in defaults.list.
1758 2008-01-25 Alexander Larsson <alexl@redhat.com>
1760 * gdesktopappinfo.c:
1761 Don't make local copy of desktop file
1762 for mimetype changes if the file already
1763 supports the new mimetype.
1765 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1769 * gbufferedinputstream.c:
1770 * glocalfile.c: String improvements. (#511966,
1771 Theppitak Karoonboonyanan)
1773 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1775 * gioscheduler.h: Expand docs a bit.
1777 2008-01-24 Alexander Larsson <alexl@redhat.com>
1780 Add g_drive_get_identifier and
1781 g_drive_enumerate_identifiers
1784 Add g_volume_get_identifier and
1785 g_volume_enumerate_identifiers
1791 Implement identifiers for unix backend
1793 2008-01-24 Alexander Larsson <alexl@redhat.com>
1798 Add g_file_copy_async() (#511580)
1799 Based on patch from Carlos Garcia Campos
1801 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1803 * gioscheduler.c: Some documentation additions.
1805 2008-01-22 Alexander Larsson <alexl@redhat.com>
1807 * gdesktopappinfo.c:
1808 (g_desktop_app_info_new):
1809 Don't leak basename.
1811 2008-01-22 Alexander Larsson <alexl@redhat.com>
1813 * gdesktopappinfo.c:
1814 (g_desktop_app_info_new_from_filename):
1817 2008-01-22 Alexander Larsson <alexl@redhat.com>
1819 * glocalfileinfo.c (get_thumbnail_attributes):
1822 2008-01-22 Alexander Larsson <alexl@redhat.com>
1825 (canonicalize_filename):
1826 Canonicalize paths that start with more than
1830 (compare_two_files):
1831 (test_g_file_new_for_path):
1834 2008-01-22 Alexander Larsson <alexl@redhat.com>
1837 Allow UTF-8 in file:// parse names.
1839 * tests/Makefile.am:
1840 * tests/data-input-stream.c:
1841 * tests/data-output-stream.c:
1842 * tests/g-file-info.c:
1844 Added a bunch of tests from Tomas Bzatek
1846 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1848 * === Released 2.15.3 ===
1850 2008-01-21 Alexander Larsson <alexl@redhat.com>
1852 * gfileinputstream.[ch]:
1853 * gfileoutputstream.[ch]:
1855 Remove duplicated GSeekable functions. (#509990)
1856 Just use the g_seekable_xxx() calls instead.
1858 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1861 * gvolumemanager.c: Whitespace cleanups.
1863 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1864 Use the right mode when creating the file.
1866 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1868 * gfileenumerator.c:
1869 * gfileinputstream.c:
1871 * goutputstream.c: Documentation: Fixed minor typos
1872 and added more mentions of specific _finish() functions.
1874 2008-01-21 Alexander Larsson <alexl@redhat.com>
1876 * inotify/Makefile.am:
1877 * inotify/inotify-helper.c:
1878 * inotify/inotify-kernel.c:
1879 * inotify/inotify-path.c:
1880 * inotify/local_inotify.h: Removed.
1881 * inotify/local_inotify_syscalls.h: Removed.
1882 Removed the included copies of the inotify
1883 headers. We now only use the <sys/inotify.h>
1884 header which exists on modern systems.
1885 This fixes problems on ARM and SH5 (#510448)
1886 but is also generally much cleaner and future
1887 safe. For instance, if other OSes add support
1888 for inotify it should "just work".
1890 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1892 * inotify/*.c: Coding style fixes.
1893 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1894 for the 1/4 Hz timer.
1896 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1899 * gfilemonitor.[hc]:
1900 * gmemoryinputstream.c:
1901 * gmemoryoutputstream.c:
1902 * gmountoperation.c:
1903 * gthemedicon.c: Documentation updates
1905 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1907 * gfile.c: documentation: Fixed more minor
1910 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1912 * gmount.c: (g_mount_remount): documentation:
1913 Mention g_mount_remount_finish() instead of
1914 g_mount_unmount_finish().
1916 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1920 * gfile.c: Fixed some minor typos in the
1923 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1925 * gio/gvolumemonitor.c:
1926 (g_volume_monitor_get_connected_drives):
1927 (g_volume_monitor_get_volumes):
1928 (g_volume_monitor_get_mounts): Documentation:
1929 Clarify the ownership of the regurn GLists.
1931 2008-01-17 Alexander Larsson <alexl@redhat.com>
1934 Add the async find_enclosing_mount version
1935 to the header file too.
1937 2008-01-17 Alexander Larsson <alexl@redhat.com>
1940 Add async version of find_enclosing_mount
1941 with default implementation.
1943 2008-01-17 Alexander Larsson <alexl@redhat.com>
1948 Allow calls to implementation of copy and write
1949 even if the type of the file implementations is
1950 different. This can be used to implement native
1951 upload and download calls in a vfs.
1954 (g_local_file_move):
1955 Protect against the case where move is called
1956 with one file not being local.
1958 Make sure we call the progress callback once
1959 in the native move operation so that the caller
1960 knows how many bytes were copied.
1962 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1965 * gdatainputstream.c:
1967 * gfileoutputstream.c:
1972 * gunixmounts.c: Corrected some typos in the documentation:
1973 occured -> occurred.
1974 its -> it's (where appropriate).
1976 2008-01-16 Alexander Larsson <alexl@redhat.com>
1980 Add g_file_query_exists (#508771)
1982 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1987 * gvolume.c: For async functions that have no non-async
1988 version, document that the GAsyncReadyCallback may be NULL.
1991 2008-01-15 Alexander Larsson <alexl@redhat.com>
1993 * gmemoryinputstream.c:
1994 * gmemoryoutputstream.c:
1995 Don't do pointer arithmetic on void * (#508602)
1996 Patch from Kazuki IWAMOTO
1998 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2000 * === Released 2.15.2 ===
2002 2008-01-14 Alexander Larsson <alexl@redhat.com>
2004 * gfile.c (g_file_monitor_file):
2005 Don't set error here, since we fallback to polling monitor.
2007 2008-01-14 Alexander Larsson <alexl@redhat.com>
2010 (g_file_monitor_directory):
2011 (g_file_monitor_file):
2012 Add GError to file monitor calls
2014 * glocaldirectorymonitor.c:
2015 * glocaldirectorymonitor.h:
2017 * glocalfilemonitor.c:
2018 * glocalfilemonitor.h:
2020 Update for above change
2022 2008-01-14 Alexander Larsson <alexl@redhat.com>
2026 Handle root correctly in g_file_get_relative_path (#508719)
2028 2008-01-14 Alexander Larsson <alexl@redhat.com>
2031 Clean up docs and example for GAsyncResult (#508074)
2033 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2035 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2036 and correct some spelling mistakes. Bug #508108.
2038 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2040 * glocalfileinfo.c: Add a comment.
2042 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2044 * gfileinfo.c: GFileInfo description: Mention
2045 how to actually set attributes in a GFile and how to discover
2046 which attributes are settable. Bug #508378.
2048 2008-01-10 A. Walton <awalton@svn.gnome.org>
2050 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2051 (g_app_info_get_default_for_type):
2052 Check for NULL content types.
2054 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2056 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2058 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2060 * gfile.c: *_async() functions: Several small corrections
2061 to the documentation, mostly correcting copy/paste errors
2062 and improving some sentences.
2064 2008-01-09 Dan Winship <danw@gnome.org>
2066 * glocalfile.c (get_unique_filename): x86_64 fix
2068 2008-01-09 Alexander Larsson <alexl@redhat.com>
2073 Add g_unix_mount_guess_should_display and use
2074 for unix volume monitor backend.
2075 This means we more or less show what the
2076 gnome-vfs backend did.
2077 Based on patch from Padraig O'Briain
2079 2008-01-09 Alexander Larsson <alexl@redhat.com>
2083 Add g_themed_icon_new_with_default_fallbacks
2086 Use default fallbacks for icons
2088 2008-01-09 Alexander Larsson <alexl@redhat.com>
2091 * gmountoperation.[ch]:
2092 Change the API a bit so that unhandled methods
2093 get reported via the reply, rather than by
2094 the signal emission return value. This is because
2095 some handlers can't know this immediately without
2096 doing I/O, and this is an async operation that
2099 2008-01-09 Alexander Larsson <alexl@redhat.com>
2102 * fam/gfamdirectorymonitor.c:
2103 * fam/gfamfilemonitor.c:
2104 Fix double free crash (#508224)
2105 Patch from Joe Marcus Clarke
2107 008-01-07 Matthias Clasen <mclasen@redhat.com>
2109 * === Released 2.15.1 ===
2111 2008-01-07 Alexander Larsson <alexl@redhat.com>
2113 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2114 Fix warning (#507835)
2116 2008-01-07 Alexander Larsson <alexl@redhat.com>
2119 Pass --internal to glib-genmarshal
2122 * gmountoperation.c:
2124 Use better types for signal arguments (#507822)
2126 2008-01-07 Alexander Larsson <alexl@redhat.com>
2129 Build test subdir after .
2130 Remove gdirectorymonitor.[ch]
2132 * gdirectorymonitor.[ch]:
2136 Remove GDirectoryMonitor and make
2137 GFileMonitor the baseclass for both file and
2138 directory monitors. Lift the more generic
2139 rate limiting code from GDirectoryMonitor
2143 * fam/gfamdirectorymonitor.[ch]:
2144 * inotify/ginotifydirectorymonitor.[ch]:
2145 * inotify/inotify-helper.c:
2146 * glocaldirectorymonitor.[ch]:
2149 Update for the removed GDirectoryMonitor.
2151 * gmemoryoutputstream.c:
2152 Remove ununsed variable
2154 2008-01-07 Alexander Larsson <alexl@redhat.com>
2156 * gmemoryinputstream.c:
2157 Translate error strings
2160 * gmemoryoutputstream.[ch]:
2161 New implementation that avoids using GByteArray
2162 in implementation and API. (#506377)
2164 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2166 * tests/*: Add a test for memory input streams.
2168 * Makefile.am: Add tests to SUBDIRS.
2170 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2172 * glocalfilemonitor.c:
2173 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2176 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2178 * gdesktopappinfo.c: Fix a docs typo.
2180 * gfileattribute.c: Add information about extended attributes
2181 to the documentation. (#505058)
2183 2008-01-04 Alexander Larsson <alexl@redhat.com>
2186 * gmountoperation.c:
2187 Use the right type (uint) for the ask_password signal.
2189 2008-01-04 Alexander Larsson <alexl@redhat.com>
2194 Add g_app_info_supports_files()
2195 Remove desktop arg from g_app_info_should_show().
2197 * gdesktopappinfo.[ch]:
2198 Implement g_app_info_supports_files() and new should_show()
2199 Add g_desktop_app_info_set_desktop_env() to set the desktop
2200 for should_show(). (This will be set by gtk+ later)
2202 2008-01-04 Alexander Larsson <alexl@redhat.com>
2205 * gmemoryinputstream.[ch]:
2206 Improve API so that you can use multiple chunks
2207 of memory and custom destroy functions. (#506374)
2209 2008-01-03 Alexander Larsson <alexl@redhat.com>
2212 Handle NULL attribute matchers safely, as we return this
2213 for empty attribute matcher strings.
2215 2008-01-03 Alexander Larsson <alexl@redhat.com>
2217 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2218 Add /usr/local to list of internal mountpoints
2220 2008-01-03 Alexander Larsson <alexl@redhat.com>
2223 Check for HAVE_LCHOWN (#505887)
2225 2008-01-03 Alexander Larsson <alexl@redhat.com>
2229 Add define for selinux context attribute.
2230 Fix missing : -> :: namespace separator change
2231 Fix missing _ -> - name change for xattr-sys.
2234 2008-01-03 Alexander Larsson <alexl@redhat.com>
2237 Link to libglib and libgobject directly (#504879)
2238 Patch from Sebastien Bacher
2240 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2242 * gfile.c: Expanded the g_file_new_for_commandline_arg
2243 description a bit, based on the code and the docs of the
2244 other g_file_new_for_* functions.
2246 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2248 * gfilemonitor.h: Fixed typo in docs.
2250 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2252 Updates to GIO documentation. (#506395, Mikael Hermansson)
2254 * gcontenttype.c: Describe memory management for return value of
2255 g_content_types_get_registered(). Missing piece from #505815.
2256 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2257 GVolume, GDrive, GMounts, which hopefully gives the user less
2258 confusions when using this API. Following explainations from
2259 Alexander Larsson on gtk-devel-list.
2261 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2263 * gfileinfo.c: Expand the long description.
2265 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2268 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2269 fix builds with --disable-visibility. (#500273, Christian Persch)
2271 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2273 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2274 in the list of returned app infos.
2276 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2278 * gappinfo.c: Fix a cross-reference
2280 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2282 * gfileinputstream.c:
2283 * gfileoutputstream.c:
2287 * gdesktopappinfo.c:
2289 * gfileinfo.c: Documentation updates.
2291 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2293 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2296 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2298 * gcontenttype.c (g_content_types_get_registered): Don't return
2299 freed memory (#505815, Mikael Hermansson)
2301 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2303 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2304 used to detect statbuf->st_blocks. (#505042)
2306 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2308 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2309 environment handling. (#504829, Cosimo Cecchi)
2311 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2313 * gappinfo.c: Doc improvements
2315 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2318 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2320 * === Released 2.15.0 ===
2322 2007-12-20 Hans Breuer <hans@breuer.org>
2324 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2325 with symbols gwin32appinfo.obj, added gmount.obj
2326 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2328 2007-12-20 Alexander Larsson <alexl@redhat.com>
2334 * gfilenamecompleter.c:
2337 * gpollfilemonitor.c:
2338 File attribute renames:
2340 fs:: -> filesystem::
2341 id::fs -> id::filesystem
2343 2007-12-20 Alexander Larsson <alexl@redhat.com>
2352 Add GMountUnmountFlags to all unmount and
2354 Add g_mount_remount() call.
2356 2007-12-20 Alexander Larsson <alexl@redhat.com>
2358 * gvfs.c (get_default_vfs):
2359 Fix unused variable warning
2361 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2363 * pltcheck.sh: Update
2365 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2367 * gunionvolumemonitor.c:
2368 * gunixmount.c: Remove C99 comments
2370 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2372 * gio.symbols: Add some missing symbols
2374 2007-12-19 Alexander Larsson <alexl@redhat.com>
2377 Make g_io_modules_load_all_in_directory not unuse
2378 loaded modules so that users of it can do stuff
2380 Init internal "module" types.
2381 Initialize static prio and name for types so that
2382 we don't have to load modules to get it.
2384 * gnativevolumemonitor.h:
2386 Move is_supported to parent class so that
2387 non-native monitors can avoid being initialized
2388 too. (For instance GDaemonVolumeMonitor if we're
2389 not using GDaemonVfs.)
2391 * glocaldirectorymonitor.[ch]:
2392 * glocalfilemonitor.[ch]:
2393 * gunionvolumemonitor.c:
2394 * gunixvolumemonitor.c:
2396 Find plugins using the static prio+name to
2397 avoid unnecessarily loading the modules.
2399 2007-12-19 Alexander Larsson <alexl@redhat.com>
2404 2007-12-19 Alexander Larsson <alexl@redhat.com>
2406 * gunionvolumemonitor.c:
2407 Store the native type as GType, not class so that
2408 we can unload it. But still avoid unnecessarily
2411 2007-12-19 David Zeuthen <davidz@redhat.com>
2413 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2414 add signals 'disconnected' and 'eject-button' on GDrive. Add
2415 signal 'removed' on GVolume and 'unmounted' on GMount.
2417 * gdrive.c: (g_drive_base_init):
2419 * gfile.c: (g_file_mount_mountable),
2420 (g_file_mount_enclosing_volume):
2423 * gmount.c: (g_mount_base_init):
2425 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2426 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2427 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2431 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2433 * *.c: Fix up includes in the section docs.
2435 2007-12-17 Alexander Larsson <alexl@redhat.com>
2437 * gnativevolumemonitor.h:
2438 * gunionvolumemonitor.c:
2439 * gunixvolumemonitor.c:
2440 Add is_supported() to GNativeVolumeMonitorClass so
2441 that we can avoid having to create an object to see
2442 if the backend is supported at runtime.
2443 Also add name member and an env var to pick a specific
2444 volume monitor backend.
2448 Add cancellable to _g_mount_get_for_mount_path()
2450 * glocaldirectorymonitor.c:
2451 * glocalfilemonitor.c:
2452 Avoid loading and unloading modules while sorting.
2454 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2457 * gunixmounts.[hc]: Namespace waste reduction, move some
2458 g_get_unix_mount functions to the g_unix_mount namespace.
2461 * gunixvolumemonitor.c:
2463 * glocaldirectorymonitor.c: Update all callers.
2465 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2467 2007-12-17 Alexander Larsson <alexl@redhat.com>
2470 Add doc comments about what GFile operations are
2471 guaranteed to not block.
2473 2007-12-17 Alexander Larsson <alexl@redhat.com>
2476 Add missing #ifdef fixing OSX build.
2477 (#503334, patch from Richard Hult)
2479 2007-12-14 David Zeuthen <davidz@redhat.com>
2483 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2484 (g_mount_eject), (g_mount_eject_finish):
2486 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2487 (get_volume_for_uuid), (get_mount_for_uuid),
2488 (g_union_volume_monitor_class_init),
2489 (get_default_native_type_with_exclude), (get_default_native_type),
2490 (get_native_type), (update_native_type),
2491 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2492 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2493 (g_unix_mount_can_eject), (eject_unmount_cb),
2494 (eject_unmount_read_error), (eject_unmount_do),
2495 (g_unix_mount_unmount), (g_unix_mount_eject),
2496 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2497 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2498 (g_unix_mount_point_guess_can_eject):
2500 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2501 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2502 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2503 (g_unix_volume_mount), (g_unix_volume_eject),
2504 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2505 * gunixvolumemonitor.c: (get_volume_for_uuid),
2506 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2508 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2509 (g_volume_eject), (g_volume_eject_finish):
2511 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2512 (g_volume_monitor_get_mount_for_uuid):
2515 Provide eject() on both GMount and GVolume and utility functions
2516 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2517 ejected. Introduce the concept of UUID's and wire it into GVolume
2518 and GMount and provide API on GVolumeMonitor to find such
2519 instances. Also handle the case where an external
2520 GNativeVolumeMonitor fails to initialize. Lock around the
2521 _g_get_mount_for_mount_path() function such that volume monitor
2522 implementations won't have to do locking themselves.
2524 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2526 * gdesktopappinfo.c:
2532 * gvolume.h: Documentation updates
2534 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2537 * gfile.h: Doc updates
2539 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2542 * gdesktopappinfo.c: Use hash table iterators.
2544 2007-12-14 Alexander Larsson <alexl@redhat.com>
2547 * gfileattribute.[ch]:
2548 * gfileattribute-priv.h:
2549 Move GFileAttributeValue to a private header, as
2553 Make set_attribute take a type + a pointer instead
2554 of a GFileAttributeValue.
2557 Fix up for above changes.
2558 Add g_file_info_get_attribute_data to get
2559 all info in one call, g_file_info_get_attribute_status
2560 to get the status and g_file_info_get_attribute_as_string.
2564 * glocalfileinfo.[ch]:
2568 Make _guess_type static.
2570 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2573 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2574 made mkenums and friends use temporary files to avoid leaving
2575 empty generated files on failure (#503470).
2577 2007-12-14 Alexander Larsson <alexl@redhat.com>
2579 * gmountoperation.h:
2582 2007-12-14 Alexander Larsson <alexl@redhat.com>
2586 * gfileattribute.[ch]:
2589 * glocalfileoutputstream.c:
2590 * gmountoperation.[ch]:
2591 * goutputstream.[ch]:
2592 Clean up all flags enums to not have _FLAGS in them
2593 Make the names of some of the enums better.
2598 2007-12-14 Michael Natterer <mitch@imendio.com>
2600 * gio.symbols: fix g_io_scheduler symbol names.
2602 2007-12-14 Alexander Larsson <alexl@redhat.com>
2608 * gbufferedinputstream.h:
2609 * gbufferedoutputstream.h:
2612 * gdatainputstream.h:
2613 * gdataoutputstream.h:
2614 * gdesktopappinfo.h:
2615 * gdirectorymonitor.h:
2619 * gfileenumerator.h:
2622 * gfileinputstream.h:
2624 * gfilenamecompleter.h:
2625 * gfileoutputstream.h:
2626 * gfilterinputstream.h:
2627 * gfilteroutputstream.h:
2635 * gmemoryinputstream.h:
2636 * gmemoryoutputstream.h:
2638 * gmountoperation.h:
2641 * gsimpleasyncresult.h:
2643 * gunixinputstream.h:
2645 * gunixoutputstream.h:
2649 * inotify/Makefile.am:
2650 Only allow including <gio/gio.h> from apps
2652 2007-12-14 Alexander Larsson <alexl@redhat.com>
2654 * gioscheduler.[ch]:
2655 * gsimpleasyncresult.c:
2656 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2657 Split out the send_to_mainloop call into two versions instead
2658 of having the block argument.
2660 2007-12-13 Alexander Larsson <alexl@redhat.com>
2662 * gcancellable.[ch]:
2664 * gbufferedinputstream.c:
2665 * gfileenumerator.c:
2666 * gfileinputstream.c:
2667 * gfileoutputstream.c:
2671 g_push/pop_current_cancellable ->
2672 g_cancellable_push/pop_current
2674 2007-12-13 Alexander Larsson <alexl@redhat.com>
2678 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2680 2007-12-13 Alexander Larsson <alexl@redhat.com>
2682 * gmountoperation.h:
2683 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2685 2007-12-12 Alexander Larsson <alexl@redhat.com>
2688 Fix race condition when freeing proxy in
2689 g_io_job_send_to_mainloop().
2691 2007-12-12 Alexander Larsson <alexl@redhat.com>
2697 Make attribute namespace separator "::" instead of ":".
2698 Use - instead of _ as separator in attribute names.
2700 2007-12-12 Alexander Larsson <alexl@redhat.com>
2702 * gbufferedinputstream.h:
2703 * gbufferedoutputstream.h:
2704 * gdatainputstream.h:
2705 * gdataoutputstream.h:
2706 * gdirectorymonitor.h:
2707 * gfileenumerator.h:
2708 * gfileinputstream.h:
2710 * gfileoutputstream.h:
2711 * gfilterinputstream.h:
2712 * gfilteroutputstream.h:
2714 * glocalfileinputstream.h:
2715 * glocalfileoutputstream.h:
2716 * gmemoryinputstream.h:
2717 * gmemoryoutputstream.h:
2718 * gnativevolumemonitor.h:
2720 * gunixinputstream.h:
2721 * gunixoutputstream.h:
2724 s/parent/parent_instance/ in GObjects
2726 2007-12-12 Alexander Larsson <alexl@redhat.com>
2731 No need for padding for interfaces
2733 2007-12-12 Alexander Larsson <alexl@redhat.com>
2737 * gbufferedinputstream.c:
2738 * gbufferedoutputstream.c:
2741 * gdatainputstream.[ch]:
2742 * gdesktopappinfo.c:
2743 * gdirectorymonitor.c:
2745 * gfileattribute.[ch]:
2748 * gfileinputstream.h:
2749 * gfilemonitor.[ch]:
2750 * gfileoutputstream.[ch]:
2751 * gfilterinputstream.h:
2752 * gfilteroutputstream.h:
2755 * gloadableicon.[ch]:
2756 * gmemoryinputstream.c:
2757 * gmountoperation.c:
2759 Fix up a bunch of details in the docs.
2764 2007-12-11 David Zeuthen <davidz@redhat.com>
2766 Rework how volumes, drives and volume monitoring is
2767 done. Previosly the model was
2769 GDrive <1-1> GVolume
2771 where a GDrive instance represented a mount point and a GVolume
2772 instance represented a mounted file system. This patch changes it
2775 GDrive <1-N> GVolume <1-1> GMount
2777 where GMount now serves the purpose of the old GVolume and the new
2778 GVolume serves the purpose of the old GDrive. In addition the new
2779 GDrive interface is used to represent a collection of GVolume
2780 instances (typically partitions) and also contains utility to query
2781 the state of the physical drive the GDrive object represents (such
2782 as checking for media, polling the drive, ejecting the media etc.).
2784 Also implement mounting and unmounting in the Unix volume monitor
2785 backend. A subquent patch will introduce GDrive support for ejection
2789 * gdrive.c: (g_drive_is_media_check_automatic),
2790 (g_drive_is_media_removable), (g_drive_has_media),
2791 (g_drive_can_poll_for_media), (g_drive_eject),
2792 (g_drive_eject_finish), (g_drive_poll_for_media),
2793 (g_drive_poll_for_media_finish):
2795 * gfile.c: (g_file_find_enclosing_mount):
2798 * glocaldirectorymonitor.c:
2799 (g_local_directory_monitor_constructor), (mounts_changed):
2800 * glocalfile.c: (get_mount_info),
2801 (g_local_file_find_enclosing_mount),
2802 (g_local_file_file_iface_init):
2803 * gnativevolumemonitor.h:
2804 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2805 (get_connected_drives), (g_union_volume_monitor_class_init),
2806 (child_volume_added), (child_volume_removed),
2807 (child_volume_changed), (child_mount_added), (child_mount_removed),
2808 (child_mount_pre_unmount), (child_mount_changed),
2809 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2810 (g_union_volume_monitor_remove_monitor),
2811 (_g_mount_get_for_mount_path):
2812 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2813 (guess_system_internal), (_g_get_unix_mounts),
2814 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2815 (g_unix_mount_free), (g_unix_mount_compare),
2816 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2817 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2818 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2819 (type_to_icon), (g_unix_mount_guess_name),
2820 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2821 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2822 (_resolve_symlink), (_resolve_dev_root):
2824 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2825 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2826 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2827 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2828 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2829 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2830 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2831 (g_unix_volume_volume_iface_init):
2833 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2834 (get_mounts), (get_volumes), (get_connected_drives),
2835 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2836 (mountpoints_changed), (mounts_changed),
2837 (g_unix_volume_monitor_init),
2838 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2839 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2840 * gunixvolumemonitor.h:
2841 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2842 (g_volume_mount), (g_volume_mount_finish):
2844 * gvolumemonitor.c: (g_volume_monitor_class_init),
2845 (g_volume_monitor_get_connected_drives),
2846 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2849 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2851 * gmountoperation.h (GPasswordFlags): Close the gap
2853 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2855 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2857 * gdesktopappinfo.[hc]: Remove _-prefixes
2859 2007-12-10 Tor Lillqvist <tml@novell.com>
2861 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2864 2007-12-10 Alexander Larsson <alexl@redhat.com>
2866 * gfile.c (g_file_set_display_name):
2867 Don't hardcode '/' (#502727)
2869 2007-12-09 Hans Breuer <hans@breuer.org>
2871 * makefile.msc : follow lib naming convention
2872 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2873 for user and group name, tested with ../tests/gio-ls
2875 2007-12-09 A. Walton <awalton@svn.gnome.org>
2877 * gdesktopappinfo.c:
2883 * gfileenumerator.c:
2888 * gmemoryinputstream.c:
2889 * gmemoryoutputstream.c:
2891 * gsimpleasyncresult.c:
2892 More documentation cleanup and filling in missing information, bringing
2893 GIO to 99% symbol coverage.
2895 2007-12-08 Hans Breuer <hans@breuer.org>
2897 [gio compiles and links on win32, not sure how much already works]
2898 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2899 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2900 base on win32 API; prefer g_lstat() over lstat(); instead of
2901 localtime_r() use an all GLib implementation on win32;
2902 get_mount_info() still needs a win32 specifc implementation
2903 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2904 win32_get_file_user_info to get owner/group info without uid/gid
2905 * glocalfileinputstream.c : include <io.h> on win32
2906 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2907 definition, use g_win32_ftruncate() for G_OS_WIN32
2908 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2909 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2910 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2911 * makefile.msc : updated
2913 2007-12-07 Alexander Larsson <alexl@redhat.com>
2915 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2916 Avoid warning spew if error == NULL
2918 2007-12-07 Alexander Larsson <alexl@redhat.com>
2921 Update docs wrt etags
2923 2007-12-06 Alexander Larsson <alexl@redhat.com>
2926 Include sys/types.h for dev_t (#501919)
2928 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2932 Make abicheck and pltcheck pass.
2934 2007-12-05 Alexander Larsson <alexl@redhat.com>
2937 * giomodule-priv.h: Added.
2938 * glocaldirectorymonitor.c:
2939 * glocalfilemonitor.c:
2940 * gunionvolumemonitor.c:
2942 Actually add the declaration of _g_io_modules_ensure_loaded
2944 2007-12-05 Alexander Larsson <alexl@redhat.com>
2946 * gdatainputstream.c:
2951 * glocaldirectorymonitor.c:
2952 * glocalfilemonitor.c:
2953 * gunionvolumemonitor.c:
2955 Make g_io_modules_ensure_loaded a private function and
2956 don't pass in the dirname. This means we can do magic
2957 directory finding in the win32 version.
2958 Export the actual load-modules-in-directory code so that
2959 gvfs can reuse that.
2961 2007-12-05 Alexander Larsson <alexl@redhat.com>
2963 * gbufferedinputstream.c:
2964 * gbufferedoutputstream.c:
2967 * gfileenumerator.[ch]:
2968 * gfileinputstream.c:
2969 * gfileoutputstream.[ch]:
2970 * gfilterinputstream.c:
2971 * gfilteroutputstream.c:
2972 * ginputstream.[ch]:
2974 * glocalfileenumerator.c:
2975 * glocalfileinputstream.c:
2976 * glocalfileoutputstream.c:
2977 * gmemoryinputstream.c:
2978 * gmemoryoutputstream.c:
2979 * goutputstream.[ch]:
2982 * gunixinputstream.c:
2983 * gunixoutputstream.c:
2984 Rename all struct members named:
2985 read, write, close, truncate, or mount
2986 to foo_fn, as these are reserved names
2987 and could be defined as macros in libc.
2990 2007-12-04 Alexander Larsson <alexl@redhat.com>
2993 (g_output_stream_close):
2994 Only call flush if non-null.
2996 2007-11-30 Dan Winship <danw@gnome.org>
2998 * ginputstream.c (g_input_stream_set_pending): Make this take a
2999 GError and return a gboolean, and do the "outstanding operation"
3000 check (and the "stream is already closed" check) itself.
3001 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3003 * goutputstream.c (g_output_stream_set_pending)
3004 (g_output_stream_clear_pending): Likewise
3006 * gbufferedinputstream.c:
3007 * gfileinputstream.c:
3008 * gfileoutputstream.c: Update for that
3010 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3011 Like g_simple_async_report_error_in_idle, but takes a GError
3012 rather than building one.
3014 2007-11-30 Dan Winship <danw@gnome.org>
3016 * goutputstream.c: Don't cheat and unset the "pending" flag around
3017 inner calls. Instead, call the class method directly rather than
3018 the wrapper function that checks "pending"
3020 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3022 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3024 2007-12-03 Hans Breuer <hans@breuer.org>
3026 [start of port to win32/msvc]
3027 * gcancellable.c : HAVE_UNIST_H and _pipe()
3028 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3029 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3030 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3032 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3033 * glocalvfs.c : use HAVE_PWD_H
3034 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3035 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3036 * Makefile.am : added to EXTRA_DIST
3038 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3040 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3043 2007-12-03 Alexander Larsson <alexl@redhat.com>
3046 Handle OSX style xattrs API (#500506)
3048 2007-12-03 Alexander Larsson <alexl@redhat.com>
3052 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3054 2007-12-02 A. Walton <awalton@svn.gnome.org>
3058 Documentation accuracy fixes.
3060 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3062 * gioenumtypes.c.template: Fix typo.
3064 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3066 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3068 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3070 * gdirectorymonitor.c:
3071 * gfilemonitor.c: Add properties
3073 * gbufferedoutputstream.c: Don't mark buffer-size property
3076 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3078 * gbufferedoutputstream.c: Add auto-grow property.
3080 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3082 * *.c: Unify the capitalization of section headings.
3084 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3086 * gmountoperation.c: Add properties
3088 * gdatainputstream.c: Turn byte-order and newline-type into
3091 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3093 * gioenumtypes.[hc].template: Templates for enum registration
3095 * Makefile.am: Generate gioenumtypes.[hc]
3097 * gio.h: Include gioenumtypes.h
3099 * gfile.h: Add some explicit nicks.
3101 * gio.symbols: Add new symbols
3103 * pltcheck.sh: Adjust
3105 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3107 * *.c: Explain etags and link to the explanation
3109 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3111 * *.c: Explain I/O priority.
3113 * *.c: More coding style fixes.
3115 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3117 * gasyncresult.c: Add another paragraph to the intro,
3118 adjust coding style of example.
3120 2007-11-29 A. Walton <awalton@svn.gnome.org>
3123 Fixes unknown meaning in GAppLaunchContext docs.
3125 Clarify asynchronous ops.
3127 Fix entity tag docs.
3130 Provides missing gtk-doc section, fixes API docs slighly.
3131 * gsimpleasyncresult.c:
3132 Fill in missing info in docs.
3133 * gunixinputstream.c:
3134 * gunixoutputstream.c:
3135 Be more expressive in short description.
3137 Remove gtk-doc stubs for non-public API.
3139 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3141 * *.c: Coding style fixups
3143 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3145 * inotify/inotify-helper.c: Don't export the lock from libgio.
3147 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3150 * abicheck.sh: Fix copy-and-paste leftovers
3152 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3154 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3156 2007-11-28 Alexander Larsson <alexl@redhat.com>
3160 Removed unnecessary file
3162 * gdesktopappinfo.[ch]:
3165 * glocaldirectorymonitor.[ch]:
3167 * glocalfileenumerator.[ch]:
3168 * glocalfileinputstream.[ch]:
3169 * glocalfilemonitor.[ch]:
3170 * glocalfileoutputstream.[ch]:
3172 * gnativevolumemonitor.c:
3173 * gpollfilemonitor.[ch]:
3174 * gunionvolumemonitor.[ch]:
3177 * gunixvolumemonitor.[ch]:
3180 * inotify/ginotifydirectorymonitor.[ch]:
3181 * inotify/ginotifyfilemonitor.[ch]:
3182 * inotify/inotify-helper.c:
3183 Append _ to all internal functions
3187 Export symbols needed for modules
3189 2007-11-28 Alexander Larsson <alexl@redhat.com>
3192 * abicheck.sh: Added.
3193 * makegioalias.pl: Added.
3194 * pltcheck.sh: Added.
3195 * gio.symbols: Added.
3198 Initial work on adding symbol handling.
3201 Correct ifdef guard name
3204 * inotify/Makefile.am:
3205 * xdgmime/Makefile.am:
3206 Include toplevel Makefile.decl
3208 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3210 * gcontenttype.c: Move doc comments to the unix section.
3212 * *.[hc]: More trivial doc corrections.
3214 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3216 * gpollfilemonitor.c:
3220 * gdesktopappinfo.c:
3225 * gdatainputstream.c:
3226 * gdatainputstream.h:
3227 * gdataoutputstream.c:
3228 * gdataoutputstream.h:
3229 * gfileinfo.h: Doc cleanups
3231 2007-11-28 Andre Klapper <a9016009@gmx.de>
3233 * gdesktopappinfo.c: Fix a typo.
3235 2007-11-27 Andre Klapper <a9016009@gmx.de>
3237 * glocalfileoutputstream.c: Fix a typo.
3239 2007-11-27 Alexander Larsson <alexl@redhat.com>
3242 Don't include removed headers
3244 2007-11-27 Alexander Larsson <alexl@redhat.com>
3247 * gsocketinputstream.[ch]: Removed.
3248 * gsocketoutputstream.[ch]: Removed.
3249 * gunixinputstream.[ch]: Added.
3250 * gunixoutputstream.[ch]: Added.
3251 Renamed GSocket*Stream to GUnix*Stream and made
3252 it unix-only, since its not really only for sockets
3253 and it only works on unix (but is highly useful there).
3255 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3261 * gbufferedinputstream.c:
3262 * gbufferedinputstream.h:
3263 * gbufferedoutputstream.c:
3264 * gbufferedoutputstream.h:
3268 * gdatainputstream.c:
3269 * gdatainputstream.h:
3270 * gdataoutputstream.c:
3271 * gdataoutputstream.h:
3272 * gdirectorymonitor.c:
3273 * gdirectorymonitor.h:
3280 * gfileenumerator.c:
3281 * gfileenumerator.h:
3286 * gfileinputstream.c:
3287 * gfileinputstream.h:
3290 * gfilenamecompleter.c:
3291 * gfilenamecompleter.h:
3292 * gfileoutputstream.c:
3293 * gfileoutputstream.h:
3294 * gfilterinputstream.c:
3295 * gfilterinputstream.h:
3296 * gfilteroutputstream.c:
3297 * gfilteroutputstream.h:
3310 * glocalfileoutputstream.c:
3311 * gmemoryinputstream.c:
3312 * gmemoryinputstream.h:
3313 * gmemoryoutputstream.c:
3314 * gmemoryoutputstream.h:
3315 * gmountoperation.c:
3316 * gmountoperation.h:
3319 * gpollfilemonitor.c:
3322 * gsimpleasyncresult.c:
3323 * gsimpleasyncresult.h:
3324 * gsocketinputstream.c:
3325 * gsocketinputstream.h:
3326 * gsocketoutputstream.c:
3327 * gsocketoutputstream.h:
3334 * gunixvolumemonitor.c:
3343 Bumps documentation to 93% symbol coverage, touching most
3344 of the public files. Fixes broken function documentation prototypes.
3345 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3346 gtk-doc headers in private files.
3348 2007-11-27 Jürg Billeter <j@bitron.ch>
3350 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3351 (g_buffered_input_stream_read_byte):
3352 * gbufferedinputstream.h:
3353 New functions for efficient access to buffer and simple single byte
3356 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3357 (g_data_input_stream_read_until):
3358 * gdatainputstream.h:
3359 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3360 read_until with multiple stop chars.
3362 2007-11-27 Alexander Larsson <alexl@redhat.com>
3366 * inotify/Makefile.am:
3367 Use the user-specified giomoduledir
3369 2007-11-27 Alexander Larsson <alexl@redhat.com>
3373 Add catch-all gio.h header
3374 Don't install gdummyfile.h
3376 2007-11-26 Alexander Larsson <alexl@redhat.com>
3378 * Makefile.am (gioinclude_HEADERS):
3379 Remove trailing whitespace
3381 2007-11-26 Alexander Larsson <alexl@redhat.com>
3383 Merge gio-standalone into glib
3385 2007-11-25 Christian Kellner <gicmo@gnome.org>
3387 * gio/goutputstream.c:
3388 Fix small mistake in the docs.
3390 2007-11-21 Christian Persch <chpe@gnome.org>
3392 * gio/glocalfile.c: (g_local_file_trash):
3393 Convert filenames to UTF-8 for GError.
3394 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3395 as per xdg base dir spec.
3397 2007-11-21 Christian Persch <chpe@gnome.org>
3399 * gio/gdesktopappinfo.c:
3400 Use that g_key_file_to_data cannot fail.
3402 Use stock defines for the key file group and key names.
3405 2007-11-21 Alexander Larsson <alexl@redhat.com>
3408 (copy_stream_with_progress):
3409 Make sure we do a final progress callback with
3410 the full total size.
3412 2007-11-21 Alexander Larsson <alexl@redhat.com>
3415 Export g_file_copy_attributes
3416 Remove padding as its not needed for interfaces
3418 2007-11-20 Alexander Larsson <alexl@redhat.com>
3423 Add G_IO_ERROR_WOULD_MERGE for
3424 copy/move dir on dir with overwrite.
3426 2007-11-20 Alexander Larsson <alexl@redhat.com>
3429 * gio/glocalfileinfo.c:
3430 Add COPY_NAME (this is an optional
3431 non-modified utf8 version of the name) that
3434 2007-11-20 Alexander Larsson <alexl@redhat.com>
3436 * gio/glocalfileenumerator.c:
3437 Report errors as GIOError, not GFileError
3439 2007-11-16 Alexander Larsson <alexl@redhat.com>
3441 * gio/glocalfileoutputstream.c:
3442 * gio/gwin32appinfo.c:
3443 Fix typos in strings.
3444 Patch from Luca Ferretti <elle.uca@libero.it>
3446 2007-11-15 Alexander Larsson <alexl@redhat.com>
3449 Post release version bump
3451 === gio-standalone 0.1.2 ===
3453 2007-11-15 Alexander Larsson <alexl@redhat.com>
3455 * docs/reference/gio/Makefile.am:
3456 Fix up distcheck by removing weird
3462 2007-11-14 Alexander Larsson <alexl@redhat.com>
3464 * gio/gdesktopappinfo.c:
3465 * gio/glocaldirectorymonitor.c:
3467 * gio/glocalfileinfo.c:
3468 * gio/inotify/inotify-sub.c:
3469 * programs/gio-cat.c:
3470 * programs/gio-copy.c:
3471 * programs/gio-info.c:
3472 * programs/gio-ls.c:
3473 * programs/gio-monitor-dir.c:
3474 * programs/gio-monitor-file.c:
3475 * programs/gio-mount.c:
3476 * programs/gio-move.c:
3477 * programs/gio-rm.c:
3478 * programs/gio-save.c:
3479 * programs/gio-trash.c:
3480 Leak fixes from Kjartan Maraas
3482 2007-11-14 Alexander Larsson <alexl@redhat.com>
3484 * gio/fam/fam-helper.c:
3486 * gio/glocalfileinfo.c:
3490 * gio/inotify/inotify-diag.c:
3491 * gio/inotify/inotify-kernel.c:
3492 Various code cleanups from Kjartan Maraas
3494 2007-11-14 Alexander Larsson <alexl@redhat.com>
3496 * gio/gioscheduler.c:
3498 Set up threadpool so that we cache 2 unused
3499 idle threads for at 15 secs. This means we
3500 will reuse thread-local data (like dbus connections)
3503 2007-11-14 Alexander Larsson <alexl@redhat.com>
3505 * gio/fam/fam-helper.c:
3506 * gio/fam/gfamdirectorymonitor.c:
3507 * gio/fam/gfamfilemonitor.c:
3509 * gio/gcontenttype.c:
3510 * gio/gdatainputstream.c:
3511 * gio/gdataoutputstream.c:
3515 * gio/gfileattribute.h:
3516 * gio/gfileenumerator.c:
3518 * gio/ginputstream.c:
3521 * gio/glocalfileinfo.c:
3522 * gio/goutputstream.c:
3523 * gio/gpollfilemonitor.c:
3524 * gio/gsimpleasyncresult.c:
3525 * gio/gunixmounts.c:
3526 * gio/gunixmounts.h:
3527 * gio/inotify/ginotifydirectorymonitor.c:
3528 * gio/inotify/ginotifyfilemonitor.c:
3529 * gio/inotify/inotify-diag.c:
3530 * gio/inotify/inotify-kernel.c:
3531 * gio/inotify/inotify-path.c:
3533 * gio/test-streams.c:
3534 * programs/gio-info.c:
3535 * programs/gio-monitor-dir.c:
3536 * programs/gio-monitor-file.c:
3537 Various code cleanups from Kjartan Maraas
3539 2007-11-13 Alexander Larsson <alexl@redhat.com>
3542 Handle the uri-scheme calls for dummy files
3544 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3546 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3547 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3548 to avoid clash with the C++ keyword.
3550 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3552 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3553 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3555 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3557 * gio/glocaldirectorymonitor.c:
3558 * gio/glocalfilemonitor.c:
3559 * gio/gunionvolumemonitor.c:
3560 Don't use g_once_init_*() for initializations that could fail and
3561 could leave the initialization variable set to 0 but use GOnce.
3562 This prevents a deadlock on the second call when trying to create
3563 a monitor and no monitor type is available. Thanks to Sven Herzberg
3566 2007-11-11 Sven Herzberg <sven@imendio.com>
3568 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3569 #ifdef (make it work on MacOS X again)
3571 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3573 Fixes Changelog for last two commits (sorry guys).
3575 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3577 * gio/gbufferedinputstream.c:
3578 * gio/gdatainputstream.c:
3580 * gio/gfileoutputstream.c:
3581 * gio/gfilterinputstream.c:
3582 * gio/glocalfileinputstream.c:
3585 More consistency fixes in g*stream.c files.
3586 Significant clean of gfile's documentation, filling in of
3587 asynchronous operations documentation.
3589 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3591 * gio/gasyncresult.c:
3592 * gio/gbufferedinputstream.c:
3593 * gio/gbufferedoutputstream.c:
3594 * gio/gcancellable.c:
3595 * gio/gcontenttype.c:
3596 * gio/gdatainputstream.c:
3597 * gio/gdataoutputstream.c:
3598 * gio/gdesktopappinfo.c:
3601 * gio/gfileattribute.c:
3602 * gio/gio/gfileenumerator.c:
3604 * gio/gfileinputstream.c:
3605 * gio/gfilemonitor.c:
3606 * gio/gfileoutputstream.c:
3607 * gio/ginputstream.c:
3609 * gio/gioscheduler.c:
3610 * gio/gloadableicon.c:
3611 * gio/glocalfileoutputstream.c:
3612 * gio/gmemoryoutputstream.c:
3613 * gio/gmountoperation.c:
3614 * gio/goutputstream.c:
3616 * gio/gsimpleasyncresult.c:
3617 * gio/gunionvolumemonitor.c:
3618 * gio/gunixmounts.c:
3619 * gio/gunixvolume.c:
3623 * gio/gvolumemonitor.c:
3624 Updated documentation stubs, working towards consistency and
3627 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3629 * gio/gmemoryoutputstream.c:
3630 * gio/gmemoryoutputstream.h:
3631 Change g_memory_output_stream_set_free_on_close() to
3632 g_memory_output_stream_set_free_data() as this makes more sense and
3633 is more consistent with GMemoryInputStream.
3635 2007-11-07 Alexander Larsson <alexl@redhat.com>
3642 Change how we find the default vfs so that
3643 we can handle a gvfs failing to init
3645 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3647 * gio/gbufferedoutputstream.c:
3648 * gio/gdatainputstream.c:
3649 * gio/gdataoutputstream.c:
3650 * gio/gfileinputstream.c:
3651 * gio/gfileoutputstream.c:
3652 * gio/gfilterinputstream.c:
3653 * gio/gfilteroutputstream.c:
3654 * gio/ginputstream.c:
3655 * gio/gmemoryinputstream.c:
3656 * gio/gmemoryoutputstream.c:
3657 * gio/goutputstream.c:
3658 * gio/gsimpleasyncresult.c:
3659 * gio/gsocketinputstream.c:
3660 * gio/gsocketoutputstream.c:
3661 Add guards to the remaining public functions, add a TODO for
3662 an unimplemented function and remove some useless guards.
3664 2007-11-07 Alexander Larsson <alexl@redhat.com>
3667 Autoconf checks for the various types of
3668 getpwuid_r and getgrgid_r
3670 * gio/glocalfileinfo.c:
3671 Use the autoconf checks from above
3673 2007-11-07 Alexander Larsson <alexl@redhat.com>
3676 (g_local_file_query_filesystem_info):
3677 Some fixes for the statvfs case
3679 2007-11-07 Alexander Larsson <alexl@redhat.com>
3682 (g_local_file_query_filesystem_info):
3683 Pick the "best" of statfs / statvfs for the system
3684 if both are availible.
3686 2007-11-07 Alexander Larsson <alexl@redhat.com>
3688 Solaris fixes from Halton.Huo@Sun.COM:
3695 * gio/glocalfileinfo.c:
3696 Fix for solaris definition of getpwuid_r
3698 * gio/test-streams.c:
3699 Use G_GNUC_PRETTY_FUNCTION
3701 2007-11-07 Alexander Larsson <alexl@redhat.com>
3703 * gio/gdesktopappinfo.c:
3704 (update_default_list):
3705 Remove double semicolon.
3706 Patch from Jens Granseuer
3708 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3710 * docs/reference/gio/gio-sections.txt:
3711 * gio/gbufferedinputstream.c:
3712 * gio/gbufferedinputstream.h:
3713 * gio/gdatainputstream.c:
3714 * gio/gfileenumerator.c:
3715 * gio/gioscheduler.c:
3716 * gio/gunionvolumemonitor.c:
3718 * programs/gio-save.c:
3719 Fix typo: availible -> available. Unfortuntely this breaks API
3720 and ABI as g_buffered_input_stream_get_available() was renamed.
3722 * gio/gunixmounts.c:
3723 * gio/gbufferedinputstream.c:
3724 Add guards for public functions.
3726 2007-11-06 Ross Burton <ross@openedhand.com>
3728 * docs/reference/gio/Makefile.am:
3729 Fix invalid += usage which automake 1.10 doesn't like.
3731 2007-11-06 Alexander Larsson <alexl@redhat.com>
3734 (g_app_launch_context_class_init):
3737 Patch from Ross Burton
3739 2007-11-06 Alexander Larsson <alexl@redhat.com>
3742 Post release version bump
3744 === gio-standalone 0.1.1 ===
3746 2007-11-06 Alexander Larsson <alexl@redhat.com>
3749 Bump version to 0.1.1
3751 * gio/gsimpleasyncresult.c:
3752 (g_simple_async_result_set_from_error):
3753 Remove bogus g_return_if_fail
3755 2007-11-06 Alexander Larsson <alexl@redhat.com>
3758 The name is gio-standalone
3761 Add top src/builddir to includedir
3763 2007-11-06 Alexander Larsson <alexl@redhat.com>
3765 * docs/reference/gio/gio-sections.txt:
3767 * gio/gbufferedinputstream.c:
3768 * gio/gbufferedoutputstream.c:
3769 * gio/gcancellable.c:
3770 * gio/gdatainputstream.h:
3771 * gio/gdataoutputstream.c:
3772 * gio/gdataoutputstream.h:
3773 * gio/gdirectorymonitor.c:
3775 * gio/gfileattribute.c:
3776 * gio/gfileattribute.h:
3777 * gio/gfileenumerator.c:
3778 * gio/gfileenumerator.h:
3781 * gio/gfileinputstream.h:
3782 * gio/gfilemonitor.c:
3783 * gio/gfileoutputstream.h:
3784 * gio/glocalfilemonitor.h:
3785 * gio/glocalfileoutputstream.h:
3786 * gio/gmemoryinputstream.c:
3787 * gio/gmemoryoutputstream.c:
3788 * gio/gmountoperation.c:
3789 * gio/goutputstream.c:
3790 * gio/goutputstream.h:
3792 * gio/gsimpleasyncresult.c:
3793 * gio/gunixmounts.c:
3794 * gio/gunixmounts.h:
3796 * gio/inotify/inotify-helper.c:
3797 Fix gtk-doc warnings
3799 Patch from Ross Burton
3801 2007-11-06 Alexander Larsson <alexl@redhat.com>
3803 * gio/gfilenamecompleter.c:
3804 (g_filename_completer_get_completions):
3807 * gio/gunixvolume.c:
3808 Remove unused function
3810 Patches from Ross Burton
3812 2007-11-06 Alexander Larsson <alexl@redhat.com>
3817 Padding not needed for interfaces
3819 2007-11-06 Alexander Larsson <alexl@redhat.com>
3821 * gio/gfilemonitor.c:
3825 Make giotypes.h an internal file
3828 * gio/gbufferedinputstream.h:
3829 * gio/gbufferedoutputstream.h:
3830 * gio/gcancellable.h:
3831 * gio/gdatainputstream.h:
3832 * gio/gdataoutputstream.h:
3833 * gio/gdirectorymonitor.c:
3834 * gio/gdirectorymonitor.h:
3839 * gio/gfileattribute.h:
3840 * gio/gfileenumerator.h:
3845 * gio/gfilemonitor.c:
3846 * gio/gfilemonitor.h:
3847 * gio/gfilenamecompleter.c:
3848 * gio/gfilenamecompleter.h:
3849 * gio/gfilterinputstream.h:
3850 * gio/gfilteroutputstream.h:
3851 * gio/ginputstream.h:
3852 * gio/gmemoryinputstream.h:
3853 * gio/gmemoryoutputstream.h:
3854 * gio/gmountoperation.c:
3855 * gio/gmountoperation.h:
3856 * gio/gnativevolumemonitor.c:
3857 * gio/goutputstream.h:
3860 * gio/gsimpleasyncresult.c:
3861 * gio/gsimpleasyncresult.h:
3862 * gio/gsocketinputstream.h:
3863 * gio/gsocketoutputstream.h:
3864 * gio/gthemedicon.c:
3865 * gio/gthemedicon.h:
3869 * gio/gvolumemonitor.c:
3870 * gio/gvolumemonitor.h:
3871 Add padding in classes where it seems useful
3872 Don't include giotypes.h from public headers
3873 Move in Class definitions into c file where possible
3878 2007-11-06 Alexander Larsson <alexl@redhat.com>
3880 * docs/reference/gio/gio-docs.xml:
3881 Better structure for API docs
3883 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3886 * gio/gloadableicon.c:
3887 * gio/gsimpleasyncresult.c:
3888 * gio/gthemedicon.c:
3889 Add some more guards to public functions. Only files missing are now
3892 2007-11-06 Alexander Larsson <alexl@redhat.com>
3894 * docs/reference/gio/gio-docs.xml:
3895 Remove old files, add missing ones
3897 2007-11-06 Alexander Larsson <alexl@redhat.com>
3899 * docs/reference/gio/gio-sections.txt:
3902 Hide implementation classes
3904 * gio/gdriveprivate.h:
3905 * gio/gvolumeprivate.h:
3906 Remove non-existing function declarations
3908 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3911 Fix compilation warnings and add guards to the new functions.
3913 * gio/gasyncresult.c:
3915 Add guards to the public functions.
3918 Implement get_path().
3920 2007-11-06 Alexander Larsson <alexl@redhat.com>
3922 * gio/gfilenamecompleter.c:
3923 Make g_filename_completer_get_completions
3924 return char ** instead of GList for
3927 * docs/reference/gio/gio-docs.xml:
3928 * docs/reference/gio/gio-sections.txt:
3930 * gio/gasyncresult.c:
3931 * gio/gbufferedinputstream.c:
3932 * gio/gbufferedoutputstream.c:
3933 * gio/gcancellable.c:
3934 * gio/gcontenttype.c:
3935 * gio/gdatainputstream.c:
3936 * gio/gdataoutputstream.c:
3937 * gio/gdesktopappinfo.c:
3938 * gio/gdirectorymonitor.c:
3942 * gio/gfileattribute.c:
3943 * gio/gfileenumerator.c:
3946 * gio/gfileinputstream.c:
3947 * gio/gfilemonitor.c:
3948 * gio/gfilenamecompleter.c:
3949 * gio/gfilenamecompleter.h:
3950 * gio/gfileoutputstream.c:
3951 * gio/gfilterinputstream.c:
3953 * gio/ginputstream.c:
3955 * gio/gioscheduler.c:
3956 * gio/gloadableicon.c:
3957 * gio/glocaldirectorymonitor.c:
3959 * gio/glocalfileinputstream.c:
3960 * gio/glocalfilemonitor.c:
3961 * gio/glocalfileoutputstream.c:
3963 * gio/gmemoryinputstream.c:
3964 * gio/gmemoryoutputstream.c:
3965 * gio/gmountoperation.c:
3966 * gio/goutputstream.c:
3967 * gio/gpollfilemonitor.c:
3969 * gio/gsimpleasyncresult.c:
3970 * gio/gsocketinputstream.c:
3971 * gio/gsocketoutputstream.c:
3972 * gio/gthemedicon.c:
3973 * gio/gunionvolumemonitor.c:
3975 * gio/gunixmounts.c:
3976 * gio/gunixvolume.c:
3977 * gio/gunixvolumemonitor.c:
3981 * gio/gvolumemonitor.c:
3982 * gio/gwin32appinfo.c:
3983 Add (mostly stub) doc strings to public functions.
3984 Patch from Andrew Walton (awalton@gmail.com)
3986 2007-11-06 Alexander Larsson <alexl@redhat.com>
3988 * gio/gappinfo.[ch]:
3989 Added GAppLaunchContext object and pass that to launch.
3990 This allows simple implementation of both
3991 launch-on-screen and startup notification via a gtk+
3992 subclass of GAppLaunchContext
3994 * gio/gdesktopappinfo.c:
3995 Implement GAppLaunchContext API
3997 * gio/gwin32appinfo.c:
4000 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4002 * gio/gmountoperation.c:
4003 Add some guards to GMountOperation's public functions.
4005 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4009 * gio/gcancellable.c:
4010 * gio/gdirectorymonitor.c:
4012 * gio/gfileenumerator.c:
4013 * gio/gfilemonitor.c:,
4014 * gio/gfilenamecompleter.c:
4017 * gio/gioscheduler.c:
4021 * gio/gvolumemonitor.c:
4022 Add even more guards to various public functions.
4024 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4027 Add guards to the public functions of GAppInfo.
4029 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4031 * gio/gcontenttype.c:
4032 Add some more guards for public functions.
4034 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4036 * gio/fam/fam-module.c:
4037 * gio/fam/gfamdirectorymonitor.c:
4038 * gio/fam/gfamdirectorymonitor.h:
4039 * gio/fam/gfamfilemonitor.c:
4040 * gio/fam/gfamfilemonitor.h:
4041 * gio/inotify/ginotifydirectorymonitor.c:
4042 * gio/inotify/ginotifydirectorymonitor.h:
4043 * gio/inotify/ginotifyfilemonitor.c:
4044 * gio/inotify/ginotifyfilemonitor.h:
4045 Add proper copyright information and remove an unused variable
4046 in the GInotifyFileMonitor constructor.
4048 * gio/gcancellable.c:
4049 Add a guard for a public function and an assertion to prevent
4050 an undefined program state.
4052 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4054 * gio/gfileattribute.c:
4055 Don't run into an assertion if the given attribute value is NULL
4056 in g_file_attribute_value_get_*() but instead return a fallback
4057 value that makes sense in most situations. Passing them a attribute
4058 value with the wrong type will still run into an assertion.
4060 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4062 * gio/gfileattribute.c:
4064 Add even more guards to the public functions. Also fix the refcounting
4065 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4066 let g_file_info_list_attributes() filter the attributes by namespace
4067 instead of simply ignoring the namespace parameter.
4069 2007-11-03 Sven Herzberg <sven@imendio.com>
4071 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4072 (This makes gio work on MacOS X again)
4074 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4077 Build the gio subdirectory before the docs. Otherwise the build will
4080 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4081 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4082 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4083 Add guards to the public functions.
4085 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4087 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4088 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4089 to prevent a compiler warning.
4091 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4092 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4093 return something in the non-void function find_topdir_for().
4095 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4102 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4104 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4105 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4106 * gwin32appinfo.c (g_win32_app_info_launch):
4107 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4108 envp_for_startup_id, g_desktop_app_info_launch,
4109 g_desktop_app_info_launch_uris):
4111 Give an opaque 'startup_id' string instead of 'envp'.
4112 Support empty file lists for launching new windows.
4113 Fix infinite recursion bug when launching URIs.
4115 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4118 Add guard to the new g_file_get_uri_scheme() function.
4120 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4123 Convert a g_return_val_if_fail() to setting the GError instead as
4124 otherwise applications have to verify the parameter before otherwise
4125 and the parameter might come directly from the user.
4127 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4129 * gio/inotify/ginotify*.[ch]:
4130 Add missing copyright information.
4132 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4135 Add guards in the beginning of public functions to check for valid
4136 parameters and fix a bug in copy_stream_with_progress() that could've
4137 caused writing less bytes than reading.
4138 * gio/glocalfileinfo.c:
4139 Check for a NULL parameter and set the GError accordingly then.
4140 * gio/goutputstream.c:
4141 Fix the same bug as in gfile.c that could've caused writing less bytes
4142 than reading in g_output_stream_real_splice().
4144 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4147 Use the correct gvolumeprivate.h naming
4149 2007-11-01 Christian Kellner <gicmo@gnome.org>
4152 Remove leftover "$(daemon_sources)" entry.
4154 2007-11-01 Christian Kellner <gicmo@gnome.org>
4159 Add copyright information to source files.
4161 2007-11-01 Alexander Larsson <alexl@redhat.com>
4165 Add g_file_get_uri_scheme
4167 2007-11-01 Alexander Larsson <alexl@redhat.com>
4170 * gio/gdesktopappinfo.c:
4171 * gio/gwin32appinfo.c:
4172 Add g_app_info_get_default_for_uri_scheme.
4174 2007-11-01 Alexander Larsson <alexl@redhat.com>
4177 Correct filename for gdriveprivate.h
4179 2007-10-31 Alexander Larsson <alexl@redhat.com>
4182 Rename id:value to id:file
4185 * gio/glocalfileinfo.c:
4188 2007-10-31 Alexander Larsson <alexl@redhat.com>
4190 * gio/gunixvolume.c:
4192 Remove g_volume_get_platform_id, as thats not
4193 needed with the simpler union volume monitor
4195 2007-10-31 Alexander Larsson <alexl@redhat.com>
4198 * gio/guniondrive.[ch]: Removed.
4199 * gio/gunionvolume.[ch]: Removed.
4200 Remove GUnionDrive/Volume
4202 * gio/gunionvolumemonitor.c:
4203 Simplify union volume monitor, now we
4204 only have one native volume monitor and
4205 we use the actual volumes/drives from the
4206 child monitors instead of wrapping them
4208 * gio/gnativevolumemonitor.[ch]:
4209 Base class for native volume monitors.
4210 Includes priority and get_volume_for_mountpoint
4213 Add g_file_find_enclosing_volume
4216 Remove volume name fs attribute
4217 Add readonly fs attribute
4220 Implement readonly attribute
4221 remove volume name attribute
4222 Implement find_enclosing volume
4224 * gio/gunixmounts.c:
4225 Add a volume for "/".
4227 * gio/gunixvolume.[ch]:
4228 Set better name for /
4230 * gio/gunixvolumemonitor.[ch]:
4231 Derive from GNativeVolumeMonitor
4232 Implement get_volume_for_mountpoint
4235 GVolume typedef moved to gfile.h
4237 * gio/gvolumeprivate.h:
4238 Add g_volume_get_for_mount_path
4240 2007-10-31 Alexander Larsson <alexl@redhat.com>
4242 * gio/gunixmounts.[ch]:
4243 Add cache info to unix mount listers
4244 Make getmntent use threadsafe
4245 Add is_system_internal attribute for GUnixMount
4247 * gio/gunixvolume.c:
4248 (g_unix_volume_new):
4249 Use is_system_internal instead of own code
4251 * gio/glocaldirectorymonitor.c:
4252 * gio/gunixvolumemonitor.c:
4253 Update to new gunixmounts API
4258 2007-10-30 Alexander Larsson <alexl@redhat.com>
4261 Add volume name fsinfo attribute
4264 Read volume name info
4266 * gio/gunionvolumemonitor.c:
4267 Fix infinite loops when finalizing a union volume monitor
4269 2007-10-30 Alexander Larsson <alexl@redhat.com>
4271 * gio/goutputstream.[ch]:
4272 Add splice() with default implementation
4274 * gio/gsocketoutputstream.c:
4275 (g_socket_output_stream_write):
4276 Return error on cancellation correctly.
4278 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4280 * gio/glocalfile.c (g_local_file_trash):
4281 Do not leak a string.
4283 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4285 * gio/gfile.c (g_file_load_contents):
4286 Unref the stream after closing it.
4288 2007-10-25 Alexander Larsson <alexl@redhat.com>
4290 * gio/gioscheduler.h:
4293 2007-10-25 Alexander Larsson <alexl@redhat.com>
4297 Add g_file_has_uri_scheme and implement for local files
4299 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4301 * gio/gdesktopappinfo.c: do not leak a string.
4303 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4305 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4306 (g_local_directory_monitor_new):
4307 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4308 (g_local_file_monitor_new):
4309 Only look for the monitor type that should be used the first time
4310 and use g_qsort_with_data() instead of our own bubble sort
4313 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4316 * gio/fam/Makefile.am:
4317 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4318 * gio/fam/fam-helper.h:
4319 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4320 * gio/fam/gfamdirectorymonitor.c:
4321 * gio/fam/gfamdirectorymonitor.h:
4322 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4323 * gio/fam/gfamfilemonitor.h:
4324 * gio/glocaldirectorymonitor.c:
4325 * gio/glocaldirectorymonitor.h:
4326 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4327 * gio/glocalfilemonitor.h:
4328 * gio/inotify/Makefile.am:
4329 * gio/inotify/ginotifydirectorymonitor.c:
4330 * gio/inotify/ginotifydirectorymonitor.h:
4331 * gio/inotify/ginotifyfilemonitor.c:
4332 * gio/inotify/ginotifyfilemonitor.h:
4333 Implement the FAM and Inotify monitors as
4334 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4335 their own GIO module. GLocal(Directory|File)Monitor will use the
4336 monitor with the highest rank that is supported on that machine.
4338 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4341 Change GIO module dir to $(libdir)/gio/modules and change
4342 the log domain from GVFS to GIO. Also only export symbols starting
4343 with g_ in the resulting library.
4344 * gio/test-streams.c: (main):
4345 Set log handler for the GIO log domain.
4347 2007-10-22 Alexander Larsson <alexl@redhat.com>
4349 * gio/gfilenamecompleter.[ch]:
4350 Add g_filename_completer_set_dirs_only
4352 2007-10-22 Alexander Larsson <alexl@redhat.com>
4355 * gio/gurifuncs.[ch]:
4356 Add some simple URI helpers
4358 * gio/gfilenamecompleter.[ch]:
4359 Added object for filename (parse name actually) completion
4362 Handle ~ in parse names
4364 2007-10-17 Alexander Larsson <alexl@redhat.com>
4367 * gio/glocalfileinfo.c:
4368 Add and implement id:value attribute
4370 2007-10-17 Alexander Larsson <alexl@redhat.com>
4373 * gio/guniondrive.c:
4375 Add and implement g_drive_has_volumes
4377 2007-10-17 Alexander Larsson <alexl@redhat.com>
4380 * gio/glocalfileinfo.[ch]:
4381 Add unix:is_mountpoint and implement for local files
4383 2007-10-16 Alexander Larsson <alexl@redhat.com>
4385 * gio/gunionvolumemonitor.c:
4386 (g_union_volume_monitor_init):
4387 Fix up the unix type getting so that it works with gcc
4389 2007-10-12 Alexander Larsson <alexl@redhat.com>
4392 * gio/glocalfileinfo.c:
4393 Add thumbnail:failed to file info
4395 2007-10-12 Richard Hult <richard@imendio.com>
4397 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4398 optimizing away the get_type call (happens with some gcc versions,
4399 like the one shipped with OS X 10.4).
4401 2007-10-12 Alexander Larsson <alexl@redhat.com>
4403 * gio/glocalfileinfo.c:
4404 (_g_local_file_info_set_attribute):
4405 Fix build if not HAVE_XATTR
4406 Patch from Milosz Derezynski <internalerror@gmail.com>
4408 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4410 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4411 around for review, otherwise I would have asked you before
4414 2007-10-11 Alexander Larsson <alexl@redhat.com>
4417 Add thumbnail:path attribute
4419 * gio/glocalfileinfo.c:
4420 Implement thumbnail:path for local files
4422 2007-10-11 Alexander Larsson <alexl@redhat.com>
4424 * gio/glocalfileinfo.c:
4425 (_g_local_file_info_get):
4426 Avoid duplicate icon names
4428 2007-10-11 Alexander Larsson <alexl@redhat.com>
4430 * gio/gthemedicon.[ch]:
4431 Change g_themed_icon_get_names return type to const
4433 2007-10-10 Alexander Larsson <alexl@redhat.com>
4435 * gio/glocalfileinfo.c:
4436 Don't reference freed memory
4438 2007-10-10 Alexander Larsson <alexl@redhat.com>
4440 * gio/gfileattribute.c:
4443 * gio/glocalfileinfo.c:
4446 2007-10-10 Alexander Larsson <alexl@redhat.com>
4449 Check for NULL icons
4451 * gio/gfileattribute.c:
4452 Don't dup when getting objects (same as for string attributes)
4454 * gio/gicon.c (g_icon_equal):
4455 Safely handle NULLs in equal
4457 2007-10-10 Alexander Larsson <alexl@redhat.com>
4460 Fix c++ compilation issues
4461 Patch from Milosz Derezynski <internalerror@gmail.com>
4463 2007-10-10 Alexander Larsson <alexl@redhat.com>
4465 * programs/gio-monitor-dir.c:
4466 Don't crash if dir monitor not supported.
4468 2007-10-09 Alexander Larsson <alexl@redhat.com>
4471 Add missing G_END_DECLS
4473 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4475 * gio/gfile.c: (g_file_set_display_name),
4476 (g_file_query_settable_attributes),
4477 (g_file_query_writable_namespaces):
4478 Return NULL not FALSE on errors as the return type is a pointer.
4480 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4482 * gio/glocalfile.c: (g_local_file_monitor_file):
4483 Don't call monitor_file on the default interface vtable (which
4484 is NULL) but simply return NULL. The caller, GFile, will create a
4485 polling monitor if NULL is returned.
4487 2007-10-09 Alexander Larsson <alexl@redhat.com>
4491 * gio-unix-2.0.pc.in:
4492 Add gio-unix-2.0.pc if OS_UNIX
4495 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4497 2007-10-09 Alexander Larsson <alexl@redhat.com>
4499 * gio/gunixmounts.[ch]:
4500 Make unix mount monitoring API sane.
4501 Now its just a object with mounts_changed
4502 and mountpoints_changed signals.
4504 * gio/glocaldirectorymonitor.c:
4505 * gio/gunixvolumemonitor.c:
4506 Use new mount monitor api
4508 2007-10-09 Alexander Larsson <alexl@redhat.com>
4510 * gio/gunixmounts.[ch]:
4511 Move guess type into one call for mounts and one for mountpoints
4514 * gio/gunixvolume.c:
4517 2007-10-09 Alexander Larsson <alexl@redhat.com>
4519 * gio/gunixmounts.[ch]:
4520 Remove _ prefix in preparation to make this semi-public
4521 Hide implementation of structs
4523 * gio/glocaldirectorymonitor.c:
4525 * gio/gunixvolume.c:
4526 * gio/gunixvolumemonitor.c:
4527 Update for above API changes
4529 2007-10-08 Alexander Larsson <alexl@redhat.com>
4532 Better polling fallback. This also handles the case where we have
4533 a monitor_file implementation, but it fails.
4535 2007-10-08 Alexander Larsson <alexl@redhat.com>
4539 * gio/gunixmounts.c:
4540 * programs/gio-monitor-dir.c:
4541 * programs/gio-monitor-file.c:
4542 Added cancellable to file monitoring calls.
4543 These are really sync calls and need this.
4545 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4547 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4548 (g_local_vfs_class_init):
4549 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4550 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4552 2007-10-05 Alexander Larsson <alexl@redhat.com>
4554 * gio/gdirectorymonitorprivate.h:
4555 * gio/gfilemonitorprivate.h:
4556 * gio/gdirectorymonitor.h:
4557 * gio/gfilemonitor.h:
4558 Remove *private.h and move to the public API, so that
4559 we can do implementations outside gio (such as in gvfs)
4561 * gio/gdirectorymonitor.c:
4562 * gio/gfilemonitor.c:
4563 * gio/glocaldirectorymonitor.c:
4564 * gio/gpollfilemonitor.c:
4565 * gio/inotify/inotify-helper.c:
4566 * gio/fam/fam-helper.c:
4567 Update to the new header names
4569 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4571 * gio/gdirectorymonitor.c:
4572 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4575 2007-10-04 Alexander Larsson <alexl@redhat.com>
4577 * gio/glocalfileinfo.c (get_access_rights):
4578 Set CAN_TRASH when we can move the file.
4579 We should really also check for a parent trash dir.
4581 2007-10-04 Alexander Larsson <alexl@redhat.com>
4583 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4584 Add can_trash access attribute
4586 2007-10-04 Alexander Larsson <alexl@redhat.com>
4589 (g_local_file_trash):
4590 Create info file first. This is per-spec and allows
4591 us to actually trash directories.
4593 2007-10-02 Alexander Larsson <alexl@redhat.com>
4595 * gio/gdesktopappinfo.c:
4596 Implement the new mime support code.
4597 Always set app as handling mimetype when being set as default for it
4599 2007-10-01 Alexander Larsson <alexl@redhat.com>
4601 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4602 Fix up check for xattrs:
4604 2007-10-01 Alexander Larsson <alexl@redhat.com>
4607 (g_app_info_set_as_default_for_extension):
4608 (g_app_info_add_supports_type):
4609 (g_app_info_can_remove_supports_type):
4610 (g_app_info_remove_supports_type):
4611 Make these fail nicely if not implemented
4613 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4615 * gio/glocalfileoutputstream.c:
4616 * gio/glocalfileoutputstream.h:
4621 * programs/gio-save.c:
4622 Add a GFileCreateFlags argument to operations that can create
4625 2007-10-01 Alexander Larsson <alexl@redhat.com>
4627 * gio/gappinfo.[ch]:
4628 * gio/gdesktopappinfo.c:
4629 Add more (stubbed out) mime API needed for nautilus
4631 2007-10-01 Alexander Larsson <alexl@redhat.com>
4634 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4635 Add g_app_info_set_as_default_for_extension.
4637 * gio/gdesktopappinfo.c:
4638 Dummy for g_app_info_set_as_default_for_extension
4639 Support flags in g_app_info_create_from_commandline
4641 * gio/gwin32appinfo.c:
4643 Update for API changes
4645 * gio/gthemedicon.c:
4646 Properly NULL-terminate list of icon names
4648 2007-09-28 Alexander Larsson <alexl@redhat.com>
4650 * gio/gloadableicon.h:
4651 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4653 2007-09-28 Alexander Larsson <alexl@redhat.com>
4656 Install headers in $includedir/gio-standalone/
4658 * gio-2.0.pc.in: Added.
4659 * gio-standalone.pc.in: Removed.
4662 Renamed pkg-config file to match glib (for future move)
4663 Update to the new include dir
4666 Add more TODO comments
4668 2007-09-28 Alexander Larsson <alexl@redhat.com>
4670 * gio/gdesktopappinfo.[ch]:
4671 Expose new_from_filename
4672 Add getter for is_hidden and handle it better
4674 2007-09-28 Alexander Larsson <alexl@redhat.com>
4676 * gio/gfileinfo.[ch]:
4677 Rename g_file_size_format_for_display to
4678 g_format_file_size_for_display.
4679 Now it doesn't have the g_file prefix, so we
4680 can later move it to glib.
4682 2007-09-28 Alexander Larsson <alexl@redhat.com>
4684 * gio/gappinfo.[ch]:
4685 Add g_app_info_get_id and g_app_info_get_executable.
4686 Make all getters non-reffing
4687 Make g_app_info_launch take GFile arguments.
4688 Add must_support_uris argument to g_app_info_get_default_for_type.
4690 * gio/gwin32appinfo.c:
4691 Update to GAppInfo api changes
4693 * gio/gdesktopappinfo.c:
4694 Update to GAppInfo api changes
4695 Implement supports_xdg_startup_notify
4697 * gio/gfileicon.c (g_file_icon_get_file):
4698 Make getter non-reffing.
4703 2007-09-27 Alexander Larsson <alexl@redhat.com>
4705 * gio/gfileinfo.[ch]:
4706 Add g_file_size_format_for_display helper
4708 2007-09-27 Alexander Larsson <alexl@redhat.com>
4710 * gio/glocalfileinfo.c:
4711 Set UNIX_GID from gid, not from uid
4713 2007-09-27 Alexander Larsson <alexl@redhat.com>
4716 Add g_file_set_attributes_async
4718 2007-09-27 Alexander Larsson <alexl@redhat.com>
4720 * gio/glocalfile.c (g_local_file_set_display_name):
4721 Fix set_display_name to actually rename to the right place.
4722 Use lstat to look for existing files so we don't overwrite
4725 2007-09-26 Alexander Larsson <alexl@redhat.com>
4728 Add g_file_set_display_name_async()
4730 2007-09-26 Alexander Larsson <alexl@redhat.com>
4733 Add load_partial_contents async calls
4736 Make internal function static
4738 2007-09-26 Alexander Larsson <alexl@redhat.com>
4740 * gio/glocalfileinfo.c:
4741 Correctly detect broken symlinks
4743 2007-09-26 Alexander Larsson <alexl@redhat.com>
4745 * gio/gcancellable.c (g_cancellable_cancel):
4746 Allow cancel on NULL cancellable
4748 2007-09-25 Alexander Larsson <alexl@redhat.com>
4750 * gio/gsimpleasyncresult.c:
4751 Don't allocate g_error manually.
4752 Fixes g_slice/g_new mixup crash
4754 2007-09-25 Alexander Larsson <alexl@redhat.com>
4756 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4757 Actually set active_backend.
4758 This means the monitor will be cancelled correctly.
4760 2007-09-25 Alexander Larsson <alexl@redhat.com>
4762 * gio/gdirectorymonitor.c:
4763 Set timeout to NULL when destroying
4765 2007-09-25 Alexander Larsson <alexl@redhat.com>
4768 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4769 that is a better description of the error.
4771 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4773 * gio/gvfs.c: (g_vfs_get_local):
4774 Make the local vfs variable static. The same instance should
4777 2007-09-24 Alexander Larsson <alexl@redhat.com>
4779 * gio/glocalfileinfo.c:
4780 Pass in actual length read into sniffer, not the length
4783 2007-09-21 Alexander Larsson <alexl@redhat.com>
4785 * gio/gfileenumerator.c:
4788 * gio/gfileinputstream.c:
4789 * gio/gfileoutputstream.c:
4790 * gio/ginputstream.c:
4791 * gio/goutputstream.c:
4792 Don't crash if async callbacks are NULL
4794 2007-09-20 Alexander Larsson <alexl@redhat.com>
4797 Add async enumerate_children method and default
4800 2007-09-20 Alexander Larsson <alexl@redhat.com>
4803 Add g_file_contains_file & g_file_get_relative_path, since they
4804 were needed for nautilus.
4805 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4810 Implement new methods
4812 2007-09-17 Alexander Larsson <alexl@redhat.com>
4815 * gio/gfileinputstream.[ch]:
4816 * gio/gfileoutputstream.[ch]:
4818 * gio/glocalfileenumerator.[ch]:
4819 * gio/glocalfileinfo.[ch]:
4820 * gio/glocalfileinputstream.c:
4821 * gio/glocalfileoutputstream.c:
4822 * gio/gpollfilemonitor.c:
4823 * programs/gio-copy.c:
4824 * programs/gio-info.c:
4825 * programs/gio-move.c:
4826 Rename get_file_info to query_info() to make it clearer
4827 that these are not simple getters, but do i/o.
4829 2007-09-17 Alexander Larsson <alexl@redhat.com>
4831 * gio/gdatainputstream.[ch]:
4832 * gio/test-streams.c:
4833 Use _read_XXX instead of _get_XXX for the i/o calls
4836 2007-09-17 Alexander Larsson <alexl@redhat.com>
4839 Added needed stuff to TODO comment
4841 2007-09-17 Alexander Larsson <alexl@redhat.com>
4843 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4844 Don't error out removing the backup copy if it doesn't
4847 2007-09-14 Alexander Larsson <alexl@redhat.com>
4849 * programs/Makefile.am:
4850 * programs/gvfs-*.c:
4852 Renamed apps from gvfs-xxx to gio-xxx.
4854 2007-09-14 Alexander Larsson <alexl@redhat.com>
4857 * gio/gfileoutputstream.[ch]:
4858 * gio/glocalfileoutputstream.c:
4859 * programs/gvfs-save.c:
4860 g_file_output_stream_get_etag doesn't do i/o, so remove
4861 cancellation and error.
4863 2007-09-14 Alexander Larsson <alexl@redhat.com>
4866 Add new_etag output to replace_contents functions
4868 2007-09-14 Alexander Larsson <alexl@redhat.com>
4870 * gio/gfileoutputstream.[ch]:
4871 Add async get_file_info and default implementation
4873 2007-09-14 Alexander Larsson <alexl@redhat.com>
4875 * gio/gfileinputstream.c:
4876 Implement fallback wrapper for async get_file_info
4878 2007-09-14 Alexander Larsson <alexl@redhat.com>
4881 Add etag out argument to load_contents
4886 2007-09-14 Alexander Larsson <alexl@redhat.com>
4888 * gio/gcontenttype.c (looks_like_text):
4889 Whitespace like tab, cr and lf do not make the
4892 2007-09-14 Alexander Larsson <alexl@redhat.com>
4894 * gio/gfileinputstream.[ch]:
4895 Add async get_file_info.
4897 2007-09-13 Alexander Larsson <alexl@redhat.com>
4899 * gio/goutputstream.c (g_output_stream_write_all):
4900 Allow NULL for bytes_written
4902 2007-09-13 Alexander Larsson <alexl@redhat.com>
4904 * gio/gmemoryinputstream.[ch]:
4905 Add accessors for data
4907 2007-09-13 Alexander Larsson <alexl@redhat.com>
4909 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4910 Don't crash if length is NULL