1 2008-10-09 Alexander Larsson <alexl@redhat.com>
3 * gunixinputstream.c (g_unix_input_stream_read):
4 Actually return -1 in case of cancelled, not old res value.
6 2008-10-06 Colin Walters <walters@verbum.org>
8 Bug 554745 - GFileAttributeInfoList should be boxed
10 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
11 for convenience of bindings.
12 * gio/gfileattribute.h: Prototype it.
14 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
16 Bug 554970 – segfault when update-desktop-database is not available
19 * gdesktopappinfo.c (run_update_command): Have the error set before
22 2008-10-01 David Zeuthen <davidz@redhat.com>
24 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
25 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
26 instead of the gio URI (such as sftp://foo/file.avi) when using
27 g_app_info_launch() and friends. With a sufficiently recent gvfs,
28 apps using gio+gvfs will map the FUSE file:// URI back to the gio
29 URI (and thus bypass the fuse daemon) thanks the patch from bug
30 #530654. Since Nautilus is an user of g_app_info_launch() it
31 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
32 when launced via the file manager. Win. Fixes bug #528670.
34 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
35 mapping to the description of GAppInfo.
37 2008-09-30 Tor Lillqvist <tml@novell.com>
39 * tests/Makefile.am: Build desktop-app-info only on Unix.
41 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
42 g_critical(). Pass a large enough result buffer to
43 GetVolumePathNameW(). Just use MAX_PATH.
45 2008-09-29 David Zeuthen <davidz@redhat.com>
47 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
49 2008-09-26 Dan Winship <danw@gnome.org>
51 * tests/data-input-stream.c:
52 * tests/data-output-stream.c:
53 * tests/live-g-file.c:
54 * tests/memory-input-stream.c:
55 * tests/memory-output-stream.c: Use g_assert_error() and
58 2008-09-26 Matthias Clasen <mclasen@redhat.com>
60 Bug 545350 – GAppInfo deletion
61 Bug 545351 – Reset associations for content type
64 * gappinfo.[hc]: New functions g_app_info_can_delete,
65 g_app_info_delete and g_app_info_reset_type_associations.
68 * gwin32appinfo.c: Implementations of these.
71 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
73 2008-09-26 Dan Winship <danw@gnome.org>
75 Bug 505361 – gunixinputstream.c assumes poll() available
76 Bug 509446 – portable blocking gio cancellation
78 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
79 GPollFD for a cancellable (which is slightly more complicated on
82 * gunixinputstream.c (g_unix_input_stream_read):
83 * gunixoutputstream.c (g_unix_output_stream_write): Use
84 g_cancellable_make_pollfd() and g_poll() rather than using poll()
87 * tests/unix-streams.c: test of GUnixInputStream,
88 GUnixOutputStream, and GCancellable.
90 2008-09-26 Dan Winship <danw@gnome.org>
92 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
93 cast to stop a gcc warning
95 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
98 2008-09-25 Dan Winship <danw@gnome.org>
100 Bug 553426 - cancellable clarifications
102 * gcancellable.c (g_cancellable_class_init): Add a note to the
103 "cancelled" signal docs warning about thread-safety issues
104 (g_cancellable_cancel): Note that cancelling an asynchronous
105 operation takes effect asynchronously, not immediately.
107 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
109 * gioenums.h: Add new GFileCopyFlag, to leave target file with
110 default perms, instead of setting the source file perms, in a copy
113 * gfile.c (g_file_copy_attributes)
114 (build_attribute_list_for_copy)
115 (should_copy): Not copy "unix::mode" attribute if we have received
116 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
118 2008-09-20 Matthias Clasen <mclasen@redhat.com>
120 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
122 2008-09-17 Matthias Clasen <mclasen@redhat.com>
124 * === Released 2.18.1 ===
126 2008-09-16 Michael Natterer <mitch@imendio.com>
128 * gcontenttype.c (g_content_type_guess): can't assign the return
129 value of g_strdupv() to an array. Fill the array manually with
130 const strings instead (it is never freed anyway). Fixes the
131 build. Also fixed indentation.
133 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
135 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
136 Fix trivial typo to unbreak the build (there was a colon
137 instead of a semicolon at the end of a statement).
139 2008-09-15 Matthias Clasen <mclasen@redhat.com>
141 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
144 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
147 2008-09-15 Matthias Clasen <mclasen@redhat.com>
149 Bug 551681 – g_content_type_guess() too naive with filenames
151 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
152 at the end of the filename, and declare it a directory.
153 Patch by Bastien Nocera
155 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
157 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
160 * gdesktopappinfo.c: add a note in the docs clarifying what the
161 "filename" parameter really is.
163 2008-09-12 Tor Lillqvist <tml@novell.com>
165 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
166 FormatMessage() etc here. Call g_win32_error_message() instead
167 which already does all that. Besides, the code was broken as it
168 called the default "A" version of FormatMessage() but still
169 thought it produced a wide string.
171 2008-09-12 Michael Natterer <mitch@imendio.com>
173 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
174 in the documentation.
176 2008-09-08 Christian Neumair <cneumair@gnome.org>
178 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
179 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
180 Use non-blocking pipe for mount helper I/O. Fixes #550647.
182 2008-09-06 Matthias Clasen <mclasen@redhat.com>
184 Bug 551149 – xdgmime mem leak
186 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
187 a memory leak. Patch by Christian Persch
189 2008-09-04 Tor Lillqvist <tml@novell.com>
191 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
194 2008-09-02 Matthias Clasen <mclasen@redhat.com>
196 * === Released 2.18.0 ===
198 2008-09-02 Michael Natterer <mitch@imendio.com>
200 * *.h: big header formatting cleanup: indentation, vtable
201 formatting, consistent spacing in (* vfunc), trailing whitespace
202 removal. Formatting should be pretty consistent in all GIO headers
205 2008-09-02 Matthias Clasen <mclasen@redhat.com>
207 * gmount.h: Document guess_content_type sync vfunc.
209 2008-09-02 Michael Natterer <mitch@imendio.com>
211 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
212 fix parent_class member to be GFilterOutputStreamClass (not
213 GOutputStreamClass). Drop three pointers of padding, which is
214 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
215 so the class struct size stays the same.
217 2008-09-02 Matthias Clasen <mclasen@redhat.com>
219 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
221 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
222 nonexisting return values. Pointed out by Cosimo Cecchi.
224 2008-08-23 Tor Lillqvist <tml@novell.com>
226 Bug 548988 - g_file_replace fails on Windows when the target file
229 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
230 Windows, close the file before potentially renaming it (in case we
231 have been writing to a file with a temporary name).
233 (g_local_file_output_stream_close, handle_overwrite_open): Use
234 GLocalFileStat instead of plain struct stat, for passing to
235 _g_local_file_info_create_etag(). Thus also use _fstati64()
236 instead of plain fstat() on Windows.
238 2008-08-18 Matthias Clasen <mclasen@redhat.com>
240 * === Released 2.17.7 ===
242 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
244 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
247 2008-08-13 Tor Lillqvist <tml@novell.com>
249 * win32/gwinhttpvfs.c
250 * win32/gwinhttpvfs.h
251 * win32/gwinhttpfile.c
252 * win32/gwinhttpfileinputstream.c
253 * win32/gwinhttpfileoutputstream.c: Refactor some common code
254 snippets into helper functions. Check HTTP response status
255 codes. Implement g_winhttp_file_query_info(), looking at
256 Content-Length, Content-Type and Last-Modified.
258 * win32/winhttp.h: Add some symbolic constants that are not
259 publicly documented. Just a handful, so it should be OK to use
260 information from the Windows SDK's headers.
262 2008-08-13 Tor Lillqvist <tml@novell.com>
264 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
267 * win32/gwin32directorymonitor.c
268 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
270 2008-08-13 Matthias Clasen <mclasen@redhat.com>
273 * goutputstream.c: Add intro docs.
275 2008-08-13 Tor Lillqvist <tml@novell.com>
277 * win32/gwinhttpfileoutputstream.c
278 (g_winhttp_file_output_stream_write): Don't write the
279 Content-Length header ourselves, WinHttpSendRequest() takes care
280 of that when the dwTotalLength parameter is non-zero. Increment
281 offset by the number of actual bytes sent, although I wonder if
282 such a scenario is possible where less than requested would be
283 sent and accepted by the server without errors.
285 2008-08-13 Tor Lillqvist <tml@novell.com>
287 * win32/gwinhttpvfs.c
288 * win32/gwinhttpvfs.h
289 * win32/gwinhttpfile.c
290 * win32/gwinhttpfile.h
291 * win32/gwinhttpfileinputstream.c
292 * win32/gwinhttpfileinputstream.h
293 * win32/gwinhttpfileoutputstream.c
294 * win32/gwinhttpfileoutputstream.h: New files implementing
295 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
296 Windows. The implementation uses the WinHttp API. Both reading and
297 writing are supported, i.e. GET and PUT requests. When writing,
298 each write call is done using a separate PUT request with a
299 Content-Range header. Requests for file URIs and plain pathnames
300 are forwarded to GLocalVfs.
302 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
303 WINE. Used as there is no <winhttp.h> bundled with mingw, and
304 requiring people to download the Windows SDK just for this one
305 header is not reasonable.
307 * win32/Makefile.am: Add above files.
309 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
310 the plumbing for the above.
312 2008-08-11 Sven Neumann <sven@gimp.org>
314 * gfilenamecompleter.c
315 * glocaldirectorymonitor.c
317 * gunionvolumemonitor.c
321 * gunixvolumemonitor.c
324 * gwin32volumemonitor.c: use canonical signal names.
326 2008-08-11 Tor Lillqvist <tml@novell.com>
328 * Makefile.am: Put a list of the platform-dependent .la files in
329 the subdirectories in the platform_deps Make variable, and make
330 libgio-2.0.la depend on that, so that it gets relinked if one of
331 the dependent libraries has changed.
333 2008-08-11 Tor Lillqvist <tml@novell.com>
335 * Makefile.am (platform_libadd): Remove -lwininet which had been
336 added by mistake. We will probably eventually be using WinHTTP,
337 not the older WinInet anyway. (Actually I am working on it.)
339 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
341 Bug 547080 – g_file_copy leaks expected errors
343 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
344 before trying the next fallback routine.
346 2008-08-09 Loïc Minier <lool@dooz.org>
348 Bug 535124 – umask 002 not being applied for new directories, new
349 files get the correct umask
351 * gfile.c (g_file_make_directory)
352 (g_file_make_directory_with_parents): Document ownership and
353 permissions of newly created directories as being the default
356 2008-08-08 Loïc Minier <lool@dooz.org>
358 Bug 535124 – umask 002 not being applied for new directories, new
359 files get the correct umask
361 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
364 2008-08-08 Tor Lillqvist <tml@novell.com>
366 * gwin32mount.c: Remove unused code. Whitespace cleanup.
368 * gwin32volumemonitor.c (get_connected_drives): Put questionable
369 code that didn't actually do anything inside #if 0, and add a
370 comment wondering what the code was supposed to do. This also gets
371 rid of a leftover debugging printout.
373 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
375 * gfileicon.c (g_file_icon_get_property)
376 (g_file_icon_set_property): New functions.
377 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
379 (g_file_icon_new): Use the property (bug #546132).
381 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
383 * gthemedicon.c (g_themed_icon_get_property): Also handle
384 `PROP_USE_DEFAULT_FALLBACKS'.
385 (g_themed_icon_class_init): Make
386 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
388 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
390 Bug 546371 – Improve docs re g_file_monitor
392 * gfilemonitor.c: Mention g_file_monitor() in the docs.
394 2008-08-04 Matthias Clasen <mclasen@redhat.com>
396 * === Released 2.17.6 ===
398 2008-08-04 Matthias Clasen <mclasen@redhat.com>
400 * === Released 2.17.5 ===
402 2008-08-04 Matthias Clasen <mclasen@redhat.com>
404 Bug 546017 – Don't copy attributes when copying a symlink
406 * gfile.c (g_file_copy_attributes): Specify
407 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
408 g_file_set_attributes_from_info. Patch by Christian Kellner
410 2008-08-04 Matthias Clasen <mclasen@redhat.com>
412 * gemblemedicon.[hc]:
414 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
415 a bit more extensible. Work by Clemens Buss.
417 * gioenums.h: Add GEmblemOrigin.
420 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
422 Bug 546079 – leak in xdgmime
424 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
426 2008-08-03 Tor Lillqvist <tml@novell.com>
428 * win32/gwin32directorymonitor.h
429 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
432 2008-08-03 Tor Lillqvist <tml@novell.com>
434 * win32/gwin32directorymonitor.c
435 (g_win32_directory_monitor_callback): Make prototype match
436 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
437 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
440 (g_win32_directory_monitor_constructor):
441 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
442 names in the GLib API on Windows, so convert to UTF-16 and open
445 2008-08-03 Tor Lillqvist <tml@novell.com>
447 Bug 541036 - Gnumeric crashes when trying to open Desktop or
448 user's folder under Windows
450 * win32/gwin32directorymonitor.c
451 (g_win32_directory_monitor_constructor): Ignore error from
452 CreateFile() when opening directory. Instead of asserting, just
453 store INVALID_HANDLE_VALUE then in
454 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
455 ReadDirectoryChangesW().
456 (g_win32_directory_monitor_cancel): Don't attempt to close
457 directory handle if it is INVALID_HANDLE_VALUE.
459 2008-08-01 Matthias Clasen <mclasen@redhat.com>
461 * gdesktopappinfo.c: Remove debug spew
463 2008-08-01 Hans Breuer <hans@breuer.org>
465 * makefile.msc : add gemblembedicon
467 2008-07-30 Matthias Clasen <mclasen@redhat.com>
469 Bug 545457 – gdmsetup crashed with SIGSEGV in
470 g_unix_mount_guess_should_display()
472 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
473 crash if no mount is found.
475 2008-07-28 Matthias Clasen <mclasen@redhat.com>
477 Bug 545203 – gfile.c: argument is different type.
479 * gfile.c (open_read_async_thread): Pass a GError **
480 to g_file_set_error_literal.
481 Reported by Kazuki Iwamoto
483 2008-07-28 Matthias Clasen <mclasen@redhat.com>
485 Bug 545157 – wrong/no list of "open with" applications for .cc and
488 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
489 Collect all ancestors, not just direct parents. Pointed
490 out by Bastien Nocera
492 2008-07-28 Matthias Clasen <mclasen@redhat.com>
494 * Makefile.am: Install gemblemedicon.h
496 2008-07-28 Matthias Clasen <mclasen@redhat.com>
498 * gemblemedicon.[hc]: Add a GIcon implementation that can
499 add an emblem to another icon.
506 * gfileicon.c: Small documentation additions.
508 2008-07-28 Tor Lillqvist <tml@novell.com>
510 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
513 2008-07-27 Tor Lillqvist <tml@novell.com>
515 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
517 2008-07-24 David Zeuthen <davidz@redhat.com>
521 Also export a g_mount_guess_content_type_sync() function.
523 2008-07-23 Matthias Clasen <mclasen@redhat.com>
525 529694 – SELinux context setting support
527 * gfileinfo.c: Support setting selinux attributes.
528 Patch by Tomas Bzatek
530 2008-07-22 Priit Laes <plaes@plaes.org>
532 Bug 544140 - fam-helper 64-bit issue?
534 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
536 2008-07-21 Matthias Clasen <mclasen@redhat.com>
538 * === Released 2.17.4 ===
540 2008-07-20 Matthias Clasen <mclasen@redhat.com>
542 * gvolumemonitor.[hc]:
547 * gmount.c: Documentation fixes
549 2008-07-19 Matthias Clasen <mclasen@redhat.com>
551 543504 – crash in Epiphany Web Browser: Opening local file
562 * gvolume.c: Register types thread-safely.
563 Patch by Christian Persch
565 2008-07-18 Matthias Clasen <mclasen@redhat.com>
567 * gcontenttype.c: Remove debug spew
569 2008-07-18 Matthias Clasen <mclasen@redhat.com>
571 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
574 * fen/fen-kernel.c: Remove a warning that was causing
575 crashes. Reported by Lin Ma.
577 2008-07-18 Matthias Clasen <mclasen@redhat.com>
579 Bug 543040 – async reading on dummy file will crash on
582 * gfile.c (open_read_async_thread): Cope with read_fn being
583 NULL. Reported by Lin Ma.
585 2008-07-18 Matthias Clasen <mclasen@redhat.com>
588 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
590 2008-07-16 Matthias Clasen <mclasen@redhat.com>
594 * giomodule.c: Rename a chapter id to avoid filename conflict.
596 2008-07-16 Matthias Clasen <mclasen@redhat.com>
598 Bug 540616 – mem leak in filechooser button
600 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
601 the mount entry. Reported by Chrisitan Persch
603 2008-07-16 Matthias Clasen <mclasen@redhat.com>
605 * gfile.c: Small documentation fixes.
607 2008-07-15 Matthias Clasen <mclasen@redhat.com>
609 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
611 2008-07-08 Matthias Clasen <mclasen@redhat.com>
616 * gmount.c: Documentation improvements.
618 2008-07-08 Matthias Clasen <mclasen@redhat.com>
621 * gmount.[hc]: Add g_mount_guess_content_type().
623 2008-07-06 David Zeuthen <davidz@redhat.com>
626 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
627 is needed for easily handling adoption of foreign volumes by
628 out-of-process volume monitors (#541793)
630 2008-07-06 David Zeuthen <davidz@redhat.com>
632 * gvolumemonitor.[ch]:
633 * gunionvolumemonitor.c: Export the eject-button signal on the
634 volume monitor class (#541794).
636 2008-07-06 Matthias Clasen <mclasen@redhat.com>
638 * gappinfo.c: More doc tweaks
640 2008-07-05 Matthias Clasen <mclasen@redhat.com>
642 * gappinfo.c: Clarify some docs
644 2008-07-03 Matthias Clasen <mclasen@redhat.com>
646 * gdesktopappinfo.c: Fix a stupid mistake.
648 2008-07-02 Matthias Clasen <mclasen@redhat.com>
650 * === Released 2.17.3 ===
652 2008-07-02 Matthias Clasen <mclasen@redhat.com>
654 * gfilemonitor.c: Fix the build.
656 2008-07-02 Matthias Clasen <mclasen@redhat.com>
658 Bug 536160 – Add g_file_monitor()
661 * gfile.[hc]: Add g_file_monitor which can return either
662 a file or a directory monitor. Proposed by Behdad Esfahbod
664 2008-07-02 Matthias Clasen <mclasen@redhat.com>
666 536733 – gio build failure on Irix
668 * glocalfile.c: Use a configure check for structfs.f_bavail.
670 2008-07-02 Matthias Clasen <mclasen@redhat.com>
672 Bug 534639 – add g_desktop_app_info_new_from_keyfile
675 * gdesktopappinfo.[hc]: Add a function to create a
676 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
678 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
680 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
682 2008-07-01 Matthias Clasen <mclasen@redhat.com>
684 * gunixmounts.c: Fix a doc typo.
686 2008-07-01 Cody Russell <bratsche@gnome.org>
688 * gio/gcontenttype.c:
689 * gio/gwin32appinfo.c:
690 * gio/gwin32volumemonitor.c:
691 * gio/gwin32mount.c: Fixed some include problems.
693 2008-07-01 Cody Russell <bratsche@gnome.org>
697 Moved all relevant typedefs into these files.
700 Updated wrt added files.
702 Split types into separate file for easier maintainership. (#538564)
704 2008-06-30 Matthias Clasen <mclasen@redhat.com>
706 Bug 540331 – g_file_append_to () documentation: can return NULL
708 * gfile.c (g_file_append_to): Clarify docs.
711 2008-06-30 Matthias Clasen <mclasen@redhat.com>
713 Bug 539090 – g_content_type_from_mime_type() should unalias
715 * gcontentype.c (g_content_type_from_mime_type): Unalias.
716 Patch by Markus Bergman
718 2008-06-30 Matthias Clasen <mclasen@redhat.com>
720 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
723 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
724 on ppc and alpha. Reported by Mart Raudsepp
726 2008-06-29 Matthias Clasen <mclasen@redhat.com>
729 * tests/memory-output-stream.c: Add some tests for
732 2008-06-29 Matthias Clasen <mclasen@redhat.com>
734 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
737 * gmemoryoutputstream.c (array_resize): Handle truncation to
738 zero correctly. Reported by Akira Tagoh
740 2008-06-29 Matthias Clasen <mclasen@redhat.com>
742 * gmemoryoutputstream.c: Trivial doc fixes
744 2008-06-29 Matthias Clasen <mclasen@redhat.com>
746 Bug 540802 – g_list_prepend doesn't concat lists
748 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
749 one list to another. Pointed out by Jan Arne Petersen
751 2008-06-28 Michael Natterer <mitch@imendio.com>
753 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
755 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
757 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
758 to avoid problems with partial icon themes.
760 2008-06-17 Hans Breuer <hans@breuer.org>
762 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
763 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
764 access again on win32, see bug #538127
765 * giomodule.c : ensure GWin32VolumeMonitor is registered
766 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
767 * Makefile.am makefile.msc : updated
769 2008-06-16 Hans Breuer <hans@breuer.org>
771 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
772 and initialization in one step avoids c99ism
774 2008-06-16 Christian Persch <chpe@gnome.org>
777 * gio/gbufferedinputstream.c
779 * gio/gdatainputstream.c
780 * gio/gdesktopappinfo.c
782 * gio/gfileenumerator.c
783 * gio/gfileinputstream.c
784 * gio/gfileoutputstream.c
786 * gio/glocaldirectorymonitor.c
788 * gio/glocalfileenumerator.c
789 * gio/glocalfileinfo.c
790 * gio/glocalfilemonitor.c
791 * gio/glocalfileoutputstream.c
792 * gio/gmemoryinputstream.c
793 * gio/gmemoryoutputstream.c
794 * gio/goutputstream.c
795 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
798 2008-06-16 Tor Lillqvist <tml@novell.com>
800 Bug 538362 - Get Win32 icons back in the file chooser
802 * gcontenttype.c (g_content_type_get_icon): Look up the icon
803 corresponding to a file extension in the Registry. Patch by Hans
805 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
807 2008-06-16 Tor Lillqvist <tml@novell.com>
809 Patches by Hans Breuer:
811 * glocalfile.c (is_xp_or_later): Handle compiling against older
812 SDK headers with missing VerifyVersionInfo(). Conditioned on
813 _MSC_VER, but should probably use some better test.
814 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
815 uninitialised statfs_result variable on Win32.
817 2008-06-16 Michael Natterer <mitch@imendio.com>
819 * *.c: chain up unconditionally in finalize() and dispose(). Also
820 don't dereference these function pointers when calling them since
821 that has no meaning at all.
823 2008-06-16 Ross Burton <ross@burtonini.com>
826 Remove check for dispose implementation as it annoys Emmanuele.
828 2008-06-16 Ross Burton <ross@burtonini.com>
830 Bug 536252 – GFileEnumerator should allow access to the containing
836 Add g_file_enumerator_get_container() and a container writeable
837 construct-only property. Also shuffle around typedefs to make it
840 * glocalfileenumerator.c:
841 * glocalfileenumerator.h:
843 Instead of a string filename take a GFile in the constructor and
844 use it to set the container property.
849 2008-06-16 Matthias Clasen <mclasen@redhat.com>
851 * gfile.c: Make includes more uniform
853 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
855 * tests/live-g-file.c (sample_struct):
856 Use less fancy unicode filenames, so the test doesn't fail
857 on Mac OS X (#531476).
859 2008-06-12 Matthias Clasen <mclasen@redhat.com>
861 * === Released 2.17.2 ===
863 2008-06-12 Matthias Clasen <mclasen@redhat.com>
865 * === Released 2.17.1 ===
867 2008-06-11 A. Walton <awalton@gnome.org>
869 * tests/g-file.c (test_g_file_new_null):
870 Fix broken test case.
872 2008-06-11 Matthias Clasen <mclasen@redhat.com>
874 * pltcheck.sh: We use g_clear_error now.
876 2008-06-11 Matthias Clasen <mclasen@redhat.com>
878 * glocalfile.c (g_local_file_enumerate_children): Revert
879 an unintended change.
881 2008-06-11 Matthias Clasen <mclasen@redhat.com>
883 * gfile.c (g_file_replace_contents): Don't unref before the last use.
885 2008-06-10 Matthias Clasen <mclasen@redhat.com>
887 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
890 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
891 as icon for the desktop directory, also make user-home and
892 user-desktop the preferred icons.
894 2008-06-10 Matthias Clasen <mclasen@redhat.com>
897 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
898 to add a name to the front of the list.
900 2008-06-10 Matthias Clasen <mclasen@redhat.com>
902 Bug 537392 – Additional colon in xattr name
904 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
905 too. Reported by Alessandro Morandi
907 2008-06-10 Matthias Clasen <mclasen@redhat.com>
909 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
912 * glocalfile.c (get_fs_type): Add afs and autofs.
913 Patch by Danny Baumann.
915 2008-06-10 Matthias Clasen <mclasen@redhat.com>
917 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
919 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
920 is no parent. (Owen Taylor, patch by Christian Neumair)
922 2008-06-10 Paolo Borelli <pborelli@katamail.com>
924 * gfile.c (g_file_replace_contents): do not leak the output stream.
926 2008-06-10 Michael Natterer <mitch@imendio.com>
928 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
929 uninitialized memory as array index.
931 2008-06-10 Tor Lillqvist <tml@novell.com>
933 * gcontenttype.c (g_content_type_can_be_executable)
934 (g_content_type_get_icon) [Win32]: Add TODO comments.
936 2008-06-09 Matthias Clasen <mclasen@redhat.com>
938 * xdgmime/Makefile.am: Fix the build
940 2008-06-09 Matthias Clasen <mclasen@redhat.com>
942 * gcontenttype.c (g_content_type_get_icon): Use icons specified
943 in the shared mime database, if available.
945 * xdgmime/*: Sync with upstream. This brings support for
946 glob weights, generic icons, and changes the cache format to
949 2008-05-28 Michael Natterer <mitch@imendio.com>
951 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
952 the global CPPFLAGS now.
954 * tests/data-input-stream.c
955 * tests/data-output-stream.c
956 * tests/g-file-info.c
958 * tests/live-g-file.c
959 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
961 2008-05-27 Matthias Clasen <mclasen@redhat.com>
963 * === Released 2.17.0 ===
965 * tests/live-g-file.c: Clean up after the tests, so make distcheck
966 doesn't complain about leftover files.
968 2008-05-27 simon.zheng <simon.zheng@sun.com>
970 * glocalfile.c: (g_local_file_query_filesystem_info):
971 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
973 2008-05-26 Michael Natterer <mitch@imendio.com>
975 * gmemoryoutputstream.h: declare
976 g_memory_output_stream_get_data_size().
978 2008-05-26 Matthias Clasen <mclasen@redhat.com>
980 * tests/*: Make tests work
982 2008-05-26 Matthias Clasen <mclasen@redhat.com>
984 * gio.symbols: Add g_memory_output_stream_get_data_size.
986 2008-05-25 Ross Burton <ross@burtonini.com>
989 Fix typo in error message (#534764).
991 2008-05-25 Ross Burton <ross@burtonini.com>
994 Fix circular dependency loop for gioenumtypes.h (#534759).
996 2008-05-19 Hans Breuer <hans@breuer.org>
998 * Makefile.am : EXTRA_DIST += makefile.msc
1000 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1003 * gcontenttype.c: (g_content_type_from_mime_type):
1004 New function to create a content type from a mime type. (#527175,
1007 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1009 Bug 532965 – Should not return filesystem::free for certain file systems
1011 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1012 free space for ncpfs.
1014 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1016 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1018 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1019 st_dev might be zero.
1021 2008-05-16 Tor Lillqvist <tml@novell.com>
1023 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1024 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1026 2008-05-13 Bastien Nocera <hadess@hadess.net>
1028 * gfile.c (has_valid_scheme): A URI scheme must start with a
1029 letter, even if later more characters are allowed (#532852)
1031 2008-05-05 Michael Natterer <mitch@imendio.com>
1033 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1034 code from being checked in that breaks the build of applications
1035 which use G_DISABLE_SINGLE_INCLUDES.
1037 * makegioalias.pl: make the alias file include "glib.h" instead of
1040 * gio.symbols: whitespace change to force regeneration of the
1041 alias file after above script change.
1043 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1045 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1047 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1049 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1051 2008-04-28 David Zeuthen <davidz@redhat.com>
1053 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1054 displaying mounts in a subdirectory not accessible to the
1057 2008-04-22 Michael Natterer <mitch@imendio.com>
1059 * Makefile.am: fix library versioning (it was 0.0.0).
1061 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1063 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1064 Default disable all loggings.
1065 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1066 (port_fetch_event_cb): Fixed two macro nits.
1068 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1070 * xdgmime/xdgmime.c: Rework the timestamp checking code
1071 to protect against duplicate directories in XDG_DATA_DIRS.
1072 Fixes fd.o bug 12513, reported by Joe Shaw.
1074 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1076 Partically revert the last commit after realizing that
1077 xdg_mime_media_type_equal doesn't have to init at all.
1079 * xdgmime/xdgmime.h:
1080 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1082 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1084 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1086 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1087 reported by Joe Shaw and Federico Mena Quintero.
1089 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1090 (xdg_mime_media_type_equal): Turn into a wrapper around the
1093 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1094 functions throughout.
1096 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1098 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1099 tolerate an empty TryExec= line without failing; nautilus used
1100 to create launchers with these in previous versions. Fixes #528433
1102 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1104 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1105 after name. Fixes #527132.
1107 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1109 * gfile.c: (g_file_replace):
1112 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1114 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1116 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1117 by Christian Kellner.
1119 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1121 * gunixmounts.c: (g_unix_mount_guess_should_display):
1122 Don't list the user directory as a mount, fix potential issue
1123 when other users have a similar naming and don't special case the
1124 gvfs mounts there since that's not required (#525866)
1126 2008-03-31 Alexander Larsson <alexl@redhat.com>
1128 * glocalfile.c (get_parent):
1131 2008-03-31 A. Walton <awalton@svn.gnome.org>
1133 * gfile.c (g_file_query_file_type):
1134 Always return a GFileType enum value (#520715).
1136 2008-03-31 Alexander Larsson <alexl@redhat.com>
1138 * glocalfileenumerator.c:
1139 Read readdir() info in chunks (of 1000) and sort
1140 the chunks by inode before stat:ing.
1141 This is a 20% performance increase in testing
1142 gvfs-ls on /usr/bin with cold cache.
1144 2008-03-31 Alexander Larsson <alexl@redhat.com>
1146 * gmemoryoutputstream.c:
1147 Clarify docs for g_memory_output_stream_get_size.
1148 Add g_memory_output_stream_get_data_size.
1150 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1154 * gfile.h: Add g_file_query_file_type convenience function
1155 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1157 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1159 * gfileenumerator.c:
1160 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1162 2008-03-28 A. Walton <awalton@svn.gnome.org>
1164 * giomodule.c (_g_io_modules_ensure_loaded):
1165 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1168 2008-03-28 Alexander Larsson <alexl@redhat.com>
1171 (copy_stream_with_progress):
1174 2008-03-28 Alexander Larsson <alexl@redhat.com>
1177 (copy_stream_with_progress):
1178 (file_copy_fallback):
1179 Fallback to g_file_query_info for source size
1180 if g_file_input_stream_query_info fails. (#524579)
1182 2008-03-28 Alexander Larsson <alexl@redhat.com>
1184 * glocalfile.c (g_local_file_move):
1185 Reuse old string instead of adding new one.
1187 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1189 * fen/*.[hc]: still copyright issue. I hate copyright.
1191 2008-03-27 Alexander Larsson <alexl@redhat.com>
1193 * glocalfile.c (g_local_file_move):
1194 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1195 file over directory. This is according to the docs and what the move via
1196 copy+remove fallback does.
1198 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1200 * fen/*.[hc]: Updated copyright.
1202 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1204 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1206 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1208 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1209 not emit attribute changed events when optimizing changed events.
1210 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1213 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1215 * gmountoperation.[hc]: Small documentation additions
1217 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1219 * gunixmounts.c: (guess_mount_type):
1220 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1222 2008-03-19 Alexander Larsson <alexl@redhat.com>
1225 (copy_stream_with_progress):
1226 Bump block side for copy to 64k to minimize
1227 overhead for low latency links. (#523015)
1229 2008-03-16 Tor Lillqvist <tml@novell.com>
1231 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1232 depend on gio.def on Windows.
1234 2008-03-12 David Zeuthen <davidz@redhat.com>
1238 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1240 2008-03-14 Alexander Larsson <alexl@redhat.com>
1244 Avoid redudant tests (#521851)
1245 Patch from Josselin Mouette
1247 2008-03-14 Alexander Larsson <alexl@redhat.com>
1250 (g_file_monitor_is_cancelled):
1251 Fix C89 issue (#521672)
1252 Patch from Jens Granseuer
1254 2008-03-14 Alexander Larsson <alexl@redhat.com>
1256 * fam/fam-helper.[ch]:
1258 Shut down fam (including removing fam GSource) when
1259 module is unloaded (#521513)
1260 Patch from Joe Marcus Clarke
1262 2008-03-14 Alexander Larsson <alexl@redhat.com>
1265 (_g_io_modules_ensure_loaded):
1268 2008-03-14 Alexander Larsson <alexl@redhat.com>
1271 (g_local_file_query_filesystem_info):
1272 Use right define name for f_fstypename member check
1274 2008-03-14 Alexander Larsson <alexl@redhat.com>
1277 * fen/Makefile.am: Added.
1278 * fen/fen-data.[ch]: Added.
1279 * fen/fen-dump.[ch]: Added.
1280 * fen/fen-helper.[ch]: Added.
1281 * fen/fen-kernel.[ch]: Added.
1282 * fen/fen-missing.[ch]: Added.
1283 * fen/fen-node.[ch]: Added.
1284 * fen/fen-sub.[ch]: Added.
1285 * fen/gfendirectorymonitor.[ch]: Added.
1286 * fen/gfenfilemonitor.[ch]: Added.
1288 Added Solaris FEN file notification backend.
1289 Patch from Lin Ma <Lin.Ma@Sun.COM>
1291 2008-03-13 Tor Lillqvist <tml@novell.com>
1293 * Makefile.am: Actually use the gio.def file when linking the
1294 library on Windows. Produce .lib library for Microsoft's toolchain
1295 when possible. Install the .lib and .def file like for the other
1298 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1300 * tests/live-g-file.c:
1301 Include live-g-file in standard set of tests, making a temporary
1302 directory in source structure.
1304 Clean target directory before the tests (write mode only)
1306 2008-03-12 Tor Lillqvist <tml@novell.com>
1308 Bug 517419 - gio win32 directory monitor
1309 Implementation by Vlad Grecescu.
1312 * win32/gwin32directorymonitor.h
1313 * win32/gwin32directorymonitor.c: New files.
1315 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1317 * Makefile.am: Add the win32 subdirectory.
1319 2008-03-12 Tor Lillqvist <tml@novell.com>
1321 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1322 normal struct stat on Unix but struct _stati64 on Windows to have
1323 access to 64-bit file size information. Use that instead of struct
1324 stat in the functions declared here in this private header.
1326 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1327 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1328 warnings about unused functions and variables. Don't set
1329 meaningless attributes like inode numbers on Windows.
1331 2008-03-12 Benjamin Otte <otte@gnome.org>
1334 trim whitespace so gtk-doc groks the function name
1336 2008-03-12 Tor Lillqvist <tml@novell.com>
1338 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1339 returning FALSE, on Win32.
1341 2008-03-11 Alexander Larsson <alexl@redhat.com>
1344 * glocalfileinfo.[ch]:
1345 Correctly implement can_trash by actually
1346 looking for a trash dir, not just assuming
1349 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1351 * === Released 2.16.1 ===
1353 2008-03-11 Alexander Larsson <alexl@redhat.com>
1356 Fix crashes in new constructor and properties code
1358 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1360 * gfile.c: Minor spelling correction in documentation:
1361 existance -> existence.
1363 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1365 * === Released 2.16.0 ===
1367 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1369 * gio.symbols: Remove g_file_contains_file here, too.
1371 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1373 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1374 Samuel Cormier-Iijima)
1376 2008-03-08 Tor Lillqvist <tml@novell.com>
1378 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1381 2008-03-07 Alexander Larsson <alexl@redhat.com>
1384 (g_local_file_query_filesystem_info):
1385 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1386 Patch from Jasper Lievisse Adriaanse
1388 2008-03-06 Tor Lillqvist <tml@novell.com>
1390 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1391 comments for the *_USEC attributes.
1393 2008-03-06 Alexander Larsson <alexl@redhat.com>
1395 * gfile.c (g_file_query_exists):
1396 Add g_return_val_if_fail check (#520700)
1398 2008-03-06 Alexander Larsson <alexl@redhat.com>
1400 * gdesktopappinfo.c:
1403 * gunionvolumemonitor.c:
1406 * tests/live-g-file.c:
1407 * xdgmime/xdgmimecache.c:
1408 Fix sparse warnings (#519489)
1410 2008-03-05 Alexander Larsson <alexl@redhat.com>
1413 Make cancellation threadsafe (i.e.
1414 guarantee its only done once, and always
1417 * glocaldirectorymonitor.c:
1418 Make sure we the monitor lives while the
1419 mounts_changed callback is being called (#520484)
1421 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1423 * gbufferedinputstream.c: Fix typo in parameter
1426 2008-03-04 Alexander Larsson <alexl@redhat.com>
1429 Remove deprecated symbols we kept for one release.
1431 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1434 * goutputstream.c: Tiny documentation corrections.
1436 2008-03-03 Alexander Larsson <alexl@redhat.com>
1438 * gunionvolumemonitor.c:
1440 Fix the adopt_orphan_mount vfunc to take a
1441 volume_monitor reference in an ABI compat way.
1442 This change is not API compat, but the added
1443 arg is not used in the only user of this vfunc, so
1444 all we get is a harmless warning in gvfs (#520169)
1446 2008-03-01 Benjamin Otte <otte@gnome.org>
1449 clarify docs for g_file_delete().
1451 2008-02-29 Alexander Larsson <alexl@redhat.com>
1455 Make sure empty files get text/plain type (#518720)
1457 2008-02-27 Alexander Larsson <alexl@redhat.com>
1463 (g_unix_volume_mount):
1464 Add missing GMountMountFlags argument
1466 2008-02-26 Alexander Larsson <alexl@redhat.com>
1469 (g_local_file_delete):
1470 Handle filesystems (like ntfs-3g) that return EEXIST instead
1471 of ENOTEMPTY (#518816)
1473 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1475 * === Released 2.15.6 ===
1477 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1479 * gfile.c (g_file_find_enclosing_mount):
1480 * ginputstream.c (g_input_stream_set_pending):
1481 * glocalfile.c (g_local_file_find_enclosing_mount):
1482 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1483 * goutputstream.c (g_output_stream_set_pending):
1485 Fixup translator comments (#518578).
1487 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1489 * gfile.c (g_file_find_enclosing_mount):
1491 * glocalfile.c (g_local_file_find_enclosing_mount):
1494 Fix a few typos in translator comments and documentation.
1496 2008-02-25 Alexander Larsson <alexl@redhat.com>
1503 Add translator comments (#518578)
1505 2008-02-25 Alexander Larsson <alexl@redhat.com>
1508 Reintroduce g_file_contains_file, keep around for one
1509 unstable release cycle to avoid crashing to many apps.
1510 Make sure to delete after release.
1512 2008-02-25 Alexander Larsson <alexl@redhat.com>
1515 Remove deprecated g_file_contains_file.
1517 2008-02-25 Alexander Larsson <alexl@redhat.com>
1520 Emit actual change signals in an idle handler.
1521 This avoids reentrance and locking problems in
1522 the file notification backends.
1524 2008-02-25 Alexander Larsson <alexl@redhat.com>
1527 (g_unix_mount_guess_should_display):
1528 Remove type guessing, instead just display
1529 mounts in /media and in ~/.
1531 2008-02-25 Alexander Larsson <alexl@redhat.com>
1534 Make new strings reuse old ones.
1536 2008-02-25 Alexander Larsson <alexl@redhat.com>
1539 Implement trashing and filesystem::readonly for win32 (#517235)
1540 Patch from Yevgen Muntyan
1542 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1544 * gfileinfo.h: Documentation fixes.
1546 2008-02-22 Alexander Larsson <alexl@redhat.com>
1548 * gcontenttype.c (g_content_type_get_icon):
1549 Look at old-style gnome mime icon names too, as many
1550 have not moved to the new style.
1552 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1554 * *.c: Correct the @include in for section docs.
1556 2008-02-21 David Zeuthen <davidz@redhat.com>
1558 * glocalfileinfo.c: (_g_local_file_info_get):
1560 (g_content_type_get_icon): Implement this function by
1561 moving bits from glocalfileinfo.c
1562 (g_content_type_get_description): Unalias before getting
1563 description (#517687)
1565 * gfile.c: (g_file_class_init),
1566 (g_file_query_filesystem_info_async),
1567 (g_file_query_filesystem_info_finish),
1568 (query_filesystem_info_data_free),
1569 (query_filesystem_info_async_thread),
1570 (g_file_real_query_filesystem_info_async),
1571 (g_file_real_query_filesystem_info_finish):
1572 * gfile.h: Implement async version of
1573 g_file_query_filesystem_info()
1575 * gfileinfo.h: Add new attributes for filesystem::use-preview
1577 * gio.symbols: Update
1579 * gthemedicon.c: (g_themed_icon_append_name):
1580 * gthemedicon.h: Add new new convenience function.
1582 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1583 (get_mounts), (get_volumes), (get_connected_drives),
1584 (get_volume_for_uuid), (get_mount_for_uuid),
1585 (g_union_volume_monitor_init), (populate_union_monitor),
1586 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1587 (g_volume_monitor_adopt_orphan_mount):
1589 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1590 monitor implementations to call into the main volume monitor. Also
1591 separate object initialization and volume monitor initialization
1592 such that non-native volume monitors can properly adopt their
1595 2008-02-21 Alexander Larsson <alexl@redhat.com>
1600 2008-02-21 Alexander Larsson <alexl@redhat.com>
1603 Add more documentation about how GFiles work (from #517086)
1605 2008-02-21 Alexander Larsson <alexl@redhat.com>
1609 Add new g_file_has_prefix that does the same as g_file_contains_file.
1610 Deprecate g_file_contains_file and add a macro that converts
1611 it to g_file_has_prefix.
1612 The reason for this change is that the contains_file() name seems to
1613 imply that this does more work than what it does, but its really only
1614 a name match (from #517086)
1619 Update to match the above change.
1621 2008-02-20 Benjamin Otte <otte@gnome.org>
1623 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1624 (g_file_eject_mountable):
1625 even more cases of not returning in error path
1627 2008-02-20 Benjamin Otte <otte@gnome.org>
1629 * gfile.c: (g_file_mount_mountable):
1630 return from function in error path.
1632 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1635 Remove trailing coma in GMountMountFlags struct
1637 2008-02-18 Alexander Larsson <alexl@redhat.com>
1641 * glocalfileoutputstream.c:
1642 Use g_unlink/g_rename instead of unlink/rename;
1643 do not pass raw filenames to g_set_error. (#517239)
1644 Patch from Yevgen Muntyan.
1646 2008-02-18 Alexander Larsson <alexl@redhat.com>
1649 * glocalfileoutputstream.c:
1650 Open files with O_BINARY on windows. (#517140)
1652 2008-02-14 Alexander Larsson <alexl@redhat.com>
1654 * glocalfileoutputstream.c:
1655 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1657 2008-02-14 Alexander Larsson <alexl@redhat.com>
1660 Copy permissions with file on copy (#514084)
1661 This is what cp does and makes sure e.g. the
1662 exec permissions are kept.
1663 Its kinda weird in that it keeps the permission bits
1664 the same while the uid and gid are different. However
1665 the new uid is the user so its not a security issue,
1666 and I've heard no complaints about cp on this issue.
1668 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1670 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1672 2008-02-13 Alexander Larsson <alexl@redhat.com>
1674 * inotify/inotify-path.c:
1675 Define IN_ONLYDIR if not in header (#515346)
1677 2008-02-12 Alexander Larsson <alexl@redhat.com>
1679 * tests/live-g-file.c:
1682 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1684 * === Released 2.15.5 ===
1686 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1688 * gio.symbols: Add g_mount_mount_flags_get_type.
1690 2008-02-11 Alexander Larsson <alexl@redhat.com>
1693 (g_file_info_set_attribute_mask):
1694 (g_file_attribute_matcher_matches_id):
1695 Correctly handle NULL GAttributeMatcher meaning
1696 matches nothing. (Fixes #513492)
1698 2008-02-11 Alexander Larsson <alexl@redhat.com>
1703 Added GMountMountFlags enum and added a flags
1704 argument to all mount calls.
1706 This is an API/ABI change for future extensibility,
1707 as I think we will need at least an
1708 inhibit-autorun flag (the panel needs this).
1709 There are no flags defined yet though.
1711 2008-02-11 Alexander Larsson <alexl@redhat.com>
1714 Added new standard::description attribute.
1715 Requested by Vincent, and useful for both
1718 2008-02-11 Alexander Larsson <alexl@redhat.com>
1720 * gdesktopappinfo.c:
1723 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1725 * *.c: Documentation additions
1727 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1729 * gappinfo.h: Formatting cleanup
1730 * gappinfo.c: Fix up docs.
1732 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1734 * gunixmounts.c: Consistently use getmntent_r() and fall
1735 back to getmntent(). (#515492)
1737 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1739 * gbufferedinputstream.c:
1741 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1743 * tests/data-input-stream.c:
1744 * tests/data-output-stream.c: Portability fixes.
1746 2008-02-08 Alexander Larsson <alexl@redhat.com>
1751 Add g_volume_should_automount.
1754 2008-02-07 Tor Lillqvist <tml@novell.com>
1756 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1757 Win32, too Unix-specific.
1759 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1761 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1762 a local plt if the compiler doesn't support what we want. Bug #514702
1764 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1766 reviewed by: <delete if not using a buddy>
1769 * gunixinputstream.c:
1770 * gunixoutputstream.c:
1772 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1774 * tests/Makefile.am:
1775 * tests/live-g-file.c:
1776 * tests/live-g-file.txt:
1777 New GIO testing module working over real data
1779 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1781 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1782 Fallback to rename() if link() is not available
1783 (when no support on target filesystem)
1785 2008-02-06 Michael Natterer <mitch@imendio.com>
1787 * gfileinfo.c (g_file_info_get_icon): replace
1788 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1790 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1792 * gfile.c (g_file_create):
1793 Documentation update of error codes
1795 2008-02-06 Alexander Larsson <alexl@redhat.com>
1797 * gdesktopappinfo.c:
1798 Update to use both mimeapps.list and
1799 defaults.list as discussed on xdg list.
1801 2008-02-06 Benjamin Otte <otte@gnome.org>
1804 * gfilenamecompleter.c:
1805 Fix some typos in the documentation.
1807 2008-02-06 Alexander Larsson <alexl@redhat.com>
1809 * glocalfile.c (g_local_file_trash):
1810 Don't succeed with trash if newly created
1811 trash dir has the wrong owner. (#514696)
1813 2008-02-05 Alexander Larsson <alexl@redhat.com>
1815 * glocalfile.c (g_local_file_move):
1816 Don't spew warnings when destination is not
1819 2008-02-03 Hans Breuer <hans@breuer.org>
1821 * makefile.msc : update
1823 2008-02-01 Michael Natterer <mitch@imendio.com>
1825 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1826 return value of xdg_mime_list_mime_parents() to a variable of the
1829 2008-02-01 Alexander Larsson <alexl@redhat.com>
1831 * gappinfo.c (g_app_info_launch_uris):
1832 Actually call the launch_uris method, not
1835 2008-02-01 Alexander Larsson <alexl@redhat.com>
1837 * gdesktopappinfo.c (g_desktop_app_info_equal):
1838 Ensure appinfos with no id but same pointer value
1841 2008-02-01 Alexander Larsson <alexl@redhat.com>
1843 * gappinfo.c (g_app_info_launch_default_for_uri):
1846 2008-02-01 Alexander Larsson <alexl@redhat.com>
1850 Add g_app_info_launch_default_for_uri utility
1853 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1855 * gdesktopappinfo.c:
1856 Doc fix for g_app_info_get_default_for_uri_scheme ()
1859 2008-01-30 Alexander Larsson <alexl@redhat.com>
1862 Add doc comment about uris vs GFiles to
1865 * gdesktopappinfo.c:
1866 Ensure uris passed to g_app_info_launch_uris()
1867 are not roundtriped through GFile (as that
1868 may be slightly destructive for e.g. mailto: links)
1870 2008-01-30 Alexander Larsson <alexl@redhat.com>
1872 * tests/data-input-stream.c:
1873 * tests/data-output-stream.c:
1874 C89 fixes from Jens Granseuer (#512849)
1876 2008-01-30 Alexander Larsson <alexl@redhat.com>
1879 Fix gamin/fam difference build issue. (#509419)
1881 2008-01-29 Alexander Larsson <alexl@redhat.com>
1884 * gdesktopappinfo.c:
1885 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1887 2008-01-29 Alexander Larsson <alexl@redhat.com>
1889 * gdesktopappinfo.c:
1890 * gdesktopappinfo.h:
1891 giomodule-priv.h include moved to .c file.
1893 2008-01-29 Alexander Larsson <alexl@redhat.com>
1895 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1896 Remove unused prio/name fields.
1898 2008-01-29 Alexander Larsson <alexl@redhat.com>
1900 * gcontenttype.c (looks_like_text):
1901 Don't treat whitespace as control chars.
1903 2008-01-29 Alexander Larsson <alexl@redhat.com>
1905 * gdesktopappinfo.c:
1906 Lazily create the desktop files for appinfos created
1907 by g_app_info_create_from_commandline() when needed
1908 for mime associations. This allows run-time use
1909 of GAppInfo object without creating unnecessary
1912 2008-01-29 Alexander Larsson <alexl@redhat.com>
1915 Added new symbols to gio.symbols
1917 2008-01-29 Alexander Larsson <alexl@redhat.com>
1920 Add g_file_query_default_handler utility to easily look up
1921 the GAppInfo that handles a file.
1923 * gdesktopappinfo.[ch]:
1925 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1928 Remove unused function
1930 2008-01-29 Alexander Larsson <alexl@redhat.com>
1932 * gfileenumerator.c:
1933 Mention need to free returned value in
1934 g_file_enumerator_next_files_finish docs.
1935 Fix leak if g_file_enumerator_next_files_finish()
1938 2008-01-29 Alexander Larsson <alexl@redhat.com>
1941 (_g_unix_content_type_get_parents):
1942 Use list_parents, not get_parents from xdgmime, because
1943 the later doesn't use the cache.
1945 * xdgmime/xdgmimecache.c:
1946 (_xdg_mime_cache_list_mime_parents):
1947 Don't list the same type as parent multiple times.
1949 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1951 * === Released 2.15.4 ===
1953 2008-01-28 Alexander Larsson <alexl@redhat.com>
1956 Register local vfs with prio 0.
1959 Remove old name and prio class members
1961 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1963 * tests/g-file.c: Disable some tests that are failing in
1964 the absence of a http backend.
1966 2008-01-28 Alexander Larsson <alexl@redhat.com>
1970 Add registration hooks for extension points.
1971 Register the gio extension points.
1973 * fam/gfamdirectorymonitor.c:
1974 * fam/gfamfilemonitor.c:
1975 * glocaldirectorymonitor.[ch]:
1976 * glocalfilemonitor.[ch]:
1977 * gnativevolumemonitor.h:
1978 * gunionvolumemonitor.c:
1979 * gunixvolumemonitor.c:
1982 * inotify/ginotifydirectorymonitor.c:
1983 * inotify/ginotifyfilemonitor.c:
1984 Use the extension points registration instead
1985 of g_type_children().
1987 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1990 * gvolume.[hc]: Document new API.
1992 * gfile.c (g_file_copy_async): Fix docs
1994 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1996 * gbufferedinputstream.c:
1998 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2001 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2003 * glocalfile.c: Avoid trivial differences in translatable strings.
2005 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2007 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2008 build with gcc 3.4 (#509419)
2010 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2012 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2013 (#509994, Murray Cumming)
2015 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2017 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2018 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2019 this allows big jobs to be executed in chunks, instead of blocking
2020 the main loop for a long time.
2022 * gsimpleasyncresult.c:
2023 * giofile.c: Adapt callers.
2025 2008-01-25 Alexander Larsson <alexl@redhat.com>
2027 * gdesktopappinfo.c:
2028 Implement changes discussed on xdg list.
2029 Now we can add supported mimetypes by just using defaults.list
2030 We can also remove associations in defaults.list.
2032 2008-01-25 Alexander Larsson <alexl@redhat.com>
2034 * gdesktopappinfo.c:
2035 Don't make local copy of desktop file
2036 for mimetype changes if the file already
2037 supports the new mimetype.
2039 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2043 * gbufferedinputstream.c:
2044 * glocalfile.c: String improvements. (#511966,
2045 Theppitak Karoonboonyanan)
2047 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2049 * gioscheduler.h: Expand docs a bit.
2051 2008-01-24 Alexander Larsson <alexl@redhat.com>
2054 Add g_drive_get_identifier and
2055 g_drive_enumerate_identifiers
2058 Add g_volume_get_identifier and
2059 g_volume_enumerate_identifiers
2065 Implement identifiers for unix backend
2067 2008-01-24 Alexander Larsson <alexl@redhat.com>
2072 Add g_file_copy_async() (#511580)
2073 Based on patch from Carlos Garcia Campos
2075 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2077 * gioscheduler.c: Some documentation additions.
2079 2008-01-22 Alexander Larsson <alexl@redhat.com>
2081 * gdesktopappinfo.c:
2082 (g_desktop_app_info_new):
2083 Don't leak basename.
2085 2008-01-22 Alexander Larsson <alexl@redhat.com>
2087 * gdesktopappinfo.c:
2088 (g_desktop_app_info_new_from_filename):
2091 2008-01-22 Alexander Larsson <alexl@redhat.com>
2093 * glocalfileinfo.c (get_thumbnail_attributes):
2096 2008-01-22 Alexander Larsson <alexl@redhat.com>
2099 (canonicalize_filename):
2100 Canonicalize paths that start with more than
2104 (compare_two_files):
2105 (test_g_file_new_for_path):
2108 2008-01-22 Alexander Larsson <alexl@redhat.com>
2111 Allow UTF-8 in file:// parse names.
2113 * tests/Makefile.am:
2114 * tests/data-input-stream.c:
2115 * tests/data-output-stream.c:
2116 * tests/g-file-info.c:
2118 Added a bunch of tests from Tomas Bzatek
2120 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2122 * === Released 2.15.3 ===
2124 2008-01-21 Alexander Larsson <alexl@redhat.com>
2126 * gfileinputstream.[ch]:
2127 * gfileoutputstream.[ch]:
2129 Remove duplicated GSeekable functions. (#509990)
2130 Just use the g_seekable_xxx() calls instead.
2132 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2135 * gvolumemanager.c: Whitespace cleanups.
2137 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2138 Use the right mode when creating the file.
2140 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2142 * gfileenumerator.c:
2143 * gfileinputstream.c:
2145 * goutputstream.c: Documentation: Fixed minor typos
2146 and added more mentions of specific _finish() functions.
2148 2008-01-21 Alexander Larsson <alexl@redhat.com>
2150 * inotify/Makefile.am:
2151 * inotify/inotify-helper.c:
2152 * inotify/inotify-kernel.c:
2153 * inotify/inotify-path.c:
2154 * inotify/local_inotify.h: Removed.
2155 * inotify/local_inotify_syscalls.h: Removed.
2156 Removed the included copies of the inotify
2157 headers. We now only use the <sys/inotify.h>
2158 header which exists on modern systems.
2159 This fixes problems on ARM and SH5 (#510448)
2160 but is also generally much cleaner and future
2161 safe. For instance, if other OSes add support
2162 for inotify it should "just work".
2164 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2166 * inotify/*.c: Coding style fixes.
2167 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2168 for the 1/4 Hz timer.
2170 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2173 * gfilemonitor.[hc]:
2174 * gmemoryinputstream.c:
2175 * gmemoryoutputstream.c:
2176 * gmountoperation.c:
2177 * gthemedicon.c: Documentation updates
2179 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2181 * gfile.c: documentation: Fixed more minor
2184 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2186 * gmount.c: (g_mount_remount): documentation:
2187 Mention g_mount_remount_finish() instead of
2188 g_mount_unmount_finish().
2190 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2194 * gfile.c: Fixed some minor typos in the
2197 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2199 * gio/gvolumemonitor.c:
2200 (g_volume_monitor_get_connected_drives):
2201 (g_volume_monitor_get_volumes):
2202 (g_volume_monitor_get_mounts): Documentation:
2203 Clarify the ownership of the regurn GLists.
2205 2008-01-17 Alexander Larsson <alexl@redhat.com>
2208 Add the async find_enclosing_mount version
2209 to the header file too.
2211 2008-01-17 Alexander Larsson <alexl@redhat.com>
2214 Add async version of find_enclosing_mount
2215 with default implementation.
2217 2008-01-17 Alexander Larsson <alexl@redhat.com>
2222 Allow calls to implementation of copy and write
2223 even if the type of the file implementations is
2224 different. This can be used to implement native
2225 upload and download calls in a vfs.
2228 (g_local_file_move):
2229 Protect against the case where move is called
2230 with one file not being local.
2232 Make sure we call the progress callback once
2233 in the native move operation so that the caller
2234 knows how many bytes were copied.
2236 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2239 * gdatainputstream.c:
2241 * gfileoutputstream.c:
2246 * gunixmounts.c: Corrected some typos in the documentation:
2247 occured -> occurred.
2248 its -> it's (where appropriate).
2250 2008-01-16 Alexander Larsson <alexl@redhat.com>
2254 Add g_file_query_exists (#508771)
2256 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2261 * gvolume.c: For async functions that have no non-async
2262 version, document that the GAsyncReadyCallback may be NULL.
2265 2008-01-15 Alexander Larsson <alexl@redhat.com>
2267 * gmemoryinputstream.c:
2268 * gmemoryoutputstream.c:
2269 Don't do pointer arithmetic on void * (#508602)
2270 Patch from Kazuki IWAMOTO
2272 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2274 * === Released 2.15.2 ===
2276 2008-01-14 Alexander Larsson <alexl@redhat.com>
2278 * gfile.c (g_file_monitor_file):
2279 Don't set error here, since we fallback to polling monitor.
2281 2008-01-14 Alexander Larsson <alexl@redhat.com>
2284 (g_file_monitor_directory):
2285 (g_file_monitor_file):
2286 Add GError to file monitor calls
2288 * glocaldirectorymonitor.c:
2289 * glocaldirectorymonitor.h:
2291 * glocalfilemonitor.c:
2292 * glocalfilemonitor.h:
2294 Update for above change
2296 2008-01-14 Alexander Larsson <alexl@redhat.com>
2300 Handle root correctly in g_file_get_relative_path (#508719)
2302 2008-01-14 Alexander Larsson <alexl@redhat.com>
2305 Clean up docs and example for GAsyncResult (#508074)
2307 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2309 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2310 and correct some spelling mistakes. Bug #508108.
2312 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2314 * glocalfileinfo.c: Add a comment.
2316 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2318 * gfileinfo.c: GFileInfo description: Mention
2319 how to actually set attributes in a GFile and how to discover
2320 which attributes are settable. Bug #508378.
2322 2008-01-10 A. Walton <awalton@svn.gnome.org>
2324 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2325 (g_app_info_get_default_for_type):
2326 Check for NULL content types.
2328 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2330 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2332 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2334 * gfile.c: *_async() functions: Several small corrections
2335 to the documentation, mostly correcting copy/paste errors
2336 and improving some sentences.
2338 2008-01-09 Dan Winship <danw@gnome.org>
2340 * glocalfile.c (get_unique_filename): x86_64 fix
2342 2008-01-09 Alexander Larsson <alexl@redhat.com>
2347 Add g_unix_mount_guess_should_display and use
2348 for unix volume monitor backend.
2349 This means we more or less show what the
2350 gnome-vfs backend did.
2351 Based on patch from Padraig O'Briain
2353 2008-01-09 Alexander Larsson <alexl@redhat.com>
2357 Add g_themed_icon_new_with_default_fallbacks
2360 Use default fallbacks for icons
2362 2008-01-09 Alexander Larsson <alexl@redhat.com>
2365 * gmountoperation.[ch]:
2366 Change the API a bit so that unhandled methods
2367 get reported via the reply, rather than by
2368 the signal emission return value. This is because
2369 some handlers can't know this immediately without
2370 doing I/O, and this is an async operation that
2373 2008-01-09 Alexander Larsson <alexl@redhat.com>
2376 * fam/gfamdirectorymonitor.c:
2377 * fam/gfamfilemonitor.c:
2378 Fix double free crash (#508224)
2379 Patch from Joe Marcus Clarke
2381 008-01-07 Matthias Clasen <mclasen@redhat.com>
2383 * === Released 2.15.1 ===
2385 2008-01-07 Alexander Larsson <alexl@redhat.com>
2387 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2388 Fix warning (#507835)
2390 2008-01-07 Alexander Larsson <alexl@redhat.com>
2393 Pass --internal to glib-genmarshal
2396 * gmountoperation.c:
2398 Use better types for signal arguments (#507822)
2400 2008-01-07 Alexander Larsson <alexl@redhat.com>
2403 Build test subdir after .
2404 Remove gdirectorymonitor.[ch]
2406 * gdirectorymonitor.[ch]:
2410 Remove GDirectoryMonitor and make
2411 GFileMonitor the baseclass for both file and
2412 directory monitors. Lift the more generic
2413 rate limiting code from GDirectoryMonitor
2417 * fam/gfamdirectorymonitor.[ch]:
2418 * inotify/ginotifydirectorymonitor.[ch]:
2419 * inotify/inotify-helper.c:
2420 * glocaldirectorymonitor.[ch]:
2423 Update for the removed GDirectoryMonitor.
2425 * gmemoryoutputstream.c:
2426 Remove ununsed variable
2428 2008-01-07 Alexander Larsson <alexl@redhat.com>
2430 * gmemoryinputstream.c:
2431 Translate error strings
2434 * gmemoryoutputstream.[ch]:
2435 New implementation that avoids using GByteArray
2436 in implementation and API. (#506377)
2438 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2440 * tests/*: Add a test for memory input streams.
2442 * Makefile.am: Add tests to SUBDIRS.
2444 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2446 * glocalfilemonitor.c:
2447 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2450 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2452 * gdesktopappinfo.c: Fix a docs typo.
2454 * gfileattribute.c: Add information about extended attributes
2455 to the documentation. (#505058)
2457 2008-01-04 Alexander Larsson <alexl@redhat.com>
2460 * gmountoperation.c:
2461 Use the right type (uint) for the ask_password signal.
2463 2008-01-04 Alexander Larsson <alexl@redhat.com>
2468 Add g_app_info_supports_files()
2469 Remove desktop arg from g_app_info_should_show().
2471 * gdesktopappinfo.[ch]:
2472 Implement g_app_info_supports_files() and new should_show()
2473 Add g_desktop_app_info_set_desktop_env() to set the desktop
2474 for should_show(). (This will be set by gtk+ later)
2476 2008-01-04 Alexander Larsson <alexl@redhat.com>
2479 * gmemoryinputstream.[ch]:
2480 Improve API so that you can use multiple chunks
2481 of memory and custom destroy functions. (#506374)
2483 2008-01-03 Alexander Larsson <alexl@redhat.com>
2486 Handle NULL attribute matchers safely, as we return this
2487 for empty attribute matcher strings.
2489 2008-01-03 Alexander Larsson <alexl@redhat.com>
2491 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2492 Add /usr/local to list of internal mountpoints
2494 2008-01-03 Alexander Larsson <alexl@redhat.com>
2497 Check for HAVE_LCHOWN (#505887)
2499 2008-01-03 Alexander Larsson <alexl@redhat.com>
2503 Add define for selinux context attribute.
2504 Fix missing : -> :: namespace separator change
2505 Fix missing _ -> - name change for xattr-sys.
2508 2008-01-03 Alexander Larsson <alexl@redhat.com>
2511 Link to libglib and libgobject directly (#504879)
2512 Patch from Sebastien Bacher
2514 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2516 * gfile.c: Expanded the g_file_new_for_commandline_arg
2517 description a bit, based on the code and the docs of the
2518 other g_file_new_for_* functions.
2520 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2522 * gfilemonitor.h: Fixed typo in docs.
2524 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2526 Updates to GIO documentation. (#506395, Mikael Hermansson)
2528 * gcontenttype.c: Describe memory management for return value of
2529 g_content_types_get_registered(). Missing piece from #505815.
2530 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2531 GVolume, GDrive, GMounts, which hopefully gives the user less
2532 confusions when using this API. Following explainations from
2533 Alexander Larsson on gtk-devel-list.
2535 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2537 * gfileinfo.c: Expand the long description.
2539 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2542 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2543 fix builds with --disable-visibility. (#500273, Christian Persch)
2545 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2547 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2548 in the list of returned app infos.
2550 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2552 * gappinfo.c: Fix a cross-reference
2554 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2556 * gfileinputstream.c:
2557 * gfileoutputstream.c:
2561 * gdesktopappinfo.c:
2563 * gfileinfo.c: Documentation updates.
2565 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2567 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2570 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2572 * gcontenttype.c (g_content_types_get_registered): Don't return
2573 freed memory (#505815, Mikael Hermansson)
2575 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2577 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2578 used to detect statbuf->st_blocks. (#505042)
2580 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2582 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2583 environment handling. (#504829, Cosimo Cecchi)
2585 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2587 * gappinfo.c: Doc improvements
2589 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2592 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2594 * === Released 2.15.0 ===
2596 2007-12-20 Hans Breuer <hans@breuer.org>
2598 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2599 with symbols gwin32appinfo.obj, added gmount.obj
2600 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2602 2007-12-20 Alexander Larsson <alexl@redhat.com>
2608 * gfilenamecompleter.c:
2611 * gpollfilemonitor.c:
2612 File attribute renames:
2614 fs:: -> filesystem::
2615 id::fs -> id::filesystem
2617 2007-12-20 Alexander Larsson <alexl@redhat.com>
2626 Add GMountUnmountFlags to all unmount and
2628 Add g_mount_remount() call.
2630 2007-12-20 Alexander Larsson <alexl@redhat.com>
2632 * gvfs.c (get_default_vfs):
2633 Fix unused variable warning
2635 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2637 * pltcheck.sh: Update
2639 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2641 * gunionvolumemonitor.c:
2642 * gunixmount.c: Remove C99 comments
2644 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2646 * gio.symbols: Add some missing symbols
2648 2007-12-19 Alexander Larsson <alexl@redhat.com>
2651 Make g_io_modules_load_all_in_directory not unuse
2652 loaded modules so that users of it can do stuff
2654 Init internal "module" types.
2655 Initialize static prio and name for types so that
2656 we don't have to load modules to get it.
2658 * gnativevolumemonitor.h:
2660 Move is_supported to parent class so that
2661 non-native monitors can avoid being initialized
2662 too. (For instance GDaemonVolumeMonitor if we're
2663 not using GDaemonVfs.)
2665 * glocaldirectorymonitor.[ch]:
2666 * glocalfilemonitor.[ch]:
2667 * gunionvolumemonitor.c:
2668 * gunixvolumemonitor.c:
2670 Find plugins using the static prio+name to
2671 avoid unnecessarily loading the modules.
2673 2007-12-19 Alexander Larsson <alexl@redhat.com>
2678 2007-12-19 Alexander Larsson <alexl@redhat.com>
2680 * gunionvolumemonitor.c:
2681 Store the native type as GType, not class so that
2682 we can unload it. But still avoid unnecessarily
2685 2007-12-19 David Zeuthen <davidz@redhat.com>
2687 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2688 add signals 'disconnected' and 'eject-button' on GDrive. Add
2689 signal 'removed' on GVolume and 'unmounted' on GMount.
2691 * gdrive.c: (g_drive_base_init):
2693 * gfile.c: (g_file_mount_mountable),
2694 (g_file_mount_enclosing_volume):
2697 * gmount.c: (g_mount_base_init):
2699 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2700 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2701 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2705 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2707 * *.c: Fix up includes in the section docs.
2709 2007-12-17 Alexander Larsson <alexl@redhat.com>
2711 * gnativevolumemonitor.h:
2712 * gunionvolumemonitor.c:
2713 * gunixvolumemonitor.c:
2714 Add is_supported() to GNativeVolumeMonitorClass so
2715 that we can avoid having to create an object to see
2716 if the backend is supported at runtime.
2717 Also add name member and an env var to pick a specific
2718 volume monitor backend.
2722 Add cancellable to _g_mount_get_for_mount_path()
2724 * glocaldirectorymonitor.c:
2725 * glocalfilemonitor.c:
2726 Avoid loading and unloading modules while sorting.
2728 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2731 * gunixmounts.[hc]: Namespace waste reduction, move some
2732 g_get_unix_mount functions to the g_unix_mount namespace.
2735 * gunixvolumemonitor.c:
2737 * glocaldirectorymonitor.c: Update all callers.
2739 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2741 2007-12-17 Alexander Larsson <alexl@redhat.com>
2744 Add doc comments about what GFile operations are
2745 guaranteed to not block.
2747 2007-12-17 Alexander Larsson <alexl@redhat.com>
2750 Add missing #ifdef fixing OSX build.
2751 (#503334, patch from Richard Hult)
2753 2007-12-14 David Zeuthen <davidz@redhat.com>
2757 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2758 (g_mount_eject), (g_mount_eject_finish):
2760 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2761 (get_volume_for_uuid), (get_mount_for_uuid),
2762 (g_union_volume_monitor_class_init),
2763 (get_default_native_type_with_exclude), (get_default_native_type),
2764 (get_native_type), (update_native_type),
2765 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2766 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2767 (g_unix_mount_can_eject), (eject_unmount_cb),
2768 (eject_unmount_read_error), (eject_unmount_do),
2769 (g_unix_mount_unmount), (g_unix_mount_eject),
2770 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2771 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2772 (g_unix_mount_point_guess_can_eject):
2774 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2775 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2776 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2777 (g_unix_volume_mount), (g_unix_volume_eject),
2778 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2779 * gunixvolumemonitor.c: (get_volume_for_uuid),
2780 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2782 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2783 (g_volume_eject), (g_volume_eject_finish):
2785 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2786 (g_volume_monitor_get_mount_for_uuid):
2789 Provide eject() on both GMount and GVolume and utility functions
2790 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2791 ejected. Introduce the concept of UUID's and wire it into GVolume
2792 and GMount and provide API on GVolumeMonitor to find such
2793 instances. Also handle the case where an external
2794 GNativeVolumeMonitor fails to initialize. Lock around the
2795 _g_get_mount_for_mount_path() function such that volume monitor
2796 implementations won't have to do locking themselves.
2798 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2800 * gdesktopappinfo.c:
2806 * gvolume.h: Documentation updates
2808 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2811 * gfile.h: Doc updates
2813 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2816 * gdesktopappinfo.c: Use hash table iterators.
2818 2007-12-14 Alexander Larsson <alexl@redhat.com>
2821 * gfileattribute.[ch]:
2822 * gfileattribute-priv.h:
2823 Move GFileAttributeValue to a private header, as
2827 Make set_attribute take a type + a pointer instead
2828 of a GFileAttributeValue.
2831 Fix up for above changes.
2832 Add g_file_info_get_attribute_data to get
2833 all info in one call, g_file_info_get_attribute_status
2834 to get the status and g_file_info_get_attribute_as_string.
2838 * glocalfileinfo.[ch]:
2842 Make _guess_type static.
2844 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2847 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2848 made mkenums and friends use temporary files to avoid leaving
2849 empty generated files on failure (#503470).
2851 2007-12-14 Alexander Larsson <alexl@redhat.com>
2853 * gmountoperation.h:
2856 2007-12-14 Alexander Larsson <alexl@redhat.com>
2860 * gfileattribute.[ch]:
2863 * glocalfileoutputstream.c:
2864 * gmountoperation.[ch]:
2865 * goutputstream.[ch]:
2866 Clean up all flags enums to not have _FLAGS in them
2867 Make the names of some of the enums better.
2872 2007-12-14 Michael Natterer <mitch@imendio.com>
2874 * gio.symbols: fix g_io_scheduler symbol names.
2876 2007-12-14 Alexander Larsson <alexl@redhat.com>
2882 * gbufferedinputstream.h:
2883 * gbufferedoutputstream.h:
2886 * gdatainputstream.h:
2887 * gdataoutputstream.h:
2888 * gdesktopappinfo.h:
2889 * gdirectorymonitor.h:
2893 * gfileenumerator.h:
2896 * gfileinputstream.h:
2898 * gfilenamecompleter.h:
2899 * gfileoutputstream.h:
2900 * gfilterinputstream.h:
2901 * gfilteroutputstream.h:
2909 * gmemoryinputstream.h:
2910 * gmemoryoutputstream.h:
2912 * gmountoperation.h:
2915 * gsimpleasyncresult.h:
2917 * gunixinputstream.h:
2919 * gunixoutputstream.h:
2923 * inotify/Makefile.am:
2924 Only allow including <gio/gio.h> from apps
2926 2007-12-14 Alexander Larsson <alexl@redhat.com>
2928 * gioscheduler.[ch]:
2929 * gsimpleasyncresult.c:
2930 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2931 Split out the send_to_mainloop call into two versions instead
2932 of having the block argument.
2934 2007-12-13 Alexander Larsson <alexl@redhat.com>
2936 * gcancellable.[ch]:
2938 * gbufferedinputstream.c:
2939 * gfileenumerator.c:
2940 * gfileinputstream.c:
2941 * gfileoutputstream.c:
2945 g_push/pop_current_cancellable ->
2946 g_cancellable_push/pop_current
2948 2007-12-13 Alexander Larsson <alexl@redhat.com>
2952 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2954 2007-12-13 Alexander Larsson <alexl@redhat.com>
2956 * gmountoperation.h:
2957 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2959 2007-12-12 Alexander Larsson <alexl@redhat.com>
2962 Fix race condition when freeing proxy in
2963 g_io_job_send_to_mainloop().
2965 2007-12-12 Alexander Larsson <alexl@redhat.com>
2971 Make attribute namespace separator "::" instead of ":".
2972 Use - instead of _ as separator in attribute names.
2974 2007-12-12 Alexander Larsson <alexl@redhat.com>
2976 * gbufferedinputstream.h:
2977 * gbufferedoutputstream.h:
2978 * gdatainputstream.h:
2979 * gdataoutputstream.h:
2980 * gdirectorymonitor.h:
2981 * gfileenumerator.h:
2982 * gfileinputstream.h:
2984 * gfileoutputstream.h:
2985 * gfilterinputstream.h:
2986 * gfilteroutputstream.h:
2988 * glocalfileinputstream.h:
2989 * glocalfileoutputstream.h:
2990 * gmemoryinputstream.h:
2991 * gmemoryoutputstream.h:
2992 * gnativevolumemonitor.h:
2994 * gunixinputstream.h:
2995 * gunixoutputstream.h:
2998 s/parent/parent_instance/ in GObjects
3000 2007-12-12 Alexander Larsson <alexl@redhat.com>
3005 No need for padding for interfaces
3007 2007-12-12 Alexander Larsson <alexl@redhat.com>
3011 * gbufferedinputstream.c:
3012 * gbufferedoutputstream.c:
3015 * gdatainputstream.[ch]:
3016 * gdesktopappinfo.c:
3017 * gdirectorymonitor.c:
3019 * gfileattribute.[ch]:
3022 * gfileinputstream.h:
3023 * gfilemonitor.[ch]:
3024 * gfileoutputstream.[ch]:
3025 * gfilterinputstream.h:
3026 * gfilteroutputstream.h:
3029 * gloadableicon.[ch]:
3030 * gmemoryinputstream.c:
3031 * gmountoperation.c:
3033 Fix up a bunch of details in the docs.
3038 2007-12-11 David Zeuthen <davidz@redhat.com>
3040 Rework how volumes, drives and volume monitoring is
3041 done. Previosly the model was
3043 GDrive <1-1> GVolume
3045 where a GDrive instance represented a mount point and a GVolume
3046 instance represented a mounted file system. This patch changes it
3049 GDrive <1-N> GVolume <1-1> GMount
3051 where GMount now serves the purpose of the old GVolume and the new
3052 GVolume serves the purpose of the old GDrive. In addition the new
3053 GDrive interface is used to represent a collection of GVolume
3054 instances (typically partitions) and also contains utility to query
3055 the state of the physical drive the GDrive object represents (such
3056 as checking for media, polling the drive, ejecting the media etc.).
3058 Also implement mounting and unmounting in the Unix volume monitor
3059 backend. A subquent patch will introduce GDrive support for ejection
3063 * gdrive.c: (g_drive_is_media_check_automatic),
3064 (g_drive_is_media_removable), (g_drive_has_media),
3065 (g_drive_can_poll_for_media), (g_drive_eject),
3066 (g_drive_eject_finish), (g_drive_poll_for_media),
3067 (g_drive_poll_for_media_finish):
3069 * gfile.c: (g_file_find_enclosing_mount):
3072 * glocaldirectorymonitor.c:
3073 (g_local_directory_monitor_constructor), (mounts_changed):
3074 * glocalfile.c: (get_mount_info),
3075 (g_local_file_find_enclosing_mount),
3076 (g_local_file_file_iface_init):
3077 * gnativevolumemonitor.h:
3078 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3079 (get_connected_drives), (g_union_volume_monitor_class_init),
3080 (child_volume_added), (child_volume_removed),
3081 (child_volume_changed), (child_mount_added), (child_mount_removed),
3082 (child_mount_pre_unmount), (child_mount_changed),
3083 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3084 (g_union_volume_monitor_remove_monitor),
3085 (_g_mount_get_for_mount_path):
3086 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3087 (guess_system_internal), (_g_get_unix_mounts),
3088 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3089 (g_unix_mount_free), (g_unix_mount_compare),
3090 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3091 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3092 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3093 (type_to_icon), (g_unix_mount_guess_name),
3094 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3095 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3096 (_resolve_symlink), (_resolve_dev_root):
3098 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3099 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3100 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3101 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3102 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3103 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3104 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3105 (g_unix_volume_volume_iface_init):
3107 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3108 (get_mounts), (get_volumes), (get_connected_drives),
3109 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3110 (mountpoints_changed), (mounts_changed),
3111 (g_unix_volume_monitor_init),
3112 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3113 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3114 * gunixvolumemonitor.h:
3115 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3116 (g_volume_mount), (g_volume_mount_finish):
3118 * gvolumemonitor.c: (g_volume_monitor_class_init),
3119 (g_volume_monitor_get_connected_drives),
3120 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3123 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3125 * gmountoperation.h (GPasswordFlags): Close the gap
3127 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3129 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3131 * gdesktopappinfo.[hc]: Remove _-prefixes
3133 2007-12-10 Tor Lillqvist <tml@novell.com>
3135 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3138 2007-12-10 Alexander Larsson <alexl@redhat.com>
3140 * gfile.c (g_file_set_display_name):
3141 Don't hardcode '/' (#502727)
3143 2007-12-09 Hans Breuer <hans@breuer.org>
3145 * makefile.msc : follow lib naming convention
3146 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3147 for user and group name, tested with ../tests/gio-ls
3149 2007-12-09 A. Walton <awalton@svn.gnome.org>
3151 * gdesktopappinfo.c:
3157 * gfileenumerator.c:
3162 * gmemoryinputstream.c:
3163 * gmemoryoutputstream.c:
3165 * gsimpleasyncresult.c:
3166 More documentation cleanup and filling in missing information, bringing
3167 GIO to 99% symbol coverage.
3169 2007-12-08 Hans Breuer <hans@breuer.org>
3171 [gio compiles and links on win32, not sure how much already works]
3172 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3173 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3174 base on win32 API; prefer g_lstat() over lstat(); instead of
3175 localtime_r() use an all GLib implementation on win32;
3176 get_mount_info() still needs a win32 specifc implementation
3177 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3178 win32_get_file_user_info to get owner/group info without uid/gid
3179 * glocalfileinputstream.c : include <io.h> on win32
3180 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3181 definition, use g_win32_ftruncate() for G_OS_WIN32
3182 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3183 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3184 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3185 * makefile.msc : updated
3187 2007-12-07 Alexander Larsson <alexl@redhat.com>
3189 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3190 Avoid warning spew if error == NULL
3192 2007-12-07 Alexander Larsson <alexl@redhat.com>
3195 Update docs wrt etags
3197 2007-12-06 Alexander Larsson <alexl@redhat.com>
3200 Include sys/types.h for dev_t (#501919)
3202 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3206 Make abicheck and pltcheck pass.
3208 2007-12-05 Alexander Larsson <alexl@redhat.com>
3211 * giomodule-priv.h: Added.
3212 * glocaldirectorymonitor.c:
3213 * glocalfilemonitor.c:
3214 * gunionvolumemonitor.c:
3216 Actually add the declaration of _g_io_modules_ensure_loaded
3218 2007-12-05 Alexander Larsson <alexl@redhat.com>
3220 * gdatainputstream.c:
3225 * glocaldirectorymonitor.c:
3226 * glocalfilemonitor.c:
3227 * gunionvolumemonitor.c:
3229 Make g_io_modules_ensure_loaded a private function and
3230 don't pass in the dirname. This means we can do magic
3231 directory finding in the win32 version.
3232 Export the actual load-modules-in-directory code so that
3233 gvfs can reuse that.
3235 2007-12-05 Alexander Larsson <alexl@redhat.com>
3237 * gbufferedinputstream.c:
3238 * gbufferedoutputstream.c:
3241 * gfileenumerator.[ch]:
3242 * gfileinputstream.c:
3243 * gfileoutputstream.[ch]:
3244 * gfilterinputstream.c:
3245 * gfilteroutputstream.c:
3246 * ginputstream.[ch]:
3248 * glocalfileenumerator.c:
3249 * glocalfileinputstream.c:
3250 * glocalfileoutputstream.c:
3251 * gmemoryinputstream.c:
3252 * gmemoryoutputstream.c:
3253 * goutputstream.[ch]:
3256 * gunixinputstream.c:
3257 * gunixoutputstream.c:
3258 Rename all struct members named:
3259 read, write, close, truncate, or mount
3260 to foo_fn, as these are reserved names
3261 and could be defined as macros in libc.
3264 2007-12-04 Alexander Larsson <alexl@redhat.com>
3267 (g_output_stream_close):
3268 Only call flush if non-null.
3270 2007-11-30 Dan Winship <danw@gnome.org>
3272 * ginputstream.c (g_input_stream_set_pending): Make this take a
3273 GError and return a gboolean, and do the "outstanding operation"
3274 check (and the "stream is already closed" check) itself.
3275 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3277 * goutputstream.c (g_output_stream_set_pending)
3278 (g_output_stream_clear_pending): Likewise
3280 * gbufferedinputstream.c:
3281 * gfileinputstream.c:
3282 * gfileoutputstream.c: Update for that
3284 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3285 Like g_simple_async_report_error_in_idle, but takes a GError
3286 rather than building one.
3288 2007-11-30 Dan Winship <danw@gnome.org>
3290 * goutputstream.c: Don't cheat and unset the "pending" flag around
3291 inner calls. Instead, call the class method directly rather than
3292 the wrapper function that checks "pending"
3294 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3296 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3298 2007-12-03 Hans Breuer <hans@breuer.org>
3300 [start of port to win32/msvc]
3301 * gcancellable.c : HAVE_UNIST_H and _pipe()
3302 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3303 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3304 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3306 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3307 * glocalvfs.c : use HAVE_PWD_H
3308 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3309 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3310 * Makefile.am : added to EXTRA_DIST
3312 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3314 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3317 2007-12-03 Alexander Larsson <alexl@redhat.com>
3320 Handle OSX style xattrs API (#500506)
3322 2007-12-03 Alexander Larsson <alexl@redhat.com>
3326 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3328 2007-12-02 A. Walton <awalton@svn.gnome.org>
3332 Documentation accuracy fixes.
3334 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3336 * gioenumtypes.c.template: Fix typo.
3338 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3340 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3342 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3344 * gdirectorymonitor.c:
3345 * gfilemonitor.c: Add properties
3347 * gbufferedoutputstream.c: Don't mark buffer-size property
3350 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3352 * gbufferedoutputstream.c: Add auto-grow property.
3354 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3356 * *.c: Unify the capitalization of section headings.
3358 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3360 * gmountoperation.c: Add properties
3362 * gdatainputstream.c: Turn byte-order and newline-type into
3365 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3367 * gioenumtypes.[hc].template: Templates for enum registration
3369 * Makefile.am: Generate gioenumtypes.[hc]
3371 * gio.h: Include gioenumtypes.h
3373 * gfile.h: Add some explicit nicks.
3375 * gio.symbols: Add new symbols
3377 * pltcheck.sh: Adjust
3379 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3381 * *.c: Explain etags and link to the explanation
3383 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3385 * *.c: Explain I/O priority.
3387 * *.c: More coding style fixes.
3389 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3391 * gasyncresult.c: Add another paragraph to the intro,
3392 adjust coding style of example.
3394 2007-11-29 A. Walton <awalton@svn.gnome.org>
3397 Fixes unknown meaning in GAppLaunchContext docs.
3399 Clarify asynchronous ops.
3401 Fix entity tag docs.
3404 Provides missing gtk-doc section, fixes API docs slighly.
3405 * gsimpleasyncresult.c:
3406 Fill in missing info in docs.
3407 * gunixinputstream.c:
3408 * gunixoutputstream.c:
3409 Be more expressive in short description.
3411 Remove gtk-doc stubs for non-public API.
3413 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3415 * *.c: Coding style fixups
3417 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3419 * inotify/inotify-helper.c: Don't export the lock from libgio.
3421 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3424 * abicheck.sh: Fix copy-and-paste leftovers
3426 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3428 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3430 2007-11-28 Alexander Larsson <alexl@redhat.com>
3434 Removed unnecessary file
3436 * gdesktopappinfo.[ch]:
3439 * glocaldirectorymonitor.[ch]:
3441 * glocalfileenumerator.[ch]:
3442 * glocalfileinputstream.[ch]:
3443 * glocalfilemonitor.[ch]:
3444 * glocalfileoutputstream.[ch]:
3446 * gnativevolumemonitor.c:
3447 * gpollfilemonitor.[ch]:
3448 * gunionvolumemonitor.[ch]:
3451 * gunixvolumemonitor.[ch]:
3454 * inotify/ginotifydirectorymonitor.[ch]:
3455 * inotify/ginotifyfilemonitor.[ch]:
3456 * inotify/inotify-helper.c:
3457 Append _ to all internal functions
3461 Export symbols needed for modules
3463 2007-11-28 Alexander Larsson <alexl@redhat.com>
3466 * abicheck.sh: Added.
3467 * makegioalias.pl: Added.
3468 * pltcheck.sh: Added.
3469 * gio.symbols: Added.
3472 Initial work on adding symbol handling.
3475 Correct ifdef guard name
3478 * inotify/Makefile.am:
3479 * xdgmime/Makefile.am:
3480 Include toplevel Makefile.decl
3482 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3484 * gcontenttype.c: Move doc comments to the unix section.
3486 * *.[hc]: More trivial doc corrections.
3488 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3490 * gpollfilemonitor.c:
3494 * gdesktopappinfo.c:
3499 * gdatainputstream.c:
3500 * gdatainputstream.h:
3501 * gdataoutputstream.c:
3502 * gdataoutputstream.h:
3503 * gfileinfo.h: Doc cleanups
3505 2007-11-28 Andre Klapper <a9016009@gmx.de>
3507 * gdesktopappinfo.c: Fix a typo.
3509 2007-11-27 Andre Klapper <a9016009@gmx.de>
3511 * glocalfileoutputstream.c: Fix a typo.
3513 2007-11-27 Alexander Larsson <alexl@redhat.com>
3516 Don't include removed headers
3518 2007-11-27 Alexander Larsson <alexl@redhat.com>
3521 * gsocketinputstream.[ch]: Removed.
3522 * gsocketoutputstream.[ch]: Removed.
3523 * gunixinputstream.[ch]: Added.
3524 * gunixoutputstream.[ch]: Added.
3525 Renamed GSocket*Stream to GUnix*Stream and made
3526 it unix-only, since its not really only for sockets
3527 and it only works on unix (but is highly useful there).
3529 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3535 * gbufferedinputstream.c:
3536 * gbufferedinputstream.h:
3537 * gbufferedoutputstream.c:
3538 * gbufferedoutputstream.h:
3542 * gdatainputstream.c:
3543 * gdatainputstream.h:
3544 * gdataoutputstream.c:
3545 * gdataoutputstream.h:
3546 * gdirectorymonitor.c:
3547 * gdirectorymonitor.h:
3554 * gfileenumerator.c:
3555 * gfileenumerator.h:
3560 * gfileinputstream.c:
3561 * gfileinputstream.h:
3564 * gfilenamecompleter.c:
3565 * gfilenamecompleter.h:
3566 * gfileoutputstream.c:
3567 * gfileoutputstream.h:
3568 * gfilterinputstream.c:
3569 * gfilterinputstream.h:
3570 * gfilteroutputstream.c:
3571 * gfilteroutputstream.h:
3584 * glocalfileoutputstream.c:
3585 * gmemoryinputstream.c:
3586 * gmemoryinputstream.h:
3587 * gmemoryoutputstream.c:
3588 * gmemoryoutputstream.h:
3589 * gmountoperation.c:
3590 * gmountoperation.h:
3593 * gpollfilemonitor.c:
3596 * gsimpleasyncresult.c:
3597 * gsimpleasyncresult.h:
3598 * gsocketinputstream.c:
3599 * gsocketinputstream.h:
3600 * gsocketoutputstream.c:
3601 * gsocketoutputstream.h:
3608 * gunixvolumemonitor.c:
3617 Bumps documentation to 93% symbol coverage, touching most
3618 of the public files. Fixes broken function documentation prototypes.
3619 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3620 gtk-doc headers in private files.
3622 2007-11-27 Jürg Billeter <j@bitron.ch>
3624 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3625 (g_buffered_input_stream_read_byte):
3626 * gbufferedinputstream.h:
3627 New functions for efficient access to buffer and simple single byte
3630 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3631 (g_data_input_stream_read_until):
3632 * gdatainputstream.h:
3633 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3634 read_until with multiple stop chars.
3636 2007-11-27 Alexander Larsson <alexl@redhat.com>
3640 * inotify/Makefile.am:
3641 Use the user-specified giomoduledir
3643 2007-11-27 Alexander Larsson <alexl@redhat.com>
3647 Add catch-all gio.h header
3648 Don't install gdummyfile.h
3650 2007-11-26 Alexander Larsson <alexl@redhat.com>
3652 * Makefile.am (gioinclude_HEADERS):
3653 Remove trailing whitespace
3655 2007-11-26 Alexander Larsson <alexl@redhat.com>
3657 Merge gio-standalone into glib
3659 2007-11-25 Christian Kellner <gicmo@gnome.org>
3661 * gio/goutputstream.c:
3662 Fix small mistake in the docs.
3664 2007-11-21 Christian Persch <chpe@gnome.org>
3666 * gio/glocalfile.c: (g_local_file_trash):
3667 Convert filenames to UTF-8 for GError.
3668 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3669 as per xdg base dir spec.
3671 2007-11-21 Christian Persch <chpe@gnome.org>
3673 * gio/gdesktopappinfo.c:
3674 Use that g_key_file_to_data cannot fail.
3676 Use stock defines for the key file group and key names.
3679 2007-11-21 Alexander Larsson <alexl@redhat.com>
3682 (copy_stream_with_progress):
3683 Make sure we do a final progress callback with
3684 the full total size.
3686 2007-11-21 Alexander Larsson <alexl@redhat.com>
3689 Export g_file_copy_attributes
3690 Remove padding as its not needed for interfaces
3692 2007-11-20 Alexander Larsson <alexl@redhat.com>
3697 Add G_IO_ERROR_WOULD_MERGE for
3698 copy/move dir on dir with overwrite.
3700 2007-11-20 Alexander Larsson <alexl@redhat.com>
3703 * gio/glocalfileinfo.c:
3704 Add COPY_NAME (this is an optional
3705 non-modified utf8 version of the name) that
3708 2007-11-20 Alexander Larsson <alexl@redhat.com>
3710 * gio/glocalfileenumerator.c:
3711 Report errors as GIOError, not GFileError
3713 2007-11-16 Alexander Larsson <alexl@redhat.com>
3715 * gio/glocalfileoutputstream.c:
3716 * gio/gwin32appinfo.c:
3717 Fix typos in strings.
3718 Patch from Luca Ferretti <elle.uca@libero.it>
3720 2007-11-15 Alexander Larsson <alexl@redhat.com>
3723 Post release version bump
3725 === gio-standalone 0.1.2 ===
3727 2007-11-15 Alexander Larsson <alexl@redhat.com>
3729 * docs/reference/gio/Makefile.am:
3730 Fix up distcheck by removing weird
3736 2007-11-14 Alexander Larsson <alexl@redhat.com>
3738 * gio/gdesktopappinfo.c:
3739 * gio/glocaldirectorymonitor.c:
3741 * gio/glocalfileinfo.c:
3742 * gio/inotify/inotify-sub.c:
3743 * programs/gio-cat.c:
3744 * programs/gio-copy.c:
3745 * programs/gio-info.c:
3746 * programs/gio-ls.c:
3747 * programs/gio-monitor-dir.c:
3748 * programs/gio-monitor-file.c:
3749 * programs/gio-mount.c:
3750 * programs/gio-move.c:
3751 * programs/gio-rm.c:
3752 * programs/gio-save.c:
3753 * programs/gio-trash.c:
3754 Leak fixes from Kjartan Maraas
3756 2007-11-14 Alexander Larsson <alexl@redhat.com>
3758 * gio/fam/fam-helper.c:
3760 * gio/glocalfileinfo.c:
3764 * gio/inotify/inotify-diag.c:
3765 * gio/inotify/inotify-kernel.c:
3766 Various code cleanups from Kjartan Maraas
3768 2007-11-14 Alexander Larsson <alexl@redhat.com>
3770 * gio/gioscheduler.c:
3772 Set up threadpool so that we cache 2 unused
3773 idle threads for at 15 secs. This means we
3774 will reuse thread-local data (like dbus connections)
3777 2007-11-14 Alexander Larsson <alexl@redhat.com>
3779 * gio/fam/fam-helper.c:
3780 * gio/fam/gfamdirectorymonitor.c:
3781 * gio/fam/gfamfilemonitor.c:
3783 * gio/gcontenttype.c:
3784 * gio/gdatainputstream.c:
3785 * gio/gdataoutputstream.c:
3789 * gio/gfileattribute.h:
3790 * gio/gfileenumerator.c:
3792 * gio/ginputstream.c:
3795 * gio/glocalfileinfo.c:
3796 * gio/goutputstream.c:
3797 * gio/gpollfilemonitor.c:
3798 * gio/gsimpleasyncresult.c:
3799 * gio/gunixmounts.c:
3800 * gio/gunixmounts.h:
3801 * gio/inotify/ginotifydirectorymonitor.c:
3802 * gio/inotify/ginotifyfilemonitor.c:
3803 * gio/inotify/inotify-diag.c:
3804 * gio/inotify/inotify-kernel.c:
3805 * gio/inotify/inotify-path.c:
3807 * gio/test-streams.c:
3808 * programs/gio-info.c:
3809 * programs/gio-monitor-dir.c:
3810 * programs/gio-monitor-file.c:
3811 Various code cleanups from Kjartan Maraas
3813 2007-11-13 Alexander Larsson <alexl@redhat.com>
3816 Handle the uri-scheme calls for dummy files
3818 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3820 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3821 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3822 to avoid clash with the C++ keyword.
3824 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3826 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3827 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3829 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3831 * gio/glocaldirectorymonitor.c:
3832 * gio/glocalfilemonitor.c:
3833 * gio/gunionvolumemonitor.c:
3834 Don't use g_once_init_*() for initializations that could fail and
3835 could leave the initialization variable set to 0 but use GOnce.
3836 This prevents a deadlock on the second call when trying to create
3837 a monitor and no monitor type is available. Thanks to Sven Herzberg
3840 2007-11-11 Sven Herzberg <sven@imendio.com>
3842 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3843 #ifdef (make it work on MacOS X again)
3845 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3847 Fixes Changelog for last two commits (sorry guys).
3849 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3851 * gio/gbufferedinputstream.c:
3852 * gio/gdatainputstream.c:
3854 * gio/gfileoutputstream.c:
3855 * gio/gfilterinputstream.c:
3856 * gio/glocalfileinputstream.c:
3859 More consistency fixes in g*stream.c files.
3860 Significant clean of gfile's documentation, filling in of
3861 asynchronous operations documentation.
3863 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3865 * gio/gasyncresult.c:
3866 * gio/gbufferedinputstream.c:
3867 * gio/gbufferedoutputstream.c:
3868 * gio/gcancellable.c:
3869 * gio/gcontenttype.c:
3870 * gio/gdatainputstream.c:
3871 * gio/gdataoutputstream.c:
3872 * gio/gdesktopappinfo.c:
3875 * gio/gfileattribute.c:
3876 * gio/gio/gfileenumerator.c:
3878 * gio/gfileinputstream.c:
3879 * gio/gfilemonitor.c:
3880 * gio/gfileoutputstream.c:
3881 * gio/ginputstream.c:
3883 * gio/gioscheduler.c:
3884 * gio/gloadableicon.c:
3885 * gio/glocalfileoutputstream.c:
3886 * gio/gmemoryoutputstream.c:
3887 * gio/gmountoperation.c:
3888 * gio/goutputstream.c:
3890 * gio/gsimpleasyncresult.c:
3891 * gio/gunionvolumemonitor.c:
3892 * gio/gunixmounts.c:
3893 * gio/gunixvolume.c:
3897 * gio/gvolumemonitor.c:
3898 Updated documentation stubs, working towards consistency and
3901 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3903 * gio/gmemoryoutputstream.c:
3904 * gio/gmemoryoutputstream.h:
3905 Change g_memory_output_stream_set_free_on_close() to
3906 g_memory_output_stream_set_free_data() as this makes more sense and
3907 is more consistent with GMemoryInputStream.
3909 2007-11-07 Alexander Larsson <alexl@redhat.com>
3916 Change how we find the default vfs so that
3917 we can handle a gvfs failing to init
3919 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3921 * gio/gbufferedoutputstream.c:
3922 * gio/gdatainputstream.c:
3923 * gio/gdataoutputstream.c:
3924 * gio/gfileinputstream.c:
3925 * gio/gfileoutputstream.c:
3926 * gio/gfilterinputstream.c:
3927 * gio/gfilteroutputstream.c:
3928 * gio/ginputstream.c:
3929 * gio/gmemoryinputstream.c:
3930 * gio/gmemoryoutputstream.c:
3931 * gio/goutputstream.c:
3932 * gio/gsimpleasyncresult.c:
3933 * gio/gsocketinputstream.c:
3934 * gio/gsocketoutputstream.c:
3935 Add guards to the remaining public functions, add a TODO for
3936 an unimplemented function and remove some useless guards.
3938 2007-11-07 Alexander Larsson <alexl@redhat.com>
3941 Autoconf checks for the various types of
3942 getpwuid_r and getgrgid_r
3944 * gio/glocalfileinfo.c:
3945 Use the autoconf checks from above
3947 2007-11-07 Alexander Larsson <alexl@redhat.com>
3950 (g_local_file_query_filesystem_info):
3951 Some fixes for the statvfs case
3953 2007-11-07 Alexander Larsson <alexl@redhat.com>
3956 (g_local_file_query_filesystem_info):
3957 Pick the "best" of statfs / statvfs for the system
3958 if both are availible.
3960 2007-11-07 Alexander Larsson <alexl@redhat.com>
3962 Solaris fixes from Halton.Huo@Sun.COM:
3969 * gio/glocalfileinfo.c:
3970 Fix for solaris definition of getpwuid_r
3972 * gio/test-streams.c:
3973 Use G_GNUC_PRETTY_FUNCTION
3975 2007-11-07 Alexander Larsson <alexl@redhat.com>
3977 * gio/gdesktopappinfo.c:
3978 (update_default_list):
3979 Remove double semicolon.
3980 Patch from Jens Granseuer
3982 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3984 * docs/reference/gio/gio-sections.txt:
3985 * gio/gbufferedinputstream.c:
3986 * gio/gbufferedinputstream.h:
3987 * gio/gdatainputstream.c:
3988 * gio/gfileenumerator.c:
3989 * gio/gioscheduler.c:
3990 * gio/gunionvolumemonitor.c:
3992 * programs/gio-save.c:
3993 Fix typo: availible -> available. Unfortuntely this breaks API
3994 and ABI as g_buffered_input_stream_get_available() was renamed.
3996 * gio/gunixmounts.c:
3997 * gio/gbufferedinputstream.c:
3998 Add guards for public functions.
4000 2007-11-06 Ross Burton <ross@openedhand.com>
4002 * docs/reference/gio/Makefile.am:
4003 Fix invalid += usage which automake 1.10 doesn't like.
4005 2007-11-06 Alexander Larsson <alexl@redhat.com>
4008 (g_app_launch_context_class_init):
4011 Patch from Ross Burton
4013 2007-11-06 Alexander Larsson <alexl@redhat.com>
4016 Post release version bump
4018 === gio-standalone 0.1.1 ===
4020 2007-11-06 Alexander Larsson <alexl@redhat.com>
4023 Bump version to 0.1.1
4025 * gio/gsimpleasyncresult.c:
4026 (g_simple_async_result_set_from_error):
4027 Remove bogus g_return_if_fail
4029 2007-11-06 Alexander Larsson <alexl@redhat.com>
4032 The name is gio-standalone
4035 Add top src/builddir to includedir
4037 2007-11-06 Alexander Larsson <alexl@redhat.com>
4039 * docs/reference/gio/gio-sections.txt:
4041 * gio/gbufferedinputstream.c:
4042 * gio/gbufferedoutputstream.c:
4043 * gio/gcancellable.c:
4044 * gio/gdatainputstream.h:
4045 * gio/gdataoutputstream.c:
4046 * gio/gdataoutputstream.h:
4047 * gio/gdirectorymonitor.c:
4049 * gio/gfileattribute.c:
4050 * gio/gfileattribute.h:
4051 * gio/gfileenumerator.c:
4052 * gio/gfileenumerator.h:
4055 * gio/gfileinputstream.h:
4056 * gio/gfilemonitor.c:
4057 * gio/gfileoutputstream.h:
4058 * gio/glocalfilemonitor.h:
4059 * gio/glocalfileoutputstream.h:
4060 * gio/gmemoryinputstream.c:
4061 * gio/gmemoryoutputstream.c:
4062 * gio/gmountoperation.c:
4063 * gio/goutputstream.c:
4064 * gio/goutputstream.h:
4066 * gio/gsimpleasyncresult.c:
4067 * gio/gunixmounts.c:
4068 * gio/gunixmounts.h:
4070 * gio/inotify/inotify-helper.c:
4071 Fix gtk-doc warnings
4073 Patch from Ross Burton
4075 2007-11-06 Alexander Larsson <alexl@redhat.com>
4077 * gio/gfilenamecompleter.c:
4078 (g_filename_completer_get_completions):
4081 * gio/gunixvolume.c:
4082 Remove unused function
4084 Patches from Ross Burton
4086 2007-11-06 Alexander Larsson <alexl@redhat.com>
4091 Padding not needed for interfaces
4093 2007-11-06 Alexander Larsson <alexl@redhat.com>
4095 * gio/gfilemonitor.c:
4099 Make giotypes.h an internal file
4102 * gio/gbufferedinputstream.h:
4103 * gio/gbufferedoutputstream.h:
4104 * gio/gcancellable.h:
4105 * gio/gdatainputstream.h:
4106 * gio/gdataoutputstream.h:
4107 * gio/gdirectorymonitor.c:
4108 * gio/gdirectorymonitor.h:
4113 * gio/gfileattribute.h:
4114 * gio/gfileenumerator.h:
4119 * gio/gfilemonitor.c:
4120 * gio/gfilemonitor.h:
4121 * gio/gfilenamecompleter.c:
4122 * gio/gfilenamecompleter.h:
4123 * gio/gfilterinputstream.h:
4124 * gio/gfilteroutputstream.h:
4125 * gio/ginputstream.h:
4126 * gio/gmemoryinputstream.h:
4127 * gio/gmemoryoutputstream.h:
4128 * gio/gmountoperation.c:
4129 * gio/gmountoperation.h:
4130 * gio/gnativevolumemonitor.c:
4131 * gio/goutputstream.h:
4134 * gio/gsimpleasyncresult.c:
4135 * gio/gsimpleasyncresult.h:
4136 * gio/gsocketinputstream.h:
4137 * gio/gsocketoutputstream.h:
4138 * gio/gthemedicon.c:
4139 * gio/gthemedicon.h:
4143 * gio/gvolumemonitor.c:
4144 * gio/gvolumemonitor.h:
4145 Add padding in classes where it seems useful
4146 Don't include giotypes.h from public headers
4147 Move in Class definitions into c file where possible
4152 2007-11-06 Alexander Larsson <alexl@redhat.com>
4154 * docs/reference/gio/gio-docs.xml:
4155 Better structure for API docs
4157 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4160 * gio/gloadableicon.c:
4161 * gio/gsimpleasyncresult.c:
4162 * gio/gthemedicon.c:
4163 Add some more guards to public functions. Only files missing are now
4166 2007-11-06 Alexander Larsson <alexl@redhat.com>
4168 * docs/reference/gio/gio-docs.xml:
4169 Remove old files, add missing ones
4171 2007-11-06 Alexander Larsson <alexl@redhat.com>
4173 * docs/reference/gio/gio-sections.txt:
4176 Hide implementation classes
4178 * gio/gdriveprivate.h:
4179 * gio/gvolumeprivate.h:
4180 Remove non-existing function declarations
4182 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4185 Fix compilation warnings and add guards to the new functions.
4187 * gio/gasyncresult.c:
4189 Add guards to the public functions.
4192 Implement get_path().
4194 2007-11-06 Alexander Larsson <alexl@redhat.com>
4196 * gio/gfilenamecompleter.c:
4197 Make g_filename_completer_get_completions
4198 return char ** instead of GList for
4201 * docs/reference/gio/gio-docs.xml:
4202 * docs/reference/gio/gio-sections.txt:
4204 * gio/gasyncresult.c:
4205 * gio/gbufferedinputstream.c:
4206 * gio/gbufferedoutputstream.c:
4207 * gio/gcancellable.c:
4208 * gio/gcontenttype.c:
4209 * gio/gdatainputstream.c:
4210 * gio/gdataoutputstream.c:
4211 * gio/gdesktopappinfo.c:
4212 * gio/gdirectorymonitor.c:
4216 * gio/gfileattribute.c:
4217 * gio/gfileenumerator.c:
4220 * gio/gfileinputstream.c:
4221 * gio/gfilemonitor.c:
4222 * gio/gfilenamecompleter.c:
4223 * gio/gfilenamecompleter.h:
4224 * gio/gfileoutputstream.c:
4225 * gio/gfilterinputstream.c:
4227 * gio/ginputstream.c:
4229 * gio/gioscheduler.c:
4230 * gio/gloadableicon.c:
4231 * gio/glocaldirectorymonitor.c:
4233 * gio/glocalfileinputstream.c:
4234 * gio/glocalfilemonitor.c:
4235 * gio/glocalfileoutputstream.c:
4237 * gio/gmemoryinputstream.c:
4238 * gio/gmemoryoutputstream.c:
4239 * gio/gmountoperation.c:
4240 * gio/goutputstream.c:
4241 * gio/gpollfilemonitor.c:
4243 * gio/gsimpleasyncresult.c:
4244 * gio/gsocketinputstream.c:
4245 * gio/gsocketoutputstream.c:
4246 * gio/gthemedicon.c:
4247 * gio/gunionvolumemonitor.c:
4249 * gio/gunixmounts.c:
4250 * gio/gunixvolume.c:
4251 * gio/gunixvolumemonitor.c:
4255 * gio/gvolumemonitor.c:
4256 * gio/gwin32appinfo.c:
4257 Add (mostly stub) doc strings to public functions.
4258 Patch from Andrew Walton (awalton@gmail.com)
4260 2007-11-06 Alexander Larsson <alexl@redhat.com>
4262 * gio/gappinfo.[ch]:
4263 Added GAppLaunchContext object and pass that to launch.
4264 This allows simple implementation of both
4265 launch-on-screen and startup notification via a gtk+
4266 subclass of GAppLaunchContext
4268 * gio/gdesktopappinfo.c:
4269 Implement GAppLaunchContext API
4271 * gio/gwin32appinfo.c:
4274 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4276 * gio/gmountoperation.c:
4277 Add some guards to GMountOperation's public functions.
4279 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4283 * gio/gcancellable.c:
4284 * gio/gdirectorymonitor.c:
4286 * gio/gfileenumerator.c:
4287 * gio/gfilemonitor.c:,
4288 * gio/gfilenamecompleter.c:
4291 * gio/gioscheduler.c:
4295 * gio/gvolumemonitor.c:
4296 Add even more guards to various public functions.
4298 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4301 Add guards to the public functions of GAppInfo.
4303 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4305 * gio/gcontenttype.c:
4306 Add some more guards for public functions.
4308 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4310 * gio/fam/fam-module.c:
4311 * gio/fam/gfamdirectorymonitor.c:
4312 * gio/fam/gfamdirectorymonitor.h:
4313 * gio/fam/gfamfilemonitor.c:
4314 * gio/fam/gfamfilemonitor.h:
4315 * gio/inotify/ginotifydirectorymonitor.c:
4316 * gio/inotify/ginotifydirectorymonitor.h:
4317 * gio/inotify/ginotifyfilemonitor.c:
4318 * gio/inotify/ginotifyfilemonitor.h:
4319 Add proper copyright information and remove an unused variable
4320 in the GInotifyFileMonitor constructor.
4322 * gio/gcancellable.c:
4323 Add a guard for a public function and an assertion to prevent
4324 an undefined program state.
4326 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4328 * gio/gfileattribute.c:
4329 Don't run into an assertion if the given attribute value is NULL
4330 in g_file_attribute_value_get_*() but instead return a fallback
4331 value that makes sense in most situations. Passing them a attribute
4332 value with the wrong type will still run into an assertion.
4334 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4336 * gio/gfileattribute.c:
4338 Add even more guards to the public functions. Also fix the refcounting
4339 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4340 let g_file_info_list_attributes() filter the attributes by namespace
4341 instead of simply ignoring the namespace parameter.
4343 2007-11-03 Sven Herzberg <sven@imendio.com>
4345 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4346 (This makes gio work on MacOS X again)
4348 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4351 Build the gio subdirectory before the docs. Otherwise the build will
4354 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4355 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4356 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4357 Add guards to the public functions.
4359 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4361 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4362 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4363 to prevent a compiler warning.
4365 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4366 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4367 return something in the non-void function find_topdir_for().
4369 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4376 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4378 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4379 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4380 * gwin32appinfo.c (g_win32_app_info_launch):
4381 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4382 envp_for_startup_id, g_desktop_app_info_launch,
4383 g_desktop_app_info_launch_uris):
4385 Give an opaque 'startup_id' string instead of 'envp'.
4386 Support empty file lists for launching new windows.
4387 Fix infinite recursion bug when launching URIs.
4389 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4392 Add guard to the new g_file_get_uri_scheme() function.
4394 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4397 Convert a g_return_val_if_fail() to setting the GError instead as
4398 otherwise applications have to verify the parameter before otherwise
4399 and the parameter might come directly from the user.
4401 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4403 * gio/inotify/ginotify*.[ch]:
4404 Add missing copyright information.
4406 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4409 Add guards in the beginning of public functions to check for valid
4410 parameters and fix a bug in copy_stream_with_progress() that could've
4411 caused writing less bytes than reading.
4412 * gio/glocalfileinfo.c:
4413 Check for a NULL parameter and set the GError accordingly then.
4414 * gio/goutputstream.c:
4415 Fix the same bug as in gfile.c that could've caused writing less bytes
4416 than reading in g_output_stream_real_splice().
4418 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4421 Use the correct gvolumeprivate.h naming
4423 2007-11-01 Christian Kellner <gicmo@gnome.org>
4426 Remove leftover "$(daemon_sources)" entry.
4428 2007-11-01 Christian Kellner <gicmo@gnome.org>
4433 Add copyright information to source files.
4435 2007-11-01 Alexander Larsson <alexl@redhat.com>
4439 Add g_file_get_uri_scheme
4441 2007-11-01 Alexander Larsson <alexl@redhat.com>
4444 * gio/gdesktopappinfo.c:
4445 * gio/gwin32appinfo.c:
4446 Add g_app_info_get_default_for_uri_scheme.
4448 2007-11-01 Alexander Larsson <alexl@redhat.com>
4451 Correct filename for gdriveprivate.h
4453 2007-10-31 Alexander Larsson <alexl@redhat.com>
4456 Rename id:value to id:file
4459 * gio/glocalfileinfo.c:
4462 2007-10-31 Alexander Larsson <alexl@redhat.com>
4464 * gio/gunixvolume.c:
4466 Remove g_volume_get_platform_id, as thats not
4467 needed with the simpler union volume monitor
4469 2007-10-31 Alexander Larsson <alexl@redhat.com>
4472 * gio/guniondrive.[ch]: Removed.
4473 * gio/gunionvolume.[ch]: Removed.
4474 Remove GUnionDrive/Volume
4476 * gio/gunionvolumemonitor.c:
4477 Simplify union volume monitor, now we
4478 only have one native volume monitor and
4479 we use the actual volumes/drives from the
4480 child monitors instead of wrapping them
4482 * gio/gnativevolumemonitor.[ch]:
4483 Base class for native volume monitors.
4484 Includes priority and get_volume_for_mountpoint
4487 Add g_file_find_enclosing_volume
4490 Remove volume name fs attribute
4491 Add readonly fs attribute
4494 Implement readonly attribute
4495 remove volume name attribute
4496 Implement find_enclosing volume
4498 * gio/gunixmounts.c:
4499 Add a volume for "/".
4501 * gio/gunixvolume.[ch]:
4502 Set better name for /
4504 * gio/gunixvolumemonitor.[ch]:
4505 Derive from GNativeVolumeMonitor
4506 Implement get_volume_for_mountpoint
4509 GVolume typedef moved to gfile.h
4511 * gio/gvolumeprivate.h:
4512 Add g_volume_get_for_mount_path
4514 2007-10-31 Alexander Larsson <alexl@redhat.com>
4516 * gio/gunixmounts.[ch]:
4517 Add cache info to unix mount listers
4518 Make getmntent use threadsafe
4519 Add is_system_internal attribute for GUnixMount
4521 * gio/gunixvolume.c:
4522 (g_unix_volume_new):
4523 Use is_system_internal instead of own code
4525 * gio/glocaldirectorymonitor.c:
4526 * gio/gunixvolumemonitor.c:
4527 Update to new gunixmounts API
4532 2007-10-30 Alexander Larsson <alexl@redhat.com>
4535 Add volume name fsinfo attribute
4538 Read volume name info
4540 * gio/gunionvolumemonitor.c:
4541 Fix infinite loops when finalizing a union volume monitor
4543 2007-10-30 Alexander Larsson <alexl@redhat.com>
4545 * gio/goutputstream.[ch]:
4546 Add splice() with default implementation
4548 * gio/gsocketoutputstream.c:
4549 (g_socket_output_stream_write):
4550 Return error on cancellation correctly.
4552 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4554 * gio/glocalfile.c (g_local_file_trash):
4555 Do not leak a string.
4557 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4559 * gio/gfile.c (g_file_load_contents):
4560 Unref the stream after closing it.
4562 2007-10-25 Alexander Larsson <alexl@redhat.com>
4564 * gio/gioscheduler.h:
4567 2007-10-25 Alexander Larsson <alexl@redhat.com>
4571 Add g_file_has_uri_scheme and implement for local files
4573 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4575 * gio/gdesktopappinfo.c: do not leak a string.
4577 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4579 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4580 (g_local_directory_monitor_new):
4581 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4582 (g_local_file_monitor_new):
4583 Only look for the monitor type that should be used the first time
4584 and use g_qsort_with_data() instead of our own bubble sort
4587 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4590 * gio/fam/Makefile.am:
4591 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4592 * gio/fam/fam-helper.h:
4593 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4594 * gio/fam/gfamdirectorymonitor.c:
4595 * gio/fam/gfamdirectorymonitor.h:
4596 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4597 * gio/fam/gfamfilemonitor.h:
4598 * gio/glocaldirectorymonitor.c:
4599 * gio/glocaldirectorymonitor.h:
4600 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4601 * gio/glocalfilemonitor.h:
4602 * gio/inotify/Makefile.am:
4603 * gio/inotify/ginotifydirectorymonitor.c:
4604 * gio/inotify/ginotifydirectorymonitor.h:
4605 * gio/inotify/ginotifyfilemonitor.c:
4606 * gio/inotify/ginotifyfilemonitor.h:
4607 Implement the FAM and Inotify monitors as
4608 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4609 their own GIO module. GLocal(Directory|File)Monitor will use the
4610 monitor with the highest rank that is supported on that machine.
4612 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4615 Change GIO module dir to $(libdir)/gio/modules and change
4616 the log domain from GVFS to GIO. Also only export symbols starting
4617 with g_ in the resulting library.
4618 * gio/test-streams.c: (main):
4619 Set log handler for the GIO log domain.
4621 2007-10-22 Alexander Larsson <alexl@redhat.com>
4623 * gio/gfilenamecompleter.[ch]:
4624 Add g_filename_completer_set_dirs_only
4626 2007-10-22 Alexander Larsson <alexl@redhat.com>
4629 * gio/gurifuncs.[ch]:
4630 Add some simple URI helpers
4632 * gio/gfilenamecompleter.[ch]:
4633 Added object for filename (parse name actually) completion
4636 Handle ~ in parse names
4638 2007-10-17 Alexander Larsson <alexl@redhat.com>
4641 * gio/glocalfileinfo.c:
4642 Add and implement id:value attribute
4644 2007-10-17 Alexander Larsson <alexl@redhat.com>
4647 * gio/guniondrive.c:
4649 Add and implement g_drive_has_volumes
4651 2007-10-17 Alexander Larsson <alexl@redhat.com>
4654 * gio/glocalfileinfo.[ch]:
4655 Add unix:is_mountpoint and implement for local files
4657 2007-10-16 Alexander Larsson <alexl@redhat.com>
4659 * gio/gunionvolumemonitor.c:
4660 (g_union_volume_monitor_init):
4661 Fix up the unix type getting so that it works with gcc
4663 2007-10-12 Alexander Larsson <alexl@redhat.com>
4666 * gio/glocalfileinfo.c:
4667 Add thumbnail:failed to file info
4669 2007-10-12 Richard Hult <richard@imendio.com>
4671 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4672 optimizing away the get_type call (happens with some gcc versions,
4673 like the one shipped with OS X 10.4).
4675 2007-10-12 Alexander Larsson <alexl@redhat.com>
4677 * gio/glocalfileinfo.c:
4678 (_g_local_file_info_set_attribute):
4679 Fix build if not HAVE_XATTR
4680 Patch from Milosz Derezynski <internalerror@gmail.com>
4682 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4684 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4685 around for review, otherwise I would have asked you before
4688 2007-10-11 Alexander Larsson <alexl@redhat.com>
4691 Add thumbnail:path attribute
4693 * gio/glocalfileinfo.c:
4694 Implement thumbnail:path for local files
4696 2007-10-11 Alexander Larsson <alexl@redhat.com>
4698 * gio/glocalfileinfo.c:
4699 (_g_local_file_info_get):
4700 Avoid duplicate icon names
4702 2007-10-11 Alexander Larsson <alexl@redhat.com>
4704 * gio/gthemedicon.[ch]:
4705 Change g_themed_icon_get_names return type to const
4707 2007-10-10 Alexander Larsson <alexl@redhat.com>
4709 * gio/glocalfileinfo.c:
4710 Don't reference freed memory
4712 2007-10-10 Alexander Larsson <alexl@redhat.com>
4714 * gio/gfileattribute.c:
4717 * gio/glocalfileinfo.c:
4720 2007-10-10 Alexander Larsson <alexl@redhat.com>
4723 Check for NULL icons
4725 * gio/gfileattribute.c:
4726 Don't dup when getting objects (same as for string attributes)
4728 * gio/gicon.c (g_icon_equal):
4729 Safely handle NULLs in equal
4731 2007-10-10 Alexander Larsson <alexl@redhat.com>
4734 Fix c++ compilation issues
4735 Patch from Milosz Derezynski <internalerror@gmail.com>
4737 2007-10-10 Alexander Larsson <alexl@redhat.com>
4739 * programs/gio-monitor-dir.c:
4740 Don't crash if dir monitor not supported.
4742 2007-10-09 Alexander Larsson <alexl@redhat.com>
4745 Add missing G_END_DECLS
4747 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4749 * gio/gfile.c: (g_file_set_display_name),
4750 (g_file_query_settable_attributes),
4751 (g_file_query_writable_namespaces):
4752 Return NULL not FALSE on errors as the return type is a pointer.
4754 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4756 * gio/glocalfile.c: (g_local_file_monitor_file):
4757 Don't call monitor_file on the default interface vtable (which
4758 is NULL) but simply return NULL. The caller, GFile, will create a
4759 polling monitor if NULL is returned.
4761 2007-10-09 Alexander Larsson <alexl@redhat.com>
4765 * gio-unix-2.0.pc.in:
4766 Add gio-unix-2.0.pc if OS_UNIX
4769 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4771 2007-10-09 Alexander Larsson <alexl@redhat.com>
4773 * gio/gunixmounts.[ch]:
4774 Make unix mount monitoring API sane.
4775 Now its just a object with mounts_changed
4776 and mountpoints_changed signals.
4778 * gio/glocaldirectorymonitor.c:
4779 * gio/gunixvolumemonitor.c:
4780 Use new mount monitor api
4782 2007-10-09 Alexander Larsson <alexl@redhat.com>
4784 * gio/gunixmounts.[ch]:
4785 Move guess type into one call for mounts and one for mountpoints
4788 * gio/gunixvolume.c:
4791 2007-10-09 Alexander Larsson <alexl@redhat.com>
4793 * gio/gunixmounts.[ch]:
4794 Remove _ prefix in preparation to make this semi-public
4795 Hide implementation of structs
4797 * gio/glocaldirectorymonitor.c:
4799 * gio/gunixvolume.c:
4800 * gio/gunixvolumemonitor.c:
4801 Update for above API changes
4803 2007-10-08 Alexander Larsson <alexl@redhat.com>
4806 Better polling fallback. This also handles the case where we have
4807 a monitor_file implementation, but it fails.
4809 2007-10-08 Alexander Larsson <alexl@redhat.com>
4813 * gio/gunixmounts.c:
4814 * programs/gio-monitor-dir.c:
4815 * programs/gio-monitor-file.c:
4816 Added cancellable to file monitoring calls.
4817 These are really sync calls and need this.
4819 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4821 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4822 (g_local_vfs_class_init):
4823 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4824 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4826 2007-10-05 Alexander Larsson <alexl@redhat.com>
4828 * gio/gdirectorymonitorprivate.h:
4829 * gio/gfilemonitorprivate.h:
4830 * gio/gdirectorymonitor.h:
4831 * gio/gfilemonitor.h:
4832 Remove *private.h and move to the public API, so that
4833 we can do implementations outside gio (such as in gvfs)
4835 * gio/gdirectorymonitor.c:
4836 * gio/gfilemonitor.c:
4837 * gio/glocaldirectorymonitor.c:
4838 * gio/gpollfilemonitor.c:
4839 * gio/inotify/inotify-helper.c:
4840 * gio/fam/fam-helper.c:
4841 Update to the new header names
4843 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4845 * gio/gdirectorymonitor.c:
4846 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4849 2007-10-04 Alexander Larsson <alexl@redhat.com>
4851 * gio/glocalfileinfo.c (get_access_rights):
4852 Set CAN_TRASH when we can move the file.
4853 We should really also check for a parent trash dir.
4855 2007-10-04 Alexander Larsson <alexl@redhat.com>
4857 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4858 Add can_trash access attribute
4860 2007-10-04 Alexander Larsson <alexl@redhat.com>
4863 (g_local_file_trash):
4864 Create info file first. This is per-spec and allows
4865 us to actually trash directories.
4867 2007-10-02 Alexander Larsson <alexl@redhat.com>
4869 * gio/gdesktopappinfo.c:
4870 Implement the new mime support code.
4871 Always set app as handling mimetype when being set as default for it
4873 2007-10-01 Alexander Larsson <alexl@redhat.com>
4875 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4876 Fix up check for xattrs:
4878 2007-10-01 Alexander Larsson <alexl@redhat.com>
4881 (g_app_info_set_as_default_for_extension):
4882 (g_app_info_add_supports_type):
4883 (g_app_info_can_remove_supports_type):
4884 (g_app_info_remove_supports_type):
4885 Make these fail nicely if not implemented
4887 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4889 * gio/glocalfileoutputstream.c:
4890 * gio/glocalfileoutputstream.h:
4895 * programs/gio-save.c:
4896 Add a GFileCreateFlags argument to operations that can create
4899 2007-10-01 Alexander Larsson <alexl@redhat.com>
4901 * gio/gappinfo.[ch]:
4902 * gio/gdesktopappinfo.c:
4903 Add more (stubbed out) mime API needed for nautilus
4905 2007-10-01 Alexander Larsson <alexl@redhat.com>
4908 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4909 Add g_app_info_set_as_default_for_extension.
4911 * gio/gdesktopappinfo.c:
4912 Dummy for g_app_info_set_as_default_for_extension
4913 Support flags in g_app_info_create_from_commandline
4915 * gio/gwin32appinfo.c:
4917 Update for API changes
4919 * gio/gthemedicon.c:
4920 Properly NULL-terminate list of icon names
4922 2007-09-28 Alexander Larsson <alexl@redhat.com>
4924 * gio/gloadableicon.h:
4925 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4927 2007-09-28 Alexander Larsson <alexl@redhat.com>
4930 Install headers in $includedir/gio-standalone/
4932 * gio-2.0.pc.in: Added.
4933 * gio-standalone.pc.in: Removed.
4936 Renamed pkg-config file to match glib (for future move)
4937 Update to the new include dir
4940 Add more TODO comments
4942 2007-09-28 Alexander Larsson <alexl@redhat.com>
4944 * gio/gdesktopappinfo.[ch]:
4945 Expose new_from_filename
4946 Add getter for is_hidden and handle it better
4948 2007-09-28 Alexander Larsson <alexl@redhat.com>
4950 * gio/gfileinfo.[ch]:
4951 Rename g_file_size_format_for_display to
4952 g_format_file_size_for_display.
4953 Now it doesn't have the g_file prefix, so we
4954 can later move it to glib.
4956 2007-09-28 Alexander Larsson <alexl@redhat.com>
4958 * gio/gappinfo.[ch]:
4959 Add g_app_info_get_id and g_app_info_get_executable.
4960 Make all getters non-reffing
4961 Make g_app_info_launch take GFile arguments.
4962 Add must_support_uris argument to g_app_info_get_default_for_type.
4964 * gio/gwin32appinfo.c:
4965 Update to GAppInfo api changes
4967 * gio/gdesktopappinfo.c:
4968 Update to GAppInfo api changes
4969 Implement supports_xdg_startup_notify
4971 * gio/gfileicon.c (g_file_icon_get_file):
4972 Make getter non-reffing.
4977 2007-09-27 Alexander Larsson <alexl@redhat.com>
4979 * gio/gfileinfo.[ch]:
4980 Add g_file_size_format_for_display helper
4982 2007-09-27 Alexander Larsson <alexl@redhat.com>
4984 * gio/glocalfileinfo.c:
4985 Set UNIX_GID from gid, not from uid
4987 2007-09-27 Alexander Larsson <alexl@redhat.com>
4990 Add g_file_set_attributes_async
4992 2007-09-27 Alexander Larsson <alexl@redhat.com>
4994 * gio/glocalfile.c (g_local_file_set_display_name):
4995 Fix set_display_name to actually rename to the right place.
4996 Use lstat to look for existing files so we don't overwrite
4999 2007-09-26 Alexander Larsson <alexl@redhat.com>
5002 Add g_file_set_display_name_async()
5004 2007-09-26 Alexander Larsson <alexl@redhat.com>
5007 Add load_partial_contents async calls
5010 Make internal function static
5012 2007-09-26 Alexander Larsson <alexl@redhat.com>
5014 * gio/glocalfileinfo.c:
5015 Correctly detect broken symlinks
5017 2007-09-26 Alexander Larsson <alexl@redhat.com>
5019 * gio/gcancellable.c (g_cancellable_cancel):
5020 Allow cancel on NULL cancellable
5022 2007-09-25 Alexander Larsson <alexl@redhat.com>
5024 * gio/gsimpleasyncresult.c:
5025 Don't allocate g_error manually.
5026 Fixes g_slice/g_new mixup crash
5028 2007-09-25 Alexander Larsson <alexl@redhat.com>
5030 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5031 Actually set active_backend.
5032 This means the monitor will be cancelled correctly.
5034 2007-09-25 Alexander Larsson <alexl@redhat.com>
5036 * gio/gdirectorymonitor.c:
5037 Set timeout to NULL when destroying
5039 2007-09-25 Alexander Larsson <alexl@redhat.com>
5042 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5043 that is a better description of the error.
5045 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5047 * gio/gvfs.c: (g_vfs_get_local):
5048 Make the local vfs variable static. The same instance should
5051 2007-09-24 Alexander Larsson <alexl@redhat.com>
5053 * gio/glocalfileinfo.c:
5054 Pass in actual length read into sniffer, not the length
5057 2007-09-21 Alexander Larsson <alexl@redhat.com>
5059 * gio/gfileenumerator.c:
5062 * gio/gfileinputstream.c:
5063 * gio/gfileoutputstream.c:
5064 * gio/ginputstream.c:
5065 * gio/goutputstream.c:
5066 Don't crash if async callbacks are NULL
5068 2007-09-20 Alexander Larsson <alexl@redhat.com>
5071 Add async enumerate_children method and default
5074 2007-09-20 Alexander Larsson <alexl@redhat.com>
5077 Add g_file_contains_file & g_file_get_relative_path, since they
5078 were needed for nautilus.
5079 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5084 Implement new methods
5086 2007-09-17 Alexander Larsson <alexl@redhat.com>
5089 * gio/gfileinputstream.[ch]:
5090 * gio/gfileoutputstream.[ch]:
5092 * gio/glocalfileenumerator.[ch]:
5093 * gio/glocalfileinfo.[ch]:
5094 * gio/glocalfileinputstream.c:
5095 * gio/glocalfileoutputstream.c:
5096 * gio/gpollfilemonitor.c:
5097 * programs/gio-copy.c:
5098 * programs/gio-info.c:
5099 * programs/gio-move.c:
5100 Rename get_file_info to query_info() to make it clearer
5101 that these are not simple getters, but do i/o.
5103 2007-09-17 Alexander Larsson <alexl@redhat.com>
5105 * gio/gdatainputstream.[ch]:
5106 * gio/test-streams.c:
5107 Use _read_XXX instead of _get_XXX for the i/o calls
5110 2007-09-17 Alexander Larsson <alexl@redhat.com>
5113 Added needed stuff to TODO comment
5115 2007-09-17 Alexander Larsson <alexl@redhat.com>
5117 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5118 Don't error out removing the backup copy if it doesn't
5121 2007-09-14 Alexander Larsson <alexl@redhat.com>
5123 * programs/Makefile.am:
5124 * programs/gvfs-*.c:
5126 Renamed apps from gvfs-xxx to gio-xxx.
5128 2007-09-14 Alexander Larsson <alexl@redhat.com>
5131 * gio/gfileoutputstream.[ch]:
5132 * gio/glocalfileoutputstream.c:
5133 * programs/gvfs-save.c:
5134 g_file_output_stream_get_etag doesn't do i/o, so remove
5135 cancellation and error.
5137 2007-09-14 Alexander Larsson <alexl@redhat.com>
5140 Add new_etag output to replace_contents functions
5142 2007-09-14 Alexander Larsson <alexl@redhat.com>
5144 * gio/gfileoutputstream.[ch]:
5145 Add async get_file_info and default implementation
5147 2007-09-14 Alexander Larsson <alexl@redhat.com>
5149 * gio/gfileinputstream.c:
5150 Implement fallback wrapper for async get_file_info
5152 2007-09-14 Alexander Larsson <alexl@redhat.com>
5155 Add etag out argument to load_contents
5160 2007-09-14 Alexander Larsson <alexl@redhat.com>
5162 * gio/gcontenttype.c (looks_like_text):
5163 Whitespace like tab, cr and lf do not make the
5166 2007-09-14 Alexander Larsson <alexl@redhat.com>
5168 * gio/gfileinputstream.[ch]:
5169 Add async get_file_info.
5171 2007-09-13 Alexander Larsson <alexl@redhat.com>
5173 * gio/goutputstream.c (g_output_stream_write_all):
5174 Allow NULL for bytes_written
5176 2007-09-13 Alexander Larsson <alexl@redhat.com>
5178 * gio/gmemoryinputstream.[ch]:
5179 Add accessors for data
5181 2007-09-13 Alexander Larsson <alexl@redhat.com>
5183 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5184 Don't crash if length is NULL