1 2008-09-15 Matthias Clasen <mclasen@redhat.com>
3 Bug 551681 – g_content_type_guess() too naive with filenames
5 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
6 at the end of the filename, and declare it a directory.
7 Patch by Bastien Nocera
9 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
11 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
14 * gdesktopappinfo.c: add a note in the docs clarifying what the
15 "filename" parameter really is.
17 2008-09-12 Tor Lillqvist <tml@novell.com>
19 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
20 FormatMessage() etc here. Call g_win32_error_message() instead
21 which already does all that. Besides, the code was broken as it
22 called the default "A" version of FormatMessage() but still
23 thought it produced a wide string.
25 2008-09-12 Michael Natterer <mitch@imendio.com>
27 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
30 2008-09-08 Christian Neumair <cneumair@gnome.org>
32 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
33 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
34 Use non-blocking pipe for mount helper I/O. Fixes #550647.
36 2008-09-06 Matthias Clasen <mclasen@redhat.com>
38 Bug 551149 – xdgmime mem leak
40 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
41 a memory leak. Patch by Christian Persch
43 2008-09-04 Tor Lillqvist <tml@novell.com>
45 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
48 2008-09-02 Matthias Clasen <mclasen@redhat.com>
50 * === Released 2.18.0 ===
52 2008-09-02 Michael Natterer <mitch@imendio.com>
54 * *.h: big header formatting cleanup: indentation, vtable
55 formatting, consistent spacing in (* vfunc), trailing whitespace
56 removal. Formatting should be pretty consistent in all GIO headers
59 2008-09-02 Matthias Clasen <mclasen@redhat.com>
61 * gmount.h: Document guess_content_type sync vfunc.
63 2008-09-02 Michael Natterer <mitch@imendio.com>
65 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
66 fix parent_class member to be GFilterOutputStreamClass (not
67 GOutputStreamClass). Drop three pointers of padding, which is
68 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
69 so the class struct size stays the same.
71 2008-09-02 Matthias Clasen <mclasen@redhat.com>
73 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
75 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
76 nonexisting return values. Pointed out by Cosimo Cecchi.
78 2008-08-23 Tor Lillqvist <tml@novell.com>
80 Bug 548988 - g_file_replace fails on Windows when the target file
83 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
84 Windows, close the file before potentially renaming it (in case we
85 have been writing to a file with a temporary name).
87 (g_local_file_output_stream_close, handle_overwrite_open): Use
88 GLocalFileStat instead of plain struct stat, for passing to
89 _g_local_file_info_create_etag(). Thus also use _fstati64()
90 instead of plain fstat() on Windows.
92 2008-08-18 Matthias Clasen <mclasen@redhat.com>
94 * === Released 2.17.7 ===
96 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
98 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
101 2008-08-13 Tor Lillqvist <tml@novell.com>
103 * win32/gwinhttpvfs.c
104 * win32/gwinhttpvfs.h
105 * win32/gwinhttpfile.c
106 * win32/gwinhttpfileinputstream.c
107 * win32/gwinhttpfileoutputstream.c: Refactor some common code
108 snippets into helper functions. Check HTTP response status
109 codes. Implement g_winhttp_file_query_info(), looking at
110 Content-Length, Content-Type and Last-Modified.
112 * win32/winhttp.h: Add some symbolic constants that are not
113 publicly documented. Just a handful, so it should be OK to use
114 information from the Windows SDK's headers.
116 2008-08-13 Tor Lillqvist <tml@novell.com>
118 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
121 * win32/gwin32directorymonitor.c
122 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
124 2008-08-13 Matthias Clasen <mclasen@redhat.com>
127 * goutputstream.c: Add intro docs.
129 2008-08-13 Tor Lillqvist <tml@novell.com>
131 * win32/gwinhttpfileoutputstream.c
132 (g_winhttp_file_output_stream_write): Don't write the
133 Content-Length header ourselves, WinHttpSendRequest() takes care
134 of that when the dwTotalLength parameter is non-zero. Increment
135 offset by the number of actual bytes sent, although I wonder if
136 such a scenario is possible where less than requested would be
137 sent and accepted by the server without errors.
139 2008-08-13 Tor Lillqvist <tml@novell.com>
141 * win32/gwinhttpvfs.c
142 * win32/gwinhttpvfs.h
143 * win32/gwinhttpfile.c
144 * win32/gwinhttpfile.h
145 * win32/gwinhttpfileinputstream.c
146 * win32/gwinhttpfileinputstream.h
147 * win32/gwinhttpfileoutputstream.c
148 * win32/gwinhttpfileoutputstream.h: New files implementing
149 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
150 Windows. The implementation uses the WinHttp API. Both reading and
151 writing are supported, i.e. GET and PUT requests. When writing,
152 each write call is done using a separate PUT request with a
153 Content-Range header. Requests for file URIs and plain pathnames
154 are forwarded to GLocalVfs.
156 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
157 WINE. Used as there is no <winhttp.h> bundled with mingw, and
158 requiring people to download the Windows SDK just for this one
159 header is not reasonable.
161 * win32/Makefile.am: Add above files.
163 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
164 the plumbing for the above.
166 2008-08-11 Sven Neumann <sven@gimp.org>
168 * gfilenamecompleter.c
169 * glocaldirectorymonitor.c
171 * gunionvolumemonitor.c
175 * gunixvolumemonitor.c
178 * gwin32volumemonitor.c: use canonical signal names.
180 2008-08-11 Tor Lillqvist <tml@novell.com>
182 * Makefile.am: Put a list of the platform-dependent .la files in
183 the subdirectories in the platform_deps Make variable, and make
184 libgio-2.0.la depend on that, so that it gets relinked if one of
185 the dependent libraries has changed.
187 2008-08-11 Tor Lillqvist <tml@novell.com>
189 * Makefile.am (platform_libadd): Remove -lwininet which had been
190 added by mistake. We will probably eventually be using WinHTTP,
191 not the older WinInet anyway. (Actually I am working on it.)
193 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
195 Bug 547080 – g_file_copy leaks expected errors
197 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
198 before trying the next fallback routine.
200 2008-08-09 Loïc Minier <lool@dooz.org>
202 Bug 535124 – umask 002 not being applied for new directories, new
203 files get the correct umask
205 * gfile.c (g_file_make_directory)
206 (g_file_make_directory_with_parents): Document ownership and
207 permissions of newly created directories as being the default
210 2008-08-08 Loïc Minier <lool@dooz.org>
212 Bug 535124 – umask 002 not being applied for new directories, new
213 files get the correct umask
215 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
218 2008-08-08 Tor Lillqvist <tml@novell.com>
220 * gwin32mount.c: Remove unused code. Whitespace cleanup.
222 * gwin32volumemonitor.c (get_connected_drives): Put questionable
223 code that didn't actually do anything inside #if 0, and add a
224 comment wondering what the code was supposed to do. This also gets
225 rid of a leftover debugging printout.
227 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
229 * gfileicon.c (g_file_icon_get_property)
230 (g_file_icon_set_property): New functions.
231 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
233 (g_file_icon_new): Use the property (bug #546132).
235 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
237 * gthemedicon.c (g_themed_icon_get_property): Also handle
238 `PROP_USE_DEFAULT_FALLBACKS'.
239 (g_themed_icon_class_init): Make
240 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
242 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
244 Bug 546371 – Improve docs re g_file_monitor
246 * gfilemonitor.c: Mention g_file_monitor() in the docs.
248 2008-08-04 Matthias Clasen <mclasen@redhat.com>
250 * === Released 2.17.6 ===
252 2008-08-04 Matthias Clasen <mclasen@redhat.com>
254 * === Released 2.17.5 ===
256 2008-08-04 Matthias Clasen <mclasen@redhat.com>
258 Bug 546017 – Don't copy attributes when copying a symlink
260 * gfile.c (g_file_copy_attributes): Specify
261 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
262 g_file_set_attributes_from_info. Patch by Christian Kellner
264 2008-08-04 Matthias Clasen <mclasen@redhat.com>
266 * gemblemedicon.[hc]:
268 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
269 a bit more extensible. Work by Clemens Buss.
271 * gioenums.h: Add GEmblemOrigin.
274 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
276 Bug 546079 – leak in xdgmime
278 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
280 2008-08-03 Tor Lillqvist <tml@novell.com>
282 * win32/gwin32directorymonitor.h
283 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
286 2008-08-03 Tor Lillqvist <tml@novell.com>
288 * win32/gwin32directorymonitor.c
289 (g_win32_directory_monitor_callback): Make prototype match
290 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
291 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
294 (g_win32_directory_monitor_constructor):
295 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
296 names in the GLib API on Windows, so convert to UTF-16 and open
299 2008-08-03 Tor Lillqvist <tml@novell.com>
301 Bug 541036 - Gnumeric crashes when trying to open Desktop or
302 user's folder under Windows
304 * win32/gwin32directorymonitor.c
305 (g_win32_directory_monitor_constructor): Ignore error from
306 CreateFile() when opening directory. Instead of asserting, just
307 store INVALID_HANDLE_VALUE then in
308 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
309 ReadDirectoryChangesW().
310 (g_win32_directory_monitor_cancel): Don't attempt to close
311 directory handle if it is INVALID_HANDLE_VALUE.
313 2008-08-01 Matthias Clasen <mclasen@redhat.com>
315 * gdesktopappinfo.c: Remove debug spew
317 2008-08-01 Hans Breuer <hans@breuer.org>
319 * makefile.msc : add gemblembedicon
321 2008-07-30 Matthias Clasen <mclasen@redhat.com>
323 Bug 545457 – gdmsetup crashed with SIGSEGV in
324 g_unix_mount_guess_should_display()
326 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
327 crash if no mount is found.
329 2008-07-28 Matthias Clasen <mclasen@redhat.com>
331 Bug 545203 – gfile.c: argument is different type.
333 * gfile.c (open_read_async_thread): Pass a GError **
334 to g_file_set_error_literal.
335 Reported by Kazuki Iwamoto
337 2008-07-28 Matthias Clasen <mclasen@redhat.com>
339 Bug 545157 – wrong/no list of "open with" applications for .cc and
342 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
343 Collect all ancestors, not just direct parents. Pointed
344 out by Bastien Nocera
346 2008-07-28 Matthias Clasen <mclasen@redhat.com>
348 * Makefile.am: Install gemblemedicon.h
350 2008-07-28 Matthias Clasen <mclasen@redhat.com>
352 * gemblemedicon.[hc]: Add a GIcon implementation that can
353 add an emblem to another icon.
360 * gfileicon.c: Small documentation additions.
362 2008-07-28 Tor Lillqvist <tml@novell.com>
364 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
367 2008-07-27 Tor Lillqvist <tml@novell.com>
369 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
371 2008-07-24 David Zeuthen <davidz@redhat.com>
375 Also export a g_mount_guess_content_type_sync() function.
377 2008-07-23 Matthias Clasen <mclasen@redhat.com>
379 529694 – SELinux context setting support
381 * gfileinfo.c: Support setting selinux attributes.
382 Patch by Tomas Bzatek
384 2008-07-22 Priit Laes <plaes@plaes.org>
386 Bug 544140 - fam-helper 64-bit issue?
388 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
390 2008-07-21 Matthias Clasen <mclasen@redhat.com>
392 * === Released 2.17.4 ===
394 2008-07-20 Matthias Clasen <mclasen@redhat.com>
396 * gvolumemonitor.[hc]:
401 * gmount.c: Documentation fixes
403 2008-07-19 Matthias Clasen <mclasen@redhat.com>
405 543504 – crash in Epiphany Web Browser: Opening local file
416 * gvolume.c: Register types thread-safely.
417 Patch by Christian Persch
419 2008-07-18 Matthias Clasen <mclasen@redhat.com>
421 * gcontenttype.c: Remove debug spew
423 2008-07-18 Matthias Clasen <mclasen@redhat.com>
425 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
428 * fen/fen-kernel.c: Remove a warning that was causing
429 crashes. Reported by Lin Ma.
431 2008-07-18 Matthias Clasen <mclasen@redhat.com>
433 Bug 543040 – async reading on dummy file will crash on
436 * gfile.c (open_read_async_thread): Cope with read_fn being
437 NULL. Reported by Lin Ma.
439 2008-07-18 Matthias Clasen <mclasen@redhat.com>
442 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
444 2008-07-16 Matthias Clasen <mclasen@redhat.com>
448 * giomodule.c: Rename a chapter id to avoid filename conflict.
450 2008-07-16 Matthias Clasen <mclasen@redhat.com>
452 Bug 540616 – mem leak in filechooser button
454 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
455 the mount entry. Reported by Chrisitan Persch
457 2008-07-16 Matthias Clasen <mclasen@redhat.com>
459 * gfile.c: Small documentation fixes.
461 2008-07-15 Matthias Clasen <mclasen@redhat.com>
463 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
465 2008-07-08 Matthias Clasen <mclasen@redhat.com>
470 * gmount.c: Documentation improvements.
472 2008-07-08 Matthias Clasen <mclasen@redhat.com>
475 * gmount.[hc]: Add g_mount_guess_content_type().
477 2008-07-06 David Zeuthen <davidz@redhat.com>
480 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
481 is needed for easily handling adoption of foreign volumes by
482 out-of-process volume monitors (#541793)
484 2008-07-06 David Zeuthen <davidz@redhat.com>
486 * gvolumemonitor.[ch]:
487 * gunionvolumemonitor.c: Export the eject-button signal on the
488 volume monitor class (#541794).
490 2008-07-06 Matthias Clasen <mclasen@redhat.com>
492 * gappinfo.c: More doc tweaks
494 2008-07-05 Matthias Clasen <mclasen@redhat.com>
496 * gappinfo.c: Clarify some docs
498 2008-07-03 Matthias Clasen <mclasen@redhat.com>
500 * gdesktopappinfo.c: Fix a stupid mistake.
502 2008-07-02 Matthias Clasen <mclasen@redhat.com>
504 * === Released 2.17.3 ===
506 2008-07-02 Matthias Clasen <mclasen@redhat.com>
508 * gfilemonitor.c: Fix the build.
510 2008-07-02 Matthias Clasen <mclasen@redhat.com>
512 Bug 536160 – Add g_file_monitor()
515 * gfile.[hc]: Add g_file_monitor which can return either
516 a file or a directory monitor. Proposed by Behdad Esfahbod
518 2008-07-02 Matthias Clasen <mclasen@redhat.com>
520 536733 – gio build failure on Irix
522 * glocalfile.c: Use a configure check for structfs.f_bavail.
524 2008-07-02 Matthias Clasen <mclasen@redhat.com>
526 Bug 534639 – add g_desktop_app_info_new_from_keyfile
529 * gdesktopappinfo.[hc]: Add a function to create a
530 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
532 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
534 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
536 2008-07-01 Matthias Clasen <mclasen@redhat.com>
538 * gunixmounts.c: Fix a doc typo.
540 2008-07-01 Cody Russell <bratsche@gnome.org>
542 * gio/gcontenttype.c:
543 * gio/gwin32appinfo.c:
544 * gio/gwin32volumemonitor.c:
545 * gio/gwin32mount.c: Fixed some include problems.
547 2008-07-01 Cody Russell <bratsche@gnome.org>
551 Moved all relevant typedefs into these files.
554 Updated wrt added files.
556 Split types into separate file for easier maintainership. (#538564)
558 2008-06-30 Matthias Clasen <mclasen@redhat.com>
560 Bug 540331 – g_file_append_to () documentation: can return NULL
562 * gfile.c (g_file_append_to): Clarify docs.
565 2008-06-30 Matthias Clasen <mclasen@redhat.com>
567 Bug 539090 – g_content_type_from_mime_type() should unalias
569 * gcontentype.c (g_content_type_from_mime_type): Unalias.
570 Patch by Markus Bergman
572 2008-06-30 Matthias Clasen <mclasen@redhat.com>
574 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
577 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
578 on ppc and alpha. Reported by Mart Raudsepp
580 2008-06-29 Matthias Clasen <mclasen@redhat.com>
583 * tests/memory-output-stream.c: Add some tests for
586 2008-06-29 Matthias Clasen <mclasen@redhat.com>
588 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
591 * gmemoryoutputstream.c (array_resize): Handle truncation to
592 zero correctly. Reported by Akira Tagoh
594 2008-06-29 Matthias Clasen <mclasen@redhat.com>
596 * gmemoryoutputstream.c: Trivial doc fixes
598 2008-06-29 Matthias Clasen <mclasen@redhat.com>
600 Bug 540802 – g_list_prepend doesn't concat lists
602 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
603 one list to another. Pointed out by Jan Arne Petersen
605 2008-06-28 Michael Natterer <mitch@imendio.com>
607 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
609 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
611 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
612 to avoid problems with partial icon themes.
614 2008-06-17 Hans Breuer <hans@breuer.org>
616 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
617 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
618 access again on win32, see bug #538127
619 * giomodule.c : ensure GWin32VolumeMonitor is registered
620 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
621 * Makefile.am makefile.msc : updated
623 2008-06-16 Hans Breuer <hans@breuer.org>
625 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
626 and initialization in one step avoids c99ism
628 2008-06-16 Christian Persch <chpe@gnome.org>
631 * gio/gbufferedinputstream.c
633 * gio/gdatainputstream.c
634 * gio/gdesktopappinfo.c
636 * gio/gfileenumerator.c
637 * gio/gfileinputstream.c
638 * gio/gfileoutputstream.c
640 * gio/glocaldirectorymonitor.c
642 * gio/glocalfileenumerator.c
643 * gio/glocalfileinfo.c
644 * gio/glocalfilemonitor.c
645 * gio/glocalfileoutputstream.c
646 * gio/gmemoryinputstream.c
647 * gio/gmemoryoutputstream.c
648 * gio/goutputstream.c
649 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
652 2008-06-16 Tor Lillqvist <tml@novell.com>
654 Bug 538362 - Get Win32 icons back in the file chooser
656 * gcontenttype.c (g_content_type_get_icon): Look up the icon
657 corresponding to a file extension in the Registry. Patch by Hans
659 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
661 2008-06-16 Tor Lillqvist <tml@novell.com>
663 Patches by Hans Breuer:
665 * glocalfile.c (is_xp_or_later): Handle compiling against older
666 SDK headers with missing VerifyVersionInfo(). Conditioned on
667 _MSC_VER, but should probably use some better test.
668 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
669 uninitialised statfs_result variable on Win32.
671 2008-06-16 Michael Natterer <mitch@imendio.com>
673 * *.c: chain up unconditionally in finalize() and dispose(). Also
674 don't dereference these function pointers when calling them since
675 that has no meaning at all.
677 2008-06-16 Ross Burton <ross@burtonini.com>
680 Remove check for dispose implementation as it annoys Emmanuele.
682 2008-06-16 Ross Burton <ross@burtonini.com>
684 Bug 536252 – GFileEnumerator should allow access to the containing
690 Add g_file_enumerator_get_container() and a container writeable
691 construct-only property. Also shuffle around typedefs to make it
694 * glocalfileenumerator.c:
695 * glocalfileenumerator.h:
697 Instead of a string filename take a GFile in the constructor and
698 use it to set the container property.
703 2008-06-16 Matthias Clasen <mclasen@redhat.com>
705 * gfile.c: Make includes more uniform
707 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
709 * tests/live-g-file.c (sample_struct):
710 Use less fancy unicode filenames, so the test doesn't fail
711 on Mac OS X (#531476).
713 2008-06-12 Matthias Clasen <mclasen@redhat.com>
715 * === Released 2.17.2 ===
717 2008-06-12 Matthias Clasen <mclasen@redhat.com>
719 * === Released 2.17.1 ===
721 2008-06-11 A. Walton <awalton@gnome.org>
723 * tests/g-file.c (test_g_file_new_null):
724 Fix broken test case.
726 2008-06-11 Matthias Clasen <mclasen@redhat.com>
728 * pltcheck.sh: We use g_clear_error now.
730 2008-06-11 Matthias Clasen <mclasen@redhat.com>
732 * glocalfile.c (g_local_file_enumerate_children): Revert
733 an unintended change.
735 2008-06-11 Matthias Clasen <mclasen@redhat.com>
737 * gfile.c (g_file_replace_contents): Don't unref before the last use.
739 2008-06-10 Matthias Clasen <mclasen@redhat.com>
741 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
744 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
745 as icon for the desktop directory, also make user-home and
746 user-desktop the preferred icons.
748 2008-06-10 Matthias Clasen <mclasen@redhat.com>
751 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
752 to add a name to the front of the list.
754 2008-06-10 Matthias Clasen <mclasen@redhat.com>
756 Bug 537392 – Additional colon in xattr name
758 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
759 too. Reported by Alessandro Morandi
761 2008-06-10 Matthias Clasen <mclasen@redhat.com>
763 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
766 * glocalfile.c (get_fs_type): Add afs and autofs.
767 Patch by Danny Baumann.
769 2008-06-10 Matthias Clasen <mclasen@redhat.com>
771 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
773 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
774 is no parent. (Owen Taylor, patch by Christian Neumair)
776 2008-06-10 Paolo Borelli <pborelli@katamail.com>
778 * gfile.c (g_file_replace_contents): do not leak the output stream.
780 2008-06-10 Michael Natterer <mitch@imendio.com>
782 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
783 uninitialized memory as array index.
785 2008-06-10 Tor Lillqvist <tml@novell.com>
787 * gcontenttype.c (g_content_type_can_be_executable)
788 (g_content_type_get_icon) [Win32]: Add TODO comments.
790 2008-06-09 Matthias Clasen <mclasen@redhat.com>
792 * xdgmime/Makefile.am: Fix the build
794 2008-06-09 Matthias Clasen <mclasen@redhat.com>
796 * gcontenttype.c (g_content_type_get_icon): Use icons specified
797 in the shared mime database, if available.
799 * xdgmime/*: Sync with upstream. This brings support for
800 glob weights, generic icons, and changes the cache format to
803 2008-05-28 Michael Natterer <mitch@imendio.com>
805 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
806 the global CPPFLAGS now.
808 * tests/data-input-stream.c
809 * tests/data-output-stream.c
810 * tests/g-file-info.c
812 * tests/live-g-file.c
813 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
815 2008-05-27 Matthias Clasen <mclasen@redhat.com>
817 * === Released 2.17.0 ===
819 * tests/live-g-file.c: Clean up after the tests, so make distcheck
820 doesn't complain about leftover files.
822 2008-05-27 simon.zheng <simon.zheng@sun.com>
824 * glocalfile.c: (g_local_file_query_filesystem_info):
825 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
827 2008-05-26 Michael Natterer <mitch@imendio.com>
829 * gmemoryoutputstream.h: declare
830 g_memory_output_stream_get_data_size().
832 2008-05-26 Matthias Clasen <mclasen@redhat.com>
834 * tests/*: Make tests work
836 2008-05-26 Matthias Clasen <mclasen@redhat.com>
838 * gio.symbols: Add g_memory_output_stream_get_data_size.
840 2008-05-25 Ross Burton <ross@burtonini.com>
843 Fix typo in error message (#534764).
845 2008-05-25 Ross Burton <ross@burtonini.com>
848 Fix circular dependency loop for gioenumtypes.h (#534759).
850 2008-05-19 Hans Breuer <hans@breuer.org>
852 * Makefile.am : EXTRA_DIST += makefile.msc
854 2008-05-17 Matthias Clasen <mclasen@redhat.com>
857 * gcontenttype.c: (g_content_type_from_mime_type):
858 New function to create a content type from a mime type. (#527175,
861 2008-05-17 Matthias Clasen <mclasen@redhat.com>
863 Bug 532965 – Should not return filesystem::free for certain file systems
865 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
866 free space for ncpfs.
868 2008-05-17 Matthias Clasen <mclasen@redhat.com>
870 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
872 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
873 st_dev might be zero.
875 2008-05-16 Tor Lillqvist <tml@novell.com>
877 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
878 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
880 2008-05-13 Bastien Nocera <hadess@hadess.net>
882 * gfile.c (has_valid_scheme): A URI scheme must start with a
883 letter, even if later more characters are allowed (#532852)
885 2008-05-05 Michael Natterer <mitch@imendio.com>
887 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
888 code from being checked in that breaks the build of applications
889 which use G_DISABLE_SINGLE_INCLUDES.
891 * makegioalias.pl: make the alias file include "glib.h" instead of
894 * gio.symbols: whitespace change to force regeneration of the
895 alias file after above script change.
897 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
899 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
901 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
903 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
905 2008-04-28 David Zeuthen <davidz@redhat.com>
907 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
908 displaying mounts in a subdirectory not accessible to the
911 2008-04-22 Michael Natterer <mitch@imendio.com>
913 * Makefile.am: fix library versioning (it was 0.0.0).
915 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
917 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
918 Default disable all loggings.
919 * fen/fen-kernel.c: (printevent), (port_add_kevent),
920 (port_fetch_event_cb): Fixed two macro nits.
922 2008-04-16 Matthias Clasen <mclasen@redhat.com>
924 * xdgmime/xdgmime.c: Rework the timestamp checking code
925 to protect against duplicate directories in XDG_DATA_DIRS.
926 Fixes fd.o bug 12513, reported by Joe Shaw.
928 2008-04-16 Matthias Clasen <mclasen@redhat.com>
930 Partically revert the last commit after realizing that
931 xdg_mime_media_type_equal doesn't have to init at all.
934 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
936 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
938 2008-04-16 Matthias Clasen <mclasen@redhat.com>
940 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
941 reported by Joe Shaw and Federico Mena Quintero.
943 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
944 (xdg_mime_media_type_equal): Turn into a wrapper around the
947 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
948 functions throughout.
950 2008-04-16 Michael Meeks <michael.meeks@novell.com>
952 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
953 tolerate an empty TryExec= line without failing; nautilus used
954 to create launchers with these in previous versions. Fixes #528433
956 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
958 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
959 after name. Fixes #527132.
961 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
963 * gfile.c: (g_file_replace):
966 2008-04-07 Matthias Clasen <mclasen@redhat.com>
968 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
970 * gfile.c (file_copy_fallback): Fix the argument order. Patch
971 by Christian Kellner.
973 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
975 * gunixmounts.c: (g_unix_mount_guess_should_display):
976 Don't list the user directory as a mount, fix potential issue
977 when other users have a similar naming and don't special case the
978 gvfs mounts there since that's not required (#525866)
980 2008-03-31 Alexander Larsson <alexl@redhat.com>
982 * glocalfile.c (get_parent):
985 2008-03-31 A. Walton <awalton@svn.gnome.org>
987 * gfile.c (g_file_query_file_type):
988 Always return a GFileType enum value (#520715).
990 2008-03-31 Alexander Larsson <alexl@redhat.com>
992 * glocalfileenumerator.c:
993 Read readdir() info in chunks (of 1000) and sort
994 the chunks by inode before stat:ing.
995 This is a 20% performance increase in testing
996 gvfs-ls on /usr/bin with cold cache.
998 2008-03-31 Alexander Larsson <alexl@redhat.com>
1000 * gmemoryoutputstream.c:
1001 Clarify docs for g_memory_output_stream_get_size.
1002 Add g_memory_output_stream_get_data_size.
1004 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1008 * gfile.h: Add g_file_query_file_type convenience function
1009 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1011 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1013 * gfileenumerator.c:
1014 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1016 2008-03-28 A. Walton <awalton@svn.gnome.org>
1018 * giomodule.c (_g_io_modules_ensure_loaded):
1019 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1022 2008-03-28 Alexander Larsson <alexl@redhat.com>
1025 (copy_stream_with_progress):
1028 2008-03-28 Alexander Larsson <alexl@redhat.com>
1031 (copy_stream_with_progress):
1032 (file_copy_fallback):
1033 Fallback to g_file_query_info for source size
1034 if g_file_input_stream_query_info fails. (#524579)
1036 2008-03-28 Alexander Larsson <alexl@redhat.com>
1038 * glocalfile.c (g_local_file_move):
1039 Reuse old string instead of adding new one.
1041 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1043 * fen/*.[hc]: still copyright issue. I hate copyright.
1045 2008-03-27 Alexander Larsson <alexl@redhat.com>
1047 * glocalfile.c (g_local_file_move):
1048 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1049 file over directory. This is according to the docs and what the move via
1050 copy+remove fallback does.
1052 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1054 * fen/*.[hc]: Updated copyright.
1056 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1058 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1060 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1062 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1063 not emit attribute changed events when optimizing changed events.
1064 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1067 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1069 * gmountoperation.[hc]: Small documentation additions
1071 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1073 * gunixmounts.c: (guess_mount_type):
1074 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1076 2008-03-19 Alexander Larsson <alexl@redhat.com>
1079 (copy_stream_with_progress):
1080 Bump block side for copy to 64k to minimize
1081 overhead for low latency links. (#523015)
1083 2008-03-16 Tor Lillqvist <tml@novell.com>
1085 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1086 depend on gio.def on Windows.
1088 2008-03-12 David Zeuthen <davidz@redhat.com>
1092 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1094 2008-03-14 Alexander Larsson <alexl@redhat.com>
1098 Avoid redudant tests (#521851)
1099 Patch from Josselin Mouette
1101 2008-03-14 Alexander Larsson <alexl@redhat.com>
1104 (g_file_monitor_is_cancelled):
1105 Fix C89 issue (#521672)
1106 Patch from Jens Granseuer
1108 2008-03-14 Alexander Larsson <alexl@redhat.com>
1110 * fam/fam-helper.[ch]:
1112 Shut down fam (including removing fam GSource) when
1113 module is unloaded (#521513)
1114 Patch from Joe Marcus Clarke
1116 2008-03-14 Alexander Larsson <alexl@redhat.com>
1119 (_g_io_modules_ensure_loaded):
1122 2008-03-14 Alexander Larsson <alexl@redhat.com>
1125 (g_local_file_query_filesystem_info):
1126 Use right define name for f_fstypename member check
1128 2008-03-14 Alexander Larsson <alexl@redhat.com>
1131 * fen/Makefile.am: Added.
1132 * fen/fen-data.[ch]: Added.
1133 * fen/fen-dump.[ch]: Added.
1134 * fen/fen-helper.[ch]: Added.
1135 * fen/fen-kernel.[ch]: Added.
1136 * fen/fen-missing.[ch]: Added.
1137 * fen/fen-node.[ch]: Added.
1138 * fen/fen-sub.[ch]: Added.
1139 * fen/gfendirectorymonitor.[ch]: Added.
1140 * fen/gfenfilemonitor.[ch]: Added.
1142 Added Solaris FEN file notification backend.
1143 Patch from Lin Ma <Lin.Ma@Sun.COM>
1145 2008-03-13 Tor Lillqvist <tml@novell.com>
1147 * Makefile.am: Actually use the gio.def file when linking the
1148 library on Windows. Produce .lib library for Microsoft's toolchain
1149 when possible. Install the .lib and .def file like for the other
1152 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1154 * tests/live-g-file.c:
1155 Include live-g-file in standard set of tests, making a temporary
1156 directory in source structure.
1158 Clean target directory before the tests (write mode only)
1160 2008-03-12 Tor Lillqvist <tml@novell.com>
1162 Bug 517419 - gio win32 directory monitor
1163 Implementation by Vlad Grecescu.
1166 * win32/gwin32directorymonitor.h
1167 * win32/gwin32directorymonitor.c: New files.
1169 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1171 * Makefile.am: Add the win32 subdirectory.
1173 2008-03-12 Tor Lillqvist <tml@novell.com>
1175 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1176 normal struct stat on Unix but struct _stati64 on Windows to have
1177 access to 64-bit file size information. Use that instead of struct
1178 stat in the functions declared here in this private header.
1180 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1181 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1182 warnings about unused functions and variables. Don't set
1183 meaningless attributes like inode numbers on Windows.
1185 2008-03-12 Benjamin Otte <otte@gnome.org>
1188 trim whitespace so gtk-doc groks the function name
1190 2008-03-12 Tor Lillqvist <tml@novell.com>
1192 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1193 returning FALSE, on Win32.
1195 2008-03-11 Alexander Larsson <alexl@redhat.com>
1198 * glocalfileinfo.[ch]:
1199 Correctly implement can_trash by actually
1200 looking for a trash dir, not just assuming
1203 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1205 * === Released 2.16.1 ===
1207 2008-03-11 Alexander Larsson <alexl@redhat.com>
1210 Fix crashes in new constructor and properties code
1212 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1214 * gfile.c: Minor spelling correction in documentation:
1215 existance -> existence.
1217 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1219 * === Released 2.16.0 ===
1221 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1223 * gio.symbols: Remove g_file_contains_file here, too.
1225 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1227 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1228 Samuel Cormier-Iijima)
1230 2008-03-08 Tor Lillqvist <tml@novell.com>
1232 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1235 2008-03-07 Alexander Larsson <alexl@redhat.com>
1238 (g_local_file_query_filesystem_info):
1239 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1240 Patch from Jasper Lievisse Adriaanse
1242 2008-03-06 Tor Lillqvist <tml@novell.com>
1244 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1245 comments for the *_USEC attributes.
1247 2008-03-06 Alexander Larsson <alexl@redhat.com>
1249 * gfile.c (g_file_query_exists):
1250 Add g_return_val_if_fail check (#520700)
1252 2008-03-06 Alexander Larsson <alexl@redhat.com>
1254 * gdesktopappinfo.c:
1257 * gunionvolumemonitor.c:
1260 * tests/live-g-file.c:
1261 * xdgmime/xdgmimecache.c:
1262 Fix sparse warnings (#519489)
1264 2008-03-05 Alexander Larsson <alexl@redhat.com>
1267 Make cancellation threadsafe (i.e.
1268 guarantee its only done once, and always
1271 * glocaldirectorymonitor.c:
1272 Make sure we the monitor lives while the
1273 mounts_changed callback is being called (#520484)
1275 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1277 * gbufferedinputstream.c: Fix typo in parameter
1280 2008-03-04 Alexander Larsson <alexl@redhat.com>
1283 Remove deprecated symbols we kept for one release.
1285 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1288 * goutputstream.c: Tiny documentation corrections.
1290 2008-03-03 Alexander Larsson <alexl@redhat.com>
1292 * gunionvolumemonitor.c:
1294 Fix the adopt_orphan_mount vfunc to take a
1295 volume_monitor reference in an ABI compat way.
1296 This change is not API compat, but the added
1297 arg is not used in the only user of this vfunc, so
1298 all we get is a harmless warning in gvfs (#520169)
1300 2008-03-01 Benjamin Otte <otte@gnome.org>
1303 clarify docs for g_file_delete().
1305 2008-02-29 Alexander Larsson <alexl@redhat.com>
1309 Make sure empty files get text/plain type (#518720)
1311 2008-02-27 Alexander Larsson <alexl@redhat.com>
1317 (g_unix_volume_mount):
1318 Add missing GMountMountFlags argument
1320 2008-02-26 Alexander Larsson <alexl@redhat.com>
1323 (g_local_file_delete):
1324 Handle filesystems (like ntfs-3g) that return EEXIST instead
1325 of ENOTEMPTY (#518816)
1327 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1329 * === Released 2.15.6 ===
1331 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1333 * gfile.c (g_file_find_enclosing_mount):
1334 * ginputstream.c (g_input_stream_set_pending):
1335 * glocalfile.c (g_local_file_find_enclosing_mount):
1336 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1337 * goutputstream.c (g_output_stream_set_pending):
1339 Fixup translator comments (#518578).
1341 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1343 * gfile.c (g_file_find_enclosing_mount):
1345 * glocalfile.c (g_local_file_find_enclosing_mount):
1348 Fix a few typos in translator comments and documentation.
1350 2008-02-25 Alexander Larsson <alexl@redhat.com>
1357 Add translator comments (#518578)
1359 2008-02-25 Alexander Larsson <alexl@redhat.com>
1362 Reintroduce g_file_contains_file, keep around for one
1363 unstable release cycle to avoid crashing to many apps.
1364 Make sure to delete after release.
1366 2008-02-25 Alexander Larsson <alexl@redhat.com>
1369 Remove deprecated g_file_contains_file.
1371 2008-02-25 Alexander Larsson <alexl@redhat.com>
1374 Emit actual change signals in an idle handler.
1375 This avoids reentrance and locking problems in
1376 the file notification backends.
1378 2008-02-25 Alexander Larsson <alexl@redhat.com>
1381 (g_unix_mount_guess_should_display):
1382 Remove type guessing, instead just display
1383 mounts in /media and in ~/.
1385 2008-02-25 Alexander Larsson <alexl@redhat.com>
1388 Make new strings reuse old ones.
1390 2008-02-25 Alexander Larsson <alexl@redhat.com>
1393 Implement trashing and filesystem::readonly for win32 (#517235)
1394 Patch from Yevgen Muntyan
1396 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1398 * gfileinfo.h: Documentation fixes.
1400 2008-02-22 Alexander Larsson <alexl@redhat.com>
1402 * gcontenttype.c (g_content_type_get_icon):
1403 Look at old-style gnome mime icon names too, as many
1404 have not moved to the new style.
1406 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1408 * *.c: Correct the @include in for section docs.
1410 2008-02-21 David Zeuthen <davidz@redhat.com>
1412 * glocalfileinfo.c: (_g_local_file_info_get):
1414 (g_content_type_get_icon): Implement this function by
1415 moving bits from glocalfileinfo.c
1416 (g_content_type_get_description): Unalias before getting
1417 description (#517687)
1419 * gfile.c: (g_file_class_init),
1420 (g_file_query_filesystem_info_async),
1421 (g_file_query_filesystem_info_finish),
1422 (query_filesystem_info_data_free),
1423 (query_filesystem_info_async_thread),
1424 (g_file_real_query_filesystem_info_async),
1425 (g_file_real_query_filesystem_info_finish):
1426 * gfile.h: Implement async version of
1427 g_file_query_filesystem_info()
1429 * gfileinfo.h: Add new attributes for filesystem::use-preview
1431 * gio.symbols: Update
1433 * gthemedicon.c: (g_themed_icon_append_name):
1434 * gthemedicon.h: Add new new convenience function.
1436 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1437 (get_mounts), (get_volumes), (get_connected_drives),
1438 (get_volume_for_uuid), (get_mount_for_uuid),
1439 (g_union_volume_monitor_init), (populate_union_monitor),
1440 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1441 (g_volume_monitor_adopt_orphan_mount):
1443 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1444 monitor implementations to call into the main volume monitor. Also
1445 separate object initialization and volume monitor initialization
1446 such that non-native volume monitors can properly adopt their
1449 2008-02-21 Alexander Larsson <alexl@redhat.com>
1454 2008-02-21 Alexander Larsson <alexl@redhat.com>
1457 Add more documentation about how GFiles work (from #517086)
1459 2008-02-21 Alexander Larsson <alexl@redhat.com>
1463 Add new g_file_has_prefix that does the same as g_file_contains_file.
1464 Deprecate g_file_contains_file and add a macro that converts
1465 it to g_file_has_prefix.
1466 The reason for this change is that the contains_file() name seems to
1467 imply that this does more work than what it does, but its really only
1468 a name match (from #517086)
1473 Update to match the above change.
1475 2008-02-20 Benjamin Otte <otte@gnome.org>
1477 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1478 (g_file_eject_mountable):
1479 even more cases of not returning in error path
1481 2008-02-20 Benjamin Otte <otte@gnome.org>
1483 * gfile.c: (g_file_mount_mountable):
1484 return from function in error path.
1486 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1489 Remove trailing coma in GMountMountFlags struct
1491 2008-02-18 Alexander Larsson <alexl@redhat.com>
1495 * glocalfileoutputstream.c:
1496 Use g_unlink/g_rename instead of unlink/rename;
1497 do not pass raw filenames to g_set_error. (#517239)
1498 Patch from Yevgen Muntyan.
1500 2008-02-18 Alexander Larsson <alexl@redhat.com>
1503 * glocalfileoutputstream.c:
1504 Open files with O_BINARY on windows. (#517140)
1506 2008-02-14 Alexander Larsson <alexl@redhat.com>
1508 * glocalfileoutputstream.c:
1509 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1511 2008-02-14 Alexander Larsson <alexl@redhat.com>
1514 Copy permissions with file on copy (#514084)
1515 This is what cp does and makes sure e.g. the
1516 exec permissions are kept.
1517 Its kinda weird in that it keeps the permission bits
1518 the same while the uid and gid are different. However
1519 the new uid is the user so its not a security issue,
1520 and I've heard no complaints about cp on this issue.
1522 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1524 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1526 2008-02-13 Alexander Larsson <alexl@redhat.com>
1528 * inotify/inotify-path.c:
1529 Define IN_ONLYDIR if not in header (#515346)
1531 2008-02-12 Alexander Larsson <alexl@redhat.com>
1533 * tests/live-g-file.c:
1536 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1538 * === Released 2.15.5 ===
1540 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1542 * gio.symbols: Add g_mount_mount_flags_get_type.
1544 2008-02-11 Alexander Larsson <alexl@redhat.com>
1547 (g_file_info_set_attribute_mask):
1548 (g_file_attribute_matcher_matches_id):
1549 Correctly handle NULL GAttributeMatcher meaning
1550 matches nothing. (Fixes #513492)
1552 2008-02-11 Alexander Larsson <alexl@redhat.com>
1557 Added GMountMountFlags enum and added a flags
1558 argument to all mount calls.
1560 This is an API/ABI change for future extensibility,
1561 as I think we will need at least an
1562 inhibit-autorun flag (the panel needs this).
1563 There are no flags defined yet though.
1565 2008-02-11 Alexander Larsson <alexl@redhat.com>
1568 Added new standard::description attribute.
1569 Requested by Vincent, and useful for both
1572 2008-02-11 Alexander Larsson <alexl@redhat.com>
1574 * gdesktopappinfo.c:
1577 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1579 * *.c: Documentation additions
1581 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1583 * gappinfo.h: Formatting cleanup
1584 * gappinfo.c: Fix up docs.
1586 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1588 * gunixmounts.c: Consistently use getmntent_r() and fall
1589 back to getmntent(). (#515492)
1591 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1593 * gbufferedinputstream.c:
1595 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1597 * tests/data-input-stream.c:
1598 * tests/data-output-stream.c: Portability fixes.
1600 2008-02-08 Alexander Larsson <alexl@redhat.com>
1605 Add g_volume_should_automount.
1608 2008-02-07 Tor Lillqvist <tml@novell.com>
1610 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1611 Win32, too Unix-specific.
1613 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1615 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1616 a local plt if the compiler doesn't support what we want. Bug #514702
1618 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1620 reviewed by: <delete if not using a buddy>
1623 * gunixinputstream.c:
1624 * gunixoutputstream.c:
1626 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1628 * tests/Makefile.am:
1629 * tests/live-g-file.c:
1630 * tests/live-g-file.txt:
1631 New GIO testing module working over real data
1633 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1635 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1636 Fallback to rename() if link() is not available
1637 (when no support on target filesystem)
1639 2008-02-06 Michael Natterer <mitch@imendio.com>
1641 * gfileinfo.c (g_file_info_get_icon): replace
1642 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1644 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1646 * gfile.c (g_file_create):
1647 Documentation update of error codes
1649 2008-02-06 Alexander Larsson <alexl@redhat.com>
1651 * gdesktopappinfo.c:
1652 Update to use both mimeapps.list and
1653 defaults.list as discussed on xdg list.
1655 2008-02-06 Benjamin Otte <otte@gnome.org>
1658 * gfilenamecompleter.c:
1659 Fix some typos in the documentation.
1661 2008-02-06 Alexander Larsson <alexl@redhat.com>
1663 * glocalfile.c (g_local_file_trash):
1664 Don't succeed with trash if newly created
1665 trash dir has the wrong owner. (#514696)
1667 2008-02-05 Alexander Larsson <alexl@redhat.com>
1669 * glocalfile.c (g_local_file_move):
1670 Don't spew warnings when destination is not
1673 2008-02-03 Hans Breuer <hans@breuer.org>
1675 * makefile.msc : update
1677 2008-02-01 Michael Natterer <mitch@imendio.com>
1679 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1680 return value of xdg_mime_list_mime_parents() to a variable of the
1683 2008-02-01 Alexander Larsson <alexl@redhat.com>
1685 * gappinfo.c (g_app_info_launch_uris):
1686 Actually call the launch_uris method, not
1689 2008-02-01 Alexander Larsson <alexl@redhat.com>
1691 * gdesktopappinfo.c (g_desktop_app_info_equal):
1692 Ensure appinfos with no id but same pointer value
1695 2008-02-01 Alexander Larsson <alexl@redhat.com>
1697 * gappinfo.c (g_app_info_launch_default_for_uri):
1700 2008-02-01 Alexander Larsson <alexl@redhat.com>
1704 Add g_app_info_launch_default_for_uri utility
1707 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1709 * gdesktopappinfo.c:
1710 Doc fix for g_app_info_get_default_for_uri_scheme ()
1713 2008-01-30 Alexander Larsson <alexl@redhat.com>
1716 Add doc comment about uris vs GFiles to
1719 * gdesktopappinfo.c:
1720 Ensure uris passed to g_app_info_launch_uris()
1721 are not roundtriped through GFile (as that
1722 may be slightly destructive for e.g. mailto: links)
1724 2008-01-30 Alexander Larsson <alexl@redhat.com>
1726 * tests/data-input-stream.c:
1727 * tests/data-output-stream.c:
1728 C89 fixes from Jens Granseuer (#512849)
1730 2008-01-30 Alexander Larsson <alexl@redhat.com>
1733 Fix gamin/fam difference build issue. (#509419)
1735 2008-01-29 Alexander Larsson <alexl@redhat.com>
1738 * gdesktopappinfo.c:
1739 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1741 2008-01-29 Alexander Larsson <alexl@redhat.com>
1743 * gdesktopappinfo.c:
1744 * gdesktopappinfo.h:
1745 giomodule-priv.h include moved to .c file.
1747 2008-01-29 Alexander Larsson <alexl@redhat.com>
1749 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1750 Remove unused prio/name fields.
1752 2008-01-29 Alexander Larsson <alexl@redhat.com>
1754 * gcontenttype.c (looks_like_text):
1755 Don't treat whitespace as control chars.
1757 2008-01-29 Alexander Larsson <alexl@redhat.com>
1759 * gdesktopappinfo.c:
1760 Lazily create the desktop files for appinfos created
1761 by g_app_info_create_from_commandline() when needed
1762 for mime associations. This allows run-time use
1763 of GAppInfo object without creating unnecessary
1766 2008-01-29 Alexander Larsson <alexl@redhat.com>
1769 Added new symbols to gio.symbols
1771 2008-01-29 Alexander Larsson <alexl@redhat.com>
1774 Add g_file_query_default_handler utility to easily look up
1775 the GAppInfo that handles a file.
1777 * gdesktopappinfo.[ch]:
1779 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1782 Remove unused function
1784 2008-01-29 Alexander Larsson <alexl@redhat.com>
1786 * gfileenumerator.c:
1787 Mention need to free returned value in
1788 g_file_enumerator_next_files_finish docs.
1789 Fix leak if g_file_enumerator_next_files_finish()
1792 2008-01-29 Alexander Larsson <alexl@redhat.com>
1795 (_g_unix_content_type_get_parents):
1796 Use list_parents, not get_parents from xdgmime, because
1797 the later doesn't use the cache.
1799 * xdgmime/xdgmimecache.c:
1800 (_xdg_mime_cache_list_mime_parents):
1801 Don't list the same type as parent multiple times.
1803 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1805 * === Released 2.15.4 ===
1807 2008-01-28 Alexander Larsson <alexl@redhat.com>
1810 Register local vfs with prio 0.
1813 Remove old name and prio class members
1815 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1817 * tests/g-file.c: Disable some tests that are failing in
1818 the absence of a http backend.
1820 2008-01-28 Alexander Larsson <alexl@redhat.com>
1824 Add registration hooks for extension points.
1825 Register the gio extension points.
1827 * fam/gfamdirectorymonitor.c:
1828 * fam/gfamfilemonitor.c:
1829 * glocaldirectorymonitor.[ch]:
1830 * glocalfilemonitor.[ch]:
1831 * gnativevolumemonitor.h:
1832 * gunionvolumemonitor.c:
1833 * gunixvolumemonitor.c:
1836 * inotify/ginotifydirectorymonitor.c:
1837 * inotify/ginotifyfilemonitor.c:
1838 Use the extension points registration instead
1839 of g_type_children().
1841 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1844 * gvolume.[hc]: Document new API.
1846 * gfile.c (g_file_copy_async): Fix docs
1848 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1850 * gbufferedinputstream.c:
1852 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1855 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1857 * glocalfile.c: Avoid trivial differences in translatable strings.
1859 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1861 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1862 build with gcc 3.4 (#509419)
1864 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1866 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1867 (#509994, Murray Cumming)
1869 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1871 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1872 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1873 this allows big jobs to be executed in chunks, instead of blocking
1874 the main loop for a long time.
1876 * gsimpleasyncresult.c:
1877 * giofile.c: Adapt callers.
1879 2008-01-25 Alexander Larsson <alexl@redhat.com>
1881 * gdesktopappinfo.c:
1882 Implement changes discussed on xdg list.
1883 Now we can add supported mimetypes by just using defaults.list
1884 We can also remove associations in defaults.list.
1886 2008-01-25 Alexander Larsson <alexl@redhat.com>
1888 * gdesktopappinfo.c:
1889 Don't make local copy of desktop file
1890 for mimetype changes if the file already
1891 supports the new mimetype.
1893 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1897 * gbufferedinputstream.c:
1898 * glocalfile.c: String improvements. (#511966,
1899 Theppitak Karoonboonyanan)
1901 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1903 * gioscheduler.h: Expand docs a bit.
1905 2008-01-24 Alexander Larsson <alexl@redhat.com>
1908 Add g_drive_get_identifier and
1909 g_drive_enumerate_identifiers
1912 Add g_volume_get_identifier and
1913 g_volume_enumerate_identifiers
1919 Implement identifiers for unix backend
1921 2008-01-24 Alexander Larsson <alexl@redhat.com>
1926 Add g_file_copy_async() (#511580)
1927 Based on patch from Carlos Garcia Campos
1929 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1931 * gioscheduler.c: Some documentation additions.
1933 2008-01-22 Alexander Larsson <alexl@redhat.com>
1935 * gdesktopappinfo.c:
1936 (g_desktop_app_info_new):
1937 Don't leak basename.
1939 2008-01-22 Alexander Larsson <alexl@redhat.com>
1941 * gdesktopappinfo.c:
1942 (g_desktop_app_info_new_from_filename):
1945 2008-01-22 Alexander Larsson <alexl@redhat.com>
1947 * glocalfileinfo.c (get_thumbnail_attributes):
1950 2008-01-22 Alexander Larsson <alexl@redhat.com>
1953 (canonicalize_filename):
1954 Canonicalize paths that start with more than
1958 (compare_two_files):
1959 (test_g_file_new_for_path):
1962 2008-01-22 Alexander Larsson <alexl@redhat.com>
1965 Allow UTF-8 in file:// parse names.
1967 * tests/Makefile.am:
1968 * tests/data-input-stream.c:
1969 * tests/data-output-stream.c:
1970 * tests/g-file-info.c:
1972 Added a bunch of tests from Tomas Bzatek
1974 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1976 * === Released 2.15.3 ===
1978 2008-01-21 Alexander Larsson <alexl@redhat.com>
1980 * gfileinputstream.[ch]:
1981 * gfileoutputstream.[ch]:
1983 Remove duplicated GSeekable functions. (#509990)
1984 Just use the g_seekable_xxx() calls instead.
1986 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1989 * gvolumemanager.c: Whitespace cleanups.
1991 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1992 Use the right mode when creating the file.
1994 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1996 * gfileenumerator.c:
1997 * gfileinputstream.c:
1999 * goutputstream.c: Documentation: Fixed minor typos
2000 and added more mentions of specific _finish() functions.
2002 2008-01-21 Alexander Larsson <alexl@redhat.com>
2004 * inotify/Makefile.am:
2005 * inotify/inotify-helper.c:
2006 * inotify/inotify-kernel.c:
2007 * inotify/inotify-path.c:
2008 * inotify/local_inotify.h: Removed.
2009 * inotify/local_inotify_syscalls.h: Removed.
2010 Removed the included copies of the inotify
2011 headers. We now only use the <sys/inotify.h>
2012 header which exists on modern systems.
2013 This fixes problems on ARM and SH5 (#510448)
2014 but is also generally much cleaner and future
2015 safe. For instance, if other OSes add support
2016 for inotify it should "just work".
2018 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2020 * inotify/*.c: Coding style fixes.
2021 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2022 for the 1/4 Hz timer.
2024 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2027 * gfilemonitor.[hc]:
2028 * gmemoryinputstream.c:
2029 * gmemoryoutputstream.c:
2030 * gmountoperation.c:
2031 * gthemedicon.c: Documentation updates
2033 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2035 * gfile.c: documentation: Fixed more minor
2038 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2040 * gmount.c: (g_mount_remount): documentation:
2041 Mention g_mount_remount_finish() instead of
2042 g_mount_unmount_finish().
2044 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2048 * gfile.c: Fixed some minor typos in the
2051 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2053 * gio/gvolumemonitor.c:
2054 (g_volume_monitor_get_connected_drives):
2055 (g_volume_monitor_get_volumes):
2056 (g_volume_monitor_get_mounts): Documentation:
2057 Clarify the ownership of the regurn GLists.
2059 2008-01-17 Alexander Larsson <alexl@redhat.com>
2062 Add the async find_enclosing_mount version
2063 to the header file too.
2065 2008-01-17 Alexander Larsson <alexl@redhat.com>
2068 Add async version of find_enclosing_mount
2069 with default implementation.
2071 2008-01-17 Alexander Larsson <alexl@redhat.com>
2076 Allow calls to implementation of copy and write
2077 even if the type of the file implementations is
2078 different. This can be used to implement native
2079 upload and download calls in a vfs.
2082 (g_local_file_move):
2083 Protect against the case where move is called
2084 with one file not being local.
2086 Make sure we call the progress callback once
2087 in the native move operation so that the caller
2088 knows how many bytes were copied.
2090 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2093 * gdatainputstream.c:
2095 * gfileoutputstream.c:
2100 * gunixmounts.c: Corrected some typos in the documentation:
2101 occured -> occurred.
2102 its -> it's (where appropriate).
2104 2008-01-16 Alexander Larsson <alexl@redhat.com>
2108 Add g_file_query_exists (#508771)
2110 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2115 * gvolume.c: For async functions that have no non-async
2116 version, document that the GAsyncReadyCallback may be NULL.
2119 2008-01-15 Alexander Larsson <alexl@redhat.com>
2121 * gmemoryinputstream.c:
2122 * gmemoryoutputstream.c:
2123 Don't do pointer arithmetic on void * (#508602)
2124 Patch from Kazuki IWAMOTO
2126 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2128 * === Released 2.15.2 ===
2130 2008-01-14 Alexander Larsson <alexl@redhat.com>
2132 * gfile.c (g_file_monitor_file):
2133 Don't set error here, since we fallback to polling monitor.
2135 2008-01-14 Alexander Larsson <alexl@redhat.com>
2138 (g_file_monitor_directory):
2139 (g_file_monitor_file):
2140 Add GError to file monitor calls
2142 * glocaldirectorymonitor.c:
2143 * glocaldirectorymonitor.h:
2145 * glocalfilemonitor.c:
2146 * glocalfilemonitor.h:
2148 Update for above change
2150 2008-01-14 Alexander Larsson <alexl@redhat.com>
2154 Handle root correctly in g_file_get_relative_path (#508719)
2156 2008-01-14 Alexander Larsson <alexl@redhat.com>
2159 Clean up docs and example for GAsyncResult (#508074)
2161 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2163 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2164 and correct some spelling mistakes. Bug #508108.
2166 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2168 * glocalfileinfo.c: Add a comment.
2170 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2172 * gfileinfo.c: GFileInfo description: Mention
2173 how to actually set attributes in a GFile and how to discover
2174 which attributes are settable. Bug #508378.
2176 2008-01-10 A. Walton <awalton@svn.gnome.org>
2178 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2179 (g_app_info_get_default_for_type):
2180 Check for NULL content types.
2182 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2184 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2186 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2188 * gfile.c: *_async() functions: Several small corrections
2189 to the documentation, mostly correcting copy/paste errors
2190 and improving some sentences.
2192 2008-01-09 Dan Winship <danw@gnome.org>
2194 * glocalfile.c (get_unique_filename): x86_64 fix
2196 2008-01-09 Alexander Larsson <alexl@redhat.com>
2201 Add g_unix_mount_guess_should_display and use
2202 for unix volume monitor backend.
2203 This means we more or less show what the
2204 gnome-vfs backend did.
2205 Based on patch from Padraig O'Briain
2207 2008-01-09 Alexander Larsson <alexl@redhat.com>
2211 Add g_themed_icon_new_with_default_fallbacks
2214 Use default fallbacks for icons
2216 2008-01-09 Alexander Larsson <alexl@redhat.com>
2219 * gmountoperation.[ch]:
2220 Change the API a bit so that unhandled methods
2221 get reported via the reply, rather than by
2222 the signal emission return value. This is because
2223 some handlers can't know this immediately without
2224 doing I/O, and this is an async operation that
2227 2008-01-09 Alexander Larsson <alexl@redhat.com>
2230 * fam/gfamdirectorymonitor.c:
2231 * fam/gfamfilemonitor.c:
2232 Fix double free crash (#508224)
2233 Patch from Joe Marcus Clarke
2235 008-01-07 Matthias Clasen <mclasen@redhat.com>
2237 * === Released 2.15.1 ===
2239 2008-01-07 Alexander Larsson <alexl@redhat.com>
2241 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2242 Fix warning (#507835)
2244 2008-01-07 Alexander Larsson <alexl@redhat.com>
2247 Pass --internal to glib-genmarshal
2250 * gmountoperation.c:
2252 Use better types for signal arguments (#507822)
2254 2008-01-07 Alexander Larsson <alexl@redhat.com>
2257 Build test subdir after .
2258 Remove gdirectorymonitor.[ch]
2260 * gdirectorymonitor.[ch]:
2264 Remove GDirectoryMonitor and make
2265 GFileMonitor the baseclass for both file and
2266 directory monitors. Lift the more generic
2267 rate limiting code from GDirectoryMonitor
2271 * fam/gfamdirectorymonitor.[ch]:
2272 * inotify/ginotifydirectorymonitor.[ch]:
2273 * inotify/inotify-helper.c:
2274 * glocaldirectorymonitor.[ch]:
2277 Update for the removed GDirectoryMonitor.
2279 * gmemoryoutputstream.c:
2280 Remove ununsed variable
2282 2008-01-07 Alexander Larsson <alexl@redhat.com>
2284 * gmemoryinputstream.c:
2285 Translate error strings
2288 * gmemoryoutputstream.[ch]:
2289 New implementation that avoids using GByteArray
2290 in implementation and API. (#506377)
2292 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2294 * tests/*: Add a test for memory input streams.
2296 * Makefile.am: Add tests to SUBDIRS.
2298 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2300 * glocalfilemonitor.c:
2301 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2304 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2306 * gdesktopappinfo.c: Fix a docs typo.
2308 * gfileattribute.c: Add information about extended attributes
2309 to the documentation. (#505058)
2311 2008-01-04 Alexander Larsson <alexl@redhat.com>
2314 * gmountoperation.c:
2315 Use the right type (uint) for the ask_password signal.
2317 2008-01-04 Alexander Larsson <alexl@redhat.com>
2322 Add g_app_info_supports_files()
2323 Remove desktop arg from g_app_info_should_show().
2325 * gdesktopappinfo.[ch]:
2326 Implement g_app_info_supports_files() and new should_show()
2327 Add g_desktop_app_info_set_desktop_env() to set the desktop
2328 for should_show(). (This will be set by gtk+ later)
2330 2008-01-04 Alexander Larsson <alexl@redhat.com>
2333 * gmemoryinputstream.[ch]:
2334 Improve API so that you can use multiple chunks
2335 of memory and custom destroy functions. (#506374)
2337 2008-01-03 Alexander Larsson <alexl@redhat.com>
2340 Handle NULL attribute matchers safely, as we return this
2341 for empty attribute matcher strings.
2343 2008-01-03 Alexander Larsson <alexl@redhat.com>
2345 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2346 Add /usr/local to list of internal mountpoints
2348 2008-01-03 Alexander Larsson <alexl@redhat.com>
2351 Check for HAVE_LCHOWN (#505887)
2353 2008-01-03 Alexander Larsson <alexl@redhat.com>
2357 Add define for selinux context attribute.
2358 Fix missing : -> :: namespace separator change
2359 Fix missing _ -> - name change for xattr-sys.
2362 2008-01-03 Alexander Larsson <alexl@redhat.com>
2365 Link to libglib and libgobject directly (#504879)
2366 Patch from Sebastien Bacher
2368 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2370 * gfile.c: Expanded the g_file_new_for_commandline_arg
2371 description a bit, based on the code and the docs of the
2372 other g_file_new_for_* functions.
2374 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2376 * gfilemonitor.h: Fixed typo in docs.
2378 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2380 Updates to GIO documentation. (#506395, Mikael Hermansson)
2382 * gcontenttype.c: Describe memory management for return value of
2383 g_content_types_get_registered(). Missing piece from #505815.
2384 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2385 GVolume, GDrive, GMounts, which hopefully gives the user less
2386 confusions when using this API. Following explainations from
2387 Alexander Larsson on gtk-devel-list.
2389 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2391 * gfileinfo.c: Expand the long description.
2393 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2396 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2397 fix builds with --disable-visibility. (#500273, Christian Persch)
2399 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2401 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2402 in the list of returned app infos.
2404 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2406 * gappinfo.c: Fix a cross-reference
2408 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2410 * gfileinputstream.c:
2411 * gfileoutputstream.c:
2415 * gdesktopappinfo.c:
2417 * gfileinfo.c: Documentation updates.
2419 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2421 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2424 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2426 * gcontenttype.c (g_content_types_get_registered): Don't return
2427 freed memory (#505815, Mikael Hermansson)
2429 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2431 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2432 used to detect statbuf->st_blocks. (#505042)
2434 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2436 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2437 environment handling. (#504829, Cosimo Cecchi)
2439 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2441 * gappinfo.c: Doc improvements
2443 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2446 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2448 * === Released 2.15.0 ===
2450 2007-12-20 Hans Breuer <hans@breuer.org>
2452 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2453 with symbols gwin32appinfo.obj, added gmount.obj
2454 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2456 2007-12-20 Alexander Larsson <alexl@redhat.com>
2462 * gfilenamecompleter.c:
2465 * gpollfilemonitor.c:
2466 File attribute renames:
2468 fs:: -> filesystem::
2469 id::fs -> id::filesystem
2471 2007-12-20 Alexander Larsson <alexl@redhat.com>
2480 Add GMountUnmountFlags to all unmount and
2482 Add g_mount_remount() call.
2484 2007-12-20 Alexander Larsson <alexl@redhat.com>
2486 * gvfs.c (get_default_vfs):
2487 Fix unused variable warning
2489 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2491 * pltcheck.sh: Update
2493 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2495 * gunionvolumemonitor.c:
2496 * gunixmount.c: Remove C99 comments
2498 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2500 * gio.symbols: Add some missing symbols
2502 2007-12-19 Alexander Larsson <alexl@redhat.com>
2505 Make g_io_modules_load_all_in_directory not unuse
2506 loaded modules so that users of it can do stuff
2508 Init internal "module" types.
2509 Initialize static prio and name for types so that
2510 we don't have to load modules to get it.
2512 * gnativevolumemonitor.h:
2514 Move is_supported to parent class so that
2515 non-native monitors can avoid being initialized
2516 too. (For instance GDaemonVolumeMonitor if we're
2517 not using GDaemonVfs.)
2519 * glocaldirectorymonitor.[ch]:
2520 * glocalfilemonitor.[ch]:
2521 * gunionvolumemonitor.c:
2522 * gunixvolumemonitor.c:
2524 Find plugins using the static prio+name to
2525 avoid unnecessarily loading the modules.
2527 2007-12-19 Alexander Larsson <alexl@redhat.com>
2532 2007-12-19 Alexander Larsson <alexl@redhat.com>
2534 * gunionvolumemonitor.c:
2535 Store the native type as GType, not class so that
2536 we can unload it. But still avoid unnecessarily
2539 2007-12-19 David Zeuthen <davidz@redhat.com>
2541 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2542 add signals 'disconnected' and 'eject-button' on GDrive. Add
2543 signal 'removed' on GVolume and 'unmounted' on GMount.
2545 * gdrive.c: (g_drive_base_init):
2547 * gfile.c: (g_file_mount_mountable),
2548 (g_file_mount_enclosing_volume):
2551 * gmount.c: (g_mount_base_init):
2553 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2554 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2555 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2559 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2561 * *.c: Fix up includes in the section docs.
2563 2007-12-17 Alexander Larsson <alexl@redhat.com>
2565 * gnativevolumemonitor.h:
2566 * gunionvolumemonitor.c:
2567 * gunixvolumemonitor.c:
2568 Add is_supported() to GNativeVolumeMonitorClass so
2569 that we can avoid having to create an object to see
2570 if the backend is supported at runtime.
2571 Also add name member and an env var to pick a specific
2572 volume monitor backend.
2576 Add cancellable to _g_mount_get_for_mount_path()
2578 * glocaldirectorymonitor.c:
2579 * glocalfilemonitor.c:
2580 Avoid loading and unloading modules while sorting.
2582 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2585 * gunixmounts.[hc]: Namespace waste reduction, move some
2586 g_get_unix_mount functions to the g_unix_mount namespace.
2589 * gunixvolumemonitor.c:
2591 * glocaldirectorymonitor.c: Update all callers.
2593 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2595 2007-12-17 Alexander Larsson <alexl@redhat.com>
2598 Add doc comments about what GFile operations are
2599 guaranteed to not block.
2601 2007-12-17 Alexander Larsson <alexl@redhat.com>
2604 Add missing #ifdef fixing OSX build.
2605 (#503334, patch from Richard Hult)
2607 2007-12-14 David Zeuthen <davidz@redhat.com>
2611 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2612 (g_mount_eject), (g_mount_eject_finish):
2614 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2615 (get_volume_for_uuid), (get_mount_for_uuid),
2616 (g_union_volume_monitor_class_init),
2617 (get_default_native_type_with_exclude), (get_default_native_type),
2618 (get_native_type), (update_native_type),
2619 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2620 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2621 (g_unix_mount_can_eject), (eject_unmount_cb),
2622 (eject_unmount_read_error), (eject_unmount_do),
2623 (g_unix_mount_unmount), (g_unix_mount_eject),
2624 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2625 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2626 (g_unix_mount_point_guess_can_eject):
2628 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2629 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2630 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2631 (g_unix_volume_mount), (g_unix_volume_eject),
2632 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2633 * gunixvolumemonitor.c: (get_volume_for_uuid),
2634 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2636 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2637 (g_volume_eject), (g_volume_eject_finish):
2639 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2640 (g_volume_monitor_get_mount_for_uuid):
2643 Provide eject() on both GMount and GVolume and utility functions
2644 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2645 ejected. Introduce the concept of UUID's and wire it into GVolume
2646 and GMount and provide API on GVolumeMonitor to find such
2647 instances. Also handle the case where an external
2648 GNativeVolumeMonitor fails to initialize. Lock around the
2649 _g_get_mount_for_mount_path() function such that volume monitor
2650 implementations won't have to do locking themselves.
2652 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2654 * gdesktopappinfo.c:
2660 * gvolume.h: Documentation updates
2662 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2665 * gfile.h: Doc updates
2667 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2670 * gdesktopappinfo.c: Use hash table iterators.
2672 2007-12-14 Alexander Larsson <alexl@redhat.com>
2675 * gfileattribute.[ch]:
2676 * gfileattribute-priv.h:
2677 Move GFileAttributeValue to a private header, as
2681 Make set_attribute take a type + a pointer instead
2682 of a GFileAttributeValue.
2685 Fix up for above changes.
2686 Add g_file_info_get_attribute_data to get
2687 all info in one call, g_file_info_get_attribute_status
2688 to get the status and g_file_info_get_attribute_as_string.
2692 * glocalfileinfo.[ch]:
2696 Make _guess_type static.
2698 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2701 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2702 made mkenums and friends use temporary files to avoid leaving
2703 empty generated files on failure (#503470).
2705 2007-12-14 Alexander Larsson <alexl@redhat.com>
2707 * gmountoperation.h:
2710 2007-12-14 Alexander Larsson <alexl@redhat.com>
2714 * gfileattribute.[ch]:
2717 * glocalfileoutputstream.c:
2718 * gmountoperation.[ch]:
2719 * goutputstream.[ch]:
2720 Clean up all flags enums to not have _FLAGS in them
2721 Make the names of some of the enums better.
2726 2007-12-14 Michael Natterer <mitch@imendio.com>
2728 * gio.symbols: fix g_io_scheduler symbol names.
2730 2007-12-14 Alexander Larsson <alexl@redhat.com>
2736 * gbufferedinputstream.h:
2737 * gbufferedoutputstream.h:
2740 * gdatainputstream.h:
2741 * gdataoutputstream.h:
2742 * gdesktopappinfo.h:
2743 * gdirectorymonitor.h:
2747 * gfileenumerator.h:
2750 * gfileinputstream.h:
2752 * gfilenamecompleter.h:
2753 * gfileoutputstream.h:
2754 * gfilterinputstream.h:
2755 * gfilteroutputstream.h:
2763 * gmemoryinputstream.h:
2764 * gmemoryoutputstream.h:
2766 * gmountoperation.h:
2769 * gsimpleasyncresult.h:
2771 * gunixinputstream.h:
2773 * gunixoutputstream.h:
2777 * inotify/Makefile.am:
2778 Only allow including <gio/gio.h> from apps
2780 2007-12-14 Alexander Larsson <alexl@redhat.com>
2782 * gioscheduler.[ch]:
2783 * gsimpleasyncresult.c:
2784 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2785 Split out the send_to_mainloop call into two versions instead
2786 of having the block argument.
2788 2007-12-13 Alexander Larsson <alexl@redhat.com>
2790 * gcancellable.[ch]:
2792 * gbufferedinputstream.c:
2793 * gfileenumerator.c:
2794 * gfileinputstream.c:
2795 * gfileoutputstream.c:
2799 g_push/pop_current_cancellable ->
2800 g_cancellable_push/pop_current
2802 2007-12-13 Alexander Larsson <alexl@redhat.com>
2806 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2808 2007-12-13 Alexander Larsson <alexl@redhat.com>
2810 * gmountoperation.h:
2811 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2813 2007-12-12 Alexander Larsson <alexl@redhat.com>
2816 Fix race condition when freeing proxy in
2817 g_io_job_send_to_mainloop().
2819 2007-12-12 Alexander Larsson <alexl@redhat.com>
2825 Make attribute namespace separator "::" instead of ":".
2826 Use - instead of _ as separator in attribute names.
2828 2007-12-12 Alexander Larsson <alexl@redhat.com>
2830 * gbufferedinputstream.h:
2831 * gbufferedoutputstream.h:
2832 * gdatainputstream.h:
2833 * gdataoutputstream.h:
2834 * gdirectorymonitor.h:
2835 * gfileenumerator.h:
2836 * gfileinputstream.h:
2838 * gfileoutputstream.h:
2839 * gfilterinputstream.h:
2840 * gfilteroutputstream.h:
2842 * glocalfileinputstream.h:
2843 * glocalfileoutputstream.h:
2844 * gmemoryinputstream.h:
2845 * gmemoryoutputstream.h:
2846 * gnativevolumemonitor.h:
2848 * gunixinputstream.h:
2849 * gunixoutputstream.h:
2852 s/parent/parent_instance/ in GObjects
2854 2007-12-12 Alexander Larsson <alexl@redhat.com>
2859 No need for padding for interfaces
2861 2007-12-12 Alexander Larsson <alexl@redhat.com>
2865 * gbufferedinputstream.c:
2866 * gbufferedoutputstream.c:
2869 * gdatainputstream.[ch]:
2870 * gdesktopappinfo.c:
2871 * gdirectorymonitor.c:
2873 * gfileattribute.[ch]:
2876 * gfileinputstream.h:
2877 * gfilemonitor.[ch]:
2878 * gfileoutputstream.[ch]:
2879 * gfilterinputstream.h:
2880 * gfilteroutputstream.h:
2883 * gloadableicon.[ch]:
2884 * gmemoryinputstream.c:
2885 * gmountoperation.c:
2887 Fix up a bunch of details in the docs.
2892 2007-12-11 David Zeuthen <davidz@redhat.com>
2894 Rework how volumes, drives and volume monitoring is
2895 done. Previosly the model was
2897 GDrive <1-1> GVolume
2899 where a GDrive instance represented a mount point and a GVolume
2900 instance represented a mounted file system. This patch changes it
2903 GDrive <1-N> GVolume <1-1> GMount
2905 where GMount now serves the purpose of the old GVolume and the new
2906 GVolume serves the purpose of the old GDrive. In addition the new
2907 GDrive interface is used to represent a collection of GVolume
2908 instances (typically partitions) and also contains utility to query
2909 the state of the physical drive the GDrive object represents (such
2910 as checking for media, polling the drive, ejecting the media etc.).
2912 Also implement mounting and unmounting in the Unix volume monitor
2913 backend. A subquent patch will introduce GDrive support for ejection
2917 * gdrive.c: (g_drive_is_media_check_automatic),
2918 (g_drive_is_media_removable), (g_drive_has_media),
2919 (g_drive_can_poll_for_media), (g_drive_eject),
2920 (g_drive_eject_finish), (g_drive_poll_for_media),
2921 (g_drive_poll_for_media_finish):
2923 * gfile.c: (g_file_find_enclosing_mount):
2926 * glocaldirectorymonitor.c:
2927 (g_local_directory_monitor_constructor), (mounts_changed):
2928 * glocalfile.c: (get_mount_info),
2929 (g_local_file_find_enclosing_mount),
2930 (g_local_file_file_iface_init):
2931 * gnativevolumemonitor.h:
2932 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2933 (get_connected_drives), (g_union_volume_monitor_class_init),
2934 (child_volume_added), (child_volume_removed),
2935 (child_volume_changed), (child_mount_added), (child_mount_removed),
2936 (child_mount_pre_unmount), (child_mount_changed),
2937 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2938 (g_union_volume_monitor_remove_monitor),
2939 (_g_mount_get_for_mount_path):
2940 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2941 (guess_system_internal), (_g_get_unix_mounts),
2942 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2943 (g_unix_mount_free), (g_unix_mount_compare),
2944 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2945 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2946 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2947 (type_to_icon), (g_unix_mount_guess_name),
2948 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2949 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2950 (_resolve_symlink), (_resolve_dev_root):
2952 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2953 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2954 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2955 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2956 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2957 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2958 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2959 (g_unix_volume_volume_iface_init):
2961 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2962 (get_mounts), (get_volumes), (get_connected_drives),
2963 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2964 (mountpoints_changed), (mounts_changed),
2965 (g_unix_volume_monitor_init),
2966 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2967 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2968 * gunixvolumemonitor.h:
2969 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2970 (g_volume_mount), (g_volume_mount_finish):
2972 * gvolumemonitor.c: (g_volume_monitor_class_init),
2973 (g_volume_monitor_get_connected_drives),
2974 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2977 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2979 * gmountoperation.h (GPasswordFlags): Close the gap
2981 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2983 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2985 * gdesktopappinfo.[hc]: Remove _-prefixes
2987 2007-12-10 Tor Lillqvist <tml@novell.com>
2989 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2992 2007-12-10 Alexander Larsson <alexl@redhat.com>
2994 * gfile.c (g_file_set_display_name):
2995 Don't hardcode '/' (#502727)
2997 2007-12-09 Hans Breuer <hans@breuer.org>
2999 * makefile.msc : follow lib naming convention
3000 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3001 for user and group name, tested with ../tests/gio-ls
3003 2007-12-09 A. Walton <awalton@svn.gnome.org>
3005 * gdesktopappinfo.c:
3011 * gfileenumerator.c:
3016 * gmemoryinputstream.c:
3017 * gmemoryoutputstream.c:
3019 * gsimpleasyncresult.c:
3020 More documentation cleanup and filling in missing information, bringing
3021 GIO to 99% symbol coverage.
3023 2007-12-08 Hans Breuer <hans@breuer.org>
3025 [gio compiles and links on win32, not sure how much already works]
3026 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3027 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3028 base on win32 API; prefer g_lstat() over lstat(); instead of
3029 localtime_r() use an all GLib implementation on win32;
3030 get_mount_info() still needs a win32 specifc implementation
3031 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3032 win32_get_file_user_info to get owner/group info without uid/gid
3033 * glocalfileinputstream.c : include <io.h> on win32
3034 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3035 definition, use g_win32_ftruncate() for G_OS_WIN32
3036 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3037 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3038 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3039 * makefile.msc : updated
3041 2007-12-07 Alexander Larsson <alexl@redhat.com>
3043 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3044 Avoid warning spew if error == NULL
3046 2007-12-07 Alexander Larsson <alexl@redhat.com>
3049 Update docs wrt etags
3051 2007-12-06 Alexander Larsson <alexl@redhat.com>
3054 Include sys/types.h for dev_t (#501919)
3056 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3060 Make abicheck and pltcheck pass.
3062 2007-12-05 Alexander Larsson <alexl@redhat.com>
3065 * giomodule-priv.h: Added.
3066 * glocaldirectorymonitor.c:
3067 * glocalfilemonitor.c:
3068 * gunionvolumemonitor.c:
3070 Actually add the declaration of _g_io_modules_ensure_loaded
3072 2007-12-05 Alexander Larsson <alexl@redhat.com>
3074 * gdatainputstream.c:
3079 * glocaldirectorymonitor.c:
3080 * glocalfilemonitor.c:
3081 * gunionvolumemonitor.c:
3083 Make g_io_modules_ensure_loaded a private function and
3084 don't pass in the dirname. This means we can do magic
3085 directory finding in the win32 version.
3086 Export the actual load-modules-in-directory code so that
3087 gvfs can reuse that.
3089 2007-12-05 Alexander Larsson <alexl@redhat.com>
3091 * gbufferedinputstream.c:
3092 * gbufferedoutputstream.c:
3095 * gfileenumerator.[ch]:
3096 * gfileinputstream.c:
3097 * gfileoutputstream.[ch]:
3098 * gfilterinputstream.c:
3099 * gfilteroutputstream.c:
3100 * ginputstream.[ch]:
3102 * glocalfileenumerator.c:
3103 * glocalfileinputstream.c:
3104 * glocalfileoutputstream.c:
3105 * gmemoryinputstream.c:
3106 * gmemoryoutputstream.c:
3107 * goutputstream.[ch]:
3110 * gunixinputstream.c:
3111 * gunixoutputstream.c:
3112 Rename all struct members named:
3113 read, write, close, truncate, or mount
3114 to foo_fn, as these are reserved names
3115 and could be defined as macros in libc.
3118 2007-12-04 Alexander Larsson <alexl@redhat.com>
3121 (g_output_stream_close):
3122 Only call flush if non-null.
3124 2007-11-30 Dan Winship <danw@gnome.org>
3126 * ginputstream.c (g_input_stream_set_pending): Make this take a
3127 GError and return a gboolean, and do the "outstanding operation"
3128 check (and the "stream is already closed" check) itself.
3129 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3131 * goutputstream.c (g_output_stream_set_pending)
3132 (g_output_stream_clear_pending): Likewise
3134 * gbufferedinputstream.c:
3135 * gfileinputstream.c:
3136 * gfileoutputstream.c: Update for that
3138 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3139 Like g_simple_async_report_error_in_idle, but takes a GError
3140 rather than building one.
3142 2007-11-30 Dan Winship <danw@gnome.org>
3144 * goutputstream.c: Don't cheat and unset the "pending" flag around
3145 inner calls. Instead, call the class method directly rather than
3146 the wrapper function that checks "pending"
3148 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3150 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3152 2007-12-03 Hans Breuer <hans@breuer.org>
3154 [start of port to win32/msvc]
3155 * gcancellable.c : HAVE_UNIST_H and _pipe()
3156 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3157 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3158 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3160 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3161 * glocalvfs.c : use HAVE_PWD_H
3162 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3163 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3164 * Makefile.am : added to EXTRA_DIST
3166 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3168 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3171 2007-12-03 Alexander Larsson <alexl@redhat.com>
3174 Handle OSX style xattrs API (#500506)
3176 2007-12-03 Alexander Larsson <alexl@redhat.com>
3180 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3182 2007-12-02 A. Walton <awalton@svn.gnome.org>
3186 Documentation accuracy fixes.
3188 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3190 * gioenumtypes.c.template: Fix typo.
3192 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3194 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3196 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3198 * gdirectorymonitor.c:
3199 * gfilemonitor.c: Add properties
3201 * gbufferedoutputstream.c: Don't mark buffer-size property
3204 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3206 * gbufferedoutputstream.c: Add auto-grow property.
3208 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3210 * *.c: Unify the capitalization of section headings.
3212 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3214 * gmountoperation.c: Add properties
3216 * gdatainputstream.c: Turn byte-order and newline-type into
3219 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3221 * gioenumtypes.[hc].template: Templates for enum registration
3223 * Makefile.am: Generate gioenumtypes.[hc]
3225 * gio.h: Include gioenumtypes.h
3227 * gfile.h: Add some explicit nicks.
3229 * gio.symbols: Add new symbols
3231 * pltcheck.sh: Adjust
3233 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3235 * *.c: Explain etags and link to the explanation
3237 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3239 * *.c: Explain I/O priority.
3241 * *.c: More coding style fixes.
3243 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3245 * gasyncresult.c: Add another paragraph to the intro,
3246 adjust coding style of example.
3248 2007-11-29 A. Walton <awalton@svn.gnome.org>
3251 Fixes unknown meaning in GAppLaunchContext docs.
3253 Clarify asynchronous ops.
3255 Fix entity tag docs.
3258 Provides missing gtk-doc section, fixes API docs slighly.
3259 * gsimpleasyncresult.c:
3260 Fill in missing info in docs.
3261 * gunixinputstream.c:
3262 * gunixoutputstream.c:
3263 Be more expressive in short description.
3265 Remove gtk-doc stubs for non-public API.
3267 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3269 * *.c: Coding style fixups
3271 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3273 * inotify/inotify-helper.c: Don't export the lock from libgio.
3275 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3278 * abicheck.sh: Fix copy-and-paste leftovers
3280 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3282 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3284 2007-11-28 Alexander Larsson <alexl@redhat.com>
3288 Removed unnecessary file
3290 * gdesktopappinfo.[ch]:
3293 * glocaldirectorymonitor.[ch]:
3295 * glocalfileenumerator.[ch]:
3296 * glocalfileinputstream.[ch]:
3297 * glocalfilemonitor.[ch]:
3298 * glocalfileoutputstream.[ch]:
3300 * gnativevolumemonitor.c:
3301 * gpollfilemonitor.[ch]:
3302 * gunionvolumemonitor.[ch]:
3305 * gunixvolumemonitor.[ch]:
3308 * inotify/ginotifydirectorymonitor.[ch]:
3309 * inotify/ginotifyfilemonitor.[ch]:
3310 * inotify/inotify-helper.c:
3311 Append _ to all internal functions
3315 Export symbols needed for modules
3317 2007-11-28 Alexander Larsson <alexl@redhat.com>
3320 * abicheck.sh: Added.
3321 * makegioalias.pl: Added.
3322 * pltcheck.sh: Added.
3323 * gio.symbols: Added.
3326 Initial work on adding symbol handling.
3329 Correct ifdef guard name
3332 * inotify/Makefile.am:
3333 * xdgmime/Makefile.am:
3334 Include toplevel Makefile.decl
3336 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3338 * gcontenttype.c: Move doc comments to the unix section.
3340 * *.[hc]: More trivial doc corrections.
3342 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3344 * gpollfilemonitor.c:
3348 * gdesktopappinfo.c:
3353 * gdatainputstream.c:
3354 * gdatainputstream.h:
3355 * gdataoutputstream.c:
3356 * gdataoutputstream.h:
3357 * gfileinfo.h: Doc cleanups
3359 2007-11-28 Andre Klapper <a9016009@gmx.de>
3361 * gdesktopappinfo.c: Fix a typo.
3363 2007-11-27 Andre Klapper <a9016009@gmx.de>
3365 * glocalfileoutputstream.c: Fix a typo.
3367 2007-11-27 Alexander Larsson <alexl@redhat.com>
3370 Don't include removed headers
3372 2007-11-27 Alexander Larsson <alexl@redhat.com>
3375 * gsocketinputstream.[ch]: Removed.
3376 * gsocketoutputstream.[ch]: Removed.
3377 * gunixinputstream.[ch]: Added.
3378 * gunixoutputstream.[ch]: Added.
3379 Renamed GSocket*Stream to GUnix*Stream and made
3380 it unix-only, since its not really only for sockets
3381 and it only works on unix (but is highly useful there).
3383 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3389 * gbufferedinputstream.c:
3390 * gbufferedinputstream.h:
3391 * gbufferedoutputstream.c:
3392 * gbufferedoutputstream.h:
3396 * gdatainputstream.c:
3397 * gdatainputstream.h:
3398 * gdataoutputstream.c:
3399 * gdataoutputstream.h:
3400 * gdirectorymonitor.c:
3401 * gdirectorymonitor.h:
3408 * gfileenumerator.c:
3409 * gfileenumerator.h:
3414 * gfileinputstream.c:
3415 * gfileinputstream.h:
3418 * gfilenamecompleter.c:
3419 * gfilenamecompleter.h:
3420 * gfileoutputstream.c:
3421 * gfileoutputstream.h:
3422 * gfilterinputstream.c:
3423 * gfilterinputstream.h:
3424 * gfilteroutputstream.c:
3425 * gfilteroutputstream.h:
3438 * glocalfileoutputstream.c:
3439 * gmemoryinputstream.c:
3440 * gmemoryinputstream.h:
3441 * gmemoryoutputstream.c:
3442 * gmemoryoutputstream.h:
3443 * gmountoperation.c:
3444 * gmountoperation.h:
3447 * gpollfilemonitor.c:
3450 * gsimpleasyncresult.c:
3451 * gsimpleasyncresult.h:
3452 * gsocketinputstream.c:
3453 * gsocketinputstream.h:
3454 * gsocketoutputstream.c:
3455 * gsocketoutputstream.h:
3462 * gunixvolumemonitor.c:
3471 Bumps documentation to 93% symbol coverage, touching most
3472 of the public files. Fixes broken function documentation prototypes.
3473 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3474 gtk-doc headers in private files.
3476 2007-11-27 Jürg Billeter <j@bitron.ch>
3478 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3479 (g_buffered_input_stream_read_byte):
3480 * gbufferedinputstream.h:
3481 New functions for efficient access to buffer and simple single byte
3484 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3485 (g_data_input_stream_read_until):
3486 * gdatainputstream.h:
3487 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3488 read_until with multiple stop chars.
3490 2007-11-27 Alexander Larsson <alexl@redhat.com>
3494 * inotify/Makefile.am:
3495 Use the user-specified giomoduledir
3497 2007-11-27 Alexander Larsson <alexl@redhat.com>
3501 Add catch-all gio.h header
3502 Don't install gdummyfile.h
3504 2007-11-26 Alexander Larsson <alexl@redhat.com>
3506 * Makefile.am (gioinclude_HEADERS):
3507 Remove trailing whitespace
3509 2007-11-26 Alexander Larsson <alexl@redhat.com>
3511 Merge gio-standalone into glib
3513 2007-11-25 Christian Kellner <gicmo@gnome.org>
3515 * gio/goutputstream.c:
3516 Fix small mistake in the docs.
3518 2007-11-21 Christian Persch <chpe@gnome.org>
3520 * gio/glocalfile.c: (g_local_file_trash):
3521 Convert filenames to UTF-8 for GError.
3522 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3523 as per xdg base dir spec.
3525 2007-11-21 Christian Persch <chpe@gnome.org>
3527 * gio/gdesktopappinfo.c:
3528 Use that g_key_file_to_data cannot fail.
3530 Use stock defines for the key file group and key names.
3533 2007-11-21 Alexander Larsson <alexl@redhat.com>
3536 (copy_stream_with_progress):
3537 Make sure we do a final progress callback with
3538 the full total size.
3540 2007-11-21 Alexander Larsson <alexl@redhat.com>
3543 Export g_file_copy_attributes
3544 Remove padding as its not needed for interfaces
3546 2007-11-20 Alexander Larsson <alexl@redhat.com>
3551 Add G_IO_ERROR_WOULD_MERGE for
3552 copy/move dir on dir with overwrite.
3554 2007-11-20 Alexander Larsson <alexl@redhat.com>
3557 * gio/glocalfileinfo.c:
3558 Add COPY_NAME (this is an optional
3559 non-modified utf8 version of the name) that
3562 2007-11-20 Alexander Larsson <alexl@redhat.com>
3564 * gio/glocalfileenumerator.c:
3565 Report errors as GIOError, not GFileError
3567 2007-11-16 Alexander Larsson <alexl@redhat.com>
3569 * gio/glocalfileoutputstream.c:
3570 * gio/gwin32appinfo.c:
3571 Fix typos in strings.
3572 Patch from Luca Ferretti <elle.uca@libero.it>
3574 2007-11-15 Alexander Larsson <alexl@redhat.com>
3577 Post release version bump
3579 === gio-standalone 0.1.2 ===
3581 2007-11-15 Alexander Larsson <alexl@redhat.com>
3583 * docs/reference/gio/Makefile.am:
3584 Fix up distcheck by removing weird
3590 2007-11-14 Alexander Larsson <alexl@redhat.com>
3592 * gio/gdesktopappinfo.c:
3593 * gio/glocaldirectorymonitor.c:
3595 * gio/glocalfileinfo.c:
3596 * gio/inotify/inotify-sub.c:
3597 * programs/gio-cat.c:
3598 * programs/gio-copy.c:
3599 * programs/gio-info.c:
3600 * programs/gio-ls.c:
3601 * programs/gio-monitor-dir.c:
3602 * programs/gio-monitor-file.c:
3603 * programs/gio-mount.c:
3604 * programs/gio-move.c:
3605 * programs/gio-rm.c:
3606 * programs/gio-save.c:
3607 * programs/gio-trash.c:
3608 Leak fixes from Kjartan Maraas
3610 2007-11-14 Alexander Larsson <alexl@redhat.com>
3612 * gio/fam/fam-helper.c:
3614 * gio/glocalfileinfo.c:
3618 * gio/inotify/inotify-diag.c:
3619 * gio/inotify/inotify-kernel.c:
3620 Various code cleanups from Kjartan Maraas
3622 2007-11-14 Alexander Larsson <alexl@redhat.com>
3624 * gio/gioscheduler.c:
3626 Set up threadpool so that we cache 2 unused
3627 idle threads for at 15 secs. This means we
3628 will reuse thread-local data (like dbus connections)
3631 2007-11-14 Alexander Larsson <alexl@redhat.com>
3633 * gio/fam/fam-helper.c:
3634 * gio/fam/gfamdirectorymonitor.c:
3635 * gio/fam/gfamfilemonitor.c:
3637 * gio/gcontenttype.c:
3638 * gio/gdatainputstream.c:
3639 * gio/gdataoutputstream.c:
3643 * gio/gfileattribute.h:
3644 * gio/gfileenumerator.c:
3646 * gio/ginputstream.c:
3649 * gio/glocalfileinfo.c:
3650 * gio/goutputstream.c:
3651 * gio/gpollfilemonitor.c:
3652 * gio/gsimpleasyncresult.c:
3653 * gio/gunixmounts.c:
3654 * gio/gunixmounts.h:
3655 * gio/inotify/ginotifydirectorymonitor.c:
3656 * gio/inotify/ginotifyfilemonitor.c:
3657 * gio/inotify/inotify-diag.c:
3658 * gio/inotify/inotify-kernel.c:
3659 * gio/inotify/inotify-path.c:
3661 * gio/test-streams.c:
3662 * programs/gio-info.c:
3663 * programs/gio-monitor-dir.c:
3664 * programs/gio-monitor-file.c:
3665 Various code cleanups from Kjartan Maraas
3667 2007-11-13 Alexander Larsson <alexl@redhat.com>
3670 Handle the uri-scheme calls for dummy files
3672 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3674 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3675 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3676 to avoid clash with the C++ keyword.
3678 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3680 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3681 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3683 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3685 * gio/glocaldirectorymonitor.c:
3686 * gio/glocalfilemonitor.c:
3687 * gio/gunionvolumemonitor.c:
3688 Don't use g_once_init_*() for initializations that could fail and
3689 could leave the initialization variable set to 0 but use GOnce.
3690 This prevents a deadlock on the second call when trying to create
3691 a monitor and no monitor type is available. Thanks to Sven Herzberg
3694 2007-11-11 Sven Herzberg <sven@imendio.com>
3696 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3697 #ifdef (make it work on MacOS X again)
3699 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3701 Fixes Changelog for last two commits (sorry guys).
3703 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3705 * gio/gbufferedinputstream.c:
3706 * gio/gdatainputstream.c:
3708 * gio/gfileoutputstream.c:
3709 * gio/gfilterinputstream.c:
3710 * gio/glocalfileinputstream.c:
3713 More consistency fixes in g*stream.c files.
3714 Significant clean of gfile's documentation, filling in of
3715 asynchronous operations documentation.
3717 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3719 * gio/gasyncresult.c:
3720 * gio/gbufferedinputstream.c:
3721 * gio/gbufferedoutputstream.c:
3722 * gio/gcancellable.c:
3723 * gio/gcontenttype.c:
3724 * gio/gdatainputstream.c:
3725 * gio/gdataoutputstream.c:
3726 * gio/gdesktopappinfo.c:
3729 * gio/gfileattribute.c:
3730 * gio/gio/gfileenumerator.c:
3732 * gio/gfileinputstream.c:
3733 * gio/gfilemonitor.c:
3734 * gio/gfileoutputstream.c:
3735 * gio/ginputstream.c:
3737 * gio/gioscheduler.c:
3738 * gio/gloadableicon.c:
3739 * gio/glocalfileoutputstream.c:
3740 * gio/gmemoryoutputstream.c:
3741 * gio/gmountoperation.c:
3742 * gio/goutputstream.c:
3744 * gio/gsimpleasyncresult.c:
3745 * gio/gunionvolumemonitor.c:
3746 * gio/gunixmounts.c:
3747 * gio/gunixvolume.c:
3751 * gio/gvolumemonitor.c:
3752 Updated documentation stubs, working towards consistency and
3755 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3757 * gio/gmemoryoutputstream.c:
3758 * gio/gmemoryoutputstream.h:
3759 Change g_memory_output_stream_set_free_on_close() to
3760 g_memory_output_stream_set_free_data() as this makes more sense and
3761 is more consistent with GMemoryInputStream.
3763 2007-11-07 Alexander Larsson <alexl@redhat.com>
3770 Change how we find the default vfs so that
3771 we can handle a gvfs failing to init
3773 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3775 * gio/gbufferedoutputstream.c:
3776 * gio/gdatainputstream.c:
3777 * gio/gdataoutputstream.c:
3778 * gio/gfileinputstream.c:
3779 * gio/gfileoutputstream.c:
3780 * gio/gfilterinputstream.c:
3781 * gio/gfilteroutputstream.c:
3782 * gio/ginputstream.c:
3783 * gio/gmemoryinputstream.c:
3784 * gio/gmemoryoutputstream.c:
3785 * gio/goutputstream.c:
3786 * gio/gsimpleasyncresult.c:
3787 * gio/gsocketinputstream.c:
3788 * gio/gsocketoutputstream.c:
3789 Add guards to the remaining public functions, add a TODO for
3790 an unimplemented function and remove some useless guards.
3792 2007-11-07 Alexander Larsson <alexl@redhat.com>
3795 Autoconf checks for the various types of
3796 getpwuid_r and getgrgid_r
3798 * gio/glocalfileinfo.c:
3799 Use the autoconf checks from above
3801 2007-11-07 Alexander Larsson <alexl@redhat.com>
3804 (g_local_file_query_filesystem_info):
3805 Some fixes for the statvfs case
3807 2007-11-07 Alexander Larsson <alexl@redhat.com>
3810 (g_local_file_query_filesystem_info):
3811 Pick the "best" of statfs / statvfs for the system
3812 if both are availible.
3814 2007-11-07 Alexander Larsson <alexl@redhat.com>
3816 Solaris fixes from Halton.Huo@Sun.COM:
3823 * gio/glocalfileinfo.c:
3824 Fix for solaris definition of getpwuid_r
3826 * gio/test-streams.c:
3827 Use G_GNUC_PRETTY_FUNCTION
3829 2007-11-07 Alexander Larsson <alexl@redhat.com>
3831 * gio/gdesktopappinfo.c:
3832 (update_default_list):
3833 Remove double semicolon.
3834 Patch from Jens Granseuer
3836 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3838 * docs/reference/gio/gio-sections.txt:
3839 * gio/gbufferedinputstream.c:
3840 * gio/gbufferedinputstream.h:
3841 * gio/gdatainputstream.c:
3842 * gio/gfileenumerator.c:
3843 * gio/gioscheduler.c:
3844 * gio/gunionvolumemonitor.c:
3846 * programs/gio-save.c:
3847 Fix typo: availible -> available. Unfortuntely this breaks API
3848 and ABI as g_buffered_input_stream_get_available() was renamed.
3850 * gio/gunixmounts.c:
3851 * gio/gbufferedinputstream.c:
3852 Add guards for public functions.
3854 2007-11-06 Ross Burton <ross@openedhand.com>
3856 * docs/reference/gio/Makefile.am:
3857 Fix invalid += usage which automake 1.10 doesn't like.
3859 2007-11-06 Alexander Larsson <alexl@redhat.com>
3862 (g_app_launch_context_class_init):
3865 Patch from Ross Burton
3867 2007-11-06 Alexander Larsson <alexl@redhat.com>
3870 Post release version bump
3872 === gio-standalone 0.1.1 ===
3874 2007-11-06 Alexander Larsson <alexl@redhat.com>
3877 Bump version to 0.1.1
3879 * gio/gsimpleasyncresult.c:
3880 (g_simple_async_result_set_from_error):
3881 Remove bogus g_return_if_fail
3883 2007-11-06 Alexander Larsson <alexl@redhat.com>
3886 The name is gio-standalone
3889 Add top src/builddir to includedir
3891 2007-11-06 Alexander Larsson <alexl@redhat.com>
3893 * docs/reference/gio/gio-sections.txt:
3895 * gio/gbufferedinputstream.c:
3896 * gio/gbufferedoutputstream.c:
3897 * gio/gcancellable.c:
3898 * gio/gdatainputstream.h:
3899 * gio/gdataoutputstream.c:
3900 * gio/gdataoutputstream.h:
3901 * gio/gdirectorymonitor.c:
3903 * gio/gfileattribute.c:
3904 * gio/gfileattribute.h:
3905 * gio/gfileenumerator.c:
3906 * gio/gfileenumerator.h:
3909 * gio/gfileinputstream.h:
3910 * gio/gfilemonitor.c:
3911 * gio/gfileoutputstream.h:
3912 * gio/glocalfilemonitor.h:
3913 * gio/glocalfileoutputstream.h:
3914 * gio/gmemoryinputstream.c:
3915 * gio/gmemoryoutputstream.c:
3916 * gio/gmountoperation.c:
3917 * gio/goutputstream.c:
3918 * gio/goutputstream.h:
3920 * gio/gsimpleasyncresult.c:
3921 * gio/gunixmounts.c:
3922 * gio/gunixmounts.h:
3924 * gio/inotify/inotify-helper.c:
3925 Fix gtk-doc warnings
3927 Patch from Ross Burton
3929 2007-11-06 Alexander Larsson <alexl@redhat.com>
3931 * gio/gfilenamecompleter.c:
3932 (g_filename_completer_get_completions):
3935 * gio/gunixvolume.c:
3936 Remove unused function
3938 Patches from Ross Burton
3940 2007-11-06 Alexander Larsson <alexl@redhat.com>
3945 Padding not needed for interfaces
3947 2007-11-06 Alexander Larsson <alexl@redhat.com>
3949 * gio/gfilemonitor.c:
3953 Make giotypes.h an internal file
3956 * gio/gbufferedinputstream.h:
3957 * gio/gbufferedoutputstream.h:
3958 * gio/gcancellable.h:
3959 * gio/gdatainputstream.h:
3960 * gio/gdataoutputstream.h:
3961 * gio/gdirectorymonitor.c:
3962 * gio/gdirectorymonitor.h:
3967 * gio/gfileattribute.h:
3968 * gio/gfileenumerator.h:
3973 * gio/gfilemonitor.c:
3974 * gio/gfilemonitor.h:
3975 * gio/gfilenamecompleter.c:
3976 * gio/gfilenamecompleter.h:
3977 * gio/gfilterinputstream.h:
3978 * gio/gfilteroutputstream.h:
3979 * gio/ginputstream.h:
3980 * gio/gmemoryinputstream.h:
3981 * gio/gmemoryoutputstream.h:
3982 * gio/gmountoperation.c:
3983 * gio/gmountoperation.h:
3984 * gio/gnativevolumemonitor.c:
3985 * gio/goutputstream.h:
3988 * gio/gsimpleasyncresult.c:
3989 * gio/gsimpleasyncresult.h:
3990 * gio/gsocketinputstream.h:
3991 * gio/gsocketoutputstream.h:
3992 * gio/gthemedicon.c:
3993 * gio/gthemedicon.h:
3997 * gio/gvolumemonitor.c:
3998 * gio/gvolumemonitor.h:
3999 Add padding in classes where it seems useful
4000 Don't include giotypes.h from public headers
4001 Move in Class definitions into c file where possible
4006 2007-11-06 Alexander Larsson <alexl@redhat.com>
4008 * docs/reference/gio/gio-docs.xml:
4009 Better structure for API docs
4011 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4014 * gio/gloadableicon.c:
4015 * gio/gsimpleasyncresult.c:
4016 * gio/gthemedicon.c:
4017 Add some more guards to public functions. Only files missing are now
4020 2007-11-06 Alexander Larsson <alexl@redhat.com>
4022 * docs/reference/gio/gio-docs.xml:
4023 Remove old files, add missing ones
4025 2007-11-06 Alexander Larsson <alexl@redhat.com>
4027 * docs/reference/gio/gio-sections.txt:
4030 Hide implementation classes
4032 * gio/gdriveprivate.h:
4033 * gio/gvolumeprivate.h:
4034 Remove non-existing function declarations
4036 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4039 Fix compilation warnings and add guards to the new functions.
4041 * gio/gasyncresult.c:
4043 Add guards to the public functions.
4046 Implement get_path().
4048 2007-11-06 Alexander Larsson <alexl@redhat.com>
4050 * gio/gfilenamecompleter.c:
4051 Make g_filename_completer_get_completions
4052 return char ** instead of GList for
4055 * docs/reference/gio/gio-docs.xml:
4056 * docs/reference/gio/gio-sections.txt:
4058 * gio/gasyncresult.c:
4059 * gio/gbufferedinputstream.c:
4060 * gio/gbufferedoutputstream.c:
4061 * gio/gcancellable.c:
4062 * gio/gcontenttype.c:
4063 * gio/gdatainputstream.c:
4064 * gio/gdataoutputstream.c:
4065 * gio/gdesktopappinfo.c:
4066 * gio/gdirectorymonitor.c:
4070 * gio/gfileattribute.c:
4071 * gio/gfileenumerator.c:
4074 * gio/gfileinputstream.c:
4075 * gio/gfilemonitor.c:
4076 * gio/gfilenamecompleter.c:
4077 * gio/gfilenamecompleter.h:
4078 * gio/gfileoutputstream.c:
4079 * gio/gfilterinputstream.c:
4081 * gio/ginputstream.c:
4083 * gio/gioscheduler.c:
4084 * gio/gloadableicon.c:
4085 * gio/glocaldirectorymonitor.c:
4087 * gio/glocalfileinputstream.c:
4088 * gio/glocalfilemonitor.c:
4089 * gio/glocalfileoutputstream.c:
4091 * gio/gmemoryinputstream.c:
4092 * gio/gmemoryoutputstream.c:
4093 * gio/gmountoperation.c:
4094 * gio/goutputstream.c:
4095 * gio/gpollfilemonitor.c:
4097 * gio/gsimpleasyncresult.c:
4098 * gio/gsocketinputstream.c:
4099 * gio/gsocketoutputstream.c:
4100 * gio/gthemedicon.c:
4101 * gio/gunionvolumemonitor.c:
4103 * gio/gunixmounts.c:
4104 * gio/gunixvolume.c:
4105 * gio/gunixvolumemonitor.c:
4109 * gio/gvolumemonitor.c:
4110 * gio/gwin32appinfo.c:
4111 Add (mostly stub) doc strings to public functions.
4112 Patch from Andrew Walton (awalton@gmail.com)
4114 2007-11-06 Alexander Larsson <alexl@redhat.com>
4116 * gio/gappinfo.[ch]:
4117 Added GAppLaunchContext object and pass that to launch.
4118 This allows simple implementation of both
4119 launch-on-screen and startup notification via a gtk+
4120 subclass of GAppLaunchContext
4122 * gio/gdesktopappinfo.c:
4123 Implement GAppLaunchContext API
4125 * gio/gwin32appinfo.c:
4128 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4130 * gio/gmountoperation.c:
4131 Add some guards to GMountOperation's public functions.
4133 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4137 * gio/gcancellable.c:
4138 * gio/gdirectorymonitor.c:
4140 * gio/gfileenumerator.c:
4141 * gio/gfilemonitor.c:,
4142 * gio/gfilenamecompleter.c:
4145 * gio/gioscheduler.c:
4149 * gio/gvolumemonitor.c:
4150 Add even more guards to various public functions.
4152 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4155 Add guards to the public functions of GAppInfo.
4157 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4159 * gio/gcontenttype.c:
4160 Add some more guards for public functions.
4162 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4164 * gio/fam/fam-module.c:
4165 * gio/fam/gfamdirectorymonitor.c:
4166 * gio/fam/gfamdirectorymonitor.h:
4167 * gio/fam/gfamfilemonitor.c:
4168 * gio/fam/gfamfilemonitor.h:
4169 * gio/inotify/ginotifydirectorymonitor.c:
4170 * gio/inotify/ginotifydirectorymonitor.h:
4171 * gio/inotify/ginotifyfilemonitor.c:
4172 * gio/inotify/ginotifyfilemonitor.h:
4173 Add proper copyright information and remove an unused variable
4174 in the GInotifyFileMonitor constructor.
4176 * gio/gcancellable.c:
4177 Add a guard for a public function and an assertion to prevent
4178 an undefined program state.
4180 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4182 * gio/gfileattribute.c:
4183 Don't run into an assertion if the given attribute value is NULL
4184 in g_file_attribute_value_get_*() but instead return a fallback
4185 value that makes sense in most situations. Passing them a attribute
4186 value with the wrong type will still run into an assertion.
4188 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4190 * gio/gfileattribute.c:
4192 Add even more guards to the public functions. Also fix the refcounting
4193 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4194 let g_file_info_list_attributes() filter the attributes by namespace
4195 instead of simply ignoring the namespace parameter.
4197 2007-11-03 Sven Herzberg <sven@imendio.com>
4199 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4200 (This makes gio work on MacOS X again)
4202 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4205 Build the gio subdirectory before the docs. Otherwise the build will
4208 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4209 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4210 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4211 Add guards to the public functions.
4213 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4215 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4216 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4217 to prevent a compiler warning.
4219 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4220 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4221 return something in the non-void function find_topdir_for().
4223 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4230 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4232 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4233 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4234 * gwin32appinfo.c (g_win32_app_info_launch):
4235 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4236 envp_for_startup_id, g_desktop_app_info_launch,
4237 g_desktop_app_info_launch_uris):
4239 Give an opaque 'startup_id' string instead of 'envp'.
4240 Support empty file lists for launching new windows.
4241 Fix infinite recursion bug when launching URIs.
4243 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4246 Add guard to the new g_file_get_uri_scheme() function.
4248 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4251 Convert a g_return_val_if_fail() to setting the GError instead as
4252 otherwise applications have to verify the parameter before otherwise
4253 and the parameter might come directly from the user.
4255 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4257 * gio/inotify/ginotify*.[ch]:
4258 Add missing copyright information.
4260 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4263 Add guards in the beginning of public functions to check for valid
4264 parameters and fix a bug in copy_stream_with_progress() that could've
4265 caused writing less bytes than reading.
4266 * gio/glocalfileinfo.c:
4267 Check for a NULL parameter and set the GError accordingly then.
4268 * gio/goutputstream.c:
4269 Fix the same bug as in gfile.c that could've caused writing less bytes
4270 than reading in g_output_stream_real_splice().
4272 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4275 Use the correct gvolumeprivate.h naming
4277 2007-11-01 Christian Kellner <gicmo@gnome.org>
4280 Remove leftover "$(daemon_sources)" entry.
4282 2007-11-01 Christian Kellner <gicmo@gnome.org>
4287 Add copyright information to source files.
4289 2007-11-01 Alexander Larsson <alexl@redhat.com>
4293 Add g_file_get_uri_scheme
4295 2007-11-01 Alexander Larsson <alexl@redhat.com>
4298 * gio/gdesktopappinfo.c:
4299 * gio/gwin32appinfo.c:
4300 Add g_app_info_get_default_for_uri_scheme.
4302 2007-11-01 Alexander Larsson <alexl@redhat.com>
4305 Correct filename for gdriveprivate.h
4307 2007-10-31 Alexander Larsson <alexl@redhat.com>
4310 Rename id:value to id:file
4313 * gio/glocalfileinfo.c:
4316 2007-10-31 Alexander Larsson <alexl@redhat.com>
4318 * gio/gunixvolume.c:
4320 Remove g_volume_get_platform_id, as thats not
4321 needed with the simpler union volume monitor
4323 2007-10-31 Alexander Larsson <alexl@redhat.com>
4326 * gio/guniondrive.[ch]: Removed.
4327 * gio/gunionvolume.[ch]: Removed.
4328 Remove GUnionDrive/Volume
4330 * gio/gunionvolumemonitor.c:
4331 Simplify union volume monitor, now we
4332 only have one native volume monitor and
4333 we use the actual volumes/drives from the
4334 child monitors instead of wrapping them
4336 * gio/gnativevolumemonitor.[ch]:
4337 Base class for native volume monitors.
4338 Includes priority and get_volume_for_mountpoint
4341 Add g_file_find_enclosing_volume
4344 Remove volume name fs attribute
4345 Add readonly fs attribute
4348 Implement readonly attribute
4349 remove volume name attribute
4350 Implement find_enclosing volume
4352 * gio/gunixmounts.c:
4353 Add a volume for "/".
4355 * gio/gunixvolume.[ch]:
4356 Set better name for /
4358 * gio/gunixvolumemonitor.[ch]:
4359 Derive from GNativeVolumeMonitor
4360 Implement get_volume_for_mountpoint
4363 GVolume typedef moved to gfile.h
4365 * gio/gvolumeprivate.h:
4366 Add g_volume_get_for_mount_path
4368 2007-10-31 Alexander Larsson <alexl@redhat.com>
4370 * gio/gunixmounts.[ch]:
4371 Add cache info to unix mount listers
4372 Make getmntent use threadsafe
4373 Add is_system_internal attribute for GUnixMount
4375 * gio/gunixvolume.c:
4376 (g_unix_volume_new):
4377 Use is_system_internal instead of own code
4379 * gio/glocaldirectorymonitor.c:
4380 * gio/gunixvolumemonitor.c:
4381 Update to new gunixmounts API
4386 2007-10-30 Alexander Larsson <alexl@redhat.com>
4389 Add volume name fsinfo attribute
4392 Read volume name info
4394 * gio/gunionvolumemonitor.c:
4395 Fix infinite loops when finalizing a union volume monitor
4397 2007-10-30 Alexander Larsson <alexl@redhat.com>
4399 * gio/goutputstream.[ch]:
4400 Add splice() with default implementation
4402 * gio/gsocketoutputstream.c:
4403 (g_socket_output_stream_write):
4404 Return error on cancellation correctly.
4406 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4408 * gio/glocalfile.c (g_local_file_trash):
4409 Do not leak a string.
4411 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4413 * gio/gfile.c (g_file_load_contents):
4414 Unref the stream after closing it.
4416 2007-10-25 Alexander Larsson <alexl@redhat.com>
4418 * gio/gioscheduler.h:
4421 2007-10-25 Alexander Larsson <alexl@redhat.com>
4425 Add g_file_has_uri_scheme and implement for local files
4427 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4429 * gio/gdesktopappinfo.c: do not leak a string.
4431 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4433 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4434 (g_local_directory_monitor_new):
4435 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4436 (g_local_file_monitor_new):
4437 Only look for the monitor type that should be used the first time
4438 and use g_qsort_with_data() instead of our own bubble sort
4441 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4444 * gio/fam/Makefile.am:
4445 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4446 * gio/fam/fam-helper.h:
4447 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4448 * gio/fam/gfamdirectorymonitor.c:
4449 * gio/fam/gfamdirectorymonitor.h:
4450 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4451 * gio/fam/gfamfilemonitor.h:
4452 * gio/glocaldirectorymonitor.c:
4453 * gio/glocaldirectorymonitor.h:
4454 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4455 * gio/glocalfilemonitor.h:
4456 * gio/inotify/Makefile.am:
4457 * gio/inotify/ginotifydirectorymonitor.c:
4458 * gio/inotify/ginotifydirectorymonitor.h:
4459 * gio/inotify/ginotifyfilemonitor.c:
4460 * gio/inotify/ginotifyfilemonitor.h:
4461 Implement the FAM and Inotify monitors as
4462 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4463 their own GIO module. GLocal(Directory|File)Monitor will use the
4464 monitor with the highest rank that is supported on that machine.
4466 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4469 Change GIO module dir to $(libdir)/gio/modules and change
4470 the log domain from GVFS to GIO. Also only export symbols starting
4471 with g_ in the resulting library.
4472 * gio/test-streams.c: (main):
4473 Set log handler for the GIO log domain.
4475 2007-10-22 Alexander Larsson <alexl@redhat.com>
4477 * gio/gfilenamecompleter.[ch]:
4478 Add g_filename_completer_set_dirs_only
4480 2007-10-22 Alexander Larsson <alexl@redhat.com>
4483 * gio/gurifuncs.[ch]:
4484 Add some simple URI helpers
4486 * gio/gfilenamecompleter.[ch]:
4487 Added object for filename (parse name actually) completion
4490 Handle ~ in parse names
4492 2007-10-17 Alexander Larsson <alexl@redhat.com>
4495 * gio/glocalfileinfo.c:
4496 Add and implement id:value attribute
4498 2007-10-17 Alexander Larsson <alexl@redhat.com>
4501 * gio/guniondrive.c:
4503 Add and implement g_drive_has_volumes
4505 2007-10-17 Alexander Larsson <alexl@redhat.com>
4508 * gio/glocalfileinfo.[ch]:
4509 Add unix:is_mountpoint and implement for local files
4511 2007-10-16 Alexander Larsson <alexl@redhat.com>
4513 * gio/gunionvolumemonitor.c:
4514 (g_union_volume_monitor_init):
4515 Fix up the unix type getting so that it works with gcc
4517 2007-10-12 Alexander Larsson <alexl@redhat.com>
4520 * gio/glocalfileinfo.c:
4521 Add thumbnail:failed to file info
4523 2007-10-12 Richard Hult <richard@imendio.com>
4525 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4526 optimizing away the get_type call (happens with some gcc versions,
4527 like the one shipped with OS X 10.4).
4529 2007-10-12 Alexander Larsson <alexl@redhat.com>
4531 * gio/glocalfileinfo.c:
4532 (_g_local_file_info_set_attribute):
4533 Fix build if not HAVE_XATTR
4534 Patch from Milosz Derezynski <internalerror@gmail.com>
4536 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4538 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4539 around for review, otherwise I would have asked you before
4542 2007-10-11 Alexander Larsson <alexl@redhat.com>
4545 Add thumbnail:path attribute
4547 * gio/glocalfileinfo.c:
4548 Implement thumbnail:path for local files
4550 2007-10-11 Alexander Larsson <alexl@redhat.com>
4552 * gio/glocalfileinfo.c:
4553 (_g_local_file_info_get):
4554 Avoid duplicate icon names
4556 2007-10-11 Alexander Larsson <alexl@redhat.com>
4558 * gio/gthemedicon.[ch]:
4559 Change g_themed_icon_get_names return type to const
4561 2007-10-10 Alexander Larsson <alexl@redhat.com>
4563 * gio/glocalfileinfo.c:
4564 Don't reference freed memory
4566 2007-10-10 Alexander Larsson <alexl@redhat.com>
4568 * gio/gfileattribute.c:
4571 * gio/glocalfileinfo.c:
4574 2007-10-10 Alexander Larsson <alexl@redhat.com>
4577 Check for NULL icons
4579 * gio/gfileattribute.c:
4580 Don't dup when getting objects (same as for string attributes)
4582 * gio/gicon.c (g_icon_equal):
4583 Safely handle NULLs in equal
4585 2007-10-10 Alexander Larsson <alexl@redhat.com>
4588 Fix c++ compilation issues
4589 Patch from Milosz Derezynski <internalerror@gmail.com>
4591 2007-10-10 Alexander Larsson <alexl@redhat.com>
4593 * programs/gio-monitor-dir.c:
4594 Don't crash if dir monitor not supported.
4596 2007-10-09 Alexander Larsson <alexl@redhat.com>
4599 Add missing G_END_DECLS
4601 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4603 * gio/gfile.c: (g_file_set_display_name),
4604 (g_file_query_settable_attributes),
4605 (g_file_query_writable_namespaces):
4606 Return NULL not FALSE on errors as the return type is a pointer.
4608 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4610 * gio/glocalfile.c: (g_local_file_monitor_file):
4611 Don't call monitor_file on the default interface vtable (which
4612 is NULL) but simply return NULL. The caller, GFile, will create a
4613 polling monitor if NULL is returned.
4615 2007-10-09 Alexander Larsson <alexl@redhat.com>
4619 * gio-unix-2.0.pc.in:
4620 Add gio-unix-2.0.pc if OS_UNIX
4623 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4625 2007-10-09 Alexander Larsson <alexl@redhat.com>
4627 * gio/gunixmounts.[ch]:
4628 Make unix mount monitoring API sane.
4629 Now its just a object with mounts_changed
4630 and mountpoints_changed signals.
4632 * gio/glocaldirectorymonitor.c:
4633 * gio/gunixvolumemonitor.c:
4634 Use new mount monitor api
4636 2007-10-09 Alexander Larsson <alexl@redhat.com>
4638 * gio/gunixmounts.[ch]:
4639 Move guess type into one call for mounts and one for mountpoints
4642 * gio/gunixvolume.c:
4645 2007-10-09 Alexander Larsson <alexl@redhat.com>
4647 * gio/gunixmounts.[ch]:
4648 Remove _ prefix in preparation to make this semi-public
4649 Hide implementation of structs
4651 * gio/glocaldirectorymonitor.c:
4653 * gio/gunixvolume.c:
4654 * gio/gunixvolumemonitor.c:
4655 Update for above API changes
4657 2007-10-08 Alexander Larsson <alexl@redhat.com>
4660 Better polling fallback. This also handles the case where we have
4661 a monitor_file implementation, but it fails.
4663 2007-10-08 Alexander Larsson <alexl@redhat.com>
4667 * gio/gunixmounts.c:
4668 * programs/gio-monitor-dir.c:
4669 * programs/gio-monitor-file.c:
4670 Added cancellable to file monitoring calls.
4671 These are really sync calls and need this.
4673 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4675 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4676 (g_local_vfs_class_init):
4677 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4678 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4680 2007-10-05 Alexander Larsson <alexl@redhat.com>
4682 * gio/gdirectorymonitorprivate.h:
4683 * gio/gfilemonitorprivate.h:
4684 * gio/gdirectorymonitor.h:
4685 * gio/gfilemonitor.h:
4686 Remove *private.h and move to the public API, so that
4687 we can do implementations outside gio (such as in gvfs)
4689 * gio/gdirectorymonitor.c:
4690 * gio/gfilemonitor.c:
4691 * gio/glocaldirectorymonitor.c:
4692 * gio/gpollfilemonitor.c:
4693 * gio/inotify/inotify-helper.c:
4694 * gio/fam/fam-helper.c:
4695 Update to the new header names
4697 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4699 * gio/gdirectorymonitor.c:
4700 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4703 2007-10-04 Alexander Larsson <alexl@redhat.com>
4705 * gio/glocalfileinfo.c (get_access_rights):
4706 Set CAN_TRASH when we can move the file.
4707 We should really also check for a parent trash dir.
4709 2007-10-04 Alexander Larsson <alexl@redhat.com>
4711 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4712 Add can_trash access attribute
4714 2007-10-04 Alexander Larsson <alexl@redhat.com>
4717 (g_local_file_trash):
4718 Create info file first. This is per-spec and allows
4719 us to actually trash directories.
4721 2007-10-02 Alexander Larsson <alexl@redhat.com>
4723 * gio/gdesktopappinfo.c:
4724 Implement the new mime support code.
4725 Always set app as handling mimetype when being set as default for it
4727 2007-10-01 Alexander Larsson <alexl@redhat.com>
4729 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4730 Fix up check for xattrs:
4732 2007-10-01 Alexander Larsson <alexl@redhat.com>
4735 (g_app_info_set_as_default_for_extension):
4736 (g_app_info_add_supports_type):
4737 (g_app_info_can_remove_supports_type):
4738 (g_app_info_remove_supports_type):
4739 Make these fail nicely if not implemented
4741 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4743 * gio/glocalfileoutputstream.c:
4744 * gio/glocalfileoutputstream.h:
4749 * programs/gio-save.c:
4750 Add a GFileCreateFlags argument to operations that can create
4753 2007-10-01 Alexander Larsson <alexl@redhat.com>
4755 * gio/gappinfo.[ch]:
4756 * gio/gdesktopappinfo.c:
4757 Add more (stubbed out) mime API needed for nautilus
4759 2007-10-01 Alexander Larsson <alexl@redhat.com>
4762 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4763 Add g_app_info_set_as_default_for_extension.
4765 * gio/gdesktopappinfo.c:
4766 Dummy for g_app_info_set_as_default_for_extension
4767 Support flags in g_app_info_create_from_commandline
4769 * gio/gwin32appinfo.c:
4771 Update for API changes
4773 * gio/gthemedicon.c:
4774 Properly NULL-terminate list of icon names
4776 2007-09-28 Alexander Larsson <alexl@redhat.com>
4778 * gio/gloadableicon.h:
4779 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4781 2007-09-28 Alexander Larsson <alexl@redhat.com>
4784 Install headers in $includedir/gio-standalone/
4786 * gio-2.0.pc.in: Added.
4787 * gio-standalone.pc.in: Removed.
4790 Renamed pkg-config file to match glib (for future move)
4791 Update to the new include dir
4794 Add more TODO comments
4796 2007-09-28 Alexander Larsson <alexl@redhat.com>
4798 * gio/gdesktopappinfo.[ch]:
4799 Expose new_from_filename
4800 Add getter for is_hidden and handle it better
4802 2007-09-28 Alexander Larsson <alexl@redhat.com>
4804 * gio/gfileinfo.[ch]:
4805 Rename g_file_size_format_for_display to
4806 g_format_file_size_for_display.
4807 Now it doesn't have the g_file prefix, so we
4808 can later move it to glib.
4810 2007-09-28 Alexander Larsson <alexl@redhat.com>
4812 * gio/gappinfo.[ch]:
4813 Add g_app_info_get_id and g_app_info_get_executable.
4814 Make all getters non-reffing
4815 Make g_app_info_launch take GFile arguments.
4816 Add must_support_uris argument to g_app_info_get_default_for_type.
4818 * gio/gwin32appinfo.c:
4819 Update to GAppInfo api changes
4821 * gio/gdesktopappinfo.c:
4822 Update to GAppInfo api changes
4823 Implement supports_xdg_startup_notify
4825 * gio/gfileicon.c (g_file_icon_get_file):
4826 Make getter non-reffing.
4831 2007-09-27 Alexander Larsson <alexl@redhat.com>
4833 * gio/gfileinfo.[ch]:
4834 Add g_file_size_format_for_display helper
4836 2007-09-27 Alexander Larsson <alexl@redhat.com>
4838 * gio/glocalfileinfo.c:
4839 Set UNIX_GID from gid, not from uid
4841 2007-09-27 Alexander Larsson <alexl@redhat.com>
4844 Add g_file_set_attributes_async
4846 2007-09-27 Alexander Larsson <alexl@redhat.com>
4848 * gio/glocalfile.c (g_local_file_set_display_name):
4849 Fix set_display_name to actually rename to the right place.
4850 Use lstat to look for existing files so we don't overwrite
4853 2007-09-26 Alexander Larsson <alexl@redhat.com>
4856 Add g_file_set_display_name_async()
4858 2007-09-26 Alexander Larsson <alexl@redhat.com>
4861 Add load_partial_contents async calls
4864 Make internal function static
4866 2007-09-26 Alexander Larsson <alexl@redhat.com>
4868 * gio/glocalfileinfo.c:
4869 Correctly detect broken symlinks
4871 2007-09-26 Alexander Larsson <alexl@redhat.com>
4873 * gio/gcancellable.c (g_cancellable_cancel):
4874 Allow cancel on NULL cancellable
4876 2007-09-25 Alexander Larsson <alexl@redhat.com>
4878 * gio/gsimpleasyncresult.c:
4879 Don't allocate g_error manually.
4880 Fixes g_slice/g_new mixup crash
4882 2007-09-25 Alexander Larsson <alexl@redhat.com>
4884 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4885 Actually set active_backend.
4886 This means the monitor will be cancelled correctly.
4888 2007-09-25 Alexander Larsson <alexl@redhat.com>
4890 * gio/gdirectorymonitor.c:
4891 Set timeout to NULL when destroying
4893 2007-09-25 Alexander Larsson <alexl@redhat.com>
4896 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4897 that is a better description of the error.
4899 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4901 * gio/gvfs.c: (g_vfs_get_local):
4902 Make the local vfs variable static. The same instance should
4905 2007-09-24 Alexander Larsson <alexl@redhat.com>
4907 * gio/glocalfileinfo.c:
4908 Pass in actual length read into sniffer, not the length
4911 2007-09-21 Alexander Larsson <alexl@redhat.com>
4913 * gio/gfileenumerator.c:
4916 * gio/gfileinputstream.c:
4917 * gio/gfileoutputstream.c:
4918 * gio/ginputstream.c:
4919 * gio/goutputstream.c:
4920 Don't crash if async callbacks are NULL
4922 2007-09-20 Alexander Larsson <alexl@redhat.com>
4925 Add async enumerate_children method and default
4928 2007-09-20 Alexander Larsson <alexl@redhat.com>
4931 Add g_file_contains_file & g_file_get_relative_path, since they
4932 were needed for nautilus.
4933 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4938 Implement new methods
4940 2007-09-17 Alexander Larsson <alexl@redhat.com>
4943 * gio/gfileinputstream.[ch]:
4944 * gio/gfileoutputstream.[ch]:
4946 * gio/glocalfileenumerator.[ch]:
4947 * gio/glocalfileinfo.[ch]:
4948 * gio/glocalfileinputstream.c:
4949 * gio/glocalfileoutputstream.c:
4950 * gio/gpollfilemonitor.c:
4951 * programs/gio-copy.c:
4952 * programs/gio-info.c:
4953 * programs/gio-move.c:
4954 Rename get_file_info to query_info() to make it clearer
4955 that these are not simple getters, but do i/o.
4957 2007-09-17 Alexander Larsson <alexl@redhat.com>
4959 * gio/gdatainputstream.[ch]:
4960 * gio/test-streams.c:
4961 Use _read_XXX instead of _get_XXX for the i/o calls
4964 2007-09-17 Alexander Larsson <alexl@redhat.com>
4967 Added needed stuff to TODO comment
4969 2007-09-17 Alexander Larsson <alexl@redhat.com>
4971 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4972 Don't error out removing the backup copy if it doesn't
4975 2007-09-14 Alexander Larsson <alexl@redhat.com>
4977 * programs/Makefile.am:
4978 * programs/gvfs-*.c:
4980 Renamed apps from gvfs-xxx to gio-xxx.
4982 2007-09-14 Alexander Larsson <alexl@redhat.com>
4985 * gio/gfileoutputstream.[ch]:
4986 * gio/glocalfileoutputstream.c:
4987 * programs/gvfs-save.c:
4988 g_file_output_stream_get_etag doesn't do i/o, so remove
4989 cancellation and error.
4991 2007-09-14 Alexander Larsson <alexl@redhat.com>
4994 Add new_etag output to replace_contents functions
4996 2007-09-14 Alexander Larsson <alexl@redhat.com>
4998 * gio/gfileoutputstream.[ch]:
4999 Add async get_file_info and default implementation
5001 2007-09-14 Alexander Larsson <alexl@redhat.com>
5003 * gio/gfileinputstream.c:
5004 Implement fallback wrapper for async get_file_info
5006 2007-09-14 Alexander Larsson <alexl@redhat.com>
5009 Add etag out argument to load_contents
5014 2007-09-14 Alexander Larsson <alexl@redhat.com>
5016 * gio/gcontenttype.c (looks_like_text):
5017 Whitespace like tab, cr and lf do not make the
5020 2007-09-14 Alexander Larsson <alexl@redhat.com>
5022 * gio/gfileinputstream.[ch]:
5023 Add async get_file_info.
5025 2007-09-13 Alexander Larsson <alexl@redhat.com>
5027 * gio/goutputstream.c (g_output_stream_write_all):
5028 Allow NULL for bytes_written
5030 2007-09-13 Alexander Larsson <alexl@redhat.com>
5032 * gio/gmemoryinputstream.[ch]:
5033 Add accessors for data
5035 2007-09-13 Alexander Larsson <alexl@redhat.com>
5037 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5038 Don't crash if length is NULL