1 2008-07-16 Matthias Clasen <mclasen@redhat.com>
3 Bug 540616 – mem leak in filechooser button
5 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
6 the mount entry. Reported by Chrisitan Persch
8 2008-07-16 Matthias Clasen <mclasen@redhat.com>
10 * gfile.c: Small documentation fixes.
12 2008-07-15 Matthias Clasen <mclasen@redhat.com>
14 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
16 2008-07-08 Matthias Clasen <mclasen@redhat.com>
21 * gmount.c: Documentation improvements.
23 2008-07-08 Matthias Clasen <mclasen@redhat.com>
26 * gmount.[hc]: Add g_mount_guess_content_type().
28 2008-07-06 David Zeuthen <davidz@redhat.com>
31 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
32 is needed for easily handling adoption of foreign volumes by
33 out-of-process volume monitors (#541793)
35 2008-07-06 David Zeuthen <davidz@redhat.com>
37 * gvolumemonitor.[ch]:
38 * gunionvolumemonitor.c: Export the eject-button signal on the
39 volume monitor class (#541794).
41 2008-07-06 Matthias Clasen <mclasen@redhat.com>
43 * gappinfo.c: More doc tweaks
45 2008-07-05 Matthias Clasen <mclasen@redhat.com>
47 * gappinfo.c: Clarify some docs
49 2008-07-03 Matthias Clasen <mclasen@redhat.com>
51 * gdesktopappinfo.c: Fix a stupid mistake.
53 2008-07-02 Matthias Clasen <mclasen@redhat.com>
55 * === Released 2.17.3 ===
57 2008-07-02 Matthias Clasen <mclasen@redhat.com>
59 * gfilemonitor.c: Fix the build.
61 2008-07-02 Matthias Clasen <mclasen@redhat.com>
63 Bug 536160 – Add g_file_monitor()
66 * gfile.[hc]: Add g_file_monitor which can return either
67 a file or a directory monitor. Proposed by Behdad Esfahbod
69 2008-07-02 Matthias Clasen <mclasen@redhat.com>
71 536733 – gio build failure on Irix
73 * glocalfile.c: Use a configure check for structfs.f_bavail.
75 2008-07-02 Matthias Clasen <mclasen@redhat.com>
77 Bug 534639 – add g_desktop_app_info_new_from_keyfile
80 * gdesktopappinfo.[hc]: Add a function to create a
81 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
83 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
85 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
87 2008-07-01 Matthias Clasen <mclasen@redhat.com>
89 * gunixmounts.c: Fix a doc typo.
91 2008-07-01 Cody Russell <bratsche@gnome.org>
94 * gio/gwin32appinfo.c:
95 * gio/gwin32volumemonitor.c:
96 * gio/gwin32mount.c: Fixed some include problems.
98 2008-07-01 Cody Russell <bratsche@gnome.org>
102 Moved all relevant typedefs into these files.
105 Updated wrt added files.
107 Split types into separate file for easier maintainership. (#538564)
109 2008-06-30 Matthias Clasen <mclasen@redhat.com>
111 Bug 540331 – g_file_append_to () documentation: can return NULL
113 * gfile.c (g_file_append_to): Clarify docs.
116 2008-06-30 Matthias Clasen <mclasen@redhat.com>
118 Bug 539090 – g_content_type_from_mime_type() should unalias
120 * gcontentype.c (g_content_type_from_mime_type): Unalias.
121 Patch by Markus Bergman
123 2008-06-30 Matthias Clasen <mclasen@redhat.com>
125 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
128 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
129 on ppc and alpha. Reported by Mart Raudsepp
131 2008-06-29 Matthias Clasen <mclasen@redhat.com>
134 * tests/memory-output-stream.c: Add some tests for
137 2008-06-29 Matthias Clasen <mclasen@redhat.com>
139 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
142 * gmemoryoutputstream.c (array_resize): Handle truncation to
143 zero correctly. Reported by Akira Tagoh
145 2008-06-29 Matthias Clasen <mclasen@redhat.com>
147 * gmemoryoutputstream.c: Trivial doc fixes
149 2008-06-29 Matthias Clasen <mclasen@redhat.com>
151 Bug 540802 – g_list_prepend doesn't concat lists
153 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
154 one list to another. Pointed out by Jan Arne Petersen
156 2008-06-28 Michael Natterer <mitch@imendio.com>
158 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
160 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
162 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
163 to avoid problems with partial icon themes.
165 2008-06-17 Hans Breuer <hans@breuer.org>
167 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
168 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
169 access again on win32, see bug #538127
170 * giomodule.c : ensure GWin32VolumeMonitor is registered
171 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
172 * Makefile.am makefile.msc : updated
174 2008-06-16 Hans Breuer <hans@breuer.org>
176 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
177 and initialization in one step avoids c99ism
179 2008-06-16 Christian Persch <chpe@gnome.org>
182 * gio/gbufferedinputstream.c
184 * gio/gdatainputstream.c
185 * gio/gdesktopappinfo.c
187 * gio/gfileenumerator.c
188 * gio/gfileinputstream.c
189 * gio/gfileoutputstream.c
191 * gio/glocaldirectorymonitor.c
193 * gio/glocalfileenumerator.c
194 * gio/glocalfileinfo.c
195 * gio/glocalfilemonitor.c
196 * gio/glocalfileoutputstream.c
197 * gio/gmemoryinputstream.c
198 * gio/gmemoryoutputstream.c
199 * gio/goutputstream.c
200 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
203 2008-06-16 Tor Lillqvist <tml@novell.com>
205 Bug 538362 - Get Win32 icons back in the file chooser
207 * gcontenttype.c (g_content_type_get_icon): Look up the icon
208 corresponding to a file extension in the Registry. Patch by Hans
210 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
212 2008-06-16 Tor Lillqvist <tml@novell.com>
214 Patches by Hans Breuer:
216 * glocalfile.c (is_xp_or_later): Handle compiling against older
217 SDK headers with missing VerifyVersionInfo(). Conditioned on
218 _MSC_VER, but should probably use some better test.
219 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
220 uninitialised statfs_result variable on Win32.
222 2008-06-16 Michael Natterer <mitch@imendio.com>
224 * *.c: chain up unconditionally in finalize() and dispose(). Also
225 don't dereference these function pointers when calling them since
226 that has no meaning at all.
228 2008-06-16 Ross Burton <ross@burtonini.com>
231 Remove check for dispose implementation as it annoys Emmanuele.
233 2008-06-16 Ross Burton <ross@burtonini.com>
235 Bug 536252 – GFileEnumerator should allow access to the containing
241 Add g_file_enumerator_get_container() and a container writeable
242 construct-only property. Also shuffle around typedefs to make it
245 * glocalfileenumerator.c:
246 * glocalfileenumerator.h:
248 Instead of a string filename take a GFile in the constructor and
249 use it to set the container property.
254 2008-06-16 Matthias Clasen <mclasen@redhat.com>
256 * gfile.c: Make includes more uniform
258 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
260 * tests/live-g-file.c (sample_struct):
261 Use less fancy unicode filenames, so the test doesn't fail
262 on Mac OS X (#531476).
264 2008-06-12 Matthias Clasen <mclasen@redhat.com>
266 * === Released 2.17.2 ===
268 2008-06-12 Matthias Clasen <mclasen@redhat.com>
270 * === Released 2.17.1 ===
272 2008-06-11 A. Walton <awalton@gnome.org>
274 * tests/g-file.c (test_g_file_new_null):
275 Fix broken test case.
277 2008-06-11 Matthias Clasen <mclasen@redhat.com>
279 * pltcheck.sh: We use g_clear_error now.
281 2008-06-11 Matthias Clasen <mclasen@redhat.com>
283 * glocalfile.c (g_local_file_enumerate_children): Revert
284 an unintended change.
286 2008-06-11 Matthias Clasen <mclasen@redhat.com>
288 * gfile.c (g_file_replace_contents): Don't unref before the last use.
290 2008-06-10 Matthias Clasen <mclasen@redhat.com>
292 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
295 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
296 as icon for the desktop directory, also make user-home and
297 user-desktop the preferred icons.
299 2008-06-10 Matthias Clasen <mclasen@redhat.com>
302 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
303 to add a name to the front of the list.
305 2008-06-10 Matthias Clasen <mclasen@redhat.com>
307 Bug 537392 – Additional colon in xattr name
309 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
310 too. Reported by Alessandro Morandi
312 2008-06-10 Matthias Clasen <mclasen@redhat.com>
314 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
317 * glocalfile.c (get_fs_type): Add afs and autofs.
318 Patch by Danny Baumann.
320 2008-06-10 Matthias Clasen <mclasen@redhat.com>
322 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
324 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
325 is no parent. (Owen Taylor, patch by Christian Neumair)
327 2008-06-10 Paolo Borelli <pborelli@katamail.com>
329 * gfile.c (g_file_replace_contents): do not leak the output stream.
331 2008-06-10 Michael Natterer <mitch@imendio.com>
333 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
334 uninitialized memory as array index.
336 2008-06-10 Tor Lillqvist <tml@novell.com>
338 * gcontenttype.c (g_content_type_can_be_executable)
339 (g_content_type_get_icon) [Win32]: Add TODO comments.
341 2008-06-09 Matthias Clasen <mclasen@redhat.com>
343 * xdgmime/Makefile.am: Fix the build
345 2008-06-09 Matthias Clasen <mclasen@redhat.com>
347 * gcontenttype.c (g_content_type_get_icon): Use icons specified
348 in the shared mime database, if available.
350 * xdgmime/*: Sync with upstream. This brings support for
351 glob weights, generic icons, and changes the cache format to
354 2008-05-28 Michael Natterer <mitch@imendio.com>
356 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
357 the global CPPFLAGS now.
359 * tests/data-input-stream.c
360 * tests/data-output-stream.c
361 * tests/g-file-info.c
363 * tests/live-g-file.c
364 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
366 2008-05-27 Matthias Clasen <mclasen@redhat.com>
368 * === Released 2.17.0 ===
370 * tests/live-g-file.c: Clean up after the tests, so make distcheck
371 doesn't complain about leftover files.
373 2008-05-27 simon.zheng <simon.zheng@sun.com>
375 * glocalfile.c: (g_local_file_query_filesystem_info):
376 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
378 2008-05-26 Michael Natterer <mitch@imendio.com>
380 * gmemoryoutputstream.h: declare
381 g_memory_output_stream_get_data_size().
383 2008-05-26 Matthias Clasen <mclasen@redhat.com>
385 * tests/*: Make tests work
387 2008-05-26 Matthias Clasen <mclasen@redhat.com>
389 * gio.symbols: Add g_memory_output_stream_get_data_size.
391 2008-05-25 Ross Burton <ross@burtonini.com>
394 Fix typo in error message (#534764).
396 2008-05-25 Ross Burton <ross@burtonini.com>
399 Fix circular dependency loop for gioenumtypes.h (#534759).
401 2008-05-19 Hans Breuer <hans@breuer.org>
403 * Makefile.am : EXTRA_DIST += makefile.msc
405 2008-05-17 Matthias Clasen <mclasen@redhat.com>
408 * gcontenttype.c: (g_content_type_from_mime_type):
409 New function to create a content type from a mime type. (#527175,
412 2008-05-17 Matthias Clasen <mclasen@redhat.com>
414 Bug 532965 – Should not return filesystem::free for certain file systems
416 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
417 free space for ncpfs.
419 2008-05-17 Matthias Clasen <mclasen@redhat.com>
421 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
423 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
424 st_dev might be zero.
426 2008-05-16 Tor Lillqvist <tml@novell.com>
428 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
429 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
431 2008-05-13 Bastien Nocera <hadess@hadess.net>
433 * gfile.c (has_valid_scheme): A URI scheme must start with a
434 letter, even if later more characters are allowed (#532852)
436 2008-05-05 Michael Natterer <mitch@imendio.com>
438 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
439 code from being checked in that breaks the build of applications
440 which use G_DISABLE_SINGLE_INCLUDES.
442 * makegioalias.pl: make the alias file include "glib.h" instead of
445 * gio.symbols: whitespace change to force regeneration of the
446 alias file after above script change.
448 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
450 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
452 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
454 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
456 2008-04-28 David Zeuthen <davidz@redhat.com>
458 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
459 displaying mounts in a subdirectory not accessible to the
462 2008-04-22 Michael Natterer <mitch@imendio.com>
464 * Makefile.am: fix library versioning (it was 0.0.0).
466 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
468 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
469 Default disable all loggings.
470 * fen/fen-kernel.c: (printevent), (port_add_kevent),
471 (port_fetch_event_cb): Fixed two macro nits.
473 2008-04-16 Matthias Clasen <mclasen@redhat.com>
475 * xdgmime/xdgmime.c: Rework the timestamp checking code
476 to protect against duplicate directories in XDG_DATA_DIRS.
477 Fixes fd.o bug 12513, reported by Joe Shaw.
479 2008-04-16 Matthias Clasen <mclasen@redhat.com>
481 Partically revert the last commit after realizing that
482 xdg_mime_media_type_equal doesn't have to init at all.
485 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
487 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
489 2008-04-16 Matthias Clasen <mclasen@redhat.com>
491 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
492 reported by Joe Shaw and Federico Mena Quintero.
494 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
495 (xdg_mime_media_type_equal): Turn into a wrapper around the
498 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
499 functions throughout.
501 2008-04-16 Michael Meeks <michael.meeks@novell.com>
503 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
504 tolerate an empty TryExec= line without failing; nautilus used
505 to create launchers with these in previous versions. Fixes #528433
507 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
509 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
510 after name. Fixes #527132.
512 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
514 * gfile.c: (g_file_replace):
517 2008-04-07 Matthias Clasen <mclasen@redhat.com>
519 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
521 * gfile.c (file_copy_fallback): Fix the argument order. Patch
522 by Christian Kellner.
524 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
526 * gunixmounts.c: (g_unix_mount_guess_should_display):
527 Don't list the user directory as a mount, fix potential issue
528 when other users have a similar naming and don't special case the
529 gvfs mounts there since that's not required (#525866)
531 2008-03-31 Alexander Larsson <alexl@redhat.com>
533 * glocalfile.c (get_parent):
536 2008-03-31 A. Walton <awalton@svn.gnome.org>
538 * gfile.c (g_file_query_file_type):
539 Always return a GFileType enum value (#520715).
541 2008-03-31 Alexander Larsson <alexl@redhat.com>
543 * glocalfileenumerator.c:
544 Read readdir() info in chunks (of 1000) and sort
545 the chunks by inode before stat:ing.
546 This is a 20% performance increase in testing
547 gvfs-ls on /usr/bin with cold cache.
549 2008-03-31 Alexander Larsson <alexl@redhat.com>
551 * gmemoryoutputstream.c:
552 Clarify docs for g_memory_output_stream_get_size.
553 Add g_memory_output_stream_get_data_size.
555 2008-03-30 Matthias Clasen <mclasen@redhat.com>
559 * gfile.h: Add g_file_query_file_type convenience function
560 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
562 2008-03-30 Matthias Clasen <mclasen@redhat.com>
565 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
567 2008-03-28 A. Walton <awalton@svn.gnome.org>
569 * giomodule.c (_g_io_modules_ensure_loaded):
570 Adds GIO_EXTRA_MODULES environment variable support, closing bug
573 2008-03-28 Alexander Larsson <alexl@redhat.com>
576 (copy_stream_with_progress):
579 2008-03-28 Alexander Larsson <alexl@redhat.com>
582 (copy_stream_with_progress):
583 (file_copy_fallback):
584 Fallback to g_file_query_info for source size
585 if g_file_input_stream_query_info fails. (#524579)
587 2008-03-28 Alexander Larsson <alexl@redhat.com>
589 * glocalfile.c (g_local_file_move):
590 Reuse old string instead of adding new one.
592 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
594 * fen/*.[hc]: still copyright issue. I hate copyright.
596 2008-03-27 Alexander Larsson <alexl@redhat.com>
598 * glocalfile.c (g_local_file_move):
599 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
600 file over directory. This is according to the docs and what the move via
601 copy+remove fallback does.
603 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
605 * fen/*.[hc]: Updated copyright.
607 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
609 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
611 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
613 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
614 not emit attribute changed events when optimizing changed events.
615 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
618 2008-03-19 Matthias Clasen <mclasen@redhat.com>
620 * gmountoperation.[hc]: Small documentation additions
622 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
624 * gunixmounts.c: (guess_mount_type):
625 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
627 2008-03-19 Alexander Larsson <alexl@redhat.com>
630 (copy_stream_with_progress):
631 Bump block side for copy to 64k to minimize
632 overhead for low latency links. (#523015)
634 2008-03-16 Tor Lillqvist <tml@novell.com>
636 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
637 depend on gio.def on Windows.
639 2008-03-12 David Zeuthen <davidz@redhat.com>
643 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
645 2008-03-14 Alexander Larsson <alexl@redhat.com>
649 Avoid redudant tests (#521851)
650 Patch from Josselin Mouette
652 2008-03-14 Alexander Larsson <alexl@redhat.com>
655 (g_file_monitor_is_cancelled):
656 Fix C89 issue (#521672)
657 Patch from Jens Granseuer
659 2008-03-14 Alexander Larsson <alexl@redhat.com>
661 * fam/fam-helper.[ch]:
663 Shut down fam (including removing fam GSource) when
664 module is unloaded (#521513)
665 Patch from Joe Marcus Clarke
667 2008-03-14 Alexander Larsson <alexl@redhat.com>
670 (_g_io_modules_ensure_loaded):
673 2008-03-14 Alexander Larsson <alexl@redhat.com>
676 (g_local_file_query_filesystem_info):
677 Use right define name for f_fstypename member check
679 2008-03-14 Alexander Larsson <alexl@redhat.com>
682 * fen/Makefile.am: Added.
683 * fen/fen-data.[ch]: Added.
684 * fen/fen-dump.[ch]: Added.
685 * fen/fen-helper.[ch]: Added.
686 * fen/fen-kernel.[ch]: Added.
687 * fen/fen-missing.[ch]: Added.
688 * fen/fen-node.[ch]: Added.
689 * fen/fen-sub.[ch]: Added.
690 * fen/gfendirectorymonitor.[ch]: Added.
691 * fen/gfenfilemonitor.[ch]: Added.
693 Added Solaris FEN file notification backend.
694 Patch from Lin Ma <Lin.Ma@Sun.COM>
696 2008-03-13 Tor Lillqvist <tml@novell.com>
698 * Makefile.am: Actually use the gio.def file when linking the
699 library on Windows. Produce .lib library for Microsoft's toolchain
700 when possible. Install the .lib and .def file like for the other
703 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
705 * tests/live-g-file.c:
706 Include live-g-file in standard set of tests, making a temporary
707 directory in source structure.
709 Clean target directory before the tests (write mode only)
711 2008-03-12 Tor Lillqvist <tml@novell.com>
713 Bug 517419 - gio win32 directory monitor
714 Implementation by Vlad Grecescu.
717 * win32/gwin32directorymonitor.h
718 * win32/gwin32directorymonitor.c: New files.
720 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
722 * Makefile.am: Add the win32 subdirectory.
724 2008-03-12 Tor Lillqvist <tml@novell.com>
726 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
727 normal struct stat on Unix but struct _stati64 on Windows to have
728 access to 64-bit file size information. Use that instead of struct
729 stat in the functions declared here in this private header.
731 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
732 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
733 warnings about unused functions and variables. Don't set
734 meaningless attributes like inode numbers on Windows.
736 2008-03-12 Benjamin Otte <otte@gnome.org>
739 trim whitespace so gtk-doc groks the function name
741 2008-03-12 Tor Lillqvist <tml@novell.com>
743 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
744 returning FALSE, on Win32.
746 2008-03-11 Alexander Larsson <alexl@redhat.com>
749 * glocalfileinfo.[ch]:
750 Correctly implement can_trash by actually
751 looking for a trash dir, not just assuming
754 2008-03-10 Matthias Clasen <mclasen@redhat.com>
756 * === Released 2.16.1 ===
758 2008-03-11 Alexander Larsson <alexl@redhat.com>
761 Fix crashes in new constructor and properties code
763 2008-03-10 Murray Cumming <murrayc@murrayc.com>
765 * gfile.c: Minor spelling correction in documentation:
766 existance -> existence.
768 2008-03-10 Matthias Clasen <mclasen@redhat.com>
770 * === Released 2.16.0 ===
772 2008-03-10 Matthias Clasen <mclasen@redhat.com>
774 * gio.symbols: Remove g_file_contains_file here, too.
776 2008-03-10 Matthias Clasen <mclasen@redhat.com>
778 * gthemedicon.c: Add properties to make bindings happy. (#517676,
779 Samuel Cormier-Iijima)
781 2008-03-08 Tor Lillqvist <tml@novell.com>
783 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
786 2008-03-07 Alexander Larsson <alexl@redhat.com>
789 (g_local_file_query_filesystem_info):
790 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
791 Patch from Jasper Lievisse Adriaanse
793 2008-03-06 Tor Lillqvist <tml@novell.com>
795 * gfileinfo.h: Correct milliseconds to microseconds in the doc
796 comments for the *_USEC attributes.
798 2008-03-06 Alexander Larsson <alexl@redhat.com>
800 * gfile.c (g_file_query_exists):
801 Add g_return_val_if_fail check (#520700)
803 2008-03-06 Alexander Larsson <alexl@redhat.com>
808 * gunionvolumemonitor.c:
811 * tests/live-g-file.c:
812 * xdgmime/xdgmimecache.c:
813 Fix sparse warnings (#519489)
815 2008-03-05 Alexander Larsson <alexl@redhat.com>
818 Make cancellation threadsafe (i.e.
819 guarantee its only done once, and always
822 * glocaldirectorymonitor.c:
823 Make sure we the monitor lives while the
824 mounts_changed callback is being called (#520484)
826 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
828 * gbufferedinputstream.c: Fix typo in parameter
831 2008-03-04 Alexander Larsson <alexl@redhat.com>
834 Remove deprecated symbols we kept for one release.
836 2008-03-04 Murray Cumming <murrayc@murrayc.com>
839 * goutputstream.c: Tiny documentation corrections.
841 2008-03-03 Alexander Larsson <alexl@redhat.com>
843 * gunionvolumemonitor.c:
845 Fix the adopt_orphan_mount vfunc to take a
846 volume_monitor reference in an ABI compat way.
847 This change is not API compat, but the added
848 arg is not used in the only user of this vfunc, so
849 all we get is a harmless warning in gvfs (#520169)
851 2008-03-01 Benjamin Otte <otte@gnome.org>
854 clarify docs for g_file_delete().
856 2008-02-29 Alexander Larsson <alexl@redhat.com>
860 Make sure empty files get text/plain type (#518720)
862 2008-02-27 Alexander Larsson <alexl@redhat.com>
868 (g_unix_volume_mount):
869 Add missing GMountMountFlags argument
871 2008-02-26 Alexander Larsson <alexl@redhat.com>
874 (g_local_file_delete):
875 Handle filesystems (like ntfs-3g) that return EEXIST instead
876 of ENOTEMPTY (#518816)
878 2008-02-25 Matthias Clasen <mclasen@redhat.com>
880 * === Released 2.15.6 ===
882 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
884 * gfile.c (g_file_find_enclosing_mount):
885 * ginputstream.c (g_input_stream_set_pending):
886 * glocalfile.c (g_local_file_find_enclosing_mount):
887 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
888 * goutputstream.c (g_output_stream_set_pending):
890 Fixup translator comments (#518578).
892 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
894 * gfile.c (g_file_find_enclosing_mount):
896 * glocalfile.c (g_local_file_find_enclosing_mount):
899 Fix a few typos in translator comments and documentation.
901 2008-02-25 Alexander Larsson <alexl@redhat.com>
908 Add translator comments (#518578)
910 2008-02-25 Alexander Larsson <alexl@redhat.com>
913 Reintroduce g_file_contains_file, keep around for one
914 unstable release cycle to avoid crashing to many apps.
915 Make sure to delete after release.
917 2008-02-25 Alexander Larsson <alexl@redhat.com>
920 Remove deprecated g_file_contains_file.
922 2008-02-25 Alexander Larsson <alexl@redhat.com>
925 Emit actual change signals in an idle handler.
926 This avoids reentrance and locking problems in
927 the file notification backends.
929 2008-02-25 Alexander Larsson <alexl@redhat.com>
932 (g_unix_mount_guess_should_display):
933 Remove type guessing, instead just display
934 mounts in /media and in ~/.
936 2008-02-25 Alexander Larsson <alexl@redhat.com>
939 Make new strings reuse old ones.
941 2008-02-25 Alexander Larsson <alexl@redhat.com>
944 Implement trashing and filesystem::readonly for win32 (#517235)
945 Patch from Yevgen Muntyan
947 2008-02-23 Matthias Clasen <mclasen@redhat.com>
949 * gfileinfo.h: Documentation fixes.
951 2008-02-22 Alexander Larsson <alexl@redhat.com>
953 * gcontenttype.c (g_content_type_get_icon):
954 Look at old-style gnome mime icon names too, as many
955 have not moved to the new style.
957 2008-02-21 Matthias Clasen <mclasen@redhat.com>
959 * *.c: Correct the @include in for section docs.
961 2008-02-21 David Zeuthen <davidz@redhat.com>
963 * glocalfileinfo.c: (_g_local_file_info_get):
965 (g_content_type_get_icon): Implement this function by
966 moving bits from glocalfileinfo.c
967 (g_content_type_get_description): Unalias before getting
968 description (#517687)
970 * gfile.c: (g_file_class_init),
971 (g_file_query_filesystem_info_async),
972 (g_file_query_filesystem_info_finish),
973 (query_filesystem_info_data_free),
974 (query_filesystem_info_async_thread),
975 (g_file_real_query_filesystem_info_async),
976 (g_file_real_query_filesystem_info_finish):
977 * gfile.h: Implement async version of
978 g_file_query_filesystem_info()
980 * gfileinfo.h: Add new attributes for filesystem::use-preview
982 * gio.symbols: Update
984 * gthemedicon.c: (g_themed_icon_append_name):
985 * gthemedicon.h: Add new new convenience function.
987 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
988 (get_mounts), (get_volumes), (get_connected_drives),
989 (get_volume_for_uuid), (get_mount_for_uuid),
990 (g_union_volume_monitor_init), (populate_union_monitor),
991 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
992 (g_volume_monitor_adopt_orphan_mount):
994 * gvolumemonitor.h: Use recursive locks so it's safe for volume
995 monitor implementations to call into the main volume monitor. Also
996 separate object initialization and volume monitor initialization
997 such that non-native volume monitors can properly adopt their
1000 2008-02-21 Alexander Larsson <alexl@redhat.com>
1005 2008-02-21 Alexander Larsson <alexl@redhat.com>
1008 Add more documentation about how GFiles work (from #517086)
1010 2008-02-21 Alexander Larsson <alexl@redhat.com>
1014 Add new g_file_has_prefix that does the same as g_file_contains_file.
1015 Deprecate g_file_contains_file and add a macro that converts
1016 it to g_file_has_prefix.
1017 The reason for this change is that the contains_file() name seems to
1018 imply that this does more work than what it does, but its really only
1019 a name match (from #517086)
1024 Update to match the above change.
1026 2008-02-20 Benjamin Otte <otte@gnome.org>
1028 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1029 (g_file_eject_mountable):
1030 even more cases of not returning in error path
1032 2008-02-20 Benjamin Otte <otte@gnome.org>
1034 * gfile.c: (g_file_mount_mountable):
1035 return from function in error path.
1037 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1040 Remove trailing coma in GMountMountFlags struct
1042 2008-02-18 Alexander Larsson <alexl@redhat.com>
1046 * glocalfileoutputstream.c:
1047 Use g_unlink/g_rename instead of unlink/rename;
1048 do not pass raw filenames to g_set_error. (#517239)
1049 Patch from Yevgen Muntyan.
1051 2008-02-18 Alexander Larsson <alexl@redhat.com>
1054 * glocalfileoutputstream.c:
1055 Open files with O_BINARY on windows. (#517140)
1057 2008-02-14 Alexander Larsson <alexl@redhat.com>
1059 * glocalfileoutputstream.c:
1060 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1062 2008-02-14 Alexander Larsson <alexl@redhat.com>
1065 Copy permissions with file on copy (#514084)
1066 This is what cp does and makes sure e.g. the
1067 exec permissions are kept.
1068 Its kinda weird in that it keeps the permission bits
1069 the same while the uid and gid are different. However
1070 the new uid is the user so its not a security issue,
1071 and I've heard no complaints about cp on this issue.
1073 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1075 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1077 2008-02-13 Alexander Larsson <alexl@redhat.com>
1079 * inotify/inotify-path.c:
1080 Define IN_ONLYDIR if not in header (#515346)
1082 2008-02-12 Alexander Larsson <alexl@redhat.com>
1084 * tests/live-g-file.c:
1087 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1089 * === Released 2.15.5 ===
1091 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1093 * gio.symbols: Add g_mount_mount_flags_get_type.
1095 2008-02-11 Alexander Larsson <alexl@redhat.com>
1098 (g_file_info_set_attribute_mask):
1099 (g_file_attribute_matcher_matches_id):
1100 Correctly handle NULL GAttributeMatcher meaning
1101 matches nothing. (Fixes #513492)
1103 2008-02-11 Alexander Larsson <alexl@redhat.com>
1108 Added GMountMountFlags enum and added a flags
1109 argument to all mount calls.
1111 This is an API/ABI change for future extensibility,
1112 as I think we will need at least an
1113 inhibit-autorun flag (the panel needs this).
1114 There are no flags defined yet though.
1116 2008-02-11 Alexander Larsson <alexl@redhat.com>
1119 Added new standard::description attribute.
1120 Requested by Vincent, and useful for both
1123 2008-02-11 Alexander Larsson <alexl@redhat.com>
1125 * gdesktopappinfo.c:
1128 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1130 * *.c: Documentation additions
1132 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1134 * gappinfo.h: Formatting cleanup
1135 * gappinfo.c: Fix up docs.
1137 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1139 * gunixmounts.c: Consistently use getmntent_r() and fall
1140 back to getmntent(). (#515492)
1142 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1144 * gbufferedinputstream.c:
1146 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1148 * tests/data-input-stream.c:
1149 * tests/data-output-stream.c: Portability fixes.
1151 2008-02-08 Alexander Larsson <alexl@redhat.com>
1156 Add g_volume_should_automount.
1159 2008-02-07 Tor Lillqvist <tml@novell.com>
1161 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1162 Win32, too Unix-specific.
1164 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1166 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1167 a local plt if the compiler doesn't support what we want. Bug #514702
1169 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1171 reviewed by: <delete if not using a buddy>
1174 * gunixinputstream.c:
1175 * gunixoutputstream.c:
1177 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1179 * tests/Makefile.am:
1180 * tests/live-g-file.c:
1181 * tests/live-g-file.txt:
1182 New GIO testing module working over real data
1184 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1186 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1187 Fallback to rename() if link() is not available
1188 (when no support on target filesystem)
1190 2008-02-06 Michael Natterer <mitch@imendio.com>
1192 * gfileinfo.c (g_file_info_get_icon): replace
1193 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1195 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1197 * gfile.c (g_file_create):
1198 Documentation update of error codes
1200 2008-02-06 Alexander Larsson <alexl@redhat.com>
1202 * gdesktopappinfo.c:
1203 Update to use both mimeapps.list and
1204 defaults.list as discussed on xdg list.
1206 2008-02-06 Benjamin Otte <otte@gnome.org>
1209 * gfilenamecompleter.c:
1210 Fix some typos in the documentation.
1212 2008-02-06 Alexander Larsson <alexl@redhat.com>
1214 * glocalfile.c (g_local_file_trash):
1215 Don't succeed with trash if newly created
1216 trash dir has the wrong owner. (#514696)
1218 2008-02-05 Alexander Larsson <alexl@redhat.com>
1220 * glocalfile.c (g_local_file_move):
1221 Don't spew warnings when destination is not
1224 2008-02-03 Hans Breuer <hans@breuer.org>
1226 * makefile.msc : update
1228 2008-02-01 Michael Natterer <mitch@imendio.com>
1230 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1231 return value of xdg_mime_list_mime_parents() to a variable of the
1234 2008-02-01 Alexander Larsson <alexl@redhat.com>
1236 * gappinfo.c (g_app_info_launch_uris):
1237 Actually call the launch_uris method, not
1240 2008-02-01 Alexander Larsson <alexl@redhat.com>
1242 * gdesktopappinfo.c (g_desktop_app_info_equal):
1243 Ensure appinfos with no id but same pointer value
1246 2008-02-01 Alexander Larsson <alexl@redhat.com>
1248 * gappinfo.c (g_app_info_launch_default_for_uri):
1251 2008-02-01 Alexander Larsson <alexl@redhat.com>
1255 Add g_app_info_launch_default_for_uri utility
1258 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1260 * gdesktopappinfo.c:
1261 Doc fix for g_app_info_get_default_for_uri_scheme ()
1264 2008-01-30 Alexander Larsson <alexl@redhat.com>
1267 Add doc comment about uris vs GFiles to
1270 * gdesktopappinfo.c:
1271 Ensure uris passed to g_app_info_launch_uris()
1272 are not roundtriped through GFile (as that
1273 may be slightly destructive for e.g. mailto: links)
1275 2008-01-30 Alexander Larsson <alexl@redhat.com>
1277 * tests/data-input-stream.c:
1278 * tests/data-output-stream.c:
1279 C89 fixes from Jens Granseuer (#512849)
1281 2008-01-30 Alexander Larsson <alexl@redhat.com>
1284 Fix gamin/fam difference build issue. (#509419)
1286 2008-01-29 Alexander Larsson <alexl@redhat.com>
1289 * gdesktopappinfo.c:
1290 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1292 2008-01-29 Alexander Larsson <alexl@redhat.com>
1294 * gdesktopappinfo.c:
1295 * gdesktopappinfo.h:
1296 giomodule-priv.h include moved to .c file.
1298 2008-01-29 Alexander Larsson <alexl@redhat.com>
1300 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1301 Remove unused prio/name fields.
1303 2008-01-29 Alexander Larsson <alexl@redhat.com>
1305 * gcontenttype.c (looks_like_text):
1306 Don't treat whitespace as control chars.
1308 2008-01-29 Alexander Larsson <alexl@redhat.com>
1310 * gdesktopappinfo.c:
1311 Lazily create the desktop files for appinfos created
1312 by g_app_info_create_from_commandline() when needed
1313 for mime associations. This allows run-time use
1314 of GAppInfo object without creating unnecessary
1317 2008-01-29 Alexander Larsson <alexl@redhat.com>
1320 Added new symbols to gio.symbols
1322 2008-01-29 Alexander Larsson <alexl@redhat.com>
1325 Add g_file_query_default_handler utility to easily look up
1326 the GAppInfo that handles a file.
1328 * gdesktopappinfo.[ch]:
1330 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1333 Remove unused function
1335 2008-01-29 Alexander Larsson <alexl@redhat.com>
1337 * gfileenumerator.c:
1338 Mention need to free returned value in
1339 g_file_enumerator_next_files_finish docs.
1340 Fix leak if g_file_enumerator_next_files_finish()
1343 2008-01-29 Alexander Larsson <alexl@redhat.com>
1346 (_g_unix_content_type_get_parents):
1347 Use list_parents, not get_parents from xdgmime, because
1348 the later doesn't use the cache.
1350 * xdgmime/xdgmimecache.c:
1351 (_xdg_mime_cache_list_mime_parents):
1352 Don't list the same type as parent multiple times.
1354 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1356 * === Released 2.15.4 ===
1358 2008-01-28 Alexander Larsson <alexl@redhat.com>
1361 Register local vfs with prio 0.
1364 Remove old name and prio class members
1366 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1368 * tests/g-file.c: Disable some tests that are failing in
1369 the absence of a http backend.
1371 2008-01-28 Alexander Larsson <alexl@redhat.com>
1375 Add registration hooks for extension points.
1376 Register the gio extension points.
1378 * fam/gfamdirectorymonitor.c:
1379 * fam/gfamfilemonitor.c:
1380 * glocaldirectorymonitor.[ch]:
1381 * glocalfilemonitor.[ch]:
1382 * gnativevolumemonitor.h:
1383 * gunionvolumemonitor.c:
1384 * gunixvolumemonitor.c:
1387 * inotify/ginotifydirectorymonitor.c:
1388 * inotify/ginotifyfilemonitor.c:
1389 Use the extension points registration instead
1390 of g_type_children().
1392 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1395 * gvolume.[hc]: Document new API.
1397 * gfile.c (g_file_copy_async): Fix docs
1399 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1401 * gbufferedinputstream.c:
1403 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1406 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1408 * glocalfile.c: Avoid trivial differences in translatable strings.
1410 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1412 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1413 build with gcc 3.4 (#509419)
1415 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1417 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1418 (#509994, Murray Cumming)
1420 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1422 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1423 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1424 this allows big jobs to be executed in chunks, instead of blocking
1425 the main loop for a long time.
1427 * gsimpleasyncresult.c:
1428 * giofile.c: Adapt callers.
1430 2008-01-25 Alexander Larsson <alexl@redhat.com>
1432 * gdesktopappinfo.c:
1433 Implement changes discussed on xdg list.
1434 Now we can add supported mimetypes by just using defaults.list
1435 We can also remove associations in defaults.list.
1437 2008-01-25 Alexander Larsson <alexl@redhat.com>
1439 * gdesktopappinfo.c:
1440 Don't make local copy of desktop file
1441 for mimetype changes if the file already
1442 supports the new mimetype.
1444 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1448 * gbufferedinputstream.c:
1449 * glocalfile.c: String improvements. (#511966,
1450 Theppitak Karoonboonyanan)
1452 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1454 * gioscheduler.h: Expand docs a bit.
1456 2008-01-24 Alexander Larsson <alexl@redhat.com>
1459 Add g_drive_get_identifier and
1460 g_drive_enumerate_identifiers
1463 Add g_volume_get_identifier and
1464 g_volume_enumerate_identifiers
1470 Implement identifiers for unix backend
1472 2008-01-24 Alexander Larsson <alexl@redhat.com>
1477 Add g_file_copy_async() (#511580)
1478 Based on patch from Carlos Garcia Campos
1480 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1482 * gioscheduler.c: Some documentation additions.
1484 2008-01-22 Alexander Larsson <alexl@redhat.com>
1486 * gdesktopappinfo.c:
1487 (g_desktop_app_info_new):
1488 Don't leak basename.
1490 2008-01-22 Alexander Larsson <alexl@redhat.com>
1492 * gdesktopappinfo.c:
1493 (g_desktop_app_info_new_from_filename):
1496 2008-01-22 Alexander Larsson <alexl@redhat.com>
1498 * glocalfileinfo.c (get_thumbnail_attributes):
1501 2008-01-22 Alexander Larsson <alexl@redhat.com>
1504 (canonicalize_filename):
1505 Canonicalize paths that start with more than
1509 (compare_two_files):
1510 (test_g_file_new_for_path):
1513 2008-01-22 Alexander Larsson <alexl@redhat.com>
1516 Allow UTF-8 in file:// parse names.
1518 * tests/Makefile.am:
1519 * tests/data-input-stream.c:
1520 * tests/data-output-stream.c:
1521 * tests/g-file-info.c:
1523 Added a bunch of tests from Tomas Bzatek
1525 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1527 * === Released 2.15.3 ===
1529 2008-01-21 Alexander Larsson <alexl@redhat.com>
1531 * gfileinputstream.[ch]:
1532 * gfileoutputstream.[ch]:
1534 Remove duplicated GSeekable functions. (#509990)
1535 Just use the g_seekable_xxx() calls instead.
1537 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1540 * gvolumemanager.c: Whitespace cleanups.
1542 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1543 Use the right mode when creating the file.
1545 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1547 * gfileenumerator.c:
1548 * gfileinputstream.c:
1550 * goutputstream.c: Documentation: Fixed minor typos
1551 and added more mentions of specific _finish() functions.
1553 2008-01-21 Alexander Larsson <alexl@redhat.com>
1555 * inotify/Makefile.am:
1556 * inotify/inotify-helper.c:
1557 * inotify/inotify-kernel.c:
1558 * inotify/inotify-path.c:
1559 * inotify/local_inotify.h: Removed.
1560 * inotify/local_inotify_syscalls.h: Removed.
1561 Removed the included copies of the inotify
1562 headers. We now only use the <sys/inotify.h>
1563 header which exists on modern systems.
1564 This fixes problems on ARM and SH5 (#510448)
1565 but is also generally much cleaner and future
1566 safe. For instance, if other OSes add support
1567 for inotify it should "just work".
1569 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1571 * inotify/*.c: Coding style fixes.
1572 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1573 for the 1/4 Hz timer.
1575 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1578 * gfilemonitor.[hc]:
1579 * gmemoryinputstream.c:
1580 * gmemoryoutputstream.c:
1581 * gmountoperation.c:
1582 * gthemedicon.c: Documentation updates
1584 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1586 * gfile.c: documentation: Fixed more minor
1589 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1591 * gmount.c: (g_mount_remount): documentation:
1592 Mention g_mount_remount_finish() instead of
1593 g_mount_unmount_finish().
1595 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1599 * gfile.c: Fixed some minor typos in the
1602 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1604 * gio/gvolumemonitor.c:
1605 (g_volume_monitor_get_connected_drives):
1606 (g_volume_monitor_get_volumes):
1607 (g_volume_monitor_get_mounts): Documentation:
1608 Clarify the ownership of the regurn GLists.
1610 2008-01-17 Alexander Larsson <alexl@redhat.com>
1613 Add the async find_enclosing_mount version
1614 to the header file too.
1616 2008-01-17 Alexander Larsson <alexl@redhat.com>
1619 Add async version of find_enclosing_mount
1620 with default implementation.
1622 2008-01-17 Alexander Larsson <alexl@redhat.com>
1627 Allow calls to implementation of copy and write
1628 even if the type of the file implementations is
1629 different. This can be used to implement native
1630 upload and download calls in a vfs.
1633 (g_local_file_move):
1634 Protect against the case where move is called
1635 with one file not being local.
1637 Make sure we call the progress callback once
1638 in the native move operation so that the caller
1639 knows how many bytes were copied.
1641 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1644 * gdatainputstream.c:
1646 * gfileoutputstream.c:
1651 * gunixmounts.c: Corrected some typos in the documentation:
1652 occured -> occurred.
1653 its -> it's (where appropriate).
1655 2008-01-16 Alexander Larsson <alexl@redhat.com>
1659 Add g_file_query_exists (#508771)
1661 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1666 * gvolume.c: For async functions that have no non-async
1667 version, document that the GAsyncReadyCallback may be NULL.
1670 2008-01-15 Alexander Larsson <alexl@redhat.com>
1672 * gmemoryinputstream.c:
1673 * gmemoryoutputstream.c:
1674 Don't do pointer arithmetic on void * (#508602)
1675 Patch from Kazuki IWAMOTO
1677 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1679 * === Released 2.15.2 ===
1681 2008-01-14 Alexander Larsson <alexl@redhat.com>
1683 * gfile.c (g_file_monitor_file):
1684 Don't set error here, since we fallback to polling monitor.
1686 2008-01-14 Alexander Larsson <alexl@redhat.com>
1689 (g_file_monitor_directory):
1690 (g_file_monitor_file):
1691 Add GError to file monitor calls
1693 * glocaldirectorymonitor.c:
1694 * glocaldirectorymonitor.h:
1696 * glocalfilemonitor.c:
1697 * glocalfilemonitor.h:
1699 Update for above change
1701 2008-01-14 Alexander Larsson <alexl@redhat.com>
1705 Handle root correctly in g_file_get_relative_path (#508719)
1707 2008-01-14 Alexander Larsson <alexl@redhat.com>
1710 Clean up docs and example for GAsyncResult (#508074)
1712 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1714 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1715 and correct some spelling mistakes. Bug #508108.
1717 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1719 * glocalfileinfo.c: Add a comment.
1721 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1723 * gfileinfo.c: GFileInfo description: Mention
1724 how to actually set attributes in a GFile and how to discover
1725 which attributes are settable. Bug #508378.
1727 2008-01-10 A. Walton <awalton@svn.gnome.org>
1729 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1730 (g_app_info_get_default_for_type):
1731 Check for NULL content types.
1733 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1735 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1737 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1739 * gfile.c: *_async() functions: Several small corrections
1740 to the documentation, mostly correcting copy/paste errors
1741 and improving some sentences.
1743 2008-01-09 Dan Winship <danw@gnome.org>
1745 * glocalfile.c (get_unique_filename): x86_64 fix
1747 2008-01-09 Alexander Larsson <alexl@redhat.com>
1752 Add g_unix_mount_guess_should_display and use
1753 for unix volume monitor backend.
1754 This means we more or less show what the
1755 gnome-vfs backend did.
1756 Based on patch from Padraig O'Briain
1758 2008-01-09 Alexander Larsson <alexl@redhat.com>
1762 Add g_themed_icon_new_with_default_fallbacks
1765 Use default fallbacks for icons
1767 2008-01-09 Alexander Larsson <alexl@redhat.com>
1770 * gmountoperation.[ch]:
1771 Change the API a bit so that unhandled methods
1772 get reported via the reply, rather than by
1773 the signal emission return value. This is because
1774 some handlers can't know this immediately without
1775 doing I/O, and this is an async operation that
1778 2008-01-09 Alexander Larsson <alexl@redhat.com>
1781 * fam/gfamdirectorymonitor.c:
1782 * fam/gfamfilemonitor.c:
1783 Fix double free crash (#508224)
1784 Patch from Joe Marcus Clarke
1786 008-01-07 Matthias Clasen <mclasen@redhat.com>
1788 * === Released 2.15.1 ===
1790 2008-01-07 Alexander Larsson <alexl@redhat.com>
1792 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1793 Fix warning (#507835)
1795 2008-01-07 Alexander Larsson <alexl@redhat.com>
1798 Pass --internal to glib-genmarshal
1801 * gmountoperation.c:
1803 Use better types for signal arguments (#507822)
1805 2008-01-07 Alexander Larsson <alexl@redhat.com>
1808 Build test subdir after .
1809 Remove gdirectorymonitor.[ch]
1811 * gdirectorymonitor.[ch]:
1815 Remove GDirectoryMonitor and make
1816 GFileMonitor the baseclass for both file and
1817 directory monitors. Lift the more generic
1818 rate limiting code from GDirectoryMonitor
1822 * fam/gfamdirectorymonitor.[ch]:
1823 * inotify/ginotifydirectorymonitor.[ch]:
1824 * inotify/inotify-helper.c:
1825 * glocaldirectorymonitor.[ch]:
1828 Update for the removed GDirectoryMonitor.
1830 * gmemoryoutputstream.c:
1831 Remove ununsed variable
1833 2008-01-07 Alexander Larsson <alexl@redhat.com>
1835 * gmemoryinputstream.c:
1836 Translate error strings
1839 * gmemoryoutputstream.[ch]:
1840 New implementation that avoids using GByteArray
1841 in implementation and API. (#506377)
1843 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1845 * tests/*: Add a test for memory input streams.
1847 * Makefile.am: Add tests to SUBDIRS.
1849 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1851 * glocalfilemonitor.c:
1852 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1855 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1857 * gdesktopappinfo.c: Fix a docs typo.
1859 * gfileattribute.c: Add information about extended attributes
1860 to the documentation. (#505058)
1862 2008-01-04 Alexander Larsson <alexl@redhat.com>
1865 * gmountoperation.c:
1866 Use the right type (uint) for the ask_password signal.
1868 2008-01-04 Alexander Larsson <alexl@redhat.com>
1873 Add g_app_info_supports_files()
1874 Remove desktop arg from g_app_info_should_show().
1876 * gdesktopappinfo.[ch]:
1877 Implement g_app_info_supports_files() and new should_show()
1878 Add g_desktop_app_info_set_desktop_env() to set the desktop
1879 for should_show(). (This will be set by gtk+ later)
1881 2008-01-04 Alexander Larsson <alexl@redhat.com>
1884 * gmemoryinputstream.[ch]:
1885 Improve API so that you can use multiple chunks
1886 of memory and custom destroy functions. (#506374)
1888 2008-01-03 Alexander Larsson <alexl@redhat.com>
1891 Handle NULL attribute matchers safely, as we return this
1892 for empty attribute matcher strings.
1894 2008-01-03 Alexander Larsson <alexl@redhat.com>
1896 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1897 Add /usr/local to list of internal mountpoints
1899 2008-01-03 Alexander Larsson <alexl@redhat.com>
1902 Check for HAVE_LCHOWN (#505887)
1904 2008-01-03 Alexander Larsson <alexl@redhat.com>
1908 Add define for selinux context attribute.
1909 Fix missing : -> :: namespace separator change
1910 Fix missing _ -> - name change for xattr-sys.
1913 2008-01-03 Alexander Larsson <alexl@redhat.com>
1916 Link to libglib and libgobject directly (#504879)
1917 Patch from Sebastien Bacher
1919 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1921 * gfile.c: Expanded the g_file_new_for_commandline_arg
1922 description a bit, based on the code and the docs of the
1923 other g_file_new_for_* functions.
1925 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1927 * gfilemonitor.h: Fixed typo in docs.
1929 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1931 Updates to GIO documentation. (#506395, Mikael Hermansson)
1933 * gcontenttype.c: Describe memory management for return value of
1934 g_content_types_get_registered(). Missing piece from #505815.
1935 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1936 GVolume, GDrive, GMounts, which hopefully gives the user less
1937 confusions when using this API. Following explainations from
1938 Alexander Larsson on gtk-devel-list.
1940 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1942 * gfileinfo.c: Expand the long description.
1944 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1947 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1948 fix builds with --disable-visibility. (#500273, Christian Persch)
1950 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1952 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1953 in the list of returned app infos.
1955 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1957 * gappinfo.c: Fix a cross-reference
1959 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1961 * gfileinputstream.c:
1962 * gfileoutputstream.c:
1966 * gdesktopappinfo.c:
1968 * gfileinfo.c: Documentation updates.
1970 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1972 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1975 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1977 * gcontenttype.c (g_content_types_get_registered): Don't return
1978 freed memory (#505815, Mikael Hermansson)
1980 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1982 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1983 used to detect statbuf->st_blocks. (#505042)
1985 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1987 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1988 environment handling. (#504829, Cosimo Cecchi)
1990 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1992 * gappinfo.c: Doc improvements
1994 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1997 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1999 * === Released 2.15.0 ===
2001 2007-12-20 Hans Breuer <hans@breuer.org>
2003 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2004 with symbols gwin32appinfo.obj, added gmount.obj
2005 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2007 2007-12-20 Alexander Larsson <alexl@redhat.com>
2013 * gfilenamecompleter.c:
2016 * gpollfilemonitor.c:
2017 File attribute renames:
2019 fs:: -> filesystem::
2020 id::fs -> id::filesystem
2022 2007-12-20 Alexander Larsson <alexl@redhat.com>
2031 Add GMountUnmountFlags to all unmount and
2033 Add g_mount_remount() call.
2035 2007-12-20 Alexander Larsson <alexl@redhat.com>
2037 * gvfs.c (get_default_vfs):
2038 Fix unused variable warning
2040 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2042 * pltcheck.sh: Update
2044 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2046 * gunionvolumemonitor.c:
2047 * gunixmount.c: Remove C99 comments
2049 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2051 * gio.symbols: Add some missing symbols
2053 2007-12-19 Alexander Larsson <alexl@redhat.com>
2056 Make g_io_modules_load_all_in_directory not unuse
2057 loaded modules so that users of it can do stuff
2059 Init internal "module" types.
2060 Initialize static prio and name for types so that
2061 we don't have to load modules to get it.
2063 * gnativevolumemonitor.h:
2065 Move is_supported to parent class so that
2066 non-native monitors can avoid being initialized
2067 too. (For instance GDaemonVolumeMonitor if we're
2068 not using GDaemonVfs.)
2070 * glocaldirectorymonitor.[ch]:
2071 * glocalfilemonitor.[ch]:
2072 * gunionvolumemonitor.c:
2073 * gunixvolumemonitor.c:
2075 Find plugins using the static prio+name to
2076 avoid unnecessarily loading the modules.
2078 2007-12-19 Alexander Larsson <alexl@redhat.com>
2083 2007-12-19 Alexander Larsson <alexl@redhat.com>
2085 * gunionvolumemonitor.c:
2086 Store the native type as GType, not class so that
2087 we can unload it. But still avoid unnecessarily
2090 2007-12-19 David Zeuthen <davidz@redhat.com>
2092 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2093 add signals 'disconnected' and 'eject-button' on GDrive. Add
2094 signal 'removed' on GVolume and 'unmounted' on GMount.
2096 * gdrive.c: (g_drive_base_init):
2098 * gfile.c: (g_file_mount_mountable),
2099 (g_file_mount_enclosing_volume):
2102 * gmount.c: (g_mount_base_init):
2104 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2105 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2106 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2110 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2112 * *.c: Fix up includes in the section docs.
2114 2007-12-17 Alexander Larsson <alexl@redhat.com>
2116 * gnativevolumemonitor.h:
2117 * gunionvolumemonitor.c:
2118 * gunixvolumemonitor.c:
2119 Add is_supported() to GNativeVolumeMonitorClass so
2120 that we can avoid having to create an object to see
2121 if the backend is supported at runtime.
2122 Also add name member and an env var to pick a specific
2123 volume monitor backend.
2127 Add cancellable to _g_mount_get_for_mount_path()
2129 * glocaldirectorymonitor.c:
2130 * glocalfilemonitor.c:
2131 Avoid loading and unloading modules while sorting.
2133 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2136 * gunixmounts.[hc]: Namespace waste reduction, move some
2137 g_get_unix_mount functions to the g_unix_mount namespace.
2140 * gunixvolumemonitor.c:
2142 * glocaldirectorymonitor.c: Update all callers.
2144 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2146 2007-12-17 Alexander Larsson <alexl@redhat.com>
2149 Add doc comments about what GFile operations are
2150 guaranteed to not block.
2152 2007-12-17 Alexander Larsson <alexl@redhat.com>
2155 Add missing #ifdef fixing OSX build.
2156 (#503334, patch from Richard Hult)
2158 2007-12-14 David Zeuthen <davidz@redhat.com>
2162 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2163 (g_mount_eject), (g_mount_eject_finish):
2165 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2166 (get_volume_for_uuid), (get_mount_for_uuid),
2167 (g_union_volume_monitor_class_init),
2168 (get_default_native_type_with_exclude), (get_default_native_type),
2169 (get_native_type), (update_native_type),
2170 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2171 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2172 (g_unix_mount_can_eject), (eject_unmount_cb),
2173 (eject_unmount_read_error), (eject_unmount_do),
2174 (g_unix_mount_unmount), (g_unix_mount_eject),
2175 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2176 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2177 (g_unix_mount_point_guess_can_eject):
2179 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2180 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2181 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2182 (g_unix_volume_mount), (g_unix_volume_eject),
2183 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2184 * gunixvolumemonitor.c: (get_volume_for_uuid),
2185 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2187 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2188 (g_volume_eject), (g_volume_eject_finish):
2190 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2191 (g_volume_monitor_get_mount_for_uuid):
2194 Provide eject() on both GMount and GVolume and utility functions
2195 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2196 ejected. Introduce the concept of UUID's and wire it into GVolume
2197 and GMount and provide API on GVolumeMonitor to find such
2198 instances. Also handle the case where an external
2199 GNativeVolumeMonitor fails to initialize. Lock around the
2200 _g_get_mount_for_mount_path() function such that volume monitor
2201 implementations won't have to do locking themselves.
2203 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2205 * gdesktopappinfo.c:
2211 * gvolume.h: Documentation updates
2213 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2216 * gfile.h: Doc updates
2218 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2221 * gdesktopappinfo.c: Use hash table iterators.
2223 2007-12-14 Alexander Larsson <alexl@redhat.com>
2226 * gfileattribute.[ch]:
2227 * gfileattribute-priv.h:
2228 Move GFileAttributeValue to a private header, as
2232 Make set_attribute take a type + a pointer instead
2233 of a GFileAttributeValue.
2236 Fix up for above changes.
2237 Add g_file_info_get_attribute_data to get
2238 all info in one call, g_file_info_get_attribute_status
2239 to get the status and g_file_info_get_attribute_as_string.
2243 * glocalfileinfo.[ch]:
2247 Make _guess_type static.
2249 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2252 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2253 made mkenums and friends use temporary files to avoid leaving
2254 empty generated files on failure (#503470).
2256 2007-12-14 Alexander Larsson <alexl@redhat.com>
2258 * gmountoperation.h:
2261 2007-12-14 Alexander Larsson <alexl@redhat.com>
2265 * gfileattribute.[ch]:
2268 * glocalfileoutputstream.c:
2269 * gmountoperation.[ch]:
2270 * goutputstream.[ch]:
2271 Clean up all flags enums to not have _FLAGS in them
2272 Make the names of some of the enums better.
2277 2007-12-14 Michael Natterer <mitch@imendio.com>
2279 * gio.symbols: fix g_io_scheduler symbol names.
2281 2007-12-14 Alexander Larsson <alexl@redhat.com>
2287 * gbufferedinputstream.h:
2288 * gbufferedoutputstream.h:
2291 * gdatainputstream.h:
2292 * gdataoutputstream.h:
2293 * gdesktopappinfo.h:
2294 * gdirectorymonitor.h:
2298 * gfileenumerator.h:
2301 * gfileinputstream.h:
2303 * gfilenamecompleter.h:
2304 * gfileoutputstream.h:
2305 * gfilterinputstream.h:
2306 * gfilteroutputstream.h:
2314 * gmemoryinputstream.h:
2315 * gmemoryoutputstream.h:
2317 * gmountoperation.h:
2320 * gsimpleasyncresult.h:
2322 * gunixinputstream.h:
2324 * gunixoutputstream.h:
2328 * inotify/Makefile.am:
2329 Only allow including <gio/gio.h> from apps
2331 2007-12-14 Alexander Larsson <alexl@redhat.com>
2333 * gioscheduler.[ch]:
2334 * gsimpleasyncresult.c:
2335 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2336 Split out the send_to_mainloop call into two versions instead
2337 of having the block argument.
2339 2007-12-13 Alexander Larsson <alexl@redhat.com>
2341 * gcancellable.[ch]:
2343 * gbufferedinputstream.c:
2344 * gfileenumerator.c:
2345 * gfileinputstream.c:
2346 * gfileoutputstream.c:
2350 g_push/pop_current_cancellable ->
2351 g_cancellable_push/pop_current
2353 2007-12-13 Alexander Larsson <alexl@redhat.com>
2357 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2359 2007-12-13 Alexander Larsson <alexl@redhat.com>
2361 * gmountoperation.h:
2362 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2364 2007-12-12 Alexander Larsson <alexl@redhat.com>
2367 Fix race condition when freeing proxy in
2368 g_io_job_send_to_mainloop().
2370 2007-12-12 Alexander Larsson <alexl@redhat.com>
2376 Make attribute namespace separator "::" instead of ":".
2377 Use - instead of _ as separator in attribute names.
2379 2007-12-12 Alexander Larsson <alexl@redhat.com>
2381 * gbufferedinputstream.h:
2382 * gbufferedoutputstream.h:
2383 * gdatainputstream.h:
2384 * gdataoutputstream.h:
2385 * gdirectorymonitor.h:
2386 * gfileenumerator.h:
2387 * gfileinputstream.h:
2389 * gfileoutputstream.h:
2390 * gfilterinputstream.h:
2391 * gfilteroutputstream.h:
2393 * glocalfileinputstream.h:
2394 * glocalfileoutputstream.h:
2395 * gmemoryinputstream.h:
2396 * gmemoryoutputstream.h:
2397 * gnativevolumemonitor.h:
2399 * gunixinputstream.h:
2400 * gunixoutputstream.h:
2403 s/parent/parent_instance/ in GObjects
2405 2007-12-12 Alexander Larsson <alexl@redhat.com>
2410 No need for padding for interfaces
2412 2007-12-12 Alexander Larsson <alexl@redhat.com>
2416 * gbufferedinputstream.c:
2417 * gbufferedoutputstream.c:
2420 * gdatainputstream.[ch]:
2421 * gdesktopappinfo.c:
2422 * gdirectorymonitor.c:
2424 * gfileattribute.[ch]:
2427 * gfileinputstream.h:
2428 * gfilemonitor.[ch]:
2429 * gfileoutputstream.[ch]:
2430 * gfilterinputstream.h:
2431 * gfilteroutputstream.h:
2434 * gloadableicon.[ch]:
2435 * gmemoryinputstream.c:
2436 * gmountoperation.c:
2438 Fix up a bunch of details in the docs.
2443 2007-12-11 David Zeuthen <davidz@redhat.com>
2445 Rework how volumes, drives and volume monitoring is
2446 done. Previosly the model was
2448 GDrive <1-1> GVolume
2450 where a GDrive instance represented a mount point and a GVolume
2451 instance represented a mounted file system. This patch changes it
2454 GDrive <1-N> GVolume <1-1> GMount
2456 where GMount now serves the purpose of the old GVolume and the new
2457 GVolume serves the purpose of the old GDrive. In addition the new
2458 GDrive interface is used to represent a collection of GVolume
2459 instances (typically partitions) and also contains utility to query
2460 the state of the physical drive the GDrive object represents (such
2461 as checking for media, polling the drive, ejecting the media etc.).
2463 Also implement mounting and unmounting in the Unix volume monitor
2464 backend. A subquent patch will introduce GDrive support for ejection
2468 * gdrive.c: (g_drive_is_media_check_automatic),
2469 (g_drive_is_media_removable), (g_drive_has_media),
2470 (g_drive_can_poll_for_media), (g_drive_eject),
2471 (g_drive_eject_finish), (g_drive_poll_for_media),
2472 (g_drive_poll_for_media_finish):
2474 * gfile.c: (g_file_find_enclosing_mount):
2477 * glocaldirectorymonitor.c:
2478 (g_local_directory_monitor_constructor), (mounts_changed):
2479 * glocalfile.c: (get_mount_info),
2480 (g_local_file_find_enclosing_mount),
2481 (g_local_file_file_iface_init):
2482 * gnativevolumemonitor.h:
2483 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2484 (get_connected_drives), (g_union_volume_monitor_class_init),
2485 (child_volume_added), (child_volume_removed),
2486 (child_volume_changed), (child_mount_added), (child_mount_removed),
2487 (child_mount_pre_unmount), (child_mount_changed),
2488 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2489 (g_union_volume_monitor_remove_monitor),
2490 (_g_mount_get_for_mount_path):
2491 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2492 (guess_system_internal), (_g_get_unix_mounts),
2493 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2494 (g_unix_mount_free), (g_unix_mount_compare),
2495 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2496 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2497 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2498 (type_to_icon), (g_unix_mount_guess_name),
2499 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2500 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2501 (_resolve_symlink), (_resolve_dev_root):
2503 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2504 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2505 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2506 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2507 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2508 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2509 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2510 (g_unix_volume_volume_iface_init):
2512 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2513 (get_mounts), (get_volumes), (get_connected_drives),
2514 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2515 (mountpoints_changed), (mounts_changed),
2516 (g_unix_volume_monitor_init),
2517 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2518 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2519 * gunixvolumemonitor.h:
2520 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2521 (g_volume_mount), (g_volume_mount_finish):
2523 * gvolumemonitor.c: (g_volume_monitor_class_init),
2524 (g_volume_monitor_get_connected_drives),
2525 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2528 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2530 * gmountoperation.h (GPasswordFlags): Close the gap
2532 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2534 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2536 * gdesktopappinfo.[hc]: Remove _-prefixes
2538 2007-12-10 Tor Lillqvist <tml@novell.com>
2540 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2543 2007-12-10 Alexander Larsson <alexl@redhat.com>
2545 * gfile.c (g_file_set_display_name):
2546 Don't hardcode '/' (#502727)
2548 2007-12-09 Hans Breuer <hans@breuer.org>
2550 * makefile.msc : follow lib naming convention
2551 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2552 for user and group name, tested with ../tests/gio-ls
2554 2007-12-09 A. Walton <awalton@svn.gnome.org>
2556 * gdesktopappinfo.c:
2562 * gfileenumerator.c:
2567 * gmemoryinputstream.c:
2568 * gmemoryoutputstream.c:
2570 * gsimpleasyncresult.c:
2571 More documentation cleanup and filling in missing information, bringing
2572 GIO to 99% symbol coverage.
2574 2007-12-08 Hans Breuer <hans@breuer.org>
2576 [gio compiles and links on win32, not sure how much already works]
2577 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2578 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2579 base on win32 API; prefer g_lstat() over lstat(); instead of
2580 localtime_r() use an all GLib implementation on win32;
2581 get_mount_info() still needs a win32 specifc implementation
2582 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2583 win32_get_file_user_info to get owner/group info without uid/gid
2584 * glocalfileinputstream.c : include <io.h> on win32
2585 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2586 definition, use g_win32_ftruncate() for G_OS_WIN32
2587 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2588 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2589 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2590 * makefile.msc : updated
2592 2007-12-07 Alexander Larsson <alexl@redhat.com>
2594 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2595 Avoid warning spew if error == NULL
2597 2007-12-07 Alexander Larsson <alexl@redhat.com>
2600 Update docs wrt etags
2602 2007-12-06 Alexander Larsson <alexl@redhat.com>
2605 Include sys/types.h for dev_t (#501919)
2607 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2611 Make abicheck and pltcheck pass.
2613 2007-12-05 Alexander Larsson <alexl@redhat.com>
2616 * giomodule-priv.h: Added.
2617 * glocaldirectorymonitor.c:
2618 * glocalfilemonitor.c:
2619 * gunionvolumemonitor.c:
2621 Actually add the declaration of _g_io_modules_ensure_loaded
2623 2007-12-05 Alexander Larsson <alexl@redhat.com>
2625 * gdatainputstream.c:
2630 * glocaldirectorymonitor.c:
2631 * glocalfilemonitor.c:
2632 * gunionvolumemonitor.c:
2634 Make g_io_modules_ensure_loaded a private function and
2635 don't pass in the dirname. This means we can do magic
2636 directory finding in the win32 version.
2637 Export the actual load-modules-in-directory code so that
2638 gvfs can reuse that.
2640 2007-12-05 Alexander Larsson <alexl@redhat.com>
2642 * gbufferedinputstream.c:
2643 * gbufferedoutputstream.c:
2646 * gfileenumerator.[ch]:
2647 * gfileinputstream.c:
2648 * gfileoutputstream.[ch]:
2649 * gfilterinputstream.c:
2650 * gfilteroutputstream.c:
2651 * ginputstream.[ch]:
2653 * glocalfileenumerator.c:
2654 * glocalfileinputstream.c:
2655 * glocalfileoutputstream.c:
2656 * gmemoryinputstream.c:
2657 * gmemoryoutputstream.c:
2658 * goutputstream.[ch]:
2661 * gunixinputstream.c:
2662 * gunixoutputstream.c:
2663 Rename all struct members named:
2664 read, write, close, truncate, or mount
2665 to foo_fn, as these are reserved names
2666 and could be defined as macros in libc.
2669 2007-12-04 Alexander Larsson <alexl@redhat.com>
2672 (g_output_stream_close):
2673 Only call flush if non-null.
2675 2007-11-30 Dan Winship <danw@gnome.org>
2677 * ginputstream.c (g_input_stream_set_pending): Make this take a
2678 GError and return a gboolean, and do the "outstanding operation"
2679 check (and the "stream is already closed" check) itself.
2680 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2682 * goutputstream.c (g_output_stream_set_pending)
2683 (g_output_stream_clear_pending): Likewise
2685 * gbufferedinputstream.c:
2686 * gfileinputstream.c:
2687 * gfileoutputstream.c: Update for that
2689 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2690 Like g_simple_async_report_error_in_idle, but takes a GError
2691 rather than building one.
2693 2007-11-30 Dan Winship <danw@gnome.org>
2695 * goutputstream.c: Don't cheat and unset the "pending" flag around
2696 inner calls. Instead, call the class method directly rather than
2697 the wrapper function that checks "pending"
2699 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2701 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2703 2007-12-03 Hans Breuer <hans@breuer.org>
2705 [start of port to win32/msvc]
2706 * gcancellable.c : HAVE_UNIST_H and _pipe()
2707 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2708 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2709 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2711 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2712 * glocalvfs.c : use HAVE_PWD_H
2713 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2714 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2715 * Makefile.am : added to EXTRA_DIST
2717 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2719 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2722 2007-12-03 Alexander Larsson <alexl@redhat.com>
2725 Handle OSX style xattrs API (#500506)
2727 2007-12-03 Alexander Larsson <alexl@redhat.com>
2731 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2733 2007-12-02 A. Walton <awalton@svn.gnome.org>
2737 Documentation accuracy fixes.
2739 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2741 * gioenumtypes.c.template: Fix typo.
2743 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2745 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2747 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2749 * gdirectorymonitor.c:
2750 * gfilemonitor.c: Add properties
2752 * gbufferedoutputstream.c: Don't mark buffer-size property
2755 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2757 * gbufferedoutputstream.c: Add auto-grow property.
2759 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2761 * *.c: Unify the capitalization of section headings.
2763 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2765 * gmountoperation.c: Add properties
2767 * gdatainputstream.c: Turn byte-order and newline-type into
2770 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2772 * gioenumtypes.[hc].template: Templates for enum registration
2774 * Makefile.am: Generate gioenumtypes.[hc]
2776 * gio.h: Include gioenumtypes.h
2778 * gfile.h: Add some explicit nicks.
2780 * gio.symbols: Add new symbols
2782 * pltcheck.sh: Adjust
2784 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2786 * *.c: Explain etags and link to the explanation
2788 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2790 * *.c: Explain I/O priority.
2792 * *.c: More coding style fixes.
2794 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2796 * gasyncresult.c: Add another paragraph to the intro,
2797 adjust coding style of example.
2799 2007-11-29 A. Walton <awalton@svn.gnome.org>
2802 Fixes unknown meaning in GAppLaunchContext docs.
2804 Clarify asynchronous ops.
2806 Fix entity tag docs.
2809 Provides missing gtk-doc section, fixes API docs slighly.
2810 * gsimpleasyncresult.c:
2811 Fill in missing info in docs.
2812 * gunixinputstream.c:
2813 * gunixoutputstream.c:
2814 Be more expressive in short description.
2816 Remove gtk-doc stubs for non-public API.
2818 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2820 * *.c: Coding style fixups
2822 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2824 * inotify/inotify-helper.c: Don't export the lock from libgio.
2826 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2829 * abicheck.sh: Fix copy-and-paste leftovers
2831 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2833 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2835 2007-11-28 Alexander Larsson <alexl@redhat.com>
2839 Removed unnecessary file
2841 * gdesktopappinfo.[ch]:
2844 * glocaldirectorymonitor.[ch]:
2846 * glocalfileenumerator.[ch]:
2847 * glocalfileinputstream.[ch]:
2848 * glocalfilemonitor.[ch]:
2849 * glocalfileoutputstream.[ch]:
2851 * gnativevolumemonitor.c:
2852 * gpollfilemonitor.[ch]:
2853 * gunionvolumemonitor.[ch]:
2856 * gunixvolumemonitor.[ch]:
2859 * inotify/ginotifydirectorymonitor.[ch]:
2860 * inotify/ginotifyfilemonitor.[ch]:
2861 * inotify/inotify-helper.c:
2862 Append _ to all internal functions
2866 Export symbols needed for modules
2868 2007-11-28 Alexander Larsson <alexl@redhat.com>
2871 * abicheck.sh: Added.
2872 * makegioalias.pl: Added.
2873 * pltcheck.sh: Added.
2874 * gio.symbols: Added.
2877 Initial work on adding symbol handling.
2880 Correct ifdef guard name
2883 * inotify/Makefile.am:
2884 * xdgmime/Makefile.am:
2885 Include toplevel Makefile.decl
2887 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2889 * gcontenttype.c: Move doc comments to the unix section.
2891 * *.[hc]: More trivial doc corrections.
2893 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2895 * gpollfilemonitor.c:
2899 * gdesktopappinfo.c:
2904 * gdatainputstream.c:
2905 * gdatainputstream.h:
2906 * gdataoutputstream.c:
2907 * gdataoutputstream.h:
2908 * gfileinfo.h: Doc cleanups
2910 2007-11-28 Andre Klapper <a9016009@gmx.de>
2912 * gdesktopappinfo.c: Fix a typo.
2914 2007-11-27 Andre Klapper <a9016009@gmx.de>
2916 * glocalfileoutputstream.c: Fix a typo.
2918 2007-11-27 Alexander Larsson <alexl@redhat.com>
2921 Don't include removed headers
2923 2007-11-27 Alexander Larsson <alexl@redhat.com>
2926 * gsocketinputstream.[ch]: Removed.
2927 * gsocketoutputstream.[ch]: Removed.
2928 * gunixinputstream.[ch]: Added.
2929 * gunixoutputstream.[ch]: Added.
2930 Renamed GSocket*Stream to GUnix*Stream and made
2931 it unix-only, since its not really only for sockets
2932 and it only works on unix (but is highly useful there).
2934 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2940 * gbufferedinputstream.c:
2941 * gbufferedinputstream.h:
2942 * gbufferedoutputstream.c:
2943 * gbufferedoutputstream.h:
2947 * gdatainputstream.c:
2948 * gdatainputstream.h:
2949 * gdataoutputstream.c:
2950 * gdataoutputstream.h:
2951 * gdirectorymonitor.c:
2952 * gdirectorymonitor.h:
2959 * gfileenumerator.c:
2960 * gfileenumerator.h:
2965 * gfileinputstream.c:
2966 * gfileinputstream.h:
2969 * gfilenamecompleter.c:
2970 * gfilenamecompleter.h:
2971 * gfileoutputstream.c:
2972 * gfileoutputstream.h:
2973 * gfilterinputstream.c:
2974 * gfilterinputstream.h:
2975 * gfilteroutputstream.c:
2976 * gfilteroutputstream.h:
2989 * glocalfileoutputstream.c:
2990 * gmemoryinputstream.c:
2991 * gmemoryinputstream.h:
2992 * gmemoryoutputstream.c:
2993 * gmemoryoutputstream.h:
2994 * gmountoperation.c:
2995 * gmountoperation.h:
2998 * gpollfilemonitor.c:
3001 * gsimpleasyncresult.c:
3002 * gsimpleasyncresult.h:
3003 * gsocketinputstream.c:
3004 * gsocketinputstream.h:
3005 * gsocketoutputstream.c:
3006 * gsocketoutputstream.h:
3013 * gunixvolumemonitor.c:
3022 Bumps documentation to 93% symbol coverage, touching most
3023 of the public files. Fixes broken function documentation prototypes.
3024 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3025 gtk-doc headers in private files.
3027 2007-11-27 Jürg Billeter <j@bitron.ch>
3029 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3030 (g_buffered_input_stream_read_byte):
3031 * gbufferedinputstream.h:
3032 New functions for efficient access to buffer and simple single byte
3035 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3036 (g_data_input_stream_read_until):
3037 * gdatainputstream.h:
3038 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3039 read_until with multiple stop chars.
3041 2007-11-27 Alexander Larsson <alexl@redhat.com>
3045 * inotify/Makefile.am:
3046 Use the user-specified giomoduledir
3048 2007-11-27 Alexander Larsson <alexl@redhat.com>
3052 Add catch-all gio.h header
3053 Don't install gdummyfile.h
3055 2007-11-26 Alexander Larsson <alexl@redhat.com>
3057 * Makefile.am (gioinclude_HEADERS):
3058 Remove trailing whitespace
3060 2007-11-26 Alexander Larsson <alexl@redhat.com>
3062 Merge gio-standalone into glib
3064 2007-11-25 Christian Kellner <gicmo@gnome.org>
3066 * gio/goutputstream.c:
3067 Fix small mistake in the docs.
3069 2007-11-21 Christian Persch <chpe@gnome.org>
3071 * gio/glocalfile.c: (g_local_file_trash):
3072 Convert filenames to UTF-8 for GError.
3073 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3074 as per xdg base dir spec.
3076 2007-11-21 Christian Persch <chpe@gnome.org>
3078 * gio/gdesktopappinfo.c:
3079 Use that g_key_file_to_data cannot fail.
3081 Use stock defines for the key file group and key names.
3084 2007-11-21 Alexander Larsson <alexl@redhat.com>
3087 (copy_stream_with_progress):
3088 Make sure we do a final progress callback with
3089 the full total size.
3091 2007-11-21 Alexander Larsson <alexl@redhat.com>
3094 Export g_file_copy_attributes
3095 Remove padding as its not needed for interfaces
3097 2007-11-20 Alexander Larsson <alexl@redhat.com>
3102 Add G_IO_ERROR_WOULD_MERGE for
3103 copy/move dir on dir with overwrite.
3105 2007-11-20 Alexander Larsson <alexl@redhat.com>
3108 * gio/glocalfileinfo.c:
3109 Add COPY_NAME (this is an optional
3110 non-modified utf8 version of the name) that
3113 2007-11-20 Alexander Larsson <alexl@redhat.com>
3115 * gio/glocalfileenumerator.c:
3116 Report errors as GIOError, not GFileError
3118 2007-11-16 Alexander Larsson <alexl@redhat.com>
3120 * gio/glocalfileoutputstream.c:
3121 * gio/gwin32appinfo.c:
3122 Fix typos in strings.
3123 Patch from Luca Ferretti <elle.uca@libero.it>
3125 2007-11-15 Alexander Larsson <alexl@redhat.com>
3128 Post release version bump
3130 === gio-standalone 0.1.2 ===
3132 2007-11-15 Alexander Larsson <alexl@redhat.com>
3134 * docs/reference/gio/Makefile.am:
3135 Fix up distcheck by removing weird
3141 2007-11-14 Alexander Larsson <alexl@redhat.com>
3143 * gio/gdesktopappinfo.c:
3144 * gio/glocaldirectorymonitor.c:
3146 * gio/glocalfileinfo.c:
3147 * gio/inotify/inotify-sub.c:
3148 * programs/gio-cat.c:
3149 * programs/gio-copy.c:
3150 * programs/gio-info.c:
3151 * programs/gio-ls.c:
3152 * programs/gio-monitor-dir.c:
3153 * programs/gio-monitor-file.c:
3154 * programs/gio-mount.c:
3155 * programs/gio-move.c:
3156 * programs/gio-rm.c:
3157 * programs/gio-save.c:
3158 * programs/gio-trash.c:
3159 Leak fixes from Kjartan Maraas
3161 2007-11-14 Alexander Larsson <alexl@redhat.com>
3163 * gio/fam/fam-helper.c:
3165 * gio/glocalfileinfo.c:
3169 * gio/inotify/inotify-diag.c:
3170 * gio/inotify/inotify-kernel.c:
3171 Various code cleanups from Kjartan Maraas
3173 2007-11-14 Alexander Larsson <alexl@redhat.com>
3175 * gio/gioscheduler.c:
3177 Set up threadpool so that we cache 2 unused
3178 idle threads for at 15 secs. This means we
3179 will reuse thread-local data (like dbus connections)
3182 2007-11-14 Alexander Larsson <alexl@redhat.com>
3184 * gio/fam/fam-helper.c:
3185 * gio/fam/gfamdirectorymonitor.c:
3186 * gio/fam/gfamfilemonitor.c:
3188 * gio/gcontenttype.c:
3189 * gio/gdatainputstream.c:
3190 * gio/gdataoutputstream.c:
3194 * gio/gfileattribute.h:
3195 * gio/gfileenumerator.c:
3197 * gio/ginputstream.c:
3200 * gio/glocalfileinfo.c:
3201 * gio/goutputstream.c:
3202 * gio/gpollfilemonitor.c:
3203 * gio/gsimpleasyncresult.c:
3204 * gio/gunixmounts.c:
3205 * gio/gunixmounts.h:
3206 * gio/inotify/ginotifydirectorymonitor.c:
3207 * gio/inotify/ginotifyfilemonitor.c:
3208 * gio/inotify/inotify-diag.c:
3209 * gio/inotify/inotify-kernel.c:
3210 * gio/inotify/inotify-path.c:
3212 * gio/test-streams.c:
3213 * programs/gio-info.c:
3214 * programs/gio-monitor-dir.c:
3215 * programs/gio-monitor-file.c:
3216 Various code cleanups from Kjartan Maraas
3218 2007-11-13 Alexander Larsson <alexl@redhat.com>
3221 Handle the uri-scheme calls for dummy files
3223 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3225 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3226 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3227 to avoid clash with the C++ keyword.
3229 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3231 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3232 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3234 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3236 * gio/glocaldirectorymonitor.c:
3237 * gio/glocalfilemonitor.c:
3238 * gio/gunionvolumemonitor.c:
3239 Don't use g_once_init_*() for initializations that could fail and
3240 could leave the initialization variable set to 0 but use GOnce.
3241 This prevents a deadlock on the second call when trying to create
3242 a monitor and no monitor type is available. Thanks to Sven Herzberg
3245 2007-11-11 Sven Herzberg <sven@imendio.com>
3247 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3248 #ifdef (make it work on MacOS X again)
3250 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3252 Fixes Changelog for last two commits (sorry guys).
3254 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3256 * gio/gbufferedinputstream.c:
3257 * gio/gdatainputstream.c:
3259 * gio/gfileoutputstream.c:
3260 * gio/gfilterinputstream.c:
3261 * gio/glocalfileinputstream.c:
3264 More consistency fixes in g*stream.c files.
3265 Significant clean of gfile's documentation, filling in of
3266 asynchronous operations documentation.
3268 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3270 * gio/gasyncresult.c:
3271 * gio/gbufferedinputstream.c:
3272 * gio/gbufferedoutputstream.c:
3273 * gio/gcancellable.c:
3274 * gio/gcontenttype.c:
3275 * gio/gdatainputstream.c:
3276 * gio/gdataoutputstream.c:
3277 * gio/gdesktopappinfo.c:
3280 * gio/gfileattribute.c:
3281 * gio/gio/gfileenumerator.c:
3283 * gio/gfileinputstream.c:
3284 * gio/gfilemonitor.c:
3285 * gio/gfileoutputstream.c:
3286 * gio/ginputstream.c:
3288 * gio/gioscheduler.c:
3289 * gio/gloadableicon.c:
3290 * gio/glocalfileoutputstream.c:
3291 * gio/gmemoryoutputstream.c:
3292 * gio/gmountoperation.c:
3293 * gio/goutputstream.c:
3295 * gio/gsimpleasyncresult.c:
3296 * gio/gunionvolumemonitor.c:
3297 * gio/gunixmounts.c:
3298 * gio/gunixvolume.c:
3302 * gio/gvolumemonitor.c:
3303 Updated documentation stubs, working towards consistency and
3306 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3308 * gio/gmemoryoutputstream.c:
3309 * gio/gmemoryoutputstream.h:
3310 Change g_memory_output_stream_set_free_on_close() to
3311 g_memory_output_stream_set_free_data() as this makes more sense and
3312 is more consistent with GMemoryInputStream.
3314 2007-11-07 Alexander Larsson <alexl@redhat.com>
3321 Change how we find the default vfs so that
3322 we can handle a gvfs failing to init
3324 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3326 * gio/gbufferedoutputstream.c:
3327 * gio/gdatainputstream.c:
3328 * gio/gdataoutputstream.c:
3329 * gio/gfileinputstream.c:
3330 * gio/gfileoutputstream.c:
3331 * gio/gfilterinputstream.c:
3332 * gio/gfilteroutputstream.c:
3333 * gio/ginputstream.c:
3334 * gio/gmemoryinputstream.c:
3335 * gio/gmemoryoutputstream.c:
3336 * gio/goutputstream.c:
3337 * gio/gsimpleasyncresult.c:
3338 * gio/gsocketinputstream.c:
3339 * gio/gsocketoutputstream.c:
3340 Add guards to the remaining public functions, add a TODO for
3341 an unimplemented function and remove some useless guards.
3343 2007-11-07 Alexander Larsson <alexl@redhat.com>
3346 Autoconf checks for the various types of
3347 getpwuid_r and getgrgid_r
3349 * gio/glocalfileinfo.c:
3350 Use the autoconf checks from above
3352 2007-11-07 Alexander Larsson <alexl@redhat.com>
3355 (g_local_file_query_filesystem_info):
3356 Some fixes for the statvfs case
3358 2007-11-07 Alexander Larsson <alexl@redhat.com>
3361 (g_local_file_query_filesystem_info):
3362 Pick the "best" of statfs / statvfs for the system
3363 if both are availible.
3365 2007-11-07 Alexander Larsson <alexl@redhat.com>
3367 Solaris fixes from Halton.Huo@Sun.COM:
3374 * gio/glocalfileinfo.c:
3375 Fix for solaris definition of getpwuid_r
3377 * gio/test-streams.c:
3378 Use G_GNUC_PRETTY_FUNCTION
3380 2007-11-07 Alexander Larsson <alexl@redhat.com>
3382 * gio/gdesktopappinfo.c:
3383 (update_default_list):
3384 Remove double semicolon.
3385 Patch from Jens Granseuer
3387 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3389 * docs/reference/gio/gio-sections.txt:
3390 * gio/gbufferedinputstream.c:
3391 * gio/gbufferedinputstream.h:
3392 * gio/gdatainputstream.c:
3393 * gio/gfileenumerator.c:
3394 * gio/gioscheduler.c:
3395 * gio/gunionvolumemonitor.c:
3397 * programs/gio-save.c:
3398 Fix typo: availible -> available. Unfortuntely this breaks API
3399 and ABI as g_buffered_input_stream_get_available() was renamed.
3401 * gio/gunixmounts.c:
3402 * gio/gbufferedinputstream.c:
3403 Add guards for public functions.
3405 2007-11-06 Ross Burton <ross@openedhand.com>
3407 * docs/reference/gio/Makefile.am:
3408 Fix invalid += usage which automake 1.10 doesn't like.
3410 2007-11-06 Alexander Larsson <alexl@redhat.com>
3413 (g_app_launch_context_class_init):
3416 Patch from Ross Burton
3418 2007-11-06 Alexander Larsson <alexl@redhat.com>
3421 Post release version bump
3423 === gio-standalone 0.1.1 ===
3425 2007-11-06 Alexander Larsson <alexl@redhat.com>
3428 Bump version to 0.1.1
3430 * gio/gsimpleasyncresult.c:
3431 (g_simple_async_result_set_from_error):
3432 Remove bogus g_return_if_fail
3434 2007-11-06 Alexander Larsson <alexl@redhat.com>
3437 The name is gio-standalone
3440 Add top src/builddir to includedir
3442 2007-11-06 Alexander Larsson <alexl@redhat.com>
3444 * docs/reference/gio/gio-sections.txt:
3446 * gio/gbufferedinputstream.c:
3447 * gio/gbufferedoutputstream.c:
3448 * gio/gcancellable.c:
3449 * gio/gdatainputstream.h:
3450 * gio/gdataoutputstream.c:
3451 * gio/gdataoutputstream.h:
3452 * gio/gdirectorymonitor.c:
3454 * gio/gfileattribute.c:
3455 * gio/gfileattribute.h:
3456 * gio/gfileenumerator.c:
3457 * gio/gfileenumerator.h:
3460 * gio/gfileinputstream.h:
3461 * gio/gfilemonitor.c:
3462 * gio/gfileoutputstream.h:
3463 * gio/glocalfilemonitor.h:
3464 * gio/glocalfileoutputstream.h:
3465 * gio/gmemoryinputstream.c:
3466 * gio/gmemoryoutputstream.c:
3467 * gio/gmountoperation.c:
3468 * gio/goutputstream.c:
3469 * gio/goutputstream.h:
3471 * gio/gsimpleasyncresult.c:
3472 * gio/gunixmounts.c:
3473 * gio/gunixmounts.h:
3475 * gio/inotify/inotify-helper.c:
3476 Fix gtk-doc warnings
3478 Patch from Ross Burton
3480 2007-11-06 Alexander Larsson <alexl@redhat.com>
3482 * gio/gfilenamecompleter.c:
3483 (g_filename_completer_get_completions):
3486 * gio/gunixvolume.c:
3487 Remove unused function
3489 Patches from Ross Burton
3491 2007-11-06 Alexander Larsson <alexl@redhat.com>
3496 Padding not needed for interfaces
3498 2007-11-06 Alexander Larsson <alexl@redhat.com>
3500 * gio/gfilemonitor.c:
3504 Make giotypes.h an internal file
3507 * gio/gbufferedinputstream.h:
3508 * gio/gbufferedoutputstream.h:
3509 * gio/gcancellable.h:
3510 * gio/gdatainputstream.h:
3511 * gio/gdataoutputstream.h:
3512 * gio/gdirectorymonitor.c:
3513 * gio/gdirectorymonitor.h:
3518 * gio/gfileattribute.h:
3519 * gio/gfileenumerator.h:
3524 * gio/gfilemonitor.c:
3525 * gio/gfilemonitor.h:
3526 * gio/gfilenamecompleter.c:
3527 * gio/gfilenamecompleter.h:
3528 * gio/gfilterinputstream.h:
3529 * gio/gfilteroutputstream.h:
3530 * gio/ginputstream.h:
3531 * gio/gmemoryinputstream.h:
3532 * gio/gmemoryoutputstream.h:
3533 * gio/gmountoperation.c:
3534 * gio/gmountoperation.h:
3535 * gio/gnativevolumemonitor.c:
3536 * gio/goutputstream.h:
3539 * gio/gsimpleasyncresult.c:
3540 * gio/gsimpleasyncresult.h:
3541 * gio/gsocketinputstream.h:
3542 * gio/gsocketoutputstream.h:
3543 * gio/gthemedicon.c:
3544 * gio/gthemedicon.h:
3548 * gio/gvolumemonitor.c:
3549 * gio/gvolumemonitor.h:
3550 Add padding in classes where it seems useful
3551 Don't include giotypes.h from public headers
3552 Move in Class definitions into c file where possible
3557 2007-11-06 Alexander Larsson <alexl@redhat.com>
3559 * docs/reference/gio/gio-docs.xml:
3560 Better structure for API docs
3562 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3565 * gio/gloadableicon.c:
3566 * gio/gsimpleasyncresult.c:
3567 * gio/gthemedicon.c:
3568 Add some more guards to public functions. Only files missing are now
3571 2007-11-06 Alexander Larsson <alexl@redhat.com>
3573 * docs/reference/gio/gio-docs.xml:
3574 Remove old files, add missing ones
3576 2007-11-06 Alexander Larsson <alexl@redhat.com>
3578 * docs/reference/gio/gio-sections.txt:
3581 Hide implementation classes
3583 * gio/gdriveprivate.h:
3584 * gio/gvolumeprivate.h:
3585 Remove non-existing function declarations
3587 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3590 Fix compilation warnings and add guards to the new functions.
3592 * gio/gasyncresult.c:
3594 Add guards to the public functions.
3597 Implement get_path().
3599 2007-11-06 Alexander Larsson <alexl@redhat.com>
3601 * gio/gfilenamecompleter.c:
3602 Make g_filename_completer_get_completions
3603 return char ** instead of GList for
3606 * docs/reference/gio/gio-docs.xml:
3607 * docs/reference/gio/gio-sections.txt:
3609 * gio/gasyncresult.c:
3610 * gio/gbufferedinputstream.c:
3611 * gio/gbufferedoutputstream.c:
3612 * gio/gcancellable.c:
3613 * gio/gcontenttype.c:
3614 * gio/gdatainputstream.c:
3615 * gio/gdataoutputstream.c:
3616 * gio/gdesktopappinfo.c:
3617 * gio/gdirectorymonitor.c:
3621 * gio/gfileattribute.c:
3622 * gio/gfileenumerator.c:
3625 * gio/gfileinputstream.c:
3626 * gio/gfilemonitor.c:
3627 * gio/gfilenamecompleter.c:
3628 * gio/gfilenamecompleter.h:
3629 * gio/gfileoutputstream.c:
3630 * gio/gfilterinputstream.c:
3632 * gio/ginputstream.c:
3634 * gio/gioscheduler.c:
3635 * gio/gloadableicon.c:
3636 * gio/glocaldirectorymonitor.c:
3638 * gio/glocalfileinputstream.c:
3639 * gio/glocalfilemonitor.c:
3640 * gio/glocalfileoutputstream.c:
3642 * gio/gmemoryinputstream.c:
3643 * gio/gmemoryoutputstream.c:
3644 * gio/gmountoperation.c:
3645 * gio/goutputstream.c:
3646 * gio/gpollfilemonitor.c:
3648 * gio/gsimpleasyncresult.c:
3649 * gio/gsocketinputstream.c:
3650 * gio/gsocketoutputstream.c:
3651 * gio/gthemedicon.c:
3652 * gio/gunionvolumemonitor.c:
3654 * gio/gunixmounts.c:
3655 * gio/gunixvolume.c:
3656 * gio/gunixvolumemonitor.c:
3660 * gio/gvolumemonitor.c:
3661 * gio/gwin32appinfo.c:
3662 Add (mostly stub) doc strings to public functions.
3663 Patch from Andrew Walton (awalton@gmail.com)
3665 2007-11-06 Alexander Larsson <alexl@redhat.com>
3667 * gio/gappinfo.[ch]:
3668 Added GAppLaunchContext object and pass that to launch.
3669 This allows simple implementation of both
3670 launch-on-screen and startup notification via a gtk+
3671 subclass of GAppLaunchContext
3673 * gio/gdesktopappinfo.c:
3674 Implement GAppLaunchContext API
3676 * gio/gwin32appinfo.c:
3679 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3681 * gio/gmountoperation.c:
3682 Add some guards to GMountOperation's public functions.
3684 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3688 * gio/gcancellable.c:
3689 * gio/gdirectorymonitor.c:
3691 * gio/gfileenumerator.c:
3692 * gio/gfilemonitor.c:,
3693 * gio/gfilenamecompleter.c:
3696 * gio/gioscheduler.c:
3700 * gio/gvolumemonitor.c:
3701 Add even more guards to various public functions.
3703 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3706 Add guards to the public functions of GAppInfo.
3708 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3710 * gio/gcontenttype.c:
3711 Add some more guards for public functions.
3713 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3715 * gio/fam/fam-module.c:
3716 * gio/fam/gfamdirectorymonitor.c:
3717 * gio/fam/gfamdirectorymonitor.h:
3718 * gio/fam/gfamfilemonitor.c:
3719 * gio/fam/gfamfilemonitor.h:
3720 * gio/inotify/ginotifydirectorymonitor.c:
3721 * gio/inotify/ginotifydirectorymonitor.h:
3722 * gio/inotify/ginotifyfilemonitor.c:
3723 * gio/inotify/ginotifyfilemonitor.h:
3724 Add proper copyright information and remove an unused variable
3725 in the GInotifyFileMonitor constructor.
3727 * gio/gcancellable.c:
3728 Add a guard for a public function and an assertion to prevent
3729 an undefined program state.
3731 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3733 * gio/gfileattribute.c:
3734 Don't run into an assertion if the given attribute value is NULL
3735 in g_file_attribute_value_get_*() but instead return a fallback
3736 value that makes sense in most situations. Passing them a attribute
3737 value with the wrong type will still run into an assertion.
3739 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3741 * gio/gfileattribute.c:
3743 Add even more guards to the public functions. Also fix the refcounting
3744 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3745 let g_file_info_list_attributes() filter the attributes by namespace
3746 instead of simply ignoring the namespace parameter.
3748 2007-11-03 Sven Herzberg <sven@imendio.com>
3750 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3751 (This makes gio work on MacOS X again)
3753 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3756 Build the gio subdirectory before the docs. Otherwise the build will
3759 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3760 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3761 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3762 Add guards to the public functions.
3764 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3766 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3767 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3768 to prevent a compiler warning.
3770 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3771 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3772 return something in the non-void function find_topdir_for().
3774 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3781 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3783 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3784 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3785 * gwin32appinfo.c (g_win32_app_info_launch):
3786 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3787 envp_for_startup_id, g_desktop_app_info_launch,
3788 g_desktop_app_info_launch_uris):
3790 Give an opaque 'startup_id' string instead of 'envp'.
3791 Support empty file lists for launching new windows.
3792 Fix infinite recursion bug when launching URIs.
3794 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3797 Add guard to the new g_file_get_uri_scheme() function.
3799 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3802 Convert a g_return_val_if_fail() to setting the GError instead as
3803 otherwise applications have to verify the parameter before otherwise
3804 and the parameter might come directly from the user.
3806 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3808 * gio/inotify/ginotify*.[ch]:
3809 Add missing copyright information.
3811 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3814 Add guards in the beginning of public functions to check for valid
3815 parameters and fix a bug in copy_stream_with_progress() that could've
3816 caused writing less bytes than reading.
3817 * gio/glocalfileinfo.c:
3818 Check for a NULL parameter and set the GError accordingly then.
3819 * gio/goutputstream.c:
3820 Fix the same bug as in gfile.c that could've caused writing less bytes
3821 than reading in g_output_stream_real_splice().
3823 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3826 Use the correct gvolumeprivate.h naming
3828 2007-11-01 Christian Kellner <gicmo@gnome.org>
3831 Remove leftover "$(daemon_sources)" entry.
3833 2007-11-01 Christian Kellner <gicmo@gnome.org>
3838 Add copyright information to source files.
3840 2007-11-01 Alexander Larsson <alexl@redhat.com>
3844 Add g_file_get_uri_scheme
3846 2007-11-01 Alexander Larsson <alexl@redhat.com>
3849 * gio/gdesktopappinfo.c:
3850 * gio/gwin32appinfo.c:
3851 Add g_app_info_get_default_for_uri_scheme.
3853 2007-11-01 Alexander Larsson <alexl@redhat.com>
3856 Correct filename for gdriveprivate.h
3858 2007-10-31 Alexander Larsson <alexl@redhat.com>
3861 Rename id:value to id:file
3864 * gio/glocalfileinfo.c:
3867 2007-10-31 Alexander Larsson <alexl@redhat.com>
3869 * gio/gunixvolume.c:
3871 Remove g_volume_get_platform_id, as thats not
3872 needed with the simpler union volume monitor
3874 2007-10-31 Alexander Larsson <alexl@redhat.com>
3877 * gio/guniondrive.[ch]: Removed.
3878 * gio/gunionvolume.[ch]: Removed.
3879 Remove GUnionDrive/Volume
3881 * gio/gunionvolumemonitor.c:
3882 Simplify union volume monitor, now we
3883 only have one native volume monitor and
3884 we use the actual volumes/drives from the
3885 child monitors instead of wrapping them
3887 * gio/gnativevolumemonitor.[ch]:
3888 Base class for native volume monitors.
3889 Includes priority and get_volume_for_mountpoint
3892 Add g_file_find_enclosing_volume
3895 Remove volume name fs attribute
3896 Add readonly fs attribute
3899 Implement readonly attribute
3900 remove volume name attribute
3901 Implement find_enclosing volume
3903 * gio/gunixmounts.c:
3904 Add a volume for "/".
3906 * gio/gunixvolume.[ch]:
3907 Set better name for /
3909 * gio/gunixvolumemonitor.[ch]:
3910 Derive from GNativeVolumeMonitor
3911 Implement get_volume_for_mountpoint
3914 GVolume typedef moved to gfile.h
3916 * gio/gvolumeprivate.h:
3917 Add g_volume_get_for_mount_path
3919 2007-10-31 Alexander Larsson <alexl@redhat.com>
3921 * gio/gunixmounts.[ch]:
3922 Add cache info to unix mount listers
3923 Make getmntent use threadsafe
3924 Add is_system_internal attribute for GUnixMount
3926 * gio/gunixvolume.c:
3927 (g_unix_volume_new):
3928 Use is_system_internal instead of own code
3930 * gio/glocaldirectorymonitor.c:
3931 * gio/gunixvolumemonitor.c:
3932 Update to new gunixmounts API
3937 2007-10-30 Alexander Larsson <alexl@redhat.com>
3940 Add volume name fsinfo attribute
3943 Read volume name info
3945 * gio/gunionvolumemonitor.c:
3946 Fix infinite loops when finalizing a union volume monitor
3948 2007-10-30 Alexander Larsson <alexl@redhat.com>
3950 * gio/goutputstream.[ch]:
3951 Add splice() with default implementation
3953 * gio/gsocketoutputstream.c:
3954 (g_socket_output_stream_write):
3955 Return error on cancellation correctly.
3957 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3959 * gio/glocalfile.c (g_local_file_trash):
3960 Do not leak a string.
3962 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3964 * gio/gfile.c (g_file_load_contents):
3965 Unref the stream after closing it.
3967 2007-10-25 Alexander Larsson <alexl@redhat.com>
3969 * gio/gioscheduler.h:
3972 2007-10-25 Alexander Larsson <alexl@redhat.com>
3976 Add g_file_has_uri_scheme and implement for local files
3978 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3980 * gio/gdesktopappinfo.c: do not leak a string.
3982 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3984 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3985 (g_local_directory_monitor_new):
3986 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3987 (g_local_file_monitor_new):
3988 Only look for the monitor type that should be used the first time
3989 and use g_qsort_with_data() instead of our own bubble sort
3992 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3995 * gio/fam/Makefile.am:
3996 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3997 * gio/fam/fam-helper.h:
3998 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3999 * gio/fam/gfamdirectorymonitor.c:
4000 * gio/fam/gfamdirectorymonitor.h:
4001 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4002 * gio/fam/gfamfilemonitor.h:
4003 * gio/glocaldirectorymonitor.c:
4004 * gio/glocaldirectorymonitor.h:
4005 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4006 * gio/glocalfilemonitor.h:
4007 * gio/inotify/Makefile.am:
4008 * gio/inotify/ginotifydirectorymonitor.c:
4009 * gio/inotify/ginotifydirectorymonitor.h:
4010 * gio/inotify/ginotifyfilemonitor.c:
4011 * gio/inotify/ginotifyfilemonitor.h:
4012 Implement the FAM and Inotify monitors as
4013 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4014 their own GIO module. GLocal(Directory|File)Monitor will use the
4015 monitor with the highest rank that is supported on that machine.
4017 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4020 Change GIO module dir to $(libdir)/gio/modules and change
4021 the log domain from GVFS to GIO. Also only export symbols starting
4022 with g_ in the resulting library.
4023 * gio/test-streams.c: (main):
4024 Set log handler for the GIO log domain.
4026 2007-10-22 Alexander Larsson <alexl@redhat.com>
4028 * gio/gfilenamecompleter.[ch]:
4029 Add g_filename_completer_set_dirs_only
4031 2007-10-22 Alexander Larsson <alexl@redhat.com>
4034 * gio/gurifuncs.[ch]:
4035 Add some simple URI helpers
4037 * gio/gfilenamecompleter.[ch]:
4038 Added object for filename (parse name actually) completion
4041 Handle ~ in parse names
4043 2007-10-17 Alexander Larsson <alexl@redhat.com>
4046 * gio/glocalfileinfo.c:
4047 Add and implement id:value attribute
4049 2007-10-17 Alexander Larsson <alexl@redhat.com>
4052 * gio/guniondrive.c:
4054 Add and implement g_drive_has_volumes
4056 2007-10-17 Alexander Larsson <alexl@redhat.com>
4059 * gio/glocalfileinfo.[ch]:
4060 Add unix:is_mountpoint and implement for local files
4062 2007-10-16 Alexander Larsson <alexl@redhat.com>
4064 * gio/gunionvolumemonitor.c:
4065 (g_union_volume_monitor_init):
4066 Fix up the unix type getting so that it works with gcc
4068 2007-10-12 Alexander Larsson <alexl@redhat.com>
4071 * gio/glocalfileinfo.c:
4072 Add thumbnail:failed to file info
4074 2007-10-12 Richard Hult <richard@imendio.com>
4076 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4077 optimizing away the get_type call (happens with some gcc versions,
4078 like the one shipped with OS X 10.4).
4080 2007-10-12 Alexander Larsson <alexl@redhat.com>
4082 * gio/glocalfileinfo.c:
4083 (_g_local_file_info_set_attribute):
4084 Fix build if not HAVE_XATTR
4085 Patch from Milosz Derezynski <internalerror@gmail.com>
4087 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4089 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4090 around for review, otherwise I would have asked you before
4093 2007-10-11 Alexander Larsson <alexl@redhat.com>
4096 Add thumbnail:path attribute
4098 * gio/glocalfileinfo.c:
4099 Implement thumbnail:path for local files
4101 2007-10-11 Alexander Larsson <alexl@redhat.com>
4103 * gio/glocalfileinfo.c:
4104 (_g_local_file_info_get):
4105 Avoid duplicate icon names
4107 2007-10-11 Alexander Larsson <alexl@redhat.com>
4109 * gio/gthemedicon.[ch]:
4110 Change g_themed_icon_get_names return type to const
4112 2007-10-10 Alexander Larsson <alexl@redhat.com>
4114 * gio/glocalfileinfo.c:
4115 Don't reference freed memory
4117 2007-10-10 Alexander Larsson <alexl@redhat.com>
4119 * gio/gfileattribute.c:
4122 * gio/glocalfileinfo.c:
4125 2007-10-10 Alexander Larsson <alexl@redhat.com>
4128 Check for NULL icons
4130 * gio/gfileattribute.c:
4131 Don't dup when getting objects (same as for string attributes)
4133 * gio/gicon.c (g_icon_equal):
4134 Safely handle NULLs in equal
4136 2007-10-10 Alexander Larsson <alexl@redhat.com>
4139 Fix c++ compilation issues
4140 Patch from Milosz Derezynski <internalerror@gmail.com>
4142 2007-10-10 Alexander Larsson <alexl@redhat.com>
4144 * programs/gio-monitor-dir.c:
4145 Don't crash if dir monitor not supported.
4147 2007-10-09 Alexander Larsson <alexl@redhat.com>
4150 Add missing G_END_DECLS
4152 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4154 * gio/gfile.c: (g_file_set_display_name),
4155 (g_file_query_settable_attributes),
4156 (g_file_query_writable_namespaces):
4157 Return NULL not FALSE on errors as the return type is a pointer.
4159 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4161 * gio/glocalfile.c: (g_local_file_monitor_file):
4162 Don't call monitor_file on the default interface vtable (which
4163 is NULL) but simply return NULL. The caller, GFile, will create a
4164 polling monitor if NULL is returned.
4166 2007-10-09 Alexander Larsson <alexl@redhat.com>
4170 * gio-unix-2.0.pc.in:
4171 Add gio-unix-2.0.pc if OS_UNIX
4174 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4176 2007-10-09 Alexander Larsson <alexl@redhat.com>
4178 * gio/gunixmounts.[ch]:
4179 Make unix mount monitoring API sane.
4180 Now its just a object with mounts_changed
4181 and mountpoints_changed signals.
4183 * gio/glocaldirectorymonitor.c:
4184 * gio/gunixvolumemonitor.c:
4185 Use new mount monitor api
4187 2007-10-09 Alexander Larsson <alexl@redhat.com>
4189 * gio/gunixmounts.[ch]:
4190 Move guess type into one call for mounts and one for mountpoints
4193 * gio/gunixvolume.c:
4196 2007-10-09 Alexander Larsson <alexl@redhat.com>
4198 * gio/gunixmounts.[ch]:
4199 Remove _ prefix in preparation to make this semi-public
4200 Hide implementation of structs
4202 * gio/glocaldirectorymonitor.c:
4204 * gio/gunixvolume.c:
4205 * gio/gunixvolumemonitor.c:
4206 Update for above API changes
4208 2007-10-08 Alexander Larsson <alexl@redhat.com>
4211 Better polling fallback. This also handles the case where we have
4212 a monitor_file implementation, but it fails.
4214 2007-10-08 Alexander Larsson <alexl@redhat.com>
4218 * gio/gunixmounts.c:
4219 * programs/gio-monitor-dir.c:
4220 * programs/gio-monitor-file.c:
4221 Added cancellable to file monitoring calls.
4222 These are really sync calls and need this.
4224 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4226 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4227 (g_local_vfs_class_init):
4228 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4229 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4231 2007-10-05 Alexander Larsson <alexl@redhat.com>
4233 * gio/gdirectorymonitorprivate.h:
4234 * gio/gfilemonitorprivate.h:
4235 * gio/gdirectorymonitor.h:
4236 * gio/gfilemonitor.h:
4237 Remove *private.h and move to the public API, so that
4238 we can do implementations outside gio (such as in gvfs)
4240 * gio/gdirectorymonitor.c:
4241 * gio/gfilemonitor.c:
4242 * gio/glocaldirectorymonitor.c:
4243 * gio/gpollfilemonitor.c:
4244 * gio/inotify/inotify-helper.c:
4245 * gio/fam/fam-helper.c:
4246 Update to the new header names
4248 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4250 * gio/gdirectorymonitor.c:
4251 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4254 2007-10-04 Alexander Larsson <alexl@redhat.com>
4256 * gio/glocalfileinfo.c (get_access_rights):
4257 Set CAN_TRASH when we can move the file.
4258 We should really also check for a parent trash dir.
4260 2007-10-04 Alexander Larsson <alexl@redhat.com>
4262 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4263 Add can_trash access attribute
4265 2007-10-04 Alexander Larsson <alexl@redhat.com>
4268 (g_local_file_trash):
4269 Create info file first. This is per-spec and allows
4270 us to actually trash directories.
4272 2007-10-02 Alexander Larsson <alexl@redhat.com>
4274 * gio/gdesktopappinfo.c:
4275 Implement the new mime support code.
4276 Always set app as handling mimetype when being set as default for it
4278 2007-10-01 Alexander Larsson <alexl@redhat.com>
4280 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4281 Fix up check for xattrs:
4283 2007-10-01 Alexander Larsson <alexl@redhat.com>
4286 (g_app_info_set_as_default_for_extension):
4287 (g_app_info_add_supports_type):
4288 (g_app_info_can_remove_supports_type):
4289 (g_app_info_remove_supports_type):
4290 Make these fail nicely if not implemented
4292 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4294 * gio/glocalfileoutputstream.c:
4295 * gio/glocalfileoutputstream.h:
4300 * programs/gio-save.c:
4301 Add a GFileCreateFlags argument to operations that can create
4304 2007-10-01 Alexander Larsson <alexl@redhat.com>
4306 * gio/gappinfo.[ch]:
4307 * gio/gdesktopappinfo.c:
4308 Add more (stubbed out) mime API needed for nautilus
4310 2007-10-01 Alexander Larsson <alexl@redhat.com>
4313 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4314 Add g_app_info_set_as_default_for_extension.
4316 * gio/gdesktopappinfo.c:
4317 Dummy for g_app_info_set_as_default_for_extension
4318 Support flags in g_app_info_create_from_commandline
4320 * gio/gwin32appinfo.c:
4322 Update for API changes
4324 * gio/gthemedicon.c:
4325 Properly NULL-terminate list of icon names
4327 2007-09-28 Alexander Larsson <alexl@redhat.com>
4329 * gio/gloadableicon.h:
4330 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4332 2007-09-28 Alexander Larsson <alexl@redhat.com>
4335 Install headers in $includedir/gio-standalone/
4337 * gio-2.0.pc.in: Added.
4338 * gio-standalone.pc.in: Removed.
4341 Renamed pkg-config file to match glib (for future move)
4342 Update to the new include dir
4345 Add more TODO comments
4347 2007-09-28 Alexander Larsson <alexl@redhat.com>
4349 * gio/gdesktopappinfo.[ch]:
4350 Expose new_from_filename
4351 Add getter for is_hidden and handle it better
4353 2007-09-28 Alexander Larsson <alexl@redhat.com>
4355 * gio/gfileinfo.[ch]:
4356 Rename g_file_size_format_for_display to
4357 g_format_file_size_for_display.
4358 Now it doesn't have the g_file prefix, so we
4359 can later move it to glib.
4361 2007-09-28 Alexander Larsson <alexl@redhat.com>
4363 * gio/gappinfo.[ch]:
4364 Add g_app_info_get_id and g_app_info_get_executable.
4365 Make all getters non-reffing
4366 Make g_app_info_launch take GFile arguments.
4367 Add must_support_uris argument to g_app_info_get_default_for_type.
4369 * gio/gwin32appinfo.c:
4370 Update to GAppInfo api changes
4372 * gio/gdesktopappinfo.c:
4373 Update to GAppInfo api changes
4374 Implement supports_xdg_startup_notify
4376 * gio/gfileicon.c (g_file_icon_get_file):
4377 Make getter non-reffing.
4382 2007-09-27 Alexander Larsson <alexl@redhat.com>
4384 * gio/gfileinfo.[ch]:
4385 Add g_file_size_format_for_display helper
4387 2007-09-27 Alexander Larsson <alexl@redhat.com>
4389 * gio/glocalfileinfo.c:
4390 Set UNIX_GID from gid, not from uid
4392 2007-09-27 Alexander Larsson <alexl@redhat.com>
4395 Add g_file_set_attributes_async
4397 2007-09-27 Alexander Larsson <alexl@redhat.com>
4399 * gio/glocalfile.c (g_local_file_set_display_name):
4400 Fix set_display_name to actually rename to the right place.
4401 Use lstat to look for existing files so we don't overwrite
4404 2007-09-26 Alexander Larsson <alexl@redhat.com>
4407 Add g_file_set_display_name_async()
4409 2007-09-26 Alexander Larsson <alexl@redhat.com>
4412 Add load_partial_contents async calls
4415 Make internal function static
4417 2007-09-26 Alexander Larsson <alexl@redhat.com>
4419 * gio/glocalfileinfo.c:
4420 Correctly detect broken symlinks
4422 2007-09-26 Alexander Larsson <alexl@redhat.com>
4424 * gio/gcancellable.c (g_cancellable_cancel):
4425 Allow cancel on NULL cancellable
4427 2007-09-25 Alexander Larsson <alexl@redhat.com>
4429 * gio/gsimpleasyncresult.c:
4430 Don't allocate g_error manually.
4431 Fixes g_slice/g_new mixup crash
4433 2007-09-25 Alexander Larsson <alexl@redhat.com>
4435 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4436 Actually set active_backend.
4437 This means the monitor will be cancelled correctly.
4439 2007-09-25 Alexander Larsson <alexl@redhat.com>
4441 * gio/gdirectorymonitor.c:
4442 Set timeout to NULL when destroying
4444 2007-09-25 Alexander Larsson <alexl@redhat.com>
4447 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4448 that is a better description of the error.
4450 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4452 * gio/gvfs.c: (g_vfs_get_local):
4453 Make the local vfs variable static. The same instance should
4456 2007-09-24 Alexander Larsson <alexl@redhat.com>
4458 * gio/glocalfileinfo.c:
4459 Pass in actual length read into sniffer, not the length
4462 2007-09-21 Alexander Larsson <alexl@redhat.com>
4464 * gio/gfileenumerator.c:
4467 * gio/gfileinputstream.c:
4468 * gio/gfileoutputstream.c:
4469 * gio/ginputstream.c:
4470 * gio/goutputstream.c:
4471 Don't crash if async callbacks are NULL
4473 2007-09-20 Alexander Larsson <alexl@redhat.com>
4476 Add async enumerate_children method and default
4479 2007-09-20 Alexander Larsson <alexl@redhat.com>
4482 Add g_file_contains_file & g_file_get_relative_path, since they
4483 were needed for nautilus.
4484 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4489 Implement new methods
4491 2007-09-17 Alexander Larsson <alexl@redhat.com>
4494 * gio/gfileinputstream.[ch]:
4495 * gio/gfileoutputstream.[ch]:
4497 * gio/glocalfileenumerator.[ch]:
4498 * gio/glocalfileinfo.[ch]:
4499 * gio/glocalfileinputstream.c:
4500 * gio/glocalfileoutputstream.c:
4501 * gio/gpollfilemonitor.c:
4502 * programs/gio-copy.c:
4503 * programs/gio-info.c:
4504 * programs/gio-move.c:
4505 Rename get_file_info to query_info() to make it clearer
4506 that these are not simple getters, but do i/o.
4508 2007-09-17 Alexander Larsson <alexl@redhat.com>
4510 * gio/gdatainputstream.[ch]:
4511 * gio/test-streams.c:
4512 Use _read_XXX instead of _get_XXX for the i/o calls
4515 2007-09-17 Alexander Larsson <alexl@redhat.com>
4518 Added needed stuff to TODO comment
4520 2007-09-17 Alexander Larsson <alexl@redhat.com>
4522 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4523 Don't error out removing the backup copy if it doesn't
4526 2007-09-14 Alexander Larsson <alexl@redhat.com>
4528 * programs/Makefile.am:
4529 * programs/gvfs-*.c:
4531 Renamed apps from gvfs-xxx to gio-xxx.
4533 2007-09-14 Alexander Larsson <alexl@redhat.com>
4536 * gio/gfileoutputstream.[ch]:
4537 * gio/glocalfileoutputstream.c:
4538 * programs/gvfs-save.c:
4539 g_file_output_stream_get_etag doesn't do i/o, so remove
4540 cancellation and error.
4542 2007-09-14 Alexander Larsson <alexl@redhat.com>
4545 Add new_etag output to replace_contents functions
4547 2007-09-14 Alexander Larsson <alexl@redhat.com>
4549 * gio/gfileoutputstream.[ch]:
4550 Add async get_file_info and default implementation
4552 2007-09-14 Alexander Larsson <alexl@redhat.com>
4554 * gio/gfileinputstream.c:
4555 Implement fallback wrapper for async get_file_info
4557 2007-09-14 Alexander Larsson <alexl@redhat.com>
4560 Add etag out argument to load_contents
4565 2007-09-14 Alexander Larsson <alexl@redhat.com>
4567 * gio/gcontenttype.c (looks_like_text):
4568 Whitespace like tab, cr and lf do not make the
4571 2007-09-14 Alexander Larsson <alexl@redhat.com>
4573 * gio/gfileinputstream.[ch]:
4574 Add async get_file_info.
4576 2007-09-13 Alexander Larsson <alexl@redhat.com>
4578 * gio/goutputstream.c (g_output_stream_write_all):
4579 Allow NULL for bytes_written
4581 2007-09-13 Alexander Larsson <alexl@redhat.com>
4583 * gio/gmemoryinputstream.[ch]:
4584 Add accessors for data
4586 2007-09-13 Alexander Larsson <alexl@redhat.com>
4588 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4589 Don't crash if length is NULL