1 2008-09-17 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.18.1 ===
5 2008-09-16 Michael Natterer <mitch@imendio.com>
7 * gcontenttype.c (g_content_type_guess): can't assign the return
8 value of g_strdupv() to an array. Fill the array manually with
9 const strings instead (it is never freed anyway). Fixes the
10 build. Also fixed indentation.
12 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
14 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
15 Fix trivial typo to unbreak the build (there was a colon
16 instead of a semicolon at the end of a statement).
18 2008-09-15 Matthias Clasen <mclasen@redhat.com>
20 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
23 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
26 2008-09-15 Matthias Clasen <mclasen@redhat.com>
28 Bug 551681 – g_content_type_guess() too naive with filenames
30 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
31 at the end of the filename, and declare it a directory.
32 Patch by Bastien Nocera
34 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
36 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
39 * gdesktopappinfo.c: add a note in the docs clarifying what the
40 "filename" parameter really is.
42 2008-09-12 Tor Lillqvist <tml@novell.com>
44 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
45 FormatMessage() etc here. Call g_win32_error_message() instead
46 which already does all that. Besides, the code was broken as it
47 called the default "A" version of FormatMessage() but still
48 thought it produced a wide string.
50 2008-09-12 Michael Natterer <mitch@imendio.com>
52 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
55 2008-09-08 Christian Neumair <cneumair@gnome.org>
57 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
58 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
59 Use non-blocking pipe for mount helper I/O. Fixes #550647.
61 2008-09-06 Matthias Clasen <mclasen@redhat.com>
63 Bug 551149 – xdgmime mem leak
65 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
66 a memory leak. Patch by Christian Persch
68 2008-09-04 Tor Lillqvist <tml@novell.com>
70 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
73 2008-09-02 Matthias Clasen <mclasen@redhat.com>
75 * === Released 2.18.0 ===
77 2008-09-02 Michael Natterer <mitch@imendio.com>
79 * *.h: big header formatting cleanup: indentation, vtable
80 formatting, consistent spacing in (* vfunc), trailing whitespace
81 removal. Formatting should be pretty consistent in all GIO headers
84 2008-09-02 Matthias Clasen <mclasen@redhat.com>
86 * gmount.h: Document guess_content_type sync vfunc.
88 2008-09-02 Michael Natterer <mitch@imendio.com>
90 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
91 fix parent_class member to be GFilterOutputStreamClass (not
92 GOutputStreamClass). Drop three pointers of padding, which is
93 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
94 so the class struct size stays the same.
96 2008-09-02 Matthias Clasen <mclasen@redhat.com>
98 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
100 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
101 nonexisting return values. Pointed out by Cosimo Cecchi.
103 2008-08-23 Tor Lillqvist <tml@novell.com>
105 Bug 548988 - g_file_replace fails on Windows when the target file
108 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
109 Windows, close the file before potentially renaming it (in case we
110 have been writing to a file with a temporary name).
112 (g_local_file_output_stream_close, handle_overwrite_open): Use
113 GLocalFileStat instead of plain struct stat, for passing to
114 _g_local_file_info_create_etag(). Thus also use _fstati64()
115 instead of plain fstat() on Windows.
117 2008-08-18 Matthias Clasen <mclasen@redhat.com>
119 * === Released 2.17.7 ===
121 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
123 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
126 2008-08-13 Tor Lillqvist <tml@novell.com>
128 * win32/gwinhttpvfs.c
129 * win32/gwinhttpvfs.h
130 * win32/gwinhttpfile.c
131 * win32/gwinhttpfileinputstream.c
132 * win32/gwinhttpfileoutputstream.c: Refactor some common code
133 snippets into helper functions. Check HTTP response status
134 codes. Implement g_winhttp_file_query_info(), looking at
135 Content-Length, Content-Type and Last-Modified.
137 * win32/winhttp.h: Add some symbolic constants that are not
138 publicly documented. Just a handful, so it should be OK to use
139 information from the Windows SDK's headers.
141 2008-08-13 Tor Lillqvist <tml@novell.com>
143 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
146 * win32/gwin32directorymonitor.c
147 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
149 2008-08-13 Matthias Clasen <mclasen@redhat.com>
152 * goutputstream.c: Add intro docs.
154 2008-08-13 Tor Lillqvist <tml@novell.com>
156 * win32/gwinhttpfileoutputstream.c
157 (g_winhttp_file_output_stream_write): Don't write the
158 Content-Length header ourselves, WinHttpSendRequest() takes care
159 of that when the dwTotalLength parameter is non-zero. Increment
160 offset by the number of actual bytes sent, although I wonder if
161 such a scenario is possible where less than requested would be
162 sent and accepted by the server without errors.
164 2008-08-13 Tor Lillqvist <tml@novell.com>
166 * win32/gwinhttpvfs.c
167 * win32/gwinhttpvfs.h
168 * win32/gwinhttpfile.c
169 * win32/gwinhttpfile.h
170 * win32/gwinhttpfileinputstream.c
171 * win32/gwinhttpfileinputstream.h
172 * win32/gwinhttpfileoutputstream.c
173 * win32/gwinhttpfileoutputstream.h: New files implementing
174 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
175 Windows. The implementation uses the WinHttp API. Both reading and
176 writing are supported, i.e. GET and PUT requests. When writing,
177 each write call is done using a separate PUT request with a
178 Content-Range header. Requests for file URIs and plain pathnames
179 are forwarded to GLocalVfs.
181 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
182 WINE. Used as there is no <winhttp.h> bundled with mingw, and
183 requiring people to download the Windows SDK just for this one
184 header is not reasonable.
186 * win32/Makefile.am: Add above files.
188 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
189 the plumbing for the above.
191 2008-08-11 Sven Neumann <sven@gimp.org>
193 * gfilenamecompleter.c
194 * glocaldirectorymonitor.c
196 * gunionvolumemonitor.c
200 * gunixvolumemonitor.c
203 * gwin32volumemonitor.c: use canonical signal names.
205 2008-08-11 Tor Lillqvist <tml@novell.com>
207 * Makefile.am: Put a list of the platform-dependent .la files in
208 the subdirectories in the platform_deps Make variable, and make
209 libgio-2.0.la depend on that, so that it gets relinked if one of
210 the dependent libraries has changed.
212 2008-08-11 Tor Lillqvist <tml@novell.com>
214 * Makefile.am (platform_libadd): Remove -lwininet which had been
215 added by mistake. We will probably eventually be using WinHTTP,
216 not the older WinInet anyway. (Actually I am working on it.)
218 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
220 Bug 547080 – g_file_copy leaks expected errors
222 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
223 before trying the next fallback routine.
225 2008-08-09 Loïc Minier <lool@dooz.org>
227 Bug 535124 – umask 002 not being applied for new directories, new
228 files get the correct umask
230 * gfile.c (g_file_make_directory)
231 (g_file_make_directory_with_parents): Document ownership and
232 permissions of newly created directories as being the default
235 2008-08-08 Loïc Minier <lool@dooz.org>
237 Bug 535124 – umask 002 not being applied for new directories, new
238 files get the correct umask
240 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
243 2008-08-08 Tor Lillqvist <tml@novell.com>
245 * gwin32mount.c: Remove unused code. Whitespace cleanup.
247 * gwin32volumemonitor.c (get_connected_drives): Put questionable
248 code that didn't actually do anything inside #if 0, and add a
249 comment wondering what the code was supposed to do. This also gets
250 rid of a leftover debugging printout.
252 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
254 * gfileicon.c (g_file_icon_get_property)
255 (g_file_icon_set_property): New functions.
256 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
258 (g_file_icon_new): Use the property (bug #546132).
260 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
262 * gthemedicon.c (g_themed_icon_get_property): Also handle
263 `PROP_USE_DEFAULT_FALLBACKS'.
264 (g_themed_icon_class_init): Make
265 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
267 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
269 Bug 546371 – Improve docs re g_file_monitor
271 * gfilemonitor.c: Mention g_file_monitor() in the docs.
273 2008-08-04 Matthias Clasen <mclasen@redhat.com>
275 * === Released 2.17.6 ===
277 2008-08-04 Matthias Clasen <mclasen@redhat.com>
279 * === Released 2.17.5 ===
281 2008-08-04 Matthias Clasen <mclasen@redhat.com>
283 Bug 546017 – Don't copy attributes when copying a symlink
285 * gfile.c (g_file_copy_attributes): Specify
286 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
287 g_file_set_attributes_from_info. Patch by Christian Kellner
289 2008-08-04 Matthias Clasen <mclasen@redhat.com>
291 * gemblemedicon.[hc]:
293 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
294 a bit more extensible. Work by Clemens Buss.
296 * gioenums.h: Add GEmblemOrigin.
299 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
301 Bug 546079 – leak in xdgmime
303 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
305 2008-08-03 Tor Lillqvist <tml@novell.com>
307 * win32/gwin32directorymonitor.h
308 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
311 2008-08-03 Tor Lillqvist <tml@novell.com>
313 * win32/gwin32directorymonitor.c
314 (g_win32_directory_monitor_callback): Make prototype match
315 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
316 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
319 (g_win32_directory_monitor_constructor):
320 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
321 names in the GLib API on Windows, so convert to UTF-16 and open
324 2008-08-03 Tor Lillqvist <tml@novell.com>
326 Bug 541036 - Gnumeric crashes when trying to open Desktop or
327 user's folder under Windows
329 * win32/gwin32directorymonitor.c
330 (g_win32_directory_monitor_constructor): Ignore error from
331 CreateFile() when opening directory. Instead of asserting, just
332 store INVALID_HANDLE_VALUE then in
333 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
334 ReadDirectoryChangesW().
335 (g_win32_directory_monitor_cancel): Don't attempt to close
336 directory handle if it is INVALID_HANDLE_VALUE.
338 2008-08-01 Matthias Clasen <mclasen@redhat.com>
340 * gdesktopappinfo.c: Remove debug spew
342 2008-08-01 Hans Breuer <hans@breuer.org>
344 * makefile.msc : add gemblembedicon
346 2008-07-30 Matthias Clasen <mclasen@redhat.com>
348 Bug 545457 – gdmsetup crashed with SIGSEGV in
349 g_unix_mount_guess_should_display()
351 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
352 crash if no mount is found.
354 2008-07-28 Matthias Clasen <mclasen@redhat.com>
356 Bug 545203 – gfile.c: argument is different type.
358 * gfile.c (open_read_async_thread): Pass a GError **
359 to g_file_set_error_literal.
360 Reported by Kazuki Iwamoto
362 2008-07-28 Matthias Clasen <mclasen@redhat.com>
364 Bug 545157 – wrong/no list of "open with" applications for .cc and
367 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
368 Collect all ancestors, not just direct parents. Pointed
369 out by Bastien Nocera
371 2008-07-28 Matthias Clasen <mclasen@redhat.com>
373 * Makefile.am: Install gemblemedicon.h
375 2008-07-28 Matthias Clasen <mclasen@redhat.com>
377 * gemblemedicon.[hc]: Add a GIcon implementation that can
378 add an emblem to another icon.
385 * gfileicon.c: Small documentation additions.
387 2008-07-28 Tor Lillqvist <tml@novell.com>
389 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
392 2008-07-27 Tor Lillqvist <tml@novell.com>
394 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
396 2008-07-24 David Zeuthen <davidz@redhat.com>
400 Also export a g_mount_guess_content_type_sync() function.
402 2008-07-23 Matthias Clasen <mclasen@redhat.com>
404 529694 – SELinux context setting support
406 * gfileinfo.c: Support setting selinux attributes.
407 Patch by Tomas Bzatek
409 2008-07-22 Priit Laes <plaes@plaes.org>
411 Bug 544140 - fam-helper 64-bit issue?
413 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
415 2008-07-21 Matthias Clasen <mclasen@redhat.com>
417 * === Released 2.17.4 ===
419 2008-07-20 Matthias Clasen <mclasen@redhat.com>
421 * gvolumemonitor.[hc]:
426 * gmount.c: Documentation fixes
428 2008-07-19 Matthias Clasen <mclasen@redhat.com>
430 543504 – crash in Epiphany Web Browser: Opening local file
441 * gvolume.c: Register types thread-safely.
442 Patch by Christian Persch
444 2008-07-18 Matthias Clasen <mclasen@redhat.com>
446 * gcontenttype.c: Remove debug spew
448 2008-07-18 Matthias Clasen <mclasen@redhat.com>
450 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
453 * fen/fen-kernel.c: Remove a warning that was causing
454 crashes. Reported by Lin Ma.
456 2008-07-18 Matthias Clasen <mclasen@redhat.com>
458 Bug 543040 – async reading on dummy file will crash on
461 * gfile.c (open_read_async_thread): Cope with read_fn being
462 NULL. Reported by Lin Ma.
464 2008-07-18 Matthias Clasen <mclasen@redhat.com>
467 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
469 2008-07-16 Matthias Clasen <mclasen@redhat.com>
473 * giomodule.c: Rename a chapter id to avoid filename conflict.
475 2008-07-16 Matthias Clasen <mclasen@redhat.com>
477 Bug 540616 – mem leak in filechooser button
479 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
480 the mount entry. Reported by Chrisitan Persch
482 2008-07-16 Matthias Clasen <mclasen@redhat.com>
484 * gfile.c: Small documentation fixes.
486 2008-07-15 Matthias Clasen <mclasen@redhat.com>
488 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
490 2008-07-08 Matthias Clasen <mclasen@redhat.com>
495 * gmount.c: Documentation improvements.
497 2008-07-08 Matthias Clasen <mclasen@redhat.com>
500 * gmount.[hc]: Add g_mount_guess_content_type().
502 2008-07-06 David Zeuthen <davidz@redhat.com>
505 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
506 is needed for easily handling adoption of foreign volumes by
507 out-of-process volume monitors (#541793)
509 2008-07-06 David Zeuthen <davidz@redhat.com>
511 * gvolumemonitor.[ch]:
512 * gunionvolumemonitor.c: Export the eject-button signal on the
513 volume monitor class (#541794).
515 2008-07-06 Matthias Clasen <mclasen@redhat.com>
517 * gappinfo.c: More doc tweaks
519 2008-07-05 Matthias Clasen <mclasen@redhat.com>
521 * gappinfo.c: Clarify some docs
523 2008-07-03 Matthias Clasen <mclasen@redhat.com>
525 * gdesktopappinfo.c: Fix a stupid mistake.
527 2008-07-02 Matthias Clasen <mclasen@redhat.com>
529 * === Released 2.17.3 ===
531 2008-07-02 Matthias Clasen <mclasen@redhat.com>
533 * gfilemonitor.c: Fix the build.
535 2008-07-02 Matthias Clasen <mclasen@redhat.com>
537 Bug 536160 – Add g_file_monitor()
540 * gfile.[hc]: Add g_file_monitor which can return either
541 a file or a directory monitor. Proposed by Behdad Esfahbod
543 2008-07-02 Matthias Clasen <mclasen@redhat.com>
545 536733 – gio build failure on Irix
547 * glocalfile.c: Use a configure check for structfs.f_bavail.
549 2008-07-02 Matthias Clasen <mclasen@redhat.com>
551 Bug 534639 – add g_desktop_app_info_new_from_keyfile
554 * gdesktopappinfo.[hc]: Add a function to create a
555 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
557 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
559 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
561 2008-07-01 Matthias Clasen <mclasen@redhat.com>
563 * gunixmounts.c: Fix a doc typo.
565 2008-07-01 Cody Russell <bratsche@gnome.org>
567 * gio/gcontenttype.c:
568 * gio/gwin32appinfo.c:
569 * gio/gwin32volumemonitor.c:
570 * gio/gwin32mount.c: Fixed some include problems.
572 2008-07-01 Cody Russell <bratsche@gnome.org>
576 Moved all relevant typedefs into these files.
579 Updated wrt added files.
581 Split types into separate file for easier maintainership. (#538564)
583 2008-06-30 Matthias Clasen <mclasen@redhat.com>
585 Bug 540331 – g_file_append_to () documentation: can return NULL
587 * gfile.c (g_file_append_to): Clarify docs.
590 2008-06-30 Matthias Clasen <mclasen@redhat.com>
592 Bug 539090 – g_content_type_from_mime_type() should unalias
594 * gcontentype.c (g_content_type_from_mime_type): Unalias.
595 Patch by Markus Bergman
597 2008-06-30 Matthias Clasen <mclasen@redhat.com>
599 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
602 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
603 on ppc and alpha. Reported by Mart Raudsepp
605 2008-06-29 Matthias Clasen <mclasen@redhat.com>
608 * tests/memory-output-stream.c: Add some tests for
611 2008-06-29 Matthias Clasen <mclasen@redhat.com>
613 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
616 * gmemoryoutputstream.c (array_resize): Handle truncation to
617 zero correctly. Reported by Akira Tagoh
619 2008-06-29 Matthias Clasen <mclasen@redhat.com>
621 * gmemoryoutputstream.c: Trivial doc fixes
623 2008-06-29 Matthias Clasen <mclasen@redhat.com>
625 Bug 540802 – g_list_prepend doesn't concat lists
627 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
628 one list to another. Pointed out by Jan Arne Petersen
630 2008-06-28 Michael Natterer <mitch@imendio.com>
632 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
634 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
636 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
637 to avoid problems with partial icon themes.
639 2008-06-17 Hans Breuer <hans@breuer.org>
641 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
642 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
643 access again on win32, see bug #538127
644 * giomodule.c : ensure GWin32VolumeMonitor is registered
645 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
646 * Makefile.am makefile.msc : updated
648 2008-06-16 Hans Breuer <hans@breuer.org>
650 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
651 and initialization in one step avoids c99ism
653 2008-06-16 Christian Persch <chpe@gnome.org>
656 * gio/gbufferedinputstream.c
658 * gio/gdatainputstream.c
659 * gio/gdesktopappinfo.c
661 * gio/gfileenumerator.c
662 * gio/gfileinputstream.c
663 * gio/gfileoutputstream.c
665 * gio/glocaldirectorymonitor.c
667 * gio/glocalfileenumerator.c
668 * gio/glocalfileinfo.c
669 * gio/glocalfilemonitor.c
670 * gio/glocalfileoutputstream.c
671 * gio/gmemoryinputstream.c
672 * gio/gmemoryoutputstream.c
673 * gio/goutputstream.c
674 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
677 2008-06-16 Tor Lillqvist <tml@novell.com>
679 Bug 538362 - Get Win32 icons back in the file chooser
681 * gcontenttype.c (g_content_type_get_icon): Look up the icon
682 corresponding to a file extension in the Registry. Patch by Hans
684 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
686 2008-06-16 Tor Lillqvist <tml@novell.com>
688 Patches by Hans Breuer:
690 * glocalfile.c (is_xp_or_later): Handle compiling against older
691 SDK headers with missing VerifyVersionInfo(). Conditioned on
692 _MSC_VER, but should probably use some better test.
693 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
694 uninitialised statfs_result variable on Win32.
696 2008-06-16 Michael Natterer <mitch@imendio.com>
698 * *.c: chain up unconditionally in finalize() and dispose(). Also
699 don't dereference these function pointers when calling them since
700 that has no meaning at all.
702 2008-06-16 Ross Burton <ross@burtonini.com>
705 Remove check for dispose implementation as it annoys Emmanuele.
707 2008-06-16 Ross Burton <ross@burtonini.com>
709 Bug 536252 – GFileEnumerator should allow access to the containing
715 Add g_file_enumerator_get_container() and a container writeable
716 construct-only property. Also shuffle around typedefs to make it
719 * glocalfileenumerator.c:
720 * glocalfileenumerator.h:
722 Instead of a string filename take a GFile in the constructor and
723 use it to set the container property.
728 2008-06-16 Matthias Clasen <mclasen@redhat.com>
730 * gfile.c: Make includes more uniform
732 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
734 * tests/live-g-file.c (sample_struct):
735 Use less fancy unicode filenames, so the test doesn't fail
736 on Mac OS X (#531476).
738 2008-06-12 Matthias Clasen <mclasen@redhat.com>
740 * === Released 2.17.2 ===
742 2008-06-12 Matthias Clasen <mclasen@redhat.com>
744 * === Released 2.17.1 ===
746 2008-06-11 A. Walton <awalton@gnome.org>
748 * tests/g-file.c (test_g_file_new_null):
749 Fix broken test case.
751 2008-06-11 Matthias Clasen <mclasen@redhat.com>
753 * pltcheck.sh: We use g_clear_error now.
755 2008-06-11 Matthias Clasen <mclasen@redhat.com>
757 * glocalfile.c (g_local_file_enumerate_children): Revert
758 an unintended change.
760 2008-06-11 Matthias Clasen <mclasen@redhat.com>
762 * gfile.c (g_file_replace_contents): Don't unref before the last use.
764 2008-06-10 Matthias Clasen <mclasen@redhat.com>
766 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
769 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
770 as icon for the desktop directory, also make user-home and
771 user-desktop the preferred icons.
773 2008-06-10 Matthias Clasen <mclasen@redhat.com>
776 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
777 to add a name to the front of the list.
779 2008-06-10 Matthias Clasen <mclasen@redhat.com>
781 Bug 537392 – Additional colon in xattr name
783 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
784 too. Reported by Alessandro Morandi
786 2008-06-10 Matthias Clasen <mclasen@redhat.com>
788 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
791 * glocalfile.c (get_fs_type): Add afs and autofs.
792 Patch by Danny Baumann.
794 2008-06-10 Matthias Clasen <mclasen@redhat.com>
796 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
798 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
799 is no parent. (Owen Taylor, patch by Christian Neumair)
801 2008-06-10 Paolo Borelli <pborelli@katamail.com>
803 * gfile.c (g_file_replace_contents): do not leak the output stream.
805 2008-06-10 Michael Natterer <mitch@imendio.com>
807 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
808 uninitialized memory as array index.
810 2008-06-10 Tor Lillqvist <tml@novell.com>
812 * gcontenttype.c (g_content_type_can_be_executable)
813 (g_content_type_get_icon) [Win32]: Add TODO comments.
815 2008-06-09 Matthias Clasen <mclasen@redhat.com>
817 * xdgmime/Makefile.am: Fix the build
819 2008-06-09 Matthias Clasen <mclasen@redhat.com>
821 * gcontenttype.c (g_content_type_get_icon): Use icons specified
822 in the shared mime database, if available.
824 * xdgmime/*: Sync with upstream. This brings support for
825 glob weights, generic icons, and changes the cache format to
828 2008-05-28 Michael Natterer <mitch@imendio.com>
830 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
831 the global CPPFLAGS now.
833 * tests/data-input-stream.c
834 * tests/data-output-stream.c
835 * tests/g-file-info.c
837 * tests/live-g-file.c
838 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
840 2008-05-27 Matthias Clasen <mclasen@redhat.com>
842 * === Released 2.17.0 ===
844 * tests/live-g-file.c: Clean up after the tests, so make distcheck
845 doesn't complain about leftover files.
847 2008-05-27 simon.zheng <simon.zheng@sun.com>
849 * glocalfile.c: (g_local_file_query_filesystem_info):
850 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
852 2008-05-26 Michael Natterer <mitch@imendio.com>
854 * gmemoryoutputstream.h: declare
855 g_memory_output_stream_get_data_size().
857 2008-05-26 Matthias Clasen <mclasen@redhat.com>
859 * tests/*: Make tests work
861 2008-05-26 Matthias Clasen <mclasen@redhat.com>
863 * gio.symbols: Add g_memory_output_stream_get_data_size.
865 2008-05-25 Ross Burton <ross@burtonini.com>
868 Fix typo in error message (#534764).
870 2008-05-25 Ross Burton <ross@burtonini.com>
873 Fix circular dependency loop for gioenumtypes.h (#534759).
875 2008-05-19 Hans Breuer <hans@breuer.org>
877 * Makefile.am : EXTRA_DIST += makefile.msc
879 2008-05-17 Matthias Clasen <mclasen@redhat.com>
882 * gcontenttype.c: (g_content_type_from_mime_type):
883 New function to create a content type from a mime type. (#527175,
886 2008-05-17 Matthias Clasen <mclasen@redhat.com>
888 Bug 532965 – Should not return filesystem::free for certain file systems
890 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
891 free space for ncpfs.
893 2008-05-17 Matthias Clasen <mclasen@redhat.com>
895 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
897 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
898 st_dev might be zero.
900 2008-05-16 Tor Lillqvist <tml@novell.com>
902 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
903 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
905 2008-05-13 Bastien Nocera <hadess@hadess.net>
907 * gfile.c (has_valid_scheme): A URI scheme must start with a
908 letter, even if later more characters are allowed (#532852)
910 2008-05-05 Michael Natterer <mitch@imendio.com>
912 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
913 code from being checked in that breaks the build of applications
914 which use G_DISABLE_SINGLE_INCLUDES.
916 * makegioalias.pl: make the alias file include "glib.h" instead of
919 * gio.symbols: whitespace change to force regeneration of the
920 alias file after above script change.
922 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
924 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
926 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
928 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
930 2008-04-28 David Zeuthen <davidz@redhat.com>
932 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
933 displaying mounts in a subdirectory not accessible to the
936 2008-04-22 Michael Natterer <mitch@imendio.com>
938 * Makefile.am: fix library versioning (it was 0.0.0).
940 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
942 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
943 Default disable all loggings.
944 * fen/fen-kernel.c: (printevent), (port_add_kevent),
945 (port_fetch_event_cb): Fixed two macro nits.
947 2008-04-16 Matthias Clasen <mclasen@redhat.com>
949 * xdgmime/xdgmime.c: Rework the timestamp checking code
950 to protect against duplicate directories in XDG_DATA_DIRS.
951 Fixes fd.o bug 12513, reported by Joe Shaw.
953 2008-04-16 Matthias Clasen <mclasen@redhat.com>
955 Partically revert the last commit after realizing that
956 xdg_mime_media_type_equal doesn't have to init at all.
959 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
961 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
963 2008-04-16 Matthias Clasen <mclasen@redhat.com>
965 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
966 reported by Joe Shaw and Federico Mena Quintero.
968 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
969 (xdg_mime_media_type_equal): Turn into a wrapper around the
972 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
973 functions throughout.
975 2008-04-16 Michael Meeks <michael.meeks@novell.com>
977 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
978 tolerate an empty TryExec= line without failing; nautilus used
979 to create launchers with these in previous versions. Fixes #528433
981 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
983 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
984 after name. Fixes #527132.
986 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
988 * gfile.c: (g_file_replace):
991 2008-04-07 Matthias Clasen <mclasen@redhat.com>
993 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
995 * gfile.c (file_copy_fallback): Fix the argument order. Patch
996 by Christian Kellner.
998 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1000 * gunixmounts.c: (g_unix_mount_guess_should_display):
1001 Don't list the user directory as a mount, fix potential issue
1002 when other users have a similar naming and don't special case the
1003 gvfs mounts there since that's not required (#525866)
1005 2008-03-31 Alexander Larsson <alexl@redhat.com>
1007 * glocalfile.c (get_parent):
1010 2008-03-31 A. Walton <awalton@svn.gnome.org>
1012 * gfile.c (g_file_query_file_type):
1013 Always return a GFileType enum value (#520715).
1015 2008-03-31 Alexander Larsson <alexl@redhat.com>
1017 * glocalfileenumerator.c:
1018 Read readdir() info in chunks (of 1000) and sort
1019 the chunks by inode before stat:ing.
1020 This is a 20% performance increase in testing
1021 gvfs-ls on /usr/bin with cold cache.
1023 2008-03-31 Alexander Larsson <alexl@redhat.com>
1025 * gmemoryoutputstream.c:
1026 Clarify docs for g_memory_output_stream_get_size.
1027 Add g_memory_output_stream_get_data_size.
1029 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1033 * gfile.h: Add g_file_query_file_type convenience function
1034 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1036 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1038 * gfileenumerator.c:
1039 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1041 2008-03-28 A. Walton <awalton@svn.gnome.org>
1043 * giomodule.c (_g_io_modules_ensure_loaded):
1044 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1047 2008-03-28 Alexander Larsson <alexl@redhat.com>
1050 (copy_stream_with_progress):
1053 2008-03-28 Alexander Larsson <alexl@redhat.com>
1056 (copy_stream_with_progress):
1057 (file_copy_fallback):
1058 Fallback to g_file_query_info for source size
1059 if g_file_input_stream_query_info fails. (#524579)
1061 2008-03-28 Alexander Larsson <alexl@redhat.com>
1063 * glocalfile.c (g_local_file_move):
1064 Reuse old string instead of adding new one.
1066 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1068 * fen/*.[hc]: still copyright issue. I hate copyright.
1070 2008-03-27 Alexander Larsson <alexl@redhat.com>
1072 * glocalfile.c (g_local_file_move):
1073 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1074 file over directory. This is according to the docs and what the move via
1075 copy+remove fallback does.
1077 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1079 * fen/*.[hc]: Updated copyright.
1081 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1083 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1085 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1087 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1088 not emit attribute changed events when optimizing changed events.
1089 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1092 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1094 * gmountoperation.[hc]: Small documentation additions
1096 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1098 * gunixmounts.c: (guess_mount_type):
1099 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1101 2008-03-19 Alexander Larsson <alexl@redhat.com>
1104 (copy_stream_with_progress):
1105 Bump block side for copy to 64k to minimize
1106 overhead for low latency links. (#523015)
1108 2008-03-16 Tor Lillqvist <tml@novell.com>
1110 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1111 depend on gio.def on Windows.
1113 2008-03-12 David Zeuthen <davidz@redhat.com>
1117 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1119 2008-03-14 Alexander Larsson <alexl@redhat.com>
1123 Avoid redudant tests (#521851)
1124 Patch from Josselin Mouette
1126 2008-03-14 Alexander Larsson <alexl@redhat.com>
1129 (g_file_monitor_is_cancelled):
1130 Fix C89 issue (#521672)
1131 Patch from Jens Granseuer
1133 2008-03-14 Alexander Larsson <alexl@redhat.com>
1135 * fam/fam-helper.[ch]:
1137 Shut down fam (including removing fam GSource) when
1138 module is unloaded (#521513)
1139 Patch from Joe Marcus Clarke
1141 2008-03-14 Alexander Larsson <alexl@redhat.com>
1144 (_g_io_modules_ensure_loaded):
1147 2008-03-14 Alexander Larsson <alexl@redhat.com>
1150 (g_local_file_query_filesystem_info):
1151 Use right define name for f_fstypename member check
1153 2008-03-14 Alexander Larsson <alexl@redhat.com>
1156 * fen/Makefile.am: Added.
1157 * fen/fen-data.[ch]: Added.
1158 * fen/fen-dump.[ch]: Added.
1159 * fen/fen-helper.[ch]: Added.
1160 * fen/fen-kernel.[ch]: Added.
1161 * fen/fen-missing.[ch]: Added.
1162 * fen/fen-node.[ch]: Added.
1163 * fen/fen-sub.[ch]: Added.
1164 * fen/gfendirectorymonitor.[ch]: Added.
1165 * fen/gfenfilemonitor.[ch]: Added.
1167 Added Solaris FEN file notification backend.
1168 Patch from Lin Ma <Lin.Ma@Sun.COM>
1170 2008-03-13 Tor Lillqvist <tml@novell.com>
1172 * Makefile.am: Actually use the gio.def file when linking the
1173 library on Windows. Produce .lib library for Microsoft's toolchain
1174 when possible. Install the .lib and .def file like for the other
1177 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1179 * tests/live-g-file.c:
1180 Include live-g-file in standard set of tests, making a temporary
1181 directory in source structure.
1183 Clean target directory before the tests (write mode only)
1185 2008-03-12 Tor Lillqvist <tml@novell.com>
1187 Bug 517419 - gio win32 directory monitor
1188 Implementation by Vlad Grecescu.
1191 * win32/gwin32directorymonitor.h
1192 * win32/gwin32directorymonitor.c: New files.
1194 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1196 * Makefile.am: Add the win32 subdirectory.
1198 2008-03-12 Tor Lillqvist <tml@novell.com>
1200 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1201 normal struct stat on Unix but struct _stati64 on Windows to have
1202 access to 64-bit file size information. Use that instead of struct
1203 stat in the functions declared here in this private header.
1205 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1206 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1207 warnings about unused functions and variables. Don't set
1208 meaningless attributes like inode numbers on Windows.
1210 2008-03-12 Benjamin Otte <otte@gnome.org>
1213 trim whitespace so gtk-doc groks the function name
1215 2008-03-12 Tor Lillqvist <tml@novell.com>
1217 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1218 returning FALSE, on Win32.
1220 2008-03-11 Alexander Larsson <alexl@redhat.com>
1223 * glocalfileinfo.[ch]:
1224 Correctly implement can_trash by actually
1225 looking for a trash dir, not just assuming
1228 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1230 * === Released 2.16.1 ===
1232 2008-03-11 Alexander Larsson <alexl@redhat.com>
1235 Fix crashes in new constructor and properties code
1237 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1239 * gfile.c: Minor spelling correction in documentation:
1240 existance -> existence.
1242 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1244 * === Released 2.16.0 ===
1246 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1248 * gio.symbols: Remove g_file_contains_file here, too.
1250 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1252 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1253 Samuel Cormier-Iijima)
1255 2008-03-08 Tor Lillqvist <tml@novell.com>
1257 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1260 2008-03-07 Alexander Larsson <alexl@redhat.com>
1263 (g_local_file_query_filesystem_info):
1264 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1265 Patch from Jasper Lievisse Adriaanse
1267 2008-03-06 Tor Lillqvist <tml@novell.com>
1269 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1270 comments for the *_USEC attributes.
1272 2008-03-06 Alexander Larsson <alexl@redhat.com>
1274 * gfile.c (g_file_query_exists):
1275 Add g_return_val_if_fail check (#520700)
1277 2008-03-06 Alexander Larsson <alexl@redhat.com>
1279 * gdesktopappinfo.c:
1282 * gunionvolumemonitor.c:
1285 * tests/live-g-file.c:
1286 * xdgmime/xdgmimecache.c:
1287 Fix sparse warnings (#519489)
1289 2008-03-05 Alexander Larsson <alexl@redhat.com>
1292 Make cancellation threadsafe (i.e.
1293 guarantee its only done once, and always
1296 * glocaldirectorymonitor.c:
1297 Make sure we the monitor lives while the
1298 mounts_changed callback is being called (#520484)
1300 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1302 * gbufferedinputstream.c: Fix typo in parameter
1305 2008-03-04 Alexander Larsson <alexl@redhat.com>
1308 Remove deprecated symbols we kept for one release.
1310 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1313 * goutputstream.c: Tiny documentation corrections.
1315 2008-03-03 Alexander Larsson <alexl@redhat.com>
1317 * gunionvolumemonitor.c:
1319 Fix the adopt_orphan_mount vfunc to take a
1320 volume_monitor reference in an ABI compat way.
1321 This change is not API compat, but the added
1322 arg is not used in the only user of this vfunc, so
1323 all we get is a harmless warning in gvfs (#520169)
1325 2008-03-01 Benjamin Otte <otte@gnome.org>
1328 clarify docs for g_file_delete().
1330 2008-02-29 Alexander Larsson <alexl@redhat.com>
1334 Make sure empty files get text/plain type (#518720)
1336 2008-02-27 Alexander Larsson <alexl@redhat.com>
1342 (g_unix_volume_mount):
1343 Add missing GMountMountFlags argument
1345 2008-02-26 Alexander Larsson <alexl@redhat.com>
1348 (g_local_file_delete):
1349 Handle filesystems (like ntfs-3g) that return EEXIST instead
1350 of ENOTEMPTY (#518816)
1352 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1354 * === Released 2.15.6 ===
1356 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1358 * gfile.c (g_file_find_enclosing_mount):
1359 * ginputstream.c (g_input_stream_set_pending):
1360 * glocalfile.c (g_local_file_find_enclosing_mount):
1361 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1362 * goutputstream.c (g_output_stream_set_pending):
1364 Fixup translator comments (#518578).
1366 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1368 * gfile.c (g_file_find_enclosing_mount):
1370 * glocalfile.c (g_local_file_find_enclosing_mount):
1373 Fix a few typos in translator comments and documentation.
1375 2008-02-25 Alexander Larsson <alexl@redhat.com>
1382 Add translator comments (#518578)
1384 2008-02-25 Alexander Larsson <alexl@redhat.com>
1387 Reintroduce g_file_contains_file, keep around for one
1388 unstable release cycle to avoid crashing to many apps.
1389 Make sure to delete after release.
1391 2008-02-25 Alexander Larsson <alexl@redhat.com>
1394 Remove deprecated g_file_contains_file.
1396 2008-02-25 Alexander Larsson <alexl@redhat.com>
1399 Emit actual change signals in an idle handler.
1400 This avoids reentrance and locking problems in
1401 the file notification backends.
1403 2008-02-25 Alexander Larsson <alexl@redhat.com>
1406 (g_unix_mount_guess_should_display):
1407 Remove type guessing, instead just display
1408 mounts in /media and in ~/.
1410 2008-02-25 Alexander Larsson <alexl@redhat.com>
1413 Make new strings reuse old ones.
1415 2008-02-25 Alexander Larsson <alexl@redhat.com>
1418 Implement trashing and filesystem::readonly for win32 (#517235)
1419 Patch from Yevgen Muntyan
1421 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1423 * gfileinfo.h: Documentation fixes.
1425 2008-02-22 Alexander Larsson <alexl@redhat.com>
1427 * gcontenttype.c (g_content_type_get_icon):
1428 Look at old-style gnome mime icon names too, as many
1429 have not moved to the new style.
1431 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1433 * *.c: Correct the @include in for section docs.
1435 2008-02-21 David Zeuthen <davidz@redhat.com>
1437 * glocalfileinfo.c: (_g_local_file_info_get):
1439 (g_content_type_get_icon): Implement this function by
1440 moving bits from glocalfileinfo.c
1441 (g_content_type_get_description): Unalias before getting
1442 description (#517687)
1444 * gfile.c: (g_file_class_init),
1445 (g_file_query_filesystem_info_async),
1446 (g_file_query_filesystem_info_finish),
1447 (query_filesystem_info_data_free),
1448 (query_filesystem_info_async_thread),
1449 (g_file_real_query_filesystem_info_async),
1450 (g_file_real_query_filesystem_info_finish):
1451 * gfile.h: Implement async version of
1452 g_file_query_filesystem_info()
1454 * gfileinfo.h: Add new attributes for filesystem::use-preview
1456 * gio.symbols: Update
1458 * gthemedicon.c: (g_themed_icon_append_name):
1459 * gthemedicon.h: Add new new convenience function.
1461 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1462 (get_mounts), (get_volumes), (get_connected_drives),
1463 (get_volume_for_uuid), (get_mount_for_uuid),
1464 (g_union_volume_monitor_init), (populate_union_monitor),
1465 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1466 (g_volume_monitor_adopt_orphan_mount):
1468 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1469 monitor implementations to call into the main volume monitor. Also
1470 separate object initialization and volume monitor initialization
1471 such that non-native volume monitors can properly adopt their
1474 2008-02-21 Alexander Larsson <alexl@redhat.com>
1479 2008-02-21 Alexander Larsson <alexl@redhat.com>
1482 Add more documentation about how GFiles work (from #517086)
1484 2008-02-21 Alexander Larsson <alexl@redhat.com>
1488 Add new g_file_has_prefix that does the same as g_file_contains_file.
1489 Deprecate g_file_contains_file and add a macro that converts
1490 it to g_file_has_prefix.
1491 The reason for this change is that the contains_file() name seems to
1492 imply that this does more work than what it does, but its really only
1493 a name match (from #517086)
1498 Update to match the above change.
1500 2008-02-20 Benjamin Otte <otte@gnome.org>
1502 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1503 (g_file_eject_mountable):
1504 even more cases of not returning in error path
1506 2008-02-20 Benjamin Otte <otte@gnome.org>
1508 * gfile.c: (g_file_mount_mountable):
1509 return from function in error path.
1511 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1514 Remove trailing coma in GMountMountFlags struct
1516 2008-02-18 Alexander Larsson <alexl@redhat.com>
1520 * glocalfileoutputstream.c:
1521 Use g_unlink/g_rename instead of unlink/rename;
1522 do not pass raw filenames to g_set_error. (#517239)
1523 Patch from Yevgen Muntyan.
1525 2008-02-18 Alexander Larsson <alexl@redhat.com>
1528 * glocalfileoutputstream.c:
1529 Open files with O_BINARY on windows. (#517140)
1531 2008-02-14 Alexander Larsson <alexl@redhat.com>
1533 * glocalfileoutputstream.c:
1534 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1536 2008-02-14 Alexander Larsson <alexl@redhat.com>
1539 Copy permissions with file on copy (#514084)
1540 This is what cp does and makes sure e.g. the
1541 exec permissions are kept.
1542 Its kinda weird in that it keeps the permission bits
1543 the same while the uid and gid are different. However
1544 the new uid is the user so its not a security issue,
1545 and I've heard no complaints about cp on this issue.
1547 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1549 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1551 2008-02-13 Alexander Larsson <alexl@redhat.com>
1553 * inotify/inotify-path.c:
1554 Define IN_ONLYDIR if not in header (#515346)
1556 2008-02-12 Alexander Larsson <alexl@redhat.com>
1558 * tests/live-g-file.c:
1561 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1563 * === Released 2.15.5 ===
1565 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1567 * gio.symbols: Add g_mount_mount_flags_get_type.
1569 2008-02-11 Alexander Larsson <alexl@redhat.com>
1572 (g_file_info_set_attribute_mask):
1573 (g_file_attribute_matcher_matches_id):
1574 Correctly handle NULL GAttributeMatcher meaning
1575 matches nothing. (Fixes #513492)
1577 2008-02-11 Alexander Larsson <alexl@redhat.com>
1582 Added GMountMountFlags enum and added a flags
1583 argument to all mount calls.
1585 This is an API/ABI change for future extensibility,
1586 as I think we will need at least an
1587 inhibit-autorun flag (the panel needs this).
1588 There are no flags defined yet though.
1590 2008-02-11 Alexander Larsson <alexl@redhat.com>
1593 Added new standard::description attribute.
1594 Requested by Vincent, and useful for both
1597 2008-02-11 Alexander Larsson <alexl@redhat.com>
1599 * gdesktopappinfo.c:
1602 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1604 * *.c: Documentation additions
1606 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1608 * gappinfo.h: Formatting cleanup
1609 * gappinfo.c: Fix up docs.
1611 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1613 * gunixmounts.c: Consistently use getmntent_r() and fall
1614 back to getmntent(). (#515492)
1616 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1618 * gbufferedinputstream.c:
1620 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1622 * tests/data-input-stream.c:
1623 * tests/data-output-stream.c: Portability fixes.
1625 2008-02-08 Alexander Larsson <alexl@redhat.com>
1630 Add g_volume_should_automount.
1633 2008-02-07 Tor Lillqvist <tml@novell.com>
1635 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1636 Win32, too Unix-specific.
1638 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1640 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1641 a local plt if the compiler doesn't support what we want. Bug #514702
1643 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1645 reviewed by: <delete if not using a buddy>
1648 * gunixinputstream.c:
1649 * gunixoutputstream.c:
1651 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1653 * tests/Makefile.am:
1654 * tests/live-g-file.c:
1655 * tests/live-g-file.txt:
1656 New GIO testing module working over real data
1658 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1660 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1661 Fallback to rename() if link() is not available
1662 (when no support on target filesystem)
1664 2008-02-06 Michael Natterer <mitch@imendio.com>
1666 * gfileinfo.c (g_file_info_get_icon): replace
1667 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1669 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1671 * gfile.c (g_file_create):
1672 Documentation update of error codes
1674 2008-02-06 Alexander Larsson <alexl@redhat.com>
1676 * gdesktopappinfo.c:
1677 Update to use both mimeapps.list and
1678 defaults.list as discussed on xdg list.
1680 2008-02-06 Benjamin Otte <otte@gnome.org>
1683 * gfilenamecompleter.c:
1684 Fix some typos in the documentation.
1686 2008-02-06 Alexander Larsson <alexl@redhat.com>
1688 * glocalfile.c (g_local_file_trash):
1689 Don't succeed with trash if newly created
1690 trash dir has the wrong owner. (#514696)
1692 2008-02-05 Alexander Larsson <alexl@redhat.com>
1694 * glocalfile.c (g_local_file_move):
1695 Don't spew warnings when destination is not
1698 2008-02-03 Hans Breuer <hans@breuer.org>
1700 * makefile.msc : update
1702 2008-02-01 Michael Natterer <mitch@imendio.com>
1704 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1705 return value of xdg_mime_list_mime_parents() to a variable of the
1708 2008-02-01 Alexander Larsson <alexl@redhat.com>
1710 * gappinfo.c (g_app_info_launch_uris):
1711 Actually call the launch_uris method, not
1714 2008-02-01 Alexander Larsson <alexl@redhat.com>
1716 * gdesktopappinfo.c (g_desktop_app_info_equal):
1717 Ensure appinfos with no id but same pointer value
1720 2008-02-01 Alexander Larsson <alexl@redhat.com>
1722 * gappinfo.c (g_app_info_launch_default_for_uri):
1725 2008-02-01 Alexander Larsson <alexl@redhat.com>
1729 Add g_app_info_launch_default_for_uri utility
1732 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1734 * gdesktopappinfo.c:
1735 Doc fix for g_app_info_get_default_for_uri_scheme ()
1738 2008-01-30 Alexander Larsson <alexl@redhat.com>
1741 Add doc comment about uris vs GFiles to
1744 * gdesktopappinfo.c:
1745 Ensure uris passed to g_app_info_launch_uris()
1746 are not roundtriped through GFile (as that
1747 may be slightly destructive for e.g. mailto: links)
1749 2008-01-30 Alexander Larsson <alexl@redhat.com>
1751 * tests/data-input-stream.c:
1752 * tests/data-output-stream.c:
1753 C89 fixes from Jens Granseuer (#512849)
1755 2008-01-30 Alexander Larsson <alexl@redhat.com>
1758 Fix gamin/fam difference build issue. (#509419)
1760 2008-01-29 Alexander Larsson <alexl@redhat.com>
1763 * gdesktopappinfo.c:
1764 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1766 2008-01-29 Alexander Larsson <alexl@redhat.com>
1768 * gdesktopappinfo.c:
1769 * gdesktopappinfo.h:
1770 giomodule-priv.h include moved to .c file.
1772 2008-01-29 Alexander Larsson <alexl@redhat.com>
1774 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1775 Remove unused prio/name fields.
1777 2008-01-29 Alexander Larsson <alexl@redhat.com>
1779 * gcontenttype.c (looks_like_text):
1780 Don't treat whitespace as control chars.
1782 2008-01-29 Alexander Larsson <alexl@redhat.com>
1784 * gdesktopappinfo.c:
1785 Lazily create the desktop files for appinfos created
1786 by g_app_info_create_from_commandline() when needed
1787 for mime associations. This allows run-time use
1788 of GAppInfo object without creating unnecessary
1791 2008-01-29 Alexander Larsson <alexl@redhat.com>
1794 Added new symbols to gio.symbols
1796 2008-01-29 Alexander Larsson <alexl@redhat.com>
1799 Add g_file_query_default_handler utility to easily look up
1800 the GAppInfo that handles a file.
1802 * gdesktopappinfo.[ch]:
1804 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1807 Remove unused function
1809 2008-01-29 Alexander Larsson <alexl@redhat.com>
1811 * gfileenumerator.c:
1812 Mention need to free returned value in
1813 g_file_enumerator_next_files_finish docs.
1814 Fix leak if g_file_enumerator_next_files_finish()
1817 2008-01-29 Alexander Larsson <alexl@redhat.com>
1820 (_g_unix_content_type_get_parents):
1821 Use list_parents, not get_parents from xdgmime, because
1822 the later doesn't use the cache.
1824 * xdgmime/xdgmimecache.c:
1825 (_xdg_mime_cache_list_mime_parents):
1826 Don't list the same type as parent multiple times.
1828 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1830 * === Released 2.15.4 ===
1832 2008-01-28 Alexander Larsson <alexl@redhat.com>
1835 Register local vfs with prio 0.
1838 Remove old name and prio class members
1840 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1842 * tests/g-file.c: Disable some tests that are failing in
1843 the absence of a http backend.
1845 2008-01-28 Alexander Larsson <alexl@redhat.com>
1849 Add registration hooks for extension points.
1850 Register the gio extension points.
1852 * fam/gfamdirectorymonitor.c:
1853 * fam/gfamfilemonitor.c:
1854 * glocaldirectorymonitor.[ch]:
1855 * glocalfilemonitor.[ch]:
1856 * gnativevolumemonitor.h:
1857 * gunionvolumemonitor.c:
1858 * gunixvolumemonitor.c:
1861 * inotify/ginotifydirectorymonitor.c:
1862 * inotify/ginotifyfilemonitor.c:
1863 Use the extension points registration instead
1864 of g_type_children().
1866 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1869 * gvolume.[hc]: Document new API.
1871 * gfile.c (g_file_copy_async): Fix docs
1873 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1875 * gbufferedinputstream.c:
1877 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1880 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1882 * glocalfile.c: Avoid trivial differences in translatable strings.
1884 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1886 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1887 build with gcc 3.4 (#509419)
1889 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1891 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1892 (#509994, Murray Cumming)
1894 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1896 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1897 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1898 this allows big jobs to be executed in chunks, instead of blocking
1899 the main loop for a long time.
1901 * gsimpleasyncresult.c:
1902 * giofile.c: Adapt callers.
1904 2008-01-25 Alexander Larsson <alexl@redhat.com>
1906 * gdesktopappinfo.c:
1907 Implement changes discussed on xdg list.
1908 Now we can add supported mimetypes by just using defaults.list
1909 We can also remove associations in defaults.list.
1911 2008-01-25 Alexander Larsson <alexl@redhat.com>
1913 * gdesktopappinfo.c:
1914 Don't make local copy of desktop file
1915 for mimetype changes if the file already
1916 supports the new mimetype.
1918 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1922 * gbufferedinputstream.c:
1923 * glocalfile.c: String improvements. (#511966,
1924 Theppitak Karoonboonyanan)
1926 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1928 * gioscheduler.h: Expand docs a bit.
1930 2008-01-24 Alexander Larsson <alexl@redhat.com>
1933 Add g_drive_get_identifier and
1934 g_drive_enumerate_identifiers
1937 Add g_volume_get_identifier and
1938 g_volume_enumerate_identifiers
1944 Implement identifiers for unix backend
1946 2008-01-24 Alexander Larsson <alexl@redhat.com>
1951 Add g_file_copy_async() (#511580)
1952 Based on patch from Carlos Garcia Campos
1954 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1956 * gioscheduler.c: Some documentation additions.
1958 2008-01-22 Alexander Larsson <alexl@redhat.com>
1960 * gdesktopappinfo.c:
1961 (g_desktop_app_info_new):
1962 Don't leak basename.
1964 2008-01-22 Alexander Larsson <alexl@redhat.com>
1966 * gdesktopappinfo.c:
1967 (g_desktop_app_info_new_from_filename):
1970 2008-01-22 Alexander Larsson <alexl@redhat.com>
1972 * glocalfileinfo.c (get_thumbnail_attributes):
1975 2008-01-22 Alexander Larsson <alexl@redhat.com>
1978 (canonicalize_filename):
1979 Canonicalize paths that start with more than
1983 (compare_two_files):
1984 (test_g_file_new_for_path):
1987 2008-01-22 Alexander Larsson <alexl@redhat.com>
1990 Allow UTF-8 in file:// parse names.
1992 * tests/Makefile.am:
1993 * tests/data-input-stream.c:
1994 * tests/data-output-stream.c:
1995 * tests/g-file-info.c:
1997 Added a bunch of tests from Tomas Bzatek
1999 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2001 * === Released 2.15.3 ===
2003 2008-01-21 Alexander Larsson <alexl@redhat.com>
2005 * gfileinputstream.[ch]:
2006 * gfileoutputstream.[ch]:
2008 Remove duplicated GSeekable functions. (#509990)
2009 Just use the g_seekable_xxx() calls instead.
2011 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2014 * gvolumemanager.c: Whitespace cleanups.
2016 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2017 Use the right mode when creating the file.
2019 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2021 * gfileenumerator.c:
2022 * gfileinputstream.c:
2024 * goutputstream.c: Documentation: Fixed minor typos
2025 and added more mentions of specific _finish() functions.
2027 2008-01-21 Alexander Larsson <alexl@redhat.com>
2029 * inotify/Makefile.am:
2030 * inotify/inotify-helper.c:
2031 * inotify/inotify-kernel.c:
2032 * inotify/inotify-path.c:
2033 * inotify/local_inotify.h: Removed.
2034 * inotify/local_inotify_syscalls.h: Removed.
2035 Removed the included copies of the inotify
2036 headers. We now only use the <sys/inotify.h>
2037 header which exists on modern systems.
2038 This fixes problems on ARM and SH5 (#510448)
2039 but is also generally much cleaner and future
2040 safe. For instance, if other OSes add support
2041 for inotify it should "just work".
2043 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2045 * inotify/*.c: Coding style fixes.
2046 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2047 for the 1/4 Hz timer.
2049 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2052 * gfilemonitor.[hc]:
2053 * gmemoryinputstream.c:
2054 * gmemoryoutputstream.c:
2055 * gmountoperation.c:
2056 * gthemedicon.c: Documentation updates
2058 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2060 * gfile.c: documentation: Fixed more minor
2063 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2065 * gmount.c: (g_mount_remount): documentation:
2066 Mention g_mount_remount_finish() instead of
2067 g_mount_unmount_finish().
2069 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2073 * gfile.c: Fixed some minor typos in the
2076 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2078 * gio/gvolumemonitor.c:
2079 (g_volume_monitor_get_connected_drives):
2080 (g_volume_monitor_get_volumes):
2081 (g_volume_monitor_get_mounts): Documentation:
2082 Clarify the ownership of the regurn GLists.
2084 2008-01-17 Alexander Larsson <alexl@redhat.com>
2087 Add the async find_enclosing_mount version
2088 to the header file too.
2090 2008-01-17 Alexander Larsson <alexl@redhat.com>
2093 Add async version of find_enclosing_mount
2094 with default implementation.
2096 2008-01-17 Alexander Larsson <alexl@redhat.com>
2101 Allow calls to implementation of copy and write
2102 even if the type of the file implementations is
2103 different. This can be used to implement native
2104 upload and download calls in a vfs.
2107 (g_local_file_move):
2108 Protect against the case where move is called
2109 with one file not being local.
2111 Make sure we call the progress callback once
2112 in the native move operation so that the caller
2113 knows how many bytes were copied.
2115 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2118 * gdatainputstream.c:
2120 * gfileoutputstream.c:
2125 * gunixmounts.c: Corrected some typos in the documentation:
2126 occured -> occurred.
2127 its -> it's (where appropriate).
2129 2008-01-16 Alexander Larsson <alexl@redhat.com>
2133 Add g_file_query_exists (#508771)
2135 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2140 * gvolume.c: For async functions that have no non-async
2141 version, document that the GAsyncReadyCallback may be NULL.
2144 2008-01-15 Alexander Larsson <alexl@redhat.com>
2146 * gmemoryinputstream.c:
2147 * gmemoryoutputstream.c:
2148 Don't do pointer arithmetic on void * (#508602)
2149 Patch from Kazuki IWAMOTO
2151 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2153 * === Released 2.15.2 ===
2155 2008-01-14 Alexander Larsson <alexl@redhat.com>
2157 * gfile.c (g_file_monitor_file):
2158 Don't set error here, since we fallback to polling monitor.
2160 2008-01-14 Alexander Larsson <alexl@redhat.com>
2163 (g_file_monitor_directory):
2164 (g_file_monitor_file):
2165 Add GError to file monitor calls
2167 * glocaldirectorymonitor.c:
2168 * glocaldirectorymonitor.h:
2170 * glocalfilemonitor.c:
2171 * glocalfilemonitor.h:
2173 Update for above change
2175 2008-01-14 Alexander Larsson <alexl@redhat.com>
2179 Handle root correctly in g_file_get_relative_path (#508719)
2181 2008-01-14 Alexander Larsson <alexl@redhat.com>
2184 Clean up docs and example for GAsyncResult (#508074)
2186 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2188 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2189 and correct some spelling mistakes. Bug #508108.
2191 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2193 * glocalfileinfo.c: Add a comment.
2195 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2197 * gfileinfo.c: GFileInfo description: Mention
2198 how to actually set attributes in a GFile and how to discover
2199 which attributes are settable. Bug #508378.
2201 2008-01-10 A. Walton <awalton@svn.gnome.org>
2203 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2204 (g_app_info_get_default_for_type):
2205 Check for NULL content types.
2207 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2209 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2211 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2213 * gfile.c: *_async() functions: Several small corrections
2214 to the documentation, mostly correcting copy/paste errors
2215 and improving some sentences.
2217 2008-01-09 Dan Winship <danw@gnome.org>
2219 * glocalfile.c (get_unique_filename): x86_64 fix
2221 2008-01-09 Alexander Larsson <alexl@redhat.com>
2226 Add g_unix_mount_guess_should_display and use
2227 for unix volume monitor backend.
2228 This means we more or less show what the
2229 gnome-vfs backend did.
2230 Based on patch from Padraig O'Briain
2232 2008-01-09 Alexander Larsson <alexl@redhat.com>
2236 Add g_themed_icon_new_with_default_fallbacks
2239 Use default fallbacks for icons
2241 2008-01-09 Alexander Larsson <alexl@redhat.com>
2244 * gmountoperation.[ch]:
2245 Change the API a bit so that unhandled methods
2246 get reported via the reply, rather than by
2247 the signal emission return value. This is because
2248 some handlers can't know this immediately without
2249 doing I/O, and this is an async operation that
2252 2008-01-09 Alexander Larsson <alexl@redhat.com>
2255 * fam/gfamdirectorymonitor.c:
2256 * fam/gfamfilemonitor.c:
2257 Fix double free crash (#508224)
2258 Patch from Joe Marcus Clarke
2260 008-01-07 Matthias Clasen <mclasen@redhat.com>
2262 * === Released 2.15.1 ===
2264 2008-01-07 Alexander Larsson <alexl@redhat.com>
2266 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2267 Fix warning (#507835)
2269 2008-01-07 Alexander Larsson <alexl@redhat.com>
2272 Pass --internal to glib-genmarshal
2275 * gmountoperation.c:
2277 Use better types for signal arguments (#507822)
2279 2008-01-07 Alexander Larsson <alexl@redhat.com>
2282 Build test subdir after .
2283 Remove gdirectorymonitor.[ch]
2285 * gdirectorymonitor.[ch]:
2289 Remove GDirectoryMonitor and make
2290 GFileMonitor the baseclass for both file and
2291 directory monitors. Lift the more generic
2292 rate limiting code from GDirectoryMonitor
2296 * fam/gfamdirectorymonitor.[ch]:
2297 * inotify/ginotifydirectorymonitor.[ch]:
2298 * inotify/inotify-helper.c:
2299 * glocaldirectorymonitor.[ch]:
2302 Update for the removed GDirectoryMonitor.
2304 * gmemoryoutputstream.c:
2305 Remove ununsed variable
2307 2008-01-07 Alexander Larsson <alexl@redhat.com>
2309 * gmemoryinputstream.c:
2310 Translate error strings
2313 * gmemoryoutputstream.[ch]:
2314 New implementation that avoids using GByteArray
2315 in implementation and API. (#506377)
2317 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2319 * tests/*: Add a test for memory input streams.
2321 * Makefile.am: Add tests to SUBDIRS.
2323 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2325 * glocalfilemonitor.c:
2326 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2329 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2331 * gdesktopappinfo.c: Fix a docs typo.
2333 * gfileattribute.c: Add information about extended attributes
2334 to the documentation. (#505058)
2336 2008-01-04 Alexander Larsson <alexl@redhat.com>
2339 * gmountoperation.c:
2340 Use the right type (uint) for the ask_password signal.
2342 2008-01-04 Alexander Larsson <alexl@redhat.com>
2347 Add g_app_info_supports_files()
2348 Remove desktop arg from g_app_info_should_show().
2350 * gdesktopappinfo.[ch]:
2351 Implement g_app_info_supports_files() and new should_show()
2352 Add g_desktop_app_info_set_desktop_env() to set the desktop
2353 for should_show(). (This will be set by gtk+ later)
2355 2008-01-04 Alexander Larsson <alexl@redhat.com>
2358 * gmemoryinputstream.[ch]:
2359 Improve API so that you can use multiple chunks
2360 of memory and custom destroy functions. (#506374)
2362 2008-01-03 Alexander Larsson <alexl@redhat.com>
2365 Handle NULL attribute matchers safely, as we return this
2366 for empty attribute matcher strings.
2368 2008-01-03 Alexander Larsson <alexl@redhat.com>
2370 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2371 Add /usr/local to list of internal mountpoints
2373 2008-01-03 Alexander Larsson <alexl@redhat.com>
2376 Check for HAVE_LCHOWN (#505887)
2378 2008-01-03 Alexander Larsson <alexl@redhat.com>
2382 Add define for selinux context attribute.
2383 Fix missing : -> :: namespace separator change
2384 Fix missing _ -> - name change for xattr-sys.
2387 2008-01-03 Alexander Larsson <alexl@redhat.com>
2390 Link to libglib and libgobject directly (#504879)
2391 Patch from Sebastien Bacher
2393 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2395 * gfile.c: Expanded the g_file_new_for_commandline_arg
2396 description a bit, based on the code and the docs of the
2397 other g_file_new_for_* functions.
2399 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2401 * gfilemonitor.h: Fixed typo in docs.
2403 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2405 Updates to GIO documentation. (#506395, Mikael Hermansson)
2407 * gcontenttype.c: Describe memory management for return value of
2408 g_content_types_get_registered(). Missing piece from #505815.
2409 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2410 GVolume, GDrive, GMounts, which hopefully gives the user less
2411 confusions when using this API. Following explainations from
2412 Alexander Larsson on gtk-devel-list.
2414 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2416 * gfileinfo.c: Expand the long description.
2418 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2421 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2422 fix builds with --disable-visibility. (#500273, Christian Persch)
2424 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2426 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2427 in the list of returned app infos.
2429 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2431 * gappinfo.c: Fix a cross-reference
2433 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2435 * gfileinputstream.c:
2436 * gfileoutputstream.c:
2440 * gdesktopappinfo.c:
2442 * gfileinfo.c: Documentation updates.
2444 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2446 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2449 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2451 * gcontenttype.c (g_content_types_get_registered): Don't return
2452 freed memory (#505815, Mikael Hermansson)
2454 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2456 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2457 used to detect statbuf->st_blocks. (#505042)
2459 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2461 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2462 environment handling. (#504829, Cosimo Cecchi)
2464 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2466 * gappinfo.c: Doc improvements
2468 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2471 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2473 * === Released 2.15.0 ===
2475 2007-12-20 Hans Breuer <hans@breuer.org>
2477 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2478 with symbols gwin32appinfo.obj, added gmount.obj
2479 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2481 2007-12-20 Alexander Larsson <alexl@redhat.com>
2487 * gfilenamecompleter.c:
2490 * gpollfilemonitor.c:
2491 File attribute renames:
2493 fs:: -> filesystem::
2494 id::fs -> id::filesystem
2496 2007-12-20 Alexander Larsson <alexl@redhat.com>
2505 Add GMountUnmountFlags to all unmount and
2507 Add g_mount_remount() call.
2509 2007-12-20 Alexander Larsson <alexl@redhat.com>
2511 * gvfs.c (get_default_vfs):
2512 Fix unused variable warning
2514 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2516 * pltcheck.sh: Update
2518 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2520 * gunionvolumemonitor.c:
2521 * gunixmount.c: Remove C99 comments
2523 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2525 * gio.symbols: Add some missing symbols
2527 2007-12-19 Alexander Larsson <alexl@redhat.com>
2530 Make g_io_modules_load_all_in_directory not unuse
2531 loaded modules so that users of it can do stuff
2533 Init internal "module" types.
2534 Initialize static prio and name for types so that
2535 we don't have to load modules to get it.
2537 * gnativevolumemonitor.h:
2539 Move is_supported to parent class so that
2540 non-native monitors can avoid being initialized
2541 too. (For instance GDaemonVolumeMonitor if we're
2542 not using GDaemonVfs.)
2544 * glocaldirectorymonitor.[ch]:
2545 * glocalfilemonitor.[ch]:
2546 * gunionvolumemonitor.c:
2547 * gunixvolumemonitor.c:
2549 Find plugins using the static prio+name to
2550 avoid unnecessarily loading the modules.
2552 2007-12-19 Alexander Larsson <alexl@redhat.com>
2557 2007-12-19 Alexander Larsson <alexl@redhat.com>
2559 * gunionvolumemonitor.c:
2560 Store the native type as GType, not class so that
2561 we can unload it. But still avoid unnecessarily
2564 2007-12-19 David Zeuthen <davidz@redhat.com>
2566 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2567 add signals 'disconnected' and 'eject-button' on GDrive. Add
2568 signal 'removed' on GVolume and 'unmounted' on GMount.
2570 * gdrive.c: (g_drive_base_init):
2572 * gfile.c: (g_file_mount_mountable),
2573 (g_file_mount_enclosing_volume):
2576 * gmount.c: (g_mount_base_init):
2578 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2579 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2580 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2584 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2586 * *.c: Fix up includes in the section docs.
2588 2007-12-17 Alexander Larsson <alexl@redhat.com>
2590 * gnativevolumemonitor.h:
2591 * gunionvolumemonitor.c:
2592 * gunixvolumemonitor.c:
2593 Add is_supported() to GNativeVolumeMonitorClass so
2594 that we can avoid having to create an object to see
2595 if the backend is supported at runtime.
2596 Also add name member and an env var to pick a specific
2597 volume monitor backend.
2601 Add cancellable to _g_mount_get_for_mount_path()
2603 * glocaldirectorymonitor.c:
2604 * glocalfilemonitor.c:
2605 Avoid loading and unloading modules while sorting.
2607 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2610 * gunixmounts.[hc]: Namespace waste reduction, move some
2611 g_get_unix_mount functions to the g_unix_mount namespace.
2614 * gunixvolumemonitor.c:
2616 * glocaldirectorymonitor.c: Update all callers.
2618 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2620 2007-12-17 Alexander Larsson <alexl@redhat.com>
2623 Add doc comments about what GFile operations are
2624 guaranteed to not block.
2626 2007-12-17 Alexander Larsson <alexl@redhat.com>
2629 Add missing #ifdef fixing OSX build.
2630 (#503334, patch from Richard Hult)
2632 2007-12-14 David Zeuthen <davidz@redhat.com>
2636 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2637 (g_mount_eject), (g_mount_eject_finish):
2639 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2640 (get_volume_for_uuid), (get_mount_for_uuid),
2641 (g_union_volume_monitor_class_init),
2642 (get_default_native_type_with_exclude), (get_default_native_type),
2643 (get_native_type), (update_native_type),
2644 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2645 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2646 (g_unix_mount_can_eject), (eject_unmount_cb),
2647 (eject_unmount_read_error), (eject_unmount_do),
2648 (g_unix_mount_unmount), (g_unix_mount_eject),
2649 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2650 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2651 (g_unix_mount_point_guess_can_eject):
2653 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2654 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2655 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2656 (g_unix_volume_mount), (g_unix_volume_eject),
2657 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2658 * gunixvolumemonitor.c: (get_volume_for_uuid),
2659 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2661 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2662 (g_volume_eject), (g_volume_eject_finish):
2664 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2665 (g_volume_monitor_get_mount_for_uuid):
2668 Provide eject() on both GMount and GVolume and utility functions
2669 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2670 ejected. Introduce the concept of UUID's and wire it into GVolume
2671 and GMount and provide API on GVolumeMonitor to find such
2672 instances. Also handle the case where an external
2673 GNativeVolumeMonitor fails to initialize. Lock around the
2674 _g_get_mount_for_mount_path() function such that volume monitor
2675 implementations won't have to do locking themselves.
2677 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2679 * gdesktopappinfo.c:
2685 * gvolume.h: Documentation updates
2687 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2690 * gfile.h: Doc updates
2692 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2695 * gdesktopappinfo.c: Use hash table iterators.
2697 2007-12-14 Alexander Larsson <alexl@redhat.com>
2700 * gfileattribute.[ch]:
2701 * gfileattribute-priv.h:
2702 Move GFileAttributeValue to a private header, as
2706 Make set_attribute take a type + a pointer instead
2707 of a GFileAttributeValue.
2710 Fix up for above changes.
2711 Add g_file_info_get_attribute_data to get
2712 all info in one call, g_file_info_get_attribute_status
2713 to get the status and g_file_info_get_attribute_as_string.
2717 * glocalfileinfo.[ch]:
2721 Make _guess_type static.
2723 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2726 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2727 made mkenums and friends use temporary files to avoid leaving
2728 empty generated files on failure (#503470).
2730 2007-12-14 Alexander Larsson <alexl@redhat.com>
2732 * gmountoperation.h:
2735 2007-12-14 Alexander Larsson <alexl@redhat.com>
2739 * gfileattribute.[ch]:
2742 * glocalfileoutputstream.c:
2743 * gmountoperation.[ch]:
2744 * goutputstream.[ch]:
2745 Clean up all flags enums to not have _FLAGS in them
2746 Make the names of some of the enums better.
2751 2007-12-14 Michael Natterer <mitch@imendio.com>
2753 * gio.symbols: fix g_io_scheduler symbol names.
2755 2007-12-14 Alexander Larsson <alexl@redhat.com>
2761 * gbufferedinputstream.h:
2762 * gbufferedoutputstream.h:
2765 * gdatainputstream.h:
2766 * gdataoutputstream.h:
2767 * gdesktopappinfo.h:
2768 * gdirectorymonitor.h:
2772 * gfileenumerator.h:
2775 * gfileinputstream.h:
2777 * gfilenamecompleter.h:
2778 * gfileoutputstream.h:
2779 * gfilterinputstream.h:
2780 * gfilteroutputstream.h:
2788 * gmemoryinputstream.h:
2789 * gmemoryoutputstream.h:
2791 * gmountoperation.h:
2794 * gsimpleasyncresult.h:
2796 * gunixinputstream.h:
2798 * gunixoutputstream.h:
2802 * inotify/Makefile.am:
2803 Only allow including <gio/gio.h> from apps
2805 2007-12-14 Alexander Larsson <alexl@redhat.com>
2807 * gioscheduler.[ch]:
2808 * gsimpleasyncresult.c:
2809 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2810 Split out the send_to_mainloop call into two versions instead
2811 of having the block argument.
2813 2007-12-13 Alexander Larsson <alexl@redhat.com>
2815 * gcancellable.[ch]:
2817 * gbufferedinputstream.c:
2818 * gfileenumerator.c:
2819 * gfileinputstream.c:
2820 * gfileoutputstream.c:
2824 g_push/pop_current_cancellable ->
2825 g_cancellable_push/pop_current
2827 2007-12-13 Alexander Larsson <alexl@redhat.com>
2831 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2833 2007-12-13 Alexander Larsson <alexl@redhat.com>
2835 * gmountoperation.h:
2836 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2838 2007-12-12 Alexander Larsson <alexl@redhat.com>
2841 Fix race condition when freeing proxy in
2842 g_io_job_send_to_mainloop().
2844 2007-12-12 Alexander Larsson <alexl@redhat.com>
2850 Make attribute namespace separator "::" instead of ":".
2851 Use - instead of _ as separator in attribute names.
2853 2007-12-12 Alexander Larsson <alexl@redhat.com>
2855 * gbufferedinputstream.h:
2856 * gbufferedoutputstream.h:
2857 * gdatainputstream.h:
2858 * gdataoutputstream.h:
2859 * gdirectorymonitor.h:
2860 * gfileenumerator.h:
2861 * gfileinputstream.h:
2863 * gfileoutputstream.h:
2864 * gfilterinputstream.h:
2865 * gfilteroutputstream.h:
2867 * glocalfileinputstream.h:
2868 * glocalfileoutputstream.h:
2869 * gmemoryinputstream.h:
2870 * gmemoryoutputstream.h:
2871 * gnativevolumemonitor.h:
2873 * gunixinputstream.h:
2874 * gunixoutputstream.h:
2877 s/parent/parent_instance/ in GObjects
2879 2007-12-12 Alexander Larsson <alexl@redhat.com>
2884 No need for padding for interfaces
2886 2007-12-12 Alexander Larsson <alexl@redhat.com>
2890 * gbufferedinputstream.c:
2891 * gbufferedoutputstream.c:
2894 * gdatainputstream.[ch]:
2895 * gdesktopappinfo.c:
2896 * gdirectorymonitor.c:
2898 * gfileattribute.[ch]:
2901 * gfileinputstream.h:
2902 * gfilemonitor.[ch]:
2903 * gfileoutputstream.[ch]:
2904 * gfilterinputstream.h:
2905 * gfilteroutputstream.h:
2908 * gloadableicon.[ch]:
2909 * gmemoryinputstream.c:
2910 * gmountoperation.c:
2912 Fix up a bunch of details in the docs.
2917 2007-12-11 David Zeuthen <davidz@redhat.com>
2919 Rework how volumes, drives and volume monitoring is
2920 done. Previosly the model was
2922 GDrive <1-1> GVolume
2924 where a GDrive instance represented a mount point and a GVolume
2925 instance represented a mounted file system. This patch changes it
2928 GDrive <1-N> GVolume <1-1> GMount
2930 where GMount now serves the purpose of the old GVolume and the new
2931 GVolume serves the purpose of the old GDrive. In addition the new
2932 GDrive interface is used to represent a collection of GVolume
2933 instances (typically partitions) and also contains utility to query
2934 the state of the physical drive the GDrive object represents (such
2935 as checking for media, polling the drive, ejecting the media etc.).
2937 Also implement mounting and unmounting in the Unix volume monitor
2938 backend. A subquent patch will introduce GDrive support for ejection
2942 * gdrive.c: (g_drive_is_media_check_automatic),
2943 (g_drive_is_media_removable), (g_drive_has_media),
2944 (g_drive_can_poll_for_media), (g_drive_eject),
2945 (g_drive_eject_finish), (g_drive_poll_for_media),
2946 (g_drive_poll_for_media_finish):
2948 * gfile.c: (g_file_find_enclosing_mount):
2951 * glocaldirectorymonitor.c:
2952 (g_local_directory_monitor_constructor), (mounts_changed):
2953 * glocalfile.c: (get_mount_info),
2954 (g_local_file_find_enclosing_mount),
2955 (g_local_file_file_iface_init):
2956 * gnativevolumemonitor.h:
2957 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2958 (get_connected_drives), (g_union_volume_monitor_class_init),
2959 (child_volume_added), (child_volume_removed),
2960 (child_volume_changed), (child_mount_added), (child_mount_removed),
2961 (child_mount_pre_unmount), (child_mount_changed),
2962 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2963 (g_union_volume_monitor_remove_monitor),
2964 (_g_mount_get_for_mount_path):
2965 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2966 (guess_system_internal), (_g_get_unix_mounts),
2967 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2968 (g_unix_mount_free), (g_unix_mount_compare),
2969 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2970 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2971 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2972 (type_to_icon), (g_unix_mount_guess_name),
2973 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2974 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2975 (_resolve_symlink), (_resolve_dev_root):
2977 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2978 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2979 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2980 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2981 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2982 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2983 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2984 (g_unix_volume_volume_iface_init):
2986 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2987 (get_mounts), (get_volumes), (get_connected_drives),
2988 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2989 (mountpoints_changed), (mounts_changed),
2990 (g_unix_volume_monitor_init),
2991 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2992 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2993 * gunixvolumemonitor.h:
2994 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2995 (g_volume_mount), (g_volume_mount_finish):
2997 * gvolumemonitor.c: (g_volume_monitor_class_init),
2998 (g_volume_monitor_get_connected_drives),
2999 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3002 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3004 * gmountoperation.h (GPasswordFlags): Close the gap
3006 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3008 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3010 * gdesktopappinfo.[hc]: Remove _-prefixes
3012 2007-12-10 Tor Lillqvist <tml@novell.com>
3014 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3017 2007-12-10 Alexander Larsson <alexl@redhat.com>
3019 * gfile.c (g_file_set_display_name):
3020 Don't hardcode '/' (#502727)
3022 2007-12-09 Hans Breuer <hans@breuer.org>
3024 * makefile.msc : follow lib naming convention
3025 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3026 for user and group name, tested with ../tests/gio-ls
3028 2007-12-09 A. Walton <awalton@svn.gnome.org>
3030 * gdesktopappinfo.c:
3036 * gfileenumerator.c:
3041 * gmemoryinputstream.c:
3042 * gmemoryoutputstream.c:
3044 * gsimpleasyncresult.c:
3045 More documentation cleanup and filling in missing information, bringing
3046 GIO to 99% symbol coverage.
3048 2007-12-08 Hans Breuer <hans@breuer.org>
3050 [gio compiles and links on win32, not sure how much already works]
3051 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3052 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3053 base on win32 API; prefer g_lstat() over lstat(); instead of
3054 localtime_r() use an all GLib implementation on win32;
3055 get_mount_info() still needs a win32 specifc implementation
3056 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3057 win32_get_file_user_info to get owner/group info without uid/gid
3058 * glocalfileinputstream.c : include <io.h> on win32
3059 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3060 definition, use g_win32_ftruncate() for G_OS_WIN32
3061 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3062 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3063 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3064 * makefile.msc : updated
3066 2007-12-07 Alexander Larsson <alexl@redhat.com>
3068 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3069 Avoid warning spew if error == NULL
3071 2007-12-07 Alexander Larsson <alexl@redhat.com>
3074 Update docs wrt etags
3076 2007-12-06 Alexander Larsson <alexl@redhat.com>
3079 Include sys/types.h for dev_t (#501919)
3081 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3085 Make abicheck and pltcheck pass.
3087 2007-12-05 Alexander Larsson <alexl@redhat.com>
3090 * giomodule-priv.h: Added.
3091 * glocaldirectorymonitor.c:
3092 * glocalfilemonitor.c:
3093 * gunionvolumemonitor.c:
3095 Actually add the declaration of _g_io_modules_ensure_loaded
3097 2007-12-05 Alexander Larsson <alexl@redhat.com>
3099 * gdatainputstream.c:
3104 * glocaldirectorymonitor.c:
3105 * glocalfilemonitor.c:
3106 * gunionvolumemonitor.c:
3108 Make g_io_modules_ensure_loaded a private function and
3109 don't pass in the dirname. This means we can do magic
3110 directory finding in the win32 version.
3111 Export the actual load-modules-in-directory code so that
3112 gvfs can reuse that.
3114 2007-12-05 Alexander Larsson <alexl@redhat.com>
3116 * gbufferedinputstream.c:
3117 * gbufferedoutputstream.c:
3120 * gfileenumerator.[ch]:
3121 * gfileinputstream.c:
3122 * gfileoutputstream.[ch]:
3123 * gfilterinputstream.c:
3124 * gfilteroutputstream.c:
3125 * ginputstream.[ch]:
3127 * glocalfileenumerator.c:
3128 * glocalfileinputstream.c:
3129 * glocalfileoutputstream.c:
3130 * gmemoryinputstream.c:
3131 * gmemoryoutputstream.c:
3132 * goutputstream.[ch]:
3135 * gunixinputstream.c:
3136 * gunixoutputstream.c:
3137 Rename all struct members named:
3138 read, write, close, truncate, or mount
3139 to foo_fn, as these are reserved names
3140 and could be defined as macros in libc.
3143 2007-12-04 Alexander Larsson <alexl@redhat.com>
3146 (g_output_stream_close):
3147 Only call flush if non-null.
3149 2007-11-30 Dan Winship <danw@gnome.org>
3151 * ginputstream.c (g_input_stream_set_pending): Make this take a
3152 GError and return a gboolean, and do the "outstanding operation"
3153 check (and the "stream is already closed" check) itself.
3154 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3156 * goutputstream.c (g_output_stream_set_pending)
3157 (g_output_stream_clear_pending): Likewise
3159 * gbufferedinputstream.c:
3160 * gfileinputstream.c:
3161 * gfileoutputstream.c: Update for that
3163 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3164 Like g_simple_async_report_error_in_idle, but takes a GError
3165 rather than building one.
3167 2007-11-30 Dan Winship <danw@gnome.org>
3169 * goutputstream.c: Don't cheat and unset the "pending" flag around
3170 inner calls. Instead, call the class method directly rather than
3171 the wrapper function that checks "pending"
3173 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3175 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3177 2007-12-03 Hans Breuer <hans@breuer.org>
3179 [start of port to win32/msvc]
3180 * gcancellable.c : HAVE_UNIST_H and _pipe()
3181 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3182 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3183 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3185 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3186 * glocalvfs.c : use HAVE_PWD_H
3187 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3188 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3189 * Makefile.am : added to EXTRA_DIST
3191 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3193 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3196 2007-12-03 Alexander Larsson <alexl@redhat.com>
3199 Handle OSX style xattrs API (#500506)
3201 2007-12-03 Alexander Larsson <alexl@redhat.com>
3205 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3207 2007-12-02 A. Walton <awalton@svn.gnome.org>
3211 Documentation accuracy fixes.
3213 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3215 * gioenumtypes.c.template: Fix typo.
3217 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3219 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3221 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3223 * gdirectorymonitor.c:
3224 * gfilemonitor.c: Add properties
3226 * gbufferedoutputstream.c: Don't mark buffer-size property
3229 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3231 * gbufferedoutputstream.c: Add auto-grow property.
3233 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3235 * *.c: Unify the capitalization of section headings.
3237 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3239 * gmountoperation.c: Add properties
3241 * gdatainputstream.c: Turn byte-order and newline-type into
3244 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3246 * gioenumtypes.[hc].template: Templates for enum registration
3248 * Makefile.am: Generate gioenumtypes.[hc]
3250 * gio.h: Include gioenumtypes.h
3252 * gfile.h: Add some explicit nicks.
3254 * gio.symbols: Add new symbols
3256 * pltcheck.sh: Adjust
3258 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3260 * *.c: Explain etags and link to the explanation
3262 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3264 * *.c: Explain I/O priority.
3266 * *.c: More coding style fixes.
3268 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3270 * gasyncresult.c: Add another paragraph to the intro,
3271 adjust coding style of example.
3273 2007-11-29 A. Walton <awalton@svn.gnome.org>
3276 Fixes unknown meaning in GAppLaunchContext docs.
3278 Clarify asynchronous ops.
3280 Fix entity tag docs.
3283 Provides missing gtk-doc section, fixes API docs slighly.
3284 * gsimpleasyncresult.c:
3285 Fill in missing info in docs.
3286 * gunixinputstream.c:
3287 * gunixoutputstream.c:
3288 Be more expressive in short description.
3290 Remove gtk-doc stubs for non-public API.
3292 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3294 * *.c: Coding style fixups
3296 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3298 * inotify/inotify-helper.c: Don't export the lock from libgio.
3300 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3303 * abicheck.sh: Fix copy-and-paste leftovers
3305 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3307 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3309 2007-11-28 Alexander Larsson <alexl@redhat.com>
3313 Removed unnecessary file
3315 * gdesktopappinfo.[ch]:
3318 * glocaldirectorymonitor.[ch]:
3320 * glocalfileenumerator.[ch]:
3321 * glocalfileinputstream.[ch]:
3322 * glocalfilemonitor.[ch]:
3323 * glocalfileoutputstream.[ch]:
3325 * gnativevolumemonitor.c:
3326 * gpollfilemonitor.[ch]:
3327 * gunionvolumemonitor.[ch]:
3330 * gunixvolumemonitor.[ch]:
3333 * inotify/ginotifydirectorymonitor.[ch]:
3334 * inotify/ginotifyfilemonitor.[ch]:
3335 * inotify/inotify-helper.c:
3336 Append _ to all internal functions
3340 Export symbols needed for modules
3342 2007-11-28 Alexander Larsson <alexl@redhat.com>
3345 * abicheck.sh: Added.
3346 * makegioalias.pl: Added.
3347 * pltcheck.sh: Added.
3348 * gio.symbols: Added.
3351 Initial work on adding symbol handling.
3354 Correct ifdef guard name
3357 * inotify/Makefile.am:
3358 * xdgmime/Makefile.am:
3359 Include toplevel Makefile.decl
3361 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3363 * gcontenttype.c: Move doc comments to the unix section.
3365 * *.[hc]: More trivial doc corrections.
3367 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3369 * gpollfilemonitor.c:
3373 * gdesktopappinfo.c:
3378 * gdatainputstream.c:
3379 * gdatainputstream.h:
3380 * gdataoutputstream.c:
3381 * gdataoutputstream.h:
3382 * gfileinfo.h: Doc cleanups
3384 2007-11-28 Andre Klapper <a9016009@gmx.de>
3386 * gdesktopappinfo.c: Fix a typo.
3388 2007-11-27 Andre Klapper <a9016009@gmx.de>
3390 * glocalfileoutputstream.c: Fix a typo.
3392 2007-11-27 Alexander Larsson <alexl@redhat.com>
3395 Don't include removed headers
3397 2007-11-27 Alexander Larsson <alexl@redhat.com>
3400 * gsocketinputstream.[ch]: Removed.
3401 * gsocketoutputstream.[ch]: Removed.
3402 * gunixinputstream.[ch]: Added.
3403 * gunixoutputstream.[ch]: Added.
3404 Renamed GSocket*Stream to GUnix*Stream and made
3405 it unix-only, since its not really only for sockets
3406 and it only works on unix (but is highly useful there).
3408 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3414 * gbufferedinputstream.c:
3415 * gbufferedinputstream.h:
3416 * gbufferedoutputstream.c:
3417 * gbufferedoutputstream.h:
3421 * gdatainputstream.c:
3422 * gdatainputstream.h:
3423 * gdataoutputstream.c:
3424 * gdataoutputstream.h:
3425 * gdirectorymonitor.c:
3426 * gdirectorymonitor.h:
3433 * gfileenumerator.c:
3434 * gfileenumerator.h:
3439 * gfileinputstream.c:
3440 * gfileinputstream.h:
3443 * gfilenamecompleter.c:
3444 * gfilenamecompleter.h:
3445 * gfileoutputstream.c:
3446 * gfileoutputstream.h:
3447 * gfilterinputstream.c:
3448 * gfilterinputstream.h:
3449 * gfilteroutputstream.c:
3450 * gfilteroutputstream.h:
3463 * glocalfileoutputstream.c:
3464 * gmemoryinputstream.c:
3465 * gmemoryinputstream.h:
3466 * gmemoryoutputstream.c:
3467 * gmemoryoutputstream.h:
3468 * gmountoperation.c:
3469 * gmountoperation.h:
3472 * gpollfilemonitor.c:
3475 * gsimpleasyncresult.c:
3476 * gsimpleasyncresult.h:
3477 * gsocketinputstream.c:
3478 * gsocketinputstream.h:
3479 * gsocketoutputstream.c:
3480 * gsocketoutputstream.h:
3487 * gunixvolumemonitor.c:
3496 Bumps documentation to 93% symbol coverage, touching most
3497 of the public files. Fixes broken function documentation prototypes.
3498 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3499 gtk-doc headers in private files.
3501 2007-11-27 Jürg Billeter <j@bitron.ch>
3503 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3504 (g_buffered_input_stream_read_byte):
3505 * gbufferedinputstream.h:
3506 New functions for efficient access to buffer and simple single byte
3509 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3510 (g_data_input_stream_read_until):
3511 * gdatainputstream.h:
3512 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3513 read_until with multiple stop chars.
3515 2007-11-27 Alexander Larsson <alexl@redhat.com>
3519 * inotify/Makefile.am:
3520 Use the user-specified giomoduledir
3522 2007-11-27 Alexander Larsson <alexl@redhat.com>
3526 Add catch-all gio.h header
3527 Don't install gdummyfile.h
3529 2007-11-26 Alexander Larsson <alexl@redhat.com>
3531 * Makefile.am (gioinclude_HEADERS):
3532 Remove trailing whitespace
3534 2007-11-26 Alexander Larsson <alexl@redhat.com>
3536 Merge gio-standalone into glib
3538 2007-11-25 Christian Kellner <gicmo@gnome.org>
3540 * gio/goutputstream.c:
3541 Fix small mistake in the docs.
3543 2007-11-21 Christian Persch <chpe@gnome.org>
3545 * gio/glocalfile.c: (g_local_file_trash):
3546 Convert filenames to UTF-8 for GError.
3547 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3548 as per xdg base dir spec.
3550 2007-11-21 Christian Persch <chpe@gnome.org>
3552 * gio/gdesktopappinfo.c:
3553 Use that g_key_file_to_data cannot fail.
3555 Use stock defines for the key file group and key names.
3558 2007-11-21 Alexander Larsson <alexl@redhat.com>
3561 (copy_stream_with_progress):
3562 Make sure we do a final progress callback with
3563 the full total size.
3565 2007-11-21 Alexander Larsson <alexl@redhat.com>
3568 Export g_file_copy_attributes
3569 Remove padding as its not needed for interfaces
3571 2007-11-20 Alexander Larsson <alexl@redhat.com>
3576 Add G_IO_ERROR_WOULD_MERGE for
3577 copy/move dir on dir with overwrite.
3579 2007-11-20 Alexander Larsson <alexl@redhat.com>
3582 * gio/glocalfileinfo.c:
3583 Add COPY_NAME (this is an optional
3584 non-modified utf8 version of the name) that
3587 2007-11-20 Alexander Larsson <alexl@redhat.com>
3589 * gio/glocalfileenumerator.c:
3590 Report errors as GIOError, not GFileError
3592 2007-11-16 Alexander Larsson <alexl@redhat.com>
3594 * gio/glocalfileoutputstream.c:
3595 * gio/gwin32appinfo.c:
3596 Fix typos in strings.
3597 Patch from Luca Ferretti <elle.uca@libero.it>
3599 2007-11-15 Alexander Larsson <alexl@redhat.com>
3602 Post release version bump
3604 === gio-standalone 0.1.2 ===
3606 2007-11-15 Alexander Larsson <alexl@redhat.com>
3608 * docs/reference/gio/Makefile.am:
3609 Fix up distcheck by removing weird
3615 2007-11-14 Alexander Larsson <alexl@redhat.com>
3617 * gio/gdesktopappinfo.c:
3618 * gio/glocaldirectorymonitor.c:
3620 * gio/glocalfileinfo.c:
3621 * gio/inotify/inotify-sub.c:
3622 * programs/gio-cat.c:
3623 * programs/gio-copy.c:
3624 * programs/gio-info.c:
3625 * programs/gio-ls.c:
3626 * programs/gio-monitor-dir.c:
3627 * programs/gio-monitor-file.c:
3628 * programs/gio-mount.c:
3629 * programs/gio-move.c:
3630 * programs/gio-rm.c:
3631 * programs/gio-save.c:
3632 * programs/gio-trash.c:
3633 Leak fixes from Kjartan Maraas
3635 2007-11-14 Alexander Larsson <alexl@redhat.com>
3637 * gio/fam/fam-helper.c:
3639 * gio/glocalfileinfo.c:
3643 * gio/inotify/inotify-diag.c:
3644 * gio/inotify/inotify-kernel.c:
3645 Various code cleanups from Kjartan Maraas
3647 2007-11-14 Alexander Larsson <alexl@redhat.com>
3649 * gio/gioscheduler.c:
3651 Set up threadpool so that we cache 2 unused
3652 idle threads for at 15 secs. This means we
3653 will reuse thread-local data (like dbus connections)
3656 2007-11-14 Alexander Larsson <alexl@redhat.com>
3658 * gio/fam/fam-helper.c:
3659 * gio/fam/gfamdirectorymonitor.c:
3660 * gio/fam/gfamfilemonitor.c:
3662 * gio/gcontenttype.c:
3663 * gio/gdatainputstream.c:
3664 * gio/gdataoutputstream.c:
3668 * gio/gfileattribute.h:
3669 * gio/gfileenumerator.c:
3671 * gio/ginputstream.c:
3674 * gio/glocalfileinfo.c:
3675 * gio/goutputstream.c:
3676 * gio/gpollfilemonitor.c:
3677 * gio/gsimpleasyncresult.c:
3678 * gio/gunixmounts.c:
3679 * gio/gunixmounts.h:
3680 * gio/inotify/ginotifydirectorymonitor.c:
3681 * gio/inotify/ginotifyfilemonitor.c:
3682 * gio/inotify/inotify-diag.c:
3683 * gio/inotify/inotify-kernel.c:
3684 * gio/inotify/inotify-path.c:
3686 * gio/test-streams.c:
3687 * programs/gio-info.c:
3688 * programs/gio-monitor-dir.c:
3689 * programs/gio-monitor-file.c:
3690 Various code cleanups from Kjartan Maraas
3692 2007-11-13 Alexander Larsson <alexl@redhat.com>
3695 Handle the uri-scheme calls for dummy files
3697 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3699 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3700 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3701 to avoid clash with the C++ keyword.
3703 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3705 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3706 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3708 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3710 * gio/glocaldirectorymonitor.c:
3711 * gio/glocalfilemonitor.c:
3712 * gio/gunionvolumemonitor.c:
3713 Don't use g_once_init_*() for initializations that could fail and
3714 could leave the initialization variable set to 0 but use GOnce.
3715 This prevents a deadlock on the second call when trying to create
3716 a monitor and no monitor type is available. Thanks to Sven Herzberg
3719 2007-11-11 Sven Herzberg <sven@imendio.com>
3721 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3722 #ifdef (make it work on MacOS X again)
3724 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3726 Fixes Changelog for last two commits (sorry guys).
3728 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3730 * gio/gbufferedinputstream.c:
3731 * gio/gdatainputstream.c:
3733 * gio/gfileoutputstream.c:
3734 * gio/gfilterinputstream.c:
3735 * gio/glocalfileinputstream.c:
3738 More consistency fixes in g*stream.c files.
3739 Significant clean of gfile's documentation, filling in of
3740 asynchronous operations documentation.
3742 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3744 * gio/gasyncresult.c:
3745 * gio/gbufferedinputstream.c:
3746 * gio/gbufferedoutputstream.c:
3747 * gio/gcancellable.c:
3748 * gio/gcontenttype.c:
3749 * gio/gdatainputstream.c:
3750 * gio/gdataoutputstream.c:
3751 * gio/gdesktopappinfo.c:
3754 * gio/gfileattribute.c:
3755 * gio/gio/gfileenumerator.c:
3757 * gio/gfileinputstream.c:
3758 * gio/gfilemonitor.c:
3759 * gio/gfileoutputstream.c:
3760 * gio/ginputstream.c:
3762 * gio/gioscheduler.c:
3763 * gio/gloadableicon.c:
3764 * gio/glocalfileoutputstream.c:
3765 * gio/gmemoryoutputstream.c:
3766 * gio/gmountoperation.c:
3767 * gio/goutputstream.c:
3769 * gio/gsimpleasyncresult.c:
3770 * gio/gunionvolumemonitor.c:
3771 * gio/gunixmounts.c:
3772 * gio/gunixvolume.c:
3776 * gio/gvolumemonitor.c:
3777 Updated documentation stubs, working towards consistency and
3780 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3782 * gio/gmemoryoutputstream.c:
3783 * gio/gmemoryoutputstream.h:
3784 Change g_memory_output_stream_set_free_on_close() to
3785 g_memory_output_stream_set_free_data() as this makes more sense and
3786 is more consistent with GMemoryInputStream.
3788 2007-11-07 Alexander Larsson <alexl@redhat.com>
3795 Change how we find the default vfs so that
3796 we can handle a gvfs failing to init
3798 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3800 * gio/gbufferedoutputstream.c:
3801 * gio/gdatainputstream.c:
3802 * gio/gdataoutputstream.c:
3803 * gio/gfileinputstream.c:
3804 * gio/gfileoutputstream.c:
3805 * gio/gfilterinputstream.c:
3806 * gio/gfilteroutputstream.c:
3807 * gio/ginputstream.c:
3808 * gio/gmemoryinputstream.c:
3809 * gio/gmemoryoutputstream.c:
3810 * gio/goutputstream.c:
3811 * gio/gsimpleasyncresult.c:
3812 * gio/gsocketinputstream.c:
3813 * gio/gsocketoutputstream.c:
3814 Add guards to the remaining public functions, add a TODO for
3815 an unimplemented function and remove some useless guards.
3817 2007-11-07 Alexander Larsson <alexl@redhat.com>
3820 Autoconf checks for the various types of
3821 getpwuid_r and getgrgid_r
3823 * gio/glocalfileinfo.c:
3824 Use the autoconf checks from above
3826 2007-11-07 Alexander Larsson <alexl@redhat.com>
3829 (g_local_file_query_filesystem_info):
3830 Some fixes for the statvfs case
3832 2007-11-07 Alexander Larsson <alexl@redhat.com>
3835 (g_local_file_query_filesystem_info):
3836 Pick the "best" of statfs / statvfs for the system
3837 if both are availible.
3839 2007-11-07 Alexander Larsson <alexl@redhat.com>
3841 Solaris fixes from Halton.Huo@Sun.COM:
3848 * gio/glocalfileinfo.c:
3849 Fix for solaris definition of getpwuid_r
3851 * gio/test-streams.c:
3852 Use G_GNUC_PRETTY_FUNCTION
3854 2007-11-07 Alexander Larsson <alexl@redhat.com>
3856 * gio/gdesktopappinfo.c:
3857 (update_default_list):
3858 Remove double semicolon.
3859 Patch from Jens Granseuer
3861 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3863 * docs/reference/gio/gio-sections.txt:
3864 * gio/gbufferedinputstream.c:
3865 * gio/gbufferedinputstream.h:
3866 * gio/gdatainputstream.c:
3867 * gio/gfileenumerator.c:
3868 * gio/gioscheduler.c:
3869 * gio/gunionvolumemonitor.c:
3871 * programs/gio-save.c:
3872 Fix typo: availible -> available. Unfortuntely this breaks API
3873 and ABI as g_buffered_input_stream_get_available() was renamed.
3875 * gio/gunixmounts.c:
3876 * gio/gbufferedinputstream.c:
3877 Add guards for public functions.
3879 2007-11-06 Ross Burton <ross@openedhand.com>
3881 * docs/reference/gio/Makefile.am:
3882 Fix invalid += usage which automake 1.10 doesn't like.
3884 2007-11-06 Alexander Larsson <alexl@redhat.com>
3887 (g_app_launch_context_class_init):
3890 Patch from Ross Burton
3892 2007-11-06 Alexander Larsson <alexl@redhat.com>
3895 Post release version bump
3897 === gio-standalone 0.1.1 ===
3899 2007-11-06 Alexander Larsson <alexl@redhat.com>
3902 Bump version to 0.1.1
3904 * gio/gsimpleasyncresult.c:
3905 (g_simple_async_result_set_from_error):
3906 Remove bogus g_return_if_fail
3908 2007-11-06 Alexander Larsson <alexl@redhat.com>
3911 The name is gio-standalone
3914 Add top src/builddir to includedir
3916 2007-11-06 Alexander Larsson <alexl@redhat.com>
3918 * docs/reference/gio/gio-sections.txt:
3920 * gio/gbufferedinputstream.c:
3921 * gio/gbufferedoutputstream.c:
3922 * gio/gcancellable.c:
3923 * gio/gdatainputstream.h:
3924 * gio/gdataoutputstream.c:
3925 * gio/gdataoutputstream.h:
3926 * gio/gdirectorymonitor.c:
3928 * gio/gfileattribute.c:
3929 * gio/gfileattribute.h:
3930 * gio/gfileenumerator.c:
3931 * gio/gfileenumerator.h:
3934 * gio/gfileinputstream.h:
3935 * gio/gfilemonitor.c:
3936 * gio/gfileoutputstream.h:
3937 * gio/glocalfilemonitor.h:
3938 * gio/glocalfileoutputstream.h:
3939 * gio/gmemoryinputstream.c:
3940 * gio/gmemoryoutputstream.c:
3941 * gio/gmountoperation.c:
3942 * gio/goutputstream.c:
3943 * gio/goutputstream.h:
3945 * gio/gsimpleasyncresult.c:
3946 * gio/gunixmounts.c:
3947 * gio/gunixmounts.h:
3949 * gio/inotify/inotify-helper.c:
3950 Fix gtk-doc warnings
3952 Patch from Ross Burton
3954 2007-11-06 Alexander Larsson <alexl@redhat.com>
3956 * gio/gfilenamecompleter.c:
3957 (g_filename_completer_get_completions):
3960 * gio/gunixvolume.c:
3961 Remove unused function
3963 Patches from Ross Burton
3965 2007-11-06 Alexander Larsson <alexl@redhat.com>
3970 Padding not needed for interfaces
3972 2007-11-06 Alexander Larsson <alexl@redhat.com>
3974 * gio/gfilemonitor.c:
3978 Make giotypes.h an internal file
3981 * gio/gbufferedinputstream.h:
3982 * gio/gbufferedoutputstream.h:
3983 * gio/gcancellable.h:
3984 * gio/gdatainputstream.h:
3985 * gio/gdataoutputstream.h:
3986 * gio/gdirectorymonitor.c:
3987 * gio/gdirectorymonitor.h:
3992 * gio/gfileattribute.h:
3993 * gio/gfileenumerator.h:
3998 * gio/gfilemonitor.c:
3999 * gio/gfilemonitor.h:
4000 * gio/gfilenamecompleter.c:
4001 * gio/gfilenamecompleter.h:
4002 * gio/gfilterinputstream.h:
4003 * gio/gfilteroutputstream.h:
4004 * gio/ginputstream.h:
4005 * gio/gmemoryinputstream.h:
4006 * gio/gmemoryoutputstream.h:
4007 * gio/gmountoperation.c:
4008 * gio/gmountoperation.h:
4009 * gio/gnativevolumemonitor.c:
4010 * gio/goutputstream.h:
4013 * gio/gsimpleasyncresult.c:
4014 * gio/gsimpleasyncresult.h:
4015 * gio/gsocketinputstream.h:
4016 * gio/gsocketoutputstream.h:
4017 * gio/gthemedicon.c:
4018 * gio/gthemedicon.h:
4022 * gio/gvolumemonitor.c:
4023 * gio/gvolumemonitor.h:
4024 Add padding in classes where it seems useful
4025 Don't include giotypes.h from public headers
4026 Move in Class definitions into c file where possible
4031 2007-11-06 Alexander Larsson <alexl@redhat.com>
4033 * docs/reference/gio/gio-docs.xml:
4034 Better structure for API docs
4036 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4039 * gio/gloadableicon.c:
4040 * gio/gsimpleasyncresult.c:
4041 * gio/gthemedicon.c:
4042 Add some more guards to public functions. Only files missing are now
4045 2007-11-06 Alexander Larsson <alexl@redhat.com>
4047 * docs/reference/gio/gio-docs.xml:
4048 Remove old files, add missing ones
4050 2007-11-06 Alexander Larsson <alexl@redhat.com>
4052 * docs/reference/gio/gio-sections.txt:
4055 Hide implementation classes
4057 * gio/gdriveprivate.h:
4058 * gio/gvolumeprivate.h:
4059 Remove non-existing function declarations
4061 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4064 Fix compilation warnings and add guards to the new functions.
4066 * gio/gasyncresult.c:
4068 Add guards to the public functions.
4071 Implement get_path().
4073 2007-11-06 Alexander Larsson <alexl@redhat.com>
4075 * gio/gfilenamecompleter.c:
4076 Make g_filename_completer_get_completions
4077 return char ** instead of GList for
4080 * docs/reference/gio/gio-docs.xml:
4081 * docs/reference/gio/gio-sections.txt:
4083 * gio/gasyncresult.c:
4084 * gio/gbufferedinputstream.c:
4085 * gio/gbufferedoutputstream.c:
4086 * gio/gcancellable.c:
4087 * gio/gcontenttype.c:
4088 * gio/gdatainputstream.c:
4089 * gio/gdataoutputstream.c:
4090 * gio/gdesktopappinfo.c:
4091 * gio/gdirectorymonitor.c:
4095 * gio/gfileattribute.c:
4096 * gio/gfileenumerator.c:
4099 * gio/gfileinputstream.c:
4100 * gio/gfilemonitor.c:
4101 * gio/gfilenamecompleter.c:
4102 * gio/gfilenamecompleter.h:
4103 * gio/gfileoutputstream.c:
4104 * gio/gfilterinputstream.c:
4106 * gio/ginputstream.c:
4108 * gio/gioscheduler.c:
4109 * gio/gloadableicon.c:
4110 * gio/glocaldirectorymonitor.c:
4112 * gio/glocalfileinputstream.c:
4113 * gio/glocalfilemonitor.c:
4114 * gio/glocalfileoutputstream.c:
4116 * gio/gmemoryinputstream.c:
4117 * gio/gmemoryoutputstream.c:
4118 * gio/gmountoperation.c:
4119 * gio/goutputstream.c:
4120 * gio/gpollfilemonitor.c:
4122 * gio/gsimpleasyncresult.c:
4123 * gio/gsocketinputstream.c:
4124 * gio/gsocketoutputstream.c:
4125 * gio/gthemedicon.c:
4126 * gio/gunionvolumemonitor.c:
4128 * gio/gunixmounts.c:
4129 * gio/gunixvolume.c:
4130 * gio/gunixvolumemonitor.c:
4134 * gio/gvolumemonitor.c:
4135 * gio/gwin32appinfo.c:
4136 Add (mostly stub) doc strings to public functions.
4137 Patch from Andrew Walton (awalton@gmail.com)
4139 2007-11-06 Alexander Larsson <alexl@redhat.com>
4141 * gio/gappinfo.[ch]:
4142 Added GAppLaunchContext object and pass that to launch.
4143 This allows simple implementation of both
4144 launch-on-screen and startup notification via a gtk+
4145 subclass of GAppLaunchContext
4147 * gio/gdesktopappinfo.c:
4148 Implement GAppLaunchContext API
4150 * gio/gwin32appinfo.c:
4153 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4155 * gio/gmountoperation.c:
4156 Add some guards to GMountOperation's public functions.
4158 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4162 * gio/gcancellable.c:
4163 * gio/gdirectorymonitor.c:
4165 * gio/gfileenumerator.c:
4166 * gio/gfilemonitor.c:,
4167 * gio/gfilenamecompleter.c:
4170 * gio/gioscheduler.c:
4174 * gio/gvolumemonitor.c:
4175 Add even more guards to various public functions.
4177 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4180 Add guards to the public functions of GAppInfo.
4182 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4184 * gio/gcontenttype.c:
4185 Add some more guards for public functions.
4187 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4189 * gio/fam/fam-module.c:
4190 * gio/fam/gfamdirectorymonitor.c:
4191 * gio/fam/gfamdirectorymonitor.h:
4192 * gio/fam/gfamfilemonitor.c:
4193 * gio/fam/gfamfilemonitor.h:
4194 * gio/inotify/ginotifydirectorymonitor.c:
4195 * gio/inotify/ginotifydirectorymonitor.h:
4196 * gio/inotify/ginotifyfilemonitor.c:
4197 * gio/inotify/ginotifyfilemonitor.h:
4198 Add proper copyright information and remove an unused variable
4199 in the GInotifyFileMonitor constructor.
4201 * gio/gcancellable.c:
4202 Add a guard for a public function and an assertion to prevent
4203 an undefined program state.
4205 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4207 * gio/gfileattribute.c:
4208 Don't run into an assertion if the given attribute value is NULL
4209 in g_file_attribute_value_get_*() but instead return a fallback
4210 value that makes sense in most situations. Passing them a attribute
4211 value with the wrong type will still run into an assertion.
4213 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4215 * gio/gfileattribute.c:
4217 Add even more guards to the public functions. Also fix the refcounting
4218 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4219 let g_file_info_list_attributes() filter the attributes by namespace
4220 instead of simply ignoring the namespace parameter.
4222 2007-11-03 Sven Herzberg <sven@imendio.com>
4224 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4225 (This makes gio work on MacOS X again)
4227 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4230 Build the gio subdirectory before the docs. Otherwise the build will
4233 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4234 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4235 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4236 Add guards to the public functions.
4238 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4240 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4241 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4242 to prevent a compiler warning.
4244 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4245 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4246 return something in the non-void function find_topdir_for().
4248 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4255 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4257 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4258 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4259 * gwin32appinfo.c (g_win32_app_info_launch):
4260 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4261 envp_for_startup_id, g_desktop_app_info_launch,
4262 g_desktop_app_info_launch_uris):
4264 Give an opaque 'startup_id' string instead of 'envp'.
4265 Support empty file lists for launching new windows.
4266 Fix infinite recursion bug when launching URIs.
4268 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4271 Add guard to the new g_file_get_uri_scheme() function.
4273 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4276 Convert a g_return_val_if_fail() to setting the GError instead as
4277 otherwise applications have to verify the parameter before otherwise
4278 and the parameter might come directly from the user.
4280 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4282 * gio/inotify/ginotify*.[ch]:
4283 Add missing copyright information.
4285 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4288 Add guards in the beginning of public functions to check for valid
4289 parameters and fix a bug in copy_stream_with_progress() that could've
4290 caused writing less bytes than reading.
4291 * gio/glocalfileinfo.c:
4292 Check for a NULL parameter and set the GError accordingly then.
4293 * gio/goutputstream.c:
4294 Fix the same bug as in gfile.c that could've caused writing less bytes
4295 than reading in g_output_stream_real_splice().
4297 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4300 Use the correct gvolumeprivate.h naming
4302 2007-11-01 Christian Kellner <gicmo@gnome.org>
4305 Remove leftover "$(daemon_sources)" entry.
4307 2007-11-01 Christian Kellner <gicmo@gnome.org>
4312 Add copyright information to source files.
4314 2007-11-01 Alexander Larsson <alexl@redhat.com>
4318 Add g_file_get_uri_scheme
4320 2007-11-01 Alexander Larsson <alexl@redhat.com>
4323 * gio/gdesktopappinfo.c:
4324 * gio/gwin32appinfo.c:
4325 Add g_app_info_get_default_for_uri_scheme.
4327 2007-11-01 Alexander Larsson <alexl@redhat.com>
4330 Correct filename for gdriveprivate.h
4332 2007-10-31 Alexander Larsson <alexl@redhat.com>
4335 Rename id:value to id:file
4338 * gio/glocalfileinfo.c:
4341 2007-10-31 Alexander Larsson <alexl@redhat.com>
4343 * gio/gunixvolume.c:
4345 Remove g_volume_get_platform_id, as thats not
4346 needed with the simpler union volume monitor
4348 2007-10-31 Alexander Larsson <alexl@redhat.com>
4351 * gio/guniondrive.[ch]: Removed.
4352 * gio/gunionvolume.[ch]: Removed.
4353 Remove GUnionDrive/Volume
4355 * gio/gunionvolumemonitor.c:
4356 Simplify union volume monitor, now we
4357 only have one native volume monitor and
4358 we use the actual volumes/drives from the
4359 child monitors instead of wrapping them
4361 * gio/gnativevolumemonitor.[ch]:
4362 Base class for native volume monitors.
4363 Includes priority and get_volume_for_mountpoint
4366 Add g_file_find_enclosing_volume
4369 Remove volume name fs attribute
4370 Add readonly fs attribute
4373 Implement readonly attribute
4374 remove volume name attribute
4375 Implement find_enclosing volume
4377 * gio/gunixmounts.c:
4378 Add a volume for "/".
4380 * gio/gunixvolume.[ch]:
4381 Set better name for /
4383 * gio/gunixvolumemonitor.[ch]:
4384 Derive from GNativeVolumeMonitor
4385 Implement get_volume_for_mountpoint
4388 GVolume typedef moved to gfile.h
4390 * gio/gvolumeprivate.h:
4391 Add g_volume_get_for_mount_path
4393 2007-10-31 Alexander Larsson <alexl@redhat.com>
4395 * gio/gunixmounts.[ch]:
4396 Add cache info to unix mount listers
4397 Make getmntent use threadsafe
4398 Add is_system_internal attribute for GUnixMount
4400 * gio/gunixvolume.c:
4401 (g_unix_volume_new):
4402 Use is_system_internal instead of own code
4404 * gio/glocaldirectorymonitor.c:
4405 * gio/gunixvolumemonitor.c:
4406 Update to new gunixmounts API
4411 2007-10-30 Alexander Larsson <alexl@redhat.com>
4414 Add volume name fsinfo attribute
4417 Read volume name info
4419 * gio/gunionvolumemonitor.c:
4420 Fix infinite loops when finalizing a union volume monitor
4422 2007-10-30 Alexander Larsson <alexl@redhat.com>
4424 * gio/goutputstream.[ch]:
4425 Add splice() with default implementation
4427 * gio/gsocketoutputstream.c:
4428 (g_socket_output_stream_write):
4429 Return error on cancellation correctly.
4431 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4433 * gio/glocalfile.c (g_local_file_trash):
4434 Do not leak a string.
4436 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4438 * gio/gfile.c (g_file_load_contents):
4439 Unref the stream after closing it.
4441 2007-10-25 Alexander Larsson <alexl@redhat.com>
4443 * gio/gioscheduler.h:
4446 2007-10-25 Alexander Larsson <alexl@redhat.com>
4450 Add g_file_has_uri_scheme and implement for local files
4452 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4454 * gio/gdesktopappinfo.c: do not leak a string.
4456 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4458 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4459 (g_local_directory_monitor_new):
4460 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4461 (g_local_file_monitor_new):
4462 Only look for the monitor type that should be used the first time
4463 and use g_qsort_with_data() instead of our own bubble sort
4466 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4469 * gio/fam/Makefile.am:
4470 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4471 * gio/fam/fam-helper.h:
4472 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4473 * gio/fam/gfamdirectorymonitor.c:
4474 * gio/fam/gfamdirectorymonitor.h:
4475 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4476 * gio/fam/gfamfilemonitor.h:
4477 * gio/glocaldirectorymonitor.c:
4478 * gio/glocaldirectorymonitor.h:
4479 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4480 * gio/glocalfilemonitor.h:
4481 * gio/inotify/Makefile.am:
4482 * gio/inotify/ginotifydirectorymonitor.c:
4483 * gio/inotify/ginotifydirectorymonitor.h:
4484 * gio/inotify/ginotifyfilemonitor.c:
4485 * gio/inotify/ginotifyfilemonitor.h:
4486 Implement the FAM and Inotify monitors as
4487 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4488 their own GIO module. GLocal(Directory|File)Monitor will use the
4489 monitor with the highest rank that is supported on that machine.
4491 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4494 Change GIO module dir to $(libdir)/gio/modules and change
4495 the log domain from GVFS to GIO. Also only export symbols starting
4496 with g_ in the resulting library.
4497 * gio/test-streams.c: (main):
4498 Set log handler for the GIO log domain.
4500 2007-10-22 Alexander Larsson <alexl@redhat.com>
4502 * gio/gfilenamecompleter.[ch]:
4503 Add g_filename_completer_set_dirs_only
4505 2007-10-22 Alexander Larsson <alexl@redhat.com>
4508 * gio/gurifuncs.[ch]:
4509 Add some simple URI helpers
4511 * gio/gfilenamecompleter.[ch]:
4512 Added object for filename (parse name actually) completion
4515 Handle ~ in parse names
4517 2007-10-17 Alexander Larsson <alexl@redhat.com>
4520 * gio/glocalfileinfo.c:
4521 Add and implement id:value attribute
4523 2007-10-17 Alexander Larsson <alexl@redhat.com>
4526 * gio/guniondrive.c:
4528 Add and implement g_drive_has_volumes
4530 2007-10-17 Alexander Larsson <alexl@redhat.com>
4533 * gio/glocalfileinfo.[ch]:
4534 Add unix:is_mountpoint and implement for local files
4536 2007-10-16 Alexander Larsson <alexl@redhat.com>
4538 * gio/gunionvolumemonitor.c:
4539 (g_union_volume_monitor_init):
4540 Fix up the unix type getting so that it works with gcc
4542 2007-10-12 Alexander Larsson <alexl@redhat.com>
4545 * gio/glocalfileinfo.c:
4546 Add thumbnail:failed to file info
4548 2007-10-12 Richard Hult <richard@imendio.com>
4550 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4551 optimizing away the get_type call (happens with some gcc versions,
4552 like the one shipped with OS X 10.4).
4554 2007-10-12 Alexander Larsson <alexl@redhat.com>
4556 * gio/glocalfileinfo.c:
4557 (_g_local_file_info_set_attribute):
4558 Fix build if not HAVE_XATTR
4559 Patch from Milosz Derezynski <internalerror@gmail.com>
4561 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4563 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4564 around for review, otherwise I would have asked you before
4567 2007-10-11 Alexander Larsson <alexl@redhat.com>
4570 Add thumbnail:path attribute
4572 * gio/glocalfileinfo.c:
4573 Implement thumbnail:path for local files
4575 2007-10-11 Alexander Larsson <alexl@redhat.com>
4577 * gio/glocalfileinfo.c:
4578 (_g_local_file_info_get):
4579 Avoid duplicate icon names
4581 2007-10-11 Alexander Larsson <alexl@redhat.com>
4583 * gio/gthemedicon.[ch]:
4584 Change g_themed_icon_get_names return type to const
4586 2007-10-10 Alexander Larsson <alexl@redhat.com>
4588 * gio/glocalfileinfo.c:
4589 Don't reference freed memory
4591 2007-10-10 Alexander Larsson <alexl@redhat.com>
4593 * gio/gfileattribute.c:
4596 * gio/glocalfileinfo.c:
4599 2007-10-10 Alexander Larsson <alexl@redhat.com>
4602 Check for NULL icons
4604 * gio/gfileattribute.c:
4605 Don't dup when getting objects (same as for string attributes)
4607 * gio/gicon.c (g_icon_equal):
4608 Safely handle NULLs in equal
4610 2007-10-10 Alexander Larsson <alexl@redhat.com>
4613 Fix c++ compilation issues
4614 Patch from Milosz Derezynski <internalerror@gmail.com>
4616 2007-10-10 Alexander Larsson <alexl@redhat.com>
4618 * programs/gio-monitor-dir.c:
4619 Don't crash if dir monitor not supported.
4621 2007-10-09 Alexander Larsson <alexl@redhat.com>
4624 Add missing G_END_DECLS
4626 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4628 * gio/gfile.c: (g_file_set_display_name),
4629 (g_file_query_settable_attributes),
4630 (g_file_query_writable_namespaces):
4631 Return NULL not FALSE on errors as the return type is a pointer.
4633 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4635 * gio/glocalfile.c: (g_local_file_monitor_file):
4636 Don't call monitor_file on the default interface vtable (which
4637 is NULL) but simply return NULL. The caller, GFile, will create a
4638 polling monitor if NULL is returned.
4640 2007-10-09 Alexander Larsson <alexl@redhat.com>
4644 * gio-unix-2.0.pc.in:
4645 Add gio-unix-2.0.pc if OS_UNIX
4648 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4650 2007-10-09 Alexander Larsson <alexl@redhat.com>
4652 * gio/gunixmounts.[ch]:
4653 Make unix mount monitoring API sane.
4654 Now its just a object with mounts_changed
4655 and mountpoints_changed signals.
4657 * gio/glocaldirectorymonitor.c:
4658 * gio/gunixvolumemonitor.c:
4659 Use new mount monitor api
4661 2007-10-09 Alexander Larsson <alexl@redhat.com>
4663 * gio/gunixmounts.[ch]:
4664 Move guess type into one call for mounts and one for mountpoints
4667 * gio/gunixvolume.c:
4670 2007-10-09 Alexander Larsson <alexl@redhat.com>
4672 * gio/gunixmounts.[ch]:
4673 Remove _ prefix in preparation to make this semi-public
4674 Hide implementation of structs
4676 * gio/glocaldirectorymonitor.c:
4678 * gio/gunixvolume.c:
4679 * gio/gunixvolumemonitor.c:
4680 Update for above API changes
4682 2007-10-08 Alexander Larsson <alexl@redhat.com>
4685 Better polling fallback. This also handles the case where we have
4686 a monitor_file implementation, but it fails.
4688 2007-10-08 Alexander Larsson <alexl@redhat.com>
4692 * gio/gunixmounts.c:
4693 * programs/gio-monitor-dir.c:
4694 * programs/gio-monitor-file.c:
4695 Added cancellable to file monitoring calls.
4696 These are really sync calls and need this.
4698 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4700 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4701 (g_local_vfs_class_init):
4702 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4703 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4705 2007-10-05 Alexander Larsson <alexl@redhat.com>
4707 * gio/gdirectorymonitorprivate.h:
4708 * gio/gfilemonitorprivate.h:
4709 * gio/gdirectorymonitor.h:
4710 * gio/gfilemonitor.h:
4711 Remove *private.h and move to the public API, so that
4712 we can do implementations outside gio (such as in gvfs)
4714 * gio/gdirectorymonitor.c:
4715 * gio/gfilemonitor.c:
4716 * gio/glocaldirectorymonitor.c:
4717 * gio/gpollfilemonitor.c:
4718 * gio/inotify/inotify-helper.c:
4719 * gio/fam/fam-helper.c:
4720 Update to the new header names
4722 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4724 * gio/gdirectorymonitor.c:
4725 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4728 2007-10-04 Alexander Larsson <alexl@redhat.com>
4730 * gio/glocalfileinfo.c (get_access_rights):
4731 Set CAN_TRASH when we can move the file.
4732 We should really also check for a parent trash dir.
4734 2007-10-04 Alexander Larsson <alexl@redhat.com>
4736 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4737 Add can_trash access attribute
4739 2007-10-04 Alexander Larsson <alexl@redhat.com>
4742 (g_local_file_trash):
4743 Create info file first. This is per-spec and allows
4744 us to actually trash directories.
4746 2007-10-02 Alexander Larsson <alexl@redhat.com>
4748 * gio/gdesktopappinfo.c:
4749 Implement the new mime support code.
4750 Always set app as handling mimetype when being set as default for it
4752 2007-10-01 Alexander Larsson <alexl@redhat.com>
4754 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4755 Fix up check for xattrs:
4757 2007-10-01 Alexander Larsson <alexl@redhat.com>
4760 (g_app_info_set_as_default_for_extension):
4761 (g_app_info_add_supports_type):
4762 (g_app_info_can_remove_supports_type):
4763 (g_app_info_remove_supports_type):
4764 Make these fail nicely if not implemented
4766 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4768 * gio/glocalfileoutputstream.c:
4769 * gio/glocalfileoutputstream.h:
4774 * programs/gio-save.c:
4775 Add a GFileCreateFlags argument to operations that can create
4778 2007-10-01 Alexander Larsson <alexl@redhat.com>
4780 * gio/gappinfo.[ch]:
4781 * gio/gdesktopappinfo.c:
4782 Add more (stubbed out) mime API needed for nautilus
4784 2007-10-01 Alexander Larsson <alexl@redhat.com>
4787 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4788 Add g_app_info_set_as_default_for_extension.
4790 * gio/gdesktopappinfo.c:
4791 Dummy for g_app_info_set_as_default_for_extension
4792 Support flags in g_app_info_create_from_commandline
4794 * gio/gwin32appinfo.c:
4796 Update for API changes
4798 * gio/gthemedicon.c:
4799 Properly NULL-terminate list of icon names
4801 2007-09-28 Alexander Larsson <alexl@redhat.com>
4803 * gio/gloadableicon.h:
4804 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4806 2007-09-28 Alexander Larsson <alexl@redhat.com>
4809 Install headers in $includedir/gio-standalone/
4811 * gio-2.0.pc.in: Added.
4812 * gio-standalone.pc.in: Removed.
4815 Renamed pkg-config file to match glib (for future move)
4816 Update to the new include dir
4819 Add more TODO comments
4821 2007-09-28 Alexander Larsson <alexl@redhat.com>
4823 * gio/gdesktopappinfo.[ch]:
4824 Expose new_from_filename
4825 Add getter for is_hidden and handle it better
4827 2007-09-28 Alexander Larsson <alexl@redhat.com>
4829 * gio/gfileinfo.[ch]:
4830 Rename g_file_size_format_for_display to
4831 g_format_file_size_for_display.
4832 Now it doesn't have the g_file prefix, so we
4833 can later move it to glib.
4835 2007-09-28 Alexander Larsson <alexl@redhat.com>
4837 * gio/gappinfo.[ch]:
4838 Add g_app_info_get_id and g_app_info_get_executable.
4839 Make all getters non-reffing
4840 Make g_app_info_launch take GFile arguments.
4841 Add must_support_uris argument to g_app_info_get_default_for_type.
4843 * gio/gwin32appinfo.c:
4844 Update to GAppInfo api changes
4846 * gio/gdesktopappinfo.c:
4847 Update to GAppInfo api changes
4848 Implement supports_xdg_startup_notify
4850 * gio/gfileicon.c (g_file_icon_get_file):
4851 Make getter non-reffing.
4856 2007-09-27 Alexander Larsson <alexl@redhat.com>
4858 * gio/gfileinfo.[ch]:
4859 Add g_file_size_format_for_display helper
4861 2007-09-27 Alexander Larsson <alexl@redhat.com>
4863 * gio/glocalfileinfo.c:
4864 Set UNIX_GID from gid, not from uid
4866 2007-09-27 Alexander Larsson <alexl@redhat.com>
4869 Add g_file_set_attributes_async
4871 2007-09-27 Alexander Larsson <alexl@redhat.com>
4873 * gio/glocalfile.c (g_local_file_set_display_name):
4874 Fix set_display_name to actually rename to the right place.
4875 Use lstat to look for existing files so we don't overwrite
4878 2007-09-26 Alexander Larsson <alexl@redhat.com>
4881 Add g_file_set_display_name_async()
4883 2007-09-26 Alexander Larsson <alexl@redhat.com>
4886 Add load_partial_contents async calls
4889 Make internal function static
4891 2007-09-26 Alexander Larsson <alexl@redhat.com>
4893 * gio/glocalfileinfo.c:
4894 Correctly detect broken symlinks
4896 2007-09-26 Alexander Larsson <alexl@redhat.com>
4898 * gio/gcancellable.c (g_cancellable_cancel):
4899 Allow cancel on NULL cancellable
4901 2007-09-25 Alexander Larsson <alexl@redhat.com>
4903 * gio/gsimpleasyncresult.c:
4904 Don't allocate g_error manually.
4905 Fixes g_slice/g_new mixup crash
4907 2007-09-25 Alexander Larsson <alexl@redhat.com>
4909 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4910 Actually set active_backend.
4911 This means the monitor will be cancelled correctly.
4913 2007-09-25 Alexander Larsson <alexl@redhat.com>
4915 * gio/gdirectorymonitor.c:
4916 Set timeout to NULL when destroying
4918 2007-09-25 Alexander Larsson <alexl@redhat.com>
4921 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4922 that is a better description of the error.
4924 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4926 * gio/gvfs.c: (g_vfs_get_local):
4927 Make the local vfs variable static. The same instance should
4930 2007-09-24 Alexander Larsson <alexl@redhat.com>
4932 * gio/glocalfileinfo.c:
4933 Pass in actual length read into sniffer, not the length
4936 2007-09-21 Alexander Larsson <alexl@redhat.com>
4938 * gio/gfileenumerator.c:
4941 * gio/gfileinputstream.c:
4942 * gio/gfileoutputstream.c:
4943 * gio/ginputstream.c:
4944 * gio/goutputstream.c:
4945 Don't crash if async callbacks are NULL
4947 2007-09-20 Alexander Larsson <alexl@redhat.com>
4950 Add async enumerate_children method and default
4953 2007-09-20 Alexander Larsson <alexl@redhat.com>
4956 Add g_file_contains_file & g_file_get_relative_path, since they
4957 were needed for nautilus.
4958 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4963 Implement new methods
4965 2007-09-17 Alexander Larsson <alexl@redhat.com>
4968 * gio/gfileinputstream.[ch]:
4969 * gio/gfileoutputstream.[ch]:
4971 * gio/glocalfileenumerator.[ch]:
4972 * gio/glocalfileinfo.[ch]:
4973 * gio/glocalfileinputstream.c:
4974 * gio/glocalfileoutputstream.c:
4975 * gio/gpollfilemonitor.c:
4976 * programs/gio-copy.c:
4977 * programs/gio-info.c:
4978 * programs/gio-move.c:
4979 Rename get_file_info to query_info() to make it clearer
4980 that these are not simple getters, but do i/o.
4982 2007-09-17 Alexander Larsson <alexl@redhat.com>
4984 * gio/gdatainputstream.[ch]:
4985 * gio/test-streams.c:
4986 Use _read_XXX instead of _get_XXX for the i/o calls
4989 2007-09-17 Alexander Larsson <alexl@redhat.com>
4992 Added needed stuff to TODO comment
4994 2007-09-17 Alexander Larsson <alexl@redhat.com>
4996 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4997 Don't error out removing the backup copy if it doesn't
5000 2007-09-14 Alexander Larsson <alexl@redhat.com>
5002 * programs/Makefile.am:
5003 * programs/gvfs-*.c:
5005 Renamed apps from gvfs-xxx to gio-xxx.
5007 2007-09-14 Alexander Larsson <alexl@redhat.com>
5010 * gio/gfileoutputstream.[ch]:
5011 * gio/glocalfileoutputstream.c:
5012 * programs/gvfs-save.c:
5013 g_file_output_stream_get_etag doesn't do i/o, so remove
5014 cancellation and error.
5016 2007-09-14 Alexander Larsson <alexl@redhat.com>
5019 Add new_etag output to replace_contents functions
5021 2007-09-14 Alexander Larsson <alexl@redhat.com>
5023 * gio/gfileoutputstream.[ch]:
5024 Add async get_file_info and default implementation
5026 2007-09-14 Alexander Larsson <alexl@redhat.com>
5028 * gio/gfileinputstream.c:
5029 Implement fallback wrapper for async get_file_info
5031 2007-09-14 Alexander Larsson <alexl@redhat.com>
5034 Add etag out argument to load_contents
5039 2007-09-14 Alexander Larsson <alexl@redhat.com>
5041 * gio/gcontenttype.c (looks_like_text):
5042 Whitespace like tab, cr and lf do not make the
5045 2007-09-14 Alexander Larsson <alexl@redhat.com>
5047 * gio/gfileinputstream.[ch]:
5048 Add async get_file_info.
5050 2007-09-13 Alexander Larsson <alexl@redhat.com>
5052 * gio/goutputstream.c (g_output_stream_write_all):
5053 Allow NULL for bytes_written
5055 2007-09-13 Alexander Larsson <alexl@redhat.com>
5057 * gio/gmemoryinputstream.[ch]:
5058 Add accessors for data
5060 2007-09-13 Alexander Larsson <alexl@redhat.com>
5062 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5063 Don't crash if length is NULL