1 2008-07-01 Matthias Clasen <mclasen@redhat.com>
3 * gunixmounts.c: Fix a doc typo.
5 2008-07-01 Cody Russell <bratsche@gnome.org>
9 * gio/gwin32volumemonitor.c:
10 * gio/gwin32mount.c: Fixed some include problems.
12 2008-07-01 Cody Russell <bratsche@gnome.org>
16 Moved all relevant typedefs into these files.
19 Updated wrt added files.
21 Split types into separate file for easier maintainership. (#538564)
23 2008-06-30 Matthias Clasen <mclasen@redhat.com>
25 Bug 540331 – g_file_append_to () documentation: can return NULL
27 * gfile.c (g_file_append_to): Clarify docs.
30 2008-06-30 Matthias Clasen <mclasen@redhat.com>
32 Bug 539090 – g_content_type_from_mime_type() should unalias
34 * gcontentype.c (g_content_type_from_mime_type): Unalias.
35 Patch by Markus Bergman
37 2008-06-30 Matthias Clasen <mclasen@redhat.com>
39 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
42 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
43 on ppc and alpha. Reported by Mart Raudsepp
45 2008-06-29 Matthias Clasen <mclasen@redhat.com>
48 * tests/memory-output-stream.c: Add some tests for
51 2008-06-29 Matthias Clasen <mclasen@redhat.com>
53 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
56 * gmemoryoutputstream.c (array_resize): Handle truncation to
57 zero correctly. Reported by Akira Tagoh
59 2008-06-29 Matthias Clasen <mclasen@redhat.com>
61 * gmemoryoutputstream.c: Trivial doc fixes
63 2008-06-29 Matthias Clasen <mclasen@redhat.com>
65 Bug 540802 – g_list_prepend doesn't concat lists
67 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
68 one list to another. Pointed out by Jan Arne Petersen
70 2008-06-28 Michael Natterer <mitch@imendio.com>
72 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
74 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
76 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
77 to avoid problems with partial icon themes.
79 2008-06-17 Hans Breuer <hans@breuer.org>
81 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
82 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
83 access again on win32, see bug #538127
84 * giomodule.c : ensure GWin32VolumeMonitor is registered
85 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
86 * Makefile.am makefile.msc : updated
88 2008-06-16 Hans Breuer <hans@breuer.org>
90 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
91 and initialization in one step avoids c99ism
93 2008-06-16 Christian Persch <chpe@gnome.org>
96 * gio/gbufferedinputstream.c
98 * gio/gdatainputstream.c
99 * gio/gdesktopappinfo.c
101 * gio/gfileenumerator.c
102 * gio/gfileinputstream.c
103 * gio/gfileoutputstream.c
105 * gio/glocaldirectorymonitor.c
107 * gio/glocalfileenumerator.c
108 * gio/glocalfileinfo.c
109 * gio/glocalfilemonitor.c
110 * gio/glocalfileoutputstream.c
111 * gio/gmemoryinputstream.c
112 * gio/gmemoryoutputstream.c
113 * gio/goutputstream.c
114 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
117 2008-06-16 Tor Lillqvist <tml@novell.com>
119 Bug 538362 - Get Win32 icons back in the file chooser
121 * gcontenttype.c (g_content_type_get_icon): Look up the icon
122 corresponding to a file extension in the Registry. Patch by Hans
124 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
126 2008-06-16 Tor Lillqvist <tml@novell.com>
128 Patches by Hans Breuer:
130 * glocalfile.c (is_xp_or_later): Handle compiling against older
131 SDK headers with missing VerifyVersionInfo(). Conditioned on
132 _MSC_VER, but should probably use some better test.
133 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
134 uninitialised statfs_result variable on Win32.
136 2008-06-16 Michael Natterer <mitch@imendio.com>
138 * *.c: chain up unconditionally in finalize() and dispose(). Also
139 don't dereference these function pointers when calling them since
140 that has no meaning at all.
142 2008-06-16 Ross Burton <ross@burtonini.com>
145 Remove check for dispose implementation as it annoys Emmanuele.
147 2008-06-16 Ross Burton <ross@burtonini.com>
149 Bug 536252 – GFileEnumerator should allow access to the containing
155 Add g_file_enumerator_get_container() and a container writeable
156 construct-only property. Also shuffle around typedefs to make it
159 * glocalfileenumerator.c:
160 * glocalfileenumerator.h:
162 Instead of a string filename take a GFile in the constructor and
163 use it to set the container property.
168 2008-06-16 Matthias Clasen <mclasen@redhat.com>
170 * gfile.c: Make includes more uniform
172 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
174 * tests/live-g-file.c (sample_struct):
175 Use less fancy unicode filenames, so the test doesn't fail
176 on Mac OS X (#531476).
178 2008-06-12 Matthias Clasen <mclasen@redhat.com>
180 * === Released 2.17.2 ===
182 2008-06-12 Matthias Clasen <mclasen@redhat.com>
184 * === Released 2.17.1 ===
186 2008-06-11 A. Walton <awalton@gnome.org>
188 * tests/g-file.c (test_g_file_new_null):
189 Fix broken test case.
191 2008-06-11 Matthias Clasen <mclasen@redhat.com>
193 * pltcheck.sh: We use g_clear_error now.
195 2008-06-11 Matthias Clasen <mclasen@redhat.com>
197 * glocalfile.c (g_local_file_enumerate_children): Revert
198 an unintended change.
200 2008-06-11 Matthias Clasen <mclasen@redhat.com>
202 * gfile.c (g_file_replace_contents): Don't unref before the last use.
204 2008-06-10 Matthias Clasen <mclasen@redhat.com>
206 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
209 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
210 as icon for the desktop directory, also make user-home and
211 user-desktop the preferred icons.
213 2008-06-10 Matthias Clasen <mclasen@redhat.com>
216 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
217 to add a name to the front of the list.
219 2008-06-10 Matthias Clasen <mclasen@redhat.com>
221 Bug 537392 – Additional colon in xattr name
223 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
224 too. Reported by Alessandro Morandi
226 2008-06-10 Matthias Clasen <mclasen@redhat.com>
228 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
231 * glocalfile.c (get_fs_type): Add afs and autofs.
232 Patch by Danny Baumann.
234 2008-06-10 Matthias Clasen <mclasen@redhat.com>
236 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
238 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
239 is no parent. (Owen Taylor, patch by Christian Neumair)
241 2008-06-10 Paolo Borelli <pborelli@katamail.com>
243 * gfile.c (g_file_replace_contents): do not leak the output stream.
245 2008-06-10 Michael Natterer <mitch@imendio.com>
247 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
248 uninitialized memory as array index.
250 2008-06-10 Tor Lillqvist <tml@novell.com>
252 * gcontenttype.c (g_content_type_can_be_executable)
253 (g_content_type_get_icon) [Win32]: Add TODO comments.
255 2008-06-09 Matthias Clasen <mclasen@redhat.com>
257 * xdgmime/Makefile.am: Fix the build
259 2008-06-09 Matthias Clasen <mclasen@redhat.com>
261 * gcontenttype.c (g_content_type_get_icon): Use icons specified
262 in the shared mime database, if available.
264 * xdgmime/*: Sync with upstream. This brings support for
265 glob weights, generic icons, and changes the cache format to
268 2008-05-28 Michael Natterer <mitch@imendio.com>
270 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
271 the global CPPFLAGS now.
273 * tests/data-input-stream.c
274 * tests/data-output-stream.c
275 * tests/g-file-info.c
277 * tests/live-g-file.c
278 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
280 2008-05-27 Matthias Clasen <mclasen@redhat.com>
282 * === Released 2.17.0 ===
284 * tests/live-g-file.c: Clean up after the tests, so make distcheck
285 doesn't complain about leftover files.
287 2008-05-27 simon.zheng <simon.zheng@sun.com>
289 * glocalfile.c: (g_local_file_query_filesystem_info):
290 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
292 2008-05-26 Michael Natterer <mitch@imendio.com>
294 * gmemoryoutputstream.h: declare
295 g_memory_output_stream_get_data_size().
297 2008-05-26 Matthias Clasen <mclasen@redhat.com>
299 * tests/*: Make tests work
301 2008-05-26 Matthias Clasen <mclasen@redhat.com>
303 * gio.symbols: Add g_memory_output_stream_get_data_size.
305 2008-05-25 Ross Burton <ross@burtonini.com>
308 Fix typo in error message (#534764).
310 2008-05-25 Ross Burton <ross@burtonini.com>
313 Fix circular dependency loop for gioenumtypes.h (#534759).
315 2008-05-19 Hans Breuer <hans@breuer.org>
317 * Makefile.am : EXTRA_DIST += makefile.msc
319 2008-05-17 Matthias Clasen <mclasen@redhat.com>
322 * gcontenttype.c: (g_content_type_from_mime_type):
323 New function to create a content type from a mime type. (#527175,
326 2008-05-17 Matthias Clasen <mclasen@redhat.com>
328 Bug 532965 – Should not return filesystem::free for certain file systems
330 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
331 free space for ncpfs.
333 2008-05-17 Matthias Clasen <mclasen@redhat.com>
335 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
337 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
338 st_dev might be zero.
340 2008-05-16 Tor Lillqvist <tml@novell.com>
342 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
343 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
345 2008-05-13 Bastien Nocera <hadess@hadess.net>
347 * gfile.c (has_valid_scheme): A URI scheme must start with a
348 letter, even if later more characters are allowed (#532852)
350 2008-05-05 Michael Natterer <mitch@imendio.com>
352 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
353 code from being checked in that breaks the build of applications
354 which use G_DISABLE_SINGLE_INCLUDES.
356 * makegioalias.pl: make the alias file include "glib.h" instead of
359 * gio.symbols: whitespace change to force regeneration of the
360 alias file after above script change.
362 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
364 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
366 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
368 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
370 2008-04-28 David Zeuthen <davidz@redhat.com>
372 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
373 displaying mounts in a subdirectory not accessible to the
376 2008-04-22 Michael Natterer <mitch@imendio.com>
378 * Makefile.am: fix library versioning (it was 0.0.0).
380 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
382 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
383 Default disable all loggings.
384 * fen/fen-kernel.c: (printevent), (port_add_kevent),
385 (port_fetch_event_cb): Fixed two macro nits.
387 2008-04-16 Matthias Clasen <mclasen@redhat.com>
389 * xdgmime/xdgmime.c: Rework the timestamp checking code
390 to protect against duplicate directories in XDG_DATA_DIRS.
391 Fixes fd.o bug 12513, reported by Joe Shaw.
393 2008-04-16 Matthias Clasen <mclasen@redhat.com>
395 Partically revert the last commit after realizing that
396 xdg_mime_media_type_equal doesn't have to init at all.
399 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
401 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
403 2008-04-16 Matthias Clasen <mclasen@redhat.com>
405 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
406 reported by Joe Shaw and Federico Mena Quintero.
408 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
409 (xdg_mime_media_type_equal): Turn into a wrapper around the
412 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
413 functions throughout.
415 2008-04-16 Michael Meeks <michael.meeks@novell.com>
417 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
418 tolerate an empty TryExec= line without failing; nautilus used
419 to create launchers with these in previous versions. Fixes #528433
421 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
423 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
424 after name. Fixes #527132.
426 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
428 * gfile.c: (g_file_replace):
431 2008-04-07 Matthias Clasen <mclasen@redhat.com>
433 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
435 * gfile.c (file_copy_fallback): Fix the argument order. Patch
436 by Christian Kellner.
438 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
440 * gunixmounts.c: (g_unix_mount_guess_should_display):
441 Don't list the user directory as a mount, fix potential issue
442 when other users have a similar naming and don't special case the
443 gvfs mounts there since that's not required (#525866)
445 2008-03-31 Alexander Larsson <alexl@redhat.com>
447 * glocalfile.c (get_parent):
450 2008-03-31 A. Walton <awalton@svn.gnome.org>
452 * gfile.c (g_file_query_file_type):
453 Always return a GFileType enum value (#520715).
455 2008-03-31 Alexander Larsson <alexl@redhat.com>
457 * glocalfileenumerator.c:
458 Read readdir() info in chunks (of 1000) and sort
459 the chunks by inode before stat:ing.
460 This is a 20% performance increase in testing
461 gvfs-ls on /usr/bin with cold cache.
463 2008-03-31 Alexander Larsson <alexl@redhat.com>
465 * gmemoryoutputstream.c:
466 Clarify docs for g_memory_output_stream_get_size.
467 Add g_memory_output_stream_get_data_size.
469 2008-03-30 Matthias Clasen <mclasen@redhat.com>
473 * gfile.h: Add g_file_query_file_type convenience function
474 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
476 2008-03-30 Matthias Clasen <mclasen@redhat.com>
479 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
481 2008-03-28 A. Walton <awalton@svn.gnome.org>
483 * giomodule.c (_g_io_modules_ensure_loaded):
484 Adds GIO_EXTRA_MODULES environment variable support, closing bug
487 2008-03-28 Alexander Larsson <alexl@redhat.com>
490 (copy_stream_with_progress):
493 2008-03-28 Alexander Larsson <alexl@redhat.com>
496 (copy_stream_with_progress):
497 (file_copy_fallback):
498 Fallback to g_file_query_info for source size
499 if g_file_input_stream_query_info fails. (#524579)
501 2008-03-28 Alexander Larsson <alexl@redhat.com>
503 * glocalfile.c (g_local_file_move):
504 Reuse old string instead of adding new one.
506 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
508 * fen/*.[hc]: still copyright issue. I hate copyright.
510 2008-03-27 Alexander Larsson <alexl@redhat.com>
512 * glocalfile.c (g_local_file_move):
513 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
514 file over directory. This is according to the docs and what the move via
515 copy+remove fallback does.
517 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
519 * fen/*.[hc]: Updated copyright.
521 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
523 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
525 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
527 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
528 not emit attribute changed events when optimizing changed events.
529 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
532 2008-03-19 Matthias Clasen <mclasen@redhat.com>
534 * gmountoperation.[hc]: Small documentation additions
536 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
538 * gunixmounts.c: (guess_mount_type):
539 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
541 2008-03-19 Alexander Larsson <alexl@redhat.com>
544 (copy_stream_with_progress):
545 Bump block side for copy to 64k to minimize
546 overhead for low latency links. (#523015)
548 2008-03-16 Tor Lillqvist <tml@novell.com>
550 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
551 depend on gio.def on Windows.
553 2008-03-12 David Zeuthen <davidz@redhat.com>
557 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
559 2008-03-14 Alexander Larsson <alexl@redhat.com>
563 Avoid redudant tests (#521851)
564 Patch from Josselin Mouette
566 2008-03-14 Alexander Larsson <alexl@redhat.com>
569 (g_file_monitor_is_cancelled):
570 Fix C89 issue (#521672)
571 Patch from Jens Granseuer
573 2008-03-14 Alexander Larsson <alexl@redhat.com>
575 * fam/fam-helper.[ch]:
577 Shut down fam (including removing fam GSource) when
578 module is unloaded (#521513)
579 Patch from Joe Marcus Clarke
581 2008-03-14 Alexander Larsson <alexl@redhat.com>
584 (_g_io_modules_ensure_loaded):
587 2008-03-14 Alexander Larsson <alexl@redhat.com>
590 (g_local_file_query_filesystem_info):
591 Use right define name for f_fstypename member check
593 2008-03-14 Alexander Larsson <alexl@redhat.com>
596 * fen/Makefile.am: Added.
597 * fen/fen-data.[ch]: Added.
598 * fen/fen-dump.[ch]: Added.
599 * fen/fen-helper.[ch]: Added.
600 * fen/fen-kernel.[ch]: Added.
601 * fen/fen-missing.[ch]: Added.
602 * fen/fen-node.[ch]: Added.
603 * fen/fen-sub.[ch]: Added.
604 * fen/gfendirectorymonitor.[ch]: Added.
605 * fen/gfenfilemonitor.[ch]: Added.
607 Added Solaris FEN file notification backend.
608 Patch from Lin Ma <Lin.Ma@Sun.COM>
610 2008-03-13 Tor Lillqvist <tml@novell.com>
612 * Makefile.am: Actually use the gio.def file when linking the
613 library on Windows. Produce .lib library for Microsoft's toolchain
614 when possible. Install the .lib and .def file like for the other
617 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
619 * tests/live-g-file.c:
620 Include live-g-file in standard set of tests, making a temporary
621 directory in source structure.
623 Clean target directory before the tests (write mode only)
625 2008-03-12 Tor Lillqvist <tml@novell.com>
627 Bug 517419 - gio win32 directory monitor
628 Implementation by Vlad Grecescu.
631 * win32/gwin32directorymonitor.h
632 * win32/gwin32directorymonitor.c: New files.
634 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
636 * Makefile.am: Add the win32 subdirectory.
638 2008-03-12 Tor Lillqvist <tml@novell.com>
640 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
641 normal struct stat on Unix but struct _stati64 on Windows to have
642 access to 64-bit file size information. Use that instead of struct
643 stat in the functions declared here in this private header.
645 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
646 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
647 warnings about unused functions and variables. Don't set
648 meaningless attributes like inode numbers on Windows.
650 2008-03-12 Benjamin Otte <otte@gnome.org>
653 trim whitespace so gtk-doc groks the function name
655 2008-03-12 Tor Lillqvist <tml@novell.com>
657 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
658 returning FALSE, on Win32.
660 2008-03-11 Alexander Larsson <alexl@redhat.com>
663 * glocalfileinfo.[ch]:
664 Correctly implement can_trash by actually
665 looking for a trash dir, not just assuming
668 2008-03-10 Matthias Clasen <mclasen@redhat.com>
670 * === Released 2.16.1 ===
672 2008-03-11 Alexander Larsson <alexl@redhat.com>
675 Fix crashes in new constructor and properties code
677 2008-03-10 Murray Cumming <murrayc@murrayc.com>
679 * gfile.c: Minor spelling correction in documentation:
680 existance -> existence.
682 2008-03-10 Matthias Clasen <mclasen@redhat.com>
684 * === Released 2.16.0 ===
686 2008-03-10 Matthias Clasen <mclasen@redhat.com>
688 * gio.symbols: Remove g_file_contains_file here, too.
690 2008-03-10 Matthias Clasen <mclasen@redhat.com>
692 * gthemedicon.c: Add properties to make bindings happy. (#517676,
693 Samuel Cormier-Iijima)
695 2008-03-08 Tor Lillqvist <tml@novell.com>
697 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
700 2008-03-07 Alexander Larsson <alexl@redhat.com>
703 (g_local_file_query_filesystem_info):
704 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
705 Patch from Jasper Lievisse Adriaanse
707 2008-03-06 Tor Lillqvist <tml@novell.com>
709 * gfileinfo.h: Correct milliseconds to microseconds in the doc
710 comments for the *_USEC attributes.
712 2008-03-06 Alexander Larsson <alexl@redhat.com>
714 * gfile.c (g_file_query_exists):
715 Add g_return_val_if_fail check (#520700)
717 2008-03-06 Alexander Larsson <alexl@redhat.com>
722 * gunionvolumemonitor.c:
725 * tests/live-g-file.c:
726 * xdgmime/xdgmimecache.c:
727 Fix sparse warnings (#519489)
729 2008-03-05 Alexander Larsson <alexl@redhat.com>
732 Make cancellation threadsafe (i.e.
733 guarantee its only done once, and always
736 * glocaldirectorymonitor.c:
737 Make sure we the monitor lives while the
738 mounts_changed callback is being called (#520484)
740 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
742 * gbufferedinputstream.c: Fix typo in parameter
745 2008-03-04 Alexander Larsson <alexl@redhat.com>
748 Remove deprecated symbols we kept for one release.
750 2008-03-04 Murray Cumming <murrayc@murrayc.com>
753 * goutputstream.c: Tiny documentation corrections.
755 2008-03-03 Alexander Larsson <alexl@redhat.com>
757 * gunionvolumemonitor.c:
759 Fix the adopt_orphan_mount vfunc to take a
760 volume_monitor reference in an ABI compat way.
761 This change is not API compat, but the added
762 arg is not used in the only user of this vfunc, so
763 all we get is a harmless warning in gvfs (#520169)
765 2008-03-01 Benjamin Otte <otte@gnome.org>
768 clarify docs for g_file_delete().
770 2008-02-29 Alexander Larsson <alexl@redhat.com>
774 Make sure empty files get text/plain type (#518720)
776 2008-02-27 Alexander Larsson <alexl@redhat.com>
782 (g_unix_volume_mount):
783 Add missing GMountMountFlags argument
785 2008-02-26 Alexander Larsson <alexl@redhat.com>
788 (g_local_file_delete):
789 Handle filesystems (like ntfs-3g) that return EEXIST instead
790 of ENOTEMPTY (#518816)
792 2008-02-25 Matthias Clasen <mclasen@redhat.com>
794 * === Released 2.15.6 ===
796 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
798 * gfile.c (g_file_find_enclosing_mount):
799 * ginputstream.c (g_input_stream_set_pending):
800 * glocalfile.c (g_local_file_find_enclosing_mount):
801 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
802 * goutputstream.c (g_output_stream_set_pending):
804 Fixup translator comments (#518578).
806 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
808 * gfile.c (g_file_find_enclosing_mount):
810 * glocalfile.c (g_local_file_find_enclosing_mount):
813 Fix a few typos in translator comments and documentation.
815 2008-02-25 Alexander Larsson <alexl@redhat.com>
822 Add translator comments (#518578)
824 2008-02-25 Alexander Larsson <alexl@redhat.com>
827 Reintroduce g_file_contains_file, keep around for one
828 unstable release cycle to avoid crashing to many apps.
829 Make sure to delete after release.
831 2008-02-25 Alexander Larsson <alexl@redhat.com>
834 Remove deprecated g_file_contains_file.
836 2008-02-25 Alexander Larsson <alexl@redhat.com>
839 Emit actual change signals in an idle handler.
840 This avoids reentrance and locking problems in
841 the file notification backends.
843 2008-02-25 Alexander Larsson <alexl@redhat.com>
846 (g_unix_mount_guess_should_display):
847 Remove type guessing, instead just display
848 mounts in /media and in ~/.
850 2008-02-25 Alexander Larsson <alexl@redhat.com>
853 Make new strings reuse old ones.
855 2008-02-25 Alexander Larsson <alexl@redhat.com>
858 Implement trashing and filesystem::readonly for win32 (#517235)
859 Patch from Yevgen Muntyan
861 2008-02-23 Matthias Clasen <mclasen@redhat.com>
863 * gfileinfo.h: Documentation fixes.
865 2008-02-22 Alexander Larsson <alexl@redhat.com>
867 * gcontenttype.c (g_content_type_get_icon):
868 Look at old-style gnome mime icon names too, as many
869 have not moved to the new style.
871 2008-02-21 Matthias Clasen <mclasen@redhat.com>
873 * *.c: Correct the @include in for section docs.
875 2008-02-21 David Zeuthen <davidz@redhat.com>
877 * glocalfileinfo.c: (_g_local_file_info_get):
879 (g_content_type_get_icon): Implement this function by
880 moving bits from glocalfileinfo.c
881 (g_content_type_get_description): Unalias before getting
882 description (#517687)
884 * gfile.c: (g_file_class_init),
885 (g_file_query_filesystem_info_async),
886 (g_file_query_filesystem_info_finish),
887 (query_filesystem_info_data_free),
888 (query_filesystem_info_async_thread),
889 (g_file_real_query_filesystem_info_async),
890 (g_file_real_query_filesystem_info_finish):
891 * gfile.h: Implement async version of
892 g_file_query_filesystem_info()
894 * gfileinfo.h: Add new attributes for filesystem::use-preview
896 * gio.symbols: Update
898 * gthemedicon.c: (g_themed_icon_append_name):
899 * gthemedicon.h: Add new new convenience function.
901 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
902 (get_mounts), (get_volumes), (get_connected_drives),
903 (get_volume_for_uuid), (get_mount_for_uuid),
904 (g_union_volume_monitor_init), (populate_union_monitor),
905 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
906 (g_volume_monitor_adopt_orphan_mount):
908 * gvolumemonitor.h: Use recursive locks so it's safe for volume
909 monitor implementations to call into the main volume monitor. Also
910 separate object initialization and volume monitor initialization
911 such that non-native volume monitors can properly adopt their
914 2008-02-21 Alexander Larsson <alexl@redhat.com>
919 2008-02-21 Alexander Larsson <alexl@redhat.com>
922 Add more documentation about how GFiles work (from #517086)
924 2008-02-21 Alexander Larsson <alexl@redhat.com>
928 Add new g_file_has_prefix that does the same as g_file_contains_file.
929 Deprecate g_file_contains_file and add a macro that converts
930 it to g_file_has_prefix.
931 The reason for this change is that the contains_file() name seems to
932 imply that this does more work than what it does, but its really only
933 a name match (from #517086)
938 Update to match the above change.
940 2008-02-20 Benjamin Otte <otte@gnome.org>
942 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
943 (g_file_eject_mountable):
944 even more cases of not returning in error path
946 2008-02-20 Benjamin Otte <otte@gnome.org>
948 * gfile.c: (g_file_mount_mountable):
949 return from function in error path.
951 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
954 Remove trailing coma in GMountMountFlags struct
956 2008-02-18 Alexander Larsson <alexl@redhat.com>
960 * glocalfileoutputstream.c:
961 Use g_unlink/g_rename instead of unlink/rename;
962 do not pass raw filenames to g_set_error. (#517239)
963 Patch from Yevgen Muntyan.
965 2008-02-18 Alexander Larsson <alexl@redhat.com>
968 * glocalfileoutputstream.c:
969 Open files with O_BINARY on windows. (#517140)
971 2008-02-14 Alexander Larsson <alexl@redhat.com>
973 * glocalfileoutputstream.c:
974 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
976 2008-02-14 Alexander Larsson <alexl@redhat.com>
979 Copy permissions with file on copy (#514084)
980 This is what cp does and makes sure e.g. the
981 exec permissions are kept.
982 Its kinda weird in that it keeps the permission bits
983 the same while the uid and gid are different. However
984 the new uid is the user so its not a security issue,
985 and I've heard no complaints about cp on this issue.
987 2008-02-13 Ryan Lortie <desrt@desrt.ca>
989 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
991 2008-02-13 Alexander Larsson <alexl@redhat.com>
993 * inotify/inotify-path.c:
994 Define IN_ONLYDIR if not in header (#515346)
996 2008-02-12 Alexander Larsson <alexl@redhat.com>
998 * tests/live-g-file.c:
1001 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1003 * === Released 2.15.5 ===
1005 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1007 * gio.symbols: Add g_mount_mount_flags_get_type.
1009 2008-02-11 Alexander Larsson <alexl@redhat.com>
1012 (g_file_info_set_attribute_mask):
1013 (g_file_attribute_matcher_matches_id):
1014 Correctly handle NULL GAttributeMatcher meaning
1015 matches nothing. (Fixes #513492)
1017 2008-02-11 Alexander Larsson <alexl@redhat.com>
1022 Added GMountMountFlags enum and added a flags
1023 argument to all mount calls.
1025 This is an API/ABI change for future extensibility,
1026 as I think we will need at least an
1027 inhibit-autorun flag (the panel needs this).
1028 There are no flags defined yet though.
1030 2008-02-11 Alexander Larsson <alexl@redhat.com>
1033 Added new standard::description attribute.
1034 Requested by Vincent, and useful for both
1037 2008-02-11 Alexander Larsson <alexl@redhat.com>
1039 * gdesktopappinfo.c:
1042 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1044 * *.c: Documentation additions
1046 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1048 * gappinfo.h: Formatting cleanup
1049 * gappinfo.c: Fix up docs.
1051 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1053 * gunixmounts.c: Consistently use getmntent_r() and fall
1054 back to getmntent(). (#515492)
1056 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1058 * gbufferedinputstream.c:
1060 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1062 * tests/data-input-stream.c:
1063 * tests/data-output-stream.c: Portability fixes.
1065 2008-02-08 Alexander Larsson <alexl@redhat.com>
1070 Add g_volume_should_automount.
1073 2008-02-07 Tor Lillqvist <tml@novell.com>
1075 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1076 Win32, too Unix-specific.
1078 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1080 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1081 a local plt if the compiler doesn't support what we want. Bug #514702
1083 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1085 reviewed by: <delete if not using a buddy>
1088 * gunixinputstream.c:
1089 * gunixoutputstream.c:
1091 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1093 * tests/Makefile.am:
1094 * tests/live-g-file.c:
1095 * tests/live-g-file.txt:
1096 New GIO testing module working over real data
1098 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1100 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1101 Fallback to rename() if link() is not available
1102 (when no support on target filesystem)
1104 2008-02-06 Michael Natterer <mitch@imendio.com>
1106 * gfileinfo.c (g_file_info_get_icon): replace
1107 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1109 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1111 * gfile.c (g_file_create):
1112 Documentation update of error codes
1114 2008-02-06 Alexander Larsson <alexl@redhat.com>
1116 * gdesktopappinfo.c:
1117 Update to use both mimeapps.list and
1118 defaults.list as discussed on xdg list.
1120 2008-02-06 Benjamin Otte <otte@gnome.org>
1123 * gfilenamecompleter.c:
1124 Fix some typos in the documentation.
1126 2008-02-06 Alexander Larsson <alexl@redhat.com>
1128 * glocalfile.c (g_local_file_trash):
1129 Don't succeed with trash if newly created
1130 trash dir has the wrong owner. (#514696)
1132 2008-02-05 Alexander Larsson <alexl@redhat.com>
1134 * glocalfile.c (g_local_file_move):
1135 Don't spew warnings when destination is not
1138 2008-02-03 Hans Breuer <hans@breuer.org>
1140 * makefile.msc : update
1142 2008-02-01 Michael Natterer <mitch@imendio.com>
1144 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1145 return value of xdg_mime_list_mime_parents() to a variable of the
1148 2008-02-01 Alexander Larsson <alexl@redhat.com>
1150 * gappinfo.c (g_app_info_launch_uris):
1151 Actually call the launch_uris method, not
1154 2008-02-01 Alexander Larsson <alexl@redhat.com>
1156 * gdesktopappinfo.c (g_desktop_app_info_equal):
1157 Ensure appinfos with no id but same pointer value
1160 2008-02-01 Alexander Larsson <alexl@redhat.com>
1162 * gappinfo.c (g_app_info_launch_default_for_uri):
1165 2008-02-01 Alexander Larsson <alexl@redhat.com>
1169 Add g_app_info_launch_default_for_uri utility
1172 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1174 * gdesktopappinfo.c:
1175 Doc fix for g_app_info_get_default_for_uri_scheme ()
1178 2008-01-30 Alexander Larsson <alexl@redhat.com>
1181 Add doc comment about uris vs GFiles to
1184 * gdesktopappinfo.c:
1185 Ensure uris passed to g_app_info_launch_uris()
1186 are not roundtriped through GFile (as that
1187 may be slightly destructive for e.g. mailto: links)
1189 2008-01-30 Alexander Larsson <alexl@redhat.com>
1191 * tests/data-input-stream.c:
1192 * tests/data-output-stream.c:
1193 C89 fixes from Jens Granseuer (#512849)
1195 2008-01-30 Alexander Larsson <alexl@redhat.com>
1198 Fix gamin/fam difference build issue. (#509419)
1200 2008-01-29 Alexander Larsson <alexl@redhat.com>
1203 * gdesktopappinfo.c:
1204 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1206 2008-01-29 Alexander Larsson <alexl@redhat.com>
1208 * gdesktopappinfo.c:
1209 * gdesktopappinfo.h:
1210 giomodule-priv.h include moved to .c file.
1212 2008-01-29 Alexander Larsson <alexl@redhat.com>
1214 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1215 Remove unused prio/name fields.
1217 2008-01-29 Alexander Larsson <alexl@redhat.com>
1219 * gcontenttype.c (looks_like_text):
1220 Don't treat whitespace as control chars.
1222 2008-01-29 Alexander Larsson <alexl@redhat.com>
1224 * gdesktopappinfo.c:
1225 Lazily create the desktop files for appinfos created
1226 by g_app_info_create_from_commandline() when needed
1227 for mime associations. This allows run-time use
1228 of GAppInfo object without creating unnecessary
1231 2008-01-29 Alexander Larsson <alexl@redhat.com>
1234 Added new symbols to gio.symbols
1236 2008-01-29 Alexander Larsson <alexl@redhat.com>
1239 Add g_file_query_default_handler utility to easily look up
1240 the GAppInfo that handles a file.
1242 * gdesktopappinfo.[ch]:
1244 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1247 Remove unused function
1249 2008-01-29 Alexander Larsson <alexl@redhat.com>
1251 * gfileenumerator.c:
1252 Mention need to free returned value in
1253 g_file_enumerator_next_files_finish docs.
1254 Fix leak if g_file_enumerator_next_files_finish()
1257 2008-01-29 Alexander Larsson <alexl@redhat.com>
1260 (_g_unix_content_type_get_parents):
1261 Use list_parents, not get_parents from xdgmime, because
1262 the later doesn't use the cache.
1264 * xdgmime/xdgmimecache.c:
1265 (_xdg_mime_cache_list_mime_parents):
1266 Don't list the same type as parent multiple times.
1268 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1270 * === Released 2.15.4 ===
1272 2008-01-28 Alexander Larsson <alexl@redhat.com>
1275 Register local vfs with prio 0.
1278 Remove old name and prio class members
1280 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1282 * tests/g-file.c: Disable some tests that are failing in
1283 the absence of a http backend.
1285 2008-01-28 Alexander Larsson <alexl@redhat.com>
1289 Add registration hooks for extension points.
1290 Register the gio extension points.
1292 * fam/gfamdirectorymonitor.c:
1293 * fam/gfamfilemonitor.c:
1294 * glocaldirectorymonitor.[ch]:
1295 * glocalfilemonitor.[ch]:
1296 * gnativevolumemonitor.h:
1297 * gunionvolumemonitor.c:
1298 * gunixvolumemonitor.c:
1301 * inotify/ginotifydirectorymonitor.c:
1302 * inotify/ginotifyfilemonitor.c:
1303 Use the extension points registration instead
1304 of g_type_children().
1306 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1309 * gvolume.[hc]: Document new API.
1311 * gfile.c (g_file_copy_async): Fix docs
1313 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1315 * gbufferedinputstream.c:
1317 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1320 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1322 * glocalfile.c: Avoid trivial differences in translatable strings.
1324 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1326 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1327 build with gcc 3.4 (#509419)
1329 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1331 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1332 (#509994, Murray Cumming)
1334 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1336 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1337 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1338 this allows big jobs to be executed in chunks, instead of blocking
1339 the main loop for a long time.
1341 * gsimpleasyncresult.c:
1342 * giofile.c: Adapt callers.
1344 2008-01-25 Alexander Larsson <alexl@redhat.com>
1346 * gdesktopappinfo.c:
1347 Implement changes discussed on xdg list.
1348 Now we can add supported mimetypes by just using defaults.list
1349 We can also remove associations in defaults.list.
1351 2008-01-25 Alexander Larsson <alexl@redhat.com>
1353 * gdesktopappinfo.c:
1354 Don't make local copy of desktop file
1355 for mimetype changes if the file already
1356 supports the new mimetype.
1358 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1362 * gbufferedinputstream.c:
1363 * glocalfile.c: String improvements. (#511966,
1364 Theppitak Karoonboonyanan)
1366 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1368 * gioscheduler.h: Expand docs a bit.
1370 2008-01-24 Alexander Larsson <alexl@redhat.com>
1373 Add g_drive_get_identifier and
1374 g_drive_enumerate_identifiers
1377 Add g_volume_get_identifier and
1378 g_volume_enumerate_identifiers
1384 Implement identifiers for unix backend
1386 2008-01-24 Alexander Larsson <alexl@redhat.com>
1391 Add g_file_copy_async() (#511580)
1392 Based on patch from Carlos Garcia Campos
1394 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1396 * gioscheduler.c: Some documentation additions.
1398 2008-01-22 Alexander Larsson <alexl@redhat.com>
1400 * gdesktopappinfo.c:
1401 (g_desktop_app_info_new):
1402 Don't leak basename.
1404 2008-01-22 Alexander Larsson <alexl@redhat.com>
1406 * gdesktopappinfo.c:
1407 (g_desktop_app_info_new_from_filename):
1410 2008-01-22 Alexander Larsson <alexl@redhat.com>
1412 * glocalfileinfo.c (get_thumbnail_attributes):
1415 2008-01-22 Alexander Larsson <alexl@redhat.com>
1418 (canonicalize_filename):
1419 Canonicalize paths that start with more than
1423 (compare_two_files):
1424 (test_g_file_new_for_path):
1427 2008-01-22 Alexander Larsson <alexl@redhat.com>
1430 Allow UTF-8 in file:// parse names.
1432 * tests/Makefile.am:
1433 * tests/data-input-stream.c:
1434 * tests/data-output-stream.c:
1435 * tests/g-file-info.c:
1437 Added a bunch of tests from Tomas Bzatek
1439 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1441 * === Released 2.15.3 ===
1443 2008-01-21 Alexander Larsson <alexl@redhat.com>
1445 * gfileinputstream.[ch]:
1446 * gfileoutputstream.[ch]:
1448 Remove duplicated GSeekable functions. (#509990)
1449 Just use the g_seekable_xxx() calls instead.
1451 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1454 * gvolumemanager.c: Whitespace cleanups.
1456 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1457 Use the right mode when creating the file.
1459 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1461 * gfileenumerator.c:
1462 * gfileinputstream.c:
1464 * goutputstream.c: Documentation: Fixed minor typos
1465 and added more mentions of specific _finish() functions.
1467 2008-01-21 Alexander Larsson <alexl@redhat.com>
1469 * inotify/Makefile.am:
1470 * inotify/inotify-helper.c:
1471 * inotify/inotify-kernel.c:
1472 * inotify/inotify-path.c:
1473 * inotify/local_inotify.h: Removed.
1474 * inotify/local_inotify_syscalls.h: Removed.
1475 Removed the included copies of the inotify
1476 headers. We now only use the <sys/inotify.h>
1477 header which exists on modern systems.
1478 This fixes problems on ARM and SH5 (#510448)
1479 but is also generally much cleaner and future
1480 safe. For instance, if other OSes add support
1481 for inotify it should "just work".
1483 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1485 * inotify/*.c: Coding style fixes.
1486 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1487 for the 1/4 Hz timer.
1489 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1492 * gfilemonitor.[hc]:
1493 * gmemoryinputstream.c:
1494 * gmemoryoutputstream.c:
1495 * gmountoperation.c:
1496 * gthemedicon.c: Documentation updates
1498 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1500 * gfile.c: documentation: Fixed more minor
1503 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1505 * gmount.c: (g_mount_remount): documentation:
1506 Mention g_mount_remount_finish() instead of
1507 g_mount_unmount_finish().
1509 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1513 * gfile.c: Fixed some minor typos in the
1516 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1518 * gio/gvolumemonitor.c:
1519 (g_volume_monitor_get_connected_drives):
1520 (g_volume_monitor_get_volumes):
1521 (g_volume_monitor_get_mounts): Documentation:
1522 Clarify the ownership of the regurn GLists.
1524 2008-01-17 Alexander Larsson <alexl@redhat.com>
1527 Add the async find_enclosing_mount version
1528 to the header file too.
1530 2008-01-17 Alexander Larsson <alexl@redhat.com>
1533 Add async version of find_enclosing_mount
1534 with default implementation.
1536 2008-01-17 Alexander Larsson <alexl@redhat.com>
1541 Allow calls to implementation of copy and write
1542 even if the type of the file implementations is
1543 different. This can be used to implement native
1544 upload and download calls in a vfs.
1547 (g_local_file_move):
1548 Protect against the case where move is called
1549 with one file not being local.
1551 Make sure we call the progress callback once
1552 in the native move operation so that the caller
1553 knows how many bytes were copied.
1555 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1558 * gdatainputstream.c:
1560 * gfileoutputstream.c:
1565 * gunixmounts.c: Corrected some typos in the documentation:
1566 occured -> occurred.
1567 its -> it's (where appropriate).
1569 2008-01-16 Alexander Larsson <alexl@redhat.com>
1573 Add g_file_query_exists (#508771)
1575 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1580 * gvolume.c: For async functions that have no non-async
1581 version, document that the GAsyncReadyCallback may be NULL.
1584 2008-01-15 Alexander Larsson <alexl@redhat.com>
1586 * gmemoryinputstream.c:
1587 * gmemoryoutputstream.c:
1588 Don't do pointer arithmetic on void * (#508602)
1589 Patch from Kazuki IWAMOTO
1591 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1593 * === Released 2.15.2 ===
1595 2008-01-14 Alexander Larsson <alexl@redhat.com>
1597 * gfile.c (g_file_monitor_file):
1598 Don't set error here, since we fallback to polling monitor.
1600 2008-01-14 Alexander Larsson <alexl@redhat.com>
1603 (g_file_monitor_directory):
1604 (g_file_monitor_file):
1605 Add GError to file monitor calls
1607 * glocaldirectorymonitor.c:
1608 * glocaldirectorymonitor.h:
1610 * glocalfilemonitor.c:
1611 * glocalfilemonitor.h:
1613 Update for above change
1615 2008-01-14 Alexander Larsson <alexl@redhat.com>
1619 Handle root correctly in g_file_get_relative_path (#508719)
1621 2008-01-14 Alexander Larsson <alexl@redhat.com>
1624 Clean up docs and example for GAsyncResult (#508074)
1626 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1628 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1629 and correct some spelling mistakes. Bug #508108.
1631 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1633 * glocalfileinfo.c: Add a comment.
1635 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1637 * gfileinfo.c: GFileInfo description: Mention
1638 how to actually set attributes in a GFile and how to discover
1639 which attributes are settable. Bug #508378.
1641 2008-01-10 A. Walton <awalton@svn.gnome.org>
1643 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1644 (g_app_info_get_default_for_type):
1645 Check for NULL content types.
1647 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1649 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1651 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1653 * gfile.c: *_async() functions: Several small corrections
1654 to the documentation, mostly correcting copy/paste errors
1655 and improving some sentences.
1657 2008-01-09 Dan Winship <danw@gnome.org>
1659 * glocalfile.c (get_unique_filename): x86_64 fix
1661 2008-01-09 Alexander Larsson <alexl@redhat.com>
1666 Add g_unix_mount_guess_should_display and use
1667 for unix volume monitor backend.
1668 This means we more or less show what the
1669 gnome-vfs backend did.
1670 Based on patch from Padraig O'Briain
1672 2008-01-09 Alexander Larsson <alexl@redhat.com>
1676 Add g_themed_icon_new_with_default_fallbacks
1679 Use default fallbacks for icons
1681 2008-01-09 Alexander Larsson <alexl@redhat.com>
1684 * gmountoperation.[ch]:
1685 Change the API a bit so that unhandled methods
1686 get reported via the reply, rather than by
1687 the signal emission return value. This is because
1688 some handlers can't know this immediately without
1689 doing I/O, and this is an async operation that
1692 2008-01-09 Alexander Larsson <alexl@redhat.com>
1695 * fam/gfamdirectorymonitor.c:
1696 * fam/gfamfilemonitor.c:
1697 Fix double free crash (#508224)
1698 Patch from Joe Marcus Clarke
1700 008-01-07 Matthias Clasen <mclasen@redhat.com>
1702 * === Released 2.15.1 ===
1704 2008-01-07 Alexander Larsson <alexl@redhat.com>
1706 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1707 Fix warning (#507835)
1709 2008-01-07 Alexander Larsson <alexl@redhat.com>
1712 Pass --internal to glib-genmarshal
1715 * gmountoperation.c:
1717 Use better types for signal arguments (#507822)
1719 2008-01-07 Alexander Larsson <alexl@redhat.com>
1722 Build test subdir after .
1723 Remove gdirectorymonitor.[ch]
1725 * gdirectorymonitor.[ch]:
1729 Remove GDirectoryMonitor and make
1730 GFileMonitor the baseclass for both file and
1731 directory monitors. Lift the more generic
1732 rate limiting code from GDirectoryMonitor
1736 * fam/gfamdirectorymonitor.[ch]:
1737 * inotify/ginotifydirectorymonitor.[ch]:
1738 * inotify/inotify-helper.c:
1739 * glocaldirectorymonitor.[ch]:
1742 Update for the removed GDirectoryMonitor.
1744 * gmemoryoutputstream.c:
1745 Remove ununsed variable
1747 2008-01-07 Alexander Larsson <alexl@redhat.com>
1749 * gmemoryinputstream.c:
1750 Translate error strings
1753 * gmemoryoutputstream.[ch]:
1754 New implementation that avoids using GByteArray
1755 in implementation and API. (#506377)
1757 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1759 * tests/*: Add a test for memory input streams.
1761 * Makefile.am: Add tests to SUBDIRS.
1763 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1765 * glocalfilemonitor.c:
1766 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1769 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1771 * gdesktopappinfo.c: Fix a docs typo.
1773 * gfileattribute.c: Add information about extended attributes
1774 to the documentation. (#505058)
1776 2008-01-04 Alexander Larsson <alexl@redhat.com>
1779 * gmountoperation.c:
1780 Use the right type (uint) for the ask_password signal.
1782 2008-01-04 Alexander Larsson <alexl@redhat.com>
1787 Add g_app_info_supports_files()
1788 Remove desktop arg from g_app_info_should_show().
1790 * gdesktopappinfo.[ch]:
1791 Implement g_app_info_supports_files() and new should_show()
1792 Add g_desktop_app_info_set_desktop_env() to set the desktop
1793 for should_show(). (This will be set by gtk+ later)
1795 2008-01-04 Alexander Larsson <alexl@redhat.com>
1798 * gmemoryinputstream.[ch]:
1799 Improve API so that you can use multiple chunks
1800 of memory and custom destroy functions. (#506374)
1802 2008-01-03 Alexander Larsson <alexl@redhat.com>
1805 Handle NULL attribute matchers safely, as we return this
1806 for empty attribute matcher strings.
1808 2008-01-03 Alexander Larsson <alexl@redhat.com>
1810 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1811 Add /usr/local to list of internal mountpoints
1813 2008-01-03 Alexander Larsson <alexl@redhat.com>
1816 Check for HAVE_LCHOWN (#505887)
1818 2008-01-03 Alexander Larsson <alexl@redhat.com>
1822 Add define for selinux context attribute.
1823 Fix missing : -> :: namespace separator change
1824 Fix missing _ -> - name change for xattr-sys.
1827 2008-01-03 Alexander Larsson <alexl@redhat.com>
1830 Link to libglib and libgobject directly (#504879)
1831 Patch from Sebastien Bacher
1833 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1835 * gfile.c: Expanded the g_file_new_for_commandline_arg
1836 description a bit, based on the code and the docs of the
1837 other g_file_new_for_* functions.
1839 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1841 * gfilemonitor.h: Fixed typo in docs.
1843 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1845 Updates to GIO documentation. (#506395, Mikael Hermansson)
1847 * gcontenttype.c: Describe memory management for return value of
1848 g_content_types_get_registered(). Missing piece from #505815.
1849 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1850 GVolume, GDrive, GMounts, which hopefully gives the user less
1851 confusions when using this API. Following explainations from
1852 Alexander Larsson on gtk-devel-list.
1854 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1856 * gfileinfo.c: Expand the long description.
1858 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1861 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1862 fix builds with --disable-visibility. (#500273, Christian Persch)
1864 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1866 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1867 in the list of returned app infos.
1869 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1871 * gappinfo.c: Fix a cross-reference
1873 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1875 * gfileinputstream.c:
1876 * gfileoutputstream.c:
1880 * gdesktopappinfo.c:
1882 * gfileinfo.c: Documentation updates.
1884 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1886 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1889 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1891 * gcontenttype.c (g_content_types_get_registered): Don't return
1892 freed memory (#505815, Mikael Hermansson)
1894 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1896 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1897 used to detect statbuf->st_blocks. (#505042)
1899 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1901 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1902 environment handling. (#504829, Cosimo Cecchi)
1904 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1906 * gappinfo.c: Doc improvements
1908 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1911 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1913 * === Released 2.15.0 ===
1915 2007-12-20 Hans Breuer <hans@breuer.org>
1917 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1918 with symbols gwin32appinfo.obj, added gmount.obj
1919 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1921 2007-12-20 Alexander Larsson <alexl@redhat.com>
1927 * gfilenamecompleter.c:
1930 * gpollfilemonitor.c:
1931 File attribute renames:
1933 fs:: -> filesystem::
1934 id::fs -> id::filesystem
1936 2007-12-20 Alexander Larsson <alexl@redhat.com>
1945 Add GMountUnmountFlags to all unmount and
1947 Add g_mount_remount() call.
1949 2007-12-20 Alexander Larsson <alexl@redhat.com>
1951 * gvfs.c (get_default_vfs):
1952 Fix unused variable warning
1954 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1956 * pltcheck.sh: Update
1958 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1960 * gunionvolumemonitor.c:
1961 * gunixmount.c: Remove C99 comments
1963 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1965 * gio.symbols: Add some missing symbols
1967 2007-12-19 Alexander Larsson <alexl@redhat.com>
1970 Make g_io_modules_load_all_in_directory not unuse
1971 loaded modules so that users of it can do stuff
1973 Init internal "module" types.
1974 Initialize static prio and name for types so that
1975 we don't have to load modules to get it.
1977 * gnativevolumemonitor.h:
1979 Move is_supported to parent class so that
1980 non-native monitors can avoid being initialized
1981 too. (For instance GDaemonVolumeMonitor if we're
1982 not using GDaemonVfs.)
1984 * glocaldirectorymonitor.[ch]:
1985 * glocalfilemonitor.[ch]:
1986 * gunionvolumemonitor.c:
1987 * gunixvolumemonitor.c:
1989 Find plugins using the static prio+name to
1990 avoid unnecessarily loading the modules.
1992 2007-12-19 Alexander Larsson <alexl@redhat.com>
1997 2007-12-19 Alexander Larsson <alexl@redhat.com>
1999 * gunionvolumemonitor.c:
2000 Store the native type as GType, not class so that
2001 we can unload it. But still avoid unnecessarily
2004 2007-12-19 David Zeuthen <davidz@redhat.com>
2006 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2007 add signals 'disconnected' and 'eject-button' on GDrive. Add
2008 signal 'removed' on GVolume and 'unmounted' on GMount.
2010 * gdrive.c: (g_drive_base_init):
2012 * gfile.c: (g_file_mount_mountable),
2013 (g_file_mount_enclosing_volume):
2016 * gmount.c: (g_mount_base_init):
2018 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2019 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2020 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2024 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2026 * *.c: Fix up includes in the section docs.
2028 2007-12-17 Alexander Larsson <alexl@redhat.com>
2030 * gnativevolumemonitor.h:
2031 * gunionvolumemonitor.c:
2032 * gunixvolumemonitor.c:
2033 Add is_supported() to GNativeVolumeMonitorClass so
2034 that we can avoid having to create an object to see
2035 if the backend is supported at runtime.
2036 Also add name member and an env var to pick a specific
2037 volume monitor backend.
2041 Add cancellable to _g_mount_get_for_mount_path()
2043 * glocaldirectorymonitor.c:
2044 * glocalfilemonitor.c:
2045 Avoid loading and unloading modules while sorting.
2047 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2050 * gunixmounts.[hc]: Namespace waste reduction, move some
2051 g_get_unix_mount functions to the g_unix_mount namespace.
2054 * gunixvolumemonitor.c:
2056 * glocaldirectorymonitor.c: Update all callers.
2058 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2060 2007-12-17 Alexander Larsson <alexl@redhat.com>
2063 Add doc comments about what GFile operations are
2064 guaranteed to not block.
2066 2007-12-17 Alexander Larsson <alexl@redhat.com>
2069 Add missing #ifdef fixing OSX build.
2070 (#503334, patch from Richard Hult)
2072 2007-12-14 David Zeuthen <davidz@redhat.com>
2076 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2077 (g_mount_eject), (g_mount_eject_finish):
2079 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2080 (get_volume_for_uuid), (get_mount_for_uuid),
2081 (g_union_volume_monitor_class_init),
2082 (get_default_native_type_with_exclude), (get_default_native_type),
2083 (get_native_type), (update_native_type),
2084 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2085 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2086 (g_unix_mount_can_eject), (eject_unmount_cb),
2087 (eject_unmount_read_error), (eject_unmount_do),
2088 (g_unix_mount_unmount), (g_unix_mount_eject),
2089 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2090 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2091 (g_unix_mount_point_guess_can_eject):
2093 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2094 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2095 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2096 (g_unix_volume_mount), (g_unix_volume_eject),
2097 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2098 * gunixvolumemonitor.c: (get_volume_for_uuid),
2099 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2101 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2102 (g_volume_eject), (g_volume_eject_finish):
2104 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2105 (g_volume_monitor_get_mount_for_uuid):
2108 Provide eject() on both GMount and GVolume and utility functions
2109 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2110 ejected. Introduce the concept of UUID's and wire it into GVolume
2111 and GMount and provide API on GVolumeMonitor to find such
2112 instances. Also handle the case where an external
2113 GNativeVolumeMonitor fails to initialize. Lock around the
2114 _g_get_mount_for_mount_path() function such that volume monitor
2115 implementations won't have to do locking themselves.
2117 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2119 * gdesktopappinfo.c:
2125 * gvolume.h: Documentation updates
2127 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2130 * gfile.h: Doc updates
2132 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2135 * gdesktopappinfo.c: Use hash table iterators.
2137 2007-12-14 Alexander Larsson <alexl@redhat.com>
2140 * gfileattribute.[ch]:
2141 * gfileattribute-priv.h:
2142 Move GFileAttributeValue to a private header, as
2146 Make set_attribute take a type + a pointer instead
2147 of a GFileAttributeValue.
2150 Fix up for above changes.
2151 Add g_file_info_get_attribute_data to get
2152 all info in one call, g_file_info_get_attribute_status
2153 to get the status and g_file_info_get_attribute_as_string.
2157 * glocalfileinfo.[ch]:
2161 Make _guess_type static.
2163 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2166 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2167 made mkenums and friends use temporary files to avoid leaving
2168 empty generated files on failure (#503470).
2170 2007-12-14 Alexander Larsson <alexl@redhat.com>
2172 * gmountoperation.h:
2175 2007-12-14 Alexander Larsson <alexl@redhat.com>
2179 * gfileattribute.[ch]:
2182 * glocalfileoutputstream.c:
2183 * gmountoperation.[ch]:
2184 * goutputstream.[ch]:
2185 Clean up all flags enums to not have _FLAGS in them
2186 Make the names of some of the enums better.
2191 2007-12-14 Michael Natterer <mitch@imendio.com>
2193 * gio.symbols: fix g_io_scheduler symbol names.
2195 2007-12-14 Alexander Larsson <alexl@redhat.com>
2201 * gbufferedinputstream.h:
2202 * gbufferedoutputstream.h:
2205 * gdatainputstream.h:
2206 * gdataoutputstream.h:
2207 * gdesktopappinfo.h:
2208 * gdirectorymonitor.h:
2212 * gfileenumerator.h:
2215 * gfileinputstream.h:
2217 * gfilenamecompleter.h:
2218 * gfileoutputstream.h:
2219 * gfilterinputstream.h:
2220 * gfilteroutputstream.h:
2228 * gmemoryinputstream.h:
2229 * gmemoryoutputstream.h:
2231 * gmountoperation.h:
2234 * gsimpleasyncresult.h:
2236 * gunixinputstream.h:
2238 * gunixoutputstream.h:
2242 * inotify/Makefile.am:
2243 Only allow including <gio/gio.h> from apps
2245 2007-12-14 Alexander Larsson <alexl@redhat.com>
2247 * gioscheduler.[ch]:
2248 * gsimpleasyncresult.c:
2249 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2250 Split out the send_to_mainloop call into two versions instead
2251 of having the block argument.
2253 2007-12-13 Alexander Larsson <alexl@redhat.com>
2255 * gcancellable.[ch]:
2257 * gbufferedinputstream.c:
2258 * gfileenumerator.c:
2259 * gfileinputstream.c:
2260 * gfileoutputstream.c:
2264 g_push/pop_current_cancellable ->
2265 g_cancellable_push/pop_current
2267 2007-12-13 Alexander Larsson <alexl@redhat.com>
2271 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2273 2007-12-13 Alexander Larsson <alexl@redhat.com>
2275 * gmountoperation.h:
2276 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2278 2007-12-12 Alexander Larsson <alexl@redhat.com>
2281 Fix race condition when freeing proxy in
2282 g_io_job_send_to_mainloop().
2284 2007-12-12 Alexander Larsson <alexl@redhat.com>
2290 Make attribute namespace separator "::" instead of ":".
2291 Use - instead of _ as separator in attribute names.
2293 2007-12-12 Alexander Larsson <alexl@redhat.com>
2295 * gbufferedinputstream.h:
2296 * gbufferedoutputstream.h:
2297 * gdatainputstream.h:
2298 * gdataoutputstream.h:
2299 * gdirectorymonitor.h:
2300 * gfileenumerator.h:
2301 * gfileinputstream.h:
2303 * gfileoutputstream.h:
2304 * gfilterinputstream.h:
2305 * gfilteroutputstream.h:
2307 * glocalfileinputstream.h:
2308 * glocalfileoutputstream.h:
2309 * gmemoryinputstream.h:
2310 * gmemoryoutputstream.h:
2311 * gnativevolumemonitor.h:
2313 * gunixinputstream.h:
2314 * gunixoutputstream.h:
2317 s/parent/parent_instance/ in GObjects
2319 2007-12-12 Alexander Larsson <alexl@redhat.com>
2324 No need for padding for interfaces
2326 2007-12-12 Alexander Larsson <alexl@redhat.com>
2330 * gbufferedinputstream.c:
2331 * gbufferedoutputstream.c:
2334 * gdatainputstream.[ch]:
2335 * gdesktopappinfo.c:
2336 * gdirectorymonitor.c:
2338 * gfileattribute.[ch]:
2341 * gfileinputstream.h:
2342 * gfilemonitor.[ch]:
2343 * gfileoutputstream.[ch]:
2344 * gfilterinputstream.h:
2345 * gfilteroutputstream.h:
2348 * gloadableicon.[ch]:
2349 * gmemoryinputstream.c:
2350 * gmountoperation.c:
2352 Fix up a bunch of details in the docs.
2357 2007-12-11 David Zeuthen <davidz@redhat.com>
2359 Rework how volumes, drives and volume monitoring is
2360 done. Previosly the model was
2362 GDrive <1-1> GVolume
2364 where a GDrive instance represented a mount point and a GVolume
2365 instance represented a mounted file system. This patch changes it
2368 GDrive <1-N> GVolume <1-1> GMount
2370 where GMount now serves the purpose of the old GVolume and the new
2371 GVolume serves the purpose of the old GDrive. In addition the new
2372 GDrive interface is used to represent a collection of GVolume
2373 instances (typically partitions) and also contains utility to query
2374 the state of the physical drive the GDrive object represents (such
2375 as checking for media, polling the drive, ejecting the media etc.).
2377 Also implement mounting and unmounting in the Unix volume monitor
2378 backend. A subquent patch will introduce GDrive support for ejection
2382 * gdrive.c: (g_drive_is_media_check_automatic),
2383 (g_drive_is_media_removable), (g_drive_has_media),
2384 (g_drive_can_poll_for_media), (g_drive_eject),
2385 (g_drive_eject_finish), (g_drive_poll_for_media),
2386 (g_drive_poll_for_media_finish):
2388 * gfile.c: (g_file_find_enclosing_mount):
2391 * glocaldirectorymonitor.c:
2392 (g_local_directory_monitor_constructor), (mounts_changed):
2393 * glocalfile.c: (get_mount_info),
2394 (g_local_file_find_enclosing_mount),
2395 (g_local_file_file_iface_init):
2396 * gnativevolumemonitor.h:
2397 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2398 (get_connected_drives), (g_union_volume_monitor_class_init),
2399 (child_volume_added), (child_volume_removed),
2400 (child_volume_changed), (child_mount_added), (child_mount_removed),
2401 (child_mount_pre_unmount), (child_mount_changed),
2402 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2403 (g_union_volume_monitor_remove_monitor),
2404 (_g_mount_get_for_mount_path):
2405 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2406 (guess_system_internal), (_g_get_unix_mounts),
2407 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2408 (g_unix_mount_free), (g_unix_mount_compare),
2409 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2410 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2411 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2412 (type_to_icon), (g_unix_mount_guess_name),
2413 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2414 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2415 (_resolve_symlink), (_resolve_dev_root):
2417 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2418 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2419 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2420 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2421 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2422 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2423 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2424 (g_unix_volume_volume_iface_init):
2426 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2427 (get_mounts), (get_volumes), (get_connected_drives),
2428 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2429 (mountpoints_changed), (mounts_changed),
2430 (g_unix_volume_monitor_init),
2431 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2432 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2433 * gunixvolumemonitor.h:
2434 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2435 (g_volume_mount), (g_volume_mount_finish):
2437 * gvolumemonitor.c: (g_volume_monitor_class_init),
2438 (g_volume_monitor_get_connected_drives),
2439 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2442 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2444 * gmountoperation.h (GPasswordFlags): Close the gap
2446 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2448 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2450 * gdesktopappinfo.[hc]: Remove _-prefixes
2452 2007-12-10 Tor Lillqvist <tml@novell.com>
2454 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2457 2007-12-10 Alexander Larsson <alexl@redhat.com>
2459 * gfile.c (g_file_set_display_name):
2460 Don't hardcode '/' (#502727)
2462 2007-12-09 Hans Breuer <hans@breuer.org>
2464 * makefile.msc : follow lib naming convention
2465 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2466 for user and group name, tested with ../tests/gio-ls
2468 2007-12-09 A. Walton <awalton@svn.gnome.org>
2470 * gdesktopappinfo.c:
2476 * gfileenumerator.c:
2481 * gmemoryinputstream.c:
2482 * gmemoryoutputstream.c:
2484 * gsimpleasyncresult.c:
2485 More documentation cleanup and filling in missing information, bringing
2486 GIO to 99% symbol coverage.
2488 2007-12-08 Hans Breuer <hans@breuer.org>
2490 [gio compiles and links on win32, not sure how much already works]
2491 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2492 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2493 base on win32 API; prefer g_lstat() over lstat(); instead of
2494 localtime_r() use an all GLib implementation on win32;
2495 get_mount_info() still needs a win32 specifc implementation
2496 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2497 win32_get_file_user_info to get owner/group info without uid/gid
2498 * glocalfileinputstream.c : include <io.h> on win32
2499 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2500 definition, use g_win32_ftruncate() for G_OS_WIN32
2501 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2502 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2503 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2504 * makefile.msc : updated
2506 2007-12-07 Alexander Larsson <alexl@redhat.com>
2508 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2509 Avoid warning spew if error == NULL
2511 2007-12-07 Alexander Larsson <alexl@redhat.com>
2514 Update docs wrt etags
2516 2007-12-06 Alexander Larsson <alexl@redhat.com>
2519 Include sys/types.h for dev_t (#501919)
2521 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2525 Make abicheck and pltcheck pass.
2527 2007-12-05 Alexander Larsson <alexl@redhat.com>
2530 * giomodule-priv.h: Added.
2531 * glocaldirectorymonitor.c:
2532 * glocalfilemonitor.c:
2533 * gunionvolumemonitor.c:
2535 Actually add the declaration of _g_io_modules_ensure_loaded
2537 2007-12-05 Alexander Larsson <alexl@redhat.com>
2539 * gdatainputstream.c:
2544 * glocaldirectorymonitor.c:
2545 * glocalfilemonitor.c:
2546 * gunionvolumemonitor.c:
2548 Make g_io_modules_ensure_loaded a private function and
2549 don't pass in the dirname. This means we can do magic
2550 directory finding in the win32 version.
2551 Export the actual load-modules-in-directory code so that
2552 gvfs can reuse that.
2554 2007-12-05 Alexander Larsson <alexl@redhat.com>
2556 * gbufferedinputstream.c:
2557 * gbufferedoutputstream.c:
2560 * gfileenumerator.[ch]:
2561 * gfileinputstream.c:
2562 * gfileoutputstream.[ch]:
2563 * gfilterinputstream.c:
2564 * gfilteroutputstream.c:
2565 * ginputstream.[ch]:
2567 * glocalfileenumerator.c:
2568 * glocalfileinputstream.c:
2569 * glocalfileoutputstream.c:
2570 * gmemoryinputstream.c:
2571 * gmemoryoutputstream.c:
2572 * goutputstream.[ch]:
2575 * gunixinputstream.c:
2576 * gunixoutputstream.c:
2577 Rename all struct members named:
2578 read, write, close, truncate, or mount
2579 to foo_fn, as these are reserved names
2580 and could be defined as macros in libc.
2583 2007-12-04 Alexander Larsson <alexl@redhat.com>
2586 (g_output_stream_close):
2587 Only call flush if non-null.
2589 2007-11-30 Dan Winship <danw@gnome.org>
2591 * ginputstream.c (g_input_stream_set_pending): Make this take a
2592 GError and return a gboolean, and do the "outstanding operation"
2593 check (and the "stream is already closed" check) itself.
2594 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2596 * goutputstream.c (g_output_stream_set_pending)
2597 (g_output_stream_clear_pending): Likewise
2599 * gbufferedinputstream.c:
2600 * gfileinputstream.c:
2601 * gfileoutputstream.c: Update for that
2603 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2604 Like g_simple_async_report_error_in_idle, but takes a GError
2605 rather than building one.
2607 2007-11-30 Dan Winship <danw@gnome.org>
2609 * goutputstream.c: Don't cheat and unset the "pending" flag around
2610 inner calls. Instead, call the class method directly rather than
2611 the wrapper function that checks "pending"
2613 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2615 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2617 2007-12-03 Hans Breuer <hans@breuer.org>
2619 [start of port to win32/msvc]
2620 * gcancellable.c : HAVE_UNIST_H and _pipe()
2621 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2622 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2623 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2625 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2626 * glocalvfs.c : use HAVE_PWD_H
2627 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2628 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2629 * Makefile.am : added to EXTRA_DIST
2631 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2633 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2636 2007-12-03 Alexander Larsson <alexl@redhat.com>
2639 Handle OSX style xattrs API (#500506)
2641 2007-12-03 Alexander Larsson <alexl@redhat.com>
2645 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2647 2007-12-02 A. Walton <awalton@svn.gnome.org>
2651 Documentation accuracy fixes.
2653 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2655 * gioenumtypes.c.template: Fix typo.
2657 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2659 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2661 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2663 * gdirectorymonitor.c:
2664 * gfilemonitor.c: Add properties
2666 * gbufferedoutputstream.c: Don't mark buffer-size property
2669 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2671 * gbufferedoutputstream.c: Add auto-grow property.
2673 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2675 * *.c: Unify the capitalization of section headings.
2677 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2679 * gmountoperation.c: Add properties
2681 * gdatainputstream.c: Turn byte-order and newline-type into
2684 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2686 * gioenumtypes.[hc].template: Templates for enum registration
2688 * Makefile.am: Generate gioenumtypes.[hc]
2690 * gio.h: Include gioenumtypes.h
2692 * gfile.h: Add some explicit nicks.
2694 * gio.symbols: Add new symbols
2696 * pltcheck.sh: Adjust
2698 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2700 * *.c: Explain etags and link to the explanation
2702 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2704 * *.c: Explain I/O priority.
2706 * *.c: More coding style fixes.
2708 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2710 * gasyncresult.c: Add another paragraph to the intro,
2711 adjust coding style of example.
2713 2007-11-29 A. Walton <awalton@svn.gnome.org>
2716 Fixes unknown meaning in GAppLaunchContext docs.
2718 Clarify asynchronous ops.
2720 Fix entity tag docs.
2723 Provides missing gtk-doc section, fixes API docs slighly.
2724 * gsimpleasyncresult.c:
2725 Fill in missing info in docs.
2726 * gunixinputstream.c:
2727 * gunixoutputstream.c:
2728 Be more expressive in short description.
2730 Remove gtk-doc stubs for non-public API.
2732 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2734 * *.c: Coding style fixups
2736 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2738 * inotify/inotify-helper.c: Don't export the lock from libgio.
2740 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2743 * abicheck.sh: Fix copy-and-paste leftovers
2745 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2747 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2749 2007-11-28 Alexander Larsson <alexl@redhat.com>
2753 Removed unnecessary file
2755 * gdesktopappinfo.[ch]:
2758 * glocaldirectorymonitor.[ch]:
2760 * glocalfileenumerator.[ch]:
2761 * glocalfileinputstream.[ch]:
2762 * glocalfilemonitor.[ch]:
2763 * glocalfileoutputstream.[ch]:
2765 * gnativevolumemonitor.c:
2766 * gpollfilemonitor.[ch]:
2767 * gunionvolumemonitor.[ch]:
2770 * gunixvolumemonitor.[ch]:
2773 * inotify/ginotifydirectorymonitor.[ch]:
2774 * inotify/ginotifyfilemonitor.[ch]:
2775 * inotify/inotify-helper.c:
2776 Append _ to all internal functions
2780 Export symbols needed for modules
2782 2007-11-28 Alexander Larsson <alexl@redhat.com>
2785 * abicheck.sh: Added.
2786 * makegioalias.pl: Added.
2787 * pltcheck.sh: Added.
2788 * gio.symbols: Added.
2791 Initial work on adding symbol handling.
2794 Correct ifdef guard name
2797 * inotify/Makefile.am:
2798 * xdgmime/Makefile.am:
2799 Include toplevel Makefile.decl
2801 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2803 * gcontenttype.c: Move doc comments to the unix section.
2805 * *.[hc]: More trivial doc corrections.
2807 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2809 * gpollfilemonitor.c:
2813 * gdesktopappinfo.c:
2818 * gdatainputstream.c:
2819 * gdatainputstream.h:
2820 * gdataoutputstream.c:
2821 * gdataoutputstream.h:
2822 * gfileinfo.h: Doc cleanups
2824 2007-11-28 Andre Klapper <a9016009@gmx.de>
2826 * gdesktopappinfo.c: Fix a typo.
2828 2007-11-27 Andre Klapper <a9016009@gmx.de>
2830 * glocalfileoutputstream.c: Fix a typo.
2832 2007-11-27 Alexander Larsson <alexl@redhat.com>
2835 Don't include removed headers
2837 2007-11-27 Alexander Larsson <alexl@redhat.com>
2840 * gsocketinputstream.[ch]: Removed.
2841 * gsocketoutputstream.[ch]: Removed.
2842 * gunixinputstream.[ch]: Added.
2843 * gunixoutputstream.[ch]: Added.
2844 Renamed GSocket*Stream to GUnix*Stream and made
2845 it unix-only, since its not really only for sockets
2846 and it only works on unix (but is highly useful there).
2848 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2854 * gbufferedinputstream.c:
2855 * gbufferedinputstream.h:
2856 * gbufferedoutputstream.c:
2857 * gbufferedoutputstream.h:
2861 * gdatainputstream.c:
2862 * gdatainputstream.h:
2863 * gdataoutputstream.c:
2864 * gdataoutputstream.h:
2865 * gdirectorymonitor.c:
2866 * gdirectorymonitor.h:
2873 * gfileenumerator.c:
2874 * gfileenumerator.h:
2879 * gfileinputstream.c:
2880 * gfileinputstream.h:
2883 * gfilenamecompleter.c:
2884 * gfilenamecompleter.h:
2885 * gfileoutputstream.c:
2886 * gfileoutputstream.h:
2887 * gfilterinputstream.c:
2888 * gfilterinputstream.h:
2889 * gfilteroutputstream.c:
2890 * gfilteroutputstream.h:
2903 * glocalfileoutputstream.c:
2904 * gmemoryinputstream.c:
2905 * gmemoryinputstream.h:
2906 * gmemoryoutputstream.c:
2907 * gmemoryoutputstream.h:
2908 * gmountoperation.c:
2909 * gmountoperation.h:
2912 * gpollfilemonitor.c:
2915 * gsimpleasyncresult.c:
2916 * gsimpleasyncresult.h:
2917 * gsocketinputstream.c:
2918 * gsocketinputstream.h:
2919 * gsocketoutputstream.c:
2920 * gsocketoutputstream.h:
2927 * gunixvolumemonitor.c:
2936 Bumps documentation to 93% symbol coverage, touching most
2937 of the public files. Fixes broken function documentation prototypes.
2938 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2939 gtk-doc headers in private files.
2941 2007-11-27 Jürg Billeter <j@bitron.ch>
2943 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2944 (g_buffered_input_stream_read_byte):
2945 * gbufferedinputstream.h:
2946 New functions for efficient access to buffer and simple single byte
2949 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2950 (g_data_input_stream_read_until):
2951 * gdatainputstream.h:
2952 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2953 read_until with multiple stop chars.
2955 2007-11-27 Alexander Larsson <alexl@redhat.com>
2959 * inotify/Makefile.am:
2960 Use the user-specified giomoduledir
2962 2007-11-27 Alexander Larsson <alexl@redhat.com>
2966 Add catch-all gio.h header
2967 Don't install gdummyfile.h
2969 2007-11-26 Alexander Larsson <alexl@redhat.com>
2971 * Makefile.am (gioinclude_HEADERS):
2972 Remove trailing whitespace
2974 2007-11-26 Alexander Larsson <alexl@redhat.com>
2976 Merge gio-standalone into glib
2978 2007-11-25 Christian Kellner <gicmo@gnome.org>
2980 * gio/goutputstream.c:
2981 Fix small mistake in the docs.
2983 2007-11-21 Christian Persch <chpe@gnome.org>
2985 * gio/glocalfile.c: (g_local_file_trash):
2986 Convert filenames to UTF-8 for GError.
2987 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2988 as per xdg base dir spec.
2990 2007-11-21 Christian Persch <chpe@gnome.org>
2992 * gio/gdesktopappinfo.c:
2993 Use that g_key_file_to_data cannot fail.
2995 Use stock defines for the key file group and key names.
2998 2007-11-21 Alexander Larsson <alexl@redhat.com>
3001 (copy_stream_with_progress):
3002 Make sure we do a final progress callback with
3003 the full total size.
3005 2007-11-21 Alexander Larsson <alexl@redhat.com>
3008 Export g_file_copy_attributes
3009 Remove padding as its not needed for interfaces
3011 2007-11-20 Alexander Larsson <alexl@redhat.com>
3016 Add G_IO_ERROR_WOULD_MERGE for
3017 copy/move dir on dir with overwrite.
3019 2007-11-20 Alexander Larsson <alexl@redhat.com>
3022 * gio/glocalfileinfo.c:
3023 Add COPY_NAME (this is an optional
3024 non-modified utf8 version of the name) that
3027 2007-11-20 Alexander Larsson <alexl@redhat.com>
3029 * gio/glocalfileenumerator.c:
3030 Report errors as GIOError, not GFileError
3032 2007-11-16 Alexander Larsson <alexl@redhat.com>
3034 * gio/glocalfileoutputstream.c:
3035 * gio/gwin32appinfo.c:
3036 Fix typos in strings.
3037 Patch from Luca Ferretti <elle.uca@libero.it>
3039 2007-11-15 Alexander Larsson <alexl@redhat.com>
3042 Post release version bump
3044 === gio-standalone 0.1.2 ===
3046 2007-11-15 Alexander Larsson <alexl@redhat.com>
3048 * docs/reference/gio/Makefile.am:
3049 Fix up distcheck by removing weird
3055 2007-11-14 Alexander Larsson <alexl@redhat.com>
3057 * gio/gdesktopappinfo.c:
3058 * gio/glocaldirectorymonitor.c:
3060 * gio/glocalfileinfo.c:
3061 * gio/inotify/inotify-sub.c:
3062 * programs/gio-cat.c:
3063 * programs/gio-copy.c:
3064 * programs/gio-info.c:
3065 * programs/gio-ls.c:
3066 * programs/gio-monitor-dir.c:
3067 * programs/gio-monitor-file.c:
3068 * programs/gio-mount.c:
3069 * programs/gio-move.c:
3070 * programs/gio-rm.c:
3071 * programs/gio-save.c:
3072 * programs/gio-trash.c:
3073 Leak fixes from Kjartan Maraas
3075 2007-11-14 Alexander Larsson <alexl@redhat.com>
3077 * gio/fam/fam-helper.c:
3079 * gio/glocalfileinfo.c:
3083 * gio/inotify/inotify-diag.c:
3084 * gio/inotify/inotify-kernel.c:
3085 Various code cleanups from Kjartan Maraas
3087 2007-11-14 Alexander Larsson <alexl@redhat.com>
3089 * gio/gioscheduler.c:
3091 Set up threadpool so that we cache 2 unused
3092 idle threads for at 15 secs. This means we
3093 will reuse thread-local data (like dbus connections)
3096 2007-11-14 Alexander Larsson <alexl@redhat.com>
3098 * gio/fam/fam-helper.c:
3099 * gio/fam/gfamdirectorymonitor.c:
3100 * gio/fam/gfamfilemonitor.c:
3102 * gio/gcontenttype.c:
3103 * gio/gdatainputstream.c:
3104 * gio/gdataoutputstream.c:
3108 * gio/gfileattribute.h:
3109 * gio/gfileenumerator.c:
3111 * gio/ginputstream.c:
3114 * gio/glocalfileinfo.c:
3115 * gio/goutputstream.c:
3116 * gio/gpollfilemonitor.c:
3117 * gio/gsimpleasyncresult.c:
3118 * gio/gunixmounts.c:
3119 * gio/gunixmounts.h:
3120 * gio/inotify/ginotifydirectorymonitor.c:
3121 * gio/inotify/ginotifyfilemonitor.c:
3122 * gio/inotify/inotify-diag.c:
3123 * gio/inotify/inotify-kernel.c:
3124 * gio/inotify/inotify-path.c:
3126 * gio/test-streams.c:
3127 * programs/gio-info.c:
3128 * programs/gio-monitor-dir.c:
3129 * programs/gio-monitor-file.c:
3130 Various code cleanups from Kjartan Maraas
3132 2007-11-13 Alexander Larsson <alexl@redhat.com>
3135 Handle the uri-scheme calls for dummy files
3137 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3139 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3140 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3141 to avoid clash with the C++ keyword.
3143 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3145 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3146 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3148 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3150 * gio/glocaldirectorymonitor.c:
3151 * gio/glocalfilemonitor.c:
3152 * gio/gunionvolumemonitor.c:
3153 Don't use g_once_init_*() for initializations that could fail and
3154 could leave the initialization variable set to 0 but use GOnce.
3155 This prevents a deadlock on the second call when trying to create
3156 a monitor and no monitor type is available. Thanks to Sven Herzberg
3159 2007-11-11 Sven Herzberg <sven@imendio.com>
3161 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3162 #ifdef (make it work on MacOS X again)
3164 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3166 Fixes Changelog for last two commits (sorry guys).
3168 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3170 * gio/gbufferedinputstream.c:
3171 * gio/gdatainputstream.c:
3173 * gio/gfileoutputstream.c:
3174 * gio/gfilterinputstream.c:
3175 * gio/glocalfileinputstream.c:
3178 More consistency fixes in g*stream.c files.
3179 Significant clean of gfile's documentation, filling in of
3180 asynchronous operations documentation.
3182 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3184 * gio/gasyncresult.c:
3185 * gio/gbufferedinputstream.c:
3186 * gio/gbufferedoutputstream.c:
3187 * gio/gcancellable.c:
3188 * gio/gcontenttype.c:
3189 * gio/gdatainputstream.c:
3190 * gio/gdataoutputstream.c:
3191 * gio/gdesktopappinfo.c:
3194 * gio/gfileattribute.c:
3195 * gio/gio/gfileenumerator.c:
3197 * gio/gfileinputstream.c:
3198 * gio/gfilemonitor.c:
3199 * gio/gfileoutputstream.c:
3200 * gio/ginputstream.c:
3202 * gio/gioscheduler.c:
3203 * gio/gloadableicon.c:
3204 * gio/glocalfileoutputstream.c:
3205 * gio/gmemoryoutputstream.c:
3206 * gio/gmountoperation.c:
3207 * gio/goutputstream.c:
3209 * gio/gsimpleasyncresult.c:
3210 * gio/gunionvolumemonitor.c:
3211 * gio/gunixmounts.c:
3212 * gio/gunixvolume.c:
3216 * gio/gvolumemonitor.c:
3217 Updated documentation stubs, working towards consistency and
3220 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3222 * gio/gmemoryoutputstream.c:
3223 * gio/gmemoryoutputstream.h:
3224 Change g_memory_output_stream_set_free_on_close() to
3225 g_memory_output_stream_set_free_data() as this makes more sense and
3226 is more consistent with GMemoryInputStream.
3228 2007-11-07 Alexander Larsson <alexl@redhat.com>
3235 Change how we find the default vfs so that
3236 we can handle a gvfs failing to init
3238 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3240 * gio/gbufferedoutputstream.c:
3241 * gio/gdatainputstream.c:
3242 * gio/gdataoutputstream.c:
3243 * gio/gfileinputstream.c:
3244 * gio/gfileoutputstream.c:
3245 * gio/gfilterinputstream.c:
3246 * gio/gfilteroutputstream.c:
3247 * gio/ginputstream.c:
3248 * gio/gmemoryinputstream.c:
3249 * gio/gmemoryoutputstream.c:
3250 * gio/goutputstream.c:
3251 * gio/gsimpleasyncresult.c:
3252 * gio/gsocketinputstream.c:
3253 * gio/gsocketoutputstream.c:
3254 Add guards to the remaining public functions, add a TODO for
3255 an unimplemented function and remove some useless guards.
3257 2007-11-07 Alexander Larsson <alexl@redhat.com>
3260 Autoconf checks for the various types of
3261 getpwuid_r and getgrgid_r
3263 * gio/glocalfileinfo.c:
3264 Use the autoconf checks from above
3266 2007-11-07 Alexander Larsson <alexl@redhat.com>
3269 (g_local_file_query_filesystem_info):
3270 Some fixes for the statvfs case
3272 2007-11-07 Alexander Larsson <alexl@redhat.com>
3275 (g_local_file_query_filesystem_info):
3276 Pick the "best" of statfs / statvfs for the system
3277 if both are availible.
3279 2007-11-07 Alexander Larsson <alexl@redhat.com>
3281 Solaris fixes from Halton.Huo@Sun.COM:
3288 * gio/glocalfileinfo.c:
3289 Fix for solaris definition of getpwuid_r
3291 * gio/test-streams.c:
3292 Use G_GNUC_PRETTY_FUNCTION
3294 2007-11-07 Alexander Larsson <alexl@redhat.com>
3296 * gio/gdesktopappinfo.c:
3297 (update_default_list):
3298 Remove double semicolon.
3299 Patch from Jens Granseuer
3301 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3303 * docs/reference/gio/gio-sections.txt:
3304 * gio/gbufferedinputstream.c:
3305 * gio/gbufferedinputstream.h:
3306 * gio/gdatainputstream.c:
3307 * gio/gfileenumerator.c:
3308 * gio/gioscheduler.c:
3309 * gio/gunionvolumemonitor.c:
3311 * programs/gio-save.c:
3312 Fix typo: availible -> available. Unfortuntely this breaks API
3313 and ABI as g_buffered_input_stream_get_available() was renamed.
3315 * gio/gunixmounts.c:
3316 * gio/gbufferedinputstream.c:
3317 Add guards for public functions.
3319 2007-11-06 Ross Burton <ross@openedhand.com>
3321 * docs/reference/gio/Makefile.am:
3322 Fix invalid += usage which automake 1.10 doesn't like.
3324 2007-11-06 Alexander Larsson <alexl@redhat.com>
3327 (g_app_launch_context_class_init):
3330 Patch from Ross Burton
3332 2007-11-06 Alexander Larsson <alexl@redhat.com>
3335 Post release version bump
3337 === gio-standalone 0.1.1 ===
3339 2007-11-06 Alexander Larsson <alexl@redhat.com>
3342 Bump version to 0.1.1
3344 * gio/gsimpleasyncresult.c:
3345 (g_simple_async_result_set_from_error):
3346 Remove bogus g_return_if_fail
3348 2007-11-06 Alexander Larsson <alexl@redhat.com>
3351 The name is gio-standalone
3354 Add top src/builddir to includedir
3356 2007-11-06 Alexander Larsson <alexl@redhat.com>
3358 * docs/reference/gio/gio-sections.txt:
3360 * gio/gbufferedinputstream.c:
3361 * gio/gbufferedoutputstream.c:
3362 * gio/gcancellable.c:
3363 * gio/gdatainputstream.h:
3364 * gio/gdataoutputstream.c:
3365 * gio/gdataoutputstream.h:
3366 * gio/gdirectorymonitor.c:
3368 * gio/gfileattribute.c:
3369 * gio/gfileattribute.h:
3370 * gio/gfileenumerator.c:
3371 * gio/gfileenumerator.h:
3374 * gio/gfileinputstream.h:
3375 * gio/gfilemonitor.c:
3376 * gio/gfileoutputstream.h:
3377 * gio/glocalfilemonitor.h:
3378 * gio/glocalfileoutputstream.h:
3379 * gio/gmemoryinputstream.c:
3380 * gio/gmemoryoutputstream.c:
3381 * gio/gmountoperation.c:
3382 * gio/goutputstream.c:
3383 * gio/goutputstream.h:
3385 * gio/gsimpleasyncresult.c:
3386 * gio/gunixmounts.c:
3387 * gio/gunixmounts.h:
3389 * gio/inotify/inotify-helper.c:
3390 Fix gtk-doc warnings
3392 Patch from Ross Burton
3394 2007-11-06 Alexander Larsson <alexl@redhat.com>
3396 * gio/gfilenamecompleter.c:
3397 (g_filename_completer_get_completions):
3400 * gio/gunixvolume.c:
3401 Remove unused function
3403 Patches from Ross Burton
3405 2007-11-06 Alexander Larsson <alexl@redhat.com>
3410 Padding not needed for interfaces
3412 2007-11-06 Alexander Larsson <alexl@redhat.com>
3414 * gio/gfilemonitor.c:
3418 Make giotypes.h an internal file
3421 * gio/gbufferedinputstream.h:
3422 * gio/gbufferedoutputstream.h:
3423 * gio/gcancellable.h:
3424 * gio/gdatainputstream.h:
3425 * gio/gdataoutputstream.h:
3426 * gio/gdirectorymonitor.c:
3427 * gio/gdirectorymonitor.h:
3432 * gio/gfileattribute.h:
3433 * gio/gfileenumerator.h:
3438 * gio/gfilemonitor.c:
3439 * gio/gfilemonitor.h:
3440 * gio/gfilenamecompleter.c:
3441 * gio/gfilenamecompleter.h:
3442 * gio/gfilterinputstream.h:
3443 * gio/gfilteroutputstream.h:
3444 * gio/ginputstream.h:
3445 * gio/gmemoryinputstream.h:
3446 * gio/gmemoryoutputstream.h:
3447 * gio/gmountoperation.c:
3448 * gio/gmountoperation.h:
3449 * gio/gnativevolumemonitor.c:
3450 * gio/goutputstream.h:
3453 * gio/gsimpleasyncresult.c:
3454 * gio/gsimpleasyncresult.h:
3455 * gio/gsocketinputstream.h:
3456 * gio/gsocketoutputstream.h:
3457 * gio/gthemedicon.c:
3458 * gio/gthemedicon.h:
3462 * gio/gvolumemonitor.c:
3463 * gio/gvolumemonitor.h:
3464 Add padding in classes where it seems useful
3465 Don't include giotypes.h from public headers
3466 Move in Class definitions into c file where possible
3471 2007-11-06 Alexander Larsson <alexl@redhat.com>
3473 * docs/reference/gio/gio-docs.xml:
3474 Better structure for API docs
3476 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3479 * gio/gloadableicon.c:
3480 * gio/gsimpleasyncresult.c:
3481 * gio/gthemedicon.c:
3482 Add some more guards to public functions. Only files missing are now
3485 2007-11-06 Alexander Larsson <alexl@redhat.com>
3487 * docs/reference/gio/gio-docs.xml:
3488 Remove old files, add missing ones
3490 2007-11-06 Alexander Larsson <alexl@redhat.com>
3492 * docs/reference/gio/gio-sections.txt:
3495 Hide implementation classes
3497 * gio/gdriveprivate.h:
3498 * gio/gvolumeprivate.h:
3499 Remove non-existing function declarations
3501 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3504 Fix compilation warnings and add guards to the new functions.
3506 * gio/gasyncresult.c:
3508 Add guards to the public functions.
3511 Implement get_path().
3513 2007-11-06 Alexander Larsson <alexl@redhat.com>
3515 * gio/gfilenamecompleter.c:
3516 Make g_filename_completer_get_completions
3517 return char ** instead of GList for
3520 * docs/reference/gio/gio-docs.xml:
3521 * docs/reference/gio/gio-sections.txt:
3523 * gio/gasyncresult.c:
3524 * gio/gbufferedinputstream.c:
3525 * gio/gbufferedoutputstream.c:
3526 * gio/gcancellable.c:
3527 * gio/gcontenttype.c:
3528 * gio/gdatainputstream.c:
3529 * gio/gdataoutputstream.c:
3530 * gio/gdesktopappinfo.c:
3531 * gio/gdirectorymonitor.c:
3535 * gio/gfileattribute.c:
3536 * gio/gfileenumerator.c:
3539 * gio/gfileinputstream.c:
3540 * gio/gfilemonitor.c:
3541 * gio/gfilenamecompleter.c:
3542 * gio/gfilenamecompleter.h:
3543 * gio/gfileoutputstream.c:
3544 * gio/gfilterinputstream.c:
3546 * gio/ginputstream.c:
3548 * gio/gioscheduler.c:
3549 * gio/gloadableicon.c:
3550 * gio/glocaldirectorymonitor.c:
3552 * gio/glocalfileinputstream.c:
3553 * gio/glocalfilemonitor.c:
3554 * gio/glocalfileoutputstream.c:
3556 * gio/gmemoryinputstream.c:
3557 * gio/gmemoryoutputstream.c:
3558 * gio/gmountoperation.c:
3559 * gio/goutputstream.c:
3560 * gio/gpollfilemonitor.c:
3562 * gio/gsimpleasyncresult.c:
3563 * gio/gsocketinputstream.c:
3564 * gio/gsocketoutputstream.c:
3565 * gio/gthemedicon.c:
3566 * gio/gunionvolumemonitor.c:
3568 * gio/gunixmounts.c:
3569 * gio/gunixvolume.c:
3570 * gio/gunixvolumemonitor.c:
3574 * gio/gvolumemonitor.c:
3575 * gio/gwin32appinfo.c:
3576 Add (mostly stub) doc strings to public functions.
3577 Patch from Andrew Walton (awalton@gmail.com)
3579 2007-11-06 Alexander Larsson <alexl@redhat.com>
3581 * gio/gappinfo.[ch]:
3582 Added GAppLaunchContext object and pass that to launch.
3583 This allows simple implementation of both
3584 launch-on-screen and startup notification via a gtk+
3585 subclass of GAppLaunchContext
3587 * gio/gdesktopappinfo.c:
3588 Implement GAppLaunchContext API
3590 * gio/gwin32appinfo.c:
3593 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3595 * gio/gmountoperation.c:
3596 Add some guards to GMountOperation's public functions.
3598 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3602 * gio/gcancellable.c:
3603 * gio/gdirectorymonitor.c:
3605 * gio/gfileenumerator.c:
3606 * gio/gfilemonitor.c:,
3607 * gio/gfilenamecompleter.c:
3610 * gio/gioscheduler.c:
3614 * gio/gvolumemonitor.c:
3615 Add even more guards to various public functions.
3617 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3620 Add guards to the public functions of GAppInfo.
3622 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3624 * gio/gcontenttype.c:
3625 Add some more guards for public functions.
3627 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3629 * gio/fam/fam-module.c:
3630 * gio/fam/gfamdirectorymonitor.c:
3631 * gio/fam/gfamdirectorymonitor.h:
3632 * gio/fam/gfamfilemonitor.c:
3633 * gio/fam/gfamfilemonitor.h:
3634 * gio/inotify/ginotifydirectorymonitor.c:
3635 * gio/inotify/ginotifydirectorymonitor.h:
3636 * gio/inotify/ginotifyfilemonitor.c:
3637 * gio/inotify/ginotifyfilemonitor.h:
3638 Add proper copyright information and remove an unused variable
3639 in the GInotifyFileMonitor constructor.
3641 * gio/gcancellable.c:
3642 Add a guard for a public function and an assertion to prevent
3643 an undefined program state.
3645 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3647 * gio/gfileattribute.c:
3648 Don't run into an assertion if the given attribute value is NULL
3649 in g_file_attribute_value_get_*() but instead return a fallback
3650 value that makes sense in most situations. Passing them a attribute
3651 value with the wrong type will still run into an assertion.
3653 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3655 * gio/gfileattribute.c:
3657 Add even more guards to the public functions. Also fix the refcounting
3658 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3659 let g_file_info_list_attributes() filter the attributes by namespace
3660 instead of simply ignoring the namespace parameter.
3662 2007-11-03 Sven Herzberg <sven@imendio.com>
3664 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3665 (This makes gio work on MacOS X again)
3667 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3670 Build the gio subdirectory before the docs. Otherwise the build will
3673 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3674 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3675 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3676 Add guards to the public functions.
3678 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3680 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3681 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3682 to prevent a compiler warning.
3684 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3685 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3686 return something in the non-void function find_topdir_for().
3688 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3695 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3697 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3698 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3699 * gwin32appinfo.c (g_win32_app_info_launch):
3700 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3701 envp_for_startup_id, g_desktop_app_info_launch,
3702 g_desktop_app_info_launch_uris):
3704 Give an opaque 'startup_id' string instead of 'envp'.
3705 Support empty file lists for launching new windows.
3706 Fix infinite recursion bug when launching URIs.
3708 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3711 Add guard to the new g_file_get_uri_scheme() function.
3713 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3716 Convert a g_return_val_if_fail() to setting the GError instead as
3717 otherwise applications have to verify the parameter before otherwise
3718 and the parameter might come directly from the user.
3720 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3722 * gio/inotify/ginotify*.[ch]:
3723 Add missing copyright information.
3725 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3728 Add guards in the beginning of public functions to check for valid
3729 parameters and fix a bug in copy_stream_with_progress() that could've
3730 caused writing less bytes than reading.
3731 * gio/glocalfileinfo.c:
3732 Check for a NULL parameter and set the GError accordingly then.
3733 * gio/goutputstream.c:
3734 Fix the same bug as in gfile.c that could've caused writing less bytes
3735 than reading in g_output_stream_real_splice().
3737 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3740 Use the correct gvolumeprivate.h naming
3742 2007-11-01 Christian Kellner <gicmo@gnome.org>
3745 Remove leftover "$(daemon_sources)" entry.
3747 2007-11-01 Christian Kellner <gicmo@gnome.org>
3752 Add copyright information to source files.
3754 2007-11-01 Alexander Larsson <alexl@redhat.com>
3758 Add g_file_get_uri_scheme
3760 2007-11-01 Alexander Larsson <alexl@redhat.com>
3763 * gio/gdesktopappinfo.c:
3764 * gio/gwin32appinfo.c:
3765 Add g_app_info_get_default_for_uri_scheme.
3767 2007-11-01 Alexander Larsson <alexl@redhat.com>
3770 Correct filename for gdriveprivate.h
3772 2007-10-31 Alexander Larsson <alexl@redhat.com>
3775 Rename id:value to id:file
3778 * gio/glocalfileinfo.c:
3781 2007-10-31 Alexander Larsson <alexl@redhat.com>
3783 * gio/gunixvolume.c:
3785 Remove g_volume_get_platform_id, as thats not
3786 needed with the simpler union volume monitor
3788 2007-10-31 Alexander Larsson <alexl@redhat.com>
3791 * gio/guniondrive.[ch]: Removed.
3792 * gio/gunionvolume.[ch]: Removed.
3793 Remove GUnionDrive/Volume
3795 * gio/gunionvolumemonitor.c:
3796 Simplify union volume monitor, now we
3797 only have one native volume monitor and
3798 we use the actual volumes/drives from the
3799 child monitors instead of wrapping them
3801 * gio/gnativevolumemonitor.[ch]:
3802 Base class for native volume monitors.
3803 Includes priority and get_volume_for_mountpoint
3806 Add g_file_find_enclosing_volume
3809 Remove volume name fs attribute
3810 Add readonly fs attribute
3813 Implement readonly attribute
3814 remove volume name attribute
3815 Implement find_enclosing volume
3817 * gio/gunixmounts.c:
3818 Add a volume for "/".
3820 * gio/gunixvolume.[ch]:
3821 Set better name for /
3823 * gio/gunixvolumemonitor.[ch]:
3824 Derive from GNativeVolumeMonitor
3825 Implement get_volume_for_mountpoint
3828 GVolume typedef moved to gfile.h
3830 * gio/gvolumeprivate.h:
3831 Add g_volume_get_for_mount_path
3833 2007-10-31 Alexander Larsson <alexl@redhat.com>
3835 * gio/gunixmounts.[ch]:
3836 Add cache info to unix mount listers
3837 Make getmntent use threadsafe
3838 Add is_system_internal attribute for GUnixMount
3840 * gio/gunixvolume.c:
3841 (g_unix_volume_new):
3842 Use is_system_internal instead of own code
3844 * gio/glocaldirectorymonitor.c:
3845 * gio/gunixvolumemonitor.c:
3846 Update to new gunixmounts API
3851 2007-10-30 Alexander Larsson <alexl@redhat.com>
3854 Add volume name fsinfo attribute
3857 Read volume name info
3859 * gio/gunionvolumemonitor.c:
3860 Fix infinite loops when finalizing a union volume monitor
3862 2007-10-30 Alexander Larsson <alexl@redhat.com>
3864 * gio/goutputstream.[ch]:
3865 Add splice() with default implementation
3867 * gio/gsocketoutputstream.c:
3868 (g_socket_output_stream_write):
3869 Return error on cancellation correctly.
3871 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3873 * gio/glocalfile.c (g_local_file_trash):
3874 Do not leak a string.
3876 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3878 * gio/gfile.c (g_file_load_contents):
3879 Unref the stream after closing it.
3881 2007-10-25 Alexander Larsson <alexl@redhat.com>
3883 * gio/gioscheduler.h:
3886 2007-10-25 Alexander Larsson <alexl@redhat.com>
3890 Add g_file_has_uri_scheme and implement for local files
3892 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3894 * gio/gdesktopappinfo.c: do not leak a string.
3896 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3898 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3899 (g_local_directory_monitor_new):
3900 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3901 (g_local_file_monitor_new):
3902 Only look for the monitor type that should be used the first time
3903 and use g_qsort_with_data() instead of our own bubble sort
3906 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3909 * gio/fam/Makefile.am:
3910 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3911 * gio/fam/fam-helper.h:
3912 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3913 * gio/fam/gfamdirectorymonitor.c:
3914 * gio/fam/gfamdirectorymonitor.h:
3915 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3916 * gio/fam/gfamfilemonitor.h:
3917 * gio/glocaldirectorymonitor.c:
3918 * gio/glocaldirectorymonitor.h:
3919 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3920 * gio/glocalfilemonitor.h:
3921 * gio/inotify/Makefile.am:
3922 * gio/inotify/ginotifydirectorymonitor.c:
3923 * gio/inotify/ginotifydirectorymonitor.h:
3924 * gio/inotify/ginotifyfilemonitor.c:
3925 * gio/inotify/ginotifyfilemonitor.h:
3926 Implement the FAM and Inotify monitors as
3927 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3928 their own GIO module. GLocal(Directory|File)Monitor will use the
3929 monitor with the highest rank that is supported on that machine.
3931 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3934 Change GIO module dir to $(libdir)/gio/modules and change
3935 the log domain from GVFS to GIO. Also only export symbols starting
3936 with g_ in the resulting library.
3937 * gio/test-streams.c: (main):
3938 Set log handler for the GIO log domain.
3940 2007-10-22 Alexander Larsson <alexl@redhat.com>
3942 * gio/gfilenamecompleter.[ch]:
3943 Add g_filename_completer_set_dirs_only
3945 2007-10-22 Alexander Larsson <alexl@redhat.com>
3948 * gio/gurifuncs.[ch]:
3949 Add some simple URI helpers
3951 * gio/gfilenamecompleter.[ch]:
3952 Added object for filename (parse name actually) completion
3955 Handle ~ in parse names
3957 2007-10-17 Alexander Larsson <alexl@redhat.com>
3960 * gio/glocalfileinfo.c:
3961 Add and implement id:value attribute
3963 2007-10-17 Alexander Larsson <alexl@redhat.com>
3966 * gio/guniondrive.c:
3968 Add and implement g_drive_has_volumes
3970 2007-10-17 Alexander Larsson <alexl@redhat.com>
3973 * gio/glocalfileinfo.[ch]:
3974 Add unix:is_mountpoint and implement for local files
3976 2007-10-16 Alexander Larsson <alexl@redhat.com>
3978 * gio/gunionvolumemonitor.c:
3979 (g_union_volume_monitor_init):
3980 Fix up the unix type getting so that it works with gcc
3982 2007-10-12 Alexander Larsson <alexl@redhat.com>
3985 * gio/glocalfileinfo.c:
3986 Add thumbnail:failed to file info
3988 2007-10-12 Richard Hult <richard@imendio.com>
3990 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3991 optimizing away the get_type call (happens with some gcc versions,
3992 like the one shipped with OS X 10.4).
3994 2007-10-12 Alexander Larsson <alexl@redhat.com>
3996 * gio/glocalfileinfo.c:
3997 (_g_local_file_info_set_attribute):
3998 Fix build if not HAVE_XATTR
3999 Patch from Milosz Derezynski <internalerror@gmail.com>
4001 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4003 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4004 around for review, otherwise I would have asked you before
4007 2007-10-11 Alexander Larsson <alexl@redhat.com>
4010 Add thumbnail:path attribute
4012 * gio/glocalfileinfo.c:
4013 Implement thumbnail:path for local files
4015 2007-10-11 Alexander Larsson <alexl@redhat.com>
4017 * gio/glocalfileinfo.c:
4018 (_g_local_file_info_get):
4019 Avoid duplicate icon names
4021 2007-10-11 Alexander Larsson <alexl@redhat.com>
4023 * gio/gthemedicon.[ch]:
4024 Change g_themed_icon_get_names return type to const
4026 2007-10-10 Alexander Larsson <alexl@redhat.com>
4028 * gio/glocalfileinfo.c:
4029 Don't reference freed memory
4031 2007-10-10 Alexander Larsson <alexl@redhat.com>
4033 * gio/gfileattribute.c:
4036 * gio/glocalfileinfo.c:
4039 2007-10-10 Alexander Larsson <alexl@redhat.com>
4042 Check for NULL icons
4044 * gio/gfileattribute.c:
4045 Don't dup when getting objects (same as for string attributes)
4047 * gio/gicon.c (g_icon_equal):
4048 Safely handle NULLs in equal
4050 2007-10-10 Alexander Larsson <alexl@redhat.com>
4053 Fix c++ compilation issues
4054 Patch from Milosz Derezynski <internalerror@gmail.com>
4056 2007-10-10 Alexander Larsson <alexl@redhat.com>
4058 * programs/gio-monitor-dir.c:
4059 Don't crash if dir monitor not supported.
4061 2007-10-09 Alexander Larsson <alexl@redhat.com>
4064 Add missing G_END_DECLS
4066 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4068 * gio/gfile.c: (g_file_set_display_name),
4069 (g_file_query_settable_attributes),
4070 (g_file_query_writable_namespaces):
4071 Return NULL not FALSE on errors as the return type is a pointer.
4073 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4075 * gio/glocalfile.c: (g_local_file_monitor_file):
4076 Don't call monitor_file on the default interface vtable (which
4077 is NULL) but simply return NULL. The caller, GFile, will create a
4078 polling monitor if NULL is returned.
4080 2007-10-09 Alexander Larsson <alexl@redhat.com>
4084 * gio-unix-2.0.pc.in:
4085 Add gio-unix-2.0.pc if OS_UNIX
4088 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4090 2007-10-09 Alexander Larsson <alexl@redhat.com>
4092 * gio/gunixmounts.[ch]:
4093 Make unix mount monitoring API sane.
4094 Now its just a object with mounts_changed
4095 and mountpoints_changed signals.
4097 * gio/glocaldirectorymonitor.c:
4098 * gio/gunixvolumemonitor.c:
4099 Use new mount monitor api
4101 2007-10-09 Alexander Larsson <alexl@redhat.com>
4103 * gio/gunixmounts.[ch]:
4104 Move guess type into one call for mounts and one for mountpoints
4107 * gio/gunixvolume.c:
4110 2007-10-09 Alexander Larsson <alexl@redhat.com>
4112 * gio/gunixmounts.[ch]:
4113 Remove _ prefix in preparation to make this semi-public
4114 Hide implementation of structs
4116 * gio/glocaldirectorymonitor.c:
4118 * gio/gunixvolume.c:
4119 * gio/gunixvolumemonitor.c:
4120 Update for above API changes
4122 2007-10-08 Alexander Larsson <alexl@redhat.com>
4125 Better polling fallback. This also handles the case where we have
4126 a monitor_file implementation, but it fails.
4128 2007-10-08 Alexander Larsson <alexl@redhat.com>
4132 * gio/gunixmounts.c:
4133 * programs/gio-monitor-dir.c:
4134 * programs/gio-monitor-file.c:
4135 Added cancellable to file monitoring calls.
4136 These are really sync calls and need this.
4138 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4140 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4141 (g_local_vfs_class_init):
4142 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4143 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4145 2007-10-05 Alexander Larsson <alexl@redhat.com>
4147 * gio/gdirectorymonitorprivate.h:
4148 * gio/gfilemonitorprivate.h:
4149 * gio/gdirectorymonitor.h:
4150 * gio/gfilemonitor.h:
4151 Remove *private.h and move to the public API, so that
4152 we can do implementations outside gio (such as in gvfs)
4154 * gio/gdirectorymonitor.c:
4155 * gio/gfilemonitor.c:
4156 * gio/glocaldirectorymonitor.c:
4157 * gio/gpollfilemonitor.c:
4158 * gio/inotify/inotify-helper.c:
4159 * gio/fam/fam-helper.c:
4160 Update to the new header names
4162 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4164 * gio/gdirectorymonitor.c:
4165 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4168 2007-10-04 Alexander Larsson <alexl@redhat.com>
4170 * gio/glocalfileinfo.c (get_access_rights):
4171 Set CAN_TRASH when we can move the file.
4172 We should really also check for a parent trash dir.
4174 2007-10-04 Alexander Larsson <alexl@redhat.com>
4176 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4177 Add can_trash access attribute
4179 2007-10-04 Alexander Larsson <alexl@redhat.com>
4182 (g_local_file_trash):
4183 Create info file first. This is per-spec and allows
4184 us to actually trash directories.
4186 2007-10-02 Alexander Larsson <alexl@redhat.com>
4188 * gio/gdesktopappinfo.c:
4189 Implement the new mime support code.
4190 Always set app as handling mimetype when being set as default for it
4192 2007-10-01 Alexander Larsson <alexl@redhat.com>
4194 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4195 Fix up check for xattrs:
4197 2007-10-01 Alexander Larsson <alexl@redhat.com>
4200 (g_app_info_set_as_default_for_extension):
4201 (g_app_info_add_supports_type):
4202 (g_app_info_can_remove_supports_type):
4203 (g_app_info_remove_supports_type):
4204 Make these fail nicely if not implemented
4206 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4208 * gio/glocalfileoutputstream.c:
4209 * gio/glocalfileoutputstream.h:
4214 * programs/gio-save.c:
4215 Add a GFileCreateFlags argument to operations that can create
4218 2007-10-01 Alexander Larsson <alexl@redhat.com>
4220 * gio/gappinfo.[ch]:
4221 * gio/gdesktopappinfo.c:
4222 Add more (stubbed out) mime API needed for nautilus
4224 2007-10-01 Alexander Larsson <alexl@redhat.com>
4227 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4228 Add g_app_info_set_as_default_for_extension.
4230 * gio/gdesktopappinfo.c:
4231 Dummy for g_app_info_set_as_default_for_extension
4232 Support flags in g_app_info_create_from_commandline
4234 * gio/gwin32appinfo.c:
4236 Update for API changes
4238 * gio/gthemedicon.c:
4239 Properly NULL-terminate list of icon names
4241 2007-09-28 Alexander Larsson <alexl@redhat.com>
4243 * gio/gloadableicon.h:
4244 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4246 2007-09-28 Alexander Larsson <alexl@redhat.com>
4249 Install headers in $includedir/gio-standalone/
4251 * gio-2.0.pc.in: Added.
4252 * gio-standalone.pc.in: Removed.
4255 Renamed pkg-config file to match glib (for future move)
4256 Update to the new include dir
4259 Add more TODO comments
4261 2007-09-28 Alexander Larsson <alexl@redhat.com>
4263 * gio/gdesktopappinfo.[ch]:
4264 Expose new_from_filename
4265 Add getter for is_hidden and handle it better
4267 2007-09-28 Alexander Larsson <alexl@redhat.com>
4269 * gio/gfileinfo.[ch]:
4270 Rename g_file_size_format_for_display to
4271 g_format_file_size_for_display.
4272 Now it doesn't have the g_file prefix, so we
4273 can later move it to glib.
4275 2007-09-28 Alexander Larsson <alexl@redhat.com>
4277 * gio/gappinfo.[ch]:
4278 Add g_app_info_get_id and g_app_info_get_executable.
4279 Make all getters non-reffing
4280 Make g_app_info_launch take GFile arguments.
4281 Add must_support_uris argument to g_app_info_get_default_for_type.
4283 * gio/gwin32appinfo.c:
4284 Update to GAppInfo api changes
4286 * gio/gdesktopappinfo.c:
4287 Update to GAppInfo api changes
4288 Implement supports_xdg_startup_notify
4290 * gio/gfileicon.c (g_file_icon_get_file):
4291 Make getter non-reffing.
4296 2007-09-27 Alexander Larsson <alexl@redhat.com>
4298 * gio/gfileinfo.[ch]:
4299 Add g_file_size_format_for_display helper
4301 2007-09-27 Alexander Larsson <alexl@redhat.com>
4303 * gio/glocalfileinfo.c:
4304 Set UNIX_GID from gid, not from uid
4306 2007-09-27 Alexander Larsson <alexl@redhat.com>
4309 Add g_file_set_attributes_async
4311 2007-09-27 Alexander Larsson <alexl@redhat.com>
4313 * gio/glocalfile.c (g_local_file_set_display_name):
4314 Fix set_display_name to actually rename to the right place.
4315 Use lstat to look for existing files so we don't overwrite
4318 2007-09-26 Alexander Larsson <alexl@redhat.com>
4321 Add g_file_set_display_name_async()
4323 2007-09-26 Alexander Larsson <alexl@redhat.com>
4326 Add load_partial_contents async calls
4329 Make internal function static
4331 2007-09-26 Alexander Larsson <alexl@redhat.com>
4333 * gio/glocalfileinfo.c:
4334 Correctly detect broken symlinks
4336 2007-09-26 Alexander Larsson <alexl@redhat.com>
4338 * gio/gcancellable.c (g_cancellable_cancel):
4339 Allow cancel on NULL cancellable
4341 2007-09-25 Alexander Larsson <alexl@redhat.com>
4343 * gio/gsimpleasyncresult.c:
4344 Don't allocate g_error manually.
4345 Fixes g_slice/g_new mixup crash
4347 2007-09-25 Alexander Larsson <alexl@redhat.com>
4349 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4350 Actually set active_backend.
4351 This means the monitor will be cancelled correctly.
4353 2007-09-25 Alexander Larsson <alexl@redhat.com>
4355 * gio/gdirectorymonitor.c:
4356 Set timeout to NULL when destroying
4358 2007-09-25 Alexander Larsson <alexl@redhat.com>
4361 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4362 that is a better description of the error.
4364 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4366 * gio/gvfs.c: (g_vfs_get_local):
4367 Make the local vfs variable static. The same instance should
4370 2007-09-24 Alexander Larsson <alexl@redhat.com>
4372 * gio/glocalfileinfo.c:
4373 Pass in actual length read into sniffer, not the length
4376 2007-09-21 Alexander Larsson <alexl@redhat.com>
4378 * gio/gfileenumerator.c:
4381 * gio/gfileinputstream.c:
4382 * gio/gfileoutputstream.c:
4383 * gio/ginputstream.c:
4384 * gio/goutputstream.c:
4385 Don't crash if async callbacks are NULL
4387 2007-09-20 Alexander Larsson <alexl@redhat.com>
4390 Add async enumerate_children method and default
4393 2007-09-20 Alexander Larsson <alexl@redhat.com>
4396 Add g_file_contains_file & g_file_get_relative_path, since they
4397 were needed for nautilus.
4398 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4403 Implement new methods
4405 2007-09-17 Alexander Larsson <alexl@redhat.com>
4408 * gio/gfileinputstream.[ch]:
4409 * gio/gfileoutputstream.[ch]:
4411 * gio/glocalfileenumerator.[ch]:
4412 * gio/glocalfileinfo.[ch]:
4413 * gio/glocalfileinputstream.c:
4414 * gio/glocalfileoutputstream.c:
4415 * gio/gpollfilemonitor.c:
4416 * programs/gio-copy.c:
4417 * programs/gio-info.c:
4418 * programs/gio-move.c:
4419 Rename get_file_info to query_info() to make it clearer
4420 that these are not simple getters, but do i/o.
4422 2007-09-17 Alexander Larsson <alexl@redhat.com>
4424 * gio/gdatainputstream.[ch]:
4425 * gio/test-streams.c:
4426 Use _read_XXX instead of _get_XXX for the i/o calls
4429 2007-09-17 Alexander Larsson <alexl@redhat.com>
4432 Added needed stuff to TODO comment
4434 2007-09-17 Alexander Larsson <alexl@redhat.com>
4436 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4437 Don't error out removing the backup copy if it doesn't
4440 2007-09-14 Alexander Larsson <alexl@redhat.com>
4442 * programs/Makefile.am:
4443 * programs/gvfs-*.c:
4445 Renamed apps from gvfs-xxx to gio-xxx.
4447 2007-09-14 Alexander Larsson <alexl@redhat.com>
4450 * gio/gfileoutputstream.[ch]:
4451 * gio/glocalfileoutputstream.c:
4452 * programs/gvfs-save.c:
4453 g_file_output_stream_get_etag doesn't do i/o, so remove
4454 cancellation and error.
4456 2007-09-14 Alexander Larsson <alexl@redhat.com>
4459 Add new_etag output to replace_contents functions
4461 2007-09-14 Alexander Larsson <alexl@redhat.com>
4463 * gio/gfileoutputstream.[ch]:
4464 Add async get_file_info and default implementation
4466 2007-09-14 Alexander Larsson <alexl@redhat.com>
4468 * gio/gfileinputstream.c:
4469 Implement fallback wrapper for async get_file_info
4471 2007-09-14 Alexander Larsson <alexl@redhat.com>
4474 Add etag out argument to load_contents
4479 2007-09-14 Alexander Larsson <alexl@redhat.com>
4481 * gio/gcontenttype.c (looks_like_text):
4482 Whitespace like tab, cr and lf do not make the
4485 2007-09-14 Alexander Larsson <alexl@redhat.com>
4487 * gio/gfileinputstream.[ch]:
4488 Add async get_file_info.
4490 2007-09-13 Alexander Larsson <alexl@redhat.com>
4492 * gio/goutputstream.c (g_output_stream_write_all):
4493 Allow NULL for bytes_written
4495 2007-09-13 Alexander Larsson <alexl@redhat.com>
4497 * gio/gmemoryinputstream.[ch]:
4498 Add accessors for data
4500 2007-09-13 Alexander Larsson <alexl@redhat.com>
4502 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4503 Don't crash if length is NULL