1 2008-09-30 Tor Lillqvist <tml@novell.com>
3 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
4 g_critical(). Pass a large enough result buffer to
5 GetVolumePathNameW(). Just use MAX_PATH.
7 2008-09-29 David Zeuthen <davidz@redhat.com>
9 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
11 2008-09-26 Dan Winship <danw@gnome.org>
13 * tests/data-input-stream.c:
14 * tests/data-output-stream.c:
15 * tests/live-g-file.c:
16 * tests/memory-input-stream.c:
17 * tests/memory-output-stream.c: Use g_assert_error() and
20 2008-09-26 Matthias Clasen <mclasen@redhat.com>
22 Bug 545350 – GAppInfo deletion
23 Bug 545351 – Reset associations for content type
26 * gappinfo.[hc]: New functions g_app_info_can_delete,
27 g_app_info_delete and g_app_info_reset_type_associations.
30 * gwin32appinfo.c: Implementations of these.
33 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
35 2008-09-26 Dan Winship <danw@gnome.org>
37 Bug 505361 – gunixinputstream.c assumes poll() available
38 Bug 509446 – portable blocking gio cancellation
40 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
41 GPollFD for a cancellable (which is slightly more complicated on
44 * gunixinputstream.c (g_unix_input_stream_read):
45 * gunixoutputstream.c (g_unix_output_stream_write): Use
46 g_cancellable_make_pollfd() and g_poll() rather than using poll()
49 * tests/unix-streams.c: test of GUnixInputStream,
50 GUnixOutputStream, and GCancellable.
52 2008-09-26 Dan Winship <danw@gnome.org>
54 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
55 cast to stop a gcc warning
57 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
60 2008-09-25 Dan Winship <danw@gnome.org>
62 Bug 553426 - cancellable clarifications
64 * gcancellable.c (g_cancellable_class_init): Add a note to the
65 "cancelled" signal docs warning about thread-safety issues
66 (g_cancellable_cancel): Note that cancelling an asynchronous
67 operation takes effect asynchronously, not immediately.
69 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
71 * gioenums.h: Add new GFileCopyFlag, to leave target file with
72 default perms, instead of setting the source file perms, in a copy
75 * gfile.c (g_file_copy_attributes)
76 (build_attribute_list_for_copy)
77 (should_copy): Not copy "unix::mode" attribute if we have received
78 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
80 2008-09-20 Matthias Clasen <mclasen@redhat.com>
82 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
84 2008-09-17 Matthias Clasen <mclasen@redhat.com>
86 * === Released 2.18.1 ===
88 2008-09-16 Michael Natterer <mitch@imendio.com>
90 * gcontenttype.c (g_content_type_guess): can't assign the return
91 value of g_strdupv() to an array. Fill the array manually with
92 const strings instead (it is never freed anyway). Fixes the
93 build. Also fixed indentation.
95 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
97 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
98 Fix trivial typo to unbreak the build (there was a colon
99 instead of a semicolon at the end of a statement).
101 2008-09-15 Matthias Clasen <mclasen@redhat.com>
103 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
106 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
109 2008-09-15 Matthias Clasen <mclasen@redhat.com>
111 Bug 551681 – g_content_type_guess() too naive with filenames
113 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
114 at the end of the filename, and declare it a directory.
115 Patch by Bastien Nocera
117 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
119 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
122 * gdesktopappinfo.c: add a note in the docs clarifying what the
123 "filename" parameter really is.
125 2008-09-12 Tor Lillqvist <tml@novell.com>
127 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
128 FormatMessage() etc here. Call g_win32_error_message() instead
129 which already does all that. Besides, the code was broken as it
130 called the default "A" version of FormatMessage() but still
131 thought it produced a wide string.
133 2008-09-12 Michael Natterer <mitch@imendio.com>
135 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
136 in the documentation.
138 2008-09-08 Christian Neumair <cneumair@gnome.org>
140 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
141 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
142 Use non-blocking pipe for mount helper I/O. Fixes #550647.
144 2008-09-06 Matthias Clasen <mclasen@redhat.com>
146 Bug 551149 – xdgmime mem leak
148 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
149 a memory leak. Patch by Christian Persch
151 2008-09-04 Tor Lillqvist <tml@novell.com>
153 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
156 2008-09-02 Matthias Clasen <mclasen@redhat.com>
158 * === Released 2.18.0 ===
160 2008-09-02 Michael Natterer <mitch@imendio.com>
162 * *.h: big header formatting cleanup: indentation, vtable
163 formatting, consistent spacing in (* vfunc), trailing whitespace
164 removal. Formatting should be pretty consistent in all GIO headers
167 2008-09-02 Matthias Clasen <mclasen@redhat.com>
169 * gmount.h: Document guess_content_type sync vfunc.
171 2008-09-02 Michael Natterer <mitch@imendio.com>
173 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
174 fix parent_class member to be GFilterOutputStreamClass (not
175 GOutputStreamClass). Drop three pointers of padding, which is
176 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
177 so the class struct size stays the same.
179 2008-09-02 Matthias Clasen <mclasen@redhat.com>
181 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
183 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
184 nonexisting return values. Pointed out by Cosimo Cecchi.
186 2008-08-23 Tor Lillqvist <tml@novell.com>
188 Bug 548988 - g_file_replace fails on Windows when the target file
191 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
192 Windows, close the file before potentially renaming it (in case we
193 have been writing to a file with a temporary name).
195 (g_local_file_output_stream_close, handle_overwrite_open): Use
196 GLocalFileStat instead of plain struct stat, for passing to
197 _g_local_file_info_create_etag(). Thus also use _fstati64()
198 instead of plain fstat() on Windows.
200 2008-08-18 Matthias Clasen <mclasen@redhat.com>
202 * === Released 2.17.7 ===
204 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
206 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
209 2008-08-13 Tor Lillqvist <tml@novell.com>
211 * win32/gwinhttpvfs.c
212 * win32/gwinhttpvfs.h
213 * win32/gwinhttpfile.c
214 * win32/gwinhttpfileinputstream.c
215 * win32/gwinhttpfileoutputstream.c: Refactor some common code
216 snippets into helper functions. Check HTTP response status
217 codes. Implement g_winhttp_file_query_info(), looking at
218 Content-Length, Content-Type and Last-Modified.
220 * win32/winhttp.h: Add some symbolic constants that are not
221 publicly documented. Just a handful, so it should be OK to use
222 information from the Windows SDK's headers.
224 2008-08-13 Tor Lillqvist <tml@novell.com>
226 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
229 * win32/gwin32directorymonitor.c
230 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
232 2008-08-13 Matthias Clasen <mclasen@redhat.com>
235 * goutputstream.c: Add intro docs.
237 2008-08-13 Tor Lillqvist <tml@novell.com>
239 * win32/gwinhttpfileoutputstream.c
240 (g_winhttp_file_output_stream_write): Don't write the
241 Content-Length header ourselves, WinHttpSendRequest() takes care
242 of that when the dwTotalLength parameter is non-zero. Increment
243 offset by the number of actual bytes sent, although I wonder if
244 such a scenario is possible where less than requested would be
245 sent and accepted by the server without errors.
247 2008-08-13 Tor Lillqvist <tml@novell.com>
249 * win32/gwinhttpvfs.c
250 * win32/gwinhttpvfs.h
251 * win32/gwinhttpfile.c
252 * win32/gwinhttpfile.h
253 * win32/gwinhttpfileinputstream.c
254 * win32/gwinhttpfileinputstream.h
255 * win32/gwinhttpfileoutputstream.c
256 * win32/gwinhttpfileoutputstream.h: New files implementing
257 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
258 Windows. The implementation uses the WinHttp API. Both reading and
259 writing are supported, i.e. GET and PUT requests. When writing,
260 each write call is done using a separate PUT request with a
261 Content-Range header. Requests for file URIs and plain pathnames
262 are forwarded to GLocalVfs.
264 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
265 WINE. Used as there is no <winhttp.h> bundled with mingw, and
266 requiring people to download the Windows SDK just for this one
267 header is not reasonable.
269 * win32/Makefile.am: Add above files.
271 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
272 the plumbing for the above.
274 2008-08-11 Sven Neumann <sven@gimp.org>
276 * gfilenamecompleter.c
277 * glocaldirectorymonitor.c
279 * gunionvolumemonitor.c
283 * gunixvolumemonitor.c
286 * gwin32volumemonitor.c: use canonical signal names.
288 2008-08-11 Tor Lillqvist <tml@novell.com>
290 * Makefile.am: Put a list of the platform-dependent .la files in
291 the subdirectories in the platform_deps Make variable, and make
292 libgio-2.0.la depend on that, so that it gets relinked if one of
293 the dependent libraries has changed.
295 2008-08-11 Tor Lillqvist <tml@novell.com>
297 * Makefile.am (platform_libadd): Remove -lwininet which had been
298 added by mistake. We will probably eventually be using WinHTTP,
299 not the older WinInet anyway. (Actually I am working on it.)
301 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
303 Bug 547080 – g_file_copy leaks expected errors
305 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
306 before trying the next fallback routine.
308 2008-08-09 Loïc Minier <lool@dooz.org>
310 Bug 535124 – umask 002 not being applied for new directories, new
311 files get the correct umask
313 * gfile.c (g_file_make_directory)
314 (g_file_make_directory_with_parents): Document ownership and
315 permissions of newly created directories as being the default
318 2008-08-08 Loïc Minier <lool@dooz.org>
320 Bug 535124 – umask 002 not being applied for new directories, new
321 files get the correct umask
323 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
326 2008-08-08 Tor Lillqvist <tml@novell.com>
328 * gwin32mount.c: Remove unused code. Whitespace cleanup.
330 * gwin32volumemonitor.c (get_connected_drives): Put questionable
331 code that didn't actually do anything inside #if 0, and add a
332 comment wondering what the code was supposed to do. This also gets
333 rid of a leftover debugging printout.
335 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
337 * gfileicon.c (g_file_icon_get_property)
338 (g_file_icon_set_property): New functions.
339 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
341 (g_file_icon_new): Use the property (bug #546132).
343 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
345 * gthemedicon.c (g_themed_icon_get_property): Also handle
346 `PROP_USE_DEFAULT_FALLBACKS'.
347 (g_themed_icon_class_init): Make
348 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
350 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
352 Bug 546371 – Improve docs re g_file_monitor
354 * gfilemonitor.c: Mention g_file_monitor() in the docs.
356 2008-08-04 Matthias Clasen <mclasen@redhat.com>
358 * === Released 2.17.6 ===
360 2008-08-04 Matthias Clasen <mclasen@redhat.com>
362 * === Released 2.17.5 ===
364 2008-08-04 Matthias Clasen <mclasen@redhat.com>
366 Bug 546017 – Don't copy attributes when copying a symlink
368 * gfile.c (g_file_copy_attributes): Specify
369 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
370 g_file_set_attributes_from_info. Patch by Christian Kellner
372 2008-08-04 Matthias Clasen <mclasen@redhat.com>
374 * gemblemedicon.[hc]:
376 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
377 a bit more extensible. Work by Clemens Buss.
379 * gioenums.h: Add GEmblemOrigin.
382 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
384 Bug 546079 – leak in xdgmime
386 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
388 2008-08-03 Tor Lillqvist <tml@novell.com>
390 * win32/gwin32directorymonitor.h
391 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
394 2008-08-03 Tor Lillqvist <tml@novell.com>
396 * win32/gwin32directorymonitor.c
397 (g_win32_directory_monitor_callback): Make prototype match
398 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
399 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
402 (g_win32_directory_monitor_constructor):
403 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
404 names in the GLib API on Windows, so convert to UTF-16 and open
407 2008-08-03 Tor Lillqvist <tml@novell.com>
409 Bug 541036 - Gnumeric crashes when trying to open Desktop or
410 user's folder under Windows
412 * win32/gwin32directorymonitor.c
413 (g_win32_directory_monitor_constructor): Ignore error from
414 CreateFile() when opening directory. Instead of asserting, just
415 store INVALID_HANDLE_VALUE then in
416 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
417 ReadDirectoryChangesW().
418 (g_win32_directory_monitor_cancel): Don't attempt to close
419 directory handle if it is INVALID_HANDLE_VALUE.
421 2008-08-01 Matthias Clasen <mclasen@redhat.com>
423 * gdesktopappinfo.c: Remove debug spew
425 2008-08-01 Hans Breuer <hans@breuer.org>
427 * makefile.msc : add gemblembedicon
429 2008-07-30 Matthias Clasen <mclasen@redhat.com>
431 Bug 545457 – gdmsetup crashed with SIGSEGV in
432 g_unix_mount_guess_should_display()
434 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
435 crash if no mount is found.
437 2008-07-28 Matthias Clasen <mclasen@redhat.com>
439 Bug 545203 – gfile.c: argument is different type.
441 * gfile.c (open_read_async_thread): Pass a GError **
442 to g_file_set_error_literal.
443 Reported by Kazuki Iwamoto
445 2008-07-28 Matthias Clasen <mclasen@redhat.com>
447 Bug 545157 – wrong/no list of "open with" applications for .cc and
450 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
451 Collect all ancestors, not just direct parents. Pointed
452 out by Bastien Nocera
454 2008-07-28 Matthias Clasen <mclasen@redhat.com>
456 * Makefile.am: Install gemblemedicon.h
458 2008-07-28 Matthias Clasen <mclasen@redhat.com>
460 * gemblemedicon.[hc]: Add a GIcon implementation that can
461 add an emblem to another icon.
468 * gfileicon.c: Small documentation additions.
470 2008-07-28 Tor Lillqvist <tml@novell.com>
472 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
475 2008-07-27 Tor Lillqvist <tml@novell.com>
477 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
479 2008-07-24 David Zeuthen <davidz@redhat.com>
483 Also export a g_mount_guess_content_type_sync() function.
485 2008-07-23 Matthias Clasen <mclasen@redhat.com>
487 529694 – SELinux context setting support
489 * gfileinfo.c: Support setting selinux attributes.
490 Patch by Tomas Bzatek
492 2008-07-22 Priit Laes <plaes@plaes.org>
494 Bug 544140 - fam-helper 64-bit issue?
496 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
498 2008-07-21 Matthias Clasen <mclasen@redhat.com>
500 * === Released 2.17.4 ===
502 2008-07-20 Matthias Clasen <mclasen@redhat.com>
504 * gvolumemonitor.[hc]:
509 * gmount.c: Documentation fixes
511 2008-07-19 Matthias Clasen <mclasen@redhat.com>
513 543504 – crash in Epiphany Web Browser: Opening local file
524 * gvolume.c: Register types thread-safely.
525 Patch by Christian Persch
527 2008-07-18 Matthias Clasen <mclasen@redhat.com>
529 * gcontenttype.c: Remove debug spew
531 2008-07-18 Matthias Clasen <mclasen@redhat.com>
533 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
536 * fen/fen-kernel.c: Remove a warning that was causing
537 crashes. Reported by Lin Ma.
539 2008-07-18 Matthias Clasen <mclasen@redhat.com>
541 Bug 543040 – async reading on dummy file will crash on
544 * gfile.c (open_read_async_thread): Cope with read_fn being
545 NULL. Reported by Lin Ma.
547 2008-07-18 Matthias Clasen <mclasen@redhat.com>
550 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
552 2008-07-16 Matthias Clasen <mclasen@redhat.com>
556 * giomodule.c: Rename a chapter id to avoid filename conflict.
558 2008-07-16 Matthias Clasen <mclasen@redhat.com>
560 Bug 540616 – mem leak in filechooser button
562 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
563 the mount entry. Reported by Chrisitan Persch
565 2008-07-16 Matthias Clasen <mclasen@redhat.com>
567 * gfile.c: Small documentation fixes.
569 2008-07-15 Matthias Clasen <mclasen@redhat.com>
571 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
573 2008-07-08 Matthias Clasen <mclasen@redhat.com>
578 * gmount.c: Documentation improvements.
580 2008-07-08 Matthias Clasen <mclasen@redhat.com>
583 * gmount.[hc]: Add g_mount_guess_content_type().
585 2008-07-06 David Zeuthen <davidz@redhat.com>
588 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
589 is needed for easily handling adoption of foreign volumes by
590 out-of-process volume monitors (#541793)
592 2008-07-06 David Zeuthen <davidz@redhat.com>
594 * gvolumemonitor.[ch]:
595 * gunionvolumemonitor.c: Export the eject-button signal on the
596 volume monitor class (#541794).
598 2008-07-06 Matthias Clasen <mclasen@redhat.com>
600 * gappinfo.c: More doc tweaks
602 2008-07-05 Matthias Clasen <mclasen@redhat.com>
604 * gappinfo.c: Clarify some docs
606 2008-07-03 Matthias Clasen <mclasen@redhat.com>
608 * gdesktopappinfo.c: Fix a stupid mistake.
610 2008-07-02 Matthias Clasen <mclasen@redhat.com>
612 * === Released 2.17.3 ===
614 2008-07-02 Matthias Clasen <mclasen@redhat.com>
616 * gfilemonitor.c: Fix the build.
618 2008-07-02 Matthias Clasen <mclasen@redhat.com>
620 Bug 536160 – Add g_file_monitor()
623 * gfile.[hc]: Add g_file_monitor which can return either
624 a file or a directory monitor. Proposed by Behdad Esfahbod
626 2008-07-02 Matthias Clasen <mclasen@redhat.com>
628 536733 – gio build failure on Irix
630 * glocalfile.c: Use a configure check for structfs.f_bavail.
632 2008-07-02 Matthias Clasen <mclasen@redhat.com>
634 Bug 534639 – add g_desktop_app_info_new_from_keyfile
637 * gdesktopappinfo.[hc]: Add a function to create a
638 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
640 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
642 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
644 2008-07-01 Matthias Clasen <mclasen@redhat.com>
646 * gunixmounts.c: Fix a doc typo.
648 2008-07-01 Cody Russell <bratsche@gnome.org>
650 * gio/gcontenttype.c:
651 * gio/gwin32appinfo.c:
652 * gio/gwin32volumemonitor.c:
653 * gio/gwin32mount.c: Fixed some include problems.
655 2008-07-01 Cody Russell <bratsche@gnome.org>
659 Moved all relevant typedefs into these files.
662 Updated wrt added files.
664 Split types into separate file for easier maintainership. (#538564)
666 2008-06-30 Matthias Clasen <mclasen@redhat.com>
668 Bug 540331 – g_file_append_to () documentation: can return NULL
670 * gfile.c (g_file_append_to): Clarify docs.
673 2008-06-30 Matthias Clasen <mclasen@redhat.com>
675 Bug 539090 – g_content_type_from_mime_type() should unalias
677 * gcontentype.c (g_content_type_from_mime_type): Unalias.
678 Patch by Markus Bergman
680 2008-06-30 Matthias Clasen <mclasen@redhat.com>
682 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
685 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
686 on ppc and alpha. Reported by Mart Raudsepp
688 2008-06-29 Matthias Clasen <mclasen@redhat.com>
691 * tests/memory-output-stream.c: Add some tests for
694 2008-06-29 Matthias Clasen <mclasen@redhat.com>
696 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
699 * gmemoryoutputstream.c (array_resize): Handle truncation to
700 zero correctly. Reported by Akira Tagoh
702 2008-06-29 Matthias Clasen <mclasen@redhat.com>
704 * gmemoryoutputstream.c: Trivial doc fixes
706 2008-06-29 Matthias Clasen <mclasen@redhat.com>
708 Bug 540802 – g_list_prepend doesn't concat lists
710 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
711 one list to another. Pointed out by Jan Arne Petersen
713 2008-06-28 Michael Natterer <mitch@imendio.com>
715 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
717 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
719 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
720 to avoid problems with partial icon themes.
722 2008-06-17 Hans Breuer <hans@breuer.org>
724 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
725 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
726 access again on win32, see bug #538127
727 * giomodule.c : ensure GWin32VolumeMonitor is registered
728 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
729 * Makefile.am makefile.msc : updated
731 2008-06-16 Hans Breuer <hans@breuer.org>
733 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
734 and initialization in one step avoids c99ism
736 2008-06-16 Christian Persch <chpe@gnome.org>
739 * gio/gbufferedinputstream.c
741 * gio/gdatainputstream.c
742 * gio/gdesktopappinfo.c
744 * gio/gfileenumerator.c
745 * gio/gfileinputstream.c
746 * gio/gfileoutputstream.c
748 * gio/glocaldirectorymonitor.c
750 * gio/glocalfileenumerator.c
751 * gio/glocalfileinfo.c
752 * gio/glocalfilemonitor.c
753 * gio/glocalfileoutputstream.c
754 * gio/gmemoryinputstream.c
755 * gio/gmemoryoutputstream.c
756 * gio/goutputstream.c
757 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
760 2008-06-16 Tor Lillqvist <tml@novell.com>
762 Bug 538362 - Get Win32 icons back in the file chooser
764 * gcontenttype.c (g_content_type_get_icon): Look up the icon
765 corresponding to a file extension in the Registry. Patch by Hans
767 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
769 2008-06-16 Tor Lillqvist <tml@novell.com>
771 Patches by Hans Breuer:
773 * glocalfile.c (is_xp_or_later): Handle compiling against older
774 SDK headers with missing VerifyVersionInfo(). Conditioned on
775 _MSC_VER, but should probably use some better test.
776 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
777 uninitialised statfs_result variable on Win32.
779 2008-06-16 Michael Natterer <mitch@imendio.com>
781 * *.c: chain up unconditionally in finalize() and dispose(). Also
782 don't dereference these function pointers when calling them since
783 that has no meaning at all.
785 2008-06-16 Ross Burton <ross@burtonini.com>
788 Remove check for dispose implementation as it annoys Emmanuele.
790 2008-06-16 Ross Burton <ross@burtonini.com>
792 Bug 536252 – GFileEnumerator should allow access to the containing
798 Add g_file_enumerator_get_container() and a container writeable
799 construct-only property. Also shuffle around typedefs to make it
802 * glocalfileenumerator.c:
803 * glocalfileenumerator.h:
805 Instead of a string filename take a GFile in the constructor and
806 use it to set the container property.
811 2008-06-16 Matthias Clasen <mclasen@redhat.com>
813 * gfile.c: Make includes more uniform
815 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
817 * tests/live-g-file.c (sample_struct):
818 Use less fancy unicode filenames, so the test doesn't fail
819 on Mac OS X (#531476).
821 2008-06-12 Matthias Clasen <mclasen@redhat.com>
823 * === Released 2.17.2 ===
825 2008-06-12 Matthias Clasen <mclasen@redhat.com>
827 * === Released 2.17.1 ===
829 2008-06-11 A. Walton <awalton@gnome.org>
831 * tests/g-file.c (test_g_file_new_null):
832 Fix broken test case.
834 2008-06-11 Matthias Clasen <mclasen@redhat.com>
836 * pltcheck.sh: We use g_clear_error now.
838 2008-06-11 Matthias Clasen <mclasen@redhat.com>
840 * glocalfile.c (g_local_file_enumerate_children): Revert
841 an unintended change.
843 2008-06-11 Matthias Clasen <mclasen@redhat.com>
845 * gfile.c (g_file_replace_contents): Don't unref before the last use.
847 2008-06-10 Matthias Clasen <mclasen@redhat.com>
849 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
852 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
853 as icon for the desktop directory, also make user-home and
854 user-desktop the preferred icons.
856 2008-06-10 Matthias Clasen <mclasen@redhat.com>
859 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
860 to add a name to the front of the list.
862 2008-06-10 Matthias Clasen <mclasen@redhat.com>
864 Bug 537392 – Additional colon in xattr name
866 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
867 too. Reported by Alessandro Morandi
869 2008-06-10 Matthias Clasen <mclasen@redhat.com>
871 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
874 * glocalfile.c (get_fs_type): Add afs and autofs.
875 Patch by Danny Baumann.
877 2008-06-10 Matthias Clasen <mclasen@redhat.com>
879 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
881 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
882 is no parent. (Owen Taylor, patch by Christian Neumair)
884 2008-06-10 Paolo Borelli <pborelli@katamail.com>
886 * gfile.c (g_file_replace_contents): do not leak the output stream.
888 2008-06-10 Michael Natterer <mitch@imendio.com>
890 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
891 uninitialized memory as array index.
893 2008-06-10 Tor Lillqvist <tml@novell.com>
895 * gcontenttype.c (g_content_type_can_be_executable)
896 (g_content_type_get_icon) [Win32]: Add TODO comments.
898 2008-06-09 Matthias Clasen <mclasen@redhat.com>
900 * xdgmime/Makefile.am: Fix the build
902 2008-06-09 Matthias Clasen <mclasen@redhat.com>
904 * gcontenttype.c (g_content_type_get_icon): Use icons specified
905 in the shared mime database, if available.
907 * xdgmime/*: Sync with upstream. This brings support for
908 glob weights, generic icons, and changes the cache format to
911 2008-05-28 Michael Natterer <mitch@imendio.com>
913 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
914 the global CPPFLAGS now.
916 * tests/data-input-stream.c
917 * tests/data-output-stream.c
918 * tests/g-file-info.c
920 * tests/live-g-file.c
921 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
923 2008-05-27 Matthias Clasen <mclasen@redhat.com>
925 * === Released 2.17.0 ===
927 * tests/live-g-file.c: Clean up after the tests, so make distcheck
928 doesn't complain about leftover files.
930 2008-05-27 simon.zheng <simon.zheng@sun.com>
932 * glocalfile.c: (g_local_file_query_filesystem_info):
933 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
935 2008-05-26 Michael Natterer <mitch@imendio.com>
937 * gmemoryoutputstream.h: declare
938 g_memory_output_stream_get_data_size().
940 2008-05-26 Matthias Clasen <mclasen@redhat.com>
942 * tests/*: Make tests work
944 2008-05-26 Matthias Clasen <mclasen@redhat.com>
946 * gio.symbols: Add g_memory_output_stream_get_data_size.
948 2008-05-25 Ross Burton <ross@burtonini.com>
951 Fix typo in error message (#534764).
953 2008-05-25 Ross Burton <ross@burtonini.com>
956 Fix circular dependency loop for gioenumtypes.h (#534759).
958 2008-05-19 Hans Breuer <hans@breuer.org>
960 * Makefile.am : EXTRA_DIST += makefile.msc
962 2008-05-17 Matthias Clasen <mclasen@redhat.com>
965 * gcontenttype.c: (g_content_type_from_mime_type):
966 New function to create a content type from a mime type. (#527175,
969 2008-05-17 Matthias Clasen <mclasen@redhat.com>
971 Bug 532965 – Should not return filesystem::free for certain file systems
973 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
974 free space for ncpfs.
976 2008-05-17 Matthias Clasen <mclasen@redhat.com>
978 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
980 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
981 st_dev might be zero.
983 2008-05-16 Tor Lillqvist <tml@novell.com>
985 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
986 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
988 2008-05-13 Bastien Nocera <hadess@hadess.net>
990 * gfile.c (has_valid_scheme): A URI scheme must start with a
991 letter, even if later more characters are allowed (#532852)
993 2008-05-05 Michael Natterer <mitch@imendio.com>
995 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
996 code from being checked in that breaks the build of applications
997 which use G_DISABLE_SINGLE_INCLUDES.
999 * makegioalias.pl: make the alias file include "glib.h" instead of
1002 * gio.symbols: whitespace change to force regeneration of the
1003 alias file after above script change.
1005 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1007 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1009 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1011 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1013 2008-04-28 David Zeuthen <davidz@redhat.com>
1015 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1016 displaying mounts in a subdirectory not accessible to the
1019 2008-04-22 Michael Natterer <mitch@imendio.com>
1021 * Makefile.am: fix library versioning (it was 0.0.0).
1023 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1025 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1026 Default disable all loggings.
1027 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1028 (port_fetch_event_cb): Fixed two macro nits.
1030 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1032 * xdgmime/xdgmime.c: Rework the timestamp checking code
1033 to protect against duplicate directories in XDG_DATA_DIRS.
1034 Fixes fd.o bug 12513, reported by Joe Shaw.
1036 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1038 Partically revert the last commit after realizing that
1039 xdg_mime_media_type_equal doesn't have to init at all.
1041 * xdgmime/xdgmime.h:
1042 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1044 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1046 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1048 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1049 reported by Joe Shaw and Federico Mena Quintero.
1051 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1052 (xdg_mime_media_type_equal): Turn into a wrapper around the
1055 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1056 functions throughout.
1058 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1060 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1061 tolerate an empty TryExec= line without failing; nautilus used
1062 to create launchers with these in previous versions. Fixes #528433
1064 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1066 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1067 after name. Fixes #527132.
1069 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1071 * gfile.c: (g_file_replace):
1074 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1076 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1078 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1079 by Christian Kellner.
1081 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1083 * gunixmounts.c: (g_unix_mount_guess_should_display):
1084 Don't list the user directory as a mount, fix potential issue
1085 when other users have a similar naming and don't special case the
1086 gvfs mounts there since that's not required (#525866)
1088 2008-03-31 Alexander Larsson <alexl@redhat.com>
1090 * glocalfile.c (get_parent):
1093 2008-03-31 A. Walton <awalton@svn.gnome.org>
1095 * gfile.c (g_file_query_file_type):
1096 Always return a GFileType enum value (#520715).
1098 2008-03-31 Alexander Larsson <alexl@redhat.com>
1100 * glocalfileenumerator.c:
1101 Read readdir() info in chunks (of 1000) and sort
1102 the chunks by inode before stat:ing.
1103 This is a 20% performance increase in testing
1104 gvfs-ls on /usr/bin with cold cache.
1106 2008-03-31 Alexander Larsson <alexl@redhat.com>
1108 * gmemoryoutputstream.c:
1109 Clarify docs for g_memory_output_stream_get_size.
1110 Add g_memory_output_stream_get_data_size.
1112 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1116 * gfile.h: Add g_file_query_file_type convenience function
1117 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1119 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1121 * gfileenumerator.c:
1122 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1124 2008-03-28 A. Walton <awalton@svn.gnome.org>
1126 * giomodule.c (_g_io_modules_ensure_loaded):
1127 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1130 2008-03-28 Alexander Larsson <alexl@redhat.com>
1133 (copy_stream_with_progress):
1136 2008-03-28 Alexander Larsson <alexl@redhat.com>
1139 (copy_stream_with_progress):
1140 (file_copy_fallback):
1141 Fallback to g_file_query_info for source size
1142 if g_file_input_stream_query_info fails. (#524579)
1144 2008-03-28 Alexander Larsson <alexl@redhat.com>
1146 * glocalfile.c (g_local_file_move):
1147 Reuse old string instead of adding new one.
1149 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1151 * fen/*.[hc]: still copyright issue. I hate copyright.
1153 2008-03-27 Alexander Larsson <alexl@redhat.com>
1155 * glocalfile.c (g_local_file_move):
1156 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1157 file over directory. This is according to the docs and what the move via
1158 copy+remove fallback does.
1160 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1162 * fen/*.[hc]: Updated copyright.
1164 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1166 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1168 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1170 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1171 not emit attribute changed events when optimizing changed events.
1172 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1175 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1177 * gmountoperation.[hc]: Small documentation additions
1179 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1181 * gunixmounts.c: (guess_mount_type):
1182 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1184 2008-03-19 Alexander Larsson <alexl@redhat.com>
1187 (copy_stream_with_progress):
1188 Bump block side for copy to 64k to minimize
1189 overhead for low latency links. (#523015)
1191 2008-03-16 Tor Lillqvist <tml@novell.com>
1193 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1194 depend on gio.def on Windows.
1196 2008-03-12 David Zeuthen <davidz@redhat.com>
1200 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1202 2008-03-14 Alexander Larsson <alexl@redhat.com>
1206 Avoid redudant tests (#521851)
1207 Patch from Josselin Mouette
1209 2008-03-14 Alexander Larsson <alexl@redhat.com>
1212 (g_file_monitor_is_cancelled):
1213 Fix C89 issue (#521672)
1214 Patch from Jens Granseuer
1216 2008-03-14 Alexander Larsson <alexl@redhat.com>
1218 * fam/fam-helper.[ch]:
1220 Shut down fam (including removing fam GSource) when
1221 module is unloaded (#521513)
1222 Patch from Joe Marcus Clarke
1224 2008-03-14 Alexander Larsson <alexl@redhat.com>
1227 (_g_io_modules_ensure_loaded):
1230 2008-03-14 Alexander Larsson <alexl@redhat.com>
1233 (g_local_file_query_filesystem_info):
1234 Use right define name for f_fstypename member check
1236 2008-03-14 Alexander Larsson <alexl@redhat.com>
1239 * fen/Makefile.am: Added.
1240 * fen/fen-data.[ch]: Added.
1241 * fen/fen-dump.[ch]: Added.
1242 * fen/fen-helper.[ch]: Added.
1243 * fen/fen-kernel.[ch]: Added.
1244 * fen/fen-missing.[ch]: Added.
1245 * fen/fen-node.[ch]: Added.
1246 * fen/fen-sub.[ch]: Added.
1247 * fen/gfendirectorymonitor.[ch]: Added.
1248 * fen/gfenfilemonitor.[ch]: Added.
1250 Added Solaris FEN file notification backend.
1251 Patch from Lin Ma <Lin.Ma@Sun.COM>
1253 2008-03-13 Tor Lillqvist <tml@novell.com>
1255 * Makefile.am: Actually use the gio.def file when linking the
1256 library on Windows. Produce .lib library for Microsoft's toolchain
1257 when possible. Install the .lib and .def file like for the other
1260 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1262 * tests/live-g-file.c:
1263 Include live-g-file in standard set of tests, making a temporary
1264 directory in source structure.
1266 Clean target directory before the tests (write mode only)
1268 2008-03-12 Tor Lillqvist <tml@novell.com>
1270 Bug 517419 - gio win32 directory monitor
1271 Implementation by Vlad Grecescu.
1274 * win32/gwin32directorymonitor.h
1275 * win32/gwin32directorymonitor.c: New files.
1277 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1279 * Makefile.am: Add the win32 subdirectory.
1281 2008-03-12 Tor Lillqvist <tml@novell.com>
1283 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1284 normal struct stat on Unix but struct _stati64 on Windows to have
1285 access to 64-bit file size information. Use that instead of struct
1286 stat in the functions declared here in this private header.
1288 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1289 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1290 warnings about unused functions and variables. Don't set
1291 meaningless attributes like inode numbers on Windows.
1293 2008-03-12 Benjamin Otte <otte@gnome.org>
1296 trim whitespace so gtk-doc groks the function name
1298 2008-03-12 Tor Lillqvist <tml@novell.com>
1300 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1301 returning FALSE, on Win32.
1303 2008-03-11 Alexander Larsson <alexl@redhat.com>
1306 * glocalfileinfo.[ch]:
1307 Correctly implement can_trash by actually
1308 looking for a trash dir, not just assuming
1311 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1313 * === Released 2.16.1 ===
1315 2008-03-11 Alexander Larsson <alexl@redhat.com>
1318 Fix crashes in new constructor and properties code
1320 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1322 * gfile.c: Minor spelling correction in documentation:
1323 existance -> existence.
1325 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1327 * === Released 2.16.0 ===
1329 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1331 * gio.symbols: Remove g_file_contains_file here, too.
1333 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1335 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1336 Samuel Cormier-Iijima)
1338 2008-03-08 Tor Lillqvist <tml@novell.com>
1340 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1343 2008-03-07 Alexander Larsson <alexl@redhat.com>
1346 (g_local_file_query_filesystem_info):
1347 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1348 Patch from Jasper Lievisse Adriaanse
1350 2008-03-06 Tor Lillqvist <tml@novell.com>
1352 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1353 comments for the *_USEC attributes.
1355 2008-03-06 Alexander Larsson <alexl@redhat.com>
1357 * gfile.c (g_file_query_exists):
1358 Add g_return_val_if_fail check (#520700)
1360 2008-03-06 Alexander Larsson <alexl@redhat.com>
1362 * gdesktopappinfo.c:
1365 * gunionvolumemonitor.c:
1368 * tests/live-g-file.c:
1369 * xdgmime/xdgmimecache.c:
1370 Fix sparse warnings (#519489)
1372 2008-03-05 Alexander Larsson <alexl@redhat.com>
1375 Make cancellation threadsafe (i.e.
1376 guarantee its only done once, and always
1379 * glocaldirectorymonitor.c:
1380 Make sure we the monitor lives while the
1381 mounts_changed callback is being called (#520484)
1383 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1385 * gbufferedinputstream.c: Fix typo in parameter
1388 2008-03-04 Alexander Larsson <alexl@redhat.com>
1391 Remove deprecated symbols we kept for one release.
1393 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1396 * goutputstream.c: Tiny documentation corrections.
1398 2008-03-03 Alexander Larsson <alexl@redhat.com>
1400 * gunionvolumemonitor.c:
1402 Fix the adopt_orphan_mount vfunc to take a
1403 volume_monitor reference in an ABI compat way.
1404 This change is not API compat, but the added
1405 arg is not used in the only user of this vfunc, so
1406 all we get is a harmless warning in gvfs (#520169)
1408 2008-03-01 Benjamin Otte <otte@gnome.org>
1411 clarify docs for g_file_delete().
1413 2008-02-29 Alexander Larsson <alexl@redhat.com>
1417 Make sure empty files get text/plain type (#518720)
1419 2008-02-27 Alexander Larsson <alexl@redhat.com>
1425 (g_unix_volume_mount):
1426 Add missing GMountMountFlags argument
1428 2008-02-26 Alexander Larsson <alexl@redhat.com>
1431 (g_local_file_delete):
1432 Handle filesystems (like ntfs-3g) that return EEXIST instead
1433 of ENOTEMPTY (#518816)
1435 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1437 * === Released 2.15.6 ===
1439 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1441 * gfile.c (g_file_find_enclosing_mount):
1442 * ginputstream.c (g_input_stream_set_pending):
1443 * glocalfile.c (g_local_file_find_enclosing_mount):
1444 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1445 * goutputstream.c (g_output_stream_set_pending):
1447 Fixup translator comments (#518578).
1449 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1451 * gfile.c (g_file_find_enclosing_mount):
1453 * glocalfile.c (g_local_file_find_enclosing_mount):
1456 Fix a few typos in translator comments and documentation.
1458 2008-02-25 Alexander Larsson <alexl@redhat.com>
1465 Add translator comments (#518578)
1467 2008-02-25 Alexander Larsson <alexl@redhat.com>
1470 Reintroduce g_file_contains_file, keep around for one
1471 unstable release cycle to avoid crashing to many apps.
1472 Make sure to delete after release.
1474 2008-02-25 Alexander Larsson <alexl@redhat.com>
1477 Remove deprecated g_file_contains_file.
1479 2008-02-25 Alexander Larsson <alexl@redhat.com>
1482 Emit actual change signals in an idle handler.
1483 This avoids reentrance and locking problems in
1484 the file notification backends.
1486 2008-02-25 Alexander Larsson <alexl@redhat.com>
1489 (g_unix_mount_guess_should_display):
1490 Remove type guessing, instead just display
1491 mounts in /media and in ~/.
1493 2008-02-25 Alexander Larsson <alexl@redhat.com>
1496 Make new strings reuse old ones.
1498 2008-02-25 Alexander Larsson <alexl@redhat.com>
1501 Implement trashing and filesystem::readonly for win32 (#517235)
1502 Patch from Yevgen Muntyan
1504 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1506 * gfileinfo.h: Documentation fixes.
1508 2008-02-22 Alexander Larsson <alexl@redhat.com>
1510 * gcontenttype.c (g_content_type_get_icon):
1511 Look at old-style gnome mime icon names too, as many
1512 have not moved to the new style.
1514 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1516 * *.c: Correct the @include in for section docs.
1518 2008-02-21 David Zeuthen <davidz@redhat.com>
1520 * glocalfileinfo.c: (_g_local_file_info_get):
1522 (g_content_type_get_icon): Implement this function by
1523 moving bits from glocalfileinfo.c
1524 (g_content_type_get_description): Unalias before getting
1525 description (#517687)
1527 * gfile.c: (g_file_class_init),
1528 (g_file_query_filesystem_info_async),
1529 (g_file_query_filesystem_info_finish),
1530 (query_filesystem_info_data_free),
1531 (query_filesystem_info_async_thread),
1532 (g_file_real_query_filesystem_info_async),
1533 (g_file_real_query_filesystem_info_finish):
1534 * gfile.h: Implement async version of
1535 g_file_query_filesystem_info()
1537 * gfileinfo.h: Add new attributes for filesystem::use-preview
1539 * gio.symbols: Update
1541 * gthemedicon.c: (g_themed_icon_append_name):
1542 * gthemedicon.h: Add new new convenience function.
1544 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1545 (get_mounts), (get_volumes), (get_connected_drives),
1546 (get_volume_for_uuid), (get_mount_for_uuid),
1547 (g_union_volume_monitor_init), (populate_union_monitor),
1548 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1549 (g_volume_monitor_adopt_orphan_mount):
1551 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1552 monitor implementations to call into the main volume monitor. Also
1553 separate object initialization and volume monitor initialization
1554 such that non-native volume monitors can properly adopt their
1557 2008-02-21 Alexander Larsson <alexl@redhat.com>
1562 2008-02-21 Alexander Larsson <alexl@redhat.com>
1565 Add more documentation about how GFiles work (from #517086)
1567 2008-02-21 Alexander Larsson <alexl@redhat.com>
1571 Add new g_file_has_prefix that does the same as g_file_contains_file.
1572 Deprecate g_file_contains_file and add a macro that converts
1573 it to g_file_has_prefix.
1574 The reason for this change is that the contains_file() name seems to
1575 imply that this does more work than what it does, but its really only
1576 a name match (from #517086)
1581 Update to match the above change.
1583 2008-02-20 Benjamin Otte <otte@gnome.org>
1585 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1586 (g_file_eject_mountable):
1587 even more cases of not returning in error path
1589 2008-02-20 Benjamin Otte <otte@gnome.org>
1591 * gfile.c: (g_file_mount_mountable):
1592 return from function in error path.
1594 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1597 Remove trailing coma in GMountMountFlags struct
1599 2008-02-18 Alexander Larsson <alexl@redhat.com>
1603 * glocalfileoutputstream.c:
1604 Use g_unlink/g_rename instead of unlink/rename;
1605 do not pass raw filenames to g_set_error. (#517239)
1606 Patch from Yevgen Muntyan.
1608 2008-02-18 Alexander Larsson <alexl@redhat.com>
1611 * glocalfileoutputstream.c:
1612 Open files with O_BINARY on windows. (#517140)
1614 2008-02-14 Alexander Larsson <alexl@redhat.com>
1616 * glocalfileoutputstream.c:
1617 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1619 2008-02-14 Alexander Larsson <alexl@redhat.com>
1622 Copy permissions with file on copy (#514084)
1623 This is what cp does and makes sure e.g. the
1624 exec permissions are kept.
1625 Its kinda weird in that it keeps the permission bits
1626 the same while the uid and gid are different. However
1627 the new uid is the user so its not a security issue,
1628 and I've heard no complaints about cp on this issue.
1630 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1632 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1634 2008-02-13 Alexander Larsson <alexl@redhat.com>
1636 * inotify/inotify-path.c:
1637 Define IN_ONLYDIR if not in header (#515346)
1639 2008-02-12 Alexander Larsson <alexl@redhat.com>
1641 * tests/live-g-file.c:
1644 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1646 * === Released 2.15.5 ===
1648 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1650 * gio.symbols: Add g_mount_mount_flags_get_type.
1652 2008-02-11 Alexander Larsson <alexl@redhat.com>
1655 (g_file_info_set_attribute_mask):
1656 (g_file_attribute_matcher_matches_id):
1657 Correctly handle NULL GAttributeMatcher meaning
1658 matches nothing. (Fixes #513492)
1660 2008-02-11 Alexander Larsson <alexl@redhat.com>
1665 Added GMountMountFlags enum and added a flags
1666 argument to all mount calls.
1668 This is an API/ABI change for future extensibility,
1669 as I think we will need at least an
1670 inhibit-autorun flag (the panel needs this).
1671 There are no flags defined yet though.
1673 2008-02-11 Alexander Larsson <alexl@redhat.com>
1676 Added new standard::description attribute.
1677 Requested by Vincent, and useful for both
1680 2008-02-11 Alexander Larsson <alexl@redhat.com>
1682 * gdesktopappinfo.c:
1685 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1687 * *.c: Documentation additions
1689 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1691 * gappinfo.h: Formatting cleanup
1692 * gappinfo.c: Fix up docs.
1694 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1696 * gunixmounts.c: Consistently use getmntent_r() and fall
1697 back to getmntent(). (#515492)
1699 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1701 * gbufferedinputstream.c:
1703 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1705 * tests/data-input-stream.c:
1706 * tests/data-output-stream.c: Portability fixes.
1708 2008-02-08 Alexander Larsson <alexl@redhat.com>
1713 Add g_volume_should_automount.
1716 2008-02-07 Tor Lillqvist <tml@novell.com>
1718 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1719 Win32, too Unix-specific.
1721 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1723 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1724 a local plt if the compiler doesn't support what we want. Bug #514702
1726 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1728 reviewed by: <delete if not using a buddy>
1731 * gunixinputstream.c:
1732 * gunixoutputstream.c:
1734 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1736 * tests/Makefile.am:
1737 * tests/live-g-file.c:
1738 * tests/live-g-file.txt:
1739 New GIO testing module working over real data
1741 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1743 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1744 Fallback to rename() if link() is not available
1745 (when no support on target filesystem)
1747 2008-02-06 Michael Natterer <mitch@imendio.com>
1749 * gfileinfo.c (g_file_info_get_icon): replace
1750 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1752 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1754 * gfile.c (g_file_create):
1755 Documentation update of error codes
1757 2008-02-06 Alexander Larsson <alexl@redhat.com>
1759 * gdesktopappinfo.c:
1760 Update to use both mimeapps.list and
1761 defaults.list as discussed on xdg list.
1763 2008-02-06 Benjamin Otte <otte@gnome.org>
1766 * gfilenamecompleter.c:
1767 Fix some typos in the documentation.
1769 2008-02-06 Alexander Larsson <alexl@redhat.com>
1771 * glocalfile.c (g_local_file_trash):
1772 Don't succeed with trash if newly created
1773 trash dir has the wrong owner. (#514696)
1775 2008-02-05 Alexander Larsson <alexl@redhat.com>
1777 * glocalfile.c (g_local_file_move):
1778 Don't spew warnings when destination is not
1781 2008-02-03 Hans Breuer <hans@breuer.org>
1783 * makefile.msc : update
1785 2008-02-01 Michael Natterer <mitch@imendio.com>
1787 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1788 return value of xdg_mime_list_mime_parents() to a variable of the
1791 2008-02-01 Alexander Larsson <alexl@redhat.com>
1793 * gappinfo.c (g_app_info_launch_uris):
1794 Actually call the launch_uris method, not
1797 2008-02-01 Alexander Larsson <alexl@redhat.com>
1799 * gdesktopappinfo.c (g_desktop_app_info_equal):
1800 Ensure appinfos with no id but same pointer value
1803 2008-02-01 Alexander Larsson <alexl@redhat.com>
1805 * gappinfo.c (g_app_info_launch_default_for_uri):
1808 2008-02-01 Alexander Larsson <alexl@redhat.com>
1812 Add g_app_info_launch_default_for_uri utility
1815 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1817 * gdesktopappinfo.c:
1818 Doc fix for g_app_info_get_default_for_uri_scheme ()
1821 2008-01-30 Alexander Larsson <alexl@redhat.com>
1824 Add doc comment about uris vs GFiles to
1827 * gdesktopappinfo.c:
1828 Ensure uris passed to g_app_info_launch_uris()
1829 are not roundtriped through GFile (as that
1830 may be slightly destructive for e.g. mailto: links)
1832 2008-01-30 Alexander Larsson <alexl@redhat.com>
1834 * tests/data-input-stream.c:
1835 * tests/data-output-stream.c:
1836 C89 fixes from Jens Granseuer (#512849)
1838 2008-01-30 Alexander Larsson <alexl@redhat.com>
1841 Fix gamin/fam difference build issue. (#509419)
1843 2008-01-29 Alexander Larsson <alexl@redhat.com>
1846 * gdesktopappinfo.c:
1847 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1849 2008-01-29 Alexander Larsson <alexl@redhat.com>
1851 * gdesktopappinfo.c:
1852 * gdesktopappinfo.h:
1853 giomodule-priv.h include moved to .c file.
1855 2008-01-29 Alexander Larsson <alexl@redhat.com>
1857 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1858 Remove unused prio/name fields.
1860 2008-01-29 Alexander Larsson <alexl@redhat.com>
1862 * gcontenttype.c (looks_like_text):
1863 Don't treat whitespace as control chars.
1865 2008-01-29 Alexander Larsson <alexl@redhat.com>
1867 * gdesktopappinfo.c:
1868 Lazily create the desktop files for appinfos created
1869 by g_app_info_create_from_commandline() when needed
1870 for mime associations. This allows run-time use
1871 of GAppInfo object without creating unnecessary
1874 2008-01-29 Alexander Larsson <alexl@redhat.com>
1877 Added new symbols to gio.symbols
1879 2008-01-29 Alexander Larsson <alexl@redhat.com>
1882 Add g_file_query_default_handler utility to easily look up
1883 the GAppInfo that handles a file.
1885 * gdesktopappinfo.[ch]:
1887 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1890 Remove unused function
1892 2008-01-29 Alexander Larsson <alexl@redhat.com>
1894 * gfileenumerator.c:
1895 Mention need to free returned value in
1896 g_file_enumerator_next_files_finish docs.
1897 Fix leak if g_file_enumerator_next_files_finish()
1900 2008-01-29 Alexander Larsson <alexl@redhat.com>
1903 (_g_unix_content_type_get_parents):
1904 Use list_parents, not get_parents from xdgmime, because
1905 the later doesn't use the cache.
1907 * xdgmime/xdgmimecache.c:
1908 (_xdg_mime_cache_list_mime_parents):
1909 Don't list the same type as parent multiple times.
1911 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1913 * === Released 2.15.4 ===
1915 2008-01-28 Alexander Larsson <alexl@redhat.com>
1918 Register local vfs with prio 0.
1921 Remove old name and prio class members
1923 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1925 * tests/g-file.c: Disable some tests that are failing in
1926 the absence of a http backend.
1928 2008-01-28 Alexander Larsson <alexl@redhat.com>
1932 Add registration hooks for extension points.
1933 Register the gio extension points.
1935 * fam/gfamdirectorymonitor.c:
1936 * fam/gfamfilemonitor.c:
1937 * glocaldirectorymonitor.[ch]:
1938 * glocalfilemonitor.[ch]:
1939 * gnativevolumemonitor.h:
1940 * gunionvolumemonitor.c:
1941 * gunixvolumemonitor.c:
1944 * inotify/ginotifydirectorymonitor.c:
1945 * inotify/ginotifyfilemonitor.c:
1946 Use the extension points registration instead
1947 of g_type_children().
1949 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1952 * gvolume.[hc]: Document new API.
1954 * gfile.c (g_file_copy_async): Fix docs
1956 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1958 * gbufferedinputstream.c:
1960 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1963 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1965 * glocalfile.c: Avoid trivial differences in translatable strings.
1967 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1969 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1970 build with gcc 3.4 (#509419)
1972 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1974 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1975 (#509994, Murray Cumming)
1977 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1979 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1980 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1981 this allows big jobs to be executed in chunks, instead of blocking
1982 the main loop for a long time.
1984 * gsimpleasyncresult.c:
1985 * giofile.c: Adapt callers.
1987 2008-01-25 Alexander Larsson <alexl@redhat.com>
1989 * gdesktopappinfo.c:
1990 Implement changes discussed on xdg list.
1991 Now we can add supported mimetypes by just using defaults.list
1992 We can also remove associations in defaults.list.
1994 2008-01-25 Alexander Larsson <alexl@redhat.com>
1996 * gdesktopappinfo.c:
1997 Don't make local copy of desktop file
1998 for mimetype changes if the file already
1999 supports the new mimetype.
2001 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2005 * gbufferedinputstream.c:
2006 * glocalfile.c: String improvements. (#511966,
2007 Theppitak Karoonboonyanan)
2009 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2011 * gioscheduler.h: Expand docs a bit.
2013 2008-01-24 Alexander Larsson <alexl@redhat.com>
2016 Add g_drive_get_identifier and
2017 g_drive_enumerate_identifiers
2020 Add g_volume_get_identifier and
2021 g_volume_enumerate_identifiers
2027 Implement identifiers for unix backend
2029 2008-01-24 Alexander Larsson <alexl@redhat.com>
2034 Add g_file_copy_async() (#511580)
2035 Based on patch from Carlos Garcia Campos
2037 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2039 * gioscheduler.c: Some documentation additions.
2041 2008-01-22 Alexander Larsson <alexl@redhat.com>
2043 * gdesktopappinfo.c:
2044 (g_desktop_app_info_new):
2045 Don't leak basename.
2047 2008-01-22 Alexander Larsson <alexl@redhat.com>
2049 * gdesktopappinfo.c:
2050 (g_desktop_app_info_new_from_filename):
2053 2008-01-22 Alexander Larsson <alexl@redhat.com>
2055 * glocalfileinfo.c (get_thumbnail_attributes):
2058 2008-01-22 Alexander Larsson <alexl@redhat.com>
2061 (canonicalize_filename):
2062 Canonicalize paths that start with more than
2066 (compare_two_files):
2067 (test_g_file_new_for_path):
2070 2008-01-22 Alexander Larsson <alexl@redhat.com>
2073 Allow UTF-8 in file:// parse names.
2075 * tests/Makefile.am:
2076 * tests/data-input-stream.c:
2077 * tests/data-output-stream.c:
2078 * tests/g-file-info.c:
2080 Added a bunch of tests from Tomas Bzatek
2082 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2084 * === Released 2.15.3 ===
2086 2008-01-21 Alexander Larsson <alexl@redhat.com>
2088 * gfileinputstream.[ch]:
2089 * gfileoutputstream.[ch]:
2091 Remove duplicated GSeekable functions. (#509990)
2092 Just use the g_seekable_xxx() calls instead.
2094 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2097 * gvolumemanager.c: Whitespace cleanups.
2099 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2100 Use the right mode when creating the file.
2102 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2104 * gfileenumerator.c:
2105 * gfileinputstream.c:
2107 * goutputstream.c: Documentation: Fixed minor typos
2108 and added more mentions of specific _finish() functions.
2110 2008-01-21 Alexander Larsson <alexl@redhat.com>
2112 * inotify/Makefile.am:
2113 * inotify/inotify-helper.c:
2114 * inotify/inotify-kernel.c:
2115 * inotify/inotify-path.c:
2116 * inotify/local_inotify.h: Removed.
2117 * inotify/local_inotify_syscalls.h: Removed.
2118 Removed the included copies of the inotify
2119 headers. We now only use the <sys/inotify.h>
2120 header which exists on modern systems.
2121 This fixes problems on ARM and SH5 (#510448)
2122 but is also generally much cleaner and future
2123 safe. For instance, if other OSes add support
2124 for inotify it should "just work".
2126 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2128 * inotify/*.c: Coding style fixes.
2129 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2130 for the 1/4 Hz timer.
2132 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2135 * gfilemonitor.[hc]:
2136 * gmemoryinputstream.c:
2137 * gmemoryoutputstream.c:
2138 * gmountoperation.c:
2139 * gthemedicon.c: Documentation updates
2141 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2143 * gfile.c: documentation: Fixed more minor
2146 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2148 * gmount.c: (g_mount_remount): documentation:
2149 Mention g_mount_remount_finish() instead of
2150 g_mount_unmount_finish().
2152 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2156 * gfile.c: Fixed some minor typos in the
2159 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2161 * gio/gvolumemonitor.c:
2162 (g_volume_monitor_get_connected_drives):
2163 (g_volume_monitor_get_volumes):
2164 (g_volume_monitor_get_mounts): Documentation:
2165 Clarify the ownership of the regurn GLists.
2167 2008-01-17 Alexander Larsson <alexl@redhat.com>
2170 Add the async find_enclosing_mount version
2171 to the header file too.
2173 2008-01-17 Alexander Larsson <alexl@redhat.com>
2176 Add async version of find_enclosing_mount
2177 with default implementation.
2179 2008-01-17 Alexander Larsson <alexl@redhat.com>
2184 Allow calls to implementation of copy and write
2185 even if the type of the file implementations is
2186 different. This can be used to implement native
2187 upload and download calls in a vfs.
2190 (g_local_file_move):
2191 Protect against the case where move is called
2192 with one file not being local.
2194 Make sure we call the progress callback once
2195 in the native move operation so that the caller
2196 knows how many bytes were copied.
2198 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2201 * gdatainputstream.c:
2203 * gfileoutputstream.c:
2208 * gunixmounts.c: Corrected some typos in the documentation:
2209 occured -> occurred.
2210 its -> it's (where appropriate).
2212 2008-01-16 Alexander Larsson <alexl@redhat.com>
2216 Add g_file_query_exists (#508771)
2218 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2223 * gvolume.c: For async functions that have no non-async
2224 version, document that the GAsyncReadyCallback may be NULL.
2227 2008-01-15 Alexander Larsson <alexl@redhat.com>
2229 * gmemoryinputstream.c:
2230 * gmemoryoutputstream.c:
2231 Don't do pointer arithmetic on void * (#508602)
2232 Patch from Kazuki IWAMOTO
2234 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2236 * === Released 2.15.2 ===
2238 2008-01-14 Alexander Larsson <alexl@redhat.com>
2240 * gfile.c (g_file_monitor_file):
2241 Don't set error here, since we fallback to polling monitor.
2243 2008-01-14 Alexander Larsson <alexl@redhat.com>
2246 (g_file_monitor_directory):
2247 (g_file_monitor_file):
2248 Add GError to file monitor calls
2250 * glocaldirectorymonitor.c:
2251 * glocaldirectorymonitor.h:
2253 * glocalfilemonitor.c:
2254 * glocalfilemonitor.h:
2256 Update for above change
2258 2008-01-14 Alexander Larsson <alexl@redhat.com>
2262 Handle root correctly in g_file_get_relative_path (#508719)
2264 2008-01-14 Alexander Larsson <alexl@redhat.com>
2267 Clean up docs and example for GAsyncResult (#508074)
2269 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2271 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2272 and correct some spelling mistakes. Bug #508108.
2274 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2276 * glocalfileinfo.c: Add a comment.
2278 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2280 * gfileinfo.c: GFileInfo description: Mention
2281 how to actually set attributes in a GFile and how to discover
2282 which attributes are settable. Bug #508378.
2284 2008-01-10 A. Walton <awalton@svn.gnome.org>
2286 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2287 (g_app_info_get_default_for_type):
2288 Check for NULL content types.
2290 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2292 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2294 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2296 * gfile.c: *_async() functions: Several small corrections
2297 to the documentation, mostly correcting copy/paste errors
2298 and improving some sentences.
2300 2008-01-09 Dan Winship <danw@gnome.org>
2302 * glocalfile.c (get_unique_filename): x86_64 fix
2304 2008-01-09 Alexander Larsson <alexl@redhat.com>
2309 Add g_unix_mount_guess_should_display and use
2310 for unix volume monitor backend.
2311 This means we more or less show what the
2312 gnome-vfs backend did.
2313 Based on patch from Padraig O'Briain
2315 2008-01-09 Alexander Larsson <alexl@redhat.com>
2319 Add g_themed_icon_new_with_default_fallbacks
2322 Use default fallbacks for icons
2324 2008-01-09 Alexander Larsson <alexl@redhat.com>
2327 * gmountoperation.[ch]:
2328 Change the API a bit so that unhandled methods
2329 get reported via the reply, rather than by
2330 the signal emission return value. This is because
2331 some handlers can't know this immediately without
2332 doing I/O, and this is an async operation that
2335 2008-01-09 Alexander Larsson <alexl@redhat.com>
2338 * fam/gfamdirectorymonitor.c:
2339 * fam/gfamfilemonitor.c:
2340 Fix double free crash (#508224)
2341 Patch from Joe Marcus Clarke
2343 008-01-07 Matthias Clasen <mclasen@redhat.com>
2345 * === Released 2.15.1 ===
2347 2008-01-07 Alexander Larsson <alexl@redhat.com>
2349 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2350 Fix warning (#507835)
2352 2008-01-07 Alexander Larsson <alexl@redhat.com>
2355 Pass --internal to glib-genmarshal
2358 * gmountoperation.c:
2360 Use better types for signal arguments (#507822)
2362 2008-01-07 Alexander Larsson <alexl@redhat.com>
2365 Build test subdir after .
2366 Remove gdirectorymonitor.[ch]
2368 * gdirectorymonitor.[ch]:
2372 Remove GDirectoryMonitor and make
2373 GFileMonitor the baseclass for both file and
2374 directory monitors. Lift the more generic
2375 rate limiting code from GDirectoryMonitor
2379 * fam/gfamdirectorymonitor.[ch]:
2380 * inotify/ginotifydirectorymonitor.[ch]:
2381 * inotify/inotify-helper.c:
2382 * glocaldirectorymonitor.[ch]:
2385 Update for the removed GDirectoryMonitor.
2387 * gmemoryoutputstream.c:
2388 Remove ununsed variable
2390 2008-01-07 Alexander Larsson <alexl@redhat.com>
2392 * gmemoryinputstream.c:
2393 Translate error strings
2396 * gmemoryoutputstream.[ch]:
2397 New implementation that avoids using GByteArray
2398 in implementation and API. (#506377)
2400 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2402 * tests/*: Add a test for memory input streams.
2404 * Makefile.am: Add tests to SUBDIRS.
2406 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2408 * glocalfilemonitor.c:
2409 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2412 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2414 * gdesktopappinfo.c: Fix a docs typo.
2416 * gfileattribute.c: Add information about extended attributes
2417 to the documentation. (#505058)
2419 2008-01-04 Alexander Larsson <alexl@redhat.com>
2422 * gmountoperation.c:
2423 Use the right type (uint) for the ask_password signal.
2425 2008-01-04 Alexander Larsson <alexl@redhat.com>
2430 Add g_app_info_supports_files()
2431 Remove desktop arg from g_app_info_should_show().
2433 * gdesktopappinfo.[ch]:
2434 Implement g_app_info_supports_files() and new should_show()
2435 Add g_desktop_app_info_set_desktop_env() to set the desktop
2436 for should_show(). (This will be set by gtk+ later)
2438 2008-01-04 Alexander Larsson <alexl@redhat.com>
2441 * gmemoryinputstream.[ch]:
2442 Improve API so that you can use multiple chunks
2443 of memory and custom destroy functions. (#506374)
2445 2008-01-03 Alexander Larsson <alexl@redhat.com>
2448 Handle NULL attribute matchers safely, as we return this
2449 for empty attribute matcher strings.
2451 2008-01-03 Alexander Larsson <alexl@redhat.com>
2453 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2454 Add /usr/local to list of internal mountpoints
2456 2008-01-03 Alexander Larsson <alexl@redhat.com>
2459 Check for HAVE_LCHOWN (#505887)
2461 2008-01-03 Alexander Larsson <alexl@redhat.com>
2465 Add define for selinux context attribute.
2466 Fix missing : -> :: namespace separator change
2467 Fix missing _ -> - name change for xattr-sys.
2470 2008-01-03 Alexander Larsson <alexl@redhat.com>
2473 Link to libglib and libgobject directly (#504879)
2474 Patch from Sebastien Bacher
2476 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2478 * gfile.c: Expanded the g_file_new_for_commandline_arg
2479 description a bit, based on the code and the docs of the
2480 other g_file_new_for_* functions.
2482 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2484 * gfilemonitor.h: Fixed typo in docs.
2486 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2488 Updates to GIO documentation. (#506395, Mikael Hermansson)
2490 * gcontenttype.c: Describe memory management for return value of
2491 g_content_types_get_registered(). Missing piece from #505815.
2492 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2493 GVolume, GDrive, GMounts, which hopefully gives the user less
2494 confusions when using this API. Following explainations from
2495 Alexander Larsson on gtk-devel-list.
2497 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2499 * gfileinfo.c: Expand the long description.
2501 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2504 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2505 fix builds with --disable-visibility. (#500273, Christian Persch)
2507 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2509 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2510 in the list of returned app infos.
2512 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2514 * gappinfo.c: Fix a cross-reference
2516 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2518 * gfileinputstream.c:
2519 * gfileoutputstream.c:
2523 * gdesktopappinfo.c:
2525 * gfileinfo.c: Documentation updates.
2527 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2529 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2532 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2534 * gcontenttype.c (g_content_types_get_registered): Don't return
2535 freed memory (#505815, Mikael Hermansson)
2537 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2539 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2540 used to detect statbuf->st_blocks. (#505042)
2542 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2544 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2545 environment handling. (#504829, Cosimo Cecchi)
2547 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2549 * gappinfo.c: Doc improvements
2551 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2554 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2556 * === Released 2.15.0 ===
2558 2007-12-20 Hans Breuer <hans@breuer.org>
2560 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2561 with symbols gwin32appinfo.obj, added gmount.obj
2562 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2564 2007-12-20 Alexander Larsson <alexl@redhat.com>
2570 * gfilenamecompleter.c:
2573 * gpollfilemonitor.c:
2574 File attribute renames:
2576 fs:: -> filesystem::
2577 id::fs -> id::filesystem
2579 2007-12-20 Alexander Larsson <alexl@redhat.com>
2588 Add GMountUnmountFlags to all unmount and
2590 Add g_mount_remount() call.
2592 2007-12-20 Alexander Larsson <alexl@redhat.com>
2594 * gvfs.c (get_default_vfs):
2595 Fix unused variable warning
2597 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2599 * pltcheck.sh: Update
2601 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2603 * gunionvolumemonitor.c:
2604 * gunixmount.c: Remove C99 comments
2606 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2608 * gio.symbols: Add some missing symbols
2610 2007-12-19 Alexander Larsson <alexl@redhat.com>
2613 Make g_io_modules_load_all_in_directory not unuse
2614 loaded modules so that users of it can do stuff
2616 Init internal "module" types.
2617 Initialize static prio and name for types so that
2618 we don't have to load modules to get it.
2620 * gnativevolumemonitor.h:
2622 Move is_supported to parent class so that
2623 non-native monitors can avoid being initialized
2624 too. (For instance GDaemonVolumeMonitor if we're
2625 not using GDaemonVfs.)
2627 * glocaldirectorymonitor.[ch]:
2628 * glocalfilemonitor.[ch]:
2629 * gunionvolumemonitor.c:
2630 * gunixvolumemonitor.c:
2632 Find plugins using the static prio+name to
2633 avoid unnecessarily loading the modules.
2635 2007-12-19 Alexander Larsson <alexl@redhat.com>
2640 2007-12-19 Alexander Larsson <alexl@redhat.com>
2642 * gunionvolumemonitor.c:
2643 Store the native type as GType, not class so that
2644 we can unload it. But still avoid unnecessarily
2647 2007-12-19 David Zeuthen <davidz@redhat.com>
2649 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2650 add signals 'disconnected' and 'eject-button' on GDrive. Add
2651 signal 'removed' on GVolume and 'unmounted' on GMount.
2653 * gdrive.c: (g_drive_base_init):
2655 * gfile.c: (g_file_mount_mountable),
2656 (g_file_mount_enclosing_volume):
2659 * gmount.c: (g_mount_base_init):
2661 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2662 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2663 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2667 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2669 * *.c: Fix up includes in the section docs.
2671 2007-12-17 Alexander Larsson <alexl@redhat.com>
2673 * gnativevolumemonitor.h:
2674 * gunionvolumemonitor.c:
2675 * gunixvolumemonitor.c:
2676 Add is_supported() to GNativeVolumeMonitorClass so
2677 that we can avoid having to create an object to see
2678 if the backend is supported at runtime.
2679 Also add name member and an env var to pick a specific
2680 volume monitor backend.
2684 Add cancellable to _g_mount_get_for_mount_path()
2686 * glocaldirectorymonitor.c:
2687 * glocalfilemonitor.c:
2688 Avoid loading and unloading modules while sorting.
2690 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2693 * gunixmounts.[hc]: Namespace waste reduction, move some
2694 g_get_unix_mount functions to the g_unix_mount namespace.
2697 * gunixvolumemonitor.c:
2699 * glocaldirectorymonitor.c: Update all callers.
2701 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2703 2007-12-17 Alexander Larsson <alexl@redhat.com>
2706 Add doc comments about what GFile operations are
2707 guaranteed to not block.
2709 2007-12-17 Alexander Larsson <alexl@redhat.com>
2712 Add missing #ifdef fixing OSX build.
2713 (#503334, patch from Richard Hult)
2715 2007-12-14 David Zeuthen <davidz@redhat.com>
2719 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2720 (g_mount_eject), (g_mount_eject_finish):
2722 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2723 (get_volume_for_uuid), (get_mount_for_uuid),
2724 (g_union_volume_monitor_class_init),
2725 (get_default_native_type_with_exclude), (get_default_native_type),
2726 (get_native_type), (update_native_type),
2727 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2728 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2729 (g_unix_mount_can_eject), (eject_unmount_cb),
2730 (eject_unmount_read_error), (eject_unmount_do),
2731 (g_unix_mount_unmount), (g_unix_mount_eject),
2732 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2733 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2734 (g_unix_mount_point_guess_can_eject):
2736 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2737 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2738 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2739 (g_unix_volume_mount), (g_unix_volume_eject),
2740 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2741 * gunixvolumemonitor.c: (get_volume_for_uuid),
2742 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2744 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2745 (g_volume_eject), (g_volume_eject_finish):
2747 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2748 (g_volume_monitor_get_mount_for_uuid):
2751 Provide eject() on both GMount and GVolume and utility functions
2752 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2753 ejected. Introduce the concept of UUID's and wire it into GVolume
2754 and GMount and provide API on GVolumeMonitor to find such
2755 instances. Also handle the case where an external
2756 GNativeVolumeMonitor fails to initialize. Lock around the
2757 _g_get_mount_for_mount_path() function such that volume monitor
2758 implementations won't have to do locking themselves.
2760 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2762 * gdesktopappinfo.c:
2768 * gvolume.h: Documentation updates
2770 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2773 * gfile.h: Doc updates
2775 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2778 * gdesktopappinfo.c: Use hash table iterators.
2780 2007-12-14 Alexander Larsson <alexl@redhat.com>
2783 * gfileattribute.[ch]:
2784 * gfileattribute-priv.h:
2785 Move GFileAttributeValue to a private header, as
2789 Make set_attribute take a type + a pointer instead
2790 of a GFileAttributeValue.
2793 Fix up for above changes.
2794 Add g_file_info_get_attribute_data to get
2795 all info in one call, g_file_info_get_attribute_status
2796 to get the status and g_file_info_get_attribute_as_string.
2800 * glocalfileinfo.[ch]:
2804 Make _guess_type static.
2806 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2809 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2810 made mkenums and friends use temporary files to avoid leaving
2811 empty generated files on failure (#503470).
2813 2007-12-14 Alexander Larsson <alexl@redhat.com>
2815 * gmountoperation.h:
2818 2007-12-14 Alexander Larsson <alexl@redhat.com>
2822 * gfileattribute.[ch]:
2825 * glocalfileoutputstream.c:
2826 * gmountoperation.[ch]:
2827 * goutputstream.[ch]:
2828 Clean up all flags enums to not have _FLAGS in them
2829 Make the names of some of the enums better.
2834 2007-12-14 Michael Natterer <mitch@imendio.com>
2836 * gio.symbols: fix g_io_scheduler symbol names.
2838 2007-12-14 Alexander Larsson <alexl@redhat.com>
2844 * gbufferedinputstream.h:
2845 * gbufferedoutputstream.h:
2848 * gdatainputstream.h:
2849 * gdataoutputstream.h:
2850 * gdesktopappinfo.h:
2851 * gdirectorymonitor.h:
2855 * gfileenumerator.h:
2858 * gfileinputstream.h:
2860 * gfilenamecompleter.h:
2861 * gfileoutputstream.h:
2862 * gfilterinputstream.h:
2863 * gfilteroutputstream.h:
2871 * gmemoryinputstream.h:
2872 * gmemoryoutputstream.h:
2874 * gmountoperation.h:
2877 * gsimpleasyncresult.h:
2879 * gunixinputstream.h:
2881 * gunixoutputstream.h:
2885 * inotify/Makefile.am:
2886 Only allow including <gio/gio.h> from apps
2888 2007-12-14 Alexander Larsson <alexl@redhat.com>
2890 * gioscheduler.[ch]:
2891 * gsimpleasyncresult.c:
2892 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2893 Split out the send_to_mainloop call into two versions instead
2894 of having the block argument.
2896 2007-12-13 Alexander Larsson <alexl@redhat.com>
2898 * gcancellable.[ch]:
2900 * gbufferedinputstream.c:
2901 * gfileenumerator.c:
2902 * gfileinputstream.c:
2903 * gfileoutputstream.c:
2907 g_push/pop_current_cancellable ->
2908 g_cancellable_push/pop_current
2910 2007-12-13 Alexander Larsson <alexl@redhat.com>
2914 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2916 2007-12-13 Alexander Larsson <alexl@redhat.com>
2918 * gmountoperation.h:
2919 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2921 2007-12-12 Alexander Larsson <alexl@redhat.com>
2924 Fix race condition when freeing proxy in
2925 g_io_job_send_to_mainloop().
2927 2007-12-12 Alexander Larsson <alexl@redhat.com>
2933 Make attribute namespace separator "::" instead of ":".
2934 Use - instead of _ as separator in attribute names.
2936 2007-12-12 Alexander Larsson <alexl@redhat.com>
2938 * gbufferedinputstream.h:
2939 * gbufferedoutputstream.h:
2940 * gdatainputstream.h:
2941 * gdataoutputstream.h:
2942 * gdirectorymonitor.h:
2943 * gfileenumerator.h:
2944 * gfileinputstream.h:
2946 * gfileoutputstream.h:
2947 * gfilterinputstream.h:
2948 * gfilteroutputstream.h:
2950 * glocalfileinputstream.h:
2951 * glocalfileoutputstream.h:
2952 * gmemoryinputstream.h:
2953 * gmemoryoutputstream.h:
2954 * gnativevolumemonitor.h:
2956 * gunixinputstream.h:
2957 * gunixoutputstream.h:
2960 s/parent/parent_instance/ in GObjects
2962 2007-12-12 Alexander Larsson <alexl@redhat.com>
2967 No need for padding for interfaces
2969 2007-12-12 Alexander Larsson <alexl@redhat.com>
2973 * gbufferedinputstream.c:
2974 * gbufferedoutputstream.c:
2977 * gdatainputstream.[ch]:
2978 * gdesktopappinfo.c:
2979 * gdirectorymonitor.c:
2981 * gfileattribute.[ch]:
2984 * gfileinputstream.h:
2985 * gfilemonitor.[ch]:
2986 * gfileoutputstream.[ch]:
2987 * gfilterinputstream.h:
2988 * gfilteroutputstream.h:
2991 * gloadableicon.[ch]:
2992 * gmemoryinputstream.c:
2993 * gmountoperation.c:
2995 Fix up a bunch of details in the docs.
3000 2007-12-11 David Zeuthen <davidz@redhat.com>
3002 Rework how volumes, drives and volume monitoring is
3003 done. Previosly the model was
3005 GDrive <1-1> GVolume
3007 where a GDrive instance represented a mount point and a GVolume
3008 instance represented a mounted file system. This patch changes it
3011 GDrive <1-N> GVolume <1-1> GMount
3013 where GMount now serves the purpose of the old GVolume and the new
3014 GVolume serves the purpose of the old GDrive. In addition the new
3015 GDrive interface is used to represent a collection of GVolume
3016 instances (typically partitions) and also contains utility to query
3017 the state of the physical drive the GDrive object represents (such
3018 as checking for media, polling the drive, ejecting the media etc.).
3020 Also implement mounting and unmounting in the Unix volume monitor
3021 backend. A subquent patch will introduce GDrive support for ejection
3025 * gdrive.c: (g_drive_is_media_check_automatic),
3026 (g_drive_is_media_removable), (g_drive_has_media),
3027 (g_drive_can_poll_for_media), (g_drive_eject),
3028 (g_drive_eject_finish), (g_drive_poll_for_media),
3029 (g_drive_poll_for_media_finish):
3031 * gfile.c: (g_file_find_enclosing_mount):
3034 * glocaldirectorymonitor.c:
3035 (g_local_directory_monitor_constructor), (mounts_changed):
3036 * glocalfile.c: (get_mount_info),
3037 (g_local_file_find_enclosing_mount),
3038 (g_local_file_file_iface_init):
3039 * gnativevolumemonitor.h:
3040 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3041 (get_connected_drives), (g_union_volume_monitor_class_init),
3042 (child_volume_added), (child_volume_removed),
3043 (child_volume_changed), (child_mount_added), (child_mount_removed),
3044 (child_mount_pre_unmount), (child_mount_changed),
3045 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3046 (g_union_volume_monitor_remove_monitor),
3047 (_g_mount_get_for_mount_path):
3048 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3049 (guess_system_internal), (_g_get_unix_mounts),
3050 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3051 (g_unix_mount_free), (g_unix_mount_compare),
3052 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3053 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3054 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3055 (type_to_icon), (g_unix_mount_guess_name),
3056 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3057 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3058 (_resolve_symlink), (_resolve_dev_root):
3060 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3061 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3062 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3063 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3064 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3065 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3066 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3067 (g_unix_volume_volume_iface_init):
3069 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3070 (get_mounts), (get_volumes), (get_connected_drives),
3071 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3072 (mountpoints_changed), (mounts_changed),
3073 (g_unix_volume_monitor_init),
3074 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3075 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3076 * gunixvolumemonitor.h:
3077 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3078 (g_volume_mount), (g_volume_mount_finish):
3080 * gvolumemonitor.c: (g_volume_monitor_class_init),
3081 (g_volume_monitor_get_connected_drives),
3082 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3085 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3087 * gmountoperation.h (GPasswordFlags): Close the gap
3089 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3091 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3093 * gdesktopappinfo.[hc]: Remove _-prefixes
3095 2007-12-10 Tor Lillqvist <tml@novell.com>
3097 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3100 2007-12-10 Alexander Larsson <alexl@redhat.com>
3102 * gfile.c (g_file_set_display_name):
3103 Don't hardcode '/' (#502727)
3105 2007-12-09 Hans Breuer <hans@breuer.org>
3107 * makefile.msc : follow lib naming convention
3108 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3109 for user and group name, tested with ../tests/gio-ls
3111 2007-12-09 A. Walton <awalton@svn.gnome.org>
3113 * gdesktopappinfo.c:
3119 * gfileenumerator.c:
3124 * gmemoryinputstream.c:
3125 * gmemoryoutputstream.c:
3127 * gsimpleasyncresult.c:
3128 More documentation cleanup and filling in missing information, bringing
3129 GIO to 99% symbol coverage.
3131 2007-12-08 Hans Breuer <hans@breuer.org>
3133 [gio compiles and links on win32, not sure how much already works]
3134 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3135 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3136 base on win32 API; prefer g_lstat() over lstat(); instead of
3137 localtime_r() use an all GLib implementation on win32;
3138 get_mount_info() still needs a win32 specifc implementation
3139 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3140 win32_get_file_user_info to get owner/group info without uid/gid
3141 * glocalfileinputstream.c : include <io.h> on win32
3142 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3143 definition, use g_win32_ftruncate() for G_OS_WIN32
3144 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3145 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3146 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3147 * makefile.msc : updated
3149 2007-12-07 Alexander Larsson <alexl@redhat.com>
3151 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3152 Avoid warning spew if error == NULL
3154 2007-12-07 Alexander Larsson <alexl@redhat.com>
3157 Update docs wrt etags
3159 2007-12-06 Alexander Larsson <alexl@redhat.com>
3162 Include sys/types.h for dev_t (#501919)
3164 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3168 Make abicheck and pltcheck pass.
3170 2007-12-05 Alexander Larsson <alexl@redhat.com>
3173 * giomodule-priv.h: Added.
3174 * glocaldirectorymonitor.c:
3175 * glocalfilemonitor.c:
3176 * gunionvolumemonitor.c:
3178 Actually add the declaration of _g_io_modules_ensure_loaded
3180 2007-12-05 Alexander Larsson <alexl@redhat.com>
3182 * gdatainputstream.c:
3187 * glocaldirectorymonitor.c:
3188 * glocalfilemonitor.c:
3189 * gunionvolumemonitor.c:
3191 Make g_io_modules_ensure_loaded a private function and
3192 don't pass in the dirname. This means we can do magic
3193 directory finding in the win32 version.
3194 Export the actual load-modules-in-directory code so that
3195 gvfs can reuse that.
3197 2007-12-05 Alexander Larsson <alexl@redhat.com>
3199 * gbufferedinputstream.c:
3200 * gbufferedoutputstream.c:
3203 * gfileenumerator.[ch]:
3204 * gfileinputstream.c:
3205 * gfileoutputstream.[ch]:
3206 * gfilterinputstream.c:
3207 * gfilteroutputstream.c:
3208 * ginputstream.[ch]:
3210 * glocalfileenumerator.c:
3211 * glocalfileinputstream.c:
3212 * glocalfileoutputstream.c:
3213 * gmemoryinputstream.c:
3214 * gmemoryoutputstream.c:
3215 * goutputstream.[ch]:
3218 * gunixinputstream.c:
3219 * gunixoutputstream.c:
3220 Rename all struct members named:
3221 read, write, close, truncate, or mount
3222 to foo_fn, as these are reserved names
3223 and could be defined as macros in libc.
3226 2007-12-04 Alexander Larsson <alexl@redhat.com>
3229 (g_output_stream_close):
3230 Only call flush if non-null.
3232 2007-11-30 Dan Winship <danw@gnome.org>
3234 * ginputstream.c (g_input_stream_set_pending): Make this take a
3235 GError and return a gboolean, and do the "outstanding operation"
3236 check (and the "stream is already closed" check) itself.
3237 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3239 * goutputstream.c (g_output_stream_set_pending)
3240 (g_output_stream_clear_pending): Likewise
3242 * gbufferedinputstream.c:
3243 * gfileinputstream.c:
3244 * gfileoutputstream.c: Update for that
3246 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3247 Like g_simple_async_report_error_in_idle, but takes a GError
3248 rather than building one.
3250 2007-11-30 Dan Winship <danw@gnome.org>
3252 * goutputstream.c: Don't cheat and unset the "pending" flag around
3253 inner calls. Instead, call the class method directly rather than
3254 the wrapper function that checks "pending"
3256 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3258 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3260 2007-12-03 Hans Breuer <hans@breuer.org>
3262 [start of port to win32/msvc]
3263 * gcancellable.c : HAVE_UNIST_H and _pipe()
3264 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3265 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3266 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3268 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3269 * glocalvfs.c : use HAVE_PWD_H
3270 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3271 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3272 * Makefile.am : added to EXTRA_DIST
3274 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3276 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3279 2007-12-03 Alexander Larsson <alexl@redhat.com>
3282 Handle OSX style xattrs API (#500506)
3284 2007-12-03 Alexander Larsson <alexl@redhat.com>
3288 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3290 2007-12-02 A. Walton <awalton@svn.gnome.org>
3294 Documentation accuracy fixes.
3296 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3298 * gioenumtypes.c.template: Fix typo.
3300 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3302 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3304 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3306 * gdirectorymonitor.c:
3307 * gfilemonitor.c: Add properties
3309 * gbufferedoutputstream.c: Don't mark buffer-size property
3312 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3314 * gbufferedoutputstream.c: Add auto-grow property.
3316 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3318 * *.c: Unify the capitalization of section headings.
3320 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3322 * gmountoperation.c: Add properties
3324 * gdatainputstream.c: Turn byte-order and newline-type into
3327 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3329 * gioenumtypes.[hc].template: Templates for enum registration
3331 * Makefile.am: Generate gioenumtypes.[hc]
3333 * gio.h: Include gioenumtypes.h
3335 * gfile.h: Add some explicit nicks.
3337 * gio.symbols: Add new symbols
3339 * pltcheck.sh: Adjust
3341 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3343 * *.c: Explain etags and link to the explanation
3345 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3347 * *.c: Explain I/O priority.
3349 * *.c: More coding style fixes.
3351 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3353 * gasyncresult.c: Add another paragraph to the intro,
3354 adjust coding style of example.
3356 2007-11-29 A. Walton <awalton@svn.gnome.org>
3359 Fixes unknown meaning in GAppLaunchContext docs.
3361 Clarify asynchronous ops.
3363 Fix entity tag docs.
3366 Provides missing gtk-doc section, fixes API docs slighly.
3367 * gsimpleasyncresult.c:
3368 Fill in missing info in docs.
3369 * gunixinputstream.c:
3370 * gunixoutputstream.c:
3371 Be more expressive in short description.
3373 Remove gtk-doc stubs for non-public API.
3375 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3377 * *.c: Coding style fixups
3379 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3381 * inotify/inotify-helper.c: Don't export the lock from libgio.
3383 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3386 * abicheck.sh: Fix copy-and-paste leftovers
3388 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3390 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3392 2007-11-28 Alexander Larsson <alexl@redhat.com>
3396 Removed unnecessary file
3398 * gdesktopappinfo.[ch]:
3401 * glocaldirectorymonitor.[ch]:
3403 * glocalfileenumerator.[ch]:
3404 * glocalfileinputstream.[ch]:
3405 * glocalfilemonitor.[ch]:
3406 * glocalfileoutputstream.[ch]:
3408 * gnativevolumemonitor.c:
3409 * gpollfilemonitor.[ch]:
3410 * gunionvolumemonitor.[ch]:
3413 * gunixvolumemonitor.[ch]:
3416 * inotify/ginotifydirectorymonitor.[ch]:
3417 * inotify/ginotifyfilemonitor.[ch]:
3418 * inotify/inotify-helper.c:
3419 Append _ to all internal functions
3423 Export symbols needed for modules
3425 2007-11-28 Alexander Larsson <alexl@redhat.com>
3428 * abicheck.sh: Added.
3429 * makegioalias.pl: Added.
3430 * pltcheck.sh: Added.
3431 * gio.symbols: Added.
3434 Initial work on adding symbol handling.
3437 Correct ifdef guard name
3440 * inotify/Makefile.am:
3441 * xdgmime/Makefile.am:
3442 Include toplevel Makefile.decl
3444 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3446 * gcontenttype.c: Move doc comments to the unix section.
3448 * *.[hc]: More trivial doc corrections.
3450 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3452 * gpollfilemonitor.c:
3456 * gdesktopappinfo.c:
3461 * gdatainputstream.c:
3462 * gdatainputstream.h:
3463 * gdataoutputstream.c:
3464 * gdataoutputstream.h:
3465 * gfileinfo.h: Doc cleanups
3467 2007-11-28 Andre Klapper <a9016009@gmx.de>
3469 * gdesktopappinfo.c: Fix a typo.
3471 2007-11-27 Andre Klapper <a9016009@gmx.de>
3473 * glocalfileoutputstream.c: Fix a typo.
3475 2007-11-27 Alexander Larsson <alexl@redhat.com>
3478 Don't include removed headers
3480 2007-11-27 Alexander Larsson <alexl@redhat.com>
3483 * gsocketinputstream.[ch]: Removed.
3484 * gsocketoutputstream.[ch]: Removed.
3485 * gunixinputstream.[ch]: Added.
3486 * gunixoutputstream.[ch]: Added.
3487 Renamed GSocket*Stream to GUnix*Stream and made
3488 it unix-only, since its not really only for sockets
3489 and it only works on unix (but is highly useful there).
3491 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3497 * gbufferedinputstream.c:
3498 * gbufferedinputstream.h:
3499 * gbufferedoutputstream.c:
3500 * gbufferedoutputstream.h:
3504 * gdatainputstream.c:
3505 * gdatainputstream.h:
3506 * gdataoutputstream.c:
3507 * gdataoutputstream.h:
3508 * gdirectorymonitor.c:
3509 * gdirectorymonitor.h:
3516 * gfileenumerator.c:
3517 * gfileenumerator.h:
3522 * gfileinputstream.c:
3523 * gfileinputstream.h:
3526 * gfilenamecompleter.c:
3527 * gfilenamecompleter.h:
3528 * gfileoutputstream.c:
3529 * gfileoutputstream.h:
3530 * gfilterinputstream.c:
3531 * gfilterinputstream.h:
3532 * gfilteroutputstream.c:
3533 * gfilteroutputstream.h:
3546 * glocalfileoutputstream.c:
3547 * gmemoryinputstream.c:
3548 * gmemoryinputstream.h:
3549 * gmemoryoutputstream.c:
3550 * gmemoryoutputstream.h:
3551 * gmountoperation.c:
3552 * gmountoperation.h:
3555 * gpollfilemonitor.c:
3558 * gsimpleasyncresult.c:
3559 * gsimpleasyncresult.h:
3560 * gsocketinputstream.c:
3561 * gsocketinputstream.h:
3562 * gsocketoutputstream.c:
3563 * gsocketoutputstream.h:
3570 * gunixvolumemonitor.c:
3579 Bumps documentation to 93% symbol coverage, touching most
3580 of the public files. Fixes broken function documentation prototypes.
3581 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3582 gtk-doc headers in private files.
3584 2007-11-27 Jürg Billeter <j@bitron.ch>
3586 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3587 (g_buffered_input_stream_read_byte):
3588 * gbufferedinputstream.h:
3589 New functions for efficient access to buffer and simple single byte
3592 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3593 (g_data_input_stream_read_until):
3594 * gdatainputstream.h:
3595 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3596 read_until with multiple stop chars.
3598 2007-11-27 Alexander Larsson <alexl@redhat.com>
3602 * inotify/Makefile.am:
3603 Use the user-specified giomoduledir
3605 2007-11-27 Alexander Larsson <alexl@redhat.com>
3609 Add catch-all gio.h header
3610 Don't install gdummyfile.h
3612 2007-11-26 Alexander Larsson <alexl@redhat.com>
3614 * Makefile.am (gioinclude_HEADERS):
3615 Remove trailing whitespace
3617 2007-11-26 Alexander Larsson <alexl@redhat.com>
3619 Merge gio-standalone into glib
3621 2007-11-25 Christian Kellner <gicmo@gnome.org>
3623 * gio/goutputstream.c:
3624 Fix small mistake in the docs.
3626 2007-11-21 Christian Persch <chpe@gnome.org>
3628 * gio/glocalfile.c: (g_local_file_trash):
3629 Convert filenames to UTF-8 for GError.
3630 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3631 as per xdg base dir spec.
3633 2007-11-21 Christian Persch <chpe@gnome.org>
3635 * gio/gdesktopappinfo.c:
3636 Use that g_key_file_to_data cannot fail.
3638 Use stock defines for the key file group and key names.
3641 2007-11-21 Alexander Larsson <alexl@redhat.com>
3644 (copy_stream_with_progress):
3645 Make sure we do a final progress callback with
3646 the full total size.
3648 2007-11-21 Alexander Larsson <alexl@redhat.com>
3651 Export g_file_copy_attributes
3652 Remove padding as its not needed for interfaces
3654 2007-11-20 Alexander Larsson <alexl@redhat.com>
3659 Add G_IO_ERROR_WOULD_MERGE for
3660 copy/move dir on dir with overwrite.
3662 2007-11-20 Alexander Larsson <alexl@redhat.com>
3665 * gio/glocalfileinfo.c:
3666 Add COPY_NAME (this is an optional
3667 non-modified utf8 version of the name) that
3670 2007-11-20 Alexander Larsson <alexl@redhat.com>
3672 * gio/glocalfileenumerator.c:
3673 Report errors as GIOError, not GFileError
3675 2007-11-16 Alexander Larsson <alexl@redhat.com>
3677 * gio/glocalfileoutputstream.c:
3678 * gio/gwin32appinfo.c:
3679 Fix typos in strings.
3680 Patch from Luca Ferretti <elle.uca@libero.it>
3682 2007-11-15 Alexander Larsson <alexl@redhat.com>
3685 Post release version bump
3687 === gio-standalone 0.1.2 ===
3689 2007-11-15 Alexander Larsson <alexl@redhat.com>
3691 * docs/reference/gio/Makefile.am:
3692 Fix up distcheck by removing weird
3698 2007-11-14 Alexander Larsson <alexl@redhat.com>
3700 * gio/gdesktopappinfo.c:
3701 * gio/glocaldirectorymonitor.c:
3703 * gio/glocalfileinfo.c:
3704 * gio/inotify/inotify-sub.c:
3705 * programs/gio-cat.c:
3706 * programs/gio-copy.c:
3707 * programs/gio-info.c:
3708 * programs/gio-ls.c:
3709 * programs/gio-monitor-dir.c:
3710 * programs/gio-monitor-file.c:
3711 * programs/gio-mount.c:
3712 * programs/gio-move.c:
3713 * programs/gio-rm.c:
3714 * programs/gio-save.c:
3715 * programs/gio-trash.c:
3716 Leak fixes from Kjartan Maraas
3718 2007-11-14 Alexander Larsson <alexl@redhat.com>
3720 * gio/fam/fam-helper.c:
3722 * gio/glocalfileinfo.c:
3726 * gio/inotify/inotify-diag.c:
3727 * gio/inotify/inotify-kernel.c:
3728 Various code cleanups from Kjartan Maraas
3730 2007-11-14 Alexander Larsson <alexl@redhat.com>
3732 * gio/gioscheduler.c:
3734 Set up threadpool so that we cache 2 unused
3735 idle threads for at 15 secs. This means we
3736 will reuse thread-local data (like dbus connections)
3739 2007-11-14 Alexander Larsson <alexl@redhat.com>
3741 * gio/fam/fam-helper.c:
3742 * gio/fam/gfamdirectorymonitor.c:
3743 * gio/fam/gfamfilemonitor.c:
3745 * gio/gcontenttype.c:
3746 * gio/gdatainputstream.c:
3747 * gio/gdataoutputstream.c:
3751 * gio/gfileattribute.h:
3752 * gio/gfileenumerator.c:
3754 * gio/ginputstream.c:
3757 * gio/glocalfileinfo.c:
3758 * gio/goutputstream.c:
3759 * gio/gpollfilemonitor.c:
3760 * gio/gsimpleasyncresult.c:
3761 * gio/gunixmounts.c:
3762 * gio/gunixmounts.h:
3763 * gio/inotify/ginotifydirectorymonitor.c:
3764 * gio/inotify/ginotifyfilemonitor.c:
3765 * gio/inotify/inotify-diag.c:
3766 * gio/inotify/inotify-kernel.c:
3767 * gio/inotify/inotify-path.c:
3769 * gio/test-streams.c:
3770 * programs/gio-info.c:
3771 * programs/gio-monitor-dir.c:
3772 * programs/gio-monitor-file.c:
3773 Various code cleanups from Kjartan Maraas
3775 2007-11-13 Alexander Larsson <alexl@redhat.com>
3778 Handle the uri-scheme calls for dummy files
3780 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3782 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3783 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3784 to avoid clash with the C++ keyword.
3786 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3788 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3789 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3791 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3793 * gio/glocaldirectorymonitor.c:
3794 * gio/glocalfilemonitor.c:
3795 * gio/gunionvolumemonitor.c:
3796 Don't use g_once_init_*() for initializations that could fail and
3797 could leave the initialization variable set to 0 but use GOnce.
3798 This prevents a deadlock on the second call when trying to create
3799 a monitor and no monitor type is available. Thanks to Sven Herzberg
3802 2007-11-11 Sven Herzberg <sven@imendio.com>
3804 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3805 #ifdef (make it work on MacOS X again)
3807 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3809 Fixes Changelog for last two commits (sorry guys).
3811 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3813 * gio/gbufferedinputstream.c:
3814 * gio/gdatainputstream.c:
3816 * gio/gfileoutputstream.c:
3817 * gio/gfilterinputstream.c:
3818 * gio/glocalfileinputstream.c:
3821 More consistency fixes in g*stream.c files.
3822 Significant clean of gfile's documentation, filling in of
3823 asynchronous operations documentation.
3825 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3827 * gio/gasyncresult.c:
3828 * gio/gbufferedinputstream.c:
3829 * gio/gbufferedoutputstream.c:
3830 * gio/gcancellable.c:
3831 * gio/gcontenttype.c:
3832 * gio/gdatainputstream.c:
3833 * gio/gdataoutputstream.c:
3834 * gio/gdesktopappinfo.c:
3837 * gio/gfileattribute.c:
3838 * gio/gio/gfileenumerator.c:
3840 * gio/gfileinputstream.c:
3841 * gio/gfilemonitor.c:
3842 * gio/gfileoutputstream.c:
3843 * gio/ginputstream.c:
3845 * gio/gioscheduler.c:
3846 * gio/gloadableicon.c:
3847 * gio/glocalfileoutputstream.c:
3848 * gio/gmemoryoutputstream.c:
3849 * gio/gmountoperation.c:
3850 * gio/goutputstream.c:
3852 * gio/gsimpleasyncresult.c:
3853 * gio/gunionvolumemonitor.c:
3854 * gio/gunixmounts.c:
3855 * gio/gunixvolume.c:
3859 * gio/gvolumemonitor.c:
3860 Updated documentation stubs, working towards consistency and
3863 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3865 * gio/gmemoryoutputstream.c:
3866 * gio/gmemoryoutputstream.h:
3867 Change g_memory_output_stream_set_free_on_close() to
3868 g_memory_output_stream_set_free_data() as this makes more sense and
3869 is more consistent with GMemoryInputStream.
3871 2007-11-07 Alexander Larsson <alexl@redhat.com>
3878 Change how we find the default vfs so that
3879 we can handle a gvfs failing to init
3881 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3883 * gio/gbufferedoutputstream.c:
3884 * gio/gdatainputstream.c:
3885 * gio/gdataoutputstream.c:
3886 * gio/gfileinputstream.c:
3887 * gio/gfileoutputstream.c:
3888 * gio/gfilterinputstream.c:
3889 * gio/gfilteroutputstream.c:
3890 * gio/ginputstream.c:
3891 * gio/gmemoryinputstream.c:
3892 * gio/gmemoryoutputstream.c:
3893 * gio/goutputstream.c:
3894 * gio/gsimpleasyncresult.c:
3895 * gio/gsocketinputstream.c:
3896 * gio/gsocketoutputstream.c:
3897 Add guards to the remaining public functions, add a TODO for
3898 an unimplemented function and remove some useless guards.
3900 2007-11-07 Alexander Larsson <alexl@redhat.com>
3903 Autoconf checks for the various types of
3904 getpwuid_r and getgrgid_r
3906 * gio/glocalfileinfo.c:
3907 Use the autoconf checks from above
3909 2007-11-07 Alexander Larsson <alexl@redhat.com>
3912 (g_local_file_query_filesystem_info):
3913 Some fixes for the statvfs case
3915 2007-11-07 Alexander Larsson <alexl@redhat.com>
3918 (g_local_file_query_filesystem_info):
3919 Pick the "best" of statfs / statvfs for the system
3920 if both are availible.
3922 2007-11-07 Alexander Larsson <alexl@redhat.com>
3924 Solaris fixes from Halton.Huo@Sun.COM:
3931 * gio/glocalfileinfo.c:
3932 Fix for solaris definition of getpwuid_r
3934 * gio/test-streams.c:
3935 Use G_GNUC_PRETTY_FUNCTION
3937 2007-11-07 Alexander Larsson <alexl@redhat.com>
3939 * gio/gdesktopappinfo.c:
3940 (update_default_list):
3941 Remove double semicolon.
3942 Patch from Jens Granseuer
3944 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3946 * docs/reference/gio/gio-sections.txt:
3947 * gio/gbufferedinputstream.c:
3948 * gio/gbufferedinputstream.h:
3949 * gio/gdatainputstream.c:
3950 * gio/gfileenumerator.c:
3951 * gio/gioscheduler.c:
3952 * gio/gunionvolumemonitor.c:
3954 * programs/gio-save.c:
3955 Fix typo: availible -> available. Unfortuntely this breaks API
3956 and ABI as g_buffered_input_stream_get_available() was renamed.
3958 * gio/gunixmounts.c:
3959 * gio/gbufferedinputstream.c:
3960 Add guards for public functions.
3962 2007-11-06 Ross Burton <ross@openedhand.com>
3964 * docs/reference/gio/Makefile.am:
3965 Fix invalid += usage which automake 1.10 doesn't like.
3967 2007-11-06 Alexander Larsson <alexl@redhat.com>
3970 (g_app_launch_context_class_init):
3973 Patch from Ross Burton
3975 2007-11-06 Alexander Larsson <alexl@redhat.com>
3978 Post release version bump
3980 === gio-standalone 0.1.1 ===
3982 2007-11-06 Alexander Larsson <alexl@redhat.com>
3985 Bump version to 0.1.1
3987 * gio/gsimpleasyncresult.c:
3988 (g_simple_async_result_set_from_error):
3989 Remove bogus g_return_if_fail
3991 2007-11-06 Alexander Larsson <alexl@redhat.com>
3994 The name is gio-standalone
3997 Add top src/builddir to includedir
3999 2007-11-06 Alexander Larsson <alexl@redhat.com>
4001 * docs/reference/gio/gio-sections.txt:
4003 * gio/gbufferedinputstream.c:
4004 * gio/gbufferedoutputstream.c:
4005 * gio/gcancellable.c:
4006 * gio/gdatainputstream.h:
4007 * gio/gdataoutputstream.c:
4008 * gio/gdataoutputstream.h:
4009 * gio/gdirectorymonitor.c:
4011 * gio/gfileattribute.c:
4012 * gio/gfileattribute.h:
4013 * gio/gfileenumerator.c:
4014 * gio/gfileenumerator.h:
4017 * gio/gfileinputstream.h:
4018 * gio/gfilemonitor.c:
4019 * gio/gfileoutputstream.h:
4020 * gio/glocalfilemonitor.h:
4021 * gio/glocalfileoutputstream.h:
4022 * gio/gmemoryinputstream.c:
4023 * gio/gmemoryoutputstream.c:
4024 * gio/gmountoperation.c:
4025 * gio/goutputstream.c:
4026 * gio/goutputstream.h:
4028 * gio/gsimpleasyncresult.c:
4029 * gio/gunixmounts.c:
4030 * gio/gunixmounts.h:
4032 * gio/inotify/inotify-helper.c:
4033 Fix gtk-doc warnings
4035 Patch from Ross Burton
4037 2007-11-06 Alexander Larsson <alexl@redhat.com>
4039 * gio/gfilenamecompleter.c:
4040 (g_filename_completer_get_completions):
4043 * gio/gunixvolume.c:
4044 Remove unused function
4046 Patches from Ross Burton
4048 2007-11-06 Alexander Larsson <alexl@redhat.com>
4053 Padding not needed for interfaces
4055 2007-11-06 Alexander Larsson <alexl@redhat.com>
4057 * gio/gfilemonitor.c:
4061 Make giotypes.h an internal file
4064 * gio/gbufferedinputstream.h:
4065 * gio/gbufferedoutputstream.h:
4066 * gio/gcancellable.h:
4067 * gio/gdatainputstream.h:
4068 * gio/gdataoutputstream.h:
4069 * gio/gdirectorymonitor.c:
4070 * gio/gdirectorymonitor.h:
4075 * gio/gfileattribute.h:
4076 * gio/gfileenumerator.h:
4081 * gio/gfilemonitor.c:
4082 * gio/gfilemonitor.h:
4083 * gio/gfilenamecompleter.c:
4084 * gio/gfilenamecompleter.h:
4085 * gio/gfilterinputstream.h:
4086 * gio/gfilteroutputstream.h:
4087 * gio/ginputstream.h:
4088 * gio/gmemoryinputstream.h:
4089 * gio/gmemoryoutputstream.h:
4090 * gio/gmountoperation.c:
4091 * gio/gmountoperation.h:
4092 * gio/gnativevolumemonitor.c:
4093 * gio/goutputstream.h:
4096 * gio/gsimpleasyncresult.c:
4097 * gio/gsimpleasyncresult.h:
4098 * gio/gsocketinputstream.h:
4099 * gio/gsocketoutputstream.h:
4100 * gio/gthemedicon.c:
4101 * gio/gthemedicon.h:
4105 * gio/gvolumemonitor.c:
4106 * gio/gvolumemonitor.h:
4107 Add padding in classes where it seems useful
4108 Don't include giotypes.h from public headers
4109 Move in Class definitions into c file where possible
4114 2007-11-06 Alexander Larsson <alexl@redhat.com>
4116 * docs/reference/gio/gio-docs.xml:
4117 Better structure for API docs
4119 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4122 * gio/gloadableicon.c:
4123 * gio/gsimpleasyncresult.c:
4124 * gio/gthemedicon.c:
4125 Add some more guards to public functions. Only files missing are now
4128 2007-11-06 Alexander Larsson <alexl@redhat.com>
4130 * docs/reference/gio/gio-docs.xml:
4131 Remove old files, add missing ones
4133 2007-11-06 Alexander Larsson <alexl@redhat.com>
4135 * docs/reference/gio/gio-sections.txt:
4138 Hide implementation classes
4140 * gio/gdriveprivate.h:
4141 * gio/gvolumeprivate.h:
4142 Remove non-existing function declarations
4144 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4147 Fix compilation warnings and add guards to the new functions.
4149 * gio/gasyncresult.c:
4151 Add guards to the public functions.
4154 Implement get_path().
4156 2007-11-06 Alexander Larsson <alexl@redhat.com>
4158 * gio/gfilenamecompleter.c:
4159 Make g_filename_completer_get_completions
4160 return char ** instead of GList for
4163 * docs/reference/gio/gio-docs.xml:
4164 * docs/reference/gio/gio-sections.txt:
4166 * gio/gasyncresult.c:
4167 * gio/gbufferedinputstream.c:
4168 * gio/gbufferedoutputstream.c:
4169 * gio/gcancellable.c:
4170 * gio/gcontenttype.c:
4171 * gio/gdatainputstream.c:
4172 * gio/gdataoutputstream.c:
4173 * gio/gdesktopappinfo.c:
4174 * gio/gdirectorymonitor.c:
4178 * gio/gfileattribute.c:
4179 * gio/gfileenumerator.c:
4182 * gio/gfileinputstream.c:
4183 * gio/gfilemonitor.c:
4184 * gio/gfilenamecompleter.c:
4185 * gio/gfilenamecompleter.h:
4186 * gio/gfileoutputstream.c:
4187 * gio/gfilterinputstream.c:
4189 * gio/ginputstream.c:
4191 * gio/gioscheduler.c:
4192 * gio/gloadableicon.c:
4193 * gio/glocaldirectorymonitor.c:
4195 * gio/glocalfileinputstream.c:
4196 * gio/glocalfilemonitor.c:
4197 * gio/glocalfileoutputstream.c:
4199 * gio/gmemoryinputstream.c:
4200 * gio/gmemoryoutputstream.c:
4201 * gio/gmountoperation.c:
4202 * gio/goutputstream.c:
4203 * gio/gpollfilemonitor.c:
4205 * gio/gsimpleasyncresult.c:
4206 * gio/gsocketinputstream.c:
4207 * gio/gsocketoutputstream.c:
4208 * gio/gthemedicon.c:
4209 * gio/gunionvolumemonitor.c:
4211 * gio/gunixmounts.c:
4212 * gio/gunixvolume.c:
4213 * gio/gunixvolumemonitor.c:
4217 * gio/gvolumemonitor.c:
4218 * gio/gwin32appinfo.c:
4219 Add (mostly stub) doc strings to public functions.
4220 Patch from Andrew Walton (awalton@gmail.com)
4222 2007-11-06 Alexander Larsson <alexl@redhat.com>
4224 * gio/gappinfo.[ch]:
4225 Added GAppLaunchContext object and pass that to launch.
4226 This allows simple implementation of both
4227 launch-on-screen and startup notification via a gtk+
4228 subclass of GAppLaunchContext
4230 * gio/gdesktopappinfo.c:
4231 Implement GAppLaunchContext API
4233 * gio/gwin32appinfo.c:
4236 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4238 * gio/gmountoperation.c:
4239 Add some guards to GMountOperation's public functions.
4241 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4245 * gio/gcancellable.c:
4246 * gio/gdirectorymonitor.c:
4248 * gio/gfileenumerator.c:
4249 * gio/gfilemonitor.c:,
4250 * gio/gfilenamecompleter.c:
4253 * gio/gioscheduler.c:
4257 * gio/gvolumemonitor.c:
4258 Add even more guards to various public functions.
4260 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4263 Add guards to the public functions of GAppInfo.
4265 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4267 * gio/gcontenttype.c:
4268 Add some more guards for public functions.
4270 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4272 * gio/fam/fam-module.c:
4273 * gio/fam/gfamdirectorymonitor.c:
4274 * gio/fam/gfamdirectorymonitor.h:
4275 * gio/fam/gfamfilemonitor.c:
4276 * gio/fam/gfamfilemonitor.h:
4277 * gio/inotify/ginotifydirectorymonitor.c:
4278 * gio/inotify/ginotifydirectorymonitor.h:
4279 * gio/inotify/ginotifyfilemonitor.c:
4280 * gio/inotify/ginotifyfilemonitor.h:
4281 Add proper copyright information and remove an unused variable
4282 in the GInotifyFileMonitor constructor.
4284 * gio/gcancellable.c:
4285 Add a guard for a public function and an assertion to prevent
4286 an undefined program state.
4288 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4290 * gio/gfileattribute.c:
4291 Don't run into an assertion if the given attribute value is NULL
4292 in g_file_attribute_value_get_*() but instead return a fallback
4293 value that makes sense in most situations. Passing them a attribute
4294 value with the wrong type will still run into an assertion.
4296 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4298 * gio/gfileattribute.c:
4300 Add even more guards to the public functions. Also fix the refcounting
4301 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4302 let g_file_info_list_attributes() filter the attributes by namespace
4303 instead of simply ignoring the namespace parameter.
4305 2007-11-03 Sven Herzberg <sven@imendio.com>
4307 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4308 (This makes gio work on MacOS X again)
4310 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4313 Build the gio subdirectory before the docs. Otherwise the build will
4316 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4317 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4318 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4319 Add guards to the public functions.
4321 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4323 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4324 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4325 to prevent a compiler warning.
4327 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4328 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4329 return something in the non-void function find_topdir_for().
4331 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4338 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4340 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4341 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4342 * gwin32appinfo.c (g_win32_app_info_launch):
4343 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4344 envp_for_startup_id, g_desktop_app_info_launch,
4345 g_desktop_app_info_launch_uris):
4347 Give an opaque 'startup_id' string instead of 'envp'.
4348 Support empty file lists for launching new windows.
4349 Fix infinite recursion bug when launching URIs.
4351 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4354 Add guard to the new g_file_get_uri_scheme() function.
4356 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4359 Convert a g_return_val_if_fail() to setting the GError instead as
4360 otherwise applications have to verify the parameter before otherwise
4361 and the parameter might come directly from the user.
4363 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4365 * gio/inotify/ginotify*.[ch]:
4366 Add missing copyright information.
4368 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4371 Add guards in the beginning of public functions to check for valid
4372 parameters and fix a bug in copy_stream_with_progress() that could've
4373 caused writing less bytes than reading.
4374 * gio/glocalfileinfo.c:
4375 Check for a NULL parameter and set the GError accordingly then.
4376 * gio/goutputstream.c:
4377 Fix the same bug as in gfile.c that could've caused writing less bytes
4378 than reading in g_output_stream_real_splice().
4380 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4383 Use the correct gvolumeprivate.h naming
4385 2007-11-01 Christian Kellner <gicmo@gnome.org>
4388 Remove leftover "$(daemon_sources)" entry.
4390 2007-11-01 Christian Kellner <gicmo@gnome.org>
4395 Add copyright information to source files.
4397 2007-11-01 Alexander Larsson <alexl@redhat.com>
4401 Add g_file_get_uri_scheme
4403 2007-11-01 Alexander Larsson <alexl@redhat.com>
4406 * gio/gdesktopappinfo.c:
4407 * gio/gwin32appinfo.c:
4408 Add g_app_info_get_default_for_uri_scheme.
4410 2007-11-01 Alexander Larsson <alexl@redhat.com>
4413 Correct filename for gdriveprivate.h
4415 2007-10-31 Alexander Larsson <alexl@redhat.com>
4418 Rename id:value to id:file
4421 * gio/glocalfileinfo.c:
4424 2007-10-31 Alexander Larsson <alexl@redhat.com>
4426 * gio/gunixvolume.c:
4428 Remove g_volume_get_platform_id, as thats not
4429 needed with the simpler union volume monitor
4431 2007-10-31 Alexander Larsson <alexl@redhat.com>
4434 * gio/guniondrive.[ch]: Removed.
4435 * gio/gunionvolume.[ch]: Removed.
4436 Remove GUnionDrive/Volume
4438 * gio/gunionvolumemonitor.c:
4439 Simplify union volume monitor, now we
4440 only have one native volume monitor and
4441 we use the actual volumes/drives from the
4442 child monitors instead of wrapping them
4444 * gio/gnativevolumemonitor.[ch]:
4445 Base class for native volume monitors.
4446 Includes priority and get_volume_for_mountpoint
4449 Add g_file_find_enclosing_volume
4452 Remove volume name fs attribute
4453 Add readonly fs attribute
4456 Implement readonly attribute
4457 remove volume name attribute
4458 Implement find_enclosing volume
4460 * gio/gunixmounts.c:
4461 Add a volume for "/".
4463 * gio/gunixvolume.[ch]:
4464 Set better name for /
4466 * gio/gunixvolumemonitor.[ch]:
4467 Derive from GNativeVolumeMonitor
4468 Implement get_volume_for_mountpoint
4471 GVolume typedef moved to gfile.h
4473 * gio/gvolumeprivate.h:
4474 Add g_volume_get_for_mount_path
4476 2007-10-31 Alexander Larsson <alexl@redhat.com>
4478 * gio/gunixmounts.[ch]:
4479 Add cache info to unix mount listers
4480 Make getmntent use threadsafe
4481 Add is_system_internal attribute for GUnixMount
4483 * gio/gunixvolume.c:
4484 (g_unix_volume_new):
4485 Use is_system_internal instead of own code
4487 * gio/glocaldirectorymonitor.c:
4488 * gio/gunixvolumemonitor.c:
4489 Update to new gunixmounts API
4494 2007-10-30 Alexander Larsson <alexl@redhat.com>
4497 Add volume name fsinfo attribute
4500 Read volume name info
4502 * gio/gunionvolumemonitor.c:
4503 Fix infinite loops when finalizing a union volume monitor
4505 2007-10-30 Alexander Larsson <alexl@redhat.com>
4507 * gio/goutputstream.[ch]:
4508 Add splice() with default implementation
4510 * gio/gsocketoutputstream.c:
4511 (g_socket_output_stream_write):
4512 Return error on cancellation correctly.
4514 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4516 * gio/glocalfile.c (g_local_file_trash):
4517 Do not leak a string.
4519 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4521 * gio/gfile.c (g_file_load_contents):
4522 Unref the stream after closing it.
4524 2007-10-25 Alexander Larsson <alexl@redhat.com>
4526 * gio/gioscheduler.h:
4529 2007-10-25 Alexander Larsson <alexl@redhat.com>
4533 Add g_file_has_uri_scheme and implement for local files
4535 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4537 * gio/gdesktopappinfo.c: do not leak a string.
4539 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4541 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4542 (g_local_directory_monitor_new):
4543 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4544 (g_local_file_monitor_new):
4545 Only look for the monitor type that should be used the first time
4546 and use g_qsort_with_data() instead of our own bubble sort
4549 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4552 * gio/fam/Makefile.am:
4553 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4554 * gio/fam/fam-helper.h:
4555 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4556 * gio/fam/gfamdirectorymonitor.c:
4557 * gio/fam/gfamdirectorymonitor.h:
4558 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4559 * gio/fam/gfamfilemonitor.h:
4560 * gio/glocaldirectorymonitor.c:
4561 * gio/glocaldirectorymonitor.h:
4562 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4563 * gio/glocalfilemonitor.h:
4564 * gio/inotify/Makefile.am:
4565 * gio/inotify/ginotifydirectorymonitor.c:
4566 * gio/inotify/ginotifydirectorymonitor.h:
4567 * gio/inotify/ginotifyfilemonitor.c:
4568 * gio/inotify/ginotifyfilemonitor.h:
4569 Implement the FAM and Inotify monitors as
4570 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4571 their own GIO module. GLocal(Directory|File)Monitor will use the
4572 monitor with the highest rank that is supported on that machine.
4574 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4577 Change GIO module dir to $(libdir)/gio/modules and change
4578 the log domain from GVFS to GIO. Also only export symbols starting
4579 with g_ in the resulting library.
4580 * gio/test-streams.c: (main):
4581 Set log handler for the GIO log domain.
4583 2007-10-22 Alexander Larsson <alexl@redhat.com>
4585 * gio/gfilenamecompleter.[ch]:
4586 Add g_filename_completer_set_dirs_only
4588 2007-10-22 Alexander Larsson <alexl@redhat.com>
4591 * gio/gurifuncs.[ch]:
4592 Add some simple URI helpers
4594 * gio/gfilenamecompleter.[ch]:
4595 Added object for filename (parse name actually) completion
4598 Handle ~ in parse names
4600 2007-10-17 Alexander Larsson <alexl@redhat.com>
4603 * gio/glocalfileinfo.c:
4604 Add and implement id:value attribute
4606 2007-10-17 Alexander Larsson <alexl@redhat.com>
4609 * gio/guniondrive.c:
4611 Add and implement g_drive_has_volumes
4613 2007-10-17 Alexander Larsson <alexl@redhat.com>
4616 * gio/glocalfileinfo.[ch]:
4617 Add unix:is_mountpoint and implement for local files
4619 2007-10-16 Alexander Larsson <alexl@redhat.com>
4621 * gio/gunionvolumemonitor.c:
4622 (g_union_volume_monitor_init):
4623 Fix up the unix type getting so that it works with gcc
4625 2007-10-12 Alexander Larsson <alexl@redhat.com>
4628 * gio/glocalfileinfo.c:
4629 Add thumbnail:failed to file info
4631 2007-10-12 Richard Hult <richard@imendio.com>
4633 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4634 optimizing away the get_type call (happens with some gcc versions,
4635 like the one shipped with OS X 10.4).
4637 2007-10-12 Alexander Larsson <alexl@redhat.com>
4639 * gio/glocalfileinfo.c:
4640 (_g_local_file_info_set_attribute):
4641 Fix build if not HAVE_XATTR
4642 Patch from Milosz Derezynski <internalerror@gmail.com>
4644 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4646 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4647 around for review, otherwise I would have asked you before
4650 2007-10-11 Alexander Larsson <alexl@redhat.com>
4653 Add thumbnail:path attribute
4655 * gio/glocalfileinfo.c:
4656 Implement thumbnail:path for local files
4658 2007-10-11 Alexander Larsson <alexl@redhat.com>
4660 * gio/glocalfileinfo.c:
4661 (_g_local_file_info_get):
4662 Avoid duplicate icon names
4664 2007-10-11 Alexander Larsson <alexl@redhat.com>
4666 * gio/gthemedicon.[ch]:
4667 Change g_themed_icon_get_names return type to const
4669 2007-10-10 Alexander Larsson <alexl@redhat.com>
4671 * gio/glocalfileinfo.c:
4672 Don't reference freed memory
4674 2007-10-10 Alexander Larsson <alexl@redhat.com>
4676 * gio/gfileattribute.c:
4679 * gio/glocalfileinfo.c:
4682 2007-10-10 Alexander Larsson <alexl@redhat.com>
4685 Check for NULL icons
4687 * gio/gfileattribute.c:
4688 Don't dup when getting objects (same as for string attributes)
4690 * gio/gicon.c (g_icon_equal):
4691 Safely handle NULLs in equal
4693 2007-10-10 Alexander Larsson <alexl@redhat.com>
4696 Fix c++ compilation issues
4697 Patch from Milosz Derezynski <internalerror@gmail.com>
4699 2007-10-10 Alexander Larsson <alexl@redhat.com>
4701 * programs/gio-monitor-dir.c:
4702 Don't crash if dir monitor not supported.
4704 2007-10-09 Alexander Larsson <alexl@redhat.com>
4707 Add missing G_END_DECLS
4709 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4711 * gio/gfile.c: (g_file_set_display_name),
4712 (g_file_query_settable_attributes),
4713 (g_file_query_writable_namespaces):
4714 Return NULL not FALSE on errors as the return type is a pointer.
4716 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4718 * gio/glocalfile.c: (g_local_file_monitor_file):
4719 Don't call monitor_file on the default interface vtable (which
4720 is NULL) but simply return NULL. The caller, GFile, will create a
4721 polling monitor if NULL is returned.
4723 2007-10-09 Alexander Larsson <alexl@redhat.com>
4727 * gio-unix-2.0.pc.in:
4728 Add gio-unix-2.0.pc if OS_UNIX
4731 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4733 2007-10-09 Alexander Larsson <alexl@redhat.com>
4735 * gio/gunixmounts.[ch]:
4736 Make unix mount monitoring API sane.
4737 Now its just a object with mounts_changed
4738 and mountpoints_changed signals.
4740 * gio/glocaldirectorymonitor.c:
4741 * gio/gunixvolumemonitor.c:
4742 Use new mount monitor api
4744 2007-10-09 Alexander Larsson <alexl@redhat.com>
4746 * gio/gunixmounts.[ch]:
4747 Move guess type into one call for mounts and one for mountpoints
4750 * gio/gunixvolume.c:
4753 2007-10-09 Alexander Larsson <alexl@redhat.com>
4755 * gio/gunixmounts.[ch]:
4756 Remove _ prefix in preparation to make this semi-public
4757 Hide implementation of structs
4759 * gio/glocaldirectorymonitor.c:
4761 * gio/gunixvolume.c:
4762 * gio/gunixvolumemonitor.c:
4763 Update for above API changes
4765 2007-10-08 Alexander Larsson <alexl@redhat.com>
4768 Better polling fallback. This also handles the case where we have
4769 a monitor_file implementation, but it fails.
4771 2007-10-08 Alexander Larsson <alexl@redhat.com>
4775 * gio/gunixmounts.c:
4776 * programs/gio-monitor-dir.c:
4777 * programs/gio-monitor-file.c:
4778 Added cancellable to file monitoring calls.
4779 These are really sync calls and need this.
4781 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4783 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4784 (g_local_vfs_class_init):
4785 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4786 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4788 2007-10-05 Alexander Larsson <alexl@redhat.com>
4790 * gio/gdirectorymonitorprivate.h:
4791 * gio/gfilemonitorprivate.h:
4792 * gio/gdirectorymonitor.h:
4793 * gio/gfilemonitor.h:
4794 Remove *private.h and move to the public API, so that
4795 we can do implementations outside gio (such as in gvfs)
4797 * gio/gdirectorymonitor.c:
4798 * gio/gfilemonitor.c:
4799 * gio/glocaldirectorymonitor.c:
4800 * gio/gpollfilemonitor.c:
4801 * gio/inotify/inotify-helper.c:
4802 * gio/fam/fam-helper.c:
4803 Update to the new header names
4805 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4807 * gio/gdirectorymonitor.c:
4808 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4811 2007-10-04 Alexander Larsson <alexl@redhat.com>
4813 * gio/glocalfileinfo.c (get_access_rights):
4814 Set CAN_TRASH when we can move the file.
4815 We should really also check for a parent trash dir.
4817 2007-10-04 Alexander Larsson <alexl@redhat.com>
4819 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4820 Add can_trash access attribute
4822 2007-10-04 Alexander Larsson <alexl@redhat.com>
4825 (g_local_file_trash):
4826 Create info file first. This is per-spec and allows
4827 us to actually trash directories.
4829 2007-10-02 Alexander Larsson <alexl@redhat.com>
4831 * gio/gdesktopappinfo.c:
4832 Implement the new mime support code.
4833 Always set app as handling mimetype when being set as default for it
4835 2007-10-01 Alexander Larsson <alexl@redhat.com>
4837 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4838 Fix up check for xattrs:
4840 2007-10-01 Alexander Larsson <alexl@redhat.com>
4843 (g_app_info_set_as_default_for_extension):
4844 (g_app_info_add_supports_type):
4845 (g_app_info_can_remove_supports_type):
4846 (g_app_info_remove_supports_type):
4847 Make these fail nicely if not implemented
4849 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4851 * gio/glocalfileoutputstream.c:
4852 * gio/glocalfileoutputstream.h:
4857 * programs/gio-save.c:
4858 Add a GFileCreateFlags argument to operations that can create
4861 2007-10-01 Alexander Larsson <alexl@redhat.com>
4863 * gio/gappinfo.[ch]:
4864 * gio/gdesktopappinfo.c:
4865 Add more (stubbed out) mime API needed for nautilus
4867 2007-10-01 Alexander Larsson <alexl@redhat.com>
4870 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4871 Add g_app_info_set_as_default_for_extension.
4873 * gio/gdesktopappinfo.c:
4874 Dummy for g_app_info_set_as_default_for_extension
4875 Support flags in g_app_info_create_from_commandline
4877 * gio/gwin32appinfo.c:
4879 Update for API changes
4881 * gio/gthemedicon.c:
4882 Properly NULL-terminate list of icon names
4884 2007-09-28 Alexander Larsson <alexl@redhat.com>
4886 * gio/gloadableicon.h:
4887 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4889 2007-09-28 Alexander Larsson <alexl@redhat.com>
4892 Install headers in $includedir/gio-standalone/
4894 * gio-2.0.pc.in: Added.
4895 * gio-standalone.pc.in: Removed.
4898 Renamed pkg-config file to match glib (for future move)
4899 Update to the new include dir
4902 Add more TODO comments
4904 2007-09-28 Alexander Larsson <alexl@redhat.com>
4906 * gio/gdesktopappinfo.[ch]:
4907 Expose new_from_filename
4908 Add getter for is_hidden and handle it better
4910 2007-09-28 Alexander Larsson <alexl@redhat.com>
4912 * gio/gfileinfo.[ch]:
4913 Rename g_file_size_format_for_display to
4914 g_format_file_size_for_display.
4915 Now it doesn't have the g_file prefix, so we
4916 can later move it to glib.
4918 2007-09-28 Alexander Larsson <alexl@redhat.com>
4920 * gio/gappinfo.[ch]:
4921 Add g_app_info_get_id and g_app_info_get_executable.
4922 Make all getters non-reffing
4923 Make g_app_info_launch take GFile arguments.
4924 Add must_support_uris argument to g_app_info_get_default_for_type.
4926 * gio/gwin32appinfo.c:
4927 Update to GAppInfo api changes
4929 * gio/gdesktopappinfo.c:
4930 Update to GAppInfo api changes
4931 Implement supports_xdg_startup_notify
4933 * gio/gfileicon.c (g_file_icon_get_file):
4934 Make getter non-reffing.
4939 2007-09-27 Alexander Larsson <alexl@redhat.com>
4941 * gio/gfileinfo.[ch]:
4942 Add g_file_size_format_for_display helper
4944 2007-09-27 Alexander Larsson <alexl@redhat.com>
4946 * gio/glocalfileinfo.c:
4947 Set UNIX_GID from gid, not from uid
4949 2007-09-27 Alexander Larsson <alexl@redhat.com>
4952 Add g_file_set_attributes_async
4954 2007-09-27 Alexander Larsson <alexl@redhat.com>
4956 * gio/glocalfile.c (g_local_file_set_display_name):
4957 Fix set_display_name to actually rename to the right place.
4958 Use lstat to look for existing files so we don't overwrite
4961 2007-09-26 Alexander Larsson <alexl@redhat.com>
4964 Add g_file_set_display_name_async()
4966 2007-09-26 Alexander Larsson <alexl@redhat.com>
4969 Add load_partial_contents async calls
4972 Make internal function static
4974 2007-09-26 Alexander Larsson <alexl@redhat.com>
4976 * gio/glocalfileinfo.c:
4977 Correctly detect broken symlinks
4979 2007-09-26 Alexander Larsson <alexl@redhat.com>
4981 * gio/gcancellable.c (g_cancellable_cancel):
4982 Allow cancel on NULL cancellable
4984 2007-09-25 Alexander Larsson <alexl@redhat.com>
4986 * gio/gsimpleasyncresult.c:
4987 Don't allocate g_error manually.
4988 Fixes g_slice/g_new mixup crash
4990 2007-09-25 Alexander Larsson <alexl@redhat.com>
4992 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4993 Actually set active_backend.
4994 This means the monitor will be cancelled correctly.
4996 2007-09-25 Alexander Larsson <alexl@redhat.com>
4998 * gio/gdirectorymonitor.c:
4999 Set timeout to NULL when destroying
5001 2007-09-25 Alexander Larsson <alexl@redhat.com>
5004 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5005 that is a better description of the error.
5007 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5009 * gio/gvfs.c: (g_vfs_get_local):
5010 Make the local vfs variable static. The same instance should
5013 2007-09-24 Alexander Larsson <alexl@redhat.com>
5015 * gio/glocalfileinfo.c:
5016 Pass in actual length read into sniffer, not the length
5019 2007-09-21 Alexander Larsson <alexl@redhat.com>
5021 * gio/gfileenumerator.c:
5024 * gio/gfileinputstream.c:
5025 * gio/gfileoutputstream.c:
5026 * gio/ginputstream.c:
5027 * gio/goutputstream.c:
5028 Don't crash if async callbacks are NULL
5030 2007-09-20 Alexander Larsson <alexl@redhat.com>
5033 Add async enumerate_children method and default
5036 2007-09-20 Alexander Larsson <alexl@redhat.com>
5039 Add g_file_contains_file & g_file_get_relative_path, since they
5040 were needed for nautilus.
5041 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5046 Implement new methods
5048 2007-09-17 Alexander Larsson <alexl@redhat.com>
5051 * gio/gfileinputstream.[ch]:
5052 * gio/gfileoutputstream.[ch]:
5054 * gio/glocalfileenumerator.[ch]:
5055 * gio/glocalfileinfo.[ch]:
5056 * gio/glocalfileinputstream.c:
5057 * gio/glocalfileoutputstream.c:
5058 * gio/gpollfilemonitor.c:
5059 * programs/gio-copy.c:
5060 * programs/gio-info.c:
5061 * programs/gio-move.c:
5062 Rename get_file_info to query_info() to make it clearer
5063 that these are not simple getters, but do i/o.
5065 2007-09-17 Alexander Larsson <alexl@redhat.com>
5067 * gio/gdatainputstream.[ch]:
5068 * gio/test-streams.c:
5069 Use _read_XXX instead of _get_XXX for the i/o calls
5072 2007-09-17 Alexander Larsson <alexl@redhat.com>
5075 Added needed stuff to TODO comment
5077 2007-09-17 Alexander Larsson <alexl@redhat.com>
5079 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5080 Don't error out removing the backup copy if it doesn't
5083 2007-09-14 Alexander Larsson <alexl@redhat.com>
5085 * programs/Makefile.am:
5086 * programs/gvfs-*.c:
5088 Renamed apps from gvfs-xxx to gio-xxx.
5090 2007-09-14 Alexander Larsson <alexl@redhat.com>
5093 * gio/gfileoutputstream.[ch]:
5094 * gio/glocalfileoutputstream.c:
5095 * programs/gvfs-save.c:
5096 g_file_output_stream_get_etag doesn't do i/o, so remove
5097 cancellation and error.
5099 2007-09-14 Alexander Larsson <alexl@redhat.com>
5102 Add new_etag output to replace_contents functions
5104 2007-09-14 Alexander Larsson <alexl@redhat.com>
5106 * gio/gfileoutputstream.[ch]:
5107 Add async get_file_info and default implementation
5109 2007-09-14 Alexander Larsson <alexl@redhat.com>
5111 * gio/gfileinputstream.c:
5112 Implement fallback wrapper for async get_file_info
5114 2007-09-14 Alexander Larsson <alexl@redhat.com>
5117 Add etag out argument to load_contents
5122 2007-09-14 Alexander Larsson <alexl@redhat.com>
5124 * gio/gcontenttype.c (looks_like_text):
5125 Whitespace like tab, cr and lf do not make the
5128 2007-09-14 Alexander Larsson <alexl@redhat.com>
5130 * gio/gfileinputstream.[ch]:
5131 Add async get_file_info.
5133 2007-09-13 Alexander Larsson <alexl@redhat.com>
5135 * gio/goutputstream.c (g_output_stream_write_all):
5136 Allow NULL for bytes_written
5138 2007-09-13 Alexander Larsson <alexl@redhat.com>
5140 * gio/gmemoryinputstream.[ch]:
5141 Add accessors for data
5143 2007-09-13 Alexander Larsson <alexl@redhat.com>
5145 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5146 Don't crash if length is NULL