1 2008-09-02 Michael Natterer <mitch@imendio.com>
3 * *.h: big header formatting cleanup: indentation, vtable
4 formatting, consistent spacing in (* vfunc), trailing whitespace
5 removal. Formatting should be pretty consistent in all GIO headers
8 2008-09-02 Matthias Clasen <mclasen@redhat.com>
10 * gmount.h: Document guess_content_type sync vfunc.
12 2008-09-02 Michael Natterer <mitch@imendio.com>
14 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
15 fix parent_class member to be GFilterOutputStreamClass (not
16 GOutputStreamClass). Drop three pointers of padding, which is
17 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
18 so the class struct size stays the same.
20 2008-09-02 Matthias Clasen <mclasen@redhat.com>
22 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
24 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
25 nonexisting return values. Pointed out by Cosimo Cecchi.
27 2008-08-23 Tor Lillqvist <tml@novell.com>
29 Bug 548988 - g_file_replace fails on Windows when the target file
32 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
33 Windows, close the file before potentially renaming it (in case we
34 have been writing to a file with a temporary name).
36 (g_local_file_output_stream_close, handle_overwrite_open): Use
37 GLocalFileStat instead of plain struct stat, for passing to
38 _g_local_file_info_create_etag(). Thus also use _fstati64()
39 instead of plain fstat() on Windows.
41 2008-08-18 Matthias Clasen <mclasen@redhat.com>
43 * === Released 2.17.7 ===
45 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
47 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
50 2008-08-13 Tor Lillqvist <tml@novell.com>
54 * win32/gwinhttpfile.c
55 * win32/gwinhttpfileinputstream.c
56 * win32/gwinhttpfileoutputstream.c: Refactor some common code
57 snippets into helper functions. Check HTTP response status
58 codes. Implement g_winhttp_file_query_info(), looking at
59 Content-Length, Content-Type and Last-Modified.
61 * win32/winhttp.h: Add some symbolic constants that are not
62 publicly documented. Just a handful, so it should be OK to use
63 information from the Windows SDK's headers.
65 2008-08-13 Tor Lillqvist <tml@novell.com>
67 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
70 * win32/gwin32directorymonitor.c
71 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
73 2008-08-13 Matthias Clasen <mclasen@redhat.com>
76 * goutputstream.c: Add intro docs.
78 2008-08-13 Tor Lillqvist <tml@novell.com>
80 * win32/gwinhttpfileoutputstream.c
81 (g_winhttp_file_output_stream_write): Don't write the
82 Content-Length header ourselves, WinHttpSendRequest() takes care
83 of that when the dwTotalLength parameter is non-zero. Increment
84 offset by the number of actual bytes sent, although I wonder if
85 such a scenario is possible where less than requested would be
86 sent and accepted by the server without errors.
88 2008-08-13 Tor Lillqvist <tml@novell.com>
92 * win32/gwinhttpfile.c
93 * win32/gwinhttpfile.h
94 * win32/gwinhttpfileinputstream.c
95 * win32/gwinhttpfileinputstream.h
96 * win32/gwinhttpfileoutputstream.c
97 * win32/gwinhttpfileoutputstream.h: New files implementing
98 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
99 Windows. The implementation uses the WinHttp API. Both reading and
100 writing are supported, i.e. GET and PUT requests. When writing,
101 each write call is done using a separate PUT request with a
102 Content-Range header. Requests for file URIs and plain pathnames
103 are forwarded to GLocalVfs.
105 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
106 WINE. Used as there is no <winhttp.h> bundled with mingw, and
107 requiring people to download the Windows SDK just for this one
108 header is not reasonable.
110 * win32/Makefile.am: Add above files.
112 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
113 the plumbing for the above.
115 2008-08-11 Sven Neumann <sven@gimp.org>
117 * gfilenamecompleter.c
118 * glocaldirectorymonitor.c
120 * gunionvolumemonitor.c
124 * gunixvolumemonitor.c
127 * gwin32volumemonitor.c: use canonical signal names.
129 2008-08-11 Tor Lillqvist <tml@novell.com>
131 * Makefile.am: Put a list of the platform-dependent .la files in
132 the subdirectories in the platform_deps Make variable, and make
133 libgio-2.0.la depend on that, so that it gets relinked if one of
134 the dependent libraries has changed.
136 2008-08-11 Tor Lillqvist <tml@novell.com>
138 * Makefile.am (platform_libadd): Remove -lwininet which had been
139 added by mistake. We will probably eventually be using WinHTTP,
140 not the older WinInet anyway. (Actually I am working on it.)
142 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
144 Bug 547080 – g_file_copy leaks expected errors
146 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
147 before trying the next fallback routine.
149 2008-08-09 Loïc Minier <lool@dooz.org>
151 Bug 535124 – umask 002 not being applied for new directories, new
152 files get the correct umask
154 * gfile.c (g_file_make_directory)
155 (g_file_make_directory_with_parents): Document ownership and
156 permissions of newly created directories as being the default
159 2008-08-08 Loïc Minier <lool@dooz.org>
161 Bug 535124 – umask 002 not being applied for new directories, new
162 files get the correct umask
164 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
167 2008-08-08 Tor Lillqvist <tml@novell.com>
169 * gwin32mount.c: Remove unused code. Whitespace cleanup.
171 * gwin32volumemonitor.c (get_connected_drives): Put questionable
172 code that didn't actually do anything inside #if 0, and add a
173 comment wondering what the code was supposed to do. This also gets
174 rid of a leftover debugging printout.
176 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
178 * gfileicon.c (g_file_icon_get_property)
179 (g_file_icon_set_property): New functions.
180 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
182 (g_file_icon_new): Use the property (bug #546132).
184 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
186 * gthemedicon.c (g_themed_icon_get_property): Also handle
187 `PROP_USE_DEFAULT_FALLBACKS'.
188 (g_themed_icon_class_init): Make
189 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
191 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
193 Bug 546371 – Improve docs re g_file_monitor
195 * gfilemonitor.c: Mention g_file_monitor() in the docs.
197 2008-08-04 Matthias Clasen <mclasen@redhat.com>
199 * === Released 2.17.6 ===
201 2008-08-04 Matthias Clasen <mclasen@redhat.com>
203 * === Released 2.17.5 ===
205 2008-08-04 Matthias Clasen <mclasen@redhat.com>
207 Bug 546017 – Don't copy attributes when copying a symlink
209 * gfile.c (g_file_copy_attributes): Specify
210 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
211 g_file_set_attributes_from_info. Patch by Christian Kellner
213 2008-08-04 Matthias Clasen <mclasen@redhat.com>
215 * gemblemedicon.[hc]:
217 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
218 a bit more extensible. Work by Clemens Buss.
220 * gioenums.h: Add GEmblemOrigin.
223 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
225 Bug 546079 – leak in xdgmime
227 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
229 2008-08-03 Tor Lillqvist <tml@novell.com>
231 * win32/gwin32directorymonitor.h
232 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
235 2008-08-03 Tor Lillqvist <tml@novell.com>
237 * win32/gwin32directorymonitor.c
238 (g_win32_directory_monitor_callback): Make prototype match
239 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
240 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
243 (g_win32_directory_monitor_constructor):
244 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
245 names in the GLib API on Windows, so convert to UTF-16 and open
248 2008-08-03 Tor Lillqvist <tml@novell.com>
250 Bug 541036 - Gnumeric crashes when trying to open Desktop or
251 user's folder under Windows
253 * win32/gwin32directorymonitor.c
254 (g_win32_directory_monitor_constructor): Ignore error from
255 CreateFile() when opening directory. Instead of asserting, just
256 store INVALID_HANDLE_VALUE then in
257 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
258 ReadDirectoryChangesW().
259 (g_win32_directory_monitor_cancel): Don't attempt to close
260 directory handle if it is INVALID_HANDLE_VALUE.
262 2008-08-01 Matthias Clasen <mclasen@redhat.com>
264 * gdesktopappinfo.c: Remove debug spew
266 2008-08-01 Hans Breuer <hans@breuer.org>
268 * makefile.msc : add gemblembedicon
270 2008-07-30 Matthias Clasen <mclasen@redhat.com>
272 Bug 545457 – gdmsetup crashed with SIGSEGV in
273 g_unix_mount_guess_should_display()
275 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
276 crash if no mount is found.
278 2008-07-28 Matthias Clasen <mclasen@redhat.com>
280 Bug 545203 – gfile.c: argument is different type.
282 * gfile.c (open_read_async_thread): Pass a GError **
283 to g_file_set_error_literal.
284 Reported by Kazuki Iwamoto
286 2008-07-28 Matthias Clasen <mclasen@redhat.com>
288 Bug 545157 – wrong/no list of "open with" applications for .cc and
291 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
292 Collect all ancestors, not just direct parents. Pointed
293 out by Bastien Nocera
295 2008-07-28 Matthias Clasen <mclasen@redhat.com>
297 * Makefile.am: Install gemblemedicon.h
299 2008-07-28 Matthias Clasen <mclasen@redhat.com>
301 * gemblemedicon.[hc]: Add a GIcon implementation that can
302 add an emblem to another icon.
309 * gfileicon.c: Small documentation additions.
311 2008-07-28 Tor Lillqvist <tml@novell.com>
313 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
316 2008-07-27 Tor Lillqvist <tml@novell.com>
318 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
320 2008-07-24 David Zeuthen <davidz@redhat.com>
324 Also export a g_mount_guess_content_type_sync() function.
326 2008-07-23 Matthias Clasen <mclasen@redhat.com>
328 529694 – SELinux context setting support
330 * gfileinfo.c: Support setting selinux attributes.
331 Patch by Tomas Bzatek
333 2008-07-22 Priit Laes <plaes@plaes.org>
335 Bug 544140 - fam-helper 64-bit issue?
337 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
339 2008-07-21 Matthias Clasen <mclasen@redhat.com>
341 * === Released 2.17.4 ===
343 2008-07-20 Matthias Clasen <mclasen@redhat.com>
345 * gvolumemonitor.[hc]:
350 * gmount.c: Documentation fixes
352 2008-07-19 Matthias Clasen <mclasen@redhat.com>
354 543504 – crash in Epiphany Web Browser: Opening local file
365 * gvolume.c: Register types thread-safely.
366 Patch by Christian Persch
368 2008-07-18 Matthias Clasen <mclasen@redhat.com>
370 * gcontenttype.c: Remove debug spew
372 2008-07-18 Matthias Clasen <mclasen@redhat.com>
374 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
377 * fen/fen-kernel.c: Remove a warning that was causing
378 crashes. Reported by Lin Ma.
380 2008-07-18 Matthias Clasen <mclasen@redhat.com>
382 Bug 543040 – async reading on dummy file will crash on
385 * gfile.c (open_read_async_thread): Cope with read_fn being
386 NULL. Reported by Lin Ma.
388 2008-07-18 Matthias Clasen <mclasen@redhat.com>
391 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
393 2008-07-16 Matthias Clasen <mclasen@redhat.com>
397 * giomodule.c: Rename a chapter id to avoid filename conflict.
399 2008-07-16 Matthias Clasen <mclasen@redhat.com>
401 Bug 540616 – mem leak in filechooser button
403 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
404 the mount entry. Reported by Chrisitan Persch
406 2008-07-16 Matthias Clasen <mclasen@redhat.com>
408 * gfile.c: Small documentation fixes.
410 2008-07-15 Matthias Clasen <mclasen@redhat.com>
412 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
414 2008-07-08 Matthias Clasen <mclasen@redhat.com>
419 * gmount.c: Documentation improvements.
421 2008-07-08 Matthias Clasen <mclasen@redhat.com>
424 * gmount.[hc]: Add g_mount_guess_content_type().
426 2008-07-06 David Zeuthen <davidz@redhat.com>
429 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
430 is needed for easily handling adoption of foreign volumes by
431 out-of-process volume monitors (#541793)
433 2008-07-06 David Zeuthen <davidz@redhat.com>
435 * gvolumemonitor.[ch]:
436 * gunionvolumemonitor.c: Export the eject-button signal on the
437 volume monitor class (#541794).
439 2008-07-06 Matthias Clasen <mclasen@redhat.com>
441 * gappinfo.c: More doc tweaks
443 2008-07-05 Matthias Clasen <mclasen@redhat.com>
445 * gappinfo.c: Clarify some docs
447 2008-07-03 Matthias Clasen <mclasen@redhat.com>
449 * gdesktopappinfo.c: Fix a stupid mistake.
451 2008-07-02 Matthias Clasen <mclasen@redhat.com>
453 * === Released 2.17.3 ===
455 2008-07-02 Matthias Clasen <mclasen@redhat.com>
457 * gfilemonitor.c: Fix the build.
459 2008-07-02 Matthias Clasen <mclasen@redhat.com>
461 Bug 536160 – Add g_file_monitor()
464 * gfile.[hc]: Add g_file_monitor which can return either
465 a file or a directory monitor. Proposed by Behdad Esfahbod
467 2008-07-02 Matthias Clasen <mclasen@redhat.com>
469 536733 – gio build failure on Irix
471 * glocalfile.c: Use a configure check for structfs.f_bavail.
473 2008-07-02 Matthias Clasen <mclasen@redhat.com>
475 Bug 534639 – add g_desktop_app_info_new_from_keyfile
478 * gdesktopappinfo.[hc]: Add a function to create a
479 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
481 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
483 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
485 2008-07-01 Matthias Clasen <mclasen@redhat.com>
487 * gunixmounts.c: Fix a doc typo.
489 2008-07-01 Cody Russell <bratsche@gnome.org>
491 * gio/gcontenttype.c:
492 * gio/gwin32appinfo.c:
493 * gio/gwin32volumemonitor.c:
494 * gio/gwin32mount.c: Fixed some include problems.
496 2008-07-01 Cody Russell <bratsche@gnome.org>
500 Moved all relevant typedefs into these files.
503 Updated wrt added files.
505 Split types into separate file for easier maintainership. (#538564)
507 2008-06-30 Matthias Clasen <mclasen@redhat.com>
509 Bug 540331 – g_file_append_to () documentation: can return NULL
511 * gfile.c (g_file_append_to): Clarify docs.
514 2008-06-30 Matthias Clasen <mclasen@redhat.com>
516 Bug 539090 – g_content_type_from_mime_type() should unalias
518 * gcontentype.c (g_content_type_from_mime_type): Unalias.
519 Patch by Markus Bergman
521 2008-06-30 Matthias Clasen <mclasen@redhat.com>
523 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
526 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
527 on ppc and alpha. Reported by Mart Raudsepp
529 2008-06-29 Matthias Clasen <mclasen@redhat.com>
532 * tests/memory-output-stream.c: Add some tests for
535 2008-06-29 Matthias Clasen <mclasen@redhat.com>
537 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
540 * gmemoryoutputstream.c (array_resize): Handle truncation to
541 zero correctly. Reported by Akira Tagoh
543 2008-06-29 Matthias Clasen <mclasen@redhat.com>
545 * gmemoryoutputstream.c: Trivial doc fixes
547 2008-06-29 Matthias Clasen <mclasen@redhat.com>
549 Bug 540802 – g_list_prepend doesn't concat lists
551 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
552 one list to another. Pointed out by Jan Arne Petersen
554 2008-06-28 Michael Natterer <mitch@imendio.com>
556 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
558 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
560 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
561 to avoid problems with partial icon themes.
563 2008-06-17 Hans Breuer <hans@breuer.org>
565 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
566 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
567 access again on win32, see bug #538127
568 * giomodule.c : ensure GWin32VolumeMonitor is registered
569 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
570 * Makefile.am makefile.msc : updated
572 2008-06-16 Hans Breuer <hans@breuer.org>
574 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
575 and initialization in one step avoids c99ism
577 2008-06-16 Christian Persch <chpe@gnome.org>
580 * gio/gbufferedinputstream.c
582 * gio/gdatainputstream.c
583 * gio/gdesktopappinfo.c
585 * gio/gfileenumerator.c
586 * gio/gfileinputstream.c
587 * gio/gfileoutputstream.c
589 * gio/glocaldirectorymonitor.c
591 * gio/glocalfileenumerator.c
592 * gio/glocalfileinfo.c
593 * gio/glocalfilemonitor.c
594 * gio/glocalfileoutputstream.c
595 * gio/gmemoryinputstream.c
596 * gio/gmemoryoutputstream.c
597 * gio/goutputstream.c
598 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
601 2008-06-16 Tor Lillqvist <tml@novell.com>
603 Bug 538362 - Get Win32 icons back in the file chooser
605 * gcontenttype.c (g_content_type_get_icon): Look up the icon
606 corresponding to a file extension in the Registry. Patch by Hans
608 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
610 2008-06-16 Tor Lillqvist <tml@novell.com>
612 Patches by Hans Breuer:
614 * glocalfile.c (is_xp_or_later): Handle compiling against older
615 SDK headers with missing VerifyVersionInfo(). Conditioned on
616 _MSC_VER, but should probably use some better test.
617 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
618 uninitialised statfs_result variable on Win32.
620 2008-06-16 Michael Natterer <mitch@imendio.com>
622 * *.c: chain up unconditionally in finalize() and dispose(). Also
623 don't dereference these function pointers when calling them since
624 that has no meaning at all.
626 2008-06-16 Ross Burton <ross@burtonini.com>
629 Remove check for dispose implementation as it annoys Emmanuele.
631 2008-06-16 Ross Burton <ross@burtonini.com>
633 Bug 536252 – GFileEnumerator should allow access to the containing
639 Add g_file_enumerator_get_container() and a container writeable
640 construct-only property. Also shuffle around typedefs to make it
643 * glocalfileenumerator.c:
644 * glocalfileenumerator.h:
646 Instead of a string filename take a GFile in the constructor and
647 use it to set the container property.
652 2008-06-16 Matthias Clasen <mclasen@redhat.com>
654 * gfile.c: Make includes more uniform
656 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
658 * tests/live-g-file.c (sample_struct):
659 Use less fancy unicode filenames, so the test doesn't fail
660 on Mac OS X (#531476).
662 2008-06-12 Matthias Clasen <mclasen@redhat.com>
664 * === Released 2.17.2 ===
666 2008-06-12 Matthias Clasen <mclasen@redhat.com>
668 * === Released 2.17.1 ===
670 2008-06-11 A. Walton <awalton@gnome.org>
672 * tests/g-file.c (test_g_file_new_null):
673 Fix broken test case.
675 2008-06-11 Matthias Clasen <mclasen@redhat.com>
677 * pltcheck.sh: We use g_clear_error now.
679 2008-06-11 Matthias Clasen <mclasen@redhat.com>
681 * glocalfile.c (g_local_file_enumerate_children): Revert
682 an unintended change.
684 2008-06-11 Matthias Clasen <mclasen@redhat.com>
686 * gfile.c (g_file_replace_contents): Don't unref before the last use.
688 2008-06-10 Matthias Clasen <mclasen@redhat.com>
690 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
693 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
694 as icon for the desktop directory, also make user-home and
695 user-desktop the preferred icons.
697 2008-06-10 Matthias Clasen <mclasen@redhat.com>
700 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
701 to add a name to the front of the list.
703 2008-06-10 Matthias Clasen <mclasen@redhat.com>
705 Bug 537392 – Additional colon in xattr name
707 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
708 too. Reported by Alessandro Morandi
710 2008-06-10 Matthias Clasen <mclasen@redhat.com>
712 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
715 * glocalfile.c (get_fs_type): Add afs and autofs.
716 Patch by Danny Baumann.
718 2008-06-10 Matthias Clasen <mclasen@redhat.com>
720 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
722 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
723 is no parent. (Owen Taylor, patch by Christian Neumair)
725 2008-06-10 Paolo Borelli <pborelli@katamail.com>
727 * gfile.c (g_file_replace_contents): do not leak the output stream.
729 2008-06-10 Michael Natterer <mitch@imendio.com>
731 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
732 uninitialized memory as array index.
734 2008-06-10 Tor Lillqvist <tml@novell.com>
736 * gcontenttype.c (g_content_type_can_be_executable)
737 (g_content_type_get_icon) [Win32]: Add TODO comments.
739 2008-06-09 Matthias Clasen <mclasen@redhat.com>
741 * xdgmime/Makefile.am: Fix the build
743 2008-06-09 Matthias Clasen <mclasen@redhat.com>
745 * gcontenttype.c (g_content_type_get_icon): Use icons specified
746 in the shared mime database, if available.
748 * xdgmime/*: Sync with upstream. This brings support for
749 glob weights, generic icons, and changes the cache format to
752 2008-05-28 Michael Natterer <mitch@imendio.com>
754 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
755 the global CPPFLAGS now.
757 * tests/data-input-stream.c
758 * tests/data-output-stream.c
759 * tests/g-file-info.c
761 * tests/live-g-file.c
762 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
764 2008-05-27 Matthias Clasen <mclasen@redhat.com>
766 * === Released 2.17.0 ===
768 * tests/live-g-file.c: Clean up after the tests, so make distcheck
769 doesn't complain about leftover files.
771 2008-05-27 simon.zheng <simon.zheng@sun.com>
773 * glocalfile.c: (g_local_file_query_filesystem_info):
774 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
776 2008-05-26 Michael Natterer <mitch@imendio.com>
778 * gmemoryoutputstream.h: declare
779 g_memory_output_stream_get_data_size().
781 2008-05-26 Matthias Clasen <mclasen@redhat.com>
783 * tests/*: Make tests work
785 2008-05-26 Matthias Clasen <mclasen@redhat.com>
787 * gio.symbols: Add g_memory_output_stream_get_data_size.
789 2008-05-25 Ross Burton <ross@burtonini.com>
792 Fix typo in error message (#534764).
794 2008-05-25 Ross Burton <ross@burtonini.com>
797 Fix circular dependency loop for gioenumtypes.h (#534759).
799 2008-05-19 Hans Breuer <hans@breuer.org>
801 * Makefile.am : EXTRA_DIST += makefile.msc
803 2008-05-17 Matthias Clasen <mclasen@redhat.com>
806 * gcontenttype.c: (g_content_type_from_mime_type):
807 New function to create a content type from a mime type. (#527175,
810 2008-05-17 Matthias Clasen <mclasen@redhat.com>
812 Bug 532965 – Should not return filesystem::free for certain file systems
814 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
815 free space for ncpfs.
817 2008-05-17 Matthias Clasen <mclasen@redhat.com>
819 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
821 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
822 st_dev might be zero.
824 2008-05-16 Tor Lillqvist <tml@novell.com>
826 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
827 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
829 2008-05-13 Bastien Nocera <hadess@hadess.net>
831 * gfile.c (has_valid_scheme): A URI scheme must start with a
832 letter, even if later more characters are allowed (#532852)
834 2008-05-05 Michael Natterer <mitch@imendio.com>
836 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
837 code from being checked in that breaks the build of applications
838 which use G_DISABLE_SINGLE_INCLUDES.
840 * makegioalias.pl: make the alias file include "glib.h" instead of
843 * gio.symbols: whitespace change to force regeneration of the
844 alias file after above script change.
846 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
848 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
850 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
852 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
854 2008-04-28 David Zeuthen <davidz@redhat.com>
856 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
857 displaying mounts in a subdirectory not accessible to the
860 2008-04-22 Michael Natterer <mitch@imendio.com>
862 * Makefile.am: fix library versioning (it was 0.0.0).
864 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
866 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
867 Default disable all loggings.
868 * fen/fen-kernel.c: (printevent), (port_add_kevent),
869 (port_fetch_event_cb): Fixed two macro nits.
871 2008-04-16 Matthias Clasen <mclasen@redhat.com>
873 * xdgmime/xdgmime.c: Rework the timestamp checking code
874 to protect against duplicate directories in XDG_DATA_DIRS.
875 Fixes fd.o bug 12513, reported by Joe Shaw.
877 2008-04-16 Matthias Clasen <mclasen@redhat.com>
879 Partically revert the last commit after realizing that
880 xdg_mime_media_type_equal doesn't have to init at all.
883 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
885 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
887 2008-04-16 Matthias Clasen <mclasen@redhat.com>
889 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
890 reported by Joe Shaw and Federico Mena Quintero.
892 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
893 (xdg_mime_media_type_equal): Turn into a wrapper around the
896 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
897 functions throughout.
899 2008-04-16 Michael Meeks <michael.meeks@novell.com>
901 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
902 tolerate an empty TryExec= line without failing; nautilus used
903 to create launchers with these in previous versions. Fixes #528433
905 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
907 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
908 after name. Fixes #527132.
910 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
912 * gfile.c: (g_file_replace):
915 2008-04-07 Matthias Clasen <mclasen@redhat.com>
917 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
919 * gfile.c (file_copy_fallback): Fix the argument order. Patch
920 by Christian Kellner.
922 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
924 * gunixmounts.c: (g_unix_mount_guess_should_display):
925 Don't list the user directory as a mount, fix potential issue
926 when other users have a similar naming and don't special case the
927 gvfs mounts there since that's not required (#525866)
929 2008-03-31 Alexander Larsson <alexl@redhat.com>
931 * glocalfile.c (get_parent):
934 2008-03-31 A. Walton <awalton@svn.gnome.org>
936 * gfile.c (g_file_query_file_type):
937 Always return a GFileType enum value (#520715).
939 2008-03-31 Alexander Larsson <alexl@redhat.com>
941 * glocalfileenumerator.c:
942 Read readdir() info in chunks (of 1000) and sort
943 the chunks by inode before stat:ing.
944 This is a 20% performance increase in testing
945 gvfs-ls on /usr/bin with cold cache.
947 2008-03-31 Alexander Larsson <alexl@redhat.com>
949 * gmemoryoutputstream.c:
950 Clarify docs for g_memory_output_stream_get_size.
951 Add g_memory_output_stream_get_data_size.
953 2008-03-30 Matthias Clasen <mclasen@redhat.com>
957 * gfile.h: Add g_file_query_file_type convenience function
958 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
960 2008-03-30 Matthias Clasen <mclasen@redhat.com>
963 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
965 2008-03-28 A. Walton <awalton@svn.gnome.org>
967 * giomodule.c (_g_io_modules_ensure_loaded):
968 Adds GIO_EXTRA_MODULES environment variable support, closing bug
971 2008-03-28 Alexander Larsson <alexl@redhat.com>
974 (copy_stream_with_progress):
977 2008-03-28 Alexander Larsson <alexl@redhat.com>
980 (copy_stream_with_progress):
981 (file_copy_fallback):
982 Fallback to g_file_query_info for source size
983 if g_file_input_stream_query_info fails. (#524579)
985 2008-03-28 Alexander Larsson <alexl@redhat.com>
987 * glocalfile.c (g_local_file_move):
988 Reuse old string instead of adding new one.
990 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
992 * fen/*.[hc]: still copyright issue. I hate copyright.
994 2008-03-27 Alexander Larsson <alexl@redhat.com>
996 * glocalfile.c (g_local_file_move):
997 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
998 file over directory. This is according to the docs and what the move via
999 copy+remove fallback does.
1001 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1003 * fen/*.[hc]: Updated copyright.
1005 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1007 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1009 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1011 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1012 not emit attribute changed events when optimizing changed events.
1013 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1016 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1018 * gmountoperation.[hc]: Small documentation additions
1020 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1022 * gunixmounts.c: (guess_mount_type):
1023 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1025 2008-03-19 Alexander Larsson <alexl@redhat.com>
1028 (copy_stream_with_progress):
1029 Bump block side for copy to 64k to minimize
1030 overhead for low latency links. (#523015)
1032 2008-03-16 Tor Lillqvist <tml@novell.com>
1034 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1035 depend on gio.def on Windows.
1037 2008-03-12 David Zeuthen <davidz@redhat.com>
1041 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1043 2008-03-14 Alexander Larsson <alexl@redhat.com>
1047 Avoid redudant tests (#521851)
1048 Patch from Josselin Mouette
1050 2008-03-14 Alexander Larsson <alexl@redhat.com>
1053 (g_file_monitor_is_cancelled):
1054 Fix C89 issue (#521672)
1055 Patch from Jens Granseuer
1057 2008-03-14 Alexander Larsson <alexl@redhat.com>
1059 * fam/fam-helper.[ch]:
1061 Shut down fam (including removing fam GSource) when
1062 module is unloaded (#521513)
1063 Patch from Joe Marcus Clarke
1065 2008-03-14 Alexander Larsson <alexl@redhat.com>
1068 (_g_io_modules_ensure_loaded):
1071 2008-03-14 Alexander Larsson <alexl@redhat.com>
1074 (g_local_file_query_filesystem_info):
1075 Use right define name for f_fstypename member check
1077 2008-03-14 Alexander Larsson <alexl@redhat.com>
1080 * fen/Makefile.am: Added.
1081 * fen/fen-data.[ch]: Added.
1082 * fen/fen-dump.[ch]: Added.
1083 * fen/fen-helper.[ch]: Added.
1084 * fen/fen-kernel.[ch]: Added.
1085 * fen/fen-missing.[ch]: Added.
1086 * fen/fen-node.[ch]: Added.
1087 * fen/fen-sub.[ch]: Added.
1088 * fen/gfendirectorymonitor.[ch]: Added.
1089 * fen/gfenfilemonitor.[ch]: Added.
1091 Added Solaris FEN file notification backend.
1092 Patch from Lin Ma <Lin.Ma@Sun.COM>
1094 2008-03-13 Tor Lillqvist <tml@novell.com>
1096 * Makefile.am: Actually use the gio.def file when linking the
1097 library on Windows. Produce .lib library for Microsoft's toolchain
1098 when possible. Install the .lib and .def file like for the other
1101 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1103 * tests/live-g-file.c:
1104 Include live-g-file in standard set of tests, making a temporary
1105 directory in source structure.
1107 Clean target directory before the tests (write mode only)
1109 2008-03-12 Tor Lillqvist <tml@novell.com>
1111 Bug 517419 - gio win32 directory monitor
1112 Implementation by Vlad Grecescu.
1115 * win32/gwin32directorymonitor.h
1116 * win32/gwin32directorymonitor.c: New files.
1118 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1120 * Makefile.am: Add the win32 subdirectory.
1122 2008-03-12 Tor Lillqvist <tml@novell.com>
1124 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1125 normal struct stat on Unix but struct _stati64 on Windows to have
1126 access to 64-bit file size information. Use that instead of struct
1127 stat in the functions declared here in this private header.
1129 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1130 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1131 warnings about unused functions and variables. Don't set
1132 meaningless attributes like inode numbers on Windows.
1134 2008-03-12 Benjamin Otte <otte@gnome.org>
1137 trim whitespace so gtk-doc groks the function name
1139 2008-03-12 Tor Lillqvist <tml@novell.com>
1141 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1142 returning FALSE, on Win32.
1144 2008-03-11 Alexander Larsson <alexl@redhat.com>
1147 * glocalfileinfo.[ch]:
1148 Correctly implement can_trash by actually
1149 looking for a trash dir, not just assuming
1152 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1154 * === Released 2.16.1 ===
1156 2008-03-11 Alexander Larsson <alexl@redhat.com>
1159 Fix crashes in new constructor and properties code
1161 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1163 * gfile.c: Minor spelling correction in documentation:
1164 existance -> existence.
1166 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1168 * === Released 2.16.0 ===
1170 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1172 * gio.symbols: Remove g_file_contains_file here, too.
1174 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1176 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1177 Samuel Cormier-Iijima)
1179 2008-03-08 Tor Lillqvist <tml@novell.com>
1181 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1184 2008-03-07 Alexander Larsson <alexl@redhat.com>
1187 (g_local_file_query_filesystem_info):
1188 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1189 Patch from Jasper Lievisse Adriaanse
1191 2008-03-06 Tor Lillqvist <tml@novell.com>
1193 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1194 comments for the *_USEC attributes.
1196 2008-03-06 Alexander Larsson <alexl@redhat.com>
1198 * gfile.c (g_file_query_exists):
1199 Add g_return_val_if_fail check (#520700)
1201 2008-03-06 Alexander Larsson <alexl@redhat.com>
1203 * gdesktopappinfo.c:
1206 * gunionvolumemonitor.c:
1209 * tests/live-g-file.c:
1210 * xdgmime/xdgmimecache.c:
1211 Fix sparse warnings (#519489)
1213 2008-03-05 Alexander Larsson <alexl@redhat.com>
1216 Make cancellation threadsafe (i.e.
1217 guarantee its only done once, and always
1220 * glocaldirectorymonitor.c:
1221 Make sure we the monitor lives while the
1222 mounts_changed callback is being called (#520484)
1224 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1226 * gbufferedinputstream.c: Fix typo in parameter
1229 2008-03-04 Alexander Larsson <alexl@redhat.com>
1232 Remove deprecated symbols we kept for one release.
1234 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1237 * goutputstream.c: Tiny documentation corrections.
1239 2008-03-03 Alexander Larsson <alexl@redhat.com>
1241 * gunionvolumemonitor.c:
1243 Fix the adopt_orphan_mount vfunc to take a
1244 volume_monitor reference in an ABI compat way.
1245 This change is not API compat, but the added
1246 arg is not used in the only user of this vfunc, so
1247 all we get is a harmless warning in gvfs (#520169)
1249 2008-03-01 Benjamin Otte <otte@gnome.org>
1252 clarify docs for g_file_delete().
1254 2008-02-29 Alexander Larsson <alexl@redhat.com>
1258 Make sure empty files get text/plain type (#518720)
1260 2008-02-27 Alexander Larsson <alexl@redhat.com>
1266 (g_unix_volume_mount):
1267 Add missing GMountMountFlags argument
1269 2008-02-26 Alexander Larsson <alexl@redhat.com>
1272 (g_local_file_delete):
1273 Handle filesystems (like ntfs-3g) that return EEXIST instead
1274 of ENOTEMPTY (#518816)
1276 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1278 * === Released 2.15.6 ===
1280 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1282 * gfile.c (g_file_find_enclosing_mount):
1283 * ginputstream.c (g_input_stream_set_pending):
1284 * glocalfile.c (g_local_file_find_enclosing_mount):
1285 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1286 * goutputstream.c (g_output_stream_set_pending):
1288 Fixup translator comments (#518578).
1290 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1292 * gfile.c (g_file_find_enclosing_mount):
1294 * glocalfile.c (g_local_file_find_enclosing_mount):
1297 Fix a few typos in translator comments and documentation.
1299 2008-02-25 Alexander Larsson <alexl@redhat.com>
1306 Add translator comments (#518578)
1308 2008-02-25 Alexander Larsson <alexl@redhat.com>
1311 Reintroduce g_file_contains_file, keep around for one
1312 unstable release cycle to avoid crashing to many apps.
1313 Make sure to delete after release.
1315 2008-02-25 Alexander Larsson <alexl@redhat.com>
1318 Remove deprecated g_file_contains_file.
1320 2008-02-25 Alexander Larsson <alexl@redhat.com>
1323 Emit actual change signals in an idle handler.
1324 This avoids reentrance and locking problems in
1325 the file notification backends.
1327 2008-02-25 Alexander Larsson <alexl@redhat.com>
1330 (g_unix_mount_guess_should_display):
1331 Remove type guessing, instead just display
1332 mounts in /media and in ~/.
1334 2008-02-25 Alexander Larsson <alexl@redhat.com>
1337 Make new strings reuse old ones.
1339 2008-02-25 Alexander Larsson <alexl@redhat.com>
1342 Implement trashing and filesystem::readonly for win32 (#517235)
1343 Patch from Yevgen Muntyan
1345 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1347 * gfileinfo.h: Documentation fixes.
1349 2008-02-22 Alexander Larsson <alexl@redhat.com>
1351 * gcontenttype.c (g_content_type_get_icon):
1352 Look at old-style gnome mime icon names too, as many
1353 have not moved to the new style.
1355 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1357 * *.c: Correct the @include in for section docs.
1359 2008-02-21 David Zeuthen <davidz@redhat.com>
1361 * glocalfileinfo.c: (_g_local_file_info_get):
1363 (g_content_type_get_icon): Implement this function by
1364 moving bits from glocalfileinfo.c
1365 (g_content_type_get_description): Unalias before getting
1366 description (#517687)
1368 * gfile.c: (g_file_class_init),
1369 (g_file_query_filesystem_info_async),
1370 (g_file_query_filesystem_info_finish),
1371 (query_filesystem_info_data_free),
1372 (query_filesystem_info_async_thread),
1373 (g_file_real_query_filesystem_info_async),
1374 (g_file_real_query_filesystem_info_finish):
1375 * gfile.h: Implement async version of
1376 g_file_query_filesystem_info()
1378 * gfileinfo.h: Add new attributes for filesystem::use-preview
1380 * gio.symbols: Update
1382 * gthemedicon.c: (g_themed_icon_append_name):
1383 * gthemedicon.h: Add new new convenience function.
1385 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1386 (get_mounts), (get_volumes), (get_connected_drives),
1387 (get_volume_for_uuid), (get_mount_for_uuid),
1388 (g_union_volume_monitor_init), (populate_union_monitor),
1389 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1390 (g_volume_monitor_adopt_orphan_mount):
1392 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1393 monitor implementations to call into the main volume monitor. Also
1394 separate object initialization and volume monitor initialization
1395 such that non-native volume monitors can properly adopt their
1398 2008-02-21 Alexander Larsson <alexl@redhat.com>
1403 2008-02-21 Alexander Larsson <alexl@redhat.com>
1406 Add more documentation about how GFiles work (from #517086)
1408 2008-02-21 Alexander Larsson <alexl@redhat.com>
1412 Add new g_file_has_prefix that does the same as g_file_contains_file.
1413 Deprecate g_file_contains_file and add a macro that converts
1414 it to g_file_has_prefix.
1415 The reason for this change is that the contains_file() name seems to
1416 imply that this does more work than what it does, but its really only
1417 a name match (from #517086)
1422 Update to match the above change.
1424 2008-02-20 Benjamin Otte <otte@gnome.org>
1426 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1427 (g_file_eject_mountable):
1428 even more cases of not returning in error path
1430 2008-02-20 Benjamin Otte <otte@gnome.org>
1432 * gfile.c: (g_file_mount_mountable):
1433 return from function in error path.
1435 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1438 Remove trailing coma in GMountMountFlags struct
1440 2008-02-18 Alexander Larsson <alexl@redhat.com>
1444 * glocalfileoutputstream.c:
1445 Use g_unlink/g_rename instead of unlink/rename;
1446 do not pass raw filenames to g_set_error. (#517239)
1447 Patch from Yevgen Muntyan.
1449 2008-02-18 Alexander Larsson <alexl@redhat.com>
1452 * glocalfileoutputstream.c:
1453 Open files with O_BINARY on windows. (#517140)
1455 2008-02-14 Alexander Larsson <alexl@redhat.com>
1457 * glocalfileoutputstream.c:
1458 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1460 2008-02-14 Alexander Larsson <alexl@redhat.com>
1463 Copy permissions with file on copy (#514084)
1464 This is what cp does and makes sure e.g. the
1465 exec permissions are kept.
1466 Its kinda weird in that it keeps the permission bits
1467 the same while the uid and gid are different. However
1468 the new uid is the user so its not a security issue,
1469 and I've heard no complaints about cp on this issue.
1471 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1473 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1475 2008-02-13 Alexander Larsson <alexl@redhat.com>
1477 * inotify/inotify-path.c:
1478 Define IN_ONLYDIR if not in header (#515346)
1480 2008-02-12 Alexander Larsson <alexl@redhat.com>
1482 * tests/live-g-file.c:
1485 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1487 * === Released 2.15.5 ===
1489 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1491 * gio.symbols: Add g_mount_mount_flags_get_type.
1493 2008-02-11 Alexander Larsson <alexl@redhat.com>
1496 (g_file_info_set_attribute_mask):
1497 (g_file_attribute_matcher_matches_id):
1498 Correctly handle NULL GAttributeMatcher meaning
1499 matches nothing. (Fixes #513492)
1501 2008-02-11 Alexander Larsson <alexl@redhat.com>
1506 Added GMountMountFlags enum and added a flags
1507 argument to all mount calls.
1509 This is an API/ABI change for future extensibility,
1510 as I think we will need at least an
1511 inhibit-autorun flag (the panel needs this).
1512 There are no flags defined yet though.
1514 2008-02-11 Alexander Larsson <alexl@redhat.com>
1517 Added new standard::description attribute.
1518 Requested by Vincent, and useful for both
1521 2008-02-11 Alexander Larsson <alexl@redhat.com>
1523 * gdesktopappinfo.c:
1526 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1528 * *.c: Documentation additions
1530 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1532 * gappinfo.h: Formatting cleanup
1533 * gappinfo.c: Fix up docs.
1535 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1537 * gunixmounts.c: Consistently use getmntent_r() and fall
1538 back to getmntent(). (#515492)
1540 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1542 * gbufferedinputstream.c:
1544 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1546 * tests/data-input-stream.c:
1547 * tests/data-output-stream.c: Portability fixes.
1549 2008-02-08 Alexander Larsson <alexl@redhat.com>
1554 Add g_volume_should_automount.
1557 2008-02-07 Tor Lillqvist <tml@novell.com>
1559 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1560 Win32, too Unix-specific.
1562 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1564 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1565 a local plt if the compiler doesn't support what we want. Bug #514702
1567 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1569 reviewed by: <delete if not using a buddy>
1572 * gunixinputstream.c:
1573 * gunixoutputstream.c:
1575 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1577 * tests/Makefile.am:
1578 * tests/live-g-file.c:
1579 * tests/live-g-file.txt:
1580 New GIO testing module working over real data
1582 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1584 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1585 Fallback to rename() if link() is not available
1586 (when no support on target filesystem)
1588 2008-02-06 Michael Natterer <mitch@imendio.com>
1590 * gfileinfo.c (g_file_info_get_icon): replace
1591 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1593 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1595 * gfile.c (g_file_create):
1596 Documentation update of error codes
1598 2008-02-06 Alexander Larsson <alexl@redhat.com>
1600 * gdesktopappinfo.c:
1601 Update to use both mimeapps.list and
1602 defaults.list as discussed on xdg list.
1604 2008-02-06 Benjamin Otte <otte@gnome.org>
1607 * gfilenamecompleter.c:
1608 Fix some typos in the documentation.
1610 2008-02-06 Alexander Larsson <alexl@redhat.com>
1612 * glocalfile.c (g_local_file_trash):
1613 Don't succeed with trash if newly created
1614 trash dir has the wrong owner. (#514696)
1616 2008-02-05 Alexander Larsson <alexl@redhat.com>
1618 * glocalfile.c (g_local_file_move):
1619 Don't spew warnings when destination is not
1622 2008-02-03 Hans Breuer <hans@breuer.org>
1624 * makefile.msc : update
1626 2008-02-01 Michael Natterer <mitch@imendio.com>
1628 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1629 return value of xdg_mime_list_mime_parents() to a variable of the
1632 2008-02-01 Alexander Larsson <alexl@redhat.com>
1634 * gappinfo.c (g_app_info_launch_uris):
1635 Actually call the launch_uris method, not
1638 2008-02-01 Alexander Larsson <alexl@redhat.com>
1640 * gdesktopappinfo.c (g_desktop_app_info_equal):
1641 Ensure appinfos with no id but same pointer value
1644 2008-02-01 Alexander Larsson <alexl@redhat.com>
1646 * gappinfo.c (g_app_info_launch_default_for_uri):
1649 2008-02-01 Alexander Larsson <alexl@redhat.com>
1653 Add g_app_info_launch_default_for_uri utility
1656 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1658 * gdesktopappinfo.c:
1659 Doc fix for g_app_info_get_default_for_uri_scheme ()
1662 2008-01-30 Alexander Larsson <alexl@redhat.com>
1665 Add doc comment about uris vs GFiles to
1668 * gdesktopappinfo.c:
1669 Ensure uris passed to g_app_info_launch_uris()
1670 are not roundtriped through GFile (as that
1671 may be slightly destructive for e.g. mailto: links)
1673 2008-01-30 Alexander Larsson <alexl@redhat.com>
1675 * tests/data-input-stream.c:
1676 * tests/data-output-stream.c:
1677 C89 fixes from Jens Granseuer (#512849)
1679 2008-01-30 Alexander Larsson <alexl@redhat.com>
1682 Fix gamin/fam difference build issue. (#509419)
1684 2008-01-29 Alexander Larsson <alexl@redhat.com>
1687 * gdesktopappinfo.c:
1688 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1690 2008-01-29 Alexander Larsson <alexl@redhat.com>
1692 * gdesktopappinfo.c:
1693 * gdesktopappinfo.h:
1694 giomodule-priv.h include moved to .c file.
1696 2008-01-29 Alexander Larsson <alexl@redhat.com>
1698 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1699 Remove unused prio/name fields.
1701 2008-01-29 Alexander Larsson <alexl@redhat.com>
1703 * gcontenttype.c (looks_like_text):
1704 Don't treat whitespace as control chars.
1706 2008-01-29 Alexander Larsson <alexl@redhat.com>
1708 * gdesktopappinfo.c:
1709 Lazily create the desktop files for appinfos created
1710 by g_app_info_create_from_commandline() when needed
1711 for mime associations. This allows run-time use
1712 of GAppInfo object without creating unnecessary
1715 2008-01-29 Alexander Larsson <alexl@redhat.com>
1718 Added new symbols to gio.symbols
1720 2008-01-29 Alexander Larsson <alexl@redhat.com>
1723 Add g_file_query_default_handler utility to easily look up
1724 the GAppInfo that handles a file.
1726 * gdesktopappinfo.[ch]:
1728 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1731 Remove unused function
1733 2008-01-29 Alexander Larsson <alexl@redhat.com>
1735 * gfileenumerator.c:
1736 Mention need to free returned value in
1737 g_file_enumerator_next_files_finish docs.
1738 Fix leak if g_file_enumerator_next_files_finish()
1741 2008-01-29 Alexander Larsson <alexl@redhat.com>
1744 (_g_unix_content_type_get_parents):
1745 Use list_parents, not get_parents from xdgmime, because
1746 the later doesn't use the cache.
1748 * xdgmime/xdgmimecache.c:
1749 (_xdg_mime_cache_list_mime_parents):
1750 Don't list the same type as parent multiple times.
1752 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1754 * === Released 2.15.4 ===
1756 2008-01-28 Alexander Larsson <alexl@redhat.com>
1759 Register local vfs with prio 0.
1762 Remove old name and prio class members
1764 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1766 * tests/g-file.c: Disable some tests that are failing in
1767 the absence of a http backend.
1769 2008-01-28 Alexander Larsson <alexl@redhat.com>
1773 Add registration hooks for extension points.
1774 Register the gio extension points.
1776 * fam/gfamdirectorymonitor.c:
1777 * fam/gfamfilemonitor.c:
1778 * glocaldirectorymonitor.[ch]:
1779 * glocalfilemonitor.[ch]:
1780 * gnativevolumemonitor.h:
1781 * gunionvolumemonitor.c:
1782 * gunixvolumemonitor.c:
1785 * inotify/ginotifydirectorymonitor.c:
1786 * inotify/ginotifyfilemonitor.c:
1787 Use the extension points registration instead
1788 of g_type_children().
1790 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1793 * gvolume.[hc]: Document new API.
1795 * gfile.c (g_file_copy_async): Fix docs
1797 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1799 * gbufferedinputstream.c:
1801 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1804 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1806 * glocalfile.c: Avoid trivial differences in translatable strings.
1808 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1810 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1811 build with gcc 3.4 (#509419)
1813 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1815 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1816 (#509994, Murray Cumming)
1818 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1820 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1821 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1822 this allows big jobs to be executed in chunks, instead of blocking
1823 the main loop for a long time.
1825 * gsimpleasyncresult.c:
1826 * giofile.c: Adapt callers.
1828 2008-01-25 Alexander Larsson <alexl@redhat.com>
1830 * gdesktopappinfo.c:
1831 Implement changes discussed on xdg list.
1832 Now we can add supported mimetypes by just using defaults.list
1833 We can also remove associations in defaults.list.
1835 2008-01-25 Alexander Larsson <alexl@redhat.com>
1837 * gdesktopappinfo.c:
1838 Don't make local copy of desktop file
1839 for mimetype changes if the file already
1840 supports the new mimetype.
1842 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1846 * gbufferedinputstream.c:
1847 * glocalfile.c: String improvements. (#511966,
1848 Theppitak Karoonboonyanan)
1850 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1852 * gioscheduler.h: Expand docs a bit.
1854 2008-01-24 Alexander Larsson <alexl@redhat.com>
1857 Add g_drive_get_identifier and
1858 g_drive_enumerate_identifiers
1861 Add g_volume_get_identifier and
1862 g_volume_enumerate_identifiers
1868 Implement identifiers for unix backend
1870 2008-01-24 Alexander Larsson <alexl@redhat.com>
1875 Add g_file_copy_async() (#511580)
1876 Based on patch from Carlos Garcia Campos
1878 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1880 * gioscheduler.c: Some documentation additions.
1882 2008-01-22 Alexander Larsson <alexl@redhat.com>
1884 * gdesktopappinfo.c:
1885 (g_desktop_app_info_new):
1886 Don't leak basename.
1888 2008-01-22 Alexander Larsson <alexl@redhat.com>
1890 * gdesktopappinfo.c:
1891 (g_desktop_app_info_new_from_filename):
1894 2008-01-22 Alexander Larsson <alexl@redhat.com>
1896 * glocalfileinfo.c (get_thumbnail_attributes):
1899 2008-01-22 Alexander Larsson <alexl@redhat.com>
1902 (canonicalize_filename):
1903 Canonicalize paths that start with more than
1907 (compare_two_files):
1908 (test_g_file_new_for_path):
1911 2008-01-22 Alexander Larsson <alexl@redhat.com>
1914 Allow UTF-8 in file:// parse names.
1916 * tests/Makefile.am:
1917 * tests/data-input-stream.c:
1918 * tests/data-output-stream.c:
1919 * tests/g-file-info.c:
1921 Added a bunch of tests from Tomas Bzatek
1923 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1925 * === Released 2.15.3 ===
1927 2008-01-21 Alexander Larsson <alexl@redhat.com>
1929 * gfileinputstream.[ch]:
1930 * gfileoutputstream.[ch]:
1932 Remove duplicated GSeekable functions. (#509990)
1933 Just use the g_seekable_xxx() calls instead.
1935 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1938 * gvolumemanager.c: Whitespace cleanups.
1940 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1941 Use the right mode when creating the file.
1943 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1945 * gfileenumerator.c:
1946 * gfileinputstream.c:
1948 * goutputstream.c: Documentation: Fixed minor typos
1949 and added more mentions of specific _finish() functions.
1951 2008-01-21 Alexander Larsson <alexl@redhat.com>
1953 * inotify/Makefile.am:
1954 * inotify/inotify-helper.c:
1955 * inotify/inotify-kernel.c:
1956 * inotify/inotify-path.c:
1957 * inotify/local_inotify.h: Removed.
1958 * inotify/local_inotify_syscalls.h: Removed.
1959 Removed the included copies of the inotify
1960 headers. We now only use the <sys/inotify.h>
1961 header which exists on modern systems.
1962 This fixes problems on ARM and SH5 (#510448)
1963 but is also generally much cleaner and future
1964 safe. For instance, if other OSes add support
1965 for inotify it should "just work".
1967 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1969 * inotify/*.c: Coding style fixes.
1970 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1971 for the 1/4 Hz timer.
1973 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1976 * gfilemonitor.[hc]:
1977 * gmemoryinputstream.c:
1978 * gmemoryoutputstream.c:
1979 * gmountoperation.c:
1980 * gthemedicon.c: Documentation updates
1982 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1984 * gfile.c: documentation: Fixed more minor
1987 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1989 * gmount.c: (g_mount_remount): documentation:
1990 Mention g_mount_remount_finish() instead of
1991 g_mount_unmount_finish().
1993 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1997 * gfile.c: Fixed some minor typos in the
2000 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2002 * gio/gvolumemonitor.c:
2003 (g_volume_monitor_get_connected_drives):
2004 (g_volume_monitor_get_volumes):
2005 (g_volume_monitor_get_mounts): Documentation:
2006 Clarify the ownership of the regurn GLists.
2008 2008-01-17 Alexander Larsson <alexl@redhat.com>
2011 Add the async find_enclosing_mount version
2012 to the header file too.
2014 2008-01-17 Alexander Larsson <alexl@redhat.com>
2017 Add async version of find_enclosing_mount
2018 with default implementation.
2020 2008-01-17 Alexander Larsson <alexl@redhat.com>
2025 Allow calls to implementation of copy and write
2026 even if the type of the file implementations is
2027 different. This can be used to implement native
2028 upload and download calls in a vfs.
2031 (g_local_file_move):
2032 Protect against the case where move is called
2033 with one file not being local.
2035 Make sure we call the progress callback once
2036 in the native move operation so that the caller
2037 knows how many bytes were copied.
2039 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2042 * gdatainputstream.c:
2044 * gfileoutputstream.c:
2049 * gunixmounts.c: Corrected some typos in the documentation:
2050 occured -> occurred.
2051 its -> it's (where appropriate).
2053 2008-01-16 Alexander Larsson <alexl@redhat.com>
2057 Add g_file_query_exists (#508771)
2059 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2064 * gvolume.c: For async functions that have no non-async
2065 version, document that the GAsyncReadyCallback may be NULL.
2068 2008-01-15 Alexander Larsson <alexl@redhat.com>
2070 * gmemoryinputstream.c:
2071 * gmemoryoutputstream.c:
2072 Don't do pointer arithmetic on void * (#508602)
2073 Patch from Kazuki IWAMOTO
2075 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2077 * === Released 2.15.2 ===
2079 2008-01-14 Alexander Larsson <alexl@redhat.com>
2081 * gfile.c (g_file_monitor_file):
2082 Don't set error here, since we fallback to polling monitor.
2084 2008-01-14 Alexander Larsson <alexl@redhat.com>
2087 (g_file_monitor_directory):
2088 (g_file_monitor_file):
2089 Add GError to file monitor calls
2091 * glocaldirectorymonitor.c:
2092 * glocaldirectorymonitor.h:
2094 * glocalfilemonitor.c:
2095 * glocalfilemonitor.h:
2097 Update for above change
2099 2008-01-14 Alexander Larsson <alexl@redhat.com>
2103 Handle root correctly in g_file_get_relative_path (#508719)
2105 2008-01-14 Alexander Larsson <alexl@redhat.com>
2108 Clean up docs and example for GAsyncResult (#508074)
2110 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2112 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2113 and correct some spelling mistakes. Bug #508108.
2115 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2117 * glocalfileinfo.c: Add a comment.
2119 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2121 * gfileinfo.c: GFileInfo description: Mention
2122 how to actually set attributes in a GFile and how to discover
2123 which attributes are settable. Bug #508378.
2125 2008-01-10 A. Walton <awalton@svn.gnome.org>
2127 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2128 (g_app_info_get_default_for_type):
2129 Check for NULL content types.
2131 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2133 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2135 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2137 * gfile.c: *_async() functions: Several small corrections
2138 to the documentation, mostly correcting copy/paste errors
2139 and improving some sentences.
2141 2008-01-09 Dan Winship <danw@gnome.org>
2143 * glocalfile.c (get_unique_filename): x86_64 fix
2145 2008-01-09 Alexander Larsson <alexl@redhat.com>
2150 Add g_unix_mount_guess_should_display and use
2151 for unix volume monitor backend.
2152 This means we more or less show what the
2153 gnome-vfs backend did.
2154 Based on patch from Padraig O'Briain
2156 2008-01-09 Alexander Larsson <alexl@redhat.com>
2160 Add g_themed_icon_new_with_default_fallbacks
2163 Use default fallbacks for icons
2165 2008-01-09 Alexander Larsson <alexl@redhat.com>
2168 * gmountoperation.[ch]:
2169 Change the API a bit so that unhandled methods
2170 get reported via the reply, rather than by
2171 the signal emission return value. This is because
2172 some handlers can't know this immediately without
2173 doing I/O, and this is an async operation that
2176 2008-01-09 Alexander Larsson <alexl@redhat.com>
2179 * fam/gfamdirectorymonitor.c:
2180 * fam/gfamfilemonitor.c:
2181 Fix double free crash (#508224)
2182 Patch from Joe Marcus Clarke
2184 008-01-07 Matthias Clasen <mclasen@redhat.com>
2186 * === Released 2.15.1 ===
2188 2008-01-07 Alexander Larsson <alexl@redhat.com>
2190 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2191 Fix warning (#507835)
2193 2008-01-07 Alexander Larsson <alexl@redhat.com>
2196 Pass --internal to glib-genmarshal
2199 * gmountoperation.c:
2201 Use better types for signal arguments (#507822)
2203 2008-01-07 Alexander Larsson <alexl@redhat.com>
2206 Build test subdir after .
2207 Remove gdirectorymonitor.[ch]
2209 * gdirectorymonitor.[ch]:
2213 Remove GDirectoryMonitor and make
2214 GFileMonitor the baseclass for both file and
2215 directory monitors. Lift the more generic
2216 rate limiting code from GDirectoryMonitor
2220 * fam/gfamdirectorymonitor.[ch]:
2221 * inotify/ginotifydirectorymonitor.[ch]:
2222 * inotify/inotify-helper.c:
2223 * glocaldirectorymonitor.[ch]:
2226 Update for the removed GDirectoryMonitor.
2228 * gmemoryoutputstream.c:
2229 Remove ununsed variable
2231 2008-01-07 Alexander Larsson <alexl@redhat.com>
2233 * gmemoryinputstream.c:
2234 Translate error strings
2237 * gmemoryoutputstream.[ch]:
2238 New implementation that avoids using GByteArray
2239 in implementation and API. (#506377)
2241 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2243 * tests/*: Add a test for memory input streams.
2245 * Makefile.am: Add tests to SUBDIRS.
2247 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2249 * glocalfilemonitor.c:
2250 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2253 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2255 * gdesktopappinfo.c: Fix a docs typo.
2257 * gfileattribute.c: Add information about extended attributes
2258 to the documentation. (#505058)
2260 2008-01-04 Alexander Larsson <alexl@redhat.com>
2263 * gmountoperation.c:
2264 Use the right type (uint) for the ask_password signal.
2266 2008-01-04 Alexander Larsson <alexl@redhat.com>
2271 Add g_app_info_supports_files()
2272 Remove desktop arg from g_app_info_should_show().
2274 * gdesktopappinfo.[ch]:
2275 Implement g_app_info_supports_files() and new should_show()
2276 Add g_desktop_app_info_set_desktop_env() to set the desktop
2277 for should_show(). (This will be set by gtk+ later)
2279 2008-01-04 Alexander Larsson <alexl@redhat.com>
2282 * gmemoryinputstream.[ch]:
2283 Improve API so that you can use multiple chunks
2284 of memory and custom destroy functions. (#506374)
2286 2008-01-03 Alexander Larsson <alexl@redhat.com>
2289 Handle NULL attribute matchers safely, as we return this
2290 for empty attribute matcher strings.
2292 2008-01-03 Alexander Larsson <alexl@redhat.com>
2294 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2295 Add /usr/local to list of internal mountpoints
2297 2008-01-03 Alexander Larsson <alexl@redhat.com>
2300 Check for HAVE_LCHOWN (#505887)
2302 2008-01-03 Alexander Larsson <alexl@redhat.com>
2306 Add define for selinux context attribute.
2307 Fix missing : -> :: namespace separator change
2308 Fix missing _ -> - name change for xattr-sys.
2311 2008-01-03 Alexander Larsson <alexl@redhat.com>
2314 Link to libglib and libgobject directly (#504879)
2315 Patch from Sebastien Bacher
2317 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2319 * gfile.c: Expanded the g_file_new_for_commandline_arg
2320 description a bit, based on the code and the docs of the
2321 other g_file_new_for_* functions.
2323 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2325 * gfilemonitor.h: Fixed typo in docs.
2327 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2329 Updates to GIO documentation. (#506395, Mikael Hermansson)
2331 * gcontenttype.c: Describe memory management for return value of
2332 g_content_types_get_registered(). Missing piece from #505815.
2333 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2334 GVolume, GDrive, GMounts, which hopefully gives the user less
2335 confusions when using this API. Following explainations from
2336 Alexander Larsson on gtk-devel-list.
2338 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2340 * gfileinfo.c: Expand the long description.
2342 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2345 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2346 fix builds with --disable-visibility. (#500273, Christian Persch)
2348 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2350 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2351 in the list of returned app infos.
2353 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2355 * gappinfo.c: Fix a cross-reference
2357 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2359 * gfileinputstream.c:
2360 * gfileoutputstream.c:
2364 * gdesktopappinfo.c:
2366 * gfileinfo.c: Documentation updates.
2368 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2370 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2373 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2375 * gcontenttype.c (g_content_types_get_registered): Don't return
2376 freed memory (#505815, Mikael Hermansson)
2378 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2380 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2381 used to detect statbuf->st_blocks. (#505042)
2383 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2385 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2386 environment handling. (#504829, Cosimo Cecchi)
2388 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2390 * gappinfo.c: Doc improvements
2392 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2395 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2397 * === Released 2.15.0 ===
2399 2007-12-20 Hans Breuer <hans@breuer.org>
2401 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2402 with symbols gwin32appinfo.obj, added gmount.obj
2403 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2405 2007-12-20 Alexander Larsson <alexl@redhat.com>
2411 * gfilenamecompleter.c:
2414 * gpollfilemonitor.c:
2415 File attribute renames:
2417 fs:: -> filesystem::
2418 id::fs -> id::filesystem
2420 2007-12-20 Alexander Larsson <alexl@redhat.com>
2429 Add GMountUnmountFlags to all unmount and
2431 Add g_mount_remount() call.
2433 2007-12-20 Alexander Larsson <alexl@redhat.com>
2435 * gvfs.c (get_default_vfs):
2436 Fix unused variable warning
2438 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2440 * pltcheck.sh: Update
2442 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2444 * gunionvolumemonitor.c:
2445 * gunixmount.c: Remove C99 comments
2447 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2449 * gio.symbols: Add some missing symbols
2451 2007-12-19 Alexander Larsson <alexl@redhat.com>
2454 Make g_io_modules_load_all_in_directory not unuse
2455 loaded modules so that users of it can do stuff
2457 Init internal "module" types.
2458 Initialize static prio and name for types so that
2459 we don't have to load modules to get it.
2461 * gnativevolumemonitor.h:
2463 Move is_supported to parent class so that
2464 non-native monitors can avoid being initialized
2465 too. (For instance GDaemonVolumeMonitor if we're
2466 not using GDaemonVfs.)
2468 * glocaldirectorymonitor.[ch]:
2469 * glocalfilemonitor.[ch]:
2470 * gunionvolumemonitor.c:
2471 * gunixvolumemonitor.c:
2473 Find plugins using the static prio+name to
2474 avoid unnecessarily loading the modules.
2476 2007-12-19 Alexander Larsson <alexl@redhat.com>
2481 2007-12-19 Alexander Larsson <alexl@redhat.com>
2483 * gunionvolumemonitor.c:
2484 Store the native type as GType, not class so that
2485 we can unload it. But still avoid unnecessarily
2488 2007-12-19 David Zeuthen <davidz@redhat.com>
2490 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2491 add signals 'disconnected' and 'eject-button' on GDrive. Add
2492 signal 'removed' on GVolume and 'unmounted' on GMount.
2494 * gdrive.c: (g_drive_base_init):
2496 * gfile.c: (g_file_mount_mountable),
2497 (g_file_mount_enclosing_volume):
2500 * gmount.c: (g_mount_base_init):
2502 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2503 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2504 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2508 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2510 * *.c: Fix up includes in the section docs.
2512 2007-12-17 Alexander Larsson <alexl@redhat.com>
2514 * gnativevolumemonitor.h:
2515 * gunionvolumemonitor.c:
2516 * gunixvolumemonitor.c:
2517 Add is_supported() to GNativeVolumeMonitorClass so
2518 that we can avoid having to create an object to see
2519 if the backend is supported at runtime.
2520 Also add name member and an env var to pick a specific
2521 volume monitor backend.
2525 Add cancellable to _g_mount_get_for_mount_path()
2527 * glocaldirectorymonitor.c:
2528 * glocalfilemonitor.c:
2529 Avoid loading and unloading modules while sorting.
2531 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2534 * gunixmounts.[hc]: Namespace waste reduction, move some
2535 g_get_unix_mount functions to the g_unix_mount namespace.
2538 * gunixvolumemonitor.c:
2540 * glocaldirectorymonitor.c: Update all callers.
2542 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2544 2007-12-17 Alexander Larsson <alexl@redhat.com>
2547 Add doc comments about what GFile operations are
2548 guaranteed to not block.
2550 2007-12-17 Alexander Larsson <alexl@redhat.com>
2553 Add missing #ifdef fixing OSX build.
2554 (#503334, patch from Richard Hult)
2556 2007-12-14 David Zeuthen <davidz@redhat.com>
2560 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2561 (g_mount_eject), (g_mount_eject_finish):
2563 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2564 (get_volume_for_uuid), (get_mount_for_uuid),
2565 (g_union_volume_monitor_class_init),
2566 (get_default_native_type_with_exclude), (get_default_native_type),
2567 (get_native_type), (update_native_type),
2568 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2569 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2570 (g_unix_mount_can_eject), (eject_unmount_cb),
2571 (eject_unmount_read_error), (eject_unmount_do),
2572 (g_unix_mount_unmount), (g_unix_mount_eject),
2573 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2574 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2575 (g_unix_mount_point_guess_can_eject):
2577 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2578 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2579 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2580 (g_unix_volume_mount), (g_unix_volume_eject),
2581 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2582 * gunixvolumemonitor.c: (get_volume_for_uuid),
2583 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2585 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2586 (g_volume_eject), (g_volume_eject_finish):
2588 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2589 (g_volume_monitor_get_mount_for_uuid):
2592 Provide eject() on both GMount and GVolume and utility functions
2593 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2594 ejected. Introduce the concept of UUID's and wire it into GVolume
2595 and GMount and provide API on GVolumeMonitor to find such
2596 instances. Also handle the case where an external
2597 GNativeVolumeMonitor fails to initialize. Lock around the
2598 _g_get_mount_for_mount_path() function such that volume monitor
2599 implementations won't have to do locking themselves.
2601 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2603 * gdesktopappinfo.c:
2609 * gvolume.h: Documentation updates
2611 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2614 * gfile.h: Doc updates
2616 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2619 * gdesktopappinfo.c: Use hash table iterators.
2621 2007-12-14 Alexander Larsson <alexl@redhat.com>
2624 * gfileattribute.[ch]:
2625 * gfileattribute-priv.h:
2626 Move GFileAttributeValue to a private header, as
2630 Make set_attribute take a type + a pointer instead
2631 of a GFileAttributeValue.
2634 Fix up for above changes.
2635 Add g_file_info_get_attribute_data to get
2636 all info in one call, g_file_info_get_attribute_status
2637 to get the status and g_file_info_get_attribute_as_string.
2641 * glocalfileinfo.[ch]:
2645 Make _guess_type static.
2647 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2650 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2651 made mkenums and friends use temporary files to avoid leaving
2652 empty generated files on failure (#503470).
2654 2007-12-14 Alexander Larsson <alexl@redhat.com>
2656 * gmountoperation.h:
2659 2007-12-14 Alexander Larsson <alexl@redhat.com>
2663 * gfileattribute.[ch]:
2666 * glocalfileoutputstream.c:
2667 * gmountoperation.[ch]:
2668 * goutputstream.[ch]:
2669 Clean up all flags enums to not have _FLAGS in them
2670 Make the names of some of the enums better.
2675 2007-12-14 Michael Natterer <mitch@imendio.com>
2677 * gio.symbols: fix g_io_scheduler symbol names.
2679 2007-12-14 Alexander Larsson <alexl@redhat.com>
2685 * gbufferedinputstream.h:
2686 * gbufferedoutputstream.h:
2689 * gdatainputstream.h:
2690 * gdataoutputstream.h:
2691 * gdesktopappinfo.h:
2692 * gdirectorymonitor.h:
2696 * gfileenumerator.h:
2699 * gfileinputstream.h:
2701 * gfilenamecompleter.h:
2702 * gfileoutputstream.h:
2703 * gfilterinputstream.h:
2704 * gfilteroutputstream.h:
2712 * gmemoryinputstream.h:
2713 * gmemoryoutputstream.h:
2715 * gmountoperation.h:
2718 * gsimpleasyncresult.h:
2720 * gunixinputstream.h:
2722 * gunixoutputstream.h:
2726 * inotify/Makefile.am:
2727 Only allow including <gio/gio.h> from apps
2729 2007-12-14 Alexander Larsson <alexl@redhat.com>
2731 * gioscheduler.[ch]:
2732 * gsimpleasyncresult.c:
2733 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2734 Split out the send_to_mainloop call into two versions instead
2735 of having the block argument.
2737 2007-12-13 Alexander Larsson <alexl@redhat.com>
2739 * gcancellable.[ch]:
2741 * gbufferedinputstream.c:
2742 * gfileenumerator.c:
2743 * gfileinputstream.c:
2744 * gfileoutputstream.c:
2748 g_push/pop_current_cancellable ->
2749 g_cancellable_push/pop_current
2751 2007-12-13 Alexander Larsson <alexl@redhat.com>
2755 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2757 2007-12-13 Alexander Larsson <alexl@redhat.com>
2759 * gmountoperation.h:
2760 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2762 2007-12-12 Alexander Larsson <alexl@redhat.com>
2765 Fix race condition when freeing proxy in
2766 g_io_job_send_to_mainloop().
2768 2007-12-12 Alexander Larsson <alexl@redhat.com>
2774 Make attribute namespace separator "::" instead of ":".
2775 Use - instead of _ as separator in attribute names.
2777 2007-12-12 Alexander Larsson <alexl@redhat.com>
2779 * gbufferedinputstream.h:
2780 * gbufferedoutputstream.h:
2781 * gdatainputstream.h:
2782 * gdataoutputstream.h:
2783 * gdirectorymonitor.h:
2784 * gfileenumerator.h:
2785 * gfileinputstream.h:
2787 * gfileoutputstream.h:
2788 * gfilterinputstream.h:
2789 * gfilteroutputstream.h:
2791 * glocalfileinputstream.h:
2792 * glocalfileoutputstream.h:
2793 * gmemoryinputstream.h:
2794 * gmemoryoutputstream.h:
2795 * gnativevolumemonitor.h:
2797 * gunixinputstream.h:
2798 * gunixoutputstream.h:
2801 s/parent/parent_instance/ in GObjects
2803 2007-12-12 Alexander Larsson <alexl@redhat.com>
2808 No need for padding for interfaces
2810 2007-12-12 Alexander Larsson <alexl@redhat.com>
2814 * gbufferedinputstream.c:
2815 * gbufferedoutputstream.c:
2818 * gdatainputstream.[ch]:
2819 * gdesktopappinfo.c:
2820 * gdirectorymonitor.c:
2822 * gfileattribute.[ch]:
2825 * gfileinputstream.h:
2826 * gfilemonitor.[ch]:
2827 * gfileoutputstream.[ch]:
2828 * gfilterinputstream.h:
2829 * gfilteroutputstream.h:
2832 * gloadableicon.[ch]:
2833 * gmemoryinputstream.c:
2834 * gmountoperation.c:
2836 Fix up a bunch of details in the docs.
2841 2007-12-11 David Zeuthen <davidz@redhat.com>
2843 Rework how volumes, drives and volume monitoring is
2844 done. Previosly the model was
2846 GDrive <1-1> GVolume
2848 where a GDrive instance represented a mount point and a GVolume
2849 instance represented a mounted file system. This patch changes it
2852 GDrive <1-N> GVolume <1-1> GMount
2854 where GMount now serves the purpose of the old GVolume and the new
2855 GVolume serves the purpose of the old GDrive. In addition the new
2856 GDrive interface is used to represent a collection of GVolume
2857 instances (typically partitions) and also contains utility to query
2858 the state of the physical drive the GDrive object represents (such
2859 as checking for media, polling the drive, ejecting the media etc.).
2861 Also implement mounting and unmounting in the Unix volume monitor
2862 backend. A subquent patch will introduce GDrive support for ejection
2866 * gdrive.c: (g_drive_is_media_check_automatic),
2867 (g_drive_is_media_removable), (g_drive_has_media),
2868 (g_drive_can_poll_for_media), (g_drive_eject),
2869 (g_drive_eject_finish), (g_drive_poll_for_media),
2870 (g_drive_poll_for_media_finish):
2872 * gfile.c: (g_file_find_enclosing_mount):
2875 * glocaldirectorymonitor.c:
2876 (g_local_directory_monitor_constructor), (mounts_changed):
2877 * glocalfile.c: (get_mount_info),
2878 (g_local_file_find_enclosing_mount),
2879 (g_local_file_file_iface_init):
2880 * gnativevolumemonitor.h:
2881 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2882 (get_connected_drives), (g_union_volume_monitor_class_init),
2883 (child_volume_added), (child_volume_removed),
2884 (child_volume_changed), (child_mount_added), (child_mount_removed),
2885 (child_mount_pre_unmount), (child_mount_changed),
2886 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2887 (g_union_volume_monitor_remove_monitor),
2888 (_g_mount_get_for_mount_path):
2889 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2890 (guess_system_internal), (_g_get_unix_mounts),
2891 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2892 (g_unix_mount_free), (g_unix_mount_compare),
2893 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2894 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2895 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2896 (type_to_icon), (g_unix_mount_guess_name),
2897 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2898 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2899 (_resolve_symlink), (_resolve_dev_root):
2901 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2902 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2903 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2904 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2905 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2906 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2907 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2908 (g_unix_volume_volume_iface_init):
2910 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2911 (get_mounts), (get_volumes), (get_connected_drives),
2912 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2913 (mountpoints_changed), (mounts_changed),
2914 (g_unix_volume_monitor_init),
2915 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2916 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2917 * gunixvolumemonitor.h:
2918 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2919 (g_volume_mount), (g_volume_mount_finish):
2921 * gvolumemonitor.c: (g_volume_monitor_class_init),
2922 (g_volume_monitor_get_connected_drives),
2923 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2926 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2928 * gmountoperation.h (GPasswordFlags): Close the gap
2930 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2932 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2934 * gdesktopappinfo.[hc]: Remove _-prefixes
2936 2007-12-10 Tor Lillqvist <tml@novell.com>
2938 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2941 2007-12-10 Alexander Larsson <alexl@redhat.com>
2943 * gfile.c (g_file_set_display_name):
2944 Don't hardcode '/' (#502727)
2946 2007-12-09 Hans Breuer <hans@breuer.org>
2948 * makefile.msc : follow lib naming convention
2949 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2950 for user and group name, tested with ../tests/gio-ls
2952 2007-12-09 A. Walton <awalton@svn.gnome.org>
2954 * gdesktopappinfo.c:
2960 * gfileenumerator.c:
2965 * gmemoryinputstream.c:
2966 * gmemoryoutputstream.c:
2968 * gsimpleasyncresult.c:
2969 More documentation cleanup and filling in missing information, bringing
2970 GIO to 99% symbol coverage.
2972 2007-12-08 Hans Breuer <hans@breuer.org>
2974 [gio compiles and links on win32, not sure how much already works]
2975 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2976 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2977 base on win32 API; prefer g_lstat() over lstat(); instead of
2978 localtime_r() use an all GLib implementation on win32;
2979 get_mount_info() still needs a win32 specifc implementation
2980 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2981 win32_get_file_user_info to get owner/group info without uid/gid
2982 * glocalfileinputstream.c : include <io.h> on win32
2983 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2984 definition, use g_win32_ftruncate() for G_OS_WIN32
2985 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2986 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2987 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2988 * makefile.msc : updated
2990 2007-12-07 Alexander Larsson <alexl@redhat.com>
2992 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2993 Avoid warning spew if error == NULL
2995 2007-12-07 Alexander Larsson <alexl@redhat.com>
2998 Update docs wrt etags
3000 2007-12-06 Alexander Larsson <alexl@redhat.com>
3003 Include sys/types.h for dev_t (#501919)
3005 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3009 Make abicheck and pltcheck pass.
3011 2007-12-05 Alexander Larsson <alexl@redhat.com>
3014 * giomodule-priv.h: Added.
3015 * glocaldirectorymonitor.c:
3016 * glocalfilemonitor.c:
3017 * gunionvolumemonitor.c:
3019 Actually add the declaration of _g_io_modules_ensure_loaded
3021 2007-12-05 Alexander Larsson <alexl@redhat.com>
3023 * gdatainputstream.c:
3028 * glocaldirectorymonitor.c:
3029 * glocalfilemonitor.c:
3030 * gunionvolumemonitor.c:
3032 Make g_io_modules_ensure_loaded a private function and
3033 don't pass in the dirname. This means we can do magic
3034 directory finding in the win32 version.
3035 Export the actual load-modules-in-directory code so that
3036 gvfs can reuse that.
3038 2007-12-05 Alexander Larsson <alexl@redhat.com>
3040 * gbufferedinputstream.c:
3041 * gbufferedoutputstream.c:
3044 * gfileenumerator.[ch]:
3045 * gfileinputstream.c:
3046 * gfileoutputstream.[ch]:
3047 * gfilterinputstream.c:
3048 * gfilteroutputstream.c:
3049 * ginputstream.[ch]:
3051 * glocalfileenumerator.c:
3052 * glocalfileinputstream.c:
3053 * glocalfileoutputstream.c:
3054 * gmemoryinputstream.c:
3055 * gmemoryoutputstream.c:
3056 * goutputstream.[ch]:
3059 * gunixinputstream.c:
3060 * gunixoutputstream.c:
3061 Rename all struct members named:
3062 read, write, close, truncate, or mount
3063 to foo_fn, as these are reserved names
3064 and could be defined as macros in libc.
3067 2007-12-04 Alexander Larsson <alexl@redhat.com>
3070 (g_output_stream_close):
3071 Only call flush if non-null.
3073 2007-11-30 Dan Winship <danw@gnome.org>
3075 * ginputstream.c (g_input_stream_set_pending): Make this take a
3076 GError and return a gboolean, and do the "outstanding operation"
3077 check (and the "stream is already closed" check) itself.
3078 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3080 * goutputstream.c (g_output_stream_set_pending)
3081 (g_output_stream_clear_pending): Likewise
3083 * gbufferedinputstream.c:
3084 * gfileinputstream.c:
3085 * gfileoutputstream.c: Update for that
3087 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3088 Like g_simple_async_report_error_in_idle, but takes a GError
3089 rather than building one.
3091 2007-11-30 Dan Winship <danw@gnome.org>
3093 * goutputstream.c: Don't cheat and unset the "pending" flag around
3094 inner calls. Instead, call the class method directly rather than
3095 the wrapper function that checks "pending"
3097 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3099 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3101 2007-12-03 Hans Breuer <hans@breuer.org>
3103 [start of port to win32/msvc]
3104 * gcancellable.c : HAVE_UNIST_H and _pipe()
3105 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3106 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3107 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3109 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3110 * glocalvfs.c : use HAVE_PWD_H
3111 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3112 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3113 * Makefile.am : added to EXTRA_DIST
3115 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3117 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3120 2007-12-03 Alexander Larsson <alexl@redhat.com>
3123 Handle OSX style xattrs API (#500506)
3125 2007-12-03 Alexander Larsson <alexl@redhat.com>
3129 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3131 2007-12-02 A. Walton <awalton@svn.gnome.org>
3135 Documentation accuracy fixes.
3137 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3139 * gioenumtypes.c.template: Fix typo.
3141 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3143 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3145 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3147 * gdirectorymonitor.c:
3148 * gfilemonitor.c: Add properties
3150 * gbufferedoutputstream.c: Don't mark buffer-size property
3153 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3155 * gbufferedoutputstream.c: Add auto-grow property.
3157 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3159 * *.c: Unify the capitalization of section headings.
3161 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3163 * gmountoperation.c: Add properties
3165 * gdatainputstream.c: Turn byte-order and newline-type into
3168 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3170 * gioenumtypes.[hc].template: Templates for enum registration
3172 * Makefile.am: Generate gioenumtypes.[hc]
3174 * gio.h: Include gioenumtypes.h
3176 * gfile.h: Add some explicit nicks.
3178 * gio.symbols: Add new symbols
3180 * pltcheck.sh: Adjust
3182 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3184 * *.c: Explain etags and link to the explanation
3186 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3188 * *.c: Explain I/O priority.
3190 * *.c: More coding style fixes.
3192 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3194 * gasyncresult.c: Add another paragraph to the intro,
3195 adjust coding style of example.
3197 2007-11-29 A. Walton <awalton@svn.gnome.org>
3200 Fixes unknown meaning in GAppLaunchContext docs.
3202 Clarify asynchronous ops.
3204 Fix entity tag docs.
3207 Provides missing gtk-doc section, fixes API docs slighly.
3208 * gsimpleasyncresult.c:
3209 Fill in missing info in docs.
3210 * gunixinputstream.c:
3211 * gunixoutputstream.c:
3212 Be more expressive in short description.
3214 Remove gtk-doc stubs for non-public API.
3216 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3218 * *.c: Coding style fixups
3220 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3222 * inotify/inotify-helper.c: Don't export the lock from libgio.
3224 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3227 * abicheck.sh: Fix copy-and-paste leftovers
3229 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3231 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3233 2007-11-28 Alexander Larsson <alexl@redhat.com>
3237 Removed unnecessary file
3239 * gdesktopappinfo.[ch]:
3242 * glocaldirectorymonitor.[ch]:
3244 * glocalfileenumerator.[ch]:
3245 * glocalfileinputstream.[ch]:
3246 * glocalfilemonitor.[ch]:
3247 * glocalfileoutputstream.[ch]:
3249 * gnativevolumemonitor.c:
3250 * gpollfilemonitor.[ch]:
3251 * gunionvolumemonitor.[ch]:
3254 * gunixvolumemonitor.[ch]:
3257 * inotify/ginotifydirectorymonitor.[ch]:
3258 * inotify/ginotifyfilemonitor.[ch]:
3259 * inotify/inotify-helper.c:
3260 Append _ to all internal functions
3264 Export symbols needed for modules
3266 2007-11-28 Alexander Larsson <alexl@redhat.com>
3269 * abicheck.sh: Added.
3270 * makegioalias.pl: Added.
3271 * pltcheck.sh: Added.
3272 * gio.symbols: Added.
3275 Initial work on adding symbol handling.
3278 Correct ifdef guard name
3281 * inotify/Makefile.am:
3282 * xdgmime/Makefile.am:
3283 Include toplevel Makefile.decl
3285 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3287 * gcontenttype.c: Move doc comments to the unix section.
3289 * *.[hc]: More trivial doc corrections.
3291 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3293 * gpollfilemonitor.c:
3297 * gdesktopappinfo.c:
3302 * gdatainputstream.c:
3303 * gdatainputstream.h:
3304 * gdataoutputstream.c:
3305 * gdataoutputstream.h:
3306 * gfileinfo.h: Doc cleanups
3308 2007-11-28 Andre Klapper <a9016009@gmx.de>
3310 * gdesktopappinfo.c: Fix a typo.
3312 2007-11-27 Andre Klapper <a9016009@gmx.de>
3314 * glocalfileoutputstream.c: Fix a typo.
3316 2007-11-27 Alexander Larsson <alexl@redhat.com>
3319 Don't include removed headers
3321 2007-11-27 Alexander Larsson <alexl@redhat.com>
3324 * gsocketinputstream.[ch]: Removed.
3325 * gsocketoutputstream.[ch]: Removed.
3326 * gunixinputstream.[ch]: Added.
3327 * gunixoutputstream.[ch]: Added.
3328 Renamed GSocket*Stream to GUnix*Stream and made
3329 it unix-only, since its not really only for sockets
3330 and it only works on unix (but is highly useful there).
3332 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3338 * gbufferedinputstream.c:
3339 * gbufferedinputstream.h:
3340 * gbufferedoutputstream.c:
3341 * gbufferedoutputstream.h:
3345 * gdatainputstream.c:
3346 * gdatainputstream.h:
3347 * gdataoutputstream.c:
3348 * gdataoutputstream.h:
3349 * gdirectorymonitor.c:
3350 * gdirectorymonitor.h:
3357 * gfileenumerator.c:
3358 * gfileenumerator.h:
3363 * gfileinputstream.c:
3364 * gfileinputstream.h:
3367 * gfilenamecompleter.c:
3368 * gfilenamecompleter.h:
3369 * gfileoutputstream.c:
3370 * gfileoutputstream.h:
3371 * gfilterinputstream.c:
3372 * gfilterinputstream.h:
3373 * gfilteroutputstream.c:
3374 * gfilteroutputstream.h:
3387 * glocalfileoutputstream.c:
3388 * gmemoryinputstream.c:
3389 * gmemoryinputstream.h:
3390 * gmemoryoutputstream.c:
3391 * gmemoryoutputstream.h:
3392 * gmountoperation.c:
3393 * gmountoperation.h:
3396 * gpollfilemonitor.c:
3399 * gsimpleasyncresult.c:
3400 * gsimpleasyncresult.h:
3401 * gsocketinputstream.c:
3402 * gsocketinputstream.h:
3403 * gsocketoutputstream.c:
3404 * gsocketoutputstream.h:
3411 * gunixvolumemonitor.c:
3420 Bumps documentation to 93% symbol coverage, touching most
3421 of the public files. Fixes broken function documentation prototypes.
3422 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3423 gtk-doc headers in private files.
3425 2007-11-27 Jürg Billeter <j@bitron.ch>
3427 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3428 (g_buffered_input_stream_read_byte):
3429 * gbufferedinputstream.h:
3430 New functions for efficient access to buffer and simple single byte
3433 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3434 (g_data_input_stream_read_until):
3435 * gdatainputstream.h:
3436 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3437 read_until with multiple stop chars.
3439 2007-11-27 Alexander Larsson <alexl@redhat.com>
3443 * inotify/Makefile.am:
3444 Use the user-specified giomoduledir
3446 2007-11-27 Alexander Larsson <alexl@redhat.com>
3450 Add catch-all gio.h header
3451 Don't install gdummyfile.h
3453 2007-11-26 Alexander Larsson <alexl@redhat.com>
3455 * Makefile.am (gioinclude_HEADERS):
3456 Remove trailing whitespace
3458 2007-11-26 Alexander Larsson <alexl@redhat.com>
3460 Merge gio-standalone into glib
3462 2007-11-25 Christian Kellner <gicmo@gnome.org>
3464 * gio/goutputstream.c:
3465 Fix small mistake in the docs.
3467 2007-11-21 Christian Persch <chpe@gnome.org>
3469 * gio/glocalfile.c: (g_local_file_trash):
3470 Convert filenames to UTF-8 for GError.
3471 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3472 as per xdg base dir spec.
3474 2007-11-21 Christian Persch <chpe@gnome.org>
3476 * gio/gdesktopappinfo.c:
3477 Use that g_key_file_to_data cannot fail.
3479 Use stock defines for the key file group and key names.
3482 2007-11-21 Alexander Larsson <alexl@redhat.com>
3485 (copy_stream_with_progress):
3486 Make sure we do a final progress callback with
3487 the full total size.
3489 2007-11-21 Alexander Larsson <alexl@redhat.com>
3492 Export g_file_copy_attributes
3493 Remove padding as its not needed for interfaces
3495 2007-11-20 Alexander Larsson <alexl@redhat.com>
3500 Add G_IO_ERROR_WOULD_MERGE for
3501 copy/move dir on dir with overwrite.
3503 2007-11-20 Alexander Larsson <alexl@redhat.com>
3506 * gio/glocalfileinfo.c:
3507 Add COPY_NAME (this is an optional
3508 non-modified utf8 version of the name) that
3511 2007-11-20 Alexander Larsson <alexl@redhat.com>
3513 * gio/glocalfileenumerator.c:
3514 Report errors as GIOError, not GFileError
3516 2007-11-16 Alexander Larsson <alexl@redhat.com>
3518 * gio/glocalfileoutputstream.c:
3519 * gio/gwin32appinfo.c:
3520 Fix typos in strings.
3521 Patch from Luca Ferretti <elle.uca@libero.it>
3523 2007-11-15 Alexander Larsson <alexl@redhat.com>
3526 Post release version bump
3528 === gio-standalone 0.1.2 ===
3530 2007-11-15 Alexander Larsson <alexl@redhat.com>
3532 * docs/reference/gio/Makefile.am:
3533 Fix up distcheck by removing weird
3539 2007-11-14 Alexander Larsson <alexl@redhat.com>
3541 * gio/gdesktopappinfo.c:
3542 * gio/glocaldirectorymonitor.c:
3544 * gio/glocalfileinfo.c:
3545 * gio/inotify/inotify-sub.c:
3546 * programs/gio-cat.c:
3547 * programs/gio-copy.c:
3548 * programs/gio-info.c:
3549 * programs/gio-ls.c:
3550 * programs/gio-monitor-dir.c:
3551 * programs/gio-monitor-file.c:
3552 * programs/gio-mount.c:
3553 * programs/gio-move.c:
3554 * programs/gio-rm.c:
3555 * programs/gio-save.c:
3556 * programs/gio-trash.c:
3557 Leak fixes from Kjartan Maraas
3559 2007-11-14 Alexander Larsson <alexl@redhat.com>
3561 * gio/fam/fam-helper.c:
3563 * gio/glocalfileinfo.c:
3567 * gio/inotify/inotify-diag.c:
3568 * gio/inotify/inotify-kernel.c:
3569 Various code cleanups from Kjartan Maraas
3571 2007-11-14 Alexander Larsson <alexl@redhat.com>
3573 * gio/gioscheduler.c:
3575 Set up threadpool so that we cache 2 unused
3576 idle threads for at 15 secs. This means we
3577 will reuse thread-local data (like dbus connections)
3580 2007-11-14 Alexander Larsson <alexl@redhat.com>
3582 * gio/fam/fam-helper.c:
3583 * gio/fam/gfamdirectorymonitor.c:
3584 * gio/fam/gfamfilemonitor.c:
3586 * gio/gcontenttype.c:
3587 * gio/gdatainputstream.c:
3588 * gio/gdataoutputstream.c:
3592 * gio/gfileattribute.h:
3593 * gio/gfileenumerator.c:
3595 * gio/ginputstream.c:
3598 * gio/glocalfileinfo.c:
3599 * gio/goutputstream.c:
3600 * gio/gpollfilemonitor.c:
3601 * gio/gsimpleasyncresult.c:
3602 * gio/gunixmounts.c:
3603 * gio/gunixmounts.h:
3604 * gio/inotify/ginotifydirectorymonitor.c:
3605 * gio/inotify/ginotifyfilemonitor.c:
3606 * gio/inotify/inotify-diag.c:
3607 * gio/inotify/inotify-kernel.c:
3608 * gio/inotify/inotify-path.c:
3610 * gio/test-streams.c:
3611 * programs/gio-info.c:
3612 * programs/gio-monitor-dir.c:
3613 * programs/gio-monitor-file.c:
3614 Various code cleanups from Kjartan Maraas
3616 2007-11-13 Alexander Larsson <alexl@redhat.com>
3619 Handle the uri-scheme calls for dummy files
3621 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3623 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3624 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3625 to avoid clash with the C++ keyword.
3627 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3629 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3630 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3632 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3634 * gio/glocaldirectorymonitor.c:
3635 * gio/glocalfilemonitor.c:
3636 * gio/gunionvolumemonitor.c:
3637 Don't use g_once_init_*() for initializations that could fail and
3638 could leave the initialization variable set to 0 but use GOnce.
3639 This prevents a deadlock on the second call when trying to create
3640 a monitor and no monitor type is available. Thanks to Sven Herzberg
3643 2007-11-11 Sven Herzberg <sven@imendio.com>
3645 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3646 #ifdef (make it work on MacOS X again)
3648 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3650 Fixes Changelog for last two commits (sorry guys).
3652 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3654 * gio/gbufferedinputstream.c:
3655 * gio/gdatainputstream.c:
3657 * gio/gfileoutputstream.c:
3658 * gio/gfilterinputstream.c:
3659 * gio/glocalfileinputstream.c:
3662 More consistency fixes in g*stream.c files.
3663 Significant clean of gfile's documentation, filling in of
3664 asynchronous operations documentation.
3666 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3668 * gio/gasyncresult.c:
3669 * gio/gbufferedinputstream.c:
3670 * gio/gbufferedoutputstream.c:
3671 * gio/gcancellable.c:
3672 * gio/gcontenttype.c:
3673 * gio/gdatainputstream.c:
3674 * gio/gdataoutputstream.c:
3675 * gio/gdesktopappinfo.c:
3678 * gio/gfileattribute.c:
3679 * gio/gio/gfileenumerator.c:
3681 * gio/gfileinputstream.c:
3682 * gio/gfilemonitor.c:
3683 * gio/gfileoutputstream.c:
3684 * gio/ginputstream.c:
3686 * gio/gioscheduler.c:
3687 * gio/gloadableicon.c:
3688 * gio/glocalfileoutputstream.c:
3689 * gio/gmemoryoutputstream.c:
3690 * gio/gmountoperation.c:
3691 * gio/goutputstream.c:
3693 * gio/gsimpleasyncresult.c:
3694 * gio/gunionvolumemonitor.c:
3695 * gio/gunixmounts.c:
3696 * gio/gunixvolume.c:
3700 * gio/gvolumemonitor.c:
3701 Updated documentation stubs, working towards consistency and
3704 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3706 * gio/gmemoryoutputstream.c:
3707 * gio/gmemoryoutputstream.h:
3708 Change g_memory_output_stream_set_free_on_close() to
3709 g_memory_output_stream_set_free_data() as this makes more sense and
3710 is more consistent with GMemoryInputStream.
3712 2007-11-07 Alexander Larsson <alexl@redhat.com>
3719 Change how we find the default vfs so that
3720 we can handle a gvfs failing to init
3722 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3724 * gio/gbufferedoutputstream.c:
3725 * gio/gdatainputstream.c:
3726 * gio/gdataoutputstream.c:
3727 * gio/gfileinputstream.c:
3728 * gio/gfileoutputstream.c:
3729 * gio/gfilterinputstream.c:
3730 * gio/gfilteroutputstream.c:
3731 * gio/ginputstream.c:
3732 * gio/gmemoryinputstream.c:
3733 * gio/gmemoryoutputstream.c:
3734 * gio/goutputstream.c:
3735 * gio/gsimpleasyncresult.c:
3736 * gio/gsocketinputstream.c:
3737 * gio/gsocketoutputstream.c:
3738 Add guards to the remaining public functions, add a TODO for
3739 an unimplemented function and remove some useless guards.
3741 2007-11-07 Alexander Larsson <alexl@redhat.com>
3744 Autoconf checks for the various types of
3745 getpwuid_r and getgrgid_r
3747 * gio/glocalfileinfo.c:
3748 Use the autoconf checks from above
3750 2007-11-07 Alexander Larsson <alexl@redhat.com>
3753 (g_local_file_query_filesystem_info):
3754 Some fixes for the statvfs case
3756 2007-11-07 Alexander Larsson <alexl@redhat.com>
3759 (g_local_file_query_filesystem_info):
3760 Pick the "best" of statfs / statvfs for the system
3761 if both are availible.
3763 2007-11-07 Alexander Larsson <alexl@redhat.com>
3765 Solaris fixes from Halton.Huo@Sun.COM:
3772 * gio/glocalfileinfo.c:
3773 Fix for solaris definition of getpwuid_r
3775 * gio/test-streams.c:
3776 Use G_GNUC_PRETTY_FUNCTION
3778 2007-11-07 Alexander Larsson <alexl@redhat.com>
3780 * gio/gdesktopappinfo.c:
3781 (update_default_list):
3782 Remove double semicolon.
3783 Patch from Jens Granseuer
3785 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3787 * docs/reference/gio/gio-sections.txt:
3788 * gio/gbufferedinputstream.c:
3789 * gio/gbufferedinputstream.h:
3790 * gio/gdatainputstream.c:
3791 * gio/gfileenumerator.c:
3792 * gio/gioscheduler.c:
3793 * gio/gunionvolumemonitor.c:
3795 * programs/gio-save.c:
3796 Fix typo: availible -> available. Unfortuntely this breaks API
3797 and ABI as g_buffered_input_stream_get_available() was renamed.
3799 * gio/gunixmounts.c:
3800 * gio/gbufferedinputstream.c:
3801 Add guards for public functions.
3803 2007-11-06 Ross Burton <ross@openedhand.com>
3805 * docs/reference/gio/Makefile.am:
3806 Fix invalid += usage which automake 1.10 doesn't like.
3808 2007-11-06 Alexander Larsson <alexl@redhat.com>
3811 (g_app_launch_context_class_init):
3814 Patch from Ross Burton
3816 2007-11-06 Alexander Larsson <alexl@redhat.com>
3819 Post release version bump
3821 === gio-standalone 0.1.1 ===
3823 2007-11-06 Alexander Larsson <alexl@redhat.com>
3826 Bump version to 0.1.1
3828 * gio/gsimpleasyncresult.c:
3829 (g_simple_async_result_set_from_error):
3830 Remove bogus g_return_if_fail
3832 2007-11-06 Alexander Larsson <alexl@redhat.com>
3835 The name is gio-standalone
3838 Add top src/builddir to includedir
3840 2007-11-06 Alexander Larsson <alexl@redhat.com>
3842 * docs/reference/gio/gio-sections.txt:
3844 * gio/gbufferedinputstream.c:
3845 * gio/gbufferedoutputstream.c:
3846 * gio/gcancellable.c:
3847 * gio/gdatainputstream.h:
3848 * gio/gdataoutputstream.c:
3849 * gio/gdataoutputstream.h:
3850 * gio/gdirectorymonitor.c:
3852 * gio/gfileattribute.c:
3853 * gio/gfileattribute.h:
3854 * gio/gfileenumerator.c:
3855 * gio/gfileenumerator.h:
3858 * gio/gfileinputstream.h:
3859 * gio/gfilemonitor.c:
3860 * gio/gfileoutputstream.h:
3861 * gio/glocalfilemonitor.h:
3862 * gio/glocalfileoutputstream.h:
3863 * gio/gmemoryinputstream.c:
3864 * gio/gmemoryoutputstream.c:
3865 * gio/gmountoperation.c:
3866 * gio/goutputstream.c:
3867 * gio/goutputstream.h:
3869 * gio/gsimpleasyncresult.c:
3870 * gio/gunixmounts.c:
3871 * gio/gunixmounts.h:
3873 * gio/inotify/inotify-helper.c:
3874 Fix gtk-doc warnings
3876 Patch from Ross Burton
3878 2007-11-06 Alexander Larsson <alexl@redhat.com>
3880 * gio/gfilenamecompleter.c:
3881 (g_filename_completer_get_completions):
3884 * gio/gunixvolume.c:
3885 Remove unused function
3887 Patches from Ross Burton
3889 2007-11-06 Alexander Larsson <alexl@redhat.com>
3894 Padding not needed for interfaces
3896 2007-11-06 Alexander Larsson <alexl@redhat.com>
3898 * gio/gfilemonitor.c:
3902 Make giotypes.h an internal file
3905 * gio/gbufferedinputstream.h:
3906 * gio/gbufferedoutputstream.h:
3907 * gio/gcancellable.h:
3908 * gio/gdatainputstream.h:
3909 * gio/gdataoutputstream.h:
3910 * gio/gdirectorymonitor.c:
3911 * gio/gdirectorymonitor.h:
3916 * gio/gfileattribute.h:
3917 * gio/gfileenumerator.h:
3922 * gio/gfilemonitor.c:
3923 * gio/gfilemonitor.h:
3924 * gio/gfilenamecompleter.c:
3925 * gio/gfilenamecompleter.h:
3926 * gio/gfilterinputstream.h:
3927 * gio/gfilteroutputstream.h:
3928 * gio/ginputstream.h:
3929 * gio/gmemoryinputstream.h:
3930 * gio/gmemoryoutputstream.h:
3931 * gio/gmountoperation.c:
3932 * gio/gmountoperation.h:
3933 * gio/gnativevolumemonitor.c:
3934 * gio/goutputstream.h:
3937 * gio/gsimpleasyncresult.c:
3938 * gio/gsimpleasyncresult.h:
3939 * gio/gsocketinputstream.h:
3940 * gio/gsocketoutputstream.h:
3941 * gio/gthemedicon.c:
3942 * gio/gthemedicon.h:
3946 * gio/gvolumemonitor.c:
3947 * gio/gvolumemonitor.h:
3948 Add padding in classes where it seems useful
3949 Don't include giotypes.h from public headers
3950 Move in Class definitions into c file where possible
3955 2007-11-06 Alexander Larsson <alexl@redhat.com>
3957 * docs/reference/gio/gio-docs.xml:
3958 Better structure for API docs
3960 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3963 * gio/gloadableicon.c:
3964 * gio/gsimpleasyncresult.c:
3965 * gio/gthemedicon.c:
3966 Add some more guards to public functions. Only files missing are now
3969 2007-11-06 Alexander Larsson <alexl@redhat.com>
3971 * docs/reference/gio/gio-docs.xml:
3972 Remove old files, add missing ones
3974 2007-11-06 Alexander Larsson <alexl@redhat.com>
3976 * docs/reference/gio/gio-sections.txt:
3979 Hide implementation classes
3981 * gio/gdriveprivate.h:
3982 * gio/gvolumeprivate.h:
3983 Remove non-existing function declarations
3985 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3988 Fix compilation warnings and add guards to the new functions.
3990 * gio/gasyncresult.c:
3992 Add guards to the public functions.
3995 Implement get_path().
3997 2007-11-06 Alexander Larsson <alexl@redhat.com>
3999 * gio/gfilenamecompleter.c:
4000 Make g_filename_completer_get_completions
4001 return char ** instead of GList for
4004 * docs/reference/gio/gio-docs.xml:
4005 * docs/reference/gio/gio-sections.txt:
4007 * gio/gasyncresult.c:
4008 * gio/gbufferedinputstream.c:
4009 * gio/gbufferedoutputstream.c:
4010 * gio/gcancellable.c:
4011 * gio/gcontenttype.c:
4012 * gio/gdatainputstream.c:
4013 * gio/gdataoutputstream.c:
4014 * gio/gdesktopappinfo.c:
4015 * gio/gdirectorymonitor.c:
4019 * gio/gfileattribute.c:
4020 * gio/gfileenumerator.c:
4023 * gio/gfileinputstream.c:
4024 * gio/gfilemonitor.c:
4025 * gio/gfilenamecompleter.c:
4026 * gio/gfilenamecompleter.h:
4027 * gio/gfileoutputstream.c:
4028 * gio/gfilterinputstream.c:
4030 * gio/ginputstream.c:
4032 * gio/gioscheduler.c:
4033 * gio/gloadableicon.c:
4034 * gio/glocaldirectorymonitor.c:
4036 * gio/glocalfileinputstream.c:
4037 * gio/glocalfilemonitor.c:
4038 * gio/glocalfileoutputstream.c:
4040 * gio/gmemoryinputstream.c:
4041 * gio/gmemoryoutputstream.c:
4042 * gio/gmountoperation.c:
4043 * gio/goutputstream.c:
4044 * gio/gpollfilemonitor.c:
4046 * gio/gsimpleasyncresult.c:
4047 * gio/gsocketinputstream.c:
4048 * gio/gsocketoutputstream.c:
4049 * gio/gthemedicon.c:
4050 * gio/gunionvolumemonitor.c:
4052 * gio/gunixmounts.c:
4053 * gio/gunixvolume.c:
4054 * gio/gunixvolumemonitor.c:
4058 * gio/gvolumemonitor.c:
4059 * gio/gwin32appinfo.c:
4060 Add (mostly stub) doc strings to public functions.
4061 Patch from Andrew Walton (awalton@gmail.com)
4063 2007-11-06 Alexander Larsson <alexl@redhat.com>
4065 * gio/gappinfo.[ch]:
4066 Added GAppLaunchContext object and pass that to launch.
4067 This allows simple implementation of both
4068 launch-on-screen and startup notification via a gtk+
4069 subclass of GAppLaunchContext
4071 * gio/gdesktopappinfo.c:
4072 Implement GAppLaunchContext API
4074 * gio/gwin32appinfo.c:
4077 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4079 * gio/gmountoperation.c:
4080 Add some guards to GMountOperation's public functions.
4082 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4086 * gio/gcancellable.c:
4087 * gio/gdirectorymonitor.c:
4089 * gio/gfileenumerator.c:
4090 * gio/gfilemonitor.c:,
4091 * gio/gfilenamecompleter.c:
4094 * gio/gioscheduler.c:
4098 * gio/gvolumemonitor.c:
4099 Add even more guards to various public functions.
4101 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4104 Add guards to the public functions of GAppInfo.
4106 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4108 * gio/gcontenttype.c:
4109 Add some more guards for public functions.
4111 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4113 * gio/fam/fam-module.c:
4114 * gio/fam/gfamdirectorymonitor.c:
4115 * gio/fam/gfamdirectorymonitor.h:
4116 * gio/fam/gfamfilemonitor.c:
4117 * gio/fam/gfamfilemonitor.h:
4118 * gio/inotify/ginotifydirectorymonitor.c:
4119 * gio/inotify/ginotifydirectorymonitor.h:
4120 * gio/inotify/ginotifyfilemonitor.c:
4121 * gio/inotify/ginotifyfilemonitor.h:
4122 Add proper copyright information and remove an unused variable
4123 in the GInotifyFileMonitor constructor.
4125 * gio/gcancellable.c:
4126 Add a guard for a public function and an assertion to prevent
4127 an undefined program state.
4129 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4131 * gio/gfileattribute.c:
4132 Don't run into an assertion if the given attribute value is NULL
4133 in g_file_attribute_value_get_*() but instead return a fallback
4134 value that makes sense in most situations. Passing them a attribute
4135 value with the wrong type will still run into an assertion.
4137 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4139 * gio/gfileattribute.c:
4141 Add even more guards to the public functions. Also fix the refcounting
4142 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4143 let g_file_info_list_attributes() filter the attributes by namespace
4144 instead of simply ignoring the namespace parameter.
4146 2007-11-03 Sven Herzberg <sven@imendio.com>
4148 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4149 (This makes gio work on MacOS X again)
4151 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4154 Build the gio subdirectory before the docs. Otherwise the build will
4157 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4158 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4159 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4160 Add guards to the public functions.
4162 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4164 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4165 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4166 to prevent a compiler warning.
4168 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4169 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4170 return something in the non-void function find_topdir_for().
4172 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4179 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4181 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4182 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4183 * gwin32appinfo.c (g_win32_app_info_launch):
4184 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4185 envp_for_startup_id, g_desktop_app_info_launch,
4186 g_desktop_app_info_launch_uris):
4188 Give an opaque 'startup_id' string instead of 'envp'.
4189 Support empty file lists for launching new windows.
4190 Fix infinite recursion bug when launching URIs.
4192 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4195 Add guard to the new g_file_get_uri_scheme() function.
4197 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4200 Convert a g_return_val_if_fail() to setting the GError instead as
4201 otherwise applications have to verify the parameter before otherwise
4202 and the parameter might come directly from the user.
4204 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4206 * gio/inotify/ginotify*.[ch]:
4207 Add missing copyright information.
4209 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4212 Add guards in the beginning of public functions to check for valid
4213 parameters and fix a bug in copy_stream_with_progress() that could've
4214 caused writing less bytes than reading.
4215 * gio/glocalfileinfo.c:
4216 Check for a NULL parameter and set the GError accordingly then.
4217 * gio/goutputstream.c:
4218 Fix the same bug as in gfile.c that could've caused writing less bytes
4219 than reading in g_output_stream_real_splice().
4221 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4224 Use the correct gvolumeprivate.h naming
4226 2007-11-01 Christian Kellner <gicmo@gnome.org>
4229 Remove leftover "$(daemon_sources)" entry.
4231 2007-11-01 Christian Kellner <gicmo@gnome.org>
4236 Add copyright information to source files.
4238 2007-11-01 Alexander Larsson <alexl@redhat.com>
4242 Add g_file_get_uri_scheme
4244 2007-11-01 Alexander Larsson <alexl@redhat.com>
4247 * gio/gdesktopappinfo.c:
4248 * gio/gwin32appinfo.c:
4249 Add g_app_info_get_default_for_uri_scheme.
4251 2007-11-01 Alexander Larsson <alexl@redhat.com>
4254 Correct filename for gdriveprivate.h
4256 2007-10-31 Alexander Larsson <alexl@redhat.com>
4259 Rename id:value to id:file
4262 * gio/glocalfileinfo.c:
4265 2007-10-31 Alexander Larsson <alexl@redhat.com>
4267 * gio/gunixvolume.c:
4269 Remove g_volume_get_platform_id, as thats not
4270 needed with the simpler union volume monitor
4272 2007-10-31 Alexander Larsson <alexl@redhat.com>
4275 * gio/guniondrive.[ch]: Removed.
4276 * gio/gunionvolume.[ch]: Removed.
4277 Remove GUnionDrive/Volume
4279 * gio/gunionvolumemonitor.c:
4280 Simplify union volume monitor, now we
4281 only have one native volume monitor and
4282 we use the actual volumes/drives from the
4283 child monitors instead of wrapping them
4285 * gio/gnativevolumemonitor.[ch]:
4286 Base class for native volume monitors.
4287 Includes priority and get_volume_for_mountpoint
4290 Add g_file_find_enclosing_volume
4293 Remove volume name fs attribute
4294 Add readonly fs attribute
4297 Implement readonly attribute
4298 remove volume name attribute
4299 Implement find_enclosing volume
4301 * gio/gunixmounts.c:
4302 Add a volume for "/".
4304 * gio/gunixvolume.[ch]:
4305 Set better name for /
4307 * gio/gunixvolumemonitor.[ch]:
4308 Derive from GNativeVolumeMonitor
4309 Implement get_volume_for_mountpoint
4312 GVolume typedef moved to gfile.h
4314 * gio/gvolumeprivate.h:
4315 Add g_volume_get_for_mount_path
4317 2007-10-31 Alexander Larsson <alexl@redhat.com>
4319 * gio/gunixmounts.[ch]:
4320 Add cache info to unix mount listers
4321 Make getmntent use threadsafe
4322 Add is_system_internal attribute for GUnixMount
4324 * gio/gunixvolume.c:
4325 (g_unix_volume_new):
4326 Use is_system_internal instead of own code
4328 * gio/glocaldirectorymonitor.c:
4329 * gio/gunixvolumemonitor.c:
4330 Update to new gunixmounts API
4335 2007-10-30 Alexander Larsson <alexl@redhat.com>
4338 Add volume name fsinfo attribute
4341 Read volume name info
4343 * gio/gunionvolumemonitor.c:
4344 Fix infinite loops when finalizing a union volume monitor
4346 2007-10-30 Alexander Larsson <alexl@redhat.com>
4348 * gio/goutputstream.[ch]:
4349 Add splice() with default implementation
4351 * gio/gsocketoutputstream.c:
4352 (g_socket_output_stream_write):
4353 Return error on cancellation correctly.
4355 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4357 * gio/glocalfile.c (g_local_file_trash):
4358 Do not leak a string.
4360 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4362 * gio/gfile.c (g_file_load_contents):
4363 Unref the stream after closing it.
4365 2007-10-25 Alexander Larsson <alexl@redhat.com>
4367 * gio/gioscheduler.h:
4370 2007-10-25 Alexander Larsson <alexl@redhat.com>
4374 Add g_file_has_uri_scheme and implement for local files
4376 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4378 * gio/gdesktopappinfo.c: do not leak a string.
4380 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4382 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4383 (g_local_directory_monitor_new):
4384 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4385 (g_local_file_monitor_new):
4386 Only look for the monitor type that should be used the first time
4387 and use g_qsort_with_data() instead of our own bubble sort
4390 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4393 * gio/fam/Makefile.am:
4394 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4395 * gio/fam/fam-helper.h:
4396 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4397 * gio/fam/gfamdirectorymonitor.c:
4398 * gio/fam/gfamdirectorymonitor.h:
4399 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4400 * gio/fam/gfamfilemonitor.h:
4401 * gio/glocaldirectorymonitor.c:
4402 * gio/glocaldirectorymonitor.h:
4403 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4404 * gio/glocalfilemonitor.h:
4405 * gio/inotify/Makefile.am:
4406 * gio/inotify/ginotifydirectorymonitor.c:
4407 * gio/inotify/ginotifydirectorymonitor.h:
4408 * gio/inotify/ginotifyfilemonitor.c:
4409 * gio/inotify/ginotifyfilemonitor.h:
4410 Implement the FAM and Inotify monitors as
4411 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4412 their own GIO module. GLocal(Directory|File)Monitor will use the
4413 monitor with the highest rank that is supported on that machine.
4415 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4418 Change GIO module dir to $(libdir)/gio/modules and change
4419 the log domain from GVFS to GIO. Also only export symbols starting
4420 with g_ in the resulting library.
4421 * gio/test-streams.c: (main):
4422 Set log handler for the GIO log domain.
4424 2007-10-22 Alexander Larsson <alexl@redhat.com>
4426 * gio/gfilenamecompleter.[ch]:
4427 Add g_filename_completer_set_dirs_only
4429 2007-10-22 Alexander Larsson <alexl@redhat.com>
4432 * gio/gurifuncs.[ch]:
4433 Add some simple URI helpers
4435 * gio/gfilenamecompleter.[ch]:
4436 Added object for filename (parse name actually) completion
4439 Handle ~ in parse names
4441 2007-10-17 Alexander Larsson <alexl@redhat.com>
4444 * gio/glocalfileinfo.c:
4445 Add and implement id:value attribute
4447 2007-10-17 Alexander Larsson <alexl@redhat.com>
4450 * gio/guniondrive.c:
4452 Add and implement g_drive_has_volumes
4454 2007-10-17 Alexander Larsson <alexl@redhat.com>
4457 * gio/glocalfileinfo.[ch]:
4458 Add unix:is_mountpoint and implement for local files
4460 2007-10-16 Alexander Larsson <alexl@redhat.com>
4462 * gio/gunionvolumemonitor.c:
4463 (g_union_volume_monitor_init):
4464 Fix up the unix type getting so that it works with gcc
4466 2007-10-12 Alexander Larsson <alexl@redhat.com>
4469 * gio/glocalfileinfo.c:
4470 Add thumbnail:failed to file info
4472 2007-10-12 Richard Hult <richard@imendio.com>
4474 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4475 optimizing away the get_type call (happens with some gcc versions,
4476 like the one shipped with OS X 10.4).
4478 2007-10-12 Alexander Larsson <alexl@redhat.com>
4480 * gio/glocalfileinfo.c:
4481 (_g_local_file_info_set_attribute):
4482 Fix build if not HAVE_XATTR
4483 Patch from Milosz Derezynski <internalerror@gmail.com>
4485 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4487 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4488 around for review, otherwise I would have asked you before
4491 2007-10-11 Alexander Larsson <alexl@redhat.com>
4494 Add thumbnail:path attribute
4496 * gio/glocalfileinfo.c:
4497 Implement thumbnail:path for local files
4499 2007-10-11 Alexander Larsson <alexl@redhat.com>
4501 * gio/glocalfileinfo.c:
4502 (_g_local_file_info_get):
4503 Avoid duplicate icon names
4505 2007-10-11 Alexander Larsson <alexl@redhat.com>
4507 * gio/gthemedicon.[ch]:
4508 Change g_themed_icon_get_names return type to const
4510 2007-10-10 Alexander Larsson <alexl@redhat.com>
4512 * gio/glocalfileinfo.c:
4513 Don't reference freed memory
4515 2007-10-10 Alexander Larsson <alexl@redhat.com>
4517 * gio/gfileattribute.c:
4520 * gio/glocalfileinfo.c:
4523 2007-10-10 Alexander Larsson <alexl@redhat.com>
4526 Check for NULL icons
4528 * gio/gfileattribute.c:
4529 Don't dup when getting objects (same as for string attributes)
4531 * gio/gicon.c (g_icon_equal):
4532 Safely handle NULLs in equal
4534 2007-10-10 Alexander Larsson <alexl@redhat.com>
4537 Fix c++ compilation issues
4538 Patch from Milosz Derezynski <internalerror@gmail.com>
4540 2007-10-10 Alexander Larsson <alexl@redhat.com>
4542 * programs/gio-monitor-dir.c:
4543 Don't crash if dir monitor not supported.
4545 2007-10-09 Alexander Larsson <alexl@redhat.com>
4548 Add missing G_END_DECLS
4550 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4552 * gio/gfile.c: (g_file_set_display_name),
4553 (g_file_query_settable_attributes),
4554 (g_file_query_writable_namespaces):
4555 Return NULL not FALSE on errors as the return type is a pointer.
4557 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4559 * gio/glocalfile.c: (g_local_file_monitor_file):
4560 Don't call monitor_file on the default interface vtable (which
4561 is NULL) but simply return NULL. The caller, GFile, will create a
4562 polling monitor if NULL is returned.
4564 2007-10-09 Alexander Larsson <alexl@redhat.com>
4568 * gio-unix-2.0.pc.in:
4569 Add gio-unix-2.0.pc if OS_UNIX
4572 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4574 2007-10-09 Alexander Larsson <alexl@redhat.com>
4576 * gio/gunixmounts.[ch]:
4577 Make unix mount monitoring API sane.
4578 Now its just a object with mounts_changed
4579 and mountpoints_changed signals.
4581 * gio/glocaldirectorymonitor.c:
4582 * gio/gunixvolumemonitor.c:
4583 Use new mount monitor api
4585 2007-10-09 Alexander Larsson <alexl@redhat.com>
4587 * gio/gunixmounts.[ch]:
4588 Move guess type into one call for mounts and one for mountpoints
4591 * gio/gunixvolume.c:
4594 2007-10-09 Alexander Larsson <alexl@redhat.com>
4596 * gio/gunixmounts.[ch]:
4597 Remove _ prefix in preparation to make this semi-public
4598 Hide implementation of structs
4600 * gio/glocaldirectorymonitor.c:
4602 * gio/gunixvolume.c:
4603 * gio/gunixvolumemonitor.c:
4604 Update for above API changes
4606 2007-10-08 Alexander Larsson <alexl@redhat.com>
4609 Better polling fallback. This also handles the case where we have
4610 a monitor_file implementation, but it fails.
4612 2007-10-08 Alexander Larsson <alexl@redhat.com>
4616 * gio/gunixmounts.c:
4617 * programs/gio-monitor-dir.c:
4618 * programs/gio-monitor-file.c:
4619 Added cancellable to file monitoring calls.
4620 These are really sync calls and need this.
4622 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4624 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4625 (g_local_vfs_class_init):
4626 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4627 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4629 2007-10-05 Alexander Larsson <alexl@redhat.com>
4631 * gio/gdirectorymonitorprivate.h:
4632 * gio/gfilemonitorprivate.h:
4633 * gio/gdirectorymonitor.h:
4634 * gio/gfilemonitor.h:
4635 Remove *private.h and move to the public API, so that
4636 we can do implementations outside gio (such as in gvfs)
4638 * gio/gdirectorymonitor.c:
4639 * gio/gfilemonitor.c:
4640 * gio/glocaldirectorymonitor.c:
4641 * gio/gpollfilemonitor.c:
4642 * gio/inotify/inotify-helper.c:
4643 * gio/fam/fam-helper.c:
4644 Update to the new header names
4646 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4648 * gio/gdirectorymonitor.c:
4649 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4652 2007-10-04 Alexander Larsson <alexl@redhat.com>
4654 * gio/glocalfileinfo.c (get_access_rights):
4655 Set CAN_TRASH when we can move the file.
4656 We should really also check for a parent trash dir.
4658 2007-10-04 Alexander Larsson <alexl@redhat.com>
4660 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4661 Add can_trash access attribute
4663 2007-10-04 Alexander Larsson <alexl@redhat.com>
4666 (g_local_file_trash):
4667 Create info file first. This is per-spec and allows
4668 us to actually trash directories.
4670 2007-10-02 Alexander Larsson <alexl@redhat.com>
4672 * gio/gdesktopappinfo.c:
4673 Implement the new mime support code.
4674 Always set app as handling mimetype when being set as default for it
4676 2007-10-01 Alexander Larsson <alexl@redhat.com>
4678 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4679 Fix up check for xattrs:
4681 2007-10-01 Alexander Larsson <alexl@redhat.com>
4684 (g_app_info_set_as_default_for_extension):
4685 (g_app_info_add_supports_type):
4686 (g_app_info_can_remove_supports_type):
4687 (g_app_info_remove_supports_type):
4688 Make these fail nicely if not implemented
4690 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4692 * gio/glocalfileoutputstream.c:
4693 * gio/glocalfileoutputstream.h:
4698 * programs/gio-save.c:
4699 Add a GFileCreateFlags argument to operations that can create
4702 2007-10-01 Alexander Larsson <alexl@redhat.com>
4704 * gio/gappinfo.[ch]:
4705 * gio/gdesktopappinfo.c:
4706 Add more (stubbed out) mime API needed for nautilus
4708 2007-10-01 Alexander Larsson <alexl@redhat.com>
4711 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4712 Add g_app_info_set_as_default_for_extension.
4714 * gio/gdesktopappinfo.c:
4715 Dummy for g_app_info_set_as_default_for_extension
4716 Support flags in g_app_info_create_from_commandline
4718 * gio/gwin32appinfo.c:
4720 Update for API changes
4722 * gio/gthemedicon.c:
4723 Properly NULL-terminate list of icon names
4725 2007-09-28 Alexander Larsson <alexl@redhat.com>
4727 * gio/gloadableicon.h:
4728 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4730 2007-09-28 Alexander Larsson <alexl@redhat.com>
4733 Install headers in $includedir/gio-standalone/
4735 * gio-2.0.pc.in: Added.
4736 * gio-standalone.pc.in: Removed.
4739 Renamed pkg-config file to match glib (for future move)
4740 Update to the new include dir
4743 Add more TODO comments
4745 2007-09-28 Alexander Larsson <alexl@redhat.com>
4747 * gio/gdesktopappinfo.[ch]:
4748 Expose new_from_filename
4749 Add getter for is_hidden and handle it better
4751 2007-09-28 Alexander Larsson <alexl@redhat.com>
4753 * gio/gfileinfo.[ch]:
4754 Rename g_file_size_format_for_display to
4755 g_format_file_size_for_display.
4756 Now it doesn't have the g_file prefix, so we
4757 can later move it to glib.
4759 2007-09-28 Alexander Larsson <alexl@redhat.com>
4761 * gio/gappinfo.[ch]:
4762 Add g_app_info_get_id and g_app_info_get_executable.
4763 Make all getters non-reffing
4764 Make g_app_info_launch take GFile arguments.
4765 Add must_support_uris argument to g_app_info_get_default_for_type.
4767 * gio/gwin32appinfo.c:
4768 Update to GAppInfo api changes
4770 * gio/gdesktopappinfo.c:
4771 Update to GAppInfo api changes
4772 Implement supports_xdg_startup_notify
4774 * gio/gfileicon.c (g_file_icon_get_file):
4775 Make getter non-reffing.
4780 2007-09-27 Alexander Larsson <alexl@redhat.com>
4782 * gio/gfileinfo.[ch]:
4783 Add g_file_size_format_for_display helper
4785 2007-09-27 Alexander Larsson <alexl@redhat.com>
4787 * gio/glocalfileinfo.c:
4788 Set UNIX_GID from gid, not from uid
4790 2007-09-27 Alexander Larsson <alexl@redhat.com>
4793 Add g_file_set_attributes_async
4795 2007-09-27 Alexander Larsson <alexl@redhat.com>
4797 * gio/glocalfile.c (g_local_file_set_display_name):
4798 Fix set_display_name to actually rename to the right place.
4799 Use lstat to look for existing files so we don't overwrite
4802 2007-09-26 Alexander Larsson <alexl@redhat.com>
4805 Add g_file_set_display_name_async()
4807 2007-09-26 Alexander Larsson <alexl@redhat.com>
4810 Add load_partial_contents async calls
4813 Make internal function static
4815 2007-09-26 Alexander Larsson <alexl@redhat.com>
4817 * gio/glocalfileinfo.c:
4818 Correctly detect broken symlinks
4820 2007-09-26 Alexander Larsson <alexl@redhat.com>
4822 * gio/gcancellable.c (g_cancellable_cancel):
4823 Allow cancel on NULL cancellable
4825 2007-09-25 Alexander Larsson <alexl@redhat.com>
4827 * gio/gsimpleasyncresult.c:
4828 Don't allocate g_error manually.
4829 Fixes g_slice/g_new mixup crash
4831 2007-09-25 Alexander Larsson <alexl@redhat.com>
4833 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4834 Actually set active_backend.
4835 This means the monitor will be cancelled correctly.
4837 2007-09-25 Alexander Larsson <alexl@redhat.com>
4839 * gio/gdirectorymonitor.c:
4840 Set timeout to NULL when destroying
4842 2007-09-25 Alexander Larsson <alexl@redhat.com>
4845 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4846 that is a better description of the error.
4848 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4850 * gio/gvfs.c: (g_vfs_get_local):
4851 Make the local vfs variable static. The same instance should
4854 2007-09-24 Alexander Larsson <alexl@redhat.com>
4856 * gio/glocalfileinfo.c:
4857 Pass in actual length read into sniffer, not the length
4860 2007-09-21 Alexander Larsson <alexl@redhat.com>
4862 * gio/gfileenumerator.c:
4865 * gio/gfileinputstream.c:
4866 * gio/gfileoutputstream.c:
4867 * gio/ginputstream.c:
4868 * gio/goutputstream.c:
4869 Don't crash if async callbacks are NULL
4871 2007-09-20 Alexander Larsson <alexl@redhat.com>
4874 Add async enumerate_children method and default
4877 2007-09-20 Alexander Larsson <alexl@redhat.com>
4880 Add g_file_contains_file & g_file_get_relative_path, since they
4881 were needed for nautilus.
4882 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4887 Implement new methods
4889 2007-09-17 Alexander Larsson <alexl@redhat.com>
4892 * gio/gfileinputstream.[ch]:
4893 * gio/gfileoutputstream.[ch]:
4895 * gio/glocalfileenumerator.[ch]:
4896 * gio/glocalfileinfo.[ch]:
4897 * gio/glocalfileinputstream.c:
4898 * gio/glocalfileoutputstream.c:
4899 * gio/gpollfilemonitor.c:
4900 * programs/gio-copy.c:
4901 * programs/gio-info.c:
4902 * programs/gio-move.c:
4903 Rename get_file_info to query_info() to make it clearer
4904 that these are not simple getters, but do i/o.
4906 2007-09-17 Alexander Larsson <alexl@redhat.com>
4908 * gio/gdatainputstream.[ch]:
4909 * gio/test-streams.c:
4910 Use _read_XXX instead of _get_XXX for the i/o calls
4913 2007-09-17 Alexander Larsson <alexl@redhat.com>
4916 Added needed stuff to TODO comment
4918 2007-09-17 Alexander Larsson <alexl@redhat.com>
4920 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4921 Don't error out removing the backup copy if it doesn't
4924 2007-09-14 Alexander Larsson <alexl@redhat.com>
4926 * programs/Makefile.am:
4927 * programs/gvfs-*.c:
4929 Renamed apps from gvfs-xxx to gio-xxx.
4931 2007-09-14 Alexander Larsson <alexl@redhat.com>
4934 * gio/gfileoutputstream.[ch]:
4935 * gio/glocalfileoutputstream.c:
4936 * programs/gvfs-save.c:
4937 g_file_output_stream_get_etag doesn't do i/o, so remove
4938 cancellation and error.
4940 2007-09-14 Alexander Larsson <alexl@redhat.com>
4943 Add new_etag output to replace_contents functions
4945 2007-09-14 Alexander Larsson <alexl@redhat.com>
4947 * gio/gfileoutputstream.[ch]:
4948 Add async get_file_info and default implementation
4950 2007-09-14 Alexander Larsson <alexl@redhat.com>
4952 * gio/gfileinputstream.c:
4953 Implement fallback wrapper for async get_file_info
4955 2007-09-14 Alexander Larsson <alexl@redhat.com>
4958 Add etag out argument to load_contents
4963 2007-09-14 Alexander Larsson <alexl@redhat.com>
4965 * gio/gcontenttype.c (looks_like_text):
4966 Whitespace like tab, cr and lf do not make the
4969 2007-09-14 Alexander Larsson <alexl@redhat.com>
4971 * gio/gfileinputstream.[ch]:
4972 Add async get_file_info.
4974 2007-09-13 Alexander Larsson <alexl@redhat.com>
4976 * gio/goutputstream.c (g_output_stream_write_all):
4977 Allow NULL for bytes_written
4979 2007-09-13 Alexander Larsson <alexl@redhat.com>
4981 * gio/gmemoryinputstream.[ch]:
4982 Add accessors for data
4984 2007-09-13 Alexander Larsson <alexl@redhat.com>
4986 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4987 Don't crash if length is NULL