1 2008-09-02 Michael Natterer <mitch@imendio.com>
3 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
4 fix parent_class member to be GFilterOutputStreamClass (not
5 GOutputStreamClass). Drop three pointers of padding, which is
6 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
7 so the class struct size stays the same.
9 2008-09-02 Matthias Clasen <mclasen@redhat.com>
11 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
13 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
14 nonexisting return values. Pointed out by Cosimo Cecchi.
16 2008-08-23 Tor Lillqvist <tml@novell.com>
18 Bug 548988 - g_file_replace fails on Windows when the target file
21 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
22 Windows, close the file before potentially renaming it (in case we
23 have been writing to a file with a temporary name).
25 (g_local_file_output_stream_close, handle_overwrite_open): Use
26 GLocalFileStat instead of plain struct stat, for passing to
27 _g_local_file_info_create_etag(). Thus also use _fstati64()
28 instead of plain fstat() on Windows.
30 2008-08-18 Matthias Clasen <mclasen@redhat.com>
32 * === Released 2.17.7 ===
34 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
36 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
39 2008-08-13 Tor Lillqvist <tml@novell.com>
43 * win32/gwinhttpfile.c
44 * win32/gwinhttpfileinputstream.c
45 * win32/gwinhttpfileoutputstream.c: Refactor some common code
46 snippets into helper functions. Check HTTP response status
47 codes. Implement g_winhttp_file_query_info(), looking at
48 Content-Length, Content-Type and Last-Modified.
50 * win32/winhttp.h: Add some symbolic constants that are not
51 publicly documented. Just a handful, so it should be OK to use
52 information from the Windows SDK's headers.
54 2008-08-13 Tor Lillqvist <tml@novell.com>
56 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
59 * win32/gwin32directorymonitor.c
60 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
62 2008-08-13 Matthias Clasen <mclasen@redhat.com>
65 * goutputstream.c: Add intro docs.
67 2008-08-13 Tor Lillqvist <tml@novell.com>
69 * win32/gwinhttpfileoutputstream.c
70 (g_winhttp_file_output_stream_write): Don't write the
71 Content-Length header ourselves, WinHttpSendRequest() takes care
72 of that when the dwTotalLength parameter is non-zero. Increment
73 offset by the number of actual bytes sent, although I wonder if
74 such a scenario is possible where less than requested would be
75 sent and accepted by the server without errors.
77 2008-08-13 Tor Lillqvist <tml@novell.com>
81 * win32/gwinhttpfile.c
82 * win32/gwinhttpfile.h
83 * win32/gwinhttpfileinputstream.c
84 * win32/gwinhttpfileinputstream.h
85 * win32/gwinhttpfileoutputstream.c
86 * win32/gwinhttpfileoutputstream.h: New files implementing
87 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
88 Windows. The implementation uses the WinHttp API. Both reading and
89 writing are supported, i.e. GET and PUT requests. When writing,
90 each write call is done using a separate PUT request with a
91 Content-Range header. Requests for file URIs and plain pathnames
92 are forwarded to GLocalVfs.
94 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
95 WINE. Used as there is no <winhttp.h> bundled with mingw, and
96 requiring people to download the Windows SDK just for this one
97 header is not reasonable.
99 * win32/Makefile.am: Add above files.
101 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
102 the plumbing for the above.
104 2008-08-11 Sven Neumann <sven@gimp.org>
106 * gfilenamecompleter.c
107 * glocaldirectorymonitor.c
109 * gunionvolumemonitor.c
113 * gunixvolumemonitor.c
116 * gwin32volumemonitor.c: use canonical signal names.
118 2008-08-11 Tor Lillqvist <tml@novell.com>
120 * Makefile.am: Put a list of the platform-dependent .la files in
121 the subdirectories in the platform_deps Make variable, and make
122 libgio-2.0.la depend on that, so that it gets relinked if one of
123 the dependent libraries has changed.
125 2008-08-11 Tor Lillqvist <tml@novell.com>
127 * Makefile.am (platform_libadd): Remove -lwininet which had been
128 added by mistake. We will probably eventually be using WinHTTP,
129 not the older WinInet anyway. (Actually I am working on it.)
131 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
133 Bug 547080 – g_file_copy leaks expected errors
135 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
136 before trying the next fallback routine.
138 2008-08-09 Loïc Minier <lool@dooz.org>
140 Bug 535124 – umask 002 not being applied for new directories, new
141 files get the correct umask
143 * gfile.c (g_file_make_directory)
144 (g_file_make_directory_with_parents): Document ownership and
145 permissions of newly created directories as being the default
148 2008-08-08 Loïc Minier <lool@dooz.org>
150 Bug 535124 – umask 002 not being applied for new directories, new
151 files get the correct umask
153 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
156 2008-08-08 Tor Lillqvist <tml@novell.com>
158 * gwin32mount.c: Remove unused code. Whitespace cleanup.
160 * gwin32volumemonitor.c (get_connected_drives): Put questionable
161 code that didn't actually do anything inside #if 0, and add a
162 comment wondering what the code was supposed to do. This also gets
163 rid of a leftover debugging printout.
165 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
167 * gfileicon.c (g_file_icon_get_property)
168 (g_file_icon_set_property): New functions.
169 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
171 (g_file_icon_new): Use the property (bug #546132).
173 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
175 * gthemedicon.c (g_themed_icon_get_property): Also handle
176 `PROP_USE_DEFAULT_FALLBACKS'.
177 (g_themed_icon_class_init): Make
178 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
180 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
182 Bug 546371 – Improve docs re g_file_monitor
184 * gfilemonitor.c: Mention g_file_monitor() in the docs.
186 2008-08-04 Matthias Clasen <mclasen@redhat.com>
188 * === Released 2.17.6 ===
190 2008-08-04 Matthias Clasen <mclasen@redhat.com>
192 * === Released 2.17.5 ===
194 2008-08-04 Matthias Clasen <mclasen@redhat.com>
196 Bug 546017 – Don't copy attributes when copying a symlink
198 * gfile.c (g_file_copy_attributes): Specify
199 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
200 g_file_set_attributes_from_info. Patch by Christian Kellner
202 2008-08-04 Matthias Clasen <mclasen@redhat.com>
204 * gemblemedicon.[hc]:
206 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
207 a bit more extensible. Work by Clemens Buss.
209 * gioenums.h: Add GEmblemOrigin.
212 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
214 Bug 546079 – leak in xdgmime
216 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
218 2008-08-03 Tor Lillqvist <tml@novell.com>
220 * win32/gwin32directorymonitor.h
221 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
224 2008-08-03 Tor Lillqvist <tml@novell.com>
226 * win32/gwin32directorymonitor.c
227 (g_win32_directory_monitor_callback): Make prototype match
228 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
229 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
232 (g_win32_directory_monitor_constructor):
233 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
234 names in the GLib API on Windows, so convert to UTF-16 and open
237 2008-08-03 Tor Lillqvist <tml@novell.com>
239 Bug 541036 - Gnumeric crashes when trying to open Desktop or
240 user's folder under Windows
242 * win32/gwin32directorymonitor.c
243 (g_win32_directory_monitor_constructor): Ignore error from
244 CreateFile() when opening directory. Instead of asserting, just
245 store INVALID_HANDLE_VALUE then in
246 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
247 ReadDirectoryChangesW().
248 (g_win32_directory_monitor_cancel): Don't attempt to close
249 directory handle if it is INVALID_HANDLE_VALUE.
251 2008-08-01 Matthias Clasen <mclasen@redhat.com>
253 * gdesktopappinfo.c: Remove debug spew
255 2008-08-01 Hans Breuer <hans@breuer.org>
257 * makefile.msc : add gemblembedicon
259 2008-07-30 Matthias Clasen <mclasen@redhat.com>
261 Bug 545457 – gdmsetup crashed with SIGSEGV in
262 g_unix_mount_guess_should_display()
264 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
265 crash if no mount is found.
267 2008-07-28 Matthias Clasen <mclasen@redhat.com>
269 Bug 545203 – gfile.c: argument is different type.
271 * gfile.c (open_read_async_thread): Pass a GError **
272 to g_file_set_error_literal.
273 Reported by Kazuki Iwamoto
275 2008-07-28 Matthias Clasen <mclasen@redhat.com>
277 Bug 545157 – wrong/no list of "open with" applications for .cc and
280 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
281 Collect all ancestors, not just direct parents. Pointed
282 out by Bastien Nocera
284 2008-07-28 Matthias Clasen <mclasen@redhat.com>
286 * Makefile.am: Install gemblemedicon.h
288 2008-07-28 Matthias Clasen <mclasen@redhat.com>
290 * gemblemedicon.[hc]: Add a GIcon implementation that can
291 add an emblem to another icon.
298 * gfileicon.c: Small documentation additions.
300 2008-07-28 Tor Lillqvist <tml@novell.com>
302 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
305 2008-07-27 Tor Lillqvist <tml@novell.com>
307 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
309 2008-07-24 David Zeuthen <davidz@redhat.com>
313 Also export a g_mount_guess_content_type_sync() function.
315 2008-07-23 Matthias Clasen <mclasen@redhat.com>
317 529694 – SELinux context setting support
319 * gfileinfo.c: Support setting selinux attributes.
320 Patch by Tomas Bzatek
322 2008-07-22 Priit Laes <plaes@plaes.org>
324 Bug 544140 - fam-helper 64-bit issue?
326 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
328 2008-07-21 Matthias Clasen <mclasen@redhat.com>
330 * === Released 2.17.4 ===
332 2008-07-20 Matthias Clasen <mclasen@redhat.com>
334 * gvolumemonitor.[hc]:
339 * gmount.c: Documentation fixes
341 2008-07-19 Matthias Clasen <mclasen@redhat.com>
343 543504 – crash in Epiphany Web Browser: Opening local file
354 * gvolume.c: Register types thread-safely.
355 Patch by Christian Persch
357 2008-07-18 Matthias Clasen <mclasen@redhat.com>
359 * gcontenttype.c: Remove debug spew
361 2008-07-18 Matthias Clasen <mclasen@redhat.com>
363 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
366 * fen/fen-kernel.c: Remove a warning that was causing
367 crashes. Reported by Lin Ma.
369 2008-07-18 Matthias Clasen <mclasen@redhat.com>
371 Bug 543040 – async reading on dummy file will crash on
374 * gfile.c (open_read_async_thread): Cope with read_fn being
375 NULL. Reported by Lin Ma.
377 2008-07-18 Matthias Clasen <mclasen@redhat.com>
380 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
382 2008-07-16 Matthias Clasen <mclasen@redhat.com>
386 * giomodule.c: Rename a chapter id to avoid filename conflict.
388 2008-07-16 Matthias Clasen <mclasen@redhat.com>
390 Bug 540616 – mem leak in filechooser button
392 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
393 the mount entry. Reported by Chrisitan Persch
395 2008-07-16 Matthias Clasen <mclasen@redhat.com>
397 * gfile.c: Small documentation fixes.
399 2008-07-15 Matthias Clasen <mclasen@redhat.com>
401 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
403 2008-07-08 Matthias Clasen <mclasen@redhat.com>
408 * gmount.c: Documentation improvements.
410 2008-07-08 Matthias Clasen <mclasen@redhat.com>
413 * gmount.[hc]: Add g_mount_guess_content_type().
415 2008-07-06 David Zeuthen <davidz@redhat.com>
418 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
419 is needed for easily handling adoption of foreign volumes by
420 out-of-process volume monitors (#541793)
422 2008-07-06 David Zeuthen <davidz@redhat.com>
424 * gvolumemonitor.[ch]:
425 * gunionvolumemonitor.c: Export the eject-button signal on the
426 volume monitor class (#541794).
428 2008-07-06 Matthias Clasen <mclasen@redhat.com>
430 * gappinfo.c: More doc tweaks
432 2008-07-05 Matthias Clasen <mclasen@redhat.com>
434 * gappinfo.c: Clarify some docs
436 2008-07-03 Matthias Clasen <mclasen@redhat.com>
438 * gdesktopappinfo.c: Fix a stupid mistake.
440 2008-07-02 Matthias Clasen <mclasen@redhat.com>
442 * === Released 2.17.3 ===
444 2008-07-02 Matthias Clasen <mclasen@redhat.com>
446 * gfilemonitor.c: Fix the build.
448 2008-07-02 Matthias Clasen <mclasen@redhat.com>
450 Bug 536160 – Add g_file_monitor()
453 * gfile.[hc]: Add g_file_monitor which can return either
454 a file or a directory monitor. Proposed by Behdad Esfahbod
456 2008-07-02 Matthias Clasen <mclasen@redhat.com>
458 536733 – gio build failure on Irix
460 * glocalfile.c: Use a configure check for structfs.f_bavail.
462 2008-07-02 Matthias Clasen <mclasen@redhat.com>
464 Bug 534639 – add g_desktop_app_info_new_from_keyfile
467 * gdesktopappinfo.[hc]: Add a function to create a
468 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
470 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
472 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
474 2008-07-01 Matthias Clasen <mclasen@redhat.com>
476 * gunixmounts.c: Fix a doc typo.
478 2008-07-01 Cody Russell <bratsche@gnome.org>
480 * gio/gcontenttype.c:
481 * gio/gwin32appinfo.c:
482 * gio/gwin32volumemonitor.c:
483 * gio/gwin32mount.c: Fixed some include problems.
485 2008-07-01 Cody Russell <bratsche@gnome.org>
489 Moved all relevant typedefs into these files.
492 Updated wrt added files.
494 Split types into separate file for easier maintainership. (#538564)
496 2008-06-30 Matthias Clasen <mclasen@redhat.com>
498 Bug 540331 – g_file_append_to () documentation: can return NULL
500 * gfile.c (g_file_append_to): Clarify docs.
503 2008-06-30 Matthias Clasen <mclasen@redhat.com>
505 Bug 539090 – g_content_type_from_mime_type() should unalias
507 * gcontentype.c (g_content_type_from_mime_type): Unalias.
508 Patch by Markus Bergman
510 2008-06-30 Matthias Clasen <mclasen@redhat.com>
512 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
515 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
516 on ppc and alpha. Reported by Mart Raudsepp
518 2008-06-29 Matthias Clasen <mclasen@redhat.com>
521 * tests/memory-output-stream.c: Add some tests for
524 2008-06-29 Matthias Clasen <mclasen@redhat.com>
526 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
529 * gmemoryoutputstream.c (array_resize): Handle truncation to
530 zero correctly. Reported by Akira Tagoh
532 2008-06-29 Matthias Clasen <mclasen@redhat.com>
534 * gmemoryoutputstream.c: Trivial doc fixes
536 2008-06-29 Matthias Clasen <mclasen@redhat.com>
538 Bug 540802 – g_list_prepend doesn't concat lists
540 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
541 one list to another. Pointed out by Jan Arne Petersen
543 2008-06-28 Michael Natterer <mitch@imendio.com>
545 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
547 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
549 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
550 to avoid problems with partial icon themes.
552 2008-06-17 Hans Breuer <hans@breuer.org>
554 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
555 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
556 access again on win32, see bug #538127
557 * giomodule.c : ensure GWin32VolumeMonitor is registered
558 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
559 * Makefile.am makefile.msc : updated
561 2008-06-16 Hans Breuer <hans@breuer.org>
563 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
564 and initialization in one step avoids c99ism
566 2008-06-16 Christian Persch <chpe@gnome.org>
569 * gio/gbufferedinputstream.c
571 * gio/gdatainputstream.c
572 * gio/gdesktopappinfo.c
574 * gio/gfileenumerator.c
575 * gio/gfileinputstream.c
576 * gio/gfileoutputstream.c
578 * gio/glocaldirectorymonitor.c
580 * gio/glocalfileenumerator.c
581 * gio/glocalfileinfo.c
582 * gio/glocalfilemonitor.c
583 * gio/glocalfileoutputstream.c
584 * gio/gmemoryinputstream.c
585 * gio/gmemoryoutputstream.c
586 * gio/goutputstream.c
587 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
590 2008-06-16 Tor Lillqvist <tml@novell.com>
592 Bug 538362 - Get Win32 icons back in the file chooser
594 * gcontenttype.c (g_content_type_get_icon): Look up the icon
595 corresponding to a file extension in the Registry. Patch by Hans
597 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
599 2008-06-16 Tor Lillqvist <tml@novell.com>
601 Patches by Hans Breuer:
603 * glocalfile.c (is_xp_or_later): Handle compiling against older
604 SDK headers with missing VerifyVersionInfo(). Conditioned on
605 _MSC_VER, but should probably use some better test.
606 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
607 uninitialised statfs_result variable on Win32.
609 2008-06-16 Michael Natterer <mitch@imendio.com>
611 * *.c: chain up unconditionally in finalize() and dispose(). Also
612 don't dereference these function pointers when calling them since
613 that has no meaning at all.
615 2008-06-16 Ross Burton <ross@burtonini.com>
618 Remove check for dispose implementation as it annoys Emmanuele.
620 2008-06-16 Ross Burton <ross@burtonini.com>
622 Bug 536252 – GFileEnumerator should allow access to the containing
628 Add g_file_enumerator_get_container() and a container writeable
629 construct-only property. Also shuffle around typedefs to make it
632 * glocalfileenumerator.c:
633 * glocalfileenumerator.h:
635 Instead of a string filename take a GFile in the constructor and
636 use it to set the container property.
641 2008-06-16 Matthias Clasen <mclasen@redhat.com>
643 * gfile.c: Make includes more uniform
645 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
647 * tests/live-g-file.c (sample_struct):
648 Use less fancy unicode filenames, so the test doesn't fail
649 on Mac OS X (#531476).
651 2008-06-12 Matthias Clasen <mclasen@redhat.com>
653 * === Released 2.17.2 ===
655 2008-06-12 Matthias Clasen <mclasen@redhat.com>
657 * === Released 2.17.1 ===
659 2008-06-11 A. Walton <awalton@gnome.org>
661 * tests/g-file.c (test_g_file_new_null):
662 Fix broken test case.
664 2008-06-11 Matthias Clasen <mclasen@redhat.com>
666 * pltcheck.sh: We use g_clear_error now.
668 2008-06-11 Matthias Clasen <mclasen@redhat.com>
670 * glocalfile.c (g_local_file_enumerate_children): Revert
671 an unintended change.
673 2008-06-11 Matthias Clasen <mclasen@redhat.com>
675 * gfile.c (g_file_replace_contents): Don't unref before the last use.
677 2008-06-10 Matthias Clasen <mclasen@redhat.com>
679 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
682 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
683 as icon for the desktop directory, also make user-home and
684 user-desktop the preferred icons.
686 2008-06-10 Matthias Clasen <mclasen@redhat.com>
689 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
690 to add a name to the front of the list.
692 2008-06-10 Matthias Clasen <mclasen@redhat.com>
694 Bug 537392 – Additional colon in xattr name
696 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
697 too. Reported by Alessandro Morandi
699 2008-06-10 Matthias Clasen <mclasen@redhat.com>
701 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
704 * glocalfile.c (get_fs_type): Add afs and autofs.
705 Patch by Danny Baumann.
707 2008-06-10 Matthias Clasen <mclasen@redhat.com>
709 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
711 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
712 is no parent. (Owen Taylor, patch by Christian Neumair)
714 2008-06-10 Paolo Borelli <pborelli@katamail.com>
716 * gfile.c (g_file_replace_contents): do not leak the output stream.
718 2008-06-10 Michael Natterer <mitch@imendio.com>
720 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
721 uninitialized memory as array index.
723 2008-06-10 Tor Lillqvist <tml@novell.com>
725 * gcontenttype.c (g_content_type_can_be_executable)
726 (g_content_type_get_icon) [Win32]: Add TODO comments.
728 2008-06-09 Matthias Clasen <mclasen@redhat.com>
730 * xdgmime/Makefile.am: Fix the build
732 2008-06-09 Matthias Clasen <mclasen@redhat.com>
734 * gcontenttype.c (g_content_type_get_icon): Use icons specified
735 in the shared mime database, if available.
737 * xdgmime/*: Sync with upstream. This brings support for
738 glob weights, generic icons, and changes the cache format to
741 2008-05-28 Michael Natterer <mitch@imendio.com>
743 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
744 the global CPPFLAGS now.
746 * tests/data-input-stream.c
747 * tests/data-output-stream.c
748 * tests/g-file-info.c
750 * tests/live-g-file.c
751 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
753 2008-05-27 Matthias Clasen <mclasen@redhat.com>
755 * === Released 2.17.0 ===
757 * tests/live-g-file.c: Clean up after the tests, so make distcheck
758 doesn't complain about leftover files.
760 2008-05-27 simon.zheng <simon.zheng@sun.com>
762 * glocalfile.c: (g_local_file_query_filesystem_info):
763 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
765 2008-05-26 Michael Natterer <mitch@imendio.com>
767 * gmemoryoutputstream.h: declare
768 g_memory_output_stream_get_data_size().
770 2008-05-26 Matthias Clasen <mclasen@redhat.com>
772 * tests/*: Make tests work
774 2008-05-26 Matthias Clasen <mclasen@redhat.com>
776 * gio.symbols: Add g_memory_output_stream_get_data_size.
778 2008-05-25 Ross Burton <ross@burtonini.com>
781 Fix typo in error message (#534764).
783 2008-05-25 Ross Burton <ross@burtonini.com>
786 Fix circular dependency loop for gioenumtypes.h (#534759).
788 2008-05-19 Hans Breuer <hans@breuer.org>
790 * Makefile.am : EXTRA_DIST += makefile.msc
792 2008-05-17 Matthias Clasen <mclasen@redhat.com>
795 * gcontenttype.c: (g_content_type_from_mime_type):
796 New function to create a content type from a mime type. (#527175,
799 2008-05-17 Matthias Clasen <mclasen@redhat.com>
801 Bug 532965 – Should not return filesystem::free for certain file systems
803 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
804 free space for ncpfs.
806 2008-05-17 Matthias Clasen <mclasen@redhat.com>
808 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
810 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
811 st_dev might be zero.
813 2008-05-16 Tor Lillqvist <tml@novell.com>
815 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
816 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
818 2008-05-13 Bastien Nocera <hadess@hadess.net>
820 * gfile.c (has_valid_scheme): A URI scheme must start with a
821 letter, even if later more characters are allowed (#532852)
823 2008-05-05 Michael Natterer <mitch@imendio.com>
825 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
826 code from being checked in that breaks the build of applications
827 which use G_DISABLE_SINGLE_INCLUDES.
829 * makegioalias.pl: make the alias file include "glib.h" instead of
832 * gio.symbols: whitespace change to force regeneration of the
833 alias file after above script change.
835 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
837 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
839 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
841 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
843 2008-04-28 David Zeuthen <davidz@redhat.com>
845 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
846 displaying mounts in a subdirectory not accessible to the
849 2008-04-22 Michael Natterer <mitch@imendio.com>
851 * Makefile.am: fix library versioning (it was 0.0.0).
853 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
855 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
856 Default disable all loggings.
857 * fen/fen-kernel.c: (printevent), (port_add_kevent),
858 (port_fetch_event_cb): Fixed two macro nits.
860 2008-04-16 Matthias Clasen <mclasen@redhat.com>
862 * xdgmime/xdgmime.c: Rework the timestamp checking code
863 to protect against duplicate directories in XDG_DATA_DIRS.
864 Fixes fd.o bug 12513, reported by Joe Shaw.
866 2008-04-16 Matthias Clasen <mclasen@redhat.com>
868 Partically revert the last commit after realizing that
869 xdg_mime_media_type_equal doesn't have to init at all.
872 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
874 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
876 2008-04-16 Matthias Clasen <mclasen@redhat.com>
878 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
879 reported by Joe Shaw and Federico Mena Quintero.
881 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
882 (xdg_mime_media_type_equal): Turn into a wrapper around the
885 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
886 functions throughout.
888 2008-04-16 Michael Meeks <michael.meeks@novell.com>
890 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
891 tolerate an empty TryExec= line without failing; nautilus used
892 to create launchers with these in previous versions. Fixes #528433
894 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
896 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
897 after name. Fixes #527132.
899 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
901 * gfile.c: (g_file_replace):
904 2008-04-07 Matthias Clasen <mclasen@redhat.com>
906 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
908 * gfile.c (file_copy_fallback): Fix the argument order. Patch
909 by Christian Kellner.
911 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
913 * gunixmounts.c: (g_unix_mount_guess_should_display):
914 Don't list the user directory as a mount, fix potential issue
915 when other users have a similar naming and don't special case the
916 gvfs mounts there since that's not required (#525866)
918 2008-03-31 Alexander Larsson <alexl@redhat.com>
920 * glocalfile.c (get_parent):
923 2008-03-31 A. Walton <awalton@svn.gnome.org>
925 * gfile.c (g_file_query_file_type):
926 Always return a GFileType enum value (#520715).
928 2008-03-31 Alexander Larsson <alexl@redhat.com>
930 * glocalfileenumerator.c:
931 Read readdir() info in chunks (of 1000) and sort
932 the chunks by inode before stat:ing.
933 This is a 20% performance increase in testing
934 gvfs-ls on /usr/bin with cold cache.
936 2008-03-31 Alexander Larsson <alexl@redhat.com>
938 * gmemoryoutputstream.c:
939 Clarify docs for g_memory_output_stream_get_size.
940 Add g_memory_output_stream_get_data_size.
942 2008-03-30 Matthias Clasen <mclasen@redhat.com>
946 * gfile.h: Add g_file_query_file_type convenience function
947 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
949 2008-03-30 Matthias Clasen <mclasen@redhat.com>
952 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
954 2008-03-28 A. Walton <awalton@svn.gnome.org>
956 * giomodule.c (_g_io_modules_ensure_loaded):
957 Adds GIO_EXTRA_MODULES environment variable support, closing bug
960 2008-03-28 Alexander Larsson <alexl@redhat.com>
963 (copy_stream_with_progress):
966 2008-03-28 Alexander Larsson <alexl@redhat.com>
969 (copy_stream_with_progress):
970 (file_copy_fallback):
971 Fallback to g_file_query_info for source size
972 if g_file_input_stream_query_info fails. (#524579)
974 2008-03-28 Alexander Larsson <alexl@redhat.com>
976 * glocalfile.c (g_local_file_move):
977 Reuse old string instead of adding new one.
979 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
981 * fen/*.[hc]: still copyright issue. I hate copyright.
983 2008-03-27 Alexander Larsson <alexl@redhat.com>
985 * glocalfile.c (g_local_file_move):
986 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
987 file over directory. This is according to the docs and what the move via
988 copy+remove fallback does.
990 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
992 * fen/*.[hc]: Updated copyright.
994 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
996 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
998 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1000 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1001 not emit attribute changed events when optimizing changed events.
1002 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1005 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1007 * gmountoperation.[hc]: Small documentation additions
1009 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1011 * gunixmounts.c: (guess_mount_type):
1012 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1014 2008-03-19 Alexander Larsson <alexl@redhat.com>
1017 (copy_stream_with_progress):
1018 Bump block side for copy to 64k to minimize
1019 overhead for low latency links. (#523015)
1021 2008-03-16 Tor Lillqvist <tml@novell.com>
1023 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1024 depend on gio.def on Windows.
1026 2008-03-12 David Zeuthen <davidz@redhat.com>
1030 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1032 2008-03-14 Alexander Larsson <alexl@redhat.com>
1036 Avoid redudant tests (#521851)
1037 Patch from Josselin Mouette
1039 2008-03-14 Alexander Larsson <alexl@redhat.com>
1042 (g_file_monitor_is_cancelled):
1043 Fix C89 issue (#521672)
1044 Patch from Jens Granseuer
1046 2008-03-14 Alexander Larsson <alexl@redhat.com>
1048 * fam/fam-helper.[ch]:
1050 Shut down fam (including removing fam GSource) when
1051 module is unloaded (#521513)
1052 Patch from Joe Marcus Clarke
1054 2008-03-14 Alexander Larsson <alexl@redhat.com>
1057 (_g_io_modules_ensure_loaded):
1060 2008-03-14 Alexander Larsson <alexl@redhat.com>
1063 (g_local_file_query_filesystem_info):
1064 Use right define name for f_fstypename member check
1066 2008-03-14 Alexander Larsson <alexl@redhat.com>
1069 * fen/Makefile.am: Added.
1070 * fen/fen-data.[ch]: Added.
1071 * fen/fen-dump.[ch]: Added.
1072 * fen/fen-helper.[ch]: Added.
1073 * fen/fen-kernel.[ch]: Added.
1074 * fen/fen-missing.[ch]: Added.
1075 * fen/fen-node.[ch]: Added.
1076 * fen/fen-sub.[ch]: Added.
1077 * fen/gfendirectorymonitor.[ch]: Added.
1078 * fen/gfenfilemonitor.[ch]: Added.
1080 Added Solaris FEN file notification backend.
1081 Patch from Lin Ma <Lin.Ma@Sun.COM>
1083 2008-03-13 Tor Lillqvist <tml@novell.com>
1085 * Makefile.am: Actually use the gio.def file when linking the
1086 library on Windows. Produce .lib library for Microsoft's toolchain
1087 when possible. Install the .lib and .def file like for the other
1090 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1092 * tests/live-g-file.c:
1093 Include live-g-file in standard set of tests, making a temporary
1094 directory in source structure.
1096 Clean target directory before the tests (write mode only)
1098 2008-03-12 Tor Lillqvist <tml@novell.com>
1100 Bug 517419 - gio win32 directory monitor
1101 Implementation by Vlad Grecescu.
1104 * win32/gwin32directorymonitor.h
1105 * win32/gwin32directorymonitor.c: New files.
1107 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1109 * Makefile.am: Add the win32 subdirectory.
1111 2008-03-12 Tor Lillqvist <tml@novell.com>
1113 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1114 normal struct stat on Unix but struct _stati64 on Windows to have
1115 access to 64-bit file size information. Use that instead of struct
1116 stat in the functions declared here in this private header.
1118 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1119 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1120 warnings about unused functions and variables. Don't set
1121 meaningless attributes like inode numbers on Windows.
1123 2008-03-12 Benjamin Otte <otte@gnome.org>
1126 trim whitespace so gtk-doc groks the function name
1128 2008-03-12 Tor Lillqvist <tml@novell.com>
1130 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1131 returning FALSE, on Win32.
1133 2008-03-11 Alexander Larsson <alexl@redhat.com>
1136 * glocalfileinfo.[ch]:
1137 Correctly implement can_trash by actually
1138 looking for a trash dir, not just assuming
1141 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1143 * === Released 2.16.1 ===
1145 2008-03-11 Alexander Larsson <alexl@redhat.com>
1148 Fix crashes in new constructor and properties code
1150 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1152 * gfile.c: Minor spelling correction in documentation:
1153 existance -> existence.
1155 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1157 * === Released 2.16.0 ===
1159 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1161 * gio.symbols: Remove g_file_contains_file here, too.
1163 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1165 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1166 Samuel Cormier-Iijima)
1168 2008-03-08 Tor Lillqvist <tml@novell.com>
1170 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1173 2008-03-07 Alexander Larsson <alexl@redhat.com>
1176 (g_local_file_query_filesystem_info):
1177 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1178 Patch from Jasper Lievisse Adriaanse
1180 2008-03-06 Tor Lillqvist <tml@novell.com>
1182 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1183 comments for the *_USEC attributes.
1185 2008-03-06 Alexander Larsson <alexl@redhat.com>
1187 * gfile.c (g_file_query_exists):
1188 Add g_return_val_if_fail check (#520700)
1190 2008-03-06 Alexander Larsson <alexl@redhat.com>
1192 * gdesktopappinfo.c:
1195 * gunionvolumemonitor.c:
1198 * tests/live-g-file.c:
1199 * xdgmime/xdgmimecache.c:
1200 Fix sparse warnings (#519489)
1202 2008-03-05 Alexander Larsson <alexl@redhat.com>
1205 Make cancellation threadsafe (i.e.
1206 guarantee its only done once, and always
1209 * glocaldirectorymonitor.c:
1210 Make sure we the monitor lives while the
1211 mounts_changed callback is being called (#520484)
1213 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1215 * gbufferedinputstream.c: Fix typo in parameter
1218 2008-03-04 Alexander Larsson <alexl@redhat.com>
1221 Remove deprecated symbols we kept for one release.
1223 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1226 * goutputstream.c: Tiny documentation corrections.
1228 2008-03-03 Alexander Larsson <alexl@redhat.com>
1230 * gunionvolumemonitor.c:
1232 Fix the adopt_orphan_mount vfunc to take a
1233 volume_monitor reference in an ABI compat way.
1234 This change is not API compat, but the added
1235 arg is not used in the only user of this vfunc, so
1236 all we get is a harmless warning in gvfs (#520169)
1238 2008-03-01 Benjamin Otte <otte@gnome.org>
1241 clarify docs for g_file_delete().
1243 2008-02-29 Alexander Larsson <alexl@redhat.com>
1247 Make sure empty files get text/plain type (#518720)
1249 2008-02-27 Alexander Larsson <alexl@redhat.com>
1255 (g_unix_volume_mount):
1256 Add missing GMountMountFlags argument
1258 2008-02-26 Alexander Larsson <alexl@redhat.com>
1261 (g_local_file_delete):
1262 Handle filesystems (like ntfs-3g) that return EEXIST instead
1263 of ENOTEMPTY (#518816)
1265 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1267 * === Released 2.15.6 ===
1269 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1271 * gfile.c (g_file_find_enclosing_mount):
1272 * ginputstream.c (g_input_stream_set_pending):
1273 * glocalfile.c (g_local_file_find_enclosing_mount):
1274 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1275 * goutputstream.c (g_output_stream_set_pending):
1277 Fixup translator comments (#518578).
1279 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1281 * gfile.c (g_file_find_enclosing_mount):
1283 * glocalfile.c (g_local_file_find_enclosing_mount):
1286 Fix a few typos in translator comments and documentation.
1288 2008-02-25 Alexander Larsson <alexl@redhat.com>
1295 Add translator comments (#518578)
1297 2008-02-25 Alexander Larsson <alexl@redhat.com>
1300 Reintroduce g_file_contains_file, keep around for one
1301 unstable release cycle to avoid crashing to many apps.
1302 Make sure to delete after release.
1304 2008-02-25 Alexander Larsson <alexl@redhat.com>
1307 Remove deprecated g_file_contains_file.
1309 2008-02-25 Alexander Larsson <alexl@redhat.com>
1312 Emit actual change signals in an idle handler.
1313 This avoids reentrance and locking problems in
1314 the file notification backends.
1316 2008-02-25 Alexander Larsson <alexl@redhat.com>
1319 (g_unix_mount_guess_should_display):
1320 Remove type guessing, instead just display
1321 mounts in /media and in ~/.
1323 2008-02-25 Alexander Larsson <alexl@redhat.com>
1326 Make new strings reuse old ones.
1328 2008-02-25 Alexander Larsson <alexl@redhat.com>
1331 Implement trashing and filesystem::readonly for win32 (#517235)
1332 Patch from Yevgen Muntyan
1334 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1336 * gfileinfo.h: Documentation fixes.
1338 2008-02-22 Alexander Larsson <alexl@redhat.com>
1340 * gcontenttype.c (g_content_type_get_icon):
1341 Look at old-style gnome mime icon names too, as many
1342 have not moved to the new style.
1344 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1346 * *.c: Correct the @include in for section docs.
1348 2008-02-21 David Zeuthen <davidz@redhat.com>
1350 * glocalfileinfo.c: (_g_local_file_info_get):
1352 (g_content_type_get_icon): Implement this function by
1353 moving bits from glocalfileinfo.c
1354 (g_content_type_get_description): Unalias before getting
1355 description (#517687)
1357 * gfile.c: (g_file_class_init),
1358 (g_file_query_filesystem_info_async),
1359 (g_file_query_filesystem_info_finish),
1360 (query_filesystem_info_data_free),
1361 (query_filesystem_info_async_thread),
1362 (g_file_real_query_filesystem_info_async),
1363 (g_file_real_query_filesystem_info_finish):
1364 * gfile.h: Implement async version of
1365 g_file_query_filesystem_info()
1367 * gfileinfo.h: Add new attributes for filesystem::use-preview
1369 * gio.symbols: Update
1371 * gthemedicon.c: (g_themed_icon_append_name):
1372 * gthemedicon.h: Add new new convenience function.
1374 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1375 (get_mounts), (get_volumes), (get_connected_drives),
1376 (get_volume_for_uuid), (get_mount_for_uuid),
1377 (g_union_volume_monitor_init), (populate_union_monitor),
1378 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1379 (g_volume_monitor_adopt_orphan_mount):
1381 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1382 monitor implementations to call into the main volume monitor. Also
1383 separate object initialization and volume monitor initialization
1384 such that non-native volume monitors can properly adopt their
1387 2008-02-21 Alexander Larsson <alexl@redhat.com>
1392 2008-02-21 Alexander Larsson <alexl@redhat.com>
1395 Add more documentation about how GFiles work (from #517086)
1397 2008-02-21 Alexander Larsson <alexl@redhat.com>
1401 Add new g_file_has_prefix that does the same as g_file_contains_file.
1402 Deprecate g_file_contains_file and add a macro that converts
1403 it to g_file_has_prefix.
1404 The reason for this change is that the contains_file() name seems to
1405 imply that this does more work than what it does, but its really only
1406 a name match (from #517086)
1411 Update to match the above change.
1413 2008-02-20 Benjamin Otte <otte@gnome.org>
1415 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1416 (g_file_eject_mountable):
1417 even more cases of not returning in error path
1419 2008-02-20 Benjamin Otte <otte@gnome.org>
1421 * gfile.c: (g_file_mount_mountable):
1422 return from function in error path.
1424 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1427 Remove trailing coma in GMountMountFlags struct
1429 2008-02-18 Alexander Larsson <alexl@redhat.com>
1433 * glocalfileoutputstream.c:
1434 Use g_unlink/g_rename instead of unlink/rename;
1435 do not pass raw filenames to g_set_error. (#517239)
1436 Patch from Yevgen Muntyan.
1438 2008-02-18 Alexander Larsson <alexl@redhat.com>
1441 * glocalfileoutputstream.c:
1442 Open files with O_BINARY on windows. (#517140)
1444 2008-02-14 Alexander Larsson <alexl@redhat.com>
1446 * glocalfileoutputstream.c:
1447 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1449 2008-02-14 Alexander Larsson <alexl@redhat.com>
1452 Copy permissions with file on copy (#514084)
1453 This is what cp does and makes sure e.g. the
1454 exec permissions are kept.
1455 Its kinda weird in that it keeps the permission bits
1456 the same while the uid and gid are different. However
1457 the new uid is the user so its not a security issue,
1458 and I've heard no complaints about cp on this issue.
1460 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1462 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1464 2008-02-13 Alexander Larsson <alexl@redhat.com>
1466 * inotify/inotify-path.c:
1467 Define IN_ONLYDIR if not in header (#515346)
1469 2008-02-12 Alexander Larsson <alexl@redhat.com>
1471 * tests/live-g-file.c:
1474 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1476 * === Released 2.15.5 ===
1478 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1480 * gio.symbols: Add g_mount_mount_flags_get_type.
1482 2008-02-11 Alexander Larsson <alexl@redhat.com>
1485 (g_file_info_set_attribute_mask):
1486 (g_file_attribute_matcher_matches_id):
1487 Correctly handle NULL GAttributeMatcher meaning
1488 matches nothing. (Fixes #513492)
1490 2008-02-11 Alexander Larsson <alexl@redhat.com>
1495 Added GMountMountFlags enum and added a flags
1496 argument to all mount calls.
1498 This is an API/ABI change for future extensibility,
1499 as I think we will need at least an
1500 inhibit-autorun flag (the panel needs this).
1501 There are no flags defined yet though.
1503 2008-02-11 Alexander Larsson <alexl@redhat.com>
1506 Added new standard::description attribute.
1507 Requested by Vincent, and useful for both
1510 2008-02-11 Alexander Larsson <alexl@redhat.com>
1512 * gdesktopappinfo.c:
1515 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1517 * *.c: Documentation additions
1519 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1521 * gappinfo.h: Formatting cleanup
1522 * gappinfo.c: Fix up docs.
1524 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1526 * gunixmounts.c: Consistently use getmntent_r() and fall
1527 back to getmntent(). (#515492)
1529 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1531 * gbufferedinputstream.c:
1533 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1535 * tests/data-input-stream.c:
1536 * tests/data-output-stream.c: Portability fixes.
1538 2008-02-08 Alexander Larsson <alexl@redhat.com>
1543 Add g_volume_should_automount.
1546 2008-02-07 Tor Lillqvist <tml@novell.com>
1548 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1549 Win32, too Unix-specific.
1551 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1553 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1554 a local plt if the compiler doesn't support what we want. Bug #514702
1556 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1558 reviewed by: <delete if not using a buddy>
1561 * gunixinputstream.c:
1562 * gunixoutputstream.c:
1564 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1566 * tests/Makefile.am:
1567 * tests/live-g-file.c:
1568 * tests/live-g-file.txt:
1569 New GIO testing module working over real data
1571 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1573 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1574 Fallback to rename() if link() is not available
1575 (when no support on target filesystem)
1577 2008-02-06 Michael Natterer <mitch@imendio.com>
1579 * gfileinfo.c (g_file_info_get_icon): replace
1580 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1582 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1584 * gfile.c (g_file_create):
1585 Documentation update of error codes
1587 2008-02-06 Alexander Larsson <alexl@redhat.com>
1589 * gdesktopappinfo.c:
1590 Update to use both mimeapps.list and
1591 defaults.list as discussed on xdg list.
1593 2008-02-06 Benjamin Otte <otte@gnome.org>
1596 * gfilenamecompleter.c:
1597 Fix some typos in the documentation.
1599 2008-02-06 Alexander Larsson <alexl@redhat.com>
1601 * glocalfile.c (g_local_file_trash):
1602 Don't succeed with trash if newly created
1603 trash dir has the wrong owner. (#514696)
1605 2008-02-05 Alexander Larsson <alexl@redhat.com>
1607 * glocalfile.c (g_local_file_move):
1608 Don't spew warnings when destination is not
1611 2008-02-03 Hans Breuer <hans@breuer.org>
1613 * makefile.msc : update
1615 2008-02-01 Michael Natterer <mitch@imendio.com>
1617 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1618 return value of xdg_mime_list_mime_parents() to a variable of the
1621 2008-02-01 Alexander Larsson <alexl@redhat.com>
1623 * gappinfo.c (g_app_info_launch_uris):
1624 Actually call the launch_uris method, not
1627 2008-02-01 Alexander Larsson <alexl@redhat.com>
1629 * gdesktopappinfo.c (g_desktop_app_info_equal):
1630 Ensure appinfos with no id but same pointer value
1633 2008-02-01 Alexander Larsson <alexl@redhat.com>
1635 * gappinfo.c (g_app_info_launch_default_for_uri):
1638 2008-02-01 Alexander Larsson <alexl@redhat.com>
1642 Add g_app_info_launch_default_for_uri utility
1645 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1647 * gdesktopappinfo.c:
1648 Doc fix for g_app_info_get_default_for_uri_scheme ()
1651 2008-01-30 Alexander Larsson <alexl@redhat.com>
1654 Add doc comment about uris vs GFiles to
1657 * gdesktopappinfo.c:
1658 Ensure uris passed to g_app_info_launch_uris()
1659 are not roundtriped through GFile (as that
1660 may be slightly destructive for e.g. mailto: links)
1662 2008-01-30 Alexander Larsson <alexl@redhat.com>
1664 * tests/data-input-stream.c:
1665 * tests/data-output-stream.c:
1666 C89 fixes from Jens Granseuer (#512849)
1668 2008-01-30 Alexander Larsson <alexl@redhat.com>
1671 Fix gamin/fam difference build issue. (#509419)
1673 2008-01-29 Alexander Larsson <alexl@redhat.com>
1676 * gdesktopappinfo.c:
1677 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1679 2008-01-29 Alexander Larsson <alexl@redhat.com>
1681 * gdesktopappinfo.c:
1682 * gdesktopappinfo.h:
1683 giomodule-priv.h include moved to .c file.
1685 2008-01-29 Alexander Larsson <alexl@redhat.com>
1687 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1688 Remove unused prio/name fields.
1690 2008-01-29 Alexander Larsson <alexl@redhat.com>
1692 * gcontenttype.c (looks_like_text):
1693 Don't treat whitespace as control chars.
1695 2008-01-29 Alexander Larsson <alexl@redhat.com>
1697 * gdesktopappinfo.c:
1698 Lazily create the desktop files for appinfos created
1699 by g_app_info_create_from_commandline() when needed
1700 for mime associations. This allows run-time use
1701 of GAppInfo object without creating unnecessary
1704 2008-01-29 Alexander Larsson <alexl@redhat.com>
1707 Added new symbols to gio.symbols
1709 2008-01-29 Alexander Larsson <alexl@redhat.com>
1712 Add g_file_query_default_handler utility to easily look up
1713 the GAppInfo that handles a file.
1715 * gdesktopappinfo.[ch]:
1717 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1720 Remove unused function
1722 2008-01-29 Alexander Larsson <alexl@redhat.com>
1724 * gfileenumerator.c:
1725 Mention need to free returned value in
1726 g_file_enumerator_next_files_finish docs.
1727 Fix leak if g_file_enumerator_next_files_finish()
1730 2008-01-29 Alexander Larsson <alexl@redhat.com>
1733 (_g_unix_content_type_get_parents):
1734 Use list_parents, not get_parents from xdgmime, because
1735 the later doesn't use the cache.
1737 * xdgmime/xdgmimecache.c:
1738 (_xdg_mime_cache_list_mime_parents):
1739 Don't list the same type as parent multiple times.
1741 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1743 * === Released 2.15.4 ===
1745 2008-01-28 Alexander Larsson <alexl@redhat.com>
1748 Register local vfs with prio 0.
1751 Remove old name and prio class members
1753 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1755 * tests/g-file.c: Disable some tests that are failing in
1756 the absence of a http backend.
1758 2008-01-28 Alexander Larsson <alexl@redhat.com>
1762 Add registration hooks for extension points.
1763 Register the gio extension points.
1765 * fam/gfamdirectorymonitor.c:
1766 * fam/gfamfilemonitor.c:
1767 * glocaldirectorymonitor.[ch]:
1768 * glocalfilemonitor.[ch]:
1769 * gnativevolumemonitor.h:
1770 * gunionvolumemonitor.c:
1771 * gunixvolumemonitor.c:
1774 * inotify/ginotifydirectorymonitor.c:
1775 * inotify/ginotifyfilemonitor.c:
1776 Use the extension points registration instead
1777 of g_type_children().
1779 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1782 * gvolume.[hc]: Document new API.
1784 * gfile.c (g_file_copy_async): Fix docs
1786 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1788 * gbufferedinputstream.c:
1790 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1793 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1795 * glocalfile.c: Avoid trivial differences in translatable strings.
1797 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1799 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1800 build with gcc 3.4 (#509419)
1802 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1804 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1805 (#509994, Murray Cumming)
1807 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1809 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1810 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1811 this allows big jobs to be executed in chunks, instead of blocking
1812 the main loop for a long time.
1814 * gsimpleasyncresult.c:
1815 * giofile.c: Adapt callers.
1817 2008-01-25 Alexander Larsson <alexl@redhat.com>
1819 * gdesktopappinfo.c:
1820 Implement changes discussed on xdg list.
1821 Now we can add supported mimetypes by just using defaults.list
1822 We can also remove associations in defaults.list.
1824 2008-01-25 Alexander Larsson <alexl@redhat.com>
1826 * gdesktopappinfo.c:
1827 Don't make local copy of desktop file
1828 for mimetype changes if the file already
1829 supports the new mimetype.
1831 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1835 * gbufferedinputstream.c:
1836 * glocalfile.c: String improvements. (#511966,
1837 Theppitak Karoonboonyanan)
1839 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1841 * gioscheduler.h: Expand docs a bit.
1843 2008-01-24 Alexander Larsson <alexl@redhat.com>
1846 Add g_drive_get_identifier and
1847 g_drive_enumerate_identifiers
1850 Add g_volume_get_identifier and
1851 g_volume_enumerate_identifiers
1857 Implement identifiers for unix backend
1859 2008-01-24 Alexander Larsson <alexl@redhat.com>
1864 Add g_file_copy_async() (#511580)
1865 Based on patch from Carlos Garcia Campos
1867 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1869 * gioscheduler.c: Some documentation additions.
1871 2008-01-22 Alexander Larsson <alexl@redhat.com>
1873 * gdesktopappinfo.c:
1874 (g_desktop_app_info_new):
1875 Don't leak basename.
1877 2008-01-22 Alexander Larsson <alexl@redhat.com>
1879 * gdesktopappinfo.c:
1880 (g_desktop_app_info_new_from_filename):
1883 2008-01-22 Alexander Larsson <alexl@redhat.com>
1885 * glocalfileinfo.c (get_thumbnail_attributes):
1888 2008-01-22 Alexander Larsson <alexl@redhat.com>
1891 (canonicalize_filename):
1892 Canonicalize paths that start with more than
1896 (compare_two_files):
1897 (test_g_file_new_for_path):
1900 2008-01-22 Alexander Larsson <alexl@redhat.com>
1903 Allow UTF-8 in file:// parse names.
1905 * tests/Makefile.am:
1906 * tests/data-input-stream.c:
1907 * tests/data-output-stream.c:
1908 * tests/g-file-info.c:
1910 Added a bunch of tests from Tomas Bzatek
1912 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1914 * === Released 2.15.3 ===
1916 2008-01-21 Alexander Larsson <alexl@redhat.com>
1918 * gfileinputstream.[ch]:
1919 * gfileoutputstream.[ch]:
1921 Remove duplicated GSeekable functions. (#509990)
1922 Just use the g_seekable_xxx() calls instead.
1924 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1927 * gvolumemanager.c: Whitespace cleanups.
1929 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1930 Use the right mode when creating the file.
1932 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1934 * gfileenumerator.c:
1935 * gfileinputstream.c:
1937 * goutputstream.c: Documentation: Fixed minor typos
1938 and added more mentions of specific _finish() functions.
1940 2008-01-21 Alexander Larsson <alexl@redhat.com>
1942 * inotify/Makefile.am:
1943 * inotify/inotify-helper.c:
1944 * inotify/inotify-kernel.c:
1945 * inotify/inotify-path.c:
1946 * inotify/local_inotify.h: Removed.
1947 * inotify/local_inotify_syscalls.h: Removed.
1948 Removed the included copies of the inotify
1949 headers. We now only use the <sys/inotify.h>
1950 header which exists on modern systems.
1951 This fixes problems on ARM and SH5 (#510448)
1952 but is also generally much cleaner and future
1953 safe. For instance, if other OSes add support
1954 for inotify it should "just work".
1956 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1958 * inotify/*.c: Coding style fixes.
1959 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1960 for the 1/4 Hz timer.
1962 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1965 * gfilemonitor.[hc]:
1966 * gmemoryinputstream.c:
1967 * gmemoryoutputstream.c:
1968 * gmountoperation.c:
1969 * gthemedicon.c: Documentation updates
1971 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1973 * gfile.c: documentation: Fixed more minor
1976 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1978 * gmount.c: (g_mount_remount): documentation:
1979 Mention g_mount_remount_finish() instead of
1980 g_mount_unmount_finish().
1982 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1986 * gfile.c: Fixed some minor typos in the
1989 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1991 * gio/gvolumemonitor.c:
1992 (g_volume_monitor_get_connected_drives):
1993 (g_volume_monitor_get_volumes):
1994 (g_volume_monitor_get_mounts): Documentation:
1995 Clarify the ownership of the regurn GLists.
1997 2008-01-17 Alexander Larsson <alexl@redhat.com>
2000 Add the async find_enclosing_mount version
2001 to the header file too.
2003 2008-01-17 Alexander Larsson <alexl@redhat.com>
2006 Add async version of find_enclosing_mount
2007 with default implementation.
2009 2008-01-17 Alexander Larsson <alexl@redhat.com>
2014 Allow calls to implementation of copy and write
2015 even if the type of the file implementations is
2016 different. This can be used to implement native
2017 upload and download calls in a vfs.
2020 (g_local_file_move):
2021 Protect against the case where move is called
2022 with one file not being local.
2024 Make sure we call the progress callback once
2025 in the native move operation so that the caller
2026 knows how many bytes were copied.
2028 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2031 * gdatainputstream.c:
2033 * gfileoutputstream.c:
2038 * gunixmounts.c: Corrected some typos in the documentation:
2039 occured -> occurred.
2040 its -> it's (where appropriate).
2042 2008-01-16 Alexander Larsson <alexl@redhat.com>
2046 Add g_file_query_exists (#508771)
2048 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2053 * gvolume.c: For async functions that have no non-async
2054 version, document that the GAsyncReadyCallback may be NULL.
2057 2008-01-15 Alexander Larsson <alexl@redhat.com>
2059 * gmemoryinputstream.c:
2060 * gmemoryoutputstream.c:
2061 Don't do pointer arithmetic on void * (#508602)
2062 Patch from Kazuki IWAMOTO
2064 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2066 * === Released 2.15.2 ===
2068 2008-01-14 Alexander Larsson <alexl@redhat.com>
2070 * gfile.c (g_file_monitor_file):
2071 Don't set error here, since we fallback to polling monitor.
2073 2008-01-14 Alexander Larsson <alexl@redhat.com>
2076 (g_file_monitor_directory):
2077 (g_file_monitor_file):
2078 Add GError to file monitor calls
2080 * glocaldirectorymonitor.c:
2081 * glocaldirectorymonitor.h:
2083 * glocalfilemonitor.c:
2084 * glocalfilemonitor.h:
2086 Update for above change
2088 2008-01-14 Alexander Larsson <alexl@redhat.com>
2092 Handle root correctly in g_file_get_relative_path (#508719)
2094 2008-01-14 Alexander Larsson <alexl@redhat.com>
2097 Clean up docs and example for GAsyncResult (#508074)
2099 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2101 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2102 and correct some spelling mistakes. Bug #508108.
2104 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2106 * glocalfileinfo.c: Add a comment.
2108 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2110 * gfileinfo.c: GFileInfo description: Mention
2111 how to actually set attributes in a GFile and how to discover
2112 which attributes are settable. Bug #508378.
2114 2008-01-10 A. Walton <awalton@svn.gnome.org>
2116 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2117 (g_app_info_get_default_for_type):
2118 Check for NULL content types.
2120 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2122 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2124 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2126 * gfile.c: *_async() functions: Several small corrections
2127 to the documentation, mostly correcting copy/paste errors
2128 and improving some sentences.
2130 2008-01-09 Dan Winship <danw@gnome.org>
2132 * glocalfile.c (get_unique_filename): x86_64 fix
2134 2008-01-09 Alexander Larsson <alexl@redhat.com>
2139 Add g_unix_mount_guess_should_display and use
2140 for unix volume monitor backend.
2141 This means we more or less show what the
2142 gnome-vfs backend did.
2143 Based on patch from Padraig O'Briain
2145 2008-01-09 Alexander Larsson <alexl@redhat.com>
2149 Add g_themed_icon_new_with_default_fallbacks
2152 Use default fallbacks for icons
2154 2008-01-09 Alexander Larsson <alexl@redhat.com>
2157 * gmountoperation.[ch]:
2158 Change the API a bit so that unhandled methods
2159 get reported via the reply, rather than by
2160 the signal emission return value. This is because
2161 some handlers can't know this immediately without
2162 doing I/O, and this is an async operation that
2165 2008-01-09 Alexander Larsson <alexl@redhat.com>
2168 * fam/gfamdirectorymonitor.c:
2169 * fam/gfamfilemonitor.c:
2170 Fix double free crash (#508224)
2171 Patch from Joe Marcus Clarke
2173 008-01-07 Matthias Clasen <mclasen@redhat.com>
2175 * === Released 2.15.1 ===
2177 2008-01-07 Alexander Larsson <alexl@redhat.com>
2179 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2180 Fix warning (#507835)
2182 2008-01-07 Alexander Larsson <alexl@redhat.com>
2185 Pass --internal to glib-genmarshal
2188 * gmountoperation.c:
2190 Use better types for signal arguments (#507822)
2192 2008-01-07 Alexander Larsson <alexl@redhat.com>
2195 Build test subdir after .
2196 Remove gdirectorymonitor.[ch]
2198 * gdirectorymonitor.[ch]:
2202 Remove GDirectoryMonitor and make
2203 GFileMonitor the baseclass for both file and
2204 directory monitors. Lift the more generic
2205 rate limiting code from GDirectoryMonitor
2209 * fam/gfamdirectorymonitor.[ch]:
2210 * inotify/ginotifydirectorymonitor.[ch]:
2211 * inotify/inotify-helper.c:
2212 * glocaldirectorymonitor.[ch]:
2215 Update for the removed GDirectoryMonitor.
2217 * gmemoryoutputstream.c:
2218 Remove ununsed variable
2220 2008-01-07 Alexander Larsson <alexl@redhat.com>
2222 * gmemoryinputstream.c:
2223 Translate error strings
2226 * gmemoryoutputstream.[ch]:
2227 New implementation that avoids using GByteArray
2228 in implementation and API. (#506377)
2230 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2232 * tests/*: Add a test for memory input streams.
2234 * Makefile.am: Add tests to SUBDIRS.
2236 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2238 * glocalfilemonitor.c:
2239 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2242 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2244 * gdesktopappinfo.c: Fix a docs typo.
2246 * gfileattribute.c: Add information about extended attributes
2247 to the documentation. (#505058)
2249 2008-01-04 Alexander Larsson <alexl@redhat.com>
2252 * gmountoperation.c:
2253 Use the right type (uint) for the ask_password signal.
2255 2008-01-04 Alexander Larsson <alexl@redhat.com>
2260 Add g_app_info_supports_files()
2261 Remove desktop arg from g_app_info_should_show().
2263 * gdesktopappinfo.[ch]:
2264 Implement g_app_info_supports_files() and new should_show()
2265 Add g_desktop_app_info_set_desktop_env() to set the desktop
2266 for should_show(). (This will be set by gtk+ later)
2268 2008-01-04 Alexander Larsson <alexl@redhat.com>
2271 * gmemoryinputstream.[ch]:
2272 Improve API so that you can use multiple chunks
2273 of memory and custom destroy functions. (#506374)
2275 2008-01-03 Alexander Larsson <alexl@redhat.com>
2278 Handle NULL attribute matchers safely, as we return this
2279 for empty attribute matcher strings.
2281 2008-01-03 Alexander Larsson <alexl@redhat.com>
2283 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2284 Add /usr/local to list of internal mountpoints
2286 2008-01-03 Alexander Larsson <alexl@redhat.com>
2289 Check for HAVE_LCHOWN (#505887)
2291 2008-01-03 Alexander Larsson <alexl@redhat.com>
2295 Add define for selinux context attribute.
2296 Fix missing : -> :: namespace separator change
2297 Fix missing _ -> - name change for xattr-sys.
2300 2008-01-03 Alexander Larsson <alexl@redhat.com>
2303 Link to libglib and libgobject directly (#504879)
2304 Patch from Sebastien Bacher
2306 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2308 * gfile.c: Expanded the g_file_new_for_commandline_arg
2309 description a bit, based on the code and the docs of the
2310 other g_file_new_for_* functions.
2312 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2314 * gfilemonitor.h: Fixed typo in docs.
2316 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2318 Updates to GIO documentation. (#506395, Mikael Hermansson)
2320 * gcontenttype.c: Describe memory management for return value of
2321 g_content_types_get_registered(). Missing piece from #505815.
2322 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2323 GVolume, GDrive, GMounts, which hopefully gives the user less
2324 confusions when using this API. Following explainations from
2325 Alexander Larsson on gtk-devel-list.
2327 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2329 * gfileinfo.c: Expand the long description.
2331 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2334 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2335 fix builds with --disable-visibility. (#500273, Christian Persch)
2337 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2339 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2340 in the list of returned app infos.
2342 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2344 * gappinfo.c: Fix a cross-reference
2346 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2348 * gfileinputstream.c:
2349 * gfileoutputstream.c:
2353 * gdesktopappinfo.c:
2355 * gfileinfo.c: Documentation updates.
2357 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2359 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2362 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2364 * gcontenttype.c (g_content_types_get_registered): Don't return
2365 freed memory (#505815, Mikael Hermansson)
2367 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2369 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2370 used to detect statbuf->st_blocks. (#505042)
2372 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2374 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2375 environment handling. (#504829, Cosimo Cecchi)
2377 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2379 * gappinfo.c: Doc improvements
2381 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2384 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2386 * === Released 2.15.0 ===
2388 2007-12-20 Hans Breuer <hans@breuer.org>
2390 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2391 with symbols gwin32appinfo.obj, added gmount.obj
2392 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2394 2007-12-20 Alexander Larsson <alexl@redhat.com>
2400 * gfilenamecompleter.c:
2403 * gpollfilemonitor.c:
2404 File attribute renames:
2406 fs:: -> filesystem::
2407 id::fs -> id::filesystem
2409 2007-12-20 Alexander Larsson <alexl@redhat.com>
2418 Add GMountUnmountFlags to all unmount and
2420 Add g_mount_remount() call.
2422 2007-12-20 Alexander Larsson <alexl@redhat.com>
2424 * gvfs.c (get_default_vfs):
2425 Fix unused variable warning
2427 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2429 * pltcheck.sh: Update
2431 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2433 * gunionvolumemonitor.c:
2434 * gunixmount.c: Remove C99 comments
2436 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2438 * gio.symbols: Add some missing symbols
2440 2007-12-19 Alexander Larsson <alexl@redhat.com>
2443 Make g_io_modules_load_all_in_directory not unuse
2444 loaded modules so that users of it can do stuff
2446 Init internal "module" types.
2447 Initialize static prio and name for types so that
2448 we don't have to load modules to get it.
2450 * gnativevolumemonitor.h:
2452 Move is_supported to parent class so that
2453 non-native monitors can avoid being initialized
2454 too. (For instance GDaemonVolumeMonitor if we're
2455 not using GDaemonVfs.)
2457 * glocaldirectorymonitor.[ch]:
2458 * glocalfilemonitor.[ch]:
2459 * gunionvolumemonitor.c:
2460 * gunixvolumemonitor.c:
2462 Find plugins using the static prio+name to
2463 avoid unnecessarily loading the modules.
2465 2007-12-19 Alexander Larsson <alexl@redhat.com>
2470 2007-12-19 Alexander Larsson <alexl@redhat.com>
2472 * gunionvolumemonitor.c:
2473 Store the native type as GType, not class so that
2474 we can unload it. But still avoid unnecessarily
2477 2007-12-19 David Zeuthen <davidz@redhat.com>
2479 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2480 add signals 'disconnected' and 'eject-button' on GDrive. Add
2481 signal 'removed' on GVolume and 'unmounted' on GMount.
2483 * gdrive.c: (g_drive_base_init):
2485 * gfile.c: (g_file_mount_mountable),
2486 (g_file_mount_enclosing_volume):
2489 * gmount.c: (g_mount_base_init):
2491 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2492 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2493 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2497 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2499 * *.c: Fix up includes in the section docs.
2501 2007-12-17 Alexander Larsson <alexl@redhat.com>
2503 * gnativevolumemonitor.h:
2504 * gunionvolumemonitor.c:
2505 * gunixvolumemonitor.c:
2506 Add is_supported() to GNativeVolumeMonitorClass so
2507 that we can avoid having to create an object to see
2508 if the backend is supported at runtime.
2509 Also add name member and an env var to pick a specific
2510 volume monitor backend.
2514 Add cancellable to _g_mount_get_for_mount_path()
2516 * glocaldirectorymonitor.c:
2517 * glocalfilemonitor.c:
2518 Avoid loading and unloading modules while sorting.
2520 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2523 * gunixmounts.[hc]: Namespace waste reduction, move some
2524 g_get_unix_mount functions to the g_unix_mount namespace.
2527 * gunixvolumemonitor.c:
2529 * glocaldirectorymonitor.c: Update all callers.
2531 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2533 2007-12-17 Alexander Larsson <alexl@redhat.com>
2536 Add doc comments about what GFile operations are
2537 guaranteed to not block.
2539 2007-12-17 Alexander Larsson <alexl@redhat.com>
2542 Add missing #ifdef fixing OSX build.
2543 (#503334, patch from Richard Hult)
2545 2007-12-14 David Zeuthen <davidz@redhat.com>
2549 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2550 (g_mount_eject), (g_mount_eject_finish):
2552 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2553 (get_volume_for_uuid), (get_mount_for_uuid),
2554 (g_union_volume_monitor_class_init),
2555 (get_default_native_type_with_exclude), (get_default_native_type),
2556 (get_native_type), (update_native_type),
2557 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2558 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2559 (g_unix_mount_can_eject), (eject_unmount_cb),
2560 (eject_unmount_read_error), (eject_unmount_do),
2561 (g_unix_mount_unmount), (g_unix_mount_eject),
2562 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2563 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2564 (g_unix_mount_point_guess_can_eject):
2566 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2567 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2568 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2569 (g_unix_volume_mount), (g_unix_volume_eject),
2570 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2571 * gunixvolumemonitor.c: (get_volume_for_uuid),
2572 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2574 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2575 (g_volume_eject), (g_volume_eject_finish):
2577 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2578 (g_volume_monitor_get_mount_for_uuid):
2581 Provide eject() on both GMount and GVolume and utility functions
2582 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2583 ejected. Introduce the concept of UUID's and wire it into GVolume
2584 and GMount and provide API on GVolumeMonitor to find such
2585 instances. Also handle the case where an external
2586 GNativeVolumeMonitor fails to initialize. Lock around the
2587 _g_get_mount_for_mount_path() function such that volume monitor
2588 implementations won't have to do locking themselves.
2590 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2592 * gdesktopappinfo.c:
2598 * gvolume.h: Documentation updates
2600 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2603 * gfile.h: Doc updates
2605 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2608 * gdesktopappinfo.c: Use hash table iterators.
2610 2007-12-14 Alexander Larsson <alexl@redhat.com>
2613 * gfileattribute.[ch]:
2614 * gfileattribute-priv.h:
2615 Move GFileAttributeValue to a private header, as
2619 Make set_attribute take a type + a pointer instead
2620 of a GFileAttributeValue.
2623 Fix up for above changes.
2624 Add g_file_info_get_attribute_data to get
2625 all info in one call, g_file_info_get_attribute_status
2626 to get the status and g_file_info_get_attribute_as_string.
2630 * glocalfileinfo.[ch]:
2634 Make _guess_type static.
2636 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2639 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2640 made mkenums and friends use temporary files to avoid leaving
2641 empty generated files on failure (#503470).
2643 2007-12-14 Alexander Larsson <alexl@redhat.com>
2645 * gmountoperation.h:
2648 2007-12-14 Alexander Larsson <alexl@redhat.com>
2652 * gfileattribute.[ch]:
2655 * glocalfileoutputstream.c:
2656 * gmountoperation.[ch]:
2657 * goutputstream.[ch]:
2658 Clean up all flags enums to not have _FLAGS in them
2659 Make the names of some of the enums better.
2664 2007-12-14 Michael Natterer <mitch@imendio.com>
2666 * gio.symbols: fix g_io_scheduler symbol names.
2668 2007-12-14 Alexander Larsson <alexl@redhat.com>
2674 * gbufferedinputstream.h:
2675 * gbufferedoutputstream.h:
2678 * gdatainputstream.h:
2679 * gdataoutputstream.h:
2680 * gdesktopappinfo.h:
2681 * gdirectorymonitor.h:
2685 * gfileenumerator.h:
2688 * gfileinputstream.h:
2690 * gfilenamecompleter.h:
2691 * gfileoutputstream.h:
2692 * gfilterinputstream.h:
2693 * gfilteroutputstream.h:
2701 * gmemoryinputstream.h:
2702 * gmemoryoutputstream.h:
2704 * gmountoperation.h:
2707 * gsimpleasyncresult.h:
2709 * gunixinputstream.h:
2711 * gunixoutputstream.h:
2715 * inotify/Makefile.am:
2716 Only allow including <gio/gio.h> from apps
2718 2007-12-14 Alexander Larsson <alexl@redhat.com>
2720 * gioscheduler.[ch]:
2721 * gsimpleasyncresult.c:
2722 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2723 Split out the send_to_mainloop call into two versions instead
2724 of having the block argument.
2726 2007-12-13 Alexander Larsson <alexl@redhat.com>
2728 * gcancellable.[ch]:
2730 * gbufferedinputstream.c:
2731 * gfileenumerator.c:
2732 * gfileinputstream.c:
2733 * gfileoutputstream.c:
2737 g_push/pop_current_cancellable ->
2738 g_cancellable_push/pop_current
2740 2007-12-13 Alexander Larsson <alexl@redhat.com>
2744 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2746 2007-12-13 Alexander Larsson <alexl@redhat.com>
2748 * gmountoperation.h:
2749 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2751 2007-12-12 Alexander Larsson <alexl@redhat.com>
2754 Fix race condition when freeing proxy in
2755 g_io_job_send_to_mainloop().
2757 2007-12-12 Alexander Larsson <alexl@redhat.com>
2763 Make attribute namespace separator "::" instead of ":".
2764 Use - instead of _ as separator in attribute names.
2766 2007-12-12 Alexander Larsson <alexl@redhat.com>
2768 * gbufferedinputstream.h:
2769 * gbufferedoutputstream.h:
2770 * gdatainputstream.h:
2771 * gdataoutputstream.h:
2772 * gdirectorymonitor.h:
2773 * gfileenumerator.h:
2774 * gfileinputstream.h:
2776 * gfileoutputstream.h:
2777 * gfilterinputstream.h:
2778 * gfilteroutputstream.h:
2780 * glocalfileinputstream.h:
2781 * glocalfileoutputstream.h:
2782 * gmemoryinputstream.h:
2783 * gmemoryoutputstream.h:
2784 * gnativevolumemonitor.h:
2786 * gunixinputstream.h:
2787 * gunixoutputstream.h:
2790 s/parent/parent_instance/ in GObjects
2792 2007-12-12 Alexander Larsson <alexl@redhat.com>
2797 No need for padding for interfaces
2799 2007-12-12 Alexander Larsson <alexl@redhat.com>
2803 * gbufferedinputstream.c:
2804 * gbufferedoutputstream.c:
2807 * gdatainputstream.[ch]:
2808 * gdesktopappinfo.c:
2809 * gdirectorymonitor.c:
2811 * gfileattribute.[ch]:
2814 * gfileinputstream.h:
2815 * gfilemonitor.[ch]:
2816 * gfileoutputstream.[ch]:
2817 * gfilterinputstream.h:
2818 * gfilteroutputstream.h:
2821 * gloadableicon.[ch]:
2822 * gmemoryinputstream.c:
2823 * gmountoperation.c:
2825 Fix up a bunch of details in the docs.
2830 2007-12-11 David Zeuthen <davidz@redhat.com>
2832 Rework how volumes, drives and volume monitoring is
2833 done. Previosly the model was
2835 GDrive <1-1> GVolume
2837 where a GDrive instance represented a mount point and a GVolume
2838 instance represented a mounted file system. This patch changes it
2841 GDrive <1-N> GVolume <1-1> GMount
2843 where GMount now serves the purpose of the old GVolume and the new
2844 GVolume serves the purpose of the old GDrive. In addition the new
2845 GDrive interface is used to represent a collection of GVolume
2846 instances (typically partitions) and also contains utility to query
2847 the state of the physical drive the GDrive object represents (such
2848 as checking for media, polling the drive, ejecting the media etc.).
2850 Also implement mounting and unmounting in the Unix volume monitor
2851 backend. A subquent patch will introduce GDrive support for ejection
2855 * gdrive.c: (g_drive_is_media_check_automatic),
2856 (g_drive_is_media_removable), (g_drive_has_media),
2857 (g_drive_can_poll_for_media), (g_drive_eject),
2858 (g_drive_eject_finish), (g_drive_poll_for_media),
2859 (g_drive_poll_for_media_finish):
2861 * gfile.c: (g_file_find_enclosing_mount):
2864 * glocaldirectorymonitor.c:
2865 (g_local_directory_monitor_constructor), (mounts_changed):
2866 * glocalfile.c: (get_mount_info),
2867 (g_local_file_find_enclosing_mount),
2868 (g_local_file_file_iface_init):
2869 * gnativevolumemonitor.h:
2870 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2871 (get_connected_drives), (g_union_volume_monitor_class_init),
2872 (child_volume_added), (child_volume_removed),
2873 (child_volume_changed), (child_mount_added), (child_mount_removed),
2874 (child_mount_pre_unmount), (child_mount_changed),
2875 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2876 (g_union_volume_monitor_remove_monitor),
2877 (_g_mount_get_for_mount_path):
2878 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2879 (guess_system_internal), (_g_get_unix_mounts),
2880 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2881 (g_unix_mount_free), (g_unix_mount_compare),
2882 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2883 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2884 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2885 (type_to_icon), (g_unix_mount_guess_name),
2886 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2887 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2888 (_resolve_symlink), (_resolve_dev_root):
2890 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2891 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2892 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2893 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2894 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2895 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2896 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2897 (g_unix_volume_volume_iface_init):
2899 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2900 (get_mounts), (get_volumes), (get_connected_drives),
2901 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2902 (mountpoints_changed), (mounts_changed),
2903 (g_unix_volume_monitor_init),
2904 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2905 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2906 * gunixvolumemonitor.h:
2907 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2908 (g_volume_mount), (g_volume_mount_finish):
2910 * gvolumemonitor.c: (g_volume_monitor_class_init),
2911 (g_volume_monitor_get_connected_drives),
2912 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2915 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2917 * gmountoperation.h (GPasswordFlags): Close the gap
2919 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2921 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2923 * gdesktopappinfo.[hc]: Remove _-prefixes
2925 2007-12-10 Tor Lillqvist <tml@novell.com>
2927 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2930 2007-12-10 Alexander Larsson <alexl@redhat.com>
2932 * gfile.c (g_file_set_display_name):
2933 Don't hardcode '/' (#502727)
2935 2007-12-09 Hans Breuer <hans@breuer.org>
2937 * makefile.msc : follow lib naming convention
2938 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2939 for user and group name, tested with ../tests/gio-ls
2941 2007-12-09 A. Walton <awalton@svn.gnome.org>
2943 * gdesktopappinfo.c:
2949 * gfileenumerator.c:
2954 * gmemoryinputstream.c:
2955 * gmemoryoutputstream.c:
2957 * gsimpleasyncresult.c:
2958 More documentation cleanup and filling in missing information, bringing
2959 GIO to 99% symbol coverage.
2961 2007-12-08 Hans Breuer <hans@breuer.org>
2963 [gio compiles and links on win32, not sure how much already works]
2964 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2965 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2966 base on win32 API; prefer g_lstat() over lstat(); instead of
2967 localtime_r() use an all GLib implementation on win32;
2968 get_mount_info() still needs a win32 specifc implementation
2969 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2970 win32_get_file_user_info to get owner/group info without uid/gid
2971 * glocalfileinputstream.c : include <io.h> on win32
2972 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2973 definition, use g_win32_ftruncate() for G_OS_WIN32
2974 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2975 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2976 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2977 * makefile.msc : updated
2979 2007-12-07 Alexander Larsson <alexl@redhat.com>
2981 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2982 Avoid warning spew if error == NULL
2984 2007-12-07 Alexander Larsson <alexl@redhat.com>
2987 Update docs wrt etags
2989 2007-12-06 Alexander Larsson <alexl@redhat.com>
2992 Include sys/types.h for dev_t (#501919)
2994 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2998 Make abicheck and pltcheck pass.
3000 2007-12-05 Alexander Larsson <alexl@redhat.com>
3003 * giomodule-priv.h: Added.
3004 * glocaldirectorymonitor.c:
3005 * glocalfilemonitor.c:
3006 * gunionvolumemonitor.c:
3008 Actually add the declaration of _g_io_modules_ensure_loaded
3010 2007-12-05 Alexander Larsson <alexl@redhat.com>
3012 * gdatainputstream.c:
3017 * glocaldirectorymonitor.c:
3018 * glocalfilemonitor.c:
3019 * gunionvolumemonitor.c:
3021 Make g_io_modules_ensure_loaded a private function and
3022 don't pass in the dirname. This means we can do magic
3023 directory finding in the win32 version.
3024 Export the actual load-modules-in-directory code so that
3025 gvfs can reuse that.
3027 2007-12-05 Alexander Larsson <alexl@redhat.com>
3029 * gbufferedinputstream.c:
3030 * gbufferedoutputstream.c:
3033 * gfileenumerator.[ch]:
3034 * gfileinputstream.c:
3035 * gfileoutputstream.[ch]:
3036 * gfilterinputstream.c:
3037 * gfilteroutputstream.c:
3038 * ginputstream.[ch]:
3040 * glocalfileenumerator.c:
3041 * glocalfileinputstream.c:
3042 * glocalfileoutputstream.c:
3043 * gmemoryinputstream.c:
3044 * gmemoryoutputstream.c:
3045 * goutputstream.[ch]:
3048 * gunixinputstream.c:
3049 * gunixoutputstream.c:
3050 Rename all struct members named:
3051 read, write, close, truncate, or mount
3052 to foo_fn, as these are reserved names
3053 and could be defined as macros in libc.
3056 2007-12-04 Alexander Larsson <alexl@redhat.com>
3059 (g_output_stream_close):
3060 Only call flush if non-null.
3062 2007-11-30 Dan Winship <danw@gnome.org>
3064 * ginputstream.c (g_input_stream_set_pending): Make this take a
3065 GError and return a gboolean, and do the "outstanding operation"
3066 check (and the "stream is already closed" check) itself.
3067 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3069 * goutputstream.c (g_output_stream_set_pending)
3070 (g_output_stream_clear_pending): Likewise
3072 * gbufferedinputstream.c:
3073 * gfileinputstream.c:
3074 * gfileoutputstream.c: Update for that
3076 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3077 Like g_simple_async_report_error_in_idle, but takes a GError
3078 rather than building one.
3080 2007-11-30 Dan Winship <danw@gnome.org>
3082 * goutputstream.c: Don't cheat and unset the "pending" flag around
3083 inner calls. Instead, call the class method directly rather than
3084 the wrapper function that checks "pending"
3086 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3088 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3090 2007-12-03 Hans Breuer <hans@breuer.org>
3092 [start of port to win32/msvc]
3093 * gcancellable.c : HAVE_UNIST_H and _pipe()
3094 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3095 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3096 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3098 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3099 * glocalvfs.c : use HAVE_PWD_H
3100 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3101 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3102 * Makefile.am : added to EXTRA_DIST
3104 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3106 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3109 2007-12-03 Alexander Larsson <alexl@redhat.com>
3112 Handle OSX style xattrs API (#500506)
3114 2007-12-03 Alexander Larsson <alexl@redhat.com>
3118 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3120 2007-12-02 A. Walton <awalton@svn.gnome.org>
3124 Documentation accuracy fixes.
3126 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3128 * gioenumtypes.c.template: Fix typo.
3130 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3132 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3134 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3136 * gdirectorymonitor.c:
3137 * gfilemonitor.c: Add properties
3139 * gbufferedoutputstream.c: Don't mark buffer-size property
3142 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3144 * gbufferedoutputstream.c: Add auto-grow property.
3146 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3148 * *.c: Unify the capitalization of section headings.
3150 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3152 * gmountoperation.c: Add properties
3154 * gdatainputstream.c: Turn byte-order and newline-type into
3157 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3159 * gioenumtypes.[hc].template: Templates for enum registration
3161 * Makefile.am: Generate gioenumtypes.[hc]
3163 * gio.h: Include gioenumtypes.h
3165 * gfile.h: Add some explicit nicks.
3167 * gio.symbols: Add new symbols
3169 * pltcheck.sh: Adjust
3171 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3173 * *.c: Explain etags and link to the explanation
3175 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3177 * *.c: Explain I/O priority.
3179 * *.c: More coding style fixes.
3181 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3183 * gasyncresult.c: Add another paragraph to the intro,
3184 adjust coding style of example.
3186 2007-11-29 A. Walton <awalton@svn.gnome.org>
3189 Fixes unknown meaning in GAppLaunchContext docs.
3191 Clarify asynchronous ops.
3193 Fix entity tag docs.
3196 Provides missing gtk-doc section, fixes API docs slighly.
3197 * gsimpleasyncresult.c:
3198 Fill in missing info in docs.
3199 * gunixinputstream.c:
3200 * gunixoutputstream.c:
3201 Be more expressive in short description.
3203 Remove gtk-doc stubs for non-public API.
3205 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3207 * *.c: Coding style fixups
3209 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3211 * inotify/inotify-helper.c: Don't export the lock from libgio.
3213 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3216 * abicheck.sh: Fix copy-and-paste leftovers
3218 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3220 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3222 2007-11-28 Alexander Larsson <alexl@redhat.com>
3226 Removed unnecessary file
3228 * gdesktopappinfo.[ch]:
3231 * glocaldirectorymonitor.[ch]:
3233 * glocalfileenumerator.[ch]:
3234 * glocalfileinputstream.[ch]:
3235 * glocalfilemonitor.[ch]:
3236 * glocalfileoutputstream.[ch]:
3238 * gnativevolumemonitor.c:
3239 * gpollfilemonitor.[ch]:
3240 * gunionvolumemonitor.[ch]:
3243 * gunixvolumemonitor.[ch]:
3246 * inotify/ginotifydirectorymonitor.[ch]:
3247 * inotify/ginotifyfilemonitor.[ch]:
3248 * inotify/inotify-helper.c:
3249 Append _ to all internal functions
3253 Export symbols needed for modules
3255 2007-11-28 Alexander Larsson <alexl@redhat.com>
3258 * abicheck.sh: Added.
3259 * makegioalias.pl: Added.
3260 * pltcheck.sh: Added.
3261 * gio.symbols: Added.
3264 Initial work on adding symbol handling.
3267 Correct ifdef guard name
3270 * inotify/Makefile.am:
3271 * xdgmime/Makefile.am:
3272 Include toplevel Makefile.decl
3274 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3276 * gcontenttype.c: Move doc comments to the unix section.
3278 * *.[hc]: More trivial doc corrections.
3280 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3282 * gpollfilemonitor.c:
3286 * gdesktopappinfo.c:
3291 * gdatainputstream.c:
3292 * gdatainputstream.h:
3293 * gdataoutputstream.c:
3294 * gdataoutputstream.h:
3295 * gfileinfo.h: Doc cleanups
3297 2007-11-28 Andre Klapper <a9016009@gmx.de>
3299 * gdesktopappinfo.c: Fix a typo.
3301 2007-11-27 Andre Klapper <a9016009@gmx.de>
3303 * glocalfileoutputstream.c: Fix a typo.
3305 2007-11-27 Alexander Larsson <alexl@redhat.com>
3308 Don't include removed headers
3310 2007-11-27 Alexander Larsson <alexl@redhat.com>
3313 * gsocketinputstream.[ch]: Removed.
3314 * gsocketoutputstream.[ch]: Removed.
3315 * gunixinputstream.[ch]: Added.
3316 * gunixoutputstream.[ch]: Added.
3317 Renamed GSocket*Stream to GUnix*Stream and made
3318 it unix-only, since its not really only for sockets
3319 and it only works on unix (but is highly useful there).
3321 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3327 * gbufferedinputstream.c:
3328 * gbufferedinputstream.h:
3329 * gbufferedoutputstream.c:
3330 * gbufferedoutputstream.h:
3334 * gdatainputstream.c:
3335 * gdatainputstream.h:
3336 * gdataoutputstream.c:
3337 * gdataoutputstream.h:
3338 * gdirectorymonitor.c:
3339 * gdirectorymonitor.h:
3346 * gfileenumerator.c:
3347 * gfileenumerator.h:
3352 * gfileinputstream.c:
3353 * gfileinputstream.h:
3356 * gfilenamecompleter.c:
3357 * gfilenamecompleter.h:
3358 * gfileoutputstream.c:
3359 * gfileoutputstream.h:
3360 * gfilterinputstream.c:
3361 * gfilterinputstream.h:
3362 * gfilteroutputstream.c:
3363 * gfilteroutputstream.h:
3376 * glocalfileoutputstream.c:
3377 * gmemoryinputstream.c:
3378 * gmemoryinputstream.h:
3379 * gmemoryoutputstream.c:
3380 * gmemoryoutputstream.h:
3381 * gmountoperation.c:
3382 * gmountoperation.h:
3385 * gpollfilemonitor.c:
3388 * gsimpleasyncresult.c:
3389 * gsimpleasyncresult.h:
3390 * gsocketinputstream.c:
3391 * gsocketinputstream.h:
3392 * gsocketoutputstream.c:
3393 * gsocketoutputstream.h:
3400 * gunixvolumemonitor.c:
3409 Bumps documentation to 93% symbol coverage, touching most
3410 of the public files. Fixes broken function documentation prototypes.
3411 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3412 gtk-doc headers in private files.
3414 2007-11-27 Jürg Billeter <j@bitron.ch>
3416 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3417 (g_buffered_input_stream_read_byte):
3418 * gbufferedinputstream.h:
3419 New functions for efficient access to buffer and simple single byte
3422 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3423 (g_data_input_stream_read_until):
3424 * gdatainputstream.h:
3425 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3426 read_until with multiple stop chars.
3428 2007-11-27 Alexander Larsson <alexl@redhat.com>
3432 * inotify/Makefile.am:
3433 Use the user-specified giomoduledir
3435 2007-11-27 Alexander Larsson <alexl@redhat.com>
3439 Add catch-all gio.h header
3440 Don't install gdummyfile.h
3442 2007-11-26 Alexander Larsson <alexl@redhat.com>
3444 * Makefile.am (gioinclude_HEADERS):
3445 Remove trailing whitespace
3447 2007-11-26 Alexander Larsson <alexl@redhat.com>
3449 Merge gio-standalone into glib
3451 2007-11-25 Christian Kellner <gicmo@gnome.org>
3453 * gio/goutputstream.c:
3454 Fix small mistake in the docs.
3456 2007-11-21 Christian Persch <chpe@gnome.org>
3458 * gio/glocalfile.c: (g_local_file_trash):
3459 Convert filenames to UTF-8 for GError.
3460 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3461 as per xdg base dir spec.
3463 2007-11-21 Christian Persch <chpe@gnome.org>
3465 * gio/gdesktopappinfo.c:
3466 Use that g_key_file_to_data cannot fail.
3468 Use stock defines for the key file group and key names.
3471 2007-11-21 Alexander Larsson <alexl@redhat.com>
3474 (copy_stream_with_progress):
3475 Make sure we do a final progress callback with
3476 the full total size.
3478 2007-11-21 Alexander Larsson <alexl@redhat.com>
3481 Export g_file_copy_attributes
3482 Remove padding as its not needed for interfaces
3484 2007-11-20 Alexander Larsson <alexl@redhat.com>
3489 Add G_IO_ERROR_WOULD_MERGE for
3490 copy/move dir on dir with overwrite.
3492 2007-11-20 Alexander Larsson <alexl@redhat.com>
3495 * gio/glocalfileinfo.c:
3496 Add COPY_NAME (this is an optional
3497 non-modified utf8 version of the name) that
3500 2007-11-20 Alexander Larsson <alexl@redhat.com>
3502 * gio/glocalfileenumerator.c:
3503 Report errors as GIOError, not GFileError
3505 2007-11-16 Alexander Larsson <alexl@redhat.com>
3507 * gio/glocalfileoutputstream.c:
3508 * gio/gwin32appinfo.c:
3509 Fix typos in strings.
3510 Patch from Luca Ferretti <elle.uca@libero.it>
3512 2007-11-15 Alexander Larsson <alexl@redhat.com>
3515 Post release version bump
3517 === gio-standalone 0.1.2 ===
3519 2007-11-15 Alexander Larsson <alexl@redhat.com>
3521 * docs/reference/gio/Makefile.am:
3522 Fix up distcheck by removing weird
3528 2007-11-14 Alexander Larsson <alexl@redhat.com>
3530 * gio/gdesktopappinfo.c:
3531 * gio/glocaldirectorymonitor.c:
3533 * gio/glocalfileinfo.c:
3534 * gio/inotify/inotify-sub.c:
3535 * programs/gio-cat.c:
3536 * programs/gio-copy.c:
3537 * programs/gio-info.c:
3538 * programs/gio-ls.c:
3539 * programs/gio-monitor-dir.c:
3540 * programs/gio-monitor-file.c:
3541 * programs/gio-mount.c:
3542 * programs/gio-move.c:
3543 * programs/gio-rm.c:
3544 * programs/gio-save.c:
3545 * programs/gio-trash.c:
3546 Leak fixes from Kjartan Maraas
3548 2007-11-14 Alexander Larsson <alexl@redhat.com>
3550 * gio/fam/fam-helper.c:
3552 * gio/glocalfileinfo.c:
3556 * gio/inotify/inotify-diag.c:
3557 * gio/inotify/inotify-kernel.c:
3558 Various code cleanups from Kjartan Maraas
3560 2007-11-14 Alexander Larsson <alexl@redhat.com>
3562 * gio/gioscheduler.c:
3564 Set up threadpool so that we cache 2 unused
3565 idle threads for at 15 secs. This means we
3566 will reuse thread-local data (like dbus connections)
3569 2007-11-14 Alexander Larsson <alexl@redhat.com>
3571 * gio/fam/fam-helper.c:
3572 * gio/fam/gfamdirectorymonitor.c:
3573 * gio/fam/gfamfilemonitor.c:
3575 * gio/gcontenttype.c:
3576 * gio/gdatainputstream.c:
3577 * gio/gdataoutputstream.c:
3581 * gio/gfileattribute.h:
3582 * gio/gfileenumerator.c:
3584 * gio/ginputstream.c:
3587 * gio/glocalfileinfo.c:
3588 * gio/goutputstream.c:
3589 * gio/gpollfilemonitor.c:
3590 * gio/gsimpleasyncresult.c:
3591 * gio/gunixmounts.c:
3592 * gio/gunixmounts.h:
3593 * gio/inotify/ginotifydirectorymonitor.c:
3594 * gio/inotify/ginotifyfilemonitor.c:
3595 * gio/inotify/inotify-diag.c:
3596 * gio/inotify/inotify-kernel.c:
3597 * gio/inotify/inotify-path.c:
3599 * gio/test-streams.c:
3600 * programs/gio-info.c:
3601 * programs/gio-monitor-dir.c:
3602 * programs/gio-monitor-file.c:
3603 Various code cleanups from Kjartan Maraas
3605 2007-11-13 Alexander Larsson <alexl@redhat.com>
3608 Handle the uri-scheme calls for dummy files
3610 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3612 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3613 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3614 to avoid clash with the C++ keyword.
3616 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3618 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3619 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3621 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3623 * gio/glocaldirectorymonitor.c:
3624 * gio/glocalfilemonitor.c:
3625 * gio/gunionvolumemonitor.c:
3626 Don't use g_once_init_*() for initializations that could fail and
3627 could leave the initialization variable set to 0 but use GOnce.
3628 This prevents a deadlock on the second call when trying to create
3629 a monitor and no monitor type is available. Thanks to Sven Herzberg
3632 2007-11-11 Sven Herzberg <sven@imendio.com>
3634 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3635 #ifdef (make it work on MacOS X again)
3637 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3639 Fixes Changelog for last two commits (sorry guys).
3641 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3643 * gio/gbufferedinputstream.c:
3644 * gio/gdatainputstream.c:
3646 * gio/gfileoutputstream.c:
3647 * gio/gfilterinputstream.c:
3648 * gio/glocalfileinputstream.c:
3651 More consistency fixes in g*stream.c files.
3652 Significant clean of gfile's documentation, filling in of
3653 asynchronous operations documentation.
3655 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3657 * gio/gasyncresult.c:
3658 * gio/gbufferedinputstream.c:
3659 * gio/gbufferedoutputstream.c:
3660 * gio/gcancellable.c:
3661 * gio/gcontenttype.c:
3662 * gio/gdatainputstream.c:
3663 * gio/gdataoutputstream.c:
3664 * gio/gdesktopappinfo.c:
3667 * gio/gfileattribute.c:
3668 * gio/gio/gfileenumerator.c:
3670 * gio/gfileinputstream.c:
3671 * gio/gfilemonitor.c:
3672 * gio/gfileoutputstream.c:
3673 * gio/ginputstream.c:
3675 * gio/gioscheduler.c:
3676 * gio/gloadableicon.c:
3677 * gio/glocalfileoutputstream.c:
3678 * gio/gmemoryoutputstream.c:
3679 * gio/gmountoperation.c:
3680 * gio/goutputstream.c:
3682 * gio/gsimpleasyncresult.c:
3683 * gio/gunionvolumemonitor.c:
3684 * gio/gunixmounts.c:
3685 * gio/gunixvolume.c:
3689 * gio/gvolumemonitor.c:
3690 Updated documentation stubs, working towards consistency and
3693 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3695 * gio/gmemoryoutputstream.c:
3696 * gio/gmemoryoutputstream.h:
3697 Change g_memory_output_stream_set_free_on_close() to
3698 g_memory_output_stream_set_free_data() as this makes more sense and
3699 is more consistent with GMemoryInputStream.
3701 2007-11-07 Alexander Larsson <alexl@redhat.com>
3708 Change how we find the default vfs so that
3709 we can handle a gvfs failing to init
3711 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3713 * gio/gbufferedoutputstream.c:
3714 * gio/gdatainputstream.c:
3715 * gio/gdataoutputstream.c:
3716 * gio/gfileinputstream.c:
3717 * gio/gfileoutputstream.c:
3718 * gio/gfilterinputstream.c:
3719 * gio/gfilteroutputstream.c:
3720 * gio/ginputstream.c:
3721 * gio/gmemoryinputstream.c:
3722 * gio/gmemoryoutputstream.c:
3723 * gio/goutputstream.c:
3724 * gio/gsimpleasyncresult.c:
3725 * gio/gsocketinputstream.c:
3726 * gio/gsocketoutputstream.c:
3727 Add guards to the remaining public functions, add a TODO for
3728 an unimplemented function and remove some useless guards.
3730 2007-11-07 Alexander Larsson <alexl@redhat.com>
3733 Autoconf checks for the various types of
3734 getpwuid_r and getgrgid_r
3736 * gio/glocalfileinfo.c:
3737 Use the autoconf checks from above
3739 2007-11-07 Alexander Larsson <alexl@redhat.com>
3742 (g_local_file_query_filesystem_info):
3743 Some fixes for the statvfs case
3745 2007-11-07 Alexander Larsson <alexl@redhat.com>
3748 (g_local_file_query_filesystem_info):
3749 Pick the "best" of statfs / statvfs for the system
3750 if both are availible.
3752 2007-11-07 Alexander Larsson <alexl@redhat.com>
3754 Solaris fixes from Halton.Huo@Sun.COM:
3761 * gio/glocalfileinfo.c:
3762 Fix for solaris definition of getpwuid_r
3764 * gio/test-streams.c:
3765 Use G_GNUC_PRETTY_FUNCTION
3767 2007-11-07 Alexander Larsson <alexl@redhat.com>
3769 * gio/gdesktopappinfo.c:
3770 (update_default_list):
3771 Remove double semicolon.
3772 Patch from Jens Granseuer
3774 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3776 * docs/reference/gio/gio-sections.txt:
3777 * gio/gbufferedinputstream.c:
3778 * gio/gbufferedinputstream.h:
3779 * gio/gdatainputstream.c:
3780 * gio/gfileenumerator.c:
3781 * gio/gioscheduler.c:
3782 * gio/gunionvolumemonitor.c:
3784 * programs/gio-save.c:
3785 Fix typo: availible -> available. Unfortuntely this breaks API
3786 and ABI as g_buffered_input_stream_get_available() was renamed.
3788 * gio/gunixmounts.c:
3789 * gio/gbufferedinputstream.c:
3790 Add guards for public functions.
3792 2007-11-06 Ross Burton <ross@openedhand.com>
3794 * docs/reference/gio/Makefile.am:
3795 Fix invalid += usage which automake 1.10 doesn't like.
3797 2007-11-06 Alexander Larsson <alexl@redhat.com>
3800 (g_app_launch_context_class_init):
3803 Patch from Ross Burton
3805 2007-11-06 Alexander Larsson <alexl@redhat.com>
3808 Post release version bump
3810 === gio-standalone 0.1.1 ===
3812 2007-11-06 Alexander Larsson <alexl@redhat.com>
3815 Bump version to 0.1.1
3817 * gio/gsimpleasyncresult.c:
3818 (g_simple_async_result_set_from_error):
3819 Remove bogus g_return_if_fail
3821 2007-11-06 Alexander Larsson <alexl@redhat.com>
3824 The name is gio-standalone
3827 Add top src/builddir to includedir
3829 2007-11-06 Alexander Larsson <alexl@redhat.com>
3831 * docs/reference/gio/gio-sections.txt:
3833 * gio/gbufferedinputstream.c:
3834 * gio/gbufferedoutputstream.c:
3835 * gio/gcancellable.c:
3836 * gio/gdatainputstream.h:
3837 * gio/gdataoutputstream.c:
3838 * gio/gdataoutputstream.h:
3839 * gio/gdirectorymonitor.c:
3841 * gio/gfileattribute.c:
3842 * gio/gfileattribute.h:
3843 * gio/gfileenumerator.c:
3844 * gio/gfileenumerator.h:
3847 * gio/gfileinputstream.h:
3848 * gio/gfilemonitor.c:
3849 * gio/gfileoutputstream.h:
3850 * gio/glocalfilemonitor.h:
3851 * gio/glocalfileoutputstream.h:
3852 * gio/gmemoryinputstream.c:
3853 * gio/gmemoryoutputstream.c:
3854 * gio/gmountoperation.c:
3855 * gio/goutputstream.c:
3856 * gio/goutputstream.h:
3858 * gio/gsimpleasyncresult.c:
3859 * gio/gunixmounts.c:
3860 * gio/gunixmounts.h:
3862 * gio/inotify/inotify-helper.c:
3863 Fix gtk-doc warnings
3865 Patch from Ross Burton
3867 2007-11-06 Alexander Larsson <alexl@redhat.com>
3869 * gio/gfilenamecompleter.c:
3870 (g_filename_completer_get_completions):
3873 * gio/gunixvolume.c:
3874 Remove unused function
3876 Patches from Ross Burton
3878 2007-11-06 Alexander Larsson <alexl@redhat.com>
3883 Padding not needed for interfaces
3885 2007-11-06 Alexander Larsson <alexl@redhat.com>
3887 * gio/gfilemonitor.c:
3891 Make giotypes.h an internal file
3894 * gio/gbufferedinputstream.h:
3895 * gio/gbufferedoutputstream.h:
3896 * gio/gcancellable.h:
3897 * gio/gdatainputstream.h:
3898 * gio/gdataoutputstream.h:
3899 * gio/gdirectorymonitor.c:
3900 * gio/gdirectorymonitor.h:
3905 * gio/gfileattribute.h:
3906 * gio/gfileenumerator.h:
3911 * gio/gfilemonitor.c:
3912 * gio/gfilemonitor.h:
3913 * gio/gfilenamecompleter.c:
3914 * gio/gfilenamecompleter.h:
3915 * gio/gfilterinputstream.h:
3916 * gio/gfilteroutputstream.h:
3917 * gio/ginputstream.h:
3918 * gio/gmemoryinputstream.h:
3919 * gio/gmemoryoutputstream.h:
3920 * gio/gmountoperation.c:
3921 * gio/gmountoperation.h:
3922 * gio/gnativevolumemonitor.c:
3923 * gio/goutputstream.h:
3926 * gio/gsimpleasyncresult.c:
3927 * gio/gsimpleasyncresult.h:
3928 * gio/gsocketinputstream.h:
3929 * gio/gsocketoutputstream.h:
3930 * gio/gthemedicon.c:
3931 * gio/gthemedicon.h:
3935 * gio/gvolumemonitor.c:
3936 * gio/gvolumemonitor.h:
3937 Add padding in classes where it seems useful
3938 Don't include giotypes.h from public headers
3939 Move in Class definitions into c file where possible
3944 2007-11-06 Alexander Larsson <alexl@redhat.com>
3946 * docs/reference/gio/gio-docs.xml:
3947 Better structure for API docs
3949 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3952 * gio/gloadableicon.c:
3953 * gio/gsimpleasyncresult.c:
3954 * gio/gthemedicon.c:
3955 Add some more guards to public functions. Only files missing are now
3958 2007-11-06 Alexander Larsson <alexl@redhat.com>
3960 * docs/reference/gio/gio-docs.xml:
3961 Remove old files, add missing ones
3963 2007-11-06 Alexander Larsson <alexl@redhat.com>
3965 * docs/reference/gio/gio-sections.txt:
3968 Hide implementation classes
3970 * gio/gdriveprivate.h:
3971 * gio/gvolumeprivate.h:
3972 Remove non-existing function declarations
3974 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3977 Fix compilation warnings and add guards to the new functions.
3979 * gio/gasyncresult.c:
3981 Add guards to the public functions.
3984 Implement get_path().
3986 2007-11-06 Alexander Larsson <alexl@redhat.com>
3988 * gio/gfilenamecompleter.c:
3989 Make g_filename_completer_get_completions
3990 return char ** instead of GList for
3993 * docs/reference/gio/gio-docs.xml:
3994 * docs/reference/gio/gio-sections.txt:
3996 * gio/gasyncresult.c:
3997 * gio/gbufferedinputstream.c:
3998 * gio/gbufferedoutputstream.c:
3999 * gio/gcancellable.c:
4000 * gio/gcontenttype.c:
4001 * gio/gdatainputstream.c:
4002 * gio/gdataoutputstream.c:
4003 * gio/gdesktopappinfo.c:
4004 * gio/gdirectorymonitor.c:
4008 * gio/gfileattribute.c:
4009 * gio/gfileenumerator.c:
4012 * gio/gfileinputstream.c:
4013 * gio/gfilemonitor.c:
4014 * gio/gfilenamecompleter.c:
4015 * gio/gfilenamecompleter.h:
4016 * gio/gfileoutputstream.c:
4017 * gio/gfilterinputstream.c:
4019 * gio/ginputstream.c:
4021 * gio/gioscheduler.c:
4022 * gio/gloadableicon.c:
4023 * gio/glocaldirectorymonitor.c:
4025 * gio/glocalfileinputstream.c:
4026 * gio/glocalfilemonitor.c:
4027 * gio/glocalfileoutputstream.c:
4029 * gio/gmemoryinputstream.c:
4030 * gio/gmemoryoutputstream.c:
4031 * gio/gmountoperation.c:
4032 * gio/goutputstream.c:
4033 * gio/gpollfilemonitor.c:
4035 * gio/gsimpleasyncresult.c:
4036 * gio/gsocketinputstream.c:
4037 * gio/gsocketoutputstream.c:
4038 * gio/gthemedicon.c:
4039 * gio/gunionvolumemonitor.c:
4041 * gio/gunixmounts.c:
4042 * gio/gunixvolume.c:
4043 * gio/gunixvolumemonitor.c:
4047 * gio/gvolumemonitor.c:
4048 * gio/gwin32appinfo.c:
4049 Add (mostly stub) doc strings to public functions.
4050 Patch from Andrew Walton (awalton@gmail.com)
4052 2007-11-06 Alexander Larsson <alexl@redhat.com>
4054 * gio/gappinfo.[ch]:
4055 Added GAppLaunchContext object and pass that to launch.
4056 This allows simple implementation of both
4057 launch-on-screen and startup notification via a gtk+
4058 subclass of GAppLaunchContext
4060 * gio/gdesktopappinfo.c:
4061 Implement GAppLaunchContext API
4063 * gio/gwin32appinfo.c:
4066 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4068 * gio/gmountoperation.c:
4069 Add some guards to GMountOperation's public functions.
4071 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4075 * gio/gcancellable.c:
4076 * gio/gdirectorymonitor.c:
4078 * gio/gfileenumerator.c:
4079 * gio/gfilemonitor.c:,
4080 * gio/gfilenamecompleter.c:
4083 * gio/gioscheduler.c:
4087 * gio/gvolumemonitor.c:
4088 Add even more guards to various public functions.
4090 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4093 Add guards to the public functions of GAppInfo.
4095 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4097 * gio/gcontenttype.c:
4098 Add some more guards for public functions.
4100 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4102 * gio/fam/fam-module.c:
4103 * gio/fam/gfamdirectorymonitor.c:
4104 * gio/fam/gfamdirectorymonitor.h:
4105 * gio/fam/gfamfilemonitor.c:
4106 * gio/fam/gfamfilemonitor.h:
4107 * gio/inotify/ginotifydirectorymonitor.c:
4108 * gio/inotify/ginotifydirectorymonitor.h:
4109 * gio/inotify/ginotifyfilemonitor.c:
4110 * gio/inotify/ginotifyfilemonitor.h:
4111 Add proper copyright information and remove an unused variable
4112 in the GInotifyFileMonitor constructor.
4114 * gio/gcancellable.c:
4115 Add a guard for a public function and an assertion to prevent
4116 an undefined program state.
4118 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4120 * gio/gfileattribute.c:
4121 Don't run into an assertion if the given attribute value is NULL
4122 in g_file_attribute_value_get_*() but instead return a fallback
4123 value that makes sense in most situations. Passing them a attribute
4124 value with the wrong type will still run into an assertion.
4126 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4128 * gio/gfileattribute.c:
4130 Add even more guards to the public functions. Also fix the refcounting
4131 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4132 let g_file_info_list_attributes() filter the attributes by namespace
4133 instead of simply ignoring the namespace parameter.
4135 2007-11-03 Sven Herzberg <sven@imendio.com>
4137 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4138 (This makes gio work on MacOS X again)
4140 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4143 Build the gio subdirectory before the docs. Otherwise the build will
4146 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4147 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4148 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4149 Add guards to the public functions.
4151 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4153 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4154 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4155 to prevent a compiler warning.
4157 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4158 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4159 return something in the non-void function find_topdir_for().
4161 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4168 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4170 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4171 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4172 * gwin32appinfo.c (g_win32_app_info_launch):
4173 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4174 envp_for_startup_id, g_desktop_app_info_launch,
4175 g_desktop_app_info_launch_uris):
4177 Give an opaque 'startup_id' string instead of 'envp'.
4178 Support empty file lists for launching new windows.
4179 Fix infinite recursion bug when launching URIs.
4181 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4184 Add guard to the new g_file_get_uri_scheme() function.
4186 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4189 Convert a g_return_val_if_fail() to setting the GError instead as
4190 otherwise applications have to verify the parameter before otherwise
4191 and the parameter might come directly from the user.
4193 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4195 * gio/inotify/ginotify*.[ch]:
4196 Add missing copyright information.
4198 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4201 Add guards in the beginning of public functions to check for valid
4202 parameters and fix a bug in copy_stream_with_progress() that could've
4203 caused writing less bytes than reading.
4204 * gio/glocalfileinfo.c:
4205 Check for a NULL parameter and set the GError accordingly then.
4206 * gio/goutputstream.c:
4207 Fix the same bug as in gfile.c that could've caused writing less bytes
4208 than reading in g_output_stream_real_splice().
4210 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4213 Use the correct gvolumeprivate.h naming
4215 2007-11-01 Christian Kellner <gicmo@gnome.org>
4218 Remove leftover "$(daemon_sources)" entry.
4220 2007-11-01 Christian Kellner <gicmo@gnome.org>
4225 Add copyright information to source files.
4227 2007-11-01 Alexander Larsson <alexl@redhat.com>
4231 Add g_file_get_uri_scheme
4233 2007-11-01 Alexander Larsson <alexl@redhat.com>
4236 * gio/gdesktopappinfo.c:
4237 * gio/gwin32appinfo.c:
4238 Add g_app_info_get_default_for_uri_scheme.
4240 2007-11-01 Alexander Larsson <alexl@redhat.com>
4243 Correct filename for gdriveprivate.h
4245 2007-10-31 Alexander Larsson <alexl@redhat.com>
4248 Rename id:value to id:file
4251 * gio/glocalfileinfo.c:
4254 2007-10-31 Alexander Larsson <alexl@redhat.com>
4256 * gio/gunixvolume.c:
4258 Remove g_volume_get_platform_id, as thats not
4259 needed with the simpler union volume monitor
4261 2007-10-31 Alexander Larsson <alexl@redhat.com>
4264 * gio/guniondrive.[ch]: Removed.
4265 * gio/gunionvolume.[ch]: Removed.
4266 Remove GUnionDrive/Volume
4268 * gio/gunionvolumemonitor.c:
4269 Simplify union volume monitor, now we
4270 only have one native volume monitor and
4271 we use the actual volumes/drives from the
4272 child monitors instead of wrapping them
4274 * gio/gnativevolumemonitor.[ch]:
4275 Base class for native volume monitors.
4276 Includes priority and get_volume_for_mountpoint
4279 Add g_file_find_enclosing_volume
4282 Remove volume name fs attribute
4283 Add readonly fs attribute
4286 Implement readonly attribute
4287 remove volume name attribute
4288 Implement find_enclosing volume
4290 * gio/gunixmounts.c:
4291 Add a volume for "/".
4293 * gio/gunixvolume.[ch]:
4294 Set better name for /
4296 * gio/gunixvolumemonitor.[ch]:
4297 Derive from GNativeVolumeMonitor
4298 Implement get_volume_for_mountpoint
4301 GVolume typedef moved to gfile.h
4303 * gio/gvolumeprivate.h:
4304 Add g_volume_get_for_mount_path
4306 2007-10-31 Alexander Larsson <alexl@redhat.com>
4308 * gio/gunixmounts.[ch]:
4309 Add cache info to unix mount listers
4310 Make getmntent use threadsafe
4311 Add is_system_internal attribute for GUnixMount
4313 * gio/gunixvolume.c:
4314 (g_unix_volume_new):
4315 Use is_system_internal instead of own code
4317 * gio/glocaldirectorymonitor.c:
4318 * gio/gunixvolumemonitor.c:
4319 Update to new gunixmounts API
4324 2007-10-30 Alexander Larsson <alexl@redhat.com>
4327 Add volume name fsinfo attribute
4330 Read volume name info
4332 * gio/gunionvolumemonitor.c:
4333 Fix infinite loops when finalizing a union volume monitor
4335 2007-10-30 Alexander Larsson <alexl@redhat.com>
4337 * gio/goutputstream.[ch]:
4338 Add splice() with default implementation
4340 * gio/gsocketoutputstream.c:
4341 (g_socket_output_stream_write):
4342 Return error on cancellation correctly.
4344 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4346 * gio/glocalfile.c (g_local_file_trash):
4347 Do not leak a string.
4349 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4351 * gio/gfile.c (g_file_load_contents):
4352 Unref the stream after closing it.
4354 2007-10-25 Alexander Larsson <alexl@redhat.com>
4356 * gio/gioscheduler.h:
4359 2007-10-25 Alexander Larsson <alexl@redhat.com>
4363 Add g_file_has_uri_scheme and implement for local files
4365 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4367 * gio/gdesktopappinfo.c: do not leak a string.
4369 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4371 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4372 (g_local_directory_monitor_new):
4373 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4374 (g_local_file_monitor_new):
4375 Only look for the monitor type that should be used the first time
4376 and use g_qsort_with_data() instead of our own bubble sort
4379 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4382 * gio/fam/Makefile.am:
4383 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4384 * gio/fam/fam-helper.h:
4385 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4386 * gio/fam/gfamdirectorymonitor.c:
4387 * gio/fam/gfamdirectorymonitor.h:
4388 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4389 * gio/fam/gfamfilemonitor.h:
4390 * gio/glocaldirectorymonitor.c:
4391 * gio/glocaldirectorymonitor.h:
4392 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4393 * gio/glocalfilemonitor.h:
4394 * gio/inotify/Makefile.am:
4395 * gio/inotify/ginotifydirectorymonitor.c:
4396 * gio/inotify/ginotifydirectorymonitor.h:
4397 * gio/inotify/ginotifyfilemonitor.c:
4398 * gio/inotify/ginotifyfilemonitor.h:
4399 Implement the FAM and Inotify monitors as
4400 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4401 their own GIO module. GLocal(Directory|File)Monitor will use the
4402 monitor with the highest rank that is supported on that machine.
4404 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4407 Change GIO module dir to $(libdir)/gio/modules and change
4408 the log domain from GVFS to GIO. Also only export symbols starting
4409 with g_ in the resulting library.
4410 * gio/test-streams.c: (main):
4411 Set log handler for the GIO log domain.
4413 2007-10-22 Alexander Larsson <alexl@redhat.com>
4415 * gio/gfilenamecompleter.[ch]:
4416 Add g_filename_completer_set_dirs_only
4418 2007-10-22 Alexander Larsson <alexl@redhat.com>
4421 * gio/gurifuncs.[ch]:
4422 Add some simple URI helpers
4424 * gio/gfilenamecompleter.[ch]:
4425 Added object for filename (parse name actually) completion
4428 Handle ~ in parse names
4430 2007-10-17 Alexander Larsson <alexl@redhat.com>
4433 * gio/glocalfileinfo.c:
4434 Add and implement id:value attribute
4436 2007-10-17 Alexander Larsson <alexl@redhat.com>
4439 * gio/guniondrive.c:
4441 Add and implement g_drive_has_volumes
4443 2007-10-17 Alexander Larsson <alexl@redhat.com>
4446 * gio/glocalfileinfo.[ch]:
4447 Add unix:is_mountpoint and implement for local files
4449 2007-10-16 Alexander Larsson <alexl@redhat.com>
4451 * gio/gunionvolumemonitor.c:
4452 (g_union_volume_monitor_init):
4453 Fix up the unix type getting so that it works with gcc
4455 2007-10-12 Alexander Larsson <alexl@redhat.com>
4458 * gio/glocalfileinfo.c:
4459 Add thumbnail:failed to file info
4461 2007-10-12 Richard Hult <richard@imendio.com>
4463 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4464 optimizing away the get_type call (happens with some gcc versions,
4465 like the one shipped with OS X 10.4).
4467 2007-10-12 Alexander Larsson <alexl@redhat.com>
4469 * gio/glocalfileinfo.c:
4470 (_g_local_file_info_set_attribute):
4471 Fix build if not HAVE_XATTR
4472 Patch from Milosz Derezynski <internalerror@gmail.com>
4474 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4476 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4477 around for review, otherwise I would have asked you before
4480 2007-10-11 Alexander Larsson <alexl@redhat.com>
4483 Add thumbnail:path attribute
4485 * gio/glocalfileinfo.c:
4486 Implement thumbnail:path for local files
4488 2007-10-11 Alexander Larsson <alexl@redhat.com>
4490 * gio/glocalfileinfo.c:
4491 (_g_local_file_info_get):
4492 Avoid duplicate icon names
4494 2007-10-11 Alexander Larsson <alexl@redhat.com>
4496 * gio/gthemedicon.[ch]:
4497 Change g_themed_icon_get_names return type to const
4499 2007-10-10 Alexander Larsson <alexl@redhat.com>
4501 * gio/glocalfileinfo.c:
4502 Don't reference freed memory
4504 2007-10-10 Alexander Larsson <alexl@redhat.com>
4506 * gio/gfileattribute.c:
4509 * gio/glocalfileinfo.c:
4512 2007-10-10 Alexander Larsson <alexl@redhat.com>
4515 Check for NULL icons
4517 * gio/gfileattribute.c:
4518 Don't dup when getting objects (same as for string attributes)
4520 * gio/gicon.c (g_icon_equal):
4521 Safely handle NULLs in equal
4523 2007-10-10 Alexander Larsson <alexl@redhat.com>
4526 Fix c++ compilation issues
4527 Patch from Milosz Derezynski <internalerror@gmail.com>
4529 2007-10-10 Alexander Larsson <alexl@redhat.com>
4531 * programs/gio-monitor-dir.c:
4532 Don't crash if dir monitor not supported.
4534 2007-10-09 Alexander Larsson <alexl@redhat.com>
4537 Add missing G_END_DECLS
4539 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4541 * gio/gfile.c: (g_file_set_display_name),
4542 (g_file_query_settable_attributes),
4543 (g_file_query_writable_namespaces):
4544 Return NULL not FALSE on errors as the return type is a pointer.
4546 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4548 * gio/glocalfile.c: (g_local_file_monitor_file):
4549 Don't call monitor_file on the default interface vtable (which
4550 is NULL) but simply return NULL. The caller, GFile, will create a
4551 polling monitor if NULL is returned.
4553 2007-10-09 Alexander Larsson <alexl@redhat.com>
4557 * gio-unix-2.0.pc.in:
4558 Add gio-unix-2.0.pc if OS_UNIX
4561 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4563 2007-10-09 Alexander Larsson <alexl@redhat.com>
4565 * gio/gunixmounts.[ch]:
4566 Make unix mount monitoring API sane.
4567 Now its just a object with mounts_changed
4568 and mountpoints_changed signals.
4570 * gio/glocaldirectorymonitor.c:
4571 * gio/gunixvolumemonitor.c:
4572 Use new mount monitor api
4574 2007-10-09 Alexander Larsson <alexl@redhat.com>
4576 * gio/gunixmounts.[ch]:
4577 Move guess type into one call for mounts and one for mountpoints
4580 * gio/gunixvolume.c:
4583 2007-10-09 Alexander Larsson <alexl@redhat.com>
4585 * gio/gunixmounts.[ch]:
4586 Remove _ prefix in preparation to make this semi-public
4587 Hide implementation of structs
4589 * gio/glocaldirectorymonitor.c:
4591 * gio/gunixvolume.c:
4592 * gio/gunixvolumemonitor.c:
4593 Update for above API changes
4595 2007-10-08 Alexander Larsson <alexl@redhat.com>
4598 Better polling fallback. This also handles the case where we have
4599 a monitor_file implementation, but it fails.
4601 2007-10-08 Alexander Larsson <alexl@redhat.com>
4605 * gio/gunixmounts.c:
4606 * programs/gio-monitor-dir.c:
4607 * programs/gio-monitor-file.c:
4608 Added cancellable to file monitoring calls.
4609 These are really sync calls and need this.
4611 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4613 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4614 (g_local_vfs_class_init):
4615 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4616 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4618 2007-10-05 Alexander Larsson <alexl@redhat.com>
4620 * gio/gdirectorymonitorprivate.h:
4621 * gio/gfilemonitorprivate.h:
4622 * gio/gdirectorymonitor.h:
4623 * gio/gfilemonitor.h:
4624 Remove *private.h and move to the public API, so that
4625 we can do implementations outside gio (such as in gvfs)
4627 * gio/gdirectorymonitor.c:
4628 * gio/gfilemonitor.c:
4629 * gio/glocaldirectorymonitor.c:
4630 * gio/gpollfilemonitor.c:
4631 * gio/inotify/inotify-helper.c:
4632 * gio/fam/fam-helper.c:
4633 Update to the new header names
4635 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4637 * gio/gdirectorymonitor.c:
4638 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4641 2007-10-04 Alexander Larsson <alexl@redhat.com>
4643 * gio/glocalfileinfo.c (get_access_rights):
4644 Set CAN_TRASH when we can move the file.
4645 We should really also check for a parent trash dir.
4647 2007-10-04 Alexander Larsson <alexl@redhat.com>
4649 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4650 Add can_trash access attribute
4652 2007-10-04 Alexander Larsson <alexl@redhat.com>
4655 (g_local_file_trash):
4656 Create info file first. This is per-spec and allows
4657 us to actually trash directories.
4659 2007-10-02 Alexander Larsson <alexl@redhat.com>
4661 * gio/gdesktopappinfo.c:
4662 Implement the new mime support code.
4663 Always set app as handling mimetype when being set as default for it
4665 2007-10-01 Alexander Larsson <alexl@redhat.com>
4667 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4668 Fix up check for xattrs:
4670 2007-10-01 Alexander Larsson <alexl@redhat.com>
4673 (g_app_info_set_as_default_for_extension):
4674 (g_app_info_add_supports_type):
4675 (g_app_info_can_remove_supports_type):
4676 (g_app_info_remove_supports_type):
4677 Make these fail nicely if not implemented
4679 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4681 * gio/glocalfileoutputstream.c:
4682 * gio/glocalfileoutputstream.h:
4687 * programs/gio-save.c:
4688 Add a GFileCreateFlags argument to operations that can create
4691 2007-10-01 Alexander Larsson <alexl@redhat.com>
4693 * gio/gappinfo.[ch]:
4694 * gio/gdesktopappinfo.c:
4695 Add more (stubbed out) mime API needed for nautilus
4697 2007-10-01 Alexander Larsson <alexl@redhat.com>
4700 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4701 Add g_app_info_set_as_default_for_extension.
4703 * gio/gdesktopappinfo.c:
4704 Dummy for g_app_info_set_as_default_for_extension
4705 Support flags in g_app_info_create_from_commandline
4707 * gio/gwin32appinfo.c:
4709 Update for API changes
4711 * gio/gthemedicon.c:
4712 Properly NULL-terminate list of icon names
4714 2007-09-28 Alexander Larsson <alexl@redhat.com>
4716 * gio/gloadableicon.h:
4717 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4719 2007-09-28 Alexander Larsson <alexl@redhat.com>
4722 Install headers in $includedir/gio-standalone/
4724 * gio-2.0.pc.in: Added.
4725 * gio-standalone.pc.in: Removed.
4728 Renamed pkg-config file to match glib (for future move)
4729 Update to the new include dir
4732 Add more TODO comments
4734 2007-09-28 Alexander Larsson <alexl@redhat.com>
4736 * gio/gdesktopappinfo.[ch]:
4737 Expose new_from_filename
4738 Add getter for is_hidden and handle it better
4740 2007-09-28 Alexander Larsson <alexl@redhat.com>
4742 * gio/gfileinfo.[ch]:
4743 Rename g_file_size_format_for_display to
4744 g_format_file_size_for_display.
4745 Now it doesn't have the g_file prefix, so we
4746 can later move it to glib.
4748 2007-09-28 Alexander Larsson <alexl@redhat.com>
4750 * gio/gappinfo.[ch]:
4751 Add g_app_info_get_id and g_app_info_get_executable.
4752 Make all getters non-reffing
4753 Make g_app_info_launch take GFile arguments.
4754 Add must_support_uris argument to g_app_info_get_default_for_type.
4756 * gio/gwin32appinfo.c:
4757 Update to GAppInfo api changes
4759 * gio/gdesktopappinfo.c:
4760 Update to GAppInfo api changes
4761 Implement supports_xdg_startup_notify
4763 * gio/gfileicon.c (g_file_icon_get_file):
4764 Make getter non-reffing.
4769 2007-09-27 Alexander Larsson <alexl@redhat.com>
4771 * gio/gfileinfo.[ch]:
4772 Add g_file_size_format_for_display helper
4774 2007-09-27 Alexander Larsson <alexl@redhat.com>
4776 * gio/glocalfileinfo.c:
4777 Set UNIX_GID from gid, not from uid
4779 2007-09-27 Alexander Larsson <alexl@redhat.com>
4782 Add g_file_set_attributes_async
4784 2007-09-27 Alexander Larsson <alexl@redhat.com>
4786 * gio/glocalfile.c (g_local_file_set_display_name):
4787 Fix set_display_name to actually rename to the right place.
4788 Use lstat to look for existing files so we don't overwrite
4791 2007-09-26 Alexander Larsson <alexl@redhat.com>
4794 Add g_file_set_display_name_async()
4796 2007-09-26 Alexander Larsson <alexl@redhat.com>
4799 Add load_partial_contents async calls
4802 Make internal function static
4804 2007-09-26 Alexander Larsson <alexl@redhat.com>
4806 * gio/glocalfileinfo.c:
4807 Correctly detect broken symlinks
4809 2007-09-26 Alexander Larsson <alexl@redhat.com>
4811 * gio/gcancellable.c (g_cancellable_cancel):
4812 Allow cancel on NULL cancellable
4814 2007-09-25 Alexander Larsson <alexl@redhat.com>
4816 * gio/gsimpleasyncresult.c:
4817 Don't allocate g_error manually.
4818 Fixes g_slice/g_new mixup crash
4820 2007-09-25 Alexander Larsson <alexl@redhat.com>
4822 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4823 Actually set active_backend.
4824 This means the monitor will be cancelled correctly.
4826 2007-09-25 Alexander Larsson <alexl@redhat.com>
4828 * gio/gdirectorymonitor.c:
4829 Set timeout to NULL when destroying
4831 2007-09-25 Alexander Larsson <alexl@redhat.com>
4834 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4835 that is a better description of the error.
4837 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4839 * gio/gvfs.c: (g_vfs_get_local):
4840 Make the local vfs variable static. The same instance should
4843 2007-09-24 Alexander Larsson <alexl@redhat.com>
4845 * gio/glocalfileinfo.c:
4846 Pass in actual length read into sniffer, not the length
4849 2007-09-21 Alexander Larsson <alexl@redhat.com>
4851 * gio/gfileenumerator.c:
4854 * gio/gfileinputstream.c:
4855 * gio/gfileoutputstream.c:
4856 * gio/ginputstream.c:
4857 * gio/goutputstream.c:
4858 Don't crash if async callbacks are NULL
4860 2007-09-20 Alexander Larsson <alexl@redhat.com>
4863 Add async enumerate_children method and default
4866 2007-09-20 Alexander Larsson <alexl@redhat.com>
4869 Add g_file_contains_file & g_file_get_relative_path, since they
4870 were needed for nautilus.
4871 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4876 Implement new methods
4878 2007-09-17 Alexander Larsson <alexl@redhat.com>
4881 * gio/gfileinputstream.[ch]:
4882 * gio/gfileoutputstream.[ch]:
4884 * gio/glocalfileenumerator.[ch]:
4885 * gio/glocalfileinfo.[ch]:
4886 * gio/glocalfileinputstream.c:
4887 * gio/glocalfileoutputstream.c:
4888 * gio/gpollfilemonitor.c:
4889 * programs/gio-copy.c:
4890 * programs/gio-info.c:
4891 * programs/gio-move.c:
4892 Rename get_file_info to query_info() to make it clearer
4893 that these are not simple getters, but do i/o.
4895 2007-09-17 Alexander Larsson <alexl@redhat.com>
4897 * gio/gdatainputstream.[ch]:
4898 * gio/test-streams.c:
4899 Use _read_XXX instead of _get_XXX for the i/o calls
4902 2007-09-17 Alexander Larsson <alexl@redhat.com>
4905 Added needed stuff to TODO comment
4907 2007-09-17 Alexander Larsson <alexl@redhat.com>
4909 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4910 Don't error out removing the backup copy if it doesn't
4913 2007-09-14 Alexander Larsson <alexl@redhat.com>
4915 * programs/Makefile.am:
4916 * programs/gvfs-*.c:
4918 Renamed apps from gvfs-xxx to gio-xxx.
4920 2007-09-14 Alexander Larsson <alexl@redhat.com>
4923 * gio/gfileoutputstream.[ch]:
4924 * gio/glocalfileoutputstream.c:
4925 * programs/gvfs-save.c:
4926 g_file_output_stream_get_etag doesn't do i/o, so remove
4927 cancellation and error.
4929 2007-09-14 Alexander Larsson <alexl@redhat.com>
4932 Add new_etag output to replace_contents functions
4934 2007-09-14 Alexander Larsson <alexl@redhat.com>
4936 * gio/gfileoutputstream.[ch]:
4937 Add async get_file_info and default implementation
4939 2007-09-14 Alexander Larsson <alexl@redhat.com>
4941 * gio/gfileinputstream.c:
4942 Implement fallback wrapper for async get_file_info
4944 2007-09-14 Alexander Larsson <alexl@redhat.com>
4947 Add etag out argument to load_contents
4952 2007-09-14 Alexander Larsson <alexl@redhat.com>
4954 * gio/gcontenttype.c (looks_like_text):
4955 Whitespace like tab, cr and lf do not make the
4958 2007-09-14 Alexander Larsson <alexl@redhat.com>
4960 * gio/gfileinputstream.[ch]:
4961 Add async get_file_info.
4963 2007-09-13 Alexander Larsson <alexl@redhat.com>
4965 * gio/goutputstream.c (g_output_stream_write_all):
4966 Allow NULL for bytes_written
4968 2007-09-13 Alexander Larsson <alexl@redhat.com>
4970 * gio/gmemoryinputstream.[ch]:
4971 Add accessors for data
4973 2007-09-13 Alexander Larsson <alexl@redhat.com>
4975 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4976 Don't crash if length is NULL