1 2008-09-12 Michael Natterer <mitch@imendio.com>
3 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
6 2008-09-08 Christian Neumair <cneumair@gnome.org>
8 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
9 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
10 Use non-blocking pipe for mount helper I/O. Fixes #550647.
12 2008-09-06 Matthias Clasen <mclasen@redhat.com>
14 Bug 551149 – xdgmime mem leak
16 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
17 a memory leak. Patch by Christian Persch
19 2008-09-04 Tor Lillqvist <tml@novell.com>
21 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
24 2008-09-02 Matthias Clasen <mclasen@redhat.com>
26 * === Released 2.18.0 ===
28 2008-09-02 Michael Natterer <mitch@imendio.com>
30 * *.h: big header formatting cleanup: indentation, vtable
31 formatting, consistent spacing in (* vfunc), trailing whitespace
32 removal. Formatting should be pretty consistent in all GIO headers
35 2008-09-02 Matthias Clasen <mclasen@redhat.com>
37 * gmount.h: Document guess_content_type sync vfunc.
39 2008-09-02 Michael Natterer <mitch@imendio.com>
41 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
42 fix parent_class member to be GFilterOutputStreamClass (not
43 GOutputStreamClass). Drop three pointers of padding, which is
44 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
45 so the class struct size stays the same.
47 2008-09-02 Matthias Clasen <mclasen@redhat.com>
49 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
51 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
52 nonexisting return values. Pointed out by Cosimo Cecchi.
54 2008-08-23 Tor Lillqvist <tml@novell.com>
56 Bug 548988 - g_file_replace fails on Windows when the target file
59 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
60 Windows, close the file before potentially renaming it (in case we
61 have been writing to a file with a temporary name).
63 (g_local_file_output_stream_close, handle_overwrite_open): Use
64 GLocalFileStat instead of plain struct stat, for passing to
65 _g_local_file_info_create_etag(). Thus also use _fstati64()
66 instead of plain fstat() on Windows.
68 2008-08-18 Matthias Clasen <mclasen@redhat.com>
70 * === Released 2.17.7 ===
72 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
74 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
77 2008-08-13 Tor Lillqvist <tml@novell.com>
81 * win32/gwinhttpfile.c
82 * win32/gwinhttpfileinputstream.c
83 * win32/gwinhttpfileoutputstream.c: Refactor some common code
84 snippets into helper functions. Check HTTP response status
85 codes. Implement g_winhttp_file_query_info(), looking at
86 Content-Length, Content-Type and Last-Modified.
88 * win32/winhttp.h: Add some symbolic constants that are not
89 publicly documented. Just a handful, so it should be OK to use
90 information from the Windows SDK's headers.
92 2008-08-13 Tor Lillqvist <tml@novell.com>
94 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
97 * win32/gwin32directorymonitor.c
98 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
100 2008-08-13 Matthias Clasen <mclasen@redhat.com>
103 * goutputstream.c: Add intro docs.
105 2008-08-13 Tor Lillqvist <tml@novell.com>
107 * win32/gwinhttpfileoutputstream.c
108 (g_winhttp_file_output_stream_write): Don't write the
109 Content-Length header ourselves, WinHttpSendRequest() takes care
110 of that when the dwTotalLength parameter is non-zero. Increment
111 offset by the number of actual bytes sent, although I wonder if
112 such a scenario is possible where less than requested would be
113 sent and accepted by the server without errors.
115 2008-08-13 Tor Lillqvist <tml@novell.com>
117 * win32/gwinhttpvfs.c
118 * win32/gwinhttpvfs.h
119 * win32/gwinhttpfile.c
120 * win32/gwinhttpfile.h
121 * win32/gwinhttpfileinputstream.c
122 * win32/gwinhttpfileinputstream.h
123 * win32/gwinhttpfileoutputstream.c
124 * win32/gwinhttpfileoutputstream.h: New files implementing
125 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
126 Windows. The implementation uses the WinHttp API. Both reading and
127 writing are supported, i.e. GET and PUT requests. When writing,
128 each write call is done using a separate PUT request with a
129 Content-Range header. Requests for file URIs and plain pathnames
130 are forwarded to GLocalVfs.
132 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
133 WINE. Used as there is no <winhttp.h> bundled with mingw, and
134 requiring people to download the Windows SDK just for this one
135 header is not reasonable.
137 * win32/Makefile.am: Add above files.
139 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
140 the plumbing for the above.
142 2008-08-11 Sven Neumann <sven@gimp.org>
144 * gfilenamecompleter.c
145 * glocaldirectorymonitor.c
147 * gunionvolumemonitor.c
151 * gunixvolumemonitor.c
154 * gwin32volumemonitor.c: use canonical signal names.
156 2008-08-11 Tor Lillqvist <tml@novell.com>
158 * Makefile.am: Put a list of the platform-dependent .la files in
159 the subdirectories in the platform_deps Make variable, and make
160 libgio-2.0.la depend on that, so that it gets relinked if one of
161 the dependent libraries has changed.
163 2008-08-11 Tor Lillqvist <tml@novell.com>
165 * Makefile.am (platform_libadd): Remove -lwininet which had been
166 added by mistake. We will probably eventually be using WinHTTP,
167 not the older WinInet anyway. (Actually I am working on it.)
169 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
171 Bug 547080 – g_file_copy leaks expected errors
173 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
174 before trying the next fallback routine.
176 2008-08-09 Loïc Minier <lool@dooz.org>
178 Bug 535124 – umask 002 not being applied for new directories, new
179 files get the correct umask
181 * gfile.c (g_file_make_directory)
182 (g_file_make_directory_with_parents): Document ownership and
183 permissions of newly created directories as being the default
186 2008-08-08 Loïc Minier <lool@dooz.org>
188 Bug 535124 – umask 002 not being applied for new directories, new
189 files get the correct umask
191 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
194 2008-08-08 Tor Lillqvist <tml@novell.com>
196 * gwin32mount.c: Remove unused code. Whitespace cleanup.
198 * gwin32volumemonitor.c (get_connected_drives): Put questionable
199 code that didn't actually do anything inside #if 0, and add a
200 comment wondering what the code was supposed to do. This also gets
201 rid of a leftover debugging printout.
203 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
205 * gfileicon.c (g_file_icon_get_property)
206 (g_file_icon_set_property): New functions.
207 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
209 (g_file_icon_new): Use the property (bug #546132).
211 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
213 * gthemedicon.c (g_themed_icon_get_property): Also handle
214 `PROP_USE_DEFAULT_FALLBACKS'.
215 (g_themed_icon_class_init): Make
216 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
218 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
220 Bug 546371 – Improve docs re g_file_monitor
222 * gfilemonitor.c: Mention g_file_monitor() in the docs.
224 2008-08-04 Matthias Clasen <mclasen@redhat.com>
226 * === Released 2.17.6 ===
228 2008-08-04 Matthias Clasen <mclasen@redhat.com>
230 * === Released 2.17.5 ===
232 2008-08-04 Matthias Clasen <mclasen@redhat.com>
234 Bug 546017 – Don't copy attributes when copying a symlink
236 * gfile.c (g_file_copy_attributes): Specify
237 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
238 g_file_set_attributes_from_info. Patch by Christian Kellner
240 2008-08-04 Matthias Clasen <mclasen@redhat.com>
242 * gemblemedicon.[hc]:
244 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
245 a bit more extensible. Work by Clemens Buss.
247 * gioenums.h: Add GEmblemOrigin.
250 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
252 Bug 546079 – leak in xdgmime
254 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
256 2008-08-03 Tor Lillqvist <tml@novell.com>
258 * win32/gwin32directorymonitor.h
259 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
262 2008-08-03 Tor Lillqvist <tml@novell.com>
264 * win32/gwin32directorymonitor.c
265 (g_win32_directory_monitor_callback): Make prototype match
266 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
267 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
270 (g_win32_directory_monitor_constructor):
271 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
272 names in the GLib API on Windows, so convert to UTF-16 and open
275 2008-08-03 Tor Lillqvist <tml@novell.com>
277 Bug 541036 - Gnumeric crashes when trying to open Desktop or
278 user's folder under Windows
280 * win32/gwin32directorymonitor.c
281 (g_win32_directory_monitor_constructor): Ignore error from
282 CreateFile() when opening directory. Instead of asserting, just
283 store INVALID_HANDLE_VALUE then in
284 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
285 ReadDirectoryChangesW().
286 (g_win32_directory_monitor_cancel): Don't attempt to close
287 directory handle if it is INVALID_HANDLE_VALUE.
289 2008-08-01 Matthias Clasen <mclasen@redhat.com>
291 * gdesktopappinfo.c: Remove debug spew
293 2008-08-01 Hans Breuer <hans@breuer.org>
295 * makefile.msc : add gemblembedicon
297 2008-07-30 Matthias Clasen <mclasen@redhat.com>
299 Bug 545457 – gdmsetup crashed with SIGSEGV in
300 g_unix_mount_guess_should_display()
302 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
303 crash if no mount is found.
305 2008-07-28 Matthias Clasen <mclasen@redhat.com>
307 Bug 545203 – gfile.c: argument is different type.
309 * gfile.c (open_read_async_thread): Pass a GError **
310 to g_file_set_error_literal.
311 Reported by Kazuki Iwamoto
313 2008-07-28 Matthias Clasen <mclasen@redhat.com>
315 Bug 545157 – wrong/no list of "open with" applications for .cc and
318 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
319 Collect all ancestors, not just direct parents. Pointed
320 out by Bastien Nocera
322 2008-07-28 Matthias Clasen <mclasen@redhat.com>
324 * Makefile.am: Install gemblemedicon.h
326 2008-07-28 Matthias Clasen <mclasen@redhat.com>
328 * gemblemedicon.[hc]: Add a GIcon implementation that can
329 add an emblem to another icon.
336 * gfileicon.c: Small documentation additions.
338 2008-07-28 Tor Lillqvist <tml@novell.com>
340 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
343 2008-07-27 Tor Lillqvist <tml@novell.com>
345 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
347 2008-07-24 David Zeuthen <davidz@redhat.com>
351 Also export a g_mount_guess_content_type_sync() function.
353 2008-07-23 Matthias Clasen <mclasen@redhat.com>
355 529694 – SELinux context setting support
357 * gfileinfo.c: Support setting selinux attributes.
358 Patch by Tomas Bzatek
360 2008-07-22 Priit Laes <plaes@plaes.org>
362 Bug 544140 - fam-helper 64-bit issue?
364 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
366 2008-07-21 Matthias Clasen <mclasen@redhat.com>
368 * === Released 2.17.4 ===
370 2008-07-20 Matthias Clasen <mclasen@redhat.com>
372 * gvolumemonitor.[hc]:
377 * gmount.c: Documentation fixes
379 2008-07-19 Matthias Clasen <mclasen@redhat.com>
381 543504 – crash in Epiphany Web Browser: Opening local file
392 * gvolume.c: Register types thread-safely.
393 Patch by Christian Persch
395 2008-07-18 Matthias Clasen <mclasen@redhat.com>
397 * gcontenttype.c: Remove debug spew
399 2008-07-18 Matthias Clasen <mclasen@redhat.com>
401 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
404 * fen/fen-kernel.c: Remove a warning that was causing
405 crashes. Reported by Lin Ma.
407 2008-07-18 Matthias Clasen <mclasen@redhat.com>
409 Bug 543040 – async reading on dummy file will crash on
412 * gfile.c (open_read_async_thread): Cope with read_fn being
413 NULL. Reported by Lin Ma.
415 2008-07-18 Matthias Clasen <mclasen@redhat.com>
418 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
420 2008-07-16 Matthias Clasen <mclasen@redhat.com>
424 * giomodule.c: Rename a chapter id to avoid filename conflict.
426 2008-07-16 Matthias Clasen <mclasen@redhat.com>
428 Bug 540616 – mem leak in filechooser button
430 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
431 the mount entry. Reported by Chrisitan Persch
433 2008-07-16 Matthias Clasen <mclasen@redhat.com>
435 * gfile.c: Small documentation fixes.
437 2008-07-15 Matthias Clasen <mclasen@redhat.com>
439 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
441 2008-07-08 Matthias Clasen <mclasen@redhat.com>
446 * gmount.c: Documentation improvements.
448 2008-07-08 Matthias Clasen <mclasen@redhat.com>
451 * gmount.[hc]: Add g_mount_guess_content_type().
453 2008-07-06 David Zeuthen <davidz@redhat.com>
456 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
457 is needed for easily handling adoption of foreign volumes by
458 out-of-process volume monitors (#541793)
460 2008-07-06 David Zeuthen <davidz@redhat.com>
462 * gvolumemonitor.[ch]:
463 * gunionvolumemonitor.c: Export the eject-button signal on the
464 volume monitor class (#541794).
466 2008-07-06 Matthias Clasen <mclasen@redhat.com>
468 * gappinfo.c: More doc tweaks
470 2008-07-05 Matthias Clasen <mclasen@redhat.com>
472 * gappinfo.c: Clarify some docs
474 2008-07-03 Matthias Clasen <mclasen@redhat.com>
476 * gdesktopappinfo.c: Fix a stupid mistake.
478 2008-07-02 Matthias Clasen <mclasen@redhat.com>
480 * === Released 2.17.3 ===
482 2008-07-02 Matthias Clasen <mclasen@redhat.com>
484 * gfilemonitor.c: Fix the build.
486 2008-07-02 Matthias Clasen <mclasen@redhat.com>
488 Bug 536160 – Add g_file_monitor()
491 * gfile.[hc]: Add g_file_monitor which can return either
492 a file or a directory monitor. Proposed by Behdad Esfahbod
494 2008-07-02 Matthias Clasen <mclasen@redhat.com>
496 536733 – gio build failure on Irix
498 * glocalfile.c: Use a configure check for structfs.f_bavail.
500 2008-07-02 Matthias Clasen <mclasen@redhat.com>
502 Bug 534639 – add g_desktop_app_info_new_from_keyfile
505 * gdesktopappinfo.[hc]: Add a function to create a
506 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
508 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
510 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
512 2008-07-01 Matthias Clasen <mclasen@redhat.com>
514 * gunixmounts.c: Fix a doc typo.
516 2008-07-01 Cody Russell <bratsche@gnome.org>
518 * gio/gcontenttype.c:
519 * gio/gwin32appinfo.c:
520 * gio/gwin32volumemonitor.c:
521 * gio/gwin32mount.c: Fixed some include problems.
523 2008-07-01 Cody Russell <bratsche@gnome.org>
527 Moved all relevant typedefs into these files.
530 Updated wrt added files.
532 Split types into separate file for easier maintainership. (#538564)
534 2008-06-30 Matthias Clasen <mclasen@redhat.com>
536 Bug 540331 – g_file_append_to () documentation: can return NULL
538 * gfile.c (g_file_append_to): Clarify docs.
541 2008-06-30 Matthias Clasen <mclasen@redhat.com>
543 Bug 539090 – g_content_type_from_mime_type() should unalias
545 * gcontentype.c (g_content_type_from_mime_type): Unalias.
546 Patch by Markus Bergman
548 2008-06-30 Matthias Clasen <mclasen@redhat.com>
550 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
553 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
554 on ppc and alpha. Reported by Mart Raudsepp
556 2008-06-29 Matthias Clasen <mclasen@redhat.com>
559 * tests/memory-output-stream.c: Add some tests for
562 2008-06-29 Matthias Clasen <mclasen@redhat.com>
564 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
567 * gmemoryoutputstream.c (array_resize): Handle truncation to
568 zero correctly. Reported by Akira Tagoh
570 2008-06-29 Matthias Clasen <mclasen@redhat.com>
572 * gmemoryoutputstream.c: Trivial doc fixes
574 2008-06-29 Matthias Clasen <mclasen@redhat.com>
576 Bug 540802 – g_list_prepend doesn't concat lists
578 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
579 one list to another. Pointed out by Jan Arne Petersen
581 2008-06-28 Michael Natterer <mitch@imendio.com>
583 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
585 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
587 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
588 to avoid problems with partial icon themes.
590 2008-06-17 Hans Breuer <hans@breuer.org>
592 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
593 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
594 access again on win32, see bug #538127
595 * giomodule.c : ensure GWin32VolumeMonitor is registered
596 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
597 * Makefile.am makefile.msc : updated
599 2008-06-16 Hans Breuer <hans@breuer.org>
601 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
602 and initialization in one step avoids c99ism
604 2008-06-16 Christian Persch <chpe@gnome.org>
607 * gio/gbufferedinputstream.c
609 * gio/gdatainputstream.c
610 * gio/gdesktopappinfo.c
612 * gio/gfileenumerator.c
613 * gio/gfileinputstream.c
614 * gio/gfileoutputstream.c
616 * gio/glocaldirectorymonitor.c
618 * gio/glocalfileenumerator.c
619 * gio/glocalfileinfo.c
620 * gio/glocalfilemonitor.c
621 * gio/glocalfileoutputstream.c
622 * gio/gmemoryinputstream.c
623 * gio/gmemoryoutputstream.c
624 * gio/goutputstream.c
625 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
628 2008-06-16 Tor Lillqvist <tml@novell.com>
630 Bug 538362 - Get Win32 icons back in the file chooser
632 * gcontenttype.c (g_content_type_get_icon): Look up the icon
633 corresponding to a file extension in the Registry. Patch by Hans
635 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
637 2008-06-16 Tor Lillqvist <tml@novell.com>
639 Patches by Hans Breuer:
641 * glocalfile.c (is_xp_or_later): Handle compiling against older
642 SDK headers with missing VerifyVersionInfo(). Conditioned on
643 _MSC_VER, but should probably use some better test.
644 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
645 uninitialised statfs_result variable on Win32.
647 2008-06-16 Michael Natterer <mitch@imendio.com>
649 * *.c: chain up unconditionally in finalize() and dispose(). Also
650 don't dereference these function pointers when calling them since
651 that has no meaning at all.
653 2008-06-16 Ross Burton <ross@burtonini.com>
656 Remove check for dispose implementation as it annoys Emmanuele.
658 2008-06-16 Ross Burton <ross@burtonini.com>
660 Bug 536252 – GFileEnumerator should allow access to the containing
666 Add g_file_enumerator_get_container() and a container writeable
667 construct-only property. Also shuffle around typedefs to make it
670 * glocalfileenumerator.c:
671 * glocalfileenumerator.h:
673 Instead of a string filename take a GFile in the constructor and
674 use it to set the container property.
679 2008-06-16 Matthias Clasen <mclasen@redhat.com>
681 * gfile.c: Make includes more uniform
683 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
685 * tests/live-g-file.c (sample_struct):
686 Use less fancy unicode filenames, so the test doesn't fail
687 on Mac OS X (#531476).
689 2008-06-12 Matthias Clasen <mclasen@redhat.com>
691 * === Released 2.17.2 ===
693 2008-06-12 Matthias Clasen <mclasen@redhat.com>
695 * === Released 2.17.1 ===
697 2008-06-11 A. Walton <awalton@gnome.org>
699 * tests/g-file.c (test_g_file_new_null):
700 Fix broken test case.
702 2008-06-11 Matthias Clasen <mclasen@redhat.com>
704 * pltcheck.sh: We use g_clear_error now.
706 2008-06-11 Matthias Clasen <mclasen@redhat.com>
708 * glocalfile.c (g_local_file_enumerate_children): Revert
709 an unintended change.
711 2008-06-11 Matthias Clasen <mclasen@redhat.com>
713 * gfile.c (g_file_replace_contents): Don't unref before the last use.
715 2008-06-10 Matthias Clasen <mclasen@redhat.com>
717 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
720 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
721 as icon for the desktop directory, also make user-home and
722 user-desktop the preferred icons.
724 2008-06-10 Matthias Clasen <mclasen@redhat.com>
727 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
728 to add a name to the front of the list.
730 2008-06-10 Matthias Clasen <mclasen@redhat.com>
732 Bug 537392 – Additional colon in xattr name
734 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
735 too. Reported by Alessandro Morandi
737 2008-06-10 Matthias Clasen <mclasen@redhat.com>
739 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
742 * glocalfile.c (get_fs_type): Add afs and autofs.
743 Patch by Danny Baumann.
745 2008-06-10 Matthias Clasen <mclasen@redhat.com>
747 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
749 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
750 is no parent. (Owen Taylor, patch by Christian Neumair)
752 2008-06-10 Paolo Borelli <pborelli@katamail.com>
754 * gfile.c (g_file_replace_contents): do not leak the output stream.
756 2008-06-10 Michael Natterer <mitch@imendio.com>
758 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
759 uninitialized memory as array index.
761 2008-06-10 Tor Lillqvist <tml@novell.com>
763 * gcontenttype.c (g_content_type_can_be_executable)
764 (g_content_type_get_icon) [Win32]: Add TODO comments.
766 2008-06-09 Matthias Clasen <mclasen@redhat.com>
768 * xdgmime/Makefile.am: Fix the build
770 2008-06-09 Matthias Clasen <mclasen@redhat.com>
772 * gcontenttype.c (g_content_type_get_icon): Use icons specified
773 in the shared mime database, if available.
775 * xdgmime/*: Sync with upstream. This brings support for
776 glob weights, generic icons, and changes the cache format to
779 2008-05-28 Michael Natterer <mitch@imendio.com>
781 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
782 the global CPPFLAGS now.
784 * tests/data-input-stream.c
785 * tests/data-output-stream.c
786 * tests/g-file-info.c
788 * tests/live-g-file.c
789 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
791 2008-05-27 Matthias Clasen <mclasen@redhat.com>
793 * === Released 2.17.0 ===
795 * tests/live-g-file.c: Clean up after the tests, so make distcheck
796 doesn't complain about leftover files.
798 2008-05-27 simon.zheng <simon.zheng@sun.com>
800 * glocalfile.c: (g_local_file_query_filesystem_info):
801 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
803 2008-05-26 Michael Natterer <mitch@imendio.com>
805 * gmemoryoutputstream.h: declare
806 g_memory_output_stream_get_data_size().
808 2008-05-26 Matthias Clasen <mclasen@redhat.com>
810 * tests/*: Make tests work
812 2008-05-26 Matthias Clasen <mclasen@redhat.com>
814 * gio.symbols: Add g_memory_output_stream_get_data_size.
816 2008-05-25 Ross Burton <ross@burtonini.com>
819 Fix typo in error message (#534764).
821 2008-05-25 Ross Burton <ross@burtonini.com>
824 Fix circular dependency loop for gioenumtypes.h (#534759).
826 2008-05-19 Hans Breuer <hans@breuer.org>
828 * Makefile.am : EXTRA_DIST += makefile.msc
830 2008-05-17 Matthias Clasen <mclasen@redhat.com>
833 * gcontenttype.c: (g_content_type_from_mime_type):
834 New function to create a content type from a mime type. (#527175,
837 2008-05-17 Matthias Clasen <mclasen@redhat.com>
839 Bug 532965 – Should not return filesystem::free for certain file systems
841 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
842 free space for ncpfs.
844 2008-05-17 Matthias Clasen <mclasen@redhat.com>
846 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
848 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
849 st_dev might be zero.
851 2008-05-16 Tor Lillqvist <tml@novell.com>
853 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
854 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
856 2008-05-13 Bastien Nocera <hadess@hadess.net>
858 * gfile.c (has_valid_scheme): A URI scheme must start with a
859 letter, even if later more characters are allowed (#532852)
861 2008-05-05 Michael Natterer <mitch@imendio.com>
863 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
864 code from being checked in that breaks the build of applications
865 which use G_DISABLE_SINGLE_INCLUDES.
867 * makegioalias.pl: make the alias file include "glib.h" instead of
870 * gio.symbols: whitespace change to force regeneration of the
871 alias file after above script change.
873 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
875 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
877 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
879 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
881 2008-04-28 David Zeuthen <davidz@redhat.com>
883 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
884 displaying mounts in a subdirectory not accessible to the
887 2008-04-22 Michael Natterer <mitch@imendio.com>
889 * Makefile.am: fix library versioning (it was 0.0.0).
891 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
893 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
894 Default disable all loggings.
895 * fen/fen-kernel.c: (printevent), (port_add_kevent),
896 (port_fetch_event_cb): Fixed two macro nits.
898 2008-04-16 Matthias Clasen <mclasen@redhat.com>
900 * xdgmime/xdgmime.c: Rework the timestamp checking code
901 to protect against duplicate directories in XDG_DATA_DIRS.
902 Fixes fd.o bug 12513, reported by Joe Shaw.
904 2008-04-16 Matthias Clasen <mclasen@redhat.com>
906 Partically revert the last commit after realizing that
907 xdg_mime_media_type_equal doesn't have to init at all.
910 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
912 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
914 2008-04-16 Matthias Clasen <mclasen@redhat.com>
916 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
917 reported by Joe Shaw and Federico Mena Quintero.
919 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
920 (xdg_mime_media_type_equal): Turn into a wrapper around the
923 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
924 functions throughout.
926 2008-04-16 Michael Meeks <michael.meeks@novell.com>
928 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
929 tolerate an empty TryExec= line without failing; nautilus used
930 to create launchers with these in previous versions. Fixes #528433
932 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
934 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
935 after name. Fixes #527132.
937 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
939 * gfile.c: (g_file_replace):
942 2008-04-07 Matthias Clasen <mclasen@redhat.com>
944 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
946 * gfile.c (file_copy_fallback): Fix the argument order. Patch
947 by Christian Kellner.
949 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
951 * gunixmounts.c: (g_unix_mount_guess_should_display):
952 Don't list the user directory as a mount, fix potential issue
953 when other users have a similar naming and don't special case the
954 gvfs mounts there since that's not required (#525866)
956 2008-03-31 Alexander Larsson <alexl@redhat.com>
958 * glocalfile.c (get_parent):
961 2008-03-31 A. Walton <awalton@svn.gnome.org>
963 * gfile.c (g_file_query_file_type):
964 Always return a GFileType enum value (#520715).
966 2008-03-31 Alexander Larsson <alexl@redhat.com>
968 * glocalfileenumerator.c:
969 Read readdir() info in chunks (of 1000) and sort
970 the chunks by inode before stat:ing.
971 This is a 20% performance increase in testing
972 gvfs-ls on /usr/bin with cold cache.
974 2008-03-31 Alexander Larsson <alexl@redhat.com>
976 * gmemoryoutputstream.c:
977 Clarify docs for g_memory_output_stream_get_size.
978 Add g_memory_output_stream_get_data_size.
980 2008-03-30 Matthias Clasen <mclasen@redhat.com>
984 * gfile.h: Add g_file_query_file_type convenience function
985 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
987 2008-03-30 Matthias Clasen <mclasen@redhat.com>
990 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
992 2008-03-28 A. Walton <awalton@svn.gnome.org>
994 * giomodule.c (_g_io_modules_ensure_loaded):
995 Adds GIO_EXTRA_MODULES environment variable support, closing bug
998 2008-03-28 Alexander Larsson <alexl@redhat.com>
1001 (copy_stream_with_progress):
1004 2008-03-28 Alexander Larsson <alexl@redhat.com>
1007 (copy_stream_with_progress):
1008 (file_copy_fallback):
1009 Fallback to g_file_query_info for source size
1010 if g_file_input_stream_query_info fails. (#524579)
1012 2008-03-28 Alexander Larsson <alexl@redhat.com>
1014 * glocalfile.c (g_local_file_move):
1015 Reuse old string instead of adding new one.
1017 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1019 * fen/*.[hc]: still copyright issue. I hate copyright.
1021 2008-03-27 Alexander Larsson <alexl@redhat.com>
1023 * glocalfile.c (g_local_file_move):
1024 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1025 file over directory. This is according to the docs and what the move via
1026 copy+remove fallback does.
1028 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1030 * fen/*.[hc]: Updated copyright.
1032 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1034 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1036 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1038 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1039 not emit attribute changed events when optimizing changed events.
1040 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1043 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1045 * gmountoperation.[hc]: Small documentation additions
1047 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1049 * gunixmounts.c: (guess_mount_type):
1050 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1052 2008-03-19 Alexander Larsson <alexl@redhat.com>
1055 (copy_stream_with_progress):
1056 Bump block side for copy to 64k to minimize
1057 overhead for low latency links. (#523015)
1059 2008-03-16 Tor Lillqvist <tml@novell.com>
1061 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1062 depend on gio.def on Windows.
1064 2008-03-12 David Zeuthen <davidz@redhat.com>
1068 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1070 2008-03-14 Alexander Larsson <alexl@redhat.com>
1074 Avoid redudant tests (#521851)
1075 Patch from Josselin Mouette
1077 2008-03-14 Alexander Larsson <alexl@redhat.com>
1080 (g_file_monitor_is_cancelled):
1081 Fix C89 issue (#521672)
1082 Patch from Jens Granseuer
1084 2008-03-14 Alexander Larsson <alexl@redhat.com>
1086 * fam/fam-helper.[ch]:
1088 Shut down fam (including removing fam GSource) when
1089 module is unloaded (#521513)
1090 Patch from Joe Marcus Clarke
1092 2008-03-14 Alexander Larsson <alexl@redhat.com>
1095 (_g_io_modules_ensure_loaded):
1098 2008-03-14 Alexander Larsson <alexl@redhat.com>
1101 (g_local_file_query_filesystem_info):
1102 Use right define name for f_fstypename member check
1104 2008-03-14 Alexander Larsson <alexl@redhat.com>
1107 * fen/Makefile.am: Added.
1108 * fen/fen-data.[ch]: Added.
1109 * fen/fen-dump.[ch]: Added.
1110 * fen/fen-helper.[ch]: Added.
1111 * fen/fen-kernel.[ch]: Added.
1112 * fen/fen-missing.[ch]: Added.
1113 * fen/fen-node.[ch]: Added.
1114 * fen/fen-sub.[ch]: Added.
1115 * fen/gfendirectorymonitor.[ch]: Added.
1116 * fen/gfenfilemonitor.[ch]: Added.
1118 Added Solaris FEN file notification backend.
1119 Patch from Lin Ma <Lin.Ma@Sun.COM>
1121 2008-03-13 Tor Lillqvist <tml@novell.com>
1123 * Makefile.am: Actually use the gio.def file when linking the
1124 library on Windows. Produce .lib library for Microsoft's toolchain
1125 when possible. Install the .lib and .def file like for the other
1128 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1130 * tests/live-g-file.c:
1131 Include live-g-file in standard set of tests, making a temporary
1132 directory in source structure.
1134 Clean target directory before the tests (write mode only)
1136 2008-03-12 Tor Lillqvist <tml@novell.com>
1138 Bug 517419 - gio win32 directory monitor
1139 Implementation by Vlad Grecescu.
1142 * win32/gwin32directorymonitor.h
1143 * win32/gwin32directorymonitor.c: New files.
1145 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1147 * Makefile.am: Add the win32 subdirectory.
1149 2008-03-12 Tor Lillqvist <tml@novell.com>
1151 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1152 normal struct stat on Unix but struct _stati64 on Windows to have
1153 access to 64-bit file size information. Use that instead of struct
1154 stat in the functions declared here in this private header.
1156 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1157 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1158 warnings about unused functions and variables. Don't set
1159 meaningless attributes like inode numbers on Windows.
1161 2008-03-12 Benjamin Otte <otte@gnome.org>
1164 trim whitespace so gtk-doc groks the function name
1166 2008-03-12 Tor Lillqvist <tml@novell.com>
1168 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1169 returning FALSE, on Win32.
1171 2008-03-11 Alexander Larsson <alexl@redhat.com>
1174 * glocalfileinfo.[ch]:
1175 Correctly implement can_trash by actually
1176 looking for a trash dir, not just assuming
1179 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1181 * === Released 2.16.1 ===
1183 2008-03-11 Alexander Larsson <alexl@redhat.com>
1186 Fix crashes in new constructor and properties code
1188 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1190 * gfile.c: Minor spelling correction in documentation:
1191 existance -> existence.
1193 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1195 * === Released 2.16.0 ===
1197 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1199 * gio.symbols: Remove g_file_contains_file here, too.
1201 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1203 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1204 Samuel Cormier-Iijima)
1206 2008-03-08 Tor Lillqvist <tml@novell.com>
1208 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1211 2008-03-07 Alexander Larsson <alexl@redhat.com>
1214 (g_local_file_query_filesystem_info):
1215 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1216 Patch from Jasper Lievisse Adriaanse
1218 2008-03-06 Tor Lillqvist <tml@novell.com>
1220 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1221 comments for the *_USEC attributes.
1223 2008-03-06 Alexander Larsson <alexl@redhat.com>
1225 * gfile.c (g_file_query_exists):
1226 Add g_return_val_if_fail check (#520700)
1228 2008-03-06 Alexander Larsson <alexl@redhat.com>
1230 * gdesktopappinfo.c:
1233 * gunionvolumemonitor.c:
1236 * tests/live-g-file.c:
1237 * xdgmime/xdgmimecache.c:
1238 Fix sparse warnings (#519489)
1240 2008-03-05 Alexander Larsson <alexl@redhat.com>
1243 Make cancellation threadsafe (i.e.
1244 guarantee its only done once, and always
1247 * glocaldirectorymonitor.c:
1248 Make sure we the monitor lives while the
1249 mounts_changed callback is being called (#520484)
1251 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1253 * gbufferedinputstream.c: Fix typo in parameter
1256 2008-03-04 Alexander Larsson <alexl@redhat.com>
1259 Remove deprecated symbols we kept for one release.
1261 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1264 * goutputstream.c: Tiny documentation corrections.
1266 2008-03-03 Alexander Larsson <alexl@redhat.com>
1268 * gunionvolumemonitor.c:
1270 Fix the adopt_orphan_mount vfunc to take a
1271 volume_monitor reference in an ABI compat way.
1272 This change is not API compat, but the added
1273 arg is not used in the only user of this vfunc, so
1274 all we get is a harmless warning in gvfs (#520169)
1276 2008-03-01 Benjamin Otte <otte@gnome.org>
1279 clarify docs for g_file_delete().
1281 2008-02-29 Alexander Larsson <alexl@redhat.com>
1285 Make sure empty files get text/plain type (#518720)
1287 2008-02-27 Alexander Larsson <alexl@redhat.com>
1293 (g_unix_volume_mount):
1294 Add missing GMountMountFlags argument
1296 2008-02-26 Alexander Larsson <alexl@redhat.com>
1299 (g_local_file_delete):
1300 Handle filesystems (like ntfs-3g) that return EEXIST instead
1301 of ENOTEMPTY (#518816)
1303 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1305 * === Released 2.15.6 ===
1307 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1309 * gfile.c (g_file_find_enclosing_mount):
1310 * ginputstream.c (g_input_stream_set_pending):
1311 * glocalfile.c (g_local_file_find_enclosing_mount):
1312 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1313 * goutputstream.c (g_output_stream_set_pending):
1315 Fixup translator comments (#518578).
1317 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1319 * gfile.c (g_file_find_enclosing_mount):
1321 * glocalfile.c (g_local_file_find_enclosing_mount):
1324 Fix a few typos in translator comments and documentation.
1326 2008-02-25 Alexander Larsson <alexl@redhat.com>
1333 Add translator comments (#518578)
1335 2008-02-25 Alexander Larsson <alexl@redhat.com>
1338 Reintroduce g_file_contains_file, keep around for one
1339 unstable release cycle to avoid crashing to many apps.
1340 Make sure to delete after release.
1342 2008-02-25 Alexander Larsson <alexl@redhat.com>
1345 Remove deprecated g_file_contains_file.
1347 2008-02-25 Alexander Larsson <alexl@redhat.com>
1350 Emit actual change signals in an idle handler.
1351 This avoids reentrance and locking problems in
1352 the file notification backends.
1354 2008-02-25 Alexander Larsson <alexl@redhat.com>
1357 (g_unix_mount_guess_should_display):
1358 Remove type guessing, instead just display
1359 mounts in /media and in ~/.
1361 2008-02-25 Alexander Larsson <alexl@redhat.com>
1364 Make new strings reuse old ones.
1366 2008-02-25 Alexander Larsson <alexl@redhat.com>
1369 Implement trashing and filesystem::readonly for win32 (#517235)
1370 Patch from Yevgen Muntyan
1372 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1374 * gfileinfo.h: Documentation fixes.
1376 2008-02-22 Alexander Larsson <alexl@redhat.com>
1378 * gcontenttype.c (g_content_type_get_icon):
1379 Look at old-style gnome mime icon names too, as many
1380 have not moved to the new style.
1382 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1384 * *.c: Correct the @include in for section docs.
1386 2008-02-21 David Zeuthen <davidz@redhat.com>
1388 * glocalfileinfo.c: (_g_local_file_info_get):
1390 (g_content_type_get_icon): Implement this function by
1391 moving bits from glocalfileinfo.c
1392 (g_content_type_get_description): Unalias before getting
1393 description (#517687)
1395 * gfile.c: (g_file_class_init),
1396 (g_file_query_filesystem_info_async),
1397 (g_file_query_filesystem_info_finish),
1398 (query_filesystem_info_data_free),
1399 (query_filesystem_info_async_thread),
1400 (g_file_real_query_filesystem_info_async),
1401 (g_file_real_query_filesystem_info_finish):
1402 * gfile.h: Implement async version of
1403 g_file_query_filesystem_info()
1405 * gfileinfo.h: Add new attributes for filesystem::use-preview
1407 * gio.symbols: Update
1409 * gthemedicon.c: (g_themed_icon_append_name):
1410 * gthemedicon.h: Add new new convenience function.
1412 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1413 (get_mounts), (get_volumes), (get_connected_drives),
1414 (get_volume_for_uuid), (get_mount_for_uuid),
1415 (g_union_volume_monitor_init), (populate_union_monitor),
1416 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1417 (g_volume_monitor_adopt_orphan_mount):
1419 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1420 monitor implementations to call into the main volume monitor. Also
1421 separate object initialization and volume monitor initialization
1422 such that non-native volume monitors can properly adopt their
1425 2008-02-21 Alexander Larsson <alexl@redhat.com>
1430 2008-02-21 Alexander Larsson <alexl@redhat.com>
1433 Add more documentation about how GFiles work (from #517086)
1435 2008-02-21 Alexander Larsson <alexl@redhat.com>
1439 Add new g_file_has_prefix that does the same as g_file_contains_file.
1440 Deprecate g_file_contains_file and add a macro that converts
1441 it to g_file_has_prefix.
1442 The reason for this change is that the contains_file() name seems to
1443 imply that this does more work than what it does, but its really only
1444 a name match (from #517086)
1449 Update to match the above change.
1451 2008-02-20 Benjamin Otte <otte@gnome.org>
1453 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1454 (g_file_eject_mountable):
1455 even more cases of not returning in error path
1457 2008-02-20 Benjamin Otte <otte@gnome.org>
1459 * gfile.c: (g_file_mount_mountable):
1460 return from function in error path.
1462 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1465 Remove trailing coma in GMountMountFlags struct
1467 2008-02-18 Alexander Larsson <alexl@redhat.com>
1471 * glocalfileoutputstream.c:
1472 Use g_unlink/g_rename instead of unlink/rename;
1473 do not pass raw filenames to g_set_error. (#517239)
1474 Patch from Yevgen Muntyan.
1476 2008-02-18 Alexander Larsson <alexl@redhat.com>
1479 * glocalfileoutputstream.c:
1480 Open files with O_BINARY on windows. (#517140)
1482 2008-02-14 Alexander Larsson <alexl@redhat.com>
1484 * glocalfileoutputstream.c:
1485 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1487 2008-02-14 Alexander Larsson <alexl@redhat.com>
1490 Copy permissions with file on copy (#514084)
1491 This is what cp does and makes sure e.g. the
1492 exec permissions are kept.
1493 Its kinda weird in that it keeps the permission bits
1494 the same while the uid and gid are different. However
1495 the new uid is the user so its not a security issue,
1496 and I've heard no complaints about cp on this issue.
1498 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1500 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1502 2008-02-13 Alexander Larsson <alexl@redhat.com>
1504 * inotify/inotify-path.c:
1505 Define IN_ONLYDIR if not in header (#515346)
1507 2008-02-12 Alexander Larsson <alexl@redhat.com>
1509 * tests/live-g-file.c:
1512 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1514 * === Released 2.15.5 ===
1516 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1518 * gio.symbols: Add g_mount_mount_flags_get_type.
1520 2008-02-11 Alexander Larsson <alexl@redhat.com>
1523 (g_file_info_set_attribute_mask):
1524 (g_file_attribute_matcher_matches_id):
1525 Correctly handle NULL GAttributeMatcher meaning
1526 matches nothing. (Fixes #513492)
1528 2008-02-11 Alexander Larsson <alexl@redhat.com>
1533 Added GMountMountFlags enum and added a flags
1534 argument to all mount calls.
1536 This is an API/ABI change for future extensibility,
1537 as I think we will need at least an
1538 inhibit-autorun flag (the panel needs this).
1539 There are no flags defined yet though.
1541 2008-02-11 Alexander Larsson <alexl@redhat.com>
1544 Added new standard::description attribute.
1545 Requested by Vincent, and useful for both
1548 2008-02-11 Alexander Larsson <alexl@redhat.com>
1550 * gdesktopappinfo.c:
1553 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1555 * *.c: Documentation additions
1557 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1559 * gappinfo.h: Formatting cleanup
1560 * gappinfo.c: Fix up docs.
1562 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1564 * gunixmounts.c: Consistently use getmntent_r() and fall
1565 back to getmntent(). (#515492)
1567 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1569 * gbufferedinputstream.c:
1571 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1573 * tests/data-input-stream.c:
1574 * tests/data-output-stream.c: Portability fixes.
1576 2008-02-08 Alexander Larsson <alexl@redhat.com>
1581 Add g_volume_should_automount.
1584 2008-02-07 Tor Lillqvist <tml@novell.com>
1586 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1587 Win32, too Unix-specific.
1589 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1591 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1592 a local plt if the compiler doesn't support what we want. Bug #514702
1594 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1596 reviewed by: <delete if not using a buddy>
1599 * gunixinputstream.c:
1600 * gunixoutputstream.c:
1602 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1604 * tests/Makefile.am:
1605 * tests/live-g-file.c:
1606 * tests/live-g-file.txt:
1607 New GIO testing module working over real data
1609 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1611 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1612 Fallback to rename() if link() is not available
1613 (when no support on target filesystem)
1615 2008-02-06 Michael Natterer <mitch@imendio.com>
1617 * gfileinfo.c (g_file_info_get_icon): replace
1618 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1620 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1622 * gfile.c (g_file_create):
1623 Documentation update of error codes
1625 2008-02-06 Alexander Larsson <alexl@redhat.com>
1627 * gdesktopappinfo.c:
1628 Update to use both mimeapps.list and
1629 defaults.list as discussed on xdg list.
1631 2008-02-06 Benjamin Otte <otte@gnome.org>
1634 * gfilenamecompleter.c:
1635 Fix some typos in the documentation.
1637 2008-02-06 Alexander Larsson <alexl@redhat.com>
1639 * glocalfile.c (g_local_file_trash):
1640 Don't succeed with trash if newly created
1641 trash dir has the wrong owner. (#514696)
1643 2008-02-05 Alexander Larsson <alexl@redhat.com>
1645 * glocalfile.c (g_local_file_move):
1646 Don't spew warnings when destination is not
1649 2008-02-03 Hans Breuer <hans@breuer.org>
1651 * makefile.msc : update
1653 2008-02-01 Michael Natterer <mitch@imendio.com>
1655 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1656 return value of xdg_mime_list_mime_parents() to a variable of the
1659 2008-02-01 Alexander Larsson <alexl@redhat.com>
1661 * gappinfo.c (g_app_info_launch_uris):
1662 Actually call the launch_uris method, not
1665 2008-02-01 Alexander Larsson <alexl@redhat.com>
1667 * gdesktopappinfo.c (g_desktop_app_info_equal):
1668 Ensure appinfos with no id but same pointer value
1671 2008-02-01 Alexander Larsson <alexl@redhat.com>
1673 * gappinfo.c (g_app_info_launch_default_for_uri):
1676 2008-02-01 Alexander Larsson <alexl@redhat.com>
1680 Add g_app_info_launch_default_for_uri utility
1683 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1685 * gdesktopappinfo.c:
1686 Doc fix for g_app_info_get_default_for_uri_scheme ()
1689 2008-01-30 Alexander Larsson <alexl@redhat.com>
1692 Add doc comment about uris vs GFiles to
1695 * gdesktopappinfo.c:
1696 Ensure uris passed to g_app_info_launch_uris()
1697 are not roundtriped through GFile (as that
1698 may be slightly destructive for e.g. mailto: links)
1700 2008-01-30 Alexander Larsson <alexl@redhat.com>
1702 * tests/data-input-stream.c:
1703 * tests/data-output-stream.c:
1704 C89 fixes from Jens Granseuer (#512849)
1706 2008-01-30 Alexander Larsson <alexl@redhat.com>
1709 Fix gamin/fam difference build issue. (#509419)
1711 2008-01-29 Alexander Larsson <alexl@redhat.com>
1714 * gdesktopappinfo.c:
1715 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1717 2008-01-29 Alexander Larsson <alexl@redhat.com>
1719 * gdesktopappinfo.c:
1720 * gdesktopappinfo.h:
1721 giomodule-priv.h include moved to .c file.
1723 2008-01-29 Alexander Larsson <alexl@redhat.com>
1725 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1726 Remove unused prio/name fields.
1728 2008-01-29 Alexander Larsson <alexl@redhat.com>
1730 * gcontenttype.c (looks_like_text):
1731 Don't treat whitespace as control chars.
1733 2008-01-29 Alexander Larsson <alexl@redhat.com>
1735 * gdesktopappinfo.c:
1736 Lazily create the desktop files for appinfos created
1737 by g_app_info_create_from_commandline() when needed
1738 for mime associations. This allows run-time use
1739 of GAppInfo object without creating unnecessary
1742 2008-01-29 Alexander Larsson <alexl@redhat.com>
1745 Added new symbols to gio.symbols
1747 2008-01-29 Alexander Larsson <alexl@redhat.com>
1750 Add g_file_query_default_handler utility to easily look up
1751 the GAppInfo that handles a file.
1753 * gdesktopappinfo.[ch]:
1755 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1758 Remove unused function
1760 2008-01-29 Alexander Larsson <alexl@redhat.com>
1762 * gfileenumerator.c:
1763 Mention need to free returned value in
1764 g_file_enumerator_next_files_finish docs.
1765 Fix leak if g_file_enumerator_next_files_finish()
1768 2008-01-29 Alexander Larsson <alexl@redhat.com>
1771 (_g_unix_content_type_get_parents):
1772 Use list_parents, not get_parents from xdgmime, because
1773 the later doesn't use the cache.
1775 * xdgmime/xdgmimecache.c:
1776 (_xdg_mime_cache_list_mime_parents):
1777 Don't list the same type as parent multiple times.
1779 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1781 * === Released 2.15.4 ===
1783 2008-01-28 Alexander Larsson <alexl@redhat.com>
1786 Register local vfs with prio 0.
1789 Remove old name and prio class members
1791 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1793 * tests/g-file.c: Disable some tests that are failing in
1794 the absence of a http backend.
1796 2008-01-28 Alexander Larsson <alexl@redhat.com>
1800 Add registration hooks for extension points.
1801 Register the gio extension points.
1803 * fam/gfamdirectorymonitor.c:
1804 * fam/gfamfilemonitor.c:
1805 * glocaldirectorymonitor.[ch]:
1806 * glocalfilemonitor.[ch]:
1807 * gnativevolumemonitor.h:
1808 * gunionvolumemonitor.c:
1809 * gunixvolumemonitor.c:
1812 * inotify/ginotifydirectorymonitor.c:
1813 * inotify/ginotifyfilemonitor.c:
1814 Use the extension points registration instead
1815 of g_type_children().
1817 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1820 * gvolume.[hc]: Document new API.
1822 * gfile.c (g_file_copy_async): Fix docs
1824 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1826 * gbufferedinputstream.c:
1828 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1831 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1833 * glocalfile.c: Avoid trivial differences in translatable strings.
1835 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1837 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1838 build with gcc 3.4 (#509419)
1840 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1842 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1843 (#509994, Murray Cumming)
1845 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1847 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1848 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1849 this allows big jobs to be executed in chunks, instead of blocking
1850 the main loop for a long time.
1852 * gsimpleasyncresult.c:
1853 * giofile.c: Adapt callers.
1855 2008-01-25 Alexander Larsson <alexl@redhat.com>
1857 * gdesktopappinfo.c:
1858 Implement changes discussed on xdg list.
1859 Now we can add supported mimetypes by just using defaults.list
1860 We can also remove associations in defaults.list.
1862 2008-01-25 Alexander Larsson <alexl@redhat.com>
1864 * gdesktopappinfo.c:
1865 Don't make local copy of desktop file
1866 for mimetype changes if the file already
1867 supports the new mimetype.
1869 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1873 * gbufferedinputstream.c:
1874 * glocalfile.c: String improvements. (#511966,
1875 Theppitak Karoonboonyanan)
1877 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1879 * gioscheduler.h: Expand docs a bit.
1881 2008-01-24 Alexander Larsson <alexl@redhat.com>
1884 Add g_drive_get_identifier and
1885 g_drive_enumerate_identifiers
1888 Add g_volume_get_identifier and
1889 g_volume_enumerate_identifiers
1895 Implement identifiers for unix backend
1897 2008-01-24 Alexander Larsson <alexl@redhat.com>
1902 Add g_file_copy_async() (#511580)
1903 Based on patch from Carlos Garcia Campos
1905 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1907 * gioscheduler.c: Some documentation additions.
1909 2008-01-22 Alexander Larsson <alexl@redhat.com>
1911 * gdesktopappinfo.c:
1912 (g_desktop_app_info_new):
1913 Don't leak basename.
1915 2008-01-22 Alexander Larsson <alexl@redhat.com>
1917 * gdesktopappinfo.c:
1918 (g_desktop_app_info_new_from_filename):
1921 2008-01-22 Alexander Larsson <alexl@redhat.com>
1923 * glocalfileinfo.c (get_thumbnail_attributes):
1926 2008-01-22 Alexander Larsson <alexl@redhat.com>
1929 (canonicalize_filename):
1930 Canonicalize paths that start with more than
1934 (compare_two_files):
1935 (test_g_file_new_for_path):
1938 2008-01-22 Alexander Larsson <alexl@redhat.com>
1941 Allow UTF-8 in file:// parse names.
1943 * tests/Makefile.am:
1944 * tests/data-input-stream.c:
1945 * tests/data-output-stream.c:
1946 * tests/g-file-info.c:
1948 Added a bunch of tests from Tomas Bzatek
1950 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1952 * === Released 2.15.3 ===
1954 2008-01-21 Alexander Larsson <alexl@redhat.com>
1956 * gfileinputstream.[ch]:
1957 * gfileoutputstream.[ch]:
1959 Remove duplicated GSeekable functions. (#509990)
1960 Just use the g_seekable_xxx() calls instead.
1962 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1965 * gvolumemanager.c: Whitespace cleanups.
1967 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1968 Use the right mode when creating the file.
1970 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1972 * gfileenumerator.c:
1973 * gfileinputstream.c:
1975 * goutputstream.c: Documentation: Fixed minor typos
1976 and added more mentions of specific _finish() functions.
1978 2008-01-21 Alexander Larsson <alexl@redhat.com>
1980 * inotify/Makefile.am:
1981 * inotify/inotify-helper.c:
1982 * inotify/inotify-kernel.c:
1983 * inotify/inotify-path.c:
1984 * inotify/local_inotify.h: Removed.
1985 * inotify/local_inotify_syscalls.h: Removed.
1986 Removed the included copies of the inotify
1987 headers. We now only use the <sys/inotify.h>
1988 header which exists on modern systems.
1989 This fixes problems on ARM and SH5 (#510448)
1990 but is also generally much cleaner and future
1991 safe. For instance, if other OSes add support
1992 for inotify it should "just work".
1994 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1996 * inotify/*.c: Coding style fixes.
1997 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1998 for the 1/4 Hz timer.
2000 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2003 * gfilemonitor.[hc]:
2004 * gmemoryinputstream.c:
2005 * gmemoryoutputstream.c:
2006 * gmountoperation.c:
2007 * gthemedicon.c: Documentation updates
2009 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2011 * gfile.c: documentation: Fixed more minor
2014 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2016 * gmount.c: (g_mount_remount): documentation:
2017 Mention g_mount_remount_finish() instead of
2018 g_mount_unmount_finish().
2020 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2024 * gfile.c: Fixed some minor typos in the
2027 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2029 * gio/gvolumemonitor.c:
2030 (g_volume_monitor_get_connected_drives):
2031 (g_volume_monitor_get_volumes):
2032 (g_volume_monitor_get_mounts): Documentation:
2033 Clarify the ownership of the regurn GLists.
2035 2008-01-17 Alexander Larsson <alexl@redhat.com>
2038 Add the async find_enclosing_mount version
2039 to the header file too.
2041 2008-01-17 Alexander Larsson <alexl@redhat.com>
2044 Add async version of find_enclosing_mount
2045 with default implementation.
2047 2008-01-17 Alexander Larsson <alexl@redhat.com>
2052 Allow calls to implementation of copy and write
2053 even if the type of the file implementations is
2054 different. This can be used to implement native
2055 upload and download calls in a vfs.
2058 (g_local_file_move):
2059 Protect against the case where move is called
2060 with one file not being local.
2062 Make sure we call the progress callback once
2063 in the native move operation so that the caller
2064 knows how many bytes were copied.
2066 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2069 * gdatainputstream.c:
2071 * gfileoutputstream.c:
2076 * gunixmounts.c: Corrected some typos in the documentation:
2077 occured -> occurred.
2078 its -> it's (where appropriate).
2080 2008-01-16 Alexander Larsson <alexl@redhat.com>
2084 Add g_file_query_exists (#508771)
2086 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2091 * gvolume.c: For async functions that have no non-async
2092 version, document that the GAsyncReadyCallback may be NULL.
2095 2008-01-15 Alexander Larsson <alexl@redhat.com>
2097 * gmemoryinputstream.c:
2098 * gmemoryoutputstream.c:
2099 Don't do pointer arithmetic on void * (#508602)
2100 Patch from Kazuki IWAMOTO
2102 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2104 * === Released 2.15.2 ===
2106 2008-01-14 Alexander Larsson <alexl@redhat.com>
2108 * gfile.c (g_file_monitor_file):
2109 Don't set error here, since we fallback to polling monitor.
2111 2008-01-14 Alexander Larsson <alexl@redhat.com>
2114 (g_file_monitor_directory):
2115 (g_file_monitor_file):
2116 Add GError to file monitor calls
2118 * glocaldirectorymonitor.c:
2119 * glocaldirectorymonitor.h:
2121 * glocalfilemonitor.c:
2122 * glocalfilemonitor.h:
2124 Update for above change
2126 2008-01-14 Alexander Larsson <alexl@redhat.com>
2130 Handle root correctly in g_file_get_relative_path (#508719)
2132 2008-01-14 Alexander Larsson <alexl@redhat.com>
2135 Clean up docs and example for GAsyncResult (#508074)
2137 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2139 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2140 and correct some spelling mistakes. Bug #508108.
2142 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2144 * glocalfileinfo.c: Add a comment.
2146 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2148 * gfileinfo.c: GFileInfo description: Mention
2149 how to actually set attributes in a GFile and how to discover
2150 which attributes are settable. Bug #508378.
2152 2008-01-10 A. Walton <awalton@svn.gnome.org>
2154 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2155 (g_app_info_get_default_for_type):
2156 Check for NULL content types.
2158 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2160 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2162 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2164 * gfile.c: *_async() functions: Several small corrections
2165 to the documentation, mostly correcting copy/paste errors
2166 and improving some sentences.
2168 2008-01-09 Dan Winship <danw@gnome.org>
2170 * glocalfile.c (get_unique_filename): x86_64 fix
2172 2008-01-09 Alexander Larsson <alexl@redhat.com>
2177 Add g_unix_mount_guess_should_display and use
2178 for unix volume monitor backend.
2179 This means we more or less show what the
2180 gnome-vfs backend did.
2181 Based on patch from Padraig O'Briain
2183 2008-01-09 Alexander Larsson <alexl@redhat.com>
2187 Add g_themed_icon_new_with_default_fallbacks
2190 Use default fallbacks for icons
2192 2008-01-09 Alexander Larsson <alexl@redhat.com>
2195 * gmountoperation.[ch]:
2196 Change the API a bit so that unhandled methods
2197 get reported via the reply, rather than by
2198 the signal emission return value. This is because
2199 some handlers can't know this immediately without
2200 doing I/O, and this is an async operation that
2203 2008-01-09 Alexander Larsson <alexl@redhat.com>
2206 * fam/gfamdirectorymonitor.c:
2207 * fam/gfamfilemonitor.c:
2208 Fix double free crash (#508224)
2209 Patch from Joe Marcus Clarke
2211 008-01-07 Matthias Clasen <mclasen@redhat.com>
2213 * === Released 2.15.1 ===
2215 2008-01-07 Alexander Larsson <alexl@redhat.com>
2217 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2218 Fix warning (#507835)
2220 2008-01-07 Alexander Larsson <alexl@redhat.com>
2223 Pass --internal to glib-genmarshal
2226 * gmountoperation.c:
2228 Use better types for signal arguments (#507822)
2230 2008-01-07 Alexander Larsson <alexl@redhat.com>
2233 Build test subdir after .
2234 Remove gdirectorymonitor.[ch]
2236 * gdirectorymonitor.[ch]:
2240 Remove GDirectoryMonitor and make
2241 GFileMonitor the baseclass for both file and
2242 directory monitors. Lift the more generic
2243 rate limiting code from GDirectoryMonitor
2247 * fam/gfamdirectorymonitor.[ch]:
2248 * inotify/ginotifydirectorymonitor.[ch]:
2249 * inotify/inotify-helper.c:
2250 * glocaldirectorymonitor.[ch]:
2253 Update for the removed GDirectoryMonitor.
2255 * gmemoryoutputstream.c:
2256 Remove ununsed variable
2258 2008-01-07 Alexander Larsson <alexl@redhat.com>
2260 * gmemoryinputstream.c:
2261 Translate error strings
2264 * gmemoryoutputstream.[ch]:
2265 New implementation that avoids using GByteArray
2266 in implementation and API. (#506377)
2268 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2270 * tests/*: Add a test for memory input streams.
2272 * Makefile.am: Add tests to SUBDIRS.
2274 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2276 * glocalfilemonitor.c:
2277 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2280 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2282 * gdesktopappinfo.c: Fix a docs typo.
2284 * gfileattribute.c: Add information about extended attributes
2285 to the documentation. (#505058)
2287 2008-01-04 Alexander Larsson <alexl@redhat.com>
2290 * gmountoperation.c:
2291 Use the right type (uint) for the ask_password signal.
2293 2008-01-04 Alexander Larsson <alexl@redhat.com>
2298 Add g_app_info_supports_files()
2299 Remove desktop arg from g_app_info_should_show().
2301 * gdesktopappinfo.[ch]:
2302 Implement g_app_info_supports_files() and new should_show()
2303 Add g_desktop_app_info_set_desktop_env() to set the desktop
2304 for should_show(). (This will be set by gtk+ later)
2306 2008-01-04 Alexander Larsson <alexl@redhat.com>
2309 * gmemoryinputstream.[ch]:
2310 Improve API so that you can use multiple chunks
2311 of memory and custom destroy functions. (#506374)
2313 2008-01-03 Alexander Larsson <alexl@redhat.com>
2316 Handle NULL attribute matchers safely, as we return this
2317 for empty attribute matcher strings.
2319 2008-01-03 Alexander Larsson <alexl@redhat.com>
2321 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2322 Add /usr/local to list of internal mountpoints
2324 2008-01-03 Alexander Larsson <alexl@redhat.com>
2327 Check for HAVE_LCHOWN (#505887)
2329 2008-01-03 Alexander Larsson <alexl@redhat.com>
2333 Add define for selinux context attribute.
2334 Fix missing : -> :: namespace separator change
2335 Fix missing _ -> - name change for xattr-sys.
2338 2008-01-03 Alexander Larsson <alexl@redhat.com>
2341 Link to libglib and libgobject directly (#504879)
2342 Patch from Sebastien Bacher
2344 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2346 * gfile.c: Expanded the g_file_new_for_commandline_arg
2347 description a bit, based on the code and the docs of the
2348 other g_file_new_for_* functions.
2350 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2352 * gfilemonitor.h: Fixed typo in docs.
2354 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2356 Updates to GIO documentation. (#506395, Mikael Hermansson)
2358 * gcontenttype.c: Describe memory management for return value of
2359 g_content_types_get_registered(). Missing piece from #505815.
2360 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2361 GVolume, GDrive, GMounts, which hopefully gives the user less
2362 confusions when using this API. Following explainations from
2363 Alexander Larsson on gtk-devel-list.
2365 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2367 * gfileinfo.c: Expand the long description.
2369 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2372 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2373 fix builds with --disable-visibility. (#500273, Christian Persch)
2375 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2377 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2378 in the list of returned app infos.
2380 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2382 * gappinfo.c: Fix a cross-reference
2384 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2386 * gfileinputstream.c:
2387 * gfileoutputstream.c:
2391 * gdesktopappinfo.c:
2393 * gfileinfo.c: Documentation updates.
2395 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2397 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2400 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2402 * gcontenttype.c (g_content_types_get_registered): Don't return
2403 freed memory (#505815, Mikael Hermansson)
2405 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2407 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2408 used to detect statbuf->st_blocks. (#505042)
2410 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2412 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2413 environment handling. (#504829, Cosimo Cecchi)
2415 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2417 * gappinfo.c: Doc improvements
2419 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2422 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2424 * === Released 2.15.0 ===
2426 2007-12-20 Hans Breuer <hans@breuer.org>
2428 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2429 with symbols gwin32appinfo.obj, added gmount.obj
2430 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2432 2007-12-20 Alexander Larsson <alexl@redhat.com>
2438 * gfilenamecompleter.c:
2441 * gpollfilemonitor.c:
2442 File attribute renames:
2444 fs:: -> filesystem::
2445 id::fs -> id::filesystem
2447 2007-12-20 Alexander Larsson <alexl@redhat.com>
2456 Add GMountUnmountFlags to all unmount and
2458 Add g_mount_remount() call.
2460 2007-12-20 Alexander Larsson <alexl@redhat.com>
2462 * gvfs.c (get_default_vfs):
2463 Fix unused variable warning
2465 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2467 * pltcheck.sh: Update
2469 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2471 * gunionvolumemonitor.c:
2472 * gunixmount.c: Remove C99 comments
2474 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2476 * gio.symbols: Add some missing symbols
2478 2007-12-19 Alexander Larsson <alexl@redhat.com>
2481 Make g_io_modules_load_all_in_directory not unuse
2482 loaded modules so that users of it can do stuff
2484 Init internal "module" types.
2485 Initialize static prio and name for types so that
2486 we don't have to load modules to get it.
2488 * gnativevolumemonitor.h:
2490 Move is_supported to parent class so that
2491 non-native monitors can avoid being initialized
2492 too. (For instance GDaemonVolumeMonitor if we're
2493 not using GDaemonVfs.)
2495 * glocaldirectorymonitor.[ch]:
2496 * glocalfilemonitor.[ch]:
2497 * gunionvolumemonitor.c:
2498 * gunixvolumemonitor.c:
2500 Find plugins using the static prio+name to
2501 avoid unnecessarily loading the modules.
2503 2007-12-19 Alexander Larsson <alexl@redhat.com>
2508 2007-12-19 Alexander Larsson <alexl@redhat.com>
2510 * gunionvolumemonitor.c:
2511 Store the native type as GType, not class so that
2512 we can unload it. But still avoid unnecessarily
2515 2007-12-19 David Zeuthen <davidz@redhat.com>
2517 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2518 add signals 'disconnected' and 'eject-button' on GDrive. Add
2519 signal 'removed' on GVolume and 'unmounted' on GMount.
2521 * gdrive.c: (g_drive_base_init):
2523 * gfile.c: (g_file_mount_mountable),
2524 (g_file_mount_enclosing_volume):
2527 * gmount.c: (g_mount_base_init):
2529 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2530 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2531 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2535 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2537 * *.c: Fix up includes in the section docs.
2539 2007-12-17 Alexander Larsson <alexl@redhat.com>
2541 * gnativevolumemonitor.h:
2542 * gunionvolumemonitor.c:
2543 * gunixvolumemonitor.c:
2544 Add is_supported() to GNativeVolumeMonitorClass so
2545 that we can avoid having to create an object to see
2546 if the backend is supported at runtime.
2547 Also add name member and an env var to pick a specific
2548 volume monitor backend.
2552 Add cancellable to _g_mount_get_for_mount_path()
2554 * glocaldirectorymonitor.c:
2555 * glocalfilemonitor.c:
2556 Avoid loading and unloading modules while sorting.
2558 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2561 * gunixmounts.[hc]: Namespace waste reduction, move some
2562 g_get_unix_mount functions to the g_unix_mount namespace.
2565 * gunixvolumemonitor.c:
2567 * glocaldirectorymonitor.c: Update all callers.
2569 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2571 2007-12-17 Alexander Larsson <alexl@redhat.com>
2574 Add doc comments about what GFile operations are
2575 guaranteed to not block.
2577 2007-12-17 Alexander Larsson <alexl@redhat.com>
2580 Add missing #ifdef fixing OSX build.
2581 (#503334, patch from Richard Hult)
2583 2007-12-14 David Zeuthen <davidz@redhat.com>
2587 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2588 (g_mount_eject), (g_mount_eject_finish):
2590 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2591 (get_volume_for_uuid), (get_mount_for_uuid),
2592 (g_union_volume_monitor_class_init),
2593 (get_default_native_type_with_exclude), (get_default_native_type),
2594 (get_native_type), (update_native_type),
2595 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2596 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2597 (g_unix_mount_can_eject), (eject_unmount_cb),
2598 (eject_unmount_read_error), (eject_unmount_do),
2599 (g_unix_mount_unmount), (g_unix_mount_eject),
2600 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2601 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2602 (g_unix_mount_point_guess_can_eject):
2604 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2605 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2606 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2607 (g_unix_volume_mount), (g_unix_volume_eject),
2608 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2609 * gunixvolumemonitor.c: (get_volume_for_uuid),
2610 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2612 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2613 (g_volume_eject), (g_volume_eject_finish):
2615 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2616 (g_volume_monitor_get_mount_for_uuid):
2619 Provide eject() on both GMount and GVolume and utility functions
2620 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2621 ejected. Introduce the concept of UUID's and wire it into GVolume
2622 and GMount and provide API on GVolumeMonitor to find such
2623 instances. Also handle the case where an external
2624 GNativeVolumeMonitor fails to initialize. Lock around the
2625 _g_get_mount_for_mount_path() function such that volume monitor
2626 implementations won't have to do locking themselves.
2628 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2630 * gdesktopappinfo.c:
2636 * gvolume.h: Documentation updates
2638 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2641 * gfile.h: Doc updates
2643 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2646 * gdesktopappinfo.c: Use hash table iterators.
2648 2007-12-14 Alexander Larsson <alexl@redhat.com>
2651 * gfileattribute.[ch]:
2652 * gfileattribute-priv.h:
2653 Move GFileAttributeValue to a private header, as
2657 Make set_attribute take a type + a pointer instead
2658 of a GFileAttributeValue.
2661 Fix up for above changes.
2662 Add g_file_info_get_attribute_data to get
2663 all info in one call, g_file_info_get_attribute_status
2664 to get the status and g_file_info_get_attribute_as_string.
2668 * glocalfileinfo.[ch]:
2672 Make _guess_type static.
2674 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2677 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2678 made mkenums and friends use temporary files to avoid leaving
2679 empty generated files on failure (#503470).
2681 2007-12-14 Alexander Larsson <alexl@redhat.com>
2683 * gmountoperation.h:
2686 2007-12-14 Alexander Larsson <alexl@redhat.com>
2690 * gfileattribute.[ch]:
2693 * glocalfileoutputstream.c:
2694 * gmountoperation.[ch]:
2695 * goutputstream.[ch]:
2696 Clean up all flags enums to not have _FLAGS in them
2697 Make the names of some of the enums better.
2702 2007-12-14 Michael Natterer <mitch@imendio.com>
2704 * gio.symbols: fix g_io_scheduler symbol names.
2706 2007-12-14 Alexander Larsson <alexl@redhat.com>
2712 * gbufferedinputstream.h:
2713 * gbufferedoutputstream.h:
2716 * gdatainputstream.h:
2717 * gdataoutputstream.h:
2718 * gdesktopappinfo.h:
2719 * gdirectorymonitor.h:
2723 * gfileenumerator.h:
2726 * gfileinputstream.h:
2728 * gfilenamecompleter.h:
2729 * gfileoutputstream.h:
2730 * gfilterinputstream.h:
2731 * gfilteroutputstream.h:
2739 * gmemoryinputstream.h:
2740 * gmemoryoutputstream.h:
2742 * gmountoperation.h:
2745 * gsimpleasyncresult.h:
2747 * gunixinputstream.h:
2749 * gunixoutputstream.h:
2753 * inotify/Makefile.am:
2754 Only allow including <gio/gio.h> from apps
2756 2007-12-14 Alexander Larsson <alexl@redhat.com>
2758 * gioscheduler.[ch]:
2759 * gsimpleasyncresult.c:
2760 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2761 Split out the send_to_mainloop call into two versions instead
2762 of having the block argument.
2764 2007-12-13 Alexander Larsson <alexl@redhat.com>
2766 * gcancellable.[ch]:
2768 * gbufferedinputstream.c:
2769 * gfileenumerator.c:
2770 * gfileinputstream.c:
2771 * gfileoutputstream.c:
2775 g_push/pop_current_cancellable ->
2776 g_cancellable_push/pop_current
2778 2007-12-13 Alexander Larsson <alexl@redhat.com>
2782 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2784 2007-12-13 Alexander Larsson <alexl@redhat.com>
2786 * gmountoperation.h:
2787 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2789 2007-12-12 Alexander Larsson <alexl@redhat.com>
2792 Fix race condition when freeing proxy in
2793 g_io_job_send_to_mainloop().
2795 2007-12-12 Alexander Larsson <alexl@redhat.com>
2801 Make attribute namespace separator "::" instead of ":".
2802 Use - instead of _ as separator in attribute names.
2804 2007-12-12 Alexander Larsson <alexl@redhat.com>
2806 * gbufferedinputstream.h:
2807 * gbufferedoutputstream.h:
2808 * gdatainputstream.h:
2809 * gdataoutputstream.h:
2810 * gdirectorymonitor.h:
2811 * gfileenumerator.h:
2812 * gfileinputstream.h:
2814 * gfileoutputstream.h:
2815 * gfilterinputstream.h:
2816 * gfilteroutputstream.h:
2818 * glocalfileinputstream.h:
2819 * glocalfileoutputstream.h:
2820 * gmemoryinputstream.h:
2821 * gmemoryoutputstream.h:
2822 * gnativevolumemonitor.h:
2824 * gunixinputstream.h:
2825 * gunixoutputstream.h:
2828 s/parent/parent_instance/ in GObjects
2830 2007-12-12 Alexander Larsson <alexl@redhat.com>
2835 No need for padding for interfaces
2837 2007-12-12 Alexander Larsson <alexl@redhat.com>
2841 * gbufferedinputstream.c:
2842 * gbufferedoutputstream.c:
2845 * gdatainputstream.[ch]:
2846 * gdesktopappinfo.c:
2847 * gdirectorymonitor.c:
2849 * gfileattribute.[ch]:
2852 * gfileinputstream.h:
2853 * gfilemonitor.[ch]:
2854 * gfileoutputstream.[ch]:
2855 * gfilterinputstream.h:
2856 * gfilteroutputstream.h:
2859 * gloadableicon.[ch]:
2860 * gmemoryinputstream.c:
2861 * gmountoperation.c:
2863 Fix up a bunch of details in the docs.
2868 2007-12-11 David Zeuthen <davidz@redhat.com>
2870 Rework how volumes, drives and volume monitoring is
2871 done. Previosly the model was
2873 GDrive <1-1> GVolume
2875 where a GDrive instance represented a mount point and a GVolume
2876 instance represented a mounted file system. This patch changes it
2879 GDrive <1-N> GVolume <1-1> GMount
2881 where GMount now serves the purpose of the old GVolume and the new
2882 GVolume serves the purpose of the old GDrive. In addition the new
2883 GDrive interface is used to represent a collection of GVolume
2884 instances (typically partitions) and also contains utility to query
2885 the state of the physical drive the GDrive object represents (such
2886 as checking for media, polling the drive, ejecting the media etc.).
2888 Also implement mounting and unmounting in the Unix volume monitor
2889 backend. A subquent patch will introduce GDrive support for ejection
2893 * gdrive.c: (g_drive_is_media_check_automatic),
2894 (g_drive_is_media_removable), (g_drive_has_media),
2895 (g_drive_can_poll_for_media), (g_drive_eject),
2896 (g_drive_eject_finish), (g_drive_poll_for_media),
2897 (g_drive_poll_for_media_finish):
2899 * gfile.c: (g_file_find_enclosing_mount):
2902 * glocaldirectorymonitor.c:
2903 (g_local_directory_monitor_constructor), (mounts_changed):
2904 * glocalfile.c: (get_mount_info),
2905 (g_local_file_find_enclosing_mount),
2906 (g_local_file_file_iface_init):
2907 * gnativevolumemonitor.h:
2908 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2909 (get_connected_drives), (g_union_volume_monitor_class_init),
2910 (child_volume_added), (child_volume_removed),
2911 (child_volume_changed), (child_mount_added), (child_mount_removed),
2912 (child_mount_pre_unmount), (child_mount_changed),
2913 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2914 (g_union_volume_monitor_remove_monitor),
2915 (_g_mount_get_for_mount_path):
2916 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2917 (guess_system_internal), (_g_get_unix_mounts),
2918 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2919 (g_unix_mount_free), (g_unix_mount_compare),
2920 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2921 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2922 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2923 (type_to_icon), (g_unix_mount_guess_name),
2924 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2925 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2926 (_resolve_symlink), (_resolve_dev_root):
2928 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2929 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2930 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2931 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2932 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2933 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2934 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2935 (g_unix_volume_volume_iface_init):
2937 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2938 (get_mounts), (get_volumes), (get_connected_drives),
2939 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2940 (mountpoints_changed), (mounts_changed),
2941 (g_unix_volume_monitor_init),
2942 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2943 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2944 * gunixvolumemonitor.h:
2945 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2946 (g_volume_mount), (g_volume_mount_finish):
2948 * gvolumemonitor.c: (g_volume_monitor_class_init),
2949 (g_volume_monitor_get_connected_drives),
2950 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2953 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2955 * gmountoperation.h (GPasswordFlags): Close the gap
2957 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2959 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2961 * gdesktopappinfo.[hc]: Remove _-prefixes
2963 2007-12-10 Tor Lillqvist <tml@novell.com>
2965 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2968 2007-12-10 Alexander Larsson <alexl@redhat.com>
2970 * gfile.c (g_file_set_display_name):
2971 Don't hardcode '/' (#502727)
2973 2007-12-09 Hans Breuer <hans@breuer.org>
2975 * makefile.msc : follow lib naming convention
2976 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2977 for user and group name, tested with ../tests/gio-ls
2979 2007-12-09 A. Walton <awalton@svn.gnome.org>
2981 * gdesktopappinfo.c:
2987 * gfileenumerator.c:
2992 * gmemoryinputstream.c:
2993 * gmemoryoutputstream.c:
2995 * gsimpleasyncresult.c:
2996 More documentation cleanup and filling in missing information, bringing
2997 GIO to 99% symbol coverage.
2999 2007-12-08 Hans Breuer <hans@breuer.org>
3001 [gio compiles and links on win32, not sure how much already works]
3002 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3003 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3004 base on win32 API; prefer g_lstat() over lstat(); instead of
3005 localtime_r() use an all GLib implementation on win32;
3006 get_mount_info() still needs a win32 specifc implementation
3007 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3008 win32_get_file_user_info to get owner/group info without uid/gid
3009 * glocalfileinputstream.c : include <io.h> on win32
3010 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3011 definition, use g_win32_ftruncate() for G_OS_WIN32
3012 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3013 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3014 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3015 * makefile.msc : updated
3017 2007-12-07 Alexander Larsson <alexl@redhat.com>
3019 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3020 Avoid warning spew if error == NULL
3022 2007-12-07 Alexander Larsson <alexl@redhat.com>
3025 Update docs wrt etags
3027 2007-12-06 Alexander Larsson <alexl@redhat.com>
3030 Include sys/types.h for dev_t (#501919)
3032 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3036 Make abicheck and pltcheck pass.
3038 2007-12-05 Alexander Larsson <alexl@redhat.com>
3041 * giomodule-priv.h: Added.
3042 * glocaldirectorymonitor.c:
3043 * glocalfilemonitor.c:
3044 * gunionvolumemonitor.c:
3046 Actually add the declaration of _g_io_modules_ensure_loaded
3048 2007-12-05 Alexander Larsson <alexl@redhat.com>
3050 * gdatainputstream.c:
3055 * glocaldirectorymonitor.c:
3056 * glocalfilemonitor.c:
3057 * gunionvolumemonitor.c:
3059 Make g_io_modules_ensure_loaded a private function and
3060 don't pass in the dirname. This means we can do magic
3061 directory finding in the win32 version.
3062 Export the actual load-modules-in-directory code so that
3063 gvfs can reuse that.
3065 2007-12-05 Alexander Larsson <alexl@redhat.com>
3067 * gbufferedinputstream.c:
3068 * gbufferedoutputstream.c:
3071 * gfileenumerator.[ch]:
3072 * gfileinputstream.c:
3073 * gfileoutputstream.[ch]:
3074 * gfilterinputstream.c:
3075 * gfilteroutputstream.c:
3076 * ginputstream.[ch]:
3078 * glocalfileenumerator.c:
3079 * glocalfileinputstream.c:
3080 * glocalfileoutputstream.c:
3081 * gmemoryinputstream.c:
3082 * gmemoryoutputstream.c:
3083 * goutputstream.[ch]:
3086 * gunixinputstream.c:
3087 * gunixoutputstream.c:
3088 Rename all struct members named:
3089 read, write, close, truncate, or mount
3090 to foo_fn, as these are reserved names
3091 and could be defined as macros in libc.
3094 2007-12-04 Alexander Larsson <alexl@redhat.com>
3097 (g_output_stream_close):
3098 Only call flush if non-null.
3100 2007-11-30 Dan Winship <danw@gnome.org>
3102 * ginputstream.c (g_input_stream_set_pending): Make this take a
3103 GError and return a gboolean, and do the "outstanding operation"
3104 check (and the "stream is already closed" check) itself.
3105 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3107 * goutputstream.c (g_output_stream_set_pending)
3108 (g_output_stream_clear_pending): Likewise
3110 * gbufferedinputstream.c:
3111 * gfileinputstream.c:
3112 * gfileoutputstream.c: Update for that
3114 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3115 Like g_simple_async_report_error_in_idle, but takes a GError
3116 rather than building one.
3118 2007-11-30 Dan Winship <danw@gnome.org>
3120 * goutputstream.c: Don't cheat and unset the "pending" flag around
3121 inner calls. Instead, call the class method directly rather than
3122 the wrapper function that checks "pending"
3124 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3126 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3128 2007-12-03 Hans Breuer <hans@breuer.org>
3130 [start of port to win32/msvc]
3131 * gcancellable.c : HAVE_UNIST_H and _pipe()
3132 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3133 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3134 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3136 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3137 * glocalvfs.c : use HAVE_PWD_H
3138 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3139 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3140 * Makefile.am : added to EXTRA_DIST
3142 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3144 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3147 2007-12-03 Alexander Larsson <alexl@redhat.com>
3150 Handle OSX style xattrs API (#500506)
3152 2007-12-03 Alexander Larsson <alexl@redhat.com>
3156 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3158 2007-12-02 A. Walton <awalton@svn.gnome.org>
3162 Documentation accuracy fixes.
3164 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3166 * gioenumtypes.c.template: Fix typo.
3168 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3170 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3172 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3174 * gdirectorymonitor.c:
3175 * gfilemonitor.c: Add properties
3177 * gbufferedoutputstream.c: Don't mark buffer-size property
3180 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3182 * gbufferedoutputstream.c: Add auto-grow property.
3184 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3186 * *.c: Unify the capitalization of section headings.
3188 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3190 * gmountoperation.c: Add properties
3192 * gdatainputstream.c: Turn byte-order and newline-type into
3195 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3197 * gioenumtypes.[hc].template: Templates for enum registration
3199 * Makefile.am: Generate gioenumtypes.[hc]
3201 * gio.h: Include gioenumtypes.h
3203 * gfile.h: Add some explicit nicks.
3205 * gio.symbols: Add new symbols
3207 * pltcheck.sh: Adjust
3209 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3211 * *.c: Explain etags and link to the explanation
3213 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3215 * *.c: Explain I/O priority.
3217 * *.c: More coding style fixes.
3219 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3221 * gasyncresult.c: Add another paragraph to the intro,
3222 adjust coding style of example.
3224 2007-11-29 A. Walton <awalton@svn.gnome.org>
3227 Fixes unknown meaning in GAppLaunchContext docs.
3229 Clarify asynchronous ops.
3231 Fix entity tag docs.
3234 Provides missing gtk-doc section, fixes API docs slighly.
3235 * gsimpleasyncresult.c:
3236 Fill in missing info in docs.
3237 * gunixinputstream.c:
3238 * gunixoutputstream.c:
3239 Be more expressive in short description.
3241 Remove gtk-doc stubs for non-public API.
3243 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3245 * *.c: Coding style fixups
3247 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3249 * inotify/inotify-helper.c: Don't export the lock from libgio.
3251 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3254 * abicheck.sh: Fix copy-and-paste leftovers
3256 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3258 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3260 2007-11-28 Alexander Larsson <alexl@redhat.com>
3264 Removed unnecessary file
3266 * gdesktopappinfo.[ch]:
3269 * glocaldirectorymonitor.[ch]:
3271 * glocalfileenumerator.[ch]:
3272 * glocalfileinputstream.[ch]:
3273 * glocalfilemonitor.[ch]:
3274 * glocalfileoutputstream.[ch]:
3276 * gnativevolumemonitor.c:
3277 * gpollfilemonitor.[ch]:
3278 * gunionvolumemonitor.[ch]:
3281 * gunixvolumemonitor.[ch]:
3284 * inotify/ginotifydirectorymonitor.[ch]:
3285 * inotify/ginotifyfilemonitor.[ch]:
3286 * inotify/inotify-helper.c:
3287 Append _ to all internal functions
3291 Export symbols needed for modules
3293 2007-11-28 Alexander Larsson <alexl@redhat.com>
3296 * abicheck.sh: Added.
3297 * makegioalias.pl: Added.
3298 * pltcheck.sh: Added.
3299 * gio.symbols: Added.
3302 Initial work on adding symbol handling.
3305 Correct ifdef guard name
3308 * inotify/Makefile.am:
3309 * xdgmime/Makefile.am:
3310 Include toplevel Makefile.decl
3312 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3314 * gcontenttype.c: Move doc comments to the unix section.
3316 * *.[hc]: More trivial doc corrections.
3318 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3320 * gpollfilemonitor.c:
3324 * gdesktopappinfo.c:
3329 * gdatainputstream.c:
3330 * gdatainputstream.h:
3331 * gdataoutputstream.c:
3332 * gdataoutputstream.h:
3333 * gfileinfo.h: Doc cleanups
3335 2007-11-28 Andre Klapper <a9016009@gmx.de>
3337 * gdesktopappinfo.c: Fix a typo.
3339 2007-11-27 Andre Klapper <a9016009@gmx.de>
3341 * glocalfileoutputstream.c: Fix a typo.
3343 2007-11-27 Alexander Larsson <alexl@redhat.com>
3346 Don't include removed headers
3348 2007-11-27 Alexander Larsson <alexl@redhat.com>
3351 * gsocketinputstream.[ch]: Removed.
3352 * gsocketoutputstream.[ch]: Removed.
3353 * gunixinputstream.[ch]: Added.
3354 * gunixoutputstream.[ch]: Added.
3355 Renamed GSocket*Stream to GUnix*Stream and made
3356 it unix-only, since its not really only for sockets
3357 and it only works on unix (but is highly useful there).
3359 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3365 * gbufferedinputstream.c:
3366 * gbufferedinputstream.h:
3367 * gbufferedoutputstream.c:
3368 * gbufferedoutputstream.h:
3372 * gdatainputstream.c:
3373 * gdatainputstream.h:
3374 * gdataoutputstream.c:
3375 * gdataoutputstream.h:
3376 * gdirectorymonitor.c:
3377 * gdirectorymonitor.h:
3384 * gfileenumerator.c:
3385 * gfileenumerator.h:
3390 * gfileinputstream.c:
3391 * gfileinputstream.h:
3394 * gfilenamecompleter.c:
3395 * gfilenamecompleter.h:
3396 * gfileoutputstream.c:
3397 * gfileoutputstream.h:
3398 * gfilterinputstream.c:
3399 * gfilterinputstream.h:
3400 * gfilteroutputstream.c:
3401 * gfilteroutputstream.h:
3414 * glocalfileoutputstream.c:
3415 * gmemoryinputstream.c:
3416 * gmemoryinputstream.h:
3417 * gmemoryoutputstream.c:
3418 * gmemoryoutputstream.h:
3419 * gmountoperation.c:
3420 * gmountoperation.h:
3423 * gpollfilemonitor.c:
3426 * gsimpleasyncresult.c:
3427 * gsimpleasyncresult.h:
3428 * gsocketinputstream.c:
3429 * gsocketinputstream.h:
3430 * gsocketoutputstream.c:
3431 * gsocketoutputstream.h:
3438 * gunixvolumemonitor.c:
3447 Bumps documentation to 93% symbol coverage, touching most
3448 of the public files. Fixes broken function documentation prototypes.
3449 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3450 gtk-doc headers in private files.
3452 2007-11-27 Jürg Billeter <j@bitron.ch>
3454 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3455 (g_buffered_input_stream_read_byte):
3456 * gbufferedinputstream.h:
3457 New functions for efficient access to buffer and simple single byte
3460 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3461 (g_data_input_stream_read_until):
3462 * gdatainputstream.h:
3463 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3464 read_until with multiple stop chars.
3466 2007-11-27 Alexander Larsson <alexl@redhat.com>
3470 * inotify/Makefile.am:
3471 Use the user-specified giomoduledir
3473 2007-11-27 Alexander Larsson <alexl@redhat.com>
3477 Add catch-all gio.h header
3478 Don't install gdummyfile.h
3480 2007-11-26 Alexander Larsson <alexl@redhat.com>
3482 * Makefile.am (gioinclude_HEADERS):
3483 Remove trailing whitespace
3485 2007-11-26 Alexander Larsson <alexl@redhat.com>
3487 Merge gio-standalone into glib
3489 2007-11-25 Christian Kellner <gicmo@gnome.org>
3491 * gio/goutputstream.c:
3492 Fix small mistake in the docs.
3494 2007-11-21 Christian Persch <chpe@gnome.org>
3496 * gio/glocalfile.c: (g_local_file_trash):
3497 Convert filenames to UTF-8 for GError.
3498 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3499 as per xdg base dir spec.
3501 2007-11-21 Christian Persch <chpe@gnome.org>
3503 * gio/gdesktopappinfo.c:
3504 Use that g_key_file_to_data cannot fail.
3506 Use stock defines for the key file group and key names.
3509 2007-11-21 Alexander Larsson <alexl@redhat.com>
3512 (copy_stream_with_progress):
3513 Make sure we do a final progress callback with
3514 the full total size.
3516 2007-11-21 Alexander Larsson <alexl@redhat.com>
3519 Export g_file_copy_attributes
3520 Remove padding as its not needed for interfaces
3522 2007-11-20 Alexander Larsson <alexl@redhat.com>
3527 Add G_IO_ERROR_WOULD_MERGE for
3528 copy/move dir on dir with overwrite.
3530 2007-11-20 Alexander Larsson <alexl@redhat.com>
3533 * gio/glocalfileinfo.c:
3534 Add COPY_NAME (this is an optional
3535 non-modified utf8 version of the name) that
3538 2007-11-20 Alexander Larsson <alexl@redhat.com>
3540 * gio/glocalfileenumerator.c:
3541 Report errors as GIOError, not GFileError
3543 2007-11-16 Alexander Larsson <alexl@redhat.com>
3545 * gio/glocalfileoutputstream.c:
3546 * gio/gwin32appinfo.c:
3547 Fix typos in strings.
3548 Patch from Luca Ferretti <elle.uca@libero.it>
3550 2007-11-15 Alexander Larsson <alexl@redhat.com>
3553 Post release version bump
3555 === gio-standalone 0.1.2 ===
3557 2007-11-15 Alexander Larsson <alexl@redhat.com>
3559 * docs/reference/gio/Makefile.am:
3560 Fix up distcheck by removing weird
3566 2007-11-14 Alexander Larsson <alexl@redhat.com>
3568 * gio/gdesktopappinfo.c:
3569 * gio/glocaldirectorymonitor.c:
3571 * gio/glocalfileinfo.c:
3572 * gio/inotify/inotify-sub.c:
3573 * programs/gio-cat.c:
3574 * programs/gio-copy.c:
3575 * programs/gio-info.c:
3576 * programs/gio-ls.c:
3577 * programs/gio-monitor-dir.c:
3578 * programs/gio-monitor-file.c:
3579 * programs/gio-mount.c:
3580 * programs/gio-move.c:
3581 * programs/gio-rm.c:
3582 * programs/gio-save.c:
3583 * programs/gio-trash.c:
3584 Leak fixes from Kjartan Maraas
3586 2007-11-14 Alexander Larsson <alexl@redhat.com>
3588 * gio/fam/fam-helper.c:
3590 * gio/glocalfileinfo.c:
3594 * gio/inotify/inotify-diag.c:
3595 * gio/inotify/inotify-kernel.c:
3596 Various code cleanups from Kjartan Maraas
3598 2007-11-14 Alexander Larsson <alexl@redhat.com>
3600 * gio/gioscheduler.c:
3602 Set up threadpool so that we cache 2 unused
3603 idle threads for at 15 secs. This means we
3604 will reuse thread-local data (like dbus connections)
3607 2007-11-14 Alexander Larsson <alexl@redhat.com>
3609 * gio/fam/fam-helper.c:
3610 * gio/fam/gfamdirectorymonitor.c:
3611 * gio/fam/gfamfilemonitor.c:
3613 * gio/gcontenttype.c:
3614 * gio/gdatainputstream.c:
3615 * gio/gdataoutputstream.c:
3619 * gio/gfileattribute.h:
3620 * gio/gfileenumerator.c:
3622 * gio/ginputstream.c:
3625 * gio/glocalfileinfo.c:
3626 * gio/goutputstream.c:
3627 * gio/gpollfilemonitor.c:
3628 * gio/gsimpleasyncresult.c:
3629 * gio/gunixmounts.c:
3630 * gio/gunixmounts.h:
3631 * gio/inotify/ginotifydirectorymonitor.c:
3632 * gio/inotify/ginotifyfilemonitor.c:
3633 * gio/inotify/inotify-diag.c:
3634 * gio/inotify/inotify-kernel.c:
3635 * gio/inotify/inotify-path.c:
3637 * gio/test-streams.c:
3638 * programs/gio-info.c:
3639 * programs/gio-monitor-dir.c:
3640 * programs/gio-monitor-file.c:
3641 Various code cleanups from Kjartan Maraas
3643 2007-11-13 Alexander Larsson <alexl@redhat.com>
3646 Handle the uri-scheme calls for dummy files
3648 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3650 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3651 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3652 to avoid clash with the C++ keyword.
3654 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3656 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3657 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3659 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3661 * gio/glocaldirectorymonitor.c:
3662 * gio/glocalfilemonitor.c:
3663 * gio/gunionvolumemonitor.c:
3664 Don't use g_once_init_*() for initializations that could fail and
3665 could leave the initialization variable set to 0 but use GOnce.
3666 This prevents a deadlock on the second call when trying to create
3667 a monitor and no monitor type is available. Thanks to Sven Herzberg
3670 2007-11-11 Sven Herzberg <sven@imendio.com>
3672 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3673 #ifdef (make it work on MacOS X again)
3675 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3677 Fixes Changelog for last two commits (sorry guys).
3679 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3681 * gio/gbufferedinputstream.c:
3682 * gio/gdatainputstream.c:
3684 * gio/gfileoutputstream.c:
3685 * gio/gfilterinputstream.c:
3686 * gio/glocalfileinputstream.c:
3689 More consistency fixes in g*stream.c files.
3690 Significant clean of gfile's documentation, filling in of
3691 asynchronous operations documentation.
3693 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3695 * gio/gasyncresult.c:
3696 * gio/gbufferedinputstream.c:
3697 * gio/gbufferedoutputstream.c:
3698 * gio/gcancellable.c:
3699 * gio/gcontenttype.c:
3700 * gio/gdatainputstream.c:
3701 * gio/gdataoutputstream.c:
3702 * gio/gdesktopappinfo.c:
3705 * gio/gfileattribute.c:
3706 * gio/gio/gfileenumerator.c:
3708 * gio/gfileinputstream.c:
3709 * gio/gfilemonitor.c:
3710 * gio/gfileoutputstream.c:
3711 * gio/ginputstream.c:
3713 * gio/gioscheduler.c:
3714 * gio/gloadableicon.c:
3715 * gio/glocalfileoutputstream.c:
3716 * gio/gmemoryoutputstream.c:
3717 * gio/gmountoperation.c:
3718 * gio/goutputstream.c:
3720 * gio/gsimpleasyncresult.c:
3721 * gio/gunionvolumemonitor.c:
3722 * gio/gunixmounts.c:
3723 * gio/gunixvolume.c:
3727 * gio/gvolumemonitor.c:
3728 Updated documentation stubs, working towards consistency and
3731 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3733 * gio/gmemoryoutputstream.c:
3734 * gio/gmemoryoutputstream.h:
3735 Change g_memory_output_stream_set_free_on_close() to
3736 g_memory_output_stream_set_free_data() as this makes more sense and
3737 is more consistent with GMemoryInputStream.
3739 2007-11-07 Alexander Larsson <alexl@redhat.com>
3746 Change how we find the default vfs so that
3747 we can handle a gvfs failing to init
3749 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3751 * gio/gbufferedoutputstream.c:
3752 * gio/gdatainputstream.c:
3753 * gio/gdataoutputstream.c:
3754 * gio/gfileinputstream.c:
3755 * gio/gfileoutputstream.c:
3756 * gio/gfilterinputstream.c:
3757 * gio/gfilteroutputstream.c:
3758 * gio/ginputstream.c:
3759 * gio/gmemoryinputstream.c:
3760 * gio/gmemoryoutputstream.c:
3761 * gio/goutputstream.c:
3762 * gio/gsimpleasyncresult.c:
3763 * gio/gsocketinputstream.c:
3764 * gio/gsocketoutputstream.c:
3765 Add guards to the remaining public functions, add a TODO for
3766 an unimplemented function and remove some useless guards.
3768 2007-11-07 Alexander Larsson <alexl@redhat.com>
3771 Autoconf checks for the various types of
3772 getpwuid_r and getgrgid_r
3774 * gio/glocalfileinfo.c:
3775 Use the autoconf checks from above
3777 2007-11-07 Alexander Larsson <alexl@redhat.com>
3780 (g_local_file_query_filesystem_info):
3781 Some fixes for the statvfs case
3783 2007-11-07 Alexander Larsson <alexl@redhat.com>
3786 (g_local_file_query_filesystem_info):
3787 Pick the "best" of statfs / statvfs for the system
3788 if both are availible.
3790 2007-11-07 Alexander Larsson <alexl@redhat.com>
3792 Solaris fixes from Halton.Huo@Sun.COM:
3799 * gio/glocalfileinfo.c:
3800 Fix for solaris definition of getpwuid_r
3802 * gio/test-streams.c:
3803 Use G_GNUC_PRETTY_FUNCTION
3805 2007-11-07 Alexander Larsson <alexl@redhat.com>
3807 * gio/gdesktopappinfo.c:
3808 (update_default_list):
3809 Remove double semicolon.
3810 Patch from Jens Granseuer
3812 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3814 * docs/reference/gio/gio-sections.txt:
3815 * gio/gbufferedinputstream.c:
3816 * gio/gbufferedinputstream.h:
3817 * gio/gdatainputstream.c:
3818 * gio/gfileenumerator.c:
3819 * gio/gioscheduler.c:
3820 * gio/gunionvolumemonitor.c:
3822 * programs/gio-save.c:
3823 Fix typo: availible -> available. Unfortuntely this breaks API
3824 and ABI as g_buffered_input_stream_get_available() was renamed.
3826 * gio/gunixmounts.c:
3827 * gio/gbufferedinputstream.c:
3828 Add guards for public functions.
3830 2007-11-06 Ross Burton <ross@openedhand.com>
3832 * docs/reference/gio/Makefile.am:
3833 Fix invalid += usage which automake 1.10 doesn't like.
3835 2007-11-06 Alexander Larsson <alexl@redhat.com>
3838 (g_app_launch_context_class_init):
3841 Patch from Ross Burton
3843 2007-11-06 Alexander Larsson <alexl@redhat.com>
3846 Post release version bump
3848 === gio-standalone 0.1.1 ===
3850 2007-11-06 Alexander Larsson <alexl@redhat.com>
3853 Bump version to 0.1.1
3855 * gio/gsimpleasyncresult.c:
3856 (g_simple_async_result_set_from_error):
3857 Remove bogus g_return_if_fail
3859 2007-11-06 Alexander Larsson <alexl@redhat.com>
3862 The name is gio-standalone
3865 Add top src/builddir to includedir
3867 2007-11-06 Alexander Larsson <alexl@redhat.com>
3869 * docs/reference/gio/gio-sections.txt:
3871 * gio/gbufferedinputstream.c:
3872 * gio/gbufferedoutputstream.c:
3873 * gio/gcancellable.c:
3874 * gio/gdatainputstream.h:
3875 * gio/gdataoutputstream.c:
3876 * gio/gdataoutputstream.h:
3877 * gio/gdirectorymonitor.c:
3879 * gio/gfileattribute.c:
3880 * gio/gfileattribute.h:
3881 * gio/gfileenumerator.c:
3882 * gio/gfileenumerator.h:
3885 * gio/gfileinputstream.h:
3886 * gio/gfilemonitor.c:
3887 * gio/gfileoutputstream.h:
3888 * gio/glocalfilemonitor.h:
3889 * gio/glocalfileoutputstream.h:
3890 * gio/gmemoryinputstream.c:
3891 * gio/gmemoryoutputstream.c:
3892 * gio/gmountoperation.c:
3893 * gio/goutputstream.c:
3894 * gio/goutputstream.h:
3896 * gio/gsimpleasyncresult.c:
3897 * gio/gunixmounts.c:
3898 * gio/gunixmounts.h:
3900 * gio/inotify/inotify-helper.c:
3901 Fix gtk-doc warnings
3903 Patch from Ross Burton
3905 2007-11-06 Alexander Larsson <alexl@redhat.com>
3907 * gio/gfilenamecompleter.c:
3908 (g_filename_completer_get_completions):
3911 * gio/gunixvolume.c:
3912 Remove unused function
3914 Patches from Ross Burton
3916 2007-11-06 Alexander Larsson <alexl@redhat.com>
3921 Padding not needed for interfaces
3923 2007-11-06 Alexander Larsson <alexl@redhat.com>
3925 * gio/gfilemonitor.c:
3929 Make giotypes.h an internal file
3932 * gio/gbufferedinputstream.h:
3933 * gio/gbufferedoutputstream.h:
3934 * gio/gcancellable.h:
3935 * gio/gdatainputstream.h:
3936 * gio/gdataoutputstream.h:
3937 * gio/gdirectorymonitor.c:
3938 * gio/gdirectorymonitor.h:
3943 * gio/gfileattribute.h:
3944 * gio/gfileenumerator.h:
3949 * gio/gfilemonitor.c:
3950 * gio/gfilemonitor.h:
3951 * gio/gfilenamecompleter.c:
3952 * gio/gfilenamecompleter.h:
3953 * gio/gfilterinputstream.h:
3954 * gio/gfilteroutputstream.h:
3955 * gio/ginputstream.h:
3956 * gio/gmemoryinputstream.h:
3957 * gio/gmemoryoutputstream.h:
3958 * gio/gmountoperation.c:
3959 * gio/gmountoperation.h:
3960 * gio/gnativevolumemonitor.c:
3961 * gio/goutputstream.h:
3964 * gio/gsimpleasyncresult.c:
3965 * gio/gsimpleasyncresult.h:
3966 * gio/gsocketinputstream.h:
3967 * gio/gsocketoutputstream.h:
3968 * gio/gthemedicon.c:
3969 * gio/gthemedicon.h:
3973 * gio/gvolumemonitor.c:
3974 * gio/gvolumemonitor.h:
3975 Add padding in classes where it seems useful
3976 Don't include giotypes.h from public headers
3977 Move in Class definitions into c file where possible
3982 2007-11-06 Alexander Larsson <alexl@redhat.com>
3984 * docs/reference/gio/gio-docs.xml:
3985 Better structure for API docs
3987 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3990 * gio/gloadableicon.c:
3991 * gio/gsimpleasyncresult.c:
3992 * gio/gthemedicon.c:
3993 Add some more guards to public functions. Only files missing are now
3996 2007-11-06 Alexander Larsson <alexl@redhat.com>
3998 * docs/reference/gio/gio-docs.xml:
3999 Remove old files, add missing ones
4001 2007-11-06 Alexander Larsson <alexl@redhat.com>
4003 * docs/reference/gio/gio-sections.txt:
4006 Hide implementation classes
4008 * gio/gdriveprivate.h:
4009 * gio/gvolumeprivate.h:
4010 Remove non-existing function declarations
4012 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4015 Fix compilation warnings and add guards to the new functions.
4017 * gio/gasyncresult.c:
4019 Add guards to the public functions.
4022 Implement get_path().
4024 2007-11-06 Alexander Larsson <alexl@redhat.com>
4026 * gio/gfilenamecompleter.c:
4027 Make g_filename_completer_get_completions
4028 return char ** instead of GList for
4031 * docs/reference/gio/gio-docs.xml:
4032 * docs/reference/gio/gio-sections.txt:
4034 * gio/gasyncresult.c:
4035 * gio/gbufferedinputstream.c:
4036 * gio/gbufferedoutputstream.c:
4037 * gio/gcancellable.c:
4038 * gio/gcontenttype.c:
4039 * gio/gdatainputstream.c:
4040 * gio/gdataoutputstream.c:
4041 * gio/gdesktopappinfo.c:
4042 * gio/gdirectorymonitor.c:
4046 * gio/gfileattribute.c:
4047 * gio/gfileenumerator.c:
4050 * gio/gfileinputstream.c:
4051 * gio/gfilemonitor.c:
4052 * gio/gfilenamecompleter.c:
4053 * gio/gfilenamecompleter.h:
4054 * gio/gfileoutputstream.c:
4055 * gio/gfilterinputstream.c:
4057 * gio/ginputstream.c:
4059 * gio/gioscheduler.c:
4060 * gio/gloadableicon.c:
4061 * gio/glocaldirectorymonitor.c:
4063 * gio/glocalfileinputstream.c:
4064 * gio/glocalfilemonitor.c:
4065 * gio/glocalfileoutputstream.c:
4067 * gio/gmemoryinputstream.c:
4068 * gio/gmemoryoutputstream.c:
4069 * gio/gmountoperation.c:
4070 * gio/goutputstream.c:
4071 * gio/gpollfilemonitor.c:
4073 * gio/gsimpleasyncresult.c:
4074 * gio/gsocketinputstream.c:
4075 * gio/gsocketoutputstream.c:
4076 * gio/gthemedicon.c:
4077 * gio/gunionvolumemonitor.c:
4079 * gio/gunixmounts.c:
4080 * gio/gunixvolume.c:
4081 * gio/gunixvolumemonitor.c:
4085 * gio/gvolumemonitor.c:
4086 * gio/gwin32appinfo.c:
4087 Add (mostly stub) doc strings to public functions.
4088 Patch from Andrew Walton (awalton@gmail.com)
4090 2007-11-06 Alexander Larsson <alexl@redhat.com>
4092 * gio/gappinfo.[ch]:
4093 Added GAppLaunchContext object and pass that to launch.
4094 This allows simple implementation of both
4095 launch-on-screen and startup notification via a gtk+
4096 subclass of GAppLaunchContext
4098 * gio/gdesktopappinfo.c:
4099 Implement GAppLaunchContext API
4101 * gio/gwin32appinfo.c:
4104 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4106 * gio/gmountoperation.c:
4107 Add some guards to GMountOperation's public functions.
4109 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4113 * gio/gcancellable.c:
4114 * gio/gdirectorymonitor.c:
4116 * gio/gfileenumerator.c:
4117 * gio/gfilemonitor.c:,
4118 * gio/gfilenamecompleter.c:
4121 * gio/gioscheduler.c:
4125 * gio/gvolumemonitor.c:
4126 Add even more guards to various public functions.
4128 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4131 Add guards to the public functions of GAppInfo.
4133 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4135 * gio/gcontenttype.c:
4136 Add some more guards for public functions.
4138 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4140 * gio/fam/fam-module.c:
4141 * gio/fam/gfamdirectorymonitor.c:
4142 * gio/fam/gfamdirectorymonitor.h:
4143 * gio/fam/gfamfilemonitor.c:
4144 * gio/fam/gfamfilemonitor.h:
4145 * gio/inotify/ginotifydirectorymonitor.c:
4146 * gio/inotify/ginotifydirectorymonitor.h:
4147 * gio/inotify/ginotifyfilemonitor.c:
4148 * gio/inotify/ginotifyfilemonitor.h:
4149 Add proper copyright information and remove an unused variable
4150 in the GInotifyFileMonitor constructor.
4152 * gio/gcancellable.c:
4153 Add a guard for a public function and an assertion to prevent
4154 an undefined program state.
4156 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4158 * gio/gfileattribute.c:
4159 Don't run into an assertion if the given attribute value is NULL
4160 in g_file_attribute_value_get_*() but instead return a fallback
4161 value that makes sense in most situations. Passing them a attribute
4162 value with the wrong type will still run into an assertion.
4164 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4166 * gio/gfileattribute.c:
4168 Add even more guards to the public functions. Also fix the refcounting
4169 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4170 let g_file_info_list_attributes() filter the attributes by namespace
4171 instead of simply ignoring the namespace parameter.
4173 2007-11-03 Sven Herzberg <sven@imendio.com>
4175 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4176 (This makes gio work on MacOS X again)
4178 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4181 Build the gio subdirectory before the docs. Otherwise the build will
4184 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4185 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4186 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4187 Add guards to the public functions.
4189 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4191 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4192 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4193 to prevent a compiler warning.
4195 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4196 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4197 return something in the non-void function find_topdir_for().
4199 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4206 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4208 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4209 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4210 * gwin32appinfo.c (g_win32_app_info_launch):
4211 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4212 envp_for_startup_id, g_desktop_app_info_launch,
4213 g_desktop_app_info_launch_uris):
4215 Give an opaque 'startup_id' string instead of 'envp'.
4216 Support empty file lists for launching new windows.
4217 Fix infinite recursion bug when launching URIs.
4219 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4222 Add guard to the new g_file_get_uri_scheme() function.
4224 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4227 Convert a g_return_val_if_fail() to setting the GError instead as
4228 otherwise applications have to verify the parameter before otherwise
4229 and the parameter might come directly from the user.
4231 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4233 * gio/inotify/ginotify*.[ch]:
4234 Add missing copyright information.
4236 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4239 Add guards in the beginning of public functions to check for valid
4240 parameters and fix a bug in copy_stream_with_progress() that could've
4241 caused writing less bytes than reading.
4242 * gio/glocalfileinfo.c:
4243 Check for a NULL parameter and set the GError accordingly then.
4244 * gio/goutputstream.c:
4245 Fix the same bug as in gfile.c that could've caused writing less bytes
4246 than reading in g_output_stream_real_splice().
4248 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4251 Use the correct gvolumeprivate.h naming
4253 2007-11-01 Christian Kellner <gicmo@gnome.org>
4256 Remove leftover "$(daemon_sources)" entry.
4258 2007-11-01 Christian Kellner <gicmo@gnome.org>
4263 Add copyright information to source files.
4265 2007-11-01 Alexander Larsson <alexl@redhat.com>
4269 Add g_file_get_uri_scheme
4271 2007-11-01 Alexander Larsson <alexl@redhat.com>
4274 * gio/gdesktopappinfo.c:
4275 * gio/gwin32appinfo.c:
4276 Add g_app_info_get_default_for_uri_scheme.
4278 2007-11-01 Alexander Larsson <alexl@redhat.com>
4281 Correct filename for gdriveprivate.h
4283 2007-10-31 Alexander Larsson <alexl@redhat.com>
4286 Rename id:value to id:file
4289 * gio/glocalfileinfo.c:
4292 2007-10-31 Alexander Larsson <alexl@redhat.com>
4294 * gio/gunixvolume.c:
4296 Remove g_volume_get_platform_id, as thats not
4297 needed with the simpler union volume monitor
4299 2007-10-31 Alexander Larsson <alexl@redhat.com>
4302 * gio/guniondrive.[ch]: Removed.
4303 * gio/gunionvolume.[ch]: Removed.
4304 Remove GUnionDrive/Volume
4306 * gio/gunionvolumemonitor.c:
4307 Simplify union volume monitor, now we
4308 only have one native volume monitor and
4309 we use the actual volumes/drives from the
4310 child monitors instead of wrapping them
4312 * gio/gnativevolumemonitor.[ch]:
4313 Base class for native volume monitors.
4314 Includes priority and get_volume_for_mountpoint
4317 Add g_file_find_enclosing_volume
4320 Remove volume name fs attribute
4321 Add readonly fs attribute
4324 Implement readonly attribute
4325 remove volume name attribute
4326 Implement find_enclosing volume
4328 * gio/gunixmounts.c:
4329 Add a volume for "/".
4331 * gio/gunixvolume.[ch]:
4332 Set better name for /
4334 * gio/gunixvolumemonitor.[ch]:
4335 Derive from GNativeVolumeMonitor
4336 Implement get_volume_for_mountpoint
4339 GVolume typedef moved to gfile.h
4341 * gio/gvolumeprivate.h:
4342 Add g_volume_get_for_mount_path
4344 2007-10-31 Alexander Larsson <alexl@redhat.com>
4346 * gio/gunixmounts.[ch]:
4347 Add cache info to unix mount listers
4348 Make getmntent use threadsafe
4349 Add is_system_internal attribute for GUnixMount
4351 * gio/gunixvolume.c:
4352 (g_unix_volume_new):
4353 Use is_system_internal instead of own code
4355 * gio/glocaldirectorymonitor.c:
4356 * gio/gunixvolumemonitor.c:
4357 Update to new gunixmounts API
4362 2007-10-30 Alexander Larsson <alexl@redhat.com>
4365 Add volume name fsinfo attribute
4368 Read volume name info
4370 * gio/gunionvolumemonitor.c:
4371 Fix infinite loops when finalizing a union volume monitor
4373 2007-10-30 Alexander Larsson <alexl@redhat.com>
4375 * gio/goutputstream.[ch]:
4376 Add splice() with default implementation
4378 * gio/gsocketoutputstream.c:
4379 (g_socket_output_stream_write):
4380 Return error on cancellation correctly.
4382 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4384 * gio/glocalfile.c (g_local_file_trash):
4385 Do not leak a string.
4387 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4389 * gio/gfile.c (g_file_load_contents):
4390 Unref the stream after closing it.
4392 2007-10-25 Alexander Larsson <alexl@redhat.com>
4394 * gio/gioscheduler.h:
4397 2007-10-25 Alexander Larsson <alexl@redhat.com>
4401 Add g_file_has_uri_scheme and implement for local files
4403 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4405 * gio/gdesktopappinfo.c: do not leak a string.
4407 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4409 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4410 (g_local_directory_monitor_new):
4411 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4412 (g_local_file_monitor_new):
4413 Only look for the monitor type that should be used the first time
4414 and use g_qsort_with_data() instead of our own bubble sort
4417 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4420 * gio/fam/Makefile.am:
4421 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4422 * gio/fam/fam-helper.h:
4423 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4424 * gio/fam/gfamdirectorymonitor.c:
4425 * gio/fam/gfamdirectorymonitor.h:
4426 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4427 * gio/fam/gfamfilemonitor.h:
4428 * gio/glocaldirectorymonitor.c:
4429 * gio/glocaldirectorymonitor.h:
4430 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4431 * gio/glocalfilemonitor.h:
4432 * gio/inotify/Makefile.am:
4433 * gio/inotify/ginotifydirectorymonitor.c:
4434 * gio/inotify/ginotifydirectorymonitor.h:
4435 * gio/inotify/ginotifyfilemonitor.c:
4436 * gio/inotify/ginotifyfilemonitor.h:
4437 Implement the FAM and Inotify monitors as
4438 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4439 their own GIO module. GLocal(Directory|File)Monitor will use the
4440 monitor with the highest rank that is supported on that machine.
4442 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4445 Change GIO module dir to $(libdir)/gio/modules and change
4446 the log domain from GVFS to GIO. Also only export symbols starting
4447 with g_ in the resulting library.
4448 * gio/test-streams.c: (main):
4449 Set log handler for the GIO log domain.
4451 2007-10-22 Alexander Larsson <alexl@redhat.com>
4453 * gio/gfilenamecompleter.[ch]:
4454 Add g_filename_completer_set_dirs_only
4456 2007-10-22 Alexander Larsson <alexl@redhat.com>
4459 * gio/gurifuncs.[ch]:
4460 Add some simple URI helpers
4462 * gio/gfilenamecompleter.[ch]:
4463 Added object for filename (parse name actually) completion
4466 Handle ~ in parse names
4468 2007-10-17 Alexander Larsson <alexl@redhat.com>
4471 * gio/glocalfileinfo.c:
4472 Add and implement id:value attribute
4474 2007-10-17 Alexander Larsson <alexl@redhat.com>
4477 * gio/guniondrive.c:
4479 Add and implement g_drive_has_volumes
4481 2007-10-17 Alexander Larsson <alexl@redhat.com>
4484 * gio/glocalfileinfo.[ch]:
4485 Add unix:is_mountpoint and implement for local files
4487 2007-10-16 Alexander Larsson <alexl@redhat.com>
4489 * gio/gunionvolumemonitor.c:
4490 (g_union_volume_monitor_init):
4491 Fix up the unix type getting so that it works with gcc
4493 2007-10-12 Alexander Larsson <alexl@redhat.com>
4496 * gio/glocalfileinfo.c:
4497 Add thumbnail:failed to file info
4499 2007-10-12 Richard Hult <richard@imendio.com>
4501 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4502 optimizing away the get_type call (happens with some gcc versions,
4503 like the one shipped with OS X 10.4).
4505 2007-10-12 Alexander Larsson <alexl@redhat.com>
4507 * gio/glocalfileinfo.c:
4508 (_g_local_file_info_set_attribute):
4509 Fix build if not HAVE_XATTR
4510 Patch from Milosz Derezynski <internalerror@gmail.com>
4512 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4514 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4515 around for review, otherwise I would have asked you before
4518 2007-10-11 Alexander Larsson <alexl@redhat.com>
4521 Add thumbnail:path attribute
4523 * gio/glocalfileinfo.c:
4524 Implement thumbnail:path for local files
4526 2007-10-11 Alexander Larsson <alexl@redhat.com>
4528 * gio/glocalfileinfo.c:
4529 (_g_local_file_info_get):
4530 Avoid duplicate icon names
4532 2007-10-11 Alexander Larsson <alexl@redhat.com>
4534 * gio/gthemedicon.[ch]:
4535 Change g_themed_icon_get_names return type to const
4537 2007-10-10 Alexander Larsson <alexl@redhat.com>
4539 * gio/glocalfileinfo.c:
4540 Don't reference freed memory
4542 2007-10-10 Alexander Larsson <alexl@redhat.com>
4544 * gio/gfileattribute.c:
4547 * gio/glocalfileinfo.c:
4550 2007-10-10 Alexander Larsson <alexl@redhat.com>
4553 Check for NULL icons
4555 * gio/gfileattribute.c:
4556 Don't dup when getting objects (same as for string attributes)
4558 * gio/gicon.c (g_icon_equal):
4559 Safely handle NULLs in equal
4561 2007-10-10 Alexander Larsson <alexl@redhat.com>
4564 Fix c++ compilation issues
4565 Patch from Milosz Derezynski <internalerror@gmail.com>
4567 2007-10-10 Alexander Larsson <alexl@redhat.com>
4569 * programs/gio-monitor-dir.c:
4570 Don't crash if dir monitor not supported.
4572 2007-10-09 Alexander Larsson <alexl@redhat.com>
4575 Add missing G_END_DECLS
4577 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4579 * gio/gfile.c: (g_file_set_display_name),
4580 (g_file_query_settable_attributes),
4581 (g_file_query_writable_namespaces):
4582 Return NULL not FALSE on errors as the return type is a pointer.
4584 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4586 * gio/glocalfile.c: (g_local_file_monitor_file):
4587 Don't call monitor_file on the default interface vtable (which
4588 is NULL) but simply return NULL. The caller, GFile, will create a
4589 polling monitor if NULL is returned.
4591 2007-10-09 Alexander Larsson <alexl@redhat.com>
4595 * gio-unix-2.0.pc.in:
4596 Add gio-unix-2.0.pc if OS_UNIX
4599 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4601 2007-10-09 Alexander Larsson <alexl@redhat.com>
4603 * gio/gunixmounts.[ch]:
4604 Make unix mount monitoring API sane.
4605 Now its just a object with mounts_changed
4606 and mountpoints_changed signals.
4608 * gio/glocaldirectorymonitor.c:
4609 * gio/gunixvolumemonitor.c:
4610 Use new mount monitor api
4612 2007-10-09 Alexander Larsson <alexl@redhat.com>
4614 * gio/gunixmounts.[ch]:
4615 Move guess type into one call for mounts and one for mountpoints
4618 * gio/gunixvolume.c:
4621 2007-10-09 Alexander Larsson <alexl@redhat.com>
4623 * gio/gunixmounts.[ch]:
4624 Remove _ prefix in preparation to make this semi-public
4625 Hide implementation of structs
4627 * gio/glocaldirectorymonitor.c:
4629 * gio/gunixvolume.c:
4630 * gio/gunixvolumemonitor.c:
4631 Update for above API changes
4633 2007-10-08 Alexander Larsson <alexl@redhat.com>
4636 Better polling fallback. This also handles the case where we have
4637 a monitor_file implementation, but it fails.
4639 2007-10-08 Alexander Larsson <alexl@redhat.com>
4643 * gio/gunixmounts.c:
4644 * programs/gio-monitor-dir.c:
4645 * programs/gio-monitor-file.c:
4646 Added cancellable to file monitoring calls.
4647 These are really sync calls and need this.
4649 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4651 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4652 (g_local_vfs_class_init):
4653 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4654 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4656 2007-10-05 Alexander Larsson <alexl@redhat.com>
4658 * gio/gdirectorymonitorprivate.h:
4659 * gio/gfilemonitorprivate.h:
4660 * gio/gdirectorymonitor.h:
4661 * gio/gfilemonitor.h:
4662 Remove *private.h and move to the public API, so that
4663 we can do implementations outside gio (such as in gvfs)
4665 * gio/gdirectorymonitor.c:
4666 * gio/gfilemonitor.c:
4667 * gio/glocaldirectorymonitor.c:
4668 * gio/gpollfilemonitor.c:
4669 * gio/inotify/inotify-helper.c:
4670 * gio/fam/fam-helper.c:
4671 Update to the new header names
4673 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4675 * gio/gdirectorymonitor.c:
4676 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4679 2007-10-04 Alexander Larsson <alexl@redhat.com>
4681 * gio/glocalfileinfo.c (get_access_rights):
4682 Set CAN_TRASH when we can move the file.
4683 We should really also check for a parent trash dir.
4685 2007-10-04 Alexander Larsson <alexl@redhat.com>
4687 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4688 Add can_trash access attribute
4690 2007-10-04 Alexander Larsson <alexl@redhat.com>
4693 (g_local_file_trash):
4694 Create info file first. This is per-spec and allows
4695 us to actually trash directories.
4697 2007-10-02 Alexander Larsson <alexl@redhat.com>
4699 * gio/gdesktopappinfo.c:
4700 Implement the new mime support code.
4701 Always set app as handling mimetype when being set as default for it
4703 2007-10-01 Alexander Larsson <alexl@redhat.com>
4705 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4706 Fix up check for xattrs:
4708 2007-10-01 Alexander Larsson <alexl@redhat.com>
4711 (g_app_info_set_as_default_for_extension):
4712 (g_app_info_add_supports_type):
4713 (g_app_info_can_remove_supports_type):
4714 (g_app_info_remove_supports_type):
4715 Make these fail nicely if not implemented
4717 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4719 * gio/glocalfileoutputstream.c:
4720 * gio/glocalfileoutputstream.h:
4725 * programs/gio-save.c:
4726 Add a GFileCreateFlags argument to operations that can create
4729 2007-10-01 Alexander Larsson <alexl@redhat.com>
4731 * gio/gappinfo.[ch]:
4732 * gio/gdesktopappinfo.c:
4733 Add more (stubbed out) mime API needed for nautilus
4735 2007-10-01 Alexander Larsson <alexl@redhat.com>
4738 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4739 Add g_app_info_set_as_default_for_extension.
4741 * gio/gdesktopappinfo.c:
4742 Dummy for g_app_info_set_as_default_for_extension
4743 Support flags in g_app_info_create_from_commandline
4745 * gio/gwin32appinfo.c:
4747 Update for API changes
4749 * gio/gthemedicon.c:
4750 Properly NULL-terminate list of icon names
4752 2007-09-28 Alexander Larsson <alexl@redhat.com>
4754 * gio/gloadableicon.h:
4755 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4757 2007-09-28 Alexander Larsson <alexl@redhat.com>
4760 Install headers in $includedir/gio-standalone/
4762 * gio-2.0.pc.in: Added.
4763 * gio-standalone.pc.in: Removed.
4766 Renamed pkg-config file to match glib (for future move)
4767 Update to the new include dir
4770 Add more TODO comments
4772 2007-09-28 Alexander Larsson <alexl@redhat.com>
4774 * gio/gdesktopappinfo.[ch]:
4775 Expose new_from_filename
4776 Add getter for is_hidden and handle it better
4778 2007-09-28 Alexander Larsson <alexl@redhat.com>
4780 * gio/gfileinfo.[ch]:
4781 Rename g_file_size_format_for_display to
4782 g_format_file_size_for_display.
4783 Now it doesn't have the g_file prefix, so we
4784 can later move it to glib.
4786 2007-09-28 Alexander Larsson <alexl@redhat.com>
4788 * gio/gappinfo.[ch]:
4789 Add g_app_info_get_id and g_app_info_get_executable.
4790 Make all getters non-reffing
4791 Make g_app_info_launch take GFile arguments.
4792 Add must_support_uris argument to g_app_info_get_default_for_type.
4794 * gio/gwin32appinfo.c:
4795 Update to GAppInfo api changes
4797 * gio/gdesktopappinfo.c:
4798 Update to GAppInfo api changes
4799 Implement supports_xdg_startup_notify
4801 * gio/gfileicon.c (g_file_icon_get_file):
4802 Make getter non-reffing.
4807 2007-09-27 Alexander Larsson <alexl@redhat.com>
4809 * gio/gfileinfo.[ch]:
4810 Add g_file_size_format_for_display helper
4812 2007-09-27 Alexander Larsson <alexl@redhat.com>
4814 * gio/glocalfileinfo.c:
4815 Set UNIX_GID from gid, not from uid
4817 2007-09-27 Alexander Larsson <alexl@redhat.com>
4820 Add g_file_set_attributes_async
4822 2007-09-27 Alexander Larsson <alexl@redhat.com>
4824 * gio/glocalfile.c (g_local_file_set_display_name):
4825 Fix set_display_name to actually rename to the right place.
4826 Use lstat to look for existing files so we don't overwrite
4829 2007-09-26 Alexander Larsson <alexl@redhat.com>
4832 Add g_file_set_display_name_async()
4834 2007-09-26 Alexander Larsson <alexl@redhat.com>
4837 Add load_partial_contents async calls
4840 Make internal function static
4842 2007-09-26 Alexander Larsson <alexl@redhat.com>
4844 * gio/glocalfileinfo.c:
4845 Correctly detect broken symlinks
4847 2007-09-26 Alexander Larsson <alexl@redhat.com>
4849 * gio/gcancellable.c (g_cancellable_cancel):
4850 Allow cancel on NULL cancellable
4852 2007-09-25 Alexander Larsson <alexl@redhat.com>
4854 * gio/gsimpleasyncresult.c:
4855 Don't allocate g_error manually.
4856 Fixes g_slice/g_new mixup crash
4858 2007-09-25 Alexander Larsson <alexl@redhat.com>
4860 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4861 Actually set active_backend.
4862 This means the monitor will be cancelled correctly.
4864 2007-09-25 Alexander Larsson <alexl@redhat.com>
4866 * gio/gdirectorymonitor.c:
4867 Set timeout to NULL when destroying
4869 2007-09-25 Alexander Larsson <alexl@redhat.com>
4872 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4873 that is a better description of the error.
4875 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4877 * gio/gvfs.c: (g_vfs_get_local):
4878 Make the local vfs variable static. The same instance should
4881 2007-09-24 Alexander Larsson <alexl@redhat.com>
4883 * gio/glocalfileinfo.c:
4884 Pass in actual length read into sniffer, not the length
4887 2007-09-21 Alexander Larsson <alexl@redhat.com>
4889 * gio/gfileenumerator.c:
4892 * gio/gfileinputstream.c:
4893 * gio/gfileoutputstream.c:
4894 * gio/ginputstream.c:
4895 * gio/goutputstream.c:
4896 Don't crash if async callbacks are NULL
4898 2007-09-20 Alexander Larsson <alexl@redhat.com>
4901 Add async enumerate_children method and default
4904 2007-09-20 Alexander Larsson <alexl@redhat.com>
4907 Add g_file_contains_file & g_file_get_relative_path, since they
4908 were needed for nautilus.
4909 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4914 Implement new methods
4916 2007-09-17 Alexander Larsson <alexl@redhat.com>
4919 * gio/gfileinputstream.[ch]:
4920 * gio/gfileoutputstream.[ch]:
4922 * gio/glocalfileenumerator.[ch]:
4923 * gio/glocalfileinfo.[ch]:
4924 * gio/glocalfileinputstream.c:
4925 * gio/glocalfileoutputstream.c:
4926 * gio/gpollfilemonitor.c:
4927 * programs/gio-copy.c:
4928 * programs/gio-info.c:
4929 * programs/gio-move.c:
4930 Rename get_file_info to query_info() to make it clearer
4931 that these are not simple getters, but do i/o.
4933 2007-09-17 Alexander Larsson <alexl@redhat.com>
4935 * gio/gdatainputstream.[ch]:
4936 * gio/test-streams.c:
4937 Use _read_XXX instead of _get_XXX for the i/o calls
4940 2007-09-17 Alexander Larsson <alexl@redhat.com>
4943 Added needed stuff to TODO comment
4945 2007-09-17 Alexander Larsson <alexl@redhat.com>
4947 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4948 Don't error out removing the backup copy if it doesn't
4951 2007-09-14 Alexander Larsson <alexl@redhat.com>
4953 * programs/Makefile.am:
4954 * programs/gvfs-*.c:
4956 Renamed apps from gvfs-xxx to gio-xxx.
4958 2007-09-14 Alexander Larsson <alexl@redhat.com>
4961 * gio/gfileoutputstream.[ch]:
4962 * gio/glocalfileoutputstream.c:
4963 * programs/gvfs-save.c:
4964 g_file_output_stream_get_etag doesn't do i/o, so remove
4965 cancellation and error.
4967 2007-09-14 Alexander Larsson <alexl@redhat.com>
4970 Add new_etag output to replace_contents functions
4972 2007-09-14 Alexander Larsson <alexl@redhat.com>
4974 * gio/gfileoutputstream.[ch]:
4975 Add async get_file_info and default implementation
4977 2007-09-14 Alexander Larsson <alexl@redhat.com>
4979 * gio/gfileinputstream.c:
4980 Implement fallback wrapper for async get_file_info
4982 2007-09-14 Alexander Larsson <alexl@redhat.com>
4985 Add etag out argument to load_contents
4990 2007-09-14 Alexander Larsson <alexl@redhat.com>
4992 * gio/gcontenttype.c (looks_like_text):
4993 Whitespace like tab, cr and lf do not make the
4996 2007-09-14 Alexander Larsson <alexl@redhat.com>
4998 * gio/gfileinputstream.[ch]:
4999 Add async get_file_info.
5001 2007-09-13 Alexander Larsson <alexl@redhat.com>
5003 * gio/goutputstream.c (g_output_stream_write_all):
5004 Allow NULL for bytes_written
5006 2007-09-13 Alexander Larsson <alexl@redhat.com>
5008 * gio/gmemoryinputstream.[ch]:
5009 Add accessors for data
5011 2007-09-13 Alexander Larsson <alexl@redhat.com>
5013 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5014 Don't crash if length is NULL