1 2008-09-29 David Zeuthen <davidz@redhat.com>
3 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
5 2008-09-26 Dan Winship <danw@gnome.org>
7 * tests/data-input-stream.c:
8 * tests/data-output-stream.c:
10 * tests/memory-input-stream.c:
11 * tests/memory-output-stream.c: Use g_assert_error() and
14 2008-09-26 Matthias Clasen <mclasen@redhat.com>
16 Bug 545350 – GAppInfo deletion
17 Bug 545351 – Reset associations for content type
20 * gappinfo.[hc]: New functions g_app_info_can_delete,
21 g_app_info_delete and g_app_info_reset_type_associations.
24 * gwin32appinfo.c: Implementations of these.
27 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
29 2008-09-26 Dan Winship <danw@gnome.org>
31 Bug 505361 – gunixinputstream.c assumes poll() available
32 Bug 509446 – portable blocking gio cancellation
34 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
35 GPollFD for a cancellable (which is slightly more complicated on
38 * gunixinputstream.c (g_unix_input_stream_read):
39 * gunixoutputstream.c (g_unix_output_stream_write): Use
40 g_cancellable_make_pollfd() and g_poll() rather than using poll()
43 * tests/unix-streams.c: test of GUnixInputStream,
44 GUnixOutputStream, and GCancellable.
46 2008-09-26 Dan Winship <danw@gnome.org>
48 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
49 cast to stop a gcc warning
51 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
54 2008-09-25 Dan Winship <danw@gnome.org>
56 Bug 553426 - cancellable clarifications
58 * gcancellable.c (g_cancellable_class_init): Add a note to the
59 "cancelled" signal docs warning about thread-safety issues
60 (g_cancellable_cancel): Note that cancelling an asynchronous
61 operation takes effect asynchronously, not immediately.
63 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
65 * gioenums.h: Add new GFileCopyFlag, to leave target file with
66 default perms, instead of setting the source file perms, in a copy
69 * gfile.c (g_file_copy_attributes)
70 (build_attribute_list_for_copy)
71 (should_copy): Not copy "unix::mode" attribute if we have received
72 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
74 2008-09-20 Matthias Clasen <mclasen@redhat.com>
76 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
78 2008-09-17 Matthias Clasen <mclasen@redhat.com>
80 * === Released 2.18.1 ===
82 2008-09-16 Michael Natterer <mitch@imendio.com>
84 * gcontenttype.c (g_content_type_guess): can't assign the return
85 value of g_strdupv() to an array. Fill the array manually with
86 const strings instead (it is never freed anyway). Fixes the
87 build. Also fixed indentation.
89 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
91 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
92 Fix trivial typo to unbreak the build (there was a colon
93 instead of a semicolon at the end of a statement).
95 2008-09-15 Matthias Clasen <mclasen@redhat.com>
97 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
100 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
103 2008-09-15 Matthias Clasen <mclasen@redhat.com>
105 Bug 551681 – g_content_type_guess() too naive with filenames
107 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
108 at the end of the filename, and declare it a directory.
109 Patch by Bastien Nocera
111 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
113 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
116 * gdesktopappinfo.c: add a note in the docs clarifying what the
117 "filename" parameter really is.
119 2008-09-12 Tor Lillqvist <tml@novell.com>
121 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
122 FormatMessage() etc here. Call g_win32_error_message() instead
123 which already does all that. Besides, the code was broken as it
124 called the default "A" version of FormatMessage() but still
125 thought it produced a wide string.
127 2008-09-12 Michael Natterer <mitch@imendio.com>
129 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
130 in the documentation.
132 2008-09-08 Christian Neumair <cneumair@gnome.org>
134 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
135 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
136 Use non-blocking pipe for mount helper I/O. Fixes #550647.
138 2008-09-06 Matthias Clasen <mclasen@redhat.com>
140 Bug 551149 – xdgmime mem leak
142 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
143 a memory leak. Patch by Christian Persch
145 2008-09-04 Tor Lillqvist <tml@novell.com>
147 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
150 2008-09-02 Matthias Clasen <mclasen@redhat.com>
152 * === Released 2.18.0 ===
154 2008-09-02 Michael Natterer <mitch@imendio.com>
156 * *.h: big header formatting cleanup: indentation, vtable
157 formatting, consistent spacing in (* vfunc), trailing whitespace
158 removal. Formatting should be pretty consistent in all GIO headers
161 2008-09-02 Matthias Clasen <mclasen@redhat.com>
163 * gmount.h: Document guess_content_type sync vfunc.
165 2008-09-02 Michael Natterer <mitch@imendio.com>
167 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
168 fix parent_class member to be GFilterOutputStreamClass (not
169 GOutputStreamClass). Drop three pointers of padding, which is
170 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
171 so the class struct size stays the same.
173 2008-09-02 Matthias Clasen <mclasen@redhat.com>
175 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
177 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
178 nonexisting return values. Pointed out by Cosimo Cecchi.
180 2008-08-23 Tor Lillqvist <tml@novell.com>
182 Bug 548988 - g_file_replace fails on Windows when the target file
185 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
186 Windows, close the file before potentially renaming it (in case we
187 have been writing to a file with a temporary name).
189 (g_local_file_output_stream_close, handle_overwrite_open): Use
190 GLocalFileStat instead of plain struct stat, for passing to
191 _g_local_file_info_create_etag(). Thus also use _fstati64()
192 instead of plain fstat() on Windows.
194 2008-08-18 Matthias Clasen <mclasen@redhat.com>
196 * === Released 2.17.7 ===
198 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
200 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
203 2008-08-13 Tor Lillqvist <tml@novell.com>
205 * win32/gwinhttpvfs.c
206 * win32/gwinhttpvfs.h
207 * win32/gwinhttpfile.c
208 * win32/gwinhttpfileinputstream.c
209 * win32/gwinhttpfileoutputstream.c: Refactor some common code
210 snippets into helper functions. Check HTTP response status
211 codes. Implement g_winhttp_file_query_info(), looking at
212 Content-Length, Content-Type and Last-Modified.
214 * win32/winhttp.h: Add some symbolic constants that are not
215 publicly documented. Just a handful, so it should be OK to use
216 information from the Windows SDK's headers.
218 2008-08-13 Tor Lillqvist <tml@novell.com>
220 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
223 * win32/gwin32directorymonitor.c
224 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
226 2008-08-13 Matthias Clasen <mclasen@redhat.com>
229 * goutputstream.c: Add intro docs.
231 2008-08-13 Tor Lillqvist <tml@novell.com>
233 * win32/gwinhttpfileoutputstream.c
234 (g_winhttp_file_output_stream_write): Don't write the
235 Content-Length header ourselves, WinHttpSendRequest() takes care
236 of that when the dwTotalLength parameter is non-zero. Increment
237 offset by the number of actual bytes sent, although I wonder if
238 such a scenario is possible where less than requested would be
239 sent and accepted by the server without errors.
241 2008-08-13 Tor Lillqvist <tml@novell.com>
243 * win32/gwinhttpvfs.c
244 * win32/gwinhttpvfs.h
245 * win32/gwinhttpfile.c
246 * win32/gwinhttpfile.h
247 * win32/gwinhttpfileinputstream.c
248 * win32/gwinhttpfileinputstream.h
249 * win32/gwinhttpfileoutputstream.c
250 * win32/gwinhttpfileoutputstream.h: New files implementing
251 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
252 Windows. The implementation uses the WinHttp API. Both reading and
253 writing are supported, i.e. GET and PUT requests. When writing,
254 each write call is done using a separate PUT request with a
255 Content-Range header. Requests for file URIs and plain pathnames
256 are forwarded to GLocalVfs.
258 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
259 WINE. Used as there is no <winhttp.h> bundled with mingw, and
260 requiring people to download the Windows SDK just for this one
261 header is not reasonable.
263 * win32/Makefile.am: Add above files.
265 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
266 the plumbing for the above.
268 2008-08-11 Sven Neumann <sven@gimp.org>
270 * gfilenamecompleter.c
271 * glocaldirectorymonitor.c
273 * gunionvolumemonitor.c
277 * gunixvolumemonitor.c
280 * gwin32volumemonitor.c: use canonical signal names.
282 2008-08-11 Tor Lillqvist <tml@novell.com>
284 * Makefile.am: Put a list of the platform-dependent .la files in
285 the subdirectories in the platform_deps Make variable, and make
286 libgio-2.0.la depend on that, so that it gets relinked if one of
287 the dependent libraries has changed.
289 2008-08-11 Tor Lillqvist <tml@novell.com>
291 * Makefile.am (platform_libadd): Remove -lwininet which had been
292 added by mistake. We will probably eventually be using WinHTTP,
293 not the older WinInet anyway. (Actually I am working on it.)
295 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
297 Bug 547080 – g_file_copy leaks expected errors
299 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
300 before trying the next fallback routine.
302 2008-08-09 Loïc Minier <lool@dooz.org>
304 Bug 535124 – umask 002 not being applied for new directories, new
305 files get the correct umask
307 * gfile.c (g_file_make_directory)
308 (g_file_make_directory_with_parents): Document ownership and
309 permissions of newly created directories as being the default
312 2008-08-08 Loïc Minier <lool@dooz.org>
314 Bug 535124 – umask 002 not being applied for new directories, new
315 files get the correct umask
317 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
320 2008-08-08 Tor Lillqvist <tml@novell.com>
322 * gwin32mount.c: Remove unused code. Whitespace cleanup.
324 * gwin32volumemonitor.c (get_connected_drives): Put questionable
325 code that didn't actually do anything inside #if 0, and add a
326 comment wondering what the code was supposed to do. This also gets
327 rid of a leftover debugging printout.
329 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
331 * gfileicon.c (g_file_icon_get_property)
332 (g_file_icon_set_property): New functions.
333 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
335 (g_file_icon_new): Use the property (bug #546132).
337 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
339 * gthemedicon.c (g_themed_icon_get_property): Also handle
340 `PROP_USE_DEFAULT_FALLBACKS'.
341 (g_themed_icon_class_init): Make
342 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
344 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
346 Bug 546371 – Improve docs re g_file_monitor
348 * gfilemonitor.c: Mention g_file_monitor() in the docs.
350 2008-08-04 Matthias Clasen <mclasen@redhat.com>
352 * === Released 2.17.6 ===
354 2008-08-04 Matthias Clasen <mclasen@redhat.com>
356 * === Released 2.17.5 ===
358 2008-08-04 Matthias Clasen <mclasen@redhat.com>
360 Bug 546017 – Don't copy attributes when copying a symlink
362 * gfile.c (g_file_copy_attributes): Specify
363 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
364 g_file_set_attributes_from_info. Patch by Christian Kellner
366 2008-08-04 Matthias Clasen <mclasen@redhat.com>
368 * gemblemedicon.[hc]:
370 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
371 a bit more extensible. Work by Clemens Buss.
373 * gioenums.h: Add GEmblemOrigin.
376 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
378 Bug 546079 – leak in xdgmime
380 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
382 2008-08-03 Tor Lillqvist <tml@novell.com>
384 * win32/gwin32directorymonitor.h
385 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
388 2008-08-03 Tor Lillqvist <tml@novell.com>
390 * win32/gwin32directorymonitor.c
391 (g_win32_directory_monitor_callback): Make prototype match
392 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
393 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
396 (g_win32_directory_monitor_constructor):
397 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
398 names in the GLib API on Windows, so convert to UTF-16 and open
401 2008-08-03 Tor Lillqvist <tml@novell.com>
403 Bug 541036 - Gnumeric crashes when trying to open Desktop or
404 user's folder under Windows
406 * win32/gwin32directorymonitor.c
407 (g_win32_directory_monitor_constructor): Ignore error from
408 CreateFile() when opening directory. Instead of asserting, just
409 store INVALID_HANDLE_VALUE then in
410 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
411 ReadDirectoryChangesW().
412 (g_win32_directory_monitor_cancel): Don't attempt to close
413 directory handle if it is INVALID_HANDLE_VALUE.
415 2008-08-01 Matthias Clasen <mclasen@redhat.com>
417 * gdesktopappinfo.c: Remove debug spew
419 2008-08-01 Hans Breuer <hans@breuer.org>
421 * makefile.msc : add gemblembedicon
423 2008-07-30 Matthias Clasen <mclasen@redhat.com>
425 Bug 545457 – gdmsetup crashed with SIGSEGV in
426 g_unix_mount_guess_should_display()
428 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
429 crash if no mount is found.
431 2008-07-28 Matthias Clasen <mclasen@redhat.com>
433 Bug 545203 – gfile.c: argument is different type.
435 * gfile.c (open_read_async_thread): Pass a GError **
436 to g_file_set_error_literal.
437 Reported by Kazuki Iwamoto
439 2008-07-28 Matthias Clasen <mclasen@redhat.com>
441 Bug 545157 – wrong/no list of "open with" applications for .cc and
444 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
445 Collect all ancestors, not just direct parents. Pointed
446 out by Bastien Nocera
448 2008-07-28 Matthias Clasen <mclasen@redhat.com>
450 * Makefile.am: Install gemblemedicon.h
452 2008-07-28 Matthias Clasen <mclasen@redhat.com>
454 * gemblemedicon.[hc]: Add a GIcon implementation that can
455 add an emblem to another icon.
462 * gfileicon.c: Small documentation additions.
464 2008-07-28 Tor Lillqvist <tml@novell.com>
466 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
469 2008-07-27 Tor Lillqvist <tml@novell.com>
471 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
473 2008-07-24 David Zeuthen <davidz@redhat.com>
477 Also export a g_mount_guess_content_type_sync() function.
479 2008-07-23 Matthias Clasen <mclasen@redhat.com>
481 529694 – SELinux context setting support
483 * gfileinfo.c: Support setting selinux attributes.
484 Patch by Tomas Bzatek
486 2008-07-22 Priit Laes <plaes@plaes.org>
488 Bug 544140 - fam-helper 64-bit issue?
490 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
492 2008-07-21 Matthias Clasen <mclasen@redhat.com>
494 * === Released 2.17.4 ===
496 2008-07-20 Matthias Clasen <mclasen@redhat.com>
498 * gvolumemonitor.[hc]:
503 * gmount.c: Documentation fixes
505 2008-07-19 Matthias Clasen <mclasen@redhat.com>
507 543504 – crash in Epiphany Web Browser: Opening local file
518 * gvolume.c: Register types thread-safely.
519 Patch by Christian Persch
521 2008-07-18 Matthias Clasen <mclasen@redhat.com>
523 * gcontenttype.c: Remove debug spew
525 2008-07-18 Matthias Clasen <mclasen@redhat.com>
527 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
530 * fen/fen-kernel.c: Remove a warning that was causing
531 crashes. Reported by Lin Ma.
533 2008-07-18 Matthias Clasen <mclasen@redhat.com>
535 Bug 543040 – async reading on dummy file will crash on
538 * gfile.c (open_read_async_thread): Cope with read_fn being
539 NULL. Reported by Lin Ma.
541 2008-07-18 Matthias Clasen <mclasen@redhat.com>
544 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
546 2008-07-16 Matthias Clasen <mclasen@redhat.com>
550 * giomodule.c: Rename a chapter id to avoid filename conflict.
552 2008-07-16 Matthias Clasen <mclasen@redhat.com>
554 Bug 540616 – mem leak in filechooser button
556 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
557 the mount entry. Reported by Chrisitan Persch
559 2008-07-16 Matthias Clasen <mclasen@redhat.com>
561 * gfile.c: Small documentation fixes.
563 2008-07-15 Matthias Clasen <mclasen@redhat.com>
565 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
567 2008-07-08 Matthias Clasen <mclasen@redhat.com>
572 * gmount.c: Documentation improvements.
574 2008-07-08 Matthias Clasen <mclasen@redhat.com>
577 * gmount.[hc]: Add g_mount_guess_content_type().
579 2008-07-06 David Zeuthen <davidz@redhat.com>
582 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
583 is needed for easily handling adoption of foreign volumes by
584 out-of-process volume monitors (#541793)
586 2008-07-06 David Zeuthen <davidz@redhat.com>
588 * gvolumemonitor.[ch]:
589 * gunionvolumemonitor.c: Export the eject-button signal on the
590 volume monitor class (#541794).
592 2008-07-06 Matthias Clasen <mclasen@redhat.com>
594 * gappinfo.c: More doc tweaks
596 2008-07-05 Matthias Clasen <mclasen@redhat.com>
598 * gappinfo.c: Clarify some docs
600 2008-07-03 Matthias Clasen <mclasen@redhat.com>
602 * gdesktopappinfo.c: Fix a stupid mistake.
604 2008-07-02 Matthias Clasen <mclasen@redhat.com>
606 * === Released 2.17.3 ===
608 2008-07-02 Matthias Clasen <mclasen@redhat.com>
610 * gfilemonitor.c: Fix the build.
612 2008-07-02 Matthias Clasen <mclasen@redhat.com>
614 Bug 536160 – Add g_file_monitor()
617 * gfile.[hc]: Add g_file_monitor which can return either
618 a file or a directory monitor. Proposed by Behdad Esfahbod
620 2008-07-02 Matthias Clasen <mclasen@redhat.com>
622 536733 – gio build failure on Irix
624 * glocalfile.c: Use a configure check for structfs.f_bavail.
626 2008-07-02 Matthias Clasen <mclasen@redhat.com>
628 Bug 534639 – add g_desktop_app_info_new_from_keyfile
631 * gdesktopappinfo.[hc]: Add a function to create a
632 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
634 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
636 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
638 2008-07-01 Matthias Clasen <mclasen@redhat.com>
640 * gunixmounts.c: Fix a doc typo.
642 2008-07-01 Cody Russell <bratsche@gnome.org>
644 * gio/gcontenttype.c:
645 * gio/gwin32appinfo.c:
646 * gio/gwin32volumemonitor.c:
647 * gio/gwin32mount.c: Fixed some include problems.
649 2008-07-01 Cody Russell <bratsche@gnome.org>
653 Moved all relevant typedefs into these files.
656 Updated wrt added files.
658 Split types into separate file for easier maintainership. (#538564)
660 2008-06-30 Matthias Clasen <mclasen@redhat.com>
662 Bug 540331 – g_file_append_to () documentation: can return NULL
664 * gfile.c (g_file_append_to): Clarify docs.
667 2008-06-30 Matthias Clasen <mclasen@redhat.com>
669 Bug 539090 – g_content_type_from_mime_type() should unalias
671 * gcontentype.c (g_content_type_from_mime_type): Unalias.
672 Patch by Markus Bergman
674 2008-06-30 Matthias Clasen <mclasen@redhat.com>
676 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
679 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
680 on ppc and alpha. Reported by Mart Raudsepp
682 2008-06-29 Matthias Clasen <mclasen@redhat.com>
685 * tests/memory-output-stream.c: Add some tests for
688 2008-06-29 Matthias Clasen <mclasen@redhat.com>
690 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
693 * gmemoryoutputstream.c (array_resize): Handle truncation to
694 zero correctly. Reported by Akira Tagoh
696 2008-06-29 Matthias Clasen <mclasen@redhat.com>
698 * gmemoryoutputstream.c: Trivial doc fixes
700 2008-06-29 Matthias Clasen <mclasen@redhat.com>
702 Bug 540802 – g_list_prepend doesn't concat lists
704 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
705 one list to another. Pointed out by Jan Arne Petersen
707 2008-06-28 Michael Natterer <mitch@imendio.com>
709 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
711 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
713 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
714 to avoid problems with partial icon themes.
716 2008-06-17 Hans Breuer <hans@breuer.org>
718 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
719 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
720 access again on win32, see bug #538127
721 * giomodule.c : ensure GWin32VolumeMonitor is registered
722 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
723 * Makefile.am makefile.msc : updated
725 2008-06-16 Hans Breuer <hans@breuer.org>
727 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
728 and initialization in one step avoids c99ism
730 2008-06-16 Christian Persch <chpe@gnome.org>
733 * gio/gbufferedinputstream.c
735 * gio/gdatainputstream.c
736 * gio/gdesktopappinfo.c
738 * gio/gfileenumerator.c
739 * gio/gfileinputstream.c
740 * gio/gfileoutputstream.c
742 * gio/glocaldirectorymonitor.c
744 * gio/glocalfileenumerator.c
745 * gio/glocalfileinfo.c
746 * gio/glocalfilemonitor.c
747 * gio/glocalfileoutputstream.c
748 * gio/gmemoryinputstream.c
749 * gio/gmemoryoutputstream.c
750 * gio/goutputstream.c
751 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
754 2008-06-16 Tor Lillqvist <tml@novell.com>
756 Bug 538362 - Get Win32 icons back in the file chooser
758 * gcontenttype.c (g_content_type_get_icon): Look up the icon
759 corresponding to a file extension in the Registry. Patch by Hans
761 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
763 2008-06-16 Tor Lillqvist <tml@novell.com>
765 Patches by Hans Breuer:
767 * glocalfile.c (is_xp_or_later): Handle compiling against older
768 SDK headers with missing VerifyVersionInfo(). Conditioned on
769 _MSC_VER, but should probably use some better test.
770 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
771 uninitialised statfs_result variable on Win32.
773 2008-06-16 Michael Natterer <mitch@imendio.com>
775 * *.c: chain up unconditionally in finalize() and dispose(). Also
776 don't dereference these function pointers when calling them since
777 that has no meaning at all.
779 2008-06-16 Ross Burton <ross@burtonini.com>
782 Remove check for dispose implementation as it annoys Emmanuele.
784 2008-06-16 Ross Burton <ross@burtonini.com>
786 Bug 536252 – GFileEnumerator should allow access to the containing
792 Add g_file_enumerator_get_container() and a container writeable
793 construct-only property. Also shuffle around typedefs to make it
796 * glocalfileenumerator.c:
797 * glocalfileenumerator.h:
799 Instead of a string filename take a GFile in the constructor and
800 use it to set the container property.
805 2008-06-16 Matthias Clasen <mclasen@redhat.com>
807 * gfile.c: Make includes more uniform
809 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
811 * tests/live-g-file.c (sample_struct):
812 Use less fancy unicode filenames, so the test doesn't fail
813 on Mac OS X (#531476).
815 2008-06-12 Matthias Clasen <mclasen@redhat.com>
817 * === Released 2.17.2 ===
819 2008-06-12 Matthias Clasen <mclasen@redhat.com>
821 * === Released 2.17.1 ===
823 2008-06-11 A. Walton <awalton@gnome.org>
825 * tests/g-file.c (test_g_file_new_null):
826 Fix broken test case.
828 2008-06-11 Matthias Clasen <mclasen@redhat.com>
830 * pltcheck.sh: We use g_clear_error now.
832 2008-06-11 Matthias Clasen <mclasen@redhat.com>
834 * glocalfile.c (g_local_file_enumerate_children): Revert
835 an unintended change.
837 2008-06-11 Matthias Clasen <mclasen@redhat.com>
839 * gfile.c (g_file_replace_contents): Don't unref before the last use.
841 2008-06-10 Matthias Clasen <mclasen@redhat.com>
843 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
846 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
847 as icon for the desktop directory, also make user-home and
848 user-desktop the preferred icons.
850 2008-06-10 Matthias Clasen <mclasen@redhat.com>
853 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
854 to add a name to the front of the list.
856 2008-06-10 Matthias Clasen <mclasen@redhat.com>
858 Bug 537392 – Additional colon in xattr name
860 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
861 too. Reported by Alessandro Morandi
863 2008-06-10 Matthias Clasen <mclasen@redhat.com>
865 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
868 * glocalfile.c (get_fs_type): Add afs and autofs.
869 Patch by Danny Baumann.
871 2008-06-10 Matthias Clasen <mclasen@redhat.com>
873 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
875 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
876 is no parent. (Owen Taylor, patch by Christian Neumair)
878 2008-06-10 Paolo Borelli <pborelli@katamail.com>
880 * gfile.c (g_file_replace_contents): do not leak the output stream.
882 2008-06-10 Michael Natterer <mitch@imendio.com>
884 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
885 uninitialized memory as array index.
887 2008-06-10 Tor Lillqvist <tml@novell.com>
889 * gcontenttype.c (g_content_type_can_be_executable)
890 (g_content_type_get_icon) [Win32]: Add TODO comments.
892 2008-06-09 Matthias Clasen <mclasen@redhat.com>
894 * xdgmime/Makefile.am: Fix the build
896 2008-06-09 Matthias Clasen <mclasen@redhat.com>
898 * gcontenttype.c (g_content_type_get_icon): Use icons specified
899 in the shared mime database, if available.
901 * xdgmime/*: Sync with upstream. This brings support for
902 glob weights, generic icons, and changes the cache format to
905 2008-05-28 Michael Natterer <mitch@imendio.com>
907 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
908 the global CPPFLAGS now.
910 * tests/data-input-stream.c
911 * tests/data-output-stream.c
912 * tests/g-file-info.c
914 * tests/live-g-file.c
915 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
917 2008-05-27 Matthias Clasen <mclasen@redhat.com>
919 * === Released 2.17.0 ===
921 * tests/live-g-file.c: Clean up after the tests, so make distcheck
922 doesn't complain about leftover files.
924 2008-05-27 simon.zheng <simon.zheng@sun.com>
926 * glocalfile.c: (g_local_file_query_filesystem_info):
927 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
929 2008-05-26 Michael Natterer <mitch@imendio.com>
931 * gmemoryoutputstream.h: declare
932 g_memory_output_stream_get_data_size().
934 2008-05-26 Matthias Clasen <mclasen@redhat.com>
936 * tests/*: Make tests work
938 2008-05-26 Matthias Clasen <mclasen@redhat.com>
940 * gio.symbols: Add g_memory_output_stream_get_data_size.
942 2008-05-25 Ross Burton <ross@burtonini.com>
945 Fix typo in error message (#534764).
947 2008-05-25 Ross Burton <ross@burtonini.com>
950 Fix circular dependency loop for gioenumtypes.h (#534759).
952 2008-05-19 Hans Breuer <hans@breuer.org>
954 * Makefile.am : EXTRA_DIST += makefile.msc
956 2008-05-17 Matthias Clasen <mclasen@redhat.com>
959 * gcontenttype.c: (g_content_type_from_mime_type):
960 New function to create a content type from a mime type. (#527175,
963 2008-05-17 Matthias Clasen <mclasen@redhat.com>
965 Bug 532965 – Should not return filesystem::free for certain file systems
967 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
968 free space for ncpfs.
970 2008-05-17 Matthias Clasen <mclasen@redhat.com>
972 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
974 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
975 st_dev might be zero.
977 2008-05-16 Tor Lillqvist <tml@novell.com>
979 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
980 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
982 2008-05-13 Bastien Nocera <hadess@hadess.net>
984 * gfile.c (has_valid_scheme): A URI scheme must start with a
985 letter, even if later more characters are allowed (#532852)
987 2008-05-05 Michael Natterer <mitch@imendio.com>
989 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
990 code from being checked in that breaks the build of applications
991 which use G_DISABLE_SINGLE_INCLUDES.
993 * makegioalias.pl: make the alias file include "glib.h" instead of
996 * gio.symbols: whitespace change to force regeneration of the
997 alias file after above script change.
999 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1001 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1003 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1005 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1007 2008-04-28 David Zeuthen <davidz@redhat.com>
1009 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1010 displaying mounts in a subdirectory not accessible to the
1013 2008-04-22 Michael Natterer <mitch@imendio.com>
1015 * Makefile.am: fix library versioning (it was 0.0.0).
1017 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1019 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1020 Default disable all loggings.
1021 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1022 (port_fetch_event_cb): Fixed two macro nits.
1024 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1026 * xdgmime/xdgmime.c: Rework the timestamp checking code
1027 to protect against duplicate directories in XDG_DATA_DIRS.
1028 Fixes fd.o bug 12513, reported by Joe Shaw.
1030 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1032 Partically revert the last commit after realizing that
1033 xdg_mime_media_type_equal doesn't have to init at all.
1035 * xdgmime/xdgmime.h:
1036 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1038 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1040 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1042 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1043 reported by Joe Shaw and Federico Mena Quintero.
1045 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1046 (xdg_mime_media_type_equal): Turn into a wrapper around the
1049 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1050 functions throughout.
1052 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1054 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1055 tolerate an empty TryExec= line without failing; nautilus used
1056 to create launchers with these in previous versions. Fixes #528433
1058 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1060 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1061 after name. Fixes #527132.
1063 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1065 * gfile.c: (g_file_replace):
1068 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1070 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1072 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1073 by Christian Kellner.
1075 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1077 * gunixmounts.c: (g_unix_mount_guess_should_display):
1078 Don't list the user directory as a mount, fix potential issue
1079 when other users have a similar naming and don't special case the
1080 gvfs mounts there since that's not required (#525866)
1082 2008-03-31 Alexander Larsson <alexl@redhat.com>
1084 * glocalfile.c (get_parent):
1087 2008-03-31 A. Walton <awalton@svn.gnome.org>
1089 * gfile.c (g_file_query_file_type):
1090 Always return a GFileType enum value (#520715).
1092 2008-03-31 Alexander Larsson <alexl@redhat.com>
1094 * glocalfileenumerator.c:
1095 Read readdir() info in chunks (of 1000) and sort
1096 the chunks by inode before stat:ing.
1097 This is a 20% performance increase in testing
1098 gvfs-ls on /usr/bin with cold cache.
1100 2008-03-31 Alexander Larsson <alexl@redhat.com>
1102 * gmemoryoutputstream.c:
1103 Clarify docs for g_memory_output_stream_get_size.
1104 Add g_memory_output_stream_get_data_size.
1106 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1110 * gfile.h: Add g_file_query_file_type convenience function
1111 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1113 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1115 * gfileenumerator.c:
1116 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1118 2008-03-28 A. Walton <awalton@svn.gnome.org>
1120 * giomodule.c (_g_io_modules_ensure_loaded):
1121 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1124 2008-03-28 Alexander Larsson <alexl@redhat.com>
1127 (copy_stream_with_progress):
1130 2008-03-28 Alexander Larsson <alexl@redhat.com>
1133 (copy_stream_with_progress):
1134 (file_copy_fallback):
1135 Fallback to g_file_query_info for source size
1136 if g_file_input_stream_query_info fails. (#524579)
1138 2008-03-28 Alexander Larsson <alexl@redhat.com>
1140 * glocalfile.c (g_local_file_move):
1141 Reuse old string instead of adding new one.
1143 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1145 * fen/*.[hc]: still copyright issue. I hate copyright.
1147 2008-03-27 Alexander Larsson <alexl@redhat.com>
1149 * glocalfile.c (g_local_file_move):
1150 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1151 file over directory. This is according to the docs and what the move via
1152 copy+remove fallback does.
1154 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1156 * fen/*.[hc]: Updated copyright.
1158 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1160 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1162 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1164 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1165 not emit attribute changed events when optimizing changed events.
1166 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1169 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1171 * gmountoperation.[hc]: Small documentation additions
1173 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1175 * gunixmounts.c: (guess_mount_type):
1176 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1178 2008-03-19 Alexander Larsson <alexl@redhat.com>
1181 (copy_stream_with_progress):
1182 Bump block side for copy to 64k to minimize
1183 overhead for low latency links. (#523015)
1185 2008-03-16 Tor Lillqvist <tml@novell.com>
1187 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1188 depend on gio.def on Windows.
1190 2008-03-12 David Zeuthen <davidz@redhat.com>
1194 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1196 2008-03-14 Alexander Larsson <alexl@redhat.com>
1200 Avoid redudant tests (#521851)
1201 Patch from Josselin Mouette
1203 2008-03-14 Alexander Larsson <alexl@redhat.com>
1206 (g_file_monitor_is_cancelled):
1207 Fix C89 issue (#521672)
1208 Patch from Jens Granseuer
1210 2008-03-14 Alexander Larsson <alexl@redhat.com>
1212 * fam/fam-helper.[ch]:
1214 Shut down fam (including removing fam GSource) when
1215 module is unloaded (#521513)
1216 Patch from Joe Marcus Clarke
1218 2008-03-14 Alexander Larsson <alexl@redhat.com>
1221 (_g_io_modules_ensure_loaded):
1224 2008-03-14 Alexander Larsson <alexl@redhat.com>
1227 (g_local_file_query_filesystem_info):
1228 Use right define name for f_fstypename member check
1230 2008-03-14 Alexander Larsson <alexl@redhat.com>
1233 * fen/Makefile.am: Added.
1234 * fen/fen-data.[ch]: Added.
1235 * fen/fen-dump.[ch]: Added.
1236 * fen/fen-helper.[ch]: Added.
1237 * fen/fen-kernel.[ch]: Added.
1238 * fen/fen-missing.[ch]: Added.
1239 * fen/fen-node.[ch]: Added.
1240 * fen/fen-sub.[ch]: Added.
1241 * fen/gfendirectorymonitor.[ch]: Added.
1242 * fen/gfenfilemonitor.[ch]: Added.
1244 Added Solaris FEN file notification backend.
1245 Patch from Lin Ma <Lin.Ma@Sun.COM>
1247 2008-03-13 Tor Lillqvist <tml@novell.com>
1249 * Makefile.am: Actually use the gio.def file when linking the
1250 library on Windows. Produce .lib library for Microsoft's toolchain
1251 when possible. Install the .lib and .def file like for the other
1254 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1256 * tests/live-g-file.c:
1257 Include live-g-file in standard set of tests, making a temporary
1258 directory in source structure.
1260 Clean target directory before the tests (write mode only)
1262 2008-03-12 Tor Lillqvist <tml@novell.com>
1264 Bug 517419 - gio win32 directory monitor
1265 Implementation by Vlad Grecescu.
1268 * win32/gwin32directorymonitor.h
1269 * win32/gwin32directorymonitor.c: New files.
1271 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1273 * Makefile.am: Add the win32 subdirectory.
1275 2008-03-12 Tor Lillqvist <tml@novell.com>
1277 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1278 normal struct stat on Unix but struct _stati64 on Windows to have
1279 access to 64-bit file size information. Use that instead of struct
1280 stat in the functions declared here in this private header.
1282 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1283 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1284 warnings about unused functions and variables. Don't set
1285 meaningless attributes like inode numbers on Windows.
1287 2008-03-12 Benjamin Otte <otte@gnome.org>
1290 trim whitespace so gtk-doc groks the function name
1292 2008-03-12 Tor Lillqvist <tml@novell.com>
1294 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1295 returning FALSE, on Win32.
1297 2008-03-11 Alexander Larsson <alexl@redhat.com>
1300 * glocalfileinfo.[ch]:
1301 Correctly implement can_trash by actually
1302 looking for a trash dir, not just assuming
1305 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1307 * === Released 2.16.1 ===
1309 2008-03-11 Alexander Larsson <alexl@redhat.com>
1312 Fix crashes in new constructor and properties code
1314 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1316 * gfile.c: Minor spelling correction in documentation:
1317 existance -> existence.
1319 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1321 * === Released 2.16.0 ===
1323 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1325 * gio.symbols: Remove g_file_contains_file here, too.
1327 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1329 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1330 Samuel Cormier-Iijima)
1332 2008-03-08 Tor Lillqvist <tml@novell.com>
1334 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1337 2008-03-07 Alexander Larsson <alexl@redhat.com>
1340 (g_local_file_query_filesystem_info):
1341 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1342 Patch from Jasper Lievisse Adriaanse
1344 2008-03-06 Tor Lillqvist <tml@novell.com>
1346 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1347 comments for the *_USEC attributes.
1349 2008-03-06 Alexander Larsson <alexl@redhat.com>
1351 * gfile.c (g_file_query_exists):
1352 Add g_return_val_if_fail check (#520700)
1354 2008-03-06 Alexander Larsson <alexl@redhat.com>
1356 * gdesktopappinfo.c:
1359 * gunionvolumemonitor.c:
1362 * tests/live-g-file.c:
1363 * xdgmime/xdgmimecache.c:
1364 Fix sparse warnings (#519489)
1366 2008-03-05 Alexander Larsson <alexl@redhat.com>
1369 Make cancellation threadsafe (i.e.
1370 guarantee its only done once, and always
1373 * glocaldirectorymonitor.c:
1374 Make sure we the monitor lives while the
1375 mounts_changed callback is being called (#520484)
1377 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1379 * gbufferedinputstream.c: Fix typo in parameter
1382 2008-03-04 Alexander Larsson <alexl@redhat.com>
1385 Remove deprecated symbols we kept for one release.
1387 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1390 * goutputstream.c: Tiny documentation corrections.
1392 2008-03-03 Alexander Larsson <alexl@redhat.com>
1394 * gunionvolumemonitor.c:
1396 Fix the adopt_orphan_mount vfunc to take a
1397 volume_monitor reference in an ABI compat way.
1398 This change is not API compat, but the added
1399 arg is not used in the only user of this vfunc, so
1400 all we get is a harmless warning in gvfs (#520169)
1402 2008-03-01 Benjamin Otte <otte@gnome.org>
1405 clarify docs for g_file_delete().
1407 2008-02-29 Alexander Larsson <alexl@redhat.com>
1411 Make sure empty files get text/plain type (#518720)
1413 2008-02-27 Alexander Larsson <alexl@redhat.com>
1419 (g_unix_volume_mount):
1420 Add missing GMountMountFlags argument
1422 2008-02-26 Alexander Larsson <alexl@redhat.com>
1425 (g_local_file_delete):
1426 Handle filesystems (like ntfs-3g) that return EEXIST instead
1427 of ENOTEMPTY (#518816)
1429 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1431 * === Released 2.15.6 ===
1433 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1435 * gfile.c (g_file_find_enclosing_mount):
1436 * ginputstream.c (g_input_stream_set_pending):
1437 * glocalfile.c (g_local_file_find_enclosing_mount):
1438 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1439 * goutputstream.c (g_output_stream_set_pending):
1441 Fixup translator comments (#518578).
1443 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1445 * gfile.c (g_file_find_enclosing_mount):
1447 * glocalfile.c (g_local_file_find_enclosing_mount):
1450 Fix a few typos in translator comments and documentation.
1452 2008-02-25 Alexander Larsson <alexl@redhat.com>
1459 Add translator comments (#518578)
1461 2008-02-25 Alexander Larsson <alexl@redhat.com>
1464 Reintroduce g_file_contains_file, keep around for one
1465 unstable release cycle to avoid crashing to many apps.
1466 Make sure to delete after release.
1468 2008-02-25 Alexander Larsson <alexl@redhat.com>
1471 Remove deprecated g_file_contains_file.
1473 2008-02-25 Alexander Larsson <alexl@redhat.com>
1476 Emit actual change signals in an idle handler.
1477 This avoids reentrance and locking problems in
1478 the file notification backends.
1480 2008-02-25 Alexander Larsson <alexl@redhat.com>
1483 (g_unix_mount_guess_should_display):
1484 Remove type guessing, instead just display
1485 mounts in /media and in ~/.
1487 2008-02-25 Alexander Larsson <alexl@redhat.com>
1490 Make new strings reuse old ones.
1492 2008-02-25 Alexander Larsson <alexl@redhat.com>
1495 Implement trashing and filesystem::readonly for win32 (#517235)
1496 Patch from Yevgen Muntyan
1498 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1500 * gfileinfo.h: Documentation fixes.
1502 2008-02-22 Alexander Larsson <alexl@redhat.com>
1504 * gcontenttype.c (g_content_type_get_icon):
1505 Look at old-style gnome mime icon names too, as many
1506 have not moved to the new style.
1508 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1510 * *.c: Correct the @include in for section docs.
1512 2008-02-21 David Zeuthen <davidz@redhat.com>
1514 * glocalfileinfo.c: (_g_local_file_info_get):
1516 (g_content_type_get_icon): Implement this function by
1517 moving bits from glocalfileinfo.c
1518 (g_content_type_get_description): Unalias before getting
1519 description (#517687)
1521 * gfile.c: (g_file_class_init),
1522 (g_file_query_filesystem_info_async),
1523 (g_file_query_filesystem_info_finish),
1524 (query_filesystem_info_data_free),
1525 (query_filesystem_info_async_thread),
1526 (g_file_real_query_filesystem_info_async),
1527 (g_file_real_query_filesystem_info_finish):
1528 * gfile.h: Implement async version of
1529 g_file_query_filesystem_info()
1531 * gfileinfo.h: Add new attributes for filesystem::use-preview
1533 * gio.symbols: Update
1535 * gthemedicon.c: (g_themed_icon_append_name):
1536 * gthemedicon.h: Add new new convenience function.
1538 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1539 (get_mounts), (get_volumes), (get_connected_drives),
1540 (get_volume_for_uuid), (get_mount_for_uuid),
1541 (g_union_volume_monitor_init), (populate_union_monitor),
1542 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1543 (g_volume_monitor_adopt_orphan_mount):
1545 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1546 monitor implementations to call into the main volume monitor. Also
1547 separate object initialization and volume monitor initialization
1548 such that non-native volume monitors can properly adopt their
1551 2008-02-21 Alexander Larsson <alexl@redhat.com>
1556 2008-02-21 Alexander Larsson <alexl@redhat.com>
1559 Add more documentation about how GFiles work (from #517086)
1561 2008-02-21 Alexander Larsson <alexl@redhat.com>
1565 Add new g_file_has_prefix that does the same as g_file_contains_file.
1566 Deprecate g_file_contains_file and add a macro that converts
1567 it to g_file_has_prefix.
1568 The reason for this change is that the contains_file() name seems to
1569 imply that this does more work than what it does, but its really only
1570 a name match (from #517086)
1575 Update to match the above change.
1577 2008-02-20 Benjamin Otte <otte@gnome.org>
1579 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1580 (g_file_eject_mountable):
1581 even more cases of not returning in error path
1583 2008-02-20 Benjamin Otte <otte@gnome.org>
1585 * gfile.c: (g_file_mount_mountable):
1586 return from function in error path.
1588 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1591 Remove trailing coma in GMountMountFlags struct
1593 2008-02-18 Alexander Larsson <alexl@redhat.com>
1597 * glocalfileoutputstream.c:
1598 Use g_unlink/g_rename instead of unlink/rename;
1599 do not pass raw filenames to g_set_error. (#517239)
1600 Patch from Yevgen Muntyan.
1602 2008-02-18 Alexander Larsson <alexl@redhat.com>
1605 * glocalfileoutputstream.c:
1606 Open files with O_BINARY on windows. (#517140)
1608 2008-02-14 Alexander Larsson <alexl@redhat.com>
1610 * glocalfileoutputstream.c:
1611 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1613 2008-02-14 Alexander Larsson <alexl@redhat.com>
1616 Copy permissions with file on copy (#514084)
1617 This is what cp does and makes sure e.g. the
1618 exec permissions are kept.
1619 Its kinda weird in that it keeps the permission bits
1620 the same while the uid and gid are different. However
1621 the new uid is the user so its not a security issue,
1622 and I've heard no complaints about cp on this issue.
1624 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1626 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1628 2008-02-13 Alexander Larsson <alexl@redhat.com>
1630 * inotify/inotify-path.c:
1631 Define IN_ONLYDIR if not in header (#515346)
1633 2008-02-12 Alexander Larsson <alexl@redhat.com>
1635 * tests/live-g-file.c:
1638 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1640 * === Released 2.15.5 ===
1642 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1644 * gio.symbols: Add g_mount_mount_flags_get_type.
1646 2008-02-11 Alexander Larsson <alexl@redhat.com>
1649 (g_file_info_set_attribute_mask):
1650 (g_file_attribute_matcher_matches_id):
1651 Correctly handle NULL GAttributeMatcher meaning
1652 matches nothing. (Fixes #513492)
1654 2008-02-11 Alexander Larsson <alexl@redhat.com>
1659 Added GMountMountFlags enum and added a flags
1660 argument to all mount calls.
1662 This is an API/ABI change for future extensibility,
1663 as I think we will need at least an
1664 inhibit-autorun flag (the panel needs this).
1665 There are no flags defined yet though.
1667 2008-02-11 Alexander Larsson <alexl@redhat.com>
1670 Added new standard::description attribute.
1671 Requested by Vincent, and useful for both
1674 2008-02-11 Alexander Larsson <alexl@redhat.com>
1676 * gdesktopappinfo.c:
1679 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1681 * *.c: Documentation additions
1683 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1685 * gappinfo.h: Formatting cleanup
1686 * gappinfo.c: Fix up docs.
1688 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1690 * gunixmounts.c: Consistently use getmntent_r() and fall
1691 back to getmntent(). (#515492)
1693 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1695 * gbufferedinputstream.c:
1697 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1699 * tests/data-input-stream.c:
1700 * tests/data-output-stream.c: Portability fixes.
1702 2008-02-08 Alexander Larsson <alexl@redhat.com>
1707 Add g_volume_should_automount.
1710 2008-02-07 Tor Lillqvist <tml@novell.com>
1712 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1713 Win32, too Unix-specific.
1715 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1717 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1718 a local plt if the compiler doesn't support what we want. Bug #514702
1720 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1722 reviewed by: <delete if not using a buddy>
1725 * gunixinputstream.c:
1726 * gunixoutputstream.c:
1728 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1730 * tests/Makefile.am:
1731 * tests/live-g-file.c:
1732 * tests/live-g-file.txt:
1733 New GIO testing module working over real data
1735 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1737 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1738 Fallback to rename() if link() is not available
1739 (when no support on target filesystem)
1741 2008-02-06 Michael Natterer <mitch@imendio.com>
1743 * gfileinfo.c (g_file_info_get_icon): replace
1744 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1746 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1748 * gfile.c (g_file_create):
1749 Documentation update of error codes
1751 2008-02-06 Alexander Larsson <alexl@redhat.com>
1753 * gdesktopappinfo.c:
1754 Update to use both mimeapps.list and
1755 defaults.list as discussed on xdg list.
1757 2008-02-06 Benjamin Otte <otte@gnome.org>
1760 * gfilenamecompleter.c:
1761 Fix some typos in the documentation.
1763 2008-02-06 Alexander Larsson <alexl@redhat.com>
1765 * glocalfile.c (g_local_file_trash):
1766 Don't succeed with trash if newly created
1767 trash dir has the wrong owner. (#514696)
1769 2008-02-05 Alexander Larsson <alexl@redhat.com>
1771 * glocalfile.c (g_local_file_move):
1772 Don't spew warnings when destination is not
1775 2008-02-03 Hans Breuer <hans@breuer.org>
1777 * makefile.msc : update
1779 2008-02-01 Michael Natterer <mitch@imendio.com>
1781 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1782 return value of xdg_mime_list_mime_parents() to a variable of the
1785 2008-02-01 Alexander Larsson <alexl@redhat.com>
1787 * gappinfo.c (g_app_info_launch_uris):
1788 Actually call the launch_uris method, not
1791 2008-02-01 Alexander Larsson <alexl@redhat.com>
1793 * gdesktopappinfo.c (g_desktop_app_info_equal):
1794 Ensure appinfos with no id but same pointer value
1797 2008-02-01 Alexander Larsson <alexl@redhat.com>
1799 * gappinfo.c (g_app_info_launch_default_for_uri):
1802 2008-02-01 Alexander Larsson <alexl@redhat.com>
1806 Add g_app_info_launch_default_for_uri utility
1809 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1811 * gdesktopappinfo.c:
1812 Doc fix for g_app_info_get_default_for_uri_scheme ()
1815 2008-01-30 Alexander Larsson <alexl@redhat.com>
1818 Add doc comment about uris vs GFiles to
1821 * gdesktopappinfo.c:
1822 Ensure uris passed to g_app_info_launch_uris()
1823 are not roundtriped through GFile (as that
1824 may be slightly destructive for e.g. mailto: links)
1826 2008-01-30 Alexander Larsson <alexl@redhat.com>
1828 * tests/data-input-stream.c:
1829 * tests/data-output-stream.c:
1830 C89 fixes from Jens Granseuer (#512849)
1832 2008-01-30 Alexander Larsson <alexl@redhat.com>
1835 Fix gamin/fam difference build issue. (#509419)
1837 2008-01-29 Alexander Larsson <alexl@redhat.com>
1840 * gdesktopappinfo.c:
1841 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1843 2008-01-29 Alexander Larsson <alexl@redhat.com>
1845 * gdesktopappinfo.c:
1846 * gdesktopappinfo.h:
1847 giomodule-priv.h include moved to .c file.
1849 2008-01-29 Alexander Larsson <alexl@redhat.com>
1851 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1852 Remove unused prio/name fields.
1854 2008-01-29 Alexander Larsson <alexl@redhat.com>
1856 * gcontenttype.c (looks_like_text):
1857 Don't treat whitespace as control chars.
1859 2008-01-29 Alexander Larsson <alexl@redhat.com>
1861 * gdesktopappinfo.c:
1862 Lazily create the desktop files for appinfos created
1863 by g_app_info_create_from_commandline() when needed
1864 for mime associations. This allows run-time use
1865 of GAppInfo object without creating unnecessary
1868 2008-01-29 Alexander Larsson <alexl@redhat.com>
1871 Added new symbols to gio.symbols
1873 2008-01-29 Alexander Larsson <alexl@redhat.com>
1876 Add g_file_query_default_handler utility to easily look up
1877 the GAppInfo that handles a file.
1879 * gdesktopappinfo.[ch]:
1881 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1884 Remove unused function
1886 2008-01-29 Alexander Larsson <alexl@redhat.com>
1888 * gfileenumerator.c:
1889 Mention need to free returned value in
1890 g_file_enumerator_next_files_finish docs.
1891 Fix leak if g_file_enumerator_next_files_finish()
1894 2008-01-29 Alexander Larsson <alexl@redhat.com>
1897 (_g_unix_content_type_get_parents):
1898 Use list_parents, not get_parents from xdgmime, because
1899 the later doesn't use the cache.
1901 * xdgmime/xdgmimecache.c:
1902 (_xdg_mime_cache_list_mime_parents):
1903 Don't list the same type as parent multiple times.
1905 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1907 * === Released 2.15.4 ===
1909 2008-01-28 Alexander Larsson <alexl@redhat.com>
1912 Register local vfs with prio 0.
1915 Remove old name and prio class members
1917 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1919 * tests/g-file.c: Disable some tests that are failing in
1920 the absence of a http backend.
1922 2008-01-28 Alexander Larsson <alexl@redhat.com>
1926 Add registration hooks for extension points.
1927 Register the gio extension points.
1929 * fam/gfamdirectorymonitor.c:
1930 * fam/gfamfilemonitor.c:
1931 * glocaldirectorymonitor.[ch]:
1932 * glocalfilemonitor.[ch]:
1933 * gnativevolumemonitor.h:
1934 * gunionvolumemonitor.c:
1935 * gunixvolumemonitor.c:
1938 * inotify/ginotifydirectorymonitor.c:
1939 * inotify/ginotifyfilemonitor.c:
1940 Use the extension points registration instead
1941 of g_type_children().
1943 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1946 * gvolume.[hc]: Document new API.
1948 * gfile.c (g_file_copy_async): Fix docs
1950 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1952 * gbufferedinputstream.c:
1954 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1957 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1959 * glocalfile.c: Avoid trivial differences in translatable strings.
1961 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1963 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1964 build with gcc 3.4 (#509419)
1966 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1968 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1969 (#509994, Murray Cumming)
1971 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1973 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1974 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1975 this allows big jobs to be executed in chunks, instead of blocking
1976 the main loop for a long time.
1978 * gsimpleasyncresult.c:
1979 * giofile.c: Adapt callers.
1981 2008-01-25 Alexander Larsson <alexl@redhat.com>
1983 * gdesktopappinfo.c:
1984 Implement changes discussed on xdg list.
1985 Now we can add supported mimetypes by just using defaults.list
1986 We can also remove associations in defaults.list.
1988 2008-01-25 Alexander Larsson <alexl@redhat.com>
1990 * gdesktopappinfo.c:
1991 Don't make local copy of desktop file
1992 for mimetype changes if the file already
1993 supports the new mimetype.
1995 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1999 * gbufferedinputstream.c:
2000 * glocalfile.c: String improvements. (#511966,
2001 Theppitak Karoonboonyanan)
2003 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2005 * gioscheduler.h: Expand docs a bit.
2007 2008-01-24 Alexander Larsson <alexl@redhat.com>
2010 Add g_drive_get_identifier and
2011 g_drive_enumerate_identifiers
2014 Add g_volume_get_identifier and
2015 g_volume_enumerate_identifiers
2021 Implement identifiers for unix backend
2023 2008-01-24 Alexander Larsson <alexl@redhat.com>
2028 Add g_file_copy_async() (#511580)
2029 Based on patch from Carlos Garcia Campos
2031 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2033 * gioscheduler.c: Some documentation additions.
2035 2008-01-22 Alexander Larsson <alexl@redhat.com>
2037 * gdesktopappinfo.c:
2038 (g_desktop_app_info_new):
2039 Don't leak basename.
2041 2008-01-22 Alexander Larsson <alexl@redhat.com>
2043 * gdesktopappinfo.c:
2044 (g_desktop_app_info_new_from_filename):
2047 2008-01-22 Alexander Larsson <alexl@redhat.com>
2049 * glocalfileinfo.c (get_thumbnail_attributes):
2052 2008-01-22 Alexander Larsson <alexl@redhat.com>
2055 (canonicalize_filename):
2056 Canonicalize paths that start with more than
2060 (compare_two_files):
2061 (test_g_file_new_for_path):
2064 2008-01-22 Alexander Larsson <alexl@redhat.com>
2067 Allow UTF-8 in file:// parse names.
2069 * tests/Makefile.am:
2070 * tests/data-input-stream.c:
2071 * tests/data-output-stream.c:
2072 * tests/g-file-info.c:
2074 Added a bunch of tests from Tomas Bzatek
2076 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2078 * === Released 2.15.3 ===
2080 2008-01-21 Alexander Larsson <alexl@redhat.com>
2082 * gfileinputstream.[ch]:
2083 * gfileoutputstream.[ch]:
2085 Remove duplicated GSeekable functions. (#509990)
2086 Just use the g_seekable_xxx() calls instead.
2088 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2091 * gvolumemanager.c: Whitespace cleanups.
2093 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2094 Use the right mode when creating the file.
2096 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2098 * gfileenumerator.c:
2099 * gfileinputstream.c:
2101 * goutputstream.c: Documentation: Fixed minor typos
2102 and added more mentions of specific _finish() functions.
2104 2008-01-21 Alexander Larsson <alexl@redhat.com>
2106 * inotify/Makefile.am:
2107 * inotify/inotify-helper.c:
2108 * inotify/inotify-kernel.c:
2109 * inotify/inotify-path.c:
2110 * inotify/local_inotify.h: Removed.
2111 * inotify/local_inotify_syscalls.h: Removed.
2112 Removed the included copies of the inotify
2113 headers. We now only use the <sys/inotify.h>
2114 header which exists on modern systems.
2115 This fixes problems on ARM and SH5 (#510448)
2116 but is also generally much cleaner and future
2117 safe. For instance, if other OSes add support
2118 for inotify it should "just work".
2120 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2122 * inotify/*.c: Coding style fixes.
2123 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2124 for the 1/4 Hz timer.
2126 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2129 * gfilemonitor.[hc]:
2130 * gmemoryinputstream.c:
2131 * gmemoryoutputstream.c:
2132 * gmountoperation.c:
2133 * gthemedicon.c: Documentation updates
2135 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2137 * gfile.c: documentation: Fixed more minor
2140 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2142 * gmount.c: (g_mount_remount): documentation:
2143 Mention g_mount_remount_finish() instead of
2144 g_mount_unmount_finish().
2146 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2150 * gfile.c: Fixed some minor typos in the
2153 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2155 * gio/gvolumemonitor.c:
2156 (g_volume_monitor_get_connected_drives):
2157 (g_volume_monitor_get_volumes):
2158 (g_volume_monitor_get_mounts): Documentation:
2159 Clarify the ownership of the regurn GLists.
2161 2008-01-17 Alexander Larsson <alexl@redhat.com>
2164 Add the async find_enclosing_mount version
2165 to the header file too.
2167 2008-01-17 Alexander Larsson <alexl@redhat.com>
2170 Add async version of find_enclosing_mount
2171 with default implementation.
2173 2008-01-17 Alexander Larsson <alexl@redhat.com>
2178 Allow calls to implementation of copy and write
2179 even if the type of the file implementations is
2180 different. This can be used to implement native
2181 upload and download calls in a vfs.
2184 (g_local_file_move):
2185 Protect against the case where move is called
2186 with one file not being local.
2188 Make sure we call the progress callback once
2189 in the native move operation so that the caller
2190 knows how many bytes were copied.
2192 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2195 * gdatainputstream.c:
2197 * gfileoutputstream.c:
2202 * gunixmounts.c: Corrected some typos in the documentation:
2203 occured -> occurred.
2204 its -> it's (where appropriate).
2206 2008-01-16 Alexander Larsson <alexl@redhat.com>
2210 Add g_file_query_exists (#508771)
2212 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2217 * gvolume.c: For async functions that have no non-async
2218 version, document that the GAsyncReadyCallback may be NULL.
2221 2008-01-15 Alexander Larsson <alexl@redhat.com>
2223 * gmemoryinputstream.c:
2224 * gmemoryoutputstream.c:
2225 Don't do pointer arithmetic on void * (#508602)
2226 Patch from Kazuki IWAMOTO
2228 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2230 * === Released 2.15.2 ===
2232 2008-01-14 Alexander Larsson <alexl@redhat.com>
2234 * gfile.c (g_file_monitor_file):
2235 Don't set error here, since we fallback to polling monitor.
2237 2008-01-14 Alexander Larsson <alexl@redhat.com>
2240 (g_file_monitor_directory):
2241 (g_file_monitor_file):
2242 Add GError to file monitor calls
2244 * glocaldirectorymonitor.c:
2245 * glocaldirectorymonitor.h:
2247 * glocalfilemonitor.c:
2248 * glocalfilemonitor.h:
2250 Update for above change
2252 2008-01-14 Alexander Larsson <alexl@redhat.com>
2256 Handle root correctly in g_file_get_relative_path (#508719)
2258 2008-01-14 Alexander Larsson <alexl@redhat.com>
2261 Clean up docs and example for GAsyncResult (#508074)
2263 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2265 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2266 and correct some spelling mistakes. Bug #508108.
2268 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2270 * glocalfileinfo.c: Add a comment.
2272 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2274 * gfileinfo.c: GFileInfo description: Mention
2275 how to actually set attributes in a GFile and how to discover
2276 which attributes are settable. Bug #508378.
2278 2008-01-10 A. Walton <awalton@svn.gnome.org>
2280 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2281 (g_app_info_get_default_for_type):
2282 Check for NULL content types.
2284 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2286 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2288 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2290 * gfile.c: *_async() functions: Several small corrections
2291 to the documentation, mostly correcting copy/paste errors
2292 and improving some sentences.
2294 2008-01-09 Dan Winship <danw@gnome.org>
2296 * glocalfile.c (get_unique_filename): x86_64 fix
2298 2008-01-09 Alexander Larsson <alexl@redhat.com>
2303 Add g_unix_mount_guess_should_display and use
2304 for unix volume monitor backend.
2305 This means we more or less show what the
2306 gnome-vfs backend did.
2307 Based on patch from Padraig O'Briain
2309 2008-01-09 Alexander Larsson <alexl@redhat.com>
2313 Add g_themed_icon_new_with_default_fallbacks
2316 Use default fallbacks for icons
2318 2008-01-09 Alexander Larsson <alexl@redhat.com>
2321 * gmountoperation.[ch]:
2322 Change the API a bit so that unhandled methods
2323 get reported via the reply, rather than by
2324 the signal emission return value. This is because
2325 some handlers can't know this immediately without
2326 doing I/O, and this is an async operation that
2329 2008-01-09 Alexander Larsson <alexl@redhat.com>
2332 * fam/gfamdirectorymonitor.c:
2333 * fam/gfamfilemonitor.c:
2334 Fix double free crash (#508224)
2335 Patch from Joe Marcus Clarke
2337 008-01-07 Matthias Clasen <mclasen@redhat.com>
2339 * === Released 2.15.1 ===
2341 2008-01-07 Alexander Larsson <alexl@redhat.com>
2343 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2344 Fix warning (#507835)
2346 2008-01-07 Alexander Larsson <alexl@redhat.com>
2349 Pass --internal to glib-genmarshal
2352 * gmountoperation.c:
2354 Use better types for signal arguments (#507822)
2356 2008-01-07 Alexander Larsson <alexl@redhat.com>
2359 Build test subdir after .
2360 Remove gdirectorymonitor.[ch]
2362 * gdirectorymonitor.[ch]:
2366 Remove GDirectoryMonitor and make
2367 GFileMonitor the baseclass for both file and
2368 directory monitors. Lift the more generic
2369 rate limiting code from GDirectoryMonitor
2373 * fam/gfamdirectorymonitor.[ch]:
2374 * inotify/ginotifydirectorymonitor.[ch]:
2375 * inotify/inotify-helper.c:
2376 * glocaldirectorymonitor.[ch]:
2379 Update for the removed GDirectoryMonitor.
2381 * gmemoryoutputstream.c:
2382 Remove ununsed variable
2384 2008-01-07 Alexander Larsson <alexl@redhat.com>
2386 * gmemoryinputstream.c:
2387 Translate error strings
2390 * gmemoryoutputstream.[ch]:
2391 New implementation that avoids using GByteArray
2392 in implementation and API. (#506377)
2394 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2396 * tests/*: Add a test for memory input streams.
2398 * Makefile.am: Add tests to SUBDIRS.
2400 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2402 * glocalfilemonitor.c:
2403 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2406 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2408 * gdesktopappinfo.c: Fix a docs typo.
2410 * gfileattribute.c: Add information about extended attributes
2411 to the documentation. (#505058)
2413 2008-01-04 Alexander Larsson <alexl@redhat.com>
2416 * gmountoperation.c:
2417 Use the right type (uint) for the ask_password signal.
2419 2008-01-04 Alexander Larsson <alexl@redhat.com>
2424 Add g_app_info_supports_files()
2425 Remove desktop arg from g_app_info_should_show().
2427 * gdesktopappinfo.[ch]:
2428 Implement g_app_info_supports_files() and new should_show()
2429 Add g_desktop_app_info_set_desktop_env() to set the desktop
2430 for should_show(). (This will be set by gtk+ later)
2432 2008-01-04 Alexander Larsson <alexl@redhat.com>
2435 * gmemoryinputstream.[ch]:
2436 Improve API so that you can use multiple chunks
2437 of memory and custom destroy functions. (#506374)
2439 2008-01-03 Alexander Larsson <alexl@redhat.com>
2442 Handle NULL attribute matchers safely, as we return this
2443 for empty attribute matcher strings.
2445 2008-01-03 Alexander Larsson <alexl@redhat.com>
2447 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2448 Add /usr/local to list of internal mountpoints
2450 2008-01-03 Alexander Larsson <alexl@redhat.com>
2453 Check for HAVE_LCHOWN (#505887)
2455 2008-01-03 Alexander Larsson <alexl@redhat.com>
2459 Add define for selinux context attribute.
2460 Fix missing : -> :: namespace separator change
2461 Fix missing _ -> - name change for xattr-sys.
2464 2008-01-03 Alexander Larsson <alexl@redhat.com>
2467 Link to libglib and libgobject directly (#504879)
2468 Patch from Sebastien Bacher
2470 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2472 * gfile.c: Expanded the g_file_new_for_commandline_arg
2473 description a bit, based on the code and the docs of the
2474 other g_file_new_for_* functions.
2476 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2478 * gfilemonitor.h: Fixed typo in docs.
2480 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2482 Updates to GIO documentation. (#506395, Mikael Hermansson)
2484 * gcontenttype.c: Describe memory management for return value of
2485 g_content_types_get_registered(). Missing piece from #505815.
2486 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2487 GVolume, GDrive, GMounts, which hopefully gives the user less
2488 confusions when using this API. Following explainations from
2489 Alexander Larsson on gtk-devel-list.
2491 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2493 * gfileinfo.c: Expand the long description.
2495 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2498 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2499 fix builds with --disable-visibility. (#500273, Christian Persch)
2501 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2503 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2504 in the list of returned app infos.
2506 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2508 * gappinfo.c: Fix a cross-reference
2510 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2512 * gfileinputstream.c:
2513 * gfileoutputstream.c:
2517 * gdesktopappinfo.c:
2519 * gfileinfo.c: Documentation updates.
2521 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2523 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2526 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2528 * gcontenttype.c (g_content_types_get_registered): Don't return
2529 freed memory (#505815, Mikael Hermansson)
2531 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2533 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2534 used to detect statbuf->st_blocks. (#505042)
2536 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2538 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2539 environment handling. (#504829, Cosimo Cecchi)
2541 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2543 * gappinfo.c: Doc improvements
2545 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2548 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2550 * === Released 2.15.0 ===
2552 2007-12-20 Hans Breuer <hans@breuer.org>
2554 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2555 with symbols gwin32appinfo.obj, added gmount.obj
2556 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2558 2007-12-20 Alexander Larsson <alexl@redhat.com>
2564 * gfilenamecompleter.c:
2567 * gpollfilemonitor.c:
2568 File attribute renames:
2570 fs:: -> filesystem::
2571 id::fs -> id::filesystem
2573 2007-12-20 Alexander Larsson <alexl@redhat.com>
2582 Add GMountUnmountFlags to all unmount and
2584 Add g_mount_remount() call.
2586 2007-12-20 Alexander Larsson <alexl@redhat.com>
2588 * gvfs.c (get_default_vfs):
2589 Fix unused variable warning
2591 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2593 * pltcheck.sh: Update
2595 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2597 * gunionvolumemonitor.c:
2598 * gunixmount.c: Remove C99 comments
2600 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2602 * gio.symbols: Add some missing symbols
2604 2007-12-19 Alexander Larsson <alexl@redhat.com>
2607 Make g_io_modules_load_all_in_directory not unuse
2608 loaded modules so that users of it can do stuff
2610 Init internal "module" types.
2611 Initialize static prio and name for types so that
2612 we don't have to load modules to get it.
2614 * gnativevolumemonitor.h:
2616 Move is_supported to parent class so that
2617 non-native monitors can avoid being initialized
2618 too. (For instance GDaemonVolumeMonitor if we're
2619 not using GDaemonVfs.)
2621 * glocaldirectorymonitor.[ch]:
2622 * glocalfilemonitor.[ch]:
2623 * gunionvolumemonitor.c:
2624 * gunixvolumemonitor.c:
2626 Find plugins using the static prio+name to
2627 avoid unnecessarily loading the modules.
2629 2007-12-19 Alexander Larsson <alexl@redhat.com>
2634 2007-12-19 Alexander Larsson <alexl@redhat.com>
2636 * gunionvolumemonitor.c:
2637 Store the native type as GType, not class so that
2638 we can unload it. But still avoid unnecessarily
2641 2007-12-19 David Zeuthen <davidz@redhat.com>
2643 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2644 add signals 'disconnected' and 'eject-button' on GDrive. Add
2645 signal 'removed' on GVolume and 'unmounted' on GMount.
2647 * gdrive.c: (g_drive_base_init):
2649 * gfile.c: (g_file_mount_mountable),
2650 (g_file_mount_enclosing_volume):
2653 * gmount.c: (g_mount_base_init):
2655 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2656 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2657 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2661 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2663 * *.c: Fix up includes in the section docs.
2665 2007-12-17 Alexander Larsson <alexl@redhat.com>
2667 * gnativevolumemonitor.h:
2668 * gunionvolumemonitor.c:
2669 * gunixvolumemonitor.c:
2670 Add is_supported() to GNativeVolumeMonitorClass so
2671 that we can avoid having to create an object to see
2672 if the backend is supported at runtime.
2673 Also add name member and an env var to pick a specific
2674 volume monitor backend.
2678 Add cancellable to _g_mount_get_for_mount_path()
2680 * glocaldirectorymonitor.c:
2681 * glocalfilemonitor.c:
2682 Avoid loading and unloading modules while sorting.
2684 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2687 * gunixmounts.[hc]: Namespace waste reduction, move some
2688 g_get_unix_mount functions to the g_unix_mount namespace.
2691 * gunixvolumemonitor.c:
2693 * glocaldirectorymonitor.c: Update all callers.
2695 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2697 2007-12-17 Alexander Larsson <alexl@redhat.com>
2700 Add doc comments about what GFile operations are
2701 guaranteed to not block.
2703 2007-12-17 Alexander Larsson <alexl@redhat.com>
2706 Add missing #ifdef fixing OSX build.
2707 (#503334, patch from Richard Hult)
2709 2007-12-14 David Zeuthen <davidz@redhat.com>
2713 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2714 (g_mount_eject), (g_mount_eject_finish):
2716 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2717 (get_volume_for_uuid), (get_mount_for_uuid),
2718 (g_union_volume_monitor_class_init),
2719 (get_default_native_type_with_exclude), (get_default_native_type),
2720 (get_native_type), (update_native_type),
2721 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2722 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2723 (g_unix_mount_can_eject), (eject_unmount_cb),
2724 (eject_unmount_read_error), (eject_unmount_do),
2725 (g_unix_mount_unmount), (g_unix_mount_eject),
2726 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2727 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2728 (g_unix_mount_point_guess_can_eject):
2730 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2731 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2732 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2733 (g_unix_volume_mount), (g_unix_volume_eject),
2734 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2735 * gunixvolumemonitor.c: (get_volume_for_uuid),
2736 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2738 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2739 (g_volume_eject), (g_volume_eject_finish):
2741 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2742 (g_volume_monitor_get_mount_for_uuid):
2745 Provide eject() on both GMount and GVolume and utility functions
2746 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2747 ejected. Introduce the concept of UUID's and wire it into GVolume
2748 and GMount and provide API on GVolumeMonitor to find such
2749 instances. Also handle the case where an external
2750 GNativeVolumeMonitor fails to initialize. Lock around the
2751 _g_get_mount_for_mount_path() function such that volume monitor
2752 implementations won't have to do locking themselves.
2754 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2756 * gdesktopappinfo.c:
2762 * gvolume.h: Documentation updates
2764 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2767 * gfile.h: Doc updates
2769 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2772 * gdesktopappinfo.c: Use hash table iterators.
2774 2007-12-14 Alexander Larsson <alexl@redhat.com>
2777 * gfileattribute.[ch]:
2778 * gfileattribute-priv.h:
2779 Move GFileAttributeValue to a private header, as
2783 Make set_attribute take a type + a pointer instead
2784 of a GFileAttributeValue.
2787 Fix up for above changes.
2788 Add g_file_info_get_attribute_data to get
2789 all info in one call, g_file_info_get_attribute_status
2790 to get the status and g_file_info_get_attribute_as_string.
2794 * glocalfileinfo.[ch]:
2798 Make _guess_type static.
2800 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2803 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2804 made mkenums and friends use temporary files to avoid leaving
2805 empty generated files on failure (#503470).
2807 2007-12-14 Alexander Larsson <alexl@redhat.com>
2809 * gmountoperation.h:
2812 2007-12-14 Alexander Larsson <alexl@redhat.com>
2816 * gfileattribute.[ch]:
2819 * glocalfileoutputstream.c:
2820 * gmountoperation.[ch]:
2821 * goutputstream.[ch]:
2822 Clean up all flags enums to not have _FLAGS in them
2823 Make the names of some of the enums better.
2828 2007-12-14 Michael Natterer <mitch@imendio.com>
2830 * gio.symbols: fix g_io_scheduler symbol names.
2832 2007-12-14 Alexander Larsson <alexl@redhat.com>
2838 * gbufferedinputstream.h:
2839 * gbufferedoutputstream.h:
2842 * gdatainputstream.h:
2843 * gdataoutputstream.h:
2844 * gdesktopappinfo.h:
2845 * gdirectorymonitor.h:
2849 * gfileenumerator.h:
2852 * gfileinputstream.h:
2854 * gfilenamecompleter.h:
2855 * gfileoutputstream.h:
2856 * gfilterinputstream.h:
2857 * gfilteroutputstream.h:
2865 * gmemoryinputstream.h:
2866 * gmemoryoutputstream.h:
2868 * gmountoperation.h:
2871 * gsimpleasyncresult.h:
2873 * gunixinputstream.h:
2875 * gunixoutputstream.h:
2879 * inotify/Makefile.am:
2880 Only allow including <gio/gio.h> from apps
2882 2007-12-14 Alexander Larsson <alexl@redhat.com>
2884 * gioscheduler.[ch]:
2885 * gsimpleasyncresult.c:
2886 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2887 Split out the send_to_mainloop call into two versions instead
2888 of having the block argument.
2890 2007-12-13 Alexander Larsson <alexl@redhat.com>
2892 * gcancellable.[ch]:
2894 * gbufferedinputstream.c:
2895 * gfileenumerator.c:
2896 * gfileinputstream.c:
2897 * gfileoutputstream.c:
2901 g_push/pop_current_cancellable ->
2902 g_cancellable_push/pop_current
2904 2007-12-13 Alexander Larsson <alexl@redhat.com>
2908 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2910 2007-12-13 Alexander Larsson <alexl@redhat.com>
2912 * gmountoperation.h:
2913 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2915 2007-12-12 Alexander Larsson <alexl@redhat.com>
2918 Fix race condition when freeing proxy in
2919 g_io_job_send_to_mainloop().
2921 2007-12-12 Alexander Larsson <alexl@redhat.com>
2927 Make attribute namespace separator "::" instead of ":".
2928 Use - instead of _ as separator in attribute names.
2930 2007-12-12 Alexander Larsson <alexl@redhat.com>
2932 * gbufferedinputstream.h:
2933 * gbufferedoutputstream.h:
2934 * gdatainputstream.h:
2935 * gdataoutputstream.h:
2936 * gdirectorymonitor.h:
2937 * gfileenumerator.h:
2938 * gfileinputstream.h:
2940 * gfileoutputstream.h:
2941 * gfilterinputstream.h:
2942 * gfilteroutputstream.h:
2944 * glocalfileinputstream.h:
2945 * glocalfileoutputstream.h:
2946 * gmemoryinputstream.h:
2947 * gmemoryoutputstream.h:
2948 * gnativevolumemonitor.h:
2950 * gunixinputstream.h:
2951 * gunixoutputstream.h:
2954 s/parent/parent_instance/ in GObjects
2956 2007-12-12 Alexander Larsson <alexl@redhat.com>
2961 No need for padding for interfaces
2963 2007-12-12 Alexander Larsson <alexl@redhat.com>
2967 * gbufferedinputstream.c:
2968 * gbufferedoutputstream.c:
2971 * gdatainputstream.[ch]:
2972 * gdesktopappinfo.c:
2973 * gdirectorymonitor.c:
2975 * gfileattribute.[ch]:
2978 * gfileinputstream.h:
2979 * gfilemonitor.[ch]:
2980 * gfileoutputstream.[ch]:
2981 * gfilterinputstream.h:
2982 * gfilteroutputstream.h:
2985 * gloadableicon.[ch]:
2986 * gmemoryinputstream.c:
2987 * gmountoperation.c:
2989 Fix up a bunch of details in the docs.
2994 2007-12-11 David Zeuthen <davidz@redhat.com>
2996 Rework how volumes, drives and volume monitoring is
2997 done. Previosly the model was
2999 GDrive <1-1> GVolume
3001 where a GDrive instance represented a mount point and a GVolume
3002 instance represented a mounted file system. This patch changes it
3005 GDrive <1-N> GVolume <1-1> GMount
3007 where GMount now serves the purpose of the old GVolume and the new
3008 GVolume serves the purpose of the old GDrive. In addition the new
3009 GDrive interface is used to represent a collection of GVolume
3010 instances (typically partitions) and also contains utility to query
3011 the state of the physical drive the GDrive object represents (such
3012 as checking for media, polling the drive, ejecting the media etc.).
3014 Also implement mounting and unmounting in the Unix volume monitor
3015 backend. A subquent patch will introduce GDrive support for ejection
3019 * gdrive.c: (g_drive_is_media_check_automatic),
3020 (g_drive_is_media_removable), (g_drive_has_media),
3021 (g_drive_can_poll_for_media), (g_drive_eject),
3022 (g_drive_eject_finish), (g_drive_poll_for_media),
3023 (g_drive_poll_for_media_finish):
3025 * gfile.c: (g_file_find_enclosing_mount):
3028 * glocaldirectorymonitor.c:
3029 (g_local_directory_monitor_constructor), (mounts_changed):
3030 * glocalfile.c: (get_mount_info),
3031 (g_local_file_find_enclosing_mount),
3032 (g_local_file_file_iface_init):
3033 * gnativevolumemonitor.h:
3034 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3035 (get_connected_drives), (g_union_volume_monitor_class_init),
3036 (child_volume_added), (child_volume_removed),
3037 (child_volume_changed), (child_mount_added), (child_mount_removed),
3038 (child_mount_pre_unmount), (child_mount_changed),
3039 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3040 (g_union_volume_monitor_remove_monitor),
3041 (_g_mount_get_for_mount_path):
3042 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3043 (guess_system_internal), (_g_get_unix_mounts),
3044 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3045 (g_unix_mount_free), (g_unix_mount_compare),
3046 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3047 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3048 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3049 (type_to_icon), (g_unix_mount_guess_name),
3050 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3051 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3052 (_resolve_symlink), (_resolve_dev_root):
3054 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3055 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3056 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3057 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3058 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3059 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3060 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3061 (g_unix_volume_volume_iface_init):
3063 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3064 (get_mounts), (get_volumes), (get_connected_drives),
3065 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3066 (mountpoints_changed), (mounts_changed),
3067 (g_unix_volume_monitor_init),
3068 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3069 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3070 * gunixvolumemonitor.h:
3071 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3072 (g_volume_mount), (g_volume_mount_finish):
3074 * gvolumemonitor.c: (g_volume_monitor_class_init),
3075 (g_volume_monitor_get_connected_drives),
3076 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3079 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3081 * gmountoperation.h (GPasswordFlags): Close the gap
3083 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3085 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3087 * gdesktopappinfo.[hc]: Remove _-prefixes
3089 2007-12-10 Tor Lillqvist <tml@novell.com>
3091 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3094 2007-12-10 Alexander Larsson <alexl@redhat.com>
3096 * gfile.c (g_file_set_display_name):
3097 Don't hardcode '/' (#502727)
3099 2007-12-09 Hans Breuer <hans@breuer.org>
3101 * makefile.msc : follow lib naming convention
3102 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3103 for user and group name, tested with ../tests/gio-ls
3105 2007-12-09 A. Walton <awalton@svn.gnome.org>
3107 * gdesktopappinfo.c:
3113 * gfileenumerator.c:
3118 * gmemoryinputstream.c:
3119 * gmemoryoutputstream.c:
3121 * gsimpleasyncresult.c:
3122 More documentation cleanup and filling in missing information, bringing
3123 GIO to 99% symbol coverage.
3125 2007-12-08 Hans Breuer <hans@breuer.org>
3127 [gio compiles and links on win32, not sure how much already works]
3128 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3129 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3130 base on win32 API; prefer g_lstat() over lstat(); instead of
3131 localtime_r() use an all GLib implementation on win32;
3132 get_mount_info() still needs a win32 specifc implementation
3133 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3134 win32_get_file_user_info to get owner/group info without uid/gid
3135 * glocalfileinputstream.c : include <io.h> on win32
3136 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3137 definition, use g_win32_ftruncate() for G_OS_WIN32
3138 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3139 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3140 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3141 * makefile.msc : updated
3143 2007-12-07 Alexander Larsson <alexl@redhat.com>
3145 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3146 Avoid warning spew if error == NULL
3148 2007-12-07 Alexander Larsson <alexl@redhat.com>
3151 Update docs wrt etags
3153 2007-12-06 Alexander Larsson <alexl@redhat.com>
3156 Include sys/types.h for dev_t (#501919)
3158 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3162 Make abicheck and pltcheck pass.
3164 2007-12-05 Alexander Larsson <alexl@redhat.com>
3167 * giomodule-priv.h: Added.
3168 * glocaldirectorymonitor.c:
3169 * glocalfilemonitor.c:
3170 * gunionvolumemonitor.c:
3172 Actually add the declaration of _g_io_modules_ensure_loaded
3174 2007-12-05 Alexander Larsson <alexl@redhat.com>
3176 * gdatainputstream.c:
3181 * glocaldirectorymonitor.c:
3182 * glocalfilemonitor.c:
3183 * gunionvolumemonitor.c:
3185 Make g_io_modules_ensure_loaded a private function and
3186 don't pass in the dirname. This means we can do magic
3187 directory finding in the win32 version.
3188 Export the actual load-modules-in-directory code so that
3189 gvfs can reuse that.
3191 2007-12-05 Alexander Larsson <alexl@redhat.com>
3193 * gbufferedinputstream.c:
3194 * gbufferedoutputstream.c:
3197 * gfileenumerator.[ch]:
3198 * gfileinputstream.c:
3199 * gfileoutputstream.[ch]:
3200 * gfilterinputstream.c:
3201 * gfilteroutputstream.c:
3202 * ginputstream.[ch]:
3204 * glocalfileenumerator.c:
3205 * glocalfileinputstream.c:
3206 * glocalfileoutputstream.c:
3207 * gmemoryinputstream.c:
3208 * gmemoryoutputstream.c:
3209 * goutputstream.[ch]:
3212 * gunixinputstream.c:
3213 * gunixoutputstream.c:
3214 Rename all struct members named:
3215 read, write, close, truncate, or mount
3216 to foo_fn, as these are reserved names
3217 and could be defined as macros in libc.
3220 2007-12-04 Alexander Larsson <alexl@redhat.com>
3223 (g_output_stream_close):
3224 Only call flush if non-null.
3226 2007-11-30 Dan Winship <danw@gnome.org>
3228 * ginputstream.c (g_input_stream_set_pending): Make this take a
3229 GError and return a gboolean, and do the "outstanding operation"
3230 check (and the "stream is already closed" check) itself.
3231 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3233 * goutputstream.c (g_output_stream_set_pending)
3234 (g_output_stream_clear_pending): Likewise
3236 * gbufferedinputstream.c:
3237 * gfileinputstream.c:
3238 * gfileoutputstream.c: Update for that
3240 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3241 Like g_simple_async_report_error_in_idle, but takes a GError
3242 rather than building one.
3244 2007-11-30 Dan Winship <danw@gnome.org>
3246 * goutputstream.c: Don't cheat and unset the "pending" flag around
3247 inner calls. Instead, call the class method directly rather than
3248 the wrapper function that checks "pending"
3250 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3252 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3254 2007-12-03 Hans Breuer <hans@breuer.org>
3256 [start of port to win32/msvc]
3257 * gcancellable.c : HAVE_UNIST_H and _pipe()
3258 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3259 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3260 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3262 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3263 * glocalvfs.c : use HAVE_PWD_H
3264 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3265 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3266 * Makefile.am : added to EXTRA_DIST
3268 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3270 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3273 2007-12-03 Alexander Larsson <alexl@redhat.com>
3276 Handle OSX style xattrs API (#500506)
3278 2007-12-03 Alexander Larsson <alexl@redhat.com>
3282 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3284 2007-12-02 A. Walton <awalton@svn.gnome.org>
3288 Documentation accuracy fixes.
3290 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3292 * gioenumtypes.c.template: Fix typo.
3294 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3296 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3298 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3300 * gdirectorymonitor.c:
3301 * gfilemonitor.c: Add properties
3303 * gbufferedoutputstream.c: Don't mark buffer-size property
3306 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3308 * gbufferedoutputstream.c: Add auto-grow property.
3310 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3312 * *.c: Unify the capitalization of section headings.
3314 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3316 * gmountoperation.c: Add properties
3318 * gdatainputstream.c: Turn byte-order and newline-type into
3321 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3323 * gioenumtypes.[hc].template: Templates for enum registration
3325 * Makefile.am: Generate gioenumtypes.[hc]
3327 * gio.h: Include gioenumtypes.h
3329 * gfile.h: Add some explicit nicks.
3331 * gio.symbols: Add new symbols
3333 * pltcheck.sh: Adjust
3335 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3337 * *.c: Explain etags and link to the explanation
3339 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3341 * *.c: Explain I/O priority.
3343 * *.c: More coding style fixes.
3345 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3347 * gasyncresult.c: Add another paragraph to the intro,
3348 adjust coding style of example.
3350 2007-11-29 A. Walton <awalton@svn.gnome.org>
3353 Fixes unknown meaning in GAppLaunchContext docs.
3355 Clarify asynchronous ops.
3357 Fix entity tag docs.
3360 Provides missing gtk-doc section, fixes API docs slighly.
3361 * gsimpleasyncresult.c:
3362 Fill in missing info in docs.
3363 * gunixinputstream.c:
3364 * gunixoutputstream.c:
3365 Be more expressive in short description.
3367 Remove gtk-doc stubs for non-public API.
3369 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3371 * *.c: Coding style fixups
3373 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3375 * inotify/inotify-helper.c: Don't export the lock from libgio.
3377 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3380 * abicheck.sh: Fix copy-and-paste leftovers
3382 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3384 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3386 2007-11-28 Alexander Larsson <alexl@redhat.com>
3390 Removed unnecessary file
3392 * gdesktopappinfo.[ch]:
3395 * glocaldirectorymonitor.[ch]:
3397 * glocalfileenumerator.[ch]:
3398 * glocalfileinputstream.[ch]:
3399 * glocalfilemonitor.[ch]:
3400 * glocalfileoutputstream.[ch]:
3402 * gnativevolumemonitor.c:
3403 * gpollfilemonitor.[ch]:
3404 * gunionvolumemonitor.[ch]:
3407 * gunixvolumemonitor.[ch]:
3410 * inotify/ginotifydirectorymonitor.[ch]:
3411 * inotify/ginotifyfilemonitor.[ch]:
3412 * inotify/inotify-helper.c:
3413 Append _ to all internal functions
3417 Export symbols needed for modules
3419 2007-11-28 Alexander Larsson <alexl@redhat.com>
3422 * abicheck.sh: Added.
3423 * makegioalias.pl: Added.
3424 * pltcheck.sh: Added.
3425 * gio.symbols: Added.
3428 Initial work on adding symbol handling.
3431 Correct ifdef guard name
3434 * inotify/Makefile.am:
3435 * xdgmime/Makefile.am:
3436 Include toplevel Makefile.decl
3438 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3440 * gcontenttype.c: Move doc comments to the unix section.
3442 * *.[hc]: More trivial doc corrections.
3444 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3446 * gpollfilemonitor.c:
3450 * gdesktopappinfo.c:
3455 * gdatainputstream.c:
3456 * gdatainputstream.h:
3457 * gdataoutputstream.c:
3458 * gdataoutputstream.h:
3459 * gfileinfo.h: Doc cleanups
3461 2007-11-28 Andre Klapper <a9016009@gmx.de>
3463 * gdesktopappinfo.c: Fix a typo.
3465 2007-11-27 Andre Klapper <a9016009@gmx.de>
3467 * glocalfileoutputstream.c: Fix a typo.
3469 2007-11-27 Alexander Larsson <alexl@redhat.com>
3472 Don't include removed headers
3474 2007-11-27 Alexander Larsson <alexl@redhat.com>
3477 * gsocketinputstream.[ch]: Removed.
3478 * gsocketoutputstream.[ch]: Removed.
3479 * gunixinputstream.[ch]: Added.
3480 * gunixoutputstream.[ch]: Added.
3481 Renamed GSocket*Stream to GUnix*Stream and made
3482 it unix-only, since its not really only for sockets
3483 and it only works on unix (but is highly useful there).
3485 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3491 * gbufferedinputstream.c:
3492 * gbufferedinputstream.h:
3493 * gbufferedoutputstream.c:
3494 * gbufferedoutputstream.h:
3498 * gdatainputstream.c:
3499 * gdatainputstream.h:
3500 * gdataoutputstream.c:
3501 * gdataoutputstream.h:
3502 * gdirectorymonitor.c:
3503 * gdirectorymonitor.h:
3510 * gfileenumerator.c:
3511 * gfileenumerator.h:
3516 * gfileinputstream.c:
3517 * gfileinputstream.h:
3520 * gfilenamecompleter.c:
3521 * gfilenamecompleter.h:
3522 * gfileoutputstream.c:
3523 * gfileoutputstream.h:
3524 * gfilterinputstream.c:
3525 * gfilterinputstream.h:
3526 * gfilteroutputstream.c:
3527 * gfilteroutputstream.h:
3540 * glocalfileoutputstream.c:
3541 * gmemoryinputstream.c:
3542 * gmemoryinputstream.h:
3543 * gmemoryoutputstream.c:
3544 * gmemoryoutputstream.h:
3545 * gmountoperation.c:
3546 * gmountoperation.h:
3549 * gpollfilemonitor.c:
3552 * gsimpleasyncresult.c:
3553 * gsimpleasyncresult.h:
3554 * gsocketinputstream.c:
3555 * gsocketinputstream.h:
3556 * gsocketoutputstream.c:
3557 * gsocketoutputstream.h:
3564 * gunixvolumemonitor.c:
3573 Bumps documentation to 93% symbol coverage, touching most
3574 of the public files. Fixes broken function documentation prototypes.
3575 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3576 gtk-doc headers in private files.
3578 2007-11-27 Jürg Billeter <j@bitron.ch>
3580 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3581 (g_buffered_input_stream_read_byte):
3582 * gbufferedinputstream.h:
3583 New functions for efficient access to buffer and simple single byte
3586 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3587 (g_data_input_stream_read_until):
3588 * gdatainputstream.h:
3589 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3590 read_until with multiple stop chars.
3592 2007-11-27 Alexander Larsson <alexl@redhat.com>
3596 * inotify/Makefile.am:
3597 Use the user-specified giomoduledir
3599 2007-11-27 Alexander Larsson <alexl@redhat.com>
3603 Add catch-all gio.h header
3604 Don't install gdummyfile.h
3606 2007-11-26 Alexander Larsson <alexl@redhat.com>
3608 * Makefile.am (gioinclude_HEADERS):
3609 Remove trailing whitespace
3611 2007-11-26 Alexander Larsson <alexl@redhat.com>
3613 Merge gio-standalone into glib
3615 2007-11-25 Christian Kellner <gicmo@gnome.org>
3617 * gio/goutputstream.c:
3618 Fix small mistake in the docs.
3620 2007-11-21 Christian Persch <chpe@gnome.org>
3622 * gio/glocalfile.c: (g_local_file_trash):
3623 Convert filenames to UTF-8 for GError.
3624 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3625 as per xdg base dir spec.
3627 2007-11-21 Christian Persch <chpe@gnome.org>
3629 * gio/gdesktopappinfo.c:
3630 Use that g_key_file_to_data cannot fail.
3632 Use stock defines for the key file group and key names.
3635 2007-11-21 Alexander Larsson <alexl@redhat.com>
3638 (copy_stream_with_progress):
3639 Make sure we do a final progress callback with
3640 the full total size.
3642 2007-11-21 Alexander Larsson <alexl@redhat.com>
3645 Export g_file_copy_attributes
3646 Remove padding as its not needed for interfaces
3648 2007-11-20 Alexander Larsson <alexl@redhat.com>
3653 Add G_IO_ERROR_WOULD_MERGE for
3654 copy/move dir on dir with overwrite.
3656 2007-11-20 Alexander Larsson <alexl@redhat.com>
3659 * gio/glocalfileinfo.c:
3660 Add COPY_NAME (this is an optional
3661 non-modified utf8 version of the name) that
3664 2007-11-20 Alexander Larsson <alexl@redhat.com>
3666 * gio/glocalfileenumerator.c:
3667 Report errors as GIOError, not GFileError
3669 2007-11-16 Alexander Larsson <alexl@redhat.com>
3671 * gio/glocalfileoutputstream.c:
3672 * gio/gwin32appinfo.c:
3673 Fix typos in strings.
3674 Patch from Luca Ferretti <elle.uca@libero.it>
3676 2007-11-15 Alexander Larsson <alexl@redhat.com>
3679 Post release version bump
3681 === gio-standalone 0.1.2 ===
3683 2007-11-15 Alexander Larsson <alexl@redhat.com>
3685 * docs/reference/gio/Makefile.am:
3686 Fix up distcheck by removing weird
3692 2007-11-14 Alexander Larsson <alexl@redhat.com>
3694 * gio/gdesktopappinfo.c:
3695 * gio/glocaldirectorymonitor.c:
3697 * gio/glocalfileinfo.c:
3698 * gio/inotify/inotify-sub.c:
3699 * programs/gio-cat.c:
3700 * programs/gio-copy.c:
3701 * programs/gio-info.c:
3702 * programs/gio-ls.c:
3703 * programs/gio-monitor-dir.c:
3704 * programs/gio-monitor-file.c:
3705 * programs/gio-mount.c:
3706 * programs/gio-move.c:
3707 * programs/gio-rm.c:
3708 * programs/gio-save.c:
3709 * programs/gio-trash.c:
3710 Leak fixes from Kjartan Maraas
3712 2007-11-14 Alexander Larsson <alexl@redhat.com>
3714 * gio/fam/fam-helper.c:
3716 * gio/glocalfileinfo.c:
3720 * gio/inotify/inotify-diag.c:
3721 * gio/inotify/inotify-kernel.c:
3722 Various code cleanups from Kjartan Maraas
3724 2007-11-14 Alexander Larsson <alexl@redhat.com>
3726 * gio/gioscheduler.c:
3728 Set up threadpool so that we cache 2 unused
3729 idle threads for at 15 secs. This means we
3730 will reuse thread-local data (like dbus connections)
3733 2007-11-14 Alexander Larsson <alexl@redhat.com>
3735 * gio/fam/fam-helper.c:
3736 * gio/fam/gfamdirectorymonitor.c:
3737 * gio/fam/gfamfilemonitor.c:
3739 * gio/gcontenttype.c:
3740 * gio/gdatainputstream.c:
3741 * gio/gdataoutputstream.c:
3745 * gio/gfileattribute.h:
3746 * gio/gfileenumerator.c:
3748 * gio/ginputstream.c:
3751 * gio/glocalfileinfo.c:
3752 * gio/goutputstream.c:
3753 * gio/gpollfilemonitor.c:
3754 * gio/gsimpleasyncresult.c:
3755 * gio/gunixmounts.c:
3756 * gio/gunixmounts.h:
3757 * gio/inotify/ginotifydirectorymonitor.c:
3758 * gio/inotify/ginotifyfilemonitor.c:
3759 * gio/inotify/inotify-diag.c:
3760 * gio/inotify/inotify-kernel.c:
3761 * gio/inotify/inotify-path.c:
3763 * gio/test-streams.c:
3764 * programs/gio-info.c:
3765 * programs/gio-monitor-dir.c:
3766 * programs/gio-monitor-file.c:
3767 Various code cleanups from Kjartan Maraas
3769 2007-11-13 Alexander Larsson <alexl@redhat.com>
3772 Handle the uri-scheme calls for dummy files
3774 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3776 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3777 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3778 to avoid clash with the C++ keyword.
3780 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3782 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3783 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3785 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3787 * gio/glocaldirectorymonitor.c:
3788 * gio/glocalfilemonitor.c:
3789 * gio/gunionvolumemonitor.c:
3790 Don't use g_once_init_*() for initializations that could fail and
3791 could leave the initialization variable set to 0 but use GOnce.
3792 This prevents a deadlock on the second call when trying to create
3793 a monitor and no monitor type is available. Thanks to Sven Herzberg
3796 2007-11-11 Sven Herzberg <sven@imendio.com>
3798 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3799 #ifdef (make it work on MacOS X again)
3801 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3803 Fixes Changelog for last two commits (sorry guys).
3805 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3807 * gio/gbufferedinputstream.c:
3808 * gio/gdatainputstream.c:
3810 * gio/gfileoutputstream.c:
3811 * gio/gfilterinputstream.c:
3812 * gio/glocalfileinputstream.c:
3815 More consistency fixes in g*stream.c files.
3816 Significant clean of gfile's documentation, filling in of
3817 asynchronous operations documentation.
3819 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3821 * gio/gasyncresult.c:
3822 * gio/gbufferedinputstream.c:
3823 * gio/gbufferedoutputstream.c:
3824 * gio/gcancellable.c:
3825 * gio/gcontenttype.c:
3826 * gio/gdatainputstream.c:
3827 * gio/gdataoutputstream.c:
3828 * gio/gdesktopappinfo.c:
3831 * gio/gfileattribute.c:
3832 * gio/gio/gfileenumerator.c:
3834 * gio/gfileinputstream.c:
3835 * gio/gfilemonitor.c:
3836 * gio/gfileoutputstream.c:
3837 * gio/ginputstream.c:
3839 * gio/gioscheduler.c:
3840 * gio/gloadableicon.c:
3841 * gio/glocalfileoutputstream.c:
3842 * gio/gmemoryoutputstream.c:
3843 * gio/gmountoperation.c:
3844 * gio/goutputstream.c:
3846 * gio/gsimpleasyncresult.c:
3847 * gio/gunionvolumemonitor.c:
3848 * gio/gunixmounts.c:
3849 * gio/gunixvolume.c:
3853 * gio/gvolumemonitor.c:
3854 Updated documentation stubs, working towards consistency and
3857 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3859 * gio/gmemoryoutputstream.c:
3860 * gio/gmemoryoutputstream.h:
3861 Change g_memory_output_stream_set_free_on_close() to
3862 g_memory_output_stream_set_free_data() as this makes more sense and
3863 is more consistent with GMemoryInputStream.
3865 2007-11-07 Alexander Larsson <alexl@redhat.com>
3872 Change how we find the default vfs so that
3873 we can handle a gvfs failing to init
3875 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3877 * gio/gbufferedoutputstream.c:
3878 * gio/gdatainputstream.c:
3879 * gio/gdataoutputstream.c:
3880 * gio/gfileinputstream.c:
3881 * gio/gfileoutputstream.c:
3882 * gio/gfilterinputstream.c:
3883 * gio/gfilteroutputstream.c:
3884 * gio/ginputstream.c:
3885 * gio/gmemoryinputstream.c:
3886 * gio/gmemoryoutputstream.c:
3887 * gio/goutputstream.c:
3888 * gio/gsimpleasyncresult.c:
3889 * gio/gsocketinputstream.c:
3890 * gio/gsocketoutputstream.c:
3891 Add guards to the remaining public functions, add a TODO for
3892 an unimplemented function and remove some useless guards.
3894 2007-11-07 Alexander Larsson <alexl@redhat.com>
3897 Autoconf checks for the various types of
3898 getpwuid_r and getgrgid_r
3900 * gio/glocalfileinfo.c:
3901 Use the autoconf checks from above
3903 2007-11-07 Alexander Larsson <alexl@redhat.com>
3906 (g_local_file_query_filesystem_info):
3907 Some fixes for the statvfs case
3909 2007-11-07 Alexander Larsson <alexl@redhat.com>
3912 (g_local_file_query_filesystem_info):
3913 Pick the "best" of statfs / statvfs for the system
3914 if both are availible.
3916 2007-11-07 Alexander Larsson <alexl@redhat.com>
3918 Solaris fixes from Halton.Huo@Sun.COM:
3925 * gio/glocalfileinfo.c:
3926 Fix for solaris definition of getpwuid_r
3928 * gio/test-streams.c:
3929 Use G_GNUC_PRETTY_FUNCTION
3931 2007-11-07 Alexander Larsson <alexl@redhat.com>
3933 * gio/gdesktopappinfo.c:
3934 (update_default_list):
3935 Remove double semicolon.
3936 Patch from Jens Granseuer
3938 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3940 * docs/reference/gio/gio-sections.txt:
3941 * gio/gbufferedinputstream.c:
3942 * gio/gbufferedinputstream.h:
3943 * gio/gdatainputstream.c:
3944 * gio/gfileenumerator.c:
3945 * gio/gioscheduler.c:
3946 * gio/gunionvolumemonitor.c:
3948 * programs/gio-save.c:
3949 Fix typo: availible -> available. Unfortuntely this breaks API
3950 and ABI as g_buffered_input_stream_get_available() was renamed.
3952 * gio/gunixmounts.c:
3953 * gio/gbufferedinputstream.c:
3954 Add guards for public functions.
3956 2007-11-06 Ross Burton <ross@openedhand.com>
3958 * docs/reference/gio/Makefile.am:
3959 Fix invalid += usage which automake 1.10 doesn't like.
3961 2007-11-06 Alexander Larsson <alexl@redhat.com>
3964 (g_app_launch_context_class_init):
3967 Patch from Ross Burton
3969 2007-11-06 Alexander Larsson <alexl@redhat.com>
3972 Post release version bump
3974 === gio-standalone 0.1.1 ===
3976 2007-11-06 Alexander Larsson <alexl@redhat.com>
3979 Bump version to 0.1.1
3981 * gio/gsimpleasyncresult.c:
3982 (g_simple_async_result_set_from_error):
3983 Remove bogus g_return_if_fail
3985 2007-11-06 Alexander Larsson <alexl@redhat.com>
3988 The name is gio-standalone
3991 Add top src/builddir to includedir
3993 2007-11-06 Alexander Larsson <alexl@redhat.com>
3995 * docs/reference/gio/gio-sections.txt:
3997 * gio/gbufferedinputstream.c:
3998 * gio/gbufferedoutputstream.c:
3999 * gio/gcancellable.c:
4000 * gio/gdatainputstream.h:
4001 * gio/gdataoutputstream.c:
4002 * gio/gdataoutputstream.h:
4003 * gio/gdirectorymonitor.c:
4005 * gio/gfileattribute.c:
4006 * gio/gfileattribute.h:
4007 * gio/gfileenumerator.c:
4008 * gio/gfileenumerator.h:
4011 * gio/gfileinputstream.h:
4012 * gio/gfilemonitor.c:
4013 * gio/gfileoutputstream.h:
4014 * gio/glocalfilemonitor.h:
4015 * gio/glocalfileoutputstream.h:
4016 * gio/gmemoryinputstream.c:
4017 * gio/gmemoryoutputstream.c:
4018 * gio/gmountoperation.c:
4019 * gio/goutputstream.c:
4020 * gio/goutputstream.h:
4022 * gio/gsimpleasyncresult.c:
4023 * gio/gunixmounts.c:
4024 * gio/gunixmounts.h:
4026 * gio/inotify/inotify-helper.c:
4027 Fix gtk-doc warnings
4029 Patch from Ross Burton
4031 2007-11-06 Alexander Larsson <alexl@redhat.com>
4033 * gio/gfilenamecompleter.c:
4034 (g_filename_completer_get_completions):
4037 * gio/gunixvolume.c:
4038 Remove unused function
4040 Patches from Ross Burton
4042 2007-11-06 Alexander Larsson <alexl@redhat.com>
4047 Padding not needed for interfaces
4049 2007-11-06 Alexander Larsson <alexl@redhat.com>
4051 * gio/gfilemonitor.c:
4055 Make giotypes.h an internal file
4058 * gio/gbufferedinputstream.h:
4059 * gio/gbufferedoutputstream.h:
4060 * gio/gcancellable.h:
4061 * gio/gdatainputstream.h:
4062 * gio/gdataoutputstream.h:
4063 * gio/gdirectorymonitor.c:
4064 * gio/gdirectorymonitor.h:
4069 * gio/gfileattribute.h:
4070 * gio/gfileenumerator.h:
4075 * gio/gfilemonitor.c:
4076 * gio/gfilemonitor.h:
4077 * gio/gfilenamecompleter.c:
4078 * gio/gfilenamecompleter.h:
4079 * gio/gfilterinputstream.h:
4080 * gio/gfilteroutputstream.h:
4081 * gio/ginputstream.h:
4082 * gio/gmemoryinputstream.h:
4083 * gio/gmemoryoutputstream.h:
4084 * gio/gmountoperation.c:
4085 * gio/gmountoperation.h:
4086 * gio/gnativevolumemonitor.c:
4087 * gio/goutputstream.h:
4090 * gio/gsimpleasyncresult.c:
4091 * gio/gsimpleasyncresult.h:
4092 * gio/gsocketinputstream.h:
4093 * gio/gsocketoutputstream.h:
4094 * gio/gthemedicon.c:
4095 * gio/gthemedicon.h:
4099 * gio/gvolumemonitor.c:
4100 * gio/gvolumemonitor.h:
4101 Add padding in classes where it seems useful
4102 Don't include giotypes.h from public headers
4103 Move in Class definitions into c file where possible
4108 2007-11-06 Alexander Larsson <alexl@redhat.com>
4110 * docs/reference/gio/gio-docs.xml:
4111 Better structure for API docs
4113 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4116 * gio/gloadableicon.c:
4117 * gio/gsimpleasyncresult.c:
4118 * gio/gthemedicon.c:
4119 Add some more guards to public functions. Only files missing are now
4122 2007-11-06 Alexander Larsson <alexl@redhat.com>
4124 * docs/reference/gio/gio-docs.xml:
4125 Remove old files, add missing ones
4127 2007-11-06 Alexander Larsson <alexl@redhat.com>
4129 * docs/reference/gio/gio-sections.txt:
4132 Hide implementation classes
4134 * gio/gdriveprivate.h:
4135 * gio/gvolumeprivate.h:
4136 Remove non-existing function declarations
4138 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4141 Fix compilation warnings and add guards to the new functions.
4143 * gio/gasyncresult.c:
4145 Add guards to the public functions.
4148 Implement get_path().
4150 2007-11-06 Alexander Larsson <alexl@redhat.com>
4152 * gio/gfilenamecompleter.c:
4153 Make g_filename_completer_get_completions
4154 return char ** instead of GList for
4157 * docs/reference/gio/gio-docs.xml:
4158 * docs/reference/gio/gio-sections.txt:
4160 * gio/gasyncresult.c:
4161 * gio/gbufferedinputstream.c:
4162 * gio/gbufferedoutputstream.c:
4163 * gio/gcancellable.c:
4164 * gio/gcontenttype.c:
4165 * gio/gdatainputstream.c:
4166 * gio/gdataoutputstream.c:
4167 * gio/gdesktopappinfo.c:
4168 * gio/gdirectorymonitor.c:
4172 * gio/gfileattribute.c:
4173 * gio/gfileenumerator.c:
4176 * gio/gfileinputstream.c:
4177 * gio/gfilemonitor.c:
4178 * gio/gfilenamecompleter.c:
4179 * gio/gfilenamecompleter.h:
4180 * gio/gfileoutputstream.c:
4181 * gio/gfilterinputstream.c:
4183 * gio/ginputstream.c:
4185 * gio/gioscheduler.c:
4186 * gio/gloadableicon.c:
4187 * gio/glocaldirectorymonitor.c:
4189 * gio/glocalfileinputstream.c:
4190 * gio/glocalfilemonitor.c:
4191 * gio/glocalfileoutputstream.c:
4193 * gio/gmemoryinputstream.c:
4194 * gio/gmemoryoutputstream.c:
4195 * gio/gmountoperation.c:
4196 * gio/goutputstream.c:
4197 * gio/gpollfilemonitor.c:
4199 * gio/gsimpleasyncresult.c:
4200 * gio/gsocketinputstream.c:
4201 * gio/gsocketoutputstream.c:
4202 * gio/gthemedicon.c:
4203 * gio/gunionvolumemonitor.c:
4205 * gio/gunixmounts.c:
4206 * gio/gunixvolume.c:
4207 * gio/gunixvolumemonitor.c:
4211 * gio/gvolumemonitor.c:
4212 * gio/gwin32appinfo.c:
4213 Add (mostly stub) doc strings to public functions.
4214 Patch from Andrew Walton (awalton@gmail.com)
4216 2007-11-06 Alexander Larsson <alexl@redhat.com>
4218 * gio/gappinfo.[ch]:
4219 Added GAppLaunchContext object and pass that to launch.
4220 This allows simple implementation of both
4221 launch-on-screen and startup notification via a gtk+
4222 subclass of GAppLaunchContext
4224 * gio/gdesktopappinfo.c:
4225 Implement GAppLaunchContext API
4227 * gio/gwin32appinfo.c:
4230 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4232 * gio/gmountoperation.c:
4233 Add some guards to GMountOperation's public functions.
4235 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4239 * gio/gcancellable.c:
4240 * gio/gdirectorymonitor.c:
4242 * gio/gfileenumerator.c:
4243 * gio/gfilemonitor.c:,
4244 * gio/gfilenamecompleter.c:
4247 * gio/gioscheduler.c:
4251 * gio/gvolumemonitor.c:
4252 Add even more guards to various public functions.
4254 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4257 Add guards to the public functions of GAppInfo.
4259 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4261 * gio/gcontenttype.c:
4262 Add some more guards for public functions.
4264 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4266 * gio/fam/fam-module.c:
4267 * gio/fam/gfamdirectorymonitor.c:
4268 * gio/fam/gfamdirectorymonitor.h:
4269 * gio/fam/gfamfilemonitor.c:
4270 * gio/fam/gfamfilemonitor.h:
4271 * gio/inotify/ginotifydirectorymonitor.c:
4272 * gio/inotify/ginotifydirectorymonitor.h:
4273 * gio/inotify/ginotifyfilemonitor.c:
4274 * gio/inotify/ginotifyfilemonitor.h:
4275 Add proper copyright information and remove an unused variable
4276 in the GInotifyFileMonitor constructor.
4278 * gio/gcancellable.c:
4279 Add a guard for a public function and an assertion to prevent
4280 an undefined program state.
4282 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4284 * gio/gfileattribute.c:
4285 Don't run into an assertion if the given attribute value is NULL
4286 in g_file_attribute_value_get_*() but instead return a fallback
4287 value that makes sense in most situations. Passing them a attribute
4288 value with the wrong type will still run into an assertion.
4290 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4292 * gio/gfileattribute.c:
4294 Add even more guards to the public functions. Also fix the refcounting
4295 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4296 let g_file_info_list_attributes() filter the attributes by namespace
4297 instead of simply ignoring the namespace parameter.
4299 2007-11-03 Sven Herzberg <sven@imendio.com>
4301 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4302 (This makes gio work on MacOS X again)
4304 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4307 Build the gio subdirectory before the docs. Otherwise the build will
4310 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4311 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4312 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4313 Add guards to the public functions.
4315 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4317 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4318 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4319 to prevent a compiler warning.
4321 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4322 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4323 return something in the non-void function find_topdir_for().
4325 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4332 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4334 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4335 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4336 * gwin32appinfo.c (g_win32_app_info_launch):
4337 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4338 envp_for_startup_id, g_desktop_app_info_launch,
4339 g_desktop_app_info_launch_uris):
4341 Give an opaque 'startup_id' string instead of 'envp'.
4342 Support empty file lists for launching new windows.
4343 Fix infinite recursion bug when launching URIs.
4345 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4348 Add guard to the new g_file_get_uri_scheme() function.
4350 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4353 Convert a g_return_val_if_fail() to setting the GError instead as
4354 otherwise applications have to verify the parameter before otherwise
4355 and the parameter might come directly from the user.
4357 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4359 * gio/inotify/ginotify*.[ch]:
4360 Add missing copyright information.
4362 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4365 Add guards in the beginning of public functions to check for valid
4366 parameters and fix a bug in copy_stream_with_progress() that could've
4367 caused writing less bytes than reading.
4368 * gio/glocalfileinfo.c:
4369 Check for a NULL parameter and set the GError accordingly then.
4370 * gio/goutputstream.c:
4371 Fix the same bug as in gfile.c that could've caused writing less bytes
4372 than reading in g_output_stream_real_splice().
4374 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4377 Use the correct gvolumeprivate.h naming
4379 2007-11-01 Christian Kellner <gicmo@gnome.org>
4382 Remove leftover "$(daemon_sources)" entry.
4384 2007-11-01 Christian Kellner <gicmo@gnome.org>
4389 Add copyright information to source files.
4391 2007-11-01 Alexander Larsson <alexl@redhat.com>
4395 Add g_file_get_uri_scheme
4397 2007-11-01 Alexander Larsson <alexl@redhat.com>
4400 * gio/gdesktopappinfo.c:
4401 * gio/gwin32appinfo.c:
4402 Add g_app_info_get_default_for_uri_scheme.
4404 2007-11-01 Alexander Larsson <alexl@redhat.com>
4407 Correct filename for gdriveprivate.h
4409 2007-10-31 Alexander Larsson <alexl@redhat.com>
4412 Rename id:value to id:file
4415 * gio/glocalfileinfo.c:
4418 2007-10-31 Alexander Larsson <alexl@redhat.com>
4420 * gio/gunixvolume.c:
4422 Remove g_volume_get_platform_id, as thats not
4423 needed with the simpler union volume monitor
4425 2007-10-31 Alexander Larsson <alexl@redhat.com>
4428 * gio/guniondrive.[ch]: Removed.
4429 * gio/gunionvolume.[ch]: Removed.
4430 Remove GUnionDrive/Volume
4432 * gio/gunionvolumemonitor.c:
4433 Simplify union volume monitor, now we
4434 only have one native volume monitor and
4435 we use the actual volumes/drives from the
4436 child monitors instead of wrapping them
4438 * gio/gnativevolumemonitor.[ch]:
4439 Base class for native volume monitors.
4440 Includes priority and get_volume_for_mountpoint
4443 Add g_file_find_enclosing_volume
4446 Remove volume name fs attribute
4447 Add readonly fs attribute
4450 Implement readonly attribute
4451 remove volume name attribute
4452 Implement find_enclosing volume
4454 * gio/gunixmounts.c:
4455 Add a volume for "/".
4457 * gio/gunixvolume.[ch]:
4458 Set better name for /
4460 * gio/gunixvolumemonitor.[ch]:
4461 Derive from GNativeVolumeMonitor
4462 Implement get_volume_for_mountpoint
4465 GVolume typedef moved to gfile.h
4467 * gio/gvolumeprivate.h:
4468 Add g_volume_get_for_mount_path
4470 2007-10-31 Alexander Larsson <alexl@redhat.com>
4472 * gio/gunixmounts.[ch]:
4473 Add cache info to unix mount listers
4474 Make getmntent use threadsafe
4475 Add is_system_internal attribute for GUnixMount
4477 * gio/gunixvolume.c:
4478 (g_unix_volume_new):
4479 Use is_system_internal instead of own code
4481 * gio/glocaldirectorymonitor.c:
4482 * gio/gunixvolumemonitor.c:
4483 Update to new gunixmounts API
4488 2007-10-30 Alexander Larsson <alexl@redhat.com>
4491 Add volume name fsinfo attribute
4494 Read volume name info
4496 * gio/gunionvolumemonitor.c:
4497 Fix infinite loops when finalizing a union volume monitor
4499 2007-10-30 Alexander Larsson <alexl@redhat.com>
4501 * gio/goutputstream.[ch]:
4502 Add splice() with default implementation
4504 * gio/gsocketoutputstream.c:
4505 (g_socket_output_stream_write):
4506 Return error on cancellation correctly.
4508 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4510 * gio/glocalfile.c (g_local_file_trash):
4511 Do not leak a string.
4513 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4515 * gio/gfile.c (g_file_load_contents):
4516 Unref the stream after closing it.
4518 2007-10-25 Alexander Larsson <alexl@redhat.com>
4520 * gio/gioscheduler.h:
4523 2007-10-25 Alexander Larsson <alexl@redhat.com>
4527 Add g_file_has_uri_scheme and implement for local files
4529 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4531 * gio/gdesktopappinfo.c: do not leak a string.
4533 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4535 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4536 (g_local_directory_monitor_new):
4537 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4538 (g_local_file_monitor_new):
4539 Only look for the monitor type that should be used the first time
4540 and use g_qsort_with_data() instead of our own bubble sort
4543 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4546 * gio/fam/Makefile.am:
4547 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4548 * gio/fam/fam-helper.h:
4549 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4550 * gio/fam/gfamdirectorymonitor.c:
4551 * gio/fam/gfamdirectorymonitor.h:
4552 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4553 * gio/fam/gfamfilemonitor.h:
4554 * gio/glocaldirectorymonitor.c:
4555 * gio/glocaldirectorymonitor.h:
4556 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4557 * gio/glocalfilemonitor.h:
4558 * gio/inotify/Makefile.am:
4559 * gio/inotify/ginotifydirectorymonitor.c:
4560 * gio/inotify/ginotifydirectorymonitor.h:
4561 * gio/inotify/ginotifyfilemonitor.c:
4562 * gio/inotify/ginotifyfilemonitor.h:
4563 Implement the FAM and Inotify monitors as
4564 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4565 their own GIO module. GLocal(Directory|File)Monitor will use the
4566 monitor with the highest rank that is supported on that machine.
4568 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4571 Change GIO module dir to $(libdir)/gio/modules and change
4572 the log domain from GVFS to GIO. Also only export symbols starting
4573 with g_ in the resulting library.
4574 * gio/test-streams.c: (main):
4575 Set log handler for the GIO log domain.
4577 2007-10-22 Alexander Larsson <alexl@redhat.com>
4579 * gio/gfilenamecompleter.[ch]:
4580 Add g_filename_completer_set_dirs_only
4582 2007-10-22 Alexander Larsson <alexl@redhat.com>
4585 * gio/gurifuncs.[ch]:
4586 Add some simple URI helpers
4588 * gio/gfilenamecompleter.[ch]:
4589 Added object for filename (parse name actually) completion
4592 Handle ~ in parse names
4594 2007-10-17 Alexander Larsson <alexl@redhat.com>
4597 * gio/glocalfileinfo.c:
4598 Add and implement id:value attribute
4600 2007-10-17 Alexander Larsson <alexl@redhat.com>
4603 * gio/guniondrive.c:
4605 Add and implement g_drive_has_volumes
4607 2007-10-17 Alexander Larsson <alexl@redhat.com>
4610 * gio/glocalfileinfo.[ch]:
4611 Add unix:is_mountpoint and implement for local files
4613 2007-10-16 Alexander Larsson <alexl@redhat.com>
4615 * gio/gunionvolumemonitor.c:
4616 (g_union_volume_monitor_init):
4617 Fix up the unix type getting so that it works with gcc
4619 2007-10-12 Alexander Larsson <alexl@redhat.com>
4622 * gio/glocalfileinfo.c:
4623 Add thumbnail:failed to file info
4625 2007-10-12 Richard Hult <richard@imendio.com>
4627 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4628 optimizing away the get_type call (happens with some gcc versions,
4629 like the one shipped with OS X 10.4).
4631 2007-10-12 Alexander Larsson <alexl@redhat.com>
4633 * gio/glocalfileinfo.c:
4634 (_g_local_file_info_set_attribute):
4635 Fix build if not HAVE_XATTR
4636 Patch from Milosz Derezynski <internalerror@gmail.com>
4638 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4640 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4641 around for review, otherwise I would have asked you before
4644 2007-10-11 Alexander Larsson <alexl@redhat.com>
4647 Add thumbnail:path attribute
4649 * gio/glocalfileinfo.c:
4650 Implement thumbnail:path for local files
4652 2007-10-11 Alexander Larsson <alexl@redhat.com>
4654 * gio/glocalfileinfo.c:
4655 (_g_local_file_info_get):
4656 Avoid duplicate icon names
4658 2007-10-11 Alexander Larsson <alexl@redhat.com>
4660 * gio/gthemedicon.[ch]:
4661 Change g_themed_icon_get_names return type to const
4663 2007-10-10 Alexander Larsson <alexl@redhat.com>
4665 * gio/glocalfileinfo.c:
4666 Don't reference freed memory
4668 2007-10-10 Alexander Larsson <alexl@redhat.com>
4670 * gio/gfileattribute.c:
4673 * gio/glocalfileinfo.c:
4676 2007-10-10 Alexander Larsson <alexl@redhat.com>
4679 Check for NULL icons
4681 * gio/gfileattribute.c:
4682 Don't dup when getting objects (same as for string attributes)
4684 * gio/gicon.c (g_icon_equal):
4685 Safely handle NULLs in equal
4687 2007-10-10 Alexander Larsson <alexl@redhat.com>
4690 Fix c++ compilation issues
4691 Patch from Milosz Derezynski <internalerror@gmail.com>
4693 2007-10-10 Alexander Larsson <alexl@redhat.com>
4695 * programs/gio-monitor-dir.c:
4696 Don't crash if dir monitor not supported.
4698 2007-10-09 Alexander Larsson <alexl@redhat.com>
4701 Add missing G_END_DECLS
4703 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4705 * gio/gfile.c: (g_file_set_display_name),
4706 (g_file_query_settable_attributes),
4707 (g_file_query_writable_namespaces):
4708 Return NULL not FALSE on errors as the return type is a pointer.
4710 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4712 * gio/glocalfile.c: (g_local_file_monitor_file):
4713 Don't call monitor_file on the default interface vtable (which
4714 is NULL) but simply return NULL. The caller, GFile, will create a
4715 polling monitor if NULL is returned.
4717 2007-10-09 Alexander Larsson <alexl@redhat.com>
4721 * gio-unix-2.0.pc.in:
4722 Add gio-unix-2.0.pc if OS_UNIX
4725 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4727 2007-10-09 Alexander Larsson <alexl@redhat.com>
4729 * gio/gunixmounts.[ch]:
4730 Make unix mount monitoring API sane.
4731 Now its just a object with mounts_changed
4732 and mountpoints_changed signals.
4734 * gio/glocaldirectorymonitor.c:
4735 * gio/gunixvolumemonitor.c:
4736 Use new mount monitor api
4738 2007-10-09 Alexander Larsson <alexl@redhat.com>
4740 * gio/gunixmounts.[ch]:
4741 Move guess type into one call for mounts and one for mountpoints
4744 * gio/gunixvolume.c:
4747 2007-10-09 Alexander Larsson <alexl@redhat.com>
4749 * gio/gunixmounts.[ch]:
4750 Remove _ prefix in preparation to make this semi-public
4751 Hide implementation of structs
4753 * gio/glocaldirectorymonitor.c:
4755 * gio/gunixvolume.c:
4756 * gio/gunixvolumemonitor.c:
4757 Update for above API changes
4759 2007-10-08 Alexander Larsson <alexl@redhat.com>
4762 Better polling fallback. This also handles the case where we have
4763 a monitor_file implementation, but it fails.
4765 2007-10-08 Alexander Larsson <alexl@redhat.com>
4769 * gio/gunixmounts.c:
4770 * programs/gio-monitor-dir.c:
4771 * programs/gio-monitor-file.c:
4772 Added cancellable to file monitoring calls.
4773 These are really sync calls and need this.
4775 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4777 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4778 (g_local_vfs_class_init):
4779 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4780 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4782 2007-10-05 Alexander Larsson <alexl@redhat.com>
4784 * gio/gdirectorymonitorprivate.h:
4785 * gio/gfilemonitorprivate.h:
4786 * gio/gdirectorymonitor.h:
4787 * gio/gfilemonitor.h:
4788 Remove *private.h and move to the public API, so that
4789 we can do implementations outside gio (such as in gvfs)
4791 * gio/gdirectorymonitor.c:
4792 * gio/gfilemonitor.c:
4793 * gio/glocaldirectorymonitor.c:
4794 * gio/gpollfilemonitor.c:
4795 * gio/inotify/inotify-helper.c:
4796 * gio/fam/fam-helper.c:
4797 Update to the new header names
4799 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4801 * gio/gdirectorymonitor.c:
4802 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4805 2007-10-04 Alexander Larsson <alexl@redhat.com>
4807 * gio/glocalfileinfo.c (get_access_rights):
4808 Set CAN_TRASH when we can move the file.
4809 We should really also check for a parent trash dir.
4811 2007-10-04 Alexander Larsson <alexl@redhat.com>
4813 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4814 Add can_trash access attribute
4816 2007-10-04 Alexander Larsson <alexl@redhat.com>
4819 (g_local_file_trash):
4820 Create info file first. This is per-spec and allows
4821 us to actually trash directories.
4823 2007-10-02 Alexander Larsson <alexl@redhat.com>
4825 * gio/gdesktopappinfo.c:
4826 Implement the new mime support code.
4827 Always set app as handling mimetype when being set as default for it
4829 2007-10-01 Alexander Larsson <alexl@redhat.com>
4831 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4832 Fix up check for xattrs:
4834 2007-10-01 Alexander Larsson <alexl@redhat.com>
4837 (g_app_info_set_as_default_for_extension):
4838 (g_app_info_add_supports_type):
4839 (g_app_info_can_remove_supports_type):
4840 (g_app_info_remove_supports_type):
4841 Make these fail nicely if not implemented
4843 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4845 * gio/glocalfileoutputstream.c:
4846 * gio/glocalfileoutputstream.h:
4851 * programs/gio-save.c:
4852 Add a GFileCreateFlags argument to operations that can create
4855 2007-10-01 Alexander Larsson <alexl@redhat.com>
4857 * gio/gappinfo.[ch]:
4858 * gio/gdesktopappinfo.c:
4859 Add more (stubbed out) mime API needed for nautilus
4861 2007-10-01 Alexander Larsson <alexl@redhat.com>
4864 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4865 Add g_app_info_set_as_default_for_extension.
4867 * gio/gdesktopappinfo.c:
4868 Dummy for g_app_info_set_as_default_for_extension
4869 Support flags in g_app_info_create_from_commandline
4871 * gio/gwin32appinfo.c:
4873 Update for API changes
4875 * gio/gthemedicon.c:
4876 Properly NULL-terminate list of icon names
4878 2007-09-28 Alexander Larsson <alexl@redhat.com>
4880 * gio/gloadableicon.h:
4881 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4883 2007-09-28 Alexander Larsson <alexl@redhat.com>
4886 Install headers in $includedir/gio-standalone/
4888 * gio-2.0.pc.in: Added.
4889 * gio-standalone.pc.in: Removed.
4892 Renamed pkg-config file to match glib (for future move)
4893 Update to the new include dir
4896 Add more TODO comments
4898 2007-09-28 Alexander Larsson <alexl@redhat.com>
4900 * gio/gdesktopappinfo.[ch]:
4901 Expose new_from_filename
4902 Add getter for is_hidden and handle it better
4904 2007-09-28 Alexander Larsson <alexl@redhat.com>
4906 * gio/gfileinfo.[ch]:
4907 Rename g_file_size_format_for_display to
4908 g_format_file_size_for_display.
4909 Now it doesn't have the g_file prefix, so we
4910 can later move it to glib.
4912 2007-09-28 Alexander Larsson <alexl@redhat.com>
4914 * gio/gappinfo.[ch]:
4915 Add g_app_info_get_id and g_app_info_get_executable.
4916 Make all getters non-reffing
4917 Make g_app_info_launch take GFile arguments.
4918 Add must_support_uris argument to g_app_info_get_default_for_type.
4920 * gio/gwin32appinfo.c:
4921 Update to GAppInfo api changes
4923 * gio/gdesktopappinfo.c:
4924 Update to GAppInfo api changes
4925 Implement supports_xdg_startup_notify
4927 * gio/gfileicon.c (g_file_icon_get_file):
4928 Make getter non-reffing.
4933 2007-09-27 Alexander Larsson <alexl@redhat.com>
4935 * gio/gfileinfo.[ch]:
4936 Add g_file_size_format_for_display helper
4938 2007-09-27 Alexander Larsson <alexl@redhat.com>
4940 * gio/glocalfileinfo.c:
4941 Set UNIX_GID from gid, not from uid
4943 2007-09-27 Alexander Larsson <alexl@redhat.com>
4946 Add g_file_set_attributes_async
4948 2007-09-27 Alexander Larsson <alexl@redhat.com>
4950 * gio/glocalfile.c (g_local_file_set_display_name):
4951 Fix set_display_name to actually rename to the right place.
4952 Use lstat to look for existing files so we don't overwrite
4955 2007-09-26 Alexander Larsson <alexl@redhat.com>
4958 Add g_file_set_display_name_async()
4960 2007-09-26 Alexander Larsson <alexl@redhat.com>
4963 Add load_partial_contents async calls
4966 Make internal function static
4968 2007-09-26 Alexander Larsson <alexl@redhat.com>
4970 * gio/glocalfileinfo.c:
4971 Correctly detect broken symlinks
4973 2007-09-26 Alexander Larsson <alexl@redhat.com>
4975 * gio/gcancellable.c (g_cancellable_cancel):
4976 Allow cancel on NULL cancellable
4978 2007-09-25 Alexander Larsson <alexl@redhat.com>
4980 * gio/gsimpleasyncresult.c:
4981 Don't allocate g_error manually.
4982 Fixes g_slice/g_new mixup crash
4984 2007-09-25 Alexander Larsson <alexl@redhat.com>
4986 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4987 Actually set active_backend.
4988 This means the monitor will be cancelled correctly.
4990 2007-09-25 Alexander Larsson <alexl@redhat.com>
4992 * gio/gdirectorymonitor.c:
4993 Set timeout to NULL when destroying
4995 2007-09-25 Alexander Larsson <alexl@redhat.com>
4998 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4999 that is a better description of the error.
5001 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5003 * gio/gvfs.c: (g_vfs_get_local):
5004 Make the local vfs variable static. The same instance should
5007 2007-09-24 Alexander Larsson <alexl@redhat.com>
5009 * gio/glocalfileinfo.c:
5010 Pass in actual length read into sniffer, not the length
5013 2007-09-21 Alexander Larsson <alexl@redhat.com>
5015 * gio/gfileenumerator.c:
5018 * gio/gfileinputstream.c:
5019 * gio/gfileoutputstream.c:
5020 * gio/ginputstream.c:
5021 * gio/goutputstream.c:
5022 Don't crash if async callbacks are NULL
5024 2007-09-20 Alexander Larsson <alexl@redhat.com>
5027 Add async enumerate_children method and default
5030 2007-09-20 Alexander Larsson <alexl@redhat.com>
5033 Add g_file_contains_file & g_file_get_relative_path, since they
5034 were needed for nautilus.
5035 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5040 Implement new methods
5042 2007-09-17 Alexander Larsson <alexl@redhat.com>
5045 * gio/gfileinputstream.[ch]:
5046 * gio/gfileoutputstream.[ch]:
5048 * gio/glocalfileenumerator.[ch]:
5049 * gio/glocalfileinfo.[ch]:
5050 * gio/glocalfileinputstream.c:
5051 * gio/glocalfileoutputstream.c:
5052 * gio/gpollfilemonitor.c:
5053 * programs/gio-copy.c:
5054 * programs/gio-info.c:
5055 * programs/gio-move.c:
5056 Rename get_file_info to query_info() to make it clearer
5057 that these are not simple getters, but do i/o.
5059 2007-09-17 Alexander Larsson <alexl@redhat.com>
5061 * gio/gdatainputstream.[ch]:
5062 * gio/test-streams.c:
5063 Use _read_XXX instead of _get_XXX for the i/o calls
5066 2007-09-17 Alexander Larsson <alexl@redhat.com>
5069 Added needed stuff to TODO comment
5071 2007-09-17 Alexander Larsson <alexl@redhat.com>
5073 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5074 Don't error out removing the backup copy if it doesn't
5077 2007-09-14 Alexander Larsson <alexl@redhat.com>
5079 * programs/Makefile.am:
5080 * programs/gvfs-*.c:
5082 Renamed apps from gvfs-xxx to gio-xxx.
5084 2007-09-14 Alexander Larsson <alexl@redhat.com>
5087 * gio/gfileoutputstream.[ch]:
5088 * gio/glocalfileoutputstream.c:
5089 * programs/gvfs-save.c:
5090 g_file_output_stream_get_etag doesn't do i/o, so remove
5091 cancellation and error.
5093 2007-09-14 Alexander Larsson <alexl@redhat.com>
5096 Add new_etag output to replace_contents functions
5098 2007-09-14 Alexander Larsson <alexl@redhat.com>
5100 * gio/gfileoutputstream.[ch]:
5101 Add async get_file_info and default implementation
5103 2007-09-14 Alexander Larsson <alexl@redhat.com>
5105 * gio/gfileinputstream.c:
5106 Implement fallback wrapper for async get_file_info
5108 2007-09-14 Alexander Larsson <alexl@redhat.com>
5111 Add etag out argument to load_contents
5116 2007-09-14 Alexander Larsson <alexl@redhat.com>
5118 * gio/gcontenttype.c (looks_like_text):
5119 Whitespace like tab, cr and lf do not make the
5122 2007-09-14 Alexander Larsson <alexl@redhat.com>
5124 * gio/gfileinputstream.[ch]:
5125 Add async get_file_info.
5127 2007-09-13 Alexander Larsson <alexl@redhat.com>
5129 * gio/goutputstream.c (g_output_stream_write_all):
5130 Allow NULL for bytes_written
5132 2007-09-13 Alexander Larsson <alexl@redhat.com>
5134 * gio/gmemoryinputstream.[ch]:
5135 Add accessors for data
5137 2007-09-13 Alexander Larsson <alexl@redhat.com>
5139 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5140 Don't crash if length is NULL