1 2008-09-16 Michael Natterer <mitch@imendio.com>
3 * gcontenttype.c (g_content_type_guess): can't assign the return
4 value of g_strdupv() to an array. Fill the array manually with
5 const strings instead (it is never freed anyway). Fixes the
6 build. Also fixed indentation.
8 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
10 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
11 Fix trivial typo to unbreak the build (there was a colon
12 instead of a semicolon at the end of a statement).
14 2008-09-15 Matthias Clasen <mclasen@redhat.com>
16 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
19 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
22 2008-09-15 Matthias Clasen <mclasen@redhat.com>
24 Bug 551681 – g_content_type_guess() too naive with filenames
26 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
27 at the end of the filename, and declare it a directory.
28 Patch by Bastien Nocera
30 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
32 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
35 * gdesktopappinfo.c: add a note in the docs clarifying what the
36 "filename" parameter really is.
38 2008-09-12 Tor Lillqvist <tml@novell.com>
40 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
41 FormatMessage() etc here. Call g_win32_error_message() instead
42 which already does all that. Besides, the code was broken as it
43 called the default "A" version of FormatMessage() but still
44 thought it produced a wide string.
46 2008-09-12 Michael Natterer <mitch@imendio.com>
48 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
51 2008-09-08 Christian Neumair <cneumair@gnome.org>
53 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
54 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
55 Use non-blocking pipe for mount helper I/O. Fixes #550647.
57 2008-09-06 Matthias Clasen <mclasen@redhat.com>
59 Bug 551149 – xdgmime mem leak
61 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
62 a memory leak. Patch by Christian Persch
64 2008-09-04 Tor Lillqvist <tml@novell.com>
66 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
69 2008-09-02 Matthias Clasen <mclasen@redhat.com>
71 * === Released 2.18.0 ===
73 2008-09-02 Michael Natterer <mitch@imendio.com>
75 * *.h: big header formatting cleanup: indentation, vtable
76 formatting, consistent spacing in (* vfunc), trailing whitespace
77 removal. Formatting should be pretty consistent in all GIO headers
80 2008-09-02 Matthias Clasen <mclasen@redhat.com>
82 * gmount.h: Document guess_content_type sync vfunc.
84 2008-09-02 Michael Natterer <mitch@imendio.com>
86 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
87 fix parent_class member to be GFilterOutputStreamClass (not
88 GOutputStreamClass). Drop three pointers of padding, which is
89 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
90 so the class struct size stays the same.
92 2008-09-02 Matthias Clasen <mclasen@redhat.com>
94 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
96 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
97 nonexisting return values. Pointed out by Cosimo Cecchi.
99 2008-08-23 Tor Lillqvist <tml@novell.com>
101 Bug 548988 - g_file_replace fails on Windows when the target file
104 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
105 Windows, close the file before potentially renaming it (in case we
106 have been writing to a file with a temporary name).
108 (g_local_file_output_stream_close, handle_overwrite_open): Use
109 GLocalFileStat instead of plain struct stat, for passing to
110 _g_local_file_info_create_etag(). Thus also use _fstati64()
111 instead of plain fstat() on Windows.
113 2008-08-18 Matthias Clasen <mclasen@redhat.com>
115 * === Released 2.17.7 ===
117 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
119 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
122 2008-08-13 Tor Lillqvist <tml@novell.com>
124 * win32/gwinhttpvfs.c
125 * win32/gwinhttpvfs.h
126 * win32/gwinhttpfile.c
127 * win32/gwinhttpfileinputstream.c
128 * win32/gwinhttpfileoutputstream.c: Refactor some common code
129 snippets into helper functions. Check HTTP response status
130 codes. Implement g_winhttp_file_query_info(), looking at
131 Content-Length, Content-Type and Last-Modified.
133 * win32/winhttp.h: Add some symbolic constants that are not
134 publicly documented. Just a handful, so it should be OK to use
135 information from the Windows SDK's headers.
137 2008-08-13 Tor Lillqvist <tml@novell.com>
139 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
142 * win32/gwin32directorymonitor.c
143 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
145 2008-08-13 Matthias Clasen <mclasen@redhat.com>
148 * goutputstream.c: Add intro docs.
150 2008-08-13 Tor Lillqvist <tml@novell.com>
152 * win32/gwinhttpfileoutputstream.c
153 (g_winhttp_file_output_stream_write): Don't write the
154 Content-Length header ourselves, WinHttpSendRequest() takes care
155 of that when the dwTotalLength parameter is non-zero. Increment
156 offset by the number of actual bytes sent, although I wonder if
157 such a scenario is possible where less than requested would be
158 sent and accepted by the server without errors.
160 2008-08-13 Tor Lillqvist <tml@novell.com>
162 * win32/gwinhttpvfs.c
163 * win32/gwinhttpvfs.h
164 * win32/gwinhttpfile.c
165 * win32/gwinhttpfile.h
166 * win32/gwinhttpfileinputstream.c
167 * win32/gwinhttpfileinputstream.h
168 * win32/gwinhttpfileoutputstream.c
169 * win32/gwinhttpfileoutputstream.h: New files implementing
170 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
171 Windows. The implementation uses the WinHttp API. Both reading and
172 writing are supported, i.e. GET and PUT requests. When writing,
173 each write call is done using a separate PUT request with a
174 Content-Range header. Requests for file URIs and plain pathnames
175 are forwarded to GLocalVfs.
177 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
178 WINE. Used as there is no <winhttp.h> bundled with mingw, and
179 requiring people to download the Windows SDK just for this one
180 header is not reasonable.
182 * win32/Makefile.am: Add above files.
184 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
185 the plumbing for the above.
187 2008-08-11 Sven Neumann <sven@gimp.org>
189 * gfilenamecompleter.c
190 * glocaldirectorymonitor.c
192 * gunionvolumemonitor.c
196 * gunixvolumemonitor.c
199 * gwin32volumemonitor.c: use canonical signal names.
201 2008-08-11 Tor Lillqvist <tml@novell.com>
203 * Makefile.am: Put a list of the platform-dependent .la files in
204 the subdirectories in the platform_deps Make variable, and make
205 libgio-2.0.la depend on that, so that it gets relinked if one of
206 the dependent libraries has changed.
208 2008-08-11 Tor Lillqvist <tml@novell.com>
210 * Makefile.am (platform_libadd): Remove -lwininet which had been
211 added by mistake. We will probably eventually be using WinHTTP,
212 not the older WinInet anyway. (Actually I am working on it.)
214 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
216 Bug 547080 – g_file_copy leaks expected errors
218 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
219 before trying the next fallback routine.
221 2008-08-09 Loïc Minier <lool@dooz.org>
223 Bug 535124 – umask 002 not being applied for new directories, new
224 files get the correct umask
226 * gfile.c (g_file_make_directory)
227 (g_file_make_directory_with_parents): Document ownership and
228 permissions of newly created directories as being the default
231 2008-08-08 Loïc Minier <lool@dooz.org>
233 Bug 535124 – umask 002 not being applied for new directories, new
234 files get the correct umask
236 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
239 2008-08-08 Tor Lillqvist <tml@novell.com>
241 * gwin32mount.c: Remove unused code. Whitespace cleanup.
243 * gwin32volumemonitor.c (get_connected_drives): Put questionable
244 code that didn't actually do anything inside #if 0, and add a
245 comment wondering what the code was supposed to do. This also gets
246 rid of a leftover debugging printout.
248 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
250 * gfileicon.c (g_file_icon_get_property)
251 (g_file_icon_set_property): New functions.
252 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
254 (g_file_icon_new): Use the property (bug #546132).
256 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
258 * gthemedicon.c (g_themed_icon_get_property): Also handle
259 `PROP_USE_DEFAULT_FALLBACKS'.
260 (g_themed_icon_class_init): Make
261 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
263 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
265 Bug 546371 – Improve docs re g_file_monitor
267 * gfilemonitor.c: Mention g_file_monitor() in the docs.
269 2008-08-04 Matthias Clasen <mclasen@redhat.com>
271 * === Released 2.17.6 ===
273 2008-08-04 Matthias Clasen <mclasen@redhat.com>
275 * === Released 2.17.5 ===
277 2008-08-04 Matthias Clasen <mclasen@redhat.com>
279 Bug 546017 – Don't copy attributes when copying a symlink
281 * gfile.c (g_file_copy_attributes): Specify
282 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
283 g_file_set_attributes_from_info. Patch by Christian Kellner
285 2008-08-04 Matthias Clasen <mclasen@redhat.com>
287 * gemblemedicon.[hc]:
289 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
290 a bit more extensible. Work by Clemens Buss.
292 * gioenums.h: Add GEmblemOrigin.
295 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
297 Bug 546079 – leak in xdgmime
299 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
301 2008-08-03 Tor Lillqvist <tml@novell.com>
303 * win32/gwin32directorymonitor.h
304 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
307 2008-08-03 Tor Lillqvist <tml@novell.com>
309 * win32/gwin32directorymonitor.c
310 (g_win32_directory_monitor_callback): Make prototype match
311 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
312 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
315 (g_win32_directory_monitor_constructor):
316 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
317 names in the GLib API on Windows, so convert to UTF-16 and open
320 2008-08-03 Tor Lillqvist <tml@novell.com>
322 Bug 541036 - Gnumeric crashes when trying to open Desktop or
323 user's folder under Windows
325 * win32/gwin32directorymonitor.c
326 (g_win32_directory_monitor_constructor): Ignore error from
327 CreateFile() when opening directory. Instead of asserting, just
328 store INVALID_HANDLE_VALUE then in
329 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
330 ReadDirectoryChangesW().
331 (g_win32_directory_monitor_cancel): Don't attempt to close
332 directory handle if it is INVALID_HANDLE_VALUE.
334 2008-08-01 Matthias Clasen <mclasen@redhat.com>
336 * gdesktopappinfo.c: Remove debug spew
338 2008-08-01 Hans Breuer <hans@breuer.org>
340 * makefile.msc : add gemblembedicon
342 2008-07-30 Matthias Clasen <mclasen@redhat.com>
344 Bug 545457 – gdmsetup crashed with SIGSEGV in
345 g_unix_mount_guess_should_display()
347 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
348 crash if no mount is found.
350 2008-07-28 Matthias Clasen <mclasen@redhat.com>
352 Bug 545203 – gfile.c: argument is different type.
354 * gfile.c (open_read_async_thread): Pass a GError **
355 to g_file_set_error_literal.
356 Reported by Kazuki Iwamoto
358 2008-07-28 Matthias Clasen <mclasen@redhat.com>
360 Bug 545157 – wrong/no list of "open with" applications for .cc and
363 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
364 Collect all ancestors, not just direct parents. Pointed
365 out by Bastien Nocera
367 2008-07-28 Matthias Clasen <mclasen@redhat.com>
369 * Makefile.am: Install gemblemedicon.h
371 2008-07-28 Matthias Clasen <mclasen@redhat.com>
373 * gemblemedicon.[hc]: Add a GIcon implementation that can
374 add an emblem to another icon.
381 * gfileicon.c: Small documentation additions.
383 2008-07-28 Tor Lillqvist <tml@novell.com>
385 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
388 2008-07-27 Tor Lillqvist <tml@novell.com>
390 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
392 2008-07-24 David Zeuthen <davidz@redhat.com>
396 Also export a g_mount_guess_content_type_sync() function.
398 2008-07-23 Matthias Clasen <mclasen@redhat.com>
400 529694 – SELinux context setting support
402 * gfileinfo.c: Support setting selinux attributes.
403 Patch by Tomas Bzatek
405 2008-07-22 Priit Laes <plaes@plaes.org>
407 Bug 544140 - fam-helper 64-bit issue?
409 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
411 2008-07-21 Matthias Clasen <mclasen@redhat.com>
413 * === Released 2.17.4 ===
415 2008-07-20 Matthias Clasen <mclasen@redhat.com>
417 * gvolumemonitor.[hc]:
422 * gmount.c: Documentation fixes
424 2008-07-19 Matthias Clasen <mclasen@redhat.com>
426 543504 – crash in Epiphany Web Browser: Opening local file
437 * gvolume.c: Register types thread-safely.
438 Patch by Christian Persch
440 2008-07-18 Matthias Clasen <mclasen@redhat.com>
442 * gcontenttype.c: Remove debug spew
444 2008-07-18 Matthias Clasen <mclasen@redhat.com>
446 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
449 * fen/fen-kernel.c: Remove a warning that was causing
450 crashes. Reported by Lin Ma.
452 2008-07-18 Matthias Clasen <mclasen@redhat.com>
454 Bug 543040 – async reading on dummy file will crash on
457 * gfile.c (open_read_async_thread): Cope with read_fn being
458 NULL. Reported by Lin Ma.
460 2008-07-18 Matthias Clasen <mclasen@redhat.com>
463 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
465 2008-07-16 Matthias Clasen <mclasen@redhat.com>
469 * giomodule.c: Rename a chapter id to avoid filename conflict.
471 2008-07-16 Matthias Clasen <mclasen@redhat.com>
473 Bug 540616 – mem leak in filechooser button
475 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
476 the mount entry. Reported by Chrisitan Persch
478 2008-07-16 Matthias Clasen <mclasen@redhat.com>
480 * gfile.c: Small documentation fixes.
482 2008-07-15 Matthias Clasen <mclasen@redhat.com>
484 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
486 2008-07-08 Matthias Clasen <mclasen@redhat.com>
491 * gmount.c: Documentation improvements.
493 2008-07-08 Matthias Clasen <mclasen@redhat.com>
496 * gmount.[hc]: Add g_mount_guess_content_type().
498 2008-07-06 David Zeuthen <davidz@redhat.com>
501 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
502 is needed for easily handling adoption of foreign volumes by
503 out-of-process volume monitors (#541793)
505 2008-07-06 David Zeuthen <davidz@redhat.com>
507 * gvolumemonitor.[ch]:
508 * gunionvolumemonitor.c: Export the eject-button signal on the
509 volume monitor class (#541794).
511 2008-07-06 Matthias Clasen <mclasen@redhat.com>
513 * gappinfo.c: More doc tweaks
515 2008-07-05 Matthias Clasen <mclasen@redhat.com>
517 * gappinfo.c: Clarify some docs
519 2008-07-03 Matthias Clasen <mclasen@redhat.com>
521 * gdesktopappinfo.c: Fix a stupid mistake.
523 2008-07-02 Matthias Clasen <mclasen@redhat.com>
525 * === Released 2.17.3 ===
527 2008-07-02 Matthias Clasen <mclasen@redhat.com>
529 * gfilemonitor.c: Fix the build.
531 2008-07-02 Matthias Clasen <mclasen@redhat.com>
533 Bug 536160 – Add g_file_monitor()
536 * gfile.[hc]: Add g_file_monitor which can return either
537 a file or a directory monitor. Proposed by Behdad Esfahbod
539 2008-07-02 Matthias Clasen <mclasen@redhat.com>
541 536733 – gio build failure on Irix
543 * glocalfile.c: Use a configure check for structfs.f_bavail.
545 2008-07-02 Matthias Clasen <mclasen@redhat.com>
547 Bug 534639 – add g_desktop_app_info_new_from_keyfile
550 * gdesktopappinfo.[hc]: Add a function to create a
551 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
553 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
555 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
557 2008-07-01 Matthias Clasen <mclasen@redhat.com>
559 * gunixmounts.c: Fix a doc typo.
561 2008-07-01 Cody Russell <bratsche@gnome.org>
563 * gio/gcontenttype.c:
564 * gio/gwin32appinfo.c:
565 * gio/gwin32volumemonitor.c:
566 * gio/gwin32mount.c: Fixed some include problems.
568 2008-07-01 Cody Russell <bratsche@gnome.org>
572 Moved all relevant typedefs into these files.
575 Updated wrt added files.
577 Split types into separate file for easier maintainership. (#538564)
579 2008-06-30 Matthias Clasen <mclasen@redhat.com>
581 Bug 540331 – g_file_append_to () documentation: can return NULL
583 * gfile.c (g_file_append_to): Clarify docs.
586 2008-06-30 Matthias Clasen <mclasen@redhat.com>
588 Bug 539090 – g_content_type_from_mime_type() should unalias
590 * gcontentype.c (g_content_type_from_mime_type): Unalias.
591 Patch by Markus Bergman
593 2008-06-30 Matthias Clasen <mclasen@redhat.com>
595 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
598 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
599 on ppc and alpha. Reported by Mart Raudsepp
601 2008-06-29 Matthias Clasen <mclasen@redhat.com>
604 * tests/memory-output-stream.c: Add some tests for
607 2008-06-29 Matthias Clasen <mclasen@redhat.com>
609 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
612 * gmemoryoutputstream.c (array_resize): Handle truncation to
613 zero correctly. Reported by Akira Tagoh
615 2008-06-29 Matthias Clasen <mclasen@redhat.com>
617 * gmemoryoutputstream.c: Trivial doc fixes
619 2008-06-29 Matthias Clasen <mclasen@redhat.com>
621 Bug 540802 – g_list_prepend doesn't concat lists
623 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
624 one list to another. Pointed out by Jan Arne Petersen
626 2008-06-28 Michael Natterer <mitch@imendio.com>
628 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
630 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
632 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
633 to avoid problems with partial icon themes.
635 2008-06-17 Hans Breuer <hans@breuer.org>
637 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
638 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
639 access again on win32, see bug #538127
640 * giomodule.c : ensure GWin32VolumeMonitor is registered
641 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
642 * Makefile.am makefile.msc : updated
644 2008-06-16 Hans Breuer <hans@breuer.org>
646 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
647 and initialization in one step avoids c99ism
649 2008-06-16 Christian Persch <chpe@gnome.org>
652 * gio/gbufferedinputstream.c
654 * gio/gdatainputstream.c
655 * gio/gdesktopappinfo.c
657 * gio/gfileenumerator.c
658 * gio/gfileinputstream.c
659 * gio/gfileoutputstream.c
661 * gio/glocaldirectorymonitor.c
663 * gio/glocalfileenumerator.c
664 * gio/glocalfileinfo.c
665 * gio/glocalfilemonitor.c
666 * gio/glocalfileoutputstream.c
667 * gio/gmemoryinputstream.c
668 * gio/gmemoryoutputstream.c
669 * gio/goutputstream.c
670 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
673 2008-06-16 Tor Lillqvist <tml@novell.com>
675 Bug 538362 - Get Win32 icons back in the file chooser
677 * gcontenttype.c (g_content_type_get_icon): Look up the icon
678 corresponding to a file extension in the Registry. Patch by Hans
680 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
682 2008-06-16 Tor Lillqvist <tml@novell.com>
684 Patches by Hans Breuer:
686 * glocalfile.c (is_xp_or_later): Handle compiling against older
687 SDK headers with missing VerifyVersionInfo(). Conditioned on
688 _MSC_VER, but should probably use some better test.
689 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
690 uninitialised statfs_result variable on Win32.
692 2008-06-16 Michael Natterer <mitch@imendio.com>
694 * *.c: chain up unconditionally in finalize() and dispose(). Also
695 don't dereference these function pointers when calling them since
696 that has no meaning at all.
698 2008-06-16 Ross Burton <ross@burtonini.com>
701 Remove check for dispose implementation as it annoys Emmanuele.
703 2008-06-16 Ross Burton <ross@burtonini.com>
705 Bug 536252 – GFileEnumerator should allow access to the containing
711 Add g_file_enumerator_get_container() and a container writeable
712 construct-only property. Also shuffle around typedefs to make it
715 * glocalfileenumerator.c:
716 * glocalfileenumerator.h:
718 Instead of a string filename take a GFile in the constructor and
719 use it to set the container property.
724 2008-06-16 Matthias Clasen <mclasen@redhat.com>
726 * gfile.c: Make includes more uniform
728 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
730 * tests/live-g-file.c (sample_struct):
731 Use less fancy unicode filenames, so the test doesn't fail
732 on Mac OS X (#531476).
734 2008-06-12 Matthias Clasen <mclasen@redhat.com>
736 * === Released 2.17.2 ===
738 2008-06-12 Matthias Clasen <mclasen@redhat.com>
740 * === Released 2.17.1 ===
742 2008-06-11 A. Walton <awalton@gnome.org>
744 * tests/g-file.c (test_g_file_new_null):
745 Fix broken test case.
747 2008-06-11 Matthias Clasen <mclasen@redhat.com>
749 * pltcheck.sh: We use g_clear_error now.
751 2008-06-11 Matthias Clasen <mclasen@redhat.com>
753 * glocalfile.c (g_local_file_enumerate_children): Revert
754 an unintended change.
756 2008-06-11 Matthias Clasen <mclasen@redhat.com>
758 * gfile.c (g_file_replace_contents): Don't unref before the last use.
760 2008-06-10 Matthias Clasen <mclasen@redhat.com>
762 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
765 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
766 as icon for the desktop directory, also make user-home and
767 user-desktop the preferred icons.
769 2008-06-10 Matthias Clasen <mclasen@redhat.com>
772 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
773 to add a name to the front of the list.
775 2008-06-10 Matthias Clasen <mclasen@redhat.com>
777 Bug 537392 – Additional colon in xattr name
779 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
780 too. Reported by Alessandro Morandi
782 2008-06-10 Matthias Clasen <mclasen@redhat.com>
784 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
787 * glocalfile.c (get_fs_type): Add afs and autofs.
788 Patch by Danny Baumann.
790 2008-06-10 Matthias Clasen <mclasen@redhat.com>
792 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
794 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
795 is no parent. (Owen Taylor, patch by Christian Neumair)
797 2008-06-10 Paolo Borelli <pborelli@katamail.com>
799 * gfile.c (g_file_replace_contents): do not leak the output stream.
801 2008-06-10 Michael Natterer <mitch@imendio.com>
803 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
804 uninitialized memory as array index.
806 2008-06-10 Tor Lillqvist <tml@novell.com>
808 * gcontenttype.c (g_content_type_can_be_executable)
809 (g_content_type_get_icon) [Win32]: Add TODO comments.
811 2008-06-09 Matthias Clasen <mclasen@redhat.com>
813 * xdgmime/Makefile.am: Fix the build
815 2008-06-09 Matthias Clasen <mclasen@redhat.com>
817 * gcontenttype.c (g_content_type_get_icon): Use icons specified
818 in the shared mime database, if available.
820 * xdgmime/*: Sync with upstream. This brings support for
821 glob weights, generic icons, and changes the cache format to
824 2008-05-28 Michael Natterer <mitch@imendio.com>
826 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
827 the global CPPFLAGS now.
829 * tests/data-input-stream.c
830 * tests/data-output-stream.c
831 * tests/g-file-info.c
833 * tests/live-g-file.c
834 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
836 2008-05-27 Matthias Clasen <mclasen@redhat.com>
838 * === Released 2.17.0 ===
840 * tests/live-g-file.c: Clean up after the tests, so make distcheck
841 doesn't complain about leftover files.
843 2008-05-27 simon.zheng <simon.zheng@sun.com>
845 * glocalfile.c: (g_local_file_query_filesystem_info):
846 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
848 2008-05-26 Michael Natterer <mitch@imendio.com>
850 * gmemoryoutputstream.h: declare
851 g_memory_output_stream_get_data_size().
853 2008-05-26 Matthias Clasen <mclasen@redhat.com>
855 * tests/*: Make tests work
857 2008-05-26 Matthias Clasen <mclasen@redhat.com>
859 * gio.symbols: Add g_memory_output_stream_get_data_size.
861 2008-05-25 Ross Burton <ross@burtonini.com>
864 Fix typo in error message (#534764).
866 2008-05-25 Ross Burton <ross@burtonini.com>
869 Fix circular dependency loop for gioenumtypes.h (#534759).
871 2008-05-19 Hans Breuer <hans@breuer.org>
873 * Makefile.am : EXTRA_DIST += makefile.msc
875 2008-05-17 Matthias Clasen <mclasen@redhat.com>
878 * gcontenttype.c: (g_content_type_from_mime_type):
879 New function to create a content type from a mime type. (#527175,
882 2008-05-17 Matthias Clasen <mclasen@redhat.com>
884 Bug 532965 – Should not return filesystem::free for certain file systems
886 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
887 free space for ncpfs.
889 2008-05-17 Matthias Clasen <mclasen@redhat.com>
891 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
893 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
894 st_dev might be zero.
896 2008-05-16 Tor Lillqvist <tml@novell.com>
898 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
899 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
901 2008-05-13 Bastien Nocera <hadess@hadess.net>
903 * gfile.c (has_valid_scheme): A URI scheme must start with a
904 letter, even if later more characters are allowed (#532852)
906 2008-05-05 Michael Natterer <mitch@imendio.com>
908 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
909 code from being checked in that breaks the build of applications
910 which use G_DISABLE_SINGLE_INCLUDES.
912 * makegioalias.pl: make the alias file include "glib.h" instead of
915 * gio.symbols: whitespace change to force regeneration of the
916 alias file after above script change.
918 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
920 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
922 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
924 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
926 2008-04-28 David Zeuthen <davidz@redhat.com>
928 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
929 displaying mounts in a subdirectory not accessible to the
932 2008-04-22 Michael Natterer <mitch@imendio.com>
934 * Makefile.am: fix library versioning (it was 0.0.0).
936 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
938 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
939 Default disable all loggings.
940 * fen/fen-kernel.c: (printevent), (port_add_kevent),
941 (port_fetch_event_cb): Fixed two macro nits.
943 2008-04-16 Matthias Clasen <mclasen@redhat.com>
945 * xdgmime/xdgmime.c: Rework the timestamp checking code
946 to protect against duplicate directories in XDG_DATA_DIRS.
947 Fixes fd.o bug 12513, reported by Joe Shaw.
949 2008-04-16 Matthias Clasen <mclasen@redhat.com>
951 Partically revert the last commit after realizing that
952 xdg_mime_media_type_equal doesn't have to init at all.
955 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
957 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
959 2008-04-16 Matthias Clasen <mclasen@redhat.com>
961 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
962 reported by Joe Shaw and Federico Mena Quintero.
964 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
965 (xdg_mime_media_type_equal): Turn into a wrapper around the
968 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
969 functions throughout.
971 2008-04-16 Michael Meeks <michael.meeks@novell.com>
973 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
974 tolerate an empty TryExec= line without failing; nautilus used
975 to create launchers with these in previous versions. Fixes #528433
977 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
979 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
980 after name. Fixes #527132.
982 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
984 * gfile.c: (g_file_replace):
987 2008-04-07 Matthias Clasen <mclasen@redhat.com>
989 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
991 * gfile.c (file_copy_fallback): Fix the argument order. Patch
992 by Christian Kellner.
994 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
996 * gunixmounts.c: (g_unix_mount_guess_should_display):
997 Don't list the user directory as a mount, fix potential issue
998 when other users have a similar naming and don't special case the
999 gvfs mounts there since that's not required (#525866)
1001 2008-03-31 Alexander Larsson <alexl@redhat.com>
1003 * glocalfile.c (get_parent):
1006 2008-03-31 A. Walton <awalton@svn.gnome.org>
1008 * gfile.c (g_file_query_file_type):
1009 Always return a GFileType enum value (#520715).
1011 2008-03-31 Alexander Larsson <alexl@redhat.com>
1013 * glocalfileenumerator.c:
1014 Read readdir() info in chunks (of 1000) and sort
1015 the chunks by inode before stat:ing.
1016 This is a 20% performance increase in testing
1017 gvfs-ls on /usr/bin with cold cache.
1019 2008-03-31 Alexander Larsson <alexl@redhat.com>
1021 * gmemoryoutputstream.c:
1022 Clarify docs for g_memory_output_stream_get_size.
1023 Add g_memory_output_stream_get_data_size.
1025 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1029 * gfile.h: Add g_file_query_file_type convenience function
1030 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1032 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1034 * gfileenumerator.c:
1035 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1037 2008-03-28 A. Walton <awalton@svn.gnome.org>
1039 * giomodule.c (_g_io_modules_ensure_loaded):
1040 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1043 2008-03-28 Alexander Larsson <alexl@redhat.com>
1046 (copy_stream_with_progress):
1049 2008-03-28 Alexander Larsson <alexl@redhat.com>
1052 (copy_stream_with_progress):
1053 (file_copy_fallback):
1054 Fallback to g_file_query_info for source size
1055 if g_file_input_stream_query_info fails. (#524579)
1057 2008-03-28 Alexander Larsson <alexl@redhat.com>
1059 * glocalfile.c (g_local_file_move):
1060 Reuse old string instead of adding new one.
1062 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1064 * fen/*.[hc]: still copyright issue. I hate copyright.
1066 2008-03-27 Alexander Larsson <alexl@redhat.com>
1068 * glocalfile.c (g_local_file_move):
1069 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1070 file over directory. This is according to the docs and what the move via
1071 copy+remove fallback does.
1073 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1075 * fen/*.[hc]: Updated copyright.
1077 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1079 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1081 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1083 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1084 not emit attribute changed events when optimizing changed events.
1085 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1088 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1090 * gmountoperation.[hc]: Small documentation additions
1092 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1094 * gunixmounts.c: (guess_mount_type):
1095 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1097 2008-03-19 Alexander Larsson <alexl@redhat.com>
1100 (copy_stream_with_progress):
1101 Bump block side for copy to 64k to minimize
1102 overhead for low latency links. (#523015)
1104 2008-03-16 Tor Lillqvist <tml@novell.com>
1106 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1107 depend on gio.def on Windows.
1109 2008-03-12 David Zeuthen <davidz@redhat.com>
1113 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1115 2008-03-14 Alexander Larsson <alexl@redhat.com>
1119 Avoid redudant tests (#521851)
1120 Patch from Josselin Mouette
1122 2008-03-14 Alexander Larsson <alexl@redhat.com>
1125 (g_file_monitor_is_cancelled):
1126 Fix C89 issue (#521672)
1127 Patch from Jens Granseuer
1129 2008-03-14 Alexander Larsson <alexl@redhat.com>
1131 * fam/fam-helper.[ch]:
1133 Shut down fam (including removing fam GSource) when
1134 module is unloaded (#521513)
1135 Patch from Joe Marcus Clarke
1137 2008-03-14 Alexander Larsson <alexl@redhat.com>
1140 (_g_io_modules_ensure_loaded):
1143 2008-03-14 Alexander Larsson <alexl@redhat.com>
1146 (g_local_file_query_filesystem_info):
1147 Use right define name for f_fstypename member check
1149 2008-03-14 Alexander Larsson <alexl@redhat.com>
1152 * fen/Makefile.am: Added.
1153 * fen/fen-data.[ch]: Added.
1154 * fen/fen-dump.[ch]: Added.
1155 * fen/fen-helper.[ch]: Added.
1156 * fen/fen-kernel.[ch]: Added.
1157 * fen/fen-missing.[ch]: Added.
1158 * fen/fen-node.[ch]: Added.
1159 * fen/fen-sub.[ch]: Added.
1160 * fen/gfendirectorymonitor.[ch]: Added.
1161 * fen/gfenfilemonitor.[ch]: Added.
1163 Added Solaris FEN file notification backend.
1164 Patch from Lin Ma <Lin.Ma@Sun.COM>
1166 2008-03-13 Tor Lillqvist <tml@novell.com>
1168 * Makefile.am: Actually use the gio.def file when linking the
1169 library on Windows. Produce .lib library for Microsoft's toolchain
1170 when possible. Install the .lib and .def file like for the other
1173 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1175 * tests/live-g-file.c:
1176 Include live-g-file in standard set of tests, making a temporary
1177 directory in source structure.
1179 Clean target directory before the tests (write mode only)
1181 2008-03-12 Tor Lillqvist <tml@novell.com>
1183 Bug 517419 - gio win32 directory monitor
1184 Implementation by Vlad Grecescu.
1187 * win32/gwin32directorymonitor.h
1188 * win32/gwin32directorymonitor.c: New files.
1190 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1192 * Makefile.am: Add the win32 subdirectory.
1194 2008-03-12 Tor Lillqvist <tml@novell.com>
1196 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1197 normal struct stat on Unix but struct _stati64 on Windows to have
1198 access to 64-bit file size information. Use that instead of struct
1199 stat in the functions declared here in this private header.
1201 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1202 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1203 warnings about unused functions and variables. Don't set
1204 meaningless attributes like inode numbers on Windows.
1206 2008-03-12 Benjamin Otte <otte@gnome.org>
1209 trim whitespace so gtk-doc groks the function name
1211 2008-03-12 Tor Lillqvist <tml@novell.com>
1213 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1214 returning FALSE, on Win32.
1216 2008-03-11 Alexander Larsson <alexl@redhat.com>
1219 * glocalfileinfo.[ch]:
1220 Correctly implement can_trash by actually
1221 looking for a trash dir, not just assuming
1224 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1226 * === Released 2.16.1 ===
1228 2008-03-11 Alexander Larsson <alexl@redhat.com>
1231 Fix crashes in new constructor and properties code
1233 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1235 * gfile.c: Minor spelling correction in documentation:
1236 existance -> existence.
1238 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1240 * === Released 2.16.0 ===
1242 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1244 * gio.symbols: Remove g_file_contains_file here, too.
1246 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1248 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1249 Samuel Cormier-Iijima)
1251 2008-03-08 Tor Lillqvist <tml@novell.com>
1253 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1256 2008-03-07 Alexander Larsson <alexl@redhat.com>
1259 (g_local_file_query_filesystem_info):
1260 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1261 Patch from Jasper Lievisse Adriaanse
1263 2008-03-06 Tor Lillqvist <tml@novell.com>
1265 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1266 comments for the *_USEC attributes.
1268 2008-03-06 Alexander Larsson <alexl@redhat.com>
1270 * gfile.c (g_file_query_exists):
1271 Add g_return_val_if_fail check (#520700)
1273 2008-03-06 Alexander Larsson <alexl@redhat.com>
1275 * gdesktopappinfo.c:
1278 * gunionvolumemonitor.c:
1281 * tests/live-g-file.c:
1282 * xdgmime/xdgmimecache.c:
1283 Fix sparse warnings (#519489)
1285 2008-03-05 Alexander Larsson <alexl@redhat.com>
1288 Make cancellation threadsafe (i.e.
1289 guarantee its only done once, and always
1292 * glocaldirectorymonitor.c:
1293 Make sure we the monitor lives while the
1294 mounts_changed callback is being called (#520484)
1296 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1298 * gbufferedinputstream.c: Fix typo in parameter
1301 2008-03-04 Alexander Larsson <alexl@redhat.com>
1304 Remove deprecated symbols we kept for one release.
1306 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1309 * goutputstream.c: Tiny documentation corrections.
1311 2008-03-03 Alexander Larsson <alexl@redhat.com>
1313 * gunionvolumemonitor.c:
1315 Fix the adopt_orphan_mount vfunc to take a
1316 volume_monitor reference in an ABI compat way.
1317 This change is not API compat, but the added
1318 arg is not used in the only user of this vfunc, so
1319 all we get is a harmless warning in gvfs (#520169)
1321 2008-03-01 Benjamin Otte <otte@gnome.org>
1324 clarify docs for g_file_delete().
1326 2008-02-29 Alexander Larsson <alexl@redhat.com>
1330 Make sure empty files get text/plain type (#518720)
1332 2008-02-27 Alexander Larsson <alexl@redhat.com>
1338 (g_unix_volume_mount):
1339 Add missing GMountMountFlags argument
1341 2008-02-26 Alexander Larsson <alexl@redhat.com>
1344 (g_local_file_delete):
1345 Handle filesystems (like ntfs-3g) that return EEXIST instead
1346 of ENOTEMPTY (#518816)
1348 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1350 * === Released 2.15.6 ===
1352 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1354 * gfile.c (g_file_find_enclosing_mount):
1355 * ginputstream.c (g_input_stream_set_pending):
1356 * glocalfile.c (g_local_file_find_enclosing_mount):
1357 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1358 * goutputstream.c (g_output_stream_set_pending):
1360 Fixup translator comments (#518578).
1362 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1364 * gfile.c (g_file_find_enclosing_mount):
1366 * glocalfile.c (g_local_file_find_enclosing_mount):
1369 Fix a few typos in translator comments and documentation.
1371 2008-02-25 Alexander Larsson <alexl@redhat.com>
1378 Add translator comments (#518578)
1380 2008-02-25 Alexander Larsson <alexl@redhat.com>
1383 Reintroduce g_file_contains_file, keep around for one
1384 unstable release cycle to avoid crashing to many apps.
1385 Make sure to delete after release.
1387 2008-02-25 Alexander Larsson <alexl@redhat.com>
1390 Remove deprecated g_file_contains_file.
1392 2008-02-25 Alexander Larsson <alexl@redhat.com>
1395 Emit actual change signals in an idle handler.
1396 This avoids reentrance and locking problems in
1397 the file notification backends.
1399 2008-02-25 Alexander Larsson <alexl@redhat.com>
1402 (g_unix_mount_guess_should_display):
1403 Remove type guessing, instead just display
1404 mounts in /media and in ~/.
1406 2008-02-25 Alexander Larsson <alexl@redhat.com>
1409 Make new strings reuse old ones.
1411 2008-02-25 Alexander Larsson <alexl@redhat.com>
1414 Implement trashing and filesystem::readonly for win32 (#517235)
1415 Patch from Yevgen Muntyan
1417 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1419 * gfileinfo.h: Documentation fixes.
1421 2008-02-22 Alexander Larsson <alexl@redhat.com>
1423 * gcontenttype.c (g_content_type_get_icon):
1424 Look at old-style gnome mime icon names too, as many
1425 have not moved to the new style.
1427 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1429 * *.c: Correct the @include in for section docs.
1431 2008-02-21 David Zeuthen <davidz@redhat.com>
1433 * glocalfileinfo.c: (_g_local_file_info_get):
1435 (g_content_type_get_icon): Implement this function by
1436 moving bits from glocalfileinfo.c
1437 (g_content_type_get_description): Unalias before getting
1438 description (#517687)
1440 * gfile.c: (g_file_class_init),
1441 (g_file_query_filesystem_info_async),
1442 (g_file_query_filesystem_info_finish),
1443 (query_filesystem_info_data_free),
1444 (query_filesystem_info_async_thread),
1445 (g_file_real_query_filesystem_info_async),
1446 (g_file_real_query_filesystem_info_finish):
1447 * gfile.h: Implement async version of
1448 g_file_query_filesystem_info()
1450 * gfileinfo.h: Add new attributes for filesystem::use-preview
1452 * gio.symbols: Update
1454 * gthemedicon.c: (g_themed_icon_append_name):
1455 * gthemedicon.h: Add new new convenience function.
1457 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1458 (get_mounts), (get_volumes), (get_connected_drives),
1459 (get_volume_for_uuid), (get_mount_for_uuid),
1460 (g_union_volume_monitor_init), (populate_union_monitor),
1461 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1462 (g_volume_monitor_adopt_orphan_mount):
1464 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1465 monitor implementations to call into the main volume monitor. Also
1466 separate object initialization and volume monitor initialization
1467 such that non-native volume monitors can properly adopt their
1470 2008-02-21 Alexander Larsson <alexl@redhat.com>
1475 2008-02-21 Alexander Larsson <alexl@redhat.com>
1478 Add more documentation about how GFiles work (from #517086)
1480 2008-02-21 Alexander Larsson <alexl@redhat.com>
1484 Add new g_file_has_prefix that does the same as g_file_contains_file.
1485 Deprecate g_file_contains_file and add a macro that converts
1486 it to g_file_has_prefix.
1487 The reason for this change is that the contains_file() name seems to
1488 imply that this does more work than what it does, but its really only
1489 a name match (from #517086)
1494 Update to match the above change.
1496 2008-02-20 Benjamin Otte <otte@gnome.org>
1498 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1499 (g_file_eject_mountable):
1500 even more cases of not returning in error path
1502 2008-02-20 Benjamin Otte <otte@gnome.org>
1504 * gfile.c: (g_file_mount_mountable):
1505 return from function in error path.
1507 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1510 Remove trailing coma in GMountMountFlags struct
1512 2008-02-18 Alexander Larsson <alexl@redhat.com>
1516 * glocalfileoutputstream.c:
1517 Use g_unlink/g_rename instead of unlink/rename;
1518 do not pass raw filenames to g_set_error. (#517239)
1519 Patch from Yevgen Muntyan.
1521 2008-02-18 Alexander Larsson <alexl@redhat.com>
1524 * glocalfileoutputstream.c:
1525 Open files with O_BINARY on windows. (#517140)
1527 2008-02-14 Alexander Larsson <alexl@redhat.com>
1529 * glocalfileoutputstream.c:
1530 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1532 2008-02-14 Alexander Larsson <alexl@redhat.com>
1535 Copy permissions with file on copy (#514084)
1536 This is what cp does and makes sure e.g. the
1537 exec permissions are kept.
1538 Its kinda weird in that it keeps the permission bits
1539 the same while the uid and gid are different. However
1540 the new uid is the user so its not a security issue,
1541 and I've heard no complaints about cp on this issue.
1543 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1545 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1547 2008-02-13 Alexander Larsson <alexl@redhat.com>
1549 * inotify/inotify-path.c:
1550 Define IN_ONLYDIR if not in header (#515346)
1552 2008-02-12 Alexander Larsson <alexl@redhat.com>
1554 * tests/live-g-file.c:
1557 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1559 * === Released 2.15.5 ===
1561 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1563 * gio.symbols: Add g_mount_mount_flags_get_type.
1565 2008-02-11 Alexander Larsson <alexl@redhat.com>
1568 (g_file_info_set_attribute_mask):
1569 (g_file_attribute_matcher_matches_id):
1570 Correctly handle NULL GAttributeMatcher meaning
1571 matches nothing. (Fixes #513492)
1573 2008-02-11 Alexander Larsson <alexl@redhat.com>
1578 Added GMountMountFlags enum and added a flags
1579 argument to all mount calls.
1581 This is an API/ABI change for future extensibility,
1582 as I think we will need at least an
1583 inhibit-autorun flag (the panel needs this).
1584 There are no flags defined yet though.
1586 2008-02-11 Alexander Larsson <alexl@redhat.com>
1589 Added new standard::description attribute.
1590 Requested by Vincent, and useful for both
1593 2008-02-11 Alexander Larsson <alexl@redhat.com>
1595 * gdesktopappinfo.c:
1598 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1600 * *.c: Documentation additions
1602 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1604 * gappinfo.h: Formatting cleanup
1605 * gappinfo.c: Fix up docs.
1607 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1609 * gunixmounts.c: Consistently use getmntent_r() and fall
1610 back to getmntent(). (#515492)
1612 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1614 * gbufferedinputstream.c:
1616 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1618 * tests/data-input-stream.c:
1619 * tests/data-output-stream.c: Portability fixes.
1621 2008-02-08 Alexander Larsson <alexl@redhat.com>
1626 Add g_volume_should_automount.
1629 2008-02-07 Tor Lillqvist <tml@novell.com>
1631 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1632 Win32, too Unix-specific.
1634 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1636 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1637 a local plt if the compiler doesn't support what we want. Bug #514702
1639 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1641 reviewed by: <delete if not using a buddy>
1644 * gunixinputstream.c:
1645 * gunixoutputstream.c:
1647 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1649 * tests/Makefile.am:
1650 * tests/live-g-file.c:
1651 * tests/live-g-file.txt:
1652 New GIO testing module working over real data
1654 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1656 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1657 Fallback to rename() if link() is not available
1658 (when no support on target filesystem)
1660 2008-02-06 Michael Natterer <mitch@imendio.com>
1662 * gfileinfo.c (g_file_info_get_icon): replace
1663 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1665 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1667 * gfile.c (g_file_create):
1668 Documentation update of error codes
1670 2008-02-06 Alexander Larsson <alexl@redhat.com>
1672 * gdesktopappinfo.c:
1673 Update to use both mimeapps.list and
1674 defaults.list as discussed on xdg list.
1676 2008-02-06 Benjamin Otte <otte@gnome.org>
1679 * gfilenamecompleter.c:
1680 Fix some typos in the documentation.
1682 2008-02-06 Alexander Larsson <alexl@redhat.com>
1684 * glocalfile.c (g_local_file_trash):
1685 Don't succeed with trash if newly created
1686 trash dir has the wrong owner. (#514696)
1688 2008-02-05 Alexander Larsson <alexl@redhat.com>
1690 * glocalfile.c (g_local_file_move):
1691 Don't spew warnings when destination is not
1694 2008-02-03 Hans Breuer <hans@breuer.org>
1696 * makefile.msc : update
1698 2008-02-01 Michael Natterer <mitch@imendio.com>
1700 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1701 return value of xdg_mime_list_mime_parents() to a variable of the
1704 2008-02-01 Alexander Larsson <alexl@redhat.com>
1706 * gappinfo.c (g_app_info_launch_uris):
1707 Actually call the launch_uris method, not
1710 2008-02-01 Alexander Larsson <alexl@redhat.com>
1712 * gdesktopappinfo.c (g_desktop_app_info_equal):
1713 Ensure appinfos with no id but same pointer value
1716 2008-02-01 Alexander Larsson <alexl@redhat.com>
1718 * gappinfo.c (g_app_info_launch_default_for_uri):
1721 2008-02-01 Alexander Larsson <alexl@redhat.com>
1725 Add g_app_info_launch_default_for_uri utility
1728 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1730 * gdesktopappinfo.c:
1731 Doc fix for g_app_info_get_default_for_uri_scheme ()
1734 2008-01-30 Alexander Larsson <alexl@redhat.com>
1737 Add doc comment about uris vs GFiles to
1740 * gdesktopappinfo.c:
1741 Ensure uris passed to g_app_info_launch_uris()
1742 are not roundtriped through GFile (as that
1743 may be slightly destructive for e.g. mailto: links)
1745 2008-01-30 Alexander Larsson <alexl@redhat.com>
1747 * tests/data-input-stream.c:
1748 * tests/data-output-stream.c:
1749 C89 fixes from Jens Granseuer (#512849)
1751 2008-01-30 Alexander Larsson <alexl@redhat.com>
1754 Fix gamin/fam difference build issue. (#509419)
1756 2008-01-29 Alexander Larsson <alexl@redhat.com>
1759 * gdesktopappinfo.c:
1760 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1762 2008-01-29 Alexander Larsson <alexl@redhat.com>
1764 * gdesktopappinfo.c:
1765 * gdesktopappinfo.h:
1766 giomodule-priv.h include moved to .c file.
1768 2008-01-29 Alexander Larsson <alexl@redhat.com>
1770 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1771 Remove unused prio/name fields.
1773 2008-01-29 Alexander Larsson <alexl@redhat.com>
1775 * gcontenttype.c (looks_like_text):
1776 Don't treat whitespace as control chars.
1778 2008-01-29 Alexander Larsson <alexl@redhat.com>
1780 * gdesktopappinfo.c:
1781 Lazily create the desktop files for appinfos created
1782 by g_app_info_create_from_commandline() when needed
1783 for mime associations. This allows run-time use
1784 of GAppInfo object without creating unnecessary
1787 2008-01-29 Alexander Larsson <alexl@redhat.com>
1790 Added new symbols to gio.symbols
1792 2008-01-29 Alexander Larsson <alexl@redhat.com>
1795 Add g_file_query_default_handler utility to easily look up
1796 the GAppInfo that handles a file.
1798 * gdesktopappinfo.[ch]:
1800 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1803 Remove unused function
1805 2008-01-29 Alexander Larsson <alexl@redhat.com>
1807 * gfileenumerator.c:
1808 Mention need to free returned value in
1809 g_file_enumerator_next_files_finish docs.
1810 Fix leak if g_file_enumerator_next_files_finish()
1813 2008-01-29 Alexander Larsson <alexl@redhat.com>
1816 (_g_unix_content_type_get_parents):
1817 Use list_parents, not get_parents from xdgmime, because
1818 the later doesn't use the cache.
1820 * xdgmime/xdgmimecache.c:
1821 (_xdg_mime_cache_list_mime_parents):
1822 Don't list the same type as parent multiple times.
1824 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1826 * === Released 2.15.4 ===
1828 2008-01-28 Alexander Larsson <alexl@redhat.com>
1831 Register local vfs with prio 0.
1834 Remove old name and prio class members
1836 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1838 * tests/g-file.c: Disable some tests that are failing in
1839 the absence of a http backend.
1841 2008-01-28 Alexander Larsson <alexl@redhat.com>
1845 Add registration hooks for extension points.
1846 Register the gio extension points.
1848 * fam/gfamdirectorymonitor.c:
1849 * fam/gfamfilemonitor.c:
1850 * glocaldirectorymonitor.[ch]:
1851 * glocalfilemonitor.[ch]:
1852 * gnativevolumemonitor.h:
1853 * gunionvolumemonitor.c:
1854 * gunixvolumemonitor.c:
1857 * inotify/ginotifydirectorymonitor.c:
1858 * inotify/ginotifyfilemonitor.c:
1859 Use the extension points registration instead
1860 of g_type_children().
1862 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1865 * gvolume.[hc]: Document new API.
1867 * gfile.c (g_file_copy_async): Fix docs
1869 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1871 * gbufferedinputstream.c:
1873 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1876 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1878 * glocalfile.c: Avoid trivial differences in translatable strings.
1880 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1882 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1883 build with gcc 3.4 (#509419)
1885 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1887 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1888 (#509994, Murray Cumming)
1890 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1892 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1893 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1894 this allows big jobs to be executed in chunks, instead of blocking
1895 the main loop for a long time.
1897 * gsimpleasyncresult.c:
1898 * giofile.c: Adapt callers.
1900 2008-01-25 Alexander Larsson <alexl@redhat.com>
1902 * gdesktopappinfo.c:
1903 Implement changes discussed on xdg list.
1904 Now we can add supported mimetypes by just using defaults.list
1905 We can also remove associations in defaults.list.
1907 2008-01-25 Alexander Larsson <alexl@redhat.com>
1909 * gdesktopappinfo.c:
1910 Don't make local copy of desktop file
1911 for mimetype changes if the file already
1912 supports the new mimetype.
1914 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1918 * gbufferedinputstream.c:
1919 * glocalfile.c: String improvements. (#511966,
1920 Theppitak Karoonboonyanan)
1922 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1924 * gioscheduler.h: Expand docs a bit.
1926 2008-01-24 Alexander Larsson <alexl@redhat.com>
1929 Add g_drive_get_identifier and
1930 g_drive_enumerate_identifiers
1933 Add g_volume_get_identifier and
1934 g_volume_enumerate_identifiers
1940 Implement identifiers for unix backend
1942 2008-01-24 Alexander Larsson <alexl@redhat.com>
1947 Add g_file_copy_async() (#511580)
1948 Based on patch from Carlos Garcia Campos
1950 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1952 * gioscheduler.c: Some documentation additions.
1954 2008-01-22 Alexander Larsson <alexl@redhat.com>
1956 * gdesktopappinfo.c:
1957 (g_desktop_app_info_new):
1958 Don't leak basename.
1960 2008-01-22 Alexander Larsson <alexl@redhat.com>
1962 * gdesktopappinfo.c:
1963 (g_desktop_app_info_new_from_filename):
1966 2008-01-22 Alexander Larsson <alexl@redhat.com>
1968 * glocalfileinfo.c (get_thumbnail_attributes):
1971 2008-01-22 Alexander Larsson <alexl@redhat.com>
1974 (canonicalize_filename):
1975 Canonicalize paths that start with more than
1979 (compare_two_files):
1980 (test_g_file_new_for_path):
1983 2008-01-22 Alexander Larsson <alexl@redhat.com>
1986 Allow UTF-8 in file:// parse names.
1988 * tests/Makefile.am:
1989 * tests/data-input-stream.c:
1990 * tests/data-output-stream.c:
1991 * tests/g-file-info.c:
1993 Added a bunch of tests from Tomas Bzatek
1995 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1997 * === Released 2.15.3 ===
1999 2008-01-21 Alexander Larsson <alexl@redhat.com>
2001 * gfileinputstream.[ch]:
2002 * gfileoutputstream.[ch]:
2004 Remove duplicated GSeekable functions. (#509990)
2005 Just use the g_seekable_xxx() calls instead.
2007 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2010 * gvolumemanager.c: Whitespace cleanups.
2012 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2013 Use the right mode when creating the file.
2015 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2017 * gfileenumerator.c:
2018 * gfileinputstream.c:
2020 * goutputstream.c: Documentation: Fixed minor typos
2021 and added more mentions of specific _finish() functions.
2023 2008-01-21 Alexander Larsson <alexl@redhat.com>
2025 * inotify/Makefile.am:
2026 * inotify/inotify-helper.c:
2027 * inotify/inotify-kernel.c:
2028 * inotify/inotify-path.c:
2029 * inotify/local_inotify.h: Removed.
2030 * inotify/local_inotify_syscalls.h: Removed.
2031 Removed the included copies of the inotify
2032 headers. We now only use the <sys/inotify.h>
2033 header which exists on modern systems.
2034 This fixes problems on ARM and SH5 (#510448)
2035 but is also generally much cleaner and future
2036 safe. For instance, if other OSes add support
2037 for inotify it should "just work".
2039 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2041 * inotify/*.c: Coding style fixes.
2042 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2043 for the 1/4 Hz timer.
2045 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2048 * gfilemonitor.[hc]:
2049 * gmemoryinputstream.c:
2050 * gmemoryoutputstream.c:
2051 * gmountoperation.c:
2052 * gthemedicon.c: Documentation updates
2054 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2056 * gfile.c: documentation: Fixed more minor
2059 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2061 * gmount.c: (g_mount_remount): documentation:
2062 Mention g_mount_remount_finish() instead of
2063 g_mount_unmount_finish().
2065 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2069 * gfile.c: Fixed some minor typos in the
2072 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2074 * gio/gvolumemonitor.c:
2075 (g_volume_monitor_get_connected_drives):
2076 (g_volume_monitor_get_volumes):
2077 (g_volume_monitor_get_mounts): Documentation:
2078 Clarify the ownership of the regurn GLists.
2080 2008-01-17 Alexander Larsson <alexl@redhat.com>
2083 Add the async find_enclosing_mount version
2084 to the header file too.
2086 2008-01-17 Alexander Larsson <alexl@redhat.com>
2089 Add async version of find_enclosing_mount
2090 with default implementation.
2092 2008-01-17 Alexander Larsson <alexl@redhat.com>
2097 Allow calls to implementation of copy and write
2098 even if the type of the file implementations is
2099 different. This can be used to implement native
2100 upload and download calls in a vfs.
2103 (g_local_file_move):
2104 Protect against the case where move is called
2105 with one file not being local.
2107 Make sure we call the progress callback once
2108 in the native move operation so that the caller
2109 knows how many bytes were copied.
2111 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2114 * gdatainputstream.c:
2116 * gfileoutputstream.c:
2121 * gunixmounts.c: Corrected some typos in the documentation:
2122 occured -> occurred.
2123 its -> it's (where appropriate).
2125 2008-01-16 Alexander Larsson <alexl@redhat.com>
2129 Add g_file_query_exists (#508771)
2131 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2136 * gvolume.c: For async functions that have no non-async
2137 version, document that the GAsyncReadyCallback may be NULL.
2140 2008-01-15 Alexander Larsson <alexl@redhat.com>
2142 * gmemoryinputstream.c:
2143 * gmemoryoutputstream.c:
2144 Don't do pointer arithmetic on void * (#508602)
2145 Patch from Kazuki IWAMOTO
2147 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2149 * === Released 2.15.2 ===
2151 2008-01-14 Alexander Larsson <alexl@redhat.com>
2153 * gfile.c (g_file_monitor_file):
2154 Don't set error here, since we fallback to polling monitor.
2156 2008-01-14 Alexander Larsson <alexl@redhat.com>
2159 (g_file_monitor_directory):
2160 (g_file_monitor_file):
2161 Add GError to file monitor calls
2163 * glocaldirectorymonitor.c:
2164 * glocaldirectorymonitor.h:
2166 * glocalfilemonitor.c:
2167 * glocalfilemonitor.h:
2169 Update for above change
2171 2008-01-14 Alexander Larsson <alexl@redhat.com>
2175 Handle root correctly in g_file_get_relative_path (#508719)
2177 2008-01-14 Alexander Larsson <alexl@redhat.com>
2180 Clean up docs and example for GAsyncResult (#508074)
2182 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2184 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2185 and correct some spelling mistakes. Bug #508108.
2187 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2189 * glocalfileinfo.c: Add a comment.
2191 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2193 * gfileinfo.c: GFileInfo description: Mention
2194 how to actually set attributes in a GFile and how to discover
2195 which attributes are settable. Bug #508378.
2197 2008-01-10 A. Walton <awalton@svn.gnome.org>
2199 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2200 (g_app_info_get_default_for_type):
2201 Check for NULL content types.
2203 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2205 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2207 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2209 * gfile.c: *_async() functions: Several small corrections
2210 to the documentation, mostly correcting copy/paste errors
2211 and improving some sentences.
2213 2008-01-09 Dan Winship <danw@gnome.org>
2215 * glocalfile.c (get_unique_filename): x86_64 fix
2217 2008-01-09 Alexander Larsson <alexl@redhat.com>
2222 Add g_unix_mount_guess_should_display and use
2223 for unix volume monitor backend.
2224 This means we more or less show what the
2225 gnome-vfs backend did.
2226 Based on patch from Padraig O'Briain
2228 2008-01-09 Alexander Larsson <alexl@redhat.com>
2232 Add g_themed_icon_new_with_default_fallbacks
2235 Use default fallbacks for icons
2237 2008-01-09 Alexander Larsson <alexl@redhat.com>
2240 * gmountoperation.[ch]:
2241 Change the API a bit so that unhandled methods
2242 get reported via the reply, rather than by
2243 the signal emission return value. This is because
2244 some handlers can't know this immediately without
2245 doing I/O, and this is an async operation that
2248 2008-01-09 Alexander Larsson <alexl@redhat.com>
2251 * fam/gfamdirectorymonitor.c:
2252 * fam/gfamfilemonitor.c:
2253 Fix double free crash (#508224)
2254 Patch from Joe Marcus Clarke
2256 008-01-07 Matthias Clasen <mclasen@redhat.com>
2258 * === Released 2.15.1 ===
2260 2008-01-07 Alexander Larsson <alexl@redhat.com>
2262 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2263 Fix warning (#507835)
2265 2008-01-07 Alexander Larsson <alexl@redhat.com>
2268 Pass --internal to glib-genmarshal
2271 * gmountoperation.c:
2273 Use better types for signal arguments (#507822)
2275 2008-01-07 Alexander Larsson <alexl@redhat.com>
2278 Build test subdir after .
2279 Remove gdirectorymonitor.[ch]
2281 * gdirectorymonitor.[ch]:
2285 Remove GDirectoryMonitor and make
2286 GFileMonitor the baseclass for both file and
2287 directory monitors. Lift the more generic
2288 rate limiting code from GDirectoryMonitor
2292 * fam/gfamdirectorymonitor.[ch]:
2293 * inotify/ginotifydirectorymonitor.[ch]:
2294 * inotify/inotify-helper.c:
2295 * glocaldirectorymonitor.[ch]:
2298 Update for the removed GDirectoryMonitor.
2300 * gmemoryoutputstream.c:
2301 Remove ununsed variable
2303 2008-01-07 Alexander Larsson <alexl@redhat.com>
2305 * gmemoryinputstream.c:
2306 Translate error strings
2309 * gmemoryoutputstream.[ch]:
2310 New implementation that avoids using GByteArray
2311 in implementation and API. (#506377)
2313 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2315 * tests/*: Add a test for memory input streams.
2317 * Makefile.am: Add tests to SUBDIRS.
2319 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2321 * glocalfilemonitor.c:
2322 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2325 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2327 * gdesktopappinfo.c: Fix a docs typo.
2329 * gfileattribute.c: Add information about extended attributes
2330 to the documentation. (#505058)
2332 2008-01-04 Alexander Larsson <alexl@redhat.com>
2335 * gmountoperation.c:
2336 Use the right type (uint) for the ask_password signal.
2338 2008-01-04 Alexander Larsson <alexl@redhat.com>
2343 Add g_app_info_supports_files()
2344 Remove desktop arg from g_app_info_should_show().
2346 * gdesktopappinfo.[ch]:
2347 Implement g_app_info_supports_files() and new should_show()
2348 Add g_desktop_app_info_set_desktop_env() to set the desktop
2349 for should_show(). (This will be set by gtk+ later)
2351 2008-01-04 Alexander Larsson <alexl@redhat.com>
2354 * gmemoryinputstream.[ch]:
2355 Improve API so that you can use multiple chunks
2356 of memory and custom destroy functions. (#506374)
2358 2008-01-03 Alexander Larsson <alexl@redhat.com>
2361 Handle NULL attribute matchers safely, as we return this
2362 for empty attribute matcher strings.
2364 2008-01-03 Alexander Larsson <alexl@redhat.com>
2366 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2367 Add /usr/local to list of internal mountpoints
2369 2008-01-03 Alexander Larsson <alexl@redhat.com>
2372 Check for HAVE_LCHOWN (#505887)
2374 2008-01-03 Alexander Larsson <alexl@redhat.com>
2378 Add define for selinux context attribute.
2379 Fix missing : -> :: namespace separator change
2380 Fix missing _ -> - name change for xattr-sys.
2383 2008-01-03 Alexander Larsson <alexl@redhat.com>
2386 Link to libglib and libgobject directly (#504879)
2387 Patch from Sebastien Bacher
2389 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2391 * gfile.c: Expanded the g_file_new_for_commandline_arg
2392 description a bit, based on the code and the docs of the
2393 other g_file_new_for_* functions.
2395 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2397 * gfilemonitor.h: Fixed typo in docs.
2399 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2401 Updates to GIO documentation. (#506395, Mikael Hermansson)
2403 * gcontenttype.c: Describe memory management for return value of
2404 g_content_types_get_registered(). Missing piece from #505815.
2405 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2406 GVolume, GDrive, GMounts, which hopefully gives the user less
2407 confusions when using this API. Following explainations from
2408 Alexander Larsson on gtk-devel-list.
2410 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2412 * gfileinfo.c: Expand the long description.
2414 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2417 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2418 fix builds with --disable-visibility. (#500273, Christian Persch)
2420 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2422 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2423 in the list of returned app infos.
2425 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2427 * gappinfo.c: Fix a cross-reference
2429 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2431 * gfileinputstream.c:
2432 * gfileoutputstream.c:
2436 * gdesktopappinfo.c:
2438 * gfileinfo.c: Documentation updates.
2440 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2442 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2445 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2447 * gcontenttype.c (g_content_types_get_registered): Don't return
2448 freed memory (#505815, Mikael Hermansson)
2450 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2452 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2453 used to detect statbuf->st_blocks. (#505042)
2455 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2457 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2458 environment handling. (#504829, Cosimo Cecchi)
2460 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2462 * gappinfo.c: Doc improvements
2464 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2467 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2469 * === Released 2.15.0 ===
2471 2007-12-20 Hans Breuer <hans@breuer.org>
2473 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2474 with symbols gwin32appinfo.obj, added gmount.obj
2475 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2477 2007-12-20 Alexander Larsson <alexl@redhat.com>
2483 * gfilenamecompleter.c:
2486 * gpollfilemonitor.c:
2487 File attribute renames:
2489 fs:: -> filesystem::
2490 id::fs -> id::filesystem
2492 2007-12-20 Alexander Larsson <alexl@redhat.com>
2501 Add GMountUnmountFlags to all unmount and
2503 Add g_mount_remount() call.
2505 2007-12-20 Alexander Larsson <alexl@redhat.com>
2507 * gvfs.c (get_default_vfs):
2508 Fix unused variable warning
2510 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2512 * pltcheck.sh: Update
2514 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2516 * gunionvolumemonitor.c:
2517 * gunixmount.c: Remove C99 comments
2519 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2521 * gio.symbols: Add some missing symbols
2523 2007-12-19 Alexander Larsson <alexl@redhat.com>
2526 Make g_io_modules_load_all_in_directory not unuse
2527 loaded modules so that users of it can do stuff
2529 Init internal "module" types.
2530 Initialize static prio and name for types so that
2531 we don't have to load modules to get it.
2533 * gnativevolumemonitor.h:
2535 Move is_supported to parent class so that
2536 non-native monitors can avoid being initialized
2537 too. (For instance GDaemonVolumeMonitor if we're
2538 not using GDaemonVfs.)
2540 * glocaldirectorymonitor.[ch]:
2541 * glocalfilemonitor.[ch]:
2542 * gunionvolumemonitor.c:
2543 * gunixvolumemonitor.c:
2545 Find plugins using the static prio+name to
2546 avoid unnecessarily loading the modules.
2548 2007-12-19 Alexander Larsson <alexl@redhat.com>
2553 2007-12-19 Alexander Larsson <alexl@redhat.com>
2555 * gunionvolumemonitor.c:
2556 Store the native type as GType, not class so that
2557 we can unload it. But still avoid unnecessarily
2560 2007-12-19 David Zeuthen <davidz@redhat.com>
2562 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2563 add signals 'disconnected' and 'eject-button' on GDrive. Add
2564 signal 'removed' on GVolume and 'unmounted' on GMount.
2566 * gdrive.c: (g_drive_base_init):
2568 * gfile.c: (g_file_mount_mountable),
2569 (g_file_mount_enclosing_volume):
2572 * gmount.c: (g_mount_base_init):
2574 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2575 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2576 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2580 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2582 * *.c: Fix up includes in the section docs.
2584 2007-12-17 Alexander Larsson <alexl@redhat.com>
2586 * gnativevolumemonitor.h:
2587 * gunionvolumemonitor.c:
2588 * gunixvolumemonitor.c:
2589 Add is_supported() to GNativeVolumeMonitorClass so
2590 that we can avoid having to create an object to see
2591 if the backend is supported at runtime.
2592 Also add name member and an env var to pick a specific
2593 volume monitor backend.
2597 Add cancellable to _g_mount_get_for_mount_path()
2599 * glocaldirectorymonitor.c:
2600 * glocalfilemonitor.c:
2601 Avoid loading and unloading modules while sorting.
2603 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2606 * gunixmounts.[hc]: Namespace waste reduction, move some
2607 g_get_unix_mount functions to the g_unix_mount namespace.
2610 * gunixvolumemonitor.c:
2612 * glocaldirectorymonitor.c: Update all callers.
2614 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2616 2007-12-17 Alexander Larsson <alexl@redhat.com>
2619 Add doc comments about what GFile operations are
2620 guaranteed to not block.
2622 2007-12-17 Alexander Larsson <alexl@redhat.com>
2625 Add missing #ifdef fixing OSX build.
2626 (#503334, patch from Richard Hult)
2628 2007-12-14 David Zeuthen <davidz@redhat.com>
2632 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2633 (g_mount_eject), (g_mount_eject_finish):
2635 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2636 (get_volume_for_uuid), (get_mount_for_uuid),
2637 (g_union_volume_monitor_class_init),
2638 (get_default_native_type_with_exclude), (get_default_native_type),
2639 (get_native_type), (update_native_type),
2640 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2641 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2642 (g_unix_mount_can_eject), (eject_unmount_cb),
2643 (eject_unmount_read_error), (eject_unmount_do),
2644 (g_unix_mount_unmount), (g_unix_mount_eject),
2645 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2646 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2647 (g_unix_mount_point_guess_can_eject):
2649 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2650 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2651 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2652 (g_unix_volume_mount), (g_unix_volume_eject),
2653 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2654 * gunixvolumemonitor.c: (get_volume_for_uuid),
2655 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2657 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2658 (g_volume_eject), (g_volume_eject_finish):
2660 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2661 (g_volume_monitor_get_mount_for_uuid):
2664 Provide eject() on both GMount and GVolume and utility functions
2665 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2666 ejected. Introduce the concept of UUID's and wire it into GVolume
2667 and GMount and provide API on GVolumeMonitor to find such
2668 instances. Also handle the case where an external
2669 GNativeVolumeMonitor fails to initialize. Lock around the
2670 _g_get_mount_for_mount_path() function such that volume monitor
2671 implementations won't have to do locking themselves.
2673 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2675 * gdesktopappinfo.c:
2681 * gvolume.h: Documentation updates
2683 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2686 * gfile.h: Doc updates
2688 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2691 * gdesktopappinfo.c: Use hash table iterators.
2693 2007-12-14 Alexander Larsson <alexl@redhat.com>
2696 * gfileattribute.[ch]:
2697 * gfileattribute-priv.h:
2698 Move GFileAttributeValue to a private header, as
2702 Make set_attribute take a type + a pointer instead
2703 of a GFileAttributeValue.
2706 Fix up for above changes.
2707 Add g_file_info_get_attribute_data to get
2708 all info in one call, g_file_info_get_attribute_status
2709 to get the status and g_file_info_get_attribute_as_string.
2713 * glocalfileinfo.[ch]:
2717 Make _guess_type static.
2719 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2722 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2723 made mkenums and friends use temporary files to avoid leaving
2724 empty generated files on failure (#503470).
2726 2007-12-14 Alexander Larsson <alexl@redhat.com>
2728 * gmountoperation.h:
2731 2007-12-14 Alexander Larsson <alexl@redhat.com>
2735 * gfileattribute.[ch]:
2738 * glocalfileoutputstream.c:
2739 * gmountoperation.[ch]:
2740 * goutputstream.[ch]:
2741 Clean up all flags enums to not have _FLAGS in them
2742 Make the names of some of the enums better.
2747 2007-12-14 Michael Natterer <mitch@imendio.com>
2749 * gio.symbols: fix g_io_scheduler symbol names.
2751 2007-12-14 Alexander Larsson <alexl@redhat.com>
2757 * gbufferedinputstream.h:
2758 * gbufferedoutputstream.h:
2761 * gdatainputstream.h:
2762 * gdataoutputstream.h:
2763 * gdesktopappinfo.h:
2764 * gdirectorymonitor.h:
2768 * gfileenumerator.h:
2771 * gfileinputstream.h:
2773 * gfilenamecompleter.h:
2774 * gfileoutputstream.h:
2775 * gfilterinputstream.h:
2776 * gfilteroutputstream.h:
2784 * gmemoryinputstream.h:
2785 * gmemoryoutputstream.h:
2787 * gmountoperation.h:
2790 * gsimpleasyncresult.h:
2792 * gunixinputstream.h:
2794 * gunixoutputstream.h:
2798 * inotify/Makefile.am:
2799 Only allow including <gio/gio.h> from apps
2801 2007-12-14 Alexander Larsson <alexl@redhat.com>
2803 * gioscheduler.[ch]:
2804 * gsimpleasyncresult.c:
2805 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2806 Split out the send_to_mainloop call into two versions instead
2807 of having the block argument.
2809 2007-12-13 Alexander Larsson <alexl@redhat.com>
2811 * gcancellable.[ch]:
2813 * gbufferedinputstream.c:
2814 * gfileenumerator.c:
2815 * gfileinputstream.c:
2816 * gfileoutputstream.c:
2820 g_push/pop_current_cancellable ->
2821 g_cancellable_push/pop_current
2823 2007-12-13 Alexander Larsson <alexl@redhat.com>
2827 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2829 2007-12-13 Alexander Larsson <alexl@redhat.com>
2831 * gmountoperation.h:
2832 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2834 2007-12-12 Alexander Larsson <alexl@redhat.com>
2837 Fix race condition when freeing proxy in
2838 g_io_job_send_to_mainloop().
2840 2007-12-12 Alexander Larsson <alexl@redhat.com>
2846 Make attribute namespace separator "::" instead of ":".
2847 Use - instead of _ as separator in attribute names.
2849 2007-12-12 Alexander Larsson <alexl@redhat.com>
2851 * gbufferedinputstream.h:
2852 * gbufferedoutputstream.h:
2853 * gdatainputstream.h:
2854 * gdataoutputstream.h:
2855 * gdirectorymonitor.h:
2856 * gfileenumerator.h:
2857 * gfileinputstream.h:
2859 * gfileoutputstream.h:
2860 * gfilterinputstream.h:
2861 * gfilteroutputstream.h:
2863 * glocalfileinputstream.h:
2864 * glocalfileoutputstream.h:
2865 * gmemoryinputstream.h:
2866 * gmemoryoutputstream.h:
2867 * gnativevolumemonitor.h:
2869 * gunixinputstream.h:
2870 * gunixoutputstream.h:
2873 s/parent/parent_instance/ in GObjects
2875 2007-12-12 Alexander Larsson <alexl@redhat.com>
2880 No need for padding for interfaces
2882 2007-12-12 Alexander Larsson <alexl@redhat.com>
2886 * gbufferedinputstream.c:
2887 * gbufferedoutputstream.c:
2890 * gdatainputstream.[ch]:
2891 * gdesktopappinfo.c:
2892 * gdirectorymonitor.c:
2894 * gfileattribute.[ch]:
2897 * gfileinputstream.h:
2898 * gfilemonitor.[ch]:
2899 * gfileoutputstream.[ch]:
2900 * gfilterinputstream.h:
2901 * gfilteroutputstream.h:
2904 * gloadableicon.[ch]:
2905 * gmemoryinputstream.c:
2906 * gmountoperation.c:
2908 Fix up a bunch of details in the docs.
2913 2007-12-11 David Zeuthen <davidz@redhat.com>
2915 Rework how volumes, drives and volume monitoring is
2916 done. Previosly the model was
2918 GDrive <1-1> GVolume
2920 where a GDrive instance represented a mount point and a GVolume
2921 instance represented a mounted file system. This patch changes it
2924 GDrive <1-N> GVolume <1-1> GMount
2926 where GMount now serves the purpose of the old GVolume and the new
2927 GVolume serves the purpose of the old GDrive. In addition the new
2928 GDrive interface is used to represent a collection of GVolume
2929 instances (typically partitions) and also contains utility to query
2930 the state of the physical drive the GDrive object represents (such
2931 as checking for media, polling the drive, ejecting the media etc.).
2933 Also implement mounting and unmounting in the Unix volume monitor
2934 backend. A subquent patch will introduce GDrive support for ejection
2938 * gdrive.c: (g_drive_is_media_check_automatic),
2939 (g_drive_is_media_removable), (g_drive_has_media),
2940 (g_drive_can_poll_for_media), (g_drive_eject),
2941 (g_drive_eject_finish), (g_drive_poll_for_media),
2942 (g_drive_poll_for_media_finish):
2944 * gfile.c: (g_file_find_enclosing_mount):
2947 * glocaldirectorymonitor.c:
2948 (g_local_directory_monitor_constructor), (mounts_changed):
2949 * glocalfile.c: (get_mount_info),
2950 (g_local_file_find_enclosing_mount),
2951 (g_local_file_file_iface_init):
2952 * gnativevolumemonitor.h:
2953 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2954 (get_connected_drives), (g_union_volume_monitor_class_init),
2955 (child_volume_added), (child_volume_removed),
2956 (child_volume_changed), (child_mount_added), (child_mount_removed),
2957 (child_mount_pre_unmount), (child_mount_changed),
2958 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2959 (g_union_volume_monitor_remove_monitor),
2960 (_g_mount_get_for_mount_path):
2961 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2962 (guess_system_internal), (_g_get_unix_mounts),
2963 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2964 (g_unix_mount_free), (g_unix_mount_compare),
2965 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2966 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2967 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2968 (type_to_icon), (g_unix_mount_guess_name),
2969 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2970 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2971 (_resolve_symlink), (_resolve_dev_root):
2973 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2974 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2975 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2976 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2977 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2978 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2979 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2980 (g_unix_volume_volume_iface_init):
2982 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2983 (get_mounts), (get_volumes), (get_connected_drives),
2984 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2985 (mountpoints_changed), (mounts_changed),
2986 (g_unix_volume_monitor_init),
2987 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2988 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2989 * gunixvolumemonitor.h:
2990 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2991 (g_volume_mount), (g_volume_mount_finish):
2993 * gvolumemonitor.c: (g_volume_monitor_class_init),
2994 (g_volume_monitor_get_connected_drives),
2995 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2998 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3000 * gmountoperation.h (GPasswordFlags): Close the gap
3002 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3004 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3006 * gdesktopappinfo.[hc]: Remove _-prefixes
3008 2007-12-10 Tor Lillqvist <tml@novell.com>
3010 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3013 2007-12-10 Alexander Larsson <alexl@redhat.com>
3015 * gfile.c (g_file_set_display_name):
3016 Don't hardcode '/' (#502727)
3018 2007-12-09 Hans Breuer <hans@breuer.org>
3020 * makefile.msc : follow lib naming convention
3021 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3022 for user and group name, tested with ../tests/gio-ls
3024 2007-12-09 A. Walton <awalton@svn.gnome.org>
3026 * gdesktopappinfo.c:
3032 * gfileenumerator.c:
3037 * gmemoryinputstream.c:
3038 * gmemoryoutputstream.c:
3040 * gsimpleasyncresult.c:
3041 More documentation cleanup and filling in missing information, bringing
3042 GIO to 99% symbol coverage.
3044 2007-12-08 Hans Breuer <hans@breuer.org>
3046 [gio compiles and links on win32, not sure how much already works]
3047 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3048 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3049 base on win32 API; prefer g_lstat() over lstat(); instead of
3050 localtime_r() use an all GLib implementation on win32;
3051 get_mount_info() still needs a win32 specifc implementation
3052 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3053 win32_get_file_user_info to get owner/group info without uid/gid
3054 * glocalfileinputstream.c : include <io.h> on win32
3055 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3056 definition, use g_win32_ftruncate() for G_OS_WIN32
3057 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3058 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3059 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3060 * makefile.msc : updated
3062 2007-12-07 Alexander Larsson <alexl@redhat.com>
3064 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3065 Avoid warning spew if error == NULL
3067 2007-12-07 Alexander Larsson <alexl@redhat.com>
3070 Update docs wrt etags
3072 2007-12-06 Alexander Larsson <alexl@redhat.com>
3075 Include sys/types.h for dev_t (#501919)
3077 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3081 Make abicheck and pltcheck pass.
3083 2007-12-05 Alexander Larsson <alexl@redhat.com>
3086 * giomodule-priv.h: Added.
3087 * glocaldirectorymonitor.c:
3088 * glocalfilemonitor.c:
3089 * gunionvolumemonitor.c:
3091 Actually add the declaration of _g_io_modules_ensure_loaded
3093 2007-12-05 Alexander Larsson <alexl@redhat.com>
3095 * gdatainputstream.c:
3100 * glocaldirectorymonitor.c:
3101 * glocalfilemonitor.c:
3102 * gunionvolumemonitor.c:
3104 Make g_io_modules_ensure_loaded a private function and
3105 don't pass in the dirname. This means we can do magic
3106 directory finding in the win32 version.
3107 Export the actual load-modules-in-directory code so that
3108 gvfs can reuse that.
3110 2007-12-05 Alexander Larsson <alexl@redhat.com>
3112 * gbufferedinputstream.c:
3113 * gbufferedoutputstream.c:
3116 * gfileenumerator.[ch]:
3117 * gfileinputstream.c:
3118 * gfileoutputstream.[ch]:
3119 * gfilterinputstream.c:
3120 * gfilteroutputstream.c:
3121 * ginputstream.[ch]:
3123 * glocalfileenumerator.c:
3124 * glocalfileinputstream.c:
3125 * glocalfileoutputstream.c:
3126 * gmemoryinputstream.c:
3127 * gmemoryoutputstream.c:
3128 * goutputstream.[ch]:
3131 * gunixinputstream.c:
3132 * gunixoutputstream.c:
3133 Rename all struct members named:
3134 read, write, close, truncate, or mount
3135 to foo_fn, as these are reserved names
3136 and could be defined as macros in libc.
3139 2007-12-04 Alexander Larsson <alexl@redhat.com>
3142 (g_output_stream_close):
3143 Only call flush if non-null.
3145 2007-11-30 Dan Winship <danw@gnome.org>
3147 * ginputstream.c (g_input_stream_set_pending): Make this take a
3148 GError and return a gboolean, and do the "outstanding operation"
3149 check (and the "stream is already closed" check) itself.
3150 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3152 * goutputstream.c (g_output_stream_set_pending)
3153 (g_output_stream_clear_pending): Likewise
3155 * gbufferedinputstream.c:
3156 * gfileinputstream.c:
3157 * gfileoutputstream.c: Update for that
3159 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3160 Like g_simple_async_report_error_in_idle, but takes a GError
3161 rather than building one.
3163 2007-11-30 Dan Winship <danw@gnome.org>
3165 * goutputstream.c: Don't cheat and unset the "pending" flag around
3166 inner calls. Instead, call the class method directly rather than
3167 the wrapper function that checks "pending"
3169 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3171 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3173 2007-12-03 Hans Breuer <hans@breuer.org>
3175 [start of port to win32/msvc]
3176 * gcancellable.c : HAVE_UNIST_H and _pipe()
3177 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3178 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3179 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3181 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3182 * glocalvfs.c : use HAVE_PWD_H
3183 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3184 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3185 * Makefile.am : added to EXTRA_DIST
3187 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3189 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3192 2007-12-03 Alexander Larsson <alexl@redhat.com>
3195 Handle OSX style xattrs API (#500506)
3197 2007-12-03 Alexander Larsson <alexl@redhat.com>
3201 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3203 2007-12-02 A. Walton <awalton@svn.gnome.org>
3207 Documentation accuracy fixes.
3209 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3211 * gioenumtypes.c.template: Fix typo.
3213 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3215 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3217 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3219 * gdirectorymonitor.c:
3220 * gfilemonitor.c: Add properties
3222 * gbufferedoutputstream.c: Don't mark buffer-size property
3225 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3227 * gbufferedoutputstream.c: Add auto-grow property.
3229 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3231 * *.c: Unify the capitalization of section headings.
3233 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3235 * gmountoperation.c: Add properties
3237 * gdatainputstream.c: Turn byte-order and newline-type into
3240 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3242 * gioenumtypes.[hc].template: Templates for enum registration
3244 * Makefile.am: Generate gioenumtypes.[hc]
3246 * gio.h: Include gioenumtypes.h
3248 * gfile.h: Add some explicit nicks.
3250 * gio.symbols: Add new symbols
3252 * pltcheck.sh: Adjust
3254 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3256 * *.c: Explain etags and link to the explanation
3258 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3260 * *.c: Explain I/O priority.
3262 * *.c: More coding style fixes.
3264 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3266 * gasyncresult.c: Add another paragraph to the intro,
3267 adjust coding style of example.
3269 2007-11-29 A. Walton <awalton@svn.gnome.org>
3272 Fixes unknown meaning in GAppLaunchContext docs.
3274 Clarify asynchronous ops.
3276 Fix entity tag docs.
3279 Provides missing gtk-doc section, fixes API docs slighly.
3280 * gsimpleasyncresult.c:
3281 Fill in missing info in docs.
3282 * gunixinputstream.c:
3283 * gunixoutputstream.c:
3284 Be more expressive in short description.
3286 Remove gtk-doc stubs for non-public API.
3288 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3290 * *.c: Coding style fixups
3292 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3294 * inotify/inotify-helper.c: Don't export the lock from libgio.
3296 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3299 * abicheck.sh: Fix copy-and-paste leftovers
3301 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3303 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3305 2007-11-28 Alexander Larsson <alexl@redhat.com>
3309 Removed unnecessary file
3311 * gdesktopappinfo.[ch]:
3314 * glocaldirectorymonitor.[ch]:
3316 * glocalfileenumerator.[ch]:
3317 * glocalfileinputstream.[ch]:
3318 * glocalfilemonitor.[ch]:
3319 * glocalfileoutputstream.[ch]:
3321 * gnativevolumemonitor.c:
3322 * gpollfilemonitor.[ch]:
3323 * gunionvolumemonitor.[ch]:
3326 * gunixvolumemonitor.[ch]:
3329 * inotify/ginotifydirectorymonitor.[ch]:
3330 * inotify/ginotifyfilemonitor.[ch]:
3331 * inotify/inotify-helper.c:
3332 Append _ to all internal functions
3336 Export symbols needed for modules
3338 2007-11-28 Alexander Larsson <alexl@redhat.com>
3341 * abicheck.sh: Added.
3342 * makegioalias.pl: Added.
3343 * pltcheck.sh: Added.
3344 * gio.symbols: Added.
3347 Initial work on adding symbol handling.
3350 Correct ifdef guard name
3353 * inotify/Makefile.am:
3354 * xdgmime/Makefile.am:
3355 Include toplevel Makefile.decl
3357 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3359 * gcontenttype.c: Move doc comments to the unix section.
3361 * *.[hc]: More trivial doc corrections.
3363 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3365 * gpollfilemonitor.c:
3369 * gdesktopappinfo.c:
3374 * gdatainputstream.c:
3375 * gdatainputstream.h:
3376 * gdataoutputstream.c:
3377 * gdataoutputstream.h:
3378 * gfileinfo.h: Doc cleanups
3380 2007-11-28 Andre Klapper <a9016009@gmx.de>
3382 * gdesktopappinfo.c: Fix a typo.
3384 2007-11-27 Andre Klapper <a9016009@gmx.de>
3386 * glocalfileoutputstream.c: Fix a typo.
3388 2007-11-27 Alexander Larsson <alexl@redhat.com>
3391 Don't include removed headers
3393 2007-11-27 Alexander Larsson <alexl@redhat.com>
3396 * gsocketinputstream.[ch]: Removed.
3397 * gsocketoutputstream.[ch]: Removed.
3398 * gunixinputstream.[ch]: Added.
3399 * gunixoutputstream.[ch]: Added.
3400 Renamed GSocket*Stream to GUnix*Stream and made
3401 it unix-only, since its not really only for sockets
3402 and it only works on unix (but is highly useful there).
3404 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3410 * gbufferedinputstream.c:
3411 * gbufferedinputstream.h:
3412 * gbufferedoutputstream.c:
3413 * gbufferedoutputstream.h:
3417 * gdatainputstream.c:
3418 * gdatainputstream.h:
3419 * gdataoutputstream.c:
3420 * gdataoutputstream.h:
3421 * gdirectorymonitor.c:
3422 * gdirectorymonitor.h:
3429 * gfileenumerator.c:
3430 * gfileenumerator.h:
3435 * gfileinputstream.c:
3436 * gfileinputstream.h:
3439 * gfilenamecompleter.c:
3440 * gfilenamecompleter.h:
3441 * gfileoutputstream.c:
3442 * gfileoutputstream.h:
3443 * gfilterinputstream.c:
3444 * gfilterinputstream.h:
3445 * gfilteroutputstream.c:
3446 * gfilteroutputstream.h:
3459 * glocalfileoutputstream.c:
3460 * gmemoryinputstream.c:
3461 * gmemoryinputstream.h:
3462 * gmemoryoutputstream.c:
3463 * gmemoryoutputstream.h:
3464 * gmountoperation.c:
3465 * gmountoperation.h:
3468 * gpollfilemonitor.c:
3471 * gsimpleasyncresult.c:
3472 * gsimpleasyncresult.h:
3473 * gsocketinputstream.c:
3474 * gsocketinputstream.h:
3475 * gsocketoutputstream.c:
3476 * gsocketoutputstream.h:
3483 * gunixvolumemonitor.c:
3492 Bumps documentation to 93% symbol coverage, touching most
3493 of the public files. Fixes broken function documentation prototypes.
3494 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3495 gtk-doc headers in private files.
3497 2007-11-27 Jürg Billeter <j@bitron.ch>
3499 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3500 (g_buffered_input_stream_read_byte):
3501 * gbufferedinputstream.h:
3502 New functions for efficient access to buffer and simple single byte
3505 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3506 (g_data_input_stream_read_until):
3507 * gdatainputstream.h:
3508 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3509 read_until with multiple stop chars.
3511 2007-11-27 Alexander Larsson <alexl@redhat.com>
3515 * inotify/Makefile.am:
3516 Use the user-specified giomoduledir
3518 2007-11-27 Alexander Larsson <alexl@redhat.com>
3522 Add catch-all gio.h header
3523 Don't install gdummyfile.h
3525 2007-11-26 Alexander Larsson <alexl@redhat.com>
3527 * Makefile.am (gioinclude_HEADERS):
3528 Remove trailing whitespace
3530 2007-11-26 Alexander Larsson <alexl@redhat.com>
3532 Merge gio-standalone into glib
3534 2007-11-25 Christian Kellner <gicmo@gnome.org>
3536 * gio/goutputstream.c:
3537 Fix small mistake in the docs.
3539 2007-11-21 Christian Persch <chpe@gnome.org>
3541 * gio/glocalfile.c: (g_local_file_trash):
3542 Convert filenames to UTF-8 for GError.
3543 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3544 as per xdg base dir spec.
3546 2007-11-21 Christian Persch <chpe@gnome.org>
3548 * gio/gdesktopappinfo.c:
3549 Use that g_key_file_to_data cannot fail.
3551 Use stock defines for the key file group and key names.
3554 2007-11-21 Alexander Larsson <alexl@redhat.com>
3557 (copy_stream_with_progress):
3558 Make sure we do a final progress callback with
3559 the full total size.
3561 2007-11-21 Alexander Larsson <alexl@redhat.com>
3564 Export g_file_copy_attributes
3565 Remove padding as its not needed for interfaces
3567 2007-11-20 Alexander Larsson <alexl@redhat.com>
3572 Add G_IO_ERROR_WOULD_MERGE for
3573 copy/move dir on dir with overwrite.
3575 2007-11-20 Alexander Larsson <alexl@redhat.com>
3578 * gio/glocalfileinfo.c:
3579 Add COPY_NAME (this is an optional
3580 non-modified utf8 version of the name) that
3583 2007-11-20 Alexander Larsson <alexl@redhat.com>
3585 * gio/glocalfileenumerator.c:
3586 Report errors as GIOError, not GFileError
3588 2007-11-16 Alexander Larsson <alexl@redhat.com>
3590 * gio/glocalfileoutputstream.c:
3591 * gio/gwin32appinfo.c:
3592 Fix typos in strings.
3593 Patch from Luca Ferretti <elle.uca@libero.it>
3595 2007-11-15 Alexander Larsson <alexl@redhat.com>
3598 Post release version bump
3600 === gio-standalone 0.1.2 ===
3602 2007-11-15 Alexander Larsson <alexl@redhat.com>
3604 * docs/reference/gio/Makefile.am:
3605 Fix up distcheck by removing weird
3611 2007-11-14 Alexander Larsson <alexl@redhat.com>
3613 * gio/gdesktopappinfo.c:
3614 * gio/glocaldirectorymonitor.c:
3616 * gio/glocalfileinfo.c:
3617 * gio/inotify/inotify-sub.c:
3618 * programs/gio-cat.c:
3619 * programs/gio-copy.c:
3620 * programs/gio-info.c:
3621 * programs/gio-ls.c:
3622 * programs/gio-monitor-dir.c:
3623 * programs/gio-monitor-file.c:
3624 * programs/gio-mount.c:
3625 * programs/gio-move.c:
3626 * programs/gio-rm.c:
3627 * programs/gio-save.c:
3628 * programs/gio-trash.c:
3629 Leak fixes from Kjartan Maraas
3631 2007-11-14 Alexander Larsson <alexl@redhat.com>
3633 * gio/fam/fam-helper.c:
3635 * gio/glocalfileinfo.c:
3639 * gio/inotify/inotify-diag.c:
3640 * gio/inotify/inotify-kernel.c:
3641 Various code cleanups from Kjartan Maraas
3643 2007-11-14 Alexander Larsson <alexl@redhat.com>
3645 * gio/gioscheduler.c:
3647 Set up threadpool so that we cache 2 unused
3648 idle threads for at 15 secs. This means we
3649 will reuse thread-local data (like dbus connections)
3652 2007-11-14 Alexander Larsson <alexl@redhat.com>
3654 * gio/fam/fam-helper.c:
3655 * gio/fam/gfamdirectorymonitor.c:
3656 * gio/fam/gfamfilemonitor.c:
3658 * gio/gcontenttype.c:
3659 * gio/gdatainputstream.c:
3660 * gio/gdataoutputstream.c:
3664 * gio/gfileattribute.h:
3665 * gio/gfileenumerator.c:
3667 * gio/ginputstream.c:
3670 * gio/glocalfileinfo.c:
3671 * gio/goutputstream.c:
3672 * gio/gpollfilemonitor.c:
3673 * gio/gsimpleasyncresult.c:
3674 * gio/gunixmounts.c:
3675 * gio/gunixmounts.h:
3676 * gio/inotify/ginotifydirectorymonitor.c:
3677 * gio/inotify/ginotifyfilemonitor.c:
3678 * gio/inotify/inotify-diag.c:
3679 * gio/inotify/inotify-kernel.c:
3680 * gio/inotify/inotify-path.c:
3682 * gio/test-streams.c:
3683 * programs/gio-info.c:
3684 * programs/gio-monitor-dir.c:
3685 * programs/gio-monitor-file.c:
3686 Various code cleanups from Kjartan Maraas
3688 2007-11-13 Alexander Larsson <alexl@redhat.com>
3691 Handle the uri-scheme calls for dummy files
3693 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3695 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3696 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3697 to avoid clash with the C++ keyword.
3699 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3701 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3702 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3704 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3706 * gio/glocaldirectorymonitor.c:
3707 * gio/glocalfilemonitor.c:
3708 * gio/gunionvolumemonitor.c:
3709 Don't use g_once_init_*() for initializations that could fail and
3710 could leave the initialization variable set to 0 but use GOnce.
3711 This prevents a deadlock on the second call when trying to create
3712 a monitor and no monitor type is available. Thanks to Sven Herzberg
3715 2007-11-11 Sven Herzberg <sven@imendio.com>
3717 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3718 #ifdef (make it work on MacOS X again)
3720 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3722 Fixes Changelog for last two commits (sorry guys).
3724 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3726 * gio/gbufferedinputstream.c:
3727 * gio/gdatainputstream.c:
3729 * gio/gfileoutputstream.c:
3730 * gio/gfilterinputstream.c:
3731 * gio/glocalfileinputstream.c:
3734 More consistency fixes in g*stream.c files.
3735 Significant clean of gfile's documentation, filling in of
3736 asynchronous operations documentation.
3738 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3740 * gio/gasyncresult.c:
3741 * gio/gbufferedinputstream.c:
3742 * gio/gbufferedoutputstream.c:
3743 * gio/gcancellable.c:
3744 * gio/gcontenttype.c:
3745 * gio/gdatainputstream.c:
3746 * gio/gdataoutputstream.c:
3747 * gio/gdesktopappinfo.c:
3750 * gio/gfileattribute.c:
3751 * gio/gio/gfileenumerator.c:
3753 * gio/gfileinputstream.c:
3754 * gio/gfilemonitor.c:
3755 * gio/gfileoutputstream.c:
3756 * gio/ginputstream.c:
3758 * gio/gioscheduler.c:
3759 * gio/gloadableicon.c:
3760 * gio/glocalfileoutputstream.c:
3761 * gio/gmemoryoutputstream.c:
3762 * gio/gmountoperation.c:
3763 * gio/goutputstream.c:
3765 * gio/gsimpleasyncresult.c:
3766 * gio/gunionvolumemonitor.c:
3767 * gio/gunixmounts.c:
3768 * gio/gunixvolume.c:
3772 * gio/gvolumemonitor.c:
3773 Updated documentation stubs, working towards consistency and
3776 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3778 * gio/gmemoryoutputstream.c:
3779 * gio/gmemoryoutputstream.h:
3780 Change g_memory_output_stream_set_free_on_close() to
3781 g_memory_output_stream_set_free_data() as this makes more sense and
3782 is more consistent with GMemoryInputStream.
3784 2007-11-07 Alexander Larsson <alexl@redhat.com>
3791 Change how we find the default vfs so that
3792 we can handle a gvfs failing to init
3794 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3796 * gio/gbufferedoutputstream.c:
3797 * gio/gdatainputstream.c:
3798 * gio/gdataoutputstream.c:
3799 * gio/gfileinputstream.c:
3800 * gio/gfileoutputstream.c:
3801 * gio/gfilterinputstream.c:
3802 * gio/gfilteroutputstream.c:
3803 * gio/ginputstream.c:
3804 * gio/gmemoryinputstream.c:
3805 * gio/gmemoryoutputstream.c:
3806 * gio/goutputstream.c:
3807 * gio/gsimpleasyncresult.c:
3808 * gio/gsocketinputstream.c:
3809 * gio/gsocketoutputstream.c:
3810 Add guards to the remaining public functions, add a TODO for
3811 an unimplemented function and remove some useless guards.
3813 2007-11-07 Alexander Larsson <alexl@redhat.com>
3816 Autoconf checks for the various types of
3817 getpwuid_r and getgrgid_r
3819 * gio/glocalfileinfo.c:
3820 Use the autoconf checks from above
3822 2007-11-07 Alexander Larsson <alexl@redhat.com>
3825 (g_local_file_query_filesystem_info):
3826 Some fixes for the statvfs case
3828 2007-11-07 Alexander Larsson <alexl@redhat.com>
3831 (g_local_file_query_filesystem_info):
3832 Pick the "best" of statfs / statvfs for the system
3833 if both are availible.
3835 2007-11-07 Alexander Larsson <alexl@redhat.com>
3837 Solaris fixes from Halton.Huo@Sun.COM:
3844 * gio/glocalfileinfo.c:
3845 Fix for solaris definition of getpwuid_r
3847 * gio/test-streams.c:
3848 Use G_GNUC_PRETTY_FUNCTION
3850 2007-11-07 Alexander Larsson <alexl@redhat.com>
3852 * gio/gdesktopappinfo.c:
3853 (update_default_list):
3854 Remove double semicolon.
3855 Patch from Jens Granseuer
3857 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3859 * docs/reference/gio/gio-sections.txt:
3860 * gio/gbufferedinputstream.c:
3861 * gio/gbufferedinputstream.h:
3862 * gio/gdatainputstream.c:
3863 * gio/gfileenumerator.c:
3864 * gio/gioscheduler.c:
3865 * gio/gunionvolumemonitor.c:
3867 * programs/gio-save.c:
3868 Fix typo: availible -> available. Unfortuntely this breaks API
3869 and ABI as g_buffered_input_stream_get_available() was renamed.
3871 * gio/gunixmounts.c:
3872 * gio/gbufferedinputstream.c:
3873 Add guards for public functions.
3875 2007-11-06 Ross Burton <ross@openedhand.com>
3877 * docs/reference/gio/Makefile.am:
3878 Fix invalid += usage which automake 1.10 doesn't like.
3880 2007-11-06 Alexander Larsson <alexl@redhat.com>
3883 (g_app_launch_context_class_init):
3886 Patch from Ross Burton
3888 2007-11-06 Alexander Larsson <alexl@redhat.com>
3891 Post release version bump
3893 === gio-standalone 0.1.1 ===
3895 2007-11-06 Alexander Larsson <alexl@redhat.com>
3898 Bump version to 0.1.1
3900 * gio/gsimpleasyncresult.c:
3901 (g_simple_async_result_set_from_error):
3902 Remove bogus g_return_if_fail
3904 2007-11-06 Alexander Larsson <alexl@redhat.com>
3907 The name is gio-standalone
3910 Add top src/builddir to includedir
3912 2007-11-06 Alexander Larsson <alexl@redhat.com>
3914 * docs/reference/gio/gio-sections.txt:
3916 * gio/gbufferedinputstream.c:
3917 * gio/gbufferedoutputstream.c:
3918 * gio/gcancellable.c:
3919 * gio/gdatainputstream.h:
3920 * gio/gdataoutputstream.c:
3921 * gio/gdataoutputstream.h:
3922 * gio/gdirectorymonitor.c:
3924 * gio/gfileattribute.c:
3925 * gio/gfileattribute.h:
3926 * gio/gfileenumerator.c:
3927 * gio/gfileenumerator.h:
3930 * gio/gfileinputstream.h:
3931 * gio/gfilemonitor.c:
3932 * gio/gfileoutputstream.h:
3933 * gio/glocalfilemonitor.h:
3934 * gio/glocalfileoutputstream.h:
3935 * gio/gmemoryinputstream.c:
3936 * gio/gmemoryoutputstream.c:
3937 * gio/gmountoperation.c:
3938 * gio/goutputstream.c:
3939 * gio/goutputstream.h:
3941 * gio/gsimpleasyncresult.c:
3942 * gio/gunixmounts.c:
3943 * gio/gunixmounts.h:
3945 * gio/inotify/inotify-helper.c:
3946 Fix gtk-doc warnings
3948 Patch from Ross Burton
3950 2007-11-06 Alexander Larsson <alexl@redhat.com>
3952 * gio/gfilenamecompleter.c:
3953 (g_filename_completer_get_completions):
3956 * gio/gunixvolume.c:
3957 Remove unused function
3959 Patches from Ross Burton
3961 2007-11-06 Alexander Larsson <alexl@redhat.com>
3966 Padding not needed for interfaces
3968 2007-11-06 Alexander Larsson <alexl@redhat.com>
3970 * gio/gfilemonitor.c:
3974 Make giotypes.h an internal file
3977 * gio/gbufferedinputstream.h:
3978 * gio/gbufferedoutputstream.h:
3979 * gio/gcancellable.h:
3980 * gio/gdatainputstream.h:
3981 * gio/gdataoutputstream.h:
3982 * gio/gdirectorymonitor.c:
3983 * gio/gdirectorymonitor.h:
3988 * gio/gfileattribute.h:
3989 * gio/gfileenumerator.h:
3994 * gio/gfilemonitor.c:
3995 * gio/gfilemonitor.h:
3996 * gio/gfilenamecompleter.c:
3997 * gio/gfilenamecompleter.h:
3998 * gio/gfilterinputstream.h:
3999 * gio/gfilteroutputstream.h:
4000 * gio/ginputstream.h:
4001 * gio/gmemoryinputstream.h:
4002 * gio/gmemoryoutputstream.h:
4003 * gio/gmountoperation.c:
4004 * gio/gmountoperation.h:
4005 * gio/gnativevolumemonitor.c:
4006 * gio/goutputstream.h:
4009 * gio/gsimpleasyncresult.c:
4010 * gio/gsimpleasyncresult.h:
4011 * gio/gsocketinputstream.h:
4012 * gio/gsocketoutputstream.h:
4013 * gio/gthemedicon.c:
4014 * gio/gthemedicon.h:
4018 * gio/gvolumemonitor.c:
4019 * gio/gvolumemonitor.h:
4020 Add padding in classes where it seems useful
4021 Don't include giotypes.h from public headers
4022 Move in Class definitions into c file where possible
4027 2007-11-06 Alexander Larsson <alexl@redhat.com>
4029 * docs/reference/gio/gio-docs.xml:
4030 Better structure for API docs
4032 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4035 * gio/gloadableicon.c:
4036 * gio/gsimpleasyncresult.c:
4037 * gio/gthemedicon.c:
4038 Add some more guards to public functions. Only files missing are now
4041 2007-11-06 Alexander Larsson <alexl@redhat.com>
4043 * docs/reference/gio/gio-docs.xml:
4044 Remove old files, add missing ones
4046 2007-11-06 Alexander Larsson <alexl@redhat.com>
4048 * docs/reference/gio/gio-sections.txt:
4051 Hide implementation classes
4053 * gio/gdriveprivate.h:
4054 * gio/gvolumeprivate.h:
4055 Remove non-existing function declarations
4057 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4060 Fix compilation warnings and add guards to the new functions.
4062 * gio/gasyncresult.c:
4064 Add guards to the public functions.
4067 Implement get_path().
4069 2007-11-06 Alexander Larsson <alexl@redhat.com>
4071 * gio/gfilenamecompleter.c:
4072 Make g_filename_completer_get_completions
4073 return char ** instead of GList for
4076 * docs/reference/gio/gio-docs.xml:
4077 * docs/reference/gio/gio-sections.txt:
4079 * gio/gasyncresult.c:
4080 * gio/gbufferedinputstream.c:
4081 * gio/gbufferedoutputstream.c:
4082 * gio/gcancellable.c:
4083 * gio/gcontenttype.c:
4084 * gio/gdatainputstream.c:
4085 * gio/gdataoutputstream.c:
4086 * gio/gdesktopappinfo.c:
4087 * gio/gdirectorymonitor.c:
4091 * gio/gfileattribute.c:
4092 * gio/gfileenumerator.c:
4095 * gio/gfileinputstream.c:
4096 * gio/gfilemonitor.c:
4097 * gio/gfilenamecompleter.c:
4098 * gio/gfilenamecompleter.h:
4099 * gio/gfileoutputstream.c:
4100 * gio/gfilterinputstream.c:
4102 * gio/ginputstream.c:
4104 * gio/gioscheduler.c:
4105 * gio/gloadableicon.c:
4106 * gio/glocaldirectorymonitor.c:
4108 * gio/glocalfileinputstream.c:
4109 * gio/glocalfilemonitor.c:
4110 * gio/glocalfileoutputstream.c:
4112 * gio/gmemoryinputstream.c:
4113 * gio/gmemoryoutputstream.c:
4114 * gio/gmountoperation.c:
4115 * gio/goutputstream.c:
4116 * gio/gpollfilemonitor.c:
4118 * gio/gsimpleasyncresult.c:
4119 * gio/gsocketinputstream.c:
4120 * gio/gsocketoutputstream.c:
4121 * gio/gthemedicon.c:
4122 * gio/gunionvolumemonitor.c:
4124 * gio/gunixmounts.c:
4125 * gio/gunixvolume.c:
4126 * gio/gunixvolumemonitor.c:
4130 * gio/gvolumemonitor.c:
4131 * gio/gwin32appinfo.c:
4132 Add (mostly stub) doc strings to public functions.
4133 Patch from Andrew Walton (awalton@gmail.com)
4135 2007-11-06 Alexander Larsson <alexl@redhat.com>
4137 * gio/gappinfo.[ch]:
4138 Added GAppLaunchContext object and pass that to launch.
4139 This allows simple implementation of both
4140 launch-on-screen and startup notification via a gtk+
4141 subclass of GAppLaunchContext
4143 * gio/gdesktopappinfo.c:
4144 Implement GAppLaunchContext API
4146 * gio/gwin32appinfo.c:
4149 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4151 * gio/gmountoperation.c:
4152 Add some guards to GMountOperation's public functions.
4154 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4158 * gio/gcancellable.c:
4159 * gio/gdirectorymonitor.c:
4161 * gio/gfileenumerator.c:
4162 * gio/gfilemonitor.c:,
4163 * gio/gfilenamecompleter.c:
4166 * gio/gioscheduler.c:
4170 * gio/gvolumemonitor.c:
4171 Add even more guards to various public functions.
4173 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4176 Add guards to the public functions of GAppInfo.
4178 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4180 * gio/gcontenttype.c:
4181 Add some more guards for public functions.
4183 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4185 * gio/fam/fam-module.c:
4186 * gio/fam/gfamdirectorymonitor.c:
4187 * gio/fam/gfamdirectorymonitor.h:
4188 * gio/fam/gfamfilemonitor.c:
4189 * gio/fam/gfamfilemonitor.h:
4190 * gio/inotify/ginotifydirectorymonitor.c:
4191 * gio/inotify/ginotifydirectorymonitor.h:
4192 * gio/inotify/ginotifyfilemonitor.c:
4193 * gio/inotify/ginotifyfilemonitor.h:
4194 Add proper copyright information and remove an unused variable
4195 in the GInotifyFileMonitor constructor.
4197 * gio/gcancellable.c:
4198 Add a guard for a public function and an assertion to prevent
4199 an undefined program state.
4201 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4203 * gio/gfileattribute.c:
4204 Don't run into an assertion if the given attribute value is NULL
4205 in g_file_attribute_value_get_*() but instead return a fallback
4206 value that makes sense in most situations. Passing them a attribute
4207 value with the wrong type will still run into an assertion.
4209 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4211 * gio/gfileattribute.c:
4213 Add even more guards to the public functions. Also fix the refcounting
4214 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4215 let g_file_info_list_attributes() filter the attributes by namespace
4216 instead of simply ignoring the namespace parameter.
4218 2007-11-03 Sven Herzberg <sven@imendio.com>
4220 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4221 (This makes gio work on MacOS X again)
4223 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4226 Build the gio subdirectory before the docs. Otherwise the build will
4229 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4230 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4231 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4232 Add guards to the public functions.
4234 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4236 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4237 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4238 to prevent a compiler warning.
4240 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4241 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4242 return something in the non-void function find_topdir_for().
4244 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4251 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4253 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4254 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4255 * gwin32appinfo.c (g_win32_app_info_launch):
4256 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4257 envp_for_startup_id, g_desktop_app_info_launch,
4258 g_desktop_app_info_launch_uris):
4260 Give an opaque 'startup_id' string instead of 'envp'.
4261 Support empty file lists for launching new windows.
4262 Fix infinite recursion bug when launching URIs.
4264 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4267 Add guard to the new g_file_get_uri_scheme() function.
4269 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4272 Convert a g_return_val_if_fail() to setting the GError instead as
4273 otherwise applications have to verify the parameter before otherwise
4274 and the parameter might come directly from the user.
4276 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4278 * gio/inotify/ginotify*.[ch]:
4279 Add missing copyright information.
4281 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4284 Add guards in the beginning of public functions to check for valid
4285 parameters and fix a bug in copy_stream_with_progress() that could've
4286 caused writing less bytes than reading.
4287 * gio/glocalfileinfo.c:
4288 Check for a NULL parameter and set the GError accordingly then.
4289 * gio/goutputstream.c:
4290 Fix the same bug as in gfile.c that could've caused writing less bytes
4291 than reading in g_output_stream_real_splice().
4293 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4296 Use the correct gvolumeprivate.h naming
4298 2007-11-01 Christian Kellner <gicmo@gnome.org>
4301 Remove leftover "$(daemon_sources)" entry.
4303 2007-11-01 Christian Kellner <gicmo@gnome.org>
4308 Add copyright information to source files.
4310 2007-11-01 Alexander Larsson <alexl@redhat.com>
4314 Add g_file_get_uri_scheme
4316 2007-11-01 Alexander Larsson <alexl@redhat.com>
4319 * gio/gdesktopappinfo.c:
4320 * gio/gwin32appinfo.c:
4321 Add g_app_info_get_default_for_uri_scheme.
4323 2007-11-01 Alexander Larsson <alexl@redhat.com>
4326 Correct filename for gdriveprivate.h
4328 2007-10-31 Alexander Larsson <alexl@redhat.com>
4331 Rename id:value to id:file
4334 * gio/glocalfileinfo.c:
4337 2007-10-31 Alexander Larsson <alexl@redhat.com>
4339 * gio/gunixvolume.c:
4341 Remove g_volume_get_platform_id, as thats not
4342 needed with the simpler union volume monitor
4344 2007-10-31 Alexander Larsson <alexl@redhat.com>
4347 * gio/guniondrive.[ch]: Removed.
4348 * gio/gunionvolume.[ch]: Removed.
4349 Remove GUnionDrive/Volume
4351 * gio/gunionvolumemonitor.c:
4352 Simplify union volume monitor, now we
4353 only have one native volume monitor and
4354 we use the actual volumes/drives from the
4355 child monitors instead of wrapping them
4357 * gio/gnativevolumemonitor.[ch]:
4358 Base class for native volume monitors.
4359 Includes priority and get_volume_for_mountpoint
4362 Add g_file_find_enclosing_volume
4365 Remove volume name fs attribute
4366 Add readonly fs attribute
4369 Implement readonly attribute
4370 remove volume name attribute
4371 Implement find_enclosing volume
4373 * gio/gunixmounts.c:
4374 Add a volume for "/".
4376 * gio/gunixvolume.[ch]:
4377 Set better name for /
4379 * gio/gunixvolumemonitor.[ch]:
4380 Derive from GNativeVolumeMonitor
4381 Implement get_volume_for_mountpoint
4384 GVolume typedef moved to gfile.h
4386 * gio/gvolumeprivate.h:
4387 Add g_volume_get_for_mount_path
4389 2007-10-31 Alexander Larsson <alexl@redhat.com>
4391 * gio/gunixmounts.[ch]:
4392 Add cache info to unix mount listers
4393 Make getmntent use threadsafe
4394 Add is_system_internal attribute for GUnixMount
4396 * gio/gunixvolume.c:
4397 (g_unix_volume_new):
4398 Use is_system_internal instead of own code
4400 * gio/glocaldirectorymonitor.c:
4401 * gio/gunixvolumemonitor.c:
4402 Update to new gunixmounts API
4407 2007-10-30 Alexander Larsson <alexl@redhat.com>
4410 Add volume name fsinfo attribute
4413 Read volume name info
4415 * gio/gunionvolumemonitor.c:
4416 Fix infinite loops when finalizing a union volume monitor
4418 2007-10-30 Alexander Larsson <alexl@redhat.com>
4420 * gio/goutputstream.[ch]:
4421 Add splice() with default implementation
4423 * gio/gsocketoutputstream.c:
4424 (g_socket_output_stream_write):
4425 Return error on cancellation correctly.
4427 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4429 * gio/glocalfile.c (g_local_file_trash):
4430 Do not leak a string.
4432 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4434 * gio/gfile.c (g_file_load_contents):
4435 Unref the stream after closing it.
4437 2007-10-25 Alexander Larsson <alexl@redhat.com>
4439 * gio/gioscheduler.h:
4442 2007-10-25 Alexander Larsson <alexl@redhat.com>
4446 Add g_file_has_uri_scheme and implement for local files
4448 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4450 * gio/gdesktopappinfo.c: do not leak a string.
4452 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4454 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4455 (g_local_directory_monitor_new):
4456 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4457 (g_local_file_monitor_new):
4458 Only look for the monitor type that should be used the first time
4459 and use g_qsort_with_data() instead of our own bubble sort
4462 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4465 * gio/fam/Makefile.am:
4466 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4467 * gio/fam/fam-helper.h:
4468 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4469 * gio/fam/gfamdirectorymonitor.c:
4470 * gio/fam/gfamdirectorymonitor.h:
4471 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4472 * gio/fam/gfamfilemonitor.h:
4473 * gio/glocaldirectorymonitor.c:
4474 * gio/glocaldirectorymonitor.h:
4475 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4476 * gio/glocalfilemonitor.h:
4477 * gio/inotify/Makefile.am:
4478 * gio/inotify/ginotifydirectorymonitor.c:
4479 * gio/inotify/ginotifydirectorymonitor.h:
4480 * gio/inotify/ginotifyfilemonitor.c:
4481 * gio/inotify/ginotifyfilemonitor.h:
4482 Implement the FAM and Inotify monitors as
4483 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4484 their own GIO module. GLocal(Directory|File)Monitor will use the
4485 monitor with the highest rank that is supported on that machine.
4487 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4490 Change GIO module dir to $(libdir)/gio/modules and change
4491 the log domain from GVFS to GIO. Also only export symbols starting
4492 with g_ in the resulting library.
4493 * gio/test-streams.c: (main):
4494 Set log handler for the GIO log domain.
4496 2007-10-22 Alexander Larsson <alexl@redhat.com>
4498 * gio/gfilenamecompleter.[ch]:
4499 Add g_filename_completer_set_dirs_only
4501 2007-10-22 Alexander Larsson <alexl@redhat.com>
4504 * gio/gurifuncs.[ch]:
4505 Add some simple URI helpers
4507 * gio/gfilenamecompleter.[ch]:
4508 Added object for filename (parse name actually) completion
4511 Handle ~ in parse names
4513 2007-10-17 Alexander Larsson <alexl@redhat.com>
4516 * gio/glocalfileinfo.c:
4517 Add and implement id:value attribute
4519 2007-10-17 Alexander Larsson <alexl@redhat.com>
4522 * gio/guniondrive.c:
4524 Add and implement g_drive_has_volumes
4526 2007-10-17 Alexander Larsson <alexl@redhat.com>
4529 * gio/glocalfileinfo.[ch]:
4530 Add unix:is_mountpoint and implement for local files
4532 2007-10-16 Alexander Larsson <alexl@redhat.com>
4534 * gio/gunionvolumemonitor.c:
4535 (g_union_volume_monitor_init):
4536 Fix up the unix type getting so that it works with gcc
4538 2007-10-12 Alexander Larsson <alexl@redhat.com>
4541 * gio/glocalfileinfo.c:
4542 Add thumbnail:failed to file info
4544 2007-10-12 Richard Hult <richard@imendio.com>
4546 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4547 optimizing away the get_type call (happens with some gcc versions,
4548 like the one shipped with OS X 10.4).
4550 2007-10-12 Alexander Larsson <alexl@redhat.com>
4552 * gio/glocalfileinfo.c:
4553 (_g_local_file_info_set_attribute):
4554 Fix build if not HAVE_XATTR
4555 Patch from Milosz Derezynski <internalerror@gmail.com>
4557 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4559 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4560 around for review, otherwise I would have asked you before
4563 2007-10-11 Alexander Larsson <alexl@redhat.com>
4566 Add thumbnail:path attribute
4568 * gio/glocalfileinfo.c:
4569 Implement thumbnail:path for local files
4571 2007-10-11 Alexander Larsson <alexl@redhat.com>
4573 * gio/glocalfileinfo.c:
4574 (_g_local_file_info_get):
4575 Avoid duplicate icon names
4577 2007-10-11 Alexander Larsson <alexl@redhat.com>
4579 * gio/gthemedicon.[ch]:
4580 Change g_themed_icon_get_names return type to const
4582 2007-10-10 Alexander Larsson <alexl@redhat.com>
4584 * gio/glocalfileinfo.c:
4585 Don't reference freed memory
4587 2007-10-10 Alexander Larsson <alexl@redhat.com>
4589 * gio/gfileattribute.c:
4592 * gio/glocalfileinfo.c:
4595 2007-10-10 Alexander Larsson <alexl@redhat.com>
4598 Check for NULL icons
4600 * gio/gfileattribute.c:
4601 Don't dup when getting objects (same as for string attributes)
4603 * gio/gicon.c (g_icon_equal):
4604 Safely handle NULLs in equal
4606 2007-10-10 Alexander Larsson <alexl@redhat.com>
4609 Fix c++ compilation issues
4610 Patch from Milosz Derezynski <internalerror@gmail.com>
4612 2007-10-10 Alexander Larsson <alexl@redhat.com>
4614 * programs/gio-monitor-dir.c:
4615 Don't crash if dir monitor not supported.
4617 2007-10-09 Alexander Larsson <alexl@redhat.com>
4620 Add missing G_END_DECLS
4622 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4624 * gio/gfile.c: (g_file_set_display_name),
4625 (g_file_query_settable_attributes),
4626 (g_file_query_writable_namespaces):
4627 Return NULL not FALSE on errors as the return type is a pointer.
4629 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4631 * gio/glocalfile.c: (g_local_file_monitor_file):
4632 Don't call monitor_file on the default interface vtable (which
4633 is NULL) but simply return NULL. The caller, GFile, will create a
4634 polling monitor if NULL is returned.
4636 2007-10-09 Alexander Larsson <alexl@redhat.com>
4640 * gio-unix-2.0.pc.in:
4641 Add gio-unix-2.0.pc if OS_UNIX
4644 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4646 2007-10-09 Alexander Larsson <alexl@redhat.com>
4648 * gio/gunixmounts.[ch]:
4649 Make unix mount monitoring API sane.
4650 Now its just a object with mounts_changed
4651 and mountpoints_changed signals.
4653 * gio/glocaldirectorymonitor.c:
4654 * gio/gunixvolumemonitor.c:
4655 Use new mount monitor api
4657 2007-10-09 Alexander Larsson <alexl@redhat.com>
4659 * gio/gunixmounts.[ch]:
4660 Move guess type into one call for mounts and one for mountpoints
4663 * gio/gunixvolume.c:
4666 2007-10-09 Alexander Larsson <alexl@redhat.com>
4668 * gio/gunixmounts.[ch]:
4669 Remove _ prefix in preparation to make this semi-public
4670 Hide implementation of structs
4672 * gio/glocaldirectorymonitor.c:
4674 * gio/gunixvolume.c:
4675 * gio/gunixvolumemonitor.c:
4676 Update for above API changes
4678 2007-10-08 Alexander Larsson <alexl@redhat.com>
4681 Better polling fallback. This also handles the case where we have
4682 a monitor_file implementation, but it fails.
4684 2007-10-08 Alexander Larsson <alexl@redhat.com>
4688 * gio/gunixmounts.c:
4689 * programs/gio-monitor-dir.c:
4690 * programs/gio-monitor-file.c:
4691 Added cancellable to file monitoring calls.
4692 These are really sync calls and need this.
4694 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4696 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4697 (g_local_vfs_class_init):
4698 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4699 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4701 2007-10-05 Alexander Larsson <alexl@redhat.com>
4703 * gio/gdirectorymonitorprivate.h:
4704 * gio/gfilemonitorprivate.h:
4705 * gio/gdirectorymonitor.h:
4706 * gio/gfilemonitor.h:
4707 Remove *private.h and move to the public API, so that
4708 we can do implementations outside gio (such as in gvfs)
4710 * gio/gdirectorymonitor.c:
4711 * gio/gfilemonitor.c:
4712 * gio/glocaldirectorymonitor.c:
4713 * gio/gpollfilemonitor.c:
4714 * gio/inotify/inotify-helper.c:
4715 * gio/fam/fam-helper.c:
4716 Update to the new header names
4718 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4720 * gio/gdirectorymonitor.c:
4721 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4724 2007-10-04 Alexander Larsson <alexl@redhat.com>
4726 * gio/glocalfileinfo.c (get_access_rights):
4727 Set CAN_TRASH when we can move the file.
4728 We should really also check for a parent trash dir.
4730 2007-10-04 Alexander Larsson <alexl@redhat.com>
4732 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4733 Add can_trash access attribute
4735 2007-10-04 Alexander Larsson <alexl@redhat.com>
4738 (g_local_file_trash):
4739 Create info file first. This is per-spec and allows
4740 us to actually trash directories.
4742 2007-10-02 Alexander Larsson <alexl@redhat.com>
4744 * gio/gdesktopappinfo.c:
4745 Implement the new mime support code.
4746 Always set app as handling mimetype when being set as default for it
4748 2007-10-01 Alexander Larsson <alexl@redhat.com>
4750 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4751 Fix up check for xattrs:
4753 2007-10-01 Alexander Larsson <alexl@redhat.com>
4756 (g_app_info_set_as_default_for_extension):
4757 (g_app_info_add_supports_type):
4758 (g_app_info_can_remove_supports_type):
4759 (g_app_info_remove_supports_type):
4760 Make these fail nicely if not implemented
4762 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4764 * gio/glocalfileoutputstream.c:
4765 * gio/glocalfileoutputstream.h:
4770 * programs/gio-save.c:
4771 Add a GFileCreateFlags argument to operations that can create
4774 2007-10-01 Alexander Larsson <alexl@redhat.com>
4776 * gio/gappinfo.[ch]:
4777 * gio/gdesktopappinfo.c:
4778 Add more (stubbed out) mime API needed for nautilus
4780 2007-10-01 Alexander Larsson <alexl@redhat.com>
4783 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4784 Add g_app_info_set_as_default_for_extension.
4786 * gio/gdesktopappinfo.c:
4787 Dummy for g_app_info_set_as_default_for_extension
4788 Support flags in g_app_info_create_from_commandline
4790 * gio/gwin32appinfo.c:
4792 Update for API changes
4794 * gio/gthemedicon.c:
4795 Properly NULL-terminate list of icon names
4797 2007-09-28 Alexander Larsson <alexl@redhat.com>
4799 * gio/gloadableicon.h:
4800 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4802 2007-09-28 Alexander Larsson <alexl@redhat.com>
4805 Install headers in $includedir/gio-standalone/
4807 * gio-2.0.pc.in: Added.
4808 * gio-standalone.pc.in: Removed.
4811 Renamed pkg-config file to match glib (for future move)
4812 Update to the new include dir
4815 Add more TODO comments
4817 2007-09-28 Alexander Larsson <alexl@redhat.com>
4819 * gio/gdesktopappinfo.[ch]:
4820 Expose new_from_filename
4821 Add getter for is_hidden and handle it better
4823 2007-09-28 Alexander Larsson <alexl@redhat.com>
4825 * gio/gfileinfo.[ch]:
4826 Rename g_file_size_format_for_display to
4827 g_format_file_size_for_display.
4828 Now it doesn't have the g_file prefix, so we
4829 can later move it to glib.
4831 2007-09-28 Alexander Larsson <alexl@redhat.com>
4833 * gio/gappinfo.[ch]:
4834 Add g_app_info_get_id and g_app_info_get_executable.
4835 Make all getters non-reffing
4836 Make g_app_info_launch take GFile arguments.
4837 Add must_support_uris argument to g_app_info_get_default_for_type.
4839 * gio/gwin32appinfo.c:
4840 Update to GAppInfo api changes
4842 * gio/gdesktopappinfo.c:
4843 Update to GAppInfo api changes
4844 Implement supports_xdg_startup_notify
4846 * gio/gfileicon.c (g_file_icon_get_file):
4847 Make getter non-reffing.
4852 2007-09-27 Alexander Larsson <alexl@redhat.com>
4854 * gio/gfileinfo.[ch]:
4855 Add g_file_size_format_for_display helper
4857 2007-09-27 Alexander Larsson <alexl@redhat.com>
4859 * gio/glocalfileinfo.c:
4860 Set UNIX_GID from gid, not from uid
4862 2007-09-27 Alexander Larsson <alexl@redhat.com>
4865 Add g_file_set_attributes_async
4867 2007-09-27 Alexander Larsson <alexl@redhat.com>
4869 * gio/glocalfile.c (g_local_file_set_display_name):
4870 Fix set_display_name to actually rename to the right place.
4871 Use lstat to look for existing files so we don't overwrite
4874 2007-09-26 Alexander Larsson <alexl@redhat.com>
4877 Add g_file_set_display_name_async()
4879 2007-09-26 Alexander Larsson <alexl@redhat.com>
4882 Add load_partial_contents async calls
4885 Make internal function static
4887 2007-09-26 Alexander Larsson <alexl@redhat.com>
4889 * gio/glocalfileinfo.c:
4890 Correctly detect broken symlinks
4892 2007-09-26 Alexander Larsson <alexl@redhat.com>
4894 * gio/gcancellable.c (g_cancellable_cancel):
4895 Allow cancel on NULL cancellable
4897 2007-09-25 Alexander Larsson <alexl@redhat.com>
4899 * gio/gsimpleasyncresult.c:
4900 Don't allocate g_error manually.
4901 Fixes g_slice/g_new mixup crash
4903 2007-09-25 Alexander Larsson <alexl@redhat.com>
4905 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4906 Actually set active_backend.
4907 This means the monitor will be cancelled correctly.
4909 2007-09-25 Alexander Larsson <alexl@redhat.com>
4911 * gio/gdirectorymonitor.c:
4912 Set timeout to NULL when destroying
4914 2007-09-25 Alexander Larsson <alexl@redhat.com>
4917 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4918 that is a better description of the error.
4920 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4922 * gio/gvfs.c: (g_vfs_get_local):
4923 Make the local vfs variable static. The same instance should
4926 2007-09-24 Alexander Larsson <alexl@redhat.com>
4928 * gio/glocalfileinfo.c:
4929 Pass in actual length read into sniffer, not the length
4932 2007-09-21 Alexander Larsson <alexl@redhat.com>
4934 * gio/gfileenumerator.c:
4937 * gio/gfileinputstream.c:
4938 * gio/gfileoutputstream.c:
4939 * gio/ginputstream.c:
4940 * gio/goutputstream.c:
4941 Don't crash if async callbacks are NULL
4943 2007-09-20 Alexander Larsson <alexl@redhat.com>
4946 Add async enumerate_children method and default
4949 2007-09-20 Alexander Larsson <alexl@redhat.com>
4952 Add g_file_contains_file & g_file_get_relative_path, since they
4953 were needed for nautilus.
4954 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4959 Implement new methods
4961 2007-09-17 Alexander Larsson <alexl@redhat.com>
4964 * gio/gfileinputstream.[ch]:
4965 * gio/gfileoutputstream.[ch]:
4967 * gio/glocalfileenumerator.[ch]:
4968 * gio/glocalfileinfo.[ch]:
4969 * gio/glocalfileinputstream.c:
4970 * gio/glocalfileoutputstream.c:
4971 * gio/gpollfilemonitor.c:
4972 * programs/gio-copy.c:
4973 * programs/gio-info.c:
4974 * programs/gio-move.c:
4975 Rename get_file_info to query_info() to make it clearer
4976 that these are not simple getters, but do i/o.
4978 2007-09-17 Alexander Larsson <alexl@redhat.com>
4980 * gio/gdatainputstream.[ch]:
4981 * gio/test-streams.c:
4982 Use _read_XXX instead of _get_XXX for the i/o calls
4985 2007-09-17 Alexander Larsson <alexl@redhat.com>
4988 Added needed stuff to TODO comment
4990 2007-09-17 Alexander Larsson <alexl@redhat.com>
4992 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4993 Don't error out removing the backup copy if it doesn't
4996 2007-09-14 Alexander Larsson <alexl@redhat.com>
4998 * programs/Makefile.am:
4999 * programs/gvfs-*.c:
5001 Renamed apps from gvfs-xxx to gio-xxx.
5003 2007-09-14 Alexander Larsson <alexl@redhat.com>
5006 * gio/gfileoutputstream.[ch]:
5007 * gio/glocalfileoutputstream.c:
5008 * programs/gvfs-save.c:
5009 g_file_output_stream_get_etag doesn't do i/o, so remove
5010 cancellation and error.
5012 2007-09-14 Alexander Larsson <alexl@redhat.com>
5015 Add new_etag output to replace_contents functions
5017 2007-09-14 Alexander Larsson <alexl@redhat.com>
5019 * gio/gfileoutputstream.[ch]:
5020 Add async get_file_info and default implementation
5022 2007-09-14 Alexander Larsson <alexl@redhat.com>
5024 * gio/gfileinputstream.c:
5025 Implement fallback wrapper for async get_file_info
5027 2007-09-14 Alexander Larsson <alexl@redhat.com>
5030 Add etag out argument to load_contents
5035 2007-09-14 Alexander Larsson <alexl@redhat.com>
5037 * gio/gcontenttype.c (looks_like_text):
5038 Whitespace like tab, cr and lf do not make the
5041 2007-09-14 Alexander Larsson <alexl@redhat.com>
5043 * gio/gfileinputstream.[ch]:
5044 Add async get_file_info.
5046 2007-09-13 Alexander Larsson <alexl@redhat.com>
5048 * gio/goutputstream.c (g_output_stream_write_all):
5049 Allow NULL for bytes_written
5051 2007-09-13 Alexander Larsson <alexl@redhat.com>
5053 * gio/gmemoryinputstream.[ch]:
5054 Add accessors for data
5056 2007-09-13 Alexander Larsson <alexl@redhat.com>
5058 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5059 Don't crash if length is NULL