1 2008-09-26 Dan Winship <danw@gnome.org>
3 * tests/data-input-stream.c:
4 * tests/data-output-stream.c:
6 * tests/memory-input-stream.c:
7 * tests/memory-output-stream.c: Use g_assert_error() and
10 2008-09-26 Matthias Clasen <mclasen@redhat.com>
12 Bug 545350 – GAppInfo deletion
13 Bug 545351 – Reset associations for content type
16 * gappinfo.[hc]: New functions g_app_info_can_delete,
17 g_app_info_delete and g_app_info_reset_type_associations.
20 * gwin32appinfo.c: Implementations of these.
23 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
25 2008-09-26 Dan Winship <danw@gnome.org>
27 Bug 505361 – gunixinputstream.c assumes poll() available
28 Bug 509446 – portable blocking gio cancellation
30 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
31 GPollFD for a cancellable (which is slightly more complicated on
34 * gunixinputstream.c (g_unix_input_stream_read):
35 * gunixoutputstream.c (g_unix_output_stream_write): Use
36 g_cancellable_make_pollfd() and g_poll() rather than using poll()
39 * tests/unix-streams.c: test of GUnixInputStream,
40 GUnixOutputStream, and GCancellable.
42 2008-09-26 Dan Winship <danw@gnome.org>
44 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
45 cast to stop a gcc warning
47 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
50 2008-09-25 Dan Winship <danw@gnome.org>
52 Bug 553426 - cancellable clarifications
54 * gcancellable.c (g_cancellable_class_init): Add a note to the
55 "cancelled" signal docs warning about thread-safety issues
56 (g_cancellable_cancel): Note that cancelling an asynchronous
57 operation takes effect asynchronously, not immediately.
59 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
61 * gioenums.h: Add new GFileCopyFlag, to leave target file with
62 default perms, instead of setting the source file perms, in a copy
65 * gfile.c (g_file_copy_attributes)
66 (build_attribute_list_for_copy)
67 (should_copy): Not copy "unix::mode" attribute if we have received
68 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
70 2008-09-20 Matthias Clasen <mclasen@redhat.com>
72 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
74 2008-09-17 Matthias Clasen <mclasen@redhat.com>
76 * === Released 2.18.1 ===
78 2008-09-16 Michael Natterer <mitch@imendio.com>
80 * gcontenttype.c (g_content_type_guess): can't assign the return
81 value of g_strdupv() to an array. Fill the array manually with
82 const strings instead (it is never freed anyway). Fixes the
83 build. Also fixed indentation.
85 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
87 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
88 Fix trivial typo to unbreak the build (there was a colon
89 instead of a semicolon at the end of a statement).
91 2008-09-15 Matthias Clasen <mclasen@redhat.com>
93 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
96 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
99 2008-09-15 Matthias Clasen <mclasen@redhat.com>
101 Bug 551681 – g_content_type_guess() too naive with filenames
103 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
104 at the end of the filename, and declare it a directory.
105 Patch by Bastien Nocera
107 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
109 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
112 * gdesktopappinfo.c: add a note in the docs clarifying what the
113 "filename" parameter really is.
115 2008-09-12 Tor Lillqvist <tml@novell.com>
117 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
118 FormatMessage() etc here. Call g_win32_error_message() instead
119 which already does all that. Besides, the code was broken as it
120 called the default "A" version of FormatMessage() but still
121 thought it produced a wide string.
123 2008-09-12 Michael Natterer <mitch@imendio.com>
125 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
126 in the documentation.
128 2008-09-08 Christian Neumair <cneumair@gnome.org>
130 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
131 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
132 Use non-blocking pipe for mount helper I/O. Fixes #550647.
134 2008-09-06 Matthias Clasen <mclasen@redhat.com>
136 Bug 551149 – xdgmime mem leak
138 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
139 a memory leak. Patch by Christian Persch
141 2008-09-04 Tor Lillqvist <tml@novell.com>
143 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
146 2008-09-02 Matthias Clasen <mclasen@redhat.com>
148 * === Released 2.18.0 ===
150 2008-09-02 Michael Natterer <mitch@imendio.com>
152 * *.h: big header formatting cleanup: indentation, vtable
153 formatting, consistent spacing in (* vfunc), trailing whitespace
154 removal. Formatting should be pretty consistent in all GIO headers
157 2008-09-02 Matthias Clasen <mclasen@redhat.com>
159 * gmount.h: Document guess_content_type sync vfunc.
161 2008-09-02 Michael Natterer <mitch@imendio.com>
163 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
164 fix parent_class member to be GFilterOutputStreamClass (not
165 GOutputStreamClass). Drop three pointers of padding, which is
166 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
167 so the class struct size stays the same.
169 2008-09-02 Matthias Clasen <mclasen@redhat.com>
171 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
173 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
174 nonexisting return values. Pointed out by Cosimo Cecchi.
176 2008-08-23 Tor Lillqvist <tml@novell.com>
178 Bug 548988 - g_file_replace fails on Windows when the target file
181 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
182 Windows, close the file before potentially renaming it (in case we
183 have been writing to a file with a temporary name).
185 (g_local_file_output_stream_close, handle_overwrite_open): Use
186 GLocalFileStat instead of plain struct stat, for passing to
187 _g_local_file_info_create_etag(). Thus also use _fstati64()
188 instead of plain fstat() on Windows.
190 2008-08-18 Matthias Clasen <mclasen@redhat.com>
192 * === Released 2.17.7 ===
194 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
196 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
199 2008-08-13 Tor Lillqvist <tml@novell.com>
201 * win32/gwinhttpvfs.c
202 * win32/gwinhttpvfs.h
203 * win32/gwinhttpfile.c
204 * win32/gwinhttpfileinputstream.c
205 * win32/gwinhttpfileoutputstream.c: Refactor some common code
206 snippets into helper functions. Check HTTP response status
207 codes. Implement g_winhttp_file_query_info(), looking at
208 Content-Length, Content-Type and Last-Modified.
210 * win32/winhttp.h: Add some symbolic constants that are not
211 publicly documented. Just a handful, so it should be OK to use
212 information from the Windows SDK's headers.
214 2008-08-13 Tor Lillqvist <tml@novell.com>
216 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
219 * win32/gwin32directorymonitor.c
220 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
222 2008-08-13 Matthias Clasen <mclasen@redhat.com>
225 * goutputstream.c: Add intro docs.
227 2008-08-13 Tor Lillqvist <tml@novell.com>
229 * win32/gwinhttpfileoutputstream.c
230 (g_winhttp_file_output_stream_write): Don't write the
231 Content-Length header ourselves, WinHttpSendRequest() takes care
232 of that when the dwTotalLength parameter is non-zero. Increment
233 offset by the number of actual bytes sent, although I wonder if
234 such a scenario is possible where less than requested would be
235 sent and accepted by the server without errors.
237 2008-08-13 Tor Lillqvist <tml@novell.com>
239 * win32/gwinhttpvfs.c
240 * win32/gwinhttpvfs.h
241 * win32/gwinhttpfile.c
242 * win32/gwinhttpfile.h
243 * win32/gwinhttpfileinputstream.c
244 * win32/gwinhttpfileinputstream.h
245 * win32/gwinhttpfileoutputstream.c
246 * win32/gwinhttpfileoutputstream.h: New files implementing
247 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
248 Windows. The implementation uses the WinHttp API. Both reading and
249 writing are supported, i.e. GET and PUT requests. When writing,
250 each write call is done using a separate PUT request with a
251 Content-Range header. Requests for file URIs and plain pathnames
252 are forwarded to GLocalVfs.
254 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
255 WINE. Used as there is no <winhttp.h> bundled with mingw, and
256 requiring people to download the Windows SDK just for this one
257 header is not reasonable.
259 * win32/Makefile.am: Add above files.
261 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
262 the plumbing for the above.
264 2008-08-11 Sven Neumann <sven@gimp.org>
266 * gfilenamecompleter.c
267 * glocaldirectorymonitor.c
269 * gunionvolumemonitor.c
273 * gunixvolumemonitor.c
276 * gwin32volumemonitor.c: use canonical signal names.
278 2008-08-11 Tor Lillqvist <tml@novell.com>
280 * Makefile.am: Put a list of the platform-dependent .la files in
281 the subdirectories in the platform_deps Make variable, and make
282 libgio-2.0.la depend on that, so that it gets relinked if one of
283 the dependent libraries has changed.
285 2008-08-11 Tor Lillqvist <tml@novell.com>
287 * Makefile.am (platform_libadd): Remove -lwininet which had been
288 added by mistake. We will probably eventually be using WinHTTP,
289 not the older WinInet anyway. (Actually I am working on it.)
291 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
293 Bug 547080 – g_file_copy leaks expected errors
295 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
296 before trying the next fallback routine.
298 2008-08-09 Loïc Minier <lool@dooz.org>
300 Bug 535124 – umask 002 not being applied for new directories, new
301 files get the correct umask
303 * gfile.c (g_file_make_directory)
304 (g_file_make_directory_with_parents): Document ownership and
305 permissions of newly created directories as being the default
308 2008-08-08 Loïc Minier <lool@dooz.org>
310 Bug 535124 – umask 002 not being applied for new directories, new
311 files get the correct umask
313 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
316 2008-08-08 Tor Lillqvist <tml@novell.com>
318 * gwin32mount.c: Remove unused code. Whitespace cleanup.
320 * gwin32volumemonitor.c (get_connected_drives): Put questionable
321 code that didn't actually do anything inside #if 0, and add a
322 comment wondering what the code was supposed to do. This also gets
323 rid of a leftover debugging printout.
325 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
327 * gfileicon.c (g_file_icon_get_property)
328 (g_file_icon_set_property): New functions.
329 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
331 (g_file_icon_new): Use the property (bug #546132).
333 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
335 * gthemedicon.c (g_themed_icon_get_property): Also handle
336 `PROP_USE_DEFAULT_FALLBACKS'.
337 (g_themed_icon_class_init): Make
338 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
340 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
342 Bug 546371 – Improve docs re g_file_monitor
344 * gfilemonitor.c: Mention g_file_monitor() in the docs.
346 2008-08-04 Matthias Clasen <mclasen@redhat.com>
348 * === Released 2.17.6 ===
350 2008-08-04 Matthias Clasen <mclasen@redhat.com>
352 * === Released 2.17.5 ===
354 2008-08-04 Matthias Clasen <mclasen@redhat.com>
356 Bug 546017 – Don't copy attributes when copying a symlink
358 * gfile.c (g_file_copy_attributes): Specify
359 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
360 g_file_set_attributes_from_info. Patch by Christian Kellner
362 2008-08-04 Matthias Clasen <mclasen@redhat.com>
364 * gemblemedicon.[hc]:
366 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
367 a bit more extensible. Work by Clemens Buss.
369 * gioenums.h: Add GEmblemOrigin.
372 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
374 Bug 546079 – leak in xdgmime
376 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
378 2008-08-03 Tor Lillqvist <tml@novell.com>
380 * win32/gwin32directorymonitor.h
381 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
384 2008-08-03 Tor Lillqvist <tml@novell.com>
386 * win32/gwin32directorymonitor.c
387 (g_win32_directory_monitor_callback): Make prototype match
388 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
389 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
392 (g_win32_directory_monitor_constructor):
393 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
394 names in the GLib API on Windows, so convert to UTF-16 and open
397 2008-08-03 Tor Lillqvist <tml@novell.com>
399 Bug 541036 - Gnumeric crashes when trying to open Desktop or
400 user's folder under Windows
402 * win32/gwin32directorymonitor.c
403 (g_win32_directory_monitor_constructor): Ignore error from
404 CreateFile() when opening directory. Instead of asserting, just
405 store INVALID_HANDLE_VALUE then in
406 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
407 ReadDirectoryChangesW().
408 (g_win32_directory_monitor_cancel): Don't attempt to close
409 directory handle if it is INVALID_HANDLE_VALUE.
411 2008-08-01 Matthias Clasen <mclasen@redhat.com>
413 * gdesktopappinfo.c: Remove debug spew
415 2008-08-01 Hans Breuer <hans@breuer.org>
417 * makefile.msc : add gemblembedicon
419 2008-07-30 Matthias Clasen <mclasen@redhat.com>
421 Bug 545457 – gdmsetup crashed with SIGSEGV in
422 g_unix_mount_guess_should_display()
424 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
425 crash if no mount is found.
427 2008-07-28 Matthias Clasen <mclasen@redhat.com>
429 Bug 545203 – gfile.c: argument is different type.
431 * gfile.c (open_read_async_thread): Pass a GError **
432 to g_file_set_error_literal.
433 Reported by Kazuki Iwamoto
435 2008-07-28 Matthias Clasen <mclasen@redhat.com>
437 Bug 545157 – wrong/no list of "open with" applications for .cc and
440 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
441 Collect all ancestors, not just direct parents. Pointed
442 out by Bastien Nocera
444 2008-07-28 Matthias Clasen <mclasen@redhat.com>
446 * Makefile.am: Install gemblemedicon.h
448 2008-07-28 Matthias Clasen <mclasen@redhat.com>
450 * gemblemedicon.[hc]: Add a GIcon implementation that can
451 add an emblem to another icon.
458 * gfileicon.c: Small documentation additions.
460 2008-07-28 Tor Lillqvist <tml@novell.com>
462 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
465 2008-07-27 Tor Lillqvist <tml@novell.com>
467 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
469 2008-07-24 David Zeuthen <davidz@redhat.com>
473 Also export a g_mount_guess_content_type_sync() function.
475 2008-07-23 Matthias Clasen <mclasen@redhat.com>
477 529694 – SELinux context setting support
479 * gfileinfo.c: Support setting selinux attributes.
480 Patch by Tomas Bzatek
482 2008-07-22 Priit Laes <plaes@plaes.org>
484 Bug 544140 - fam-helper 64-bit issue?
486 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
488 2008-07-21 Matthias Clasen <mclasen@redhat.com>
490 * === Released 2.17.4 ===
492 2008-07-20 Matthias Clasen <mclasen@redhat.com>
494 * gvolumemonitor.[hc]:
499 * gmount.c: Documentation fixes
501 2008-07-19 Matthias Clasen <mclasen@redhat.com>
503 543504 – crash in Epiphany Web Browser: Opening local file
514 * gvolume.c: Register types thread-safely.
515 Patch by Christian Persch
517 2008-07-18 Matthias Clasen <mclasen@redhat.com>
519 * gcontenttype.c: Remove debug spew
521 2008-07-18 Matthias Clasen <mclasen@redhat.com>
523 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
526 * fen/fen-kernel.c: Remove a warning that was causing
527 crashes. Reported by Lin Ma.
529 2008-07-18 Matthias Clasen <mclasen@redhat.com>
531 Bug 543040 – async reading on dummy file will crash on
534 * gfile.c (open_read_async_thread): Cope with read_fn being
535 NULL. Reported by Lin Ma.
537 2008-07-18 Matthias Clasen <mclasen@redhat.com>
540 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
542 2008-07-16 Matthias Clasen <mclasen@redhat.com>
546 * giomodule.c: Rename a chapter id to avoid filename conflict.
548 2008-07-16 Matthias Clasen <mclasen@redhat.com>
550 Bug 540616 – mem leak in filechooser button
552 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
553 the mount entry. Reported by Chrisitan Persch
555 2008-07-16 Matthias Clasen <mclasen@redhat.com>
557 * gfile.c: Small documentation fixes.
559 2008-07-15 Matthias Clasen <mclasen@redhat.com>
561 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
563 2008-07-08 Matthias Clasen <mclasen@redhat.com>
568 * gmount.c: Documentation improvements.
570 2008-07-08 Matthias Clasen <mclasen@redhat.com>
573 * gmount.[hc]: Add g_mount_guess_content_type().
575 2008-07-06 David Zeuthen <davidz@redhat.com>
578 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
579 is needed for easily handling adoption of foreign volumes by
580 out-of-process volume monitors (#541793)
582 2008-07-06 David Zeuthen <davidz@redhat.com>
584 * gvolumemonitor.[ch]:
585 * gunionvolumemonitor.c: Export the eject-button signal on the
586 volume monitor class (#541794).
588 2008-07-06 Matthias Clasen <mclasen@redhat.com>
590 * gappinfo.c: More doc tweaks
592 2008-07-05 Matthias Clasen <mclasen@redhat.com>
594 * gappinfo.c: Clarify some docs
596 2008-07-03 Matthias Clasen <mclasen@redhat.com>
598 * gdesktopappinfo.c: Fix a stupid mistake.
600 2008-07-02 Matthias Clasen <mclasen@redhat.com>
602 * === Released 2.17.3 ===
604 2008-07-02 Matthias Clasen <mclasen@redhat.com>
606 * gfilemonitor.c: Fix the build.
608 2008-07-02 Matthias Clasen <mclasen@redhat.com>
610 Bug 536160 – Add g_file_monitor()
613 * gfile.[hc]: Add g_file_monitor which can return either
614 a file or a directory monitor. Proposed by Behdad Esfahbod
616 2008-07-02 Matthias Clasen <mclasen@redhat.com>
618 536733 – gio build failure on Irix
620 * glocalfile.c: Use a configure check for structfs.f_bavail.
622 2008-07-02 Matthias Clasen <mclasen@redhat.com>
624 Bug 534639 – add g_desktop_app_info_new_from_keyfile
627 * gdesktopappinfo.[hc]: Add a function to create a
628 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
630 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
632 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
634 2008-07-01 Matthias Clasen <mclasen@redhat.com>
636 * gunixmounts.c: Fix a doc typo.
638 2008-07-01 Cody Russell <bratsche@gnome.org>
640 * gio/gcontenttype.c:
641 * gio/gwin32appinfo.c:
642 * gio/gwin32volumemonitor.c:
643 * gio/gwin32mount.c: Fixed some include problems.
645 2008-07-01 Cody Russell <bratsche@gnome.org>
649 Moved all relevant typedefs into these files.
652 Updated wrt added files.
654 Split types into separate file for easier maintainership. (#538564)
656 2008-06-30 Matthias Clasen <mclasen@redhat.com>
658 Bug 540331 – g_file_append_to () documentation: can return NULL
660 * gfile.c (g_file_append_to): Clarify docs.
663 2008-06-30 Matthias Clasen <mclasen@redhat.com>
665 Bug 539090 – g_content_type_from_mime_type() should unalias
667 * gcontentype.c (g_content_type_from_mime_type): Unalias.
668 Patch by Markus Bergman
670 2008-06-30 Matthias Clasen <mclasen@redhat.com>
672 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
675 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
676 on ppc and alpha. Reported by Mart Raudsepp
678 2008-06-29 Matthias Clasen <mclasen@redhat.com>
681 * tests/memory-output-stream.c: Add some tests for
684 2008-06-29 Matthias Clasen <mclasen@redhat.com>
686 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
689 * gmemoryoutputstream.c (array_resize): Handle truncation to
690 zero correctly. Reported by Akira Tagoh
692 2008-06-29 Matthias Clasen <mclasen@redhat.com>
694 * gmemoryoutputstream.c: Trivial doc fixes
696 2008-06-29 Matthias Clasen <mclasen@redhat.com>
698 Bug 540802 – g_list_prepend doesn't concat lists
700 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
701 one list to another. Pointed out by Jan Arne Petersen
703 2008-06-28 Michael Natterer <mitch@imendio.com>
705 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
707 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
709 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
710 to avoid problems with partial icon themes.
712 2008-06-17 Hans Breuer <hans@breuer.org>
714 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
715 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
716 access again on win32, see bug #538127
717 * giomodule.c : ensure GWin32VolumeMonitor is registered
718 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
719 * Makefile.am makefile.msc : updated
721 2008-06-16 Hans Breuer <hans@breuer.org>
723 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
724 and initialization in one step avoids c99ism
726 2008-06-16 Christian Persch <chpe@gnome.org>
729 * gio/gbufferedinputstream.c
731 * gio/gdatainputstream.c
732 * gio/gdesktopappinfo.c
734 * gio/gfileenumerator.c
735 * gio/gfileinputstream.c
736 * gio/gfileoutputstream.c
738 * gio/glocaldirectorymonitor.c
740 * gio/glocalfileenumerator.c
741 * gio/glocalfileinfo.c
742 * gio/glocalfilemonitor.c
743 * gio/glocalfileoutputstream.c
744 * gio/gmemoryinputstream.c
745 * gio/gmemoryoutputstream.c
746 * gio/goutputstream.c
747 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
750 2008-06-16 Tor Lillqvist <tml@novell.com>
752 Bug 538362 - Get Win32 icons back in the file chooser
754 * gcontenttype.c (g_content_type_get_icon): Look up the icon
755 corresponding to a file extension in the Registry. Patch by Hans
757 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
759 2008-06-16 Tor Lillqvist <tml@novell.com>
761 Patches by Hans Breuer:
763 * glocalfile.c (is_xp_or_later): Handle compiling against older
764 SDK headers with missing VerifyVersionInfo(). Conditioned on
765 _MSC_VER, but should probably use some better test.
766 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
767 uninitialised statfs_result variable on Win32.
769 2008-06-16 Michael Natterer <mitch@imendio.com>
771 * *.c: chain up unconditionally in finalize() and dispose(). Also
772 don't dereference these function pointers when calling them since
773 that has no meaning at all.
775 2008-06-16 Ross Burton <ross@burtonini.com>
778 Remove check for dispose implementation as it annoys Emmanuele.
780 2008-06-16 Ross Burton <ross@burtonini.com>
782 Bug 536252 – GFileEnumerator should allow access to the containing
788 Add g_file_enumerator_get_container() and a container writeable
789 construct-only property. Also shuffle around typedefs to make it
792 * glocalfileenumerator.c:
793 * glocalfileenumerator.h:
795 Instead of a string filename take a GFile in the constructor and
796 use it to set the container property.
801 2008-06-16 Matthias Clasen <mclasen@redhat.com>
803 * gfile.c: Make includes more uniform
805 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
807 * tests/live-g-file.c (sample_struct):
808 Use less fancy unicode filenames, so the test doesn't fail
809 on Mac OS X (#531476).
811 2008-06-12 Matthias Clasen <mclasen@redhat.com>
813 * === Released 2.17.2 ===
815 2008-06-12 Matthias Clasen <mclasen@redhat.com>
817 * === Released 2.17.1 ===
819 2008-06-11 A. Walton <awalton@gnome.org>
821 * tests/g-file.c (test_g_file_new_null):
822 Fix broken test case.
824 2008-06-11 Matthias Clasen <mclasen@redhat.com>
826 * pltcheck.sh: We use g_clear_error now.
828 2008-06-11 Matthias Clasen <mclasen@redhat.com>
830 * glocalfile.c (g_local_file_enumerate_children): Revert
831 an unintended change.
833 2008-06-11 Matthias Clasen <mclasen@redhat.com>
835 * gfile.c (g_file_replace_contents): Don't unref before the last use.
837 2008-06-10 Matthias Clasen <mclasen@redhat.com>
839 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
842 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
843 as icon for the desktop directory, also make user-home and
844 user-desktop the preferred icons.
846 2008-06-10 Matthias Clasen <mclasen@redhat.com>
849 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
850 to add a name to the front of the list.
852 2008-06-10 Matthias Clasen <mclasen@redhat.com>
854 Bug 537392 – Additional colon in xattr name
856 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
857 too. Reported by Alessandro Morandi
859 2008-06-10 Matthias Clasen <mclasen@redhat.com>
861 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
864 * glocalfile.c (get_fs_type): Add afs and autofs.
865 Patch by Danny Baumann.
867 2008-06-10 Matthias Clasen <mclasen@redhat.com>
869 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
871 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
872 is no parent. (Owen Taylor, patch by Christian Neumair)
874 2008-06-10 Paolo Borelli <pborelli@katamail.com>
876 * gfile.c (g_file_replace_contents): do not leak the output stream.
878 2008-06-10 Michael Natterer <mitch@imendio.com>
880 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
881 uninitialized memory as array index.
883 2008-06-10 Tor Lillqvist <tml@novell.com>
885 * gcontenttype.c (g_content_type_can_be_executable)
886 (g_content_type_get_icon) [Win32]: Add TODO comments.
888 2008-06-09 Matthias Clasen <mclasen@redhat.com>
890 * xdgmime/Makefile.am: Fix the build
892 2008-06-09 Matthias Clasen <mclasen@redhat.com>
894 * gcontenttype.c (g_content_type_get_icon): Use icons specified
895 in the shared mime database, if available.
897 * xdgmime/*: Sync with upstream. This brings support for
898 glob weights, generic icons, and changes the cache format to
901 2008-05-28 Michael Natterer <mitch@imendio.com>
903 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
904 the global CPPFLAGS now.
906 * tests/data-input-stream.c
907 * tests/data-output-stream.c
908 * tests/g-file-info.c
910 * tests/live-g-file.c
911 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
913 2008-05-27 Matthias Clasen <mclasen@redhat.com>
915 * === Released 2.17.0 ===
917 * tests/live-g-file.c: Clean up after the tests, so make distcheck
918 doesn't complain about leftover files.
920 2008-05-27 simon.zheng <simon.zheng@sun.com>
922 * glocalfile.c: (g_local_file_query_filesystem_info):
923 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
925 2008-05-26 Michael Natterer <mitch@imendio.com>
927 * gmemoryoutputstream.h: declare
928 g_memory_output_stream_get_data_size().
930 2008-05-26 Matthias Clasen <mclasen@redhat.com>
932 * tests/*: Make tests work
934 2008-05-26 Matthias Clasen <mclasen@redhat.com>
936 * gio.symbols: Add g_memory_output_stream_get_data_size.
938 2008-05-25 Ross Burton <ross@burtonini.com>
941 Fix typo in error message (#534764).
943 2008-05-25 Ross Burton <ross@burtonini.com>
946 Fix circular dependency loop for gioenumtypes.h (#534759).
948 2008-05-19 Hans Breuer <hans@breuer.org>
950 * Makefile.am : EXTRA_DIST += makefile.msc
952 2008-05-17 Matthias Clasen <mclasen@redhat.com>
955 * gcontenttype.c: (g_content_type_from_mime_type):
956 New function to create a content type from a mime type. (#527175,
959 2008-05-17 Matthias Clasen <mclasen@redhat.com>
961 Bug 532965 – Should not return filesystem::free for certain file systems
963 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
964 free space for ncpfs.
966 2008-05-17 Matthias Clasen <mclasen@redhat.com>
968 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
970 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
971 st_dev might be zero.
973 2008-05-16 Tor Lillqvist <tml@novell.com>
975 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
976 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
978 2008-05-13 Bastien Nocera <hadess@hadess.net>
980 * gfile.c (has_valid_scheme): A URI scheme must start with a
981 letter, even if later more characters are allowed (#532852)
983 2008-05-05 Michael Natterer <mitch@imendio.com>
985 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
986 code from being checked in that breaks the build of applications
987 which use G_DISABLE_SINGLE_INCLUDES.
989 * makegioalias.pl: make the alias file include "glib.h" instead of
992 * gio.symbols: whitespace change to force regeneration of the
993 alias file after above script change.
995 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
997 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
999 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1001 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1003 2008-04-28 David Zeuthen <davidz@redhat.com>
1005 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1006 displaying mounts in a subdirectory not accessible to the
1009 2008-04-22 Michael Natterer <mitch@imendio.com>
1011 * Makefile.am: fix library versioning (it was 0.0.0).
1013 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1015 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1016 Default disable all loggings.
1017 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1018 (port_fetch_event_cb): Fixed two macro nits.
1020 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1022 * xdgmime/xdgmime.c: Rework the timestamp checking code
1023 to protect against duplicate directories in XDG_DATA_DIRS.
1024 Fixes fd.o bug 12513, reported by Joe Shaw.
1026 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1028 Partically revert the last commit after realizing that
1029 xdg_mime_media_type_equal doesn't have to init at all.
1031 * xdgmime/xdgmime.h:
1032 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1034 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1036 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1038 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1039 reported by Joe Shaw and Federico Mena Quintero.
1041 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1042 (xdg_mime_media_type_equal): Turn into a wrapper around the
1045 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1046 functions throughout.
1048 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1050 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1051 tolerate an empty TryExec= line without failing; nautilus used
1052 to create launchers with these in previous versions. Fixes #528433
1054 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1056 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1057 after name. Fixes #527132.
1059 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1061 * gfile.c: (g_file_replace):
1064 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1066 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1068 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1069 by Christian Kellner.
1071 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1073 * gunixmounts.c: (g_unix_mount_guess_should_display):
1074 Don't list the user directory as a mount, fix potential issue
1075 when other users have a similar naming and don't special case the
1076 gvfs mounts there since that's not required (#525866)
1078 2008-03-31 Alexander Larsson <alexl@redhat.com>
1080 * glocalfile.c (get_parent):
1083 2008-03-31 A. Walton <awalton@svn.gnome.org>
1085 * gfile.c (g_file_query_file_type):
1086 Always return a GFileType enum value (#520715).
1088 2008-03-31 Alexander Larsson <alexl@redhat.com>
1090 * glocalfileenumerator.c:
1091 Read readdir() info in chunks (of 1000) and sort
1092 the chunks by inode before stat:ing.
1093 This is a 20% performance increase in testing
1094 gvfs-ls on /usr/bin with cold cache.
1096 2008-03-31 Alexander Larsson <alexl@redhat.com>
1098 * gmemoryoutputstream.c:
1099 Clarify docs for g_memory_output_stream_get_size.
1100 Add g_memory_output_stream_get_data_size.
1102 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1106 * gfile.h: Add g_file_query_file_type convenience function
1107 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1109 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1111 * gfileenumerator.c:
1112 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1114 2008-03-28 A. Walton <awalton@svn.gnome.org>
1116 * giomodule.c (_g_io_modules_ensure_loaded):
1117 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1120 2008-03-28 Alexander Larsson <alexl@redhat.com>
1123 (copy_stream_with_progress):
1126 2008-03-28 Alexander Larsson <alexl@redhat.com>
1129 (copy_stream_with_progress):
1130 (file_copy_fallback):
1131 Fallback to g_file_query_info for source size
1132 if g_file_input_stream_query_info fails. (#524579)
1134 2008-03-28 Alexander Larsson <alexl@redhat.com>
1136 * glocalfile.c (g_local_file_move):
1137 Reuse old string instead of adding new one.
1139 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1141 * fen/*.[hc]: still copyright issue. I hate copyright.
1143 2008-03-27 Alexander Larsson <alexl@redhat.com>
1145 * glocalfile.c (g_local_file_move):
1146 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1147 file over directory. This is according to the docs and what the move via
1148 copy+remove fallback does.
1150 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1152 * fen/*.[hc]: Updated copyright.
1154 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1156 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1158 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1160 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1161 not emit attribute changed events when optimizing changed events.
1162 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1165 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1167 * gmountoperation.[hc]: Small documentation additions
1169 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1171 * gunixmounts.c: (guess_mount_type):
1172 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1174 2008-03-19 Alexander Larsson <alexl@redhat.com>
1177 (copy_stream_with_progress):
1178 Bump block side for copy to 64k to minimize
1179 overhead for low latency links. (#523015)
1181 2008-03-16 Tor Lillqvist <tml@novell.com>
1183 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1184 depend on gio.def on Windows.
1186 2008-03-12 David Zeuthen <davidz@redhat.com>
1190 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1192 2008-03-14 Alexander Larsson <alexl@redhat.com>
1196 Avoid redudant tests (#521851)
1197 Patch from Josselin Mouette
1199 2008-03-14 Alexander Larsson <alexl@redhat.com>
1202 (g_file_monitor_is_cancelled):
1203 Fix C89 issue (#521672)
1204 Patch from Jens Granseuer
1206 2008-03-14 Alexander Larsson <alexl@redhat.com>
1208 * fam/fam-helper.[ch]:
1210 Shut down fam (including removing fam GSource) when
1211 module is unloaded (#521513)
1212 Patch from Joe Marcus Clarke
1214 2008-03-14 Alexander Larsson <alexl@redhat.com>
1217 (_g_io_modules_ensure_loaded):
1220 2008-03-14 Alexander Larsson <alexl@redhat.com>
1223 (g_local_file_query_filesystem_info):
1224 Use right define name for f_fstypename member check
1226 2008-03-14 Alexander Larsson <alexl@redhat.com>
1229 * fen/Makefile.am: Added.
1230 * fen/fen-data.[ch]: Added.
1231 * fen/fen-dump.[ch]: Added.
1232 * fen/fen-helper.[ch]: Added.
1233 * fen/fen-kernel.[ch]: Added.
1234 * fen/fen-missing.[ch]: Added.
1235 * fen/fen-node.[ch]: Added.
1236 * fen/fen-sub.[ch]: Added.
1237 * fen/gfendirectorymonitor.[ch]: Added.
1238 * fen/gfenfilemonitor.[ch]: Added.
1240 Added Solaris FEN file notification backend.
1241 Patch from Lin Ma <Lin.Ma@Sun.COM>
1243 2008-03-13 Tor Lillqvist <tml@novell.com>
1245 * Makefile.am: Actually use the gio.def file when linking the
1246 library on Windows. Produce .lib library for Microsoft's toolchain
1247 when possible. Install the .lib and .def file like for the other
1250 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1252 * tests/live-g-file.c:
1253 Include live-g-file in standard set of tests, making a temporary
1254 directory in source structure.
1256 Clean target directory before the tests (write mode only)
1258 2008-03-12 Tor Lillqvist <tml@novell.com>
1260 Bug 517419 - gio win32 directory monitor
1261 Implementation by Vlad Grecescu.
1264 * win32/gwin32directorymonitor.h
1265 * win32/gwin32directorymonitor.c: New files.
1267 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1269 * Makefile.am: Add the win32 subdirectory.
1271 2008-03-12 Tor Lillqvist <tml@novell.com>
1273 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1274 normal struct stat on Unix but struct _stati64 on Windows to have
1275 access to 64-bit file size information. Use that instead of struct
1276 stat in the functions declared here in this private header.
1278 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1279 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1280 warnings about unused functions and variables. Don't set
1281 meaningless attributes like inode numbers on Windows.
1283 2008-03-12 Benjamin Otte <otte@gnome.org>
1286 trim whitespace so gtk-doc groks the function name
1288 2008-03-12 Tor Lillqvist <tml@novell.com>
1290 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1291 returning FALSE, on Win32.
1293 2008-03-11 Alexander Larsson <alexl@redhat.com>
1296 * glocalfileinfo.[ch]:
1297 Correctly implement can_trash by actually
1298 looking for a trash dir, not just assuming
1301 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1303 * === Released 2.16.1 ===
1305 2008-03-11 Alexander Larsson <alexl@redhat.com>
1308 Fix crashes in new constructor and properties code
1310 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1312 * gfile.c: Minor spelling correction in documentation:
1313 existance -> existence.
1315 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1317 * === Released 2.16.0 ===
1319 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1321 * gio.symbols: Remove g_file_contains_file here, too.
1323 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1325 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1326 Samuel Cormier-Iijima)
1328 2008-03-08 Tor Lillqvist <tml@novell.com>
1330 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1333 2008-03-07 Alexander Larsson <alexl@redhat.com>
1336 (g_local_file_query_filesystem_info):
1337 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1338 Patch from Jasper Lievisse Adriaanse
1340 2008-03-06 Tor Lillqvist <tml@novell.com>
1342 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1343 comments for the *_USEC attributes.
1345 2008-03-06 Alexander Larsson <alexl@redhat.com>
1347 * gfile.c (g_file_query_exists):
1348 Add g_return_val_if_fail check (#520700)
1350 2008-03-06 Alexander Larsson <alexl@redhat.com>
1352 * gdesktopappinfo.c:
1355 * gunionvolumemonitor.c:
1358 * tests/live-g-file.c:
1359 * xdgmime/xdgmimecache.c:
1360 Fix sparse warnings (#519489)
1362 2008-03-05 Alexander Larsson <alexl@redhat.com>
1365 Make cancellation threadsafe (i.e.
1366 guarantee its only done once, and always
1369 * glocaldirectorymonitor.c:
1370 Make sure we the monitor lives while the
1371 mounts_changed callback is being called (#520484)
1373 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1375 * gbufferedinputstream.c: Fix typo in parameter
1378 2008-03-04 Alexander Larsson <alexl@redhat.com>
1381 Remove deprecated symbols we kept for one release.
1383 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1386 * goutputstream.c: Tiny documentation corrections.
1388 2008-03-03 Alexander Larsson <alexl@redhat.com>
1390 * gunionvolumemonitor.c:
1392 Fix the adopt_orphan_mount vfunc to take a
1393 volume_monitor reference in an ABI compat way.
1394 This change is not API compat, but the added
1395 arg is not used in the only user of this vfunc, so
1396 all we get is a harmless warning in gvfs (#520169)
1398 2008-03-01 Benjamin Otte <otte@gnome.org>
1401 clarify docs for g_file_delete().
1403 2008-02-29 Alexander Larsson <alexl@redhat.com>
1407 Make sure empty files get text/plain type (#518720)
1409 2008-02-27 Alexander Larsson <alexl@redhat.com>
1415 (g_unix_volume_mount):
1416 Add missing GMountMountFlags argument
1418 2008-02-26 Alexander Larsson <alexl@redhat.com>
1421 (g_local_file_delete):
1422 Handle filesystems (like ntfs-3g) that return EEXIST instead
1423 of ENOTEMPTY (#518816)
1425 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1427 * === Released 2.15.6 ===
1429 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1431 * gfile.c (g_file_find_enclosing_mount):
1432 * ginputstream.c (g_input_stream_set_pending):
1433 * glocalfile.c (g_local_file_find_enclosing_mount):
1434 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1435 * goutputstream.c (g_output_stream_set_pending):
1437 Fixup translator comments (#518578).
1439 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1441 * gfile.c (g_file_find_enclosing_mount):
1443 * glocalfile.c (g_local_file_find_enclosing_mount):
1446 Fix a few typos in translator comments and documentation.
1448 2008-02-25 Alexander Larsson <alexl@redhat.com>
1455 Add translator comments (#518578)
1457 2008-02-25 Alexander Larsson <alexl@redhat.com>
1460 Reintroduce g_file_contains_file, keep around for one
1461 unstable release cycle to avoid crashing to many apps.
1462 Make sure to delete after release.
1464 2008-02-25 Alexander Larsson <alexl@redhat.com>
1467 Remove deprecated g_file_contains_file.
1469 2008-02-25 Alexander Larsson <alexl@redhat.com>
1472 Emit actual change signals in an idle handler.
1473 This avoids reentrance and locking problems in
1474 the file notification backends.
1476 2008-02-25 Alexander Larsson <alexl@redhat.com>
1479 (g_unix_mount_guess_should_display):
1480 Remove type guessing, instead just display
1481 mounts in /media and in ~/.
1483 2008-02-25 Alexander Larsson <alexl@redhat.com>
1486 Make new strings reuse old ones.
1488 2008-02-25 Alexander Larsson <alexl@redhat.com>
1491 Implement trashing and filesystem::readonly for win32 (#517235)
1492 Patch from Yevgen Muntyan
1494 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1496 * gfileinfo.h: Documentation fixes.
1498 2008-02-22 Alexander Larsson <alexl@redhat.com>
1500 * gcontenttype.c (g_content_type_get_icon):
1501 Look at old-style gnome mime icon names too, as many
1502 have not moved to the new style.
1504 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1506 * *.c: Correct the @include in for section docs.
1508 2008-02-21 David Zeuthen <davidz@redhat.com>
1510 * glocalfileinfo.c: (_g_local_file_info_get):
1512 (g_content_type_get_icon): Implement this function by
1513 moving bits from glocalfileinfo.c
1514 (g_content_type_get_description): Unalias before getting
1515 description (#517687)
1517 * gfile.c: (g_file_class_init),
1518 (g_file_query_filesystem_info_async),
1519 (g_file_query_filesystem_info_finish),
1520 (query_filesystem_info_data_free),
1521 (query_filesystem_info_async_thread),
1522 (g_file_real_query_filesystem_info_async),
1523 (g_file_real_query_filesystem_info_finish):
1524 * gfile.h: Implement async version of
1525 g_file_query_filesystem_info()
1527 * gfileinfo.h: Add new attributes for filesystem::use-preview
1529 * gio.symbols: Update
1531 * gthemedicon.c: (g_themed_icon_append_name):
1532 * gthemedicon.h: Add new new convenience function.
1534 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1535 (get_mounts), (get_volumes), (get_connected_drives),
1536 (get_volume_for_uuid), (get_mount_for_uuid),
1537 (g_union_volume_monitor_init), (populate_union_monitor),
1538 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1539 (g_volume_monitor_adopt_orphan_mount):
1541 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1542 monitor implementations to call into the main volume monitor. Also
1543 separate object initialization and volume monitor initialization
1544 such that non-native volume monitors can properly adopt their
1547 2008-02-21 Alexander Larsson <alexl@redhat.com>
1552 2008-02-21 Alexander Larsson <alexl@redhat.com>
1555 Add more documentation about how GFiles work (from #517086)
1557 2008-02-21 Alexander Larsson <alexl@redhat.com>
1561 Add new g_file_has_prefix that does the same as g_file_contains_file.
1562 Deprecate g_file_contains_file and add a macro that converts
1563 it to g_file_has_prefix.
1564 The reason for this change is that the contains_file() name seems to
1565 imply that this does more work than what it does, but its really only
1566 a name match (from #517086)
1571 Update to match the above change.
1573 2008-02-20 Benjamin Otte <otte@gnome.org>
1575 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1576 (g_file_eject_mountable):
1577 even more cases of not returning in error path
1579 2008-02-20 Benjamin Otte <otte@gnome.org>
1581 * gfile.c: (g_file_mount_mountable):
1582 return from function in error path.
1584 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1587 Remove trailing coma in GMountMountFlags struct
1589 2008-02-18 Alexander Larsson <alexl@redhat.com>
1593 * glocalfileoutputstream.c:
1594 Use g_unlink/g_rename instead of unlink/rename;
1595 do not pass raw filenames to g_set_error. (#517239)
1596 Patch from Yevgen Muntyan.
1598 2008-02-18 Alexander Larsson <alexl@redhat.com>
1601 * glocalfileoutputstream.c:
1602 Open files with O_BINARY on windows. (#517140)
1604 2008-02-14 Alexander Larsson <alexl@redhat.com>
1606 * glocalfileoutputstream.c:
1607 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1609 2008-02-14 Alexander Larsson <alexl@redhat.com>
1612 Copy permissions with file on copy (#514084)
1613 This is what cp does and makes sure e.g. the
1614 exec permissions are kept.
1615 Its kinda weird in that it keeps the permission bits
1616 the same while the uid and gid are different. However
1617 the new uid is the user so its not a security issue,
1618 and I've heard no complaints about cp on this issue.
1620 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1622 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1624 2008-02-13 Alexander Larsson <alexl@redhat.com>
1626 * inotify/inotify-path.c:
1627 Define IN_ONLYDIR if not in header (#515346)
1629 2008-02-12 Alexander Larsson <alexl@redhat.com>
1631 * tests/live-g-file.c:
1634 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1636 * === Released 2.15.5 ===
1638 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1640 * gio.symbols: Add g_mount_mount_flags_get_type.
1642 2008-02-11 Alexander Larsson <alexl@redhat.com>
1645 (g_file_info_set_attribute_mask):
1646 (g_file_attribute_matcher_matches_id):
1647 Correctly handle NULL GAttributeMatcher meaning
1648 matches nothing. (Fixes #513492)
1650 2008-02-11 Alexander Larsson <alexl@redhat.com>
1655 Added GMountMountFlags enum and added a flags
1656 argument to all mount calls.
1658 This is an API/ABI change for future extensibility,
1659 as I think we will need at least an
1660 inhibit-autorun flag (the panel needs this).
1661 There are no flags defined yet though.
1663 2008-02-11 Alexander Larsson <alexl@redhat.com>
1666 Added new standard::description attribute.
1667 Requested by Vincent, and useful for both
1670 2008-02-11 Alexander Larsson <alexl@redhat.com>
1672 * gdesktopappinfo.c:
1675 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1677 * *.c: Documentation additions
1679 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1681 * gappinfo.h: Formatting cleanup
1682 * gappinfo.c: Fix up docs.
1684 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1686 * gunixmounts.c: Consistently use getmntent_r() and fall
1687 back to getmntent(). (#515492)
1689 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1691 * gbufferedinputstream.c:
1693 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1695 * tests/data-input-stream.c:
1696 * tests/data-output-stream.c: Portability fixes.
1698 2008-02-08 Alexander Larsson <alexl@redhat.com>
1703 Add g_volume_should_automount.
1706 2008-02-07 Tor Lillqvist <tml@novell.com>
1708 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1709 Win32, too Unix-specific.
1711 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1713 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1714 a local plt if the compiler doesn't support what we want. Bug #514702
1716 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1718 reviewed by: <delete if not using a buddy>
1721 * gunixinputstream.c:
1722 * gunixoutputstream.c:
1724 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1726 * tests/Makefile.am:
1727 * tests/live-g-file.c:
1728 * tests/live-g-file.txt:
1729 New GIO testing module working over real data
1731 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1733 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1734 Fallback to rename() if link() is not available
1735 (when no support on target filesystem)
1737 2008-02-06 Michael Natterer <mitch@imendio.com>
1739 * gfileinfo.c (g_file_info_get_icon): replace
1740 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1742 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1744 * gfile.c (g_file_create):
1745 Documentation update of error codes
1747 2008-02-06 Alexander Larsson <alexl@redhat.com>
1749 * gdesktopappinfo.c:
1750 Update to use both mimeapps.list and
1751 defaults.list as discussed on xdg list.
1753 2008-02-06 Benjamin Otte <otte@gnome.org>
1756 * gfilenamecompleter.c:
1757 Fix some typos in the documentation.
1759 2008-02-06 Alexander Larsson <alexl@redhat.com>
1761 * glocalfile.c (g_local_file_trash):
1762 Don't succeed with trash if newly created
1763 trash dir has the wrong owner. (#514696)
1765 2008-02-05 Alexander Larsson <alexl@redhat.com>
1767 * glocalfile.c (g_local_file_move):
1768 Don't spew warnings when destination is not
1771 2008-02-03 Hans Breuer <hans@breuer.org>
1773 * makefile.msc : update
1775 2008-02-01 Michael Natterer <mitch@imendio.com>
1777 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1778 return value of xdg_mime_list_mime_parents() to a variable of the
1781 2008-02-01 Alexander Larsson <alexl@redhat.com>
1783 * gappinfo.c (g_app_info_launch_uris):
1784 Actually call the launch_uris method, not
1787 2008-02-01 Alexander Larsson <alexl@redhat.com>
1789 * gdesktopappinfo.c (g_desktop_app_info_equal):
1790 Ensure appinfos with no id but same pointer value
1793 2008-02-01 Alexander Larsson <alexl@redhat.com>
1795 * gappinfo.c (g_app_info_launch_default_for_uri):
1798 2008-02-01 Alexander Larsson <alexl@redhat.com>
1802 Add g_app_info_launch_default_for_uri utility
1805 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1807 * gdesktopappinfo.c:
1808 Doc fix for g_app_info_get_default_for_uri_scheme ()
1811 2008-01-30 Alexander Larsson <alexl@redhat.com>
1814 Add doc comment about uris vs GFiles to
1817 * gdesktopappinfo.c:
1818 Ensure uris passed to g_app_info_launch_uris()
1819 are not roundtriped through GFile (as that
1820 may be slightly destructive for e.g. mailto: links)
1822 2008-01-30 Alexander Larsson <alexl@redhat.com>
1824 * tests/data-input-stream.c:
1825 * tests/data-output-stream.c:
1826 C89 fixes from Jens Granseuer (#512849)
1828 2008-01-30 Alexander Larsson <alexl@redhat.com>
1831 Fix gamin/fam difference build issue. (#509419)
1833 2008-01-29 Alexander Larsson <alexl@redhat.com>
1836 * gdesktopappinfo.c:
1837 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1839 2008-01-29 Alexander Larsson <alexl@redhat.com>
1841 * gdesktopappinfo.c:
1842 * gdesktopappinfo.h:
1843 giomodule-priv.h include moved to .c file.
1845 2008-01-29 Alexander Larsson <alexl@redhat.com>
1847 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1848 Remove unused prio/name fields.
1850 2008-01-29 Alexander Larsson <alexl@redhat.com>
1852 * gcontenttype.c (looks_like_text):
1853 Don't treat whitespace as control chars.
1855 2008-01-29 Alexander Larsson <alexl@redhat.com>
1857 * gdesktopappinfo.c:
1858 Lazily create the desktop files for appinfos created
1859 by g_app_info_create_from_commandline() when needed
1860 for mime associations. This allows run-time use
1861 of GAppInfo object without creating unnecessary
1864 2008-01-29 Alexander Larsson <alexl@redhat.com>
1867 Added new symbols to gio.symbols
1869 2008-01-29 Alexander Larsson <alexl@redhat.com>
1872 Add g_file_query_default_handler utility to easily look up
1873 the GAppInfo that handles a file.
1875 * gdesktopappinfo.[ch]:
1877 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1880 Remove unused function
1882 2008-01-29 Alexander Larsson <alexl@redhat.com>
1884 * gfileenumerator.c:
1885 Mention need to free returned value in
1886 g_file_enumerator_next_files_finish docs.
1887 Fix leak if g_file_enumerator_next_files_finish()
1890 2008-01-29 Alexander Larsson <alexl@redhat.com>
1893 (_g_unix_content_type_get_parents):
1894 Use list_parents, not get_parents from xdgmime, because
1895 the later doesn't use the cache.
1897 * xdgmime/xdgmimecache.c:
1898 (_xdg_mime_cache_list_mime_parents):
1899 Don't list the same type as parent multiple times.
1901 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1903 * === Released 2.15.4 ===
1905 2008-01-28 Alexander Larsson <alexl@redhat.com>
1908 Register local vfs with prio 0.
1911 Remove old name and prio class members
1913 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1915 * tests/g-file.c: Disable some tests that are failing in
1916 the absence of a http backend.
1918 2008-01-28 Alexander Larsson <alexl@redhat.com>
1922 Add registration hooks for extension points.
1923 Register the gio extension points.
1925 * fam/gfamdirectorymonitor.c:
1926 * fam/gfamfilemonitor.c:
1927 * glocaldirectorymonitor.[ch]:
1928 * glocalfilemonitor.[ch]:
1929 * gnativevolumemonitor.h:
1930 * gunionvolumemonitor.c:
1931 * gunixvolumemonitor.c:
1934 * inotify/ginotifydirectorymonitor.c:
1935 * inotify/ginotifyfilemonitor.c:
1936 Use the extension points registration instead
1937 of g_type_children().
1939 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1942 * gvolume.[hc]: Document new API.
1944 * gfile.c (g_file_copy_async): Fix docs
1946 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1948 * gbufferedinputstream.c:
1950 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1953 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1955 * glocalfile.c: Avoid trivial differences in translatable strings.
1957 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1959 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1960 build with gcc 3.4 (#509419)
1962 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1964 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1965 (#509994, Murray Cumming)
1967 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1969 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1970 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1971 this allows big jobs to be executed in chunks, instead of blocking
1972 the main loop for a long time.
1974 * gsimpleasyncresult.c:
1975 * giofile.c: Adapt callers.
1977 2008-01-25 Alexander Larsson <alexl@redhat.com>
1979 * gdesktopappinfo.c:
1980 Implement changes discussed on xdg list.
1981 Now we can add supported mimetypes by just using defaults.list
1982 We can also remove associations in defaults.list.
1984 2008-01-25 Alexander Larsson <alexl@redhat.com>
1986 * gdesktopappinfo.c:
1987 Don't make local copy of desktop file
1988 for mimetype changes if the file already
1989 supports the new mimetype.
1991 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1995 * gbufferedinputstream.c:
1996 * glocalfile.c: String improvements. (#511966,
1997 Theppitak Karoonboonyanan)
1999 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2001 * gioscheduler.h: Expand docs a bit.
2003 2008-01-24 Alexander Larsson <alexl@redhat.com>
2006 Add g_drive_get_identifier and
2007 g_drive_enumerate_identifiers
2010 Add g_volume_get_identifier and
2011 g_volume_enumerate_identifiers
2017 Implement identifiers for unix backend
2019 2008-01-24 Alexander Larsson <alexl@redhat.com>
2024 Add g_file_copy_async() (#511580)
2025 Based on patch from Carlos Garcia Campos
2027 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2029 * gioscheduler.c: Some documentation additions.
2031 2008-01-22 Alexander Larsson <alexl@redhat.com>
2033 * gdesktopappinfo.c:
2034 (g_desktop_app_info_new):
2035 Don't leak basename.
2037 2008-01-22 Alexander Larsson <alexl@redhat.com>
2039 * gdesktopappinfo.c:
2040 (g_desktop_app_info_new_from_filename):
2043 2008-01-22 Alexander Larsson <alexl@redhat.com>
2045 * glocalfileinfo.c (get_thumbnail_attributes):
2048 2008-01-22 Alexander Larsson <alexl@redhat.com>
2051 (canonicalize_filename):
2052 Canonicalize paths that start with more than
2056 (compare_two_files):
2057 (test_g_file_new_for_path):
2060 2008-01-22 Alexander Larsson <alexl@redhat.com>
2063 Allow UTF-8 in file:// parse names.
2065 * tests/Makefile.am:
2066 * tests/data-input-stream.c:
2067 * tests/data-output-stream.c:
2068 * tests/g-file-info.c:
2070 Added a bunch of tests from Tomas Bzatek
2072 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2074 * === Released 2.15.3 ===
2076 2008-01-21 Alexander Larsson <alexl@redhat.com>
2078 * gfileinputstream.[ch]:
2079 * gfileoutputstream.[ch]:
2081 Remove duplicated GSeekable functions. (#509990)
2082 Just use the g_seekable_xxx() calls instead.
2084 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2087 * gvolumemanager.c: Whitespace cleanups.
2089 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2090 Use the right mode when creating the file.
2092 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2094 * gfileenumerator.c:
2095 * gfileinputstream.c:
2097 * goutputstream.c: Documentation: Fixed minor typos
2098 and added more mentions of specific _finish() functions.
2100 2008-01-21 Alexander Larsson <alexl@redhat.com>
2102 * inotify/Makefile.am:
2103 * inotify/inotify-helper.c:
2104 * inotify/inotify-kernel.c:
2105 * inotify/inotify-path.c:
2106 * inotify/local_inotify.h: Removed.
2107 * inotify/local_inotify_syscalls.h: Removed.
2108 Removed the included copies of the inotify
2109 headers. We now only use the <sys/inotify.h>
2110 header which exists on modern systems.
2111 This fixes problems on ARM and SH5 (#510448)
2112 but is also generally much cleaner and future
2113 safe. For instance, if other OSes add support
2114 for inotify it should "just work".
2116 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2118 * inotify/*.c: Coding style fixes.
2119 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2120 for the 1/4 Hz timer.
2122 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2125 * gfilemonitor.[hc]:
2126 * gmemoryinputstream.c:
2127 * gmemoryoutputstream.c:
2128 * gmountoperation.c:
2129 * gthemedicon.c: Documentation updates
2131 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2133 * gfile.c: documentation: Fixed more minor
2136 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2138 * gmount.c: (g_mount_remount): documentation:
2139 Mention g_mount_remount_finish() instead of
2140 g_mount_unmount_finish().
2142 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2146 * gfile.c: Fixed some minor typos in the
2149 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2151 * gio/gvolumemonitor.c:
2152 (g_volume_monitor_get_connected_drives):
2153 (g_volume_monitor_get_volumes):
2154 (g_volume_monitor_get_mounts): Documentation:
2155 Clarify the ownership of the regurn GLists.
2157 2008-01-17 Alexander Larsson <alexl@redhat.com>
2160 Add the async find_enclosing_mount version
2161 to the header file too.
2163 2008-01-17 Alexander Larsson <alexl@redhat.com>
2166 Add async version of find_enclosing_mount
2167 with default implementation.
2169 2008-01-17 Alexander Larsson <alexl@redhat.com>
2174 Allow calls to implementation of copy and write
2175 even if the type of the file implementations is
2176 different. This can be used to implement native
2177 upload and download calls in a vfs.
2180 (g_local_file_move):
2181 Protect against the case where move is called
2182 with one file not being local.
2184 Make sure we call the progress callback once
2185 in the native move operation so that the caller
2186 knows how many bytes were copied.
2188 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2191 * gdatainputstream.c:
2193 * gfileoutputstream.c:
2198 * gunixmounts.c: Corrected some typos in the documentation:
2199 occured -> occurred.
2200 its -> it's (where appropriate).
2202 2008-01-16 Alexander Larsson <alexl@redhat.com>
2206 Add g_file_query_exists (#508771)
2208 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2213 * gvolume.c: For async functions that have no non-async
2214 version, document that the GAsyncReadyCallback may be NULL.
2217 2008-01-15 Alexander Larsson <alexl@redhat.com>
2219 * gmemoryinputstream.c:
2220 * gmemoryoutputstream.c:
2221 Don't do pointer arithmetic on void * (#508602)
2222 Patch from Kazuki IWAMOTO
2224 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2226 * === Released 2.15.2 ===
2228 2008-01-14 Alexander Larsson <alexl@redhat.com>
2230 * gfile.c (g_file_monitor_file):
2231 Don't set error here, since we fallback to polling monitor.
2233 2008-01-14 Alexander Larsson <alexl@redhat.com>
2236 (g_file_monitor_directory):
2237 (g_file_monitor_file):
2238 Add GError to file monitor calls
2240 * glocaldirectorymonitor.c:
2241 * glocaldirectorymonitor.h:
2243 * glocalfilemonitor.c:
2244 * glocalfilemonitor.h:
2246 Update for above change
2248 2008-01-14 Alexander Larsson <alexl@redhat.com>
2252 Handle root correctly in g_file_get_relative_path (#508719)
2254 2008-01-14 Alexander Larsson <alexl@redhat.com>
2257 Clean up docs and example for GAsyncResult (#508074)
2259 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2261 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2262 and correct some spelling mistakes. Bug #508108.
2264 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2266 * glocalfileinfo.c: Add a comment.
2268 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2270 * gfileinfo.c: GFileInfo description: Mention
2271 how to actually set attributes in a GFile and how to discover
2272 which attributes are settable. Bug #508378.
2274 2008-01-10 A. Walton <awalton@svn.gnome.org>
2276 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2277 (g_app_info_get_default_for_type):
2278 Check for NULL content types.
2280 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2282 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2284 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2286 * gfile.c: *_async() functions: Several small corrections
2287 to the documentation, mostly correcting copy/paste errors
2288 and improving some sentences.
2290 2008-01-09 Dan Winship <danw@gnome.org>
2292 * glocalfile.c (get_unique_filename): x86_64 fix
2294 2008-01-09 Alexander Larsson <alexl@redhat.com>
2299 Add g_unix_mount_guess_should_display and use
2300 for unix volume monitor backend.
2301 This means we more or less show what the
2302 gnome-vfs backend did.
2303 Based on patch from Padraig O'Briain
2305 2008-01-09 Alexander Larsson <alexl@redhat.com>
2309 Add g_themed_icon_new_with_default_fallbacks
2312 Use default fallbacks for icons
2314 2008-01-09 Alexander Larsson <alexl@redhat.com>
2317 * gmountoperation.[ch]:
2318 Change the API a bit so that unhandled methods
2319 get reported via the reply, rather than by
2320 the signal emission return value. This is because
2321 some handlers can't know this immediately without
2322 doing I/O, and this is an async operation that
2325 2008-01-09 Alexander Larsson <alexl@redhat.com>
2328 * fam/gfamdirectorymonitor.c:
2329 * fam/gfamfilemonitor.c:
2330 Fix double free crash (#508224)
2331 Patch from Joe Marcus Clarke
2333 008-01-07 Matthias Clasen <mclasen@redhat.com>
2335 * === Released 2.15.1 ===
2337 2008-01-07 Alexander Larsson <alexl@redhat.com>
2339 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2340 Fix warning (#507835)
2342 2008-01-07 Alexander Larsson <alexl@redhat.com>
2345 Pass --internal to glib-genmarshal
2348 * gmountoperation.c:
2350 Use better types for signal arguments (#507822)
2352 2008-01-07 Alexander Larsson <alexl@redhat.com>
2355 Build test subdir after .
2356 Remove gdirectorymonitor.[ch]
2358 * gdirectorymonitor.[ch]:
2362 Remove GDirectoryMonitor and make
2363 GFileMonitor the baseclass for both file and
2364 directory monitors. Lift the more generic
2365 rate limiting code from GDirectoryMonitor
2369 * fam/gfamdirectorymonitor.[ch]:
2370 * inotify/ginotifydirectorymonitor.[ch]:
2371 * inotify/inotify-helper.c:
2372 * glocaldirectorymonitor.[ch]:
2375 Update for the removed GDirectoryMonitor.
2377 * gmemoryoutputstream.c:
2378 Remove ununsed variable
2380 2008-01-07 Alexander Larsson <alexl@redhat.com>
2382 * gmemoryinputstream.c:
2383 Translate error strings
2386 * gmemoryoutputstream.[ch]:
2387 New implementation that avoids using GByteArray
2388 in implementation and API. (#506377)
2390 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2392 * tests/*: Add a test for memory input streams.
2394 * Makefile.am: Add tests to SUBDIRS.
2396 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2398 * glocalfilemonitor.c:
2399 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2402 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2404 * gdesktopappinfo.c: Fix a docs typo.
2406 * gfileattribute.c: Add information about extended attributes
2407 to the documentation. (#505058)
2409 2008-01-04 Alexander Larsson <alexl@redhat.com>
2412 * gmountoperation.c:
2413 Use the right type (uint) for the ask_password signal.
2415 2008-01-04 Alexander Larsson <alexl@redhat.com>
2420 Add g_app_info_supports_files()
2421 Remove desktop arg from g_app_info_should_show().
2423 * gdesktopappinfo.[ch]:
2424 Implement g_app_info_supports_files() and new should_show()
2425 Add g_desktop_app_info_set_desktop_env() to set the desktop
2426 for should_show(). (This will be set by gtk+ later)
2428 2008-01-04 Alexander Larsson <alexl@redhat.com>
2431 * gmemoryinputstream.[ch]:
2432 Improve API so that you can use multiple chunks
2433 of memory and custom destroy functions. (#506374)
2435 2008-01-03 Alexander Larsson <alexl@redhat.com>
2438 Handle NULL attribute matchers safely, as we return this
2439 for empty attribute matcher strings.
2441 2008-01-03 Alexander Larsson <alexl@redhat.com>
2443 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2444 Add /usr/local to list of internal mountpoints
2446 2008-01-03 Alexander Larsson <alexl@redhat.com>
2449 Check for HAVE_LCHOWN (#505887)
2451 2008-01-03 Alexander Larsson <alexl@redhat.com>
2455 Add define for selinux context attribute.
2456 Fix missing : -> :: namespace separator change
2457 Fix missing _ -> - name change for xattr-sys.
2460 2008-01-03 Alexander Larsson <alexl@redhat.com>
2463 Link to libglib and libgobject directly (#504879)
2464 Patch from Sebastien Bacher
2466 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2468 * gfile.c: Expanded the g_file_new_for_commandline_arg
2469 description a bit, based on the code and the docs of the
2470 other g_file_new_for_* functions.
2472 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2474 * gfilemonitor.h: Fixed typo in docs.
2476 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2478 Updates to GIO documentation. (#506395, Mikael Hermansson)
2480 * gcontenttype.c: Describe memory management for return value of
2481 g_content_types_get_registered(). Missing piece from #505815.
2482 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2483 GVolume, GDrive, GMounts, which hopefully gives the user less
2484 confusions when using this API. Following explainations from
2485 Alexander Larsson on gtk-devel-list.
2487 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2489 * gfileinfo.c: Expand the long description.
2491 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2494 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2495 fix builds with --disable-visibility. (#500273, Christian Persch)
2497 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2499 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2500 in the list of returned app infos.
2502 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2504 * gappinfo.c: Fix a cross-reference
2506 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2508 * gfileinputstream.c:
2509 * gfileoutputstream.c:
2513 * gdesktopappinfo.c:
2515 * gfileinfo.c: Documentation updates.
2517 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2519 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2522 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2524 * gcontenttype.c (g_content_types_get_registered): Don't return
2525 freed memory (#505815, Mikael Hermansson)
2527 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2529 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2530 used to detect statbuf->st_blocks. (#505042)
2532 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2534 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2535 environment handling. (#504829, Cosimo Cecchi)
2537 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2539 * gappinfo.c: Doc improvements
2541 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2544 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2546 * === Released 2.15.0 ===
2548 2007-12-20 Hans Breuer <hans@breuer.org>
2550 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2551 with symbols gwin32appinfo.obj, added gmount.obj
2552 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2554 2007-12-20 Alexander Larsson <alexl@redhat.com>
2560 * gfilenamecompleter.c:
2563 * gpollfilemonitor.c:
2564 File attribute renames:
2566 fs:: -> filesystem::
2567 id::fs -> id::filesystem
2569 2007-12-20 Alexander Larsson <alexl@redhat.com>
2578 Add GMountUnmountFlags to all unmount and
2580 Add g_mount_remount() call.
2582 2007-12-20 Alexander Larsson <alexl@redhat.com>
2584 * gvfs.c (get_default_vfs):
2585 Fix unused variable warning
2587 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2589 * pltcheck.sh: Update
2591 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2593 * gunionvolumemonitor.c:
2594 * gunixmount.c: Remove C99 comments
2596 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2598 * gio.symbols: Add some missing symbols
2600 2007-12-19 Alexander Larsson <alexl@redhat.com>
2603 Make g_io_modules_load_all_in_directory not unuse
2604 loaded modules so that users of it can do stuff
2606 Init internal "module" types.
2607 Initialize static prio and name for types so that
2608 we don't have to load modules to get it.
2610 * gnativevolumemonitor.h:
2612 Move is_supported to parent class so that
2613 non-native monitors can avoid being initialized
2614 too. (For instance GDaemonVolumeMonitor if we're
2615 not using GDaemonVfs.)
2617 * glocaldirectorymonitor.[ch]:
2618 * glocalfilemonitor.[ch]:
2619 * gunionvolumemonitor.c:
2620 * gunixvolumemonitor.c:
2622 Find plugins using the static prio+name to
2623 avoid unnecessarily loading the modules.
2625 2007-12-19 Alexander Larsson <alexl@redhat.com>
2630 2007-12-19 Alexander Larsson <alexl@redhat.com>
2632 * gunionvolumemonitor.c:
2633 Store the native type as GType, not class so that
2634 we can unload it. But still avoid unnecessarily
2637 2007-12-19 David Zeuthen <davidz@redhat.com>
2639 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2640 add signals 'disconnected' and 'eject-button' on GDrive. Add
2641 signal 'removed' on GVolume and 'unmounted' on GMount.
2643 * gdrive.c: (g_drive_base_init):
2645 * gfile.c: (g_file_mount_mountable),
2646 (g_file_mount_enclosing_volume):
2649 * gmount.c: (g_mount_base_init):
2651 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2652 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2653 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2657 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2659 * *.c: Fix up includes in the section docs.
2661 2007-12-17 Alexander Larsson <alexl@redhat.com>
2663 * gnativevolumemonitor.h:
2664 * gunionvolumemonitor.c:
2665 * gunixvolumemonitor.c:
2666 Add is_supported() to GNativeVolumeMonitorClass so
2667 that we can avoid having to create an object to see
2668 if the backend is supported at runtime.
2669 Also add name member and an env var to pick a specific
2670 volume monitor backend.
2674 Add cancellable to _g_mount_get_for_mount_path()
2676 * glocaldirectorymonitor.c:
2677 * glocalfilemonitor.c:
2678 Avoid loading and unloading modules while sorting.
2680 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2683 * gunixmounts.[hc]: Namespace waste reduction, move some
2684 g_get_unix_mount functions to the g_unix_mount namespace.
2687 * gunixvolumemonitor.c:
2689 * glocaldirectorymonitor.c: Update all callers.
2691 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2693 2007-12-17 Alexander Larsson <alexl@redhat.com>
2696 Add doc comments about what GFile operations are
2697 guaranteed to not block.
2699 2007-12-17 Alexander Larsson <alexl@redhat.com>
2702 Add missing #ifdef fixing OSX build.
2703 (#503334, patch from Richard Hult)
2705 2007-12-14 David Zeuthen <davidz@redhat.com>
2709 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2710 (g_mount_eject), (g_mount_eject_finish):
2712 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2713 (get_volume_for_uuid), (get_mount_for_uuid),
2714 (g_union_volume_monitor_class_init),
2715 (get_default_native_type_with_exclude), (get_default_native_type),
2716 (get_native_type), (update_native_type),
2717 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2718 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2719 (g_unix_mount_can_eject), (eject_unmount_cb),
2720 (eject_unmount_read_error), (eject_unmount_do),
2721 (g_unix_mount_unmount), (g_unix_mount_eject),
2722 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2723 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2724 (g_unix_mount_point_guess_can_eject):
2726 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2727 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2728 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2729 (g_unix_volume_mount), (g_unix_volume_eject),
2730 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2731 * gunixvolumemonitor.c: (get_volume_for_uuid),
2732 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2734 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2735 (g_volume_eject), (g_volume_eject_finish):
2737 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2738 (g_volume_monitor_get_mount_for_uuid):
2741 Provide eject() on both GMount and GVolume and utility functions
2742 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2743 ejected. Introduce the concept of UUID's and wire it into GVolume
2744 and GMount and provide API on GVolumeMonitor to find such
2745 instances. Also handle the case where an external
2746 GNativeVolumeMonitor fails to initialize. Lock around the
2747 _g_get_mount_for_mount_path() function such that volume monitor
2748 implementations won't have to do locking themselves.
2750 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2752 * gdesktopappinfo.c:
2758 * gvolume.h: Documentation updates
2760 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2763 * gfile.h: Doc updates
2765 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2768 * gdesktopappinfo.c: Use hash table iterators.
2770 2007-12-14 Alexander Larsson <alexl@redhat.com>
2773 * gfileattribute.[ch]:
2774 * gfileattribute-priv.h:
2775 Move GFileAttributeValue to a private header, as
2779 Make set_attribute take a type + a pointer instead
2780 of a GFileAttributeValue.
2783 Fix up for above changes.
2784 Add g_file_info_get_attribute_data to get
2785 all info in one call, g_file_info_get_attribute_status
2786 to get the status and g_file_info_get_attribute_as_string.
2790 * glocalfileinfo.[ch]:
2794 Make _guess_type static.
2796 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2799 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2800 made mkenums and friends use temporary files to avoid leaving
2801 empty generated files on failure (#503470).
2803 2007-12-14 Alexander Larsson <alexl@redhat.com>
2805 * gmountoperation.h:
2808 2007-12-14 Alexander Larsson <alexl@redhat.com>
2812 * gfileattribute.[ch]:
2815 * glocalfileoutputstream.c:
2816 * gmountoperation.[ch]:
2817 * goutputstream.[ch]:
2818 Clean up all flags enums to not have _FLAGS in them
2819 Make the names of some of the enums better.
2824 2007-12-14 Michael Natterer <mitch@imendio.com>
2826 * gio.symbols: fix g_io_scheduler symbol names.
2828 2007-12-14 Alexander Larsson <alexl@redhat.com>
2834 * gbufferedinputstream.h:
2835 * gbufferedoutputstream.h:
2838 * gdatainputstream.h:
2839 * gdataoutputstream.h:
2840 * gdesktopappinfo.h:
2841 * gdirectorymonitor.h:
2845 * gfileenumerator.h:
2848 * gfileinputstream.h:
2850 * gfilenamecompleter.h:
2851 * gfileoutputstream.h:
2852 * gfilterinputstream.h:
2853 * gfilteroutputstream.h:
2861 * gmemoryinputstream.h:
2862 * gmemoryoutputstream.h:
2864 * gmountoperation.h:
2867 * gsimpleasyncresult.h:
2869 * gunixinputstream.h:
2871 * gunixoutputstream.h:
2875 * inotify/Makefile.am:
2876 Only allow including <gio/gio.h> from apps
2878 2007-12-14 Alexander Larsson <alexl@redhat.com>
2880 * gioscheduler.[ch]:
2881 * gsimpleasyncresult.c:
2882 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2883 Split out the send_to_mainloop call into two versions instead
2884 of having the block argument.
2886 2007-12-13 Alexander Larsson <alexl@redhat.com>
2888 * gcancellable.[ch]:
2890 * gbufferedinputstream.c:
2891 * gfileenumerator.c:
2892 * gfileinputstream.c:
2893 * gfileoutputstream.c:
2897 g_push/pop_current_cancellable ->
2898 g_cancellable_push/pop_current
2900 2007-12-13 Alexander Larsson <alexl@redhat.com>
2904 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2906 2007-12-13 Alexander Larsson <alexl@redhat.com>
2908 * gmountoperation.h:
2909 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2911 2007-12-12 Alexander Larsson <alexl@redhat.com>
2914 Fix race condition when freeing proxy in
2915 g_io_job_send_to_mainloop().
2917 2007-12-12 Alexander Larsson <alexl@redhat.com>
2923 Make attribute namespace separator "::" instead of ":".
2924 Use - instead of _ as separator in attribute names.
2926 2007-12-12 Alexander Larsson <alexl@redhat.com>
2928 * gbufferedinputstream.h:
2929 * gbufferedoutputstream.h:
2930 * gdatainputstream.h:
2931 * gdataoutputstream.h:
2932 * gdirectorymonitor.h:
2933 * gfileenumerator.h:
2934 * gfileinputstream.h:
2936 * gfileoutputstream.h:
2937 * gfilterinputstream.h:
2938 * gfilteroutputstream.h:
2940 * glocalfileinputstream.h:
2941 * glocalfileoutputstream.h:
2942 * gmemoryinputstream.h:
2943 * gmemoryoutputstream.h:
2944 * gnativevolumemonitor.h:
2946 * gunixinputstream.h:
2947 * gunixoutputstream.h:
2950 s/parent/parent_instance/ in GObjects
2952 2007-12-12 Alexander Larsson <alexl@redhat.com>
2957 No need for padding for interfaces
2959 2007-12-12 Alexander Larsson <alexl@redhat.com>
2963 * gbufferedinputstream.c:
2964 * gbufferedoutputstream.c:
2967 * gdatainputstream.[ch]:
2968 * gdesktopappinfo.c:
2969 * gdirectorymonitor.c:
2971 * gfileattribute.[ch]:
2974 * gfileinputstream.h:
2975 * gfilemonitor.[ch]:
2976 * gfileoutputstream.[ch]:
2977 * gfilterinputstream.h:
2978 * gfilteroutputstream.h:
2981 * gloadableicon.[ch]:
2982 * gmemoryinputstream.c:
2983 * gmountoperation.c:
2985 Fix up a bunch of details in the docs.
2990 2007-12-11 David Zeuthen <davidz@redhat.com>
2992 Rework how volumes, drives and volume monitoring is
2993 done. Previosly the model was
2995 GDrive <1-1> GVolume
2997 where a GDrive instance represented a mount point and a GVolume
2998 instance represented a mounted file system. This patch changes it
3001 GDrive <1-N> GVolume <1-1> GMount
3003 where GMount now serves the purpose of the old GVolume and the new
3004 GVolume serves the purpose of the old GDrive. In addition the new
3005 GDrive interface is used to represent a collection of GVolume
3006 instances (typically partitions) and also contains utility to query
3007 the state of the physical drive the GDrive object represents (such
3008 as checking for media, polling the drive, ejecting the media etc.).
3010 Also implement mounting and unmounting in the Unix volume monitor
3011 backend. A subquent patch will introduce GDrive support for ejection
3015 * gdrive.c: (g_drive_is_media_check_automatic),
3016 (g_drive_is_media_removable), (g_drive_has_media),
3017 (g_drive_can_poll_for_media), (g_drive_eject),
3018 (g_drive_eject_finish), (g_drive_poll_for_media),
3019 (g_drive_poll_for_media_finish):
3021 * gfile.c: (g_file_find_enclosing_mount):
3024 * glocaldirectorymonitor.c:
3025 (g_local_directory_monitor_constructor), (mounts_changed):
3026 * glocalfile.c: (get_mount_info),
3027 (g_local_file_find_enclosing_mount),
3028 (g_local_file_file_iface_init):
3029 * gnativevolumemonitor.h:
3030 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3031 (get_connected_drives), (g_union_volume_monitor_class_init),
3032 (child_volume_added), (child_volume_removed),
3033 (child_volume_changed), (child_mount_added), (child_mount_removed),
3034 (child_mount_pre_unmount), (child_mount_changed),
3035 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3036 (g_union_volume_monitor_remove_monitor),
3037 (_g_mount_get_for_mount_path):
3038 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3039 (guess_system_internal), (_g_get_unix_mounts),
3040 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3041 (g_unix_mount_free), (g_unix_mount_compare),
3042 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3043 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3044 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3045 (type_to_icon), (g_unix_mount_guess_name),
3046 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3047 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3048 (_resolve_symlink), (_resolve_dev_root):
3050 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3051 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3052 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3053 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3054 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3055 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3056 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3057 (g_unix_volume_volume_iface_init):
3059 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3060 (get_mounts), (get_volumes), (get_connected_drives),
3061 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3062 (mountpoints_changed), (mounts_changed),
3063 (g_unix_volume_monitor_init),
3064 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3065 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3066 * gunixvolumemonitor.h:
3067 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3068 (g_volume_mount), (g_volume_mount_finish):
3070 * gvolumemonitor.c: (g_volume_monitor_class_init),
3071 (g_volume_monitor_get_connected_drives),
3072 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3075 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3077 * gmountoperation.h (GPasswordFlags): Close the gap
3079 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3081 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3083 * gdesktopappinfo.[hc]: Remove _-prefixes
3085 2007-12-10 Tor Lillqvist <tml@novell.com>
3087 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3090 2007-12-10 Alexander Larsson <alexl@redhat.com>
3092 * gfile.c (g_file_set_display_name):
3093 Don't hardcode '/' (#502727)
3095 2007-12-09 Hans Breuer <hans@breuer.org>
3097 * makefile.msc : follow lib naming convention
3098 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3099 for user and group name, tested with ../tests/gio-ls
3101 2007-12-09 A. Walton <awalton@svn.gnome.org>
3103 * gdesktopappinfo.c:
3109 * gfileenumerator.c:
3114 * gmemoryinputstream.c:
3115 * gmemoryoutputstream.c:
3117 * gsimpleasyncresult.c:
3118 More documentation cleanup and filling in missing information, bringing
3119 GIO to 99% symbol coverage.
3121 2007-12-08 Hans Breuer <hans@breuer.org>
3123 [gio compiles and links on win32, not sure how much already works]
3124 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3125 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3126 base on win32 API; prefer g_lstat() over lstat(); instead of
3127 localtime_r() use an all GLib implementation on win32;
3128 get_mount_info() still needs a win32 specifc implementation
3129 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3130 win32_get_file_user_info to get owner/group info without uid/gid
3131 * glocalfileinputstream.c : include <io.h> on win32
3132 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3133 definition, use g_win32_ftruncate() for G_OS_WIN32
3134 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3135 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3136 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3137 * makefile.msc : updated
3139 2007-12-07 Alexander Larsson <alexl@redhat.com>
3141 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3142 Avoid warning spew if error == NULL
3144 2007-12-07 Alexander Larsson <alexl@redhat.com>
3147 Update docs wrt etags
3149 2007-12-06 Alexander Larsson <alexl@redhat.com>
3152 Include sys/types.h for dev_t (#501919)
3154 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3158 Make abicheck and pltcheck pass.
3160 2007-12-05 Alexander Larsson <alexl@redhat.com>
3163 * giomodule-priv.h: Added.
3164 * glocaldirectorymonitor.c:
3165 * glocalfilemonitor.c:
3166 * gunionvolumemonitor.c:
3168 Actually add the declaration of _g_io_modules_ensure_loaded
3170 2007-12-05 Alexander Larsson <alexl@redhat.com>
3172 * gdatainputstream.c:
3177 * glocaldirectorymonitor.c:
3178 * glocalfilemonitor.c:
3179 * gunionvolumemonitor.c:
3181 Make g_io_modules_ensure_loaded a private function and
3182 don't pass in the dirname. This means we can do magic
3183 directory finding in the win32 version.
3184 Export the actual load-modules-in-directory code so that
3185 gvfs can reuse that.
3187 2007-12-05 Alexander Larsson <alexl@redhat.com>
3189 * gbufferedinputstream.c:
3190 * gbufferedoutputstream.c:
3193 * gfileenumerator.[ch]:
3194 * gfileinputstream.c:
3195 * gfileoutputstream.[ch]:
3196 * gfilterinputstream.c:
3197 * gfilteroutputstream.c:
3198 * ginputstream.[ch]:
3200 * glocalfileenumerator.c:
3201 * glocalfileinputstream.c:
3202 * glocalfileoutputstream.c:
3203 * gmemoryinputstream.c:
3204 * gmemoryoutputstream.c:
3205 * goutputstream.[ch]:
3208 * gunixinputstream.c:
3209 * gunixoutputstream.c:
3210 Rename all struct members named:
3211 read, write, close, truncate, or mount
3212 to foo_fn, as these are reserved names
3213 and could be defined as macros in libc.
3216 2007-12-04 Alexander Larsson <alexl@redhat.com>
3219 (g_output_stream_close):
3220 Only call flush if non-null.
3222 2007-11-30 Dan Winship <danw@gnome.org>
3224 * ginputstream.c (g_input_stream_set_pending): Make this take a
3225 GError and return a gboolean, and do the "outstanding operation"
3226 check (and the "stream is already closed" check) itself.
3227 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3229 * goutputstream.c (g_output_stream_set_pending)
3230 (g_output_stream_clear_pending): Likewise
3232 * gbufferedinputstream.c:
3233 * gfileinputstream.c:
3234 * gfileoutputstream.c: Update for that
3236 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3237 Like g_simple_async_report_error_in_idle, but takes a GError
3238 rather than building one.
3240 2007-11-30 Dan Winship <danw@gnome.org>
3242 * goutputstream.c: Don't cheat and unset the "pending" flag around
3243 inner calls. Instead, call the class method directly rather than
3244 the wrapper function that checks "pending"
3246 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3248 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3250 2007-12-03 Hans Breuer <hans@breuer.org>
3252 [start of port to win32/msvc]
3253 * gcancellable.c : HAVE_UNIST_H and _pipe()
3254 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3255 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3256 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3258 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3259 * glocalvfs.c : use HAVE_PWD_H
3260 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3261 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3262 * Makefile.am : added to EXTRA_DIST
3264 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3266 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3269 2007-12-03 Alexander Larsson <alexl@redhat.com>
3272 Handle OSX style xattrs API (#500506)
3274 2007-12-03 Alexander Larsson <alexl@redhat.com>
3278 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3280 2007-12-02 A. Walton <awalton@svn.gnome.org>
3284 Documentation accuracy fixes.
3286 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3288 * gioenumtypes.c.template: Fix typo.
3290 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3292 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3294 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3296 * gdirectorymonitor.c:
3297 * gfilemonitor.c: Add properties
3299 * gbufferedoutputstream.c: Don't mark buffer-size property
3302 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3304 * gbufferedoutputstream.c: Add auto-grow property.
3306 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3308 * *.c: Unify the capitalization of section headings.
3310 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3312 * gmountoperation.c: Add properties
3314 * gdatainputstream.c: Turn byte-order and newline-type into
3317 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3319 * gioenumtypes.[hc].template: Templates for enum registration
3321 * Makefile.am: Generate gioenumtypes.[hc]
3323 * gio.h: Include gioenumtypes.h
3325 * gfile.h: Add some explicit nicks.
3327 * gio.symbols: Add new symbols
3329 * pltcheck.sh: Adjust
3331 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3333 * *.c: Explain etags and link to the explanation
3335 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3337 * *.c: Explain I/O priority.
3339 * *.c: More coding style fixes.
3341 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3343 * gasyncresult.c: Add another paragraph to the intro,
3344 adjust coding style of example.
3346 2007-11-29 A. Walton <awalton@svn.gnome.org>
3349 Fixes unknown meaning in GAppLaunchContext docs.
3351 Clarify asynchronous ops.
3353 Fix entity tag docs.
3356 Provides missing gtk-doc section, fixes API docs slighly.
3357 * gsimpleasyncresult.c:
3358 Fill in missing info in docs.
3359 * gunixinputstream.c:
3360 * gunixoutputstream.c:
3361 Be more expressive in short description.
3363 Remove gtk-doc stubs for non-public API.
3365 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3367 * *.c: Coding style fixups
3369 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3371 * inotify/inotify-helper.c: Don't export the lock from libgio.
3373 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3376 * abicheck.sh: Fix copy-and-paste leftovers
3378 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3380 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3382 2007-11-28 Alexander Larsson <alexl@redhat.com>
3386 Removed unnecessary file
3388 * gdesktopappinfo.[ch]:
3391 * glocaldirectorymonitor.[ch]:
3393 * glocalfileenumerator.[ch]:
3394 * glocalfileinputstream.[ch]:
3395 * glocalfilemonitor.[ch]:
3396 * glocalfileoutputstream.[ch]:
3398 * gnativevolumemonitor.c:
3399 * gpollfilemonitor.[ch]:
3400 * gunionvolumemonitor.[ch]:
3403 * gunixvolumemonitor.[ch]:
3406 * inotify/ginotifydirectorymonitor.[ch]:
3407 * inotify/ginotifyfilemonitor.[ch]:
3408 * inotify/inotify-helper.c:
3409 Append _ to all internal functions
3413 Export symbols needed for modules
3415 2007-11-28 Alexander Larsson <alexl@redhat.com>
3418 * abicheck.sh: Added.
3419 * makegioalias.pl: Added.
3420 * pltcheck.sh: Added.
3421 * gio.symbols: Added.
3424 Initial work on adding symbol handling.
3427 Correct ifdef guard name
3430 * inotify/Makefile.am:
3431 * xdgmime/Makefile.am:
3432 Include toplevel Makefile.decl
3434 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3436 * gcontenttype.c: Move doc comments to the unix section.
3438 * *.[hc]: More trivial doc corrections.
3440 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3442 * gpollfilemonitor.c:
3446 * gdesktopappinfo.c:
3451 * gdatainputstream.c:
3452 * gdatainputstream.h:
3453 * gdataoutputstream.c:
3454 * gdataoutputstream.h:
3455 * gfileinfo.h: Doc cleanups
3457 2007-11-28 Andre Klapper <a9016009@gmx.de>
3459 * gdesktopappinfo.c: Fix a typo.
3461 2007-11-27 Andre Klapper <a9016009@gmx.de>
3463 * glocalfileoutputstream.c: Fix a typo.
3465 2007-11-27 Alexander Larsson <alexl@redhat.com>
3468 Don't include removed headers
3470 2007-11-27 Alexander Larsson <alexl@redhat.com>
3473 * gsocketinputstream.[ch]: Removed.
3474 * gsocketoutputstream.[ch]: Removed.
3475 * gunixinputstream.[ch]: Added.
3476 * gunixoutputstream.[ch]: Added.
3477 Renamed GSocket*Stream to GUnix*Stream and made
3478 it unix-only, since its not really only for sockets
3479 and it only works on unix (but is highly useful there).
3481 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3487 * gbufferedinputstream.c:
3488 * gbufferedinputstream.h:
3489 * gbufferedoutputstream.c:
3490 * gbufferedoutputstream.h:
3494 * gdatainputstream.c:
3495 * gdatainputstream.h:
3496 * gdataoutputstream.c:
3497 * gdataoutputstream.h:
3498 * gdirectorymonitor.c:
3499 * gdirectorymonitor.h:
3506 * gfileenumerator.c:
3507 * gfileenumerator.h:
3512 * gfileinputstream.c:
3513 * gfileinputstream.h:
3516 * gfilenamecompleter.c:
3517 * gfilenamecompleter.h:
3518 * gfileoutputstream.c:
3519 * gfileoutputstream.h:
3520 * gfilterinputstream.c:
3521 * gfilterinputstream.h:
3522 * gfilteroutputstream.c:
3523 * gfilteroutputstream.h:
3536 * glocalfileoutputstream.c:
3537 * gmemoryinputstream.c:
3538 * gmemoryinputstream.h:
3539 * gmemoryoutputstream.c:
3540 * gmemoryoutputstream.h:
3541 * gmountoperation.c:
3542 * gmountoperation.h:
3545 * gpollfilemonitor.c:
3548 * gsimpleasyncresult.c:
3549 * gsimpleasyncresult.h:
3550 * gsocketinputstream.c:
3551 * gsocketinputstream.h:
3552 * gsocketoutputstream.c:
3553 * gsocketoutputstream.h:
3560 * gunixvolumemonitor.c:
3569 Bumps documentation to 93% symbol coverage, touching most
3570 of the public files. Fixes broken function documentation prototypes.
3571 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3572 gtk-doc headers in private files.
3574 2007-11-27 Jürg Billeter <j@bitron.ch>
3576 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3577 (g_buffered_input_stream_read_byte):
3578 * gbufferedinputstream.h:
3579 New functions for efficient access to buffer and simple single byte
3582 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3583 (g_data_input_stream_read_until):
3584 * gdatainputstream.h:
3585 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3586 read_until with multiple stop chars.
3588 2007-11-27 Alexander Larsson <alexl@redhat.com>
3592 * inotify/Makefile.am:
3593 Use the user-specified giomoduledir
3595 2007-11-27 Alexander Larsson <alexl@redhat.com>
3599 Add catch-all gio.h header
3600 Don't install gdummyfile.h
3602 2007-11-26 Alexander Larsson <alexl@redhat.com>
3604 * Makefile.am (gioinclude_HEADERS):
3605 Remove trailing whitespace
3607 2007-11-26 Alexander Larsson <alexl@redhat.com>
3609 Merge gio-standalone into glib
3611 2007-11-25 Christian Kellner <gicmo@gnome.org>
3613 * gio/goutputstream.c:
3614 Fix small mistake in the docs.
3616 2007-11-21 Christian Persch <chpe@gnome.org>
3618 * gio/glocalfile.c: (g_local_file_trash):
3619 Convert filenames to UTF-8 for GError.
3620 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3621 as per xdg base dir spec.
3623 2007-11-21 Christian Persch <chpe@gnome.org>
3625 * gio/gdesktopappinfo.c:
3626 Use that g_key_file_to_data cannot fail.
3628 Use stock defines for the key file group and key names.
3631 2007-11-21 Alexander Larsson <alexl@redhat.com>
3634 (copy_stream_with_progress):
3635 Make sure we do a final progress callback with
3636 the full total size.
3638 2007-11-21 Alexander Larsson <alexl@redhat.com>
3641 Export g_file_copy_attributes
3642 Remove padding as its not needed for interfaces
3644 2007-11-20 Alexander Larsson <alexl@redhat.com>
3649 Add G_IO_ERROR_WOULD_MERGE for
3650 copy/move dir on dir with overwrite.
3652 2007-11-20 Alexander Larsson <alexl@redhat.com>
3655 * gio/glocalfileinfo.c:
3656 Add COPY_NAME (this is an optional
3657 non-modified utf8 version of the name) that
3660 2007-11-20 Alexander Larsson <alexl@redhat.com>
3662 * gio/glocalfileenumerator.c:
3663 Report errors as GIOError, not GFileError
3665 2007-11-16 Alexander Larsson <alexl@redhat.com>
3667 * gio/glocalfileoutputstream.c:
3668 * gio/gwin32appinfo.c:
3669 Fix typos in strings.
3670 Patch from Luca Ferretti <elle.uca@libero.it>
3672 2007-11-15 Alexander Larsson <alexl@redhat.com>
3675 Post release version bump
3677 === gio-standalone 0.1.2 ===
3679 2007-11-15 Alexander Larsson <alexl@redhat.com>
3681 * docs/reference/gio/Makefile.am:
3682 Fix up distcheck by removing weird
3688 2007-11-14 Alexander Larsson <alexl@redhat.com>
3690 * gio/gdesktopappinfo.c:
3691 * gio/glocaldirectorymonitor.c:
3693 * gio/glocalfileinfo.c:
3694 * gio/inotify/inotify-sub.c:
3695 * programs/gio-cat.c:
3696 * programs/gio-copy.c:
3697 * programs/gio-info.c:
3698 * programs/gio-ls.c:
3699 * programs/gio-monitor-dir.c:
3700 * programs/gio-monitor-file.c:
3701 * programs/gio-mount.c:
3702 * programs/gio-move.c:
3703 * programs/gio-rm.c:
3704 * programs/gio-save.c:
3705 * programs/gio-trash.c:
3706 Leak fixes from Kjartan Maraas
3708 2007-11-14 Alexander Larsson <alexl@redhat.com>
3710 * gio/fam/fam-helper.c:
3712 * gio/glocalfileinfo.c:
3716 * gio/inotify/inotify-diag.c:
3717 * gio/inotify/inotify-kernel.c:
3718 Various code cleanups from Kjartan Maraas
3720 2007-11-14 Alexander Larsson <alexl@redhat.com>
3722 * gio/gioscheduler.c:
3724 Set up threadpool so that we cache 2 unused
3725 idle threads for at 15 secs. This means we
3726 will reuse thread-local data (like dbus connections)
3729 2007-11-14 Alexander Larsson <alexl@redhat.com>
3731 * gio/fam/fam-helper.c:
3732 * gio/fam/gfamdirectorymonitor.c:
3733 * gio/fam/gfamfilemonitor.c:
3735 * gio/gcontenttype.c:
3736 * gio/gdatainputstream.c:
3737 * gio/gdataoutputstream.c:
3741 * gio/gfileattribute.h:
3742 * gio/gfileenumerator.c:
3744 * gio/ginputstream.c:
3747 * gio/glocalfileinfo.c:
3748 * gio/goutputstream.c:
3749 * gio/gpollfilemonitor.c:
3750 * gio/gsimpleasyncresult.c:
3751 * gio/gunixmounts.c:
3752 * gio/gunixmounts.h:
3753 * gio/inotify/ginotifydirectorymonitor.c:
3754 * gio/inotify/ginotifyfilemonitor.c:
3755 * gio/inotify/inotify-diag.c:
3756 * gio/inotify/inotify-kernel.c:
3757 * gio/inotify/inotify-path.c:
3759 * gio/test-streams.c:
3760 * programs/gio-info.c:
3761 * programs/gio-monitor-dir.c:
3762 * programs/gio-monitor-file.c:
3763 Various code cleanups from Kjartan Maraas
3765 2007-11-13 Alexander Larsson <alexl@redhat.com>
3768 Handle the uri-scheme calls for dummy files
3770 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3772 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3773 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3774 to avoid clash with the C++ keyword.
3776 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3778 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3779 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3781 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3783 * gio/glocaldirectorymonitor.c:
3784 * gio/glocalfilemonitor.c:
3785 * gio/gunionvolumemonitor.c:
3786 Don't use g_once_init_*() for initializations that could fail and
3787 could leave the initialization variable set to 0 but use GOnce.
3788 This prevents a deadlock on the second call when trying to create
3789 a monitor and no monitor type is available. Thanks to Sven Herzberg
3792 2007-11-11 Sven Herzberg <sven@imendio.com>
3794 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3795 #ifdef (make it work on MacOS X again)
3797 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3799 Fixes Changelog for last two commits (sorry guys).
3801 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3803 * gio/gbufferedinputstream.c:
3804 * gio/gdatainputstream.c:
3806 * gio/gfileoutputstream.c:
3807 * gio/gfilterinputstream.c:
3808 * gio/glocalfileinputstream.c:
3811 More consistency fixes in g*stream.c files.
3812 Significant clean of gfile's documentation, filling in of
3813 asynchronous operations documentation.
3815 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3817 * gio/gasyncresult.c:
3818 * gio/gbufferedinputstream.c:
3819 * gio/gbufferedoutputstream.c:
3820 * gio/gcancellable.c:
3821 * gio/gcontenttype.c:
3822 * gio/gdatainputstream.c:
3823 * gio/gdataoutputstream.c:
3824 * gio/gdesktopappinfo.c:
3827 * gio/gfileattribute.c:
3828 * gio/gio/gfileenumerator.c:
3830 * gio/gfileinputstream.c:
3831 * gio/gfilemonitor.c:
3832 * gio/gfileoutputstream.c:
3833 * gio/ginputstream.c:
3835 * gio/gioscheduler.c:
3836 * gio/gloadableicon.c:
3837 * gio/glocalfileoutputstream.c:
3838 * gio/gmemoryoutputstream.c:
3839 * gio/gmountoperation.c:
3840 * gio/goutputstream.c:
3842 * gio/gsimpleasyncresult.c:
3843 * gio/gunionvolumemonitor.c:
3844 * gio/gunixmounts.c:
3845 * gio/gunixvolume.c:
3849 * gio/gvolumemonitor.c:
3850 Updated documentation stubs, working towards consistency and
3853 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3855 * gio/gmemoryoutputstream.c:
3856 * gio/gmemoryoutputstream.h:
3857 Change g_memory_output_stream_set_free_on_close() to
3858 g_memory_output_stream_set_free_data() as this makes more sense and
3859 is more consistent with GMemoryInputStream.
3861 2007-11-07 Alexander Larsson <alexl@redhat.com>
3868 Change how we find the default vfs so that
3869 we can handle a gvfs failing to init
3871 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3873 * gio/gbufferedoutputstream.c:
3874 * gio/gdatainputstream.c:
3875 * gio/gdataoutputstream.c:
3876 * gio/gfileinputstream.c:
3877 * gio/gfileoutputstream.c:
3878 * gio/gfilterinputstream.c:
3879 * gio/gfilteroutputstream.c:
3880 * gio/ginputstream.c:
3881 * gio/gmemoryinputstream.c:
3882 * gio/gmemoryoutputstream.c:
3883 * gio/goutputstream.c:
3884 * gio/gsimpleasyncresult.c:
3885 * gio/gsocketinputstream.c:
3886 * gio/gsocketoutputstream.c:
3887 Add guards to the remaining public functions, add a TODO for
3888 an unimplemented function and remove some useless guards.
3890 2007-11-07 Alexander Larsson <alexl@redhat.com>
3893 Autoconf checks for the various types of
3894 getpwuid_r and getgrgid_r
3896 * gio/glocalfileinfo.c:
3897 Use the autoconf checks from above
3899 2007-11-07 Alexander Larsson <alexl@redhat.com>
3902 (g_local_file_query_filesystem_info):
3903 Some fixes for the statvfs case
3905 2007-11-07 Alexander Larsson <alexl@redhat.com>
3908 (g_local_file_query_filesystem_info):
3909 Pick the "best" of statfs / statvfs for the system
3910 if both are availible.
3912 2007-11-07 Alexander Larsson <alexl@redhat.com>
3914 Solaris fixes from Halton.Huo@Sun.COM:
3921 * gio/glocalfileinfo.c:
3922 Fix for solaris definition of getpwuid_r
3924 * gio/test-streams.c:
3925 Use G_GNUC_PRETTY_FUNCTION
3927 2007-11-07 Alexander Larsson <alexl@redhat.com>
3929 * gio/gdesktopappinfo.c:
3930 (update_default_list):
3931 Remove double semicolon.
3932 Patch from Jens Granseuer
3934 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3936 * docs/reference/gio/gio-sections.txt:
3937 * gio/gbufferedinputstream.c:
3938 * gio/gbufferedinputstream.h:
3939 * gio/gdatainputstream.c:
3940 * gio/gfileenumerator.c:
3941 * gio/gioscheduler.c:
3942 * gio/gunionvolumemonitor.c:
3944 * programs/gio-save.c:
3945 Fix typo: availible -> available. Unfortuntely this breaks API
3946 and ABI as g_buffered_input_stream_get_available() was renamed.
3948 * gio/gunixmounts.c:
3949 * gio/gbufferedinputstream.c:
3950 Add guards for public functions.
3952 2007-11-06 Ross Burton <ross@openedhand.com>
3954 * docs/reference/gio/Makefile.am:
3955 Fix invalid += usage which automake 1.10 doesn't like.
3957 2007-11-06 Alexander Larsson <alexl@redhat.com>
3960 (g_app_launch_context_class_init):
3963 Patch from Ross Burton
3965 2007-11-06 Alexander Larsson <alexl@redhat.com>
3968 Post release version bump
3970 === gio-standalone 0.1.1 ===
3972 2007-11-06 Alexander Larsson <alexl@redhat.com>
3975 Bump version to 0.1.1
3977 * gio/gsimpleasyncresult.c:
3978 (g_simple_async_result_set_from_error):
3979 Remove bogus g_return_if_fail
3981 2007-11-06 Alexander Larsson <alexl@redhat.com>
3984 The name is gio-standalone
3987 Add top src/builddir to includedir
3989 2007-11-06 Alexander Larsson <alexl@redhat.com>
3991 * docs/reference/gio/gio-sections.txt:
3993 * gio/gbufferedinputstream.c:
3994 * gio/gbufferedoutputstream.c:
3995 * gio/gcancellable.c:
3996 * gio/gdatainputstream.h:
3997 * gio/gdataoutputstream.c:
3998 * gio/gdataoutputstream.h:
3999 * gio/gdirectorymonitor.c:
4001 * gio/gfileattribute.c:
4002 * gio/gfileattribute.h:
4003 * gio/gfileenumerator.c:
4004 * gio/gfileenumerator.h:
4007 * gio/gfileinputstream.h:
4008 * gio/gfilemonitor.c:
4009 * gio/gfileoutputstream.h:
4010 * gio/glocalfilemonitor.h:
4011 * gio/glocalfileoutputstream.h:
4012 * gio/gmemoryinputstream.c:
4013 * gio/gmemoryoutputstream.c:
4014 * gio/gmountoperation.c:
4015 * gio/goutputstream.c:
4016 * gio/goutputstream.h:
4018 * gio/gsimpleasyncresult.c:
4019 * gio/gunixmounts.c:
4020 * gio/gunixmounts.h:
4022 * gio/inotify/inotify-helper.c:
4023 Fix gtk-doc warnings
4025 Patch from Ross Burton
4027 2007-11-06 Alexander Larsson <alexl@redhat.com>
4029 * gio/gfilenamecompleter.c:
4030 (g_filename_completer_get_completions):
4033 * gio/gunixvolume.c:
4034 Remove unused function
4036 Patches from Ross Burton
4038 2007-11-06 Alexander Larsson <alexl@redhat.com>
4043 Padding not needed for interfaces
4045 2007-11-06 Alexander Larsson <alexl@redhat.com>
4047 * gio/gfilemonitor.c:
4051 Make giotypes.h an internal file
4054 * gio/gbufferedinputstream.h:
4055 * gio/gbufferedoutputstream.h:
4056 * gio/gcancellable.h:
4057 * gio/gdatainputstream.h:
4058 * gio/gdataoutputstream.h:
4059 * gio/gdirectorymonitor.c:
4060 * gio/gdirectorymonitor.h:
4065 * gio/gfileattribute.h:
4066 * gio/gfileenumerator.h:
4071 * gio/gfilemonitor.c:
4072 * gio/gfilemonitor.h:
4073 * gio/gfilenamecompleter.c:
4074 * gio/gfilenamecompleter.h:
4075 * gio/gfilterinputstream.h:
4076 * gio/gfilteroutputstream.h:
4077 * gio/ginputstream.h:
4078 * gio/gmemoryinputstream.h:
4079 * gio/gmemoryoutputstream.h:
4080 * gio/gmountoperation.c:
4081 * gio/gmountoperation.h:
4082 * gio/gnativevolumemonitor.c:
4083 * gio/goutputstream.h:
4086 * gio/gsimpleasyncresult.c:
4087 * gio/gsimpleasyncresult.h:
4088 * gio/gsocketinputstream.h:
4089 * gio/gsocketoutputstream.h:
4090 * gio/gthemedicon.c:
4091 * gio/gthemedicon.h:
4095 * gio/gvolumemonitor.c:
4096 * gio/gvolumemonitor.h:
4097 Add padding in classes where it seems useful
4098 Don't include giotypes.h from public headers
4099 Move in Class definitions into c file where possible
4104 2007-11-06 Alexander Larsson <alexl@redhat.com>
4106 * docs/reference/gio/gio-docs.xml:
4107 Better structure for API docs
4109 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4112 * gio/gloadableicon.c:
4113 * gio/gsimpleasyncresult.c:
4114 * gio/gthemedicon.c:
4115 Add some more guards to public functions. Only files missing are now
4118 2007-11-06 Alexander Larsson <alexl@redhat.com>
4120 * docs/reference/gio/gio-docs.xml:
4121 Remove old files, add missing ones
4123 2007-11-06 Alexander Larsson <alexl@redhat.com>
4125 * docs/reference/gio/gio-sections.txt:
4128 Hide implementation classes
4130 * gio/gdriveprivate.h:
4131 * gio/gvolumeprivate.h:
4132 Remove non-existing function declarations
4134 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4137 Fix compilation warnings and add guards to the new functions.
4139 * gio/gasyncresult.c:
4141 Add guards to the public functions.
4144 Implement get_path().
4146 2007-11-06 Alexander Larsson <alexl@redhat.com>
4148 * gio/gfilenamecompleter.c:
4149 Make g_filename_completer_get_completions
4150 return char ** instead of GList for
4153 * docs/reference/gio/gio-docs.xml:
4154 * docs/reference/gio/gio-sections.txt:
4156 * gio/gasyncresult.c:
4157 * gio/gbufferedinputstream.c:
4158 * gio/gbufferedoutputstream.c:
4159 * gio/gcancellable.c:
4160 * gio/gcontenttype.c:
4161 * gio/gdatainputstream.c:
4162 * gio/gdataoutputstream.c:
4163 * gio/gdesktopappinfo.c:
4164 * gio/gdirectorymonitor.c:
4168 * gio/gfileattribute.c:
4169 * gio/gfileenumerator.c:
4172 * gio/gfileinputstream.c:
4173 * gio/gfilemonitor.c:
4174 * gio/gfilenamecompleter.c:
4175 * gio/gfilenamecompleter.h:
4176 * gio/gfileoutputstream.c:
4177 * gio/gfilterinputstream.c:
4179 * gio/ginputstream.c:
4181 * gio/gioscheduler.c:
4182 * gio/gloadableicon.c:
4183 * gio/glocaldirectorymonitor.c:
4185 * gio/glocalfileinputstream.c:
4186 * gio/glocalfilemonitor.c:
4187 * gio/glocalfileoutputstream.c:
4189 * gio/gmemoryinputstream.c:
4190 * gio/gmemoryoutputstream.c:
4191 * gio/gmountoperation.c:
4192 * gio/goutputstream.c:
4193 * gio/gpollfilemonitor.c:
4195 * gio/gsimpleasyncresult.c:
4196 * gio/gsocketinputstream.c:
4197 * gio/gsocketoutputstream.c:
4198 * gio/gthemedicon.c:
4199 * gio/gunionvolumemonitor.c:
4201 * gio/gunixmounts.c:
4202 * gio/gunixvolume.c:
4203 * gio/gunixvolumemonitor.c:
4207 * gio/gvolumemonitor.c:
4208 * gio/gwin32appinfo.c:
4209 Add (mostly stub) doc strings to public functions.
4210 Patch from Andrew Walton (awalton@gmail.com)
4212 2007-11-06 Alexander Larsson <alexl@redhat.com>
4214 * gio/gappinfo.[ch]:
4215 Added GAppLaunchContext object and pass that to launch.
4216 This allows simple implementation of both
4217 launch-on-screen and startup notification via a gtk+
4218 subclass of GAppLaunchContext
4220 * gio/gdesktopappinfo.c:
4221 Implement GAppLaunchContext API
4223 * gio/gwin32appinfo.c:
4226 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4228 * gio/gmountoperation.c:
4229 Add some guards to GMountOperation's public functions.
4231 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4235 * gio/gcancellable.c:
4236 * gio/gdirectorymonitor.c:
4238 * gio/gfileenumerator.c:
4239 * gio/gfilemonitor.c:,
4240 * gio/gfilenamecompleter.c:
4243 * gio/gioscheduler.c:
4247 * gio/gvolumemonitor.c:
4248 Add even more guards to various public functions.
4250 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4253 Add guards to the public functions of GAppInfo.
4255 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4257 * gio/gcontenttype.c:
4258 Add some more guards for public functions.
4260 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4262 * gio/fam/fam-module.c:
4263 * gio/fam/gfamdirectorymonitor.c:
4264 * gio/fam/gfamdirectorymonitor.h:
4265 * gio/fam/gfamfilemonitor.c:
4266 * gio/fam/gfamfilemonitor.h:
4267 * gio/inotify/ginotifydirectorymonitor.c:
4268 * gio/inotify/ginotifydirectorymonitor.h:
4269 * gio/inotify/ginotifyfilemonitor.c:
4270 * gio/inotify/ginotifyfilemonitor.h:
4271 Add proper copyright information and remove an unused variable
4272 in the GInotifyFileMonitor constructor.
4274 * gio/gcancellable.c:
4275 Add a guard for a public function and an assertion to prevent
4276 an undefined program state.
4278 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4280 * gio/gfileattribute.c:
4281 Don't run into an assertion if the given attribute value is NULL
4282 in g_file_attribute_value_get_*() but instead return a fallback
4283 value that makes sense in most situations. Passing them a attribute
4284 value with the wrong type will still run into an assertion.
4286 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4288 * gio/gfileattribute.c:
4290 Add even more guards to the public functions. Also fix the refcounting
4291 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4292 let g_file_info_list_attributes() filter the attributes by namespace
4293 instead of simply ignoring the namespace parameter.
4295 2007-11-03 Sven Herzberg <sven@imendio.com>
4297 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4298 (This makes gio work on MacOS X again)
4300 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4303 Build the gio subdirectory before the docs. Otherwise the build will
4306 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4307 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4308 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4309 Add guards to the public functions.
4311 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4313 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4314 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4315 to prevent a compiler warning.
4317 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4318 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4319 return something in the non-void function find_topdir_for().
4321 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4328 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4330 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4331 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4332 * gwin32appinfo.c (g_win32_app_info_launch):
4333 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4334 envp_for_startup_id, g_desktop_app_info_launch,
4335 g_desktop_app_info_launch_uris):
4337 Give an opaque 'startup_id' string instead of 'envp'.
4338 Support empty file lists for launching new windows.
4339 Fix infinite recursion bug when launching URIs.
4341 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4344 Add guard to the new g_file_get_uri_scheme() function.
4346 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4349 Convert a g_return_val_if_fail() to setting the GError instead as
4350 otherwise applications have to verify the parameter before otherwise
4351 and the parameter might come directly from the user.
4353 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4355 * gio/inotify/ginotify*.[ch]:
4356 Add missing copyright information.
4358 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4361 Add guards in the beginning of public functions to check for valid
4362 parameters and fix a bug in copy_stream_with_progress() that could've
4363 caused writing less bytes than reading.
4364 * gio/glocalfileinfo.c:
4365 Check for a NULL parameter and set the GError accordingly then.
4366 * gio/goutputstream.c:
4367 Fix the same bug as in gfile.c that could've caused writing less bytes
4368 than reading in g_output_stream_real_splice().
4370 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4373 Use the correct gvolumeprivate.h naming
4375 2007-11-01 Christian Kellner <gicmo@gnome.org>
4378 Remove leftover "$(daemon_sources)" entry.
4380 2007-11-01 Christian Kellner <gicmo@gnome.org>
4385 Add copyright information to source files.
4387 2007-11-01 Alexander Larsson <alexl@redhat.com>
4391 Add g_file_get_uri_scheme
4393 2007-11-01 Alexander Larsson <alexl@redhat.com>
4396 * gio/gdesktopappinfo.c:
4397 * gio/gwin32appinfo.c:
4398 Add g_app_info_get_default_for_uri_scheme.
4400 2007-11-01 Alexander Larsson <alexl@redhat.com>
4403 Correct filename for gdriveprivate.h
4405 2007-10-31 Alexander Larsson <alexl@redhat.com>
4408 Rename id:value to id:file
4411 * gio/glocalfileinfo.c:
4414 2007-10-31 Alexander Larsson <alexl@redhat.com>
4416 * gio/gunixvolume.c:
4418 Remove g_volume_get_platform_id, as thats not
4419 needed with the simpler union volume monitor
4421 2007-10-31 Alexander Larsson <alexl@redhat.com>
4424 * gio/guniondrive.[ch]: Removed.
4425 * gio/gunionvolume.[ch]: Removed.
4426 Remove GUnionDrive/Volume
4428 * gio/gunionvolumemonitor.c:
4429 Simplify union volume monitor, now we
4430 only have one native volume monitor and
4431 we use the actual volumes/drives from the
4432 child monitors instead of wrapping them
4434 * gio/gnativevolumemonitor.[ch]:
4435 Base class for native volume monitors.
4436 Includes priority and get_volume_for_mountpoint
4439 Add g_file_find_enclosing_volume
4442 Remove volume name fs attribute
4443 Add readonly fs attribute
4446 Implement readonly attribute
4447 remove volume name attribute
4448 Implement find_enclosing volume
4450 * gio/gunixmounts.c:
4451 Add a volume for "/".
4453 * gio/gunixvolume.[ch]:
4454 Set better name for /
4456 * gio/gunixvolumemonitor.[ch]:
4457 Derive from GNativeVolumeMonitor
4458 Implement get_volume_for_mountpoint
4461 GVolume typedef moved to gfile.h
4463 * gio/gvolumeprivate.h:
4464 Add g_volume_get_for_mount_path
4466 2007-10-31 Alexander Larsson <alexl@redhat.com>
4468 * gio/gunixmounts.[ch]:
4469 Add cache info to unix mount listers
4470 Make getmntent use threadsafe
4471 Add is_system_internal attribute for GUnixMount
4473 * gio/gunixvolume.c:
4474 (g_unix_volume_new):
4475 Use is_system_internal instead of own code
4477 * gio/glocaldirectorymonitor.c:
4478 * gio/gunixvolumemonitor.c:
4479 Update to new gunixmounts API
4484 2007-10-30 Alexander Larsson <alexl@redhat.com>
4487 Add volume name fsinfo attribute
4490 Read volume name info
4492 * gio/gunionvolumemonitor.c:
4493 Fix infinite loops when finalizing a union volume monitor
4495 2007-10-30 Alexander Larsson <alexl@redhat.com>
4497 * gio/goutputstream.[ch]:
4498 Add splice() with default implementation
4500 * gio/gsocketoutputstream.c:
4501 (g_socket_output_stream_write):
4502 Return error on cancellation correctly.
4504 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4506 * gio/glocalfile.c (g_local_file_trash):
4507 Do not leak a string.
4509 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4511 * gio/gfile.c (g_file_load_contents):
4512 Unref the stream after closing it.
4514 2007-10-25 Alexander Larsson <alexl@redhat.com>
4516 * gio/gioscheduler.h:
4519 2007-10-25 Alexander Larsson <alexl@redhat.com>
4523 Add g_file_has_uri_scheme and implement for local files
4525 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4527 * gio/gdesktopappinfo.c: do not leak a string.
4529 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4531 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4532 (g_local_directory_monitor_new):
4533 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4534 (g_local_file_monitor_new):
4535 Only look for the monitor type that should be used the first time
4536 and use g_qsort_with_data() instead of our own bubble sort
4539 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4542 * gio/fam/Makefile.am:
4543 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4544 * gio/fam/fam-helper.h:
4545 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4546 * gio/fam/gfamdirectorymonitor.c:
4547 * gio/fam/gfamdirectorymonitor.h:
4548 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4549 * gio/fam/gfamfilemonitor.h:
4550 * gio/glocaldirectorymonitor.c:
4551 * gio/glocaldirectorymonitor.h:
4552 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4553 * gio/glocalfilemonitor.h:
4554 * gio/inotify/Makefile.am:
4555 * gio/inotify/ginotifydirectorymonitor.c:
4556 * gio/inotify/ginotifydirectorymonitor.h:
4557 * gio/inotify/ginotifyfilemonitor.c:
4558 * gio/inotify/ginotifyfilemonitor.h:
4559 Implement the FAM and Inotify monitors as
4560 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4561 their own GIO module. GLocal(Directory|File)Monitor will use the
4562 monitor with the highest rank that is supported on that machine.
4564 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4567 Change GIO module dir to $(libdir)/gio/modules and change
4568 the log domain from GVFS to GIO. Also only export symbols starting
4569 with g_ in the resulting library.
4570 * gio/test-streams.c: (main):
4571 Set log handler for the GIO log domain.
4573 2007-10-22 Alexander Larsson <alexl@redhat.com>
4575 * gio/gfilenamecompleter.[ch]:
4576 Add g_filename_completer_set_dirs_only
4578 2007-10-22 Alexander Larsson <alexl@redhat.com>
4581 * gio/gurifuncs.[ch]:
4582 Add some simple URI helpers
4584 * gio/gfilenamecompleter.[ch]:
4585 Added object for filename (parse name actually) completion
4588 Handle ~ in parse names
4590 2007-10-17 Alexander Larsson <alexl@redhat.com>
4593 * gio/glocalfileinfo.c:
4594 Add and implement id:value attribute
4596 2007-10-17 Alexander Larsson <alexl@redhat.com>
4599 * gio/guniondrive.c:
4601 Add and implement g_drive_has_volumes
4603 2007-10-17 Alexander Larsson <alexl@redhat.com>
4606 * gio/glocalfileinfo.[ch]:
4607 Add unix:is_mountpoint and implement for local files
4609 2007-10-16 Alexander Larsson <alexl@redhat.com>
4611 * gio/gunionvolumemonitor.c:
4612 (g_union_volume_monitor_init):
4613 Fix up the unix type getting so that it works with gcc
4615 2007-10-12 Alexander Larsson <alexl@redhat.com>
4618 * gio/glocalfileinfo.c:
4619 Add thumbnail:failed to file info
4621 2007-10-12 Richard Hult <richard@imendio.com>
4623 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4624 optimizing away the get_type call (happens with some gcc versions,
4625 like the one shipped with OS X 10.4).
4627 2007-10-12 Alexander Larsson <alexl@redhat.com>
4629 * gio/glocalfileinfo.c:
4630 (_g_local_file_info_set_attribute):
4631 Fix build if not HAVE_XATTR
4632 Patch from Milosz Derezynski <internalerror@gmail.com>
4634 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4636 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4637 around for review, otherwise I would have asked you before
4640 2007-10-11 Alexander Larsson <alexl@redhat.com>
4643 Add thumbnail:path attribute
4645 * gio/glocalfileinfo.c:
4646 Implement thumbnail:path for local files
4648 2007-10-11 Alexander Larsson <alexl@redhat.com>
4650 * gio/glocalfileinfo.c:
4651 (_g_local_file_info_get):
4652 Avoid duplicate icon names
4654 2007-10-11 Alexander Larsson <alexl@redhat.com>
4656 * gio/gthemedicon.[ch]:
4657 Change g_themed_icon_get_names return type to const
4659 2007-10-10 Alexander Larsson <alexl@redhat.com>
4661 * gio/glocalfileinfo.c:
4662 Don't reference freed memory
4664 2007-10-10 Alexander Larsson <alexl@redhat.com>
4666 * gio/gfileattribute.c:
4669 * gio/glocalfileinfo.c:
4672 2007-10-10 Alexander Larsson <alexl@redhat.com>
4675 Check for NULL icons
4677 * gio/gfileattribute.c:
4678 Don't dup when getting objects (same as for string attributes)
4680 * gio/gicon.c (g_icon_equal):
4681 Safely handle NULLs in equal
4683 2007-10-10 Alexander Larsson <alexl@redhat.com>
4686 Fix c++ compilation issues
4687 Patch from Milosz Derezynski <internalerror@gmail.com>
4689 2007-10-10 Alexander Larsson <alexl@redhat.com>
4691 * programs/gio-monitor-dir.c:
4692 Don't crash if dir monitor not supported.
4694 2007-10-09 Alexander Larsson <alexl@redhat.com>
4697 Add missing G_END_DECLS
4699 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4701 * gio/gfile.c: (g_file_set_display_name),
4702 (g_file_query_settable_attributes),
4703 (g_file_query_writable_namespaces):
4704 Return NULL not FALSE on errors as the return type is a pointer.
4706 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4708 * gio/glocalfile.c: (g_local_file_monitor_file):
4709 Don't call monitor_file on the default interface vtable (which
4710 is NULL) but simply return NULL. The caller, GFile, will create a
4711 polling monitor if NULL is returned.
4713 2007-10-09 Alexander Larsson <alexl@redhat.com>
4717 * gio-unix-2.0.pc.in:
4718 Add gio-unix-2.0.pc if OS_UNIX
4721 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4723 2007-10-09 Alexander Larsson <alexl@redhat.com>
4725 * gio/gunixmounts.[ch]:
4726 Make unix mount monitoring API sane.
4727 Now its just a object with mounts_changed
4728 and mountpoints_changed signals.
4730 * gio/glocaldirectorymonitor.c:
4731 * gio/gunixvolumemonitor.c:
4732 Use new mount monitor api
4734 2007-10-09 Alexander Larsson <alexl@redhat.com>
4736 * gio/gunixmounts.[ch]:
4737 Move guess type into one call for mounts and one for mountpoints
4740 * gio/gunixvolume.c:
4743 2007-10-09 Alexander Larsson <alexl@redhat.com>
4745 * gio/gunixmounts.[ch]:
4746 Remove _ prefix in preparation to make this semi-public
4747 Hide implementation of structs
4749 * gio/glocaldirectorymonitor.c:
4751 * gio/gunixvolume.c:
4752 * gio/gunixvolumemonitor.c:
4753 Update for above API changes
4755 2007-10-08 Alexander Larsson <alexl@redhat.com>
4758 Better polling fallback. This also handles the case where we have
4759 a monitor_file implementation, but it fails.
4761 2007-10-08 Alexander Larsson <alexl@redhat.com>
4765 * gio/gunixmounts.c:
4766 * programs/gio-monitor-dir.c:
4767 * programs/gio-monitor-file.c:
4768 Added cancellable to file monitoring calls.
4769 These are really sync calls and need this.
4771 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4773 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4774 (g_local_vfs_class_init):
4775 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4776 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4778 2007-10-05 Alexander Larsson <alexl@redhat.com>
4780 * gio/gdirectorymonitorprivate.h:
4781 * gio/gfilemonitorprivate.h:
4782 * gio/gdirectorymonitor.h:
4783 * gio/gfilemonitor.h:
4784 Remove *private.h and move to the public API, so that
4785 we can do implementations outside gio (such as in gvfs)
4787 * gio/gdirectorymonitor.c:
4788 * gio/gfilemonitor.c:
4789 * gio/glocaldirectorymonitor.c:
4790 * gio/gpollfilemonitor.c:
4791 * gio/inotify/inotify-helper.c:
4792 * gio/fam/fam-helper.c:
4793 Update to the new header names
4795 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4797 * gio/gdirectorymonitor.c:
4798 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4801 2007-10-04 Alexander Larsson <alexl@redhat.com>
4803 * gio/glocalfileinfo.c (get_access_rights):
4804 Set CAN_TRASH when we can move the file.
4805 We should really also check for a parent trash dir.
4807 2007-10-04 Alexander Larsson <alexl@redhat.com>
4809 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4810 Add can_trash access attribute
4812 2007-10-04 Alexander Larsson <alexl@redhat.com>
4815 (g_local_file_trash):
4816 Create info file first. This is per-spec and allows
4817 us to actually trash directories.
4819 2007-10-02 Alexander Larsson <alexl@redhat.com>
4821 * gio/gdesktopappinfo.c:
4822 Implement the new mime support code.
4823 Always set app as handling mimetype when being set as default for it
4825 2007-10-01 Alexander Larsson <alexl@redhat.com>
4827 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4828 Fix up check for xattrs:
4830 2007-10-01 Alexander Larsson <alexl@redhat.com>
4833 (g_app_info_set_as_default_for_extension):
4834 (g_app_info_add_supports_type):
4835 (g_app_info_can_remove_supports_type):
4836 (g_app_info_remove_supports_type):
4837 Make these fail nicely if not implemented
4839 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4841 * gio/glocalfileoutputstream.c:
4842 * gio/glocalfileoutputstream.h:
4847 * programs/gio-save.c:
4848 Add a GFileCreateFlags argument to operations that can create
4851 2007-10-01 Alexander Larsson <alexl@redhat.com>
4853 * gio/gappinfo.[ch]:
4854 * gio/gdesktopappinfo.c:
4855 Add more (stubbed out) mime API needed for nautilus
4857 2007-10-01 Alexander Larsson <alexl@redhat.com>
4860 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4861 Add g_app_info_set_as_default_for_extension.
4863 * gio/gdesktopappinfo.c:
4864 Dummy for g_app_info_set_as_default_for_extension
4865 Support flags in g_app_info_create_from_commandline
4867 * gio/gwin32appinfo.c:
4869 Update for API changes
4871 * gio/gthemedicon.c:
4872 Properly NULL-terminate list of icon names
4874 2007-09-28 Alexander Larsson <alexl@redhat.com>
4876 * gio/gloadableicon.h:
4877 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4879 2007-09-28 Alexander Larsson <alexl@redhat.com>
4882 Install headers in $includedir/gio-standalone/
4884 * gio-2.0.pc.in: Added.
4885 * gio-standalone.pc.in: Removed.
4888 Renamed pkg-config file to match glib (for future move)
4889 Update to the new include dir
4892 Add more TODO comments
4894 2007-09-28 Alexander Larsson <alexl@redhat.com>
4896 * gio/gdesktopappinfo.[ch]:
4897 Expose new_from_filename
4898 Add getter for is_hidden and handle it better
4900 2007-09-28 Alexander Larsson <alexl@redhat.com>
4902 * gio/gfileinfo.[ch]:
4903 Rename g_file_size_format_for_display to
4904 g_format_file_size_for_display.
4905 Now it doesn't have the g_file prefix, so we
4906 can later move it to glib.
4908 2007-09-28 Alexander Larsson <alexl@redhat.com>
4910 * gio/gappinfo.[ch]:
4911 Add g_app_info_get_id and g_app_info_get_executable.
4912 Make all getters non-reffing
4913 Make g_app_info_launch take GFile arguments.
4914 Add must_support_uris argument to g_app_info_get_default_for_type.
4916 * gio/gwin32appinfo.c:
4917 Update to GAppInfo api changes
4919 * gio/gdesktopappinfo.c:
4920 Update to GAppInfo api changes
4921 Implement supports_xdg_startup_notify
4923 * gio/gfileicon.c (g_file_icon_get_file):
4924 Make getter non-reffing.
4929 2007-09-27 Alexander Larsson <alexl@redhat.com>
4931 * gio/gfileinfo.[ch]:
4932 Add g_file_size_format_for_display helper
4934 2007-09-27 Alexander Larsson <alexl@redhat.com>
4936 * gio/glocalfileinfo.c:
4937 Set UNIX_GID from gid, not from uid
4939 2007-09-27 Alexander Larsson <alexl@redhat.com>
4942 Add g_file_set_attributes_async
4944 2007-09-27 Alexander Larsson <alexl@redhat.com>
4946 * gio/glocalfile.c (g_local_file_set_display_name):
4947 Fix set_display_name to actually rename to the right place.
4948 Use lstat to look for existing files so we don't overwrite
4951 2007-09-26 Alexander Larsson <alexl@redhat.com>
4954 Add g_file_set_display_name_async()
4956 2007-09-26 Alexander Larsson <alexl@redhat.com>
4959 Add load_partial_contents async calls
4962 Make internal function static
4964 2007-09-26 Alexander Larsson <alexl@redhat.com>
4966 * gio/glocalfileinfo.c:
4967 Correctly detect broken symlinks
4969 2007-09-26 Alexander Larsson <alexl@redhat.com>
4971 * gio/gcancellable.c (g_cancellable_cancel):
4972 Allow cancel on NULL cancellable
4974 2007-09-25 Alexander Larsson <alexl@redhat.com>
4976 * gio/gsimpleasyncresult.c:
4977 Don't allocate g_error manually.
4978 Fixes g_slice/g_new mixup crash
4980 2007-09-25 Alexander Larsson <alexl@redhat.com>
4982 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4983 Actually set active_backend.
4984 This means the monitor will be cancelled correctly.
4986 2007-09-25 Alexander Larsson <alexl@redhat.com>
4988 * gio/gdirectorymonitor.c:
4989 Set timeout to NULL when destroying
4991 2007-09-25 Alexander Larsson <alexl@redhat.com>
4994 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4995 that is a better description of the error.
4997 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4999 * gio/gvfs.c: (g_vfs_get_local):
5000 Make the local vfs variable static. The same instance should
5003 2007-09-24 Alexander Larsson <alexl@redhat.com>
5005 * gio/glocalfileinfo.c:
5006 Pass in actual length read into sniffer, not the length
5009 2007-09-21 Alexander Larsson <alexl@redhat.com>
5011 * gio/gfileenumerator.c:
5014 * gio/gfileinputstream.c:
5015 * gio/gfileoutputstream.c:
5016 * gio/ginputstream.c:
5017 * gio/goutputstream.c:
5018 Don't crash if async callbacks are NULL
5020 2007-09-20 Alexander Larsson <alexl@redhat.com>
5023 Add async enumerate_children method and default
5026 2007-09-20 Alexander Larsson <alexl@redhat.com>
5029 Add g_file_contains_file & g_file_get_relative_path, since they
5030 were needed for nautilus.
5031 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5036 Implement new methods
5038 2007-09-17 Alexander Larsson <alexl@redhat.com>
5041 * gio/gfileinputstream.[ch]:
5042 * gio/gfileoutputstream.[ch]:
5044 * gio/glocalfileenumerator.[ch]:
5045 * gio/glocalfileinfo.[ch]:
5046 * gio/glocalfileinputstream.c:
5047 * gio/glocalfileoutputstream.c:
5048 * gio/gpollfilemonitor.c:
5049 * programs/gio-copy.c:
5050 * programs/gio-info.c:
5051 * programs/gio-move.c:
5052 Rename get_file_info to query_info() to make it clearer
5053 that these are not simple getters, but do i/o.
5055 2007-09-17 Alexander Larsson <alexl@redhat.com>
5057 * gio/gdatainputstream.[ch]:
5058 * gio/test-streams.c:
5059 Use _read_XXX instead of _get_XXX for the i/o calls
5062 2007-09-17 Alexander Larsson <alexl@redhat.com>
5065 Added needed stuff to TODO comment
5067 2007-09-17 Alexander Larsson <alexl@redhat.com>
5069 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5070 Don't error out removing the backup copy if it doesn't
5073 2007-09-14 Alexander Larsson <alexl@redhat.com>
5075 * programs/Makefile.am:
5076 * programs/gvfs-*.c:
5078 Renamed apps from gvfs-xxx to gio-xxx.
5080 2007-09-14 Alexander Larsson <alexl@redhat.com>
5083 * gio/gfileoutputstream.[ch]:
5084 * gio/glocalfileoutputstream.c:
5085 * programs/gvfs-save.c:
5086 g_file_output_stream_get_etag doesn't do i/o, so remove
5087 cancellation and error.
5089 2007-09-14 Alexander Larsson <alexl@redhat.com>
5092 Add new_etag output to replace_contents functions
5094 2007-09-14 Alexander Larsson <alexl@redhat.com>
5096 * gio/gfileoutputstream.[ch]:
5097 Add async get_file_info and default implementation
5099 2007-09-14 Alexander Larsson <alexl@redhat.com>
5101 * gio/gfileinputstream.c:
5102 Implement fallback wrapper for async get_file_info
5104 2007-09-14 Alexander Larsson <alexl@redhat.com>
5107 Add etag out argument to load_contents
5112 2007-09-14 Alexander Larsson <alexl@redhat.com>
5114 * gio/gcontenttype.c (looks_like_text):
5115 Whitespace like tab, cr and lf do not make the
5118 2007-09-14 Alexander Larsson <alexl@redhat.com>
5120 * gio/gfileinputstream.[ch]:
5121 Add async get_file_info.
5123 2007-09-13 Alexander Larsson <alexl@redhat.com>
5125 * gio/goutputstream.c (g_output_stream_write_all):
5126 Allow NULL for bytes_written
5128 2007-09-13 Alexander Larsson <alexl@redhat.com>
5130 * gio/gmemoryinputstream.[ch]:
5131 Add accessors for data
5133 2007-09-13 Alexander Larsson <alexl@redhat.com>
5135 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5136 Don't crash if length is NULL