1 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
3 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
4 Fix trivial typo to unbreak the build (there was a colon
5 instead of a semicolon at the end of a statement).
7 2008-09-15 Matthias Clasen <mclasen@redhat.com>
9 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
12 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
15 2008-09-15 Matthias Clasen <mclasen@redhat.com>
17 Bug 551681 – g_content_type_guess() too naive with filenames
19 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
20 at the end of the filename, and declare it a directory.
21 Patch by Bastien Nocera
23 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
25 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
28 * gdesktopappinfo.c: add a note in the docs clarifying what the
29 "filename" parameter really is.
31 2008-09-12 Tor Lillqvist <tml@novell.com>
33 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
34 FormatMessage() etc here. Call g_win32_error_message() instead
35 which already does all that. Besides, the code was broken as it
36 called the default "A" version of FormatMessage() but still
37 thought it produced a wide string.
39 2008-09-12 Michael Natterer <mitch@imendio.com>
41 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
44 2008-09-08 Christian Neumair <cneumair@gnome.org>
46 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
47 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
48 Use non-blocking pipe for mount helper I/O. Fixes #550647.
50 2008-09-06 Matthias Clasen <mclasen@redhat.com>
52 Bug 551149 – xdgmime mem leak
54 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
55 a memory leak. Patch by Christian Persch
57 2008-09-04 Tor Lillqvist <tml@novell.com>
59 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
62 2008-09-02 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.18.0 ===
66 2008-09-02 Michael Natterer <mitch@imendio.com>
68 * *.h: big header formatting cleanup: indentation, vtable
69 formatting, consistent spacing in (* vfunc), trailing whitespace
70 removal. Formatting should be pretty consistent in all GIO headers
73 2008-09-02 Matthias Clasen <mclasen@redhat.com>
75 * gmount.h: Document guess_content_type sync vfunc.
77 2008-09-02 Michael Natterer <mitch@imendio.com>
79 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
80 fix parent_class member to be GFilterOutputStreamClass (not
81 GOutputStreamClass). Drop three pointers of padding, which is
82 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
83 so the class struct size stays the same.
85 2008-09-02 Matthias Clasen <mclasen@redhat.com>
87 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
89 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
90 nonexisting return values. Pointed out by Cosimo Cecchi.
92 2008-08-23 Tor Lillqvist <tml@novell.com>
94 Bug 548988 - g_file_replace fails on Windows when the target file
97 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
98 Windows, close the file before potentially renaming it (in case we
99 have been writing to a file with a temporary name).
101 (g_local_file_output_stream_close, handle_overwrite_open): Use
102 GLocalFileStat instead of plain struct stat, for passing to
103 _g_local_file_info_create_etag(). Thus also use _fstati64()
104 instead of plain fstat() on Windows.
106 2008-08-18 Matthias Clasen <mclasen@redhat.com>
108 * === Released 2.17.7 ===
110 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
112 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
115 2008-08-13 Tor Lillqvist <tml@novell.com>
117 * win32/gwinhttpvfs.c
118 * win32/gwinhttpvfs.h
119 * win32/gwinhttpfile.c
120 * win32/gwinhttpfileinputstream.c
121 * win32/gwinhttpfileoutputstream.c: Refactor some common code
122 snippets into helper functions. Check HTTP response status
123 codes. Implement g_winhttp_file_query_info(), looking at
124 Content-Length, Content-Type and Last-Modified.
126 * win32/winhttp.h: Add some symbolic constants that are not
127 publicly documented. Just a handful, so it should be OK to use
128 information from the Windows SDK's headers.
130 2008-08-13 Tor Lillqvist <tml@novell.com>
132 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
135 * win32/gwin32directorymonitor.c
136 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
138 2008-08-13 Matthias Clasen <mclasen@redhat.com>
141 * goutputstream.c: Add intro docs.
143 2008-08-13 Tor Lillqvist <tml@novell.com>
145 * win32/gwinhttpfileoutputstream.c
146 (g_winhttp_file_output_stream_write): Don't write the
147 Content-Length header ourselves, WinHttpSendRequest() takes care
148 of that when the dwTotalLength parameter is non-zero. Increment
149 offset by the number of actual bytes sent, although I wonder if
150 such a scenario is possible where less than requested would be
151 sent and accepted by the server without errors.
153 2008-08-13 Tor Lillqvist <tml@novell.com>
155 * win32/gwinhttpvfs.c
156 * win32/gwinhttpvfs.h
157 * win32/gwinhttpfile.c
158 * win32/gwinhttpfile.h
159 * win32/gwinhttpfileinputstream.c
160 * win32/gwinhttpfileinputstream.h
161 * win32/gwinhttpfileoutputstream.c
162 * win32/gwinhttpfileoutputstream.h: New files implementing
163 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
164 Windows. The implementation uses the WinHttp API. Both reading and
165 writing are supported, i.e. GET and PUT requests. When writing,
166 each write call is done using a separate PUT request with a
167 Content-Range header. Requests for file URIs and plain pathnames
168 are forwarded to GLocalVfs.
170 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
171 WINE. Used as there is no <winhttp.h> bundled with mingw, and
172 requiring people to download the Windows SDK just for this one
173 header is not reasonable.
175 * win32/Makefile.am: Add above files.
177 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
178 the plumbing for the above.
180 2008-08-11 Sven Neumann <sven@gimp.org>
182 * gfilenamecompleter.c
183 * glocaldirectorymonitor.c
185 * gunionvolumemonitor.c
189 * gunixvolumemonitor.c
192 * gwin32volumemonitor.c: use canonical signal names.
194 2008-08-11 Tor Lillqvist <tml@novell.com>
196 * Makefile.am: Put a list of the platform-dependent .la files in
197 the subdirectories in the platform_deps Make variable, and make
198 libgio-2.0.la depend on that, so that it gets relinked if one of
199 the dependent libraries has changed.
201 2008-08-11 Tor Lillqvist <tml@novell.com>
203 * Makefile.am (platform_libadd): Remove -lwininet which had been
204 added by mistake. We will probably eventually be using WinHTTP,
205 not the older WinInet anyway. (Actually I am working on it.)
207 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
209 Bug 547080 – g_file_copy leaks expected errors
211 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
212 before trying the next fallback routine.
214 2008-08-09 Loïc Minier <lool@dooz.org>
216 Bug 535124 – umask 002 not being applied for new directories, new
217 files get the correct umask
219 * gfile.c (g_file_make_directory)
220 (g_file_make_directory_with_parents): Document ownership and
221 permissions of newly created directories as being the default
224 2008-08-08 Loïc Minier <lool@dooz.org>
226 Bug 535124 – umask 002 not being applied for new directories, new
227 files get the correct umask
229 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
232 2008-08-08 Tor Lillqvist <tml@novell.com>
234 * gwin32mount.c: Remove unused code. Whitespace cleanup.
236 * gwin32volumemonitor.c (get_connected_drives): Put questionable
237 code that didn't actually do anything inside #if 0, and add a
238 comment wondering what the code was supposed to do. This also gets
239 rid of a leftover debugging printout.
241 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
243 * gfileicon.c (g_file_icon_get_property)
244 (g_file_icon_set_property): New functions.
245 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
247 (g_file_icon_new): Use the property (bug #546132).
249 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
251 * gthemedicon.c (g_themed_icon_get_property): Also handle
252 `PROP_USE_DEFAULT_FALLBACKS'.
253 (g_themed_icon_class_init): Make
254 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
256 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
258 Bug 546371 – Improve docs re g_file_monitor
260 * gfilemonitor.c: Mention g_file_monitor() in the docs.
262 2008-08-04 Matthias Clasen <mclasen@redhat.com>
264 * === Released 2.17.6 ===
266 2008-08-04 Matthias Clasen <mclasen@redhat.com>
268 * === Released 2.17.5 ===
270 2008-08-04 Matthias Clasen <mclasen@redhat.com>
272 Bug 546017 – Don't copy attributes when copying a symlink
274 * gfile.c (g_file_copy_attributes): Specify
275 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
276 g_file_set_attributes_from_info. Patch by Christian Kellner
278 2008-08-04 Matthias Clasen <mclasen@redhat.com>
280 * gemblemedicon.[hc]:
282 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
283 a bit more extensible. Work by Clemens Buss.
285 * gioenums.h: Add GEmblemOrigin.
288 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
290 Bug 546079 – leak in xdgmime
292 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
294 2008-08-03 Tor Lillqvist <tml@novell.com>
296 * win32/gwin32directorymonitor.h
297 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
300 2008-08-03 Tor Lillqvist <tml@novell.com>
302 * win32/gwin32directorymonitor.c
303 (g_win32_directory_monitor_callback): Make prototype match
304 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
305 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
308 (g_win32_directory_monitor_constructor):
309 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
310 names in the GLib API on Windows, so convert to UTF-16 and open
313 2008-08-03 Tor Lillqvist <tml@novell.com>
315 Bug 541036 - Gnumeric crashes when trying to open Desktop or
316 user's folder under Windows
318 * win32/gwin32directorymonitor.c
319 (g_win32_directory_monitor_constructor): Ignore error from
320 CreateFile() when opening directory. Instead of asserting, just
321 store INVALID_HANDLE_VALUE then in
322 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
323 ReadDirectoryChangesW().
324 (g_win32_directory_monitor_cancel): Don't attempt to close
325 directory handle if it is INVALID_HANDLE_VALUE.
327 2008-08-01 Matthias Clasen <mclasen@redhat.com>
329 * gdesktopappinfo.c: Remove debug spew
331 2008-08-01 Hans Breuer <hans@breuer.org>
333 * makefile.msc : add gemblembedicon
335 2008-07-30 Matthias Clasen <mclasen@redhat.com>
337 Bug 545457 – gdmsetup crashed with SIGSEGV in
338 g_unix_mount_guess_should_display()
340 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
341 crash if no mount is found.
343 2008-07-28 Matthias Clasen <mclasen@redhat.com>
345 Bug 545203 – gfile.c: argument is different type.
347 * gfile.c (open_read_async_thread): Pass a GError **
348 to g_file_set_error_literal.
349 Reported by Kazuki Iwamoto
351 2008-07-28 Matthias Clasen <mclasen@redhat.com>
353 Bug 545157 – wrong/no list of "open with" applications for .cc and
356 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
357 Collect all ancestors, not just direct parents. Pointed
358 out by Bastien Nocera
360 2008-07-28 Matthias Clasen <mclasen@redhat.com>
362 * Makefile.am: Install gemblemedicon.h
364 2008-07-28 Matthias Clasen <mclasen@redhat.com>
366 * gemblemedicon.[hc]: Add a GIcon implementation that can
367 add an emblem to another icon.
374 * gfileicon.c: Small documentation additions.
376 2008-07-28 Tor Lillqvist <tml@novell.com>
378 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
381 2008-07-27 Tor Lillqvist <tml@novell.com>
383 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
385 2008-07-24 David Zeuthen <davidz@redhat.com>
389 Also export a g_mount_guess_content_type_sync() function.
391 2008-07-23 Matthias Clasen <mclasen@redhat.com>
393 529694 – SELinux context setting support
395 * gfileinfo.c: Support setting selinux attributes.
396 Patch by Tomas Bzatek
398 2008-07-22 Priit Laes <plaes@plaes.org>
400 Bug 544140 - fam-helper 64-bit issue?
402 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
404 2008-07-21 Matthias Clasen <mclasen@redhat.com>
406 * === Released 2.17.4 ===
408 2008-07-20 Matthias Clasen <mclasen@redhat.com>
410 * gvolumemonitor.[hc]:
415 * gmount.c: Documentation fixes
417 2008-07-19 Matthias Clasen <mclasen@redhat.com>
419 543504 – crash in Epiphany Web Browser: Opening local file
430 * gvolume.c: Register types thread-safely.
431 Patch by Christian Persch
433 2008-07-18 Matthias Clasen <mclasen@redhat.com>
435 * gcontenttype.c: Remove debug spew
437 2008-07-18 Matthias Clasen <mclasen@redhat.com>
439 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
442 * fen/fen-kernel.c: Remove a warning that was causing
443 crashes. Reported by Lin Ma.
445 2008-07-18 Matthias Clasen <mclasen@redhat.com>
447 Bug 543040 – async reading on dummy file will crash on
450 * gfile.c (open_read_async_thread): Cope with read_fn being
451 NULL. Reported by Lin Ma.
453 2008-07-18 Matthias Clasen <mclasen@redhat.com>
456 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
458 2008-07-16 Matthias Clasen <mclasen@redhat.com>
462 * giomodule.c: Rename a chapter id to avoid filename conflict.
464 2008-07-16 Matthias Clasen <mclasen@redhat.com>
466 Bug 540616 – mem leak in filechooser button
468 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
469 the mount entry. Reported by Chrisitan Persch
471 2008-07-16 Matthias Clasen <mclasen@redhat.com>
473 * gfile.c: Small documentation fixes.
475 2008-07-15 Matthias Clasen <mclasen@redhat.com>
477 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
479 2008-07-08 Matthias Clasen <mclasen@redhat.com>
484 * gmount.c: Documentation improvements.
486 2008-07-08 Matthias Clasen <mclasen@redhat.com>
489 * gmount.[hc]: Add g_mount_guess_content_type().
491 2008-07-06 David Zeuthen <davidz@redhat.com>
494 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
495 is needed for easily handling adoption of foreign volumes by
496 out-of-process volume monitors (#541793)
498 2008-07-06 David Zeuthen <davidz@redhat.com>
500 * gvolumemonitor.[ch]:
501 * gunionvolumemonitor.c: Export the eject-button signal on the
502 volume monitor class (#541794).
504 2008-07-06 Matthias Clasen <mclasen@redhat.com>
506 * gappinfo.c: More doc tweaks
508 2008-07-05 Matthias Clasen <mclasen@redhat.com>
510 * gappinfo.c: Clarify some docs
512 2008-07-03 Matthias Clasen <mclasen@redhat.com>
514 * gdesktopappinfo.c: Fix a stupid mistake.
516 2008-07-02 Matthias Clasen <mclasen@redhat.com>
518 * === Released 2.17.3 ===
520 2008-07-02 Matthias Clasen <mclasen@redhat.com>
522 * gfilemonitor.c: Fix the build.
524 2008-07-02 Matthias Clasen <mclasen@redhat.com>
526 Bug 536160 – Add g_file_monitor()
529 * gfile.[hc]: Add g_file_monitor which can return either
530 a file or a directory monitor. Proposed by Behdad Esfahbod
532 2008-07-02 Matthias Clasen <mclasen@redhat.com>
534 536733 – gio build failure on Irix
536 * glocalfile.c: Use a configure check for structfs.f_bavail.
538 2008-07-02 Matthias Clasen <mclasen@redhat.com>
540 Bug 534639 – add g_desktop_app_info_new_from_keyfile
543 * gdesktopappinfo.[hc]: Add a function to create a
544 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
546 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
548 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
550 2008-07-01 Matthias Clasen <mclasen@redhat.com>
552 * gunixmounts.c: Fix a doc typo.
554 2008-07-01 Cody Russell <bratsche@gnome.org>
556 * gio/gcontenttype.c:
557 * gio/gwin32appinfo.c:
558 * gio/gwin32volumemonitor.c:
559 * gio/gwin32mount.c: Fixed some include problems.
561 2008-07-01 Cody Russell <bratsche@gnome.org>
565 Moved all relevant typedefs into these files.
568 Updated wrt added files.
570 Split types into separate file for easier maintainership. (#538564)
572 2008-06-30 Matthias Clasen <mclasen@redhat.com>
574 Bug 540331 – g_file_append_to () documentation: can return NULL
576 * gfile.c (g_file_append_to): Clarify docs.
579 2008-06-30 Matthias Clasen <mclasen@redhat.com>
581 Bug 539090 – g_content_type_from_mime_type() should unalias
583 * gcontentype.c (g_content_type_from_mime_type): Unalias.
584 Patch by Markus Bergman
586 2008-06-30 Matthias Clasen <mclasen@redhat.com>
588 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
591 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
592 on ppc and alpha. Reported by Mart Raudsepp
594 2008-06-29 Matthias Clasen <mclasen@redhat.com>
597 * tests/memory-output-stream.c: Add some tests for
600 2008-06-29 Matthias Clasen <mclasen@redhat.com>
602 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
605 * gmemoryoutputstream.c (array_resize): Handle truncation to
606 zero correctly. Reported by Akira Tagoh
608 2008-06-29 Matthias Clasen <mclasen@redhat.com>
610 * gmemoryoutputstream.c: Trivial doc fixes
612 2008-06-29 Matthias Clasen <mclasen@redhat.com>
614 Bug 540802 – g_list_prepend doesn't concat lists
616 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
617 one list to another. Pointed out by Jan Arne Petersen
619 2008-06-28 Michael Natterer <mitch@imendio.com>
621 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
623 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
625 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
626 to avoid problems with partial icon themes.
628 2008-06-17 Hans Breuer <hans@breuer.org>
630 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
631 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
632 access again on win32, see bug #538127
633 * giomodule.c : ensure GWin32VolumeMonitor is registered
634 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
635 * Makefile.am makefile.msc : updated
637 2008-06-16 Hans Breuer <hans@breuer.org>
639 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
640 and initialization in one step avoids c99ism
642 2008-06-16 Christian Persch <chpe@gnome.org>
645 * gio/gbufferedinputstream.c
647 * gio/gdatainputstream.c
648 * gio/gdesktopappinfo.c
650 * gio/gfileenumerator.c
651 * gio/gfileinputstream.c
652 * gio/gfileoutputstream.c
654 * gio/glocaldirectorymonitor.c
656 * gio/glocalfileenumerator.c
657 * gio/glocalfileinfo.c
658 * gio/glocalfilemonitor.c
659 * gio/glocalfileoutputstream.c
660 * gio/gmemoryinputstream.c
661 * gio/gmemoryoutputstream.c
662 * gio/goutputstream.c
663 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
666 2008-06-16 Tor Lillqvist <tml@novell.com>
668 Bug 538362 - Get Win32 icons back in the file chooser
670 * gcontenttype.c (g_content_type_get_icon): Look up the icon
671 corresponding to a file extension in the Registry. Patch by Hans
673 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
675 2008-06-16 Tor Lillqvist <tml@novell.com>
677 Patches by Hans Breuer:
679 * glocalfile.c (is_xp_or_later): Handle compiling against older
680 SDK headers with missing VerifyVersionInfo(). Conditioned on
681 _MSC_VER, but should probably use some better test.
682 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
683 uninitialised statfs_result variable on Win32.
685 2008-06-16 Michael Natterer <mitch@imendio.com>
687 * *.c: chain up unconditionally in finalize() and dispose(). Also
688 don't dereference these function pointers when calling them since
689 that has no meaning at all.
691 2008-06-16 Ross Burton <ross@burtonini.com>
694 Remove check for dispose implementation as it annoys Emmanuele.
696 2008-06-16 Ross Burton <ross@burtonini.com>
698 Bug 536252 – GFileEnumerator should allow access to the containing
704 Add g_file_enumerator_get_container() and a container writeable
705 construct-only property. Also shuffle around typedefs to make it
708 * glocalfileenumerator.c:
709 * glocalfileenumerator.h:
711 Instead of a string filename take a GFile in the constructor and
712 use it to set the container property.
717 2008-06-16 Matthias Clasen <mclasen@redhat.com>
719 * gfile.c: Make includes more uniform
721 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
723 * tests/live-g-file.c (sample_struct):
724 Use less fancy unicode filenames, so the test doesn't fail
725 on Mac OS X (#531476).
727 2008-06-12 Matthias Clasen <mclasen@redhat.com>
729 * === Released 2.17.2 ===
731 2008-06-12 Matthias Clasen <mclasen@redhat.com>
733 * === Released 2.17.1 ===
735 2008-06-11 A. Walton <awalton@gnome.org>
737 * tests/g-file.c (test_g_file_new_null):
738 Fix broken test case.
740 2008-06-11 Matthias Clasen <mclasen@redhat.com>
742 * pltcheck.sh: We use g_clear_error now.
744 2008-06-11 Matthias Clasen <mclasen@redhat.com>
746 * glocalfile.c (g_local_file_enumerate_children): Revert
747 an unintended change.
749 2008-06-11 Matthias Clasen <mclasen@redhat.com>
751 * gfile.c (g_file_replace_contents): Don't unref before the last use.
753 2008-06-10 Matthias Clasen <mclasen@redhat.com>
755 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
758 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
759 as icon for the desktop directory, also make user-home and
760 user-desktop the preferred icons.
762 2008-06-10 Matthias Clasen <mclasen@redhat.com>
765 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
766 to add a name to the front of the list.
768 2008-06-10 Matthias Clasen <mclasen@redhat.com>
770 Bug 537392 – Additional colon in xattr name
772 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
773 too. Reported by Alessandro Morandi
775 2008-06-10 Matthias Clasen <mclasen@redhat.com>
777 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
780 * glocalfile.c (get_fs_type): Add afs and autofs.
781 Patch by Danny Baumann.
783 2008-06-10 Matthias Clasen <mclasen@redhat.com>
785 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
787 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
788 is no parent. (Owen Taylor, patch by Christian Neumair)
790 2008-06-10 Paolo Borelli <pborelli@katamail.com>
792 * gfile.c (g_file_replace_contents): do not leak the output stream.
794 2008-06-10 Michael Natterer <mitch@imendio.com>
796 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
797 uninitialized memory as array index.
799 2008-06-10 Tor Lillqvist <tml@novell.com>
801 * gcontenttype.c (g_content_type_can_be_executable)
802 (g_content_type_get_icon) [Win32]: Add TODO comments.
804 2008-06-09 Matthias Clasen <mclasen@redhat.com>
806 * xdgmime/Makefile.am: Fix the build
808 2008-06-09 Matthias Clasen <mclasen@redhat.com>
810 * gcontenttype.c (g_content_type_get_icon): Use icons specified
811 in the shared mime database, if available.
813 * xdgmime/*: Sync with upstream. This brings support for
814 glob weights, generic icons, and changes the cache format to
817 2008-05-28 Michael Natterer <mitch@imendio.com>
819 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
820 the global CPPFLAGS now.
822 * tests/data-input-stream.c
823 * tests/data-output-stream.c
824 * tests/g-file-info.c
826 * tests/live-g-file.c
827 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
829 2008-05-27 Matthias Clasen <mclasen@redhat.com>
831 * === Released 2.17.0 ===
833 * tests/live-g-file.c: Clean up after the tests, so make distcheck
834 doesn't complain about leftover files.
836 2008-05-27 simon.zheng <simon.zheng@sun.com>
838 * glocalfile.c: (g_local_file_query_filesystem_info):
839 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
841 2008-05-26 Michael Natterer <mitch@imendio.com>
843 * gmemoryoutputstream.h: declare
844 g_memory_output_stream_get_data_size().
846 2008-05-26 Matthias Clasen <mclasen@redhat.com>
848 * tests/*: Make tests work
850 2008-05-26 Matthias Clasen <mclasen@redhat.com>
852 * gio.symbols: Add g_memory_output_stream_get_data_size.
854 2008-05-25 Ross Burton <ross@burtonini.com>
857 Fix typo in error message (#534764).
859 2008-05-25 Ross Burton <ross@burtonini.com>
862 Fix circular dependency loop for gioenumtypes.h (#534759).
864 2008-05-19 Hans Breuer <hans@breuer.org>
866 * Makefile.am : EXTRA_DIST += makefile.msc
868 2008-05-17 Matthias Clasen <mclasen@redhat.com>
871 * gcontenttype.c: (g_content_type_from_mime_type):
872 New function to create a content type from a mime type. (#527175,
875 2008-05-17 Matthias Clasen <mclasen@redhat.com>
877 Bug 532965 – Should not return filesystem::free for certain file systems
879 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
880 free space for ncpfs.
882 2008-05-17 Matthias Clasen <mclasen@redhat.com>
884 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
886 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
887 st_dev might be zero.
889 2008-05-16 Tor Lillqvist <tml@novell.com>
891 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
892 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
894 2008-05-13 Bastien Nocera <hadess@hadess.net>
896 * gfile.c (has_valid_scheme): A URI scheme must start with a
897 letter, even if later more characters are allowed (#532852)
899 2008-05-05 Michael Natterer <mitch@imendio.com>
901 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
902 code from being checked in that breaks the build of applications
903 which use G_DISABLE_SINGLE_INCLUDES.
905 * makegioalias.pl: make the alias file include "glib.h" instead of
908 * gio.symbols: whitespace change to force regeneration of the
909 alias file after above script change.
911 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
913 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
915 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
917 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
919 2008-04-28 David Zeuthen <davidz@redhat.com>
921 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
922 displaying mounts in a subdirectory not accessible to the
925 2008-04-22 Michael Natterer <mitch@imendio.com>
927 * Makefile.am: fix library versioning (it was 0.0.0).
929 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
931 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
932 Default disable all loggings.
933 * fen/fen-kernel.c: (printevent), (port_add_kevent),
934 (port_fetch_event_cb): Fixed two macro nits.
936 2008-04-16 Matthias Clasen <mclasen@redhat.com>
938 * xdgmime/xdgmime.c: Rework the timestamp checking code
939 to protect against duplicate directories in XDG_DATA_DIRS.
940 Fixes fd.o bug 12513, reported by Joe Shaw.
942 2008-04-16 Matthias Clasen <mclasen@redhat.com>
944 Partically revert the last commit after realizing that
945 xdg_mime_media_type_equal doesn't have to init at all.
948 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
950 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
952 2008-04-16 Matthias Clasen <mclasen@redhat.com>
954 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
955 reported by Joe Shaw and Federico Mena Quintero.
957 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
958 (xdg_mime_media_type_equal): Turn into a wrapper around the
961 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
962 functions throughout.
964 2008-04-16 Michael Meeks <michael.meeks@novell.com>
966 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
967 tolerate an empty TryExec= line without failing; nautilus used
968 to create launchers with these in previous versions. Fixes #528433
970 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
972 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
973 after name. Fixes #527132.
975 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
977 * gfile.c: (g_file_replace):
980 2008-04-07 Matthias Clasen <mclasen@redhat.com>
982 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
984 * gfile.c (file_copy_fallback): Fix the argument order. Patch
985 by Christian Kellner.
987 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
989 * gunixmounts.c: (g_unix_mount_guess_should_display):
990 Don't list the user directory as a mount, fix potential issue
991 when other users have a similar naming and don't special case the
992 gvfs mounts there since that's not required (#525866)
994 2008-03-31 Alexander Larsson <alexl@redhat.com>
996 * glocalfile.c (get_parent):
999 2008-03-31 A. Walton <awalton@svn.gnome.org>
1001 * gfile.c (g_file_query_file_type):
1002 Always return a GFileType enum value (#520715).
1004 2008-03-31 Alexander Larsson <alexl@redhat.com>
1006 * glocalfileenumerator.c:
1007 Read readdir() info in chunks (of 1000) and sort
1008 the chunks by inode before stat:ing.
1009 This is a 20% performance increase in testing
1010 gvfs-ls on /usr/bin with cold cache.
1012 2008-03-31 Alexander Larsson <alexl@redhat.com>
1014 * gmemoryoutputstream.c:
1015 Clarify docs for g_memory_output_stream_get_size.
1016 Add g_memory_output_stream_get_data_size.
1018 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1022 * gfile.h: Add g_file_query_file_type convenience function
1023 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1025 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1027 * gfileenumerator.c:
1028 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1030 2008-03-28 A. Walton <awalton@svn.gnome.org>
1032 * giomodule.c (_g_io_modules_ensure_loaded):
1033 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1036 2008-03-28 Alexander Larsson <alexl@redhat.com>
1039 (copy_stream_with_progress):
1042 2008-03-28 Alexander Larsson <alexl@redhat.com>
1045 (copy_stream_with_progress):
1046 (file_copy_fallback):
1047 Fallback to g_file_query_info for source size
1048 if g_file_input_stream_query_info fails. (#524579)
1050 2008-03-28 Alexander Larsson <alexl@redhat.com>
1052 * glocalfile.c (g_local_file_move):
1053 Reuse old string instead of adding new one.
1055 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1057 * fen/*.[hc]: still copyright issue. I hate copyright.
1059 2008-03-27 Alexander Larsson <alexl@redhat.com>
1061 * glocalfile.c (g_local_file_move):
1062 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1063 file over directory. This is according to the docs and what the move via
1064 copy+remove fallback does.
1066 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1068 * fen/*.[hc]: Updated copyright.
1070 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1072 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1074 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1076 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1077 not emit attribute changed events when optimizing changed events.
1078 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1081 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1083 * gmountoperation.[hc]: Small documentation additions
1085 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1087 * gunixmounts.c: (guess_mount_type):
1088 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1090 2008-03-19 Alexander Larsson <alexl@redhat.com>
1093 (copy_stream_with_progress):
1094 Bump block side for copy to 64k to minimize
1095 overhead for low latency links. (#523015)
1097 2008-03-16 Tor Lillqvist <tml@novell.com>
1099 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1100 depend on gio.def on Windows.
1102 2008-03-12 David Zeuthen <davidz@redhat.com>
1106 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1108 2008-03-14 Alexander Larsson <alexl@redhat.com>
1112 Avoid redudant tests (#521851)
1113 Patch from Josselin Mouette
1115 2008-03-14 Alexander Larsson <alexl@redhat.com>
1118 (g_file_monitor_is_cancelled):
1119 Fix C89 issue (#521672)
1120 Patch from Jens Granseuer
1122 2008-03-14 Alexander Larsson <alexl@redhat.com>
1124 * fam/fam-helper.[ch]:
1126 Shut down fam (including removing fam GSource) when
1127 module is unloaded (#521513)
1128 Patch from Joe Marcus Clarke
1130 2008-03-14 Alexander Larsson <alexl@redhat.com>
1133 (_g_io_modules_ensure_loaded):
1136 2008-03-14 Alexander Larsson <alexl@redhat.com>
1139 (g_local_file_query_filesystem_info):
1140 Use right define name for f_fstypename member check
1142 2008-03-14 Alexander Larsson <alexl@redhat.com>
1145 * fen/Makefile.am: Added.
1146 * fen/fen-data.[ch]: Added.
1147 * fen/fen-dump.[ch]: Added.
1148 * fen/fen-helper.[ch]: Added.
1149 * fen/fen-kernel.[ch]: Added.
1150 * fen/fen-missing.[ch]: Added.
1151 * fen/fen-node.[ch]: Added.
1152 * fen/fen-sub.[ch]: Added.
1153 * fen/gfendirectorymonitor.[ch]: Added.
1154 * fen/gfenfilemonitor.[ch]: Added.
1156 Added Solaris FEN file notification backend.
1157 Patch from Lin Ma <Lin.Ma@Sun.COM>
1159 2008-03-13 Tor Lillqvist <tml@novell.com>
1161 * Makefile.am: Actually use the gio.def file when linking the
1162 library on Windows. Produce .lib library for Microsoft's toolchain
1163 when possible. Install the .lib and .def file like for the other
1166 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1168 * tests/live-g-file.c:
1169 Include live-g-file in standard set of tests, making a temporary
1170 directory in source structure.
1172 Clean target directory before the tests (write mode only)
1174 2008-03-12 Tor Lillqvist <tml@novell.com>
1176 Bug 517419 - gio win32 directory monitor
1177 Implementation by Vlad Grecescu.
1180 * win32/gwin32directorymonitor.h
1181 * win32/gwin32directorymonitor.c: New files.
1183 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1185 * Makefile.am: Add the win32 subdirectory.
1187 2008-03-12 Tor Lillqvist <tml@novell.com>
1189 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1190 normal struct stat on Unix but struct _stati64 on Windows to have
1191 access to 64-bit file size information. Use that instead of struct
1192 stat in the functions declared here in this private header.
1194 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1195 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1196 warnings about unused functions and variables. Don't set
1197 meaningless attributes like inode numbers on Windows.
1199 2008-03-12 Benjamin Otte <otte@gnome.org>
1202 trim whitespace so gtk-doc groks the function name
1204 2008-03-12 Tor Lillqvist <tml@novell.com>
1206 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1207 returning FALSE, on Win32.
1209 2008-03-11 Alexander Larsson <alexl@redhat.com>
1212 * glocalfileinfo.[ch]:
1213 Correctly implement can_trash by actually
1214 looking for a trash dir, not just assuming
1217 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1219 * === Released 2.16.1 ===
1221 2008-03-11 Alexander Larsson <alexl@redhat.com>
1224 Fix crashes in new constructor and properties code
1226 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1228 * gfile.c: Minor spelling correction in documentation:
1229 existance -> existence.
1231 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1233 * === Released 2.16.0 ===
1235 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1237 * gio.symbols: Remove g_file_contains_file here, too.
1239 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1241 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1242 Samuel Cormier-Iijima)
1244 2008-03-08 Tor Lillqvist <tml@novell.com>
1246 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1249 2008-03-07 Alexander Larsson <alexl@redhat.com>
1252 (g_local_file_query_filesystem_info):
1253 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1254 Patch from Jasper Lievisse Adriaanse
1256 2008-03-06 Tor Lillqvist <tml@novell.com>
1258 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1259 comments for the *_USEC attributes.
1261 2008-03-06 Alexander Larsson <alexl@redhat.com>
1263 * gfile.c (g_file_query_exists):
1264 Add g_return_val_if_fail check (#520700)
1266 2008-03-06 Alexander Larsson <alexl@redhat.com>
1268 * gdesktopappinfo.c:
1271 * gunionvolumemonitor.c:
1274 * tests/live-g-file.c:
1275 * xdgmime/xdgmimecache.c:
1276 Fix sparse warnings (#519489)
1278 2008-03-05 Alexander Larsson <alexl@redhat.com>
1281 Make cancellation threadsafe (i.e.
1282 guarantee its only done once, and always
1285 * glocaldirectorymonitor.c:
1286 Make sure we the monitor lives while the
1287 mounts_changed callback is being called (#520484)
1289 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1291 * gbufferedinputstream.c: Fix typo in parameter
1294 2008-03-04 Alexander Larsson <alexl@redhat.com>
1297 Remove deprecated symbols we kept for one release.
1299 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1302 * goutputstream.c: Tiny documentation corrections.
1304 2008-03-03 Alexander Larsson <alexl@redhat.com>
1306 * gunionvolumemonitor.c:
1308 Fix the adopt_orphan_mount vfunc to take a
1309 volume_monitor reference in an ABI compat way.
1310 This change is not API compat, but the added
1311 arg is not used in the only user of this vfunc, so
1312 all we get is a harmless warning in gvfs (#520169)
1314 2008-03-01 Benjamin Otte <otte@gnome.org>
1317 clarify docs for g_file_delete().
1319 2008-02-29 Alexander Larsson <alexl@redhat.com>
1323 Make sure empty files get text/plain type (#518720)
1325 2008-02-27 Alexander Larsson <alexl@redhat.com>
1331 (g_unix_volume_mount):
1332 Add missing GMountMountFlags argument
1334 2008-02-26 Alexander Larsson <alexl@redhat.com>
1337 (g_local_file_delete):
1338 Handle filesystems (like ntfs-3g) that return EEXIST instead
1339 of ENOTEMPTY (#518816)
1341 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1343 * === Released 2.15.6 ===
1345 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1347 * gfile.c (g_file_find_enclosing_mount):
1348 * ginputstream.c (g_input_stream_set_pending):
1349 * glocalfile.c (g_local_file_find_enclosing_mount):
1350 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1351 * goutputstream.c (g_output_stream_set_pending):
1353 Fixup translator comments (#518578).
1355 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1357 * gfile.c (g_file_find_enclosing_mount):
1359 * glocalfile.c (g_local_file_find_enclosing_mount):
1362 Fix a few typos in translator comments and documentation.
1364 2008-02-25 Alexander Larsson <alexl@redhat.com>
1371 Add translator comments (#518578)
1373 2008-02-25 Alexander Larsson <alexl@redhat.com>
1376 Reintroduce g_file_contains_file, keep around for one
1377 unstable release cycle to avoid crashing to many apps.
1378 Make sure to delete after release.
1380 2008-02-25 Alexander Larsson <alexl@redhat.com>
1383 Remove deprecated g_file_contains_file.
1385 2008-02-25 Alexander Larsson <alexl@redhat.com>
1388 Emit actual change signals in an idle handler.
1389 This avoids reentrance and locking problems in
1390 the file notification backends.
1392 2008-02-25 Alexander Larsson <alexl@redhat.com>
1395 (g_unix_mount_guess_should_display):
1396 Remove type guessing, instead just display
1397 mounts in /media and in ~/.
1399 2008-02-25 Alexander Larsson <alexl@redhat.com>
1402 Make new strings reuse old ones.
1404 2008-02-25 Alexander Larsson <alexl@redhat.com>
1407 Implement trashing and filesystem::readonly for win32 (#517235)
1408 Patch from Yevgen Muntyan
1410 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1412 * gfileinfo.h: Documentation fixes.
1414 2008-02-22 Alexander Larsson <alexl@redhat.com>
1416 * gcontenttype.c (g_content_type_get_icon):
1417 Look at old-style gnome mime icon names too, as many
1418 have not moved to the new style.
1420 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1422 * *.c: Correct the @include in for section docs.
1424 2008-02-21 David Zeuthen <davidz@redhat.com>
1426 * glocalfileinfo.c: (_g_local_file_info_get):
1428 (g_content_type_get_icon): Implement this function by
1429 moving bits from glocalfileinfo.c
1430 (g_content_type_get_description): Unalias before getting
1431 description (#517687)
1433 * gfile.c: (g_file_class_init),
1434 (g_file_query_filesystem_info_async),
1435 (g_file_query_filesystem_info_finish),
1436 (query_filesystem_info_data_free),
1437 (query_filesystem_info_async_thread),
1438 (g_file_real_query_filesystem_info_async),
1439 (g_file_real_query_filesystem_info_finish):
1440 * gfile.h: Implement async version of
1441 g_file_query_filesystem_info()
1443 * gfileinfo.h: Add new attributes for filesystem::use-preview
1445 * gio.symbols: Update
1447 * gthemedicon.c: (g_themed_icon_append_name):
1448 * gthemedicon.h: Add new new convenience function.
1450 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1451 (get_mounts), (get_volumes), (get_connected_drives),
1452 (get_volume_for_uuid), (get_mount_for_uuid),
1453 (g_union_volume_monitor_init), (populate_union_monitor),
1454 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1455 (g_volume_monitor_adopt_orphan_mount):
1457 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1458 monitor implementations to call into the main volume monitor. Also
1459 separate object initialization and volume monitor initialization
1460 such that non-native volume monitors can properly adopt their
1463 2008-02-21 Alexander Larsson <alexl@redhat.com>
1468 2008-02-21 Alexander Larsson <alexl@redhat.com>
1471 Add more documentation about how GFiles work (from #517086)
1473 2008-02-21 Alexander Larsson <alexl@redhat.com>
1477 Add new g_file_has_prefix that does the same as g_file_contains_file.
1478 Deprecate g_file_contains_file and add a macro that converts
1479 it to g_file_has_prefix.
1480 The reason for this change is that the contains_file() name seems to
1481 imply that this does more work than what it does, but its really only
1482 a name match (from #517086)
1487 Update to match the above change.
1489 2008-02-20 Benjamin Otte <otte@gnome.org>
1491 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1492 (g_file_eject_mountable):
1493 even more cases of not returning in error path
1495 2008-02-20 Benjamin Otte <otte@gnome.org>
1497 * gfile.c: (g_file_mount_mountable):
1498 return from function in error path.
1500 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1503 Remove trailing coma in GMountMountFlags struct
1505 2008-02-18 Alexander Larsson <alexl@redhat.com>
1509 * glocalfileoutputstream.c:
1510 Use g_unlink/g_rename instead of unlink/rename;
1511 do not pass raw filenames to g_set_error. (#517239)
1512 Patch from Yevgen Muntyan.
1514 2008-02-18 Alexander Larsson <alexl@redhat.com>
1517 * glocalfileoutputstream.c:
1518 Open files with O_BINARY on windows. (#517140)
1520 2008-02-14 Alexander Larsson <alexl@redhat.com>
1522 * glocalfileoutputstream.c:
1523 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1525 2008-02-14 Alexander Larsson <alexl@redhat.com>
1528 Copy permissions with file on copy (#514084)
1529 This is what cp does and makes sure e.g. the
1530 exec permissions are kept.
1531 Its kinda weird in that it keeps the permission bits
1532 the same while the uid and gid are different. However
1533 the new uid is the user so its not a security issue,
1534 and I've heard no complaints about cp on this issue.
1536 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1538 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1540 2008-02-13 Alexander Larsson <alexl@redhat.com>
1542 * inotify/inotify-path.c:
1543 Define IN_ONLYDIR if not in header (#515346)
1545 2008-02-12 Alexander Larsson <alexl@redhat.com>
1547 * tests/live-g-file.c:
1550 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1552 * === Released 2.15.5 ===
1554 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1556 * gio.symbols: Add g_mount_mount_flags_get_type.
1558 2008-02-11 Alexander Larsson <alexl@redhat.com>
1561 (g_file_info_set_attribute_mask):
1562 (g_file_attribute_matcher_matches_id):
1563 Correctly handle NULL GAttributeMatcher meaning
1564 matches nothing. (Fixes #513492)
1566 2008-02-11 Alexander Larsson <alexl@redhat.com>
1571 Added GMountMountFlags enum and added a flags
1572 argument to all mount calls.
1574 This is an API/ABI change for future extensibility,
1575 as I think we will need at least an
1576 inhibit-autorun flag (the panel needs this).
1577 There are no flags defined yet though.
1579 2008-02-11 Alexander Larsson <alexl@redhat.com>
1582 Added new standard::description attribute.
1583 Requested by Vincent, and useful for both
1586 2008-02-11 Alexander Larsson <alexl@redhat.com>
1588 * gdesktopappinfo.c:
1591 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1593 * *.c: Documentation additions
1595 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1597 * gappinfo.h: Formatting cleanup
1598 * gappinfo.c: Fix up docs.
1600 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1602 * gunixmounts.c: Consistently use getmntent_r() and fall
1603 back to getmntent(). (#515492)
1605 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1607 * gbufferedinputstream.c:
1609 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1611 * tests/data-input-stream.c:
1612 * tests/data-output-stream.c: Portability fixes.
1614 2008-02-08 Alexander Larsson <alexl@redhat.com>
1619 Add g_volume_should_automount.
1622 2008-02-07 Tor Lillqvist <tml@novell.com>
1624 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1625 Win32, too Unix-specific.
1627 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1629 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1630 a local plt if the compiler doesn't support what we want. Bug #514702
1632 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1634 reviewed by: <delete if not using a buddy>
1637 * gunixinputstream.c:
1638 * gunixoutputstream.c:
1640 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1642 * tests/Makefile.am:
1643 * tests/live-g-file.c:
1644 * tests/live-g-file.txt:
1645 New GIO testing module working over real data
1647 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1649 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1650 Fallback to rename() if link() is not available
1651 (when no support on target filesystem)
1653 2008-02-06 Michael Natterer <mitch@imendio.com>
1655 * gfileinfo.c (g_file_info_get_icon): replace
1656 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1658 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1660 * gfile.c (g_file_create):
1661 Documentation update of error codes
1663 2008-02-06 Alexander Larsson <alexl@redhat.com>
1665 * gdesktopappinfo.c:
1666 Update to use both mimeapps.list and
1667 defaults.list as discussed on xdg list.
1669 2008-02-06 Benjamin Otte <otte@gnome.org>
1672 * gfilenamecompleter.c:
1673 Fix some typos in the documentation.
1675 2008-02-06 Alexander Larsson <alexl@redhat.com>
1677 * glocalfile.c (g_local_file_trash):
1678 Don't succeed with trash if newly created
1679 trash dir has the wrong owner. (#514696)
1681 2008-02-05 Alexander Larsson <alexl@redhat.com>
1683 * glocalfile.c (g_local_file_move):
1684 Don't spew warnings when destination is not
1687 2008-02-03 Hans Breuer <hans@breuer.org>
1689 * makefile.msc : update
1691 2008-02-01 Michael Natterer <mitch@imendio.com>
1693 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1694 return value of xdg_mime_list_mime_parents() to a variable of the
1697 2008-02-01 Alexander Larsson <alexl@redhat.com>
1699 * gappinfo.c (g_app_info_launch_uris):
1700 Actually call the launch_uris method, not
1703 2008-02-01 Alexander Larsson <alexl@redhat.com>
1705 * gdesktopappinfo.c (g_desktop_app_info_equal):
1706 Ensure appinfos with no id but same pointer value
1709 2008-02-01 Alexander Larsson <alexl@redhat.com>
1711 * gappinfo.c (g_app_info_launch_default_for_uri):
1714 2008-02-01 Alexander Larsson <alexl@redhat.com>
1718 Add g_app_info_launch_default_for_uri utility
1721 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1723 * gdesktopappinfo.c:
1724 Doc fix for g_app_info_get_default_for_uri_scheme ()
1727 2008-01-30 Alexander Larsson <alexl@redhat.com>
1730 Add doc comment about uris vs GFiles to
1733 * gdesktopappinfo.c:
1734 Ensure uris passed to g_app_info_launch_uris()
1735 are not roundtriped through GFile (as that
1736 may be slightly destructive for e.g. mailto: links)
1738 2008-01-30 Alexander Larsson <alexl@redhat.com>
1740 * tests/data-input-stream.c:
1741 * tests/data-output-stream.c:
1742 C89 fixes from Jens Granseuer (#512849)
1744 2008-01-30 Alexander Larsson <alexl@redhat.com>
1747 Fix gamin/fam difference build issue. (#509419)
1749 2008-01-29 Alexander Larsson <alexl@redhat.com>
1752 * gdesktopappinfo.c:
1753 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1755 2008-01-29 Alexander Larsson <alexl@redhat.com>
1757 * gdesktopappinfo.c:
1758 * gdesktopappinfo.h:
1759 giomodule-priv.h include moved to .c file.
1761 2008-01-29 Alexander Larsson <alexl@redhat.com>
1763 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1764 Remove unused prio/name fields.
1766 2008-01-29 Alexander Larsson <alexl@redhat.com>
1768 * gcontenttype.c (looks_like_text):
1769 Don't treat whitespace as control chars.
1771 2008-01-29 Alexander Larsson <alexl@redhat.com>
1773 * gdesktopappinfo.c:
1774 Lazily create the desktop files for appinfos created
1775 by g_app_info_create_from_commandline() when needed
1776 for mime associations. This allows run-time use
1777 of GAppInfo object without creating unnecessary
1780 2008-01-29 Alexander Larsson <alexl@redhat.com>
1783 Added new symbols to gio.symbols
1785 2008-01-29 Alexander Larsson <alexl@redhat.com>
1788 Add g_file_query_default_handler utility to easily look up
1789 the GAppInfo that handles a file.
1791 * gdesktopappinfo.[ch]:
1793 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1796 Remove unused function
1798 2008-01-29 Alexander Larsson <alexl@redhat.com>
1800 * gfileenumerator.c:
1801 Mention need to free returned value in
1802 g_file_enumerator_next_files_finish docs.
1803 Fix leak if g_file_enumerator_next_files_finish()
1806 2008-01-29 Alexander Larsson <alexl@redhat.com>
1809 (_g_unix_content_type_get_parents):
1810 Use list_parents, not get_parents from xdgmime, because
1811 the later doesn't use the cache.
1813 * xdgmime/xdgmimecache.c:
1814 (_xdg_mime_cache_list_mime_parents):
1815 Don't list the same type as parent multiple times.
1817 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1819 * === Released 2.15.4 ===
1821 2008-01-28 Alexander Larsson <alexl@redhat.com>
1824 Register local vfs with prio 0.
1827 Remove old name and prio class members
1829 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1831 * tests/g-file.c: Disable some tests that are failing in
1832 the absence of a http backend.
1834 2008-01-28 Alexander Larsson <alexl@redhat.com>
1838 Add registration hooks for extension points.
1839 Register the gio extension points.
1841 * fam/gfamdirectorymonitor.c:
1842 * fam/gfamfilemonitor.c:
1843 * glocaldirectorymonitor.[ch]:
1844 * glocalfilemonitor.[ch]:
1845 * gnativevolumemonitor.h:
1846 * gunionvolumemonitor.c:
1847 * gunixvolumemonitor.c:
1850 * inotify/ginotifydirectorymonitor.c:
1851 * inotify/ginotifyfilemonitor.c:
1852 Use the extension points registration instead
1853 of g_type_children().
1855 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1858 * gvolume.[hc]: Document new API.
1860 * gfile.c (g_file_copy_async): Fix docs
1862 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1864 * gbufferedinputstream.c:
1866 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1869 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1871 * glocalfile.c: Avoid trivial differences in translatable strings.
1873 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1875 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1876 build with gcc 3.4 (#509419)
1878 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1880 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1881 (#509994, Murray Cumming)
1883 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1885 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1886 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1887 this allows big jobs to be executed in chunks, instead of blocking
1888 the main loop for a long time.
1890 * gsimpleasyncresult.c:
1891 * giofile.c: Adapt callers.
1893 2008-01-25 Alexander Larsson <alexl@redhat.com>
1895 * gdesktopappinfo.c:
1896 Implement changes discussed on xdg list.
1897 Now we can add supported mimetypes by just using defaults.list
1898 We can also remove associations in defaults.list.
1900 2008-01-25 Alexander Larsson <alexl@redhat.com>
1902 * gdesktopappinfo.c:
1903 Don't make local copy of desktop file
1904 for mimetype changes if the file already
1905 supports the new mimetype.
1907 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1911 * gbufferedinputstream.c:
1912 * glocalfile.c: String improvements. (#511966,
1913 Theppitak Karoonboonyanan)
1915 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1917 * gioscheduler.h: Expand docs a bit.
1919 2008-01-24 Alexander Larsson <alexl@redhat.com>
1922 Add g_drive_get_identifier and
1923 g_drive_enumerate_identifiers
1926 Add g_volume_get_identifier and
1927 g_volume_enumerate_identifiers
1933 Implement identifiers for unix backend
1935 2008-01-24 Alexander Larsson <alexl@redhat.com>
1940 Add g_file_copy_async() (#511580)
1941 Based on patch from Carlos Garcia Campos
1943 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1945 * gioscheduler.c: Some documentation additions.
1947 2008-01-22 Alexander Larsson <alexl@redhat.com>
1949 * gdesktopappinfo.c:
1950 (g_desktop_app_info_new):
1951 Don't leak basename.
1953 2008-01-22 Alexander Larsson <alexl@redhat.com>
1955 * gdesktopappinfo.c:
1956 (g_desktop_app_info_new_from_filename):
1959 2008-01-22 Alexander Larsson <alexl@redhat.com>
1961 * glocalfileinfo.c (get_thumbnail_attributes):
1964 2008-01-22 Alexander Larsson <alexl@redhat.com>
1967 (canonicalize_filename):
1968 Canonicalize paths that start with more than
1972 (compare_two_files):
1973 (test_g_file_new_for_path):
1976 2008-01-22 Alexander Larsson <alexl@redhat.com>
1979 Allow UTF-8 in file:// parse names.
1981 * tests/Makefile.am:
1982 * tests/data-input-stream.c:
1983 * tests/data-output-stream.c:
1984 * tests/g-file-info.c:
1986 Added a bunch of tests from Tomas Bzatek
1988 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1990 * === Released 2.15.3 ===
1992 2008-01-21 Alexander Larsson <alexl@redhat.com>
1994 * gfileinputstream.[ch]:
1995 * gfileoutputstream.[ch]:
1997 Remove duplicated GSeekable functions. (#509990)
1998 Just use the g_seekable_xxx() calls instead.
2000 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2003 * gvolumemanager.c: Whitespace cleanups.
2005 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2006 Use the right mode when creating the file.
2008 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2010 * gfileenumerator.c:
2011 * gfileinputstream.c:
2013 * goutputstream.c: Documentation: Fixed minor typos
2014 and added more mentions of specific _finish() functions.
2016 2008-01-21 Alexander Larsson <alexl@redhat.com>
2018 * inotify/Makefile.am:
2019 * inotify/inotify-helper.c:
2020 * inotify/inotify-kernel.c:
2021 * inotify/inotify-path.c:
2022 * inotify/local_inotify.h: Removed.
2023 * inotify/local_inotify_syscalls.h: Removed.
2024 Removed the included copies of the inotify
2025 headers. We now only use the <sys/inotify.h>
2026 header which exists on modern systems.
2027 This fixes problems on ARM and SH5 (#510448)
2028 but is also generally much cleaner and future
2029 safe. For instance, if other OSes add support
2030 for inotify it should "just work".
2032 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2034 * inotify/*.c: Coding style fixes.
2035 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2036 for the 1/4 Hz timer.
2038 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2041 * gfilemonitor.[hc]:
2042 * gmemoryinputstream.c:
2043 * gmemoryoutputstream.c:
2044 * gmountoperation.c:
2045 * gthemedicon.c: Documentation updates
2047 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2049 * gfile.c: documentation: Fixed more minor
2052 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2054 * gmount.c: (g_mount_remount): documentation:
2055 Mention g_mount_remount_finish() instead of
2056 g_mount_unmount_finish().
2058 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2062 * gfile.c: Fixed some minor typos in the
2065 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2067 * gio/gvolumemonitor.c:
2068 (g_volume_monitor_get_connected_drives):
2069 (g_volume_monitor_get_volumes):
2070 (g_volume_monitor_get_mounts): Documentation:
2071 Clarify the ownership of the regurn GLists.
2073 2008-01-17 Alexander Larsson <alexl@redhat.com>
2076 Add the async find_enclosing_mount version
2077 to the header file too.
2079 2008-01-17 Alexander Larsson <alexl@redhat.com>
2082 Add async version of find_enclosing_mount
2083 with default implementation.
2085 2008-01-17 Alexander Larsson <alexl@redhat.com>
2090 Allow calls to implementation of copy and write
2091 even if the type of the file implementations is
2092 different. This can be used to implement native
2093 upload and download calls in a vfs.
2096 (g_local_file_move):
2097 Protect against the case where move is called
2098 with one file not being local.
2100 Make sure we call the progress callback once
2101 in the native move operation so that the caller
2102 knows how many bytes were copied.
2104 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2107 * gdatainputstream.c:
2109 * gfileoutputstream.c:
2114 * gunixmounts.c: Corrected some typos in the documentation:
2115 occured -> occurred.
2116 its -> it's (where appropriate).
2118 2008-01-16 Alexander Larsson <alexl@redhat.com>
2122 Add g_file_query_exists (#508771)
2124 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2129 * gvolume.c: For async functions that have no non-async
2130 version, document that the GAsyncReadyCallback may be NULL.
2133 2008-01-15 Alexander Larsson <alexl@redhat.com>
2135 * gmemoryinputstream.c:
2136 * gmemoryoutputstream.c:
2137 Don't do pointer arithmetic on void * (#508602)
2138 Patch from Kazuki IWAMOTO
2140 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2142 * === Released 2.15.2 ===
2144 2008-01-14 Alexander Larsson <alexl@redhat.com>
2146 * gfile.c (g_file_monitor_file):
2147 Don't set error here, since we fallback to polling monitor.
2149 2008-01-14 Alexander Larsson <alexl@redhat.com>
2152 (g_file_monitor_directory):
2153 (g_file_monitor_file):
2154 Add GError to file monitor calls
2156 * glocaldirectorymonitor.c:
2157 * glocaldirectorymonitor.h:
2159 * glocalfilemonitor.c:
2160 * glocalfilemonitor.h:
2162 Update for above change
2164 2008-01-14 Alexander Larsson <alexl@redhat.com>
2168 Handle root correctly in g_file_get_relative_path (#508719)
2170 2008-01-14 Alexander Larsson <alexl@redhat.com>
2173 Clean up docs and example for GAsyncResult (#508074)
2175 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2177 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2178 and correct some spelling mistakes. Bug #508108.
2180 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2182 * glocalfileinfo.c: Add a comment.
2184 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2186 * gfileinfo.c: GFileInfo description: Mention
2187 how to actually set attributes in a GFile and how to discover
2188 which attributes are settable. Bug #508378.
2190 2008-01-10 A. Walton <awalton@svn.gnome.org>
2192 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2193 (g_app_info_get_default_for_type):
2194 Check for NULL content types.
2196 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2198 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2200 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2202 * gfile.c: *_async() functions: Several small corrections
2203 to the documentation, mostly correcting copy/paste errors
2204 and improving some sentences.
2206 2008-01-09 Dan Winship <danw@gnome.org>
2208 * glocalfile.c (get_unique_filename): x86_64 fix
2210 2008-01-09 Alexander Larsson <alexl@redhat.com>
2215 Add g_unix_mount_guess_should_display and use
2216 for unix volume monitor backend.
2217 This means we more or less show what the
2218 gnome-vfs backend did.
2219 Based on patch from Padraig O'Briain
2221 2008-01-09 Alexander Larsson <alexl@redhat.com>
2225 Add g_themed_icon_new_with_default_fallbacks
2228 Use default fallbacks for icons
2230 2008-01-09 Alexander Larsson <alexl@redhat.com>
2233 * gmountoperation.[ch]:
2234 Change the API a bit so that unhandled methods
2235 get reported via the reply, rather than by
2236 the signal emission return value. This is because
2237 some handlers can't know this immediately without
2238 doing I/O, and this is an async operation that
2241 2008-01-09 Alexander Larsson <alexl@redhat.com>
2244 * fam/gfamdirectorymonitor.c:
2245 * fam/gfamfilemonitor.c:
2246 Fix double free crash (#508224)
2247 Patch from Joe Marcus Clarke
2249 008-01-07 Matthias Clasen <mclasen@redhat.com>
2251 * === Released 2.15.1 ===
2253 2008-01-07 Alexander Larsson <alexl@redhat.com>
2255 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2256 Fix warning (#507835)
2258 2008-01-07 Alexander Larsson <alexl@redhat.com>
2261 Pass --internal to glib-genmarshal
2264 * gmountoperation.c:
2266 Use better types for signal arguments (#507822)
2268 2008-01-07 Alexander Larsson <alexl@redhat.com>
2271 Build test subdir after .
2272 Remove gdirectorymonitor.[ch]
2274 * gdirectorymonitor.[ch]:
2278 Remove GDirectoryMonitor and make
2279 GFileMonitor the baseclass for both file and
2280 directory monitors. Lift the more generic
2281 rate limiting code from GDirectoryMonitor
2285 * fam/gfamdirectorymonitor.[ch]:
2286 * inotify/ginotifydirectorymonitor.[ch]:
2287 * inotify/inotify-helper.c:
2288 * glocaldirectorymonitor.[ch]:
2291 Update for the removed GDirectoryMonitor.
2293 * gmemoryoutputstream.c:
2294 Remove ununsed variable
2296 2008-01-07 Alexander Larsson <alexl@redhat.com>
2298 * gmemoryinputstream.c:
2299 Translate error strings
2302 * gmemoryoutputstream.[ch]:
2303 New implementation that avoids using GByteArray
2304 in implementation and API. (#506377)
2306 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2308 * tests/*: Add a test for memory input streams.
2310 * Makefile.am: Add tests to SUBDIRS.
2312 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2314 * glocalfilemonitor.c:
2315 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2318 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2320 * gdesktopappinfo.c: Fix a docs typo.
2322 * gfileattribute.c: Add information about extended attributes
2323 to the documentation. (#505058)
2325 2008-01-04 Alexander Larsson <alexl@redhat.com>
2328 * gmountoperation.c:
2329 Use the right type (uint) for the ask_password signal.
2331 2008-01-04 Alexander Larsson <alexl@redhat.com>
2336 Add g_app_info_supports_files()
2337 Remove desktop arg from g_app_info_should_show().
2339 * gdesktopappinfo.[ch]:
2340 Implement g_app_info_supports_files() and new should_show()
2341 Add g_desktop_app_info_set_desktop_env() to set the desktop
2342 for should_show(). (This will be set by gtk+ later)
2344 2008-01-04 Alexander Larsson <alexl@redhat.com>
2347 * gmemoryinputstream.[ch]:
2348 Improve API so that you can use multiple chunks
2349 of memory and custom destroy functions. (#506374)
2351 2008-01-03 Alexander Larsson <alexl@redhat.com>
2354 Handle NULL attribute matchers safely, as we return this
2355 for empty attribute matcher strings.
2357 2008-01-03 Alexander Larsson <alexl@redhat.com>
2359 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2360 Add /usr/local to list of internal mountpoints
2362 2008-01-03 Alexander Larsson <alexl@redhat.com>
2365 Check for HAVE_LCHOWN (#505887)
2367 2008-01-03 Alexander Larsson <alexl@redhat.com>
2371 Add define for selinux context attribute.
2372 Fix missing : -> :: namespace separator change
2373 Fix missing _ -> - name change for xattr-sys.
2376 2008-01-03 Alexander Larsson <alexl@redhat.com>
2379 Link to libglib and libgobject directly (#504879)
2380 Patch from Sebastien Bacher
2382 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2384 * gfile.c: Expanded the g_file_new_for_commandline_arg
2385 description a bit, based on the code and the docs of the
2386 other g_file_new_for_* functions.
2388 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2390 * gfilemonitor.h: Fixed typo in docs.
2392 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2394 Updates to GIO documentation. (#506395, Mikael Hermansson)
2396 * gcontenttype.c: Describe memory management for return value of
2397 g_content_types_get_registered(). Missing piece from #505815.
2398 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2399 GVolume, GDrive, GMounts, which hopefully gives the user less
2400 confusions when using this API. Following explainations from
2401 Alexander Larsson on gtk-devel-list.
2403 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2405 * gfileinfo.c: Expand the long description.
2407 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2410 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2411 fix builds with --disable-visibility. (#500273, Christian Persch)
2413 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2415 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2416 in the list of returned app infos.
2418 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2420 * gappinfo.c: Fix a cross-reference
2422 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2424 * gfileinputstream.c:
2425 * gfileoutputstream.c:
2429 * gdesktopappinfo.c:
2431 * gfileinfo.c: Documentation updates.
2433 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2435 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2438 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2440 * gcontenttype.c (g_content_types_get_registered): Don't return
2441 freed memory (#505815, Mikael Hermansson)
2443 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2445 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2446 used to detect statbuf->st_blocks. (#505042)
2448 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2450 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2451 environment handling. (#504829, Cosimo Cecchi)
2453 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2455 * gappinfo.c: Doc improvements
2457 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2460 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2462 * === Released 2.15.0 ===
2464 2007-12-20 Hans Breuer <hans@breuer.org>
2466 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2467 with symbols gwin32appinfo.obj, added gmount.obj
2468 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2470 2007-12-20 Alexander Larsson <alexl@redhat.com>
2476 * gfilenamecompleter.c:
2479 * gpollfilemonitor.c:
2480 File attribute renames:
2482 fs:: -> filesystem::
2483 id::fs -> id::filesystem
2485 2007-12-20 Alexander Larsson <alexl@redhat.com>
2494 Add GMountUnmountFlags to all unmount and
2496 Add g_mount_remount() call.
2498 2007-12-20 Alexander Larsson <alexl@redhat.com>
2500 * gvfs.c (get_default_vfs):
2501 Fix unused variable warning
2503 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2505 * pltcheck.sh: Update
2507 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2509 * gunionvolumemonitor.c:
2510 * gunixmount.c: Remove C99 comments
2512 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2514 * gio.symbols: Add some missing symbols
2516 2007-12-19 Alexander Larsson <alexl@redhat.com>
2519 Make g_io_modules_load_all_in_directory not unuse
2520 loaded modules so that users of it can do stuff
2522 Init internal "module" types.
2523 Initialize static prio and name for types so that
2524 we don't have to load modules to get it.
2526 * gnativevolumemonitor.h:
2528 Move is_supported to parent class so that
2529 non-native monitors can avoid being initialized
2530 too. (For instance GDaemonVolumeMonitor if we're
2531 not using GDaemonVfs.)
2533 * glocaldirectorymonitor.[ch]:
2534 * glocalfilemonitor.[ch]:
2535 * gunionvolumemonitor.c:
2536 * gunixvolumemonitor.c:
2538 Find plugins using the static prio+name to
2539 avoid unnecessarily loading the modules.
2541 2007-12-19 Alexander Larsson <alexl@redhat.com>
2546 2007-12-19 Alexander Larsson <alexl@redhat.com>
2548 * gunionvolumemonitor.c:
2549 Store the native type as GType, not class so that
2550 we can unload it. But still avoid unnecessarily
2553 2007-12-19 David Zeuthen <davidz@redhat.com>
2555 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2556 add signals 'disconnected' and 'eject-button' on GDrive. Add
2557 signal 'removed' on GVolume and 'unmounted' on GMount.
2559 * gdrive.c: (g_drive_base_init):
2561 * gfile.c: (g_file_mount_mountable),
2562 (g_file_mount_enclosing_volume):
2565 * gmount.c: (g_mount_base_init):
2567 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2568 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2569 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2573 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2575 * *.c: Fix up includes in the section docs.
2577 2007-12-17 Alexander Larsson <alexl@redhat.com>
2579 * gnativevolumemonitor.h:
2580 * gunionvolumemonitor.c:
2581 * gunixvolumemonitor.c:
2582 Add is_supported() to GNativeVolumeMonitorClass so
2583 that we can avoid having to create an object to see
2584 if the backend is supported at runtime.
2585 Also add name member and an env var to pick a specific
2586 volume monitor backend.
2590 Add cancellable to _g_mount_get_for_mount_path()
2592 * glocaldirectorymonitor.c:
2593 * glocalfilemonitor.c:
2594 Avoid loading and unloading modules while sorting.
2596 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2599 * gunixmounts.[hc]: Namespace waste reduction, move some
2600 g_get_unix_mount functions to the g_unix_mount namespace.
2603 * gunixvolumemonitor.c:
2605 * glocaldirectorymonitor.c: Update all callers.
2607 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2609 2007-12-17 Alexander Larsson <alexl@redhat.com>
2612 Add doc comments about what GFile operations are
2613 guaranteed to not block.
2615 2007-12-17 Alexander Larsson <alexl@redhat.com>
2618 Add missing #ifdef fixing OSX build.
2619 (#503334, patch from Richard Hult)
2621 2007-12-14 David Zeuthen <davidz@redhat.com>
2625 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2626 (g_mount_eject), (g_mount_eject_finish):
2628 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2629 (get_volume_for_uuid), (get_mount_for_uuid),
2630 (g_union_volume_monitor_class_init),
2631 (get_default_native_type_with_exclude), (get_default_native_type),
2632 (get_native_type), (update_native_type),
2633 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2634 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2635 (g_unix_mount_can_eject), (eject_unmount_cb),
2636 (eject_unmount_read_error), (eject_unmount_do),
2637 (g_unix_mount_unmount), (g_unix_mount_eject),
2638 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2639 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2640 (g_unix_mount_point_guess_can_eject):
2642 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2643 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2644 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2645 (g_unix_volume_mount), (g_unix_volume_eject),
2646 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2647 * gunixvolumemonitor.c: (get_volume_for_uuid),
2648 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2650 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2651 (g_volume_eject), (g_volume_eject_finish):
2653 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2654 (g_volume_monitor_get_mount_for_uuid):
2657 Provide eject() on both GMount and GVolume and utility functions
2658 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2659 ejected. Introduce the concept of UUID's and wire it into GVolume
2660 and GMount and provide API on GVolumeMonitor to find such
2661 instances. Also handle the case where an external
2662 GNativeVolumeMonitor fails to initialize. Lock around the
2663 _g_get_mount_for_mount_path() function such that volume monitor
2664 implementations won't have to do locking themselves.
2666 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2668 * gdesktopappinfo.c:
2674 * gvolume.h: Documentation updates
2676 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2679 * gfile.h: Doc updates
2681 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2684 * gdesktopappinfo.c: Use hash table iterators.
2686 2007-12-14 Alexander Larsson <alexl@redhat.com>
2689 * gfileattribute.[ch]:
2690 * gfileattribute-priv.h:
2691 Move GFileAttributeValue to a private header, as
2695 Make set_attribute take a type + a pointer instead
2696 of a GFileAttributeValue.
2699 Fix up for above changes.
2700 Add g_file_info_get_attribute_data to get
2701 all info in one call, g_file_info_get_attribute_status
2702 to get the status and g_file_info_get_attribute_as_string.
2706 * glocalfileinfo.[ch]:
2710 Make _guess_type static.
2712 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2715 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2716 made mkenums and friends use temporary files to avoid leaving
2717 empty generated files on failure (#503470).
2719 2007-12-14 Alexander Larsson <alexl@redhat.com>
2721 * gmountoperation.h:
2724 2007-12-14 Alexander Larsson <alexl@redhat.com>
2728 * gfileattribute.[ch]:
2731 * glocalfileoutputstream.c:
2732 * gmountoperation.[ch]:
2733 * goutputstream.[ch]:
2734 Clean up all flags enums to not have _FLAGS in them
2735 Make the names of some of the enums better.
2740 2007-12-14 Michael Natterer <mitch@imendio.com>
2742 * gio.symbols: fix g_io_scheduler symbol names.
2744 2007-12-14 Alexander Larsson <alexl@redhat.com>
2750 * gbufferedinputstream.h:
2751 * gbufferedoutputstream.h:
2754 * gdatainputstream.h:
2755 * gdataoutputstream.h:
2756 * gdesktopappinfo.h:
2757 * gdirectorymonitor.h:
2761 * gfileenumerator.h:
2764 * gfileinputstream.h:
2766 * gfilenamecompleter.h:
2767 * gfileoutputstream.h:
2768 * gfilterinputstream.h:
2769 * gfilteroutputstream.h:
2777 * gmemoryinputstream.h:
2778 * gmemoryoutputstream.h:
2780 * gmountoperation.h:
2783 * gsimpleasyncresult.h:
2785 * gunixinputstream.h:
2787 * gunixoutputstream.h:
2791 * inotify/Makefile.am:
2792 Only allow including <gio/gio.h> from apps
2794 2007-12-14 Alexander Larsson <alexl@redhat.com>
2796 * gioscheduler.[ch]:
2797 * gsimpleasyncresult.c:
2798 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2799 Split out the send_to_mainloop call into two versions instead
2800 of having the block argument.
2802 2007-12-13 Alexander Larsson <alexl@redhat.com>
2804 * gcancellable.[ch]:
2806 * gbufferedinputstream.c:
2807 * gfileenumerator.c:
2808 * gfileinputstream.c:
2809 * gfileoutputstream.c:
2813 g_push/pop_current_cancellable ->
2814 g_cancellable_push/pop_current
2816 2007-12-13 Alexander Larsson <alexl@redhat.com>
2820 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2822 2007-12-13 Alexander Larsson <alexl@redhat.com>
2824 * gmountoperation.h:
2825 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2827 2007-12-12 Alexander Larsson <alexl@redhat.com>
2830 Fix race condition when freeing proxy in
2831 g_io_job_send_to_mainloop().
2833 2007-12-12 Alexander Larsson <alexl@redhat.com>
2839 Make attribute namespace separator "::" instead of ":".
2840 Use - instead of _ as separator in attribute names.
2842 2007-12-12 Alexander Larsson <alexl@redhat.com>
2844 * gbufferedinputstream.h:
2845 * gbufferedoutputstream.h:
2846 * gdatainputstream.h:
2847 * gdataoutputstream.h:
2848 * gdirectorymonitor.h:
2849 * gfileenumerator.h:
2850 * gfileinputstream.h:
2852 * gfileoutputstream.h:
2853 * gfilterinputstream.h:
2854 * gfilteroutputstream.h:
2856 * glocalfileinputstream.h:
2857 * glocalfileoutputstream.h:
2858 * gmemoryinputstream.h:
2859 * gmemoryoutputstream.h:
2860 * gnativevolumemonitor.h:
2862 * gunixinputstream.h:
2863 * gunixoutputstream.h:
2866 s/parent/parent_instance/ in GObjects
2868 2007-12-12 Alexander Larsson <alexl@redhat.com>
2873 No need for padding for interfaces
2875 2007-12-12 Alexander Larsson <alexl@redhat.com>
2879 * gbufferedinputstream.c:
2880 * gbufferedoutputstream.c:
2883 * gdatainputstream.[ch]:
2884 * gdesktopappinfo.c:
2885 * gdirectorymonitor.c:
2887 * gfileattribute.[ch]:
2890 * gfileinputstream.h:
2891 * gfilemonitor.[ch]:
2892 * gfileoutputstream.[ch]:
2893 * gfilterinputstream.h:
2894 * gfilteroutputstream.h:
2897 * gloadableicon.[ch]:
2898 * gmemoryinputstream.c:
2899 * gmountoperation.c:
2901 Fix up a bunch of details in the docs.
2906 2007-12-11 David Zeuthen <davidz@redhat.com>
2908 Rework how volumes, drives and volume monitoring is
2909 done. Previosly the model was
2911 GDrive <1-1> GVolume
2913 where a GDrive instance represented a mount point and a GVolume
2914 instance represented a mounted file system. This patch changes it
2917 GDrive <1-N> GVolume <1-1> GMount
2919 where GMount now serves the purpose of the old GVolume and the new
2920 GVolume serves the purpose of the old GDrive. In addition the new
2921 GDrive interface is used to represent a collection of GVolume
2922 instances (typically partitions) and also contains utility to query
2923 the state of the physical drive the GDrive object represents (such
2924 as checking for media, polling the drive, ejecting the media etc.).
2926 Also implement mounting and unmounting in the Unix volume monitor
2927 backend. A subquent patch will introduce GDrive support for ejection
2931 * gdrive.c: (g_drive_is_media_check_automatic),
2932 (g_drive_is_media_removable), (g_drive_has_media),
2933 (g_drive_can_poll_for_media), (g_drive_eject),
2934 (g_drive_eject_finish), (g_drive_poll_for_media),
2935 (g_drive_poll_for_media_finish):
2937 * gfile.c: (g_file_find_enclosing_mount):
2940 * glocaldirectorymonitor.c:
2941 (g_local_directory_monitor_constructor), (mounts_changed):
2942 * glocalfile.c: (get_mount_info),
2943 (g_local_file_find_enclosing_mount),
2944 (g_local_file_file_iface_init):
2945 * gnativevolumemonitor.h:
2946 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2947 (get_connected_drives), (g_union_volume_monitor_class_init),
2948 (child_volume_added), (child_volume_removed),
2949 (child_volume_changed), (child_mount_added), (child_mount_removed),
2950 (child_mount_pre_unmount), (child_mount_changed),
2951 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2952 (g_union_volume_monitor_remove_monitor),
2953 (_g_mount_get_for_mount_path):
2954 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2955 (guess_system_internal), (_g_get_unix_mounts),
2956 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2957 (g_unix_mount_free), (g_unix_mount_compare),
2958 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2959 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2960 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2961 (type_to_icon), (g_unix_mount_guess_name),
2962 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2963 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2964 (_resolve_symlink), (_resolve_dev_root):
2966 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2967 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2968 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2969 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2970 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2971 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2972 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2973 (g_unix_volume_volume_iface_init):
2975 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2976 (get_mounts), (get_volumes), (get_connected_drives),
2977 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2978 (mountpoints_changed), (mounts_changed),
2979 (g_unix_volume_monitor_init),
2980 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2981 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2982 * gunixvolumemonitor.h:
2983 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2984 (g_volume_mount), (g_volume_mount_finish):
2986 * gvolumemonitor.c: (g_volume_monitor_class_init),
2987 (g_volume_monitor_get_connected_drives),
2988 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2991 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2993 * gmountoperation.h (GPasswordFlags): Close the gap
2995 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2997 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2999 * gdesktopappinfo.[hc]: Remove _-prefixes
3001 2007-12-10 Tor Lillqvist <tml@novell.com>
3003 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3006 2007-12-10 Alexander Larsson <alexl@redhat.com>
3008 * gfile.c (g_file_set_display_name):
3009 Don't hardcode '/' (#502727)
3011 2007-12-09 Hans Breuer <hans@breuer.org>
3013 * makefile.msc : follow lib naming convention
3014 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3015 for user and group name, tested with ../tests/gio-ls
3017 2007-12-09 A. Walton <awalton@svn.gnome.org>
3019 * gdesktopappinfo.c:
3025 * gfileenumerator.c:
3030 * gmemoryinputstream.c:
3031 * gmemoryoutputstream.c:
3033 * gsimpleasyncresult.c:
3034 More documentation cleanup and filling in missing information, bringing
3035 GIO to 99% symbol coverage.
3037 2007-12-08 Hans Breuer <hans@breuer.org>
3039 [gio compiles and links on win32, not sure how much already works]
3040 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3041 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3042 base on win32 API; prefer g_lstat() over lstat(); instead of
3043 localtime_r() use an all GLib implementation on win32;
3044 get_mount_info() still needs a win32 specifc implementation
3045 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3046 win32_get_file_user_info to get owner/group info without uid/gid
3047 * glocalfileinputstream.c : include <io.h> on win32
3048 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3049 definition, use g_win32_ftruncate() for G_OS_WIN32
3050 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3051 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3052 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3053 * makefile.msc : updated
3055 2007-12-07 Alexander Larsson <alexl@redhat.com>
3057 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3058 Avoid warning spew if error == NULL
3060 2007-12-07 Alexander Larsson <alexl@redhat.com>
3063 Update docs wrt etags
3065 2007-12-06 Alexander Larsson <alexl@redhat.com>
3068 Include sys/types.h for dev_t (#501919)
3070 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3074 Make abicheck and pltcheck pass.
3076 2007-12-05 Alexander Larsson <alexl@redhat.com>
3079 * giomodule-priv.h: Added.
3080 * glocaldirectorymonitor.c:
3081 * glocalfilemonitor.c:
3082 * gunionvolumemonitor.c:
3084 Actually add the declaration of _g_io_modules_ensure_loaded
3086 2007-12-05 Alexander Larsson <alexl@redhat.com>
3088 * gdatainputstream.c:
3093 * glocaldirectorymonitor.c:
3094 * glocalfilemonitor.c:
3095 * gunionvolumemonitor.c:
3097 Make g_io_modules_ensure_loaded a private function and
3098 don't pass in the dirname. This means we can do magic
3099 directory finding in the win32 version.
3100 Export the actual load-modules-in-directory code so that
3101 gvfs can reuse that.
3103 2007-12-05 Alexander Larsson <alexl@redhat.com>
3105 * gbufferedinputstream.c:
3106 * gbufferedoutputstream.c:
3109 * gfileenumerator.[ch]:
3110 * gfileinputstream.c:
3111 * gfileoutputstream.[ch]:
3112 * gfilterinputstream.c:
3113 * gfilteroutputstream.c:
3114 * ginputstream.[ch]:
3116 * glocalfileenumerator.c:
3117 * glocalfileinputstream.c:
3118 * glocalfileoutputstream.c:
3119 * gmemoryinputstream.c:
3120 * gmemoryoutputstream.c:
3121 * goutputstream.[ch]:
3124 * gunixinputstream.c:
3125 * gunixoutputstream.c:
3126 Rename all struct members named:
3127 read, write, close, truncate, or mount
3128 to foo_fn, as these are reserved names
3129 and could be defined as macros in libc.
3132 2007-12-04 Alexander Larsson <alexl@redhat.com>
3135 (g_output_stream_close):
3136 Only call flush if non-null.
3138 2007-11-30 Dan Winship <danw@gnome.org>
3140 * ginputstream.c (g_input_stream_set_pending): Make this take a
3141 GError and return a gboolean, and do the "outstanding operation"
3142 check (and the "stream is already closed" check) itself.
3143 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3145 * goutputstream.c (g_output_stream_set_pending)
3146 (g_output_stream_clear_pending): Likewise
3148 * gbufferedinputstream.c:
3149 * gfileinputstream.c:
3150 * gfileoutputstream.c: Update for that
3152 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3153 Like g_simple_async_report_error_in_idle, but takes a GError
3154 rather than building one.
3156 2007-11-30 Dan Winship <danw@gnome.org>
3158 * goutputstream.c: Don't cheat and unset the "pending" flag around
3159 inner calls. Instead, call the class method directly rather than
3160 the wrapper function that checks "pending"
3162 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3164 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3166 2007-12-03 Hans Breuer <hans@breuer.org>
3168 [start of port to win32/msvc]
3169 * gcancellable.c : HAVE_UNIST_H and _pipe()
3170 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3171 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3172 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3174 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3175 * glocalvfs.c : use HAVE_PWD_H
3176 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3177 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3178 * Makefile.am : added to EXTRA_DIST
3180 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3182 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3185 2007-12-03 Alexander Larsson <alexl@redhat.com>
3188 Handle OSX style xattrs API (#500506)
3190 2007-12-03 Alexander Larsson <alexl@redhat.com>
3194 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3196 2007-12-02 A. Walton <awalton@svn.gnome.org>
3200 Documentation accuracy fixes.
3202 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3204 * gioenumtypes.c.template: Fix typo.
3206 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3208 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3210 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3212 * gdirectorymonitor.c:
3213 * gfilemonitor.c: Add properties
3215 * gbufferedoutputstream.c: Don't mark buffer-size property
3218 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3220 * gbufferedoutputstream.c: Add auto-grow property.
3222 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3224 * *.c: Unify the capitalization of section headings.
3226 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3228 * gmountoperation.c: Add properties
3230 * gdatainputstream.c: Turn byte-order and newline-type into
3233 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3235 * gioenumtypes.[hc].template: Templates for enum registration
3237 * Makefile.am: Generate gioenumtypes.[hc]
3239 * gio.h: Include gioenumtypes.h
3241 * gfile.h: Add some explicit nicks.
3243 * gio.symbols: Add new symbols
3245 * pltcheck.sh: Adjust
3247 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3249 * *.c: Explain etags and link to the explanation
3251 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3253 * *.c: Explain I/O priority.
3255 * *.c: More coding style fixes.
3257 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3259 * gasyncresult.c: Add another paragraph to the intro,
3260 adjust coding style of example.
3262 2007-11-29 A. Walton <awalton@svn.gnome.org>
3265 Fixes unknown meaning in GAppLaunchContext docs.
3267 Clarify asynchronous ops.
3269 Fix entity tag docs.
3272 Provides missing gtk-doc section, fixes API docs slighly.
3273 * gsimpleasyncresult.c:
3274 Fill in missing info in docs.
3275 * gunixinputstream.c:
3276 * gunixoutputstream.c:
3277 Be more expressive in short description.
3279 Remove gtk-doc stubs for non-public API.
3281 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3283 * *.c: Coding style fixups
3285 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3287 * inotify/inotify-helper.c: Don't export the lock from libgio.
3289 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3292 * abicheck.sh: Fix copy-and-paste leftovers
3294 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3296 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3298 2007-11-28 Alexander Larsson <alexl@redhat.com>
3302 Removed unnecessary file
3304 * gdesktopappinfo.[ch]:
3307 * glocaldirectorymonitor.[ch]:
3309 * glocalfileenumerator.[ch]:
3310 * glocalfileinputstream.[ch]:
3311 * glocalfilemonitor.[ch]:
3312 * glocalfileoutputstream.[ch]:
3314 * gnativevolumemonitor.c:
3315 * gpollfilemonitor.[ch]:
3316 * gunionvolumemonitor.[ch]:
3319 * gunixvolumemonitor.[ch]:
3322 * inotify/ginotifydirectorymonitor.[ch]:
3323 * inotify/ginotifyfilemonitor.[ch]:
3324 * inotify/inotify-helper.c:
3325 Append _ to all internal functions
3329 Export symbols needed for modules
3331 2007-11-28 Alexander Larsson <alexl@redhat.com>
3334 * abicheck.sh: Added.
3335 * makegioalias.pl: Added.
3336 * pltcheck.sh: Added.
3337 * gio.symbols: Added.
3340 Initial work on adding symbol handling.
3343 Correct ifdef guard name
3346 * inotify/Makefile.am:
3347 * xdgmime/Makefile.am:
3348 Include toplevel Makefile.decl
3350 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3352 * gcontenttype.c: Move doc comments to the unix section.
3354 * *.[hc]: More trivial doc corrections.
3356 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3358 * gpollfilemonitor.c:
3362 * gdesktopappinfo.c:
3367 * gdatainputstream.c:
3368 * gdatainputstream.h:
3369 * gdataoutputstream.c:
3370 * gdataoutputstream.h:
3371 * gfileinfo.h: Doc cleanups
3373 2007-11-28 Andre Klapper <a9016009@gmx.de>
3375 * gdesktopappinfo.c: Fix a typo.
3377 2007-11-27 Andre Klapper <a9016009@gmx.de>
3379 * glocalfileoutputstream.c: Fix a typo.
3381 2007-11-27 Alexander Larsson <alexl@redhat.com>
3384 Don't include removed headers
3386 2007-11-27 Alexander Larsson <alexl@redhat.com>
3389 * gsocketinputstream.[ch]: Removed.
3390 * gsocketoutputstream.[ch]: Removed.
3391 * gunixinputstream.[ch]: Added.
3392 * gunixoutputstream.[ch]: Added.
3393 Renamed GSocket*Stream to GUnix*Stream and made
3394 it unix-only, since its not really only for sockets
3395 and it only works on unix (but is highly useful there).
3397 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3403 * gbufferedinputstream.c:
3404 * gbufferedinputstream.h:
3405 * gbufferedoutputstream.c:
3406 * gbufferedoutputstream.h:
3410 * gdatainputstream.c:
3411 * gdatainputstream.h:
3412 * gdataoutputstream.c:
3413 * gdataoutputstream.h:
3414 * gdirectorymonitor.c:
3415 * gdirectorymonitor.h:
3422 * gfileenumerator.c:
3423 * gfileenumerator.h:
3428 * gfileinputstream.c:
3429 * gfileinputstream.h:
3432 * gfilenamecompleter.c:
3433 * gfilenamecompleter.h:
3434 * gfileoutputstream.c:
3435 * gfileoutputstream.h:
3436 * gfilterinputstream.c:
3437 * gfilterinputstream.h:
3438 * gfilteroutputstream.c:
3439 * gfilteroutputstream.h:
3452 * glocalfileoutputstream.c:
3453 * gmemoryinputstream.c:
3454 * gmemoryinputstream.h:
3455 * gmemoryoutputstream.c:
3456 * gmemoryoutputstream.h:
3457 * gmountoperation.c:
3458 * gmountoperation.h:
3461 * gpollfilemonitor.c:
3464 * gsimpleasyncresult.c:
3465 * gsimpleasyncresult.h:
3466 * gsocketinputstream.c:
3467 * gsocketinputstream.h:
3468 * gsocketoutputstream.c:
3469 * gsocketoutputstream.h:
3476 * gunixvolumemonitor.c:
3485 Bumps documentation to 93% symbol coverage, touching most
3486 of the public files. Fixes broken function documentation prototypes.
3487 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3488 gtk-doc headers in private files.
3490 2007-11-27 Jürg Billeter <j@bitron.ch>
3492 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3493 (g_buffered_input_stream_read_byte):
3494 * gbufferedinputstream.h:
3495 New functions for efficient access to buffer and simple single byte
3498 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3499 (g_data_input_stream_read_until):
3500 * gdatainputstream.h:
3501 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3502 read_until with multiple stop chars.
3504 2007-11-27 Alexander Larsson <alexl@redhat.com>
3508 * inotify/Makefile.am:
3509 Use the user-specified giomoduledir
3511 2007-11-27 Alexander Larsson <alexl@redhat.com>
3515 Add catch-all gio.h header
3516 Don't install gdummyfile.h
3518 2007-11-26 Alexander Larsson <alexl@redhat.com>
3520 * Makefile.am (gioinclude_HEADERS):
3521 Remove trailing whitespace
3523 2007-11-26 Alexander Larsson <alexl@redhat.com>
3525 Merge gio-standalone into glib
3527 2007-11-25 Christian Kellner <gicmo@gnome.org>
3529 * gio/goutputstream.c:
3530 Fix small mistake in the docs.
3532 2007-11-21 Christian Persch <chpe@gnome.org>
3534 * gio/glocalfile.c: (g_local_file_trash):
3535 Convert filenames to UTF-8 for GError.
3536 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3537 as per xdg base dir spec.
3539 2007-11-21 Christian Persch <chpe@gnome.org>
3541 * gio/gdesktopappinfo.c:
3542 Use that g_key_file_to_data cannot fail.
3544 Use stock defines for the key file group and key names.
3547 2007-11-21 Alexander Larsson <alexl@redhat.com>
3550 (copy_stream_with_progress):
3551 Make sure we do a final progress callback with
3552 the full total size.
3554 2007-11-21 Alexander Larsson <alexl@redhat.com>
3557 Export g_file_copy_attributes
3558 Remove padding as its not needed for interfaces
3560 2007-11-20 Alexander Larsson <alexl@redhat.com>
3565 Add G_IO_ERROR_WOULD_MERGE for
3566 copy/move dir on dir with overwrite.
3568 2007-11-20 Alexander Larsson <alexl@redhat.com>
3571 * gio/glocalfileinfo.c:
3572 Add COPY_NAME (this is an optional
3573 non-modified utf8 version of the name) that
3576 2007-11-20 Alexander Larsson <alexl@redhat.com>
3578 * gio/glocalfileenumerator.c:
3579 Report errors as GIOError, not GFileError
3581 2007-11-16 Alexander Larsson <alexl@redhat.com>
3583 * gio/glocalfileoutputstream.c:
3584 * gio/gwin32appinfo.c:
3585 Fix typos in strings.
3586 Patch from Luca Ferretti <elle.uca@libero.it>
3588 2007-11-15 Alexander Larsson <alexl@redhat.com>
3591 Post release version bump
3593 === gio-standalone 0.1.2 ===
3595 2007-11-15 Alexander Larsson <alexl@redhat.com>
3597 * docs/reference/gio/Makefile.am:
3598 Fix up distcheck by removing weird
3604 2007-11-14 Alexander Larsson <alexl@redhat.com>
3606 * gio/gdesktopappinfo.c:
3607 * gio/glocaldirectorymonitor.c:
3609 * gio/glocalfileinfo.c:
3610 * gio/inotify/inotify-sub.c:
3611 * programs/gio-cat.c:
3612 * programs/gio-copy.c:
3613 * programs/gio-info.c:
3614 * programs/gio-ls.c:
3615 * programs/gio-monitor-dir.c:
3616 * programs/gio-monitor-file.c:
3617 * programs/gio-mount.c:
3618 * programs/gio-move.c:
3619 * programs/gio-rm.c:
3620 * programs/gio-save.c:
3621 * programs/gio-trash.c:
3622 Leak fixes from Kjartan Maraas
3624 2007-11-14 Alexander Larsson <alexl@redhat.com>
3626 * gio/fam/fam-helper.c:
3628 * gio/glocalfileinfo.c:
3632 * gio/inotify/inotify-diag.c:
3633 * gio/inotify/inotify-kernel.c:
3634 Various code cleanups from Kjartan Maraas
3636 2007-11-14 Alexander Larsson <alexl@redhat.com>
3638 * gio/gioscheduler.c:
3640 Set up threadpool so that we cache 2 unused
3641 idle threads for at 15 secs. This means we
3642 will reuse thread-local data (like dbus connections)
3645 2007-11-14 Alexander Larsson <alexl@redhat.com>
3647 * gio/fam/fam-helper.c:
3648 * gio/fam/gfamdirectorymonitor.c:
3649 * gio/fam/gfamfilemonitor.c:
3651 * gio/gcontenttype.c:
3652 * gio/gdatainputstream.c:
3653 * gio/gdataoutputstream.c:
3657 * gio/gfileattribute.h:
3658 * gio/gfileenumerator.c:
3660 * gio/ginputstream.c:
3663 * gio/glocalfileinfo.c:
3664 * gio/goutputstream.c:
3665 * gio/gpollfilemonitor.c:
3666 * gio/gsimpleasyncresult.c:
3667 * gio/gunixmounts.c:
3668 * gio/gunixmounts.h:
3669 * gio/inotify/ginotifydirectorymonitor.c:
3670 * gio/inotify/ginotifyfilemonitor.c:
3671 * gio/inotify/inotify-diag.c:
3672 * gio/inotify/inotify-kernel.c:
3673 * gio/inotify/inotify-path.c:
3675 * gio/test-streams.c:
3676 * programs/gio-info.c:
3677 * programs/gio-monitor-dir.c:
3678 * programs/gio-monitor-file.c:
3679 Various code cleanups from Kjartan Maraas
3681 2007-11-13 Alexander Larsson <alexl@redhat.com>
3684 Handle the uri-scheme calls for dummy files
3686 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3688 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3689 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3690 to avoid clash with the C++ keyword.
3692 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3694 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3695 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3697 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gio/glocaldirectorymonitor.c:
3700 * gio/glocalfilemonitor.c:
3701 * gio/gunionvolumemonitor.c:
3702 Don't use g_once_init_*() for initializations that could fail and
3703 could leave the initialization variable set to 0 but use GOnce.
3704 This prevents a deadlock on the second call when trying to create
3705 a monitor and no monitor type is available. Thanks to Sven Herzberg
3708 2007-11-11 Sven Herzberg <sven@imendio.com>
3710 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3711 #ifdef (make it work on MacOS X again)
3713 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3715 Fixes Changelog for last two commits (sorry guys).
3717 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3719 * gio/gbufferedinputstream.c:
3720 * gio/gdatainputstream.c:
3722 * gio/gfileoutputstream.c:
3723 * gio/gfilterinputstream.c:
3724 * gio/glocalfileinputstream.c:
3727 More consistency fixes in g*stream.c files.
3728 Significant clean of gfile's documentation, filling in of
3729 asynchronous operations documentation.
3731 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3733 * gio/gasyncresult.c:
3734 * gio/gbufferedinputstream.c:
3735 * gio/gbufferedoutputstream.c:
3736 * gio/gcancellable.c:
3737 * gio/gcontenttype.c:
3738 * gio/gdatainputstream.c:
3739 * gio/gdataoutputstream.c:
3740 * gio/gdesktopappinfo.c:
3743 * gio/gfileattribute.c:
3744 * gio/gio/gfileenumerator.c:
3746 * gio/gfileinputstream.c:
3747 * gio/gfilemonitor.c:
3748 * gio/gfileoutputstream.c:
3749 * gio/ginputstream.c:
3751 * gio/gioscheduler.c:
3752 * gio/gloadableicon.c:
3753 * gio/glocalfileoutputstream.c:
3754 * gio/gmemoryoutputstream.c:
3755 * gio/gmountoperation.c:
3756 * gio/goutputstream.c:
3758 * gio/gsimpleasyncresult.c:
3759 * gio/gunionvolumemonitor.c:
3760 * gio/gunixmounts.c:
3761 * gio/gunixvolume.c:
3765 * gio/gvolumemonitor.c:
3766 Updated documentation stubs, working towards consistency and
3769 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3771 * gio/gmemoryoutputstream.c:
3772 * gio/gmemoryoutputstream.h:
3773 Change g_memory_output_stream_set_free_on_close() to
3774 g_memory_output_stream_set_free_data() as this makes more sense and
3775 is more consistent with GMemoryInputStream.
3777 2007-11-07 Alexander Larsson <alexl@redhat.com>
3784 Change how we find the default vfs so that
3785 we can handle a gvfs failing to init
3787 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3789 * gio/gbufferedoutputstream.c:
3790 * gio/gdatainputstream.c:
3791 * gio/gdataoutputstream.c:
3792 * gio/gfileinputstream.c:
3793 * gio/gfileoutputstream.c:
3794 * gio/gfilterinputstream.c:
3795 * gio/gfilteroutputstream.c:
3796 * gio/ginputstream.c:
3797 * gio/gmemoryinputstream.c:
3798 * gio/gmemoryoutputstream.c:
3799 * gio/goutputstream.c:
3800 * gio/gsimpleasyncresult.c:
3801 * gio/gsocketinputstream.c:
3802 * gio/gsocketoutputstream.c:
3803 Add guards to the remaining public functions, add a TODO for
3804 an unimplemented function and remove some useless guards.
3806 2007-11-07 Alexander Larsson <alexl@redhat.com>
3809 Autoconf checks for the various types of
3810 getpwuid_r and getgrgid_r
3812 * gio/glocalfileinfo.c:
3813 Use the autoconf checks from above
3815 2007-11-07 Alexander Larsson <alexl@redhat.com>
3818 (g_local_file_query_filesystem_info):
3819 Some fixes for the statvfs case
3821 2007-11-07 Alexander Larsson <alexl@redhat.com>
3824 (g_local_file_query_filesystem_info):
3825 Pick the "best" of statfs / statvfs for the system
3826 if both are availible.
3828 2007-11-07 Alexander Larsson <alexl@redhat.com>
3830 Solaris fixes from Halton.Huo@Sun.COM:
3837 * gio/glocalfileinfo.c:
3838 Fix for solaris definition of getpwuid_r
3840 * gio/test-streams.c:
3841 Use G_GNUC_PRETTY_FUNCTION
3843 2007-11-07 Alexander Larsson <alexl@redhat.com>
3845 * gio/gdesktopappinfo.c:
3846 (update_default_list):
3847 Remove double semicolon.
3848 Patch from Jens Granseuer
3850 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3852 * docs/reference/gio/gio-sections.txt:
3853 * gio/gbufferedinputstream.c:
3854 * gio/gbufferedinputstream.h:
3855 * gio/gdatainputstream.c:
3856 * gio/gfileenumerator.c:
3857 * gio/gioscheduler.c:
3858 * gio/gunionvolumemonitor.c:
3860 * programs/gio-save.c:
3861 Fix typo: availible -> available. Unfortuntely this breaks API
3862 and ABI as g_buffered_input_stream_get_available() was renamed.
3864 * gio/gunixmounts.c:
3865 * gio/gbufferedinputstream.c:
3866 Add guards for public functions.
3868 2007-11-06 Ross Burton <ross@openedhand.com>
3870 * docs/reference/gio/Makefile.am:
3871 Fix invalid += usage which automake 1.10 doesn't like.
3873 2007-11-06 Alexander Larsson <alexl@redhat.com>
3876 (g_app_launch_context_class_init):
3879 Patch from Ross Burton
3881 2007-11-06 Alexander Larsson <alexl@redhat.com>
3884 Post release version bump
3886 === gio-standalone 0.1.1 ===
3888 2007-11-06 Alexander Larsson <alexl@redhat.com>
3891 Bump version to 0.1.1
3893 * gio/gsimpleasyncresult.c:
3894 (g_simple_async_result_set_from_error):
3895 Remove bogus g_return_if_fail
3897 2007-11-06 Alexander Larsson <alexl@redhat.com>
3900 The name is gio-standalone
3903 Add top src/builddir to includedir
3905 2007-11-06 Alexander Larsson <alexl@redhat.com>
3907 * docs/reference/gio/gio-sections.txt:
3909 * gio/gbufferedinputstream.c:
3910 * gio/gbufferedoutputstream.c:
3911 * gio/gcancellable.c:
3912 * gio/gdatainputstream.h:
3913 * gio/gdataoutputstream.c:
3914 * gio/gdataoutputstream.h:
3915 * gio/gdirectorymonitor.c:
3917 * gio/gfileattribute.c:
3918 * gio/gfileattribute.h:
3919 * gio/gfileenumerator.c:
3920 * gio/gfileenumerator.h:
3923 * gio/gfileinputstream.h:
3924 * gio/gfilemonitor.c:
3925 * gio/gfileoutputstream.h:
3926 * gio/glocalfilemonitor.h:
3927 * gio/glocalfileoutputstream.h:
3928 * gio/gmemoryinputstream.c:
3929 * gio/gmemoryoutputstream.c:
3930 * gio/gmountoperation.c:
3931 * gio/goutputstream.c:
3932 * gio/goutputstream.h:
3934 * gio/gsimpleasyncresult.c:
3935 * gio/gunixmounts.c:
3936 * gio/gunixmounts.h:
3938 * gio/inotify/inotify-helper.c:
3939 Fix gtk-doc warnings
3941 Patch from Ross Burton
3943 2007-11-06 Alexander Larsson <alexl@redhat.com>
3945 * gio/gfilenamecompleter.c:
3946 (g_filename_completer_get_completions):
3949 * gio/gunixvolume.c:
3950 Remove unused function
3952 Patches from Ross Burton
3954 2007-11-06 Alexander Larsson <alexl@redhat.com>
3959 Padding not needed for interfaces
3961 2007-11-06 Alexander Larsson <alexl@redhat.com>
3963 * gio/gfilemonitor.c:
3967 Make giotypes.h an internal file
3970 * gio/gbufferedinputstream.h:
3971 * gio/gbufferedoutputstream.h:
3972 * gio/gcancellable.h:
3973 * gio/gdatainputstream.h:
3974 * gio/gdataoutputstream.h:
3975 * gio/gdirectorymonitor.c:
3976 * gio/gdirectorymonitor.h:
3981 * gio/gfileattribute.h:
3982 * gio/gfileenumerator.h:
3987 * gio/gfilemonitor.c:
3988 * gio/gfilemonitor.h:
3989 * gio/gfilenamecompleter.c:
3990 * gio/gfilenamecompleter.h:
3991 * gio/gfilterinputstream.h:
3992 * gio/gfilteroutputstream.h:
3993 * gio/ginputstream.h:
3994 * gio/gmemoryinputstream.h:
3995 * gio/gmemoryoutputstream.h:
3996 * gio/gmountoperation.c:
3997 * gio/gmountoperation.h:
3998 * gio/gnativevolumemonitor.c:
3999 * gio/goutputstream.h:
4002 * gio/gsimpleasyncresult.c:
4003 * gio/gsimpleasyncresult.h:
4004 * gio/gsocketinputstream.h:
4005 * gio/gsocketoutputstream.h:
4006 * gio/gthemedicon.c:
4007 * gio/gthemedicon.h:
4011 * gio/gvolumemonitor.c:
4012 * gio/gvolumemonitor.h:
4013 Add padding in classes where it seems useful
4014 Don't include giotypes.h from public headers
4015 Move in Class definitions into c file where possible
4020 2007-11-06 Alexander Larsson <alexl@redhat.com>
4022 * docs/reference/gio/gio-docs.xml:
4023 Better structure for API docs
4025 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4028 * gio/gloadableicon.c:
4029 * gio/gsimpleasyncresult.c:
4030 * gio/gthemedicon.c:
4031 Add some more guards to public functions. Only files missing are now
4034 2007-11-06 Alexander Larsson <alexl@redhat.com>
4036 * docs/reference/gio/gio-docs.xml:
4037 Remove old files, add missing ones
4039 2007-11-06 Alexander Larsson <alexl@redhat.com>
4041 * docs/reference/gio/gio-sections.txt:
4044 Hide implementation classes
4046 * gio/gdriveprivate.h:
4047 * gio/gvolumeprivate.h:
4048 Remove non-existing function declarations
4050 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4053 Fix compilation warnings and add guards to the new functions.
4055 * gio/gasyncresult.c:
4057 Add guards to the public functions.
4060 Implement get_path().
4062 2007-11-06 Alexander Larsson <alexl@redhat.com>
4064 * gio/gfilenamecompleter.c:
4065 Make g_filename_completer_get_completions
4066 return char ** instead of GList for
4069 * docs/reference/gio/gio-docs.xml:
4070 * docs/reference/gio/gio-sections.txt:
4072 * gio/gasyncresult.c:
4073 * gio/gbufferedinputstream.c:
4074 * gio/gbufferedoutputstream.c:
4075 * gio/gcancellable.c:
4076 * gio/gcontenttype.c:
4077 * gio/gdatainputstream.c:
4078 * gio/gdataoutputstream.c:
4079 * gio/gdesktopappinfo.c:
4080 * gio/gdirectorymonitor.c:
4084 * gio/gfileattribute.c:
4085 * gio/gfileenumerator.c:
4088 * gio/gfileinputstream.c:
4089 * gio/gfilemonitor.c:
4090 * gio/gfilenamecompleter.c:
4091 * gio/gfilenamecompleter.h:
4092 * gio/gfileoutputstream.c:
4093 * gio/gfilterinputstream.c:
4095 * gio/ginputstream.c:
4097 * gio/gioscheduler.c:
4098 * gio/gloadableicon.c:
4099 * gio/glocaldirectorymonitor.c:
4101 * gio/glocalfileinputstream.c:
4102 * gio/glocalfilemonitor.c:
4103 * gio/glocalfileoutputstream.c:
4105 * gio/gmemoryinputstream.c:
4106 * gio/gmemoryoutputstream.c:
4107 * gio/gmountoperation.c:
4108 * gio/goutputstream.c:
4109 * gio/gpollfilemonitor.c:
4111 * gio/gsimpleasyncresult.c:
4112 * gio/gsocketinputstream.c:
4113 * gio/gsocketoutputstream.c:
4114 * gio/gthemedicon.c:
4115 * gio/gunionvolumemonitor.c:
4117 * gio/gunixmounts.c:
4118 * gio/gunixvolume.c:
4119 * gio/gunixvolumemonitor.c:
4123 * gio/gvolumemonitor.c:
4124 * gio/gwin32appinfo.c:
4125 Add (mostly stub) doc strings to public functions.
4126 Patch from Andrew Walton (awalton@gmail.com)
4128 2007-11-06 Alexander Larsson <alexl@redhat.com>
4130 * gio/gappinfo.[ch]:
4131 Added GAppLaunchContext object and pass that to launch.
4132 This allows simple implementation of both
4133 launch-on-screen and startup notification via a gtk+
4134 subclass of GAppLaunchContext
4136 * gio/gdesktopappinfo.c:
4137 Implement GAppLaunchContext API
4139 * gio/gwin32appinfo.c:
4142 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4144 * gio/gmountoperation.c:
4145 Add some guards to GMountOperation's public functions.
4147 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4151 * gio/gcancellable.c:
4152 * gio/gdirectorymonitor.c:
4154 * gio/gfileenumerator.c:
4155 * gio/gfilemonitor.c:,
4156 * gio/gfilenamecompleter.c:
4159 * gio/gioscheduler.c:
4163 * gio/gvolumemonitor.c:
4164 Add even more guards to various public functions.
4166 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4169 Add guards to the public functions of GAppInfo.
4171 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4173 * gio/gcontenttype.c:
4174 Add some more guards for public functions.
4176 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4178 * gio/fam/fam-module.c:
4179 * gio/fam/gfamdirectorymonitor.c:
4180 * gio/fam/gfamdirectorymonitor.h:
4181 * gio/fam/gfamfilemonitor.c:
4182 * gio/fam/gfamfilemonitor.h:
4183 * gio/inotify/ginotifydirectorymonitor.c:
4184 * gio/inotify/ginotifydirectorymonitor.h:
4185 * gio/inotify/ginotifyfilemonitor.c:
4186 * gio/inotify/ginotifyfilemonitor.h:
4187 Add proper copyright information and remove an unused variable
4188 in the GInotifyFileMonitor constructor.
4190 * gio/gcancellable.c:
4191 Add a guard for a public function and an assertion to prevent
4192 an undefined program state.
4194 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4196 * gio/gfileattribute.c:
4197 Don't run into an assertion if the given attribute value is NULL
4198 in g_file_attribute_value_get_*() but instead return a fallback
4199 value that makes sense in most situations. Passing them a attribute
4200 value with the wrong type will still run into an assertion.
4202 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4204 * gio/gfileattribute.c:
4206 Add even more guards to the public functions. Also fix the refcounting
4207 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4208 let g_file_info_list_attributes() filter the attributes by namespace
4209 instead of simply ignoring the namespace parameter.
4211 2007-11-03 Sven Herzberg <sven@imendio.com>
4213 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4214 (This makes gio work on MacOS X again)
4216 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4219 Build the gio subdirectory before the docs. Otherwise the build will
4222 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4223 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4224 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4225 Add guards to the public functions.
4227 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4229 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4230 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4231 to prevent a compiler warning.
4233 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4234 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4235 return something in the non-void function find_topdir_for().
4237 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4244 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4246 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4247 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4248 * gwin32appinfo.c (g_win32_app_info_launch):
4249 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4250 envp_for_startup_id, g_desktop_app_info_launch,
4251 g_desktop_app_info_launch_uris):
4253 Give an opaque 'startup_id' string instead of 'envp'.
4254 Support empty file lists for launching new windows.
4255 Fix infinite recursion bug when launching URIs.
4257 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4260 Add guard to the new g_file_get_uri_scheme() function.
4262 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4265 Convert a g_return_val_if_fail() to setting the GError instead as
4266 otherwise applications have to verify the parameter before otherwise
4267 and the parameter might come directly from the user.
4269 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4271 * gio/inotify/ginotify*.[ch]:
4272 Add missing copyright information.
4274 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4277 Add guards in the beginning of public functions to check for valid
4278 parameters and fix a bug in copy_stream_with_progress() that could've
4279 caused writing less bytes than reading.
4280 * gio/glocalfileinfo.c:
4281 Check for a NULL parameter and set the GError accordingly then.
4282 * gio/goutputstream.c:
4283 Fix the same bug as in gfile.c that could've caused writing less bytes
4284 than reading in g_output_stream_real_splice().
4286 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4289 Use the correct gvolumeprivate.h naming
4291 2007-11-01 Christian Kellner <gicmo@gnome.org>
4294 Remove leftover "$(daemon_sources)" entry.
4296 2007-11-01 Christian Kellner <gicmo@gnome.org>
4301 Add copyright information to source files.
4303 2007-11-01 Alexander Larsson <alexl@redhat.com>
4307 Add g_file_get_uri_scheme
4309 2007-11-01 Alexander Larsson <alexl@redhat.com>
4312 * gio/gdesktopappinfo.c:
4313 * gio/gwin32appinfo.c:
4314 Add g_app_info_get_default_for_uri_scheme.
4316 2007-11-01 Alexander Larsson <alexl@redhat.com>
4319 Correct filename for gdriveprivate.h
4321 2007-10-31 Alexander Larsson <alexl@redhat.com>
4324 Rename id:value to id:file
4327 * gio/glocalfileinfo.c:
4330 2007-10-31 Alexander Larsson <alexl@redhat.com>
4332 * gio/gunixvolume.c:
4334 Remove g_volume_get_platform_id, as thats not
4335 needed with the simpler union volume monitor
4337 2007-10-31 Alexander Larsson <alexl@redhat.com>
4340 * gio/guniondrive.[ch]: Removed.
4341 * gio/gunionvolume.[ch]: Removed.
4342 Remove GUnionDrive/Volume
4344 * gio/gunionvolumemonitor.c:
4345 Simplify union volume monitor, now we
4346 only have one native volume monitor and
4347 we use the actual volumes/drives from the
4348 child monitors instead of wrapping them
4350 * gio/gnativevolumemonitor.[ch]:
4351 Base class for native volume monitors.
4352 Includes priority and get_volume_for_mountpoint
4355 Add g_file_find_enclosing_volume
4358 Remove volume name fs attribute
4359 Add readonly fs attribute
4362 Implement readonly attribute
4363 remove volume name attribute
4364 Implement find_enclosing volume
4366 * gio/gunixmounts.c:
4367 Add a volume for "/".
4369 * gio/gunixvolume.[ch]:
4370 Set better name for /
4372 * gio/gunixvolumemonitor.[ch]:
4373 Derive from GNativeVolumeMonitor
4374 Implement get_volume_for_mountpoint
4377 GVolume typedef moved to gfile.h
4379 * gio/gvolumeprivate.h:
4380 Add g_volume_get_for_mount_path
4382 2007-10-31 Alexander Larsson <alexl@redhat.com>
4384 * gio/gunixmounts.[ch]:
4385 Add cache info to unix mount listers
4386 Make getmntent use threadsafe
4387 Add is_system_internal attribute for GUnixMount
4389 * gio/gunixvolume.c:
4390 (g_unix_volume_new):
4391 Use is_system_internal instead of own code
4393 * gio/glocaldirectorymonitor.c:
4394 * gio/gunixvolumemonitor.c:
4395 Update to new gunixmounts API
4400 2007-10-30 Alexander Larsson <alexl@redhat.com>
4403 Add volume name fsinfo attribute
4406 Read volume name info
4408 * gio/gunionvolumemonitor.c:
4409 Fix infinite loops when finalizing a union volume monitor
4411 2007-10-30 Alexander Larsson <alexl@redhat.com>
4413 * gio/goutputstream.[ch]:
4414 Add splice() with default implementation
4416 * gio/gsocketoutputstream.c:
4417 (g_socket_output_stream_write):
4418 Return error on cancellation correctly.
4420 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4422 * gio/glocalfile.c (g_local_file_trash):
4423 Do not leak a string.
4425 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4427 * gio/gfile.c (g_file_load_contents):
4428 Unref the stream after closing it.
4430 2007-10-25 Alexander Larsson <alexl@redhat.com>
4432 * gio/gioscheduler.h:
4435 2007-10-25 Alexander Larsson <alexl@redhat.com>
4439 Add g_file_has_uri_scheme and implement for local files
4441 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4443 * gio/gdesktopappinfo.c: do not leak a string.
4445 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4447 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4448 (g_local_directory_monitor_new):
4449 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4450 (g_local_file_monitor_new):
4451 Only look for the monitor type that should be used the first time
4452 and use g_qsort_with_data() instead of our own bubble sort
4455 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4458 * gio/fam/Makefile.am:
4459 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4460 * gio/fam/fam-helper.h:
4461 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4462 * gio/fam/gfamdirectorymonitor.c:
4463 * gio/fam/gfamdirectorymonitor.h:
4464 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4465 * gio/fam/gfamfilemonitor.h:
4466 * gio/glocaldirectorymonitor.c:
4467 * gio/glocaldirectorymonitor.h:
4468 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4469 * gio/glocalfilemonitor.h:
4470 * gio/inotify/Makefile.am:
4471 * gio/inotify/ginotifydirectorymonitor.c:
4472 * gio/inotify/ginotifydirectorymonitor.h:
4473 * gio/inotify/ginotifyfilemonitor.c:
4474 * gio/inotify/ginotifyfilemonitor.h:
4475 Implement the FAM and Inotify monitors as
4476 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4477 their own GIO module. GLocal(Directory|File)Monitor will use the
4478 monitor with the highest rank that is supported on that machine.
4480 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4483 Change GIO module dir to $(libdir)/gio/modules and change
4484 the log domain from GVFS to GIO. Also only export symbols starting
4485 with g_ in the resulting library.
4486 * gio/test-streams.c: (main):
4487 Set log handler for the GIO log domain.
4489 2007-10-22 Alexander Larsson <alexl@redhat.com>
4491 * gio/gfilenamecompleter.[ch]:
4492 Add g_filename_completer_set_dirs_only
4494 2007-10-22 Alexander Larsson <alexl@redhat.com>
4497 * gio/gurifuncs.[ch]:
4498 Add some simple URI helpers
4500 * gio/gfilenamecompleter.[ch]:
4501 Added object for filename (parse name actually) completion
4504 Handle ~ in parse names
4506 2007-10-17 Alexander Larsson <alexl@redhat.com>
4509 * gio/glocalfileinfo.c:
4510 Add and implement id:value attribute
4512 2007-10-17 Alexander Larsson <alexl@redhat.com>
4515 * gio/guniondrive.c:
4517 Add and implement g_drive_has_volumes
4519 2007-10-17 Alexander Larsson <alexl@redhat.com>
4522 * gio/glocalfileinfo.[ch]:
4523 Add unix:is_mountpoint and implement for local files
4525 2007-10-16 Alexander Larsson <alexl@redhat.com>
4527 * gio/gunionvolumemonitor.c:
4528 (g_union_volume_monitor_init):
4529 Fix up the unix type getting so that it works with gcc
4531 2007-10-12 Alexander Larsson <alexl@redhat.com>
4534 * gio/glocalfileinfo.c:
4535 Add thumbnail:failed to file info
4537 2007-10-12 Richard Hult <richard@imendio.com>
4539 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4540 optimizing away the get_type call (happens with some gcc versions,
4541 like the one shipped with OS X 10.4).
4543 2007-10-12 Alexander Larsson <alexl@redhat.com>
4545 * gio/glocalfileinfo.c:
4546 (_g_local_file_info_set_attribute):
4547 Fix build if not HAVE_XATTR
4548 Patch from Milosz Derezynski <internalerror@gmail.com>
4550 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4552 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4553 around for review, otherwise I would have asked you before
4556 2007-10-11 Alexander Larsson <alexl@redhat.com>
4559 Add thumbnail:path attribute
4561 * gio/glocalfileinfo.c:
4562 Implement thumbnail:path for local files
4564 2007-10-11 Alexander Larsson <alexl@redhat.com>
4566 * gio/glocalfileinfo.c:
4567 (_g_local_file_info_get):
4568 Avoid duplicate icon names
4570 2007-10-11 Alexander Larsson <alexl@redhat.com>
4572 * gio/gthemedicon.[ch]:
4573 Change g_themed_icon_get_names return type to const
4575 2007-10-10 Alexander Larsson <alexl@redhat.com>
4577 * gio/glocalfileinfo.c:
4578 Don't reference freed memory
4580 2007-10-10 Alexander Larsson <alexl@redhat.com>
4582 * gio/gfileattribute.c:
4585 * gio/glocalfileinfo.c:
4588 2007-10-10 Alexander Larsson <alexl@redhat.com>
4591 Check for NULL icons
4593 * gio/gfileattribute.c:
4594 Don't dup when getting objects (same as for string attributes)
4596 * gio/gicon.c (g_icon_equal):
4597 Safely handle NULLs in equal
4599 2007-10-10 Alexander Larsson <alexl@redhat.com>
4602 Fix c++ compilation issues
4603 Patch from Milosz Derezynski <internalerror@gmail.com>
4605 2007-10-10 Alexander Larsson <alexl@redhat.com>
4607 * programs/gio-monitor-dir.c:
4608 Don't crash if dir monitor not supported.
4610 2007-10-09 Alexander Larsson <alexl@redhat.com>
4613 Add missing G_END_DECLS
4615 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4617 * gio/gfile.c: (g_file_set_display_name),
4618 (g_file_query_settable_attributes),
4619 (g_file_query_writable_namespaces):
4620 Return NULL not FALSE on errors as the return type is a pointer.
4622 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4624 * gio/glocalfile.c: (g_local_file_monitor_file):
4625 Don't call monitor_file on the default interface vtable (which
4626 is NULL) but simply return NULL. The caller, GFile, will create a
4627 polling monitor if NULL is returned.
4629 2007-10-09 Alexander Larsson <alexl@redhat.com>
4633 * gio-unix-2.0.pc.in:
4634 Add gio-unix-2.0.pc if OS_UNIX
4637 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4639 2007-10-09 Alexander Larsson <alexl@redhat.com>
4641 * gio/gunixmounts.[ch]:
4642 Make unix mount monitoring API sane.
4643 Now its just a object with mounts_changed
4644 and mountpoints_changed signals.
4646 * gio/glocaldirectorymonitor.c:
4647 * gio/gunixvolumemonitor.c:
4648 Use new mount monitor api
4650 2007-10-09 Alexander Larsson <alexl@redhat.com>
4652 * gio/gunixmounts.[ch]:
4653 Move guess type into one call for mounts and one for mountpoints
4656 * gio/gunixvolume.c:
4659 2007-10-09 Alexander Larsson <alexl@redhat.com>
4661 * gio/gunixmounts.[ch]:
4662 Remove _ prefix in preparation to make this semi-public
4663 Hide implementation of structs
4665 * gio/glocaldirectorymonitor.c:
4667 * gio/gunixvolume.c:
4668 * gio/gunixvolumemonitor.c:
4669 Update for above API changes
4671 2007-10-08 Alexander Larsson <alexl@redhat.com>
4674 Better polling fallback. This also handles the case where we have
4675 a monitor_file implementation, but it fails.
4677 2007-10-08 Alexander Larsson <alexl@redhat.com>
4681 * gio/gunixmounts.c:
4682 * programs/gio-monitor-dir.c:
4683 * programs/gio-monitor-file.c:
4684 Added cancellable to file monitoring calls.
4685 These are really sync calls and need this.
4687 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4689 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4690 (g_local_vfs_class_init):
4691 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4692 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4694 2007-10-05 Alexander Larsson <alexl@redhat.com>
4696 * gio/gdirectorymonitorprivate.h:
4697 * gio/gfilemonitorprivate.h:
4698 * gio/gdirectorymonitor.h:
4699 * gio/gfilemonitor.h:
4700 Remove *private.h and move to the public API, so that
4701 we can do implementations outside gio (such as in gvfs)
4703 * gio/gdirectorymonitor.c:
4704 * gio/gfilemonitor.c:
4705 * gio/glocaldirectorymonitor.c:
4706 * gio/gpollfilemonitor.c:
4707 * gio/inotify/inotify-helper.c:
4708 * gio/fam/fam-helper.c:
4709 Update to the new header names
4711 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4713 * gio/gdirectorymonitor.c:
4714 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4717 2007-10-04 Alexander Larsson <alexl@redhat.com>
4719 * gio/glocalfileinfo.c (get_access_rights):
4720 Set CAN_TRASH when we can move the file.
4721 We should really also check for a parent trash dir.
4723 2007-10-04 Alexander Larsson <alexl@redhat.com>
4725 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4726 Add can_trash access attribute
4728 2007-10-04 Alexander Larsson <alexl@redhat.com>
4731 (g_local_file_trash):
4732 Create info file first. This is per-spec and allows
4733 us to actually trash directories.
4735 2007-10-02 Alexander Larsson <alexl@redhat.com>
4737 * gio/gdesktopappinfo.c:
4738 Implement the new mime support code.
4739 Always set app as handling mimetype when being set as default for it
4741 2007-10-01 Alexander Larsson <alexl@redhat.com>
4743 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4744 Fix up check for xattrs:
4746 2007-10-01 Alexander Larsson <alexl@redhat.com>
4749 (g_app_info_set_as_default_for_extension):
4750 (g_app_info_add_supports_type):
4751 (g_app_info_can_remove_supports_type):
4752 (g_app_info_remove_supports_type):
4753 Make these fail nicely if not implemented
4755 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4757 * gio/glocalfileoutputstream.c:
4758 * gio/glocalfileoutputstream.h:
4763 * programs/gio-save.c:
4764 Add a GFileCreateFlags argument to operations that can create
4767 2007-10-01 Alexander Larsson <alexl@redhat.com>
4769 * gio/gappinfo.[ch]:
4770 * gio/gdesktopappinfo.c:
4771 Add more (stubbed out) mime API needed for nautilus
4773 2007-10-01 Alexander Larsson <alexl@redhat.com>
4776 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4777 Add g_app_info_set_as_default_for_extension.
4779 * gio/gdesktopappinfo.c:
4780 Dummy for g_app_info_set_as_default_for_extension
4781 Support flags in g_app_info_create_from_commandline
4783 * gio/gwin32appinfo.c:
4785 Update for API changes
4787 * gio/gthemedicon.c:
4788 Properly NULL-terminate list of icon names
4790 2007-09-28 Alexander Larsson <alexl@redhat.com>
4792 * gio/gloadableicon.h:
4793 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4795 2007-09-28 Alexander Larsson <alexl@redhat.com>
4798 Install headers in $includedir/gio-standalone/
4800 * gio-2.0.pc.in: Added.
4801 * gio-standalone.pc.in: Removed.
4804 Renamed pkg-config file to match glib (for future move)
4805 Update to the new include dir
4808 Add more TODO comments
4810 2007-09-28 Alexander Larsson <alexl@redhat.com>
4812 * gio/gdesktopappinfo.[ch]:
4813 Expose new_from_filename
4814 Add getter for is_hidden and handle it better
4816 2007-09-28 Alexander Larsson <alexl@redhat.com>
4818 * gio/gfileinfo.[ch]:
4819 Rename g_file_size_format_for_display to
4820 g_format_file_size_for_display.
4821 Now it doesn't have the g_file prefix, so we
4822 can later move it to glib.
4824 2007-09-28 Alexander Larsson <alexl@redhat.com>
4826 * gio/gappinfo.[ch]:
4827 Add g_app_info_get_id and g_app_info_get_executable.
4828 Make all getters non-reffing
4829 Make g_app_info_launch take GFile arguments.
4830 Add must_support_uris argument to g_app_info_get_default_for_type.
4832 * gio/gwin32appinfo.c:
4833 Update to GAppInfo api changes
4835 * gio/gdesktopappinfo.c:
4836 Update to GAppInfo api changes
4837 Implement supports_xdg_startup_notify
4839 * gio/gfileicon.c (g_file_icon_get_file):
4840 Make getter non-reffing.
4845 2007-09-27 Alexander Larsson <alexl@redhat.com>
4847 * gio/gfileinfo.[ch]:
4848 Add g_file_size_format_for_display helper
4850 2007-09-27 Alexander Larsson <alexl@redhat.com>
4852 * gio/glocalfileinfo.c:
4853 Set UNIX_GID from gid, not from uid
4855 2007-09-27 Alexander Larsson <alexl@redhat.com>
4858 Add g_file_set_attributes_async
4860 2007-09-27 Alexander Larsson <alexl@redhat.com>
4862 * gio/glocalfile.c (g_local_file_set_display_name):
4863 Fix set_display_name to actually rename to the right place.
4864 Use lstat to look for existing files so we don't overwrite
4867 2007-09-26 Alexander Larsson <alexl@redhat.com>
4870 Add g_file_set_display_name_async()
4872 2007-09-26 Alexander Larsson <alexl@redhat.com>
4875 Add load_partial_contents async calls
4878 Make internal function static
4880 2007-09-26 Alexander Larsson <alexl@redhat.com>
4882 * gio/glocalfileinfo.c:
4883 Correctly detect broken symlinks
4885 2007-09-26 Alexander Larsson <alexl@redhat.com>
4887 * gio/gcancellable.c (g_cancellable_cancel):
4888 Allow cancel on NULL cancellable
4890 2007-09-25 Alexander Larsson <alexl@redhat.com>
4892 * gio/gsimpleasyncresult.c:
4893 Don't allocate g_error manually.
4894 Fixes g_slice/g_new mixup crash
4896 2007-09-25 Alexander Larsson <alexl@redhat.com>
4898 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4899 Actually set active_backend.
4900 This means the monitor will be cancelled correctly.
4902 2007-09-25 Alexander Larsson <alexl@redhat.com>
4904 * gio/gdirectorymonitor.c:
4905 Set timeout to NULL when destroying
4907 2007-09-25 Alexander Larsson <alexl@redhat.com>
4910 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4911 that is a better description of the error.
4913 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4915 * gio/gvfs.c: (g_vfs_get_local):
4916 Make the local vfs variable static. The same instance should
4919 2007-09-24 Alexander Larsson <alexl@redhat.com>
4921 * gio/glocalfileinfo.c:
4922 Pass in actual length read into sniffer, not the length
4925 2007-09-21 Alexander Larsson <alexl@redhat.com>
4927 * gio/gfileenumerator.c:
4930 * gio/gfileinputstream.c:
4931 * gio/gfileoutputstream.c:
4932 * gio/ginputstream.c:
4933 * gio/goutputstream.c:
4934 Don't crash if async callbacks are NULL
4936 2007-09-20 Alexander Larsson <alexl@redhat.com>
4939 Add async enumerate_children method and default
4942 2007-09-20 Alexander Larsson <alexl@redhat.com>
4945 Add g_file_contains_file & g_file_get_relative_path, since they
4946 were needed for nautilus.
4947 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4952 Implement new methods
4954 2007-09-17 Alexander Larsson <alexl@redhat.com>
4957 * gio/gfileinputstream.[ch]:
4958 * gio/gfileoutputstream.[ch]:
4960 * gio/glocalfileenumerator.[ch]:
4961 * gio/glocalfileinfo.[ch]:
4962 * gio/glocalfileinputstream.c:
4963 * gio/glocalfileoutputstream.c:
4964 * gio/gpollfilemonitor.c:
4965 * programs/gio-copy.c:
4966 * programs/gio-info.c:
4967 * programs/gio-move.c:
4968 Rename get_file_info to query_info() to make it clearer
4969 that these are not simple getters, but do i/o.
4971 2007-09-17 Alexander Larsson <alexl@redhat.com>
4973 * gio/gdatainputstream.[ch]:
4974 * gio/test-streams.c:
4975 Use _read_XXX instead of _get_XXX for the i/o calls
4978 2007-09-17 Alexander Larsson <alexl@redhat.com>
4981 Added needed stuff to TODO comment
4983 2007-09-17 Alexander Larsson <alexl@redhat.com>
4985 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4986 Don't error out removing the backup copy if it doesn't
4989 2007-09-14 Alexander Larsson <alexl@redhat.com>
4991 * programs/Makefile.am:
4992 * programs/gvfs-*.c:
4994 Renamed apps from gvfs-xxx to gio-xxx.
4996 2007-09-14 Alexander Larsson <alexl@redhat.com>
4999 * gio/gfileoutputstream.[ch]:
5000 * gio/glocalfileoutputstream.c:
5001 * programs/gvfs-save.c:
5002 g_file_output_stream_get_etag doesn't do i/o, so remove
5003 cancellation and error.
5005 2007-09-14 Alexander Larsson <alexl@redhat.com>
5008 Add new_etag output to replace_contents functions
5010 2007-09-14 Alexander Larsson <alexl@redhat.com>
5012 * gio/gfileoutputstream.[ch]:
5013 Add async get_file_info and default implementation
5015 2007-09-14 Alexander Larsson <alexl@redhat.com>
5017 * gio/gfileinputstream.c:
5018 Implement fallback wrapper for async get_file_info
5020 2007-09-14 Alexander Larsson <alexl@redhat.com>
5023 Add etag out argument to load_contents
5028 2007-09-14 Alexander Larsson <alexl@redhat.com>
5030 * gio/gcontenttype.c (looks_like_text):
5031 Whitespace like tab, cr and lf do not make the
5034 2007-09-14 Alexander Larsson <alexl@redhat.com>
5036 * gio/gfileinputstream.[ch]:
5037 Add async get_file_info.
5039 2007-09-13 Alexander Larsson <alexl@redhat.com>
5041 * gio/goutputstream.c (g_output_stream_write_all):
5042 Allow NULL for bytes_written
5044 2007-09-13 Alexander Larsson <alexl@redhat.com>
5046 * gio/gmemoryinputstream.[ch]:
5047 Add accessors for data
5049 2007-09-13 Alexander Larsson <alexl@redhat.com>
5051 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5052 Don't crash if length is NULL