1 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
3 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
6 * gdesktopappinfo.c: add a note in the docs clarifying what the
7 "filename" parameter really is.
9 2008-09-12 Tor Lillqvist <tml@novell.com>
11 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
12 FormatMessage() etc here. Call g_win32_error_message() instead
13 which already does all that. Besides, the code was broken as it
14 called the default "A" version of FormatMessage() but still
15 thought it produced a wide string.
17 2008-09-12 Michael Natterer <mitch@imendio.com>
19 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
22 2008-09-08 Christian Neumair <cneumair@gnome.org>
24 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
25 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
26 Use non-blocking pipe for mount helper I/O. Fixes #550647.
28 2008-09-06 Matthias Clasen <mclasen@redhat.com>
30 Bug 551149 – xdgmime mem leak
32 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
33 a memory leak. Patch by Christian Persch
35 2008-09-04 Tor Lillqvist <tml@novell.com>
37 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
40 2008-09-02 Matthias Clasen <mclasen@redhat.com>
42 * === Released 2.18.0 ===
44 2008-09-02 Michael Natterer <mitch@imendio.com>
46 * *.h: big header formatting cleanup: indentation, vtable
47 formatting, consistent spacing in (* vfunc), trailing whitespace
48 removal. Formatting should be pretty consistent in all GIO headers
51 2008-09-02 Matthias Clasen <mclasen@redhat.com>
53 * gmount.h: Document guess_content_type sync vfunc.
55 2008-09-02 Michael Natterer <mitch@imendio.com>
57 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
58 fix parent_class member to be GFilterOutputStreamClass (not
59 GOutputStreamClass). Drop three pointers of padding, which is
60 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
61 so the class struct size stays the same.
63 2008-09-02 Matthias Clasen <mclasen@redhat.com>
65 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
67 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
68 nonexisting return values. Pointed out by Cosimo Cecchi.
70 2008-08-23 Tor Lillqvist <tml@novell.com>
72 Bug 548988 - g_file_replace fails on Windows when the target file
75 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
76 Windows, close the file before potentially renaming it (in case we
77 have been writing to a file with a temporary name).
79 (g_local_file_output_stream_close, handle_overwrite_open): Use
80 GLocalFileStat instead of plain struct stat, for passing to
81 _g_local_file_info_create_etag(). Thus also use _fstati64()
82 instead of plain fstat() on Windows.
84 2008-08-18 Matthias Clasen <mclasen@redhat.com>
86 * === Released 2.17.7 ===
88 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
90 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
93 2008-08-13 Tor Lillqvist <tml@novell.com>
97 * win32/gwinhttpfile.c
98 * win32/gwinhttpfileinputstream.c
99 * win32/gwinhttpfileoutputstream.c: Refactor some common code
100 snippets into helper functions. Check HTTP response status
101 codes. Implement g_winhttp_file_query_info(), looking at
102 Content-Length, Content-Type and Last-Modified.
104 * win32/winhttp.h: Add some symbolic constants that are not
105 publicly documented. Just a handful, so it should be OK to use
106 information from the Windows SDK's headers.
108 2008-08-13 Tor Lillqvist <tml@novell.com>
110 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
113 * win32/gwin32directorymonitor.c
114 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
116 2008-08-13 Matthias Clasen <mclasen@redhat.com>
119 * goutputstream.c: Add intro docs.
121 2008-08-13 Tor Lillqvist <tml@novell.com>
123 * win32/gwinhttpfileoutputstream.c
124 (g_winhttp_file_output_stream_write): Don't write the
125 Content-Length header ourselves, WinHttpSendRequest() takes care
126 of that when the dwTotalLength parameter is non-zero. Increment
127 offset by the number of actual bytes sent, although I wonder if
128 such a scenario is possible where less than requested would be
129 sent and accepted by the server without errors.
131 2008-08-13 Tor Lillqvist <tml@novell.com>
133 * win32/gwinhttpvfs.c
134 * win32/gwinhttpvfs.h
135 * win32/gwinhttpfile.c
136 * win32/gwinhttpfile.h
137 * win32/gwinhttpfileinputstream.c
138 * win32/gwinhttpfileinputstream.h
139 * win32/gwinhttpfileoutputstream.c
140 * win32/gwinhttpfileoutputstream.h: New files implementing
141 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
142 Windows. The implementation uses the WinHttp API. Both reading and
143 writing are supported, i.e. GET and PUT requests. When writing,
144 each write call is done using a separate PUT request with a
145 Content-Range header. Requests for file URIs and plain pathnames
146 are forwarded to GLocalVfs.
148 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
149 WINE. Used as there is no <winhttp.h> bundled with mingw, and
150 requiring people to download the Windows SDK just for this one
151 header is not reasonable.
153 * win32/Makefile.am: Add above files.
155 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
156 the plumbing for the above.
158 2008-08-11 Sven Neumann <sven@gimp.org>
160 * gfilenamecompleter.c
161 * glocaldirectorymonitor.c
163 * gunionvolumemonitor.c
167 * gunixvolumemonitor.c
170 * gwin32volumemonitor.c: use canonical signal names.
172 2008-08-11 Tor Lillqvist <tml@novell.com>
174 * Makefile.am: Put a list of the platform-dependent .la files in
175 the subdirectories in the platform_deps Make variable, and make
176 libgio-2.0.la depend on that, so that it gets relinked if one of
177 the dependent libraries has changed.
179 2008-08-11 Tor Lillqvist <tml@novell.com>
181 * Makefile.am (platform_libadd): Remove -lwininet which had been
182 added by mistake. We will probably eventually be using WinHTTP,
183 not the older WinInet anyway. (Actually I am working on it.)
185 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
187 Bug 547080 – g_file_copy leaks expected errors
189 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
190 before trying the next fallback routine.
192 2008-08-09 Loïc Minier <lool@dooz.org>
194 Bug 535124 – umask 002 not being applied for new directories, new
195 files get the correct umask
197 * gfile.c (g_file_make_directory)
198 (g_file_make_directory_with_parents): Document ownership and
199 permissions of newly created directories as being the default
202 2008-08-08 Loïc Minier <lool@dooz.org>
204 Bug 535124 – umask 002 not being applied for new directories, new
205 files get the correct umask
207 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
210 2008-08-08 Tor Lillqvist <tml@novell.com>
212 * gwin32mount.c: Remove unused code. Whitespace cleanup.
214 * gwin32volumemonitor.c (get_connected_drives): Put questionable
215 code that didn't actually do anything inside #if 0, and add a
216 comment wondering what the code was supposed to do. This also gets
217 rid of a leftover debugging printout.
219 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
221 * gfileicon.c (g_file_icon_get_property)
222 (g_file_icon_set_property): New functions.
223 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
225 (g_file_icon_new): Use the property (bug #546132).
227 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
229 * gthemedicon.c (g_themed_icon_get_property): Also handle
230 `PROP_USE_DEFAULT_FALLBACKS'.
231 (g_themed_icon_class_init): Make
232 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
234 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
236 Bug 546371 – Improve docs re g_file_monitor
238 * gfilemonitor.c: Mention g_file_monitor() in the docs.
240 2008-08-04 Matthias Clasen <mclasen@redhat.com>
242 * === Released 2.17.6 ===
244 2008-08-04 Matthias Clasen <mclasen@redhat.com>
246 * === Released 2.17.5 ===
248 2008-08-04 Matthias Clasen <mclasen@redhat.com>
250 Bug 546017 – Don't copy attributes when copying a symlink
252 * gfile.c (g_file_copy_attributes): Specify
253 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
254 g_file_set_attributes_from_info. Patch by Christian Kellner
256 2008-08-04 Matthias Clasen <mclasen@redhat.com>
258 * gemblemedicon.[hc]:
260 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
261 a bit more extensible. Work by Clemens Buss.
263 * gioenums.h: Add GEmblemOrigin.
266 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
268 Bug 546079 – leak in xdgmime
270 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
272 2008-08-03 Tor Lillqvist <tml@novell.com>
274 * win32/gwin32directorymonitor.h
275 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
278 2008-08-03 Tor Lillqvist <tml@novell.com>
280 * win32/gwin32directorymonitor.c
281 (g_win32_directory_monitor_callback): Make prototype match
282 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
283 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
286 (g_win32_directory_monitor_constructor):
287 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
288 names in the GLib API on Windows, so convert to UTF-16 and open
291 2008-08-03 Tor Lillqvist <tml@novell.com>
293 Bug 541036 - Gnumeric crashes when trying to open Desktop or
294 user's folder under Windows
296 * win32/gwin32directorymonitor.c
297 (g_win32_directory_monitor_constructor): Ignore error from
298 CreateFile() when opening directory. Instead of asserting, just
299 store INVALID_HANDLE_VALUE then in
300 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
301 ReadDirectoryChangesW().
302 (g_win32_directory_monitor_cancel): Don't attempt to close
303 directory handle if it is INVALID_HANDLE_VALUE.
305 2008-08-01 Matthias Clasen <mclasen@redhat.com>
307 * gdesktopappinfo.c: Remove debug spew
309 2008-08-01 Hans Breuer <hans@breuer.org>
311 * makefile.msc : add gemblembedicon
313 2008-07-30 Matthias Clasen <mclasen@redhat.com>
315 Bug 545457 – gdmsetup crashed with SIGSEGV in
316 g_unix_mount_guess_should_display()
318 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
319 crash if no mount is found.
321 2008-07-28 Matthias Clasen <mclasen@redhat.com>
323 Bug 545203 – gfile.c: argument is different type.
325 * gfile.c (open_read_async_thread): Pass a GError **
326 to g_file_set_error_literal.
327 Reported by Kazuki Iwamoto
329 2008-07-28 Matthias Clasen <mclasen@redhat.com>
331 Bug 545157 – wrong/no list of "open with" applications for .cc and
334 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
335 Collect all ancestors, not just direct parents. Pointed
336 out by Bastien Nocera
338 2008-07-28 Matthias Clasen <mclasen@redhat.com>
340 * Makefile.am: Install gemblemedicon.h
342 2008-07-28 Matthias Clasen <mclasen@redhat.com>
344 * gemblemedicon.[hc]: Add a GIcon implementation that can
345 add an emblem to another icon.
352 * gfileicon.c: Small documentation additions.
354 2008-07-28 Tor Lillqvist <tml@novell.com>
356 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
359 2008-07-27 Tor Lillqvist <tml@novell.com>
361 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
363 2008-07-24 David Zeuthen <davidz@redhat.com>
367 Also export a g_mount_guess_content_type_sync() function.
369 2008-07-23 Matthias Clasen <mclasen@redhat.com>
371 529694 – SELinux context setting support
373 * gfileinfo.c: Support setting selinux attributes.
374 Patch by Tomas Bzatek
376 2008-07-22 Priit Laes <plaes@plaes.org>
378 Bug 544140 - fam-helper 64-bit issue?
380 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
382 2008-07-21 Matthias Clasen <mclasen@redhat.com>
384 * === Released 2.17.4 ===
386 2008-07-20 Matthias Clasen <mclasen@redhat.com>
388 * gvolumemonitor.[hc]:
393 * gmount.c: Documentation fixes
395 2008-07-19 Matthias Clasen <mclasen@redhat.com>
397 543504 – crash in Epiphany Web Browser: Opening local file
408 * gvolume.c: Register types thread-safely.
409 Patch by Christian Persch
411 2008-07-18 Matthias Clasen <mclasen@redhat.com>
413 * gcontenttype.c: Remove debug spew
415 2008-07-18 Matthias Clasen <mclasen@redhat.com>
417 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
420 * fen/fen-kernel.c: Remove a warning that was causing
421 crashes. Reported by Lin Ma.
423 2008-07-18 Matthias Clasen <mclasen@redhat.com>
425 Bug 543040 – async reading on dummy file will crash on
428 * gfile.c (open_read_async_thread): Cope with read_fn being
429 NULL. Reported by Lin Ma.
431 2008-07-18 Matthias Clasen <mclasen@redhat.com>
434 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
436 2008-07-16 Matthias Clasen <mclasen@redhat.com>
440 * giomodule.c: Rename a chapter id to avoid filename conflict.
442 2008-07-16 Matthias Clasen <mclasen@redhat.com>
444 Bug 540616 – mem leak in filechooser button
446 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
447 the mount entry. Reported by Chrisitan Persch
449 2008-07-16 Matthias Clasen <mclasen@redhat.com>
451 * gfile.c: Small documentation fixes.
453 2008-07-15 Matthias Clasen <mclasen@redhat.com>
455 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
457 2008-07-08 Matthias Clasen <mclasen@redhat.com>
462 * gmount.c: Documentation improvements.
464 2008-07-08 Matthias Clasen <mclasen@redhat.com>
467 * gmount.[hc]: Add g_mount_guess_content_type().
469 2008-07-06 David Zeuthen <davidz@redhat.com>
472 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
473 is needed for easily handling adoption of foreign volumes by
474 out-of-process volume monitors (#541793)
476 2008-07-06 David Zeuthen <davidz@redhat.com>
478 * gvolumemonitor.[ch]:
479 * gunionvolumemonitor.c: Export the eject-button signal on the
480 volume monitor class (#541794).
482 2008-07-06 Matthias Clasen <mclasen@redhat.com>
484 * gappinfo.c: More doc tweaks
486 2008-07-05 Matthias Clasen <mclasen@redhat.com>
488 * gappinfo.c: Clarify some docs
490 2008-07-03 Matthias Clasen <mclasen@redhat.com>
492 * gdesktopappinfo.c: Fix a stupid mistake.
494 2008-07-02 Matthias Clasen <mclasen@redhat.com>
496 * === Released 2.17.3 ===
498 2008-07-02 Matthias Clasen <mclasen@redhat.com>
500 * gfilemonitor.c: Fix the build.
502 2008-07-02 Matthias Clasen <mclasen@redhat.com>
504 Bug 536160 – Add g_file_monitor()
507 * gfile.[hc]: Add g_file_monitor which can return either
508 a file or a directory monitor. Proposed by Behdad Esfahbod
510 2008-07-02 Matthias Clasen <mclasen@redhat.com>
512 536733 – gio build failure on Irix
514 * glocalfile.c: Use a configure check for structfs.f_bavail.
516 2008-07-02 Matthias Clasen <mclasen@redhat.com>
518 Bug 534639 – add g_desktop_app_info_new_from_keyfile
521 * gdesktopappinfo.[hc]: Add a function to create a
522 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
524 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
526 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
528 2008-07-01 Matthias Clasen <mclasen@redhat.com>
530 * gunixmounts.c: Fix a doc typo.
532 2008-07-01 Cody Russell <bratsche@gnome.org>
534 * gio/gcontenttype.c:
535 * gio/gwin32appinfo.c:
536 * gio/gwin32volumemonitor.c:
537 * gio/gwin32mount.c: Fixed some include problems.
539 2008-07-01 Cody Russell <bratsche@gnome.org>
543 Moved all relevant typedefs into these files.
546 Updated wrt added files.
548 Split types into separate file for easier maintainership. (#538564)
550 2008-06-30 Matthias Clasen <mclasen@redhat.com>
552 Bug 540331 – g_file_append_to () documentation: can return NULL
554 * gfile.c (g_file_append_to): Clarify docs.
557 2008-06-30 Matthias Clasen <mclasen@redhat.com>
559 Bug 539090 – g_content_type_from_mime_type() should unalias
561 * gcontentype.c (g_content_type_from_mime_type): Unalias.
562 Patch by Markus Bergman
564 2008-06-30 Matthias Clasen <mclasen@redhat.com>
566 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
569 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
570 on ppc and alpha. Reported by Mart Raudsepp
572 2008-06-29 Matthias Clasen <mclasen@redhat.com>
575 * tests/memory-output-stream.c: Add some tests for
578 2008-06-29 Matthias Clasen <mclasen@redhat.com>
580 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
583 * gmemoryoutputstream.c (array_resize): Handle truncation to
584 zero correctly. Reported by Akira Tagoh
586 2008-06-29 Matthias Clasen <mclasen@redhat.com>
588 * gmemoryoutputstream.c: Trivial doc fixes
590 2008-06-29 Matthias Clasen <mclasen@redhat.com>
592 Bug 540802 – g_list_prepend doesn't concat lists
594 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
595 one list to another. Pointed out by Jan Arne Petersen
597 2008-06-28 Michael Natterer <mitch@imendio.com>
599 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
601 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
603 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
604 to avoid problems with partial icon themes.
606 2008-06-17 Hans Breuer <hans@breuer.org>
608 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
609 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
610 access again on win32, see bug #538127
611 * giomodule.c : ensure GWin32VolumeMonitor is registered
612 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
613 * Makefile.am makefile.msc : updated
615 2008-06-16 Hans Breuer <hans@breuer.org>
617 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
618 and initialization in one step avoids c99ism
620 2008-06-16 Christian Persch <chpe@gnome.org>
623 * gio/gbufferedinputstream.c
625 * gio/gdatainputstream.c
626 * gio/gdesktopappinfo.c
628 * gio/gfileenumerator.c
629 * gio/gfileinputstream.c
630 * gio/gfileoutputstream.c
632 * gio/glocaldirectorymonitor.c
634 * gio/glocalfileenumerator.c
635 * gio/glocalfileinfo.c
636 * gio/glocalfilemonitor.c
637 * gio/glocalfileoutputstream.c
638 * gio/gmemoryinputstream.c
639 * gio/gmemoryoutputstream.c
640 * gio/goutputstream.c
641 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
644 2008-06-16 Tor Lillqvist <tml@novell.com>
646 Bug 538362 - Get Win32 icons back in the file chooser
648 * gcontenttype.c (g_content_type_get_icon): Look up the icon
649 corresponding to a file extension in the Registry. Patch by Hans
651 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
653 2008-06-16 Tor Lillqvist <tml@novell.com>
655 Patches by Hans Breuer:
657 * glocalfile.c (is_xp_or_later): Handle compiling against older
658 SDK headers with missing VerifyVersionInfo(). Conditioned on
659 _MSC_VER, but should probably use some better test.
660 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
661 uninitialised statfs_result variable on Win32.
663 2008-06-16 Michael Natterer <mitch@imendio.com>
665 * *.c: chain up unconditionally in finalize() and dispose(). Also
666 don't dereference these function pointers when calling them since
667 that has no meaning at all.
669 2008-06-16 Ross Burton <ross@burtonini.com>
672 Remove check for dispose implementation as it annoys Emmanuele.
674 2008-06-16 Ross Burton <ross@burtonini.com>
676 Bug 536252 – GFileEnumerator should allow access to the containing
682 Add g_file_enumerator_get_container() and a container writeable
683 construct-only property. Also shuffle around typedefs to make it
686 * glocalfileenumerator.c:
687 * glocalfileenumerator.h:
689 Instead of a string filename take a GFile in the constructor and
690 use it to set the container property.
695 2008-06-16 Matthias Clasen <mclasen@redhat.com>
697 * gfile.c: Make includes more uniform
699 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
701 * tests/live-g-file.c (sample_struct):
702 Use less fancy unicode filenames, so the test doesn't fail
703 on Mac OS X (#531476).
705 2008-06-12 Matthias Clasen <mclasen@redhat.com>
707 * === Released 2.17.2 ===
709 2008-06-12 Matthias Clasen <mclasen@redhat.com>
711 * === Released 2.17.1 ===
713 2008-06-11 A. Walton <awalton@gnome.org>
715 * tests/g-file.c (test_g_file_new_null):
716 Fix broken test case.
718 2008-06-11 Matthias Clasen <mclasen@redhat.com>
720 * pltcheck.sh: We use g_clear_error now.
722 2008-06-11 Matthias Clasen <mclasen@redhat.com>
724 * glocalfile.c (g_local_file_enumerate_children): Revert
725 an unintended change.
727 2008-06-11 Matthias Clasen <mclasen@redhat.com>
729 * gfile.c (g_file_replace_contents): Don't unref before the last use.
731 2008-06-10 Matthias Clasen <mclasen@redhat.com>
733 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
736 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
737 as icon for the desktop directory, also make user-home and
738 user-desktop the preferred icons.
740 2008-06-10 Matthias Clasen <mclasen@redhat.com>
743 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
744 to add a name to the front of the list.
746 2008-06-10 Matthias Clasen <mclasen@redhat.com>
748 Bug 537392 – Additional colon in xattr name
750 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
751 too. Reported by Alessandro Morandi
753 2008-06-10 Matthias Clasen <mclasen@redhat.com>
755 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
758 * glocalfile.c (get_fs_type): Add afs and autofs.
759 Patch by Danny Baumann.
761 2008-06-10 Matthias Clasen <mclasen@redhat.com>
763 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
765 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
766 is no parent. (Owen Taylor, patch by Christian Neumair)
768 2008-06-10 Paolo Borelli <pborelli@katamail.com>
770 * gfile.c (g_file_replace_contents): do not leak the output stream.
772 2008-06-10 Michael Natterer <mitch@imendio.com>
774 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
775 uninitialized memory as array index.
777 2008-06-10 Tor Lillqvist <tml@novell.com>
779 * gcontenttype.c (g_content_type_can_be_executable)
780 (g_content_type_get_icon) [Win32]: Add TODO comments.
782 2008-06-09 Matthias Clasen <mclasen@redhat.com>
784 * xdgmime/Makefile.am: Fix the build
786 2008-06-09 Matthias Clasen <mclasen@redhat.com>
788 * gcontenttype.c (g_content_type_get_icon): Use icons specified
789 in the shared mime database, if available.
791 * xdgmime/*: Sync with upstream. This brings support for
792 glob weights, generic icons, and changes the cache format to
795 2008-05-28 Michael Natterer <mitch@imendio.com>
797 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
798 the global CPPFLAGS now.
800 * tests/data-input-stream.c
801 * tests/data-output-stream.c
802 * tests/g-file-info.c
804 * tests/live-g-file.c
805 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
807 2008-05-27 Matthias Clasen <mclasen@redhat.com>
809 * === Released 2.17.0 ===
811 * tests/live-g-file.c: Clean up after the tests, so make distcheck
812 doesn't complain about leftover files.
814 2008-05-27 simon.zheng <simon.zheng@sun.com>
816 * glocalfile.c: (g_local_file_query_filesystem_info):
817 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
819 2008-05-26 Michael Natterer <mitch@imendio.com>
821 * gmemoryoutputstream.h: declare
822 g_memory_output_stream_get_data_size().
824 2008-05-26 Matthias Clasen <mclasen@redhat.com>
826 * tests/*: Make tests work
828 2008-05-26 Matthias Clasen <mclasen@redhat.com>
830 * gio.symbols: Add g_memory_output_stream_get_data_size.
832 2008-05-25 Ross Burton <ross@burtonini.com>
835 Fix typo in error message (#534764).
837 2008-05-25 Ross Burton <ross@burtonini.com>
840 Fix circular dependency loop for gioenumtypes.h (#534759).
842 2008-05-19 Hans Breuer <hans@breuer.org>
844 * Makefile.am : EXTRA_DIST += makefile.msc
846 2008-05-17 Matthias Clasen <mclasen@redhat.com>
849 * gcontenttype.c: (g_content_type_from_mime_type):
850 New function to create a content type from a mime type. (#527175,
853 2008-05-17 Matthias Clasen <mclasen@redhat.com>
855 Bug 532965 – Should not return filesystem::free for certain file systems
857 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
858 free space for ncpfs.
860 2008-05-17 Matthias Clasen <mclasen@redhat.com>
862 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
864 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
865 st_dev might be zero.
867 2008-05-16 Tor Lillqvist <tml@novell.com>
869 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
870 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
872 2008-05-13 Bastien Nocera <hadess@hadess.net>
874 * gfile.c (has_valid_scheme): A URI scheme must start with a
875 letter, even if later more characters are allowed (#532852)
877 2008-05-05 Michael Natterer <mitch@imendio.com>
879 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
880 code from being checked in that breaks the build of applications
881 which use G_DISABLE_SINGLE_INCLUDES.
883 * makegioalias.pl: make the alias file include "glib.h" instead of
886 * gio.symbols: whitespace change to force regeneration of the
887 alias file after above script change.
889 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
891 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
893 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
895 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
897 2008-04-28 David Zeuthen <davidz@redhat.com>
899 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
900 displaying mounts in a subdirectory not accessible to the
903 2008-04-22 Michael Natterer <mitch@imendio.com>
905 * Makefile.am: fix library versioning (it was 0.0.0).
907 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
909 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
910 Default disable all loggings.
911 * fen/fen-kernel.c: (printevent), (port_add_kevent),
912 (port_fetch_event_cb): Fixed two macro nits.
914 2008-04-16 Matthias Clasen <mclasen@redhat.com>
916 * xdgmime/xdgmime.c: Rework the timestamp checking code
917 to protect against duplicate directories in XDG_DATA_DIRS.
918 Fixes fd.o bug 12513, reported by Joe Shaw.
920 2008-04-16 Matthias Clasen <mclasen@redhat.com>
922 Partically revert the last commit after realizing that
923 xdg_mime_media_type_equal doesn't have to init at all.
926 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
928 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
930 2008-04-16 Matthias Clasen <mclasen@redhat.com>
932 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
933 reported by Joe Shaw and Federico Mena Quintero.
935 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
936 (xdg_mime_media_type_equal): Turn into a wrapper around the
939 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
940 functions throughout.
942 2008-04-16 Michael Meeks <michael.meeks@novell.com>
944 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
945 tolerate an empty TryExec= line without failing; nautilus used
946 to create launchers with these in previous versions. Fixes #528433
948 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
950 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
951 after name. Fixes #527132.
953 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
955 * gfile.c: (g_file_replace):
958 2008-04-07 Matthias Clasen <mclasen@redhat.com>
960 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
962 * gfile.c (file_copy_fallback): Fix the argument order. Patch
963 by Christian Kellner.
965 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
967 * gunixmounts.c: (g_unix_mount_guess_should_display):
968 Don't list the user directory as a mount, fix potential issue
969 when other users have a similar naming and don't special case the
970 gvfs mounts there since that's not required (#525866)
972 2008-03-31 Alexander Larsson <alexl@redhat.com>
974 * glocalfile.c (get_parent):
977 2008-03-31 A. Walton <awalton@svn.gnome.org>
979 * gfile.c (g_file_query_file_type):
980 Always return a GFileType enum value (#520715).
982 2008-03-31 Alexander Larsson <alexl@redhat.com>
984 * glocalfileenumerator.c:
985 Read readdir() info in chunks (of 1000) and sort
986 the chunks by inode before stat:ing.
987 This is a 20% performance increase in testing
988 gvfs-ls on /usr/bin with cold cache.
990 2008-03-31 Alexander Larsson <alexl@redhat.com>
992 * gmemoryoutputstream.c:
993 Clarify docs for g_memory_output_stream_get_size.
994 Add g_memory_output_stream_get_data_size.
996 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1000 * gfile.h: Add g_file_query_file_type convenience function
1001 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1003 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1005 * gfileenumerator.c:
1006 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1008 2008-03-28 A. Walton <awalton@svn.gnome.org>
1010 * giomodule.c (_g_io_modules_ensure_loaded):
1011 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1014 2008-03-28 Alexander Larsson <alexl@redhat.com>
1017 (copy_stream_with_progress):
1020 2008-03-28 Alexander Larsson <alexl@redhat.com>
1023 (copy_stream_with_progress):
1024 (file_copy_fallback):
1025 Fallback to g_file_query_info for source size
1026 if g_file_input_stream_query_info fails. (#524579)
1028 2008-03-28 Alexander Larsson <alexl@redhat.com>
1030 * glocalfile.c (g_local_file_move):
1031 Reuse old string instead of adding new one.
1033 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1035 * fen/*.[hc]: still copyright issue. I hate copyright.
1037 2008-03-27 Alexander Larsson <alexl@redhat.com>
1039 * glocalfile.c (g_local_file_move):
1040 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1041 file over directory. This is according to the docs and what the move via
1042 copy+remove fallback does.
1044 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1046 * fen/*.[hc]: Updated copyright.
1048 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1050 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1052 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1054 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1055 not emit attribute changed events when optimizing changed events.
1056 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1059 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1061 * gmountoperation.[hc]: Small documentation additions
1063 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1065 * gunixmounts.c: (guess_mount_type):
1066 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1068 2008-03-19 Alexander Larsson <alexl@redhat.com>
1071 (copy_stream_with_progress):
1072 Bump block side for copy to 64k to minimize
1073 overhead for low latency links. (#523015)
1075 2008-03-16 Tor Lillqvist <tml@novell.com>
1077 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1078 depend on gio.def on Windows.
1080 2008-03-12 David Zeuthen <davidz@redhat.com>
1084 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1086 2008-03-14 Alexander Larsson <alexl@redhat.com>
1090 Avoid redudant tests (#521851)
1091 Patch from Josselin Mouette
1093 2008-03-14 Alexander Larsson <alexl@redhat.com>
1096 (g_file_monitor_is_cancelled):
1097 Fix C89 issue (#521672)
1098 Patch from Jens Granseuer
1100 2008-03-14 Alexander Larsson <alexl@redhat.com>
1102 * fam/fam-helper.[ch]:
1104 Shut down fam (including removing fam GSource) when
1105 module is unloaded (#521513)
1106 Patch from Joe Marcus Clarke
1108 2008-03-14 Alexander Larsson <alexl@redhat.com>
1111 (_g_io_modules_ensure_loaded):
1114 2008-03-14 Alexander Larsson <alexl@redhat.com>
1117 (g_local_file_query_filesystem_info):
1118 Use right define name for f_fstypename member check
1120 2008-03-14 Alexander Larsson <alexl@redhat.com>
1123 * fen/Makefile.am: Added.
1124 * fen/fen-data.[ch]: Added.
1125 * fen/fen-dump.[ch]: Added.
1126 * fen/fen-helper.[ch]: Added.
1127 * fen/fen-kernel.[ch]: Added.
1128 * fen/fen-missing.[ch]: Added.
1129 * fen/fen-node.[ch]: Added.
1130 * fen/fen-sub.[ch]: Added.
1131 * fen/gfendirectorymonitor.[ch]: Added.
1132 * fen/gfenfilemonitor.[ch]: Added.
1134 Added Solaris FEN file notification backend.
1135 Patch from Lin Ma <Lin.Ma@Sun.COM>
1137 2008-03-13 Tor Lillqvist <tml@novell.com>
1139 * Makefile.am: Actually use the gio.def file when linking the
1140 library on Windows. Produce .lib library for Microsoft's toolchain
1141 when possible. Install the .lib and .def file like for the other
1144 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1146 * tests/live-g-file.c:
1147 Include live-g-file in standard set of tests, making a temporary
1148 directory in source structure.
1150 Clean target directory before the tests (write mode only)
1152 2008-03-12 Tor Lillqvist <tml@novell.com>
1154 Bug 517419 - gio win32 directory monitor
1155 Implementation by Vlad Grecescu.
1158 * win32/gwin32directorymonitor.h
1159 * win32/gwin32directorymonitor.c: New files.
1161 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1163 * Makefile.am: Add the win32 subdirectory.
1165 2008-03-12 Tor Lillqvist <tml@novell.com>
1167 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1168 normal struct stat on Unix but struct _stati64 on Windows to have
1169 access to 64-bit file size information. Use that instead of struct
1170 stat in the functions declared here in this private header.
1172 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1173 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1174 warnings about unused functions and variables. Don't set
1175 meaningless attributes like inode numbers on Windows.
1177 2008-03-12 Benjamin Otte <otte@gnome.org>
1180 trim whitespace so gtk-doc groks the function name
1182 2008-03-12 Tor Lillqvist <tml@novell.com>
1184 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1185 returning FALSE, on Win32.
1187 2008-03-11 Alexander Larsson <alexl@redhat.com>
1190 * glocalfileinfo.[ch]:
1191 Correctly implement can_trash by actually
1192 looking for a trash dir, not just assuming
1195 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1197 * === Released 2.16.1 ===
1199 2008-03-11 Alexander Larsson <alexl@redhat.com>
1202 Fix crashes in new constructor and properties code
1204 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1206 * gfile.c: Minor spelling correction in documentation:
1207 existance -> existence.
1209 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1211 * === Released 2.16.0 ===
1213 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1215 * gio.symbols: Remove g_file_contains_file here, too.
1217 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1219 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1220 Samuel Cormier-Iijima)
1222 2008-03-08 Tor Lillqvist <tml@novell.com>
1224 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1227 2008-03-07 Alexander Larsson <alexl@redhat.com>
1230 (g_local_file_query_filesystem_info):
1231 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1232 Patch from Jasper Lievisse Adriaanse
1234 2008-03-06 Tor Lillqvist <tml@novell.com>
1236 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1237 comments for the *_USEC attributes.
1239 2008-03-06 Alexander Larsson <alexl@redhat.com>
1241 * gfile.c (g_file_query_exists):
1242 Add g_return_val_if_fail check (#520700)
1244 2008-03-06 Alexander Larsson <alexl@redhat.com>
1246 * gdesktopappinfo.c:
1249 * gunionvolumemonitor.c:
1252 * tests/live-g-file.c:
1253 * xdgmime/xdgmimecache.c:
1254 Fix sparse warnings (#519489)
1256 2008-03-05 Alexander Larsson <alexl@redhat.com>
1259 Make cancellation threadsafe (i.e.
1260 guarantee its only done once, and always
1263 * glocaldirectorymonitor.c:
1264 Make sure we the monitor lives while the
1265 mounts_changed callback is being called (#520484)
1267 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1269 * gbufferedinputstream.c: Fix typo in parameter
1272 2008-03-04 Alexander Larsson <alexl@redhat.com>
1275 Remove deprecated symbols we kept for one release.
1277 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1280 * goutputstream.c: Tiny documentation corrections.
1282 2008-03-03 Alexander Larsson <alexl@redhat.com>
1284 * gunionvolumemonitor.c:
1286 Fix the adopt_orphan_mount vfunc to take a
1287 volume_monitor reference in an ABI compat way.
1288 This change is not API compat, but the added
1289 arg is not used in the only user of this vfunc, so
1290 all we get is a harmless warning in gvfs (#520169)
1292 2008-03-01 Benjamin Otte <otte@gnome.org>
1295 clarify docs for g_file_delete().
1297 2008-02-29 Alexander Larsson <alexl@redhat.com>
1301 Make sure empty files get text/plain type (#518720)
1303 2008-02-27 Alexander Larsson <alexl@redhat.com>
1309 (g_unix_volume_mount):
1310 Add missing GMountMountFlags argument
1312 2008-02-26 Alexander Larsson <alexl@redhat.com>
1315 (g_local_file_delete):
1316 Handle filesystems (like ntfs-3g) that return EEXIST instead
1317 of ENOTEMPTY (#518816)
1319 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1321 * === Released 2.15.6 ===
1323 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1325 * gfile.c (g_file_find_enclosing_mount):
1326 * ginputstream.c (g_input_stream_set_pending):
1327 * glocalfile.c (g_local_file_find_enclosing_mount):
1328 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1329 * goutputstream.c (g_output_stream_set_pending):
1331 Fixup translator comments (#518578).
1333 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1335 * gfile.c (g_file_find_enclosing_mount):
1337 * glocalfile.c (g_local_file_find_enclosing_mount):
1340 Fix a few typos in translator comments and documentation.
1342 2008-02-25 Alexander Larsson <alexl@redhat.com>
1349 Add translator comments (#518578)
1351 2008-02-25 Alexander Larsson <alexl@redhat.com>
1354 Reintroduce g_file_contains_file, keep around for one
1355 unstable release cycle to avoid crashing to many apps.
1356 Make sure to delete after release.
1358 2008-02-25 Alexander Larsson <alexl@redhat.com>
1361 Remove deprecated g_file_contains_file.
1363 2008-02-25 Alexander Larsson <alexl@redhat.com>
1366 Emit actual change signals in an idle handler.
1367 This avoids reentrance and locking problems in
1368 the file notification backends.
1370 2008-02-25 Alexander Larsson <alexl@redhat.com>
1373 (g_unix_mount_guess_should_display):
1374 Remove type guessing, instead just display
1375 mounts in /media and in ~/.
1377 2008-02-25 Alexander Larsson <alexl@redhat.com>
1380 Make new strings reuse old ones.
1382 2008-02-25 Alexander Larsson <alexl@redhat.com>
1385 Implement trashing and filesystem::readonly for win32 (#517235)
1386 Patch from Yevgen Muntyan
1388 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1390 * gfileinfo.h: Documentation fixes.
1392 2008-02-22 Alexander Larsson <alexl@redhat.com>
1394 * gcontenttype.c (g_content_type_get_icon):
1395 Look at old-style gnome mime icon names too, as many
1396 have not moved to the new style.
1398 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1400 * *.c: Correct the @include in for section docs.
1402 2008-02-21 David Zeuthen <davidz@redhat.com>
1404 * glocalfileinfo.c: (_g_local_file_info_get):
1406 (g_content_type_get_icon): Implement this function by
1407 moving bits from glocalfileinfo.c
1408 (g_content_type_get_description): Unalias before getting
1409 description (#517687)
1411 * gfile.c: (g_file_class_init),
1412 (g_file_query_filesystem_info_async),
1413 (g_file_query_filesystem_info_finish),
1414 (query_filesystem_info_data_free),
1415 (query_filesystem_info_async_thread),
1416 (g_file_real_query_filesystem_info_async),
1417 (g_file_real_query_filesystem_info_finish):
1418 * gfile.h: Implement async version of
1419 g_file_query_filesystem_info()
1421 * gfileinfo.h: Add new attributes for filesystem::use-preview
1423 * gio.symbols: Update
1425 * gthemedicon.c: (g_themed_icon_append_name):
1426 * gthemedicon.h: Add new new convenience function.
1428 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1429 (get_mounts), (get_volumes), (get_connected_drives),
1430 (get_volume_for_uuid), (get_mount_for_uuid),
1431 (g_union_volume_monitor_init), (populate_union_monitor),
1432 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1433 (g_volume_monitor_adopt_orphan_mount):
1435 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1436 monitor implementations to call into the main volume monitor. Also
1437 separate object initialization and volume monitor initialization
1438 such that non-native volume monitors can properly adopt their
1441 2008-02-21 Alexander Larsson <alexl@redhat.com>
1446 2008-02-21 Alexander Larsson <alexl@redhat.com>
1449 Add more documentation about how GFiles work (from #517086)
1451 2008-02-21 Alexander Larsson <alexl@redhat.com>
1455 Add new g_file_has_prefix that does the same as g_file_contains_file.
1456 Deprecate g_file_contains_file and add a macro that converts
1457 it to g_file_has_prefix.
1458 The reason for this change is that the contains_file() name seems to
1459 imply that this does more work than what it does, but its really only
1460 a name match (from #517086)
1465 Update to match the above change.
1467 2008-02-20 Benjamin Otte <otte@gnome.org>
1469 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1470 (g_file_eject_mountable):
1471 even more cases of not returning in error path
1473 2008-02-20 Benjamin Otte <otte@gnome.org>
1475 * gfile.c: (g_file_mount_mountable):
1476 return from function in error path.
1478 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1481 Remove trailing coma in GMountMountFlags struct
1483 2008-02-18 Alexander Larsson <alexl@redhat.com>
1487 * glocalfileoutputstream.c:
1488 Use g_unlink/g_rename instead of unlink/rename;
1489 do not pass raw filenames to g_set_error. (#517239)
1490 Patch from Yevgen Muntyan.
1492 2008-02-18 Alexander Larsson <alexl@redhat.com>
1495 * glocalfileoutputstream.c:
1496 Open files with O_BINARY on windows. (#517140)
1498 2008-02-14 Alexander Larsson <alexl@redhat.com>
1500 * glocalfileoutputstream.c:
1501 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1503 2008-02-14 Alexander Larsson <alexl@redhat.com>
1506 Copy permissions with file on copy (#514084)
1507 This is what cp does and makes sure e.g. the
1508 exec permissions are kept.
1509 Its kinda weird in that it keeps the permission bits
1510 the same while the uid and gid are different. However
1511 the new uid is the user so its not a security issue,
1512 and I've heard no complaints about cp on this issue.
1514 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1516 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1518 2008-02-13 Alexander Larsson <alexl@redhat.com>
1520 * inotify/inotify-path.c:
1521 Define IN_ONLYDIR if not in header (#515346)
1523 2008-02-12 Alexander Larsson <alexl@redhat.com>
1525 * tests/live-g-file.c:
1528 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1530 * === Released 2.15.5 ===
1532 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1534 * gio.symbols: Add g_mount_mount_flags_get_type.
1536 2008-02-11 Alexander Larsson <alexl@redhat.com>
1539 (g_file_info_set_attribute_mask):
1540 (g_file_attribute_matcher_matches_id):
1541 Correctly handle NULL GAttributeMatcher meaning
1542 matches nothing. (Fixes #513492)
1544 2008-02-11 Alexander Larsson <alexl@redhat.com>
1549 Added GMountMountFlags enum and added a flags
1550 argument to all mount calls.
1552 This is an API/ABI change for future extensibility,
1553 as I think we will need at least an
1554 inhibit-autorun flag (the panel needs this).
1555 There are no flags defined yet though.
1557 2008-02-11 Alexander Larsson <alexl@redhat.com>
1560 Added new standard::description attribute.
1561 Requested by Vincent, and useful for both
1564 2008-02-11 Alexander Larsson <alexl@redhat.com>
1566 * gdesktopappinfo.c:
1569 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1571 * *.c: Documentation additions
1573 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1575 * gappinfo.h: Formatting cleanup
1576 * gappinfo.c: Fix up docs.
1578 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1580 * gunixmounts.c: Consistently use getmntent_r() and fall
1581 back to getmntent(). (#515492)
1583 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1585 * gbufferedinputstream.c:
1587 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1589 * tests/data-input-stream.c:
1590 * tests/data-output-stream.c: Portability fixes.
1592 2008-02-08 Alexander Larsson <alexl@redhat.com>
1597 Add g_volume_should_automount.
1600 2008-02-07 Tor Lillqvist <tml@novell.com>
1602 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1603 Win32, too Unix-specific.
1605 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1607 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1608 a local plt if the compiler doesn't support what we want. Bug #514702
1610 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1612 reviewed by: <delete if not using a buddy>
1615 * gunixinputstream.c:
1616 * gunixoutputstream.c:
1618 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1620 * tests/Makefile.am:
1621 * tests/live-g-file.c:
1622 * tests/live-g-file.txt:
1623 New GIO testing module working over real data
1625 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1627 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1628 Fallback to rename() if link() is not available
1629 (when no support on target filesystem)
1631 2008-02-06 Michael Natterer <mitch@imendio.com>
1633 * gfileinfo.c (g_file_info_get_icon): replace
1634 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1636 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1638 * gfile.c (g_file_create):
1639 Documentation update of error codes
1641 2008-02-06 Alexander Larsson <alexl@redhat.com>
1643 * gdesktopappinfo.c:
1644 Update to use both mimeapps.list and
1645 defaults.list as discussed on xdg list.
1647 2008-02-06 Benjamin Otte <otte@gnome.org>
1650 * gfilenamecompleter.c:
1651 Fix some typos in the documentation.
1653 2008-02-06 Alexander Larsson <alexl@redhat.com>
1655 * glocalfile.c (g_local_file_trash):
1656 Don't succeed with trash if newly created
1657 trash dir has the wrong owner. (#514696)
1659 2008-02-05 Alexander Larsson <alexl@redhat.com>
1661 * glocalfile.c (g_local_file_move):
1662 Don't spew warnings when destination is not
1665 2008-02-03 Hans Breuer <hans@breuer.org>
1667 * makefile.msc : update
1669 2008-02-01 Michael Natterer <mitch@imendio.com>
1671 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1672 return value of xdg_mime_list_mime_parents() to a variable of the
1675 2008-02-01 Alexander Larsson <alexl@redhat.com>
1677 * gappinfo.c (g_app_info_launch_uris):
1678 Actually call the launch_uris method, not
1681 2008-02-01 Alexander Larsson <alexl@redhat.com>
1683 * gdesktopappinfo.c (g_desktop_app_info_equal):
1684 Ensure appinfos with no id but same pointer value
1687 2008-02-01 Alexander Larsson <alexl@redhat.com>
1689 * gappinfo.c (g_app_info_launch_default_for_uri):
1692 2008-02-01 Alexander Larsson <alexl@redhat.com>
1696 Add g_app_info_launch_default_for_uri utility
1699 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1701 * gdesktopappinfo.c:
1702 Doc fix for g_app_info_get_default_for_uri_scheme ()
1705 2008-01-30 Alexander Larsson <alexl@redhat.com>
1708 Add doc comment about uris vs GFiles to
1711 * gdesktopappinfo.c:
1712 Ensure uris passed to g_app_info_launch_uris()
1713 are not roundtriped through GFile (as that
1714 may be slightly destructive for e.g. mailto: links)
1716 2008-01-30 Alexander Larsson <alexl@redhat.com>
1718 * tests/data-input-stream.c:
1719 * tests/data-output-stream.c:
1720 C89 fixes from Jens Granseuer (#512849)
1722 2008-01-30 Alexander Larsson <alexl@redhat.com>
1725 Fix gamin/fam difference build issue. (#509419)
1727 2008-01-29 Alexander Larsson <alexl@redhat.com>
1730 * gdesktopappinfo.c:
1731 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1733 2008-01-29 Alexander Larsson <alexl@redhat.com>
1735 * gdesktopappinfo.c:
1736 * gdesktopappinfo.h:
1737 giomodule-priv.h include moved to .c file.
1739 2008-01-29 Alexander Larsson <alexl@redhat.com>
1741 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1742 Remove unused prio/name fields.
1744 2008-01-29 Alexander Larsson <alexl@redhat.com>
1746 * gcontenttype.c (looks_like_text):
1747 Don't treat whitespace as control chars.
1749 2008-01-29 Alexander Larsson <alexl@redhat.com>
1751 * gdesktopappinfo.c:
1752 Lazily create the desktop files for appinfos created
1753 by g_app_info_create_from_commandline() when needed
1754 for mime associations. This allows run-time use
1755 of GAppInfo object without creating unnecessary
1758 2008-01-29 Alexander Larsson <alexl@redhat.com>
1761 Added new symbols to gio.symbols
1763 2008-01-29 Alexander Larsson <alexl@redhat.com>
1766 Add g_file_query_default_handler utility to easily look up
1767 the GAppInfo that handles a file.
1769 * gdesktopappinfo.[ch]:
1771 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1774 Remove unused function
1776 2008-01-29 Alexander Larsson <alexl@redhat.com>
1778 * gfileenumerator.c:
1779 Mention need to free returned value in
1780 g_file_enumerator_next_files_finish docs.
1781 Fix leak if g_file_enumerator_next_files_finish()
1784 2008-01-29 Alexander Larsson <alexl@redhat.com>
1787 (_g_unix_content_type_get_parents):
1788 Use list_parents, not get_parents from xdgmime, because
1789 the later doesn't use the cache.
1791 * xdgmime/xdgmimecache.c:
1792 (_xdg_mime_cache_list_mime_parents):
1793 Don't list the same type as parent multiple times.
1795 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1797 * === Released 2.15.4 ===
1799 2008-01-28 Alexander Larsson <alexl@redhat.com>
1802 Register local vfs with prio 0.
1805 Remove old name and prio class members
1807 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1809 * tests/g-file.c: Disable some tests that are failing in
1810 the absence of a http backend.
1812 2008-01-28 Alexander Larsson <alexl@redhat.com>
1816 Add registration hooks for extension points.
1817 Register the gio extension points.
1819 * fam/gfamdirectorymonitor.c:
1820 * fam/gfamfilemonitor.c:
1821 * glocaldirectorymonitor.[ch]:
1822 * glocalfilemonitor.[ch]:
1823 * gnativevolumemonitor.h:
1824 * gunionvolumemonitor.c:
1825 * gunixvolumemonitor.c:
1828 * inotify/ginotifydirectorymonitor.c:
1829 * inotify/ginotifyfilemonitor.c:
1830 Use the extension points registration instead
1831 of g_type_children().
1833 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1836 * gvolume.[hc]: Document new API.
1838 * gfile.c (g_file_copy_async): Fix docs
1840 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1842 * gbufferedinputstream.c:
1844 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1847 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1849 * glocalfile.c: Avoid trivial differences in translatable strings.
1851 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1853 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1854 build with gcc 3.4 (#509419)
1856 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1858 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1859 (#509994, Murray Cumming)
1861 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1863 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1864 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1865 this allows big jobs to be executed in chunks, instead of blocking
1866 the main loop for a long time.
1868 * gsimpleasyncresult.c:
1869 * giofile.c: Adapt callers.
1871 2008-01-25 Alexander Larsson <alexl@redhat.com>
1873 * gdesktopappinfo.c:
1874 Implement changes discussed on xdg list.
1875 Now we can add supported mimetypes by just using defaults.list
1876 We can also remove associations in defaults.list.
1878 2008-01-25 Alexander Larsson <alexl@redhat.com>
1880 * gdesktopappinfo.c:
1881 Don't make local copy of desktop file
1882 for mimetype changes if the file already
1883 supports the new mimetype.
1885 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1889 * gbufferedinputstream.c:
1890 * glocalfile.c: String improvements. (#511966,
1891 Theppitak Karoonboonyanan)
1893 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1895 * gioscheduler.h: Expand docs a bit.
1897 2008-01-24 Alexander Larsson <alexl@redhat.com>
1900 Add g_drive_get_identifier and
1901 g_drive_enumerate_identifiers
1904 Add g_volume_get_identifier and
1905 g_volume_enumerate_identifiers
1911 Implement identifiers for unix backend
1913 2008-01-24 Alexander Larsson <alexl@redhat.com>
1918 Add g_file_copy_async() (#511580)
1919 Based on patch from Carlos Garcia Campos
1921 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1923 * gioscheduler.c: Some documentation additions.
1925 2008-01-22 Alexander Larsson <alexl@redhat.com>
1927 * gdesktopappinfo.c:
1928 (g_desktop_app_info_new):
1929 Don't leak basename.
1931 2008-01-22 Alexander Larsson <alexl@redhat.com>
1933 * gdesktopappinfo.c:
1934 (g_desktop_app_info_new_from_filename):
1937 2008-01-22 Alexander Larsson <alexl@redhat.com>
1939 * glocalfileinfo.c (get_thumbnail_attributes):
1942 2008-01-22 Alexander Larsson <alexl@redhat.com>
1945 (canonicalize_filename):
1946 Canonicalize paths that start with more than
1950 (compare_two_files):
1951 (test_g_file_new_for_path):
1954 2008-01-22 Alexander Larsson <alexl@redhat.com>
1957 Allow UTF-8 in file:// parse names.
1959 * tests/Makefile.am:
1960 * tests/data-input-stream.c:
1961 * tests/data-output-stream.c:
1962 * tests/g-file-info.c:
1964 Added a bunch of tests from Tomas Bzatek
1966 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1968 * === Released 2.15.3 ===
1970 2008-01-21 Alexander Larsson <alexl@redhat.com>
1972 * gfileinputstream.[ch]:
1973 * gfileoutputstream.[ch]:
1975 Remove duplicated GSeekable functions. (#509990)
1976 Just use the g_seekable_xxx() calls instead.
1978 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1981 * gvolumemanager.c: Whitespace cleanups.
1983 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1984 Use the right mode when creating the file.
1986 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1988 * gfileenumerator.c:
1989 * gfileinputstream.c:
1991 * goutputstream.c: Documentation: Fixed minor typos
1992 and added more mentions of specific _finish() functions.
1994 2008-01-21 Alexander Larsson <alexl@redhat.com>
1996 * inotify/Makefile.am:
1997 * inotify/inotify-helper.c:
1998 * inotify/inotify-kernel.c:
1999 * inotify/inotify-path.c:
2000 * inotify/local_inotify.h: Removed.
2001 * inotify/local_inotify_syscalls.h: Removed.
2002 Removed the included copies of the inotify
2003 headers. We now only use the <sys/inotify.h>
2004 header which exists on modern systems.
2005 This fixes problems on ARM and SH5 (#510448)
2006 but is also generally much cleaner and future
2007 safe. For instance, if other OSes add support
2008 for inotify it should "just work".
2010 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2012 * inotify/*.c: Coding style fixes.
2013 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2014 for the 1/4 Hz timer.
2016 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2019 * gfilemonitor.[hc]:
2020 * gmemoryinputstream.c:
2021 * gmemoryoutputstream.c:
2022 * gmountoperation.c:
2023 * gthemedicon.c: Documentation updates
2025 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2027 * gfile.c: documentation: Fixed more minor
2030 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2032 * gmount.c: (g_mount_remount): documentation:
2033 Mention g_mount_remount_finish() instead of
2034 g_mount_unmount_finish().
2036 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2040 * gfile.c: Fixed some minor typos in the
2043 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2045 * gio/gvolumemonitor.c:
2046 (g_volume_monitor_get_connected_drives):
2047 (g_volume_monitor_get_volumes):
2048 (g_volume_monitor_get_mounts): Documentation:
2049 Clarify the ownership of the regurn GLists.
2051 2008-01-17 Alexander Larsson <alexl@redhat.com>
2054 Add the async find_enclosing_mount version
2055 to the header file too.
2057 2008-01-17 Alexander Larsson <alexl@redhat.com>
2060 Add async version of find_enclosing_mount
2061 with default implementation.
2063 2008-01-17 Alexander Larsson <alexl@redhat.com>
2068 Allow calls to implementation of copy and write
2069 even if the type of the file implementations is
2070 different. This can be used to implement native
2071 upload and download calls in a vfs.
2074 (g_local_file_move):
2075 Protect against the case where move is called
2076 with one file not being local.
2078 Make sure we call the progress callback once
2079 in the native move operation so that the caller
2080 knows how many bytes were copied.
2082 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2085 * gdatainputstream.c:
2087 * gfileoutputstream.c:
2092 * gunixmounts.c: Corrected some typos in the documentation:
2093 occured -> occurred.
2094 its -> it's (where appropriate).
2096 2008-01-16 Alexander Larsson <alexl@redhat.com>
2100 Add g_file_query_exists (#508771)
2102 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2107 * gvolume.c: For async functions that have no non-async
2108 version, document that the GAsyncReadyCallback may be NULL.
2111 2008-01-15 Alexander Larsson <alexl@redhat.com>
2113 * gmemoryinputstream.c:
2114 * gmemoryoutputstream.c:
2115 Don't do pointer arithmetic on void * (#508602)
2116 Patch from Kazuki IWAMOTO
2118 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2120 * === Released 2.15.2 ===
2122 2008-01-14 Alexander Larsson <alexl@redhat.com>
2124 * gfile.c (g_file_monitor_file):
2125 Don't set error here, since we fallback to polling monitor.
2127 2008-01-14 Alexander Larsson <alexl@redhat.com>
2130 (g_file_monitor_directory):
2131 (g_file_monitor_file):
2132 Add GError to file monitor calls
2134 * glocaldirectorymonitor.c:
2135 * glocaldirectorymonitor.h:
2137 * glocalfilemonitor.c:
2138 * glocalfilemonitor.h:
2140 Update for above change
2142 2008-01-14 Alexander Larsson <alexl@redhat.com>
2146 Handle root correctly in g_file_get_relative_path (#508719)
2148 2008-01-14 Alexander Larsson <alexl@redhat.com>
2151 Clean up docs and example for GAsyncResult (#508074)
2153 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2155 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2156 and correct some spelling mistakes. Bug #508108.
2158 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2160 * glocalfileinfo.c: Add a comment.
2162 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2164 * gfileinfo.c: GFileInfo description: Mention
2165 how to actually set attributes in a GFile and how to discover
2166 which attributes are settable. Bug #508378.
2168 2008-01-10 A. Walton <awalton@svn.gnome.org>
2170 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2171 (g_app_info_get_default_for_type):
2172 Check for NULL content types.
2174 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2176 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2178 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2180 * gfile.c: *_async() functions: Several small corrections
2181 to the documentation, mostly correcting copy/paste errors
2182 and improving some sentences.
2184 2008-01-09 Dan Winship <danw@gnome.org>
2186 * glocalfile.c (get_unique_filename): x86_64 fix
2188 2008-01-09 Alexander Larsson <alexl@redhat.com>
2193 Add g_unix_mount_guess_should_display and use
2194 for unix volume monitor backend.
2195 This means we more or less show what the
2196 gnome-vfs backend did.
2197 Based on patch from Padraig O'Briain
2199 2008-01-09 Alexander Larsson <alexl@redhat.com>
2203 Add g_themed_icon_new_with_default_fallbacks
2206 Use default fallbacks for icons
2208 2008-01-09 Alexander Larsson <alexl@redhat.com>
2211 * gmountoperation.[ch]:
2212 Change the API a bit so that unhandled methods
2213 get reported via the reply, rather than by
2214 the signal emission return value. This is because
2215 some handlers can't know this immediately without
2216 doing I/O, and this is an async operation that
2219 2008-01-09 Alexander Larsson <alexl@redhat.com>
2222 * fam/gfamdirectorymonitor.c:
2223 * fam/gfamfilemonitor.c:
2224 Fix double free crash (#508224)
2225 Patch from Joe Marcus Clarke
2227 008-01-07 Matthias Clasen <mclasen@redhat.com>
2229 * === Released 2.15.1 ===
2231 2008-01-07 Alexander Larsson <alexl@redhat.com>
2233 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2234 Fix warning (#507835)
2236 2008-01-07 Alexander Larsson <alexl@redhat.com>
2239 Pass --internal to glib-genmarshal
2242 * gmountoperation.c:
2244 Use better types for signal arguments (#507822)
2246 2008-01-07 Alexander Larsson <alexl@redhat.com>
2249 Build test subdir after .
2250 Remove gdirectorymonitor.[ch]
2252 * gdirectorymonitor.[ch]:
2256 Remove GDirectoryMonitor and make
2257 GFileMonitor the baseclass for both file and
2258 directory monitors. Lift the more generic
2259 rate limiting code from GDirectoryMonitor
2263 * fam/gfamdirectorymonitor.[ch]:
2264 * inotify/ginotifydirectorymonitor.[ch]:
2265 * inotify/inotify-helper.c:
2266 * glocaldirectorymonitor.[ch]:
2269 Update for the removed GDirectoryMonitor.
2271 * gmemoryoutputstream.c:
2272 Remove ununsed variable
2274 2008-01-07 Alexander Larsson <alexl@redhat.com>
2276 * gmemoryinputstream.c:
2277 Translate error strings
2280 * gmemoryoutputstream.[ch]:
2281 New implementation that avoids using GByteArray
2282 in implementation and API. (#506377)
2284 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2286 * tests/*: Add a test for memory input streams.
2288 * Makefile.am: Add tests to SUBDIRS.
2290 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2292 * glocalfilemonitor.c:
2293 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2296 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2298 * gdesktopappinfo.c: Fix a docs typo.
2300 * gfileattribute.c: Add information about extended attributes
2301 to the documentation. (#505058)
2303 2008-01-04 Alexander Larsson <alexl@redhat.com>
2306 * gmountoperation.c:
2307 Use the right type (uint) for the ask_password signal.
2309 2008-01-04 Alexander Larsson <alexl@redhat.com>
2314 Add g_app_info_supports_files()
2315 Remove desktop arg from g_app_info_should_show().
2317 * gdesktopappinfo.[ch]:
2318 Implement g_app_info_supports_files() and new should_show()
2319 Add g_desktop_app_info_set_desktop_env() to set the desktop
2320 for should_show(). (This will be set by gtk+ later)
2322 2008-01-04 Alexander Larsson <alexl@redhat.com>
2325 * gmemoryinputstream.[ch]:
2326 Improve API so that you can use multiple chunks
2327 of memory and custom destroy functions. (#506374)
2329 2008-01-03 Alexander Larsson <alexl@redhat.com>
2332 Handle NULL attribute matchers safely, as we return this
2333 for empty attribute matcher strings.
2335 2008-01-03 Alexander Larsson <alexl@redhat.com>
2337 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2338 Add /usr/local to list of internal mountpoints
2340 2008-01-03 Alexander Larsson <alexl@redhat.com>
2343 Check for HAVE_LCHOWN (#505887)
2345 2008-01-03 Alexander Larsson <alexl@redhat.com>
2349 Add define for selinux context attribute.
2350 Fix missing : -> :: namespace separator change
2351 Fix missing _ -> - name change for xattr-sys.
2354 2008-01-03 Alexander Larsson <alexl@redhat.com>
2357 Link to libglib and libgobject directly (#504879)
2358 Patch from Sebastien Bacher
2360 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2362 * gfile.c: Expanded the g_file_new_for_commandline_arg
2363 description a bit, based on the code and the docs of the
2364 other g_file_new_for_* functions.
2366 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2368 * gfilemonitor.h: Fixed typo in docs.
2370 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2372 Updates to GIO documentation. (#506395, Mikael Hermansson)
2374 * gcontenttype.c: Describe memory management for return value of
2375 g_content_types_get_registered(). Missing piece from #505815.
2376 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2377 GVolume, GDrive, GMounts, which hopefully gives the user less
2378 confusions when using this API. Following explainations from
2379 Alexander Larsson on gtk-devel-list.
2381 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2383 * gfileinfo.c: Expand the long description.
2385 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2388 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2389 fix builds with --disable-visibility. (#500273, Christian Persch)
2391 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2393 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2394 in the list of returned app infos.
2396 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2398 * gappinfo.c: Fix a cross-reference
2400 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2402 * gfileinputstream.c:
2403 * gfileoutputstream.c:
2407 * gdesktopappinfo.c:
2409 * gfileinfo.c: Documentation updates.
2411 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2413 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2416 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2418 * gcontenttype.c (g_content_types_get_registered): Don't return
2419 freed memory (#505815, Mikael Hermansson)
2421 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2423 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2424 used to detect statbuf->st_blocks. (#505042)
2426 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2428 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2429 environment handling. (#504829, Cosimo Cecchi)
2431 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2433 * gappinfo.c: Doc improvements
2435 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2438 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2440 * === Released 2.15.0 ===
2442 2007-12-20 Hans Breuer <hans@breuer.org>
2444 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2445 with symbols gwin32appinfo.obj, added gmount.obj
2446 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2448 2007-12-20 Alexander Larsson <alexl@redhat.com>
2454 * gfilenamecompleter.c:
2457 * gpollfilemonitor.c:
2458 File attribute renames:
2460 fs:: -> filesystem::
2461 id::fs -> id::filesystem
2463 2007-12-20 Alexander Larsson <alexl@redhat.com>
2472 Add GMountUnmountFlags to all unmount and
2474 Add g_mount_remount() call.
2476 2007-12-20 Alexander Larsson <alexl@redhat.com>
2478 * gvfs.c (get_default_vfs):
2479 Fix unused variable warning
2481 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2483 * pltcheck.sh: Update
2485 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2487 * gunionvolumemonitor.c:
2488 * gunixmount.c: Remove C99 comments
2490 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2492 * gio.symbols: Add some missing symbols
2494 2007-12-19 Alexander Larsson <alexl@redhat.com>
2497 Make g_io_modules_load_all_in_directory not unuse
2498 loaded modules so that users of it can do stuff
2500 Init internal "module" types.
2501 Initialize static prio and name for types so that
2502 we don't have to load modules to get it.
2504 * gnativevolumemonitor.h:
2506 Move is_supported to parent class so that
2507 non-native monitors can avoid being initialized
2508 too. (For instance GDaemonVolumeMonitor if we're
2509 not using GDaemonVfs.)
2511 * glocaldirectorymonitor.[ch]:
2512 * glocalfilemonitor.[ch]:
2513 * gunionvolumemonitor.c:
2514 * gunixvolumemonitor.c:
2516 Find plugins using the static prio+name to
2517 avoid unnecessarily loading the modules.
2519 2007-12-19 Alexander Larsson <alexl@redhat.com>
2524 2007-12-19 Alexander Larsson <alexl@redhat.com>
2526 * gunionvolumemonitor.c:
2527 Store the native type as GType, not class so that
2528 we can unload it. But still avoid unnecessarily
2531 2007-12-19 David Zeuthen <davidz@redhat.com>
2533 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2534 add signals 'disconnected' and 'eject-button' on GDrive. Add
2535 signal 'removed' on GVolume and 'unmounted' on GMount.
2537 * gdrive.c: (g_drive_base_init):
2539 * gfile.c: (g_file_mount_mountable),
2540 (g_file_mount_enclosing_volume):
2543 * gmount.c: (g_mount_base_init):
2545 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2546 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2547 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2551 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2553 * *.c: Fix up includes in the section docs.
2555 2007-12-17 Alexander Larsson <alexl@redhat.com>
2557 * gnativevolumemonitor.h:
2558 * gunionvolumemonitor.c:
2559 * gunixvolumemonitor.c:
2560 Add is_supported() to GNativeVolumeMonitorClass so
2561 that we can avoid having to create an object to see
2562 if the backend is supported at runtime.
2563 Also add name member and an env var to pick a specific
2564 volume monitor backend.
2568 Add cancellable to _g_mount_get_for_mount_path()
2570 * glocaldirectorymonitor.c:
2571 * glocalfilemonitor.c:
2572 Avoid loading and unloading modules while sorting.
2574 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2577 * gunixmounts.[hc]: Namespace waste reduction, move some
2578 g_get_unix_mount functions to the g_unix_mount namespace.
2581 * gunixvolumemonitor.c:
2583 * glocaldirectorymonitor.c: Update all callers.
2585 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2587 2007-12-17 Alexander Larsson <alexl@redhat.com>
2590 Add doc comments about what GFile operations are
2591 guaranteed to not block.
2593 2007-12-17 Alexander Larsson <alexl@redhat.com>
2596 Add missing #ifdef fixing OSX build.
2597 (#503334, patch from Richard Hult)
2599 2007-12-14 David Zeuthen <davidz@redhat.com>
2603 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2604 (g_mount_eject), (g_mount_eject_finish):
2606 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2607 (get_volume_for_uuid), (get_mount_for_uuid),
2608 (g_union_volume_monitor_class_init),
2609 (get_default_native_type_with_exclude), (get_default_native_type),
2610 (get_native_type), (update_native_type),
2611 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2612 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2613 (g_unix_mount_can_eject), (eject_unmount_cb),
2614 (eject_unmount_read_error), (eject_unmount_do),
2615 (g_unix_mount_unmount), (g_unix_mount_eject),
2616 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2617 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2618 (g_unix_mount_point_guess_can_eject):
2620 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2621 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2622 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2623 (g_unix_volume_mount), (g_unix_volume_eject),
2624 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2625 * gunixvolumemonitor.c: (get_volume_for_uuid),
2626 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2628 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2629 (g_volume_eject), (g_volume_eject_finish):
2631 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2632 (g_volume_monitor_get_mount_for_uuid):
2635 Provide eject() on both GMount and GVolume and utility functions
2636 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2637 ejected. Introduce the concept of UUID's and wire it into GVolume
2638 and GMount and provide API on GVolumeMonitor to find such
2639 instances. Also handle the case where an external
2640 GNativeVolumeMonitor fails to initialize. Lock around the
2641 _g_get_mount_for_mount_path() function such that volume monitor
2642 implementations won't have to do locking themselves.
2644 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2646 * gdesktopappinfo.c:
2652 * gvolume.h: Documentation updates
2654 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2657 * gfile.h: Doc updates
2659 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2662 * gdesktopappinfo.c: Use hash table iterators.
2664 2007-12-14 Alexander Larsson <alexl@redhat.com>
2667 * gfileattribute.[ch]:
2668 * gfileattribute-priv.h:
2669 Move GFileAttributeValue to a private header, as
2673 Make set_attribute take a type + a pointer instead
2674 of a GFileAttributeValue.
2677 Fix up for above changes.
2678 Add g_file_info_get_attribute_data to get
2679 all info in one call, g_file_info_get_attribute_status
2680 to get the status and g_file_info_get_attribute_as_string.
2684 * glocalfileinfo.[ch]:
2688 Make _guess_type static.
2690 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2693 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2694 made mkenums and friends use temporary files to avoid leaving
2695 empty generated files on failure (#503470).
2697 2007-12-14 Alexander Larsson <alexl@redhat.com>
2699 * gmountoperation.h:
2702 2007-12-14 Alexander Larsson <alexl@redhat.com>
2706 * gfileattribute.[ch]:
2709 * glocalfileoutputstream.c:
2710 * gmountoperation.[ch]:
2711 * goutputstream.[ch]:
2712 Clean up all flags enums to not have _FLAGS in them
2713 Make the names of some of the enums better.
2718 2007-12-14 Michael Natterer <mitch@imendio.com>
2720 * gio.symbols: fix g_io_scheduler symbol names.
2722 2007-12-14 Alexander Larsson <alexl@redhat.com>
2728 * gbufferedinputstream.h:
2729 * gbufferedoutputstream.h:
2732 * gdatainputstream.h:
2733 * gdataoutputstream.h:
2734 * gdesktopappinfo.h:
2735 * gdirectorymonitor.h:
2739 * gfileenumerator.h:
2742 * gfileinputstream.h:
2744 * gfilenamecompleter.h:
2745 * gfileoutputstream.h:
2746 * gfilterinputstream.h:
2747 * gfilteroutputstream.h:
2755 * gmemoryinputstream.h:
2756 * gmemoryoutputstream.h:
2758 * gmountoperation.h:
2761 * gsimpleasyncresult.h:
2763 * gunixinputstream.h:
2765 * gunixoutputstream.h:
2769 * inotify/Makefile.am:
2770 Only allow including <gio/gio.h> from apps
2772 2007-12-14 Alexander Larsson <alexl@redhat.com>
2774 * gioscheduler.[ch]:
2775 * gsimpleasyncresult.c:
2776 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2777 Split out the send_to_mainloop call into two versions instead
2778 of having the block argument.
2780 2007-12-13 Alexander Larsson <alexl@redhat.com>
2782 * gcancellable.[ch]:
2784 * gbufferedinputstream.c:
2785 * gfileenumerator.c:
2786 * gfileinputstream.c:
2787 * gfileoutputstream.c:
2791 g_push/pop_current_cancellable ->
2792 g_cancellable_push/pop_current
2794 2007-12-13 Alexander Larsson <alexl@redhat.com>
2798 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2800 2007-12-13 Alexander Larsson <alexl@redhat.com>
2802 * gmountoperation.h:
2803 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2805 2007-12-12 Alexander Larsson <alexl@redhat.com>
2808 Fix race condition when freeing proxy in
2809 g_io_job_send_to_mainloop().
2811 2007-12-12 Alexander Larsson <alexl@redhat.com>
2817 Make attribute namespace separator "::" instead of ":".
2818 Use - instead of _ as separator in attribute names.
2820 2007-12-12 Alexander Larsson <alexl@redhat.com>
2822 * gbufferedinputstream.h:
2823 * gbufferedoutputstream.h:
2824 * gdatainputstream.h:
2825 * gdataoutputstream.h:
2826 * gdirectorymonitor.h:
2827 * gfileenumerator.h:
2828 * gfileinputstream.h:
2830 * gfileoutputstream.h:
2831 * gfilterinputstream.h:
2832 * gfilteroutputstream.h:
2834 * glocalfileinputstream.h:
2835 * glocalfileoutputstream.h:
2836 * gmemoryinputstream.h:
2837 * gmemoryoutputstream.h:
2838 * gnativevolumemonitor.h:
2840 * gunixinputstream.h:
2841 * gunixoutputstream.h:
2844 s/parent/parent_instance/ in GObjects
2846 2007-12-12 Alexander Larsson <alexl@redhat.com>
2851 No need for padding for interfaces
2853 2007-12-12 Alexander Larsson <alexl@redhat.com>
2857 * gbufferedinputstream.c:
2858 * gbufferedoutputstream.c:
2861 * gdatainputstream.[ch]:
2862 * gdesktopappinfo.c:
2863 * gdirectorymonitor.c:
2865 * gfileattribute.[ch]:
2868 * gfileinputstream.h:
2869 * gfilemonitor.[ch]:
2870 * gfileoutputstream.[ch]:
2871 * gfilterinputstream.h:
2872 * gfilteroutputstream.h:
2875 * gloadableicon.[ch]:
2876 * gmemoryinputstream.c:
2877 * gmountoperation.c:
2879 Fix up a bunch of details in the docs.
2884 2007-12-11 David Zeuthen <davidz@redhat.com>
2886 Rework how volumes, drives and volume monitoring is
2887 done. Previosly the model was
2889 GDrive <1-1> GVolume
2891 where a GDrive instance represented a mount point and a GVolume
2892 instance represented a mounted file system. This patch changes it
2895 GDrive <1-N> GVolume <1-1> GMount
2897 where GMount now serves the purpose of the old GVolume and the new
2898 GVolume serves the purpose of the old GDrive. In addition the new
2899 GDrive interface is used to represent a collection of GVolume
2900 instances (typically partitions) and also contains utility to query
2901 the state of the physical drive the GDrive object represents (such
2902 as checking for media, polling the drive, ejecting the media etc.).
2904 Also implement mounting and unmounting in the Unix volume monitor
2905 backend. A subquent patch will introduce GDrive support for ejection
2909 * gdrive.c: (g_drive_is_media_check_automatic),
2910 (g_drive_is_media_removable), (g_drive_has_media),
2911 (g_drive_can_poll_for_media), (g_drive_eject),
2912 (g_drive_eject_finish), (g_drive_poll_for_media),
2913 (g_drive_poll_for_media_finish):
2915 * gfile.c: (g_file_find_enclosing_mount):
2918 * glocaldirectorymonitor.c:
2919 (g_local_directory_monitor_constructor), (mounts_changed):
2920 * glocalfile.c: (get_mount_info),
2921 (g_local_file_find_enclosing_mount),
2922 (g_local_file_file_iface_init):
2923 * gnativevolumemonitor.h:
2924 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2925 (get_connected_drives), (g_union_volume_monitor_class_init),
2926 (child_volume_added), (child_volume_removed),
2927 (child_volume_changed), (child_mount_added), (child_mount_removed),
2928 (child_mount_pre_unmount), (child_mount_changed),
2929 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2930 (g_union_volume_monitor_remove_monitor),
2931 (_g_mount_get_for_mount_path):
2932 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2933 (guess_system_internal), (_g_get_unix_mounts),
2934 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2935 (g_unix_mount_free), (g_unix_mount_compare),
2936 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2937 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2938 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2939 (type_to_icon), (g_unix_mount_guess_name),
2940 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2941 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2942 (_resolve_symlink), (_resolve_dev_root):
2944 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2945 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2946 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2947 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2948 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2949 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2950 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2951 (g_unix_volume_volume_iface_init):
2953 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2954 (get_mounts), (get_volumes), (get_connected_drives),
2955 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2956 (mountpoints_changed), (mounts_changed),
2957 (g_unix_volume_monitor_init),
2958 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2959 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2960 * gunixvolumemonitor.h:
2961 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2962 (g_volume_mount), (g_volume_mount_finish):
2964 * gvolumemonitor.c: (g_volume_monitor_class_init),
2965 (g_volume_monitor_get_connected_drives),
2966 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2969 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2971 * gmountoperation.h (GPasswordFlags): Close the gap
2973 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2975 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2977 * gdesktopappinfo.[hc]: Remove _-prefixes
2979 2007-12-10 Tor Lillqvist <tml@novell.com>
2981 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2984 2007-12-10 Alexander Larsson <alexl@redhat.com>
2986 * gfile.c (g_file_set_display_name):
2987 Don't hardcode '/' (#502727)
2989 2007-12-09 Hans Breuer <hans@breuer.org>
2991 * makefile.msc : follow lib naming convention
2992 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2993 for user and group name, tested with ../tests/gio-ls
2995 2007-12-09 A. Walton <awalton@svn.gnome.org>
2997 * gdesktopappinfo.c:
3003 * gfileenumerator.c:
3008 * gmemoryinputstream.c:
3009 * gmemoryoutputstream.c:
3011 * gsimpleasyncresult.c:
3012 More documentation cleanup and filling in missing information, bringing
3013 GIO to 99% symbol coverage.
3015 2007-12-08 Hans Breuer <hans@breuer.org>
3017 [gio compiles and links on win32, not sure how much already works]
3018 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3019 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3020 base on win32 API; prefer g_lstat() over lstat(); instead of
3021 localtime_r() use an all GLib implementation on win32;
3022 get_mount_info() still needs a win32 specifc implementation
3023 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3024 win32_get_file_user_info to get owner/group info without uid/gid
3025 * glocalfileinputstream.c : include <io.h> on win32
3026 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3027 definition, use g_win32_ftruncate() for G_OS_WIN32
3028 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3029 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3030 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3031 * makefile.msc : updated
3033 2007-12-07 Alexander Larsson <alexl@redhat.com>
3035 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3036 Avoid warning spew if error == NULL
3038 2007-12-07 Alexander Larsson <alexl@redhat.com>
3041 Update docs wrt etags
3043 2007-12-06 Alexander Larsson <alexl@redhat.com>
3046 Include sys/types.h for dev_t (#501919)
3048 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3052 Make abicheck and pltcheck pass.
3054 2007-12-05 Alexander Larsson <alexl@redhat.com>
3057 * giomodule-priv.h: Added.
3058 * glocaldirectorymonitor.c:
3059 * glocalfilemonitor.c:
3060 * gunionvolumemonitor.c:
3062 Actually add the declaration of _g_io_modules_ensure_loaded
3064 2007-12-05 Alexander Larsson <alexl@redhat.com>
3066 * gdatainputstream.c:
3071 * glocaldirectorymonitor.c:
3072 * glocalfilemonitor.c:
3073 * gunionvolumemonitor.c:
3075 Make g_io_modules_ensure_loaded a private function and
3076 don't pass in the dirname. This means we can do magic
3077 directory finding in the win32 version.
3078 Export the actual load-modules-in-directory code so that
3079 gvfs can reuse that.
3081 2007-12-05 Alexander Larsson <alexl@redhat.com>
3083 * gbufferedinputstream.c:
3084 * gbufferedoutputstream.c:
3087 * gfileenumerator.[ch]:
3088 * gfileinputstream.c:
3089 * gfileoutputstream.[ch]:
3090 * gfilterinputstream.c:
3091 * gfilteroutputstream.c:
3092 * ginputstream.[ch]:
3094 * glocalfileenumerator.c:
3095 * glocalfileinputstream.c:
3096 * glocalfileoutputstream.c:
3097 * gmemoryinputstream.c:
3098 * gmemoryoutputstream.c:
3099 * goutputstream.[ch]:
3102 * gunixinputstream.c:
3103 * gunixoutputstream.c:
3104 Rename all struct members named:
3105 read, write, close, truncate, or mount
3106 to foo_fn, as these are reserved names
3107 and could be defined as macros in libc.
3110 2007-12-04 Alexander Larsson <alexl@redhat.com>
3113 (g_output_stream_close):
3114 Only call flush if non-null.
3116 2007-11-30 Dan Winship <danw@gnome.org>
3118 * ginputstream.c (g_input_stream_set_pending): Make this take a
3119 GError and return a gboolean, and do the "outstanding operation"
3120 check (and the "stream is already closed" check) itself.
3121 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3123 * goutputstream.c (g_output_stream_set_pending)
3124 (g_output_stream_clear_pending): Likewise
3126 * gbufferedinputstream.c:
3127 * gfileinputstream.c:
3128 * gfileoutputstream.c: Update for that
3130 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3131 Like g_simple_async_report_error_in_idle, but takes a GError
3132 rather than building one.
3134 2007-11-30 Dan Winship <danw@gnome.org>
3136 * goutputstream.c: Don't cheat and unset the "pending" flag around
3137 inner calls. Instead, call the class method directly rather than
3138 the wrapper function that checks "pending"
3140 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3142 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3144 2007-12-03 Hans Breuer <hans@breuer.org>
3146 [start of port to win32/msvc]
3147 * gcancellable.c : HAVE_UNIST_H and _pipe()
3148 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3149 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3150 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3152 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3153 * glocalvfs.c : use HAVE_PWD_H
3154 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3155 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3156 * Makefile.am : added to EXTRA_DIST
3158 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3160 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3163 2007-12-03 Alexander Larsson <alexl@redhat.com>
3166 Handle OSX style xattrs API (#500506)
3168 2007-12-03 Alexander Larsson <alexl@redhat.com>
3172 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3174 2007-12-02 A. Walton <awalton@svn.gnome.org>
3178 Documentation accuracy fixes.
3180 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3182 * gioenumtypes.c.template: Fix typo.
3184 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3186 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3188 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3190 * gdirectorymonitor.c:
3191 * gfilemonitor.c: Add properties
3193 * gbufferedoutputstream.c: Don't mark buffer-size property
3196 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3198 * gbufferedoutputstream.c: Add auto-grow property.
3200 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3202 * *.c: Unify the capitalization of section headings.
3204 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3206 * gmountoperation.c: Add properties
3208 * gdatainputstream.c: Turn byte-order and newline-type into
3211 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3213 * gioenumtypes.[hc].template: Templates for enum registration
3215 * Makefile.am: Generate gioenumtypes.[hc]
3217 * gio.h: Include gioenumtypes.h
3219 * gfile.h: Add some explicit nicks.
3221 * gio.symbols: Add new symbols
3223 * pltcheck.sh: Adjust
3225 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3227 * *.c: Explain etags and link to the explanation
3229 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3231 * *.c: Explain I/O priority.
3233 * *.c: More coding style fixes.
3235 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3237 * gasyncresult.c: Add another paragraph to the intro,
3238 adjust coding style of example.
3240 2007-11-29 A. Walton <awalton@svn.gnome.org>
3243 Fixes unknown meaning in GAppLaunchContext docs.
3245 Clarify asynchronous ops.
3247 Fix entity tag docs.
3250 Provides missing gtk-doc section, fixes API docs slighly.
3251 * gsimpleasyncresult.c:
3252 Fill in missing info in docs.
3253 * gunixinputstream.c:
3254 * gunixoutputstream.c:
3255 Be more expressive in short description.
3257 Remove gtk-doc stubs for non-public API.
3259 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3261 * *.c: Coding style fixups
3263 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3265 * inotify/inotify-helper.c: Don't export the lock from libgio.
3267 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3270 * abicheck.sh: Fix copy-and-paste leftovers
3272 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3274 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3276 2007-11-28 Alexander Larsson <alexl@redhat.com>
3280 Removed unnecessary file
3282 * gdesktopappinfo.[ch]:
3285 * glocaldirectorymonitor.[ch]:
3287 * glocalfileenumerator.[ch]:
3288 * glocalfileinputstream.[ch]:
3289 * glocalfilemonitor.[ch]:
3290 * glocalfileoutputstream.[ch]:
3292 * gnativevolumemonitor.c:
3293 * gpollfilemonitor.[ch]:
3294 * gunionvolumemonitor.[ch]:
3297 * gunixvolumemonitor.[ch]:
3300 * inotify/ginotifydirectorymonitor.[ch]:
3301 * inotify/ginotifyfilemonitor.[ch]:
3302 * inotify/inotify-helper.c:
3303 Append _ to all internal functions
3307 Export symbols needed for modules
3309 2007-11-28 Alexander Larsson <alexl@redhat.com>
3312 * abicheck.sh: Added.
3313 * makegioalias.pl: Added.
3314 * pltcheck.sh: Added.
3315 * gio.symbols: Added.
3318 Initial work on adding symbol handling.
3321 Correct ifdef guard name
3324 * inotify/Makefile.am:
3325 * xdgmime/Makefile.am:
3326 Include toplevel Makefile.decl
3328 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3330 * gcontenttype.c: Move doc comments to the unix section.
3332 * *.[hc]: More trivial doc corrections.
3334 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3336 * gpollfilemonitor.c:
3340 * gdesktopappinfo.c:
3345 * gdatainputstream.c:
3346 * gdatainputstream.h:
3347 * gdataoutputstream.c:
3348 * gdataoutputstream.h:
3349 * gfileinfo.h: Doc cleanups
3351 2007-11-28 Andre Klapper <a9016009@gmx.de>
3353 * gdesktopappinfo.c: Fix a typo.
3355 2007-11-27 Andre Klapper <a9016009@gmx.de>
3357 * glocalfileoutputstream.c: Fix a typo.
3359 2007-11-27 Alexander Larsson <alexl@redhat.com>
3362 Don't include removed headers
3364 2007-11-27 Alexander Larsson <alexl@redhat.com>
3367 * gsocketinputstream.[ch]: Removed.
3368 * gsocketoutputstream.[ch]: Removed.
3369 * gunixinputstream.[ch]: Added.
3370 * gunixoutputstream.[ch]: Added.
3371 Renamed GSocket*Stream to GUnix*Stream and made
3372 it unix-only, since its not really only for sockets
3373 and it only works on unix (but is highly useful there).
3375 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3381 * gbufferedinputstream.c:
3382 * gbufferedinputstream.h:
3383 * gbufferedoutputstream.c:
3384 * gbufferedoutputstream.h:
3388 * gdatainputstream.c:
3389 * gdatainputstream.h:
3390 * gdataoutputstream.c:
3391 * gdataoutputstream.h:
3392 * gdirectorymonitor.c:
3393 * gdirectorymonitor.h:
3400 * gfileenumerator.c:
3401 * gfileenumerator.h:
3406 * gfileinputstream.c:
3407 * gfileinputstream.h:
3410 * gfilenamecompleter.c:
3411 * gfilenamecompleter.h:
3412 * gfileoutputstream.c:
3413 * gfileoutputstream.h:
3414 * gfilterinputstream.c:
3415 * gfilterinputstream.h:
3416 * gfilteroutputstream.c:
3417 * gfilteroutputstream.h:
3430 * glocalfileoutputstream.c:
3431 * gmemoryinputstream.c:
3432 * gmemoryinputstream.h:
3433 * gmemoryoutputstream.c:
3434 * gmemoryoutputstream.h:
3435 * gmountoperation.c:
3436 * gmountoperation.h:
3439 * gpollfilemonitor.c:
3442 * gsimpleasyncresult.c:
3443 * gsimpleasyncresult.h:
3444 * gsocketinputstream.c:
3445 * gsocketinputstream.h:
3446 * gsocketoutputstream.c:
3447 * gsocketoutputstream.h:
3454 * gunixvolumemonitor.c:
3463 Bumps documentation to 93% symbol coverage, touching most
3464 of the public files. Fixes broken function documentation prototypes.
3465 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3466 gtk-doc headers in private files.
3468 2007-11-27 Jürg Billeter <j@bitron.ch>
3470 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3471 (g_buffered_input_stream_read_byte):
3472 * gbufferedinputstream.h:
3473 New functions for efficient access to buffer and simple single byte
3476 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3477 (g_data_input_stream_read_until):
3478 * gdatainputstream.h:
3479 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3480 read_until with multiple stop chars.
3482 2007-11-27 Alexander Larsson <alexl@redhat.com>
3486 * inotify/Makefile.am:
3487 Use the user-specified giomoduledir
3489 2007-11-27 Alexander Larsson <alexl@redhat.com>
3493 Add catch-all gio.h header
3494 Don't install gdummyfile.h
3496 2007-11-26 Alexander Larsson <alexl@redhat.com>
3498 * Makefile.am (gioinclude_HEADERS):
3499 Remove trailing whitespace
3501 2007-11-26 Alexander Larsson <alexl@redhat.com>
3503 Merge gio-standalone into glib
3505 2007-11-25 Christian Kellner <gicmo@gnome.org>
3507 * gio/goutputstream.c:
3508 Fix small mistake in the docs.
3510 2007-11-21 Christian Persch <chpe@gnome.org>
3512 * gio/glocalfile.c: (g_local_file_trash):
3513 Convert filenames to UTF-8 for GError.
3514 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3515 as per xdg base dir spec.
3517 2007-11-21 Christian Persch <chpe@gnome.org>
3519 * gio/gdesktopappinfo.c:
3520 Use that g_key_file_to_data cannot fail.
3522 Use stock defines for the key file group and key names.
3525 2007-11-21 Alexander Larsson <alexl@redhat.com>
3528 (copy_stream_with_progress):
3529 Make sure we do a final progress callback with
3530 the full total size.
3532 2007-11-21 Alexander Larsson <alexl@redhat.com>
3535 Export g_file_copy_attributes
3536 Remove padding as its not needed for interfaces
3538 2007-11-20 Alexander Larsson <alexl@redhat.com>
3543 Add G_IO_ERROR_WOULD_MERGE for
3544 copy/move dir on dir with overwrite.
3546 2007-11-20 Alexander Larsson <alexl@redhat.com>
3549 * gio/glocalfileinfo.c:
3550 Add COPY_NAME (this is an optional
3551 non-modified utf8 version of the name) that
3554 2007-11-20 Alexander Larsson <alexl@redhat.com>
3556 * gio/glocalfileenumerator.c:
3557 Report errors as GIOError, not GFileError
3559 2007-11-16 Alexander Larsson <alexl@redhat.com>
3561 * gio/glocalfileoutputstream.c:
3562 * gio/gwin32appinfo.c:
3563 Fix typos in strings.
3564 Patch from Luca Ferretti <elle.uca@libero.it>
3566 2007-11-15 Alexander Larsson <alexl@redhat.com>
3569 Post release version bump
3571 === gio-standalone 0.1.2 ===
3573 2007-11-15 Alexander Larsson <alexl@redhat.com>
3575 * docs/reference/gio/Makefile.am:
3576 Fix up distcheck by removing weird
3582 2007-11-14 Alexander Larsson <alexl@redhat.com>
3584 * gio/gdesktopappinfo.c:
3585 * gio/glocaldirectorymonitor.c:
3587 * gio/glocalfileinfo.c:
3588 * gio/inotify/inotify-sub.c:
3589 * programs/gio-cat.c:
3590 * programs/gio-copy.c:
3591 * programs/gio-info.c:
3592 * programs/gio-ls.c:
3593 * programs/gio-monitor-dir.c:
3594 * programs/gio-monitor-file.c:
3595 * programs/gio-mount.c:
3596 * programs/gio-move.c:
3597 * programs/gio-rm.c:
3598 * programs/gio-save.c:
3599 * programs/gio-trash.c:
3600 Leak fixes from Kjartan Maraas
3602 2007-11-14 Alexander Larsson <alexl@redhat.com>
3604 * gio/fam/fam-helper.c:
3606 * gio/glocalfileinfo.c:
3610 * gio/inotify/inotify-diag.c:
3611 * gio/inotify/inotify-kernel.c:
3612 Various code cleanups from Kjartan Maraas
3614 2007-11-14 Alexander Larsson <alexl@redhat.com>
3616 * gio/gioscheduler.c:
3618 Set up threadpool so that we cache 2 unused
3619 idle threads for at 15 secs. This means we
3620 will reuse thread-local data (like dbus connections)
3623 2007-11-14 Alexander Larsson <alexl@redhat.com>
3625 * gio/fam/fam-helper.c:
3626 * gio/fam/gfamdirectorymonitor.c:
3627 * gio/fam/gfamfilemonitor.c:
3629 * gio/gcontenttype.c:
3630 * gio/gdatainputstream.c:
3631 * gio/gdataoutputstream.c:
3635 * gio/gfileattribute.h:
3636 * gio/gfileenumerator.c:
3638 * gio/ginputstream.c:
3641 * gio/glocalfileinfo.c:
3642 * gio/goutputstream.c:
3643 * gio/gpollfilemonitor.c:
3644 * gio/gsimpleasyncresult.c:
3645 * gio/gunixmounts.c:
3646 * gio/gunixmounts.h:
3647 * gio/inotify/ginotifydirectorymonitor.c:
3648 * gio/inotify/ginotifyfilemonitor.c:
3649 * gio/inotify/inotify-diag.c:
3650 * gio/inotify/inotify-kernel.c:
3651 * gio/inotify/inotify-path.c:
3653 * gio/test-streams.c:
3654 * programs/gio-info.c:
3655 * programs/gio-monitor-dir.c:
3656 * programs/gio-monitor-file.c:
3657 Various code cleanups from Kjartan Maraas
3659 2007-11-13 Alexander Larsson <alexl@redhat.com>
3662 Handle the uri-scheme calls for dummy files
3664 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3666 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3667 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3668 to avoid clash with the C++ keyword.
3670 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3672 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3673 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3675 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3677 * gio/glocaldirectorymonitor.c:
3678 * gio/glocalfilemonitor.c:
3679 * gio/gunionvolumemonitor.c:
3680 Don't use g_once_init_*() for initializations that could fail and
3681 could leave the initialization variable set to 0 but use GOnce.
3682 This prevents a deadlock on the second call when trying to create
3683 a monitor and no monitor type is available. Thanks to Sven Herzberg
3686 2007-11-11 Sven Herzberg <sven@imendio.com>
3688 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3689 #ifdef (make it work on MacOS X again)
3691 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3693 Fixes Changelog for last two commits (sorry guys).
3695 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3697 * gio/gbufferedinputstream.c:
3698 * gio/gdatainputstream.c:
3700 * gio/gfileoutputstream.c:
3701 * gio/gfilterinputstream.c:
3702 * gio/glocalfileinputstream.c:
3705 More consistency fixes in g*stream.c files.
3706 Significant clean of gfile's documentation, filling in of
3707 asynchronous operations documentation.
3709 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3711 * gio/gasyncresult.c:
3712 * gio/gbufferedinputstream.c:
3713 * gio/gbufferedoutputstream.c:
3714 * gio/gcancellable.c:
3715 * gio/gcontenttype.c:
3716 * gio/gdatainputstream.c:
3717 * gio/gdataoutputstream.c:
3718 * gio/gdesktopappinfo.c:
3721 * gio/gfileattribute.c:
3722 * gio/gio/gfileenumerator.c:
3724 * gio/gfileinputstream.c:
3725 * gio/gfilemonitor.c:
3726 * gio/gfileoutputstream.c:
3727 * gio/ginputstream.c:
3729 * gio/gioscheduler.c:
3730 * gio/gloadableicon.c:
3731 * gio/glocalfileoutputstream.c:
3732 * gio/gmemoryoutputstream.c:
3733 * gio/gmountoperation.c:
3734 * gio/goutputstream.c:
3736 * gio/gsimpleasyncresult.c:
3737 * gio/gunionvolumemonitor.c:
3738 * gio/gunixmounts.c:
3739 * gio/gunixvolume.c:
3743 * gio/gvolumemonitor.c:
3744 Updated documentation stubs, working towards consistency and
3747 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3749 * gio/gmemoryoutputstream.c:
3750 * gio/gmemoryoutputstream.h:
3751 Change g_memory_output_stream_set_free_on_close() to
3752 g_memory_output_stream_set_free_data() as this makes more sense and
3753 is more consistent with GMemoryInputStream.
3755 2007-11-07 Alexander Larsson <alexl@redhat.com>
3762 Change how we find the default vfs so that
3763 we can handle a gvfs failing to init
3765 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3767 * gio/gbufferedoutputstream.c:
3768 * gio/gdatainputstream.c:
3769 * gio/gdataoutputstream.c:
3770 * gio/gfileinputstream.c:
3771 * gio/gfileoutputstream.c:
3772 * gio/gfilterinputstream.c:
3773 * gio/gfilteroutputstream.c:
3774 * gio/ginputstream.c:
3775 * gio/gmemoryinputstream.c:
3776 * gio/gmemoryoutputstream.c:
3777 * gio/goutputstream.c:
3778 * gio/gsimpleasyncresult.c:
3779 * gio/gsocketinputstream.c:
3780 * gio/gsocketoutputstream.c:
3781 Add guards to the remaining public functions, add a TODO for
3782 an unimplemented function and remove some useless guards.
3784 2007-11-07 Alexander Larsson <alexl@redhat.com>
3787 Autoconf checks for the various types of
3788 getpwuid_r and getgrgid_r
3790 * gio/glocalfileinfo.c:
3791 Use the autoconf checks from above
3793 2007-11-07 Alexander Larsson <alexl@redhat.com>
3796 (g_local_file_query_filesystem_info):
3797 Some fixes for the statvfs case
3799 2007-11-07 Alexander Larsson <alexl@redhat.com>
3802 (g_local_file_query_filesystem_info):
3803 Pick the "best" of statfs / statvfs for the system
3804 if both are availible.
3806 2007-11-07 Alexander Larsson <alexl@redhat.com>
3808 Solaris fixes from Halton.Huo@Sun.COM:
3815 * gio/glocalfileinfo.c:
3816 Fix for solaris definition of getpwuid_r
3818 * gio/test-streams.c:
3819 Use G_GNUC_PRETTY_FUNCTION
3821 2007-11-07 Alexander Larsson <alexl@redhat.com>
3823 * gio/gdesktopappinfo.c:
3824 (update_default_list):
3825 Remove double semicolon.
3826 Patch from Jens Granseuer
3828 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3830 * docs/reference/gio/gio-sections.txt:
3831 * gio/gbufferedinputstream.c:
3832 * gio/gbufferedinputstream.h:
3833 * gio/gdatainputstream.c:
3834 * gio/gfileenumerator.c:
3835 * gio/gioscheduler.c:
3836 * gio/gunionvolumemonitor.c:
3838 * programs/gio-save.c:
3839 Fix typo: availible -> available. Unfortuntely this breaks API
3840 and ABI as g_buffered_input_stream_get_available() was renamed.
3842 * gio/gunixmounts.c:
3843 * gio/gbufferedinputstream.c:
3844 Add guards for public functions.
3846 2007-11-06 Ross Burton <ross@openedhand.com>
3848 * docs/reference/gio/Makefile.am:
3849 Fix invalid += usage which automake 1.10 doesn't like.
3851 2007-11-06 Alexander Larsson <alexl@redhat.com>
3854 (g_app_launch_context_class_init):
3857 Patch from Ross Burton
3859 2007-11-06 Alexander Larsson <alexl@redhat.com>
3862 Post release version bump
3864 === gio-standalone 0.1.1 ===
3866 2007-11-06 Alexander Larsson <alexl@redhat.com>
3869 Bump version to 0.1.1
3871 * gio/gsimpleasyncresult.c:
3872 (g_simple_async_result_set_from_error):
3873 Remove bogus g_return_if_fail
3875 2007-11-06 Alexander Larsson <alexl@redhat.com>
3878 The name is gio-standalone
3881 Add top src/builddir to includedir
3883 2007-11-06 Alexander Larsson <alexl@redhat.com>
3885 * docs/reference/gio/gio-sections.txt:
3887 * gio/gbufferedinputstream.c:
3888 * gio/gbufferedoutputstream.c:
3889 * gio/gcancellable.c:
3890 * gio/gdatainputstream.h:
3891 * gio/gdataoutputstream.c:
3892 * gio/gdataoutputstream.h:
3893 * gio/gdirectorymonitor.c:
3895 * gio/gfileattribute.c:
3896 * gio/gfileattribute.h:
3897 * gio/gfileenumerator.c:
3898 * gio/gfileenumerator.h:
3901 * gio/gfileinputstream.h:
3902 * gio/gfilemonitor.c:
3903 * gio/gfileoutputstream.h:
3904 * gio/glocalfilemonitor.h:
3905 * gio/glocalfileoutputstream.h:
3906 * gio/gmemoryinputstream.c:
3907 * gio/gmemoryoutputstream.c:
3908 * gio/gmountoperation.c:
3909 * gio/goutputstream.c:
3910 * gio/goutputstream.h:
3912 * gio/gsimpleasyncresult.c:
3913 * gio/gunixmounts.c:
3914 * gio/gunixmounts.h:
3916 * gio/inotify/inotify-helper.c:
3917 Fix gtk-doc warnings
3919 Patch from Ross Burton
3921 2007-11-06 Alexander Larsson <alexl@redhat.com>
3923 * gio/gfilenamecompleter.c:
3924 (g_filename_completer_get_completions):
3927 * gio/gunixvolume.c:
3928 Remove unused function
3930 Patches from Ross Burton
3932 2007-11-06 Alexander Larsson <alexl@redhat.com>
3937 Padding not needed for interfaces
3939 2007-11-06 Alexander Larsson <alexl@redhat.com>
3941 * gio/gfilemonitor.c:
3945 Make giotypes.h an internal file
3948 * gio/gbufferedinputstream.h:
3949 * gio/gbufferedoutputstream.h:
3950 * gio/gcancellable.h:
3951 * gio/gdatainputstream.h:
3952 * gio/gdataoutputstream.h:
3953 * gio/gdirectorymonitor.c:
3954 * gio/gdirectorymonitor.h:
3959 * gio/gfileattribute.h:
3960 * gio/gfileenumerator.h:
3965 * gio/gfilemonitor.c:
3966 * gio/gfilemonitor.h:
3967 * gio/gfilenamecompleter.c:
3968 * gio/gfilenamecompleter.h:
3969 * gio/gfilterinputstream.h:
3970 * gio/gfilteroutputstream.h:
3971 * gio/ginputstream.h:
3972 * gio/gmemoryinputstream.h:
3973 * gio/gmemoryoutputstream.h:
3974 * gio/gmountoperation.c:
3975 * gio/gmountoperation.h:
3976 * gio/gnativevolumemonitor.c:
3977 * gio/goutputstream.h:
3980 * gio/gsimpleasyncresult.c:
3981 * gio/gsimpleasyncresult.h:
3982 * gio/gsocketinputstream.h:
3983 * gio/gsocketoutputstream.h:
3984 * gio/gthemedicon.c:
3985 * gio/gthemedicon.h:
3989 * gio/gvolumemonitor.c:
3990 * gio/gvolumemonitor.h:
3991 Add padding in classes where it seems useful
3992 Don't include giotypes.h from public headers
3993 Move in Class definitions into c file where possible
3998 2007-11-06 Alexander Larsson <alexl@redhat.com>
4000 * docs/reference/gio/gio-docs.xml:
4001 Better structure for API docs
4003 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4006 * gio/gloadableicon.c:
4007 * gio/gsimpleasyncresult.c:
4008 * gio/gthemedicon.c:
4009 Add some more guards to public functions. Only files missing are now
4012 2007-11-06 Alexander Larsson <alexl@redhat.com>
4014 * docs/reference/gio/gio-docs.xml:
4015 Remove old files, add missing ones
4017 2007-11-06 Alexander Larsson <alexl@redhat.com>
4019 * docs/reference/gio/gio-sections.txt:
4022 Hide implementation classes
4024 * gio/gdriveprivate.h:
4025 * gio/gvolumeprivate.h:
4026 Remove non-existing function declarations
4028 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4031 Fix compilation warnings and add guards to the new functions.
4033 * gio/gasyncresult.c:
4035 Add guards to the public functions.
4038 Implement get_path().
4040 2007-11-06 Alexander Larsson <alexl@redhat.com>
4042 * gio/gfilenamecompleter.c:
4043 Make g_filename_completer_get_completions
4044 return char ** instead of GList for
4047 * docs/reference/gio/gio-docs.xml:
4048 * docs/reference/gio/gio-sections.txt:
4050 * gio/gasyncresult.c:
4051 * gio/gbufferedinputstream.c:
4052 * gio/gbufferedoutputstream.c:
4053 * gio/gcancellable.c:
4054 * gio/gcontenttype.c:
4055 * gio/gdatainputstream.c:
4056 * gio/gdataoutputstream.c:
4057 * gio/gdesktopappinfo.c:
4058 * gio/gdirectorymonitor.c:
4062 * gio/gfileattribute.c:
4063 * gio/gfileenumerator.c:
4066 * gio/gfileinputstream.c:
4067 * gio/gfilemonitor.c:
4068 * gio/gfilenamecompleter.c:
4069 * gio/gfilenamecompleter.h:
4070 * gio/gfileoutputstream.c:
4071 * gio/gfilterinputstream.c:
4073 * gio/ginputstream.c:
4075 * gio/gioscheduler.c:
4076 * gio/gloadableicon.c:
4077 * gio/glocaldirectorymonitor.c:
4079 * gio/glocalfileinputstream.c:
4080 * gio/glocalfilemonitor.c:
4081 * gio/glocalfileoutputstream.c:
4083 * gio/gmemoryinputstream.c:
4084 * gio/gmemoryoutputstream.c:
4085 * gio/gmountoperation.c:
4086 * gio/goutputstream.c:
4087 * gio/gpollfilemonitor.c:
4089 * gio/gsimpleasyncresult.c:
4090 * gio/gsocketinputstream.c:
4091 * gio/gsocketoutputstream.c:
4092 * gio/gthemedicon.c:
4093 * gio/gunionvolumemonitor.c:
4095 * gio/gunixmounts.c:
4096 * gio/gunixvolume.c:
4097 * gio/gunixvolumemonitor.c:
4101 * gio/gvolumemonitor.c:
4102 * gio/gwin32appinfo.c:
4103 Add (mostly stub) doc strings to public functions.
4104 Patch from Andrew Walton (awalton@gmail.com)
4106 2007-11-06 Alexander Larsson <alexl@redhat.com>
4108 * gio/gappinfo.[ch]:
4109 Added GAppLaunchContext object and pass that to launch.
4110 This allows simple implementation of both
4111 launch-on-screen and startup notification via a gtk+
4112 subclass of GAppLaunchContext
4114 * gio/gdesktopappinfo.c:
4115 Implement GAppLaunchContext API
4117 * gio/gwin32appinfo.c:
4120 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4122 * gio/gmountoperation.c:
4123 Add some guards to GMountOperation's public functions.
4125 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4129 * gio/gcancellable.c:
4130 * gio/gdirectorymonitor.c:
4132 * gio/gfileenumerator.c:
4133 * gio/gfilemonitor.c:,
4134 * gio/gfilenamecompleter.c:
4137 * gio/gioscheduler.c:
4141 * gio/gvolumemonitor.c:
4142 Add even more guards to various public functions.
4144 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4147 Add guards to the public functions of GAppInfo.
4149 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4151 * gio/gcontenttype.c:
4152 Add some more guards for public functions.
4154 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4156 * gio/fam/fam-module.c:
4157 * gio/fam/gfamdirectorymonitor.c:
4158 * gio/fam/gfamdirectorymonitor.h:
4159 * gio/fam/gfamfilemonitor.c:
4160 * gio/fam/gfamfilemonitor.h:
4161 * gio/inotify/ginotifydirectorymonitor.c:
4162 * gio/inotify/ginotifydirectorymonitor.h:
4163 * gio/inotify/ginotifyfilemonitor.c:
4164 * gio/inotify/ginotifyfilemonitor.h:
4165 Add proper copyright information and remove an unused variable
4166 in the GInotifyFileMonitor constructor.
4168 * gio/gcancellable.c:
4169 Add a guard for a public function and an assertion to prevent
4170 an undefined program state.
4172 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4174 * gio/gfileattribute.c:
4175 Don't run into an assertion if the given attribute value is NULL
4176 in g_file_attribute_value_get_*() but instead return a fallback
4177 value that makes sense in most situations. Passing them a attribute
4178 value with the wrong type will still run into an assertion.
4180 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4182 * gio/gfileattribute.c:
4184 Add even more guards to the public functions. Also fix the refcounting
4185 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4186 let g_file_info_list_attributes() filter the attributes by namespace
4187 instead of simply ignoring the namespace parameter.
4189 2007-11-03 Sven Herzberg <sven@imendio.com>
4191 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4192 (This makes gio work on MacOS X again)
4194 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4197 Build the gio subdirectory before the docs. Otherwise the build will
4200 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4201 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4202 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4203 Add guards to the public functions.
4205 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4207 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4208 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4209 to prevent a compiler warning.
4211 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4212 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4213 return something in the non-void function find_topdir_for().
4215 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4222 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4224 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4225 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4226 * gwin32appinfo.c (g_win32_app_info_launch):
4227 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4228 envp_for_startup_id, g_desktop_app_info_launch,
4229 g_desktop_app_info_launch_uris):
4231 Give an opaque 'startup_id' string instead of 'envp'.
4232 Support empty file lists for launching new windows.
4233 Fix infinite recursion bug when launching URIs.
4235 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4238 Add guard to the new g_file_get_uri_scheme() function.
4240 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4243 Convert a g_return_val_if_fail() to setting the GError instead as
4244 otherwise applications have to verify the parameter before otherwise
4245 and the parameter might come directly from the user.
4247 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4249 * gio/inotify/ginotify*.[ch]:
4250 Add missing copyright information.
4252 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4255 Add guards in the beginning of public functions to check for valid
4256 parameters and fix a bug in copy_stream_with_progress() that could've
4257 caused writing less bytes than reading.
4258 * gio/glocalfileinfo.c:
4259 Check for a NULL parameter and set the GError accordingly then.
4260 * gio/goutputstream.c:
4261 Fix the same bug as in gfile.c that could've caused writing less bytes
4262 than reading in g_output_stream_real_splice().
4264 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4267 Use the correct gvolumeprivate.h naming
4269 2007-11-01 Christian Kellner <gicmo@gnome.org>
4272 Remove leftover "$(daemon_sources)" entry.
4274 2007-11-01 Christian Kellner <gicmo@gnome.org>
4279 Add copyright information to source files.
4281 2007-11-01 Alexander Larsson <alexl@redhat.com>
4285 Add g_file_get_uri_scheme
4287 2007-11-01 Alexander Larsson <alexl@redhat.com>
4290 * gio/gdesktopappinfo.c:
4291 * gio/gwin32appinfo.c:
4292 Add g_app_info_get_default_for_uri_scheme.
4294 2007-11-01 Alexander Larsson <alexl@redhat.com>
4297 Correct filename for gdriveprivate.h
4299 2007-10-31 Alexander Larsson <alexl@redhat.com>
4302 Rename id:value to id:file
4305 * gio/glocalfileinfo.c:
4308 2007-10-31 Alexander Larsson <alexl@redhat.com>
4310 * gio/gunixvolume.c:
4312 Remove g_volume_get_platform_id, as thats not
4313 needed with the simpler union volume monitor
4315 2007-10-31 Alexander Larsson <alexl@redhat.com>
4318 * gio/guniondrive.[ch]: Removed.
4319 * gio/gunionvolume.[ch]: Removed.
4320 Remove GUnionDrive/Volume
4322 * gio/gunionvolumemonitor.c:
4323 Simplify union volume monitor, now we
4324 only have one native volume monitor and
4325 we use the actual volumes/drives from the
4326 child monitors instead of wrapping them
4328 * gio/gnativevolumemonitor.[ch]:
4329 Base class for native volume monitors.
4330 Includes priority and get_volume_for_mountpoint
4333 Add g_file_find_enclosing_volume
4336 Remove volume name fs attribute
4337 Add readonly fs attribute
4340 Implement readonly attribute
4341 remove volume name attribute
4342 Implement find_enclosing volume
4344 * gio/gunixmounts.c:
4345 Add a volume for "/".
4347 * gio/gunixvolume.[ch]:
4348 Set better name for /
4350 * gio/gunixvolumemonitor.[ch]:
4351 Derive from GNativeVolumeMonitor
4352 Implement get_volume_for_mountpoint
4355 GVolume typedef moved to gfile.h
4357 * gio/gvolumeprivate.h:
4358 Add g_volume_get_for_mount_path
4360 2007-10-31 Alexander Larsson <alexl@redhat.com>
4362 * gio/gunixmounts.[ch]:
4363 Add cache info to unix mount listers
4364 Make getmntent use threadsafe
4365 Add is_system_internal attribute for GUnixMount
4367 * gio/gunixvolume.c:
4368 (g_unix_volume_new):
4369 Use is_system_internal instead of own code
4371 * gio/glocaldirectorymonitor.c:
4372 * gio/gunixvolumemonitor.c:
4373 Update to new gunixmounts API
4378 2007-10-30 Alexander Larsson <alexl@redhat.com>
4381 Add volume name fsinfo attribute
4384 Read volume name info
4386 * gio/gunionvolumemonitor.c:
4387 Fix infinite loops when finalizing a union volume monitor
4389 2007-10-30 Alexander Larsson <alexl@redhat.com>
4391 * gio/goutputstream.[ch]:
4392 Add splice() with default implementation
4394 * gio/gsocketoutputstream.c:
4395 (g_socket_output_stream_write):
4396 Return error on cancellation correctly.
4398 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4400 * gio/glocalfile.c (g_local_file_trash):
4401 Do not leak a string.
4403 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4405 * gio/gfile.c (g_file_load_contents):
4406 Unref the stream after closing it.
4408 2007-10-25 Alexander Larsson <alexl@redhat.com>
4410 * gio/gioscheduler.h:
4413 2007-10-25 Alexander Larsson <alexl@redhat.com>
4417 Add g_file_has_uri_scheme and implement for local files
4419 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4421 * gio/gdesktopappinfo.c: do not leak a string.
4423 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4425 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4426 (g_local_directory_monitor_new):
4427 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4428 (g_local_file_monitor_new):
4429 Only look for the monitor type that should be used the first time
4430 and use g_qsort_with_data() instead of our own bubble sort
4433 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4436 * gio/fam/Makefile.am:
4437 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4438 * gio/fam/fam-helper.h:
4439 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4440 * gio/fam/gfamdirectorymonitor.c:
4441 * gio/fam/gfamdirectorymonitor.h:
4442 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4443 * gio/fam/gfamfilemonitor.h:
4444 * gio/glocaldirectorymonitor.c:
4445 * gio/glocaldirectorymonitor.h:
4446 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4447 * gio/glocalfilemonitor.h:
4448 * gio/inotify/Makefile.am:
4449 * gio/inotify/ginotifydirectorymonitor.c:
4450 * gio/inotify/ginotifydirectorymonitor.h:
4451 * gio/inotify/ginotifyfilemonitor.c:
4452 * gio/inotify/ginotifyfilemonitor.h:
4453 Implement the FAM and Inotify monitors as
4454 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4455 their own GIO module. GLocal(Directory|File)Monitor will use the
4456 monitor with the highest rank that is supported on that machine.
4458 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4461 Change GIO module dir to $(libdir)/gio/modules and change
4462 the log domain from GVFS to GIO. Also only export symbols starting
4463 with g_ in the resulting library.
4464 * gio/test-streams.c: (main):
4465 Set log handler for the GIO log domain.
4467 2007-10-22 Alexander Larsson <alexl@redhat.com>
4469 * gio/gfilenamecompleter.[ch]:
4470 Add g_filename_completer_set_dirs_only
4472 2007-10-22 Alexander Larsson <alexl@redhat.com>
4475 * gio/gurifuncs.[ch]:
4476 Add some simple URI helpers
4478 * gio/gfilenamecompleter.[ch]:
4479 Added object for filename (parse name actually) completion
4482 Handle ~ in parse names
4484 2007-10-17 Alexander Larsson <alexl@redhat.com>
4487 * gio/glocalfileinfo.c:
4488 Add and implement id:value attribute
4490 2007-10-17 Alexander Larsson <alexl@redhat.com>
4493 * gio/guniondrive.c:
4495 Add and implement g_drive_has_volumes
4497 2007-10-17 Alexander Larsson <alexl@redhat.com>
4500 * gio/glocalfileinfo.[ch]:
4501 Add unix:is_mountpoint and implement for local files
4503 2007-10-16 Alexander Larsson <alexl@redhat.com>
4505 * gio/gunionvolumemonitor.c:
4506 (g_union_volume_monitor_init):
4507 Fix up the unix type getting so that it works with gcc
4509 2007-10-12 Alexander Larsson <alexl@redhat.com>
4512 * gio/glocalfileinfo.c:
4513 Add thumbnail:failed to file info
4515 2007-10-12 Richard Hult <richard@imendio.com>
4517 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4518 optimizing away the get_type call (happens with some gcc versions,
4519 like the one shipped with OS X 10.4).
4521 2007-10-12 Alexander Larsson <alexl@redhat.com>
4523 * gio/glocalfileinfo.c:
4524 (_g_local_file_info_set_attribute):
4525 Fix build if not HAVE_XATTR
4526 Patch from Milosz Derezynski <internalerror@gmail.com>
4528 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4530 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4531 around for review, otherwise I would have asked you before
4534 2007-10-11 Alexander Larsson <alexl@redhat.com>
4537 Add thumbnail:path attribute
4539 * gio/glocalfileinfo.c:
4540 Implement thumbnail:path for local files
4542 2007-10-11 Alexander Larsson <alexl@redhat.com>
4544 * gio/glocalfileinfo.c:
4545 (_g_local_file_info_get):
4546 Avoid duplicate icon names
4548 2007-10-11 Alexander Larsson <alexl@redhat.com>
4550 * gio/gthemedicon.[ch]:
4551 Change g_themed_icon_get_names return type to const
4553 2007-10-10 Alexander Larsson <alexl@redhat.com>
4555 * gio/glocalfileinfo.c:
4556 Don't reference freed memory
4558 2007-10-10 Alexander Larsson <alexl@redhat.com>
4560 * gio/gfileattribute.c:
4563 * gio/glocalfileinfo.c:
4566 2007-10-10 Alexander Larsson <alexl@redhat.com>
4569 Check for NULL icons
4571 * gio/gfileattribute.c:
4572 Don't dup when getting objects (same as for string attributes)
4574 * gio/gicon.c (g_icon_equal):
4575 Safely handle NULLs in equal
4577 2007-10-10 Alexander Larsson <alexl@redhat.com>
4580 Fix c++ compilation issues
4581 Patch from Milosz Derezynski <internalerror@gmail.com>
4583 2007-10-10 Alexander Larsson <alexl@redhat.com>
4585 * programs/gio-monitor-dir.c:
4586 Don't crash if dir monitor not supported.
4588 2007-10-09 Alexander Larsson <alexl@redhat.com>
4591 Add missing G_END_DECLS
4593 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4595 * gio/gfile.c: (g_file_set_display_name),
4596 (g_file_query_settable_attributes),
4597 (g_file_query_writable_namespaces):
4598 Return NULL not FALSE on errors as the return type is a pointer.
4600 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4602 * gio/glocalfile.c: (g_local_file_monitor_file):
4603 Don't call monitor_file on the default interface vtable (which
4604 is NULL) but simply return NULL. The caller, GFile, will create a
4605 polling monitor if NULL is returned.
4607 2007-10-09 Alexander Larsson <alexl@redhat.com>
4611 * gio-unix-2.0.pc.in:
4612 Add gio-unix-2.0.pc if OS_UNIX
4615 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4617 2007-10-09 Alexander Larsson <alexl@redhat.com>
4619 * gio/gunixmounts.[ch]:
4620 Make unix mount monitoring API sane.
4621 Now its just a object with mounts_changed
4622 and mountpoints_changed signals.
4624 * gio/glocaldirectorymonitor.c:
4625 * gio/gunixvolumemonitor.c:
4626 Use new mount monitor api
4628 2007-10-09 Alexander Larsson <alexl@redhat.com>
4630 * gio/gunixmounts.[ch]:
4631 Move guess type into one call for mounts and one for mountpoints
4634 * gio/gunixvolume.c:
4637 2007-10-09 Alexander Larsson <alexl@redhat.com>
4639 * gio/gunixmounts.[ch]:
4640 Remove _ prefix in preparation to make this semi-public
4641 Hide implementation of structs
4643 * gio/glocaldirectorymonitor.c:
4645 * gio/gunixvolume.c:
4646 * gio/gunixvolumemonitor.c:
4647 Update for above API changes
4649 2007-10-08 Alexander Larsson <alexl@redhat.com>
4652 Better polling fallback. This also handles the case where we have
4653 a monitor_file implementation, but it fails.
4655 2007-10-08 Alexander Larsson <alexl@redhat.com>
4659 * gio/gunixmounts.c:
4660 * programs/gio-monitor-dir.c:
4661 * programs/gio-monitor-file.c:
4662 Added cancellable to file monitoring calls.
4663 These are really sync calls and need this.
4665 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4667 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4668 (g_local_vfs_class_init):
4669 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4670 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4672 2007-10-05 Alexander Larsson <alexl@redhat.com>
4674 * gio/gdirectorymonitorprivate.h:
4675 * gio/gfilemonitorprivate.h:
4676 * gio/gdirectorymonitor.h:
4677 * gio/gfilemonitor.h:
4678 Remove *private.h and move to the public API, so that
4679 we can do implementations outside gio (such as in gvfs)
4681 * gio/gdirectorymonitor.c:
4682 * gio/gfilemonitor.c:
4683 * gio/glocaldirectorymonitor.c:
4684 * gio/gpollfilemonitor.c:
4685 * gio/inotify/inotify-helper.c:
4686 * gio/fam/fam-helper.c:
4687 Update to the new header names
4689 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4691 * gio/gdirectorymonitor.c:
4692 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4695 2007-10-04 Alexander Larsson <alexl@redhat.com>
4697 * gio/glocalfileinfo.c (get_access_rights):
4698 Set CAN_TRASH when we can move the file.
4699 We should really also check for a parent trash dir.
4701 2007-10-04 Alexander Larsson <alexl@redhat.com>
4703 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4704 Add can_trash access attribute
4706 2007-10-04 Alexander Larsson <alexl@redhat.com>
4709 (g_local_file_trash):
4710 Create info file first. This is per-spec and allows
4711 us to actually trash directories.
4713 2007-10-02 Alexander Larsson <alexl@redhat.com>
4715 * gio/gdesktopappinfo.c:
4716 Implement the new mime support code.
4717 Always set app as handling mimetype when being set as default for it
4719 2007-10-01 Alexander Larsson <alexl@redhat.com>
4721 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4722 Fix up check for xattrs:
4724 2007-10-01 Alexander Larsson <alexl@redhat.com>
4727 (g_app_info_set_as_default_for_extension):
4728 (g_app_info_add_supports_type):
4729 (g_app_info_can_remove_supports_type):
4730 (g_app_info_remove_supports_type):
4731 Make these fail nicely if not implemented
4733 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4735 * gio/glocalfileoutputstream.c:
4736 * gio/glocalfileoutputstream.h:
4741 * programs/gio-save.c:
4742 Add a GFileCreateFlags argument to operations that can create
4745 2007-10-01 Alexander Larsson <alexl@redhat.com>
4747 * gio/gappinfo.[ch]:
4748 * gio/gdesktopappinfo.c:
4749 Add more (stubbed out) mime API needed for nautilus
4751 2007-10-01 Alexander Larsson <alexl@redhat.com>
4754 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4755 Add g_app_info_set_as_default_for_extension.
4757 * gio/gdesktopappinfo.c:
4758 Dummy for g_app_info_set_as_default_for_extension
4759 Support flags in g_app_info_create_from_commandline
4761 * gio/gwin32appinfo.c:
4763 Update for API changes
4765 * gio/gthemedicon.c:
4766 Properly NULL-terminate list of icon names
4768 2007-09-28 Alexander Larsson <alexl@redhat.com>
4770 * gio/gloadableicon.h:
4771 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4773 2007-09-28 Alexander Larsson <alexl@redhat.com>
4776 Install headers in $includedir/gio-standalone/
4778 * gio-2.0.pc.in: Added.
4779 * gio-standalone.pc.in: Removed.
4782 Renamed pkg-config file to match glib (for future move)
4783 Update to the new include dir
4786 Add more TODO comments
4788 2007-09-28 Alexander Larsson <alexl@redhat.com>
4790 * gio/gdesktopappinfo.[ch]:
4791 Expose new_from_filename
4792 Add getter for is_hidden and handle it better
4794 2007-09-28 Alexander Larsson <alexl@redhat.com>
4796 * gio/gfileinfo.[ch]:
4797 Rename g_file_size_format_for_display to
4798 g_format_file_size_for_display.
4799 Now it doesn't have the g_file prefix, so we
4800 can later move it to glib.
4802 2007-09-28 Alexander Larsson <alexl@redhat.com>
4804 * gio/gappinfo.[ch]:
4805 Add g_app_info_get_id and g_app_info_get_executable.
4806 Make all getters non-reffing
4807 Make g_app_info_launch take GFile arguments.
4808 Add must_support_uris argument to g_app_info_get_default_for_type.
4810 * gio/gwin32appinfo.c:
4811 Update to GAppInfo api changes
4813 * gio/gdesktopappinfo.c:
4814 Update to GAppInfo api changes
4815 Implement supports_xdg_startup_notify
4817 * gio/gfileicon.c (g_file_icon_get_file):
4818 Make getter non-reffing.
4823 2007-09-27 Alexander Larsson <alexl@redhat.com>
4825 * gio/gfileinfo.[ch]:
4826 Add g_file_size_format_for_display helper
4828 2007-09-27 Alexander Larsson <alexl@redhat.com>
4830 * gio/glocalfileinfo.c:
4831 Set UNIX_GID from gid, not from uid
4833 2007-09-27 Alexander Larsson <alexl@redhat.com>
4836 Add g_file_set_attributes_async
4838 2007-09-27 Alexander Larsson <alexl@redhat.com>
4840 * gio/glocalfile.c (g_local_file_set_display_name):
4841 Fix set_display_name to actually rename to the right place.
4842 Use lstat to look for existing files so we don't overwrite
4845 2007-09-26 Alexander Larsson <alexl@redhat.com>
4848 Add g_file_set_display_name_async()
4850 2007-09-26 Alexander Larsson <alexl@redhat.com>
4853 Add load_partial_contents async calls
4856 Make internal function static
4858 2007-09-26 Alexander Larsson <alexl@redhat.com>
4860 * gio/glocalfileinfo.c:
4861 Correctly detect broken symlinks
4863 2007-09-26 Alexander Larsson <alexl@redhat.com>
4865 * gio/gcancellable.c (g_cancellable_cancel):
4866 Allow cancel on NULL cancellable
4868 2007-09-25 Alexander Larsson <alexl@redhat.com>
4870 * gio/gsimpleasyncresult.c:
4871 Don't allocate g_error manually.
4872 Fixes g_slice/g_new mixup crash
4874 2007-09-25 Alexander Larsson <alexl@redhat.com>
4876 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4877 Actually set active_backend.
4878 This means the monitor will be cancelled correctly.
4880 2007-09-25 Alexander Larsson <alexl@redhat.com>
4882 * gio/gdirectorymonitor.c:
4883 Set timeout to NULL when destroying
4885 2007-09-25 Alexander Larsson <alexl@redhat.com>
4888 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4889 that is a better description of the error.
4891 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4893 * gio/gvfs.c: (g_vfs_get_local):
4894 Make the local vfs variable static. The same instance should
4897 2007-09-24 Alexander Larsson <alexl@redhat.com>
4899 * gio/glocalfileinfo.c:
4900 Pass in actual length read into sniffer, not the length
4903 2007-09-21 Alexander Larsson <alexl@redhat.com>
4905 * gio/gfileenumerator.c:
4908 * gio/gfileinputstream.c:
4909 * gio/gfileoutputstream.c:
4910 * gio/ginputstream.c:
4911 * gio/goutputstream.c:
4912 Don't crash if async callbacks are NULL
4914 2007-09-20 Alexander Larsson <alexl@redhat.com>
4917 Add async enumerate_children method and default
4920 2007-09-20 Alexander Larsson <alexl@redhat.com>
4923 Add g_file_contains_file & g_file_get_relative_path, since they
4924 were needed for nautilus.
4925 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4930 Implement new methods
4932 2007-09-17 Alexander Larsson <alexl@redhat.com>
4935 * gio/gfileinputstream.[ch]:
4936 * gio/gfileoutputstream.[ch]:
4938 * gio/glocalfileenumerator.[ch]:
4939 * gio/glocalfileinfo.[ch]:
4940 * gio/glocalfileinputstream.c:
4941 * gio/glocalfileoutputstream.c:
4942 * gio/gpollfilemonitor.c:
4943 * programs/gio-copy.c:
4944 * programs/gio-info.c:
4945 * programs/gio-move.c:
4946 Rename get_file_info to query_info() to make it clearer
4947 that these are not simple getters, but do i/o.
4949 2007-09-17 Alexander Larsson <alexl@redhat.com>
4951 * gio/gdatainputstream.[ch]:
4952 * gio/test-streams.c:
4953 Use _read_XXX instead of _get_XXX for the i/o calls
4956 2007-09-17 Alexander Larsson <alexl@redhat.com>
4959 Added needed stuff to TODO comment
4961 2007-09-17 Alexander Larsson <alexl@redhat.com>
4963 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4964 Don't error out removing the backup copy if it doesn't
4967 2007-09-14 Alexander Larsson <alexl@redhat.com>
4969 * programs/Makefile.am:
4970 * programs/gvfs-*.c:
4972 Renamed apps from gvfs-xxx to gio-xxx.
4974 2007-09-14 Alexander Larsson <alexl@redhat.com>
4977 * gio/gfileoutputstream.[ch]:
4978 * gio/glocalfileoutputstream.c:
4979 * programs/gvfs-save.c:
4980 g_file_output_stream_get_etag doesn't do i/o, so remove
4981 cancellation and error.
4983 2007-09-14 Alexander Larsson <alexl@redhat.com>
4986 Add new_etag output to replace_contents functions
4988 2007-09-14 Alexander Larsson <alexl@redhat.com>
4990 * gio/gfileoutputstream.[ch]:
4991 Add async get_file_info and default implementation
4993 2007-09-14 Alexander Larsson <alexl@redhat.com>
4995 * gio/gfileinputstream.c:
4996 Implement fallback wrapper for async get_file_info
4998 2007-09-14 Alexander Larsson <alexl@redhat.com>
5001 Add etag out argument to load_contents
5006 2007-09-14 Alexander Larsson <alexl@redhat.com>
5008 * gio/gcontenttype.c (looks_like_text):
5009 Whitespace like tab, cr and lf do not make the
5012 2007-09-14 Alexander Larsson <alexl@redhat.com>
5014 * gio/gfileinputstream.[ch]:
5015 Add async get_file_info.
5017 2007-09-13 Alexander Larsson <alexl@redhat.com>
5019 * gio/goutputstream.c (g_output_stream_write_all):
5020 Allow NULL for bytes_written
5022 2007-09-13 Alexander Larsson <alexl@redhat.com>
5024 * gio/gmemoryinputstream.[ch]:
5025 Add accessors for data
5027 2007-09-13 Alexander Larsson <alexl@redhat.com>
5029 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5030 Don't crash if length is NULL