1 2008-09-04 Tor Lillqvist <tml@novell.com>
3 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
6 2008-09-02 Matthias Clasen <mclasen@redhat.com>
8 * === Released 2.18.0 ===
10 2008-09-02 Michael Natterer <mitch@imendio.com>
12 * *.h: big header formatting cleanup: indentation, vtable
13 formatting, consistent spacing in (* vfunc), trailing whitespace
14 removal. Formatting should be pretty consistent in all GIO headers
17 2008-09-02 Matthias Clasen <mclasen@redhat.com>
19 * gmount.h: Document guess_content_type sync vfunc.
21 2008-09-02 Michael Natterer <mitch@imendio.com>
23 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
24 fix parent_class member to be GFilterOutputStreamClass (not
25 GOutputStreamClass). Drop three pointers of padding, which is
26 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
27 so the class struct size stays the same.
29 2008-09-02 Matthias Clasen <mclasen@redhat.com>
31 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
33 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
34 nonexisting return values. Pointed out by Cosimo Cecchi.
36 2008-08-23 Tor Lillqvist <tml@novell.com>
38 Bug 548988 - g_file_replace fails on Windows when the target file
41 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
42 Windows, close the file before potentially renaming it (in case we
43 have been writing to a file with a temporary name).
45 (g_local_file_output_stream_close, handle_overwrite_open): Use
46 GLocalFileStat instead of plain struct stat, for passing to
47 _g_local_file_info_create_etag(). Thus also use _fstati64()
48 instead of plain fstat() on Windows.
50 2008-08-18 Matthias Clasen <mclasen@redhat.com>
52 * === Released 2.17.7 ===
54 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
56 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
59 2008-08-13 Tor Lillqvist <tml@novell.com>
63 * win32/gwinhttpfile.c
64 * win32/gwinhttpfileinputstream.c
65 * win32/gwinhttpfileoutputstream.c: Refactor some common code
66 snippets into helper functions. Check HTTP response status
67 codes. Implement g_winhttp_file_query_info(), looking at
68 Content-Length, Content-Type and Last-Modified.
70 * win32/winhttp.h: Add some symbolic constants that are not
71 publicly documented. Just a handful, so it should be OK to use
72 information from the Windows SDK's headers.
74 2008-08-13 Tor Lillqvist <tml@novell.com>
76 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
79 * win32/gwin32directorymonitor.c
80 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
82 2008-08-13 Matthias Clasen <mclasen@redhat.com>
85 * goutputstream.c: Add intro docs.
87 2008-08-13 Tor Lillqvist <tml@novell.com>
89 * win32/gwinhttpfileoutputstream.c
90 (g_winhttp_file_output_stream_write): Don't write the
91 Content-Length header ourselves, WinHttpSendRequest() takes care
92 of that when the dwTotalLength parameter is non-zero. Increment
93 offset by the number of actual bytes sent, although I wonder if
94 such a scenario is possible where less than requested would be
95 sent and accepted by the server without errors.
97 2008-08-13 Tor Lillqvist <tml@novell.com>
100 * win32/gwinhttpvfs.h
101 * win32/gwinhttpfile.c
102 * win32/gwinhttpfile.h
103 * win32/gwinhttpfileinputstream.c
104 * win32/gwinhttpfileinputstream.h
105 * win32/gwinhttpfileoutputstream.c
106 * win32/gwinhttpfileoutputstream.h: New files implementing
107 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
108 Windows. The implementation uses the WinHttp API. Both reading and
109 writing are supported, i.e. GET and PUT requests. When writing,
110 each write call is done using a separate PUT request with a
111 Content-Range header. Requests for file URIs and plain pathnames
112 are forwarded to GLocalVfs.
114 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
115 WINE. Used as there is no <winhttp.h> bundled with mingw, and
116 requiring people to download the Windows SDK just for this one
117 header is not reasonable.
119 * win32/Makefile.am: Add above files.
121 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
122 the plumbing for the above.
124 2008-08-11 Sven Neumann <sven@gimp.org>
126 * gfilenamecompleter.c
127 * glocaldirectorymonitor.c
129 * gunionvolumemonitor.c
133 * gunixvolumemonitor.c
136 * gwin32volumemonitor.c: use canonical signal names.
138 2008-08-11 Tor Lillqvist <tml@novell.com>
140 * Makefile.am: Put a list of the platform-dependent .la files in
141 the subdirectories in the platform_deps Make variable, and make
142 libgio-2.0.la depend on that, so that it gets relinked if one of
143 the dependent libraries has changed.
145 2008-08-11 Tor Lillqvist <tml@novell.com>
147 * Makefile.am (platform_libadd): Remove -lwininet which had been
148 added by mistake. We will probably eventually be using WinHTTP,
149 not the older WinInet anyway. (Actually I am working on it.)
151 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
153 Bug 547080 – g_file_copy leaks expected errors
155 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
156 before trying the next fallback routine.
158 2008-08-09 Loïc Minier <lool@dooz.org>
160 Bug 535124 – umask 002 not being applied for new directories, new
161 files get the correct umask
163 * gfile.c (g_file_make_directory)
164 (g_file_make_directory_with_parents): Document ownership and
165 permissions of newly created directories as being the default
168 2008-08-08 Loïc Minier <lool@dooz.org>
170 Bug 535124 – umask 002 not being applied for new directories, new
171 files get the correct umask
173 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
176 2008-08-08 Tor Lillqvist <tml@novell.com>
178 * gwin32mount.c: Remove unused code. Whitespace cleanup.
180 * gwin32volumemonitor.c (get_connected_drives): Put questionable
181 code that didn't actually do anything inside #if 0, and add a
182 comment wondering what the code was supposed to do. This also gets
183 rid of a leftover debugging printout.
185 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
187 * gfileicon.c (g_file_icon_get_property)
188 (g_file_icon_set_property): New functions.
189 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
191 (g_file_icon_new): Use the property (bug #546132).
193 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
195 * gthemedicon.c (g_themed_icon_get_property): Also handle
196 `PROP_USE_DEFAULT_FALLBACKS'.
197 (g_themed_icon_class_init): Make
198 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
200 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
202 Bug 546371 – Improve docs re g_file_monitor
204 * gfilemonitor.c: Mention g_file_monitor() in the docs.
206 2008-08-04 Matthias Clasen <mclasen@redhat.com>
208 * === Released 2.17.6 ===
210 2008-08-04 Matthias Clasen <mclasen@redhat.com>
212 * === Released 2.17.5 ===
214 2008-08-04 Matthias Clasen <mclasen@redhat.com>
216 Bug 546017 – Don't copy attributes when copying a symlink
218 * gfile.c (g_file_copy_attributes): Specify
219 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
220 g_file_set_attributes_from_info. Patch by Christian Kellner
222 2008-08-04 Matthias Clasen <mclasen@redhat.com>
224 * gemblemedicon.[hc]:
226 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
227 a bit more extensible. Work by Clemens Buss.
229 * gioenums.h: Add GEmblemOrigin.
232 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
234 Bug 546079 – leak in xdgmime
236 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
238 2008-08-03 Tor Lillqvist <tml@novell.com>
240 * win32/gwin32directorymonitor.h
241 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
244 2008-08-03 Tor Lillqvist <tml@novell.com>
246 * win32/gwin32directorymonitor.c
247 (g_win32_directory_monitor_callback): Make prototype match
248 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
249 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
252 (g_win32_directory_monitor_constructor):
253 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
254 names in the GLib API on Windows, so convert to UTF-16 and open
257 2008-08-03 Tor Lillqvist <tml@novell.com>
259 Bug 541036 - Gnumeric crashes when trying to open Desktop or
260 user's folder under Windows
262 * win32/gwin32directorymonitor.c
263 (g_win32_directory_monitor_constructor): Ignore error from
264 CreateFile() when opening directory. Instead of asserting, just
265 store INVALID_HANDLE_VALUE then in
266 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
267 ReadDirectoryChangesW().
268 (g_win32_directory_monitor_cancel): Don't attempt to close
269 directory handle if it is INVALID_HANDLE_VALUE.
271 2008-08-01 Matthias Clasen <mclasen@redhat.com>
273 * gdesktopappinfo.c: Remove debug spew
275 2008-08-01 Hans Breuer <hans@breuer.org>
277 * makefile.msc : add gemblembedicon
279 2008-07-30 Matthias Clasen <mclasen@redhat.com>
281 Bug 545457 – gdmsetup crashed with SIGSEGV in
282 g_unix_mount_guess_should_display()
284 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
285 crash if no mount is found.
287 2008-07-28 Matthias Clasen <mclasen@redhat.com>
289 Bug 545203 – gfile.c: argument is different type.
291 * gfile.c (open_read_async_thread): Pass a GError **
292 to g_file_set_error_literal.
293 Reported by Kazuki Iwamoto
295 2008-07-28 Matthias Clasen <mclasen@redhat.com>
297 Bug 545157 – wrong/no list of "open with" applications for .cc and
300 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
301 Collect all ancestors, not just direct parents. Pointed
302 out by Bastien Nocera
304 2008-07-28 Matthias Clasen <mclasen@redhat.com>
306 * Makefile.am: Install gemblemedicon.h
308 2008-07-28 Matthias Clasen <mclasen@redhat.com>
310 * gemblemedicon.[hc]: Add a GIcon implementation that can
311 add an emblem to another icon.
318 * gfileicon.c: Small documentation additions.
320 2008-07-28 Tor Lillqvist <tml@novell.com>
322 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
325 2008-07-27 Tor Lillqvist <tml@novell.com>
327 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
329 2008-07-24 David Zeuthen <davidz@redhat.com>
333 Also export a g_mount_guess_content_type_sync() function.
335 2008-07-23 Matthias Clasen <mclasen@redhat.com>
337 529694 – SELinux context setting support
339 * gfileinfo.c: Support setting selinux attributes.
340 Patch by Tomas Bzatek
342 2008-07-22 Priit Laes <plaes@plaes.org>
344 Bug 544140 - fam-helper 64-bit issue?
346 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
348 2008-07-21 Matthias Clasen <mclasen@redhat.com>
350 * === Released 2.17.4 ===
352 2008-07-20 Matthias Clasen <mclasen@redhat.com>
354 * gvolumemonitor.[hc]:
359 * gmount.c: Documentation fixes
361 2008-07-19 Matthias Clasen <mclasen@redhat.com>
363 543504 – crash in Epiphany Web Browser: Opening local file
374 * gvolume.c: Register types thread-safely.
375 Patch by Christian Persch
377 2008-07-18 Matthias Clasen <mclasen@redhat.com>
379 * gcontenttype.c: Remove debug spew
381 2008-07-18 Matthias Clasen <mclasen@redhat.com>
383 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
386 * fen/fen-kernel.c: Remove a warning that was causing
387 crashes. Reported by Lin Ma.
389 2008-07-18 Matthias Clasen <mclasen@redhat.com>
391 Bug 543040 – async reading on dummy file will crash on
394 * gfile.c (open_read_async_thread): Cope with read_fn being
395 NULL. Reported by Lin Ma.
397 2008-07-18 Matthias Clasen <mclasen@redhat.com>
400 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
402 2008-07-16 Matthias Clasen <mclasen@redhat.com>
406 * giomodule.c: Rename a chapter id to avoid filename conflict.
408 2008-07-16 Matthias Clasen <mclasen@redhat.com>
410 Bug 540616 – mem leak in filechooser button
412 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
413 the mount entry. Reported by Chrisitan Persch
415 2008-07-16 Matthias Clasen <mclasen@redhat.com>
417 * gfile.c: Small documentation fixes.
419 2008-07-15 Matthias Clasen <mclasen@redhat.com>
421 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
423 2008-07-08 Matthias Clasen <mclasen@redhat.com>
428 * gmount.c: Documentation improvements.
430 2008-07-08 Matthias Clasen <mclasen@redhat.com>
433 * gmount.[hc]: Add g_mount_guess_content_type().
435 2008-07-06 David Zeuthen <davidz@redhat.com>
438 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
439 is needed for easily handling adoption of foreign volumes by
440 out-of-process volume monitors (#541793)
442 2008-07-06 David Zeuthen <davidz@redhat.com>
444 * gvolumemonitor.[ch]:
445 * gunionvolumemonitor.c: Export the eject-button signal on the
446 volume monitor class (#541794).
448 2008-07-06 Matthias Clasen <mclasen@redhat.com>
450 * gappinfo.c: More doc tweaks
452 2008-07-05 Matthias Clasen <mclasen@redhat.com>
454 * gappinfo.c: Clarify some docs
456 2008-07-03 Matthias Clasen <mclasen@redhat.com>
458 * gdesktopappinfo.c: Fix a stupid mistake.
460 2008-07-02 Matthias Clasen <mclasen@redhat.com>
462 * === Released 2.17.3 ===
464 2008-07-02 Matthias Clasen <mclasen@redhat.com>
466 * gfilemonitor.c: Fix the build.
468 2008-07-02 Matthias Clasen <mclasen@redhat.com>
470 Bug 536160 – Add g_file_monitor()
473 * gfile.[hc]: Add g_file_monitor which can return either
474 a file or a directory monitor. Proposed by Behdad Esfahbod
476 2008-07-02 Matthias Clasen <mclasen@redhat.com>
478 536733 – gio build failure on Irix
480 * glocalfile.c: Use a configure check for structfs.f_bavail.
482 2008-07-02 Matthias Clasen <mclasen@redhat.com>
484 Bug 534639 – add g_desktop_app_info_new_from_keyfile
487 * gdesktopappinfo.[hc]: Add a function to create a
488 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
490 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
492 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
494 2008-07-01 Matthias Clasen <mclasen@redhat.com>
496 * gunixmounts.c: Fix a doc typo.
498 2008-07-01 Cody Russell <bratsche@gnome.org>
500 * gio/gcontenttype.c:
501 * gio/gwin32appinfo.c:
502 * gio/gwin32volumemonitor.c:
503 * gio/gwin32mount.c: Fixed some include problems.
505 2008-07-01 Cody Russell <bratsche@gnome.org>
509 Moved all relevant typedefs into these files.
512 Updated wrt added files.
514 Split types into separate file for easier maintainership. (#538564)
516 2008-06-30 Matthias Clasen <mclasen@redhat.com>
518 Bug 540331 – g_file_append_to () documentation: can return NULL
520 * gfile.c (g_file_append_to): Clarify docs.
523 2008-06-30 Matthias Clasen <mclasen@redhat.com>
525 Bug 539090 – g_content_type_from_mime_type() should unalias
527 * gcontentype.c (g_content_type_from_mime_type): Unalias.
528 Patch by Markus Bergman
530 2008-06-30 Matthias Clasen <mclasen@redhat.com>
532 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
535 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
536 on ppc and alpha. Reported by Mart Raudsepp
538 2008-06-29 Matthias Clasen <mclasen@redhat.com>
541 * tests/memory-output-stream.c: Add some tests for
544 2008-06-29 Matthias Clasen <mclasen@redhat.com>
546 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
549 * gmemoryoutputstream.c (array_resize): Handle truncation to
550 zero correctly. Reported by Akira Tagoh
552 2008-06-29 Matthias Clasen <mclasen@redhat.com>
554 * gmemoryoutputstream.c: Trivial doc fixes
556 2008-06-29 Matthias Clasen <mclasen@redhat.com>
558 Bug 540802 – g_list_prepend doesn't concat lists
560 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
561 one list to another. Pointed out by Jan Arne Petersen
563 2008-06-28 Michael Natterer <mitch@imendio.com>
565 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
567 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
569 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
570 to avoid problems with partial icon themes.
572 2008-06-17 Hans Breuer <hans@breuer.org>
574 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
575 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
576 access again on win32, see bug #538127
577 * giomodule.c : ensure GWin32VolumeMonitor is registered
578 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
579 * Makefile.am makefile.msc : updated
581 2008-06-16 Hans Breuer <hans@breuer.org>
583 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
584 and initialization in one step avoids c99ism
586 2008-06-16 Christian Persch <chpe@gnome.org>
589 * gio/gbufferedinputstream.c
591 * gio/gdatainputstream.c
592 * gio/gdesktopappinfo.c
594 * gio/gfileenumerator.c
595 * gio/gfileinputstream.c
596 * gio/gfileoutputstream.c
598 * gio/glocaldirectorymonitor.c
600 * gio/glocalfileenumerator.c
601 * gio/glocalfileinfo.c
602 * gio/glocalfilemonitor.c
603 * gio/glocalfileoutputstream.c
604 * gio/gmemoryinputstream.c
605 * gio/gmemoryoutputstream.c
606 * gio/goutputstream.c
607 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
610 2008-06-16 Tor Lillqvist <tml@novell.com>
612 Bug 538362 - Get Win32 icons back in the file chooser
614 * gcontenttype.c (g_content_type_get_icon): Look up the icon
615 corresponding to a file extension in the Registry. Patch by Hans
617 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
619 2008-06-16 Tor Lillqvist <tml@novell.com>
621 Patches by Hans Breuer:
623 * glocalfile.c (is_xp_or_later): Handle compiling against older
624 SDK headers with missing VerifyVersionInfo(). Conditioned on
625 _MSC_VER, but should probably use some better test.
626 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
627 uninitialised statfs_result variable on Win32.
629 2008-06-16 Michael Natterer <mitch@imendio.com>
631 * *.c: chain up unconditionally in finalize() and dispose(). Also
632 don't dereference these function pointers when calling them since
633 that has no meaning at all.
635 2008-06-16 Ross Burton <ross@burtonini.com>
638 Remove check for dispose implementation as it annoys Emmanuele.
640 2008-06-16 Ross Burton <ross@burtonini.com>
642 Bug 536252 – GFileEnumerator should allow access to the containing
648 Add g_file_enumerator_get_container() and a container writeable
649 construct-only property. Also shuffle around typedefs to make it
652 * glocalfileenumerator.c:
653 * glocalfileenumerator.h:
655 Instead of a string filename take a GFile in the constructor and
656 use it to set the container property.
661 2008-06-16 Matthias Clasen <mclasen@redhat.com>
663 * gfile.c: Make includes more uniform
665 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
667 * tests/live-g-file.c (sample_struct):
668 Use less fancy unicode filenames, so the test doesn't fail
669 on Mac OS X (#531476).
671 2008-06-12 Matthias Clasen <mclasen@redhat.com>
673 * === Released 2.17.2 ===
675 2008-06-12 Matthias Clasen <mclasen@redhat.com>
677 * === Released 2.17.1 ===
679 2008-06-11 A. Walton <awalton@gnome.org>
681 * tests/g-file.c (test_g_file_new_null):
682 Fix broken test case.
684 2008-06-11 Matthias Clasen <mclasen@redhat.com>
686 * pltcheck.sh: We use g_clear_error now.
688 2008-06-11 Matthias Clasen <mclasen@redhat.com>
690 * glocalfile.c (g_local_file_enumerate_children): Revert
691 an unintended change.
693 2008-06-11 Matthias Clasen <mclasen@redhat.com>
695 * gfile.c (g_file_replace_contents): Don't unref before the last use.
697 2008-06-10 Matthias Clasen <mclasen@redhat.com>
699 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
702 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
703 as icon for the desktop directory, also make user-home and
704 user-desktop the preferred icons.
706 2008-06-10 Matthias Clasen <mclasen@redhat.com>
709 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
710 to add a name to the front of the list.
712 2008-06-10 Matthias Clasen <mclasen@redhat.com>
714 Bug 537392 – Additional colon in xattr name
716 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
717 too. Reported by Alessandro Morandi
719 2008-06-10 Matthias Clasen <mclasen@redhat.com>
721 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
724 * glocalfile.c (get_fs_type): Add afs and autofs.
725 Patch by Danny Baumann.
727 2008-06-10 Matthias Clasen <mclasen@redhat.com>
729 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
731 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
732 is no parent. (Owen Taylor, patch by Christian Neumair)
734 2008-06-10 Paolo Borelli <pborelli@katamail.com>
736 * gfile.c (g_file_replace_contents): do not leak the output stream.
738 2008-06-10 Michael Natterer <mitch@imendio.com>
740 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
741 uninitialized memory as array index.
743 2008-06-10 Tor Lillqvist <tml@novell.com>
745 * gcontenttype.c (g_content_type_can_be_executable)
746 (g_content_type_get_icon) [Win32]: Add TODO comments.
748 2008-06-09 Matthias Clasen <mclasen@redhat.com>
750 * xdgmime/Makefile.am: Fix the build
752 2008-06-09 Matthias Clasen <mclasen@redhat.com>
754 * gcontenttype.c (g_content_type_get_icon): Use icons specified
755 in the shared mime database, if available.
757 * xdgmime/*: Sync with upstream. This brings support for
758 glob weights, generic icons, and changes the cache format to
761 2008-05-28 Michael Natterer <mitch@imendio.com>
763 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
764 the global CPPFLAGS now.
766 * tests/data-input-stream.c
767 * tests/data-output-stream.c
768 * tests/g-file-info.c
770 * tests/live-g-file.c
771 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
773 2008-05-27 Matthias Clasen <mclasen@redhat.com>
775 * === Released 2.17.0 ===
777 * tests/live-g-file.c: Clean up after the tests, so make distcheck
778 doesn't complain about leftover files.
780 2008-05-27 simon.zheng <simon.zheng@sun.com>
782 * glocalfile.c: (g_local_file_query_filesystem_info):
783 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
785 2008-05-26 Michael Natterer <mitch@imendio.com>
787 * gmemoryoutputstream.h: declare
788 g_memory_output_stream_get_data_size().
790 2008-05-26 Matthias Clasen <mclasen@redhat.com>
792 * tests/*: Make tests work
794 2008-05-26 Matthias Clasen <mclasen@redhat.com>
796 * gio.symbols: Add g_memory_output_stream_get_data_size.
798 2008-05-25 Ross Burton <ross@burtonini.com>
801 Fix typo in error message (#534764).
803 2008-05-25 Ross Burton <ross@burtonini.com>
806 Fix circular dependency loop for gioenumtypes.h (#534759).
808 2008-05-19 Hans Breuer <hans@breuer.org>
810 * Makefile.am : EXTRA_DIST += makefile.msc
812 2008-05-17 Matthias Clasen <mclasen@redhat.com>
815 * gcontenttype.c: (g_content_type_from_mime_type):
816 New function to create a content type from a mime type. (#527175,
819 2008-05-17 Matthias Clasen <mclasen@redhat.com>
821 Bug 532965 – Should not return filesystem::free for certain file systems
823 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
824 free space for ncpfs.
826 2008-05-17 Matthias Clasen <mclasen@redhat.com>
828 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
830 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
831 st_dev might be zero.
833 2008-05-16 Tor Lillqvist <tml@novell.com>
835 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
836 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
838 2008-05-13 Bastien Nocera <hadess@hadess.net>
840 * gfile.c (has_valid_scheme): A URI scheme must start with a
841 letter, even if later more characters are allowed (#532852)
843 2008-05-05 Michael Natterer <mitch@imendio.com>
845 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
846 code from being checked in that breaks the build of applications
847 which use G_DISABLE_SINGLE_INCLUDES.
849 * makegioalias.pl: make the alias file include "glib.h" instead of
852 * gio.symbols: whitespace change to force regeneration of the
853 alias file after above script change.
855 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
857 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
859 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
861 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
863 2008-04-28 David Zeuthen <davidz@redhat.com>
865 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
866 displaying mounts in a subdirectory not accessible to the
869 2008-04-22 Michael Natterer <mitch@imendio.com>
871 * Makefile.am: fix library versioning (it was 0.0.0).
873 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
875 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
876 Default disable all loggings.
877 * fen/fen-kernel.c: (printevent), (port_add_kevent),
878 (port_fetch_event_cb): Fixed two macro nits.
880 2008-04-16 Matthias Clasen <mclasen@redhat.com>
882 * xdgmime/xdgmime.c: Rework the timestamp checking code
883 to protect against duplicate directories in XDG_DATA_DIRS.
884 Fixes fd.o bug 12513, reported by Joe Shaw.
886 2008-04-16 Matthias Clasen <mclasen@redhat.com>
888 Partically revert the last commit after realizing that
889 xdg_mime_media_type_equal doesn't have to init at all.
892 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
894 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
896 2008-04-16 Matthias Clasen <mclasen@redhat.com>
898 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
899 reported by Joe Shaw and Federico Mena Quintero.
901 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
902 (xdg_mime_media_type_equal): Turn into a wrapper around the
905 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
906 functions throughout.
908 2008-04-16 Michael Meeks <michael.meeks@novell.com>
910 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
911 tolerate an empty TryExec= line without failing; nautilus used
912 to create launchers with these in previous versions. Fixes #528433
914 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
916 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
917 after name. Fixes #527132.
919 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
921 * gfile.c: (g_file_replace):
924 2008-04-07 Matthias Clasen <mclasen@redhat.com>
926 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
928 * gfile.c (file_copy_fallback): Fix the argument order. Patch
929 by Christian Kellner.
931 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
933 * gunixmounts.c: (g_unix_mount_guess_should_display):
934 Don't list the user directory as a mount, fix potential issue
935 when other users have a similar naming and don't special case the
936 gvfs mounts there since that's not required (#525866)
938 2008-03-31 Alexander Larsson <alexl@redhat.com>
940 * glocalfile.c (get_parent):
943 2008-03-31 A. Walton <awalton@svn.gnome.org>
945 * gfile.c (g_file_query_file_type):
946 Always return a GFileType enum value (#520715).
948 2008-03-31 Alexander Larsson <alexl@redhat.com>
950 * glocalfileenumerator.c:
951 Read readdir() info in chunks (of 1000) and sort
952 the chunks by inode before stat:ing.
953 This is a 20% performance increase in testing
954 gvfs-ls on /usr/bin with cold cache.
956 2008-03-31 Alexander Larsson <alexl@redhat.com>
958 * gmemoryoutputstream.c:
959 Clarify docs for g_memory_output_stream_get_size.
960 Add g_memory_output_stream_get_data_size.
962 2008-03-30 Matthias Clasen <mclasen@redhat.com>
966 * gfile.h: Add g_file_query_file_type convenience function
967 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
969 2008-03-30 Matthias Clasen <mclasen@redhat.com>
972 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
974 2008-03-28 A. Walton <awalton@svn.gnome.org>
976 * giomodule.c (_g_io_modules_ensure_loaded):
977 Adds GIO_EXTRA_MODULES environment variable support, closing bug
980 2008-03-28 Alexander Larsson <alexl@redhat.com>
983 (copy_stream_with_progress):
986 2008-03-28 Alexander Larsson <alexl@redhat.com>
989 (copy_stream_with_progress):
990 (file_copy_fallback):
991 Fallback to g_file_query_info for source size
992 if g_file_input_stream_query_info fails. (#524579)
994 2008-03-28 Alexander Larsson <alexl@redhat.com>
996 * glocalfile.c (g_local_file_move):
997 Reuse old string instead of adding new one.
999 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1001 * fen/*.[hc]: still copyright issue. I hate copyright.
1003 2008-03-27 Alexander Larsson <alexl@redhat.com>
1005 * glocalfile.c (g_local_file_move):
1006 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1007 file over directory. This is according to the docs and what the move via
1008 copy+remove fallback does.
1010 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1012 * fen/*.[hc]: Updated copyright.
1014 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1016 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1018 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1020 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1021 not emit attribute changed events when optimizing changed events.
1022 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1025 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1027 * gmountoperation.[hc]: Small documentation additions
1029 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1031 * gunixmounts.c: (guess_mount_type):
1032 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1034 2008-03-19 Alexander Larsson <alexl@redhat.com>
1037 (copy_stream_with_progress):
1038 Bump block side for copy to 64k to minimize
1039 overhead for low latency links. (#523015)
1041 2008-03-16 Tor Lillqvist <tml@novell.com>
1043 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1044 depend on gio.def on Windows.
1046 2008-03-12 David Zeuthen <davidz@redhat.com>
1050 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1052 2008-03-14 Alexander Larsson <alexl@redhat.com>
1056 Avoid redudant tests (#521851)
1057 Patch from Josselin Mouette
1059 2008-03-14 Alexander Larsson <alexl@redhat.com>
1062 (g_file_monitor_is_cancelled):
1063 Fix C89 issue (#521672)
1064 Patch from Jens Granseuer
1066 2008-03-14 Alexander Larsson <alexl@redhat.com>
1068 * fam/fam-helper.[ch]:
1070 Shut down fam (including removing fam GSource) when
1071 module is unloaded (#521513)
1072 Patch from Joe Marcus Clarke
1074 2008-03-14 Alexander Larsson <alexl@redhat.com>
1077 (_g_io_modules_ensure_loaded):
1080 2008-03-14 Alexander Larsson <alexl@redhat.com>
1083 (g_local_file_query_filesystem_info):
1084 Use right define name for f_fstypename member check
1086 2008-03-14 Alexander Larsson <alexl@redhat.com>
1089 * fen/Makefile.am: Added.
1090 * fen/fen-data.[ch]: Added.
1091 * fen/fen-dump.[ch]: Added.
1092 * fen/fen-helper.[ch]: Added.
1093 * fen/fen-kernel.[ch]: Added.
1094 * fen/fen-missing.[ch]: Added.
1095 * fen/fen-node.[ch]: Added.
1096 * fen/fen-sub.[ch]: Added.
1097 * fen/gfendirectorymonitor.[ch]: Added.
1098 * fen/gfenfilemonitor.[ch]: Added.
1100 Added Solaris FEN file notification backend.
1101 Patch from Lin Ma <Lin.Ma@Sun.COM>
1103 2008-03-13 Tor Lillqvist <tml@novell.com>
1105 * Makefile.am: Actually use the gio.def file when linking the
1106 library on Windows. Produce .lib library for Microsoft's toolchain
1107 when possible. Install the .lib and .def file like for the other
1110 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1112 * tests/live-g-file.c:
1113 Include live-g-file in standard set of tests, making a temporary
1114 directory in source structure.
1116 Clean target directory before the tests (write mode only)
1118 2008-03-12 Tor Lillqvist <tml@novell.com>
1120 Bug 517419 - gio win32 directory monitor
1121 Implementation by Vlad Grecescu.
1124 * win32/gwin32directorymonitor.h
1125 * win32/gwin32directorymonitor.c: New files.
1127 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1129 * Makefile.am: Add the win32 subdirectory.
1131 2008-03-12 Tor Lillqvist <tml@novell.com>
1133 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1134 normal struct stat on Unix but struct _stati64 on Windows to have
1135 access to 64-bit file size information. Use that instead of struct
1136 stat in the functions declared here in this private header.
1138 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1139 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1140 warnings about unused functions and variables. Don't set
1141 meaningless attributes like inode numbers on Windows.
1143 2008-03-12 Benjamin Otte <otte@gnome.org>
1146 trim whitespace so gtk-doc groks the function name
1148 2008-03-12 Tor Lillqvist <tml@novell.com>
1150 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1151 returning FALSE, on Win32.
1153 2008-03-11 Alexander Larsson <alexl@redhat.com>
1156 * glocalfileinfo.[ch]:
1157 Correctly implement can_trash by actually
1158 looking for a trash dir, not just assuming
1161 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1163 * === Released 2.16.1 ===
1165 2008-03-11 Alexander Larsson <alexl@redhat.com>
1168 Fix crashes in new constructor and properties code
1170 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1172 * gfile.c: Minor spelling correction in documentation:
1173 existance -> existence.
1175 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1177 * === Released 2.16.0 ===
1179 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1181 * gio.symbols: Remove g_file_contains_file here, too.
1183 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1185 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1186 Samuel Cormier-Iijima)
1188 2008-03-08 Tor Lillqvist <tml@novell.com>
1190 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1193 2008-03-07 Alexander Larsson <alexl@redhat.com>
1196 (g_local_file_query_filesystem_info):
1197 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1198 Patch from Jasper Lievisse Adriaanse
1200 2008-03-06 Tor Lillqvist <tml@novell.com>
1202 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1203 comments for the *_USEC attributes.
1205 2008-03-06 Alexander Larsson <alexl@redhat.com>
1207 * gfile.c (g_file_query_exists):
1208 Add g_return_val_if_fail check (#520700)
1210 2008-03-06 Alexander Larsson <alexl@redhat.com>
1212 * gdesktopappinfo.c:
1215 * gunionvolumemonitor.c:
1218 * tests/live-g-file.c:
1219 * xdgmime/xdgmimecache.c:
1220 Fix sparse warnings (#519489)
1222 2008-03-05 Alexander Larsson <alexl@redhat.com>
1225 Make cancellation threadsafe (i.e.
1226 guarantee its only done once, and always
1229 * glocaldirectorymonitor.c:
1230 Make sure we the monitor lives while the
1231 mounts_changed callback is being called (#520484)
1233 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1235 * gbufferedinputstream.c: Fix typo in parameter
1238 2008-03-04 Alexander Larsson <alexl@redhat.com>
1241 Remove deprecated symbols we kept for one release.
1243 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1246 * goutputstream.c: Tiny documentation corrections.
1248 2008-03-03 Alexander Larsson <alexl@redhat.com>
1250 * gunionvolumemonitor.c:
1252 Fix the adopt_orphan_mount vfunc to take a
1253 volume_monitor reference in an ABI compat way.
1254 This change is not API compat, but the added
1255 arg is not used in the only user of this vfunc, so
1256 all we get is a harmless warning in gvfs (#520169)
1258 2008-03-01 Benjamin Otte <otte@gnome.org>
1261 clarify docs for g_file_delete().
1263 2008-02-29 Alexander Larsson <alexl@redhat.com>
1267 Make sure empty files get text/plain type (#518720)
1269 2008-02-27 Alexander Larsson <alexl@redhat.com>
1275 (g_unix_volume_mount):
1276 Add missing GMountMountFlags argument
1278 2008-02-26 Alexander Larsson <alexl@redhat.com>
1281 (g_local_file_delete):
1282 Handle filesystems (like ntfs-3g) that return EEXIST instead
1283 of ENOTEMPTY (#518816)
1285 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1287 * === Released 2.15.6 ===
1289 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1291 * gfile.c (g_file_find_enclosing_mount):
1292 * ginputstream.c (g_input_stream_set_pending):
1293 * glocalfile.c (g_local_file_find_enclosing_mount):
1294 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1295 * goutputstream.c (g_output_stream_set_pending):
1297 Fixup translator comments (#518578).
1299 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1301 * gfile.c (g_file_find_enclosing_mount):
1303 * glocalfile.c (g_local_file_find_enclosing_mount):
1306 Fix a few typos in translator comments and documentation.
1308 2008-02-25 Alexander Larsson <alexl@redhat.com>
1315 Add translator comments (#518578)
1317 2008-02-25 Alexander Larsson <alexl@redhat.com>
1320 Reintroduce g_file_contains_file, keep around for one
1321 unstable release cycle to avoid crashing to many apps.
1322 Make sure to delete after release.
1324 2008-02-25 Alexander Larsson <alexl@redhat.com>
1327 Remove deprecated g_file_contains_file.
1329 2008-02-25 Alexander Larsson <alexl@redhat.com>
1332 Emit actual change signals in an idle handler.
1333 This avoids reentrance and locking problems in
1334 the file notification backends.
1336 2008-02-25 Alexander Larsson <alexl@redhat.com>
1339 (g_unix_mount_guess_should_display):
1340 Remove type guessing, instead just display
1341 mounts in /media and in ~/.
1343 2008-02-25 Alexander Larsson <alexl@redhat.com>
1346 Make new strings reuse old ones.
1348 2008-02-25 Alexander Larsson <alexl@redhat.com>
1351 Implement trashing and filesystem::readonly for win32 (#517235)
1352 Patch from Yevgen Muntyan
1354 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1356 * gfileinfo.h: Documentation fixes.
1358 2008-02-22 Alexander Larsson <alexl@redhat.com>
1360 * gcontenttype.c (g_content_type_get_icon):
1361 Look at old-style gnome mime icon names too, as many
1362 have not moved to the new style.
1364 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1366 * *.c: Correct the @include in for section docs.
1368 2008-02-21 David Zeuthen <davidz@redhat.com>
1370 * glocalfileinfo.c: (_g_local_file_info_get):
1372 (g_content_type_get_icon): Implement this function by
1373 moving bits from glocalfileinfo.c
1374 (g_content_type_get_description): Unalias before getting
1375 description (#517687)
1377 * gfile.c: (g_file_class_init),
1378 (g_file_query_filesystem_info_async),
1379 (g_file_query_filesystem_info_finish),
1380 (query_filesystem_info_data_free),
1381 (query_filesystem_info_async_thread),
1382 (g_file_real_query_filesystem_info_async),
1383 (g_file_real_query_filesystem_info_finish):
1384 * gfile.h: Implement async version of
1385 g_file_query_filesystem_info()
1387 * gfileinfo.h: Add new attributes for filesystem::use-preview
1389 * gio.symbols: Update
1391 * gthemedicon.c: (g_themed_icon_append_name):
1392 * gthemedicon.h: Add new new convenience function.
1394 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1395 (get_mounts), (get_volumes), (get_connected_drives),
1396 (get_volume_for_uuid), (get_mount_for_uuid),
1397 (g_union_volume_monitor_init), (populate_union_monitor),
1398 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1399 (g_volume_monitor_adopt_orphan_mount):
1401 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1402 monitor implementations to call into the main volume monitor. Also
1403 separate object initialization and volume monitor initialization
1404 such that non-native volume monitors can properly adopt their
1407 2008-02-21 Alexander Larsson <alexl@redhat.com>
1412 2008-02-21 Alexander Larsson <alexl@redhat.com>
1415 Add more documentation about how GFiles work (from #517086)
1417 2008-02-21 Alexander Larsson <alexl@redhat.com>
1421 Add new g_file_has_prefix that does the same as g_file_contains_file.
1422 Deprecate g_file_contains_file and add a macro that converts
1423 it to g_file_has_prefix.
1424 The reason for this change is that the contains_file() name seems to
1425 imply that this does more work than what it does, but its really only
1426 a name match (from #517086)
1431 Update to match the above change.
1433 2008-02-20 Benjamin Otte <otte@gnome.org>
1435 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1436 (g_file_eject_mountable):
1437 even more cases of not returning in error path
1439 2008-02-20 Benjamin Otte <otte@gnome.org>
1441 * gfile.c: (g_file_mount_mountable):
1442 return from function in error path.
1444 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1447 Remove trailing coma in GMountMountFlags struct
1449 2008-02-18 Alexander Larsson <alexl@redhat.com>
1453 * glocalfileoutputstream.c:
1454 Use g_unlink/g_rename instead of unlink/rename;
1455 do not pass raw filenames to g_set_error. (#517239)
1456 Patch from Yevgen Muntyan.
1458 2008-02-18 Alexander Larsson <alexl@redhat.com>
1461 * glocalfileoutputstream.c:
1462 Open files with O_BINARY on windows. (#517140)
1464 2008-02-14 Alexander Larsson <alexl@redhat.com>
1466 * glocalfileoutputstream.c:
1467 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1469 2008-02-14 Alexander Larsson <alexl@redhat.com>
1472 Copy permissions with file on copy (#514084)
1473 This is what cp does and makes sure e.g. the
1474 exec permissions are kept.
1475 Its kinda weird in that it keeps the permission bits
1476 the same while the uid and gid are different. However
1477 the new uid is the user so its not a security issue,
1478 and I've heard no complaints about cp on this issue.
1480 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1482 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1484 2008-02-13 Alexander Larsson <alexl@redhat.com>
1486 * inotify/inotify-path.c:
1487 Define IN_ONLYDIR if not in header (#515346)
1489 2008-02-12 Alexander Larsson <alexl@redhat.com>
1491 * tests/live-g-file.c:
1494 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1496 * === Released 2.15.5 ===
1498 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1500 * gio.symbols: Add g_mount_mount_flags_get_type.
1502 2008-02-11 Alexander Larsson <alexl@redhat.com>
1505 (g_file_info_set_attribute_mask):
1506 (g_file_attribute_matcher_matches_id):
1507 Correctly handle NULL GAttributeMatcher meaning
1508 matches nothing. (Fixes #513492)
1510 2008-02-11 Alexander Larsson <alexl@redhat.com>
1515 Added GMountMountFlags enum and added a flags
1516 argument to all mount calls.
1518 This is an API/ABI change for future extensibility,
1519 as I think we will need at least an
1520 inhibit-autorun flag (the panel needs this).
1521 There are no flags defined yet though.
1523 2008-02-11 Alexander Larsson <alexl@redhat.com>
1526 Added new standard::description attribute.
1527 Requested by Vincent, and useful for both
1530 2008-02-11 Alexander Larsson <alexl@redhat.com>
1532 * gdesktopappinfo.c:
1535 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1537 * *.c: Documentation additions
1539 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1541 * gappinfo.h: Formatting cleanup
1542 * gappinfo.c: Fix up docs.
1544 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1546 * gunixmounts.c: Consistently use getmntent_r() and fall
1547 back to getmntent(). (#515492)
1549 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1551 * gbufferedinputstream.c:
1553 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1555 * tests/data-input-stream.c:
1556 * tests/data-output-stream.c: Portability fixes.
1558 2008-02-08 Alexander Larsson <alexl@redhat.com>
1563 Add g_volume_should_automount.
1566 2008-02-07 Tor Lillqvist <tml@novell.com>
1568 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1569 Win32, too Unix-specific.
1571 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1573 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1574 a local plt if the compiler doesn't support what we want. Bug #514702
1576 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1578 reviewed by: <delete if not using a buddy>
1581 * gunixinputstream.c:
1582 * gunixoutputstream.c:
1584 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1586 * tests/Makefile.am:
1587 * tests/live-g-file.c:
1588 * tests/live-g-file.txt:
1589 New GIO testing module working over real data
1591 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1593 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1594 Fallback to rename() if link() is not available
1595 (when no support on target filesystem)
1597 2008-02-06 Michael Natterer <mitch@imendio.com>
1599 * gfileinfo.c (g_file_info_get_icon): replace
1600 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1602 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1604 * gfile.c (g_file_create):
1605 Documentation update of error codes
1607 2008-02-06 Alexander Larsson <alexl@redhat.com>
1609 * gdesktopappinfo.c:
1610 Update to use both mimeapps.list and
1611 defaults.list as discussed on xdg list.
1613 2008-02-06 Benjamin Otte <otte@gnome.org>
1616 * gfilenamecompleter.c:
1617 Fix some typos in the documentation.
1619 2008-02-06 Alexander Larsson <alexl@redhat.com>
1621 * glocalfile.c (g_local_file_trash):
1622 Don't succeed with trash if newly created
1623 trash dir has the wrong owner. (#514696)
1625 2008-02-05 Alexander Larsson <alexl@redhat.com>
1627 * glocalfile.c (g_local_file_move):
1628 Don't spew warnings when destination is not
1631 2008-02-03 Hans Breuer <hans@breuer.org>
1633 * makefile.msc : update
1635 2008-02-01 Michael Natterer <mitch@imendio.com>
1637 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1638 return value of xdg_mime_list_mime_parents() to a variable of the
1641 2008-02-01 Alexander Larsson <alexl@redhat.com>
1643 * gappinfo.c (g_app_info_launch_uris):
1644 Actually call the launch_uris method, not
1647 2008-02-01 Alexander Larsson <alexl@redhat.com>
1649 * gdesktopappinfo.c (g_desktop_app_info_equal):
1650 Ensure appinfos with no id but same pointer value
1653 2008-02-01 Alexander Larsson <alexl@redhat.com>
1655 * gappinfo.c (g_app_info_launch_default_for_uri):
1658 2008-02-01 Alexander Larsson <alexl@redhat.com>
1662 Add g_app_info_launch_default_for_uri utility
1665 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1667 * gdesktopappinfo.c:
1668 Doc fix for g_app_info_get_default_for_uri_scheme ()
1671 2008-01-30 Alexander Larsson <alexl@redhat.com>
1674 Add doc comment about uris vs GFiles to
1677 * gdesktopappinfo.c:
1678 Ensure uris passed to g_app_info_launch_uris()
1679 are not roundtriped through GFile (as that
1680 may be slightly destructive for e.g. mailto: links)
1682 2008-01-30 Alexander Larsson <alexl@redhat.com>
1684 * tests/data-input-stream.c:
1685 * tests/data-output-stream.c:
1686 C89 fixes from Jens Granseuer (#512849)
1688 2008-01-30 Alexander Larsson <alexl@redhat.com>
1691 Fix gamin/fam difference build issue. (#509419)
1693 2008-01-29 Alexander Larsson <alexl@redhat.com>
1696 * gdesktopappinfo.c:
1697 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1699 2008-01-29 Alexander Larsson <alexl@redhat.com>
1701 * gdesktopappinfo.c:
1702 * gdesktopappinfo.h:
1703 giomodule-priv.h include moved to .c file.
1705 2008-01-29 Alexander Larsson <alexl@redhat.com>
1707 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1708 Remove unused prio/name fields.
1710 2008-01-29 Alexander Larsson <alexl@redhat.com>
1712 * gcontenttype.c (looks_like_text):
1713 Don't treat whitespace as control chars.
1715 2008-01-29 Alexander Larsson <alexl@redhat.com>
1717 * gdesktopappinfo.c:
1718 Lazily create the desktop files for appinfos created
1719 by g_app_info_create_from_commandline() when needed
1720 for mime associations. This allows run-time use
1721 of GAppInfo object without creating unnecessary
1724 2008-01-29 Alexander Larsson <alexl@redhat.com>
1727 Added new symbols to gio.symbols
1729 2008-01-29 Alexander Larsson <alexl@redhat.com>
1732 Add g_file_query_default_handler utility to easily look up
1733 the GAppInfo that handles a file.
1735 * gdesktopappinfo.[ch]:
1737 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1740 Remove unused function
1742 2008-01-29 Alexander Larsson <alexl@redhat.com>
1744 * gfileenumerator.c:
1745 Mention need to free returned value in
1746 g_file_enumerator_next_files_finish docs.
1747 Fix leak if g_file_enumerator_next_files_finish()
1750 2008-01-29 Alexander Larsson <alexl@redhat.com>
1753 (_g_unix_content_type_get_parents):
1754 Use list_parents, not get_parents from xdgmime, because
1755 the later doesn't use the cache.
1757 * xdgmime/xdgmimecache.c:
1758 (_xdg_mime_cache_list_mime_parents):
1759 Don't list the same type as parent multiple times.
1761 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1763 * === Released 2.15.4 ===
1765 2008-01-28 Alexander Larsson <alexl@redhat.com>
1768 Register local vfs with prio 0.
1771 Remove old name and prio class members
1773 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1775 * tests/g-file.c: Disable some tests that are failing in
1776 the absence of a http backend.
1778 2008-01-28 Alexander Larsson <alexl@redhat.com>
1782 Add registration hooks for extension points.
1783 Register the gio extension points.
1785 * fam/gfamdirectorymonitor.c:
1786 * fam/gfamfilemonitor.c:
1787 * glocaldirectorymonitor.[ch]:
1788 * glocalfilemonitor.[ch]:
1789 * gnativevolumemonitor.h:
1790 * gunionvolumemonitor.c:
1791 * gunixvolumemonitor.c:
1794 * inotify/ginotifydirectorymonitor.c:
1795 * inotify/ginotifyfilemonitor.c:
1796 Use the extension points registration instead
1797 of g_type_children().
1799 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1802 * gvolume.[hc]: Document new API.
1804 * gfile.c (g_file_copy_async): Fix docs
1806 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1808 * gbufferedinputstream.c:
1810 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1813 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1815 * glocalfile.c: Avoid trivial differences in translatable strings.
1817 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1819 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1820 build with gcc 3.4 (#509419)
1822 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1824 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1825 (#509994, Murray Cumming)
1827 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1829 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1830 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1831 this allows big jobs to be executed in chunks, instead of blocking
1832 the main loop for a long time.
1834 * gsimpleasyncresult.c:
1835 * giofile.c: Adapt callers.
1837 2008-01-25 Alexander Larsson <alexl@redhat.com>
1839 * gdesktopappinfo.c:
1840 Implement changes discussed on xdg list.
1841 Now we can add supported mimetypes by just using defaults.list
1842 We can also remove associations in defaults.list.
1844 2008-01-25 Alexander Larsson <alexl@redhat.com>
1846 * gdesktopappinfo.c:
1847 Don't make local copy of desktop file
1848 for mimetype changes if the file already
1849 supports the new mimetype.
1851 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1855 * gbufferedinputstream.c:
1856 * glocalfile.c: String improvements. (#511966,
1857 Theppitak Karoonboonyanan)
1859 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1861 * gioscheduler.h: Expand docs a bit.
1863 2008-01-24 Alexander Larsson <alexl@redhat.com>
1866 Add g_drive_get_identifier and
1867 g_drive_enumerate_identifiers
1870 Add g_volume_get_identifier and
1871 g_volume_enumerate_identifiers
1877 Implement identifiers for unix backend
1879 2008-01-24 Alexander Larsson <alexl@redhat.com>
1884 Add g_file_copy_async() (#511580)
1885 Based on patch from Carlos Garcia Campos
1887 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1889 * gioscheduler.c: Some documentation additions.
1891 2008-01-22 Alexander Larsson <alexl@redhat.com>
1893 * gdesktopappinfo.c:
1894 (g_desktop_app_info_new):
1895 Don't leak basename.
1897 2008-01-22 Alexander Larsson <alexl@redhat.com>
1899 * gdesktopappinfo.c:
1900 (g_desktop_app_info_new_from_filename):
1903 2008-01-22 Alexander Larsson <alexl@redhat.com>
1905 * glocalfileinfo.c (get_thumbnail_attributes):
1908 2008-01-22 Alexander Larsson <alexl@redhat.com>
1911 (canonicalize_filename):
1912 Canonicalize paths that start with more than
1916 (compare_two_files):
1917 (test_g_file_new_for_path):
1920 2008-01-22 Alexander Larsson <alexl@redhat.com>
1923 Allow UTF-8 in file:// parse names.
1925 * tests/Makefile.am:
1926 * tests/data-input-stream.c:
1927 * tests/data-output-stream.c:
1928 * tests/g-file-info.c:
1930 Added a bunch of tests from Tomas Bzatek
1932 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1934 * === Released 2.15.3 ===
1936 2008-01-21 Alexander Larsson <alexl@redhat.com>
1938 * gfileinputstream.[ch]:
1939 * gfileoutputstream.[ch]:
1941 Remove duplicated GSeekable functions. (#509990)
1942 Just use the g_seekable_xxx() calls instead.
1944 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1947 * gvolumemanager.c: Whitespace cleanups.
1949 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1950 Use the right mode when creating the file.
1952 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1954 * gfileenumerator.c:
1955 * gfileinputstream.c:
1957 * goutputstream.c: Documentation: Fixed minor typos
1958 and added more mentions of specific _finish() functions.
1960 2008-01-21 Alexander Larsson <alexl@redhat.com>
1962 * inotify/Makefile.am:
1963 * inotify/inotify-helper.c:
1964 * inotify/inotify-kernel.c:
1965 * inotify/inotify-path.c:
1966 * inotify/local_inotify.h: Removed.
1967 * inotify/local_inotify_syscalls.h: Removed.
1968 Removed the included copies of the inotify
1969 headers. We now only use the <sys/inotify.h>
1970 header which exists on modern systems.
1971 This fixes problems on ARM and SH5 (#510448)
1972 but is also generally much cleaner and future
1973 safe. For instance, if other OSes add support
1974 for inotify it should "just work".
1976 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1978 * inotify/*.c: Coding style fixes.
1979 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1980 for the 1/4 Hz timer.
1982 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1985 * gfilemonitor.[hc]:
1986 * gmemoryinputstream.c:
1987 * gmemoryoutputstream.c:
1988 * gmountoperation.c:
1989 * gthemedicon.c: Documentation updates
1991 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1993 * gfile.c: documentation: Fixed more minor
1996 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1998 * gmount.c: (g_mount_remount): documentation:
1999 Mention g_mount_remount_finish() instead of
2000 g_mount_unmount_finish().
2002 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2006 * gfile.c: Fixed some minor typos in the
2009 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2011 * gio/gvolumemonitor.c:
2012 (g_volume_monitor_get_connected_drives):
2013 (g_volume_monitor_get_volumes):
2014 (g_volume_monitor_get_mounts): Documentation:
2015 Clarify the ownership of the regurn GLists.
2017 2008-01-17 Alexander Larsson <alexl@redhat.com>
2020 Add the async find_enclosing_mount version
2021 to the header file too.
2023 2008-01-17 Alexander Larsson <alexl@redhat.com>
2026 Add async version of find_enclosing_mount
2027 with default implementation.
2029 2008-01-17 Alexander Larsson <alexl@redhat.com>
2034 Allow calls to implementation of copy and write
2035 even if the type of the file implementations is
2036 different. This can be used to implement native
2037 upload and download calls in a vfs.
2040 (g_local_file_move):
2041 Protect against the case where move is called
2042 with one file not being local.
2044 Make sure we call the progress callback once
2045 in the native move operation so that the caller
2046 knows how many bytes were copied.
2048 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2051 * gdatainputstream.c:
2053 * gfileoutputstream.c:
2058 * gunixmounts.c: Corrected some typos in the documentation:
2059 occured -> occurred.
2060 its -> it's (where appropriate).
2062 2008-01-16 Alexander Larsson <alexl@redhat.com>
2066 Add g_file_query_exists (#508771)
2068 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2073 * gvolume.c: For async functions that have no non-async
2074 version, document that the GAsyncReadyCallback may be NULL.
2077 2008-01-15 Alexander Larsson <alexl@redhat.com>
2079 * gmemoryinputstream.c:
2080 * gmemoryoutputstream.c:
2081 Don't do pointer arithmetic on void * (#508602)
2082 Patch from Kazuki IWAMOTO
2084 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2086 * === Released 2.15.2 ===
2088 2008-01-14 Alexander Larsson <alexl@redhat.com>
2090 * gfile.c (g_file_monitor_file):
2091 Don't set error here, since we fallback to polling monitor.
2093 2008-01-14 Alexander Larsson <alexl@redhat.com>
2096 (g_file_monitor_directory):
2097 (g_file_monitor_file):
2098 Add GError to file monitor calls
2100 * glocaldirectorymonitor.c:
2101 * glocaldirectorymonitor.h:
2103 * glocalfilemonitor.c:
2104 * glocalfilemonitor.h:
2106 Update for above change
2108 2008-01-14 Alexander Larsson <alexl@redhat.com>
2112 Handle root correctly in g_file_get_relative_path (#508719)
2114 2008-01-14 Alexander Larsson <alexl@redhat.com>
2117 Clean up docs and example for GAsyncResult (#508074)
2119 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2121 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2122 and correct some spelling mistakes. Bug #508108.
2124 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2126 * glocalfileinfo.c: Add a comment.
2128 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2130 * gfileinfo.c: GFileInfo description: Mention
2131 how to actually set attributes in a GFile and how to discover
2132 which attributes are settable. Bug #508378.
2134 2008-01-10 A. Walton <awalton@svn.gnome.org>
2136 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2137 (g_app_info_get_default_for_type):
2138 Check for NULL content types.
2140 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2142 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2144 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2146 * gfile.c: *_async() functions: Several small corrections
2147 to the documentation, mostly correcting copy/paste errors
2148 and improving some sentences.
2150 2008-01-09 Dan Winship <danw@gnome.org>
2152 * glocalfile.c (get_unique_filename): x86_64 fix
2154 2008-01-09 Alexander Larsson <alexl@redhat.com>
2159 Add g_unix_mount_guess_should_display and use
2160 for unix volume monitor backend.
2161 This means we more or less show what the
2162 gnome-vfs backend did.
2163 Based on patch from Padraig O'Briain
2165 2008-01-09 Alexander Larsson <alexl@redhat.com>
2169 Add g_themed_icon_new_with_default_fallbacks
2172 Use default fallbacks for icons
2174 2008-01-09 Alexander Larsson <alexl@redhat.com>
2177 * gmountoperation.[ch]:
2178 Change the API a bit so that unhandled methods
2179 get reported via the reply, rather than by
2180 the signal emission return value. This is because
2181 some handlers can't know this immediately without
2182 doing I/O, and this is an async operation that
2185 2008-01-09 Alexander Larsson <alexl@redhat.com>
2188 * fam/gfamdirectorymonitor.c:
2189 * fam/gfamfilemonitor.c:
2190 Fix double free crash (#508224)
2191 Patch from Joe Marcus Clarke
2193 008-01-07 Matthias Clasen <mclasen@redhat.com>
2195 * === Released 2.15.1 ===
2197 2008-01-07 Alexander Larsson <alexl@redhat.com>
2199 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2200 Fix warning (#507835)
2202 2008-01-07 Alexander Larsson <alexl@redhat.com>
2205 Pass --internal to glib-genmarshal
2208 * gmountoperation.c:
2210 Use better types for signal arguments (#507822)
2212 2008-01-07 Alexander Larsson <alexl@redhat.com>
2215 Build test subdir after .
2216 Remove gdirectorymonitor.[ch]
2218 * gdirectorymonitor.[ch]:
2222 Remove GDirectoryMonitor and make
2223 GFileMonitor the baseclass for both file and
2224 directory monitors. Lift the more generic
2225 rate limiting code from GDirectoryMonitor
2229 * fam/gfamdirectorymonitor.[ch]:
2230 * inotify/ginotifydirectorymonitor.[ch]:
2231 * inotify/inotify-helper.c:
2232 * glocaldirectorymonitor.[ch]:
2235 Update for the removed GDirectoryMonitor.
2237 * gmemoryoutputstream.c:
2238 Remove ununsed variable
2240 2008-01-07 Alexander Larsson <alexl@redhat.com>
2242 * gmemoryinputstream.c:
2243 Translate error strings
2246 * gmemoryoutputstream.[ch]:
2247 New implementation that avoids using GByteArray
2248 in implementation and API. (#506377)
2250 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2252 * tests/*: Add a test for memory input streams.
2254 * Makefile.am: Add tests to SUBDIRS.
2256 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2258 * glocalfilemonitor.c:
2259 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2262 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2264 * gdesktopappinfo.c: Fix a docs typo.
2266 * gfileattribute.c: Add information about extended attributes
2267 to the documentation. (#505058)
2269 2008-01-04 Alexander Larsson <alexl@redhat.com>
2272 * gmountoperation.c:
2273 Use the right type (uint) for the ask_password signal.
2275 2008-01-04 Alexander Larsson <alexl@redhat.com>
2280 Add g_app_info_supports_files()
2281 Remove desktop arg from g_app_info_should_show().
2283 * gdesktopappinfo.[ch]:
2284 Implement g_app_info_supports_files() and new should_show()
2285 Add g_desktop_app_info_set_desktop_env() to set the desktop
2286 for should_show(). (This will be set by gtk+ later)
2288 2008-01-04 Alexander Larsson <alexl@redhat.com>
2291 * gmemoryinputstream.[ch]:
2292 Improve API so that you can use multiple chunks
2293 of memory and custom destroy functions. (#506374)
2295 2008-01-03 Alexander Larsson <alexl@redhat.com>
2298 Handle NULL attribute matchers safely, as we return this
2299 for empty attribute matcher strings.
2301 2008-01-03 Alexander Larsson <alexl@redhat.com>
2303 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2304 Add /usr/local to list of internal mountpoints
2306 2008-01-03 Alexander Larsson <alexl@redhat.com>
2309 Check for HAVE_LCHOWN (#505887)
2311 2008-01-03 Alexander Larsson <alexl@redhat.com>
2315 Add define for selinux context attribute.
2316 Fix missing : -> :: namespace separator change
2317 Fix missing _ -> - name change for xattr-sys.
2320 2008-01-03 Alexander Larsson <alexl@redhat.com>
2323 Link to libglib and libgobject directly (#504879)
2324 Patch from Sebastien Bacher
2326 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2328 * gfile.c: Expanded the g_file_new_for_commandline_arg
2329 description a bit, based on the code and the docs of the
2330 other g_file_new_for_* functions.
2332 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2334 * gfilemonitor.h: Fixed typo in docs.
2336 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2338 Updates to GIO documentation. (#506395, Mikael Hermansson)
2340 * gcontenttype.c: Describe memory management for return value of
2341 g_content_types_get_registered(). Missing piece from #505815.
2342 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2343 GVolume, GDrive, GMounts, which hopefully gives the user less
2344 confusions when using this API. Following explainations from
2345 Alexander Larsson on gtk-devel-list.
2347 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2349 * gfileinfo.c: Expand the long description.
2351 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2354 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2355 fix builds with --disable-visibility. (#500273, Christian Persch)
2357 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2359 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2360 in the list of returned app infos.
2362 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2364 * gappinfo.c: Fix a cross-reference
2366 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2368 * gfileinputstream.c:
2369 * gfileoutputstream.c:
2373 * gdesktopappinfo.c:
2375 * gfileinfo.c: Documentation updates.
2377 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2379 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2382 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2384 * gcontenttype.c (g_content_types_get_registered): Don't return
2385 freed memory (#505815, Mikael Hermansson)
2387 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2389 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2390 used to detect statbuf->st_blocks. (#505042)
2392 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2394 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2395 environment handling. (#504829, Cosimo Cecchi)
2397 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2399 * gappinfo.c: Doc improvements
2401 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2404 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2406 * === Released 2.15.0 ===
2408 2007-12-20 Hans Breuer <hans@breuer.org>
2410 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2411 with symbols gwin32appinfo.obj, added gmount.obj
2412 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2414 2007-12-20 Alexander Larsson <alexl@redhat.com>
2420 * gfilenamecompleter.c:
2423 * gpollfilemonitor.c:
2424 File attribute renames:
2426 fs:: -> filesystem::
2427 id::fs -> id::filesystem
2429 2007-12-20 Alexander Larsson <alexl@redhat.com>
2438 Add GMountUnmountFlags to all unmount and
2440 Add g_mount_remount() call.
2442 2007-12-20 Alexander Larsson <alexl@redhat.com>
2444 * gvfs.c (get_default_vfs):
2445 Fix unused variable warning
2447 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2449 * pltcheck.sh: Update
2451 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2453 * gunionvolumemonitor.c:
2454 * gunixmount.c: Remove C99 comments
2456 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2458 * gio.symbols: Add some missing symbols
2460 2007-12-19 Alexander Larsson <alexl@redhat.com>
2463 Make g_io_modules_load_all_in_directory not unuse
2464 loaded modules so that users of it can do stuff
2466 Init internal "module" types.
2467 Initialize static prio and name for types so that
2468 we don't have to load modules to get it.
2470 * gnativevolumemonitor.h:
2472 Move is_supported to parent class so that
2473 non-native monitors can avoid being initialized
2474 too. (For instance GDaemonVolumeMonitor if we're
2475 not using GDaemonVfs.)
2477 * glocaldirectorymonitor.[ch]:
2478 * glocalfilemonitor.[ch]:
2479 * gunionvolumemonitor.c:
2480 * gunixvolumemonitor.c:
2482 Find plugins using the static prio+name to
2483 avoid unnecessarily loading the modules.
2485 2007-12-19 Alexander Larsson <alexl@redhat.com>
2490 2007-12-19 Alexander Larsson <alexl@redhat.com>
2492 * gunionvolumemonitor.c:
2493 Store the native type as GType, not class so that
2494 we can unload it. But still avoid unnecessarily
2497 2007-12-19 David Zeuthen <davidz@redhat.com>
2499 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2500 add signals 'disconnected' and 'eject-button' on GDrive. Add
2501 signal 'removed' on GVolume and 'unmounted' on GMount.
2503 * gdrive.c: (g_drive_base_init):
2505 * gfile.c: (g_file_mount_mountable),
2506 (g_file_mount_enclosing_volume):
2509 * gmount.c: (g_mount_base_init):
2511 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2512 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2513 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2517 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2519 * *.c: Fix up includes in the section docs.
2521 2007-12-17 Alexander Larsson <alexl@redhat.com>
2523 * gnativevolumemonitor.h:
2524 * gunionvolumemonitor.c:
2525 * gunixvolumemonitor.c:
2526 Add is_supported() to GNativeVolumeMonitorClass so
2527 that we can avoid having to create an object to see
2528 if the backend is supported at runtime.
2529 Also add name member and an env var to pick a specific
2530 volume monitor backend.
2534 Add cancellable to _g_mount_get_for_mount_path()
2536 * glocaldirectorymonitor.c:
2537 * glocalfilemonitor.c:
2538 Avoid loading and unloading modules while sorting.
2540 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2543 * gunixmounts.[hc]: Namespace waste reduction, move some
2544 g_get_unix_mount functions to the g_unix_mount namespace.
2547 * gunixvolumemonitor.c:
2549 * glocaldirectorymonitor.c: Update all callers.
2551 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2553 2007-12-17 Alexander Larsson <alexl@redhat.com>
2556 Add doc comments about what GFile operations are
2557 guaranteed to not block.
2559 2007-12-17 Alexander Larsson <alexl@redhat.com>
2562 Add missing #ifdef fixing OSX build.
2563 (#503334, patch from Richard Hult)
2565 2007-12-14 David Zeuthen <davidz@redhat.com>
2569 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2570 (g_mount_eject), (g_mount_eject_finish):
2572 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2573 (get_volume_for_uuid), (get_mount_for_uuid),
2574 (g_union_volume_monitor_class_init),
2575 (get_default_native_type_with_exclude), (get_default_native_type),
2576 (get_native_type), (update_native_type),
2577 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2578 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2579 (g_unix_mount_can_eject), (eject_unmount_cb),
2580 (eject_unmount_read_error), (eject_unmount_do),
2581 (g_unix_mount_unmount), (g_unix_mount_eject),
2582 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2583 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2584 (g_unix_mount_point_guess_can_eject):
2586 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2587 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2588 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2589 (g_unix_volume_mount), (g_unix_volume_eject),
2590 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2591 * gunixvolumemonitor.c: (get_volume_for_uuid),
2592 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2594 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2595 (g_volume_eject), (g_volume_eject_finish):
2597 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2598 (g_volume_monitor_get_mount_for_uuid):
2601 Provide eject() on both GMount and GVolume and utility functions
2602 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2603 ejected. Introduce the concept of UUID's and wire it into GVolume
2604 and GMount and provide API on GVolumeMonitor to find such
2605 instances. Also handle the case where an external
2606 GNativeVolumeMonitor fails to initialize. Lock around the
2607 _g_get_mount_for_mount_path() function such that volume monitor
2608 implementations won't have to do locking themselves.
2610 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2612 * gdesktopappinfo.c:
2618 * gvolume.h: Documentation updates
2620 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2623 * gfile.h: Doc updates
2625 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2628 * gdesktopappinfo.c: Use hash table iterators.
2630 2007-12-14 Alexander Larsson <alexl@redhat.com>
2633 * gfileattribute.[ch]:
2634 * gfileattribute-priv.h:
2635 Move GFileAttributeValue to a private header, as
2639 Make set_attribute take a type + a pointer instead
2640 of a GFileAttributeValue.
2643 Fix up for above changes.
2644 Add g_file_info_get_attribute_data to get
2645 all info in one call, g_file_info_get_attribute_status
2646 to get the status and g_file_info_get_attribute_as_string.
2650 * glocalfileinfo.[ch]:
2654 Make _guess_type static.
2656 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2659 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2660 made mkenums and friends use temporary files to avoid leaving
2661 empty generated files on failure (#503470).
2663 2007-12-14 Alexander Larsson <alexl@redhat.com>
2665 * gmountoperation.h:
2668 2007-12-14 Alexander Larsson <alexl@redhat.com>
2672 * gfileattribute.[ch]:
2675 * glocalfileoutputstream.c:
2676 * gmountoperation.[ch]:
2677 * goutputstream.[ch]:
2678 Clean up all flags enums to not have _FLAGS in them
2679 Make the names of some of the enums better.
2684 2007-12-14 Michael Natterer <mitch@imendio.com>
2686 * gio.symbols: fix g_io_scheduler symbol names.
2688 2007-12-14 Alexander Larsson <alexl@redhat.com>
2694 * gbufferedinputstream.h:
2695 * gbufferedoutputstream.h:
2698 * gdatainputstream.h:
2699 * gdataoutputstream.h:
2700 * gdesktopappinfo.h:
2701 * gdirectorymonitor.h:
2705 * gfileenumerator.h:
2708 * gfileinputstream.h:
2710 * gfilenamecompleter.h:
2711 * gfileoutputstream.h:
2712 * gfilterinputstream.h:
2713 * gfilteroutputstream.h:
2721 * gmemoryinputstream.h:
2722 * gmemoryoutputstream.h:
2724 * gmountoperation.h:
2727 * gsimpleasyncresult.h:
2729 * gunixinputstream.h:
2731 * gunixoutputstream.h:
2735 * inotify/Makefile.am:
2736 Only allow including <gio/gio.h> from apps
2738 2007-12-14 Alexander Larsson <alexl@redhat.com>
2740 * gioscheduler.[ch]:
2741 * gsimpleasyncresult.c:
2742 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2743 Split out the send_to_mainloop call into two versions instead
2744 of having the block argument.
2746 2007-12-13 Alexander Larsson <alexl@redhat.com>
2748 * gcancellable.[ch]:
2750 * gbufferedinputstream.c:
2751 * gfileenumerator.c:
2752 * gfileinputstream.c:
2753 * gfileoutputstream.c:
2757 g_push/pop_current_cancellable ->
2758 g_cancellable_push/pop_current
2760 2007-12-13 Alexander Larsson <alexl@redhat.com>
2764 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2766 2007-12-13 Alexander Larsson <alexl@redhat.com>
2768 * gmountoperation.h:
2769 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2771 2007-12-12 Alexander Larsson <alexl@redhat.com>
2774 Fix race condition when freeing proxy in
2775 g_io_job_send_to_mainloop().
2777 2007-12-12 Alexander Larsson <alexl@redhat.com>
2783 Make attribute namespace separator "::" instead of ":".
2784 Use - instead of _ as separator in attribute names.
2786 2007-12-12 Alexander Larsson <alexl@redhat.com>
2788 * gbufferedinputstream.h:
2789 * gbufferedoutputstream.h:
2790 * gdatainputstream.h:
2791 * gdataoutputstream.h:
2792 * gdirectorymonitor.h:
2793 * gfileenumerator.h:
2794 * gfileinputstream.h:
2796 * gfileoutputstream.h:
2797 * gfilterinputstream.h:
2798 * gfilteroutputstream.h:
2800 * glocalfileinputstream.h:
2801 * glocalfileoutputstream.h:
2802 * gmemoryinputstream.h:
2803 * gmemoryoutputstream.h:
2804 * gnativevolumemonitor.h:
2806 * gunixinputstream.h:
2807 * gunixoutputstream.h:
2810 s/parent/parent_instance/ in GObjects
2812 2007-12-12 Alexander Larsson <alexl@redhat.com>
2817 No need for padding for interfaces
2819 2007-12-12 Alexander Larsson <alexl@redhat.com>
2823 * gbufferedinputstream.c:
2824 * gbufferedoutputstream.c:
2827 * gdatainputstream.[ch]:
2828 * gdesktopappinfo.c:
2829 * gdirectorymonitor.c:
2831 * gfileattribute.[ch]:
2834 * gfileinputstream.h:
2835 * gfilemonitor.[ch]:
2836 * gfileoutputstream.[ch]:
2837 * gfilterinputstream.h:
2838 * gfilteroutputstream.h:
2841 * gloadableicon.[ch]:
2842 * gmemoryinputstream.c:
2843 * gmountoperation.c:
2845 Fix up a bunch of details in the docs.
2850 2007-12-11 David Zeuthen <davidz@redhat.com>
2852 Rework how volumes, drives and volume monitoring is
2853 done. Previosly the model was
2855 GDrive <1-1> GVolume
2857 where a GDrive instance represented a mount point and a GVolume
2858 instance represented a mounted file system. This patch changes it
2861 GDrive <1-N> GVolume <1-1> GMount
2863 where GMount now serves the purpose of the old GVolume and the new
2864 GVolume serves the purpose of the old GDrive. In addition the new
2865 GDrive interface is used to represent a collection of GVolume
2866 instances (typically partitions) and also contains utility to query
2867 the state of the physical drive the GDrive object represents (such
2868 as checking for media, polling the drive, ejecting the media etc.).
2870 Also implement mounting and unmounting in the Unix volume monitor
2871 backend. A subquent patch will introduce GDrive support for ejection
2875 * gdrive.c: (g_drive_is_media_check_automatic),
2876 (g_drive_is_media_removable), (g_drive_has_media),
2877 (g_drive_can_poll_for_media), (g_drive_eject),
2878 (g_drive_eject_finish), (g_drive_poll_for_media),
2879 (g_drive_poll_for_media_finish):
2881 * gfile.c: (g_file_find_enclosing_mount):
2884 * glocaldirectorymonitor.c:
2885 (g_local_directory_monitor_constructor), (mounts_changed):
2886 * glocalfile.c: (get_mount_info),
2887 (g_local_file_find_enclosing_mount),
2888 (g_local_file_file_iface_init):
2889 * gnativevolumemonitor.h:
2890 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2891 (get_connected_drives), (g_union_volume_monitor_class_init),
2892 (child_volume_added), (child_volume_removed),
2893 (child_volume_changed), (child_mount_added), (child_mount_removed),
2894 (child_mount_pre_unmount), (child_mount_changed),
2895 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2896 (g_union_volume_monitor_remove_monitor),
2897 (_g_mount_get_for_mount_path):
2898 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2899 (guess_system_internal), (_g_get_unix_mounts),
2900 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2901 (g_unix_mount_free), (g_unix_mount_compare),
2902 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2903 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2904 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2905 (type_to_icon), (g_unix_mount_guess_name),
2906 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2907 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2908 (_resolve_symlink), (_resolve_dev_root):
2910 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2911 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2912 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2913 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2914 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2915 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2916 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2917 (g_unix_volume_volume_iface_init):
2919 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2920 (get_mounts), (get_volumes), (get_connected_drives),
2921 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2922 (mountpoints_changed), (mounts_changed),
2923 (g_unix_volume_monitor_init),
2924 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2925 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2926 * gunixvolumemonitor.h:
2927 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2928 (g_volume_mount), (g_volume_mount_finish):
2930 * gvolumemonitor.c: (g_volume_monitor_class_init),
2931 (g_volume_monitor_get_connected_drives),
2932 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2935 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2937 * gmountoperation.h (GPasswordFlags): Close the gap
2939 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2941 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2943 * gdesktopappinfo.[hc]: Remove _-prefixes
2945 2007-12-10 Tor Lillqvist <tml@novell.com>
2947 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2950 2007-12-10 Alexander Larsson <alexl@redhat.com>
2952 * gfile.c (g_file_set_display_name):
2953 Don't hardcode '/' (#502727)
2955 2007-12-09 Hans Breuer <hans@breuer.org>
2957 * makefile.msc : follow lib naming convention
2958 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2959 for user and group name, tested with ../tests/gio-ls
2961 2007-12-09 A. Walton <awalton@svn.gnome.org>
2963 * gdesktopappinfo.c:
2969 * gfileenumerator.c:
2974 * gmemoryinputstream.c:
2975 * gmemoryoutputstream.c:
2977 * gsimpleasyncresult.c:
2978 More documentation cleanup and filling in missing information, bringing
2979 GIO to 99% symbol coverage.
2981 2007-12-08 Hans Breuer <hans@breuer.org>
2983 [gio compiles and links on win32, not sure how much already works]
2984 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2985 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2986 base on win32 API; prefer g_lstat() over lstat(); instead of
2987 localtime_r() use an all GLib implementation on win32;
2988 get_mount_info() still needs a win32 specifc implementation
2989 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2990 win32_get_file_user_info to get owner/group info without uid/gid
2991 * glocalfileinputstream.c : include <io.h> on win32
2992 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2993 definition, use g_win32_ftruncate() for G_OS_WIN32
2994 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2995 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2996 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2997 * makefile.msc : updated
2999 2007-12-07 Alexander Larsson <alexl@redhat.com>
3001 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3002 Avoid warning spew if error == NULL
3004 2007-12-07 Alexander Larsson <alexl@redhat.com>
3007 Update docs wrt etags
3009 2007-12-06 Alexander Larsson <alexl@redhat.com>
3012 Include sys/types.h for dev_t (#501919)
3014 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3018 Make abicheck and pltcheck pass.
3020 2007-12-05 Alexander Larsson <alexl@redhat.com>
3023 * giomodule-priv.h: Added.
3024 * glocaldirectorymonitor.c:
3025 * glocalfilemonitor.c:
3026 * gunionvolumemonitor.c:
3028 Actually add the declaration of _g_io_modules_ensure_loaded
3030 2007-12-05 Alexander Larsson <alexl@redhat.com>
3032 * gdatainputstream.c:
3037 * glocaldirectorymonitor.c:
3038 * glocalfilemonitor.c:
3039 * gunionvolumemonitor.c:
3041 Make g_io_modules_ensure_loaded a private function and
3042 don't pass in the dirname. This means we can do magic
3043 directory finding in the win32 version.
3044 Export the actual load-modules-in-directory code so that
3045 gvfs can reuse that.
3047 2007-12-05 Alexander Larsson <alexl@redhat.com>
3049 * gbufferedinputstream.c:
3050 * gbufferedoutputstream.c:
3053 * gfileenumerator.[ch]:
3054 * gfileinputstream.c:
3055 * gfileoutputstream.[ch]:
3056 * gfilterinputstream.c:
3057 * gfilteroutputstream.c:
3058 * ginputstream.[ch]:
3060 * glocalfileenumerator.c:
3061 * glocalfileinputstream.c:
3062 * glocalfileoutputstream.c:
3063 * gmemoryinputstream.c:
3064 * gmemoryoutputstream.c:
3065 * goutputstream.[ch]:
3068 * gunixinputstream.c:
3069 * gunixoutputstream.c:
3070 Rename all struct members named:
3071 read, write, close, truncate, or mount
3072 to foo_fn, as these are reserved names
3073 and could be defined as macros in libc.
3076 2007-12-04 Alexander Larsson <alexl@redhat.com>
3079 (g_output_stream_close):
3080 Only call flush if non-null.
3082 2007-11-30 Dan Winship <danw@gnome.org>
3084 * ginputstream.c (g_input_stream_set_pending): Make this take a
3085 GError and return a gboolean, and do the "outstanding operation"
3086 check (and the "stream is already closed" check) itself.
3087 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3089 * goutputstream.c (g_output_stream_set_pending)
3090 (g_output_stream_clear_pending): Likewise
3092 * gbufferedinputstream.c:
3093 * gfileinputstream.c:
3094 * gfileoutputstream.c: Update for that
3096 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3097 Like g_simple_async_report_error_in_idle, but takes a GError
3098 rather than building one.
3100 2007-11-30 Dan Winship <danw@gnome.org>
3102 * goutputstream.c: Don't cheat and unset the "pending" flag around
3103 inner calls. Instead, call the class method directly rather than
3104 the wrapper function that checks "pending"
3106 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3108 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3110 2007-12-03 Hans Breuer <hans@breuer.org>
3112 [start of port to win32/msvc]
3113 * gcancellable.c : HAVE_UNIST_H and _pipe()
3114 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3115 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3116 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3118 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3119 * glocalvfs.c : use HAVE_PWD_H
3120 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3121 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3122 * Makefile.am : added to EXTRA_DIST
3124 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3126 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3129 2007-12-03 Alexander Larsson <alexl@redhat.com>
3132 Handle OSX style xattrs API (#500506)
3134 2007-12-03 Alexander Larsson <alexl@redhat.com>
3138 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3140 2007-12-02 A. Walton <awalton@svn.gnome.org>
3144 Documentation accuracy fixes.
3146 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3148 * gioenumtypes.c.template: Fix typo.
3150 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3152 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3154 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3156 * gdirectorymonitor.c:
3157 * gfilemonitor.c: Add properties
3159 * gbufferedoutputstream.c: Don't mark buffer-size property
3162 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3164 * gbufferedoutputstream.c: Add auto-grow property.
3166 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3168 * *.c: Unify the capitalization of section headings.
3170 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3172 * gmountoperation.c: Add properties
3174 * gdatainputstream.c: Turn byte-order and newline-type into
3177 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3179 * gioenumtypes.[hc].template: Templates for enum registration
3181 * Makefile.am: Generate gioenumtypes.[hc]
3183 * gio.h: Include gioenumtypes.h
3185 * gfile.h: Add some explicit nicks.
3187 * gio.symbols: Add new symbols
3189 * pltcheck.sh: Adjust
3191 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3193 * *.c: Explain etags and link to the explanation
3195 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3197 * *.c: Explain I/O priority.
3199 * *.c: More coding style fixes.
3201 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3203 * gasyncresult.c: Add another paragraph to the intro,
3204 adjust coding style of example.
3206 2007-11-29 A. Walton <awalton@svn.gnome.org>
3209 Fixes unknown meaning in GAppLaunchContext docs.
3211 Clarify asynchronous ops.
3213 Fix entity tag docs.
3216 Provides missing gtk-doc section, fixes API docs slighly.
3217 * gsimpleasyncresult.c:
3218 Fill in missing info in docs.
3219 * gunixinputstream.c:
3220 * gunixoutputstream.c:
3221 Be more expressive in short description.
3223 Remove gtk-doc stubs for non-public API.
3225 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3227 * *.c: Coding style fixups
3229 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3231 * inotify/inotify-helper.c: Don't export the lock from libgio.
3233 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3236 * abicheck.sh: Fix copy-and-paste leftovers
3238 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3240 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3242 2007-11-28 Alexander Larsson <alexl@redhat.com>
3246 Removed unnecessary file
3248 * gdesktopappinfo.[ch]:
3251 * glocaldirectorymonitor.[ch]:
3253 * glocalfileenumerator.[ch]:
3254 * glocalfileinputstream.[ch]:
3255 * glocalfilemonitor.[ch]:
3256 * glocalfileoutputstream.[ch]:
3258 * gnativevolumemonitor.c:
3259 * gpollfilemonitor.[ch]:
3260 * gunionvolumemonitor.[ch]:
3263 * gunixvolumemonitor.[ch]:
3266 * inotify/ginotifydirectorymonitor.[ch]:
3267 * inotify/ginotifyfilemonitor.[ch]:
3268 * inotify/inotify-helper.c:
3269 Append _ to all internal functions
3273 Export symbols needed for modules
3275 2007-11-28 Alexander Larsson <alexl@redhat.com>
3278 * abicheck.sh: Added.
3279 * makegioalias.pl: Added.
3280 * pltcheck.sh: Added.
3281 * gio.symbols: Added.
3284 Initial work on adding symbol handling.
3287 Correct ifdef guard name
3290 * inotify/Makefile.am:
3291 * xdgmime/Makefile.am:
3292 Include toplevel Makefile.decl
3294 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3296 * gcontenttype.c: Move doc comments to the unix section.
3298 * *.[hc]: More trivial doc corrections.
3300 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3302 * gpollfilemonitor.c:
3306 * gdesktopappinfo.c:
3311 * gdatainputstream.c:
3312 * gdatainputstream.h:
3313 * gdataoutputstream.c:
3314 * gdataoutputstream.h:
3315 * gfileinfo.h: Doc cleanups
3317 2007-11-28 Andre Klapper <a9016009@gmx.de>
3319 * gdesktopappinfo.c: Fix a typo.
3321 2007-11-27 Andre Klapper <a9016009@gmx.de>
3323 * glocalfileoutputstream.c: Fix a typo.
3325 2007-11-27 Alexander Larsson <alexl@redhat.com>
3328 Don't include removed headers
3330 2007-11-27 Alexander Larsson <alexl@redhat.com>
3333 * gsocketinputstream.[ch]: Removed.
3334 * gsocketoutputstream.[ch]: Removed.
3335 * gunixinputstream.[ch]: Added.
3336 * gunixoutputstream.[ch]: Added.
3337 Renamed GSocket*Stream to GUnix*Stream and made
3338 it unix-only, since its not really only for sockets
3339 and it only works on unix (but is highly useful there).
3341 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3347 * gbufferedinputstream.c:
3348 * gbufferedinputstream.h:
3349 * gbufferedoutputstream.c:
3350 * gbufferedoutputstream.h:
3354 * gdatainputstream.c:
3355 * gdatainputstream.h:
3356 * gdataoutputstream.c:
3357 * gdataoutputstream.h:
3358 * gdirectorymonitor.c:
3359 * gdirectorymonitor.h:
3366 * gfileenumerator.c:
3367 * gfileenumerator.h:
3372 * gfileinputstream.c:
3373 * gfileinputstream.h:
3376 * gfilenamecompleter.c:
3377 * gfilenamecompleter.h:
3378 * gfileoutputstream.c:
3379 * gfileoutputstream.h:
3380 * gfilterinputstream.c:
3381 * gfilterinputstream.h:
3382 * gfilteroutputstream.c:
3383 * gfilteroutputstream.h:
3396 * glocalfileoutputstream.c:
3397 * gmemoryinputstream.c:
3398 * gmemoryinputstream.h:
3399 * gmemoryoutputstream.c:
3400 * gmemoryoutputstream.h:
3401 * gmountoperation.c:
3402 * gmountoperation.h:
3405 * gpollfilemonitor.c:
3408 * gsimpleasyncresult.c:
3409 * gsimpleasyncresult.h:
3410 * gsocketinputstream.c:
3411 * gsocketinputstream.h:
3412 * gsocketoutputstream.c:
3413 * gsocketoutputstream.h:
3420 * gunixvolumemonitor.c:
3429 Bumps documentation to 93% symbol coverage, touching most
3430 of the public files. Fixes broken function documentation prototypes.
3431 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3432 gtk-doc headers in private files.
3434 2007-11-27 Jürg Billeter <j@bitron.ch>
3436 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3437 (g_buffered_input_stream_read_byte):
3438 * gbufferedinputstream.h:
3439 New functions for efficient access to buffer and simple single byte
3442 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3443 (g_data_input_stream_read_until):
3444 * gdatainputstream.h:
3445 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3446 read_until with multiple stop chars.
3448 2007-11-27 Alexander Larsson <alexl@redhat.com>
3452 * inotify/Makefile.am:
3453 Use the user-specified giomoduledir
3455 2007-11-27 Alexander Larsson <alexl@redhat.com>
3459 Add catch-all gio.h header
3460 Don't install gdummyfile.h
3462 2007-11-26 Alexander Larsson <alexl@redhat.com>
3464 * Makefile.am (gioinclude_HEADERS):
3465 Remove trailing whitespace
3467 2007-11-26 Alexander Larsson <alexl@redhat.com>
3469 Merge gio-standalone into glib
3471 2007-11-25 Christian Kellner <gicmo@gnome.org>
3473 * gio/goutputstream.c:
3474 Fix small mistake in the docs.
3476 2007-11-21 Christian Persch <chpe@gnome.org>
3478 * gio/glocalfile.c: (g_local_file_trash):
3479 Convert filenames to UTF-8 for GError.
3480 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3481 as per xdg base dir spec.
3483 2007-11-21 Christian Persch <chpe@gnome.org>
3485 * gio/gdesktopappinfo.c:
3486 Use that g_key_file_to_data cannot fail.
3488 Use stock defines for the key file group and key names.
3491 2007-11-21 Alexander Larsson <alexl@redhat.com>
3494 (copy_stream_with_progress):
3495 Make sure we do a final progress callback with
3496 the full total size.
3498 2007-11-21 Alexander Larsson <alexl@redhat.com>
3501 Export g_file_copy_attributes
3502 Remove padding as its not needed for interfaces
3504 2007-11-20 Alexander Larsson <alexl@redhat.com>
3509 Add G_IO_ERROR_WOULD_MERGE for
3510 copy/move dir on dir with overwrite.
3512 2007-11-20 Alexander Larsson <alexl@redhat.com>
3515 * gio/glocalfileinfo.c:
3516 Add COPY_NAME (this is an optional
3517 non-modified utf8 version of the name) that
3520 2007-11-20 Alexander Larsson <alexl@redhat.com>
3522 * gio/glocalfileenumerator.c:
3523 Report errors as GIOError, not GFileError
3525 2007-11-16 Alexander Larsson <alexl@redhat.com>
3527 * gio/glocalfileoutputstream.c:
3528 * gio/gwin32appinfo.c:
3529 Fix typos in strings.
3530 Patch from Luca Ferretti <elle.uca@libero.it>
3532 2007-11-15 Alexander Larsson <alexl@redhat.com>
3535 Post release version bump
3537 === gio-standalone 0.1.2 ===
3539 2007-11-15 Alexander Larsson <alexl@redhat.com>
3541 * docs/reference/gio/Makefile.am:
3542 Fix up distcheck by removing weird
3548 2007-11-14 Alexander Larsson <alexl@redhat.com>
3550 * gio/gdesktopappinfo.c:
3551 * gio/glocaldirectorymonitor.c:
3553 * gio/glocalfileinfo.c:
3554 * gio/inotify/inotify-sub.c:
3555 * programs/gio-cat.c:
3556 * programs/gio-copy.c:
3557 * programs/gio-info.c:
3558 * programs/gio-ls.c:
3559 * programs/gio-monitor-dir.c:
3560 * programs/gio-monitor-file.c:
3561 * programs/gio-mount.c:
3562 * programs/gio-move.c:
3563 * programs/gio-rm.c:
3564 * programs/gio-save.c:
3565 * programs/gio-trash.c:
3566 Leak fixes from Kjartan Maraas
3568 2007-11-14 Alexander Larsson <alexl@redhat.com>
3570 * gio/fam/fam-helper.c:
3572 * gio/glocalfileinfo.c:
3576 * gio/inotify/inotify-diag.c:
3577 * gio/inotify/inotify-kernel.c:
3578 Various code cleanups from Kjartan Maraas
3580 2007-11-14 Alexander Larsson <alexl@redhat.com>
3582 * gio/gioscheduler.c:
3584 Set up threadpool so that we cache 2 unused
3585 idle threads for at 15 secs. This means we
3586 will reuse thread-local data (like dbus connections)
3589 2007-11-14 Alexander Larsson <alexl@redhat.com>
3591 * gio/fam/fam-helper.c:
3592 * gio/fam/gfamdirectorymonitor.c:
3593 * gio/fam/gfamfilemonitor.c:
3595 * gio/gcontenttype.c:
3596 * gio/gdatainputstream.c:
3597 * gio/gdataoutputstream.c:
3601 * gio/gfileattribute.h:
3602 * gio/gfileenumerator.c:
3604 * gio/ginputstream.c:
3607 * gio/glocalfileinfo.c:
3608 * gio/goutputstream.c:
3609 * gio/gpollfilemonitor.c:
3610 * gio/gsimpleasyncresult.c:
3611 * gio/gunixmounts.c:
3612 * gio/gunixmounts.h:
3613 * gio/inotify/ginotifydirectorymonitor.c:
3614 * gio/inotify/ginotifyfilemonitor.c:
3615 * gio/inotify/inotify-diag.c:
3616 * gio/inotify/inotify-kernel.c:
3617 * gio/inotify/inotify-path.c:
3619 * gio/test-streams.c:
3620 * programs/gio-info.c:
3621 * programs/gio-monitor-dir.c:
3622 * programs/gio-monitor-file.c:
3623 Various code cleanups from Kjartan Maraas
3625 2007-11-13 Alexander Larsson <alexl@redhat.com>
3628 Handle the uri-scheme calls for dummy files
3630 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3632 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3633 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3634 to avoid clash with the C++ keyword.
3636 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3638 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3639 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3641 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3643 * gio/glocaldirectorymonitor.c:
3644 * gio/glocalfilemonitor.c:
3645 * gio/gunionvolumemonitor.c:
3646 Don't use g_once_init_*() for initializations that could fail and
3647 could leave the initialization variable set to 0 but use GOnce.
3648 This prevents a deadlock on the second call when trying to create
3649 a monitor and no monitor type is available. Thanks to Sven Herzberg
3652 2007-11-11 Sven Herzberg <sven@imendio.com>
3654 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3655 #ifdef (make it work on MacOS X again)
3657 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3659 Fixes Changelog for last two commits (sorry guys).
3661 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3663 * gio/gbufferedinputstream.c:
3664 * gio/gdatainputstream.c:
3666 * gio/gfileoutputstream.c:
3667 * gio/gfilterinputstream.c:
3668 * gio/glocalfileinputstream.c:
3671 More consistency fixes in g*stream.c files.
3672 Significant clean of gfile's documentation, filling in of
3673 asynchronous operations documentation.
3675 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3677 * gio/gasyncresult.c:
3678 * gio/gbufferedinputstream.c:
3679 * gio/gbufferedoutputstream.c:
3680 * gio/gcancellable.c:
3681 * gio/gcontenttype.c:
3682 * gio/gdatainputstream.c:
3683 * gio/gdataoutputstream.c:
3684 * gio/gdesktopappinfo.c:
3687 * gio/gfileattribute.c:
3688 * gio/gio/gfileenumerator.c:
3690 * gio/gfileinputstream.c:
3691 * gio/gfilemonitor.c:
3692 * gio/gfileoutputstream.c:
3693 * gio/ginputstream.c:
3695 * gio/gioscheduler.c:
3696 * gio/gloadableicon.c:
3697 * gio/glocalfileoutputstream.c:
3698 * gio/gmemoryoutputstream.c:
3699 * gio/gmountoperation.c:
3700 * gio/goutputstream.c:
3702 * gio/gsimpleasyncresult.c:
3703 * gio/gunionvolumemonitor.c:
3704 * gio/gunixmounts.c:
3705 * gio/gunixvolume.c:
3709 * gio/gvolumemonitor.c:
3710 Updated documentation stubs, working towards consistency and
3713 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3715 * gio/gmemoryoutputstream.c:
3716 * gio/gmemoryoutputstream.h:
3717 Change g_memory_output_stream_set_free_on_close() to
3718 g_memory_output_stream_set_free_data() as this makes more sense and
3719 is more consistent with GMemoryInputStream.
3721 2007-11-07 Alexander Larsson <alexl@redhat.com>
3728 Change how we find the default vfs so that
3729 we can handle a gvfs failing to init
3731 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3733 * gio/gbufferedoutputstream.c:
3734 * gio/gdatainputstream.c:
3735 * gio/gdataoutputstream.c:
3736 * gio/gfileinputstream.c:
3737 * gio/gfileoutputstream.c:
3738 * gio/gfilterinputstream.c:
3739 * gio/gfilteroutputstream.c:
3740 * gio/ginputstream.c:
3741 * gio/gmemoryinputstream.c:
3742 * gio/gmemoryoutputstream.c:
3743 * gio/goutputstream.c:
3744 * gio/gsimpleasyncresult.c:
3745 * gio/gsocketinputstream.c:
3746 * gio/gsocketoutputstream.c:
3747 Add guards to the remaining public functions, add a TODO for
3748 an unimplemented function and remove some useless guards.
3750 2007-11-07 Alexander Larsson <alexl@redhat.com>
3753 Autoconf checks for the various types of
3754 getpwuid_r and getgrgid_r
3756 * gio/glocalfileinfo.c:
3757 Use the autoconf checks from above
3759 2007-11-07 Alexander Larsson <alexl@redhat.com>
3762 (g_local_file_query_filesystem_info):
3763 Some fixes for the statvfs case
3765 2007-11-07 Alexander Larsson <alexl@redhat.com>
3768 (g_local_file_query_filesystem_info):
3769 Pick the "best" of statfs / statvfs for the system
3770 if both are availible.
3772 2007-11-07 Alexander Larsson <alexl@redhat.com>
3774 Solaris fixes from Halton.Huo@Sun.COM:
3781 * gio/glocalfileinfo.c:
3782 Fix for solaris definition of getpwuid_r
3784 * gio/test-streams.c:
3785 Use G_GNUC_PRETTY_FUNCTION
3787 2007-11-07 Alexander Larsson <alexl@redhat.com>
3789 * gio/gdesktopappinfo.c:
3790 (update_default_list):
3791 Remove double semicolon.
3792 Patch from Jens Granseuer
3794 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3796 * docs/reference/gio/gio-sections.txt:
3797 * gio/gbufferedinputstream.c:
3798 * gio/gbufferedinputstream.h:
3799 * gio/gdatainputstream.c:
3800 * gio/gfileenumerator.c:
3801 * gio/gioscheduler.c:
3802 * gio/gunionvolumemonitor.c:
3804 * programs/gio-save.c:
3805 Fix typo: availible -> available. Unfortuntely this breaks API
3806 and ABI as g_buffered_input_stream_get_available() was renamed.
3808 * gio/gunixmounts.c:
3809 * gio/gbufferedinputstream.c:
3810 Add guards for public functions.
3812 2007-11-06 Ross Burton <ross@openedhand.com>
3814 * docs/reference/gio/Makefile.am:
3815 Fix invalid += usage which automake 1.10 doesn't like.
3817 2007-11-06 Alexander Larsson <alexl@redhat.com>
3820 (g_app_launch_context_class_init):
3823 Patch from Ross Burton
3825 2007-11-06 Alexander Larsson <alexl@redhat.com>
3828 Post release version bump
3830 === gio-standalone 0.1.1 ===
3832 2007-11-06 Alexander Larsson <alexl@redhat.com>
3835 Bump version to 0.1.1
3837 * gio/gsimpleasyncresult.c:
3838 (g_simple_async_result_set_from_error):
3839 Remove bogus g_return_if_fail
3841 2007-11-06 Alexander Larsson <alexl@redhat.com>
3844 The name is gio-standalone
3847 Add top src/builddir to includedir
3849 2007-11-06 Alexander Larsson <alexl@redhat.com>
3851 * docs/reference/gio/gio-sections.txt:
3853 * gio/gbufferedinputstream.c:
3854 * gio/gbufferedoutputstream.c:
3855 * gio/gcancellable.c:
3856 * gio/gdatainputstream.h:
3857 * gio/gdataoutputstream.c:
3858 * gio/gdataoutputstream.h:
3859 * gio/gdirectorymonitor.c:
3861 * gio/gfileattribute.c:
3862 * gio/gfileattribute.h:
3863 * gio/gfileenumerator.c:
3864 * gio/gfileenumerator.h:
3867 * gio/gfileinputstream.h:
3868 * gio/gfilemonitor.c:
3869 * gio/gfileoutputstream.h:
3870 * gio/glocalfilemonitor.h:
3871 * gio/glocalfileoutputstream.h:
3872 * gio/gmemoryinputstream.c:
3873 * gio/gmemoryoutputstream.c:
3874 * gio/gmountoperation.c:
3875 * gio/goutputstream.c:
3876 * gio/goutputstream.h:
3878 * gio/gsimpleasyncresult.c:
3879 * gio/gunixmounts.c:
3880 * gio/gunixmounts.h:
3882 * gio/inotify/inotify-helper.c:
3883 Fix gtk-doc warnings
3885 Patch from Ross Burton
3887 2007-11-06 Alexander Larsson <alexl@redhat.com>
3889 * gio/gfilenamecompleter.c:
3890 (g_filename_completer_get_completions):
3893 * gio/gunixvolume.c:
3894 Remove unused function
3896 Patches from Ross Burton
3898 2007-11-06 Alexander Larsson <alexl@redhat.com>
3903 Padding not needed for interfaces
3905 2007-11-06 Alexander Larsson <alexl@redhat.com>
3907 * gio/gfilemonitor.c:
3911 Make giotypes.h an internal file
3914 * gio/gbufferedinputstream.h:
3915 * gio/gbufferedoutputstream.h:
3916 * gio/gcancellable.h:
3917 * gio/gdatainputstream.h:
3918 * gio/gdataoutputstream.h:
3919 * gio/gdirectorymonitor.c:
3920 * gio/gdirectorymonitor.h:
3925 * gio/gfileattribute.h:
3926 * gio/gfileenumerator.h:
3931 * gio/gfilemonitor.c:
3932 * gio/gfilemonitor.h:
3933 * gio/gfilenamecompleter.c:
3934 * gio/gfilenamecompleter.h:
3935 * gio/gfilterinputstream.h:
3936 * gio/gfilteroutputstream.h:
3937 * gio/ginputstream.h:
3938 * gio/gmemoryinputstream.h:
3939 * gio/gmemoryoutputstream.h:
3940 * gio/gmountoperation.c:
3941 * gio/gmountoperation.h:
3942 * gio/gnativevolumemonitor.c:
3943 * gio/goutputstream.h:
3946 * gio/gsimpleasyncresult.c:
3947 * gio/gsimpleasyncresult.h:
3948 * gio/gsocketinputstream.h:
3949 * gio/gsocketoutputstream.h:
3950 * gio/gthemedicon.c:
3951 * gio/gthemedicon.h:
3955 * gio/gvolumemonitor.c:
3956 * gio/gvolumemonitor.h:
3957 Add padding in classes where it seems useful
3958 Don't include giotypes.h from public headers
3959 Move in Class definitions into c file where possible
3964 2007-11-06 Alexander Larsson <alexl@redhat.com>
3966 * docs/reference/gio/gio-docs.xml:
3967 Better structure for API docs
3969 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3972 * gio/gloadableicon.c:
3973 * gio/gsimpleasyncresult.c:
3974 * gio/gthemedicon.c:
3975 Add some more guards to public functions. Only files missing are now
3978 2007-11-06 Alexander Larsson <alexl@redhat.com>
3980 * docs/reference/gio/gio-docs.xml:
3981 Remove old files, add missing ones
3983 2007-11-06 Alexander Larsson <alexl@redhat.com>
3985 * docs/reference/gio/gio-sections.txt:
3988 Hide implementation classes
3990 * gio/gdriveprivate.h:
3991 * gio/gvolumeprivate.h:
3992 Remove non-existing function declarations
3994 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3997 Fix compilation warnings and add guards to the new functions.
3999 * gio/gasyncresult.c:
4001 Add guards to the public functions.
4004 Implement get_path().
4006 2007-11-06 Alexander Larsson <alexl@redhat.com>
4008 * gio/gfilenamecompleter.c:
4009 Make g_filename_completer_get_completions
4010 return char ** instead of GList for
4013 * docs/reference/gio/gio-docs.xml:
4014 * docs/reference/gio/gio-sections.txt:
4016 * gio/gasyncresult.c:
4017 * gio/gbufferedinputstream.c:
4018 * gio/gbufferedoutputstream.c:
4019 * gio/gcancellable.c:
4020 * gio/gcontenttype.c:
4021 * gio/gdatainputstream.c:
4022 * gio/gdataoutputstream.c:
4023 * gio/gdesktopappinfo.c:
4024 * gio/gdirectorymonitor.c:
4028 * gio/gfileattribute.c:
4029 * gio/gfileenumerator.c:
4032 * gio/gfileinputstream.c:
4033 * gio/gfilemonitor.c:
4034 * gio/gfilenamecompleter.c:
4035 * gio/gfilenamecompleter.h:
4036 * gio/gfileoutputstream.c:
4037 * gio/gfilterinputstream.c:
4039 * gio/ginputstream.c:
4041 * gio/gioscheduler.c:
4042 * gio/gloadableicon.c:
4043 * gio/glocaldirectorymonitor.c:
4045 * gio/glocalfileinputstream.c:
4046 * gio/glocalfilemonitor.c:
4047 * gio/glocalfileoutputstream.c:
4049 * gio/gmemoryinputstream.c:
4050 * gio/gmemoryoutputstream.c:
4051 * gio/gmountoperation.c:
4052 * gio/goutputstream.c:
4053 * gio/gpollfilemonitor.c:
4055 * gio/gsimpleasyncresult.c:
4056 * gio/gsocketinputstream.c:
4057 * gio/gsocketoutputstream.c:
4058 * gio/gthemedicon.c:
4059 * gio/gunionvolumemonitor.c:
4061 * gio/gunixmounts.c:
4062 * gio/gunixvolume.c:
4063 * gio/gunixvolumemonitor.c:
4067 * gio/gvolumemonitor.c:
4068 * gio/gwin32appinfo.c:
4069 Add (mostly stub) doc strings to public functions.
4070 Patch from Andrew Walton (awalton@gmail.com)
4072 2007-11-06 Alexander Larsson <alexl@redhat.com>
4074 * gio/gappinfo.[ch]:
4075 Added GAppLaunchContext object and pass that to launch.
4076 This allows simple implementation of both
4077 launch-on-screen and startup notification via a gtk+
4078 subclass of GAppLaunchContext
4080 * gio/gdesktopappinfo.c:
4081 Implement GAppLaunchContext API
4083 * gio/gwin32appinfo.c:
4086 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4088 * gio/gmountoperation.c:
4089 Add some guards to GMountOperation's public functions.
4091 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4095 * gio/gcancellable.c:
4096 * gio/gdirectorymonitor.c:
4098 * gio/gfileenumerator.c:
4099 * gio/gfilemonitor.c:,
4100 * gio/gfilenamecompleter.c:
4103 * gio/gioscheduler.c:
4107 * gio/gvolumemonitor.c:
4108 Add even more guards to various public functions.
4110 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4113 Add guards to the public functions of GAppInfo.
4115 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4117 * gio/gcontenttype.c:
4118 Add some more guards for public functions.
4120 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4122 * gio/fam/fam-module.c:
4123 * gio/fam/gfamdirectorymonitor.c:
4124 * gio/fam/gfamdirectorymonitor.h:
4125 * gio/fam/gfamfilemonitor.c:
4126 * gio/fam/gfamfilemonitor.h:
4127 * gio/inotify/ginotifydirectorymonitor.c:
4128 * gio/inotify/ginotifydirectorymonitor.h:
4129 * gio/inotify/ginotifyfilemonitor.c:
4130 * gio/inotify/ginotifyfilemonitor.h:
4131 Add proper copyright information and remove an unused variable
4132 in the GInotifyFileMonitor constructor.
4134 * gio/gcancellable.c:
4135 Add a guard for a public function and an assertion to prevent
4136 an undefined program state.
4138 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4140 * gio/gfileattribute.c:
4141 Don't run into an assertion if the given attribute value is NULL
4142 in g_file_attribute_value_get_*() but instead return a fallback
4143 value that makes sense in most situations. Passing them a attribute
4144 value with the wrong type will still run into an assertion.
4146 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4148 * gio/gfileattribute.c:
4150 Add even more guards to the public functions. Also fix the refcounting
4151 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4152 let g_file_info_list_attributes() filter the attributes by namespace
4153 instead of simply ignoring the namespace parameter.
4155 2007-11-03 Sven Herzberg <sven@imendio.com>
4157 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4158 (This makes gio work on MacOS X again)
4160 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4163 Build the gio subdirectory before the docs. Otherwise the build will
4166 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4167 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4168 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4169 Add guards to the public functions.
4171 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4173 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4174 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4175 to prevent a compiler warning.
4177 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4178 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4179 return something in the non-void function find_topdir_for().
4181 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4188 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4190 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4191 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4192 * gwin32appinfo.c (g_win32_app_info_launch):
4193 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4194 envp_for_startup_id, g_desktop_app_info_launch,
4195 g_desktop_app_info_launch_uris):
4197 Give an opaque 'startup_id' string instead of 'envp'.
4198 Support empty file lists for launching new windows.
4199 Fix infinite recursion bug when launching URIs.
4201 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4204 Add guard to the new g_file_get_uri_scheme() function.
4206 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4209 Convert a g_return_val_if_fail() to setting the GError instead as
4210 otherwise applications have to verify the parameter before otherwise
4211 and the parameter might come directly from the user.
4213 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4215 * gio/inotify/ginotify*.[ch]:
4216 Add missing copyright information.
4218 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4221 Add guards in the beginning of public functions to check for valid
4222 parameters and fix a bug in copy_stream_with_progress() that could've
4223 caused writing less bytes than reading.
4224 * gio/glocalfileinfo.c:
4225 Check for a NULL parameter and set the GError accordingly then.
4226 * gio/goutputstream.c:
4227 Fix the same bug as in gfile.c that could've caused writing less bytes
4228 than reading in g_output_stream_real_splice().
4230 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4233 Use the correct gvolumeprivate.h naming
4235 2007-11-01 Christian Kellner <gicmo@gnome.org>
4238 Remove leftover "$(daemon_sources)" entry.
4240 2007-11-01 Christian Kellner <gicmo@gnome.org>
4245 Add copyright information to source files.
4247 2007-11-01 Alexander Larsson <alexl@redhat.com>
4251 Add g_file_get_uri_scheme
4253 2007-11-01 Alexander Larsson <alexl@redhat.com>
4256 * gio/gdesktopappinfo.c:
4257 * gio/gwin32appinfo.c:
4258 Add g_app_info_get_default_for_uri_scheme.
4260 2007-11-01 Alexander Larsson <alexl@redhat.com>
4263 Correct filename for gdriveprivate.h
4265 2007-10-31 Alexander Larsson <alexl@redhat.com>
4268 Rename id:value to id:file
4271 * gio/glocalfileinfo.c:
4274 2007-10-31 Alexander Larsson <alexl@redhat.com>
4276 * gio/gunixvolume.c:
4278 Remove g_volume_get_platform_id, as thats not
4279 needed with the simpler union volume monitor
4281 2007-10-31 Alexander Larsson <alexl@redhat.com>
4284 * gio/guniondrive.[ch]: Removed.
4285 * gio/gunionvolume.[ch]: Removed.
4286 Remove GUnionDrive/Volume
4288 * gio/gunionvolumemonitor.c:
4289 Simplify union volume monitor, now we
4290 only have one native volume monitor and
4291 we use the actual volumes/drives from the
4292 child monitors instead of wrapping them
4294 * gio/gnativevolumemonitor.[ch]:
4295 Base class for native volume monitors.
4296 Includes priority and get_volume_for_mountpoint
4299 Add g_file_find_enclosing_volume
4302 Remove volume name fs attribute
4303 Add readonly fs attribute
4306 Implement readonly attribute
4307 remove volume name attribute
4308 Implement find_enclosing volume
4310 * gio/gunixmounts.c:
4311 Add a volume for "/".
4313 * gio/gunixvolume.[ch]:
4314 Set better name for /
4316 * gio/gunixvolumemonitor.[ch]:
4317 Derive from GNativeVolumeMonitor
4318 Implement get_volume_for_mountpoint
4321 GVolume typedef moved to gfile.h
4323 * gio/gvolumeprivate.h:
4324 Add g_volume_get_for_mount_path
4326 2007-10-31 Alexander Larsson <alexl@redhat.com>
4328 * gio/gunixmounts.[ch]:
4329 Add cache info to unix mount listers
4330 Make getmntent use threadsafe
4331 Add is_system_internal attribute for GUnixMount
4333 * gio/gunixvolume.c:
4334 (g_unix_volume_new):
4335 Use is_system_internal instead of own code
4337 * gio/glocaldirectorymonitor.c:
4338 * gio/gunixvolumemonitor.c:
4339 Update to new gunixmounts API
4344 2007-10-30 Alexander Larsson <alexl@redhat.com>
4347 Add volume name fsinfo attribute
4350 Read volume name info
4352 * gio/gunionvolumemonitor.c:
4353 Fix infinite loops when finalizing a union volume monitor
4355 2007-10-30 Alexander Larsson <alexl@redhat.com>
4357 * gio/goutputstream.[ch]:
4358 Add splice() with default implementation
4360 * gio/gsocketoutputstream.c:
4361 (g_socket_output_stream_write):
4362 Return error on cancellation correctly.
4364 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4366 * gio/glocalfile.c (g_local_file_trash):
4367 Do not leak a string.
4369 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4371 * gio/gfile.c (g_file_load_contents):
4372 Unref the stream after closing it.
4374 2007-10-25 Alexander Larsson <alexl@redhat.com>
4376 * gio/gioscheduler.h:
4379 2007-10-25 Alexander Larsson <alexl@redhat.com>
4383 Add g_file_has_uri_scheme and implement for local files
4385 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4387 * gio/gdesktopappinfo.c: do not leak a string.
4389 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4391 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4392 (g_local_directory_monitor_new):
4393 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4394 (g_local_file_monitor_new):
4395 Only look for the monitor type that should be used the first time
4396 and use g_qsort_with_data() instead of our own bubble sort
4399 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4402 * gio/fam/Makefile.am:
4403 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4404 * gio/fam/fam-helper.h:
4405 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4406 * gio/fam/gfamdirectorymonitor.c:
4407 * gio/fam/gfamdirectorymonitor.h:
4408 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4409 * gio/fam/gfamfilemonitor.h:
4410 * gio/glocaldirectorymonitor.c:
4411 * gio/glocaldirectorymonitor.h:
4412 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4413 * gio/glocalfilemonitor.h:
4414 * gio/inotify/Makefile.am:
4415 * gio/inotify/ginotifydirectorymonitor.c:
4416 * gio/inotify/ginotifydirectorymonitor.h:
4417 * gio/inotify/ginotifyfilemonitor.c:
4418 * gio/inotify/ginotifyfilemonitor.h:
4419 Implement the FAM and Inotify monitors as
4420 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4421 their own GIO module. GLocal(Directory|File)Monitor will use the
4422 monitor with the highest rank that is supported on that machine.
4424 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4427 Change GIO module dir to $(libdir)/gio/modules and change
4428 the log domain from GVFS to GIO. Also only export symbols starting
4429 with g_ in the resulting library.
4430 * gio/test-streams.c: (main):
4431 Set log handler for the GIO log domain.
4433 2007-10-22 Alexander Larsson <alexl@redhat.com>
4435 * gio/gfilenamecompleter.[ch]:
4436 Add g_filename_completer_set_dirs_only
4438 2007-10-22 Alexander Larsson <alexl@redhat.com>
4441 * gio/gurifuncs.[ch]:
4442 Add some simple URI helpers
4444 * gio/gfilenamecompleter.[ch]:
4445 Added object for filename (parse name actually) completion
4448 Handle ~ in parse names
4450 2007-10-17 Alexander Larsson <alexl@redhat.com>
4453 * gio/glocalfileinfo.c:
4454 Add and implement id:value attribute
4456 2007-10-17 Alexander Larsson <alexl@redhat.com>
4459 * gio/guniondrive.c:
4461 Add and implement g_drive_has_volumes
4463 2007-10-17 Alexander Larsson <alexl@redhat.com>
4466 * gio/glocalfileinfo.[ch]:
4467 Add unix:is_mountpoint and implement for local files
4469 2007-10-16 Alexander Larsson <alexl@redhat.com>
4471 * gio/gunionvolumemonitor.c:
4472 (g_union_volume_monitor_init):
4473 Fix up the unix type getting so that it works with gcc
4475 2007-10-12 Alexander Larsson <alexl@redhat.com>
4478 * gio/glocalfileinfo.c:
4479 Add thumbnail:failed to file info
4481 2007-10-12 Richard Hult <richard@imendio.com>
4483 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4484 optimizing away the get_type call (happens with some gcc versions,
4485 like the one shipped with OS X 10.4).
4487 2007-10-12 Alexander Larsson <alexl@redhat.com>
4489 * gio/glocalfileinfo.c:
4490 (_g_local_file_info_set_attribute):
4491 Fix build if not HAVE_XATTR
4492 Patch from Milosz Derezynski <internalerror@gmail.com>
4494 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4496 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4497 around for review, otherwise I would have asked you before
4500 2007-10-11 Alexander Larsson <alexl@redhat.com>
4503 Add thumbnail:path attribute
4505 * gio/glocalfileinfo.c:
4506 Implement thumbnail:path for local files
4508 2007-10-11 Alexander Larsson <alexl@redhat.com>
4510 * gio/glocalfileinfo.c:
4511 (_g_local_file_info_get):
4512 Avoid duplicate icon names
4514 2007-10-11 Alexander Larsson <alexl@redhat.com>
4516 * gio/gthemedicon.[ch]:
4517 Change g_themed_icon_get_names return type to const
4519 2007-10-10 Alexander Larsson <alexl@redhat.com>
4521 * gio/glocalfileinfo.c:
4522 Don't reference freed memory
4524 2007-10-10 Alexander Larsson <alexl@redhat.com>
4526 * gio/gfileattribute.c:
4529 * gio/glocalfileinfo.c:
4532 2007-10-10 Alexander Larsson <alexl@redhat.com>
4535 Check for NULL icons
4537 * gio/gfileattribute.c:
4538 Don't dup when getting objects (same as for string attributes)
4540 * gio/gicon.c (g_icon_equal):
4541 Safely handle NULLs in equal
4543 2007-10-10 Alexander Larsson <alexl@redhat.com>
4546 Fix c++ compilation issues
4547 Patch from Milosz Derezynski <internalerror@gmail.com>
4549 2007-10-10 Alexander Larsson <alexl@redhat.com>
4551 * programs/gio-monitor-dir.c:
4552 Don't crash if dir monitor not supported.
4554 2007-10-09 Alexander Larsson <alexl@redhat.com>
4557 Add missing G_END_DECLS
4559 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4561 * gio/gfile.c: (g_file_set_display_name),
4562 (g_file_query_settable_attributes),
4563 (g_file_query_writable_namespaces):
4564 Return NULL not FALSE on errors as the return type is a pointer.
4566 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4568 * gio/glocalfile.c: (g_local_file_monitor_file):
4569 Don't call monitor_file on the default interface vtable (which
4570 is NULL) but simply return NULL. The caller, GFile, will create a
4571 polling monitor if NULL is returned.
4573 2007-10-09 Alexander Larsson <alexl@redhat.com>
4577 * gio-unix-2.0.pc.in:
4578 Add gio-unix-2.0.pc if OS_UNIX
4581 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4583 2007-10-09 Alexander Larsson <alexl@redhat.com>
4585 * gio/gunixmounts.[ch]:
4586 Make unix mount monitoring API sane.
4587 Now its just a object with mounts_changed
4588 and mountpoints_changed signals.
4590 * gio/glocaldirectorymonitor.c:
4591 * gio/gunixvolumemonitor.c:
4592 Use new mount monitor api
4594 2007-10-09 Alexander Larsson <alexl@redhat.com>
4596 * gio/gunixmounts.[ch]:
4597 Move guess type into one call for mounts and one for mountpoints
4600 * gio/gunixvolume.c:
4603 2007-10-09 Alexander Larsson <alexl@redhat.com>
4605 * gio/gunixmounts.[ch]:
4606 Remove _ prefix in preparation to make this semi-public
4607 Hide implementation of structs
4609 * gio/glocaldirectorymonitor.c:
4611 * gio/gunixvolume.c:
4612 * gio/gunixvolumemonitor.c:
4613 Update for above API changes
4615 2007-10-08 Alexander Larsson <alexl@redhat.com>
4618 Better polling fallback. This also handles the case where we have
4619 a monitor_file implementation, but it fails.
4621 2007-10-08 Alexander Larsson <alexl@redhat.com>
4625 * gio/gunixmounts.c:
4626 * programs/gio-monitor-dir.c:
4627 * programs/gio-monitor-file.c:
4628 Added cancellable to file monitoring calls.
4629 These are really sync calls and need this.
4631 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4633 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4634 (g_local_vfs_class_init):
4635 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4636 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4638 2007-10-05 Alexander Larsson <alexl@redhat.com>
4640 * gio/gdirectorymonitorprivate.h:
4641 * gio/gfilemonitorprivate.h:
4642 * gio/gdirectorymonitor.h:
4643 * gio/gfilemonitor.h:
4644 Remove *private.h and move to the public API, so that
4645 we can do implementations outside gio (such as in gvfs)
4647 * gio/gdirectorymonitor.c:
4648 * gio/gfilemonitor.c:
4649 * gio/glocaldirectorymonitor.c:
4650 * gio/gpollfilemonitor.c:
4651 * gio/inotify/inotify-helper.c:
4652 * gio/fam/fam-helper.c:
4653 Update to the new header names
4655 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4657 * gio/gdirectorymonitor.c:
4658 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4661 2007-10-04 Alexander Larsson <alexl@redhat.com>
4663 * gio/glocalfileinfo.c (get_access_rights):
4664 Set CAN_TRASH when we can move the file.
4665 We should really also check for a parent trash dir.
4667 2007-10-04 Alexander Larsson <alexl@redhat.com>
4669 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4670 Add can_trash access attribute
4672 2007-10-04 Alexander Larsson <alexl@redhat.com>
4675 (g_local_file_trash):
4676 Create info file first. This is per-spec and allows
4677 us to actually trash directories.
4679 2007-10-02 Alexander Larsson <alexl@redhat.com>
4681 * gio/gdesktopappinfo.c:
4682 Implement the new mime support code.
4683 Always set app as handling mimetype when being set as default for it
4685 2007-10-01 Alexander Larsson <alexl@redhat.com>
4687 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4688 Fix up check for xattrs:
4690 2007-10-01 Alexander Larsson <alexl@redhat.com>
4693 (g_app_info_set_as_default_for_extension):
4694 (g_app_info_add_supports_type):
4695 (g_app_info_can_remove_supports_type):
4696 (g_app_info_remove_supports_type):
4697 Make these fail nicely if not implemented
4699 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4701 * gio/glocalfileoutputstream.c:
4702 * gio/glocalfileoutputstream.h:
4707 * programs/gio-save.c:
4708 Add a GFileCreateFlags argument to operations that can create
4711 2007-10-01 Alexander Larsson <alexl@redhat.com>
4713 * gio/gappinfo.[ch]:
4714 * gio/gdesktopappinfo.c:
4715 Add more (stubbed out) mime API needed for nautilus
4717 2007-10-01 Alexander Larsson <alexl@redhat.com>
4720 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4721 Add g_app_info_set_as_default_for_extension.
4723 * gio/gdesktopappinfo.c:
4724 Dummy for g_app_info_set_as_default_for_extension
4725 Support flags in g_app_info_create_from_commandline
4727 * gio/gwin32appinfo.c:
4729 Update for API changes
4731 * gio/gthemedicon.c:
4732 Properly NULL-terminate list of icon names
4734 2007-09-28 Alexander Larsson <alexl@redhat.com>
4736 * gio/gloadableicon.h:
4737 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4739 2007-09-28 Alexander Larsson <alexl@redhat.com>
4742 Install headers in $includedir/gio-standalone/
4744 * gio-2.0.pc.in: Added.
4745 * gio-standalone.pc.in: Removed.
4748 Renamed pkg-config file to match glib (for future move)
4749 Update to the new include dir
4752 Add more TODO comments
4754 2007-09-28 Alexander Larsson <alexl@redhat.com>
4756 * gio/gdesktopappinfo.[ch]:
4757 Expose new_from_filename
4758 Add getter for is_hidden and handle it better
4760 2007-09-28 Alexander Larsson <alexl@redhat.com>
4762 * gio/gfileinfo.[ch]:
4763 Rename g_file_size_format_for_display to
4764 g_format_file_size_for_display.
4765 Now it doesn't have the g_file prefix, so we
4766 can later move it to glib.
4768 2007-09-28 Alexander Larsson <alexl@redhat.com>
4770 * gio/gappinfo.[ch]:
4771 Add g_app_info_get_id and g_app_info_get_executable.
4772 Make all getters non-reffing
4773 Make g_app_info_launch take GFile arguments.
4774 Add must_support_uris argument to g_app_info_get_default_for_type.
4776 * gio/gwin32appinfo.c:
4777 Update to GAppInfo api changes
4779 * gio/gdesktopappinfo.c:
4780 Update to GAppInfo api changes
4781 Implement supports_xdg_startup_notify
4783 * gio/gfileicon.c (g_file_icon_get_file):
4784 Make getter non-reffing.
4789 2007-09-27 Alexander Larsson <alexl@redhat.com>
4791 * gio/gfileinfo.[ch]:
4792 Add g_file_size_format_for_display helper
4794 2007-09-27 Alexander Larsson <alexl@redhat.com>
4796 * gio/glocalfileinfo.c:
4797 Set UNIX_GID from gid, not from uid
4799 2007-09-27 Alexander Larsson <alexl@redhat.com>
4802 Add g_file_set_attributes_async
4804 2007-09-27 Alexander Larsson <alexl@redhat.com>
4806 * gio/glocalfile.c (g_local_file_set_display_name):
4807 Fix set_display_name to actually rename to the right place.
4808 Use lstat to look for existing files so we don't overwrite
4811 2007-09-26 Alexander Larsson <alexl@redhat.com>
4814 Add g_file_set_display_name_async()
4816 2007-09-26 Alexander Larsson <alexl@redhat.com>
4819 Add load_partial_contents async calls
4822 Make internal function static
4824 2007-09-26 Alexander Larsson <alexl@redhat.com>
4826 * gio/glocalfileinfo.c:
4827 Correctly detect broken symlinks
4829 2007-09-26 Alexander Larsson <alexl@redhat.com>
4831 * gio/gcancellable.c (g_cancellable_cancel):
4832 Allow cancel on NULL cancellable
4834 2007-09-25 Alexander Larsson <alexl@redhat.com>
4836 * gio/gsimpleasyncresult.c:
4837 Don't allocate g_error manually.
4838 Fixes g_slice/g_new mixup crash
4840 2007-09-25 Alexander Larsson <alexl@redhat.com>
4842 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4843 Actually set active_backend.
4844 This means the monitor will be cancelled correctly.
4846 2007-09-25 Alexander Larsson <alexl@redhat.com>
4848 * gio/gdirectorymonitor.c:
4849 Set timeout to NULL when destroying
4851 2007-09-25 Alexander Larsson <alexl@redhat.com>
4854 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4855 that is a better description of the error.
4857 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4859 * gio/gvfs.c: (g_vfs_get_local):
4860 Make the local vfs variable static. The same instance should
4863 2007-09-24 Alexander Larsson <alexl@redhat.com>
4865 * gio/glocalfileinfo.c:
4866 Pass in actual length read into sniffer, not the length
4869 2007-09-21 Alexander Larsson <alexl@redhat.com>
4871 * gio/gfileenumerator.c:
4874 * gio/gfileinputstream.c:
4875 * gio/gfileoutputstream.c:
4876 * gio/ginputstream.c:
4877 * gio/goutputstream.c:
4878 Don't crash if async callbacks are NULL
4880 2007-09-20 Alexander Larsson <alexl@redhat.com>
4883 Add async enumerate_children method and default
4886 2007-09-20 Alexander Larsson <alexl@redhat.com>
4889 Add g_file_contains_file & g_file_get_relative_path, since they
4890 were needed for nautilus.
4891 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4896 Implement new methods
4898 2007-09-17 Alexander Larsson <alexl@redhat.com>
4901 * gio/gfileinputstream.[ch]:
4902 * gio/gfileoutputstream.[ch]:
4904 * gio/glocalfileenumerator.[ch]:
4905 * gio/glocalfileinfo.[ch]:
4906 * gio/glocalfileinputstream.c:
4907 * gio/glocalfileoutputstream.c:
4908 * gio/gpollfilemonitor.c:
4909 * programs/gio-copy.c:
4910 * programs/gio-info.c:
4911 * programs/gio-move.c:
4912 Rename get_file_info to query_info() to make it clearer
4913 that these are not simple getters, but do i/o.
4915 2007-09-17 Alexander Larsson <alexl@redhat.com>
4917 * gio/gdatainputstream.[ch]:
4918 * gio/test-streams.c:
4919 Use _read_XXX instead of _get_XXX for the i/o calls
4922 2007-09-17 Alexander Larsson <alexl@redhat.com>
4925 Added needed stuff to TODO comment
4927 2007-09-17 Alexander Larsson <alexl@redhat.com>
4929 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4930 Don't error out removing the backup copy if it doesn't
4933 2007-09-14 Alexander Larsson <alexl@redhat.com>
4935 * programs/Makefile.am:
4936 * programs/gvfs-*.c:
4938 Renamed apps from gvfs-xxx to gio-xxx.
4940 2007-09-14 Alexander Larsson <alexl@redhat.com>
4943 * gio/gfileoutputstream.[ch]:
4944 * gio/glocalfileoutputstream.c:
4945 * programs/gvfs-save.c:
4946 g_file_output_stream_get_etag doesn't do i/o, so remove
4947 cancellation and error.
4949 2007-09-14 Alexander Larsson <alexl@redhat.com>
4952 Add new_etag output to replace_contents functions
4954 2007-09-14 Alexander Larsson <alexl@redhat.com>
4956 * gio/gfileoutputstream.[ch]:
4957 Add async get_file_info and default implementation
4959 2007-09-14 Alexander Larsson <alexl@redhat.com>
4961 * gio/gfileinputstream.c:
4962 Implement fallback wrapper for async get_file_info
4964 2007-09-14 Alexander Larsson <alexl@redhat.com>
4967 Add etag out argument to load_contents
4972 2007-09-14 Alexander Larsson <alexl@redhat.com>
4974 * gio/gcontenttype.c (looks_like_text):
4975 Whitespace like tab, cr and lf do not make the
4978 2007-09-14 Alexander Larsson <alexl@redhat.com>
4980 * gio/gfileinputstream.[ch]:
4981 Add async get_file_info.
4983 2007-09-13 Alexander Larsson <alexl@redhat.com>
4985 * gio/goutputstream.c (g_output_stream_write_all):
4986 Allow NULL for bytes_written
4988 2007-09-13 Alexander Larsson <alexl@redhat.com>
4990 * gio/gmemoryinputstream.[ch]:
4991 Add accessors for data
4993 2007-09-13 Alexander Larsson <alexl@redhat.com>
4995 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4996 Don't crash if length is NULL