1 2008-09-15 Matthias Clasen <mclasen@redhat.com>
3 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
6 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
9 2008-09-15 Matthias Clasen <mclasen@redhat.com>
11 Bug 551681 – g_content_type_guess() too naive with filenames
13 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
14 at the end of the filename, and declare it a directory.
15 Patch by Bastien Nocera
17 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
19 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
22 * gdesktopappinfo.c: add a note in the docs clarifying what the
23 "filename" parameter really is.
25 2008-09-12 Tor Lillqvist <tml@novell.com>
27 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
28 FormatMessage() etc here. Call g_win32_error_message() instead
29 which already does all that. Besides, the code was broken as it
30 called the default "A" version of FormatMessage() but still
31 thought it produced a wide string.
33 2008-09-12 Michael Natterer <mitch@imendio.com>
35 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
38 2008-09-08 Christian Neumair <cneumair@gnome.org>
40 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
41 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
42 Use non-blocking pipe for mount helper I/O. Fixes #550647.
44 2008-09-06 Matthias Clasen <mclasen@redhat.com>
46 Bug 551149 – xdgmime mem leak
48 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
49 a memory leak. Patch by Christian Persch
51 2008-09-04 Tor Lillqvist <tml@novell.com>
53 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
56 2008-09-02 Matthias Clasen <mclasen@redhat.com>
58 * === Released 2.18.0 ===
60 2008-09-02 Michael Natterer <mitch@imendio.com>
62 * *.h: big header formatting cleanup: indentation, vtable
63 formatting, consistent spacing in (* vfunc), trailing whitespace
64 removal. Formatting should be pretty consistent in all GIO headers
67 2008-09-02 Matthias Clasen <mclasen@redhat.com>
69 * gmount.h: Document guess_content_type sync vfunc.
71 2008-09-02 Michael Natterer <mitch@imendio.com>
73 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
74 fix parent_class member to be GFilterOutputStreamClass (not
75 GOutputStreamClass). Drop three pointers of padding, which is
76 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
77 so the class struct size stays the same.
79 2008-09-02 Matthias Clasen <mclasen@redhat.com>
81 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
83 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
84 nonexisting return values. Pointed out by Cosimo Cecchi.
86 2008-08-23 Tor Lillqvist <tml@novell.com>
88 Bug 548988 - g_file_replace fails on Windows when the target file
91 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
92 Windows, close the file before potentially renaming it (in case we
93 have been writing to a file with a temporary name).
95 (g_local_file_output_stream_close, handle_overwrite_open): Use
96 GLocalFileStat instead of plain struct stat, for passing to
97 _g_local_file_info_create_etag(). Thus also use _fstati64()
98 instead of plain fstat() on Windows.
100 2008-08-18 Matthias Clasen <mclasen@redhat.com>
102 * === Released 2.17.7 ===
104 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
106 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
109 2008-08-13 Tor Lillqvist <tml@novell.com>
111 * win32/gwinhttpvfs.c
112 * win32/gwinhttpvfs.h
113 * win32/gwinhttpfile.c
114 * win32/gwinhttpfileinputstream.c
115 * win32/gwinhttpfileoutputstream.c: Refactor some common code
116 snippets into helper functions. Check HTTP response status
117 codes. Implement g_winhttp_file_query_info(), looking at
118 Content-Length, Content-Type and Last-Modified.
120 * win32/winhttp.h: Add some symbolic constants that are not
121 publicly documented. Just a handful, so it should be OK to use
122 information from the Windows SDK's headers.
124 2008-08-13 Tor Lillqvist <tml@novell.com>
126 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
129 * win32/gwin32directorymonitor.c
130 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
132 2008-08-13 Matthias Clasen <mclasen@redhat.com>
135 * goutputstream.c: Add intro docs.
137 2008-08-13 Tor Lillqvist <tml@novell.com>
139 * win32/gwinhttpfileoutputstream.c
140 (g_winhttp_file_output_stream_write): Don't write the
141 Content-Length header ourselves, WinHttpSendRequest() takes care
142 of that when the dwTotalLength parameter is non-zero. Increment
143 offset by the number of actual bytes sent, although I wonder if
144 such a scenario is possible where less than requested would be
145 sent and accepted by the server without errors.
147 2008-08-13 Tor Lillqvist <tml@novell.com>
149 * win32/gwinhttpvfs.c
150 * win32/gwinhttpvfs.h
151 * win32/gwinhttpfile.c
152 * win32/gwinhttpfile.h
153 * win32/gwinhttpfileinputstream.c
154 * win32/gwinhttpfileinputstream.h
155 * win32/gwinhttpfileoutputstream.c
156 * win32/gwinhttpfileoutputstream.h: New files implementing
157 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
158 Windows. The implementation uses the WinHttp API. Both reading and
159 writing are supported, i.e. GET and PUT requests. When writing,
160 each write call is done using a separate PUT request with a
161 Content-Range header. Requests for file URIs and plain pathnames
162 are forwarded to GLocalVfs.
164 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
165 WINE. Used as there is no <winhttp.h> bundled with mingw, and
166 requiring people to download the Windows SDK just for this one
167 header is not reasonable.
169 * win32/Makefile.am: Add above files.
171 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
172 the plumbing for the above.
174 2008-08-11 Sven Neumann <sven@gimp.org>
176 * gfilenamecompleter.c
177 * glocaldirectorymonitor.c
179 * gunionvolumemonitor.c
183 * gunixvolumemonitor.c
186 * gwin32volumemonitor.c: use canonical signal names.
188 2008-08-11 Tor Lillqvist <tml@novell.com>
190 * Makefile.am: Put a list of the platform-dependent .la files in
191 the subdirectories in the platform_deps Make variable, and make
192 libgio-2.0.la depend on that, so that it gets relinked if one of
193 the dependent libraries has changed.
195 2008-08-11 Tor Lillqvist <tml@novell.com>
197 * Makefile.am (platform_libadd): Remove -lwininet which had been
198 added by mistake. We will probably eventually be using WinHTTP,
199 not the older WinInet anyway. (Actually I am working on it.)
201 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
203 Bug 547080 – g_file_copy leaks expected errors
205 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
206 before trying the next fallback routine.
208 2008-08-09 Loïc Minier <lool@dooz.org>
210 Bug 535124 – umask 002 not being applied for new directories, new
211 files get the correct umask
213 * gfile.c (g_file_make_directory)
214 (g_file_make_directory_with_parents): Document ownership and
215 permissions of newly created directories as being the default
218 2008-08-08 Loïc Minier <lool@dooz.org>
220 Bug 535124 – umask 002 not being applied for new directories, new
221 files get the correct umask
223 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
226 2008-08-08 Tor Lillqvist <tml@novell.com>
228 * gwin32mount.c: Remove unused code. Whitespace cleanup.
230 * gwin32volumemonitor.c (get_connected_drives): Put questionable
231 code that didn't actually do anything inside #if 0, and add a
232 comment wondering what the code was supposed to do. This also gets
233 rid of a leftover debugging printout.
235 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
237 * gfileicon.c (g_file_icon_get_property)
238 (g_file_icon_set_property): New functions.
239 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
241 (g_file_icon_new): Use the property (bug #546132).
243 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
245 * gthemedicon.c (g_themed_icon_get_property): Also handle
246 `PROP_USE_DEFAULT_FALLBACKS'.
247 (g_themed_icon_class_init): Make
248 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
250 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
252 Bug 546371 – Improve docs re g_file_monitor
254 * gfilemonitor.c: Mention g_file_monitor() in the docs.
256 2008-08-04 Matthias Clasen <mclasen@redhat.com>
258 * === Released 2.17.6 ===
260 2008-08-04 Matthias Clasen <mclasen@redhat.com>
262 * === Released 2.17.5 ===
264 2008-08-04 Matthias Clasen <mclasen@redhat.com>
266 Bug 546017 – Don't copy attributes when copying a symlink
268 * gfile.c (g_file_copy_attributes): Specify
269 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
270 g_file_set_attributes_from_info. Patch by Christian Kellner
272 2008-08-04 Matthias Clasen <mclasen@redhat.com>
274 * gemblemedicon.[hc]:
276 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
277 a bit more extensible. Work by Clemens Buss.
279 * gioenums.h: Add GEmblemOrigin.
282 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
284 Bug 546079 – leak in xdgmime
286 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
288 2008-08-03 Tor Lillqvist <tml@novell.com>
290 * win32/gwin32directorymonitor.h
291 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
294 2008-08-03 Tor Lillqvist <tml@novell.com>
296 * win32/gwin32directorymonitor.c
297 (g_win32_directory_monitor_callback): Make prototype match
298 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
299 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
302 (g_win32_directory_monitor_constructor):
303 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
304 names in the GLib API on Windows, so convert to UTF-16 and open
307 2008-08-03 Tor Lillqvist <tml@novell.com>
309 Bug 541036 - Gnumeric crashes when trying to open Desktop or
310 user's folder under Windows
312 * win32/gwin32directorymonitor.c
313 (g_win32_directory_monitor_constructor): Ignore error from
314 CreateFile() when opening directory. Instead of asserting, just
315 store INVALID_HANDLE_VALUE then in
316 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
317 ReadDirectoryChangesW().
318 (g_win32_directory_monitor_cancel): Don't attempt to close
319 directory handle if it is INVALID_HANDLE_VALUE.
321 2008-08-01 Matthias Clasen <mclasen@redhat.com>
323 * gdesktopappinfo.c: Remove debug spew
325 2008-08-01 Hans Breuer <hans@breuer.org>
327 * makefile.msc : add gemblembedicon
329 2008-07-30 Matthias Clasen <mclasen@redhat.com>
331 Bug 545457 – gdmsetup crashed with SIGSEGV in
332 g_unix_mount_guess_should_display()
334 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
335 crash if no mount is found.
337 2008-07-28 Matthias Clasen <mclasen@redhat.com>
339 Bug 545203 – gfile.c: argument is different type.
341 * gfile.c (open_read_async_thread): Pass a GError **
342 to g_file_set_error_literal.
343 Reported by Kazuki Iwamoto
345 2008-07-28 Matthias Clasen <mclasen@redhat.com>
347 Bug 545157 – wrong/no list of "open with" applications for .cc and
350 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
351 Collect all ancestors, not just direct parents. Pointed
352 out by Bastien Nocera
354 2008-07-28 Matthias Clasen <mclasen@redhat.com>
356 * Makefile.am: Install gemblemedicon.h
358 2008-07-28 Matthias Clasen <mclasen@redhat.com>
360 * gemblemedicon.[hc]: Add a GIcon implementation that can
361 add an emblem to another icon.
368 * gfileicon.c: Small documentation additions.
370 2008-07-28 Tor Lillqvist <tml@novell.com>
372 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
375 2008-07-27 Tor Lillqvist <tml@novell.com>
377 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
379 2008-07-24 David Zeuthen <davidz@redhat.com>
383 Also export a g_mount_guess_content_type_sync() function.
385 2008-07-23 Matthias Clasen <mclasen@redhat.com>
387 529694 – SELinux context setting support
389 * gfileinfo.c: Support setting selinux attributes.
390 Patch by Tomas Bzatek
392 2008-07-22 Priit Laes <plaes@plaes.org>
394 Bug 544140 - fam-helper 64-bit issue?
396 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
398 2008-07-21 Matthias Clasen <mclasen@redhat.com>
400 * === Released 2.17.4 ===
402 2008-07-20 Matthias Clasen <mclasen@redhat.com>
404 * gvolumemonitor.[hc]:
409 * gmount.c: Documentation fixes
411 2008-07-19 Matthias Clasen <mclasen@redhat.com>
413 543504 – crash in Epiphany Web Browser: Opening local file
424 * gvolume.c: Register types thread-safely.
425 Patch by Christian Persch
427 2008-07-18 Matthias Clasen <mclasen@redhat.com>
429 * gcontenttype.c: Remove debug spew
431 2008-07-18 Matthias Clasen <mclasen@redhat.com>
433 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
436 * fen/fen-kernel.c: Remove a warning that was causing
437 crashes. Reported by Lin Ma.
439 2008-07-18 Matthias Clasen <mclasen@redhat.com>
441 Bug 543040 – async reading on dummy file will crash on
444 * gfile.c (open_read_async_thread): Cope with read_fn being
445 NULL. Reported by Lin Ma.
447 2008-07-18 Matthias Clasen <mclasen@redhat.com>
450 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
452 2008-07-16 Matthias Clasen <mclasen@redhat.com>
456 * giomodule.c: Rename a chapter id to avoid filename conflict.
458 2008-07-16 Matthias Clasen <mclasen@redhat.com>
460 Bug 540616 – mem leak in filechooser button
462 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
463 the mount entry. Reported by Chrisitan Persch
465 2008-07-16 Matthias Clasen <mclasen@redhat.com>
467 * gfile.c: Small documentation fixes.
469 2008-07-15 Matthias Clasen <mclasen@redhat.com>
471 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
473 2008-07-08 Matthias Clasen <mclasen@redhat.com>
478 * gmount.c: Documentation improvements.
480 2008-07-08 Matthias Clasen <mclasen@redhat.com>
483 * gmount.[hc]: Add g_mount_guess_content_type().
485 2008-07-06 David Zeuthen <davidz@redhat.com>
488 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
489 is needed for easily handling adoption of foreign volumes by
490 out-of-process volume monitors (#541793)
492 2008-07-06 David Zeuthen <davidz@redhat.com>
494 * gvolumemonitor.[ch]:
495 * gunionvolumemonitor.c: Export the eject-button signal on the
496 volume monitor class (#541794).
498 2008-07-06 Matthias Clasen <mclasen@redhat.com>
500 * gappinfo.c: More doc tweaks
502 2008-07-05 Matthias Clasen <mclasen@redhat.com>
504 * gappinfo.c: Clarify some docs
506 2008-07-03 Matthias Clasen <mclasen@redhat.com>
508 * gdesktopappinfo.c: Fix a stupid mistake.
510 2008-07-02 Matthias Clasen <mclasen@redhat.com>
512 * === Released 2.17.3 ===
514 2008-07-02 Matthias Clasen <mclasen@redhat.com>
516 * gfilemonitor.c: Fix the build.
518 2008-07-02 Matthias Clasen <mclasen@redhat.com>
520 Bug 536160 – Add g_file_monitor()
523 * gfile.[hc]: Add g_file_monitor which can return either
524 a file or a directory monitor. Proposed by Behdad Esfahbod
526 2008-07-02 Matthias Clasen <mclasen@redhat.com>
528 536733 – gio build failure on Irix
530 * glocalfile.c: Use a configure check for structfs.f_bavail.
532 2008-07-02 Matthias Clasen <mclasen@redhat.com>
534 Bug 534639 – add g_desktop_app_info_new_from_keyfile
537 * gdesktopappinfo.[hc]: Add a function to create a
538 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
540 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
542 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
544 2008-07-01 Matthias Clasen <mclasen@redhat.com>
546 * gunixmounts.c: Fix a doc typo.
548 2008-07-01 Cody Russell <bratsche@gnome.org>
550 * gio/gcontenttype.c:
551 * gio/gwin32appinfo.c:
552 * gio/gwin32volumemonitor.c:
553 * gio/gwin32mount.c: Fixed some include problems.
555 2008-07-01 Cody Russell <bratsche@gnome.org>
559 Moved all relevant typedefs into these files.
562 Updated wrt added files.
564 Split types into separate file for easier maintainership. (#538564)
566 2008-06-30 Matthias Clasen <mclasen@redhat.com>
568 Bug 540331 – g_file_append_to () documentation: can return NULL
570 * gfile.c (g_file_append_to): Clarify docs.
573 2008-06-30 Matthias Clasen <mclasen@redhat.com>
575 Bug 539090 – g_content_type_from_mime_type() should unalias
577 * gcontentype.c (g_content_type_from_mime_type): Unalias.
578 Patch by Markus Bergman
580 2008-06-30 Matthias Clasen <mclasen@redhat.com>
582 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
585 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
586 on ppc and alpha. Reported by Mart Raudsepp
588 2008-06-29 Matthias Clasen <mclasen@redhat.com>
591 * tests/memory-output-stream.c: Add some tests for
594 2008-06-29 Matthias Clasen <mclasen@redhat.com>
596 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
599 * gmemoryoutputstream.c (array_resize): Handle truncation to
600 zero correctly. Reported by Akira Tagoh
602 2008-06-29 Matthias Clasen <mclasen@redhat.com>
604 * gmemoryoutputstream.c: Trivial doc fixes
606 2008-06-29 Matthias Clasen <mclasen@redhat.com>
608 Bug 540802 – g_list_prepend doesn't concat lists
610 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
611 one list to another. Pointed out by Jan Arne Petersen
613 2008-06-28 Michael Natterer <mitch@imendio.com>
615 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
617 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
619 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
620 to avoid problems with partial icon themes.
622 2008-06-17 Hans Breuer <hans@breuer.org>
624 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
625 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
626 access again on win32, see bug #538127
627 * giomodule.c : ensure GWin32VolumeMonitor is registered
628 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
629 * Makefile.am makefile.msc : updated
631 2008-06-16 Hans Breuer <hans@breuer.org>
633 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
634 and initialization in one step avoids c99ism
636 2008-06-16 Christian Persch <chpe@gnome.org>
639 * gio/gbufferedinputstream.c
641 * gio/gdatainputstream.c
642 * gio/gdesktopappinfo.c
644 * gio/gfileenumerator.c
645 * gio/gfileinputstream.c
646 * gio/gfileoutputstream.c
648 * gio/glocaldirectorymonitor.c
650 * gio/glocalfileenumerator.c
651 * gio/glocalfileinfo.c
652 * gio/glocalfilemonitor.c
653 * gio/glocalfileoutputstream.c
654 * gio/gmemoryinputstream.c
655 * gio/gmemoryoutputstream.c
656 * gio/goutputstream.c
657 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
660 2008-06-16 Tor Lillqvist <tml@novell.com>
662 Bug 538362 - Get Win32 icons back in the file chooser
664 * gcontenttype.c (g_content_type_get_icon): Look up the icon
665 corresponding to a file extension in the Registry. Patch by Hans
667 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
669 2008-06-16 Tor Lillqvist <tml@novell.com>
671 Patches by Hans Breuer:
673 * glocalfile.c (is_xp_or_later): Handle compiling against older
674 SDK headers with missing VerifyVersionInfo(). Conditioned on
675 _MSC_VER, but should probably use some better test.
676 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
677 uninitialised statfs_result variable on Win32.
679 2008-06-16 Michael Natterer <mitch@imendio.com>
681 * *.c: chain up unconditionally in finalize() and dispose(). Also
682 don't dereference these function pointers when calling them since
683 that has no meaning at all.
685 2008-06-16 Ross Burton <ross@burtonini.com>
688 Remove check for dispose implementation as it annoys Emmanuele.
690 2008-06-16 Ross Burton <ross@burtonini.com>
692 Bug 536252 – GFileEnumerator should allow access to the containing
698 Add g_file_enumerator_get_container() and a container writeable
699 construct-only property. Also shuffle around typedefs to make it
702 * glocalfileenumerator.c:
703 * glocalfileenumerator.h:
705 Instead of a string filename take a GFile in the constructor and
706 use it to set the container property.
711 2008-06-16 Matthias Clasen <mclasen@redhat.com>
713 * gfile.c: Make includes more uniform
715 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
717 * tests/live-g-file.c (sample_struct):
718 Use less fancy unicode filenames, so the test doesn't fail
719 on Mac OS X (#531476).
721 2008-06-12 Matthias Clasen <mclasen@redhat.com>
723 * === Released 2.17.2 ===
725 2008-06-12 Matthias Clasen <mclasen@redhat.com>
727 * === Released 2.17.1 ===
729 2008-06-11 A. Walton <awalton@gnome.org>
731 * tests/g-file.c (test_g_file_new_null):
732 Fix broken test case.
734 2008-06-11 Matthias Clasen <mclasen@redhat.com>
736 * pltcheck.sh: We use g_clear_error now.
738 2008-06-11 Matthias Clasen <mclasen@redhat.com>
740 * glocalfile.c (g_local_file_enumerate_children): Revert
741 an unintended change.
743 2008-06-11 Matthias Clasen <mclasen@redhat.com>
745 * gfile.c (g_file_replace_contents): Don't unref before the last use.
747 2008-06-10 Matthias Clasen <mclasen@redhat.com>
749 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
752 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
753 as icon for the desktop directory, also make user-home and
754 user-desktop the preferred icons.
756 2008-06-10 Matthias Clasen <mclasen@redhat.com>
759 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
760 to add a name to the front of the list.
762 2008-06-10 Matthias Clasen <mclasen@redhat.com>
764 Bug 537392 – Additional colon in xattr name
766 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
767 too. Reported by Alessandro Morandi
769 2008-06-10 Matthias Clasen <mclasen@redhat.com>
771 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
774 * glocalfile.c (get_fs_type): Add afs and autofs.
775 Patch by Danny Baumann.
777 2008-06-10 Matthias Clasen <mclasen@redhat.com>
779 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
781 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
782 is no parent. (Owen Taylor, patch by Christian Neumair)
784 2008-06-10 Paolo Borelli <pborelli@katamail.com>
786 * gfile.c (g_file_replace_contents): do not leak the output stream.
788 2008-06-10 Michael Natterer <mitch@imendio.com>
790 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
791 uninitialized memory as array index.
793 2008-06-10 Tor Lillqvist <tml@novell.com>
795 * gcontenttype.c (g_content_type_can_be_executable)
796 (g_content_type_get_icon) [Win32]: Add TODO comments.
798 2008-06-09 Matthias Clasen <mclasen@redhat.com>
800 * xdgmime/Makefile.am: Fix the build
802 2008-06-09 Matthias Clasen <mclasen@redhat.com>
804 * gcontenttype.c (g_content_type_get_icon): Use icons specified
805 in the shared mime database, if available.
807 * xdgmime/*: Sync with upstream. This brings support for
808 glob weights, generic icons, and changes the cache format to
811 2008-05-28 Michael Natterer <mitch@imendio.com>
813 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
814 the global CPPFLAGS now.
816 * tests/data-input-stream.c
817 * tests/data-output-stream.c
818 * tests/g-file-info.c
820 * tests/live-g-file.c
821 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
823 2008-05-27 Matthias Clasen <mclasen@redhat.com>
825 * === Released 2.17.0 ===
827 * tests/live-g-file.c: Clean up after the tests, so make distcheck
828 doesn't complain about leftover files.
830 2008-05-27 simon.zheng <simon.zheng@sun.com>
832 * glocalfile.c: (g_local_file_query_filesystem_info):
833 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
835 2008-05-26 Michael Natterer <mitch@imendio.com>
837 * gmemoryoutputstream.h: declare
838 g_memory_output_stream_get_data_size().
840 2008-05-26 Matthias Clasen <mclasen@redhat.com>
842 * tests/*: Make tests work
844 2008-05-26 Matthias Clasen <mclasen@redhat.com>
846 * gio.symbols: Add g_memory_output_stream_get_data_size.
848 2008-05-25 Ross Burton <ross@burtonini.com>
851 Fix typo in error message (#534764).
853 2008-05-25 Ross Burton <ross@burtonini.com>
856 Fix circular dependency loop for gioenumtypes.h (#534759).
858 2008-05-19 Hans Breuer <hans@breuer.org>
860 * Makefile.am : EXTRA_DIST += makefile.msc
862 2008-05-17 Matthias Clasen <mclasen@redhat.com>
865 * gcontenttype.c: (g_content_type_from_mime_type):
866 New function to create a content type from a mime type. (#527175,
869 2008-05-17 Matthias Clasen <mclasen@redhat.com>
871 Bug 532965 – Should not return filesystem::free for certain file systems
873 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
874 free space for ncpfs.
876 2008-05-17 Matthias Clasen <mclasen@redhat.com>
878 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
880 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
881 st_dev might be zero.
883 2008-05-16 Tor Lillqvist <tml@novell.com>
885 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
886 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
888 2008-05-13 Bastien Nocera <hadess@hadess.net>
890 * gfile.c (has_valid_scheme): A URI scheme must start with a
891 letter, even if later more characters are allowed (#532852)
893 2008-05-05 Michael Natterer <mitch@imendio.com>
895 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
896 code from being checked in that breaks the build of applications
897 which use G_DISABLE_SINGLE_INCLUDES.
899 * makegioalias.pl: make the alias file include "glib.h" instead of
902 * gio.symbols: whitespace change to force regeneration of the
903 alias file after above script change.
905 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
907 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
909 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
911 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
913 2008-04-28 David Zeuthen <davidz@redhat.com>
915 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
916 displaying mounts in a subdirectory not accessible to the
919 2008-04-22 Michael Natterer <mitch@imendio.com>
921 * Makefile.am: fix library versioning (it was 0.0.0).
923 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
925 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
926 Default disable all loggings.
927 * fen/fen-kernel.c: (printevent), (port_add_kevent),
928 (port_fetch_event_cb): Fixed two macro nits.
930 2008-04-16 Matthias Clasen <mclasen@redhat.com>
932 * xdgmime/xdgmime.c: Rework the timestamp checking code
933 to protect against duplicate directories in XDG_DATA_DIRS.
934 Fixes fd.o bug 12513, reported by Joe Shaw.
936 2008-04-16 Matthias Clasen <mclasen@redhat.com>
938 Partically revert the last commit after realizing that
939 xdg_mime_media_type_equal doesn't have to init at all.
942 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
944 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
946 2008-04-16 Matthias Clasen <mclasen@redhat.com>
948 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
949 reported by Joe Shaw and Federico Mena Quintero.
951 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
952 (xdg_mime_media_type_equal): Turn into a wrapper around the
955 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
956 functions throughout.
958 2008-04-16 Michael Meeks <michael.meeks@novell.com>
960 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
961 tolerate an empty TryExec= line without failing; nautilus used
962 to create launchers with these in previous versions. Fixes #528433
964 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
966 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
967 after name. Fixes #527132.
969 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
971 * gfile.c: (g_file_replace):
974 2008-04-07 Matthias Clasen <mclasen@redhat.com>
976 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
978 * gfile.c (file_copy_fallback): Fix the argument order. Patch
979 by Christian Kellner.
981 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
983 * gunixmounts.c: (g_unix_mount_guess_should_display):
984 Don't list the user directory as a mount, fix potential issue
985 when other users have a similar naming and don't special case the
986 gvfs mounts there since that's not required (#525866)
988 2008-03-31 Alexander Larsson <alexl@redhat.com>
990 * glocalfile.c (get_parent):
993 2008-03-31 A. Walton <awalton@svn.gnome.org>
995 * gfile.c (g_file_query_file_type):
996 Always return a GFileType enum value (#520715).
998 2008-03-31 Alexander Larsson <alexl@redhat.com>
1000 * glocalfileenumerator.c:
1001 Read readdir() info in chunks (of 1000) and sort
1002 the chunks by inode before stat:ing.
1003 This is a 20% performance increase in testing
1004 gvfs-ls on /usr/bin with cold cache.
1006 2008-03-31 Alexander Larsson <alexl@redhat.com>
1008 * gmemoryoutputstream.c:
1009 Clarify docs for g_memory_output_stream_get_size.
1010 Add g_memory_output_stream_get_data_size.
1012 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1016 * gfile.h: Add g_file_query_file_type convenience function
1017 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1019 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1021 * gfileenumerator.c:
1022 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1024 2008-03-28 A. Walton <awalton@svn.gnome.org>
1026 * giomodule.c (_g_io_modules_ensure_loaded):
1027 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1030 2008-03-28 Alexander Larsson <alexl@redhat.com>
1033 (copy_stream_with_progress):
1036 2008-03-28 Alexander Larsson <alexl@redhat.com>
1039 (copy_stream_with_progress):
1040 (file_copy_fallback):
1041 Fallback to g_file_query_info for source size
1042 if g_file_input_stream_query_info fails. (#524579)
1044 2008-03-28 Alexander Larsson <alexl@redhat.com>
1046 * glocalfile.c (g_local_file_move):
1047 Reuse old string instead of adding new one.
1049 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1051 * fen/*.[hc]: still copyright issue. I hate copyright.
1053 2008-03-27 Alexander Larsson <alexl@redhat.com>
1055 * glocalfile.c (g_local_file_move):
1056 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1057 file over directory. This is according to the docs and what the move via
1058 copy+remove fallback does.
1060 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1062 * fen/*.[hc]: Updated copyright.
1064 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1066 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1068 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1070 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1071 not emit attribute changed events when optimizing changed events.
1072 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1075 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1077 * gmountoperation.[hc]: Small documentation additions
1079 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1081 * gunixmounts.c: (guess_mount_type):
1082 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1084 2008-03-19 Alexander Larsson <alexl@redhat.com>
1087 (copy_stream_with_progress):
1088 Bump block side for copy to 64k to minimize
1089 overhead for low latency links. (#523015)
1091 2008-03-16 Tor Lillqvist <tml@novell.com>
1093 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1094 depend on gio.def on Windows.
1096 2008-03-12 David Zeuthen <davidz@redhat.com>
1100 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1102 2008-03-14 Alexander Larsson <alexl@redhat.com>
1106 Avoid redudant tests (#521851)
1107 Patch from Josselin Mouette
1109 2008-03-14 Alexander Larsson <alexl@redhat.com>
1112 (g_file_monitor_is_cancelled):
1113 Fix C89 issue (#521672)
1114 Patch from Jens Granseuer
1116 2008-03-14 Alexander Larsson <alexl@redhat.com>
1118 * fam/fam-helper.[ch]:
1120 Shut down fam (including removing fam GSource) when
1121 module is unloaded (#521513)
1122 Patch from Joe Marcus Clarke
1124 2008-03-14 Alexander Larsson <alexl@redhat.com>
1127 (_g_io_modules_ensure_loaded):
1130 2008-03-14 Alexander Larsson <alexl@redhat.com>
1133 (g_local_file_query_filesystem_info):
1134 Use right define name for f_fstypename member check
1136 2008-03-14 Alexander Larsson <alexl@redhat.com>
1139 * fen/Makefile.am: Added.
1140 * fen/fen-data.[ch]: Added.
1141 * fen/fen-dump.[ch]: Added.
1142 * fen/fen-helper.[ch]: Added.
1143 * fen/fen-kernel.[ch]: Added.
1144 * fen/fen-missing.[ch]: Added.
1145 * fen/fen-node.[ch]: Added.
1146 * fen/fen-sub.[ch]: Added.
1147 * fen/gfendirectorymonitor.[ch]: Added.
1148 * fen/gfenfilemonitor.[ch]: Added.
1150 Added Solaris FEN file notification backend.
1151 Patch from Lin Ma <Lin.Ma@Sun.COM>
1153 2008-03-13 Tor Lillqvist <tml@novell.com>
1155 * Makefile.am: Actually use the gio.def file when linking the
1156 library on Windows. Produce .lib library for Microsoft's toolchain
1157 when possible. Install the .lib and .def file like for the other
1160 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1162 * tests/live-g-file.c:
1163 Include live-g-file in standard set of tests, making a temporary
1164 directory in source structure.
1166 Clean target directory before the tests (write mode only)
1168 2008-03-12 Tor Lillqvist <tml@novell.com>
1170 Bug 517419 - gio win32 directory monitor
1171 Implementation by Vlad Grecescu.
1174 * win32/gwin32directorymonitor.h
1175 * win32/gwin32directorymonitor.c: New files.
1177 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1179 * Makefile.am: Add the win32 subdirectory.
1181 2008-03-12 Tor Lillqvist <tml@novell.com>
1183 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1184 normal struct stat on Unix but struct _stati64 on Windows to have
1185 access to 64-bit file size information. Use that instead of struct
1186 stat in the functions declared here in this private header.
1188 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1189 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1190 warnings about unused functions and variables. Don't set
1191 meaningless attributes like inode numbers on Windows.
1193 2008-03-12 Benjamin Otte <otte@gnome.org>
1196 trim whitespace so gtk-doc groks the function name
1198 2008-03-12 Tor Lillqvist <tml@novell.com>
1200 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1201 returning FALSE, on Win32.
1203 2008-03-11 Alexander Larsson <alexl@redhat.com>
1206 * glocalfileinfo.[ch]:
1207 Correctly implement can_trash by actually
1208 looking for a trash dir, not just assuming
1211 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1213 * === Released 2.16.1 ===
1215 2008-03-11 Alexander Larsson <alexl@redhat.com>
1218 Fix crashes in new constructor and properties code
1220 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1222 * gfile.c: Minor spelling correction in documentation:
1223 existance -> existence.
1225 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1227 * === Released 2.16.0 ===
1229 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1231 * gio.symbols: Remove g_file_contains_file here, too.
1233 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1235 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1236 Samuel Cormier-Iijima)
1238 2008-03-08 Tor Lillqvist <tml@novell.com>
1240 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1243 2008-03-07 Alexander Larsson <alexl@redhat.com>
1246 (g_local_file_query_filesystem_info):
1247 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1248 Patch from Jasper Lievisse Adriaanse
1250 2008-03-06 Tor Lillqvist <tml@novell.com>
1252 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1253 comments for the *_USEC attributes.
1255 2008-03-06 Alexander Larsson <alexl@redhat.com>
1257 * gfile.c (g_file_query_exists):
1258 Add g_return_val_if_fail check (#520700)
1260 2008-03-06 Alexander Larsson <alexl@redhat.com>
1262 * gdesktopappinfo.c:
1265 * gunionvolumemonitor.c:
1268 * tests/live-g-file.c:
1269 * xdgmime/xdgmimecache.c:
1270 Fix sparse warnings (#519489)
1272 2008-03-05 Alexander Larsson <alexl@redhat.com>
1275 Make cancellation threadsafe (i.e.
1276 guarantee its only done once, and always
1279 * glocaldirectorymonitor.c:
1280 Make sure we the monitor lives while the
1281 mounts_changed callback is being called (#520484)
1283 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1285 * gbufferedinputstream.c: Fix typo in parameter
1288 2008-03-04 Alexander Larsson <alexl@redhat.com>
1291 Remove deprecated symbols we kept for one release.
1293 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1296 * goutputstream.c: Tiny documentation corrections.
1298 2008-03-03 Alexander Larsson <alexl@redhat.com>
1300 * gunionvolumemonitor.c:
1302 Fix the adopt_orphan_mount vfunc to take a
1303 volume_monitor reference in an ABI compat way.
1304 This change is not API compat, but the added
1305 arg is not used in the only user of this vfunc, so
1306 all we get is a harmless warning in gvfs (#520169)
1308 2008-03-01 Benjamin Otte <otte@gnome.org>
1311 clarify docs for g_file_delete().
1313 2008-02-29 Alexander Larsson <alexl@redhat.com>
1317 Make sure empty files get text/plain type (#518720)
1319 2008-02-27 Alexander Larsson <alexl@redhat.com>
1325 (g_unix_volume_mount):
1326 Add missing GMountMountFlags argument
1328 2008-02-26 Alexander Larsson <alexl@redhat.com>
1331 (g_local_file_delete):
1332 Handle filesystems (like ntfs-3g) that return EEXIST instead
1333 of ENOTEMPTY (#518816)
1335 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1337 * === Released 2.15.6 ===
1339 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1341 * gfile.c (g_file_find_enclosing_mount):
1342 * ginputstream.c (g_input_stream_set_pending):
1343 * glocalfile.c (g_local_file_find_enclosing_mount):
1344 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1345 * goutputstream.c (g_output_stream_set_pending):
1347 Fixup translator comments (#518578).
1349 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1351 * gfile.c (g_file_find_enclosing_mount):
1353 * glocalfile.c (g_local_file_find_enclosing_mount):
1356 Fix a few typos in translator comments and documentation.
1358 2008-02-25 Alexander Larsson <alexl@redhat.com>
1365 Add translator comments (#518578)
1367 2008-02-25 Alexander Larsson <alexl@redhat.com>
1370 Reintroduce g_file_contains_file, keep around for one
1371 unstable release cycle to avoid crashing to many apps.
1372 Make sure to delete after release.
1374 2008-02-25 Alexander Larsson <alexl@redhat.com>
1377 Remove deprecated g_file_contains_file.
1379 2008-02-25 Alexander Larsson <alexl@redhat.com>
1382 Emit actual change signals in an idle handler.
1383 This avoids reentrance and locking problems in
1384 the file notification backends.
1386 2008-02-25 Alexander Larsson <alexl@redhat.com>
1389 (g_unix_mount_guess_should_display):
1390 Remove type guessing, instead just display
1391 mounts in /media and in ~/.
1393 2008-02-25 Alexander Larsson <alexl@redhat.com>
1396 Make new strings reuse old ones.
1398 2008-02-25 Alexander Larsson <alexl@redhat.com>
1401 Implement trashing and filesystem::readonly for win32 (#517235)
1402 Patch from Yevgen Muntyan
1404 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1406 * gfileinfo.h: Documentation fixes.
1408 2008-02-22 Alexander Larsson <alexl@redhat.com>
1410 * gcontenttype.c (g_content_type_get_icon):
1411 Look at old-style gnome mime icon names too, as many
1412 have not moved to the new style.
1414 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1416 * *.c: Correct the @include in for section docs.
1418 2008-02-21 David Zeuthen <davidz@redhat.com>
1420 * glocalfileinfo.c: (_g_local_file_info_get):
1422 (g_content_type_get_icon): Implement this function by
1423 moving bits from glocalfileinfo.c
1424 (g_content_type_get_description): Unalias before getting
1425 description (#517687)
1427 * gfile.c: (g_file_class_init),
1428 (g_file_query_filesystem_info_async),
1429 (g_file_query_filesystem_info_finish),
1430 (query_filesystem_info_data_free),
1431 (query_filesystem_info_async_thread),
1432 (g_file_real_query_filesystem_info_async),
1433 (g_file_real_query_filesystem_info_finish):
1434 * gfile.h: Implement async version of
1435 g_file_query_filesystem_info()
1437 * gfileinfo.h: Add new attributes for filesystem::use-preview
1439 * gio.symbols: Update
1441 * gthemedicon.c: (g_themed_icon_append_name):
1442 * gthemedicon.h: Add new new convenience function.
1444 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1445 (get_mounts), (get_volumes), (get_connected_drives),
1446 (get_volume_for_uuid), (get_mount_for_uuid),
1447 (g_union_volume_monitor_init), (populate_union_monitor),
1448 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1449 (g_volume_monitor_adopt_orphan_mount):
1451 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1452 monitor implementations to call into the main volume monitor. Also
1453 separate object initialization and volume monitor initialization
1454 such that non-native volume monitors can properly adopt their
1457 2008-02-21 Alexander Larsson <alexl@redhat.com>
1462 2008-02-21 Alexander Larsson <alexl@redhat.com>
1465 Add more documentation about how GFiles work (from #517086)
1467 2008-02-21 Alexander Larsson <alexl@redhat.com>
1471 Add new g_file_has_prefix that does the same as g_file_contains_file.
1472 Deprecate g_file_contains_file and add a macro that converts
1473 it to g_file_has_prefix.
1474 The reason for this change is that the contains_file() name seems to
1475 imply that this does more work than what it does, but its really only
1476 a name match (from #517086)
1481 Update to match the above change.
1483 2008-02-20 Benjamin Otte <otte@gnome.org>
1485 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1486 (g_file_eject_mountable):
1487 even more cases of not returning in error path
1489 2008-02-20 Benjamin Otte <otte@gnome.org>
1491 * gfile.c: (g_file_mount_mountable):
1492 return from function in error path.
1494 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1497 Remove trailing coma in GMountMountFlags struct
1499 2008-02-18 Alexander Larsson <alexl@redhat.com>
1503 * glocalfileoutputstream.c:
1504 Use g_unlink/g_rename instead of unlink/rename;
1505 do not pass raw filenames to g_set_error. (#517239)
1506 Patch from Yevgen Muntyan.
1508 2008-02-18 Alexander Larsson <alexl@redhat.com>
1511 * glocalfileoutputstream.c:
1512 Open files with O_BINARY on windows. (#517140)
1514 2008-02-14 Alexander Larsson <alexl@redhat.com>
1516 * glocalfileoutputstream.c:
1517 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1519 2008-02-14 Alexander Larsson <alexl@redhat.com>
1522 Copy permissions with file on copy (#514084)
1523 This is what cp does and makes sure e.g. the
1524 exec permissions are kept.
1525 Its kinda weird in that it keeps the permission bits
1526 the same while the uid and gid are different. However
1527 the new uid is the user so its not a security issue,
1528 and I've heard no complaints about cp on this issue.
1530 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1532 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1534 2008-02-13 Alexander Larsson <alexl@redhat.com>
1536 * inotify/inotify-path.c:
1537 Define IN_ONLYDIR if not in header (#515346)
1539 2008-02-12 Alexander Larsson <alexl@redhat.com>
1541 * tests/live-g-file.c:
1544 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1546 * === Released 2.15.5 ===
1548 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1550 * gio.symbols: Add g_mount_mount_flags_get_type.
1552 2008-02-11 Alexander Larsson <alexl@redhat.com>
1555 (g_file_info_set_attribute_mask):
1556 (g_file_attribute_matcher_matches_id):
1557 Correctly handle NULL GAttributeMatcher meaning
1558 matches nothing. (Fixes #513492)
1560 2008-02-11 Alexander Larsson <alexl@redhat.com>
1565 Added GMountMountFlags enum and added a flags
1566 argument to all mount calls.
1568 This is an API/ABI change for future extensibility,
1569 as I think we will need at least an
1570 inhibit-autorun flag (the panel needs this).
1571 There are no flags defined yet though.
1573 2008-02-11 Alexander Larsson <alexl@redhat.com>
1576 Added new standard::description attribute.
1577 Requested by Vincent, and useful for both
1580 2008-02-11 Alexander Larsson <alexl@redhat.com>
1582 * gdesktopappinfo.c:
1585 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1587 * *.c: Documentation additions
1589 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1591 * gappinfo.h: Formatting cleanup
1592 * gappinfo.c: Fix up docs.
1594 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1596 * gunixmounts.c: Consistently use getmntent_r() and fall
1597 back to getmntent(). (#515492)
1599 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1601 * gbufferedinputstream.c:
1603 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1605 * tests/data-input-stream.c:
1606 * tests/data-output-stream.c: Portability fixes.
1608 2008-02-08 Alexander Larsson <alexl@redhat.com>
1613 Add g_volume_should_automount.
1616 2008-02-07 Tor Lillqvist <tml@novell.com>
1618 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1619 Win32, too Unix-specific.
1621 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1623 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1624 a local plt if the compiler doesn't support what we want. Bug #514702
1626 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1628 reviewed by: <delete if not using a buddy>
1631 * gunixinputstream.c:
1632 * gunixoutputstream.c:
1634 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1636 * tests/Makefile.am:
1637 * tests/live-g-file.c:
1638 * tests/live-g-file.txt:
1639 New GIO testing module working over real data
1641 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1643 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1644 Fallback to rename() if link() is not available
1645 (when no support on target filesystem)
1647 2008-02-06 Michael Natterer <mitch@imendio.com>
1649 * gfileinfo.c (g_file_info_get_icon): replace
1650 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1652 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1654 * gfile.c (g_file_create):
1655 Documentation update of error codes
1657 2008-02-06 Alexander Larsson <alexl@redhat.com>
1659 * gdesktopappinfo.c:
1660 Update to use both mimeapps.list and
1661 defaults.list as discussed on xdg list.
1663 2008-02-06 Benjamin Otte <otte@gnome.org>
1666 * gfilenamecompleter.c:
1667 Fix some typos in the documentation.
1669 2008-02-06 Alexander Larsson <alexl@redhat.com>
1671 * glocalfile.c (g_local_file_trash):
1672 Don't succeed with trash if newly created
1673 trash dir has the wrong owner. (#514696)
1675 2008-02-05 Alexander Larsson <alexl@redhat.com>
1677 * glocalfile.c (g_local_file_move):
1678 Don't spew warnings when destination is not
1681 2008-02-03 Hans Breuer <hans@breuer.org>
1683 * makefile.msc : update
1685 2008-02-01 Michael Natterer <mitch@imendio.com>
1687 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1688 return value of xdg_mime_list_mime_parents() to a variable of the
1691 2008-02-01 Alexander Larsson <alexl@redhat.com>
1693 * gappinfo.c (g_app_info_launch_uris):
1694 Actually call the launch_uris method, not
1697 2008-02-01 Alexander Larsson <alexl@redhat.com>
1699 * gdesktopappinfo.c (g_desktop_app_info_equal):
1700 Ensure appinfos with no id but same pointer value
1703 2008-02-01 Alexander Larsson <alexl@redhat.com>
1705 * gappinfo.c (g_app_info_launch_default_for_uri):
1708 2008-02-01 Alexander Larsson <alexl@redhat.com>
1712 Add g_app_info_launch_default_for_uri utility
1715 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1717 * gdesktopappinfo.c:
1718 Doc fix for g_app_info_get_default_for_uri_scheme ()
1721 2008-01-30 Alexander Larsson <alexl@redhat.com>
1724 Add doc comment about uris vs GFiles to
1727 * gdesktopappinfo.c:
1728 Ensure uris passed to g_app_info_launch_uris()
1729 are not roundtriped through GFile (as that
1730 may be slightly destructive for e.g. mailto: links)
1732 2008-01-30 Alexander Larsson <alexl@redhat.com>
1734 * tests/data-input-stream.c:
1735 * tests/data-output-stream.c:
1736 C89 fixes from Jens Granseuer (#512849)
1738 2008-01-30 Alexander Larsson <alexl@redhat.com>
1741 Fix gamin/fam difference build issue. (#509419)
1743 2008-01-29 Alexander Larsson <alexl@redhat.com>
1746 * gdesktopappinfo.c:
1747 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1749 2008-01-29 Alexander Larsson <alexl@redhat.com>
1751 * gdesktopappinfo.c:
1752 * gdesktopappinfo.h:
1753 giomodule-priv.h include moved to .c file.
1755 2008-01-29 Alexander Larsson <alexl@redhat.com>
1757 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1758 Remove unused prio/name fields.
1760 2008-01-29 Alexander Larsson <alexl@redhat.com>
1762 * gcontenttype.c (looks_like_text):
1763 Don't treat whitespace as control chars.
1765 2008-01-29 Alexander Larsson <alexl@redhat.com>
1767 * gdesktopappinfo.c:
1768 Lazily create the desktop files for appinfos created
1769 by g_app_info_create_from_commandline() when needed
1770 for mime associations. This allows run-time use
1771 of GAppInfo object without creating unnecessary
1774 2008-01-29 Alexander Larsson <alexl@redhat.com>
1777 Added new symbols to gio.symbols
1779 2008-01-29 Alexander Larsson <alexl@redhat.com>
1782 Add g_file_query_default_handler utility to easily look up
1783 the GAppInfo that handles a file.
1785 * gdesktopappinfo.[ch]:
1787 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1790 Remove unused function
1792 2008-01-29 Alexander Larsson <alexl@redhat.com>
1794 * gfileenumerator.c:
1795 Mention need to free returned value in
1796 g_file_enumerator_next_files_finish docs.
1797 Fix leak if g_file_enumerator_next_files_finish()
1800 2008-01-29 Alexander Larsson <alexl@redhat.com>
1803 (_g_unix_content_type_get_parents):
1804 Use list_parents, not get_parents from xdgmime, because
1805 the later doesn't use the cache.
1807 * xdgmime/xdgmimecache.c:
1808 (_xdg_mime_cache_list_mime_parents):
1809 Don't list the same type as parent multiple times.
1811 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1813 * === Released 2.15.4 ===
1815 2008-01-28 Alexander Larsson <alexl@redhat.com>
1818 Register local vfs with prio 0.
1821 Remove old name and prio class members
1823 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1825 * tests/g-file.c: Disable some tests that are failing in
1826 the absence of a http backend.
1828 2008-01-28 Alexander Larsson <alexl@redhat.com>
1832 Add registration hooks for extension points.
1833 Register the gio extension points.
1835 * fam/gfamdirectorymonitor.c:
1836 * fam/gfamfilemonitor.c:
1837 * glocaldirectorymonitor.[ch]:
1838 * glocalfilemonitor.[ch]:
1839 * gnativevolumemonitor.h:
1840 * gunionvolumemonitor.c:
1841 * gunixvolumemonitor.c:
1844 * inotify/ginotifydirectorymonitor.c:
1845 * inotify/ginotifyfilemonitor.c:
1846 Use the extension points registration instead
1847 of g_type_children().
1849 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1852 * gvolume.[hc]: Document new API.
1854 * gfile.c (g_file_copy_async): Fix docs
1856 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1858 * gbufferedinputstream.c:
1860 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1863 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1865 * glocalfile.c: Avoid trivial differences in translatable strings.
1867 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1869 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1870 build with gcc 3.4 (#509419)
1872 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1874 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1875 (#509994, Murray Cumming)
1877 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1879 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1880 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1881 this allows big jobs to be executed in chunks, instead of blocking
1882 the main loop for a long time.
1884 * gsimpleasyncresult.c:
1885 * giofile.c: Adapt callers.
1887 2008-01-25 Alexander Larsson <alexl@redhat.com>
1889 * gdesktopappinfo.c:
1890 Implement changes discussed on xdg list.
1891 Now we can add supported mimetypes by just using defaults.list
1892 We can also remove associations in defaults.list.
1894 2008-01-25 Alexander Larsson <alexl@redhat.com>
1896 * gdesktopappinfo.c:
1897 Don't make local copy of desktop file
1898 for mimetype changes if the file already
1899 supports the new mimetype.
1901 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1905 * gbufferedinputstream.c:
1906 * glocalfile.c: String improvements. (#511966,
1907 Theppitak Karoonboonyanan)
1909 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1911 * gioscheduler.h: Expand docs a bit.
1913 2008-01-24 Alexander Larsson <alexl@redhat.com>
1916 Add g_drive_get_identifier and
1917 g_drive_enumerate_identifiers
1920 Add g_volume_get_identifier and
1921 g_volume_enumerate_identifiers
1927 Implement identifiers for unix backend
1929 2008-01-24 Alexander Larsson <alexl@redhat.com>
1934 Add g_file_copy_async() (#511580)
1935 Based on patch from Carlos Garcia Campos
1937 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1939 * gioscheduler.c: Some documentation additions.
1941 2008-01-22 Alexander Larsson <alexl@redhat.com>
1943 * gdesktopappinfo.c:
1944 (g_desktop_app_info_new):
1945 Don't leak basename.
1947 2008-01-22 Alexander Larsson <alexl@redhat.com>
1949 * gdesktopappinfo.c:
1950 (g_desktop_app_info_new_from_filename):
1953 2008-01-22 Alexander Larsson <alexl@redhat.com>
1955 * glocalfileinfo.c (get_thumbnail_attributes):
1958 2008-01-22 Alexander Larsson <alexl@redhat.com>
1961 (canonicalize_filename):
1962 Canonicalize paths that start with more than
1966 (compare_two_files):
1967 (test_g_file_new_for_path):
1970 2008-01-22 Alexander Larsson <alexl@redhat.com>
1973 Allow UTF-8 in file:// parse names.
1975 * tests/Makefile.am:
1976 * tests/data-input-stream.c:
1977 * tests/data-output-stream.c:
1978 * tests/g-file-info.c:
1980 Added a bunch of tests from Tomas Bzatek
1982 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1984 * === Released 2.15.3 ===
1986 2008-01-21 Alexander Larsson <alexl@redhat.com>
1988 * gfileinputstream.[ch]:
1989 * gfileoutputstream.[ch]:
1991 Remove duplicated GSeekable functions. (#509990)
1992 Just use the g_seekable_xxx() calls instead.
1994 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1997 * gvolumemanager.c: Whitespace cleanups.
1999 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2000 Use the right mode when creating the file.
2002 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2004 * gfileenumerator.c:
2005 * gfileinputstream.c:
2007 * goutputstream.c: Documentation: Fixed minor typos
2008 and added more mentions of specific _finish() functions.
2010 2008-01-21 Alexander Larsson <alexl@redhat.com>
2012 * inotify/Makefile.am:
2013 * inotify/inotify-helper.c:
2014 * inotify/inotify-kernel.c:
2015 * inotify/inotify-path.c:
2016 * inotify/local_inotify.h: Removed.
2017 * inotify/local_inotify_syscalls.h: Removed.
2018 Removed the included copies of the inotify
2019 headers. We now only use the <sys/inotify.h>
2020 header which exists on modern systems.
2021 This fixes problems on ARM and SH5 (#510448)
2022 but is also generally much cleaner and future
2023 safe. For instance, if other OSes add support
2024 for inotify it should "just work".
2026 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2028 * inotify/*.c: Coding style fixes.
2029 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2030 for the 1/4 Hz timer.
2032 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2035 * gfilemonitor.[hc]:
2036 * gmemoryinputstream.c:
2037 * gmemoryoutputstream.c:
2038 * gmountoperation.c:
2039 * gthemedicon.c: Documentation updates
2041 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2043 * gfile.c: documentation: Fixed more minor
2046 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2048 * gmount.c: (g_mount_remount): documentation:
2049 Mention g_mount_remount_finish() instead of
2050 g_mount_unmount_finish().
2052 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2056 * gfile.c: Fixed some minor typos in the
2059 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2061 * gio/gvolumemonitor.c:
2062 (g_volume_monitor_get_connected_drives):
2063 (g_volume_monitor_get_volumes):
2064 (g_volume_monitor_get_mounts): Documentation:
2065 Clarify the ownership of the regurn GLists.
2067 2008-01-17 Alexander Larsson <alexl@redhat.com>
2070 Add the async find_enclosing_mount version
2071 to the header file too.
2073 2008-01-17 Alexander Larsson <alexl@redhat.com>
2076 Add async version of find_enclosing_mount
2077 with default implementation.
2079 2008-01-17 Alexander Larsson <alexl@redhat.com>
2084 Allow calls to implementation of copy and write
2085 even if the type of the file implementations is
2086 different. This can be used to implement native
2087 upload and download calls in a vfs.
2090 (g_local_file_move):
2091 Protect against the case where move is called
2092 with one file not being local.
2094 Make sure we call the progress callback once
2095 in the native move operation so that the caller
2096 knows how many bytes were copied.
2098 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2101 * gdatainputstream.c:
2103 * gfileoutputstream.c:
2108 * gunixmounts.c: Corrected some typos in the documentation:
2109 occured -> occurred.
2110 its -> it's (where appropriate).
2112 2008-01-16 Alexander Larsson <alexl@redhat.com>
2116 Add g_file_query_exists (#508771)
2118 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2123 * gvolume.c: For async functions that have no non-async
2124 version, document that the GAsyncReadyCallback may be NULL.
2127 2008-01-15 Alexander Larsson <alexl@redhat.com>
2129 * gmemoryinputstream.c:
2130 * gmemoryoutputstream.c:
2131 Don't do pointer arithmetic on void * (#508602)
2132 Patch from Kazuki IWAMOTO
2134 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2136 * === Released 2.15.2 ===
2138 2008-01-14 Alexander Larsson <alexl@redhat.com>
2140 * gfile.c (g_file_monitor_file):
2141 Don't set error here, since we fallback to polling monitor.
2143 2008-01-14 Alexander Larsson <alexl@redhat.com>
2146 (g_file_monitor_directory):
2147 (g_file_monitor_file):
2148 Add GError to file monitor calls
2150 * glocaldirectorymonitor.c:
2151 * glocaldirectorymonitor.h:
2153 * glocalfilemonitor.c:
2154 * glocalfilemonitor.h:
2156 Update for above change
2158 2008-01-14 Alexander Larsson <alexl@redhat.com>
2162 Handle root correctly in g_file_get_relative_path (#508719)
2164 2008-01-14 Alexander Larsson <alexl@redhat.com>
2167 Clean up docs and example for GAsyncResult (#508074)
2169 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2171 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2172 and correct some spelling mistakes. Bug #508108.
2174 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2176 * glocalfileinfo.c: Add a comment.
2178 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2180 * gfileinfo.c: GFileInfo description: Mention
2181 how to actually set attributes in a GFile and how to discover
2182 which attributes are settable. Bug #508378.
2184 2008-01-10 A. Walton <awalton@svn.gnome.org>
2186 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2187 (g_app_info_get_default_for_type):
2188 Check for NULL content types.
2190 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2192 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2194 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2196 * gfile.c: *_async() functions: Several small corrections
2197 to the documentation, mostly correcting copy/paste errors
2198 and improving some sentences.
2200 2008-01-09 Dan Winship <danw@gnome.org>
2202 * glocalfile.c (get_unique_filename): x86_64 fix
2204 2008-01-09 Alexander Larsson <alexl@redhat.com>
2209 Add g_unix_mount_guess_should_display and use
2210 for unix volume monitor backend.
2211 This means we more or less show what the
2212 gnome-vfs backend did.
2213 Based on patch from Padraig O'Briain
2215 2008-01-09 Alexander Larsson <alexl@redhat.com>
2219 Add g_themed_icon_new_with_default_fallbacks
2222 Use default fallbacks for icons
2224 2008-01-09 Alexander Larsson <alexl@redhat.com>
2227 * gmountoperation.[ch]:
2228 Change the API a bit so that unhandled methods
2229 get reported via the reply, rather than by
2230 the signal emission return value. This is because
2231 some handlers can't know this immediately without
2232 doing I/O, and this is an async operation that
2235 2008-01-09 Alexander Larsson <alexl@redhat.com>
2238 * fam/gfamdirectorymonitor.c:
2239 * fam/gfamfilemonitor.c:
2240 Fix double free crash (#508224)
2241 Patch from Joe Marcus Clarke
2243 008-01-07 Matthias Clasen <mclasen@redhat.com>
2245 * === Released 2.15.1 ===
2247 2008-01-07 Alexander Larsson <alexl@redhat.com>
2249 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2250 Fix warning (#507835)
2252 2008-01-07 Alexander Larsson <alexl@redhat.com>
2255 Pass --internal to glib-genmarshal
2258 * gmountoperation.c:
2260 Use better types for signal arguments (#507822)
2262 2008-01-07 Alexander Larsson <alexl@redhat.com>
2265 Build test subdir after .
2266 Remove gdirectorymonitor.[ch]
2268 * gdirectorymonitor.[ch]:
2272 Remove GDirectoryMonitor and make
2273 GFileMonitor the baseclass for both file and
2274 directory monitors. Lift the more generic
2275 rate limiting code from GDirectoryMonitor
2279 * fam/gfamdirectorymonitor.[ch]:
2280 * inotify/ginotifydirectorymonitor.[ch]:
2281 * inotify/inotify-helper.c:
2282 * glocaldirectorymonitor.[ch]:
2285 Update for the removed GDirectoryMonitor.
2287 * gmemoryoutputstream.c:
2288 Remove ununsed variable
2290 2008-01-07 Alexander Larsson <alexl@redhat.com>
2292 * gmemoryinputstream.c:
2293 Translate error strings
2296 * gmemoryoutputstream.[ch]:
2297 New implementation that avoids using GByteArray
2298 in implementation and API. (#506377)
2300 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2302 * tests/*: Add a test for memory input streams.
2304 * Makefile.am: Add tests to SUBDIRS.
2306 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2308 * glocalfilemonitor.c:
2309 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2312 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2314 * gdesktopappinfo.c: Fix a docs typo.
2316 * gfileattribute.c: Add information about extended attributes
2317 to the documentation. (#505058)
2319 2008-01-04 Alexander Larsson <alexl@redhat.com>
2322 * gmountoperation.c:
2323 Use the right type (uint) for the ask_password signal.
2325 2008-01-04 Alexander Larsson <alexl@redhat.com>
2330 Add g_app_info_supports_files()
2331 Remove desktop arg from g_app_info_should_show().
2333 * gdesktopappinfo.[ch]:
2334 Implement g_app_info_supports_files() and new should_show()
2335 Add g_desktop_app_info_set_desktop_env() to set the desktop
2336 for should_show(). (This will be set by gtk+ later)
2338 2008-01-04 Alexander Larsson <alexl@redhat.com>
2341 * gmemoryinputstream.[ch]:
2342 Improve API so that you can use multiple chunks
2343 of memory and custom destroy functions. (#506374)
2345 2008-01-03 Alexander Larsson <alexl@redhat.com>
2348 Handle NULL attribute matchers safely, as we return this
2349 for empty attribute matcher strings.
2351 2008-01-03 Alexander Larsson <alexl@redhat.com>
2353 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2354 Add /usr/local to list of internal mountpoints
2356 2008-01-03 Alexander Larsson <alexl@redhat.com>
2359 Check for HAVE_LCHOWN (#505887)
2361 2008-01-03 Alexander Larsson <alexl@redhat.com>
2365 Add define for selinux context attribute.
2366 Fix missing : -> :: namespace separator change
2367 Fix missing _ -> - name change for xattr-sys.
2370 2008-01-03 Alexander Larsson <alexl@redhat.com>
2373 Link to libglib and libgobject directly (#504879)
2374 Patch from Sebastien Bacher
2376 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2378 * gfile.c: Expanded the g_file_new_for_commandline_arg
2379 description a bit, based on the code and the docs of the
2380 other g_file_new_for_* functions.
2382 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2384 * gfilemonitor.h: Fixed typo in docs.
2386 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2388 Updates to GIO documentation. (#506395, Mikael Hermansson)
2390 * gcontenttype.c: Describe memory management for return value of
2391 g_content_types_get_registered(). Missing piece from #505815.
2392 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2393 GVolume, GDrive, GMounts, which hopefully gives the user less
2394 confusions when using this API. Following explainations from
2395 Alexander Larsson on gtk-devel-list.
2397 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2399 * gfileinfo.c: Expand the long description.
2401 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2404 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2405 fix builds with --disable-visibility. (#500273, Christian Persch)
2407 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2409 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2410 in the list of returned app infos.
2412 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2414 * gappinfo.c: Fix a cross-reference
2416 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2418 * gfileinputstream.c:
2419 * gfileoutputstream.c:
2423 * gdesktopappinfo.c:
2425 * gfileinfo.c: Documentation updates.
2427 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2429 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2432 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2434 * gcontenttype.c (g_content_types_get_registered): Don't return
2435 freed memory (#505815, Mikael Hermansson)
2437 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2439 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2440 used to detect statbuf->st_blocks. (#505042)
2442 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2444 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2445 environment handling. (#504829, Cosimo Cecchi)
2447 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2449 * gappinfo.c: Doc improvements
2451 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2454 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2456 * === Released 2.15.0 ===
2458 2007-12-20 Hans Breuer <hans@breuer.org>
2460 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2461 with symbols gwin32appinfo.obj, added gmount.obj
2462 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2464 2007-12-20 Alexander Larsson <alexl@redhat.com>
2470 * gfilenamecompleter.c:
2473 * gpollfilemonitor.c:
2474 File attribute renames:
2476 fs:: -> filesystem::
2477 id::fs -> id::filesystem
2479 2007-12-20 Alexander Larsson <alexl@redhat.com>
2488 Add GMountUnmountFlags to all unmount and
2490 Add g_mount_remount() call.
2492 2007-12-20 Alexander Larsson <alexl@redhat.com>
2494 * gvfs.c (get_default_vfs):
2495 Fix unused variable warning
2497 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2499 * pltcheck.sh: Update
2501 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2503 * gunionvolumemonitor.c:
2504 * gunixmount.c: Remove C99 comments
2506 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2508 * gio.symbols: Add some missing symbols
2510 2007-12-19 Alexander Larsson <alexl@redhat.com>
2513 Make g_io_modules_load_all_in_directory not unuse
2514 loaded modules so that users of it can do stuff
2516 Init internal "module" types.
2517 Initialize static prio and name for types so that
2518 we don't have to load modules to get it.
2520 * gnativevolumemonitor.h:
2522 Move is_supported to parent class so that
2523 non-native monitors can avoid being initialized
2524 too. (For instance GDaemonVolumeMonitor if we're
2525 not using GDaemonVfs.)
2527 * glocaldirectorymonitor.[ch]:
2528 * glocalfilemonitor.[ch]:
2529 * gunionvolumemonitor.c:
2530 * gunixvolumemonitor.c:
2532 Find plugins using the static prio+name to
2533 avoid unnecessarily loading the modules.
2535 2007-12-19 Alexander Larsson <alexl@redhat.com>
2540 2007-12-19 Alexander Larsson <alexl@redhat.com>
2542 * gunionvolumemonitor.c:
2543 Store the native type as GType, not class so that
2544 we can unload it. But still avoid unnecessarily
2547 2007-12-19 David Zeuthen <davidz@redhat.com>
2549 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2550 add signals 'disconnected' and 'eject-button' on GDrive. Add
2551 signal 'removed' on GVolume and 'unmounted' on GMount.
2553 * gdrive.c: (g_drive_base_init):
2555 * gfile.c: (g_file_mount_mountable),
2556 (g_file_mount_enclosing_volume):
2559 * gmount.c: (g_mount_base_init):
2561 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2562 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2563 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2567 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2569 * *.c: Fix up includes in the section docs.
2571 2007-12-17 Alexander Larsson <alexl@redhat.com>
2573 * gnativevolumemonitor.h:
2574 * gunionvolumemonitor.c:
2575 * gunixvolumemonitor.c:
2576 Add is_supported() to GNativeVolumeMonitorClass so
2577 that we can avoid having to create an object to see
2578 if the backend is supported at runtime.
2579 Also add name member and an env var to pick a specific
2580 volume monitor backend.
2584 Add cancellable to _g_mount_get_for_mount_path()
2586 * glocaldirectorymonitor.c:
2587 * glocalfilemonitor.c:
2588 Avoid loading and unloading modules while sorting.
2590 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2593 * gunixmounts.[hc]: Namespace waste reduction, move some
2594 g_get_unix_mount functions to the g_unix_mount namespace.
2597 * gunixvolumemonitor.c:
2599 * glocaldirectorymonitor.c: Update all callers.
2601 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2603 2007-12-17 Alexander Larsson <alexl@redhat.com>
2606 Add doc comments about what GFile operations are
2607 guaranteed to not block.
2609 2007-12-17 Alexander Larsson <alexl@redhat.com>
2612 Add missing #ifdef fixing OSX build.
2613 (#503334, patch from Richard Hult)
2615 2007-12-14 David Zeuthen <davidz@redhat.com>
2619 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2620 (g_mount_eject), (g_mount_eject_finish):
2622 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2623 (get_volume_for_uuid), (get_mount_for_uuid),
2624 (g_union_volume_monitor_class_init),
2625 (get_default_native_type_with_exclude), (get_default_native_type),
2626 (get_native_type), (update_native_type),
2627 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2628 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2629 (g_unix_mount_can_eject), (eject_unmount_cb),
2630 (eject_unmount_read_error), (eject_unmount_do),
2631 (g_unix_mount_unmount), (g_unix_mount_eject),
2632 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2633 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2634 (g_unix_mount_point_guess_can_eject):
2636 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2637 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2638 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2639 (g_unix_volume_mount), (g_unix_volume_eject),
2640 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2641 * gunixvolumemonitor.c: (get_volume_for_uuid),
2642 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2644 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2645 (g_volume_eject), (g_volume_eject_finish):
2647 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2648 (g_volume_monitor_get_mount_for_uuid):
2651 Provide eject() on both GMount and GVolume and utility functions
2652 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2653 ejected. Introduce the concept of UUID's and wire it into GVolume
2654 and GMount and provide API on GVolumeMonitor to find such
2655 instances. Also handle the case where an external
2656 GNativeVolumeMonitor fails to initialize. Lock around the
2657 _g_get_mount_for_mount_path() function such that volume monitor
2658 implementations won't have to do locking themselves.
2660 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2662 * gdesktopappinfo.c:
2668 * gvolume.h: Documentation updates
2670 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2673 * gfile.h: Doc updates
2675 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2678 * gdesktopappinfo.c: Use hash table iterators.
2680 2007-12-14 Alexander Larsson <alexl@redhat.com>
2683 * gfileattribute.[ch]:
2684 * gfileattribute-priv.h:
2685 Move GFileAttributeValue to a private header, as
2689 Make set_attribute take a type + a pointer instead
2690 of a GFileAttributeValue.
2693 Fix up for above changes.
2694 Add g_file_info_get_attribute_data to get
2695 all info in one call, g_file_info_get_attribute_status
2696 to get the status and g_file_info_get_attribute_as_string.
2700 * glocalfileinfo.[ch]:
2704 Make _guess_type static.
2706 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2709 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2710 made mkenums and friends use temporary files to avoid leaving
2711 empty generated files on failure (#503470).
2713 2007-12-14 Alexander Larsson <alexl@redhat.com>
2715 * gmountoperation.h:
2718 2007-12-14 Alexander Larsson <alexl@redhat.com>
2722 * gfileattribute.[ch]:
2725 * glocalfileoutputstream.c:
2726 * gmountoperation.[ch]:
2727 * goutputstream.[ch]:
2728 Clean up all flags enums to not have _FLAGS in them
2729 Make the names of some of the enums better.
2734 2007-12-14 Michael Natterer <mitch@imendio.com>
2736 * gio.symbols: fix g_io_scheduler symbol names.
2738 2007-12-14 Alexander Larsson <alexl@redhat.com>
2744 * gbufferedinputstream.h:
2745 * gbufferedoutputstream.h:
2748 * gdatainputstream.h:
2749 * gdataoutputstream.h:
2750 * gdesktopappinfo.h:
2751 * gdirectorymonitor.h:
2755 * gfileenumerator.h:
2758 * gfileinputstream.h:
2760 * gfilenamecompleter.h:
2761 * gfileoutputstream.h:
2762 * gfilterinputstream.h:
2763 * gfilteroutputstream.h:
2771 * gmemoryinputstream.h:
2772 * gmemoryoutputstream.h:
2774 * gmountoperation.h:
2777 * gsimpleasyncresult.h:
2779 * gunixinputstream.h:
2781 * gunixoutputstream.h:
2785 * inotify/Makefile.am:
2786 Only allow including <gio/gio.h> from apps
2788 2007-12-14 Alexander Larsson <alexl@redhat.com>
2790 * gioscheduler.[ch]:
2791 * gsimpleasyncresult.c:
2792 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2793 Split out the send_to_mainloop call into two versions instead
2794 of having the block argument.
2796 2007-12-13 Alexander Larsson <alexl@redhat.com>
2798 * gcancellable.[ch]:
2800 * gbufferedinputstream.c:
2801 * gfileenumerator.c:
2802 * gfileinputstream.c:
2803 * gfileoutputstream.c:
2807 g_push/pop_current_cancellable ->
2808 g_cancellable_push/pop_current
2810 2007-12-13 Alexander Larsson <alexl@redhat.com>
2814 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2816 2007-12-13 Alexander Larsson <alexl@redhat.com>
2818 * gmountoperation.h:
2819 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2821 2007-12-12 Alexander Larsson <alexl@redhat.com>
2824 Fix race condition when freeing proxy in
2825 g_io_job_send_to_mainloop().
2827 2007-12-12 Alexander Larsson <alexl@redhat.com>
2833 Make attribute namespace separator "::" instead of ":".
2834 Use - instead of _ as separator in attribute names.
2836 2007-12-12 Alexander Larsson <alexl@redhat.com>
2838 * gbufferedinputstream.h:
2839 * gbufferedoutputstream.h:
2840 * gdatainputstream.h:
2841 * gdataoutputstream.h:
2842 * gdirectorymonitor.h:
2843 * gfileenumerator.h:
2844 * gfileinputstream.h:
2846 * gfileoutputstream.h:
2847 * gfilterinputstream.h:
2848 * gfilteroutputstream.h:
2850 * glocalfileinputstream.h:
2851 * glocalfileoutputstream.h:
2852 * gmemoryinputstream.h:
2853 * gmemoryoutputstream.h:
2854 * gnativevolumemonitor.h:
2856 * gunixinputstream.h:
2857 * gunixoutputstream.h:
2860 s/parent/parent_instance/ in GObjects
2862 2007-12-12 Alexander Larsson <alexl@redhat.com>
2867 No need for padding for interfaces
2869 2007-12-12 Alexander Larsson <alexl@redhat.com>
2873 * gbufferedinputstream.c:
2874 * gbufferedoutputstream.c:
2877 * gdatainputstream.[ch]:
2878 * gdesktopappinfo.c:
2879 * gdirectorymonitor.c:
2881 * gfileattribute.[ch]:
2884 * gfileinputstream.h:
2885 * gfilemonitor.[ch]:
2886 * gfileoutputstream.[ch]:
2887 * gfilterinputstream.h:
2888 * gfilteroutputstream.h:
2891 * gloadableicon.[ch]:
2892 * gmemoryinputstream.c:
2893 * gmountoperation.c:
2895 Fix up a bunch of details in the docs.
2900 2007-12-11 David Zeuthen <davidz@redhat.com>
2902 Rework how volumes, drives and volume monitoring is
2903 done. Previosly the model was
2905 GDrive <1-1> GVolume
2907 where a GDrive instance represented a mount point and a GVolume
2908 instance represented a mounted file system. This patch changes it
2911 GDrive <1-N> GVolume <1-1> GMount
2913 where GMount now serves the purpose of the old GVolume and the new
2914 GVolume serves the purpose of the old GDrive. In addition the new
2915 GDrive interface is used to represent a collection of GVolume
2916 instances (typically partitions) and also contains utility to query
2917 the state of the physical drive the GDrive object represents (such
2918 as checking for media, polling the drive, ejecting the media etc.).
2920 Also implement mounting and unmounting in the Unix volume monitor
2921 backend. A subquent patch will introduce GDrive support for ejection
2925 * gdrive.c: (g_drive_is_media_check_automatic),
2926 (g_drive_is_media_removable), (g_drive_has_media),
2927 (g_drive_can_poll_for_media), (g_drive_eject),
2928 (g_drive_eject_finish), (g_drive_poll_for_media),
2929 (g_drive_poll_for_media_finish):
2931 * gfile.c: (g_file_find_enclosing_mount):
2934 * glocaldirectorymonitor.c:
2935 (g_local_directory_monitor_constructor), (mounts_changed):
2936 * glocalfile.c: (get_mount_info),
2937 (g_local_file_find_enclosing_mount),
2938 (g_local_file_file_iface_init):
2939 * gnativevolumemonitor.h:
2940 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2941 (get_connected_drives), (g_union_volume_monitor_class_init),
2942 (child_volume_added), (child_volume_removed),
2943 (child_volume_changed), (child_mount_added), (child_mount_removed),
2944 (child_mount_pre_unmount), (child_mount_changed),
2945 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2946 (g_union_volume_monitor_remove_monitor),
2947 (_g_mount_get_for_mount_path):
2948 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2949 (guess_system_internal), (_g_get_unix_mounts),
2950 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2951 (g_unix_mount_free), (g_unix_mount_compare),
2952 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2953 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2954 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2955 (type_to_icon), (g_unix_mount_guess_name),
2956 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2957 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2958 (_resolve_symlink), (_resolve_dev_root):
2960 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2961 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2962 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2963 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2964 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2965 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2966 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2967 (g_unix_volume_volume_iface_init):
2969 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2970 (get_mounts), (get_volumes), (get_connected_drives),
2971 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2972 (mountpoints_changed), (mounts_changed),
2973 (g_unix_volume_monitor_init),
2974 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2975 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2976 * gunixvolumemonitor.h:
2977 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2978 (g_volume_mount), (g_volume_mount_finish):
2980 * gvolumemonitor.c: (g_volume_monitor_class_init),
2981 (g_volume_monitor_get_connected_drives),
2982 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2985 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2987 * gmountoperation.h (GPasswordFlags): Close the gap
2989 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2991 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2993 * gdesktopappinfo.[hc]: Remove _-prefixes
2995 2007-12-10 Tor Lillqvist <tml@novell.com>
2997 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3000 2007-12-10 Alexander Larsson <alexl@redhat.com>
3002 * gfile.c (g_file_set_display_name):
3003 Don't hardcode '/' (#502727)
3005 2007-12-09 Hans Breuer <hans@breuer.org>
3007 * makefile.msc : follow lib naming convention
3008 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3009 for user and group name, tested with ../tests/gio-ls
3011 2007-12-09 A. Walton <awalton@svn.gnome.org>
3013 * gdesktopappinfo.c:
3019 * gfileenumerator.c:
3024 * gmemoryinputstream.c:
3025 * gmemoryoutputstream.c:
3027 * gsimpleasyncresult.c:
3028 More documentation cleanup and filling in missing information, bringing
3029 GIO to 99% symbol coverage.
3031 2007-12-08 Hans Breuer <hans@breuer.org>
3033 [gio compiles and links on win32, not sure how much already works]
3034 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3035 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3036 base on win32 API; prefer g_lstat() over lstat(); instead of
3037 localtime_r() use an all GLib implementation on win32;
3038 get_mount_info() still needs a win32 specifc implementation
3039 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3040 win32_get_file_user_info to get owner/group info without uid/gid
3041 * glocalfileinputstream.c : include <io.h> on win32
3042 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3043 definition, use g_win32_ftruncate() for G_OS_WIN32
3044 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3045 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3046 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3047 * makefile.msc : updated
3049 2007-12-07 Alexander Larsson <alexl@redhat.com>
3051 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3052 Avoid warning spew if error == NULL
3054 2007-12-07 Alexander Larsson <alexl@redhat.com>
3057 Update docs wrt etags
3059 2007-12-06 Alexander Larsson <alexl@redhat.com>
3062 Include sys/types.h for dev_t (#501919)
3064 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3068 Make abicheck and pltcheck pass.
3070 2007-12-05 Alexander Larsson <alexl@redhat.com>
3073 * giomodule-priv.h: Added.
3074 * glocaldirectorymonitor.c:
3075 * glocalfilemonitor.c:
3076 * gunionvolumemonitor.c:
3078 Actually add the declaration of _g_io_modules_ensure_loaded
3080 2007-12-05 Alexander Larsson <alexl@redhat.com>
3082 * gdatainputstream.c:
3087 * glocaldirectorymonitor.c:
3088 * glocalfilemonitor.c:
3089 * gunionvolumemonitor.c:
3091 Make g_io_modules_ensure_loaded a private function and
3092 don't pass in the dirname. This means we can do magic
3093 directory finding in the win32 version.
3094 Export the actual load-modules-in-directory code so that
3095 gvfs can reuse that.
3097 2007-12-05 Alexander Larsson <alexl@redhat.com>
3099 * gbufferedinputstream.c:
3100 * gbufferedoutputstream.c:
3103 * gfileenumerator.[ch]:
3104 * gfileinputstream.c:
3105 * gfileoutputstream.[ch]:
3106 * gfilterinputstream.c:
3107 * gfilteroutputstream.c:
3108 * ginputstream.[ch]:
3110 * glocalfileenumerator.c:
3111 * glocalfileinputstream.c:
3112 * glocalfileoutputstream.c:
3113 * gmemoryinputstream.c:
3114 * gmemoryoutputstream.c:
3115 * goutputstream.[ch]:
3118 * gunixinputstream.c:
3119 * gunixoutputstream.c:
3120 Rename all struct members named:
3121 read, write, close, truncate, or mount
3122 to foo_fn, as these are reserved names
3123 and could be defined as macros in libc.
3126 2007-12-04 Alexander Larsson <alexl@redhat.com>
3129 (g_output_stream_close):
3130 Only call flush if non-null.
3132 2007-11-30 Dan Winship <danw@gnome.org>
3134 * ginputstream.c (g_input_stream_set_pending): Make this take a
3135 GError and return a gboolean, and do the "outstanding operation"
3136 check (and the "stream is already closed" check) itself.
3137 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3139 * goutputstream.c (g_output_stream_set_pending)
3140 (g_output_stream_clear_pending): Likewise
3142 * gbufferedinputstream.c:
3143 * gfileinputstream.c:
3144 * gfileoutputstream.c: Update for that
3146 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3147 Like g_simple_async_report_error_in_idle, but takes a GError
3148 rather than building one.
3150 2007-11-30 Dan Winship <danw@gnome.org>
3152 * goutputstream.c: Don't cheat and unset the "pending" flag around
3153 inner calls. Instead, call the class method directly rather than
3154 the wrapper function that checks "pending"
3156 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3158 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3160 2007-12-03 Hans Breuer <hans@breuer.org>
3162 [start of port to win32/msvc]
3163 * gcancellable.c : HAVE_UNIST_H and _pipe()
3164 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3165 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3166 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3168 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3169 * glocalvfs.c : use HAVE_PWD_H
3170 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3171 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3172 * Makefile.am : added to EXTRA_DIST
3174 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3176 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3179 2007-12-03 Alexander Larsson <alexl@redhat.com>
3182 Handle OSX style xattrs API (#500506)
3184 2007-12-03 Alexander Larsson <alexl@redhat.com>
3188 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3190 2007-12-02 A. Walton <awalton@svn.gnome.org>
3194 Documentation accuracy fixes.
3196 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3198 * gioenumtypes.c.template: Fix typo.
3200 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3202 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3204 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3206 * gdirectorymonitor.c:
3207 * gfilemonitor.c: Add properties
3209 * gbufferedoutputstream.c: Don't mark buffer-size property
3212 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3214 * gbufferedoutputstream.c: Add auto-grow property.
3216 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3218 * *.c: Unify the capitalization of section headings.
3220 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3222 * gmountoperation.c: Add properties
3224 * gdatainputstream.c: Turn byte-order and newline-type into
3227 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3229 * gioenumtypes.[hc].template: Templates for enum registration
3231 * Makefile.am: Generate gioenumtypes.[hc]
3233 * gio.h: Include gioenumtypes.h
3235 * gfile.h: Add some explicit nicks.
3237 * gio.symbols: Add new symbols
3239 * pltcheck.sh: Adjust
3241 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3243 * *.c: Explain etags and link to the explanation
3245 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3247 * *.c: Explain I/O priority.
3249 * *.c: More coding style fixes.
3251 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3253 * gasyncresult.c: Add another paragraph to the intro,
3254 adjust coding style of example.
3256 2007-11-29 A. Walton <awalton@svn.gnome.org>
3259 Fixes unknown meaning in GAppLaunchContext docs.
3261 Clarify asynchronous ops.
3263 Fix entity tag docs.
3266 Provides missing gtk-doc section, fixes API docs slighly.
3267 * gsimpleasyncresult.c:
3268 Fill in missing info in docs.
3269 * gunixinputstream.c:
3270 * gunixoutputstream.c:
3271 Be more expressive in short description.
3273 Remove gtk-doc stubs for non-public API.
3275 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3277 * *.c: Coding style fixups
3279 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3281 * inotify/inotify-helper.c: Don't export the lock from libgio.
3283 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3286 * abicheck.sh: Fix copy-and-paste leftovers
3288 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3290 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3292 2007-11-28 Alexander Larsson <alexl@redhat.com>
3296 Removed unnecessary file
3298 * gdesktopappinfo.[ch]:
3301 * glocaldirectorymonitor.[ch]:
3303 * glocalfileenumerator.[ch]:
3304 * glocalfileinputstream.[ch]:
3305 * glocalfilemonitor.[ch]:
3306 * glocalfileoutputstream.[ch]:
3308 * gnativevolumemonitor.c:
3309 * gpollfilemonitor.[ch]:
3310 * gunionvolumemonitor.[ch]:
3313 * gunixvolumemonitor.[ch]:
3316 * inotify/ginotifydirectorymonitor.[ch]:
3317 * inotify/ginotifyfilemonitor.[ch]:
3318 * inotify/inotify-helper.c:
3319 Append _ to all internal functions
3323 Export symbols needed for modules
3325 2007-11-28 Alexander Larsson <alexl@redhat.com>
3328 * abicheck.sh: Added.
3329 * makegioalias.pl: Added.
3330 * pltcheck.sh: Added.
3331 * gio.symbols: Added.
3334 Initial work on adding symbol handling.
3337 Correct ifdef guard name
3340 * inotify/Makefile.am:
3341 * xdgmime/Makefile.am:
3342 Include toplevel Makefile.decl
3344 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3346 * gcontenttype.c: Move doc comments to the unix section.
3348 * *.[hc]: More trivial doc corrections.
3350 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3352 * gpollfilemonitor.c:
3356 * gdesktopappinfo.c:
3361 * gdatainputstream.c:
3362 * gdatainputstream.h:
3363 * gdataoutputstream.c:
3364 * gdataoutputstream.h:
3365 * gfileinfo.h: Doc cleanups
3367 2007-11-28 Andre Klapper <a9016009@gmx.de>
3369 * gdesktopappinfo.c: Fix a typo.
3371 2007-11-27 Andre Klapper <a9016009@gmx.de>
3373 * glocalfileoutputstream.c: Fix a typo.
3375 2007-11-27 Alexander Larsson <alexl@redhat.com>
3378 Don't include removed headers
3380 2007-11-27 Alexander Larsson <alexl@redhat.com>
3383 * gsocketinputstream.[ch]: Removed.
3384 * gsocketoutputstream.[ch]: Removed.
3385 * gunixinputstream.[ch]: Added.
3386 * gunixoutputstream.[ch]: Added.
3387 Renamed GSocket*Stream to GUnix*Stream and made
3388 it unix-only, since its not really only for sockets
3389 and it only works on unix (but is highly useful there).
3391 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3397 * gbufferedinputstream.c:
3398 * gbufferedinputstream.h:
3399 * gbufferedoutputstream.c:
3400 * gbufferedoutputstream.h:
3404 * gdatainputstream.c:
3405 * gdatainputstream.h:
3406 * gdataoutputstream.c:
3407 * gdataoutputstream.h:
3408 * gdirectorymonitor.c:
3409 * gdirectorymonitor.h:
3416 * gfileenumerator.c:
3417 * gfileenumerator.h:
3422 * gfileinputstream.c:
3423 * gfileinputstream.h:
3426 * gfilenamecompleter.c:
3427 * gfilenamecompleter.h:
3428 * gfileoutputstream.c:
3429 * gfileoutputstream.h:
3430 * gfilterinputstream.c:
3431 * gfilterinputstream.h:
3432 * gfilteroutputstream.c:
3433 * gfilteroutputstream.h:
3446 * glocalfileoutputstream.c:
3447 * gmemoryinputstream.c:
3448 * gmemoryinputstream.h:
3449 * gmemoryoutputstream.c:
3450 * gmemoryoutputstream.h:
3451 * gmountoperation.c:
3452 * gmountoperation.h:
3455 * gpollfilemonitor.c:
3458 * gsimpleasyncresult.c:
3459 * gsimpleasyncresult.h:
3460 * gsocketinputstream.c:
3461 * gsocketinputstream.h:
3462 * gsocketoutputstream.c:
3463 * gsocketoutputstream.h:
3470 * gunixvolumemonitor.c:
3479 Bumps documentation to 93% symbol coverage, touching most
3480 of the public files. Fixes broken function documentation prototypes.
3481 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3482 gtk-doc headers in private files.
3484 2007-11-27 Jürg Billeter <j@bitron.ch>
3486 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3487 (g_buffered_input_stream_read_byte):
3488 * gbufferedinputstream.h:
3489 New functions for efficient access to buffer and simple single byte
3492 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3493 (g_data_input_stream_read_until):
3494 * gdatainputstream.h:
3495 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3496 read_until with multiple stop chars.
3498 2007-11-27 Alexander Larsson <alexl@redhat.com>
3502 * inotify/Makefile.am:
3503 Use the user-specified giomoduledir
3505 2007-11-27 Alexander Larsson <alexl@redhat.com>
3509 Add catch-all gio.h header
3510 Don't install gdummyfile.h
3512 2007-11-26 Alexander Larsson <alexl@redhat.com>
3514 * Makefile.am (gioinclude_HEADERS):
3515 Remove trailing whitespace
3517 2007-11-26 Alexander Larsson <alexl@redhat.com>
3519 Merge gio-standalone into glib
3521 2007-11-25 Christian Kellner <gicmo@gnome.org>
3523 * gio/goutputstream.c:
3524 Fix small mistake in the docs.
3526 2007-11-21 Christian Persch <chpe@gnome.org>
3528 * gio/glocalfile.c: (g_local_file_trash):
3529 Convert filenames to UTF-8 for GError.
3530 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3531 as per xdg base dir spec.
3533 2007-11-21 Christian Persch <chpe@gnome.org>
3535 * gio/gdesktopappinfo.c:
3536 Use that g_key_file_to_data cannot fail.
3538 Use stock defines for the key file group and key names.
3541 2007-11-21 Alexander Larsson <alexl@redhat.com>
3544 (copy_stream_with_progress):
3545 Make sure we do a final progress callback with
3546 the full total size.
3548 2007-11-21 Alexander Larsson <alexl@redhat.com>
3551 Export g_file_copy_attributes
3552 Remove padding as its not needed for interfaces
3554 2007-11-20 Alexander Larsson <alexl@redhat.com>
3559 Add G_IO_ERROR_WOULD_MERGE for
3560 copy/move dir on dir with overwrite.
3562 2007-11-20 Alexander Larsson <alexl@redhat.com>
3565 * gio/glocalfileinfo.c:
3566 Add COPY_NAME (this is an optional
3567 non-modified utf8 version of the name) that
3570 2007-11-20 Alexander Larsson <alexl@redhat.com>
3572 * gio/glocalfileenumerator.c:
3573 Report errors as GIOError, not GFileError
3575 2007-11-16 Alexander Larsson <alexl@redhat.com>
3577 * gio/glocalfileoutputstream.c:
3578 * gio/gwin32appinfo.c:
3579 Fix typos in strings.
3580 Patch from Luca Ferretti <elle.uca@libero.it>
3582 2007-11-15 Alexander Larsson <alexl@redhat.com>
3585 Post release version bump
3587 === gio-standalone 0.1.2 ===
3589 2007-11-15 Alexander Larsson <alexl@redhat.com>
3591 * docs/reference/gio/Makefile.am:
3592 Fix up distcheck by removing weird
3598 2007-11-14 Alexander Larsson <alexl@redhat.com>
3600 * gio/gdesktopappinfo.c:
3601 * gio/glocaldirectorymonitor.c:
3603 * gio/glocalfileinfo.c:
3604 * gio/inotify/inotify-sub.c:
3605 * programs/gio-cat.c:
3606 * programs/gio-copy.c:
3607 * programs/gio-info.c:
3608 * programs/gio-ls.c:
3609 * programs/gio-monitor-dir.c:
3610 * programs/gio-monitor-file.c:
3611 * programs/gio-mount.c:
3612 * programs/gio-move.c:
3613 * programs/gio-rm.c:
3614 * programs/gio-save.c:
3615 * programs/gio-trash.c:
3616 Leak fixes from Kjartan Maraas
3618 2007-11-14 Alexander Larsson <alexl@redhat.com>
3620 * gio/fam/fam-helper.c:
3622 * gio/glocalfileinfo.c:
3626 * gio/inotify/inotify-diag.c:
3627 * gio/inotify/inotify-kernel.c:
3628 Various code cleanups from Kjartan Maraas
3630 2007-11-14 Alexander Larsson <alexl@redhat.com>
3632 * gio/gioscheduler.c:
3634 Set up threadpool so that we cache 2 unused
3635 idle threads for at 15 secs. This means we
3636 will reuse thread-local data (like dbus connections)
3639 2007-11-14 Alexander Larsson <alexl@redhat.com>
3641 * gio/fam/fam-helper.c:
3642 * gio/fam/gfamdirectorymonitor.c:
3643 * gio/fam/gfamfilemonitor.c:
3645 * gio/gcontenttype.c:
3646 * gio/gdatainputstream.c:
3647 * gio/gdataoutputstream.c:
3651 * gio/gfileattribute.h:
3652 * gio/gfileenumerator.c:
3654 * gio/ginputstream.c:
3657 * gio/glocalfileinfo.c:
3658 * gio/goutputstream.c:
3659 * gio/gpollfilemonitor.c:
3660 * gio/gsimpleasyncresult.c:
3661 * gio/gunixmounts.c:
3662 * gio/gunixmounts.h:
3663 * gio/inotify/ginotifydirectorymonitor.c:
3664 * gio/inotify/ginotifyfilemonitor.c:
3665 * gio/inotify/inotify-diag.c:
3666 * gio/inotify/inotify-kernel.c:
3667 * gio/inotify/inotify-path.c:
3669 * gio/test-streams.c:
3670 * programs/gio-info.c:
3671 * programs/gio-monitor-dir.c:
3672 * programs/gio-monitor-file.c:
3673 Various code cleanups from Kjartan Maraas
3675 2007-11-13 Alexander Larsson <alexl@redhat.com>
3678 Handle the uri-scheme calls for dummy files
3680 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3682 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3683 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3684 to avoid clash with the C++ keyword.
3686 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3688 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3689 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3691 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gio/glocaldirectorymonitor.c:
3694 * gio/glocalfilemonitor.c:
3695 * gio/gunionvolumemonitor.c:
3696 Don't use g_once_init_*() for initializations that could fail and
3697 could leave the initialization variable set to 0 but use GOnce.
3698 This prevents a deadlock on the second call when trying to create
3699 a monitor and no monitor type is available. Thanks to Sven Herzberg
3702 2007-11-11 Sven Herzberg <sven@imendio.com>
3704 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3705 #ifdef (make it work on MacOS X again)
3707 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3709 Fixes Changelog for last two commits (sorry guys).
3711 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3713 * gio/gbufferedinputstream.c:
3714 * gio/gdatainputstream.c:
3716 * gio/gfileoutputstream.c:
3717 * gio/gfilterinputstream.c:
3718 * gio/glocalfileinputstream.c:
3721 More consistency fixes in g*stream.c files.
3722 Significant clean of gfile's documentation, filling in of
3723 asynchronous operations documentation.
3725 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3727 * gio/gasyncresult.c:
3728 * gio/gbufferedinputstream.c:
3729 * gio/gbufferedoutputstream.c:
3730 * gio/gcancellable.c:
3731 * gio/gcontenttype.c:
3732 * gio/gdatainputstream.c:
3733 * gio/gdataoutputstream.c:
3734 * gio/gdesktopappinfo.c:
3737 * gio/gfileattribute.c:
3738 * gio/gio/gfileenumerator.c:
3740 * gio/gfileinputstream.c:
3741 * gio/gfilemonitor.c:
3742 * gio/gfileoutputstream.c:
3743 * gio/ginputstream.c:
3745 * gio/gioscheduler.c:
3746 * gio/gloadableicon.c:
3747 * gio/glocalfileoutputstream.c:
3748 * gio/gmemoryoutputstream.c:
3749 * gio/gmountoperation.c:
3750 * gio/goutputstream.c:
3752 * gio/gsimpleasyncresult.c:
3753 * gio/gunionvolumemonitor.c:
3754 * gio/gunixmounts.c:
3755 * gio/gunixvolume.c:
3759 * gio/gvolumemonitor.c:
3760 Updated documentation stubs, working towards consistency and
3763 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3765 * gio/gmemoryoutputstream.c:
3766 * gio/gmemoryoutputstream.h:
3767 Change g_memory_output_stream_set_free_on_close() to
3768 g_memory_output_stream_set_free_data() as this makes more sense and
3769 is more consistent with GMemoryInputStream.
3771 2007-11-07 Alexander Larsson <alexl@redhat.com>
3778 Change how we find the default vfs so that
3779 we can handle a gvfs failing to init
3781 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3783 * gio/gbufferedoutputstream.c:
3784 * gio/gdatainputstream.c:
3785 * gio/gdataoutputstream.c:
3786 * gio/gfileinputstream.c:
3787 * gio/gfileoutputstream.c:
3788 * gio/gfilterinputstream.c:
3789 * gio/gfilteroutputstream.c:
3790 * gio/ginputstream.c:
3791 * gio/gmemoryinputstream.c:
3792 * gio/gmemoryoutputstream.c:
3793 * gio/goutputstream.c:
3794 * gio/gsimpleasyncresult.c:
3795 * gio/gsocketinputstream.c:
3796 * gio/gsocketoutputstream.c:
3797 Add guards to the remaining public functions, add a TODO for
3798 an unimplemented function and remove some useless guards.
3800 2007-11-07 Alexander Larsson <alexl@redhat.com>
3803 Autoconf checks for the various types of
3804 getpwuid_r and getgrgid_r
3806 * gio/glocalfileinfo.c:
3807 Use the autoconf checks from above
3809 2007-11-07 Alexander Larsson <alexl@redhat.com>
3812 (g_local_file_query_filesystem_info):
3813 Some fixes for the statvfs case
3815 2007-11-07 Alexander Larsson <alexl@redhat.com>
3818 (g_local_file_query_filesystem_info):
3819 Pick the "best" of statfs / statvfs for the system
3820 if both are availible.
3822 2007-11-07 Alexander Larsson <alexl@redhat.com>
3824 Solaris fixes from Halton.Huo@Sun.COM:
3831 * gio/glocalfileinfo.c:
3832 Fix for solaris definition of getpwuid_r
3834 * gio/test-streams.c:
3835 Use G_GNUC_PRETTY_FUNCTION
3837 2007-11-07 Alexander Larsson <alexl@redhat.com>
3839 * gio/gdesktopappinfo.c:
3840 (update_default_list):
3841 Remove double semicolon.
3842 Patch from Jens Granseuer
3844 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3846 * docs/reference/gio/gio-sections.txt:
3847 * gio/gbufferedinputstream.c:
3848 * gio/gbufferedinputstream.h:
3849 * gio/gdatainputstream.c:
3850 * gio/gfileenumerator.c:
3851 * gio/gioscheduler.c:
3852 * gio/gunionvolumemonitor.c:
3854 * programs/gio-save.c:
3855 Fix typo: availible -> available. Unfortuntely this breaks API
3856 and ABI as g_buffered_input_stream_get_available() was renamed.
3858 * gio/gunixmounts.c:
3859 * gio/gbufferedinputstream.c:
3860 Add guards for public functions.
3862 2007-11-06 Ross Burton <ross@openedhand.com>
3864 * docs/reference/gio/Makefile.am:
3865 Fix invalid += usage which automake 1.10 doesn't like.
3867 2007-11-06 Alexander Larsson <alexl@redhat.com>
3870 (g_app_launch_context_class_init):
3873 Patch from Ross Burton
3875 2007-11-06 Alexander Larsson <alexl@redhat.com>
3878 Post release version bump
3880 === gio-standalone 0.1.1 ===
3882 2007-11-06 Alexander Larsson <alexl@redhat.com>
3885 Bump version to 0.1.1
3887 * gio/gsimpleasyncresult.c:
3888 (g_simple_async_result_set_from_error):
3889 Remove bogus g_return_if_fail
3891 2007-11-06 Alexander Larsson <alexl@redhat.com>
3894 The name is gio-standalone
3897 Add top src/builddir to includedir
3899 2007-11-06 Alexander Larsson <alexl@redhat.com>
3901 * docs/reference/gio/gio-sections.txt:
3903 * gio/gbufferedinputstream.c:
3904 * gio/gbufferedoutputstream.c:
3905 * gio/gcancellable.c:
3906 * gio/gdatainputstream.h:
3907 * gio/gdataoutputstream.c:
3908 * gio/gdataoutputstream.h:
3909 * gio/gdirectorymonitor.c:
3911 * gio/gfileattribute.c:
3912 * gio/gfileattribute.h:
3913 * gio/gfileenumerator.c:
3914 * gio/gfileenumerator.h:
3917 * gio/gfileinputstream.h:
3918 * gio/gfilemonitor.c:
3919 * gio/gfileoutputstream.h:
3920 * gio/glocalfilemonitor.h:
3921 * gio/glocalfileoutputstream.h:
3922 * gio/gmemoryinputstream.c:
3923 * gio/gmemoryoutputstream.c:
3924 * gio/gmountoperation.c:
3925 * gio/goutputstream.c:
3926 * gio/goutputstream.h:
3928 * gio/gsimpleasyncresult.c:
3929 * gio/gunixmounts.c:
3930 * gio/gunixmounts.h:
3932 * gio/inotify/inotify-helper.c:
3933 Fix gtk-doc warnings
3935 Patch from Ross Burton
3937 2007-11-06 Alexander Larsson <alexl@redhat.com>
3939 * gio/gfilenamecompleter.c:
3940 (g_filename_completer_get_completions):
3943 * gio/gunixvolume.c:
3944 Remove unused function
3946 Patches from Ross Burton
3948 2007-11-06 Alexander Larsson <alexl@redhat.com>
3953 Padding not needed for interfaces
3955 2007-11-06 Alexander Larsson <alexl@redhat.com>
3957 * gio/gfilemonitor.c:
3961 Make giotypes.h an internal file
3964 * gio/gbufferedinputstream.h:
3965 * gio/gbufferedoutputstream.h:
3966 * gio/gcancellable.h:
3967 * gio/gdatainputstream.h:
3968 * gio/gdataoutputstream.h:
3969 * gio/gdirectorymonitor.c:
3970 * gio/gdirectorymonitor.h:
3975 * gio/gfileattribute.h:
3976 * gio/gfileenumerator.h:
3981 * gio/gfilemonitor.c:
3982 * gio/gfilemonitor.h:
3983 * gio/gfilenamecompleter.c:
3984 * gio/gfilenamecompleter.h:
3985 * gio/gfilterinputstream.h:
3986 * gio/gfilteroutputstream.h:
3987 * gio/ginputstream.h:
3988 * gio/gmemoryinputstream.h:
3989 * gio/gmemoryoutputstream.h:
3990 * gio/gmountoperation.c:
3991 * gio/gmountoperation.h:
3992 * gio/gnativevolumemonitor.c:
3993 * gio/goutputstream.h:
3996 * gio/gsimpleasyncresult.c:
3997 * gio/gsimpleasyncresult.h:
3998 * gio/gsocketinputstream.h:
3999 * gio/gsocketoutputstream.h:
4000 * gio/gthemedicon.c:
4001 * gio/gthemedicon.h:
4005 * gio/gvolumemonitor.c:
4006 * gio/gvolumemonitor.h:
4007 Add padding in classes where it seems useful
4008 Don't include giotypes.h from public headers
4009 Move in Class definitions into c file where possible
4014 2007-11-06 Alexander Larsson <alexl@redhat.com>
4016 * docs/reference/gio/gio-docs.xml:
4017 Better structure for API docs
4019 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4022 * gio/gloadableicon.c:
4023 * gio/gsimpleasyncresult.c:
4024 * gio/gthemedicon.c:
4025 Add some more guards to public functions. Only files missing are now
4028 2007-11-06 Alexander Larsson <alexl@redhat.com>
4030 * docs/reference/gio/gio-docs.xml:
4031 Remove old files, add missing ones
4033 2007-11-06 Alexander Larsson <alexl@redhat.com>
4035 * docs/reference/gio/gio-sections.txt:
4038 Hide implementation classes
4040 * gio/gdriveprivate.h:
4041 * gio/gvolumeprivate.h:
4042 Remove non-existing function declarations
4044 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4047 Fix compilation warnings and add guards to the new functions.
4049 * gio/gasyncresult.c:
4051 Add guards to the public functions.
4054 Implement get_path().
4056 2007-11-06 Alexander Larsson <alexl@redhat.com>
4058 * gio/gfilenamecompleter.c:
4059 Make g_filename_completer_get_completions
4060 return char ** instead of GList for
4063 * docs/reference/gio/gio-docs.xml:
4064 * docs/reference/gio/gio-sections.txt:
4066 * gio/gasyncresult.c:
4067 * gio/gbufferedinputstream.c:
4068 * gio/gbufferedoutputstream.c:
4069 * gio/gcancellable.c:
4070 * gio/gcontenttype.c:
4071 * gio/gdatainputstream.c:
4072 * gio/gdataoutputstream.c:
4073 * gio/gdesktopappinfo.c:
4074 * gio/gdirectorymonitor.c:
4078 * gio/gfileattribute.c:
4079 * gio/gfileenumerator.c:
4082 * gio/gfileinputstream.c:
4083 * gio/gfilemonitor.c:
4084 * gio/gfilenamecompleter.c:
4085 * gio/gfilenamecompleter.h:
4086 * gio/gfileoutputstream.c:
4087 * gio/gfilterinputstream.c:
4089 * gio/ginputstream.c:
4091 * gio/gioscheduler.c:
4092 * gio/gloadableicon.c:
4093 * gio/glocaldirectorymonitor.c:
4095 * gio/glocalfileinputstream.c:
4096 * gio/glocalfilemonitor.c:
4097 * gio/glocalfileoutputstream.c:
4099 * gio/gmemoryinputstream.c:
4100 * gio/gmemoryoutputstream.c:
4101 * gio/gmountoperation.c:
4102 * gio/goutputstream.c:
4103 * gio/gpollfilemonitor.c:
4105 * gio/gsimpleasyncresult.c:
4106 * gio/gsocketinputstream.c:
4107 * gio/gsocketoutputstream.c:
4108 * gio/gthemedicon.c:
4109 * gio/gunionvolumemonitor.c:
4111 * gio/gunixmounts.c:
4112 * gio/gunixvolume.c:
4113 * gio/gunixvolumemonitor.c:
4117 * gio/gvolumemonitor.c:
4118 * gio/gwin32appinfo.c:
4119 Add (mostly stub) doc strings to public functions.
4120 Patch from Andrew Walton (awalton@gmail.com)
4122 2007-11-06 Alexander Larsson <alexl@redhat.com>
4124 * gio/gappinfo.[ch]:
4125 Added GAppLaunchContext object and pass that to launch.
4126 This allows simple implementation of both
4127 launch-on-screen and startup notification via a gtk+
4128 subclass of GAppLaunchContext
4130 * gio/gdesktopappinfo.c:
4131 Implement GAppLaunchContext API
4133 * gio/gwin32appinfo.c:
4136 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4138 * gio/gmountoperation.c:
4139 Add some guards to GMountOperation's public functions.
4141 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4145 * gio/gcancellable.c:
4146 * gio/gdirectorymonitor.c:
4148 * gio/gfileenumerator.c:
4149 * gio/gfilemonitor.c:,
4150 * gio/gfilenamecompleter.c:
4153 * gio/gioscheduler.c:
4157 * gio/gvolumemonitor.c:
4158 Add even more guards to various public functions.
4160 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4163 Add guards to the public functions of GAppInfo.
4165 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4167 * gio/gcontenttype.c:
4168 Add some more guards for public functions.
4170 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4172 * gio/fam/fam-module.c:
4173 * gio/fam/gfamdirectorymonitor.c:
4174 * gio/fam/gfamdirectorymonitor.h:
4175 * gio/fam/gfamfilemonitor.c:
4176 * gio/fam/gfamfilemonitor.h:
4177 * gio/inotify/ginotifydirectorymonitor.c:
4178 * gio/inotify/ginotifydirectorymonitor.h:
4179 * gio/inotify/ginotifyfilemonitor.c:
4180 * gio/inotify/ginotifyfilemonitor.h:
4181 Add proper copyright information and remove an unused variable
4182 in the GInotifyFileMonitor constructor.
4184 * gio/gcancellable.c:
4185 Add a guard for a public function and an assertion to prevent
4186 an undefined program state.
4188 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4190 * gio/gfileattribute.c:
4191 Don't run into an assertion if the given attribute value is NULL
4192 in g_file_attribute_value_get_*() but instead return a fallback
4193 value that makes sense in most situations. Passing them a attribute
4194 value with the wrong type will still run into an assertion.
4196 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4198 * gio/gfileattribute.c:
4200 Add even more guards to the public functions. Also fix the refcounting
4201 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4202 let g_file_info_list_attributes() filter the attributes by namespace
4203 instead of simply ignoring the namespace parameter.
4205 2007-11-03 Sven Herzberg <sven@imendio.com>
4207 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4208 (This makes gio work on MacOS X again)
4210 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4213 Build the gio subdirectory before the docs. Otherwise the build will
4216 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4217 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4218 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4219 Add guards to the public functions.
4221 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4223 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4224 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4225 to prevent a compiler warning.
4227 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4228 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4229 return something in the non-void function find_topdir_for().
4231 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4238 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4240 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4241 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4242 * gwin32appinfo.c (g_win32_app_info_launch):
4243 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4244 envp_for_startup_id, g_desktop_app_info_launch,
4245 g_desktop_app_info_launch_uris):
4247 Give an opaque 'startup_id' string instead of 'envp'.
4248 Support empty file lists for launching new windows.
4249 Fix infinite recursion bug when launching URIs.
4251 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4254 Add guard to the new g_file_get_uri_scheme() function.
4256 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4259 Convert a g_return_val_if_fail() to setting the GError instead as
4260 otherwise applications have to verify the parameter before otherwise
4261 and the parameter might come directly from the user.
4263 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4265 * gio/inotify/ginotify*.[ch]:
4266 Add missing copyright information.
4268 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4271 Add guards in the beginning of public functions to check for valid
4272 parameters and fix a bug in copy_stream_with_progress() that could've
4273 caused writing less bytes than reading.
4274 * gio/glocalfileinfo.c:
4275 Check for a NULL parameter and set the GError accordingly then.
4276 * gio/goutputstream.c:
4277 Fix the same bug as in gfile.c that could've caused writing less bytes
4278 than reading in g_output_stream_real_splice().
4280 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4283 Use the correct gvolumeprivate.h naming
4285 2007-11-01 Christian Kellner <gicmo@gnome.org>
4288 Remove leftover "$(daemon_sources)" entry.
4290 2007-11-01 Christian Kellner <gicmo@gnome.org>
4295 Add copyright information to source files.
4297 2007-11-01 Alexander Larsson <alexl@redhat.com>
4301 Add g_file_get_uri_scheme
4303 2007-11-01 Alexander Larsson <alexl@redhat.com>
4306 * gio/gdesktopappinfo.c:
4307 * gio/gwin32appinfo.c:
4308 Add g_app_info_get_default_for_uri_scheme.
4310 2007-11-01 Alexander Larsson <alexl@redhat.com>
4313 Correct filename for gdriveprivate.h
4315 2007-10-31 Alexander Larsson <alexl@redhat.com>
4318 Rename id:value to id:file
4321 * gio/glocalfileinfo.c:
4324 2007-10-31 Alexander Larsson <alexl@redhat.com>
4326 * gio/gunixvolume.c:
4328 Remove g_volume_get_platform_id, as thats not
4329 needed with the simpler union volume monitor
4331 2007-10-31 Alexander Larsson <alexl@redhat.com>
4334 * gio/guniondrive.[ch]: Removed.
4335 * gio/gunionvolume.[ch]: Removed.
4336 Remove GUnionDrive/Volume
4338 * gio/gunionvolumemonitor.c:
4339 Simplify union volume monitor, now we
4340 only have one native volume monitor and
4341 we use the actual volumes/drives from the
4342 child monitors instead of wrapping them
4344 * gio/gnativevolumemonitor.[ch]:
4345 Base class for native volume monitors.
4346 Includes priority and get_volume_for_mountpoint
4349 Add g_file_find_enclosing_volume
4352 Remove volume name fs attribute
4353 Add readonly fs attribute
4356 Implement readonly attribute
4357 remove volume name attribute
4358 Implement find_enclosing volume
4360 * gio/gunixmounts.c:
4361 Add a volume for "/".
4363 * gio/gunixvolume.[ch]:
4364 Set better name for /
4366 * gio/gunixvolumemonitor.[ch]:
4367 Derive from GNativeVolumeMonitor
4368 Implement get_volume_for_mountpoint
4371 GVolume typedef moved to gfile.h
4373 * gio/gvolumeprivate.h:
4374 Add g_volume_get_for_mount_path
4376 2007-10-31 Alexander Larsson <alexl@redhat.com>
4378 * gio/gunixmounts.[ch]:
4379 Add cache info to unix mount listers
4380 Make getmntent use threadsafe
4381 Add is_system_internal attribute for GUnixMount
4383 * gio/gunixvolume.c:
4384 (g_unix_volume_new):
4385 Use is_system_internal instead of own code
4387 * gio/glocaldirectorymonitor.c:
4388 * gio/gunixvolumemonitor.c:
4389 Update to new gunixmounts API
4394 2007-10-30 Alexander Larsson <alexl@redhat.com>
4397 Add volume name fsinfo attribute
4400 Read volume name info
4402 * gio/gunionvolumemonitor.c:
4403 Fix infinite loops when finalizing a union volume monitor
4405 2007-10-30 Alexander Larsson <alexl@redhat.com>
4407 * gio/goutputstream.[ch]:
4408 Add splice() with default implementation
4410 * gio/gsocketoutputstream.c:
4411 (g_socket_output_stream_write):
4412 Return error on cancellation correctly.
4414 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4416 * gio/glocalfile.c (g_local_file_trash):
4417 Do not leak a string.
4419 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4421 * gio/gfile.c (g_file_load_contents):
4422 Unref the stream after closing it.
4424 2007-10-25 Alexander Larsson <alexl@redhat.com>
4426 * gio/gioscheduler.h:
4429 2007-10-25 Alexander Larsson <alexl@redhat.com>
4433 Add g_file_has_uri_scheme and implement for local files
4435 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4437 * gio/gdesktopappinfo.c: do not leak a string.
4439 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4441 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4442 (g_local_directory_monitor_new):
4443 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4444 (g_local_file_monitor_new):
4445 Only look for the monitor type that should be used the first time
4446 and use g_qsort_with_data() instead of our own bubble sort
4449 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4452 * gio/fam/Makefile.am:
4453 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4454 * gio/fam/fam-helper.h:
4455 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4456 * gio/fam/gfamdirectorymonitor.c:
4457 * gio/fam/gfamdirectorymonitor.h:
4458 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4459 * gio/fam/gfamfilemonitor.h:
4460 * gio/glocaldirectorymonitor.c:
4461 * gio/glocaldirectorymonitor.h:
4462 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4463 * gio/glocalfilemonitor.h:
4464 * gio/inotify/Makefile.am:
4465 * gio/inotify/ginotifydirectorymonitor.c:
4466 * gio/inotify/ginotifydirectorymonitor.h:
4467 * gio/inotify/ginotifyfilemonitor.c:
4468 * gio/inotify/ginotifyfilemonitor.h:
4469 Implement the FAM and Inotify monitors as
4470 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4471 their own GIO module. GLocal(Directory|File)Monitor will use the
4472 monitor with the highest rank that is supported on that machine.
4474 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4477 Change GIO module dir to $(libdir)/gio/modules and change
4478 the log domain from GVFS to GIO. Also only export symbols starting
4479 with g_ in the resulting library.
4480 * gio/test-streams.c: (main):
4481 Set log handler for the GIO log domain.
4483 2007-10-22 Alexander Larsson <alexl@redhat.com>
4485 * gio/gfilenamecompleter.[ch]:
4486 Add g_filename_completer_set_dirs_only
4488 2007-10-22 Alexander Larsson <alexl@redhat.com>
4491 * gio/gurifuncs.[ch]:
4492 Add some simple URI helpers
4494 * gio/gfilenamecompleter.[ch]:
4495 Added object for filename (parse name actually) completion
4498 Handle ~ in parse names
4500 2007-10-17 Alexander Larsson <alexl@redhat.com>
4503 * gio/glocalfileinfo.c:
4504 Add and implement id:value attribute
4506 2007-10-17 Alexander Larsson <alexl@redhat.com>
4509 * gio/guniondrive.c:
4511 Add and implement g_drive_has_volumes
4513 2007-10-17 Alexander Larsson <alexl@redhat.com>
4516 * gio/glocalfileinfo.[ch]:
4517 Add unix:is_mountpoint and implement for local files
4519 2007-10-16 Alexander Larsson <alexl@redhat.com>
4521 * gio/gunionvolumemonitor.c:
4522 (g_union_volume_monitor_init):
4523 Fix up the unix type getting so that it works with gcc
4525 2007-10-12 Alexander Larsson <alexl@redhat.com>
4528 * gio/glocalfileinfo.c:
4529 Add thumbnail:failed to file info
4531 2007-10-12 Richard Hult <richard@imendio.com>
4533 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4534 optimizing away the get_type call (happens with some gcc versions,
4535 like the one shipped with OS X 10.4).
4537 2007-10-12 Alexander Larsson <alexl@redhat.com>
4539 * gio/glocalfileinfo.c:
4540 (_g_local_file_info_set_attribute):
4541 Fix build if not HAVE_XATTR
4542 Patch from Milosz Derezynski <internalerror@gmail.com>
4544 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4546 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4547 around for review, otherwise I would have asked you before
4550 2007-10-11 Alexander Larsson <alexl@redhat.com>
4553 Add thumbnail:path attribute
4555 * gio/glocalfileinfo.c:
4556 Implement thumbnail:path for local files
4558 2007-10-11 Alexander Larsson <alexl@redhat.com>
4560 * gio/glocalfileinfo.c:
4561 (_g_local_file_info_get):
4562 Avoid duplicate icon names
4564 2007-10-11 Alexander Larsson <alexl@redhat.com>
4566 * gio/gthemedicon.[ch]:
4567 Change g_themed_icon_get_names return type to const
4569 2007-10-10 Alexander Larsson <alexl@redhat.com>
4571 * gio/glocalfileinfo.c:
4572 Don't reference freed memory
4574 2007-10-10 Alexander Larsson <alexl@redhat.com>
4576 * gio/gfileattribute.c:
4579 * gio/glocalfileinfo.c:
4582 2007-10-10 Alexander Larsson <alexl@redhat.com>
4585 Check for NULL icons
4587 * gio/gfileattribute.c:
4588 Don't dup when getting objects (same as for string attributes)
4590 * gio/gicon.c (g_icon_equal):
4591 Safely handle NULLs in equal
4593 2007-10-10 Alexander Larsson <alexl@redhat.com>
4596 Fix c++ compilation issues
4597 Patch from Milosz Derezynski <internalerror@gmail.com>
4599 2007-10-10 Alexander Larsson <alexl@redhat.com>
4601 * programs/gio-monitor-dir.c:
4602 Don't crash if dir monitor not supported.
4604 2007-10-09 Alexander Larsson <alexl@redhat.com>
4607 Add missing G_END_DECLS
4609 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4611 * gio/gfile.c: (g_file_set_display_name),
4612 (g_file_query_settable_attributes),
4613 (g_file_query_writable_namespaces):
4614 Return NULL not FALSE on errors as the return type is a pointer.
4616 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4618 * gio/glocalfile.c: (g_local_file_monitor_file):
4619 Don't call monitor_file on the default interface vtable (which
4620 is NULL) but simply return NULL. The caller, GFile, will create a
4621 polling monitor if NULL is returned.
4623 2007-10-09 Alexander Larsson <alexl@redhat.com>
4627 * gio-unix-2.0.pc.in:
4628 Add gio-unix-2.0.pc if OS_UNIX
4631 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4633 2007-10-09 Alexander Larsson <alexl@redhat.com>
4635 * gio/gunixmounts.[ch]:
4636 Make unix mount monitoring API sane.
4637 Now its just a object with mounts_changed
4638 and mountpoints_changed signals.
4640 * gio/glocaldirectorymonitor.c:
4641 * gio/gunixvolumemonitor.c:
4642 Use new mount monitor api
4644 2007-10-09 Alexander Larsson <alexl@redhat.com>
4646 * gio/gunixmounts.[ch]:
4647 Move guess type into one call for mounts and one for mountpoints
4650 * gio/gunixvolume.c:
4653 2007-10-09 Alexander Larsson <alexl@redhat.com>
4655 * gio/gunixmounts.[ch]:
4656 Remove _ prefix in preparation to make this semi-public
4657 Hide implementation of structs
4659 * gio/glocaldirectorymonitor.c:
4661 * gio/gunixvolume.c:
4662 * gio/gunixvolumemonitor.c:
4663 Update for above API changes
4665 2007-10-08 Alexander Larsson <alexl@redhat.com>
4668 Better polling fallback. This also handles the case where we have
4669 a monitor_file implementation, but it fails.
4671 2007-10-08 Alexander Larsson <alexl@redhat.com>
4675 * gio/gunixmounts.c:
4676 * programs/gio-monitor-dir.c:
4677 * programs/gio-monitor-file.c:
4678 Added cancellable to file monitoring calls.
4679 These are really sync calls and need this.
4681 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4683 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4684 (g_local_vfs_class_init):
4685 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4686 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4688 2007-10-05 Alexander Larsson <alexl@redhat.com>
4690 * gio/gdirectorymonitorprivate.h:
4691 * gio/gfilemonitorprivate.h:
4692 * gio/gdirectorymonitor.h:
4693 * gio/gfilemonitor.h:
4694 Remove *private.h and move to the public API, so that
4695 we can do implementations outside gio (such as in gvfs)
4697 * gio/gdirectorymonitor.c:
4698 * gio/gfilemonitor.c:
4699 * gio/glocaldirectorymonitor.c:
4700 * gio/gpollfilemonitor.c:
4701 * gio/inotify/inotify-helper.c:
4702 * gio/fam/fam-helper.c:
4703 Update to the new header names
4705 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4707 * gio/gdirectorymonitor.c:
4708 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4711 2007-10-04 Alexander Larsson <alexl@redhat.com>
4713 * gio/glocalfileinfo.c (get_access_rights):
4714 Set CAN_TRASH when we can move the file.
4715 We should really also check for a parent trash dir.
4717 2007-10-04 Alexander Larsson <alexl@redhat.com>
4719 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4720 Add can_trash access attribute
4722 2007-10-04 Alexander Larsson <alexl@redhat.com>
4725 (g_local_file_trash):
4726 Create info file first. This is per-spec and allows
4727 us to actually trash directories.
4729 2007-10-02 Alexander Larsson <alexl@redhat.com>
4731 * gio/gdesktopappinfo.c:
4732 Implement the new mime support code.
4733 Always set app as handling mimetype when being set as default for it
4735 2007-10-01 Alexander Larsson <alexl@redhat.com>
4737 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4738 Fix up check for xattrs:
4740 2007-10-01 Alexander Larsson <alexl@redhat.com>
4743 (g_app_info_set_as_default_for_extension):
4744 (g_app_info_add_supports_type):
4745 (g_app_info_can_remove_supports_type):
4746 (g_app_info_remove_supports_type):
4747 Make these fail nicely if not implemented
4749 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4751 * gio/glocalfileoutputstream.c:
4752 * gio/glocalfileoutputstream.h:
4757 * programs/gio-save.c:
4758 Add a GFileCreateFlags argument to operations that can create
4761 2007-10-01 Alexander Larsson <alexl@redhat.com>
4763 * gio/gappinfo.[ch]:
4764 * gio/gdesktopappinfo.c:
4765 Add more (stubbed out) mime API needed for nautilus
4767 2007-10-01 Alexander Larsson <alexl@redhat.com>
4770 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4771 Add g_app_info_set_as_default_for_extension.
4773 * gio/gdesktopappinfo.c:
4774 Dummy for g_app_info_set_as_default_for_extension
4775 Support flags in g_app_info_create_from_commandline
4777 * gio/gwin32appinfo.c:
4779 Update for API changes
4781 * gio/gthemedicon.c:
4782 Properly NULL-terminate list of icon names
4784 2007-09-28 Alexander Larsson <alexl@redhat.com>
4786 * gio/gloadableicon.h:
4787 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4789 2007-09-28 Alexander Larsson <alexl@redhat.com>
4792 Install headers in $includedir/gio-standalone/
4794 * gio-2.0.pc.in: Added.
4795 * gio-standalone.pc.in: Removed.
4798 Renamed pkg-config file to match glib (for future move)
4799 Update to the new include dir
4802 Add more TODO comments
4804 2007-09-28 Alexander Larsson <alexl@redhat.com>
4806 * gio/gdesktopappinfo.[ch]:
4807 Expose new_from_filename
4808 Add getter for is_hidden and handle it better
4810 2007-09-28 Alexander Larsson <alexl@redhat.com>
4812 * gio/gfileinfo.[ch]:
4813 Rename g_file_size_format_for_display to
4814 g_format_file_size_for_display.
4815 Now it doesn't have the g_file prefix, so we
4816 can later move it to glib.
4818 2007-09-28 Alexander Larsson <alexl@redhat.com>
4820 * gio/gappinfo.[ch]:
4821 Add g_app_info_get_id and g_app_info_get_executable.
4822 Make all getters non-reffing
4823 Make g_app_info_launch take GFile arguments.
4824 Add must_support_uris argument to g_app_info_get_default_for_type.
4826 * gio/gwin32appinfo.c:
4827 Update to GAppInfo api changes
4829 * gio/gdesktopappinfo.c:
4830 Update to GAppInfo api changes
4831 Implement supports_xdg_startup_notify
4833 * gio/gfileicon.c (g_file_icon_get_file):
4834 Make getter non-reffing.
4839 2007-09-27 Alexander Larsson <alexl@redhat.com>
4841 * gio/gfileinfo.[ch]:
4842 Add g_file_size_format_for_display helper
4844 2007-09-27 Alexander Larsson <alexl@redhat.com>
4846 * gio/glocalfileinfo.c:
4847 Set UNIX_GID from gid, not from uid
4849 2007-09-27 Alexander Larsson <alexl@redhat.com>
4852 Add g_file_set_attributes_async
4854 2007-09-27 Alexander Larsson <alexl@redhat.com>
4856 * gio/glocalfile.c (g_local_file_set_display_name):
4857 Fix set_display_name to actually rename to the right place.
4858 Use lstat to look for existing files so we don't overwrite
4861 2007-09-26 Alexander Larsson <alexl@redhat.com>
4864 Add g_file_set_display_name_async()
4866 2007-09-26 Alexander Larsson <alexl@redhat.com>
4869 Add load_partial_contents async calls
4872 Make internal function static
4874 2007-09-26 Alexander Larsson <alexl@redhat.com>
4876 * gio/glocalfileinfo.c:
4877 Correctly detect broken symlinks
4879 2007-09-26 Alexander Larsson <alexl@redhat.com>
4881 * gio/gcancellable.c (g_cancellable_cancel):
4882 Allow cancel on NULL cancellable
4884 2007-09-25 Alexander Larsson <alexl@redhat.com>
4886 * gio/gsimpleasyncresult.c:
4887 Don't allocate g_error manually.
4888 Fixes g_slice/g_new mixup crash
4890 2007-09-25 Alexander Larsson <alexl@redhat.com>
4892 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4893 Actually set active_backend.
4894 This means the monitor will be cancelled correctly.
4896 2007-09-25 Alexander Larsson <alexl@redhat.com>
4898 * gio/gdirectorymonitor.c:
4899 Set timeout to NULL when destroying
4901 2007-09-25 Alexander Larsson <alexl@redhat.com>
4904 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4905 that is a better description of the error.
4907 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4909 * gio/gvfs.c: (g_vfs_get_local):
4910 Make the local vfs variable static. The same instance should
4913 2007-09-24 Alexander Larsson <alexl@redhat.com>
4915 * gio/glocalfileinfo.c:
4916 Pass in actual length read into sniffer, not the length
4919 2007-09-21 Alexander Larsson <alexl@redhat.com>
4921 * gio/gfileenumerator.c:
4924 * gio/gfileinputstream.c:
4925 * gio/gfileoutputstream.c:
4926 * gio/ginputstream.c:
4927 * gio/goutputstream.c:
4928 Don't crash if async callbacks are NULL
4930 2007-09-20 Alexander Larsson <alexl@redhat.com>
4933 Add async enumerate_children method and default
4936 2007-09-20 Alexander Larsson <alexl@redhat.com>
4939 Add g_file_contains_file & g_file_get_relative_path, since they
4940 were needed for nautilus.
4941 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4946 Implement new methods
4948 2007-09-17 Alexander Larsson <alexl@redhat.com>
4951 * gio/gfileinputstream.[ch]:
4952 * gio/gfileoutputstream.[ch]:
4954 * gio/glocalfileenumerator.[ch]:
4955 * gio/glocalfileinfo.[ch]:
4956 * gio/glocalfileinputstream.c:
4957 * gio/glocalfileoutputstream.c:
4958 * gio/gpollfilemonitor.c:
4959 * programs/gio-copy.c:
4960 * programs/gio-info.c:
4961 * programs/gio-move.c:
4962 Rename get_file_info to query_info() to make it clearer
4963 that these are not simple getters, but do i/o.
4965 2007-09-17 Alexander Larsson <alexl@redhat.com>
4967 * gio/gdatainputstream.[ch]:
4968 * gio/test-streams.c:
4969 Use _read_XXX instead of _get_XXX for the i/o calls
4972 2007-09-17 Alexander Larsson <alexl@redhat.com>
4975 Added needed stuff to TODO comment
4977 2007-09-17 Alexander Larsson <alexl@redhat.com>
4979 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4980 Don't error out removing the backup copy if it doesn't
4983 2007-09-14 Alexander Larsson <alexl@redhat.com>
4985 * programs/Makefile.am:
4986 * programs/gvfs-*.c:
4988 Renamed apps from gvfs-xxx to gio-xxx.
4990 2007-09-14 Alexander Larsson <alexl@redhat.com>
4993 * gio/gfileoutputstream.[ch]:
4994 * gio/glocalfileoutputstream.c:
4995 * programs/gvfs-save.c:
4996 g_file_output_stream_get_etag doesn't do i/o, so remove
4997 cancellation and error.
4999 2007-09-14 Alexander Larsson <alexl@redhat.com>
5002 Add new_etag output to replace_contents functions
5004 2007-09-14 Alexander Larsson <alexl@redhat.com>
5006 * gio/gfileoutputstream.[ch]:
5007 Add async get_file_info and default implementation
5009 2007-09-14 Alexander Larsson <alexl@redhat.com>
5011 * gio/gfileinputstream.c:
5012 Implement fallback wrapper for async get_file_info
5014 2007-09-14 Alexander Larsson <alexl@redhat.com>
5017 Add etag out argument to load_contents
5022 2007-09-14 Alexander Larsson <alexl@redhat.com>
5024 * gio/gcontenttype.c (looks_like_text):
5025 Whitespace like tab, cr and lf do not make the
5028 2007-09-14 Alexander Larsson <alexl@redhat.com>
5030 * gio/gfileinputstream.[ch]:
5031 Add async get_file_info.
5033 2007-09-13 Alexander Larsson <alexl@redhat.com>
5035 * gio/goutputstream.c (g_output_stream_write_all):
5036 Allow NULL for bytes_written
5038 2007-09-13 Alexander Larsson <alexl@redhat.com>
5040 * gio/gmemoryinputstream.[ch]:
5041 Add accessors for data
5043 2007-09-13 Alexander Larsson <alexl@redhat.com>
5045 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5046 Don't crash if length is NULL