1 2008-09-30 Tor Lillqvist <tml@novell.com>
3 * tests/Makefile.am: Build desktop-app-info only on Unix.
5 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
6 g_critical(). Pass a large enough result buffer to
7 GetVolumePathNameW(). Just use MAX_PATH.
9 2008-09-29 David Zeuthen <davidz@redhat.com>
11 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
13 2008-09-26 Dan Winship <danw@gnome.org>
15 * tests/data-input-stream.c:
16 * tests/data-output-stream.c:
17 * tests/live-g-file.c:
18 * tests/memory-input-stream.c:
19 * tests/memory-output-stream.c: Use g_assert_error() and
22 2008-09-26 Matthias Clasen <mclasen@redhat.com>
24 Bug 545350 – GAppInfo deletion
25 Bug 545351 – Reset associations for content type
28 * gappinfo.[hc]: New functions g_app_info_can_delete,
29 g_app_info_delete and g_app_info_reset_type_associations.
32 * gwin32appinfo.c: Implementations of these.
35 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
37 2008-09-26 Dan Winship <danw@gnome.org>
39 Bug 505361 – gunixinputstream.c assumes poll() available
40 Bug 509446 – portable blocking gio cancellation
42 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
43 GPollFD for a cancellable (which is slightly more complicated on
46 * gunixinputstream.c (g_unix_input_stream_read):
47 * gunixoutputstream.c (g_unix_output_stream_write): Use
48 g_cancellable_make_pollfd() and g_poll() rather than using poll()
51 * tests/unix-streams.c: test of GUnixInputStream,
52 GUnixOutputStream, and GCancellable.
54 2008-09-26 Dan Winship <danw@gnome.org>
56 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
57 cast to stop a gcc warning
59 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
62 2008-09-25 Dan Winship <danw@gnome.org>
64 Bug 553426 - cancellable clarifications
66 * gcancellable.c (g_cancellable_class_init): Add a note to the
67 "cancelled" signal docs warning about thread-safety issues
68 (g_cancellable_cancel): Note that cancelling an asynchronous
69 operation takes effect asynchronously, not immediately.
71 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
73 * gioenums.h: Add new GFileCopyFlag, to leave target file with
74 default perms, instead of setting the source file perms, in a copy
77 * gfile.c (g_file_copy_attributes)
78 (build_attribute_list_for_copy)
79 (should_copy): Not copy "unix::mode" attribute if we have received
80 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
82 2008-09-20 Matthias Clasen <mclasen@redhat.com>
84 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
86 2008-09-17 Matthias Clasen <mclasen@redhat.com>
88 * === Released 2.18.1 ===
90 2008-09-16 Michael Natterer <mitch@imendio.com>
92 * gcontenttype.c (g_content_type_guess): can't assign the return
93 value of g_strdupv() to an array. Fill the array manually with
94 const strings instead (it is never freed anyway). Fixes the
95 build. Also fixed indentation.
97 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
99 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
100 Fix trivial typo to unbreak the build (there was a colon
101 instead of a semicolon at the end of a statement).
103 2008-09-15 Matthias Clasen <mclasen@redhat.com>
105 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
108 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
111 2008-09-15 Matthias Clasen <mclasen@redhat.com>
113 Bug 551681 – g_content_type_guess() too naive with filenames
115 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
116 at the end of the filename, and declare it a directory.
117 Patch by Bastien Nocera
119 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
121 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
124 * gdesktopappinfo.c: add a note in the docs clarifying what the
125 "filename" parameter really is.
127 2008-09-12 Tor Lillqvist <tml@novell.com>
129 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
130 FormatMessage() etc here. Call g_win32_error_message() instead
131 which already does all that. Besides, the code was broken as it
132 called the default "A" version of FormatMessage() but still
133 thought it produced a wide string.
135 2008-09-12 Michael Natterer <mitch@imendio.com>
137 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
138 in the documentation.
140 2008-09-08 Christian Neumair <cneumair@gnome.org>
142 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
143 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
144 Use non-blocking pipe for mount helper I/O. Fixes #550647.
146 2008-09-06 Matthias Clasen <mclasen@redhat.com>
148 Bug 551149 – xdgmime mem leak
150 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
151 a memory leak. Patch by Christian Persch
153 2008-09-04 Tor Lillqvist <tml@novell.com>
155 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
158 2008-09-02 Matthias Clasen <mclasen@redhat.com>
160 * === Released 2.18.0 ===
162 2008-09-02 Michael Natterer <mitch@imendio.com>
164 * *.h: big header formatting cleanup: indentation, vtable
165 formatting, consistent spacing in (* vfunc), trailing whitespace
166 removal. Formatting should be pretty consistent in all GIO headers
169 2008-09-02 Matthias Clasen <mclasen@redhat.com>
171 * gmount.h: Document guess_content_type sync vfunc.
173 2008-09-02 Michael Natterer <mitch@imendio.com>
175 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
176 fix parent_class member to be GFilterOutputStreamClass (not
177 GOutputStreamClass). Drop three pointers of padding, which is
178 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
179 so the class struct size stays the same.
181 2008-09-02 Matthias Clasen <mclasen@redhat.com>
183 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
185 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
186 nonexisting return values. Pointed out by Cosimo Cecchi.
188 2008-08-23 Tor Lillqvist <tml@novell.com>
190 Bug 548988 - g_file_replace fails on Windows when the target file
193 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
194 Windows, close the file before potentially renaming it (in case we
195 have been writing to a file with a temporary name).
197 (g_local_file_output_stream_close, handle_overwrite_open): Use
198 GLocalFileStat instead of plain struct stat, for passing to
199 _g_local_file_info_create_etag(). Thus also use _fstati64()
200 instead of plain fstat() on Windows.
202 2008-08-18 Matthias Clasen <mclasen@redhat.com>
204 * === Released 2.17.7 ===
206 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
208 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
211 2008-08-13 Tor Lillqvist <tml@novell.com>
213 * win32/gwinhttpvfs.c
214 * win32/gwinhttpvfs.h
215 * win32/gwinhttpfile.c
216 * win32/gwinhttpfileinputstream.c
217 * win32/gwinhttpfileoutputstream.c: Refactor some common code
218 snippets into helper functions. Check HTTP response status
219 codes. Implement g_winhttp_file_query_info(), looking at
220 Content-Length, Content-Type and Last-Modified.
222 * win32/winhttp.h: Add some symbolic constants that are not
223 publicly documented. Just a handful, so it should be OK to use
224 information from the Windows SDK's headers.
226 2008-08-13 Tor Lillqvist <tml@novell.com>
228 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
231 * win32/gwin32directorymonitor.c
232 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
234 2008-08-13 Matthias Clasen <mclasen@redhat.com>
237 * goutputstream.c: Add intro docs.
239 2008-08-13 Tor Lillqvist <tml@novell.com>
241 * win32/gwinhttpfileoutputstream.c
242 (g_winhttp_file_output_stream_write): Don't write the
243 Content-Length header ourselves, WinHttpSendRequest() takes care
244 of that when the dwTotalLength parameter is non-zero. Increment
245 offset by the number of actual bytes sent, although I wonder if
246 such a scenario is possible where less than requested would be
247 sent and accepted by the server without errors.
249 2008-08-13 Tor Lillqvist <tml@novell.com>
251 * win32/gwinhttpvfs.c
252 * win32/gwinhttpvfs.h
253 * win32/gwinhttpfile.c
254 * win32/gwinhttpfile.h
255 * win32/gwinhttpfileinputstream.c
256 * win32/gwinhttpfileinputstream.h
257 * win32/gwinhttpfileoutputstream.c
258 * win32/gwinhttpfileoutputstream.h: New files implementing
259 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
260 Windows. The implementation uses the WinHttp API. Both reading and
261 writing are supported, i.e. GET and PUT requests. When writing,
262 each write call is done using a separate PUT request with a
263 Content-Range header. Requests for file URIs and plain pathnames
264 are forwarded to GLocalVfs.
266 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
267 WINE. Used as there is no <winhttp.h> bundled with mingw, and
268 requiring people to download the Windows SDK just for this one
269 header is not reasonable.
271 * win32/Makefile.am: Add above files.
273 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
274 the plumbing for the above.
276 2008-08-11 Sven Neumann <sven@gimp.org>
278 * gfilenamecompleter.c
279 * glocaldirectorymonitor.c
281 * gunionvolumemonitor.c
285 * gunixvolumemonitor.c
288 * gwin32volumemonitor.c: use canonical signal names.
290 2008-08-11 Tor Lillqvist <tml@novell.com>
292 * Makefile.am: Put a list of the platform-dependent .la files in
293 the subdirectories in the platform_deps Make variable, and make
294 libgio-2.0.la depend on that, so that it gets relinked if one of
295 the dependent libraries has changed.
297 2008-08-11 Tor Lillqvist <tml@novell.com>
299 * Makefile.am (platform_libadd): Remove -lwininet which had been
300 added by mistake. We will probably eventually be using WinHTTP,
301 not the older WinInet anyway. (Actually I am working on it.)
303 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
305 Bug 547080 – g_file_copy leaks expected errors
307 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
308 before trying the next fallback routine.
310 2008-08-09 Loïc Minier <lool@dooz.org>
312 Bug 535124 – umask 002 not being applied for new directories, new
313 files get the correct umask
315 * gfile.c (g_file_make_directory)
316 (g_file_make_directory_with_parents): Document ownership and
317 permissions of newly created directories as being the default
320 2008-08-08 Loïc Minier <lool@dooz.org>
322 Bug 535124 – umask 002 not being applied for new directories, new
323 files get the correct umask
325 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
328 2008-08-08 Tor Lillqvist <tml@novell.com>
330 * gwin32mount.c: Remove unused code. Whitespace cleanup.
332 * gwin32volumemonitor.c (get_connected_drives): Put questionable
333 code that didn't actually do anything inside #if 0, and add a
334 comment wondering what the code was supposed to do. This also gets
335 rid of a leftover debugging printout.
337 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
339 * gfileicon.c (g_file_icon_get_property)
340 (g_file_icon_set_property): New functions.
341 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
343 (g_file_icon_new): Use the property (bug #546132).
345 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
347 * gthemedicon.c (g_themed_icon_get_property): Also handle
348 `PROP_USE_DEFAULT_FALLBACKS'.
349 (g_themed_icon_class_init): Make
350 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
352 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
354 Bug 546371 – Improve docs re g_file_monitor
356 * gfilemonitor.c: Mention g_file_monitor() in the docs.
358 2008-08-04 Matthias Clasen <mclasen@redhat.com>
360 * === Released 2.17.6 ===
362 2008-08-04 Matthias Clasen <mclasen@redhat.com>
364 * === Released 2.17.5 ===
366 2008-08-04 Matthias Clasen <mclasen@redhat.com>
368 Bug 546017 – Don't copy attributes when copying a symlink
370 * gfile.c (g_file_copy_attributes): Specify
371 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
372 g_file_set_attributes_from_info. Patch by Christian Kellner
374 2008-08-04 Matthias Clasen <mclasen@redhat.com>
376 * gemblemedicon.[hc]:
378 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
379 a bit more extensible. Work by Clemens Buss.
381 * gioenums.h: Add GEmblemOrigin.
384 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
386 Bug 546079 – leak in xdgmime
388 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
390 2008-08-03 Tor Lillqvist <tml@novell.com>
392 * win32/gwin32directorymonitor.h
393 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
396 2008-08-03 Tor Lillqvist <tml@novell.com>
398 * win32/gwin32directorymonitor.c
399 (g_win32_directory_monitor_callback): Make prototype match
400 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
401 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
404 (g_win32_directory_monitor_constructor):
405 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
406 names in the GLib API on Windows, so convert to UTF-16 and open
409 2008-08-03 Tor Lillqvist <tml@novell.com>
411 Bug 541036 - Gnumeric crashes when trying to open Desktop or
412 user's folder under Windows
414 * win32/gwin32directorymonitor.c
415 (g_win32_directory_monitor_constructor): Ignore error from
416 CreateFile() when opening directory. Instead of asserting, just
417 store INVALID_HANDLE_VALUE then in
418 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
419 ReadDirectoryChangesW().
420 (g_win32_directory_monitor_cancel): Don't attempt to close
421 directory handle if it is INVALID_HANDLE_VALUE.
423 2008-08-01 Matthias Clasen <mclasen@redhat.com>
425 * gdesktopappinfo.c: Remove debug spew
427 2008-08-01 Hans Breuer <hans@breuer.org>
429 * makefile.msc : add gemblembedicon
431 2008-07-30 Matthias Clasen <mclasen@redhat.com>
433 Bug 545457 – gdmsetup crashed with SIGSEGV in
434 g_unix_mount_guess_should_display()
436 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
437 crash if no mount is found.
439 2008-07-28 Matthias Clasen <mclasen@redhat.com>
441 Bug 545203 – gfile.c: argument is different type.
443 * gfile.c (open_read_async_thread): Pass a GError **
444 to g_file_set_error_literal.
445 Reported by Kazuki Iwamoto
447 2008-07-28 Matthias Clasen <mclasen@redhat.com>
449 Bug 545157 – wrong/no list of "open with" applications for .cc and
452 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
453 Collect all ancestors, not just direct parents. Pointed
454 out by Bastien Nocera
456 2008-07-28 Matthias Clasen <mclasen@redhat.com>
458 * Makefile.am: Install gemblemedicon.h
460 2008-07-28 Matthias Clasen <mclasen@redhat.com>
462 * gemblemedicon.[hc]: Add a GIcon implementation that can
463 add an emblem to another icon.
470 * gfileicon.c: Small documentation additions.
472 2008-07-28 Tor Lillqvist <tml@novell.com>
474 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
477 2008-07-27 Tor Lillqvist <tml@novell.com>
479 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
481 2008-07-24 David Zeuthen <davidz@redhat.com>
485 Also export a g_mount_guess_content_type_sync() function.
487 2008-07-23 Matthias Clasen <mclasen@redhat.com>
489 529694 – SELinux context setting support
491 * gfileinfo.c: Support setting selinux attributes.
492 Patch by Tomas Bzatek
494 2008-07-22 Priit Laes <plaes@plaes.org>
496 Bug 544140 - fam-helper 64-bit issue?
498 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
500 2008-07-21 Matthias Clasen <mclasen@redhat.com>
502 * === Released 2.17.4 ===
504 2008-07-20 Matthias Clasen <mclasen@redhat.com>
506 * gvolumemonitor.[hc]:
511 * gmount.c: Documentation fixes
513 2008-07-19 Matthias Clasen <mclasen@redhat.com>
515 543504 – crash in Epiphany Web Browser: Opening local file
526 * gvolume.c: Register types thread-safely.
527 Patch by Christian Persch
529 2008-07-18 Matthias Clasen <mclasen@redhat.com>
531 * gcontenttype.c: Remove debug spew
533 2008-07-18 Matthias Clasen <mclasen@redhat.com>
535 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
538 * fen/fen-kernel.c: Remove a warning that was causing
539 crashes. Reported by Lin Ma.
541 2008-07-18 Matthias Clasen <mclasen@redhat.com>
543 Bug 543040 – async reading on dummy file will crash on
546 * gfile.c (open_read_async_thread): Cope with read_fn being
547 NULL. Reported by Lin Ma.
549 2008-07-18 Matthias Clasen <mclasen@redhat.com>
552 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
554 2008-07-16 Matthias Clasen <mclasen@redhat.com>
558 * giomodule.c: Rename a chapter id to avoid filename conflict.
560 2008-07-16 Matthias Clasen <mclasen@redhat.com>
562 Bug 540616 – mem leak in filechooser button
564 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
565 the mount entry. Reported by Chrisitan Persch
567 2008-07-16 Matthias Clasen <mclasen@redhat.com>
569 * gfile.c: Small documentation fixes.
571 2008-07-15 Matthias Clasen <mclasen@redhat.com>
573 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
575 2008-07-08 Matthias Clasen <mclasen@redhat.com>
580 * gmount.c: Documentation improvements.
582 2008-07-08 Matthias Clasen <mclasen@redhat.com>
585 * gmount.[hc]: Add g_mount_guess_content_type().
587 2008-07-06 David Zeuthen <davidz@redhat.com>
590 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
591 is needed for easily handling adoption of foreign volumes by
592 out-of-process volume monitors (#541793)
594 2008-07-06 David Zeuthen <davidz@redhat.com>
596 * gvolumemonitor.[ch]:
597 * gunionvolumemonitor.c: Export the eject-button signal on the
598 volume monitor class (#541794).
600 2008-07-06 Matthias Clasen <mclasen@redhat.com>
602 * gappinfo.c: More doc tweaks
604 2008-07-05 Matthias Clasen <mclasen@redhat.com>
606 * gappinfo.c: Clarify some docs
608 2008-07-03 Matthias Clasen <mclasen@redhat.com>
610 * gdesktopappinfo.c: Fix a stupid mistake.
612 2008-07-02 Matthias Clasen <mclasen@redhat.com>
614 * === Released 2.17.3 ===
616 2008-07-02 Matthias Clasen <mclasen@redhat.com>
618 * gfilemonitor.c: Fix the build.
620 2008-07-02 Matthias Clasen <mclasen@redhat.com>
622 Bug 536160 – Add g_file_monitor()
625 * gfile.[hc]: Add g_file_monitor which can return either
626 a file or a directory monitor. Proposed by Behdad Esfahbod
628 2008-07-02 Matthias Clasen <mclasen@redhat.com>
630 536733 – gio build failure on Irix
632 * glocalfile.c: Use a configure check for structfs.f_bavail.
634 2008-07-02 Matthias Clasen <mclasen@redhat.com>
636 Bug 534639 – add g_desktop_app_info_new_from_keyfile
639 * gdesktopappinfo.[hc]: Add a function to create a
640 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
642 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
644 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
646 2008-07-01 Matthias Clasen <mclasen@redhat.com>
648 * gunixmounts.c: Fix a doc typo.
650 2008-07-01 Cody Russell <bratsche@gnome.org>
652 * gio/gcontenttype.c:
653 * gio/gwin32appinfo.c:
654 * gio/gwin32volumemonitor.c:
655 * gio/gwin32mount.c: Fixed some include problems.
657 2008-07-01 Cody Russell <bratsche@gnome.org>
661 Moved all relevant typedefs into these files.
664 Updated wrt added files.
666 Split types into separate file for easier maintainership. (#538564)
668 2008-06-30 Matthias Clasen <mclasen@redhat.com>
670 Bug 540331 – g_file_append_to () documentation: can return NULL
672 * gfile.c (g_file_append_to): Clarify docs.
675 2008-06-30 Matthias Clasen <mclasen@redhat.com>
677 Bug 539090 – g_content_type_from_mime_type() should unalias
679 * gcontentype.c (g_content_type_from_mime_type): Unalias.
680 Patch by Markus Bergman
682 2008-06-30 Matthias Clasen <mclasen@redhat.com>
684 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
687 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
688 on ppc and alpha. Reported by Mart Raudsepp
690 2008-06-29 Matthias Clasen <mclasen@redhat.com>
693 * tests/memory-output-stream.c: Add some tests for
696 2008-06-29 Matthias Clasen <mclasen@redhat.com>
698 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
701 * gmemoryoutputstream.c (array_resize): Handle truncation to
702 zero correctly. Reported by Akira Tagoh
704 2008-06-29 Matthias Clasen <mclasen@redhat.com>
706 * gmemoryoutputstream.c: Trivial doc fixes
708 2008-06-29 Matthias Clasen <mclasen@redhat.com>
710 Bug 540802 – g_list_prepend doesn't concat lists
712 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
713 one list to another. Pointed out by Jan Arne Petersen
715 2008-06-28 Michael Natterer <mitch@imendio.com>
717 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
719 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
721 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
722 to avoid problems with partial icon themes.
724 2008-06-17 Hans Breuer <hans@breuer.org>
726 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
727 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
728 access again on win32, see bug #538127
729 * giomodule.c : ensure GWin32VolumeMonitor is registered
730 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
731 * Makefile.am makefile.msc : updated
733 2008-06-16 Hans Breuer <hans@breuer.org>
735 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
736 and initialization in one step avoids c99ism
738 2008-06-16 Christian Persch <chpe@gnome.org>
741 * gio/gbufferedinputstream.c
743 * gio/gdatainputstream.c
744 * gio/gdesktopappinfo.c
746 * gio/gfileenumerator.c
747 * gio/gfileinputstream.c
748 * gio/gfileoutputstream.c
750 * gio/glocaldirectorymonitor.c
752 * gio/glocalfileenumerator.c
753 * gio/glocalfileinfo.c
754 * gio/glocalfilemonitor.c
755 * gio/glocalfileoutputstream.c
756 * gio/gmemoryinputstream.c
757 * gio/gmemoryoutputstream.c
758 * gio/goutputstream.c
759 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
762 2008-06-16 Tor Lillqvist <tml@novell.com>
764 Bug 538362 - Get Win32 icons back in the file chooser
766 * gcontenttype.c (g_content_type_get_icon): Look up the icon
767 corresponding to a file extension in the Registry. Patch by Hans
769 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
771 2008-06-16 Tor Lillqvist <tml@novell.com>
773 Patches by Hans Breuer:
775 * glocalfile.c (is_xp_or_later): Handle compiling against older
776 SDK headers with missing VerifyVersionInfo(). Conditioned on
777 _MSC_VER, but should probably use some better test.
778 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
779 uninitialised statfs_result variable on Win32.
781 2008-06-16 Michael Natterer <mitch@imendio.com>
783 * *.c: chain up unconditionally in finalize() and dispose(). Also
784 don't dereference these function pointers when calling them since
785 that has no meaning at all.
787 2008-06-16 Ross Burton <ross@burtonini.com>
790 Remove check for dispose implementation as it annoys Emmanuele.
792 2008-06-16 Ross Burton <ross@burtonini.com>
794 Bug 536252 – GFileEnumerator should allow access to the containing
800 Add g_file_enumerator_get_container() and a container writeable
801 construct-only property. Also shuffle around typedefs to make it
804 * glocalfileenumerator.c:
805 * glocalfileenumerator.h:
807 Instead of a string filename take a GFile in the constructor and
808 use it to set the container property.
813 2008-06-16 Matthias Clasen <mclasen@redhat.com>
815 * gfile.c: Make includes more uniform
817 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
819 * tests/live-g-file.c (sample_struct):
820 Use less fancy unicode filenames, so the test doesn't fail
821 on Mac OS X (#531476).
823 2008-06-12 Matthias Clasen <mclasen@redhat.com>
825 * === Released 2.17.2 ===
827 2008-06-12 Matthias Clasen <mclasen@redhat.com>
829 * === Released 2.17.1 ===
831 2008-06-11 A. Walton <awalton@gnome.org>
833 * tests/g-file.c (test_g_file_new_null):
834 Fix broken test case.
836 2008-06-11 Matthias Clasen <mclasen@redhat.com>
838 * pltcheck.sh: We use g_clear_error now.
840 2008-06-11 Matthias Clasen <mclasen@redhat.com>
842 * glocalfile.c (g_local_file_enumerate_children): Revert
843 an unintended change.
845 2008-06-11 Matthias Clasen <mclasen@redhat.com>
847 * gfile.c (g_file_replace_contents): Don't unref before the last use.
849 2008-06-10 Matthias Clasen <mclasen@redhat.com>
851 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
854 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
855 as icon for the desktop directory, also make user-home and
856 user-desktop the preferred icons.
858 2008-06-10 Matthias Clasen <mclasen@redhat.com>
861 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
862 to add a name to the front of the list.
864 2008-06-10 Matthias Clasen <mclasen@redhat.com>
866 Bug 537392 – Additional colon in xattr name
868 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
869 too. Reported by Alessandro Morandi
871 2008-06-10 Matthias Clasen <mclasen@redhat.com>
873 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
876 * glocalfile.c (get_fs_type): Add afs and autofs.
877 Patch by Danny Baumann.
879 2008-06-10 Matthias Clasen <mclasen@redhat.com>
881 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
883 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
884 is no parent. (Owen Taylor, patch by Christian Neumair)
886 2008-06-10 Paolo Borelli <pborelli@katamail.com>
888 * gfile.c (g_file_replace_contents): do not leak the output stream.
890 2008-06-10 Michael Natterer <mitch@imendio.com>
892 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
893 uninitialized memory as array index.
895 2008-06-10 Tor Lillqvist <tml@novell.com>
897 * gcontenttype.c (g_content_type_can_be_executable)
898 (g_content_type_get_icon) [Win32]: Add TODO comments.
900 2008-06-09 Matthias Clasen <mclasen@redhat.com>
902 * xdgmime/Makefile.am: Fix the build
904 2008-06-09 Matthias Clasen <mclasen@redhat.com>
906 * gcontenttype.c (g_content_type_get_icon): Use icons specified
907 in the shared mime database, if available.
909 * xdgmime/*: Sync with upstream. This brings support for
910 glob weights, generic icons, and changes the cache format to
913 2008-05-28 Michael Natterer <mitch@imendio.com>
915 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
916 the global CPPFLAGS now.
918 * tests/data-input-stream.c
919 * tests/data-output-stream.c
920 * tests/g-file-info.c
922 * tests/live-g-file.c
923 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
925 2008-05-27 Matthias Clasen <mclasen@redhat.com>
927 * === Released 2.17.0 ===
929 * tests/live-g-file.c: Clean up after the tests, so make distcheck
930 doesn't complain about leftover files.
932 2008-05-27 simon.zheng <simon.zheng@sun.com>
934 * glocalfile.c: (g_local_file_query_filesystem_info):
935 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
937 2008-05-26 Michael Natterer <mitch@imendio.com>
939 * gmemoryoutputstream.h: declare
940 g_memory_output_stream_get_data_size().
942 2008-05-26 Matthias Clasen <mclasen@redhat.com>
944 * tests/*: Make tests work
946 2008-05-26 Matthias Clasen <mclasen@redhat.com>
948 * gio.symbols: Add g_memory_output_stream_get_data_size.
950 2008-05-25 Ross Burton <ross@burtonini.com>
953 Fix typo in error message (#534764).
955 2008-05-25 Ross Burton <ross@burtonini.com>
958 Fix circular dependency loop for gioenumtypes.h (#534759).
960 2008-05-19 Hans Breuer <hans@breuer.org>
962 * Makefile.am : EXTRA_DIST += makefile.msc
964 2008-05-17 Matthias Clasen <mclasen@redhat.com>
967 * gcontenttype.c: (g_content_type_from_mime_type):
968 New function to create a content type from a mime type. (#527175,
971 2008-05-17 Matthias Clasen <mclasen@redhat.com>
973 Bug 532965 – Should not return filesystem::free for certain file systems
975 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
976 free space for ncpfs.
978 2008-05-17 Matthias Clasen <mclasen@redhat.com>
980 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
982 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
983 st_dev might be zero.
985 2008-05-16 Tor Lillqvist <tml@novell.com>
987 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
988 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
990 2008-05-13 Bastien Nocera <hadess@hadess.net>
992 * gfile.c (has_valid_scheme): A URI scheme must start with a
993 letter, even if later more characters are allowed (#532852)
995 2008-05-05 Michael Natterer <mitch@imendio.com>
997 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
998 code from being checked in that breaks the build of applications
999 which use G_DISABLE_SINGLE_INCLUDES.
1001 * makegioalias.pl: make the alias file include "glib.h" instead of
1004 * gio.symbols: whitespace change to force regeneration of the
1005 alias file after above script change.
1007 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1009 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1011 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1013 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1015 2008-04-28 David Zeuthen <davidz@redhat.com>
1017 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1018 displaying mounts in a subdirectory not accessible to the
1021 2008-04-22 Michael Natterer <mitch@imendio.com>
1023 * Makefile.am: fix library versioning (it was 0.0.0).
1025 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1027 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1028 Default disable all loggings.
1029 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1030 (port_fetch_event_cb): Fixed two macro nits.
1032 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1034 * xdgmime/xdgmime.c: Rework the timestamp checking code
1035 to protect against duplicate directories in XDG_DATA_DIRS.
1036 Fixes fd.o bug 12513, reported by Joe Shaw.
1038 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1040 Partically revert the last commit after realizing that
1041 xdg_mime_media_type_equal doesn't have to init at all.
1043 * xdgmime/xdgmime.h:
1044 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1046 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1048 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1050 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1051 reported by Joe Shaw and Federico Mena Quintero.
1053 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1054 (xdg_mime_media_type_equal): Turn into a wrapper around the
1057 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1058 functions throughout.
1060 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1062 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1063 tolerate an empty TryExec= line without failing; nautilus used
1064 to create launchers with these in previous versions. Fixes #528433
1066 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1068 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1069 after name. Fixes #527132.
1071 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1073 * gfile.c: (g_file_replace):
1076 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1078 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1080 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1081 by Christian Kellner.
1083 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1085 * gunixmounts.c: (g_unix_mount_guess_should_display):
1086 Don't list the user directory as a mount, fix potential issue
1087 when other users have a similar naming and don't special case the
1088 gvfs mounts there since that's not required (#525866)
1090 2008-03-31 Alexander Larsson <alexl@redhat.com>
1092 * glocalfile.c (get_parent):
1095 2008-03-31 A. Walton <awalton@svn.gnome.org>
1097 * gfile.c (g_file_query_file_type):
1098 Always return a GFileType enum value (#520715).
1100 2008-03-31 Alexander Larsson <alexl@redhat.com>
1102 * glocalfileenumerator.c:
1103 Read readdir() info in chunks (of 1000) and sort
1104 the chunks by inode before stat:ing.
1105 This is a 20% performance increase in testing
1106 gvfs-ls on /usr/bin with cold cache.
1108 2008-03-31 Alexander Larsson <alexl@redhat.com>
1110 * gmemoryoutputstream.c:
1111 Clarify docs for g_memory_output_stream_get_size.
1112 Add g_memory_output_stream_get_data_size.
1114 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1118 * gfile.h: Add g_file_query_file_type convenience function
1119 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1121 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1123 * gfileenumerator.c:
1124 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1126 2008-03-28 A. Walton <awalton@svn.gnome.org>
1128 * giomodule.c (_g_io_modules_ensure_loaded):
1129 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1132 2008-03-28 Alexander Larsson <alexl@redhat.com>
1135 (copy_stream_with_progress):
1138 2008-03-28 Alexander Larsson <alexl@redhat.com>
1141 (copy_stream_with_progress):
1142 (file_copy_fallback):
1143 Fallback to g_file_query_info for source size
1144 if g_file_input_stream_query_info fails. (#524579)
1146 2008-03-28 Alexander Larsson <alexl@redhat.com>
1148 * glocalfile.c (g_local_file_move):
1149 Reuse old string instead of adding new one.
1151 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1153 * fen/*.[hc]: still copyright issue. I hate copyright.
1155 2008-03-27 Alexander Larsson <alexl@redhat.com>
1157 * glocalfile.c (g_local_file_move):
1158 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1159 file over directory. This is according to the docs and what the move via
1160 copy+remove fallback does.
1162 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1164 * fen/*.[hc]: Updated copyright.
1166 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1168 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1170 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1172 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1173 not emit attribute changed events when optimizing changed events.
1174 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1177 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1179 * gmountoperation.[hc]: Small documentation additions
1181 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1183 * gunixmounts.c: (guess_mount_type):
1184 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1186 2008-03-19 Alexander Larsson <alexl@redhat.com>
1189 (copy_stream_with_progress):
1190 Bump block side for copy to 64k to minimize
1191 overhead for low latency links. (#523015)
1193 2008-03-16 Tor Lillqvist <tml@novell.com>
1195 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1196 depend on gio.def on Windows.
1198 2008-03-12 David Zeuthen <davidz@redhat.com>
1202 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1204 2008-03-14 Alexander Larsson <alexl@redhat.com>
1208 Avoid redudant tests (#521851)
1209 Patch from Josselin Mouette
1211 2008-03-14 Alexander Larsson <alexl@redhat.com>
1214 (g_file_monitor_is_cancelled):
1215 Fix C89 issue (#521672)
1216 Patch from Jens Granseuer
1218 2008-03-14 Alexander Larsson <alexl@redhat.com>
1220 * fam/fam-helper.[ch]:
1222 Shut down fam (including removing fam GSource) when
1223 module is unloaded (#521513)
1224 Patch from Joe Marcus Clarke
1226 2008-03-14 Alexander Larsson <alexl@redhat.com>
1229 (_g_io_modules_ensure_loaded):
1232 2008-03-14 Alexander Larsson <alexl@redhat.com>
1235 (g_local_file_query_filesystem_info):
1236 Use right define name for f_fstypename member check
1238 2008-03-14 Alexander Larsson <alexl@redhat.com>
1241 * fen/Makefile.am: Added.
1242 * fen/fen-data.[ch]: Added.
1243 * fen/fen-dump.[ch]: Added.
1244 * fen/fen-helper.[ch]: Added.
1245 * fen/fen-kernel.[ch]: Added.
1246 * fen/fen-missing.[ch]: Added.
1247 * fen/fen-node.[ch]: Added.
1248 * fen/fen-sub.[ch]: Added.
1249 * fen/gfendirectorymonitor.[ch]: Added.
1250 * fen/gfenfilemonitor.[ch]: Added.
1252 Added Solaris FEN file notification backend.
1253 Patch from Lin Ma <Lin.Ma@Sun.COM>
1255 2008-03-13 Tor Lillqvist <tml@novell.com>
1257 * Makefile.am: Actually use the gio.def file when linking the
1258 library on Windows. Produce .lib library for Microsoft's toolchain
1259 when possible. Install the .lib and .def file like for the other
1262 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1264 * tests/live-g-file.c:
1265 Include live-g-file in standard set of tests, making a temporary
1266 directory in source structure.
1268 Clean target directory before the tests (write mode only)
1270 2008-03-12 Tor Lillqvist <tml@novell.com>
1272 Bug 517419 - gio win32 directory monitor
1273 Implementation by Vlad Grecescu.
1276 * win32/gwin32directorymonitor.h
1277 * win32/gwin32directorymonitor.c: New files.
1279 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1281 * Makefile.am: Add the win32 subdirectory.
1283 2008-03-12 Tor Lillqvist <tml@novell.com>
1285 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1286 normal struct stat on Unix but struct _stati64 on Windows to have
1287 access to 64-bit file size information. Use that instead of struct
1288 stat in the functions declared here in this private header.
1290 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1291 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1292 warnings about unused functions and variables. Don't set
1293 meaningless attributes like inode numbers on Windows.
1295 2008-03-12 Benjamin Otte <otte@gnome.org>
1298 trim whitespace so gtk-doc groks the function name
1300 2008-03-12 Tor Lillqvist <tml@novell.com>
1302 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1303 returning FALSE, on Win32.
1305 2008-03-11 Alexander Larsson <alexl@redhat.com>
1308 * glocalfileinfo.[ch]:
1309 Correctly implement can_trash by actually
1310 looking for a trash dir, not just assuming
1313 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1315 * === Released 2.16.1 ===
1317 2008-03-11 Alexander Larsson <alexl@redhat.com>
1320 Fix crashes in new constructor and properties code
1322 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1324 * gfile.c: Minor spelling correction in documentation:
1325 existance -> existence.
1327 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1329 * === Released 2.16.0 ===
1331 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1333 * gio.symbols: Remove g_file_contains_file here, too.
1335 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1337 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1338 Samuel Cormier-Iijima)
1340 2008-03-08 Tor Lillqvist <tml@novell.com>
1342 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1345 2008-03-07 Alexander Larsson <alexl@redhat.com>
1348 (g_local_file_query_filesystem_info):
1349 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1350 Patch from Jasper Lievisse Adriaanse
1352 2008-03-06 Tor Lillqvist <tml@novell.com>
1354 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1355 comments for the *_USEC attributes.
1357 2008-03-06 Alexander Larsson <alexl@redhat.com>
1359 * gfile.c (g_file_query_exists):
1360 Add g_return_val_if_fail check (#520700)
1362 2008-03-06 Alexander Larsson <alexl@redhat.com>
1364 * gdesktopappinfo.c:
1367 * gunionvolumemonitor.c:
1370 * tests/live-g-file.c:
1371 * xdgmime/xdgmimecache.c:
1372 Fix sparse warnings (#519489)
1374 2008-03-05 Alexander Larsson <alexl@redhat.com>
1377 Make cancellation threadsafe (i.e.
1378 guarantee its only done once, and always
1381 * glocaldirectorymonitor.c:
1382 Make sure we the monitor lives while the
1383 mounts_changed callback is being called (#520484)
1385 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1387 * gbufferedinputstream.c: Fix typo in parameter
1390 2008-03-04 Alexander Larsson <alexl@redhat.com>
1393 Remove deprecated symbols we kept for one release.
1395 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1398 * goutputstream.c: Tiny documentation corrections.
1400 2008-03-03 Alexander Larsson <alexl@redhat.com>
1402 * gunionvolumemonitor.c:
1404 Fix the adopt_orphan_mount vfunc to take a
1405 volume_monitor reference in an ABI compat way.
1406 This change is not API compat, but the added
1407 arg is not used in the only user of this vfunc, so
1408 all we get is a harmless warning in gvfs (#520169)
1410 2008-03-01 Benjamin Otte <otte@gnome.org>
1413 clarify docs for g_file_delete().
1415 2008-02-29 Alexander Larsson <alexl@redhat.com>
1419 Make sure empty files get text/plain type (#518720)
1421 2008-02-27 Alexander Larsson <alexl@redhat.com>
1427 (g_unix_volume_mount):
1428 Add missing GMountMountFlags argument
1430 2008-02-26 Alexander Larsson <alexl@redhat.com>
1433 (g_local_file_delete):
1434 Handle filesystems (like ntfs-3g) that return EEXIST instead
1435 of ENOTEMPTY (#518816)
1437 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1439 * === Released 2.15.6 ===
1441 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1443 * gfile.c (g_file_find_enclosing_mount):
1444 * ginputstream.c (g_input_stream_set_pending):
1445 * glocalfile.c (g_local_file_find_enclosing_mount):
1446 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1447 * goutputstream.c (g_output_stream_set_pending):
1449 Fixup translator comments (#518578).
1451 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1453 * gfile.c (g_file_find_enclosing_mount):
1455 * glocalfile.c (g_local_file_find_enclosing_mount):
1458 Fix a few typos in translator comments and documentation.
1460 2008-02-25 Alexander Larsson <alexl@redhat.com>
1467 Add translator comments (#518578)
1469 2008-02-25 Alexander Larsson <alexl@redhat.com>
1472 Reintroduce g_file_contains_file, keep around for one
1473 unstable release cycle to avoid crashing to many apps.
1474 Make sure to delete after release.
1476 2008-02-25 Alexander Larsson <alexl@redhat.com>
1479 Remove deprecated g_file_contains_file.
1481 2008-02-25 Alexander Larsson <alexl@redhat.com>
1484 Emit actual change signals in an idle handler.
1485 This avoids reentrance and locking problems in
1486 the file notification backends.
1488 2008-02-25 Alexander Larsson <alexl@redhat.com>
1491 (g_unix_mount_guess_should_display):
1492 Remove type guessing, instead just display
1493 mounts in /media and in ~/.
1495 2008-02-25 Alexander Larsson <alexl@redhat.com>
1498 Make new strings reuse old ones.
1500 2008-02-25 Alexander Larsson <alexl@redhat.com>
1503 Implement trashing and filesystem::readonly for win32 (#517235)
1504 Patch from Yevgen Muntyan
1506 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1508 * gfileinfo.h: Documentation fixes.
1510 2008-02-22 Alexander Larsson <alexl@redhat.com>
1512 * gcontenttype.c (g_content_type_get_icon):
1513 Look at old-style gnome mime icon names too, as many
1514 have not moved to the new style.
1516 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1518 * *.c: Correct the @include in for section docs.
1520 2008-02-21 David Zeuthen <davidz@redhat.com>
1522 * glocalfileinfo.c: (_g_local_file_info_get):
1524 (g_content_type_get_icon): Implement this function by
1525 moving bits from glocalfileinfo.c
1526 (g_content_type_get_description): Unalias before getting
1527 description (#517687)
1529 * gfile.c: (g_file_class_init),
1530 (g_file_query_filesystem_info_async),
1531 (g_file_query_filesystem_info_finish),
1532 (query_filesystem_info_data_free),
1533 (query_filesystem_info_async_thread),
1534 (g_file_real_query_filesystem_info_async),
1535 (g_file_real_query_filesystem_info_finish):
1536 * gfile.h: Implement async version of
1537 g_file_query_filesystem_info()
1539 * gfileinfo.h: Add new attributes for filesystem::use-preview
1541 * gio.symbols: Update
1543 * gthemedicon.c: (g_themed_icon_append_name):
1544 * gthemedicon.h: Add new new convenience function.
1546 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1547 (get_mounts), (get_volumes), (get_connected_drives),
1548 (get_volume_for_uuid), (get_mount_for_uuid),
1549 (g_union_volume_monitor_init), (populate_union_monitor),
1550 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1551 (g_volume_monitor_adopt_orphan_mount):
1553 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1554 monitor implementations to call into the main volume monitor. Also
1555 separate object initialization and volume monitor initialization
1556 such that non-native volume monitors can properly adopt their
1559 2008-02-21 Alexander Larsson <alexl@redhat.com>
1564 2008-02-21 Alexander Larsson <alexl@redhat.com>
1567 Add more documentation about how GFiles work (from #517086)
1569 2008-02-21 Alexander Larsson <alexl@redhat.com>
1573 Add new g_file_has_prefix that does the same as g_file_contains_file.
1574 Deprecate g_file_contains_file and add a macro that converts
1575 it to g_file_has_prefix.
1576 The reason for this change is that the contains_file() name seems to
1577 imply that this does more work than what it does, but its really only
1578 a name match (from #517086)
1583 Update to match the above change.
1585 2008-02-20 Benjamin Otte <otte@gnome.org>
1587 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1588 (g_file_eject_mountable):
1589 even more cases of not returning in error path
1591 2008-02-20 Benjamin Otte <otte@gnome.org>
1593 * gfile.c: (g_file_mount_mountable):
1594 return from function in error path.
1596 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1599 Remove trailing coma in GMountMountFlags struct
1601 2008-02-18 Alexander Larsson <alexl@redhat.com>
1605 * glocalfileoutputstream.c:
1606 Use g_unlink/g_rename instead of unlink/rename;
1607 do not pass raw filenames to g_set_error. (#517239)
1608 Patch from Yevgen Muntyan.
1610 2008-02-18 Alexander Larsson <alexl@redhat.com>
1613 * glocalfileoutputstream.c:
1614 Open files with O_BINARY on windows. (#517140)
1616 2008-02-14 Alexander Larsson <alexl@redhat.com>
1618 * glocalfileoutputstream.c:
1619 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1621 2008-02-14 Alexander Larsson <alexl@redhat.com>
1624 Copy permissions with file on copy (#514084)
1625 This is what cp does and makes sure e.g. the
1626 exec permissions are kept.
1627 Its kinda weird in that it keeps the permission bits
1628 the same while the uid and gid are different. However
1629 the new uid is the user so its not a security issue,
1630 and I've heard no complaints about cp on this issue.
1632 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1634 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1636 2008-02-13 Alexander Larsson <alexl@redhat.com>
1638 * inotify/inotify-path.c:
1639 Define IN_ONLYDIR if not in header (#515346)
1641 2008-02-12 Alexander Larsson <alexl@redhat.com>
1643 * tests/live-g-file.c:
1646 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1648 * === Released 2.15.5 ===
1650 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1652 * gio.symbols: Add g_mount_mount_flags_get_type.
1654 2008-02-11 Alexander Larsson <alexl@redhat.com>
1657 (g_file_info_set_attribute_mask):
1658 (g_file_attribute_matcher_matches_id):
1659 Correctly handle NULL GAttributeMatcher meaning
1660 matches nothing. (Fixes #513492)
1662 2008-02-11 Alexander Larsson <alexl@redhat.com>
1667 Added GMountMountFlags enum and added a flags
1668 argument to all mount calls.
1670 This is an API/ABI change for future extensibility,
1671 as I think we will need at least an
1672 inhibit-autorun flag (the panel needs this).
1673 There are no flags defined yet though.
1675 2008-02-11 Alexander Larsson <alexl@redhat.com>
1678 Added new standard::description attribute.
1679 Requested by Vincent, and useful for both
1682 2008-02-11 Alexander Larsson <alexl@redhat.com>
1684 * gdesktopappinfo.c:
1687 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1689 * *.c: Documentation additions
1691 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1693 * gappinfo.h: Formatting cleanup
1694 * gappinfo.c: Fix up docs.
1696 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1698 * gunixmounts.c: Consistently use getmntent_r() and fall
1699 back to getmntent(). (#515492)
1701 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1703 * gbufferedinputstream.c:
1705 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1707 * tests/data-input-stream.c:
1708 * tests/data-output-stream.c: Portability fixes.
1710 2008-02-08 Alexander Larsson <alexl@redhat.com>
1715 Add g_volume_should_automount.
1718 2008-02-07 Tor Lillqvist <tml@novell.com>
1720 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1721 Win32, too Unix-specific.
1723 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1725 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1726 a local plt if the compiler doesn't support what we want. Bug #514702
1728 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1730 reviewed by: <delete if not using a buddy>
1733 * gunixinputstream.c:
1734 * gunixoutputstream.c:
1736 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1738 * tests/Makefile.am:
1739 * tests/live-g-file.c:
1740 * tests/live-g-file.txt:
1741 New GIO testing module working over real data
1743 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1745 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1746 Fallback to rename() if link() is not available
1747 (when no support on target filesystem)
1749 2008-02-06 Michael Natterer <mitch@imendio.com>
1751 * gfileinfo.c (g_file_info_get_icon): replace
1752 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1754 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1756 * gfile.c (g_file_create):
1757 Documentation update of error codes
1759 2008-02-06 Alexander Larsson <alexl@redhat.com>
1761 * gdesktopappinfo.c:
1762 Update to use both mimeapps.list and
1763 defaults.list as discussed on xdg list.
1765 2008-02-06 Benjamin Otte <otte@gnome.org>
1768 * gfilenamecompleter.c:
1769 Fix some typos in the documentation.
1771 2008-02-06 Alexander Larsson <alexl@redhat.com>
1773 * glocalfile.c (g_local_file_trash):
1774 Don't succeed with trash if newly created
1775 trash dir has the wrong owner. (#514696)
1777 2008-02-05 Alexander Larsson <alexl@redhat.com>
1779 * glocalfile.c (g_local_file_move):
1780 Don't spew warnings when destination is not
1783 2008-02-03 Hans Breuer <hans@breuer.org>
1785 * makefile.msc : update
1787 2008-02-01 Michael Natterer <mitch@imendio.com>
1789 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1790 return value of xdg_mime_list_mime_parents() to a variable of the
1793 2008-02-01 Alexander Larsson <alexl@redhat.com>
1795 * gappinfo.c (g_app_info_launch_uris):
1796 Actually call the launch_uris method, not
1799 2008-02-01 Alexander Larsson <alexl@redhat.com>
1801 * gdesktopappinfo.c (g_desktop_app_info_equal):
1802 Ensure appinfos with no id but same pointer value
1805 2008-02-01 Alexander Larsson <alexl@redhat.com>
1807 * gappinfo.c (g_app_info_launch_default_for_uri):
1810 2008-02-01 Alexander Larsson <alexl@redhat.com>
1814 Add g_app_info_launch_default_for_uri utility
1817 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1819 * gdesktopappinfo.c:
1820 Doc fix for g_app_info_get_default_for_uri_scheme ()
1823 2008-01-30 Alexander Larsson <alexl@redhat.com>
1826 Add doc comment about uris vs GFiles to
1829 * gdesktopappinfo.c:
1830 Ensure uris passed to g_app_info_launch_uris()
1831 are not roundtriped through GFile (as that
1832 may be slightly destructive for e.g. mailto: links)
1834 2008-01-30 Alexander Larsson <alexl@redhat.com>
1836 * tests/data-input-stream.c:
1837 * tests/data-output-stream.c:
1838 C89 fixes from Jens Granseuer (#512849)
1840 2008-01-30 Alexander Larsson <alexl@redhat.com>
1843 Fix gamin/fam difference build issue. (#509419)
1845 2008-01-29 Alexander Larsson <alexl@redhat.com>
1848 * gdesktopappinfo.c:
1849 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1851 2008-01-29 Alexander Larsson <alexl@redhat.com>
1853 * gdesktopappinfo.c:
1854 * gdesktopappinfo.h:
1855 giomodule-priv.h include moved to .c file.
1857 2008-01-29 Alexander Larsson <alexl@redhat.com>
1859 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1860 Remove unused prio/name fields.
1862 2008-01-29 Alexander Larsson <alexl@redhat.com>
1864 * gcontenttype.c (looks_like_text):
1865 Don't treat whitespace as control chars.
1867 2008-01-29 Alexander Larsson <alexl@redhat.com>
1869 * gdesktopappinfo.c:
1870 Lazily create the desktop files for appinfos created
1871 by g_app_info_create_from_commandline() when needed
1872 for mime associations. This allows run-time use
1873 of GAppInfo object without creating unnecessary
1876 2008-01-29 Alexander Larsson <alexl@redhat.com>
1879 Added new symbols to gio.symbols
1881 2008-01-29 Alexander Larsson <alexl@redhat.com>
1884 Add g_file_query_default_handler utility to easily look up
1885 the GAppInfo that handles a file.
1887 * gdesktopappinfo.[ch]:
1889 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1892 Remove unused function
1894 2008-01-29 Alexander Larsson <alexl@redhat.com>
1896 * gfileenumerator.c:
1897 Mention need to free returned value in
1898 g_file_enumerator_next_files_finish docs.
1899 Fix leak if g_file_enumerator_next_files_finish()
1902 2008-01-29 Alexander Larsson <alexl@redhat.com>
1905 (_g_unix_content_type_get_parents):
1906 Use list_parents, not get_parents from xdgmime, because
1907 the later doesn't use the cache.
1909 * xdgmime/xdgmimecache.c:
1910 (_xdg_mime_cache_list_mime_parents):
1911 Don't list the same type as parent multiple times.
1913 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1915 * === Released 2.15.4 ===
1917 2008-01-28 Alexander Larsson <alexl@redhat.com>
1920 Register local vfs with prio 0.
1923 Remove old name and prio class members
1925 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1927 * tests/g-file.c: Disable some tests that are failing in
1928 the absence of a http backend.
1930 2008-01-28 Alexander Larsson <alexl@redhat.com>
1934 Add registration hooks for extension points.
1935 Register the gio extension points.
1937 * fam/gfamdirectorymonitor.c:
1938 * fam/gfamfilemonitor.c:
1939 * glocaldirectorymonitor.[ch]:
1940 * glocalfilemonitor.[ch]:
1941 * gnativevolumemonitor.h:
1942 * gunionvolumemonitor.c:
1943 * gunixvolumemonitor.c:
1946 * inotify/ginotifydirectorymonitor.c:
1947 * inotify/ginotifyfilemonitor.c:
1948 Use the extension points registration instead
1949 of g_type_children().
1951 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1954 * gvolume.[hc]: Document new API.
1956 * gfile.c (g_file_copy_async): Fix docs
1958 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1960 * gbufferedinputstream.c:
1962 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1965 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1967 * glocalfile.c: Avoid trivial differences in translatable strings.
1969 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1971 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1972 build with gcc 3.4 (#509419)
1974 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1976 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1977 (#509994, Murray Cumming)
1979 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1981 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1982 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1983 this allows big jobs to be executed in chunks, instead of blocking
1984 the main loop for a long time.
1986 * gsimpleasyncresult.c:
1987 * giofile.c: Adapt callers.
1989 2008-01-25 Alexander Larsson <alexl@redhat.com>
1991 * gdesktopappinfo.c:
1992 Implement changes discussed on xdg list.
1993 Now we can add supported mimetypes by just using defaults.list
1994 We can also remove associations in defaults.list.
1996 2008-01-25 Alexander Larsson <alexl@redhat.com>
1998 * gdesktopappinfo.c:
1999 Don't make local copy of desktop file
2000 for mimetype changes if the file already
2001 supports the new mimetype.
2003 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2007 * gbufferedinputstream.c:
2008 * glocalfile.c: String improvements. (#511966,
2009 Theppitak Karoonboonyanan)
2011 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2013 * gioscheduler.h: Expand docs a bit.
2015 2008-01-24 Alexander Larsson <alexl@redhat.com>
2018 Add g_drive_get_identifier and
2019 g_drive_enumerate_identifiers
2022 Add g_volume_get_identifier and
2023 g_volume_enumerate_identifiers
2029 Implement identifiers for unix backend
2031 2008-01-24 Alexander Larsson <alexl@redhat.com>
2036 Add g_file_copy_async() (#511580)
2037 Based on patch from Carlos Garcia Campos
2039 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2041 * gioscheduler.c: Some documentation additions.
2043 2008-01-22 Alexander Larsson <alexl@redhat.com>
2045 * gdesktopappinfo.c:
2046 (g_desktop_app_info_new):
2047 Don't leak basename.
2049 2008-01-22 Alexander Larsson <alexl@redhat.com>
2051 * gdesktopappinfo.c:
2052 (g_desktop_app_info_new_from_filename):
2055 2008-01-22 Alexander Larsson <alexl@redhat.com>
2057 * glocalfileinfo.c (get_thumbnail_attributes):
2060 2008-01-22 Alexander Larsson <alexl@redhat.com>
2063 (canonicalize_filename):
2064 Canonicalize paths that start with more than
2068 (compare_two_files):
2069 (test_g_file_new_for_path):
2072 2008-01-22 Alexander Larsson <alexl@redhat.com>
2075 Allow UTF-8 in file:// parse names.
2077 * tests/Makefile.am:
2078 * tests/data-input-stream.c:
2079 * tests/data-output-stream.c:
2080 * tests/g-file-info.c:
2082 Added a bunch of tests from Tomas Bzatek
2084 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2086 * === Released 2.15.3 ===
2088 2008-01-21 Alexander Larsson <alexl@redhat.com>
2090 * gfileinputstream.[ch]:
2091 * gfileoutputstream.[ch]:
2093 Remove duplicated GSeekable functions. (#509990)
2094 Just use the g_seekable_xxx() calls instead.
2096 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2099 * gvolumemanager.c: Whitespace cleanups.
2101 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2102 Use the right mode when creating the file.
2104 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2106 * gfileenumerator.c:
2107 * gfileinputstream.c:
2109 * goutputstream.c: Documentation: Fixed minor typos
2110 and added more mentions of specific _finish() functions.
2112 2008-01-21 Alexander Larsson <alexl@redhat.com>
2114 * inotify/Makefile.am:
2115 * inotify/inotify-helper.c:
2116 * inotify/inotify-kernel.c:
2117 * inotify/inotify-path.c:
2118 * inotify/local_inotify.h: Removed.
2119 * inotify/local_inotify_syscalls.h: Removed.
2120 Removed the included copies of the inotify
2121 headers. We now only use the <sys/inotify.h>
2122 header which exists on modern systems.
2123 This fixes problems on ARM and SH5 (#510448)
2124 but is also generally much cleaner and future
2125 safe. For instance, if other OSes add support
2126 for inotify it should "just work".
2128 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2130 * inotify/*.c: Coding style fixes.
2131 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2132 for the 1/4 Hz timer.
2134 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2137 * gfilemonitor.[hc]:
2138 * gmemoryinputstream.c:
2139 * gmemoryoutputstream.c:
2140 * gmountoperation.c:
2141 * gthemedicon.c: Documentation updates
2143 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2145 * gfile.c: documentation: Fixed more minor
2148 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2150 * gmount.c: (g_mount_remount): documentation:
2151 Mention g_mount_remount_finish() instead of
2152 g_mount_unmount_finish().
2154 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2158 * gfile.c: Fixed some minor typos in the
2161 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2163 * gio/gvolumemonitor.c:
2164 (g_volume_monitor_get_connected_drives):
2165 (g_volume_monitor_get_volumes):
2166 (g_volume_monitor_get_mounts): Documentation:
2167 Clarify the ownership of the regurn GLists.
2169 2008-01-17 Alexander Larsson <alexl@redhat.com>
2172 Add the async find_enclosing_mount version
2173 to the header file too.
2175 2008-01-17 Alexander Larsson <alexl@redhat.com>
2178 Add async version of find_enclosing_mount
2179 with default implementation.
2181 2008-01-17 Alexander Larsson <alexl@redhat.com>
2186 Allow calls to implementation of copy and write
2187 even if the type of the file implementations is
2188 different. This can be used to implement native
2189 upload and download calls in a vfs.
2192 (g_local_file_move):
2193 Protect against the case where move is called
2194 with one file not being local.
2196 Make sure we call the progress callback once
2197 in the native move operation so that the caller
2198 knows how many bytes were copied.
2200 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2203 * gdatainputstream.c:
2205 * gfileoutputstream.c:
2210 * gunixmounts.c: Corrected some typos in the documentation:
2211 occured -> occurred.
2212 its -> it's (where appropriate).
2214 2008-01-16 Alexander Larsson <alexl@redhat.com>
2218 Add g_file_query_exists (#508771)
2220 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2225 * gvolume.c: For async functions that have no non-async
2226 version, document that the GAsyncReadyCallback may be NULL.
2229 2008-01-15 Alexander Larsson <alexl@redhat.com>
2231 * gmemoryinputstream.c:
2232 * gmemoryoutputstream.c:
2233 Don't do pointer arithmetic on void * (#508602)
2234 Patch from Kazuki IWAMOTO
2236 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2238 * === Released 2.15.2 ===
2240 2008-01-14 Alexander Larsson <alexl@redhat.com>
2242 * gfile.c (g_file_monitor_file):
2243 Don't set error here, since we fallback to polling monitor.
2245 2008-01-14 Alexander Larsson <alexl@redhat.com>
2248 (g_file_monitor_directory):
2249 (g_file_monitor_file):
2250 Add GError to file monitor calls
2252 * glocaldirectorymonitor.c:
2253 * glocaldirectorymonitor.h:
2255 * glocalfilemonitor.c:
2256 * glocalfilemonitor.h:
2258 Update for above change
2260 2008-01-14 Alexander Larsson <alexl@redhat.com>
2264 Handle root correctly in g_file_get_relative_path (#508719)
2266 2008-01-14 Alexander Larsson <alexl@redhat.com>
2269 Clean up docs and example for GAsyncResult (#508074)
2271 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2273 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2274 and correct some spelling mistakes. Bug #508108.
2276 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2278 * glocalfileinfo.c: Add a comment.
2280 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2282 * gfileinfo.c: GFileInfo description: Mention
2283 how to actually set attributes in a GFile and how to discover
2284 which attributes are settable. Bug #508378.
2286 2008-01-10 A. Walton <awalton@svn.gnome.org>
2288 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2289 (g_app_info_get_default_for_type):
2290 Check for NULL content types.
2292 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2294 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2296 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2298 * gfile.c: *_async() functions: Several small corrections
2299 to the documentation, mostly correcting copy/paste errors
2300 and improving some sentences.
2302 2008-01-09 Dan Winship <danw@gnome.org>
2304 * glocalfile.c (get_unique_filename): x86_64 fix
2306 2008-01-09 Alexander Larsson <alexl@redhat.com>
2311 Add g_unix_mount_guess_should_display and use
2312 for unix volume monitor backend.
2313 This means we more or less show what the
2314 gnome-vfs backend did.
2315 Based on patch from Padraig O'Briain
2317 2008-01-09 Alexander Larsson <alexl@redhat.com>
2321 Add g_themed_icon_new_with_default_fallbacks
2324 Use default fallbacks for icons
2326 2008-01-09 Alexander Larsson <alexl@redhat.com>
2329 * gmountoperation.[ch]:
2330 Change the API a bit so that unhandled methods
2331 get reported via the reply, rather than by
2332 the signal emission return value. This is because
2333 some handlers can't know this immediately without
2334 doing I/O, and this is an async operation that
2337 2008-01-09 Alexander Larsson <alexl@redhat.com>
2340 * fam/gfamdirectorymonitor.c:
2341 * fam/gfamfilemonitor.c:
2342 Fix double free crash (#508224)
2343 Patch from Joe Marcus Clarke
2345 008-01-07 Matthias Clasen <mclasen@redhat.com>
2347 * === Released 2.15.1 ===
2349 2008-01-07 Alexander Larsson <alexl@redhat.com>
2351 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2352 Fix warning (#507835)
2354 2008-01-07 Alexander Larsson <alexl@redhat.com>
2357 Pass --internal to glib-genmarshal
2360 * gmountoperation.c:
2362 Use better types for signal arguments (#507822)
2364 2008-01-07 Alexander Larsson <alexl@redhat.com>
2367 Build test subdir after .
2368 Remove gdirectorymonitor.[ch]
2370 * gdirectorymonitor.[ch]:
2374 Remove GDirectoryMonitor and make
2375 GFileMonitor the baseclass for both file and
2376 directory monitors. Lift the more generic
2377 rate limiting code from GDirectoryMonitor
2381 * fam/gfamdirectorymonitor.[ch]:
2382 * inotify/ginotifydirectorymonitor.[ch]:
2383 * inotify/inotify-helper.c:
2384 * glocaldirectorymonitor.[ch]:
2387 Update for the removed GDirectoryMonitor.
2389 * gmemoryoutputstream.c:
2390 Remove ununsed variable
2392 2008-01-07 Alexander Larsson <alexl@redhat.com>
2394 * gmemoryinputstream.c:
2395 Translate error strings
2398 * gmemoryoutputstream.[ch]:
2399 New implementation that avoids using GByteArray
2400 in implementation and API. (#506377)
2402 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2404 * tests/*: Add a test for memory input streams.
2406 * Makefile.am: Add tests to SUBDIRS.
2408 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2410 * glocalfilemonitor.c:
2411 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2414 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2416 * gdesktopappinfo.c: Fix a docs typo.
2418 * gfileattribute.c: Add information about extended attributes
2419 to the documentation. (#505058)
2421 2008-01-04 Alexander Larsson <alexl@redhat.com>
2424 * gmountoperation.c:
2425 Use the right type (uint) for the ask_password signal.
2427 2008-01-04 Alexander Larsson <alexl@redhat.com>
2432 Add g_app_info_supports_files()
2433 Remove desktop arg from g_app_info_should_show().
2435 * gdesktopappinfo.[ch]:
2436 Implement g_app_info_supports_files() and new should_show()
2437 Add g_desktop_app_info_set_desktop_env() to set the desktop
2438 for should_show(). (This will be set by gtk+ later)
2440 2008-01-04 Alexander Larsson <alexl@redhat.com>
2443 * gmemoryinputstream.[ch]:
2444 Improve API so that you can use multiple chunks
2445 of memory and custom destroy functions. (#506374)
2447 2008-01-03 Alexander Larsson <alexl@redhat.com>
2450 Handle NULL attribute matchers safely, as we return this
2451 for empty attribute matcher strings.
2453 2008-01-03 Alexander Larsson <alexl@redhat.com>
2455 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2456 Add /usr/local to list of internal mountpoints
2458 2008-01-03 Alexander Larsson <alexl@redhat.com>
2461 Check for HAVE_LCHOWN (#505887)
2463 2008-01-03 Alexander Larsson <alexl@redhat.com>
2467 Add define for selinux context attribute.
2468 Fix missing : -> :: namespace separator change
2469 Fix missing _ -> - name change for xattr-sys.
2472 2008-01-03 Alexander Larsson <alexl@redhat.com>
2475 Link to libglib and libgobject directly (#504879)
2476 Patch from Sebastien Bacher
2478 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2480 * gfile.c: Expanded the g_file_new_for_commandline_arg
2481 description a bit, based on the code and the docs of the
2482 other g_file_new_for_* functions.
2484 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2486 * gfilemonitor.h: Fixed typo in docs.
2488 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2490 Updates to GIO documentation. (#506395, Mikael Hermansson)
2492 * gcontenttype.c: Describe memory management for return value of
2493 g_content_types_get_registered(). Missing piece from #505815.
2494 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2495 GVolume, GDrive, GMounts, which hopefully gives the user less
2496 confusions when using this API. Following explainations from
2497 Alexander Larsson on gtk-devel-list.
2499 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2501 * gfileinfo.c: Expand the long description.
2503 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2506 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2507 fix builds with --disable-visibility. (#500273, Christian Persch)
2509 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2511 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2512 in the list of returned app infos.
2514 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2516 * gappinfo.c: Fix a cross-reference
2518 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2520 * gfileinputstream.c:
2521 * gfileoutputstream.c:
2525 * gdesktopappinfo.c:
2527 * gfileinfo.c: Documentation updates.
2529 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2531 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2534 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2536 * gcontenttype.c (g_content_types_get_registered): Don't return
2537 freed memory (#505815, Mikael Hermansson)
2539 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2541 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2542 used to detect statbuf->st_blocks. (#505042)
2544 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2546 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2547 environment handling. (#504829, Cosimo Cecchi)
2549 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2551 * gappinfo.c: Doc improvements
2553 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2556 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2558 * === Released 2.15.0 ===
2560 2007-12-20 Hans Breuer <hans@breuer.org>
2562 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2563 with symbols gwin32appinfo.obj, added gmount.obj
2564 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2566 2007-12-20 Alexander Larsson <alexl@redhat.com>
2572 * gfilenamecompleter.c:
2575 * gpollfilemonitor.c:
2576 File attribute renames:
2578 fs:: -> filesystem::
2579 id::fs -> id::filesystem
2581 2007-12-20 Alexander Larsson <alexl@redhat.com>
2590 Add GMountUnmountFlags to all unmount and
2592 Add g_mount_remount() call.
2594 2007-12-20 Alexander Larsson <alexl@redhat.com>
2596 * gvfs.c (get_default_vfs):
2597 Fix unused variable warning
2599 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2601 * pltcheck.sh: Update
2603 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2605 * gunionvolumemonitor.c:
2606 * gunixmount.c: Remove C99 comments
2608 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2610 * gio.symbols: Add some missing symbols
2612 2007-12-19 Alexander Larsson <alexl@redhat.com>
2615 Make g_io_modules_load_all_in_directory not unuse
2616 loaded modules so that users of it can do stuff
2618 Init internal "module" types.
2619 Initialize static prio and name for types so that
2620 we don't have to load modules to get it.
2622 * gnativevolumemonitor.h:
2624 Move is_supported to parent class so that
2625 non-native monitors can avoid being initialized
2626 too. (For instance GDaemonVolumeMonitor if we're
2627 not using GDaemonVfs.)
2629 * glocaldirectorymonitor.[ch]:
2630 * glocalfilemonitor.[ch]:
2631 * gunionvolumemonitor.c:
2632 * gunixvolumemonitor.c:
2634 Find plugins using the static prio+name to
2635 avoid unnecessarily loading the modules.
2637 2007-12-19 Alexander Larsson <alexl@redhat.com>
2642 2007-12-19 Alexander Larsson <alexl@redhat.com>
2644 * gunionvolumemonitor.c:
2645 Store the native type as GType, not class so that
2646 we can unload it. But still avoid unnecessarily
2649 2007-12-19 David Zeuthen <davidz@redhat.com>
2651 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2652 add signals 'disconnected' and 'eject-button' on GDrive. Add
2653 signal 'removed' on GVolume and 'unmounted' on GMount.
2655 * gdrive.c: (g_drive_base_init):
2657 * gfile.c: (g_file_mount_mountable),
2658 (g_file_mount_enclosing_volume):
2661 * gmount.c: (g_mount_base_init):
2663 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2664 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2665 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2669 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2671 * *.c: Fix up includes in the section docs.
2673 2007-12-17 Alexander Larsson <alexl@redhat.com>
2675 * gnativevolumemonitor.h:
2676 * gunionvolumemonitor.c:
2677 * gunixvolumemonitor.c:
2678 Add is_supported() to GNativeVolumeMonitorClass so
2679 that we can avoid having to create an object to see
2680 if the backend is supported at runtime.
2681 Also add name member and an env var to pick a specific
2682 volume monitor backend.
2686 Add cancellable to _g_mount_get_for_mount_path()
2688 * glocaldirectorymonitor.c:
2689 * glocalfilemonitor.c:
2690 Avoid loading and unloading modules while sorting.
2692 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2695 * gunixmounts.[hc]: Namespace waste reduction, move some
2696 g_get_unix_mount functions to the g_unix_mount namespace.
2699 * gunixvolumemonitor.c:
2701 * glocaldirectorymonitor.c: Update all callers.
2703 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2705 2007-12-17 Alexander Larsson <alexl@redhat.com>
2708 Add doc comments about what GFile operations are
2709 guaranteed to not block.
2711 2007-12-17 Alexander Larsson <alexl@redhat.com>
2714 Add missing #ifdef fixing OSX build.
2715 (#503334, patch from Richard Hult)
2717 2007-12-14 David Zeuthen <davidz@redhat.com>
2721 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2722 (g_mount_eject), (g_mount_eject_finish):
2724 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2725 (get_volume_for_uuid), (get_mount_for_uuid),
2726 (g_union_volume_monitor_class_init),
2727 (get_default_native_type_with_exclude), (get_default_native_type),
2728 (get_native_type), (update_native_type),
2729 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2730 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2731 (g_unix_mount_can_eject), (eject_unmount_cb),
2732 (eject_unmount_read_error), (eject_unmount_do),
2733 (g_unix_mount_unmount), (g_unix_mount_eject),
2734 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2735 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2736 (g_unix_mount_point_guess_can_eject):
2738 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2739 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2740 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2741 (g_unix_volume_mount), (g_unix_volume_eject),
2742 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2743 * gunixvolumemonitor.c: (get_volume_for_uuid),
2744 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2746 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2747 (g_volume_eject), (g_volume_eject_finish):
2749 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2750 (g_volume_monitor_get_mount_for_uuid):
2753 Provide eject() on both GMount and GVolume and utility functions
2754 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2755 ejected. Introduce the concept of UUID's and wire it into GVolume
2756 and GMount and provide API on GVolumeMonitor to find such
2757 instances. Also handle the case where an external
2758 GNativeVolumeMonitor fails to initialize. Lock around the
2759 _g_get_mount_for_mount_path() function such that volume monitor
2760 implementations won't have to do locking themselves.
2762 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2764 * gdesktopappinfo.c:
2770 * gvolume.h: Documentation updates
2772 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2775 * gfile.h: Doc updates
2777 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2780 * gdesktopappinfo.c: Use hash table iterators.
2782 2007-12-14 Alexander Larsson <alexl@redhat.com>
2785 * gfileattribute.[ch]:
2786 * gfileattribute-priv.h:
2787 Move GFileAttributeValue to a private header, as
2791 Make set_attribute take a type + a pointer instead
2792 of a GFileAttributeValue.
2795 Fix up for above changes.
2796 Add g_file_info_get_attribute_data to get
2797 all info in one call, g_file_info_get_attribute_status
2798 to get the status and g_file_info_get_attribute_as_string.
2802 * glocalfileinfo.[ch]:
2806 Make _guess_type static.
2808 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2811 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2812 made mkenums and friends use temporary files to avoid leaving
2813 empty generated files on failure (#503470).
2815 2007-12-14 Alexander Larsson <alexl@redhat.com>
2817 * gmountoperation.h:
2820 2007-12-14 Alexander Larsson <alexl@redhat.com>
2824 * gfileattribute.[ch]:
2827 * glocalfileoutputstream.c:
2828 * gmountoperation.[ch]:
2829 * goutputstream.[ch]:
2830 Clean up all flags enums to not have _FLAGS in them
2831 Make the names of some of the enums better.
2836 2007-12-14 Michael Natterer <mitch@imendio.com>
2838 * gio.symbols: fix g_io_scheduler symbol names.
2840 2007-12-14 Alexander Larsson <alexl@redhat.com>
2846 * gbufferedinputstream.h:
2847 * gbufferedoutputstream.h:
2850 * gdatainputstream.h:
2851 * gdataoutputstream.h:
2852 * gdesktopappinfo.h:
2853 * gdirectorymonitor.h:
2857 * gfileenumerator.h:
2860 * gfileinputstream.h:
2862 * gfilenamecompleter.h:
2863 * gfileoutputstream.h:
2864 * gfilterinputstream.h:
2865 * gfilteroutputstream.h:
2873 * gmemoryinputstream.h:
2874 * gmemoryoutputstream.h:
2876 * gmountoperation.h:
2879 * gsimpleasyncresult.h:
2881 * gunixinputstream.h:
2883 * gunixoutputstream.h:
2887 * inotify/Makefile.am:
2888 Only allow including <gio/gio.h> from apps
2890 2007-12-14 Alexander Larsson <alexl@redhat.com>
2892 * gioscheduler.[ch]:
2893 * gsimpleasyncresult.c:
2894 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2895 Split out the send_to_mainloop call into two versions instead
2896 of having the block argument.
2898 2007-12-13 Alexander Larsson <alexl@redhat.com>
2900 * gcancellable.[ch]:
2902 * gbufferedinputstream.c:
2903 * gfileenumerator.c:
2904 * gfileinputstream.c:
2905 * gfileoutputstream.c:
2909 g_push/pop_current_cancellable ->
2910 g_cancellable_push/pop_current
2912 2007-12-13 Alexander Larsson <alexl@redhat.com>
2916 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2918 2007-12-13 Alexander Larsson <alexl@redhat.com>
2920 * gmountoperation.h:
2921 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2923 2007-12-12 Alexander Larsson <alexl@redhat.com>
2926 Fix race condition when freeing proxy in
2927 g_io_job_send_to_mainloop().
2929 2007-12-12 Alexander Larsson <alexl@redhat.com>
2935 Make attribute namespace separator "::" instead of ":".
2936 Use - instead of _ as separator in attribute names.
2938 2007-12-12 Alexander Larsson <alexl@redhat.com>
2940 * gbufferedinputstream.h:
2941 * gbufferedoutputstream.h:
2942 * gdatainputstream.h:
2943 * gdataoutputstream.h:
2944 * gdirectorymonitor.h:
2945 * gfileenumerator.h:
2946 * gfileinputstream.h:
2948 * gfileoutputstream.h:
2949 * gfilterinputstream.h:
2950 * gfilteroutputstream.h:
2952 * glocalfileinputstream.h:
2953 * glocalfileoutputstream.h:
2954 * gmemoryinputstream.h:
2955 * gmemoryoutputstream.h:
2956 * gnativevolumemonitor.h:
2958 * gunixinputstream.h:
2959 * gunixoutputstream.h:
2962 s/parent/parent_instance/ in GObjects
2964 2007-12-12 Alexander Larsson <alexl@redhat.com>
2969 No need for padding for interfaces
2971 2007-12-12 Alexander Larsson <alexl@redhat.com>
2975 * gbufferedinputstream.c:
2976 * gbufferedoutputstream.c:
2979 * gdatainputstream.[ch]:
2980 * gdesktopappinfo.c:
2981 * gdirectorymonitor.c:
2983 * gfileattribute.[ch]:
2986 * gfileinputstream.h:
2987 * gfilemonitor.[ch]:
2988 * gfileoutputstream.[ch]:
2989 * gfilterinputstream.h:
2990 * gfilteroutputstream.h:
2993 * gloadableicon.[ch]:
2994 * gmemoryinputstream.c:
2995 * gmountoperation.c:
2997 Fix up a bunch of details in the docs.
3002 2007-12-11 David Zeuthen <davidz@redhat.com>
3004 Rework how volumes, drives and volume monitoring is
3005 done. Previosly the model was
3007 GDrive <1-1> GVolume
3009 where a GDrive instance represented a mount point and a GVolume
3010 instance represented a mounted file system. This patch changes it
3013 GDrive <1-N> GVolume <1-1> GMount
3015 where GMount now serves the purpose of the old GVolume and the new
3016 GVolume serves the purpose of the old GDrive. In addition the new
3017 GDrive interface is used to represent a collection of GVolume
3018 instances (typically partitions) and also contains utility to query
3019 the state of the physical drive the GDrive object represents (such
3020 as checking for media, polling the drive, ejecting the media etc.).
3022 Also implement mounting and unmounting in the Unix volume monitor
3023 backend. A subquent patch will introduce GDrive support for ejection
3027 * gdrive.c: (g_drive_is_media_check_automatic),
3028 (g_drive_is_media_removable), (g_drive_has_media),
3029 (g_drive_can_poll_for_media), (g_drive_eject),
3030 (g_drive_eject_finish), (g_drive_poll_for_media),
3031 (g_drive_poll_for_media_finish):
3033 * gfile.c: (g_file_find_enclosing_mount):
3036 * glocaldirectorymonitor.c:
3037 (g_local_directory_monitor_constructor), (mounts_changed):
3038 * glocalfile.c: (get_mount_info),
3039 (g_local_file_find_enclosing_mount),
3040 (g_local_file_file_iface_init):
3041 * gnativevolumemonitor.h:
3042 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3043 (get_connected_drives), (g_union_volume_monitor_class_init),
3044 (child_volume_added), (child_volume_removed),
3045 (child_volume_changed), (child_mount_added), (child_mount_removed),
3046 (child_mount_pre_unmount), (child_mount_changed),
3047 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3048 (g_union_volume_monitor_remove_monitor),
3049 (_g_mount_get_for_mount_path):
3050 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3051 (guess_system_internal), (_g_get_unix_mounts),
3052 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3053 (g_unix_mount_free), (g_unix_mount_compare),
3054 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3055 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3056 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3057 (type_to_icon), (g_unix_mount_guess_name),
3058 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3059 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3060 (_resolve_symlink), (_resolve_dev_root):
3062 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3063 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3064 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3065 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3066 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3067 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3068 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3069 (g_unix_volume_volume_iface_init):
3071 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3072 (get_mounts), (get_volumes), (get_connected_drives),
3073 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3074 (mountpoints_changed), (mounts_changed),
3075 (g_unix_volume_monitor_init),
3076 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3077 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3078 * gunixvolumemonitor.h:
3079 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3080 (g_volume_mount), (g_volume_mount_finish):
3082 * gvolumemonitor.c: (g_volume_monitor_class_init),
3083 (g_volume_monitor_get_connected_drives),
3084 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3087 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3089 * gmountoperation.h (GPasswordFlags): Close the gap
3091 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3093 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3095 * gdesktopappinfo.[hc]: Remove _-prefixes
3097 2007-12-10 Tor Lillqvist <tml@novell.com>
3099 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3102 2007-12-10 Alexander Larsson <alexl@redhat.com>
3104 * gfile.c (g_file_set_display_name):
3105 Don't hardcode '/' (#502727)
3107 2007-12-09 Hans Breuer <hans@breuer.org>
3109 * makefile.msc : follow lib naming convention
3110 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3111 for user and group name, tested with ../tests/gio-ls
3113 2007-12-09 A. Walton <awalton@svn.gnome.org>
3115 * gdesktopappinfo.c:
3121 * gfileenumerator.c:
3126 * gmemoryinputstream.c:
3127 * gmemoryoutputstream.c:
3129 * gsimpleasyncresult.c:
3130 More documentation cleanup and filling in missing information, bringing
3131 GIO to 99% symbol coverage.
3133 2007-12-08 Hans Breuer <hans@breuer.org>
3135 [gio compiles and links on win32, not sure how much already works]
3136 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3137 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3138 base on win32 API; prefer g_lstat() over lstat(); instead of
3139 localtime_r() use an all GLib implementation on win32;
3140 get_mount_info() still needs a win32 specifc implementation
3141 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3142 win32_get_file_user_info to get owner/group info without uid/gid
3143 * glocalfileinputstream.c : include <io.h> on win32
3144 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3145 definition, use g_win32_ftruncate() for G_OS_WIN32
3146 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3147 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3148 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3149 * makefile.msc : updated
3151 2007-12-07 Alexander Larsson <alexl@redhat.com>
3153 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3154 Avoid warning spew if error == NULL
3156 2007-12-07 Alexander Larsson <alexl@redhat.com>
3159 Update docs wrt etags
3161 2007-12-06 Alexander Larsson <alexl@redhat.com>
3164 Include sys/types.h for dev_t (#501919)
3166 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3170 Make abicheck and pltcheck pass.
3172 2007-12-05 Alexander Larsson <alexl@redhat.com>
3175 * giomodule-priv.h: Added.
3176 * glocaldirectorymonitor.c:
3177 * glocalfilemonitor.c:
3178 * gunionvolumemonitor.c:
3180 Actually add the declaration of _g_io_modules_ensure_loaded
3182 2007-12-05 Alexander Larsson <alexl@redhat.com>
3184 * gdatainputstream.c:
3189 * glocaldirectorymonitor.c:
3190 * glocalfilemonitor.c:
3191 * gunionvolumemonitor.c:
3193 Make g_io_modules_ensure_loaded a private function and
3194 don't pass in the dirname. This means we can do magic
3195 directory finding in the win32 version.
3196 Export the actual load-modules-in-directory code so that
3197 gvfs can reuse that.
3199 2007-12-05 Alexander Larsson <alexl@redhat.com>
3201 * gbufferedinputstream.c:
3202 * gbufferedoutputstream.c:
3205 * gfileenumerator.[ch]:
3206 * gfileinputstream.c:
3207 * gfileoutputstream.[ch]:
3208 * gfilterinputstream.c:
3209 * gfilteroutputstream.c:
3210 * ginputstream.[ch]:
3212 * glocalfileenumerator.c:
3213 * glocalfileinputstream.c:
3214 * glocalfileoutputstream.c:
3215 * gmemoryinputstream.c:
3216 * gmemoryoutputstream.c:
3217 * goutputstream.[ch]:
3220 * gunixinputstream.c:
3221 * gunixoutputstream.c:
3222 Rename all struct members named:
3223 read, write, close, truncate, or mount
3224 to foo_fn, as these are reserved names
3225 and could be defined as macros in libc.
3228 2007-12-04 Alexander Larsson <alexl@redhat.com>
3231 (g_output_stream_close):
3232 Only call flush if non-null.
3234 2007-11-30 Dan Winship <danw@gnome.org>
3236 * ginputstream.c (g_input_stream_set_pending): Make this take a
3237 GError and return a gboolean, and do the "outstanding operation"
3238 check (and the "stream is already closed" check) itself.
3239 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3241 * goutputstream.c (g_output_stream_set_pending)
3242 (g_output_stream_clear_pending): Likewise
3244 * gbufferedinputstream.c:
3245 * gfileinputstream.c:
3246 * gfileoutputstream.c: Update for that
3248 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3249 Like g_simple_async_report_error_in_idle, but takes a GError
3250 rather than building one.
3252 2007-11-30 Dan Winship <danw@gnome.org>
3254 * goutputstream.c: Don't cheat and unset the "pending" flag around
3255 inner calls. Instead, call the class method directly rather than
3256 the wrapper function that checks "pending"
3258 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3260 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3262 2007-12-03 Hans Breuer <hans@breuer.org>
3264 [start of port to win32/msvc]
3265 * gcancellable.c : HAVE_UNIST_H and _pipe()
3266 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3267 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3268 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3270 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3271 * glocalvfs.c : use HAVE_PWD_H
3272 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3273 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3274 * Makefile.am : added to EXTRA_DIST
3276 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3278 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3281 2007-12-03 Alexander Larsson <alexl@redhat.com>
3284 Handle OSX style xattrs API (#500506)
3286 2007-12-03 Alexander Larsson <alexl@redhat.com>
3290 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3292 2007-12-02 A. Walton <awalton@svn.gnome.org>
3296 Documentation accuracy fixes.
3298 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3300 * gioenumtypes.c.template: Fix typo.
3302 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3304 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3306 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3308 * gdirectorymonitor.c:
3309 * gfilemonitor.c: Add properties
3311 * gbufferedoutputstream.c: Don't mark buffer-size property
3314 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3316 * gbufferedoutputstream.c: Add auto-grow property.
3318 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3320 * *.c: Unify the capitalization of section headings.
3322 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3324 * gmountoperation.c: Add properties
3326 * gdatainputstream.c: Turn byte-order and newline-type into
3329 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3331 * gioenumtypes.[hc].template: Templates for enum registration
3333 * Makefile.am: Generate gioenumtypes.[hc]
3335 * gio.h: Include gioenumtypes.h
3337 * gfile.h: Add some explicit nicks.
3339 * gio.symbols: Add new symbols
3341 * pltcheck.sh: Adjust
3343 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3345 * *.c: Explain etags and link to the explanation
3347 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3349 * *.c: Explain I/O priority.
3351 * *.c: More coding style fixes.
3353 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3355 * gasyncresult.c: Add another paragraph to the intro,
3356 adjust coding style of example.
3358 2007-11-29 A. Walton <awalton@svn.gnome.org>
3361 Fixes unknown meaning in GAppLaunchContext docs.
3363 Clarify asynchronous ops.
3365 Fix entity tag docs.
3368 Provides missing gtk-doc section, fixes API docs slighly.
3369 * gsimpleasyncresult.c:
3370 Fill in missing info in docs.
3371 * gunixinputstream.c:
3372 * gunixoutputstream.c:
3373 Be more expressive in short description.
3375 Remove gtk-doc stubs for non-public API.
3377 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3379 * *.c: Coding style fixups
3381 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3383 * inotify/inotify-helper.c: Don't export the lock from libgio.
3385 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3388 * abicheck.sh: Fix copy-and-paste leftovers
3390 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3392 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3394 2007-11-28 Alexander Larsson <alexl@redhat.com>
3398 Removed unnecessary file
3400 * gdesktopappinfo.[ch]:
3403 * glocaldirectorymonitor.[ch]:
3405 * glocalfileenumerator.[ch]:
3406 * glocalfileinputstream.[ch]:
3407 * glocalfilemonitor.[ch]:
3408 * glocalfileoutputstream.[ch]:
3410 * gnativevolumemonitor.c:
3411 * gpollfilemonitor.[ch]:
3412 * gunionvolumemonitor.[ch]:
3415 * gunixvolumemonitor.[ch]:
3418 * inotify/ginotifydirectorymonitor.[ch]:
3419 * inotify/ginotifyfilemonitor.[ch]:
3420 * inotify/inotify-helper.c:
3421 Append _ to all internal functions
3425 Export symbols needed for modules
3427 2007-11-28 Alexander Larsson <alexl@redhat.com>
3430 * abicheck.sh: Added.
3431 * makegioalias.pl: Added.
3432 * pltcheck.sh: Added.
3433 * gio.symbols: Added.
3436 Initial work on adding symbol handling.
3439 Correct ifdef guard name
3442 * inotify/Makefile.am:
3443 * xdgmime/Makefile.am:
3444 Include toplevel Makefile.decl
3446 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3448 * gcontenttype.c: Move doc comments to the unix section.
3450 * *.[hc]: More trivial doc corrections.
3452 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3454 * gpollfilemonitor.c:
3458 * gdesktopappinfo.c:
3463 * gdatainputstream.c:
3464 * gdatainputstream.h:
3465 * gdataoutputstream.c:
3466 * gdataoutputstream.h:
3467 * gfileinfo.h: Doc cleanups
3469 2007-11-28 Andre Klapper <a9016009@gmx.de>
3471 * gdesktopappinfo.c: Fix a typo.
3473 2007-11-27 Andre Klapper <a9016009@gmx.de>
3475 * glocalfileoutputstream.c: Fix a typo.
3477 2007-11-27 Alexander Larsson <alexl@redhat.com>
3480 Don't include removed headers
3482 2007-11-27 Alexander Larsson <alexl@redhat.com>
3485 * gsocketinputstream.[ch]: Removed.
3486 * gsocketoutputstream.[ch]: Removed.
3487 * gunixinputstream.[ch]: Added.
3488 * gunixoutputstream.[ch]: Added.
3489 Renamed GSocket*Stream to GUnix*Stream and made
3490 it unix-only, since its not really only for sockets
3491 and it only works on unix (but is highly useful there).
3493 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3499 * gbufferedinputstream.c:
3500 * gbufferedinputstream.h:
3501 * gbufferedoutputstream.c:
3502 * gbufferedoutputstream.h:
3506 * gdatainputstream.c:
3507 * gdatainputstream.h:
3508 * gdataoutputstream.c:
3509 * gdataoutputstream.h:
3510 * gdirectorymonitor.c:
3511 * gdirectorymonitor.h:
3518 * gfileenumerator.c:
3519 * gfileenumerator.h:
3524 * gfileinputstream.c:
3525 * gfileinputstream.h:
3528 * gfilenamecompleter.c:
3529 * gfilenamecompleter.h:
3530 * gfileoutputstream.c:
3531 * gfileoutputstream.h:
3532 * gfilterinputstream.c:
3533 * gfilterinputstream.h:
3534 * gfilteroutputstream.c:
3535 * gfilteroutputstream.h:
3548 * glocalfileoutputstream.c:
3549 * gmemoryinputstream.c:
3550 * gmemoryinputstream.h:
3551 * gmemoryoutputstream.c:
3552 * gmemoryoutputstream.h:
3553 * gmountoperation.c:
3554 * gmountoperation.h:
3557 * gpollfilemonitor.c:
3560 * gsimpleasyncresult.c:
3561 * gsimpleasyncresult.h:
3562 * gsocketinputstream.c:
3563 * gsocketinputstream.h:
3564 * gsocketoutputstream.c:
3565 * gsocketoutputstream.h:
3572 * gunixvolumemonitor.c:
3581 Bumps documentation to 93% symbol coverage, touching most
3582 of the public files. Fixes broken function documentation prototypes.
3583 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3584 gtk-doc headers in private files.
3586 2007-11-27 Jürg Billeter <j@bitron.ch>
3588 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3589 (g_buffered_input_stream_read_byte):
3590 * gbufferedinputstream.h:
3591 New functions for efficient access to buffer and simple single byte
3594 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3595 (g_data_input_stream_read_until):
3596 * gdatainputstream.h:
3597 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3598 read_until with multiple stop chars.
3600 2007-11-27 Alexander Larsson <alexl@redhat.com>
3604 * inotify/Makefile.am:
3605 Use the user-specified giomoduledir
3607 2007-11-27 Alexander Larsson <alexl@redhat.com>
3611 Add catch-all gio.h header
3612 Don't install gdummyfile.h
3614 2007-11-26 Alexander Larsson <alexl@redhat.com>
3616 * Makefile.am (gioinclude_HEADERS):
3617 Remove trailing whitespace
3619 2007-11-26 Alexander Larsson <alexl@redhat.com>
3621 Merge gio-standalone into glib
3623 2007-11-25 Christian Kellner <gicmo@gnome.org>
3625 * gio/goutputstream.c:
3626 Fix small mistake in the docs.
3628 2007-11-21 Christian Persch <chpe@gnome.org>
3630 * gio/glocalfile.c: (g_local_file_trash):
3631 Convert filenames to UTF-8 for GError.
3632 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3633 as per xdg base dir spec.
3635 2007-11-21 Christian Persch <chpe@gnome.org>
3637 * gio/gdesktopappinfo.c:
3638 Use that g_key_file_to_data cannot fail.
3640 Use stock defines for the key file group and key names.
3643 2007-11-21 Alexander Larsson <alexl@redhat.com>
3646 (copy_stream_with_progress):
3647 Make sure we do a final progress callback with
3648 the full total size.
3650 2007-11-21 Alexander Larsson <alexl@redhat.com>
3653 Export g_file_copy_attributes
3654 Remove padding as its not needed for interfaces
3656 2007-11-20 Alexander Larsson <alexl@redhat.com>
3661 Add G_IO_ERROR_WOULD_MERGE for
3662 copy/move dir on dir with overwrite.
3664 2007-11-20 Alexander Larsson <alexl@redhat.com>
3667 * gio/glocalfileinfo.c:
3668 Add COPY_NAME (this is an optional
3669 non-modified utf8 version of the name) that
3672 2007-11-20 Alexander Larsson <alexl@redhat.com>
3674 * gio/glocalfileenumerator.c:
3675 Report errors as GIOError, not GFileError
3677 2007-11-16 Alexander Larsson <alexl@redhat.com>
3679 * gio/glocalfileoutputstream.c:
3680 * gio/gwin32appinfo.c:
3681 Fix typos in strings.
3682 Patch from Luca Ferretti <elle.uca@libero.it>
3684 2007-11-15 Alexander Larsson <alexl@redhat.com>
3687 Post release version bump
3689 === gio-standalone 0.1.2 ===
3691 2007-11-15 Alexander Larsson <alexl@redhat.com>
3693 * docs/reference/gio/Makefile.am:
3694 Fix up distcheck by removing weird
3700 2007-11-14 Alexander Larsson <alexl@redhat.com>
3702 * gio/gdesktopappinfo.c:
3703 * gio/glocaldirectorymonitor.c:
3705 * gio/glocalfileinfo.c:
3706 * gio/inotify/inotify-sub.c:
3707 * programs/gio-cat.c:
3708 * programs/gio-copy.c:
3709 * programs/gio-info.c:
3710 * programs/gio-ls.c:
3711 * programs/gio-monitor-dir.c:
3712 * programs/gio-monitor-file.c:
3713 * programs/gio-mount.c:
3714 * programs/gio-move.c:
3715 * programs/gio-rm.c:
3716 * programs/gio-save.c:
3717 * programs/gio-trash.c:
3718 Leak fixes from Kjartan Maraas
3720 2007-11-14 Alexander Larsson <alexl@redhat.com>
3722 * gio/fam/fam-helper.c:
3724 * gio/glocalfileinfo.c:
3728 * gio/inotify/inotify-diag.c:
3729 * gio/inotify/inotify-kernel.c:
3730 Various code cleanups from Kjartan Maraas
3732 2007-11-14 Alexander Larsson <alexl@redhat.com>
3734 * gio/gioscheduler.c:
3736 Set up threadpool so that we cache 2 unused
3737 idle threads for at 15 secs. This means we
3738 will reuse thread-local data (like dbus connections)
3741 2007-11-14 Alexander Larsson <alexl@redhat.com>
3743 * gio/fam/fam-helper.c:
3744 * gio/fam/gfamdirectorymonitor.c:
3745 * gio/fam/gfamfilemonitor.c:
3747 * gio/gcontenttype.c:
3748 * gio/gdatainputstream.c:
3749 * gio/gdataoutputstream.c:
3753 * gio/gfileattribute.h:
3754 * gio/gfileenumerator.c:
3756 * gio/ginputstream.c:
3759 * gio/glocalfileinfo.c:
3760 * gio/goutputstream.c:
3761 * gio/gpollfilemonitor.c:
3762 * gio/gsimpleasyncresult.c:
3763 * gio/gunixmounts.c:
3764 * gio/gunixmounts.h:
3765 * gio/inotify/ginotifydirectorymonitor.c:
3766 * gio/inotify/ginotifyfilemonitor.c:
3767 * gio/inotify/inotify-diag.c:
3768 * gio/inotify/inotify-kernel.c:
3769 * gio/inotify/inotify-path.c:
3771 * gio/test-streams.c:
3772 * programs/gio-info.c:
3773 * programs/gio-monitor-dir.c:
3774 * programs/gio-monitor-file.c:
3775 Various code cleanups from Kjartan Maraas
3777 2007-11-13 Alexander Larsson <alexl@redhat.com>
3780 Handle the uri-scheme calls for dummy files
3782 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3784 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3785 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3786 to avoid clash with the C++ keyword.
3788 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3790 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3791 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3793 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3795 * gio/glocaldirectorymonitor.c:
3796 * gio/glocalfilemonitor.c:
3797 * gio/gunionvolumemonitor.c:
3798 Don't use g_once_init_*() for initializations that could fail and
3799 could leave the initialization variable set to 0 but use GOnce.
3800 This prevents a deadlock on the second call when trying to create
3801 a monitor and no monitor type is available. Thanks to Sven Herzberg
3804 2007-11-11 Sven Herzberg <sven@imendio.com>
3806 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3807 #ifdef (make it work on MacOS X again)
3809 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3811 Fixes Changelog for last two commits (sorry guys).
3813 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3815 * gio/gbufferedinputstream.c:
3816 * gio/gdatainputstream.c:
3818 * gio/gfileoutputstream.c:
3819 * gio/gfilterinputstream.c:
3820 * gio/glocalfileinputstream.c:
3823 More consistency fixes in g*stream.c files.
3824 Significant clean of gfile's documentation, filling in of
3825 asynchronous operations documentation.
3827 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3829 * gio/gasyncresult.c:
3830 * gio/gbufferedinputstream.c:
3831 * gio/gbufferedoutputstream.c:
3832 * gio/gcancellable.c:
3833 * gio/gcontenttype.c:
3834 * gio/gdatainputstream.c:
3835 * gio/gdataoutputstream.c:
3836 * gio/gdesktopappinfo.c:
3839 * gio/gfileattribute.c:
3840 * gio/gio/gfileenumerator.c:
3842 * gio/gfileinputstream.c:
3843 * gio/gfilemonitor.c:
3844 * gio/gfileoutputstream.c:
3845 * gio/ginputstream.c:
3847 * gio/gioscheduler.c:
3848 * gio/gloadableicon.c:
3849 * gio/glocalfileoutputstream.c:
3850 * gio/gmemoryoutputstream.c:
3851 * gio/gmountoperation.c:
3852 * gio/goutputstream.c:
3854 * gio/gsimpleasyncresult.c:
3855 * gio/gunionvolumemonitor.c:
3856 * gio/gunixmounts.c:
3857 * gio/gunixvolume.c:
3861 * gio/gvolumemonitor.c:
3862 Updated documentation stubs, working towards consistency and
3865 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3867 * gio/gmemoryoutputstream.c:
3868 * gio/gmemoryoutputstream.h:
3869 Change g_memory_output_stream_set_free_on_close() to
3870 g_memory_output_stream_set_free_data() as this makes more sense and
3871 is more consistent with GMemoryInputStream.
3873 2007-11-07 Alexander Larsson <alexl@redhat.com>
3880 Change how we find the default vfs so that
3881 we can handle a gvfs failing to init
3883 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3885 * gio/gbufferedoutputstream.c:
3886 * gio/gdatainputstream.c:
3887 * gio/gdataoutputstream.c:
3888 * gio/gfileinputstream.c:
3889 * gio/gfileoutputstream.c:
3890 * gio/gfilterinputstream.c:
3891 * gio/gfilteroutputstream.c:
3892 * gio/ginputstream.c:
3893 * gio/gmemoryinputstream.c:
3894 * gio/gmemoryoutputstream.c:
3895 * gio/goutputstream.c:
3896 * gio/gsimpleasyncresult.c:
3897 * gio/gsocketinputstream.c:
3898 * gio/gsocketoutputstream.c:
3899 Add guards to the remaining public functions, add a TODO for
3900 an unimplemented function and remove some useless guards.
3902 2007-11-07 Alexander Larsson <alexl@redhat.com>
3905 Autoconf checks for the various types of
3906 getpwuid_r and getgrgid_r
3908 * gio/glocalfileinfo.c:
3909 Use the autoconf checks from above
3911 2007-11-07 Alexander Larsson <alexl@redhat.com>
3914 (g_local_file_query_filesystem_info):
3915 Some fixes for the statvfs case
3917 2007-11-07 Alexander Larsson <alexl@redhat.com>
3920 (g_local_file_query_filesystem_info):
3921 Pick the "best" of statfs / statvfs for the system
3922 if both are availible.
3924 2007-11-07 Alexander Larsson <alexl@redhat.com>
3926 Solaris fixes from Halton.Huo@Sun.COM:
3933 * gio/glocalfileinfo.c:
3934 Fix for solaris definition of getpwuid_r
3936 * gio/test-streams.c:
3937 Use G_GNUC_PRETTY_FUNCTION
3939 2007-11-07 Alexander Larsson <alexl@redhat.com>
3941 * gio/gdesktopappinfo.c:
3942 (update_default_list):
3943 Remove double semicolon.
3944 Patch from Jens Granseuer
3946 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3948 * docs/reference/gio/gio-sections.txt:
3949 * gio/gbufferedinputstream.c:
3950 * gio/gbufferedinputstream.h:
3951 * gio/gdatainputstream.c:
3952 * gio/gfileenumerator.c:
3953 * gio/gioscheduler.c:
3954 * gio/gunionvolumemonitor.c:
3956 * programs/gio-save.c:
3957 Fix typo: availible -> available. Unfortuntely this breaks API
3958 and ABI as g_buffered_input_stream_get_available() was renamed.
3960 * gio/gunixmounts.c:
3961 * gio/gbufferedinputstream.c:
3962 Add guards for public functions.
3964 2007-11-06 Ross Burton <ross@openedhand.com>
3966 * docs/reference/gio/Makefile.am:
3967 Fix invalid += usage which automake 1.10 doesn't like.
3969 2007-11-06 Alexander Larsson <alexl@redhat.com>
3972 (g_app_launch_context_class_init):
3975 Patch from Ross Burton
3977 2007-11-06 Alexander Larsson <alexl@redhat.com>
3980 Post release version bump
3982 === gio-standalone 0.1.1 ===
3984 2007-11-06 Alexander Larsson <alexl@redhat.com>
3987 Bump version to 0.1.1
3989 * gio/gsimpleasyncresult.c:
3990 (g_simple_async_result_set_from_error):
3991 Remove bogus g_return_if_fail
3993 2007-11-06 Alexander Larsson <alexl@redhat.com>
3996 The name is gio-standalone
3999 Add top src/builddir to includedir
4001 2007-11-06 Alexander Larsson <alexl@redhat.com>
4003 * docs/reference/gio/gio-sections.txt:
4005 * gio/gbufferedinputstream.c:
4006 * gio/gbufferedoutputstream.c:
4007 * gio/gcancellable.c:
4008 * gio/gdatainputstream.h:
4009 * gio/gdataoutputstream.c:
4010 * gio/gdataoutputstream.h:
4011 * gio/gdirectorymonitor.c:
4013 * gio/gfileattribute.c:
4014 * gio/gfileattribute.h:
4015 * gio/gfileenumerator.c:
4016 * gio/gfileenumerator.h:
4019 * gio/gfileinputstream.h:
4020 * gio/gfilemonitor.c:
4021 * gio/gfileoutputstream.h:
4022 * gio/glocalfilemonitor.h:
4023 * gio/glocalfileoutputstream.h:
4024 * gio/gmemoryinputstream.c:
4025 * gio/gmemoryoutputstream.c:
4026 * gio/gmountoperation.c:
4027 * gio/goutputstream.c:
4028 * gio/goutputstream.h:
4030 * gio/gsimpleasyncresult.c:
4031 * gio/gunixmounts.c:
4032 * gio/gunixmounts.h:
4034 * gio/inotify/inotify-helper.c:
4035 Fix gtk-doc warnings
4037 Patch from Ross Burton
4039 2007-11-06 Alexander Larsson <alexl@redhat.com>
4041 * gio/gfilenamecompleter.c:
4042 (g_filename_completer_get_completions):
4045 * gio/gunixvolume.c:
4046 Remove unused function
4048 Patches from Ross Burton
4050 2007-11-06 Alexander Larsson <alexl@redhat.com>
4055 Padding not needed for interfaces
4057 2007-11-06 Alexander Larsson <alexl@redhat.com>
4059 * gio/gfilemonitor.c:
4063 Make giotypes.h an internal file
4066 * gio/gbufferedinputstream.h:
4067 * gio/gbufferedoutputstream.h:
4068 * gio/gcancellable.h:
4069 * gio/gdatainputstream.h:
4070 * gio/gdataoutputstream.h:
4071 * gio/gdirectorymonitor.c:
4072 * gio/gdirectorymonitor.h:
4077 * gio/gfileattribute.h:
4078 * gio/gfileenumerator.h:
4083 * gio/gfilemonitor.c:
4084 * gio/gfilemonitor.h:
4085 * gio/gfilenamecompleter.c:
4086 * gio/gfilenamecompleter.h:
4087 * gio/gfilterinputstream.h:
4088 * gio/gfilteroutputstream.h:
4089 * gio/ginputstream.h:
4090 * gio/gmemoryinputstream.h:
4091 * gio/gmemoryoutputstream.h:
4092 * gio/gmountoperation.c:
4093 * gio/gmountoperation.h:
4094 * gio/gnativevolumemonitor.c:
4095 * gio/goutputstream.h:
4098 * gio/gsimpleasyncresult.c:
4099 * gio/gsimpleasyncresult.h:
4100 * gio/gsocketinputstream.h:
4101 * gio/gsocketoutputstream.h:
4102 * gio/gthemedicon.c:
4103 * gio/gthemedicon.h:
4107 * gio/gvolumemonitor.c:
4108 * gio/gvolumemonitor.h:
4109 Add padding in classes where it seems useful
4110 Don't include giotypes.h from public headers
4111 Move in Class definitions into c file where possible
4116 2007-11-06 Alexander Larsson <alexl@redhat.com>
4118 * docs/reference/gio/gio-docs.xml:
4119 Better structure for API docs
4121 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4124 * gio/gloadableicon.c:
4125 * gio/gsimpleasyncresult.c:
4126 * gio/gthemedicon.c:
4127 Add some more guards to public functions. Only files missing are now
4130 2007-11-06 Alexander Larsson <alexl@redhat.com>
4132 * docs/reference/gio/gio-docs.xml:
4133 Remove old files, add missing ones
4135 2007-11-06 Alexander Larsson <alexl@redhat.com>
4137 * docs/reference/gio/gio-sections.txt:
4140 Hide implementation classes
4142 * gio/gdriveprivate.h:
4143 * gio/gvolumeprivate.h:
4144 Remove non-existing function declarations
4146 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4149 Fix compilation warnings and add guards to the new functions.
4151 * gio/gasyncresult.c:
4153 Add guards to the public functions.
4156 Implement get_path().
4158 2007-11-06 Alexander Larsson <alexl@redhat.com>
4160 * gio/gfilenamecompleter.c:
4161 Make g_filename_completer_get_completions
4162 return char ** instead of GList for
4165 * docs/reference/gio/gio-docs.xml:
4166 * docs/reference/gio/gio-sections.txt:
4168 * gio/gasyncresult.c:
4169 * gio/gbufferedinputstream.c:
4170 * gio/gbufferedoutputstream.c:
4171 * gio/gcancellable.c:
4172 * gio/gcontenttype.c:
4173 * gio/gdatainputstream.c:
4174 * gio/gdataoutputstream.c:
4175 * gio/gdesktopappinfo.c:
4176 * gio/gdirectorymonitor.c:
4180 * gio/gfileattribute.c:
4181 * gio/gfileenumerator.c:
4184 * gio/gfileinputstream.c:
4185 * gio/gfilemonitor.c:
4186 * gio/gfilenamecompleter.c:
4187 * gio/gfilenamecompleter.h:
4188 * gio/gfileoutputstream.c:
4189 * gio/gfilterinputstream.c:
4191 * gio/ginputstream.c:
4193 * gio/gioscheduler.c:
4194 * gio/gloadableicon.c:
4195 * gio/glocaldirectorymonitor.c:
4197 * gio/glocalfileinputstream.c:
4198 * gio/glocalfilemonitor.c:
4199 * gio/glocalfileoutputstream.c:
4201 * gio/gmemoryinputstream.c:
4202 * gio/gmemoryoutputstream.c:
4203 * gio/gmountoperation.c:
4204 * gio/goutputstream.c:
4205 * gio/gpollfilemonitor.c:
4207 * gio/gsimpleasyncresult.c:
4208 * gio/gsocketinputstream.c:
4209 * gio/gsocketoutputstream.c:
4210 * gio/gthemedicon.c:
4211 * gio/gunionvolumemonitor.c:
4213 * gio/gunixmounts.c:
4214 * gio/gunixvolume.c:
4215 * gio/gunixvolumemonitor.c:
4219 * gio/gvolumemonitor.c:
4220 * gio/gwin32appinfo.c:
4221 Add (mostly stub) doc strings to public functions.
4222 Patch from Andrew Walton (awalton@gmail.com)
4224 2007-11-06 Alexander Larsson <alexl@redhat.com>
4226 * gio/gappinfo.[ch]:
4227 Added GAppLaunchContext object and pass that to launch.
4228 This allows simple implementation of both
4229 launch-on-screen and startup notification via a gtk+
4230 subclass of GAppLaunchContext
4232 * gio/gdesktopappinfo.c:
4233 Implement GAppLaunchContext API
4235 * gio/gwin32appinfo.c:
4238 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4240 * gio/gmountoperation.c:
4241 Add some guards to GMountOperation's public functions.
4243 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4247 * gio/gcancellable.c:
4248 * gio/gdirectorymonitor.c:
4250 * gio/gfileenumerator.c:
4251 * gio/gfilemonitor.c:,
4252 * gio/gfilenamecompleter.c:
4255 * gio/gioscheduler.c:
4259 * gio/gvolumemonitor.c:
4260 Add even more guards to various public functions.
4262 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4265 Add guards to the public functions of GAppInfo.
4267 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4269 * gio/gcontenttype.c:
4270 Add some more guards for public functions.
4272 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4274 * gio/fam/fam-module.c:
4275 * gio/fam/gfamdirectorymonitor.c:
4276 * gio/fam/gfamdirectorymonitor.h:
4277 * gio/fam/gfamfilemonitor.c:
4278 * gio/fam/gfamfilemonitor.h:
4279 * gio/inotify/ginotifydirectorymonitor.c:
4280 * gio/inotify/ginotifydirectorymonitor.h:
4281 * gio/inotify/ginotifyfilemonitor.c:
4282 * gio/inotify/ginotifyfilemonitor.h:
4283 Add proper copyright information and remove an unused variable
4284 in the GInotifyFileMonitor constructor.
4286 * gio/gcancellable.c:
4287 Add a guard for a public function and an assertion to prevent
4288 an undefined program state.
4290 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4292 * gio/gfileattribute.c:
4293 Don't run into an assertion if the given attribute value is NULL
4294 in g_file_attribute_value_get_*() but instead return a fallback
4295 value that makes sense in most situations. Passing them a attribute
4296 value with the wrong type will still run into an assertion.
4298 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4300 * gio/gfileattribute.c:
4302 Add even more guards to the public functions. Also fix the refcounting
4303 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4304 let g_file_info_list_attributes() filter the attributes by namespace
4305 instead of simply ignoring the namespace parameter.
4307 2007-11-03 Sven Herzberg <sven@imendio.com>
4309 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4310 (This makes gio work on MacOS X again)
4312 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4315 Build the gio subdirectory before the docs. Otherwise the build will
4318 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4319 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4320 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4321 Add guards to the public functions.
4323 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4325 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4326 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4327 to prevent a compiler warning.
4329 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4330 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4331 return something in the non-void function find_topdir_for().
4333 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4340 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4342 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4343 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4344 * gwin32appinfo.c (g_win32_app_info_launch):
4345 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4346 envp_for_startup_id, g_desktop_app_info_launch,
4347 g_desktop_app_info_launch_uris):
4349 Give an opaque 'startup_id' string instead of 'envp'.
4350 Support empty file lists for launching new windows.
4351 Fix infinite recursion bug when launching URIs.
4353 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4356 Add guard to the new g_file_get_uri_scheme() function.
4358 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4361 Convert a g_return_val_if_fail() to setting the GError instead as
4362 otherwise applications have to verify the parameter before otherwise
4363 and the parameter might come directly from the user.
4365 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4367 * gio/inotify/ginotify*.[ch]:
4368 Add missing copyright information.
4370 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4373 Add guards in the beginning of public functions to check for valid
4374 parameters and fix a bug in copy_stream_with_progress() that could've
4375 caused writing less bytes than reading.
4376 * gio/glocalfileinfo.c:
4377 Check for a NULL parameter and set the GError accordingly then.
4378 * gio/goutputstream.c:
4379 Fix the same bug as in gfile.c that could've caused writing less bytes
4380 than reading in g_output_stream_real_splice().
4382 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4385 Use the correct gvolumeprivate.h naming
4387 2007-11-01 Christian Kellner <gicmo@gnome.org>
4390 Remove leftover "$(daemon_sources)" entry.
4392 2007-11-01 Christian Kellner <gicmo@gnome.org>
4397 Add copyright information to source files.
4399 2007-11-01 Alexander Larsson <alexl@redhat.com>
4403 Add g_file_get_uri_scheme
4405 2007-11-01 Alexander Larsson <alexl@redhat.com>
4408 * gio/gdesktopappinfo.c:
4409 * gio/gwin32appinfo.c:
4410 Add g_app_info_get_default_for_uri_scheme.
4412 2007-11-01 Alexander Larsson <alexl@redhat.com>
4415 Correct filename for gdriveprivate.h
4417 2007-10-31 Alexander Larsson <alexl@redhat.com>
4420 Rename id:value to id:file
4423 * gio/glocalfileinfo.c:
4426 2007-10-31 Alexander Larsson <alexl@redhat.com>
4428 * gio/gunixvolume.c:
4430 Remove g_volume_get_platform_id, as thats not
4431 needed with the simpler union volume monitor
4433 2007-10-31 Alexander Larsson <alexl@redhat.com>
4436 * gio/guniondrive.[ch]: Removed.
4437 * gio/gunionvolume.[ch]: Removed.
4438 Remove GUnionDrive/Volume
4440 * gio/gunionvolumemonitor.c:
4441 Simplify union volume monitor, now we
4442 only have one native volume monitor and
4443 we use the actual volumes/drives from the
4444 child monitors instead of wrapping them
4446 * gio/gnativevolumemonitor.[ch]:
4447 Base class for native volume monitors.
4448 Includes priority and get_volume_for_mountpoint
4451 Add g_file_find_enclosing_volume
4454 Remove volume name fs attribute
4455 Add readonly fs attribute
4458 Implement readonly attribute
4459 remove volume name attribute
4460 Implement find_enclosing volume
4462 * gio/gunixmounts.c:
4463 Add a volume for "/".
4465 * gio/gunixvolume.[ch]:
4466 Set better name for /
4468 * gio/gunixvolumemonitor.[ch]:
4469 Derive from GNativeVolumeMonitor
4470 Implement get_volume_for_mountpoint
4473 GVolume typedef moved to gfile.h
4475 * gio/gvolumeprivate.h:
4476 Add g_volume_get_for_mount_path
4478 2007-10-31 Alexander Larsson <alexl@redhat.com>
4480 * gio/gunixmounts.[ch]:
4481 Add cache info to unix mount listers
4482 Make getmntent use threadsafe
4483 Add is_system_internal attribute for GUnixMount
4485 * gio/gunixvolume.c:
4486 (g_unix_volume_new):
4487 Use is_system_internal instead of own code
4489 * gio/glocaldirectorymonitor.c:
4490 * gio/gunixvolumemonitor.c:
4491 Update to new gunixmounts API
4496 2007-10-30 Alexander Larsson <alexl@redhat.com>
4499 Add volume name fsinfo attribute
4502 Read volume name info
4504 * gio/gunionvolumemonitor.c:
4505 Fix infinite loops when finalizing a union volume monitor
4507 2007-10-30 Alexander Larsson <alexl@redhat.com>
4509 * gio/goutputstream.[ch]:
4510 Add splice() with default implementation
4512 * gio/gsocketoutputstream.c:
4513 (g_socket_output_stream_write):
4514 Return error on cancellation correctly.
4516 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4518 * gio/glocalfile.c (g_local_file_trash):
4519 Do not leak a string.
4521 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4523 * gio/gfile.c (g_file_load_contents):
4524 Unref the stream after closing it.
4526 2007-10-25 Alexander Larsson <alexl@redhat.com>
4528 * gio/gioscheduler.h:
4531 2007-10-25 Alexander Larsson <alexl@redhat.com>
4535 Add g_file_has_uri_scheme and implement for local files
4537 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4539 * gio/gdesktopappinfo.c: do not leak a string.
4541 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4543 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4544 (g_local_directory_monitor_new):
4545 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4546 (g_local_file_monitor_new):
4547 Only look for the monitor type that should be used the first time
4548 and use g_qsort_with_data() instead of our own bubble sort
4551 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4554 * gio/fam/Makefile.am:
4555 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4556 * gio/fam/fam-helper.h:
4557 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4558 * gio/fam/gfamdirectorymonitor.c:
4559 * gio/fam/gfamdirectorymonitor.h:
4560 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4561 * gio/fam/gfamfilemonitor.h:
4562 * gio/glocaldirectorymonitor.c:
4563 * gio/glocaldirectorymonitor.h:
4564 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4565 * gio/glocalfilemonitor.h:
4566 * gio/inotify/Makefile.am:
4567 * gio/inotify/ginotifydirectorymonitor.c:
4568 * gio/inotify/ginotifydirectorymonitor.h:
4569 * gio/inotify/ginotifyfilemonitor.c:
4570 * gio/inotify/ginotifyfilemonitor.h:
4571 Implement the FAM and Inotify monitors as
4572 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4573 their own GIO module. GLocal(Directory|File)Monitor will use the
4574 monitor with the highest rank that is supported on that machine.
4576 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4579 Change GIO module dir to $(libdir)/gio/modules and change
4580 the log domain from GVFS to GIO. Also only export symbols starting
4581 with g_ in the resulting library.
4582 * gio/test-streams.c: (main):
4583 Set log handler for the GIO log domain.
4585 2007-10-22 Alexander Larsson <alexl@redhat.com>
4587 * gio/gfilenamecompleter.[ch]:
4588 Add g_filename_completer_set_dirs_only
4590 2007-10-22 Alexander Larsson <alexl@redhat.com>
4593 * gio/gurifuncs.[ch]:
4594 Add some simple URI helpers
4596 * gio/gfilenamecompleter.[ch]:
4597 Added object for filename (parse name actually) completion
4600 Handle ~ in parse names
4602 2007-10-17 Alexander Larsson <alexl@redhat.com>
4605 * gio/glocalfileinfo.c:
4606 Add and implement id:value attribute
4608 2007-10-17 Alexander Larsson <alexl@redhat.com>
4611 * gio/guniondrive.c:
4613 Add and implement g_drive_has_volumes
4615 2007-10-17 Alexander Larsson <alexl@redhat.com>
4618 * gio/glocalfileinfo.[ch]:
4619 Add unix:is_mountpoint and implement for local files
4621 2007-10-16 Alexander Larsson <alexl@redhat.com>
4623 * gio/gunionvolumemonitor.c:
4624 (g_union_volume_monitor_init):
4625 Fix up the unix type getting so that it works with gcc
4627 2007-10-12 Alexander Larsson <alexl@redhat.com>
4630 * gio/glocalfileinfo.c:
4631 Add thumbnail:failed to file info
4633 2007-10-12 Richard Hult <richard@imendio.com>
4635 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4636 optimizing away the get_type call (happens with some gcc versions,
4637 like the one shipped with OS X 10.4).
4639 2007-10-12 Alexander Larsson <alexl@redhat.com>
4641 * gio/glocalfileinfo.c:
4642 (_g_local_file_info_set_attribute):
4643 Fix build if not HAVE_XATTR
4644 Patch from Milosz Derezynski <internalerror@gmail.com>
4646 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4648 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4649 around for review, otherwise I would have asked you before
4652 2007-10-11 Alexander Larsson <alexl@redhat.com>
4655 Add thumbnail:path attribute
4657 * gio/glocalfileinfo.c:
4658 Implement thumbnail:path for local files
4660 2007-10-11 Alexander Larsson <alexl@redhat.com>
4662 * gio/glocalfileinfo.c:
4663 (_g_local_file_info_get):
4664 Avoid duplicate icon names
4666 2007-10-11 Alexander Larsson <alexl@redhat.com>
4668 * gio/gthemedicon.[ch]:
4669 Change g_themed_icon_get_names return type to const
4671 2007-10-10 Alexander Larsson <alexl@redhat.com>
4673 * gio/glocalfileinfo.c:
4674 Don't reference freed memory
4676 2007-10-10 Alexander Larsson <alexl@redhat.com>
4678 * gio/gfileattribute.c:
4681 * gio/glocalfileinfo.c:
4684 2007-10-10 Alexander Larsson <alexl@redhat.com>
4687 Check for NULL icons
4689 * gio/gfileattribute.c:
4690 Don't dup when getting objects (same as for string attributes)
4692 * gio/gicon.c (g_icon_equal):
4693 Safely handle NULLs in equal
4695 2007-10-10 Alexander Larsson <alexl@redhat.com>
4698 Fix c++ compilation issues
4699 Patch from Milosz Derezynski <internalerror@gmail.com>
4701 2007-10-10 Alexander Larsson <alexl@redhat.com>
4703 * programs/gio-monitor-dir.c:
4704 Don't crash if dir monitor not supported.
4706 2007-10-09 Alexander Larsson <alexl@redhat.com>
4709 Add missing G_END_DECLS
4711 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4713 * gio/gfile.c: (g_file_set_display_name),
4714 (g_file_query_settable_attributes),
4715 (g_file_query_writable_namespaces):
4716 Return NULL not FALSE on errors as the return type is a pointer.
4718 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4720 * gio/glocalfile.c: (g_local_file_monitor_file):
4721 Don't call monitor_file on the default interface vtable (which
4722 is NULL) but simply return NULL. The caller, GFile, will create a
4723 polling monitor if NULL is returned.
4725 2007-10-09 Alexander Larsson <alexl@redhat.com>
4729 * gio-unix-2.0.pc.in:
4730 Add gio-unix-2.0.pc if OS_UNIX
4733 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4735 2007-10-09 Alexander Larsson <alexl@redhat.com>
4737 * gio/gunixmounts.[ch]:
4738 Make unix mount monitoring API sane.
4739 Now its just a object with mounts_changed
4740 and mountpoints_changed signals.
4742 * gio/glocaldirectorymonitor.c:
4743 * gio/gunixvolumemonitor.c:
4744 Use new mount monitor api
4746 2007-10-09 Alexander Larsson <alexl@redhat.com>
4748 * gio/gunixmounts.[ch]:
4749 Move guess type into one call for mounts and one for mountpoints
4752 * gio/gunixvolume.c:
4755 2007-10-09 Alexander Larsson <alexl@redhat.com>
4757 * gio/gunixmounts.[ch]:
4758 Remove _ prefix in preparation to make this semi-public
4759 Hide implementation of structs
4761 * gio/glocaldirectorymonitor.c:
4763 * gio/gunixvolume.c:
4764 * gio/gunixvolumemonitor.c:
4765 Update for above API changes
4767 2007-10-08 Alexander Larsson <alexl@redhat.com>
4770 Better polling fallback. This also handles the case where we have
4771 a monitor_file implementation, but it fails.
4773 2007-10-08 Alexander Larsson <alexl@redhat.com>
4777 * gio/gunixmounts.c:
4778 * programs/gio-monitor-dir.c:
4779 * programs/gio-monitor-file.c:
4780 Added cancellable to file monitoring calls.
4781 These are really sync calls and need this.
4783 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4785 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4786 (g_local_vfs_class_init):
4787 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4788 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4790 2007-10-05 Alexander Larsson <alexl@redhat.com>
4792 * gio/gdirectorymonitorprivate.h:
4793 * gio/gfilemonitorprivate.h:
4794 * gio/gdirectorymonitor.h:
4795 * gio/gfilemonitor.h:
4796 Remove *private.h and move to the public API, so that
4797 we can do implementations outside gio (such as in gvfs)
4799 * gio/gdirectorymonitor.c:
4800 * gio/gfilemonitor.c:
4801 * gio/glocaldirectorymonitor.c:
4802 * gio/gpollfilemonitor.c:
4803 * gio/inotify/inotify-helper.c:
4804 * gio/fam/fam-helper.c:
4805 Update to the new header names
4807 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4809 * gio/gdirectorymonitor.c:
4810 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4813 2007-10-04 Alexander Larsson <alexl@redhat.com>
4815 * gio/glocalfileinfo.c (get_access_rights):
4816 Set CAN_TRASH when we can move the file.
4817 We should really also check for a parent trash dir.
4819 2007-10-04 Alexander Larsson <alexl@redhat.com>
4821 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4822 Add can_trash access attribute
4824 2007-10-04 Alexander Larsson <alexl@redhat.com>
4827 (g_local_file_trash):
4828 Create info file first. This is per-spec and allows
4829 us to actually trash directories.
4831 2007-10-02 Alexander Larsson <alexl@redhat.com>
4833 * gio/gdesktopappinfo.c:
4834 Implement the new mime support code.
4835 Always set app as handling mimetype when being set as default for it
4837 2007-10-01 Alexander Larsson <alexl@redhat.com>
4839 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4840 Fix up check for xattrs:
4842 2007-10-01 Alexander Larsson <alexl@redhat.com>
4845 (g_app_info_set_as_default_for_extension):
4846 (g_app_info_add_supports_type):
4847 (g_app_info_can_remove_supports_type):
4848 (g_app_info_remove_supports_type):
4849 Make these fail nicely if not implemented
4851 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4853 * gio/glocalfileoutputstream.c:
4854 * gio/glocalfileoutputstream.h:
4859 * programs/gio-save.c:
4860 Add a GFileCreateFlags argument to operations that can create
4863 2007-10-01 Alexander Larsson <alexl@redhat.com>
4865 * gio/gappinfo.[ch]:
4866 * gio/gdesktopappinfo.c:
4867 Add more (stubbed out) mime API needed for nautilus
4869 2007-10-01 Alexander Larsson <alexl@redhat.com>
4872 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4873 Add g_app_info_set_as_default_for_extension.
4875 * gio/gdesktopappinfo.c:
4876 Dummy for g_app_info_set_as_default_for_extension
4877 Support flags in g_app_info_create_from_commandline
4879 * gio/gwin32appinfo.c:
4881 Update for API changes
4883 * gio/gthemedicon.c:
4884 Properly NULL-terminate list of icon names
4886 2007-09-28 Alexander Larsson <alexl@redhat.com>
4888 * gio/gloadableicon.h:
4889 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4891 2007-09-28 Alexander Larsson <alexl@redhat.com>
4894 Install headers in $includedir/gio-standalone/
4896 * gio-2.0.pc.in: Added.
4897 * gio-standalone.pc.in: Removed.
4900 Renamed pkg-config file to match glib (for future move)
4901 Update to the new include dir
4904 Add more TODO comments
4906 2007-09-28 Alexander Larsson <alexl@redhat.com>
4908 * gio/gdesktopappinfo.[ch]:
4909 Expose new_from_filename
4910 Add getter for is_hidden and handle it better
4912 2007-09-28 Alexander Larsson <alexl@redhat.com>
4914 * gio/gfileinfo.[ch]:
4915 Rename g_file_size_format_for_display to
4916 g_format_file_size_for_display.
4917 Now it doesn't have the g_file prefix, so we
4918 can later move it to glib.
4920 2007-09-28 Alexander Larsson <alexl@redhat.com>
4922 * gio/gappinfo.[ch]:
4923 Add g_app_info_get_id and g_app_info_get_executable.
4924 Make all getters non-reffing
4925 Make g_app_info_launch take GFile arguments.
4926 Add must_support_uris argument to g_app_info_get_default_for_type.
4928 * gio/gwin32appinfo.c:
4929 Update to GAppInfo api changes
4931 * gio/gdesktopappinfo.c:
4932 Update to GAppInfo api changes
4933 Implement supports_xdg_startup_notify
4935 * gio/gfileicon.c (g_file_icon_get_file):
4936 Make getter non-reffing.
4941 2007-09-27 Alexander Larsson <alexl@redhat.com>
4943 * gio/gfileinfo.[ch]:
4944 Add g_file_size_format_for_display helper
4946 2007-09-27 Alexander Larsson <alexl@redhat.com>
4948 * gio/glocalfileinfo.c:
4949 Set UNIX_GID from gid, not from uid
4951 2007-09-27 Alexander Larsson <alexl@redhat.com>
4954 Add g_file_set_attributes_async
4956 2007-09-27 Alexander Larsson <alexl@redhat.com>
4958 * gio/glocalfile.c (g_local_file_set_display_name):
4959 Fix set_display_name to actually rename to the right place.
4960 Use lstat to look for existing files so we don't overwrite
4963 2007-09-26 Alexander Larsson <alexl@redhat.com>
4966 Add g_file_set_display_name_async()
4968 2007-09-26 Alexander Larsson <alexl@redhat.com>
4971 Add load_partial_contents async calls
4974 Make internal function static
4976 2007-09-26 Alexander Larsson <alexl@redhat.com>
4978 * gio/glocalfileinfo.c:
4979 Correctly detect broken symlinks
4981 2007-09-26 Alexander Larsson <alexl@redhat.com>
4983 * gio/gcancellable.c (g_cancellable_cancel):
4984 Allow cancel on NULL cancellable
4986 2007-09-25 Alexander Larsson <alexl@redhat.com>
4988 * gio/gsimpleasyncresult.c:
4989 Don't allocate g_error manually.
4990 Fixes g_slice/g_new mixup crash
4992 2007-09-25 Alexander Larsson <alexl@redhat.com>
4994 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4995 Actually set active_backend.
4996 This means the monitor will be cancelled correctly.
4998 2007-09-25 Alexander Larsson <alexl@redhat.com>
5000 * gio/gdirectorymonitor.c:
5001 Set timeout to NULL when destroying
5003 2007-09-25 Alexander Larsson <alexl@redhat.com>
5006 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5007 that is a better description of the error.
5009 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5011 * gio/gvfs.c: (g_vfs_get_local):
5012 Make the local vfs variable static. The same instance should
5015 2007-09-24 Alexander Larsson <alexl@redhat.com>
5017 * gio/glocalfileinfo.c:
5018 Pass in actual length read into sniffer, not the length
5021 2007-09-21 Alexander Larsson <alexl@redhat.com>
5023 * gio/gfileenumerator.c:
5026 * gio/gfileinputstream.c:
5027 * gio/gfileoutputstream.c:
5028 * gio/ginputstream.c:
5029 * gio/goutputstream.c:
5030 Don't crash if async callbacks are NULL
5032 2007-09-20 Alexander Larsson <alexl@redhat.com>
5035 Add async enumerate_children method and default
5038 2007-09-20 Alexander Larsson <alexl@redhat.com>
5041 Add g_file_contains_file & g_file_get_relative_path, since they
5042 were needed for nautilus.
5043 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5048 Implement new methods
5050 2007-09-17 Alexander Larsson <alexl@redhat.com>
5053 * gio/gfileinputstream.[ch]:
5054 * gio/gfileoutputstream.[ch]:
5056 * gio/glocalfileenumerator.[ch]:
5057 * gio/glocalfileinfo.[ch]:
5058 * gio/glocalfileinputstream.c:
5059 * gio/glocalfileoutputstream.c:
5060 * gio/gpollfilemonitor.c:
5061 * programs/gio-copy.c:
5062 * programs/gio-info.c:
5063 * programs/gio-move.c:
5064 Rename get_file_info to query_info() to make it clearer
5065 that these are not simple getters, but do i/o.
5067 2007-09-17 Alexander Larsson <alexl@redhat.com>
5069 * gio/gdatainputstream.[ch]:
5070 * gio/test-streams.c:
5071 Use _read_XXX instead of _get_XXX for the i/o calls
5074 2007-09-17 Alexander Larsson <alexl@redhat.com>
5077 Added needed stuff to TODO comment
5079 2007-09-17 Alexander Larsson <alexl@redhat.com>
5081 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5082 Don't error out removing the backup copy if it doesn't
5085 2007-09-14 Alexander Larsson <alexl@redhat.com>
5087 * programs/Makefile.am:
5088 * programs/gvfs-*.c:
5090 Renamed apps from gvfs-xxx to gio-xxx.
5092 2007-09-14 Alexander Larsson <alexl@redhat.com>
5095 * gio/gfileoutputstream.[ch]:
5096 * gio/glocalfileoutputstream.c:
5097 * programs/gvfs-save.c:
5098 g_file_output_stream_get_etag doesn't do i/o, so remove
5099 cancellation and error.
5101 2007-09-14 Alexander Larsson <alexl@redhat.com>
5104 Add new_etag output to replace_contents functions
5106 2007-09-14 Alexander Larsson <alexl@redhat.com>
5108 * gio/gfileoutputstream.[ch]:
5109 Add async get_file_info and default implementation
5111 2007-09-14 Alexander Larsson <alexl@redhat.com>
5113 * gio/gfileinputstream.c:
5114 Implement fallback wrapper for async get_file_info
5116 2007-09-14 Alexander Larsson <alexl@redhat.com>
5119 Add etag out argument to load_contents
5124 2007-09-14 Alexander Larsson <alexl@redhat.com>
5126 * gio/gcontenttype.c (looks_like_text):
5127 Whitespace like tab, cr and lf do not make the
5130 2007-09-14 Alexander Larsson <alexl@redhat.com>
5132 * gio/gfileinputstream.[ch]:
5133 Add async get_file_info.
5135 2007-09-13 Alexander Larsson <alexl@redhat.com>
5137 * gio/goutputstream.c (g_output_stream_write_all):
5138 Allow NULL for bytes_written
5140 2007-09-13 Alexander Larsson <alexl@redhat.com>
5142 * gio/gmemoryinputstream.[ch]:
5143 Add accessors for data
5145 2007-09-13 Alexander Larsson <alexl@redhat.com>
5147 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5148 Don't crash if length is NULL