1 2008-09-26 Matthias Clasen <mclasen@redhat.com>
3 Bug 545350 – GAppInfo deletion
4 Bug 545351 – Reset associations for content type
7 * gappinfo.[hc]: New functions g_app_info_can_delete,
8 g_app_info_delete and g_app_info_reset_type_associations.
11 * gwin32appinfo.c: Implementations of these.
14 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
16 2008-09-26 Dan Winship <danw@gnome.org>
18 Bug 505361 – gunixinputstream.c assumes poll() available
19 Bug 509446 – portable blocking gio cancellation
21 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
22 GPollFD for a cancellable (which is slightly more complicated on
25 * gunixinputstream.c (g_unix_input_stream_read):
26 * gunixoutputstream.c (g_unix_output_stream_write): Use
27 g_cancellable_make_pollfd() and g_poll() rather than using poll()
30 * tests/unix-streams.c: test of GUnixInputStream,
31 GUnixOutputStream, and GCancellable.
33 2008-09-26 Dan Winship <danw@gnome.org>
35 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
36 cast to stop a gcc warning
38 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
41 2008-09-25 Dan Winship <danw@gnome.org>
43 Bug 553426 - cancellable clarifications
45 * gcancellable.c (g_cancellable_class_init): Add a note to the
46 "cancelled" signal docs warning about thread-safety issues
47 (g_cancellable_cancel): Note that cancelling an asynchronous
48 operation takes effect asynchronously, not immediately.
50 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
52 * gioenums.h: Add new GFileCopyFlag, to leave target file with
53 default perms, instead of setting the source file perms, in a copy
56 * gfile.c (g_file_copy_attributes)
57 (build_attribute_list_for_copy)
58 (should_copy): Not copy "unix::mode" attribute if we have received
59 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
61 2008-09-20 Matthias Clasen <mclasen@redhat.com>
63 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
65 2008-09-17 Matthias Clasen <mclasen@redhat.com>
67 * === Released 2.18.1 ===
69 2008-09-16 Michael Natterer <mitch@imendio.com>
71 * gcontenttype.c (g_content_type_guess): can't assign the return
72 value of g_strdupv() to an array. Fill the array manually with
73 const strings instead (it is never freed anyway). Fixes the
74 build. Also fixed indentation.
76 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
78 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
79 Fix trivial typo to unbreak the build (there was a colon
80 instead of a semicolon at the end of a statement).
82 2008-09-15 Matthias Clasen <mclasen@redhat.com>
84 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
87 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
90 2008-09-15 Matthias Clasen <mclasen@redhat.com>
92 Bug 551681 – g_content_type_guess() too naive with filenames
94 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
95 at the end of the filename, and declare it a directory.
96 Patch by Bastien Nocera
98 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
100 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
103 * gdesktopappinfo.c: add a note in the docs clarifying what the
104 "filename" parameter really is.
106 2008-09-12 Tor Lillqvist <tml@novell.com>
108 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
109 FormatMessage() etc here. Call g_win32_error_message() instead
110 which already does all that. Besides, the code was broken as it
111 called the default "A" version of FormatMessage() but still
112 thought it produced a wide string.
114 2008-09-12 Michael Natterer <mitch@imendio.com>
116 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
117 in the documentation.
119 2008-09-08 Christian Neumair <cneumair@gnome.org>
121 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
122 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
123 Use non-blocking pipe for mount helper I/O. Fixes #550647.
125 2008-09-06 Matthias Clasen <mclasen@redhat.com>
127 Bug 551149 – xdgmime mem leak
129 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
130 a memory leak. Patch by Christian Persch
132 2008-09-04 Tor Lillqvist <tml@novell.com>
134 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
137 2008-09-02 Matthias Clasen <mclasen@redhat.com>
139 * === Released 2.18.0 ===
141 2008-09-02 Michael Natterer <mitch@imendio.com>
143 * *.h: big header formatting cleanup: indentation, vtable
144 formatting, consistent spacing in (* vfunc), trailing whitespace
145 removal. Formatting should be pretty consistent in all GIO headers
148 2008-09-02 Matthias Clasen <mclasen@redhat.com>
150 * gmount.h: Document guess_content_type sync vfunc.
152 2008-09-02 Michael Natterer <mitch@imendio.com>
154 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
155 fix parent_class member to be GFilterOutputStreamClass (not
156 GOutputStreamClass). Drop three pointers of padding, which is
157 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
158 so the class struct size stays the same.
160 2008-09-02 Matthias Clasen <mclasen@redhat.com>
162 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
164 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
165 nonexisting return values. Pointed out by Cosimo Cecchi.
167 2008-08-23 Tor Lillqvist <tml@novell.com>
169 Bug 548988 - g_file_replace fails on Windows when the target file
172 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
173 Windows, close the file before potentially renaming it (in case we
174 have been writing to a file with a temporary name).
176 (g_local_file_output_stream_close, handle_overwrite_open): Use
177 GLocalFileStat instead of plain struct stat, for passing to
178 _g_local_file_info_create_etag(). Thus also use _fstati64()
179 instead of plain fstat() on Windows.
181 2008-08-18 Matthias Clasen <mclasen@redhat.com>
183 * === Released 2.17.7 ===
185 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
187 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
190 2008-08-13 Tor Lillqvist <tml@novell.com>
192 * win32/gwinhttpvfs.c
193 * win32/gwinhttpvfs.h
194 * win32/gwinhttpfile.c
195 * win32/gwinhttpfileinputstream.c
196 * win32/gwinhttpfileoutputstream.c: Refactor some common code
197 snippets into helper functions. Check HTTP response status
198 codes. Implement g_winhttp_file_query_info(), looking at
199 Content-Length, Content-Type and Last-Modified.
201 * win32/winhttp.h: Add some symbolic constants that are not
202 publicly documented. Just a handful, so it should be OK to use
203 information from the Windows SDK's headers.
205 2008-08-13 Tor Lillqvist <tml@novell.com>
207 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
210 * win32/gwin32directorymonitor.c
211 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
213 2008-08-13 Matthias Clasen <mclasen@redhat.com>
216 * goutputstream.c: Add intro docs.
218 2008-08-13 Tor Lillqvist <tml@novell.com>
220 * win32/gwinhttpfileoutputstream.c
221 (g_winhttp_file_output_stream_write): Don't write the
222 Content-Length header ourselves, WinHttpSendRequest() takes care
223 of that when the dwTotalLength parameter is non-zero. Increment
224 offset by the number of actual bytes sent, although I wonder if
225 such a scenario is possible where less than requested would be
226 sent and accepted by the server without errors.
228 2008-08-13 Tor Lillqvist <tml@novell.com>
230 * win32/gwinhttpvfs.c
231 * win32/gwinhttpvfs.h
232 * win32/gwinhttpfile.c
233 * win32/gwinhttpfile.h
234 * win32/gwinhttpfileinputstream.c
235 * win32/gwinhttpfileinputstream.h
236 * win32/gwinhttpfileoutputstream.c
237 * win32/gwinhttpfileoutputstream.h: New files implementing
238 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
239 Windows. The implementation uses the WinHttp API. Both reading and
240 writing are supported, i.e. GET and PUT requests. When writing,
241 each write call is done using a separate PUT request with a
242 Content-Range header. Requests for file URIs and plain pathnames
243 are forwarded to GLocalVfs.
245 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
246 WINE. Used as there is no <winhttp.h> bundled with mingw, and
247 requiring people to download the Windows SDK just for this one
248 header is not reasonable.
250 * win32/Makefile.am: Add above files.
252 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
253 the plumbing for the above.
255 2008-08-11 Sven Neumann <sven@gimp.org>
257 * gfilenamecompleter.c
258 * glocaldirectorymonitor.c
260 * gunionvolumemonitor.c
264 * gunixvolumemonitor.c
267 * gwin32volumemonitor.c: use canonical signal names.
269 2008-08-11 Tor Lillqvist <tml@novell.com>
271 * Makefile.am: Put a list of the platform-dependent .la files in
272 the subdirectories in the platform_deps Make variable, and make
273 libgio-2.0.la depend on that, so that it gets relinked if one of
274 the dependent libraries has changed.
276 2008-08-11 Tor Lillqvist <tml@novell.com>
278 * Makefile.am (platform_libadd): Remove -lwininet which had been
279 added by mistake. We will probably eventually be using WinHTTP,
280 not the older WinInet anyway. (Actually I am working on it.)
282 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
284 Bug 547080 – g_file_copy leaks expected errors
286 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
287 before trying the next fallback routine.
289 2008-08-09 Loïc Minier <lool@dooz.org>
291 Bug 535124 – umask 002 not being applied for new directories, new
292 files get the correct umask
294 * gfile.c (g_file_make_directory)
295 (g_file_make_directory_with_parents): Document ownership and
296 permissions of newly created directories as being the default
299 2008-08-08 Loïc Minier <lool@dooz.org>
301 Bug 535124 – umask 002 not being applied for new directories, new
302 files get the correct umask
304 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
307 2008-08-08 Tor Lillqvist <tml@novell.com>
309 * gwin32mount.c: Remove unused code. Whitespace cleanup.
311 * gwin32volumemonitor.c (get_connected_drives): Put questionable
312 code that didn't actually do anything inside #if 0, and add a
313 comment wondering what the code was supposed to do. This also gets
314 rid of a leftover debugging printout.
316 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
318 * gfileicon.c (g_file_icon_get_property)
319 (g_file_icon_set_property): New functions.
320 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
322 (g_file_icon_new): Use the property (bug #546132).
324 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
326 * gthemedicon.c (g_themed_icon_get_property): Also handle
327 `PROP_USE_DEFAULT_FALLBACKS'.
328 (g_themed_icon_class_init): Make
329 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
331 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
333 Bug 546371 – Improve docs re g_file_monitor
335 * gfilemonitor.c: Mention g_file_monitor() in the docs.
337 2008-08-04 Matthias Clasen <mclasen@redhat.com>
339 * === Released 2.17.6 ===
341 2008-08-04 Matthias Clasen <mclasen@redhat.com>
343 * === Released 2.17.5 ===
345 2008-08-04 Matthias Clasen <mclasen@redhat.com>
347 Bug 546017 – Don't copy attributes when copying a symlink
349 * gfile.c (g_file_copy_attributes): Specify
350 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
351 g_file_set_attributes_from_info. Patch by Christian Kellner
353 2008-08-04 Matthias Clasen <mclasen@redhat.com>
355 * gemblemedicon.[hc]:
357 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
358 a bit more extensible. Work by Clemens Buss.
360 * gioenums.h: Add GEmblemOrigin.
363 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
365 Bug 546079 – leak in xdgmime
367 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
369 2008-08-03 Tor Lillqvist <tml@novell.com>
371 * win32/gwin32directorymonitor.h
372 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
375 2008-08-03 Tor Lillqvist <tml@novell.com>
377 * win32/gwin32directorymonitor.c
378 (g_win32_directory_monitor_callback): Make prototype match
379 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
380 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
383 (g_win32_directory_monitor_constructor):
384 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
385 names in the GLib API on Windows, so convert to UTF-16 and open
388 2008-08-03 Tor Lillqvist <tml@novell.com>
390 Bug 541036 - Gnumeric crashes when trying to open Desktop or
391 user's folder under Windows
393 * win32/gwin32directorymonitor.c
394 (g_win32_directory_monitor_constructor): Ignore error from
395 CreateFile() when opening directory. Instead of asserting, just
396 store INVALID_HANDLE_VALUE then in
397 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
398 ReadDirectoryChangesW().
399 (g_win32_directory_monitor_cancel): Don't attempt to close
400 directory handle if it is INVALID_HANDLE_VALUE.
402 2008-08-01 Matthias Clasen <mclasen@redhat.com>
404 * gdesktopappinfo.c: Remove debug spew
406 2008-08-01 Hans Breuer <hans@breuer.org>
408 * makefile.msc : add gemblembedicon
410 2008-07-30 Matthias Clasen <mclasen@redhat.com>
412 Bug 545457 – gdmsetup crashed with SIGSEGV in
413 g_unix_mount_guess_should_display()
415 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
416 crash if no mount is found.
418 2008-07-28 Matthias Clasen <mclasen@redhat.com>
420 Bug 545203 – gfile.c: argument is different type.
422 * gfile.c (open_read_async_thread): Pass a GError **
423 to g_file_set_error_literal.
424 Reported by Kazuki Iwamoto
426 2008-07-28 Matthias Clasen <mclasen@redhat.com>
428 Bug 545157 – wrong/no list of "open with" applications for .cc and
431 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
432 Collect all ancestors, not just direct parents. Pointed
433 out by Bastien Nocera
435 2008-07-28 Matthias Clasen <mclasen@redhat.com>
437 * Makefile.am: Install gemblemedicon.h
439 2008-07-28 Matthias Clasen <mclasen@redhat.com>
441 * gemblemedicon.[hc]: Add a GIcon implementation that can
442 add an emblem to another icon.
449 * gfileicon.c: Small documentation additions.
451 2008-07-28 Tor Lillqvist <tml@novell.com>
453 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
456 2008-07-27 Tor Lillqvist <tml@novell.com>
458 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
460 2008-07-24 David Zeuthen <davidz@redhat.com>
464 Also export a g_mount_guess_content_type_sync() function.
466 2008-07-23 Matthias Clasen <mclasen@redhat.com>
468 529694 – SELinux context setting support
470 * gfileinfo.c: Support setting selinux attributes.
471 Patch by Tomas Bzatek
473 2008-07-22 Priit Laes <plaes@plaes.org>
475 Bug 544140 - fam-helper 64-bit issue?
477 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
479 2008-07-21 Matthias Clasen <mclasen@redhat.com>
481 * === Released 2.17.4 ===
483 2008-07-20 Matthias Clasen <mclasen@redhat.com>
485 * gvolumemonitor.[hc]:
490 * gmount.c: Documentation fixes
492 2008-07-19 Matthias Clasen <mclasen@redhat.com>
494 543504 – crash in Epiphany Web Browser: Opening local file
505 * gvolume.c: Register types thread-safely.
506 Patch by Christian Persch
508 2008-07-18 Matthias Clasen <mclasen@redhat.com>
510 * gcontenttype.c: Remove debug spew
512 2008-07-18 Matthias Clasen <mclasen@redhat.com>
514 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
517 * fen/fen-kernel.c: Remove a warning that was causing
518 crashes. Reported by Lin Ma.
520 2008-07-18 Matthias Clasen <mclasen@redhat.com>
522 Bug 543040 – async reading on dummy file will crash on
525 * gfile.c (open_read_async_thread): Cope with read_fn being
526 NULL. Reported by Lin Ma.
528 2008-07-18 Matthias Clasen <mclasen@redhat.com>
531 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
533 2008-07-16 Matthias Clasen <mclasen@redhat.com>
537 * giomodule.c: Rename a chapter id to avoid filename conflict.
539 2008-07-16 Matthias Clasen <mclasen@redhat.com>
541 Bug 540616 – mem leak in filechooser button
543 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
544 the mount entry. Reported by Chrisitan Persch
546 2008-07-16 Matthias Clasen <mclasen@redhat.com>
548 * gfile.c: Small documentation fixes.
550 2008-07-15 Matthias Clasen <mclasen@redhat.com>
552 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
554 2008-07-08 Matthias Clasen <mclasen@redhat.com>
559 * gmount.c: Documentation improvements.
561 2008-07-08 Matthias Clasen <mclasen@redhat.com>
564 * gmount.[hc]: Add g_mount_guess_content_type().
566 2008-07-06 David Zeuthen <davidz@redhat.com>
569 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
570 is needed for easily handling adoption of foreign volumes by
571 out-of-process volume monitors (#541793)
573 2008-07-06 David Zeuthen <davidz@redhat.com>
575 * gvolumemonitor.[ch]:
576 * gunionvolumemonitor.c: Export the eject-button signal on the
577 volume monitor class (#541794).
579 2008-07-06 Matthias Clasen <mclasen@redhat.com>
581 * gappinfo.c: More doc tweaks
583 2008-07-05 Matthias Clasen <mclasen@redhat.com>
585 * gappinfo.c: Clarify some docs
587 2008-07-03 Matthias Clasen <mclasen@redhat.com>
589 * gdesktopappinfo.c: Fix a stupid mistake.
591 2008-07-02 Matthias Clasen <mclasen@redhat.com>
593 * === Released 2.17.3 ===
595 2008-07-02 Matthias Clasen <mclasen@redhat.com>
597 * gfilemonitor.c: Fix the build.
599 2008-07-02 Matthias Clasen <mclasen@redhat.com>
601 Bug 536160 – Add g_file_monitor()
604 * gfile.[hc]: Add g_file_monitor which can return either
605 a file or a directory monitor. Proposed by Behdad Esfahbod
607 2008-07-02 Matthias Clasen <mclasen@redhat.com>
609 536733 – gio build failure on Irix
611 * glocalfile.c: Use a configure check for structfs.f_bavail.
613 2008-07-02 Matthias Clasen <mclasen@redhat.com>
615 Bug 534639 – add g_desktop_app_info_new_from_keyfile
618 * gdesktopappinfo.[hc]: Add a function to create a
619 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
621 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
623 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
625 2008-07-01 Matthias Clasen <mclasen@redhat.com>
627 * gunixmounts.c: Fix a doc typo.
629 2008-07-01 Cody Russell <bratsche@gnome.org>
631 * gio/gcontenttype.c:
632 * gio/gwin32appinfo.c:
633 * gio/gwin32volumemonitor.c:
634 * gio/gwin32mount.c: Fixed some include problems.
636 2008-07-01 Cody Russell <bratsche@gnome.org>
640 Moved all relevant typedefs into these files.
643 Updated wrt added files.
645 Split types into separate file for easier maintainership. (#538564)
647 2008-06-30 Matthias Clasen <mclasen@redhat.com>
649 Bug 540331 – g_file_append_to () documentation: can return NULL
651 * gfile.c (g_file_append_to): Clarify docs.
654 2008-06-30 Matthias Clasen <mclasen@redhat.com>
656 Bug 539090 – g_content_type_from_mime_type() should unalias
658 * gcontentype.c (g_content_type_from_mime_type): Unalias.
659 Patch by Markus Bergman
661 2008-06-30 Matthias Clasen <mclasen@redhat.com>
663 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
666 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
667 on ppc and alpha. Reported by Mart Raudsepp
669 2008-06-29 Matthias Clasen <mclasen@redhat.com>
672 * tests/memory-output-stream.c: Add some tests for
675 2008-06-29 Matthias Clasen <mclasen@redhat.com>
677 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
680 * gmemoryoutputstream.c (array_resize): Handle truncation to
681 zero correctly. Reported by Akira Tagoh
683 2008-06-29 Matthias Clasen <mclasen@redhat.com>
685 * gmemoryoutputstream.c: Trivial doc fixes
687 2008-06-29 Matthias Clasen <mclasen@redhat.com>
689 Bug 540802 – g_list_prepend doesn't concat lists
691 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
692 one list to another. Pointed out by Jan Arne Petersen
694 2008-06-28 Michael Natterer <mitch@imendio.com>
696 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
698 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
700 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
701 to avoid problems with partial icon themes.
703 2008-06-17 Hans Breuer <hans@breuer.org>
705 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
706 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
707 access again on win32, see bug #538127
708 * giomodule.c : ensure GWin32VolumeMonitor is registered
709 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
710 * Makefile.am makefile.msc : updated
712 2008-06-16 Hans Breuer <hans@breuer.org>
714 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
715 and initialization in one step avoids c99ism
717 2008-06-16 Christian Persch <chpe@gnome.org>
720 * gio/gbufferedinputstream.c
722 * gio/gdatainputstream.c
723 * gio/gdesktopappinfo.c
725 * gio/gfileenumerator.c
726 * gio/gfileinputstream.c
727 * gio/gfileoutputstream.c
729 * gio/glocaldirectorymonitor.c
731 * gio/glocalfileenumerator.c
732 * gio/glocalfileinfo.c
733 * gio/glocalfilemonitor.c
734 * gio/glocalfileoutputstream.c
735 * gio/gmemoryinputstream.c
736 * gio/gmemoryoutputstream.c
737 * gio/goutputstream.c
738 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
741 2008-06-16 Tor Lillqvist <tml@novell.com>
743 Bug 538362 - Get Win32 icons back in the file chooser
745 * gcontenttype.c (g_content_type_get_icon): Look up the icon
746 corresponding to a file extension in the Registry. Patch by Hans
748 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
750 2008-06-16 Tor Lillqvist <tml@novell.com>
752 Patches by Hans Breuer:
754 * glocalfile.c (is_xp_or_later): Handle compiling against older
755 SDK headers with missing VerifyVersionInfo(). Conditioned on
756 _MSC_VER, but should probably use some better test.
757 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
758 uninitialised statfs_result variable on Win32.
760 2008-06-16 Michael Natterer <mitch@imendio.com>
762 * *.c: chain up unconditionally in finalize() and dispose(). Also
763 don't dereference these function pointers when calling them since
764 that has no meaning at all.
766 2008-06-16 Ross Burton <ross@burtonini.com>
769 Remove check for dispose implementation as it annoys Emmanuele.
771 2008-06-16 Ross Burton <ross@burtonini.com>
773 Bug 536252 – GFileEnumerator should allow access to the containing
779 Add g_file_enumerator_get_container() and a container writeable
780 construct-only property. Also shuffle around typedefs to make it
783 * glocalfileenumerator.c:
784 * glocalfileenumerator.h:
786 Instead of a string filename take a GFile in the constructor and
787 use it to set the container property.
792 2008-06-16 Matthias Clasen <mclasen@redhat.com>
794 * gfile.c: Make includes more uniform
796 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
798 * tests/live-g-file.c (sample_struct):
799 Use less fancy unicode filenames, so the test doesn't fail
800 on Mac OS X (#531476).
802 2008-06-12 Matthias Clasen <mclasen@redhat.com>
804 * === Released 2.17.2 ===
806 2008-06-12 Matthias Clasen <mclasen@redhat.com>
808 * === Released 2.17.1 ===
810 2008-06-11 A. Walton <awalton@gnome.org>
812 * tests/g-file.c (test_g_file_new_null):
813 Fix broken test case.
815 2008-06-11 Matthias Clasen <mclasen@redhat.com>
817 * pltcheck.sh: We use g_clear_error now.
819 2008-06-11 Matthias Clasen <mclasen@redhat.com>
821 * glocalfile.c (g_local_file_enumerate_children): Revert
822 an unintended change.
824 2008-06-11 Matthias Clasen <mclasen@redhat.com>
826 * gfile.c (g_file_replace_contents): Don't unref before the last use.
828 2008-06-10 Matthias Clasen <mclasen@redhat.com>
830 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
833 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
834 as icon for the desktop directory, also make user-home and
835 user-desktop the preferred icons.
837 2008-06-10 Matthias Clasen <mclasen@redhat.com>
840 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
841 to add a name to the front of the list.
843 2008-06-10 Matthias Clasen <mclasen@redhat.com>
845 Bug 537392 – Additional colon in xattr name
847 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
848 too. Reported by Alessandro Morandi
850 2008-06-10 Matthias Clasen <mclasen@redhat.com>
852 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
855 * glocalfile.c (get_fs_type): Add afs and autofs.
856 Patch by Danny Baumann.
858 2008-06-10 Matthias Clasen <mclasen@redhat.com>
860 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
862 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
863 is no parent. (Owen Taylor, patch by Christian Neumair)
865 2008-06-10 Paolo Borelli <pborelli@katamail.com>
867 * gfile.c (g_file_replace_contents): do not leak the output stream.
869 2008-06-10 Michael Natterer <mitch@imendio.com>
871 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
872 uninitialized memory as array index.
874 2008-06-10 Tor Lillqvist <tml@novell.com>
876 * gcontenttype.c (g_content_type_can_be_executable)
877 (g_content_type_get_icon) [Win32]: Add TODO comments.
879 2008-06-09 Matthias Clasen <mclasen@redhat.com>
881 * xdgmime/Makefile.am: Fix the build
883 2008-06-09 Matthias Clasen <mclasen@redhat.com>
885 * gcontenttype.c (g_content_type_get_icon): Use icons specified
886 in the shared mime database, if available.
888 * xdgmime/*: Sync with upstream. This brings support for
889 glob weights, generic icons, and changes the cache format to
892 2008-05-28 Michael Natterer <mitch@imendio.com>
894 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
895 the global CPPFLAGS now.
897 * tests/data-input-stream.c
898 * tests/data-output-stream.c
899 * tests/g-file-info.c
901 * tests/live-g-file.c
902 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
904 2008-05-27 Matthias Clasen <mclasen@redhat.com>
906 * === Released 2.17.0 ===
908 * tests/live-g-file.c: Clean up after the tests, so make distcheck
909 doesn't complain about leftover files.
911 2008-05-27 simon.zheng <simon.zheng@sun.com>
913 * glocalfile.c: (g_local_file_query_filesystem_info):
914 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
916 2008-05-26 Michael Natterer <mitch@imendio.com>
918 * gmemoryoutputstream.h: declare
919 g_memory_output_stream_get_data_size().
921 2008-05-26 Matthias Clasen <mclasen@redhat.com>
923 * tests/*: Make tests work
925 2008-05-26 Matthias Clasen <mclasen@redhat.com>
927 * gio.symbols: Add g_memory_output_stream_get_data_size.
929 2008-05-25 Ross Burton <ross@burtonini.com>
932 Fix typo in error message (#534764).
934 2008-05-25 Ross Burton <ross@burtonini.com>
937 Fix circular dependency loop for gioenumtypes.h (#534759).
939 2008-05-19 Hans Breuer <hans@breuer.org>
941 * Makefile.am : EXTRA_DIST += makefile.msc
943 2008-05-17 Matthias Clasen <mclasen@redhat.com>
946 * gcontenttype.c: (g_content_type_from_mime_type):
947 New function to create a content type from a mime type. (#527175,
950 2008-05-17 Matthias Clasen <mclasen@redhat.com>
952 Bug 532965 – Should not return filesystem::free for certain file systems
954 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
955 free space for ncpfs.
957 2008-05-17 Matthias Clasen <mclasen@redhat.com>
959 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
961 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
962 st_dev might be zero.
964 2008-05-16 Tor Lillqvist <tml@novell.com>
966 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
967 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
969 2008-05-13 Bastien Nocera <hadess@hadess.net>
971 * gfile.c (has_valid_scheme): A URI scheme must start with a
972 letter, even if later more characters are allowed (#532852)
974 2008-05-05 Michael Natterer <mitch@imendio.com>
976 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
977 code from being checked in that breaks the build of applications
978 which use G_DISABLE_SINGLE_INCLUDES.
980 * makegioalias.pl: make the alias file include "glib.h" instead of
983 * gio.symbols: whitespace change to force regeneration of the
984 alias file after above script change.
986 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
988 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
990 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
992 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
994 2008-04-28 David Zeuthen <davidz@redhat.com>
996 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
997 displaying mounts in a subdirectory not accessible to the
1000 2008-04-22 Michael Natterer <mitch@imendio.com>
1002 * Makefile.am: fix library versioning (it was 0.0.0).
1004 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1006 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1007 Default disable all loggings.
1008 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1009 (port_fetch_event_cb): Fixed two macro nits.
1011 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1013 * xdgmime/xdgmime.c: Rework the timestamp checking code
1014 to protect against duplicate directories in XDG_DATA_DIRS.
1015 Fixes fd.o bug 12513, reported by Joe Shaw.
1017 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1019 Partically revert the last commit after realizing that
1020 xdg_mime_media_type_equal doesn't have to init at all.
1022 * xdgmime/xdgmime.h:
1023 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1025 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1027 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1029 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1030 reported by Joe Shaw and Federico Mena Quintero.
1032 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1033 (xdg_mime_media_type_equal): Turn into a wrapper around the
1036 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1037 functions throughout.
1039 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1041 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1042 tolerate an empty TryExec= line without failing; nautilus used
1043 to create launchers with these in previous versions. Fixes #528433
1045 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1047 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1048 after name. Fixes #527132.
1050 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1052 * gfile.c: (g_file_replace):
1055 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1057 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1059 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1060 by Christian Kellner.
1062 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1064 * gunixmounts.c: (g_unix_mount_guess_should_display):
1065 Don't list the user directory as a mount, fix potential issue
1066 when other users have a similar naming and don't special case the
1067 gvfs mounts there since that's not required (#525866)
1069 2008-03-31 Alexander Larsson <alexl@redhat.com>
1071 * glocalfile.c (get_parent):
1074 2008-03-31 A. Walton <awalton@svn.gnome.org>
1076 * gfile.c (g_file_query_file_type):
1077 Always return a GFileType enum value (#520715).
1079 2008-03-31 Alexander Larsson <alexl@redhat.com>
1081 * glocalfileenumerator.c:
1082 Read readdir() info in chunks (of 1000) and sort
1083 the chunks by inode before stat:ing.
1084 This is a 20% performance increase in testing
1085 gvfs-ls on /usr/bin with cold cache.
1087 2008-03-31 Alexander Larsson <alexl@redhat.com>
1089 * gmemoryoutputstream.c:
1090 Clarify docs for g_memory_output_stream_get_size.
1091 Add g_memory_output_stream_get_data_size.
1093 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1097 * gfile.h: Add g_file_query_file_type convenience function
1098 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1100 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1102 * gfileenumerator.c:
1103 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1105 2008-03-28 A. Walton <awalton@svn.gnome.org>
1107 * giomodule.c (_g_io_modules_ensure_loaded):
1108 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1111 2008-03-28 Alexander Larsson <alexl@redhat.com>
1114 (copy_stream_with_progress):
1117 2008-03-28 Alexander Larsson <alexl@redhat.com>
1120 (copy_stream_with_progress):
1121 (file_copy_fallback):
1122 Fallback to g_file_query_info for source size
1123 if g_file_input_stream_query_info fails. (#524579)
1125 2008-03-28 Alexander Larsson <alexl@redhat.com>
1127 * glocalfile.c (g_local_file_move):
1128 Reuse old string instead of adding new one.
1130 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1132 * fen/*.[hc]: still copyright issue. I hate copyright.
1134 2008-03-27 Alexander Larsson <alexl@redhat.com>
1136 * glocalfile.c (g_local_file_move):
1137 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1138 file over directory. This is according to the docs and what the move via
1139 copy+remove fallback does.
1141 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1143 * fen/*.[hc]: Updated copyright.
1145 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1147 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1149 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1151 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1152 not emit attribute changed events when optimizing changed events.
1153 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1156 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1158 * gmountoperation.[hc]: Small documentation additions
1160 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1162 * gunixmounts.c: (guess_mount_type):
1163 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1165 2008-03-19 Alexander Larsson <alexl@redhat.com>
1168 (copy_stream_with_progress):
1169 Bump block side for copy to 64k to minimize
1170 overhead for low latency links. (#523015)
1172 2008-03-16 Tor Lillqvist <tml@novell.com>
1174 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1175 depend on gio.def on Windows.
1177 2008-03-12 David Zeuthen <davidz@redhat.com>
1181 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1183 2008-03-14 Alexander Larsson <alexl@redhat.com>
1187 Avoid redudant tests (#521851)
1188 Patch from Josselin Mouette
1190 2008-03-14 Alexander Larsson <alexl@redhat.com>
1193 (g_file_monitor_is_cancelled):
1194 Fix C89 issue (#521672)
1195 Patch from Jens Granseuer
1197 2008-03-14 Alexander Larsson <alexl@redhat.com>
1199 * fam/fam-helper.[ch]:
1201 Shut down fam (including removing fam GSource) when
1202 module is unloaded (#521513)
1203 Patch from Joe Marcus Clarke
1205 2008-03-14 Alexander Larsson <alexl@redhat.com>
1208 (_g_io_modules_ensure_loaded):
1211 2008-03-14 Alexander Larsson <alexl@redhat.com>
1214 (g_local_file_query_filesystem_info):
1215 Use right define name for f_fstypename member check
1217 2008-03-14 Alexander Larsson <alexl@redhat.com>
1220 * fen/Makefile.am: Added.
1221 * fen/fen-data.[ch]: Added.
1222 * fen/fen-dump.[ch]: Added.
1223 * fen/fen-helper.[ch]: Added.
1224 * fen/fen-kernel.[ch]: Added.
1225 * fen/fen-missing.[ch]: Added.
1226 * fen/fen-node.[ch]: Added.
1227 * fen/fen-sub.[ch]: Added.
1228 * fen/gfendirectorymonitor.[ch]: Added.
1229 * fen/gfenfilemonitor.[ch]: Added.
1231 Added Solaris FEN file notification backend.
1232 Patch from Lin Ma <Lin.Ma@Sun.COM>
1234 2008-03-13 Tor Lillqvist <tml@novell.com>
1236 * Makefile.am: Actually use the gio.def file when linking the
1237 library on Windows. Produce .lib library for Microsoft's toolchain
1238 when possible. Install the .lib and .def file like for the other
1241 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1243 * tests/live-g-file.c:
1244 Include live-g-file in standard set of tests, making a temporary
1245 directory in source structure.
1247 Clean target directory before the tests (write mode only)
1249 2008-03-12 Tor Lillqvist <tml@novell.com>
1251 Bug 517419 - gio win32 directory monitor
1252 Implementation by Vlad Grecescu.
1255 * win32/gwin32directorymonitor.h
1256 * win32/gwin32directorymonitor.c: New files.
1258 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1260 * Makefile.am: Add the win32 subdirectory.
1262 2008-03-12 Tor Lillqvist <tml@novell.com>
1264 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1265 normal struct stat on Unix but struct _stati64 on Windows to have
1266 access to 64-bit file size information. Use that instead of struct
1267 stat in the functions declared here in this private header.
1269 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1270 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1271 warnings about unused functions and variables. Don't set
1272 meaningless attributes like inode numbers on Windows.
1274 2008-03-12 Benjamin Otte <otte@gnome.org>
1277 trim whitespace so gtk-doc groks the function name
1279 2008-03-12 Tor Lillqvist <tml@novell.com>
1281 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1282 returning FALSE, on Win32.
1284 2008-03-11 Alexander Larsson <alexl@redhat.com>
1287 * glocalfileinfo.[ch]:
1288 Correctly implement can_trash by actually
1289 looking for a trash dir, not just assuming
1292 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1294 * === Released 2.16.1 ===
1296 2008-03-11 Alexander Larsson <alexl@redhat.com>
1299 Fix crashes in new constructor and properties code
1301 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1303 * gfile.c: Minor spelling correction in documentation:
1304 existance -> existence.
1306 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1308 * === Released 2.16.0 ===
1310 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1312 * gio.symbols: Remove g_file_contains_file here, too.
1314 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1316 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1317 Samuel Cormier-Iijima)
1319 2008-03-08 Tor Lillqvist <tml@novell.com>
1321 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1324 2008-03-07 Alexander Larsson <alexl@redhat.com>
1327 (g_local_file_query_filesystem_info):
1328 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1329 Patch from Jasper Lievisse Adriaanse
1331 2008-03-06 Tor Lillqvist <tml@novell.com>
1333 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1334 comments for the *_USEC attributes.
1336 2008-03-06 Alexander Larsson <alexl@redhat.com>
1338 * gfile.c (g_file_query_exists):
1339 Add g_return_val_if_fail check (#520700)
1341 2008-03-06 Alexander Larsson <alexl@redhat.com>
1343 * gdesktopappinfo.c:
1346 * gunionvolumemonitor.c:
1349 * tests/live-g-file.c:
1350 * xdgmime/xdgmimecache.c:
1351 Fix sparse warnings (#519489)
1353 2008-03-05 Alexander Larsson <alexl@redhat.com>
1356 Make cancellation threadsafe (i.e.
1357 guarantee its only done once, and always
1360 * glocaldirectorymonitor.c:
1361 Make sure we the monitor lives while the
1362 mounts_changed callback is being called (#520484)
1364 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1366 * gbufferedinputstream.c: Fix typo in parameter
1369 2008-03-04 Alexander Larsson <alexl@redhat.com>
1372 Remove deprecated symbols we kept for one release.
1374 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1377 * goutputstream.c: Tiny documentation corrections.
1379 2008-03-03 Alexander Larsson <alexl@redhat.com>
1381 * gunionvolumemonitor.c:
1383 Fix the adopt_orphan_mount vfunc to take a
1384 volume_monitor reference in an ABI compat way.
1385 This change is not API compat, but the added
1386 arg is not used in the only user of this vfunc, so
1387 all we get is a harmless warning in gvfs (#520169)
1389 2008-03-01 Benjamin Otte <otte@gnome.org>
1392 clarify docs for g_file_delete().
1394 2008-02-29 Alexander Larsson <alexl@redhat.com>
1398 Make sure empty files get text/plain type (#518720)
1400 2008-02-27 Alexander Larsson <alexl@redhat.com>
1406 (g_unix_volume_mount):
1407 Add missing GMountMountFlags argument
1409 2008-02-26 Alexander Larsson <alexl@redhat.com>
1412 (g_local_file_delete):
1413 Handle filesystems (like ntfs-3g) that return EEXIST instead
1414 of ENOTEMPTY (#518816)
1416 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1418 * === Released 2.15.6 ===
1420 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1422 * gfile.c (g_file_find_enclosing_mount):
1423 * ginputstream.c (g_input_stream_set_pending):
1424 * glocalfile.c (g_local_file_find_enclosing_mount):
1425 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1426 * goutputstream.c (g_output_stream_set_pending):
1428 Fixup translator comments (#518578).
1430 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1432 * gfile.c (g_file_find_enclosing_mount):
1434 * glocalfile.c (g_local_file_find_enclosing_mount):
1437 Fix a few typos in translator comments and documentation.
1439 2008-02-25 Alexander Larsson <alexl@redhat.com>
1446 Add translator comments (#518578)
1448 2008-02-25 Alexander Larsson <alexl@redhat.com>
1451 Reintroduce g_file_contains_file, keep around for one
1452 unstable release cycle to avoid crashing to many apps.
1453 Make sure to delete after release.
1455 2008-02-25 Alexander Larsson <alexl@redhat.com>
1458 Remove deprecated g_file_contains_file.
1460 2008-02-25 Alexander Larsson <alexl@redhat.com>
1463 Emit actual change signals in an idle handler.
1464 This avoids reentrance and locking problems in
1465 the file notification backends.
1467 2008-02-25 Alexander Larsson <alexl@redhat.com>
1470 (g_unix_mount_guess_should_display):
1471 Remove type guessing, instead just display
1472 mounts in /media and in ~/.
1474 2008-02-25 Alexander Larsson <alexl@redhat.com>
1477 Make new strings reuse old ones.
1479 2008-02-25 Alexander Larsson <alexl@redhat.com>
1482 Implement trashing and filesystem::readonly for win32 (#517235)
1483 Patch from Yevgen Muntyan
1485 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1487 * gfileinfo.h: Documentation fixes.
1489 2008-02-22 Alexander Larsson <alexl@redhat.com>
1491 * gcontenttype.c (g_content_type_get_icon):
1492 Look at old-style gnome mime icon names too, as many
1493 have not moved to the new style.
1495 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1497 * *.c: Correct the @include in for section docs.
1499 2008-02-21 David Zeuthen <davidz@redhat.com>
1501 * glocalfileinfo.c: (_g_local_file_info_get):
1503 (g_content_type_get_icon): Implement this function by
1504 moving bits from glocalfileinfo.c
1505 (g_content_type_get_description): Unalias before getting
1506 description (#517687)
1508 * gfile.c: (g_file_class_init),
1509 (g_file_query_filesystem_info_async),
1510 (g_file_query_filesystem_info_finish),
1511 (query_filesystem_info_data_free),
1512 (query_filesystem_info_async_thread),
1513 (g_file_real_query_filesystem_info_async),
1514 (g_file_real_query_filesystem_info_finish):
1515 * gfile.h: Implement async version of
1516 g_file_query_filesystem_info()
1518 * gfileinfo.h: Add new attributes for filesystem::use-preview
1520 * gio.symbols: Update
1522 * gthemedicon.c: (g_themed_icon_append_name):
1523 * gthemedicon.h: Add new new convenience function.
1525 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1526 (get_mounts), (get_volumes), (get_connected_drives),
1527 (get_volume_for_uuid), (get_mount_for_uuid),
1528 (g_union_volume_monitor_init), (populate_union_monitor),
1529 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1530 (g_volume_monitor_adopt_orphan_mount):
1532 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1533 monitor implementations to call into the main volume monitor. Also
1534 separate object initialization and volume monitor initialization
1535 such that non-native volume monitors can properly adopt their
1538 2008-02-21 Alexander Larsson <alexl@redhat.com>
1543 2008-02-21 Alexander Larsson <alexl@redhat.com>
1546 Add more documentation about how GFiles work (from #517086)
1548 2008-02-21 Alexander Larsson <alexl@redhat.com>
1552 Add new g_file_has_prefix that does the same as g_file_contains_file.
1553 Deprecate g_file_contains_file and add a macro that converts
1554 it to g_file_has_prefix.
1555 The reason for this change is that the contains_file() name seems to
1556 imply that this does more work than what it does, but its really only
1557 a name match (from #517086)
1562 Update to match the above change.
1564 2008-02-20 Benjamin Otte <otte@gnome.org>
1566 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1567 (g_file_eject_mountable):
1568 even more cases of not returning in error path
1570 2008-02-20 Benjamin Otte <otte@gnome.org>
1572 * gfile.c: (g_file_mount_mountable):
1573 return from function in error path.
1575 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1578 Remove trailing coma in GMountMountFlags struct
1580 2008-02-18 Alexander Larsson <alexl@redhat.com>
1584 * glocalfileoutputstream.c:
1585 Use g_unlink/g_rename instead of unlink/rename;
1586 do not pass raw filenames to g_set_error. (#517239)
1587 Patch from Yevgen Muntyan.
1589 2008-02-18 Alexander Larsson <alexl@redhat.com>
1592 * glocalfileoutputstream.c:
1593 Open files with O_BINARY on windows. (#517140)
1595 2008-02-14 Alexander Larsson <alexl@redhat.com>
1597 * glocalfileoutputstream.c:
1598 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1600 2008-02-14 Alexander Larsson <alexl@redhat.com>
1603 Copy permissions with file on copy (#514084)
1604 This is what cp does and makes sure e.g. the
1605 exec permissions are kept.
1606 Its kinda weird in that it keeps the permission bits
1607 the same while the uid and gid are different. However
1608 the new uid is the user so its not a security issue,
1609 and I've heard no complaints about cp on this issue.
1611 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1613 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1615 2008-02-13 Alexander Larsson <alexl@redhat.com>
1617 * inotify/inotify-path.c:
1618 Define IN_ONLYDIR if not in header (#515346)
1620 2008-02-12 Alexander Larsson <alexl@redhat.com>
1622 * tests/live-g-file.c:
1625 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1627 * === Released 2.15.5 ===
1629 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1631 * gio.symbols: Add g_mount_mount_flags_get_type.
1633 2008-02-11 Alexander Larsson <alexl@redhat.com>
1636 (g_file_info_set_attribute_mask):
1637 (g_file_attribute_matcher_matches_id):
1638 Correctly handle NULL GAttributeMatcher meaning
1639 matches nothing. (Fixes #513492)
1641 2008-02-11 Alexander Larsson <alexl@redhat.com>
1646 Added GMountMountFlags enum and added a flags
1647 argument to all mount calls.
1649 This is an API/ABI change for future extensibility,
1650 as I think we will need at least an
1651 inhibit-autorun flag (the panel needs this).
1652 There are no flags defined yet though.
1654 2008-02-11 Alexander Larsson <alexl@redhat.com>
1657 Added new standard::description attribute.
1658 Requested by Vincent, and useful for both
1661 2008-02-11 Alexander Larsson <alexl@redhat.com>
1663 * gdesktopappinfo.c:
1666 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1668 * *.c: Documentation additions
1670 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1672 * gappinfo.h: Formatting cleanup
1673 * gappinfo.c: Fix up docs.
1675 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1677 * gunixmounts.c: Consistently use getmntent_r() and fall
1678 back to getmntent(). (#515492)
1680 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1682 * gbufferedinputstream.c:
1684 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1686 * tests/data-input-stream.c:
1687 * tests/data-output-stream.c: Portability fixes.
1689 2008-02-08 Alexander Larsson <alexl@redhat.com>
1694 Add g_volume_should_automount.
1697 2008-02-07 Tor Lillqvist <tml@novell.com>
1699 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1700 Win32, too Unix-specific.
1702 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1704 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1705 a local plt if the compiler doesn't support what we want. Bug #514702
1707 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1709 reviewed by: <delete if not using a buddy>
1712 * gunixinputstream.c:
1713 * gunixoutputstream.c:
1715 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1717 * tests/Makefile.am:
1718 * tests/live-g-file.c:
1719 * tests/live-g-file.txt:
1720 New GIO testing module working over real data
1722 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1724 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1725 Fallback to rename() if link() is not available
1726 (when no support on target filesystem)
1728 2008-02-06 Michael Natterer <mitch@imendio.com>
1730 * gfileinfo.c (g_file_info_get_icon): replace
1731 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1733 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1735 * gfile.c (g_file_create):
1736 Documentation update of error codes
1738 2008-02-06 Alexander Larsson <alexl@redhat.com>
1740 * gdesktopappinfo.c:
1741 Update to use both mimeapps.list and
1742 defaults.list as discussed on xdg list.
1744 2008-02-06 Benjamin Otte <otte@gnome.org>
1747 * gfilenamecompleter.c:
1748 Fix some typos in the documentation.
1750 2008-02-06 Alexander Larsson <alexl@redhat.com>
1752 * glocalfile.c (g_local_file_trash):
1753 Don't succeed with trash if newly created
1754 trash dir has the wrong owner. (#514696)
1756 2008-02-05 Alexander Larsson <alexl@redhat.com>
1758 * glocalfile.c (g_local_file_move):
1759 Don't spew warnings when destination is not
1762 2008-02-03 Hans Breuer <hans@breuer.org>
1764 * makefile.msc : update
1766 2008-02-01 Michael Natterer <mitch@imendio.com>
1768 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1769 return value of xdg_mime_list_mime_parents() to a variable of the
1772 2008-02-01 Alexander Larsson <alexl@redhat.com>
1774 * gappinfo.c (g_app_info_launch_uris):
1775 Actually call the launch_uris method, not
1778 2008-02-01 Alexander Larsson <alexl@redhat.com>
1780 * gdesktopappinfo.c (g_desktop_app_info_equal):
1781 Ensure appinfos with no id but same pointer value
1784 2008-02-01 Alexander Larsson <alexl@redhat.com>
1786 * gappinfo.c (g_app_info_launch_default_for_uri):
1789 2008-02-01 Alexander Larsson <alexl@redhat.com>
1793 Add g_app_info_launch_default_for_uri utility
1796 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1798 * gdesktopappinfo.c:
1799 Doc fix for g_app_info_get_default_for_uri_scheme ()
1802 2008-01-30 Alexander Larsson <alexl@redhat.com>
1805 Add doc comment about uris vs GFiles to
1808 * gdesktopappinfo.c:
1809 Ensure uris passed to g_app_info_launch_uris()
1810 are not roundtriped through GFile (as that
1811 may be slightly destructive for e.g. mailto: links)
1813 2008-01-30 Alexander Larsson <alexl@redhat.com>
1815 * tests/data-input-stream.c:
1816 * tests/data-output-stream.c:
1817 C89 fixes from Jens Granseuer (#512849)
1819 2008-01-30 Alexander Larsson <alexl@redhat.com>
1822 Fix gamin/fam difference build issue. (#509419)
1824 2008-01-29 Alexander Larsson <alexl@redhat.com>
1827 * gdesktopappinfo.c:
1828 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1830 2008-01-29 Alexander Larsson <alexl@redhat.com>
1832 * gdesktopappinfo.c:
1833 * gdesktopappinfo.h:
1834 giomodule-priv.h include moved to .c file.
1836 2008-01-29 Alexander Larsson <alexl@redhat.com>
1838 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1839 Remove unused prio/name fields.
1841 2008-01-29 Alexander Larsson <alexl@redhat.com>
1843 * gcontenttype.c (looks_like_text):
1844 Don't treat whitespace as control chars.
1846 2008-01-29 Alexander Larsson <alexl@redhat.com>
1848 * gdesktopappinfo.c:
1849 Lazily create the desktop files for appinfos created
1850 by g_app_info_create_from_commandline() when needed
1851 for mime associations. This allows run-time use
1852 of GAppInfo object without creating unnecessary
1855 2008-01-29 Alexander Larsson <alexl@redhat.com>
1858 Added new symbols to gio.symbols
1860 2008-01-29 Alexander Larsson <alexl@redhat.com>
1863 Add g_file_query_default_handler utility to easily look up
1864 the GAppInfo that handles a file.
1866 * gdesktopappinfo.[ch]:
1868 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1871 Remove unused function
1873 2008-01-29 Alexander Larsson <alexl@redhat.com>
1875 * gfileenumerator.c:
1876 Mention need to free returned value in
1877 g_file_enumerator_next_files_finish docs.
1878 Fix leak if g_file_enumerator_next_files_finish()
1881 2008-01-29 Alexander Larsson <alexl@redhat.com>
1884 (_g_unix_content_type_get_parents):
1885 Use list_parents, not get_parents from xdgmime, because
1886 the later doesn't use the cache.
1888 * xdgmime/xdgmimecache.c:
1889 (_xdg_mime_cache_list_mime_parents):
1890 Don't list the same type as parent multiple times.
1892 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1894 * === Released 2.15.4 ===
1896 2008-01-28 Alexander Larsson <alexl@redhat.com>
1899 Register local vfs with prio 0.
1902 Remove old name and prio class members
1904 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1906 * tests/g-file.c: Disable some tests that are failing in
1907 the absence of a http backend.
1909 2008-01-28 Alexander Larsson <alexl@redhat.com>
1913 Add registration hooks for extension points.
1914 Register the gio extension points.
1916 * fam/gfamdirectorymonitor.c:
1917 * fam/gfamfilemonitor.c:
1918 * glocaldirectorymonitor.[ch]:
1919 * glocalfilemonitor.[ch]:
1920 * gnativevolumemonitor.h:
1921 * gunionvolumemonitor.c:
1922 * gunixvolumemonitor.c:
1925 * inotify/ginotifydirectorymonitor.c:
1926 * inotify/ginotifyfilemonitor.c:
1927 Use the extension points registration instead
1928 of g_type_children().
1930 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1933 * gvolume.[hc]: Document new API.
1935 * gfile.c (g_file_copy_async): Fix docs
1937 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1939 * gbufferedinputstream.c:
1941 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1944 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1946 * glocalfile.c: Avoid trivial differences in translatable strings.
1948 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1950 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1951 build with gcc 3.4 (#509419)
1953 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1955 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1956 (#509994, Murray Cumming)
1958 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1960 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1961 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1962 this allows big jobs to be executed in chunks, instead of blocking
1963 the main loop for a long time.
1965 * gsimpleasyncresult.c:
1966 * giofile.c: Adapt callers.
1968 2008-01-25 Alexander Larsson <alexl@redhat.com>
1970 * gdesktopappinfo.c:
1971 Implement changes discussed on xdg list.
1972 Now we can add supported mimetypes by just using defaults.list
1973 We can also remove associations in defaults.list.
1975 2008-01-25 Alexander Larsson <alexl@redhat.com>
1977 * gdesktopappinfo.c:
1978 Don't make local copy of desktop file
1979 for mimetype changes if the file already
1980 supports the new mimetype.
1982 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1986 * gbufferedinputstream.c:
1987 * glocalfile.c: String improvements. (#511966,
1988 Theppitak Karoonboonyanan)
1990 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1992 * gioscheduler.h: Expand docs a bit.
1994 2008-01-24 Alexander Larsson <alexl@redhat.com>
1997 Add g_drive_get_identifier and
1998 g_drive_enumerate_identifiers
2001 Add g_volume_get_identifier and
2002 g_volume_enumerate_identifiers
2008 Implement identifiers for unix backend
2010 2008-01-24 Alexander Larsson <alexl@redhat.com>
2015 Add g_file_copy_async() (#511580)
2016 Based on patch from Carlos Garcia Campos
2018 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2020 * gioscheduler.c: Some documentation additions.
2022 2008-01-22 Alexander Larsson <alexl@redhat.com>
2024 * gdesktopappinfo.c:
2025 (g_desktop_app_info_new):
2026 Don't leak basename.
2028 2008-01-22 Alexander Larsson <alexl@redhat.com>
2030 * gdesktopappinfo.c:
2031 (g_desktop_app_info_new_from_filename):
2034 2008-01-22 Alexander Larsson <alexl@redhat.com>
2036 * glocalfileinfo.c (get_thumbnail_attributes):
2039 2008-01-22 Alexander Larsson <alexl@redhat.com>
2042 (canonicalize_filename):
2043 Canonicalize paths that start with more than
2047 (compare_two_files):
2048 (test_g_file_new_for_path):
2051 2008-01-22 Alexander Larsson <alexl@redhat.com>
2054 Allow UTF-8 in file:// parse names.
2056 * tests/Makefile.am:
2057 * tests/data-input-stream.c:
2058 * tests/data-output-stream.c:
2059 * tests/g-file-info.c:
2061 Added a bunch of tests from Tomas Bzatek
2063 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2065 * === Released 2.15.3 ===
2067 2008-01-21 Alexander Larsson <alexl@redhat.com>
2069 * gfileinputstream.[ch]:
2070 * gfileoutputstream.[ch]:
2072 Remove duplicated GSeekable functions. (#509990)
2073 Just use the g_seekable_xxx() calls instead.
2075 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2078 * gvolumemanager.c: Whitespace cleanups.
2080 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2081 Use the right mode when creating the file.
2083 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2085 * gfileenumerator.c:
2086 * gfileinputstream.c:
2088 * goutputstream.c: Documentation: Fixed minor typos
2089 and added more mentions of specific _finish() functions.
2091 2008-01-21 Alexander Larsson <alexl@redhat.com>
2093 * inotify/Makefile.am:
2094 * inotify/inotify-helper.c:
2095 * inotify/inotify-kernel.c:
2096 * inotify/inotify-path.c:
2097 * inotify/local_inotify.h: Removed.
2098 * inotify/local_inotify_syscalls.h: Removed.
2099 Removed the included copies of the inotify
2100 headers. We now only use the <sys/inotify.h>
2101 header which exists on modern systems.
2102 This fixes problems on ARM and SH5 (#510448)
2103 but is also generally much cleaner and future
2104 safe. For instance, if other OSes add support
2105 for inotify it should "just work".
2107 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2109 * inotify/*.c: Coding style fixes.
2110 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2111 for the 1/4 Hz timer.
2113 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2116 * gfilemonitor.[hc]:
2117 * gmemoryinputstream.c:
2118 * gmemoryoutputstream.c:
2119 * gmountoperation.c:
2120 * gthemedicon.c: Documentation updates
2122 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2124 * gfile.c: documentation: Fixed more minor
2127 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2129 * gmount.c: (g_mount_remount): documentation:
2130 Mention g_mount_remount_finish() instead of
2131 g_mount_unmount_finish().
2133 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2137 * gfile.c: Fixed some minor typos in the
2140 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2142 * gio/gvolumemonitor.c:
2143 (g_volume_monitor_get_connected_drives):
2144 (g_volume_monitor_get_volumes):
2145 (g_volume_monitor_get_mounts): Documentation:
2146 Clarify the ownership of the regurn GLists.
2148 2008-01-17 Alexander Larsson <alexl@redhat.com>
2151 Add the async find_enclosing_mount version
2152 to the header file too.
2154 2008-01-17 Alexander Larsson <alexl@redhat.com>
2157 Add async version of find_enclosing_mount
2158 with default implementation.
2160 2008-01-17 Alexander Larsson <alexl@redhat.com>
2165 Allow calls to implementation of copy and write
2166 even if the type of the file implementations is
2167 different. This can be used to implement native
2168 upload and download calls in a vfs.
2171 (g_local_file_move):
2172 Protect against the case where move is called
2173 with one file not being local.
2175 Make sure we call the progress callback once
2176 in the native move operation so that the caller
2177 knows how many bytes were copied.
2179 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2182 * gdatainputstream.c:
2184 * gfileoutputstream.c:
2189 * gunixmounts.c: Corrected some typos in the documentation:
2190 occured -> occurred.
2191 its -> it's (where appropriate).
2193 2008-01-16 Alexander Larsson <alexl@redhat.com>
2197 Add g_file_query_exists (#508771)
2199 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2204 * gvolume.c: For async functions that have no non-async
2205 version, document that the GAsyncReadyCallback may be NULL.
2208 2008-01-15 Alexander Larsson <alexl@redhat.com>
2210 * gmemoryinputstream.c:
2211 * gmemoryoutputstream.c:
2212 Don't do pointer arithmetic on void * (#508602)
2213 Patch from Kazuki IWAMOTO
2215 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2217 * === Released 2.15.2 ===
2219 2008-01-14 Alexander Larsson <alexl@redhat.com>
2221 * gfile.c (g_file_monitor_file):
2222 Don't set error here, since we fallback to polling monitor.
2224 2008-01-14 Alexander Larsson <alexl@redhat.com>
2227 (g_file_monitor_directory):
2228 (g_file_monitor_file):
2229 Add GError to file monitor calls
2231 * glocaldirectorymonitor.c:
2232 * glocaldirectorymonitor.h:
2234 * glocalfilemonitor.c:
2235 * glocalfilemonitor.h:
2237 Update for above change
2239 2008-01-14 Alexander Larsson <alexl@redhat.com>
2243 Handle root correctly in g_file_get_relative_path (#508719)
2245 2008-01-14 Alexander Larsson <alexl@redhat.com>
2248 Clean up docs and example for GAsyncResult (#508074)
2250 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2252 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2253 and correct some spelling mistakes. Bug #508108.
2255 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2257 * glocalfileinfo.c: Add a comment.
2259 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2261 * gfileinfo.c: GFileInfo description: Mention
2262 how to actually set attributes in a GFile and how to discover
2263 which attributes are settable. Bug #508378.
2265 2008-01-10 A. Walton <awalton@svn.gnome.org>
2267 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2268 (g_app_info_get_default_for_type):
2269 Check for NULL content types.
2271 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2273 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2275 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2277 * gfile.c: *_async() functions: Several small corrections
2278 to the documentation, mostly correcting copy/paste errors
2279 and improving some sentences.
2281 2008-01-09 Dan Winship <danw@gnome.org>
2283 * glocalfile.c (get_unique_filename): x86_64 fix
2285 2008-01-09 Alexander Larsson <alexl@redhat.com>
2290 Add g_unix_mount_guess_should_display and use
2291 for unix volume monitor backend.
2292 This means we more or less show what the
2293 gnome-vfs backend did.
2294 Based on patch from Padraig O'Briain
2296 2008-01-09 Alexander Larsson <alexl@redhat.com>
2300 Add g_themed_icon_new_with_default_fallbacks
2303 Use default fallbacks for icons
2305 2008-01-09 Alexander Larsson <alexl@redhat.com>
2308 * gmountoperation.[ch]:
2309 Change the API a bit so that unhandled methods
2310 get reported via the reply, rather than by
2311 the signal emission return value. This is because
2312 some handlers can't know this immediately without
2313 doing I/O, and this is an async operation that
2316 2008-01-09 Alexander Larsson <alexl@redhat.com>
2319 * fam/gfamdirectorymonitor.c:
2320 * fam/gfamfilemonitor.c:
2321 Fix double free crash (#508224)
2322 Patch from Joe Marcus Clarke
2324 008-01-07 Matthias Clasen <mclasen@redhat.com>
2326 * === Released 2.15.1 ===
2328 2008-01-07 Alexander Larsson <alexl@redhat.com>
2330 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2331 Fix warning (#507835)
2333 2008-01-07 Alexander Larsson <alexl@redhat.com>
2336 Pass --internal to glib-genmarshal
2339 * gmountoperation.c:
2341 Use better types for signal arguments (#507822)
2343 2008-01-07 Alexander Larsson <alexl@redhat.com>
2346 Build test subdir after .
2347 Remove gdirectorymonitor.[ch]
2349 * gdirectorymonitor.[ch]:
2353 Remove GDirectoryMonitor and make
2354 GFileMonitor the baseclass for both file and
2355 directory monitors. Lift the more generic
2356 rate limiting code from GDirectoryMonitor
2360 * fam/gfamdirectorymonitor.[ch]:
2361 * inotify/ginotifydirectorymonitor.[ch]:
2362 * inotify/inotify-helper.c:
2363 * glocaldirectorymonitor.[ch]:
2366 Update for the removed GDirectoryMonitor.
2368 * gmemoryoutputstream.c:
2369 Remove ununsed variable
2371 2008-01-07 Alexander Larsson <alexl@redhat.com>
2373 * gmemoryinputstream.c:
2374 Translate error strings
2377 * gmemoryoutputstream.[ch]:
2378 New implementation that avoids using GByteArray
2379 in implementation and API. (#506377)
2381 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2383 * tests/*: Add a test for memory input streams.
2385 * Makefile.am: Add tests to SUBDIRS.
2387 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2389 * glocalfilemonitor.c:
2390 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2393 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2395 * gdesktopappinfo.c: Fix a docs typo.
2397 * gfileattribute.c: Add information about extended attributes
2398 to the documentation. (#505058)
2400 2008-01-04 Alexander Larsson <alexl@redhat.com>
2403 * gmountoperation.c:
2404 Use the right type (uint) for the ask_password signal.
2406 2008-01-04 Alexander Larsson <alexl@redhat.com>
2411 Add g_app_info_supports_files()
2412 Remove desktop arg from g_app_info_should_show().
2414 * gdesktopappinfo.[ch]:
2415 Implement g_app_info_supports_files() and new should_show()
2416 Add g_desktop_app_info_set_desktop_env() to set the desktop
2417 for should_show(). (This will be set by gtk+ later)
2419 2008-01-04 Alexander Larsson <alexl@redhat.com>
2422 * gmemoryinputstream.[ch]:
2423 Improve API so that you can use multiple chunks
2424 of memory and custom destroy functions. (#506374)
2426 2008-01-03 Alexander Larsson <alexl@redhat.com>
2429 Handle NULL attribute matchers safely, as we return this
2430 for empty attribute matcher strings.
2432 2008-01-03 Alexander Larsson <alexl@redhat.com>
2434 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2435 Add /usr/local to list of internal mountpoints
2437 2008-01-03 Alexander Larsson <alexl@redhat.com>
2440 Check for HAVE_LCHOWN (#505887)
2442 2008-01-03 Alexander Larsson <alexl@redhat.com>
2446 Add define for selinux context attribute.
2447 Fix missing : -> :: namespace separator change
2448 Fix missing _ -> - name change for xattr-sys.
2451 2008-01-03 Alexander Larsson <alexl@redhat.com>
2454 Link to libglib and libgobject directly (#504879)
2455 Patch from Sebastien Bacher
2457 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2459 * gfile.c: Expanded the g_file_new_for_commandline_arg
2460 description a bit, based on the code and the docs of the
2461 other g_file_new_for_* functions.
2463 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2465 * gfilemonitor.h: Fixed typo in docs.
2467 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2469 Updates to GIO documentation. (#506395, Mikael Hermansson)
2471 * gcontenttype.c: Describe memory management for return value of
2472 g_content_types_get_registered(). Missing piece from #505815.
2473 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2474 GVolume, GDrive, GMounts, which hopefully gives the user less
2475 confusions when using this API. Following explainations from
2476 Alexander Larsson on gtk-devel-list.
2478 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2480 * gfileinfo.c: Expand the long description.
2482 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2485 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2486 fix builds with --disable-visibility. (#500273, Christian Persch)
2488 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2490 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2491 in the list of returned app infos.
2493 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2495 * gappinfo.c: Fix a cross-reference
2497 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2499 * gfileinputstream.c:
2500 * gfileoutputstream.c:
2504 * gdesktopappinfo.c:
2506 * gfileinfo.c: Documentation updates.
2508 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2510 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2513 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2515 * gcontenttype.c (g_content_types_get_registered): Don't return
2516 freed memory (#505815, Mikael Hermansson)
2518 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2520 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2521 used to detect statbuf->st_blocks. (#505042)
2523 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2525 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2526 environment handling. (#504829, Cosimo Cecchi)
2528 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2530 * gappinfo.c: Doc improvements
2532 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2535 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2537 * === Released 2.15.0 ===
2539 2007-12-20 Hans Breuer <hans@breuer.org>
2541 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2542 with symbols gwin32appinfo.obj, added gmount.obj
2543 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2545 2007-12-20 Alexander Larsson <alexl@redhat.com>
2551 * gfilenamecompleter.c:
2554 * gpollfilemonitor.c:
2555 File attribute renames:
2557 fs:: -> filesystem::
2558 id::fs -> id::filesystem
2560 2007-12-20 Alexander Larsson <alexl@redhat.com>
2569 Add GMountUnmountFlags to all unmount and
2571 Add g_mount_remount() call.
2573 2007-12-20 Alexander Larsson <alexl@redhat.com>
2575 * gvfs.c (get_default_vfs):
2576 Fix unused variable warning
2578 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2580 * pltcheck.sh: Update
2582 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2584 * gunionvolumemonitor.c:
2585 * gunixmount.c: Remove C99 comments
2587 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2589 * gio.symbols: Add some missing symbols
2591 2007-12-19 Alexander Larsson <alexl@redhat.com>
2594 Make g_io_modules_load_all_in_directory not unuse
2595 loaded modules so that users of it can do stuff
2597 Init internal "module" types.
2598 Initialize static prio and name for types so that
2599 we don't have to load modules to get it.
2601 * gnativevolumemonitor.h:
2603 Move is_supported to parent class so that
2604 non-native monitors can avoid being initialized
2605 too. (For instance GDaemonVolumeMonitor if we're
2606 not using GDaemonVfs.)
2608 * glocaldirectorymonitor.[ch]:
2609 * glocalfilemonitor.[ch]:
2610 * gunionvolumemonitor.c:
2611 * gunixvolumemonitor.c:
2613 Find plugins using the static prio+name to
2614 avoid unnecessarily loading the modules.
2616 2007-12-19 Alexander Larsson <alexl@redhat.com>
2621 2007-12-19 Alexander Larsson <alexl@redhat.com>
2623 * gunionvolumemonitor.c:
2624 Store the native type as GType, not class so that
2625 we can unload it. But still avoid unnecessarily
2628 2007-12-19 David Zeuthen <davidz@redhat.com>
2630 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2631 add signals 'disconnected' and 'eject-button' on GDrive. Add
2632 signal 'removed' on GVolume and 'unmounted' on GMount.
2634 * gdrive.c: (g_drive_base_init):
2636 * gfile.c: (g_file_mount_mountable),
2637 (g_file_mount_enclosing_volume):
2640 * gmount.c: (g_mount_base_init):
2642 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2643 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2644 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2648 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2650 * *.c: Fix up includes in the section docs.
2652 2007-12-17 Alexander Larsson <alexl@redhat.com>
2654 * gnativevolumemonitor.h:
2655 * gunionvolumemonitor.c:
2656 * gunixvolumemonitor.c:
2657 Add is_supported() to GNativeVolumeMonitorClass so
2658 that we can avoid having to create an object to see
2659 if the backend is supported at runtime.
2660 Also add name member and an env var to pick a specific
2661 volume monitor backend.
2665 Add cancellable to _g_mount_get_for_mount_path()
2667 * glocaldirectorymonitor.c:
2668 * glocalfilemonitor.c:
2669 Avoid loading and unloading modules while sorting.
2671 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2674 * gunixmounts.[hc]: Namespace waste reduction, move some
2675 g_get_unix_mount functions to the g_unix_mount namespace.
2678 * gunixvolumemonitor.c:
2680 * glocaldirectorymonitor.c: Update all callers.
2682 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2684 2007-12-17 Alexander Larsson <alexl@redhat.com>
2687 Add doc comments about what GFile operations are
2688 guaranteed to not block.
2690 2007-12-17 Alexander Larsson <alexl@redhat.com>
2693 Add missing #ifdef fixing OSX build.
2694 (#503334, patch from Richard Hult)
2696 2007-12-14 David Zeuthen <davidz@redhat.com>
2700 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2701 (g_mount_eject), (g_mount_eject_finish):
2703 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2704 (get_volume_for_uuid), (get_mount_for_uuid),
2705 (g_union_volume_monitor_class_init),
2706 (get_default_native_type_with_exclude), (get_default_native_type),
2707 (get_native_type), (update_native_type),
2708 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2709 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2710 (g_unix_mount_can_eject), (eject_unmount_cb),
2711 (eject_unmount_read_error), (eject_unmount_do),
2712 (g_unix_mount_unmount), (g_unix_mount_eject),
2713 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2714 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2715 (g_unix_mount_point_guess_can_eject):
2717 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2718 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2719 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2720 (g_unix_volume_mount), (g_unix_volume_eject),
2721 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2722 * gunixvolumemonitor.c: (get_volume_for_uuid),
2723 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2725 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2726 (g_volume_eject), (g_volume_eject_finish):
2728 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2729 (g_volume_monitor_get_mount_for_uuid):
2732 Provide eject() on both GMount and GVolume and utility functions
2733 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2734 ejected. Introduce the concept of UUID's and wire it into GVolume
2735 and GMount and provide API on GVolumeMonitor to find such
2736 instances. Also handle the case where an external
2737 GNativeVolumeMonitor fails to initialize. Lock around the
2738 _g_get_mount_for_mount_path() function such that volume monitor
2739 implementations won't have to do locking themselves.
2741 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2743 * gdesktopappinfo.c:
2749 * gvolume.h: Documentation updates
2751 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2754 * gfile.h: Doc updates
2756 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2759 * gdesktopappinfo.c: Use hash table iterators.
2761 2007-12-14 Alexander Larsson <alexl@redhat.com>
2764 * gfileattribute.[ch]:
2765 * gfileattribute-priv.h:
2766 Move GFileAttributeValue to a private header, as
2770 Make set_attribute take a type + a pointer instead
2771 of a GFileAttributeValue.
2774 Fix up for above changes.
2775 Add g_file_info_get_attribute_data to get
2776 all info in one call, g_file_info_get_attribute_status
2777 to get the status and g_file_info_get_attribute_as_string.
2781 * glocalfileinfo.[ch]:
2785 Make _guess_type static.
2787 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2790 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2791 made mkenums and friends use temporary files to avoid leaving
2792 empty generated files on failure (#503470).
2794 2007-12-14 Alexander Larsson <alexl@redhat.com>
2796 * gmountoperation.h:
2799 2007-12-14 Alexander Larsson <alexl@redhat.com>
2803 * gfileattribute.[ch]:
2806 * glocalfileoutputstream.c:
2807 * gmountoperation.[ch]:
2808 * goutputstream.[ch]:
2809 Clean up all flags enums to not have _FLAGS in them
2810 Make the names of some of the enums better.
2815 2007-12-14 Michael Natterer <mitch@imendio.com>
2817 * gio.symbols: fix g_io_scheduler symbol names.
2819 2007-12-14 Alexander Larsson <alexl@redhat.com>
2825 * gbufferedinputstream.h:
2826 * gbufferedoutputstream.h:
2829 * gdatainputstream.h:
2830 * gdataoutputstream.h:
2831 * gdesktopappinfo.h:
2832 * gdirectorymonitor.h:
2836 * gfileenumerator.h:
2839 * gfileinputstream.h:
2841 * gfilenamecompleter.h:
2842 * gfileoutputstream.h:
2843 * gfilterinputstream.h:
2844 * gfilteroutputstream.h:
2852 * gmemoryinputstream.h:
2853 * gmemoryoutputstream.h:
2855 * gmountoperation.h:
2858 * gsimpleasyncresult.h:
2860 * gunixinputstream.h:
2862 * gunixoutputstream.h:
2866 * inotify/Makefile.am:
2867 Only allow including <gio/gio.h> from apps
2869 2007-12-14 Alexander Larsson <alexl@redhat.com>
2871 * gioscheduler.[ch]:
2872 * gsimpleasyncresult.c:
2873 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2874 Split out the send_to_mainloop call into two versions instead
2875 of having the block argument.
2877 2007-12-13 Alexander Larsson <alexl@redhat.com>
2879 * gcancellable.[ch]:
2881 * gbufferedinputstream.c:
2882 * gfileenumerator.c:
2883 * gfileinputstream.c:
2884 * gfileoutputstream.c:
2888 g_push/pop_current_cancellable ->
2889 g_cancellable_push/pop_current
2891 2007-12-13 Alexander Larsson <alexl@redhat.com>
2895 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2897 2007-12-13 Alexander Larsson <alexl@redhat.com>
2899 * gmountoperation.h:
2900 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2902 2007-12-12 Alexander Larsson <alexl@redhat.com>
2905 Fix race condition when freeing proxy in
2906 g_io_job_send_to_mainloop().
2908 2007-12-12 Alexander Larsson <alexl@redhat.com>
2914 Make attribute namespace separator "::" instead of ":".
2915 Use - instead of _ as separator in attribute names.
2917 2007-12-12 Alexander Larsson <alexl@redhat.com>
2919 * gbufferedinputstream.h:
2920 * gbufferedoutputstream.h:
2921 * gdatainputstream.h:
2922 * gdataoutputstream.h:
2923 * gdirectorymonitor.h:
2924 * gfileenumerator.h:
2925 * gfileinputstream.h:
2927 * gfileoutputstream.h:
2928 * gfilterinputstream.h:
2929 * gfilteroutputstream.h:
2931 * glocalfileinputstream.h:
2932 * glocalfileoutputstream.h:
2933 * gmemoryinputstream.h:
2934 * gmemoryoutputstream.h:
2935 * gnativevolumemonitor.h:
2937 * gunixinputstream.h:
2938 * gunixoutputstream.h:
2941 s/parent/parent_instance/ in GObjects
2943 2007-12-12 Alexander Larsson <alexl@redhat.com>
2948 No need for padding for interfaces
2950 2007-12-12 Alexander Larsson <alexl@redhat.com>
2954 * gbufferedinputstream.c:
2955 * gbufferedoutputstream.c:
2958 * gdatainputstream.[ch]:
2959 * gdesktopappinfo.c:
2960 * gdirectorymonitor.c:
2962 * gfileattribute.[ch]:
2965 * gfileinputstream.h:
2966 * gfilemonitor.[ch]:
2967 * gfileoutputstream.[ch]:
2968 * gfilterinputstream.h:
2969 * gfilteroutputstream.h:
2972 * gloadableicon.[ch]:
2973 * gmemoryinputstream.c:
2974 * gmountoperation.c:
2976 Fix up a bunch of details in the docs.
2981 2007-12-11 David Zeuthen <davidz@redhat.com>
2983 Rework how volumes, drives and volume monitoring is
2984 done. Previosly the model was
2986 GDrive <1-1> GVolume
2988 where a GDrive instance represented a mount point and a GVolume
2989 instance represented a mounted file system. This patch changes it
2992 GDrive <1-N> GVolume <1-1> GMount
2994 where GMount now serves the purpose of the old GVolume and the new
2995 GVolume serves the purpose of the old GDrive. In addition the new
2996 GDrive interface is used to represent a collection of GVolume
2997 instances (typically partitions) and also contains utility to query
2998 the state of the physical drive the GDrive object represents (such
2999 as checking for media, polling the drive, ejecting the media etc.).
3001 Also implement mounting and unmounting in the Unix volume monitor
3002 backend. A subquent patch will introduce GDrive support for ejection
3006 * gdrive.c: (g_drive_is_media_check_automatic),
3007 (g_drive_is_media_removable), (g_drive_has_media),
3008 (g_drive_can_poll_for_media), (g_drive_eject),
3009 (g_drive_eject_finish), (g_drive_poll_for_media),
3010 (g_drive_poll_for_media_finish):
3012 * gfile.c: (g_file_find_enclosing_mount):
3015 * glocaldirectorymonitor.c:
3016 (g_local_directory_monitor_constructor), (mounts_changed):
3017 * glocalfile.c: (get_mount_info),
3018 (g_local_file_find_enclosing_mount),
3019 (g_local_file_file_iface_init):
3020 * gnativevolumemonitor.h:
3021 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3022 (get_connected_drives), (g_union_volume_monitor_class_init),
3023 (child_volume_added), (child_volume_removed),
3024 (child_volume_changed), (child_mount_added), (child_mount_removed),
3025 (child_mount_pre_unmount), (child_mount_changed),
3026 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3027 (g_union_volume_monitor_remove_monitor),
3028 (_g_mount_get_for_mount_path):
3029 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3030 (guess_system_internal), (_g_get_unix_mounts),
3031 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3032 (g_unix_mount_free), (g_unix_mount_compare),
3033 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3034 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3035 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3036 (type_to_icon), (g_unix_mount_guess_name),
3037 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3038 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3039 (_resolve_symlink), (_resolve_dev_root):
3041 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3042 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3043 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3044 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3045 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3046 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3047 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3048 (g_unix_volume_volume_iface_init):
3050 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3051 (get_mounts), (get_volumes), (get_connected_drives),
3052 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3053 (mountpoints_changed), (mounts_changed),
3054 (g_unix_volume_monitor_init),
3055 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3056 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3057 * gunixvolumemonitor.h:
3058 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3059 (g_volume_mount), (g_volume_mount_finish):
3061 * gvolumemonitor.c: (g_volume_monitor_class_init),
3062 (g_volume_monitor_get_connected_drives),
3063 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3066 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3068 * gmountoperation.h (GPasswordFlags): Close the gap
3070 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3072 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3074 * gdesktopappinfo.[hc]: Remove _-prefixes
3076 2007-12-10 Tor Lillqvist <tml@novell.com>
3078 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3081 2007-12-10 Alexander Larsson <alexl@redhat.com>
3083 * gfile.c (g_file_set_display_name):
3084 Don't hardcode '/' (#502727)
3086 2007-12-09 Hans Breuer <hans@breuer.org>
3088 * makefile.msc : follow lib naming convention
3089 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3090 for user and group name, tested with ../tests/gio-ls
3092 2007-12-09 A. Walton <awalton@svn.gnome.org>
3094 * gdesktopappinfo.c:
3100 * gfileenumerator.c:
3105 * gmemoryinputstream.c:
3106 * gmemoryoutputstream.c:
3108 * gsimpleasyncresult.c:
3109 More documentation cleanup and filling in missing information, bringing
3110 GIO to 99% symbol coverage.
3112 2007-12-08 Hans Breuer <hans@breuer.org>
3114 [gio compiles and links on win32, not sure how much already works]
3115 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3116 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3117 base on win32 API; prefer g_lstat() over lstat(); instead of
3118 localtime_r() use an all GLib implementation on win32;
3119 get_mount_info() still needs a win32 specifc implementation
3120 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3121 win32_get_file_user_info to get owner/group info without uid/gid
3122 * glocalfileinputstream.c : include <io.h> on win32
3123 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3124 definition, use g_win32_ftruncate() for G_OS_WIN32
3125 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3126 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3127 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3128 * makefile.msc : updated
3130 2007-12-07 Alexander Larsson <alexl@redhat.com>
3132 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3133 Avoid warning spew if error == NULL
3135 2007-12-07 Alexander Larsson <alexl@redhat.com>
3138 Update docs wrt etags
3140 2007-12-06 Alexander Larsson <alexl@redhat.com>
3143 Include sys/types.h for dev_t (#501919)
3145 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3149 Make abicheck and pltcheck pass.
3151 2007-12-05 Alexander Larsson <alexl@redhat.com>
3154 * giomodule-priv.h: Added.
3155 * glocaldirectorymonitor.c:
3156 * glocalfilemonitor.c:
3157 * gunionvolumemonitor.c:
3159 Actually add the declaration of _g_io_modules_ensure_loaded
3161 2007-12-05 Alexander Larsson <alexl@redhat.com>
3163 * gdatainputstream.c:
3168 * glocaldirectorymonitor.c:
3169 * glocalfilemonitor.c:
3170 * gunionvolumemonitor.c:
3172 Make g_io_modules_ensure_loaded a private function and
3173 don't pass in the dirname. This means we can do magic
3174 directory finding in the win32 version.
3175 Export the actual load-modules-in-directory code so that
3176 gvfs can reuse that.
3178 2007-12-05 Alexander Larsson <alexl@redhat.com>
3180 * gbufferedinputstream.c:
3181 * gbufferedoutputstream.c:
3184 * gfileenumerator.[ch]:
3185 * gfileinputstream.c:
3186 * gfileoutputstream.[ch]:
3187 * gfilterinputstream.c:
3188 * gfilteroutputstream.c:
3189 * ginputstream.[ch]:
3191 * glocalfileenumerator.c:
3192 * glocalfileinputstream.c:
3193 * glocalfileoutputstream.c:
3194 * gmemoryinputstream.c:
3195 * gmemoryoutputstream.c:
3196 * goutputstream.[ch]:
3199 * gunixinputstream.c:
3200 * gunixoutputstream.c:
3201 Rename all struct members named:
3202 read, write, close, truncate, or mount
3203 to foo_fn, as these are reserved names
3204 and could be defined as macros in libc.
3207 2007-12-04 Alexander Larsson <alexl@redhat.com>
3210 (g_output_stream_close):
3211 Only call flush if non-null.
3213 2007-11-30 Dan Winship <danw@gnome.org>
3215 * ginputstream.c (g_input_stream_set_pending): Make this take a
3216 GError and return a gboolean, and do the "outstanding operation"
3217 check (and the "stream is already closed" check) itself.
3218 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3220 * goutputstream.c (g_output_stream_set_pending)
3221 (g_output_stream_clear_pending): Likewise
3223 * gbufferedinputstream.c:
3224 * gfileinputstream.c:
3225 * gfileoutputstream.c: Update for that
3227 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3228 Like g_simple_async_report_error_in_idle, but takes a GError
3229 rather than building one.
3231 2007-11-30 Dan Winship <danw@gnome.org>
3233 * goutputstream.c: Don't cheat and unset the "pending" flag around
3234 inner calls. Instead, call the class method directly rather than
3235 the wrapper function that checks "pending"
3237 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3239 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3241 2007-12-03 Hans Breuer <hans@breuer.org>
3243 [start of port to win32/msvc]
3244 * gcancellable.c : HAVE_UNIST_H and _pipe()
3245 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3246 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3247 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3249 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3250 * glocalvfs.c : use HAVE_PWD_H
3251 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3252 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3253 * Makefile.am : added to EXTRA_DIST
3255 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3257 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3260 2007-12-03 Alexander Larsson <alexl@redhat.com>
3263 Handle OSX style xattrs API (#500506)
3265 2007-12-03 Alexander Larsson <alexl@redhat.com>
3269 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3271 2007-12-02 A. Walton <awalton@svn.gnome.org>
3275 Documentation accuracy fixes.
3277 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3279 * gioenumtypes.c.template: Fix typo.
3281 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3283 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3285 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3287 * gdirectorymonitor.c:
3288 * gfilemonitor.c: Add properties
3290 * gbufferedoutputstream.c: Don't mark buffer-size property
3293 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3295 * gbufferedoutputstream.c: Add auto-grow property.
3297 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3299 * *.c: Unify the capitalization of section headings.
3301 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3303 * gmountoperation.c: Add properties
3305 * gdatainputstream.c: Turn byte-order and newline-type into
3308 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3310 * gioenumtypes.[hc].template: Templates for enum registration
3312 * Makefile.am: Generate gioenumtypes.[hc]
3314 * gio.h: Include gioenumtypes.h
3316 * gfile.h: Add some explicit nicks.
3318 * gio.symbols: Add new symbols
3320 * pltcheck.sh: Adjust
3322 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3324 * *.c: Explain etags and link to the explanation
3326 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3328 * *.c: Explain I/O priority.
3330 * *.c: More coding style fixes.
3332 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3334 * gasyncresult.c: Add another paragraph to the intro,
3335 adjust coding style of example.
3337 2007-11-29 A. Walton <awalton@svn.gnome.org>
3340 Fixes unknown meaning in GAppLaunchContext docs.
3342 Clarify asynchronous ops.
3344 Fix entity tag docs.
3347 Provides missing gtk-doc section, fixes API docs slighly.
3348 * gsimpleasyncresult.c:
3349 Fill in missing info in docs.
3350 * gunixinputstream.c:
3351 * gunixoutputstream.c:
3352 Be more expressive in short description.
3354 Remove gtk-doc stubs for non-public API.
3356 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3358 * *.c: Coding style fixups
3360 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3362 * inotify/inotify-helper.c: Don't export the lock from libgio.
3364 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3367 * abicheck.sh: Fix copy-and-paste leftovers
3369 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3371 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3373 2007-11-28 Alexander Larsson <alexl@redhat.com>
3377 Removed unnecessary file
3379 * gdesktopappinfo.[ch]:
3382 * glocaldirectorymonitor.[ch]:
3384 * glocalfileenumerator.[ch]:
3385 * glocalfileinputstream.[ch]:
3386 * glocalfilemonitor.[ch]:
3387 * glocalfileoutputstream.[ch]:
3389 * gnativevolumemonitor.c:
3390 * gpollfilemonitor.[ch]:
3391 * gunionvolumemonitor.[ch]:
3394 * gunixvolumemonitor.[ch]:
3397 * inotify/ginotifydirectorymonitor.[ch]:
3398 * inotify/ginotifyfilemonitor.[ch]:
3399 * inotify/inotify-helper.c:
3400 Append _ to all internal functions
3404 Export symbols needed for modules
3406 2007-11-28 Alexander Larsson <alexl@redhat.com>
3409 * abicheck.sh: Added.
3410 * makegioalias.pl: Added.
3411 * pltcheck.sh: Added.
3412 * gio.symbols: Added.
3415 Initial work on adding symbol handling.
3418 Correct ifdef guard name
3421 * inotify/Makefile.am:
3422 * xdgmime/Makefile.am:
3423 Include toplevel Makefile.decl
3425 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3427 * gcontenttype.c: Move doc comments to the unix section.
3429 * *.[hc]: More trivial doc corrections.
3431 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3433 * gpollfilemonitor.c:
3437 * gdesktopappinfo.c:
3442 * gdatainputstream.c:
3443 * gdatainputstream.h:
3444 * gdataoutputstream.c:
3445 * gdataoutputstream.h:
3446 * gfileinfo.h: Doc cleanups
3448 2007-11-28 Andre Klapper <a9016009@gmx.de>
3450 * gdesktopappinfo.c: Fix a typo.
3452 2007-11-27 Andre Klapper <a9016009@gmx.de>
3454 * glocalfileoutputstream.c: Fix a typo.
3456 2007-11-27 Alexander Larsson <alexl@redhat.com>
3459 Don't include removed headers
3461 2007-11-27 Alexander Larsson <alexl@redhat.com>
3464 * gsocketinputstream.[ch]: Removed.
3465 * gsocketoutputstream.[ch]: Removed.
3466 * gunixinputstream.[ch]: Added.
3467 * gunixoutputstream.[ch]: Added.
3468 Renamed GSocket*Stream to GUnix*Stream and made
3469 it unix-only, since its not really only for sockets
3470 and it only works on unix (but is highly useful there).
3472 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3478 * gbufferedinputstream.c:
3479 * gbufferedinputstream.h:
3480 * gbufferedoutputstream.c:
3481 * gbufferedoutputstream.h:
3485 * gdatainputstream.c:
3486 * gdatainputstream.h:
3487 * gdataoutputstream.c:
3488 * gdataoutputstream.h:
3489 * gdirectorymonitor.c:
3490 * gdirectorymonitor.h:
3497 * gfileenumerator.c:
3498 * gfileenumerator.h:
3503 * gfileinputstream.c:
3504 * gfileinputstream.h:
3507 * gfilenamecompleter.c:
3508 * gfilenamecompleter.h:
3509 * gfileoutputstream.c:
3510 * gfileoutputstream.h:
3511 * gfilterinputstream.c:
3512 * gfilterinputstream.h:
3513 * gfilteroutputstream.c:
3514 * gfilteroutputstream.h:
3527 * glocalfileoutputstream.c:
3528 * gmemoryinputstream.c:
3529 * gmemoryinputstream.h:
3530 * gmemoryoutputstream.c:
3531 * gmemoryoutputstream.h:
3532 * gmountoperation.c:
3533 * gmountoperation.h:
3536 * gpollfilemonitor.c:
3539 * gsimpleasyncresult.c:
3540 * gsimpleasyncresult.h:
3541 * gsocketinputstream.c:
3542 * gsocketinputstream.h:
3543 * gsocketoutputstream.c:
3544 * gsocketoutputstream.h:
3551 * gunixvolumemonitor.c:
3560 Bumps documentation to 93% symbol coverage, touching most
3561 of the public files. Fixes broken function documentation prototypes.
3562 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3563 gtk-doc headers in private files.
3565 2007-11-27 Jürg Billeter <j@bitron.ch>
3567 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3568 (g_buffered_input_stream_read_byte):
3569 * gbufferedinputstream.h:
3570 New functions for efficient access to buffer and simple single byte
3573 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3574 (g_data_input_stream_read_until):
3575 * gdatainputstream.h:
3576 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3577 read_until with multiple stop chars.
3579 2007-11-27 Alexander Larsson <alexl@redhat.com>
3583 * inotify/Makefile.am:
3584 Use the user-specified giomoduledir
3586 2007-11-27 Alexander Larsson <alexl@redhat.com>
3590 Add catch-all gio.h header
3591 Don't install gdummyfile.h
3593 2007-11-26 Alexander Larsson <alexl@redhat.com>
3595 * Makefile.am (gioinclude_HEADERS):
3596 Remove trailing whitespace
3598 2007-11-26 Alexander Larsson <alexl@redhat.com>
3600 Merge gio-standalone into glib
3602 2007-11-25 Christian Kellner <gicmo@gnome.org>
3604 * gio/goutputstream.c:
3605 Fix small mistake in the docs.
3607 2007-11-21 Christian Persch <chpe@gnome.org>
3609 * gio/glocalfile.c: (g_local_file_trash):
3610 Convert filenames to UTF-8 for GError.
3611 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3612 as per xdg base dir spec.
3614 2007-11-21 Christian Persch <chpe@gnome.org>
3616 * gio/gdesktopappinfo.c:
3617 Use that g_key_file_to_data cannot fail.
3619 Use stock defines for the key file group and key names.
3622 2007-11-21 Alexander Larsson <alexl@redhat.com>
3625 (copy_stream_with_progress):
3626 Make sure we do a final progress callback with
3627 the full total size.
3629 2007-11-21 Alexander Larsson <alexl@redhat.com>
3632 Export g_file_copy_attributes
3633 Remove padding as its not needed for interfaces
3635 2007-11-20 Alexander Larsson <alexl@redhat.com>
3640 Add G_IO_ERROR_WOULD_MERGE for
3641 copy/move dir on dir with overwrite.
3643 2007-11-20 Alexander Larsson <alexl@redhat.com>
3646 * gio/glocalfileinfo.c:
3647 Add COPY_NAME (this is an optional
3648 non-modified utf8 version of the name) that
3651 2007-11-20 Alexander Larsson <alexl@redhat.com>
3653 * gio/glocalfileenumerator.c:
3654 Report errors as GIOError, not GFileError
3656 2007-11-16 Alexander Larsson <alexl@redhat.com>
3658 * gio/glocalfileoutputstream.c:
3659 * gio/gwin32appinfo.c:
3660 Fix typos in strings.
3661 Patch from Luca Ferretti <elle.uca@libero.it>
3663 2007-11-15 Alexander Larsson <alexl@redhat.com>
3666 Post release version bump
3668 === gio-standalone 0.1.2 ===
3670 2007-11-15 Alexander Larsson <alexl@redhat.com>
3672 * docs/reference/gio/Makefile.am:
3673 Fix up distcheck by removing weird
3679 2007-11-14 Alexander Larsson <alexl@redhat.com>
3681 * gio/gdesktopappinfo.c:
3682 * gio/glocaldirectorymonitor.c:
3684 * gio/glocalfileinfo.c:
3685 * gio/inotify/inotify-sub.c:
3686 * programs/gio-cat.c:
3687 * programs/gio-copy.c:
3688 * programs/gio-info.c:
3689 * programs/gio-ls.c:
3690 * programs/gio-monitor-dir.c:
3691 * programs/gio-monitor-file.c:
3692 * programs/gio-mount.c:
3693 * programs/gio-move.c:
3694 * programs/gio-rm.c:
3695 * programs/gio-save.c:
3696 * programs/gio-trash.c:
3697 Leak fixes from Kjartan Maraas
3699 2007-11-14 Alexander Larsson <alexl@redhat.com>
3701 * gio/fam/fam-helper.c:
3703 * gio/glocalfileinfo.c:
3707 * gio/inotify/inotify-diag.c:
3708 * gio/inotify/inotify-kernel.c:
3709 Various code cleanups from Kjartan Maraas
3711 2007-11-14 Alexander Larsson <alexl@redhat.com>
3713 * gio/gioscheduler.c:
3715 Set up threadpool so that we cache 2 unused
3716 idle threads for at 15 secs. This means we
3717 will reuse thread-local data (like dbus connections)
3720 2007-11-14 Alexander Larsson <alexl@redhat.com>
3722 * gio/fam/fam-helper.c:
3723 * gio/fam/gfamdirectorymonitor.c:
3724 * gio/fam/gfamfilemonitor.c:
3726 * gio/gcontenttype.c:
3727 * gio/gdatainputstream.c:
3728 * gio/gdataoutputstream.c:
3732 * gio/gfileattribute.h:
3733 * gio/gfileenumerator.c:
3735 * gio/ginputstream.c:
3738 * gio/glocalfileinfo.c:
3739 * gio/goutputstream.c:
3740 * gio/gpollfilemonitor.c:
3741 * gio/gsimpleasyncresult.c:
3742 * gio/gunixmounts.c:
3743 * gio/gunixmounts.h:
3744 * gio/inotify/ginotifydirectorymonitor.c:
3745 * gio/inotify/ginotifyfilemonitor.c:
3746 * gio/inotify/inotify-diag.c:
3747 * gio/inotify/inotify-kernel.c:
3748 * gio/inotify/inotify-path.c:
3750 * gio/test-streams.c:
3751 * programs/gio-info.c:
3752 * programs/gio-monitor-dir.c:
3753 * programs/gio-monitor-file.c:
3754 Various code cleanups from Kjartan Maraas
3756 2007-11-13 Alexander Larsson <alexl@redhat.com>
3759 Handle the uri-scheme calls for dummy files
3761 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3763 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3764 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3765 to avoid clash with the C++ keyword.
3767 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3769 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3770 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3772 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3774 * gio/glocaldirectorymonitor.c:
3775 * gio/glocalfilemonitor.c:
3776 * gio/gunionvolumemonitor.c:
3777 Don't use g_once_init_*() for initializations that could fail and
3778 could leave the initialization variable set to 0 but use GOnce.
3779 This prevents a deadlock on the second call when trying to create
3780 a monitor and no monitor type is available. Thanks to Sven Herzberg
3783 2007-11-11 Sven Herzberg <sven@imendio.com>
3785 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3786 #ifdef (make it work on MacOS X again)
3788 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3790 Fixes Changelog for last two commits (sorry guys).
3792 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3794 * gio/gbufferedinputstream.c:
3795 * gio/gdatainputstream.c:
3797 * gio/gfileoutputstream.c:
3798 * gio/gfilterinputstream.c:
3799 * gio/glocalfileinputstream.c:
3802 More consistency fixes in g*stream.c files.
3803 Significant clean of gfile's documentation, filling in of
3804 asynchronous operations documentation.
3806 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3808 * gio/gasyncresult.c:
3809 * gio/gbufferedinputstream.c:
3810 * gio/gbufferedoutputstream.c:
3811 * gio/gcancellable.c:
3812 * gio/gcontenttype.c:
3813 * gio/gdatainputstream.c:
3814 * gio/gdataoutputstream.c:
3815 * gio/gdesktopappinfo.c:
3818 * gio/gfileattribute.c:
3819 * gio/gio/gfileenumerator.c:
3821 * gio/gfileinputstream.c:
3822 * gio/gfilemonitor.c:
3823 * gio/gfileoutputstream.c:
3824 * gio/ginputstream.c:
3826 * gio/gioscheduler.c:
3827 * gio/gloadableicon.c:
3828 * gio/glocalfileoutputstream.c:
3829 * gio/gmemoryoutputstream.c:
3830 * gio/gmountoperation.c:
3831 * gio/goutputstream.c:
3833 * gio/gsimpleasyncresult.c:
3834 * gio/gunionvolumemonitor.c:
3835 * gio/gunixmounts.c:
3836 * gio/gunixvolume.c:
3840 * gio/gvolumemonitor.c:
3841 Updated documentation stubs, working towards consistency and
3844 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3846 * gio/gmemoryoutputstream.c:
3847 * gio/gmemoryoutputstream.h:
3848 Change g_memory_output_stream_set_free_on_close() to
3849 g_memory_output_stream_set_free_data() as this makes more sense and
3850 is more consistent with GMemoryInputStream.
3852 2007-11-07 Alexander Larsson <alexl@redhat.com>
3859 Change how we find the default vfs so that
3860 we can handle a gvfs failing to init
3862 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3864 * gio/gbufferedoutputstream.c:
3865 * gio/gdatainputstream.c:
3866 * gio/gdataoutputstream.c:
3867 * gio/gfileinputstream.c:
3868 * gio/gfileoutputstream.c:
3869 * gio/gfilterinputstream.c:
3870 * gio/gfilteroutputstream.c:
3871 * gio/ginputstream.c:
3872 * gio/gmemoryinputstream.c:
3873 * gio/gmemoryoutputstream.c:
3874 * gio/goutputstream.c:
3875 * gio/gsimpleasyncresult.c:
3876 * gio/gsocketinputstream.c:
3877 * gio/gsocketoutputstream.c:
3878 Add guards to the remaining public functions, add a TODO for
3879 an unimplemented function and remove some useless guards.
3881 2007-11-07 Alexander Larsson <alexl@redhat.com>
3884 Autoconf checks for the various types of
3885 getpwuid_r and getgrgid_r
3887 * gio/glocalfileinfo.c:
3888 Use the autoconf checks from above
3890 2007-11-07 Alexander Larsson <alexl@redhat.com>
3893 (g_local_file_query_filesystem_info):
3894 Some fixes for the statvfs case
3896 2007-11-07 Alexander Larsson <alexl@redhat.com>
3899 (g_local_file_query_filesystem_info):
3900 Pick the "best" of statfs / statvfs for the system
3901 if both are availible.
3903 2007-11-07 Alexander Larsson <alexl@redhat.com>
3905 Solaris fixes from Halton.Huo@Sun.COM:
3912 * gio/glocalfileinfo.c:
3913 Fix for solaris definition of getpwuid_r
3915 * gio/test-streams.c:
3916 Use G_GNUC_PRETTY_FUNCTION
3918 2007-11-07 Alexander Larsson <alexl@redhat.com>
3920 * gio/gdesktopappinfo.c:
3921 (update_default_list):
3922 Remove double semicolon.
3923 Patch from Jens Granseuer
3925 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3927 * docs/reference/gio/gio-sections.txt:
3928 * gio/gbufferedinputstream.c:
3929 * gio/gbufferedinputstream.h:
3930 * gio/gdatainputstream.c:
3931 * gio/gfileenumerator.c:
3932 * gio/gioscheduler.c:
3933 * gio/gunionvolumemonitor.c:
3935 * programs/gio-save.c:
3936 Fix typo: availible -> available. Unfortuntely this breaks API
3937 and ABI as g_buffered_input_stream_get_available() was renamed.
3939 * gio/gunixmounts.c:
3940 * gio/gbufferedinputstream.c:
3941 Add guards for public functions.
3943 2007-11-06 Ross Burton <ross@openedhand.com>
3945 * docs/reference/gio/Makefile.am:
3946 Fix invalid += usage which automake 1.10 doesn't like.
3948 2007-11-06 Alexander Larsson <alexl@redhat.com>
3951 (g_app_launch_context_class_init):
3954 Patch from Ross Burton
3956 2007-11-06 Alexander Larsson <alexl@redhat.com>
3959 Post release version bump
3961 === gio-standalone 0.1.1 ===
3963 2007-11-06 Alexander Larsson <alexl@redhat.com>
3966 Bump version to 0.1.1
3968 * gio/gsimpleasyncresult.c:
3969 (g_simple_async_result_set_from_error):
3970 Remove bogus g_return_if_fail
3972 2007-11-06 Alexander Larsson <alexl@redhat.com>
3975 The name is gio-standalone
3978 Add top src/builddir to includedir
3980 2007-11-06 Alexander Larsson <alexl@redhat.com>
3982 * docs/reference/gio/gio-sections.txt:
3984 * gio/gbufferedinputstream.c:
3985 * gio/gbufferedoutputstream.c:
3986 * gio/gcancellable.c:
3987 * gio/gdatainputstream.h:
3988 * gio/gdataoutputstream.c:
3989 * gio/gdataoutputstream.h:
3990 * gio/gdirectorymonitor.c:
3992 * gio/gfileattribute.c:
3993 * gio/gfileattribute.h:
3994 * gio/gfileenumerator.c:
3995 * gio/gfileenumerator.h:
3998 * gio/gfileinputstream.h:
3999 * gio/gfilemonitor.c:
4000 * gio/gfileoutputstream.h:
4001 * gio/glocalfilemonitor.h:
4002 * gio/glocalfileoutputstream.h:
4003 * gio/gmemoryinputstream.c:
4004 * gio/gmemoryoutputstream.c:
4005 * gio/gmountoperation.c:
4006 * gio/goutputstream.c:
4007 * gio/goutputstream.h:
4009 * gio/gsimpleasyncresult.c:
4010 * gio/gunixmounts.c:
4011 * gio/gunixmounts.h:
4013 * gio/inotify/inotify-helper.c:
4014 Fix gtk-doc warnings
4016 Patch from Ross Burton
4018 2007-11-06 Alexander Larsson <alexl@redhat.com>
4020 * gio/gfilenamecompleter.c:
4021 (g_filename_completer_get_completions):
4024 * gio/gunixvolume.c:
4025 Remove unused function
4027 Patches from Ross Burton
4029 2007-11-06 Alexander Larsson <alexl@redhat.com>
4034 Padding not needed for interfaces
4036 2007-11-06 Alexander Larsson <alexl@redhat.com>
4038 * gio/gfilemonitor.c:
4042 Make giotypes.h an internal file
4045 * gio/gbufferedinputstream.h:
4046 * gio/gbufferedoutputstream.h:
4047 * gio/gcancellable.h:
4048 * gio/gdatainputstream.h:
4049 * gio/gdataoutputstream.h:
4050 * gio/gdirectorymonitor.c:
4051 * gio/gdirectorymonitor.h:
4056 * gio/gfileattribute.h:
4057 * gio/gfileenumerator.h:
4062 * gio/gfilemonitor.c:
4063 * gio/gfilemonitor.h:
4064 * gio/gfilenamecompleter.c:
4065 * gio/gfilenamecompleter.h:
4066 * gio/gfilterinputstream.h:
4067 * gio/gfilteroutputstream.h:
4068 * gio/ginputstream.h:
4069 * gio/gmemoryinputstream.h:
4070 * gio/gmemoryoutputstream.h:
4071 * gio/gmountoperation.c:
4072 * gio/gmountoperation.h:
4073 * gio/gnativevolumemonitor.c:
4074 * gio/goutputstream.h:
4077 * gio/gsimpleasyncresult.c:
4078 * gio/gsimpleasyncresult.h:
4079 * gio/gsocketinputstream.h:
4080 * gio/gsocketoutputstream.h:
4081 * gio/gthemedicon.c:
4082 * gio/gthemedicon.h:
4086 * gio/gvolumemonitor.c:
4087 * gio/gvolumemonitor.h:
4088 Add padding in classes where it seems useful
4089 Don't include giotypes.h from public headers
4090 Move in Class definitions into c file where possible
4095 2007-11-06 Alexander Larsson <alexl@redhat.com>
4097 * docs/reference/gio/gio-docs.xml:
4098 Better structure for API docs
4100 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4103 * gio/gloadableicon.c:
4104 * gio/gsimpleasyncresult.c:
4105 * gio/gthemedicon.c:
4106 Add some more guards to public functions. Only files missing are now
4109 2007-11-06 Alexander Larsson <alexl@redhat.com>
4111 * docs/reference/gio/gio-docs.xml:
4112 Remove old files, add missing ones
4114 2007-11-06 Alexander Larsson <alexl@redhat.com>
4116 * docs/reference/gio/gio-sections.txt:
4119 Hide implementation classes
4121 * gio/gdriveprivate.h:
4122 * gio/gvolumeprivate.h:
4123 Remove non-existing function declarations
4125 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4128 Fix compilation warnings and add guards to the new functions.
4130 * gio/gasyncresult.c:
4132 Add guards to the public functions.
4135 Implement get_path().
4137 2007-11-06 Alexander Larsson <alexl@redhat.com>
4139 * gio/gfilenamecompleter.c:
4140 Make g_filename_completer_get_completions
4141 return char ** instead of GList for
4144 * docs/reference/gio/gio-docs.xml:
4145 * docs/reference/gio/gio-sections.txt:
4147 * gio/gasyncresult.c:
4148 * gio/gbufferedinputstream.c:
4149 * gio/gbufferedoutputstream.c:
4150 * gio/gcancellable.c:
4151 * gio/gcontenttype.c:
4152 * gio/gdatainputstream.c:
4153 * gio/gdataoutputstream.c:
4154 * gio/gdesktopappinfo.c:
4155 * gio/gdirectorymonitor.c:
4159 * gio/gfileattribute.c:
4160 * gio/gfileenumerator.c:
4163 * gio/gfileinputstream.c:
4164 * gio/gfilemonitor.c:
4165 * gio/gfilenamecompleter.c:
4166 * gio/gfilenamecompleter.h:
4167 * gio/gfileoutputstream.c:
4168 * gio/gfilterinputstream.c:
4170 * gio/ginputstream.c:
4172 * gio/gioscheduler.c:
4173 * gio/gloadableicon.c:
4174 * gio/glocaldirectorymonitor.c:
4176 * gio/glocalfileinputstream.c:
4177 * gio/glocalfilemonitor.c:
4178 * gio/glocalfileoutputstream.c:
4180 * gio/gmemoryinputstream.c:
4181 * gio/gmemoryoutputstream.c:
4182 * gio/gmountoperation.c:
4183 * gio/goutputstream.c:
4184 * gio/gpollfilemonitor.c:
4186 * gio/gsimpleasyncresult.c:
4187 * gio/gsocketinputstream.c:
4188 * gio/gsocketoutputstream.c:
4189 * gio/gthemedicon.c:
4190 * gio/gunionvolumemonitor.c:
4192 * gio/gunixmounts.c:
4193 * gio/gunixvolume.c:
4194 * gio/gunixvolumemonitor.c:
4198 * gio/gvolumemonitor.c:
4199 * gio/gwin32appinfo.c:
4200 Add (mostly stub) doc strings to public functions.
4201 Patch from Andrew Walton (awalton@gmail.com)
4203 2007-11-06 Alexander Larsson <alexl@redhat.com>
4205 * gio/gappinfo.[ch]:
4206 Added GAppLaunchContext object and pass that to launch.
4207 This allows simple implementation of both
4208 launch-on-screen and startup notification via a gtk+
4209 subclass of GAppLaunchContext
4211 * gio/gdesktopappinfo.c:
4212 Implement GAppLaunchContext API
4214 * gio/gwin32appinfo.c:
4217 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4219 * gio/gmountoperation.c:
4220 Add some guards to GMountOperation's public functions.
4222 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4226 * gio/gcancellable.c:
4227 * gio/gdirectorymonitor.c:
4229 * gio/gfileenumerator.c:
4230 * gio/gfilemonitor.c:,
4231 * gio/gfilenamecompleter.c:
4234 * gio/gioscheduler.c:
4238 * gio/gvolumemonitor.c:
4239 Add even more guards to various public functions.
4241 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4244 Add guards to the public functions of GAppInfo.
4246 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4248 * gio/gcontenttype.c:
4249 Add some more guards for public functions.
4251 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4253 * gio/fam/fam-module.c:
4254 * gio/fam/gfamdirectorymonitor.c:
4255 * gio/fam/gfamdirectorymonitor.h:
4256 * gio/fam/gfamfilemonitor.c:
4257 * gio/fam/gfamfilemonitor.h:
4258 * gio/inotify/ginotifydirectorymonitor.c:
4259 * gio/inotify/ginotifydirectorymonitor.h:
4260 * gio/inotify/ginotifyfilemonitor.c:
4261 * gio/inotify/ginotifyfilemonitor.h:
4262 Add proper copyright information and remove an unused variable
4263 in the GInotifyFileMonitor constructor.
4265 * gio/gcancellable.c:
4266 Add a guard for a public function and an assertion to prevent
4267 an undefined program state.
4269 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4271 * gio/gfileattribute.c:
4272 Don't run into an assertion if the given attribute value is NULL
4273 in g_file_attribute_value_get_*() but instead return a fallback
4274 value that makes sense in most situations. Passing them a attribute
4275 value with the wrong type will still run into an assertion.
4277 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4279 * gio/gfileattribute.c:
4281 Add even more guards to the public functions. Also fix the refcounting
4282 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4283 let g_file_info_list_attributes() filter the attributes by namespace
4284 instead of simply ignoring the namespace parameter.
4286 2007-11-03 Sven Herzberg <sven@imendio.com>
4288 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4289 (This makes gio work on MacOS X again)
4291 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4294 Build the gio subdirectory before the docs. Otherwise the build will
4297 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4298 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4299 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4300 Add guards to the public functions.
4302 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4304 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4305 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4306 to prevent a compiler warning.
4308 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4309 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4310 return something in the non-void function find_topdir_for().
4312 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4319 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4321 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4322 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4323 * gwin32appinfo.c (g_win32_app_info_launch):
4324 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4325 envp_for_startup_id, g_desktop_app_info_launch,
4326 g_desktop_app_info_launch_uris):
4328 Give an opaque 'startup_id' string instead of 'envp'.
4329 Support empty file lists for launching new windows.
4330 Fix infinite recursion bug when launching URIs.
4332 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4335 Add guard to the new g_file_get_uri_scheme() function.
4337 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4340 Convert a g_return_val_if_fail() to setting the GError instead as
4341 otherwise applications have to verify the parameter before otherwise
4342 and the parameter might come directly from the user.
4344 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4346 * gio/inotify/ginotify*.[ch]:
4347 Add missing copyright information.
4349 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4352 Add guards in the beginning of public functions to check for valid
4353 parameters and fix a bug in copy_stream_with_progress() that could've
4354 caused writing less bytes than reading.
4355 * gio/glocalfileinfo.c:
4356 Check for a NULL parameter and set the GError accordingly then.
4357 * gio/goutputstream.c:
4358 Fix the same bug as in gfile.c that could've caused writing less bytes
4359 than reading in g_output_stream_real_splice().
4361 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4364 Use the correct gvolumeprivate.h naming
4366 2007-11-01 Christian Kellner <gicmo@gnome.org>
4369 Remove leftover "$(daemon_sources)" entry.
4371 2007-11-01 Christian Kellner <gicmo@gnome.org>
4376 Add copyright information to source files.
4378 2007-11-01 Alexander Larsson <alexl@redhat.com>
4382 Add g_file_get_uri_scheme
4384 2007-11-01 Alexander Larsson <alexl@redhat.com>
4387 * gio/gdesktopappinfo.c:
4388 * gio/gwin32appinfo.c:
4389 Add g_app_info_get_default_for_uri_scheme.
4391 2007-11-01 Alexander Larsson <alexl@redhat.com>
4394 Correct filename for gdriveprivate.h
4396 2007-10-31 Alexander Larsson <alexl@redhat.com>
4399 Rename id:value to id:file
4402 * gio/glocalfileinfo.c:
4405 2007-10-31 Alexander Larsson <alexl@redhat.com>
4407 * gio/gunixvolume.c:
4409 Remove g_volume_get_platform_id, as thats not
4410 needed with the simpler union volume monitor
4412 2007-10-31 Alexander Larsson <alexl@redhat.com>
4415 * gio/guniondrive.[ch]: Removed.
4416 * gio/gunionvolume.[ch]: Removed.
4417 Remove GUnionDrive/Volume
4419 * gio/gunionvolumemonitor.c:
4420 Simplify union volume monitor, now we
4421 only have one native volume monitor and
4422 we use the actual volumes/drives from the
4423 child monitors instead of wrapping them
4425 * gio/gnativevolumemonitor.[ch]:
4426 Base class for native volume monitors.
4427 Includes priority and get_volume_for_mountpoint
4430 Add g_file_find_enclosing_volume
4433 Remove volume name fs attribute
4434 Add readonly fs attribute
4437 Implement readonly attribute
4438 remove volume name attribute
4439 Implement find_enclosing volume
4441 * gio/gunixmounts.c:
4442 Add a volume for "/".
4444 * gio/gunixvolume.[ch]:
4445 Set better name for /
4447 * gio/gunixvolumemonitor.[ch]:
4448 Derive from GNativeVolumeMonitor
4449 Implement get_volume_for_mountpoint
4452 GVolume typedef moved to gfile.h
4454 * gio/gvolumeprivate.h:
4455 Add g_volume_get_for_mount_path
4457 2007-10-31 Alexander Larsson <alexl@redhat.com>
4459 * gio/gunixmounts.[ch]:
4460 Add cache info to unix mount listers
4461 Make getmntent use threadsafe
4462 Add is_system_internal attribute for GUnixMount
4464 * gio/gunixvolume.c:
4465 (g_unix_volume_new):
4466 Use is_system_internal instead of own code
4468 * gio/glocaldirectorymonitor.c:
4469 * gio/gunixvolumemonitor.c:
4470 Update to new gunixmounts API
4475 2007-10-30 Alexander Larsson <alexl@redhat.com>
4478 Add volume name fsinfo attribute
4481 Read volume name info
4483 * gio/gunionvolumemonitor.c:
4484 Fix infinite loops when finalizing a union volume monitor
4486 2007-10-30 Alexander Larsson <alexl@redhat.com>
4488 * gio/goutputstream.[ch]:
4489 Add splice() with default implementation
4491 * gio/gsocketoutputstream.c:
4492 (g_socket_output_stream_write):
4493 Return error on cancellation correctly.
4495 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4497 * gio/glocalfile.c (g_local_file_trash):
4498 Do not leak a string.
4500 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4502 * gio/gfile.c (g_file_load_contents):
4503 Unref the stream after closing it.
4505 2007-10-25 Alexander Larsson <alexl@redhat.com>
4507 * gio/gioscheduler.h:
4510 2007-10-25 Alexander Larsson <alexl@redhat.com>
4514 Add g_file_has_uri_scheme and implement for local files
4516 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4518 * gio/gdesktopappinfo.c: do not leak a string.
4520 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4522 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4523 (g_local_directory_monitor_new):
4524 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4525 (g_local_file_monitor_new):
4526 Only look for the monitor type that should be used the first time
4527 and use g_qsort_with_data() instead of our own bubble sort
4530 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4533 * gio/fam/Makefile.am:
4534 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4535 * gio/fam/fam-helper.h:
4536 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4537 * gio/fam/gfamdirectorymonitor.c:
4538 * gio/fam/gfamdirectorymonitor.h:
4539 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4540 * gio/fam/gfamfilemonitor.h:
4541 * gio/glocaldirectorymonitor.c:
4542 * gio/glocaldirectorymonitor.h:
4543 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4544 * gio/glocalfilemonitor.h:
4545 * gio/inotify/Makefile.am:
4546 * gio/inotify/ginotifydirectorymonitor.c:
4547 * gio/inotify/ginotifydirectorymonitor.h:
4548 * gio/inotify/ginotifyfilemonitor.c:
4549 * gio/inotify/ginotifyfilemonitor.h:
4550 Implement the FAM and Inotify monitors as
4551 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4552 their own GIO module. GLocal(Directory|File)Monitor will use the
4553 monitor with the highest rank that is supported on that machine.
4555 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4558 Change GIO module dir to $(libdir)/gio/modules and change
4559 the log domain from GVFS to GIO. Also only export symbols starting
4560 with g_ in the resulting library.
4561 * gio/test-streams.c: (main):
4562 Set log handler for the GIO log domain.
4564 2007-10-22 Alexander Larsson <alexl@redhat.com>
4566 * gio/gfilenamecompleter.[ch]:
4567 Add g_filename_completer_set_dirs_only
4569 2007-10-22 Alexander Larsson <alexl@redhat.com>
4572 * gio/gurifuncs.[ch]:
4573 Add some simple URI helpers
4575 * gio/gfilenamecompleter.[ch]:
4576 Added object for filename (parse name actually) completion
4579 Handle ~ in parse names
4581 2007-10-17 Alexander Larsson <alexl@redhat.com>
4584 * gio/glocalfileinfo.c:
4585 Add and implement id:value attribute
4587 2007-10-17 Alexander Larsson <alexl@redhat.com>
4590 * gio/guniondrive.c:
4592 Add and implement g_drive_has_volumes
4594 2007-10-17 Alexander Larsson <alexl@redhat.com>
4597 * gio/glocalfileinfo.[ch]:
4598 Add unix:is_mountpoint and implement for local files
4600 2007-10-16 Alexander Larsson <alexl@redhat.com>
4602 * gio/gunionvolumemonitor.c:
4603 (g_union_volume_monitor_init):
4604 Fix up the unix type getting so that it works with gcc
4606 2007-10-12 Alexander Larsson <alexl@redhat.com>
4609 * gio/glocalfileinfo.c:
4610 Add thumbnail:failed to file info
4612 2007-10-12 Richard Hult <richard@imendio.com>
4614 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4615 optimizing away the get_type call (happens with some gcc versions,
4616 like the one shipped with OS X 10.4).
4618 2007-10-12 Alexander Larsson <alexl@redhat.com>
4620 * gio/glocalfileinfo.c:
4621 (_g_local_file_info_set_attribute):
4622 Fix build if not HAVE_XATTR
4623 Patch from Milosz Derezynski <internalerror@gmail.com>
4625 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4627 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4628 around for review, otherwise I would have asked you before
4631 2007-10-11 Alexander Larsson <alexl@redhat.com>
4634 Add thumbnail:path attribute
4636 * gio/glocalfileinfo.c:
4637 Implement thumbnail:path for local files
4639 2007-10-11 Alexander Larsson <alexl@redhat.com>
4641 * gio/glocalfileinfo.c:
4642 (_g_local_file_info_get):
4643 Avoid duplicate icon names
4645 2007-10-11 Alexander Larsson <alexl@redhat.com>
4647 * gio/gthemedicon.[ch]:
4648 Change g_themed_icon_get_names return type to const
4650 2007-10-10 Alexander Larsson <alexl@redhat.com>
4652 * gio/glocalfileinfo.c:
4653 Don't reference freed memory
4655 2007-10-10 Alexander Larsson <alexl@redhat.com>
4657 * gio/gfileattribute.c:
4660 * gio/glocalfileinfo.c:
4663 2007-10-10 Alexander Larsson <alexl@redhat.com>
4666 Check for NULL icons
4668 * gio/gfileattribute.c:
4669 Don't dup when getting objects (same as for string attributes)
4671 * gio/gicon.c (g_icon_equal):
4672 Safely handle NULLs in equal
4674 2007-10-10 Alexander Larsson <alexl@redhat.com>
4677 Fix c++ compilation issues
4678 Patch from Milosz Derezynski <internalerror@gmail.com>
4680 2007-10-10 Alexander Larsson <alexl@redhat.com>
4682 * programs/gio-monitor-dir.c:
4683 Don't crash if dir monitor not supported.
4685 2007-10-09 Alexander Larsson <alexl@redhat.com>
4688 Add missing G_END_DECLS
4690 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4692 * gio/gfile.c: (g_file_set_display_name),
4693 (g_file_query_settable_attributes),
4694 (g_file_query_writable_namespaces):
4695 Return NULL not FALSE on errors as the return type is a pointer.
4697 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4699 * gio/glocalfile.c: (g_local_file_monitor_file):
4700 Don't call monitor_file on the default interface vtable (which
4701 is NULL) but simply return NULL. The caller, GFile, will create a
4702 polling monitor if NULL is returned.
4704 2007-10-09 Alexander Larsson <alexl@redhat.com>
4708 * gio-unix-2.0.pc.in:
4709 Add gio-unix-2.0.pc if OS_UNIX
4712 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4714 2007-10-09 Alexander Larsson <alexl@redhat.com>
4716 * gio/gunixmounts.[ch]:
4717 Make unix mount monitoring API sane.
4718 Now its just a object with mounts_changed
4719 and mountpoints_changed signals.
4721 * gio/glocaldirectorymonitor.c:
4722 * gio/gunixvolumemonitor.c:
4723 Use new mount monitor api
4725 2007-10-09 Alexander Larsson <alexl@redhat.com>
4727 * gio/gunixmounts.[ch]:
4728 Move guess type into one call for mounts and one for mountpoints
4731 * gio/gunixvolume.c:
4734 2007-10-09 Alexander Larsson <alexl@redhat.com>
4736 * gio/gunixmounts.[ch]:
4737 Remove _ prefix in preparation to make this semi-public
4738 Hide implementation of structs
4740 * gio/glocaldirectorymonitor.c:
4742 * gio/gunixvolume.c:
4743 * gio/gunixvolumemonitor.c:
4744 Update for above API changes
4746 2007-10-08 Alexander Larsson <alexl@redhat.com>
4749 Better polling fallback. This also handles the case where we have
4750 a monitor_file implementation, but it fails.
4752 2007-10-08 Alexander Larsson <alexl@redhat.com>
4756 * gio/gunixmounts.c:
4757 * programs/gio-monitor-dir.c:
4758 * programs/gio-monitor-file.c:
4759 Added cancellable to file monitoring calls.
4760 These are really sync calls and need this.
4762 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4764 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4765 (g_local_vfs_class_init):
4766 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4767 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4769 2007-10-05 Alexander Larsson <alexl@redhat.com>
4771 * gio/gdirectorymonitorprivate.h:
4772 * gio/gfilemonitorprivate.h:
4773 * gio/gdirectorymonitor.h:
4774 * gio/gfilemonitor.h:
4775 Remove *private.h and move to the public API, so that
4776 we can do implementations outside gio (such as in gvfs)
4778 * gio/gdirectorymonitor.c:
4779 * gio/gfilemonitor.c:
4780 * gio/glocaldirectorymonitor.c:
4781 * gio/gpollfilemonitor.c:
4782 * gio/inotify/inotify-helper.c:
4783 * gio/fam/fam-helper.c:
4784 Update to the new header names
4786 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4788 * gio/gdirectorymonitor.c:
4789 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4792 2007-10-04 Alexander Larsson <alexl@redhat.com>
4794 * gio/glocalfileinfo.c (get_access_rights):
4795 Set CAN_TRASH when we can move the file.
4796 We should really also check for a parent trash dir.
4798 2007-10-04 Alexander Larsson <alexl@redhat.com>
4800 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4801 Add can_trash access attribute
4803 2007-10-04 Alexander Larsson <alexl@redhat.com>
4806 (g_local_file_trash):
4807 Create info file first. This is per-spec and allows
4808 us to actually trash directories.
4810 2007-10-02 Alexander Larsson <alexl@redhat.com>
4812 * gio/gdesktopappinfo.c:
4813 Implement the new mime support code.
4814 Always set app as handling mimetype when being set as default for it
4816 2007-10-01 Alexander Larsson <alexl@redhat.com>
4818 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4819 Fix up check for xattrs:
4821 2007-10-01 Alexander Larsson <alexl@redhat.com>
4824 (g_app_info_set_as_default_for_extension):
4825 (g_app_info_add_supports_type):
4826 (g_app_info_can_remove_supports_type):
4827 (g_app_info_remove_supports_type):
4828 Make these fail nicely if not implemented
4830 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4832 * gio/glocalfileoutputstream.c:
4833 * gio/glocalfileoutputstream.h:
4838 * programs/gio-save.c:
4839 Add a GFileCreateFlags argument to operations that can create
4842 2007-10-01 Alexander Larsson <alexl@redhat.com>
4844 * gio/gappinfo.[ch]:
4845 * gio/gdesktopappinfo.c:
4846 Add more (stubbed out) mime API needed for nautilus
4848 2007-10-01 Alexander Larsson <alexl@redhat.com>
4851 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4852 Add g_app_info_set_as_default_for_extension.
4854 * gio/gdesktopappinfo.c:
4855 Dummy for g_app_info_set_as_default_for_extension
4856 Support flags in g_app_info_create_from_commandline
4858 * gio/gwin32appinfo.c:
4860 Update for API changes
4862 * gio/gthemedicon.c:
4863 Properly NULL-terminate list of icon names
4865 2007-09-28 Alexander Larsson <alexl@redhat.com>
4867 * gio/gloadableicon.h:
4868 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4870 2007-09-28 Alexander Larsson <alexl@redhat.com>
4873 Install headers in $includedir/gio-standalone/
4875 * gio-2.0.pc.in: Added.
4876 * gio-standalone.pc.in: Removed.
4879 Renamed pkg-config file to match glib (for future move)
4880 Update to the new include dir
4883 Add more TODO comments
4885 2007-09-28 Alexander Larsson <alexl@redhat.com>
4887 * gio/gdesktopappinfo.[ch]:
4888 Expose new_from_filename
4889 Add getter for is_hidden and handle it better
4891 2007-09-28 Alexander Larsson <alexl@redhat.com>
4893 * gio/gfileinfo.[ch]:
4894 Rename g_file_size_format_for_display to
4895 g_format_file_size_for_display.
4896 Now it doesn't have the g_file prefix, so we
4897 can later move it to glib.
4899 2007-09-28 Alexander Larsson <alexl@redhat.com>
4901 * gio/gappinfo.[ch]:
4902 Add g_app_info_get_id and g_app_info_get_executable.
4903 Make all getters non-reffing
4904 Make g_app_info_launch take GFile arguments.
4905 Add must_support_uris argument to g_app_info_get_default_for_type.
4907 * gio/gwin32appinfo.c:
4908 Update to GAppInfo api changes
4910 * gio/gdesktopappinfo.c:
4911 Update to GAppInfo api changes
4912 Implement supports_xdg_startup_notify
4914 * gio/gfileicon.c (g_file_icon_get_file):
4915 Make getter non-reffing.
4920 2007-09-27 Alexander Larsson <alexl@redhat.com>
4922 * gio/gfileinfo.[ch]:
4923 Add g_file_size_format_for_display helper
4925 2007-09-27 Alexander Larsson <alexl@redhat.com>
4927 * gio/glocalfileinfo.c:
4928 Set UNIX_GID from gid, not from uid
4930 2007-09-27 Alexander Larsson <alexl@redhat.com>
4933 Add g_file_set_attributes_async
4935 2007-09-27 Alexander Larsson <alexl@redhat.com>
4937 * gio/glocalfile.c (g_local_file_set_display_name):
4938 Fix set_display_name to actually rename to the right place.
4939 Use lstat to look for existing files so we don't overwrite
4942 2007-09-26 Alexander Larsson <alexl@redhat.com>
4945 Add g_file_set_display_name_async()
4947 2007-09-26 Alexander Larsson <alexl@redhat.com>
4950 Add load_partial_contents async calls
4953 Make internal function static
4955 2007-09-26 Alexander Larsson <alexl@redhat.com>
4957 * gio/glocalfileinfo.c:
4958 Correctly detect broken symlinks
4960 2007-09-26 Alexander Larsson <alexl@redhat.com>
4962 * gio/gcancellable.c (g_cancellable_cancel):
4963 Allow cancel on NULL cancellable
4965 2007-09-25 Alexander Larsson <alexl@redhat.com>
4967 * gio/gsimpleasyncresult.c:
4968 Don't allocate g_error manually.
4969 Fixes g_slice/g_new mixup crash
4971 2007-09-25 Alexander Larsson <alexl@redhat.com>
4973 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4974 Actually set active_backend.
4975 This means the monitor will be cancelled correctly.
4977 2007-09-25 Alexander Larsson <alexl@redhat.com>
4979 * gio/gdirectorymonitor.c:
4980 Set timeout to NULL when destroying
4982 2007-09-25 Alexander Larsson <alexl@redhat.com>
4985 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4986 that is a better description of the error.
4988 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4990 * gio/gvfs.c: (g_vfs_get_local):
4991 Make the local vfs variable static. The same instance should
4994 2007-09-24 Alexander Larsson <alexl@redhat.com>
4996 * gio/glocalfileinfo.c:
4997 Pass in actual length read into sniffer, not the length
5000 2007-09-21 Alexander Larsson <alexl@redhat.com>
5002 * gio/gfileenumerator.c:
5005 * gio/gfileinputstream.c:
5006 * gio/gfileoutputstream.c:
5007 * gio/ginputstream.c:
5008 * gio/goutputstream.c:
5009 Don't crash if async callbacks are NULL
5011 2007-09-20 Alexander Larsson <alexl@redhat.com>
5014 Add async enumerate_children method and default
5017 2007-09-20 Alexander Larsson <alexl@redhat.com>
5020 Add g_file_contains_file & g_file_get_relative_path, since they
5021 were needed for nautilus.
5022 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5027 Implement new methods
5029 2007-09-17 Alexander Larsson <alexl@redhat.com>
5032 * gio/gfileinputstream.[ch]:
5033 * gio/gfileoutputstream.[ch]:
5035 * gio/glocalfileenumerator.[ch]:
5036 * gio/glocalfileinfo.[ch]:
5037 * gio/glocalfileinputstream.c:
5038 * gio/glocalfileoutputstream.c:
5039 * gio/gpollfilemonitor.c:
5040 * programs/gio-copy.c:
5041 * programs/gio-info.c:
5042 * programs/gio-move.c:
5043 Rename get_file_info to query_info() to make it clearer
5044 that these are not simple getters, but do i/o.
5046 2007-09-17 Alexander Larsson <alexl@redhat.com>
5048 * gio/gdatainputstream.[ch]:
5049 * gio/test-streams.c:
5050 Use _read_XXX instead of _get_XXX for the i/o calls
5053 2007-09-17 Alexander Larsson <alexl@redhat.com>
5056 Added needed stuff to TODO comment
5058 2007-09-17 Alexander Larsson <alexl@redhat.com>
5060 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5061 Don't error out removing the backup copy if it doesn't
5064 2007-09-14 Alexander Larsson <alexl@redhat.com>
5066 * programs/Makefile.am:
5067 * programs/gvfs-*.c:
5069 Renamed apps from gvfs-xxx to gio-xxx.
5071 2007-09-14 Alexander Larsson <alexl@redhat.com>
5074 * gio/gfileoutputstream.[ch]:
5075 * gio/glocalfileoutputstream.c:
5076 * programs/gvfs-save.c:
5077 g_file_output_stream_get_etag doesn't do i/o, so remove
5078 cancellation and error.
5080 2007-09-14 Alexander Larsson <alexl@redhat.com>
5083 Add new_etag output to replace_contents functions
5085 2007-09-14 Alexander Larsson <alexl@redhat.com>
5087 * gio/gfileoutputstream.[ch]:
5088 Add async get_file_info and default implementation
5090 2007-09-14 Alexander Larsson <alexl@redhat.com>
5092 * gio/gfileinputstream.c:
5093 Implement fallback wrapper for async get_file_info
5095 2007-09-14 Alexander Larsson <alexl@redhat.com>
5098 Add etag out argument to load_contents
5103 2007-09-14 Alexander Larsson <alexl@redhat.com>
5105 * gio/gcontenttype.c (looks_like_text):
5106 Whitespace like tab, cr and lf do not make the
5109 2007-09-14 Alexander Larsson <alexl@redhat.com>
5111 * gio/gfileinputstream.[ch]:
5112 Add async get_file_info.
5114 2007-09-13 Alexander Larsson <alexl@redhat.com>
5116 * gio/goutputstream.c (g_output_stream_write_all):
5117 Allow NULL for bytes_written
5119 2007-09-13 Alexander Larsson <alexl@redhat.com>
5121 * gio/gmemoryinputstream.[ch]:
5122 Add accessors for data
5124 2007-09-13 Alexander Larsson <alexl@redhat.com>
5126 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5127 Don't crash if length is NULL