1 2008-09-02 Matthias Clasen <mclasen@redhat.com>
3 * gmount.h: Document guess_content_type sync vfunc.
5 2008-09-02 Michael Natterer <mitch@imendio.com>
7 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
8 fix parent_class member to be GFilterOutputStreamClass (not
9 GOutputStreamClass). Drop three pointers of padding, which is
10 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
11 so the class struct size stays the same.
13 2008-09-02 Matthias Clasen <mclasen@redhat.com>
15 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
17 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
18 nonexisting return values. Pointed out by Cosimo Cecchi.
20 2008-08-23 Tor Lillqvist <tml@novell.com>
22 Bug 548988 - g_file_replace fails on Windows when the target file
25 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
26 Windows, close the file before potentially renaming it (in case we
27 have been writing to a file with a temporary name).
29 (g_local_file_output_stream_close, handle_overwrite_open): Use
30 GLocalFileStat instead of plain struct stat, for passing to
31 _g_local_file_info_create_etag(). Thus also use _fstati64()
32 instead of plain fstat() on Windows.
34 2008-08-18 Matthias Clasen <mclasen@redhat.com>
36 * === Released 2.17.7 ===
38 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
40 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
43 2008-08-13 Tor Lillqvist <tml@novell.com>
47 * win32/gwinhttpfile.c
48 * win32/gwinhttpfileinputstream.c
49 * win32/gwinhttpfileoutputstream.c: Refactor some common code
50 snippets into helper functions. Check HTTP response status
51 codes. Implement g_winhttp_file_query_info(), looking at
52 Content-Length, Content-Type and Last-Modified.
54 * win32/winhttp.h: Add some symbolic constants that are not
55 publicly documented. Just a handful, so it should be OK to use
56 information from the Windows SDK's headers.
58 2008-08-13 Tor Lillqvist <tml@novell.com>
60 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
63 * win32/gwin32directorymonitor.c
64 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
66 2008-08-13 Matthias Clasen <mclasen@redhat.com>
69 * goutputstream.c: Add intro docs.
71 2008-08-13 Tor Lillqvist <tml@novell.com>
73 * win32/gwinhttpfileoutputstream.c
74 (g_winhttp_file_output_stream_write): Don't write the
75 Content-Length header ourselves, WinHttpSendRequest() takes care
76 of that when the dwTotalLength parameter is non-zero. Increment
77 offset by the number of actual bytes sent, although I wonder if
78 such a scenario is possible where less than requested would be
79 sent and accepted by the server without errors.
81 2008-08-13 Tor Lillqvist <tml@novell.com>
85 * win32/gwinhttpfile.c
86 * win32/gwinhttpfile.h
87 * win32/gwinhttpfileinputstream.c
88 * win32/gwinhttpfileinputstream.h
89 * win32/gwinhttpfileoutputstream.c
90 * win32/gwinhttpfileoutputstream.h: New files implementing
91 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
92 Windows. The implementation uses the WinHttp API. Both reading and
93 writing are supported, i.e. GET and PUT requests. When writing,
94 each write call is done using a separate PUT request with a
95 Content-Range header. Requests for file URIs and plain pathnames
96 are forwarded to GLocalVfs.
98 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
99 WINE. Used as there is no <winhttp.h> bundled with mingw, and
100 requiring people to download the Windows SDK just for this one
101 header is not reasonable.
103 * win32/Makefile.am: Add above files.
105 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
106 the plumbing for the above.
108 2008-08-11 Sven Neumann <sven@gimp.org>
110 * gfilenamecompleter.c
111 * glocaldirectorymonitor.c
113 * gunionvolumemonitor.c
117 * gunixvolumemonitor.c
120 * gwin32volumemonitor.c: use canonical signal names.
122 2008-08-11 Tor Lillqvist <tml@novell.com>
124 * Makefile.am: Put a list of the platform-dependent .la files in
125 the subdirectories in the platform_deps Make variable, and make
126 libgio-2.0.la depend on that, so that it gets relinked if one of
127 the dependent libraries has changed.
129 2008-08-11 Tor Lillqvist <tml@novell.com>
131 * Makefile.am (platform_libadd): Remove -lwininet which had been
132 added by mistake. We will probably eventually be using WinHTTP,
133 not the older WinInet anyway. (Actually I am working on it.)
135 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
137 Bug 547080 – g_file_copy leaks expected errors
139 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
140 before trying the next fallback routine.
142 2008-08-09 Loïc Minier <lool@dooz.org>
144 Bug 535124 – umask 002 not being applied for new directories, new
145 files get the correct umask
147 * gfile.c (g_file_make_directory)
148 (g_file_make_directory_with_parents): Document ownership and
149 permissions of newly created directories as being the default
152 2008-08-08 Loïc Minier <lool@dooz.org>
154 Bug 535124 – umask 002 not being applied for new directories, new
155 files get the correct umask
157 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
160 2008-08-08 Tor Lillqvist <tml@novell.com>
162 * gwin32mount.c: Remove unused code. Whitespace cleanup.
164 * gwin32volumemonitor.c (get_connected_drives): Put questionable
165 code that didn't actually do anything inside #if 0, and add a
166 comment wondering what the code was supposed to do. This also gets
167 rid of a leftover debugging printout.
169 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
171 * gfileicon.c (g_file_icon_get_property)
172 (g_file_icon_set_property): New functions.
173 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
175 (g_file_icon_new): Use the property (bug #546132).
177 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
179 * gthemedicon.c (g_themed_icon_get_property): Also handle
180 `PROP_USE_DEFAULT_FALLBACKS'.
181 (g_themed_icon_class_init): Make
182 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
184 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
186 Bug 546371 – Improve docs re g_file_monitor
188 * gfilemonitor.c: Mention g_file_monitor() in the docs.
190 2008-08-04 Matthias Clasen <mclasen@redhat.com>
192 * === Released 2.17.6 ===
194 2008-08-04 Matthias Clasen <mclasen@redhat.com>
196 * === Released 2.17.5 ===
198 2008-08-04 Matthias Clasen <mclasen@redhat.com>
200 Bug 546017 – Don't copy attributes when copying a symlink
202 * gfile.c (g_file_copy_attributes): Specify
203 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
204 g_file_set_attributes_from_info. Patch by Christian Kellner
206 2008-08-04 Matthias Clasen <mclasen@redhat.com>
208 * gemblemedicon.[hc]:
210 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
211 a bit more extensible. Work by Clemens Buss.
213 * gioenums.h: Add GEmblemOrigin.
216 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
218 Bug 546079 – leak in xdgmime
220 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
222 2008-08-03 Tor Lillqvist <tml@novell.com>
224 * win32/gwin32directorymonitor.h
225 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
228 2008-08-03 Tor Lillqvist <tml@novell.com>
230 * win32/gwin32directorymonitor.c
231 (g_win32_directory_monitor_callback): Make prototype match
232 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
233 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
236 (g_win32_directory_monitor_constructor):
237 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
238 names in the GLib API on Windows, so convert to UTF-16 and open
241 2008-08-03 Tor Lillqvist <tml@novell.com>
243 Bug 541036 - Gnumeric crashes when trying to open Desktop or
244 user's folder under Windows
246 * win32/gwin32directorymonitor.c
247 (g_win32_directory_monitor_constructor): Ignore error from
248 CreateFile() when opening directory. Instead of asserting, just
249 store INVALID_HANDLE_VALUE then in
250 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
251 ReadDirectoryChangesW().
252 (g_win32_directory_monitor_cancel): Don't attempt to close
253 directory handle if it is INVALID_HANDLE_VALUE.
255 2008-08-01 Matthias Clasen <mclasen@redhat.com>
257 * gdesktopappinfo.c: Remove debug spew
259 2008-08-01 Hans Breuer <hans@breuer.org>
261 * makefile.msc : add gemblembedicon
263 2008-07-30 Matthias Clasen <mclasen@redhat.com>
265 Bug 545457 – gdmsetup crashed with SIGSEGV in
266 g_unix_mount_guess_should_display()
268 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
269 crash if no mount is found.
271 2008-07-28 Matthias Clasen <mclasen@redhat.com>
273 Bug 545203 – gfile.c: argument is different type.
275 * gfile.c (open_read_async_thread): Pass a GError **
276 to g_file_set_error_literal.
277 Reported by Kazuki Iwamoto
279 2008-07-28 Matthias Clasen <mclasen@redhat.com>
281 Bug 545157 – wrong/no list of "open with" applications for .cc and
284 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
285 Collect all ancestors, not just direct parents. Pointed
286 out by Bastien Nocera
288 2008-07-28 Matthias Clasen <mclasen@redhat.com>
290 * Makefile.am: Install gemblemedicon.h
292 2008-07-28 Matthias Clasen <mclasen@redhat.com>
294 * gemblemedicon.[hc]: Add a GIcon implementation that can
295 add an emblem to another icon.
302 * gfileicon.c: Small documentation additions.
304 2008-07-28 Tor Lillqvist <tml@novell.com>
306 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
309 2008-07-27 Tor Lillqvist <tml@novell.com>
311 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
313 2008-07-24 David Zeuthen <davidz@redhat.com>
317 Also export a g_mount_guess_content_type_sync() function.
319 2008-07-23 Matthias Clasen <mclasen@redhat.com>
321 529694 – SELinux context setting support
323 * gfileinfo.c: Support setting selinux attributes.
324 Patch by Tomas Bzatek
326 2008-07-22 Priit Laes <plaes@plaes.org>
328 Bug 544140 - fam-helper 64-bit issue?
330 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
332 2008-07-21 Matthias Clasen <mclasen@redhat.com>
334 * === Released 2.17.4 ===
336 2008-07-20 Matthias Clasen <mclasen@redhat.com>
338 * gvolumemonitor.[hc]:
343 * gmount.c: Documentation fixes
345 2008-07-19 Matthias Clasen <mclasen@redhat.com>
347 543504 – crash in Epiphany Web Browser: Opening local file
358 * gvolume.c: Register types thread-safely.
359 Patch by Christian Persch
361 2008-07-18 Matthias Clasen <mclasen@redhat.com>
363 * gcontenttype.c: Remove debug spew
365 2008-07-18 Matthias Clasen <mclasen@redhat.com>
367 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
370 * fen/fen-kernel.c: Remove a warning that was causing
371 crashes. Reported by Lin Ma.
373 2008-07-18 Matthias Clasen <mclasen@redhat.com>
375 Bug 543040 – async reading on dummy file will crash on
378 * gfile.c (open_read_async_thread): Cope with read_fn being
379 NULL. Reported by Lin Ma.
381 2008-07-18 Matthias Clasen <mclasen@redhat.com>
384 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
386 2008-07-16 Matthias Clasen <mclasen@redhat.com>
390 * giomodule.c: Rename a chapter id to avoid filename conflict.
392 2008-07-16 Matthias Clasen <mclasen@redhat.com>
394 Bug 540616 – mem leak in filechooser button
396 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
397 the mount entry. Reported by Chrisitan Persch
399 2008-07-16 Matthias Clasen <mclasen@redhat.com>
401 * gfile.c: Small documentation fixes.
403 2008-07-15 Matthias Clasen <mclasen@redhat.com>
405 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
407 2008-07-08 Matthias Clasen <mclasen@redhat.com>
412 * gmount.c: Documentation improvements.
414 2008-07-08 Matthias Clasen <mclasen@redhat.com>
417 * gmount.[hc]: Add g_mount_guess_content_type().
419 2008-07-06 David Zeuthen <davidz@redhat.com>
422 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
423 is needed for easily handling adoption of foreign volumes by
424 out-of-process volume monitors (#541793)
426 2008-07-06 David Zeuthen <davidz@redhat.com>
428 * gvolumemonitor.[ch]:
429 * gunionvolumemonitor.c: Export the eject-button signal on the
430 volume monitor class (#541794).
432 2008-07-06 Matthias Clasen <mclasen@redhat.com>
434 * gappinfo.c: More doc tweaks
436 2008-07-05 Matthias Clasen <mclasen@redhat.com>
438 * gappinfo.c: Clarify some docs
440 2008-07-03 Matthias Clasen <mclasen@redhat.com>
442 * gdesktopappinfo.c: Fix a stupid mistake.
444 2008-07-02 Matthias Clasen <mclasen@redhat.com>
446 * === Released 2.17.3 ===
448 2008-07-02 Matthias Clasen <mclasen@redhat.com>
450 * gfilemonitor.c: Fix the build.
452 2008-07-02 Matthias Clasen <mclasen@redhat.com>
454 Bug 536160 – Add g_file_monitor()
457 * gfile.[hc]: Add g_file_monitor which can return either
458 a file or a directory monitor. Proposed by Behdad Esfahbod
460 2008-07-02 Matthias Clasen <mclasen@redhat.com>
462 536733 – gio build failure on Irix
464 * glocalfile.c: Use a configure check for structfs.f_bavail.
466 2008-07-02 Matthias Clasen <mclasen@redhat.com>
468 Bug 534639 – add g_desktop_app_info_new_from_keyfile
471 * gdesktopappinfo.[hc]: Add a function to create a
472 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
474 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
476 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
478 2008-07-01 Matthias Clasen <mclasen@redhat.com>
480 * gunixmounts.c: Fix a doc typo.
482 2008-07-01 Cody Russell <bratsche@gnome.org>
484 * gio/gcontenttype.c:
485 * gio/gwin32appinfo.c:
486 * gio/gwin32volumemonitor.c:
487 * gio/gwin32mount.c: Fixed some include problems.
489 2008-07-01 Cody Russell <bratsche@gnome.org>
493 Moved all relevant typedefs into these files.
496 Updated wrt added files.
498 Split types into separate file for easier maintainership. (#538564)
500 2008-06-30 Matthias Clasen <mclasen@redhat.com>
502 Bug 540331 – g_file_append_to () documentation: can return NULL
504 * gfile.c (g_file_append_to): Clarify docs.
507 2008-06-30 Matthias Clasen <mclasen@redhat.com>
509 Bug 539090 – g_content_type_from_mime_type() should unalias
511 * gcontentype.c (g_content_type_from_mime_type): Unalias.
512 Patch by Markus Bergman
514 2008-06-30 Matthias Clasen <mclasen@redhat.com>
516 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
519 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
520 on ppc and alpha. Reported by Mart Raudsepp
522 2008-06-29 Matthias Clasen <mclasen@redhat.com>
525 * tests/memory-output-stream.c: Add some tests for
528 2008-06-29 Matthias Clasen <mclasen@redhat.com>
530 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
533 * gmemoryoutputstream.c (array_resize): Handle truncation to
534 zero correctly. Reported by Akira Tagoh
536 2008-06-29 Matthias Clasen <mclasen@redhat.com>
538 * gmemoryoutputstream.c: Trivial doc fixes
540 2008-06-29 Matthias Clasen <mclasen@redhat.com>
542 Bug 540802 – g_list_prepend doesn't concat lists
544 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
545 one list to another. Pointed out by Jan Arne Petersen
547 2008-06-28 Michael Natterer <mitch@imendio.com>
549 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
551 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
553 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
554 to avoid problems with partial icon themes.
556 2008-06-17 Hans Breuer <hans@breuer.org>
558 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
559 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
560 access again on win32, see bug #538127
561 * giomodule.c : ensure GWin32VolumeMonitor is registered
562 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
563 * Makefile.am makefile.msc : updated
565 2008-06-16 Hans Breuer <hans@breuer.org>
567 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
568 and initialization in one step avoids c99ism
570 2008-06-16 Christian Persch <chpe@gnome.org>
573 * gio/gbufferedinputstream.c
575 * gio/gdatainputstream.c
576 * gio/gdesktopappinfo.c
578 * gio/gfileenumerator.c
579 * gio/gfileinputstream.c
580 * gio/gfileoutputstream.c
582 * gio/glocaldirectorymonitor.c
584 * gio/glocalfileenumerator.c
585 * gio/glocalfileinfo.c
586 * gio/glocalfilemonitor.c
587 * gio/glocalfileoutputstream.c
588 * gio/gmemoryinputstream.c
589 * gio/gmemoryoutputstream.c
590 * gio/goutputstream.c
591 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
594 2008-06-16 Tor Lillqvist <tml@novell.com>
596 Bug 538362 - Get Win32 icons back in the file chooser
598 * gcontenttype.c (g_content_type_get_icon): Look up the icon
599 corresponding to a file extension in the Registry. Patch by Hans
601 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
603 2008-06-16 Tor Lillqvist <tml@novell.com>
605 Patches by Hans Breuer:
607 * glocalfile.c (is_xp_or_later): Handle compiling against older
608 SDK headers with missing VerifyVersionInfo(). Conditioned on
609 _MSC_VER, but should probably use some better test.
610 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
611 uninitialised statfs_result variable on Win32.
613 2008-06-16 Michael Natterer <mitch@imendio.com>
615 * *.c: chain up unconditionally in finalize() and dispose(). Also
616 don't dereference these function pointers when calling them since
617 that has no meaning at all.
619 2008-06-16 Ross Burton <ross@burtonini.com>
622 Remove check for dispose implementation as it annoys Emmanuele.
624 2008-06-16 Ross Burton <ross@burtonini.com>
626 Bug 536252 – GFileEnumerator should allow access to the containing
632 Add g_file_enumerator_get_container() and a container writeable
633 construct-only property. Also shuffle around typedefs to make it
636 * glocalfileenumerator.c:
637 * glocalfileenumerator.h:
639 Instead of a string filename take a GFile in the constructor and
640 use it to set the container property.
645 2008-06-16 Matthias Clasen <mclasen@redhat.com>
647 * gfile.c: Make includes more uniform
649 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
651 * tests/live-g-file.c (sample_struct):
652 Use less fancy unicode filenames, so the test doesn't fail
653 on Mac OS X (#531476).
655 2008-06-12 Matthias Clasen <mclasen@redhat.com>
657 * === Released 2.17.2 ===
659 2008-06-12 Matthias Clasen <mclasen@redhat.com>
661 * === Released 2.17.1 ===
663 2008-06-11 A. Walton <awalton@gnome.org>
665 * tests/g-file.c (test_g_file_new_null):
666 Fix broken test case.
668 2008-06-11 Matthias Clasen <mclasen@redhat.com>
670 * pltcheck.sh: We use g_clear_error now.
672 2008-06-11 Matthias Clasen <mclasen@redhat.com>
674 * glocalfile.c (g_local_file_enumerate_children): Revert
675 an unintended change.
677 2008-06-11 Matthias Clasen <mclasen@redhat.com>
679 * gfile.c (g_file_replace_contents): Don't unref before the last use.
681 2008-06-10 Matthias Clasen <mclasen@redhat.com>
683 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
686 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
687 as icon for the desktop directory, also make user-home and
688 user-desktop the preferred icons.
690 2008-06-10 Matthias Clasen <mclasen@redhat.com>
693 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
694 to add a name to the front of the list.
696 2008-06-10 Matthias Clasen <mclasen@redhat.com>
698 Bug 537392 – Additional colon in xattr name
700 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
701 too. Reported by Alessandro Morandi
703 2008-06-10 Matthias Clasen <mclasen@redhat.com>
705 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
708 * glocalfile.c (get_fs_type): Add afs and autofs.
709 Patch by Danny Baumann.
711 2008-06-10 Matthias Clasen <mclasen@redhat.com>
713 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
715 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
716 is no parent. (Owen Taylor, patch by Christian Neumair)
718 2008-06-10 Paolo Borelli <pborelli@katamail.com>
720 * gfile.c (g_file_replace_contents): do not leak the output stream.
722 2008-06-10 Michael Natterer <mitch@imendio.com>
724 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
725 uninitialized memory as array index.
727 2008-06-10 Tor Lillqvist <tml@novell.com>
729 * gcontenttype.c (g_content_type_can_be_executable)
730 (g_content_type_get_icon) [Win32]: Add TODO comments.
732 2008-06-09 Matthias Clasen <mclasen@redhat.com>
734 * xdgmime/Makefile.am: Fix the build
736 2008-06-09 Matthias Clasen <mclasen@redhat.com>
738 * gcontenttype.c (g_content_type_get_icon): Use icons specified
739 in the shared mime database, if available.
741 * xdgmime/*: Sync with upstream. This brings support for
742 glob weights, generic icons, and changes the cache format to
745 2008-05-28 Michael Natterer <mitch@imendio.com>
747 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
748 the global CPPFLAGS now.
750 * tests/data-input-stream.c
751 * tests/data-output-stream.c
752 * tests/g-file-info.c
754 * tests/live-g-file.c
755 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
757 2008-05-27 Matthias Clasen <mclasen@redhat.com>
759 * === Released 2.17.0 ===
761 * tests/live-g-file.c: Clean up after the tests, so make distcheck
762 doesn't complain about leftover files.
764 2008-05-27 simon.zheng <simon.zheng@sun.com>
766 * glocalfile.c: (g_local_file_query_filesystem_info):
767 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
769 2008-05-26 Michael Natterer <mitch@imendio.com>
771 * gmemoryoutputstream.h: declare
772 g_memory_output_stream_get_data_size().
774 2008-05-26 Matthias Clasen <mclasen@redhat.com>
776 * tests/*: Make tests work
778 2008-05-26 Matthias Clasen <mclasen@redhat.com>
780 * gio.symbols: Add g_memory_output_stream_get_data_size.
782 2008-05-25 Ross Burton <ross@burtonini.com>
785 Fix typo in error message (#534764).
787 2008-05-25 Ross Burton <ross@burtonini.com>
790 Fix circular dependency loop for gioenumtypes.h (#534759).
792 2008-05-19 Hans Breuer <hans@breuer.org>
794 * Makefile.am : EXTRA_DIST += makefile.msc
796 2008-05-17 Matthias Clasen <mclasen@redhat.com>
799 * gcontenttype.c: (g_content_type_from_mime_type):
800 New function to create a content type from a mime type. (#527175,
803 2008-05-17 Matthias Clasen <mclasen@redhat.com>
805 Bug 532965 – Should not return filesystem::free for certain file systems
807 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
808 free space for ncpfs.
810 2008-05-17 Matthias Clasen <mclasen@redhat.com>
812 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
814 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
815 st_dev might be zero.
817 2008-05-16 Tor Lillqvist <tml@novell.com>
819 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
820 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
822 2008-05-13 Bastien Nocera <hadess@hadess.net>
824 * gfile.c (has_valid_scheme): A URI scheme must start with a
825 letter, even if later more characters are allowed (#532852)
827 2008-05-05 Michael Natterer <mitch@imendio.com>
829 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
830 code from being checked in that breaks the build of applications
831 which use G_DISABLE_SINGLE_INCLUDES.
833 * makegioalias.pl: make the alias file include "glib.h" instead of
836 * gio.symbols: whitespace change to force regeneration of the
837 alias file after above script change.
839 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
841 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
843 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
845 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
847 2008-04-28 David Zeuthen <davidz@redhat.com>
849 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
850 displaying mounts in a subdirectory not accessible to the
853 2008-04-22 Michael Natterer <mitch@imendio.com>
855 * Makefile.am: fix library versioning (it was 0.0.0).
857 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
859 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
860 Default disable all loggings.
861 * fen/fen-kernel.c: (printevent), (port_add_kevent),
862 (port_fetch_event_cb): Fixed two macro nits.
864 2008-04-16 Matthias Clasen <mclasen@redhat.com>
866 * xdgmime/xdgmime.c: Rework the timestamp checking code
867 to protect against duplicate directories in XDG_DATA_DIRS.
868 Fixes fd.o bug 12513, reported by Joe Shaw.
870 2008-04-16 Matthias Clasen <mclasen@redhat.com>
872 Partically revert the last commit after realizing that
873 xdg_mime_media_type_equal doesn't have to init at all.
876 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
878 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
880 2008-04-16 Matthias Clasen <mclasen@redhat.com>
882 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
883 reported by Joe Shaw and Federico Mena Quintero.
885 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
886 (xdg_mime_media_type_equal): Turn into a wrapper around the
889 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
890 functions throughout.
892 2008-04-16 Michael Meeks <michael.meeks@novell.com>
894 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
895 tolerate an empty TryExec= line without failing; nautilus used
896 to create launchers with these in previous versions. Fixes #528433
898 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
900 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
901 after name. Fixes #527132.
903 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
905 * gfile.c: (g_file_replace):
908 2008-04-07 Matthias Clasen <mclasen@redhat.com>
910 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
912 * gfile.c (file_copy_fallback): Fix the argument order. Patch
913 by Christian Kellner.
915 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
917 * gunixmounts.c: (g_unix_mount_guess_should_display):
918 Don't list the user directory as a mount, fix potential issue
919 when other users have a similar naming and don't special case the
920 gvfs mounts there since that's not required (#525866)
922 2008-03-31 Alexander Larsson <alexl@redhat.com>
924 * glocalfile.c (get_parent):
927 2008-03-31 A. Walton <awalton@svn.gnome.org>
929 * gfile.c (g_file_query_file_type):
930 Always return a GFileType enum value (#520715).
932 2008-03-31 Alexander Larsson <alexl@redhat.com>
934 * glocalfileenumerator.c:
935 Read readdir() info in chunks (of 1000) and sort
936 the chunks by inode before stat:ing.
937 This is a 20% performance increase in testing
938 gvfs-ls on /usr/bin with cold cache.
940 2008-03-31 Alexander Larsson <alexl@redhat.com>
942 * gmemoryoutputstream.c:
943 Clarify docs for g_memory_output_stream_get_size.
944 Add g_memory_output_stream_get_data_size.
946 2008-03-30 Matthias Clasen <mclasen@redhat.com>
950 * gfile.h: Add g_file_query_file_type convenience function
951 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
953 2008-03-30 Matthias Clasen <mclasen@redhat.com>
956 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
958 2008-03-28 A. Walton <awalton@svn.gnome.org>
960 * giomodule.c (_g_io_modules_ensure_loaded):
961 Adds GIO_EXTRA_MODULES environment variable support, closing bug
964 2008-03-28 Alexander Larsson <alexl@redhat.com>
967 (copy_stream_with_progress):
970 2008-03-28 Alexander Larsson <alexl@redhat.com>
973 (copy_stream_with_progress):
974 (file_copy_fallback):
975 Fallback to g_file_query_info for source size
976 if g_file_input_stream_query_info fails. (#524579)
978 2008-03-28 Alexander Larsson <alexl@redhat.com>
980 * glocalfile.c (g_local_file_move):
981 Reuse old string instead of adding new one.
983 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
985 * fen/*.[hc]: still copyright issue. I hate copyright.
987 2008-03-27 Alexander Larsson <alexl@redhat.com>
989 * glocalfile.c (g_local_file_move):
990 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
991 file over directory. This is according to the docs and what the move via
992 copy+remove fallback does.
994 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
996 * fen/*.[hc]: Updated copyright.
998 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1000 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1002 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1004 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1005 not emit attribute changed events when optimizing changed events.
1006 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1009 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1011 * gmountoperation.[hc]: Small documentation additions
1013 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1015 * gunixmounts.c: (guess_mount_type):
1016 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1018 2008-03-19 Alexander Larsson <alexl@redhat.com>
1021 (copy_stream_with_progress):
1022 Bump block side for copy to 64k to minimize
1023 overhead for low latency links. (#523015)
1025 2008-03-16 Tor Lillqvist <tml@novell.com>
1027 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1028 depend on gio.def on Windows.
1030 2008-03-12 David Zeuthen <davidz@redhat.com>
1034 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1036 2008-03-14 Alexander Larsson <alexl@redhat.com>
1040 Avoid redudant tests (#521851)
1041 Patch from Josselin Mouette
1043 2008-03-14 Alexander Larsson <alexl@redhat.com>
1046 (g_file_monitor_is_cancelled):
1047 Fix C89 issue (#521672)
1048 Patch from Jens Granseuer
1050 2008-03-14 Alexander Larsson <alexl@redhat.com>
1052 * fam/fam-helper.[ch]:
1054 Shut down fam (including removing fam GSource) when
1055 module is unloaded (#521513)
1056 Patch from Joe Marcus Clarke
1058 2008-03-14 Alexander Larsson <alexl@redhat.com>
1061 (_g_io_modules_ensure_loaded):
1064 2008-03-14 Alexander Larsson <alexl@redhat.com>
1067 (g_local_file_query_filesystem_info):
1068 Use right define name for f_fstypename member check
1070 2008-03-14 Alexander Larsson <alexl@redhat.com>
1073 * fen/Makefile.am: Added.
1074 * fen/fen-data.[ch]: Added.
1075 * fen/fen-dump.[ch]: Added.
1076 * fen/fen-helper.[ch]: Added.
1077 * fen/fen-kernel.[ch]: Added.
1078 * fen/fen-missing.[ch]: Added.
1079 * fen/fen-node.[ch]: Added.
1080 * fen/fen-sub.[ch]: Added.
1081 * fen/gfendirectorymonitor.[ch]: Added.
1082 * fen/gfenfilemonitor.[ch]: Added.
1084 Added Solaris FEN file notification backend.
1085 Patch from Lin Ma <Lin.Ma@Sun.COM>
1087 2008-03-13 Tor Lillqvist <tml@novell.com>
1089 * Makefile.am: Actually use the gio.def file when linking the
1090 library on Windows. Produce .lib library for Microsoft's toolchain
1091 when possible. Install the .lib and .def file like for the other
1094 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1096 * tests/live-g-file.c:
1097 Include live-g-file in standard set of tests, making a temporary
1098 directory in source structure.
1100 Clean target directory before the tests (write mode only)
1102 2008-03-12 Tor Lillqvist <tml@novell.com>
1104 Bug 517419 - gio win32 directory monitor
1105 Implementation by Vlad Grecescu.
1108 * win32/gwin32directorymonitor.h
1109 * win32/gwin32directorymonitor.c: New files.
1111 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1113 * Makefile.am: Add the win32 subdirectory.
1115 2008-03-12 Tor Lillqvist <tml@novell.com>
1117 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1118 normal struct stat on Unix but struct _stati64 on Windows to have
1119 access to 64-bit file size information. Use that instead of struct
1120 stat in the functions declared here in this private header.
1122 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1123 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1124 warnings about unused functions and variables. Don't set
1125 meaningless attributes like inode numbers on Windows.
1127 2008-03-12 Benjamin Otte <otte@gnome.org>
1130 trim whitespace so gtk-doc groks the function name
1132 2008-03-12 Tor Lillqvist <tml@novell.com>
1134 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1135 returning FALSE, on Win32.
1137 2008-03-11 Alexander Larsson <alexl@redhat.com>
1140 * glocalfileinfo.[ch]:
1141 Correctly implement can_trash by actually
1142 looking for a trash dir, not just assuming
1145 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1147 * === Released 2.16.1 ===
1149 2008-03-11 Alexander Larsson <alexl@redhat.com>
1152 Fix crashes in new constructor and properties code
1154 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1156 * gfile.c: Minor spelling correction in documentation:
1157 existance -> existence.
1159 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1161 * === Released 2.16.0 ===
1163 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1165 * gio.symbols: Remove g_file_contains_file here, too.
1167 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1169 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1170 Samuel Cormier-Iijima)
1172 2008-03-08 Tor Lillqvist <tml@novell.com>
1174 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1177 2008-03-07 Alexander Larsson <alexl@redhat.com>
1180 (g_local_file_query_filesystem_info):
1181 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1182 Patch from Jasper Lievisse Adriaanse
1184 2008-03-06 Tor Lillqvist <tml@novell.com>
1186 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1187 comments for the *_USEC attributes.
1189 2008-03-06 Alexander Larsson <alexl@redhat.com>
1191 * gfile.c (g_file_query_exists):
1192 Add g_return_val_if_fail check (#520700)
1194 2008-03-06 Alexander Larsson <alexl@redhat.com>
1196 * gdesktopappinfo.c:
1199 * gunionvolumemonitor.c:
1202 * tests/live-g-file.c:
1203 * xdgmime/xdgmimecache.c:
1204 Fix sparse warnings (#519489)
1206 2008-03-05 Alexander Larsson <alexl@redhat.com>
1209 Make cancellation threadsafe (i.e.
1210 guarantee its only done once, and always
1213 * glocaldirectorymonitor.c:
1214 Make sure we the monitor lives while the
1215 mounts_changed callback is being called (#520484)
1217 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1219 * gbufferedinputstream.c: Fix typo in parameter
1222 2008-03-04 Alexander Larsson <alexl@redhat.com>
1225 Remove deprecated symbols we kept for one release.
1227 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1230 * goutputstream.c: Tiny documentation corrections.
1232 2008-03-03 Alexander Larsson <alexl@redhat.com>
1234 * gunionvolumemonitor.c:
1236 Fix the adopt_orphan_mount vfunc to take a
1237 volume_monitor reference in an ABI compat way.
1238 This change is not API compat, but the added
1239 arg is not used in the only user of this vfunc, so
1240 all we get is a harmless warning in gvfs (#520169)
1242 2008-03-01 Benjamin Otte <otte@gnome.org>
1245 clarify docs for g_file_delete().
1247 2008-02-29 Alexander Larsson <alexl@redhat.com>
1251 Make sure empty files get text/plain type (#518720)
1253 2008-02-27 Alexander Larsson <alexl@redhat.com>
1259 (g_unix_volume_mount):
1260 Add missing GMountMountFlags argument
1262 2008-02-26 Alexander Larsson <alexl@redhat.com>
1265 (g_local_file_delete):
1266 Handle filesystems (like ntfs-3g) that return EEXIST instead
1267 of ENOTEMPTY (#518816)
1269 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1271 * === Released 2.15.6 ===
1273 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1275 * gfile.c (g_file_find_enclosing_mount):
1276 * ginputstream.c (g_input_stream_set_pending):
1277 * glocalfile.c (g_local_file_find_enclosing_mount):
1278 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1279 * goutputstream.c (g_output_stream_set_pending):
1281 Fixup translator comments (#518578).
1283 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1285 * gfile.c (g_file_find_enclosing_mount):
1287 * glocalfile.c (g_local_file_find_enclosing_mount):
1290 Fix a few typos in translator comments and documentation.
1292 2008-02-25 Alexander Larsson <alexl@redhat.com>
1299 Add translator comments (#518578)
1301 2008-02-25 Alexander Larsson <alexl@redhat.com>
1304 Reintroduce g_file_contains_file, keep around for one
1305 unstable release cycle to avoid crashing to many apps.
1306 Make sure to delete after release.
1308 2008-02-25 Alexander Larsson <alexl@redhat.com>
1311 Remove deprecated g_file_contains_file.
1313 2008-02-25 Alexander Larsson <alexl@redhat.com>
1316 Emit actual change signals in an idle handler.
1317 This avoids reentrance and locking problems in
1318 the file notification backends.
1320 2008-02-25 Alexander Larsson <alexl@redhat.com>
1323 (g_unix_mount_guess_should_display):
1324 Remove type guessing, instead just display
1325 mounts in /media and in ~/.
1327 2008-02-25 Alexander Larsson <alexl@redhat.com>
1330 Make new strings reuse old ones.
1332 2008-02-25 Alexander Larsson <alexl@redhat.com>
1335 Implement trashing and filesystem::readonly for win32 (#517235)
1336 Patch from Yevgen Muntyan
1338 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1340 * gfileinfo.h: Documentation fixes.
1342 2008-02-22 Alexander Larsson <alexl@redhat.com>
1344 * gcontenttype.c (g_content_type_get_icon):
1345 Look at old-style gnome mime icon names too, as many
1346 have not moved to the new style.
1348 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1350 * *.c: Correct the @include in for section docs.
1352 2008-02-21 David Zeuthen <davidz@redhat.com>
1354 * glocalfileinfo.c: (_g_local_file_info_get):
1356 (g_content_type_get_icon): Implement this function by
1357 moving bits from glocalfileinfo.c
1358 (g_content_type_get_description): Unalias before getting
1359 description (#517687)
1361 * gfile.c: (g_file_class_init),
1362 (g_file_query_filesystem_info_async),
1363 (g_file_query_filesystem_info_finish),
1364 (query_filesystem_info_data_free),
1365 (query_filesystem_info_async_thread),
1366 (g_file_real_query_filesystem_info_async),
1367 (g_file_real_query_filesystem_info_finish):
1368 * gfile.h: Implement async version of
1369 g_file_query_filesystem_info()
1371 * gfileinfo.h: Add new attributes for filesystem::use-preview
1373 * gio.symbols: Update
1375 * gthemedicon.c: (g_themed_icon_append_name):
1376 * gthemedicon.h: Add new new convenience function.
1378 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1379 (get_mounts), (get_volumes), (get_connected_drives),
1380 (get_volume_for_uuid), (get_mount_for_uuid),
1381 (g_union_volume_monitor_init), (populate_union_monitor),
1382 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1383 (g_volume_monitor_adopt_orphan_mount):
1385 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1386 monitor implementations to call into the main volume monitor. Also
1387 separate object initialization and volume monitor initialization
1388 such that non-native volume monitors can properly adopt their
1391 2008-02-21 Alexander Larsson <alexl@redhat.com>
1396 2008-02-21 Alexander Larsson <alexl@redhat.com>
1399 Add more documentation about how GFiles work (from #517086)
1401 2008-02-21 Alexander Larsson <alexl@redhat.com>
1405 Add new g_file_has_prefix that does the same as g_file_contains_file.
1406 Deprecate g_file_contains_file and add a macro that converts
1407 it to g_file_has_prefix.
1408 The reason for this change is that the contains_file() name seems to
1409 imply that this does more work than what it does, but its really only
1410 a name match (from #517086)
1415 Update to match the above change.
1417 2008-02-20 Benjamin Otte <otte@gnome.org>
1419 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1420 (g_file_eject_mountable):
1421 even more cases of not returning in error path
1423 2008-02-20 Benjamin Otte <otte@gnome.org>
1425 * gfile.c: (g_file_mount_mountable):
1426 return from function in error path.
1428 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1431 Remove trailing coma in GMountMountFlags struct
1433 2008-02-18 Alexander Larsson <alexl@redhat.com>
1437 * glocalfileoutputstream.c:
1438 Use g_unlink/g_rename instead of unlink/rename;
1439 do not pass raw filenames to g_set_error. (#517239)
1440 Patch from Yevgen Muntyan.
1442 2008-02-18 Alexander Larsson <alexl@redhat.com>
1445 * glocalfileoutputstream.c:
1446 Open files with O_BINARY on windows. (#517140)
1448 2008-02-14 Alexander Larsson <alexl@redhat.com>
1450 * glocalfileoutputstream.c:
1451 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1453 2008-02-14 Alexander Larsson <alexl@redhat.com>
1456 Copy permissions with file on copy (#514084)
1457 This is what cp does and makes sure e.g. the
1458 exec permissions are kept.
1459 Its kinda weird in that it keeps the permission bits
1460 the same while the uid and gid are different. However
1461 the new uid is the user so its not a security issue,
1462 and I've heard no complaints about cp on this issue.
1464 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1466 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1468 2008-02-13 Alexander Larsson <alexl@redhat.com>
1470 * inotify/inotify-path.c:
1471 Define IN_ONLYDIR if not in header (#515346)
1473 2008-02-12 Alexander Larsson <alexl@redhat.com>
1475 * tests/live-g-file.c:
1478 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1480 * === Released 2.15.5 ===
1482 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1484 * gio.symbols: Add g_mount_mount_flags_get_type.
1486 2008-02-11 Alexander Larsson <alexl@redhat.com>
1489 (g_file_info_set_attribute_mask):
1490 (g_file_attribute_matcher_matches_id):
1491 Correctly handle NULL GAttributeMatcher meaning
1492 matches nothing. (Fixes #513492)
1494 2008-02-11 Alexander Larsson <alexl@redhat.com>
1499 Added GMountMountFlags enum and added a flags
1500 argument to all mount calls.
1502 This is an API/ABI change for future extensibility,
1503 as I think we will need at least an
1504 inhibit-autorun flag (the panel needs this).
1505 There are no flags defined yet though.
1507 2008-02-11 Alexander Larsson <alexl@redhat.com>
1510 Added new standard::description attribute.
1511 Requested by Vincent, and useful for both
1514 2008-02-11 Alexander Larsson <alexl@redhat.com>
1516 * gdesktopappinfo.c:
1519 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1521 * *.c: Documentation additions
1523 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1525 * gappinfo.h: Formatting cleanup
1526 * gappinfo.c: Fix up docs.
1528 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1530 * gunixmounts.c: Consistently use getmntent_r() and fall
1531 back to getmntent(). (#515492)
1533 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1535 * gbufferedinputstream.c:
1537 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1539 * tests/data-input-stream.c:
1540 * tests/data-output-stream.c: Portability fixes.
1542 2008-02-08 Alexander Larsson <alexl@redhat.com>
1547 Add g_volume_should_automount.
1550 2008-02-07 Tor Lillqvist <tml@novell.com>
1552 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1553 Win32, too Unix-specific.
1555 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1557 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1558 a local plt if the compiler doesn't support what we want. Bug #514702
1560 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1562 reviewed by: <delete if not using a buddy>
1565 * gunixinputstream.c:
1566 * gunixoutputstream.c:
1568 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1570 * tests/Makefile.am:
1571 * tests/live-g-file.c:
1572 * tests/live-g-file.txt:
1573 New GIO testing module working over real data
1575 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1577 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1578 Fallback to rename() if link() is not available
1579 (when no support on target filesystem)
1581 2008-02-06 Michael Natterer <mitch@imendio.com>
1583 * gfileinfo.c (g_file_info_get_icon): replace
1584 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1586 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1588 * gfile.c (g_file_create):
1589 Documentation update of error codes
1591 2008-02-06 Alexander Larsson <alexl@redhat.com>
1593 * gdesktopappinfo.c:
1594 Update to use both mimeapps.list and
1595 defaults.list as discussed on xdg list.
1597 2008-02-06 Benjamin Otte <otte@gnome.org>
1600 * gfilenamecompleter.c:
1601 Fix some typos in the documentation.
1603 2008-02-06 Alexander Larsson <alexl@redhat.com>
1605 * glocalfile.c (g_local_file_trash):
1606 Don't succeed with trash if newly created
1607 trash dir has the wrong owner. (#514696)
1609 2008-02-05 Alexander Larsson <alexl@redhat.com>
1611 * glocalfile.c (g_local_file_move):
1612 Don't spew warnings when destination is not
1615 2008-02-03 Hans Breuer <hans@breuer.org>
1617 * makefile.msc : update
1619 2008-02-01 Michael Natterer <mitch@imendio.com>
1621 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1622 return value of xdg_mime_list_mime_parents() to a variable of the
1625 2008-02-01 Alexander Larsson <alexl@redhat.com>
1627 * gappinfo.c (g_app_info_launch_uris):
1628 Actually call the launch_uris method, not
1631 2008-02-01 Alexander Larsson <alexl@redhat.com>
1633 * gdesktopappinfo.c (g_desktop_app_info_equal):
1634 Ensure appinfos with no id but same pointer value
1637 2008-02-01 Alexander Larsson <alexl@redhat.com>
1639 * gappinfo.c (g_app_info_launch_default_for_uri):
1642 2008-02-01 Alexander Larsson <alexl@redhat.com>
1646 Add g_app_info_launch_default_for_uri utility
1649 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1651 * gdesktopappinfo.c:
1652 Doc fix for g_app_info_get_default_for_uri_scheme ()
1655 2008-01-30 Alexander Larsson <alexl@redhat.com>
1658 Add doc comment about uris vs GFiles to
1661 * gdesktopappinfo.c:
1662 Ensure uris passed to g_app_info_launch_uris()
1663 are not roundtriped through GFile (as that
1664 may be slightly destructive for e.g. mailto: links)
1666 2008-01-30 Alexander Larsson <alexl@redhat.com>
1668 * tests/data-input-stream.c:
1669 * tests/data-output-stream.c:
1670 C89 fixes from Jens Granseuer (#512849)
1672 2008-01-30 Alexander Larsson <alexl@redhat.com>
1675 Fix gamin/fam difference build issue. (#509419)
1677 2008-01-29 Alexander Larsson <alexl@redhat.com>
1680 * gdesktopappinfo.c:
1681 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1683 2008-01-29 Alexander Larsson <alexl@redhat.com>
1685 * gdesktopappinfo.c:
1686 * gdesktopappinfo.h:
1687 giomodule-priv.h include moved to .c file.
1689 2008-01-29 Alexander Larsson <alexl@redhat.com>
1691 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1692 Remove unused prio/name fields.
1694 2008-01-29 Alexander Larsson <alexl@redhat.com>
1696 * gcontenttype.c (looks_like_text):
1697 Don't treat whitespace as control chars.
1699 2008-01-29 Alexander Larsson <alexl@redhat.com>
1701 * gdesktopappinfo.c:
1702 Lazily create the desktop files for appinfos created
1703 by g_app_info_create_from_commandline() when needed
1704 for mime associations. This allows run-time use
1705 of GAppInfo object without creating unnecessary
1708 2008-01-29 Alexander Larsson <alexl@redhat.com>
1711 Added new symbols to gio.symbols
1713 2008-01-29 Alexander Larsson <alexl@redhat.com>
1716 Add g_file_query_default_handler utility to easily look up
1717 the GAppInfo that handles a file.
1719 * gdesktopappinfo.[ch]:
1721 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1724 Remove unused function
1726 2008-01-29 Alexander Larsson <alexl@redhat.com>
1728 * gfileenumerator.c:
1729 Mention need to free returned value in
1730 g_file_enumerator_next_files_finish docs.
1731 Fix leak if g_file_enumerator_next_files_finish()
1734 2008-01-29 Alexander Larsson <alexl@redhat.com>
1737 (_g_unix_content_type_get_parents):
1738 Use list_parents, not get_parents from xdgmime, because
1739 the later doesn't use the cache.
1741 * xdgmime/xdgmimecache.c:
1742 (_xdg_mime_cache_list_mime_parents):
1743 Don't list the same type as parent multiple times.
1745 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1747 * === Released 2.15.4 ===
1749 2008-01-28 Alexander Larsson <alexl@redhat.com>
1752 Register local vfs with prio 0.
1755 Remove old name and prio class members
1757 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1759 * tests/g-file.c: Disable some tests that are failing in
1760 the absence of a http backend.
1762 2008-01-28 Alexander Larsson <alexl@redhat.com>
1766 Add registration hooks for extension points.
1767 Register the gio extension points.
1769 * fam/gfamdirectorymonitor.c:
1770 * fam/gfamfilemonitor.c:
1771 * glocaldirectorymonitor.[ch]:
1772 * glocalfilemonitor.[ch]:
1773 * gnativevolumemonitor.h:
1774 * gunionvolumemonitor.c:
1775 * gunixvolumemonitor.c:
1778 * inotify/ginotifydirectorymonitor.c:
1779 * inotify/ginotifyfilemonitor.c:
1780 Use the extension points registration instead
1781 of g_type_children().
1783 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1786 * gvolume.[hc]: Document new API.
1788 * gfile.c (g_file_copy_async): Fix docs
1790 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1792 * gbufferedinputstream.c:
1794 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1797 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1799 * glocalfile.c: Avoid trivial differences in translatable strings.
1801 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1803 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1804 build with gcc 3.4 (#509419)
1806 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1808 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1809 (#509994, Murray Cumming)
1811 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1813 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1814 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1815 this allows big jobs to be executed in chunks, instead of blocking
1816 the main loop for a long time.
1818 * gsimpleasyncresult.c:
1819 * giofile.c: Adapt callers.
1821 2008-01-25 Alexander Larsson <alexl@redhat.com>
1823 * gdesktopappinfo.c:
1824 Implement changes discussed on xdg list.
1825 Now we can add supported mimetypes by just using defaults.list
1826 We can also remove associations in defaults.list.
1828 2008-01-25 Alexander Larsson <alexl@redhat.com>
1830 * gdesktopappinfo.c:
1831 Don't make local copy of desktop file
1832 for mimetype changes if the file already
1833 supports the new mimetype.
1835 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1839 * gbufferedinputstream.c:
1840 * glocalfile.c: String improvements. (#511966,
1841 Theppitak Karoonboonyanan)
1843 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1845 * gioscheduler.h: Expand docs a bit.
1847 2008-01-24 Alexander Larsson <alexl@redhat.com>
1850 Add g_drive_get_identifier and
1851 g_drive_enumerate_identifiers
1854 Add g_volume_get_identifier and
1855 g_volume_enumerate_identifiers
1861 Implement identifiers for unix backend
1863 2008-01-24 Alexander Larsson <alexl@redhat.com>
1868 Add g_file_copy_async() (#511580)
1869 Based on patch from Carlos Garcia Campos
1871 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1873 * gioscheduler.c: Some documentation additions.
1875 2008-01-22 Alexander Larsson <alexl@redhat.com>
1877 * gdesktopappinfo.c:
1878 (g_desktop_app_info_new):
1879 Don't leak basename.
1881 2008-01-22 Alexander Larsson <alexl@redhat.com>
1883 * gdesktopappinfo.c:
1884 (g_desktop_app_info_new_from_filename):
1887 2008-01-22 Alexander Larsson <alexl@redhat.com>
1889 * glocalfileinfo.c (get_thumbnail_attributes):
1892 2008-01-22 Alexander Larsson <alexl@redhat.com>
1895 (canonicalize_filename):
1896 Canonicalize paths that start with more than
1900 (compare_two_files):
1901 (test_g_file_new_for_path):
1904 2008-01-22 Alexander Larsson <alexl@redhat.com>
1907 Allow UTF-8 in file:// parse names.
1909 * tests/Makefile.am:
1910 * tests/data-input-stream.c:
1911 * tests/data-output-stream.c:
1912 * tests/g-file-info.c:
1914 Added a bunch of tests from Tomas Bzatek
1916 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1918 * === Released 2.15.3 ===
1920 2008-01-21 Alexander Larsson <alexl@redhat.com>
1922 * gfileinputstream.[ch]:
1923 * gfileoutputstream.[ch]:
1925 Remove duplicated GSeekable functions. (#509990)
1926 Just use the g_seekable_xxx() calls instead.
1928 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1931 * gvolumemanager.c: Whitespace cleanups.
1933 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1934 Use the right mode when creating the file.
1936 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1938 * gfileenumerator.c:
1939 * gfileinputstream.c:
1941 * goutputstream.c: Documentation: Fixed minor typos
1942 and added more mentions of specific _finish() functions.
1944 2008-01-21 Alexander Larsson <alexl@redhat.com>
1946 * inotify/Makefile.am:
1947 * inotify/inotify-helper.c:
1948 * inotify/inotify-kernel.c:
1949 * inotify/inotify-path.c:
1950 * inotify/local_inotify.h: Removed.
1951 * inotify/local_inotify_syscalls.h: Removed.
1952 Removed the included copies of the inotify
1953 headers. We now only use the <sys/inotify.h>
1954 header which exists on modern systems.
1955 This fixes problems on ARM and SH5 (#510448)
1956 but is also generally much cleaner and future
1957 safe. For instance, if other OSes add support
1958 for inotify it should "just work".
1960 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1962 * inotify/*.c: Coding style fixes.
1963 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1964 for the 1/4 Hz timer.
1966 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1969 * gfilemonitor.[hc]:
1970 * gmemoryinputstream.c:
1971 * gmemoryoutputstream.c:
1972 * gmountoperation.c:
1973 * gthemedicon.c: Documentation updates
1975 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1977 * gfile.c: documentation: Fixed more minor
1980 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1982 * gmount.c: (g_mount_remount): documentation:
1983 Mention g_mount_remount_finish() instead of
1984 g_mount_unmount_finish().
1986 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1990 * gfile.c: Fixed some minor typos in the
1993 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1995 * gio/gvolumemonitor.c:
1996 (g_volume_monitor_get_connected_drives):
1997 (g_volume_monitor_get_volumes):
1998 (g_volume_monitor_get_mounts): Documentation:
1999 Clarify the ownership of the regurn GLists.
2001 2008-01-17 Alexander Larsson <alexl@redhat.com>
2004 Add the async find_enclosing_mount version
2005 to the header file too.
2007 2008-01-17 Alexander Larsson <alexl@redhat.com>
2010 Add async version of find_enclosing_mount
2011 with default implementation.
2013 2008-01-17 Alexander Larsson <alexl@redhat.com>
2018 Allow calls to implementation of copy and write
2019 even if the type of the file implementations is
2020 different. This can be used to implement native
2021 upload and download calls in a vfs.
2024 (g_local_file_move):
2025 Protect against the case where move is called
2026 with one file not being local.
2028 Make sure we call the progress callback once
2029 in the native move operation so that the caller
2030 knows how many bytes were copied.
2032 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2035 * gdatainputstream.c:
2037 * gfileoutputstream.c:
2042 * gunixmounts.c: Corrected some typos in the documentation:
2043 occured -> occurred.
2044 its -> it's (where appropriate).
2046 2008-01-16 Alexander Larsson <alexl@redhat.com>
2050 Add g_file_query_exists (#508771)
2052 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2057 * gvolume.c: For async functions that have no non-async
2058 version, document that the GAsyncReadyCallback may be NULL.
2061 2008-01-15 Alexander Larsson <alexl@redhat.com>
2063 * gmemoryinputstream.c:
2064 * gmemoryoutputstream.c:
2065 Don't do pointer arithmetic on void * (#508602)
2066 Patch from Kazuki IWAMOTO
2068 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2070 * === Released 2.15.2 ===
2072 2008-01-14 Alexander Larsson <alexl@redhat.com>
2074 * gfile.c (g_file_monitor_file):
2075 Don't set error here, since we fallback to polling monitor.
2077 2008-01-14 Alexander Larsson <alexl@redhat.com>
2080 (g_file_monitor_directory):
2081 (g_file_monitor_file):
2082 Add GError to file monitor calls
2084 * glocaldirectorymonitor.c:
2085 * glocaldirectorymonitor.h:
2087 * glocalfilemonitor.c:
2088 * glocalfilemonitor.h:
2090 Update for above change
2092 2008-01-14 Alexander Larsson <alexl@redhat.com>
2096 Handle root correctly in g_file_get_relative_path (#508719)
2098 2008-01-14 Alexander Larsson <alexl@redhat.com>
2101 Clean up docs and example for GAsyncResult (#508074)
2103 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2105 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2106 and correct some spelling mistakes. Bug #508108.
2108 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2110 * glocalfileinfo.c: Add a comment.
2112 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2114 * gfileinfo.c: GFileInfo description: Mention
2115 how to actually set attributes in a GFile and how to discover
2116 which attributes are settable. Bug #508378.
2118 2008-01-10 A. Walton <awalton@svn.gnome.org>
2120 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2121 (g_app_info_get_default_for_type):
2122 Check for NULL content types.
2124 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2126 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2128 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2130 * gfile.c: *_async() functions: Several small corrections
2131 to the documentation, mostly correcting copy/paste errors
2132 and improving some sentences.
2134 2008-01-09 Dan Winship <danw@gnome.org>
2136 * glocalfile.c (get_unique_filename): x86_64 fix
2138 2008-01-09 Alexander Larsson <alexl@redhat.com>
2143 Add g_unix_mount_guess_should_display and use
2144 for unix volume monitor backend.
2145 This means we more or less show what the
2146 gnome-vfs backend did.
2147 Based on patch from Padraig O'Briain
2149 2008-01-09 Alexander Larsson <alexl@redhat.com>
2153 Add g_themed_icon_new_with_default_fallbacks
2156 Use default fallbacks for icons
2158 2008-01-09 Alexander Larsson <alexl@redhat.com>
2161 * gmountoperation.[ch]:
2162 Change the API a bit so that unhandled methods
2163 get reported via the reply, rather than by
2164 the signal emission return value. This is because
2165 some handlers can't know this immediately without
2166 doing I/O, and this is an async operation that
2169 2008-01-09 Alexander Larsson <alexl@redhat.com>
2172 * fam/gfamdirectorymonitor.c:
2173 * fam/gfamfilemonitor.c:
2174 Fix double free crash (#508224)
2175 Patch from Joe Marcus Clarke
2177 008-01-07 Matthias Clasen <mclasen@redhat.com>
2179 * === Released 2.15.1 ===
2181 2008-01-07 Alexander Larsson <alexl@redhat.com>
2183 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2184 Fix warning (#507835)
2186 2008-01-07 Alexander Larsson <alexl@redhat.com>
2189 Pass --internal to glib-genmarshal
2192 * gmountoperation.c:
2194 Use better types for signal arguments (#507822)
2196 2008-01-07 Alexander Larsson <alexl@redhat.com>
2199 Build test subdir after .
2200 Remove gdirectorymonitor.[ch]
2202 * gdirectorymonitor.[ch]:
2206 Remove GDirectoryMonitor and make
2207 GFileMonitor the baseclass for both file and
2208 directory monitors. Lift the more generic
2209 rate limiting code from GDirectoryMonitor
2213 * fam/gfamdirectorymonitor.[ch]:
2214 * inotify/ginotifydirectorymonitor.[ch]:
2215 * inotify/inotify-helper.c:
2216 * glocaldirectorymonitor.[ch]:
2219 Update for the removed GDirectoryMonitor.
2221 * gmemoryoutputstream.c:
2222 Remove ununsed variable
2224 2008-01-07 Alexander Larsson <alexl@redhat.com>
2226 * gmemoryinputstream.c:
2227 Translate error strings
2230 * gmemoryoutputstream.[ch]:
2231 New implementation that avoids using GByteArray
2232 in implementation and API. (#506377)
2234 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2236 * tests/*: Add a test for memory input streams.
2238 * Makefile.am: Add tests to SUBDIRS.
2240 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2242 * glocalfilemonitor.c:
2243 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2246 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2248 * gdesktopappinfo.c: Fix a docs typo.
2250 * gfileattribute.c: Add information about extended attributes
2251 to the documentation. (#505058)
2253 2008-01-04 Alexander Larsson <alexl@redhat.com>
2256 * gmountoperation.c:
2257 Use the right type (uint) for the ask_password signal.
2259 2008-01-04 Alexander Larsson <alexl@redhat.com>
2264 Add g_app_info_supports_files()
2265 Remove desktop arg from g_app_info_should_show().
2267 * gdesktopappinfo.[ch]:
2268 Implement g_app_info_supports_files() and new should_show()
2269 Add g_desktop_app_info_set_desktop_env() to set the desktop
2270 for should_show(). (This will be set by gtk+ later)
2272 2008-01-04 Alexander Larsson <alexl@redhat.com>
2275 * gmemoryinputstream.[ch]:
2276 Improve API so that you can use multiple chunks
2277 of memory and custom destroy functions. (#506374)
2279 2008-01-03 Alexander Larsson <alexl@redhat.com>
2282 Handle NULL attribute matchers safely, as we return this
2283 for empty attribute matcher strings.
2285 2008-01-03 Alexander Larsson <alexl@redhat.com>
2287 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2288 Add /usr/local to list of internal mountpoints
2290 2008-01-03 Alexander Larsson <alexl@redhat.com>
2293 Check for HAVE_LCHOWN (#505887)
2295 2008-01-03 Alexander Larsson <alexl@redhat.com>
2299 Add define for selinux context attribute.
2300 Fix missing : -> :: namespace separator change
2301 Fix missing _ -> - name change for xattr-sys.
2304 2008-01-03 Alexander Larsson <alexl@redhat.com>
2307 Link to libglib and libgobject directly (#504879)
2308 Patch from Sebastien Bacher
2310 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2312 * gfile.c: Expanded the g_file_new_for_commandline_arg
2313 description a bit, based on the code and the docs of the
2314 other g_file_new_for_* functions.
2316 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2318 * gfilemonitor.h: Fixed typo in docs.
2320 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2322 Updates to GIO documentation. (#506395, Mikael Hermansson)
2324 * gcontenttype.c: Describe memory management for return value of
2325 g_content_types_get_registered(). Missing piece from #505815.
2326 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2327 GVolume, GDrive, GMounts, which hopefully gives the user less
2328 confusions when using this API. Following explainations from
2329 Alexander Larsson on gtk-devel-list.
2331 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2333 * gfileinfo.c: Expand the long description.
2335 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2338 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2339 fix builds with --disable-visibility. (#500273, Christian Persch)
2341 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2343 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2344 in the list of returned app infos.
2346 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2348 * gappinfo.c: Fix a cross-reference
2350 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2352 * gfileinputstream.c:
2353 * gfileoutputstream.c:
2357 * gdesktopappinfo.c:
2359 * gfileinfo.c: Documentation updates.
2361 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2363 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2366 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2368 * gcontenttype.c (g_content_types_get_registered): Don't return
2369 freed memory (#505815, Mikael Hermansson)
2371 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2373 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2374 used to detect statbuf->st_blocks. (#505042)
2376 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2378 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2379 environment handling. (#504829, Cosimo Cecchi)
2381 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2383 * gappinfo.c: Doc improvements
2385 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2388 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2390 * === Released 2.15.0 ===
2392 2007-12-20 Hans Breuer <hans@breuer.org>
2394 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2395 with symbols gwin32appinfo.obj, added gmount.obj
2396 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2398 2007-12-20 Alexander Larsson <alexl@redhat.com>
2404 * gfilenamecompleter.c:
2407 * gpollfilemonitor.c:
2408 File attribute renames:
2410 fs:: -> filesystem::
2411 id::fs -> id::filesystem
2413 2007-12-20 Alexander Larsson <alexl@redhat.com>
2422 Add GMountUnmountFlags to all unmount and
2424 Add g_mount_remount() call.
2426 2007-12-20 Alexander Larsson <alexl@redhat.com>
2428 * gvfs.c (get_default_vfs):
2429 Fix unused variable warning
2431 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2433 * pltcheck.sh: Update
2435 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2437 * gunionvolumemonitor.c:
2438 * gunixmount.c: Remove C99 comments
2440 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2442 * gio.symbols: Add some missing symbols
2444 2007-12-19 Alexander Larsson <alexl@redhat.com>
2447 Make g_io_modules_load_all_in_directory not unuse
2448 loaded modules so that users of it can do stuff
2450 Init internal "module" types.
2451 Initialize static prio and name for types so that
2452 we don't have to load modules to get it.
2454 * gnativevolumemonitor.h:
2456 Move is_supported to parent class so that
2457 non-native monitors can avoid being initialized
2458 too. (For instance GDaemonVolumeMonitor if we're
2459 not using GDaemonVfs.)
2461 * glocaldirectorymonitor.[ch]:
2462 * glocalfilemonitor.[ch]:
2463 * gunionvolumemonitor.c:
2464 * gunixvolumemonitor.c:
2466 Find plugins using the static prio+name to
2467 avoid unnecessarily loading the modules.
2469 2007-12-19 Alexander Larsson <alexl@redhat.com>
2474 2007-12-19 Alexander Larsson <alexl@redhat.com>
2476 * gunionvolumemonitor.c:
2477 Store the native type as GType, not class so that
2478 we can unload it. But still avoid unnecessarily
2481 2007-12-19 David Zeuthen <davidz@redhat.com>
2483 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2484 add signals 'disconnected' and 'eject-button' on GDrive. Add
2485 signal 'removed' on GVolume and 'unmounted' on GMount.
2487 * gdrive.c: (g_drive_base_init):
2489 * gfile.c: (g_file_mount_mountable),
2490 (g_file_mount_enclosing_volume):
2493 * gmount.c: (g_mount_base_init):
2495 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2496 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2497 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2501 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2503 * *.c: Fix up includes in the section docs.
2505 2007-12-17 Alexander Larsson <alexl@redhat.com>
2507 * gnativevolumemonitor.h:
2508 * gunionvolumemonitor.c:
2509 * gunixvolumemonitor.c:
2510 Add is_supported() to GNativeVolumeMonitorClass so
2511 that we can avoid having to create an object to see
2512 if the backend is supported at runtime.
2513 Also add name member and an env var to pick a specific
2514 volume monitor backend.
2518 Add cancellable to _g_mount_get_for_mount_path()
2520 * glocaldirectorymonitor.c:
2521 * glocalfilemonitor.c:
2522 Avoid loading and unloading modules while sorting.
2524 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2527 * gunixmounts.[hc]: Namespace waste reduction, move some
2528 g_get_unix_mount functions to the g_unix_mount namespace.
2531 * gunixvolumemonitor.c:
2533 * glocaldirectorymonitor.c: Update all callers.
2535 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2537 2007-12-17 Alexander Larsson <alexl@redhat.com>
2540 Add doc comments about what GFile operations are
2541 guaranteed to not block.
2543 2007-12-17 Alexander Larsson <alexl@redhat.com>
2546 Add missing #ifdef fixing OSX build.
2547 (#503334, patch from Richard Hult)
2549 2007-12-14 David Zeuthen <davidz@redhat.com>
2553 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2554 (g_mount_eject), (g_mount_eject_finish):
2556 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2557 (get_volume_for_uuid), (get_mount_for_uuid),
2558 (g_union_volume_monitor_class_init),
2559 (get_default_native_type_with_exclude), (get_default_native_type),
2560 (get_native_type), (update_native_type),
2561 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2562 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2563 (g_unix_mount_can_eject), (eject_unmount_cb),
2564 (eject_unmount_read_error), (eject_unmount_do),
2565 (g_unix_mount_unmount), (g_unix_mount_eject),
2566 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2567 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2568 (g_unix_mount_point_guess_can_eject):
2570 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2571 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2572 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2573 (g_unix_volume_mount), (g_unix_volume_eject),
2574 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2575 * gunixvolumemonitor.c: (get_volume_for_uuid),
2576 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2578 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2579 (g_volume_eject), (g_volume_eject_finish):
2581 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2582 (g_volume_monitor_get_mount_for_uuid):
2585 Provide eject() on both GMount and GVolume and utility functions
2586 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2587 ejected. Introduce the concept of UUID's and wire it into GVolume
2588 and GMount and provide API on GVolumeMonitor to find such
2589 instances. Also handle the case where an external
2590 GNativeVolumeMonitor fails to initialize. Lock around the
2591 _g_get_mount_for_mount_path() function such that volume monitor
2592 implementations won't have to do locking themselves.
2594 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2596 * gdesktopappinfo.c:
2602 * gvolume.h: Documentation updates
2604 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2607 * gfile.h: Doc updates
2609 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2612 * gdesktopappinfo.c: Use hash table iterators.
2614 2007-12-14 Alexander Larsson <alexl@redhat.com>
2617 * gfileattribute.[ch]:
2618 * gfileattribute-priv.h:
2619 Move GFileAttributeValue to a private header, as
2623 Make set_attribute take a type + a pointer instead
2624 of a GFileAttributeValue.
2627 Fix up for above changes.
2628 Add g_file_info_get_attribute_data to get
2629 all info in one call, g_file_info_get_attribute_status
2630 to get the status and g_file_info_get_attribute_as_string.
2634 * glocalfileinfo.[ch]:
2638 Make _guess_type static.
2640 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2643 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2644 made mkenums and friends use temporary files to avoid leaving
2645 empty generated files on failure (#503470).
2647 2007-12-14 Alexander Larsson <alexl@redhat.com>
2649 * gmountoperation.h:
2652 2007-12-14 Alexander Larsson <alexl@redhat.com>
2656 * gfileattribute.[ch]:
2659 * glocalfileoutputstream.c:
2660 * gmountoperation.[ch]:
2661 * goutputstream.[ch]:
2662 Clean up all flags enums to not have _FLAGS in them
2663 Make the names of some of the enums better.
2668 2007-12-14 Michael Natterer <mitch@imendio.com>
2670 * gio.symbols: fix g_io_scheduler symbol names.
2672 2007-12-14 Alexander Larsson <alexl@redhat.com>
2678 * gbufferedinputstream.h:
2679 * gbufferedoutputstream.h:
2682 * gdatainputstream.h:
2683 * gdataoutputstream.h:
2684 * gdesktopappinfo.h:
2685 * gdirectorymonitor.h:
2689 * gfileenumerator.h:
2692 * gfileinputstream.h:
2694 * gfilenamecompleter.h:
2695 * gfileoutputstream.h:
2696 * gfilterinputstream.h:
2697 * gfilteroutputstream.h:
2705 * gmemoryinputstream.h:
2706 * gmemoryoutputstream.h:
2708 * gmountoperation.h:
2711 * gsimpleasyncresult.h:
2713 * gunixinputstream.h:
2715 * gunixoutputstream.h:
2719 * inotify/Makefile.am:
2720 Only allow including <gio/gio.h> from apps
2722 2007-12-14 Alexander Larsson <alexl@redhat.com>
2724 * gioscheduler.[ch]:
2725 * gsimpleasyncresult.c:
2726 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2727 Split out the send_to_mainloop call into two versions instead
2728 of having the block argument.
2730 2007-12-13 Alexander Larsson <alexl@redhat.com>
2732 * gcancellable.[ch]:
2734 * gbufferedinputstream.c:
2735 * gfileenumerator.c:
2736 * gfileinputstream.c:
2737 * gfileoutputstream.c:
2741 g_push/pop_current_cancellable ->
2742 g_cancellable_push/pop_current
2744 2007-12-13 Alexander Larsson <alexl@redhat.com>
2748 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2750 2007-12-13 Alexander Larsson <alexl@redhat.com>
2752 * gmountoperation.h:
2753 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2755 2007-12-12 Alexander Larsson <alexl@redhat.com>
2758 Fix race condition when freeing proxy in
2759 g_io_job_send_to_mainloop().
2761 2007-12-12 Alexander Larsson <alexl@redhat.com>
2767 Make attribute namespace separator "::" instead of ":".
2768 Use - instead of _ as separator in attribute names.
2770 2007-12-12 Alexander Larsson <alexl@redhat.com>
2772 * gbufferedinputstream.h:
2773 * gbufferedoutputstream.h:
2774 * gdatainputstream.h:
2775 * gdataoutputstream.h:
2776 * gdirectorymonitor.h:
2777 * gfileenumerator.h:
2778 * gfileinputstream.h:
2780 * gfileoutputstream.h:
2781 * gfilterinputstream.h:
2782 * gfilteroutputstream.h:
2784 * glocalfileinputstream.h:
2785 * glocalfileoutputstream.h:
2786 * gmemoryinputstream.h:
2787 * gmemoryoutputstream.h:
2788 * gnativevolumemonitor.h:
2790 * gunixinputstream.h:
2791 * gunixoutputstream.h:
2794 s/parent/parent_instance/ in GObjects
2796 2007-12-12 Alexander Larsson <alexl@redhat.com>
2801 No need for padding for interfaces
2803 2007-12-12 Alexander Larsson <alexl@redhat.com>
2807 * gbufferedinputstream.c:
2808 * gbufferedoutputstream.c:
2811 * gdatainputstream.[ch]:
2812 * gdesktopappinfo.c:
2813 * gdirectorymonitor.c:
2815 * gfileattribute.[ch]:
2818 * gfileinputstream.h:
2819 * gfilemonitor.[ch]:
2820 * gfileoutputstream.[ch]:
2821 * gfilterinputstream.h:
2822 * gfilteroutputstream.h:
2825 * gloadableicon.[ch]:
2826 * gmemoryinputstream.c:
2827 * gmountoperation.c:
2829 Fix up a bunch of details in the docs.
2834 2007-12-11 David Zeuthen <davidz@redhat.com>
2836 Rework how volumes, drives and volume monitoring is
2837 done. Previosly the model was
2839 GDrive <1-1> GVolume
2841 where a GDrive instance represented a mount point and a GVolume
2842 instance represented a mounted file system. This patch changes it
2845 GDrive <1-N> GVolume <1-1> GMount
2847 where GMount now serves the purpose of the old GVolume and the new
2848 GVolume serves the purpose of the old GDrive. In addition the new
2849 GDrive interface is used to represent a collection of GVolume
2850 instances (typically partitions) and also contains utility to query
2851 the state of the physical drive the GDrive object represents (such
2852 as checking for media, polling the drive, ejecting the media etc.).
2854 Also implement mounting and unmounting in the Unix volume monitor
2855 backend. A subquent patch will introduce GDrive support for ejection
2859 * gdrive.c: (g_drive_is_media_check_automatic),
2860 (g_drive_is_media_removable), (g_drive_has_media),
2861 (g_drive_can_poll_for_media), (g_drive_eject),
2862 (g_drive_eject_finish), (g_drive_poll_for_media),
2863 (g_drive_poll_for_media_finish):
2865 * gfile.c: (g_file_find_enclosing_mount):
2868 * glocaldirectorymonitor.c:
2869 (g_local_directory_monitor_constructor), (mounts_changed):
2870 * glocalfile.c: (get_mount_info),
2871 (g_local_file_find_enclosing_mount),
2872 (g_local_file_file_iface_init):
2873 * gnativevolumemonitor.h:
2874 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2875 (get_connected_drives), (g_union_volume_monitor_class_init),
2876 (child_volume_added), (child_volume_removed),
2877 (child_volume_changed), (child_mount_added), (child_mount_removed),
2878 (child_mount_pre_unmount), (child_mount_changed),
2879 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2880 (g_union_volume_monitor_remove_monitor),
2881 (_g_mount_get_for_mount_path):
2882 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2883 (guess_system_internal), (_g_get_unix_mounts),
2884 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2885 (g_unix_mount_free), (g_unix_mount_compare),
2886 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2887 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2888 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2889 (type_to_icon), (g_unix_mount_guess_name),
2890 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2891 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2892 (_resolve_symlink), (_resolve_dev_root):
2894 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2895 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2896 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2897 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2898 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2899 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2900 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2901 (g_unix_volume_volume_iface_init):
2903 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2904 (get_mounts), (get_volumes), (get_connected_drives),
2905 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2906 (mountpoints_changed), (mounts_changed),
2907 (g_unix_volume_monitor_init),
2908 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2909 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2910 * gunixvolumemonitor.h:
2911 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2912 (g_volume_mount), (g_volume_mount_finish):
2914 * gvolumemonitor.c: (g_volume_monitor_class_init),
2915 (g_volume_monitor_get_connected_drives),
2916 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2919 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2921 * gmountoperation.h (GPasswordFlags): Close the gap
2923 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2925 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2927 * gdesktopappinfo.[hc]: Remove _-prefixes
2929 2007-12-10 Tor Lillqvist <tml@novell.com>
2931 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2934 2007-12-10 Alexander Larsson <alexl@redhat.com>
2936 * gfile.c (g_file_set_display_name):
2937 Don't hardcode '/' (#502727)
2939 2007-12-09 Hans Breuer <hans@breuer.org>
2941 * makefile.msc : follow lib naming convention
2942 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2943 for user and group name, tested with ../tests/gio-ls
2945 2007-12-09 A. Walton <awalton@svn.gnome.org>
2947 * gdesktopappinfo.c:
2953 * gfileenumerator.c:
2958 * gmemoryinputstream.c:
2959 * gmemoryoutputstream.c:
2961 * gsimpleasyncresult.c:
2962 More documentation cleanup and filling in missing information, bringing
2963 GIO to 99% symbol coverage.
2965 2007-12-08 Hans Breuer <hans@breuer.org>
2967 [gio compiles and links on win32, not sure how much already works]
2968 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2969 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2970 base on win32 API; prefer g_lstat() over lstat(); instead of
2971 localtime_r() use an all GLib implementation on win32;
2972 get_mount_info() still needs a win32 specifc implementation
2973 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2974 win32_get_file_user_info to get owner/group info without uid/gid
2975 * glocalfileinputstream.c : include <io.h> on win32
2976 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2977 definition, use g_win32_ftruncate() for G_OS_WIN32
2978 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2979 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2980 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2981 * makefile.msc : updated
2983 2007-12-07 Alexander Larsson <alexl@redhat.com>
2985 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2986 Avoid warning spew if error == NULL
2988 2007-12-07 Alexander Larsson <alexl@redhat.com>
2991 Update docs wrt etags
2993 2007-12-06 Alexander Larsson <alexl@redhat.com>
2996 Include sys/types.h for dev_t (#501919)
2998 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3002 Make abicheck and pltcheck pass.
3004 2007-12-05 Alexander Larsson <alexl@redhat.com>
3007 * giomodule-priv.h: Added.
3008 * glocaldirectorymonitor.c:
3009 * glocalfilemonitor.c:
3010 * gunionvolumemonitor.c:
3012 Actually add the declaration of _g_io_modules_ensure_loaded
3014 2007-12-05 Alexander Larsson <alexl@redhat.com>
3016 * gdatainputstream.c:
3021 * glocaldirectorymonitor.c:
3022 * glocalfilemonitor.c:
3023 * gunionvolumemonitor.c:
3025 Make g_io_modules_ensure_loaded a private function and
3026 don't pass in the dirname. This means we can do magic
3027 directory finding in the win32 version.
3028 Export the actual load-modules-in-directory code so that
3029 gvfs can reuse that.
3031 2007-12-05 Alexander Larsson <alexl@redhat.com>
3033 * gbufferedinputstream.c:
3034 * gbufferedoutputstream.c:
3037 * gfileenumerator.[ch]:
3038 * gfileinputstream.c:
3039 * gfileoutputstream.[ch]:
3040 * gfilterinputstream.c:
3041 * gfilteroutputstream.c:
3042 * ginputstream.[ch]:
3044 * glocalfileenumerator.c:
3045 * glocalfileinputstream.c:
3046 * glocalfileoutputstream.c:
3047 * gmemoryinputstream.c:
3048 * gmemoryoutputstream.c:
3049 * goutputstream.[ch]:
3052 * gunixinputstream.c:
3053 * gunixoutputstream.c:
3054 Rename all struct members named:
3055 read, write, close, truncate, or mount
3056 to foo_fn, as these are reserved names
3057 and could be defined as macros in libc.
3060 2007-12-04 Alexander Larsson <alexl@redhat.com>
3063 (g_output_stream_close):
3064 Only call flush if non-null.
3066 2007-11-30 Dan Winship <danw@gnome.org>
3068 * ginputstream.c (g_input_stream_set_pending): Make this take a
3069 GError and return a gboolean, and do the "outstanding operation"
3070 check (and the "stream is already closed" check) itself.
3071 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3073 * goutputstream.c (g_output_stream_set_pending)
3074 (g_output_stream_clear_pending): Likewise
3076 * gbufferedinputstream.c:
3077 * gfileinputstream.c:
3078 * gfileoutputstream.c: Update for that
3080 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3081 Like g_simple_async_report_error_in_idle, but takes a GError
3082 rather than building one.
3084 2007-11-30 Dan Winship <danw@gnome.org>
3086 * goutputstream.c: Don't cheat and unset the "pending" flag around
3087 inner calls. Instead, call the class method directly rather than
3088 the wrapper function that checks "pending"
3090 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3092 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3094 2007-12-03 Hans Breuer <hans@breuer.org>
3096 [start of port to win32/msvc]
3097 * gcancellable.c : HAVE_UNIST_H and _pipe()
3098 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3099 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3100 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3102 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3103 * glocalvfs.c : use HAVE_PWD_H
3104 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3105 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3106 * Makefile.am : added to EXTRA_DIST
3108 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3110 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3113 2007-12-03 Alexander Larsson <alexl@redhat.com>
3116 Handle OSX style xattrs API (#500506)
3118 2007-12-03 Alexander Larsson <alexl@redhat.com>
3122 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3124 2007-12-02 A. Walton <awalton@svn.gnome.org>
3128 Documentation accuracy fixes.
3130 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3132 * gioenumtypes.c.template: Fix typo.
3134 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3136 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3138 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3140 * gdirectorymonitor.c:
3141 * gfilemonitor.c: Add properties
3143 * gbufferedoutputstream.c: Don't mark buffer-size property
3146 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3148 * gbufferedoutputstream.c: Add auto-grow property.
3150 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3152 * *.c: Unify the capitalization of section headings.
3154 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3156 * gmountoperation.c: Add properties
3158 * gdatainputstream.c: Turn byte-order and newline-type into
3161 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3163 * gioenumtypes.[hc].template: Templates for enum registration
3165 * Makefile.am: Generate gioenumtypes.[hc]
3167 * gio.h: Include gioenumtypes.h
3169 * gfile.h: Add some explicit nicks.
3171 * gio.symbols: Add new symbols
3173 * pltcheck.sh: Adjust
3175 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3177 * *.c: Explain etags and link to the explanation
3179 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3181 * *.c: Explain I/O priority.
3183 * *.c: More coding style fixes.
3185 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3187 * gasyncresult.c: Add another paragraph to the intro,
3188 adjust coding style of example.
3190 2007-11-29 A. Walton <awalton@svn.gnome.org>
3193 Fixes unknown meaning in GAppLaunchContext docs.
3195 Clarify asynchronous ops.
3197 Fix entity tag docs.
3200 Provides missing gtk-doc section, fixes API docs slighly.
3201 * gsimpleasyncresult.c:
3202 Fill in missing info in docs.
3203 * gunixinputstream.c:
3204 * gunixoutputstream.c:
3205 Be more expressive in short description.
3207 Remove gtk-doc stubs for non-public API.
3209 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3211 * *.c: Coding style fixups
3213 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3215 * inotify/inotify-helper.c: Don't export the lock from libgio.
3217 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3220 * abicheck.sh: Fix copy-and-paste leftovers
3222 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3224 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3226 2007-11-28 Alexander Larsson <alexl@redhat.com>
3230 Removed unnecessary file
3232 * gdesktopappinfo.[ch]:
3235 * glocaldirectorymonitor.[ch]:
3237 * glocalfileenumerator.[ch]:
3238 * glocalfileinputstream.[ch]:
3239 * glocalfilemonitor.[ch]:
3240 * glocalfileoutputstream.[ch]:
3242 * gnativevolumemonitor.c:
3243 * gpollfilemonitor.[ch]:
3244 * gunionvolumemonitor.[ch]:
3247 * gunixvolumemonitor.[ch]:
3250 * inotify/ginotifydirectorymonitor.[ch]:
3251 * inotify/ginotifyfilemonitor.[ch]:
3252 * inotify/inotify-helper.c:
3253 Append _ to all internal functions
3257 Export symbols needed for modules
3259 2007-11-28 Alexander Larsson <alexl@redhat.com>
3262 * abicheck.sh: Added.
3263 * makegioalias.pl: Added.
3264 * pltcheck.sh: Added.
3265 * gio.symbols: Added.
3268 Initial work on adding symbol handling.
3271 Correct ifdef guard name
3274 * inotify/Makefile.am:
3275 * xdgmime/Makefile.am:
3276 Include toplevel Makefile.decl
3278 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3280 * gcontenttype.c: Move doc comments to the unix section.
3282 * *.[hc]: More trivial doc corrections.
3284 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3286 * gpollfilemonitor.c:
3290 * gdesktopappinfo.c:
3295 * gdatainputstream.c:
3296 * gdatainputstream.h:
3297 * gdataoutputstream.c:
3298 * gdataoutputstream.h:
3299 * gfileinfo.h: Doc cleanups
3301 2007-11-28 Andre Klapper <a9016009@gmx.de>
3303 * gdesktopappinfo.c: Fix a typo.
3305 2007-11-27 Andre Klapper <a9016009@gmx.de>
3307 * glocalfileoutputstream.c: Fix a typo.
3309 2007-11-27 Alexander Larsson <alexl@redhat.com>
3312 Don't include removed headers
3314 2007-11-27 Alexander Larsson <alexl@redhat.com>
3317 * gsocketinputstream.[ch]: Removed.
3318 * gsocketoutputstream.[ch]: Removed.
3319 * gunixinputstream.[ch]: Added.
3320 * gunixoutputstream.[ch]: Added.
3321 Renamed GSocket*Stream to GUnix*Stream and made
3322 it unix-only, since its not really only for sockets
3323 and it only works on unix (but is highly useful there).
3325 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3331 * gbufferedinputstream.c:
3332 * gbufferedinputstream.h:
3333 * gbufferedoutputstream.c:
3334 * gbufferedoutputstream.h:
3338 * gdatainputstream.c:
3339 * gdatainputstream.h:
3340 * gdataoutputstream.c:
3341 * gdataoutputstream.h:
3342 * gdirectorymonitor.c:
3343 * gdirectorymonitor.h:
3350 * gfileenumerator.c:
3351 * gfileenumerator.h:
3356 * gfileinputstream.c:
3357 * gfileinputstream.h:
3360 * gfilenamecompleter.c:
3361 * gfilenamecompleter.h:
3362 * gfileoutputstream.c:
3363 * gfileoutputstream.h:
3364 * gfilterinputstream.c:
3365 * gfilterinputstream.h:
3366 * gfilteroutputstream.c:
3367 * gfilteroutputstream.h:
3380 * glocalfileoutputstream.c:
3381 * gmemoryinputstream.c:
3382 * gmemoryinputstream.h:
3383 * gmemoryoutputstream.c:
3384 * gmemoryoutputstream.h:
3385 * gmountoperation.c:
3386 * gmountoperation.h:
3389 * gpollfilemonitor.c:
3392 * gsimpleasyncresult.c:
3393 * gsimpleasyncresult.h:
3394 * gsocketinputstream.c:
3395 * gsocketinputstream.h:
3396 * gsocketoutputstream.c:
3397 * gsocketoutputstream.h:
3404 * gunixvolumemonitor.c:
3413 Bumps documentation to 93% symbol coverage, touching most
3414 of the public files. Fixes broken function documentation prototypes.
3415 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3416 gtk-doc headers in private files.
3418 2007-11-27 Jürg Billeter <j@bitron.ch>
3420 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3421 (g_buffered_input_stream_read_byte):
3422 * gbufferedinputstream.h:
3423 New functions for efficient access to buffer and simple single byte
3426 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3427 (g_data_input_stream_read_until):
3428 * gdatainputstream.h:
3429 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3430 read_until with multiple stop chars.
3432 2007-11-27 Alexander Larsson <alexl@redhat.com>
3436 * inotify/Makefile.am:
3437 Use the user-specified giomoduledir
3439 2007-11-27 Alexander Larsson <alexl@redhat.com>
3443 Add catch-all gio.h header
3444 Don't install gdummyfile.h
3446 2007-11-26 Alexander Larsson <alexl@redhat.com>
3448 * Makefile.am (gioinclude_HEADERS):
3449 Remove trailing whitespace
3451 2007-11-26 Alexander Larsson <alexl@redhat.com>
3453 Merge gio-standalone into glib
3455 2007-11-25 Christian Kellner <gicmo@gnome.org>
3457 * gio/goutputstream.c:
3458 Fix small mistake in the docs.
3460 2007-11-21 Christian Persch <chpe@gnome.org>
3462 * gio/glocalfile.c: (g_local_file_trash):
3463 Convert filenames to UTF-8 for GError.
3464 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3465 as per xdg base dir spec.
3467 2007-11-21 Christian Persch <chpe@gnome.org>
3469 * gio/gdesktopappinfo.c:
3470 Use that g_key_file_to_data cannot fail.
3472 Use stock defines for the key file group and key names.
3475 2007-11-21 Alexander Larsson <alexl@redhat.com>
3478 (copy_stream_with_progress):
3479 Make sure we do a final progress callback with
3480 the full total size.
3482 2007-11-21 Alexander Larsson <alexl@redhat.com>
3485 Export g_file_copy_attributes
3486 Remove padding as its not needed for interfaces
3488 2007-11-20 Alexander Larsson <alexl@redhat.com>
3493 Add G_IO_ERROR_WOULD_MERGE for
3494 copy/move dir on dir with overwrite.
3496 2007-11-20 Alexander Larsson <alexl@redhat.com>
3499 * gio/glocalfileinfo.c:
3500 Add COPY_NAME (this is an optional
3501 non-modified utf8 version of the name) that
3504 2007-11-20 Alexander Larsson <alexl@redhat.com>
3506 * gio/glocalfileenumerator.c:
3507 Report errors as GIOError, not GFileError
3509 2007-11-16 Alexander Larsson <alexl@redhat.com>
3511 * gio/glocalfileoutputstream.c:
3512 * gio/gwin32appinfo.c:
3513 Fix typos in strings.
3514 Patch from Luca Ferretti <elle.uca@libero.it>
3516 2007-11-15 Alexander Larsson <alexl@redhat.com>
3519 Post release version bump
3521 === gio-standalone 0.1.2 ===
3523 2007-11-15 Alexander Larsson <alexl@redhat.com>
3525 * docs/reference/gio/Makefile.am:
3526 Fix up distcheck by removing weird
3532 2007-11-14 Alexander Larsson <alexl@redhat.com>
3534 * gio/gdesktopappinfo.c:
3535 * gio/glocaldirectorymonitor.c:
3537 * gio/glocalfileinfo.c:
3538 * gio/inotify/inotify-sub.c:
3539 * programs/gio-cat.c:
3540 * programs/gio-copy.c:
3541 * programs/gio-info.c:
3542 * programs/gio-ls.c:
3543 * programs/gio-monitor-dir.c:
3544 * programs/gio-monitor-file.c:
3545 * programs/gio-mount.c:
3546 * programs/gio-move.c:
3547 * programs/gio-rm.c:
3548 * programs/gio-save.c:
3549 * programs/gio-trash.c:
3550 Leak fixes from Kjartan Maraas
3552 2007-11-14 Alexander Larsson <alexl@redhat.com>
3554 * gio/fam/fam-helper.c:
3556 * gio/glocalfileinfo.c:
3560 * gio/inotify/inotify-diag.c:
3561 * gio/inotify/inotify-kernel.c:
3562 Various code cleanups from Kjartan Maraas
3564 2007-11-14 Alexander Larsson <alexl@redhat.com>
3566 * gio/gioscheduler.c:
3568 Set up threadpool so that we cache 2 unused
3569 idle threads for at 15 secs. This means we
3570 will reuse thread-local data (like dbus connections)
3573 2007-11-14 Alexander Larsson <alexl@redhat.com>
3575 * gio/fam/fam-helper.c:
3576 * gio/fam/gfamdirectorymonitor.c:
3577 * gio/fam/gfamfilemonitor.c:
3579 * gio/gcontenttype.c:
3580 * gio/gdatainputstream.c:
3581 * gio/gdataoutputstream.c:
3585 * gio/gfileattribute.h:
3586 * gio/gfileenumerator.c:
3588 * gio/ginputstream.c:
3591 * gio/glocalfileinfo.c:
3592 * gio/goutputstream.c:
3593 * gio/gpollfilemonitor.c:
3594 * gio/gsimpleasyncresult.c:
3595 * gio/gunixmounts.c:
3596 * gio/gunixmounts.h:
3597 * gio/inotify/ginotifydirectorymonitor.c:
3598 * gio/inotify/ginotifyfilemonitor.c:
3599 * gio/inotify/inotify-diag.c:
3600 * gio/inotify/inotify-kernel.c:
3601 * gio/inotify/inotify-path.c:
3603 * gio/test-streams.c:
3604 * programs/gio-info.c:
3605 * programs/gio-monitor-dir.c:
3606 * programs/gio-monitor-file.c:
3607 Various code cleanups from Kjartan Maraas
3609 2007-11-13 Alexander Larsson <alexl@redhat.com>
3612 Handle the uri-scheme calls for dummy files
3614 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3616 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3617 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3618 to avoid clash with the C++ keyword.
3620 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3622 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3623 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3625 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3627 * gio/glocaldirectorymonitor.c:
3628 * gio/glocalfilemonitor.c:
3629 * gio/gunionvolumemonitor.c:
3630 Don't use g_once_init_*() for initializations that could fail and
3631 could leave the initialization variable set to 0 but use GOnce.
3632 This prevents a deadlock on the second call when trying to create
3633 a monitor and no monitor type is available. Thanks to Sven Herzberg
3636 2007-11-11 Sven Herzberg <sven@imendio.com>
3638 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3639 #ifdef (make it work on MacOS X again)
3641 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3643 Fixes Changelog for last two commits (sorry guys).
3645 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3647 * gio/gbufferedinputstream.c:
3648 * gio/gdatainputstream.c:
3650 * gio/gfileoutputstream.c:
3651 * gio/gfilterinputstream.c:
3652 * gio/glocalfileinputstream.c:
3655 More consistency fixes in g*stream.c files.
3656 Significant clean of gfile's documentation, filling in of
3657 asynchronous operations documentation.
3659 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3661 * gio/gasyncresult.c:
3662 * gio/gbufferedinputstream.c:
3663 * gio/gbufferedoutputstream.c:
3664 * gio/gcancellable.c:
3665 * gio/gcontenttype.c:
3666 * gio/gdatainputstream.c:
3667 * gio/gdataoutputstream.c:
3668 * gio/gdesktopappinfo.c:
3671 * gio/gfileattribute.c:
3672 * gio/gio/gfileenumerator.c:
3674 * gio/gfileinputstream.c:
3675 * gio/gfilemonitor.c:
3676 * gio/gfileoutputstream.c:
3677 * gio/ginputstream.c:
3679 * gio/gioscheduler.c:
3680 * gio/gloadableicon.c:
3681 * gio/glocalfileoutputstream.c:
3682 * gio/gmemoryoutputstream.c:
3683 * gio/gmountoperation.c:
3684 * gio/goutputstream.c:
3686 * gio/gsimpleasyncresult.c:
3687 * gio/gunionvolumemonitor.c:
3688 * gio/gunixmounts.c:
3689 * gio/gunixvolume.c:
3693 * gio/gvolumemonitor.c:
3694 Updated documentation stubs, working towards consistency and
3697 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gio/gmemoryoutputstream.c:
3700 * gio/gmemoryoutputstream.h:
3701 Change g_memory_output_stream_set_free_on_close() to
3702 g_memory_output_stream_set_free_data() as this makes more sense and
3703 is more consistent with GMemoryInputStream.
3705 2007-11-07 Alexander Larsson <alexl@redhat.com>
3712 Change how we find the default vfs so that
3713 we can handle a gvfs failing to init
3715 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3717 * gio/gbufferedoutputstream.c:
3718 * gio/gdatainputstream.c:
3719 * gio/gdataoutputstream.c:
3720 * gio/gfileinputstream.c:
3721 * gio/gfileoutputstream.c:
3722 * gio/gfilterinputstream.c:
3723 * gio/gfilteroutputstream.c:
3724 * gio/ginputstream.c:
3725 * gio/gmemoryinputstream.c:
3726 * gio/gmemoryoutputstream.c:
3727 * gio/goutputstream.c:
3728 * gio/gsimpleasyncresult.c:
3729 * gio/gsocketinputstream.c:
3730 * gio/gsocketoutputstream.c:
3731 Add guards to the remaining public functions, add a TODO for
3732 an unimplemented function and remove some useless guards.
3734 2007-11-07 Alexander Larsson <alexl@redhat.com>
3737 Autoconf checks for the various types of
3738 getpwuid_r and getgrgid_r
3740 * gio/glocalfileinfo.c:
3741 Use the autoconf checks from above
3743 2007-11-07 Alexander Larsson <alexl@redhat.com>
3746 (g_local_file_query_filesystem_info):
3747 Some fixes for the statvfs case
3749 2007-11-07 Alexander Larsson <alexl@redhat.com>
3752 (g_local_file_query_filesystem_info):
3753 Pick the "best" of statfs / statvfs for the system
3754 if both are availible.
3756 2007-11-07 Alexander Larsson <alexl@redhat.com>
3758 Solaris fixes from Halton.Huo@Sun.COM:
3765 * gio/glocalfileinfo.c:
3766 Fix for solaris definition of getpwuid_r
3768 * gio/test-streams.c:
3769 Use G_GNUC_PRETTY_FUNCTION
3771 2007-11-07 Alexander Larsson <alexl@redhat.com>
3773 * gio/gdesktopappinfo.c:
3774 (update_default_list):
3775 Remove double semicolon.
3776 Patch from Jens Granseuer
3778 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3780 * docs/reference/gio/gio-sections.txt:
3781 * gio/gbufferedinputstream.c:
3782 * gio/gbufferedinputstream.h:
3783 * gio/gdatainputstream.c:
3784 * gio/gfileenumerator.c:
3785 * gio/gioscheduler.c:
3786 * gio/gunionvolumemonitor.c:
3788 * programs/gio-save.c:
3789 Fix typo: availible -> available. Unfortuntely this breaks API
3790 and ABI as g_buffered_input_stream_get_available() was renamed.
3792 * gio/gunixmounts.c:
3793 * gio/gbufferedinputstream.c:
3794 Add guards for public functions.
3796 2007-11-06 Ross Burton <ross@openedhand.com>
3798 * docs/reference/gio/Makefile.am:
3799 Fix invalid += usage which automake 1.10 doesn't like.
3801 2007-11-06 Alexander Larsson <alexl@redhat.com>
3804 (g_app_launch_context_class_init):
3807 Patch from Ross Burton
3809 2007-11-06 Alexander Larsson <alexl@redhat.com>
3812 Post release version bump
3814 === gio-standalone 0.1.1 ===
3816 2007-11-06 Alexander Larsson <alexl@redhat.com>
3819 Bump version to 0.1.1
3821 * gio/gsimpleasyncresult.c:
3822 (g_simple_async_result_set_from_error):
3823 Remove bogus g_return_if_fail
3825 2007-11-06 Alexander Larsson <alexl@redhat.com>
3828 The name is gio-standalone
3831 Add top src/builddir to includedir
3833 2007-11-06 Alexander Larsson <alexl@redhat.com>
3835 * docs/reference/gio/gio-sections.txt:
3837 * gio/gbufferedinputstream.c:
3838 * gio/gbufferedoutputstream.c:
3839 * gio/gcancellable.c:
3840 * gio/gdatainputstream.h:
3841 * gio/gdataoutputstream.c:
3842 * gio/gdataoutputstream.h:
3843 * gio/gdirectorymonitor.c:
3845 * gio/gfileattribute.c:
3846 * gio/gfileattribute.h:
3847 * gio/gfileenumerator.c:
3848 * gio/gfileenumerator.h:
3851 * gio/gfileinputstream.h:
3852 * gio/gfilemonitor.c:
3853 * gio/gfileoutputstream.h:
3854 * gio/glocalfilemonitor.h:
3855 * gio/glocalfileoutputstream.h:
3856 * gio/gmemoryinputstream.c:
3857 * gio/gmemoryoutputstream.c:
3858 * gio/gmountoperation.c:
3859 * gio/goutputstream.c:
3860 * gio/goutputstream.h:
3862 * gio/gsimpleasyncresult.c:
3863 * gio/gunixmounts.c:
3864 * gio/gunixmounts.h:
3866 * gio/inotify/inotify-helper.c:
3867 Fix gtk-doc warnings
3869 Patch from Ross Burton
3871 2007-11-06 Alexander Larsson <alexl@redhat.com>
3873 * gio/gfilenamecompleter.c:
3874 (g_filename_completer_get_completions):
3877 * gio/gunixvolume.c:
3878 Remove unused function
3880 Patches from Ross Burton
3882 2007-11-06 Alexander Larsson <alexl@redhat.com>
3887 Padding not needed for interfaces
3889 2007-11-06 Alexander Larsson <alexl@redhat.com>
3891 * gio/gfilemonitor.c:
3895 Make giotypes.h an internal file
3898 * gio/gbufferedinputstream.h:
3899 * gio/gbufferedoutputstream.h:
3900 * gio/gcancellable.h:
3901 * gio/gdatainputstream.h:
3902 * gio/gdataoutputstream.h:
3903 * gio/gdirectorymonitor.c:
3904 * gio/gdirectorymonitor.h:
3909 * gio/gfileattribute.h:
3910 * gio/gfileenumerator.h:
3915 * gio/gfilemonitor.c:
3916 * gio/gfilemonitor.h:
3917 * gio/gfilenamecompleter.c:
3918 * gio/gfilenamecompleter.h:
3919 * gio/gfilterinputstream.h:
3920 * gio/gfilteroutputstream.h:
3921 * gio/ginputstream.h:
3922 * gio/gmemoryinputstream.h:
3923 * gio/gmemoryoutputstream.h:
3924 * gio/gmountoperation.c:
3925 * gio/gmountoperation.h:
3926 * gio/gnativevolumemonitor.c:
3927 * gio/goutputstream.h:
3930 * gio/gsimpleasyncresult.c:
3931 * gio/gsimpleasyncresult.h:
3932 * gio/gsocketinputstream.h:
3933 * gio/gsocketoutputstream.h:
3934 * gio/gthemedicon.c:
3935 * gio/gthemedicon.h:
3939 * gio/gvolumemonitor.c:
3940 * gio/gvolumemonitor.h:
3941 Add padding in classes where it seems useful
3942 Don't include giotypes.h from public headers
3943 Move in Class definitions into c file where possible
3948 2007-11-06 Alexander Larsson <alexl@redhat.com>
3950 * docs/reference/gio/gio-docs.xml:
3951 Better structure for API docs
3953 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3956 * gio/gloadableicon.c:
3957 * gio/gsimpleasyncresult.c:
3958 * gio/gthemedicon.c:
3959 Add some more guards to public functions. Only files missing are now
3962 2007-11-06 Alexander Larsson <alexl@redhat.com>
3964 * docs/reference/gio/gio-docs.xml:
3965 Remove old files, add missing ones
3967 2007-11-06 Alexander Larsson <alexl@redhat.com>
3969 * docs/reference/gio/gio-sections.txt:
3972 Hide implementation classes
3974 * gio/gdriveprivate.h:
3975 * gio/gvolumeprivate.h:
3976 Remove non-existing function declarations
3978 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3981 Fix compilation warnings and add guards to the new functions.
3983 * gio/gasyncresult.c:
3985 Add guards to the public functions.
3988 Implement get_path().
3990 2007-11-06 Alexander Larsson <alexl@redhat.com>
3992 * gio/gfilenamecompleter.c:
3993 Make g_filename_completer_get_completions
3994 return char ** instead of GList for
3997 * docs/reference/gio/gio-docs.xml:
3998 * docs/reference/gio/gio-sections.txt:
4000 * gio/gasyncresult.c:
4001 * gio/gbufferedinputstream.c:
4002 * gio/gbufferedoutputstream.c:
4003 * gio/gcancellable.c:
4004 * gio/gcontenttype.c:
4005 * gio/gdatainputstream.c:
4006 * gio/gdataoutputstream.c:
4007 * gio/gdesktopappinfo.c:
4008 * gio/gdirectorymonitor.c:
4012 * gio/gfileattribute.c:
4013 * gio/gfileenumerator.c:
4016 * gio/gfileinputstream.c:
4017 * gio/gfilemonitor.c:
4018 * gio/gfilenamecompleter.c:
4019 * gio/gfilenamecompleter.h:
4020 * gio/gfileoutputstream.c:
4021 * gio/gfilterinputstream.c:
4023 * gio/ginputstream.c:
4025 * gio/gioscheduler.c:
4026 * gio/gloadableicon.c:
4027 * gio/glocaldirectorymonitor.c:
4029 * gio/glocalfileinputstream.c:
4030 * gio/glocalfilemonitor.c:
4031 * gio/glocalfileoutputstream.c:
4033 * gio/gmemoryinputstream.c:
4034 * gio/gmemoryoutputstream.c:
4035 * gio/gmountoperation.c:
4036 * gio/goutputstream.c:
4037 * gio/gpollfilemonitor.c:
4039 * gio/gsimpleasyncresult.c:
4040 * gio/gsocketinputstream.c:
4041 * gio/gsocketoutputstream.c:
4042 * gio/gthemedicon.c:
4043 * gio/gunionvolumemonitor.c:
4045 * gio/gunixmounts.c:
4046 * gio/gunixvolume.c:
4047 * gio/gunixvolumemonitor.c:
4051 * gio/gvolumemonitor.c:
4052 * gio/gwin32appinfo.c:
4053 Add (mostly stub) doc strings to public functions.
4054 Patch from Andrew Walton (awalton@gmail.com)
4056 2007-11-06 Alexander Larsson <alexl@redhat.com>
4058 * gio/gappinfo.[ch]:
4059 Added GAppLaunchContext object and pass that to launch.
4060 This allows simple implementation of both
4061 launch-on-screen and startup notification via a gtk+
4062 subclass of GAppLaunchContext
4064 * gio/gdesktopappinfo.c:
4065 Implement GAppLaunchContext API
4067 * gio/gwin32appinfo.c:
4070 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4072 * gio/gmountoperation.c:
4073 Add some guards to GMountOperation's public functions.
4075 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4079 * gio/gcancellable.c:
4080 * gio/gdirectorymonitor.c:
4082 * gio/gfileenumerator.c:
4083 * gio/gfilemonitor.c:,
4084 * gio/gfilenamecompleter.c:
4087 * gio/gioscheduler.c:
4091 * gio/gvolumemonitor.c:
4092 Add even more guards to various public functions.
4094 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4097 Add guards to the public functions of GAppInfo.
4099 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4101 * gio/gcontenttype.c:
4102 Add some more guards for public functions.
4104 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4106 * gio/fam/fam-module.c:
4107 * gio/fam/gfamdirectorymonitor.c:
4108 * gio/fam/gfamdirectorymonitor.h:
4109 * gio/fam/gfamfilemonitor.c:
4110 * gio/fam/gfamfilemonitor.h:
4111 * gio/inotify/ginotifydirectorymonitor.c:
4112 * gio/inotify/ginotifydirectorymonitor.h:
4113 * gio/inotify/ginotifyfilemonitor.c:
4114 * gio/inotify/ginotifyfilemonitor.h:
4115 Add proper copyright information and remove an unused variable
4116 in the GInotifyFileMonitor constructor.
4118 * gio/gcancellable.c:
4119 Add a guard for a public function and an assertion to prevent
4120 an undefined program state.
4122 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4124 * gio/gfileattribute.c:
4125 Don't run into an assertion if the given attribute value is NULL
4126 in g_file_attribute_value_get_*() but instead return a fallback
4127 value that makes sense in most situations. Passing them a attribute
4128 value with the wrong type will still run into an assertion.
4130 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4132 * gio/gfileattribute.c:
4134 Add even more guards to the public functions. Also fix the refcounting
4135 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4136 let g_file_info_list_attributes() filter the attributes by namespace
4137 instead of simply ignoring the namespace parameter.
4139 2007-11-03 Sven Herzberg <sven@imendio.com>
4141 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4142 (This makes gio work on MacOS X again)
4144 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4147 Build the gio subdirectory before the docs. Otherwise the build will
4150 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4151 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4152 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4153 Add guards to the public functions.
4155 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4157 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4158 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4159 to prevent a compiler warning.
4161 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4162 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4163 return something in the non-void function find_topdir_for().
4165 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4172 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4174 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4175 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4176 * gwin32appinfo.c (g_win32_app_info_launch):
4177 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4178 envp_for_startup_id, g_desktop_app_info_launch,
4179 g_desktop_app_info_launch_uris):
4181 Give an opaque 'startup_id' string instead of 'envp'.
4182 Support empty file lists for launching new windows.
4183 Fix infinite recursion bug when launching URIs.
4185 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4188 Add guard to the new g_file_get_uri_scheme() function.
4190 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4193 Convert a g_return_val_if_fail() to setting the GError instead as
4194 otherwise applications have to verify the parameter before otherwise
4195 and the parameter might come directly from the user.
4197 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4199 * gio/inotify/ginotify*.[ch]:
4200 Add missing copyright information.
4202 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4205 Add guards in the beginning of public functions to check for valid
4206 parameters and fix a bug in copy_stream_with_progress() that could've
4207 caused writing less bytes than reading.
4208 * gio/glocalfileinfo.c:
4209 Check for a NULL parameter and set the GError accordingly then.
4210 * gio/goutputstream.c:
4211 Fix the same bug as in gfile.c that could've caused writing less bytes
4212 than reading in g_output_stream_real_splice().
4214 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4217 Use the correct gvolumeprivate.h naming
4219 2007-11-01 Christian Kellner <gicmo@gnome.org>
4222 Remove leftover "$(daemon_sources)" entry.
4224 2007-11-01 Christian Kellner <gicmo@gnome.org>
4229 Add copyright information to source files.
4231 2007-11-01 Alexander Larsson <alexl@redhat.com>
4235 Add g_file_get_uri_scheme
4237 2007-11-01 Alexander Larsson <alexl@redhat.com>
4240 * gio/gdesktopappinfo.c:
4241 * gio/gwin32appinfo.c:
4242 Add g_app_info_get_default_for_uri_scheme.
4244 2007-11-01 Alexander Larsson <alexl@redhat.com>
4247 Correct filename for gdriveprivate.h
4249 2007-10-31 Alexander Larsson <alexl@redhat.com>
4252 Rename id:value to id:file
4255 * gio/glocalfileinfo.c:
4258 2007-10-31 Alexander Larsson <alexl@redhat.com>
4260 * gio/gunixvolume.c:
4262 Remove g_volume_get_platform_id, as thats not
4263 needed with the simpler union volume monitor
4265 2007-10-31 Alexander Larsson <alexl@redhat.com>
4268 * gio/guniondrive.[ch]: Removed.
4269 * gio/gunionvolume.[ch]: Removed.
4270 Remove GUnionDrive/Volume
4272 * gio/gunionvolumemonitor.c:
4273 Simplify union volume monitor, now we
4274 only have one native volume monitor and
4275 we use the actual volumes/drives from the
4276 child monitors instead of wrapping them
4278 * gio/gnativevolumemonitor.[ch]:
4279 Base class for native volume monitors.
4280 Includes priority and get_volume_for_mountpoint
4283 Add g_file_find_enclosing_volume
4286 Remove volume name fs attribute
4287 Add readonly fs attribute
4290 Implement readonly attribute
4291 remove volume name attribute
4292 Implement find_enclosing volume
4294 * gio/gunixmounts.c:
4295 Add a volume for "/".
4297 * gio/gunixvolume.[ch]:
4298 Set better name for /
4300 * gio/gunixvolumemonitor.[ch]:
4301 Derive from GNativeVolumeMonitor
4302 Implement get_volume_for_mountpoint
4305 GVolume typedef moved to gfile.h
4307 * gio/gvolumeprivate.h:
4308 Add g_volume_get_for_mount_path
4310 2007-10-31 Alexander Larsson <alexl@redhat.com>
4312 * gio/gunixmounts.[ch]:
4313 Add cache info to unix mount listers
4314 Make getmntent use threadsafe
4315 Add is_system_internal attribute for GUnixMount
4317 * gio/gunixvolume.c:
4318 (g_unix_volume_new):
4319 Use is_system_internal instead of own code
4321 * gio/glocaldirectorymonitor.c:
4322 * gio/gunixvolumemonitor.c:
4323 Update to new gunixmounts API
4328 2007-10-30 Alexander Larsson <alexl@redhat.com>
4331 Add volume name fsinfo attribute
4334 Read volume name info
4336 * gio/gunionvolumemonitor.c:
4337 Fix infinite loops when finalizing a union volume monitor
4339 2007-10-30 Alexander Larsson <alexl@redhat.com>
4341 * gio/goutputstream.[ch]:
4342 Add splice() with default implementation
4344 * gio/gsocketoutputstream.c:
4345 (g_socket_output_stream_write):
4346 Return error on cancellation correctly.
4348 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4350 * gio/glocalfile.c (g_local_file_trash):
4351 Do not leak a string.
4353 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4355 * gio/gfile.c (g_file_load_contents):
4356 Unref the stream after closing it.
4358 2007-10-25 Alexander Larsson <alexl@redhat.com>
4360 * gio/gioscheduler.h:
4363 2007-10-25 Alexander Larsson <alexl@redhat.com>
4367 Add g_file_has_uri_scheme and implement for local files
4369 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4371 * gio/gdesktopappinfo.c: do not leak a string.
4373 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4375 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4376 (g_local_directory_monitor_new):
4377 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4378 (g_local_file_monitor_new):
4379 Only look for the monitor type that should be used the first time
4380 and use g_qsort_with_data() instead of our own bubble sort
4383 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4386 * gio/fam/Makefile.am:
4387 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4388 * gio/fam/fam-helper.h:
4389 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4390 * gio/fam/gfamdirectorymonitor.c:
4391 * gio/fam/gfamdirectorymonitor.h:
4392 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4393 * gio/fam/gfamfilemonitor.h:
4394 * gio/glocaldirectorymonitor.c:
4395 * gio/glocaldirectorymonitor.h:
4396 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4397 * gio/glocalfilemonitor.h:
4398 * gio/inotify/Makefile.am:
4399 * gio/inotify/ginotifydirectorymonitor.c:
4400 * gio/inotify/ginotifydirectorymonitor.h:
4401 * gio/inotify/ginotifyfilemonitor.c:
4402 * gio/inotify/ginotifyfilemonitor.h:
4403 Implement the FAM and Inotify monitors as
4404 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4405 their own GIO module. GLocal(Directory|File)Monitor will use the
4406 monitor with the highest rank that is supported on that machine.
4408 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4411 Change GIO module dir to $(libdir)/gio/modules and change
4412 the log domain from GVFS to GIO. Also only export symbols starting
4413 with g_ in the resulting library.
4414 * gio/test-streams.c: (main):
4415 Set log handler for the GIO log domain.
4417 2007-10-22 Alexander Larsson <alexl@redhat.com>
4419 * gio/gfilenamecompleter.[ch]:
4420 Add g_filename_completer_set_dirs_only
4422 2007-10-22 Alexander Larsson <alexl@redhat.com>
4425 * gio/gurifuncs.[ch]:
4426 Add some simple URI helpers
4428 * gio/gfilenamecompleter.[ch]:
4429 Added object for filename (parse name actually) completion
4432 Handle ~ in parse names
4434 2007-10-17 Alexander Larsson <alexl@redhat.com>
4437 * gio/glocalfileinfo.c:
4438 Add and implement id:value attribute
4440 2007-10-17 Alexander Larsson <alexl@redhat.com>
4443 * gio/guniondrive.c:
4445 Add and implement g_drive_has_volumes
4447 2007-10-17 Alexander Larsson <alexl@redhat.com>
4450 * gio/glocalfileinfo.[ch]:
4451 Add unix:is_mountpoint and implement for local files
4453 2007-10-16 Alexander Larsson <alexl@redhat.com>
4455 * gio/gunionvolumemonitor.c:
4456 (g_union_volume_monitor_init):
4457 Fix up the unix type getting so that it works with gcc
4459 2007-10-12 Alexander Larsson <alexl@redhat.com>
4462 * gio/glocalfileinfo.c:
4463 Add thumbnail:failed to file info
4465 2007-10-12 Richard Hult <richard@imendio.com>
4467 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4468 optimizing away the get_type call (happens with some gcc versions,
4469 like the one shipped with OS X 10.4).
4471 2007-10-12 Alexander Larsson <alexl@redhat.com>
4473 * gio/glocalfileinfo.c:
4474 (_g_local_file_info_set_attribute):
4475 Fix build if not HAVE_XATTR
4476 Patch from Milosz Derezynski <internalerror@gmail.com>
4478 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4480 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4481 around for review, otherwise I would have asked you before
4484 2007-10-11 Alexander Larsson <alexl@redhat.com>
4487 Add thumbnail:path attribute
4489 * gio/glocalfileinfo.c:
4490 Implement thumbnail:path for local files
4492 2007-10-11 Alexander Larsson <alexl@redhat.com>
4494 * gio/glocalfileinfo.c:
4495 (_g_local_file_info_get):
4496 Avoid duplicate icon names
4498 2007-10-11 Alexander Larsson <alexl@redhat.com>
4500 * gio/gthemedicon.[ch]:
4501 Change g_themed_icon_get_names return type to const
4503 2007-10-10 Alexander Larsson <alexl@redhat.com>
4505 * gio/glocalfileinfo.c:
4506 Don't reference freed memory
4508 2007-10-10 Alexander Larsson <alexl@redhat.com>
4510 * gio/gfileattribute.c:
4513 * gio/glocalfileinfo.c:
4516 2007-10-10 Alexander Larsson <alexl@redhat.com>
4519 Check for NULL icons
4521 * gio/gfileattribute.c:
4522 Don't dup when getting objects (same as for string attributes)
4524 * gio/gicon.c (g_icon_equal):
4525 Safely handle NULLs in equal
4527 2007-10-10 Alexander Larsson <alexl@redhat.com>
4530 Fix c++ compilation issues
4531 Patch from Milosz Derezynski <internalerror@gmail.com>
4533 2007-10-10 Alexander Larsson <alexl@redhat.com>
4535 * programs/gio-monitor-dir.c:
4536 Don't crash if dir monitor not supported.
4538 2007-10-09 Alexander Larsson <alexl@redhat.com>
4541 Add missing G_END_DECLS
4543 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4545 * gio/gfile.c: (g_file_set_display_name),
4546 (g_file_query_settable_attributes),
4547 (g_file_query_writable_namespaces):
4548 Return NULL not FALSE on errors as the return type is a pointer.
4550 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4552 * gio/glocalfile.c: (g_local_file_monitor_file):
4553 Don't call monitor_file on the default interface vtable (which
4554 is NULL) but simply return NULL. The caller, GFile, will create a
4555 polling monitor if NULL is returned.
4557 2007-10-09 Alexander Larsson <alexl@redhat.com>
4561 * gio-unix-2.0.pc.in:
4562 Add gio-unix-2.0.pc if OS_UNIX
4565 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4567 2007-10-09 Alexander Larsson <alexl@redhat.com>
4569 * gio/gunixmounts.[ch]:
4570 Make unix mount monitoring API sane.
4571 Now its just a object with mounts_changed
4572 and mountpoints_changed signals.
4574 * gio/glocaldirectorymonitor.c:
4575 * gio/gunixvolumemonitor.c:
4576 Use new mount monitor api
4578 2007-10-09 Alexander Larsson <alexl@redhat.com>
4580 * gio/gunixmounts.[ch]:
4581 Move guess type into one call for mounts and one for mountpoints
4584 * gio/gunixvolume.c:
4587 2007-10-09 Alexander Larsson <alexl@redhat.com>
4589 * gio/gunixmounts.[ch]:
4590 Remove _ prefix in preparation to make this semi-public
4591 Hide implementation of structs
4593 * gio/glocaldirectorymonitor.c:
4595 * gio/gunixvolume.c:
4596 * gio/gunixvolumemonitor.c:
4597 Update for above API changes
4599 2007-10-08 Alexander Larsson <alexl@redhat.com>
4602 Better polling fallback. This also handles the case where we have
4603 a monitor_file implementation, but it fails.
4605 2007-10-08 Alexander Larsson <alexl@redhat.com>
4609 * gio/gunixmounts.c:
4610 * programs/gio-monitor-dir.c:
4611 * programs/gio-monitor-file.c:
4612 Added cancellable to file monitoring calls.
4613 These are really sync calls and need this.
4615 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4617 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4618 (g_local_vfs_class_init):
4619 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4620 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4622 2007-10-05 Alexander Larsson <alexl@redhat.com>
4624 * gio/gdirectorymonitorprivate.h:
4625 * gio/gfilemonitorprivate.h:
4626 * gio/gdirectorymonitor.h:
4627 * gio/gfilemonitor.h:
4628 Remove *private.h and move to the public API, so that
4629 we can do implementations outside gio (such as in gvfs)
4631 * gio/gdirectorymonitor.c:
4632 * gio/gfilemonitor.c:
4633 * gio/glocaldirectorymonitor.c:
4634 * gio/gpollfilemonitor.c:
4635 * gio/inotify/inotify-helper.c:
4636 * gio/fam/fam-helper.c:
4637 Update to the new header names
4639 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4641 * gio/gdirectorymonitor.c:
4642 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4645 2007-10-04 Alexander Larsson <alexl@redhat.com>
4647 * gio/glocalfileinfo.c (get_access_rights):
4648 Set CAN_TRASH when we can move the file.
4649 We should really also check for a parent trash dir.
4651 2007-10-04 Alexander Larsson <alexl@redhat.com>
4653 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4654 Add can_trash access attribute
4656 2007-10-04 Alexander Larsson <alexl@redhat.com>
4659 (g_local_file_trash):
4660 Create info file first. This is per-spec and allows
4661 us to actually trash directories.
4663 2007-10-02 Alexander Larsson <alexl@redhat.com>
4665 * gio/gdesktopappinfo.c:
4666 Implement the new mime support code.
4667 Always set app as handling mimetype when being set as default for it
4669 2007-10-01 Alexander Larsson <alexl@redhat.com>
4671 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4672 Fix up check for xattrs:
4674 2007-10-01 Alexander Larsson <alexl@redhat.com>
4677 (g_app_info_set_as_default_for_extension):
4678 (g_app_info_add_supports_type):
4679 (g_app_info_can_remove_supports_type):
4680 (g_app_info_remove_supports_type):
4681 Make these fail nicely if not implemented
4683 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4685 * gio/glocalfileoutputstream.c:
4686 * gio/glocalfileoutputstream.h:
4691 * programs/gio-save.c:
4692 Add a GFileCreateFlags argument to operations that can create
4695 2007-10-01 Alexander Larsson <alexl@redhat.com>
4697 * gio/gappinfo.[ch]:
4698 * gio/gdesktopappinfo.c:
4699 Add more (stubbed out) mime API needed for nautilus
4701 2007-10-01 Alexander Larsson <alexl@redhat.com>
4704 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4705 Add g_app_info_set_as_default_for_extension.
4707 * gio/gdesktopappinfo.c:
4708 Dummy for g_app_info_set_as_default_for_extension
4709 Support flags in g_app_info_create_from_commandline
4711 * gio/gwin32appinfo.c:
4713 Update for API changes
4715 * gio/gthemedicon.c:
4716 Properly NULL-terminate list of icon names
4718 2007-09-28 Alexander Larsson <alexl@redhat.com>
4720 * gio/gloadableicon.h:
4721 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4723 2007-09-28 Alexander Larsson <alexl@redhat.com>
4726 Install headers in $includedir/gio-standalone/
4728 * gio-2.0.pc.in: Added.
4729 * gio-standalone.pc.in: Removed.
4732 Renamed pkg-config file to match glib (for future move)
4733 Update to the new include dir
4736 Add more TODO comments
4738 2007-09-28 Alexander Larsson <alexl@redhat.com>
4740 * gio/gdesktopappinfo.[ch]:
4741 Expose new_from_filename
4742 Add getter for is_hidden and handle it better
4744 2007-09-28 Alexander Larsson <alexl@redhat.com>
4746 * gio/gfileinfo.[ch]:
4747 Rename g_file_size_format_for_display to
4748 g_format_file_size_for_display.
4749 Now it doesn't have the g_file prefix, so we
4750 can later move it to glib.
4752 2007-09-28 Alexander Larsson <alexl@redhat.com>
4754 * gio/gappinfo.[ch]:
4755 Add g_app_info_get_id and g_app_info_get_executable.
4756 Make all getters non-reffing
4757 Make g_app_info_launch take GFile arguments.
4758 Add must_support_uris argument to g_app_info_get_default_for_type.
4760 * gio/gwin32appinfo.c:
4761 Update to GAppInfo api changes
4763 * gio/gdesktopappinfo.c:
4764 Update to GAppInfo api changes
4765 Implement supports_xdg_startup_notify
4767 * gio/gfileicon.c (g_file_icon_get_file):
4768 Make getter non-reffing.
4773 2007-09-27 Alexander Larsson <alexl@redhat.com>
4775 * gio/gfileinfo.[ch]:
4776 Add g_file_size_format_for_display helper
4778 2007-09-27 Alexander Larsson <alexl@redhat.com>
4780 * gio/glocalfileinfo.c:
4781 Set UNIX_GID from gid, not from uid
4783 2007-09-27 Alexander Larsson <alexl@redhat.com>
4786 Add g_file_set_attributes_async
4788 2007-09-27 Alexander Larsson <alexl@redhat.com>
4790 * gio/glocalfile.c (g_local_file_set_display_name):
4791 Fix set_display_name to actually rename to the right place.
4792 Use lstat to look for existing files so we don't overwrite
4795 2007-09-26 Alexander Larsson <alexl@redhat.com>
4798 Add g_file_set_display_name_async()
4800 2007-09-26 Alexander Larsson <alexl@redhat.com>
4803 Add load_partial_contents async calls
4806 Make internal function static
4808 2007-09-26 Alexander Larsson <alexl@redhat.com>
4810 * gio/glocalfileinfo.c:
4811 Correctly detect broken symlinks
4813 2007-09-26 Alexander Larsson <alexl@redhat.com>
4815 * gio/gcancellable.c (g_cancellable_cancel):
4816 Allow cancel on NULL cancellable
4818 2007-09-25 Alexander Larsson <alexl@redhat.com>
4820 * gio/gsimpleasyncresult.c:
4821 Don't allocate g_error manually.
4822 Fixes g_slice/g_new mixup crash
4824 2007-09-25 Alexander Larsson <alexl@redhat.com>
4826 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4827 Actually set active_backend.
4828 This means the monitor will be cancelled correctly.
4830 2007-09-25 Alexander Larsson <alexl@redhat.com>
4832 * gio/gdirectorymonitor.c:
4833 Set timeout to NULL when destroying
4835 2007-09-25 Alexander Larsson <alexl@redhat.com>
4838 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4839 that is a better description of the error.
4841 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4843 * gio/gvfs.c: (g_vfs_get_local):
4844 Make the local vfs variable static. The same instance should
4847 2007-09-24 Alexander Larsson <alexl@redhat.com>
4849 * gio/glocalfileinfo.c:
4850 Pass in actual length read into sniffer, not the length
4853 2007-09-21 Alexander Larsson <alexl@redhat.com>
4855 * gio/gfileenumerator.c:
4858 * gio/gfileinputstream.c:
4859 * gio/gfileoutputstream.c:
4860 * gio/ginputstream.c:
4861 * gio/goutputstream.c:
4862 Don't crash if async callbacks are NULL
4864 2007-09-20 Alexander Larsson <alexl@redhat.com>
4867 Add async enumerate_children method and default
4870 2007-09-20 Alexander Larsson <alexl@redhat.com>
4873 Add g_file_contains_file & g_file_get_relative_path, since they
4874 were needed for nautilus.
4875 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4880 Implement new methods
4882 2007-09-17 Alexander Larsson <alexl@redhat.com>
4885 * gio/gfileinputstream.[ch]:
4886 * gio/gfileoutputstream.[ch]:
4888 * gio/glocalfileenumerator.[ch]:
4889 * gio/glocalfileinfo.[ch]:
4890 * gio/glocalfileinputstream.c:
4891 * gio/glocalfileoutputstream.c:
4892 * gio/gpollfilemonitor.c:
4893 * programs/gio-copy.c:
4894 * programs/gio-info.c:
4895 * programs/gio-move.c:
4896 Rename get_file_info to query_info() to make it clearer
4897 that these are not simple getters, but do i/o.
4899 2007-09-17 Alexander Larsson <alexl@redhat.com>
4901 * gio/gdatainputstream.[ch]:
4902 * gio/test-streams.c:
4903 Use _read_XXX instead of _get_XXX for the i/o calls
4906 2007-09-17 Alexander Larsson <alexl@redhat.com>
4909 Added needed stuff to TODO comment
4911 2007-09-17 Alexander Larsson <alexl@redhat.com>
4913 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4914 Don't error out removing the backup copy if it doesn't
4917 2007-09-14 Alexander Larsson <alexl@redhat.com>
4919 * programs/Makefile.am:
4920 * programs/gvfs-*.c:
4922 Renamed apps from gvfs-xxx to gio-xxx.
4924 2007-09-14 Alexander Larsson <alexl@redhat.com>
4927 * gio/gfileoutputstream.[ch]:
4928 * gio/glocalfileoutputstream.c:
4929 * programs/gvfs-save.c:
4930 g_file_output_stream_get_etag doesn't do i/o, so remove
4931 cancellation and error.
4933 2007-09-14 Alexander Larsson <alexl@redhat.com>
4936 Add new_etag output to replace_contents functions
4938 2007-09-14 Alexander Larsson <alexl@redhat.com>
4940 * gio/gfileoutputstream.[ch]:
4941 Add async get_file_info and default implementation
4943 2007-09-14 Alexander Larsson <alexl@redhat.com>
4945 * gio/gfileinputstream.c:
4946 Implement fallback wrapper for async get_file_info
4948 2007-09-14 Alexander Larsson <alexl@redhat.com>
4951 Add etag out argument to load_contents
4956 2007-09-14 Alexander Larsson <alexl@redhat.com>
4958 * gio/gcontenttype.c (looks_like_text):
4959 Whitespace like tab, cr and lf do not make the
4962 2007-09-14 Alexander Larsson <alexl@redhat.com>
4964 * gio/gfileinputstream.[ch]:
4965 Add async get_file_info.
4967 2007-09-13 Alexander Larsson <alexl@redhat.com>
4969 * gio/goutputstream.c (g_output_stream_write_all):
4970 Allow NULL for bytes_written
4972 2007-09-13 Alexander Larsson <alexl@redhat.com>
4974 * gio/gmemoryinputstream.[ch]:
4975 Add accessors for data
4977 2007-09-13 Alexander Larsson <alexl@redhat.com>
4979 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4980 Don't crash if length is NULL