1 2008-07-15 Matthias Clasen <mclasen@redhat.com>
3 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
5 2008-07-08 Matthias Clasen <mclasen@redhat.com>
10 * gmount.c: Documentation improvements.
12 2008-07-08 Matthias Clasen <mclasen@redhat.com>
15 * gmount.[hc]: Add g_mount_guess_content_type().
17 2008-07-06 David Zeuthen <davidz@redhat.com>
20 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
21 is needed for easily handling adoption of foreign volumes by
22 out-of-process volume monitors (#541793)
24 2008-07-06 David Zeuthen <davidz@redhat.com>
26 * gvolumemonitor.[ch]:
27 * gunionvolumemonitor.c: Export the eject-button signal on the
28 volume monitor class (#541794).
30 2008-07-06 Matthias Clasen <mclasen@redhat.com>
32 * gappinfo.c: More doc tweaks
34 2008-07-05 Matthias Clasen <mclasen@redhat.com>
36 * gappinfo.c: Clarify some docs
38 2008-07-03 Matthias Clasen <mclasen@redhat.com>
40 * gdesktopappinfo.c: Fix a stupid mistake.
42 2008-07-02 Matthias Clasen <mclasen@redhat.com>
44 * === Released 2.17.3 ===
46 2008-07-02 Matthias Clasen <mclasen@redhat.com>
48 * gfilemonitor.c: Fix the build.
50 2008-07-02 Matthias Clasen <mclasen@redhat.com>
52 Bug 536160 – Add g_file_monitor()
55 * gfile.[hc]: Add g_file_monitor which can return either
56 a file or a directory monitor. Proposed by Behdad Esfahbod
58 2008-07-02 Matthias Clasen <mclasen@redhat.com>
60 536733 – gio build failure on Irix
62 * glocalfile.c: Use a configure check for structfs.f_bavail.
64 2008-07-02 Matthias Clasen <mclasen@redhat.com>
66 Bug 534639 – add g_desktop_app_info_new_from_keyfile
69 * gdesktopappinfo.[hc]: Add a function to create a
70 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
72 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
74 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
76 2008-07-01 Matthias Clasen <mclasen@redhat.com>
78 * gunixmounts.c: Fix a doc typo.
80 2008-07-01 Cody Russell <bratsche@gnome.org>
83 * gio/gwin32appinfo.c:
84 * gio/gwin32volumemonitor.c:
85 * gio/gwin32mount.c: Fixed some include problems.
87 2008-07-01 Cody Russell <bratsche@gnome.org>
91 Moved all relevant typedefs into these files.
94 Updated wrt added files.
96 Split types into separate file for easier maintainership. (#538564)
98 2008-06-30 Matthias Clasen <mclasen@redhat.com>
100 Bug 540331 – g_file_append_to () documentation: can return NULL
102 * gfile.c (g_file_append_to): Clarify docs.
105 2008-06-30 Matthias Clasen <mclasen@redhat.com>
107 Bug 539090 – g_content_type_from_mime_type() should unalias
109 * gcontentype.c (g_content_type_from_mime_type): Unalias.
110 Patch by Markus Bergman
112 2008-06-30 Matthias Clasen <mclasen@redhat.com>
114 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
117 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
118 on ppc and alpha. Reported by Mart Raudsepp
120 2008-06-29 Matthias Clasen <mclasen@redhat.com>
123 * tests/memory-output-stream.c: Add some tests for
126 2008-06-29 Matthias Clasen <mclasen@redhat.com>
128 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
131 * gmemoryoutputstream.c (array_resize): Handle truncation to
132 zero correctly. Reported by Akira Tagoh
134 2008-06-29 Matthias Clasen <mclasen@redhat.com>
136 * gmemoryoutputstream.c: Trivial doc fixes
138 2008-06-29 Matthias Clasen <mclasen@redhat.com>
140 Bug 540802 – g_list_prepend doesn't concat lists
142 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
143 one list to another. Pointed out by Jan Arne Petersen
145 2008-06-28 Michael Natterer <mitch@imendio.com>
147 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
149 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
151 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
152 to avoid problems with partial icon themes.
154 2008-06-17 Hans Breuer <hans@breuer.org>
156 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
157 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
158 access again on win32, see bug #538127
159 * giomodule.c : ensure GWin32VolumeMonitor is registered
160 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
161 * Makefile.am makefile.msc : updated
163 2008-06-16 Hans Breuer <hans@breuer.org>
165 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
166 and initialization in one step avoids c99ism
168 2008-06-16 Christian Persch <chpe@gnome.org>
171 * gio/gbufferedinputstream.c
173 * gio/gdatainputstream.c
174 * gio/gdesktopappinfo.c
176 * gio/gfileenumerator.c
177 * gio/gfileinputstream.c
178 * gio/gfileoutputstream.c
180 * gio/glocaldirectorymonitor.c
182 * gio/glocalfileenumerator.c
183 * gio/glocalfileinfo.c
184 * gio/glocalfilemonitor.c
185 * gio/glocalfileoutputstream.c
186 * gio/gmemoryinputstream.c
187 * gio/gmemoryoutputstream.c
188 * gio/goutputstream.c
189 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
192 2008-06-16 Tor Lillqvist <tml@novell.com>
194 Bug 538362 - Get Win32 icons back in the file chooser
196 * gcontenttype.c (g_content_type_get_icon): Look up the icon
197 corresponding to a file extension in the Registry. Patch by Hans
199 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
201 2008-06-16 Tor Lillqvist <tml@novell.com>
203 Patches by Hans Breuer:
205 * glocalfile.c (is_xp_or_later): Handle compiling against older
206 SDK headers with missing VerifyVersionInfo(). Conditioned on
207 _MSC_VER, but should probably use some better test.
208 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
209 uninitialised statfs_result variable on Win32.
211 2008-06-16 Michael Natterer <mitch@imendio.com>
213 * *.c: chain up unconditionally in finalize() and dispose(). Also
214 don't dereference these function pointers when calling them since
215 that has no meaning at all.
217 2008-06-16 Ross Burton <ross@burtonini.com>
220 Remove check for dispose implementation as it annoys Emmanuele.
222 2008-06-16 Ross Burton <ross@burtonini.com>
224 Bug 536252 – GFileEnumerator should allow access to the containing
230 Add g_file_enumerator_get_container() and a container writeable
231 construct-only property. Also shuffle around typedefs to make it
234 * glocalfileenumerator.c:
235 * glocalfileenumerator.h:
237 Instead of a string filename take a GFile in the constructor and
238 use it to set the container property.
243 2008-06-16 Matthias Clasen <mclasen@redhat.com>
245 * gfile.c: Make includes more uniform
247 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
249 * tests/live-g-file.c (sample_struct):
250 Use less fancy unicode filenames, so the test doesn't fail
251 on Mac OS X (#531476).
253 2008-06-12 Matthias Clasen <mclasen@redhat.com>
255 * === Released 2.17.2 ===
257 2008-06-12 Matthias Clasen <mclasen@redhat.com>
259 * === Released 2.17.1 ===
261 2008-06-11 A. Walton <awalton@gnome.org>
263 * tests/g-file.c (test_g_file_new_null):
264 Fix broken test case.
266 2008-06-11 Matthias Clasen <mclasen@redhat.com>
268 * pltcheck.sh: We use g_clear_error now.
270 2008-06-11 Matthias Clasen <mclasen@redhat.com>
272 * glocalfile.c (g_local_file_enumerate_children): Revert
273 an unintended change.
275 2008-06-11 Matthias Clasen <mclasen@redhat.com>
277 * gfile.c (g_file_replace_contents): Don't unref before the last use.
279 2008-06-10 Matthias Clasen <mclasen@redhat.com>
281 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
284 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
285 as icon for the desktop directory, also make user-home and
286 user-desktop the preferred icons.
288 2008-06-10 Matthias Clasen <mclasen@redhat.com>
291 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
292 to add a name to the front of the list.
294 2008-06-10 Matthias Clasen <mclasen@redhat.com>
296 Bug 537392 – Additional colon in xattr name
298 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
299 too. Reported by Alessandro Morandi
301 2008-06-10 Matthias Clasen <mclasen@redhat.com>
303 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
306 * glocalfile.c (get_fs_type): Add afs and autofs.
307 Patch by Danny Baumann.
309 2008-06-10 Matthias Clasen <mclasen@redhat.com>
311 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
313 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
314 is no parent. (Owen Taylor, patch by Christian Neumair)
316 2008-06-10 Paolo Borelli <pborelli@katamail.com>
318 * gfile.c (g_file_replace_contents): do not leak the output stream.
320 2008-06-10 Michael Natterer <mitch@imendio.com>
322 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
323 uninitialized memory as array index.
325 2008-06-10 Tor Lillqvist <tml@novell.com>
327 * gcontenttype.c (g_content_type_can_be_executable)
328 (g_content_type_get_icon) [Win32]: Add TODO comments.
330 2008-06-09 Matthias Clasen <mclasen@redhat.com>
332 * xdgmime/Makefile.am: Fix the build
334 2008-06-09 Matthias Clasen <mclasen@redhat.com>
336 * gcontenttype.c (g_content_type_get_icon): Use icons specified
337 in the shared mime database, if available.
339 * xdgmime/*: Sync with upstream. This brings support for
340 glob weights, generic icons, and changes the cache format to
343 2008-05-28 Michael Natterer <mitch@imendio.com>
345 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
346 the global CPPFLAGS now.
348 * tests/data-input-stream.c
349 * tests/data-output-stream.c
350 * tests/g-file-info.c
352 * tests/live-g-file.c
353 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
355 2008-05-27 Matthias Clasen <mclasen@redhat.com>
357 * === Released 2.17.0 ===
359 * tests/live-g-file.c: Clean up after the tests, so make distcheck
360 doesn't complain about leftover files.
362 2008-05-27 simon.zheng <simon.zheng@sun.com>
364 * glocalfile.c: (g_local_file_query_filesystem_info):
365 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
367 2008-05-26 Michael Natterer <mitch@imendio.com>
369 * gmemoryoutputstream.h: declare
370 g_memory_output_stream_get_data_size().
372 2008-05-26 Matthias Clasen <mclasen@redhat.com>
374 * tests/*: Make tests work
376 2008-05-26 Matthias Clasen <mclasen@redhat.com>
378 * gio.symbols: Add g_memory_output_stream_get_data_size.
380 2008-05-25 Ross Burton <ross@burtonini.com>
383 Fix typo in error message (#534764).
385 2008-05-25 Ross Burton <ross@burtonini.com>
388 Fix circular dependency loop for gioenumtypes.h (#534759).
390 2008-05-19 Hans Breuer <hans@breuer.org>
392 * Makefile.am : EXTRA_DIST += makefile.msc
394 2008-05-17 Matthias Clasen <mclasen@redhat.com>
397 * gcontenttype.c: (g_content_type_from_mime_type):
398 New function to create a content type from a mime type. (#527175,
401 2008-05-17 Matthias Clasen <mclasen@redhat.com>
403 Bug 532965 – Should not return filesystem::free for certain file systems
405 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
406 free space for ncpfs.
408 2008-05-17 Matthias Clasen <mclasen@redhat.com>
410 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
412 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
413 st_dev might be zero.
415 2008-05-16 Tor Lillqvist <tml@novell.com>
417 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
418 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
420 2008-05-13 Bastien Nocera <hadess@hadess.net>
422 * gfile.c (has_valid_scheme): A URI scheme must start with a
423 letter, even if later more characters are allowed (#532852)
425 2008-05-05 Michael Natterer <mitch@imendio.com>
427 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
428 code from being checked in that breaks the build of applications
429 which use G_DISABLE_SINGLE_INCLUDES.
431 * makegioalias.pl: make the alias file include "glib.h" instead of
434 * gio.symbols: whitespace change to force regeneration of the
435 alias file after above script change.
437 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
439 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
441 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
443 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
445 2008-04-28 David Zeuthen <davidz@redhat.com>
447 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
448 displaying mounts in a subdirectory not accessible to the
451 2008-04-22 Michael Natterer <mitch@imendio.com>
453 * Makefile.am: fix library versioning (it was 0.0.0).
455 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
457 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
458 Default disable all loggings.
459 * fen/fen-kernel.c: (printevent), (port_add_kevent),
460 (port_fetch_event_cb): Fixed two macro nits.
462 2008-04-16 Matthias Clasen <mclasen@redhat.com>
464 * xdgmime/xdgmime.c: Rework the timestamp checking code
465 to protect against duplicate directories in XDG_DATA_DIRS.
466 Fixes fd.o bug 12513, reported by Joe Shaw.
468 2008-04-16 Matthias Clasen <mclasen@redhat.com>
470 Partically revert the last commit after realizing that
471 xdg_mime_media_type_equal doesn't have to init at all.
474 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
476 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
478 2008-04-16 Matthias Clasen <mclasen@redhat.com>
480 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
481 reported by Joe Shaw and Federico Mena Quintero.
483 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
484 (xdg_mime_media_type_equal): Turn into a wrapper around the
487 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
488 functions throughout.
490 2008-04-16 Michael Meeks <michael.meeks@novell.com>
492 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
493 tolerate an empty TryExec= line without failing; nautilus used
494 to create launchers with these in previous versions. Fixes #528433
496 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
498 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
499 after name. Fixes #527132.
501 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
503 * gfile.c: (g_file_replace):
506 2008-04-07 Matthias Clasen <mclasen@redhat.com>
508 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
510 * gfile.c (file_copy_fallback): Fix the argument order. Patch
511 by Christian Kellner.
513 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
515 * gunixmounts.c: (g_unix_mount_guess_should_display):
516 Don't list the user directory as a mount, fix potential issue
517 when other users have a similar naming and don't special case the
518 gvfs mounts there since that's not required (#525866)
520 2008-03-31 Alexander Larsson <alexl@redhat.com>
522 * glocalfile.c (get_parent):
525 2008-03-31 A. Walton <awalton@svn.gnome.org>
527 * gfile.c (g_file_query_file_type):
528 Always return a GFileType enum value (#520715).
530 2008-03-31 Alexander Larsson <alexl@redhat.com>
532 * glocalfileenumerator.c:
533 Read readdir() info in chunks (of 1000) and sort
534 the chunks by inode before stat:ing.
535 This is a 20% performance increase in testing
536 gvfs-ls on /usr/bin with cold cache.
538 2008-03-31 Alexander Larsson <alexl@redhat.com>
540 * gmemoryoutputstream.c:
541 Clarify docs for g_memory_output_stream_get_size.
542 Add g_memory_output_stream_get_data_size.
544 2008-03-30 Matthias Clasen <mclasen@redhat.com>
548 * gfile.h: Add g_file_query_file_type convenience function
549 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
551 2008-03-30 Matthias Clasen <mclasen@redhat.com>
554 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
556 2008-03-28 A. Walton <awalton@svn.gnome.org>
558 * giomodule.c (_g_io_modules_ensure_loaded):
559 Adds GIO_EXTRA_MODULES environment variable support, closing bug
562 2008-03-28 Alexander Larsson <alexl@redhat.com>
565 (copy_stream_with_progress):
568 2008-03-28 Alexander Larsson <alexl@redhat.com>
571 (copy_stream_with_progress):
572 (file_copy_fallback):
573 Fallback to g_file_query_info for source size
574 if g_file_input_stream_query_info fails. (#524579)
576 2008-03-28 Alexander Larsson <alexl@redhat.com>
578 * glocalfile.c (g_local_file_move):
579 Reuse old string instead of adding new one.
581 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
583 * fen/*.[hc]: still copyright issue. I hate copyright.
585 2008-03-27 Alexander Larsson <alexl@redhat.com>
587 * glocalfile.c (g_local_file_move):
588 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
589 file over directory. This is according to the docs and what the move via
590 copy+remove fallback does.
592 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
594 * fen/*.[hc]: Updated copyright.
596 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
598 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
600 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
602 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
603 not emit attribute changed events when optimizing changed events.
604 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
607 2008-03-19 Matthias Clasen <mclasen@redhat.com>
609 * gmountoperation.[hc]: Small documentation additions
611 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
613 * gunixmounts.c: (guess_mount_type):
614 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
616 2008-03-19 Alexander Larsson <alexl@redhat.com>
619 (copy_stream_with_progress):
620 Bump block side for copy to 64k to minimize
621 overhead for low latency links. (#523015)
623 2008-03-16 Tor Lillqvist <tml@novell.com>
625 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
626 depend on gio.def on Windows.
628 2008-03-12 David Zeuthen <davidz@redhat.com>
632 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
634 2008-03-14 Alexander Larsson <alexl@redhat.com>
638 Avoid redudant tests (#521851)
639 Patch from Josselin Mouette
641 2008-03-14 Alexander Larsson <alexl@redhat.com>
644 (g_file_monitor_is_cancelled):
645 Fix C89 issue (#521672)
646 Patch from Jens Granseuer
648 2008-03-14 Alexander Larsson <alexl@redhat.com>
650 * fam/fam-helper.[ch]:
652 Shut down fam (including removing fam GSource) when
653 module is unloaded (#521513)
654 Patch from Joe Marcus Clarke
656 2008-03-14 Alexander Larsson <alexl@redhat.com>
659 (_g_io_modules_ensure_loaded):
662 2008-03-14 Alexander Larsson <alexl@redhat.com>
665 (g_local_file_query_filesystem_info):
666 Use right define name for f_fstypename member check
668 2008-03-14 Alexander Larsson <alexl@redhat.com>
671 * fen/Makefile.am: Added.
672 * fen/fen-data.[ch]: Added.
673 * fen/fen-dump.[ch]: Added.
674 * fen/fen-helper.[ch]: Added.
675 * fen/fen-kernel.[ch]: Added.
676 * fen/fen-missing.[ch]: Added.
677 * fen/fen-node.[ch]: Added.
678 * fen/fen-sub.[ch]: Added.
679 * fen/gfendirectorymonitor.[ch]: Added.
680 * fen/gfenfilemonitor.[ch]: Added.
682 Added Solaris FEN file notification backend.
683 Patch from Lin Ma <Lin.Ma@Sun.COM>
685 2008-03-13 Tor Lillqvist <tml@novell.com>
687 * Makefile.am: Actually use the gio.def file when linking the
688 library on Windows. Produce .lib library for Microsoft's toolchain
689 when possible. Install the .lib and .def file like for the other
692 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
694 * tests/live-g-file.c:
695 Include live-g-file in standard set of tests, making a temporary
696 directory in source structure.
698 Clean target directory before the tests (write mode only)
700 2008-03-12 Tor Lillqvist <tml@novell.com>
702 Bug 517419 - gio win32 directory monitor
703 Implementation by Vlad Grecescu.
706 * win32/gwin32directorymonitor.h
707 * win32/gwin32directorymonitor.c: New files.
709 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
711 * Makefile.am: Add the win32 subdirectory.
713 2008-03-12 Tor Lillqvist <tml@novell.com>
715 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
716 normal struct stat on Unix but struct _stati64 on Windows to have
717 access to 64-bit file size information. Use that instead of struct
718 stat in the functions declared here in this private header.
720 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
721 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
722 warnings about unused functions and variables. Don't set
723 meaningless attributes like inode numbers on Windows.
725 2008-03-12 Benjamin Otte <otte@gnome.org>
728 trim whitespace so gtk-doc groks the function name
730 2008-03-12 Tor Lillqvist <tml@novell.com>
732 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
733 returning FALSE, on Win32.
735 2008-03-11 Alexander Larsson <alexl@redhat.com>
738 * glocalfileinfo.[ch]:
739 Correctly implement can_trash by actually
740 looking for a trash dir, not just assuming
743 2008-03-10 Matthias Clasen <mclasen@redhat.com>
745 * === Released 2.16.1 ===
747 2008-03-11 Alexander Larsson <alexl@redhat.com>
750 Fix crashes in new constructor and properties code
752 2008-03-10 Murray Cumming <murrayc@murrayc.com>
754 * gfile.c: Minor spelling correction in documentation:
755 existance -> existence.
757 2008-03-10 Matthias Clasen <mclasen@redhat.com>
759 * === Released 2.16.0 ===
761 2008-03-10 Matthias Clasen <mclasen@redhat.com>
763 * gio.symbols: Remove g_file_contains_file here, too.
765 2008-03-10 Matthias Clasen <mclasen@redhat.com>
767 * gthemedicon.c: Add properties to make bindings happy. (#517676,
768 Samuel Cormier-Iijima)
770 2008-03-08 Tor Lillqvist <tml@novell.com>
772 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
775 2008-03-07 Alexander Larsson <alexl@redhat.com>
778 (g_local_file_query_filesystem_info):
779 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
780 Patch from Jasper Lievisse Adriaanse
782 2008-03-06 Tor Lillqvist <tml@novell.com>
784 * gfileinfo.h: Correct milliseconds to microseconds in the doc
785 comments for the *_USEC attributes.
787 2008-03-06 Alexander Larsson <alexl@redhat.com>
789 * gfile.c (g_file_query_exists):
790 Add g_return_val_if_fail check (#520700)
792 2008-03-06 Alexander Larsson <alexl@redhat.com>
797 * gunionvolumemonitor.c:
800 * tests/live-g-file.c:
801 * xdgmime/xdgmimecache.c:
802 Fix sparse warnings (#519489)
804 2008-03-05 Alexander Larsson <alexl@redhat.com>
807 Make cancellation threadsafe (i.e.
808 guarantee its only done once, and always
811 * glocaldirectorymonitor.c:
812 Make sure we the monitor lives while the
813 mounts_changed callback is being called (#520484)
815 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
817 * gbufferedinputstream.c: Fix typo in parameter
820 2008-03-04 Alexander Larsson <alexl@redhat.com>
823 Remove deprecated symbols we kept for one release.
825 2008-03-04 Murray Cumming <murrayc@murrayc.com>
828 * goutputstream.c: Tiny documentation corrections.
830 2008-03-03 Alexander Larsson <alexl@redhat.com>
832 * gunionvolumemonitor.c:
834 Fix the adopt_orphan_mount vfunc to take a
835 volume_monitor reference in an ABI compat way.
836 This change is not API compat, but the added
837 arg is not used in the only user of this vfunc, so
838 all we get is a harmless warning in gvfs (#520169)
840 2008-03-01 Benjamin Otte <otte@gnome.org>
843 clarify docs for g_file_delete().
845 2008-02-29 Alexander Larsson <alexl@redhat.com>
849 Make sure empty files get text/plain type (#518720)
851 2008-02-27 Alexander Larsson <alexl@redhat.com>
857 (g_unix_volume_mount):
858 Add missing GMountMountFlags argument
860 2008-02-26 Alexander Larsson <alexl@redhat.com>
863 (g_local_file_delete):
864 Handle filesystems (like ntfs-3g) that return EEXIST instead
865 of ENOTEMPTY (#518816)
867 2008-02-25 Matthias Clasen <mclasen@redhat.com>
869 * === Released 2.15.6 ===
871 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
873 * gfile.c (g_file_find_enclosing_mount):
874 * ginputstream.c (g_input_stream_set_pending):
875 * glocalfile.c (g_local_file_find_enclosing_mount):
876 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
877 * goutputstream.c (g_output_stream_set_pending):
879 Fixup translator comments (#518578).
881 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
883 * gfile.c (g_file_find_enclosing_mount):
885 * glocalfile.c (g_local_file_find_enclosing_mount):
888 Fix a few typos in translator comments and documentation.
890 2008-02-25 Alexander Larsson <alexl@redhat.com>
897 Add translator comments (#518578)
899 2008-02-25 Alexander Larsson <alexl@redhat.com>
902 Reintroduce g_file_contains_file, keep around for one
903 unstable release cycle to avoid crashing to many apps.
904 Make sure to delete after release.
906 2008-02-25 Alexander Larsson <alexl@redhat.com>
909 Remove deprecated g_file_contains_file.
911 2008-02-25 Alexander Larsson <alexl@redhat.com>
914 Emit actual change signals in an idle handler.
915 This avoids reentrance and locking problems in
916 the file notification backends.
918 2008-02-25 Alexander Larsson <alexl@redhat.com>
921 (g_unix_mount_guess_should_display):
922 Remove type guessing, instead just display
923 mounts in /media and in ~/.
925 2008-02-25 Alexander Larsson <alexl@redhat.com>
928 Make new strings reuse old ones.
930 2008-02-25 Alexander Larsson <alexl@redhat.com>
933 Implement trashing and filesystem::readonly for win32 (#517235)
934 Patch from Yevgen Muntyan
936 2008-02-23 Matthias Clasen <mclasen@redhat.com>
938 * gfileinfo.h: Documentation fixes.
940 2008-02-22 Alexander Larsson <alexl@redhat.com>
942 * gcontenttype.c (g_content_type_get_icon):
943 Look at old-style gnome mime icon names too, as many
944 have not moved to the new style.
946 2008-02-21 Matthias Clasen <mclasen@redhat.com>
948 * *.c: Correct the @include in for section docs.
950 2008-02-21 David Zeuthen <davidz@redhat.com>
952 * glocalfileinfo.c: (_g_local_file_info_get):
954 (g_content_type_get_icon): Implement this function by
955 moving bits from glocalfileinfo.c
956 (g_content_type_get_description): Unalias before getting
957 description (#517687)
959 * gfile.c: (g_file_class_init),
960 (g_file_query_filesystem_info_async),
961 (g_file_query_filesystem_info_finish),
962 (query_filesystem_info_data_free),
963 (query_filesystem_info_async_thread),
964 (g_file_real_query_filesystem_info_async),
965 (g_file_real_query_filesystem_info_finish):
966 * gfile.h: Implement async version of
967 g_file_query_filesystem_info()
969 * gfileinfo.h: Add new attributes for filesystem::use-preview
971 * gio.symbols: Update
973 * gthemedicon.c: (g_themed_icon_append_name):
974 * gthemedicon.h: Add new new convenience function.
976 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
977 (get_mounts), (get_volumes), (get_connected_drives),
978 (get_volume_for_uuid), (get_mount_for_uuid),
979 (g_union_volume_monitor_init), (populate_union_monitor),
980 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
981 (g_volume_monitor_adopt_orphan_mount):
983 * gvolumemonitor.h: Use recursive locks so it's safe for volume
984 monitor implementations to call into the main volume monitor. Also
985 separate object initialization and volume monitor initialization
986 such that non-native volume monitors can properly adopt their
989 2008-02-21 Alexander Larsson <alexl@redhat.com>
994 2008-02-21 Alexander Larsson <alexl@redhat.com>
997 Add more documentation about how GFiles work (from #517086)
999 2008-02-21 Alexander Larsson <alexl@redhat.com>
1003 Add new g_file_has_prefix that does the same as g_file_contains_file.
1004 Deprecate g_file_contains_file and add a macro that converts
1005 it to g_file_has_prefix.
1006 The reason for this change is that the contains_file() name seems to
1007 imply that this does more work than what it does, but its really only
1008 a name match (from #517086)
1013 Update to match the above change.
1015 2008-02-20 Benjamin Otte <otte@gnome.org>
1017 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1018 (g_file_eject_mountable):
1019 even more cases of not returning in error path
1021 2008-02-20 Benjamin Otte <otte@gnome.org>
1023 * gfile.c: (g_file_mount_mountable):
1024 return from function in error path.
1026 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1029 Remove trailing coma in GMountMountFlags struct
1031 2008-02-18 Alexander Larsson <alexl@redhat.com>
1035 * glocalfileoutputstream.c:
1036 Use g_unlink/g_rename instead of unlink/rename;
1037 do not pass raw filenames to g_set_error. (#517239)
1038 Patch from Yevgen Muntyan.
1040 2008-02-18 Alexander Larsson <alexl@redhat.com>
1043 * glocalfileoutputstream.c:
1044 Open files with O_BINARY on windows. (#517140)
1046 2008-02-14 Alexander Larsson <alexl@redhat.com>
1048 * glocalfileoutputstream.c:
1049 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1051 2008-02-14 Alexander Larsson <alexl@redhat.com>
1054 Copy permissions with file on copy (#514084)
1055 This is what cp does and makes sure e.g. the
1056 exec permissions are kept.
1057 Its kinda weird in that it keeps the permission bits
1058 the same while the uid and gid are different. However
1059 the new uid is the user so its not a security issue,
1060 and I've heard no complaints about cp on this issue.
1062 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1064 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1066 2008-02-13 Alexander Larsson <alexl@redhat.com>
1068 * inotify/inotify-path.c:
1069 Define IN_ONLYDIR if not in header (#515346)
1071 2008-02-12 Alexander Larsson <alexl@redhat.com>
1073 * tests/live-g-file.c:
1076 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1078 * === Released 2.15.5 ===
1080 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1082 * gio.symbols: Add g_mount_mount_flags_get_type.
1084 2008-02-11 Alexander Larsson <alexl@redhat.com>
1087 (g_file_info_set_attribute_mask):
1088 (g_file_attribute_matcher_matches_id):
1089 Correctly handle NULL GAttributeMatcher meaning
1090 matches nothing. (Fixes #513492)
1092 2008-02-11 Alexander Larsson <alexl@redhat.com>
1097 Added GMountMountFlags enum and added a flags
1098 argument to all mount calls.
1100 This is an API/ABI change for future extensibility,
1101 as I think we will need at least an
1102 inhibit-autorun flag (the panel needs this).
1103 There are no flags defined yet though.
1105 2008-02-11 Alexander Larsson <alexl@redhat.com>
1108 Added new standard::description attribute.
1109 Requested by Vincent, and useful for both
1112 2008-02-11 Alexander Larsson <alexl@redhat.com>
1114 * gdesktopappinfo.c:
1117 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1119 * *.c: Documentation additions
1121 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1123 * gappinfo.h: Formatting cleanup
1124 * gappinfo.c: Fix up docs.
1126 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1128 * gunixmounts.c: Consistently use getmntent_r() and fall
1129 back to getmntent(). (#515492)
1131 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1133 * gbufferedinputstream.c:
1135 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1137 * tests/data-input-stream.c:
1138 * tests/data-output-stream.c: Portability fixes.
1140 2008-02-08 Alexander Larsson <alexl@redhat.com>
1145 Add g_volume_should_automount.
1148 2008-02-07 Tor Lillqvist <tml@novell.com>
1150 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1151 Win32, too Unix-specific.
1153 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1155 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1156 a local plt if the compiler doesn't support what we want. Bug #514702
1158 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1160 reviewed by: <delete if not using a buddy>
1163 * gunixinputstream.c:
1164 * gunixoutputstream.c:
1166 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1168 * tests/Makefile.am:
1169 * tests/live-g-file.c:
1170 * tests/live-g-file.txt:
1171 New GIO testing module working over real data
1173 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1175 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1176 Fallback to rename() if link() is not available
1177 (when no support on target filesystem)
1179 2008-02-06 Michael Natterer <mitch@imendio.com>
1181 * gfileinfo.c (g_file_info_get_icon): replace
1182 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1184 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1186 * gfile.c (g_file_create):
1187 Documentation update of error codes
1189 2008-02-06 Alexander Larsson <alexl@redhat.com>
1191 * gdesktopappinfo.c:
1192 Update to use both mimeapps.list and
1193 defaults.list as discussed on xdg list.
1195 2008-02-06 Benjamin Otte <otte@gnome.org>
1198 * gfilenamecompleter.c:
1199 Fix some typos in the documentation.
1201 2008-02-06 Alexander Larsson <alexl@redhat.com>
1203 * glocalfile.c (g_local_file_trash):
1204 Don't succeed with trash if newly created
1205 trash dir has the wrong owner. (#514696)
1207 2008-02-05 Alexander Larsson <alexl@redhat.com>
1209 * glocalfile.c (g_local_file_move):
1210 Don't spew warnings when destination is not
1213 2008-02-03 Hans Breuer <hans@breuer.org>
1215 * makefile.msc : update
1217 2008-02-01 Michael Natterer <mitch@imendio.com>
1219 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1220 return value of xdg_mime_list_mime_parents() to a variable of the
1223 2008-02-01 Alexander Larsson <alexl@redhat.com>
1225 * gappinfo.c (g_app_info_launch_uris):
1226 Actually call the launch_uris method, not
1229 2008-02-01 Alexander Larsson <alexl@redhat.com>
1231 * gdesktopappinfo.c (g_desktop_app_info_equal):
1232 Ensure appinfos with no id but same pointer value
1235 2008-02-01 Alexander Larsson <alexl@redhat.com>
1237 * gappinfo.c (g_app_info_launch_default_for_uri):
1240 2008-02-01 Alexander Larsson <alexl@redhat.com>
1244 Add g_app_info_launch_default_for_uri utility
1247 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1249 * gdesktopappinfo.c:
1250 Doc fix for g_app_info_get_default_for_uri_scheme ()
1253 2008-01-30 Alexander Larsson <alexl@redhat.com>
1256 Add doc comment about uris vs GFiles to
1259 * gdesktopappinfo.c:
1260 Ensure uris passed to g_app_info_launch_uris()
1261 are not roundtriped through GFile (as that
1262 may be slightly destructive for e.g. mailto: links)
1264 2008-01-30 Alexander Larsson <alexl@redhat.com>
1266 * tests/data-input-stream.c:
1267 * tests/data-output-stream.c:
1268 C89 fixes from Jens Granseuer (#512849)
1270 2008-01-30 Alexander Larsson <alexl@redhat.com>
1273 Fix gamin/fam difference build issue. (#509419)
1275 2008-01-29 Alexander Larsson <alexl@redhat.com>
1278 * gdesktopappinfo.c:
1279 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1281 2008-01-29 Alexander Larsson <alexl@redhat.com>
1283 * gdesktopappinfo.c:
1284 * gdesktopappinfo.h:
1285 giomodule-priv.h include moved to .c file.
1287 2008-01-29 Alexander Larsson <alexl@redhat.com>
1289 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1290 Remove unused prio/name fields.
1292 2008-01-29 Alexander Larsson <alexl@redhat.com>
1294 * gcontenttype.c (looks_like_text):
1295 Don't treat whitespace as control chars.
1297 2008-01-29 Alexander Larsson <alexl@redhat.com>
1299 * gdesktopappinfo.c:
1300 Lazily create the desktop files for appinfos created
1301 by g_app_info_create_from_commandline() when needed
1302 for mime associations. This allows run-time use
1303 of GAppInfo object without creating unnecessary
1306 2008-01-29 Alexander Larsson <alexl@redhat.com>
1309 Added new symbols to gio.symbols
1311 2008-01-29 Alexander Larsson <alexl@redhat.com>
1314 Add g_file_query_default_handler utility to easily look up
1315 the GAppInfo that handles a file.
1317 * gdesktopappinfo.[ch]:
1319 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1322 Remove unused function
1324 2008-01-29 Alexander Larsson <alexl@redhat.com>
1326 * gfileenumerator.c:
1327 Mention need to free returned value in
1328 g_file_enumerator_next_files_finish docs.
1329 Fix leak if g_file_enumerator_next_files_finish()
1332 2008-01-29 Alexander Larsson <alexl@redhat.com>
1335 (_g_unix_content_type_get_parents):
1336 Use list_parents, not get_parents from xdgmime, because
1337 the later doesn't use the cache.
1339 * xdgmime/xdgmimecache.c:
1340 (_xdg_mime_cache_list_mime_parents):
1341 Don't list the same type as parent multiple times.
1343 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1345 * === Released 2.15.4 ===
1347 2008-01-28 Alexander Larsson <alexl@redhat.com>
1350 Register local vfs with prio 0.
1353 Remove old name and prio class members
1355 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1357 * tests/g-file.c: Disable some tests that are failing in
1358 the absence of a http backend.
1360 2008-01-28 Alexander Larsson <alexl@redhat.com>
1364 Add registration hooks for extension points.
1365 Register the gio extension points.
1367 * fam/gfamdirectorymonitor.c:
1368 * fam/gfamfilemonitor.c:
1369 * glocaldirectorymonitor.[ch]:
1370 * glocalfilemonitor.[ch]:
1371 * gnativevolumemonitor.h:
1372 * gunionvolumemonitor.c:
1373 * gunixvolumemonitor.c:
1376 * inotify/ginotifydirectorymonitor.c:
1377 * inotify/ginotifyfilemonitor.c:
1378 Use the extension points registration instead
1379 of g_type_children().
1381 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1384 * gvolume.[hc]: Document new API.
1386 * gfile.c (g_file_copy_async): Fix docs
1388 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1390 * gbufferedinputstream.c:
1392 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1395 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1397 * glocalfile.c: Avoid trivial differences in translatable strings.
1399 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1401 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1402 build with gcc 3.4 (#509419)
1404 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1406 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1407 (#509994, Murray Cumming)
1409 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1411 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1412 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1413 this allows big jobs to be executed in chunks, instead of blocking
1414 the main loop for a long time.
1416 * gsimpleasyncresult.c:
1417 * giofile.c: Adapt callers.
1419 2008-01-25 Alexander Larsson <alexl@redhat.com>
1421 * gdesktopappinfo.c:
1422 Implement changes discussed on xdg list.
1423 Now we can add supported mimetypes by just using defaults.list
1424 We can also remove associations in defaults.list.
1426 2008-01-25 Alexander Larsson <alexl@redhat.com>
1428 * gdesktopappinfo.c:
1429 Don't make local copy of desktop file
1430 for mimetype changes if the file already
1431 supports the new mimetype.
1433 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1437 * gbufferedinputstream.c:
1438 * glocalfile.c: String improvements. (#511966,
1439 Theppitak Karoonboonyanan)
1441 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1443 * gioscheduler.h: Expand docs a bit.
1445 2008-01-24 Alexander Larsson <alexl@redhat.com>
1448 Add g_drive_get_identifier and
1449 g_drive_enumerate_identifiers
1452 Add g_volume_get_identifier and
1453 g_volume_enumerate_identifiers
1459 Implement identifiers for unix backend
1461 2008-01-24 Alexander Larsson <alexl@redhat.com>
1466 Add g_file_copy_async() (#511580)
1467 Based on patch from Carlos Garcia Campos
1469 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1471 * gioscheduler.c: Some documentation additions.
1473 2008-01-22 Alexander Larsson <alexl@redhat.com>
1475 * gdesktopappinfo.c:
1476 (g_desktop_app_info_new):
1477 Don't leak basename.
1479 2008-01-22 Alexander Larsson <alexl@redhat.com>
1481 * gdesktopappinfo.c:
1482 (g_desktop_app_info_new_from_filename):
1485 2008-01-22 Alexander Larsson <alexl@redhat.com>
1487 * glocalfileinfo.c (get_thumbnail_attributes):
1490 2008-01-22 Alexander Larsson <alexl@redhat.com>
1493 (canonicalize_filename):
1494 Canonicalize paths that start with more than
1498 (compare_two_files):
1499 (test_g_file_new_for_path):
1502 2008-01-22 Alexander Larsson <alexl@redhat.com>
1505 Allow UTF-8 in file:// parse names.
1507 * tests/Makefile.am:
1508 * tests/data-input-stream.c:
1509 * tests/data-output-stream.c:
1510 * tests/g-file-info.c:
1512 Added a bunch of tests from Tomas Bzatek
1514 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1516 * === Released 2.15.3 ===
1518 2008-01-21 Alexander Larsson <alexl@redhat.com>
1520 * gfileinputstream.[ch]:
1521 * gfileoutputstream.[ch]:
1523 Remove duplicated GSeekable functions. (#509990)
1524 Just use the g_seekable_xxx() calls instead.
1526 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1529 * gvolumemanager.c: Whitespace cleanups.
1531 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1532 Use the right mode when creating the file.
1534 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1536 * gfileenumerator.c:
1537 * gfileinputstream.c:
1539 * goutputstream.c: Documentation: Fixed minor typos
1540 and added more mentions of specific _finish() functions.
1542 2008-01-21 Alexander Larsson <alexl@redhat.com>
1544 * inotify/Makefile.am:
1545 * inotify/inotify-helper.c:
1546 * inotify/inotify-kernel.c:
1547 * inotify/inotify-path.c:
1548 * inotify/local_inotify.h: Removed.
1549 * inotify/local_inotify_syscalls.h: Removed.
1550 Removed the included copies of the inotify
1551 headers. We now only use the <sys/inotify.h>
1552 header which exists on modern systems.
1553 This fixes problems on ARM and SH5 (#510448)
1554 but is also generally much cleaner and future
1555 safe. For instance, if other OSes add support
1556 for inotify it should "just work".
1558 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1560 * inotify/*.c: Coding style fixes.
1561 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1562 for the 1/4 Hz timer.
1564 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1567 * gfilemonitor.[hc]:
1568 * gmemoryinputstream.c:
1569 * gmemoryoutputstream.c:
1570 * gmountoperation.c:
1571 * gthemedicon.c: Documentation updates
1573 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1575 * gfile.c: documentation: Fixed more minor
1578 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1580 * gmount.c: (g_mount_remount): documentation:
1581 Mention g_mount_remount_finish() instead of
1582 g_mount_unmount_finish().
1584 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1588 * gfile.c: Fixed some minor typos in the
1591 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1593 * gio/gvolumemonitor.c:
1594 (g_volume_monitor_get_connected_drives):
1595 (g_volume_monitor_get_volumes):
1596 (g_volume_monitor_get_mounts): Documentation:
1597 Clarify the ownership of the regurn GLists.
1599 2008-01-17 Alexander Larsson <alexl@redhat.com>
1602 Add the async find_enclosing_mount version
1603 to the header file too.
1605 2008-01-17 Alexander Larsson <alexl@redhat.com>
1608 Add async version of find_enclosing_mount
1609 with default implementation.
1611 2008-01-17 Alexander Larsson <alexl@redhat.com>
1616 Allow calls to implementation of copy and write
1617 even if the type of the file implementations is
1618 different. This can be used to implement native
1619 upload and download calls in a vfs.
1622 (g_local_file_move):
1623 Protect against the case where move is called
1624 with one file not being local.
1626 Make sure we call the progress callback once
1627 in the native move operation so that the caller
1628 knows how many bytes were copied.
1630 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1633 * gdatainputstream.c:
1635 * gfileoutputstream.c:
1640 * gunixmounts.c: Corrected some typos in the documentation:
1641 occured -> occurred.
1642 its -> it's (where appropriate).
1644 2008-01-16 Alexander Larsson <alexl@redhat.com>
1648 Add g_file_query_exists (#508771)
1650 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1655 * gvolume.c: For async functions that have no non-async
1656 version, document that the GAsyncReadyCallback may be NULL.
1659 2008-01-15 Alexander Larsson <alexl@redhat.com>
1661 * gmemoryinputstream.c:
1662 * gmemoryoutputstream.c:
1663 Don't do pointer arithmetic on void * (#508602)
1664 Patch from Kazuki IWAMOTO
1666 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1668 * === Released 2.15.2 ===
1670 2008-01-14 Alexander Larsson <alexl@redhat.com>
1672 * gfile.c (g_file_monitor_file):
1673 Don't set error here, since we fallback to polling monitor.
1675 2008-01-14 Alexander Larsson <alexl@redhat.com>
1678 (g_file_monitor_directory):
1679 (g_file_monitor_file):
1680 Add GError to file monitor calls
1682 * glocaldirectorymonitor.c:
1683 * glocaldirectorymonitor.h:
1685 * glocalfilemonitor.c:
1686 * glocalfilemonitor.h:
1688 Update for above change
1690 2008-01-14 Alexander Larsson <alexl@redhat.com>
1694 Handle root correctly in g_file_get_relative_path (#508719)
1696 2008-01-14 Alexander Larsson <alexl@redhat.com>
1699 Clean up docs and example for GAsyncResult (#508074)
1701 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1703 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1704 and correct some spelling mistakes. Bug #508108.
1706 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1708 * glocalfileinfo.c: Add a comment.
1710 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1712 * gfileinfo.c: GFileInfo description: Mention
1713 how to actually set attributes in a GFile and how to discover
1714 which attributes are settable. Bug #508378.
1716 2008-01-10 A. Walton <awalton@svn.gnome.org>
1718 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1719 (g_app_info_get_default_for_type):
1720 Check for NULL content types.
1722 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1724 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1726 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1728 * gfile.c: *_async() functions: Several small corrections
1729 to the documentation, mostly correcting copy/paste errors
1730 and improving some sentences.
1732 2008-01-09 Dan Winship <danw@gnome.org>
1734 * glocalfile.c (get_unique_filename): x86_64 fix
1736 2008-01-09 Alexander Larsson <alexl@redhat.com>
1741 Add g_unix_mount_guess_should_display and use
1742 for unix volume monitor backend.
1743 This means we more or less show what the
1744 gnome-vfs backend did.
1745 Based on patch from Padraig O'Briain
1747 2008-01-09 Alexander Larsson <alexl@redhat.com>
1751 Add g_themed_icon_new_with_default_fallbacks
1754 Use default fallbacks for icons
1756 2008-01-09 Alexander Larsson <alexl@redhat.com>
1759 * gmountoperation.[ch]:
1760 Change the API a bit so that unhandled methods
1761 get reported via the reply, rather than by
1762 the signal emission return value. This is because
1763 some handlers can't know this immediately without
1764 doing I/O, and this is an async operation that
1767 2008-01-09 Alexander Larsson <alexl@redhat.com>
1770 * fam/gfamdirectorymonitor.c:
1771 * fam/gfamfilemonitor.c:
1772 Fix double free crash (#508224)
1773 Patch from Joe Marcus Clarke
1775 008-01-07 Matthias Clasen <mclasen@redhat.com>
1777 * === Released 2.15.1 ===
1779 2008-01-07 Alexander Larsson <alexl@redhat.com>
1781 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1782 Fix warning (#507835)
1784 2008-01-07 Alexander Larsson <alexl@redhat.com>
1787 Pass --internal to glib-genmarshal
1790 * gmountoperation.c:
1792 Use better types for signal arguments (#507822)
1794 2008-01-07 Alexander Larsson <alexl@redhat.com>
1797 Build test subdir after .
1798 Remove gdirectorymonitor.[ch]
1800 * gdirectorymonitor.[ch]:
1804 Remove GDirectoryMonitor and make
1805 GFileMonitor the baseclass for both file and
1806 directory monitors. Lift the more generic
1807 rate limiting code from GDirectoryMonitor
1811 * fam/gfamdirectorymonitor.[ch]:
1812 * inotify/ginotifydirectorymonitor.[ch]:
1813 * inotify/inotify-helper.c:
1814 * glocaldirectorymonitor.[ch]:
1817 Update for the removed GDirectoryMonitor.
1819 * gmemoryoutputstream.c:
1820 Remove ununsed variable
1822 2008-01-07 Alexander Larsson <alexl@redhat.com>
1824 * gmemoryinputstream.c:
1825 Translate error strings
1828 * gmemoryoutputstream.[ch]:
1829 New implementation that avoids using GByteArray
1830 in implementation and API. (#506377)
1832 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1834 * tests/*: Add a test for memory input streams.
1836 * Makefile.am: Add tests to SUBDIRS.
1838 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1840 * glocalfilemonitor.c:
1841 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1844 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1846 * gdesktopappinfo.c: Fix a docs typo.
1848 * gfileattribute.c: Add information about extended attributes
1849 to the documentation. (#505058)
1851 2008-01-04 Alexander Larsson <alexl@redhat.com>
1854 * gmountoperation.c:
1855 Use the right type (uint) for the ask_password signal.
1857 2008-01-04 Alexander Larsson <alexl@redhat.com>
1862 Add g_app_info_supports_files()
1863 Remove desktop arg from g_app_info_should_show().
1865 * gdesktopappinfo.[ch]:
1866 Implement g_app_info_supports_files() and new should_show()
1867 Add g_desktop_app_info_set_desktop_env() to set the desktop
1868 for should_show(). (This will be set by gtk+ later)
1870 2008-01-04 Alexander Larsson <alexl@redhat.com>
1873 * gmemoryinputstream.[ch]:
1874 Improve API so that you can use multiple chunks
1875 of memory and custom destroy functions. (#506374)
1877 2008-01-03 Alexander Larsson <alexl@redhat.com>
1880 Handle NULL attribute matchers safely, as we return this
1881 for empty attribute matcher strings.
1883 2008-01-03 Alexander Larsson <alexl@redhat.com>
1885 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1886 Add /usr/local to list of internal mountpoints
1888 2008-01-03 Alexander Larsson <alexl@redhat.com>
1891 Check for HAVE_LCHOWN (#505887)
1893 2008-01-03 Alexander Larsson <alexl@redhat.com>
1897 Add define for selinux context attribute.
1898 Fix missing : -> :: namespace separator change
1899 Fix missing _ -> - name change for xattr-sys.
1902 2008-01-03 Alexander Larsson <alexl@redhat.com>
1905 Link to libglib and libgobject directly (#504879)
1906 Patch from Sebastien Bacher
1908 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1910 * gfile.c: Expanded the g_file_new_for_commandline_arg
1911 description a bit, based on the code and the docs of the
1912 other g_file_new_for_* functions.
1914 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1916 * gfilemonitor.h: Fixed typo in docs.
1918 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1920 Updates to GIO documentation. (#506395, Mikael Hermansson)
1922 * gcontenttype.c: Describe memory management for return value of
1923 g_content_types_get_registered(). Missing piece from #505815.
1924 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1925 GVolume, GDrive, GMounts, which hopefully gives the user less
1926 confusions when using this API. Following explainations from
1927 Alexander Larsson on gtk-devel-list.
1929 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1931 * gfileinfo.c: Expand the long description.
1933 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1936 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1937 fix builds with --disable-visibility. (#500273, Christian Persch)
1939 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1941 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1942 in the list of returned app infos.
1944 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1946 * gappinfo.c: Fix a cross-reference
1948 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1950 * gfileinputstream.c:
1951 * gfileoutputstream.c:
1955 * gdesktopappinfo.c:
1957 * gfileinfo.c: Documentation updates.
1959 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1961 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1964 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1966 * gcontenttype.c (g_content_types_get_registered): Don't return
1967 freed memory (#505815, Mikael Hermansson)
1969 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1971 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1972 used to detect statbuf->st_blocks. (#505042)
1974 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1976 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1977 environment handling. (#504829, Cosimo Cecchi)
1979 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1981 * gappinfo.c: Doc improvements
1983 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1986 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1988 * === Released 2.15.0 ===
1990 2007-12-20 Hans Breuer <hans@breuer.org>
1992 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1993 with symbols gwin32appinfo.obj, added gmount.obj
1994 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1996 2007-12-20 Alexander Larsson <alexl@redhat.com>
2002 * gfilenamecompleter.c:
2005 * gpollfilemonitor.c:
2006 File attribute renames:
2008 fs:: -> filesystem::
2009 id::fs -> id::filesystem
2011 2007-12-20 Alexander Larsson <alexl@redhat.com>
2020 Add GMountUnmountFlags to all unmount and
2022 Add g_mount_remount() call.
2024 2007-12-20 Alexander Larsson <alexl@redhat.com>
2026 * gvfs.c (get_default_vfs):
2027 Fix unused variable warning
2029 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2031 * pltcheck.sh: Update
2033 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2035 * gunionvolumemonitor.c:
2036 * gunixmount.c: Remove C99 comments
2038 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2040 * gio.symbols: Add some missing symbols
2042 2007-12-19 Alexander Larsson <alexl@redhat.com>
2045 Make g_io_modules_load_all_in_directory not unuse
2046 loaded modules so that users of it can do stuff
2048 Init internal "module" types.
2049 Initialize static prio and name for types so that
2050 we don't have to load modules to get it.
2052 * gnativevolumemonitor.h:
2054 Move is_supported to parent class so that
2055 non-native monitors can avoid being initialized
2056 too. (For instance GDaemonVolumeMonitor if we're
2057 not using GDaemonVfs.)
2059 * glocaldirectorymonitor.[ch]:
2060 * glocalfilemonitor.[ch]:
2061 * gunionvolumemonitor.c:
2062 * gunixvolumemonitor.c:
2064 Find plugins using the static prio+name to
2065 avoid unnecessarily loading the modules.
2067 2007-12-19 Alexander Larsson <alexl@redhat.com>
2072 2007-12-19 Alexander Larsson <alexl@redhat.com>
2074 * gunionvolumemonitor.c:
2075 Store the native type as GType, not class so that
2076 we can unload it. But still avoid unnecessarily
2079 2007-12-19 David Zeuthen <davidz@redhat.com>
2081 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2082 add signals 'disconnected' and 'eject-button' on GDrive. Add
2083 signal 'removed' on GVolume and 'unmounted' on GMount.
2085 * gdrive.c: (g_drive_base_init):
2087 * gfile.c: (g_file_mount_mountable),
2088 (g_file_mount_enclosing_volume):
2091 * gmount.c: (g_mount_base_init):
2093 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2094 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2095 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2099 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2101 * *.c: Fix up includes in the section docs.
2103 2007-12-17 Alexander Larsson <alexl@redhat.com>
2105 * gnativevolumemonitor.h:
2106 * gunionvolumemonitor.c:
2107 * gunixvolumemonitor.c:
2108 Add is_supported() to GNativeVolumeMonitorClass so
2109 that we can avoid having to create an object to see
2110 if the backend is supported at runtime.
2111 Also add name member and an env var to pick a specific
2112 volume monitor backend.
2116 Add cancellable to _g_mount_get_for_mount_path()
2118 * glocaldirectorymonitor.c:
2119 * glocalfilemonitor.c:
2120 Avoid loading and unloading modules while sorting.
2122 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2125 * gunixmounts.[hc]: Namespace waste reduction, move some
2126 g_get_unix_mount functions to the g_unix_mount namespace.
2129 * gunixvolumemonitor.c:
2131 * glocaldirectorymonitor.c: Update all callers.
2133 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2135 2007-12-17 Alexander Larsson <alexl@redhat.com>
2138 Add doc comments about what GFile operations are
2139 guaranteed to not block.
2141 2007-12-17 Alexander Larsson <alexl@redhat.com>
2144 Add missing #ifdef fixing OSX build.
2145 (#503334, patch from Richard Hult)
2147 2007-12-14 David Zeuthen <davidz@redhat.com>
2151 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2152 (g_mount_eject), (g_mount_eject_finish):
2154 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2155 (get_volume_for_uuid), (get_mount_for_uuid),
2156 (g_union_volume_monitor_class_init),
2157 (get_default_native_type_with_exclude), (get_default_native_type),
2158 (get_native_type), (update_native_type),
2159 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2160 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2161 (g_unix_mount_can_eject), (eject_unmount_cb),
2162 (eject_unmount_read_error), (eject_unmount_do),
2163 (g_unix_mount_unmount), (g_unix_mount_eject),
2164 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2165 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2166 (g_unix_mount_point_guess_can_eject):
2168 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2169 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2170 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2171 (g_unix_volume_mount), (g_unix_volume_eject),
2172 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2173 * gunixvolumemonitor.c: (get_volume_for_uuid),
2174 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2176 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2177 (g_volume_eject), (g_volume_eject_finish):
2179 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2180 (g_volume_monitor_get_mount_for_uuid):
2183 Provide eject() on both GMount and GVolume and utility functions
2184 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2185 ejected. Introduce the concept of UUID's and wire it into GVolume
2186 and GMount and provide API on GVolumeMonitor to find such
2187 instances. Also handle the case where an external
2188 GNativeVolumeMonitor fails to initialize. Lock around the
2189 _g_get_mount_for_mount_path() function such that volume monitor
2190 implementations won't have to do locking themselves.
2192 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2194 * gdesktopappinfo.c:
2200 * gvolume.h: Documentation updates
2202 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2205 * gfile.h: Doc updates
2207 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2210 * gdesktopappinfo.c: Use hash table iterators.
2212 2007-12-14 Alexander Larsson <alexl@redhat.com>
2215 * gfileattribute.[ch]:
2216 * gfileattribute-priv.h:
2217 Move GFileAttributeValue to a private header, as
2221 Make set_attribute take a type + a pointer instead
2222 of a GFileAttributeValue.
2225 Fix up for above changes.
2226 Add g_file_info_get_attribute_data to get
2227 all info in one call, g_file_info_get_attribute_status
2228 to get the status and g_file_info_get_attribute_as_string.
2232 * glocalfileinfo.[ch]:
2236 Make _guess_type static.
2238 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2241 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2242 made mkenums and friends use temporary files to avoid leaving
2243 empty generated files on failure (#503470).
2245 2007-12-14 Alexander Larsson <alexl@redhat.com>
2247 * gmountoperation.h:
2250 2007-12-14 Alexander Larsson <alexl@redhat.com>
2254 * gfileattribute.[ch]:
2257 * glocalfileoutputstream.c:
2258 * gmountoperation.[ch]:
2259 * goutputstream.[ch]:
2260 Clean up all flags enums to not have _FLAGS in them
2261 Make the names of some of the enums better.
2266 2007-12-14 Michael Natterer <mitch@imendio.com>
2268 * gio.symbols: fix g_io_scheduler symbol names.
2270 2007-12-14 Alexander Larsson <alexl@redhat.com>
2276 * gbufferedinputstream.h:
2277 * gbufferedoutputstream.h:
2280 * gdatainputstream.h:
2281 * gdataoutputstream.h:
2282 * gdesktopappinfo.h:
2283 * gdirectorymonitor.h:
2287 * gfileenumerator.h:
2290 * gfileinputstream.h:
2292 * gfilenamecompleter.h:
2293 * gfileoutputstream.h:
2294 * gfilterinputstream.h:
2295 * gfilteroutputstream.h:
2303 * gmemoryinputstream.h:
2304 * gmemoryoutputstream.h:
2306 * gmountoperation.h:
2309 * gsimpleasyncresult.h:
2311 * gunixinputstream.h:
2313 * gunixoutputstream.h:
2317 * inotify/Makefile.am:
2318 Only allow including <gio/gio.h> from apps
2320 2007-12-14 Alexander Larsson <alexl@redhat.com>
2322 * gioscheduler.[ch]:
2323 * gsimpleasyncresult.c:
2324 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2325 Split out the send_to_mainloop call into two versions instead
2326 of having the block argument.
2328 2007-12-13 Alexander Larsson <alexl@redhat.com>
2330 * gcancellable.[ch]:
2332 * gbufferedinputstream.c:
2333 * gfileenumerator.c:
2334 * gfileinputstream.c:
2335 * gfileoutputstream.c:
2339 g_push/pop_current_cancellable ->
2340 g_cancellable_push/pop_current
2342 2007-12-13 Alexander Larsson <alexl@redhat.com>
2346 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2348 2007-12-13 Alexander Larsson <alexl@redhat.com>
2350 * gmountoperation.h:
2351 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2353 2007-12-12 Alexander Larsson <alexl@redhat.com>
2356 Fix race condition when freeing proxy in
2357 g_io_job_send_to_mainloop().
2359 2007-12-12 Alexander Larsson <alexl@redhat.com>
2365 Make attribute namespace separator "::" instead of ":".
2366 Use - instead of _ as separator in attribute names.
2368 2007-12-12 Alexander Larsson <alexl@redhat.com>
2370 * gbufferedinputstream.h:
2371 * gbufferedoutputstream.h:
2372 * gdatainputstream.h:
2373 * gdataoutputstream.h:
2374 * gdirectorymonitor.h:
2375 * gfileenumerator.h:
2376 * gfileinputstream.h:
2378 * gfileoutputstream.h:
2379 * gfilterinputstream.h:
2380 * gfilteroutputstream.h:
2382 * glocalfileinputstream.h:
2383 * glocalfileoutputstream.h:
2384 * gmemoryinputstream.h:
2385 * gmemoryoutputstream.h:
2386 * gnativevolumemonitor.h:
2388 * gunixinputstream.h:
2389 * gunixoutputstream.h:
2392 s/parent/parent_instance/ in GObjects
2394 2007-12-12 Alexander Larsson <alexl@redhat.com>
2399 No need for padding for interfaces
2401 2007-12-12 Alexander Larsson <alexl@redhat.com>
2405 * gbufferedinputstream.c:
2406 * gbufferedoutputstream.c:
2409 * gdatainputstream.[ch]:
2410 * gdesktopappinfo.c:
2411 * gdirectorymonitor.c:
2413 * gfileattribute.[ch]:
2416 * gfileinputstream.h:
2417 * gfilemonitor.[ch]:
2418 * gfileoutputstream.[ch]:
2419 * gfilterinputstream.h:
2420 * gfilteroutputstream.h:
2423 * gloadableicon.[ch]:
2424 * gmemoryinputstream.c:
2425 * gmountoperation.c:
2427 Fix up a bunch of details in the docs.
2432 2007-12-11 David Zeuthen <davidz@redhat.com>
2434 Rework how volumes, drives and volume monitoring is
2435 done. Previosly the model was
2437 GDrive <1-1> GVolume
2439 where a GDrive instance represented a mount point and a GVolume
2440 instance represented a mounted file system. This patch changes it
2443 GDrive <1-N> GVolume <1-1> GMount
2445 where GMount now serves the purpose of the old GVolume and the new
2446 GVolume serves the purpose of the old GDrive. In addition the new
2447 GDrive interface is used to represent a collection of GVolume
2448 instances (typically partitions) and also contains utility to query
2449 the state of the physical drive the GDrive object represents (such
2450 as checking for media, polling the drive, ejecting the media etc.).
2452 Also implement mounting and unmounting in the Unix volume monitor
2453 backend. A subquent patch will introduce GDrive support for ejection
2457 * gdrive.c: (g_drive_is_media_check_automatic),
2458 (g_drive_is_media_removable), (g_drive_has_media),
2459 (g_drive_can_poll_for_media), (g_drive_eject),
2460 (g_drive_eject_finish), (g_drive_poll_for_media),
2461 (g_drive_poll_for_media_finish):
2463 * gfile.c: (g_file_find_enclosing_mount):
2466 * glocaldirectorymonitor.c:
2467 (g_local_directory_monitor_constructor), (mounts_changed):
2468 * glocalfile.c: (get_mount_info),
2469 (g_local_file_find_enclosing_mount),
2470 (g_local_file_file_iface_init):
2471 * gnativevolumemonitor.h:
2472 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2473 (get_connected_drives), (g_union_volume_monitor_class_init),
2474 (child_volume_added), (child_volume_removed),
2475 (child_volume_changed), (child_mount_added), (child_mount_removed),
2476 (child_mount_pre_unmount), (child_mount_changed),
2477 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2478 (g_union_volume_monitor_remove_monitor),
2479 (_g_mount_get_for_mount_path):
2480 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2481 (guess_system_internal), (_g_get_unix_mounts),
2482 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2483 (g_unix_mount_free), (g_unix_mount_compare),
2484 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2485 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2486 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2487 (type_to_icon), (g_unix_mount_guess_name),
2488 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2489 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2490 (_resolve_symlink), (_resolve_dev_root):
2492 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2493 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2494 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2495 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2496 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2497 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2498 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2499 (g_unix_volume_volume_iface_init):
2501 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2502 (get_mounts), (get_volumes), (get_connected_drives),
2503 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2504 (mountpoints_changed), (mounts_changed),
2505 (g_unix_volume_monitor_init),
2506 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2507 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2508 * gunixvolumemonitor.h:
2509 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2510 (g_volume_mount), (g_volume_mount_finish):
2512 * gvolumemonitor.c: (g_volume_monitor_class_init),
2513 (g_volume_monitor_get_connected_drives),
2514 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2517 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2519 * gmountoperation.h (GPasswordFlags): Close the gap
2521 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2523 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2525 * gdesktopappinfo.[hc]: Remove _-prefixes
2527 2007-12-10 Tor Lillqvist <tml@novell.com>
2529 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2532 2007-12-10 Alexander Larsson <alexl@redhat.com>
2534 * gfile.c (g_file_set_display_name):
2535 Don't hardcode '/' (#502727)
2537 2007-12-09 Hans Breuer <hans@breuer.org>
2539 * makefile.msc : follow lib naming convention
2540 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2541 for user and group name, tested with ../tests/gio-ls
2543 2007-12-09 A. Walton <awalton@svn.gnome.org>
2545 * gdesktopappinfo.c:
2551 * gfileenumerator.c:
2556 * gmemoryinputstream.c:
2557 * gmemoryoutputstream.c:
2559 * gsimpleasyncresult.c:
2560 More documentation cleanup and filling in missing information, bringing
2561 GIO to 99% symbol coverage.
2563 2007-12-08 Hans Breuer <hans@breuer.org>
2565 [gio compiles and links on win32, not sure how much already works]
2566 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2567 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2568 base on win32 API; prefer g_lstat() over lstat(); instead of
2569 localtime_r() use an all GLib implementation on win32;
2570 get_mount_info() still needs a win32 specifc implementation
2571 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2572 win32_get_file_user_info to get owner/group info without uid/gid
2573 * glocalfileinputstream.c : include <io.h> on win32
2574 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2575 definition, use g_win32_ftruncate() for G_OS_WIN32
2576 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2577 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2578 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2579 * makefile.msc : updated
2581 2007-12-07 Alexander Larsson <alexl@redhat.com>
2583 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2584 Avoid warning spew if error == NULL
2586 2007-12-07 Alexander Larsson <alexl@redhat.com>
2589 Update docs wrt etags
2591 2007-12-06 Alexander Larsson <alexl@redhat.com>
2594 Include sys/types.h for dev_t (#501919)
2596 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2600 Make abicheck and pltcheck pass.
2602 2007-12-05 Alexander Larsson <alexl@redhat.com>
2605 * giomodule-priv.h: Added.
2606 * glocaldirectorymonitor.c:
2607 * glocalfilemonitor.c:
2608 * gunionvolumemonitor.c:
2610 Actually add the declaration of _g_io_modules_ensure_loaded
2612 2007-12-05 Alexander Larsson <alexl@redhat.com>
2614 * gdatainputstream.c:
2619 * glocaldirectorymonitor.c:
2620 * glocalfilemonitor.c:
2621 * gunionvolumemonitor.c:
2623 Make g_io_modules_ensure_loaded a private function and
2624 don't pass in the dirname. This means we can do magic
2625 directory finding in the win32 version.
2626 Export the actual load-modules-in-directory code so that
2627 gvfs can reuse that.
2629 2007-12-05 Alexander Larsson <alexl@redhat.com>
2631 * gbufferedinputstream.c:
2632 * gbufferedoutputstream.c:
2635 * gfileenumerator.[ch]:
2636 * gfileinputstream.c:
2637 * gfileoutputstream.[ch]:
2638 * gfilterinputstream.c:
2639 * gfilteroutputstream.c:
2640 * ginputstream.[ch]:
2642 * glocalfileenumerator.c:
2643 * glocalfileinputstream.c:
2644 * glocalfileoutputstream.c:
2645 * gmemoryinputstream.c:
2646 * gmemoryoutputstream.c:
2647 * goutputstream.[ch]:
2650 * gunixinputstream.c:
2651 * gunixoutputstream.c:
2652 Rename all struct members named:
2653 read, write, close, truncate, or mount
2654 to foo_fn, as these are reserved names
2655 and could be defined as macros in libc.
2658 2007-12-04 Alexander Larsson <alexl@redhat.com>
2661 (g_output_stream_close):
2662 Only call flush if non-null.
2664 2007-11-30 Dan Winship <danw@gnome.org>
2666 * ginputstream.c (g_input_stream_set_pending): Make this take a
2667 GError and return a gboolean, and do the "outstanding operation"
2668 check (and the "stream is already closed" check) itself.
2669 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2671 * goutputstream.c (g_output_stream_set_pending)
2672 (g_output_stream_clear_pending): Likewise
2674 * gbufferedinputstream.c:
2675 * gfileinputstream.c:
2676 * gfileoutputstream.c: Update for that
2678 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2679 Like g_simple_async_report_error_in_idle, but takes a GError
2680 rather than building one.
2682 2007-11-30 Dan Winship <danw@gnome.org>
2684 * goutputstream.c: Don't cheat and unset the "pending" flag around
2685 inner calls. Instead, call the class method directly rather than
2686 the wrapper function that checks "pending"
2688 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2690 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2692 2007-12-03 Hans Breuer <hans@breuer.org>
2694 [start of port to win32/msvc]
2695 * gcancellable.c : HAVE_UNIST_H and _pipe()
2696 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2697 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2698 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2700 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2701 * glocalvfs.c : use HAVE_PWD_H
2702 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2703 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2704 * Makefile.am : added to EXTRA_DIST
2706 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2708 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2711 2007-12-03 Alexander Larsson <alexl@redhat.com>
2714 Handle OSX style xattrs API (#500506)
2716 2007-12-03 Alexander Larsson <alexl@redhat.com>
2720 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2722 2007-12-02 A. Walton <awalton@svn.gnome.org>
2726 Documentation accuracy fixes.
2728 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2730 * gioenumtypes.c.template: Fix typo.
2732 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2734 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2736 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2738 * gdirectorymonitor.c:
2739 * gfilemonitor.c: Add properties
2741 * gbufferedoutputstream.c: Don't mark buffer-size property
2744 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2746 * gbufferedoutputstream.c: Add auto-grow property.
2748 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2750 * *.c: Unify the capitalization of section headings.
2752 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2754 * gmountoperation.c: Add properties
2756 * gdatainputstream.c: Turn byte-order and newline-type into
2759 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2761 * gioenumtypes.[hc].template: Templates for enum registration
2763 * Makefile.am: Generate gioenumtypes.[hc]
2765 * gio.h: Include gioenumtypes.h
2767 * gfile.h: Add some explicit nicks.
2769 * gio.symbols: Add new symbols
2771 * pltcheck.sh: Adjust
2773 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2775 * *.c: Explain etags and link to the explanation
2777 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2779 * *.c: Explain I/O priority.
2781 * *.c: More coding style fixes.
2783 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2785 * gasyncresult.c: Add another paragraph to the intro,
2786 adjust coding style of example.
2788 2007-11-29 A. Walton <awalton@svn.gnome.org>
2791 Fixes unknown meaning in GAppLaunchContext docs.
2793 Clarify asynchronous ops.
2795 Fix entity tag docs.
2798 Provides missing gtk-doc section, fixes API docs slighly.
2799 * gsimpleasyncresult.c:
2800 Fill in missing info in docs.
2801 * gunixinputstream.c:
2802 * gunixoutputstream.c:
2803 Be more expressive in short description.
2805 Remove gtk-doc stubs for non-public API.
2807 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2809 * *.c: Coding style fixups
2811 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2813 * inotify/inotify-helper.c: Don't export the lock from libgio.
2815 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2818 * abicheck.sh: Fix copy-and-paste leftovers
2820 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2822 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2824 2007-11-28 Alexander Larsson <alexl@redhat.com>
2828 Removed unnecessary file
2830 * gdesktopappinfo.[ch]:
2833 * glocaldirectorymonitor.[ch]:
2835 * glocalfileenumerator.[ch]:
2836 * glocalfileinputstream.[ch]:
2837 * glocalfilemonitor.[ch]:
2838 * glocalfileoutputstream.[ch]:
2840 * gnativevolumemonitor.c:
2841 * gpollfilemonitor.[ch]:
2842 * gunionvolumemonitor.[ch]:
2845 * gunixvolumemonitor.[ch]:
2848 * inotify/ginotifydirectorymonitor.[ch]:
2849 * inotify/ginotifyfilemonitor.[ch]:
2850 * inotify/inotify-helper.c:
2851 Append _ to all internal functions
2855 Export symbols needed for modules
2857 2007-11-28 Alexander Larsson <alexl@redhat.com>
2860 * abicheck.sh: Added.
2861 * makegioalias.pl: Added.
2862 * pltcheck.sh: Added.
2863 * gio.symbols: Added.
2866 Initial work on adding symbol handling.
2869 Correct ifdef guard name
2872 * inotify/Makefile.am:
2873 * xdgmime/Makefile.am:
2874 Include toplevel Makefile.decl
2876 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2878 * gcontenttype.c: Move doc comments to the unix section.
2880 * *.[hc]: More trivial doc corrections.
2882 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2884 * gpollfilemonitor.c:
2888 * gdesktopappinfo.c:
2893 * gdatainputstream.c:
2894 * gdatainputstream.h:
2895 * gdataoutputstream.c:
2896 * gdataoutputstream.h:
2897 * gfileinfo.h: Doc cleanups
2899 2007-11-28 Andre Klapper <a9016009@gmx.de>
2901 * gdesktopappinfo.c: Fix a typo.
2903 2007-11-27 Andre Klapper <a9016009@gmx.de>
2905 * glocalfileoutputstream.c: Fix a typo.
2907 2007-11-27 Alexander Larsson <alexl@redhat.com>
2910 Don't include removed headers
2912 2007-11-27 Alexander Larsson <alexl@redhat.com>
2915 * gsocketinputstream.[ch]: Removed.
2916 * gsocketoutputstream.[ch]: Removed.
2917 * gunixinputstream.[ch]: Added.
2918 * gunixoutputstream.[ch]: Added.
2919 Renamed GSocket*Stream to GUnix*Stream and made
2920 it unix-only, since its not really only for sockets
2921 and it only works on unix (but is highly useful there).
2923 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2929 * gbufferedinputstream.c:
2930 * gbufferedinputstream.h:
2931 * gbufferedoutputstream.c:
2932 * gbufferedoutputstream.h:
2936 * gdatainputstream.c:
2937 * gdatainputstream.h:
2938 * gdataoutputstream.c:
2939 * gdataoutputstream.h:
2940 * gdirectorymonitor.c:
2941 * gdirectorymonitor.h:
2948 * gfileenumerator.c:
2949 * gfileenumerator.h:
2954 * gfileinputstream.c:
2955 * gfileinputstream.h:
2958 * gfilenamecompleter.c:
2959 * gfilenamecompleter.h:
2960 * gfileoutputstream.c:
2961 * gfileoutputstream.h:
2962 * gfilterinputstream.c:
2963 * gfilterinputstream.h:
2964 * gfilteroutputstream.c:
2965 * gfilteroutputstream.h:
2978 * glocalfileoutputstream.c:
2979 * gmemoryinputstream.c:
2980 * gmemoryinputstream.h:
2981 * gmemoryoutputstream.c:
2982 * gmemoryoutputstream.h:
2983 * gmountoperation.c:
2984 * gmountoperation.h:
2987 * gpollfilemonitor.c:
2990 * gsimpleasyncresult.c:
2991 * gsimpleasyncresult.h:
2992 * gsocketinputstream.c:
2993 * gsocketinputstream.h:
2994 * gsocketoutputstream.c:
2995 * gsocketoutputstream.h:
3002 * gunixvolumemonitor.c:
3011 Bumps documentation to 93% symbol coverage, touching most
3012 of the public files. Fixes broken function documentation prototypes.
3013 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3014 gtk-doc headers in private files.
3016 2007-11-27 Jürg Billeter <j@bitron.ch>
3018 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3019 (g_buffered_input_stream_read_byte):
3020 * gbufferedinputstream.h:
3021 New functions for efficient access to buffer and simple single byte
3024 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3025 (g_data_input_stream_read_until):
3026 * gdatainputstream.h:
3027 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3028 read_until with multiple stop chars.
3030 2007-11-27 Alexander Larsson <alexl@redhat.com>
3034 * inotify/Makefile.am:
3035 Use the user-specified giomoduledir
3037 2007-11-27 Alexander Larsson <alexl@redhat.com>
3041 Add catch-all gio.h header
3042 Don't install gdummyfile.h
3044 2007-11-26 Alexander Larsson <alexl@redhat.com>
3046 * Makefile.am (gioinclude_HEADERS):
3047 Remove trailing whitespace
3049 2007-11-26 Alexander Larsson <alexl@redhat.com>
3051 Merge gio-standalone into glib
3053 2007-11-25 Christian Kellner <gicmo@gnome.org>
3055 * gio/goutputstream.c:
3056 Fix small mistake in the docs.
3058 2007-11-21 Christian Persch <chpe@gnome.org>
3060 * gio/glocalfile.c: (g_local_file_trash):
3061 Convert filenames to UTF-8 for GError.
3062 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3063 as per xdg base dir spec.
3065 2007-11-21 Christian Persch <chpe@gnome.org>
3067 * gio/gdesktopappinfo.c:
3068 Use that g_key_file_to_data cannot fail.
3070 Use stock defines for the key file group and key names.
3073 2007-11-21 Alexander Larsson <alexl@redhat.com>
3076 (copy_stream_with_progress):
3077 Make sure we do a final progress callback with
3078 the full total size.
3080 2007-11-21 Alexander Larsson <alexl@redhat.com>
3083 Export g_file_copy_attributes
3084 Remove padding as its not needed for interfaces
3086 2007-11-20 Alexander Larsson <alexl@redhat.com>
3091 Add G_IO_ERROR_WOULD_MERGE for
3092 copy/move dir on dir with overwrite.
3094 2007-11-20 Alexander Larsson <alexl@redhat.com>
3097 * gio/glocalfileinfo.c:
3098 Add COPY_NAME (this is an optional
3099 non-modified utf8 version of the name) that
3102 2007-11-20 Alexander Larsson <alexl@redhat.com>
3104 * gio/glocalfileenumerator.c:
3105 Report errors as GIOError, not GFileError
3107 2007-11-16 Alexander Larsson <alexl@redhat.com>
3109 * gio/glocalfileoutputstream.c:
3110 * gio/gwin32appinfo.c:
3111 Fix typos in strings.
3112 Patch from Luca Ferretti <elle.uca@libero.it>
3114 2007-11-15 Alexander Larsson <alexl@redhat.com>
3117 Post release version bump
3119 === gio-standalone 0.1.2 ===
3121 2007-11-15 Alexander Larsson <alexl@redhat.com>
3123 * docs/reference/gio/Makefile.am:
3124 Fix up distcheck by removing weird
3130 2007-11-14 Alexander Larsson <alexl@redhat.com>
3132 * gio/gdesktopappinfo.c:
3133 * gio/glocaldirectorymonitor.c:
3135 * gio/glocalfileinfo.c:
3136 * gio/inotify/inotify-sub.c:
3137 * programs/gio-cat.c:
3138 * programs/gio-copy.c:
3139 * programs/gio-info.c:
3140 * programs/gio-ls.c:
3141 * programs/gio-monitor-dir.c:
3142 * programs/gio-monitor-file.c:
3143 * programs/gio-mount.c:
3144 * programs/gio-move.c:
3145 * programs/gio-rm.c:
3146 * programs/gio-save.c:
3147 * programs/gio-trash.c:
3148 Leak fixes from Kjartan Maraas
3150 2007-11-14 Alexander Larsson <alexl@redhat.com>
3152 * gio/fam/fam-helper.c:
3154 * gio/glocalfileinfo.c:
3158 * gio/inotify/inotify-diag.c:
3159 * gio/inotify/inotify-kernel.c:
3160 Various code cleanups from Kjartan Maraas
3162 2007-11-14 Alexander Larsson <alexl@redhat.com>
3164 * gio/gioscheduler.c:
3166 Set up threadpool so that we cache 2 unused
3167 idle threads for at 15 secs. This means we
3168 will reuse thread-local data (like dbus connections)
3171 2007-11-14 Alexander Larsson <alexl@redhat.com>
3173 * gio/fam/fam-helper.c:
3174 * gio/fam/gfamdirectorymonitor.c:
3175 * gio/fam/gfamfilemonitor.c:
3177 * gio/gcontenttype.c:
3178 * gio/gdatainputstream.c:
3179 * gio/gdataoutputstream.c:
3183 * gio/gfileattribute.h:
3184 * gio/gfileenumerator.c:
3186 * gio/ginputstream.c:
3189 * gio/glocalfileinfo.c:
3190 * gio/goutputstream.c:
3191 * gio/gpollfilemonitor.c:
3192 * gio/gsimpleasyncresult.c:
3193 * gio/gunixmounts.c:
3194 * gio/gunixmounts.h:
3195 * gio/inotify/ginotifydirectorymonitor.c:
3196 * gio/inotify/ginotifyfilemonitor.c:
3197 * gio/inotify/inotify-diag.c:
3198 * gio/inotify/inotify-kernel.c:
3199 * gio/inotify/inotify-path.c:
3201 * gio/test-streams.c:
3202 * programs/gio-info.c:
3203 * programs/gio-monitor-dir.c:
3204 * programs/gio-monitor-file.c:
3205 Various code cleanups from Kjartan Maraas
3207 2007-11-13 Alexander Larsson <alexl@redhat.com>
3210 Handle the uri-scheme calls for dummy files
3212 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3214 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3215 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3216 to avoid clash with the C++ keyword.
3218 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3220 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3221 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3223 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3225 * gio/glocaldirectorymonitor.c:
3226 * gio/glocalfilemonitor.c:
3227 * gio/gunionvolumemonitor.c:
3228 Don't use g_once_init_*() for initializations that could fail and
3229 could leave the initialization variable set to 0 but use GOnce.
3230 This prevents a deadlock on the second call when trying to create
3231 a monitor and no monitor type is available. Thanks to Sven Herzberg
3234 2007-11-11 Sven Herzberg <sven@imendio.com>
3236 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3237 #ifdef (make it work on MacOS X again)
3239 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3241 Fixes Changelog for last two commits (sorry guys).
3243 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3245 * gio/gbufferedinputstream.c:
3246 * gio/gdatainputstream.c:
3248 * gio/gfileoutputstream.c:
3249 * gio/gfilterinputstream.c:
3250 * gio/glocalfileinputstream.c:
3253 More consistency fixes in g*stream.c files.
3254 Significant clean of gfile's documentation, filling in of
3255 asynchronous operations documentation.
3257 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3259 * gio/gasyncresult.c:
3260 * gio/gbufferedinputstream.c:
3261 * gio/gbufferedoutputstream.c:
3262 * gio/gcancellable.c:
3263 * gio/gcontenttype.c:
3264 * gio/gdatainputstream.c:
3265 * gio/gdataoutputstream.c:
3266 * gio/gdesktopappinfo.c:
3269 * gio/gfileattribute.c:
3270 * gio/gio/gfileenumerator.c:
3272 * gio/gfileinputstream.c:
3273 * gio/gfilemonitor.c:
3274 * gio/gfileoutputstream.c:
3275 * gio/ginputstream.c:
3277 * gio/gioscheduler.c:
3278 * gio/gloadableicon.c:
3279 * gio/glocalfileoutputstream.c:
3280 * gio/gmemoryoutputstream.c:
3281 * gio/gmountoperation.c:
3282 * gio/goutputstream.c:
3284 * gio/gsimpleasyncresult.c:
3285 * gio/gunionvolumemonitor.c:
3286 * gio/gunixmounts.c:
3287 * gio/gunixvolume.c:
3291 * gio/gvolumemonitor.c:
3292 Updated documentation stubs, working towards consistency and
3295 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3297 * gio/gmemoryoutputstream.c:
3298 * gio/gmemoryoutputstream.h:
3299 Change g_memory_output_stream_set_free_on_close() to
3300 g_memory_output_stream_set_free_data() as this makes more sense and
3301 is more consistent with GMemoryInputStream.
3303 2007-11-07 Alexander Larsson <alexl@redhat.com>
3310 Change how we find the default vfs so that
3311 we can handle a gvfs failing to init
3313 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3315 * gio/gbufferedoutputstream.c:
3316 * gio/gdatainputstream.c:
3317 * gio/gdataoutputstream.c:
3318 * gio/gfileinputstream.c:
3319 * gio/gfileoutputstream.c:
3320 * gio/gfilterinputstream.c:
3321 * gio/gfilteroutputstream.c:
3322 * gio/ginputstream.c:
3323 * gio/gmemoryinputstream.c:
3324 * gio/gmemoryoutputstream.c:
3325 * gio/goutputstream.c:
3326 * gio/gsimpleasyncresult.c:
3327 * gio/gsocketinputstream.c:
3328 * gio/gsocketoutputstream.c:
3329 Add guards to the remaining public functions, add a TODO for
3330 an unimplemented function and remove some useless guards.
3332 2007-11-07 Alexander Larsson <alexl@redhat.com>
3335 Autoconf checks for the various types of
3336 getpwuid_r and getgrgid_r
3338 * gio/glocalfileinfo.c:
3339 Use the autoconf checks from above
3341 2007-11-07 Alexander Larsson <alexl@redhat.com>
3344 (g_local_file_query_filesystem_info):
3345 Some fixes for the statvfs case
3347 2007-11-07 Alexander Larsson <alexl@redhat.com>
3350 (g_local_file_query_filesystem_info):
3351 Pick the "best" of statfs / statvfs for the system
3352 if both are availible.
3354 2007-11-07 Alexander Larsson <alexl@redhat.com>
3356 Solaris fixes from Halton.Huo@Sun.COM:
3363 * gio/glocalfileinfo.c:
3364 Fix for solaris definition of getpwuid_r
3366 * gio/test-streams.c:
3367 Use G_GNUC_PRETTY_FUNCTION
3369 2007-11-07 Alexander Larsson <alexl@redhat.com>
3371 * gio/gdesktopappinfo.c:
3372 (update_default_list):
3373 Remove double semicolon.
3374 Patch from Jens Granseuer
3376 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3378 * docs/reference/gio/gio-sections.txt:
3379 * gio/gbufferedinputstream.c:
3380 * gio/gbufferedinputstream.h:
3381 * gio/gdatainputstream.c:
3382 * gio/gfileenumerator.c:
3383 * gio/gioscheduler.c:
3384 * gio/gunionvolumemonitor.c:
3386 * programs/gio-save.c:
3387 Fix typo: availible -> available. Unfortuntely this breaks API
3388 and ABI as g_buffered_input_stream_get_available() was renamed.
3390 * gio/gunixmounts.c:
3391 * gio/gbufferedinputstream.c:
3392 Add guards for public functions.
3394 2007-11-06 Ross Burton <ross@openedhand.com>
3396 * docs/reference/gio/Makefile.am:
3397 Fix invalid += usage which automake 1.10 doesn't like.
3399 2007-11-06 Alexander Larsson <alexl@redhat.com>
3402 (g_app_launch_context_class_init):
3405 Patch from Ross Burton
3407 2007-11-06 Alexander Larsson <alexl@redhat.com>
3410 Post release version bump
3412 === gio-standalone 0.1.1 ===
3414 2007-11-06 Alexander Larsson <alexl@redhat.com>
3417 Bump version to 0.1.1
3419 * gio/gsimpleasyncresult.c:
3420 (g_simple_async_result_set_from_error):
3421 Remove bogus g_return_if_fail
3423 2007-11-06 Alexander Larsson <alexl@redhat.com>
3426 The name is gio-standalone
3429 Add top src/builddir to includedir
3431 2007-11-06 Alexander Larsson <alexl@redhat.com>
3433 * docs/reference/gio/gio-sections.txt:
3435 * gio/gbufferedinputstream.c:
3436 * gio/gbufferedoutputstream.c:
3437 * gio/gcancellable.c:
3438 * gio/gdatainputstream.h:
3439 * gio/gdataoutputstream.c:
3440 * gio/gdataoutputstream.h:
3441 * gio/gdirectorymonitor.c:
3443 * gio/gfileattribute.c:
3444 * gio/gfileattribute.h:
3445 * gio/gfileenumerator.c:
3446 * gio/gfileenumerator.h:
3449 * gio/gfileinputstream.h:
3450 * gio/gfilemonitor.c:
3451 * gio/gfileoutputstream.h:
3452 * gio/glocalfilemonitor.h:
3453 * gio/glocalfileoutputstream.h:
3454 * gio/gmemoryinputstream.c:
3455 * gio/gmemoryoutputstream.c:
3456 * gio/gmountoperation.c:
3457 * gio/goutputstream.c:
3458 * gio/goutputstream.h:
3460 * gio/gsimpleasyncresult.c:
3461 * gio/gunixmounts.c:
3462 * gio/gunixmounts.h:
3464 * gio/inotify/inotify-helper.c:
3465 Fix gtk-doc warnings
3467 Patch from Ross Burton
3469 2007-11-06 Alexander Larsson <alexl@redhat.com>
3471 * gio/gfilenamecompleter.c:
3472 (g_filename_completer_get_completions):
3475 * gio/gunixvolume.c:
3476 Remove unused function
3478 Patches from Ross Burton
3480 2007-11-06 Alexander Larsson <alexl@redhat.com>
3485 Padding not needed for interfaces
3487 2007-11-06 Alexander Larsson <alexl@redhat.com>
3489 * gio/gfilemonitor.c:
3493 Make giotypes.h an internal file
3496 * gio/gbufferedinputstream.h:
3497 * gio/gbufferedoutputstream.h:
3498 * gio/gcancellable.h:
3499 * gio/gdatainputstream.h:
3500 * gio/gdataoutputstream.h:
3501 * gio/gdirectorymonitor.c:
3502 * gio/gdirectorymonitor.h:
3507 * gio/gfileattribute.h:
3508 * gio/gfileenumerator.h:
3513 * gio/gfilemonitor.c:
3514 * gio/gfilemonitor.h:
3515 * gio/gfilenamecompleter.c:
3516 * gio/gfilenamecompleter.h:
3517 * gio/gfilterinputstream.h:
3518 * gio/gfilteroutputstream.h:
3519 * gio/ginputstream.h:
3520 * gio/gmemoryinputstream.h:
3521 * gio/gmemoryoutputstream.h:
3522 * gio/gmountoperation.c:
3523 * gio/gmountoperation.h:
3524 * gio/gnativevolumemonitor.c:
3525 * gio/goutputstream.h:
3528 * gio/gsimpleasyncresult.c:
3529 * gio/gsimpleasyncresult.h:
3530 * gio/gsocketinputstream.h:
3531 * gio/gsocketoutputstream.h:
3532 * gio/gthemedicon.c:
3533 * gio/gthemedicon.h:
3537 * gio/gvolumemonitor.c:
3538 * gio/gvolumemonitor.h:
3539 Add padding in classes where it seems useful
3540 Don't include giotypes.h from public headers
3541 Move in Class definitions into c file where possible
3546 2007-11-06 Alexander Larsson <alexl@redhat.com>
3548 * docs/reference/gio/gio-docs.xml:
3549 Better structure for API docs
3551 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3554 * gio/gloadableicon.c:
3555 * gio/gsimpleasyncresult.c:
3556 * gio/gthemedicon.c:
3557 Add some more guards to public functions. Only files missing are now
3560 2007-11-06 Alexander Larsson <alexl@redhat.com>
3562 * docs/reference/gio/gio-docs.xml:
3563 Remove old files, add missing ones
3565 2007-11-06 Alexander Larsson <alexl@redhat.com>
3567 * docs/reference/gio/gio-sections.txt:
3570 Hide implementation classes
3572 * gio/gdriveprivate.h:
3573 * gio/gvolumeprivate.h:
3574 Remove non-existing function declarations
3576 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3579 Fix compilation warnings and add guards to the new functions.
3581 * gio/gasyncresult.c:
3583 Add guards to the public functions.
3586 Implement get_path().
3588 2007-11-06 Alexander Larsson <alexl@redhat.com>
3590 * gio/gfilenamecompleter.c:
3591 Make g_filename_completer_get_completions
3592 return char ** instead of GList for
3595 * docs/reference/gio/gio-docs.xml:
3596 * docs/reference/gio/gio-sections.txt:
3598 * gio/gasyncresult.c:
3599 * gio/gbufferedinputstream.c:
3600 * gio/gbufferedoutputstream.c:
3601 * gio/gcancellable.c:
3602 * gio/gcontenttype.c:
3603 * gio/gdatainputstream.c:
3604 * gio/gdataoutputstream.c:
3605 * gio/gdesktopappinfo.c:
3606 * gio/gdirectorymonitor.c:
3610 * gio/gfileattribute.c:
3611 * gio/gfileenumerator.c:
3614 * gio/gfileinputstream.c:
3615 * gio/gfilemonitor.c:
3616 * gio/gfilenamecompleter.c:
3617 * gio/gfilenamecompleter.h:
3618 * gio/gfileoutputstream.c:
3619 * gio/gfilterinputstream.c:
3621 * gio/ginputstream.c:
3623 * gio/gioscheduler.c:
3624 * gio/gloadableicon.c:
3625 * gio/glocaldirectorymonitor.c:
3627 * gio/glocalfileinputstream.c:
3628 * gio/glocalfilemonitor.c:
3629 * gio/glocalfileoutputstream.c:
3631 * gio/gmemoryinputstream.c:
3632 * gio/gmemoryoutputstream.c:
3633 * gio/gmountoperation.c:
3634 * gio/goutputstream.c:
3635 * gio/gpollfilemonitor.c:
3637 * gio/gsimpleasyncresult.c:
3638 * gio/gsocketinputstream.c:
3639 * gio/gsocketoutputstream.c:
3640 * gio/gthemedicon.c:
3641 * gio/gunionvolumemonitor.c:
3643 * gio/gunixmounts.c:
3644 * gio/gunixvolume.c:
3645 * gio/gunixvolumemonitor.c:
3649 * gio/gvolumemonitor.c:
3650 * gio/gwin32appinfo.c:
3651 Add (mostly stub) doc strings to public functions.
3652 Patch from Andrew Walton (awalton@gmail.com)
3654 2007-11-06 Alexander Larsson <alexl@redhat.com>
3656 * gio/gappinfo.[ch]:
3657 Added GAppLaunchContext object and pass that to launch.
3658 This allows simple implementation of both
3659 launch-on-screen and startup notification via a gtk+
3660 subclass of GAppLaunchContext
3662 * gio/gdesktopappinfo.c:
3663 Implement GAppLaunchContext API
3665 * gio/gwin32appinfo.c:
3668 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3670 * gio/gmountoperation.c:
3671 Add some guards to GMountOperation's public functions.
3673 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3677 * gio/gcancellable.c:
3678 * gio/gdirectorymonitor.c:
3680 * gio/gfileenumerator.c:
3681 * gio/gfilemonitor.c:,
3682 * gio/gfilenamecompleter.c:
3685 * gio/gioscheduler.c:
3689 * gio/gvolumemonitor.c:
3690 Add even more guards to various public functions.
3692 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3695 Add guards to the public functions of GAppInfo.
3697 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3699 * gio/gcontenttype.c:
3700 Add some more guards for public functions.
3702 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3704 * gio/fam/fam-module.c:
3705 * gio/fam/gfamdirectorymonitor.c:
3706 * gio/fam/gfamdirectorymonitor.h:
3707 * gio/fam/gfamfilemonitor.c:
3708 * gio/fam/gfamfilemonitor.h:
3709 * gio/inotify/ginotifydirectorymonitor.c:
3710 * gio/inotify/ginotifydirectorymonitor.h:
3711 * gio/inotify/ginotifyfilemonitor.c:
3712 * gio/inotify/ginotifyfilemonitor.h:
3713 Add proper copyright information and remove an unused variable
3714 in the GInotifyFileMonitor constructor.
3716 * gio/gcancellable.c:
3717 Add a guard for a public function and an assertion to prevent
3718 an undefined program state.
3720 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3722 * gio/gfileattribute.c:
3723 Don't run into an assertion if the given attribute value is NULL
3724 in g_file_attribute_value_get_*() but instead return a fallback
3725 value that makes sense in most situations. Passing them a attribute
3726 value with the wrong type will still run into an assertion.
3728 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3730 * gio/gfileattribute.c:
3732 Add even more guards to the public functions. Also fix the refcounting
3733 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3734 let g_file_info_list_attributes() filter the attributes by namespace
3735 instead of simply ignoring the namespace parameter.
3737 2007-11-03 Sven Herzberg <sven@imendio.com>
3739 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3740 (This makes gio work on MacOS X again)
3742 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3745 Build the gio subdirectory before the docs. Otherwise the build will
3748 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3749 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3750 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3751 Add guards to the public functions.
3753 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3755 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3756 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3757 to prevent a compiler warning.
3759 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3760 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3761 return something in the non-void function find_topdir_for().
3763 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3770 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3772 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3773 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3774 * gwin32appinfo.c (g_win32_app_info_launch):
3775 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3776 envp_for_startup_id, g_desktop_app_info_launch,
3777 g_desktop_app_info_launch_uris):
3779 Give an opaque 'startup_id' string instead of 'envp'.
3780 Support empty file lists for launching new windows.
3781 Fix infinite recursion bug when launching URIs.
3783 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3786 Add guard to the new g_file_get_uri_scheme() function.
3788 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3791 Convert a g_return_val_if_fail() to setting the GError instead as
3792 otherwise applications have to verify the parameter before otherwise
3793 and the parameter might come directly from the user.
3795 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3797 * gio/inotify/ginotify*.[ch]:
3798 Add missing copyright information.
3800 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3803 Add guards in the beginning of public functions to check for valid
3804 parameters and fix a bug in copy_stream_with_progress() that could've
3805 caused writing less bytes than reading.
3806 * gio/glocalfileinfo.c:
3807 Check for a NULL parameter and set the GError accordingly then.
3808 * gio/goutputstream.c:
3809 Fix the same bug as in gfile.c that could've caused writing less bytes
3810 than reading in g_output_stream_real_splice().
3812 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3815 Use the correct gvolumeprivate.h naming
3817 2007-11-01 Christian Kellner <gicmo@gnome.org>
3820 Remove leftover "$(daemon_sources)" entry.
3822 2007-11-01 Christian Kellner <gicmo@gnome.org>
3827 Add copyright information to source files.
3829 2007-11-01 Alexander Larsson <alexl@redhat.com>
3833 Add g_file_get_uri_scheme
3835 2007-11-01 Alexander Larsson <alexl@redhat.com>
3838 * gio/gdesktopappinfo.c:
3839 * gio/gwin32appinfo.c:
3840 Add g_app_info_get_default_for_uri_scheme.
3842 2007-11-01 Alexander Larsson <alexl@redhat.com>
3845 Correct filename for gdriveprivate.h
3847 2007-10-31 Alexander Larsson <alexl@redhat.com>
3850 Rename id:value to id:file
3853 * gio/glocalfileinfo.c:
3856 2007-10-31 Alexander Larsson <alexl@redhat.com>
3858 * gio/gunixvolume.c:
3860 Remove g_volume_get_platform_id, as thats not
3861 needed with the simpler union volume monitor
3863 2007-10-31 Alexander Larsson <alexl@redhat.com>
3866 * gio/guniondrive.[ch]: Removed.
3867 * gio/gunionvolume.[ch]: Removed.
3868 Remove GUnionDrive/Volume
3870 * gio/gunionvolumemonitor.c:
3871 Simplify union volume monitor, now we
3872 only have one native volume monitor and
3873 we use the actual volumes/drives from the
3874 child monitors instead of wrapping them
3876 * gio/gnativevolumemonitor.[ch]:
3877 Base class for native volume monitors.
3878 Includes priority and get_volume_for_mountpoint
3881 Add g_file_find_enclosing_volume
3884 Remove volume name fs attribute
3885 Add readonly fs attribute
3888 Implement readonly attribute
3889 remove volume name attribute
3890 Implement find_enclosing volume
3892 * gio/gunixmounts.c:
3893 Add a volume for "/".
3895 * gio/gunixvolume.[ch]:
3896 Set better name for /
3898 * gio/gunixvolumemonitor.[ch]:
3899 Derive from GNativeVolumeMonitor
3900 Implement get_volume_for_mountpoint
3903 GVolume typedef moved to gfile.h
3905 * gio/gvolumeprivate.h:
3906 Add g_volume_get_for_mount_path
3908 2007-10-31 Alexander Larsson <alexl@redhat.com>
3910 * gio/gunixmounts.[ch]:
3911 Add cache info to unix mount listers
3912 Make getmntent use threadsafe
3913 Add is_system_internal attribute for GUnixMount
3915 * gio/gunixvolume.c:
3916 (g_unix_volume_new):
3917 Use is_system_internal instead of own code
3919 * gio/glocaldirectorymonitor.c:
3920 * gio/gunixvolumemonitor.c:
3921 Update to new gunixmounts API
3926 2007-10-30 Alexander Larsson <alexl@redhat.com>
3929 Add volume name fsinfo attribute
3932 Read volume name info
3934 * gio/gunionvolumemonitor.c:
3935 Fix infinite loops when finalizing a union volume monitor
3937 2007-10-30 Alexander Larsson <alexl@redhat.com>
3939 * gio/goutputstream.[ch]:
3940 Add splice() with default implementation
3942 * gio/gsocketoutputstream.c:
3943 (g_socket_output_stream_write):
3944 Return error on cancellation correctly.
3946 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3948 * gio/glocalfile.c (g_local_file_trash):
3949 Do not leak a string.
3951 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3953 * gio/gfile.c (g_file_load_contents):
3954 Unref the stream after closing it.
3956 2007-10-25 Alexander Larsson <alexl@redhat.com>
3958 * gio/gioscheduler.h:
3961 2007-10-25 Alexander Larsson <alexl@redhat.com>
3965 Add g_file_has_uri_scheme and implement for local files
3967 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3969 * gio/gdesktopappinfo.c: do not leak a string.
3971 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3973 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3974 (g_local_directory_monitor_new):
3975 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3976 (g_local_file_monitor_new):
3977 Only look for the monitor type that should be used the first time
3978 and use g_qsort_with_data() instead of our own bubble sort
3981 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3984 * gio/fam/Makefile.am:
3985 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3986 * gio/fam/fam-helper.h:
3987 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3988 * gio/fam/gfamdirectorymonitor.c:
3989 * gio/fam/gfamdirectorymonitor.h:
3990 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3991 * gio/fam/gfamfilemonitor.h:
3992 * gio/glocaldirectorymonitor.c:
3993 * gio/glocaldirectorymonitor.h:
3994 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3995 * gio/glocalfilemonitor.h:
3996 * gio/inotify/Makefile.am:
3997 * gio/inotify/ginotifydirectorymonitor.c:
3998 * gio/inotify/ginotifydirectorymonitor.h:
3999 * gio/inotify/ginotifyfilemonitor.c:
4000 * gio/inotify/ginotifyfilemonitor.h:
4001 Implement the FAM and Inotify monitors as
4002 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4003 their own GIO module. GLocal(Directory|File)Monitor will use the
4004 monitor with the highest rank that is supported on that machine.
4006 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4009 Change GIO module dir to $(libdir)/gio/modules and change
4010 the log domain from GVFS to GIO. Also only export symbols starting
4011 with g_ in the resulting library.
4012 * gio/test-streams.c: (main):
4013 Set log handler for the GIO log domain.
4015 2007-10-22 Alexander Larsson <alexl@redhat.com>
4017 * gio/gfilenamecompleter.[ch]:
4018 Add g_filename_completer_set_dirs_only
4020 2007-10-22 Alexander Larsson <alexl@redhat.com>
4023 * gio/gurifuncs.[ch]:
4024 Add some simple URI helpers
4026 * gio/gfilenamecompleter.[ch]:
4027 Added object for filename (parse name actually) completion
4030 Handle ~ in parse names
4032 2007-10-17 Alexander Larsson <alexl@redhat.com>
4035 * gio/glocalfileinfo.c:
4036 Add and implement id:value attribute
4038 2007-10-17 Alexander Larsson <alexl@redhat.com>
4041 * gio/guniondrive.c:
4043 Add and implement g_drive_has_volumes
4045 2007-10-17 Alexander Larsson <alexl@redhat.com>
4048 * gio/glocalfileinfo.[ch]:
4049 Add unix:is_mountpoint and implement for local files
4051 2007-10-16 Alexander Larsson <alexl@redhat.com>
4053 * gio/gunionvolumemonitor.c:
4054 (g_union_volume_monitor_init):
4055 Fix up the unix type getting so that it works with gcc
4057 2007-10-12 Alexander Larsson <alexl@redhat.com>
4060 * gio/glocalfileinfo.c:
4061 Add thumbnail:failed to file info
4063 2007-10-12 Richard Hult <richard@imendio.com>
4065 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4066 optimizing away the get_type call (happens with some gcc versions,
4067 like the one shipped with OS X 10.4).
4069 2007-10-12 Alexander Larsson <alexl@redhat.com>
4071 * gio/glocalfileinfo.c:
4072 (_g_local_file_info_set_attribute):
4073 Fix build if not HAVE_XATTR
4074 Patch from Milosz Derezynski <internalerror@gmail.com>
4076 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4078 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4079 around for review, otherwise I would have asked you before
4082 2007-10-11 Alexander Larsson <alexl@redhat.com>
4085 Add thumbnail:path attribute
4087 * gio/glocalfileinfo.c:
4088 Implement thumbnail:path for local files
4090 2007-10-11 Alexander Larsson <alexl@redhat.com>
4092 * gio/glocalfileinfo.c:
4093 (_g_local_file_info_get):
4094 Avoid duplicate icon names
4096 2007-10-11 Alexander Larsson <alexl@redhat.com>
4098 * gio/gthemedicon.[ch]:
4099 Change g_themed_icon_get_names return type to const
4101 2007-10-10 Alexander Larsson <alexl@redhat.com>
4103 * gio/glocalfileinfo.c:
4104 Don't reference freed memory
4106 2007-10-10 Alexander Larsson <alexl@redhat.com>
4108 * gio/gfileattribute.c:
4111 * gio/glocalfileinfo.c:
4114 2007-10-10 Alexander Larsson <alexl@redhat.com>
4117 Check for NULL icons
4119 * gio/gfileattribute.c:
4120 Don't dup when getting objects (same as for string attributes)
4122 * gio/gicon.c (g_icon_equal):
4123 Safely handle NULLs in equal
4125 2007-10-10 Alexander Larsson <alexl@redhat.com>
4128 Fix c++ compilation issues
4129 Patch from Milosz Derezynski <internalerror@gmail.com>
4131 2007-10-10 Alexander Larsson <alexl@redhat.com>
4133 * programs/gio-monitor-dir.c:
4134 Don't crash if dir monitor not supported.
4136 2007-10-09 Alexander Larsson <alexl@redhat.com>
4139 Add missing G_END_DECLS
4141 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4143 * gio/gfile.c: (g_file_set_display_name),
4144 (g_file_query_settable_attributes),
4145 (g_file_query_writable_namespaces):
4146 Return NULL not FALSE on errors as the return type is a pointer.
4148 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4150 * gio/glocalfile.c: (g_local_file_monitor_file):
4151 Don't call monitor_file on the default interface vtable (which
4152 is NULL) but simply return NULL. The caller, GFile, will create a
4153 polling monitor if NULL is returned.
4155 2007-10-09 Alexander Larsson <alexl@redhat.com>
4159 * gio-unix-2.0.pc.in:
4160 Add gio-unix-2.0.pc if OS_UNIX
4163 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4165 2007-10-09 Alexander Larsson <alexl@redhat.com>
4167 * gio/gunixmounts.[ch]:
4168 Make unix mount monitoring API sane.
4169 Now its just a object with mounts_changed
4170 and mountpoints_changed signals.
4172 * gio/glocaldirectorymonitor.c:
4173 * gio/gunixvolumemonitor.c:
4174 Use new mount monitor api
4176 2007-10-09 Alexander Larsson <alexl@redhat.com>
4178 * gio/gunixmounts.[ch]:
4179 Move guess type into one call for mounts and one for mountpoints
4182 * gio/gunixvolume.c:
4185 2007-10-09 Alexander Larsson <alexl@redhat.com>
4187 * gio/gunixmounts.[ch]:
4188 Remove _ prefix in preparation to make this semi-public
4189 Hide implementation of structs
4191 * gio/glocaldirectorymonitor.c:
4193 * gio/gunixvolume.c:
4194 * gio/gunixvolumemonitor.c:
4195 Update for above API changes
4197 2007-10-08 Alexander Larsson <alexl@redhat.com>
4200 Better polling fallback. This also handles the case where we have
4201 a monitor_file implementation, but it fails.
4203 2007-10-08 Alexander Larsson <alexl@redhat.com>
4207 * gio/gunixmounts.c:
4208 * programs/gio-monitor-dir.c:
4209 * programs/gio-monitor-file.c:
4210 Added cancellable to file monitoring calls.
4211 These are really sync calls and need this.
4213 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4215 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4216 (g_local_vfs_class_init):
4217 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4218 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4220 2007-10-05 Alexander Larsson <alexl@redhat.com>
4222 * gio/gdirectorymonitorprivate.h:
4223 * gio/gfilemonitorprivate.h:
4224 * gio/gdirectorymonitor.h:
4225 * gio/gfilemonitor.h:
4226 Remove *private.h and move to the public API, so that
4227 we can do implementations outside gio (such as in gvfs)
4229 * gio/gdirectorymonitor.c:
4230 * gio/gfilemonitor.c:
4231 * gio/glocaldirectorymonitor.c:
4232 * gio/gpollfilemonitor.c:
4233 * gio/inotify/inotify-helper.c:
4234 * gio/fam/fam-helper.c:
4235 Update to the new header names
4237 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4239 * gio/gdirectorymonitor.c:
4240 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4243 2007-10-04 Alexander Larsson <alexl@redhat.com>
4245 * gio/glocalfileinfo.c (get_access_rights):
4246 Set CAN_TRASH when we can move the file.
4247 We should really also check for a parent trash dir.
4249 2007-10-04 Alexander Larsson <alexl@redhat.com>
4251 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4252 Add can_trash access attribute
4254 2007-10-04 Alexander Larsson <alexl@redhat.com>
4257 (g_local_file_trash):
4258 Create info file first. This is per-spec and allows
4259 us to actually trash directories.
4261 2007-10-02 Alexander Larsson <alexl@redhat.com>
4263 * gio/gdesktopappinfo.c:
4264 Implement the new mime support code.
4265 Always set app as handling mimetype when being set as default for it
4267 2007-10-01 Alexander Larsson <alexl@redhat.com>
4269 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4270 Fix up check for xattrs:
4272 2007-10-01 Alexander Larsson <alexl@redhat.com>
4275 (g_app_info_set_as_default_for_extension):
4276 (g_app_info_add_supports_type):
4277 (g_app_info_can_remove_supports_type):
4278 (g_app_info_remove_supports_type):
4279 Make these fail nicely if not implemented
4281 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4283 * gio/glocalfileoutputstream.c:
4284 * gio/glocalfileoutputstream.h:
4289 * programs/gio-save.c:
4290 Add a GFileCreateFlags argument to operations that can create
4293 2007-10-01 Alexander Larsson <alexl@redhat.com>
4295 * gio/gappinfo.[ch]:
4296 * gio/gdesktopappinfo.c:
4297 Add more (stubbed out) mime API needed for nautilus
4299 2007-10-01 Alexander Larsson <alexl@redhat.com>
4302 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4303 Add g_app_info_set_as_default_for_extension.
4305 * gio/gdesktopappinfo.c:
4306 Dummy for g_app_info_set_as_default_for_extension
4307 Support flags in g_app_info_create_from_commandline
4309 * gio/gwin32appinfo.c:
4311 Update for API changes
4313 * gio/gthemedicon.c:
4314 Properly NULL-terminate list of icon names
4316 2007-09-28 Alexander Larsson <alexl@redhat.com>
4318 * gio/gloadableicon.h:
4319 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4321 2007-09-28 Alexander Larsson <alexl@redhat.com>
4324 Install headers in $includedir/gio-standalone/
4326 * gio-2.0.pc.in: Added.
4327 * gio-standalone.pc.in: Removed.
4330 Renamed pkg-config file to match glib (for future move)
4331 Update to the new include dir
4334 Add more TODO comments
4336 2007-09-28 Alexander Larsson <alexl@redhat.com>
4338 * gio/gdesktopappinfo.[ch]:
4339 Expose new_from_filename
4340 Add getter for is_hidden and handle it better
4342 2007-09-28 Alexander Larsson <alexl@redhat.com>
4344 * gio/gfileinfo.[ch]:
4345 Rename g_file_size_format_for_display to
4346 g_format_file_size_for_display.
4347 Now it doesn't have the g_file prefix, so we
4348 can later move it to glib.
4350 2007-09-28 Alexander Larsson <alexl@redhat.com>
4352 * gio/gappinfo.[ch]:
4353 Add g_app_info_get_id and g_app_info_get_executable.
4354 Make all getters non-reffing
4355 Make g_app_info_launch take GFile arguments.
4356 Add must_support_uris argument to g_app_info_get_default_for_type.
4358 * gio/gwin32appinfo.c:
4359 Update to GAppInfo api changes
4361 * gio/gdesktopappinfo.c:
4362 Update to GAppInfo api changes
4363 Implement supports_xdg_startup_notify
4365 * gio/gfileicon.c (g_file_icon_get_file):
4366 Make getter non-reffing.
4371 2007-09-27 Alexander Larsson <alexl@redhat.com>
4373 * gio/gfileinfo.[ch]:
4374 Add g_file_size_format_for_display helper
4376 2007-09-27 Alexander Larsson <alexl@redhat.com>
4378 * gio/glocalfileinfo.c:
4379 Set UNIX_GID from gid, not from uid
4381 2007-09-27 Alexander Larsson <alexl@redhat.com>
4384 Add g_file_set_attributes_async
4386 2007-09-27 Alexander Larsson <alexl@redhat.com>
4388 * gio/glocalfile.c (g_local_file_set_display_name):
4389 Fix set_display_name to actually rename to the right place.
4390 Use lstat to look for existing files so we don't overwrite
4393 2007-09-26 Alexander Larsson <alexl@redhat.com>
4396 Add g_file_set_display_name_async()
4398 2007-09-26 Alexander Larsson <alexl@redhat.com>
4401 Add load_partial_contents async calls
4404 Make internal function static
4406 2007-09-26 Alexander Larsson <alexl@redhat.com>
4408 * gio/glocalfileinfo.c:
4409 Correctly detect broken symlinks
4411 2007-09-26 Alexander Larsson <alexl@redhat.com>
4413 * gio/gcancellable.c (g_cancellable_cancel):
4414 Allow cancel on NULL cancellable
4416 2007-09-25 Alexander Larsson <alexl@redhat.com>
4418 * gio/gsimpleasyncresult.c:
4419 Don't allocate g_error manually.
4420 Fixes g_slice/g_new mixup crash
4422 2007-09-25 Alexander Larsson <alexl@redhat.com>
4424 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4425 Actually set active_backend.
4426 This means the monitor will be cancelled correctly.
4428 2007-09-25 Alexander Larsson <alexl@redhat.com>
4430 * gio/gdirectorymonitor.c:
4431 Set timeout to NULL when destroying
4433 2007-09-25 Alexander Larsson <alexl@redhat.com>
4436 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4437 that is a better description of the error.
4439 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4441 * gio/gvfs.c: (g_vfs_get_local):
4442 Make the local vfs variable static. The same instance should
4445 2007-09-24 Alexander Larsson <alexl@redhat.com>
4447 * gio/glocalfileinfo.c:
4448 Pass in actual length read into sniffer, not the length
4451 2007-09-21 Alexander Larsson <alexl@redhat.com>
4453 * gio/gfileenumerator.c:
4456 * gio/gfileinputstream.c:
4457 * gio/gfileoutputstream.c:
4458 * gio/ginputstream.c:
4459 * gio/goutputstream.c:
4460 Don't crash if async callbacks are NULL
4462 2007-09-20 Alexander Larsson <alexl@redhat.com>
4465 Add async enumerate_children method and default
4468 2007-09-20 Alexander Larsson <alexl@redhat.com>
4471 Add g_file_contains_file & g_file_get_relative_path, since they
4472 were needed for nautilus.
4473 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4478 Implement new methods
4480 2007-09-17 Alexander Larsson <alexl@redhat.com>
4483 * gio/gfileinputstream.[ch]:
4484 * gio/gfileoutputstream.[ch]:
4486 * gio/glocalfileenumerator.[ch]:
4487 * gio/glocalfileinfo.[ch]:
4488 * gio/glocalfileinputstream.c:
4489 * gio/glocalfileoutputstream.c:
4490 * gio/gpollfilemonitor.c:
4491 * programs/gio-copy.c:
4492 * programs/gio-info.c:
4493 * programs/gio-move.c:
4494 Rename get_file_info to query_info() to make it clearer
4495 that these are not simple getters, but do i/o.
4497 2007-09-17 Alexander Larsson <alexl@redhat.com>
4499 * gio/gdatainputstream.[ch]:
4500 * gio/test-streams.c:
4501 Use _read_XXX instead of _get_XXX for the i/o calls
4504 2007-09-17 Alexander Larsson <alexl@redhat.com>
4507 Added needed stuff to TODO comment
4509 2007-09-17 Alexander Larsson <alexl@redhat.com>
4511 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4512 Don't error out removing the backup copy if it doesn't
4515 2007-09-14 Alexander Larsson <alexl@redhat.com>
4517 * programs/Makefile.am:
4518 * programs/gvfs-*.c:
4520 Renamed apps from gvfs-xxx to gio-xxx.
4522 2007-09-14 Alexander Larsson <alexl@redhat.com>
4525 * gio/gfileoutputstream.[ch]:
4526 * gio/glocalfileoutputstream.c:
4527 * programs/gvfs-save.c:
4528 g_file_output_stream_get_etag doesn't do i/o, so remove
4529 cancellation and error.
4531 2007-09-14 Alexander Larsson <alexl@redhat.com>
4534 Add new_etag output to replace_contents functions
4536 2007-09-14 Alexander Larsson <alexl@redhat.com>
4538 * gio/gfileoutputstream.[ch]:
4539 Add async get_file_info and default implementation
4541 2007-09-14 Alexander Larsson <alexl@redhat.com>
4543 * gio/gfileinputstream.c:
4544 Implement fallback wrapper for async get_file_info
4546 2007-09-14 Alexander Larsson <alexl@redhat.com>
4549 Add etag out argument to load_contents
4554 2007-09-14 Alexander Larsson <alexl@redhat.com>
4556 * gio/gcontenttype.c (looks_like_text):
4557 Whitespace like tab, cr and lf do not make the
4560 2007-09-14 Alexander Larsson <alexl@redhat.com>
4562 * gio/gfileinputstream.[ch]:
4563 Add async get_file_info.
4565 2007-09-13 Alexander Larsson <alexl@redhat.com>
4567 * gio/goutputstream.c (g_output_stream_write_all):
4568 Allow NULL for bytes_written
4570 2007-09-13 Alexander Larsson <alexl@redhat.com>
4572 * gio/gmemoryinputstream.[ch]:
4573 Add accessors for data
4575 2007-09-13 Alexander Larsson <alexl@redhat.com>
4577 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4578 Don't crash if length is NULL