1 2008-10-14 Matthias Clasen <mclasen@redhat.com>
3 Bug 556335 – make check fails in abicheck.sh
5 * gio.symbols: Add g_file_attribute_info_list_get_type.
6 Pointed out by Pascal Terjan.
8 2008-10-13 Alexander Larsson <alexl@redhat.com>
11 When adding an application as handling a mime type (but
12 not as the default), copy the full list of desktop ids handling
13 that type in before adding the new one on the end of the list.
14 This means we're not accidentally changing the default by overriding
15 the info from the later directories in the search path.
17 Also, fixes small leak of removed_entries.
19 2008-10-12 David Zeuthen <davidz@redhat.com>
22 * gunionvolumemonitor.c:
24 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
26 2008-10-10 Alexander Larsson <alexl@redhat.com>
28 * gfileattribute.c (escape_byte_string):
29 Upper half of byte is >> 4, not >> 8.
30 Found by Kjartan Maraas via sparse
32 2008-10-10 Matthias Clasen <mclasen@redhat.com>
34 Bug 555711 – Wrong fallback order of mimetype icons
36 * gcontenttype.c: Don't prefer generic icons over
37 default mimetype icons.
39 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
40 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
42 Patch by Krysztof Kosiński
44 2008-10-10 Matthias Clasen <mclasen@redhat.com>
46 Bug 555121 – Improved build-time handling of gio module-dir
48 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
49 * Makefile.am: Create the module dir.
51 2008-10-10 Matthias Clasen <mclasen@redhat.com>
53 * gio/glocalfileinfo.c:
54 * gio/tests/live-g-file.c:
55 * gio/gsimpleasyncresult.c: Fix gcc warnings.
57 2008-10-09 Alexander Larsson <alexl@redhat.com>
59 * gunixinputstream.c (g_unix_input_stream_read):
60 Actually return -1 in case of cancelled, not old res value.
62 2008-10-06 Colin Walters <walters@verbum.org>
64 Bug 554745 - GFileAttributeInfoList should be boxed
66 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
67 for convenience of bindings.
68 * gio/gfileattribute.h: Prototype it.
70 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
72 Bug 554970 – segfault when update-desktop-database is not available
75 * gdesktopappinfo.c (run_update_command): Have the error set before
78 2008-10-01 David Zeuthen <davidz@redhat.com>
80 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
81 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
82 instead of the gio URI (such as sftp://foo/file.avi) when using
83 g_app_info_launch() and friends. With a sufficiently recent gvfs,
84 apps using gio+gvfs will map the FUSE file:// URI back to the gio
85 URI (and thus bypass the fuse daemon) thanks the patch from bug
86 #530654. Since Nautilus is an user of g_app_info_launch() it
87 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
88 when launced via the file manager. Win. Fixes bug #528670.
90 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
91 mapping to the description of GAppInfo.
93 2008-09-30 Tor Lillqvist <tml@novell.com>
95 * tests/Makefile.am: Build desktop-app-info only on Unix.
97 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
98 g_critical(). Pass a large enough result buffer to
99 GetVolumePathNameW(). Just use MAX_PATH.
101 2008-09-29 David Zeuthen <davidz@redhat.com>
103 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
105 2008-09-26 Dan Winship <danw@gnome.org>
107 * tests/data-input-stream.c:
108 * tests/data-output-stream.c:
109 * tests/live-g-file.c:
110 * tests/memory-input-stream.c:
111 * tests/memory-output-stream.c: Use g_assert_error() and
114 2008-09-26 Matthias Clasen <mclasen@redhat.com>
116 Bug 545350 – GAppInfo deletion
117 Bug 545351 – Reset associations for content type
120 * gappinfo.[hc]: New functions g_app_info_can_delete,
121 g_app_info_delete and g_app_info_reset_type_associations.
124 * gwin32appinfo.c: Implementations of these.
127 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
129 2008-09-26 Dan Winship <danw@gnome.org>
131 Bug 505361 – gunixinputstream.c assumes poll() available
132 Bug 509446 – portable blocking gio cancellation
134 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
135 GPollFD for a cancellable (which is slightly more complicated on
138 * gunixinputstream.c (g_unix_input_stream_read):
139 * gunixoutputstream.c (g_unix_output_stream_write): Use
140 g_cancellable_make_pollfd() and g_poll() rather than using poll()
143 * tests/unix-streams.c: test of GUnixInputStream,
144 GUnixOutputStream, and GCancellable.
146 2008-09-26 Dan Winship <danw@gnome.org>
148 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
149 cast to stop a gcc warning
151 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
154 2008-09-25 Dan Winship <danw@gnome.org>
156 Bug 553426 - cancellable clarifications
158 * gcancellable.c (g_cancellable_class_init): Add a note to the
159 "cancelled" signal docs warning about thread-safety issues
160 (g_cancellable_cancel): Note that cancelling an asynchronous
161 operation takes effect asynchronously, not immediately.
163 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
165 * gioenums.h: Add new GFileCopyFlag, to leave target file with
166 default perms, instead of setting the source file perms, in a copy
169 * gfile.c (g_file_copy_attributes)
170 (build_attribute_list_for_copy)
171 (should_copy): Not copy "unix::mode" attribute if we have received
172 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
174 2008-09-20 Matthias Clasen <mclasen@redhat.com>
176 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
178 2008-09-17 Matthias Clasen <mclasen@redhat.com>
180 * === Released 2.18.1 ===
182 2008-09-16 Michael Natterer <mitch@imendio.com>
184 * gcontenttype.c (g_content_type_guess): can't assign the return
185 value of g_strdupv() to an array. Fill the array manually with
186 const strings instead (it is never freed anyway). Fixes the
187 build. Also fixed indentation.
189 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
191 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
192 Fix trivial typo to unbreak the build (there was a colon
193 instead of a semicolon at the end of a statement).
195 2008-09-15 Matthias Clasen <mclasen@redhat.com>
197 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
200 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
203 2008-09-15 Matthias Clasen <mclasen@redhat.com>
205 Bug 551681 – g_content_type_guess() too naive with filenames
207 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
208 at the end of the filename, and declare it a directory.
209 Patch by Bastien Nocera
211 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
213 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
216 * gdesktopappinfo.c: add a note in the docs clarifying what the
217 "filename" parameter really is.
219 2008-09-12 Tor Lillqvist <tml@novell.com>
221 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
222 FormatMessage() etc here. Call g_win32_error_message() instead
223 which already does all that. Besides, the code was broken as it
224 called the default "A" version of FormatMessage() but still
225 thought it produced a wide string.
227 2008-09-12 Michael Natterer <mitch@imendio.com>
229 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
230 in the documentation.
232 2008-09-08 Christian Neumair <cneumair@gnome.org>
234 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
235 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
236 Use non-blocking pipe for mount helper I/O. Fixes #550647.
238 2008-09-06 Matthias Clasen <mclasen@redhat.com>
240 Bug 551149 – xdgmime mem leak
242 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
243 a memory leak. Patch by Christian Persch
245 2008-09-04 Tor Lillqvist <tml@novell.com>
247 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
250 2008-09-02 Matthias Clasen <mclasen@redhat.com>
252 * === Released 2.18.0 ===
254 2008-09-02 Michael Natterer <mitch@imendio.com>
256 * *.h: big header formatting cleanup: indentation, vtable
257 formatting, consistent spacing in (* vfunc), trailing whitespace
258 removal. Formatting should be pretty consistent in all GIO headers
261 2008-09-02 Matthias Clasen <mclasen@redhat.com>
263 * gmount.h: Document guess_content_type sync vfunc.
265 2008-09-02 Michael Natterer <mitch@imendio.com>
267 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
268 fix parent_class member to be GFilterOutputStreamClass (not
269 GOutputStreamClass). Drop three pointers of padding, which is
270 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
271 so the class struct size stays the same.
273 2008-09-02 Matthias Clasen <mclasen@redhat.com>
275 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
277 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
278 nonexisting return values. Pointed out by Cosimo Cecchi.
280 2008-08-23 Tor Lillqvist <tml@novell.com>
282 Bug 548988 - g_file_replace fails on Windows when the target file
285 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
286 Windows, close the file before potentially renaming it (in case we
287 have been writing to a file with a temporary name).
289 (g_local_file_output_stream_close, handle_overwrite_open): Use
290 GLocalFileStat instead of plain struct stat, for passing to
291 _g_local_file_info_create_etag(). Thus also use _fstati64()
292 instead of plain fstat() on Windows.
294 2008-08-18 Matthias Clasen <mclasen@redhat.com>
296 * === Released 2.17.7 ===
298 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
300 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
303 2008-08-13 Tor Lillqvist <tml@novell.com>
305 * win32/gwinhttpvfs.c
306 * win32/gwinhttpvfs.h
307 * win32/gwinhttpfile.c
308 * win32/gwinhttpfileinputstream.c
309 * win32/gwinhttpfileoutputstream.c: Refactor some common code
310 snippets into helper functions. Check HTTP response status
311 codes. Implement g_winhttp_file_query_info(), looking at
312 Content-Length, Content-Type and Last-Modified.
314 * win32/winhttp.h: Add some symbolic constants that are not
315 publicly documented. Just a handful, so it should be OK to use
316 information from the Windows SDK's headers.
318 2008-08-13 Tor Lillqvist <tml@novell.com>
320 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
323 * win32/gwin32directorymonitor.c
324 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
326 2008-08-13 Matthias Clasen <mclasen@redhat.com>
329 * goutputstream.c: Add intro docs.
331 2008-08-13 Tor Lillqvist <tml@novell.com>
333 * win32/gwinhttpfileoutputstream.c
334 (g_winhttp_file_output_stream_write): Don't write the
335 Content-Length header ourselves, WinHttpSendRequest() takes care
336 of that when the dwTotalLength parameter is non-zero. Increment
337 offset by the number of actual bytes sent, although I wonder if
338 such a scenario is possible where less than requested would be
339 sent and accepted by the server without errors.
341 2008-08-13 Tor Lillqvist <tml@novell.com>
343 * win32/gwinhttpvfs.c
344 * win32/gwinhttpvfs.h
345 * win32/gwinhttpfile.c
346 * win32/gwinhttpfile.h
347 * win32/gwinhttpfileinputstream.c
348 * win32/gwinhttpfileinputstream.h
349 * win32/gwinhttpfileoutputstream.c
350 * win32/gwinhttpfileoutputstream.h: New files implementing
351 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
352 Windows. The implementation uses the WinHttp API. Both reading and
353 writing are supported, i.e. GET and PUT requests. When writing,
354 each write call is done using a separate PUT request with a
355 Content-Range header. Requests for file URIs and plain pathnames
356 are forwarded to GLocalVfs.
358 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
359 WINE. Used as there is no <winhttp.h> bundled with mingw, and
360 requiring people to download the Windows SDK just for this one
361 header is not reasonable.
363 * win32/Makefile.am: Add above files.
365 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
366 the plumbing for the above.
368 2008-08-11 Sven Neumann <sven@gimp.org>
370 * gfilenamecompleter.c
371 * glocaldirectorymonitor.c
373 * gunionvolumemonitor.c
377 * gunixvolumemonitor.c
380 * gwin32volumemonitor.c: use canonical signal names.
382 2008-08-11 Tor Lillqvist <tml@novell.com>
384 * Makefile.am: Put a list of the platform-dependent .la files in
385 the subdirectories in the platform_deps Make variable, and make
386 libgio-2.0.la depend on that, so that it gets relinked if one of
387 the dependent libraries has changed.
389 2008-08-11 Tor Lillqvist <tml@novell.com>
391 * Makefile.am (platform_libadd): Remove -lwininet which had been
392 added by mistake. We will probably eventually be using WinHTTP,
393 not the older WinInet anyway. (Actually I am working on it.)
395 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
397 Bug 547080 – g_file_copy leaks expected errors
399 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
400 before trying the next fallback routine.
402 2008-08-09 Loïc Minier <lool@dooz.org>
404 Bug 535124 – umask 002 not being applied for new directories, new
405 files get the correct umask
407 * gfile.c (g_file_make_directory)
408 (g_file_make_directory_with_parents): Document ownership and
409 permissions of newly created directories as being the default
412 2008-08-08 Loïc Minier <lool@dooz.org>
414 Bug 535124 – umask 002 not being applied for new directories, new
415 files get the correct umask
417 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
420 2008-08-08 Tor Lillqvist <tml@novell.com>
422 * gwin32mount.c: Remove unused code. Whitespace cleanup.
424 * gwin32volumemonitor.c (get_connected_drives): Put questionable
425 code that didn't actually do anything inside #if 0, and add a
426 comment wondering what the code was supposed to do. This also gets
427 rid of a leftover debugging printout.
429 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
431 * gfileicon.c (g_file_icon_get_property)
432 (g_file_icon_set_property): New functions.
433 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
435 (g_file_icon_new): Use the property (bug #546132).
437 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
439 * gthemedicon.c (g_themed_icon_get_property): Also handle
440 `PROP_USE_DEFAULT_FALLBACKS'.
441 (g_themed_icon_class_init): Make
442 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
444 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
446 Bug 546371 – Improve docs re g_file_monitor
448 * gfilemonitor.c: Mention g_file_monitor() in the docs.
450 2008-08-04 Matthias Clasen <mclasen@redhat.com>
452 * === Released 2.17.6 ===
454 2008-08-04 Matthias Clasen <mclasen@redhat.com>
456 * === Released 2.17.5 ===
458 2008-08-04 Matthias Clasen <mclasen@redhat.com>
460 Bug 546017 – Don't copy attributes when copying a symlink
462 * gfile.c (g_file_copy_attributes): Specify
463 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
464 g_file_set_attributes_from_info. Patch by Christian Kellner
466 2008-08-04 Matthias Clasen <mclasen@redhat.com>
468 * gemblemedicon.[hc]:
470 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
471 a bit more extensible. Work by Clemens Buss.
473 * gioenums.h: Add GEmblemOrigin.
476 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
478 Bug 546079 – leak in xdgmime
480 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
482 2008-08-03 Tor Lillqvist <tml@novell.com>
484 * win32/gwin32directorymonitor.h
485 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
488 2008-08-03 Tor Lillqvist <tml@novell.com>
490 * win32/gwin32directorymonitor.c
491 (g_win32_directory_monitor_callback): Make prototype match
492 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
493 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
496 (g_win32_directory_monitor_constructor):
497 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
498 names in the GLib API on Windows, so convert to UTF-16 and open
501 2008-08-03 Tor Lillqvist <tml@novell.com>
503 Bug 541036 - Gnumeric crashes when trying to open Desktop or
504 user's folder under Windows
506 * win32/gwin32directorymonitor.c
507 (g_win32_directory_monitor_constructor): Ignore error from
508 CreateFile() when opening directory. Instead of asserting, just
509 store INVALID_HANDLE_VALUE then in
510 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
511 ReadDirectoryChangesW().
512 (g_win32_directory_monitor_cancel): Don't attempt to close
513 directory handle if it is INVALID_HANDLE_VALUE.
515 2008-08-01 Matthias Clasen <mclasen@redhat.com>
517 * gdesktopappinfo.c: Remove debug spew
519 2008-08-01 Hans Breuer <hans@breuer.org>
521 * makefile.msc : add gemblembedicon
523 2008-07-30 Matthias Clasen <mclasen@redhat.com>
525 Bug 545457 – gdmsetup crashed with SIGSEGV in
526 g_unix_mount_guess_should_display()
528 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
529 crash if no mount is found.
531 2008-07-28 Matthias Clasen <mclasen@redhat.com>
533 Bug 545203 – gfile.c: argument is different type.
535 * gfile.c (open_read_async_thread): Pass a GError **
536 to g_file_set_error_literal.
537 Reported by Kazuki Iwamoto
539 2008-07-28 Matthias Clasen <mclasen@redhat.com>
541 Bug 545157 – wrong/no list of "open with" applications for .cc and
544 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
545 Collect all ancestors, not just direct parents. Pointed
546 out by Bastien Nocera
548 2008-07-28 Matthias Clasen <mclasen@redhat.com>
550 * Makefile.am: Install gemblemedicon.h
552 2008-07-28 Matthias Clasen <mclasen@redhat.com>
554 * gemblemedicon.[hc]: Add a GIcon implementation that can
555 add an emblem to another icon.
562 * gfileicon.c: Small documentation additions.
564 2008-07-28 Tor Lillqvist <tml@novell.com>
566 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
569 2008-07-27 Tor Lillqvist <tml@novell.com>
571 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
573 2008-07-24 David Zeuthen <davidz@redhat.com>
577 Also export a g_mount_guess_content_type_sync() function.
579 2008-07-23 Matthias Clasen <mclasen@redhat.com>
581 529694 – SELinux context setting support
583 * gfileinfo.c: Support setting selinux attributes.
584 Patch by Tomas Bzatek
586 2008-07-22 Priit Laes <plaes@plaes.org>
588 Bug 544140 - fam-helper 64-bit issue?
590 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
592 2008-07-21 Matthias Clasen <mclasen@redhat.com>
594 * === Released 2.17.4 ===
596 2008-07-20 Matthias Clasen <mclasen@redhat.com>
598 * gvolumemonitor.[hc]:
603 * gmount.c: Documentation fixes
605 2008-07-19 Matthias Clasen <mclasen@redhat.com>
607 543504 – crash in Epiphany Web Browser: Opening local file
618 * gvolume.c: Register types thread-safely.
619 Patch by Christian Persch
621 2008-07-18 Matthias Clasen <mclasen@redhat.com>
623 * gcontenttype.c: Remove debug spew
625 2008-07-18 Matthias Clasen <mclasen@redhat.com>
627 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
630 * fen/fen-kernel.c: Remove a warning that was causing
631 crashes. Reported by Lin Ma.
633 2008-07-18 Matthias Clasen <mclasen@redhat.com>
635 Bug 543040 – async reading on dummy file will crash on
638 * gfile.c (open_read_async_thread): Cope with read_fn being
639 NULL. Reported by Lin Ma.
641 2008-07-18 Matthias Clasen <mclasen@redhat.com>
644 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
646 2008-07-16 Matthias Clasen <mclasen@redhat.com>
650 * giomodule.c: Rename a chapter id to avoid filename conflict.
652 2008-07-16 Matthias Clasen <mclasen@redhat.com>
654 Bug 540616 – mem leak in filechooser button
656 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
657 the mount entry. Reported by Chrisitan Persch
659 2008-07-16 Matthias Clasen <mclasen@redhat.com>
661 * gfile.c: Small documentation fixes.
663 2008-07-15 Matthias Clasen <mclasen@redhat.com>
665 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
667 2008-07-08 Matthias Clasen <mclasen@redhat.com>
672 * gmount.c: Documentation improvements.
674 2008-07-08 Matthias Clasen <mclasen@redhat.com>
677 * gmount.[hc]: Add g_mount_guess_content_type().
679 2008-07-06 David Zeuthen <davidz@redhat.com>
682 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
683 is needed for easily handling adoption of foreign volumes by
684 out-of-process volume monitors (#541793)
686 2008-07-06 David Zeuthen <davidz@redhat.com>
688 * gvolumemonitor.[ch]:
689 * gunionvolumemonitor.c: Export the eject-button signal on the
690 volume monitor class (#541794).
692 2008-07-06 Matthias Clasen <mclasen@redhat.com>
694 * gappinfo.c: More doc tweaks
696 2008-07-05 Matthias Clasen <mclasen@redhat.com>
698 * gappinfo.c: Clarify some docs
700 2008-07-03 Matthias Clasen <mclasen@redhat.com>
702 * gdesktopappinfo.c: Fix a stupid mistake.
704 2008-07-02 Matthias Clasen <mclasen@redhat.com>
706 * === Released 2.17.3 ===
708 2008-07-02 Matthias Clasen <mclasen@redhat.com>
710 * gfilemonitor.c: Fix the build.
712 2008-07-02 Matthias Clasen <mclasen@redhat.com>
714 Bug 536160 – Add g_file_monitor()
717 * gfile.[hc]: Add g_file_monitor which can return either
718 a file or a directory monitor. Proposed by Behdad Esfahbod
720 2008-07-02 Matthias Clasen <mclasen@redhat.com>
722 536733 – gio build failure on Irix
724 * glocalfile.c: Use a configure check for structfs.f_bavail.
726 2008-07-02 Matthias Clasen <mclasen@redhat.com>
728 Bug 534639 – add g_desktop_app_info_new_from_keyfile
731 * gdesktopappinfo.[hc]: Add a function to create a
732 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
734 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
736 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
738 2008-07-01 Matthias Clasen <mclasen@redhat.com>
740 * gunixmounts.c: Fix a doc typo.
742 2008-07-01 Cody Russell <bratsche@gnome.org>
744 * gio/gcontenttype.c:
745 * gio/gwin32appinfo.c:
746 * gio/gwin32volumemonitor.c:
747 * gio/gwin32mount.c: Fixed some include problems.
749 2008-07-01 Cody Russell <bratsche@gnome.org>
753 Moved all relevant typedefs into these files.
756 Updated wrt added files.
758 Split types into separate file for easier maintainership. (#538564)
760 2008-06-30 Matthias Clasen <mclasen@redhat.com>
762 Bug 540331 – g_file_append_to () documentation: can return NULL
764 * gfile.c (g_file_append_to): Clarify docs.
767 2008-06-30 Matthias Clasen <mclasen@redhat.com>
769 Bug 539090 – g_content_type_from_mime_type() should unalias
771 * gcontentype.c (g_content_type_from_mime_type): Unalias.
772 Patch by Markus Bergman
774 2008-06-30 Matthias Clasen <mclasen@redhat.com>
776 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
779 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
780 on ppc and alpha. Reported by Mart Raudsepp
782 2008-06-29 Matthias Clasen <mclasen@redhat.com>
785 * tests/memory-output-stream.c: Add some tests for
788 2008-06-29 Matthias Clasen <mclasen@redhat.com>
790 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
793 * gmemoryoutputstream.c (array_resize): Handle truncation to
794 zero correctly. Reported by Akira Tagoh
796 2008-06-29 Matthias Clasen <mclasen@redhat.com>
798 * gmemoryoutputstream.c: Trivial doc fixes
800 2008-06-29 Matthias Clasen <mclasen@redhat.com>
802 Bug 540802 – g_list_prepend doesn't concat lists
804 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
805 one list to another. Pointed out by Jan Arne Petersen
807 2008-06-28 Michael Natterer <mitch@imendio.com>
809 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
811 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
813 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
814 to avoid problems with partial icon themes.
816 2008-06-17 Hans Breuer <hans@breuer.org>
818 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
819 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
820 access again on win32, see bug #538127
821 * giomodule.c : ensure GWin32VolumeMonitor is registered
822 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
823 * Makefile.am makefile.msc : updated
825 2008-06-16 Hans Breuer <hans@breuer.org>
827 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
828 and initialization in one step avoids c99ism
830 2008-06-16 Christian Persch <chpe@gnome.org>
833 * gio/gbufferedinputstream.c
835 * gio/gdatainputstream.c
836 * gio/gdesktopappinfo.c
838 * gio/gfileenumerator.c
839 * gio/gfileinputstream.c
840 * gio/gfileoutputstream.c
842 * gio/glocaldirectorymonitor.c
844 * gio/glocalfileenumerator.c
845 * gio/glocalfileinfo.c
846 * gio/glocalfilemonitor.c
847 * gio/glocalfileoutputstream.c
848 * gio/gmemoryinputstream.c
849 * gio/gmemoryoutputstream.c
850 * gio/goutputstream.c
851 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
854 2008-06-16 Tor Lillqvist <tml@novell.com>
856 Bug 538362 - Get Win32 icons back in the file chooser
858 * gcontenttype.c (g_content_type_get_icon): Look up the icon
859 corresponding to a file extension in the Registry. Patch by Hans
861 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
863 2008-06-16 Tor Lillqvist <tml@novell.com>
865 Patches by Hans Breuer:
867 * glocalfile.c (is_xp_or_later): Handle compiling against older
868 SDK headers with missing VerifyVersionInfo(). Conditioned on
869 _MSC_VER, but should probably use some better test.
870 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
871 uninitialised statfs_result variable on Win32.
873 2008-06-16 Michael Natterer <mitch@imendio.com>
875 * *.c: chain up unconditionally in finalize() and dispose(). Also
876 don't dereference these function pointers when calling them since
877 that has no meaning at all.
879 2008-06-16 Ross Burton <ross@burtonini.com>
882 Remove check for dispose implementation as it annoys Emmanuele.
884 2008-06-16 Ross Burton <ross@burtonini.com>
886 Bug 536252 – GFileEnumerator should allow access to the containing
892 Add g_file_enumerator_get_container() and a container writeable
893 construct-only property. Also shuffle around typedefs to make it
896 * glocalfileenumerator.c:
897 * glocalfileenumerator.h:
899 Instead of a string filename take a GFile in the constructor and
900 use it to set the container property.
905 2008-06-16 Matthias Clasen <mclasen@redhat.com>
907 * gfile.c: Make includes more uniform
909 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
911 * tests/live-g-file.c (sample_struct):
912 Use less fancy unicode filenames, so the test doesn't fail
913 on Mac OS X (#531476).
915 2008-06-12 Matthias Clasen <mclasen@redhat.com>
917 * === Released 2.17.2 ===
919 2008-06-12 Matthias Clasen <mclasen@redhat.com>
921 * === Released 2.17.1 ===
923 2008-06-11 A. Walton <awalton@gnome.org>
925 * tests/g-file.c (test_g_file_new_null):
926 Fix broken test case.
928 2008-06-11 Matthias Clasen <mclasen@redhat.com>
930 * pltcheck.sh: We use g_clear_error now.
932 2008-06-11 Matthias Clasen <mclasen@redhat.com>
934 * glocalfile.c (g_local_file_enumerate_children): Revert
935 an unintended change.
937 2008-06-11 Matthias Clasen <mclasen@redhat.com>
939 * gfile.c (g_file_replace_contents): Don't unref before the last use.
941 2008-06-10 Matthias Clasen <mclasen@redhat.com>
943 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
946 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
947 as icon for the desktop directory, also make user-home and
948 user-desktop the preferred icons.
950 2008-06-10 Matthias Clasen <mclasen@redhat.com>
953 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
954 to add a name to the front of the list.
956 2008-06-10 Matthias Clasen <mclasen@redhat.com>
958 Bug 537392 – Additional colon in xattr name
960 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
961 too. Reported by Alessandro Morandi
963 2008-06-10 Matthias Clasen <mclasen@redhat.com>
965 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
968 * glocalfile.c (get_fs_type): Add afs and autofs.
969 Patch by Danny Baumann.
971 2008-06-10 Matthias Clasen <mclasen@redhat.com>
973 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
975 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
976 is no parent. (Owen Taylor, patch by Christian Neumair)
978 2008-06-10 Paolo Borelli <pborelli@katamail.com>
980 * gfile.c (g_file_replace_contents): do not leak the output stream.
982 2008-06-10 Michael Natterer <mitch@imendio.com>
984 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
985 uninitialized memory as array index.
987 2008-06-10 Tor Lillqvist <tml@novell.com>
989 * gcontenttype.c (g_content_type_can_be_executable)
990 (g_content_type_get_icon) [Win32]: Add TODO comments.
992 2008-06-09 Matthias Clasen <mclasen@redhat.com>
994 * xdgmime/Makefile.am: Fix the build
996 2008-06-09 Matthias Clasen <mclasen@redhat.com>
998 * gcontenttype.c (g_content_type_get_icon): Use icons specified
999 in the shared mime database, if available.
1001 * xdgmime/*: Sync with upstream. This brings support for
1002 glob weights, generic icons, and changes the cache format to
1005 2008-05-28 Michael Natterer <mitch@imendio.com>
1007 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1008 the global CPPFLAGS now.
1010 * tests/data-input-stream.c
1011 * tests/data-output-stream.c
1012 * tests/g-file-info.c
1014 * tests/live-g-file.c
1015 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1017 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1019 * === Released 2.17.0 ===
1021 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1022 doesn't complain about leftover files.
1024 2008-05-27 simon.zheng <simon.zheng@sun.com>
1026 * glocalfile.c: (g_local_file_query_filesystem_info):
1027 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1029 2008-05-26 Michael Natterer <mitch@imendio.com>
1031 * gmemoryoutputstream.h: declare
1032 g_memory_output_stream_get_data_size().
1034 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1036 * tests/*: Make tests work
1038 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1040 * gio.symbols: Add g_memory_output_stream_get_data_size.
1042 2008-05-25 Ross Burton <ross@burtonini.com>
1045 Fix typo in error message (#534764).
1047 2008-05-25 Ross Burton <ross@burtonini.com>
1050 Fix circular dependency loop for gioenumtypes.h (#534759).
1052 2008-05-19 Hans Breuer <hans@breuer.org>
1054 * Makefile.am : EXTRA_DIST += makefile.msc
1056 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1059 * gcontenttype.c: (g_content_type_from_mime_type):
1060 New function to create a content type from a mime type. (#527175,
1063 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1065 Bug 532965 – Should not return filesystem::free for certain file systems
1067 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1068 free space for ncpfs.
1070 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1072 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1074 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1075 st_dev might be zero.
1077 2008-05-16 Tor Lillqvist <tml@novell.com>
1079 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1080 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1082 2008-05-13 Bastien Nocera <hadess@hadess.net>
1084 * gfile.c (has_valid_scheme): A URI scheme must start with a
1085 letter, even if later more characters are allowed (#532852)
1087 2008-05-05 Michael Natterer <mitch@imendio.com>
1089 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1090 code from being checked in that breaks the build of applications
1091 which use G_DISABLE_SINGLE_INCLUDES.
1093 * makegioalias.pl: make the alias file include "glib.h" instead of
1096 * gio.symbols: whitespace change to force regeneration of the
1097 alias file after above script change.
1099 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1101 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1103 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1105 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1107 2008-04-28 David Zeuthen <davidz@redhat.com>
1109 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1110 displaying mounts in a subdirectory not accessible to the
1113 2008-04-22 Michael Natterer <mitch@imendio.com>
1115 * Makefile.am: fix library versioning (it was 0.0.0).
1117 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1119 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1120 Default disable all loggings.
1121 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1122 (port_fetch_event_cb): Fixed two macro nits.
1124 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1126 * xdgmime/xdgmime.c: Rework the timestamp checking code
1127 to protect against duplicate directories in XDG_DATA_DIRS.
1128 Fixes fd.o bug 12513, reported by Joe Shaw.
1130 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1132 Partically revert the last commit after realizing that
1133 xdg_mime_media_type_equal doesn't have to init at all.
1135 * xdgmime/xdgmime.h:
1136 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1138 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1140 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1142 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1143 reported by Joe Shaw and Federico Mena Quintero.
1145 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1146 (xdg_mime_media_type_equal): Turn into a wrapper around the
1149 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1150 functions throughout.
1152 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1154 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1155 tolerate an empty TryExec= line without failing; nautilus used
1156 to create launchers with these in previous versions. Fixes #528433
1158 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1160 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1161 after name. Fixes #527132.
1163 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1165 * gfile.c: (g_file_replace):
1168 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1170 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1172 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1173 by Christian Kellner.
1175 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1177 * gunixmounts.c: (g_unix_mount_guess_should_display):
1178 Don't list the user directory as a mount, fix potential issue
1179 when other users have a similar naming and don't special case the
1180 gvfs mounts there since that's not required (#525866)
1182 2008-03-31 Alexander Larsson <alexl@redhat.com>
1184 * glocalfile.c (get_parent):
1187 2008-03-31 A. Walton <awalton@svn.gnome.org>
1189 * gfile.c (g_file_query_file_type):
1190 Always return a GFileType enum value (#520715).
1192 2008-03-31 Alexander Larsson <alexl@redhat.com>
1194 * glocalfileenumerator.c:
1195 Read readdir() info in chunks (of 1000) and sort
1196 the chunks by inode before stat:ing.
1197 This is a 20% performance increase in testing
1198 gvfs-ls on /usr/bin with cold cache.
1200 2008-03-31 Alexander Larsson <alexl@redhat.com>
1202 * gmemoryoutputstream.c:
1203 Clarify docs for g_memory_output_stream_get_size.
1204 Add g_memory_output_stream_get_data_size.
1206 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1210 * gfile.h: Add g_file_query_file_type convenience function
1211 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1213 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1215 * gfileenumerator.c:
1216 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1218 2008-03-28 A. Walton <awalton@svn.gnome.org>
1220 * giomodule.c (_g_io_modules_ensure_loaded):
1221 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1224 2008-03-28 Alexander Larsson <alexl@redhat.com>
1227 (copy_stream_with_progress):
1230 2008-03-28 Alexander Larsson <alexl@redhat.com>
1233 (copy_stream_with_progress):
1234 (file_copy_fallback):
1235 Fallback to g_file_query_info for source size
1236 if g_file_input_stream_query_info fails. (#524579)
1238 2008-03-28 Alexander Larsson <alexl@redhat.com>
1240 * glocalfile.c (g_local_file_move):
1241 Reuse old string instead of adding new one.
1243 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1245 * fen/*.[hc]: still copyright issue. I hate copyright.
1247 2008-03-27 Alexander Larsson <alexl@redhat.com>
1249 * glocalfile.c (g_local_file_move):
1250 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1251 file over directory. This is according to the docs and what the move via
1252 copy+remove fallback does.
1254 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1256 * fen/*.[hc]: Updated copyright.
1258 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1260 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1262 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1264 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1265 not emit attribute changed events when optimizing changed events.
1266 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1269 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1271 * gmountoperation.[hc]: Small documentation additions
1273 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1275 * gunixmounts.c: (guess_mount_type):
1276 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1278 2008-03-19 Alexander Larsson <alexl@redhat.com>
1281 (copy_stream_with_progress):
1282 Bump block side for copy to 64k to minimize
1283 overhead for low latency links. (#523015)
1285 2008-03-16 Tor Lillqvist <tml@novell.com>
1287 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1288 depend on gio.def on Windows.
1290 2008-03-12 David Zeuthen <davidz@redhat.com>
1294 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1296 2008-03-14 Alexander Larsson <alexl@redhat.com>
1300 Avoid redudant tests (#521851)
1301 Patch from Josselin Mouette
1303 2008-03-14 Alexander Larsson <alexl@redhat.com>
1306 (g_file_monitor_is_cancelled):
1307 Fix C89 issue (#521672)
1308 Patch from Jens Granseuer
1310 2008-03-14 Alexander Larsson <alexl@redhat.com>
1312 * fam/fam-helper.[ch]:
1314 Shut down fam (including removing fam GSource) when
1315 module is unloaded (#521513)
1316 Patch from Joe Marcus Clarke
1318 2008-03-14 Alexander Larsson <alexl@redhat.com>
1321 (_g_io_modules_ensure_loaded):
1324 2008-03-14 Alexander Larsson <alexl@redhat.com>
1327 (g_local_file_query_filesystem_info):
1328 Use right define name for f_fstypename member check
1330 2008-03-14 Alexander Larsson <alexl@redhat.com>
1333 * fen/Makefile.am: Added.
1334 * fen/fen-data.[ch]: Added.
1335 * fen/fen-dump.[ch]: Added.
1336 * fen/fen-helper.[ch]: Added.
1337 * fen/fen-kernel.[ch]: Added.
1338 * fen/fen-missing.[ch]: Added.
1339 * fen/fen-node.[ch]: Added.
1340 * fen/fen-sub.[ch]: Added.
1341 * fen/gfendirectorymonitor.[ch]: Added.
1342 * fen/gfenfilemonitor.[ch]: Added.
1344 Added Solaris FEN file notification backend.
1345 Patch from Lin Ma <Lin.Ma@Sun.COM>
1347 2008-03-13 Tor Lillqvist <tml@novell.com>
1349 * Makefile.am: Actually use the gio.def file when linking the
1350 library on Windows. Produce .lib library for Microsoft's toolchain
1351 when possible. Install the .lib and .def file like for the other
1354 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1356 * tests/live-g-file.c:
1357 Include live-g-file in standard set of tests, making a temporary
1358 directory in source structure.
1360 Clean target directory before the tests (write mode only)
1362 2008-03-12 Tor Lillqvist <tml@novell.com>
1364 Bug 517419 - gio win32 directory monitor
1365 Implementation by Vlad Grecescu.
1368 * win32/gwin32directorymonitor.h
1369 * win32/gwin32directorymonitor.c: New files.
1371 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1373 * Makefile.am: Add the win32 subdirectory.
1375 2008-03-12 Tor Lillqvist <tml@novell.com>
1377 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1378 normal struct stat on Unix but struct _stati64 on Windows to have
1379 access to 64-bit file size information. Use that instead of struct
1380 stat in the functions declared here in this private header.
1382 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1383 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1384 warnings about unused functions and variables. Don't set
1385 meaningless attributes like inode numbers on Windows.
1387 2008-03-12 Benjamin Otte <otte@gnome.org>
1390 trim whitespace so gtk-doc groks the function name
1392 2008-03-12 Tor Lillqvist <tml@novell.com>
1394 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1395 returning FALSE, on Win32.
1397 2008-03-11 Alexander Larsson <alexl@redhat.com>
1400 * glocalfileinfo.[ch]:
1401 Correctly implement can_trash by actually
1402 looking for a trash dir, not just assuming
1405 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1407 * === Released 2.16.1 ===
1409 2008-03-11 Alexander Larsson <alexl@redhat.com>
1412 Fix crashes in new constructor and properties code
1414 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1416 * gfile.c: Minor spelling correction in documentation:
1417 existance -> existence.
1419 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1421 * === Released 2.16.0 ===
1423 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1425 * gio.symbols: Remove g_file_contains_file here, too.
1427 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1429 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1430 Samuel Cormier-Iijima)
1432 2008-03-08 Tor Lillqvist <tml@novell.com>
1434 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1437 2008-03-07 Alexander Larsson <alexl@redhat.com>
1440 (g_local_file_query_filesystem_info):
1441 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1442 Patch from Jasper Lievisse Adriaanse
1444 2008-03-06 Tor Lillqvist <tml@novell.com>
1446 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1447 comments for the *_USEC attributes.
1449 2008-03-06 Alexander Larsson <alexl@redhat.com>
1451 * gfile.c (g_file_query_exists):
1452 Add g_return_val_if_fail check (#520700)
1454 2008-03-06 Alexander Larsson <alexl@redhat.com>
1456 * gdesktopappinfo.c:
1459 * gunionvolumemonitor.c:
1462 * tests/live-g-file.c:
1463 * xdgmime/xdgmimecache.c:
1464 Fix sparse warnings (#519489)
1466 2008-03-05 Alexander Larsson <alexl@redhat.com>
1469 Make cancellation threadsafe (i.e.
1470 guarantee its only done once, and always
1473 * glocaldirectorymonitor.c:
1474 Make sure we the monitor lives while the
1475 mounts_changed callback is being called (#520484)
1477 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1479 * gbufferedinputstream.c: Fix typo in parameter
1482 2008-03-04 Alexander Larsson <alexl@redhat.com>
1485 Remove deprecated symbols we kept for one release.
1487 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1490 * goutputstream.c: Tiny documentation corrections.
1492 2008-03-03 Alexander Larsson <alexl@redhat.com>
1494 * gunionvolumemonitor.c:
1496 Fix the adopt_orphan_mount vfunc to take a
1497 volume_monitor reference in an ABI compat way.
1498 This change is not API compat, but the added
1499 arg is not used in the only user of this vfunc, so
1500 all we get is a harmless warning in gvfs (#520169)
1502 2008-03-01 Benjamin Otte <otte@gnome.org>
1505 clarify docs for g_file_delete().
1507 2008-02-29 Alexander Larsson <alexl@redhat.com>
1511 Make sure empty files get text/plain type (#518720)
1513 2008-02-27 Alexander Larsson <alexl@redhat.com>
1519 (g_unix_volume_mount):
1520 Add missing GMountMountFlags argument
1522 2008-02-26 Alexander Larsson <alexl@redhat.com>
1525 (g_local_file_delete):
1526 Handle filesystems (like ntfs-3g) that return EEXIST instead
1527 of ENOTEMPTY (#518816)
1529 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1531 * === Released 2.15.6 ===
1533 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1535 * gfile.c (g_file_find_enclosing_mount):
1536 * ginputstream.c (g_input_stream_set_pending):
1537 * glocalfile.c (g_local_file_find_enclosing_mount):
1538 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1539 * goutputstream.c (g_output_stream_set_pending):
1541 Fixup translator comments (#518578).
1543 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1545 * gfile.c (g_file_find_enclosing_mount):
1547 * glocalfile.c (g_local_file_find_enclosing_mount):
1550 Fix a few typos in translator comments and documentation.
1552 2008-02-25 Alexander Larsson <alexl@redhat.com>
1559 Add translator comments (#518578)
1561 2008-02-25 Alexander Larsson <alexl@redhat.com>
1564 Reintroduce g_file_contains_file, keep around for one
1565 unstable release cycle to avoid crashing to many apps.
1566 Make sure to delete after release.
1568 2008-02-25 Alexander Larsson <alexl@redhat.com>
1571 Remove deprecated g_file_contains_file.
1573 2008-02-25 Alexander Larsson <alexl@redhat.com>
1576 Emit actual change signals in an idle handler.
1577 This avoids reentrance and locking problems in
1578 the file notification backends.
1580 2008-02-25 Alexander Larsson <alexl@redhat.com>
1583 (g_unix_mount_guess_should_display):
1584 Remove type guessing, instead just display
1585 mounts in /media and in ~/.
1587 2008-02-25 Alexander Larsson <alexl@redhat.com>
1590 Make new strings reuse old ones.
1592 2008-02-25 Alexander Larsson <alexl@redhat.com>
1595 Implement trashing and filesystem::readonly for win32 (#517235)
1596 Patch from Yevgen Muntyan
1598 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1600 * gfileinfo.h: Documentation fixes.
1602 2008-02-22 Alexander Larsson <alexl@redhat.com>
1604 * gcontenttype.c (g_content_type_get_icon):
1605 Look at old-style gnome mime icon names too, as many
1606 have not moved to the new style.
1608 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1610 * *.c: Correct the @include in for section docs.
1612 2008-02-21 David Zeuthen <davidz@redhat.com>
1614 * glocalfileinfo.c: (_g_local_file_info_get):
1616 (g_content_type_get_icon): Implement this function by
1617 moving bits from glocalfileinfo.c
1618 (g_content_type_get_description): Unalias before getting
1619 description (#517687)
1621 * gfile.c: (g_file_class_init),
1622 (g_file_query_filesystem_info_async),
1623 (g_file_query_filesystem_info_finish),
1624 (query_filesystem_info_data_free),
1625 (query_filesystem_info_async_thread),
1626 (g_file_real_query_filesystem_info_async),
1627 (g_file_real_query_filesystem_info_finish):
1628 * gfile.h: Implement async version of
1629 g_file_query_filesystem_info()
1631 * gfileinfo.h: Add new attributes for filesystem::use-preview
1633 * gio.symbols: Update
1635 * gthemedicon.c: (g_themed_icon_append_name):
1636 * gthemedicon.h: Add new new convenience function.
1638 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1639 (get_mounts), (get_volumes), (get_connected_drives),
1640 (get_volume_for_uuid), (get_mount_for_uuid),
1641 (g_union_volume_monitor_init), (populate_union_monitor),
1642 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1643 (g_volume_monitor_adopt_orphan_mount):
1645 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1646 monitor implementations to call into the main volume monitor. Also
1647 separate object initialization and volume monitor initialization
1648 such that non-native volume monitors can properly adopt their
1651 2008-02-21 Alexander Larsson <alexl@redhat.com>
1656 2008-02-21 Alexander Larsson <alexl@redhat.com>
1659 Add more documentation about how GFiles work (from #517086)
1661 2008-02-21 Alexander Larsson <alexl@redhat.com>
1665 Add new g_file_has_prefix that does the same as g_file_contains_file.
1666 Deprecate g_file_contains_file and add a macro that converts
1667 it to g_file_has_prefix.
1668 The reason for this change is that the contains_file() name seems to
1669 imply that this does more work than what it does, but its really only
1670 a name match (from #517086)
1675 Update to match the above change.
1677 2008-02-20 Benjamin Otte <otte@gnome.org>
1679 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1680 (g_file_eject_mountable):
1681 even more cases of not returning in error path
1683 2008-02-20 Benjamin Otte <otte@gnome.org>
1685 * gfile.c: (g_file_mount_mountable):
1686 return from function in error path.
1688 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1691 Remove trailing coma in GMountMountFlags struct
1693 2008-02-18 Alexander Larsson <alexl@redhat.com>
1697 * glocalfileoutputstream.c:
1698 Use g_unlink/g_rename instead of unlink/rename;
1699 do not pass raw filenames to g_set_error. (#517239)
1700 Patch from Yevgen Muntyan.
1702 2008-02-18 Alexander Larsson <alexl@redhat.com>
1705 * glocalfileoutputstream.c:
1706 Open files with O_BINARY on windows. (#517140)
1708 2008-02-14 Alexander Larsson <alexl@redhat.com>
1710 * glocalfileoutputstream.c:
1711 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1713 2008-02-14 Alexander Larsson <alexl@redhat.com>
1716 Copy permissions with file on copy (#514084)
1717 This is what cp does and makes sure e.g. the
1718 exec permissions are kept.
1719 Its kinda weird in that it keeps the permission bits
1720 the same while the uid and gid are different. However
1721 the new uid is the user so its not a security issue,
1722 and I've heard no complaints about cp on this issue.
1724 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1726 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1728 2008-02-13 Alexander Larsson <alexl@redhat.com>
1730 * inotify/inotify-path.c:
1731 Define IN_ONLYDIR if not in header (#515346)
1733 2008-02-12 Alexander Larsson <alexl@redhat.com>
1735 * tests/live-g-file.c:
1738 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1740 * === Released 2.15.5 ===
1742 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1744 * gio.symbols: Add g_mount_mount_flags_get_type.
1746 2008-02-11 Alexander Larsson <alexl@redhat.com>
1749 (g_file_info_set_attribute_mask):
1750 (g_file_attribute_matcher_matches_id):
1751 Correctly handle NULL GAttributeMatcher meaning
1752 matches nothing. (Fixes #513492)
1754 2008-02-11 Alexander Larsson <alexl@redhat.com>
1759 Added GMountMountFlags enum and added a flags
1760 argument to all mount calls.
1762 This is an API/ABI change for future extensibility,
1763 as I think we will need at least an
1764 inhibit-autorun flag (the panel needs this).
1765 There are no flags defined yet though.
1767 2008-02-11 Alexander Larsson <alexl@redhat.com>
1770 Added new standard::description attribute.
1771 Requested by Vincent, and useful for both
1774 2008-02-11 Alexander Larsson <alexl@redhat.com>
1776 * gdesktopappinfo.c:
1779 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1781 * *.c: Documentation additions
1783 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1785 * gappinfo.h: Formatting cleanup
1786 * gappinfo.c: Fix up docs.
1788 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1790 * gunixmounts.c: Consistently use getmntent_r() and fall
1791 back to getmntent(). (#515492)
1793 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1795 * gbufferedinputstream.c:
1797 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1799 * tests/data-input-stream.c:
1800 * tests/data-output-stream.c: Portability fixes.
1802 2008-02-08 Alexander Larsson <alexl@redhat.com>
1807 Add g_volume_should_automount.
1810 2008-02-07 Tor Lillqvist <tml@novell.com>
1812 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1813 Win32, too Unix-specific.
1815 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1817 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1818 a local plt if the compiler doesn't support what we want. Bug #514702
1820 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1822 reviewed by: <delete if not using a buddy>
1825 * gunixinputstream.c:
1826 * gunixoutputstream.c:
1828 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1830 * tests/Makefile.am:
1831 * tests/live-g-file.c:
1832 * tests/live-g-file.txt:
1833 New GIO testing module working over real data
1835 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1837 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1838 Fallback to rename() if link() is not available
1839 (when no support on target filesystem)
1841 2008-02-06 Michael Natterer <mitch@imendio.com>
1843 * gfileinfo.c (g_file_info_get_icon): replace
1844 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1846 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1848 * gfile.c (g_file_create):
1849 Documentation update of error codes
1851 2008-02-06 Alexander Larsson <alexl@redhat.com>
1853 * gdesktopappinfo.c:
1854 Update to use both mimeapps.list and
1855 defaults.list as discussed on xdg list.
1857 2008-02-06 Benjamin Otte <otte@gnome.org>
1860 * gfilenamecompleter.c:
1861 Fix some typos in the documentation.
1863 2008-02-06 Alexander Larsson <alexl@redhat.com>
1865 * glocalfile.c (g_local_file_trash):
1866 Don't succeed with trash if newly created
1867 trash dir has the wrong owner. (#514696)
1869 2008-02-05 Alexander Larsson <alexl@redhat.com>
1871 * glocalfile.c (g_local_file_move):
1872 Don't spew warnings when destination is not
1875 2008-02-03 Hans Breuer <hans@breuer.org>
1877 * makefile.msc : update
1879 2008-02-01 Michael Natterer <mitch@imendio.com>
1881 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1882 return value of xdg_mime_list_mime_parents() to a variable of the
1885 2008-02-01 Alexander Larsson <alexl@redhat.com>
1887 * gappinfo.c (g_app_info_launch_uris):
1888 Actually call the launch_uris method, not
1891 2008-02-01 Alexander Larsson <alexl@redhat.com>
1893 * gdesktopappinfo.c (g_desktop_app_info_equal):
1894 Ensure appinfos with no id but same pointer value
1897 2008-02-01 Alexander Larsson <alexl@redhat.com>
1899 * gappinfo.c (g_app_info_launch_default_for_uri):
1902 2008-02-01 Alexander Larsson <alexl@redhat.com>
1906 Add g_app_info_launch_default_for_uri utility
1909 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1911 * gdesktopappinfo.c:
1912 Doc fix for g_app_info_get_default_for_uri_scheme ()
1915 2008-01-30 Alexander Larsson <alexl@redhat.com>
1918 Add doc comment about uris vs GFiles to
1921 * gdesktopappinfo.c:
1922 Ensure uris passed to g_app_info_launch_uris()
1923 are not roundtriped through GFile (as that
1924 may be slightly destructive for e.g. mailto: links)
1926 2008-01-30 Alexander Larsson <alexl@redhat.com>
1928 * tests/data-input-stream.c:
1929 * tests/data-output-stream.c:
1930 C89 fixes from Jens Granseuer (#512849)
1932 2008-01-30 Alexander Larsson <alexl@redhat.com>
1935 Fix gamin/fam difference build issue. (#509419)
1937 2008-01-29 Alexander Larsson <alexl@redhat.com>
1940 * gdesktopappinfo.c:
1941 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1943 2008-01-29 Alexander Larsson <alexl@redhat.com>
1945 * gdesktopappinfo.c:
1946 * gdesktopappinfo.h:
1947 giomodule-priv.h include moved to .c file.
1949 2008-01-29 Alexander Larsson <alexl@redhat.com>
1951 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1952 Remove unused prio/name fields.
1954 2008-01-29 Alexander Larsson <alexl@redhat.com>
1956 * gcontenttype.c (looks_like_text):
1957 Don't treat whitespace as control chars.
1959 2008-01-29 Alexander Larsson <alexl@redhat.com>
1961 * gdesktopappinfo.c:
1962 Lazily create the desktop files for appinfos created
1963 by g_app_info_create_from_commandline() when needed
1964 for mime associations. This allows run-time use
1965 of GAppInfo object without creating unnecessary
1968 2008-01-29 Alexander Larsson <alexl@redhat.com>
1971 Added new symbols to gio.symbols
1973 2008-01-29 Alexander Larsson <alexl@redhat.com>
1976 Add g_file_query_default_handler utility to easily look up
1977 the GAppInfo that handles a file.
1979 * gdesktopappinfo.[ch]:
1981 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1984 Remove unused function
1986 2008-01-29 Alexander Larsson <alexl@redhat.com>
1988 * gfileenumerator.c:
1989 Mention need to free returned value in
1990 g_file_enumerator_next_files_finish docs.
1991 Fix leak if g_file_enumerator_next_files_finish()
1994 2008-01-29 Alexander Larsson <alexl@redhat.com>
1997 (_g_unix_content_type_get_parents):
1998 Use list_parents, not get_parents from xdgmime, because
1999 the later doesn't use the cache.
2001 * xdgmime/xdgmimecache.c:
2002 (_xdg_mime_cache_list_mime_parents):
2003 Don't list the same type as parent multiple times.
2005 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2007 * === Released 2.15.4 ===
2009 2008-01-28 Alexander Larsson <alexl@redhat.com>
2012 Register local vfs with prio 0.
2015 Remove old name and prio class members
2017 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2019 * tests/g-file.c: Disable some tests that are failing in
2020 the absence of a http backend.
2022 2008-01-28 Alexander Larsson <alexl@redhat.com>
2026 Add registration hooks for extension points.
2027 Register the gio extension points.
2029 * fam/gfamdirectorymonitor.c:
2030 * fam/gfamfilemonitor.c:
2031 * glocaldirectorymonitor.[ch]:
2032 * glocalfilemonitor.[ch]:
2033 * gnativevolumemonitor.h:
2034 * gunionvolumemonitor.c:
2035 * gunixvolumemonitor.c:
2038 * inotify/ginotifydirectorymonitor.c:
2039 * inotify/ginotifyfilemonitor.c:
2040 Use the extension points registration instead
2041 of g_type_children().
2043 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2046 * gvolume.[hc]: Document new API.
2048 * gfile.c (g_file_copy_async): Fix docs
2050 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2052 * gbufferedinputstream.c:
2054 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2057 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2059 * glocalfile.c: Avoid trivial differences in translatable strings.
2061 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2063 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2064 build with gcc 3.4 (#509419)
2066 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2068 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2069 (#509994, Murray Cumming)
2071 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2073 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2074 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2075 this allows big jobs to be executed in chunks, instead of blocking
2076 the main loop for a long time.
2078 * gsimpleasyncresult.c:
2079 * giofile.c: Adapt callers.
2081 2008-01-25 Alexander Larsson <alexl@redhat.com>
2083 * gdesktopappinfo.c:
2084 Implement changes discussed on xdg list.
2085 Now we can add supported mimetypes by just using defaults.list
2086 We can also remove associations in defaults.list.
2088 2008-01-25 Alexander Larsson <alexl@redhat.com>
2090 * gdesktopappinfo.c:
2091 Don't make local copy of desktop file
2092 for mimetype changes if the file already
2093 supports the new mimetype.
2095 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2099 * gbufferedinputstream.c:
2100 * glocalfile.c: String improvements. (#511966,
2101 Theppitak Karoonboonyanan)
2103 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2105 * gioscheduler.h: Expand docs a bit.
2107 2008-01-24 Alexander Larsson <alexl@redhat.com>
2110 Add g_drive_get_identifier and
2111 g_drive_enumerate_identifiers
2114 Add g_volume_get_identifier and
2115 g_volume_enumerate_identifiers
2121 Implement identifiers for unix backend
2123 2008-01-24 Alexander Larsson <alexl@redhat.com>
2128 Add g_file_copy_async() (#511580)
2129 Based on patch from Carlos Garcia Campos
2131 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2133 * gioscheduler.c: Some documentation additions.
2135 2008-01-22 Alexander Larsson <alexl@redhat.com>
2137 * gdesktopappinfo.c:
2138 (g_desktop_app_info_new):
2139 Don't leak basename.
2141 2008-01-22 Alexander Larsson <alexl@redhat.com>
2143 * gdesktopappinfo.c:
2144 (g_desktop_app_info_new_from_filename):
2147 2008-01-22 Alexander Larsson <alexl@redhat.com>
2149 * glocalfileinfo.c (get_thumbnail_attributes):
2152 2008-01-22 Alexander Larsson <alexl@redhat.com>
2155 (canonicalize_filename):
2156 Canonicalize paths that start with more than
2160 (compare_two_files):
2161 (test_g_file_new_for_path):
2164 2008-01-22 Alexander Larsson <alexl@redhat.com>
2167 Allow UTF-8 in file:// parse names.
2169 * tests/Makefile.am:
2170 * tests/data-input-stream.c:
2171 * tests/data-output-stream.c:
2172 * tests/g-file-info.c:
2174 Added a bunch of tests from Tomas Bzatek
2176 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2178 * === Released 2.15.3 ===
2180 2008-01-21 Alexander Larsson <alexl@redhat.com>
2182 * gfileinputstream.[ch]:
2183 * gfileoutputstream.[ch]:
2185 Remove duplicated GSeekable functions. (#509990)
2186 Just use the g_seekable_xxx() calls instead.
2188 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2191 * gvolumemanager.c: Whitespace cleanups.
2193 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2194 Use the right mode when creating the file.
2196 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2198 * gfileenumerator.c:
2199 * gfileinputstream.c:
2201 * goutputstream.c: Documentation: Fixed minor typos
2202 and added more mentions of specific _finish() functions.
2204 2008-01-21 Alexander Larsson <alexl@redhat.com>
2206 * inotify/Makefile.am:
2207 * inotify/inotify-helper.c:
2208 * inotify/inotify-kernel.c:
2209 * inotify/inotify-path.c:
2210 * inotify/local_inotify.h: Removed.
2211 * inotify/local_inotify_syscalls.h: Removed.
2212 Removed the included copies of the inotify
2213 headers. We now only use the <sys/inotify.h>
2214 header which exists on modern systems.
2215 This fixes problems on ARM and SH5 (#510448)
2216 but is also generally much cleaner and future
2217 safe. For instance, if other OSes add support
2218 for inotify it should "just work".
2220 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2222 * inotify/*.c: Coding style fixes.
2223 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2224 for the 1/4 Hz timer.
2226 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2229 * gfilemonitor.[hc]:
2230 * gmemoryinputstream.c:
2231 * gmemoryoutputstream.c:
2232 * gmountoperation.c:
2233 * gthemedicon.c: Documentation updates
2235 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2237 * gfile.c: documentation: Fixed more minor
2240 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2242 * gmount.c: (g_mount_remount): documentation:
2243 Mention g_mount_remount_finish() instead of
2244 g_mount_unmount_finish().
2246 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2250 * gfile.c: Fixed some minor typos in the
2253 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2255 * gio/gvolumemonitor.c:
2256 (g_volume_monitor_get_connected_drives):
2257 (g_volume_monitor_get_volumes):
2258 (g_volume_monitor_get_mounts): Documentation:
2259 Clarify the ownership of the regurn GLists.
2261 2008-01-17 Alexander Larsson <alexl@redhat.com>
2264 Add the async find_enclosing_mount version
2265 to the header file too.
2267 2008-01-17 Alexander Larsson <alexl@redhat.com>
2270 Add async version of find_enclosing_mount
2271 with default implementation.
2273 2008-01-17 Alexander Larsson <alexl@redhat.com>
2278 Allow calls to implementation of copy and write
2279 even if the type of the file implementations is
2280 different. This can be used to implement native
2281 upload and download calls in a vfs.
2284 (g_local_file_move):
2285 Protect against the case where move is called
2286 with one file not being local.
2288 Make sure we call the progress callback once
2289 in the native move operation so that the caller
2290 knows how many bytes were copied.
2292 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2295 * gdatainputstream.c:
2297 * gfileoutputstream.c:
2302 * gunixmounts.c: Corrected some typos in the documentation:
2303 occured -> occurred.
2304 its -> it's (where appropriate).
2306 2008-01-16 Alexander Larsson <alexl@redhat.com>
2310 Add g_file_query_exists (#508771)
2312 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2317 * gvolume.c: For async functions that have no non-async
2318 version, document that the GAsyncReadyCallback may be NULL.
2321 2008-01-15 Alexander Larsson <alexl@redhat.com>
2323 * gmemoryinputstream.c:
2324 * gmemoryoutputstream.c:
2325 Don't do pointer arithmetic on void * (#508602)
2326 Patch from Kazuki IWAMOTO
2328 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2330 * === Released 2.15.2 ===
2332 2008-01-14 Alexander Larsson <alexl@redhat.com>
2334 * gfile.c (g_file_monitor_file):
2335 Don't set error here, since we fallback to polling monitor.
2337 2008-01-14 Alexander Larsson <alexl@redhat.com>
2340 (g_file_monitor_directory):
2341 (g_file_monitor_file):
2342 Add GError to file monitor calls
2344 * glocaldirectorymonitor.c:
2345 * glocaldirectorymonitor.h:
2347 * glocalfilemonitor.c:
2348 * glocalfilemonitor.h:
2350 Update for above change
2352 2008-01-14 Alexander Larsson <alexl@redhat.com>
2356 Handle root correctly in g_file_get_relative_path (#508719)
2358 2008-01-14 Alexander Larsson <alexl@redhat.com>
2361 Clean up docs and example for GAsyncResult (#508074)
2363 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2365 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2366 and correct some spelling mistakes. Bug #508108.
2368 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2370 * glocalfileinfo.c: Add a comment.
2372 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2374 * gfileinfo.c: GFileInfo description: Mention
2375 how to actually set attributes in a GFile and how to discover
2376 which attributes are settable. Bug #508378.
2378 2008-01-10 A. Walton <awalton@svn.gnome.org>
2380 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2381 (g_app_info_get_default_for_type):
2382 Check for NULL content types.
2384 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2386 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2388 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2390 * gfile.c: *_async() functions: Several small corrections
2391 to the documentation, mostly correcting copy/paste errors
2392 and improving some sentences.
2394 2008-01-09 Dan Winship <danw@gnome.org>
2396 * glocalfile.c (get_unique_filename): x86_64 fix
2398 2008-01-09 Alexander Larsson <alexl@redhat.com>
2403 Add g_unix_mount_guess_should_display and use
2404 for unix volume monitor backend.
2405 This means we more or less show what the
2406 gnome-vfs backend did.
2407 Based on patch from Padraig O'Briain
2409 2008-01-09 Alexander Larsson <alexl@redhat.com>
2413 Add g_themed_icon_new_with_default_fallbacks
2416 Use default fallbacks for icons
2418 2008-01-09 Alexander Larsson <alexl@redhat.com>
2421 * gmountoperation.[ch]:
2422 Change the API a bit so that unhandled methods
2423 get reported via the reply, rather than by
2424 the signal emission return value. This is because
2425 some handlers can't know this immediately without
2426 doing I/O, and this is an async operation that
2429 2008-01-09 Alexander Larsson <alexl@redhat.com>
2432 * fam/gfamdirectorymonitor.c:
2433 * fam/gfamfilemonitor.c:
2434 Fix double free crash (#508224)
2435 Patch from Joe Marcus Clarke
2437 008-01-07 Matthias Clasen <mclasen@redhat.com>
2439 * === Released 2.15.1 ===
2441 2008-01-07 Alexander Larsson <alexl@redhat.com>
2443 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2444 Fix warning (#507835)
2446 2008-01-07 Alexander Larsson <alexl@redhat.com>
2449 Pass --internal to glib-genmarshal
2452 * gmountoperation.c:
2454 Use better types for signal arguments (#507822)
2456 2008-01-07 Alexander Larsson <alexl@redhat.com>
2459 Build test subdir after .
2460 Remove gdirectorymonitor.[ch]
2462 * gdirectorymonitor.[ch]:
2466 Remove GDirectoryMonitor and make
2467 GFileMonitor the baseclass for both file and
2468 directory monitors. Lift the more generic
2469 rate limiting code from GDirectoryMonitor
2473 * fam/gfamdirectorymonitor.[ch]:
2474 * inotify/ginotifydirectorymonitor.[ch]:
2475 * inotify/inotify-helper.c:
2476 * glocaldirectorymonitor.[ch]:
2479 Update for the removed GDirectoryMonitor.
2481 * gmemoryoutputstream.c:
2482 Remove ununsed variable
2484 2008-01-07 Alexander Larsson <alexl@redhat.com>
2486 * gmemoryinputstream.c:
2487 Translate error strings
2490 * gmemoryoutputstream.[ch]:
2491 New implementation that avoids using GByteArray
2492 in implementation and API. (#506377)
2494 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2496 * tests/*: Add a test for memory input streams.
2498 * Makefile.am: Add tests to SUBDIRS.
2500 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2502 * glocalfilemonitor.c:
2503 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2506 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2508 * gdesktopappinfo.c: Fix a docs typo.
2510 * gfileattribute.c: Add information about extended attributes
2511 to the documentation. (#505058)
2513 2008-01-04 Alexander Larsson <alexl@redhat.com>
2516 * gmountoperation.c:
2517 Use the right type (uint) for the ask_password signal.
2519 2008-01-04 Alexander Larsson <alexl@redhat.com>
2524 Add g_app_info_supports_files()
2525 Remove desktop arg from g_app_info_should_show().
2527 * gdesktopappinfo.[ch]:
2528 Implement g_app_info_supports_files() and new should_show()
2529 Add g_desktop_app_info_set_desktop_env() to set the desktop
2530 for should_show(). (This will be set by gtk+ later)
2532 2008-01-04 Alexander Larsson <alexl@redhat.com>
2535 * gmemoryinputstream.[ch]:
2536 Improve API so that you can use multiple chunks
2537 of memory and custom destroy functions. (#506374)
2539 2008-01-03 Alexander Larsson <alexl@redhat.com>
2542 Handle NULL attribute matchers safely, as we return this
2543 for empty attribute matcher strings.
2545 2008-01-03 Alexander Larsson <alexl@redhat.com>
2547 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2548 Add /usr/local to list of internal mountpoints
2550 2008-01-03 Alexander Larsson <alexl@redhat.com>
2553 Check for HAVE_LCHOWN (#505887)
2555 2008-01-03 Alexander Larsson <alexl@redhat.com>
2559 Add define for selinux context attribute.
2560 Fix missing : -> :: namespace separator change
2561 Fix missing _ -> - name change for xattr-sys.
2564 2008-01-03 Alexander Larsson <alexl@redhat.com>
2567 Link to libglib and libgobject directly (#504879)
2568 Patch from Sebastien Bacher
2570 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2572 * gfile.c: Expanded the g_file_new_for_commandline_arg
2573 description a bit, based on the code and the docs of the
2574 other g_file_new_for_* functions.
2576 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2578 * gfilemonitor.h: Fixed typo in docs.
2580 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2582 Updates to GIO documentation. (#506395, Mikael Hermansson)
2584 * gcontenttype.c: Describe memory management for return value of
2585 g_content_types_get_registered(). Missing piece from #505815.
2586 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2587 GVolume, GDrive, GMounts, which hopefully gives the user less
2588 confusions when using this API. Following explainations from
2589 Alexander Larsson on gtk-devel-list.
2591 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2593 * gfileinfo.c: Expand the long description.
2595 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2598 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2599 fix builds with --disable-visibility. (#500273, Christian Persch)
2601 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2603 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2604 in the list of returned app infos.
2606 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2608 * gappinfo.c: Fix a cross-reference
2610 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2612 * gfileinputstream.c:
2613 * gfileoutputstream.c:
2617 * gdesktopappinfo.c:
2619 * gfileinfo.c: Documentation updates.
2621 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2623 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2626 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2628 * gcontenttype.c (g_content_types_get_registered): Don't return
2629 freed memory (#505815, Mikael Hermansson)
2631 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2633 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2634 used to detect statbuf->st_blocks. (#505042)
2636 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2638 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2639 environment handling. (#504829, Cosimo Cecchi)
2641 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2643 * gappinfo.c: Doc improvements
2645 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2648 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2650 * === Released 2.15.0 ===
2652 2007-12-20 Hans Breuer <hans@breuer.org>
2654 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2655 with symbols gwin32appinfo.obj, added gmount.obj
2656 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2658 2007-12-20 Alexander Larsson <alexl@redhat.com>
2664 * gfilenamecompleter.c:
2667 * gpollfilemonitor.c:
2668 File attribute renames:
2670 fs:: -> filesystem::
2671 id::fs -> id::filesystem
2673 2007-12-20 Alexander Larsson <alexl@redhat.com>
2682 Add GMountUnmountFlags to all unmount and
2684 Add g_mount_remount() call.
2686 2007-12-20 Alexander Larsson <alexl@redhat.com>
2688 * gvfs.c (get_default_vfs):
2689 Fix unused variable warning
2691 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2693 * pltcheck.sh: Update
2695 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2697 * gunionvolumemonitor.c:
2698 * gunixmount.c: Remove C99 comments
2700 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2702 * gio.symbols: Add some missing symbols
2704 2007-12-19 Alexander Larsson <alexl@redhat.com>
2707 Make g_io_modules_load_all_in_directory not unuse
2708 loaded modules so that users of it can do stuff
2710 Init internal "module" types.
2711 Initialize static prio and name for types so that
2712 we don't have to load modules to get it.
2714 * gnativevolumemonitor.h:
2716 Move is_supported to parent class so that
2717 non-native monitors can avoid being initialized
2718 too. (For instance GDaemonVolumeMonitor if we're
2719 not using GDaemonVfs.)
2721 * glocaldirectorymonitor.[ch]:
2722 * glocalfilemonitor.[ch]:
2723 * gunionvolumemonitor.c:
2724 * gunixvolumemonitor.c:
2726 Find plugins using the static prio+name to
2727 avoid unnecessarily loading the modules.
2729 2007-12-19 Alexander Larsson <alexl@redhat.com>
2734 2007-12-19 Alexander Larsson <alexl@redhat.com>
2736 * gunionvolumemonitor.c:
2737 Store the native type as GType, not class so that
2738 we can unload it. But still avoid unnecessarily
2741 2007-12-19 David Zeuthen <davidz@redhat.com>
2743 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2744 add signals 'disconnected' and 'eject-button' on GDrive. Add
2745 signal 'removed' on GVolume and 'unmounted' on GMount.
2747 * gdrive.c: (g_drive_base_init):
2749 * gfile.c: (g_file_mount_mountable),
2750 (g_file_mount_enclosing_volume):
2753 * gmount.c: (g_mount_base_init):
2755 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2756 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2757 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2761 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2763 * *.c: Fix up includes in the section docs.
2765 2007-12-17 Alexander Larsson <alexl@redhat.com>
2767 * gnativevolumemonitor.h:
2768 * gunionvolumemonitor.c:
2769 * gunixvolumemonitor.c:
2770 Add is_supported() to GNativeVolumeMonitorClass so
2771 that we can avoid having to create an object to see
2772 if the backend is supported at runtime.
2773 Also add name member and an env var to pick a specific
2774 volume monitor backend.
2778 Add cancellable to _g_mount_get_for_mount_path()
2780 * glocaldirectorymonitor.c:
2781 * glocalfilemonitor.c:
2782 Avoid loading and unloading modules while sorting.
2784 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2787 * gunixmounts.[hc]: Namespace waste reduction, move some
2788 g_get_unix_mount functions to the g_unix_mount namespace.
2791 * gunixvolumemonitor.c:
2793 * glocaldirectorymonitor.c: Update all callers.
2795 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2797 2007-12-17 Alexander Larsson <alexl@redhat.com>
2800 Add doc comments about what GFile operations are
2801 guaranteed to not block.
2803 2007-12-17 Alexander Larsson <alexl@redhat.com>
2806 Add missing #ifdef fixing OSX build.
2807 (#503334, patch from Richard Hult)
2809 2007-12-14 David Zeuthen <davidz@redhat.com>
2813 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2814 (g_mount_eject), (g_mount_eject_finish):
2816 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2817 (get_volume_for_uuid), (get_mount_for_uuid),
2818 (g_union_volume_monitor_class_init),
2819 (get_default_native_type_with_exclude), (get_default_native_type),
2820 (get_native_type), (update_native_type),
2821 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2822 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2823 (g_unix_mount_can_eject), (eject_unmount_cb),
2824 (eject_unmount_read_error), (eject_unmount_do),
2825 (g_unix_mount_unmount), (g_unix_mount_eject),
2826 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2827 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2828 (g_unix_mount_point_guess_can_eject):
2830 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2831 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2832 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2833 (g_unix_volume_mount), (g_unix_volume_eject),
2834 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2835 * gunixvolumemonitor.c: (get_volume_for_uuid),
2836 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2838 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2839 (g_volume_eject), (g_volume_eject_finish):
2841 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2842 (g_volume_monitor_get_mount_for_uuid):
2845 Provide eject() on both GMount and GVolume and utility functions
2846 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2847 ejected. Introduce the concept of UUID's and wire it into GVolume
2848 and GMount and provide API on GVolumeMonitor to find such
2849 instances. Also handle the case where an external
2850 GNativeVolumeMonitor fails to initialize. Lock around the
2851 _g_get_mount_for_mount_path() function such that volume monitor
2852 implementations won't have to do locking themselves.
2854 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2856 * gdesktopappinfo.c:
2862 * gvolume.h: Documentation updates
2864 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2867 * gfile.h: Doc updates
2869 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2872 * gdesktopappinfo.c: Use hash table iterators.
2874 2007-12-14 Alexander Larsson <alexl@redhat.com>
2877 * gfileattribute.[ch]:
2878 * gfileattribute-priv.h:
2879 Move GFileAttributeValue to a private header, as
2883 Make set_attribute take a type + a pointer instead
2884 of a GFileAttributeValue.
2887 Fix up for above changes.
2888 Add g_file_info_get_attribute_data to get
2889 all info in one call, g_file_info_get_attribute_status
2890 to get the status and g_file_info_get_attribute_as_string.
2894 * glocalfileinfo.[ch]:
2898 Make _guess_type static.
2900 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2903 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2904 made mkenums and friends use temporary files to avoid leaving
2905 empty generated files on failure (#503470).
2907 2007-12-14 Alexander Larsson <alexl@redhat.com>
2909 * gmountoperation.h:
2912 2007-12-14 Alexander Larsson <alexl@redhat.com>
2916 * gfileattribute.[ch]:
2919 * glocalfileoutputstream.c:
2920 * gmountoperation.[ch]:
2921 * goutputstream.[ch]:
2922 Clean up all flags enums to not have _FLAGS in them
2923 Make the names of some of the enums better.
2928 2007-12-14 Michael Natterer <mitch@imendio.com>
2930 * gio.symbols: fix g_io_scheduler symbol names.
2932 2007-12-14 Alexander Larsson <alexl@redhat.com>
2938 * gbufferedinputstream.h:
2939 * gbufferedoutputstream.h:
2942 * gdatainputstream.h:
2943 * gdataoutputstream.h:
2944 * gdesktopappinfo.h:
2945 * gdirectorymonitor.h:
2949 * gfileenumerator.h:
2952 * gfileinputstream.h:
2954 * gfilenamecompleter.h:
2955 * gfileoutputstream.h:
2956 * gfilterinputstream.h:
2957 * gfilteroutputstream.h:
2965 * gmemoryinputstream.h:
2966 * gmemoryoutputstream.h:
2968 * gmountoperation.h:
2971 * gsimpleasyncresult.h:
2973 * gunixinputstream.h:
2975 * gunixoutputstream.h:
2979 * inotify/Makefile.am:
2980 Only allow including <gio/gio.h> from apps
2982 2007-12-14 Alexander Larsson <alexl@redhat.com>
2984 * gioscheduler.[ch]:
2985 * gsimpleasyncresult.c:
2986 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2987 Split out the send_to_mainloop call into two versions instead
2988 of having the block argument.
2990 2007-12-13 Alexander Larsson <alexl@redhat.com>
2992 * gcancellable.[ch]:
2994 * gbufferedinputstream.c:
2995 * gfileenumerator.c:
2996 * gfileinputstream.c:
2997 * gfileoutputstream.c:
3001 g_push/pop_current_cancellable ->
3002 g_cancellable_push/pop_current
3004 2007-12-13 Alexander Larsson <alexl@redhat.com>
3008 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3010 2007-12-13 Alexander Larsson <alexl@redhat.com>
3012 * gmountoperation.h:
3013 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3015 2007-12-12 Alexander Larsson <alexl@redhat.com>
3018 Fix race condition when freeing proxy in
3019 g_io_job_send_to_mainloop().
3021 2007-12-12 Alexander Larsson <alexl@redhat.com>
3027 Make attribute namespace separator "::" instead of ":".
3028 Use - instead of _ as separator in attribute names.
3030 2007-12-12 Alexander Larsson <alexl@redhat.com>
3032 * gbufferedinputstream.h:
3033 * gbufferedoutputstream.h:
3034 * gdatainputstream.h:
3035 * gdataoutputstream.h:
3036 * gdirectorymonitor.h:
3037 * gfileenumerator.h:
3038 * gfileinputstream.h:
3040 * gfileoutputstream.h:
3041 * gfilterinputstream.h:
3042 * gfilteroutputstream.h:
3044 * glocalfileinputstream.h:
3045 * glocalfileoutputstream.h:
3046 * gmemoryinputstream.h:
3047 * gmemoryoutputstream.h:
3048 * gnativevolumemonitor.h:
3050 * gunixinputstream.h:
3051 * gunixoutputstream.h:
3054 s/parent/parent_instance/ in GObjects
3056 2007-12-12 Alexander Larsson <alexl@redhat.com>
3061 No need for padding for interfaces
3063 2007-12-12 Alexander Larsson <alexl@redhat.com>
3067 * gbufferedinputstream.c:
3068 * gbufferedoutputstream.c:
3071 * gdatainputstream.[ch]:
3072 * gdesktopappinfo.c:
3073 * gdirectorymonitor.c:
3075 * gfileattribute.[ch]:
3078 * gfileinputstream.h:
3079 * gfilemonitor.[ch]:
3080 * gfileoutputstream.[ch]:
3081 * gfilterinputstream.h:
3082 * gfilteroutputstream.h:
3085 * gloadableicon.[ch]:
3086 * gmemoryinputstream.c:
3087 * gmountoperation.c:
3089 Fix up a bunch of details in the docs.
3094 2007-12-11 David Zeuthen <davidz@redhat.com>
3096 Rework how volumes, drives and volume monitoring is
3097 done. Previosly the model was
3099 GDrive <1-1> GVolume
3101 where a GDrive instance represented a mount point and a GVolume
3102 instance represented a mounted file system. This patch changes it
3105 GDrive <1-N> GVolume <1-1> GMount
3107 where GMount now serves the purpose of the old GVolume and the new
3108 GVolume serves the purpose of the old GDrive. In addition the new
3109 GDrive interface is used to represent a collection of GVolume
3110 instances (typically partitions) and also contains utility to query
3111 the state of the physical drive the GDrive object represents (such
3112 as checking for media, polling the drive, ejecting the media etc.).
3114 Also implement mounting and unmounting in the Unix volume monitor
3115 backend. A subquent patch will introduce GDrive support for ejection
3119 * gdrive.c: (g_drive_is_media_check_automatic),
3120 (g_drive_is_media_removable), (g_drive_has_media),
3121 (g_drive_can_poll_for_media), (g_drive_eject),
3122 (g_drive_eject_finish), (g_drive_poll_for_media),
3123 (g_drive_poll_for_media_finish):
3125 * gfile.c: (g_file_find_enclosing_mount):
3128 * glocaldirectorymonitor.c:
3129 (g_local_directory_monitor_constructor), (mounts_changed):
3130 * glocalfile.c: (get_mount_info),
3131 (g_local_file_find_enclosing_mount),
3132 (g_local_file_file_iface_init):
3133 * gnativevolumemonitor.h:
3134 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3135 (get_connected_drives), (g_union_volume_monitor_class_init),
3136 (child_volume_added), (child_volume_removed),
3137 (child_volume_changed), (child_mount_added), (child_mount_removed),
3138 (child_mount_pre_unmount), (child_mount_changed),
3139 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3140 (g_union_volume_monitor_remove_monitor),
3141 (_g_mount_get_for_mount_path):
3142 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3143 (guess_system_internal), (_g_get_unix_mounts),
3144 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3145 (g_unix_mount_free), (g_unix_mount_compare),
3146 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3147 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3148 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3149 (type_to_icon), (g_unix_mount_guess_name),
3150 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3151 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3152 (_resolve_symlink), (_resolve_dev_root):
3154 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3155 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3156 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3157 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3158 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3159 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3160 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3161 (g_unix_volume_volume_iface_init):
3163 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3164 (get_mounts), (get_volumes), (get_connected_drives),
3165 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3166 (mountpoints_changed), (mounts_changed),
3167 (g_unix_volume_monitor_init),
3168 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3169 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3170 * gunixvolumemonitor.h:
3171 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3172 (g_volume_mount), (g_volume_mount_finish):
3174 * gvolumemonitor.c: (g_volume_monitor_class_init),
3175 (g_volume_monitor_get_connected_drives),
3176 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3179 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3181 * gmountoperation.h (GPasswordFlags): Close the gap
3183 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3185 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3187 * gdesktopappinfo.[hc]: Remove _-prefixes
3189 2007-12-10 Tor Lillqvist <tml@novell.com>
3191 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3194 2007-12-10 Alexander Larsson <alexl@redhat.com>
3196 * gfile.c (g_file_set_display_name):
3197 Don't hardcode '/' (#502727)
3199 2007-12-09 Hans Breuer <hans@breuer.org>
3201 * makefile.msc : follow lib naming convention
3202 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3203 for user and group name, tested with ../tests/gio-ls
3205 2007-12-09 A. Walton <awalton@svn.gnome.org>
3207 * gdesktopappinfo.c:
3213 * gfileenumerator.c:
3218 * gmemoryinputstream.c:
3219 * gmemoryoutputstream.c:
3221 * gsimpleasyncresult.c:
3222 More documentation cleanup and filling in missing information, bringing
3223 GIO to 99% symbol coverage.
3225 2007-12-08 Hans Breuer <hans@breuer.org>
3227 [gio compiles and links on win32, not sure how much already works]
3228 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3229 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3230 base on win32 API; prefer g_lstat() over lstat(); instead of
3231 localtime_r() use an all GLib implementation on win32;
3232 get_mount_info() still needs a win32 specifc implementation
3233 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3234 win32_get_file_user_info to get owner/group info without uid/gid
3235 * glocalfileinputstream.c : include <io.h> on win32
3236 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3237 definition, use g_win32_ftruncate() for G_OS_WIN32
3238 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3239 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3240 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3241 * makefile.msc : updated
3243 2007-12-07 Alexander Larsson <alexl@redhat.com>
3245 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3246 Avoid warning spew if error == NULL
3248 2007-12-07 Alexander Larsson <alexl@redhat.com>
3251 Update docs wrt etags
3253 2007-12-06 Alexander Larsson <alexl@redhat.com>
3256 Include sys/types.h for dev_t (#501919)
3258 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3262 Make abicheck and pltcheck pass.
3264 2007-12-05 Alexander Larsson <alexl@redhat.com>
3267 * giomodule-priv.h: Added.
3268 * glocaldirectorymonitor.c:
3269 * glocalfilemonitor.c:
3270 * gunionvolumemonitor.c:
3272 Actually add the declaration of _g_io_modules_ensure_loaded
3274 2007-12-05 Alexander Larsson <alexl@redhat.com>
3276 * gdatainputstream.c:
3281 * glocaldirectorymonitor.c:
3282 * glocalfilemonitor.c:
3283 * gunionvolumemonitor.c:
3285 Make g_io_modules_ensure_loaded a private function and
3286 don't pass in the dirname. This means we can do magic
3287 directory finding in the win32 version.
3288 Export the actual load-modules-in-directory code so that
3289 gvfs can reuse that.
3291 2007-12-05 Alexander Larsson <alexl@redhat.com>
3293 * gbufferedinputstream.c:
3294 * gbufferedoutputstream.c:
3297 * gfileenumerator.[ch]:
3298 * gfileinputstream.c:
3299 * gfileoutputstream.[ch]:
3300 * gfilterinputstream.c:
3301 * gfilteroutputstream.c:
3302 * ginputstream.[ch]:
3304 * glocalfileenumerator.c:
3305 * glocalfileinputstream.c:
3306 * glocalfileoutputstream.c:
3307 * gmemoryinputstream.c:
3308 * gmemoryoutputstream.c:
3309 * goutputstream.[ch]:
3312 * gunixinputstream.c:
3313 * gunixoutputstream.c:
3314 Rename all struct members named:
3315 read, write, close, truncate, or mount
3316 to foo_fn, as these are reserved names
3317 and could be defined as macros in libc.
3320 2007-12-04 Alexander Larsson <alexl@redhat.com>
3323 (g_output_stream_close):
3324 Only call flush if non-null.
3326 2007-11-30 Dan Winship <danw@gnome.org>
3328 * ginputstream.c (g_input_stream_set_pending): Make this take a
3329 GError and return a gboolean, and do the "outstanding operation"
3330 check (and the "stream is already closed" check) itself.
3331 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3333 * goutputstream.c (g_output_stream_set_pending)
3334 (g_output_stream_clear_pending): Likewise
3336 * gbufferedinputstream.c:
3337 * gfileinputstream.c:
3338 * gfileoutputstream.c: Update for that
3340 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3341 Like g_simple_async_report_error_in_idle, but takes a GError
3342 rather than building one.
3344 2007-11-30 Dan Winship <danw@gnome.org>
3346 * goutputstream.c: Don't cheat and unset the "pending" flag around
3347 inner calls. Instead, call the class method directly rather than
3348 the wrapper function that checks "pending"
3350 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3352 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3354 2007-12-03 Hans Breuer <hans@breuer.org>
3356 [start of port to win32/msvc]
3357 * gcancellable.c : HAVE_UNIST_H and _pipe()
3358 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3359 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3360 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3362 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3363 * glocalvfs.c : use HAVE_PWD_H
3364 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3365 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3366 * Makefile.am : added to EXTRA_DIST
3368 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3370 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3373 2007-12-03 Alexander Larsson <alexl@redhat.com>
3376 Handle OSX style xattrs API (#500506)
3378 2007-12-03 Alexander Larsson <alexl@redhat.com>
3382 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3384 2007-12-02 A. Walton <awalton@svn.gnome.org>
3388 Documentation accuracy fixes.
3390 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3392 * gioenumtypes.c.template: Fix typo.
3394 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3396 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3398 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3400 * gdirectorymonitor.c:
3401 * gfilemonitor.c: Add properties
3403 * gbufferedoutputstream.c: Don't mark buffer-size property
3406 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3408 * gbufferedoutputstream.c: Add auto-grow property.
3410 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3412 * *.c: Unify the capitalization of section headings.
3414 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3416 * gmountoperation.c: Add properties
3418 * gdatainputstream.c: Turn byte-order and newline-type into
3421 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3423 * gioenumtypes.[hc].template: Templates for enum registration
3425 * Makefile.am: Generate gioenumtypes.[hc]
3427 * gio.h: Include gioenumtypes.h
3429 * gfile.h: Add some explicit nicks.
3431 * gio.symbols: Add new symbols
3433 * pltcheck.sh: Adjust
3435 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3437 * *.c: Explain etags and link to the explanation
3439 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3441 * *.c: Explain I/O priority.
3443 * *.c: More coding style fixes.
3445 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3447 * gasyncresult.c: Add another paragraph to the intro,
3448 adjust coding style of example.
3450 2007-11-29 A. Walton <awalton@svn.gnome.org>
3453 Fixes unknown meaning in GAppLaunchContext docs.
3455 Clarify asynchronous ops.
3457 Fix entity tag docs.
3460 Provides missing gtk-doc section, fixes API docs slighly.
3461 * gsimpleasyncresult.c:
3462 Fill in missing info in docs.
3463 * gunixinputstream.c:
3464 * gunixoutputstream.c:
3465 Be more expressive in short description.
3467 Remove gtk-doc stubs for non-public API.
3469 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3471 * *.c: Coding style fixups
3473 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3475 * inotify/inotify-helper.c: Don't export the lock from libgio.
3477 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3480 * abicheck.sh: Fix copy-and-paste leftovers
3482 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3484 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3486 2007-11-28 Alexander Larsson <alexl@redhat.com>
3490 Removed unnecessary file
3492 * gdesktopappinfo.[ch]:
3495 * glocaldirectorymonitor.[ch]:
3497 * glocalfileenumerator.[ch]:
3498 * glocalfileinputstream.[ch]:
3499 * glocalfilemonitor.[ch]:
3500 * glocalfileoutputstream.[ch]:
3502 * gnativevolumemonitor.c:
3503 * gpollfilemonitor.[ch]:
3504 * gunionvolumemonitor.[ch]:
3507 * gunixvolumemonitor.[ch]:
3510 * inotify/ginotifydirectorymonitor.[ch]:
3511 * inotify/ginotifyfilemonitor.[ch]:
3512 * inotify/inotify-helper.c:
3513 Append _ to all internal functions
3517 Export symbols needed for modules
3519 2007-11-28 Alexander Larsson <alexl@redhat.com>
3522 * abicheck.sh: Added.
3523 * makegioalias.pl: Added.
3524 * pltcheck.sh: Added.
3525 * gio.symbols: Added.
3528 Initial work on adding symbol handling.
3531 Correct ifdef guard name
3534 * inotify/Makefile.am:
3535 * xdgmime/Makefile.am:
3536 Include toplevel Makefile.decl
3538 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3540 * gcontenttype.c: Move doc comments to the unix section.
3542 * *.[hc]: More trivial doc corrections.
3544 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3546 * gpollfilemonitor.c:
3550 * gdesktopappinfo.c:
3555 * gdatainputstream.c:
3556 * gdatainputstream.h:
3557 * gdataoutputstream.c:
3558 * gdataoutputstream.h:
3559 * gfileinfo.h: Doc cleanups
3561 2007-11-28 Andre Klapper <a9016009@gmx.de>
3563 * gdesktopappinfo.c: Fix a typo.
3565 2007-11-27 Andre Klapper <a9016009@gmx.de>
3567 * glocalfileoutputstream.c: Fix a typo.
3569 2007-11-27 Alexander Larsson <alexl@redhat.com>
3572 Don't include removed headers
3574 2007-11-27 Alexander Larsson <alexl@redhat.com>
3577 * gsocketinputstream.[ch]: Removed.
3578 * gsocketoutputstream.[ch]: Removed.
3579 * gunixinputstream.[ch]: Added.
3580 * gunixoutputstream.[ch]: Added.
3581 Renamed GSocket*Stream to GUnix*Stream and made
3582 it unix-only, since its not really only for sockets
3583 and it only works on unix (but is highly useful there).
3585 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3591 * gbufferedinputstream.c:
3592 * gbufferedinputstream.h:
3593 * gbufferedoutputstream.c:
3594 * gbufferedoutputstream.h:
3598 * gdatainputstream.c:
3599 * gdatainputstream.h:
3600 * gdataoutputstream.c:
3601 * gdataoutputstream.h:
3602 * gdirectorymonitor.c:
3603 * gdirectorymonitor.h:
3610 * gfileenumerator.c:
3611 * gfileenumerator.h:
3616 * gfileinputstream.c:
3617 * gfileinputstream.h:
3620 * gfilenamecompleter.c:
3621 * gfilenamecompleter.h:
3622 * gfileoutputstream.c:
3623 * gfileoutputstream.h:
3624 * gfilterinputstream.c:
3625 * gfilterinputstream.h:
3626 * gfilteroutputstream.c:
3627 * gfilteroutputstream.h:
3640 * glocalfileoutputstream.c:
3641 * gmemoryinputstream.c:
3642 * gmemoryinputstream.h:
3643 * gmemoryoutputstream.c:
3644 * gmemoryoutputstream.h:
3645 * gmountoperation.c:
3646 * gmountoperation.h:
3649 * gpollfilemonitor.c:
3652 * gsimpleasyncresult.c:
3653 * gsimpleasyncresult.h:
3654 * gsocketinputstream.c:
3655 * gsocketinputstream.h:
3656 * gsocketoutputstream.c:
3657 * gsocketoutputstream.h:
3664 * gunixvolumemonitor.c:
3673 Bumps documentation to 93% symbol coverage, touching most
3674 of the public files. Fixes broken function documentation prototypes.
3675 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3676 gtk-doc headers in private files.
3678 2007-11-27 Jürg Billeter <j@bitron.ch>
3680 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3681 (g_buffered_input_stream_read_byte):
3682 * gbufferedinputstream.h:
3683 New functions for efficient access to buffer and simple single byte
3686 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3687 (g_data_input_stream_read_until):
3688 * gdatainputstream.h:
3689 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3690 read_until with multiple stop chars.
3692 2007-11-27 Alexander Larsson <alexl@redhat.com>
3696 * inotify/Makefile.am:
3697 Use the user-specified giomoduledir
3699 2007-11-27 Alexander Larsson <alexl@redhat.com>
3703 Add catch-all gio.h header
3704 Don't install gdummyfile.h
3706 2007-11-26 Alexander Larsson <alexl@redhat.com>
3708 * Makefile.am (gioinclude_HEADERS):
3709 Remove trailing whitespace
3711 2007-11-26 Alexander Larsson <alexl@redhat.com>
3713 Merge gio-standalone into glib
3715 2007-11-25 Christian Kellner <gicmo@gnome.org>
3717 * gio/goutputstream.c:
3718 Fix small mistake in the docs.
3720 2007-11-21 Christian Persch <chpe@gnome.org>
3722 * gio/glocalfile.c: (g_local_file_trash):
3723 Convert filenames to UTF-8 for GError.
3724 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3725 as per xdg base dir spec.
3727 2007-11-21 Christian Persch <chpe@gnome.org>
3729 * gio/gdesktopappinfo.c:
3730 Use that g_key_file_to_data cannot fail.
3732 Use stock defines for the key file group and key names.
3735 2007-11-21 Alexander Larsson <alexl@redhat.com>
3738 (copy_stream_with_progress):
3739 Make sure we do a final progress callback with
3740 the full total size.
3742 2007-11-21 Alexander Larsson <alexl@redhat.com>
3745 Export g_file_copy_attributes
3746 Remove padding as its not needed for interfaces
3748 2007-11-20 Alexander Larsson <alexl@redhat.com>
3753 Add G_IO_ERROR_WOULD_MERGE for
3754 copy/move dir on dir with overwrite.
3756 2007-11-20 Alexander Larsson <alexl@redhat.com>
3759 * gio/glocalfileinfo.c:
3760 Add COPY_NAME (this is an optional
3761 non-modified utf8 version of the name) that
3764 2007-11-20 Alexander Larsson <alexl@redhat.com>
3766 * gio/glocalfileenumerator.c:
3767 Report errors as GIOError, not GFileError
3769 2007-11-16 Alexander Larsson <alexl@redhat.com>
3771 * gio/glocalfileoutputstream.c:
3772 * gio/gwin32appinfo.c:
3773 Fix typos in strings.
3774 Patch from Luca Ferretti <elle.uca@libero.it>
3776 2007-11-15 Alexander Larsson <alexl@redhat.com>
3779 Post release version bump
3781 === gio-standalone 0.1.2 ===
3783 2007-11-15 Alexander Larsson <alexl@redhat.com>
3785 * docs/reference/gio/Makefile.am:
3786 Fix up distcheck by removing weird
3792 2007-11-14 Alexander Larsson <alexl@redhat.com>
3794 * gio/gdesktopappinfo.c:
3795 * gio/glocaldirectorymonitor.c:
3797 * gio/glocalfileinfo.c:
3798 * gio/inotify/inotify-sub.c:
3799 * programs/gio-cat.c:
3800 * programs/gio-copy.c:
3801 * programs/gio-info.c:
3802 * programs/gio-ls.c:
3803 * programs/gio-monitor-dir.c:
3804 * programs/gio-monitor-file.c:
3805 * programs/gio-mount.c:
3806 * programs/gio-move.c:
3807 * programs/gio-rm.c:
3808 * programs/gio-save.c:
3809 * programs/gio-trash.c:
3810 Leak fixes from Kjartan Maraas
3812 2007-11-14 Alexander Larsson <alexl@redhat.com>
3814 * gio/fam/fam-helper.c:
3816 * gio/glocalfileinfo.c:
3820 * gio/inotify/inotify-diag.c:
3821 * gio/inotify/inotify-kernel.c:
3822 Various code cleanups from Kjartan Maraas
3824 2007-11-14 Alexander Larsson <alexl@redhat.com>
3826 * gio/gioscheduler.c:
3828 Set up threadpool so that we cache 2 unused
3829 idle threads for at 15 secs. This means we
3830 will reuse thread-local data (like dbus connections)
3833 2007-11-14 Alexander Larsson <alexl@redhat.com>
3835 * gio/fam/fam-helper.c:
3836 * gio/fam/gfamdirectorymonitor.c:
3837 * gio/fam/gfamfilemonitor.c:
3839 * gio/gcontenttype.c:
3840 * gio/gdatainputstream.c:
3841 * gio/gdataoutputstream.c:
3845 * gio/gfileattribute.h:
3846 * gio/gfileenumerator.c:
3848 * gio/ginputstream.c:
3851 * gio/glocalfileinfo.c:
3852 * gio/goutputstream.c:
3853 * gio/gpollfilemonitor.c:
3854 * gio/gsimpleasyncresult.c:
3855 * gio/gunixmounts.c:
3856 * gio/gunixmounts.h:
3857 * gio/inotify/ginotifydirectorymonitor.c:
3858 * gio/inotify/ginotifyfilemonitor.c:
3859 * gio/inotify/inotify-diag.c:
3860 * gio/inotify/inotify-kernel.c:
3861 * gio/inotify/inotify-path.c:
3863 * gio/test-streams.c:
3864 * programs/gio-info.c:
3865 * programs/gio-monitor-dir.c:
3866 * programs/gio-monitor-file.c:
3867 Various code cleanups from Kjartan Maraas
3869 2007-11-13 Alexander Larsson <alexl@redhat.com>
3872 Handle the uri-scheme calls for dummy files
3874 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3876 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3877 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3878 to avoid clash with the C++ keyword.
3880 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3882 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3883 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3885 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3887 * gio/glocaldirectorymonitor.c:
3888 * gio/glocalfilemonitor.c:
3889 * gio/gunionvolumemonitor.c:
3890 Don't use g_once_init_*() for initializations that could fail and
3891 could leave the initialization variable set to 0 but use GOnce.
3892 This prevents a deadlock on the second call when trying to create
3893 a monitor and no monitor type is available. Thanks to Sven Herzberg
3896 2007-11-11 Sven Herzberg <sven@imendio.com>
3898 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3899 #ifdef (make it work on MacOS X again)
3901 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3903 Fixes Changelog for last two commits (sorry guys).
3905 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3907 * gio/gbufferedinputstream.c:
3908 * gio/gdatainputstream.c:
3910 * gio/gfileoutputstream.c:
3911 * gio/gfilterinputstream.c:
3912 * gio/glocalfileinputstream.c:
3915 More consistency fixes in g*stream.c files.
3916 Significant clean of gfile's documentation, filling in of
3917 asynchronous operations documentation.
3919 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3921 * gio/gasyncresult.c:
3922 * gio/gbufferedinputstream.c:
3923 * gio/gbufferedoutputstream.c:
3924 * gio/gcancellable.c:
3925 * gio/gcontenttype.c:
3926 * gio/gdatainputstream.c:
3927 * gio/gdataoutputstream.c:
3928 * gio/gdesktopappinfo.c:
3931 * gio/gfileattribute.c:
3932 * gio/gio/gfileenumerator.c:
3934 * gio/gfileinputstream.c:
3935 * gio/gfilemonitor.c:
3936 * gio/gfileoutputstream.c:
3937 * gio/ginputstream.c:
3939 * gio/gioscheduler.c:
3940 * gio/gloadableicon.c:
3941 * gio/glocalfileoutputstream.c:
3942 * gio/gmemoryoutputstream.c:
3943 * gio/gmountoperation.c:
3944 * gio/goutputstream.c:
3946 * gio/gsimpleasyncresult.c:
3947 * gio/gunionvolumemonitor.c:
3948 * gio/gunixmounts.c:
3949 * gio/gunixvolume.c:
3953 * gio/gvolumemonitor.c:
3954 Updated documentation stubs, working towards consistency and
3957 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3959 * gio/gmemoryoutputstream.c:
3960 * gio/gmemoryoutputstream.h:
3961 Change g_memory_output_stream_set_free_on_close() to
3962 g_memory_output_stream_set_free_data() as this makes more sense and
3963 is more consistent with GMemoryInputStream.
3965 2007-11-07 Alexander Larsson <alexl@redhat.com>
3972 Change how we find the default vfs so that
3973 we can handle a gvfs failing to init
3975 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3977 * gio/gbufferedoutputstream.c:
3978 * gio/gdatainputstream.c:
3979 * gio/gdataoutputstream.c:
3980 * gio/gfileinputstream.c:
3981 * gio/gfileoutputstream.c:
3982 * gio/gfilterinputstream.c:
3983 * gio/gfilteroutputstream.c:
3984 * gio/ginputstream.c:
3985 * gio/gmemoryinputstream.c:
3986 * gio/gmemoryoutputstream.c:
3987 * gio/goutputstream.c:
3988 * gio/gsimpleasyncresult.c:
3989 * gio/gsocketinputstream.c:
3990 * gio/gsocketoutputstream.c:
3991 Add guards to the remaining public functions, add a TODO for
3992 an unimplemented function and remove some useless guards.
3994 2007-11-07 Alexander Larsson <alexl@redhat.com>
3997 Autoconf checks for the various types of
3998 getpwuid_r and getgrgid_r
4000 * gio/glocalfileinfo.c:
4001 Use the autoconf checks from above
4003 2007-11-07 Alexander Larsson <alexl@redhat.com>
4006 (g_local_file_query_filesystem_info):
4007 Some fixes for the statvfs case
4009 2007-11-07 Alexander Larsson <alexl@redhat.com>
4012 (g_local_file_query_filesystem_info):
4013 Pick the "best" of statfs / statvfs for the system
4014 if both are availible.
4016 2007-11-07 Alexander Larsson <alexl@redhat.com>
4018 Solaris fixes from Halton.Huo@Sun.COM:
4025 * gio/glocalfileinfo.c:
4026 Fix for solaris definition of getpwuid_r
4028 * gio/test-streams.c:
4029 Use G_GNUC_PRETTY_FUNCTION
4031 2007-11-07 Alexander Larsson <alexl@redhat.com>
4033 * gio/gdesktopappinfo.c:
4034 (update_default_list):
4035 Remove double semicolon.
4036 Patch from Jens Granseuer
4038 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4040 * docs/reference/gio/gio-sections.txt:
4041 * gio/gbufferedinputstream.c:
4042 * gio/gbufferedinputstream.h:
4043 * gio/gdatainputstream.c:
4044 * gio/gfileenumerator.c:
4045 * gio/gioscheduler.c:
4046 * gio/gunionvolumemonitor.c:
4048 * programs/gio-save.c:
4049 Fix typo: availible -> available. Unfortuntely this breaks API
4050 and ABI as g_buffered_input_stream_get_available() was renamed.
4052 * gio/gunixmounts.c:
4053 * gio/gbufferedinputstream.c:
4054 Add guards for public functions.
4056 2007-11-06 Ross Burton <ross@openedhand.com>
4058 * docs/reference/gio/Makefile.am:
4059 Fix invalid += usage which automake 1.10 doesn't like.
4061 2007-11-06 Alexander Larsson <alexl@redhat.com>
4064 (g_app_launch_context_class_init):
4067 Patch from Ross Burton
4069 2007-11-06 Alexander Larsson <alexl@redhat.com>
4072 Post release version bump
4074 === gio-standalone 0.1.1 ===
4076 2007-11-06 Alexander Larsson <alexl@redhat.com>
4079 Bump version to 0.1.1
4081 * gio/gsimpleasyncresult.c:
4082 (g_simple_async_result_set_from_error):
4083 Remove bogus g_return_if_fail
4085 2007-11-06 Alexander Larsson <alexl@redhat.com>
4088 The name is gio-standalone
4091 Add top src/builddir to includedir
4093 2007-11-06 Alexander Larsson <alexl@redhat.com>
4095 * docs/reference/gio/gio-sections.txt:
4097 * gio/gbufferedinputstream.c:
4098 * gio/gbufferedoutputstream.c:
4099 * gio/gcancellable.c:
4100 * gio/gdatainputstream.h:
4101 * gio/gdataoutputstream.c:
4102 * gio/gdataoutputstream.h:
4103 * gio/gdirectorymonitor.c:
4105 * gio/gfileattribute.c:
4106 * gio/gfileattribute.h:
4107 * gio/gfileenumerator.c:
4108 * gio/gfileenumerator.h:
4111 * gio/gfileinputstream.h:
4112 * gio/gfilemonitor.c:
4113 * gio/gfileoutputstream.h:
4114 * gio/glocalfilemonitor.h:
4115 * gio/glocalfileoutputstream.h:
4116 * gio/gmemoryinputstream.c:
4117 * gio/gmemoryoutputstream.c:
4118 * gio/gmountoperation.c:
4119 * gio/goutputstream.c:
4120 * gio/goutputstream.h:
4122 * gio/gsimpleasyncresult.c:
4123 * gio/gunixmounts.c:
4124 * gio/gunixmounts.h:
4126 * gio/inotify/inotify-helper.c:
4127 Fix gtk-doc warnings
4129 Patch from Ross Burton
4131 2007-11-06 Alexander Larsson <alexl@redhat.com>
4133 * gio/gfilenamecompleter.c:
4134 (g_filename_completer_get_completions):
4137 * gio/gunixvolume.c:
4138 Remove unused function
4140 Patches from Ross Burton
4142 2007-11-06 Alexander Larsson <alexl@redhat.com>
4147 Padding not needed for interfaces
4149 2007-11-06 Alexander Larsson <alexl@redhat.com>
4151 * gio/gfilemonitor.c:
4155 Make giotypes.h an internal file
4158 * gio/gbufferedinputstream.h:
4159 * gio/gbufferedoutputstream.h:
4160 * gio/gcancellable.h:
4161 * gio/gdatainputstream.h:
4162 * gio/gdataoutputstream.h:
4163 * gio/gdirectorymonitor.c:
4164 * gio/gdirectorymonitor.h:
4169 * gio/gfileattribute.h:
4170 * gio/gfileenumerator.h:
4175 * gio/gfilemonitor.c:
4176 * gio/gfilemonitor.h:
4177 * gio/gfilenamecompleter.c:
4178 * gio/gfilenamecompleter.h:
4179 * gio/gfilterinputstream.h:
4180 * gio/gfilteroutputstream.h:
4181 * gio/ginputstream.h:
4182 * gio/gmemoryinputstream.h:
4183 * gio/gmemoryoutputstream.h:
4184 * gio/gmountoperation.c:
4185 * gio/gmountoperation.h:
4186 * gio/gnativevolumemonitor.c:
4187 * gio/goutputstream.h:
4190 * gio/gsimpleasyncresult.c:
4191 * gio/gsimpleasyncresult.h:
4192 * gio/gsocketinputstream.h:
4193 * gio/gsocketoutputstream.h:
4194 * gio/gthemedicon.c:
4195 * gio/gthemedicon.h:
4199 * gio/gvolumemonitor.c:
4200 * gio/gvolumemonitor.h:
4201 Add padding in classes where it seems useful
4202 Don't include giotypes.h from public headers
4203 Move in Class definitions into c file where possible
4208 2007-11-06 Alexander Larsson <alexl@redhat.com>
4210 * docs/reference/gio/gio-docs.xml:
4211 Better structure for API docs
4213 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4216 * gio/gloadableicon.c:
4217 * gio/gsimpleasyncresult.c:
4218 * gio/gthemedicon.c:
4219 Add some more guards to public functions. Only files missing are now
4222 2007-11-06 Alexander Larsson <alexl@redhat.com>
4224 * docs/reference/gio/gio-docs.xml:
4225 Remove old files, add missing ones
4227 2007-11-06 Alexander Larsson <alexl@redhat.com>
4229 * docs/reference/gio/gio-sections.txt:
4232 Hide implementation classes
4234 * gio/gdriveprivate.h:
4235 * gio/gvolumeprivate.h:
4236 Remove non-existing function declarations
4238 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4241 Fix compilation warnings and add guards to the new functions.
4243 * gio/gasyncresult.c:
4245 Add guards to the public functions.
4248 Implement get_path().
4250 2007-11-06 Alexander Larsson <alexl@redhat.com>
4252 * gio/gfilenamecompleter.c:
4253 Make g_filename_completer_get_completions
4254 return char ** instead of GList for
4257 * docs/reference/gio/gio-docs.xml:
4258 * docs/reference/gio/gio-sections.txt:
4260 * gio/gasyncresult.c:
4261 * gio/gbufferedinputstream.c:
4262 * gio/gbufferedoutputstream.c:
4263 * gio/gcancellable.c:
4264 * gio/gcontenttype.c:
4265 * gio/gdatainputstream.c:
4266 * gio/gdataoutputstream.c:
4267 * gio/gdesktopappinfo.c:
4268 * gio/gdirectorymonitor.c:
4272 * gio/gfileattribute.c:
4273 * gio/gfileenumerator.c:
4276 * gio/gfileinputstream.c:
4277 * gio/gfilemonitor.c:
4278 * gio/gfilenamecompleter.c:
4279 * gio/gfilenamecompleter.h:
4280 * gio/gfileoutputstream.c:
4281 * gio/gfilterinputstream.c:
4283 * gio/ginputstream.c:
4285 * gio/gioscheduler.c:
4286 * gio/gloadableicon.c:
4287 * gio/glocaldirectorymonitor.c:
4289 * gio/glocalfileinputstream.c:
4290 * gio/glocalfilemonitor.c:
4291 * gio/glocalfileoutputstream.c:
4293 * gio/gmemoryinputstream.c:
4294 * gio/gmemoryoutputstream.c:
4295 * gio/gmountoperation.c:
4296 * gio/goutputstream.c:
4297 * gio/gpollfilemonitor.c:
4299 * gio/gsimpleasyncresult.c:
4300 * gio/gsocketinputstream.c:
4301 * gio/gsocketoutputstream.c:
4302 * gio/gthemedicon.c:
4303 * gio/gunionvolumemonitor.c:
4305 * gio/gunixmounts.c:
4306 * gio/gunixvolume.c:
4307 * gio/gunixvolumemonitor.c:
4311 * gio/gvolumemonitor.c:
4312 * gio/gwin32appinfo.c:
4313 Add (mostly stub) doc strings to public functions.
4314 Patch from Andrew Walton (awalton@gmail.com)
4316 2007-11-06 Alexander Larsson <alexl@redhat.com>
4318 * gio/gappinfo.[ch]:
4319 Added GAppLaunchContext object and pass that to launch.
4320 This allows simple implementation of both
4321 launch-on-screen and startup notification via a gtk+
4322 subclass of GAppLaunchContext
4324 * gio/gdesktopappinfo.c:
4325 Implement GAppLaunchContext API
4327 * gio/gwin32appinfo.c:
4330 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4332 * gio/gmountoperation.c:
4333 Add some guards to GMountOperation's public functions.
4335 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4339 * gio/gcancellable.c:
4340 * gio/gdirectorymonitor.c:
4342 * gio/gfileenumerator.c:
4343 * gio/gfilemonitor.c:,
4344 * gio/gfilenamecompleter.c:
4347 * gio/gioscheduler.c:
4351 * gio/gvolumemonitor.c:
4352 Add even more guards to various public functions.
4354 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4357 Add guards to the public functions of GAppInfo.
4359 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4361 * gio/gcontenttype.c:
4362 Add some more guards for public functions.
4364 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4366 * gio/fam/fam-module.c:
4367 * gio/fam/gfamdirectorymonitor.c:
4368 * gio/fam/gfamdirectorymonitor.h:
4369 * gio/fam/gfamfilemonitor.c:
4370 * gio/fam/gfamfilemonitor.h:
4371 * gio/inotify/ginotifydirectorymonitor.c:
4372 * gio/inotify/ginotifydirectorymonitor.h:
4373 * gio/inotify/ginotifyfilemonitor.c:
4374 * gio/inotify/ginotifyfilemonitor.h:
4375 Add proper copyright information and remove an unused variable
4376 in the GInotifyFileMonitor constructor.
4378 * gio/gcancellable.c:
4379 Add a guard for a public function and an assertion to prevent
4380 an undefined program state.
4382 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4384 * gio/gfileattribute.c:
4385 Don't run into an assertion if the given attribute value is NULL
4386 in g_file_attribute_value_get_*() but instead return a fallback
4387 value that makes sense in most situations. Passing them a attribute
4388 value with the wrong type will still run into an assertion.
4390 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4392 * gio/gfileattribute.c:
4394 Add even more guards to the public functions. Also fix the refcounting
4395 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4396 let g_file_info_list_attributes() filter the attributes by namespace
4397 instead of simply ignoring the namespace parameter.
4399 2007-11-03 Sven Herzberg <sven@imendio.com>
4401 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4402 (This makes gio work on MacOS X again)
4404 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4407 Build the gio subdirectory before the docs. Otherwise the build will
4410 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4411 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4412 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4413 Add guards to the public functions.
4415 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4417 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4418 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4419 to prevent a compiler warning.
4421 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4422 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4423 return something in the non-void function find_topdir_for().
4425 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4432 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4434 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4435 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4436 * gwin32appinfo.c (g_win32_app_info_launch):
4437 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4438 envp_for_startup_id, g_desktop_app_info_launch,
4439 g_desktop_app_info_launch_uris):
4441 Give an opaque 'startup_id' string instead of 'envp'.
4442 Support empty file lists for launching new windows.
4443 Fix infinite recursion bug when launching URIs.
4445 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4448 Add guard to the new g_file_get_uri_scheme() function.
4450 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4453 Convert a g_return_val_if_fail() to setting the GError instead as
4454 otherwise applications have to verify the parameter before otherwise
4455 and the parameter might come directly from the user.
4457 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4459 * gio/inotify/ginotify*.[ch]:
4460 Add missing copyright information.
4462 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4465 Add guards in the beginning of public functions to check for valid
4466 parameters and fix a bug in copy_stream_with_progress() that could've
4467 caused writing less bytes than reading.
4468 * gio/glocalfileinfo.c:
4469 Check for a NULL parameter and set the GError accordingly then.
4470 * gio/goutputstream.c:
4471 Fix the same bug as in gfile.c that could've caused writing less bytes
4472 than reading in g_output_stream_real_splice().
4474 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4477 Use the correct gvolumeprivate.h naming
4479 2007-11-01 Christian Kellner <gicmo@gnome.org>
4482 Remove leftover "$(daemon_sources)" entry.
4484 2007-11-01 Christian Kellner <gicmo@gnome.org>
4489 Add copyright information to source files.
4491 2007-11-01 Alexander Larsson <alexl@redhat.com>
4495 Add g_file_get_uri_scheme
4497 2007-11-01 Alexander Larsson <alexl@redhat.com>
4500 * gio/gdesktopappinfo.c:
4501 * gio/gwin32appinfo.c:
4502 Add g_app_info_get_default_for_uri_scheme.
4504 2007-11-01 Alexander Larsson <alexl@redhat.com>
4507 Correct filename for gdriveprivate.h
4509 2007-10-31 Alexander Larsson <alexl@redhat.com>
4512 Rename id:value to id:file
4515 * gio/glocalfileinfo.c:
4518 2007-10-31 Alexander Larsson <alexl@redhat.com>
4520 * gio/gunixvolume.c:
4522 Remove g_volume_get_platform_id, as thats not
4523 needed with the simpler union volume monitor
4525 2007-10-31 Alexander Larsson <alexl@redhat.com>
4528 * gio/guniondrive.[ch]: Removed.
4529 * gio/gunionvolume.[ch]: Removed.
4530 Remove GUnionDrive/Volume
4532 * gio/gunionvolumemonitor.c:
4533 Simplify union volume monitor, now we
4534 only have one native volume monitor and
4535 we use the actual volumes/drives from the
4536 child monitors instead of wrapping them
4538 * gio/gnativevolumemonitor.[ch]:
4539 Base class for native volume monitors.
4540 Includes priority and get_volume_for_mountpoint
4543 Add g_file_find_enclosing_volume
4546 Remove volume name fs attribute
4547 Add readonly fs attribute
4550 Implement readonly attribute
4551 remove volume name attribute
4552 Implement find_enclosing volume
4554 * gio/gunixmounts.c:
4555 Add a volume for "/".
4557 * gio/gunixvolume.[ch]:
4558 Set better name for /
4560 * gio/gunixvolumemonitor.[ch]:
4561 Derive from GNativeVolumeMonitor
4562 Implement get_volume_for_mountpoint
4565 GVolume typedef moved to gfile.h
4567 * gio/gvolumeprivate.h:
4568 Add g_volume_get_for_mount_path
4570 2007-10-31 Alexander Larsson <alexl@redhat.com>
4572 * gio/gunixmounts.[ch]:
4573 Add cache info to unix mount listers
4574 Make getmntent use threadsafe
4575 Add is_system_internal attribute for GUnixMount
4577 * gio/gunixvolume.c:
4578 (g_unix_volume_new):
4579 Use is_system_internal instead of own code
4581 * gio/glocaldirectorymonitor.c:
4582 * gio/gunixvolumemonitor.c:
4583 Update to new gunixmounts API
4588 2007-10-30 Alexander Larsson <alexl@redhat.com>
4591 Add volume name fsinfo attribute
4594 Read volume name info
4596 * gio/gunionvolumemonitor.c:
4597 Fix infinite loops when finalizing a union volume monitor
4599 2007-10-30 Alexander Larsson <alexl@redhat.com>
4601 * gio/goutputstream.[ch]:
4602 Add splice() with default implementation
4604 * gio/gsocketoutputstream.c:
4605 (g_socket_output_stream_write):
4606 Return error on cancellation correctly.
4608 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4610 * gio/glocalfile.c (g_local_file_trash):
4611 Do not leak a string.
4613 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4615 * gio/gfile.c (g_file_load_contents):
4616 Unref the stream after closing it.
4618 2007-10-25 Alexander Larsson <alexl@redhat.com>
4620 * gio/gioscheduler.h:
4623 2007-10-25 Alexander Larsson <alexl@redhat.com>
4627 Add g_file_has_uri_scheme and implement for local files
4629 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4631 * gio/gdesktopappinfo.c: do not leak a string.
4633 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4635 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4636 (g_local_directory_monitor_new):
4637 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4638 (g_local_file_monitor_new):
4639 Only look for the monitor type that should be used the first time
4640 and use g_qsort_with_data() instead of our own bubble sort
4643 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4646 * gio/fam/Makefile.am:
4647 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4648 * gio/fam/fam-helper.h:
4649 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4650 * gio/fam/gfamdirectorymonitor.c:
4651 * gio/fam/gfamdirectorymonitor.h:
4652 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4653 * gio/fam/gfamfilemonitor.h:
4654 * gio/glocaldirectorymonitor.c:
4655 * gio/glocaldirectorymonitor.h:
4656 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4657 * gio/glocalfilemonitor.h:
4658 * gio/inotify/Makefile.am:
4659 * gio/inotify/ginotifydirectorymonitor.c:
4660 * gio/inotify/ginotifydirectorymonitor.h:
4661 * gio/inotify/ginotifyfilemonitor.c:
4662 * gio/inotify/ginotifyfilemonitor.h:
4663 Implement the FAM and Inotify monitors as
4664 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4665 their own GIO module. GLocal(Directory|File)Monitor will use the
4666 monitor with the highest rank that is supported on that machine.
4668 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4671 Change GIO module dir to $(libdir)/gio/modules and change
4672 the log domain from GVFS to GIO. Also only export symbols starting
4673 with g_ in the resulting library.
4674 * gio/test-streams.c: (main):
4675 Set log handler for the GIO log domain.
4677 2007-10-22 Alexander Larsson <alexl@redhat.com>
4679 * gio/gfilenamecompleter.[ch]:
4680 Add g_filename_completer_set_dirs_only
4682 2007-10-22 Alexander Larsson <alexl@redhat.com>
4685 * gio/gurifuncs.[ch]:
4686 Add some simple URI helpers
4688 * gio/gfilenamecompleter.[ch]:
4689 Added object for filename (parse name actually) completion
4692 Handle ~ in parse names
4694 2007-10-17 Alexander Larsson <alexl@redhat.com>
4697 * gio/glocalfileinfo.c:
4698 Add and implement id:value attribute
4700 2007-10-17 Alexander Larsson <alexl@redhat.com>
4703 * gio/guniondrive.c:
4705 Add and implement g_drive_has_volumes
4707 2007-10-17 Alexander Larsson <alexl@redhat.com>
4710 * gio/glocalfileinfo.[ch]:
4711 Add unix:is_mountpoint and implement for local files
4713 2007-10-16 Alexander Larsson <alexl@redhat.com>
4715 * gio/gunionvolumemonitor.c:
4716 (g_union_volume_monitor_init):
4717 Fix up the unix type getting so that it works with gcc
4719 2007-10-12 Alexander Larsson <alexl@redhat.com>
4722 * gio/glocalfileinfo.c:
4723 Add thumbnail:failed to file info
4725 2007-10-12 Richard Hult <richard@imendio.com>
4727 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4728 optimizing away the get_type call (happens with some gcc versions,
4729 like the one shipped with OS X 10.4).
4731 2007-10-12 Alexander Larsson <alexl@redhat.com>
4733 * gio/glocalfileinfo.c:
4734 (_g_local_file_info_set_attribute):
4735 Fix build if not HAVE_XATTR
4736 Patch from Milosz Derezynski <internalerror@gmail.com>
4738 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4740 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4741 around for review, otherwise I would have asked you before
4744 2007-10-11 Alexander Larsson <alexl@redhat.com>
4747 Add thumbnail:path attribute
4749 * gio/glocalfileinfo.c:
4750 Implement thumbnail:path for local files
4752 2007-10-11 Alexander Larsson <alexl@redhat.com>
4754 * gio/glocalfileinfo.c:
4755 (_g_local_file_info_get):
4756 Avoid duplicate icon names
4758 2007-10-11 Alexander Larsson <alexl@redhat.com>
4760 * gio/gthemedicon.[ch]:
4761 Change g_themed_icon_get_names return type to const
4763 2007-10-10 Alexander Larsson <alexl@redhat.com>
4765 * gio/glocalfileinfo.c:
4766 Don't reference freed memory
4768 2007-10-10 Alexander Larsson <alexl@redhat.com>
4770 * gio/gfileattribute.c:
4773 * gio/glocalfileinfo.c:
4776 2007-10-10 Alexander Larsson <alexl@redhat.com>
4779 Check for NULL icons
4781 * gio/gfileattribute.c:
4782 Don't dup when getting objects (same as for string attributes)
4784 * gio/gicon.c (g_icon_equal):
4785 Safely handle NULLs in equal
4787 2007-10-10 Alexander Larsson <alexl@redhat.com>
4790 Fix c++ compilation issues
4791 Patch from Milosz Derezynski <internalerror@gmail.com>
4793 2007-10-10 Alexander Larsson <alexl@redhat.com>
4795 * programs/gio-monitor-dir.c:
4796 Don't crash if dir monitor not supported.
4798 2007-10-09 Alexander Larsson <alexl@redhat.com>
4801 Add missing G_END_DECLS
4803 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4805 * gio/gfile.c: (g_file_set_display_name),
4806 (g_file_query_settable_attributes),
4807 (g_file_query_writable_namespaces):
4808 Return NULL not FALSE on errors as the return type is a pointer.
4810 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4812 * gio/glocalfile.c: (g_local_file_monitor_file):
4813 Don't call monitor_file on the default interface vtable (which
4814 is NULL) but simply return NULL. The caller, GFile, will create a
4815 polling monitor if NULL is returned.
4817 2007-10-09 Alexander Larsson <alexl@redhat.com>
4821 * gio-unix-2.0.pc.in:
4822 Add gio-unix-2.0.pc if OS_UNIX
4825 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4827 2007-10-09 Alexander Larsson <alexl@redhat.com>
4829 * gio/gunixmounts.[ch]:
4830 Make unix mount monitoring API sane.
4831 Now its just a object with mounts_changed
4832 and mountpoints_changed signals.
4834 * gio/glocaldirectorymonitor.c:
4835 * gio/gunixvolumemonitor.c:
4836 Use new mount monitor api
4838 2007-10-09 Alexander Larsson <alexl@redhat.com>
4840 * gio/gunixmounts.[ch]:
4841 Move guess type into one call for mounts and one for mountpoints
4844 * gio/gunixvolume.c:
4847 2007-10-09 Alexander Larsson <alexl@redhat.com>
4849 * gio/gunixmounts.[ch]:
4850 Remove _ prefix in preparation to make this semi-public
4851 Hide implementation of structs
4853 * gio/glocaldirectorymonitor.c:
4855 * gio/gunixvolume.c:
4856 * gio/gunixvolumemonitor.c:
4857 Update for above API changes
4859 2007-10-08 Alexander Larsson <alexl@redhat.com>
4862 Better polling fallback. This also handles the case where we have
4863 a monitor_file implementation, but it fails.
4865 2007-10-08 Alexander Larsson <alexl@redhat.com>
4869 * gio/gunixmounts.c:
4870 * programs/gio-monitor-dir.c:
4871 * programs/gio-monitor-file.c:
4872 Added cancellable to file monitoring calls.
4873 These are really sync calls and need this.
4875 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4877 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4878 (g_local_vfs_class_init):
4879 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4880 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4882 2007-10-05 Alexander Larsson <alexl@redhat.com>
4884 * gio/gdirectorymonitorprivate.h:
4885 * gio/gfilemonitorprivate.h:
4886 * gio/gdirectorymonitor.h:
4887 * gio/gfilemonitor.h:
4888 Remove *private.h and move to the public API, so that
4889 we can do implementations outside gio (such as in gvfs)
4891 * gio/gdirectorymonitor.c:
4892 * gio/gfilemonitor.c:
4893 * gio/glocaldirectorymonitor.c:
4894 * gio/gpollfilemonitor.c:
4895 * gio/inotify/inotify-helper.c:
4896 * gio/fam/fam-helper.c:
4897 Update to the new header names
4899 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4901 * gio/gdirectorymonitor.c:
4902 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4905 2007-10-04 Alexander Larsson <alexl@redhat.com>
4907 * gio/glocalfileinfo.c (get_access_rights):
4908 Set CAN_TRASH when we can move the file.
4909 We should really also check for a parent trash dir.
4911 2007-10-04 Alexander Larsson <alexl@redhat.com>
4913 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4914 Add can_trash access attribute
4916 2007-10-04 Alexander Larsson <alexl@redhat.com>
4919 (g_local_file_trash):
4920 Create info file first. This is per-spec and allows
4921 us to actually trash directories.
4923 2007-10-02 Alexander Larsson <alexl@redhat.com>
4925 * gio/gdesktopappinfo.c:
4926 Implement the new mime support code.
4927 Always set app as handling mimetype when being set as default for it
4929 2007-10-01 Alexander Larsson <alexl@redhat.com>
4931 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4932 Fix up check for xattrs:
4934 2007-10-01 Alexander Larsson <alexl@redhat.com>
4937 (g_app_info_set_as_default_for_extension):
4938 (g_app_info_add_supports_type):
4939 (g_app_info_can_remove_supports_type):
4940 (g_app_info_remove_supports_type):
4941 Make these fail nicely if not implemented
4943 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4945 * gio/glocalfileoutputstream.c:
4946 * gio/glocalfileoutputstream.h:
4951 * programs/gio-save.c:
4952 Add a GFileCreateFlags argument to operations that can create
4955 2007-10-01 Alexander Larsson <alexl@redhat.com>
4957 * gio/gappinfo.[ch]:
4958 * gio/gdesktopappinfo.c:
4959 Add more (stubbed out) mime API needed for nautilus
4961 2007-10-01 Alexander Larsson <alexl@redhat.com>
4964 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4965 Add g_app_info_set_as_default_for_extension.
4967 * gio/gdesktopappinfo.c:
4968 Dummy for g_app_info_set_as_default_for_extension
4969 Support flags in g_app_info_create_from_commandline
4971 * gio/gwin32appinfo.c:
4973 Update for API changes
4975 * gio/gthemedicon.c:
4976 Properly NULL-terminate list of icon names
4978 2007-09-28 Alexander Larsson <alexl@redhat.com>
4980 * gio/gloadableicon.h:
4981 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4983 2007-09-28 Alexander Larsson <alexl@redhat.com>
4986 Install headers in $includedir/gio-standalone/
4988 * gio-2.0.pc.in: Added.
4989 * gio-standalone.pc.in: Removed.
4992 Renamed pkg-config file to match glib (for future move)
4993 Update to the new include dir
4996 Add more TODO comments
4998 2007-09-28 Alexander Larsson <alexl@redhat.com>
5000 * gio/gdesktopappinfo.[ch]:
5001 Expose new_from_filename
5002 Add getter for is_hidden and handle it better
5004 2007-09-28 Alexander Larsson <alexl@redhat.com>
5006 * gio/gfileinfo.[ch]:
5007 Rename g_file_size_format_for_display to
5008 g_format_file_size_for_display.
5009 Now it doesn't have the g_file prefix, so we
5010 can later move it to glib.
5012 2007-09-28 Alexander Larsson <alexl@redhat.com>
5014 * gio/gappinfo.[ch]:
5015 Add g_app_info_get_id and g_app_info_get_executable.
5016 Make all getters non-reffing
5017 Make g_app_info_launch take GFile arguments.
5018 Add must_support_uris argument to g_app_info_get_default_for_type.
5020 * gio/gwin32appinfo.c:
5021 Update to GAppInfo api changes
5023 * gio/gdesktopappinfo.c:
5024 Update to GAppInfo api changes
5025 Implement supports_xdg_startup_notify
5027 * gio/gfileicon.c (g_file_icon_get_file):
5028 Make getter non-reffing.
5033 2007-09-27 Alexander Larsson <alexl@redhat.com>
5035 * gio/gfileinfo.[ch]:
5036 Add g_file_size_format_for_display helper
5038 2007-09-27 Alexander Larsson <alexl@redhat.com>
5040 * gio/glocalfileinfo.c:
5041 Set UNIX_GID from gid, not from uid
5043 2007-09-27 Alexander Larsson <alexl@redhat.com>
5046 Add g_file_set_attributes_async
5048 2007-09-27 Alexander Larsson <alexl@redhat.com>
5050 * gio/glocalfile.c (g_local_file_set_display_name):
5051 Fix set_display_name to actually rename to the right place.
5052 Use lstat to look for existing files so we don't overwrite
5055 2007-09-26 Alexander Larsson <alexl@redhat.com>
5058 Add g_file_set_display_name_async()
5060 2007-09-26 Alexander Larsson <alexl@redhat.com>
5063 Add load_partial_contents async calls
5066 Make internal function static
5068 2007-09-26 Alexander Larsson <alexl@redhat.com>
5070 * gio/glocalfileinfo.c:
5071 Correctly detect broken symlinks
5073 2007-09-26 Alexander Larsson <alexl@redhat.com>
5075 * gio/gcancellable.c (g_cancellable_cancel):
5076 Allow cancel on NULL cancellable
5078 2007-09-25 Alexander Larsson <alexl@redhat.com>
5080 * gio/gsimpleasyncresult.c:
5081 Don't allocate g_error manually.
5082 Fixes g_slice/g_new mixup crash
5084 2007-09-25 Alexander Larsson <alexl@redhat.com>
5086 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5087 Actually set active_backend.
5088 This means the monitor will be cancelled correctly.
5090 2007-09-25 Alexander Larsson <alexl@redhat.com>
5092 * gio/gdirectorymonitor.c:
5093 Set timeout to NULL when destroying
5095 2007-09-25 Alexander Larsson <alexl@redhat.com>
5098 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5099 that is a better description of the error.
5101 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5103 * gio/gvfs.c: (g_vfs_get_local):
5104 Make the local vfs variable static. The same instance should
5107 2007-09-24 Alexander Larsson <alexl@redhat.com>
5109 * gio/glocalfileinfo.c:
5110 Pass in actual length read into sniffer, not the length
5113 2007-09-21 Alexander Larsson <alexl@redhat.com>
5115 * gio/gfileenumerator.c:
5118 * gio/gfileinputstream.c:
5119 * gio/gfileoutputstream.c:
5120 * gio/ginputstream.c:
5121 * gio/goutputstream.c:
5122 Don't crash if async callbacks are NULL
5124 2007-09-20 Alexander Larsson <alexl@redhat.com>
5127 Add async enumerate_children method and default
5130 2007-09-20 Alexander Larsson <alexl@redhat.com>
5133 Add g_file_contains_file & g_file_get_relative_path, since they
5134 were needed for nautilus.
5135 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5140 Implement new methods
5142 2007-09-17 Alexander Larsson <alexl@redhat.com>
5145 * gio/gfileinputstream.[ch]:
5146 * gio/gfileoutputstream.[ch]:
5148 * gio/glocalfileenumerator.[ch]:
5149 * gio/glocalfileinfo.[ch]:
5150 * gio/glocalfileinputstream.c:
5151 * gio/glocalfileoutputstream.c:
5152 * gio/gpollfilemonitor.c:
5153 * programs/gio-copy.c:
5154 * programs/gio-info.c:
5155 * programs/gio-move.c:
5156 Rename get_file_info to query_info() to make it clearer
5157 that these are not simple getters, but do i/o.
5159 2007-09-17 Alexander Larsson <alexl@redhat.com>
5161 * gio/gdatainputstream.[ch]:
5162 * gio/test-streams.c:
5163 Use _read_XXX instead of _get_XXX for the i/o calls
5166 2007-09-17 Alexander Larsson <alexl@redhat.com>
5169 Added needed stuff to TODO comment
5171 2007-09-17 Alexander Larsson <alexl@redhat.com>
5173 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5174 Don't error out removing the backup copy if it doesn't
5177 2007-09-14 Alexander Larsson <alexl@redhat.com>
5179 * programs/Makefile.am:
5180 * programs/gvfs-*.c:
5182 Renamed apps from gvfs-xxx to gio-xxx.
5184 2007-09-14 Alexander Larsson <alexl@redhat.com>
5187 * gio/gfileoutputstream.[ch]:
5188 * gio/glocalfileoutputstream.c:
5189 * programs/gvfs-save.c:
5190 g_file_output_stream_get_etag doesn't do i/o, so remove
5191 cancellation and error.
5193 2007-09-14 Alexander Larsson <alexl@redhat.com>
5196 Add new_etag output to replace_contents functions
5198 2007-09-14 Alexander Larsson <alexl@redhat.com>
5200 * gio/gfileoutputstream.[ch]:
5201 Add async get_file_info and default implementation
5203 2007-09-14 Alexander Larsson <alexl@redhat.com>
5205 * gio/gfileinputstream.c:
5206 Implement fallback wrapper for async get_file_info
5208 2007-09-14 Alexander Larsson <alexl@redhat.com>
5211 Add etag out argument to load_contents
5216 2007-09-14 Alexander Larsson <alexl@redhat.com>
5218 * gio/gcontenttype.c (looks_like_text):
5219 Whitespace like tab, cr and lf do not make the
5222 2007-09-14 Alexander Larsson <alexl@redhat.com>
5224 * gio/gfileinputstream.[ch]:
5225 Add async get_file_info.
5227 2007-09-13 Alexander Larsson <alexl@redhat.com>
5229 * gio/goutputstream.c (g_output_stream_write_all):
5230 Allow NULL for bytes_written
5232 2007-09-13 Alexander Larsson <alexl@redhat.com>
5234 * gio/gmemoryinputstream.[ch]:
5235 Add accessors for data
5237 2007-09-13 Alexander Larsson <alexl@redhat.com>
5239 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5240 Don't crash if length is NULL