1 2008-09-25 Dan Winship <danw@gnome.org>
3 Bug 553426 - cancellable clarifications
5 * gcancellable.c (g_cancellable_class_init): Add a note to the
6 "cancelled" signal docs warning about thread-safety issues
7 (g_cancellable_cancel): Note that cancelling an asynchronous
8 operation takes effect asynchronously, not immediately.
10 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
12 * gioenums.h: Add new GFileCopyFlag, to leave target file with
13 default perms, instead of setting the source file perms, in a copy
16 * gfile.c (g_file_copy_attributes)
17 (build_attribute_list_for_copy)
18 (should_copy): Not copy "unix::mode" attribute if we have received
19 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
21 2008-09-20 Matthias Clasen <mclasen@redhat.com>
23 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
25 2008-09-17 Matthias Clasen <mclasen@redhat.com>
27 * === Released 2.18.1 ===
29 2008-09-16 Michael Natterer <mitch@imendio.com>
31 * gcontenttype.c (g_content_type_guess): can't assign the return
32 value of g_strdupv() to an array. Fill the array manually with
33 const strings instead (it is never freed anyway). Fixes the
34 build. Also fixed indentation.
36 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
38 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
39 Fix trivial typo to unbreak the build (there was a colon
40 instead of a semicolon at the end of a statement).
42 2008-09-15 Matthias Clasen <mclasen@redhat.com>
44 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
47 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
50 2008-09-15 Matthias Clasen <mclasen@redhat.com>
52 Bug 551681 – g_content_type_guess() too naive with filenames
54 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
55 at the end of the filename, and declare it a directory.
56 Patch by Bastien Nocera
58 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
60 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
63 * gdesktopappinfo.c: add a note in the docs clarifying what the
64 "filename" parameter really is.
66 2008-09-12 Tor Lillqvist <tml@novell.com>
68 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
69 FormatMessage() etc here. Call g_win32_error_message() instead
70 which already does all that. Besides, the code was broken as it
71 called the default "A" version of FormatMessage() but still
72 thought it produced a wide string.
74 2008-09-12 Michael Natterer <mitch@imendio.com>
76 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
79 2008-09-08 Christian Neumair <cneumair@gnome.org>
81 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
82 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
83 Use non-blocking pipe for mount helper I/O. Fixes #550647.
85 2008-09-06 Matthias Clasen <mclasen@redhat.com>
87 Bug 551149 – xdgmime mem leak
89 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
90 a memory leak. Patch by Christian Persch
92 2008-09-04 Tor Lillqvist <tml@novell.com>
94 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
97 2008-09-02 Matthias Clasen <mclasen@redhat.com>
99 * === Released 2.18.0 ===
101 2008-09-02 Michael Natterer <mitch@imendio.com>
103 * *.h: big header formatting cleanup: indentation, vtable
104 formatting, consistent spacing in (* vfunc), trailing whitespace
105 removal. Formatting should be pretty consistent in all GIO headers
108 2008-09-02 Matthias Clasen <mclasen@redhat.com>
110 * gmount.h: Document guess_content_type sync vfunc.
112 2008-09-02 Michael Natterer <mitch@imendio.com>
114 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
115 fix parent_class member to be GFilterOutputStreamClass (not
116 GOutputStreamClass). Drop three pointers of padding, which is
117 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
118 so the class struct size stays the same.
120 2008-09-02 Matthias Clasen <mclasen@redhat.com>
122 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
124 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
125 nonexisting return values. Pointed out by Cosimo Cecchi.
127 2008-08-23 Tor Lillqvist <tml@novell.com>
129 Bug 548988 - g_file_replace fails on Windows when the target file
132 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
133 Windows, close the file before potentially renaming it (in case we
134 have been writing to a file with a temporary name).
136 (g_local_file_output_stream_close, handle_overwrite_open): Use
137 GLocalFileStat instead of plain struct stat, for passing to
138 _g_local_file_info_create_etag(). Thus also use _fstati64()
139 instead of plain fstat() on Windows.
141 2008-08-18 Matthias Clasen <mclasen@redhat.com>
143 * === Released 2.17.7 ===
145 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
147 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
150 2008-08-13 Tor Lillqvist <tml@novell.com>
152 * win32/gwinhttpvfs.c
153 * win32/gwinhttpvfs.h
154 * win32/gwinhttpfile.c
155 * win32/gwinhttpfileinputstream.c
156 * win32/gwinhttpfileoutputstream.c: Refactor some common code
157 snippets into helper functions. Check HTTP response status
158 codes. Implement g_winhttp_file_query_info(), looking at
159 Content-Length, Content-Type and Last-Modified.
161 * win32/winhttp.h: Add some symbolic constants that are not
162 publicly documented. Just a handful, so it should be OK to use
163 information from the Windows SDK's headers.
165 2008-08-13 Tor Lillqvist <tml@novell.com>
167 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
170 * win32/gwin32directorymonitor.c
171 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
173 2008-08-13 Matthias Clasen <mclasen@redhat.com>
176 * goutputstream.c: Add intro docs.
178 2008-08-13 Tor Lillqvist <tml@novell.com>
180 * win32/gwinhttpfileoutputstream.c
181 (g_winhttp_file_output_stream_write): Don't write the
182 Content-Length header ourselves, WinHttpSendRequest() takes care
183 of that when the dwTotalLength parameter is non-zero. Increment
184 offset by the number of actual bytes sent, although I wonder if
185 such a scenario is possible where less than requested would be
186 sent and accepted by the server without errors.
188 2008-08-13 Tor Lillqvist <tml@novell.com>
190 * win32/gwinhttpvfs.c
191 * win32/gwinhttpvfs.h
192 * win32/gwinhttpfile.c
193 * win32/gwinhttpfile.h
194 * win32/gwinhttpfileinputstream.c
195 * win32/gwinhttpfileinputstream.h
196 * win32/gwinhttpfileoutputstream.c
197 * win32/gwinhttpfileoutputstream.h: New files implementing
198 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
199 Windows. The implementation uses the WinHttp API. Both reading and
200 writing are supported, i.e. GET and PUT requests. When writing,
201 each write call is done using a separate PUT request with a
202 Content-Range header. Requests for file URIs and plain pathnames
203 are forwarded to GLocalVfs.
205 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
206 WINE. Used as there is no <winhttp.h> bundled with mingw, and
207 requiring people to download the Windows SDK just for this one
208 header is not reasonable.
210 * win32/Makefile.am: Add above files.
212 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
213 the plumbing for the above.
215 2008-08-11 Sven Neumann <sven@gimp.org>
217 * gfilenamecompleter.c
218 * glocaldirectorymonitor.c
220 * gunionvolumemonitor.c
224 * gunixvolumemonitor.c
227 * gwin32volumemonitor.c: use canonical signal names.
229 2008-08-11 Tor Lillqvist <tml@novell.com>
231 * Makefile.am: Put a list of the platform-dependent .la files in
232 the subdirectories in the platform_deps Make variable, and make
233 libgio-2.0.la depend on that, so that it gets relinked if one of
234 the dependent libraries has changed.
236 2008-08-11 Tor Lillqvist <tml@novell.com>
238 * Makefile.am (platform_libadd): Remove -lwininet which had been
239 added by mistake. We will probably eventually be using WinHTTP,
240 not the older WinInet anyway. (Actually I am working on it.)
242 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
244 Bug 547080 – g_file_copy leaks expected errors
246 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
247 before trying the next fallback routine.
249 2008-08-09 Loïc Minier <lool@dooz.org>
251 Bug 535124 – umask 002 not being applied for new directories, new
252 files get the correct umask
254 * gfile.c (g_file_make_directory)
255 (g_file_make_directory_with_parents): Document ownership and
256 permissions of newly created directories as being the default
259 2008-08-08 Loïc Minier <lool@dooz.org>
261 Bug 535124 – umask 002 not being applied for new directories, new
262 files get the correct umask
264 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
267 2008-08-08 Tor Lillqvist <tml@novell.com>
269 * gwin32mount.c: Remove unused code. Whitespace cleanup.
271 * gwin32volumemonitor.c (get_connected_drives): Put questionable
272 code that didn't actually do anything inside #if 0, and add a
273 comment wondering what the code was supposed to do. This also gets
274 rid of a leftover debugging printout.
276 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
278 * gfileicon.c (g_file_icon_get_property)
279 (g_file_icon_set_property): New functions.
280 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
282 (g_file_icon_new): Use the property (bug #546132).
284 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
286 * gthemedicon.c (g_themed_icon_get_property): Also handle
287 `PROP_USE_DEFAULT_FALLBACKS'.
288 (g_themed_icon_class_init): Make
289 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
291 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
293 Bug 546371 – Improve docs re g_file_monitor
295 * gfilemonitor.c: Mention g_file_monitor() in the docs.
297 2008-08-04 Matthias Clasen <mclasen@redhat.com>
299 * === Released 2.17.6 ===
301 2008-08-04 Matthias Clasen <mclasen@redhat.com>
303 * === Released 2.17.5 ===
305 2008-08-04 Matthias Clasen <mclasen@redhat.com>
307 Bug 546017 – Don't copy attributes when copying a symlink
309 * gfile.c (g_file_copy_attributes): Specify
310 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
311 g_file_set_attributes_from_info. Patch by Christian Kellner
313 2008-08-04 Matthias Clasen <mclasen@redhat.com>
315 * gemblemedicon.[hc]:
317 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
318 a bit more extensible. Work by Clemens Buss.
320 * gioenums.h: Add GEmblemOrigin.
323 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
325 Bug 546079 – leak in xdgmime
327 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
329 2008-08-03 Tor Lillqvist <tml@novell.com>
331 * win32/gwin32directorymonitor.h
332 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
335 2008-08-03 Tor Lillqvist <tml@novell.com>
337 * win32/gwin32directorymonitor.c
338 (g_win32_directory_monitor_callback): Make prototype match
339 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
340 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
343 (g_win32_directory_monitor_constructor):
344 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
345 names in the GLib API on Windows, so convert to UTF-16 and open
348 2008-08-03 Tor Lillqvist <tml@novell.com>
350 Bug 541036 - Gnumeric crashes when trying to open Desktop or
351 user's folder under Windows
353 * win32/gwin32directorymonitor.c
354 (g_win32_directory_monitor_constructor): Ignore error from
355 CreateFile() when opening directory. Instead of asserting, just
356 store INVALID_HANDLE_VALUE then in
357 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
358 ReadDirectoryChangesW().
359 (g_win32_directory_monitor_cancel): Don't attempt to close
360 directory handle if it is INVALID_HANDLE_VALUE.
362 2008-08-01 Matthias Clasen <mclasen@redhat.com>
364 * gdesktopappinfo.c: Remove debug spew
366 2008-08-01 Hans Breuer <hans@breuer.org>
368 * makefile.msc : add gemblembedicon
370 2008-07-30 Matthias Clasen <mclasen@redhat.com>
372 Bug 545457 – gdmsetup crashed with SIGSEGV in
373 g_unix_mount_guess_should_display()
375 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
376 crash if no mount is found.
378 2008-07-28 Matthias Clasen <mclasen@redhat.com>
380 Bug 545203 – gfile.c: argument is different type.
382 * gfile.c (open_read_async_thread): Pass a GError **
383 to g_file_set_error_literal.
384 Reported by Kazuki Iwamoto
386 2008-07-28 Matthias Clasen <mclasen@redhat.com>
388 Bug 545157 – wrong/no list of "open with" applications for .cc and
391 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
392 Collect all ancestors, not just direct parents. Pointed
393 out by Bastien Nocera
395 2008-07-28 Matthias Clasen <mclasen@redhat.com>
397 * Makefile.am: Install gemblemedicon.h
399 2008-07-28 Matthias Clasen <mclasen@redhat.com>
401 * gemblemedicon.[hc]: Add a GIcon implementation that can
402 add an emblem to another icon.
409 * gfileicon.c: Small documentation additions.
411 2008-07-28 Tor Lillqvist <tml@novell.com>
413 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
416 2008-07-27 Tor Lillqvist <tml@novell.com>
418 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
420 2008-07-24 David Zeuthen <davidz@redhat.com>
424 Also export a g_mount_guess_content_type_sync() function.
426 2008-07-23 Matthias Clasen <mclasen@redhat.com>
428 529694 – SELinux context setting support
430 * gfileinfo.c: Support setting selinux attributes.
431 Patch by Tomas Bzatek
433 2008-07-22 Priit Laes <plaes@plaes.org>
435 Bug 544140 - fam-helper 64-bit issue?
437 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
439 2008-07-21 Matthias Clasen <mclasen@redhat.com>
441 * === Released 2.17.4 ===
443 2008-07-20 Matthias Clasen <mclasen@redhat.com>
445 * gvolumemonitor.[hc]:
450 * gmount.c: Documentation fixes
452 2008-07-19 Matthias Clasen <mclasen@redhat.com>
454 543504 – crash in Epiphany Web Browser: Opening local file
465 * gvolume.c: Register types thread-safely.
466 Patch by Christian Persch
468 2008-07-18 Matthias Clasen <mclasen@redhat.com>
470 * gcontenttype.c: Remove debug spew
472 2008-07-18 Matthias Clasen <mclasen@redhat.com>
474 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
477 * fen/fen-kernel.c: Remove a warning that was causing
478 crashes. Reported by Lin Ma.
480 2008-07-18 Matthias Clasen <mclasen@redhat.com>
482 Bug 543040 – async reading on dummy file will crash on
485 * gfile.c (open_read_async_thread): Cope with read_fn being
486 NULL. Reported by Lin Ma.
488 2008-07-18 Matthias Clasen <mclasen@redhat.com>
491 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
493 2008-07-16 Matthias Clasen <mclasen@redhat.com>
497 * giomodule.c: Rename a chapter id to avoid filename conflict.
499 2008-07-16 Matthias Clasen <mclasen@redhat.com>
501 Bug 540616 – mem leak in filechooser button
503 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
504 the mount entry. Reported by Chrisitan Persch
506 2008-07-16 Matthias Clasen <mclasen@redhat.com>
508 * gfile.c: Small documentation fixes.
510 2008-07-15 Matthias Clasen <mclasen@redhat.com>
512 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
514 2008-07-08 Matthias Clasen <mclasen@redhat.com>
519 * gmount.c: Documentation improvements.
521 2008-07-08 Matthias Clasen <mclasen@redhat.com>
524 * gmount.[hc]: Add g_mount_guess_content_type().
526 2008-07-06 David Zeuthen <davidz@redhat.com>
529 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
530 is needed for easily handling adoption of foreign volumes by
531 out-of-process volume monitors (#541793)
533 2008-07-06 David Zeuthen <davidz@redhat.com>
535 * gvolumemonitor.[ch]:
536 * gunionvolumemonitor.c: Export the eject-button signal on the
537 volume monitor class (#541794).
539 2008-07-06 Matthias Clasen <mclasen@redhat.com>
541 * gappinfo.c: More doc tweaks
543 2008-07-05 Matthias Clasen <mclasen@redhat.com>
545 * gappinfo.c: Clarify some docs
547 2008-07-03 Matthias Clasen <mclasen@redhat.com>
549 * gdesktopappinfo.c: Fix a stupid mistake.
551 2008-07-02 Matthias Clasen <mclasen@redhat.com>
553 * === Released 2.17.3 ===
555 2008-07-02 Matthias Clasen <mclasen@redhat.com>
557 * gfilemonitor.c: Fix the build.
559 2008-07-02 Matthias Clasen <mclasen@redhat.com>
561 Bug 536160 – Add g_file_monitor()
564 * gfile.[hc]: Add g_file_monitor which can return either
565 a file or a directory monitor. Proposed by Behdad Esfahbod
567 2008-07-02 Matthias Clasen <mclasen@redhat.com>
569 536733 – gio build failure on Irix
571 * glocalfile.c: Use a configure check for structfs.f_bavail.
573 2008-07-02 Matthias Clasen <mclasen@redhat.com>
575 Bug 534639 – add g_desktop_app_info_new_from_keyfile
578 * gdesktopappinfo.[hc]: Add a function to create a
579 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
581 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
583 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
585 2008-07-01 Matthias Clasen <mclasen@redhat.com>
587 * gunixmounts.c: Fix a doc typo.
589 2008-07-01 Cody Russell <bratsche@gnome.org>
591 * gio/gcontenttype.c:
592 * gio/gwin32appinfo.c:
593 * gio/gwin32volumemonitor.c:
594 * gio/gwin32mount.c: Fixed some include problems.
596 2008-07-01 Cody Russell <bratsche@gnome.org>
600 Moved all relevant typedefs into these files.
603 Updated wrt added files.
605 Split types into separate file for easier maintainership. (#538564)
607 2008-06-30 Matthias Clasen <mclasen@redhat.com>
609 Bug 540331 – g_file_append_to () documentation: can return NULL
611 * gfile.c (g_file_append_to): Clarify docs.
614 2008-06-30 Matthias Clasen <mclasen@redhat.com>
616 Bug 539090 – g_content_type_from_mime_type() should unalias
618 * gcontentype.c (g_content_type_from_mime_type): Unalias.
619 Patch by Markus Bergman
621 2008-06-30 Matthias Clasen <mclasen@redhat.com>
623 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
626 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
627 on ppc and alpha. Reported by Mart Raudsepp
629 2008-06-29 Matthias Clasen <mclasen@redhat.com>
632 * tests/memory-output-stream.c: Add some tests for
635 2008-06-29 Matthias Clasen <mclasen@redhat.com>
637 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
640 * gmemoryoutputstream.c (array_resize): Handle truncation to
641 zero correctly. Reported by Akira Tagoh
643 2008-06-29 Matthias Clasen <mclasen@redhat.com>
645 * gmemoryoutputstream.c: Trivial doc fixes
647 2008-06-29 Matthias Clasen <mclasen@redhat.com>
649 Bug 540802 – g_list_prepend doesn't concat lists
651 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
652 one list to another. Pointed out by Jan Arne Petersen
654 2008-06-28 Michael Natterer <mitch@imendio.com>
656 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
658 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
660 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
661 to avoid problems with partial icon themes.
663 2008-06-17 Hans Breuer <hans@breuer.org>
665 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
666 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
667 access again on win32, see bug #538127
668 * giomodule.c : ensure GWin32VolumeMonitor is registered
669 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
670 * Makefile.am makefile.msc : updated
672 2008-06-16 Hans Breuer <hans@breuer.org>
674 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
675 and initialization in one step avoids c99ism
677 2008-06-16 Christian Persch <chpe@gnome.org>
680 * gio/gbufferedinputstream.c
682 * gio/gdatainputstream.c
683 * gio/gdesktopappinfo.c
685 * gio/gfileenumerator.c
686 * gio/gfileinputstream.c
687 * gio/gfileoutputstream.c
689 * gio/glocaldirectorymonitor.c
691 * gio/glocalfileenumerator.c
692 * gio/glocalfileinfo.c
693 * gio/glocalfilemonitor.c
694 * gio/glocalfileoutputstream.c
695 * gio/gmemoryinputstream.c
696 * gio/gmemoryoutputstream.c
697 * gio/goutputstream.c
698 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
701 2008-06-16 Tor Lillqvist <tml@novell.com>
703 Bug 538362 - Get Win32 icons back in the file chooser
705 * gcontenttype.c (g_content_type_get_icon): Look up the icon
706 corresponding to a file extension in the Registry. Patch by Hans
708 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
710 2008-06-16 Tor Lillqvist <tml@novell.com>
712 Patches by Hans Breuer:
714 * glocalfile.c (is_xp_or_later): Handle compiling against older
715 SDK headers with missing VerifyVersionInfo(). Conditioned on
716 _MSC_VER, but should probably use some better test.
717 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
718 uninitialised statfs_result variable on Win32.
720 2008-06-16 Michael Natterer <mitch@imendio.com>
722 * *.c: chain up unconditionally in finalize() and dispose(). Also
723 don't dereference these function pointers when calling them since
724 that has no meaning at all.
726 2008-06-16 Ross Burton <ross@burtonini.com>
729 Remove check for dispose implementation as it annoys Emmanuele.
731 2008-06-16 Ross Burton <ross@burtonini.com>
733 Bug 536252 – GFileEnumerator should allow access to the containing
739 Add g_file_enumerator_get_container() and a container writeable
740 construct-only property. Also shuffle around typedefs to make it
743 * glocalfileenumerator.c:
744 * glocalfileenumerator.h:
746 Instead of a string filename take a GFile in the constructor and
747 use it to set the container property.
752 2008-06-16 Matthias Clasen <mclasen@redhat.com>
754 * gfile.c: Make includes more uniform
756 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
758 * tests/live-g-file.c (sample_struct):
759 Use less fancy unicode filenames, so the test doesn't fail
760 on Mac OS X (#531476).
762 2008-06-12 Matthias Clasen <mclasen@redhat.com>
764 * === Released 2.17.2 ===
766 2008-06-12 Matthias Clasen <mclasen@redhat.com>
768 * === Released 2.17.1 ===
770 2008-06-11 A. Walton <awalton@gnome.org>
772 * tests/g-file.c (test_g_file_new_null):
773 Fix broken test case.
775 2008-06-11 Matthias Clasen <mclasen@redhat.com>
777 * pltcheck.sh: We use g_clear_error now.
779 2008-06-11 Matthias Clasen <mclasen@redhat.com>
781 * glocalfile.c (g_local_file_enumerate_children): Revert
782 an unintended change.
784 2008-06-11 Matthias Clasen <mclasen@redhat.com>
786 * gfile.c (g_file_replace_contents): Don't unref before the last use.
788 2008-06-10 Matthias Clasen <mclasen@redhat.com>
790 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
793 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
794 as icon for the desktop directory, also make user-home and
795 user-desktop the preferred icons.
797 2008-06-10 Matthias Clasen <mclasen@redhat.com>
800 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
801 to add a name to the front of the list.
803 2008-06-10 Matthias Clasen <mclasen@redhat.com>
805 Bug 537392 – Additional colon in xattr name
807 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
808 too. Reported by Alessandro Morandi
810 2008-06-10 Matthias Clasen <mclasen@redhat.com>
812 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
815 * glocalfile.c (get_fs_type): Add afs and autofs.
816 Patch by Danny Baumann.
818 2008-06-10 Matthias Clasen <mclasen@redhat.com>
820 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
822 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
823 is no parent. (Owen Taylor, patch by Christian Neumair)
825 2008-06-10 Paolo Borelli <pborelli@katamail.com>
827 * gfile.c (g_file_replace_contents): do not leak the output stream.
829 2008-06-10 Michael Natterer <mitch@imendio.com>
831 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
832 uninitialized memory as array index.
834 2008-06-10 Tor Lillqvist <tml@novell.com>
836 * gcontenttype.c (g_content_type_can_be_executable)
837 (g_content_type_get_icon) [Win32]: Add TODO comments.
839 2008-06-09 Matthias Clasen <mclasen@redhat.com>
841 * xdgmime/Makefile.am: Fix the build
843 2008-06-09 Matthias Clasen <mclasen@redhat.com>
845 * gcontenttype.c (g_content_type_get_icon): Use icons specified
846 in the shared mime database, if available.
848 * xdgmime/*: Sync with upstream. This brings support for
849 glob weights, generic icons, and changes the cache format to
852 2008-05-28 Michael Natterer <mitch@imendio.com>
854 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
855 the global CPPFLAGS now.
857 * tests/data-input-stream.c
858 * tests/data-output-stream.c
859 * tests/g-file-info.c
861 * tests/live-g-file.c
862 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
864 2008-05-27 Matthias Clasen <mclasen@redhat.com>
866 * === Released 2.17.0 ===
868 * tests/live-g-file.c: Clean up after the tests, so make distcheck
869 doesn't complain about leftover files.
871 2008-05-27 simon.zheng <simon.zheng@sun.com>
873 * glocalfile.c: (g_local_file_query_filesystem_info):
874 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
876 2008-05-26 Michael Natterer <mitch@imendio.com>
878 * gmemoryoutputstream.h: declare
879 g_memory_output_stream_get_data_size().
881 2008-05-26 Matthias Clasen <mclasen@redhat.com>
883 * tests/*: Make tests work
885 2008-05-26 Matthias Clasen <mclasen@redhat.com>
887 * gio.symbols: Add g_memory_output_stream_get_data_size.
889 2008-05-25 Ross Burton <ross@burtonini.com>
892 Fix typo in error message (#534764).
894 2008-05-25 Ross Burton <ross@burtonini.com>
897 Fix circular dependency loop for gioenumtypes.h (#534759).
899 2008-05-19 Hans Breuer <hans@breuer.org>
901 * Makefile.am : EXTRA_DIST += makefile.msc
903 2008-05-17 Matthias Clasen <mclasen@redhat.com>
906 * gcontenttype.c: (g_content_type_from_mime_type):
907 New function to create a content type from a mime type. (#527175,
910 2008-05-17 Matthias Clasen <mclasen@redhat.com>
912 Bug 532965 – Should not return filesystem::free for certain file systems
914 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
915 free space for ncpfs.
917 2008-05-17 Matthias Clasen <mclasen@redhat.com>
919 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
921 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
922 st_dev might be zero.
924 2008-05-16 Tor Lillqvist <tml@novell.com>
926 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
927 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
929 2008-05-13 Bastien Nocera <hadess@hadess.net>
931 * gfile.c (has_valid_scheme): A URI scheme must start with a
932 letter, even if later more characters are allowed (#532852)
934 2008-05-05 Michael Natterer <mitch@imendio.com>
936 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
937 code from being checked in that breaks the build of applications
938 which use G_DISABLE_SINGLE_INCLUDES.
940 * makegioalias.pl: make the alias file include "glib.h" instead of
943 * gio.symbols: whitespace change to force regeneration of the
944 alias file after above script change.
946 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
948 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
950 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
952 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
954 2008-04-28 David Zeuthen <davidz@redhat.com>
956 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
957 displaying mounts in a subdirectory not accessible to the
960 2008-04-22 Michael Natterer <mitch@imendio.com>
962 * Makefile.am: fix library versioning (it was 0.0.0).
964 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
966 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
967 Default disable all loggings.
968 * fen/fen-kernel.c: (printevent), (port_add_kevent),
969 (port_fetch_event_cb): Fixed two macro nits.
971 2008-04-16 Matthias Clasen <mclasen@redhat.com>
973 * xdgmime/xdgmime.c: Rework the timestamp checking code
974 to protect against duplicate directories in XDG_DATA_DIRS.
975 Fixes fd.o bug 12513, reported by Joe Shaw.
977 2008-04-16 Matthias Clasen <mclasen@redhat.com>
979 Partically revert the last commit after realizing that
980 xdg_mime_media_type_equal doesn't have to init at all.
983 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
985 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
987 2008-04-16 Matthias Clasen <mclasen@redhat.com>
989 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
990 reported by Joe Shaw and Federico Mena Quintero.
992 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
993 (xdg_mime_media_type_equal): Turn into a wrapper around the
996 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
997 functions throughout.
999 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1001 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1002 tolerate an empty TryExec= line without failing; nautilus used
1003 to create launchers with these in previous versions. Fixes #528433
1005 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1007 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1008 after name. Fixes #527132.
1010 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1012 * gfile.c: (g_file_replace):
1015 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1017 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1019 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1020 by Christian Kellner.
1022 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1024 * gunixmounts.c: (g_unix_mount_guess_should_display):
1025 Don't list the user directory as a mount, fix potential issue
1026 when other users have a similar naming and don't special case the
1027 gvfs mounts there since that's not required (#525866)
1029 2008-03-31 Alexander Larsson <alexl@redhat.com>
1031 * glocalfile.c (get_parent):
1034 2008-03-31 A. Walton <awalton@svn.gnome.org>
1036 * gfile.c (g_file_query_file_type):
1037 Always return a GFileType enum value (#520715).
1039 2008-03-31 Alexander Larsson <alexl@redhat.com>
1041 * glocalfileenumerator.c:
1042 Read readdir() info in chunks (of 1000) and sort
1043 the chunks by inode before stat:ing.
1044 This is a 20% performance increase in testing
1045 gvfs-ls on /usr/bin with cold cache.
1047 2008-03-31 Alexander Larsson <alexl@redhat.com>
1049 * gmemoryoutputstream.c:
1050 Clarify docs for g_memory_output_stream_get_size.
1051 Add g_memory_output_stream_get_data_size.
1053 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1057 * gfile.h: Add g_file_query_file_type convenience function
1058 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1060 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1062 * gfileenumerator.c:
1063 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1065 2008-03-28 A. Walton <awalton@svn.gnome.org>
1067 * giomodule.c (_g_io_modules_ensure_loaded):
1068 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1071 2008-03-28 Alexander Larsson <alexl@redhat.com>
1074 (copy_stream_with_progress):
1077 2008-03-28 Alexander Larsson <alexl@redhat.com>
1080 (copy_stream_with_progress):
1081 (file_copy_fallback):
1082 Fallback to g_file_query_info for source size
1083 if g_file_input_stream_query_info fails. (#524579)
1085 2008-03-28 Alexander Larsson <alexl@redhat.com>
1087 * glocalfile.c (g_local_file_move):
1088 Reuse old string instead of adding new one.
1090 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1092 * fen/*.[hc]: still copyright issue. I hate copyright.
1094 2008-03-27 Alexander Larsson <alexl@redhat.com>
1096 * glocalfile.c (g_local_file_move):
1097 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1098 file over directory. This is according to the docs and what the move via
1099 copy+remove fallback does.
1101 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1103 * fen/*.[hc]: Updated copyright.
1105 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1107 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1109 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1111 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1112 not emit attribute changed events when optimizing changed events.
1113 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1116 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1118 * gmountoperation.[hc]: Small documentation additions
1120 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1122 * gunixmounts.c: (guess_mount_type):
1123 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1125 2008-03-19 Alexander Larsson <alexl@redhat.com>
1128 (copy_stream_with_progress):
1129 Bump block side for copy to 64k to minimize
1130 overhead for low latency links. (#523015)
1132 2008-03-16 Tor Lillqvist <tml@novell.com>
1134 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1135 depend on gio.def on Windows.
1137 2008-03-12 David Zeuthen <davidz@redhat.com>
1141 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1143 2008-03-14 Alexander Larsson <alexl@redhat.com>
1147 Avoid redudant tests (#521851)
1148 Patch from Josselin Mouette
1150 2008-03-14 Alexander Larsson <alexl@redhat.com>
1153 (g_file_monitor_is_cancelled):
1154 Fix C89 issue (#521672)
1155 Patch from Jens Granseuer
1157 2008-03-14 Alexander Larsson <alexl@redhat.com>
1159 * fam/fam-helper.[ch]:
1161 Shut down fam (including removing fam GSource) when
1162 module is unloaded (#521513)
1163 Patch from Joe Marcus Clarke
1165 2008-03-14 Alexander Larsson <alexl@redhat.com>
1168 (_g_io_modules_ensure_loaded):
1171 2008-03-14 Alexander Larsson <alexl@redhat.com>
1174 (g_local_file_query_filesystem_info):
1175 Use right define name for f_fstypename member check
1177 2008-03-14 Alexander Larsson <alexl@redhat.com>
1180 * fen/Makefile.am: Added.
1181 * fen/fen-data.[ch]: Added.
1182 * fen/fen-dump.[ch]: Added.
1183 * fen/fen-helper.[ch]: Added.
1184 * fen/fen-kernel.[ch]: Added.
1185 * fen/fen-missing.[ch]: Added.
1186 * fen/fen-node.[ch]: Added.
1187 * fen/fen-sub.[ch]: Added.
1188 * fen/gfendirectorymonitor.[ch]: Added.
1189 * fen/gfenfilemonitor.[ch]: Added.
1191 Added Solaris FEN file notification backend.
1192 Patch from Lin Ma <Lin.Ma@Sun.COM>
1194 2008-03-13 Tor Lillqvist <tml@novell.com>
1196 * Makefile.am: Actually use the gio.def file when linking the
1197 library on Windows. Produce .lib library for Microsoft's toolchain
1198 when possible. Install the .lib and .def file like for the other
1201 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1203 * tests/live-g-file.c:
1204 Include live-g-file in standard set of tests, making a temporary
1205 directory in source structure.
1207 Clean target directory before the tests (write mode only)
1209 2008-03-12 Tor Lillqvist <tml@novell.com>
1211 Bug 517419 - gio win32 directory monitor
1212 Implementation by Vlad Grecescu.
1215 * win32/gwin32directorymonitor.h
1216 * win32/gwin32directorymonitor.c: New files.
1218 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1220 * Makefile.am: Add the win32 subdirectory.
1222 2008-03-12 Tor Lillqvist <tml@novell.com>
1224 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1225 normal struct stat on Unix but struct _stati64 on Windows to have
1226 access to 64-bit file size information. Use that instead of struct
1227 stat in the functions declared here in this private header.
1229 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1230 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1231 warnings about unused functions and variables. Don't set
1232 meaningless attributes like inode numbers on Windows.
1234 2008-03-12 Benjamin Otte <otte@gnome.org>
1237 trim whitespace so gtk-doc groks the function name
1239 2008-03-12 Tor Lillqvist <tml@novell.com>
1241 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1242 returning FALSE, on Win32.
1244 2008-03-11 Alexander Larsson <alexl@redhat.com>
1247 * glocalfileinfo.[ch]:
1248 Correctly implement can_trash by actually
1249 looking for a trash dir, not just assuming
1252 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1254 * === Released 2.16.1 ===
1256 2008-03-11 Alexander Larsson <alexl@redhat.com>
1259 Fix crashes in new constructor and properties code
1261 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1263 * gfile.c: Minor spelling correction in documentation:
1264 existance -> existence.
1266 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1268 * === Released 2.16.0 ===
1270 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1272 * gio.symbols: Remove g_file_contains_file here, too.
1274 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1276 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1277 Samuel Cormier-Iijima)
1279 2008-03-08 Tor Lillqvist <tml@novell.com>
1281 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1284 2008-03-07 Alexander Larsson <alexl@redhat.com>
1287 (g_local_file_query_filesystem_info):
1288 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1289 Patch from Jasper Lievisse Adriaanse
1291 2008-03-06 Tor Lillqvist <tml@novell.com>
1293 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1294 comments for the *_USEC attributes.
1296 2008-03-06 Alexander Larsson <alexl@redhat.com>
1298 * gfile.c (g_file_query_exists):
1299 Add g_return_val_if_fail check (#520700)
1301 2008-03-06 Alexander Larsson <alexl@redhat.com>
1303 * gdesktopappinfo.c:
1306 * gunionvolumemonitor.c:
1309 * tests/live-g-file.c:
1310 * xdgmime/xdgmimecache.c:
1311 Fix sparse warnings (#519489)
1313 2008-03-05 Alexander Larsson <alexl@redhat.com>
1316 Make cancellation threadsafe (i.e.
1317 guarantee its only done once, and always
1320 * glocaldirectorymonitor.c:
1321 Make sure we the monitor lives while the
1322 mounts_changed callback is being called (#520484)
1324 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1326 * gbufferedinputstream.c: Fix typo in parameter
1329 2008-03-04 Alexander Larsson <alexl@redhat.com>
1332 Remove deprecated symbols we kept for one release.
1334 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1337 * goutputstream.c: Tiny documentation corrections.
1339 2008-03-03 Alexander Larsson <alexl@redhat.com>
1341 * gunionvolumemonitor.c:
1343 Fix the adopt_orphan_mount vfunc to take a
1344 volume_monitor reference in an ABI compat way.
1345 This change is not API compat, but the added
1346 arg is not used in the only user of this vfunc, so
1347 all we get is a harmless warning in gvfs (#520169)
1349 2008-03-01 Benjamin Otte <otte@gnome.org>
1352 clarify docs for g_file_delete().
1354 2008-02-29 Alexander Larsson <alexl@redhat.com>
1358 Make sure empty files get text/plain type (#518720)
1360 2008-02-27 Alexander Larsson <alexl@redhat.com>
1366 (g_unix_volume_mount):
1367 Add missing GMountMountFlags argument
1369 2008-02-26 Alexander Larsson <alexl@redhat.com>
1372 (g_local_file_delete):
1373 Handle filesystems (like ntfs-3g) that return EEXIST instead
1374 of ENOTEMPTY (#518816)
1376 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1378 * === Released 2.15.6 ===
1380 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1382 * gfile.c (g_file_find_enclosing_mount):
1383 * ginputstream.c (g_input_stream_set_pending):
1384 * glocalfile.c (g_local_file_find_enclosing_mount):
1385 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1386 * goutputstream.c (g_output_stream_set_pending):
1388 Fixup translator comments (#518578).
1390 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1392 * gfile.c (g_file_find_enclosing_mount):
1394 * glocalfile.c (g_local_file_find_enclosing_mount):
1397 Fix a few typos in translator comments and documentation.
1399 2008-02-25 Alexander Larsson <alexl@redhat.com>
1406 Add translator comments (#518578)
1408 2008-02-25 Alexander Larsson <alexl@redhat.com>
1411 Reintroduce g_file_contains_file, keep around for one
1412 unstable release cycle to avoid crashing to many apps.
1413 Make sure to delete after release.
1415 2008-02-25 Alexander Larsson <alexl@redhat.com>
1418 Remove deprecated g_file_contains_file.
1420 2008-02-25 Alexander Larsson <alexl@redhat.com>
1423 Emit actual change signals in an idle handler.
1424 This avoids reentrance and locking problems in
1425 the file notification backends.
1427 2008-02-25 Alexander Larsson <alexl@redhat.com>
1430 (g_unix_mount_guess_should_display):
1431 Remove type guessing, instead just display
1432 mounts in /media and in ~/.
1434 2008-02-25 Alexander Larsson <alexl@redhat.com>
1437 Make new strings reuse old ones.
1439 2008-02-25 Alexander Larsson <alexl@redhat.com>
1442 Implement trashing and filesystem::readonly for win32 (#517235)
1443 Patch from Yevgen Muntyan
1445 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1447 * gfileinfo.h: Documentation fixes.
1449 2008-02-22 Alexander Larsson <alexl@redhat.com>
1451 * gcontenttype.c (g_content_type_get_icon):
1452 Look at old-style gnome mime icon names too, as many
1453 have not moved to the new style.
1455 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1457 * *.c: Correct the @include in for section docs.
1459 2008-02-21 David Zeuthen <davidz@redhat.com>
1461 * glocalfileinfo.c: (_g_local_file_info_get):
1463 (g_content_type_get_icon): Implement this function by
1464 moving bits from glocalfileinfo.c
1465 (g_content_type_get_description): Unalias before getting
1466 description (#517687)
1468 * gfile.c: (g_file_class_init),
1469 (g_file_query_filesystem_info_async),
1470 (g_file_query_filesystem_info_finish),
1471 (query_filesystem_info_data_free),
1472 (query_filesystem_info_async_thread),
1473 (g_file_real_query_filesystem_info_async),
1474 (g_file_real_query_filesystem_info_finish):
1475 * gfile.h: Implement async version of
1476 g_file_query_filesystem_info()
1478 * gfileinfo.h: Add new attributes for filesystem::use-preview
1480 * gio.symbols: Update
1482 * gthemedicon.c: (g_themed_icon_append_name):
1483 * gthemedicon.h: Add new new convenience function.
1485 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1486 (get_mounts), (get_volumes), (get_connected_drives),
1487 (get_volume_for_uuid), (get_mount_for_uuid),
1488 (g_union_volume_monitor_init), (populate_union_monitor),
1489 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1490 (g_volume_monitor_adopt_orphan_mount):
1492 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1493 monitor implementations to call into the main volume monitor. Also
1494 separate object initialization and volume monitor initialization
1495 such that non-native volume monitors can properly adopt their
1498 2008-02-21 Alexander Larsson <alexl@redhat.com>
1503 2008-02-21 Alexander Larsson <alexl@redhat.com>
1506 Add more documentation about how GFiles work (from #517086)
1508 2008-02-21 Alexander Larsson <alexl@redhat.com>
1512 Add new g_file_has_prefix that does the same as g_file_contains_file.
1513 Deprecate g_file_contains_file and add a macro that converts
1514 it to g_file_has_prefix.
1515 The reason for this change is that the contains_file() name seems to
1516 imply that this does more work than what it does, but its really only
1517 a name match (from #517086)
1522 Update to match the above change.
1524 2008-02-20 Benjamin Otte <otte@gnome.org>
1526 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1527 (g_file_eject_mountable):
1528 even more cases of not returning in error path
1530 2008-02-20 Benjamin Otte <otte@gnome.org>
1532 * gfile.c: (g_file_mount_mountable):
1533 return from function in error path.
1535 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1538 Remove trailing coma in GMountMountFlags struct
1540 2008-02-18 Alexander Larsson <alexl@redhat.com>
1544 * glocalfileoutputstream.c:
1545 Use g_unlink/g_rename instead of unlink/rename;
1546 do not pass raw filenames to g_set_error. (#517239)
1547 Patch from Yevgen Muntyan.
1549 2008-02-18 Alexander Larsson <alexl@redhat.com>
1552 * glocalfileoutputstream.c:
1553 Open files with O_BINARY on windows. (#517140)
1555 2008-02-14 Alexander Larsson <alexl@redhat.com>
1557 * glocalfileoutputstream.c:
1558 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1560 2008-02-14 Alexander Larsson <alexl@redhat.com>
1563 Copy permissions with file on copy (#514084)
1564 This is what cp does and makes sure e.g. the
1565 exec permissions are kept.
1566 Its kinda weird in that it keeps the permission bits
1567 the same while the uid and gid are different. However
1568 the new uid is the user so its not a security issue,
1569 and I've heard no complaints about cp on this issue.
1571 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1573 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1575 2008-02-13 Alexander Larsson <alexl@redhat.com>
1577 * inotify/inotify-path.c:
1578 Define IN_ONLYDIR if not in header (#515346)
1580 2008-02-12 Alexander Larsson <alexl@redhat.com>
1582 * tests/live-g-file.c:
1585 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1587 * === Released 2.15.5 ===
1589 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1591 * gio.symbols: Add g_mount_mount_flags_get_type.
1593 2008-02-11 Alexander Larsson <alexl@redhat.com>
1596 (g_file_info_set_attribute_mask):
1597 (g_file_attribute_matcher_matches_id):
1598 Correctly handle NULL GAttributeMatcher meaning
1599 matches nothing. (Fixes #513492)
1601 2008-02-11 Alexander Larsson <alexl@redhat.com>
1606 Added GMountMountFlags enum and added a flags
1607 argument to all mount calls.
1609 This is an API/ABI change for future extensibility,
1610 as I think we will need at least an
1611 inhibit-autorun flag (the panel needs this).
1612 There are no flags defined yet though.
1614 2008-02-11 Alexander Larsson <alexl@redhat.com>
1617 Added new standard::description attribute.
1618 Requested by Vincent, and useful for both
1621 2008-02-11 Alexander Larsson <alexl@redhat.com>
1623 * gdesktopappinfo.c:
1626 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1628 * *.c: Documentation additions
1630 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1632 * gappinfo.h: Formatting cleanup
1633 * gappinfo.c: Fix up docs.
1635 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1637 * gunixmounts.c: Consistently use getmntent_r() and fall
1638 back to getmntent(). (#515492)
1640 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1642 * gbufferedinputstream.c:
1644 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1646 * tests/data-input-stream.c:
1647 * tests/data-output-stream.c: Portability fixes.
1649 2008-02-08 Alexander Larsson <alexl@redhat.com>
1654 Add g_volume_should_automount.
1657 2008-02-07 Tor Lillqvist <tml@novell.com>
1659 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1660 Win32, too Unix-specific.
1662 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1664 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1665 a local plt if the compiler doesn't support what we want. Bug #514702
1667 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1669 reviewed by: <delete if not using a buddy>
1672 * gunixinputstream.c:
1673 * gunixoutputstream.c:
1675 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1677 * tests/Makefile.am:
1678 * tests/live-g-file.c:
1679 * tests/live-g-file.txt:
1680 New GIO testing module working over real data
1682 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1684 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1685 Fallback to rename() if link() is not available
1686 (when no support on target filesystem)
1688 2008-02-06 Michael Natterer <mitch@imendio.com>
1690 * gfileinfo.c (g_file_info_get_icon): replace
1691 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1693 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1695 * gfile.c (g_file_create):
1696 Documentation update of error codes
1698 2008-02-06 Alexander Larsson <alexl@redhat.com>
1700 * gdesktopappinfo.c:
1701 Update to use both mimeapps.list and
1702 defaults.list as discussed on xdg list.
1704 2008-02-06 Benjamin Otte <otte@gnome.org>
1707 * gfilenamecompleter.c:
1708 Fix some typos in the documentation.
1710 2008-02-06 Alexander Larsson <alexl@redhat.com>
1712 * glocalfile.c (g_local_file_trash):
1713 Don't succeed with trash if newly created
1714 trash dir has the wrong owner. (#514696)
1716 2008-02-05 Alexander Larsson <alexl@redhat.com>
1718 * glocalfile.c (g_local_file_move):
1719 Don't spew warnings when destination is not
1722 2008-02-03 Hans Breuer <hans@breuer.org>
1724 * makefile.msc : update
1726 2008-02-01 Michael Natterer <mitch@imendio.com>
1728 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1729 return value of xdg_mime_list_mime_parents() to a variable of the
1732 2008-02-01 Alexander Larsson <alexl@redhat.com>
1734 * gappinfo.c (g_app_info_launch_uris):
1735 Actually call the launch_uris method, not
1738 2008-02-01 Alexander Larsson <alexl@redhat.com>
1740 * gdesktopappinfo.c (g_desktop_app_info_equal):
1741 Ensure appinfos with no id but same pointer value
1744 2008-02-01 Alexander Larsson <alexl@redhat.com>
1746 * gappinfo.c (g_app_info_launch_default_for_uri):
1749 2008-02-01 Alexander Larsson <alexl@redhat.com>
1753 Add g_app_info_launch_default_for_uri utility
1756 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1758 * gdesktopappinfo.c:
1759 Doc fix for g_app_info_get_default_for_uri_scheme ()
1762 2008-01-30 Alexander Larsson <alexl@redhat.com>
1765 Add doc comment about uris vs GFiles to
1768 * gdesktopappinfo.c:
1769 Ensure uris passed to g_app_info_launch_uris()
1770 are not roundtriped through GFile (as that
1771 may be slightly destructive for e.g. mailto: links)
1773 2008-01-30 Alexander Larsson <alexl@redhat.com>
1775 * tests/data-input-stream.c:
1776 * tests/data-output-stream.c:
1777 C89 fixes from Jens Granseuer (#512849)
1779 2008-01-30 Alexander Larsson <alexl@redhat.com>
1782 Fix gamin/fam difference build issue. (#509419)
1784 2008-01-29 Alexander Larsson <alexl@redhat.com>
1787 * gdesktopappinfo.c:
1788 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1790 2008-01-29 Alexander Larsson <alexl@redhat.com>
1792 * gdesktopappinfo.c:
1793 * gdesktopappinfo.h:
1794 giomodule-priv.h include moved to .c file.
1796 2008-01-29 Alexander Larsson <alexl@redhat.com>
1798 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1799 Remove unused prio/name fields.
1801 2008-01-29 Alexander Larsson <alexl@redhat.com>
1803 * gcontenttype.c (looks_like_text):
1804 Don't treat whitespace as control chars.
1806 2008-01-29 Alexander Larsson <alexl@redhat.com>
1808 * gdesktopappinfo.c:
1809 Lazily create the desktop files for appinfos created
1810 by g_app_info_create_from_commandline() when needed
1811 for mime associations. This allows run-time use
1812 of GAppInfo object without creating unnecessary
1815 2008-01-29 Alexander Larsson <alexl@redhat.com>
1818 Added new symbols to gio.symbols
1820 2008-01-29 Alexander Larsson <alexl@redhat.com>
1823 Add g_file_query_default_handler utility to easily look up
1824 the GAppInfo that handles a file.
1826 * gdesktopappinfo.[ch]:
1828 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1831 Remove unused function
1833 2008-01-29 Alexander Larsson <alexl@redhat.com>
1835 * gfileenumerator.c:
1836 Mention need to free returned value in
1837 g_file_enumerator_next_files_finish docs.
1838 Fix leak if g_file_enumerator_next_files_finish()
1841 2008-01-29 Alexander Larsson <alexl@redhat.com>
1844 (_g_unix_content_type_get_parents):
1845 Use list_parents, not get_parents from xdgmime, because
1846 the later doesn't use the cache.
1848 * xdgmime/xdgmimecache.c:
1849 (_xdg_mime_cache_list_mime_parents):
1850 Don't list the same type as parent multiple times.
1852 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1854 * === Released 2.15.4 ===
1856 2008-01-28 Alexander Larsson <alexl@redhat.com>
1859 Register local vfs with prio 0.
1862 Remove old name and prio class members
1864 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1866 * tests/g-file.c: Disable some tests that are failing in
1867 the absence of a http backend.
1869 2008-01-28 Alexander Larsson <alexl@redhat.com>
1873 Add registration hooks for extension points.
1874 Register the gio extension points.
1876 * fam/gfamdirectorymonitor.c:
1877 * fam/gfamfilemonitor.c:
1878 * glocaldirectorymonitor.[ch]:
1879 * glocalfilemonitor.[ch]:
1880 * gnativevolumemonitor.h:
1881 * gunionvolumemonitor.c:
1882 * gunixvolumemonitor.c:
1885 * inotify/ginotifydirectorymonitor.c:
1886 * inotify/ginotifyfilemonitor.c:
1887 Use the extension points registration instead
1888 of g_type_children().
1890 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1893 * gvolume.[hc]: Document new API.
1895 * gfile.c (g_file_copy_async): Fix docs
1897 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1899 * gbufferedinputstream.c:
1901 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1904 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1906 * glocalfile.c: Avoid trivial differences in translatable strings.
1908 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1910 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1911 build with gcc 3.4 (#509419)
1913 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1915 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1916 (#509994, Murray Cumming)
1918 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1920 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1921 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1922 this allows big jobs to be executed in chunks, instead of blocking
1923 the main loop for a long time.
1925 * gsimpleasyncresult.c:
1926 * giofile.c: Adapt callers.
1928 2008-01-25 Alexander Larsson <alexl@redhat.com>
1930 * gdesktopappinfo.c:
1931 Implement changes discussed on xdg list.
1932 Now we can add supported mimetypes by just using defaults.list
1933 We can also remove associations in defaults.list.
1935 2008-01-25 Alexander Larsson <alexl@redhat.com>
1937 * gdesktopappinfo.c:
1938 Don't make local copy of desktop file
1939 for mimetype changes if the file already
1940 supports the new mimetype.
1942 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1946 * gbufferedinputstream.c:
1947 * glocalfile.c: String improvements. (#511966,
1948 Theppitak Karoonboonyanan)
1950 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1952 * gioscheduler.h: Expand docs a bit.
1954 2008-01-24 Alexander Larsson <alexl@redhat.com>
1957 Add g_drive_get_identifier and
1958 g_drive_enumerate_identifiers
1961 Add g_volume_get_identifier and
1962 g_volume_enumerate_identifiers
1968 Implement identifiers for unix backend
1970 2008-01-24 Alexander Larsson <alexl@redhat.com>
1975 Add g_file_copy_async() (#511580)
1976 Based on patch from Carlos Garcia Campos
1978 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1980 * gioscheduler.c: Some documentation additions.
1982 2008-01-22 Alexander Larsson <alexl@redhat.com>
1984 * gdesktopappinfo.c:
1985 (g_desktop_app_info_new):
1986 Don't leak basename.
1988 2008-01-22 Alexander Larsson <alexl@redhat.com>
1990 * gdesktopappinfo.c:
1991 (g_desktop_app_info_new_from_filename):
1994 2008-01-22 Alexander Larsson <alexl@redhat.com>
1996 * glocalfileinfo.c (get_thumbnail_attributes):
1999 2008-01-22 Alexander Larsson <alexl@redhat.com>
2002 (canonicalize_filename):
2003 Canonicalize paths that start with more than
2007 (compare_two_files):
2008 (test_g_file_new_for_path):
2011 2008-01-22 Alexander Larsson <alexl@redhat.com>
2014 Allow UTF-8 in file:// parse names.
2016 * tests/Makefile.am:
2017 * tests/data-input-stream.c:
2018 * tests/data-output-stream.c:
2019 * tests/g-file-info.c:
2021 Added a bunch of tests from Tomas Bzatek
2023 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2025 * === Released 2.15.3 ===
2027 2008-01-21 Alexander Larsson <alexl@redhat.com>
2029 * gfileinputstream.[ch]:
2030 * gfileoutputstream.[ch]:
2032 Remove duplicated GSeekable functions. (#509990)
2033 Just use the g_seekable_xxx() calls instead.
2035 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2038 * gvolumemanager.c: Whitespace cleanups.
2040 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2041 Use the right mode when creating the file.
2043 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2045 * gfileenumerator.c:
2046 * gfileinputstream.c:
2048 * goutputstream.c: Documentation: Fixed minor typos
2049 and added more mentions of specific _finish() functions.
2051 2008-01-21 Alexander Larsson <alexl@redhat.com>
2053 * inotify/Makefile.am:
2054 * inotify/inotify-helper.c:
2055 * inotify/inotify-kernel.c:
2056 * inotify/inotify-path.c:
2057 * inotify/local_inotify.h: Removed.
2058 * inotify/local_inotify_syscalls.h: Removed.
2059 Removed the included copies of the inotify
2060 headers. We now only use the <sys/inotify.h>
2061 header which exists on modern systems.
2062 This fixes problems on ARM and SH5 (#510448)
2063 but is also generally much cleaner and future
2064 safe. For instance, if other OSes add support
2065 for inotify it should "just work".
2067 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2069 * inotify/*.c: Coding style fixes.
2070 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2071 for the 1/4 Hz timer.
2073 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2076 * gfilemonitor.[hc]:
2077 * gmemoryinputstream.c:
2078 * gmemoryoutputstream.c:
2079 * gmountoperation.c:
2080 * gthemedicon.c: Documentation updates
2082 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2084 * gfile.c: documentation: Fixed more minor
2087 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2089 * gmount.c: (g_mount_remount): documentation:
2090 Mention g_mount_remount_finish() instead of
2091 g_mount_unmount_finish().
2093 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2097 * gfile.c: Fixed some minor typos in the
2100 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2102 * gio/gvolumemonitor.c:
2103 (g_volume_monitor_get_connected_drives):
2104 (g_volume_monitor_get_volumes):
2105 (g_volume_monitor_get_mounts): Documentation:
2106 Clarify the ownership of the regurn GLists.
2108 2008-01-17 Alexander Larsson <alexl@redhat.com>
2111 Add the async find_enclosing_mount version
2112 to the header file too.
2114 2008-01-17 Alexander Larsson <alexl@redhat.com>
2117 Add async version of find_enclosing_mount
2118 with default implementation.
2120 2008-01-17 Alexander Larsson <alexl@redhat.com>
2125 Allow calls to implementation of copy and write
2126 even if the type of the file implementations is
2127 different. This can be used to implement native
2128 upload and download calls in a vfs.
2131 (g_local_file_move):
2132 Protect against the case where move is called
2133 with one file not being local.
2135 Make sure we call the progress callback once
2136 in the native move operation so that the caller
2137 knows how many bytes were copied.
2139 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2142 * gdatainputstream.c:
2144 * gfileoutputstream.c:
2149 * gunixmounts.c: Corrected some typos in the documentation:
2150 occured -> occurred.
2151 its -> it's (where appropriate).
2153 2008-01-16 Alexander Larsson <alexl@redhat.com>
2157 Add g_file_query_exists (#508771)
2159 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2164 * gvolume.c: For async functions that have no non-async
2165 version, document that the GAsyncReadyCallback may be NULL.
2168 2008-01-15 Alexander Larsson <alexl@redhat.com>
2170 * gmemoryinputstream.c:
2171 * gmemoryoutputstream.c:
2172 Don't do pointer arithmetic on void * (#508602)
2173 Patch from Kazuki IWAMOTO
2175 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2177 * === Released 2.15.2 ===
2179 2008-01-14 Alexander Larsson <alexl@redhat.com>
2181 * gfile.c (g_file_monitor_file):
2182 Don't set error here, since we fallback to polling monitor.
2184 2008-01-14 Alexander Larsson <alexl@redhat.com>
2187 (g_file_monitor_directory):
2188 (g_file_monitor_file):
2189 Add GError to file monitor calls
2191 * glocaldirectorymonitor.c:
2192 * glocaldirectorymonitor.h:
2194 * glocalfilemonitor.c:
2195 * glocalfilemonitor.h:
2197 Update for above change
2199 2008-01-14 Alexander Larsson <alexl@redhat.com>
2203 Handle root correctly in g_file_get_relative_path (#508719)
2205 2008-01-14 Alexander Larsson <alexl@redhat.com>
2208 Clean up docs and example for GAsyncResult (#508074)
2210 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2212 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2213 and correct some spelling mistakes. Bug #508108.
2215 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2217 * glocalfileinfo.c: Add a comment.
2219 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2221 * gfileinfo.c: GFileInfo description: Mention
2222 how to actually set attributes in a GFile and how to discover
2223 which attributes are settable. Bug #508378.
2225 2008-01-10 A. Walton <awalton@svn.gnome.org>
2227 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2228 (g_app_info_get_default_for_type):
2229 Check for NULL content types.
2231 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2233 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2235 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2237 * gfile.c: *_async() functions: Several small corrections
2238 to the documentation, mostly correcting copy/paste errors
2239 and improving some sentences.
2241 2008-01-09 Dan Winship <danw@gnome.org>
2243 * glocalfile.c (get_unique_filename): x86_64 fix
2245 2008-01-09 Alexander Larsson <alexl@redhat.com>
2250 Add g_unix_mount_guess_should_display and use
2251 for unix volume monitor backend.
2252 This means we more or less show what the
2253 gnome-vfs backend did.
2254 Based on patch from Padraig O'Briain
2256 2008-01-09 Alexander Larsson <alexl@redhat.com>
2260 Add g_themed_icon_new_with_default_fallbacks
2263 Use default fallbacks for icons
2265 2008-01-09 Alexander Larsson <alexl@redhat.com>
2268 * gmountoperation.[ch]:
2269 Change the API a bit so that unhandled methods
2270 get reported via the reply, rather than by
2271 the signal emission return value. This is because
2272 some handlers can't know this immediately without
2273 doing I/O, and this is an async operation that
2276 2008-01-09 Alexander Larsson <alexl@redhat.com>
2279 * fam/gfamdirectorymonitor.c:
2280 * fam/gfamfilemonitor.c:
2281 Fix double free crash (#508224)
2282 Patch from Joe Marcus Clarke
2284 008-01-07 Matthias Clasen <mclasen@redhat.com>
2286 * === Released 2.15.1 ===
2288 2008-01-07 Alexander Larsson <alexl@redhat.com>
2290 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2291 Fix warning (#507835)
2293 2008-01-07 Alexander Larsson <alexl@redhat.com>
2296 Pass --internal to glib-genmarshal
2299 * gmountoperation.c:
2301 Use better types for signal arguments (#507822)
2303 2008-01-07 Alexander Larsson <alexl@redhat.com>
2306 Build test subdir after .
2307 Remove gdirectorymonitor.[ch]
2309 * gdirectorymonitor.[ch]:
2313 Remove GDirectoryMonitor and make
2314 GFileMonitor the baseclass for both file and
2315 directory monitors. Lift the more generic
2316 rate limiting code from GDirectoryMonitor
2320 * fam/gfamdirectorymonitor.[ch]:
2321 * inotify/ginotifydirectorymonitor.[ch]:
2322 * inotify/inotify-helper.c:
2323 * glocaldirectorymonitor.[ch]:
2326 Update for the removed GDirectoryMonitor.
2328 * gmemoryoutputstream.c:
2329 Remove ununsed variable
2331 2008-01-07 Alexander Larsson <alexl@redhat.com>
2333 * gmemoryinputstream.c:
2334 Translate error strings
2337 * gmemoryoutputstream.[ch]:
2338 New implementation that avoids using GByteArray
2339 in implementation and API. (#506377)
2341 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2343 * tests/*: Add a test for memory input streams.
2345 * Makefile.am: Add tests to SUBDIRS.
2347 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2349 * glocalfilemonitor.c:
2350 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2353 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2355 * gdesktopappinfo.c: Fix a docs typo.
2357 * gfileattribute.c: Add information about extended attributes
2358 to the documentation. (#505058)
2360 2008-01-04 Alexander Larsson <alexl@redhat.com>
2363 * gmountoperation.c:
2364 Use the right type (uint) for the ask_password signal.
2366 2008-01-04 Alexander Larsson <alexl@redhat.com>
2371 Add g_app_info_supports_files()
2372 Remove desktop arg from g_app_info_should_show().
2374 * gdesktopappinfo.[ch]:
2375 Implement g_app_info_supports_files() and new should_show()
2376 Add g_desktop_app_info_set_desktop_env() to set the desktop
2377 for should_show(). (This will be set by gtk+ later)
2379 2008-01-04 Alexander Larsson <alexl@redhat.com>
2382 * gmemoryinputstream.[ch]:
2383 Improve API so that you can use multiple chunks
2384 of memory and custom destroy functions. (#506374)
2386 2008-01-03 Alexander Larsson <alexl@redhat.com>
2389 Handle NULL attribute matchers safely, as we return this
2390 for empty attribute matcher strings.
2392 2008-01-03 Alexander Larsson <alexl@redhat.com>
2394 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2395 Add /usr/local to list of internal mountpoints
2397 2008-01-03 Alexander Larsson <alexl@redhat.com>
2400 Check for HAVE_LCHOWN (#505887)
2402 2008-01-03 Alexander Larsson <alexl@redhat.com>
2406 Add define for selinux context attribute.
2407 Fix missing : -> :: namespace separator change
2408 Fix missing _ -> - name change for xattr-sys.
2411 2008-01-03 Alexander Larsson <alexl@redhat.com>
2414 Link to libglib and libgobject directly (#504879)
2415 Patch from Sebastien Bacher
2417 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2419 * gfile.c: Expanded the g_file_new_for_commandline_arg
2420 description a bit, based on the code and the docs of the
2421 other g_file_new_for_* functions.
2423 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2425 * gfilemonitor.h: Fixed typo in docs.
2427 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2429 Updates to GIO documentation. (#506395, Mikael Hermansson)
2431 * gcontenttype.c: Describe memory management for return value of
2432 g_content_types_get_registered(). Missing piece from #505815.
2433 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2434 GVolume, GDrive, GMounts, which hopefully gives the user less
2435 confusions when using this API. Following explainations from
2436 Alexander Larsson on gtk-devel-list.
2438 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2440 * gfileinfo.c: Expand the long description.
2442 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2445 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2446 fix builds with --disable-visibility. (#500273, Christian Persch)
2448 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2450 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2451 in the list of returned app infos.
2453 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2455 * gappinfo.c: Fix a cross-reference
2457 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2459 * gfileinputstream.c:
2460 * gfileoutputstream.c:
2464 * gdesktopappinfo.c:
2466 * gfileinfo.c: Documentation updates.
2468 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2470 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2473 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2475 * gcontenttype.c (g_content_types_get_registered): Don't return
2476 freed memory (#505815, Mikael Hermansson)
2478 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2480 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2481 used to detect statbuf->st_blocks. (#505042)
2483 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2485 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2486 environment handling. (#504829, Cosimo Cecchi)
2488 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2490 * gappinfo.c: Doc improvements
2492 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2495 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2497 * === Released 2.15.0 ===
2499 2007-12-20 Hans Breuer <hans@breuer.org>
2501 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2502 with symbols gwin32appinfo.obj, added gmount.obj
2503 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2505 2007-12-20 Alexander Larsson <alexl@redhat.com>
2511 * gfilenamecompleter.c:
2514 * gpollfilemonitor.c:
2515 File attribute renames:
2517 fs:: -> filesystem::
2518 id::fs -> id::filesystem
2520 2007-12-20 Alexander Larsson <alexl@redhat.com>
2529 Add GMountUnmountFlags to all unmount and
2531 Add g_mount_remount() call.
2533 2007-12-20 Alexander Larsson <alexl@redhat.com>
2535 * gvfs.c (get_default_vfs):
2536 Fix unused variable warning
2538 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2540 * pltcheck.sh: Update
2542 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2544 * gunionvolumemonitor.c:
2545 * gunixmount.c: Remove C99 comments
2547 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2549 * gio.symbols: Add some missing symbols
2551 2007-12-19 Alexander Larsson <alexl@redhat.com>
2554 Make g_io_modules_load_all_in_directory not unuse
2555 loaded modules so that users of it can do stuff
2557 Init internal "module" types.
2558 Initialize static prio and name for types so that
2559 we don't have to load modules to get it.
2561 * gnativevolumemonitor.h:
2563 Move is_supported to parent class so that
2564 non-native monitors can avoid being initialized
2565 too. (For instance GDaemonVolumeMonitor if we're
2566 not using GDaemonVfs.)
2568 * glocaldirectorymonitor.[ch]:
2569 * glocalfilemonitor.[ch]:
2570 * gunionvolumemonitor.c:
2571 * gunixvolumemonitor.c:
2573 Find plugins using the static prio+name to
2574 avoid unnecessarily loading the modules.
2576 2007-12-19 Alexander Larsson <alexl@redhat.com>
2581 2007-12-19 Alexander Larsson <alexl@redhat.com>
2583 * gunionvolumemonitor.c:
2584 Store the native type as GType, not class so that
2585 we can unload it. But still avoid unnecessarily
2588 2007-12-19 David Zeuthen <davidz@redhat.com>
2590 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2591 add signals 'disconnected' and 'eject-button' on GDrive. Add
2592 signal 'removed' on GVolume and 'unmounted' on GMount.
2594 * gdrive.c: (g_drive_base_init):
2596 * gfile.c: (g_file_mount_mountable),
2597 (g_file_mount_enclosing_volume):
2600 * gmount.c: (g_mount_base_init):
2602 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2603 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2604 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2608 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2610 * *.c: Fix up includes in the section docs.
2612 2007-12-17 Alexander Larsson <alexl@redhat.com>
2614 * gnativevolumemonitor.h:
2615 * gunionvolumemonitor.c:
2616 * gunixvolumemonitor.c:
2617 Add is_supported() to GNativeVolumeMonitorClass so
2618 that we can avoid having to create an object to see
2619 if the backend is supported at runtime.
2620 Also add name member and an env var to pick a specific
2621 volume monitor backend.
2625 Add cancellable to _g_mount_get_for_mount_path()
2627 * glocaldirectorymonitor.c:
2628 * glocalfilemonitor.c:
2629 Avoid loading and unloading modules while sorting.
2631 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2634 * gunixmounts.[hc]: Namespace waste reduction, move some
2635 g_get_unix_mount functions to the g_unix_mount namespace.
2638 * gunixvolumemonitor.c:
2640 * glocaldirectorymonitor.c: Update all callers.
2642 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2644 2007-12-17 Alexander Larsson <alexl@redhat.com>
2647 Add doc comments about what GFile operations are
2648 guaranteed to not block.
2650 2007-12-17 Alexander Larsson <alexl@redhat.com>
2653 Add missing #ifdef fixing OSX build.
2654 (#503334, patch from Richard Hult)
2656 2007-12-14 David Zeuthen <davidz@redhat.com>
2660 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2661 (g_mount_eject), (g_mount_eject_finish):
2663 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2664 (get_volume_for_uuid), (get_mount_for_uuid),
2665 (g_union_volume_monitor_class_init),
2666 (get_default_native_type_with_exclude), (get_default_native_type),
2667 (get_native_type), (update_native_type),
2668 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2669 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2670 (g_unix_mount_can_eject), (eject_unmount_cb),
2671 (eject_unmount_read_error), (eject_unmount_do),
2672 (g_unix_mount_unmount), (g_unix_mount_eject),
2673 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2674 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2675 (g_unix_mount_point_guess_can_eject):
2677 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2678 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2679 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2680 (g_unix_volume_mount), (g_unix_volume_eject),
2681 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2682 * gunixvolumemonitor.c: (get_volume_for_uuid),
2683 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2685 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2686 (g_volume_eject), (g_volume_eject_finish):
2688 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2689 (g_volume_monitor_get_mount_for_uuid):
2692 Provide eject() on both GMount and GVolume and utility functions
2693 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2694 ejected. Introduce the concept of UUID's and wire it into GVolume
2695 and GMount and provide API on GVolumeMonitor to find such
2696 instances. Also handle the case where an external
2697 GNativeVolumeMonitor fails to initialize. Lock around the
2698 _g_get_mount_for_mount_path() function such that volume monitor
2699 implementations won't have to do locking themselves.
2701 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2703 * gdesktopappinfo.c:
2709 * gvolume.h: Documentation updates
2711 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2714 * gfile.h: Doc updates
2716 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2719 * gdesktopappinfo.c: Use hash table iterators.
2721 2007-12-14 Alexander Larsson <alexl@redhat.com>
2724 * gfileattribute.[ch]:
2725 * gfileattribute-priv.h:
2726 Move GFileAttributeValue to a private header, as
2730 Make set_attribute take a type + a pointer instead
2731 of a GFileAttributeValue.
2734 Fix up for above changes.
2735 Add g_file_info_get_attribute_data to get
2736 all info in one call, g_file_info_get_attribute_status
2737 to get the status and g_file_info_get_attribute_as_string.
2741 * glocalfileinfo.[ch]:
2745 Make _guess_type static.
2747 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2750 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2751 made mkenums and friends use temporary files to avoid leaving
2752 empty generated files on failure (#503470).
2754 2007-12-14 Alexander Larsson <alexl@redhat.com>
2756 * gmountoperation.h:
2759 2007-12-14 Alexander Larsson <alexl@redhat.com>
2763 * gfileattribute.[ch]:
2766 * glocalfileoutputstream.c:
2767 * gmountoperation.[ch]:
2768 * goutputstream.[ch]:
2769 Clean up all flags enums to not have _FLAGS in them
2770 Make the names of some of the enums better.
2775 2007-12-14 Michael Natterer <mitch@imendio.com>
2777 * gio.symbols: fix g_io_scheduler symbol names.
2779 2007-12-14 Alexander Larsson <alexl@redhat.com>
2785 * gbufferedinputstream.h:
2786 * gbufferedoutputstream.h:
2789 * gdatainputstream.h:
2790 * gdataoutputstream.h:
2791 * gdesktopappinfo.h:
2792 * gdirectorymonitor.h:
2796 * gfileenumerator.h:
2799 * gfileinputstream.h:
2801 * gfilenamecompleter.h:
2802 * gfileoutputstream.h:
2803 * gfilterinputstream.h:
2804 * gfilteroutputstream.h:
2812 * gmemoryinputstream.h:
2813 * gmemoryoutputstream.h:
2815 * gmountoperation.h:
2818 * gsimpleasyncresult.h:
2820 * gunixinputstream.h:
2822 * gunixoutputstream.h:
2826 * inotify/Makefile.am:
2827 Only allow including <gio/gio.h> from apps
2829 2007-12-14 Alexander Larsson <alexl@redhat.com>
2831 * gioscheduler.[ch]:
2832 * gsimpleasyncresult.c:
2833 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2834 Split out the send_to_mainloop call into two versions instead
2835 of having the block argument.
2837 2007-12-13 Alexander Larsson <alexl@redhat.com>
2839 * gcancellable.[ch]:
2841 * gbufferedinputstream.c:
2842 * gfileenumerator.c:
2843 * gfileinputstream.c:
2844 * gfileoutputstream.c:
2848 g_push/pop_current_cancellable ->
2849 g_cancellable_push/pop_current
2851 2007-12-13 Alexander Larsson <alexl@redhat.com>
2855 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2857 2007-12-13 Alexander Larsson <alexl@redhat.com>
2859 * gmountoperation.h:
2860 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2862 2007-12-12 Alexander Larsson <alexl@redhat.com>
2865 Fix race condition when freeing proxy in
2866 g_io_job_send_to_mainloop().
2868 2007-12-12 Alexander Larsson <alexl@redhat.com>
2874 Make attribute namespace separator "::" instead of ":".
2875 Use - instead of _ as separator in attribute names.
2877 2007-12-12 Alexander Larsson <alexl@redhat.com>
2879 * gbufferedinputstream.h:
2880 * gbufferedoutputstream.h:
2881 * gdatainputstream.h:
2882 * gdataoutputstream.h:
2883 * gdirectorymonitor.h:
2884 * gfileenumerator.h:
2885 * gfileinputstream.h:
2887 * gfileoutputstream.h:
2888 * gfilterinputstream.h:
2889 * gfilteroutputstream.h:
2891 * glocalfileinputstream.h:
2892 * glocalfileoutputstream.h:
2893 * gmemoryinputstream.h:
2894 * gmemoryoutputstream.h:
2895 * gnativevolumemonitor.h:
2897 * gunixinputstream.h:
2898 * gunixoutputstream.h:
2901 s/parent/parent_instance/ in GObjects
2903 2007-12-12 Alexander Larsson <alexl@redhat.com>
2908 No need for padding for interfaces
2910 2007-12-12 Alexander Larsson <alexl@redhat.com>
2914 * gbufferedinputstream.c:
2915 * gbufferedoutputstream.c:
2918 * gdatainputstream.[ch]:
2919 * gdesktopappinfo.c:
2920 * gdirectorymonitor.c:
2922 * gfileattribute.[ch]:
2925 * gfileinputstream.h:
2926 * gfilemonitor.[ch]:
2927 * gfileoutputstream.[ch]:
2928 * gfilterinputstream.h:
2929 * gfilteroutputstream.h:
2932 * gloadableicon.[ch]:
2933 * gmemoryinputstream.c:
2934 * gmountoperation.c:
2936 Fix up a bunch of details in the docs.
2941 2007-12-11 David Zeuthen <davidz@redhat.com>
2943 Rework how volumes, drives and volume monitoring is
2944 done. Previosly the model was
2946 GDrive <1-1> GVolume
2948 where a GDrive instance represented a mount point and a GVolume
2949 instance represented a mounted file system. This patch changes it
2952 GDrive <1-N> GVolume <1-1> GMount
2954 where GMount now serves the purpose of the old GVolume and the new
2955 GVolume serves the purpose of the old GDrive. In addition the new
2956 GDrive interface is used to represent a collection of GVolume
2957 instances (typically partitions) and also contains utility to query
2958 the state of the physical drive the GDrive object represents (such
2959 as checking for media, polling the drive, ejecting the media etc.).
2961 Also implement mounting and unmounting in the Unix volume monitor
2962 backend. A subquent patch will introduce GDrive support for ejection
2966 * gdrive.c: (g_drive_is_media_check_automatic),
2967 (g_drive_is_media_removable), (g_drive_has_media),
2968 (g_drive_can_poll_for_media), (g_drive_eject),
2969 (g_drive_eject_finish), (g_drive_poll_for_media),
2970 (g_drive_poll_for_media_finish):
2972 * gfile.c: (g_file_find_enclosing_mount):
2975 * glocaldirectorymonitor.c:
2976 (g_local_directory_monitor_constructor), (mounts_changed):
2977 * glocalfile.c: (get_mount_info),
2978 (g_local_file_find_enclosing_mount),
2979 (g_local_file_file_iface_init):
2980 * gnativevolumemonitor.h:
2981 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2982 (get_connected_drives), (g_union_volume_monitor_class_init),
2983 (child_volume_added), (child_volume_removed),
2984 (child_volume_changed), (child_mount_added), (child_mount_removed),
2985 (child_mount_pre_unmount), (child_mount_changed),
2986 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2987 (g_union_volume_monitor_remove_monitor),
2988 (_g_mount_get_for_mount_path):
2989 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2990 (guess_system_internal), (_g_get_unix_mounts),
2991 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2992 (g_unix_mount_free), (g_unix_mount_compare),
2993 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2994 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2995 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2996 (type_to_icon), (g_unix_mount_guess_name),
2997 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2998 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2999 (_resolve_symlink), (_resolve_dev_root):
3001 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3002 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3003 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3004 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3005 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3006 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3007 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3008 (g_unix_volume_volume_iface_init):
3010 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3011 (get_mounts), (get_volumes), (get_connected_drives),
3012 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3013 (mountpoints_changed), (mounts_changed),
3014 (g_unix_volume_monitor_init),
3015 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3016 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3017 * gunixvolumemonitor.h:
3018 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3019 (g_volume_mount), (g_volume_mount_finish):
3021 * gvolumemonitor.c: (g_volume_monitor_class_init),
3022 (g_volume_monitor_get_connected_drives),
3023 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3026 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3028 * gmountoperation.h (GPasswordFlags): Close the gap
3030 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3032 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3034 * gdesktopappinfo.[hc]: Remove _-prefixes
3036 2007-12-10 Tor Lillqvist <tml@novell.com>
3038 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3041 2007-12-10 Alexander Larsson <alexl@redhat.com>
3043 * gfile.c (g_file_set_display_name):
3044 Don't hardcode '/' (#502727)
3046 2007-12-09 Hans Breuer <hans@breuer.org>
3048 * makefile.msc : follow lib naming convention
3049 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3050 for user and group name, tested with ../tests/gio-ls
3052 2007-12-09 A. Walton <awalton@svn.gnome.org>
3054 * gdesktopappinfo.c:
3060 * gfileenumerator.c:
3065 * gmemoryinputstream.c:
3066 * gmemoryoutputstream.c:
3068 * gsimpleasyncresult.c:
3069 More documentation cleanup and filling in missing information, bringing
3070 GIO to 99% symbol coverage.
3072 2007-12-08 Hans Breuer <hans@breuer.org>
3074 [gio compiles and links on win32, not sure how much already works]
3075 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3076 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3077 base on win32 API; prefer g_lstat() over lstat(); instead of
3078 localtime_r() use an all GLib implementation on win32;
3079 get_mount_info() still needs a win32 specifc implementation
3080 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3081 win32_get_file_user_info to get owner/group info without uid/gid
3082 * glocalfileinputstream.c : include <io.h> on win32
3083 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3084 definition, use g_win32_ftruncate() for G_OS_WIN32
3085 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3086 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3087 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3088 * makefile.msc : updated
3090 2007-12-07 Alexander Larsson <alexl@redhat.com>
3092 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3093 Avoid warning spew if error == NULL
3095 2007-12-07 Alexander Larsson <alexl@redhat.com>
3098 Update docs wrt etags
3100 2007-12-06 Alexander Larsson <alexl@redhat.com>
3103 Include sys/types.h for dev_t (#501919)
3105 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3109 Make abicheck and pltcheck pass.
3111 2007-12-05 Alexander Larsson <alexl@redhat.com>
3114 * giomodule-priv.h: Added.
3115 * glocaldirectorymonitor.c:
3116 * glocalfilemonitor.c:
3117 * gunionvolumemonitor.c:
3119 Actually add the declaration of _g_io_modules_ensure_loaded
3121 2007-12-05 Alexander Larsson <alexl@redhat.com>
3123 * gdatainputstream.c:
3128 * glocaldirectorymonitor.c:
3129 * glocalfilemonitor.c:
3130 * gunionvolumemonitor.c:
3132 Make g_io_modules_ensure_loaded a private function and
3133 don't pass in the dirname. This means we can do magic
3134 directory finding in the win32 version.
3135 Export the actual load-modules-in-directory code so that
3136 gvfs can reuse that.
3138 2007-12-05 Alexander Larsson <alexl@redhat.com>
3140 * gbufferedinputstream.c:
3141 * gbufferedoutputstream.c:
3144 * gfileenumerator.[ch]:
3145 * gfileinputstream.c:
3146 * gfileoutputstream.[ch]:
3147 * gfilterinputstream.c:
3148 * gfilteroutputstream.c:
3149 * ginputstream.[ch]:
3151 * glocalfileenumerator.c:
3152 * glocalfileinputstream.c:
3153 * glocalfileoutputstream.c:
3154 * gmemoryinputstream.c:
3155 * gmemoryoutputstream.c:
3156 * goutputstream.[ch]:
3159 * gunixinputstream.c:
3160 * gunixoutputstream.c:
3161 Rename all struct members named:
3162 read, write, close, truncate, or mount
3163 to foo_fn, as these are reserved names
3164 and could be defined as macros in libc.
3167 2007-12-04 Alexander Larsson <alexl@redhat.com>
3170 (g_output_stream_close):
3171 Only call flush if non-null.
3173 2007-11-30 Dan Winship <danw@gnome.org>
3175 * ginputstream.c (g_input_stream_set_pending): Make this take a
3176 GError and return a gboolean, and do the "outstanding operation"
3177 check (and the "stream is already closed" check) itself.
3178 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3180 * goutputstream.c (g_output_stream_set_pending)
3181 (g_output_stream_clear_pending): Likewise
3183 * gbufferedinputstream.c:
3184 * gfileinputstream.c:
3185 * gfileoutputstream.c: Update for that
3187 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3188 Like g_simple_async_report_error_in_idle, but takes a GError
3189 rather than building one.
3191 2007-11-30 Dan Winship <danw@gnome.org>
3193 * goutputstream.c: Don't cheat and unset the "pending" flag around
3194 inner calls. Instead, call the class method directly rather than
3195 the wrapper function that checks "pending"
3197 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3199 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3201 2007-12-03 Hans Breuer <hans@breuer.org>
3203 [start of port to win32/msvc]
3204 * gcancellable.c : HAVE_UNIST_H and _pipe()
3205 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3206 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3207 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3209 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3210 * glocalvfs.c : use HAVE_PWD_H
3211 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3212 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3213 * Makefile.am : added to EXTRA_DIST
3215 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3217 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3220 2007-12-03 Alexander Larsson <alexl@redhat.com>
3223 Handle OSX style xattrs API (#500506)
3225 2007-12-03 Alexander Larsson <alexl@redhat.com>
3229 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3231 2007-12-02 A. Walton <awalton@svn.gnome.org>
3235 Documentation accuracy fixes.
3237 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3239 * gioenumtypes.c.template: Fix typo.
3241 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3243 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3245 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3247 * gdirectorymonitor.c:
3248 * gfilemonitor.c: Add properties
3250 * gbufferedoutputstream.c: Don't mark buffer-size property
3253 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3255 * gbufferedoutputstream.c: Add auto-grow property.
3257 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3259 * *.c: Unify the capitalization of section headings.
3261 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3263 * gmountoperation.c: Add properties
3265 * gdatainputstream.c: Turn byte-order and newline-type into
3268 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3270 * gioenumtypes.[hc].template: Templates for enum registration
3272 * Makefile.am: Generate gioenumtypes.[hc]
3274 * gio.h: Include gioenumtypes.h
3276 * gfile.h: Add some explicit nicks.
3278 * gio.symbols: Add new symbols
3280 * pltcheck.sh: Adjust
3282 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3284 * *.c: Explain etags and link to the explanation
3286 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3288 * *.c: Explain I/O priority.
3290 * *.c: More coding style fixes.
3292 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3294 * gasyncresult.c: Add another paragraph to the intro,
3295 adjust coding style of example.
3297 2007-11-29 A. Walton <awalton@svn.gnome.org>
3300 Fixes unknown meaning in GAppLaunchContext docs.
3302 Clarify asynchronous ops.
3304 Fix entity tag docs.
3307 Provides missing gtk-doc section, fixes API docs slighly.
3308 * gsimpleasyncresult.c:
3309 Fill in missing info in docs.
3310 * gunixinputstream.c:
3311 * gunixoutputstream.c:
3312 Be more expressive in short description.
3314 Remove gtk-doc stubs for non-public API.
3316 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3318 * *.c: Coding style fixups
3320 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3322 * inotify/inotify-helper.c: Don't export the lock from libgio.
3324 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3327 * abicheck.sh: Fix copy-and-paste leftovers
3329 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3331 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3333 2007-11-28 Alexander Larsson <alexl@redhat.com>
3337 Removed unnecessary file
3339 * gdesktopappinfo.[ch]:
3342 * glocaldirectorymonitor.[ch]:
3344 * glocalfileenumerator.[ch]:
3345 * glocalfileinputstream.[ch]:
3346 * glocalfilemonitor.[ch]:
3347 * glocalfileoutputstream.[ch]:
3349 * gnativevolumemonitor.c:
3350 * gpollfilemonitor.[ch]:
3351 * gunionvolumemonitor.[ch]:
3354 * gunixvolumemonitor.[ch]:
3357 * inotify/ginotifydirectorymonitor.[ch]:
3358 * inotify/ginotifyfilemonitor.[ch]:
3359 * inotify/inotify-helper.c:
3360 Append _ to all internal functions
3364 Export symbols needed for modules
3366 2007-11-28 Alexander Larsson <alexl@redhat.com>
3369 * abicheck.sh: Added.
3370 * makegioalias.pl: Added.
3371 * pltcheck.sh: Added.
3372 * gio.symbols: Added.
3375 Initial work on adding symbol handling.
3378 Correct ifdef guard name
3381 * inotify/Makefile.am:
3382 * xdgmime/Makefile.am:
3383 Include toplevel Makefile.decl
3385 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3387 * gcontenttype.c: Move doc comments to the unix section.
3389 * *.[hc]: More trivial doc corrections.
3391 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3393 * gpollfilemonitor.c:
3397 * gdesktopappinfo.c:
3402 * gdatainputstream.c:
3403 * gdatainputstream.h:
3404 * gdataoutputstream.c:
3405 * gdataoutputstream.h:
3406 * gfileinfo.h: Doc cleanups
3408 2007-11-28 Andre Klapper <a9016009@gmx.de>
3410 * gdesktopappinfo.c: Fix a typo.
3412 2007-11-27 Andre Klapper <a9016009@gmx.de>
3414 * glocalfileoutputstream.c: Fix a typo.
3416 2007-11-27 Alexander Larsson <alexl@redhat.com>
3419 Don't include removed headers
3421 2007-11-27 Alexander Larsson <alexl@redhat.com>
3424 * gsocketinputstream.[ch]: Removed.
3425 * gsocketoutputstream.[ch]: Removed.
3426 * gunixinputstream.[ch]: Added.
3427 * gunixoutputstream.[ch]: Added.
3428 Renamed GSocket*Stream to GUnix*Stream and made
3429 it unix-only, since its not really only for sockets
3430 and it only works on unix (but is highly useful there).
3432 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3438 * gbufferedinputstream.c:
3439 * gbufferedinputstream.h:
3440 * gbufferedoutputstream.c:
3441 * gbufferedoutputstream.h:
3445 * gdatainputstream.c:
3446 * gdatainputstream.h:
3447 * gdataoutputstream.c:
3448 * gdataoutputstream.h:
3449 * gdirectorymonitor.c:
3450 * gdirectorymonitor.h:
3457 * gfileenumerator.c:
3458 * gfileenumerator.h:
3463 * gfileinputstream.c:
3464 * gfileinputstream.h:
3467 * gfilenamecompleter.c:
3468 * gfilenamecompleter.h:
3469 * gfileoutputstream.c:
3470 * gfileoutputstream.h:
3471 * gfilterinputstream.c:
3472 * gfilterinputstream.h:
3473 * gfilteroutputstream.c:
3474 * gfilteroutputstream.h:
3487 * glocalfileoutputstream.c:
3488 * gmemoryinputstream.c:
3489 * gmemoryinputstream.h:
3490 * gmemoryoutputstream.c:
3491 * gmemoryoutputstream.h:
3492 * gmountoperation.c:
3493 * gmountoperation.h:
3496 * gpollfilemonitor.c:
3499 * gsimpleasyncresult.c:
3500 * gsimpleasyncresult.h:
3501 * gsocketinputstream.c:
3502 * gsocketinputstream.h:
3503 * gsocketoutputstream.c:
3504 * gsocketoutputstream.h:
3511 * gunixvolumemonitor.c:
3520 Bumps documentation to 93% symbol coverage, touching most
3521 of the public files. Fixes broken function documentation prototypes.
3522 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3523 gtk-doc headers in private files.
3525 2007-11-27 Jürg Billeter <j@bitron.ch>
3527 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3528 (g_buffered_input_stream_read_byte):
3529 * gbufferedinputstream.h:
3530 New functions for efficient access to buffer and simple single byte
3533 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3534 (g_data_input_stream_read_until):
3535 * gdatainputstream.h:
3536 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3537 read_until with multiple stop chars.
3539 2007-11-27 Alexander Larsson <alexl@redhat.com>
3543 * inotify/Makefile.am:
3544 Use the user-specified giomoduledir
3546 2007-11-27 Alexander Larsson <alexl@redhat.com>
3550 Add catch-all gio.h header
3551 Don't install gdummyfile.h
3553 2007-11-26 Alexander Larsson <alexl@redhat.com>
3555 * Makefile.am (gioinclude_HEADERS):
3556 Remove trailing whitespace
3558 2007-11-26 Alexander Larsson <alexl@redhat.com>
3560 Merge gio-standalone into glib
3562 2007-11-25 Christian Kellner <gicmo@gnome.org>
3564 * gio/goutputstream.c:
3565 Fix small mistake in the docs.
3567 2007-11-21 Christian Persch <chpe@gnome.org>
3569 * gio/glocalfile.c: (g_local_file_trash):
3570 Convert filenames to UTF-8 for GError.
3571 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3572 as per xdg base dir spec.
3574 2007-11-21 Christian Persch <chpe@gnome.org>
3576 * gio/gdesktopappinfo.c:
3577 Use that g_key_file_to_data cannot fail.
3579 Use stock defines for the key file group and key names.
3582 2007-11-21 Alexander Larsson <alexl@redhat.com>
3585 (copy_stream_with_progress):
3586 Make sure we do a final progress callback with
3587 the full total size.
3589 2007-11-21 Alexander Larsson <alexl@redhat.com>
3592 Export g_file_copy_attributes
3593 Remove padding as its not needed for interfaces
3595 2007-11-20 Alexander Larsson <alexl@redhat.com>
3600 Add G_IO_ERROR_WOULD_MERGE for
3601 copy/move dir on dir with overwrite.
3603 2007-11-20 Alexander Larsson <alexl@redhat.com>
3606 * gio/glocalfileinfo.c:
3607 Add COPY_NAME (this is an optional
3608 non-modified utf8 version of the name) that
3611 2007-11-20 Alexander Larsson <alexl@redhat.com>
3613 * gio/glocalfileenumerator.c:
3614 Report errors as GIOError, not GFileError
3616 2007-11-16 Alexander Larsson <alexl@redhat.com>
3618 * gio/glocalfileoutputstream.c:
3619 * gio/gwin32appinfo.c:
3620 Fix typos in strings.
3621 Patch from Luca Ferretti <elle.uca@libero.it>
3623 2007-11-15 Alexander Larsson <alexl@redhat.com>
3626 Post release version bump
3628 === gio-standalone 0.1.2 ===
3630 2007-11-15 Alexander Larsson <alexl@redhat.com>
3632 * docs/reference/gio/Makefile.am:
3633 Fix up distcheck by removing weird
3639 2007-11-14 Alexander Larsson <alexl@redhat.com>
3641 * gio/gdesktopappinfo.c:
3642 * gio/glocaldirectorymonitor.c:
3644 * gio/glocalfileinfo.c:
3645 * gio/inotify/inotify-sub.c:
3646 * programs/gio-cat.c:
3647 * programs/gio-copy.c:
3648 * programs/gio-info.c:
3649 * programs/gio-ls.c:
3650 * programs/gio-monitor-dir.c:
3651 * programs/gio-monitor-file.c:
3652 * programs/gio-mount.c:
3653 * programs/gio-move.c:
3654 * programs/gio-rm.c:
3655 * programs/gio-save.c:
3656 * programs/gio-trash.c:
3657 Leak fixes from Kjartan Maraas
3659 2007-11-14 Alexander Larsson <alexl@redhat.com>
3661 * gio/fam/fam-helper.c:
3663 * gio/glocalfileinfo.c:
3667 * gio/inotify/inotify-diag.c:
3668 * gio/inotify/inotify-kernel.c:
3669 Various code cleanups from Kjartan Maraas
3671 2007-11-14 Alexander Larsson <alexl@redhat.com>
3673 * gio/gioscheduler.c:
3675 Set up threadpool so that we cache 2 unused
3676 idle threads for at 15 secs. This means we
3677 will reuse thread-local data (like dbus connections)
3680 2007-11-14 Alexander Larsson <alexl@redhat.com>
3682 * gio/fam/fam-helper.c:
3683 * gio/fam/gfamdirectorymonitor.c:
3684 * gio/fam/gfamfilemonitor.c:
3686 * gio/gcontenttype.c:
3687 * gio/gdatainputstream.c:
3688 * gio/gdataoutputstream.c:
3692 * gio/gfileattribute.h:
3693 * gio/gfileenumerator.c:
3695 * gio/ginputstream.c:
3698 * gio/glocalfileinfo.c:
3699 * gio/goutputstream.c:
3700 * gio/gpollfilemonitor.c:
3701 * gio/gsimpleasyncresult.c:
3702 * gio/gunixmounts.c:
3703 * gio/gunixmounts.h:
3704 * gio/inotify/ginotifydirectorymonitor.c:
3705 * gio/inotify/ginotifyfilemonitor.c:
3706 * gio/inotify/inotify-diag.c:
3707 * gio/inotify/inotify-kernel.c:
3708 * gio/inotify/inotify-path.c:
3710 * gio/test-streams.c:
3711 * programs/gio-info.c:
3712 * programs/gio-monitor-dir.c:
3713 * programs/gio-monitor-file.c:
3714 Various code cleanups from Kjartan Maraas
3716 2007-11-13 Alexander Larsson <alexl@redhat.com>
3719 Handle the uri-scheme calls for dummy files
3721 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3723 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3724 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3725 to avoid clash with the C++ keyword.
3727 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3729 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3730 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3732 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3734 * gio/glocaldirectorymonitor.c:
3735 * gio/glocalfilemonitor.c:
3736 * gio/gunionvolumemonitor.c:
3737 Don't use g_once_init_*() for initializations that could fail and
3738 could leave the initialization variable set to 0 but use GOnce.
3739 This prevents a deadlock on the second call when trying to create
3740 a monitor and no monitor type is available. Thanks to Sven Herzberg
3743 2007-11-11 Sven Herzberg <sven@imendio.com>
3745 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3746 #ifdef (make it work on MacOS X again)
3748 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3750 Fixes Changelog for last two commits (sorry guys).
3752 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3754 * gio/gbufferedinputstream.c:
3755 * gio/gdatainputstream.c:
3757 * gio/gfileoutputstream.c:
3758 * gio/gfilterinputstream.c:
3759 * gio/glocalfileinputstream.c:
3762 More consistency fixes in g*stream.c files.
3763 Significant clean of gfile's documentation, filling in of
3764 asynchronous operations documentation.
3766 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3768 * gio/gasyncresult.c:
3769 * gio/gbufferedinputstream.c:
3770 * gio/gbufferedoutputstream.c:
3771 * gio/gcancellable.c:
3772 * gio/gcontenttype.c:
3773 * gio/gdatainputstream.c:
3774 * gio/gdataoutputstream.c:
3775 * gio/gdesktopappinfo.c:
3778 * gio/gfileattribute.c:
3779 * gio/gio/gfileenumerator.c:
3781 * gio/gfileinputstream.c:
3782 * gio/gfilemonitor.c:
3783 * gio/gfileoutputstream.c:
3784 * gio/ginputstream.c:
3786 * gio/gioscheduler.c:
3787 * gio/gloadableicon.c:
3788 * gio/glocalfileoutputstream.c:
3789 * gio/gmemoryoutputstream.c:
3790 * gio/gmountoperation.c:
3791 * gio/goutputstream.c:
3793 * gio/gsimpleasyncresult.c:
3794 * gio/gunionvolumemonitor.c:
3795 * gio/gunixmounts.c:
3796 * gio/gunixvolume.c:
3800 * gio/gvolumemonitor.c:
3801 Updated documentation stubs, working towards consistency and
3804 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3806 * gio/gmemoryoutputstream.c:
3807 * gio/gmemoryoutputstream.h:
3808 Change g_memory_output_stream_set_free_on_close() to
3809 g_memory_output_stream_set_free_data() as this makes more sense and
3810 is more consistent with GMemoryInputStream.
3812 2007-11-07 Alexander Larsson <alexl@redhat.com>
3819 Change how we find the default vfs so that
3820 we can handle a gvfs failing to init
3822 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3824 * gio/gbufferedoutputstream.c:
3825 * gio/gdatainputstream.c:
3826 * gio/gdataoutputstream.c:
3827 * gio/gfileinputstream.c:
3828 * gio/gfileoutputstream.c:
3829 * gio/gfilterinputstream.c:
3830 * gio/gfilteroutputstream.c:
3831 * gio/ginputstream.c:
3832 * gio/gmemoryinputstream.c:
3833 * gio/gmemoryoutputstream.c:
3834 * gio/goutputstream.c:
3835 * gio/gsimpleasyncresult.c:
3836 * gio/gsocketinputstream.c:
3837 * gio/gsocketoutputstream.c:
3838 Add guards to the remaining public functions, add a TODO for
3839 an unimplemented function and remove some useless guards.
3841 2007-11-07 Alexander Larsson <alexl@redhat.com>
3844 Autoconf checks for the various types of
3845 getpwuid_r and getgrgid_r
3847 * gio/glocalfileinfo.c:
3848 Use the autoconf checks from above
3850 2007-11-07 Alexander Larsson <alexl@redhat.com>
3853 (g_local_file_query_filesystem_info):
3854 Some fixes for the statvfs case
3856 2007-11-07 Alexander Larsson <alexl@redhat.com>
3859 (g_local_file_query_filesystem_info):
3860 Pick the "best" of statfs / statvfs for the system
3861 if both are availible.
3863 2007-11-07 Alexander Larsson <alexl@redhat.com>
3865 Solaris fixes from Halton.Huo@Sun.COM:
3872 * gio/glocalfileinfo.c:
3873 Fix for solaris definition of getpwuid_r
3875 * gio/test-streams.c:
3876 Use G_GNUC_PRETTY_FUNCTION
3878 2007-11-07 Alexander Larsson <alexl@redhat.com>
3880 * gio/gdesktopappinfo.c:
3881 (update_default_list):
3882 Remove double semicolon.
3883 Patch from Jens Granseuer
3885 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3887 * docs/reference/gio/gio-sections.txt:
3888 * gio/gbufferedinputstream.c:
3889 * gio/gbufferedinputstream.h:
3890 * gio/gdatainputstream.c:
3891 * gio/gfileenumerator.c:
3892 * gio/gioscheduler.c:
3893 * gio/gunionvolumemonitor.c:
3895 * programs/gio-save.c:
3896 Fix typo: availible -> available. Unfortuntely this breaks API
3897 and ABI as g_buffered_input_stream_get_available() was renamed.
3899 * gio/gunixmounts.c:
3900 * gio/gbufferedinputstream.c:
3901 Add guards for public functions.
3903 2007-11-06 Ross Burton <ross@openedhand.com>
3905 * docs/reference/gio/Makefile.am:
3906 Fix invalid += usage which automake 1.10 doesn't like.
3908 2007-11-06 Alexander Larsson <alexl@redhat.com>
3911 (g_app_launch_context_class_init):
3914 Patch from Ross Burton
3916 2007-11-06 Alexander Larsson <alexl@redhat.com>
3919 Post release version bump
3921 === gio-standalone 0.1.1 ===
3923 2007-11-06 Alexander Larsson <alexl@redhat.com>
3926 Bump version to 0.1.1
3928 * gio/gsimpleasyncresult.c:
3929 (g_simple_async_result_set_from_error):
3930 Remove bogus g_return_if_fail
3932 2007-11-06 Alexander Larsson <alexl@redhat.com>
3935 The name is gio-standalone
3938 Add top src/builddir to includedir
3940 2007-11-06 Alexander Larsson <alexl@redhat.com>
3942 * docs/reference/gio/gio-sections.txt:
3944 * gio/gbufferedinputstream.c:
3945 * gio/gbufferedoutputstream.c:
3946 * gio/gcancellable.c:
3947 * gio/gdatainputstream.h:
3948 * gio/gdataoutputstream.c:
3949 * gio/gdataoutputstream.h:
3950 * gio/gdirectorymonitor.c:
3952 * gio/gfileattribute.c:
3953 * gio/gfileattribute.h:
3954 * gio/gfileenumerator.c:
3955 * gio/gfileenumerator.h:
3958 * gio/gfileinputstream.h:
3959 * gio/gfilemonitor.c:
3960 * gio/gfileoutputstream.h:
3961 * gio/glocalfilemonitor.h:
3962 * gio/glocalfileoutputstream.h:
3963 * gio/gmemoryinputstream.c:
3964 * gio/gmemoryoutputstream.c:
3965 * gio/gmountoperation.c:
3966 * gio/goutputstream.c:
3967 * gio/goutputstream.h:
3969 * gio/gsimpleasyncresult.c:
3970 * gio/gunixmounts.c:
3971 * gio/gunixmounts.h:
3973 * gio/inotify/inotify-helper.c:
3974 Fix gtk-doc warnings
3976 Patch from Ross Burton
3978 2007-11-06 Alexander Larsson <alexl@redhat.com>
3980 * gio/gfilenamecompleter.c:
3981 (g_filename_completer_get_completions):
3984 * gio/gunixvolume.c:
3985 Remove unused function
3987 Patches from Ross Burton
3989 2007-11-06 Alexander Larsson <alexl@redhat.com>
3994 Padding not needed for interfaces
3996 2007-11-06 Alexander Larsson <alexl@redhat.com>
3998 * gio/gfilemonitor.c:
4002 Make giotypes.h an internal file
4005 * gio/gbufferedinputstream.h:
4006 * gio/gbufferedoutputstream.h:
4007 * gio/gcancellable.h:
4008 * gio/gdatainputstream.h:
4009 * gio/gdataoutputstream.h:
4010 * gio/gdirectorymonitor.c:
4011 * gio/gdirectorymonitor.h:
4016 * gio/gfileattribute.h:
4017 * gio/gfileenumerator.h:
4022 * gio/gfilemonitor.c:
4023 * gio/gfilemonitor.h:
4024 * gio/gfilenamecompleter.c:
4025 * gio/gfilenamecompleter.h:
4026 * gio/gfilterinputstream.h:
4027 * gio/gfilteroutputstream.h:
4028 * gio/ginputstream.h:
4029 * gio/gmemoryinputstream.h:
4030 * gio/gmemoryoutputstream.h:
4031 * gio/gmountoperation.c:
4032 * gio/gmountoperation.h:
4033 * gio/gnativevolumemonitor.c:
4034 * gio/goutputstream.h:
4037 * gio/gsimpleasyncresult.c:
4038 * gio/gsimpleasyncresult.h:
4039 * gio/gsocketinputstream.h:
4040 * gio/gsocketoutputstream.h:
4041 * gio/gthemedicon.c:
4042 * gio/gthemedicon.h:
4046 * gio/gvolumemonitor.c:
4047 * gio/gvolumemonitor.h:
4048 Add padding in classes where it seems useful
4049 Don't include giotypes.h from public headers
4050 Move in Class definitions into c file where possible
4055 2007-11-06 Alexander Larsson <alexl@redhat.com>
4057 * docs/reference/gio/gio-docs.xml:
4058 Better structure for API docs
4060 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4063 * gio/gloadableicon.c:
4064 * gio/gsimpleasyncresult.c:
4065 * gio/gthemedicon.c:
4066 Add some more guards to public functions. Only files missing are now
4069 2007-11-06 Alexander Larsson <alexl@redhat.com>
4071 * docs/reference/gio/gio-docs.xml:
4072 Remove old files, add missing ones
4074 2007-11-06 Alexander Larsson <alexl@redhat.com>
4076 * docs/reference/gio/gio-sections.txt:
4079 Hide implementation classes
4081 * gio/gdriveprivate.h:
4082 * gio/gvolumeprivate.h:
4083 Remove non-existing function declarations
4085 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4088 Fix compilation warnings and add guards to the new functions.
4090 * gio/gasyncresult.c:
4092 Add guards to the public functions.
4095 Implement get_path().
4097 2007-11-06 Alexander Larsson <alexl@redhat.com>
4099 * gio/gfilenamecompleter.c:
4100 Make g_filename_completer_get_completions
4101 return char ** instead of GList for
4104 * docs/reference/gio/gio-docs.xml:
4105 * docs/reference/gio/gio-sections.txt:
4107 * gio/gasyncresult.c:
4108 * gio/gbufferedinputstream.c:
4109 * gio/gbufferedoutputstream.c:
4110 * gio/gcancellable.c:
4111 * gio/gcontenttype.c:
4112 * gio/gdatainputstream.c:
4113 * gio/gdataoutputstream.c:
4114 * gio/gdesktopappinfo.c:
4115 * gio/gdirectorymonitor.c:
4119 * gio/gfileattribute.c:
4120 * gio/gfileenumerator.c:
4123 * gio/gfileinputstream.c:
4124 * gio/gfilemonitor.c:
4125 * gio/gfilenamecompleter.c:
4126 * gio/gfilenamecompleter.h:
4127 * gio/gfileoutputstream.c:
4128 * gio/gfilterinputstream.c:
4130 * gio/ginputstream.c:
4132 * gio/gioscheduler.c:
4133 * gio/gloadableicon.c:
4134 * gio/glocaldirectorymonitor.c:
4136 * gio/glocalfileinputstream.c:
4137 * gio/glocalfilemonitor.c:
4138 * gio/glocalfileoutputstream.c:
4140 * gio/gmemoryinputstream.c:
4141 * gio/gmemoryoutputstream.c:
4142 * gio/gmountoperation.c:
4143 * gio/goutputstream.c:
4144 * gio/gpollfilemonitor.c:
4146 * gio/gsimpleasyncresult.c:
4147 * gio/gsocketinputstream.c:
4148 * gio/gsocketoutputstream.c:
4149 * gio/gthemedicon.c:
4150 * gio/gunionvolumemonitor.c:
4152 * gio/gunixmounts.c:
4153 * gio/gunixvolume.c:
4154 * gio/gunixvolumemonitor.c:
4158 * gio/gvolumemonitor.c:
4159 * gio/gwin32appinfo.c:
4160 Add (mostly stub) doc strings to public functions.
4161 Patch from Andrew Walton (awalton@gmail.com)
4163 2007-11-06 Alexander Larsson <alexl@redhat.com>
4165 * gio/gappinfo.[ch]:
4166 Added GAppLaunchContext object and pass that to launch.
4167 This allows simple implementation of both
4168 launch-on-screen and startup notification via a gtk+
4169 subclass of GAppLaunchContext
4171 * gio/gdesktopappinfo.c:
4172 Implement GAppLaunchContext API
4174 * gio/gwin32appinfo.c:
4177 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4179 * gio/gmountoperation.c:
4180 Add some guards to GMountOperation's public functions.
4182 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4186 * gio/gcancellable.c:
4187 * gio/gdirectorymonitor.c:
4189 * gio/gfileenumerator.c:
4190 * gio/gfilemonitor.c:,
4191 * gio/gfilenamecompleter.c:
4194 * gio/gioscheduler.c:
4198 * gio/gvolumemonitor.c:
4199 Add even more guards to various public functions.
4201 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4204 Add guards to the public functions of GAppInfo.
4206 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4208 * gio/gcontenttype.c:
4209 Add some more guards for public functions.
4211 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4213 * gio/fam/fam-module.c:
4214 * gio/fam/gfamdirectorymonitor.c:
4215 * gio/fam/gfamdirectorymonitor.h:
4216 * gio/fam/gfamfilemonitor.c:
4217 * gio/fam/gfamfilemonitor.h:
4218 * gio/inotify/ginotifydirectorymonitor.c:
4219 * gio/inotify/ginotifydirectorymonitor.h:
4220 * gio/inotify/ginotifyfilemonitor.c:
4221 * gio/inotify/ginotifyfilemonitor.h:
4222 Add proper copyright information and remove an unused variable
4223 in the GInotifyFileMonitor constructor.
4225 * gio/gcancellable.c:
4226 Add a guard for a public function and an assertion to prevent
4227 an undefined program state.
4229 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4231 * gio/gfileattribute.c:
4232 Don't run into an assertion if the given attribute value is NULL
4233 in g_file_attribute_value_get_*() but instead return a fallback
4234 value that makes sense in most situations. Passing them a attribute
4235 value with the wrong type will still run into an assertion.
4237 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4239 * gio/gfileattribute.c:
4241 Add even more guards to the public functions. Also fix the refcounting
4242 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4243 let g_file_info_list_attributes() filter the attributes by namespace
4244 instead of simply ignoring the namespace parameter.
4246 2007-11-03 Sven Herzberg <sven@imendio.com>
4248 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4249 (This makes gio work on MacOS X again)
4251 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4254 Build the gio subdirectory before the docs. Otherwise the build will
4257 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4258 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4259 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4260 Add guards to the public functions.
4262 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4264 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4265 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4266 to prevent a compiler warning.
4268 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4269 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4270 return something in the non-void function find_topdir_for().
4272 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4279 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4281 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4282 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4283 * gwin32appinfo.c (g_win32_app_info_launch):
4284 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4285 envp_for_startup_id, g_desktop_app_info_launch,
4286 g_desktop_app_info_launch_uris):
4288 Give an opaque 'startup_id' string instead of 'envp'.
4289 Support empty file lists for launching new windows.
4290 Fix infinite recursion bug when launching URIs.
4292 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4295 Add guard to the new g_file_get_uri_scheme() function.
4297 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4300 Convert a g_return_val_if_fail() to setting the GError instead as
4301 otherwise applications have to verify the parameter before otherwise
4302 and the parameter might come directly from the user.
4304 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4306 * gio/inotify/ginotify*.[ch]:
4307 Add missing copyright information.
4309 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4312 Add guards in the beginning of public functions to check for valid
4313 parameters and fix a bug in copy_stream_with_progress() that could've
4314 caused writing less bytes than reading.
4315 * gio/glocalfileinfo.c:
4316 Check for a NULL parameter and set the GError accordingly then.
4317 * gio/goutputstream.c:
4318 Fix the same bug as in gfile.c that could've caused writing less bytes
4319 than reading in g_output_stream_real_splice().
4321 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4324 Use the correct gvolumeprivate.h naming
4326 2007-11-01 Christian Kellner <gicmo@gnome.org>
4329 Remove leftover "$(daemon_sources)" entry.
4331 2007-11-01 Christian Kellner <gicmo@gnome.org>
4336 Add copyright information to source files.
4338 2007-11-01 Alexander Larsson <alexl@redhat.com>
4342 Add g_file_get_uri_scheme
4344 2007-11-01 Alexander Larsson <alexl@redhat.com>
4347 * gio/gdesktopappinfo.c:
4348 * gio/gwin32appinfo.c:
4349 Add g_app_info_get_default_for_uri_scheme.
4351 2007-11-01 Alexander Larsson <alexl@redhat.com>
4354 Correct filename for gdriveprivate.h
4356 2007-10-31 Alexander Larsson <alexl@redhat.com>
4359 Rename id:value to id:file
4362 * gio/glocalfileinfo.c:
4365 2007-10-31 Alexander Larsson <alexl@redhat.com>
4367 * gio/gunixvolume.c:
4369 Remove g_volume_get_platform_id, as thats not
4370 needed with the simpler union volume monitor
4372 2007-10-31 Alexander Larsson <alexl@redhat.com>
4375 * gio/guniondrive.[ch]: Removed.
4376 * gio/gunionvolume.[ch]: Removed.
4377 Remove GUnionDrive/Volume
4379 * gio/gunionvolumemonitor.c:
4380 Simplify union volume monitor, now we
4381 only have one native volume monitor and
4382 we use the actual volumes/drives from the
4383 child monitors instead of wrapping them
4385 * gio/gnativevolumemonitor.[ch]:
4386 Base class for native volume monitors.
4387 Includes priority and get_volume_for_mountpoint
4390 Add g_file_find_enclosing_volume
4393 Remove volume name fs attribute
4394 Add readonly fs attribute
4397 Implement readonly attribute
4398 remove volume name attribute
4399 Implement find_enclosing volume
4401 * gio/gunixmounts.c:
4402 Add a volume for "/".
4404 * gio/gunixvolume.[ch]:
4405 Set better name for /
4407 * gio/gunixvolumemonitor.[ch]:
4408 Derive from GNativeVolumeMonitor
4409 Implement get_volume_for_mountpoint
4412 GVolume typedef moved to gfile.h
4414 * gio/gvolumeprivate.h:
4415 Add g_volume_get_for_mount_path
4417 2007-10-31 Alexander Larsson <alexl@redhat.com>
4419 * gio/gunixmounts.[ch]:
4420 Add cache info to unix mount listers
4421 Make getmntent use threadsafe
4422 Add is_system_internal attribute for GUnixMount
4424 * gio/gunixvolume.c:
4425 (g_unix_volume_new):
4426 Use is_system_internal instead of own code
4428 * gio/glocaldirectorymonitor.c:
4429 * gio/gunixvolumemonitor.c:
4430 Update to new gunixmounts API
4435 2007-10-30 Alexander Larsson <alexl@redhat.com>
4438 Add volume name fsinfo attribute
4441 Read volume name info
4443 * gio/gunionvolumemonitor.c:
4444 Fix infinite loops when finalizing a union volume monitor
4446 2007-10-30 Alexander Larsson <alexl@redhat.com>
4448 * gio/goutputstream.[ch]:
4449 Add splice() with default implementation
4451 * gio/gsocketoutputstream.c:
4452 (g_socket_output_stream_write):
4453 Return error on cancellation correctly.
4455 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4457 * gio/glocalfile.c (g_local_file_trash):
4458 Do not leak a string.
4460 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4462 * gio/gfile.c (g_file_load_contents):
4463 Unref the stream after closing it.
4465 2007-10-25 Alexander Larsson <alexl@redhat.com>
4467 * gio/gioscheduler.h:
4470 2007-10-25 Alexander Larsson <alexl@redhat.com>
4474 Add g_file_has_uri_scheme and implement for local files
4476 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4478 * gio/gdesktopappinfo.c: do not leak a string.
4480 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4482 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4483 (g_local_directory_monitor_new):
4484 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4485 (g_local_file_monitor_new):
4486 Only look for the monitor type that should be used the first time
4487 and use g_qsort_with_data() instead of our own bubble sort
4490 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4493 * gio/fam/Makefile.am:
4494 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4495 * gio/fam/fam-helper.h:
4496 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4497 * gio/fam/gfamdirectorymonitor.c:
4498 * gio/fam/gfamdirectorymonitor.h:
4499 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4500 * gio/fam/gfamfilemonitor.h:
4501 * gio/glocaldirectorymonitor.c:
4502 * gio/glocaldirectorymonitor.h:
4503 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4504 * gio/glocalfilemonitor.h:
4505 * gio/inotify/Makefile.am:
4506 * gio/inotify/ginotifydirectorymonitor.c:
4507 * gio/inotify/ginotifydirectorymonitor.h:
4508 * gio/inotify/ginotifyfilemonitor.c:
4509 * gio/inotify/ginotifyfilemonitor.h:
4510 Implement the FAM and Inotify monitors as
4511 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4512 their own GIO module. GLocal(Directory|File)Monitor will use the
4513 monitor with the highest rank that is supported on that machine.
4515 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4518 Change GIO module dir to $(libdir)/gio/modules and change
4519 the log domain from GVFS to GIO. Also only export symbols starting
4520 with g_ in the resulting library.
4521 * gio/test-streams.c: (main):
4522 Set log handler for the GIO log domain.
4524 2007-10-22 Alexander Larsson <alexl@redhat.com>
4526 * gio/gfilenamecompleter.[ch]:
4527 Add g_filename_completer_set_dirs_only
4529 2007-10-22 Alexander Larsson <alexl@redhat.com>
4532 * gio/gurifuncs.[ch]:
4533 Add some simple URI helpers
4535 * gio/gfilenamecompleter.[ch]:
4536 Added object for filename (parse name actually) completion
4539 Handle ~ in parse names
4541 2007-10-17 Alexander Larsson <alexl@redhat.com>
4544 * gio/glocalfileinfo.c:
4545 Add and implement id:value attribute
4547 2007-10-17 Alexander Larsson <alexl@redhat.com>
4550 * gio/guniondrive.c:
4552 Add and implement g_drive_has_volumes
4554 2007-10-17 Alexander Larsson <alexl@redhat.com>
4557 * gio/glocalfileinfo.[ch]:
4558 Add unix:is_mountpoint and implement for local files
4560 2007-10-16 Alexander Larsson <alexl@redhat.com>
4562 * gio/gunionvolumemonitor.c:
4563 (g_union_volume_monitor_init):
4564 Fix up the unix type getting so that it works with gcc
4566 2007-10-12 Alexander Larsson <alexl@redhat.com>
4569 * gio/glocalfileinfo.c:
4570 Add thumbnail:failed to file info
4572 2007-10-12 Richard Hult <richard@imendio.com>
4574 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4575 optimizing away the get_type call (happens with some gcc versions,
4576 like the one shipped with OS X 10.4).
4578 2007-10-12 Alexander Larsson <alexl@redhat.com>
4580 * gio/glocalfileinfo.c:
4581 (_g_local_file_info_set_attribute):
4582 Fix build if not HAVE_XATTR
4583 Patch from Milosz Derezynski <internalerror@gmail.com>
4585 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4587 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4588 around for review, otherwise I would have asked you before
4591 2007-10-11 Alexander Larsson <alexl@redhat.com>
4594 Add thumbnail:path attribute
4596 * gio/glocalfileinfo.c:
4597 Implement thumbnail:path for local files
4599 2007-10-11 Alexander Larsson <alexl@redhat.com>
4601 * gio/glocalfileinfo.c:
4602 (_g_local_file_info_get):
4603 Avoid duplicate icon names
4605 2007-10-11 Alexander Larsson <alexl@redhat.com>
4607 * gio/gthemedicon.[ch]:
4608 Change g_themed_icon_get_names return type to const
4610 2007-10-10 Alexander Larsson <alexl@redhat.com>
4612 * gio/glocalfileinfo.c:
4613 Don't reference freed memory
4615 2007-10-10 Alexander Larsson <alexl@redhat.com>
4617 * gio/gfileattribute.c:
4620 * gio/glocalfileinfo.c:
4623 2007-10-10 Alexander Larsson <alexl@redhat.com>
4626 Check for NULL icons
4628 * gio/gfileattribute.c:
4629 Don't dup when getting objects (same as for string attributes)
4631 * gio/gicon.c (g_icon_equal):
4632 Safely handle NULLs in equal
4634 2007-10-10 Alexander Larsson <alexl@redhat.com>
4637 Fix c++ compilation issues
4638 Patch from Milosz Derezynski <internalerror@gmail.com>
4640 2007-10-10 Alexander Larsson <alexl@redhat.com>
4642 * programs/gio-monitor-dir.c:
4643 Don't crash if dir monitor not supported.
4645 2007-10-09 Alexander Larsson <alexl@redhat.com>
4648 Add missing G_END_DECLS
4650 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4652 * gio/gfile.c: (g_file_set_display_name),
4653 (g_file_query_settable_attributes),
4654 (g_file_query_writable_namespaces):
4655 Return NULL not FALSE on errors as the return type is a pointer.
4657 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4659 * gio/glocalfile.c: (g_local_file_monitor_file):
4660 Don't call monitor_file on the default interface vtable (which
4661 is NULL) but simply return NULL. The caller, GFile, will create a
4662 polling monitor if NULL is returned.
4664 2007-10-09 Alexander Larsson <alexl@redhat.com>
4668 * gio-unix-2.0.pc.in:
4669 Add gio-unix-2.0.pc if OS_UNIX
4672 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4674 2007-10-09 Alexander Larsson <alexl@redhat.com>
4676 * gio/gunixmounts.[ch]:
4677 Make unix mount monitoring API sane.
4678 Now its just a object with mounts_changed
4679 and mountpoints_changed signals.
4681 * gio/glocaldirectorymonitor.c:
4682 * gio/gunixvolumemonitor.c:
4683 Use new mount monitor api
4685 2007-10-09 Alexander Larsson <alexl@redhat.com>
4687 * gio/gunixmounts.[ch]:
4688 Move guess type into one call for mounts and one for mountpoints
4691 * gio/gunixvolume.c:
4694 2007-10-09 Alexander Larsson <alexl@redhat.com>
4696 * gio/gunixmounts.[ch]:
4697 Remove _ prefix in preparation to make this semi-public
4698 Hide implementation of structs
4700 * gio/glocaldirectorymonitor.c:
4702 * gio/gunixvolume.c:
4703 * gio/gunixvolumemonitor.c:
4704 Update for above API changes
4706 2007-10-08 Alexander Larsson <alexl@redhat.com>
4709 Better polling fallback. This also handles the case where we have
4710 a monitor_file implementation, but it fails.
4712 2007-10-08 Alexander Larsson <alexl@redhat.com>
4716 * gio/gunixmounts.c:
4717 * programs/gio-monitor-dir.c:
4718 * programs/gio-monitor-file.c:
4719 Added cancellable to file monitoring calls.
4720 These are really sync calls and need this.
4722 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4724 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4725 (g_local_vfs_class_init):
4726 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4727 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4729 2007-10-05 Alexander Larsson <alexl@redhat.com>
4731 * gio/gdirectorymonitorprivate.h:
4732 * gio/gfilemonitorprivate.h:
4733 * gio/gdirectorymonitor.h:
4734 * gio/gfilemonitor.h:
4735 Remove *private.h and move to the public API, so that
4736 we can do implementations outside gio (such as in gvfs)
4738 * gio/gdirectorymonitor.c:
4739 * gio/gfilemonitor.c:
4740 * gio/glocaldirectorymonitor.c:
4741 * gio/gpollfilemonitor.c:
4742 * gio/inotify/inotify-helper.c:
4743 * gio/fam/fam-helper.c:
4744 Update to the new header names
4746 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4748 * gio/gdirectorymonitor.c:
4749 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4752 2007-10-04 Alexander Larsson <alexl@redhat.com>
4754 * gio/glocalfileinfo.c (get_access_rights):
4755 Set CAN_TRASH when we can move the file.
4756 We should really also check for a parent trash dir.
4758 2007-10-04 Alexander Larsson <alexl@redhat.com>
4760 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4761 Add can_trash access attribute
4763 2007-10-04 Alexander Larsson <alexl@redhat.com>
4766 (g_local_file_trash):
4767 Create info file first. This is per-spec and allows
4768 us to actually trash directories.
4770 2007-10-02 Alexander Larsson <alexl@redhat.com>
4772 * gio/gdesktopappinfo.c:
4773 Implement the new mime support code.
4774 Always set app as handling mimetype when being set as default for it
4776 2007-10-01 Alexander Larsson <alexl@redhat.com>
4778 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4779 Fix up check for xattrs:
4781 2007-10-01 Alexander Larsson <alexl@redhat.com>
4784 (g_app_info_set_as_default_for_extension):
4785 (g_app_info_add_supports_type):
4786 (g_app_info_can_remove_supports_type):
4787 (g_app_info_remove_supports_type):
4788 Make these fail nicely if not implemented
4790 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4792 * gio/glocalfileoutputstream.c:
4793 * gio/glocalfileoutputstream.h:
4798 * programs/gio-save.c:
4799 Add a GFileCreateFlags argument to operations that can create
4802 2007-10-01 Alexander Larsson <alexl@redhat.com>
4804 * gio/gappinfo.[ch]:
4805 * gio/gdesktopappinfo.c:
4806 Add more (stubbed out) mime API needed for nautilus
4808 2007-10-01 Alexander Larsson <alexl@redhat.com>
4811 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4812 Add g_app_info_set_as_default_for_extension.
4814 * gio/gdesktopappinfo.c:
4815 Dummy for g_app_info_set_as_default_for_extension
4816 Support flags in g_app_info_create_from_commandline
4818 * gio/gwin32appinfo.c:
4820 Update for API changes
4822 * gio/gthemedicon.c:
4823 Properly NULL-terminate list of icon names
4825 2007-09-28 Alexander Larsson <alexl@redhat.com>
4827 * gio/gloadableicon.h:
4828 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4830 2007-09-28 Alexander Larsson <alexl@redhat.com>
4833 Install headers in $includedir/gio-standalone/
4835 * gio-2.0.pc.in: Added.
4836 * gio-standalone.pc.in: Removed.
4839 Renamed pkg-config file to match glib (for future move)
4840 Update to the new include dir
4843 Add more TODO comments
4845 2007-09-28 Alexander Larsson <alexl@redhat.com>
4847 * gio/gdesktopappinfo.[ch]:
4848 Expose new_from_filename
4849 Add getter for is_hidden and handle it better
4851 2007-09-28 Alexander Larsson <alexl@redhat.com>
4853 * gio/gfileinfo.[ch]:
4854 Rename g_file_size_format_for_display to
4855 g_format_file_size_for_display.
4856 Now it doesn't have the g_file prefix, so we
4857 can later move it to glib.
4859 2007-09-28 Alexander Larsson <alexl@redhat.com>
4861 * gio/gappinfo.[ch]:
4862 Add g_app_info_get_id and g_app_info_get_executable.
4863 Make all getters non-reffing
4864 Make g_app_info_launch take GFile arguments.
4865 Add must_support_uris argument to g_app_info_get_default_for_type.
4867 * gio/gwin32appinfo.c:
4868 Update to GAppInfo api changes
4870 * gio/gdesktopappinfo.c:
4871 Update to GAppInfo api changes
4872 Implement supports_xdg_startup_notify
4874 * gio/gfileicon.c (g_file_icon_get_file):
4875 Make getter non-reffing.
4880 2007-09-27 Alexander Larsson <alexl@redhat.com>
4882 * gio/gfileinfo.[ch]:
4883 Add g_file_size_format_for_display helper
4885 2007-09-27 Alexander Larsson <alexl@redhat.com>
4887 * gio/glocalfileinfo.c:
4888 Set UNIX_GID from gid, not from uid
4890 2007-09-27 Alexander Larsson <alexl@redhat.com>
4893 Add g_file_set_attributes_async
4895 2007-09-27 Alexander Larsson <alexl@redhat.com>
4897 * gio/glocalfile.c (g_local_file_set_display_name):
4898 Fix set_display_name to actually rename to the right place.
4899 Use lstat to look for existing files so we don't overwrite
4902 2007-09-26 Alexander Larsson <alexl@redhat.com>
4905 Add g_file_set_display_name_async()
4907 2007-09-26 Alexander Larsson <alexl@redhat.com>
4910 Add load_partial_contents async calls
4913 Make internal function static
4915 2007-09-26 Alexander Larsson <alexl@redhat.com>
4917 * gio/glocalfileinfo.c:
4918 Correctly detect broken symlinks
4920 2007-09-26 Alexander Larsson <alexl@redhat.com>
4922 * gio/gcancellable.c (g_cancellable_cancel):
4923 Allow cancel on NULL cancellable
4925 2007-09-25 Alexander Larsson <alexl@redhat.com>
4927 * gio/gsimpleasyncresult.c:
4928 Don't allocate g_error manually.
4929 Fixes g_slice/g_new mixup crash
4931 2007-09-25 Alexander Larsson <alexl@redhat.com>
4933 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4934 Actually set active_backend.
4935 This means the monitor will be cancelled correctly.
4937 2007-09-25 Alexander Larsson <alexl@redhat.com>
4939 * gio/gdirectorymonitor.c:
4940 Set timeout to NULL when destroying
4942 2007-09-25 Alexander Larsson <alexl@redhat.com>
4945 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4946 that is a better description of the error.
4948 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4950 * gio/gvfs.c: (g_vfs_get_local):
4951 Make the local vfs variable static. The same instance should
4954 2007-09-24 Alexander Larsson <alexl@redhat.com>
4956 * gio/glocalfileinfo.c:
4957 Pass in actual length read into sniffer, not the length
4960 2007-09-21 Alexander Larsson <alexl@redhat.com>
4962 * gio/gfileenumerator.c:
4965 * gio/gfileinputstream.c:
4966 * gio/gfileoutputstream.c:
4967 * gio/ginputstream.c:
4968 * gio/goutputstream.c:
4969 Don't crash if async callbacks are NULL
4971 2007-09-20 Alexander Larsson <alexl@redhat.com>
4974 Add async enumerate_children method and default
4977 2007-09-20 Alexander Larsson <alexl@redhat.com>
4980 Add g_file_contains_file & g_file_get_relative_path, since they
4981 were needed for nautilus.
4982 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4987 Implement new methods
4989 2007-09-17 Alexander Larsson <alexl@redhat.com>
4992 * gio/gfileinputstream.[ch]:
4993 * gio/gfileoutputstream.[ch]:
4995 * gio/glocalfileenumerator.[ch]:
4996 * gio/glocalfileinfo.[ch]:
4997 * gio/glocalfileinputstream.c:
4998 * gio/glocalfileoutputstream.c:
4999 * gio/gpollfilemonitor.c:
5000 * programs/gio-copy.c:
5001 * programs/gio-info.c:
5002 * programs/gio-move.c:
5003 Rename get_file_info to query_info() to make it clearer
5004 that these are not simple getters, but do i/o.
5006 2007-09-17 Alexander Larsson <alexl@redhat.com>
5008 * gio/gdatainputstream.[ch]:
5009 * gio/test-streams.c:
5010 Use _read_XXX instead of _get_XXX for the i/o calls
5013 2007-09-17 Alexander Larsson <alexl@redhat.com>
5016 Added needed stuff to TODO comment
5018 2007-09-17 Alexander Larsson <alexl@redhat.com>
5020 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5021 Don't error out removing the backup copy if it doesn't
5024 2007-09-14 Alexander Larsson <alexl@redhat.com>
5026 * programs/Makefile.am:
5027 * programs/gvfs-*.c:
5029 Renamed apps from gvfs-xxx to gio-xxx.
5031 2007-09-14 Alexander Larsson <alexl@redhat.com>
5034 * gio/gfileoutputstream.[ch]:
5035 * gio/glocalfileoutputstream.c:
5036 * programs/gvfs-save.c:
5037 g_file_output_stream_get_etag doesn't do i/o, so remove
5038 cancellation and error.
5040 2007-09-14 Alexander Larsson <alexl@redhat.com>
5043 Add new_etag output to replace_contents functions
5045 2007-09-14 Alexander Larsson <alexl@redhat.com>
5047 * gio/gfileoutputstream.[ch]:
5048 Add async get_file_info and default implementation
5050 2007-09-14 Alexander Larsson <alexl@redhat.com>
5052 * gio/gfileinputstream.c:
5053 Implement fallback wrapper for async get_file_info
5055 2007-09-14 Alexander Larsson <alexl@redhat.com>
5058 Add etag out argument to load_contents
5063 2007-09-14 Alexander Larsson <alexl@redhat.com>
5065 * gio/gcontenttype.c (looks_like_text):
5066 Whitespace like tab, cr and lf do not make the
5069 2007-09-14 Alexander Larsson <alexl@redhat.com>
5071 * gio/gfileinputstream.[ch]:
5072 Add async get_file_info.
5074 2007-09-13 Alexander Larsson <alexl@redhat.com>
5076 * gio/goutputstream.c (g_output_stream_write_all):
5077 Allow NULL for bytes_written
5079 2007-09-13 Alexander Larsson <alexl@redhat.com>
5081 * gio/gmemoryinputstream.[ch]:
5082 Add accessors for data
5084 2007-09-13 Alexander Larsson <alexl@redhat.com>
5086 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5087 Don't crash if length is NULL