1 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
3 Bug 554970 – segfault when update-desktop-database is not available
6 * gdesktopappinfo.c (run_update_command): Have the error set before
9 2008-10-01 David Zeuthen <davidz@redhat.com>
11 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
12 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
13 instead of the gio URI (such as sftp://foo/file.avi) when using
14 g_app_info_launch() and friends. With a sufficiently recent gvfs,
15 apps using gio+gvfs will map the FUSE file:// URI back to the gio
16 URI (and thus bypass the fuse daemon) thanks the patch from bug
17 #530654. Since Nautilus is an user of g_app_info_launch() it
18 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
19 when launced via the file manager. Win. Fixes bug #528670.
21 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
22 mapping to the description of GAppInfo.
24 2008-09-30 Tor Lillqvist <tml@novell.com>
26 * tests/Makefile.am: Build desktop-app-info only on Unix.
28 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
29 g_critical(). Pass a large enough result buffer to
30 GetVolumePathNameW(). Just use MAX_PATH.
32 2008-09-29 David Zeuthen <davidz@redhat.com>
34 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
36 2008-09-26 Dan Winship <danw@gnome.org>
38 * tests/data-input-stream.c:
39 * tests/data-output-stream.c:
40 * tests/live-g-file.c:
41 * tests/memory-input-stream.c:
42 * tests/memory-output-stream.c: Use g_assert_error() and
45 2008-09-26 Matthias Clasen <mclasen@redhat.com>
47 Bug 545350 – GAppInfo deletion
48 Bug 545351 – Reset associations for content type
51 * gappinfo.[hc]: New functions g_app_info_can_delete,
52 g_app_info_delete and g_app_info_reset_type_associations.
55 * gwin32appinfo.c: Implementations of these.
58 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
60 2008-09-26 Dan Winship <danw@gnome.org>
62 Bug 505361 – gunixinputstream.c assumes poll() available
63 Bug 509446 – portable blocking gio cancellation
65 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
66 GPollFD for a cancellable (which is slightly more complicated on
69 * gunixinputstream.c (g_unix_input_stream_read):
70 * gunixoutputstream.c (g_unix_output_stream_write): Use
71 g_cancellable_make_pollfd() and g_poll() rather than using poll()
74 * tests/unix-streams.c: test of GUnixInputStream,
75 GUnixOutputStream, and GCancellable.
77 2008-09-26 Dan Winship <danw@gnome.org>
79 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
80 cast to stop a gcc warning
82 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
85 2008-09-25 Dan Winship <danw@gnome.org>
87 Bug 553426 - cancellable clarifications
89 * gcancellable.c (g_cancellable_class_init): Add a note to the
90 "cancelled" signal docs warning about thread-safety issues
91 (g_cancellable_cancel): Note that cancelling an asynchronous
92 operation takes effect asynchronously, not immediately.
94 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
96 * gioenums.h: Add new GFileCopyFlag, to leave target file with
97 default perms, instead of setting the source file perms, in a copy
100 * gfile.c (g_file_copy_attributes)
101 (build_attribute_list_for_copy)
102 (should_copy): Not copy "unix::mode" attribute if we have received
103 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
105 2008-09-20 Matthias Clasen <mclasen@redhat.com>
107 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
109 2008-09-17 Matthias Clasen <mclasen@redhat.com>
111 * === Released 2.18.1 ===
113 2008-09-16 Michael Natterer <mitch@imendio.com>
115 * gcontenttype.c (g_content_type_guess): can't assign the return
116 value of g_strdupv() to an array. Fill the array manually with
117 const strings instead (it is never freed anyway). Fixes the
118 build. Also fixed indentation.
120 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
122 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
123 Fix trivial typo to unbreak the build (there was a colon
124 instead of a semicolon at the end of a statement).
126 2008-09-15 Matthias Clasen <mclasen@redhat.com>
128 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
131 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
134 2008-09-15 Matthias Clasen <mclasen@redhat.com>
136 Bug 551681 – g_content_type_guess() too naive with filenames
138 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
139 at the end of the filename, and declare it a directory.
140 Patch by Bastien Nocera
142 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
144 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
147 * gdesktopappinfo.c: add a note in the docs clarifying what the
148 "filename" parameter really is.
150 2008-09-12 Tor Lillqvist <tml@novell.com>
152 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
153 FormatMessage() etc here. Call g_win32_error_message() instead
154 which already does all that. Besides, the code was broken as it
155 called the default "A" version of FormatMessage() but still
156 thought it produced a wide string.
158 2008-09-12 Michael Natterer <mitch@imendio.com>
160 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
161 in the documentation.
163 2008-09-08 Christian Neumair <cneumair@gnome.org>
165 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
166 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
167 Use non-blocking pipe for mount helper I/O. Fixes #550647.
169 2008-09-06 Matthias Clasen <mclasen@redhat.com>
171 Bug 551149 – xdgmime mem leak
173 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
174 a memory leak. Patch by Christian Persch
176 2008-09-04 Tor Lillqvist <tml@novell.com>
178 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
181 2008-09-02 Matthias Clasen <mclasen@redhat.com>
183 * === Released 2.18.0 ===
185 2008-09-02 Michael Natterer <mitch@imendio.com>
187 * *.h: big header formatting cleanup: indentation, vtable
188 formatting, consistent spacing in (* vfunc), trailing whitespace
189 removal. Formatting should be pretty consistent in all GIO headers
192 2008-09-02 Matthias Clasen <mclasen@redhat.com>
194 * gmount.h: Document guess_content_type sync vfunc.
196 2008-09-02 Michael Natterer <mitch@imendio.com>
198 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
199 fix parent_class member to be GFilterOutputStreamClass (not
200 GOutputStreamClass). Drop three pointers of padding, which is
201 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
202 so the class struct size stays the same.
204 2008-09-02 Matthias Clasen <mclasen@redhat.com>
206 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
208 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
209 nonexisting return values. Pointed out by Cosimo Cecchi.
211 2008-08-23 Tor Lillqvist <tml@novell.com>
213 Bug 548988 - g_file_replace fails on Windows when the target file
216 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
217 Windows, close the file before potentially renaming it (in case we
218 have been writing to a file with a temporary name).
220 (g_local_file_output_stream_close, handle_overwrite_open): Use
221 GLocalFileStat instead of plain struct stat, for passing to
222 _g_local_file_info_create_etag(). Thus also use _fstati64()
223 instead of plain fstat() on Windows.
225 2008-08-18 Matthias Clasen <mclasen@redhat.com>
227 * === Released 2.17.7 ===
229 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
231 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
234 2008-08-13 Tor Lillqvist <tml@novell.com>
236 * win32/gwinhttpvfs.c
237 * win32/gwinhttpvfs.h
238 * win32/gwinhttpfile.c
239 * win32/gwinhttpfileinputstream.c
240 * win32/gwinhttpfileoutputstream.c: Refactor some common code
241 snippets into helper functions. Check HTTP response status
242 codes. Implement g_winhttp_file_query_info(), looking at
243 Content-Length, Content-Type and Last-Modified.
245 * win32/winhttp.h: Add some symbolic constants that are not
246 publicly documented. Just a handful, so it should be OK to use
247 information from the Windows SDK's headers.
249 2008-08-13 Tor Lillqvist <tml@novell.com>
251 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
254 * win32/gwin32directorymonitor.c
255 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
257 2008-08-13 Matthias Clasen <mclasen@redhat.com>
260 * goutputstream.c: Add intro docs.
262 2008-08-13 Tor Lillqvist <tml@novell.com>
264 * win32/gwinhttpfileoutputstream.c
265 (g_winhttp_file_output_stream_write): Don't write the
266 Content-Length header ourselves, WinHttpSendRequest() takes care
267 of that when the dwTotalLength parameter is non-zero. Increment
268 offset by the number of actual bytes sent, although I wonder if
269 such a scenario is possible where less than requested would be
270 sent and accepted by the server without errors.
272 2008-08-13 Tor Lillqvist <tml@novell.com>
274 * win32/gwinhttpvfs.c
275 * win32/gwinhttpvfs.h
276 * win32/gwinhttpfile.c
277 * win32/gwinhttpfile.h
278 * win32/gwinhttpfileinputstream.c
279 * win32/gwinhttpfileinputstream.h
280 * win32/gwinhttpfileoutputstream.c
281 * win32/gwinhttpfileoutputstream.h: New files implementing
282 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
283 Windows. The implementation uses the WinHttp API. Both reading and
284 writing are supported, i.e. GET and PUT requests. When writing,
285 each write call is done using a separate PUT request with a
286 Content-Range header. Requests for file URIs and plain pathnames
287 are forwarded to GLocalVfs.
289 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
290 WINE. Used as there is no <winhttp.h> bundled with mingw, and
291 requiring people to download the Windows SDK just for this one
292 header is not reasonable.
294 * win32/Makefile.am: Add above files.
296 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
297 the plumbing for the above.
299 2008-08-11 Sven Neumann <sven@gimp.org>
301 * gfilenamecompleter.c
302 * glocaldirectorymonitor.c
304 * gunionvolumemonitor.c
308 * gunixvolumemonitor.c
311 * gwin32volumemonitor.c: use canonical signal names.
313 2008-08-11 Tor Lillqvist <tml@novell.com>
315 * Makefile.am: Put a list of the platform-dependent .la files in
316 the subdirectories in the platform_deps Make variable, and make
317 libgio-2.0.la depend on that, so that it gets relinked if one of
318 the dependent libraries has changed.
320 2008-08-11 Tor Lillqvist <tml@novell.com>
322 * Makefile.am (platform_libadd): Remove -lwininet which had been
323 added by mistake. We will probably eventually be using WinHTTP,
324 not the older WinInet anyway. (Actually I am working on it.)
326 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
328 Bug 547080 – g_file_copy leaks expected errors
330 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
331 before trying the next fallback routine.
333 2008-08-09 Loïc Minier <lool@dooz.org>
335 Bug 535124 – umask 002 not being applied for new directories, new
336 files get the correct umask
338 * gfile.c (g_file_make_directory)
339 (g_file_make_directory_with_parents): Document ownership and
340 permissions of newly created directories as being the default
343 2008-08-08 Loïc Minier <lool@dooz.org>
345 Bug 535124 – umask 002 not being applied for new directories, new
346 files get the correct umask
348 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
351 2008-08-08 Tor Lillqvist <tml@novell.com>
353 * gwin32mount.c: Remove unused code. Whitespace cleanup.
355 * gwin32volumemonitor.c (get_connected_drives): Put questionable
356 code that didn't actually do anything inside #if 0, and add a
357 comment wondering what the code was supposed to do. This also gets
358 rid of a leftover debugging printout.
360 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
362 * gfileicon.c (g_file_icon_get_property)
363 (g_file_icon_set_property): New functions.
364 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
366 (g_file_icon_new): Use the property (bug #546132).
368 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
370 * gthemedicon.c (g_themed_icon_get_property): Also handle
371 `PROP_USE_DEFAULT_FALLBACKS'.
372 (g_themed_icon_class_init): Make
373 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
375 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
377 Bug 546371 – Improve docs re g_file_monitor
379 * gfilemonitor.c: Mention g_file_monitor() in the docs.
381 2008-08-04 Matthias Clasen <mclasen@redhat.com>
383 * === Released 2.17.6 ===
385 2008-08-04 Matthias Clasen <mclasen@redhat.com>
387 * === Released 2.17.5 ===
389 2008-08-04 Matthias Clasen <mclasen@redhat.com>
391 Bug 546017 – Don't copy attributes when copying a symlink
393 * gfile.c (g_file_copy_attributes): Specify
394 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
395 g_file_set_attributes_from_info. Patch by Christian Kellner
397 2008-08-04 Matthias Clasen <mclasen@redhat.com>
399 * gemblemedicon.[hc]:
401 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
402 a bit more extensible. Work by Clemens Buss.
404 * gioenums.h: Add GEmblemOrigin.
407 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
409 Bug 546079 – leak in xdgmime
411 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
413 2008-08-03 Tor Lillqvist <tml@novell.com>
415 * win32/gwin32directorymonitor.h
416 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
419 2008-08-03 Tor Lillqvist <tml@novell.com>
421 * win32/gwin32directorymonitor.c
422 (g_win32_directory_monitor_callback): Make prototype match
423 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
424 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
427 (g_win32_directory_monitor_constructor):
428 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
429 names in the GLib API on Windows, so convert to UTF-16 and open
432 2008-08-03 Tor Lillqvist <tml@novell.com>
434 Bug 541036 - Gnumeric crashes when trying to open Desktop or
435 user's folder under Windows
437 * win32/gwin32directorymonitor.c
438 (g_win32_directory_monitor_constructor): Ignore error from
439 CreateFile() when opening directory. Instead of asserting, just
440 store INVALID_HANDLE_VALUE then in
441 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
442 ReadDirectoryChangesW().
443 (g_win32_directory_monitor_cancel): Don't attempt to close
444 directory handle if it is INVALID_HANDLE_VALUE.
446 2008-08-01 Matthias Clasen <mclasen@redhat.com>
448 * gdesktopappinfo.c: Remove debug spew
450 2008-08-01 Hans Breuer <hans@breuer.org>
452 * makefile.msc : add gemblembedicon
454 2008-07-30 Matthias Clasen <mclasen@redhat.com>
456 Bug 545457 – gdmsetup crashed with SIGSEGV in
457 g_unix_mount_guess_should_display()
459 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
460 crash if no mount is found.
462 2008-07-28 Matthias Clasen <mclasen@redhat.com>
464 Bug 545203 – gfile.c: argument is different type.
466 * gfile.c (open_read_async_thread): Pass a GError **
467 to g_file_set_error_literal.
468 Reported by Kazuki Iwamoto
470 2008-07-28 Matthias Clasen <mclasen@redhat.com>
472 Bug 545157 – wrong/no list of "open with" applications for .cc and
475 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
476 Collect all ancestors, not just direct parents. Pointed
477 out by Bastien Nocera
479 2008-07-28 Matthias Clasen <mclasen@redhat.com>
481 * Makefile.am: Install gemblemedicon.h
483 2008-07-28 Matthias Clasen <mclasen@redhat.com>
485 * gemblemedicon.[hc]: Add a GIcon implementation that can
486 add an emblem to another icon.
493 * gfileicon.c: Small documentation additions.
495 2008-07-28 Tor Lillqvist <tml@novell.com>
497 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
500 2008-07-27 Tor Lillqvist <tml@novell.com>
502 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
504 2008-07-24 David Zeuthen <davidz@redhat.com>
508 Also export a g_mount_guess_content_type_sync() function.
510 2008-07-23 Matthias Clasen <mclasen@redhat.com>
512 529694 – SELinux context setting support
514 * gfileinfo.c: Support setting selinux attributes.
515 Patch by Tomas Bzatek
517 2008-07-22 Priit Laes <plaes@plaes.org>
519 Bug 544140 - fam-helper 64-bit issue?
521 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
523 2008-07-21 Matthias Clasen <mclasen@redhat.com>
525 * === Released 2.17.4 ===
527 2008-07-20 Matthias Clasen <mclasen@redhat.com>
529 * gvolumemonitor.[hc]:
534 * gmount.c: Documentation fixes
536 2008-07-19 Matthias Clasen <mclasen@redhat.com>
538 543504 – crash in Epiphany Web Browser: Opening local file
549 * gvolume.c: Register types thread-safely.
550 Patch by Christian Persch
552 2008-07-18 Matthias Clasen <mclasen@redhat.com>
554 * gcontenttype.c: Remove debug spew
556 2008-07-18 Matthias Clasen <mclasen@redhat.com>
558 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
561 * fen/fen-kernel.c: Remove a warning that was causing
562 crashes. Reported by Lin Ma.
564 2008-07-18 Matthias Clasen <mclasen@redhat.com>
566 Bug 543040 – async reading on dummy file will crash on
569 * gfile.c (open_read_async_thread): Cope with read_fn being
570 NULL. Reported by Lin Ma.
572 2008-07-18 Matthias Clasen <mclasen@redhat.com>
575 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
577 2008-07-16 Matthias Clasen <mclasen@redhat.com>
581 * giomodule.c: Rename a chapter id to avoid filename conflict.
583 2008-07-16 Matthias Clasen <mclasen@redhat.com>
585 Bug 540616 – mem leak in filechooser button
587 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
588 the mount entry. Reported by Chrisitan Persch
590 2008-07-16 Matthias Clasen <mclasen@redhat.com>
592 * gfile.c: Small documentation fixes.
594 2008-07-15 Matthias Clasen <mclasen@redhat.com>
596 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
598 2008-07-08 Matthias Clasen <mclasen@redhat.com>
603 * gmount.c: Documentation improvements.
605 2008-07-08 Matthias Clasen <mclasen@redhat.com>
608 * gmount.[hc]: Add g_mount_guess_content_type().
610 2008-07-06 David Zeuthen <davidz@redhat.com>
613 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
614 is needed for easily handling adoption of foreign volumes by
615 out-of-process volume monitors (#541793)
617 2008-07-06 David Zeuthen <davidz@redhat.com>
619 * gvolumemonitor.[ch]:
620 * gunionvolumemonitor.c: Export the eject-button signal on the
621 volume monitor class (#541794).
623 2008-07-06 Matthias Clasen <mclasen@redhat.com>
625 * gappinfo.c: More doc tweaks
627 2008-07-05 Matthias Clasen <mclasen@redhat.com>
629 * gappinfo.c: Clarify some docs
631 2008-07-03 Matthias Clasen <mclasen@redhat.com>
633 * gdesktopappinfo.c: Fix a stupid mistake.
635 2008-07-02 Matthias Clasen <mclasen@redhat.com>
637 * === Released 2.17.3 ===
639 2008-07-02 Matthias Clasen <mclasen@redhat.com>
641 * gfilemonitor.c: Fix the build.
643 2008-07-02 Matthias Clasen <mclasen@redhat.com>
645 Bug 536160 – Add g_file_monitor()
648 * gfile.[hc]: Add g_file_monitor which can return either
649 a file or a directory monitor. Proposed by Behdad Esfahbod
651 2008-07-02 Matthias Clasen <mclasen@redhat.com>
653 536733 – gio build failure on Irix
655 * glocalfile.c: Use a configure check for structfs.f_bavail.
657 2008-07-02 Matthias Clasen <mclasen@redhat.com>
659 Bug 534639 – add g_desktop_app_info_new_from_keyfile
662 * gdesktopappinfo.[hc]: Add a function to create a
663 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
665 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
667 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
669 2008-07-01 Matthias Clasen <mclasen@redhat.com>
671 * gunixmounts.c: Fix a doc typo.
673 2008-07-01 Cody Russell <bratsche@gnome.org>
675 * gio/gcontenttype.c:
676 * gio/gwin32appinfo.c:
677 * gio/gwin32volumemonitor.c:
678 * gio/gwin32mount.c: Fixed some include problems.
680 2008-07-01 Cody Russell <bratsche@gnome.org>
684 Moved all relevant typedefs into these files.
687 Updated wrt added files.
689 Split types into separate file for easier maintainership. (#538564)
691 2008-06-30 Matthias Clasen <mclasen@redhat.com>
693 Bug 540331 – g_file_append_to () documentation: can return NULL
695 * gfile.c (g_file_append_to): Clarify docs.
698 2008-06-30 Matthias Clasen <mclasen@redhat.com>
700 Bug 539090 – g_content_type_from_mime_type() should unalias
702 * gcontentype.c (g_content_type_from_mime_type): Unalias.
703 Patch by Markus Bergman
705 2008-06-30 Matthias Clasen <mclasen@redhat.com>
707 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
710 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
711 on ppc and alpha. Reported by Mart Raudsepp
713 2008-06-29 Matthias Clasen <mclasen@redhat.com>
716 * tests/memory-output-stream.c: Add some tests for
719 2008-06-29 Matthias Clasen <mclasen@redhat.com>
721 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
724 * gmemoryoutputstream.c (array_resize): Handle truncation to
725 zero correctly. Reported by Akira Tagoh
727 2008-06-29 Matthias Clasen <mclasen@redhat.com>
729 * gmemoryoutputstream.c: Trivial doc fixes
731 2008-06-29 Matthias Clasen <mclasen@redhat.com>
733 Bug 540802 – g_list_prepend doesn't concat lists
735 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
736 one list to another. Pointed out by Jan Arne Petersen
738 2008-06-28 Michael Natterer <mitch@imendio.com>
740 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
742 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
744 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
745 to avoid problems with partial icon themes.
747 2008-06-17 Hans Breuer <hans@breuer.org>
749 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
750 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
751 access again on win32, see bug #538127
752 * giomodule.c : ensure GWin32VolumeMonitor is registered
753 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
754 * Makefile.am makefile.msc : updated
756 2008-06-16 Hans Breuer <hans@breuer.org>
758 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
759 and initialization in one step avoids c99ism
761 2008-06-16 Christian Persch <chpe@gnome.org>
764 * gio/gbufferedinputstream.c
766 * gio/gdatainputstream.c
767 * gio/gdesktopappinfo.c
769 * gio/gfileenumerator.c
770 * gio/gfileinputstream.c
771 * gio/gfileoutputstream.c
773 * gio/glocaldirectorymonitor.c
775 * gio/glocalfileenumerator.c
776 * gio/glocalfileinfo.c
777 * gio/glocalfilemonitor.c
778 * gio/glocalfileoutputstream.c
779 * gio/gmemoryinputstream.c
780 * gio/gmemoryoutputstream.c
781 * gio/goutputstream.c
782 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
785 2008-06-16 Tor Lillqvist <tml@novell.com>
787 Bug 538362 - Get Win32 icons back in the file chooser
789 * gcontenttype.c (g_content_type_get_icon): Look up the icon
790 corresponding to a file extension in the Registry. Patch by Hans
792 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
794 2008-06-16 Tor Lillqvist <tml@novell.com>
796 Patches by Hans Breuer:
798 * glocalfile.c (is_xp_or_later): Handle compiling against older
799 SDK headers with missing VerifyVersionInfo(). Conditioned on
800 _MSC_VER, but should probably use some better test.
801 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
802 uninitialised statfs_result variable on Win32.
804 2008-06-16 Michael Natterer <mitch@imendio.com>
806 * *.c: chain up unconditionally in finalize() and dispose(). Also
807 don't dereference these function pointers when calling them since
808 that has no meaning at all.
810 2008-06-16 Ross Burton <ross@burtonini.com>
813 Remove check for dispose implementation as it annoys Emmanuele.
815 2008-06-16 Ross Burton <ross@burtonini.com>
817 Bug 536252 – GFileEnumerator should allow access to the containing
823 Add g_file_enumerator_get_container() and a container writeable
824 construct-only property. Also shuffle around typedefs to make it
827 * glocalfileenumerator.c:
828 * glocalfileenumerator.h:
830 Instead of a string filename take a GFile in the constructor and
831 use it to set the container property.
836 2008-06-16 Matthias Clasen <mclasen@redhat.com>
838 * gfile.c: Make includes more uniform
840 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
842 * tests/live-g-file.c (sample_struct):
843 Use less fancy unicode filenames, so the test doesn't fail
844 on Mac OS X (#531476).
846 2008-06-12 Matthias Clasen <mclasen@redhat.com>
848 * === Released 2.17.2 ===
850 2008-06-12 Matthias Clasen <mclasen@redhat.com>
852 * === Released 2.17.1 ===
854 2008-06-11 A. Walton <awalton@gnome.org>
856 * tests/g-file.c (test_g_file_new_null):
857 Fix broken test case.
859 2008-06-11 Matthias Clasen <mclasen@redhat.com>
861 * pltcheck.sh: We use g_clear_error now.
863 2008-06-11 Matthias Clasen <mclasen@redhat.com>
865 * glocalfile.c (g_local_file_enumerate_children): Revert
866 an unintended change.
868 2008-06-11 Matthias Clasen <mclasen@redhat.com>
870 * gfile.c (g_file_replace_contents): Don't unref before the last use.
872 2008-06-10 Matthias Clasen <mclasen@redhat.com>
874 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
877 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
878 as icon for the desktop directory, also make user-home and
879 user-desktop the preferred icons.
881 2008-06-10 Matthias Clasen <mclasen@redhat.com>
884 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
885 to add a name to the front of the list.
887 2008-06-10 Matthias Clasen <mclasen@redhat.com>
889 Bug 537392 – Additional colon in xattr name
891 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
892 too. Reported by Alessandro Morandi
894 2008-06-10 Matthias Clasen <mclasen@redhat.com>
896 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
899 * glocalfile.c (get_fs_type): Add afs and autofs.
900 Patch by Danny Baumann.
902 2008-06-10 Matthias Clasen <mclasen@redhat.com>
904 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
906 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
907 is no parent. (Owen Taylor, patch by Christian Neumair)
909 2008-06-10 Paolo Borelli <pborelli@katamail.com>
911 * gfile.c (g_file_replace_contents): do not leak the output stream.
913 2008-06-10 Michael Natterer <mitch@imendio.com>
915 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
916 uninitialized memory as array index.
918 2008-06-10 Tor Lillqvist <tml@novell.com>
920 * gcontenttype.c (g_content_type_can_be_executable)
921 (g_content_type_get_icon) [Win32]: Add TODO comments.
923 2008-06-09 Matthias Clasen <mclasen@redhat.com>
925 * xdgmime/Makefile.am: Fix the build
927 2008-06-09 Matthias Clasen <mclasen@redhat.com>
929 * gcontenttype.c (g_content_type_get_icon): Use icons specified
930 in the shared mime database, if available.
932 * xdgmime/*: Sync with upstream. This brings support for
933 glob weights, generic icons, and changes the cache format to
936 2008-05-28 Michael Natterer <mitch@imendio.com>
938 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
939 the global CPPFLAGS now.
941 * tests/data-input-stream.c
942 * tests/data-output-stream.c
943 * tests/g-file-info.c
945 * tests/live-g-file.c
946 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
948 2008-05-27 Matthias Clasen <mclasen@redhat.com>
950 * === Released 2.17.0 ===
952 * tests/live-g-file.c: Clean up after the tests, so make distcheck
953 doesn't complain about leftover files.
955 2008-05-27 simon.zheng <simon.zheng@sun.com>
957 * glocalfile.c: (g_local_file_query_filesystem_info):
958 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
960 2008-05-26 Michael Natterer <mitch@imendio.com>
962 * gmemoryoutputstream.h: declare
963 g_memory_output_stream_get_data_size().
965 2008-05-26 Matthias Clasen <mclasen@redhat.com>
967 * tests/*: Make tests work
969 2008-05-26 Matthias Clasen <mclasen@redhat.com>
971 * gio.symbols: Add g_memory_output_stream_get_data_size.
973 2008-05-25 Ross Burton <ross@burtonini.com>
976 Fix typo in error message (#534764).
978 2008-05-25 Ross Burton <ross@burtonini.com>
981 Fix circular dependency loop for gioenumtypes.h (#534759).
983 2008-05-19 Hans Breuer <hans@breuer.org>
985 * Makefile.am : EXTRA_DIST += makefile.msc
987 2008-05-17 Matthias Clasen <mclasen@redhat.com>
990 * gcontenttype.c: (g_content_type_from_mime_type):
991 New function to create a content type from a mime type. (#527175,
994 2008-05-17 Matthias Clasen <mclasen@redhat.com>
996 Bug 532965 – Should not return filesystem::free for certain file systems
998 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
999 free space for ncpfs.
1001 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1003 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1005 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1006 st_dev might be zero.
1008 2008-05-16 Tor Lillqvist <tml@novell.com>
1010 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1011 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1013 2008-05-13 Bastien Nocera <hadess@hadess.net>
1015 * gfile.c (has_valid_scheme): A URI scheme must start with a
1016 letter, even if later more characters are allowed (#532852)
1018 2008-05-05 Michael Natterer <mitch@imendio.com>
1020 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1021 code from being checked in that breaks the build of applications
1022 which use G_DISABLE_SINGLE_INCLUDES.
1024 * makegioalias.pl: make the alias file include "glib.h" instead of
1027 * gio.symbols: whitespace change to force regeneration of the
1028 alias file after above script change.
1030 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1032 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1034 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1036 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1038 2008-04-28 David Zeuthen <davidz@redhat.com>
1040 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1041 displaying mounts in a subdirectory not accessible to the
1044 2008-04-22 Michael Natterer <mitch@imendio.com>
1046 * Makefile.am: fix library versioning (it was 0.0.0).
1048 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1050 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1051 Default disable all loggings.
1052 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1053 (port_fetch_event_cb): Fixed two macro nits.
1055 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1057 * xdgmime/xdgmime.c: Rework the timestamp checking code
1058 to protect against duplicate directories in XDG_DATA_DIRS.
1059 Fixes fd.o bug 12513, reported by Joe Shaw.
1061 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1063 Partically revert the last commit after realizing that
1064 xdg_mime_media_type_equal doesn't have to init at all.
1066 * xdgmime/xdgmime.h:
1067 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1069 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1071 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1073 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1074 reported by Joe Shaw and Federico Mena Quintero.
1076 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1077 (xdg_mime_media_type_equal): Turn into a wrapper around the
1080 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1081 functions throughout.
1083 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1085 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1086 tolerate an empty TryExec= line without failing; nautilus used
1087 to create launchers with these in previous versions. Fixes #528433
1089 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1091 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1092 after name. Fixes #527132.
1094 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1096 * gfile.c: (g_file_replace):
1099 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1101 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1103 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1104 by Christian Kellner.
1106 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1108 * gunixmounts.c: (g_unix_mount_guess_should_display):
1109 Don't list the user directory as a mount, fix potential issue
1110 when other users have a similar naming and don't special case the
1111 gvfs mounts there since that's not required (#525866)
1113 2008-03-31 Alexander Larsson <alexl@redhat.com>
1115 * glocalfile.c (get_parent):
1118 2008-03-31 A. Walton <awalton@svn.gnome.org>
1120 * gfile.c (g_file_query_file_type):
1121 Always return a GFileType enum value (#520715).
1123 2008-03-31 Alexander Larsson <alexl@redhat.com>
1125 * glocalfileenumerator.c:
1126 Read readdir() info in chunks (of 1000) and sort
1127 the chunks by inode before stat:ing.
1128 This is a 20% performance increase in testing
1129 gvfs-ls on /usr/bin with cold cache.
1131 2008-03-31 Alexander Larsson <alexl@redhat.com>
1133 * gmemoryoutputstream.c:
1134 Clarify docs for g_memory_output_stream_get_size.
1135 Add g_memory_output_stream_get_data_size.
1137 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1141 * gfile.h: Add g_file_query_file_type convenience function
1142 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1144 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1146 * gfileenumerator.c:
1147 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1149 2008-03-28 A. Walton <awalton@svn.gnome.org>
1151 * giomodule.c (_g_io_modules_ensure_loaded):
1152 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1155 2008-03-28 Alexander Larsson <alexl@redhat.com>
1158 (copy_stream_with_progress):
1161 2008-03-28 Alexander Larsson <alexl@redhat.com>
1164 (copy_stream_with_progress):
1165 (file_copy_fallback):
1166 Fallback to g_file_query_info for source size
1167 if g_file_input_stream_query_info fails. (#524579)
1169 2008-03-28 Alexander Larsson <alexl@redhat.com>
1171 * glocalfile.c (g_local_file_move):
1172 Reuse old string instead of adding new one.
1174 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1176 * fen/*.[hc]: still copyright issue. I hate copyright.
1178 2008-03-27 Alexander Larsson <alexl@redhat.com>
1180 * glocalfile.c (g_local_file_move):
1181 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1182 file over directory. This is according to the docs and what the move via
1183 copy+remove fallback does.
1185 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1187 * fen/*.[hc]: Updated copyright.
1189 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1191 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1193 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1195 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1196 not emit attribute changed events when optimizing changed events.
1197 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1200 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1202 * gmountoperation.[hc]: Small documentation additions
1204 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1206 * gunixmounts.c: (guess_mount_type):
1207 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1209 2008-03-19 Alexander Larsson <alexl@redhat.com>
1212 (copy_stream_with_progress):
1213 Bump block side for copy to 64k to minimize
1214 overhead for low latency links. (#523015)
1216 2008-03-16 Tor Lillqvist <tml@novell.com>
1218 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1219 depend on gio.def on Windows.
1221 2008-03-12 David Zeuthen <davidz@redhat.com>
1225 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1227 2008-03-14 Alexander Larsson <alexl@redhat.com>
1231 Avoid redudant tests (#521851)
1232 Patch from Josselin Mouette
1234 2008-03-14 Alexander Larsson <alexl@redhat.com>
1237 (g_file_monitor_is_cancelled):
1238 Fix C89 issue (#521672)
1239 Patch from Jens Granseuer
1241 2008-03-14 Alexander Larsson <alexl@redhat.com>
1243 * fam/fam-helper.[ch]:
1245 Shut down fam (including removing fam GSource) when
1246 module is unloaded (#521513)
1247 Patch from Joe Marcus Clarke
1249 2008-03-14 Alexander Larsson <alexl@redhat.com>
1252 (_g_io_modules_ensure_loaded):
1255 2008-03-14 Alexander Larsson <alexl@redhat.com>
1258 (g_local_file_query_filesystem_info):
1259 Use right define name for f_fstypename member check
1261 2008-03-14 Alexander Larsson <alexl@redhat.com>
1264 * fen/Makefile.am: Added.
1265 * fen/fen-data.[ch]: Added.
1266 * fen/fen-dump.[ch]: Added.
1267 * fen/fen-helper.[ch]: Added.
1268 * fen/fen-kernel.[ch]: Added.
1269 * fen/fen-missing.[ch]: Added.
1270 * fen/fen-node.[ch]: Added.
1271 * fen/fen-sub.[ch]: Added.
1272 * fen/gfendirectorymonitor.[ch]: Added.
1273 * fen/gfenfilemonitor.[ch]: Added.
1275 Added Solaris FEN file notification backend.
1276 Patch from Lin Ma <Lin.Ma@Sun.COM>
1278 2008-03-13 Tor Lillqvist <tml@novell.com>
1280 * Makefile.am: Actually use the gio.def file when linking the
1281 library on Windows. Produce .lib library for Microsoft's toolchain
1282 when possible. Install the .lib and .def file like for the other
1285 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1287 * tests/live-g-file.c:
1288 Include live-g-file in standard set of tests, making a temporary
1289 directory in source structure.
1291 Clean target directory before the tests (write mode only)
1293 2008-03-12 Tor Lillqvist <tml@novell.com>
1295 Bug 517419 - gio win32 directory monitor
1296 Implementation by Vlad Grecescu.
1299 * win32/gwin32directorymonitor.h
1300 * win32/gwin32directorymonitor.c: New files.
1302 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1304 * Makefile.am: Add the win32 subdirectory.
1306 2008-03-12 Tor Lillqvist <tml@novell.com>
1308 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1309 normal struct stat on Unix but struct _stati64 on Windows to have
1310 access to 64-bit file size information. Use that instead of struct
1311 stat in the functions declared here in this private header.
1313 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1314 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1315 warnings about unused functions and variables. Don't set
1316 meaningless attributes like inode numbers on Windows.
1318 2008-03-12 Benjamin Otte <otte@gnome.org>
1321 trim whitespace so gtk-doc groks the function name
1323 2008-03-12 Tor Lillqvist <tml@novell.com>
1325 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1326 returning FALSE, on Win32.
1328 2008-03-11 Alexander Larsson <alexl@redhat.com>
1331 * glocalfileinfo.[ch]:
1332 Correctly implement can_trash by actually
1333 looking for a trash dir, not just assuming
1336 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1338 * === Released 2.16.1 ===
1340 2008-03-11 Alexander Larsson <alexl@redhat.com>
1343 Fix crashes in new constructor and properties code
1345 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1347 * gfile.c: Minor spelling correction in documentation:
1348 existance -> existence.
1350 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1352 * === Released 2.16.0 ===
1354 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1356 * gio.symbols: Remove g_file_contains_file here, too.
1358 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1360 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1361 Samuel Cormier-Iijima)
1363 2008-03-08 Tor Lillqvist <tml@novell.com>
1365 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1368 2008-03-07 Alexander Larsson <alexl@redhat.com>
1371 (g_local_file_query_filesystem_info):
1372 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1373 Patch from Jasper Lievisse Adriaanse
1375 2008-03-06 Tor Lillqvist <tml@novell.com>
1377 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1378 comments for the *_USEC attributes.
1380 2008-03-06 Alexander Larsson <alexl@redhat.com>
1382 * gfile.c (g_file_query_exists):
1383 Add g_return_val_if_fail check (#520700)
1385 2008-03-06 Alexander Larsson <alexl@redhat.com>
1387 * gdesktopappinfo.c:
1390 * gunionvolumemonitor.c:
1393 * tests/live-g-file.c:
1394 * xdgmime/xdgmimecache.c:
1395 Fix sparse warnings (#519489)
1397 2008-03-05 Alexander Larsson <alexl@redhat.com>
1400 Make cancellation threadsafe (i.e.
1401 guarantee its only done once, and always
1404 * glocaldirectorymonitor.c:
1405 Make sure we the monitor lives while the
1406 mounts_changed callback is being called (#520484)
1408 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1410 * gbufferedinputstream.c: Fix typo in parameter
1413 2008-03-04 Alexander Larsson <alexl@redhat.com>
1416 Remove deprecated symbols we kept for one release.
1418 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1421 * goutputstream.c: Tiny documentation corrections.
1423 2008-03-03 Alexander Larsson <alexl@redhat.com>
1425 * gunionvolumemonitor.c:
1427 Fix the adopt_orphan_mount vfunc to take a
1428 volume_monitor reference in an ABI compat way.
1429 This change is not API compat, but the added
1430 arg is not used in the only user of this vfunc, so
1431 all we get is a harmless warning in gvfs (#520169)
1433 2008-03-01 Benjamin Otte <otte@gnome.org>
1436 clarify docs for g_file_delete().
1438 2008-02-29 Alexander Larsson <alexl@redhat.com>
1442 Make sure empty files get text/plain type (#518720)
1444 2008-02-27 Alexander Larsson <alexl@redhat.com>
1450 (g_unix_volume_mount):
1451 Add missing GMountMountFlags argument
1453 2008-02-26 Alexander Larsson <alexl@redhat.com>
1456 (g_local_file_delete):
1457 Handle filesystems (like ntfs-3g) that return EEXIST instead
1458 of ENOTEMPTY (#518816)
1460 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1462 * === Released 2.15.6 ===
1464 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1466 * gfile.c (g_file_find_enclosing_mount):
1467 * ginputstream.c (g_input_stream_set_pending):
1468 * glocalfile.c (g_local_file_find_enclosing_mount):
1469 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1470 * goutputstream.c (g_output_stream_set_pending):
1472 Fixup translator comments (#518578).
1474 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1476 * gfile.c (g_file_find_enclosing_mount):
1478 * glocalfile.c (g_local_file_find_enclosing_mount):
1481 Fix a few typos in translator comments and documentation.
1483 2008-02-25 Alexander Larsson <alexl@redhat.com>
1490 Add translator comments (#518578)
1492 2008-02-25 Alexander Larsson <alexl@redhat.com>
1495 Reintroduce g_file_contains_file, keep around for one
1496 unstable release cycle to avoid crashing to many apps.
1497 Make sure to delete after release.
1499 2008-02-25 Alexander Larsson <alexl@redhat.com>
1502 Remove deprecated g_file_contains_file.
1504 2008-02-25 Alexander Larsson <alexl@redhat.com>
1507 Emit actual change signals in an idle handler.
1508 This avoids reentrance and locking problems in
1509 the file notification backends.
1511 2008-02-25 Alexander Larsson <alexl@redhat.com>
1514 (g_unix_mount_guess_should_display):
1515 Remove type guessing, instead just display
1516 mounts in /media and in ~/.
1518 2008-02-25 Alexander Larsson <alexl@redhat.com>
1521 Make new strings reuse old ones.
1523 2008-02-25 Alexander Larsson <alexl@redhat.com>
1526 Implement trashing and filesystem::readonly for win32 (#517235)
1527 Patch from Yevgen Muntyan
1529 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1531 * gfileinfo.h: Documentation fixes.
1533 2008-02-22 Alexander Larsson <alexl@redhat.com>
1535 * gcontenttype.c (g_content_type_get_icon):
1536 Look at old-style gnome mime icon names too, as many
1537 have not moved to the new style.
1539 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1541 * *.c: Correct the @include in for section docs.
1543 2008-02-21 David Zeuthen <davidz@redhat.com>
1545 * glocalfileinfo.c: (_g_local_file_info_get):
1547 (g_content_type_get_icon): Implement this function by
1548 moving bits from glocalfileinfo.c
1549 (g_content_type_get_description): Unalias before getting
1550 description (#517687)
1552 * gfile.c: (g_file_class_init),
1553 (g_file_query_filesystem_info_async),
1554 (g_file_query_filesystem_info_finish),
1555 (query_filesystem_info_data_free),
1556 (query_filesystem_info_async_thread),
1557 (g_file_real_query_filesystem_info_async),
1558 (g_file_real_query_filesystem_info_finish):
1559 * gfile.h: Implement async version of
1560 g_file_query_filesystem_info()
1562 * gfileinfo.h: Add new attributes for filesystem::use-preview
1564 * gio.symbols: Update
1566 * gthemedicon.c: (g_themed_icon_append_name):
1567 * gthemedicon.h: Add new new convenience function.
1569 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1570 (get_mounts), (get_volumes), (get_connected_drives),
1571 (get_volume_for_uuid), (get_mount_for_uuid),
1572 (g_union_volume_monitor_init), (populate_union_monitor),
1573 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1574 (g_volume_monitor_adopt_orphan_mount):
1576 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1577 monitor implementations to call into the main volume monitor. Also
1578 separate object initialization and volume monitor initialization
1579 such that non-native volume monitors can properly adopt their
1582 2008-02-21 Alexander Larsson <alexl@redhat.com>
1587 2008-02-21 Alexander Larsson <alexl@redhat.com>
1590 Add more documentation about how GFiles work (from #517086)
1592 2008-02-21 Alexander Larsson <alexl@redhat.com>
1596 Add new g_file_has_prefix that does the same as g_file_contains_file.
1597 Deprecate g_file_contains_file and add a macro that converts
1598 it to g_file_has_prefix.
1599 The reason for this change is that the contains_file() name seems to
1600 imply that this does more work than what it does, but its really only
1601 a name match (from #517086)
1606 Update to match the above change.
1608 2008-02-20 Benjamin Otte <otte@gnome.org>
1610 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1611 (g_file_eject_mountable):
1612 even more cases of not returning in error path
1614 2008-02-20 Benjamin Otte <otte@gnome.org>
1616 * gfile.c: (g_file_mount_mountable):
1617 return from function in error path.
1619 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1622 Remove trailing coma in GMountMountFlags struct
1624 2008-02-18 Alexander Larsson <alexl@redhat.com>
1628 * glocalfileoutputstream.c:
1629 Use g_unlink/g_rename instead of unlink/rename;
1630 do not pass raw filenames to g_set_error. (#517239)
1631 Patch from Yevgen Muntyan.
1633 2008-02-18 Alexander Larsson <alexl@redhat.com>
1636 * glocalfileoutputstream.c:
1637 Open files with O_BINARY on windows. (#517140)
1639 2008-02-14 Alexander Larsson <alexl@redhat.com>
1641 * glocalfileoutputstream.c:
1642 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1644 2008-02-14 Alexander Larsson <alexl@redhat.com>
1647 Copy permissions with file on copy (#514084)
1648 This is what cp does and makes sure e.g. the
1649 exec permissions are kept.
1650 Its kinda weird in that it keeps the permission bits
1651 the same while the uid and gid are different. However
1652 the new uid is the user so its not a security issue,
1653 and I've heard no complaints about cp on this issue.
1655 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1657 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1659 2008-02-13 Alexander Larsson <alexl@redhat.com>
1661 * inotify/inotify-path.c:
1662 Define IN_ONLYDIR if not in header (#515346)
1664 2008-02-12 Alexander Larsson <alexl@redhat.com>
1666 * tests/live-g-file.c:
1669 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1671 * === Released 2.15.5 ===
1673 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1675 * gio.symbols: Add g_mount_mount_flags_get_type.
1677 2008-02-11 Alexander Larsson <alexl@redhat.com>
1680 (g_file_info_set_attribute_mask):
1681 (g_file_attribute_matcher_matches_id):
1682 Correctly handle NULL GAttributeMatcher meaning
1683 matches nothing. (Fixes #513492)
1685 2008-02-11 Alexander Larsson <alexl@redhat.com>
1690 Added GMountMountFlags enum and added a flags
1691 argument to all mount calls.
1693 This is an API/ABI change for future extensibility,
1694 as I think we will need at least an
1695 inhibit-autorun flag (the panel needs this).
1696 There are no flags defined yet though.
1698 2008-02-11 Alexander Larsson <alexl@redhat.com>
1701 Added new standard::description attribute.
1702 Requested by Vincent, and useful for both
1705 2008-02-11 Alexander Larsson <alexl@redhat.com>
1707 * gdesktopappinfo.c:
1710 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1712 * *.c: Documentation additions
1714 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1716 * gappinfo.h: Formatting cleanup
1717 * gappinfo.c: Fix up docs.
1719 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1721 * gunixmounts.c: Consistently use getmntent_r() and fall
1722 back to getmntent(). (#515492)
1724 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1726 * gbufferedinputstream.c:
1728 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1730 * tests/data-input-stream.c:
1731 * tests/data-output-stream.c: Portability fixes.
1733 2008-02-08 Alexander Larsson <alexl@redhat.com>
1738 Add g_volume_should_automount.
1741 2008-02-07 Tor Lillqvist <tml@novell.com>
1743 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1744 Win32, too Unix-specific.
1746 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1748 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1749 a local plt if the compiler doesn't support what we want. Bug #514702
1751 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1753 reviewed by: <delete if not using a buddy>
1756 * gunixinputstream.c:
1757 * gunixoutputstream.c:
1759 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1761 * tests/Makefile.am:
1762 * tests/live-g-file.c:
1763 * tests/live-g-file.txt:
1764 New GIO testing module working over real data
1766 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1768 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1769 Fallback to rename() if link() is not available
1770 (when no support on target filesystem)
1772 2008-02-06 Michael Natterer <mitch@imendio.com>
1774 * gfileinfo.c (g_file_info_get_icon): replace
1775 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1777 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1779 * gfile.c (g_file_create):
1780 Documentation update of error codes
1782 2008-02-06 Alexander Larsson <alexl@redhat.com>
1784 * gdesktopappinfo.c:
1785 Update to use both mimeapps.list and
1786 defaults.list as discussed on xdg list.
1788 2008-02-06 Benjamin Otte <otte@gnome.org>
1791 * gfilenamecompleter.c:
1792 Fix some typos in the documentation.
1794 2008-02-06 Alexander Larsson <alexl@redhat.com>
1796 * glocalfile.c (g_local_file_trash):
1797 Don't succeed with trash if newly created
1798 trash dir has the wrong owner. (#514696)
1800 2008-02-05 Alexander Larsson <alexl@redhat.com>
1802 * glocalfile.c (g_local_file_move):
1803 Don't spew warnings when destination is not
1806 2008-02-03 Hans Breuer <hans@breuer.org>
1808 * makefile.msc : update
1810 2008-02-01 Michael Natterer <mitch@imendio.com>
1812 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1813 return value of xdg_mime_list_mime_parents() to a variable of the
1816 2008-02-01 Alexander Larsson <alexl@redhat.com>
1818 * gappinfo.c (g_app_info_launch_uris):
1819 Actually call the launch_uris method, not
1822 2008-02-01 Alexander Larsson <alexl@redhat.com>
1824 * gdesktopappinfo.c (g_desktop_app_info_equal):
1825 Ensure appinfos with no id but same pointer value
1828 2008-02-01 Alexander Larsson <alexl@redhat.com>
1830 * gappinfo.c (g_app_info_launch_default_for_uri):
1833 2008-02-01 Alexander Larsson <alexl@redhat.com>
1837 Add g_app_info_launch_default_for_uri utility
1840 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1842 * gdesktopappinfo.c:
1843 Doc fix for g_app_info_get_default_for_uri_scheme ()
1846 2008-01-30 Alexander Larsson <alexl@redhat.com>
1849 Add doc comment about uris vs GFiles to
1852 * gdesktopappinfo.c:
1853 Ensure uris passed to g_app_info_launch_uris()
1854 are not roundtriped through GFile (as that
1855 may be slightly destructive for e.g. mailto: links)
1857 2008-01-30 Alexander Larsson <alexl@redhat.com>
1859 * tests/data-input-stream.c:
1860 * tests/data-output-stream.c:
1861 C89 fixes from Jens Granseuer (#512849)
1863 2008-01-30 Alexander Larsson <alexl@redhat.com>
1866 Fix gamin/fam difference build issue. (#509419)
1868 2008-01-29 Alexander Larsson <alexl@redhat.com>
1871 * gdesktopappinfo.c:
1872 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1874 2008-01-29 Alexander Larsson <alexl@redhat.com>
1876 * gdesktopappinfo.c:
1877 * gdesktopappinfo.h:
1878 giomodule-priv.h include moved to .c file.
1880 2008-01-29 Alexander Larsson <alexl@redhat.com>
1882 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1883 Remove unused prio/name fields.
1885 2008-01-29 Alexander Larsson <alexl@redhat.com>
1887 * gcontenttype.c (looks_like_text):
1888 Don't treat whitespace as control chars.
1890 2008-01-29 Alexander Larsson <alexl@redhat.com>
1892 * gdesktopappinfo.c:
1893 Lazily create the desktop files for appinfos created
1894 by g_app_info_create_from_commandline() when needed
1895 for mime associations. This allows run-time use
1896 of GAppInfo object without creating unnecessary
1899 2008-01-29 Alexander Larsson <alexl@redhat.com>
1902 Added new symbols to gio.symbols
1904 2008-01-29 Alexander Larsson <alexl@redhat.com>
1907 Add g_file_query_default_handler utility to easily look up
1908 the GAppInfo that handles a file.
1910 * gdesktopappinfo.[ch]:
1912 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1915 Remove unused function
1917 2008-01-29 Alexander Larsson <alexl@redhat.com>
1919 * gfileenumerator.c:
1920 Mention need to free returned value in
1921 g_file_enumerator_next_files_finish docs.
1922 Fix leak if g_file_enumerator_next_files_finish()
1925 2008-01-29 Alexander Larsson <alexl@redhat.com>
1928 (_g_unix_content_type_get_parents):
1929 Use list_parents, not get_parents from xdgmime, because
1930 the later doesn't use the cache.
1932 * xdgmime/xdgmimecache.c:
1933 (_xdg_mime_cache_list_mime_parents):
1934 Don't list the same type as parent multiple times.
1936 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1938 * === Released 2.15.4 ===
1940 2008-01-28 Alexander Larsson <alexl@redhat.com>
1943 Register local vfs with prio 0.
1946 Remove old name and prio class members
1948 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1950 * tests/g-file.c: Disable some tests that are failing in
1951 the absence of a http backend.
1953 2008-01-28 Alexander Larsson <alexl@redhat.com>
1957 Add registration hooks for extension points.
1958 Register the gio extension points.
1960 * fam/gfamdirectorymonitor.c:
1961 * fam/gfamfilemonitor.c:
1962 * glocaldirectorymonitor.[ch]:
1963 * glocalfilemonitor.[ch]:
1964 * gnativevolumemonitor.h:
1965 * gunionvolumemonitor.c:
1966 * gunixvolumemonitor.c:
1969 * inotify/ginotifydirectorymonitor.c:
1970 * inotify/ginotifyfilemonitor.c:
1971 Use the extension points registration instead
1972 of g_type_children().
1974 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1977 * gvolume.[hc]: Document new API.
1979 * gfile.c (g_file_copy_async): Fix docs
1981 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1983 * gbufferedinputstream.c:
1985 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1988 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1990 * glocalfile.c: Avoid trivial differences in translatable strings.
1992 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1994 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1995 build with gcc 3.4 (#509419)
1997 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1999 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2000 (#509994, Murray Cumming)
2002 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2004 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2005 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2006 this allows big jobs to be executed in chunks, instead of blocking
2007 the main loop for a long time.
2009 * gsimpleasyncresult.c:
2010 * giofile.c: Adapt callers.
2012 2008-01-25 Alexander Larsson <alexl@redhat.com>
2014 * gdesktopappinfo.c:
2015 Implement changes discussed on xdg list.
2016 Now we can add supported mimetypes by just using defaults.list
2017 We can also remove associations in defaults.list.
2019 2008-01-25 Alexander Larsson <alexl@redhat.com>
2021 * gdesktopappinfo.c:
2022 Don't make local copy of desktop file
2023 for mimetype changes if the file already
2024 supports the new mimetype.
2026 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2030 * gbufferedinputstream.c:
2031 * glocalfile.c: String improvements. (#511966,
2032 Theppitak Karoonboonyanan)
2034 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2036 * gioscheduler.h: Expand docs a bit.
2038 2008-01-24 Alexander Larsson <alexl@redhat.com>
2041 Add g_drive_get_identifier and
2042 g_drive_enumerate_identifiers
2045 Add g_volume_get_identifier and
2046 g_volume_enumerate_identifiers
2052 Implement identifiers for unix backend
2054 2008-01-24 Alexander Larsson <alexl@redhat.com>
2059 Add g_file_copy_async() (#511580)
2060 Based on patch from Carlos Garcia Campos
2062 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2064 * gioscheduler.c: Some documentation additions.
2066 2008-01-22 Alexander Larsson <alexl@redhat.com>
2068 * gdesktopappinfo.c:
2069 (g_desktop_app_info_new):
2070 Don't leak basename.
2072 2008-01-22 Alexander Larsson <alexl@redhat.com>
2074 * gdesktopappinfo.c:
2075 (g_desktop_app_info_new_from_filename):
2078 2008-01-22 Alexander Larsson <alexl@redhat.com>
2080 * glocalfileinfo.c (get_thumbnail_attributes):
2083 2008-01-22 Alexander Larsson <alexl@redhat.com>
2086 (canonicalize_filename):
2087 Canonicalize paths that start with more than
2091 (compare_two_files):
2092 (test_g_file_new_for_path):
2095 2008-01-22 Alexander Larsson <alexl@redhat.com>
2098 Allow UTF-8 in file:// parse names.
2100 * tests/Makefile.am:
2101 * tests/data-input-stream.c:
2102 * tests/data-output-stream.c:
2103 * tests/g-file-info.c:
2105 Added a bunch of tests from Tomas Bzatek
2107 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2109 * === Released 2.15.3 ===
2111 2008-01-21 Alexander Larsson <alexl@redhat.com>
2113 * gfileinputstream.[ch]:
2114 * gfileoutputstream.[ch]:
2116 Remove duplicated GSeekable functions. (#509990)
2117 Just use the g_seekable_xxx() calls instead.
2119 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2122 * gvolumemanager.c: Whitespace cleanups.
2124 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2125 Use the right mode when creating the file.
2127 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2129 * gfileenumerator.c:
2130 * gfileinputstream.c:
2132 * goutputstream.c: Documentation: Fixed minor typos
2133 and added more mentions of specific _finish() functions.
2135 2008-01-21 Alexander Larsson <alexl@redhat.com>
2137 * inotify/Makefile.am:
2138 * inotify/inotify-helper.c:
2139 * inotify/inotify-kernel.c:
2140 * inotify/inotify-path.c:
2141 * inotify/local_inotify.h: Removed.
2142 * inotify/local_inotify_syscalls.h: Removed.
2143 Removed the included copies of the inotify
2144 headers. We now only use the <sys/inotify.h>
2145 header which exists on modern systems.
2146 This fixes problems on ARM and SH5 (#510448)
2147 but is also generally much cleaner and future
2148 safe. For instance, if other OSes add support
2149 for inotify it should "just work".
2151 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2153 * inotify/*.c: Coding style fixes.
2154 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2155 for the 1/4 Hz timer.
2157 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2160 * gfilemonitor.[hc]:
2161 * gmemoryinputstream.c:
2162 * gmemoryoutputstream.c:
2163 * gmountoperation.c:
2164 * gthemedicon.c: Documentation updates
2166 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2168 * gfile.c: documentation: Fixed more minor
2171 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2173 * gmount.c: (g_mount_remount): documentation:
2174 Mention g_mount_remount_finish() instead of
2175 g_mount_unmount_finish().
2177 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2181 * gfile.c: Fixed some minor typos in the
2184 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2186 * gio/gvolumemonitor.c:
2187 (g_volume_monitor_get_connected_drives):
2188 (g_volume_monitor_get_volumes):
2189 (g_volume_monitor_get_mounts): Documentation:
2190 Clarify the ownership of the regurn GLists.
2192 2008-01-17 Alexander Larsson <alexl@redhat.com>
2195 Add the async find_enclosing_mount version
2196 to the header file too.
2198 2008-01-17 Alexander Larsson <alexl@redhat.com>
2201 Add async version of find_enclosing_mount
2202 with default implementation.
2204 2008-01-17 Alexander Larsson <alexl@redhat.com>
2209 Allow calls to implementation of copy and write
2210 even if the type of the file implementations is
2211 different. This can be used to implement native
2212 upload and download calls in a vfs.
2215 (g_local_file_move):
2216 Protect against the case where move is called
2217 with one file not being local.
2219 Make sure we call the progress callback once
2220 in the native move operation so that the caller
2221 knows how many bytes were copied.
2223 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2226 * gdatainputstream.c:
2228 * gfileoutputstream.c:
2233 * gunixmounts.c: Corrected some typos in the documentation:
2234 occured -> occurred.
2235 its -> it's (where appropriate).
2237 2008-01-16 Alexander Larsson <alexl@redhat.com>
2241 Add g_file_query_exists (#508771)
2243 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2248 * gvolume.c: For async functions that have no non-async
2249 version, document that the GAsyncReadyCallback may be NULL.
2252 2008-01-15 Alexander Larsson <alexl@redhat.com>
2254 * gmemoryinputstream.c:
2255 * gmemoryoutputstream.c:
2256 Don't do pointer arithmetic on void * (#508602)
2257 Patch from Kazuki IWAMOTO
2259 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2261 * === Released 2.15.2 ===
2263 2008-01-14 Alexander Larsson <alexl@redhat.com>
2265 * gfile.c (g_file_monitor_file):
2266 Don't set error here, since we fallback to polling monitor.
2268 2008-01-14 Alexander Larsson <alexl@redhat.com>
2271 (g_file_monitor_directory):
2272 (g_file_monitor_file):
2273 Add GError to file monitor calls
2275 * glocaldirectorymonitor.c:
2276 * glocaldirectorymonitor.h:
2278 * glocalfilemonitor.c:
2279 * glocalfilemonitor.h:
2281 Update for above change
2283 2008-01-14 Alexander Larsson <alexl@redhat.com>
2287 Handle root correctly in g_file_get_relative_path (#508719)
2289 2008-01-14 Alexander Larsson <alexl@redhat.com>
2292 Clean up docs and example for GAsyncResult (#508074)
2294 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2296 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2297 and correct some spelling mistakes. Bug #508108.
2299 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2301 * glocalfileinfo.c: Add a comment.
2303 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2305 * gfileinfo.c: GFileInfo description: Mention
2306 how to actually set attributes in a GFile and how to discover
2307 which attributes are settable. Bug #508378.
2309 2008-01-10 A. Walton <awalton@svn.gnome.org>
2311 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2312 (g_app_info_get_default_for_type):
2313 Check for NULL content types.
2315 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2317 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2319 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2321 * gfile.c: *_async() functions: Several small corrections
2322 to the documentation, mostly correcting copy/paste errors
2323 and improving some sentences.
2325 2008-01-09 Dan Winship <danw@gnome.org>
2327 * glocalfile.c (get_unique_filename): x86_64 fix
2329 2008-01-09 Alexander Larsson <alexl@redhat.com>
2334 Add g_unix_mount_guess_should_display and use
2335 for unix volume monitor backend.
2336 This means we more or less show what the
2337 gnome-vfs backend did.
2338 Based on patch from Padraig O'Briain
2340 2008-01-09 Alexander Larsson <alexl@redhat.com>
2344 Add g_themed_icon_new_with_default_fallbacks
2347 Use default fallbacks for icons
2349 2008-01-09 Alexander Larsson <alexl@redhat.com>
2352 * gmountoperation.[ch]:
2353 Change the API a bit so that unhandled methods
2354 get reported via the reply, rather than by
2355 the signal emission return value. This is because
2356 some handlers can't know this immediately without
2357 doing I/O, and this is an async operation that
2360 2008-01-09 Alexander Larsson <alexl@redhat.com>
2363 * fam/gfamdirectorymonitor.c:
2364 * fam/gfamfilemonitor.c:
2365 Fix double free crash (#508224)
2366 Patch from Joe Marcus Clarke
2368 008-01-07 Matthias Clasen <mclasen@redhat.com>
2370 * === Released 2.15.1 ===
2372 2008-01-07 Alexander Larsson <alexl@redhat.com>
2374 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2375 Fix warning (#507835)
2377 2008-01-07 Alexander Larsson <alexl@redhat.com>
2380 Pass --internal to glib-genmarshal
2383 * gmountoperation.c:
2385 Use better types for signal arguments (#507822)
2387 2008-01-07 Alexander Larsson <alexl@redhat.com>
2390 Build test subdir after .
2391 Remove gdirectorymonitor.[ch]
2393 * gdirectorymonitor.[ch]:
2397 Remove GDirectoryMonitor and make
2398 GFileMonitor the baseclass for both file and
2399 directory monitors. Lift the more generic
2400 rate limiting code from GDirectoryMonitor
2404 * fam/gfamdirectorymonitor.[ch]:
2405 * inotify/ginotifydirectorymonitor.[ch]:
2406 * inotify/inotify-helper.c:
2407 * glocaldirectorymonitor.[ch]:
2410 Update for the removed GDirectoryMonitor.
2412 * gmemoryoutputstream.c:
2413 Remove ununsed variable
2415 2008-01-07 Alexander Larsson <alexl@redhat.com>
2417 * gmemoryinputstream.c:
2418 Translate error strings
2421 * gmemoryoutputstream.[ch]:
2422 New implementation that avoids using GByteArray
2423 in implementation and API. (#506377)
2425 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2427 * tests/*: Add a test for memory input streams.
2429 * Makefile.am: Add tests to SUBDIRS.
2431 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2433 * glocalfilemonitor.c:
2434 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2437 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2439 * gdesktopappinfo.c: Fix a docs typo.
2441 * gfileattribute.c: Add information about extended attributes
2442 to the documentation. (#505058)
2444 2008-01-04 Alexander Larsson <alexl@redhat.com>
2447 * gmountoperation.c:
2448 Use the right type (uint) for the ask_password signal.
2450 2008-01-04 Alexander Larsson <alexl@redhat.com>
2455 Add g_app_info_supports_files()
2456 Remove desktop arg from g_app_info_should_show().
2458 * gdesktopappinfo.[ch]:
2459 Implement g_app_info_supports_files() and new should_show()
2460 Add g_desktop_app_info_set_desktop_env() to set the desktop
2461 for should_show(). (This will be set by gtk+ later)
2463 2008-01-04 Alexander Larsson <alexl@redhat.com>
2466 * gmemoryinputstream.[ch]:
2467 Improve API so that you can use multiple chunks
2468 of memory and custom destroy functions. (#506374)
2470 2008-01-03 Alexander Larsson <alexl@redhat.com>
2473 Handle NULL attribute matchers safely, as we return this
2474 for empty attribute matcher strings.
2476 2008-01-03 Alexander Larsson <alexl@redhat.com>
2478 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2479 Add /usr/local to list of internal mountpoints
2481 2008-01-03 Alexander Larsson <alexl@redhat.com>
2484 Check for HAVE_LCHOWN (#505887)
2486 2008-01-03 Alexander Larsson <alexl@redhat.com>
2490 Add define for selinux context attribute.
2491 Fix missing : -> :: namespace separator change
2492 Fix missing _ -> - name change for xattr-sys.
2495 2008-01-03 Alexander Larsson <alexl@redhat.com>
2498 Link to libglib and libgobject directly (#504879)
2499 Patch from Sebastien Bacher
2501 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2503 * gfile.c: Expanded the g_file_new_for_commandline_arg
2504 description a bit, based on the code and the docs of the
2505 other g_file_new_for_* functions.
2507 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2509 * gfilemonitor.h: Fixed typo in docs.
2511 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2513 Updates to GIO documentation. (#506395, Mikael Hermansson)
2515 * gcontenttype.c: Describe memory management for return value of
2516 g_content_types_get_registered(). Missing piece from #505815.
2517 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2518 GVolume, GDrive, GMounts, which hopefully gives the user less
2519 confusions when using this API. Following explainations from
2520 Alexander Larsson on gtk-devel-list.
2522 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2524 * gfileinfo.c: Expand the long description.
2526 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2529 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2530 fix builds with --disable-visibility. (#500273, Christian Persch)
2532 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2534 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2535 in the list of returned app infos.
2537 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2539 * gappinfo.c: Fix a cross-reference
2541 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2543 * gfileinputstream.c:
2544 * gfileoutputstream.c:
2548 * gdesktopappinfo.c:
2550 * gfileinfo.c: Documentation updates.
2552 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2554 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2557 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2559 * gcontenttype.c (g_content_types_get_registered): Don't return
2560 freed memory (#505815, Mikael Hermansson)
2562 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2564 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2565 used to detect statbuf->st_blocks. (#505042)
2567 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2569 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2570 environment handling. (#504829, Cosimo Cecchi)
2572 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2574 * gappinfo.c: Doc improvements
2576 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2579 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2581 * === Released 2.15.0 ===
2583 2007-12-20 Hans Breuer <hans@breuer.org>
2585 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2586 with symbols gwin32appinfo.obj, added gmount.obj
2587 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2589 2007-12-20 Alexander Larsson <alexl@redhat.com>
2595 * gfilenamecompleter.c:
2598 * gpollfilemonitor.c:
2599 File attribute renames:
2601 fs:: -> filesystem::
2602 id::fs -> id::filesystem
2604 2007-12-20 Alexander Larsson <alexl@redhat.com>
2613 Add GMountUnmountFlags to all unmount and
2615 Add g_mount_remount() call.
2617 2007-12-20 Alexander Larsson <alexl@redhat.com>
2619 * gvfs.c (get_default_vfs):
2620 Fix unused variable warning
2622 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2624 * pltcheck.sh: Update
2626 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2628 * gunionvolumemonitor.c:
2629 * gunixmount.c: Remove C99 comments
2631 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2633 * gio.symbols: Add some missing symbols
2635 2007-12-19 Alexander Larsson <alexl@redhat.com>
2638 Make g_io_modules_load_all_in_directory not unuse
2639 loaded modules so that users of it can do stuff
2641 Init internal "module" types.
2642 Initialize static prio and name for types so that
2643 we don't have to load modules to get it.
2645 * gnativevolumemonitor.h:
2647 Move is_supported to parent class so that
2648 non-native monitors can avoid being initialized
2649 too. (For instance GDaemonVolumeMonitor if we're
2650 not using GDaemonVfs.)
2652 * glocaldirectorymonitor.[ch]:
2653 * glocalfilemonitor.[ch]:
2654 * gunionvolumemonitor.c:
2655 * gunixvolumemonitor.c:
2657 Find plugins using the static prio+name to
2658 avoid unnecessarily loading the modules.
2660 2007-12-19 Alexander Larsson <alexl@redhat.com>
2665 2007-12-19 Alexander Larsson <alexl@redhat.com>
2667 * gunionvolumemonitor.c:
2668 Store the native type as GType, not class so that
2669 we can unload it. But still avoid unnecessarily
2672 2007-12-19 David Zeuthen <davidz@redhat.com>
2674 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2675 add signals 'disconnected' and 'eject-button' on GDrive. Add
2676 signal 'removed' on GVolume and 'unmounted' on GMount.
2678 * gdrive.c: (g_drive_base_init):
2680 * gfile.c: (g_file_mount_mountable),
2681 (g_file_mount_enclosing_volume):
2684 * gmount.c: (g_mount_base_init):
2686 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2687 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2688 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2692 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2694 * *.c: Fix up includes in the section docs.
2696 2007-12-17 Alexander Larsson <alexl@redhat.com>
2698 * gnativevolumemonitor.h:
2699 * gunionvolumemonitor.c:
2700 * gunixvolumemonitor.c:
2701 Add is_supported() to GNativeVolumeMonitorClass so
2702 that we can avoid having to create an object to see
2703 if the backend is supported at runtime.
2704 Also add name member and an env var to pick a specific
2705 volume monitor backend.
2709 Add cancellable to _g_mount_get_for_mount_path()
2711 * glocaldirectorymonitor.c:
2712 * glocalfilemonitor.c:
2713 Avoid loading and unloading modules while sorting.
2715 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2718 * gunixmounts.[hc]: Namespace waste reduction, move some
2719 g_get_unix_mount functions to the g_unix_mount namespace.
2722 * gunixvolumemonitor.c:
2724 * glocaldirectorymonitor.c: Update all callers.
2726 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2728 2007-12-17 Alexander Larsson <alexl@redhat.com>
2731 Add doc comments about what GFile operations are
2732 guaranteed to not block.
2734 2007-12-17 Alexander Larsson <alexl@redhat.com>
2737 Add missing #ifdef fixing OSX build.
2738 (#503334, patch from Richard Hult)
2740 2007-12-14 David Zeuthen <davidz@redhat.com>
2744 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2745 (g_mount_eject), (g_mount_eject_finish):
2747 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2748 (get_volume_for_uuid), (get_mount_for_uuid),
2749 (g_union_volume_monitor_class_init),
2750 (get_default_native_type_with_exclude), (get_default_native_type),
2751 (get_native_type), (update_native_type),
2752 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2753 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2754 (g_unix_mount_can_eject), (eject_unmount_cb),
2755 (eject_unmount_read_error), (eject_unmount_do),
2756 (g_unix_mount_unmount), (g_unix_mount_eject),
2757 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2758 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2759 (g_unix_mount_point_guess_can_eject):
2761 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2762 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2763 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2764 (g_unix_volume_mount), (g_unix_volume_eject),
2765 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2766 * gunixvolumemonitor.c: (get_volume_for_uuid),
2767 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2769 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2770 (g_volume_eject), (g_volume_eject_finish):
2772 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2773 (g_volume_monitor_get_mount_for_uuid):
2776 Provide eject() on both GMount and GVolume and utility functions
2777 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2778 ejected. Introduce the concept of UUID's and wire it into GVolume
2779 and GMount and provide API on GVolumeMonitor to find such
2780 instances. Also handle the case where an external
2781 GNativeVolumeMonitor fails to initialize. Lock around the
2782 _g_get_mount_for_mount_path() function such that volume monitor
2783 implementations won't have to do locking themselves.
2785 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2787 * gdesktopappinfo.c:
2793 * gvolume.h: Documentation updates
2795 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2798 * gfile.h: Doc updates
2800 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2803 * gdesktopappinfo.c: Use hash table iterators.
2805 2007-12-14 Alexander Larsson <alexl@redhat.com>
2808 * gfileattribute.[ch]:
2809 * gfileattribute-priv.h:
2810 Move GFileAttributeValue to a private header, as
2814 Make set_attribute take a type + a pointer instead
2815 of a GFileAttributeValue.
2818 Fix up for above changes.
2819 Add g_file_info_get_attribute_data to get
2820 all info in one call, g_file_info_get_attribute_status
2821 to get the status and g_file_info_get_attribute_as_string.
2825 * glocalfileinfo.[ch]:
2829 Make _guess_type static.
2831 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2834 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2835 made mkenums and friends use temporary files to avoid leaving
2836 empty generated files on failure (#503470).
2838 2007-12-14 Alexander Larsson <alexl@redhat.com>
2840 * gmountoperation.h:
2843 2007-12-14 Alexander Larsson <alexl@redhat.com>
2847 * gfileattribute.[ch]:
2850 * glocalfileoutputstream.c:
2851 * gmountoperation.[ch]:
2852 * goutputstream.[ch]:
2853 Clean up all flags enums to not have _FLAGS in them
2854 Make the names of some of the enums better.
2859 2007-12-14 Michael Natterer <mitch@imendio.com>
2861 * gio.symbols: fix g_io_scheduler symbol names.
2863 2007-12-14 Alexander Larsson <alexl@redhat.com>
2869 * gbufferedinputstream.h:
2870 * gbufferedoutputstream.h:
2873 * gdatainputstream.h:
2874 * gdataoutputstream.h:
2875 * gdesktopappinfo.h:
2876 * gdirectorymonitor.h:
2880 * gfileenumerator.h:
2883 * gfileinputstream.h:
2885 * gfilenamecompleter.h:
2886 * gfileoutputstream.h:
2887 * gfilterinputstream.h:
2888 * gfilteroutputstream.h:
2896 * gmemoryinputstream.h:
2897 * gmemoryoutputstream.h:
2899 * gmountoperation.h:
2902 * gsimpleasyncresult.h:
2904 * gunixinputstream.h:
2906 * gunixoutputstream.h:
2910 * inotify/Makefile.am:
2911 Only allow including <gio/gio.h> from apps
2913 2007-12-14 Alexander Larsson <alexl@redhat.com>
2915 * gioscheduler.[ch]:
2916 * gsimpleasyncresult.c:
2917 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2918 Split out the send_to_mainloop call into two versions instead
2919 of having the block argument.
2921 2007-12-13 Alexander Larsson <alexl@redhat.com>
2923 * gcancellable.[ch]:
2925 * gbufferedinputstream.c:
2926 * gfileenumerator.c:
2927 * gfileinputstream.c:
2928 * gfileoutputstream.c:
2932 g_push/pop_current_cancellable ->
2933 g_cancellable_push/pop_current
2935 2007-12-13 Alexander Larsson <alexl@redhat.com>
2939 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2941 2007-12-13 Alexander Larsson <alexl@redhat.com>
2943 * gmountoperation.h:
2944 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2946 2007-12-12 Alexander Larsson <alexl@redhat.com>
2949 Fix race condition when freeing proxy in
2950 g_io_job_send_to_mainloop().
2952 2007-12-12 Alexander Larsson <alexl@redhat.com>
2958 Make attribute namespace separator "::" instead of ":".
2959 Use - instead of _ as separator in attribute names.
2961 2007-12-12 Alexander Larsson <alexl@redhat.com>
2963 * gbufferedinputstream.h:
2964 * gbufferedoutputstream.h:
2965 * gdatainputstream.h:
2966 * gdataoutputstream.h:
2967 * gdirectorymonitor.h:
2968 * gfileenumerator.h:
2969 * gfileinputstream.h:
2971 * gfileoutputstream.h:
2972 * gfilterinputstream.h:
2973 * gfilteroutputstream.h:
2975 * glocalfileinputstream.h:
2976 * glocalfileoutputstream.h:
2977 * gmemoryinputstream.h:
2978 * gmemoryoutputstream.h:
2979 * gnativevolumemonitor.h:
2981 * gunixinputstream.h:
2982 * gunixoutputstream.h:
2985 s/parent/parent_instance/ in GObjects
2987 2007-12-12 Alexander Larsson <alexl@redhat.com>
2992 No need for padding for interfaces
2994 2007-12-12 Alexander Larsson <alexl@redhat.com>
2998 * gbufferedinputstream.c:
2999 * gbufferedoutputstream.c:
3002 * gdatainputstream.[ch]:
3003 * gdesktopappinfo.c:
3004 * gdirectorymonitor.c:
3006 * gfileattribute.[ch]:
3009 * gfileinputstream.h:
3010 * gfilemonitor.[ch]:
3011 * gfileoutputstream.[ch]:
3012 * gfilterinputstream.h:
3013 * gfilteroutputstream.h:
3016 * gloadableicon.[ch]:
3017 * gmemoryinputstream.c:
3018 * gmountoperation.c:
3020 Fix up a bunch of details in the docs.
3025 2007-12-11 David Zeuthen <davidz@redhat.com>
3027 Rework how volumes, drives and volume monitoring is
3028 done. Previosly the model was
3030 GDrive <1-1> GVolume
3032 where a GDrive instance represented a mount point and a GVolume
3033 instance represented a mounted file system. This patch changes it
3036 GDrive <1-N> GVolume <1-1> GMount
3038 where GMount now serves the purpose of the old GVolume and the new
3039 GVolume serves the purpose of the old GDrive. In addition the new
3040 GDrive interface is used to represent a collection of GVolume
3041 instances (typically partitions) and also contains utility to query
3042 the state of the physical drive the GDrive object represents (such
3043 as checking for media, polling the drive, ejecting the media etc.).
3045 Also implement mounting and unmounting in the Unix volume monitor
3046 backend. A subquent patch will introduce GDrive support for ejection
3050 * gdrive.c: (g_drive_is_media_check_automatic),
3051 (g_drive_is_media_removable), (g_drive_has_media),
3052 (g_drive_can_poll_for_media), (g_drive_eject),
3053 (g_drive_eject_finish), (g_drive_poll_for_media),
3054 (g_drive_poll_for_media_finish):
3056 * gfile.c: (g_file_find_enclosing_mount):
3059 * glocaldirectorymonitor.c:
3060 (g_local_directory_monitor_constructor), (mounts_changed):
3061 * glocalfile.c: (get_mount_info),
3062 (g_local_file_find_enclosing_mount),
3063 (g_local_file_file_iface_init):
3064 * gnativevolumemonitor.h:
3065 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3066 (get_connected_drives), (g_union_volume_monitor_class_init),
3067 (child_volume_added), (child_volume_removed),
3068 (child_volume_changed), (child_mount_added), (child_mount_removed),
3069 (child_mount_pre_unmount), (child_mount_changed),
3070 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3071 (g_union_volume_monitor_remove_monitor),
3072 (_g_mount_get_for_mount_path):
3073 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3074 (guess_system_internal), (_g_get_unix_mounts),
3075 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3076 (g_unix_mount_free), (g_unix_mount_compare),
3077 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3078 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3079 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3080 (type_to_icon), (g_unix_mount_guess_name),
3081 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3082 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3083 (_resolve_symlink), (_resolve_dev_root):
3085 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3086 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3087 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3088 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3089 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3090 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3091 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3092 (g_unix_volume_volume_iface_init):
3094 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3095 (get_mounts), (get_volumes), (get_connected_drives),
3096 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3097 (mountpoints_changed), (mounts_changed),
3098 (g_unix_volume_monitor_init),
3099 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3100 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3101 * gunixvolumemonitor.h:
3102 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3103 (g_volume_mount), (g_volume_mount_finish):
3105 * gvolumemonitor.c: (g_volume_monitor_class_init),
3106 (g_volume_monitor_get_connected_drives),
3107 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3110 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3112 * gmountoperation.h (GPasswordFlags): Close the gap
3114 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3116 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3118 * gdesktopappinfo.[hc]: Remove _-prefixes
3120 2007-12-10 Tor Lillqvist <tml@novell.com>
3122 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3125 2007-12-10 Alexander Larsson <alexl@redhat.com>
3127 * gfile.c (g_file_set_display_name):
3128 Don't hardcode '/' (#502727)
3130 2007-12-09 Hans Breuer <hans@breuer.org>
3132 * makefile.msc : follow lib naming convention
3133 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3134 for user and group name, tested with ../tests/gio-ls
3136 2007-12-09 A. Walton <awalton@svn.gnome.org>
3138 * gdesktopappinfo.c:
3144 * gfileenumerator.c:
3149 * gmemoryinputstream.c:
3150 * gmemoryoutputstream.c:
3152 * gsimpleasyncresult.c:
3153 More documentation cleanup and filling in missing information, bringing
3154 GIO to 99% symbol coverage.
3156 2007-12-08 Hans Breuer <hans@breuer.org>
3158 [gio compiles and links on win32, not sure how much already works]
3159 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3160 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3161 base on win32 API; prefer g_lstat() over lstat(); instead of
3162 localtime_r() use an all GLib implementation on win32;
3163 get_mount_info() still needs a win32 specifc implementation
3164 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3165 win32_get_file_user_info to get owner/group info without uid/gid
3166 * glocalfileinputstream.c : include <io.h> on win32
3167 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3168 definition, use g_win32_ftruncate() for G_OS_WIN32
3169 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3170 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3171 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3172 * makefile.msc : updated
3174 2007-12-07 Alexander Larsson <alexl@redhat.com>
3176 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3177 Avoid warning spew if error == NULL
3179 2007-12-07 Alexander Larsson <alexl@redhat.com>
3182 Update docs wrt etags
3184 2007-12-06 Alexander Larsson <alexl@redhat.com>
3187 Include sys/types.h for dev_t (#501919)
3189 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3193 Make abicheck and pltcheck pass.
3195 2007-12-05 Alexander Larsson <alexl@redhat.com>
3198 * giomodule-priv.h: Added.
3199 * glocaldirectorymonitor.c:
3200 * glocalfilemonitor.c:
3201 * gunionvolumemonitor.c:
3203 Actually add the declaration of _g_io_modules_ensure_loaded
3205 2007-12-05 Alexander Larsson <alexl@redhat.com>
3207 * gdatainputstream.c:
3212 * glocaldirectorymonitor.c:
3213 * glocalfilemonitor.c:
3214 * gunionvolumemonitor.c:
3216 Make g_io_modules_ensure_loaded a private function and
3217 don't pass in the dirname. This means we can do magic
3218 directory finding in the win32 version.
3219 Export the actual load-modules-in-directory code so that
3220 gvfs can reuse that.
3222 2007-12-05 Alexander Larsson <alexl@redhat.com>
3224 * gbufferedinputstream.c:
3225 * gbufferedoutputstream.c:
3228 * gfileenumerator.[ch]:
3229 * gfileinputstream.c:
3230 * gfileoutputstream.[ch]:
3231 * gfilterinputstream.c:
3232 * gfilteroutputstream.c:
3233 * ginputstream.[ch]:
3235 * glocalfileenumerator.c:
3236 * glocalfileinputstream.c:
3237 * glocalfileoutputstream.c:
3238 * gmemoryinputstream.c:
3239 * gmemoryoutputstream.c:
3240 * goutputstream.[ch]:
3243 * gunixinputstream.c:
3244 * gunixoutputstream.c:
3245 Rename all struct members named:
3246 read, write, close, truncate, or mount
3247 to foo_fn, as these are reserved names
3248 and could be defined as macros in libc.
3251 2007-12-04 Alexander Larsson <alexl@redhat.com>
3254 (g_output_stream_close):
3255 Only call flush if non-null.
3257 2007-11-30 Dan Winship <danw@gnome.org>
3259 * ginputstream.c (g_input_stream_set_pending): Make this take a
3260 GError and return a gboolean, and do the "outstanding operation"
3261 check (and the "stream is already closed" check) itself.
3262 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3264 * goutputstream.c (g_output_stream_set_pending)
3265 (g_output_stream_clear_pending): Likewise
3267 * gbufferedinputstream.c:
3268 * gfileinputstream.c:
3269 * gfileoutputstream.c: Update for that
3271 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3272 Like g_simple_async_report_error_in_idle, but takes a GError
3273 rather than building one.
3275 2007-11-30 Dan Winship <danw@gnome.org>
3277 * goutputstream.c: Don't cheat and unset the "pending" flag around
3278 inner calls. Instead, call the class method directly rather than
3279 the wrapper function that checks "pending"
3281 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3283 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3285 2007-12-03 Hans Breuer <hans@breuer.org>
3287 [start of port to win32/msvc]
3288 * gcancellable.c : HAVE_UNIST_H and _pipe()
3289 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3290 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3291 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3293 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3294 * glocalvfs.c : use HAVE_PWD_H
3295 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3296 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3297 * Makefile.am : added to EXTRA_DIST
3299 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3301 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3304 2007-12-03 Alexander Larsson <alexl@redhat.com>
3307 Handle OSX style xattrs API (#500506)
3309 2007-12-03 Alexander Larsson <alexl@redhat.com>
3313 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3315 2007-12-02 A. Walton <awalton@svn.gnome.org>
3319 Documentation accuracy fixes.
3321 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3323 * gioenumtypes.c.template: Fix typo.
3325 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3327 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3329 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3331 * gdirectorymonitor.c:
3332 * gfilemonitor.c: Add properties
3334 * gbufferedoutputstream.c: Don't mark buffer-size property
3337 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3339 * gbufferedoutputstream.c: Add auto-grow property.
3341 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3343 * *.c: Unify the capitalization of section headings.
3345 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3347 * gmountoperation.c: Add properties
3349 * gdatainputstream.c: Turn byte-order and newline-type into
3352 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3354 * gioenumtypes.[hc].template: Templates for enum registration
3356 * Makefile.am: Generate gioenumtypes.[hc]
3358 * gio.h: Include gioenumtypes.h
3360 * gfile.h: Add some explicit nicks.
3362 * gio.symbols: Add new symbols
3364 * pltcheck.sh: Adjust
3366 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3368 * *.c: Explain etags and link to the explanation
3370 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3372 * *.c: Explain I/O priority.
3374 * *.c: More coding style fixes.
3376 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3378 * gasyncresult.c: Add another paragraph to the intro,
3379 adjust coding style of example.
3381 2007-11-29 A. Walton <awalton@svn.gnome.org>
3384 Fixes unknown meaning in GAppLaunchContext docs.
3386 Clarify asynchronous ops.
3388 Fix entity tag docs.
3391 Provides missing gtk-doc section, fixes API docs slighly.
3392 * gsimpleasyncresult.c:
3393 Fill in missing info in docs.
3394 * gunixinputstream.c:
3395 * gunixoutputstream.c:
3396 Be more expressive in short description.
3398 Remove gtk-doc stubs for non-public API.
3400 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3402 * *.c: Coding style fixups
3404 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3406 * inotify/inotify-helper.c: Don't export the lock from libgio.
3408 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3411 * abicheck.sh: Fix copy-and-paste leftovers
3413 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3415 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3417 2007-11-28 Alexander Larsson <alexl@redhat.com>
3421 Removed unnecessary file
3423 * gdesktopappinfo.[ch]:
3426 * glocaldirectorymonitor.[ch]:
3428 * glocalfileenumerator.[ch]:
3429 * glocalfileinputstream.[ch]:
3430 * glocalfilemonitor.[ch]:
3431 * glocalfileoutputstream.[ch]:
3433 * gnativevolumemonitor.c:
3434 * gpollfilemonitor.[ch]:
3435 * gunionvolumemonitor.[ch]:
3438 * gunixvolumemonitor.[ch]:
3441 * inotify/ginotifydirectorymonitor.[ch]:
3442 * inotify/ginotifyfilemonitor.[ch]:
3443 * inotify/inotify-helper.c:
3444 Append _ to all internal functions
3448 Export symbols needed for modules
3450 2007-11-28 Alexander Larsson <alexl@redhat.com>
3453 * abicheck.sh: Added.
3454 * makegioalias.pl: Added.
3455 * pltcheck.sh: Added.
3456 * gio.symbols: Added.
3459 Initial work on adding symbol handling.
3462 Correct ifdef guard name
3465 * inotify/Makefile.am:
3466 * xdgmime/Makefile.am:
3467 Include toplevel Makefile.decl
3469 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3471 * gcontenttype.c: Move doc comments to the unix section.
3473 * *.[hc]: More trivial doc corrections.
3475 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3477 * gpollfilemonitor.c:
3481 * gdesktopappinfo.c:
3486 * gdatainputstream.c:
3487 * gdatainputstream.h:
3488 * gdataoutputstream.c:
3489 * gdataoutputstream.h:
3490 * gfileinfo.h: Doc cleanups
3492 2007-11-28 Andre Klapper <a9016009@gmx.de>
3494 * gdesktopappinfo.c: Fix a typo.
3496 2007-11-27 Andre Klapper <a9016009@gmx.de>
3498 * glocalfileoutputstream.c: Fix a typo.
3500 2007-11-27 Alexander Larsson <alexl@redhat.com>
3503 Don't include removed headers
3505 2007-11-27 Alexander Larsson <alexl@redhat.com>
3508 * gsocketinputstream.[ch]: Removed.
3509 * gsocketoutputstream.[ch]: Removed.
3510 * gunixinputstream.[ch]: Added.
3511 * gunixoutputstream.[ch]: Added.
3512 Renamed GSocket*Stream to GUnix*Stream and made
3513 it unix-only, since its not really only for sockets
3514 and it only works on unix (but is highly useful there).
3516 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3522 * gbufferedinputstream.c:
3523 * gbufferedinputstream.h:
3524 * gbufferedoutputstream.c:
3525 * gbufferedoutputstream.h:
3529 * gdatainputstream.c:
3530 * gdatainputstream.h:
3531 * gdataoutputstream.c:
3532 * gdataoutputstream.h:
3533 * gdirectorymonitor.c:
3534 * gdirectorymonitor.h:
3541 * gfileenumerator.c:
3542 * gfileenumerator.h:
3547 * gfileinputstream.c:
3548 * gfileinputstream.h:
3551 * gfilenamecompleter.c:
3552 * gfilenamecompleter.h:
3553 * gfileoutputstream.c:
3554 * gfileoutputstream.h:
3555 * gfilterinputstream.c:
3556 * gfilterinputstream.h:
3557 * gfilteroutputstream.c:
3558 * gfilteroutputstream.h:
3571 * glocalfileoutputstream.c:
3572 * gmemoryinputstream.c:
3573 * gmemoryinputstream.h:
3574 * gmemoryoutputstream.c:
3575 * gmemoryoutputstream.h:
3576 * gmountoperation.c:
3577 * gmountoperation.h:
3580 * gpollfilemonitor.c:
3583 * gsimpleasyncresult.c:
3584 * gsimpleasyncresult.h:
3585 * gsocketinputstream.c:
3586 * gsocketinputstream.h:
3587 * gsocketoutputstream.c:
3588 * gsocketoutputstream.h:
3595 * gunixvolumemonitor.c:
3604 Bumps documentation to 93% symbol coverage, touching most
3605 of the public files. Fixes broken function documentation prototypes.
3606 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3607 gtk-doc headers in private files.
3609 2007-11-27 Jürg Billeter <j@bitron.ch>
3611 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3612 (g_buffered_input_stream_read_byte):
3613 * gbufferedinputstream.h:
3614 New functions for efficient access to buffer and simple single byte
3617 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3618 (g_data_input_stream_read_until):
3619 * gdatainputstream.h:
3620 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3621 read_until with multiple stop chars.
3623 2007-11-27 Alexander Larsson <alexl@redhat.com>
3627 * inotify/Makefile.am:
3628 Use the user-specified giomoduledir
3630 2007-11-27 Alexander Larsson <alexl@redhat.com>
3634 Add catch-all gio.h header
3635 Don't install gdummyfile.h
3637 2007-11-26 Alexander Larsson <alexl@redhat.com>
3639 * Makefile.am (gioinclude_HEADERS):
3640 Remove trailing whitespace
3642 2007-11-26 Alexander Larsson <alexl@redhat.com>
3644 Merge gio-standalone into glib
3646 2007-11-25 Christian Kellner <gicmo@gnome.org>
3648 * gio/goutputstream.c:
3649 Fix small mistake in the docs.
3651 2007-11-21 Christian Persch <chpe@gnome.org>
3653 * gio/glocalfile.c: (g_local_file_trash):
3654 Convert filenames to UTF-8 for GError.
3655 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3656 as per xdg base dir spec.
3658 2007-11-21 Christian Persch <chpe@gnome.org>
3660 * gio/gdesktopappinfo.c:
3661 Use that g_key_file_to_data cannot fail.
3663 Use stock defines for the key file group and key names.
3666 2007-11-21 Alexander Larsson <alexl@redhat.com>
3669 (copy_stream_with_progress):
3670 Make sure we do a final progress callback with
3671 the full total size.
3673 2007-11-21 Alexander Larsson <alexl@redhat.com>
3676 Export g_file_copy_attributes
3677 Remove padding as its not needed for interfaces
3679 2007-11-20 Alexander Larsson <alexl@redhat.com>
3684 Add G_IO_ERROR_WOULD_MERGE for
3685 copy/move dir on dir with overwrite.
3687 2007-11-20 Alexander Larsson <alexl@redhat.com>
3690 * gio/glocalfileinfo.c:
3691 Add COPY_NAME (this is an optional
3692 non-modified utf8 version of the name) that
3695 2007-11-20 Alexander Larsson <alexl@redhat.com>
3697 * gio/glocalfileenumerator.c:
3698 Report errors as GIOError, not GFileError
3700 2007-11-16 Alexander Larsson <alexl@redhat.com>
3702 * gio/glocalfileoutputstream.c:
3703 * gio/gwin32appinfo.c:
3704 Fix typos in strings.
3705 Patch from Luca Ferretti <elle.uca@libero.it>
3707 2007-11-15 Alexander Larsson <alexl@redhat.com>
3710 Post release version bump
3712 === gio-standalone 0.1.2 ===
3714 2007-11-15 Alexander Larsson <alexl@redhat.com>
3716 * docs/reference/gio/Makefile.am:
3717 Fix up distcheck by removing weird
3723 2007-11-14 Alexander Larsson <alexl@redhat.com>
3725 * gio/gdesktopappinfo.c:
3726 * gio/glocaldirectorymonitor.c:
3728 * gio/glocalfileinfo.c:
3729 * gio/inotify/inotify-sub.c:
3730 * programs/gio-cat.c:
3731 * programs/gio-copy.c:
3732 * programs/gio-info.c:
3733 * programs/gio-ls.c:
3734 * programs/gio-monitor-dir.c:
3735 * programs/gio-monitor-file.c:
3736 * programs/gio-mount.c:
3737 * programs/gio-move.c:
3738 * programs/gio-rm.c:
3739 * programs/gio-save.c:
3740 * programs/gio-trash.c:
3741 Leak fixes from Kjartan Maraas
3743 2007-11-14 Alexander Larsson <alexl@redhat.com>
3745 * gio/fam/fam-helper.c:
3747 * gio/glocalfileinfo.c:
3751 * gio/inotify/inotify-diag.c:
3752 * gio/inotify/inotify-kernel.c:
3753 Various code cleanups from Kjartan Maraas
3755 2007-11-14 Alexander Larsson <alexl@redhat.com>
3757 * gio/gioscheduler.c:
3759 Set up threadpool so that we cache 2 unused
3760 idle threads for at 15 secs. This means we
3761 will reuse thread-local data (like dbus connections)
3764 2007-11-14 Alexander Larsson <alexl@redhat.com>
3766 * gio/fam/fam-helper.c:
3767 * gio/fam/gfamdirectorymonitor.c:
3768 * gio/fam/gfamfilemonitor.c:
3770 * gio/gcontenttype.c:
3771 * gio/gdatainputstream.c:
3772 * gio/gdataoutputstream.c:
3776 * gio/gfileattribute.h:
3777 * gio/gfileenumerator.c:
3779 * gio/ginputstream.c:
3782 * gio/glocalfileinfo.c:
3783 * gio/goutputstream.c:
3784 * gio/gpollfilemonitor.c:
3785 * gio/gsimpleasyncresult.c:
3786 * gio/gunixmounts.c:
3787 * gio/gunixmounts.h:
3788 * gio/inotify/ginotifydirectorymonitor.c:
3789 * gio/inotify/ginotifyfilemonitor.c:
3790 * gio/inotify/inotify-diag.c:
3791 * gio/inotify/inotify-kernel.c:
3792 * gio/inotify/inotify-path.c:
3794 * gio/test-streams.c:
3795 * programs/gio-info.c:
3796 * programs/gio-monitor-dir.c:
3797 * programs/gio-monitor-file.c:
3798 Various code cleanups from Kjartan Maraas
3800 2007-11-13 Alexander Larsson <alexl@redhat.com>
3803 Handle the uri-scheme calls for dummy files
3805 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3807 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3808 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3809 to avoid clash with the C++ keyword.
3811 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3813 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3814 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3816 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3818 * gio/glocaldirectorymonitor.c:
3819 * gio/glocalfilemonitor.c:
3820 * gio/gunionvolumemonitor.c:
3821 Don't use g_once_init_*() for initializations that could fail and
3822 could leave the initialization variable set to 0 but use GOnce.
3823 This prevents a deadlock on the second call when trying to create
3824 a monitor and no monitor type is available. Thanks to Sven Herzberg
3827 2007-11-11 Sven Herzberg <sven@imendio.com>
3829 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3830 #ifdef (make it work on MacOS X again)
3832 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3834 Fixes Changelog for last two commits (sorry guys).
3836 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3838 * gio/gbufferedinputstream.c:
3839 * gio/gdatainputstream.c:
3841 * gio/gfileoutputstream.c:
3842 * gio/gfilterinputstream.c:
3843 * gio/glocalfileinputstream.c:
3846 More consistency fixes in g*stream.c files.
3847 Significant clean of gfile's documentation, filling in of
3848 asynchronous operations documentation.
3850 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3852 * gio/gasyncresult.c:
3853 * gio/gbufferedinputstream.c:
3854 * gio/gbufferedoutputstream.c:
3855 * gio/gcancellable.c:
3856 * gio/gcontenttype.c:
3857 * gio/gdatainputstream.c:
3858 * gio/gdataoutputstream.c:
3859 * gio/gdesktopappinfo.c:
3862 * gio/gfileattribute.c:
3863 * gio/gio/gfileenumerator.c:
3865 * gio/gfileinputstream.c:
3866 * gio/gfilemonitor.c:
3867 * gio/gfileoutputstream.c:
3868 * gio/ginputstream.c:
3870 * gio/gioscheduler.c:
3871 * gio/gloadableicon.c:
3872 * gio/glocalfileoutputstream.c:
3873 * gio/gmemoryoutputstream.c:
3874 * gio/gmountoperation.c:
3875 * gio/goutputstream.c:
3877 * gio/gsimpleasyncresult.c:
3878 * gio/gunionvolumemonitor.c:
3879 * gio/gunixmounts.c:
3880 * gio/gunixvolume.c:
3884 * gio/gvolumemonitor.c:
3885 Updated documentation stubs, working towards consistency and
3888 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3890 * gio/gmemoryoutputstream.c:
3891 * gio/gmemoryoutputstream.h:
3892 Change g_memory_output_stream_set_free_on_close() to
3893 g_memory_output_stream_set_free_data() as this makes more sense and
3894 is more consistent with GMemoryInputStream.
3896 2007-11-07 Alexander Larsson <alexl@redhat.com>
3903 Change how we find the default vfs so that
3904 we can handle a gvfs failing to init
3906 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3908 * gio/gbufferedoutputstream.c:
3909 * gio/gdatainputstream.c:
3910 * gio/gdataoutputstream.c:
3911 * gio/gfileinputstream.c:
3912 * gio/gfileoutputstream.c:
3913 * gio/gfilterinputstream.c:
3914 * gio/gfilteroutputstream.c:
3915 * gio/ginputstream.c:
3916 * gio/gmemoryinputstream.c:
3917 * gio/gmemoryoutputstream.c:
3918 * gio/goutputstream.c:
3919 * gio/gsimpleasyncresult.c:
3920 * gio/gsocketinputstream.c:
3921 * gio/gsocketoutputstream.c:
3922 Add guards to the remaining public functions, add a TODO for
3923 an unimplemented function and remove some useless guards.
3925 2007-11-07 Alexander Larsson <alexl@redhat.com>
3928 Autoconf checks for the various types of
3929 getpwuid_r and getgrgid_r
3931 * gio/glocalfileinfo.c:
3932 Use the autoconf checks from above
3934 2007-11-07 Alexander Larsson <alexl@redhat.com>
3937 (g_local_file_query_filesystem_info):
3938 Some fixes for the statvfs case
3940 2007-11-07 Alexander Larsson <alexl@redhat.com>
3943 (g_local_file_query_filesystem_info):
3944 Pick the "best" of statfs / statvfs for the system
3945 if both are availible.
3947 2007-11-07 Alexander Larsson <alexl@redhat.com>
3949 Solaris fixes from Halton.Huo@Sun.COM:
3956 * gio/glocalfileinfo.c:
3957 Fix for solaris definition of getpwuid_r
3959 * gio/test-streams.c:
3960 Use G_GNUC_PRETTY_FUNCTION
3962 2007-11-07 Alexander Larsson <alexl@redhat.com>
3964 * gio/gdesktopappinfo.c:
3965 (update_default_list):
3966 Remove double semicolon.
3967 Patch from Jens Granseuer
3969 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3971 * docs/reference/gio/gio-sections.txt:
3972 * gio/gbufferedinputstream.c:
3973 * gio/gbufferedinputstream.h:
3974 * gio/gdatainputstream.c:
3975 * gio/gfileenumerator.c:
3976 * gio/gioscheduler.c:
3977 * gio/gunionvolumemonitor.c:
3979 * programs/gio-save.c:
3980 Fix typo: availible -> available. Unfortuntely this breaks API
3981 and ABI as g_buffered_input_stream_get_available() was renamed.
3983 * gio/gunixmounts.c:
3984 * gio/gbufferedinputstream.c:
3985 Add guards for public functions.
3987 2007-11-06 Ross Burton <ross@openedhand.com>
3989 * docs/reference/gio/Makefile.am:
3990 Fix invalid += usage which automake 1.10 doesn't like.
3992 2007-11-06 Alexander Larsson <alexl@redhat.com>
3995 (g_app_launch_context_class_init):
3998 Patch from Ross Burton
4000 2007-11-06 Alexander Larsson <alexl@redhat.com>
4003 Post release version bump
4005 === gio-standalone 0.1.1 ===
4007 2007-11-06 Alexander Larsson <alexl@redhat.com>
4010 Bump version to 0.1.1
4012 * gio/gsimpleasyncresult.c:
4013 (g_simple_async_result_set_from_error):
4014 Remove bogus g_return_if_fail
4016 2007-11-06 Alexander Larsson <alexl@redhat.com>
4019 The name is gio-standalone
4022 Add top src/builddir to includedir
4024 2007-11-06 Alexander Larsson <alexl@redhat.com>
4026 * docs/reference/gio/gio-sections.txt:
4028 * gio/gbufferedinputstream.c:
4029 * gio/gbufferedoutputstream.c:
4030 * gio/gcancellable.c:
4031 * gio/gdatainputstream.h:
4032 * gio/gdataoutputstream.c:
4033 * gio/gdataoutputstream.h:
4034 * gio/gdirectorymonitor.c:
4036 * gio/gfileattribute.c:
4037 * gio/gfileattribute.h:
4038 * gio/gfileenumerator.c:
4039 * gio/gfileenumerator.h:
4042 * gio/gfileinputstream.h:
4043 * gio/gfilemonitor.c:
4044 * gio/gfileoutputstream.h:
4045 * gio/glocalfilemonitor.h:
4046 * gio/glocalfileoutputstream.h:
4047 * gio/gmemoryinputstream.c:
4048 * gio/gmemoryoutputstream.c:
4049 * gio/gmountoperation.c:
4050 * gio/goutputstream.c:
4051 * gio/goutputstream.h:
4053 * gio/gsimpleasyncresult.c:
4054 * gio/gunixmounts.c:
4055 * gio/gunixmounts.h:
4057 * gio/inotify/inotify-helper.c:
4058 Fix gtk-doc warnings
4060 Patch from Ross Burton
4062 2007-11-06 Alexander Larsson <alexl@redhat.com>
4064 * gio/gfilenamecompleter.c:
4065 (g_filename_completer_get_completions):
4068 * gio/gunixvolume.c:
4069 Remove unused function
4071 Patches from Ross Burton
4073 2007-11-06 Alexander Larsson <alexl@redhat.com>
4078 Padding not needed for interfaces
4080 2007-11-06 Alexander Larsson <alexl@redhat.com>
4082 * gio/gfilemonitor.c:
4086 Make giotypes.h an internal file
4089 * gio/gbufferedinputstream.h:
4090 * gio/gbufferedoutputstream.h:
4091 * gio/gcancellable.h:
4092 * gio/gdatainputstream.h:
4093 * gio/gdataoutputstream.h:
4094 * gio/gdirectorymonitor.c:
4095 * gio/gdirectorymonitor.h:
4100 * gio/gfileattribute.h:
4101 * gio/gfileenumerator.h:
4106 * gio/gfilemonitor.c:
4107 * gio/gfilemonitor.h:
4108 * gio/gfilenamecompleter.c:
4109 * gio/gfilenamecompleter.h:
4110 * gio/gfilterinputstream.h:
4111 * gio/gfilteroutputstream.h:
4112 * gio/ginputstream.h:
4113 * gio/gmemoryinputstream.h:
4114 * gio/gmemoryoutputstream.h:
4115 * gio/gmountoperation.c:
4116 * gio/gmountoperation.h:
4117 * gio/gnativevolumemonitor.c:
4118 * gio/goutputstream.h:
4121 * gio/gsimpleasyncresult.c:
4122 * gio/gsimpleasyncresult.h:
4123 * gio/gsocketinputstream.h:
4124 * gio/gsocketoutputstream.h:
4125 * gio/gthemedicon.c:
4126 * gio/gthemedicon.h:
4130 * gio/gvolumemonitor.c:
4131 * gio/gvolumemonitor.h:
4132 Add padding in classes where it seems useful
4133 Don't include giotypes.h from public headers
4134 Move in Class definitions into c file where possible
4139 2007-11-06 Alexander Larsson <alexl@redhat.com>
4141 * docs/reference/gio/gio-docs.xml:
4142 Better structure for API docs
4144 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4147 * gio/gloadableicon.c:
4148 * gio/gsimpleasyncresult.c:
4149 * gio/gthemedicon.c:
4150 Add some more guards to public functions. Only files missing are now
4153 2007-11-06 Alexander Larsson <alexl@redhat.com>
4155 * docs/reference/gio/gio-docs.xml:
4156 Remove old files, add missing ones
4158 2007-11-06 Alexander Larsson <alexl@redhat.com>
4160 * docs/reference/gio/gio-sections.txt:
4163 Hide implementation classes
4165 * gio/gdriveprivate.h:
4166 * gio/gvolumeprivate.h:
4167 Remove non-existing function declarations
4169 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4172 Fix compilation warnings and add guards to the new functions.
4174 * gio/gasyncresult.c:
4176 Add guards to the public functions.
4179 Implement get_path().
4181 2007-11-06 Alexander Larsson <alexl@redhat.com>
4183 * gio/gfilenamecompleter.c:
4184 Make g_filename_completer_get_completions
4185 return char ** instead of GList for
4188 * docs/reference/gio/gio-docs.xml:
4189 * docs/reference/gio/gio-sections.txt:
4191 * gio/gasyncresult.c:
4192 * gio/gbufferedinputstream.c:
4193 * gio/gbufferedoutputstream.c:
4194 * gio/gcancellable.c:
4195 * gio/gcontenttype.c:
4196 * gio/gdatainputstream.c:
4197 * gio/gdataoutputstream.c:
4198 * gio/gdesktopappinfo.c:
4199 * gio/gdirectorymonitor.c:
4203 * gio/gfileattribute.c:
4204 * gio/gfileenumerator.c:
4207 * gio/gfileinputstream.c:
4208 * gio/gfilemonitor.c:
4209 * gio/gfilenamecompleter.c:
4210 * gio/gfilenamecompleter.h:
4211 * gio/gfileoutputstream.c:
4212 * gio/gfilterinputstream.c:
4214 * gio/ginputstream.c:
4216 * gio/gioscheduler.c:
4217 * gio/gloadableicon.c:
4218 * gio/glocaldirectorymonitor.c:
4220 * gio/glocalfileinputstream.c:
4221 * gio/glocalfilemonitor.c:
4222 * gio/glocalfileoutputstream.c:
4224 * gio/gmemoryinputstream.c:
4225 * gio/gmemoryoutputstream.c:
4226 * gio/gmountoperation.c:
4227 * gio/goutputstream.c:
4228 * gio/gpollfilemonitor.c:
4230 * gio/gsimpleasyncresult.c:
4231 * gio/gsocketinputstream.c:
4232 * gio/gsocketoutputstream.c:
4233 * gio/gthemedicon.c:
4234 * gio/gunionvolumemonitor.c:
4236 * gio/gunixmounts.c:
4237 * gio/gunixvolume.c:
4238 * gio/gunixvolumemonitor.c:
4242 * gio/gvolumemonitor.c:
4243 * gio/gwin32appinfo.c:
4244 Add (mostly stub) doc strings to public functions.
4245 Patch from Andrew Walton (awalton@gmail.com)
4247 2007-11-06 Alexander Larsson <alexl@redhat.com>
4249 * gio/gappinfo.[ch]:
4250 Added GAppLaunchContext object and pass that to launch.
4251 This allows simple implementation of both
4252 launch-on-screen and startup notification via a gtk+
4253 subclass of GAppLaunchContext
4255 * gio/gdesktopappinfo.c:
4256 Implement GAppLaunchContext API
4258 * gio/gwin32appinfo.c:
4261 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4263 * gio/gmountoperation.c:
4264 Add some guards to GMountOperation's public functions.
4266 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4270 * gio/gcancellable.c:
4271 * gio/gdirectorymonitor.c:
4273 * gio/gfileenumerator.c:
4274 * gio/gfilemonitor.c:,
4275 * gio/gfilenamecompleter.c:
4278 * gio/gioscheduler.c:
4282 * gio/gvolumemonitor.c:
4283 Add even more guards to various public functions.
4285 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4288 Add guards to the public functions of GAppInfo.
4290 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4292 * gio/gcontenttype.c:
4293 Add some more guards for public functions.
4295 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4297 * gio/fam/fam-module.c:
4298 * gio/fam/gfamdirectorymonitor.c:
4299 * gio/fam/gfamdirectorymonitor.h:
4300 * gio/fam/gfamfilemonitor.c:
4301 * gio/fam/gfamfilemonitor.h:
4302 * gio/inotify/ginotifydirectorymonitor.c:
4303 * gio/inotify/ginotifydirectorymonitor.h:
4304 * gio/inotify/ginotifyfilemonitor.c:
4305 * gio/inotify/ginotifyfilemonitor.h:
4306 Add proper copyright information and remove an unused variable
4307 in the GInotifyFileMonitor constructor.
4309 * gio/gcancellable.c:
4310 Add a guard for a public function and an assertion to prevent
4311 an undefined program state.
4313 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4315 * gio/gfileattribute.c:
4316 Don't run into an assertion if the given attribute value is NULL
4317 in g_file_attribute_value_get_*() but instead return a fallback
4318 value that makes sense in most situations. Passing them a attribute
4319 value with the wrong type will still run into an assertion.
4321 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4323 * gio/gfileattribute.c:
4325 Add even more guards to the public functions. Also fix the refcounting
4326 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4327 let g_file_info_list_attributes() filter the attributes by namespace
4328 instead of simply ignoring the namespace parameter.
4330 2007-11-03 Sven Herzberg <sven@imendio.com>
4332 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4333 (This makes gio work on MacOS X again)
4335 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4338 Build the gio subdirectory before the docs. Otherwise the build will
4341 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4342 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4343 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4344 Add guards to the public functions.
4346 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4348 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4349 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4350 to prevent a compiler warning.
4352 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4353 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4354 return something in the non-void function find_topdir_for().
4356 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4363 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4365 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4366 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4367 * gwin32appinfo.c (g_win32_app_info_launch):
4368 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4369 envp_for_startup_id, g_desktop_app_info_launch,
4370 g_desktop_app_info_launch_uris):
4372 Give an opaque 'startup_id' string instead of 'envp'.
4373 Support empty file lists for launching new windows.
4374 Fix infinite recursion bug when launching URIs.
4376 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4379 Add guard to the new g_file_get_uri_scheme() function.
4381 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4384 Convert a g_return_val_if_fail() to setting the GError instead as
4385 otherwise applications have to verify the parameter before otherwise
4386 and the parameter might come directly from the user.
4388 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4390 * gio/inotify/ginotify*.[ch]:
4391 Add missing copyright information.
4393 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4396 Add guards in the beginning of public functions to check for valid
4397 parameters and fix a bug in copy_stream_with_progress() that could've
4398 caused writing less bytes than reading.
4399 * gio/glocalfileinfo.c:
4400 Check for a NULL parameter and set the GError accordingly then.
4401 * gio/goutputstream.c:
4402 Fix the same bug as in gfile.c that could've caused writing less bytes
4403 than reading in g_output_stream_real_splice().
4405 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4408 Use the correct gvolumeprivate.h naming
4410 2007-11-01 Christian Kellner <gicmo@gnome.org>
4413 Remove leftover "$(daemon_sources)" entry.
4415 2007-11-01 Christian Kellner <gicmo@gnome.org>
4420 Add copyright information to source files.
4422 2007-11-01 Alexander Larsson <alexl@redhat.com>
4426 Add g_file_get_uri_scheme
4428 2007-11-01 Alexander Larsson <alexl@redhat.com>
4431 * gio/gdesktopappinfo.c:
4432 * gio/gwin32appinfo.c:
4433 Add g_app_info_get_default_for_uri_scheme.
4435 2007-11-01 Alexander Larsson <alexl@redhat.com>
4438 Correct filename for gdriveprivate.h
4440 2007-10-31 Alexander Larsson <alexl@redhat.com>
4443 Rename id:value to id:file
4446 * gio/glocalfileinfo.c:
4449 2007-10-31 Alexander Larsson <alexl@redhat.com>
4451 * gio/gunixvolume.c:
4453 Remove g_volume_get_platform_id, as thats not
4454 needed with the simpler union volume monitor
4456 2007-10-31 Alexander Larsson <alexl@redhat.com>
4459 * gio/guniondrive.[ch]: Removed.
4460 * gio/gunionvolume.[ch]: Removed.
4461 Remove GUnionDrive/Volume
4463 * gio/gunionvolumemonitor.c:
4464 Simplify union volume monitor, now we
4465 only have one native volume monitor and
4466 we use the actual volumes/drives from the
4467 child monitors instead of wrapping them
4469 * gio/gnativevolumemonitor.[ch]:
4470 Base class for native volume monitors.
4471 Includes priority and get_volume_for_mountpoint
4474 Add g_file_find_enclosing_volume
4477 Remove volume name fs attribute
4478 Add readonly fs attribute
4481 Implement readonly attribute
4482 remove volume name attribute
4483 Implement find_enclosing volume
4485 * gio/gunixmounts.c:
4486 Add a volume for "/".
4488 * gio/gunixvolume.[ch]:
4489 Set better name for /
4491 * gio/gunixvolumemonitor.[ch]:
4492 Derive from GNativeVolumeMonitor
4493 Implement get_volume_for_mountpoint
4496 GVolume typedef moved to gfile.h
4498 * gio/gvolumeprivate.h:
4499 Add g_volume_get_for_mount_path
4501 2007-10-31 Alexander Larsson <alexl@redhat.com>
4503 * gio/gunixmounts.[ch]:
4504 Add cache info to unix mount listers
4505 Make getmntent use threadsafe
4506 Add is_system_internal attribute for GUnixMount
4508 * gio/gunixvolume.c:
4509 (g_unix_volume_new):
4510 Use is_system_internal instead of own code
4512 * gio/glocaldirectorymonitor.c:
4513 * gio/gunixvolumemonitor.c:
4514 Update to new gunixmounts API
4519 2007-10-30 Alexander Larsson <alexl@redhat.com>
4522 Add volume name fsinfo attribute
4525 Read volume name info
4527 * gio/gunionvolumemonitor.c:
4528 Fix infinite loops when finalizing a union volume monitor
4530 2007-10-30 Alexander Larsson <alexl@redhat.com>
4532 * gio/goutputstream.[ch]:
4533 Add splice() with default implementation
4535 * gio/gsocketoutputstream.c:
4536 (g_socket_output_stream_write):
4537 Return error on cancellation correctly.
4539 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4541 * gio/glocalfile.c (g_local_file_trash):
4542 Do not leak a string.
4544 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4546 * gio/gfile.c (g_file_load_contents):
4547 Unref the stream after closing it.
4549 2007-10-25 Alexander Larsson <alexl@redhat.com>
4551 * gio/gioscheduler.h:
4554 2007-10-25 Alexander Larsson <alexl@redhat.com>
4558 Add g_file_has_uri_scheme and implement for local files
4560 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4562 * gio/gdesktopappinfo.c: do not leak a string.
4564 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4566 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4567 (g_local_directory_monitor_new):
4568 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4569 (g_local_file_monitor_new):
4570 Only look for the monitor type that should be used the first time
4571 and use g_qsort_with_data() instead of our own bubble sort
4574 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4577 * gio/fam/Makefile.am:
4578 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4579 * gio/fam/fam-helper.h:
4580 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4581 * gio/fam/gfamdirectorymonitor.c:
4582 * gio/fam/gfamdirectorymonitor.h:
4583 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4584 * gio/fam/gfamfilemonitor.h:
4585 * gio/glocaldirectorymonitor.c:
4586 * gio/glocaldirectorymonitor.h:
4587 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4588 * gio/glocalfilemonitor.h:
4589 * gio/inotify/Makefile.am:
4590 * gio/inotify/ginotifydirectorymonitor.c:
4591 * gio/inotify/ginotifydirectorymonitor.h:
4592 * gio/inotify/ginotifyfilemonitor.c:
4593 * gio/inotify/ginotifyfilemonitor.h:
4594 Implement the FAM and Inotify monitors as
4595 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4596 their own GIO module. GLocal(Directory|File)Monitor will use the
4597 monitor with the highest rank that is supported on that machine.
4599 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4602 Change GIO module dir to $(libdir)/gio/modules and change
4603 the log domain from GVFS to GIO. Also only export symbols starting
4604 with g_ in the resulting library.
4605 * gio/test-streams.c: (main):
4606 Set log handler for the GIO log domain.
4608 2007-10-22 Alexander Larsson <alexl@redhat.com>
4610 * gio/gfilenamecompleter.[ch]:
4611 Add g_filename_completer_set_dirs_only
4613 2007-10-22 Alexander Larsson <alexl@redhat.com>
4616 * gio/gurifuncs.[ch]:
4617 Add some simple URI helpers
4619 * gio/gfilenamecompleter.[ch]:
4620 Added object for filename (parse name actually) completion
4623 Handle ~ in parse names
4625 2007-10-17 Alexander Larsson <alexl@redhat.com>
4628 * gio/glocalfileinfo.c:
4629 Add and implement id:value attribute
4631 2007-10-17 Alexander Larsson <alexl@redhat.com>
4634 * gio/guniondrive.c:
4636 Add and implement g_drive_has_volumes
4638 2007-10-17 Alexander Larsson <alexl@redhat.com>
4641 * gio/glocalfileinfo.[ch]:
4642 Add unix:is_mountpoint and implement for local files
4644 2007-10-16 Alexander Larsson <alexl@redhat.com>
4646 * gio/gunionvolumemonitor.c:
4647 (g_union_volume_monitor_init):
4648 Fix up the unix type getting so that it works with gcc
4650 2007-10-12 Alexander Larsson <alexl@redhat.com>
4653 * gio/glocalfileinfo.c:
4654 Add thumbnail:failed to file info
4656 2007-10-12 Richard Hult <richard@imendio.com>
4658 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4659 optimizing away the get_type call (happens with some gcc versions,
4660 like the one shipped with OS X 10.4).
4662 2007-10-12 Alexander Larsson <alexl@redhat.com>
4664 * gio/glocalfileinfo.c:
4665 (_g_local_file_info_set_attribute):
4666 Fix build if not HAVE_XATTR
4667 Patch from Milosz Derezynski <internalerror@gmail.com>
4669 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4671 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4672 around for review, otherwise I would have asked you before
4675 2007-10-11 Alexander Larsson <alexl@redhat.com>
4678 Add thumbnail:path attribute
4680 * gio/glocalfileinfo.c:
4681 Implement thumbnail:path for local files
4683 2007-10-11 Alexander Larsson <alexl@redhat.com>
4685 * gio/glocalfileinfo.c:
4686 (_g_local_file_info_get):
4687 Avoid duplicate icon names
4689 2007-10-11 Alexander Larsson <alexl@redhat.com>
4691 * gio/gthemedicon.[ch]:
4692 Change g_themed_icon_get_names return type to const
4694 2007-10-10 Alexander Larsson <alexl@redhat.com>
4696 * gio/glocalfileinfo.c:
4697 Don't reference freed memory
4699 2007-10-10 Alexander Larsson <alexl@redhat.com>
4701 * gio/gfileattribute.c:
4704 * gio/glocalfileinfo.c:
4707 2007-10-10 Alexander Larsson <alexl@redhat.com>
4710 Check for NULL icons
4712 * gio/gfileattribute.c:
4713 Don't dup when getting objects (same as for string attributes)
4715 * gio/gicon.c (g_icon_equal):
4716 Safely handle NULLs in equal
4718 2007-10-10 Alexander Larsson <alexl@redhat.com>
4721 Fix c++ compilation issues
4722 Patch from Milosz Derezynski <internalerror@gmail.com>
4724 2007-10-10 Alexander Larsson <alexl@redhat.com>
4726 * programs/gio-monitor-dir.c:
4727 Don't crash if dir monitor not supported.
4729 2007-10-09 Alexander Larsson <alexl@redhat.com>
4732 Add missing G_END_DECLS
4734 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4736 * gio/gfile.c: (g_file_set_display_name),
4737 (g_file_query_settable_attributes),
4738 (g_file_query_writable_namespaces):
4739 Return NULL not FALSE on errors as the return type is a pointer.
4741 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4743 * gio/glocalfile.c: (g_local_file_monitor_file):
4744 Don't call monitor_file on the default interface vtable (which
4745 is NULL) but simply return NULL. The caller, GFile, will create a
4746 polling monitor if NULL is returned.
4748 2007-10-09 Alexander Larsson <alexl@redhat.com>
4752 * gio-unix-2.0.pc.in:
4753 Add gio-unix-2.0.pc if OS_UNIX
4756 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4758 2007-10-09 Alexander Larsson <alexl@redhat.com>
4760 * gio/gunixmounts.[ch]:
4761 Make unix mount monitoring API sane.
4762 Now its just a object with mounts_changed
4763 and mountpoints_changed signals.
4765 * gio/glocaldirectorymonitor.c:
4766 * gio/gunixvolumemonitor.c:
4767 Use new mount monitor api
4769 2007-10-09 Alexander Larsson <alexl@redhat.com>
4771 * gio/gunixmounts.[ch]:
4772 Move guess type into one call for mounts and one for mountpoints
4775 * gio/gunixvolume.c:
4778 2007-10-09 Alexander Larsson <alexl@redhat.com>
4780 * gio/gunixmounts.[ch]:
4781 Remove _ prefix in preparation to make this semi-public
4782 Hide implementation of structs
4784 * gio/glocaldirectorymonitor.c:
4786 * gio/gunixvolume.c:
4787 * gio/gunixvolumemonitor.c:
4788 Update for above API changes
4790 2007-10-08 Alexander Larsson <alexl@redhat.com>
4793 Better polling fallback. This also handles the case where we have
4794 a monitor_file implementation, but it fails.
4796 2007-10-08 Alexander Larsson <alexl@redhat.com>
4800 * gio/gunixmounts.c:
4801 * programs/gio-monitor-dir.c:
4802 * programs/gio-monitor-file.c:
4803 Added cancellable to file monitoring calls.
4804 These are really sync calls and need this.
4806 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4808 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4809 (g_local_vfs_class_init):
4810 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4811 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4813 2007-10-05 Alexander Larsson <alexl@redhat.com>
4815 * gio/gdirectorymonitorprivate.h:
4816 * gio/gfilemonitorprivate.h:
4817 * gio/gdirectorymonitor.h:
4818 * gio/gfilemonitor.h:
4819 Remove *private.h and move to the public API, so that
4820 we can do implementations outside gio (such as in gvfs)
4822 * gio/gdirectorymonitor.c:
4823 * gio/gfilemonitor.c:
4824 * gio/glocaldirectorymonitor.c:
4825 * gio/gpollfilemonitor.c:
4826 * gio/inotify/inotify-helper.c:
4827 * gio/fam/fam-helper.c:
4828 Update to the new header names
4830 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4832 * gio/gdirectorymonitor.c:
4833 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4836 2007-10-04 Alexander Larsson <alexl@redhat.com>
4838 * gio/glocalfileinfo.c (get_access_rights):
4839 Set CAN_TRASH when we can move the file.
4840 We should really also check for a parent trash dir.
4842 2007-10-04 Alexander Larsson <alexl@redhat.com>
4844 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4845 Add can_trash access attribute
4847 2007-10-04 Alexander Larsson <alexl@redhat.com>
4850 (g_local_file_trash):
4851 Create info file first. This is per-spec and allows
4852 us to actually trash directories.
4854 2007-10-02 Alexander Larsson <alexl@redhat.com>
4856 * gio/gdesktopappinfo.c:
4857 Implement the new mime support code.
4858 Always set app as handling mimetype when being set as default for it
4860 2007-10-01 Alexander Larsson <alexl@redhat.com>
4862 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4863 Fix up check for xattrs:
4865 2007-10-01 Alexander Larsson <alexl@redhat.com>
4868 (g_app_info_set_as_default_for_extension):
4869 (g_app_info_add_supports_type):
4870 (g_app_info_can_remove_supports_type):
4871 (g_app_info_remove_supports_type):
4872 Make these fail nicely if not implemented
4874 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4876 * gio/glocalfileoutputstream.c:
4877 * gio/glocalfileoutputstream.h:
4882 * programs/gio-save.c:
4883 Add a GFileCreateFlags argument to operations that can create
4886 2007-10-01 Alexander Larsson <alexl@redhat.com>
4888 * gio/gappinfo.[ch]:
4889 * gio/gdesktopappinfo.c:
4890 Add more (stubbed out) mime API needed for nautilus
4892 2007-10-01 Alexander Larsson <alexl@redhat.com>
4895 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4896 Add g_app_info_set_as_default_for_extension.
4898 * gio/gdesktopappinfo.c:
4899 Dummy for g_app_info_set_as_default_for_extension
4900 Support flags in g_app_info_create_from_commandline
4902 * gio/gwin32appinfo.c:
4904 Update for API changes
4906 * gio/gthemedicon.c:
4907 Properly NULL-terminate list of icon names
4909 2007-09-28 Alexander Larsson <alexl@redhat.com>
4911 * gio/gloadableicon.h:
4912 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4914 2007-09-28 Alexander Larsson <alexl@redhat.com>
4917 Install headers in $includedir/gio-standalone/
4919 * gio-2.0.pc.in: Added.
4920 * gio-standalone.pc.in: Removed.
4923 Renamed pkg-config file to match glib (for future move)
4924 Update to the new include dir
4927 Add more TODO comments
4929 2007-09-28 Alexander Larsson <alexl@redhat.com>
4931 * gio/gdesktopappinfo.[ch]:
4932 Expose new_from_filename
4933 Add getter for is_hidden and handle it better
4935 2007-09-28 Alexander Larsson <alexl@redhat.com>
4937 * gio/gfileinfo.[ch]:
4938 Rename g_file_size_format_for_display to
4939 g_format_file_size_for_display.
4940 Now it doesn't have the g_file prefix, so we
4941 can later move it to glib.
4943 2007-09-28 Alexander Larsson <alexl@redhat.com>
4945 * gio/gappinfo.[ch]:
4946 Add g_app_info_get_id and g_app_info_get_executable.
4947 Make all getters non-reffing
4948 Make g_app_info_launch take GFile arguments.
4949 Add must_support_uris argument to g_app_info_get_default_for_type.
4951 * gio/gwin32appinfo.c:
4952 Update to GAppInfo api changes
4954 * gio/gdesktopappinfo.c:
4955 Update to GAppInfo api changes
4956 Implement supports_xdg_startup_notify
4958 * gio/gfileicon.c (g_file_icon_get_file):
4959 Make getter non-reffing.
4964 2007-09-27 Alexander Larsson <alexl@redhat.com>
4966 * gio/gfileinfo.[ch]:
4967 Add g_file_size_format_for_display helper
4969 2007-09-27 Alexander Larsson <alexl@redhat.com>
4971 * gio/glocalfileinfo.c:
4972 Set UNIX_GID from gid, not from uid
4974 2007-09-27 Alexander Larsson <alexl@redhat.com>
4977 Add g_file_set_attributes_async
4979 2007-09-27 Alexander Larsson <alexl@redhat.com>
4981 * gio/glocalfile.c (g_local_file_set_display_name):
4982 Fix set_display_name to actually rename to the right place.
4983 Use lstat to look for existing files so we don't overwrite
4986 2007-09-26 Alexander Larsson <alexl@redhat.com>
4989 Add g_file_set_display_name_async()
4991 2007-09-26 Alexander Larsson <alexl@redhat.com>
4994 Add load_partial_contents async calls
4997 Make internal function static
4999 2007-09-26 Alexander Larsson <alexl@redhat.com>
5001 * gio/glocalfileinfo.c:
5002 Correctly detect broken symlinks
5004 2007-09-26 Alexander Larsson <alexl@redhat.com>
5006 * gio/gcancellable.c (g_cancellable_cancel):
5007 Allow cancel on NULL cancellable
5009 2007-09-25 Alexander Larsson <alexl@redhat.com>
5011 * gio/gsimpleasyncresult.c:
5012 Don't allocate g_error manually.
5013 Fixes g_slice/g_new mixup crash
5015 2007-09-25 Alexander Larsson <alexl@redhat.com>
5017 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5018 Actually set active_backend.
5019 This means the monitor will be cancelled correctly.
5021 2007-09-25 Alexander Larsson <alexl@redhat.com>
5023 * gio/gdirectorymonitor.c:
5024 Set timeout to NULL when destroying
5026 2007-09-25 Alexander Larsson <alexl@redhat.com>
5029 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5030 that is a better description of the error.
5032 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5034 * gio/gvfs.c: (g_vfs_get_local):
5035 Make the local vfs variable static. The same instance should
5038 2007-09-24 Alexander Larsson <alexl@redhat.com>
5040 * gio/glocalfileinfo.c:
5041 Pass in actual length read into sniffer, not the length
5044 2007-09-21 Alexander Larsson <alexl@redhat.com>
5046 * gio/gfileenumerator.c:
5049 * gio/gfileinputstream.c:
5050 * gio/gfileoutputstream.c:
5051 * gio/ginputstream.c:
5052 * gio/goutputstream.c:
5053 Don't crash if async callbacks are NULL
5055 2007-09-20 Alexander Larsson <alexl@redhat.com>
5058 Add async enumerate_children method and default
5061 2007-09-20 Alexander Larsson <alexl@redhat.com>
5064 Add g_file_contains_file & g_file_get_relative_path, since they
5065 were needed for nautilus.
5066 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5071 Implement new methods
5073 2007-09-17 Alexander Larsson <alexl@redhat.com>
5076 * gio/gfileinputstream.[ch]:
5077 * gio/gfileoutputstream.[ch]:
5079 * gio/glocalfileenumerator.[ch]:
5080 * gio/glocalfileinfo.[ch]:
5081 * gio/glocalfileinputstream.c:
5082 * gio/glocalfileoutputstream.c:
5083 * gio/gpollfilemonitor.c:
5084 * programs/gio-copy.c:
5085 * programs/gio-info.c:
5086 * programs/gio-move.c:
5087 Rename get_file_info to query_info() to make it clearer
5088 that these are not simple getters, but do i/o.
5090 2007-09-17 Alexander Larsson <alexl@redhat.com>
5092 * gio/gdatainputstream.[ch]:
5093 * gio/test-streams.c:
5094 Use _read_XXX instead of _get_XXX for the i/o calls
5097 2007-09-17 Alexander Larsson <alexl@redhat.com>
5100 Added needed stuff to TODO comment
5102 2007-09-17 Alexander Larsson <alexl@redhat.com>
5104 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5105 Don't error out removing the backup copy if it doesn't
5108 2007-09-14 Alexander Larsson <alexl@redhat.com>
5110 * programs/Makefile.am:
5111 * programs/gvfs-*.c:
5113 Renamed apps from gvfs-xxx to gio-xxx.
5115 2007-09-14 Alexander Larsson <alexl@redhat.com>
5118 * gio/gfileoutputstream.[ch]:
5119 * gio/glocalfileoutputstream.c:
5120 * programs/gvfs-save.c:
5121 g_file_output_stream_get_etag doesn't do i/o, so remove
5122 cancellation and error.
5124 2007-09-14 Alexander Larsson <alexl@redhat.com>
5127 Add new_etag output to replace_contents functions
5129 2007-09-14 Alexander Larsson <alexl@redhat.com>
5131 * gio/gfileoutputstream.[ch]:
5132 Add async get_file_info and default implementation
5134 2007-09-14 Alexander Larsson <alexl@redhat.com>
5136 * gio/gfileinputstream.c:
5137 Implement fallback wrapper for async get_file_info
5139 2007-09-14 Alexander Larsson <alexl@redhat.com>
5142 Add etag out argument to load_contents
5147 2007-09-14 Alexander Larsson <alexl@redhat.com>
5149 * gio/gcontenttype.c (looks_like_text):
5150 Whitespace like tab, cr and lf do not make the
5153 2007-09-14 Alexander Larsson <alexl@redhat.com>
5155 * gio/gfileinputstream.[ch]:
5156 Add async get_file_info.
5158 2007-09-13 Alexander Larsson <alexl@redhat.com>
5160 * gio/goutputstream.c (g_output_stream_write_all):
5161 Allow NULL for bytes_written
5163 2007-09-13 Alexander Larsson <alexl@redhat.com>
5165 * gio/gmemoryinputstream.[ch]:
5166 Add accessors for data
5168 2007-09-13 Alexander Larsson <alexl@redhat.com>
5170 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5171 Don't crash if length is NULL