1 2008-09-12 Tor Lillqvist <tml@novell.com>
3 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
4 FormatMessage() etc here. Call g_win32_error_message() instead
5 which already does all that. Besides, the code was broken as it
6 called the default "A" version of FormatMessage() but still
7 thought it produced a wide string.
9 2008-09-12 Michael Natterer <mitch@imendio.com>
11 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
14 2008-09-08 Christian Neumair <cneumair@gnome.org>
16 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
17 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
18 Use non-blocking pipe for mount helper I/O. Fixes #550647.
20 2008-09-06 Matthias Clasen <mclasen@redhat.com>
22 Bug 551149 – xdgmime mem leak
24 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
25 a memory leak. Patch by Christian Persch
27 2008-09-04 Tor Lillqvist <tml@novell.com>
29 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
32 2008-09-02 Matthias Clasen <mclasen@redhat.com>
34 * === Released 2.18.0 ===
36 2008-09-02 Michael Natterer <mitch@imendio.com>
38 * *.h: big header formatting cleanup: indentation, vtable
39 formatting, consistent spacing in (* vfunc), trailing whitespace
40 removal. Formatting should be pretty consistent in all GIO headers
43 2008-09-02 Matthias Clasen <mclasen@redhat.com>
45 * gmount.h: Document guess_content_type sync vfunc.
47 2008-09-02 Michael Natterer <mitch@imendio.com>
49 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
50 fix parent_class member to be GFilterOutputStreamClass (not
51 GOutputStreamClass). Drop three pointers of padding, which is
52 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
53 so the class struct size stays the same.
55 2008-09-02 Matthias Clasen <mclasen@redhat.com>
57 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
59 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
60 nonexisting return values. Pointed out by Cosimo Cecchi.
62 2008-08-23 Tor Lillqvist <tml@novell.com>
64 Bug 548988 - g_file_replace fails on Windows when the target file
67 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
68 Windows, close the file before potentially renaming it (in case we
69 have been writing to a file with a temporary name).
71 (g_local_file_output_stream_close, handle_overwrite_open): Use
72 GLocalFileStat instead of plain struct stat, for passing to
73 _g_local_file_info_create_etag(). Thus also use _fstati64()
74 instead of plain fstat() on Windows.
76 2008-08-18 Matthias Clasen <mclasen@redhat.com>
78 * === Released 2.17.7 ===
80 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
82 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
85 2008-08-13 Tor Lillqvist <tml@novell.com>
89 * win32/gwinhttpfile.c
90 * win32/gwinhttpfileinputstream.c
91 * win32/gwinhttpfileoutputstream.c: Refactor some common code
92 snippets into helper functions. Check HTTP response status
93 codes. Implement g_winhttp_file_query_info(), looking at
94 Content-Length, Content-Type and Last-Modified.
96 * win32/winhttp.h: Add some symbolic constants that are not
97 publicly documented. Just a handful, so it should be OK to use
98 information from the Windows SDK's headers.
100 2008-08-13 Tor Lillqvist <tml@novell.com>
102 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
105 * win32/gwin32directorymonitor.c
106 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
108 2008-08-13 Matthias Clasen <mclasen@redhat.com>
111 * goutputstream.c: Add intro docs.
113 2008-08-13 Tor Lillqvist <tml@novell.com>
115 * win32/gwinhttpfileoutputstream.c
116 (g_winhttp_file_output_stream_write): Don't write the
117 Content-Length header ourselves, WinHttpSendRequest() takes care
118 of that when the dwTotalLength parameter is non-zero. Increment
119 offset by the number of actual bytes sent, although I wonder if
120 such a scenario is possible where less than requested would be
121 sent and accepted by the server without errors.
123 2008-08-13 Tor Lillqvist <tml@novell.com>
125 * win32/gwinhttpvfs.c
126 * win32/gwinhttpvfs.h
127 * win32/gwinhttpfile.c
128 * win32/gwinhttpfile.h
129 * win32/gwinhttpfileinputstream.c
130 * win32/gwinhttpfileinputstream.h
131 * win32/gwinhttpfileoutputstream.c
132 * win32/gwinhttpfileoutputstream.h: New files implementing
133 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
134 Windows. The implementation uses the WinHttp API. Both reading and
135 writing are supported, i.e. GET and PUT requests. When writing,
136 each write call is done using a separate PUT request with a
137 Content-Range header. Requests for file URIs and plain pathnames
138 are forwarded to GLocalVfs.
140 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
141 WINE. Used as there is no <winhttp.h> bundled with mingw, and
142 requiring people to download the Windows SDK just for this one
143 header is not reasonable.
145 * win32/Makefile.am: Add above files.
147 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
148 the plumbing for the above.
150 2008-08-11 Sven Neumann <sven@gimp.org>
152 * gfilenamecompleter.c
153 * glocaldirectorymonitor.c
155 * gunionvolumemonitor.c
159 * gunixvolumemonitor.c
162 * gwin32volumemonitor.c: use canonical signal names.
164 2008-08-11 Tor Lillqvist <tml@novell.com>
166 * Makefile.am: Put a list of the platform-dependent .la files in
167 the subdirectories in the platform_deps Make variable, and make
168 libgio-2.0.la depend on that, so that it gets relinked if one of
169 the dependent libraries has changed.
171 2008-08-11 Tor Lillqvist <tml@novell.com>
173 * Makefile.am (platform_libadd): Remove -lwininet which had been
174 added by mistake. We will probably eventually be using WinHTTP,
175 not the older WinInet anyway. (Actually I am working on it.)
177 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
179 Bug 547080 – g_file_copy leaks expected errors
181 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
182 before trying the next fallback routine.
184 2008-08-09 Loïc Minier <lool@dooz.org>
186 Bug 535124 – umask 002 not being applied for new directories, new
187 files get the correct umask
189 * gfile.c (g_file_make_directory)
190 (g_file_make_directory_with_parents): Document ownership and
191 permissions of newly created directories as being the default
194 2008-08-08 Loïc Minier <lool@dooz.org>
196 Bug 535124 – umask 002 not being applied for new directories, new
197 files get the correct umask
199 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
202 2008-08-08 Tor Lillqvist <tml@novell.com>
204 * gwin32mount.c: Remove unused code. Whitespace cleanup.
206 * gwin32volumemonitor.c (get_connected_drives): Put questionable
207 code that didn't actually do anything inside #if 0, and add a
208 comment wondering what the code was supposed to do. This also gets
209 rid of a leftover debugging printout.
211 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
213 * gfileicon.c (g_file_icon_get_property)
214 (g_file_icon_set_property): New functions.
215 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
217 (g_file_icon_new): Use the property (bug #546132).
219 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
221 * gthemedicon.c (g_themed_icon_get_property): Also handle
222 `PROP_USE_DEFAULT_FALLBACKS'.
223 (g_themed_icon_class_init): Make
224 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
226 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
228 Bug 546371 – Improve docs re g_file_monitor
230 * gfilemonitor.c: Mention g_file_monitor() in the docs.
232 2008-08-04 Matthias Clasen <mclasen@redhat.com>
234 * === Released 2.17.6 ===
236 2008-08-04 Matthias Clasen <mclasen@redhat.com>
238 * === Released 2.17.5 ===
240 2008-08-04 Matthias Clasen <mclasen@redhat.com>
242 Bug 546017 – Don't copy attributes when copying a symlink
244 * gfile.c (g_file_copy_attributes): Specify
245 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
246 g_file_set_attributes_from_info. Patch by Christian Kellner
248 2008-08-04 Matthias Clasen <mclasen@redhat.com>
250 * gemblemedicon.[hc]:
252 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
253 a bit more extensible. Work by Clemens Buss.
255 * gioenums.h: Add GEmblemOrigin.
258 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
260 Bug 546079 – leak in xdgmime
262 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
264 2008-08-03 Tor Lillqvist <tml@novell.com>
266 * win32/gwin32directorymonitor.h
267 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
270 2008-08-03 Tor Lillqvist <tml@novell.com>
272 * win32/gwin32directorymonitor.c
273 (g_win32_directory_monitor_callback): Make prototype match
274 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
275 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
278 (g_win32_directory_monitor_constructor):
279 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
280 names in the GLib API on Windows, so convert to UTF-16 and open
283 2008-08-03 Tor Lillqvist <tml@novell.com>
285 Bug 541036 - Gnumeric crashes when trying to open Desktop or
286 user's folder under Windows
288 * win32/gwin32directorymonitor.c
289 (g_win32_directory_monitor_constructor): Ignore error from
290 CreateFile() when opening directory. Instead of asserting, just
291 store INVALID_HANDLE_VALUE then in
292 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
293 ReadDirectoryChangesW().
294 (g_win32_directory_monitor_cancel): Don't attempt to close
295 directory handle if it is INVALID_HANDLE_VALUE.
297 2008-08-01 Matthias Clasen <mclasen@redhat.com>
299 * gdesktopappinfo.c: Remove debug spew
301 2008-08-01 Hans Breuer <hans@breuer.org>
303 * makefile.msc : add gemblembedicon
305 2008-07-30 Matthias Clasen <mclasen@redhat.com>
307 Bug 545457 – gdmsetup crashed with SIGSEGV in
308 g_unix_mount_guess_should_display()
310 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
311 crash if no mount is found.
313 2008-07-28 Matthias Clasen <mclasen@redhat.com>
315 Bug 545203 – gfile.c: argument is different type.
317 * gfile.c (open_read_async_thread): Pass a GError **
318 to g_file_set_error_literal.
319 Reported by Kazuki Iwamoto
321 2008-07-28 Matthias Clasen <mclasen@redhat.com>
323 Bug 545157 – wrong/no list of "open with" applications for .cc and
326 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
327 Collect all ancestors, not just direct parents. Pointed
328 out by Bastien Nocera
330 2008-07-28 Matthias Clasen <mclasen@redhat.com>
332 * Makefile.am: Install gemblemedicon.h
334 2008-07-28 Matthias Clasen <mclasen@redhat.com>
336 * gemblemedicon.[hc]: Add a GIcon implementation that can
337 add an emblem to another icon.
344 * gfileicon.c: Small documentation additions.
346 2008-07-28 Tor Lillqvist <tml@novell.com>
348 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
351 2008-07-27 Tor Lillqvist <tml@novell.com>
353 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
355 2008-07-24 David Zeuthen <davidz@redhat.com>
359 Also export a g_mount_guess_content_type_sync() function.
361 2008-07-23 Matthias Clasen <mclasen@redhat.com>
363 529694 – SELinux context setting support
365 * gfileinfo.c: Support setting selinux attributes.
366 Patch by Tomas Bzatek
368 2008-07-22 Priit Laes <plaes@plaes.org>
370 Bug 544140 - fam-helper 64-bit issue?
372 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
374 2008-07-21 Matthias Clasen <mclasen@redhat.com>
376 * === Released 2.17.4 ===
378 2008-07-20 Matthias Clasen <mclasen@redhat.com>
380 * gvolumemonitor.[hc]:
385 * gmount.c: Documentation fixes
387 2008-07-19 Matthias Clasen <mclasen@redhat.com>
389 543504 – crash in Epiphany Web Browser: Opening local file
400 * gvolume.c: Register types thread-safely.
401 Patch by Christian Persch
403 2008-07-18 Matthias Clasen <mclasen@redhat.com>
405 * gcontenttype.c: Remove debug spew
407 2008-07-18 Matthias Clasen <mclasen@redhat.com>
409 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
412 * fen/fen-kernel.c: Remove a warning that was causing
413 crashes. Reported by Lin Ma.
415 2008-07-18 Matthias Clasen <mclasen@redhat.com>
417 Bug 543040 – async reading on dummy file will crash on
420 * gfile.c (open_read_async_thread): Cope with read_fn being
421 NULL. Reported by Lin Ma.
423 2008-07-18 Matthias Clasen <mclasen@redhat.com>
426 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
428 2008-07-16 Matthias Clasen <mclasen@redhat.com>
432 * giomodule.c: Rename a chapter id to avoid filename conflict.
434 2008-07-16 Matthias Clasen <mclasen@redhat.com>
436 Bug 540616 – mem leak in filechooser button
438 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
439 the mount entry. Reported by Chrisitan Persch
441 2008-07-16 Matthias Clasen <mclasen@redhat.com>
443 * gfile.c: Small documentation fixes.
445 2008-07-15 Matthias Clasen <mclasen@redhat.com>
447 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
449 2008-07-08 Matthias Clasen <mclasen@redhat.com>
454 * gmount.c: Documentation improvements.
456 2008-07-08 Matthias Clasen <mclasen@redhat.com>
459 * gmount.[hc]: Add g_mount_guess_content_type().
461 2008-07-06 David Zeuthen <davidz@redhat.com>
464 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
465 is needed for easily handling adoption of foreign volumes by
466 out-of-process volume monitors (#541793)
468 2008-07-06 David Zeuthen <davidz@redhat.com>
470 * gvolumemonitor.[ch]:
471 * gunionvolumemonitor.c: Export the eject-button signal on the
472 volume monitor class (#541794).
474 2008-07-06 Matthias Clasen <mclasen@redhat.com>
476 * gappinfo.c: More doc tweaks
478 2008-07-05 Matthias Clasen <mclasen@redhat.com>
480 * gappinfo.c: Clarify some docs
482 2008-07-03 Matthias Clasen <mclasen@redhat.com>
484 * gdesktopappinfo.c: Fix a stupid mistake.
486 2008-07-02 Matthias Clasen <mclasen@redhat.com>
488 * === Released 2.17.3 ===
490 2008-07-02 Matthias Clasen <mclasen@redhat.com>
492 * gfilemonitor.c: Fix the build.
494 2008-07-02 Matthias Clasen <mclasen@redhat.com>
496 Bug 536160 – Add g_file_monitor()
499 * gfile.[hc]: Add g_file_monitor which can return either
500 a file or a directory monitor. Proposed by Behdad Esfahbod
502 2008-07-02 Matthias Clasen <mclasen@redhat.com>
504 536733 – gio build failure on Irix
506 * glocalfile.c: Use a configure check for structfs.f_bavail.
508 2008-07-02 Matthias Clasen <mclasen@redhat.com>
510 Bug 534639 – add g_desktop_app_info_new_from_keyfile
513 * gdesktopappinfo.[hc]: Add a function to create a
514 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
516 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
518 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
520 2008-07-01 Matthias Clasen <mclasen@redhat.com>
522 * gunixmounts.c: Fix a doc typo.
524 2008-07-01 Cody Russell <bratsche@gnome.org>
526 * gio/gcontenttype.c:
527 * gio/gwin32appinfo.c:
528 * gio/gwin32volumemonitor.c:
529 * gio/gwin32mount.c: Fixed some include problems.
531 2008-07-01 Cody Russell <bratsche@gnome.org>
535 Moved all relevant typedefs into these files.
538 Updated wrt added files.
540 Split types into separate file for easier maintainership. (#538564)
542 2008-06-30 Matthias Clasen <mclasen@redhat.com>
544 Bug 540331 – g_file_append_to () documentation: can return NULL
546 * gfile.c (g_file_append_to): Clarify docs.
549 2008-06-30 Matthias Clasen <mclasen@redhat.com>
551 Bug 539090 – g_content_type_from_mime_type() should unalias
553 * gcontentype.c (g_content_type_from_mime_type): Unalias.
554 Patch by Markus Bergman
556 2008-06-30 Matthias Clasen <mclasen@redhat.com>
558 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
561 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
562 on ppc and alpha. Reported by Mart Raudsepp
564 2008-06-29 Matthias Clasen <mclasen@redhat.com>
567 * tests/memory-output-stream.c: Add some tests for
570 2008-06-29 Matthias Clasen <mclasen@redhat.com>
572 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
575 * gmemoryoutputstream.c (array_resize): Handle truncation to
576 zero correctly. Reported by Akira Tagoh
578 2008-06-29 Matthias Clasen <mclasen@redhat.com>
580 * gmemoryoutputstream.c: Trivial doc fixes
582 2008-06-29 Matthias Clasen <mclasen@redhat.com>
584 Bug 540802 – g_list_prepend doesn't concat lists
586 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
587 one list to another. Pointed out by Jan Arne Petersen
589 2008-06-28 Michael Natterer <mitch@imendio.com>
591 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
593 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
595 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
596 to avoid problems with partial icon themes.
598 2008-06-17 Hans Breuer <hans@breuer.org>
600 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
601 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
602 access again on win32, see bug #538127
603 * giomodule.c : ensure GWin32VolumeMonitor is registered
604 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
605 * Makefile.am makefile.msc : updated
607 2008-06-16 Hans Breuer <hans@breuer.org>
609 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
610 and initialization in one step avoids c99ism
612 2008-06-16 Christian Persch <chpe@gnome.org>
615 * gio/gbufferedinputstream.c
617 * gio/gdatainputstream.c
618 * gio/gdesktopappinfo.c
620 * gio/gfileenumerator.c
621 * gio/gfileinputstream.c
622 * gio/gfileoutputstream.c
624 * gio/glocaldirectorymonitor.c
626 * gio/glocalfileenumerator.c
627 * gio/glocalfileinfo.c
628 * gio/glocalfilemonitor.c
629 * gio/glocalfileoutputstream.c
630 * gio/gmemoryinputstream.c
631 * gio/gmemoryoutputstream.c
632 * gio/goutputstream.c
633 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
636 2008-06-16 Tor Lillqvist <tml@novell.com>
638 Bug 538362 - Get Win32 icons back in the file chooser
640 * gcontenttype.c (g_content_type_get_icon): Look up the icon
641 corresponding to a file extension in the Registry. Patch by Hans
643 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
645 2008-06-16 Tor Lillqvist <tml@novell.com>
647 Patches by Hans Breuer:
649 * glocalfile.c (is_xp_or_later): Handle compiling against older
650 SDK headers with missing VerifyVersionInfo(). Conditioned on
651 _MSC_VER, but should probably use some better test.
652 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
653 uninitialised statfs_result variable on Win32.
655 2008-06-16 Michael Natterer <mitch@imendio.com>
657 * *.c: chain up unconditionally in finalize() and dispose(). Also
658 don't dereference these function pointers when calling them since
659 that has no meaning at all.
661 2008-06-16 Ross Burton <ross@burtonini.com>
664 Remove check for dispose implementation as it annoys Emmanuele.
666 2008-06-16 Ross Burton <ross@burtonini.com>
668 Bug 536252 – GFileEnumerator should allow access to the containing
674 Add g_file_enumerator_get_container() and a container writeable
675 construct-only property. Also shuffle around typedefs to make it
678 * glocalfileenumerator.c:
679 * glocalfileenumerator.h:
681 Instead of a string filename take a GFile in the constructor and
682 use it to set the container property.
687 2008-06-16 Matthias Clasen <mclasen@redhat.com>
689 * gfile.c: Make includes more uniform
691 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
693 * tests/live-g-file.c (sample_struct):
694 Use less fancy unicode filenames, so the test doesn't fail
695 on Mac OS X (#531476).
697 2008-06-12 Matthias Clasen <mclasen@redhat.com>
699 * === Released 2.17.2 ===
701 2008-06-12 Matthias Clasen <mclasen@redhat.com>
703 * === Released 2.17.1 ===
705 2008-06-11 A. Walton <awalton@gnome.org>
707 * tests/g-file.c (test_g_file_new_null):
708 Fix broken test case.
710 2008-06-11 Matthias Clasen <mclasen@redhat.com>
712 * pltcheck.sh: We use g_clear_error now.
714 2008-06-11 Matthias Clasen <mclasen@redhat.com>
716 * glocalfile.c (g_local_file_enumerate_children): Revert
717 an unintended change.
719 2008-06-11 Matthias Clasen <mclasen@redhat.com>
721 * gfile.c (g_file_replace_contents): Don't unref before the last use.
723 2008-06-10 Matthias Clasen <mclasen@redhat.com>
725 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
728 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
729 as icon for the desktop directory, also make user-home and
730 user-desktop the preferred icons.
732 2008-06-10 Matthias Clasen <mclasen@redhat.com>
735 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
736 to add a name to the front of the list.
738 2008-06-10 Matthias Clasen <mclasen@redhat.com>
740 Bug 537392 – Additional colon in xattr name
742 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
743 too. Reported by Alessandro Morandi
745 2008-06-10 Matthias Clasen <mclasen@redhat.com>
747 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
750 * glocalfile.c (get_fs_type): Add afs and autofs.
751 Patch by Danny Baumann.
753 2008-06-10 Matthias Clasen <mclasen@redhat.com>
755 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
757 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
758 is no parent. (Owen Taylor, patch by Christian Neumair)
760 2008-06-10 Paolo Borelli <pborelli@katamail.com>
762 * gfile.c (g_file_replace_contents): do not leak the output stream.
764 2008-06-10 Michael Natterer <mitch@imendio.com>
766 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
767 uninitialized memory as array index.
769 2008-06-10 Tor Lillqvist <tml@novell.com>
771 * gcontenttype.c (g_content_type_can_be_executable)
772 (g_content_type_get_icon) [Win32]: Add TODO comments.
774 2008-06-09 Matthias Clasen <mclasen@redhat.com>
776 * xdgmime/Makefile.am: Fix the build
778 2008-06-09 Matthias Clasen <mclasen@redhat.com>
780 * gcontenttype.c (g_content_type_get_icon): Use icons specified
781 in the shared mime database, if available.
783 * xdgmime/*: Sync with upstream. This brings support for
784 glob weights, generic icons, and changes the cache format to
787 2008-05-28 Michael Natterer <mitch@imendio.com>
789 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
790 the global CPPFLAGS now.
792 * tests/data-input-stream.c
793 * tests/data-output-stream.c
794 * tests/g-file-info.c
796 * tests/live-g-file.c
797 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
799 2008-05-27 Matthias Clasen <mclasen@redhat.com>
801 * === Released 2.17.0 ===
803 * tests/live-g-file.c: Clean up after the tests, so make distcheck
804 doesn't complain about leftover files.
806 2008-05-27 simon.zheng <simon.zheng@sun.com>
808 * glocalfile.c: (g_local_file_query_filesystem_info):
809 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
811 2008-05-26 Michael Natterer <mitch@imendio.com>
813 * gmemoryoutputstream.h: declare
814 g_memory_output_stream_get_data_size().
816 2008-05-26 Matthias Clasen <mclasen@redhat.com>
818 * tests/*: Make tests work
820 2008-05-26 Matthias Clasen <mclasen@redhat.com>
822 * gio.symbols: Add g_memory_output_stream_get_data_size.
824 2008-05-25 Ross Burton <ross@burtonini.com>
827 Fix typo in error message (#534764).
829 2008-05-25 Ross Burton <ross@burtonini.com>
832 Fix circular dependency loop for gioenumtypes.h (#534759).
834 2008-05-19 Hans Breuer <hans@breuer.org>
836 * Makefile.am : EXTRA_DIST += makefile.msc
838 2008-05-17 Matthias Clasen <mclasen@redhat.com>
841 * gcontenttype.c: (g_content_type_from_mime_type):
842 New function to create a content type from a mime type. (#527175,
845 2008-05-17 Matthias Clasen <mclasen@redhat.com>
847 Bug 532965 – Should not return filesystem::free for certain file systems
849 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
850 free space for ncpfs.
852 2008-05-17 Matthias Clasen <mclasen@redhat.com>
854 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
856 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
857 st_dev might be zero.
859 2008-05-16 Tor Lillqvist <tml@novell.com>
861 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
862 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
864 2008-05-13 Bastien Nocera <hadess@hadess.net>
866 * gfile.c (has_valid_scheme): A URI scheme must start with a
867 letter, even if later more characters are allowed (#532852)
869 2008-05-05 Michael Natterer <mitch@imendio.com>
871 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
872 code from being checked in that breaks the build of applications
873 which use G_DISABLE_SINGLE_INCLUDES.
875 * makegioalias.pl: make the alias file include "glib.h" instead of
878 * gio.symbols: whitespace change to force regeneration of the
879 alias file after above script change.
881 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
883 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
885 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
887 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
889 2008-04-28 David Zeuthen <davidz@redhat.com>
891 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
892 displaying mounts in a subdirectory not accessible to the
895 2008-04-22 Michael Natterer <mitch@imendio.com>
897 * Makefile.am: fix library versioning (it was 0.0.0).
899 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
901 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
902 Default disable all loggings.
903 * fen/fen-kernel.c: (printevent), (port_add_kevent),
904 (port_fetch_event_cb): Fixed two macro nits.
906 2008-04-16 Matthias Clasen <mclasen@redhat.com>
908 * xdgmime/xdgmime.c: Rework the timestamp checking code
909 to protect against duplicate directories in XDG_DATA_DIRS.
910 Fixes fd.o bug 12513, reported by Joe Shaw.
912 2008-04-16 Matthias Clasen <mclasen@redhat.com>
914 Partically revert the last commit after realizing that
915 xdg_mime_media_type_equal doesn't have to init at all.
918 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
920 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
922 2008-04-16 Matthias Clasen <mclasen@redhat.com>
924 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
925 reported by Joe Shaw and Federico Mena Quintero.
927 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
928 (xdg_mime_media_type_equal): Turn into a wrapper around the
931 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
932 functions throughout.
934 2008-04-16 Michael Meeks <michael.meeks@novell.com>
936 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
937 tolerate an empty TryExec= line without failing; nautilus used
938 to create launchers with these in previous versions. Fixes #528433
940 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
942 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
943 after name. Fixes #527132.
945 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
947 * gfile.c: (g_file_replace):
950 2008-04-07 Matthias Clasen <mclasen@redhat.com>
952 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
954 * gfile.c (file_copy_fallback): Fix the argument order. Patch
955 by Christian Kellner.
957 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
959 * gunixmounts.c: (g_unix_mount_guess_should_display):
960 Don't list the user directory as a mount, fix potential issue
961 when other users have a similar naming and don't special case the
962 gvfs mounts there since that's not required (#525866)
964 2008-03-31 Alexander Larsson <alexl@redhat.com>
966 * glocalfile.c (get_parent):
969 2008-03-31 A. Walton <awalton@svn.gnome.org>
971 * gfile.c (g_file_query_file_type):
972 Always return a GFileType enum value (#520715).
974 2008-03-31 Alexander Larsson <alexl@redhat.com>
976 * glocalfileenumerator.c:
977 Read readdir() info in chunks (of 1000) and sort
978 the chunks by inode before stat:ing.
979 This is a 20% performance increase in testing
980 gvfs-ls on /usr/bin with cold cache.
982 2008-03-31 Alexander Larsson <alexl@redhat.com>
984 * gmemoryoutputstream.c:
985 Clarify docs for g_memory_output_stream_get_size.
986 Add g_memory_output_stream_get_data_size.
988 2008-03-30 Matthias Clasen <mclasen@redhat.com>
992 * gfile.h: Add g_file_query_file_type convenience function
993 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
995 2008-03-30 Matthias Clasen <mclasen@redhat.com>
998 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1000 2008-03-28 A. Walton <awalton@svn.gnome.org>
1002 * giomodule.c (_g_io_modules_ensure_loaded):
1003 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1006 2008-03-28 Alexander Larsson <alexl@redhat.com>
1009 (copy_stream_with_progress):
1012 2008-03-28 Alexander Larsson <alexl@redhat.com>
1015 (copy_stream_with_progress):
1016 (file_copy_fallback):
1017 Fallback to g_file_query_info for source size
1018 if g_file_input_stream_query_info fails. (#524579)
1020 2008-03-28 Alexander Larsson <alexl@redhat.com>
1022 * glocalfile.c (g_local_file_move):
1023 Reuse old string instead of adding new one.
1025 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1027 * fen/*.[hc]: still copyright issue. I hate copyright.
1029 2008-03-27 Alexander Larsson <alexl@redhat.com>
1031 * glocalfile.c (g_local_file_move):
1032 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1033 file over directory. This is according to the docs and what the move via
1034 copy+remove fallback does.
1036 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1038 * fen/*.[hc]: Updated copyright.
1040 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1042 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1044 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1046 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1047 not emit attribute changed events when optimizing changed events.
1048 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1051 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1053 * gmountoperation.[hc]: Small documentation additions
1055 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1057 * gunixmounts.c: (guess_mount_type):
1058 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1060 2008-03-19 Alexander Larsson <alexl@redhat.com>
1063 (copy_stream_with_progress):
1064 Bump block side for copy to 64k to minimize
1065 overhead for low latency links. (#523015)
1067 2008-03-16 Tor Lillqvist <tml@novell.com>
1069 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1070 depend on gio.def on Windows.
1072 2008-03-12 David Zeuthen <davidz@redhat.com>
1076 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1078 2008-03-14 Alexander Larsson <alexl@redhat.com>
1082 Avoid redudant tests (#521851)
1083 Patch from Josselin Mouette
1085 2008-03-14 Alexander Larsson <alexl@redhat.com>
1088 (g_file_monitor_is_cancelled):
1089 Fix C89 issue (#521672)
1090 Patch from Jens Granseuer
1092 2008-03-14 Alexander Larsson <alexl@redhat.com>
1094 * fam/fam-helper.[ch]:
1096 Shut down fam (including removing fam GSource) when
1097 module is unloaded (#521513)
1098 Patch from Joe Marcus Clarke
1100 2008-03-14 Alexander Larsson <alexl@redhat.com>
1103 (_g_io_modules_ensure_loaded):
1106 2008-03-14 Alexander Larsson <alexl@redhat.com>
1109 (g_local_file_query_filesystem_info):
1110 Use right define name for f_fstypename member check
1112 2008-03-14 Alexander Larsson <alexl@redhat.com>
1115 * fen/Makefile.am: Added.
1116 * fen/fen-data.[ch]: Added.
1117 * fen/fen-dump.[ch]: Added.
1118 * fen/fen-helper.[ch]: Added.
1119 * fen/fen-kernel.[ch]: Added.
1120 * fen/fen-missing.[ch]: Added.
1121 * fen/fen-node.[ch]: Added.
1122 * fen/fen-sub.[ch]: Added.
1123 * fen/gfendirectorymonitor.[ch]: Added.
1124 * fen/gfenfilemonitor.[ch]: Added.
1126 Added Solaris FEN file notification backend.
1127 Patch from Lin Ma <Lin.Ma@Sun.COM>
1129 2008-03-13 Tor Lillqvist <tml@novell.com>
1131 * Makefile.am: Actually use the gio.def file when linking the
1132 library on Windows. Produce .lib library for Microsoft's toolchain
1133 when possible. Install the .lib and .def file like for the other
1136 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1138 * tests/live-g-file.c:
1139 Include live-g-file in standard set of tests, making a temporary
1140 directory in source structure.
1142 Clean target directory before the tests (write mode only)
1144 2008-03-12 Tor Lillqvist <tml@novell.com>
1146 Bug 517419 - gio win32 directory monitor
1147 Implementation by Vlad Grecescu.
1150 * win32/gwin32directorymonitor.h
1151 * win32/gwin32directorymonitor.c: New files.
1153 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1155 * Makefile.am: Add the win32 subdirectory.
1157 2008-03-12 Tor Lillqvist <tml@novell.com>
1159 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1160 normal struct stat on Unix but struct _stati64 on Windows to have
1161 access to 64-bit file size information. Use that instead of struct
1162 stat in the functions declared here in this private header.
1164 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1165 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1166 warnings about unused functions and variables. Don't set
1167 meaningless attributes like inode numbers on Windows.
1169 2008-03-12 Benjamin Otte <otte@gnome.org>
1172 trim whitespace so gtk-doc groks the function name
1174 2008-03-12 Tor Lillqvist <tml@novell.com>
1176 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1177 returning FALSE, on Win32.
1179 2008-03-11 Alexander Larsson <alexl@redhat.com>
1182 * glocalfileinfo.[ch]:
1183 Correctly implement can_trash by actually
1184 looking for a trash dir, not just assuming
1187 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1189 * === Released 2.16.1 ===
1191 2008-03-11 Alexander Larsson <alexl@redhat.com>
1194 Fix crashes in new constructor and properties code
1196 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1198 * gfile.c: Minor spelling correction in documentation:
1199 existance -> existence.
1201 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1203 * === Released 2.16.0 ===
1205 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1207 * gio.symbols: Remove g_file_contains_file here, too.
1209 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1211 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1212 Samuel Cormier-Iijima)
1214 2008-03-08 Tor Lillqvist <tml@novell.com>
1216 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1219 2008-03-07 Alexander Larsson <alexl@redhat.com>
1222 (g_local_file_query_filesystem_info):
1223 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1224 Patch from Jasper Lievisse Adriaanse
1226 2008-03-06 Tor Lillqvist <tml@novell.com>
1228 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1229 comments for the *_USEC attributes.
1231 2008-03-06 Alexander Larsson <alexl@redhat.com>
1233 * gfile.c (g_file_query_exists):
1234 Add g_return_val_if_fail check (#520700)
1236 2008-03-06 Alexander Larsson <alexl@redhat.com>
1238 * gdesktopappinfo.c:
1241 * gunionvolumemonitor.c:
1244 * tests/live-g-file.c:
1245 * xdgmime/xdgmimecache.c:
1246 Fix sparse warnings (#519489)
1248 2008-03-05 Alexander Larsson <alexl@redhat.com>
1251 Make cancellation threadsafe (i.e.
1252 guarantee its only done once, and always
1255 * glocaldirectorymonitor.c:
1256 Make sure we the monitor lives while the
1257 mounts_changed callback is being called (#520484)
1259 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1261 * gbufferedinputstream.c: Fix typo in parameter
1264 2008-03-04 Alexander Larsson <alexl@redhat.com>
1267 Remove deprecated symbols we kept for one release.
1269 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1272 * goutputstream.c: Tiny documentation corrections.
1274 2008-03-03 Alexander Larsson <alexl@redhat.com>
1276 * gunionvolumemonitor.c:
1278 Fix the adopt_orphan_mount vfunc to take a
1279 volume_monitor reference in an ABI compat way.
1280 This change is not API compat, but the added
1281 arg is not used in the only user of this vfunc, so
1282 all we get is a harmless warning in gvfs (#520169)
1284 2008-03-01 Benjamin Otte <otte@gnome.org>
1287 clarify docs for g_file_delete().
1289 2008-02-29 Alexander Larsson <alexl@redhat.com>
1293 Make sure empty files get text/plain type (#518720)
1295 2008-02-27 Alexander Larsson <alexl@redhat.com>
1301 (g_unix_volume_mount):
1302 Add missing GMountMountFlags argument
1304 2008-02-26 Alexander Larsson <alexl@redhat.com>
1307 (g_local_file_delete):
1308 Handle filesystems (like ntfs-3g) that return EEXIST instead
1309 of ENOTEMPTY (#518816)
1311 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1313 * === Released 2.15.6 ===
1315 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1317 * gfile.c (g_file_find_enclosing_mount):
1318 * ginputstream.c (g_input_stream_set_pending):
1319 * glocalfile.c (g_local_file_find_enclosing_mount):
1320 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1321 * goutputstream.c (g_output_stream_set_pending):
1323 Fixup translator comments (#518578).
1325 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1327 * gfile.c (g_file_find_enclosing_mount):
1329 * glocalfile.c (g_local_file_find_enclosing_mount):
1332 Fix a few typos in translator comments and documentation.
1334 2008-02-25 Alexander Larsson <alexl@redhat.com>
1341 Add translator comments (#518578)
1343 2008-02-25 Alexander Larsson <alexl@redhat.com>
1346 Reintroduce g_file_contains_file, keep around for one
1347 unstable release cycle to avoid crashing to many apps.
1348 Make sure to delete after release.
1350 2008-02-25 Alexander Larsson <alexl@redhat.com>
1353 Remove deprecated g_file_contains_file.
1355 2008-02-25 Alexander Larsson <alexl@redhat.com>
1358 Emit actual change signals in an idle handler.
1359 This avoids reentrance and locking problems in
1360 the file notification backends.
1362 2008-02-25 Alexander Larsson <alexl@redhat.com>
1365 (g_unix_mount_guess_should_display):
1366 Remove type guessing, instead just display
1367 mounts in /media and in ~/.
1369 2008-02-25 Alexander Larsson <alexl@redhat.com>
1372 Make new strings reuse old ones.
1374 2008-02-25 Alexander Larsson <alexl@redhat.com>
1377 Implement trashing and filesystem::readonly for win32 (#517235)
1378 Patch from Yevgen Muntyan
1380 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1382 * gfileinfo.h: Documentation fixes.
1384 2008-02-22 Alexander Larsson <alexl@redhat.com>
1386 * gcontenttype.c (g_content_type_get_icon):
1387 Look at old-style gnome mime icon names too, as many
1388 have not moved to the new style.
1390 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1392 * *.c: Correct the @include in for section docs.
1394 2008-02-21 David Zeuthen <davidz@redhat.com>
1396 * glocalfileinfo.c: (_g_local_file_info_get):
1398 (g_content_type_get_icon): Implement this function by
1399 moving bits from glocalfileinfo.c
1400 (g_content_type_get_description): Unalias before getting
1401 description (#517687)
1403 * gfile.c: (g_file_class_init),
1404 (g_file_query_filesystem_info_async),
1405 (g_file_query_filesystem_info_finish),
1406 (query_filesystem_info_data_free),
1407 (query_filesystem_info_async_thread),
1408 (g_file_real_query_filesystem_info_async),
1409 (g_file_real_query_filesystem_info_finish):
1410 * gfile.h: Implement async version of
1411 g_file_query_filesystem_info()
1413 * gfileinfo.h: Add new attributes for filesystem::use-preview
1415 * gio.symbols: Update
1417 * gthemedicon.c: (g_themed_icon_append_name):
1418 * gthemedicon.h: Add new new convenience function.
1420 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1421 (get_mounts), (get_volumes), (get_connected_drives),
1422 (get_volume_for_uuid), (get_mount_for_uuid),
1423 (g_union_volume_monitor_init), (populate_union_monitor),
1424 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1425 (g_volume_monitor_adopt_orphan_mount):
1427 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1428 monitor implementations to call into the main volume monitor. Also
1429 separate object initialization and volume monitor initialization
1430 such that non-native volume monitors can properly adopt their
1433 2008-02-21 Alexander Larsson <alexl@redhat.com>
1438 2008-02-21 Alexander Larsson <alexl@redhat.com>
1441 Add more documentation about how GFiles work (from #517086)
1443 2008-02-21 Alexander Larsson <alexl@redhat.com>
1447 Add new g_file_has_prefix that does the same as g_file_contains_file.
1448 Deprecate g_file_contains_file and add a macro that converts
1449 it to g_file_has_prefix.
1450 The reason for this change is that the contains_file() name seems to
1451 imply that this does more work than what it does, but its really only
1452 a name match (from #517086)
1457 Update to match the above change.
1459 2008-02-20 Benjamin Otte <otte@gnome.org>
1461 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1462 (g_file_eject_mountable):
1463 even more cases of not returning in error path
1465 2008-02-20 Benjamin Otte <otte@gnome.org>
1467 * gfile.c: (g_file_mount_mountable):
1468 return from function in error path.
1470 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1473 Remove trailing coma in GMountMountFlags struct
1475 2008-02-18 Alexander Larsson <alexl@redhat.com>
1479 * glocalfileoutputstream.c:
1480 Use g_unlink/g_rename instead of unlink/rename;
1481 do not pass raw filenames to g_set_error. (#517239)
1482 Patch from Yevgen Muntyan.
1484 2008-02-18 Alexander Larsson <alexl@redhat.com>
1487 * glocalfileoutputstream.c:
1488 Open files with O_BINARY on windows. (#517140)
1490 2008-02-14 Alexander Larsson <alexl@redhat.com>
1492 * glocalfileoutputstream.c:
1493 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1495 2008-02-14 Alexander Larsson <alexl@redhat.com>
1498 Copy permissions with file on copy (#514084)
1499 This is what cp does and makes sure e.g. the
1500 exec permissions are kept.
1501 Its kinda weird in that it keeps the permission bits
1502 the same while the uid and gid are different. However
1503 the new uid is the user so its not a security issue,
1504 and I've heard no complaints about cp on this issue.
1506 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1508 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1510 2008-02-13 Alexander Larsson <alexl@redhat.com>
1512 * inotify/inotify-path.c:
1513 Define IN_ONLYDIR if not in header (#515346)
1515 2008-02-12 Alexander Larsson <alexl@redhat.com>
1517 * tests/live-g-file.c:
1520 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1522 * === Released 2.15.5 ===
1524 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1526 * gio.symbols: Add g_mount_mount_flags_get_type.
1528 2008-02-11 Alexander Larsson <alexl@redhat.com>
1531 (g_file_info_set_attribute_mask):
1532 (g_file_attribute_matcher_matches_id):
1533 Correctly handle NULL GAttributeMatcher meaning
1534 matches nothing. (Fixes #513492)
1536 2008-02-11 Alexander Larsson <alexl@redhat.com>
1541 Added GMountMountFlags enum and added a flags
1542 argument to all mount calls.
1544 This is an API/ABI change for future extensibility,
1545 as I think we will need at least an
1546 inhibit-autorun flag (the panel needs this).
1547 There are no flags defined yet though.
1549 2008-02-11 Alexander Larsson <alexl@redhat.com>
1552 Added new standard::description attribute.
1553 Requested by Vincent, and useful for both
1556 2008-02-11 Alexander Larsson <alexl@redhat.com>
1558 * gdesktopappinfo.c:
1561 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1563 * *.c: Documentation additions
1565 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1567 * gappinfo.h: Formatting cleanup
1568 * gappinfo.c: Fix up docs.
1570 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1572 * gunixmounts.c: Consistently use getmntent_r() and fall
1573 back to getmntent(). (#515492)
1575 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1577 * gbufferedinputstream.c:
1579 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1581 * tests/data-input-stream.c:
1582 * tests/data-output-stream.c: Portability fixes.
1584 2008-02-08 Alexander Larsson <alexl@redhat.com>
1589 Add g_volume_should_automount.
1592 2008-02-07 Tor Lillqvist <tml@novell.com>
1594 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1595 Win32, too Unix-specific.
1597 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1599 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1600 a local plt if the compiler doesn't support what we want. Bug #514702
1602 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1604 reviewed by: <delete if not using a buddy>
1607 * gunixinputstream.c:
1608 * gunixoutputstream.c:
1610 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1612 * tests/Makefile.am:
1613 * tests/live-g-file.c:
1614 * tests/live-g-file.txt:
1615 New GIO testing module working over real data
1617 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1619 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1620 Fallback to rename() if link() is not available
1621 (when no support on target filesystem)
1623 2008-02-06 Michael Natterer <mitch@imendio.com>
1625 * gfileinfo.c (g_file_info_get_icon): replace
1626 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1628 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1630 * gfile.c (g_file_create):
1631 Documentation update of error codes
1633 2008-02-06 Alexander Larsson <alexl@redhat.com>
1635 * gdesktopappinfo.c:
1636 Update to use both mimeapps.list and
1637 defaults.list as discussed on xdg list.
1639 2008-02-06 Benjamin Otte <otte@gnome.org>
1642 * gfilenamecompleter.c:
1643 Fix some typos in the documentation.
1645 2008-02-06 Alexander Larsson <alexl@redhat.com>
1647 * glocalfile.c (g_local_file_trash):
1648 Don't succeed with trash if newly created
1649 trash dir has the wrong owner. (#514696)
1651 2008-02-05 Alexander Larsson <alexl@redhat.com>
1653 * glocalfile.c (g_local_file_move):
1654 Don't spew warnings when destination is not
1657 2008-02-03 Hans Breuer <hans@breuer.org>
1659 * makefile.msc : update
1661 2008-02-01 Michael Natterer <mitch@imendio.com>
1663 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1664 return value of xdg_mime_list_mime_parents() to a variable of the
1667 2008-02-01 Alexander Larsson <alexl@redhat.com>
1669 * gappinfo.c (g_app_info_launch_uris):
1670 Actually call the launch_uris method, not
1673 2008-02-01 Alexander Larsson <alexl@redhat.com>
1675 * gdesktopappinfo.c (g_desktop_app_info_equal):
1676 Ensure appinfos with no id but same pointer value
1679 2008-02-01 Alexander Larsson <alexl@redhat.com>
1681 * gappinfo.c (g_app_info_launch_default_for_uri):
1684 2008-02-01 Alexander Larsson <alexl@redhat.com>
1688 Add g_app_info_launch_default_for_uri utility
1691 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1693 * gdesktopappinfo.c:
1694 Doc fix for g_app_info_get_default_for_uri_scheme ()
1697 2008-01-30 Alexander Larsson <alexl@redhat.com>
1700 Add doc comment about uris vs GFiles to
1703 * gdesktopappinfo.c:
1704 Ensure uris passed to g_app_info_launch_uris()
1705 are not roundtriped through GFile (as that
1706 may be slightly destructive for e.g. mailto: links)
1708 2008-01-30 Alexander Larsson <alexl@redhat.com>
1710 * tests/data-input-stream.c:
1711 * tests/data-output-stream.c:
1712 C89 fixes from Jens Granseuer (#512849)
1714 2008-01-30 Alexander Larsson <alexl@redhat.com>
1717 Fix gamin/fam difference build issue. (#509419)
1719 2008-01-29 Alexander Larsson <alexl@redhat.com>
1722 * gdesktopappinfo.c:
1723 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1725 2008-01-29 Alexander Larsson <alexl@redhat.com>
1727 * gdesktopappinfo.c:
1728 * gdesktopappinfo.h:
1729 giomodule-priv.h include moved to .c file.
1731 2008-01-29 Alexander Larsson <alexl@redhat.com>
1733 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1734 Remove unused prio/name fields.
1736 2008-01-29 Alexander Larsson <alexl@redhat.com>
1738 * gcontenttype.c (looks_like_text):
1739 Don't treat whitespace as control chars.
1741 2008-01-29 Alexander Larsson <alexl@redhat.com>
1743 * gdesktopappinfo.c:
1744 Lazily create the desktop files for appinfos created
1745 by g_app_info_create_from_commandline() when needed
1746 for mime associations. This allows run-time use
1747 of GAppInfo object without creating unnecessary
1750 2008-01-29 Alexander Larsson <alexl@redhat.com>
1753 Added new symbols to gio.symbols
1755 2008-01-29 Alexander Larsson <alexl@redhat.com>
1758 Add g_file_query_default_handler utility to easily look up
1759 the GAppInfo that handles a file.
1761 * gdesktopappinfo.[ch]:
1763 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1766 Remove unused function
1768 2008-01-29 Alexander Larsson <alexl@redhat.com>
1770 * gfileenumerator.c:
1771 Mention need to free returned value in
1772 g_file_enumerator_next_files_finish docs.
1773 Fix leak if g_file_enumerator_next_files_finish()
1776 2008-01-29 Alexander Larsson <alexl@redhat.com>
1779 (_g_unix_content_type_get_parents):
1780 Use list_parents, not get_parents from xdgmime, because
1781 the later doesn't use the cache.
1783 * xdgmime/xdgmimecache.c:
1784 (_xdg_mime_cache_list_mime_parents):
1785 Don't list the same type as parent multiple times.
1787 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1789 * === Released 2.15.4 ===
1791 2008-01-28 Alexander Larsson <alexl@redhat.com>
1794 Register local vfs with prio 0.
1797 Remove old name and prio class members
1799 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1801 * tests/g-file.c: Disable some tests that are failing in
1802 the absence of a http backend.
1804 2008-01-28 Alexander Larsson <alexl@redhat.com>
1808 Add registration hooks for extension points.
1809 Register the gio extension points.
1811 * fam/gfamdirectorymonitor.c:
1812 * fam/gfamfilemonitor.c:
1813 * glocaldirectorymonitor.[ch]:
1814 * glocalfilemonitor.[ch]:
1815 * gnativevolumemonitor.h:
1816 * gunionvolumemonitor.c:
1817 * gunixvolumemonitor.c:
1820 * inotify/ginotifydirectorymonitor.c:
1821 * inotify/ginotifyfilemonitor.c:
1822 Use the extension points registration instead
1823 of g_type_children().
1825 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1828 * gvolume.[hc]: Document new API.
1830 * gfile.c (g_file_copy_async): Fix docs
1832 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1834 * gbufferedinputstream.c:
1836 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1839 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1841 * glocalfile.c: Avoid trivial differences in translatable strings.
1843 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1845 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1846 build with gcc 3.4 (#509419)
1848 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1850 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1851 (#509994, Murray Cumming)
1853 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1855 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1856 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1857 this allows big jobs to be executed in chunks, instead of blocking
1858 the main loop for a long time.
1860 * gsimpleasyncresult.c:
1861 * giofile.c: Adapt callers.
1863 2008-01-25 Alexander Larsson <alexl@redhat.com>
1865 * gdesktopappinfo.c:
1866 Implement changes discussed on xdg list.
1867 Now we can add supported mimetypes by just using defaults.list
1868 We can also remove associations in defaults.list.
1870 2008-01-25 Alexander Larsson <alexl@redhat.com>
1872 * gdesktopappinfo.c:
1873 Don't make local copy of desktop file
1874 for mimetype changes if the file already
1875 supports the new mimetype.
1877 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1881 * gbufferedinputstream.c:
1882 * glocalfile.c: String improvements. (#511966,
1883 Theppitak Karoonboonyanan)
1885 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1887 * gioscheduler.h: Expand docs a bit.
1889 2008-01-24 Alexander Larsson <alexl@redhat.com>
1892 Add g_drive_get_identifier and
1893 g_drive_enumerate_identifiers
1896 Add g_volume_get_identifier and
1897 g_volume_enumerate_identifiers
1903 Implement identifiers for unix backend
1905 2008-01-24 Alexander Larsson <alexl@redhat.com>
1910 Add g_file_copy_async() (#511580)
1911 Based on patch from Carlos Garcia Campos
1913 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1915 * gioscheduler.c: Some documentation additions.
1917 2008-01-22 Alexander Larsson <alexl@redhat.com>
1919 * gdesktopappinfo.c:
1920 (g_desktop_app_info_new):
1921 Don't leak basename.
1923 2008-01-22 Alexander Larsson <alexl@redhat.com>
1925 * gdesktopappinfo.c:
1926 (g_desktop_app_info_new_from_filename):
1929 2008-01-22 Alexander Larsson <alexl@redhat.com>
1931 * glocalfileinfo.c (get_thumbnail_attributes):
1934 2008-01-22 Alexander Larsson <alexl@redhat.com>
1937 (canonicalize_filename):
1938 Canonicalize paths that start with more than
1942 (compare_two_files):
1943 (test_g_file_new_for_path):
1946 2008-01-22 Alexander Larsson <alexl@redhat.com>
1949 Allow UTF-8 in file:// parse names.
1951 * tests/Makefile.am:
1952 * tests/data-input-stream.c:
1953 * tests/data-output-stream.c:
1954 * tests/g-file-info.c:
1956 Added a bunch of tests from Tomas Bzatek
1958 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1960 * === Released 2.15.3 ===
1962 2008-01-21 Alexander Larsson <alexl@redhat.com>
1964 * gfileinputstream.[ch]:
1965 * gfileoutputstream.[ch]:
1967 Remove duplicated GSeekable functions. (#509990)
1968 Just use the g_seekable_xxx() calls instead.
1970 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1973 * gvolumemanager.c: Whitespace cleanups.
1975 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1976 Use the right mode when creating the file.
1978 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1980 * gfileenumerator.c:
1981 * gfileinputstream.c:
1983 * goutputstream.c: Documentation: Fixed minor typos
1984 and added more mentions of specific _finish() functions.
1986 2008-01-21 Alexander Larsson <alexl@redhat.com>
1988 * inotify/Makefile.am:
1989 * inotify/inotify-helper.c:
1990 * inotify/inotify-kernel.c:
1991 * inotify/inotify-path.c:
1992 * inotify/local_inotify.h: Removed.
1993 * inotify/local_inotify_syscalls.h: Removed.
1994 Removed the included copies of the inotify
1995 headers. We now only use the <sys/inotify.h>
1996 header which exists on modern systems.
1997 This fixes problems on ARM and SH5 (#510448)
1998 but is also generally much cleaner and future
1999 safe. For instance, if other OSes add support
2000 for inotify it should "just work".
2002 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2004 * inotify/*.c: Coding style fixes.
2005 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2006 for the 1/4 Hz timer.
2008 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2011 * gfilemonitor.[hc]:
2012 * gmemoryinputstream.c:
2013 * gmemoryoutputstream.c:
2014 * gmountoperation.c:
2015 * gthemedicon.c: Documentation updates
2017 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2019 * gfile.c: documentation: Fixed more minor
2022 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2024 * gmount.c: (g_mount_remount): documentation:
2025 Mention g_mount_remount_finish() instead of
2026 g_mount_unmount_finish().
2028 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2032 * gfile.c: Fixed some minor typos in the
2035 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2037 * gio/gvolumemonitor.c:
2038 (g_volume_monitor_get_connected_drives):
2039 (g_volume_monitor_get_volumes):
2040 (g_volume_monitor_get_mounts): Documentation:
2041 Clarify the ownership of the regurn GLists.
2043 2008-01-17 Alexander Larsson <alexl@redhat.com>
2046 Add the async find_enclosing_mount version
2047 to the header file too.
2049 2008-01-17 Alexander Larsson <alexl@redhat.com>
2052 Add async version of find_enclosing_mount
2053 with default implementation.
2055 2008-01-17 Alexander Larsson <alexl@redhat.com>
2060 Allow calls to implementation of copy and write
2061 even if the type of the file implementations is
2062 different. This can be used to implement native
2063 upload and download calls in a vfs.
2066 (g_local_file_move):
2067 Protect against the case where move is called
2068 with one file not being local.
2070 Make sure we call the progress callback once
2071 in the native move operation so that the caller
2072 knows how many bytes were copied.
2074 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2077 * gdatainputstream.c:
2079 * gfileoutputstream.c:
2084 * gunixmounts.c: Corrected some typos in the documentation:
2085 occured -> occurred.
2086 its -> it's (where appropriate).
2088 2008-01-16 Alexander Larsson <alexl@redhat.com>
2092 Add g_file_query_exists (#508771)
2094 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2099 * gvolume.c: For async functions that have no non-async
2100 version, document that the GAsyncReadyCallback may be NULL.
2103 2008-01-15 Alexander Larsson <alexl@redhat.com>
2105 * gmemoryinputstream.c:
2106 * gmemoryoutputstream.c:
2107 Don't do pointer arithmetic on void * (#508602)
2108 Patch from Kazuki IWAMOTO
2110 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2112 * === Released 2.15.2 ===
2114 2008-01-14 Alexander Larsson <alexl@redhat.com>
2116 * gfile.c (g_file_monitor_file):
2117 Don't set error here, since we fallback to polling monitor.
2119 2008-01-14 Alexander Larsson <alexl@redhat.com>
2122 (g_file_monitor_directory):
2123 (g_file_monitor_file):
2124 Add GError to file monitor calls
2126 * glocaldirectorymonitor.c:
2127 * glocaldirectorymonitor.h:
2129 * glocalfilemonitor.c:
2130 * glocalfilemonitor.h:
2132 Update for above change
2134 2008-01-14 Alexander Larsson <alexl@redhat.com>
2138 Handle root correctly in g_file_get_relative_path (#508719)
2140 2008-01-14 Alexander Larsson <alexl@redhat.com>
2143 Clean up docs and example for GAsyncResult (#508074)
2145 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2147 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2148 and correct some spelling mistakes. Bug #508108.
2150 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2152 * glocalfileinfo.c: Add a comment.
2154 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2156 * gfileinfo.c: GFileInfo description: Mention
2157 how to actually set attributes in a GFile and how to discover
2158 which attributes are settable. Bug #508378.
2160 2008-01-10 A. Walton <awalton@svn.gnome.org>
2162 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2163 (g_app_info_get_default_for_type):
2164 Check for NULL content types.
2166 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2168 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2170 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2172 * gfile.c: *_async() functions: Several small corrections
2173 to the documentation, mostly correcting copy/paste errors
2174 and improving some sentences.
2176 2008-01-09 Dan Winship <danw@gnome.org>
2178 * glocalfile.c (get_unique_filename): x86_64 fix
2180 2008-01-09 Alexander Larsson <alexl@redhat.com>
2185 Add g_unix_mount_guess_should_display and use
2186 for unix volume monitor backend.
2187 This means we more or less show what the
2188 gnome-vfs backend did.
2189 Based on patch from Padraig O'Briain
2191 2008-01-09 Alexander Larsson <alexl@redhat.com>
2195 Add g_themed_icon_new_with_default_fallbacks
2198 Use default fallbacks for icons
2200 2008-01-09 Alexander Larsson <alexl@redhat.com>
2203 * gmountoperation.[ch]:
2204 Change the API a bit so that unhandled methods
2205 get reported via the reply, rather than by
2206 the signal emission return value. This is because
2207 some handlers can't know this immediately without
2208 doing I/O, and this is an async operation that
2211 2008-01-09 Alexander Larsson <alexl@redhat.com>
2214 * fam/gfamdirectorymonitor.c:
2215 * fam/gfamfilemonitor.c:
2216 Fix double free crash (#508224)
2217 Patch from Joe Marcus Clarke
2219 008-01-07 Matthias Clasen <mclasen@redhat.com>
2221 * === Released 2.15.1 ===
2223 2008-01-07 Alexander Larsson <alexl@redhat.com>
2225 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2226 Fix warning (#507835)
2228 2008-01-07 Alexander Larsson <alexl@redhat.com>
2231 Pass --internal to glib-genmarshal
2234 * gmountoperation.c:
2236 Use better types for signal arguments (#507822)
2238 2008-01-07 Alexander Larsson <alexl@redhat.com>
2241 Build test subdir after .
2242 Remove gdirectorymonitor.[ch]
2244 * gdirectorymonitor.[ch]:
2248 Remove GDirectoryMonitor and make
2249 GFileMonitor the baseclass for both file and
2250 directory monitors. Lift the more generic
2251 rate limiting code from GDirectoryMonitor
2255 * fam/gfamdirectorymonitor.[ch]:
2256 * inotify/ginotifydirectorymonitor.[ch]:
2257 * inotify/inotify-helper.c:
2258 * glocaldirectorymonitor.[ch]:
2261 Update for the removed GDirectoryMonitor.
2263 * gmemoryoutputstream.c:
2264 Remove ununsed variable
2266 2008-01-07 Alexander Larsson <alexl@redhat.com>
2268 * gmemoryinputstream.c:
2269 Translate error strings
2272 * gmemoryoutputstream.[ch]:
2273 New implementation that avoids using GByteArray
2274 in implementation and API. (#506377)
2276 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2278 * tests/*: Add a test for memory input streams.
2280 * Makefile.am: Add tests to SUBDIRS.
2282 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2284 * glocalfilemonitor.c:
2285 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2288 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2290 * gdesktopappinfo.c: Fix a docs typo.
2292 * gfileattribute.c: Add information about extended attributes
2293 to the documentation. (#505058)
2295 2008-01-04 Alexander Larsson <alexl@redhat.com>
2298 * gmountoperation.c:
2299 Use the right type (uint) for the ask_password signal.
2301 2008-01-04 Alexander Larsson <alexl@redhat.com>
2306 Add g_app_info_supports_files()
2307 Remove desktop arg from g_app_info_should_show().
2309 * gdesktopappinfo.[ch]:
2310 Implement g_app_info_supports_files() and new should_show()
2311 Add g_desktop_app_info_set_desktop_env() to set the desktop
2312 for should_show(). (This will be set by gtk+ later)
2314 2008-01-04 Alexander Larsson <alexl@redhat.com>
2317 * gmemoryinputstream.[ch]:
2318 Improve API so that you can use multiple chunks
2319 of memory and custom destroy functions. (#506374)
2321 2008-01-03 Alexander Larsson <alexl@redhat.com>
2324 Handle NULL attribute matchers safely, as we return this
2325 for empty attribute matcher strings.
2327 2008-01-03 Alexander Larsson <alexl@redhat.com>
2329 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2330 Add /usr/local to list of internal mountpoints
2332 2008-01-03 Alexander Larsson <alexl@redhat.com>
2335 Check for HAVE_LCHOWN (#505887)
2337 2008-01-03 Alexander Larsson <alexl@redhat.com>
2341 Add define for selinux context attribute.
2342 Fix missing : -> :: namespace separator change
2343 Fix missing _ -> - name change for xattr-sys.
2346 2008-01-03 Alexander Larsson <alexl@redhat.com>
2349 Link to libglib and libgobject directly (#504879)
2350 Patch from Sebastien Bacher
2352 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2354 * gfile.c: Expanded the g_file_new_for_commandline_arg
2355 description a bit, based on the code and the docs of the
2356 other g_file_new_for_* functions.
2358 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2360 * gfilemonitor.h: Fixed typo in docs.
2362 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2364 Updates to GIO documentation. (#506395, Mikael Hermansson)
2366 * gcontenttype.c: Describe memory management for return value of
2367 g_content_types_get_registered(). Missing piece from #505815.
2368 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2369 GVolume, GDrive, GMounts, which hopefully gives the user less
2370 confusions when using this API. Following explainations from
2371 Alexander Larsson on gtk-devel-list.
2373 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2375 * gfileinfo.c: Expand the long description.
2377 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2380 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2381 fix builds with --disable-visibility. (#500273, Christian Persch)
2383 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2385 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2386 in the list of returned app infos.
2388 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2390 * gappinfo.c: Fix a cross-reference
2392 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2394 * gfileinputstream.c:
2395 * gfileoutputstream.c:
2399 * gdesktopappinfo.c:
2401 * gfileinfo.c: Documentation updates.
2403 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2405 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2408 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2410 * gcontenttype.c (g_content_types_get_registered): Don't return
2411 freed memory (#505815, Mikael Hermansson)
2413 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2415 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2416 used to detect statbuf->st_blocks. (#505042)
2418 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2420 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2421 environment handling. (#504829, Cosimo Cecchi)
2423 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2425 * gappinfo.c: Doc improvements
2427 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2430 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2432 * === Released 2.15.0 ===
2434 2007-12-20 Hans Breuer <hans@breuer.org>
2436 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2437 with symbols gwin32appinfo.obj, added gmount.obj
2438 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2440 2007-12-20 Alexander Larsson <alexl@redhat.com>
2446 * gfilenamecompleter.c:
2449 * gpollfilemonitor.c:
2450 File attribute renames:
2452 fs:: -> filesystem::
2453 id::fs -> id::filesystem
2455 2007-12-20 Alexander Larsson <alexl@redhat.com>
2464 Add GMountUnmountFlags to all unmount and
2466 Add g_mount_remount() call.
2468 2007-12-20 Alexander Larsson <alexl@redhat.com>
2470 * gvfs.c (get_default_vfs):
2471 Fix unused variable warning
2473 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2475 * pltcheck.sh: Update
2477 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2479 * gunionvolumemonitor.c:
2480 * gunixmount.c: Remove C99 comments
2482 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2484 * gio.symbols: Add some missing symbols
2486 2007-12-19 Alexander Larsson <alexl@redhat.com>
2489 Make g_io_modules_load_all_in_directory not unuse
2490 loaded modules so that users of it can do stuff
2492 Init internal "module" types.
2493 Initialize static prio and name for types so that
2494 we don't have to load modules to get it.
2496 * gnativevolumemonitor.h:
2498 Move is_supported to parent class so that
2499 non-native monitors can avoid being initialized
2500 too. (For instance GDaemonVolumeMonitor if we're
2501 not using GDaemonVfs.)
2503 * glocaldirectorymonitor.[ch]:
2504 * glocalfilemonitor.[ch]:
2505 * gunionvolumemonitor.c:
2506 * gunixvolumemonitor.c:
2508 Find plugins using the static prio+name to
2509 avoid unnecessarily loading the modules.
2511 2007-12-19 Alexander Larsson <alexl@redhat.com>
2516 2007-12-19 Alexander Larsson <alexl@redhat.com>
2518 * gunionvolumemonitor.c:
2519 Store the native type as GType, not class so that
2520 we can unload it. But still avoid unnecessarily
2523 2007-12-19 David Zeuthen <davidz@redhat.com>
2525 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2526 add signals 'disconnected' and 'eject-button' on GDrive. Add
2527 signal 'removed' on GVolume and 'unmounted' on GMount.
2529 * gdrive.c: (g_drive_base_init):
2531 * gfile.c: (g_file_mount_mountable),
2532 (g_file_mount_enclosing_volume):
2535 * gmount.c: (g_mount_base_init):
2537 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2538 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2539 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2543 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2545 * *.c: Fix up includes in the section docs.
2547 2007-12-17 Alexander Larsson <alexl@redhat.com>
2549 * gnativevolumemonitor.h:
2550 * gunionvolumemonitor.c:
2551 * gunixvolumemonitor.c:
2552 Add is_supported() to GNativeVolumeMonitorClass so
2553 that we can avoid having to create an object to see
2554 if the backend is supported at runtime.
2555 Also add name member and an env var to pick a specific
2556 volume monitor backend.
2560 Add cancellable to _g_mount_get_for_mount_path()
2562 * glocaldirectorymonitor.c:
2563 * glocalfilemonitor.c:
2564 Avoid loading and unloading modules while sorting.
2566 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2569 * gunixmounts.[hc]: Namespace waste reduction, move some
2570 g_get_unix_mount functions to the g_unix_mount namespace.
2573 * gunixvolumemonitor.c:
2575 * glocaldirectorymonitor.c: Update all callers.
2577 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2579 2007-12-17 Alexander Larsson <alexl@redhat.com>
2582 Add doc comments about what GFile operations are
2583 guaranteed to not block.
2585 2007-12-17 Alexander Larsson <alexl@redhat.com>
2588 Add missing #ifdef fixing OSX build.
2589 (#503334, patch from Richard Hult)
2591 2007-12-14 David Zeuthen <davidz@redhat.com>
2595 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2596 (g_mount_eject), (g_mount_eject_finish):
2598 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2599 (get_volume_for_uuid), (get_mount_for_uuid),
2600 (g_union_volume_monitor_class_init),
2601 (get_default_native_type_with_exclude), (get_default_native_type),
2602 (get_native_type), (update_native_type),
2603 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2604 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2605 (g_unix_mount_can_eject), (eject_unmount_cb),
2606 (eject_unmount_read_error), (eject_unmount_do),
2607 (g_unix_mount_unmount), (g_unix_mount_eject),
2608 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2609 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2610 (g_unix_mount_point_guess_can_eject):
2612 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2613 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2614 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2615 (g_unix_volume_mount), (g_unix_volume_eject),
2616 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2617 * gunixvolumemonitor.c: (get_volume_for_uuid),
2618 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2620 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2621 (g_volume_eject), (g_volume_eject_finish):
2623 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2624 (g_volume_monitor_get_mount_for_uuid):
2627 Provide eject() on both GMount and GVolume and utility functions
2628 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2629 ejected. Introduce the concept of UUID's and wire it into GVolume
2630 and GMount and provide API on GVolumeMonitor to find such
2631 instances. Also handle the case where an external
2632 GNativeVolumeMonitor fails to initialize. Lock around the
2633 _g_get_mount_for_mount_path() function such that volume monitor
2634 implementations won't have to do locking themselves.
2636 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2638 * gdesktopappinfo.c:
2644 * gvolume.h: Documentation updates
2646 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2649 * gfile.h: Doc updates
2651 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2654 * gdesktopappinfo.c: Use hash table iterators.
2656 2007-12-14 Alexander Larsson <alexl@redhat.com>
2659 * gfileattribute.[ch]:
2660 * gfileattribute-priv.h:
2661 Move GFileAttributeValue to a private header, as
2665 Make set_attribute take a type + a pointer instead
2666 of a GFileAttributeValue.
2669 Fix up for above changes.
2670 Add g_file_info_get_attribute_data to get
2671 all info in one call, g_file_info_get_attribute_status
2672 to get the status and g_file_info_get_attribute_as_string.
2676 * glocalfileinfo.[ch]:
2680 Make _guess_type static.
2682 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2685 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2686 made mkenums and friends use temporary files to avoid leaving
2687 empty generated files on failure (#503470).
2689 2007-12-14 Alexander Larsson <alexl@redhat.com>
2691 * gmountoperation.h:
2694 2007-12-14 Alexander Larsson <alexl@redhat.com>
2698 * gfileattribute.[ch]:
2701 * glocalfileoutputstream.c:
2702 * gmountoperation.[ch]:
2703 * goutputstream.[ch]:
2704 Clean up all flags enums to not have _FLAGS in them
2705 Make the names of some of the enums better.
2710 2007-12-14 Michael Natterer <mitch@imendio.com>
2712 * gio.symbols: fix g_io_scheduler symbol names.
2714 2007-12-14 Alexander Larsson <alexl@redhat.com>
2720 * gbufferedinputstream.h:
2721 * gbufferedoutputstream.h:
2724 * gdatainputstream.h:
2725 * gdataoutputstream.h:
2726 * gdesktopappinfo.h:
2727 * gdirectorymonitor.h:
2731 * gfileenumerator.h:
2734 * gfileinputstream.h:
2736 * gfilenamecompleter.h:
2737 * gfileoutputstream.h:
2738 * gfilterinputstream.h:
2739 * gfilteroutputstream.h:
2747 * gmemoryinputstream.h:
2748 * gmemoryoutputstream.h:
2750 * gmountoperation.h:
2753 * gsimpleasyncresult.h:
2755 * gunixinputstream.h:
2757 * gunixoutputstream.h:
2761 * inotify/Makefile.am:
2762 Only allow including <gio/gio.h> from apps
2764 2007-12-14 Alexander Larsson <alexl@redhat.com>
2766 * gioscheduler.[ch]:
2767 * gsimpleasyncresult.c:
2768 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2769 Split out the send_to_mainloop call into two versions instead
2770 of having the block argument.
2772 2007-12-13 Alexander Larsson <alexl@redhat.com>
2774 * gcancellable.[ch]:
2776 * gbufferedinputstream.c:
2777 * gfileenumerator.c:
2778 * gfileinputstream.c:
2779 * gfileoutputstream.c:
2783 g_push/pop_current_cancellable ->
2784 g_cancellable_push/pop_current
2786 2007-12-13 Alexander Larsson <alexl@redhat.com>
2790 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2792 2007-12-13 Alexander Larsson <alexl@redhat.com>
2794 * gmountoperation.h:
2795 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2797 2007-12-12 Alexander Larsson <alexl@redhat.com>
2800 Fix race condition when freeing proxy in
2801 g_io_job_send_to_mainloop().
2803 2007-12-12 Alexander Larsson <alexl@redhat.com>
2809 Make attribute namespace separator "::" instead of ":".
2810 Use - instead of _ as separator in attribute names.
2812 2007-12-12 Alexander Larsson <alexl@redhat.com>
2814 * gbufferedinputstream.h:
2815 * gbufferedoutputstream.h:
2816 * gdatainputstream.h:
2817 * gdataoutputstream.h:
2818 * gdirectorymonitor.h:
2819 * gfileenumerator.h:
2820 * gfileinputstream.h:
2822 * gfileoutputstream.h:
2823 * gfilterinputstream.h:
2824 * gfilteroutputstream.h:
2826 * glocalfileinputstream.h:
2827 * glocalfileoutputstream.h:
2828 * gmemoryinputstream.h:
2829 * gmemoryoutputstream.h:
2830 * gnativevolumemonitor.h:
2832 * gunixinputstream.h:
2833 * gunixoutputstream.h:
2836 s/parent/parent_instance/ in GObjects
2838 2007-12-12 Alexander Larsson <alexl@redhat.com>
2843 No need for padding for interfaces
2845 2007-12-12 Alexander Larsson <alexl@redhat.com>
2849 * gbufferedinputstream.c:
2850 * gbufferedoutputstream.c:
2853 * gdatainputstream.[ch]:
2854 * gdesktopappinfo.c:
2855 * gdirectorymonitor.c:
2857 * gfileattribute.[ch]:
2860 * gfileinputstream.h:
2861 * gfilemonitor.[ch]:
2862 * gfileoutputstream.[ch]:
2863 * gfilterinputstream.h:
2864 * gfilteroutputstream.h:
2867 * gloadableicon.[ch]:
2868 * gmemoryinputstream.c:
2869 * gmountoperation.c:
2871 Fix up a bunch of details in the docs.
2876 2007-12-11 David Zeuthen <davidz@redhat.com>
2878 Rework how volumes, drives and volume monitoring is
2879 done. Previosly the model was
2881 GDrive <1-1> GVolume
2883 where a GDrive instance represented a mount point and a GVolume
2884 instance represented a mounted file system. This patch changes it
2887 GDrive <1-N> GVolume <1-1> GMount
2889 where GMount now serves the purpose of the old GVolume and the new
2890 GVolume serves the purpose of the old GDrive. In addition the new
2891 GDrive interface is used to represent a collection of GVolume
2892 instances (typically partitions) and also contains utility to query
2893 the state of the physical drive the GDrive object represents (such
2894 as checking for media, polling the drive, ejecting the media etc.).
2896 Also implement mounting and unmounting in the Unix volume monitor
2897 backend. A subquent patch will introduce GDrive support for ejection
2901 * gdrive.c: (g_drive_is_media_check_automatic),
2902 (g_drive_is_media_removable), (g_drive_has_media),
2903 (g_drive_can_poll_for_media), (g_drive_eject),
2904 (g_drive_eject_finish), (g_drive_poll_for_media),
2905 (g_drive_poll_for_media_finish):
2907 * gfile.c: (g_file_find_enclosing_mount):
2910 * glocaldirectorymonitor.c:
2911 (g_local_directory_monitor_constructor), (mounts_changed):
2912 * glocalfile.c: (get_mount_info),
2913 (g_local_file_find_enclosing_mount),
2914 (g_local_file_file_iface_init):
2915 * gnativevolumemonitor.h:
2916 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2917 (get_connected_drives), (g_union_volume_monitor_class_init),
2918 (child_volume_added), (child_volume_removed),
2919 (child_volume_changed), (child_mount_added), (child_mount_removed),
2920 (child_mount_pre_unmount), (child_mount_changed),
2921 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2922 (g_union_volume_monitor_remove_monitor),
2923 (_g_mount_get_for_mount_path):
2924 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2925 (guess_system_internal), (_g_get_unix_mounts),
2926 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2927 (g_unix_mount_free), (g_unix_mount_compare),
2928 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2929 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2930 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2931 (type_to_icon), (g_unix_mount_guess_name),
2932 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2933 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2934 (_resolve_symlink), (_resolve_dev_root):
2936 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2937 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2938 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2939 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2940 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2941 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2942 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2943 (g_unix_volume_volume_iface_init):
2945 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2946 (get_mounts), (get_volumes), (get_connected_drives),
2947 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2948 (mountpoints_changed), (mounts_changed),
2949 (g_unix_volume_monitor_init),
2950 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2951 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2952 * gunixvolumemonitor.h:
2953 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2954 (g_volume_mount), (g_volume_mount_finish):
2956 * gvolumemonitor.c: (g_volume_monitor_class_init),
2957 (g_volume_monitor_get_connected_drives),
2958 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2961 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2963 * gmountoperation.h (GPasswordFlags): Close the gap
2965 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2967 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2969 * gdesktopappinfo.[hc]: Remove _-prefixes
2971 2007-12-10 Tor Lillqvist <tml@novell.com>
2973 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2976 2007-12-10 Alexander Larsson <alexl@redhat.com>
2978 * gfile.c (g_file_set_display_name):
2979 Don't hardcode '/' (#502727)
2981 2007-12-09 Hans Breuer <hans@breuer.org>
2983 * makefile.msc : follow lib naming convention
2984 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2985 for user and group name, tested with ../tests/gio-ls
2987 2007-12-09 A. Walton <awalton@svn.gnome.org>
2989 * gdesktopappinfo.c:
2995 * gfileenumerator.c:
3000 * gmemoryinputstream.c:
3001 * gmemoryoutputstream.c:
3003 * gsimpleasyncresult.c:
3004 More documentation cleanup and filling in missing information, bringing
3005 GIO to 99% symbol coverage.
3007 2007-12-08 Hans Breuer <hans@breuer.org>
3009 [gio compiles and links on win32, not sure how much already works]
3010 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3011 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3012 base on win32 API; prefer g_lstat() over lstat(); instead of
3013 localtime_r() use an all GLib implementation on win32;
3014 get_mount_info() still needs a win32 specifc implementation
3015 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3016 win32_get_file_user_info to get owner/group info without uid/gid
3017 * glocalfileinputstream.c : include <io.h> on win32
3018 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3019 definition, use g_win32_ftruncate() for G_OS_WIN32
3020 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3021 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3022 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3023 * makefile.msc : updated
3025 2007-12-07 Alexander Larsson <alexl@redhat.com>
3027 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3028 Avoid warning spew if error == NULL
3030 2007-12-07 Alexander Larsson <alexl@redhat.com>
3033 Update docs wrt etags
3035 2007-12-06 Alexander Larsson <alexl@redhat.com>
3038 Include sys/types.h for dev_t (#501919)
3040 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3044 Make abicheck and pltcheck pass.
3046 2007-12-05 Alexander Larsson <alexl@redhat.com>
3049 * giomodule-priv.h: Added.
3050 * glocaldirectorymonitor.c:
3051 * glocalfilemonitor.c:
3052 * gunionvolumemonitor.c:
3054 Actually add the declaration of _g_io_modules_ensure_loaded
3056 2007-12-05 Alexander Larsson <alexl@redhat.com>
3058 * gdatainputstream.c:
3063 * glocaldirectorymonitor.c:
3064 * glocalfilemonitor.c:
3065 * gunionvolumemonitor.c:
3067 Make g_io_modules_ensure_loaded a private function and
3068 don't pass in the dirname. This means we can do magic
3069 directory finding in the win32 version.
3070 Export the actual load-modules-in-directory code so that
3071 gvfs can reuse that.
3073 2007-12-05 Alexander Larsson <alexl@redhat.com>
3075 * gbufferedinputstream.c:
3076 * gbufferedoutputstream.c:
3079 * gfileenumerator.[ch]:
3080 * gfileinputstream.c:
3081 * gfileoutputstream.[ch]:
3082 * gfilterinputstream.c:
3083 * gfilteroutputstream.c:
3084 * ginputstream.[ch]:
3086 * glocalfileenumerator.c:
3087 * glocalfileinputstream.c:
3088 * glocalfileoutputstream.c:
3089 * gmemoryinputstream.c:
3090 * gmemoryoutputstream.c:
3091 * goutputstream.[ch]:
3094 * gunixinputstream.c:
3095 * gunixoutputstream.c:
3096 Rename all struct members named:
3097 read, write, close, truncate, or mount
3098 to foo_fn, as these are reserved names
3099 and could be defined as macros in libc.
3102 2007-12-04 Alexander Larsson <alexl@redhat.com>
3105 (g_output_stream_close):
3106 Only call flush if non-null.
3108 2007-11-30 Dan Winship <danw@gnome.org>
3110 * ginputstream.c (g_input_stream_set_pending): Make this take a
3111 GError and return a gboolean, and do the "outstanding operation"
3112 check (and the "stream is already closed" check) itself.
3113 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3115 * goutputstream.c (g_output_stream_set_pending)
3116 (g_output_stream_clear_pending): Likewise
3118 * gbufferedinputstream.c:
3119 * gfileinputstream.c:
3120 * gfileoutputstream.c: Update for that
3122 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3123 Like g_simple_async_report_error_in_idle, but takes a GError
3124 rather than building one.
3126 2007-11-30 Dan Winship <danw@gnome.org>
3128 * goutputstream.c: Don't cheat and unset the "pending" flag around
3129 inner calls. Instead, call the class method directly rather than
3130 the wrapper function that checks "pending"
3132 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3134 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3136 2007-12-03 Hans Breuer <hans@breuer.org>
3138 [start of port to win32/msvc]
3139 * gcancellable.c : HAVE_UNIST_H and _pipe()
3140 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3141 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3142 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3144 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3145 * glocalvfs.c : use HAVE_PWD_H
3146 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3147 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3148 * Makefile.am : added to EXTRA_DIST
3150 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3152 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3155 2007-12-03 Alexander Larsson <alexl@redhat.com>
3158 Handle OSX style xattrs API (#500506)
3160 2007-12-03 Alexander Larsson <alexl@redhat.com>
3164 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3166 2007-12-02 A. Walton <awalton@svn.gnome.org>
3170 Documentation accuracy fixes.
3172 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3174 * gioenumtypes.c.template: Fix typo.
3176 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3178 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3180 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3182 * gdirectorymonitor.c:
3183 * gfilemonitor.c: Add properties
3185 * gbufferedoutputstream.c: Don't mark buffer-size property
3188 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3190 * gbufferedoutputstream.c: Add auto-grow property.
3192 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3194 * *.c: Unify the capitalization of section headings.
3196 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3198 * gmountoperation.c: Add properties
3200 * gdatainputstream.c: Turn byte-order and newline-type into
3203 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3205 * gioenumtypes.[hc].template: Templates for enum registration
3207 * Makefile.am: Generate gioenumtypes.[hc]
3209 * gio.h: Include gioenumtypes.h
3211 * gfile.h: Add some explicit nicks.
3213 * gio.symbols: Add new symbols
3215 * pltcheck.sh: Adjust
3217 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3219 * *.c: Explain etags and link to the explanation
3221 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3223 * *.c: Explain I/O priority.
3225 * *.c: More coding style fixes.
3227 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3229 * gasyncresult.c: Add another paragraph to the intro,
3230 adjust coding style of example.
3232 2007-11-29 A. Walton <awalton@svn.gnome.org>
3235 Fixes unknown meaning in GAppLaunchContext docs.
3237 Clarify asynchronous ops.
3239 Fix entity tag docs.
3242 Provides missing gtk-doc section, fixes API docs slighly.
3243 * gsimpleasyncresult.c:
3244 Fill in missing info in docs.
3245 * gunixinputstream.c:
3246 * gunixoutputstream.c:
3247 Be more expressive in short description.
3249 Remove gtk-doc stubs for non-public API.
3251 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3253 * *.c: Coding style fixups
3255 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3257 * inotify/inotify-helper.c: Don't export the lock from libgio.
3259 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3262 * abicheck.sh: Fix copy-and-paste leftovers
3264 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3266 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3268 2007-11-28 Alexander Larsson <alexl@redhat.com>
3272 Removed unnecessary file
3274 * gdesktopappinfo.[ch]:
3277 * glocaldirectorymonitor.[ch]:
3279 * glocalfileenumerator.[ch]:
3280 * glocalfileinputstream.[ch]:
3281 * glocalfilemonitor.[ch]:
3282 * glocalfileoutputstream.[ch]:
3284 * gnativevolumemonitor.c:
3285 * gpollfilemonitor.[ch]:
3286 * gunionvolumemonitor.[ch]:
3289 * gunixvolumemonitor.[ch]:
3292 * inotify/ginotifydirectorymonitor.[ch]:
3293 * inotify/ginotifyfilemonitor.[ch]:
3294 * inotify/inotify-helper.c:
3295 Append _ to all internal functions
3299 Export symbols needed for modules
3301 2007-11-28 Alexander Larsson <alexl@redhat.com>
3304 * abicheck.sh: Added.
3305 * makegioalias.pl: Added.
3306 * pltcheck.sh: Added.
3307 * gio.symbols: Added.
3310 Initial work on adding symbol handling.
3313 Correct ifdef guard name
3316 * inotify/Makefile.am:
3317 * xdgmime/Makefile.am:
3318 Include toplevel Makefile.decl
3320 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3322 * gcontenttype.c: Move doc comments to the unix section.
3324 * *.[hc]: More trivial doc corrections.
3326 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3328 * gpollfilemonitor.c:
3332 * gdesktopappinfo.c:
3337 * gdatainputstream.c:
3338 * gdatainputstream.h:
3339 * gdataoutputstream.c:
3340 * gdataoutputstream.h:
3341 * gfileinfo.h: Doc cleanups
3343 2007-11-28 Andre Klapper <a9016009@gmx.de>
3345 * gdesktopappinfo.c: Fix a typo.
3347 2007-11-27 Andre Klapper <a9016009@gmx.de>
3349 * glocalfileoutputstream.c: Fix a typo.
3351 2007-11-27 Alexander Larsson <alexl@redhat.com>
3354 Don't include removed headers
3356 2007-11-27 Alexander Larsson <alexl@redhat.com>
3359 * gsocketinputstream.[ch]: Removed.
3360 * gsocketoutputstream.[ch]: Removed.
3361 * gunixinputstream.[ch]: Added.
3362 * gunixoutputstream.[ch]: Added.
3363 Renamed GSocket*Stream to GUnix*Stream and made
3364 it unix-only, since its not really only for sockets
3365 and it only works on unix (but is highly useful there).
3367 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3373 * gbufferedinputstream.c:
3374 * gbufferedinputstream.h:
3375 * gbufferedoutputstream.c:
3376 * gbufferedoutputstream.h:
3380 * gdatainputstream.c:
3381 * gdatainputstream.h:
3382 * gdataoutputstream.c:
3383 * gdataoutputstream.h:
3384 * gdirectorymonitor.c:
3385 * gdirectorymonitor.h:
3392 * gfileenumerator.c:
3393 * gfileenumerator.h:
3398 * gfileinputstream.c:
3399 * gfileinputstream.h:
3402 * gfilenamecompleter.c:
3403 * gfilenamecompleter.h:
3404 * gfileoutputstream.c:
3405 * gfileoutputstream.h:
3406 * gfilterinputstream.c:
3407 * gfilterinputstream.h:
3408 * gfilteroutputstream.c:
3409 * gfilteroutputstream.h:
3422 * glocalfileoutputstream.c:
3423 * gmemoryinputstream.c:
3424 * gmemoryinputstream.h:
3425 * gmemoryoutputstream.c:
3426 * gmemoryoutputstream.h:
3427 * gmountoperation.c:
3428 * gmountoperation.h:
3431 * gpollfilemonitor.c:
3434 * gsimpleasyncresult.c:
3435 * gsimpleasyncresult.h:
3436 * gsocketinputstream.c:
3437 * gsocketinputstream.h:
3438 * gsocketoutputstream.c:
3439 * gsocketoutputstream.h:
3446 * gunixvolumemonitor.c:
3455 Bumps documentation to 93% symbol coverage, touching most
3456 of the public files. Fixes broken function documentation prototypes.
3457 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3458 gtk-doc headers in private files.
3460 2007-11-27 Jürg Billeter <j@bitron.ch>
3462 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3463 (g_buffered_input_stream_read_byte):
3464 * gbufferedinputstream.h:
3465 New functions for efficient access to buffer and simple single byte
3468 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3469 (g_data_input_stream_read_until):
3470 * gdatainputstream.h:
3471 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3472 read_until with multiple stop chars.
3474 2007-11-27 Alexander Larsson <alexl@redhat.com>
3478 * inotify/Makefile.am:
3479 Use the user-specified giomoduledir
3481 2007-11-27 Alexander Larsson <alexl@redhat.com>
3485 Add catch-all gio.h header
3486 Don't install gdummyfile.h
3488 2007-11-26 Alexander Larsson <alexl@redhat.com>
3490 * Makefile.am (gioinclude_HEADERS):
3491 Remove trailing whitespace
3493 2007-11-26 Alexander Larsson <alexl@redhat.com>
3495 Merge gio-standalone into glib
3497 2007-11-25 Christian Kellner <gicmo@gnome.org>
3499 * gio/goutputstream.c:
3500 Fix small mistake in the docs.
3502 2007-11-21 Christian Persch <chpe@gnome.org>
3504 * gio/glocalfile.c: (g_local_file_trash):
3505 Convert filenames to UTF-8 for GError.
3506 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3507 as per xdg base dir spec.
3509 2007-11-21 Christian Persch <chpe@gnome.org>
3511 * gio/gdesktopappinfo.c:
3512 Use that g_key_file_to_data cannot fail.
3514 Use stock defines for the key file group and key names.
3517 2007-11-21 Alexander Larsson <alexl@redhat.com>
3520 (copy_stream_with_progress):
3521 Make sure we do a final progress callback with
3522 the full total size.
3524 2007-11-21 Alexander Larsson <alexl@redhat.com>
3527 Export g_file_copy_attributes
3528 Remove padding as its not needed for interfaces
3530 2007-11-20 Alexander Larsson <alexl@redhat.com>
3535 Add G_IO_ERROR_WOULD_MERGE for
3536 copy/move dir on dir with overwrite.
3538 2007-11-20 Alexander Larsson <alexl@redhat.com>
3541 * gio/glocalfileinfo.c:
3542 Add COPY_NAME (this is an optional
3543 non-modified utf8 version of the name) that
3546 2007-11-20 Alexander Larsson <alexl@redhat.com>
3548 * gio/glocalfileenumerator.c:
3549 Report errors as GIOError, not GFileError
3551 2007-11-16 Alexander Larsson <alexl@redhat.com>
3553 * gio/glocalfileoutputstream.c:
3554 * gio/gwin32appinfo.c:
3555 Fix typos in strings.
3556 Patch from Luca Ferretti <elle.uca@libero.it>
3558 2007-11-15 Alexander Larsson <alexl@redhat.com>
3561 Post release version bump
3563 === gio-standalone 0.1.2 ===
3565 2007-11-15 Alexander Larsson <alexl@redhat.com>
3567 * docs/reference/gio/Makefile.am:
3568 Fix up distcheck by removing weird
3574 2007-11-14 Alexander Larsson <alexl@redhat.com>
3576 * gio/gdesktopappinfo.c:
3577 * gio/glocaldirectorymonitor.c:
3579 * gio/glocalfileinfo.c:
3580 * gio/inotify/inotify-sub.c:
3581 * programs/gio-cat.c:
3582 * programs/gio-copy.c:
3583 * programs/gio-info.c:
3584 * programs/gio-ls.c:
3585 * programs/gio-monitor-dir.c:
3586 * programs/gio-monitor-file.c:
3587 * programs/gio-mount.c:
3588 * programs/gio-move.c:
3589 * programs/gio-rm.c:
3590 * programs/gio-save.c:
3591 * programs/gio-trash.c:
3592 Leak fixes from Kjartan Maraas
3594 2007-11-14 Alexander Larsson <alexl@redhat.com>
3596 * gio/fam/fam-helper.c:
3598 * gio/glocalfileinfo.c:
3602 * gio/inotify/inotify-diag.c:
3603 * gio/inotify/inotify-kernel.c:
3604 Various code cleanups from Kjartan Maraas
3606 2007-11-14 Alexander Larsson <alexl@redhat.com>
3608 * gio/gioscheduler.c:
3610 Set up threadpool so that we cache 2 unused
3611 idle threads for at 15 secs. This means we
3612 will reuse thread-local data (like dbus connections)
3615 2007-11-14 Alexander Larsson <alexl@redhat.com>
3617 * gio/fam/fam-helper.c:
3618 * gio/fam/gfamdirectorymonitor.c:
3619 * gio/fam/gfamfilemonitor.c:
3621 * gio/gcontenttype.c:
3622 * gio/gdatainputstream.c:
3623 * gio/gdataoutputstream.c:
3627 * gio/gfileattribute.h:
3628 * gio/gfileenumerator.c:
3630 * gio/ginputstream.c:
3633 * gio/glocalfileinfo.c:
3634 * gio/goutputstream.c:
3635 * gio/gpollfilemonitor.c:
3636 * gio/gsimpleasyncresult.c:
3637 * gio/gunixmounts.c:
3638 * gio/gunixmounts.h:
3639 * gio/inotify/ginotifydirectorymonitor.c:
3640 * gio/inotify/ginotifyfilemonitor.c:
3641 * gio/inotify/inotify-diag.c:
3642 * gio/inotify/inotify-kernel.c:
3643 * gio/inotify/inotify-path.c:
3645 * gio/test-streams.c:
3646 * programs/gio-info.c:
3647 * programs/gio-monitor-dir.c:
3648 * programs/gio-monitor-file.c:
3649 Various code cleanups from Kjartan Maraas
3651 2007-11-13 Alexander Larsson <alexl@redhat.com>
3654 Handle the uri-scheme calls for dummy files
3656 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3658 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3659 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3660 to avoid clash with the C++ keyword.
3662 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3664 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3665 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3667 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3669 * gio/glocaldirectorymonitor.c:
3670 * gio/glocalfilemonitor.c:
3671 * gio/gunionvolumemonitor.c:
3672 Don't use g_once_init_*() for initializations that could fail and
3673 could leave the initialization variable set to 0 but use GOnce.
3674 This prevents a deadlock on the second call when trying to create
3675 a monitor and no monitor type is available. Thanks to Sven Herzberg
3678 2007-11-11 Sven Herzberg <sven@imendio.com>
3680 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3681 #ifdef (make it work on MacOS X again)
3683 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3685 Fixes Changelog for last two commits (sorry guys).
3687 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3689 * gio/gbufferedinputstream.c:
3690 * gio/gdatainputstream.c:
3692 * gio/gfileoutputstream.c:
3693 * gio/gfilterinputstream.c:
3694 * gio/glocalfileinputstream.c:
3697 More consistency fixes in g*stream.c files.
3698 Significant clean of gfile's documentation, filling in of
3699 asynchronous operations documentation.
3701 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3703 * gio/gasyncresult.c:
3704 * gio/gbufferedinputstream.c:
3705 * gio/gbufferedoutputstream.c:
3706 * gio/gcancellable.c:
3707 * gio/gcontenttype.c:
3708 * gio/gdatainputstream.c:
3709 * gio/gdataoutputstream.c:
3710 * gio/gdesktopappinfo.c:
3713 * gio/gfileattribute.c:
3714 * gio/gio/gfileenumerator.c:
3716 * gio/gfileinputstream.c:
3717 * gio/gfilemonitor.c:
3718 * gio/gfileoutputstream.c:
3719 * gio/ginputstream.c:
3721 * gio/gioscheduler.c:
3722 * gio/gloadableicon.c:
3723 * gio/glocalfileoutputstream.c:
3724 * gio/gmemoryoutputstream.c:
3725 * gio/gmountoperation.c:
3726 * gio/goutputstream.c:
3728 * gio/gsimpleasyncresult.c:
3729 * gio/gunionvolumemonitor.c:
3730 * gio/gunixmounts.c:
3731 * gio/gunixvolume.c:
3735 * gio/gvolumemonitor.c:
3736 Updated documentation stubs, working towards consistency and
3739 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3741 * gio/gmemoryoutputstream.c:
3742 * gio/gmemoryoutputstream.h:
3743 Change g_memory_output_stream_set_free_on_close() to
3744 g_memory_output_stream_set_free_data() as this makes more sense and
3745 is more consistent with GMemoryInputStream.
3747 2007-11-07 Alexander Larsson <alexl@redhat.com>
3754 Change how we find the default vfs so that
3755 we can handle a gvfs failing to init
3757 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3759 * gio/gbufferedoutputstream.c:
3760 * gio/gdatainputstream.c:
3761 * gio/gdataoutputstream.c:
3762 * gio/gfileinputstream.c:
3763 * gio/gfileoutputstream.c:
3764 * gio/gfilterinputstream.c:
3765 * gio/gfilteroutputstream.c:
3766 * gio/ginputstream.c:
3767 * gio/gmemoryinputstream.c:
3768 * gio/gmemoryoutputstream.c:
3769 * gio/goutputstream.c:
3770 * gio/gsimpleasyncresult.c:
3771 * gio/gsocketinputstream.c:
3772 * gio/gsocketoutputstream.c:
3773 Add guards to the remaining public functions, add a TODO for
3774 an unimplemented function and remove some useless guards.
3776 2007-11-07 Alexander Larsson <alexl@redhat.com>
3779 Autoconf checks for the various types of
3780 getpwuid_r and getgrgid_r
3782 * gio/glocalfileinfo.c:
3783 Use the autoconf checks from above
3785 2007-11-07 Alexander Larsson <alexl@redhat.com>
3788 (g_local_file_query_filesystem_info):
3789 Some fixes for the statvfs case
3791 2007-11-07 Alexander Larsson <alexl@redhat.com>
3794 (g_local_file_query_filesystem_info):
3795 Pick the "best" of statfs / statvfs for the system
3796 if both are availible.
3798 2007-11-07 Alexander Larsson <alexl@redhat.com>
3800 Solaris fixes from Halton.Huo@Sun.COM:
3807 * gio/glocalfileinfo.c:
3808 Fix for solaris definition of getpwuid_r
3810 * gio/test-streams.c:
3811 Use G_GNUC_PRETTY_FUNCTION
3813 2007-11-07 Alexander Larsson <alexl@redhat.com>
3815 * gio/gdesktopappinfo.c:
3816 (update_default_list):
3817 Remove double semicolon.
3818 Patch from Jens Granseuer
3820 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3822 * docs/reference/gio/gio-sections.txt:
3823 * gio/gbufferedinputstream.c:
3824 * gio/gbufferedinputstream.h:
3825 * gio/gdatainputstream.c:
3826 * gio/gfileenumerator.c:
3827 * gio/gioscheduler.c:
3828 * gio/gunionvolumemonitor.c:
3830 * programs/gio-save.c:
3831 Fix typo: availible -> available. Unfortuntely this breaks API
3832 and ABI as g_buffered_input_stream_get_available() was renamed.
3834 * gio/gunixmounts.c:
3835 * gio/gbufferedinputstream.c:
3836 Add guards for public functions.
3838 2007-11-06 Ross Burton <ross@openedhand.com>
3840 * docs/reference/gio/Makefile.am:
3841 Fix invalid += usage which automake 1.10 doesn't like.
3843 2007-11-06 Alexander Larsson <alexl@redhat.com>
3846 (g_app_launch_context_class_init):
3849 Patch from Ross Burton
3851 2007-11-06 Alexander Larsson <alexl@redhat.com>
3854 Post release version bump
3856 === gio-standalone 0.1.1 ===
3858 2007-11-06 Alexander Larsson <alexl@redhat.com>
3861 Bump version to 0.1.1
3863 * gio/gsimpleasyncresult.c:
3864 (g_simple_async_result_set_from_error):
3865 Remove bogus g_return_if_fail
3867 2007-11-06 Alexander Larsson <alexl@redhat.com>
3870 The name is gio-standalone
3873 Add top src/builddir to includedir
3875 2007-11-06 Alexander Larsson <alexl@redhat.com>
3877 * docs/reference/gio/gio-sections.txt:
3879 * gio/gbufferedinputstream.c:
3880 * gio/gbufferedoutputstream.c:
3881 * gio/gcancellable.c:
3882 * gio/gdatainputstream.h:
3883 * gio/gdataoutputstream.c:
3884 * gio/gdataoutputstream.h:
3885 * gio/gdirectorymonitor.c:
3887 * gio/gfileattribute.c:
3888 * gio/gfileattribute.h:
3889 * gio/gfileenumerator.c:
3890 * gio/gfileenumerator.h:
3893 * gio/gfileinputstream.h:
3894 * gio/gfilemonitor.c:
3895 * gio/gfileoutputstream.h:
3896 * gio/glocalfilemonitor.h:
3897 * gio/glocalfileoutputstream.h:
3898 * gio/gmemoryinputstream.c:
3899 * gio/gmemoryoutputstream.c:
3900 * gio/gmountoperation.c:
3901 * gio/goutputstream.c:
3902 * gio/goutputstream.h:
3904 * gio/gsimpleasyncresult.c:
3905 * gio/gunixmounts.c:
3906 * gio/gunixmounts.h:
3908 * gio/inotify/inotify-helper.c:
3909 Fix gtk-doc warnings
3911 Patch from Ross Burton
3913 2007-11-06 Alexander Larsson <alexl@redhat.com>
3915 * gio/gfilenamecompleter.c:
3916 (g_filename_completer_get_completions):
3919 * gio/gunixvolume.c:
3920 Remove unused function
3922 Patches from Ross Burton
3924 2007-11-06 Alexander Larsson <alexl@redhat.com>
3929 Padding not needed for interfaces
3931 2007-11-06 Alexander Larsson <alexl@redhat.com>
3933 * gio/gfilemonitor.c:
3937 Make giotypes.h an internal file
3940 * gio/gbufferedinputstream.h:
3941 * gio/gbufferedoutputstream.h:
3942 * gio/gcancellable.h:
3943 * gio/gdatainputstream.h:
3944 * gio/gdataoutputstream.h:
3945 * gio/gdirectorymonitor.c:
3946 * gio/gdirectorymonitor.h:
3951 * gio/gfileattribute.h:
3952 * gio/gfileenumerator.h:
3957 * gio/gfilemonitor.c:
3958 * gio/gfilemonitor.h:
3959 * gio/gfilenamecompleter.c:
3960 * gio/gfilenamecompleter.h:
3961 * gio/gfilterinputstream.h:
3962 * gio/gfilteroutputstream.h:
3963 * gio/ginputstream.h:
3964 * gio/gmemoryinputstream.h:
3965 * gio/gmemoryoutputstream.h:
3966 * gio/gmountoperation.c:
3967 * gio/gmountoperation.h:
3968 * gio/gnativevolumemonitor.c:
3969 * gio/goutputstream.h:
3972 * gio/gsimpleasyncresult.c:
3973 * gio/gsimpleasyncresult.h:
3974 * gio/gsocketinputstream.h:
3975 * gio/gsocketoutputstream.h:
3976 * gio/gthemedicon.c:
3977 * gio/gthemedicon.h:
3981 * gio/gvolumemonitor.c:
3982 * gio/gvolumemonitor.h:
3983 Add padding in classes where it seems useful
3984 Don't include giotypes.h from public headers
3985 Move in Class definitions into c file where possible
3990 2007-11-06 Alexander Larsson <alexl@redhat.com>
3992 * docs/reference/gio/gio-docs.xml:
3993 Better structure for API docs
3995 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3998 * gio/gloadableicon.c:
3999 * gio/gsimpleasyncresult.c:
4000 * gio/gthemedicon.c:
4001 Add some more guards to public functions. Only files missing are now
4004 2007-11-06 Alexander Larsson <alexl@redhat.com>
4006 * docs/reference/gio/gio-docs.xml:
4007 Remove old files, add missing ones
4009 2007-11-06 Alexander Larsson <alexl@redhat.com>
4011 * docs/reference/gio/gio-sections.txt:
4014 Hide implementation classes
4016 * gio/gdriveprivate.h:
4017 * gio/gvolumeprivate.h:
4018 Remove non-existing function declarations
4020 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4023 Fix compilation warnings and add guards to the new functions.
4025 * gio/gasyncresult.c:
4027 Add guards to the public functions.
4030 Implement get_path().
4032 2007-11-06 Alexander Larsson <alexl@redhat.com>
4034 * gio/gfilenamecompleter.c:
4035 Make g_filename_completer_get_completions
4036 return char ** instead of GList for
4039 * docs/reference/gio/gio-docs.xml:
4040 * docs/reference/gio/gio-sections.txt:
4042 * gio/gasyncresult.c:
4043 * gio/gbufferedinputstream.c:
4044 * gio/gbufferedoutputstream.c:
4045 * gio/gcancellable.c:
4046 * gio/gcontenttype.c:
4047 * gio/gdatainputstream.c:
4048 * gio/gdataoutputstream.c:
4049 * gio/gdesktopappinfo.c:
4050 * gio/gdirectorymonitor.c:
4054 * gio/gfileattribute.c:
4055 * gio/gfileenumerator.c:
4058 * gio/gfileinputstream.c:
4059 * gio/gfilemonitor.c:
4060 * gio/gfilenamecompleter.c:
4061 * gio/gfilenamecompleter.h:
4062 * gio/gfileoutputstream.c:
4063 * gio/gfilterinputstream.c:
4065 * gio/ginputstream.c:
4067 * gio/gioscheduler.c:
4068 * gio/gloadableicon.c:
4069 * gio/glocaldirectorymonitor.c:
4071 * gio/glocalfileinputstream.c:
4072 * gio/glocalfilemonitor.c:
4073 * gio/glocalfileoutputstream.c:
4075 * gio/gmemoryinputstream.c:
4076 * gio/gmemoryoutputstream.c:
4077 * gio/gmountoperation.c:
4078 * gio/goutputstream.c:
4079 * gio/gpollfilemonitor.c:
4081 * gio/gsimpleasyncresult.c:
4082 * gio/gsocketinputstream.c:
4083 * gio/gsocketoutputstream.c:
4084 * gio/gthemedicon.c:
4085 * gio/gunionvolumemonitor.c:
4087 * gio/gunixmounts.c:
4088 * gio/gunixvolume.c:
4089 * gio/gunixvolumemonitor.c:
4093 * gio/gvolumemonitor.c:
4094 * gio/gwin32appinfo.c:
4095 Add (mostly stub) doc strings to public functions.
4096 Patch from Andrew Walton (awalton@gmail.com)
4098 2007-11-06 Alexander Larsson <alexl@redhat.com>
4100 * gio/gappinfo.[ch]:
4101 Added GAppLaunchContext object and pass that to launch.
4102 This allows simple implementation of both
4103 launch-on-screen and startup notification via a gtk+
4104 subclass of GAppLaunchContext
4106 * gio/gdesktopappinfo.c:
4107 Implement GAppLaunchContext API
4109 * gio/gwin32appinfo.c:
4112 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4114 * gio/gmountoperation.c:
4115 Add some guards to GMountOperation's public functions.
4117 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4121 * gio/gcancellable.c:
4122 * gio/gdirectorymonitor.c:
4124 * gio/gfileenumerator.c:
4125 * gio/gfilemonitor.c:,
4126 * gio/gfilenamecompleter.c:
4129 * gio/gioscheduler.c:
4133 * gio/gvolumemonitor.c:
4134 Add even more guards to various public functions.
4136 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4139 Add guards to the public functions of GAppInfo.
4141 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4143 * gio/gcontenttype.c:
4144 Add some more guards for public functions.
4146 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4148 * gio/fam/fam-module.c:
4149 * gio/fam/gfamdirectorymonitor.c:
4150 * gio/fam/gfamdirectorymonitor.h:
4151 * gio/fam/gfamfilemonitor.c:
4152 * gio/fam/gfamfilemonitor.h:
4153 * gio/inotify/ginotifydirectorymonitor.c:
4154 * gio/inotify/ginotifydirectorymonitor.h:
4155 * gio/inotify/ginotifyfilemonitor.c:
4156 * gio/inotify/ginotifyfilemonitor.h:
4157 Add proper copyright information and remove an unused variable
4158 in the GInotifyFileMonitor constructor.
4160 * gio/gcancellable.c:
4161 Add a guard for a public function and an assertion to prevent
4162 an undefined program state.
4164 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4166 * gio/gfileattribute.c:
4167 Don't run into an assertion if the given attribute value is NULL
4168 in g_file_attribute_value_get_*() but instead return a fallback
4169 value that makes sense in most situations. Passing them a attribute
4170 value with the wrong type will still run into an assertion.
4172 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4174 * gio/gfileattribute.c:
4176 Add even more guards to the public functions. Also fix the refcounting
4177 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4178 let g_file_info_list_attributes() filter the attributes by namespace
4179 instead of simply ignoring the namespace parameter.
4181 2007-11-03 Sven Herzberg <sven@imendio.com>
4183 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4184 (This makes gio work on MacOS X again)
4186 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4189 Build the gio subdirectory before the docs. Otherwise the build will
4192 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4193 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4194 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4195 Add guards to the public functions.
4197 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4199 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4200 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4201 to prevent a compiler warning.
4203 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4204 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4205 return something in the non-void function find_topdir_for().
4207 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4214 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4216 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4217 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4218 * gwin32appinfo.c (g_win32_app_info_launch):
4219 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4220 envp_for_startup_id, g_desktop_app_info_launch,
4221 g_desktop_app_info_launch_uris):
4223 Give an opaque 'startup_id' string instead of 'envp'.
4224 Support empty file lists for launching new windows.
4225 Fix infinite recursion bug when launching URIs.
4227 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4230 Add guard to the new g_file_get_uri_scheme() function.
4232 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4235 Convert a g_return_val_if_fail() to setting the GError instead as
4236 otherwise applications have to verify the parameter before otherwise
4237 and the parameter might come directly from the user.
4239 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4241 * gio/inotify/ginotify*.[ch]:
4242 Add missing copyright information.
4244 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4247 Add guards in the beginning of public functions to check for valid
4248 parameters and fix a bug in copy_stream_with_progress() that could've
4249 caused writing less bytes than reading.
4250 * gio/glocalfileinfo.c:
4251 Check for a NULL parameter and set the GError accordingly then.
4252 * gio/goutputstream.c:
4253 Fix the same bug as in gfile.c that could've caused writing less bytes
4254 than reading in g_output_stream_real_splice().
4256 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4259 Use the correct gvolumeprivate.h naming
4261 2007-11-01 Christian Kellner <gicmo@gnome.org>
4264 Remove leftover "$(daemon_sources)" entry.
4266 2007-11-01 Christian Kellner <gicmo@gnome.org>
4271 Add copyright information to source files.
4273 2007-11-01 Alexander Larsson <alexl@redhat.com>
4277 Add g_file_get_uri_scheme
4279 2007-11-01 Alexander Larsson <alexl@redhat.com>
4282 * gio/gdesktopappinfo.c:
4283 * gio/gwin32appinfo.c:
4284 Add g_app_info_get_default_for_uri_scheme.
4286 2007-11-01 Alexander Larsson <alexl@redhat.com>
4289 Correct filename for gdriveprivate.h
4291 2007-10-31 Alexander Larsson <alexl@redhat.com>
4294 Rename id:value to id:file
4297 * gio/glocalfileinfo.c:
4300 2007-10-31 Alexander Larsson <alexl@redhat.com>
4302 * gio/gunixvolume.c:
4304 Remove g_volume_get_platform_id, as thats not
4305 needed with the simpler union volume monitor
4307 2007-10-31 Alexander Larsson <alexl@redhat.com>
4310 * gio/guniondrive.[ch]: Removed.
4311 * gio/gunionvolume.[ch]: Removed.
4312 Remove GUnionDrive/Volume
4314 * gio/gunionvolumemonitor.c:
4315 Simplify union volume monitor, now we
4316 only have one native volume monitor and
4317 we use the actual volumes/drives from the
4318 child monitors instead of wrapping them
4320 * gio/gnativevolumemonitor.[ch]:
4321 Base class for native volume monitors.
4322 Includes priority and get_volume_for_mountpoint
4325 Add g_file_find_enclosing_volume
4328 Remove volume name fs attribute
4329 Add readonly fs attribute
4332 Implement readonly attribute
4333 remove volume name attribute
4334 Implement find_enclosing volume
4336 * gio/gunixmounts.c:
4337 Add a volume for "/".
4339 * gio/gunixvolume.[ch]:
4340 Set better name for /
4342 * gio/gunixvolumemonitor.[ch]:
4343 Derive from GNativeVolumeMonitor
4344 Implement get_volume_for_mountpoint
4347 GVolume typedef moved to gfile.h
4349 * gio/gvolumeprivate.h:
4350 Add g_volume_get_for_mount_path
4352 2007-10-31 Alexander Larsson <alexl@redhat.com>
4354 * gio/gunixmounts.[ch]:
4355 Add cache info to unix mount listers
4356 Make getmntent use threadsafe
4357 Add is_system_internal attribute for GUnixMount
4359 * gio/gunixvolume.c:
4360 (g_unix_volume_new):
4361 Use is_system_internal instead of own code
4363 * gio/glocaldirectorymonitor.c:
4364 * gio/gunixvolumemonitor.c:
4365 Update to new gunixmounts API
4370 2007-10-30 Alexander Larsson <alexl@redhat.com>
4373 Add volume name fsinfo attribute
4376 Read volume name info
4378 * gio/gunionvolumemonitor.c:
4379 Fix infinite loops when finalizing a union volume monitor
4381 2007-10-30 Alexander Larsson <alexl@redhat.com>
4383 * gio/goutputstream.[ch]:
4384 Add splice() with default implementation
4386 * gio/gsocketoutputstream.c:
4387 (g_socket_output_stream_write):
4388 Return error on cancellation correctly.
4390 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4392 * gio/glocalfile.c (g_local_file_trash):
4393 Do not leak a string.
4395 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4397 * gio/gfile.c (g_file_load_contents):
4398 Unref the stream after closing it.
4400 2007-10-25 Alexander Larsson <alexl@redhat.com>
4402 * gio/gioscheduler.h:
4405 2007-10-25 Alexander Larsson <alexl@redhat.com>
4409 Add g_file_has_uri_scheme and implement for local files
4411 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4413 * gio/gdesktopappinfo.c: do not leak a string.
4415 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4417 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4418 (g_local_directory_monitor_new):
4419 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4420 (g_local_file_monitor_new):
4421 Only look for the monitor type that should be used the first time
4422 and use g_qsort_with_data() instead of our own bubble sort
4425 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4428 * gio/fam/Makefile.am:
4429 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4430 * gio/fam/fam-helper.h:
4431 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4432 * gio/fam/gfamdirectorymonitor.c:
4433 * gio/fam/gfamdirectorymonitor.h:
4434 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4435 * gio/fam/gfamfilemonitor.h:
4436 * gio/glocaldirectorymonitor.c:
4437 * gio/glocaldirectorymonitor.h:
4438 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4439 * gio/glocalfilemonitor.h:
4440 * gio/inotify/Makefile.am:
4441 * gio/inotify/ginotifydirectorymonitor.c:
4442 * gio/inotify/ginotifydirectorymonitor.h:
4443 * gio/inotify/ginotifyfilemonitor.c:
4444 * gio/inotify/ginotifyfilemonitor.h:
4445 Implement the FAM and Inotify monitors as
4446 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4447 their own GIO module. GLocal(Directory|File)Monitor will use the
4448 monitor with the highest rank that is supported on that machine.
4450 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4453 Change GIO module dir to $(libdir)/gio/modules and change
4454 the log domain from GVFS to GIO. Also only export symbols starting
4455 with g_ in the resulting library.
4456 * gio/test-streams.c: (main):
4457 Set log handler for the GIO log domain.
4459 2007-10-22 Alexander Larsson <alexl@redhat.com>
4461 * gio/gfilenamecompleter.[ch]:
4462 Add g_filename_completer_set_dirs_only
4464 2007-10-22 Alexander Larsson <alexl@redhat.com>
4467 * gio/gurifuncs.[ch]:
4468 Add some simple URI helpers
4470 * gio/gfilenamecompleter.[ch]:
4471 Added object for filename (parse name actually) completion
4474 Handle ~ in parse names
4476 2007-10-17 Alexander Larsson <alexl@redhat.com>
4479 * gio/glocalfileinfo.c:
4480 Add and implement id:value attribute
4482 2007-10-17 Alexander Larsson <alexl@redhat.com>
4485 * gio/guniondrive.c:
4487 Add and implement g_drive_has_volumes
4489 2007-10-17 Alexander Larsson <alexl@redhat.com>
4492 * gio/glocalfileinfo.[ch]:
4493 Add unix:is_mountpoint and implement for local files
4495 2007-10-16 Alexander Larsson <alexl@redhat.com>
4497 * gio/gunionvolumemonitor.c:
4498 (g_union_volume_monitor_init):
4499 Fix up the unix type getting so that it works with gcc
4501 2007-10-12 Alexander Larsson <alexl@redhat.com>
4504 * gio/glocalfileinfo.c:
4505 Add thumbnail:failed to file info
4507 2007-10-12 Richard Hult <richard@imendio.com>
4509 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4510 optimizing away the get_type call (happens with some gcc versions,
4511 like the one shipped with OS X 10.4).
4513 2007-10-12 Alexander Larsson <alexl@redhat.com>
4515 * gio/glocalfileinfo.c:
4516 (_g_local_file_info_set_attribute):
4517 Fix build if not HAVE_XATTR
4518 Patch from Milosz Derezynski <internalerror@gmail.com>
4520 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4522 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4523 around for review, otherwise I would have asked you before
4526 2007-10-11 Alexander Larsson <alexl@redhat.com>
4529 Add thumbnail:path attribute
4531 * gio/glocalfileinfo.c:
4532 Implement thumbnail:path for local files
4534 2007-10-11 Alexander Larsson <alexl@redhat.com>
4536 * gio/glocalfileinfo.c:
4537 (_g_local_file_info_get):
4538 Avoid duplicate icon names
4540 2007-10-11 Alexander Larsson <alexl@redhat.com>
4542 * gio/gthemedicon.[ch]:
4543 Change g_themed_icon_get_names return type to const
4545 2007-10-10 Alexander Larsson <alexl@redhat.com>
4547 * gio/glocalfileinfo.c:
4548 Don't reference freed memory
4550 2007-10-10 Alexander Larsson <alexl@redhat.com>
4552 * gio/gfileattribute.c:
4555 * gio/glocalfileinfo.c:
4558 2007-10-10 Alexander Larsson <alexl@redhat.com>
4561 Check for NULL icons
4563 * gio/gfileattribute.c:
4564 Don't dup when getting objects (same as for string attributes)
4566 * gio/gicon.c (g_icon_equal):
4567 Safely handle NULLs in equal
4569 2007-10-10 Alexander Larsson <alexl@redhat.com>
4572 Fix c++ compilation issues
4573 Patch from Milosz Derezynski <internalerror@gmail.com>
4575 2007-10-10 Alexander Larsson <alexl@redhat.com>
4577 * programs/gio-monitor-dir.c:
4578 Don't crash if dir monitor not supported.
4580 2007-10-09 Alexander Larsson <alexl@redhat.com>
4583 Add missing G_END_DECLS
4585 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4587 * gio/gfile.c: (g_file_set_display_name),
4588 (g_file_query_settable_attributes),
4589 (g_file_query_writable_namespaces):
4590 Return NULL not FALSE on errors as the return type is a pointer.
4592 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4594 * gio/glocalfile.c: (g_local_file_monitor_file):
4595 Don't call monitor_file on the default interface vtable (which
4596 is NULL) but simply return NULL. The caller, GFile, will create a
4597 polling monitor if NULL is returned.
4599 2007-10-09 Alexander Larsson <alexl@redhat.com>
4603 * gio-unix-2.0.pc.in:
4604 Add gio-unix-2.0.pc if OS_UNIX
4607 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4609 2007-10-09 Alexander Larsson <alexl@redhat.com>
4611 * gio/gunixmounts.[ch]:
4612 Make unix mount monitoring API sane.
4613 Now its just a object with mounts_changed
4614 and mountpoints_changed signals.
4616 * gio/glocaldirectorymonitor.c:
4617 * gio/gunixvolumemonitor.c:
4618 Use new mount monitor api
4620 2007-10-09 Alexander Larsson <alexl@redhat.com>
4622 * gio/gunixmounts.[ch]:
4623 Move guess type into one call for mounts and one for mountpoints
4626 * gio/gunixvolume.c:
4629 2007-10-09 Alexander Larsson <alexl@redhat.com>
4631 * gio/gunixmounts.[ch]:
4632 Remove _ prefix in preparation to make this semi-public
4633 Hide implementation of structs
4635 * gio/glocaldirectorymonitor.c:
4637 * gio/gunixvolume.c:
4638 * gio/gunixvolumemonitor.c:
4639 Update for above API changes
4641 2007-10-08 Alexander Larsson <alexl@redhat.com>
4644 Better polling fallback. This also handles the case where we have
4645 a monitor_file implementation, but it fails.
4647 2007-10-08 Alexander Larsson <alexl@redhat.com>
4651 * gio/gunixmounts.c:
4652 * programs/gio-monitor-dir.c:
4653 * programs/gio-monitor-file.c:
4654 Added cancellable to file monitoring calls.
4655 These are really sync calls and need this.
4657 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4659 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4660 (g_local_vfs_class_init):
4661 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4662 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4664 2007-10-05 Alexander Larsson <alexl@redhat.com>
4666 * gio/gdirectorymonitorprivate.h:
4667 * gio/gfilemonitorprivate.h:
4668 * gio/gdirectorymonitor.h:
4669 * gio/gfilemonitor.h:
4670 Remove *private.h and move to the public API, so that
4671 we can do implementations outside gio (such as in gvfs)
4673 * gio/gdirectorymonitor.c:
4674 * gio/gfilemonitor.c:
4675 * gio/glocaldirectorymonitor.c:
4676 * gio/gpollfilemonitor.c:
4677 * gio/inotify/inotify-helper.c:
4678 * gio/fam/fam-helper.c:
4679 Update to the new header names
4681 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4683 * gio/gdirectorymonitor.c:
4684 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4687 2007-10-04 Alexander Larsson <alexl@redhat.com>
4689 * gio/glocalfileinfo.c (get_access_rights):
4690 Set CAN_TRASH when we can move the file.
4691 We should really also check for a parent trash dir.
4693 2007-10-04 Alexander Larsson <alexl@redhat.com>
4695 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4696 Add can_trash access attribute
4698 2007-10-04 Alexander Larsson <alexl@redhat.com>
4701 (g_local_file_trash):
4702 Create info file first. This is per-spec and allows
4703 us to actually trash directories.
4705 2007-10-02 Alexander Larsson <alexl@redhat.com>
4707 * gio/gdesktopappinfo.c:
4708 Implement the new mime support code.
4709 Always set app as handling mimetype when being set as default for it
4711 2007-10-01 Alexander Larsson <alexl@redhat.com>
4713 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4714 Fix up check for xattrs:
4716 2007-10-01 Alexander Larsson <alexl@redhat.com>
4719 (g_app_info_set_as_default_for_extension):
4720 (g_app_info_add_supports_type):
4721 (g_app_info_can_remove_supports_type):
4722 (g_app_info_remove_supports_type):
4723 Make these fail nicely if not implemented
4725 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4727 * gio/glocalfileoutputstream.c:
4728 * gio/glocalfileoutputstream.h:
4733 * programs/gio-save.c:
4734 Add a GFileCreateFlags argument to operations that can create
4737 2007-10-01 Alexander Larsson <alexl@redhat.com>
4739 * gio/gappinfo.[ch]:
4740 * gio/gdesktopappinfo.c:
4741 Add more (stubbed out) mime API needed for nautilus
4743 2007-10-01 Alexander Larsson <alexl@redhat.com>
4746 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4747 Add g_app_info_set_as_default_for_extension.
4749 * gio/gdesktopappinfo.c:
4750 Dummy for g_app_info_set_as_default_for_extension
4751 Support flags in g_app_info_create_from_commandline
4753 * gio/gwin32appinfo.c:
4755 Update for API changes
4757 * gio/gthemedicon.c:
4758 Properly NULL-terminate list of icon names
4760 2007-09-28 Alexander Larsson <alexl@redhat.com>
4762 * gio/gloadableicon.h:
4763 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4765 2007-09-28 Alexander Larsson <alexl@redhat.com>
4768 Install headers in $includedir/gio-standalone/
4770 * gio-2.0.pc.in: Added.
4771 * gio-standalone.pc.in: Removed.
4774 Renamed pkg-config file to match glib (for future move)
4775 Update to the new include dir
4778 Add more TODO comments
4780 2007-09-28 Alexander Larsson <alexl@redhat.com>
4782 * gio/gdesktopappinfo.[ch]:
4783 Expose new_from_filename
4784 Add getter for is_hidden and handle it better
4786 2007-09-28 Alexander Larsson <alexl@redhat.com>
4788 * gio/gfileinfo.[ch]:
4789 Rename g_file_size_format_for_display to
4790 g_format_file_size_for_display.
4791 Now it doesn't have the g_file prefix, so we
4792 can later move it to glib.
4794 2007-09-28 Alexander Larsson <alexl@redhat.com>
4796 * gio/gappinfo.[ch]:
4797 Add g_app_info_get_id and g_app_info_get_executable.
4798 Make all getters non-reffing
4799 Make g_app_info_launch take GFile arguments.
4800 Add must_support_uris argument to g_app_info_get_default_for_type.
4802 * gio/gwin32appinfo.c:
4803 Update to GAppInfo api changes
4805 * gio/gdesktopappinfo.c:
4806 Update to GAppInfo api changes
4807 Implement supports_xdg_startup_notify
4809 * gio/gfileicon.c (g_file_icon_get_file):
4810 Make getter non-reffing.
4815 2007-09-27 Alexander Larsson <alexl@redhat.com>
4817 * gio/gfileinfo.[ch]:
4818 Add g_file_size_format_for_display helper
4820 2007-09-27 Alexander Larsson <alexl@redhat.com>
4822 * gio/glocalfileinfo.c:
4823 Set UNIX_GID from gid, not from uid
4825 2007-09-27 Alexander Larsson <alexl@redhat.com>
4828 Add g_file_set_attributes_async
4830 2007-09-27 Alexander Larsson <alexl@redhat.com>
4832 * gio/glocalfile.c (g_local_file_set_display_name):
4833 Fix set_display_name to actually rename to the right place.
4834 Use lstat to look for existing files so we don't overwrite
4837 2007-09-26 Alexander Larsson <alexl@redhat.com>
4840 Add g_file_set_display_name_async()
4842 2007-09-26 Alexander Larsson <alexl@redhat.com>
4845 Add load_partial_contents async calls
4848 Make internal function static
4850 2007-09-26 Alexander Larsson <alexl@redhat.com>
4852 * gio/glocalfileinfo.c:
4853 Correctly detect broken symlinks
4855 2007-09-26 Alexander Larsson <alexl@redhat.com>
4857 * gio/gcancellable.c (g_cancellable_cancel):
4858 Allow cancel on NULL cancellable
4860 2007-09-25 Alexander Larsson <alexl@redhat.com>
4862 * gio/gsimpleasyncresult.c:
4863 Don't allocate g_error manually.
4864 Fixes g_slice/g_new mixup crash
4866 2007-09-25 Alexander Larsson <alexl@redhat.com>
4868 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4869 Actually set active_backend.
4870 This means the monitor will be cancelled correctly.
4872 2007-09-25 Alexander Larsson <alexl@redhat.com>
4874 * gio/gdirectorymonitor.c:
4875 Set timeout to NULL when destroying
4877 2007-09-25 Alexander Larsson <alexl@redhat.com>
4880 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4881 that is a better description of the error.
4883 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4885 * gio/gvfs.c: (g_vfs_get_local):
4886 Make the local vfs variable static. The same instance should
4889 2007-09-24 Alexander Larsson <alexl@redhat.com>
4891 * gio/glocalfileinfo.c:
4892 Pass in actual length read into sniffer, not the length
4895 2007-09-21 Alexander Larsson <alexl@redhat.com>
4897 * gio/gfileenumerator.c:
4900 * gio/gfileinputstream.c:
4901 * gio/gfileoutputstream.c:
4902 * gio/ginputstream.c:
4903 * gio/goutputstream.c:
4904 Don't crash if async callbacks are NULL
4906 2007-09-20 Alexander Larsson <alexl@redhat.com>
4909 Add async enumerate_children method and default
4912 2007-09-20 Alexander Larsson <alexl@redhat.com>
4915 Add g_file_contains_file & g_file_get_relative_path, since they
4916 were needed for nautilus.
4917 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4922 Implement new methods
4924 2007-09-17 Alexander Larsson <alexl@redhat.com>
4927 * gio/gfileinputstream.[ch]:
4928 * gio/gfileoutputstream.[ch]:
4930 * gio/glocalfileenumerator.[ch]:
4931 * gio/glocalfileinfo.[ch]:
4932 * gio/glocalfileinputstream.c:
4933 * gio/glocalfileoutputstream.c:
4934 * gio/gpollfilemonitor.c:
4935 * programs/gio-copy.c:
4936 * programs/gio-info.c:
4937 * programs/gio-move.c:
4938 Rename get_file_info to query_info() to make it clearer
4939 that these are not simple getters, but do i/o.
4941 2007-09-17 Alexander Larsson <alexl@redhat.com>
4943 * gio/gdatainputstream.[ch]:
4944 * gio/test-streams.c:
4945 Use _read_XXX instead of _get_XXX for the i/o calls
4948 2007-09-17 Alexander Larsson <alexl@redhat.com>
4951 Added needed stuff to TODO comment
4953 2007-09-17 Alexander Larsson <alexl@redhat.com>
4955 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4956 Don't error out removing the backup copy if it doesn't
4959 2007-09-14 Alexander Larsson <alexl@redhat.com>
4961 * programs/Makefile.am:
4962 * programs/gvfs-*.c:
4964 Renamed apps from gvfs-xxx to gio-xxx.
4966 2007-09-14 Alexander Larsson <alexl@redhat.com>
4969 * gio/gfileoutputstream.[ch]:
4970 * gio/glocalfileoutputstream.c:
4971 * programs/gvfs-save.c:
4972 g_file_output_stream_get_etag doesn't do i/o, so remove
4973 cancellation and error.
4975 2007-09-14 Alexander Larsson <alexl@redhat.com>
4978 Add new_etag output to replace_contents functions
4980 2007-09-14 Alexander Larsson <alexl@redhat.com>
4982 * gio/gfileoutputstream.[ch]:
4983 Add async get_file_info and default implementation
4985 2007-09-14 Alexander Larsson <alexl@redhat.com>
4987 * gio/gfileinputstream.c:
4988 Implement fallback wrapper for async get_file_info
4990 2007-09-14 Alexander Larsson <alexl@redhat.com>
4993 Add etag out argument to load_contents
4998 2007-09-14 Alexander Larsson <alexl@redhat.com>
5000 * gio/gcontenttype.c (looks_like_text):
5001 Whitespace like tab, cr and lf do not make the
5004 2007-09-14 Alexander Larsson <alexl@redhat.com>
5006 * gio/gfileinputstream.[ch]:
5007 Add async get_file_info.
5009 2007-09-13 Alexander Larsson <alexl@redhat.com>
5011 * gio/goutputstream.c (g_output_stream_write_all):
5012 Allow NULL for bytes_written
5014 2007-09-13 Alexander Larsson <alexl@redhat.com>
5016 * gio/gmemoryinputstream.[ch]:
5017 Add accessors for data
5019 2007-09-13 Alexander Larsson <alexl@redhat.com>
5021 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5022 Don't crash if length is NULL