1 2008-09-08 Christian Neumair <cneumair@gnome.org>
3 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
4 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
5 Use non-blocking pipe for mount helper I/O. Fixes #550647.
7 2008-09-06 Matthias Clasen <mclasen@redhat.com>
9 Bug 551149 – xdgmime mem leak
11 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
12 a memory leak. Patch by Christian Persch
14 2008-09-04 Tor Lillqvist <tml@novell.com>
16 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
19 2008-09-02 Matthias Clasen <mclasen@redhat.com>
21 * === Released 2.18.0 ===
23 2008-09-02 Michael Natterer <mitch@imendio.com>
25 * *.h: big header formatting cleanup: indentation, vtable
26 formatting, consistent spacing in (* vfunc), trailing whitespace
27 removal. Formatting should be pretty consistent in all GIO headers
30 2008-09-02 Matthias Clasen <mclasen@redhat.com>
32 * gmount.h: Document guess_content_type sync vfunc.
34 2008-09-02 Michael Natterer <mitch@imendio.com>
36 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
37 fix parent_class member to be GFilterOutputStreamClass (not
38 GOutputStreamClass). Drop three pointers of padding, which is
39 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
40 so the class struct size stays the same.
42 2008-09-02 Matthias Clasen <mclasen@redhat.com>
44 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
46 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
47 nonexisting return values. Pointed out by Cosimo Cecchi.
49 2008-08-23 Tor Lillqvist <tml@novell.com>
51 Bug 548988 - g_file_replace fails on Windows when the target file
54 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
55 Windows, close the file before potentially renaming it (in case we
56 have been writing to a file with a temporary name).
58 (g_local_file_output_stream_close, handle_overwrite_open): Use
59 GLocalFileStat instead of plain struct stat, for passing to
60 _g_local_file_info_create_etag(). Thus also use _fstati64()
61 instead of plain fstat() on Windows.
63 2008-08-18 Matthias Clasen <mclasen@redhat.com>
65 * === Released 2.17.7 ===
67 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
69 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
72 2008-08-13 Tor Lillqvist <tml@novell.com>
76 * win32/gwinhttpfile.c
77 * win32/gwinhttpfileinputstream.c
78 * win32/gwinhttpfileoutputstream.c: Refactor some common code
79 snippets into helper functions. Check HTTP response status
80 codes. Implement g_winhttp_file_query_info(), looking at
81 Content-Length, Content-Type and Last-Modified.
83 * win32/winhttp.h: Add some symbolic constants that are not
84 publicly documented. Just a handful, so it should be OK to use
85 information from the Windows SDK's headers.
87 2008-08-13 Tor Lillqvist <tml@novell.com>
89 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
92 * win32/gwin32directorymonitor.c
93 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
95 2008-08-13 Matthias Clasen <mclasen@redhat.com>
98 * goutputstream.c: Add intro docs.
100 2008-08-13 Tor Lillqvist <tml@novell.com>
102 * win32/gwinhttpfileoutputstream.c
103 (g_winhttp_file_output_stream_write): Don't write the
104 Content-Length header ourselves, WinHttpSendRequest() takes care
105 of that when the dwTotalLength parameter is non-zero. Increment
106 offset by the number of actual bytes sent, although I wonder if
107 such a scenario is possible where less than requested would be
108 sent and accepted by the server without errors.
110 2008-08-13 Tor Lillqvist <tml@novell.com>
112 * win32/gwinhttpvfs.c
113 * win32/gwinhttpvfs.h
114 * win32/gwinhttpfile.c
115 * win32/gwinhttpfile.h
116 * win32/gwinhttpfileinputstream.c
117 * win32/gwinhttpfileinputstream.h
118 * win32/gwinhttpfileoutputstream.c
119 * win32/gwinhttpfileoutputstream.h: New files implementing
120 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
121 Windows. The implementation uses the WinHttp API. Both reading and
122 writing are supported, i.e. GET and PUT requests. When writing,
123 each write call is done using a separate PUT request with a
124 Content-Range header. Requests for file URIs and plain pathnames
125 are forwarded to GLocalVfs.
127 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
128 WINE. Used as there is no <winhttp.h> bundled with mingw, and
129 requiring people to download the Windows SDK just for this one
130 header is not reasonable.
132 * win32/Makefile.am: Add above files.
134 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
135 the plumbing for the above.
137 2008-08-11 Sven Neumann <sven@gimp.org>
139 * gfilenamecompleter.c
140 * glocaldirectorymonitor.c
142 * gunionvolumemonitor.c
146 * gunixvolumemonitor.c
149 * gwin32volumemonitor.c: use canonical signal names.
151 2008-08-11 Tor Lillqvist <tml@novell.com>
153 * Makefile.am: Put a list of the platform-dependent .la files in
154 the subdirectories in the platform_deps Make variable, and make
155 libgio-2.0.la depend on that, so that it gets relinked if one of
156 the dependent libraries has changed.
158 2008-08-11 Tor Lillqvist <tml@novell.com>
160 * Makefile.am (platform_libadd): Remove -lwininet which had been
161 added by mistake. We will probably eventually be using WinHTTP,
162 not the older WinInet anyway. (Actually I am working on it.)
164 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
166 Bug 547080 – g_file_copy leaks expected errors
168 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
169 before trying the next fallback routine.
171 2008-08-09 Loïc Minier <lool@dooz.org>
173 Bug 535124 – umask 002 not being applied for new directories, new
174 files get the correct umask
176 * gfile.c (g_file_make_directory)
177 (g_file_make_directory_with_parents): Document ownership and
178 permissions of newly created directories as being the default
181 2008-08-08 Loïc Minier <lool@dooz.org>
183 Bug 535124 – umask 002 not being applied for new directories, new
184 files get the correct umask
186 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
189 2008-08-08 Tor Lillqvist <tml@novell.com>
191 * gwin32mount.c: Remove unused code. Whitespace cleanup.
193 * gwin32volumemonitor.c (get_connected_drives): Put questionable
194 code that didn't actually do anything inside #if 0, and add a
195 comment wondering what the code was supposed to do. This also gets
196 rid of a leftover debugging printout.
198 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
200 * gfileicon.c (g_file_icon_get_property)
201 (g_file_icon_set_property): New functions.
202 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
204 (g_file_icon_new): Use the property (bug #546132).
206 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
208 * gthemedicon.c (g_themed_icon_get_property): Also handle
209 `PROP_USE_DEFAULT_FALLBACKS'.
210 (g_themed_icon_class_init): Make
211 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
213 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
215 Bug 546371 – Improve docs re g_file_monitor
217 * gfilemonitor.c: Mention g_file_monitor() in the docs.
219 2008-08-04 Matthias Clasen <mclasen@redhat.com>
221 * === Released 2.17.6 ===
223 2008-08-04 Matthias Clasen <mclasen@redhat.com>
225 * === Released 2.17.5 ===
227 2008-08-04 Matthias Clasen <mclasen@redhat.com>
229 Bug 546017 – Don't copy attributes when copying a symlink
231 * gfile.c (g_file_copy_attributes): Specify
232 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
233 g_file_set_attributes_from_info. Patch by Christian Kellner
235 2008-08-04 Matthias Clasen <mclasen@redhat.com>
237 * gemblemedicon.[hc]:
239 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
240 a bit more extensible. Work by Clemens Buss.
242 * gioenums.h: Add GEmblemOrigin.
245 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
247 Bug 546079 – leak in xdgmime
249 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
251 2008-08-03 Tor Lillqvist <tml@novell.com>
253 * win32/gwin32directorymonitor.h
254 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
257 2008-08-03 Tor Lillqvist <tml@novell.com>
259 * win32/gwin32directorymonitor.c
260 (g_win32_directory_monitor_callback): Make prototype match
261 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
262 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
265 (g_win32_directory_monitor_constructor):
266 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
267 names in the GLib API on Windows, so convert to UTF-16 and open
270 2008-08-03 Tor Lillqvist <tml@novell.com>
272 Bug 541036 - Gnumeric crashes when trying to open Desktop or
273 user's folder under Windows
275 * win32/gwin32directorymonitor.c
276 (g_win32_directory_monitor_constructor): Ignore error from
277 CreateFile() when opening directory. Instead of asserting, just
278 store INVALID_HANDLE_VALUE then in
279 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
280 ReadDirectoryChangesW().
281 (g_win32_directory_monitor_cancel): Don't attempt to close
282 directory handle if it is INVALID_HANDLE_VALUE.
284 2008-08-01 Matthias Clasen <mclasen@redhat.com>
286 * gdesktopappinfo.c: Remove debug spew
288 2008-08-01 Hans Breuer <hans@breuer.org>
290 * makefile.msc : add gemblembedicon
292 2008-07-30 Matthias Clasen <mclasen@redhat.com>
294 Bug 545457 – gdmsetup crashed with SIGSEGV in
295 g_unix_mount_guess_should_display()
297 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
298 crash if no mount is found.
300 2008-07-28 Matthias Clasen <mclasen@redhat.com>
302 Bug 545203 – gfile.c: argument is different type.
304 * gfile.c (open_read_async_thread): Pass a GError **
305 to g_file_set_error_literal.
306 Reported by Kazuki Iwamoto
308 2008-07-28 Matthias Clasen <mclasen@redhat.com>
310 Bug 545157 – wrong/no list of "open with" applications for .cc and
313 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
314 Collect all ancestors, not just direct parents. Pointed
315 out by Bastien Nocera
317 2008-07-28 Matthias Clasen <mclasen@redhat.com>
319 * Makefile.am: Install gemblemedicon.h
321 2008-07-28 Matthias Clasen <mclasen@redhat.com>
323 * gemblemedicon.[hc]: Add a GIcon implementation that can
324 add an emblem to another icon.
331 * gfileicon.c: Small documentation additions.
333 2008-07-28 Tor Lillqvist <tml@novell.com>
335 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
338 2008-07-27 Tor Lillqvist <tml@novell.com>
340 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
342 2008-07-24 David Zeuthen <davidz@redhat.com>
346 Also export a g_mount_guess_content_type_sync() function.
348 2008-07-23 Matthias Clasen <mclasen@redhat.com>
350 529694 – SELinux context setting support
352 * gfileinfo.c: Support setting selinux attributes.
353 Patch by Tomas Bzatek
355 2008-07-22 Priit Laes <plaes@plaes.org>
357 Bug 544140 - fam-helper 64-bit issue?
359 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
361 2008-07-21 Matthias Clasen <mclasen@redhat.com>
363 * === Released 2.17.4 ===
365 2008-07-20 Matthias Clasen <mclasen@redhat.com>
367 * gvolumemonitor.[hc]:
372 * gmount.c: Documentation fixes
374 2008-07-19 Matthias Clasen <mclasen@redhat.com>
376 543504 – crash in Epiphany Web Browser: Opening local file
387 * gvolume.c: Register types thread-safely.
388 Patch by Christian Persch
390 2008-07-18 Matthias Clasen <mclasen@redhat.com>
392 * gcontenttype.c: Remove debug spew
394 2008-07-18 Matthias Clasen <mclasen@redhat.com>
396 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
399 * fen/fen-kernel.c: Remove a warning that was causing
400 crashes. Reported by Lin Ma.
402 2008-07-18 Matthias Clasen <mclasen@redhat.com>
404 Bug 543040 – async reading on dummy file will crash on
407 * gfile.c (open_read_async_thread): Cope with read_fn being
408 NULL. Reported by Lin Ma.
410 2008-07-18 Matthias Clasen <mclasen@redhat.com>
413 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
415 2008-07-16 Matthias Clasen <mclasen@redhat.com>
419 * giomodule.c: Rename a chapter id to avoid filename conflict.
421 2008-07-16 Matthias Clasen <mclasen@redhat.com>
423 Bug 540616 – mem leak in filechooser button
425 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
426 the mount entry. Reported by Chrisitan Persch
428 2008-07-16 Matthias Clasen <mclasen@redhat.com>
430 * gfile.c: Small documentation fixes.
432 2008-07-15 Matthias Clasen <mclasen@redhat.com>
434 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
436 2008-07-08 Matthias Clasen <mclasen@redhat.com>
441 * gmount.c: Documentation improvements.
443 2008-07-08 Matthias Clasen <mclasen@redhat.com>
446 * gmount.[hc]: Add g_mount_guess_content_type().
448 2008-07-06 David Zeuthen <davidz@redhat.com>
451 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
452 is needed for easily handling adoption of foreign volumes by
453 out-of-process volume monitors (#541793)
455 2008-07-06 David Zeuthen <davidz@redhat.com>
457 * gvolumemonitor.[ch]:
458 * gunionvolumemonitor.c: Export the eject-button signal on the
459 volume monitor class (#541794).
461 2008-07-06 Matthias Clasen <mclasen@redhat.com>
463 * gappinfo.c: More doc tweaks
465 2008-07-05 Matthias Clasen <mclasen@redhat.com>
467 * gappinfo.c: Clarify some docs
469 2008-07-03 Matthias Clasen <mclasen@redhat.com>
471 * gdesktopappinfo.c: Fix a stupid mistake.
473 2008-07-02 Matthias Clasen <mclasen@redhat.com>
475 * === Released 2.17.3 ===
477 2008-07-02 Matthias Clasen <mclasen@redhat.com>
479 * gfilemonitor.c: Fix the build.
481 2008-07-02 Matthias Clasen <mclasen@redhat.com>
483 Bug 536160 – Add g_file_monitor()
486 * gfile.[hc]: Add g_file_monitor which can return either
487 a file or a directory monitor. Proposed by Behdad Esfahbod
489 2008-07-02 Matthias Clasen <mclasen@redhat.com>
491 536733 – gio build failure on Irix
493 * glocalfile.c: Use a configure check for structfs.f_bavail.
495 2008-07-02 Matthias Clasen <mclasen@redhat.com>
497 Bug 534639 – add g_desktop_app_info_new_from_keyfile
500 * gdesktopappinfo.[hc]: Add a function to create a
501 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
503 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
505 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
507 2008-07-01 Matthias Clasen <mclasen@redhat.com>
509 * gunixmounts.c: Fix a doc typo.
511 2008-07-01 Cody Russell <bratsche@gnome.org>
513 * gio/gcontenttype.c:
514 * gio/gwin32appinfo.c:
515 * gio/gwin32volumemonitor.c:
516 * gio/gwin32mount.c: Fixed some include problems.
518 2008-07-01 Cody Russell <bratsche@gnome.org>
522 Moved all relevant typedefs into these files.
525 Updated wrt added files.
527 Split types into separate file for easier maintainership. (#538564)
529 2008-06-30 Matthias Clasen <mclasen@redhat.com>
531 Bug 540331 – g_file_append_to () documentation: can return NULL
533 * gfile.c (g_file_append_to): Clarify docs.
536 2008-06-30 Matthias Clasen <mclasen@redhat.com>
538 Bug 539090 – g_content_type_from_mime_type() should unalias
540 * gcontentype.c (g_content_type_from_mime_type): Unalias.
541 Patch by Markus Bergman
543 2008-06-30 Matthias Clasen <mclasen@redhat.com>
545 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
548 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
549 on ppc and alpha. Reported by Mart Raudsepp
551 2008-06-29 Matthias Clasen <mclasen@redhat.com>
554 * tests/memory-output-stream.c: Add some tests for
557 2008-06-29 Matthias Clasen <mclasen@redhat.com>
559 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
562 * gmemoryoutputstream.c (array_resize): Handle truncation to
563 zero correctly. Reported by Akira Tagoh
565 2008-06-29 Matthias Clasen <mclasen@redhat.com>
567 * gmemoryoutputstream.c: Trivial doc fixes
569 2008-06-29 Matthias Clasen <mclasen@redhat.com>
571 Bug 540802 – g_list_prepend doesn't concat lists
573 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
574 one list to another. Pointed out by Jan Arne Petersen
576 2008-06-28 Michael Natterer <mitch@imendio.com>
578 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
580 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
582 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
583 to avoid problems with partial icon themes.
585 2008-06-17 Hans Breuer <hans@breuer.org>
587 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
588 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
589 access again on win32, see bug #538127
590 * giomodule.c : ensure GWin32VolumeMonitor is registered
591 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
592 * Makefile.am makefile.msc : updated
594 2008-06-16 Hans Breuer <hans@breuer.org>
596 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
597 and initialization in one step avoids c99ism
599 2008-06-16 Christian Persch <chpe@gnome.org>
602 * gio/gbufferedinputstream.c
604 * gio/gdatainputstream.c
605 * gio/gdesktopappinfo.c
607 * gio/gfileenumerator.c
608 * gio/gfileinputstream.c
609 * gio/gfileoutputstream.c
611 * gio/glocaldirectorymonitor.c
613 * gio/glocalfileenumerator.c
614 * gio/glocalfileinfo.c
615 * gio/glocalfilemonitor.c
616 * gio/glocalfileoutputstream.c
617 * gio/gmemoryinputstream.c
618 * gio/gmemoryoutputstream.c
619 * gio/goutputstream.c
620 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
623 2008-06-16 Tor Lillqvist <tml@novell.com>
625 Bug 538362 - Get Win32 icons back in the file chooser
627 * gcontenttype.c (g_content_type_get_icon): Look up the icon
628 corresponding to a file extension in the Registry. Patch by Hans
630 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
632 2008-06-16 Tor Lillqvist <tml@novell.com>
634 Patches by Hans Breuer:
636 * glocalfile.c (is_xp_or_later): Handle compiling against older
637 SDK headers with missing VerifyVersionInfo(). Conditioned on
638 _MSC_VER, but should probably use some better test.
639 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
640 uninitialised statfs_result variable on Win32.
642 2008-06-16 Michael Natterer <mitch@imendio.com>
644 * *.c: chain up unconditionally in finalize() and dispose(). Also
645 don't dereference these function pointers when calling them since
646 that has no meaning at all.
648 2008-06-16 Ross Burton <ross@burtonini.com>
651 Remove check for dispose implementation as it annoys Emmanuele.
653 2008-06-16 Ross Burton <ross@burtonini.com>
655 Bug 536252 – GFileEnumerator should allow access to the containing
661 Add g_file_enumerator_get_container() and a container writeable
662 construct-only property. Also shuffle around typedefs to make it
665 * glocalfileenumerator.c:
666 * glocalfileenumerator.h:
668 Instead of a string filename take a GFile in the constructor and
669 use it to set the container property.
674 2008-06-16 Matthias Clasen <mclasen@redhat.com>
676 * gfile.c: Make includes more uniform
678 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
680 * tests/live-g-file.c (sample_struct):
681 Use less fancy unicode filenames, so the test doesn't fail
682 on Mac OS X (#531476).
684 2008-06-12 Matthias Clasen <mclasen@redhat.com>
686 * === Released 2.17.2 ===
688 2008-06-12 Matthias Clasen <mclasen@redhat.com>
690 * === Released 2.17.1 ===
692 2008-06-11 A. Walton <awalton@gnome.org>
694 * tests/g-file.c (test_g_file_new_null):
695 Fix broken test case.
697 2008-06-11 Matthias Clasen <mclasen@redhat.com>
699 * pltcheck.sh: We use g_clear_error now.
701 2008-06-11 Matthias Clasen <mclasen@redhat.com>
703 * glocalfile.c (g_local_file_enumerate_children): Revert
704 an unintended change.
706 2008-06-11 Matthias Clasen <mclasen@redhat.com>
708 * gfile.c (g_file_replace_contents): Don't unref before the last use.
710 2008-06-10 Matthias Clasen <mclasen@redhat.com>
712 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
715 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
716 as icon for the desktop directory, also make user-home and
717 user-desktop the preferred icons.
719 2008-06-10 Matthias Clasen <mclasen@redhat.com>
722 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
723 to add a name to the front of the list.
725 2008-06-10 Matthias Clasen <mclasen@redhat.com>
727 Bug 537392 – Additional colon in xattr name
729 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
730 too. Reported by Alessandro Morandi
732 2008-06-10 Matthias Clasen <mclasen@redhat.com>
734 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
737 * glocalfile.c (get_fs_type): Add afs and autofs.
738 Patch by Danny Baumann.
740 2008-06-10 Matthias Clasen <mclasen@redhat.com>
742 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
744 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
745 is no parent. (Owen Taylor, patch by Christian Neumair)
747 2008-06-10 Paolo Borelli <pborelli@katamail.com>
749 * gfile.c (g_file_replace_contents): do not leak the output stream.
751 2008-06-10 Michael Natterer <mitch@imendio.com>
753 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
754 uninitialized memory as array index.
756 2008-06-10 Tor Lillqvist <tml@novell.com>
758 * gcontenttype.c (g_content_type_can_be_executable)
759 (g_content_type_get_icon) [Win32]: Add TODO comments.
761 2008-06-09 Matthias Clasen <mclasen@redhat.com>
763 * xdgmime/Makefile.am: Fix the build
765 2008-06-09 Matthias Clasen <mclasen@redhat.com>
767 * gcontenttype.c (g_content_type_get_icon): Use icons specified
768 in the shared mime database, if available.
770 * xdgmime/*: Sync with upstream. This brings support for
771 glob weights, generic icons, and changes the cache format to
774 2008-05-28 Michael Natterer <mitch@imendio.com>
776 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
777 the global CPPFLAGS now.
779 * tests/data-input-stream.c
780 * tests/data-output-stream.c
781 * tests/g-file-info.c
783 * tests/live-g-file.c
784 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
786 2008-05-27 Matthias Clasen <mclasen@redhat.com>
788 * === Released 2.17.0 ===
790 * tests/live-g-file.c: Clean up after the tests, so make distcheck
791 doesn't complain about leftover files.
793 2008-05-27 simon.zheng <simon.zheng@sun.com>
795 * glocalfile.c: (g_local_file_query_filesystem_info):
796 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
798 2008-05-26 Michael Natterer <mitch@imendio.com>
800 * gmemoryoutputstream.h: declare
801 g_memory_output_stream_get_data_size().
803 2008-05-26 Matthias Clasen <mclasen@redhat.com>
805 * tests/*: Make tests work
807 2008-05-26 Matthias Clasen <mclasen@redhat.com>
809 * gio.symbols: Add g_memory_output_stream_get_data_size.
811 2008-05-25 Ross Burton <ross@burtonini.com>
814 Fix typo in error message (#534764).
816 2008-05-25 Ross Burton <ross@burtonini.com>
819 Fix circular dependency loop for gioenumtypes.h (#534759).
821 2008-05-19 Hans Breuer <hans@breuer.org>
823 * Makefile.am : EXTRA_DIST += makefile.msc
825 2008-05-17 Matthias Clasen <mclasen@redhat.com>
828 * gcontenttype.c: (g_content_type_from_mime_type):
829 New function to create a content type from a mime type. (#527175,
832 2008-05-17 Matthias Clasen <mclasen@redhat.com>
834 Bug 532965 – Should not return filesystem::free for certain file systems
836 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
837 free space for ncpfs.
839 2008-05-17 Matthias Clasen <mclasen@redhat.com>
841 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
843 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
844 st_dev might be zero.
846 2008-05-16 Tor Lillqvist <tml@novell.com>
848 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
849 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
851 2008-05-13 Bastien Nocera <hadess@hadess.net>
853 * gfile.c (has_valid_scheme): A URI scheme must start with a
854 letter, even if later more characters are allowed (#532852)
856 2008-05-05 Michael Natterer <mitch@imendio.com>
858 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
859 code from being checked in that breaks the build of applications
860 which use G_DISABLE_SINGLE_INCLUDES.
862 * makegioalias.pl: make the alias file include "glib.h" instead of
865 * gio.symbols: whitespace change to force regeneration of the
866 alias file after above script change.
868 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
870 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
872 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
874 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
876 2008-04-28 David Zeuthen <davidz@redhat.com>
878 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
879 displaying mounts in a subdirectory not accessible to the
882 2008-04-22 Michael Natterer <mitch@imendio.com>
884 * Makefile.am: fix library versioning (it was 0.0.0).
886 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
888 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
889 Default disable all loggings.
890 * fen/fen-kernel.c: (printevent), (port_add_kevent),
891 (port_fetch_event_cb): Fixed two macro nits.
893 2008-04-16 Matthias Clasen <mclasen@redhat.com>
895 * xdgmime/xdgmime.c: Rework the timestamp checking code
896 to protect against duplicate directories in XDG_DATA_DIRS.
897 Fixes fd.o bug 12513, reported by Joe Shaw.
899 2008-04-16 Matthias Clasen <mclasen@redhat.com>
901 Partically revert the last commit after realizing that
902 xdg_mime_media_type_equal doesn't have to init at all.
905 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
907 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
909 2008-04-16 Matthias Clasen <mclasen@redhat.com>
911 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
912 reported by Joe Shaw and Federico Mena Quintero.
914 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
915 (xdg_mime_media_type_equal): Turn into a wrapper around the
918 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
919 functions throughout.
921 2008-04-16 Michael Meeks <michael.meeks@novell.com>
923 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
924 tolerate an empty TryExec= line without failing; nautilus used
925 to create launchers with these in previous versions. Fixes #528433
927 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
929 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
930 after name. Fixes #527132.
932 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
934 * gfile.c: (g_file_replace):
937 2008-04-07 Matthias Clasen <mclasen@redhat.com>
939 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
941 * gfile.c (file_copy_fallback): Fix the argument order. Patch
942 by Christian Kellner.
944 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
946 * gunixmounts.c: (g_unix_mount_guess_should_display):
947 Don't list the user directory as a mount, fix potential issue
948 when other users have a similar naming and don't special case the
949 gvfs mounts there since that's not required (#525866)
951 2008-03-31 Alexander Larsson <alexl@redhat.com>
953 * glocalfile.c (get_parent):
956 2008-03-31 A. Walton <awalton@svn.gnome.org>
958 * gfile.c (g_file_query_file_type):
959 Always return a GFileType enum value (#520715).
961 2008-03-31 Alexander Larsson <alexl@redhat.com>
963 * glocalfileenumerator.c:
964 Read readdir() info in chunks (of 1000) and sort
965 the chunks by inode before stat:ing.
966 This is a 20% performance increase in testing
967 gvfs-ls on /usr/bin with cold cache.
969 2008-03-31 Alexander Larsson <alexl@redhat.com>
971 * gmemoryoutputstream.c:
972 Clarify docs for g_memory_output_stream_get_size.
973 Add g_memory_output_stream_get_data_size.
975 2008-03-30 Matthias Clasen <mclasen@redhat.com>
979 * gfile.h: Add g_file_query_file_type convenience function
980 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
982 2008-03-30 Matthias Clasen <mclasen@redhat.com>
985 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
987 2008-03-28 A. Walton <awalton@svn.gnome.org>
989 * giomodule.c (_g_io_modules_ensure_loaded):
990 Adds GIO_EXTRA_MODULES environment variable support, closing bug
993 2008-03-28 Alexander Larsson <alexl@redhat.com>
996 (copy_stream_with_progress):
999 2008-03-28 Alexander Larsson <alexl@redhat.com>
1002 (copy_stream_with_progress):
1003 (file_copy_fallback):
1004 Fallback to g_file_query_info for source size
1005 if g_file_input_stream_query_info fails. (#524579)
1007 2008-03-28 Alexander Larsson <alexl@redhat.com>
1009 * glocalfile.c (g_local_file_move):
1010 Reuse old string instead of adding new one.
1012 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1014 * fen/*.[hc]: still copyright issue. I hate copyright.
1016 2008-03-27 Alexander Larsson <alexl@redhat.com>
1018 * glocalfile.c (g_local_file_move):
1019 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1020 file over directory. This is according to the docs and what the move via
1021 copy+remove fallback does.
1023 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1025 * fen/*.[hc]: Updated copyright.
1027 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1029 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1031 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1033 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1034 not emit attribute changed events when optimizing changed events.
1035 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1038 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1040 * gmountoperation.[hc]: Small documentation additions
1042 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1044 * gunixmounts.c: (guess_mount_type):
1045 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1047 2008-03-19 Alexander Larsson <alexl@redhat.com>
1050 (copy_stream_with_progress):
1051 Bump block side for copy to 64k to minimize
1052 overhead for low latency links. (#523015)
1054 2008-03-16 Tor Lillqvist <tml@novell.com>
1056 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1057 depend on gio.def on Windows.
1059 2008-03-12 David Zeuthen <davidz@redhat.com>
1063 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1065 2008-03-14 Alexander Larsson <alexl@redhat.com>
1069 Avoid redudant tests (#521851)
1070 Patch from Josselin Mouette
1072 2008-03-14 Alexander Larsson <alexl@redhat.com>
1075 (g_file_monitor_is_cancelled):
1076 Fix C89 issue (#521672)
1077 Patch from Jens Granseuer
1079 2008-03-14 Alexander Larsson <alexl@redhat.com>
1081 * fam/fam-helper.[ch]:
1083 Shut down fam (including removing fam GSource) when
1084 module is unloaded (#521513)
1085 Patch from Joe Marcus Clarke
1087 2008-03-14 Alexander Larsson <alexl@redhat.com>
1090 (_g_io_modules_ensure_loaded):
1093 2008-03-14 Alexander Larsson <alexl@redhat.com>
1096 (g_local_file_query_filesystem_info):
1097 Use right define name for f_fstypename member check
1099 2008-03-14 Alexander Larsson <alexl@redhat.com>
1102 * fen/Makefile.am: Added.
1103 * fen/fen-data.[ch]: Added.
1104 * fen/fen-dump.[ch]: Added.
1105 * fen/fen-helper.[ch]: Added.
1106 * fen/fen-kernel.[ch]: Added.
1107 * fen/fen-missing.[ch]: Added.
1108 * fen/fen-node.[ch]: Added.
1109 * fen/fen-sub.[ch]: Added.
1110 * fen/gfendirectorymonitor.[ch]: Added.
1111 * fen/gfenfilemonitor.[ch]: Added.
1113 Added Solaris FEN file notification backend.
1114 Patch from Lin Ma <Lin.Ma@Sun.COM>
1116 2008-03-13 Tor Lillqvist <tml@novell.com>
1118 * Makefile.am: Actually use the gio.def file when linking the
1119 library on Windows. Produce .lib library for Microsoft's toolchain
1120 when possible. Install the .lib and .def file like for the other
1123 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1125 * tests/live-g-file.c:
1126 Include live-g-file in standard set of tests, making a temporary
1127 directory in source structure.
1129 Clean target directory before the tests (write mode only)
1131 2008-03-12 Tor Lillqvist <tml@novell.com>
1133 Bug 517419 - gio win32 directory monitor
1134 Implementation by Vlad Grecescu.
1137 * win32/gwin32directorymonitor.h
1138 * win32/gwin32directorymonitor.c: New files.
1140 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1142 * Makefile.am: Add the win32 subdirectory.
1144 2008-03-12 Tor Lillqvist <tml@novell.com>
1146 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1147 normal struct stat on Unix but struct _stati64 on Windows to have
1148 access to 64-bit file size information. Use that instead of struct
1149 stat in the functions declared here in this private header.
1151 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1152 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1153 warnings about unused functions and variables. Don't set
1154 meaningless attributes like inode numbers on Windows.
1156 2008-03-12 Benjamin Otte <otte@gnome.org>
1159 trim whitespace so gtk-doc groks the function name
1161 2008-03-12 Tor Lillqvist <tml@novell.com>
1163 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1164 returning FALSE, on Win32.
1166 2008-03-11 Alexander Larsson <alexl@redhat.com>
1169 * glocalfileinfo.[ch]:
1170 Correctly implement can_trash by actually
1171 looking for a trash dir, not just assuming
1174 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1176 * === Released 2.16.1 ===
1178 2008-03-11 Alexander Larsson <alexl@redhat.com>
1181 Fix crashes in new constructor and properties code
1183 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1185 * gfile.c: Minor spelling correction in documentation:
1186 existance -> existence.
1188 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1190 * === Released 2.16.0 ===
1192 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1194 * gio.symbols: Remove g_file_contains_file here, too.
1196 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1198 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1199 Samuel Cormier-Iijima)
1201 2008-03-08 Tor Lillqvist <tml@novell.com>
1203 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1206 2008-03-07 Alexander Larsson <alexl@redhat.com>
1209 (g_local_file_query_filesystem_info):
1210 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1211 Patch from Jasper Lievisse Adriaanse
1213 2008-03-06 Tor Lillqvist <tml@novell.com>
1215 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1216 comments for the *_USEC attributes.
1218 2008-03-06 Alexander Larsson <alexl@redhat.com>
1220 * gfile.c (g_file_query_exists):
1221 Add g_return_val_if_fail check (#520700)
1223 2008-03-06 Alexander Larsson <alexl@redhat.com>
1225 * gdesktopappinfo.c:
1228 * gunionvolumemonitor.c:
1231 * tests/live-g-file.c:
1232 * xdgmime/xdgmimecache.c:
1233 Fix sparse warnings (#519489)
1235 2008-03-05 Alexander Larsson <alexl@redhat.com>
1238 Make cancellation threadsafe (i.e.
1239 guarantee its only done once, and always
1242 * glocaldirectorymonitor.c:
1243 Make sure we the monitor lives while the
1244 mounts_changed callback is being called (#520484)
1246 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1248 * gbufferedinputstream.c: Fix typo in parameter
1251 2008-03-04 Alexander Larsson <alexl@redhat.com>
1254 Remove deprecated symbols we kept for one release.
1256 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1259 * goutputstream.c: Tiny documentation corrections.
1261 2008-03-03 Alexander Larsson <alexl@redhat.com>
1263 * gunionvolumemonitor.c:
1265 Fix the adopt_orphan_mount vfunc to take a
1266 volume_monitor reference in an ABI compat way.
1267 This change is not API compat, but the added
1268 arg is not used in the only user of this vfunc, so
1269 all we get is a harmless warning in gvfs (#520169)
1271 2008-03-01 Benjamin Otte <otte@gnome.org>
1274 clarify docs for g_file_delete().
1276 2008-02-29 Alexander Larsson <alexl@redhat.com>
1280 Make sure empty files get text/plain type (#518720)
1282 2008-02-27 Alexander Larsson <alexl@redhat.com>
1288 (g_unix_volume_mount):
1289 Add missing GMountMountFlags argument
1291 2008-02-26 Alexander Larsson <alexl@redhat.com>
1294 (g_local_file_delete):
1295 Handle filesystems (like ntfs-3g) that return EEXIST instead
1296 of ENOTEMPTY (#518816)
1298 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1300 * === Released 2.15.6 ===
1302 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1304 * gfile.c (g_file_find_enclosing_mount):
1305 * ginputstream.c (g_input_stream_set_pending):
1306 * glocalfile.c (g_local_file_find_enclosing_mount):
1307 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1308 * goutputstream.c (g_output_stream_set_pending):
1310 Fixup translator comments (#518578).
1312 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1314 * gfile.c (g_file_find_enclosing_mount):
1316 * glocalfile.c (g_local_file_find_enclosing_mount):
1319 Fix a few typos in translator comments and documentation.
1321 2008-02-25 Alexander Larsson <alexl@redhat.com>
1328 Add translator comments (#518578)
1330 2008-02-25 Alexander Larsson <alexl@redhat.com>
1333 Reintroduce g_file_contains_file, keep around for one
1334 unstable release cycle to avoid crashing to many apps.
1335 Make sure to delete after release.
1337 2008-02-25 Alexander Larsson <alexl@redhat.com>
1340 Remove deprecated g_file_contains_file.
1342 2008-02-25 Alexander Larsson <alexl@redhat.com>
1345 Emit actual change signals in an idle handler.
1346 This avoids reentrance and locking problems in
1347 the file notification backends.
1349 2008-02-25 Alexander Larsson <alexl@redhat.com>
1352 (g_unix_mount_guess_should_display):
1353 Remove type guessing, instead just display
1354 mounts in /media and in ~/.
1356 2008-02-25 Alexander Larsson <alexl@redhat.com>
1359 Make new strings reuse old ones.
1361 2008-02-25 Alexander Larsson <alexl@redhat.com>
1364 Implement trashing and filesystem::readonly for win32 (#517235)
1365 Patch from Yevgen Muntyan
1367 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1369 * gfileinfo.h: Documentation fixes.
1371 2008-02-22 Alexander Larsson <alexl@redhat.com>
1373 * gcontenttype.c (g_content_type_get_icon):
1374 Look at old-style gnome mime icon names too, as many
1375 have not moved to the new style.
1377 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1379 * *.c: Correct the @include in for section docs.
1381 2008-02-21 David Zeuthen <davidz@redhat.com>
1383 * glocalfileinfo.c: (_g_local_file_info_get):
1385 (g_content_type_get_icon): Implement this function by
1386 moving bits from glocalfileinfo.c
1387 (g_content_type_get_description): Unalias before getting
1388 description (#517687)
1390 * gfile.c: (g_file_class_init),
1391 (g_file_query_filesystem_info_async),
1392 (g_file_query_filesystem_info_finish),
1393 (query_filesystem_info_data_free),
1394 (query_filesystem_info_async_thread),
1395 (g_file_real_query_filesystem_info_async),
1396 (g_file_real_query_filesystem_info_finish):
1397 * gfile.h: Implement async version of
1398 g_file_query_filesystem_info()
1400 * gfileinfo.h: Add new attributes for filesystem::use-preview
1402 * gio.symbols: Update
1404 * gthemedicon.c: (g_themed_icon_append_name):
1405 * gthemedicon.h: Add new new convenience function.
1407 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1408 (get_mounts), (get_volumes), (get_connected_drives),
1409 (get_volume_for_uuid), (get_mount_for_uuid),
1410 (g_union_volume_monitor_init), (populate_union_monitor),
1411 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1412 (g_volume_monitor_adopt_orphan_mount):
1414 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1415 monitor implementations to call into the main volume monitor. Also
1416 separate object initialization and volume monitor initialization
1417 such that non-native volume monitors can properly adopt their
1420 2008-02-21 Alexander Larsson <alexl@redhat.com>
1425 2008-02-21 Alexander Larsson <alexl@redhat.com>
1428 Add more documentation about how GFiles work (from #517086)
1430 2008-02-21 Alexander Larsson <alexl@redhat.com>
1434 Add new g_file_has_prefix that does the same as g_file_contains_file.
1435 Deprecate g_file_contains_file and add a macro that converts
1436 it to g_file_has_prefix.
1437 The reason for this change is that the contains_file() name seems to
1438 imply that this does more work than what it does, but its really only
1439 a name match (from #517086)
1444 Update to match the above change.
1446 2008-02-20 Benjamin Otte <otte@gnome.org>
1448 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1449 (g_file_eject_mountable):
1450 even more cases of not returning in error path
1452 2008-02-20 Benjamin Otte <otte@gnome.org>
1454 * gfile.c: (g_file_mount_mountable):
1455 return from function in error path.
1457 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1460 Remove trailing coma in GMountMountFlags struct
1462 2008-02-18 Alexander Larsson <alexl@redhat.com>
1466 * glocalfileoutputstream.c:
1467 Use g_unlink/g_rename instead of unlink/rename;
1468 do not pass raw filenames to g_set_error. (#517239)
1469 Patch from Yevgen Muntyan.
1471 2008-02-18 Alexander Larsson <alexl@redhat.com>
1474 * glocalfileoutputstream.c:
1475 Open files with O_BINARY on windows. (#517140)
1477 2008-02-14 Alexander Larsson <alexl@redhat.com>
1479 * glocalfileoutputstream.c:
1480 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1482 2008-02-14 Alexander Larsson <alexl@redhat.com>
1485 Copy permissions with file on copy (#514084)
1486 This is what cp does and makes sure e.g. the
1487 exec permissions are kept.
1488 Its kinda weird in that it keeps the permission bits
1489 the same while the uid and gid are different. However
1490 the new uid is the user so its not a security issue,
1491 and I've heard no complaints about cp on this issue.
1493 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1495 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1497 2008-02-13 Alexander Larsson <alexl@redhat.com>
1499 * inotify/inotify-path.c:
1500 Define IN_ONLYDIR if not in header (#515346)
1502 2008-02-12 Alexander Larsson <alexl@redhat.com>
1504 * tests/live-g-file.c:
1507 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1509 * === Released 2.15.5 ===
1511 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1513 * gio.symbols: Add g_mount_mount_flags_get_type.
1515 2008-02-11 Alexander Larsson <alexl@redhat.com>
1518 (g_file_info_set_attribute_mask):
1519 (g_file_attribute_matcher_matches_id):
1520 Correctly handle NULL GAttributeMatcher meaning
1521 matches nothing. (Fixes #513492)
1523 2008-02-11 Alexander Larsson <alexl@redhat.com>
1528 Added GMountMountFlags enum and added a flags
1529 argument to all mount calls.
1531 This is an API/ABI change for future extensibility,
1532 as I think we will need at least an
1533 inhibit-autorun flag (the panel needs this).
1534 There are no flags defined yet though.
1536 2008-02-11 Alexander Larsson <alexl@redhat.com>
1539 Added new standard::description attribute.
1540 Requested by Vincent, and useful for both
1543 2008-02-11 Alexander Larsson <alexl@redhat.com>
1545 * gdesktopappinfo.c:
1548 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1550 * *.c: Documentation additions
1552 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1554 * gappinfo.h: Formatting cleanup
1555 * gappinfo.c: Fix up docs.
1557 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1559 * gunixmounts.c: Consistently use getmntent_r() and fall
1560 back to getmntent(). (#515492)
1562 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1564 * gbufferedinputstream.c:
1566 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1568 * tests/data-input-stream.c:
1569 * tests/data-output-stream.c: Portability fixes.
1571 2008-02-08 Alexander Larsson <alexl@redhat.com>
1576 Add g_volume_should_automount.
1579 2008-02-07 Tor Lillqvist <tml@novell.com>
1581 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1582 Win32, too Unix-specific.
1584 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1586 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1587 a local plt if the compiler doesn't support what we want. Bug #514702
1589 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1591 reviewed by: <delete if not using a buddy>
1594 * gunixinputstream.c:
1595 * gunixoutputstream.c:
1597 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1599 * tests/Makefile.am:
1600 * tests/live-g-file.c:
1601 * tests/live-g-file.txt:
1602 New GIO testing module working over real data
1604 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1606 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1607 Fallback to rename() if link() is not available
1608 (when no support on target filesystem)
1610 2008-02-06 Michael Natterer <mitch@imendio.com>
1612 * gfileinfo.c (g_file_info_get_icon): replace
1613 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1615 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1617 * gfile.c (g_file_create):
1618 Documentation update of error codes
1620 2008-02-06 Alexander Larsson <alexl@redhat.com>
1622 * gdesktopappinfo.c:
1623 Update to use both mimeapps.list and
1624 defaults.list as discussed on xdg list.
1626 2008-02-06 Benjamin Otte <otte@gnome.org>
1629 * gfilenamecompleter.c:
1630 Fix some typos in the documentation.
1632 2008-02-06 Alexander Larsson <alexl@redhat.com>
1634 * glocalfile.c (g_local_file_trash):
1635 Don't succeed with trash if newly created
1636 trash dir has the wrong owner. (#514696)
1638 2008-02-05 Alexander Larsson <alexl@redhat.com>
1640 * glocalfile.c (g_local_file_move):
1641 Don't spew warnings when destination is not
1644 2008-02-03 Hans Breuer <hans@breuer.org>
1646 * makefile.msc : update
1648 2008-02-01 Michael Natterer <mitch@imendio.com>
1650 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1651 return value of xdg_mime_list_mime_parents() to a variable of the
1654 2008-02-01 Alexander Larsson <alexl@redhat.com>
1656 * gappinfo.c (g_app_info_launch_uris):
1657 Actually call the launch_uris method, not
1660 2008-02-01 Alexander Larsson <alexl@redhat.com>
1662 * gdesktopappinfo.c (g_desktop_app_info_equal):
1663 Ensure appinfos with no id but same pointer value
1666 2008-02-01 Alexander Larsson <alexl@redhat.com>
1668 * gappinfo.c (g_app_info_launch_default_for_uri):
1671 2008-02-01 Alexander Larsson <alexl@redhat.com>
1675 Add g_app_info_launch_default_for_uri utility
1678 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1680 * gdesktopappinfo.c:
1681 Doc fix for g_app_info_get_default_for_uri_scheme ()
1684 2008-01-30 Alexander Larsson <alexl@redhat.com>
1687 Add doc comment about uris vs GFiles to
1690 * gdesktopappinfo.c:
1691 Ensure uris passed to g_app_info_launch_uris()
1692 are not roundtriped through GFile (as that
1693 may be slightly destructive for e.g. mailto: links)
1695 2008-01-30 Alexander Larsson <alexl@redhat.com>
1697 * tests/data-input-stream.c:
1698 * tests/data-output-stream.c:
1699 C89 fixes from Jens Granseuer (#512849)
1701 2008-01-30 Alexander Larsson <alexl@redhat.com>
1704 Fix gamin/fam difference build issue. (#509419)
1706 2008-01-29 Alexander Larsson <alexl@redhat.com>
1709 * gdesktopappinfo.c:
1710 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1712 2008-01-29 Alexander Larsson <alexl@redhat.com>
1714 * gdesktopappinfo.c:
1715 * gdesktopappinfo.h:
1716 giomodule-priv.h include moved to .c file.
1718 2008-01-29 Alexander Larsson <alexl@redhat.com>
1720 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1721 Remove unused prio/name fields.
1723 2008-01-29 Alexander Larsson <alexl@redhat.com>
1725 * gcontenttype.c (looks_like_text):
1726 Don't treat whitespace as control chars.
1728 2008-01-29 Alexander Larsson <alexl@redhat.com>
1730 * gdesktopappinfo.c:
1731 Lazily create the desktop files for appinfos created
1732 by g_app_info_create_from_commandline() when needed
1733 for mime associations. This allows run-time use
1734 of GAppInfo object without creating unnecessary
1737 2008-01-29 Alexander Larsson <alexl@redhat.com>
1740 Added new symbols to gio.symbols
1742 2008-01-29 Alexander Larsson <alexl@redhat.com>
1745 Add g_file_query_default_handler utility to easily look up
1746 the GAppInfo that handles a file.
1748 * gdesktopappinfo.[ch]:
1750 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1753 Remove unused function
1755 2008-01-29 Alexander Larsson <alexl@redhat.com>
1757 * gfileenumerator.c:
1758 Mention need to free returned value in
1759 g_file_enumerator_next_files_finish docs.
1760 Fix leak if g_file_enumerator_next_files_finish()
1763 2008-01-29 Alexander Larsson <alexl@redhat.com>
1766 (_g_unix_content_type_get_parents):
1767 Use list_parents, not get_parents from xdgmime, because
1768 the later doesn't use the cache.
1770 * xdgmime/xdgmimecache.c:
1771 (_xdg_mime_cache_list_mime_parents):
1772 Don't list the same type as parent multiple times.
1774 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1776 * === Released 2.15.4 ===
1778 2008-01-28 Alexander Larsson <alexl@redhat.com>
1781 Register local vfs with prio 0.
1784 Remove old name and prio class members
1786 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1788 * tests/g-file.c: Disable some tests that are failing in
1789 the absence of a http backend.
1791 2008-01-28 Alexander Larsson <alexl@redhat.com>
1795 Add registration hooks for extension points.
1796 Register the gio extension points.
1798 * fam/gfamdirectorymonitor.c:
1799 * fam/gfamfilemonitor.c:
1800 * glocaldirectorymonitor.[ch]:
1801 * glocalfilemonitor.[ch]:
1802 * gnativevolumemonitor.h:
1803 * gunionvolumemonitor.c:
1804 * gunixvolumemonitor.c:
1807 * inotify/ginotifydirectorymonitor.c:
1808 * inotify/ginotifyfilemonitor.c:
1809 Use the extension points registration instead
1810 of g_type_children().
1812 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1815 * gvolume.[hc]: Document new API.
1817 * gfile.c (g_file_copy_async): Fix docs
1819 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1821 * gbufferedinputstream.c:
1823 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1826 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1828 * glocalfile.c: Avoid trivial differences in translatable strings.
1830 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1832 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1833 build with gcc 3.4 (#509419)
1835 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1837 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1838 (#509994, Murray Cumming)
1840 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1842 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1843 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1844 this allows big jobs to be executed in chunks, instead of blocking
1845 the main loop for a long time.
1847 * gsimpleasyncresult.c:
1848 * giofile.c: Adapt callers.
1850 2008-01-25 Alexander Larsson <alexl@redhat.com>
1852 * gdesktopappinfo.c:
1853 Implement changes discussed on xdg list.
1854 Now we can add supported mimetypes by just using defaults.list
1855 We can also remove associations in defaults.list.
1857 2008-01-25 Alexander Larsson <alexl@redhat.com>
1859 * gdesktopappinfo.c:
1860 Don't make local copy of desktop file
1861 for mimetype changes if the file already
1862 supports the new mimetype.
1864 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1868 * gbufferedinputstream.c:
1869 * glocalfile.c: String improvements. (#511966,
1870 Theppitak Karoonboonyanan)
1872 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1874 * gioscheduler.h: Expand docs a bit.
1876 2008-01-24 Alexander Larsson <alexl@redhat.com>
1879 Add g_drive_get_identifier and
1880 g_drive_enumerate_identifiers
1883 Add g_volume_get_identifier and
1884 g_volume_enumerate_identifiers
1890 Implement identifiers for unix backend
1892 2008-01-24 Alexander Larsson <alexl@redhat.com>
1897 Add g_file_copy_async() (#511580)
1898 Based on patch from Carlos Garcia Campos
1900 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1902 * gioscheduler.c: Some documentation additions.
1904 2008-01-22 Alexander Larsson <alexl@redhat.com>
1906 * gdesktopappinfo.c:
1907 (g_desktop_app_info_new):
1908 Don't leak basename.
1910 2008-01-22 Alexander Larsson <alexl@redhat.com>
1912 * gdesktopappinfo.c:
1913 (g_desktop_app_info_new_from_filename):
1916 2008-01-22 Alexander Larsson <alexl@redhat.com>
1918 * glocalfileinfo.c (get_thumbnail_attributes):
1921 2008-01-22 Alexander Larsson <alexl@redhat.com>
1924 (canonicalize_filename):
1925 Canonicalize paths that start with more than
1929 (compare_two_files):
1930 (test_g_file_new_for_path):
1933 2008-01-22 Alexander Larsson <alexl@redhat.com>
1936 Allow UTF-8 in file:// parse names.
1938 * tests/Makefile.am:
1939 * tests/data-input-stream.c:
1940 * tests/data-output-stream.c:
1941 * tests/g-file-info.c:
1943 Added a bunch of tests from Tomas Bzatek
1945 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1947 * === Released 2.15.3 ===
1949 2008-01-21 Alexander Larsson <alexl@redhat.com>
1951 * gfileinputstream.[ch]:
1952 * gfileoutputstream.[ch]:
1954 Remove duplicated GSeekable functions. (#509990)
1955 Just use the g_seekable_xxx() calls instead.
1957 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1960 * gvolumemanager.c: Whitespace cleanups.
1962 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1963 Use the right mode when creating the file.
1965 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1967 * gfileenumerator.c:
1968 * gfileinputstream.c:
1970 * goutputstream.c: Documentation: Fixed minor typos
1971 and added more mentions of specific _finish() functions.
1973 2008-01-21 Alexander Larsson <alexl@redhat.com>
1975 * inotify/Makefile.am:
1976 * inotify/inotify-helper.c:
1977 * inotify/inotify-kernel.c:
1978 * inotify/inotify-path.c:
1979 * inotify/local_inotify.h: Removed.
1980 * inotify/local_inotify_syscalls.h: Removed.
1981 Removed the included copies of the inotify
1982 headers. We now only use the <sys/inotify.h>
1983 header which exists on modern systems.
1984 This fixes problems on ARM and SH5 (#510448)
1985 but is also generally much cleaner and future
1986 safe. For instance, if other OSes add support
1987 for inotify it should "just work".
1989 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1991 * inotify/*.c: Coding style fixes.
1992 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1993 for the 1/4 Hz timer.
1995 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1998 * gfilemonitor.[hc]:
1999 * gmemoryinputstream.c:
2000 * gmemoryoutputstream.c:
2001 * gmountoperation.c:
2002 * gthemedicon.c: Documentation updates
2004 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2006 * gfile.c: documentation: Fixed more minor
2009 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2011 * gmount.c: (g_mount_remount): documentation:
2012 Mention g_mount_remount_finish() instead of
2013 g_mount_unmount_finish().
2015 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2019 * gfile.c: Fixed some minor typos in the
2022 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2024 * gio/gvolumemonitor.c:
2025 (g_volume_monitor_get_connected_drives):
2026 (g_volume_monitor_get_volumes):
2027 (g_volume_monitor_get_mounts): Documentation:
2028 Clarify the ownership of the regurn GLists.
2030 2008-01-17 Alexander Larsson <alexl@redhat.com>
2033 Add the async find_enclosing_mount version
2034 to the header file too.
2036 2008-01-17 Alexander Larsson <alexl@redhat.com>
2039 Add async version of find_enclosing_mount
2040 with default implementation.
2042 2008-01-17 Alexander Larsson <alexl@redhat.com>
2047 Allow calls to implementation of copy and write
2048 even if the type of the file implementations is
2049 different. This can be used to implement native
2050 upload and download calls in a vfs.
2053 (g_local_file_move):
2054 Protect against the case where move is called
2055 with one file not being local.
2057 Make sure we call the progress callback once
2058 in the native move operation so that the caller
2059 knows how many bytes were copied.
2061 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2064 * gdatainputstream.c:
2066 * gfileoutputstream.c:
2071 * gunixmounts.c: Corrected some typos in the documentation:
2072 occured -> occurred.
2073 its -> it's (where appropriate).
2075 2008-01-16 Alexander Larsson <alexl@redhat.com>
2079 Add g_file_query_exists (#508771)
2081 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2086 * gvolume.c: For async functions that have no non-async
2087 version, document that the GAsyncReadyCallback may be NULL.
2090 2008-01-15 Alexander Larsson <alexl@redhat.com>
2092 * gmemoryinputstream.c:
2093 * gmemoryoutputstream.c:
2094 Don't do pointer arithmetic on void * (#508602)
2095 Patch from Kazuki IWAMOTO
2097 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2099 * === Released 2.15.2 ===
2101 2008-01-14 Alexander Larsson <alexl@redhat.com>
2103 * gfile.c (g_file_monitor_file):
2104 Don't set error here, since we fallback to polling monitor.
2106 2008-01-14 Alexander Larsson <alexl@redhat.com>
2109 (g_file_monitor_directory):
2110 (g_file_monitor_file):
2111 Add GError to file monitor calls
2113 * glocaldirectorymonitor.c:
2114 * glocaldirectorymonitor.h:
2116 * glocalfilemonitor.c:
2117 * glocalfilemonitor.h:
2119 Update for above change
2121 2008-01-14 Alexander Larsson <alexl@redhat.com>
2125 Handle root correctly in g_file_get_relative_path (#508719)
2127 2008-01-14 Alexander Larsson <alexl@redhat.com>
2130 Clean up docs and example for GAsyncResult (#508074)
2132 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2134 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2135 and correct some spelling mistakes. Bug #508108.
2137 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2139 * glocalfileinfo.c: Add a comment.
2141 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2143 * gfileinfo.c: GFileInfo description: Mention
2144 how to actually set attributes in a GFile and how to discover
2145 which attributes are settable. Bug #508378.
2147 2008-01-10 A. Walton <awalton@svn.gnome.org>
2149 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2150 (g_app_info_get_default_for_type):
2151 Check for NULL content types.
2153 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2155 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2157 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2159 * gfile.c: *_async() functions: Several small corrections
2160 to the documentation, mostly correcting copy/paste errors
2161 and improving some sentences.
2163 2008-01-09 Dan Winship <danw@gnome.org>
2165 * glocalfile.c (get_unique_filename): x86_64 fix
2167 2008-01-09 Alexander Larsson <alexl@redhat.com>
2172 Add g_unix_mount_guess_should_display and use
2173 for unix volume monitor backend.
2174 This means we more or less show what the
2175 gnome-vfs backend did.
2176 Based on patch from Padraig O'Briain
2178 2008-01-09 Alexander Larsson <alexl@redhat.com>
2182 Add g_themed_icon_new_with_default_fallbacks
2185 Use default fallbacks for icons
2187 2008-01-09 Alexander Larsson <alexl@redhat.com>
2190 * gmountoperation.[ch]:
2191 Change the API a bit so that unhandled methods
2192 get reported via the reply, rather than by
2193 the signal emission return value. This is because
2194 some handlers can't know this immediately without
2195 doing I/O, and this is an async operation that
2198 2008-01-09 Alexander Larsson <alexl@redhat.com>
2201 * fam/gfamdirectorymonitor.c:
2202 * fam/gfamfilemonitor.c:
2203 Fix double free crash (#508224)
2204 Patch from Joe Marcus Clarke
2206 008-01-07 Matthias Clasen <mclasen@redhat.com>
2208 * === Released 2.15.1 ===
2210 2008-01-07 Alexander Larsson <alexl@redhat.com>
2212 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2213 Fix warning (#507835)
2215 2008-01-07 Alexander Larsson <alexl@redhat.com>
2218 Pass --internal to glib-genmarshal
2221 * gmountoperation.c:
2223 Use better types for signal arguments (#507822)
2225 2008-01-07 Alexander Larsson <alexl@redhat.com>
2228 Build test subdir after .
2229 Remove gdirectorymonitor.[ch]
2231 * gdirectorymonitor.[ch]:
2235 Remove GDirectoryMonitor and make
2236 GFileMonitor the baseclass for both file and
2237 directory monitors. Lift the more generic
2238 rate limiting code from GDirectoryMonitor
2242 * fam/gfamdirectorymonitor.[ch]:
2243 * inotify/ginotifydirectorymonitor.[ch]:
2244 * inotify/inotify-helper.c:
2245 * glocaldirectorymonitor.[ch]:
2248 Update for the removed GDirectoryMonitor.
2250 * gmemoryoutputstream.c:
2251 Remove ununsed variable
2253 2008-01-07 Alexander Larsson <alexl@redhat.com>
2255 * gmemoryinputstream.c:
2256 Translate error strings
2259 * gmemoryoutputstream.[ch]:
2260 New implementation that avoids using GByteArray
2261 in implementation and API. (#506377)
2263 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2265 * tests/*: Add a test for memory input streams.
2267 * Makefile.am: Add tests to SUBDIRS.
2269 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2271 * glocalfilemonitor.c:
2272 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2275 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2277 * gdesktopappinfo.c: Fix a docs typo.
2279 * gfileattribute.c: Add information about extended attributes
2280 to the documentation. (#505058)
2282 2008-01-04 Alexander Larsson <alexl@redhat.com>
2285 * gmountoperation.c:
2286 Use the right type (uint) for the ask_password signal.
2288 2008-01-04 Alexander Larsson <alexl@redhat.com>
2293 Add g_app_info_supports_files()
2294 Remove desktop arg from g_app_info_should_show().
2296 * gdesktopappinfo.[ch]:
2297 Implement g_app_info_supports_files() and new should_show()
2298 Add g_desktop_app_info_set_desktop_env() to set the desktop
2299 for should_show(). (This will be set by gtk+ later)
2301 2008-01-04 Alexander Larsson <alexl@redhat.com>
2304 * gmemoryinputstream.[ch]:
2305 Improve API so that you can use multiple chunks
2306 of memory and custom destroy functions. (#506374)
2308 2008-01-03 Alexander Larsson <alexl@redhat.com>
2311 Handle NULL attribute matchers safely, as we return this
2312 for empty attribute matcher strings.
2314 2008-01-03 Alexander Larsson <alexl@redhat.com>
2316 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2317 Add /usr/local to list of internal mountpoints
2319 2008-01-03 Alexander Larsson <alexl@redhat.com>
2322 Check for HAVE_LCHOWN (#505887)
2324 2008-01-03 Alexander Larsson <alexl@redhat.com>
2328 Add define for selinux context attribute.
2329 Fix missing : -> :: namespace separator change
2330 Fix missing _ -> - name change for xattr-sys.
2333 2008-01-03 Alexander Larsson <alexl@redhat.com>
2336 Link to libglib and libgobject directly (#504879)
2337 Patch from Sebastien Bacher
2339 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2341 * gfile.c: Expanded the g_file_new_for_commandline_arg
2342 description a bit, based on the code and the docs of the
2343 other g_file_new_for_* functions.
2345 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2347 * gfilemonitor.h: Fixed typo in docs.
2349 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2351 Updates to GIO documentation. (#506395, Mikael Hermansson)
2353 * gcontenttype.c: Describe memory management for return value of
2354 g_content_types_get_registered(). Missing piece from #505815.
2355 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2356 GVolume, GDrive, GMounts, which hopefully gives the user less
2357 confusions when using this API. Following explainations from
2358 Alexander Larsson on gtk-devel-list.
2360 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2362 * gfileinfo.c: Expand the long description.
2364 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2367 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2368 fix builds with --disable-visibility. (#500273, Christian Persch)
2370 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2372 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2373 in the list of returned app infos.
2375 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2377 * gappinfo.c: Fix a cross-reference
2379 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2381 * gfileinputstream.c:
2382 * gfileoutputstream.c:
2386 * gdesktopappinfo.c:
2388 * gfileinfo.c: Documentation updates.
2390 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2392 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2395 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2397 * gcontenttype.c (g_content_types_get_registered): Don't return
2398 freed memory (#505815, Mikael Hermansson)
2400 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2402 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2403 used to detect statbuf->st_blocks. (#505042)
2405 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2407 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2408 environment handling. (#504829, Cosimo Cecchi)
2410 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2412 * gappinfo.c: Doc improvements
2414 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2417 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2419 * === Released 2.15.0 ===
2421 2007-12-20 Hans Breuer <hans@breuer.org>
2423 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2424 with symbols gwin32appinfo.obj, added gmount.obj
2425 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2427 2007-12-20 Alexander Larsson <alexl@redhat.com>
2433 * gfilenamecompleter.c:
2436 * gpollfilemonitor.c:
2437 File attribute renames:
2439 fs:: -> filesystem::
2440 id::fs -> id::filesystem
2442 2007-12-20 Alexander Larsson <alexl@redhat.com>
2451 Add GMountUnmountFlags to all unmount and
2453 Add g_mount_remount() call.
2455 2007-12-20 Alexander Larsson <alexl@redhat.com>
2457 * gvfs.c (get_default_vfs):
2458 Fix unused variable warning
2460 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2462 * pltcheck.sh: Update
2464 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2466 * gunionvolumemonitor.c:
2467 * gunixmount.c: Remove C99 comments
2469 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2471 * gio.symbols: Add some missing symbols
2473 2007-12-19 Alexander Larsson <alexl@redhat.com>
2476 Make g_io_modules_load_all_in_directory not unuse
2477 loaded modules so that users of it can do stuff
2479 Init internal "module" types.
2480 Initialize static prio and name for types so that
2481 we don't have to load modules to get it.
2483 * gnativevolumemonitor.h:
2485 Move is_supported to parent class so that
2486 non-native monitors can avoid being initialized
2487 too. (For instance GDaemonVolumeMonitor if we're
2488 not using GDaemonVfs.)
2490 * glocaldirectorymonitor.[ch]:
2491 * glocalfilemonitor.[ch]:
2492 * gunionvolumemonitor.c:
2493 * gunixvolumemonitor.c:
2495 Find plugins using the static prio+name to
2496 avoid unnecessarily loading the modules.
2498 2007-12-19 Alexander Larsson <alexl@redhat.com>
2503 2007-12-19 Alexander Larsson <alexl@redhat.com>
2505 * gunionvolumemonitor.c:
2506 Store the native type as GType, not class so that
2507 we can unload it. But still avoid unnecessarily
2510 2007-12-19 David Zeuthen <davidz@redhat.com>
2512 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2513 add signals 'disconnected' and 'eject-button' on GDrive. Add
2514 signal 'removed' on GVolume and 'unmounted' on GMount.
2516 * gdrive.c: (g_drive_base_init):
2518 * gfile.c: (g_file_mount_mountable),
2519 (g_file_mount_enclosing_volume):
2522 * gmount.c: (g_mount_base_init):
2524 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2525 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2526 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2530 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2532 * *.c: Fix up includes in the section docs.
2534 2007-12-17 Alexander Larsson <alexl@redhat.com>
2536 * gnativevolumemonitor.h:
2537 * gunionvolumemonitor.c:
2538 * gunixvolumemonitor.c:
2539 Add is_supported() to GNativeVolumeMonitorClass so
2540 that we can avoid having to create an object to see
2541 if the backend is supported at runtime.
2542 Also add name member and an env var to pick a specific
2543 volume monitor backend.
2547 Add cancellable to _g_mount_get_for_mount_path()
2549 * glocaldirectorymonitor.c:
2550 * glocalfilemonitor.c:
2551 Avoid loading and unloading modules while sorting.
2553 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2556 * gunixmounts.[hc]: Namespace waste reduction, move some
2557 g_get_unix_mount functions to the g_unix_mount namespace.
2560 * gunixvolumemonitor.c:
2562 * glocaldirectorymonitor.c: Update all callers.
2564 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2566 2007-12-17 Alexander Larsson <alexl@redhat.com>
2569 Add doc comments about what GFile operations are
2570 guaranteed to not block.
2572 2007-12-17 Alexander Larsson <alexl@redhat.com>
2575 Add missing #ifdef fixing OSX build.
2576 (#503334, patch from Richard Hult)
2578 2007-12-14 David Zeuthen <davidz@redhat.com>
2582 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2583 (g_mount_eject), (g_mount_eject_finish):
2585 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2586 (get_volume_for_uuid), (get_mount_for_uuid),
2587 (g_union_volume_monitor_class_init),
2588 (get_default_native_type_with_exclude), (get_default_native_type),
2589 (get_native_type), (update_native_type),
2590 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2591 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2592 (g_unix_mount_can_eject), (eject_unmount_cb),
2593 (eject_unmount_read_error), (eject_unmount_do),
2594 (g_unix_mount_unmount), (g_unix_mount_eject),
2595 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2596 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2597 (g_unix_mount_point_guess_can_eject):
2599 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2600 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2601 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2602 (g_unix_volume_mount), (g_unix_volume_eject),
2603 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2604 * gunixvolumemonitor.c: (get_volume_for_uuid),
2605 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2607 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2608 (g_volume_eject), (g_volume_eject_finish):
2610 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2611 (g_volume_monitor_get_mount_for_uuid):
2614 Provide eject() on both GMount and GVolume and utility functions
2615 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2616 ejected. Introduce the concept of UUID's and wire it into GVolume
2617 and GMount and provide API on GVolumeMonitor to find such
2618 instances. Also handle the case where an external
2619 GNativeVolumeMonitor fails to initialize. Lock around the
2620 _g_get_mount_for_mount_path() function such that volume monitor
2621 implementations won't have to do locking themselves.
2623 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2625 * gdesktopappinfo.c:
2631 * gvolume.h: Documentation updates
2633 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2636 * gfile.h: Doc updates
2638 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2641 * gdesktopappinfo.c: Use hash table iterators.
2643 2007-12-14 Alexander Larsson <alexl@redhat.com>
2646 * gfileattribute.[ch]:
2647 * gfileattribute-priv.h:
2648 Move GFileAttributeValue to a private header, as
2652 Make set_attribute take a type + a pointer instead
2653 of a GFileAttributeValue.
2656 Fix up for above changes.
2657 Add g_file_info_get_attribute_data to get
2658 all info in one call, g_file_info_get_attribute_status
2659 to get the status and g_file_info_get_attribute_as_string.
2663 * glocalfileinfo.[ch]:
2667 Make _guess_type static.
2669 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2672 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2673 made mkenums and friends use temporary files to avoid leaving
2674 empty generated files on failure (#503470).
2676 2007-12-14 Alexander Larsson <alexl@redhat.com>
2678 * gmountoperation.h:
2681 2007-12-14 Alexander Larsson <alexl@redhat.com>
2685 * gfileattribute.[ch]:
2688 * glocalfileoutputstream.c:
2689 * gmountoperation.[ch]:
2690 * goutputstream.[ch]:
2691 Clean up all flags enums to not have _FLAGS in them
2692 Make the names of some of the enums better.
2697 2007-12-14 Michael Natterer <mitch@imendio.com>
2699 * gio.symbols: fix g_io_scheduler symbol names.
2701 2007-12-14 Alexander Larsson <alexl@redhat.com>
2707 * gbufferedinputstream.h:
2708 * gbufferedoutputstream.h:
2711 * gdatainputstream.h:
2712 * gdataoutputstream.h:
2713 * gdesktopappinfo.h:
2714 * gdirectorymonitor.h:
2718 * gfileenumerator.h:
2721 * gfileinputstream.h:
2723 * gfilenamecompleter.h:
2724 * gfileoutputstream.h:
2725 * gfilterinputstream.h:
2726 * gfilteroutputstream.h:
2734 * gmemoryinputstream.h:
2735 * gmemoryoutputstream.h:
2737 * gmountoperation.h:
2740 * gsimpleasyncresult.h:
2742 * gunixinputstream.h:
2744 * gunixoutputstream.h:
2748 * inotify/Makefile.am:
2749 Only allow including <gio/gio.h> from apps
2751 2007-12-14 Alexander Larsson <alexl@redhat.com>
2753 * gioscheduler.[ch]:
2754 * gsimpleasyncresult.c:
2755 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2756 Split out the send_to_mainloop call into two versions instead
2757 of having the block argument.
2759 2007-12-13 Alexander Larsson <alexl@redhat.com>
2761 * gcancellable.[ch]:
2763 * gbufferedinputstream.c:
2764 * gfileenumerator.c:
2765 * gfileinputstream.c:
2766 * gfileoutputstream.c:
2770 g_push/pop_current_cancellable ->
2771 g_cancellable_push/pop_current
2773 2007-12-13 Alexander Larsson <alexl@redhat.com>
2777 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2779 2007-12-13 Alexander Larsson <alexl@redhat.com>
2781 * gmountoperation.h:
2782 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2784 2007-12-12 Alexander Larsson <alexl@redhat.com>
2787 Fix race condition when freeing proxy in
2788 g_io_job_send_to_mainloop().
2790 2007-12-12 Alexander Larsson <alexl@redhat.com>
2796 Make attribute namespace separator "::" instead of ":".
2797 Use - instead of _ as separator in attribute names.
2799 2007-12-12 Alexander Larsson <alexl@redhat.com>
2801 * gbufferedinputstream.h:
2802 * gbufferedoutputstream.h:
2803 * gdatainputstream.h:
2804 * gdataoutputstream.h:
2805 * gdirectorymonitor.h:
2806 * gfileenumerator.h:
2807 * gfileinputstream.h:
2809 * gfileoutputstream.h:
2810 * gfilterinputstream.h:
2811 * gfilteroutputstream.h:
2813 * glocalfileinputstream.h:
2814 * glocalfileoutputstream.h:
2815 * gmemoryinputstream.h:
2816 * gmemoryoutputstream.h:
2817 * gnativevolumemonitor.h:
2819 * gunixinputstream.h:
2820 * gunixoutputstream.h:
2823 s/parent/parent_instance/ in GObjects
2825 2007-12-12 Alexander Larsson <alexl@redhat.com>
2830 No need for padding for interfaces
2832 2007-12-12 Alexander Larsson <alexl@redhat.com>
2836 * gbufferedinputstream.c:
2837 * gbufferedoutputstream.c:
2840 * gdatainputstream.[ch]:
2841 * gdesktopappinfo.c:
2842 * gdirectorymonitor.c:
2844 * gfileattribute.[ch]:
2847 * gfileinputstream.h:
2848 * gfilemonitor.[ch]:
2849 * gfileoutputstream.[ch]:
2850 * gfilterinputstream.h:
2851 * gfilteroutputstream.h:
2854 * gloadableicon.[ch]:
2855 * gmemoryinputstream.c:
2856 * gmountoperation.c:
2858 Fix up a bunch of details in the docs.
2863 2007-12-11 David Zeuthen <davidz@redhat.com>
2865 Rework how volumes, drives and volume monitoring is
2866 done. Previosly the model was
2868 GDrive <1-1> GVolume
2870 where a GDrive instance represented a mount point and a GVolume
2871 instance represented a mounted file system. This patch changes it
2874 GDrive <1-N> GVolume <1-1> GMount
2876 where GMount now serves the purpose of the old GVolume and the new
2877 GVolume serves the purpose of the old GDrive. In addition the new
2878 GDrive interface is used to represent a collection of GVolume
2879 instances (typically partitions) and also contains utility to query
2880 the state of the physical drive the GDrive object represents (such
2881 as checking for media, polling the drive, ejecting the media etc.).
2883 Also implement mounting and unmounting in the Unix volume monitor
2884 backend. A subquent patch will introduce GDrive support for ejection
2888 * gdrive.c: (g_drive_is_media_check_automatic),
2889 (g_drive_is_media_removable), (g_drive_has_media),
2890 (g_drive_can_poll_for_media), (g_drive_eject),
2891 (g_drive_eject_finish), (g_drive_poll_for_media),
2892 (g_drive_poll_for_media_finish):
2894 * gfile.c: (g_file_find_enclosing_mount):
2897 * glocaldirectorymonitor.c:
2898 (g_local_directory_monitor_constructor), (mounts_changed):
2899 * glocalfile.c: (get_mount_info),
2900 (g_local_file_find_enclosing_mount),
2901 (g_local_file_file_iface_init):
2902 * gnativevolumemonitor.h:
2903 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2904 (get_connected_drives), (g_union_volume_monitor_class_init),
2905 (child_volume_added), (child_volume_removed),
2906 (child_volume_changed), (child_mount_added), (child_mount_removed),
2907 (child_mount_pre_unmount), (child_mount_changed),
2908 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2909 (g_union_volume_monitor_remove_monitor),
2910 (_g_mount_get_for_mount_path):
2911 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2912 (guess_system_internal), (_g_get_unix_mounts),
2913 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2914 (g_unix_mount_free), (g_unix_mount_compare),
2915 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2916 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2917 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2918 (type_to_icon), (g_unix_mount_guess_name),
2919 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2920 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2921 (_resolve_symlink), (_resolve_dev_root):
2923 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2924 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2925 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2926 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2927 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2928 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2929 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2930 (g_unix_volume_volume_iface_init):
2932 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2933 (get_mounts), (get_volumes), (get_connected_drives),
2934 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2935 (mountpoints_changed), (mounts_changed),
2936 (g_unix_volume_monitor_init),
2937 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2938 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2939 * gunixvolumemonitor.h:
2940 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2941 (g_volume_mount), (g_volume_mount_finish):
2943 * gvolumemonitor.c: (g_volume_monitor_class_init),
2944 (g_volume_monitor_get_connected_drives),
2945 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2948 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2950 * gmountoperation.h (GPasswordFlags): Close the gap
2952 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2954 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2956 * gdesktopappinfo.[hc]: Remove _-prefixes
2958 2007-12-10 Tor Lillqvist <tml@novell.com>
2960 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2963 2007-12-10 Alexander Larsson <alexl@redhat.com>
2965 * gfile.c (g_file_set_display_name):
2966 Don't hardcode '/' (#502727)
2968 2007-12-09 Hans Breuer <hans@breuer.org>
2970 * makefile.msc : follow lib naming convention
2971 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2972 for user and group name, tested with ../tests/gio-ls
2974 2007-12-09 A. Walton <awalton@svn.gnome.org>
2976 * gdesktopappinfo.c:
2982 * gfileenumerator.c:
2987 * gmemoryinputstream.c:
2988 * gmemoryoutputstream.c:
2990 * gsimpleasyncresult.c:
2991 More documentation cleanup and filling in missing information, bringing
2992 GIO to 99% symbol coverage.
2994 2007-12-08 Hans Breuer <hans@breuer.org>
2996 [gio compiles and links on win32, not sure how much already works]
2997 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2998 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2999 base on win32 API; prefer g_lstat() over lstat(); instead of
3000 localtime_r() use an all GLib implementation on win32;
3001 get_mount_info() still needs a win32 specifc implementation
3002 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3003 win32_get_file_user_info to get owner/group info without uid/gid
3004 * glocalfileinputstream.c : include <io.h> on win32
3005 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3006 definition, use g_win32_ftruncate() for G_OS_WIN32
3007 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3008 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3009 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3010 * makefile.msc : updated
3012 2007-12-07 Alexander Larsson <alexl@redhat.com>
3014 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3015 Avoid warning spew if error == NULL
3017 2007-12-07 Alexander Larsson <alexl@redhat.com>
3020 Update docs wrt etags
3022 2007-12-06 Alexander Larsson <alexl@redhat.com>
3025 Include sys/types.h for dev_t (#501919)
3027 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3031 Make abicheck and pltcheck pass.
3033 2007-12-05 Alexander Larsson <alexl@redhat.com>
3036 * giomodule-priv.h: Added.
3037 * glocaldirectorymonitor.c:
3038 * glocalfilemonitor.c:
3039 * gunionvolumemonitor.c:
3041 Actually add the declaration of _g_io_modules_ensure_loaded
3043 2007-12-05 Alexander Larsson <alexl@redhat.com>
3045 * gdatainputstream.c:
3050 * glocaldirectorymonitor.c:
3051 * glocalfilemonitor.c:
3052 * gunionvolumemonitor.c:
3054 Make g_io_modules_ensure_loaded a private function and
3055 don't pass in the dirname. This means we can do magic
3056 directory finding in the win32 version.
3057 Export the actual load-modules-in-directory code so that
3058 gvfs can reuse that.
3060 2007-12-05 Alexander Larsson <alexl@redhat.com>
3062 * gbufferedinputstream.c:
3063 * gbufferedoutputstream.c:
3066 * gfileenumerator.[ch]:
3067 * gfileinputstream.c:
3068 * gfileoutputstream.[ch]:
3069 * gfilterinputstream.c:
3070 * gfilteroutputstream.c:
3071 * ginputstream.[ch]:
3073 * glocalfileenumerator.c:
3074 * glocalfileinputstream.c:
3075 * glocalfileoutputstream.c:
3076 * gmemoryinputstream.c:
3077 * gmemoryoutputstream.c:
3078 * goutputstream.[ch]:
3081 * gunixinputstream.c:
3082 * gunixoutputstream.c:
3083 Rename all struct members named:
3084 read, write, close, truncate, or mount
3085 to foo_fn, as these are reserved names
3086 and could be defined as macros in libc.
3089 2007-12-04 Alexander Larsson <alexl@redhat.com>
3092 (g_output_stream_close):
3093 Only call flush if non-null.
3095 2007-11-30 Dan Winship <danw@gnome.org>
3097 * ginputstream.c (g_input_stream_set_pending): Make this take a
3098 GError and return a gboolean, and do the "outstanding operation"
3099 check (and the "stream is already closed" check) itself.
3100 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3102 * goutputstream.c (g_output_stream_set_pending)
3103 (g_output_stream_clear_pending): Likewise
3105 * gbufferedinputstream.c:
3106 * gfileinputstream.c:
3107 * gfileoutputstream.c: Update for that
3109 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3110 Like g_simple_async_report_error_in_idle, but takes a GError
3111 rather than building one.
3113 2007-11-30 Dan Winship <danw@gnome.org>
3115 * goutputstream.c: Don't cheat and unset the "pending" flag around
3116 inner calls. Instead, call the class method directly rather than
3117 the wrapper function that checks "pending"
3119 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3121 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3123 2007-12-03 Hans Breuer <hans@breuer.org>
3125 [start of port to win32/msvc]
3126 * gcancellable.c : HAVE_UNIST_H and _pipe()
3127 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3128 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3129 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3131 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3132 * glocalvfs.c : use HAVE_PWD_H
3133 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3134 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3135 * Makefile.am : added to EXTRA_DIST
3137 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3139 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3142 2007-12-03 Alexander Larsson <alexl@redhat.com>
3145 Handle OSX style xattrs API (#500506)
3147 2007-12-03 Alexander Larsson <alexl@redhat.com>
3151 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3153 2007-12-02 A. Walton <awalton@svn.gnome.org>
3157 Documentation accuracy fixes.
3159 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3161 * gioenumtypes.c.template: Fix typo.
3163 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3165 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3167 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3169 * gdirectorymonitor.c:
3170 * gfilemonitor.c: Add properties
3172 * gbufferedoutputstream.c: Don't mark buffer-size property
3175 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3177 * gbufferedoutputstream.c: Add auto-grow property.
3179 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3181 * *.c: Unify the capitalization of section headings.
3183 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3185 * gmountoperation.c: Add properties
3187 * gdatainputstream.c: Turn byte-order and newline-type into
3190 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3192 * gioenumtypes.[hc].template: Templates for enum registration
3194 * Makefile.am: Generate gioenumtypes.[hc]
3196 * gio.h: Include gioenumtypes.h
3198 * gfile.h: Add some explicit nicks.
3200 * gio.symbols: Add new symbols
3202 * pltcheck.sh: Adjust
3204 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3206 * *.c: Explain etags and link to the explanation
3208 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3210 * *.c: Explain I/O priority.
3212 * *.c: More coding style fixes.
3214 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3216 * gasyncresult.c: Add another paragraph to the intro,
3217 adjust coding style of example.
3219 2007-11-29 A. Walton <awalton@svn.gnome.org>
3222 Fixes unknown meaning in GAppLaunchContext docs.
3224 Clarify asynchronous ops.
3226 Fix entity tag docs.
3229 Provides missing gtk-doc section, fixes API docs slighly.
3230 * gsimpleasyncresult.c:
3231 Fill in missing info in docs.
3232 * gunixinputstream.c:
3233 * gunixoutputstream.c:
3234 Be more expressive in short description.
3236 Remove gtk-doc stubs for non-public API.
3238 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3240 * *.c: Coding style fixups
3242 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3244 * inotify/inotify-helper.c: Don't export the lock from libgio.
3246 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3249 * abicheck.sh: Fix copy-and-paste leftovers
3251 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3253 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3255 2007-11-28 Alexander Larsson <alexl@redhat.com>
3259 Removed unnecessary file
3261 * gdesktopappinfo.[ch]:
3264 * glocaldirectorymonitor.[ch]:
3266 * glocalfileenumerator.[ch]:
3267 * glocalfileinputstream.[ch]:
3268 * glocalfilemonitor.[ch]:
3269 * glocalfileoutputstream.[ch]:
3271 * gnativevolumemonitor.c:
3272 * gpollfilemonitor.[ch]:
3273 * gunionvolumemonitor.[ch]:
3276 * gunixvolumemonitor.[ch]:
3279 * inotify/ginotifydirectorymonitor.[ch]:
3280 * inotify/ginotifyfilemonitor.[ch]:
3281 * inotify/inotify-helper.c:
3282 Append _ to all internal functions
3286 Export symbols needed for modules
3288 2007-11-28 Alexander Larsson <alexl@redhat.com>
3291 * abicheck.sh: Added.
3292 * makegioalias.pl: Added.
3293 * pltcheck.sh: Added.
3294 * gio.symbols: Added.
3297 Initial work on adding symbol handling.
3300 Correct ifdef guard name
3303 * inotify/Makefile.am:
3304 * xdgmime/Makefile.am:
3305 Include toplevel Makefile.decl
3307 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3309 * gcontenttype.c: Move doc comments to the unix section.
3311 * *.[hc]: More trivial doc corrections.
3313 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3315 * gpollfilemonitor.c:
3319 * gdesktopappinfo.c:
3324 * gdatainputstream.c:
3325 * gdatainputstream.h:
3326 * gdataoutputstream.c:
3327 * gdataoutputstream.h:
3328 * gfileinfo.h: Doc cleanups
3330 2007-11-28 Andre Klapper <a9016009@gmx.de>
3332 * gdesktopappinfo.c: Fix a typo.
3334 2007-11-27 Andre Klapper <a9016009@gmx.de>
3336 * glocalfileoutputstream.c: Fix a typo.
3338 2007-11-27 Alexander Larsson <alexl@redhat.com>
3341 Don't include removed headers
3343 2007-11-27 Alexander Larsson <alexl@redhat.com>
3346 * gsocketinputstream.[ch]: Removed.
3347 * gsocketoutputstream.[ch]: Removed.
3348 * gunixinputstream.[ch]: Added.
3349 * gunixoutputstream.[ch]: Added.
3350 Renamed GSocket*Stream to GUnix*Stream and made
3351 it unix-only, since its not really only for sockets
3352 and it only works on unix (but is highly useful there).
3354 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3360 * gbufferedinputstream.c:
3361 * gbufferedinputstream.h:
3362 * gbufferedoutputstream.c:
3363 * gbufferedoutputstream.h:
3367 * gdatainputstream.c:
3368 * gdatainputstream.h:
3369 * gdataoutputstream.c:
3370 * gdataoutputstream.h:
3371 * gdirectorymonitor.c:
3372 * gdirectorymonitor.h:
3379 * gfileenumerator.c:
3380 * gfileenumerator.h:
3385 * gfileinputstream.c:
3386 * gfileinputstream.h:
3389 * gfilenamecompleter.c:
3390 * gfilenamecompleter.h:
3391 * gfileoutputstream.c:
3392 * gfileoutputstream.h:
3393 * gfilterinputstream.c:
3394 * gfilterinputstream.h:
3395 * gfilteroutputstream.c:
3396 * gfilteroutputstream.h:
3409 * glocalfileoutputstream.c:
3410 * gmemoryinputstream.c:
3411 * gmemoryinputstream.h:
3412 * gmemoryoutputstream.c:
3413 * gmemoryoutputstream.h:
3414 * gmountoperation.c:
3415 * gmountoperation.h:
3418 * gpollfilemonitor.c:
3421 * gsimpleasyncresult.c:
3422 * gsimpleasyncresult.h:
3423 * gsocketinputstream.c:
3424 * gsocketinputstream.h:
3425 * gsocketoutputstream.c:
3426 * gsocketoutputstream.h:
3433 * gunixvolumemonitor.c:
3442 Bumps documentation to 93% symbol coverage, touching most
3443 of the public files. Fixes broken function documentation prototypes.
3444 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3445 gtk-doc headers in private files.
3447 2007-11-27 Jürg Billeter <j@bitron.ch>
3449 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3450 (g_buffered_input_stream_read_byte):
3451 * gbufferedinputstream.h:
3452 New functions for efficient access to buffer and simple single byte
3455 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3456 (g_data_input_stream_read_until):
3457 * gdatainputstream.h:
3458 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3459 read_until with multiple stop chars.
3461 2007-11-27 Alexander Larsson <alexl@redhat.com>
3465 * inotify/Makefile.am:
3466 Use the user-specified giomoduledir
3468 2007-11-27 Alexander Larsson <alexl@redhat.com>
3472 Add catch-all gio.h header
3473 Don't install gdummyfile.h
3475 2007-11-26 Alexander Larsson <alexl@redhat.com>
3477 * Makefile.am (gioinclude_HEADERS):
3478 Remove trailing whitespace
3480 2007-11-26 Alexander Larsson <alexl@redhat.com>
3482 Merge gio-standalone into glib
3484 2007-11-25 Christian Kellner <gicmo@gnome.org>
3486 * gio/goutputstream.c:
3487 Fix small mistake in the docs.
3489 2007-11-21 Christian Persch <chpe@gnome.org>
3491 * gio/glocalfile.c: (g_local_file_trash):
3492 Convert filenames to UTF-8 for GError.
3493 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3494 as per xdg base dir spec.
3496 2007-11-21 Christian Persch <chpe@gnome.org>
3498 * gio/gdesktopappinfo.c:
3499 Use that g_key_file_to_data cannot fail.
3501 Use stock defines for the key file group and key names.
3504 2007-11-21 Alexander Larsson <alexl@redhat.com>
3507 (copy_stream_with_progress):
3508 Make sure we do a final progress callback with
3509 the full total size.
3511 2007-11-21 Alexander Larsson <alexl@redhat.com>
3514 Export g_file_copy_attributes
3515 Remove padding as its not needed for interfaces
3517 2007-11-20 Alexander Larsson <alexl@redhat.com>
3522 Add G_IO_ERROR_WOULD_MERGE for
3523 copy/move dir on dir with overwrite.
3525 2007-11-20 Alexander Larsson <alexl@redhat.com>
3528 * gio/glocalfileinfo.c:
3529 Add COPY_NAME (this is an optional
3530 non-modified utf8 version of the name) that
3533 2007-11-20 Alexander Larsson <alexl@redhat.com>
3535 * gio/glocalfileenumerator.c:
3536 Report errors as GIOError, not GFileError
3538 2007-11-16 Alexander Larsson <alexl@redhat.com>
3540 * gio/glocalfileoutputstream.c:
3541 * gio/gwin32appinfo.c:
3542 Fix typos in strings.
3543 Patch from Luca Ferretti <elle.uca@libero.it>
3545 2007-11-15 Alexander Larsson <alexl@redhat.com>
3548 Post release version bump
3550 === gio-standalone 0.1.2 ===
3552 2007-11-15 Alexander Larsson <alexl@redhat.com>
3554 * docs/reference/gio/Makefile.am:
3555 Fix up distcheck by removing weird
3561 2007-11-14 Alexander Larsson <alexl@redhat.com>
3563 * gio/gdesktopappinfo.c:
3564 * gio/glocaldirectorymonitor.c:
3566 * gio/glocalfileinfo.c:
3567 * gio/inotify/inotify-sub.c:
3568 * programs/gio-cat.c:
3569 * programs/gio-copy.c:
3570 * programs/gio-info.c:
3571 * programs/gio-ls.c:
3572 * programs/gio-monitor-dir.c:
3573 * programs/gio-monitor-file.c:
3574 * programs/gio-mount.c:
3575 * programs/gio-move.c:
3576 * programs/gio-rm.c:
3577 * programs/gio-save.c:
3578 * programs/gio-trash.c:
3579 Leak fixes from Kjartan Maraas
3581 2007-11-14 Alexander Larsson <alexl@redhat.com>
3583 * gio/fam/fam-helper.c:
3585 * gio/glocalfileinfo.c:
3589 * gio/inotify/inotify-diag.c:
3590 * gio/inotify/inotify-kernel.c:
3591 Various code cleanups from Kjartan Maraas
3593 2007-11-14 Alexander Larsson <alexl@redhat.com>
3595 * gio/gioscheduler.c:
3597 Set up threadpool so that we cache 2 unused
3598 idle threads for at 15 secs. This means we
3599 will reuse thread-local data (like dbus connections)
3602 2007-11-14 Alexander Larsson <alexl@redhat.com>
3604 * gio/fam/fam-helper.c:
3605 * gio/fam/gfamdirectorymonitor.c:
3606 * gio/fam/gfamfilemonitor.c:
3608 * gio/gcontenttype.c:
3609 * gio/gdatainputstream.c:
3610 * gio/gdataoutputstream.c:
3614 * gio/gfileattribute.h:
3615 * gio/gfileenumerator.c:
3617 * gio/ginputstream.c:
3620 * gio/glocalfileinfo.c:
3621 * gio/goutputstream.c:
3622 * gio/gpollfilemonitor.c:
3623 * gio/gsimpleasyncresult.c:
3624 * gio/gunixmounts.c:
3625 * gio/gunixmounts.h:
3626 * gio/inotify/ginotifydirectorymonitor.c:
3627 * gio/inotify/ginotifyfilemonitor.c:
3628 * gio/inotify/inotify-diag.c:
3629 * gio/inotify/inotify-kernel.c:
3630 * gio/inotify/inotify-path.c:
3632 * gio/test-streams.c:
3633 * programs/gio-info.c:
3634 * programs/gio-monitor-dir.c:
3635 * programs/gio-monitor-file.c:
3636 Various code cleanups from Kjartan Maraas
3638 2007-11-13 Alexander Larsson <alexl@redhat.com>
3641 Handle the uri-scheme calls for dummy files
3643 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3645 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3646 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3647 to avoid clash with the C++ keyword.
3649 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3651 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3652 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3654 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3656 * gio/glocaldirectorymonitor.c:
3657 * gio/glocalfilemonitor.c:
3658 * gio/gunionvolumemonitor.c:
3659 Don't use g_once_init_*() for initializations that could fail and
3660 could leave the initialization variable set to 0 but use GOnce.
3661 This prevents a deadlock on the second call when trying to create
3662 a monitor and no monitor type is available. Thanks to Sven Herzberg
3665 2007-11-11 Sven Herzberg <sven@imendio.com>
3667 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3668 #ifdef (make it work on MacOS X again)
3670 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3672 Fixes Changelog for last two commits (sorry guys).
3674 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3676 * gio/gbufferedinputstream.c:
3677 * gio/gdatainputstream.c:
3679 * gio/gfileoutputstream.c:
3680 * gio/gfilterinputstream.c:
3681 * gio/glocalfileinputstream.c:
3684 More consistency fixes in g*stream.c files.
3685 Significant clean of gfile's documentation, filling in of
3686 asynchronous operations documentation.
3688 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3690 * gio/gasyncresult.c:
3691 * gio/gbufferedinputstream.c:
3692 * gio/gbufferedoutputstream.c:
3693 * gio/gcancellable.c:
3694 * gio/gcontenttype.c:
3695 * gio/gdatainputstream.c:
3696 * gio/gdataoutputstream.c:
3697 * gio/gdesktopappinfo.c:
3700 * gio/gfileattribute.c:
3701 * gio/gio/gfileenumerator.c:
3703 * gio/gfileinputstream.c:
3704 * gio/gfilemonitor.c:
3705 * gio/gfileoutputstream.c:
3706 * gio/ginputstream.c:
3708 * gio/gioscheduler.c:
3709 * gio/gloadableicon.c:
3710 * gio/glocalfileoutputstream.c:
3711 * gio/gmemoryoutputstream.c:
3712 * gio/gmountoperation.c:
3713 * gio/goutputstream.c:
3715 * gio/gsimpleasyncresult.c:
3716 * gio/gunionvolumemonitor.c:
3717 * gio/gunixmounts.c:
3718 * gio/gunixvolume.c:
3722 * gio/gvolumemonitor.c:
3723 Updated documentation stubs, working towards consistency and
3726 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3728 * gio/gmemoryoutputstream.c:
3729 * gio/gmemoryoutputstream.h:
3730 Change g_memory_output_stream_set_free_on_close() to
3731 g_memory_output_stream_set_free_data() as this makes more sense and
3732 is more consistent with GMemoryInputStream.
3734 2007-11-07 Alexander Larsson <alexl@redhat.com>
3741 Change how we find the default vfs so that
3742 we can handle a gvfs failing to init
3744 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3746 * gio/gbufferedoutputstream.c:
3747 * gio/gdatainputstream.c:
3748 * gio/gdataoutputstream.c:
3749 * gio/gfileinputstream.c:
3750 * gio/gfileoutputstream.c:
3751 * gio/gfilterinputstream.c:
3752 * gio/gfilteroutputstream.c:
3753 * gio/ginputstream.c:
3754 * gio/gmemoryinputstream.c:
3755 * gio/gmemoryoutputstream.c:
3756 * gio/goutputstream.c:
3757 * gio/gsimpleasyncresult.c:
3758 * gio/gsocketinputstream.c:
3759 * gio/gsocketoutputstream.c:
3760 Add guards to the remaining public functions, add a TODO for
3761 an unimplemented function and remove some useless guards.
3763 2007-11-07 Alexander Larsson <alexl@redhat.com>
3766 Autoconf checks for the various types of
3767 getpwuid_r and getgrgid_r
3769 * gio/glocalfileinfo.c:
3770 Use the autoconf checks from above
3772 2007-11-07 Alexander Larsson <alexl@redhat.com>
3775 (g_local_file_query_filesystem_info):
3776 Some fixes for the statvfs case
3778 2007-11-07 Alexander Larsson <alexl@redhat.com>
3781 (g_local_file_query_filesystem_info):
3782 Pick the "best" of statfs / statvfs for the system
3783 if both are availible.
3785 2007-11-07 Alexander Larsson <alexl@redhat.com>
3787 Solaris fixes from Halton.Huo@Sun.COM:
3794 * gio/glocalfileinfo.c:
3795 Fix for solaris definition of getpwuid_r
3797 * gio/test-streams.c:
3798 Use G_GNUC_PRETTY_FUNCTION
3800 2007-11-07 Alexander Larsson <alexl@redhat.com>
3802 * gio/gdesktopappinfo.c:
3803 (update_default_list):
3804 Remove double semicolon.
3805 Patch from Jens Granseuer
3807 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3809 * docs/reference/gio/gio-sections.txt:
3810 * gio/gbufferedinputstream.c:
3811 * gio/gbufferedinputstream.h:
3812 * gio/gdatainputstream.c:
3813 * gio/gfileenumerator.c:
3814 * gio/gioscheduler.c:
3815 * gio/gunionvolumemonitor.c:
3817 * programs/gio-save.c:
3818 Fix typo: availible -> available. Unfortuntely this breaks API
3819 and ABI as g_buffered_input_stream_get_available() was renamed.
3821 * gio/gunixmounts.c:
3822 * gio/gbufferedinputstream.c:
3823 Add guards for public functions.
3825 2007-11-06 Ross Burton <ross@openedhand.com>
3827 * docs/reference/gio/Makefile.am:
3828 Fix invalid += usage which automake 1.10 doesn't like.
3830 2007-11-06 Alexander Larsson <alexl@redhat.com>
3833 (g_app_launch_context_class_init):
3836 Patch from Ross Burton
3838 2007-11-06 Alexander Larsson <alexl@redhat.com>
3841 Post release version bump
3843 === gio-standalone 0.1.1 ===
3845 2007-11-06 Alexander Larsson <alexl@redhat.com>
3848 Bump version to 0.1.1
3850 * gio/gsimpleasyncresult.c:
3851 (g_simple_async_result_set_from_error):
3852 Remove bogus g_return_if_fail
3854 2007-11-06 Alexander Larsson <alexl@redhat.com>
3857 The name is gio-standalone
3860 Add top src/builddir to includedir
3862 2007-11-06 Alexander Larsson <alexl@redhat.com>
3864 * docs/reference/gio/gio-sections.txt:
3866 * gio/gbufferedinputstream.c:
3867 * gio/gbufferedoutputstream.c:
3868 * gio/gcancellable.c:
3869 * gio/gdatainputstream.h:
3870 * gio/gdataoutputstream.c:
3871 * gio/gdataoutputstream.h:
3872 * gio/gdirectorymonitor.c:
3874 * gio/gfileattribute.c:
3875 * gio/gfileattribute.h:
3876 * gio/gfileenumerator.c:
3877 * gio/gfileenumerator.h:
3880 * gio/gfileinputstream.h:
3881 * gio/gfilemonitor.c:
3882 * gio/gfileoutputstream.h:
3883 * gio/glocalfilemonitor.h:
3884 * gio/glocalfileoutputstream.h:
3885 * gio/gmemoryinputstream.c:
3886 * gio/gmemoryoutputstream.c:
3887 * gio/gmountoperation.c:
3888 * gio/goutputstream.c:
3889 * gio/goutputstream.h:
3891 * gio/gsimpleasyncresult.c:
3892 * gio/gunixmounts.c:
3893 * gio/gunixmounts.h:
3895 * gio/inotify/inotify-helper.c:
3896 Fix gtk-doc warnings
3898 Patch from Ross Burton
3900 2007-11-06 Alexander Larsson <alexl@redhat.com>
3902 * gio/gfilenamecompleter.c:
3903 (g_filename_completer_get_completions):
3906 * gio/gunixvolume.c:
3907 Remove unused function
3909 Patches from Ross Burton
3911 2007-11-06 Alexander Larsson <alexl@redhat.com>
3916 Padding not needed for interfaces
3918 2007-11-06 Alexander Larsson <alexl@redhat.com>
3920 * gio/gfilemonitor.c:
3924 Make giotypes.h an internal file
3927 * gio/gbufferedinputstream.h:
3928 * gio/gbufferedoutputstream.h:
3929 * gio/gcancellable.h:
3930 * gio/gdatainputstream.h:
3931 * gio/gdataoutputstream.h:
3932 * gio/gdirectorymonitor.c:
3933 * gio/gdirectorymonitor.h:
3938 * gio/gfileattribute.h:
3939 * gio/gfileenumerator.h:
3944 * gio/gfilemonitor.c:
3945 * gio/gfilemonitor.h:
3946 * gio/gfilenamecompleter.c:
3947 * gio/gfilenamecompleter.h:
3948 * gio/gfilterinputstream.h:
3949 * gio/gfilteroutputstream.h:
3950 * gio/ginputstream.h:
3951 * gio/gmemoryinputstream.h:
3952 * gio/gmemoryoutputstream.h:
3953 * gio/gmountoperation.c:
3954 * gio/gmountoperation.h:
3955 * gio/gnativevolumemonitor.c:
3956 * gio/goutputstream.h:
3959 * gio/gsimpleasyncresult.c:
3960 * gio/gsimpleasyncresult.h:
3961 * gio/gsocketinputstream.h:
3962 * gio/gsocketoutputstream.h:
3963 * gio/gthemedicon.c:
3964 * gio/gthemedicon.h:
3968 * gio/gvolumemonitor.c:
3969 * gio/gvolumemonitor.h:
3970 Add padding in classes where it seems useful
3971 Don't include giotypes.h from public headers
3972 Move in Class definitions into c file where possible
3977 2007-11-06 Alexander Larsson <alexl@redhat.com>
3979 * docs/reference/gio/gio-docs.xml:
3980 Better structure for API docs
3982 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3985 * gio/gloadableicon.c:
3986 * gio/gsimpleasyncresult.c:
3987 * gio/gthemedicon.c:
3988 Add some more guards to public functions. Only files missing are now
3991 2007-11-06 Alexander Larsson <alexl@redhat.com>
3993 * docs/reference/gio/gio-docs.xml:
3994 Remove old files, add missing ones
3996 2007-11-06 Alexander Larsson <alexl@redhat.com>
3998 * docs/reference/gio/gio-sections.txt:
4001 Hide implementation classes
4003 * gio/gdriveprivate.h:
4004 * gio/gvolumeprivate.h:
4005 Remove non-existing function declarations
4007 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4010 Fix compilation warnings and add guards to the new functions.
4012 * gio/gasyncresult.c:
4014 Add guards to the public functions.
4017 Implement get_path().
4019 2007-11-06 Alexander Larsson <alexl@redhat.com>
4021 * gio/gfilenamecompleter.c:
4022 Make g_filename_completer_get_completions
4023 return char ** instead of GList for
4026 * docs/reference/gio/gio-docs.xml:
4027 * docs/reference/gio/gio-sections.txt:
4029 * gio/gasyncresult.c:
4030 * gio/gbufferedinputstream.c:
4031 * gio/gbufferedoutputstream.c:
4032 * gio/gcancellable.c:
4033 * gio/gcontenttype.c:
4034 * gio/gdatainputstream.c:
4035 * gio/gdataoutputstream.c:
4036 * gio/gdesktopappinfo.c:
4037 * gio/gdirectorymonitor.c:
4041 * gio/gfileattribute.c:
4042 * gio/gfileenumerator.c:
4045 * gio/gfileinputstream.c:
4046 * gio/gfilemonitor.c:
4047 * gio/gfilenamecompleter.c:
4048 * gio/gfilenamecompleter.h:
4049 * gio/gfileoutputstream.c:
4050 * gio/gfilterinputstream.c:
4052 * gio/ginputstream.c:
4054 * gio/gioscheduler.c:
4055 * gio/gloadableicon.c:
4056 * gio/glocaldirectorymonitor.c:
4058 * gio/glocalfileinputstream.c:
4059 * gio/glocalfilemonitor.c:
4060 * gio/glocalfileoutputstream.c:
4062 * gio/gmemoryinputstream.c:
4063 * gio/gmemoryoutputstream.c:
4064 * gio/gmountoperation.c:
4065 * gio/goutputstream.c:
4066 * gio/gpollfilemonitor.c:
4068 * gio/gsimpleasyncresult.c:
4069 * gio/gsocketinputstream.c:
4070 * gio/gsocketoutputstream.c:
4071 * gio/gthemedicon.c:
4072 * gio/gunionvolumemonitor.c:
4074 * gio/gunixmounts.c:
4075 * gio/gunixvolume.c:
4076 * gio/gunixvolumemonitor.c:
4080 * gio/gvolumemonitor.c:
4081 * gio/gwin32appinfo.c:
4082 Add (mostly stub) doc strings to public functions.
4083 Patch from Andrew Walton (awalton@gmail.com)
4085 2007-11-06 Alexander Larsson <alexl@redhat.com>
4087 * gio/gappinfo.[ch]:
4088 Added GAppLaunchContext object and pass that to launch.
4089 This allows simple implementation of both
4090 launch-on-screen and startup notification via a gtk+
4091 subclass of GAppLaunchContext
4093 * gio/gdesktopappinfo.c:
4094 Implement GAppLaunchContext API
4096 * gio/gwin32appinfo.c:
4099 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4101 * gio/gmountoperation.c:
4102 Add some guards to GMountOperation's public functions.
4104 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4108 * gio/gcancellable.c:
4109 * gio/gdirectorymonitor.c:
4111 * gio/gfileenumerator.c:
4112 * gio/gfilemonitor.c:,
4113 * gio/gfilenamecompleter.c:
4116 * gio/gioscheduler.c:
4120 * gio/gvolumemonitor.c:
4121 Add even more guards to various public functions.
4123 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4126 Add guards to the public functions of GAppInfo.
4128 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4130 * gio/gcontenttype.c:
4131 Add some more guards for public functions.
4133 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4135 * gio/fam/fam-module.c:
4136 * gio/fam/gfamdirectorymonitor.c:
4137 * gio/fam/gfamdirectorymonitor.h:
4138 * gio/fam/gfamfilemonitor.c:
4139 * gio/fam/gfamfilemonitor.h:
4140 * gio/inotify/ginotifydirectorymonitor.c:
4141 * gio/inotify/ginotifydirectorymonitor.h:
4142 * gio/inotify/ginotifyfilemonitor.c:
4143 * gio/inotify/ginotifyfilemonitor.h:
4144 Add proper copyright information and remove an unused variable
4145 in the GInotifyFileMonitor constructor.
4147 * gio/gcancellable.c:
4148 Add a guard for a public function and an assertion to prevent
4149 an undefined program state.
4151 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4153 * gio/gfileattribute.c:
4154 Don't run into an assertion if the given attribute value is NULL
4155 in g_file_attribute_value_get_*() but instead return a fallback
4156 value that makes sense in most situations. Passing them a attribute
4157 value with the wrong type will still run into an assertion.
4159 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4161 * gio/gfileattribute.c:
4163 Add even more guards to the public functions. Also fix the refcounting
4164 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4165 let g_file_info_list_attributes() filter the attributes by namespace
4166 instead of simply ignoring the namespace parameter.
4168 2007-11-03 Sven Herzberg <sven@imendio.com>
4170 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4171 (This makes gio work on MacOS X again)
4173 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4176 Build the gio subdirectory before the docs. Otherwise the build will
4179 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4180 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4181 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4182 Add guards to the public functions.
4184 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4186 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4187 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4188 to prevent a compiler warning.
4190 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4191 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4192 return something in the non-void function find_topdir_for().
4194 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4201 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4203 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4204 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4205 * gwin32appinfo.c (g_win32_app_info_launch):
4206 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4207 envp_for_startup_id, g_desktop_app_info_launch,
4208 g_desktop_app_info_launch_uris):
4210 Give an opaque 'startup_id' string instead of 'envp'.
4211 Support empty file lists for launching new windows.
4212 Fix infinite recursion bug when launching URIs.
4214 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4217 Add guard to the new g_file_get_uri_scheme() function.
4219 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4222 Convert a g_return_val_if_fail() to setting the GError instead as
4223 otherwise applications have to verify the parameter before otherwise
4224 and the parameter might come directly from the user.
4226 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4228 * gio/inotify/ginotify*.[ch]:
4229 Add missing copyright information.
4231 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4234 Add guards in the beginning of public functions to check for valid
4235 parameters and fix a bug in copy_stream_with_progress() that could've
4236 caused writing less bytes than reading.
4237 * gio/glocalfileinfo.c:
4238 Check for a NULL parameter and set the GError accordingly then.
4239 * gio/goutputstream.c:
4240 Fix the same bug as in gfile.c that could've caused writing less bytes
4241 than reading in g_output_stream_real_splice().
4243 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4246 Use the correct gvolumeprivate.h naming
4248 2007-11-01 Christian Kellner <gicmo@gnome.org>
4251 Remove leftover "$(daemon_sources)" entry.
4253 2007-11-01 Christian Kellner <gicmo@gnome.org>
4258 Add copyright information to source files.
4260 2007-11-01 Alexander Larsson <alexl@redhat.com>
4264 Add g_file_get_uri_scheme
4266 2007-11-01 Alexander Larsson <alexl@redhat.com>
4269 * gio/gdesktopappinfo.c:
4270 * gio/gwin32appinfo.c:
4271 Add g_app_info_get_default_for_uri_scheme.
4273 2007-11-01 Alexander Larsson <alexl@redhat.com>
4276 Correct filename for gdriveprivate.h
4278 2007-10-31 Alexander Larsson <alexl@redhat.com>
4281 Rename id:value to id:file
4284 * gio/glocalfileinfo.c:
4287 2007-10-31 Alexander Larsson <alexl@redhat.com>
4289 * gio/gunixvolume.c:
4291 Remove g_volume_get_platform_id, as thats not
4292 needed with the simpler union volume monitor
4294 2007-10-31 Alexander Larsson <alexl@redhat.com>
4297 * gio/guniondrive.[ch]: Removed.
4298 * gio/gunionvolume.[ch]: Removed.
4299 Remove GUnionDrive/Volume
4301 * gio/gunionvolumemonitor.c:
4302 Simplify union volume monitor, now we
4303 only have one native volume monitor and
4304 we use the actual volumes/drives from the
4305 child monitors instead of wrapping them
4307 * gio/gnativevolumemonitor.[ch]:
4308 Base class for native volume monitors.
4309 Includes priority and get_volume_for_mountpoint
4312 Add g_file_find_enclosing_volume
4315 Remove volume name fs attribute
4316 Add readonly fs attribute
4319 Implement readonly attribute
4320 remove volume name attribute
4321 Implement find_enclosing volume
4323 * gio/gunixmounts.c:
4324 Add a volume for "/".
4326 * gio/gunixvolume.[ch]:
4327 Set better name for /
4329 * gio/gunixvolumemonitor.[ch]:
4330 Derive from GNativeVolumeMonitor
4331 Implement get_volume_for_mountpoint
4334 GVolume typedef moved to gfile.h
4336 * gio/gvolumeprivate.h:
4337 Add g_volume_get_for_mount_path
4339 2007-10-31 Alexander Larsson <alexl@redhat.com>
4341 * gio/gunixmounts.[ch]:
4342 Add cache info to unix mount listers
4343 Make getmntent use threadsafe
4344 Add is_system_internal attribute for GUnixMount
4346 * gio/gunixvolume.c:
4347 (g_unix_volume_new):
4348 Use is_system_internal instead of own code
4350 * gio/glocaldirectorymonitor.c:
4351 * gio/gunixvolumemonitor.c:
4352 Update to new gunixmounts API
4357 2007-10-30 Alexander Larsson <alexl@redhat.com>
4360 Add volume name fsinfo attribute
4363 Read volume name info
4365 * gio/gunionvolumemonitor.c:
4366 Fix infinite loops when finalizing a union volume monitor
4368 2007-10-30 Alexander Larsson <alexl@redhat.com>
4370 * gio/goutputstream.[ch]:
4371 Add splice() with default implementation
4373 * gio/gsocketoutputstream.c:
4374 (g_socket_output_stream_write):
4375 Return error on cancellation correctly.
4377 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4379 * gio/glocalfile.c (g_local_file_trash):
4380 Do not leak a string.
4382 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4384 * gio/gfile.c (g_file_load_contents):
4385 Unref the stream after closing it.
4387 2007-10-25 Alexander Larsson <alexl@redhat.com>
4389 * gio/gioscheduler.h:
4392 2007-10-25 Alexander Larsson <alexl@redhat.com>
4396 Add g_file_has_uri_scheme and implement for local files
4398 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4400 * gio/gdesktopappinfo.c: do not leak a string.
4402 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4404 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4405 (g_local_directory_monitor_new):
4406 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4407 (g_local_file_monitor_new):
4408 Only look for the monitor type that should be used the first time
4409 and use g_qsort_with_data() instead of our own bubble sort
4412 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4415 * gio/fam/Makefile.am:
4416 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4417 * gio/fam/fam-helper.h:
4418 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4419 * gio/fam/gfamdirectorymonitor.c:
4420 * gio/fam/gfamdirectorymonitor.h:
4421 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4422 * gio/fam/gfamfilemonitor.h:
4423 * gio/glocaldirectorymonitor.c:
4424 * gio/glocaldirectorymonitor.h:
4425 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4426 * gio/glocalfilemonitor.h:
4427 * gio/inotify/Makefile.am:
4428 * gio/inotify/ginotifydirectorymonitor.c:
4429 * gio/inotify/ginotifydirectorymonitor.h:
4430 * gio/inotify/ginotifyfilemonitor.c:
4431 * gio/inotify/ginotifyfilemonitor.h:
4432 Implement the FAM and Inotify monitors as
4433 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4434 their own GIO module. GLocal(Directory|File)Monitor will use the
4435 monitor with the highest rank that is supported on that machine.
4437 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4440 Change GIO module dir to $(libdir)/gio/modules and change
4441 the log domain from GVFS to GIO. Also only export symbols starting
4442 with g_ in the resulting library.
4443 * gio/test-streams.c: (main):
4444 Set log handler for the GIO log domain.
4446 2007-10-22 Alexander Larsson <alexl@redhat.com>
4448 * gio/gfilenamecompleter.[ch]:
4449 Add g_filename_completer_set_dirs_only
4451 2007-10-22 Alexander Larsson <alexl@redhat.com>
4454 * gio/gurifuncs.[ch]:
4455 Add some simple URI helpers
4457 * gio/gfilenamecompleter.[ch]:
4458 Added object for filename (parse name actually) completion
4461 Handle ~ in parse names
4463 2007-10-17 Alexander Larsson <alexl@redhat.com>
4466 * gio/glocalfileinfo.c:
4467 Add and implement id:value attribute
4469 2007-10-17 Alexander Larsson <alexl@redhat.com>
4472 * gio/guniondrive.c:
4474 Add and implement g_drive_has_volumes
4476 2007-10-17 Alexander Larsson <alexl@redhat.com>
4479 * gio/glocalfileinfo.[ch]:
4480 Add unix:is_mountpoint and implement for local files
4482 2007-10-16 Alexander Larsson <alexl@redhat.com>
4484 * gio/gunionvolumemonitor.c:
4485 (g_union_volume_monitor_init):
4486 Fix up the unix type getting so that it works with gcc
4488 2007-10-12 Alexander Larsson <alexl@redhat.com>
4491 * gio/glocalfileinfo.c:
4492 Add thumbnail:failed to file info
4494 2007-10-12 Richard Hult <richard@imendio.com>
4496 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4497 optimizing away the get_type call (happens with some gcc versions,
4498 like the one shipped with OS X 10.4).
4500 2007-10-12 Alexander Larsson <alexl@redhat.com>
4502 * gio/glocalfileinfo.c:
4503 (_g_local_file_info_set_attribute):
4504 Fix build if not HAVE_XATTR
4505 Patch from Milosz Derezynski <internalerror@gmail.com>
4507 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4509 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4510 around for review, otherwise I would have asked you before
4513 2007-10-11 Alexander Larsson <alexl@redhat.com>
4516 Add thumbnail:path attribute
4518 * gio/glocalfileinfo.c:
4519 Implement thumbnail:path for local files
4521 2007-10-11 Alexander Larsson <alexl@redhat.com>
4523 * gio/glocalfileinfo.c:
4524 (_g_local_file_info_get):
4525 Avoid duplicate icon names
4527 2007-10-11 Alexander Larsson <alexl@redhat.com>
4529 * gio/gthemedicon.[ch]:
4530 Change g_themed_icon_get_names return type to const
4532 2007-10-10 Alexander Larsson <alexl@redhat.com>
4534 * gio/glocalfileinfo.c:
4535 Don't reference freed memory
4537 2007-10-10 Alexander Larsson <alexl@redhat.com>
4539 * gio/gfileattribute.c:
4542 * gio/glocalfileinfo.c:
4545 2007-10-10 Alexander Larsson <alexl@redhat.com>
4548 Check for NULL icons
4550 * gio/gfileattribute.c:
4551 Don't dup when getting objects (same as for string attributes)
4553 * gio/gicon.c (g_icon_equal):
4554 Safely handle NULLs in equal
4556 2007-10-10 Alexander Larsson <alexl@redhat.com>
4559 Fix c++ compilation issues
4560 Patch from Milosz Derezynski <internalerror@gmail.com>
4562 2007-10-10 Alexander Larsson <alexl@redhat.com>
4564 * programs/gio-monitor-dir.c:
4565 Don't crash if dir monitor not supported.
4567 2007-10-09 Alexander Larsson <alexl@redhat.com>
4570 Add missing G_END_DECLS
4572 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4574 * gio/gfile.c: (g_file_set_display_name),
4575 (g_file_query_settable_attributes),
4576 (g_file_query_writable_namespaces):
4577 Return NULL not FALSE on errors as the return type is a pointer.
4579 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4581 * gio/glocalfile.c: (g_local_file_monitor_file):
4582 Don't call monitor_file on the default interface vtable (which
4583 is NULL) but simply return NULL. The caller, GFile, will create a
4584 polling monitor if NULL is returned.
4586 2007-10-09 Alexander Larsson <alexl@redhat.com>
4590 * gio-unix-2.0.pc.in:
4591 Add gio-unix-2.0.pc if OS_UNIX
4594 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4596 2007-10-09 Alexander Larsson <alexl@redhat.com>
4598 * gio/gunixmounts.[ch]:
4599 Make unix mount monitoring API sane.
4600 Now its just a object with mounts_changed
4601 and mountpoints_changed signals.
4603 * gio/glocaldirectorymonitor.c:
4604 * gio/gunixvolumemonitor.c:
4605 Use new mount monitor api
4607 2007-10-09 Alexander Larsson <alexl@redhat.com>
4609 * gio/gunixmounts.[ch]:
4610 Move guess type into one call for mounts and one for mountpoints
4613 * gio/gunixvolume.c:
4616 2007-10-09 Alexander Larsson <alexl@redhat.com>
4618 * gio/gunixmounts.[ch]:
4619 Remove _ prefix in preparation to make this semi-public
4620 Hide implementation of structs
4622 * gio/glocaldirectorymonitor.c:
4624 * gio/gunixvolume.c:
4625 * gio/gunixvolumemonitor.c:
4626 Update for above API changes
4628 2007-10-08 Alexander Larsson <alexl@redhat.com>
4631 Better polling fallback. This also handles the case where we have
4632 a monitor_file implementation, but it fails.
4634 2007-10-08 Alexander Larsson <alexl@redhat.com>
4638 * gio/gunixmounts.c:
4639 * programs/gio-monitor-dir.c:
4640 * programs/gio-monitor-file.c:
4641 Added cancellable to file monitoring calls.
4642 These are really sync calls and need this.
4644 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4646 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4647 (g_local_vfs_class_init):
4648 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4649 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4651 2007-10-05 Alexander Larsson <alexl@redhat.com>
4653 * gio/gdirectorymonitorprivate.h:
4654 * gio/gfilemonitorprivate.h:
4655 * gio/gdirectorymonitor.h:
4656 * gio/gfilemonitor.h:
4657 Remove *private.h and move to the public API, so that
4658 we can do implementations outside gio (such as in gvfs)
4660 * gio/gdirectorymonitor.c:
4661 * gio/gfilemonitor.c:
4662 * gio/glocaldirectorymonitor.c:
4663 * gio/gpollfilemonitor.c:
4664 * gio/inotify/inotify-helper.c:
4665 * gio/fam/fam-helper.c:
4666 Update to the new header names
4668 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4670 * gio/gdirectorymonitor.c:
4671 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4674 2007-10-04 Alexander Larsson <alexl@redhat.com>
4676 * gio/glocalfileinfo.c (get_access_rights):
4677 Set CAN_TRASH when we can move the file.
4678 We should really also check for a parent trash dir.
4680 2007-10-04 Alexander Larsson <alexl@redhat.com>
4682 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4683 Add can_trash access attribute
4685 2007-10-04 Alexander Larsson <alexl@redhat.com>
4688 (g_local_file_trash):
4689 Create info file first. This is per-spec and allows
4690 us to actually trash directories.
4692 2007-10-02 Alexander Larsson <alexl@redhat.com>
4694 * gio/gdesktopappinfo.c:
4695 Implement the new mime support code.
4696 Always set app as handling mimetype when being set as default for it
4698 2007-10-01 Alexander Larsson <alexl@redhat.com>
4700 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4701 Fix up check for xattrs:
4703 2007-10-01 Alexander Larsson <alexl@redhat.com>
4706 (g_app_info_set_as_default_for_extension):
4707 (g_app_info_add_supports_type):
4708 (g_app_info_can_remove_supports_type):
4709 (g_app_info_remove_supports_type):
4710 Make these fail nicely if not implemented
4712 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4714 * gio/glocalfileoutputstream.c:
4715 * gio/glocalfileoutputstream.h:
4720 * programs/gio-save.c:
4721 Add a GFileCreateFlags argument to operations that can create
4724 2007-10-01 Alexander Larsson <alexl@redhat.com>
4726 * gio/gappinfo.[ch]:
4727 * gio/gdesktopappinfo.c:
4728 Add more (stubbed out) mime API needed for nautilus
4730 2007-10-01 Alexander Larsson <alexl@redhat.com>
4733 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4734 Add g_app_info_set_as_default_for_extension.
4736 * gio/gdesktopappinfo.c:
4737 Dummy for g_app_info_set_as_default_for_extension
4738 Support flags in g_app_info_create_from_commandline
4740 * gio/gwin32appinfo.c:
4742 Update for API changes
4744 * gio/gthemedicon.c:
4745 Properly NULL-terminate list of icon names
4747 2007-09-28 Alexander Larsson <alexl@redhat.com>
4749 * gio/gloadableicon.h:
4750 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4752 2007-09-28 Alexander Larsson <alexl@redhat.com>
4755 Install headers in $includedir/gio-standalone/
4757 * gio-2.0.pc.in: Added.
4758 * gio-standalone.pc.in: Removed.
4761 Renamed pkg-config file to match glib (for future move)
4762 Update to the new include dir
4765 Add more TODO comments
4767 2007-09-28 Alexander Larsson <alexl@redhat.com>
4769 * gio/gdesktopappinfo.[ch]:
4770 Expose new_from_filename
4771 Add getter for is_hidden and handle it better
4773 2007-09-28 Alexander Larsson <alexl@redhat.com>
4775 * gio/gfileinfo.[ch]:
4776 Rename g_file_size_format_for_display to
4777 g_format_file_size_for_display.
4778 Now it doesn't have the g_file prefix, so we
4779 can later move it to glib.
4781 2007-09-28 Alexander Larsson <alexl@redhat.com>
4783 * gio/gappinfo.[ch]:
4784 Add g_app_info_get_id and g_app_info_get_executable.
4785 Make all getters non-reffing
4786 Make g_app_info_launch take GFile arguments.
4787 Add must_support_uris argument to g_app_info_get_default_for_type.
4789 * gio/gwin32appinfo.c:
4790 Update to GAppInfo api changes
4792 * gio/gdesktopappinfo.c:
4793 Update to GAppInfo api changes
4794 Implement supports_xdg_startup_notify
4796 * gio/gfileicon.c (g_file_icon_get_file):
4797 Make getter non-reffing.
4802 2007-09-27 Alexander Larsson <alexl@redhat.com>
4804 * gio/gfileinfo.[ch]:
4805 Add g_file_size_format_for_display helper
4807 2007-09-27 Alexander Larsson <alexl@redhat.com>
4809 * gio/glocalfileinfo.c:
4810 Set UNIX_GID from gid, not from uid
4812 2007-09-27 Alexander Larsson <alexl@redhat.com>
4815 Add g_file_set_attributes_async
4817 2007-09-27 Alexander Larsson <alexl@redhat.com>
4819 * gio/glocalfile.c (g_local_file_set_display_name):
4820 Fix set_display_name to actually rename to the right place.
4821 Use lstat to look for existing files so we don't overwrite
4824 2007-09-26 Alexander Larsson <alexl@redhat.com>
4827 Add g_file_set_display_name_async()
4829 2007-09-26 Alexander Larsson <alexl@redhat.com>
4832 Add load_partial_contents async calls
4835 Make internal function static
4837 2007-09-26 Alexander Larsson <alexl@redhat.com>
4839 * gio/glocalfileinfo.c:
4840 Correctly detect broken symlinks
4842 2007-09-26 Alexander Larsson <alexl@redhat.com>
4844 * gio/gcancellable.c (g_cancellable_cancel):
4845 Allow cancel on NULL cancellable
4847 2007-09-25 Alexander Larsson <alexl@redhat.com>
4849 * gio/gsimpleasyncresult.c:
4850 Don't allocate g_error manually.
4851 Fixes g_slice/g_new mixup crash
4853 2007-09-25 Alexander Larsson <alexl@redhat.com>
4855 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4856 Actually set active_backend.
4857 This means the monitor will be cancelled correctly.
4859 2007-09-25 Alexander Larsson <alexl@redhat.com>
4861 * gio/gdirectorymonitor.c:
4862 Set timeout to NULL when destroying
4864 2007-09-25 Alexander Larsson <alexl@redhat.com>
4867 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4868 that is a better description of the error.
4870 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4872 * gio/gvfs.c: (g_vfs_get_local):
4873 Make the local vfs variable static. The same instance should
4876 2007-09-24 Alexander Larsson <alexl@redhat.com>
4878 * gio/glocalfileinfo.c:
4879 Pass in actual length read into sniffer, not the length
4882 2007-09-21 Alexander Larsson <alexl@redhat.com>
4884 * gio/gfileenumerator.c:
4887 * gio/gfileinputstream.c:
4888 * gio/gfileoutputstream.c:
4889 * gio/ginputstream.c:
4890 * gio/goutputstream.c:
4891 Don't crash if async callbacks are NULL
4893 2007-09-20 Alexander Larsson <alexl@redhat.com>
4896 Add async enumerate_children method and default
4899 2007-09-20 Alexander Larsson <alexl@redhat.com>
4902 Add g_file_contains_file & g_file_get_relative_path, since they
4903 were needed for nautilus.
4904 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4909 Implement new methods
4911 2007-09-17 Alexander Larsson <alexl@redhat.com>
4914 * gio/gfileinputstream.[ch]:
4915 * gio/gfileoutputstream.[ch]:
4917 * gio/glocalfileenumerator.[ch]:
4918 * gio/glocalfileinfo.[ch]:
4919 * gio/glocalfileinputstream.c:
4920 * gio/glocalfileoutputstream.c:
4921 * gio/gpollfilemonitor.c:
4922 * programs/gio-copy.c:
4923 * programs/gio-info.c:
4924 * programs/gio-move.c:
4925 Rename get_file_info to query_info() to make it clearer
4926 that these are not simple getters, but do i/o.
4928 2007-09-17 Alexander Larsson <alexl@redhat.com>
4930 * gio/gdatainputstream.[ch]:
4931 * gio/test-streams.c:
4932 Use _read_XXX instead of _get_XXX for the i/o calls
4935 2007-09-17 Alexander Larsson <alexl@redhat.com>
4938 Added needed stuff to TODO comment
4940 2007-09-17 Alexander Larsson <alexl@redhat.com>
4942 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4943 Don't error out removing the backup copy if it doesn't
4946 2007-09-14 Alexander Larsson <alexl@redhat.com>
4948 * programs/Makefile.am:
4949 * programs/gvfs-*.c:
4951 Renamed apps from gvfs-xxx to gio-xxx.
4953 2007-09-14 Alexander Larsson <alexl@redhat.com>
4956 * gio/gfileoutputstream.[ch]:
4957 * gio/glocalfileoutputstream.c:
4958 * programs/gvfs-save.c:
4959 g_file_output_stream_get_etag doesn't do i/o, so remove
4960 cancellation and error.
4962 2007-09-14 Alexander Larsson <alexl@redhat.com>
4965 Add new_etag output to replace_contents functions
4967 2007-09-14 Alexander Larsson <alexl@redhat.com>
4969 * gio/gfileoutputstream.[ch]:
4970 Add async get_file_info and default implementation
4972 2007-09-14 Alexander Larsson <alexl@redhat.com>
4974 * gio/gfileinputstream.c:
4975 Implement fallback wrapper for async get_file_info
4977 2007-09-14 Alexander Larsson <alexl@redhat.com>
4980 Add etag out argument to load_contents
4985 2007-09-14 Alexander Larsson <alexl@redhat.com>
4987 * gio/gcontenttype.c (looks_like_text):
4988 Whitespace like tab, cr and lf do not make the
4991 2007-09-14 Alexander Larsson <alexl@redhat.com>
4993 * gio/gfileinputstream.[ch]:
4994 Add async get_file_info.
4996 2007-09-13 Alexander Larsson <alexl@redhat.com>
4998 * gio/goutputstream.c (g_output_stream_write_all):
4999 Allow NULL for bytes_written
5001 2007-09-13 Alexander Larsson <alexl@redhat.com>
5003 * gio/gmemoryinputstream.[ch]:
5004 Add accessors for data
5006 2007-09-13 Alexander Larsson <alexl@redhat.com>
5008 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5009 Don't crash if length is NULL