1 2008-09-06 Matthias Clasen <mclasen@redhat.com>
3 Bug 551149 – xdgmime mem leak
5 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
6 a memory leak. Patch by Christian Persch
8 2008-09-04 Tor Lillqvist <tml@novell.com>
10 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
13 2008-09-02 Matthias Clasen <mclasen@redhat.com>
15 * === Released 2.18.0 ===
17 2008-09-02 Michael Natterer <mitch@imendio.com>
19 * *.h: big header formatting cleanup: indentation, vtable
20 formatting, consistent spacing in (* vfunc), trailing whitespace
21 removal. Formatting should be pretty consistent in all GIO headers
24 2008-09-02 Matthias Clasen <mclasen@redhat.com>
26 * gmount.h: Document guess_content_type sync vfunc.
28 2008-09-02 Michael Natterer <mitch@imendio.com>
30 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
31 fix parent_class member to be GFilterOutputStreamClass (not
32 GOutputStreamClass). Drop three pointers of padding, which is
33 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
34 so the class struct size stays the same.
36 2008-09-02 Matthias Clasen <mclasen@redhat.com>
38 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
40 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
41 nonexisting return values. Pointed out by Cosimo Cecchi.
43 2008-08-23 Tor Lillqvist <tml@novell.com>
45 Bug 548988 - g_file_replace fails on Windows when the target file
48 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
49 Windows, close the file before potentially renaming it (in case we
50 have been writing to a file with a temporary name).
52 (g_local_file_output_stream_close, handle_overwrite_open): Use
53 GLocalFileStat instead of plain struct stat, for passing to
54 _g_local_file_info_create_etag(). Thus also use _fstati64()
55 instead of plain fstat() on Windows.
57 2008-08-18 Matthias Clasen <mclasen@redhat.com>
59 * === Released 2.17.7 ===
61 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
63 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
66 2008-08-13 Tor Lillqvist <tml@novell.com>
70 * win32/gwinhttpfile.c
71 * win32/gwinhttpfileinputstream.c
72 * win32/gwinhttpfileoutputstream.c: Refactor some common code
73 snippets into helper functions. Check HTTP response status
74 codes. Implement g_winhttp_file_query_info(), looking at
75 Content-Length, Content-Type and Last-Modified.
77 * win32/winhttp.h: Add some symbolic constants that are not
78 publicly documented. Just a handful, so it should be OK to use
79 information from the Windows SDK's headers.
81 2008-08-13 Tor Lillqvist <tml@novell.com>
83 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
86 * win32/gwin32directorymonitor.c
87 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
89 2008-08-13 Matthias Clasen <mclasen@redhat.com>
92 * goutputstream.c: Add intro docs.
94 2008-08-13 Tor Lillqvist <tml@novell.com>
96 * win32/gwinhttpfileoutputstream.c
97 (g_winhttp_file_output_stream_write): Don't write the
98 Content-Length header ourselves, WinHttpSendRequest() takes care
99 of that when the dwTotalLength parameter is non-zero. Increment
100 offset by the number of actual bytes sent, although I wonder if
101 such a scenario is possible where less than requested would be
102 sent and accepted by the server without errors.
104 2008-08-13 Tor Lillqvist <tml@novell.com>
106 * win32/gwinhttpvfs.c
107 * win32/gwinhttpvfs.h
108 * win32/gwinhttpfile.c
109 * win32/gwinhttpfile.h
110 * win32/gwinhttpfileinputstream.c
111 * win32/gwinhttpfileinputstream.h
112 * win32/gwinhttpfileoutputstream.c
113 * win32/gwinhttpfileoutputstream.h: New files implementing
114 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
115 Windows. The implementation uses the WinHttp API. Both reading and
116 writing are supported, i.e. GET and PUT requests. When writing,
117 each write call is done using a separate PUT request with a
118 Content-Range header. Requests for file URIs and plain pathnames
119 are forwarded to GLocalVfs.
121 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
122 WINE. Used as there is no <winhttp.h> bundled with mingw, and
123 requiring people to download the Windows SDK just for this one
124 header is not reasonable.
126 * win32/Makefile.am: Add above files.
128 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
129 the plumbing for the above.
131 2008-08-11 Sven Neumann <sven@gimp.org>
133 * gfilenamecompleter.c
134 * glocaldirectorymonitor.c
136 * gunionvolumemonitor.c
140 * gunixvolumemonitor.c
143 * gwin32volumemonitor.c: use canonical signal names.
145 2008-08-11 Tor Lillqvist <tml@novell.com>
147 * Makefile.am: Put a list of the platform-dependent .la files in
148 the subdirectories in the platform_deps Make variable, and make
149 libgio-2.0.la depend on that, so that it gets relinked if one of
150 the dependent libraries has changed.
152 2008-08-11 Tor Lillqvist <tml@novell.com>
154 * Makefile.am (platform_libadd): Remove -lwininet which had been
155 added by mistake. We will probably eventually be using WinHTTP,
156 not the older WinInet anyway. (Actually I am working on it.)
158 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
160 Bug 547080 – g_file_copy leaks expected errors
162 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
163 before trying the next fallback routine.
165 2008-08-09 Loïc Minier <lool@dooz.org>
167 Bug 535124 – umask 002 not being applied for new directories, new
168 files get the correct umask
170 * gfile.c (g_file_make_directory)
171 (g_file_make_directory_with_parents): Document ownership and
172 permissions of newly created directories as being the default
175 2008-08-08 Loïc Minier <lool@dooz.org>
177 Bug 535124 – umask 002 not being applied for new directories, new
178 files get the correct umask
180 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
183 2008-08-08 Tor Lillqvist <tml@novell.com>
185 * gwin32mount.c: Remove unused code. Whitespace cleanup.
187 * gwin32volumemonitor.c (get_connected_drives): Put questionable
188 code that didn't actually do anything inside #if 0, and add a
189 comment wondering what the code was supposed to do. This also gets
190 rid of a leftover debugging printout.
192 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
194 * gfileicon.c (g_file_icon_get_property)
195 (g_file_icon_set_property): New functions.
196 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
198 (g_file_icon_new): Use the property (bug #546132).
200 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
202 * gthemedicon.c (g_themed_icon_get_property): Also handle
203 `PROP_USE_DEFAULT_FALLBACKS'.
204 (g_themed_icon_class_init): Make
205 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
207 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
209 Bug 546371 – Improve docs re g_file_monitor
211 * gfilemonitor.c: Mention g_file_monitor() in the docs.
213 2008-08-04 Matthias Clasen <mclasen@redhat.com>
215 * === Released 2.17.6 ===
217 2008-08-04 Matthias Clasen <mclasen@redhat.com>
219 * === Released 2.17.5 ===
221 2008-08-04 Matthias Clasen <mclasen@redhat.com>
223 Bug 546017 – Don't copy attributes when copying a symlink
225 * gfile.c (g_file_copy_attributes): Specify
226 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
227 g_file_set_attributes_from_info. Patch by Christian Kellner
229 2008-08-04 Matthias Clasen <mclasen@redhat.com>
231 * gemblemedicon.[hc]:
233 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
234 a bit more extensible. Work by Clemens Buss.
236 * gioenums.h: Add GEmblemOrigin.
239 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
241 Bug 546079 – leak in xdgmime
243 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
245 2008-08-03 Tor Lillqvist <tml@novell.com>
247 * win32/gwin32directorymonitor.h
248 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
251 2008-08-03 Tor Lillqvist <tml@novell.com>
253 * win32/gwin32directorymonitor.c
254 (g_win32_directory_monitor_callback): Make prototype match
255 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
256 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
259 (g_win32_directory_monitor_constructor):
260 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
261 names in the GLib API on Windows, so convert to UTF-16 and open
264 2008-08-03 Tor Lillqvist <tml@novell.com>
266 Bug 541036 - Gnumeric crashes when trying to open Desktop or
267 user's folder under Windows
269 * win32/gwin32directorymonitor.c
270 (g_win32_directory_monitor_constructor): Ignore error from
271 CreateFile() when opening directory. Instead of asserting, just
272 store INVALID_HANDLE_VALUE then in
273 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
274 ReadDirectoryChangesW().
275 (g_win32_directory_monitor_cancel): Don't attempt to close
276 directory handle if it is INVALID_HANDLE_VALUE.
278 2008-08-01 Matthias Clasen <mclasen@redhat.com>
280 * gdesktopappinfo.c: Remove debug spew
282 2008-08-01 Hans Breuer <hans@breuer.org>
284 * makefile.msc : add gemblembedicon
286 2008-07-30 Matthias Clasen <mclasen@redhat.com>
288 Bug 545457 – gdmsetup crashed with SIGSEGV in
289 g_unix_mount_guess_should_display()
291 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
292 crash if no mount is found.
294 2008-07-28 Matthias Clasen <mclasen@redhat.com>
296 Bug 545203 – gfile.c: argument is different type.
298 * gfile.c (open_read_async_thread): Pass a GError **
299 to g_file_set_error_literal.
300 Reported by Kazuki Iwamoto
302 2008-07-28 Matthias Clasen <mclasen@redhat.com>
304 Bug 545157 – wrong/no list of "open with" applications for .cc and
307 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
308 Collect all ancestors, not just direct parents. Pointed
309 out by Bastien Nocera
311 2008-07-28 Matthias Clasen <mclasen@redhat.com>
313 * Makefile.am: Install gemblemedicon.h
315 2008-07-28 Matthias Clasen <mclasen@redhat.com>
317 * gemblemedicon.[hc]: Add a GIcon implementation that can
318 add an emblem to another icon.
325 * gfileicon.c: Small documentation additions.
327 2008-07-28 Tor Lillqvist <tml@novell.com>
329 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
332 2008-07-27 Tor Lillqvist <tml@novell.com>
334 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
336 2008-07-24 David Zeuthen <davidz@redhat.com>
340 Also export a g_mount_guess_content_type_sync() function.
342 2008-07-23 Matthias Clasen <mclasen@redhat.com>
344 529694 – SELinux context setting support
346 * gfileinfo.c: Support setting selinux attributes.
347 Patch by Tomas Bzatek
349 2008-07-22 Priit Laes <plaes@plaes.org>
351 Bug 544140 - fam-helper 64-bit issue?
353 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
355 2008-07-21 Matthias Clasen <mclasen@redhat.com>
357 * === Released 2.17.4 ===
359 2008-07-20 Matthias Clasen <mclasen@redhat.com>
361 * gvolumemonitor.[hc]:
366 * gmount.c: Documentation fixes
368 2008-07-19 Matthias Clasen <mclasen@redhat.com>
370 543504 – crash in Epiphany Web Browser: Opening local file
381 * gvolume.c: Register types thread-safely.
382 Patch by Christian Persch
384 2008-07-18 Matthias Clasen <mclasen@redhat.com>
386 * gcontenttype.c: Remove debug spew
388 2008-07-18 Matthias Clasen <mclasen@redhat.com>
390 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
393 * fen/fen-kernel.c: Remove a warning that was causing
394 crashes. Reported by Lin Ma.
396 2008-07-18 Matthias Clasen <mclasen@redhat.com>
398 Bug 543040 – async reading on dummy file will crash on
401 * gfile.c (open_read_async_thread): Cope with read_fn being
402 NULL. Reported by Lin Ma.
404 2008-07-18 Matthias Clasen <mclasen@redhat.com>
407 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
409 2008-07-16 Matthias Clasen <mclasen@redhat.com>
413 * giomodule.c: Rename a chapter id to avoid filename conflict.
415 2008-07-16 Matthias Clasen <mclasen@redhat.com>
417 Bug 540616 – mem leak in filechooser button
419 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
420 the mount entry. Reported by Chrisitan Persch
422 2008-07-16 Matthias Clasen <mclasen@redhat.com>
424 * gfile.c: Small documentation fixes.
426 2008-07-15 Matthias Clasen <mclasen@redhat.com>
428 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
430 2008-07-08 Matthias Clasen <mclasen@redhat.com>
435 * gmount.c: Documentation improvements.
437 2008-07-08 Matthias Clasen <mclasen@redhat.com>
440 * gmount.[hc]: Add g_mount_guess_content_type().
442 2008-07-06 David Zeuthen <davidz@redhat.com>
445 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
446 is needed for easily handling adoption of foreign volumes by
447 out-of-process volume monitors (#541793)
449 2008-07-06 David Zeuthen <davidz@redhat.com>
451 * gvolumemonitor.[ch]:
452 * gunionvolumemonitor.c: Export the eject-button signal on the
453 volume monitor class (#541794).
455 2008-07-06 Matthias Clasen <mclasen@redhat.com>
457 * gappinfo.c: More doc tweaks
459 2008-07-05 Matthias Clasen <mclasen@redhat.com>
461 * gappinfo.c: Clarify some docs
463 2008-07-03 Matthias Clasen <mclasen@redhat.com>
465 * gdesktopappinfo.c: Fix a stupid mistake.
467 2008-07-02 Matthias Clasen <mclasen@redhat.com>
469 * === Released 2.17.3 ===
471 2008-07-02 Matthias Clasen <mclasen@redhat.com>
473 * gfilemonitor.c: Fix the build.
475 2008-07-02 Matthias Clasen <mclasen@redhat.com>
477 Bug 536160 – Add g_file_monitor()
480 * gfile.[hc]: Add g_file_monitor which can return either
481 a file or a directory monitor. Proposed by Behdad Esfahbod
483 2008-07-02 Matthias Clasen <mclasen@redhat.com>
485 536733 – gio build failure on Irix
487 * glocalfile.c: Use a configure check for structfs.f_bavail.
489 2008-07-02 Matthias Clasen <mclasen@redhat.com>
491 Bug 534639 – add g_desktop_app_info_new_from_keyfile
494 * gdesktopappinfo.[hc]: Add a function to create a
495 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
497 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
499 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
501 2008-07-01 Matthias Clasen <mclasen@redhat.com>
503 * gunixmounts.c: Fix a doc typo.
505 2008-07-01 Cody Russell <bratsche@gnome.org>
507 * gio/gcontenttype.c:
508 * gio/gwin32appinfo.c:
509 * gio/gwin32volumemonitor.c:
510 * gio/gwin32mount.c: Fixed some include problems.
512 2008-07-01 Cody Russell <bratsche@gnome.org>
516 Moved all relevant typedefs into these files.
519 Updated wrt added files.
521 Split types into separate file for easier maintainership. (#538564)
523 2008-06-30 Matthias Clasen <mclasen@redhat.com>
525 Bug 540331 – g_file_append_to () documentation: can return NULL
527 * gfile.c (g_file_append_to): Clarify docs.
530 2008-06-30 Matthias Clasen <mclasen@redhat.com>
532 Bug 539090 – g_content_type_from_mime_type() should unalias
534 * gcontentype.c (g_content_type_from_mime_type): Unalias.
535 Patch by Markus Bergman
537 2008-06-30 Matthias Clasen <mclasen@redhat.com>
539 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
542 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
543 on ppc and alpha. Reported by Mart Raudsepp
545 2008-06-29 Matthias Clasen <mclasen@redhat.com>
548 * tests/memory-output-stream.c: Add some tests for
551 2008-06-29 Matthias Clasen <mclasen@redhat.com>
553 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
556 * gmemoryoutputstream.c (array_resize): Handle truncation to
557 zero correctly. Reported by Akira Tagoh
559 2008-06-29 Matthias Clasen <mclasen@redhat.com>
561 * gmemoryoutputstream.c: Trivial doc fixes
563 2008-06-29 Matthias Clasen <mclasen@redhat.com>
565 Bug 540802 – g_list_prepend doesn't concat lists
567 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
568 one list to another. Pointed out by Jan Arne Petersen
570 2008-06-28 Michael Natterer <mitch@imendio.com>
572 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
574 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
576 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
577 to avoid problems with partial icon themes.
579 2008-06-17 Hans Breuer <hans@breuer.org>
581 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
582 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
583 access again on win32, see bug #538127
584 * giomodule.c : ensure GWin32VolumeMonitor is registered
585 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
586 * Makefile.am makefile.msc : updated
588 2008-06-16 Hans Breuer <hans@breuer.org>
590 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
591 and initialization in one step avoids c99ism
593 2008-06-16 Christian Persch <chpe@gnome.org>
596 * gio/gbufferedinputstream.c
598 * gio/gdatainputstream.c
599 * gio/gdesktopappinfo.c
601 * gio/gfileenumerator.c
602 * gio/gfileinputstream.c
603 * gio/gfileoutputstream.c
605 * gio/glocaldirectorymonitor.c
607 * gio/glocalfileenumerator.c
608 * gio/glocalfileinfo.c
609 * gio/glocalfilemonitor.c
610 * gio/glocalfileoutputstream.c
611 * gio/gmemoryinputstream.c
612 * gio/gmemoryoutputstream.c
613 * gio/goutputstream.c
614 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
617 2008-06-16 Tor Lillqvist <tml@novell.com>
619 Bug 538362 - Get Win32 icons back in the file chooser
621 * gcontenttype.c (g_content_type_get_icon): Look up the icon
622 corresponding to a file extension in the Registry. Patch by Hans
624 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
626 2008-06-16 Tor Lillqvist <tml@novell.com>
628 Patches by Hans Breuer:
630 * glocalfile.c (is_xp_or_later): Handle compiling against older
631 SDK headers with missing VerifyVersionInfo(). Conditioned on
632 _MSC_VER, but should probably use some better test.
633 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
634 uninitialised statfs_result variable on Win32.
636 2008-06-16 Michael Natterer <mitch@imendio.com>
638 * *.c: chain up unconditionally in finalize() and dispose(). Also
639 don't dereference these function pointers when calling them since
640 that has no meaning at all.
642 2008-06-16 Ross Burton <ross@burtonini.com>
645 Remove check for dispose implementation as it annoys Emmanuele.
647 2008-06-16 Ross Burton <ross@burtonini.com>
649 Bug 536252 – GFileEnumerator should allow access to the containing
655 Add g_file_enumerator_get_container() and a container writeable
656 construct-only property. Also shuffle around typedefs to make it
659 * glocalfileenumerator.c:
660 * glocalfileenumerator.h:
662 Instead of a string filename take a GFile in the constructor and
663 use it to set the container property.
668 2008-06-16 Matthias Clasen <mclasen@redhat.com>
670 * gfile.c: Make includes more uniform
672 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
674 * tests/live-g-file.c (sample_struct):
675 Use less fancy unicode filenames, so the test doesn't fail
676 on Mac OS X (#531476).
678 2008-06-12 Matthias Clasen <mclasen@redhat.com>
680 * === Released 2.17.2 ===
682 2008-06-12 Matthias Clasen <mclasen@redhat.com>
684 * === Released 2.17.1 ===
686 2008-06-11 A. Walton <awalton@gnome.org>
688 * tests/g-file.c (test_g_file_new_null):
689 Fix broken test case.
691 2008-06-11 Matthias Clasen <mclasen@redhat.com>
693 * pltcheck.sh: We use g_clear_error now.
695 2008-06-11 Matthias Clasen <mclasen@redhat.com>
697 * glocalfile.c (g_local_file_enumerate_children): Revert
698 an unintended change.
700 2008-06-11 Matthias Clasen <mclasen@redhat.com>
702 * gfile.c (g_file_replace_contents): Don't unref before the last use.
704 2008-06-10 Matthias Clasen <mclasen@redhat.com>
706 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
709 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
710 as icon for the desktop directory, also make user-home and
711 user-desktop the preferred icons.
713 2008-06-10 Matthias Clasen <mclasen@redhat.com>
716 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
717 to add a name to the front of the list.
719 2008-06-10 Matthias Clasen <mclasen@redhat.com>
721 Bug 537392 – Additional colon in xattr name
723 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
724 too. Reported by Alessandro Morandi
726 2008-06-10 Matthias Clasen <mclasen@redhat.com>
728 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
731 * glocalfile.c (get_fs_type): Add afs and autofs.
732 Patch by Danny Baumann.
734 2008-06-10 Matthias Clasen <mclasen@redhat.com>
736 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
738 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
739 is no parent. (Owen Taylor, patch by Christian Neumair)
741 2008-06-10 Paolo Borelli <pborelli@katamail.com>
743 * gfile.c (g_file_replace_contents): do not leak the output stream.
745 2008-06-10 Michael Natterer <mitch@imendio.com>
747 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
748 uninitialized memory as array index.
750 2008-06-10 Tor Lillqvist <tml@novell.com>
752 * gcontenttype.c (g_content_type_can_be_executable)
753 (g_content_type_get_icon) [Win32]: Add TODO comments.
755 2008-06-09 Matthias Clasen <mclasen@redhat.com>
757 * xdgmime/Makefile.am: Fix the build
759 2008-06-09 Matthias Clasen <mclasen@redhat.com>
761 * gcontenttype.c (g_content_type_get_icon): Use icons specified
762 in the shared mime database, if available.
764 * xdgmime/*: Sync with upstream. This brings support for
765 glob weights, generic icons, and changes the cache format to
768 2008-05-28 Michael Natterer <mitch@imendio.com>
770 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
771 the global CPPFLAGS now.
773 * tests/data-input-stream.c
774 * tests/data-output-stream.c
775 * tests/g-file-info.c
777 * tests/live-g-file.c
778 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
780 2008-05-27 Matthias Clasen <mclasen@redhat.com>
782 * === Released 2.17.0 ===
784 * tests/live-g-file.c: Clean up after the tests, so make distcheck
785 doesn't complain about leftover files.
787 2008-05-27 simon.zheng <simon.zheng@sun.com>
789 * glocalfile.c: (g_local_file_query_filesystem_info):
790 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
792 2008-05-26 Michael Natterer <mitch@imendio.com>
794 * gmemoryoutputstream.h: declare
795 g_memory_output_stream_get_data_size().
797 2008-05-26 Matthias Clasen <mclasen@redhat.com>
799 * tests/*: Make tests work
801 2008-05-26 Matthias Clasen <mclasen@redhat.com>
803 * gio.symbols: Add g_memory_output_stream_get_data_size.
805 2008-05-25 Ross Burton <ross@burtonini.com>
808 Fix typo in error message (#534764).
810 2008-05-25 Ross Burton <ross@burtonini.com>
813 Fix circular dependency loop for gioenumtypes.h (#534759).
815 2008-05-19 Hans Breuer <hans@breuer.org>
817 * Makefile.am : EXTRA_DIST += makefile.msc
819 2008-05-17 Matthias Clasen <mclasen@redhat.com>
822 * gcontenttype.c: (g_content_type_from_mime_type):
823 New function to create a content type from a mime type. (#527175,
826 2008-05-17 Matthias Clasen <mclasen@redhat.com>
828 Bug 532965 – Should not return filesystem::free for certain file systems
830 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
831 free space for ncpfs.
833 2008-05-17 Matthias Clasen <mclasen@redhat.com>
835 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
837 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
838 st_dev might be zero.
840 2008-05-16 Tor Lillqvist <tml@novell.com>
842 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
843 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
845 2008-05-13 Bastien Nocera <hadess@hadess.net>
847 * gfile.c (has_valid_scheme): A URI scheme must start with a
848 letter, even if later more characters are allowed (#532852)
850 2008-05-05 Michael Natterer <mitch@imendio.com>
852 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
853 code from being checked in that breaks the build of applications
854 which use G_DISABLE_SINGLE_INCLUDES.
856 * makegioalias.pl: make the alias file include "glib.h" instead of
859 * gio.symbols: whitespace change to force regeneration of the
860 alias file after above script change.
862 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
864 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
866 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
868 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
870 2008-04-28 David Zeuthen <davidz@redhat.com>
872 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
873 displaying mounts in a subdirectory not accessible to the
876 2008-04-22 Michael Natterer <mitch@imendio.com>
878 * Makefile.am: fix library versioning (it was 0.0.0).
880 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
882 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
883 Default disable all loggings.
884 * fen/fen-kernel.c: (printevent), (port_add_kevent),
885 (port_fetch_event_cb): Fixed two macro nits.
887 2008-04-16 Matthias Clasen <mclasen@redhat.com>
889 * xdgmime/xdgmime.c: Rework the timestamp checking code
890 to protect against duplicate directories in XDG_DATA_DIRS.
891 Fixes fd.o bug 12513, reported by Joe Shaw.
893 2008-04-16 Matthias Clasen <mclasen@redhat.com>
895 Partically revert the last commit after realizing that
896 xdg_mime_media_type_equal doesn't have to init at all.
899 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
901 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
903 2008-04-16 Matthias Clasen <mclasen@redhat.com>
905 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
906 reported by Joe Shaw and Federico Mena Quintero.
908 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
909 (xdg_mime_media_type_equal): Turn into a wrapper around the
912 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
913 functions throughout.
915 2008-04-16 Michael Meeks <michael.meeks@novell.com>
917 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
918 tolerate an empty TryExec= line without failing; nautilus used
919 to create launchers with these in previous versions. Fixes #528433
921 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
923 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
924 after name. Fixes #527132.
926 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
928 * gfile.c: (g_file_replace):
931 2008-04-07 Matthias Clasen <mclasen@redhat.com>
933 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
935 * gfile.c (file_copy_fallback): Fix the argument order. Patch
936 by Christian Kellner.
938 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
940 * gunixmounts.c: (g_unix_mount_guess_should_display):
941 Don't list the user directory as a mount, fix potential issue
942 when other users have a similar naming and don't special case the
943 gvfs mounts there since that's not required (#525866)
945 2008-03-31 Alexander Larsson <alexl@redhat.com>
947 * glocalfile.c (get_parent):
950 2008-03-31 A. Walton <awalton@svn.gnome.org>
952 * gfile.c (g_file_query_file_type):
953 Always return a GFileType enum value (#520715).
955 2008-03-31 Alexander Larsson <alexl@redhat.com>
957 * glocalfileenumerator.c:
958 Read readdir() info in chunks (of 1000) and sort
959 the chunks by inode before stat:ing.
960 This is a 20% performance increase in testing
961 gvfs-ls on /usr/bin with cold cache.
963 2008-03-31 Alexander Larsson <alexl@redhat.com>
965 * gmemoryoutputstream.c:
966 Clarify docs for g_memory_output_stream_get_size.
967 Add g_memory_output_stream_get_data_size.
969 2008-03-30 Matthias Clasen <mclasen@redhat.com>
973 * gfile.h: Add g_file_query_file_type convenience function
974 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
976 2008-03-30 Matthias Clasen <mclasen@redhat.com>
979 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
981 2008-03-28 A. Walton <awalton@svn.gnome.org>
983 * giomodule.c (_g_io_modules_ensure_loaded):
984 Adds GIO_EXTRA_MODULES environment variable support, closing bug
987 2008-03-28 Alexander Larsson <alexl@redhat.com>
990 (copy_stream_with_progress):
993 2008-03-28 Alexander Larsson <alexl@redhat.com>
996 (copy_stream_with_progress):
997 (file_copy_fallback):
998 Fallback to g_file_query_info for source size
999 if g_file_input_stream_query_info fails. (#524579)
1001 2008-03-28 Alexander Larsson <alexl@redhat.com>
1003 * glocalfile.c (g_local_file_move):
1004 Reuse old string instead of adding new one.
1006 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1008 * fen/*.[hc]: still copyright issue. I hate copyright.
1010 2008-03-27 Alexander Larsson <alexl@redhat.com>
1012 * glocalfile.c (g_local_file_move):
1013 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1014 file over directory. This is according to the docs and what the move via
1015 copy+remove fallback does.
1017 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1019 * fen/*.[hc]: Updated copyright.
1021 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1023 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1025 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1027 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1028 not emit attribute changed events when optimizing changed events.
1029 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1032 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1034 * gmountoperation.[hc]: Small documentation additions
1036 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1038 * gunixmounts.c: (guess_mount_type):
1039 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1041 2008-03-19 Alexander Larsson <alexl@redhat.com>
1044 (copy_stream_with_progress):
1045 Bump block side for copy to 64k to minimize
1046 overhead for low latency links. (#523015)
1048 2008-03-16 Tor Lillqvist <tml@novell.com>
1050 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1051 depend on gio.def on Windows.
1053 2008-03-12 David Zeuthen <davidz@redhat.com>
1057 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1059 2008-03-14 Alexander Larsson <alexl@redhat.com>
1063 Avoid redudant tests (#521851)
1064 Patch from Josselin Mouette
1066 2008-03-14 Alexander Larsson <alexl@redhat.com>
1069 (g_file_monitor_is_cancelled):
1070 Fix C89 issue (#521672)
1071 Patch from Jens Granseuer
1073 2008-03-14 Alexander Larsson <alexl@redhat.com>
1075 * fam/fam-helper.[ch]:
1077 Shut down fam (including removing fam GSource) when
1078 module is unloaded (#521513)
1079 Patch from Joe Marcus Clarke
1081 2008-03-14 Alexander Larsson <alexl@redhat.com>
1084 (_g_io_modules_ensure_loaded):
1087 2008-03-14 Alexander Larsson <alexl@redhat.com>
1090 (g_local_file_query_filesystem_info):
1091 Use right define name for f_fstypename member check
1093 2008-03-14 Alexander Larsson <alexl@redhat.com>
1096 * fen/Makefile.am: Added.
1097 * fen/fen-data.[ch]: Added.
1098 * fen/fen-dump.[ch]: Added.
1099 * fen/fen-helper.[ch]: Added.
1100 * fen/fen-kernel.[ch]: Added.
1101 * fen/fen-missing.[ch]: Added.
1102 * fen/fen-node.[ch]: Added.
1103 * fen/fen-sub.[ch]: Added.
1104 * fen/gfendirectorymonitor.[ch]: Added.
1105 * fen/gfenfilemonitor.[ch]: Added.
1107 Added Solaris FEN file notification backend.
1108 Patch from Lin Ma <Lin.Ma@Sun.COM>
1110 2008-03-13 Tor Lillqvist <tml@novell.com>
1112 * Makefile.am: Actually use the gio.def file when linking the
1113 library on Windows. Produce .lib library for Microsoft's toolchain
1114 when possible. Install the .lib and .def file like for the other
1117 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1119 * tests/live-g-file.c:
1120 Include live-g-file in standard set of tests, making a temporary
1121 directory in source structure.
1123 Clean target directory before the tests (write mode only)
1125 2008-03-12 Tor Lillqvist <tml@novell.com>
1127 Bug 517419 - gio win32 directory monitor
1128 Implementation by Vlad Grecescu.
1131 * win32/gwin32directorymonitor.h
1132 * win32/gwin32directorymonitor.c: New files.
1134 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1136 * Makefile.am: Add the win32 subdirectory.
1138 2008-03-12 Tor Lillqvist <tml@novell.com>
1140 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1141 normal struct stat on Unix but struct _stati64 on Windows to have
1142 access to 64-bit file size information. Use that instead of struct
1143 stat in the functions declared here in this private header.
1145 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1146 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1147 warnings about unused functions and variables. Don't set
1148 meaningless attributes like inode numbers on Windows.
1150 2008-03-12 Benjamin Otte <otte@gnome.org>
1153 trim whitespace so gtk-doc groks the function name
1155 2008-03-12 Tor Lillqvist <tml@novell.com>
1157 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1158 returning FALSE, on Win32.
1160 2008-03-11 Alexander Larsson <alexl@redhat.com>
1163 * glocalfileinfo.[ch]:
1164 Correctly implement can_trash by actually
1165 looking for a trash dir, not just assuming
1168 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1170 * === Released 2.16.1 ===
1172 2008-03-11 Alexander Larsson <alexl@redhat.com>
1175 Fix crashes in new constructor and properties code
1177 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1179 * gfile.c: Minor spelling correction in documentation:
1180 existance -> existence.
1182 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1184 * === Released 2.16.0 ===
1186 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1188 * gio.symbols: Remove g_file_contains_file here, too.
1190 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1192 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1193 Samuel Cormier-Iijima)
1195 2008-03-08 Tor Lillqvist <tml@novell.com>
1197 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1200 2008-03-07 Alexander Larsson <alexl@redhat.com>
1203 (g_local_file_query_filesystem_info):
1204 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1205 Patch from Jasper Lievisse Adriaanse
1207 2008-03-06 Tor Lillqvist <tml@novell.com>
1209 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1210 comments for the *_USEC attributes.
1212 2008-03-06 Alexander Larsson <alexl@redhat.com>
1214 * gfile.c (g_file_query_exists):
1215 Add g_return_val_if_fail check (#520700)
1217 2008-03-06 Alexander Larsson <alexl@redhat.com>
1219 * gdesktopappinfo.c:
1222 * gunionvolumemonitor.c:
1225 * tests/live-g-file.c:
1226 * xdgmime/xdgmimecache.c:
1227 Fix sparse warnings (#519489)
1229 2008-03-05 Alexander Larsson <alexl@redhat.com>
1232 Make cancellation threadsafe (i.e.
1233 guarantee its only done once, and always
1236 * glocaldirectorymonitor.c:
1237 Make sure we the monitor lives while the
1238 mounts_changed callback is being called (#520484)
1240 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1242 * gbufferedinputstream.c: Fix typo in parameter
1245 2008-03-04 Alexander Larsson <alexl@redhat.com>
1248 Remove deprecated symbols we kept for one release.
1250 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1253 * goutputstream.c: Tiny documentation corrections.
1255 2008-03-03 Alexander Larsson <alexl@redhat.com>
1257 * gunionvolumemonitor.c:
1259 Fix the adopt_orphan_mount vfunc to take a
1260 volume_monitor reference in an ABI compat way.
1261 This change is not API compat, but the added
1262 arg is not used in the only user of this vfunc, so
1263 all we get is a harmless warning in gvfs (#520169)
1265 2008-03-01 Benjamin Otte <otte@gnome.org>
1268 clarify docs for g_file_delete().
1270 2008-02-29 Alexander Larsson <alexl@redhat.com>
1274 Make sure empty files get text/plain type (#518720)
1276 2008-02-27 Alexander Larsson <alexl@redhat.com>
1282 (g_unix_volume_mount):
1283 Add missing GMountMountFlags argument
1285 2008-02-26 Alexander Larsson <alexl@redhat.com>
1288 (g_local_file_delete):
1289 Handle filesystems (like ntfs-3g) that return EEXIST instead
1290 of ENOTEMPTY (#518816)
1292 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1294 * === Released 2.15.6 ===
1296 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1298 * gfile.c (g_file_find_enclosing_mount):
1299 * ginputstream.c (g_input_stream_set_pending):
1300 * glocalfile.c (g_local_file_find_enclosing_mount):
1301 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1302 * goutputstream.c (g_output_stream_set_pending):
1304 Fixup translator comments (#518578).
1306 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1308 * gfile.c (g_file_find_enclosing_mount):
1310 * glocalfile.c (g_local_file_find_enclosing_mount):
1313 Fix a few typos in translator comments and documentation.
1315 2008-02-25 Alexander Larsson <alexl@redhat.com>
1322 Add translator comments (#518578)
1324 2008-02-25 Alexander Larsson <alexl@redhat.com>
1327 Reintroduce g_file_contains_file, keep around for one
1328 unstable release cycle to avoid crashing to many apps.
1329 Make sure to delete after release.
1331 2008-02-25 Alexander Larsson <alexl@redhat.com>
1334 Remove deprecated g_file_contains_file.
1336 2008-02-25 Alexander Larsson <alexl@redhat.com>
1339 Emit actual change signals in an idle handler.
1340 This avoids reentrance and locking problems in
1341 the file notification backends.
1343 2008-02-25 Alexander Larsson <alexl@redhat.com>
1346 (g_unix_mount_guess_should_display):
1347 Remove type guessing, instead just display
1348 mounts in /media and in ~/.
1350 2008-02-25 Alexander Larsson <alexl@redhat.com>
1353 Make new strings reuse old ones.
1355 2008-02-25 Alexander Larsson <alexl@redhat.com>
1358 Implement trashing and filesystem::readonly for win32 (#517235)
1359 Patch from Yevgen Muntyan
1361 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1363 * gfileinfo.h: Documentation fixes.
1365 2008-02-22 Alexander Larsson <alexl@redhat.com>
1367 * gcontenttype.c (g_content_type_get_icon):
1368 Look at old-style gnome mime icon names too, as many
1369 have not moved to the new style.
1371 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1373 * *.c: Correct the @include in for section docs.
1375 2008-02-21 David Zeuthen <davidz@redhat.com>
1377 * glocalfileinfo.c: (_g_local_file_info_get):
1379 (g_content_type_get_icon): Implement this function by
1380 moving bits from glocalfileinfo.c
1381 (g_content_type_get_description): Unalias before getting
1382 description (#517687)
1384 * gfile.c: (g_file_class_init),
1385 (g_file_query_filesystem_info_async),
1386 (g_file_query_filesystem_info_finish),
1387 (query_filesystem_info_data_free),
1388 (query_filesystem_info_async_thread),
1389 (g_file_real_query_filesystem_info_async),
1390 (g_file_real_query_filesystem_info_finish):
1391 * gfile.h: Implement async version of
1392 g_file_query_filesystem_info()
1394 * gfileinfo.h: Add new attributes for filesystem::use-preview
1396 * gio.symbols: Update
1398 * gthemedicon.c: (g_themed_icon_append_name):
1399 * gthemedicon.h: Add new new convenience function.
1401 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1402 (get_mounts), (get_volumes), (get_connected_drives),
1403 (get_volume_for_uuid), (get_mount_for_uuid),
1404 (g_union_volume_monitor_init), (populate_union_monitor),
1405 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1406 (g_volume_monitor_adopt_orphan_mount):
1408 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1409 monitor implementations to call into the main volume monitor. Also
1410 separate object initialization and volume monitor initialization
1411 such that non-native volume monitors can properly adopt their
1414 2008-02-21 Alexander Larsson <alexl@redhat.com>
1419 2008-02-21 Alexander Larsson <alexl@redhat.com>
1422 Add more documentation about how GFiles work (from #517086)
1424 2008-02-21 Alexander Larsson <alexl@redhat.com>
1428 Add new g_file_has_prefix that does the same as g_file_contains_file.
1429 Deprecate g_file_contains_file and add a macro that converts
1430 it to g_file_has_prefix.
1431 The reason for this change is that the contains_file() name seems to
1432 imply that this does more work than what it does, but its really only
1433 a name match (from #517086)
1438 Update to match the above change.
1440 2008-02-20 Benjamin Otte <otte@gnome.org>
1442 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1443 (g_file_eject_mountable):
1444 even more cases of not returning in error path
1446 2008-02-20 Benjamin Otte <otte@gnome.org>
1448 * gfile.c: (g_file_mount_mountable):
1449 return from function in error path.
1451 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1454 Remove trailing coma in GMountMountFlags struct
1456 2008-02-18 Alexander Larsson <alexl@redhat.com>
1460 * glocalfileoutputstream.c:
1461 Use g_unlink/g_rename instead of unlink/rename;
1462 do not pass raw filenames to g_set_error. (#517239)
1463 Patch from Yevgen Muntyan.
1465 2008-02-18 Alexander Larsson <alexl@redhat.com>
1468 * glocalfileoutputstream.c:
1469 Open files with O_BINARY on windows. (#517140)
1471 2008-02-14 Alexander Larsson <alexl@redhat.com>
1473 * glocalfileoutputstream.c:
1474 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1476 2008-02-14 Alexander Larsson <alexl@redhat.com>
1479 Copy permissions with file on copy (#514084)
1480 This is what cp does and makes sure e.g. the
1481 exec permissions are kept.
1482 Its kinda weird in that it keeps the permission bits
1483 the same while the uid and gid are different. However
1484 the new uid is the user so its not a security issue,
1485 and I've heard no complaints about cp on this issue.
1487 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1489 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1491 2008-02-13 Alexander Larsson <alexl@redhat.com>
1493 * inotify/inotify-path.c:
1494 Define IN_ONLYDIR if not in header (#515346)
1496 2008-02-12 Alexander Larsson <alexl@redhat.com>
1498 * tests/live-g-file.c:
1501 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1503 * === Released 2.15.5 ===
1505 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1507 * gio.symbols: Add g_mount_mount_flags_get_type.
1509 2008-02-11 Alexander Larsson <alexl@redhat.com>
1512 (g_file_info_set_attribute_mask):
1513 (g_file_attribute_matcher_matches_id):
1514 Correctly handle NULL GAttributeMatcher meaning
1515 matches nothing. (Fixes #513492)
1517 2008-02-11 Alexander Larsson <alexl@redhat.com>
1522 Added GMountMountFlags enum and added a flags
1523 argument to all mount calls.
1525 This is an API/ABI change for future extensibility,
1526 as I think we will need at least an
1527 inhibit-autorun flag (the panel needs this).
1528 There are no flags defined yet though.
1530 2008-02-11 Alexander Larsson <alexl@redhat.com>
1533 Added new standard::description attribute.
1534 Requested by Vincent, and useful for both
1537 2008-02-11 Alexander Larsson <alexl@redhat.com>
1539 * gdesktopappinfo.c:
1542 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1544 * *.c: Documentation additions
1546 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1548 * gappinfo.h: Formatting cleanup
1549 * gappinfo.c: Fix up docs.
1551 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1553 * gunixmounts.c: Consistently use getmntent_r() and fall
1554 back to getmntent(). (#515492)
1556 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1558 * gbufferedinputstream.c:
1560 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1562 * tests/data-input-stream.c:
1563 * tests/data-output-stream.c: Portability fixes.
1565 2008-02-08 Alexander Larsson <alexl@redhat.com>
1570 Add g_volume_should_automount.
1573 2008-02-07 Tor Lillqvist <tml@novell.com>
1575 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1576 Win32, too Unix-specific.
1578 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1580 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1581 a local plt if the compiler doesn't support what we want. Bug #514702
1583 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1585 reviewed by: <delete if not using a buddy>
1588 * gunixinputstream.c:
1589 * gunixoutputstream.c:
1591 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1593 * tests/Makefile.am:
1594 * tests/live-g-file.c:
1595 * tests/live-g-file.txt:
1596 New GIO testing module working over real data
1598 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1600 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1601 Fallback to rename() if link() is not available
1602 (when no support on target filesystem)
1604 2008-02-06 Michael Natterer <mitch@imendio.com>
1606 * gfileinfo.c (g_file_info_get_icon): replace
1607 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1609 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1611 * gfile.c (g_file_create):
1612 Documentation update of error codes
1614 2008-02-06 Alexander Larsson <alexl@redhat.com>
1616 * gdesktopappinfo.c:
1617 Update to use both mimeapps.list and
1618 defaults.list as discussed on xdg list.
1620 2008-02-06 Benjamin Otte <otte@gnome.org>
1623 * gfilenamecompleter.c:
1624 Fix some typos in the documentation.
1626 2008-02-06 Alexander Larsson <alexl@redhat.com>
1628 * glocalfile.c (g_local_file_trash):
1629 Don't succeed with trash if newly created
1630 trash dir has the wrong owner. (#514696)
1632 2008-02-05 Alexander Larsson <alexl@redhat.com>
1634 * glocalfile.c (g_local_file_move):
1635 Don't spew warnings when destination is not
1638 2008-02-03 Hans Breuer <hans@breuer.org>
1640 * makefile.msc : update
1642 2008-02-01 Michael Natterer <mitch@imendio.com>
1644 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1645 return value of xdg_mime_list_mime_parents() to a variable of the
1648 2008-02-01 Alexander Larsson <alexl@redhat.com>
1650 * gappinfo.c (g_app_info_launch_uris):
1651 Actually call the launch_uris method, not
1654 2008-02-01 Alexander Larsson <alexl@redhat.com>
1656 * gdesktopappinfo.c (g_desktop_app_info_equal):
1657 Ensure appinfos with no id but same pointer value
1660 2008-02-01 Alexander Larsson <alexl@redhat.com>
1662 * gappinfo.c (g_app_info_launch_default_for_uri):
1665 2008-02-01 Alexander Larsson <alexl@redhat.com>
1669 Add g_app_info_launch_default_for_uri utility
1672 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1674 * gdesktopappinfo.c:
1675 Doc fix for g_app_info_get_default_for_uri_scheme ()
1678 2008-01-30 Alexander Larsson <alexl@redhat.com>
1681 Add doc comment about uris vs GFiles to
1684 * gdesktopappinfo.c:
1685 Ensure uris passed to g_app_info_launch_uris()
1686 are not roundtriped through GFile (as that
1687 may be slightly destructive for e.g. mailto: links)
1689 2008-01-30 Alexander Larsson <alexl@redhat.com>
1691 * tests/data-input-stream.c:
1692 * tests/data-output-stream.c:
1693 C89 fixes from Jens Granseuer (#512849)
1695 2008-01-30 Alexander Larsson <alexl@redhat.com>
1698 Fix gamin/fam difference build issue. (#509419)
1700 2008-01-29 Alexander Larsson <alexl@redhat.com>
1703 * gdesktopappinfo.c:
1704 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1706 2008-01-29 Alexander Larsson <alexl@redhat.com>
1708 * gdesktopappinfo.c:
1709 * gdesktopappinfo.h:
1710 giomodule-priv.h include moved to .c file.
1712 2008-01-29 Alexander Larsson <alexl@redhat.com>
1714 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1715 Remove unused prio/name fields.
1717 2008-01-29 Alexander Larsson <alexl@redhat.com>
1719 * gcontenttype.c (looks_like_text):
1720 Don't treat whitespace as control chars.
1722 2008-01-29 Alexander Larsson <alexl@redhat.com>
1724 * gdesktopappinfo.c:
1725 Lazily create the desktop files for appinfos created
1726 by g_app_info_create_from_commandline() when needed
1727 for mime associations. This allows run-time use
1728 of GAppInfo object without creating unnecessary
1731 2008-01-29 Alexander Larsson <alexl@redhat.com>
1734 Added new symbols to gio.symbols
1736 2008-01-29 Alexander Larsson <alexl@redhat.com>
1739 Add g_file_query_default_handler utility to easily look up
1740 the GAppInfo that handles a file.
1742 * gdesktopappinfo.[ch]:
1744 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1747 Remove unused function
1749 2008-01-29 Alexander Larsson <alexl@redhat.com>
1751 * gfileenumerator.c:
1752 Mention need to free returned value in
1753 g_file_enumerator_next_files_finish docs.
1754 Fix leak if g_file_enumerator_next_files_finish()
1757 2008-01-29 Alexander Larsson <alexl@redhat.com>
1760 (_g_unix_content_type_get_parents):
1761 Use list_parents, not get_parents from xdgmime, because
1762 the later doesn't use the cache.
1764 * xdgmime/xdgmimecache.c:
1765 (_xdg_mime_cache_list_mime_parents):
1766 Don't list the same type as parent multiple times.
1768 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1770 * === Released 2.15.4 ===
1772 2008-01-28 Alexander Larsson <alexl@redhat.com>
1775 Register local vfs with prio 0.
1778 Remove old name and prio class members
1780 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1782 * tests/g-file.c: Disable some tests that are failing in
1783 the absence of a http backend.
1785 2008-01-28 Alexander Larsson <alexl@redhat.com>
1789 Add registration hooks for extension points.
1790 Register the gio extension points.
1792 * fam/gfamdirectorymonitor.c:
1793 * fam/gfamfilemonitor.c:
1794 * glocaldirectorymonitor.[ch]:
1795 * glocalfilemonitor.[ch]:
1796 * gnativevolumemonitor.h:
1797 * gunionvolumemonitor.c:
1798 * gunixvolumemonitor.c:
1801 * inotify/ginotifydirectorymonitor.c:
1802 * inotify/ginotifyfilemonitor.c:
1803 Use the extension points registration instead
1804 of g_type_children().
1806 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1809 * gvolume.[hc]: Document new API.
1811 * gfile.c (g_file_copy_async): Fix docs
1813 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1815 * gbufferedinputstream.c:
1817 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1820 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1822 * glocalfile.c: Avoid trivial differences in translatable strings.
1824 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1826 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1827 build with gcc 3.4 (#509419)
1829 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1831 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1832 (#509994, Murray Cumming)
1834 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1836 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1837 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1838 this allows big jobs to be executed in chunks, instead of blocking
1839 the main loop for a long time.
1841 * gsimpleasyncresult.c:
1842 * giofile.c: Adapt callers.
1844 2008-01-25 Alexander Larsson <alexl@redhat.com>
1846 * gdesktopappinfo.c:
1847 Implement changes discussed on xdg list.
1848 Now we can add supported mimetypes by just using defaults.list
1849 We can also remove associations in defaults.list.
1851 2008-01-25 Alexander Larsson <alexl@redhat.com>
1853 * gdesktopappinfo.c:
1854 Don't make local copy of desktop file
1855 for mimetype changes if the file already
1856 supports the new mimetype.
1858 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1862 * gbufferedinputstream.c:
1863 * glocalfile.c: String improvements. (#511966,
1864 Theppitak Karoonboonyanan)
1866 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1868 * gioscheduler.h: Expand docs a bit.
1870 2008-01-24 Alexander Larsson <alexl@redhat.com>
1873 Add g_drive_get_identifier and
1874 g_drive_enumerate_identifiers
1877 Add g_volume_get_identifier and
1878 g_volume_enumerate_identifiers
1884 Implement identifiers for unix backend
1886 2008-01-24 Alexander Larsson <alexl@redhat.com>
1891 Add g_file_copy_async() (#511580)
1892 Based on patch from Carlos Garcia Campos
1894 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1896 * gioscheduler.c: Some documentation additions.
1898 2008-01-22 Alexander Larsson <alexl@redhat.com>
1900 * gdesktopappinfo.c:
1901 (g_desktop_app_info_new):
1902 Don't leak basename.
1904 2008-01-22 Alexander Larsson <alexl@redhat.com>
1906 * gdesktopappinfo.c:
1907 (g_desktop_app_info_new_from_filename):
1910 2008-01-22 Alexander Larsson <alexl@redhat.com>
1912 * glocalfileinfo.c (get_thumbnail_attributes):
1915 2008-01-22 Alexander Larsson <alexl@redhat.com>
1918 (canonicalize_filename):
1919 Canonicalize paths that start with more than
1923 (compare_two_files):
1924 (test_g_file_new_for_path):
1927 2008-01-22 Alexander Larsson <alexl@redhat.com>
1930 Allow UTF-8 in file:// parse names.
1932 * tests/Makefile.am:
1933 * tests/data-input-stream.c:
1934 * tests/data-output-stream.c:
1935 * tests/g-file-info.c:
1937 Added a bunch of tests from Tomas Bzatek
1939 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1941 * === Released 2.15.3 ===
1943 2008-01-21 Alexander Larsson <alexl@redhat.com>
1945 * gfileinputstream.[ch]:
1946 * gfileoutputstream.[ch]:
1948 Remove duplicated GSeekable functions. (#509990)
1949 Just use the g_seekable_xxx() calls instead.
1951 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1954 * gvolumemanager.c: Whitespace cleanups.
1956 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1957 Use the right mode when creating the file.
1959 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1961 * gfileenumerator.c:
1962 * gfileinputstream.c:
1964 * goutputstream.c: Documentation: Fixed minor typos
1965 and added more mentions of specific _finish() functions.
1967 2008-01-21 Alexander Larsson <alexl@redhat.com>
1969 * inotify/Makefile.am:
1970 * inotify/inotify-helper.c:
1971 * inotify/inotify-kernel.c:
1972 * inotify/inotify-path.c:
1973 * inotify/local_inotify.h: Removed.
1974 * inotify/local_inotify_syscalls.h: Removed.
1975 Removed the included copies of the inotify
1976 headers. We now only use the <sys/inotify.h>
1977 header which exists on modern systems.
1978 This fixes problems on ARM and SH5 (#510448)
1979 but is also generally much cleaner and future
1980 safe. For instance, if other OSes add support
1981 for inotify it should "just work".
1983 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1985 * inotify/*.c: Coding style fixes.
1986 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1987 for the 1/4 Hz timer.
1989 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1992 * gfilemonitor.[hc]:
1993 * gmemoryinputstream.c:
1994 * gmemoryoutputstream.c:
1995 * gmountoperation.c:
1996 * gthemedicon.c: Documentation updates
1998 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2000 * gfile.c: documentation: Fixed more minor
2003 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2005 * gmount.c: (g_mount_remount): documentation:
2006 Mention g_mount_remount_finish() instead of
2007 g_mount_unmount_finish().
2009 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2013 * gfile.c: Fixed some minor typos in the
2016 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2018 * gio/gvolumemonitor.c:
2019 (g_volume_monitor_get_connected_drives):
2020 (g_volume_monitor_get_volumes):
2021 (g_volume_monitor_get_mounts): Documentation:
2022 Clarify the ownership of the regurn GLists.
2024 2008-01-17 Alexander Larsson <alexl@redhat.com>
2027 Add the async find_enclosing_mount version
2028 to the header file too.
2030 2008-01-17 Alexander Larsson <alexl@redhat.com>
2033 Add async version of find_enclosing_mount
2034 with default implementation.
2036 2008-01-17 Alexander Larsson <alexl@redhat.com>
2041 Allow calls to implementation of copy and write
2042 even if the type of the file implementations is
2043 different. This can be used to implement native
2044 upload and download calls in a vfs.
2047 (g_local_file_move):
2048 Protect against the case where move is called
2049 with one file not being local.
2051 Make sure we call the progress callback once
2052 in the native move operation so that the caller
2053 knows how many bytes were copied.
2055 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2058 * gdatainputstream.c:
2060 * gfileoutputstream.c:
2065 * gunixmounts.c: Corrected some typos in the documentation:
2066 occured -> occurred.
2067 its -> it's (where appropriate).
2069 2008-01-16 Alexander Larsson <alexl@redhat.com>
2073 Add g_file_query_exists (#508771)
2075 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2080 * gvolume.c: For async functions that have no non-async
2081 version, document that the GAsyncReadyCallback may be NULL.
2084 2008-01-15 Alexander Larsson <alexl@redhat.com>
2086 * gmemoryinputstream.c:
2087 * gmemoryoutputstream.c:
2088 Don't do pointer arithmetic on void * (#508602)
2089 Patch from Kazuki IWAMOTO
2091 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2093 * === Released 2.15.2 ===
2095 2008-01-14 Alexander Larsson <alexl@redhat.com>
2097 * gfile.c (g_file_monitor_file):
2098 Don't set error here, since we fallback to polling monitor.
2100 2008-01-14 Alexander Larsson <alexl@redhat.com>
2103 (g_file_monitor_directory):
2104 (g_file_monitor_file):
2105 Add GError to file monitor calls
2107 * glocaldirectorymonitor.c:
2108 * glocaldirectorymonitor.h:
2110 * glocalfilemonitor.c:
2111 * glocalfilemonitor.h:
2113 Update for above change
2115 2008-01-14 Alexander Larsson <alexl@redhat.com>
2119 Handle root correctly in g_file_get_relative_path (#508719)
2121 2008-01-14 Alexander Larsson <alexl@redhat.com>
2124 Clean up docs and example for GAsyncResult (#508074)
2126 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2128 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2129 and correct some spelling mistakes. Bug #508108.
2131 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2133 * glocalfileinfo.c: Add a comment.
2135 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2137 * gfileinfo.c: GFileInfo description: Mention
2138 how to actually set attributes in a GFile and how to discover
2139 which attributes are settable. Bug #508378.
2141 2008-01-10 A. Walton <awalton@svn.gnome.org>
2143 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2144 (g_app_info_get_default_for_type):
2145 Check for NULL content types.
2147 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2149 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2151 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2153 * gfile.c: *_async() functions: Several small corrections
2154 to the documentation, mostly correcting copy/paste errors
2155 and improving some sentences.
2157 2008-01-09 Dan Winship <danw@gnome.org>
2159 * glocalfile.c (get_unique_filename): x86_64 fix
2161 2008-01-09 Alexander Larsson <alexl@redhat.com>
2166 Add g_unix_mount_guess_should_display and use
2167 for unix volume monitor backend.
2168 This means we more or less show what the
2169 gnome-vfs backend did.
2170 Based on patch from Padraig O'Briain
2172 2008-01-09 Alexander Larsson <alexl@redhat.com>
2176 Add g_themed_icon_new_with_default_fallbacks
2179 Use default fallbacks for icons
2181 2008-01-09 Alexander Larsson <alexl@redhat.com>
2184 * gmountoperation.[ch]:
2185 Change the API a bit so that unhandled methods
2186 get reported via the reply, rather than by
2187 the signal emission return value. This is because
2188 some handlers can't know this immediately without
2189 doing I/O, and this is an async operation that
2192 2008-01-09 Alexander Larsson <alexl@redhat.com>
2195 * fam/gfamdirectorymonitor.c:
2196 * fam/gfamfilemonitor.c:
2197 Fix double free crash (#508224)
2198 Patch from Joe Marcus Clarke
2200 008-01-07 Matthias Clasen <mclasen@redhat.com>
2202 * === Released 2.15.1 ===
2204 2008-01-07 Alexander Larsson <alexl@redhat.com>
2206 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2207 Fix warning (#507835)
2209 2008-01-07 Alexander Larsson <alexl@redhat.com>
2212 Pass --internal to glib-genmarshal
2215 * gmountoperation.c:
2217 Use better types for signal arguments (#507822)
2219 2008-01-07 Alexander Larsson <alexl@redhat.com>
2222 Build test subdir after .
2223 Remove gdirectorymonitor.[ch]
2225 * gdirectorymonitor.[ch]:
2229 Remove GDirectoryMonitor and make
2230 GFileMonitor the baseclass for both file and
2231 directory monitors. Lift the more generic
2232 rate limiting code from GDirectoryMonitor
2236 * fam/gfamdirectorymonitor.[ch]:
2237 * inotify/ginotifydirectorymonitor.[ch]:
2238 * inotify/inotify-helper.c:
2239 * glocaldirectorymonitor.[ch]:
2242 Update for the removed GDirectoryMonitor.
2244 * gmemoryoutputstream.c:
2245 Remove ununsed variable
2247 2008-01-07 Alexander Larsson <alexl@redhat.com>
2249 * gmemoryinputstream.c:
2250 Translate error strings
2253 * gmemoryoutputstream.[ch]:
2254 New implementation that avoids using GByteArray
2255 in implementation and API. (#506377)
2257 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2259 * tests/*: Add a test for memory input streams.
2261 * Makefile.am: Add tests to SUBDIRS.
2263 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2265 * glocalfilemonitor.c:
2266 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2269 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2271 * gdesktopappinfo.c: Fix a docs typo.
2273 * gfileattribute.c: Add information about extended attributes
2274 to the documentation. (#505058)
2276 2008-01-04 Alexander Larsson <alexl@redhat.com>
2279 * gmountoperation.c:
2280 Use the right type (uint) for the ask_password signal.
2282 2008-01-04 Alexander Larsson <alexl@redhat.com>
2287 Add g_app_info_supports_files()
2288 Remove desktop arg from g_app_info_should_show().
2290 * gdesktopappinfo.[ch]:
2291 Implement g_app_info_supports_files() and new should_show()
2292 Add g_desktop_app_info_set_desktop_env() to set the desktop
2293 for should_show(). (This will be set by gtk+ later)
2295 2008-01-04 Alexander Larsson <alexl@redhat.com>
2298 * gmemoryinputstream.[ch]:
2299 Improve API so that you can use multiple chunks
2300 of memory and custom destroy functions. (#506374)
2302 2008-01-03 Alexander Larsson <alexl@redhat.com>
2305 Handle NULL attribute matchers safely, as we return this
2306 for empty attribute matcher strings.
2308 2008-01-03 Alexander Larsson <alexl@redhat.com>
2310 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2311 Add /usr/local to list of internal mountpoints
2313 2008-01-03 Alexander Larsson <alexl@redhat.com>
2316 Check for HAVE_LCHOWN (#505887)
2318 2008-01-03 Alexander Larsson <alexl@redhat.com>
2322 Add define for selinux context attribute.
2323 Fix missing : -> :: namespace separator change
2324 Fix missing _ -> - name change for xattr-sys.
2327 2008-01-03 Alexander Larsson <alexl@redhat.com>
2330 Link to libglib and libgobject directly (#504879)
2331 Patch from Sebastien Bacher
2333 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2335 * gfile.c: Expanded the g_file_new_for_commandline_arg
2336 description a bit, based on the code and the docs of the
2337 other g_file_new_for_* functions.
2339 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2341 * gfilemonitor.h: Fixed typo in docs.
2343 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2345 Updates to GIO documentation. (#506395, Mikael Hermansson)
2347 * gcontenttype.c: Describe memory management for return value of
2348 g_content_types_get_registered(). Missing piece from #505815.
2349 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2350 GVolume, GDrive, GMounts, which hopefully gives the user less
2351 confusions when using this API. Following explainations from
2352 Alexander Larsson on gtk-devel-list.
2354 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2356 * gfileinfo.c: Expand the long description.
2358 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2361 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2362 fix builds with --disable-visibility. (#500273, Christian Persch)
2364 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2366 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2367 in the list of returned app infos.
2369 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2371 * gappinfo.c: Fix a cross-reference
2373 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2375 * gfileinputstream.c:
2376 * gfileoutputstream.c:
2380 * gdesktopappinfo.c:
2382 * gfileinfo.c: Documentation updates.
2384 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2386 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2389 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2391 * gcontenttype.c (g_content_types_get_registered): Don't return
2392 freed memory (#505815, Mikael Hermansson)
2394 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2396 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2397 used to detect statbuf->st_blocks. (#505042)
2399 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2401 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2402 environment handling. (#504829, Cosimo Cecchi)
2404 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2406 * gappinfo.c: Doc improvements
2408 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2411 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2413 * === Released 2.15.0 ===
2415 2007-12-20 Hans Breuer <hans@breuer.org>
2417 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2418 with symbols gwin32appinfo.obj, added gmount.obj
2419 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2421 2007-12-20 Alexander Larsson <alexl@redhat.com>
2427 * gfilenamecompleter.c:
2430 * gpollfilemonitor.c:
2431 File attribute renames:
2433 fs:: -> filesystem::
2434 id::fs -> id::filesystem
2436 2007-12-20 Alexander Larsson <alexl@redhat.com>
2445 Add GMountUnmountFlags to all unmount and
2447 Add g_mount_remount() call.
2449 2007-12-20 Alexander Larsson <alexl@redhat.com>
2451 * gvfs.c (get_default_vfs):
2452 Fix unused variable warning
2454 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2456 * pltcheck.sh: Update
2458 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2460 * gunionvolumemonitor.c:
2461 * gunixmount.c: Remove C99 comments
2463 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2465 * gio.symbols: Add some missing symbols
2467 2007-12-19 Alexander Larsson <alexl@redhat.com>
2470 Make g_io_modules_load_all_in_directory not unuse
2471 loaded modules so that users of it can do stuff
2473 Init internal "module" types.
2474 Initialize static prio and name for types so that
2475 we don't have to load modules to get it.
2477 * gnativevolumemonitor.h:
2479 Move is_supported to parent class so that
2480 non-native monitors can avoid being initialized
2481 too. (For instance GDaemonVolumeMonitor if we're
2482 not using GDaemonVfs.)
2484 * glocaldirectorymonitor.[ch]:
2485 * glocalfilemonitor.[ch]:
2486 * gunionvolumemonitor.c:
2487 * gunixvolumemonitor.c:
2489 Find plugins using the static prio+name to
2490 avoid unnecessarily loading the modules.
2492 2007-12-19 Alexander Larsson <alexl@redhat.com>
2497 2007-12-19 Alexander Larsson <alexl@redhat.com>
2499 * gunionvolumemonitor.c:
2500 Store the native type as GType, not class so that
2501 we can unload it. But still avoid unnecessarily
2504 2007-12-19 David Zeuthen <davidz@redhat.com>
2506 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2507 add signals 'disconnected' and 'eject-button' on GDrive. Add
2508 signal 'removed' on GVolume and 'unmounted' on GMount.
2510 * gdrive.c: (g_drive_base_init):
2512 * gfile.c: (g_file_mount_mountable),
2513 (g_file_mount_enclosing_volume):
2516 * gmount.c: (g_mount_base_init):
2518 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2519 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2520 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2524 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2526 * *.c: Fix up includes in the section docs.
2528 2007-12-17 Alexander Larsson <alexl@redhat.com>
2530 * gnativevolumemonitor.h:
2531 * gunionvolumemonitor.c:
2532 * gunixvolumemonitor.c:
2533 Add is_supported() to GNativeVolumeMonitorClass so
2534 that we can avoid having to create an object to see
2535 if the backend is supported at runtime.
2536 Also add name member and an env var to pick a specific
2537 volume monitor backend.
2541 Add cancellable to _g_mount_get_for_mount_path()
2543 * glocaldirectorymonitor.c:
2544 * glocalfilemonitor.c:
2545 Avoid loading and unloading modules while sorting.
2547 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2550 * gunixmounts.[hc]: Namespace waste reduction, move some
2551 g_get_unix_mount functions to the g_unix_mount namespace.
2554 * gunixvolumemonitor.c:
2556 * glocaldirectorymonitor.c: Update all callers.
2558 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2560 2007-12-17 Alexander Larsson <alexl@redhat.com>
2563 Add doc comments about what GFile operations are
2564 guaranteed to not block.
2566 2007-12-17 Alexander Larsson <alexl@redhat.com>
2569 Add missing #ifdef fixing OSX build.
2570 (#503334, patch from Richard Hult)
2572 2007-12-14 David Zeuthen <davidz@redhat.com>
2576 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2577 (g_mount_eject), (g_mount_eject_finish):
2579 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2580 (get_volume_for_uuid), (get_mount_for_uuid),
2581 (g_union_volume_monitor_class_init),
2582 (get_default_native_type_with_exclude), (get_default_native_type),
2583 (get_native_type), (update_native_type),
2584 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2585 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2586 (g_unix_mount_can_eject), (eject_unmount_cb),
2587 (eject_unmount_read_error), (eject_unmount_do),
2588 (g_unix_mount_unmount), (g_unix_mount_eject),
2589 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2590 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2591 (g_unix_mount_point_guess_can_eject):
2593 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2594 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2595 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2596 (g_unix_volume_mount), (g_unix_volume_eject),
2597 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2598 * gunixvolumemonitor.c: (get_volume_for_uuid),
2599 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2601 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2602 (g_volume_eject), (g_volume_eject_finish):
2604 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2605 (g_volume_monitor_get_mount_for_uuid):
2608 Provide eject() on both GMount and GVolume and utility functions
2609 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2610 ejected. Introduce the concept of UUID's and wire it into GVolume
2611 and GMount and provide API on GVolumeMonitor to find such
2612 instances. Also handle the case where an external
2613 GNativeVolumeMonitor fails to initialize. Lock around the
2614 _g_get_mount_for_mount_path() function such that volume monitor
2615 implementations won't have to do locking themselves.
2617 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2619 * gdesktopappinfo.c:
2625 * gvolume.h: Documentation updates
2627 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2630 * gfile.h: Doc updates
2632 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2635 * gdesktopappinfo.c: Use hash table iterators.
2637 2007-12-14 Alexander Larsson <alexl@redhat.com>
2640 * gfileattribute.[ch]:
2641 * gfileattribute-priv.h:
2642 Move GFileAttributeValue to a private header, as
2646 Make set_attribute take a type + a pointer instead
2647 of a GFileAttributeValue.
2650 Fix up for above changes.
2651 Add g_file_info_get_attribute_data to get
2652 all info in one call, g_file_info_get_attribute_status
2653 to get the status and g_file_info_get_attribute_as_string.
2657 * glocalfileinfo.[ch]:
2661 Make _guess_type static.
2663 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2666 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2667 made mkenums and friends use temporary files to avoid leaving
2668 empty generated files on failure (#503470).
2670 2007-12-14 Alexander Larsson <alexl@redhat.com>
2672 * gmountoperation.h:
2675 2007-12-14 Alexander Larsson <alexl@redhat.com>
2679 * gfileattribute.[ch]:
2682 * glocalfileoutputstream.c:
2683 * gmountoperation.[ch]:
2684 * goutputstream.[ch]:
2685 Clean up all flags enums to not have _FLAGS in them
2686 Make the names of some of the enums better.
2691 2007-12-14 Michael Natterer <mitch@imendio.com>
2693 * gio.symbols: fix g_io_scheduler symbol names.
2695 2007-12-14 Alexander Larsson <alexl@redhat.com>
2701 * gbufferedinputstream.h:
2702 * gbufferedoutputstream.h:
2705 * gdatainputstream.h:
2706 * gdataoutputstream.h:
2707 * gdesktopappinfo.h:
2708 * gdirectorymonitor.h:
2712 * gfileenumerator.h:
2715 * gfileinputstream.h:
2717 * gfilenamecompleter.h:
2718 * gfileoutputstream.h:
2719 * gfilterinputstream.h:
2720 * gfilteroutputstream.h:
2728 * gmemoryinputstream.h:
2729 * gmemoryoutputstream.h:
2731 * gmountoperation.h:
2734 * gsimpleasyncresult.h:
2736 * gunixinputstream.h:
2738 * gunixoutputstream.h:
2742 * inotify/Makefile.am:
2743 Only allow including <gio/gio.h> from apps
2745 2007-12-14 Alexander Larsson <alexl@redhat.com>
2747 * gioscheduler.[ch]:
2748 * gsimpleasyncresult.c:
2749 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2750 Split out the send_to_mainloop call into two versions instead
2751 of having the block argument.
2753 2007-12-13 Alexander Larsson <alexl@redhat.com>
2755 * gcancellable.[ch]:
2757 * gbufferedinputstream.c:
2758 * gfileenumerator.c:
2759 * gfileinputstream.c:
2760 * gfileoutputstream.c:
2764 g_push/pop_current_cancellable ->
2765 g_cancellable_push/pop_current
2767 2007-12-13 Alexander Larsson <alexl@redhat.com>
2771 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2773 2007-12-13 Alexander Larsson <alexl@redhat.com>
2775 * gmountoperation.h:
2776 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2778 2007-12-12 Alexander Larsson <alexl@redhat.com>
2781 Fix race condition when freeing proxy in
2782 g_io_job_send_to_mainloop().
2784 2007-12-12 Alexander Larsson <alexl@redhat.com>
2790 Make attribute namespace separator "::" instead of ":".
2791 Use - instead of _ as separator in attribute names.
2793 2007-12-12 Alexander Larsson <alexl@redhat.com>
2795 * gbufferedinputstream.h:
2796 * gbufferedoutputstream.h:
2797 * gdatainputstream.h:
2798 * gdataoutputstream.h:
2799 * gdirectorymonitor.h:
2800 * gfileenumerator.h:
2801 * gfileinputstream.h:
2803 * gfileoutputstream.h:
2804 * gfilterinputstream.h:
2805 * gfilteroutputstream.h:
2807 * glocalfileinputstream.h:
2808 * glocalfileoutputstream.h:
2809 * gmemoryinputstream.h:
2810 * gmemoryoutputstream.h:
2811 * gnativevolumemonitor.h:
2813 * gunixinputstream.h:
2814 * gunixoutputstream.h:
2817 s/parent/parent_instance/ in GObjects
2819 2007-12-12 Alexander Larsson <alexl@redhat.com>
2824 No need for padding for interfaces
2826 2007-12-12 Alexander Larsson <alexl@redhat.com>
2830 * gbufferedinputstream.c:
2831 * gbufferedoutputstream.c:
2834 * gdatainputstream.[ch]:
2835 * gdesktopappinfo.c:
2836 * gdirectorymonitor.c:
2838 * gfileattribute.[ch]:
2841 * gfileinputstream.h:
2842 * gfilemonitor.[ch]:
2843 * gfileoutputstream.[ch]:
2844 * gfilterinputstream.h:
2845 * gfilteroutputstream.h:
2848 * gloadableicon.[ch]:
2849 * gmemoryinputstream.c:
2850 * gmountoperation.c:
2852 Fix up a bunch of details in the docs.
2857 2007-12-11 David Zeuthen <davidz@redhat.com>
2859 Rework how volumes, drives and volume monitoring is
2860 done. Previosly the model was
2862 GDrive <1-1> GVolume
2864 where a GDrive instance represented a mount point and a GVolume
2865 instance represented a mounted file system. This patch changes it
2868 GDrive <1-N> GVolume <1-1> GMount
2870 where GMount now serves the purpose of the old GVolume and the new
2871 GVolume serves the purpose of the old GDrive. In addition the new
2872 GDrive interface is used to represent a collection of GVolume
2873 instances (typically partitions) and also contains utility to query
2874 the state of the physical drive the GDrive object represents (such
2875 as checking for media, polling the drive, ejecting the media etc.).
2877 Also implement mounting and unmounting in the Unix volume monitor
2878 backend. A subquent patch will introduce GDrive support for ejection
2882 * gdrive.c: (g_drive_is_media_check_automatic),
2883 (g_drive_is_media_removable), (g_drive_has_media),
2884 (g_drive_can_poll_for_media), (g_drive_eject),
2885 (g_drive_eject_finish), (g_drive_poll_for_media),
2886 (g_drive_poll_for_media_finish):
2888 * gfile.c: (g_file_find_enclosing_mount):
2891 * glocaldirectorymonitor.c:
2892 (g_local_directory_monitor_constructor), (mounts_changed):
2893 * glocalfile.c: (get_mount_info),
2894 (g_local_file_find_enclosing_mount),
2895 (g_local_file_file_iface_init):
2896 * gnativevolumemonitor.h:
2897 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2898 (get_connected_drives), (g_union_volume_monitor_class_init),
2899 (child_volume_added), (child_volume_removed),
2900 (child_volume_changed), (child_mount_added), (child_mount_removed),
2901 (child_mount_pre_unmount), (child_mount_changed),
2902 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2903 (g_union_volume_monitor_remove_monitor),
2904 (_g_mount_get_for_mount_path):
2905 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2906 (guess_system_internal), (_g_get_unix_mounts),
2907 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2908 (g_unix_mount_free), (g_unix_mount_compare),
2909 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2910 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2911 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2912 (type_to_icon), (g_unix_mount_guess_name),
2913 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2914 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2915 (_resolve_symlink), (_resolve_dev_root):
2917 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2918 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2919 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2920 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2921 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2922 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2923 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2924 (g_unix_volume_volume_iface_init):
2926 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2927 (get_mounts), (get_volumes), (get_connected_drives),
2928 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2929 (mountpoints_changed), (mounts_changed),
2930 (g_unix_volume_monitor_init),
2931 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2932 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2933 * gunixvolumemonitor.h:
2934 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2935 (g_volume_mount), (g_volume_mount_finish):
2937 * gvolumemonitor.c: (g_volume_monitor_class_init),
2938 (g_volume_monitor_get_connected_drives),
2939 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2942 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2944 * gmountoperation.h (GPasswordFlags): Close the gap
2946 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2948 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2950 * gdesktopappinfo.[hc]: Remove _-prefixes
2952 2007-12-10 Tor Lillqvist <tml@novell.com>
2954 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2957 2007-12-10 Alexander Larsson <alexl@redhat.com>
2959 * gfile.c (g_file_set_display_name):
2960 Don't hardcode '/' (#502727)
2962 2007-12-09 Hans Breuer <hans@breuer.org>
2964 * makefile.msc : follow lib naming convention
2965 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2966 for user and group name, tested with ../tests/gio-ls
2968 2007-12-09 A. Walton <awalton@svn.gnome.org>
2970 * gdesktopappinfo.c:
2976 * gfileenumerator.c:
2981 * gmemoryinputstream.c:
2982 * gmemoryoutputstream.c:
2984 * gsimpleasyncresult.c:
2985 More documentation cleanup and filling in missing information, bringing
2986 GIO to 99% symbol coverage.
2988 2007-12-08 Hans Breuer <hans@breuer.org>
2990 [gio compiles and links on win32, not sure how much already works]
2991 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2992 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2993 base on win32 API; prefer g_lstat() over lstat(); instead of
2994 localtime_r() use an all GLib implementation on win32;
2995 get_mount_info() still needs a win32 specifc implementation
2996 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2997 win32_get_file_user_info to get owner/group info without uid/gid
2998 * glocalfileinputstream.c : include <io.h> on win32
2999 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3000 definition, use g_win32_ftruncate() for G_OS_WIN32
3001 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3002 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3003 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3004 * makefile.msc : updated
3006 2007-12-07 Alexander Larsson <alexl@redhat.com>
3008 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3009 Avoid warning spew if error == NULL
3011 2007-12-07 Alexander Larsson <alexl@redhat.com>
3014 Update docs wrt etags
3016 2007-12-06 Alexander Larsson <alexl@redhat.com>
3019 Include sys/types.h for dev_t (#501919)
3021 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3025 Make abicheck and pltcheck pass.
3027 2007-12-05 Alexander Larsson <alexl@redhat.com>
3030 * giomodule-priv.h: Added.
3031 * glocaldirectorymonitor.c:
3032 * glocalfilemonitor.c:
3033 * gunionvolumemonitor.c:
3035 Actually add the declaration of _g_io_modules_ensure_loaded
3037 2007-12-05 Alexander Larsson <alexl@redhat.com>
3039 * gdatainputstream.c:
3044 * glocaldirectorymonitor.c:
3045 * glocalfilemonitor.c:
3046 * gunionvolumemonitor.c:
3048 Make g_io_modules_ensure_loaded a private function and
3049 don't pass in the dirname. This means we can do magic
3050 directory finding in the win32 version.
3051 Export the actual load-modules-in-directory code so that
3052 gvfs can reuse that.
3054 2007-12-05 Alexander Larsson <alexl@redhat.com>
3056 * gbufferedinputstream.c:
3057 * gbufferedoutputstream.c:
3060 * gfileenumerator.[ch]:
3061 * gfileinputstream.c:
3062 * gfileoutputstream.[ch]:
3063 * gfilterinputstream.c:
3064 * gfilteroutputstream.c:
3065 * ginputstream.[ch]:
3067 * glocalfileenumerator.c:
3068 * glocalfileinputstream.c:
3069 * glocalfileoutputstream.c:
3070 * gmemoryinputstream.c:
3071 * gmemoryoutputstream.c:
3072 * goutputstream.[ch]:
3075 * gunixinputstream.c:
3076 * gunixoutputstream.c:
3077 Rename all struct members named:
3078 read, write, close, truncate, or mount
3079 to foo_fn, as these are reserved names
3080 and could be defined as macros in libc.
3083 2007-12-04 Alexander Larsson <alexl@redhat.com>
3086 (g_output_stream_close):
3087 Only call flush if non-null.
3089 2007-11-30 Dan Winship <danw@gnome.org>
3091 * ginputstream.c (g_input_stream_set_pending): Make this take a
3092 GError and return a gboolean, and do the "outstanding operation"
3093 check (and the "stream is already closed" check) itself.
3094 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3096 * goutputstream.c (g_output_stream_set_pending)
3097 (g_output_stream_clear_pending): Likewise
3099 * gbufferedinputstream.c:
3100 * gfileinputstream.c:
3101 * gfileoutputstream.c: Update for that
3103 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3104 Like g_simple_async_report_error_in_idle, but takes a GError
3105 rather than building one.
3107 2007-11-30 Dan Winship <danw@gnome.org>
3109 * goutputstream.c: Don't cheat and unset the "pending" flag around
3110 inner calls. Instead, call the class method directly rather than
3111 the wrapper function that checks "pending"
3113 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3115 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3117 2007-12-03 Hans Breuer <hans@breuer.org>
3119 [start of port to win32/msvc]
3120 * gcancellable.c : HAVE_UNIST_H and _pipe()
3121 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3122 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3123 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3125 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3126 * glocalvfs.c : use HAVE_PWD_H
3127 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3128 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3129 * Makefile.am : added to EXTRA_DIST
3131 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3133 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3136 2007-12-03 Alexander Larsson <alexl@redhat.com>
3139 Handle OSX style xattrs API (#500506)
3141 2007-12-03 Alexander Larsson <alexl@redhat.com>
3145 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3147 2007-12-02 A. Walton <awalton@svn.gnome.org>
3151 Documentation accuracy fixes.
3153 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3155 * gioenumtypes.c.template: Fix typo.
3157 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3159 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3161 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3163 * gdirectorymonitor.c:
3164 * gfilemonitor.c: Add properties
3166 * gbufferedoutputstream.c: Don't mark buffer-size property
3169 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3171 * gbufferedoutputstream.c: Add auto-grow property.
3173 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3175 * *.c: Unify the capitalization of section headings.
3177 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3179 * gmountoperation.c: Add properties
3181 * gdatainputstream.c: Turn byte-order and newline-type into
3184 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3186 * gioenumtypes.[hc].template: Templates for enum registration
3188 * Makefile.am: Generate gioenumtypes.[hc]
3190 * gio.h: Include gioenumtypes.h
3192 * gfile.h: Add some explicit nicks.
3194 * gio.symbols: Add new symbols
3196 * pltcheck.sh: Adjust
3198 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3200 * *.c: Explain etags and link to the explanation
3202 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3204 * *.c: Explain I/O priority.
3206 * *.c: More coding style fixes.
3208 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3210 * gasyncresult.c: Add another paragraph to the intro,
3211 adjust coding style of example.
3213 2007-11-29 A. Walton <awalton@svn.gnome.org>
3216 Fixes unknown meaning in GAppLaunchContext docs.
3218 Clarify asynchronous ops.
3220 Fix entity tag docs.
3223 Provides missing gtk-doc section, fixes API docs slighly.
3224 * gsimpleasyncresult.c:
3225 Fill in missing info in docs.
3226 * gunixinputstream.c:
3227 * gunixoutputstream.c:
3228 Be more expressive in short description.
3230 Remove gtk-doc stubs for non-public API.
3232 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3234 * *.c: Coding style fixups
3236 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3238 * inotify/inotify-helper.c: Don't export the lock from libgio.
3240 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3243 * abicheck.sh: Fix copy-and-paste leftovers
3245 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3247 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3249 2007-11-28 Alexander Larsson <alexl@redhat.com>
3253 Removed unnecessary file
3255 * gdesktopappinfo.[ch]:
3258 * glocaldirectorymonitor.[ch]:
3260 * glocalfileenumerator.[ch]:
3261 * glocalfileinputstream.[ch]:
3262 * glocalfilemonitor.[ch]:
3263 * glocalfileoutputstream.[ch]:
3265 * gnativevolumemonitor.c:
3266 * gpollfilemonitor.[ch]:
3267 * gunionvolumemonitor.[ch]:
3270 * gunixvolumemonitor.[ch]:
3273 * inotify/ginotifydirectorymonitor.[ch]:
3274 * inotify/ginotifyfilemonitor.[ch]:
3275 * inotify/inotify-helper.c:
3276 Append _ to all internal functions
3280 Export symbols needed for modules
3282 2007-11-28 Alexander Larsson <alexl@redhat.com>
3285 * abicheck.sh: Added.
3286 * makegioalias.pl: Added.
3287 * pltcheck.sh: Added.
3288 * gio.symbols: Added.
3291 Initial work on adding symbol handling.
3294 Correct ifdef guard name
3297 * inotify/Makefile.am:
3298 * xdgmime/Makefile.am:
3299 Include toplevel Makefile.decl
3301 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3303 * gcontenttype.c: Move doc comments to the unix section.
3305 * *.[hc]: More trivial doc corrections.
3307 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3309 * gpollfilemonitor.c:
3313 * gdesktopappinfo.c:
3318 * gdatainputstream.c:
3319 * gdatainputstream.h:
3320 * gdataoutputstream.c:
3321 * gdataoutputstream.h:
3322 * gfileinfo.h: Doc cleanups
3324 2007-11-28 Andre Klapper <a9016009@gmx.de>
3326 * gdesktopappinfo.c: Fix a typo.
3328 2007-11-27 Andre Klapper <a9016009@gmx.de>
3330 * glocalfileoutputstream.c: Fix a typo.
3332 2007-11-27 Alexander Larsson <alexl@redhat.com>
3335 Don't include removed headers
3337 2007-11-27 Alexander Larsson <alexl@redhat.com>
3340 * gsocketinputstream.[ch]: Removed.
3341 * gsocketoutputstream.[ch]: Removed.
3342 * gunixinputstream.[ch]: Added.
3343 * gunixoutputstream.[ch]: Added.
3344 Renamed GSocket*Stream to GUnix*Stream and made
3345 it unix-only, since its not really only for sockets
3346 and it only works on unix (but is highly useful there).
3348 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3354 * gbufferedinputstream.c:
3355 * gbufferedinputstream.h:
3356 * gbufferedoutputstream.c:
3357 * gbufferedoutputstream.h:
3361 * gdatainputstream.c:
3362 * gdatainputstream.h:
3363 * gdataoutputstream.c:
3364 * gdataoutputstream.h:
3365 * gdirectorymonitor.c:
3366 * gdirectorymonitor.h:
3373 * gfileenumerator.c:
3374 * gfileenumerator.h:
3379 * gfileinputstream.c:
3380 * gfileinputstream.h:
3383 * gfilenamecompleter.c:
3384 * gfilenamecompleter.h:
3385 * gfileoutputstream.c:
3386 * gfileoutputstream.h:
3387 * gfilterinputstream.c:
3388 * gfilterinputstream.h:
3389 * gfilteroutputstream.c:
3390 * gfilteroutputstream.h:
3403 * glocalfileoutputstream.c:
3404 * gmemoryinputstream.c:
3405 * gmemoryinputstream.h:
3406 * gmemoryoutputstream.c:
3407 * gmemoryoutputstream.h:
3408 * gmountoperation.c:
3409 * gmountoperation.h:
3412 * gpollfilemonitor.c:
3415 * gsimpleasyncresult.c:
3416 * gsimpleasyncresult.h:
3417 * gsocketinputstream.c:
3418 * gsocketinputstream.h:
3419 * gsocketoutputstream.c:
3420 * gsocketoutputstream.h:
3427 * gunixvolumemonitor.c:
3436 Bumps documentation to 93% symbol coverage, touching most
3437 of the public files. Fixes broken function documentation prototypes.
3438 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3439 gtk-doc headers in private files.
3441 2007-11-27 Jürg Billeter <j@bitron.ch>
3443 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3444 (g_buffered_input_stream_read_byte):
3445 * gbufferedinputstream.h:
3446 New functions for efficient access to buffer and simple single byte
3449 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3450 (g_data_input_stream_read_until):
3451 * gdatainputstream.h:
3452 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3453 read_until with multiple stop chars.
3455 2007-11-27 Alexander Larsson <alexl@redhat.com>
3459 * inotify/Makefile.am:
3460 Use the user-specified giomoduledir
3462 2007-11-27 Alexander Larsson <alexl@redhat.com>
3466 Add catch-all gio.h header
3467 Don't install gdummyfile.h
3469 2007-11-26 Alexander Larsson <alexl@redhat.com>
3471 * Makefile.am (gioinclude_HEADERS):
3472 Remove trailing whitespace
3474 2007-11-26 Alexander Larsson <alexl@redhat.com>
3476 Merge gio-standalone into glib
3478 2007-11-25 Christian Kellner <gicmo@gnome.org>
3480 * gio/goutputstream.c:
3481 Fix small mistake in the docs.
3483 2007-11-21 Christian Persch <chpe@gnome.org>
3485 * gio/glocalfile.c: (g_local_file_trash):
3486 Convert filenames to UTF-8 for GError.
3487 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3488 as per xdg base dir spec.
3490 2007-11-21 Christian Persch <chpe@gnome.org>
3492 * gio/gdesktopappinfo.c:
3493 Use that g_key_file_to_data cannot fail.
3495 Use stock defines for the key file group and key names.
3498 2007-11-21 Alexander Larsson <alexl@redhat.com>
3501 (copy_stream_with_progress):
3502 Make sure we do a final progress callback with
3503 the full total size.
3505 2007-11-21 Alexander Larsson <alexl@redhat.com>
3508 Export g_file_copy_attributes
3509 Remove padding as its not needed for interfaces
3511 2007-11-20 Alexander Larsson <alexl@redhat.com>
3516 Add G_IO_ERROR_WOULD_MERGE for
3517 copy/move dir on dir with overwrite.
3519 2007-11-20 Alexander Larsson <alexl@redhat.com>
3522 * gio/glocalfileinfo.c:
3523 Add COPY_NAME (this is an optional
3524 non-modified utf8 version of the name) that
3527 2007-11-20 Alexander Larsson <alexl@redhat.com>
3529 * gio/glocalfileenumerator.c:
3530 Report errors as GIOError, not GFileError
3532 2007-11-16 Alexander Larsson <alexl@redhat.com>
3534 * gio/glocalfileoutputstream.c:
3535 * gio/gwin32appinfo.c:
3536 Fix typos in strings.
3537 Patch from Luca Ferretti <elle.uca@libero.it>
3539 2007-11-15 Alexander Larsson <alexl@redhat.com>
3542 Post release version bump
3544 === gio-standalone 0.1.2 ===
3546 2007-11-15 Alexander Larsson <alexl@redhat.com>
3548 * docs/reference/gio/Makefile.am:
3549 Fix up distcheck by removing weird
3555 2007-11-14 Alexander Larsson <alexl@redhat.com>
3557 * gio/gdesktopappinfo.c:
3558 * gio/glocaldirectorymonitor.c:
3560 * gio/glocalfileinfo.c:
3561 * gio/inotify/inotify-sub.c:
3562 * programs/gio-cat.c:
3563 * programs/gio-copy.c:
3564 * programs/gio-info.c:
3565 * programs/gio-ls.c:
3566 * programs/gio-monitor-dir.c:
3567 * programs/gio-monitor-file.c:
3568 * programs/gio-mount.c:
3569 * programs/gio-move.c:
3570 * programs/gio-rm.c:
3571 * programs/gio-save.c:
3572 * programs/gio-trash.c:
3573 Leak fixes from Kjartan Maraas
3575 2007-11-14 Alexander Larsson <alexl@redhat.com>
3577 * gio/fam/fam-helper.c:
3579 * gio/glocalfileinfo.c:
3583 * gio/inotify/inotify-diag.c:
3584 * gio/inotify/inotify-kernel.c:
3585 Various code cleanups from Kjartan Maraas
3587 2007-11-14 Alexander Larsson <alexl@redhat.com>
3589 * gio/gioscheduler.c:
3591 Set up threadpool so that we cache 2 unused
3592 idle threads for at 15 secs. This means we
3593 will reuse thread-local data (like dbus connections)
3596 2007-11-14 Alexander Larsson <alexl@redhat.com>
3598 * gio/fam/fam-helper.c:
3599 * gio/fam/gfamdirectorymonitor.c:
3600 * gio/fam/gfamfilemonitor.c:
3602 * gio/gcontenttype.c:
3603 * gio/gdatainputstream.c:
3604 * gio/gdataoutputstream.c:
3608 * gio/gfileattribute.h:
3609 * gio/gfileenumerator.c:
3611 * gio/ginputstream.c:
3614 * gio/glocalfileinfo.c:
3615 * gio/goutputstream.c:
3616 * gio/gpollfilemonitor.c:
3617 * gio/gsimpleasyncresult.c:
3618 * gio/gunixmounts.c:
3619 * gio/gunixmounts.h:
3620 * gio/inotify/ginotifydirectorymonitor.c:
3621 * gio/inotify/ginotifyfilemonitor.c:
3622 * gio/inotify/inotify-diag.c:
3623 * gio/inotify/inotify-kernel.c:
3624 * gio/inotify/inotify-path.c:
3626 * gio/test-streams.c:
3627 * programs/gio-info.c:
3628 * programs/gio-monitor-dir.c:
3629 * programs/gio-monitor-file.c:
3630 Various code cleanups from Kjartan Maraas
3632 2007-11-13 Alexander Larsson <alexl@redhat.com>
3635 Handle the uri-scheme calls for dummy files
3637 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3639 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3640 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3641 to avoid clash with the C++ keyword.
3643 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3645 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3646 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3648 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3650 * gio/glocaldirectorymonitor.c:
3651 * gio/glocalfilemonitor.c:
3652 * gio/gunionvolumemonitor.c:
3653 Don't use g_once_init_*() for initializations that could fail and
3654 could leave the initialization variable set to 0 but use GOnce.
3655 This prevents a deadlock on the second call when trying to create
3656 a monitor and no monitor type is available. Thanks to Sven Herzberg
3659 2007-11-11 Sven Herzberg <sven@imendio.com>
3661 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3662 #ifdef (make it work on MacOS X again)
3664 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3666 Fixes Changelog for last two commits (sorry guys).
3668 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3670 * gio/gbufferedinputstream.c:
3671 * gio/gdatainputstream.c:
3673 * gio/gfileoutputstream.c:
3674 * gio/gfilterinputstream.c:
3675 * gio/glocalfileinputstream.c:
3678 More consistency fixes in g*stream.c files.
3679 Significant clean of gfile's documentation, filling in of
3680 asynchronous operations documentation.
3682 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3684 * gio/gasyncresult.c:
3685 * gio/gbufferedinputstream.c:
3686 * gio/gbufferedoutputstream.c:
3687 * gio/gcancellable.c:
3688 * gio/gcontenttype.c:
3689 * gio/gdatainputstream.c:
3690 * gio/gdataoutputstream.c:
3691 * gio/gdesktopappinfo.c:
3694 * gio/gfileattribute.c:
3695 * gio/gio/gfileenumerator.c:
3697 * gio/gfileinputstream.c:
3698 * gio/gfilemonitor.c:
3699 * gio/gfileoutputstream.c:
3700 * gio/ginputstream.c:
3702 * gio/gioscheduler.c:
3703 * gio/gloadableicon.c:
3704 * gio/glocalfileoutputstream.c:
3705 * gio/gmemoryoutputstream.c:
3706 * gio/gmountoperation.c:
3707 * gio/goutputstream.c:
3709 * gio/gsimpleasyncresult.c:
3710 * gio/gunionvolumemonitor.c:
3711 * gio/gunixmounts.c:
3712 * gio/gunixvolume.c:
3716 * gio/gvolumemonitor.c:
3717 Updated documentation stubs, working towards consistency and
3720 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3722 * gio/gmemoryoutputstream.c:
3723 * gio/gmemoryoutputstream.h:
3724 Change g_memory_output_stream_set_free_on_close() to
3725 g_memory_output_stream_set_free_data() as this makes more sense and
3726 is more consistent with GMemoryInputStream.
3728 2007-11-07 Alexander Larsson <alexl@redhat.com>
3735 Change how we find the default vfs so that
3736 we can handle a gvfs failing to init
3738 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3740 * gio/gbufferedoutputstream.c:
3741 * gio/gdatainputstream.c:
3742 * gio/gdataoutputstream.c:
3743 * gio/gfileinputstream.c:
3744 * gio/gfileoutputstream.c:
3745 * gio/gfilterinputstream.c:
3746 * gio/gfilteroutputstream.c:
3747 * gio/ginputstream.c:
3748 * gio/gmemoryinputstream.c:
3749 * gio/gmemoryoutputstream.c:
3750 * gio/goutputstream.c:
3751 * gio/gsimpleasyncresult.c:
3752 * gio/gsocketinputstream.c:
3753 * gio/gsocketoutputstream.c:
3754 Add guards to the remaining public functions, add a TODO for
3755 an unimplemented function and remove some useless guards.
3757 2007-11-07 Alexander Larsson <alexl@redhat.com>
3760 Autoconf checks for the various types of
3761 getpwuid_r and getgrgid_r
3763 * gio/glocalfileinfo.c:
3764 Use the autoconf checks from above
3766 2007-11-07 Alexander Larsson <alexl@redhat.com>
3769 (g_local_file_query_filesystem_info):
3770 Some fixes for the statvfs case
3772 2007-11-07 Alexander Larsson <alexl@redhat.com>
3775 (g_local_file_query_filesystem_info):
3776 Pick the "best" of statfs / statvfs for the system
3777 if both are availible.
3779 2007-11-07 Alexander Larsson <alexl@redhat.com>
3781 Solaris fixes from Halton.Huo@Sun.COM:
3788 * gio/glocalfileinfo.c:
3789 Fix for solaris definition of getpwuid_r
3791 * gio/test-streams.c:
3792 Use G_GNUC_PRETTY_FUNCTION
3794 2007-11-07 Alexander Larsson <alexl@redhat.com>
3796 * gio/gdesktopappinfo.c:
3797 (update_default_list):
3798 Remove double semicolon.
3799 Patch from Jens Granseuer
3801 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3803 * docs/reference/gio/gio-sections.txt:
3804 * gio/gbufferedinputstream.c:
3805 * gio/gbufferedinputstream.h:
3806 * gio/gdatainputstream.c:
3807 * gio/gfileenumerator.c:
3808 * gio/gioscheduler.c:
3809 * gio/gunionvolumemonitor.c:
3811 * programs/gio-save.c:
3812 Fix typo: availible -> available. Unfortuntely this breaks API
3813 and ABI as g_buffered_input_stream_get_available() was renamed.
3815 * gio/gunixmounts.c:
3816 * gio/gbufferedinputstream.c:
3817 Add guards for public functions.
3819 2007-11-06 Ross Burton <ross@openedhand.com>
3821 * docs/reference/gio/Makefile.am:
3822 Fix invalid += usage which automake 1.10 doesn't like.
3824 2007-11-06 Alexander Larsson <alexl@redhat.com>
3827 (g_app_launch_context_class_init):
3830 Patch from Ross Burton
3832 2007-11-06 Alexander Larsson <alexl@redhat.com>
3835 Post release version bump
3837 === gio-standalone 0.1.1 ===
3839 2007-11-06 Alexander Larsson <alexl@redhat.com>
3842 Bump version to 0.1.1
3844 * gio/gsimpleasyncresult.c:
3845 (g_simple_async_result_set_from_error):
3846 Remove bogus g_return_if_fail
3848 2007-11-06 Alexander Larsson <alexl@redhat.com>
3851 The name is gio-standalone
3854 Add top src/builddir to includedir
3856 2007-11-06 Alexander Larsson <alexl@redhat.com>
3858 * docs/reference/gio/gio-sections.txt:
3860 * gio/gbufferedinputstream.c:
3861 * gio/gbufferedoutputstream.c:
3862 * gio/gcancellable.c:
3863 * gio/gdatainputstream.h:
3864 * gio/gdataoutputstream.c:
3865 * gio/gdataoutputstream.h:
3866 * gio/gdirectorymonitor.c:
3868 * gio/gfileattribute.c:
3869 * gio/gfileattribute.h:
3870 * gio/gfileenumerator.c:
3871 * gio/gfileenumerator.h:
3874 * gio/gfileinputstream.h:
3875 * gio/gfilemonitor.c:
3876 * gio/gfileoutputstream.h:
3877 * gio/glocalfilemonitor.h:
3878 * gio/glocalfileoutputstream.h:
3879 * gio/gmemoryinputstream.c:
3880 * gio/gmemoryoutputstream.c:
3881 * gio/gmountoperation.c:
3882 * gio/goutputstream.c:
3883 * gio/goutputstream.h:
3885 * gio/gsimpleasyncresult.c:
3886 * gio/gunixmounts.c:
3887 * gio/gunixmounts.h:
3889 * gio/inotify/inotify-helper.c:
3890 Fix gtk-doc warnings
3892 Patch from Ross Burton
3894 2007-11-06 Alexander Larsson <alexl@redhat.com>
3896 * gio/gfilenamecompleter.c:
3897 (g_filename_completer_get_completions):
3900 * gio/gunixvolume.c:
3901 Remove unused function
3903 Patches from Ross Burton
3905 2007-11-06 Alexander Larsson <alexl@redhat.com>
3910 Padding not needed for interfaces
3912 2007-11-06 Alexander Larsson <alexl@redhat.com>
3914 * gio/gfilemonitor.c:
3918 Make giotypes.h an internal file
3921 * gio/gbufferedinputstream.h:
3922 * gio/gbufferedoutputstream.h:
3923 * gio/gcancellable.h:
3924 * gio/gdatainputstream.h:
3925 * gio/gdataoutputstream.h:
3926 * gio/gdirectorymonitor.c:
3927 * gio/gdirectorymonitor.h:
3932 * gio/gfileattribute.h:
3933 * gio/gfileenumerator.h:
3938 * gio/gfilemonitor.c:
3939 * gio/gfilemonitor.h:
3940 * gio/gfilenamecompleter.c:
3941 * gio/gfilenamecompleter.h:
3942 * gio/gfilterinputstream.h:
3943 * gio/gfilteroutputstream.h:
3944 * gio/ginputstream.h:
3945 * gio/gmemoryinputstream.h:
3946 * gio/gmemoryoutputstream.h:
3947 * gio/gmountoperation.c:
3948 * gio/gmountoperation.h:
3949 * gio/gnativevolumemonitor.c:
3950 * gio/goutputstream.h:
3953 * gio/gsimpleasyncresult.c:
3954 * gio/gsimpleasyncresult.h:
3955 * gio/gsocketinputstream.h:
3956 * gio/gsocketoutputstream.h:
3957 * gio/gthemedicon.c:
3958 * gio/gthemedicon.h:
3962 * gio/gvolumemonitor.c:
3963 * gio/gvolumemonitor.h:
3964 Add padding in classes where it seems useful
3965 Don't include giotypes.h from public headers
3966 Move in Class definitions into c file where possible
3971 2007-11-06 Alexander Larsson <alexl@redhat.com>
3973 * docs/reference/gio/gio-docs.xml:
3974 Better structure for API docs
3976 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3979 * gio/gloadableicon.c:
3980 * gio/gsimpleasyncresult.c:
3981 * gio/gthemedicon.c:
3982 Add some more guards to public functions. Only files missing are now
3985 2007-11-06 Alexander Larsson <alexl@redhat.com>
3987 * docs/reference/gio/gio-docs.xml:
3988 Remove old files, add missing ones
3990 2007-11-06 Alexander Larsson <alexl@redhat.com>
3992 * docs/reference/gio/gio-sections.txt:
3995 Hide implementation classes
3997 * gio/gdriveprivate.h:
3998 * gio/gvolumeprivate.h:
3999 Remove non-existing function declarations
4001 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4004 Fix compilation warnings and add guards to the new functions.
4006 * gio/gasyncresult.c:
4008 Add guards to the public functions.
4011 Implement get_path().
4013 2007-11-06 Alexander Larsson <alexl@redhat.com>
4015 * gio/gfilenamecompleter.c:
4016 Make g_filename_completer_get_completions
4017 return char ** instead of GList for
4020 * docs/reference/gio/gio-docs.xml:
4021 * docs/reference/gio/gio-sections.txt:
4023 * gio/gasyncresult.c:
4024 * gio/gbufferedinputstream.c:
4025 * gio/gbufferedoutputstream.c:
4026 * gio/gcancellable.c:
4027 * gio/gcontenttype.c:
4028 * gio/gdatainputstream.c:
4029 * gio/gdataoutputstream.c:
4030 * gio/gdesktopappinfo.c:
4031 * gio/gdirectorymonitor.c:
4035 * gio/gfileattribute.c:
4036 * gio/gfileenumerator.c:
4039 * gio/gfileinputstream.c:
4040 * gio/gfilemonitor.c:
4041 * gio/gfilenamecompleter.c:
4042 * gio/gfilenamecompleter.h:
4043 * gio/gfileoutputstream.c:
4044 * gio/gfilterinputstream.c:
4046 * gio/ginputstream.c:
4048 * gio/gioscheduler.c:
4049 * gio/gloadableicon.c:
4050 * gio/glocaldirectorymonitor.c:
4052 * gio/glocalfileinputstream.c:
4053 * gio/glocalfilemonitor.c:
4054 * gio/glocalfileoutputstream.c:
4056 * gio/gmemoryinputstream.c:
4057 * gio/gmemoryoutputstream.c:
4058 * gio/gmountoperation.c:
4059 * gio/goutputstream.c:
4060 * gio/gpollfilemonitor.c:
4062 * gio/gsimpleasyncresult.c:
4063 * gio/gsocketinputstream.c:
4064 * gio/gsocketoutputstream.c:
4065 * gio/gthemedicon.c:
4066 * gio/gunionvolumemonitor.c:
4068 * gio/gunixmounts.c:
4069 * gio/gunixvolume.c:
4070 * gio/gunixvolumemonitor.c:
4074 * gio/gvolumemonitor.c:
4075 * gio/gwin32appinfo.c:
4076 Add (mostly stub) doc strings to public functions.
4077 Patch from Andrew Walton (awalton@gmail.com)
4079 2007-11-06 Alexander Larsson <alexl@redhat.com>
4081 * gio/gappinfo.[ch]:
4082 Added GAppLaunchContext object and pass that to launch.
4083 This allows simple implementation of both
4084 launch-on-screen and startup notification via a gtk+
4085 subclass of GAppLaunchContext
4087 * gio/gdesktopappinfo.c:
4088 Implement GAppLaunchContext API
4090 * gio/gwin32appinfo.c:
4093 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4095 * gio/gmountoperation.c:
4096 Add some guards to GMountOperation's public functions.
4098 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4102 * gio/gcancellable.c:
4103 * gio/gdirectorymonitor.c:
4105 * gio/gfileenumerator.c:
4106 * gio/gfilemonitor.c:,
4107 * gio/gfilenamecompleter.c:
4110 * gio/gioscheduler.c:
4114 * gio/gvolumemonitor.c:
4115 Add even more guards to various public functions.
4117 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4120 Add guards to the public functions of GAppInfo.
4122 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4124 * gio/gcontenttype.c:
4125 Add some more guards for public functions.
4127 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4129 * gio/fam/fam-module.c:
4130 * gio/fam/gfamdirectorymonitor.c:
4131 * gio/fam/gfamdirectorymonitor.h:
4132 * gio/fam/gfamfilemonitor.c:
4133 * gio/fam/gfamfilemonitor.h:
4134 * gio/inotify/ginotifydirectorymonitor.c:
4135 * gio/inotify/ginotifydirectorymonitor.h:
4136 * gio/inotify/ginotifyfilemonitor.c:
4137 * gio/inotify/ginotifyfilemonitor.h:
4138 Add proper copyright information and remove an unused variable
4139 in the GInotifyFileMonitor constructor.
4141 * gio/gcancellable.c:
4142 Add a guard for a public function and an assertion to prevent
4143 an undefined program state.
4145 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4147 * gio/gfileattribute.c:
4148 Don't run into an assertion if the given attribute value is NULL
4149 in g_file_attribute_value_get_*() but instead return a fallback
4150 value that makes sense in most situations. Passing them a attribute
4151 value with the wrong type will still run into an assertion.
4153 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4155 * gio/gfileattribute.c:
4157 Add even more guards to the public functions. Also fix the refcounting
4158 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4159 let g_file_info_list_attributes() filter the attributes by namespace
4160 instead of simply ignoring the namespace parameter.
4162 2007-11-03 Sven Herzberg <sven@imendio.com>
4164 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4165 (This makes gio work on MacOS X again)
4167 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4170 Build the gio subdirectory before the docs. Otherwise the build will
4173 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4174 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4175 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4176 Add guards to the public functions.
4178 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4180 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4181 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4182 to prevent a compiler warning.
4184 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4185 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4186 return something in the non-void function find_topdir_for().
4188 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4195 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4197 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4198 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4199 * gwin32appinfo.c (g_win32_app_info_launch):
4200 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4201 envp_for_startup_id, g_desktop_app_info_launch,
4202 g_desktop_app_info_launch_uris):
4204 Give an opaque 'startup_id' string instead of 'envp'.
4205 Support empty file lists for launching new windows.
4206 Fix infinite recursion bug when launching URIs.
4208 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4211 Add guard to the new g_file_get_uri_scheme() function.
4213 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4216 Convert a g_return_val_if_fail() to setting the GError instead as
4217 otherwise applications have to verify the parameter before otherwise
4218 and the parameter might come directly from the user.
4220 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4222 * gio/inotify/ginotify*.[ch]:
4223 Add missing copyright information.
4225 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4228 Add guards in the beginning of public functions to check for valid
4229 parameters and fix a bug in copy_stream_with_progress() that could've
4230 caused writing less bytes than reading.
4231 * gio/glocalfileinfo.c:
4232 Check for a NULL parameter and set the GError accordingly then.
4233 * gio/goutputstream.c:
4234 Fix the same bug as in gfile.c that could've caused writing less bytes
4235 than reading in g_output_stream_real_splice().
4237 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4240 Use the correct gvolumeprivate.h naming
4242 2007-11-01 Christian Kellner <gicmo@gnome.org>
4245 Remove leftover "$(daemon_sources)" entry.
4247 2007-11-01 Christian Kellner <gicmo@gnome.org>
4252 Add copyright information to source files.
4254 2007-11-01 Alexander Larsson <alexl@redhat.com>
4258 Add g_file_get_uri_scheme
4260 2007-11-01 Alexander Larsson <alexl@redhat.com>
4263 * gio/gdesktopappinfo.c:
4264 * gio/gwin32appinfo.c:
4265 Add g_app_info_get_default_for_uri_scheme.
4267 2007-11-01 Alexander Larsson <alexl@redhat.com>
4270 Correct filename for gdriveprivate.h
4272 2007-10-31 Alexander Larsson <alexl@redhat.com>
4275 Rename id:value to id:file
4278 * gio/glocalfileinfo.c:
4281 2007-10-31 Alexander Larsson <alexl@redhat.com>
4283 * gio/gunixvolume.c:
4285 Remove g_volume_get_platform_id, as thats not
4286 needed with the simpler union volume monitor
4288 2007-10-31 Alexander Larsson <alexl@redhat.com>
4291 * gio/guniondrive.[ch]: Removed.
4292 * gio/gunionvolume.[ch]: Removed.
4293 Remove GUnionDrive/Volume
4295 * gio/gunionvolumemonitor.c:
4296 Simplify union volume monitor, now we
4297 only have one native volume monitor and
4298 we use the actual volumes/drives from the
4299 child monitors instead of wrapping them
4301 * gio/gnativevolumemonitor.[ch]:
4302 Base class for native volume monitors.
4303 Includes priority and get_volume_for_mountpoint
4306 Add g_file_find_enclosing_volume
4309 Remove volume name fs attribute
4310 Add readonly fs attribute
4313 Implement readonly attribute
4314 remove volume name attribute
4315 Implement find_enclosing volume
4317 * gio/gunixmounts.c:
4318 Add a volume for "/".
4320 * gio/gunixvolume.[ch]:
4321 Set better name for /
4323 * gio/gunixvolumemonitor.[ch]:
4324 Derive from GNativeVolumeMonitor
4325 Implement get_volume_for_mountpoint
4328 GVolume typedef moved to gfile.h
4330 * gio/gvolumeprivate.h:
4331 Add g_volume_get_for_mount_path
4333 2007-10-31 Alexander Larsson <alexl@redhat.com>
4335 * gio/gunixmounts.[ch]:
4336 Add cache info to unix mount listers
4337 Make getmntent use threadsafe
4338 Add is_system_internal attribute for GUnixMount
4340 * gio/gunixvolume.c:
4341 (g_unix_volume_new):
4342 Use is_system_internal instead of own code
4344 * gio/glocaldirectorymonitor.c:
4345 * gio/gunixvolumemonitor.c:
4346 Update to new gunixmounts API
4351 2007-10-30 Alexander Larsson <alexl@redhat.com>
4354 Add volume name fsinfo attribute
4357 Read volume name info
4359 * gio/gunionvolumemonitor.c:
4360 Fix infinite loops when finalizing a union volume monitor
4362 2007-10-30 Alexander Larsson <alexl@redhat.com>
4364 * gio/goutputstream.[ch]:
4365 Add splice() with default implementation
4367 * gio/gsocketoutputstream.c:
4368 (g_socket_output_stream_write):
4369 Return error on cancellation correctly.
4371 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4373 * gio/glocalfile.c (g_local_file_trash):
4374 Do not leak a string.
4376 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4378 * gio/gfile.c (g_file_load_contents):
4379 Unref the stream after closing it.
4381 2007-10-25 Alexander Larsson <alexl@redhat.com>
4383 * gio/gioscheduler.h:
4386 2007-10-25 Alexander Larsson <alexl@redhat.com>
4390 Add g_file_has_uri_scheme and implement for local files
4392 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4394 * gio/gdesktopappinfo.c: do not leak a string.
4396 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4398 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4399 (g_local_directory_monitor_new):
4400 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4401 (g_local_file_monitor_new):
4402 Only look for the monitor type that should be used the first time
4403 and use g_qsort_with_data() instead of our own bubble sort
4406 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4409 * gio/fam/Makefile.am:
4410 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4411 * gio/fam/fam-helper.h:
4412 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4413 * gio/fam/gfamdirectorymonitor.c:
4414 * gio/fam/gfamdirectorymonitor.h:
4415 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4416 * gio/fam/gfamfilemonitor.h:
4417 * gio/glocaldirectorymonitor.c:
4418 * gio/glocaldirectorymonitor.h:
4419 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4420 * gio/glocalfilemonitor.h:
4421 * gio/inotify/Makefile.am:
4422 * gio/inotify/ginotifydirectorymonitor.c:
4423 * gio/inotify/ginotifydirectorymonitor.h:
4424 * gio/inotify/ginotifyfilemonitor.c:
4425 * gio/inotify/ginotifyfilemonitor.h:
4426 Implement the FAM and Inotify monitors as
4427 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4428 their own GIO module. GLocal(Directory|File)Monitor will use the
4429 monitor with the highest rank that is supported on that machine.
4431 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4434 Change GIO module dir to $(libdir)/gio/modules and change
4435 the log domain from GVFS to GIO. Also only export symbols starting
4436 with g_ in the resulting library.
4437 * gio/test-streams.c: (main):
4438 Set log handler for the GIO log domain.
4440 2007-10-22 Alexander Larsson <alexl@redhat.com>
4442 * gio/gfilenamecompleter.[ch]:
4443 Add g_filename_completer_set_dirs_only
4445 2007-10-22 Alexander Larsson <alexl@redhat.com>
4448 * gio/gurifuncs.[ch]:
4449 Add some simple URI helpers
4451 * gio/gfilenamecompleter.[ch]:
4452 Added object for filename (parse name actually) completion
4455 Handle ~ in parse names
4457 2007-10-17 Alexander Larsson <alexl@redhat.com>
4460 * gio/glocalfileinfo.c:
4461 Add and implement id:value attribute
4463 2007-10-17 Alexander Larsson <alexl@redhat.com>
4466 * gio/guniondrive.c:
4468 Add and implement g_drive_has_volumes
4470 2007-10-17 Alexander Larsson <alexl@redhat.com>
4473 * gio/glocalfileinfo.[ch]:
4474 Add unix:is_mountpoint and implement for local files
4476 2007-10-16 Alexander Larsson <alexl@redhat.com>
4478 * gio/gunionvolumemonitor.c:
4479 (g_union_volume_monitor_init):
4480 Fix up the unix type getting so that it works with gcc
4482 2007-10-12 Alexander Larsson <alexl@redhat.com>
4485 * gio/glocalfileinfo.c:
4486 Add thumbnail:failed to file info
4488 2007-10-12 Richard Hult <richard@imendio.com>
4490 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4491 optimizing away the get_type call (happens with some gcc versions,
4492 like the one shipped with OS X 10.4).
4494 2007-10-12 Alexander Larsson <alexl@redhat.com>
4496 * gio/glocalfileinfo.c:
4497 (_g_local_file_info_set_attribute):
4498 Fix build if not HAVE_XATTR
4499 Patch from Milosz Derezynski <internalerror@gmail.com>
4501 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4503 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4504 around for review, otherwise I would have asked you before
4507 2007-10-11 Alexander Larsson <alexl@redhat.com>
4510 Add thumbnail:path attribute
4512 * gio/glocalfileinfo.c:
4513 Implement thumbnail:path for local files
4515 2007-10-11 Alexander Larsson <alexl@redhat.com>
4517 * gio/glocalfileinfo.c:
4518 (_g_local_file_info_get):
4519 Avoid duplicate icon names
4521 2007-10-11 Alexander Larsson <alexl@redhat.com>
4523 * gio/gthemedicon.[ch]:
4524 Change g_themed_icon_get_names return type to const
4526 2007-10-10 Alexander Larsson <alexl@redhat.com>
4528 * gio/glocalfileinfo.c:
4529 Don't reference freed memory
4531 2007-10-10 Alexander Larsson <alexl@redhat.com>
4533 * gio/gfileattribute.c:
4536 * gio/glocalfileinfo.c:
4539 2007-10-10 Alexander Larsson <alexl@redhat.com>
4542 Check for NULL icons
4544 * gio/gfileattribute.c:
4545 Don't dup when getting objects (same as for string attributes)
4547 * gio/gicon.c (g_icon_equal):
4548 Safely handle NULLs in equal
4550 2007-10-10 Alexander Larsson <alexl@redhat.com>
4553 Fix c++ compilation issues
4554 Patch from Milosz Derezynski <internalerror@gmail.com>
4556 2007-10-10 Alexander Larsson <alexl@redhat.com>
4558 * programs/gio-monitor-dir.c:
4559 Don't crash if dir monitor not supported.
4561 2007-10-09 Alexander Larsson <alexl@redhat.com>
4564 Add missing G_END_DECLS
4566 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4568 * gio/gfile.c: (g_file_set_display_name),
4569 (g_file_query_settable_attributes),
4570 (g_file_query_writable_namespaces):
4571 Return NULL not FALSE on errors as the return type is a pointer.
4573 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4575 * gio/glocalfile.c: (g_local_file_monitor_file):
4576 Don't call monitor_file on the default interface vtable (which
4577 is NULL) but simply return NULL. The caller, GFile, will create a
4578 polling monitor if NULL is returned.
4580 2007-10-09 Alexander Larsson <alexl@redhat.com>
4584 * gio-unix-2.0.pc.in:
4585 Add gio-unix-2.0.pc if OS_UNIX
4588 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4590 2007-10-09 Alexander Larsson <alexl@redhat.com>
4592 * gio/gunixmounts.[ch]:
4593 Make unix mount monitoring API sane.
4594 Now its just a object with mounts_changed
4595 and mountpoints_changed signals.
4597 * gio/glocaldirectorymonitor.c:
4598 * gio/gunixvolumemonitor.c:
4599 Use new mount monitor api
4601 2007-10-09 Alexander Larsson <alexl@redhat.com>
4603 * gio/gunixmounts.[ch]:
4604 Move guess type into one call for mounts and one for mountpoints
4607 * gio/gunixvolume.c:
4610 2007-10-09 Alexander Larsson <alexl@redhat.com>
4612 * gio/gunixmounts.[ch]:
4613 Remove _ prefix in preparation to make this semi-public
4614 Hide implementation of structs
4616 * gio/glocaldirectorymonitor.c:
4618 * gio/gunixvolume.c:
4619 * gio/gunixvolumemonitor.c:
4620 Update for above API changes
4622 2007-10-08 Alexander Larsson <alexl@redhat.com>
4625 Better polling fallback. This also handles the case where we have
4626 a monitor_file implementation, but it fails.
4628 2007-10-08 Alexander Larsson <alexl@redhat.com>
4632 * gio/gunixmounts.c:
4633 * programs/gio-monitor-dir.c:
4634 * programs/gio-monitor-file.c:
4635 Added cancellable to file monitoring calls.
4636 These are really sync calls and need this.
4638 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4640 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4641 (g_local_vfs_class_init):
4642 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4643 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4645 2007-10-05 Alexander Larsson <alexl@redhat.com>
4647 * gio/gdirectorymonitorprivate.h:
4648 * gio/gfilemonitorprivate.h:
4649 * gio/gdirectorymonitor.h:
4650 * gio/gfilemonitor.h:
4651 Remove *private.h and move to the public API, so that
4652 we can do implementations outside gio (such as in gvfs)
4654 * gio/gdirectorymonitor.c:
4655 * gio/gfilemonitor.c:
4656 * gio/glocaldirectorymonitor.c:
4657 * gio/gpollfilemonitor.c:
4658 * gio/inotify/inotify-helper.c:
4659 * gio/fam/fam-helper.c:
4660 Update to the new header names
4662 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4664 * gio/gdirectorymonitor.c:
4665 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4668 2007-10-04 Alexander Larsson <alexl@redhat.com>
4670 * gio/glocalfileinfo.c (get_access_rights):
4671 Set CAN_TRASH when we can move the file.
4672 We should really also check for a parent trash dir.
4674 2007-10-04 Alexander Larsson <alexl@redhat.com>
4676 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4677 Add can_trash access attribute
4679 2007-10-04 Alexander Larsson <alexl@redhat.com>
4682 (g_local_file_trash):
4683 Create info file first. This is per-spec and allows
4684 us to actually trash directories.
4686 2007-10-02 Alexander Larsson <alexl@redhat.com>
4688 * gio/gdesktopappinfo.c:
4689 Implement the new mime support code.
4690 Always set app as handling mimetype when being set as default for it
4692 2007-10-01 Alexander Larsson <alexl@redhat.com>
4694 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4695 Fix up check for xattrs:
4697 2007-10-01 Alexander Larsson <alexl@redhat.com>
4700 (g_app_info_set_as_default_for_extension):
4701 (g_app_info_add_supports_type):
4702 (g_app_info_can_remove_supports_type):
4703 (g_app_info_remove_supports_type):
4704 Make these fail nicely if not implemented
4706 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4708 * gio/glocalfileoutputstream.c:
4709 * gio/glocalfileoutputstream.h:
4714 * programs/gio-save.c:
4715 Add a GFileCreateFlags argument to operations that can create
4718 2007-10-01 Alexander Larsson <alexl@redhat.com>
4720 * gio/gappinfo.[ch]:
4721 * gio/gdesktopappinfo.c:
4722 Add more (stubbed out) mime API needed for nautilus
4724 2007-10-01 Alexander Larsson <alexl@redhat.com>
4727 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4728 Add g_app_info_set_as_default_for_extension.
4730 * gio/gdesktopappinfo.c:
4731 Dummy for g_app_info_set_as_default_for_extension
4732 Support flags in g_app_info_create_from_commandline
4734 * gio/gwin32appinfo.c:
4736 Update for API changes
4738 * gio/gthemedicon.c:
4739 Properly NULL-terminate list of icon names
4741 2007-09-28 Alexander Larsson <alexl@redhat.com>
4743 * gio/gloadableicon.h:
4744 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4746 2007-09-28 Alexander Larsson <alexl@redhat.com>
4749 Install headers in $includedir/gio-standalone/
4751 * gio-2.0.pc.in: Added.
4752 * gio-standalone.pc.in: Removed.
4755 Renamed pkg-config file to match glib (for future move)
4756 Update to the new include dir
4759 Add more TODO comments
4761 2007-09-28 Alexander Larsson <alexl@redhat.com>
4763 * gio/gdesktopappinfo.[ch]:
4764 Expose new_from_filename
4765 Add getter for is_hidden and handle it better
4767 2007-09-28 Alexander Larsson <alexl@redhat.com>
4769 * gio/gfileinfo.[ch]:
4770 Rename g_file_size_format_for_display to
4771 g_format_file_size_for_display.
4772 Now it doesn't have the g_file prefix, so we
4773 can later move it to glib.
4775 2007-09-28 Alexander Larsson <alexl@redhat.com>
4777 * gio/gappinfo.[ch]:
4778 Add g_app_info_get_id and g_app_info_get_executable.
4779 Make all getters non-reffing
4780 Make g_app_info_launch take GFile arguments.
4781 Add must_support_uris argument to g_app_info_get_default_for_type.
4783 * gio/gwin32appinfo.c:
4784 Update to GAppInfo api changes
4786 * gio/gdesktopappinfo.c:
4787 Update to GAppInfo api changes
4788 Implement supports_xdg_startup_notify
4790 * gio/gfileicon.c (g_file_icon_get_file):
4791 Make getter non-reffing.
4796 2007-09-27 Alexander Larsson <alexl@redhat.com>
4798 * gio/gfileinfo.[ch]:
4799 Add g_file_size_format_for_display helper
4801 2007-09-27 Alexander Larsson <alexl@redhat.com>
4803 * gio/glocalfileinfo.c:
4804 Set UNIX_GID from gid, not from uid
4806 2007-09-27 Alexander Larsson <alexl@redhat.com>
4809 Add g_file_set_attributes_async
4811 2007-09-27 Alexander Larsson <alexl@redhat.com>
4813 * gio/glocalfile.c (g_local_file_set_display_name):
4814 Fix set_display_name to actually rename to the right place.
4815 Use lstat to look for existing files so we don't overwrite
4818 2007-09-26 Alexander Larsson <alexl@redhat.com>
4821 Add g_file_set_display_name_async()
4823 2007-09-26 Alexander Larsson <alexl@redhat.com>
4826 Add load_partial_contents async calls
4829 Make internal function static
4831 2007-09-26 Alexander Larsson <alexl@redhat.com>
4833 * gio/glocalfileinfo.c:
4834 Correctly detect broken symlinks
4836 2007-09-26 Alexander Larsson <alexl@redhat.com>
4838 * gio/gcancellable.c (g_cancellable_cancel):
4839 Allow cancel on NULL cancellable
4841 2007-09-25 Alexander Larsson <alexl@redhat.com>
4843 * gio/gsimpleasyncresult.c:
4844 Don't allocate g_error manually.
4845 Fixes g_slice/g_new mixup crash
4847 2007-09-25 Alexander Larsson <alexl@redhat.com>
4849 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4850 Actually set active_backend.
4851 This means the monitor will be cancelled correctly.
4853 2007-09-25 Alexander Larsson <alexl@redhat.com>
4855 * gio/gdirectorymonitor.c:
4856 Set timeout to NULL when destroying
4858 2007-09-25 Alexander Larsson <alexl@redhat.com>
4861 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4862 that is a better description of the error.
4864 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4866 * gio/gvfs.c: (g_vfs_get_local):
4867 Make the local vfs variable static. The same instance should
4870 2007-09-24 Alexander Larsson <alexl@redhat.com>
4872 * gio/glocalfileinfo.c:
4873 Pass in actual length read into sniffer, not the length
4876 2007-09-21 Alexander Larsson <alexl@redhat.com>
4878 * gio/gfileenumerator.c:
4881 * gio/gfileinputstream.c:
4882 * gio/gfileoutputstream.c:
4883 * gio/ginputstream.c:
4884 * gio/goutputstream.c:
4885 Don't crash if async callbacks are NULL
4887 2007-09-20 Alexander Larsson <alexl@redhat.com>
4890 Add async enumerate_children method and default
4893 2007-09-20 Alexander Larsson <alexl@redhat.com>
4896 Add g_file_contains_file & g_file_get_relative_path, since they
4897 were needed for nautilus.
4898 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4903 Implement new methods
4905 2007-09-17 Alexander Larsson <alexl@redhat.com>
4908 * gio/gfileinputstream.[ch]:
4909 * gio/gfileoutputstream.[ch]:
4911 * gio/glocalfileenumerator.[ch]:
4912 * gio/glocalfileinfo.[ch]:
4913 * gio/glocalfileinputstream.c:
4914 * gio/glocalfileoutputstream.c:
4915 * gio/gpollfilemonitor.c:
4916 * programs/gio-copy.c:
4917 * programs/gio-info.c:
4918 * programs/gio-move.c:
4919 Rename get_file_info to query_info() to make it clearer
4920 that these are not simple getters, but do i/o.
4922 2007-09-17 Alexander Larsson <alexl@redhat.com>
4924 * gio/gdatainputstream.[ch]:
4925 * gio/test-streams.c:
4926 Use _read_XXX instead of _get_XXX for the i/o calls
4929 2007-09-17 Alexander Larsson <alexl@redhat.com>
4932 Added needed stuff to TODO comment
4934 2007-09-17 Alexander Larsson <alexl@redhat.com>
4936 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4937 Don't error out removing the backup copy if it doesn't
4940 2007-09-14 Alexander Larsson <alexl@redhat.com>
4942 * programs/Makefile.am:
4943 * programs/gvfs-*.c:
4945 Renamed apps from gvfs-xxx to gio-xxx.
4947 2007-09-14 Alexander Larsson <alexl@redhat.com>
4950 * gio/gfileoutputstream.[ch]:
4951 * gio/glocalfileoutputstream.c:
4952 * programs/gvfs-save.c:
4953 g_file_output_stream_get_etag doesn't do i/o, so remove
4954 cancellation and error.
4956 2007-09-14 Alexander Larsson <alexl@redhat.com>
4959 Add new_etag output to replace_contents functions
4961 2007-09-14 Alexander Larsson <alexl@redhat.com>
4963 * gio/gfileoutputstream.[ch]:
4964 Add async get_file_info and default implementation
4966 2007-09-14 Alexander Larsson <alexl@redhat.com>
4968 * gio/gfileinputstream.c:
4969 Implement fallback wrapper for async get_file_info
4971 2007-09-14 Alexander Larsson <alexl@redhat.com>
4974 Add etag out argument to load_contents
4979 2007-09-14 Alexander Larsson <alexl@redhat.com>
4981 * gio/gcontenttype.c (looks_like_text):
4982 Whitespace like tab, cr and lf do not make the
4985 2007-09-14 Alexander Larsson <alexl@redhat.com>
4987 * gio/gfileinputstream.[ch]:
4988 Add async get_file_info.
4990 2007-09-13 Alexander Larsson <alexl@redhat.com>
4992 * gio/goutputstream.c (g_output_stream_write_all):
4993 Allow NULL for bytes_written
4995 2007-09-13 Alexander Larsson <alexl@redhat.com>
4997 * gio/gmemoryinputstream.[ch]:
4998 Add accessors for data
5000 2007-09-13 Alexander Larsson <alexl@redhat.com>
5002 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5003 Don't crash if length is NULL