1 2008-09-26 Dan Winship <danw@gnome.org>
3 Bug 505361 – gunixinputstream.c assumes poll() available
4 Bug 509446 – portable blocking gio cancellation
6 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
7 GPollFD for a cancellable (which is slightly more complicated on
10 * gunixinputstream.c (g_unix_input_stream_read):
11 * gunixoutputstream.c (g_unix_output_stream_write): Use
12 g_cancellable_make_pollfd() and g_poll() rather than using poll()
15 * tests/unix-streams.c: test of GUnixInputStream,
16 GUnixOutputStream, and GCancellable.
18 2008-09-26 Dan Winship <danw@gnome.org>
20 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
21 cast to stop a gcc warning
23 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
26 2008-09-25 Dan Winship <danw@gnome.org>
28 Bug 553426 - cancellable clarifications
30 * gcancellable.c (g_cancellable_class_init): Add a note to the
31 "cancelled" signal docs warning about thread-safety issues
32 (g_cancellable_cancel): Note that cancelling an asynchronous
33 operation takes effect asynchronously, not immediately.
35 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
37 * gioenums.h: Add new GFileCopyFlag, to leave target file with
38 default perms, instead of setting the source file perms, in a copy
41 * gfile.c (g_file_copy_attributes)
42 (build_attribute_list_for_copy)
43 (should_copy): Not copy "unix::mode" attribute if we have received
44 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
46 2008-09-20 Matthias Clasen <mclasen@redhat.com>
48 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
50 2008-09-17 Matthias Clasen <mclasen@redhat.com>
52 * === Released 2.18.1 ===
54 2008-09-16 Michael Natterer <mitch@imendio.com>
56 * gcontenttype.c (g_content_type_guess): can't assign the return
57 value of g_strdupv() to an array. Fill the array manually with
58 const strings instead (it is never freed anyway). Fixes the
59 build. Also fixed indentation.
61 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
63 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
64 Fix trivial typo to unbreak the build (there was a colon
65 instead of a semicolon at the end of a statement).
67 2008-09-15 Matthias Clasen <mclasen@redhat.com>
69 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
72 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
75 2008-09-15 Matthias Clasen <mclasen@redhat.com>
77 Bug 551681 – g_content_type_guess() too naive with filenames
79 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
80 at the end of the filename, and declare it a directory.
81 Patch by Bastien Nocera
83 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
85 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
88 * gdesktopappinfo.c: add a note in the docs clarifying what the
89 "filename" parameter really is.
91 2008-09-12 Tor Lillqvist <tml@novell.com>
93 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
94 FormatMessage() etc here. Call g_win32_error_message() instead
95 which already does all that. Besides, the code was broken as it
96 called the default "A" version of FormatMessage() but still
97 thought it produced a wide string.
99 2008-09-12 Michael Natterer <mitch@imendio.com>
101 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
102 in the documentation.
104 2008-09-08 Christian Neumair <cneumair@gnome.org>
106 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
107 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
108 Use non-blocking pipe for mount helper I/O. Fixes #550647.
110 2008-09-06 Matthias Clasen <mclasen@redhat.com>
112 Bug 551149 – xdgmime mem leak
114 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
115 a memory leak. Patch by Christian Persch
117 2008-09-04 Tor Lillqvist <tml@novell.com>
119 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
122 2008-09-02 Matthias Clasen <mclasen@redhat.com>
124 * === Released 2.18.0 ===
126 2008-09-02 Michael Natterer <mitch@imendio.com>
128 * *.h: big header formatting cleanup: indentation, vtable
129 formatting, consistent spacing in (* vfunc), trailing whitespace
130 removal. Formatting should be pretty consistent in all GIO headers
133 2008-09-02 Matthias Clasen <mclasen@redhat.com>
135 * gmount.h: Document guess_content_type sync vfunc.
137 2008-09-02 Michael Natterer <mitch@imendio.com>
139 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
140 fix parent_class member to be GFilterOutputStreamClass (not
141 GOutputStreamClass). Drop three pointers of padding, which is
142 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
143 so the class struct size stays the same.
145 2008-09-02 Matthias Clasen <mclasen@redhat.com>
147 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
149 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
150 nonexisting return values. Pointed out by Cosimo Cecchi.
152 2008-08-23 Tor Lillqvist <tml@novell.com>
154 Bug 548988 - g_file_replace fails on Windows when the target file
157 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
158 Windows, close the file before potentially renaming it (in case we
159 have been writing to a file with a temporary name).
161 (g_local_file_output_stream_close, handle_overwrite_open): Use
162 GLocalFileStat instead of plain struct stat, for passing to
163 _g_local_file_info_create_etag(). Thus also use _fstati64()
164 instead of plain fstat() on Windows.
166 2008-08-18 Matthias Clasen <mclasen@redhat.com>
168 * === Released 2.17.7 ===
170 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
172 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
175 2008-08-13 Tor Lillqvist <tml@novell.com>
177 * win32/gwinhttpvfs.c
178 * win32/gwinhttpvfs.h
179 * win32/gwinhttpfile.c
180 * win32/gwinhttpfileinputstream.c
181 * win32/gwinhttpfileoutputstream.c: Refactor some common code
182 snippets into helper functions. Check HTTP response status
183 codes. Implement g_winhttp_file_query_info(), looking at
184 Content-Length, Content-Type and Last-Modified.
186 * win32/winhttp.h: Add some symbolic constants that are not
187 publicly documented. Just a handful, so it should be OK to use
188 information from the Windows SDK's headers.
190 2008-08-13 Tor Lillqvist <tml@novell.com>
192 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
195 * win32/gwin32directorymonitor.c
196 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
198 2008-08-13 Matthias Clasen <mclasen@redhat.com>
201 * goutputstream.c: Add intro docs.
203 2008-08-13 Tor Lillqvist <tml@novell.com>
205 * win32/gwinhttpfileoutputstream.c
206 (g_winhttp_file_output_stream_write): Don't write the
207 Content-Length header ourselves, WinHttpSendRequest() takes care
208 of that when the dwTotalLength parameter is non-zero. Increment
209 offset by the number of actual bytes sent, although I wonder if
210 such a scenario is possible where less than requested would be
211 sent and accepted by the server without errors.
213 2008-08-13 Tor Lillqvist <tml@novell.com>
215 * win32/gwinhttpvfs.c
216 * win32/gwinhttpvfs.h
217 * win32/gwinhttpfile.c
218 * win32/gwinhttpfile.h
219 * win32/gwinhttpfileinputstream.c
220 * win32/gwinhttpfileinputstream.h
221 * win32/gwinhttpfileoutputstream.c
222 * win32/gwinhttpfileoutputstream.h: New files implementing
223 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
224 Windows. The implementation uses the WinHttp API. Both reading and
225 writing are supported, i.e. GET and PUT requests. When writing,
226 each write call is done using a separate PUT request with a
227 Content-Range header. Requests for file URIs and plain pathnames
228 are forwarded to GLocalVfs.
230 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
231 WINE. Used as there is no <winhttp.h> bundled with mingw, and
232 requiring people to download the Windows SDK just for this one
233 header is not reasonable.
235 * win32/Makefile.am: Add above files.
237 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
238 the plumbing for the above.
240 2008-08-11 Sven Neumann <sven@gimp.org>
242 * gfilenamecompleter.c
243 * glocaldirectorymonitor.c
245 * gunionvolumemonitor.c
249 * gunixvolumemonitor.c
252 * gwin32volumemonitor.c: use canonical signal names.
254 2008-08-11 Tor Lillqvist <tml@novell.com>
256 * Makefile.am: Put a list of the platform-dependent .la files in
257 the subdirectories in the platform_deps Make variable, and make
258 libgio-2.0.la depend on that, so that it gets relinked if one of
259 the dependent libraries has changed.
261 2008-08-11 Tor Lillqvist <tml@novell.com>
263 * Makefile.am (platform_libadd): Remove -lwininet which had been
264 added by mistake. We will probably eventually be using WinHTTP,
265 not the older WinInet anyway. (Actually I am working on it.)
267 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
269 Bug 547080 – g_file_copy leaks expected errors
271 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
272 before trying the next fallback routine.
274 2008-08-09 Loïc Minier <lool@dooz.org>
276 Bug 535124 – umask 002 not being applied for new directories, new
277 files get the correct umask
279 * gfile.c (g_file_make_directory)
280 (g_file_make_directory_with_parents): Document ownership and
281 permissions of newly created directories as being the default
284 2008-08-08 Loïc Minier <lool@dooz.org>
286 Bug 535124 – umask 002 not being applied for new directories, new
287 files get the correct umask
289 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
292 2008-08-08 Tor Lillqvist <tml@novell.com>
294 * gwin32mount.c: Remove unused code. Whitespace cleanup.
296 * gwin32volumemonitor.c (get_connected_drives): Put questionable
297 code that didn't actually do anything inside #if 0, and add a
298 comment wondering what the code was supposed to do. This also gets
299 rid of a leftover debugging printout.
301 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
303 * gfileicon.c (g_file_icon_get_property)
304 (g_file_icon_set_property): New functions.
305 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
307 (g_file_icon_new): Use the property (bug #546132).
309 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
311 * gthemedicon.c (g_themed_icon_get_property): Also handle
312 `PROP_USE_DEFAULT_FALLBACKS'.
313 (g_themed_icon_class_init): Make
314 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
316 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
318 Bug 546371 – Improve docs re g_file_monitor
320 * gfilemonitor.c: Mention g_file_monitor() in the docs.
322 2008-08-04 Matthias Clasen <mclasen@redhat.com>
324 * === Released 2.17.6 ===
326 2008-08-04 Matthias Clasen <mclasen@redhat.com>
328 * === Released 2.17.5 ===
330 2008-08-04 Matthias Clasen <mclasen@redhat.com>
332 Bug 546017 – Don't copy attributes when copying a symlink
334 * gfile.c (g_file_copy_attributes): Specify
335 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
336 g_file_set_attributes_from_info. Patch by Christian Kellner
338 2008-08-04 Matthias Clasen <mclasen@redhat.com>
340 * gemblemedicon.[hc]:
342 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
343 a bit more extensible. Work by Clemens Buss.
345 * gioenums.h: Add GEmblemOrigin.
348 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
350 Bug 546079 – leak in xdgmime
352 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
354 2008-08-03 Tor Lillqvist <tml@novell.com>
356 * win32/gwin32directorymonitor.h
357 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
360 2008-08-03 Tor Lillqvist <tml@novell.com>
362 * win32/gwin32directorymonitor.c
363 (g_win32_directory_monitor_callback): Make prototype match
364 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
365 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
368 (g_win32_directory_monitor_constructor):
369 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
370 names in the GLib API on Windows, so convert to UTF-16 and open
373 2008-08-03 Tor Lillqvist <tml@novell.com>
375 Bug 541036 - Gnumeric crashes when trying to open Desktop or
376 user's folder under Windows
378 * win32/gwin32directorymonitor.c
379 (g_win32_directory_monitor_constructor): Ignore error from
380 CreateFile() when opening directory. Instead of asserting, just
381 store INVALID_HANDLE_VALUE then in
382 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
383 ReadDirectoryChangesW().
384 (g_win32_directory_monitor_cancel): Don't attempt to close
385 directory handle if it is INVALID_HANDLE_VALUE.
387 2008-08-01 Matthias Clasen <mclasen@redhat.com>
389 * gdesktopappinfo.c: Remove debug spew
391 2008-08-01 Hans Breuer <hans@breuer.org>
393 * makefile.msc : add gemblembedicon
395 2008-07-30 Matthias Clasen <mclasen@redhat.com>
397 Bug 545457 – gdmsetup crashed with SIGSEGV in
398 g_unix_mount_guess_should_display()
400 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
401 crash if no mount is found.
403 2008-07-28 Matthias Clasen <mclasen@redhat.com>
405 Bug 545203 – gfile.c: argument is different type.
407 * gfile.c (open_read_async_thread): Pass a GError **
408 to g_file_set_error_literal.
409 Reported by Kazuki Iwamoto
411 2008-07-28 Matthias Clasen <mclasen@redhat.com>
413 Bug 545157 – wrong/no list of "open with" applications for .cc and
416 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
417 Collect all ancestors, not just direct parents. Pointed
418 out by Bastien Nocera
420 2008-07-28 Matthias Clasen <mclasen@redhat.com>
422 * Makefile.am: Install gemblemedicon.h
424 2008-07-28 Matthias Clasen <mclasen@redhat.com>
426 * gemblemedicon.[hc]: Add a GIcon implementation that can
427 add an emblem to another icon.
434 * gfileicon.c: Small documentation additions.
436 2008-07-28 Tor Lillqvist <tml@novell.com>
438 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
441 2008-07-27 Tor Lillqvist <tml@novell.com>
443 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
445 2008-07-24 David Zeuthen <davidz@redhat.com>
449 Also export a g_mount_guess_content_type_sync() function.
451 2008-07-23 Matthias Clasen <mclasen@redhat.com>
453 529694 – SELinux context setting support
455 * gfileinfo.c: Support setting selinux attributes.
456 Patch by Tomas Bzatek
458 2008-07-22 Priit Laes <plaes@plaes.org>
460 Bug 544140 - fam-helper 64-bit issue?
462 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
464 2008-07-21 Matthias Clasen <mclasen@redhat.com>
466 * === Released 2.17.4 ===
468 2008-07-20 Matthias Clasen <mclasen@redhat.com>
470 * gvolumemonitor.[hc]:
475 * gmount.c: Documentation fixes
477 2008-07-19 Matthias Clasen <mclasen@redhat.com>
479 543504 – crash in Epiphany Web Browser: Opening local file
490 * gvolume.c: Register types thread-safely.
491 Patch by Christian Persch
493 2008-07-18 Matthias Clasen <mclasen@redhat.com>
495 * gcontenttype.c: Remove debug spew
497 2008-07-18 Matthias Clasen <mclasen@redhat.com>
499 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
502 * fen/fen-kernel.c: Remove a warning that was causing
503 crashes. Reported by Lin Ma.
505 2008-07-18 Matthias Clasen <mclasen@redhat.com>
507 Bug 543040 – async reading on dummy file will crash on
510 * gfile.c (open_read_async_thread): Cope with read_fn being
511 NULL. Reported by Lin Ma.
513 2008-07-18 Matthias Clasen <mclasen@redhat.com>
516 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
518 2008-07-16 Matthias Clasen <mclasen@redhat.com>
522 * giomodule.c: Rename a chapter id to avoid filename conflict.
524 2008-07-16 Matthias Clasen <mclasen@redhat.com>
526 Bug 540616 – mem leak in filechooser button
528 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
529 the mount entry. Reported by Chrisitan Persch
531 2008-07-16 Matthias Clasen <mclasen@redhat.com>
533 * gfile.c: Small documentation fixes.
535 2008-07-15 Matthias Clasen <mclasen@redhat.com>
537 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
539 2008-07-08 Matthias Clasen <mclasen@redhat.com>
544 * gmount.c: Documentation improvements.
546 2008-07-08 Matthias Clasen <mclasen@redhat.com>
549 * gmount.[hc]: Add g_mount_guess_content_type().
551 2008-07-06 David Zeuthen <davidz@redhat.com>
554 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
555 is needed for easily handling adoption of foreign volumes by
556 out-of-process volume monitors (#541793)
558 2008-07-06 David Zeuthen <davidz@redhat.com>
560 * gvolumemonitor.[ch]:
561 * gunionvolumemonitor.c: Export the eject-button signal on the
562 volume monitor class (#541794).
564 2008-07-06 Matthias Clasen <mclasen@redhat.com>
566 * gappinfo.c: More doc tweaks
568 2008-07-05 Matthias Clasen <mclasen@redhat.com>
570 * gappinfo.c: Clarify some docs
572 2008-07-03 Matthias Clasen <mclasen@redhat.com>
574 * gdesktopappinfo.c: Fix a stupid mistake.
576 2008-07-02 Matthias Clasen <mclasen@redhat.com>
578 * === Released 2.17.3 ===
580 2008-07-02 Matthias Clasen <mclasen@redhat.com>
582 * gfilemonitor.c: Fix the build.
584 2008-07-02 Matthias Clasen <mclasen@redhat.com>
586 Bug 536160 – Add g_file_monitor()
589 * gfile.[hc]: Add g_file_monitor which can return either
590 a file or a directory monitor. Proposed by Behdad Esfahbod
592 2008-07-02 Matthias Clasen <mclasen@redhat.com>
594 536733 – gio build failure on Irix
596 * glocalfile.c: Use a configure check for structfs.f_bavail.
598 2008-07-02 Matthias Clasen <mclasen@redhat.com>
600 Bug 534639 – add g_desktop_app_info_new_from_keyfile
603 * gdesktopappinfo.[hc]: Add a function to create a
604 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
606 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
608 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
610 2008-07-01 Matthias Clasen <mclasen@redhat.com>
612 * gunixmounts.c: Fix a doc typo.
614 2008-07-01 Cody Russell <bratsche@gnome.org>
616 * gio/gcontenttype.c:
617 * gio/gwin32appinfo.c:
618 * gio/gwin32volumemonitor.c:
619 * gio/gwin32mount.c: Fixed some include problems.
621 2008-07-01 Cody Russell <bratsche@gnome.org>
625 Moved all relevant typedefs into these files.
628 Updated wrt added files.
630 Split types into separate file for easier maintainership. (#538564)
632 2008-06-30 Matthias Clasen <mclasen@redhat.com>
634 Bug 540331 – g_file_append_to () documentation: can return NULL
636 * gfile.c (g_file_append_to): Clarify docs.
639 2008-06-30 Matthias Clasen <mclasen@redhat.com>
641 Bug 539090 – g_content_type_from_mime_type() should unalias
643 * gcontentype.c (g_content_type_from_mime_type): Unalias.
644 Patch by Markus Bergman
646 2008-06-30 Matthias Clasen <mclasen@redhat.com>
648 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
651 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
652 on ppc and alpha. Reported by Mart Raudsepp
654 2008-06-29 Matthias Clasen <mclasen@redhat.com>
657 * tests/memory-output-stream.c: Add some tests for
660 2008-06-29 Matthias Clasen <mclasen@redhat.com>
662 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
665 * gmemoryoutputstream.c (array_resize): Handle truncation to
666 zero correctly. Reported by Akira Tagoh
668 2008-06-29 Matthias Clasen <mclasen@redhat.com>
670 * gmemoryoutputstream.c: Trivial doc fixes
672 2008-06-29 Matthias Clasen <mclasen@redhat.com>
674 Bug 540802 – g_list_prepend doesn't concat lists
676 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
677 one list to another. Pointed out by Jan Arne Petersen
679 2008-06-28 Michael Natterer <mitch@imendio.com>
681 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
683 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
685 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
686 to avoid problems with partial icon themes.
688 2008-06-17 Hans Breuer <hans@breuer.org>
690 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
691 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
692 access again on win32, see bug #538127
693 * giomodule.c : ensure GWin32VolumeMonitor is registered
694 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
695 * Makefile.am makefile.msc : updated
697 2008-06-16 Hans Breuer <hans@breuer.org>
699 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
700 and initialization in one step avoids c99ism
702 2008-06-16 Christian Persch <chpe@gnome.org>
705 * gio/gbufferedinputstream.c
707 * gio/gdatainputstream.c
708 * gio/gdesktopappinfo.c
710 * gio/gfileenumerator.c
711 * gio/gfileinputstream.c
712 * gio/gfileoutputstream.c
714 * gio/glocaldirectorymonitor.c
716 * gio/glocalfileenumerator.c
717 * gio/glocalfileinfo.c
718 * gio/glocalfilemonitor.c
719 * gio/glocalfileoutputstream.c
720 * gio/gmemoryinputstream.c
721 * gio/gmemoryoutputstream.c
722 * gio/goutputstream.c
723 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
726 2008-06-16 Tor Lillqvist <tml@novell.com>
728 Bug 538362 - Get Win32 icons back in the file chooser
730 * gcontenttype.c (g_content_type_get_icon): Look up the icon
731 corresponding to a file extension in the Registry. Patch by Hans
733 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
735 2008-06-16 Tor Lillqvist <tml@novell.com>
737 Patches by Hans Breuer:
739 * glocalfile.c (is_xp_or_later): Handle compiling against older
740 SDK headers with missing VerifyVersionInfo(). Conditioned on
741 _MSC_VER, but should probably use some better test.
742 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
743 uninitialised statfs_result variable on Win32.
745 2008-06-16 Michael Natterer <mitch@imendio.com>
747 * *.c: chain up unconditionally in finalize() and dispose(). Also
748 don't dereference these function pointers when calling them since
749 that has no meaning at all.
751 2008-06-16 Ross Burton <ross@burtonini.com>
754 Remove check for dispose implementation as it annoys Emmanuele.
756 2008-06-16 Ross Burton <ross@burtonini.com>
758 Bug 536252 – GFileEnumerator should allow access to the containing
764 Add g_file_enumerator_get_container() and a container writeable
765 construct-only property. Also shuffle around typedefs to make it
768 * glocalfileenumerator.c:
769 * glocalfileenumerator.h:
771 Instead of a string filename take a GFile in the constructor and
772 use it to set the container property.
777 2008-06-16 Matthias Clasen <mclasen@redhat.com>
779 * gfile.c: Make includes more uniform
781 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
783 * tests/live-g-file.c (sample_struct):
784 Use less fancy unicode filenames, so the test doesn't fail
785 on Mac OS X (#531476).
787 2008-06-12 Matthias Clasen <mclasen@redhat.com>
789 * === Released 2.17.2 ===
791 2008-06-12 Matthias Clasen <mclasen@redhat.com>
793 * === Released 2.17.1 ===
795 2008-06-11 A. Walton <awalton@gnome.org>
797 * tests/g-file.c (test_g_file_new_null):
798 Fix broken test case.
800 2008-06-11 Matthias Clasen <mclasen@redhat.com>
802 * pltcheck.sh: We use g_clear_error now.
804 2008-06-11 Matthias Clasen <mclasen@redhat.com>
806 * glocalfile.c (g_local_file_enumerate_children): Revert
807 an unintended change.
809 2008-06-11 Matthias Clasen <mclasen@redhat.com>
811 * gfile.c (g_file_replace_contents): Don't unref before the last use.
813 2008-06-10 Matthias Clasen <mclasen@redhat.com>
815 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
818 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
819 as icon for the desktop directory, also make user-home and
820 user-desktop the preferred icons.
822 2008-06-10 Matthias Clasen <mclasen@redhat.com>
825 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
826 to add a name to the front of the list.
828 2008-06-10 Matthias Clasen <mclasen@redhat.com>
830 Bug 537392 – Additional colon in xattr name
832 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
833 too. Reported by Alessandro Morandi
835 2008-06-10 Matthias Clasen <mclasen@redhat.com>
837 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
840 * glocalfile.c (get_fs_type): Add afs and autofs.
841 Patch by Danny Baumann.
843 2008-06-10 Matthias Clasen <mclasen@redhat.com>
845 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
847 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
848 is no parent. (Owen Taylor, patch by Christian Neumair)
850 2008-06-10 Paolo Borelli <pborelli@katamail.com>
852 * gfile.c (g_file_replace_contents): do not leak the output stream.
854 2008-06-10 Michael Natterer <mitch@imendio.com>
856 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
857 uninitialized memory as array index.
859 2008-06-10 Tor Lillqvist <tml@novell.com>
861 * gcontenttype.c (g_content_type_can_be_executable)
862 (g_content_type_get_icon) [Win32]: Add TODO comments.
864 2008-06-09 Matthias Clasen <mclasen@redhat.com>
866 * xdgmime/Makefile.am: Fix the build
868 2008-06-09 Matthias Clasen <mclasen@redhat.com>
870 * gcontenttype.c (g_content_type_get_icon): Use icons specified
871 in the shared mime database, if available.
873 * xdgmime/*: Sync with upstream. This brings support for
874 glob weights, generic icons, and changes the cache format to
877 2008-05-28 Michael Natterer <mitch@imendio.com>
879 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
880 the global CPPFLAGS now.
882 * tests/data-input-stream.c
883 * tests/data-output-stream.c
884 * tests/g-file-info.c
886 * tests/live-g-file.c
887 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
889 2008-05-27 Matthias Clasen <mclasen@redhat.com>
891 * === Released 2.17.0 ===
893 * tests/live-g-file.c: Clean up after the tests, so make distcheck
894 doesn't complain about leftover files.
896 2008-05-27 simon.zheng <simon.zheng@sun.com>
898 * glocalfile.c: (g_local_file_query_filesystem_info):
899 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
901 2008-05-26 Michael Natterer <mitch@imendio.com>
903 * gmemoryoutputstream.h: declare
904 g_memory_output_stream_get_data_size().
906 2008-05-26 Matthias Clasen <mclasen@redhat.com>
908 * tests/*: Make tests work
910 2008-05-26 Matthias Clasen <mclasen@redhat.com>
912 * gio.symbols: Add g_memory_output_stream_get_data_size.
914 2008-05-25 Ross Burton <ross@burtonini.com>
917 Fix typo in error message (#534764).
919 2008-05-25 Ross Burton <ross@burtonini.com>
922 Fix circular dependency loop for gioenumtypes.h (#534759).
924 2008-05-19 Hans Breuer <hans@breuer.org>
926 * Makefile.am : EXTRA_DIST += makefile.msc
928 2008-05-17 Matthias Clasen <mclasen@redhat.com>
931 * gcontenttype.c: (g_content_type_from_mime_type):
932 New function to create a content type from a mime type. (#527175,
935 2008-05-17 Matthias Clasen <mclasen@redhat.com>
937 Bug 532965 – Should not return filesystem::free for certain file systems
939 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
940 free space for ncpfs.
942 2008-05-17 Matthias Clasen <mclasen@redhat.com>
944 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
946 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
947 st_dev might be zero.
949 2008-05-16 Tor Lillqvist <tml@novell.com>
951 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
952 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
954 2008-05-13 Bastien Nocera <hadess@hadess.net>
956 * gfile.c (has_valid_scheme): A URI scheme must start with a
957 letter, even if later more characters are allowed (#532852)
959 2008-05-05 Michael Natterer <mitch@imendio.com>
961 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
962 code from being checked in that breaks the build of applications
963 which use G_DISABLE_SINGLE_INCLUDES.
965 * makegioalias.pl: make the alias file include "glib.h" instead of
968 * gio.symbols: whitespace change to force regeneration of the
969 alias file after above script change.
971 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
973 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
975 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
977 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
979 2008-04-28 David Zeuthen <davidz@redhat.com>
981 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
982 displaying mounts in a subdirectory not accessible to the
985 2008-04-22 Michael Natterer <mitch@imendio.com>
987 * Makefile.am: fix library versioning (it was 0.0.0).
989 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
991 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
992 Default disable all loggings.
993 * fen/fen-kernel.c: (printevent), (port_add_kevent),
994 (port_fetch_event_cb): Fixed two macro nits.
996 2008-04-16 Matthias Clasen <mclasen@redhat.com>
998 * xdgmime/xdgmime.c: Rework the timestamp checking code
999 to protect against duplicate directories in XDG_DATA_DIRS.
1000 Fixes fd.o bug 12513, reported by Joe Shaw.
1002 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1004 Partically revert the last commit after realizing that
1005 xdg_mime_media_type_equal doesn't have to init at all.
1007 * xdgmime/xdgmime.h:
1008 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1010 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1012 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1014 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1015 reported by Joe Shaw and Federico Mena Quintero.
1017 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1018 (xdg_mime_media_type_equal): Turn into a wrapper around the
1021 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1022 functions throughout.
1024 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1026 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1027 tolerate an empty TryExec= line without failing; nautilus used
1028 to create launchers with these in previous versions. Fixes #528433
1030 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1032 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1033 after name. Fixes #527132.
1035 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1037 * gfile.c: (g_file_replace):
1040 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1042 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1044 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1045 by Christian Kellner.
1047 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1049 * gunixmounts.c: (g_unix_mount_guess_should_display):
1050 Don't list the user directory as a mount, fix potential issue
1051 when other users have a similar naming and don't special case the
1052 gvfs mounts there since that's not required (#525866)
1054 2008-03-31 Alexander Larsson <alexl@redhat.com>
1056 * glocalfile.c (get_parent):
1059 2008-03-31 A. Walton <awalton@svn.gnome.org>
1061 * gfile.c (g_file_query_file_type):
1062 Always return a GFileType enum value (#520715).
1064 2008-03-31 Alexander Larsson <alexl@redhat.com>
1066 * glocalfileenumerator.c:
1067 Read readdir() info in chunks (of 1000) and sort
1068 the chunks by inode before stat:ing.
1069 This is a 20% performance increase in testing
1070 gvfs-ls on /usr/bin with cold cache.
1072 2008-03-31 Alexander Larsson <alexl@redhat.com>
1074 * gmemoryoutputstream.c:
1075 Clarify docs for g_memory_output_stream_get_size.
1076 Add g_memory_output_stream_get_data_size.
1078 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1082 * gfile.h: Add g_file_query_file_type convenience function
1083 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1085 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1087 * gfileenumerator.c:
1088 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1090 2008-03-28 A. Walton <awalton@svn.gnome.org>
1092 * giomodule.c (_g_io_modules_ensure_loaded):
1093 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1096 2008-03-28 Alexander Larsson <alexl@redhat.com>
1099 (copy_stream_with_progress):
1102 2008-03-28 Alexander Larsson <alexl@redhat.com>
1105 (copy_stream_with_progress):
1106 (file_copy_fallback):
1107 Fallback to g_file_query_info for source size
1108 if g_file_input_stream_query_info fails. (#524579)
1110 2008-03-28 Alexander Larsson <alexl@redhat.com>
1112 * glocalfile.c (g_local_file_move):
1113 Reuse old string instead of adding new one.
1115 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1117 * fen/*.[hc]: still copyright issue. I hate copyright.
1119 2008-03-27 Alexander Larsson <alexl@redhat.com>
1121 * glocalfile.c (g_local_file_move):
1122 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1123 file over directory. This is according to the docs and what the move via
1124 copy+remove fallback does.
1126 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1128 * fen/*.[hc]: Updated copyright.
1130 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1132 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1134 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1136 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1137 not emit attribute changed events when optimizing changed events.
1138 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1141 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1143 * gmountoperation.[hc]: Small documentation additions
1145 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1147 * gunixmounts.c: (guess_mount_type):
1148 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1150 2008-03-19 Alexander Larsson <alexl@redhat.com>
1153 (copy_stream_with_progress):
1154 Bump block side for copy to 64k to minimize
1155 overhead for low latency links. (#523015)
1157 2008-03-16 Tor Lillqvist <tml@novell.com>
1159 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1160 depend on gio.def on Windows.
1162 2008-03-12 David Zeuthen <davidz@redhat.com>
1166 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1168 2008-03-14 Alexander Larsson <alexl@redhat.com>
1172 Avoid redudant tests (#521851)
1173 Patch from Josselin Mouette
1175 2008-03-14 Alexander Larsson <alexl@redhat.com>
1178 (g_file_monitor_is_cancelled):
1179 Fix C89 issue (#521672)
1180 Patch from Jens Granseuer
1182 2008-03-14 Alexander Larsson <alexl@redhat.com>
1184 * fam/fam-helper.[ch]:
1186 Shut down fam (including removing fam GSource) when
1187 module is unloaded (#521513)
1188 Patch from Joe Marcus Clarke
1190 2008-03-14 Alexander Larsson <alexl@redhat.com>
1193 (_g_io_modules_ensure_loaded):
1196 2008-03-14 Alexander Larsson <alexl@redhat.com>
1199 (g_local_file_query_filesystem_info):
1200 Use right define name for f_fstypename member check
1202 2008-03-14 Alexander Larsson <alexl@redhat.com>
1205 * fen/Makefile.am: Added.
1206 * fen/fen-data.[ch]: Added.
1207 * fen/fen-dump.[ch]: Added.
1208 * fen/fen-helper.[ch]: Added.
1209 * fen/fen-kernel.[ch]: Added.
1210 * fen/fen-missing.[ch]: Added.
1211 * fen/fen-node.[ch]: Added.
1212 * fen/fen-sub.[ch]: Added.
1213 * fen/gfendirectorymonitor.[ch]: Added.
1214 * fen/gfenfilemonitor.[ch]: Added.
1216 Added Solaris FEN file notification backend.
1217 Patch from Lin Ma <Lin.Ma@Sun.COM>
1219 2008-03-13 Tor Lillqvist <tml@novell.com>
1221 * Makefile.am: Actually use the gio.def file when linking the
1222 library on Windows. Produce .lib library for Microsoft's toolchain
1223 when possible. Install the .lib and .def file like for the other
1226 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1228 * tests/live-g-file.c:
1229 Include live-g-file in standard set of tests, making a temporary
1230 directory in source structure.
1232 Clean target directory before the tests (write mode only)
1234 2008-03-12 Tor Lillqvist <tml@novell.com>
1236 Bug 517419 - gio win32 directory monitor
1237 Implementation by Vlad Grecescu.
1240 * win32/gwin32directorymonitor.h
1241 * win32/gwin32directorymonitor.c: New files.
1243 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1245 * Makefile.am: Add the win32 subdirectory.
1247 2008-03-12 Tor Lillqvist <tml@novell.com>
1249 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1250 normal struct stat on Unix but struct _stati64 on Windows to have
1251 access to 64-bit file size information. Use that instead of struct
1252 stat in the functions declared here in this private header.
1254 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1255 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1256 warnings about unused functions and variables. Don't set
1257 meaningless attributes like inode numbers on Windows.
1259 2008-03-12 Benjamin Otte <otte@gnome.org>
1262 trim whitespace so gtk-doc groks the function name
1264 2008-03-12 Tor Lillqvist <tml@novell.com>
1266 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1267 returning FALSE, on Win32.
1269 2008-03-11 Alexander Larsson <alexl@redhat.com>
1272 * glocalfileinfo.[ch]:
1273 Correctly implement can_trash by actually
1274 looking for a trash dir, not just assuming
1277 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1279 * === Released 2.16.1 ===
1281 2008-03-11 Alexander Larsson <alexl@redhat.com>
1284 Fix crashes in new constructor and properties code
1286 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1288 * gfile.c: Minor spelling correction in documentation:
1289 existance -> existence.
1291 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1293 * === Released 2.16.0 ===
1295 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1297 * gio.symbols: Remove g_file_contains_file here, too.
1299 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1301 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1302 Samuel Cormier-Iijima)
1304 2008-03-08 Tor Lillqvist <tml@novell.com>
1306 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1309 2008-03-07 Alexander Larsson <alexl@redhat.com>
1312 (g_local_file_query_filesystem_info):
1313 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1314 Patch from Jasper Lievisse Adriaanse
1316 2008-03-06 Tor Lillqvist <tml@novell.com>
1318 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1319 comments for the *_USEC attributes.
1321 2008-03-06 Alexander Larsson <alexl@redhat.com>
1323 * gfile.c (g_file_query_exists):
1324 Add g_return_val_if_fail check (#520700)
1326 2008-03-06 Alexander Larsson <alexl@redhat.com>
1328 * gdesktopappinfo.c:
1331 * gunionvolumemonitor.c:
1334 * tests/live-g-file.c:
1335 * xdgmime/xdgmimecache.c:
1336 Fix sparse warnings (#519489)
1338 2008-03-05 Alexander Larsson <alexl@redhat.com>
1341 Make cancellation threadsafe (i.e.
1342 guarantee its only done once, and always
1345 * glocaldirectorymonitor.c:
1346 Make sure we the monitor lives while the
1347 mounts_changed callback is being called (#520484)
1349 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1351 * gbufferedinputstream.c: Fix typo in parameter
1354 2008-03-04 Alexander Larsson <alexl@redhat.com>
1357 Remove deprecated symbols we kept for one release.
1359 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1362 * goutputstream.c: Tiny documentation corrections.
1364 2008-03-03 Alexander Larsson <alexl@redhat.com>
1366 * gunionvolumemonitor.c:
1368 Fix the adopt_orphan_mount vfunc to take a
1369 volume_monitor reference in an ABI compat way.
1370 This change is not API compat, but the added
1371 arg is not used in the only user of this vfunc, so
1372 all we get is a harmless warning in gvfs (#520169)
1374 2008-03-01 Benjamin Otte <otte@gnome.org>
1377 clarify docs for g_file_delete().
1379 2008-02-29 Alexander Larsson <alexl@redhat.com>
1383 Make sure empty files get text/plain type (#518720)
1385 2008-02-27 Alexander Larsson <alexl@redhat.com>
1391 (g_unix_volume_mount):
1392 Add missing GMountMountFlags argument
1394 2008-02-26 Alexander Larsson <alexl@redhat.com>
1397 (g_local_file_delete):
1398 Handle filesystems (like ntfs-3g) that return EEXIST instead
1399 of ENOTEMPTY (#518816)
1401 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1403 * === Released 2.15.6 ===
1405 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1407 * gfile.c (g_file_find_enclosing_mount):
1408 * ginputstream.c (g_input_stream_set_pending):
1409 * glocalfile.c (g_local_file_find_enclosing_mount):
1410 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1411 * goutputstream.c (g_output_stream_set_pending):
1413 Fixup translator comments (#518578).
1415 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1417 * gfile.c (g_file_find_enclosing_mount):
1419 * glocalfile.c (g_local_file_find_enclosing_mount):
1422 Fix a few typos in translator comments and documentation.
1424 2008-02-25 Alexander Larsson <alexl@redhat.com>
1431 Add translator comments (#518578)
1433 2008-02-25 Alexander Larsson <alexl@redhat.com>
1436 Reintroduce g_file_contains_file, keep around for one
1437 unstable release cycle to avoid crashing to many apps.
1438 Make sure to delete after release.
1440 2008-02-25 Alexander Larsson <alexl@redhat.com>
1443 Remove deprecated g_file_contains_file.
1445 2008-02-25 Alexander Larsson <alexl@redhat.com>
1448 Emit actual change signals in an idle handler.
1449 This avoids reentrance and locking problems in
1450 the file notification backends.
1452 2008-02-25 Alexander Larsson <alexl@redhat.com>
1455 (g_unix_mount_guess_should_display):
1456 Remove type guessing, instead just display
1457 mounts in /media and in ~/.
1459 2008-02-25 Alexander Larsson <alexl@redhat.com>
1462 Make new strings reuse old ones.
1464 2008-02-25 Alexander Larsson <alexl@redhat.com>
1467 Implement trashing and filesystem::readonly for win32 (#517235)
1468 Patch from Yevgen Muntyan
1470 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1472 * gfileinfo.h: Documentation fixes.
1474 2008-02-22 Alexander Larsson <alexl@redhat.com>
1476 * gcontenttype.c (g_content_type_get_icon):
1477 Look at old-style gnome mime icon names too, as many
1478 have not moved to the new style.
1480 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1482 * *.c: Correct the @include in for section docs.
1484 2008-02-21 David Zeuthen <davidz@redhat.com>
1486 * glocalfileinfo.c: (_g_local_file_info_get):
1488 (g_content_type_get_icon): Implement this function by
1489 moving bits from glocalfileinfo.c
1490 (g_content_type_get_description): Unalias before getting
1491 description (#517687)
1493 * gfile.c: (g_file_class_init),
1494 (g_file_query_filesystem_info_async),
1495 (g_file_query_filesystem_info_finish),
1496 (query_filesystem_info_data_free),
1497 (query_filesystem_info_async_thread),
1498 (g_file_real_query_filesystem_info_async),
1499 (g_file_real_query_filesystem_info_finish):
1500 * gfile.h: Implement async version of
1501 g_file_query_filesystem_info()
1503 * gfileinfo.h: Add new attributes for filesystem::use-preview
1505 * gio.symbols: Update
1507 * gthemedicon.c: (g_themed_icon_append_name):
1508 * gthemedicon.h: Add new new convenience function.
1510 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1511 (get_mounts), (get_volumes), (get_connected_drives),
1512 (get_volume_for_uuid), (get_mount_for_uuid),
1513 (g_union_volume_monitor_init), (populate_union_monitor),
1514 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1515 (g_volume_monitor_adopt_orphan_mount):
1517 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1518 monitor implementations to call into the main volume monitor. Also
1519 separate object initialization and volume monitor initialization
1520 such that non-native volume monitors can properly adopt their
1523 2008-02-21 Alexander Larsson <alexl@redhat.com>
1528 2008-02-21 Alexander Larsson <alexl@redhat.com>
1531 Add more documentation about how GFiles work (from #517086)
1533 2008-02-21 Alexander Larsson <alexl@redhat.com>
1537 Add new g_file_has_prefix that does the same as g_file_contains_file.
1538 Deprecate g_file_contains_file and add a macro that converts
1539 it to g_file_has_prefix.
1540 The reason for this change is that the contains_file() name seems to
1541 imply that this does more work than what it does, but its really only
1542 a name match (from #517086)
1547 Update to match the above change.
1549 2008-02-20 Benjamin Otte <otte@gnome.org>
1551 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1552 (g_file_eject_mountable):
1553 even more cases of not returning in error path
1555 2008-02-20 Benjamin Otte <otte@gnome.org>
1557 * gfile.c: (g_file_mount_mountable):
1558 return from function in error path.
1560 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1563 Remove trailing coma in GMountMountFlags struct
1565 2008-02-18 Alexander Larsson <alexl@redhat.com>
1569 * glocalfileoutputstream.c:
1570 Use g_unlink/g_rename instead of unlink/rename;
1571 do not pass raw filenames to g_set_error. (#517239)
1572 Patch from Yevgen Muntyan.
1574 2008-02-18 Alexander Larsson <alexl@redhat.com>
1577 * glocalfileoutputstream.c:
1578 Open files with O_BINARY on windows. (#517140)
1580 2008-02-14 Alexander Larsson <alexl@redhat.com>
1582 * glocalfileoutputstream.c:
1583 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1585 2008-02-14 Alexander Larsson <alexl@redhat.com>
1588 Copy permissions with file on copy (#514084)
1589 This is what cp does and makes sure e.g. the
1590 exec permissions are kept.
1591 Its kinda weird in that it keeps the permission bits
1592 the same while the uid and gid are different. However
1593 the new uid is the user so its not a security issue,
1594 and I've heard no complaints about cp on this issue.
1596 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1598 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1600 2008-02-13 Alexander Larsson <alexl@redhat.com>
1602 * inotify/inotify-path.c:
1603 Define IN_ONLYDIR if not in header (#515346)
1605 2008-02-12 Alexander Larsson <alexl@redhat.com>
1607 * tests/live-g-file.c:
1610 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1612 * === Released 2.15.5 ===
1614 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1616 * gio.symbols: Add g_mount_mount_flags_get_type.
1618 2008-02-11 Alexander Larsson <alexl@redhat.com>
1621 (g_file_info_set_attribute_mask):
1622 (g_file_attribute_matcher_matches_id):
1623 Correctly handle NULL GAttributeMatcher meaning
1624 matches nothing. (Fixes #513492)
1626 2008-02-11 Alexander Larsson <alexl@redhat.com>
1631 Added GMountMountFlags enum and added a flags
1632 argument to all mount calls.
1634 This is an API/ABI change for future extensibility,
1635 as I think we will need at least an
1636 inhibit-autorun flag (the panel needs this).
1637 There are no flags defined yet though.
1639 2008-02-11 Alexander Larsson <alexl@redhat.com>
1642 Added new standard::description attribute.
1643 Requested by Vincent, and useful for both
1646 2008-02-11 Alexander Larsson <alexl@redhat.com>
1648 * gdesktopappinfo.c:
1651 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1653 * *.c: Documentation additions
1655 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1657 * gappinfo.h: Formatting cleanup
1658 * gappinfo.c: Fix up docs.
1660 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1662 * gunixmounts.c: Consistently use getmntent_r() and fall
1663 back to getmntent(). (#515492)
1665 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1667 * gbufferedinputstream.c:
1669 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1671 * tests/data-input-stream.c:
1672 * tests/data-output-stream.c: Portability fixes.
1674 2008-02-08 Alexander Larsson <alexl@redhat.com>
1679 Add g_volume_should_automount.
1682 2008-02-07 Tor Lillqvist <tml@novell.com>
1684 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1685 Win32, too Unix-specific.
1687 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1689 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1690 a local plt if the compiler doesn't support what we want. Bug #514702
1692 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1694 reviewed by: <delete if not using a buddy>
1697 * gunixinputstream.c:
1698 * gunixoutputstream.c:
1700 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1702 * tests/Makefile.am:
1703 * tests/live-g-file.c:
1704 * tests/live-g-file.txt:
1705 New GIO testing module working over real data
1707 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1709 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1710 Fallback to rename() if link() is not available
1711 (when no support on target filesystem)
1713 2008-02-06 Michael Natterer <mitch@imendio.com>
1715 * gfileinfo.c (g_file_info_get_icon): replace
1716 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1718 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1720 * gfile.c (g_file_create):
1721 Documentation update of error codes
1723 2008-02-06 Alexander Larsson <alexl@redhat.com>
1725 * gdesktopappinfo.c:
1726 Update to use both mimeapps.list and
1727 defaults.list as discussed on xdg list.
1729 2008-02-06 Benjamin Otte <otte@gnome.org>
1732 * gfilenamecompleter.c:
1733 Fix some typos in the documentation.
1735 2008-02-06 Alexander Larsson <alexl@redhat.com>
1737 * glocalfile.c (g_local_file_trash):
1738 Don't succeed with trash if newly created
1739 trash dir has the wrong owner. (#514696)
1741 2008-02-05 Alexander Larsson <alexl@redhat.com>
1743 * glocalfile.c (g_local_file_move):
1744 Don't spew warnings when destination is not
1747 2008-02-03 Hans Breuer <hans@breuer.org>
1749 * makefile.msc : update
1751 2008-02-01 Michael Natterer <mitch@imendio.com>
1753 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1754 return value of xdg_mime_list_mime_parents() to a variable of the
1757 2008-02-01 Alexander Larsson <alexl@redhat.com>
1759 * gappinfo.c (g_app_info_launch_uris):
1760 Actually call the launch_uris method, not
1763 2008-02-01 Alexander Larsson <alexl@redhat.com>
1765 * gdesktopappinfo.c (g_desktop_app_info_equal):
1766 Ensure appinfos with no id but same pointer value
1769 2008-02-01 Alexander Larsson <alexl@redhat.com>
1771 * gappinfo.c (g_app_info_launch_default_for_uri):
1774 2008-02-01 Alexander Larsson <alexl@redhat.com>
1778 Add g_app_info_launch_default_for_uri utility
1781 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1783 * gdesktopappinfo.c:
1784 Doc fix for g_app_info_get_default_for_uri_scheme ()
1787 2008-01-30 Alexander Larsson <alexl@redhat.com>
1790 Add doc comment about uris vs GFiles to
1793 * gdesktopappinfo.c:
1794 Ensure uris passed to g_app_info_launch_uris()
1795 are not roundtriped through GFile (as that
1796 may be slightly destructive for e.g. mailto: links)
1798 2008-01-30 Alexander Larsson <alexl@redhat.com>
1800 * tests/data-input-stream.c:
1801 * tests/data-output-stream.c:
1802 C89 fixes from Jens Granseuer (#512849)
1804 2008-01-30 Alexander Larsson <alexl@redhat.com>
1807 Fix gamin/fam difference build issue. (#509419)
1809 2008-01-29 Alexander Larsson <alexl@redhat.com>
1812 * gdesktopappinfo.c:
1813 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1815 2008-01-29 Alexander Larsson <alexl@redhat.com>
1817 * gdesktopappinfo.c:
1818 * gdesktopappinfo.h:
1819 giomodule-priv.h include moved to .c file.
1821 2008-01-29 Alexander Larsson <alexl@redhat.com>
1823 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1824 Remove unused prio/name fields.
1826 2008-01-29 Alexander Larsson <alexl@redhat.com>
1828 * gcontenttype.c (looks_like_text):
1829 Don't treat whitespace as control chars.
1831 2008-01-29 Alexander Larsson <alexl@redhat.com>
1833 * gdesktopappinfo.c:
1834 Lazily create the desktop files for appinfos created
1835 by g_app_info_create_from_commandline() when needed
1836 for mime associations. This allows run-time use
1837 of GAppInfo object without creating unnecessary
1840 2008-01-29 Alexander Larsson <alexl@redhat.com>
1843 Added new symbols to gio.symbols
1845 2008-01-29 Alexander Larsson <alexl@redhat.com>
1848 Add g_file_query_default_handler utility to easily look up
1849 the GAppInfo that handles a file.
1851 * gdesktopappinfo.[ch]:
1853 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1856 Remove unused function
1858 2008-01-29 Alexander Larsson <alexl@redhat.com>
1860 * gfileenumerator.c:
1861 Mention need to free returned value in
1862 g_file_enumerator_next_files_finish docs.
1863 Fix leak if g_file_enumerator_next_files_finish()
1866 2008-01-29 Alexander Larsson <alexl@redhat.com>
1869 (_g_unix_content_type_get_parents):
1870 Use list_parents, not get_parents from xdgmime, because
1871 the later doesn't use the cache.
1873 * xdgmime/xdgmimecache.c:
1874 (_xdg_mime_cache_list_mime_parents):
1875 Don't list the same type as parent multiple times.
1877 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1879 * === Released 2.15.4 ===
1881 2008-01-28 Alexander Larsson <alexl@redhat.com>
1884 Register local vfs with prio 0.
1887 Remove old name and prio class members
1889 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1891 * tests/g-file.c: Disable some tests that are failing in
1892 the absence of a http backend.
1894 2008-01-28 Alexander Larsson <alexl@redhat.com>
1898 Add registration hooks for extension points.
1899 Register the gio extension points.
1901 * fam/gfamdirectorymonitor.c:
1902 * fam/gfamfilemonitor.c:
1903 * glocaldirectorymonitor.[ch]:
1904 * glocalfilemonitor.[ch]:
1905 * gnativevolumemonitor.h:
1906 * gunionvolumemonitor.c:
1907 * gunixvolumemonitor.c:
1910 * inotify/ginotifydirectorymonitor.c:
1911 * inotify/ginotifyfilemonitor.c:
1912 Use the extension points registration instead
1913 of g_type_children().
1915 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1918 * gvolume.[hc]: Document new API.
1920 * gfile.c (g_file_copy_async): Fix docs
1922 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1924 * gbufferedinputstream.c:
1926 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1929 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1931 * glocalfile.c: Avoid trivial differences in translatable strings.
1933 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1935 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1936 build with gcc 3.4 (#509419)
1938 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1940 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1941 (#509994, Murray Cumming)
1943 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1945 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1946 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1947 this allows big jobs to be executed in chunks, instead of blocking
1948 the main loop for a long time.
1950 * gsimpleasyncresult.c:
1951 * giofile.c: Adapt callers.
1953 2008-01-25 Alexander Larsson <alexl@redhat.com>
1955 * gdesktopappinfo.c:
1956 Implement changes discussed on xdg list.
1957 Now we can add supported mimetypes by just using defaults.list
1958 We can also remove associations in defaults.list.
1960 2008-01-25 Alexander Larsson <alexl@redhat.com>
1962 * gdesktopappinfo.c:
1963 Don't make local copy of desktop file
1964 for mimetype changes if the file already
1965 supports the new mimetype.
1967 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1971 * gbufferedinputstream.c:
1972 * glocalfile.c: String improvements. (#511966,
1973 Theppitak Karoonboonyanan)
1975 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1977 * gioscheduler.h: Expand docs a bit.
1979 2008-01-24 Alexander Larsson <alexl@redhat.com>
1982 Add g_drive_get_identifier and
1983 g_drive_enumerate_identifiers
1986 Add g_volume_get_identifier and
1987 g_volume_enumerate_identifiers
1993 Implement identifiers for unix backend
1995 2008-01-24 Alexander Larsson <alexl@redhat.com>
2000 Add g_file_copy_async() (#511580)
2001 Based on patch from Carlos Garcia Campos
2003 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2005 * gioscheduler.c: Some documentation additions.
2007 2008-01-22 Alexander Larsson <alexl@redhat.com>
2009 * gdesktopappinfo.c:
2010 (g_desktop_app_info_new):
2011 Don't leak basename.
2013 2008-01-22 Alexander Larsson <alexl@redhat.com>
2015 * gdesktopappinfo.c:
2016 (g_desktop_app_info_new_from_filename):
2019 2008-01-22 Alexander Larsson <alexl@redhat.com>
2021 * glocalfileinfo.c (get_thumbnail_attributes):
2024 2008-01-22 Alexander Larsson <alexl@redhat.com>
2027 (canonicalize_filename):
2028 Canonicalize paths that start with more than
2032 (compare_two_files):
2033 (test_g_file_new_for_path):
2036 2008-01-22 Alexander Larsson <alexl@redhat.com>
2039 Allow UTF-8 in file:// parse names.
2041 * tests/Makefile.am:
2042 * tests/data-input-stream.c:
2043 * tests/data-output-stream.c:
2044 * tests/g-file-info.c:
2046 Added a bunch of tests from Tomas Bzatek
2048 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2050 * === Released 2.15.3 ===
2052 2008-01-21 Alexander Larsson <alexl@redhat.com>
2054 * gfileinputstream.[ch]:
2055 * gfileoutputstream.[ch]:
2057 Remove duplicated GSeekable functions. (#509990)
2058 Just use the g_seekable_xxx() calls instead.
2060 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2063 * gvolumemanager.c: Whitespace cleanups.
2065 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2066 Use the right mode when creating the file.
2068 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2070 * gfileenumerator.c:
2071 * gfileinputstream.c:
2073 * goutputstream.c: Documentation: Fixed minor typos
2074 and added more mentions of specific _finish() functions.
2076 2008-01-21 Alexander Larsson <alexl@redhat.com>
2078 * inotify/Makefile.am:
2079 * inotify/inotify-helper.c:
2080 * inotify/inotify-kernel.c:
2081 * inotify/inotify-path.c:
2082 * inotify/local_inotify.h: Removed.
2083 * inotify/local_inotify_syscalls.h: Removed.
2084 Removed the included copies of the inotify
2085 headers. We now only use the <sys/inotify.h>
2086 header which exists on modern systems.
2087 This fixes problems on ARM and SH5 (#510448)
2088 but is also generally much cleaner and future
2089 safe. For instance, if other OSes add support
2090 for inotify it should "just work".
2092 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2094 * inotify/*.c: Coding style fixes.
2095 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2096 for the 1/4 Hz timer.
2098 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2101 * gfilemonitor.[hc]:
2102 * gmemoryinputstream.c:
2103 * gmemoryoutputstream.c:
2104 * gmountoperation.c:
2105 * gthemedicon.c: Documentation updates
2107 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2109 * gfile.c: documentation: Fixed more minor
2112 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2114 * gmount.c: (g_mount_remount): documentation:
2115 Mention g_mount_remount_finish() instead of
2116 g_mount_unmount_finish().
2118 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2122 * gfile.c: Fixed some minor typos in the
2125 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2127 * gio/gvolumemonitor.c:
2128 (g_volume_monitor_get_connected_drives):
2129 (g_volume_monitor_get_volumes):
2130 (g_volume_monitor_get_mounts): Documentation:
2131 Clarify the ownership of the regurn GLists.
2133 2008-01-17 Alexander Larsson <alexl@redhat.com>
2136 Add the async find_enclosing_mount version
2137 to the header file too.
2139 2008-01-17 Alexander Larsson <alexl@redhat.com>
2142 Add async version of find_enclosing_mount
2143 with default implementation.
2145 2008-01-17 Alexander Larsson <alexl@redhat.com>
2150 Allow calls to implementation of copy and write
2151 even if the type of the file implementations is
2152 different. This can be used to implement native
2153 upload and download calls in a vfs.
2156 (g_local_file_move):
2157 Protect against the case where move is called
2158 with one file not being local.
2160 Make sure we call the progress callback once
2161 in the native move operation so that the caller
2162 knows how many bytes were copied.
2164 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2167 * gdatainputstream.c:
2169 * gfileoutputstream.c:
2174 * gunixmounts.c: Corrected some typos in the documentation:
2175 occured -> occurred.
2176 its -> it's (where appropriate).
2178 2008-01-16 Alexander Larsson <alexl@redhat.com>
2182 Add g_file_query_exists (#508771)
2184 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2189 * gvolume.c: For async functions that have no non-async
2190 version, document that the GAsyncReadyCallback may be NULL.
2193 2008-01-15 Alexander Larsson <alexl@redhat.com>
2195 * gmemoryinputstream.c:
2196 * gmemoryoutputstream.c:
2197 Don't do pointer arithmetic on void * (#508602)
2198 Patch from Kazuki IWAMOTO
2200 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2202 * === Released 2.15.2 ===
2204 2008-01-14 Alexander Larsson <alexl@redhat.com>
2206 * gfile.c (g_file_monitor_file):
2207 Don't set error here, since we fallback to polling monitor.
2209 2008-01-14 Alexander Larsson <alexl@redhat.com>
2212 (g_file_monitor_directory):
2213 (g_file_monitor_file):
2214 Add GError to file monitor calls
2216 * glocaldirectorymonitor.c:
2217 * glocaldirectorymonitor.h:
2219 * glocalfilemonitor.c:
2220 * glocalfilemonitor.h:
2222 Update for above change
2224 2008-01-14 Alexander Larsson <alexl@redhat.com>
2228 Handle root correctly in g_file_get_relative_path (#508719)
2230 2008-01-14 Alexander Larsson <alexl@redhat.com>
2233 Clean up docs and example for GAsyncResult (#508074)
2235 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2237 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2238 and correct some spelling mistakes. Bug #508108.
2240 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2242 * glocalfileinfo.c: Add a comment.
2244 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2246 * gfileinfo.c: GFileInfo description: Mention
2247 how to actually set attributes in a GFile and how to discover
2248 which attributes are settable. Bug #508378.
2250 2008-01-10 A. Walton <awalton@svn.gnome.org>
2252 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2253 (g_app_info_get_default_for_type):
2254 Check for NULL content types.
2256 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2258 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2260 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2262 * gfile.c: *_async() functions: Several small corrections
2263 to the documentation, mostly correcting copy/paste errors
2264 and improving some sentences.
2266 2008-01-09 Dan Winship <danw@gnome.org>
2268 * glocalfile.c (get_unique_filename): x86_64 fix
2270 2008-01-09 Alexander Larsson <alexl@redhat.com>
2275 Add g_unix_mount_guess_should_display and use
2276 for unix volume monitor backend.
2277 This means we more or less show what the
2278 gnome-vfs backend did.
2279 Based on patch from Padraig O'Briain
2281 2008-01-09 Alexander Larsson <alexl@redhat.com>
2285 Add g_themed_icon_new_with_default_fallbacks
2288 Use default fallbacks for icons
2290 2008-01-09 Alexander Larsson <alexl@redhat.com>
2293 * gmountoperation.[ch]:
2294 Change the API a bit so that unhandled methods
2295 get reported via the reply, rather than by
2296 the signal emission return value. This is because
2297 some handlers can't know this immediately without
2298 doing I/O, and this is an async operation that
2301 2008-01-09 Alexander Larsson <alexl@redhat.com>
2304 * fam/gfamdirectorymonitor.c:
2305 * fam/gfamfilemonitor.c:
2306 Fix double free crash (#508224)
2307 Patch from Joe Marcus Clarke
2309 008-01-07 Matthias Clasen <mclasen@redhat.com>
2311 * === Released 2.15.1 ===
2313 2008-01-07 Alexander Larsson <alexl@redhat.com>
2315 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2316 Fix warning (#507835)
2318 2008-01-07 Alexander Larsson <alexl@redhat.com>
2321 Pass --internal to glib-genmarshal
2324 * gmountoperation.c:
2326 Use better types for signal arguments (#507822)
2328 2008-01-07 Alexander Larsson <alexl@redhat.com>
2331 Build test subdir after .
2332 Remove gdirectorymonitor.[ch]
2334 * gdirectorymonitor.[ch]:
2338 Remove GDirectoryMonitor and make
2339 GFileMonitor the baseclass for both file and
2340 directory monitors. Lift the more generic
2341 rate limiting code from GDirectoryMonitor
2345 * fam/gfamdirectorymonitor.[ch]:
2346 * inotify/ginotifydirectorymonitor.[ch]:
2347 * inotify/inotify-helper.c:
2348 * glocaldirectorymonitor.[ch]:
2351 Update for the removed GDirectoryMonitor.
2353 * gmemoryoutputstream.c:
2354 Remove ununsed variable
2356 2008-01-07 Alexander Larsson <alexl@redhat.com>
2358 * gmemoryinputstream.c:
2359 Translate error strings
2362 * gmemoryoutputstream.[ch]:
2363 New implementation that avoids using GByteArray
2364 in implementation and API. (#506377)
2366 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2368 * tests/*: Add a test for memory input streams.
2370 * Makefile.am: Add tests to SUBDIRS.
2372 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2374 * glocalfilemonitor.c:
2375 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2378 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2380 * gdesktopappinfo.c: Fix a docs typo.
2382 * gfileattribute.c: Add information about extended attributes
2383 to the documentation. (#505058)
2385 2008-01-04 Alexander Larsson <alexl@redhat.com>
2388 * gmountoperation.c:
2389 Use the right type (uint) for the ask_password signal.
2391 2008-01-04 Alexander Larsson <alexl@redhat.com>
2396 Add g_app_info_supports_files()
2397 Remove desktop arg from g_app_info_should_show().
2399 * gdesktopappinfo.[ch]:
2400 Implement g_app_info_supports_files() and new should_show()
2401 Add g_desktop_app_info_set_desktop_env() to set the desktop
2402 for should_show(). (This will be set by gtk+ later)
2404 2008-01-04 Alexander Larsson <alexl@redhat.com>
2407 * gmemoryinputstream.[ch]:
2408 Improve API so that you can use multiple chunks
2409 of memory and custom destroy functions. (#506374)
2411 2008-01-03 Alexander Larsson <alexl@redhat.com>
2414 Handle NULL attribute matchers safely, as we return this
2415 for empty attribute matcher strings.
2417 2008-01-03 Alexander Larsson <alexl@redhat.com>
2419 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2420 Add /usr/local to list of internal mountpoints
2422 2008-01-03 Alexander Larsson <alexl@redhat.com>
2425 Check for HAVE_LCHOWN (#505887)
2427 2008-01-03 Alexander Larsson <alexl@redhat.com>
2431 Add define for selinux context attribute.
2432 Fix missing : -> :: namespace separator change
2433 Fix missing _ -> - name change for xattr-sys.
2436 2008-01-03 Alexander Larsson <alexl@redhat.com>
2439 Link to libglib and libgobject directly (#504879)
2440 Patch from Sebastien Bacher
2442 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2444 * gfile.c: Expanded the g_file_new_for_commandline_arg
2445 description a bit, based on the code and the docs of the
2446 other g_file_new_for_* functions.
2448 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2450 * gfilemonitor.h: Fixed typo in docs.
2452 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2454 Updates to GIO documentation. (#506395, Mikael Hermansson)
2456 * gcontenttype.c: Describe memory management for return value of
2457 g_content_types_get_registered(). Missing piece from #505815.
2458 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2459 GVolume, GDrive, GMounts, which hopefully gives the user less
2460 confusions when using this API. Following explainations from
2461 Alexander Larsson on gtk-devel-list.
2463 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2465 * gfileinfo.c: Expand the long description.
2467 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2470 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2471 fix builds with --disable-visibility. (#500273, Christian Persch)
2473 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2475 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2476 in the list of returned app infos.
2478 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2480 * gappinfo.c: Fix a cross-reference
2482 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2484 * gfileinputstream.c:
2485 * gfileoutputstream.c:
2489 * gdesktopappinfo.c:
2491 * gfileinfo.c: Documentation updates.
2493 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2495 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2498 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2500 * gcontenttype.c (g_content_types_get_registered): Don't return
2501 freed memory (#505815, Mikael Hermansson)
2503 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2505 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2506 used to detect statbuf->st_blocks. (#505042)
2508 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2510 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2511 environment handling. (#504829, Cosimo Cecchi)
2513 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2515 * gappinfo.c: Doc improvements
2517 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2520 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2522 * === Released 2.15.0 ===
2524 2007-12-20 Hans Breuer <hans@breuer.org>
2526 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2527 with symbols gwin32appinfo.obj, added gmount.obj
2528 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2530 2007-12-20 Alexander Larsson <alexl@redhat.com>
2536 * gfilenamecompleter.c:
2539 * gpollfilemonitor.c:
2540 File attribute renames:
2542 fs:: -> filesystem::
2543 id::fs -> id::filesystem
2545 2007-12-20 Alexander Larsson <alexl@redhat.com>
2554 Add GMountUnmountFlags to all unmount and
2556 Add g_mount_remount() call.
2558 2007-12-20 Alexander Larsson <alexl@redhat.com>
2560 * gvfs.c (get_default_vfs):
2561 Fix unused variable warning
2563 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2565 * pltcheck.sh: Update
2567 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2569 * gunionvolumemonitor.c:
2570 * gunixmount.c: Remove C99 comments
2572 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2574 * gio.symbols: Add some missing symbols
2576 2007-12-19 Alexander Larsson <alexl@redhat.com>
2579 Make g_io_modules_load_all_in_directory not unuse
2580 loaded modules so that users of it can do stuff
2582 Init internal "module" types.
2583 Initialize static prio and name for types so that
2584 we don't have to load modules to get it.
2586 * gnativevolumemonitor.h:
2588 Move is_supported to parent class so that
2589 non-native monitors can avoid being initialized
2590 too. (For instance GDaemonVolumeMonitor if we're
2591 not using GDaemonVfs.)
2593 * glocaldirectorymonitor.[ch]:
2594 * glocalfilemonitor.[ch]:
2595 * gunionvolumemonitor.c:
2596 * gunixvolumemonitor.c:
2598 Find plugins using the static prio+name to
2599 avoid unnecessarily loading the modules.
2601 2007-12-19 Alexander Larsson <alexl@redhat.com>
2606 2007-12-19 Alexander Larsson <alexl@redhat.com>
2608 * gunionvolumemonitor.c:
2609 Store the native type as GType, not class so that
2610 we can unload it. But still avoid unnecessarily
2613 2007-12-19 David Zeuthen <davidz@redhat.com>
2615 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2616 add signals 'disconnected' and 'eject-button' on GDrive. Add
2617 signal 'removed' on GVolume and 'unmounted' on GMount.
2619 * gdrive.c: (g_drive_base_init):
2621 * gfile.c: (g_file_mount_mountable),
2622 (g_file_mount_enclosing_volume):
2625 * gmount.c: (g_mount_base_init):
2627 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2628 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2629 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2633 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2635 * *.c: Fix up includes in the section docs.
2637 2007-12-17 Alexander Larsson <alexl@redhat.com>
2639 * gnativevolumemonitor.h:
2640 * gunionvolumemonitor.c:
2641 * gunixvolumemonitor.c:
2642 Add is_supported() to GNativeVolumeMonitorClass so
2643 that we can avoid having to create an object to see
2644 if the backend is supported at runtime.
2645 Also add name member and an env var to pick a specific
2646 volume monitor backend.
2650 Add cancellable to _g_mount_get_for_mount_path()
2652 * glocaldirectorymonitor.c:
2653 * glocalfilemonitor.c:
2654 Avoid loading and unloading modules while sorting.
2656 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2659 * gunixmounts.[hc]: Namespace waste reduction, move some
2660 g_get_unix_mount functions to the g_unix_mount namespace.
2663 * gunixvolumemonitor.c:
2665 * glocaldirectorymonitor.c: Update all callers.
2667 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2669 2007-12-17 Alexander Larsson <alexl@redhat.com>
2672 Add doc comments about what GFile operations are
2673 guaranteed to not block.
2675 2007-12-17 Alexander Larsson <alexl@redhat.com>
2678 Add missing #ifdef fixing OSX build.
2679 (#503334, patch from Richard Hult)
2681 2007-12-14 David Zeuthen <davidz@redhat.com>
2685 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2686 (g_mount_eject), (g_mount_eject_finish):
2688 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2689 (get_volume_for_uuid), (get_mount_for_uuid),
2690 (g_union_volume_monitor_class_init),
2691 (get_default_native_type_with_exclude), (get_default_native_type),
2692 (get_native_type), (update_native_type),
2693 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2694 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2695 (g_unix_mount_can_eject), (eject_unmount_cb),
2696 (eject_unmount_read_error), (eject_unmount_do),
2697 (g_unix_mount_unmount), (g_unix_mount_eject),
2698 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2699 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2700 (g_unix_mount_point_guess_can_eject):
2702 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2703 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2704 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2705 (g_unix_volume_mount), (g_unix_volume_eject),
2706 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2707 * gunixvolumemonitor.c: (get_volume_for_uuid),
2708 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2710 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2711 (g_volume_eject), (g_volume_eject_finish):
2713 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2714 (g_volume_monitor_get_mount_for_uuid):
2717 Provide eject() on both GMount and GVolume and utility functions
2718 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2719 ejected. Introduce the concept of UUID's and wire it into GVolume
2720 and GMount and provide API on GVolumeMonitor to find such
2721 instances. Also handle the case where an external
2722 GNativeVolumeMonitor fails to initialize. Lock around the
2723 _g_get_mount_for_mount_path() function such that volume monitor
2724 implementations won't have to do locking themselves.
2726 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2728 * gdesktopappinfo.c:
2734 * gvolume.h: Documentation updates
2736 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2739 * gfile.h: Doc updates
2741 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2744 * gdesktopappinfo.c: Use hash table iterators.
2746 2007-12-14 Alexander Larsson <alexl@redhat.com>
2749 * gfileattribute.[ch]:
2750 * gfileattribute-priv.h:
2751 Move GFileAttributeValue to a private header, as
2755 Make set_attribute take a type + a pointer instead
2756 of a GFileAttributeValue.
2759 Fix up for above changes.
2760 Add g_file_info_get_attribute_data to get
2761 all info in one call, g_file_info_get_attribute_status
2762 to get the status and g_file_info_get_attribute_as_string.
2766 * glocalfileinfo.[ch]:
2770 Make _guess_type static.
2772 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2775 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2776 made mkenums and friends use temporary files to avoid leaving
2777 empty generated files on failure (#503470).
2779 2007-12-14 Alexander Larsson <alexl@redhat.com>
2781 * gmountoperation.h:
2784 2007-12-14 Alexander Larsson <alexl@redhat.com>
2788 * gfileattribute.[ch]:
2791 * glocalfileoutputstream.c:
2792 * gmountoperation.[ch]:
2793 * goutputstream.[ch]:
2794 Clean up all flags enums to not have _FLAGS in them
2795 Make the names of some of the enums better.
2800 2007-12-14 Michael Natterer <mitch@imendio.com>
2802 * gio.symbols: fix g_io_scheduler symbol names.
2804 2007-12-14 Alexander Larsson <alexl@redhat.com>
2810 * gbufferedinputstream.h:
2811 * gbufferedoutputstream.h:
2814 * gdatainputstream.h:
2815 * gdataoutputstream.h:
2816 * gdesktopappinfo.h:
2817 * gdirectorymonitor.h:
2821 * gfileenumerator.h:
2824 * gfileinputstream.h:
2826 * gfilenamecompleter.h:
2827 * gfileoutputstream.h:
2828 * gfilterinputstream.h:
2829 * gfilteroutputstream.h:
2837 * gmemoryinputstream.h:
2838 * gmemoryoutputstream.h:
2840 * gmountoperation.h:
2843 * gsimpleasyncresult.h:
2845 * gunixinputstream.h:
2847 * gunixoutputstream.h:
2851 * inotify/Makefile.am:
2852 Only allow including <gio/gio.h> from apps
2854 2007-12-14 Alexander Larsson <alexl@redhat.com>
2856 * gioscheduler.[ch]:
2857 * gsimpleasyncresult.c:
2858 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2859 Split out the send_to_mainloop call into two versions instead
2860 of having the block argument.
2862 2007-12-13 Alexander Larsson <alexl@redhat.com>
2864 * gcancellable.[ch]:
2866 * gbufferedinputstream.c:
2867 * gfileenumerator.c:
2868 * gfileinputstream.c:
2869 * gfileoutputstream.c:
2873 g_push/pop_current_cancellable ->
2874 g_cancellable_push/pop_current
2876 2007-12-13 Alexander Larsson <alexl@redhat.com>
2880 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2882 2007-12-13 Alexander Larsson <alexl@redhat.com>
2884 * gmountoperation.h:
2885 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2887 2007-12-12 Alexander Larsson <alexl@redhat.com>
2890 Fix race condition when freeing proxy in
2891 g_io_job_send_to_mainloop().
2893 2007-12-12 Alexander Larsson <alexl@redhat.com>
2899 Make attribute namespace separator "::" instead of ":".
2900 Use - instead of _ as separator in attribute names.
2902 2007-12-12 Alexander Larsson <alexl@redhat.com>
2904 * gbufferedinputstream.h:
2905 * gbufferedoutputstream.h:
2906 * gdatainputstream.h:
2907 * gdataoutputstream.h:
2908 * gdirectorymonitor.h:
2909 * gfileenumerator.h:
2910 * gfileinputstream.h:
2912 * gfileoutputstream.h:
2913 * gfilterinputstream.h:
2914 * gfilteroutputstream.h:
2916 * glocalfileinputstream.h:
2917 * glocalfileoutputstream.h:
2918 * gmemoryinputstream.h:
2919 * gmemoryoutputstream.h:
2920 * gnativevolumemonitor.h:
2922 * gunixinputstream.h:
2923 * gunixoutputstream.h:
2926 s/parent/parent_instance/ in GObjects
2928 2007-12-12 Alexander Larsson <alexl@redhat.com>
2933 No need for padding for interfaces
2935 2007-12-12 Alexander Larsson <alexl@redhat.com>
2939 * gbufferedinputstream.c:
2940 * gbufferedoutputstream.c:
2943 * gdatainputstream.[ch]:
2944 * gdesktopappinfo.c:
2945 * gdirectorymonitor.c:
2947 * gfileattribute.[ch]:
2950 * gfileinputstream.h:
2951 * gfilemonitor.[ch]:
2952 * gfileoutputstream.[ch]:
2953 * gfilterinputstream.h:
2954 * gfilteroutputstream.h:
2957 * gloadableicon.[ch]:
2958 * gmemoryinputstream.c:
2959 * gmountoperation.c:
2961 Fix up a bunch of details in the docs.
2966 2007-12-11 David Zeuthen <davidz@redhat.com>
2968 Rework how volumes, drives and volume monitoring is
2969 done. Previosly the model was
2971 GDrive <1-1> GVolume
2973 where a GDrive instance represented a mount point and a GVolume
2974 instance represented a mounted file system. This patch changes it
2977 GDrive <1-N> GVolume <1-1> GMount
2979 where GMount now serves the purpose of the old GVolume and the new
2980 GVolume serves the purpose of the old GDrive. In addition the new
2981 GDrive interface is used to represent a collection of GVolume
2982 instances (typically partitions) and also contains utility to query
2983 the state of the physical drive the GDrive object represents (such
2984 as checking for media, polling the drive, ejecting the media etc.).
2986 Also implement mounting and unmounting in the Unix volume monitor
2987 backend. A subquent patch will introduce GDrive support for ejection
2991 * gdrive.c: (g_drive_is_media_check_automatic),
2992 (g_drive_is_media_removable), (g_drive_has_media),
2993 (g_drive_can_poll_for_media), (g_drive_eject),
2994 (g_drive_eject_finish), (g_drive_poll_for_media),
2995 (g_drive_poll_for_media_finish):
2997 * gfile.c: (g_file_find_enclosing_mount):
3000 * glocaldirectorymonitor.c:
3001 (g_local_directory_monitor_constructor), (mounts_changed):
3002 * glocalfile.c: (get_mount_info),
3003 (g_local_file_find_enclosing_mount),
3004 (g_local_file_file_iface_init):
3005 * gnativevolumemonitor.h:
3006 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3007 (get_connected_drives), (g_union_volume_monitor_class_init),
3008 (child_volume_added), (child_volume_removed),
3009 (child_volume_changed), (child_mount_added), (child_mount_removed),
3010 (child_mount_pre_unmount), (child_mount_changed),
3011 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3012 (g_union_volume_monitor_remove_monitor),
3013 (_g_mount_get_for_mount_path):
3014 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3015 (guess_system_internal), (_g_get_unix_mounts),
3016 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3017 (g_unix_mount_free), (g_unix_mount_compare),
3018 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3019 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3020 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3021 (type_to_icon), (g_unix_mount_guess_name),
3022 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3023 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3024 (_resolve_symlink), (_resolve_dev_root):
3026 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3027 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3028 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3029 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3030 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3031 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3032 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3033 (g_unix_volume_volume_iface_init):
3035 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3036 (get_mounts), (get_volumes), (get_connected_drives),
3037 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3038 (mountpoints_changed), (mounts_changed),
3039 (g_unix_volume_monitor_init),
3040 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3041 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3042 * gunixvolumemonitor.h:
3043 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3044 (g_volume_mount), (g_volume_mount_finish):
3046 * gvolumemonitor.c: (g_volume_monitor_class_init),
3047 (g_volume_monitor_get_connected_drives),
3048 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3051 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3053 * gmountoperation.h (GPasswordFlags): Close the gap
3055 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3057 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3059 * gdesktopappinfo.[hc]: Remove _-prefixes
3061 2007-12-10 Tor Lillqvist <tml@novell.com>
3063 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3066 2007-12-10 Alexander Larsson <alexl@redhat.com>
3068 * gfile.c (g_file_set_display_name):
3069 Don't hardcode '/' (#502727)
3071 2007-12-09 Hans Breuer <hans@breuer.org>
3073 * makefile.msc : follow lib naming convention
3074 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3075 for user and group name, tested with ../tests/gio-ls
3077 2007-12-09 A. Walton <awalton@svn.gnome.org>
3079 * gdesktopappinfo.c:
3085 * gfileenumerator.c:
3090 * gmemoryinputstream.c:
3091 * gmemoryoutputstream.c:
3093 * gsimpleasyncresult.c:
3094 More documentation cleanup and filling in missing information, bringing
3095 GIO to 99% symbol coverage.
3097 2007-12-08 Hans Breuer <hans@breuer.org>
3099 [gio compiles and links on win32, not sure how much already works]
3100 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3101 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3102 base on win32 API; prefer g_lstat() over lstat(); instead of
3103 localtime_r() use an all GLib implementation on win32;
3104 get_mount_info() still needs a win32 specifc implementation
3105 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3106 win32_get_file_user_info to get owner/group info without uid/gid
3107 * glocalfileinputstream.c : include <io.h> on win32
3108 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3109 definition, use g_win32_ftruncate() for G_OS_WIN32
3110 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3111 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3112 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3113 * makefile.msc : updated
3115 2007-12-07 Alexander Larsson <alexl@redhat.com>
3117 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3118 Avoid warning spew if error == NULL
3120 2007-12-07 Alexander Larsson <alexl@redhat.com>
3123 Update docs wrt etags
3125 2007-12-06 Alexander Larsson <alexl@redhat.com>
3128 Include sys/types.h for dev_t (#501919)
3130 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3134 Make abicheck and pltcheck pass.
3136 2007-12-05 Alexander Larsson <alexl@redhat.com>
3139 * giomodule-priv.h: Added.
3140 * glocaldirectorymonitor.c:
3141 * glocalfilemonitor.c:
3142 * gunionvolumemonitor.c:
3144 Actually add the declaration of _g_io_modules_ensure_loaded
3146 2007-12-05 Alexander Larsson <alexl@redhat.com>
3148 * gdatainputstream.c:
3153 * glocaldirectorymonitor.c:
3154 * glocalfilemonitor.c:
3155 * gunionvolumemonitor.c:
3157 Make g_io_modules_ensure_loaded a private function and
3158 don't pass in the dirname. This means we can do magic
3159 directory finding in the win32 version.
3160 Export the actual load-modules-in-directory code so that
3161 gvfs can reuse that.
3163 2007-12-05 Alexander Larsson <alexl@redhat.com>
3165 * gbufferedinputstream.c:
3166 * gbufferedoutputstream.c:
3169 * gfileenumerator.[ch]:
3170 * gfileinputstream.c:
3171 * gfileoutputstream.[ch]:
3172 * gfilterinputstream.c:
3173 * gfilteroutputstream.c:
3174 * ginputstream.[ch]:
3176 * glocalfileenumerator.c:
3177 * glocalfileinputstream.c:
3178 * glocalfileoutputstream.c:
3179 * gmemoryinputstream.c:
3180 * gmemoryoutputstream.c:
3181 * goutputstream.[ch]:
3184 * gunixinputstream.c:
3185 * gunixoutputstream.c:
3186 Rename all struct members named:
3187 read, write, close, truncate, or mount
3188 to foo_fn, as these are reserved names
3189 and could be defined as macros in libc.
3192 2007-12-04 Alexander Larsson <alexl@redhat.com>
3195 (g_output_stream_close):
3196 Only call flush if non-null.
3198 2007-11-30 Dan Winship <danw@gnome.org>
3200 * ginputstream.c (g_input_stream_set_pending): Make this take a
3201 GError and return a gboolean, and do the "outstanding operation"
3202 check (and the "stream is already closed" check) itself.
3203 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3205 * goutputstream.c (g_output_stream_set_pending)
3206 (g_output_stream_clear_pending): Likewise
3208 * gbufferedinputstream.c:
3209 * gfileinputstream.c:
3210 * gfileoutputstream.c: Update for that
3212 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3213 Like g_simple_async_report_error_in_idle, but takes a GError
3214 rather than building one.
3216 2007-11-30 Dan Winship <danw@gnome.org>
3218 * goutputstream.c: Don't cheat and unset the "pending" flag around
3219 inner calls. Instead, call the class method directly rather than
3220 the wrapper function that checks "pending"
3222 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3224 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3226 2007-12-03 Hans Breuer <hans@breuer.org>
3228 [start of port to win32/msvc]
3229 * gcancellable.c : HAVE_UNIST_H and _pipe()
3230 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3231 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3232 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3234 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3235 * glocalvfs.c : use HAVE_PWD_H
3236 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3237 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3238 * Makefile.am : added to EXTRA_DIST
3240 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3242 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3245 2007-12-03 Alexander Larsson <alexl@redhat.com>
3248 Handle OSX style xattrs API (#500506)
3250 2007-12-03 Alexander Larsson <alexl@redhat.com>
3254 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3256 2007-12-02 A. Walton <awalton@svn.gnome.org>
3260 Documentation accuracy fixes.
3262 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3264 * gioenumtypes.c.template: Fix typo.
3266 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3268 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3270 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3272 * gdirectorymonitor.c:
3273 * gfilemonitor.c: Add properties
3275 * gbufferedoutputstream.c: Don't mark buffer-size property
3278 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3280 * gbufferedoutputstream.c: Add auto-grow property.
3282 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3284 * *.c: Unify the capitalization of section headings.
3286 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3288 * gmountoperation.c: Add properties
3290 * gdatainputstream.c: Turn byte-order and newline-type into
3293 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3295 * gioenumtypes.[hc].template: Templates for enum registration
3297 * Makefile.am: Generate gioenumtypes.[hc]
3299 * gio.h: Include gioenumtypes.h
3301 * gfile.h: Add some explicit nicks.
3303 * gio.symbols: Add new symbols
3305 * pltcheck.sh: Adjust
3307 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3309 * *.c: Explain etags and link to the explanation
3311 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3313 * *.c: Explain I/O priority.
3315 * *.c: More coding style fixes.
3317 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3319 * gasyncresult.c: Add another paragraph to the intro,
3320 adjust coding style of example.
3322 2007-11-29 A. Walton <awalton@svn.gnome.org>
3325 Fixes unknown meaning in GAppLaunchContext docs.
3327 Clarify asynchronous ops.
3329 Fix entity tag docs.
3332 Provides missing gtk-doc section, fixes API docs slighly.
3333 * gsimpleasyncresult.c:
3334 Fill in missing info in docs.
3335 * gunixinputstream.c:
3336 * gunixoutputstream.c:
3337 Be more expressive in short description.
3339 Remove gtk-doc stubs for non-public API.
3341 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3343 * *.c: Coding style fixups
3345 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3347 * inotify/inotify-helper.c: Don't export the lock from libgio.
3349 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3352 * abicheck.sh: Fix copy-and-paste leftovers
3354 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3356 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3358 2007-11-28 Alexander Larsson <alexl@redhat.com>
3362 Removed unnecessary file
3364 * gdesktopappinfo.[ch]:
3367 * glocaldirectorymonitor.[ch]:
3369 * glocalfileenumerator.[ch]:
3370 * glocalfileinputstream.[ch]:
3371 * glocalfilemonitor.[ch]:
3372 * glocalfileoutputstream.[ch]:
3374 * gnativevolumemonitor.c:
3375 * gpollfilemonitor.[ch]:
3376 * gunionvolumemonitor.[ch]:
3379 * gunixvolumemonitor.[ch]:
3382 * inotify/ginotifydirectorymonitor.[ch]:
3383 * inotify/ginotifyfilemonitor.[ch]:
3384 * inotify/inotify-helper.c:
3385 Append _ to all internal functions
3389 Export symbols needed for modules
3391 2007-11-28 Alexander Larsson <alexl@redhat.com>
3394 * abicheck.sh: Added.
3395 * makegioalias.pl: Added.
3396 * pltcheck.sh: Added.
3397 * gio.symbols: Added.
3400 Initial work on adding symbol handling.
3403 Correct ifdef guard name
3406 * inotify/Makefile.am:
3407 * xdgmime/Makefile.am:
3408 Include toplevel Makefile.decl
3410 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3412 * gcontenttype.c: Move doc comments to the unix section.
3414 * *.[hc]: More trivial doc corrections.
3416 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3418 * gpollfilemonitor.c:
3422 * gdesktopappinfo.c:
3427 * gdatainputstream.c:
3428 * gdatainputstream.h:
3429 * gdataoutputstream.c:
3430 * gdataoutputstream.h:
3431 * gfileinfo.h: Doc cleanups
3433 2007-11-28 Andre Klapper <a9016009@gmx.de>
3435 * gdesktopappinfo.c: Fix a typo.
3437 2007-11-27 Andre Klapper <a9016009@gmx.de>
3439 * glocalfileoutputstream.c: Fix a typo.
3441 2007-11-27 Alexander Larsson <alexl@redhat.com>
3444 Don't include removed headers
3446 2007-11-27 Alexander Larsson <alexl@redhat.com>
3449 * gsocketinputstream.[ch]: Removed.
3450 * gsocketoutputstream.[ch]: Removed.
3451 * gunixinputstream.[ch]: Added.
3452 * gunixoutputstream.[ch]: Added.
3453 Renamed GSocket*Stream to GUnix*Stream and made
3454 it unix-only, since its not really only for sockets
3455 and it only works on unix (but is highly useful there).
3457 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3463 * gbufferedinputstream.c:
3464 * gbufferedinputstream.h:
3465 * gbufferedoutputstream.c:
3466 * gbufferedoutputstream.h:
3470 * gdatainputstream.c:
3471 * gdatainputstream.h:
3472 * gdataoutputstream.c:
3473 * gdataoutputstream.h:
3474 * gdirectorymonitor.c:
3475 * gdirectorymonitor.h:
3482 * gfileenumerator.c:
3483 * gfileenumerator.h:
3488 * gfileinputstream.c:
3489 * gfileinputstream.h:
3492 * gfilenamecompleter.c:
3493 * gfilenamecompleter.h:
3494 * gfileoutputstream.c:
3495 * gfileoutputstream.h:
3496 * gfilterinputstream.c:
3497 * gfilterinputstream.h:
3498 * gfilteroutputstream.c:
3499 * gfilteroutputstream.h:
3512 * glocalfileoutputstream.c:
3513 * gmemoryinputstream.c:
3514 * gmemoryinputstream.h:
3515 * gmemoryoutputstream.c:
3516 * gmemoryoutputstream.h:
3517 * gmountoperation.c:
3518 * gmountoperation.h:
3521 * gpollfilemonitor.c:
3524 * gsimpleasyncresult.c:
3525 * gsimpleasyncresult.h:
3526 * gsocketinputstream.c:
3527 * gsocketinputstream.h:
3528 * gsocketoutputstream.c:
3529 * gsocketoutputstream.h:
3536 * gunixvolumemonitor.c:
3545 Bumps documentation to 93% symbol coverage, touching most
3546 of the public files. Fixes broken function documentation prototypes.
3547 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3548 gtk-doc headers in private files.
3550 2007-11-27 Jürg Billeter <j@bitron.ch>
3552 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3553 (g_buffered_input_stream_read_byte):
3554 * gbufferedinputstream.h:
3555 New functions for efficient access to buffer and simple single byte
3558 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3559 (g_data_input_stream_read_until):
3560 * gdatainputstream.h:
3561 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3562 read_until with multiple stop chars.
3564 2007-11-27 Alexander Larsson <alexl@redhat.com>
3568 * inotify/Makefile.am:
3569 Use the user-specified giomoduledir
3571 2007-11-27 Alexander Larsson <alexl@redhat.com>
3575 Add catch-all gio.h header
3576 Don't install gdummyfile.h
3578 2007-11-26 Alexander Larsson <alexl@redhat.com>
3580 * Makefile.am (gioinclude_HEADERS):
3581 Remove trailing whitespace
3583 2007-11-26 Alexander Larsson <alexl@redhat.com>
3585 Merge gio-standalone into glib
3587 2007-11-25 Christian Kellner <gicmo@gnome.org>
3589 * gio/goutputstream.c:
3590 Fix small mistake in the docs.
3592 2007-11-21 Christian Persch <chpe@gnome.org>
3594 * gio/glocalfile.c: (g_local_file_trash):
3595 Convert filenames to UTF-8 for GError.
3596 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3597 as per xdg base dir spec.
3599 2007-11-21 Christian Persch <chpe@gnome.org>
3601 * gio/gdesktopappinfo.c:
3602 Use that g_key_file_to_data cannot fail.
3604 Use stock defines for the key file group and key names.
3607 2007-11-21 Alexander Larsson <alexl@redhat.com>
3610 (copy_stream_with_progress):
3611 Make sure we do a final progress callback with
3612 the full total size.
3614 2007-11-21 Alexander Larsson <alexl@redhat.com>
3617 Export g_file_copy_attributes
3618 Remove padding as its not needed for interfaces
3620 2007-11-20 Alexander Larsson <alexl@redhat.com>
3625 Add G_IO_ERROR_WOULD_MERGE for
3626 copy/move dir on dir with overwrite.
3628 2007-11-20 Alexander Larsson <alexl@redhat.com>
3631 * gio/glocalfileinfo.c:
3632 Add COPY_NAME (this is an optional
3633 non-modified utf8 version of the name) that
3636 2007-11-20 Alexander Larsson <alexl@redhat.com>
3638 * gio/glocalfileenumerator.c:
3639 Report errors as GIOError, not GFileError
3641 2007-11-16 Alexander Larsson <alexl@redhat.com>
3643 * gio/glocalfileoutputstream.c:
3644 * gio/gwin32appinfo.c:
3645 Fix typos in strings.
3646 Patch from Luca Ferretti <elle.uca@libero.it>
3648 2007-11-15 Alexander Larsson <alexl@redhat.com>
3651 Post release version bump
3653 === gio-standalone 0.1.2 ===
3655 2007-11-15 Alexander Larsson <alexl@redhat.com>
3657 * docs/reference/gio/Makefile.am:
3658 Fix up distcheck by removing weird
3664 2007-11-14 Alexander Larsson <alexl@redhat.com>
3666 * gio/gdesktopappinfo.c:
3667 * gio/glocaldirectorymonitor.c:
3669 * gio/glocalfileinfo.c:
3670 * gio/inotify/inotify-sub.c:
3671 * programs/gio-cat.c:
3672 * programs/gio-copy.c:
3673 * programs/gio-info.c:
3674 * programs/gio-ls.c:
3675 * programs/gio-monitor-dir.c:
3676 * programs/gio-monitor-file.c:
3677 * programs/gio-mount.c:
3678 * programs/gio-move.c:
3679 * programs/gio-rm.c:
3680 * programs/gio-save.c:
3681 * programs/gio-trash.c:
3682 Leak fixes from Kjartan Maraas
3684 2007-11-14 Alexander Larsson <alexl@redhat.com>
3686 * gio/fam/fam-helper.c:
3688 * gio/glocalfileinfo.c:
3692 * gio/inotify/inotify-diag.c:
3693 * gio/inotify/inotify-kernel.c:
3694 Various code cleanups from Kjartan Maraas
3696 2007-11-14 Alexander Larsson <alexl@redhat.com>
3698 * gio/gioscheduler.c:
3700 Set up threadpool so that we cache 2 unused
3701 idle threads for at 15 secs. This means we
3702 will reuse thread-local data (like dbus connections)
3705 2007-11-14 Alexander Larsson <alexl@redhat.com>
3707 * gio/fam/fam-helper.c:
3708 * gio/fam/gfamdirectorymonitor.c:
3709 * gio/fam/gfamfilemonitor.c:
3711 * gio/gcontenttype.c:
3712 * gio/gdatainputstream.c:
3713 * gio/gdataoutputstream.c:
3717 * gio/gfileattribute.h:
3718 * gio/gfileenumerator.c:
3720 * gio/ginputstream.c:
3723 * gio/glocalfileinfo.c:
3724 * gio/goutputstream.c:
3725 * gio/gpollfilemonitor.c:
3726 * gio/gsimpleasyncresult.c:
3727 * gio/gunixmounts.c:
3728 * gio/gunixmounts.h:
3729 * gio/inotify/ginotifydirectorymonitor.c:
3730 * gio/inotify/ginotifyfilemonitor.c:
3731 * gio/inotify/inotify-diag.c:
3732 * gio/inotify/inotify-kernel.c:
3733 * gio/inotify/inotify-path.c:
3735 * gio/test-streams.c:
3736 * programs/gio-info.c:
3737 * programs/gio-monitor-dir.c:
3738 * programs/gio-monitor-file.c:
3739 Various code cleanups from Kjartan Maraas
3741 2007-11-13 Alexander Larsson <alexl@redhat.com>
3744 Handle the uri-scheme calls for dummy files
3746 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3748 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3749 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3750 to avoid clash with the C++ keyword.
3752 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3754 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3755 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3757 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3759 * gio/glocaldirectorymonitor.c:
3760 * gio/glocalfilemonitor.c:
3761 * gio/gunionvolumemonitor.c:
3762 Don't use g_once_init_*() for initializations that could fail and
3763 could leave the initialization variable set to 0 but use GOnce.
3764 This prevents a deadlock on the second call when trying to create
3765 a monitor and no monitor type is available. Thanks to Sven Herzberg
3768 2007-11-11 Sven Herzberg <sven@imendio.com>
3770 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3771 #ifdef (make it work on MacOS X again)
3773 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3775 Fixes Changelog for last two commits (sorry guys).
3777 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3779 * gio/gbufferedinputstream.c:
3780 * gio/gdatainputstream.c:
3782 * gio/gfileoutputstream.c:
3783 * gio/gfilterinputstream.c:
3784 * gio/glocalfileinputstream.c:
3787 More consistency fixes in g*stream.c files.
3788 Significant clean of gfile's documentation, filling in of
3789 asynchronous operations documentation.
3791 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3793 * gio/gasyncresult.c:
3794 * gio/gbufferedinputstream.c:
3795 * gio/gbufferedoutputstream.c:
3796 * gio/gcancellable.c:
3797 * gio/gcontenttype.c:
3798 * gio/gdatainputstream.c:
3799 * gio/gdataoutputstream.c:
3800 * gio/gdesktopappinfo.c:
3803 * gio/gfileattribute.c:
3804 * gio/gio/gfileenumerator.c:
3806 * gio/gfileinputstream.c:
3807 * gio/gfilemonitor.c:
3808 * gio/gfileoutputstream.c:
3809 * gio/ginputstream.c:
3811 * gio/gioscheduler.c:
3812 * gio/gloadableicon.c:
3813 * gio/glocalfileoutputstream.c:
3814 * gio/gmemoryoutputstream.c:
3815 * gio/gmountoperation.c:
3816 * gio/goutputstream.c:
3818 * gio/gsimpleasyncresult.c:
3819 * gio/gunionvolumemonitor.c:
3820 * gio/gunixmounts.c:
3821 * gio/gunixvolume.c:
3825 * gio/gvolumemonitor.c:
3826 Updated documentation stubs, working towards consistency and
3829 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3831 * gio/gmemoryoutputstream.c:
3832 * gio/gmemoryoutputstream.h:
3833 Change g_memory_output_stream_set_free_on_close() to
3834 g_memory_output_stream_set_free_data() as this makes more sense and
3835 is more consistent with GMemoryInputStream.
3837 2007-11-07 Alexander Larsson <alexl@redhat.com>
3844 Change how we find the default vfs so that
3845 we can handle a gvfs failing to init
3847 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3849 * gio/gbufferedoutputstream.c:
3850 * gio/gdatainputstream.c:
3851 * gio/gdataoutputstream.c:
3852 * gio/gfileinputstream.c:
3853 * gio/gfileoutputstream.c:
3854 * gio/gfilterinputstream.c:
3855 * gio/gfilteroutputstream.c:
3856 * gio/ginputstream.c:
3857 * gio/gmemoryinputstream.c:
3858 * gio/gmemoryoutputstream.c:
3859 * gio/goutputstream.c:
3860 * gio/gsimpleasyncresult.c:
3861 * gio/gsocketinputstream.c:
3862 * gio/gsocketoutputstream.c:
3863 Add guards to the remaining public functions, add a TODO for
3864 an unimplemented function and remove some useless guards.
3866 2007-11-07 Alexander Larsson <alexl@redhat.com>
3869 Autoconf checks for the various types of
3870 getpwuid_r and getgrgid_r
3872 * gio/glocalfileinfo.c:
3873 Use the autoconf checks from above
3875 2007-11-07 Alexander Larsson <alexl@redhat.com>
3878 (g_local_file_query_filesystem_info):
3879 Some fixes for the statvfs case
3881 2007-11-07 Alexander Larsson <alexl@redhat.com>
3884 (g_local_file_query_filesystem_info):
3885 Pick the "best" of statfs / statvfs for the system
3886 if both are availible.
3888 2007-11-07 Alexander Larsson <alexl@redhat.com>
3890 Solaris fixes from Halton.Huo@Sun.COM:
3897 * gio/glocalfileinfo.c:
3898 Fix for solaris definition of getpwuid_r
3900 * gio/test-streams.c:
3901 Use G_GNUC_PRETTY_FUNCTION
3903 2007-11-07 Alexander Larsson <alexl@redhat.com>
3905 * gio/gdesktopappinfo.c:
3906 (update_default_list):
3907 Remove double semicolon.
3908 Patch from Jens Granseuer
3910 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3912 * docs/reference/gio/gio-sections.txt:
3913 * gio/gbufferedinputstream.c:
3914 * gio/gbufferedinputstream.h:
3915 * gio/gdatainputstream.c:
3916 * gio/gfileenumerator.c:
3917 * gio/gioscheduler.c:
3918 * gio/gunionvolumemonitor.c:
3920 * programs/gio-save.c:
3921 Fix typo: availible -> available. Unfortuntely this breaks API
3922 and ABI as g_buffered_input_stream_get_available() was renamed.
3924 * gio/gunixmounts.c:
3925 * gio/gbufferedinputstream.c:
3926 Add guards for public functions.
3928 2007-11-06 Ross Burton <ross@openedhand.com>
3930 * docs/reference/gio/Makefile.am:
3931 Fix invalid += usage which automake 1.10 doesn't like.
3933 2007-11-06 Alexander Larsson <alexl@redhat.com>
3936 (g_app_launch_context_class_init):
3939 Patch from Ross Burton
3941 2007-11-06 Alexander Larsson <alexl@redhat.com>
3944 Post release version bump
3946 === gio-standalone 0.1.1 ===
3948 2007-11-06 Alexander Larsson <alexl@redhat.com>
3951 Bump version to 0.1.1
3953 * gio/gsimpleasyncresult.c:
3954 (g_simple_async_result_set_from_error):
3955 Remove bogus g_return_if_fail
3957 2007-11-06 Alexander Larsson <alexl@redhat.com>
3960 The name is gio-standalone
3963 Add top src/builddir to includedir
3965 2007-11-06 Alexander Larsson <alexl@redhat.com>
3967 * docs/reference/gio/gio-sections.txt:
3969 * gio/gbufferedinputstream.c:
3970 * gio/gbufferedoutputstream.c:
3971 * gio/gcancellable.c:
3972 * gio/gdatainputstream.h:
3973 * gio/gdataoutputstream.c:
3974 * gio/gdataoutputstream.h:
3975 * gio/gdirectorymonitor.c:
3977 * gio/gfileattribute.c:
3978 * gio/gfileattribute.h:
3979 * gio/gfileenumerator.c:
3980 * gio/gfileenumerator.h:
3983 * gio/gfileinputstream.h:
3984 * gio/gfilemonitor.c:
3985 * gio/gfileoutputstream.h:
3986 * gio/glocalfilemonitor.h:
3987 * gio/glocalfileoutputstream.h:
3988 * gio/gmemoryinputstream.c:
3989 * gio/gmemoryoutputstream.c:
3990 * gio/gmountoperation.c:
3991 * gio/goutputstream.c:
3992 * gio/goutputstream.h:
3994 * gio/gsimpleasyncresult.c:
3995 * gio/gunixmounts.c:
3996 * gio/gunixmounts.h:
3998 * gio/inotify/inotify-helper.c:
3999 Fix gtk-doc warnings
4001 Patch from Ross Burton
4003 2007-11-06 Alexander Larsson <alexl@redhat.com>
4005 * gio/gfilenamecompleter.c:
4006 (g_filename_completer_get_completions):
4009 * gio/gunixvolume.c:
4010 Remove unused function
4012 Patches from Ross Burton
4014 2007-11-06 Alexander Larsson <alexl@redhat.com>
4019 Padding not needed for interfaces
4021 2007-11-06 Alexander Larsson <alexl@redhat.com>
4023 * gio/gfilemonitor.c:
4027 Make giotypes.h an internal file
4030 * gio/gbufferedinputstream.h:
4031 * gio/gbufferedoutputstream.h:
4032 * gio/gcancellable.h:
4033 * gio/gdatainputstream.h:
4034 * gio/gdataoutputstream.h:
4035 * gio/gdirectorymonitor.c:
4036 * gio/gdirectorymonitor.h:
4041 * gio/gfileattribute.h:
4042 * gio/gfileenumerator.h:
4047 * gio/gfilemonitor.c:
4048 * gio/gfilemonitor.h:
4049 * gio/gfilenamecompleter.c:
4050 * gio/gfilenamecompleter.h:
4051 * gio/gfilterinputstream.h:
4052 * gio/gfilteroutputstream.h:
4053 * gio/ginputstream.h:
4054 * gio/gmemoryinputstream.h:
4055 * gio/gmemoryoutputstream.h:
4056 * gio/gmountoperation.c:
4057 * gio/gmountoperation.h:
4058 * gio/gnativevolumemonitor.c:
4059 * gio/goutputstream.h:
4062 * gio/gsimpleasyncresult.c:
4063 * gio/gsimpleasyncresult.h:
4064 * gio/gsocketinputstream.h:
4065 * gio/gsocketoutputstream.h:
4066 * gio/gthemedicon.c:
4067 * gio/gthemedicon.h:
4071 * gio/gvolumemonitor.c:
4072 * gio/gvolumemonitor.h:
4073 Add padding in classes where it seems useful
4074 Don't include giotypes.h from public headers
4075 Move in Class definitions into c file where possible
4080 2007-11-06 Alexander Larsson <alexl@redhat.com>
4082 * docs/reference/gio/gio-docs.xml:
4083 Better structure for API docs
4085 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4088 * gio/gloadableicon.c:
4089 * gio/gsimpleasyncresult.c:
4090 * gio/gthemedicon.c:
4091 Add some more guards to public functions. Only files missing are now
4094 2007-11-06 Alexander Larsson <alexl@redhat.com>
4096 * docs/reference/gio/gio-docs.xml:
4097 Remove old files, add missing ones
4099 2007-11-06 Alexander Larsson <alexl@redhat.com>
4101 * docs/reference/gio/gio-sections.txt:
4104 Hide implementation classes
4106 * gio/gdriveprivate.h:
4107 * gio/gvolumeprivate.h:
4108 Remove non-existing function declarations
4110 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4113 Fix compilation warnings and add guards to the new functions.
4115 * gio/gasyncresult.c:
4117 Add guards to the public functions.
4120 Implement get_path().
4122 2007-11-06 Alexander Larsson <alexl@redhat.com>
4124 * gio/gfilenamecompleter.c:
4125 Make g_filename_completer_get_completions
4126 return char ** instead of GList for
4129 * docs/reference/gio/gio-docs.xml:
4130 * docs/reference/gio/gio-sections.txt:
4132 * gio/gasyncresult.c:
4133 * gio/gbufferedinputstream.c:
4134 * gio/gbufferedoutputstream.c:
4135 * gio/gcancellable.c:
4136 * gio/gcontenttype.c:
4137 * gio/gdatainputstream.c:
4138 * gio/gdataoutputstream.c:
4139 * gio/gdesktopappinfo.c:
4140 * gio/gdirectorymonitor.c:
4144 * gio/gfileattribute.c:
4145 * gio/gfileenumerator.c:
4148 * gio/gfileinputstream.c:
4149 * gio/gfilemonitor.c:
4150 * gio/gfilenamecompleter.c:
4151 * gio/gfilenamecompleter.h:
4152 * gio/gfileoutputstream.c:
4153 * gio/gfilterinputstream.c:
4155 * gio/ginputstream.c:
4157 * gio/gioscheduler.c:
4158 * gio/gloadableicon.c:
4159 * gio/glocaldirectorymonitor.c:
4161 * gio/glocalfileinputstream.c:
4162 * gio/glocalfilemonitor.c:
4163 * gio/glocalfileoutputstream.c:
4165 * gio/gmemoryinputstream.c:
4166 * gio/gmemoryoutputstream.c:
4167 * gio/gmountoperation.c:
4168 * gio/goutputstream.c:
4169 * gio/gpollfilemonitor.c:
4171 * gio/gsimpleasyncresult.c:
4172 * gio/gsocketinputstream.c:
4173 * gio/gsocketoutputstream.c:
4174 * gio/gthemedicon.c:
4175 * gio/gunionvolumemonitor.c:
4177 * gio/gunixmounts.c:
4178 * gio/gunixvolume.c:
4179 * gio/gunixvolumemonitor.c:
4183 * gio/gvolumemonitor.c:
4184 * gio/gwin32appinfo.c:
4185 Add (mostly stub) doc strings to public functions.
4186 Patch from Andrew Walton (awalton@gmail.com)
4188 2007-11-06 Alexander Larsson <alexl@redhat.com>
4190 * gio/gappinfo.[ch]:
4191 Added GAppLaunchContext object and pass that to launch.
4192 This allows simple implementation of both
4193 launch-on-screen and startup notification via a gtk+
4194 subclass of GAppLaunchContext
4196 * gio/gdesktopappinfo.c:
4197 Implement GAppLaunchContext API
4199 * gio/gwin32appinfo.c:
4202 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4204 * gio/gmountoperation.c:
4205 Add some guards to GMountOperation's public functions.
4207 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4211 * gio/gcancellable.c:
4212 * gio/gdirectorymonitor.c:
4214 * gio/gfileenumerator.c:
4215 * gio/gfilemonitor.c:,
4216 * gio/gfilenamecompleter.c:
4219 * gio/gioscheduler.c:
4223 * gio/gvolumemonitor.c:
4224 Add even more guards to various public functions.
4226 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4229 Add guards to the public functions of GAppInfo.
4231 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4233 * gio/gcontenttype.c:
4234 Add some more guards for public functions.
4236 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4238 * gio/fam/fam-module.c:
4239 * gio/fam/gfamdirectorymonitor.c:
4240 * gio/fam/gfamdirectorymonitor.h:
4241 * gio/fam/gfamfilemonitor.c:
4242 * gio/fam/gfamfilemonitor.h:
4243 * gio/inotify/ginotifydirectorymonitor.c:
4244 * gio/inotify/ginotifydirectorymonitor.h:
4245 * gio/inotify/ginotifyfilemonitor.c:
4246 * gio/inotify/ginotifyfilemonitor.h:
4247 Add proper copyright information and remove an unused variable
4248 in the GInotifyFileMonitor constructor.
4250 * gio/gcancellable.c:
4251 Add a guard for a public function and an assertion to prevent
4252 an undefined program state.
4254 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4256 * gio/gfileattribute.c:
4257 Don't run into an assertion if the given attribute value is NULL
4258 in g_file_attribute_value_get_*() but instead return a fallback
4259 value that makes sense in most situations. Passing them a attribute
4260 value with the wrong type will still run into an assertion.
4262 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4264 * gio/gfileattribute.c:
4266 Add even more guards to the public functions. Also fix the refcounting
4267 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4268 let g_file_info_list_attributes() filter the attributes by namespace
4269 instead of simply ignoring the namespace parameter.
4271 2007-11-03 Sven Herzberg <sven@imendio.com>
4273 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4274 (This makes gio work on MacOS X again)
4276 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4279 Build the gio subdirectory before the docs. Otherwise the build will
4282 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4283 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4284 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4285 Add guards to the public functions.
4287 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4289 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4290 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4291 to prevent a compiler warning.
4293 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4294 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4295 return something in the non-void function find_topdir_for().
4297 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4304 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4306 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4307 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4308 * gwin32appinfo.c (g_win32_app_info_launch):
4309 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4310 envp_for_startup_id, g_desktop_app_info_launch,
4311 g_desktop_app_info_launch_uris):
4313 Give an opaque 'startup_id' string instead of 'envp'.
4314 Support empty file lists for launching new windows.
4315 Fix infinite recursion bug when launching URIs.
4317 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4320 Add guard to the new g_file_get_uri_scheme() function.
4322 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4325 Convert a g_return_val_if_fail() to setting the GError instead as
4326 otherwise applications have to verify the parameter before otherwise
4327 and the parameter might come directly from the user.
4329 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4331 * gio/inotify/ginotify*.[ch]:
4332 Add missing copyright information.
4334 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4337 Add guards in the beginning of public functions to check for valid
4338 parameters and fix a bug in copy_stream_with_progress() that could've
4339 caused writing less bytes than reading.
4340 * gio/glocalfileinfo.c:
4341 Check for a NULL parameter and set the GError accordingly then.
4342 * gio/goutputstream.c:
4343 Fix the same bug as in gfile.c that could've caused writing less bytes
4344 than reading in g_output_stream_real_splice().
4346 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4349 Use the correct gvolumeprivate.h naming
4351 2007-11-01 Christian Kellner <gicmo@gnome.org>
4354 Remove leftover "$(daemon_sources)" entry.
4356 2007-11-01 Christian Kellner <gicmo@gnome.org>
4361 Add copyright information to source files.
4363 2007-11-01 Alexander Larsson <alexl@redhat.com>
4367 Add g_file_get_uri_scheme
4369 2007-11-01 Alexander Larsson <alexl@redhat.com>
4372 * gio/gdesktopappinfo.c:
4373 * gio/gwin32appinfo.c:
4374 Add g_app_info_get_default_for_uri_scheme.
4376 2007-11-01 Alexander Larsson <alexl@redhat.com>
4379 Correct filename for gdriveprivate.h
4381 2007-10-31 Alexander Larsson <alexl@redhat.com>
4384 Rename id:value to id:file
4387 * gio/glocalfileinfo.c:
4390 2007-10-31 Alexander Larsson <alexl@redhat.com>
4392 * gio/gunixvolume.c:
4394 Remove g_volume_get_platform_id, as thats not
4395 needed with the simpler union volume monitor
4397 2007-10-31 Alexander Larsson <alexl@redhat.com>
4400 * gio/guniondrive.[ch]: Removed.
4401 * gio/gunionvolume.[ch]: Removed.
4402 Remove GUnionDrive/Volume
4404 * gio/gunionvolumemonitor.c:
4405 Simplify union volume monitor, now we
4406 only have one native volume monitor and
4407 we use the actual volumes/drives from the
4408 child monitors instead of wrapping them
4410 * gio/gnativevolumemonitor.[ch]:
4411 Base class for native volume monitors.
4412 Includes priority and get_volume_for_mountpoint
4415 Add g_file_find_enclosing_volume
4418 Remove volume name fs attribute
4419 Add readonly fs attribute
4422 Implement readonly attribute
4423 remove volume name attribute
4424 Implement find_enclosing volume
4426 * gio/gunixmounts.c:
4427 Add a volume for "/".
4429 * gio/gunixvolume.[ch]:
4430 Set better name for /
4432 * gio/gunixvolumemonitor.[ch]:
4433 Derive from GNativeVolumeMonitor
4434 Implement get_volume_for_mountpoint
4437 GVolume typedef moved to gfile.h
4439 * gio/gvolumeprivate.h:
4440 Add g_volume_get_for_mount_path
4442 2007-10-31 Alexander Larsson <alexl@redhat.com>
4444 * gio/gunixmounts.[ch]:
4445 Add cache info to unix mount listers
4446 Make getmntent use threadsafe
4447 Add is_system_internal attribute for GUnixMount
4449 * gio/gunixvolume.c:
4450 (g_unix_volume_new):
4451 Use is_system_internal instead of own code
4453 * gio/glocaldirectorymonitor.c:
4454 * gio/gunixvolumemonitor.c:
4455 Update to new gunixmounts API
4460 2007-10-30 Alexander Larsson <alexl@redhat.com>
4463 Add volume name fsinfo attribute
4466 Read volume name info
4468 * gio/gunionvolumemonitor.c:
4469 Fix infinite loops when finalizing a union volume monitor
4471 2007-10-30 Alexander Larsson <alexl@redhat.com>
4473 * gio/goutputstream.[ch]:
4474 Add splice() with default implementation
4476 * gio/gsocketoutputstream.c:
4477 (g_socket_output_stream_write):
4478 Return error on cancellation correctly.
4480 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4482 * gio/glocalfile.c (g_local_file_trash):
4483 Do not leak a string.
4485 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4487 * gio/gfile.c (g_file_load_contents):
4488 Unref the stream after closing it.
4490 2007-10-25 Alexander Larsson <alexl@redhat.com>
4492 * gio/gioscheduler.h:
4495 2007-10-25 Alexander Larsson <alexl@redhat.com>
4499 Add g_file_has_uri_scheme and implement for local files
4501 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4503 * gio/gdesktopappinfo.c: do not leak a string.
4505 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4507 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4508 (g_local_directory_monitor_new):
4509 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4510 (g_local_file_monitor_new):
4511 Only look for the monitor type that should be used the first time
4512 and use g_qsort_with_data() instead of our own bubble sort
4515 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4518 * gio/fam/Makefile.am:
4519 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4520 * gio/fam/fam-helper.h:
4521 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4522 * gio/fam/gfamdirectorymonitor.c:
4523 * gio/fam/gfamdirectorymonitor.h:
4524 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4525 * gio/fam/gfamfilemonitor.h:
4526 * gio/glocaldirectorymonitor.c:
4527 * gio/glocaldirectorymonitor.h:
4528 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4529 * gio/glocalfilemonitor.h:
4530 * gio/inotify/Makefile.am:
4531 * gio/inotify/ginotifydirectorymonitor.c:
4532 * gio/inotify/ginotifydirectorymonitor.h:
4533 * gio/inotify/ginotifyfilemonitor.c:
4534 * gio/inotify/ginotifyfilemonitor.h:
4535 Implement the FAM and Inotify monitors as
4536 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4537 their own GIO module. GLocal(Directory|File)Monitor will use the
4538 monitor with the highest rank that is supported on that machine.
4540 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4543 Change GIO module dir to $(libdir)/gio/modules and change
4544 the log domain from GVFS to GIO. Also only export symbols starting
4545 with g_ in the resulting library.
4546 * gio/test-streams.c: (main):
4547 Set log handler for the GIO log domain.
4549 2007-10-22 Alexander Larsson <alexl@redhat.com>
4551 * gio/gfilenamecompleter.[ch]:
4552 Add g_filename_completer_set_dirs_only
4554 2007-10-22 Alexander Larsson <alexl@redhat.com>
4557 * gio/gurifuncs.[ch]:
4558 Add some simple URI helpers
4560 * gio/gfilenamecompleter.[ch]:
4561 Added object for filename (parse name actually) completion
4564 Handle ~ in parse names
4566 2007-10-17 Alexander Larsson <alexl@redhat.com>
4569 * gio/glocalfileinfo.c:
4570 Add and implement id:value attribute
4572 2007-10-17 Alexander Larsson <alexl@redhat.com>
4575 * gio/guniondrive.c:
4577 Add and implement g_drive_has_volumes
4579 2007-10-17 Alexander Larsson <alexl@redhat.com>
4582 * gio/glocalfileinfo.[ch]:
4583 Add unix:is_mountpoint and implement for local files
4585 2007-10-16 Alexander Larsson <alexl@redhat.com>
4587 * gio/gunionvolumemonitor.c:
4588 (g_union_volume_monitor_init):
4589 Fix up the unix type getting so that it works with gcc
4591 2007-10-12 Alexander Larsson <alexl@redhat.com>
4594 * gio/glocalfileinfo.c:
4595 Add thumbnail:failed to file info
4597 2007-10-12 Richard Hult <richard@imendio.com>
4599 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4600 optimizing away the get_type call (happens with some gcc versions,
4601 like the one shipped with OS X 10.4).
4603 2007-10-12 Alexander Larsson <alexl@redhat.com>
4605 * gio/glocalfileinfo.c:
4606 (_g_local_file_info_set_attribute):
4607 Fix build if not HAVE_XATTR
4608 Patch from Milosz Derezynski <internalerror@gmail.com>
4610 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4612 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4613 around for review, otherwise I would have asked you before
4616 2007-10-11 Alexander Larsson <alexl@redhat.com>
4619 Add thumbnail:path attribute
4621 * gio/glocalfileinfo.c:
4622 Implement thumbnail:path for local files
4624 2007-10-11 Alexander Larsson <alexl@redhat.com>
4626 * gio/glocalfileinfo.c:
4627 (_g_local_file_info_get):
4628 Avoid duplicate icon names
4630 2007-10-11 Alexander Larsson <alexl@redhat.com>
4632 * gio/gthemedicon.[ch]:
4633 Change g_themed_icon_get_names return type to const
4635 2007-10-10 Alexander Larsson <alexl@redhat.com>
4637 * gio/glocalfileinfo.c:
4638 Don't reference freed memory
4640 2007-10-10 Alexander Larsson <alexl@redhat.com>
4642 * gio/gfileattribute.c:
4645 * gio/glocalfileinfo.c:
4648 2007-10-10 Alexander Larsson <alexl@redhat.com>
4651 Check for NULL icons
4653 * gio/gfileattribute.c:
4654 Don't dup when getting objects (same as for string attributes)
4656 * gio/gicon.c (g_icon_equal):
4657 Safely handle NULLs in equal
4659 2007-10-10 Alexander Larsson <alexl@redhat.com>
4662 Fix c++ compilation issues
4663 Patch from Milosz Derezynski <internalerror@gmail.com>
4665 2007-10-10 Alexander Larsson <alexl@redhat.com>
4667 * programs/gio-monitor-dir.c:
4668 Don't crash if dir monitor not supported.
4670 2007-10-09 Alexander Larsson <alexl@redhat.com>
4673 Add missing G_END_DECLS
4675 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4677 * gio/gfile.c: (g_file_set_display_name),
4678 (g_file_query_settable_attributes),
4679 (g_file_query_writable_namespaces):
4680 Return NULL not FALSE on errors as the return type is a pointer.
4682 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4684 * gio/glocalfile.c: (g_local_file_monitor_file):
4685 Don't call monitor_file on the default interface vtable (which
4686 is NULL) but simply return NULL. The caller, GFile, will create a
4687 polling monitor if NULL is returned.
4689 2007-10-09 Alexander Larsson <alexl@redhat.com>
4693 * gio-unix-2.0.pc.in:
4694 Add gio-unix-2.0.pc if OS_UNIX
4697 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4699 2007-10-09 Alexander Larsson <alexl@redhat.com>
4701 * gio/gunixmounts.[ch]:
4702 Make unix mount monitoring API sane.
4703 Now its just a object with mounts_changed
4704 and mountpoints_changed signals.
4706 * gio/glocaldirectorymonitor.c:
4707 * gio/gunixvolumemonitor.c:
4708 Use new mount monitor api
4710 2007-10-09 Alexander Larsson <alexl@redhat.com>
4712 * gio/gunixmounts.[ch]:
4713 Move guess type into one call for mounts and one for mountpoints
4716 * gio/gunixvolume.c:
4719 2007-10-09 Alexander Larsson <alexl@redhat.com>
4721 * gio/gunixmounts.[ch]:
4722 Remove _ prefix in preparation to make this semi-public
4723 Hide implementation of structs
4725 * gio/glocaldirectorymonitor.c:
4727 * gio/gunixvolume.c:
4728 * gio/gunixvolumemonitor.c:
4729 Update for above API changes
4731 2007-10-08 Alexander Larsson <alexl@redhat.com>
4734 Better polling fallback. This also handles the case where we have
4735 a monitor_file implementation, but it fails.
4737 2007-10-08 Alexander Larsson <alexl@redhat.com>
4741 * gio/gunixmounts.c:
4742 * programs/gio-monitor-dir.c:
4743 * programs/gio-monitor-file.c:
4744 Added cancellable to file monitoring calls.
4745 These are really sync calls and need this.
4747 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4749 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4750 (g_local_vfs_class_init):
4751 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4752 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4754 2007-10-05 Alexander Larsson <alexl@redhat.com>
4756 * gio/gdirectorymonitorprivate.h:
4757 * gio/gfilemonitorprivate.h:
4758 * gio/gdirectorymonitor.h:
4759 * gio/gfilemonitor.h:
4760 Remove *private.h and move to the public API, so that
4761 we can do implementations outside gio (such as in gvfs)
4763 * gio/gdirectorymonitor.c:
4764 * gio/gfilemonitor.c:
4765 * gio/glocaldirectorymonitor.c:
4766 * gio/gpollfilemonitor.c:
4767 * gio/inotify/inotify-helper.c:
4768 * gio/fam/fam-helper.c:
4769 Update to the new header names
4771 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4773 * gio/gdirectorymonitor.c:
4774 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4777 2007-10-04 Alexander Larsson <alexl@redhat.com>
4779 * gio/glocalfileinfo.c (get_access_rights):
4780 Set CAN_TRASH when we can move the file.
4781 We should really also check for a parent trash dir.
4783 2007-10-04 Alexander Larsson <alexl@redhat.com>
4785 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4786 Add can_trash access attribute
4788 2007-10-04 Alexander Larsson <alexl@redhat.com>
4791 (g_local_file_trash):
4792 Create info file first. This is per-spec and allows
4793 us to actually trash directories.
4795 2007-10-02 Alexander Larsson <alexl@redhat.com>
4797 * gio/gdesktopappinfo.c:
4798 Implement the new mime support code.
4799 Always set app as handling mimetype when being set as default for it
4801 2007-10-01 Alexander Larsson <alexl@redhat.com>
4803 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4804 Fix up check for xattrs:
4806 2007-10-01 Alexander Larsson <alexl@redhat.com>
4809 (g_app_info_set_as_default_for_extension):
4810 (g_app_info_add_supports_type):
4811 (g_app_info_can_remove_supports_type):
4812 (g_app_info_remove_supports_type):
4813 Make these fail nicely if not implemented
4815 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4817 * gio/glocalfileoutputstream.c:
4818 * gio/glocalfileoutputstream.h:
4823 * programs/gio-save.c:
4824 Add a GFileCreateFlags argument to operations that can create
4827 2007-10-01 Alexander Larsson <alexl@redhat.com>
4829 * gio/gappinfo.[ch]:
4830 * gio/gdesktopappinfo.c:
4831 Add more (stubbed out) mime API needed for nautilus
4833 2007-10-01 Alexander Larsson <alexl@redhat.com>
4836 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4837 Add g_app_info_set_as_default_for_extension.
4839 * gio/gdesktopappinfo.c:
4840 Dummy for g_app_info_set_as_default_for_extension
4841 Support flags in g_app_info_create_from_commandline
4843 * gio/gwin32appinfo.c:
4845 Update for API changes
4847 * gio/gthemedicon.c:
4848 Properly NULL-terminate list of icon names
4850 2007-09-28 Alexander Larsson <alexl@redhat.com>
4852 * gio/gloadableicon.h:
4853 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4855 2007-09-28 Alexander Larsson <alexl@redhat.com>
4858 Install headers in $includedir/gio-standalone/
4860 * gio-2.0.pc.in: Added.
4861 * gio-standalone.pc.in: Removed.
4864 Renamed pkg-config file to match glib (for future move)
4865 Update to the new include dir
4868 Add more TODO comments
4870 2007-09-28 Alexander Larsson <alexl@redhat.com>
4872 * gio/gdesktopappinfo.[ch]:
4873 Expose new_from_filename
4874 Add getter for is_hidden and handle it better
4876 2007-09-28 Alexander Larsson <alexl@redhat.com>
4878 * gio/gfileinfo.[ch]:
4879 Rename g_file_size_format_for_display to
4880 g_format_file_size_for_display.
4881 Now it doesn't have the g_file prefix, so we
4882 can later move it to glib.
4884 2007-09-28 Alexander Larsson <alexl@redhat.com>
4886 * gio/gappinfo.[ch]:
4887 Add g_app_info_get_id and g_app_info_get_executable.
4888 Make all getters non-reffing
4889 Make g_app_info_launch take GFile arguments.
4890 Add must_support_uris argument to g_app_info_get_default_for_type.
4892 * gio/gwin32appinfo.c:
4893 Update to GAppInfo api changes
4895 * gio/gdesktopappinfo.c:
4896 Update to GAppInfo api changes
4897 Implement supports_xdg_startup_notify
4899 * gio/gfileicon.c (g_file_icon_get_file):
4900 Make getter non-reffing.
4905 2007-09-27 Alexander Larsson <alexl@redhat.com>
4907 * gio/gfileinfo.[ch]:
4908 Add g_file_size_format_for_display helper
4910 2007-09-27 Alexander Larsson <alexl@redhat.com>
4912 * gio/glocalfileinfo.c:
4913 Set UNIX_GID from gid, not from uid
4915 2007-09-27 Alexander Larsson <alexl@redhat.com>
4918 Add g_file_set_attributes_async
4920 2007-09-27 Alexander Larsson <alexl@redhat.com>
4922 * gio/glocalfile.c (g_local_file_set_display_name):
4923 Fix set_display_name to actually rename to the right place.
4924 Use lstat to look for existing files so we don't overwrite
4927 2007-09-26 Alexander Larsson <alexl@redhat.com>
4930 Add g_file_set_display_name_async()
4932 2007-09-26 Alexander Larsson <alexl@redhat.com>
4935 Add load_partial_contents async calls
4938 Make internal function static
4940 2007-09-26 Alexander Larsson <alexl@redhat.com>
4942 * gio/glocalfileinfo.c:
4943 Correctly detect broken symlinks
4945 2007-09-26 Alexander Larsson <alexl@redhat.com>
4947 * gio/gcancellable.c (g_cancellable_cancel):
4948 Allow cancel on NULL cancellable
4950 2007-09-25 Alexander Larsson <alexl@redhat.com>
4952 * gio/gsimpleasyncresult.c:
4953 Don't allocate g_error manually.
4954 Fixes g_slice/g_new mixup crash
4956 2007-09-25 Alexander Larsson <alexl@redhat.com>
4958 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4959 Actually set active_backend.
4960 This means the monitor will be cancelled correctly.
4962 2007-09-25 Alexander Larsson <alexl@redhat.com>
4964 * gio/gdirectorymonitor.c:
4965 Set timeout to NULL when destroying
4967 2007-09-25 Alexander Larsson <alexl@redhat.com>
4970 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4971 that is a better description of the error.
4973 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4975 * gio/gvfs.c: (g_vfs_get_local):
4976 Make the local vfs variable static. The same instance should
4979 2007-09-24 Alexander Larsson <alexl@redhat.com>
4981 * gio/glocalfileinfo.c:
4982 Pass in actual length read into sniffer, not the length
4985 2007-09-21 Alexander Larsson <alexl@redhat.com>
4987 * gio/gfileenumerator.c:
4990 * gio/gfileinputstream.c:
4991 * gio/gfileoutputstream.c:
4992 * gio/ginputstream.c:
4993 * gio/goutputstream.c:
4994 Don't crash if async callbacks are NULL
4996 2007-09-20 Alexander Larsson <alexl@redhat.com>
4999 Add async enumerate_children method and default
5002 2007-09-20 Alexander Larsson <alexl@redhat.com>
5005 Add g_file_contains_file & g_file_get_relative_path, since they
5006 were needed for nautilus.
5007 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5012 Implement new methods
5014 2007-09-17 Alexander Larsson <alexl@redhat.com>
5017 * gio/gfileinputstream.[ch]:
5018 * gio/gfileoutputstream.[ch]:
5020 * gio/glocalfileenumerator.[ch]:
5021 * gio/glocalfileinfo.[ch]:
5022 * gio/glocalfileinputstream.c:
5023 * gio/glocalfileoutputstream.c:
5024 * gio/gpollfilemonitor.c:
5025 * programs/gio-copy.c:
5026 * programs/gio-info.c:
5027 * programs/gio-move.c:
5028 Rename get_file_info to query_info() to make it clearer
5029 that these are not simple getters, but do i/o.
5031 2007-09-17 Alexander Larsson <alexl@redhat.com>
5033 * gio/gdatainputstream.[ch]:
5034 * gio/test-streams.c:
5035 Use _read_XXX instead of _get_XXX for the i/o calls
5038 2007-09-17 Alexander Larsson <alexl@redhat.com>
5041 Added needed stuff to TODO comment
5043 2007-09-17 Alexander Larsson <alexl@redhat.com>
5045 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5046 Don't error out removing the backup copy if it doesn't
5049 2007-09-14 Alexander Larsson <alexl@redhat.com>
5051 * programs/Makefile.am:
5052 * programs/gvfs-*.c:
5054 Renamed apps from gvfs-xxx to gio-xxx.
5056 2007-09-14 Alexander Larsson <alexl@redhat.com>
5059 * gio/gfileoutputstream.[ch]:
5060 * gio/glocalfileoutputstream.c:
5061 * programs/gvfs-save.c:
5062 g_file_output_stream_get_etag doesn't do i/o, so remove
5063 cancellation and error.
5065 2007-09-14 Alexander Larsson <alexl@redhat.com>
5068 Add new_etag output to replace_contents functions
5070 2007-09-14 Alexander Larsson <alexl@redhat.com>
5072 * gio/gfileoutputstream.[ch]:
5073 Add async get_file_info and default implementation
5075 2007-09-14 Alexander Larsson <alexl@redhat.com>
5077 * gio/gfileinputstream.c:
5078 Implement fallback wrapper for async get_file_info
5080 2007-09-14 Alexander Larsson <alexl@redhat.com>
5083 Add etag out argument to load_contents
5088 2007-09-14 Alexander Larsson <alexl@redhat.com>
5090 * gio/gcontenttype.c (looks_like_text):
5091 Whitespace like tab, cr and lf do not make the
5094 2007-09-14 Alexander Larsson <alexl@redhat.com>
5096 * gio/gfileinputstream.[ch]:
5097 Add async get_file_info.
5099 2007-09-13 Alexander Larsson <alexl@redhat.com>
5101 * gio/goutputstream.c (g_output_stream_write_all):
5102 Allow NULL for bytes_written
5104 2007-09-13 Alexander Larsson <alexl@redhat.com>
5106 * gio/gmemoryinputstream.[ch]:
5107 Add accessors for data
5109 2007-09-13 Alexander Larsson <alexl@redhat.com>
5111 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5112 Don't crash if length is NULL